diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f7349fa4da..4c5dccc97a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/accessreviewdecisions/access_review_decision_item_request_builder.go b/accessreviewdecisions/access_review_decision_item_request_builder.go index 622cec4458b..f1bb955cb29 100644 --- a/accessreviewdecisions/access_review_decision_item_request_builder.go +++ b/accessreviewdecisions/access_review_decision_item_request_builder.go @@ -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); +} diff --git a/accessreviewdecisions/access_review_decisions_request_builder.go b/accessreviewdecisions/access_review_decisions_request_builder.go index f9321bce0ff..e3811cc1455 100644 --- a/accessreviewdecisions/access_review_decisions_request_builder.go +++ b/accessreviewdecisions/access_review_decisions_request_builder.go @@ -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 @@ -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); +} diff --git a/accessreviewdecisions/count_request_builder.go b/accessreviewdecisions/count_request_builder.go index 22fd3bbf6bb..ebe369e9c2c 100644 --- a/accessreviewdecisions/count_request_builder.go +++ b/accessreviewdecisions/count_request_builder.go @@ -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); +} diff --git a/accessreviews/access_review_item_request_builder.go b/accessreviews/access_review_item_request_builder.go index 06dbfeb8fb1..5ae422cd821 100644 --- a/accessreviews/access_review_item_request_builder.go +++ b/accessreviews/access_review_item_request_builder.go @@ -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); +} diff --git a/accessreviews/access_reviews_request_builder.go b/accessreviews/access_reviews_request_builder.go index 3084ae75899..31db8a1d391 100644 --- a/accessreviews/access_reviews_request_builder.go +++ b/accessreviews/access_reviews_request_builder.go @@ -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 @@ -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); +} diff --git a/accessreviews/count_request_builder.go b/accessreviews/count_request_builder.go index 0cff78de642..c718ee5cc01 100644 --- a/accessreviews/count_request_builder.go +++ b/accessreviews/count_request_builder.go @@ -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); +} diff --git a/accessreviews/item_apply_decisions_request_builder.go b/accessreviews/item_apply_decisions_request_builder.go index 14c6bad71c5..ffac1003063 100644 --- a/accessreviews/item_apply_decisions_request_builder.go +++ b/accessreviews/item_apply_decisions_request_builder.go @@ -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); +} diff --git a/accessreviews/item_decisions_access_review_decision_item_request_builder.go b/accessreviews/item_decisions_access_review_decision_item_request_builder.go index 5b3588e5148..c118157a1d2 100644 --- a/accessreviews/item_decisions_access_review_decision_item_request_builder.go +++ b/accessreviews/item_decisions_access_review_decision_item_request_builder.go @@ -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); +} diff --git a/accessreviews/item_decisions_count_request_builder.go b/accessreviews/item_decisions_count_request_builder.go index ca9341be1b2..feb619e0073 100644 --- a/accessreviews/item_decisions_count_request_builder.go +++ b/accessreviews/item_decisions_count_request_builder.go @@ -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); +} diff --git a/accessreviews/item_decisions_request_builder.go b/accessreviews/item_decisions_request_builder.go index 2ef92218e91..60fbf335db3 100644 --- a/accessreviews/item_decisions_request_builder.go +++ b/accessreviews/item_decisions_request_builder.go @@ -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 @@ -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); +} diff --git a/accessreviews/item_instances_access_review_item_request_builder.go b/accessreviews/item_instances_access_review_item_request_builder.go index ab9028fdeac..70b053d55a7 100644 --- a/accessreviews/item_instances_access_review_item_request_builder.go +++ b/accessreviews/item_instances_access_review_item_request_builder.go @@ -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); +} diff --git a/accessreviews/item_instances_count_request_builder.go b/accessreviews/item_instances_count_request_builder.go index 5382c8ac0b4..10e926abcaa 100644 --- a/accessreviews/item_instances_count_request_builder.go +++ b/accessreviews/item_instances_count_request_builder.go @@ -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); +} diff --git a/accessreviews/item_instances_item_apply_decisions_request_builder.go b/accessreviews/item_instances_item_apply_decisions_request_builder.go index 4ea6f7709e6..f7a361cfe64 100644 --- a/accessreviews/item_instances_item_apply_decisions_request_builder.go +++ b/accessreviews/item_instances_item_apply_decisions_request_builder.go @@ -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); +} diff --git a/accessreviews/item_instances_item_decisions_access_review_decision_item_request_builder.go b/accessreviews/item_instances_item_decisions_access_review_decision_item_request_builder.go index 72e4cd8c835..15d14457a02 100644 --- a/accessreviews/item_instances_item_decisions_access_review_decision_item_request_builder.go +++ b/accessreviews/item_instances_item_decisions_access_review_decision_item_request_builder.go @@ -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); +} diff --git a/accessreviews/item_instances_item_decisions_count_request_builder.go b/accessreviews/item_instances_item_decisions_count_request_builder.go index 865f365a853..722556d106d 100644 --- a/accessreviews/item_instances_item_decisions_count_request_builder.go +++ b/accessreviews/item_instances_item_decisions_count_request_builder.go @@ -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); +} diff --git a/accessreviews/item_instances_item_decisions_request_builder.go b/accessreviews/item_instances_item_decisions_request_builder.go index 1fd493a21dd..4a766c59a53 100644 --- a/accessreviews/item_instances_item_decisions_request_builder.go +++ b/accessreviews/item_instances_item_decisions_request_builder.go @@ -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 @@ -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); +} diff --git a/accessreviews/item_instances_item_my_decisions_access_review_decision_item_request_builder.go b/accessreviews/item_instances_item_my_decisions_access_review_decision_item_request_builder.go index c07d7da690d..7e927c99913 100644 --- a/accessreviews/item_instances_item_my_decisions_access_review_decision_item_request_builder.go +++ b/accessreviews/item_instances_item_my_decisions_access_review_decision_item_request_builder.go @@ -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); +} diff --git a/accessreviews/item_instances_item_my_decisions_count_request_builder.go b/accessreviews/item_instances_item_my_decisions_count_request_builder.go index beff02a2c27..6c358ee8552 100644 --- a/accessreviews/item_instances_item_my_decisions_count_request_builder.go +++ b/accessreviews/item_instances_item_my_decisions_count_request_builder.go @@ -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); +} diff --git a/accessreviews/item_instances_item_my_decisions_request_builder.go b/accessreviews/item_instances_item_my_decisions_request_builder.go index ae782215e55..d516cd20caf 100644 --- a/accessreviews/item_instances_item_my_decisions_request_builder.go +++ b/accessreviews/item_instances_item_my_decisions_request_builder.go @@ -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 @@ -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); +} diff --git a/accessreviews/item_instances_item_reset_decisions_request_builder.go b/accessreviews/item_instances_item_reset_decisions_request_builder.go index b69db56c33d..35aae8b43a0 100644 --- a/accessreviews/item_instances_item_reset_decisions_request_builder.go +++ b/accessreviews/item_instances_item_reset_decisions_request_builder.go @@ -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); +} diff --git a/accessreviews/item_instances_item_reviewers_access_review_reviewer_item_request_builder.go b/accessreviews/item_instances_item_reviewers_access_review_reviewer_item_request_builder.go index 75930f838bf..64a21e5d818 100644 --- a/accessreviews/item_instances_item_reviewers_access_review_reviewer_item_request_builder.go +++ b/accessreviews/item_instances_item_reviewers_access_review_reviewer_item_request_builder.go @@ -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); +} diff --git a/accessreviews/item_instances_item_reviewers_count_request_builder.go b/accessreviews/item_instances_item_reviewers_count_request_builder.go index aaba7206958..6a6b62de09b 100644 --- a/accessreviews/item_instances_item_reviewers_count_request_builder.go +++ b/accessreviews/item_instances_item_reviewers_count_request_builder.go @@ -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); +} diff --git a/accessreviews/item_instances_item_reviewers_request_builder.go b/accessreviews/item_instances_item_reviewers_request_builder.go index 4dae1fdaf20..40569a5fa12 100644 --- a/accessreviews/item_instances_item_reviewers_request_builder.go +++ b/accessreviews/item_instances_item_reviewers_request_builder.go @@ -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 @@ -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 @@ -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 @@ -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); +} diff --git a/accessreviews/item_instances_item_send_reminder_request_builder.go b/accessreviews/item_instances_item_send_reminder_request_builder.go index d6304a784ac..35021019c6a 100644 --- a/accessreviews/item_instances_item_send_reminder_request_builder.go +++ b/accessreviews/item_instances_item_send_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemInstancesItemSendReminderRequestBuilder) ToPostRequestInformation(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 *ItemInstancesItemSendReminderRequestBuilder) WithUrl(rawUrl string)(*ItemInstancesItemSendReminderRequestBuilder) { + return NewItemInstancesItemSendReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/accessreviews/item_instances_item_stop_request_builder.go b/accessreviews/item_instances_item_stop_request_builder.go index 1b012938778..cdfea2a730f 100644 --- a/accessreviews/item_instances_item_stop_request_builder.go +++ b/accessreviews/item_instances_item_stop_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemInstancesItemStopRequestBuilder) 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 *ItemInstancesItemStopRequestBuilder) WithUrl(rawUrl string)(*ItemInstancesItemStopRequestBuilder) { + return NewItemInstancesItemStopRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/accessreviews/item_instances_request_builder.go b/accessreviews/item_instances_request_builder.go index c10d9eebfd0..57012683e2f 100644 --- a/accessreviews/item_instances_request_builder.go +++ b/accessreviews/item_instances_request_builder.go @@ -46,8 +46,8 @@ type ItemInstancesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewId1String provides operations to manage the instances property of the microsoft.graph.accessReview entity. -func (m *ItemInstancesRequestBuilder) ByAccessReviewId1String(accessReviewId1 string)(*ItemInstancesAccessReviewItemRequestBuilder) { +// ByAccessReviewId1 provides operations to manage the instances property of the microsoft.graph.accessReview entity. +func (m *ItemInstancesRequestBuilder) ByAccessReviewId1(accessReviewId1 string)(*ItemInstancesAccessReviewItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemInstancesRequestBuilder) 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 *ItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemInstancesRequestBuilder) { + return NewItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/accessreviews/item_my_decisions_access_review_decision_item_request_builder.go b/accessreviews/item_my_decisions_access_review_decision_item_request_builder.go index 260be88548f..b79b53dc2c1 100644 --- a/accessreviews/item_my_decisions_access_review_decision_item_request_builder.go +++ b/accessreviews/item_my_decisions_access_review_decision_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemMyDecisionsAccessReviewDecisionItemRequestBuilder) ToPatchRequestIn } 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 *ItemMyDecisionsAccessReviewDecisionItemRequestBuilder) WithUrl(rawUrl string)(*ItemMyDecisionsAccessReviewDecisionItemRequestBuilder) { + return NewItemMyDecisionsAccessReviewDecisionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/accessreviews/item_my_decisions_count_request_builder.go b/accessreviews/item_my_decisions_count_request_builder.go index 8b2be33a985..ffb2a3d235c 100644 --- a/accessreviews/item_my_decisions_count_request_builder.go +++ b/accessreviews/item_my_decisions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMyDecisionsCountRequestBuilder) ToGetRequestInformation(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 *ItemMyDecisionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemMyDecisionsCountRequestBuilder) { + return NewItemMyDecisionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/accessreviews/item_my_decisions_request_builder.go b/accessreviews/item_my_decisions_request_builder.go index 5613e84747f..c4363267a4e 100644 --- a/accessreviews/item_my_decisions_request_builder.go +++ b/accessreviews/item_my_decisions_request_builder.go @@ -46,8 +46,8 @@ type ItemMyDecisionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewDecisionIdString provides operations to manage the myDecisions property of the microsoft.graph.accessReview entity. -func (m *ItemMyDecisionsRequestBuilder) ByAccessReviewDecisionIdString(accessReviewDecisionId string)(*ItemMyDecisionsAccessReviewDecisionItemRequestBuilder) { +// ByAccessReviewDecisionId provides operations to manage the myDecisions property of the microsoft.graph.accessReview entity. +func (m *ItemMyDecisionsRequestBuilder) ByAccessReviewDecisionId(accessReviewDecisionId string)(*ItemMyDecisionsAccessReviewDecisionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemMyDecisionsRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *ItemMyDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemMyDecisionsRequestBuilder) { + return NewItemMyDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/accessreviews/item_reset_decisions_request_builder.go b/accessreviews/item_reset_decisions_request_builder.go index 76116b33c02..7e1490c2b33 100644 --- a/accessreviews/item_reset_decisions_request_builder.go +++ b/accessreviews/item_reset_decisions_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemResetDecisionsRequestBuilder) 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 *ItemResetDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemResetDecisionsRequestBuilder) { + return NewItemResetDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/accessreviews/item_reviewers_access_review_reviewer_item_request_builder.go b/accessreviews/item_reviewers_access_review_reviewer_item_request_builder.go index da3176fe94f..f9c3d8fb993 100644 --- a/accessreviews/item_reviewers_access_review_reviewer_item_request_builder.go +++ b/accessreviews/item_reviewers_access_review_reviewer_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemReviewersAccessReviewReviewerItemRequestBuilder) 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 *ItemReviewersAccessReviewReviewerItemRequestBuilder) WithUrl(rawUrl string)(*ItemReviewersAccessReviewReviewerItemRequestBuilder) { + return NewItemReviewersAccessReviewReviewerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/accessreviews/item_reviewers_count_request_builder.go b/accessreviews/item_reviewers_count_request_builder.go index 90340cf2348..ab85e9ce0e1 100644 --- a/accessreviews/item_reviewers_count_request_builder.go +++ b/accessreviews/item_reviewers_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemReviewersCountRequestBuilder) 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 *ItemReviewersCountRequestBuilder) WithUrl(rawUrl string)(*ItemReviewersCountRequestBuilder) { + return NewItemReviewersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/accessreviews/item_reviewers_request_builder.go b/accessreviews/item_reviewers_request_builder.go index b22469796fb..e833eb3a194 100644 --- a/accessreviews/item_reviewers_request_builder.go +++ b/accessreviews/item_reviewers_request_builder.go @@ -46,8 +46,8 @@ type ItemReviewersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewReviewerIdString provides operations to manage the reviewers property of the microsoft.graph.accessReview entity. -func (m *ItemReviewersRequestBuilder) ByAccessReviewReviewerIdString(accessReviewReviewerId string)(*ItemReviewersAccessReviewReviewerItemRequestBuilder) { +// ByAccessReviewReviewerId provides operations to manage the reviewers property of the microsoft.graph.accessReview entity. +func (m *ItemReviewersRequestBuilder) ByAccessReviewReviewerId(accessReviewReviewerId string)(*ItemReviewersAccessReviewReviewerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -96,7 +96,7 @@ func (m *ItemReviewersRequestBuilder) Get(ctx context.Context, requestConfigurat } 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 @@ -134,7 +134,7 @@ func (m *ItemReviewersRequestBuilder) ToGetRequestInformation(ctx context.Contex } 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 *ItemReviewersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerable, requestConfiguration *ItemReviewersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -151,3 +151,7 @@ func (m *ItemReviewersRequestBuilder) 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 *ItemReviewersRequestBuilder) WithUrl(rawUrl string)(*ItemReviewersRequestBuilder) { + return NewItemReviewersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/accessreviews/item_send_reminder_request_builder.go b/accessreviews/item_send_reminder_request_builder.go index 6dfbc3c5414..b6ce4477401 100644 --- a/accessreviews/item_send_reminder_request_builder.go +++ b/accessreviews/item_send_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemSendReminderRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ItemSendReminderRequestBuilder) WithUrl(rawUrl string)(*ItemSendReminderRequestBuilder) { + return NewItemSendReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/accessreviews/item_stop_request_builder.go b/accessreviews/item_stop_request_builder.go index 5bca39e04ee..011edfa66c3 100644 --- a/accessreviews/item_stop_request_builder.go +++ b/accessreviews/item_stop_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemStopRequestBuilder) ToPostRequestInformation(ctx context.Context, r } 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 *ItemStopRequestBuilder) WithUrl(rawUrl string)(*ItemStopRequestBuilder) { + return NewItemStopRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/activitystatistics/activity_statistics_item_request_builder.go b/activitystatistics/activity_statistics_item_request_builder.go index 21ad517efa5..31b06588cb1 100644 --- a/activitystatistics/activity_statistics_item_request_builder.go +++ b/activitystatistics/activity_statistics_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ActivityStatisticsItemRequestBuilder) ToPatchRequestInformation(ctx con } 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 *ActivityStatisticsItemRequestBuilder) WithUrl(rawUrl string)(*ActivityStatisticsItemRequestBuilder) { + return NewActivityStatisticsItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/activitystatistics/activitystatistics_request_builder.go b/activitystatistics/activitystatistics_request_builder.go index c06f2f5d1d9..ca17419afca 100644 --- a/activitystatistics/activitystatistics_request_builder.go +++ b/activitystatistics/activitystatistics_request_builder.go @@ -46,8 +46,8 @@ type ActivitystatisticsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByActivityStatisticsIdString provides operations to manage the collection of activityStatistics entities. -func (m *ActivitystatisticsRequestBuilder) ByActivityStatisticsIdString(activityStatisticsId string)(*ActivityStatisticsItemRequestBuilder) { +// ByActivityStatisticsId provides operations to manage the collection of activityStatistics entities. +func (m *ActivitystatisticsRequestBuilder) ByActivityStatisticsId(activityStatisticsId string)(*ActivityStatisticsItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ActivitystatisticsRequestBuilder) 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 *ActivitystatisticsRequestBuilder) WithUrl(rawUrl string)(*ActivitystatisticsRequestBuilder) { + return NewActivitystatisticsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/activitystatistics/count_request_builder.go b/activitystatistics/count_request_builder.go index 2fa10f20d0e..65d44f18860 100644 --- a/activitystatistics/count_request_builder.go +++ b/activitystatistics/count_request_builder.go @@ -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); +} diff --git a/admin/admin_request_builder.go b/admin/admin_request_builder.go index c48be3c0749..d7819549b44 100644 --- a/admin/admin_request_builder.go +++ b/admin/admin_request_builder.go @@ -158,3 +158,7 @@ func (m *AdminRequestBuilder) ToPatchRequestInformation(ctx context.Context, bod func (m *AdminRequestBuilder) Windows()(*WindowsRequestBuilder) { return NewWindowsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *AdminRequestBuilder) WithUrl(rawUrl string)(*AdminRequestBuilder) { + return NewAdminRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/apps_and_services_request_builder.go b/admin/apps_and_services_request_builder.go index 7e2c9ccb8cc..bdaa6021ce5 100644 --- a/admin/apps_and_services_request_builder.go +++ b/admin/apps_and_services_request_builder.go @@ -159,3 +159,7 @@ func (m *AppsAndServicesRequestBuilder) ToPatchRequestInformation(ctx context.Co } 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 *AppsAndServicesRequestBuilder) WithUrl(rawUrl string)(*AppsAndServicesRequestBuilder) { + return NewAppsAndServicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/dynamics_request_builder.go b/admin/dynamics_request_builder.go index 2be49106e89..8206e88796d 100644 --- a/admin/dynamics_request_builder.go +++ b/admin/dynamics_request_builder.go @@ -159,3 +159,7 @@ func (m *DynamicsRequestBuilder) ToPatchRequestInformation(ctx context.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 *DynamicsRequestBuilder) WithUrl(rawUrl string)(*DynamicsRequestBuilder) { + return NewDynamicsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/edge_internet_explorer_mode_request_builder.go b/admin/edge_internet_explorer_mode_request_builder.go index 506573bd7c4..6167236ce7e 100644 --- a/admin/edge_internet_explorer_mode_request_builder.go +++ b/admin/edge_internet_explorer_mode_request_builder.go @@ -157,3 +157,7 @@ func (m *EdgeInternetExplorerModeRequestBuilder) 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 *EdgeInternetExplorerModeRequestBuilder) WithUrl(rawUrl string)(*EdgeInternetExplorerModeRequestBuilder) { + return NewEdgeInternetExplorerModeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/edge_internet_explorer_mode_site_lists_browser_site_list_item_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_browser_site_list_item_request_builder.go index 088531420da..574479b334f 100644 --- a/admin/edge_internet_explorer_mode_site_lists_browser_site_list_item_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_browser_site_list_item_request_builder.go @@ -174,3 +174,7 @@ func (m *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilder) 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 *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilder) WithUrl(rawUrl string)(*EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilder) { + return NewEdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/edge_internet_explorer_mode_site_lists_count_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_count_request_builder.go index c07fd890eb9..5688f36b6f4 100644 --- a/admin/edge_internet_explorer_mode_site_lists_count_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EdgeInternetExplorerModeSiteListsCountRequestBuilder) ToGetRequestInfor } 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 *EdgeInternetExplorerModeSiteListsCountRequestBuilder) WithUrl(rawUrl string)(*EdgeInternetExplorerModeSiteListsCountRequestBuilder) { + return NewEdgeInternetExplorerModeSiteListsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/edge_internet_explorer_mode_site_lists_item_publish_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_item_publish_request_builder.go index 94200cd491b..939249c4514 100644 --- a/admin/edge_internet_explorer_mode_site_lists_item_publish_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_item_publish_request_builder.go @@ -70,3 +70,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemPublishRequestBuilder) ToPostReque } 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 *EdgeInternetExplorerModeSiteListsItemPublishRequestBuilder) WithUrl(rawUrl string)(*EdgeInternetExplorerModeSiteListsItemPublishRequestBuilder) { + return NewEdgeInternetExplorerModeSiteListsItemPublishRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_browser_shared_cookie_item_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_browser_shared_cookie_item_request_builder.go index 95bfd237d3a..30ef8dbb3c2 100644 --- a/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_browser_shared_cookie_item_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_browser_shared_cookie_item_request_builder.go @@ -162,3 +162,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieIt } 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 *EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieItemRequestBuilder) WithUrl(rawUrl string)(*EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieItemRequestBuilder) { + return NewEdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_count_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_count_request_builder.go index 2af3acdd798..15a90f4bb4e 100644 --- a/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_count_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesCountRequestBuilder) } 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 *EdgeInternetExplorerModeSiteListsItemSharedCookiesCountRequestBuilder) WithUrl(rawUrl string)(*EdgeInternetExplorerModeSiteListsItemSharedCookiesCountRequestBuilder) { + return NewEdgeInternetExplorerModeSiteListsItemSharedCookiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_request_builder.go index 330ae78f709..1cf9e9083a9 100644 --- a/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_request_builder.go @@ -46,8 +46,8 @@ type EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByBrowserSharedCookieIdString provides operations to manage the sharedCookies property of the microsoft.graph.browserSiteList entity. -func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilder) ByBrowserSharedCookieIdString(browserSharedCookieId string)(*EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieItemRequestBuilder) { +// ByBrowserSharedCookieId provides operations to manage the sharedCookies property of the microsoft.graph.browserSiteList entity. +func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilder) ByBrowserSharedCookieId(browserSharedCookieId string)(*EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilder) ToPos } 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 *EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilder) WithUrl(rawUrl string)(*EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilder) { + return NewEdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/edge_internet_explorer_mode_site_lists_item_sites_browser_site_item_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_item_sites_browser_site_item_request_builder.go index 6401ff37181..4eea1917dc2 100644 --- a/admin/edge_internet_explorer_mode_site_lists_item_sites_browser_site_item_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_item_sites_browser_site_item_request_builder.go @@ -162,3 +162,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilder } 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 *EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilder) WithUrl(rawUrl string)(*EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilder) { + return NewEdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/edge_internet_explorer_mode_site_lists_item_sites_count_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_item_sites_count_request_builder.go index d60ed72eeba..c0b2e08e213 100644 --- a/admin/edge_internet_explorer_mode_site_lists_item_sites_count_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_item_sites_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSitesCountRequestBuilder) ToGetReq } 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 *EdgeInternetExplorerModeSiteListsItemSitesCountRequestBuilder) WithUrl(rawUrl string)(*EdgeInternetExplorerModeSiteListsItemSitesCountRequestBuilder) { + return NewEdgeInternetExplorerModeSiteListsItemSitesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/edge_internet_explorer_mode_site_lists_item_sites_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_item_sites_request_builder.go index 34b8d87e519..e78ac5245ec 100644 --- a/admin/edge_internet_explorer_mode_site_lists_item_sites_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_item_sites_request_builder.go @@ -46,8 +46,8 @@ type EdgeInternetExplorerModeSiteListsItemSitesRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByBrowserSiteIdString provides operations to manage the sites property of the microsoft.graph.browserSiteList entity. -func (m *EdgeInternetExplorerModeSiteListsItemSitesRequestBuilder) ByBrowserSiteIdString(browserSiteId string)(*EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilder) { +// ByBrowserSiteId provides operations to manage the sites property of the microsoft.graph.browserSiteList entity. +func (m *EdgeInternetExplorerModeSiteListsItemSitesRequestBuilder) ByBrowserSiteId(browserSiteId string)(*EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSitesRequestBuilder) ToPostRequest } 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 *EdgeInternetExplorerModeSiteListsItemSitesRequestBuilder) WithUrl(rawUrl string)(*EdgeInternetExplorerModeSiteListsItemSitesRequestBuilder) { + return NewEdgeInternetExplorerModeSiteListsItemSitesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/edge_internet_explorer_mode_site_lists_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_request_builder.go index 77bbe3d8687..db74a3c56a9 100644 --- a/admin/edge_internet_explorer_mode_site_lists_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_request_builder.go @@ -46,8 +46,8 @@ type EdgeInternetExplorerModeSiteListsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByBrowserSiteListIdString provides operations to manage the siteLists property of the microsoft.graph.internetExplorerMode entity. -func (m *EdgeInternetExplorerModeSiteListsRequestBuilder) ByBrowserSiteListIdString(browserSiteListId string)(*EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilder) { +// ByBrowserSiteListId provides operations to manage the siteLists property of the microsoft.graph.internetExplorerMode entity. +func (m *EdgeInternetExplorerModeSiteListsRequestBuilder) ByBrowserSiteListId(browserSiteListId string)(*EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *EdgeInternetExplorerModeSiteListsRequestBuilder) ToPostRequestInformati } 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 *EdgeInternetExplorerModeSiteListsRequestBuilder) WithUrl(rawUrl string)(*EdgeInternetExplorerModeSiteListsRequestBuilder) { + return NewEdgeInternetExplorerModeSiteListsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/edge_request_builder.go b/admin/edge_request_builder.go index 1ae4200ad9d..720efc1d7e9 100644 --- a/admin/edge_request_builder.go +++ b/admin/edge_request_builder.go @@ -157,3 +157,7 @@ func (m *EdgeRequestBuilder) ToPatchRequestInformation(ctx context.Context, body } 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 *EdgeRequestBuilder) WithUrl(rawUrl string)(*EdgeRequestBuilder) { + return NewEdgeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/forms_request_builder.go b/admin/forms_request_builder.go index ae4da52fce3..e416977021f 100644 --- a/admin/forms_request_builder.go +++ b/admin/forms_request_builder.go @@ -159,3 +159,7 @@ func (m *FormsRequestBuilder) ToPatchRequestInformation(ctx context.Context, bod } 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 *FormsRequestBuilder) WithUrl(rawUrl string)(*FormsRequestBuilder) { + return NewFormsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/people_profile_card_properties_count_request_builder.go b/admin/people_profile_card_properties_count_request_builder.go index 6acff4664a9..bfdfb0612c7 100644 --- a/admin/people_profile_card_properties_count_request_builder.go +++ b/admin/people_profile_card_properties_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PeopleProfileCardPropertiesCountRequestBuilder) 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 *PeopleProfileCardPropertiesCountRequestBuilder) WithUrl(rawUrl string)(*PeopleProfileCardPropertiesCountRequestBuilder) { + return NewPeopleProfileCardPropertiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/people_profile_card_properties_profile_card_property_item_request_builder.go b/admin/people_profile_card_properties_profile_card_property_item_request_builder.go index f8fe7d64c2c..9c96ff2712d 100644 --- a/admin/people_profile_card_properties_profile_card_property_item_request_builder.go +++ b/admin/people_profile_card_properties_profile_card_property_item_request_builder.go @@ -162,3 +162,7 @@ func (m *PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilder) 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 *PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilder) WithUrl(rawUrl string)(*PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilder) { + return NewPeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/people_profile_card_properties_request_builder.go b/admin/people_profile_card_properties_request_builder.go index a1e51027ebf..911fd10a5c3 100644 --- a/admin/people_profile_card_properties_request_builder.go +++ b/admin/people_profile_card_properties_request_builder.go @@ -46,8 +46,8 @@ type PeopleProfileCardPropertiesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByProfileCardPropertyIdString provides operations to manage the profileCardProperties property of the microsoft.graph.peopleAdminSettings entity. -func (m *PeopleProfileCardPropertiesRequestBuilder) ByProfileCardPropertyIdString(profileCardPropertyId string)(*PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilder) { +// ByProfileCardPropertyId provides operations to manage the profileCardProperties property of the microsoft.graph.peopleAdminSettings entity. +func (m *PeopleProfileCardPropertiesRequestBuilder) ByProfileCardPropertyId(profileCardPropertyId string)(*PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *PeopleProfileCardPropertiesRequestBuilder) 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 *PeopleProfileCardPropertiesRequestBuilder) WithUrl(rawUrl string)(*PeopleProfileCardPropertiesRequestBuilder) { + return NewPeopleProfileCardPropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/people_pronouns_request_builder.go b/admin/people_pronouns_request_builder.go index f9fda6f78a2..9758ce39922 100644 --- a/admin/people_pronouns_request_builder.go +++ b/admin/people_pronouns_request_builder.go @@ -159,3 +159,7 @@ func (m *PeoplePronounsRequestBuilder) ToPatchRequestInformation(ctx context.Con } 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 *PeoplePronounsRequestBuilder) WithUrl(rawUrl string)(*PeoplePronounsRequestBuilder) { + return NewPeoplePronounsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/people_request_builder.go b/admin/people_request_builder.go index c401fcf5422..6b8a7f3653d 100644 --- a/admin/people_request_builder.go +++ b/admin/people_request_builder.go @@ -164,3 +164,7 @@ func (m *PeopleRequestBuilder) ToPatchRequestInformation(ctx context.Context, bo } 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 *PeopleRequestBuilder) WithUrl(rawUrl string)(*PeopleRequestBuilder) { + return NewPeopleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/report_settings_request_builder.go b/admin/report_settings_request_builder.go index 062da10ecaa..56395e478e9 100644 --- a/admin/report_settings_request_builder.go +++ b/admin/report_settings_request_builder.go @@ -159,3 +159,7 @@ func (m *ReportSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Con } 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 *ReportSettingsRequestBuilder) WithUrl(rawUrl string)(*ReportSettingsRequestBuilder) { + return NewReportSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_health_overviews_count_request_builder.go b/admin/service_announcement_health_overviews_count_request_builder.go index 46558450aec..889d4b9c33d 100644 --- a/admin/service_announcement_health_overviews_count_request_builder.go +++ b/admin/service_announcement_health_overviews_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ServiceAnnouncementHealthOverviewsCountRequestBuilder) ToGetRequestInfo } 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 *ServiceAnnouncementHealthOverviewsCountRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementHealthOverviewsCountRequestBuilder) { + return NewServiceAnnouncementHealthOverviewsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_health_overviews_item_issues_count_request_builder.go b/admin/service_announcement_health_overviews_item_issues_count_request_builder.go index ecd316de8ae..25ca4210d43 100644 --- a/admin/service_announcement_health_overviews_item_issues_count_request_builder.go +++ b/admin/service_announcement_health_overviews_item_issues_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ServiceAnnouncementHealthOverviewsItemIssuesCountRequestBuilder) ToGetR } 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 *ServiceAnnouncementHealthOverviewsItemIssuesCountRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementHealthOverviewsItemIssuesCountRequestBuilder) { + return NewServiceAnnouncementHealthOverviewsItemIssuesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_health_overviews_item_issues_item_incident_report_request_builder.go b/admin/service_announcement_health_overviews_item_issues_item_incident_report_request_builder.go index e20c762b51a..26d527647a2 100644 --- a/admin/service_announcement_health_overviews_item_issues_item_incident_report_request_builder.go +++ b/admin/service_announcement_health_overviews_item_issues_item_incident_report_request_builder.go @@ -61,3 +61,7 @@ func (m *ServiceAnnouncementHealthOverviewsItemIssuesItemIncidentReportRequestBu } 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 *ServiceAnnouncementHealthOverviewsItemIssuesItemIncidentReportRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementHealthOverviewsItemIssuesItemIncidentReportRequestBuilder) { + return NewServiceAnnouncementHealthOverviewsItemIssuesItemIncidentReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_health_overviews_item_issues_request_builder.go b/admin/service_announcement_health_overviews_item_issues_request_builder.go index b0b43a67543..c4356eb2f97 100644 --- a/admin/service_announcement_health_overviews_item_issues_request_builder.go +++ b/admin/service_announcement_health_overviews_item_issues_request_builder.go @@ -46,8 +46,8 @@ type ServiceAnnouncementHealthOverviewsItemIssuesRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByServiceHealthIssueIdString provides operations to manage the issues property of the microsoft.graph.serviceHealth entity. -func (m *ServiceAnnouncementHealthOverviewsItemIssuesRequestBuilder) ByServiceHealthIssueIdString(serviceHealthIssueId string)(*ServiceAnnouncementHealthOverviewsItemIssuesServiceHealthIssueItemRequestBuilder) { +// ByServiceHealthIssueId provides operations to manage the issues property of the microsoft.graph.serviceHealth entity. +func (m *ServiceAnnouncementHealthOverviewsItemIssuesRequestBuilder) ByServiceHealthIssueId(serviceHealthIssueId string)(*ServiceAnnouncementHealthOverviewsItemIssuesServiceHealthIssueItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ServiceAnnouncementHealthOverviewsItemIssuesRequestBuilder) ToPostReque } 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 *ServiceAnnouncementHealthOverviewsItemIssuesRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementHealthOverviewsItemIssuesRequestBuilder) { + return NewServiceAnnouncementHealthOverviewsItemIssuesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_health_overviews_item_issues_service_health_issue_item_request_builder.go b/admin/service_announcement_health_overviews_item_issues_service_health_issue_item_request_builder.go index b3191743e23..86773ede73b 100644 --- a/admin/service_announcement_health_overviews_item_issues_service_health_issue_item_request_builder.go +++ b/admin/service_announcement_health_overviews_item_issues_service_health_issue_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ServiceAnnouncementHealthOverviewsItemIssuesServiceHealthIssueItemReque } 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 *ServiceAnnouncementHealthOverviewsItemIssuesServiceHealthIssueItemRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementHealthOverviewsItemIssuesServiceHealthIssueItemRequestBuilder) { + return NewServiceAnnouncementHealthOverviewsItemIssuesServiceHealthIssueItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_health_overviews_request_builder.go b/admin/service_announcement_health_overviews_request_builder.go index fac5186a60f..f814430246a 100644 --- a/admin/service_announcement_health_overviews_request_builder.go +++ b/admin/service_announcement_health_overviews_request_builder.go @@ -46,8 +46,8 @@ type ServiceAnnouncementHealthOverviewsRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByServiceHealthIdString provides operations to manage the healthOverviews property of the microsoft.graph.serviceAnnouncement entity. -func (m *ServiceAnnouncementHealthOverviewsRequestBuilder) ByServiceHealthIdString(serviceHealthId string)(*ServiceAnnouncementHealthOverviewsServiceHealthItemRequestBuilder) { +// ByServiceHealthId provides operations to manage the healthOverviews property of the microsoft.graph.serviceAnnouncement entity. +func (m *ServiceAnnouncementHealthOverviewsRequestBuilder) ByServiceHealthId(serviceHealthId string)(*ServiceAnnouncementHealthOverviewsServiceHealthItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ServiceAnnouncementHealthOverviewsRequestBuilder) ToPostRequestInformat } 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 *ServiceAnnouncementHealthOverviewsRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementHealthOverviewsRequestBuilder) { + return NewServiceAnnouncementHealthOverviewsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_health_overviews_service_health_item_request_builder.go b/admin/service_announcement_health_overviews_service_health_item_request_builder.go index ddd52b1174c..20e2a34ba10 100644 --- a/admin/service_announcement_health_overviews_service_health_item_request_builder.go +++ b/admin/service_announcement_health_overviews_service_health_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ServiceAnnouncementHealthOverviewsServiceHealthItemRequestBuilder) ToPa } 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 *ServiceAnnouncementHealthOverviewsServiceHealthItemRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementHealthOverviewsServiceHealthItemRequestBuilder) { + return NewServiceAnnouncementHealthOverviewsServiceHealthItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_issues_count_request_builder.go b/admin/service_announcement_issues_count_request_builder.go index ebddd954fe9..687f5417288 100644 --- a/admin/service_announcement_issues_count_request_builder.go +++ b/admin/service_announcement_issues_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ServiceAnnouncementIssuesCountRequestBuilder) ToGetRequestInformation(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 *ServiceAnnouncementIssuesCountRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementIssuesCountRequestBuilder) { + return NewServiceAnnouncementIssuesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_issues_item_incident_report_request_builder.go b/admin/service_announcement_issues_item_incident_report_request_builder.go index cc076cf5adb..52ab7e9ca72 100644 --- a/admin/service_announcement_issues_item_incident_report_request_builder.go +++ b/admin/service_announcement_issues_item_incident_report_request_builder.go @@ -61,3 +61,7 @@ func (m *ServiceAnnouncementIssuesItemIncidentReportRequestBuilder) ToGetRequest } 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 *ServiceAnnouncementIssuesItemIncidentReportRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementIssuesItemIncidentReportRequestBuilder) { + return NewServiceAnnouncementIssuesItemIncidentReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_issues_request_builder.go b/admin/service_announcement_issues_request_builder.go index 4fcaafb5530..1c2cfbac7fa 100644 --- a/admin/service_announcement_issues_request_builder.go +++ b/admin/service_announcement_issues_request_builder.go @@ -46,8 +46,8 @@ type ServiceAnnouncementIssuesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByServiceHealthIssueIdString provides operations to manage the issues property of the microsoft.graph.serviceAnnouncement entity. -func (m *ServiceAnnouncementIssuesRequestBuilder) ByServiceHealthIssueIdString(serviceHealthIssueId string)(*ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilder) { +// ByServiceHealthIssueId provides operations to manage the issues property of the microsoft.graph.serviceAnnouncement entity. +func (m *ServiceAnnouncementIssuesRequestBuilder) ByServiceHealthIssueId(serviceHealthIssueId string)(*ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ServiceAnnouncementIssuesRequestBuilder) ToPostRequestInformation(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 *ServiceAnnouncementIssuesRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementIssuesRequestBuilder) { + return NewServiceAnnouncementIssuesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_issues_service_health_issue_item_request_builder.go b/admin/service_announcement_issues_service_health_issue_item_request_builder.go index d3c6287027c..276eb081879 100644 --- a/admin/service_announcement_issues_service_health_issue_item_request_builder.go +++ b/admin/service_announcement_issues_service_health_issue_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilder) ToPatchR } 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 *ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilder) { + return NewServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_messages_archive_request_builder.go b/admin/service_announcement_messages_archive_request_builder.go index 80e628b7e43..15e1233bef2 100644 --- a/admin/service_announcement_messages_archive_request_builder.go +++ b/admin/service_announcement_messages_archive_request_builder.go @@ -69,3 +69,7 @@ func (m *ServiceAnnouncementMessagesArchiveRequestBuilder) ToPostRequestInformat } 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 *ServiceAnnouncementMessagesArchiveRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementMessagesArchiveRequestBuilder) { + return NewServiceAnnouncementMessagesArchiveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_messages_count_request_builder.go b/admin/service_announcement_messages_count_request_builder.go index e423b400067..498123fbf6e 100644 --- a/admin/service_announcement_messages_count_request_builder.go +++ b/admin/service_announcement_messages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ServiceAnnouncementMessagesCountRequestBuilder) 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 *ServiceAnnouncementMessagesCountRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementMessagesCountRequestBuilder) { + return NewServiceAnnouncementMessagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_messages_favorite_request_builder.go b/admin/service_announcement_messages_favorite_request_builder.go index cb86af62dcd..8ae00fe6733 100644 --- a/admin/service_announcement_messages_favorite_request_builder.go +++ b/admin/service_announcement_messages_favorite_request_builder.go @@ -69,3 +69,7 @@ func (m *ServiceAnnouncementMessagesFavoriteRequestBuilder) ToPostRequestInforma } 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 *ServiceAnnouncementMessagesFavoriteRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementMessagesFavoriteRequestBuilder) { + return NewServiceAnnouncementMessagesFavoriteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_messages_item_attachments_archive_request_builder.go b/admin/service_announcement_messages_item_attachments_archive_request_builder.go index 9bf8de6c71a..a6585f5234c 100644 --- a/admin/service_announcement_messages_item_attachments_archive_request_builder.go +++ b/admin/service_announcement_messages_item_attachments_archive_request_builder.go @@ -103,3 +103,7 @@ func (m *ServiceAnnouncementMessagesItemAttachmentsArchiveRequestBuilder) ToPutR } 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 *ServiceAnnouncementMessagesItemAttachmentsArchiveRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementMessagesItemAttachmentsArchiveRequestBuilder) { + return NewServiceAnnouncementMessagesItemAttachmentsArchiveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_messages_item_attachments_count_request_builder.go b/admin/service_announcement_messages_item_attachments_count_request_builder.go index a86697c754e..d90fa38e220 100644 --- a/admin/service_announcement_messages_item_attachments_count_request_builder.go +++ b/admin/service_announcement_messages_item_attachments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ServiceAnnouncementMessagesItemAttachmentsCountRequestBuilder) ToGetReq } 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 *ServiceAnnouncementMessagesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementMessagesItemAttachmentsCountRequestBuilder) { + return NewServiceAnnouncementMessagesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_messages_item_attachments_item_content_request_builder.go b/admin/service_announcement_messages_item_attachments_item_content_request_builder.go index 84a616824f7..bb05f39a3a3 100644 --- a/admin/service_announcement_messages_item_attachments_item_content_request_builder.go +++ b/admin/service_announcement_messages_item_attachments_item_content_request_builder.go @@ -105,3 +105,7 @@ func (m *ServiceAnnouncementMessagesItemAttachmentsItemContentRequestBuilder) To } 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 *ServiceAnnouncementMessagesItemAttachmentsItemContentRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementMessagesItemAttachmentsItemContentRequestBuilder) { + return NewServiceAnnouncementMessagesItemAttachmentsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_messages_item_attachments_request_builder.go b/admin/service_announcement_messages_item_attachments_request_builder.go index 7ffaebdf51b..b6883299f53 100644 --- a/admin/service_announcement_messages_item_attachments_request_builder.go +++ b/admin/service_announcement_messages_item_attachments_request_builder.go @@ -46,8 +46,8 @@ type ServiceAnnouncementMessagesItemAttachmentsRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByServiceAnnouncementAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.serviceUpdateMessage entity. -func (m *ServiceAnnouncementMessagesItemAttachmentsRequestBuilder) ByServiceAnnouncementAttachmentIdString(serviceAnnouncementAttachmentId string)(*ServiceAnnouncementMessagesItemAttachmentsServiceAnnouncementAttachmentItemRequestBuilder) { +// ByServiceAnnouncementAttachmentId provides operations to manage the attachments property of the microsoft.graph.serviceUpdateMessage entity. +func (m *ServiceAnnouncementMessagesItemAttachmentsRequestBuilder) ByServiceAnnouncementAttachmentId(serviceAnnouncementAttachmentId string)(*ServiceAnnouncementMessagesItemAttachmentsServiceAnnouncementAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ServiceAnnouncementMessagesItemAttachmentsRequestBuilder) ToPostRequest } 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 *ServiceAnnouncementMessagesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementMessagesItemAttachmentsRequestBuilder) { + return NewServiceAnnouncementMessagesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_messages_item_attachments_service_announcement_attachment_item_request_builder.go b/admin/service_announcement_messages_item_attachments_service_announcement_attachment_item_request_builder.go index d647b2750df..a7395518453 100644 --- a/admin/service_announcement_messages_item_attachments_service_announcement_attachment_item_request_builder.go +++ b/admin/service_announcement_messages_item_attachments_service_announcement_attachment_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ServiceAnnouncementMessagesItemAttachmentsServiceAnnouncementAttachment } 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 *ServiceAnnouncementMessagesItemAttachmentsServiceAnnouncementAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementMessagesItemAttachmentsServiceAnnouncementAttachmentItemRequestBuilder) { + return NewServiceAnnouncementMessagesItemAttachmentsServiceAnnouncementAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_messages_mark_read_request_builder.go b/admin/service_announcement_messages_mark_read_request_builder.go index 28bbd86fc23..cd88d43d995 100644 --- a/admin/service_announcement_messages_mark_read_request_builder.go +++ b/admin/service_announcement_messages_mark_read_request_builder.go @@ -69,3 +69,7 @@ func (m *ServiceAnnouncementMessagesMarkReadRequestBuilder) ToPostRequestInforma } 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 *ServiceAnnouncementMessagesMarkReadRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementMessagesMarkReadRequestBuilder) { + return NewServiceAnnouncementMessagesMarkReadRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_messages_mark_unread_request_builder.go b/admin/service_announcement_messages_mark_unread_request_builder.go index ae1a4edb437..b493861f100 100644 --- a/admin/service_announcement_messages_mark_unread_request_builder.go +++ b/admin/service_announcement_messages_mark_unread_request_builder.go @@ -69,3 +69,7 @@ func (m *ServiceAnnouncementMessagesMarkUnreadRequestBuilder) ToPostRequestInfor } 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 *ServiceAnnouncementMessagesMarkUnreadRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementMessagesMarkUnreadRequestBuilder) { + return NewServiceAnnouncementMessagesMarkUnreadRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_messages_request_builder.go b/admin/service_announcement_messages_request_builder.go index 05fc2ea88b2..c0c8e1bb39e 100644 --- a/admin/service_announcement_messages_request_builder.go +++ b/admin/service_announcement_messages_request_builder.go @@ -50,8 +50,8 @@ type ServiceAnnouncementMessagesRequestBuilderPostRequestConfiguration struct { func (m *ServiceAnnouncementMessagesRequestBuilder) Archive()(*ServiceAnnouncementMessagesArchiveRequestBuilder) { return NewServiceAnnouncementMessagesArchiveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByServiceUpdateMessageIdString provides operations to manage the messages property of the microsoft.graph.serviceAnnouncement entity. -func (m *ServiceAnnouncementMessagesRequestBuilder) ByServiceUpdateMessageIdString(serviceUpdateMessageId string)(*ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilder) { +// ByServiceUpdateMessageId provides operations to manage the messages property of the microsoft.graph.serviceAnnouncement entity. +func (m *ServiceAnnouncementMessagesRequestBuilder) ByServiceUpdateMessageId(serviceUpdateMessageId string)(*ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -172,3 +172,7 @@ func (m *ServiceAnnouncementMessagesRequestBuilder) Unarchive()(*ServiceAnnounce func (m *ServiceAnnouncementMessagesRequestBuilder) Unfavorite()(*ServiceAnnouncementMessagesUnfavoriteRequestBuilder) { return NewServiceAnnouncementMessagesUnfavoriteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ServiceAnnouncementMessagesRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementMessagesRequestBuilder) { + return NewServiceAnnouncementMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_messages_service_update_message_item_request_builder.go b/admin/service_announcement_messages_service_update_message_item_request_builder.go index 0c9d1da0790..344b4abf807 100644 --- a/admin/service_announcement_messages_service_update_message_item_request_builder.go +++ b/admin/service_announcement_messages_service_update_message_item_request_builder.go @@ -164,3 +164,7 @@ func (m *ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilder) ToPa } 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 *ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilder) { + return NewServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_messages_unarchive_request_builder.go b/admin/service_announcement_messages_unarchive_request_builder.go index 8dfc178f743..963f5dac9f9 100644 --- a/admin/service_announcement_messages_unarchive_request_builder.go +++ b/admin/service_announcement_messages_unarchive_request_builder.go @@ -69,3 +69,7 @@ func (m *ServiceAnnouncementMessagesUnarchiveRequestBuilder) ToPostRequestInform } 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 *ServiceAnnouncementMessagesUnarchiveRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementMessagesUnarchiveRequestBuilder) { + return NewServiceAnnouncementMessagesUnarchiveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_messages_unfavorite_request_builder.go b/admin/service_announcement_messages_unfavorite_request_builder.go index b0832a4a391..07143796846 100644 --- a/admin/service_announcement_messages_unfavorite_request_builder.go +++ b/admin/service_announcement_messages_unfavorite_request_builder.go @@ -69,3 +69,7 @@ func (m *ServiceAnnouncementMessagesUnfavoriteRequestBuilder) ToPostRequestInfor } 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 *ServiceAnnouncementMessagesUnfavoriteRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementMessagesUnfavoriteRequestBuilder) { + return NewServiceAnnouncementMessagesUnfavoriteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/service_announcement_request_builder.go b/admin/service_announcement_request_builder.go index 898ae26928c..835b6dc26c3 100644 --- a/admin/service_announcement_request_builder.go +++ b/admin/service_announcement_request_builder.go @@ -165,3 +165,7 @@ func (m *ServiceAnnouncementRequestBuilder) ToPatchRequestInformation(ctx contex } 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 *ServiceAnnouncementRequestBuilder) WithUrl(rawUrl string)(*ServiceAnnouncementRequestBuilder) { + return NewServiceAnnouncementRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/sharepoint_request_builder.go b/admin/sharepoint_request_builder.go index 7ceff7f61e9..d15c43b1134 100644 --- a/admin/sharepoint_request_builder.go +++ b/admin/sharepoint_request_builder.go @@ -157,3 +157,7 @@ func (m *SharepointRequestBuilder) ToPatchRequestInformation(ctx context.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 *SharepointRequestBuilder) WithUrl(rawUrl string)(*SharepointRequestBuilder) { + return NewSharepointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/sharepoint_settings_request_builder.go b/admin/sharepoint_settings_request_builder.go index 91c000c7ed7..8b9ede995a6 100644 --- a/admin/sharepoint_settings_request_builder.go +++ b/admin/sharepoint_settings_request_builder.go @@ -159,3 +159,7 @@ func (m *SharepointSettingsRequestBuilder) ToPatchRequestInformation(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 *SharepointSettingsRequestBuilder) WithUrl(rawUrl string)(*SharepointSettingsRequestBuilder) { + return NewSharepointSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/todo_request_builder.go b/admin/todo_request_builder.go index e08c77ddfec..55559a5a120 100644 --- a/admin/todo_request_builder.go +++ b/admin/todo_request_builder.go @@ -159,3 +159,7 @@ func (m *TodoRequestBuilder) ToPatchRequestInformation(ctx context.Context, body } 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 *TodoRequestBuilder) WithUrl(rawUrl string)(*TodoRequestBuilder) { + return NewTodoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_request_builder.go b/admin/windows_request_builder.go index ecabfbc4fec..69c19e330a7 100644 --- a/admin/windows_request_builder.go +++ b/admin/windows_request_builder.go @@ -157,3 +157,7 @@ func (m *WindowsRequestBuilder) ToPatchRequestInformation(ctx context.Context, b func (m *WindowsRequestBuilder) Updates()(*WindowsUpdatesRequestBuilder) { return NewWindowsUpdatesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *WindowsRequestBuilder) WithUrl(rawUrl string)(*WindowsRequestBuilder) { + return NewWindowsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_catalog_entries_catalog_entry_item_request_builder.go b/admin/windows_updates_catalog_entries_catalog_entry_item_request_builder.go index 2065c3f075e..733c97066d0 100644 --- a/admin/windows_updates_catalog_entries_catalog_entry_item_request_builder.go +++ b/admin/windows_updates_catalog_entries_catalog_entry_item_request_builder.go @@ -153,3 +153,7 @@ func (m *WindowsUpdatesCatalogEntriesCatalogEntryItemRequestBuilder) ToPatchRequ } 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 *WindowsUpdatesCatalogEntriesCatalogEntryItemRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesCatalogEntriesCatalogEntryItemRequestBuilder) { + return NewWindowsUpdatesCatalogEntriesCatalogEntryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_catalog_entries_count_request_builder.go b/admin/windows_updates_catalog_entries_count_request_builder.go index 7930b9fa9b1..4415ac61c06 100644 --- a/admin/windows_updates_catalog_entries_count_request_builder.go +++ b/admin/windows_updates_catalog_entries_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsUpdatesCatalogEntriesCountRequestBuilder) 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 *WindowsUpdatesCatalogEntriesCountRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesCatalogEntriesCountRequestBuilder) { + return NewWindowsUpdatesCatalogEntriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_catalog_entries_request_builder.go b/admin/windows_updates_catalog_entries_request_builder.go index 5b1b7288a47..e4c8906a3b1 100644 --- a/admin/windows_updates_catalog_entries_request_builder.go +++ b/admin/windows_updates_catalog_entries_request_builder.go @@ -46,8 +46,8 @@ type WindowsUpdatesCatalogEntriesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCatalogEntryIdString provides operations to manage the entries property of the microsoft.graph.windowsUpdates.catalog entity. -func (m *WindowsUpdatesCatalogEntriesRequestBuilder) ByCatalogEntryIdString(catalogEntryId string)(*WindowsUpdatesCatalogEntriesCatalogEntryItemRequestBuilder) { +// ByCatalogEntryId provides operations to manage the entries property of the microsoft.graph.windowsUpdates.catalog entity. +func (m *WindowsUpdatesCatalogEntriesRequestBuilder) ByCatalogEntryId(catalogEntryId string)(*WindowsUpdatesCatalogEntriesCatalogEntryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *WindowsUpdatesCatalogEntriesRequestBuilder) 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 *WindowsUpdatesCatalogEntriesRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesCatalogEntriesRequestBuilder) { + return NewWindowsUpdatesCatalogEntriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_catalog_request_builder.go b/admin/windows_updates_catalog_request_builder.go index ad0057d1f69..895d5143d51 100644 --- a/admin/windows_updates_catalog_request_builder.go +++ b/admin/windows_updates_catalog_request_builder.go @@ -157,3 +157,7 @@ func (m *WindowsUpdatesCatalogRequestBuilder) ToPatchRequestInformation(ctx cont } 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 *WindowsUpdatesCatalogRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesCatalogRequestBuilder) { + return NewWindowsUpdatesCatalogRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_count_request_builder.go b/admin/windows_updates_deployment_audiences_count_request_builder.go index ccb482e40ef..34ebe7ddc9f 100644 --- a/admin/windows_updates_deployment_audiences_count_request_builder.go +++ b/admin/windows_updates_deployment_audiences_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsUpdatesDeploymentAudiencesCountRequestBuilder) ToGetRequestInfor } 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 *WindowsUpdatesDeploymentAudiencesCountRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesCountRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_deployment_audience_item_request_builder.go b/admin/windows_updates_deployment_audiences_deployment_audience_item_request_builder.go index d23d2b459a3..c9d3b9136cb 100644 --- a/admin/windows_updates_deployment_audiences_deployment_audience_item_request_builder.go +++ b/admin/windows_updates_deployment_audiences_deployment_audience_item_request_builder.go @@ -175,3 +175,7 @@ func (m *WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilder) } 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 *WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_count_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_count_request_builder.go index f3ea5d10e5e..cfe8f88e6e1 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_count_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsCountRequestBuilder) ToG } 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 *WindowsUpdatesDeploymentAudiencesItemExclusionsCountRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemExclusionsCountRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemExclusionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go index c3bea224107..3c807418059 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindow } 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 *WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go index 5fb299d68c8..0ec32406db3 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindow } 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 *WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go index 54fb85475f1..416c8c5e31c 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindow } 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 *WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go index 67e88332090..0580b10f3ad 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindow } 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 *WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go index cdea901a9e9..6869ef3bbb7 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsMicrosoftGraphWindowsUpd } 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 *WindowsUpdatesDeploymentAudiencesItemExclusionsMicrosoftGraphWindowsUpdatesEnrollAssetsByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemExclusionsMicrosoftGraphWindowsUpdatesEnrollAssetsByIdRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemExclusionsMicrosoftGraphWindowsUpdatesEnrollAssetsByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go index e0d51749984..eaf8ae94536 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsMicrosoftGraphWindowsUpd } 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 *WindowsUpdatesDeploymentAudiencesItemExclusionsMicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemExclusionsMicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemExclusionsMicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go index ac8466dd52c..acb2cdaddfc 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsMicrosoftGraphWindowsUpd } 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 *WindowsUpdatesDeploymentAudiencesItemExclusionsMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemExclusionsMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemExclusionsMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go index 024600c6478..8d3fca1d252 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsMicrosoftGraphWindowsUpd } 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 *WindowsUpdatesDeploymentAudiencesItemExclusionsMicrosoftGraphWindowsUpdatesUnenrollAssetsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemExclusionsMicrosoftGraphWindowsUpdatesUnenrollAssetsRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemExclusionsMicrosoftGraphWindowsUpdatesUnenrollAssetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_request_builder.go index 483d9c0b480..db5f553761f 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_request_builder.go @@ -46,8 +46,8 @@ type WindowsUpdatesDeploymentAudiencesItemExclusionsRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUpdatableAssetIdString provides operations to manage the exclusions property of the microsoft.graph.windowsUpdates.deploymentAudience entity. -func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsRequestBuilder) ByUpdatableAssetIdString(updatableAssetId string)(*WindowsUpdatesDeploymentAudiencesItemExclusionsUpdatableAssetItemRequestBuilder) { +// ByUpdatableAssetId provides operations to manage the exclusions property of the microsoft.graph.windowsUpdates.deploymentAudience entity. +func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsRequestBuilder) ByUpdatableAssetId(updatableAssetId string)(*WindowsUpdatesDeploymentAudiencesItemExclusionsUpdatableAssetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -164,3 +164,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsRequestBuilder) ToPostRe } 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 *WindowsUpdatesDeploymentAudiencesItemExclusionsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemExclusionsRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemExclusionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_updatable_asset_item_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_updatable_asset_item_request_builder.go index d8ffabf9ddc..df8e42b301e 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_updatable_asset_item_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_updatable_asset_item_request_builder.go @@ -169,3 +169,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsUpdatableAssetItemReques } 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 *WindowsUpdatesDeploymentAudiencesItemExclusionsUpdatableAssetItemRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemExclusionsUpdatableAssetItemRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemExclusionsUpdatableAssetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_members_count_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_count_request_builder.go index 8f148f2e6ba..a5fa6854d1f 100644 --- a/admin/windows_updates_deployment_audiences_item_members_count_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersCountRequestBuilder) ToGetR } 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 *WindowsUpdatesDeploymentAudiencesItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemMembersCountRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go index bccdecd5131..94a954963c7 100644 --- a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUp } 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 *WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_request_builder.go index fd7d1202143..55339159bb9 100644 --- a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUp } 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 *WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go index df4926e6a2b..0ba271c8983 100644 --- a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUp } 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 *WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go index ec35136866f..8481dcc8a25 100644 --- a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUp } 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 *WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go index d56e17b9101..6d1b0dd55e1 100644 --- a/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersMicrosoftGraphWindowsUpdate } 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 *WindowsUpdatesDeploymentAudiencesItemMembersMicrosoftGraphWindowsUpdatesEnrollAssetsByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemMembersMicrosoftGraphWindowsUpdatesEnrollAssetsByIdRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemMembersMicrosoftGraphWindowsUpdatesEnrollAssetsByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go index 57d459dc438..38bbbaa8985 100644 --- a/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersMicrosoftGraphWindowsUpdate } 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 *WindowsUpdatesDeploymentAudiencesItemMembersMicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemMembersMicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemMembersMicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go index 5a0dd4665a4..cb6d5aaf216 100644 --- a/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersMicrosoftGraphWindowsUpdate } 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 *WindowsUpdatesDeploymentAudiencesItemMembersMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemMembersMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemMembersMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go index 4a8c9cec7d4..bcde7fa9fab 100644 --- a/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersMicrosoftGraphWindowsUpdate } 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 *WindowsUpdatesDeploymentAudiencesItemMembersMicrosoftGraphWindowsUpdatesUnenrollAssetsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemMembersMicrosoftGraphWindowsUpdatesUnenrollAssetsRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemMembersMicrosoftGraphWindowsUpdatesUnenrollAssetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_members_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_request_builder.go index a1d44cfe377..61acc4ac8ff 100644 --- a/admin/windows_updates_deployment_audiences_item_members_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_request_builder.go @@ -46,8 +46,8 @@ type WindowsUpdatesDeploymentAudiencesItemMembersRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUpdatableAssetIdString provides operations to manage the members property of the microsoft.graph.windowsUpdates.deploymentAudience entity. -func (m *WindowsUpdatesDeploymentAudiencesItemMembersRequestBuilder) ByUpdatableAssetIdString(updatableAssetId string)(*WindowsUpdatesDeploymentAudiencesItemMembersUpdatableAssetItemRequestBuilder) { +// ByUpdatableAssetId provides operations to manage the members property of the microsoft.graph.windowsUpdates.deploymentAudience entity. +func (m *WindowsUpdatesDeploymentAudiencesItemMembersRequestBuilder) ByUpdatableAssetId(updatableAssetId string)(*WindowsUpdatesDeploymentAudiencesItemMembersUpdatableAssetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -164,3 +164,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersRequestBuilder) ToPostReque } 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 *WindowsUpdatesDeploymentAudiencesItemMembersRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemMembersRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_members_updatable_asset_item_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_updatable_asset_item_request_builder.go index bc5a86af051..965d9d47c78 100644 --- a/admin/windows_updates_deployment_audiences_item_members_updatable_asset_item_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_updatable_asset_item_request_builder.go @@ -169,3 +169,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersUpdatableAssetItemRequestBu } 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 *WindowsUpdatesDeploymentAudiencesItemMembersUpdatableAssetItemRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemMembersUpdatableAssetItemRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemMembersUpdatableAssetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go index 60bcfba3cfc..217b1053308 100644 --- a/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMicrosoftGraphWindowsUpdatesUpdate } 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 *WindowsUpdatesDeploymentAudiencesItemMicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemMicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemMicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_request_builder.go b/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_request_builder.go index 6c708947d0f..96842a5ad7f 100644 --- a/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMicrosoftGraphWindowsUpdatesUpdate } 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 *WindowsUpdatesDeploymentAudiencesItemMicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesItemMicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesItemMicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployment_audiences_request_builder.go b/admin/windows_updates_deployment_audiences_request_builder.go index 19b6f69723f..d7e4851f690 100644 --- a/admin/windows_updates_deployment_audiences_request_builder.go +++ b/admin/windows_updates_deployment_audiences_request_builder.go @@ -46,8 +46,8 @@ type WindowsUpdatesDeploymentAudiencesRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeploymentAudienceIdString provides operations to manage the deploymentAudiences property of the microsoft.graph.adminWindowsUpdates entity. -func (m *WindowsUpdatesDeploymentAudiencesRequestBuilder) ByDeploymentAudienceIdString(deploymentAudienceId string)(*WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilder) { +// ByDeploymentAudienceId provides operations to manage the deploymentAudiences property of the microsoft.graph.adminWindowsUpdates entity. +func (m *WindowsUpdatesDeploymentAudiencesRequestBuilder) ByDeploymentAudienceId(deploymentAudienceId string)(*WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *WindowsUpdatesDeploymentAudiencesRequestBuilder) ToPostRequestInformati } 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 *WindowsUpdatesDeploymentAudiencesRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentAudiencesRequestBuilder) { + return NewWindowsUpdatesDeploymentAudiencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_count_request_builder.go b/admin/windows_updates_deployments_count_request_builder.go index 034e583fe26..7618d6931d4 100644 --- a/admin/windows_updates_deployments_count_request_builder.go +++ b/admin/windows_updates_deployments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsUpdatesDeploymentsCountRequestBuilder) ToGetRequestInformation(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 *WindowsUpdatesDeploymentsCountRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsCountRequestBuilder) { + return NewWindowsUpdatesDeploymentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_deployment_item_request_builder.go b/admin/windows_updates_deployments_deployment_item_request_builder.go index c21cce2b1a3..38bf4a95564 100644 --- a/admin/windows_updates_deployments_deployment_item_request_builder.go +++ b/admin/windows_updates_deployments_deployment_item_request_builder.go @@ -166,3 +166,7 @@ func (m *WindowsUpdatesDeploymentsDeploymentItemRequestBuilder) ToPatchRequestIn } 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 *WindowsUpdatesDeploymentsDeploymentItemRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsDeploymentItemRequestBuilder) { + return NewWindowsUpdatesDeploymentsDeploymentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_exclusions_count_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_count_request_builder.go index d2147a2f64a..65c675d93ff 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_count_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsCountRequestBuilder) ToG } 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 *WindowsUpdatesDeploymentsItemAudienceExclusionsCountRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceExclusionsCountRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceExclusionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go index 6ff37830517..7a528f911a7 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindow } 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 *WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go index 538cf638819..5342b5a1fb9 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindow } 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 *WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go index 101978d7759..a9e4a9d1b2b 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindow } 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 *WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go index b8769b33b0f..33c840f6ad8 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindow } 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 *WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go index 46c38a91495..b877dbd85c1 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsMicrosoftGraphWindowsUpd } 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 *WindowsUpdatesDeploymentsItemAudienceExclusionsMicrosoftGraphWindowsUpdatesEnrollAssetsByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceExclusionsMicrosoftGraphWindowsUpdatesEnrollAssetsByIdRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceExclusionsMicrosoftGraphWindowsUpdatesEnrollAssetsByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go index 18186acfbfe..336b0ba3489 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsMicrosoftGraphWindowsUpd } 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 *WindowsUpdatesDeploymentsItemAudienceExclusionsMicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceExclusionsMicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceExclusionsMicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go index 45f5364784b..6af2fe459f6 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsMicrosoftGraphWindowsUpd } 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 *WindowsUpdatesDeploymentsItemAudienceExclusionsMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceExclusionsMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceExclusionsMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go index 1204792253f..efb38f4adf5 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsMicrosoftGraphWindowsUpd } 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 *WindowsUpdatesDeploymentsItemAudienceExclusionsMicrosoftGraphWindowsUpdatesUnenrollAssetsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceExclusionsMicrosoftGraphWindowsUpdatesUnenrollAssetsRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceExclusionsMicrosoftGraphWindowsUpdatesUnenrollAssetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_exclusions_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_request_builder.go index 8de5b1be1c6..29d6712e72a 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_request_builder.go @@ -46,8 +46,8 @@ type WindowsUpdatesDeploymentsItemAudienceExclusionsRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUpdatableAssetIdString provides operations to manage the exclusions property of the microsoft.graph.windowsUpdates.deploymentAudience entity. -func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsRequestBuilder) ByUpdatableAssetIdString(updatableAssetId string)(*WindowsUpdatesDeploymentsItemAudienceExclusionsUpdatableAssetItemRequestBuilder) { +// ByUpdatableAssetId provides operations to manage the exclusions property of the microsoft.graph.windowsUpdates.deploymentAudience entity. +func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsRequestBuilder) ByUpdatableAssetId(updatableAssetId string)(*WindowsUpdatesDeploymentsItemAudienceExclusionsUpdatableAssetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -164,3 +164,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsRequestBuilder) ToPostRe } 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 *WindowsUpdatesDeploymentsItemAudienceExclusionsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceExclusionsRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceExclusionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_exclusions_updatable_asset_item_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_updatable_asset_item_request_builder.go index 658fb1e9341..4b6a9a2f4f4 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_updatable_asset_item_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_updatable_asset_item_request_builder.go @@ -169,3 +169,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsUpdatableAssetItemReques } 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 *WindowsUpdatesDeploymentsItemAudienceExclusionsUpdatableAssetItemRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceExclusionsUpdatableAssetItemRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceExclusionsUpdatableAssetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_members_count_request_builder.go b/admin/windows_updates_deployments_item_audience_members_count_request_builder.go index 41d17b33d9c..160be7df712 100644 --- a/admin/windows_updates_deployments_item_audience_members_count_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersCountRequestBuilder) ToGetR } 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 *WindowsUpdatesDeploymentsItemAudienceMembersCountRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceMembersCountRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go index 00bdaf52d17..aa7fb9524b0 100644 --- a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUp } 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 *WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go index 19e5244f817..d550414cbbc 100644 --- a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUp } 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 *WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go index 74561bebb7d..a12333f4f14 100644 --- a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUp } 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 *WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go index 646a112b233..2a692aed6d8 100644 --- a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUp } 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 *WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go index d55574a7846..7ec4e41492f 100644 --- a/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersMicrosoftGraphWindowsUpdate } 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 *WindowsUpdatesDeploymentsItemAudienceMembersMicrosoftGraphWindowsUpdatesEnrollAssetsByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceMembersMicrosoftGraphWindowsUpdatesEnrollAssetsByIdRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceMembersMicrosoftGraphWindowsUpdatesEnrollAssetsByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go b/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go index b9ae526b586..cb7c7836e7d 100644 --- a/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersMicrosoftGraphWindowsUpdate } 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 *WindowsUpdatesDeploymentsItemAudienceMembersMicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceMembersMicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceMembersMicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go index ea9a8f13a0c..2c873dfcea7 100644 --- a/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersMicrosoftGraphWindowsUpdate } 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 *WindowsUpdatesDeploymentsItemAudienceMembersMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceMembersMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceMembersMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go b/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go index fc184e9bca8..62a1a7fe9d0 100644 --- a/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersMicrosoftGraphWindowsUpdate } 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 *WindowsUpdatesDeploymentsItemAudienceMembersMicrosoftGraphWindowsUpdatesUnenrollAssetsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceMembersMicrosoftGraphWindowsUpdatesUnenrollAssetsRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceMembersMicrosoftGraphWindowsUpdatesUnenrollAssetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_members_request_builder.go b/admin/windows_updates_deployments_item_audience_members_request_builder.go index 5e77a216347..1f7945f34cb 100644 --- a/admin/windows_updates_deployments_item_audience_members_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_request_builder.go @@ -46,8 +46,8 @@ type WindowsUpdatesDeploymentsItemAudienceMembersRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUpdatableAssetIdString provides operations to manage the members property of the microsoft.graph.windowsUpdates.deploymentAudience entity. -func (m *WindowsUpdatesDeploymentsItemAudienceMembersRequestBuilder) ByUpdatableAssetIdString(updatableAssetId string)(*WindowsUpdatesDeploymentsItemAudienceMembersUpdatableAssetItemRequestBuilder) { +// ByUpdatableAssetId provides operations to manage the members property of the microsoft.graph.windowsUpdates.deploymentAudience entity. +func (m *WindowsUpdatesDeploymentsItemAudienceMembersRequestBuilder) ByUpdatableAssetId(updatableAssetId string)(*WindowsUpdatesDeploymentsItemAudienceMembersUpdatableAssetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -164,3 +164,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersRequestBuilder) ToPostReque } 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 *WindowsUpdatesDeploymentsItemAudienceMembersRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceMembersRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_members_updatable_asset_item_request_builder.go b/admin/windows_updates_deployments_item_audience_members_updatable_asset_item_request_builder.go index 49f19464a1d..a5180840312 100644 --- a/admin/windows_updates_deployments_item_audience_members_updatable_asset_item_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_updatable_asset_item_request_builder.go @@ -169,3 +169,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersUpdatableAssetItemRequestBu } 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 *WindowsUpdatesDeploymentsItemAudienceMembersUpdatableAssetItemRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceMembersUpdatableAssetItemRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceMembersUpdatableAssetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go index 5ae1b7e38c8..855084a97ad 100644 --- a/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMicrosoftGraphWindowsUpdatesUpdate } 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 *WindowsUpdatesDeploymentsItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go b/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go index bfe29a17fda..64348762bba 100644 --- a/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMicrosoftGraphWindowsUpdatesUpdate } 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 *WindowsUpdatesDeploymentsItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_item_audience_request_builder.go b/admin/windows_updates_deployments_item_audience_request_builder.go index 9ff7d51b891..f8a3ea0ed9e 100644 --- a/admin/windows_updates_deployments_item_audience_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_request_builder.go @@ -169,3 +169,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceRequestBuilder) 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 *WindowsUpdatesDeploymentsItemAudienceRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsItemAudienceRequestBuilder) { + return NewWindowsUpdatesDeploymentsItemAudienceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_deployments_request_builder.go b/admin/windows_updates_deployments_request_builder.go index a75285fbdeb..5a5891f0eee 100644 --- a/admin/windows_updates_deployments_request_builder.go +++ b/admin/windows_updates_deployments_request_builder.go @@ -46,8 +46,8 @@ type WindowsUpdatesDeploymentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeploymentIdString provides operations to manage the deployments property of the microsoft.graph.adminWindowsUpdates entity. -func (m *WindowsUpdatesDeploymentsRequestBuilder) ByDeploymentIdString(deploymentId string)(*WindowsUpdatesDeploymentsDeploymentItemRequestBuilder) { +// ByDeploymentId provides operations to manage the deployments property of the microsoft.graph.adminWindowsUpdates entity. +func (m *WindowsUpdatesDeploymentsRequestBuilder) ByDeploymentId(deploymentId string)(*WindowsUpdatesDeploymentsDeploymentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *WindowsUpdatesDeploymentsRequestBuilder) ToPostRequestInformation(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 *WindowsUpdatesDeploymentsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesDeploymentsRequestBuilder) { + return NewWindowsUpdatesDeploymentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_request_builder.go b/admin/windows_updates_request_builder.go index ed53791501e..2cea2321619 100644 --- a/admin/windows_updates_request_builder.go +++ b/admin/windows_updates_request_builder.go @@ -177,3 +177,7 @@ func (m *WindowsUpdatesRequestBuilder) UpdatableAssets()(*WindowsUpdatesUpdatabl func (m *WindowsUpdatesRequestBuilder) UpdatePolicies()(*WindowsUpdatesUpdatePoliciesRequestBuilder) { return NewWindowsUpdatesUpdatePoliciesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *WindowsUpdatesRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesRequestBuilder) { + return NewWindowsUpdatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_resource_connections_count_request_builder.go b/admin/windows_updates_resource_connections_count_request_builder.go index 93fd696ee14..da2d9cda206 100644 --- a/admin/windows_updates_resource_connections_count_request_builder.go +++ b/admin/windows_updates_resource_connections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsUpdatesResourceConnectionsCountRequestBuilder) ToGetRequestInfor } 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 *WindowsUpdatesResourceConnectionsCountRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesResourceConnectionsCountRequestBuilder) { + return NewWindowsUpdatesResourceConnectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_resource_connections_request_builder.go b/admin/windows_updates_resource_connections_request_builder.go index f32b5cfefde..52f8144ad21 100644 --- a/admin/windows_updates_resource_connections_request_builder.go +++ b/admin/windows_updates_resource_connections_request_builder.go @@ -46,8 +46,8 @@ type WindowsUpdatesResourceConnectionsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByResourceConnectionIdString provides operations to manage the resourceConnections property of the microsoft.graph.adminWindowsUpdates entity. -func (m *WindowsUpdatesResourceConnectionsRequestBuilder) ByResourceConnectionIdString(resourceConnectionId string)(*WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) { +// ByResourceConnectionId provides operations to manage the resourceConnections property of the microsoft.graph.adminWindowsUpdates entity. +func (m *WindowsUpdatesResourceConnectionsRequestBuilder) ByResourceConnectionId(resourceConnectionId string)(*WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *WindowsUpdatesResourceConnectionsRequestBuilder) ToPostRequestInformati } 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 *WindowsUpdatesResourceConnectionsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesResourceConnectionsRequestBuilder) { + return NewWindowsUpdatesResourceConnectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_resource_connections_resource_connection_item_request_builder.go b/admin/windows_updates_resource_connections_resource_connection_item_request_builder.go index a3b4456f34e..d037bc6f4df 100644 --- a/admin/windows_updates_resource_connections_resource_connection_item_request_builder.go +++ b/admin/windows_updates_resource_connections_resource_connection_item_request_builder.go @@ -18,7 +18,7 @@ type WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderGetQueryParameters read the properties and relationships of an operationalInsightsConnection object. +// WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderGetQueryParameters read the properties and relationships of a resourceConnection object. type WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,10 +73,10 @@ func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) } return nil } -// Get read the properties and relationships of an operationalInsightsConnection object. +// Get read the properties and relationships of a resourceConnection object. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-1.0 func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ResourceConnectionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +126,7 @@ func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) } return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an operationalInsightsConnection object. +// ToGetRequestInformation read the properties and relationships of a resourceConnection object. func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -159,3 +159,7 @@ func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) } 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 *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) { + return NewWindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_updatable_assets_count_request_builder.go b/admin/windows_updates_updatable_assets_count_request_builder.go index ac786dff39d..3fa5d538984 100644 --- a/admin/windows_updates_updatable_assets_count_request_builder.go +++ b/admin/windows_updates_updatable_assets_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsUpdatesUpdatableAssetsCountRequestBuilder) ToGetRequestInformati } 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 *WindowsUpdatesUpdatableAssetsCountRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatableAssetsCountRequestBuilder) { + return NewWindowsUpdatesUpdatableAssetsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go index b7031f3bef8..5266cbddda5 100644 --- a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go +++ b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesAddMembers } 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 *WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder) { + return NewWindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_request_builder.go b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_request_builder.go index 4552aa6656a..a981e9b051a 100644 --- a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_request_builder.go +++ b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesAddMembers } 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 *WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder) { + return NewWindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go index 0e5dabd4da0..266136c82f8 100644 --- a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go +++ b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesRemoveMemb } 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 *WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder) { + return NewWindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_request_builder.go b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_request_builder.go index 01e7208cc2e..4c5c97bbd5a 100644 --- a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_request_builder.go +++ b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesRemoveMemb } 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 *WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder) { + return NewWindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go b/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go index 6828eaf6b96..cc236d8d6ff 100644 --- a/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesUpdatableAssetsMicrosoftGraphWindowsUpdatesEnrollAssetsBy } 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 *WindowsUpdatesUpdatableAssetsMicrosoftGraphWindowsUpdatesEnrollAssetsByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatableAssetsMicrosoftGraphWindowsUpdatesEnrollAssetsByIdRequestBuilder) { + return NewWindowsUpdatesUpdatableAssetsMicrosoftGraphWindowsUpdatesEnrollAssetsByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_enroll_assets_request_builder.go b/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_enroll_assets_request_builder.go index a62281d1135..9e22f2ca0b0 100644 --- a/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_enroll_assets_request_builder.go +++ b/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_enroll_assets_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesUpdatableAssetsMicrosoftGraphWindowsUpdatesEnrollAssetsRe } 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 *WindowsUpdatesUpdatableAssetsMicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatableAssetsMicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder) { + return NewWindowsUpdatesUpdatableAssetsMicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go b/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go index 99d26f9fb9c..8ce28a3759c 100644 --- a/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesUpdatableAssetsMicrosoftGraphWindowsUpdatesUnenrollAssets } 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 *WindowsUpdatesUpdatableAssetsMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatableAssetsMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilder) { + return NewWindowsUpdatesUpdatableAssetsMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_unenroll_assets_request_builder.go b/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_unenroll_assets_request_builder.go index e101c39a69f..df21145a567 100644 --- a/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_unenroll_assets_request_builder.go +++ b/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_unenroll_assets_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesUpdatableAssetsMicrosoftGraphWindowsUpdatesUnenrollAssets } 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 *WindowsUpdatesUpdatableAssetsMicrosoftGraphWindowsUpdatesUnenrollAssetsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatableAssetsMicrosoftGraphWindowsUpdatesUnenrollAssetsRequestBuilder) { + return NewWindowsUpdatesUpdatableAssetsMicrosoftGraphWindowsUpdatesUnenrollAssetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_updatable_assets_request_builder.go b/admin/windows_updates_updatable_assets_request_builder.go index d7da3e27811..d323f55cf8a 100644 --- a/admin/windows_updates_updatable_assets_request_builder.go +++ b/admin/windows_updates_updatable_assets_request_builder.go @@ -46,8 +46,8 @@ type WindowsUpdatesUpdatableAssetsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUpdatableAssetIdString provides operations to manage the updatableAssets property of the microsoft.graph.adminWindowsUpdates entity. -func (m *WindowsUpdatesUpdatableAssetsRequestBuilder) ByUpdatableAssetIdString(updatableAssetId string)(*WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) { +// ByUpdatableAssetId provides operations to manage the updatableAssets property of the microsoft.graph.adminWindowsUpdates entity. +func (m *WindowsUpdatesUpdatableAssetsRequestBuilder) ByUpdatableAssetId(updatableAssetId string)(*WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -167,3 +167,7 @@ func (m *WindowsUpdatesUpdatableAssetsRequestBuilder) ToPostRequestInformation(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 *WindowsUpdatesUpdatableAssetsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatableAssetsRequestBuilder) { + return NewWindowsUpdatesUpdatableAssetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go b/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go index 9ee77e09dc3..a70a8679126 100644 --- a/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go +++ b/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go @@ -18,7 +18,7 @@ type WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetQueryParameters read the properties and relationships of an updatableAsset object. +// WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetQueryParameters read the properties and relationships of an updatableAssetGroup object. type WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,10 +54,10 @@ func NewWindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewWindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. +// Delete delete an azureADDevice object. When an Azure AD device is deleted, it is unregistered from the deployment service and automatically unenrolled from management by the service for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-1.0 func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,10 +73,10 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Delete(c } return nil } -// Get read the properties and relationships of an updatableAsset object. +// Get read the properties and relationships of an updatableAssetGroup object. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-get?view=graph-rest-1.0 func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -130,7 +130,7 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Patch(ct } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable), nil } -// ToDeleteRequestInformation delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. +// ToDeleteRequestInformation delete an azureADDevice object. When an Azure AD device is deleted, it is unregistered from the deployment service and automatically unenrolled from management by the service for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -142,7 +142,7 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) ToDelete } return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an updatableAsset object. +// ToGetRequestInformation read the properties and relationships of an updatableAssetGroup object. func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -175,3 +175,7 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) ToPatchR } 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 *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) { + return NewWindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_count_request_builder.go b/admin/windows_updates_update_policies_count_request_builder.go index 99e73ddc407..480d3e55d25 100644 --- a/admin/windows_updates_update_policies_count_request_builder.go +++ b/admin/windows_updates_update_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsUpdatesUpdatePoliciesCountRequestBuilder) 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 *WindowsUpdatesUpdatePoliciesCountRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesCountRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_count_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_count_request_builder.go index 3b8b462c01b..6729cc3b804 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_count_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsCountRequestBuilder) } 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 *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsCountRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceExclusionsCountRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceExclusionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go index 257287e6a2c..fc0b1595a01 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWin } 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 *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go index 227f19f546b..d752c87ad90 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWin } 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 *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go index 25fdbb3be5b..119b281bc7f 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWin } 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 *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go index 4142c958773..c07df5d420c 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWin } 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 *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go index 0d3407215e3..75eae938d3d 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsMicrosoftGraphWindows } 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 *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsMicrosoftGraphWindowsUpdatesEnrollAssetsByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceExclusionsMicrosoftGraphWindowsUpdatesEnrollAssetsByIdRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceExclusionsMicrosoftGraphWindowsUpdatesEnrollAssetsByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go index 471053cac18..7dfe5912f10 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsMicrosoftGraphWindows } 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 *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsMicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceExclusionsMicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceExclusionsMicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go index 1de07e19782..fe55b4adc9f 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsMicrosoftGraphWindows } 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 *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceExclusionsMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceExclusionsMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go index 7867629ebe9..21d36f98794 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsMicrosoftGraphWindows } 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 *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsMicrosoftGraphWindowsUpdatesUnenrollAssetsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceExclusionsMicrosoftGraphWindowsUpdatesUnenrollAssetsRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceExclusionsMicrosoftGraphWindowsUpdatesUnenrollAssetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_request_builder.go index 4882a91e5cc..3f58857cae4 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_request_builder.go @@ -46,8 +46,8 @@ type WindowsUpdatesUpdatePoliciesItemAudienceExclusionsRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUpdatableAssetIdString provides operations to manage the exclusions property of the microsoft.graph.windowsUpdates.deploymentAudience entity. -func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsRequestBuilder) ByUpdatableAssetIdString(updatableAssetId string)(*WindowsUpdatesUpdatePoliciesItemAudienceExclusionsUpdatableAssetItemRequestBuilder) { +// ByUpdatableAssetId provides operations to manage the exclusions property of the microsoft.graph.windowsUpdates.deploymentAudience entity. +func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsRequestBuilder) ByUpdatableAssetId(updatableAssetId string)(*WindowsUpdatesUpdatePoliciesItemAudienceExclusionsUpdatableAssetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -164,3 +164,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsRequestBuilder) ToPos } 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 *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceExclusionsRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceExclusionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_updatable_asset_item_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_updatable_asset_item_request_builder.go index 016bc68a66b..97eb301d0e4 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_updatable_asset_item_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_updatable_asset_item_request_builder.go @@ -169,3 +169,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsUpdatableAssetItemReq } 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 *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsUpdatableAssetItemRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceExclusionsUpdatableAssetItemRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceExclusionsUpdatableAssetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_members_count_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_count_request_builder.go index 24812ff292c..e79581c38f4 100644 --- a/admin/windows_updates_update_policies_item_audience_members_count_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersCountRequestBuilder) ToG } 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 *WindowsUpdatesUpdatePoliciesItemAudienceMembersCountRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceMembersCountRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go index 223ea25a5d5..5079027a459 100644 --- a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindow } 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 *WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go index 23bc4cba918..c42b667742c 100644 --- a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindow } 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 *WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go index 3e3a18bb20b..de0f755a711 100644 --- a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindow } 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 *WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go index 8e64f95fb35..beff226063f 100644 --- a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindow } 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 *WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go index 3252b5f6a89..b43ccbcb13b 100644 --- a/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersMicrosoftGraphWindowsUpd } 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 *WindowsUpdatesUpdatePoliciesItemAudienceMembersMicrosoftGraphWindowsUpdatesEnrollAssetsByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceMembersMicrosoftGraphWindowsUpdatesEnrollAssetsByIdRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceMembersMicrosoftGraphWindowsUpdatesEnrollAssetsByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go index e8df54f6691..2978fe8738d 100644 --- a/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersMicrosoftGraphWindowsUpd } 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 *WindowsUpdatesUpdatePoliciesItemAudienceMembersMicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceMembersMicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceMembersMicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go index 41c2c23b7b3..9066988e6e1 100644 --- a/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersMicrosoftGraphWindowsUpd } 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 *WindowsUpdatesUpdatePoliciesItemAudienceMembersMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceMembersMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceMembersMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go index e38f2f9466c..8136eaa4d2b 100644 --- a/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersMicrosoftGraphWindowsUpd } 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 *WindowsUpdatesUpdatePoliciesItemAudienceMembersMicrosoftGraphWindowsUpdatesUnenrollAssetsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceMembersMicrosoftGraphWindowsUpdatesUnenrollAssetsRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceMembersMicrosoftGraphWindowsUpdatesUnenrollAssetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_members_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_request_builder.go index ceb1a45c0f1..4901633e817 100644 --- a/admin/windows_updates_update_policies_item_audience_members_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_request_builder.go @@ -46,8 +46,8 @@ type WindowsUpdatesUpdatePoliciesItemAudienceMembersRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUpdatableAssetIdString provides operations to manage the members property of the microsoft.graph.windowsUpdates.deploymentAudience entity. -func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersRequestBuilder) ByUpdatableAssetIdString(updatableAssetId string)(*WindowsUpdatesUpdatePoliciesItemAudienceMembersUpdatableAssetItemRequestBuilder) { +// ByUpdatableAssetId provides operations to manage the members property of the microsoft.graph.windowsUpdates.deploymentAudience entity. +func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersRequestBuilder) ByUpdatableAssetId(updatableAssetId string)(*WindowsUpdatesUpdatePoliciesItemAudienceMembersUpdatableAssetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -164,3 +164,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersRequestBuilder) ToPostRe } 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 *WindowsUpdatesUpdatePoliciesItemAudienceMembersRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceMembersRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_members_updatable_asset_item_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_updatable_asset_item_request_builder.go index b7806ce0262..a07df7e0a9c 100644 --- a/admin/windows_updates_update_policies_item_audience_members_updatable_asset_item_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_updatable_asset_item_request_builder.go @@ -169,3 +169,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersUpdatableAssetItemReques } 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 *WindowsUpdatesUpdatePoliciesItemAudienceMembersUpdatableAssetItemRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceMembersUpdatableAssetItemRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceMembersUpdatableAssetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go index 026cd9e1c68..cefb7cbf307 100644 --- a/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMicrosoftGraphWindowsUpdatesUpd } 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 *WindowsUpdatesUpdatePoliciesItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go b/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go index ecaa6332cdf..f78621a3936 100644 --- a/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go @@ -65,3 +65,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMicrosoftGraphWindowsUpdatesUpd } 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 *WindowsUpdatesUpdatePoliciesItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_audience_request_builder.go b/admin/windows_updates_update_policies_item_audience_request_builder.go index 30b6f8b2827..c296888a6af 100644 --- a/admin/windows_updates_update_policies_item_audience_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_request_builder.go @@ -169,3 +169,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceRequestBuilder) ToPatchRequestI } 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 *WindowsUpdatesUpdatePoliciesItemAudienceRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemAudienceRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemAudienceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_compliance_changes_compliance_change_item_request_builder.go b/admin/windows_updates_update_policies_item_compliance_changes_compliance_change_item_request_builder.go index e9649e704cd..af6fc249055 100644 --- a/admin/windows_updates_update_policies_item_compliance_changes_compliance_change_item_request_builder.go +++ b/admin/windows_updates_update_policies_item_compliance_changes_compliance_change_item_request_builder.go @@ -18,7 +18,7 @@ type WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderGetQueryParameters read the properties and relationships of a contentApproval object. +// WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderGetQueryParameters read the properties and relationships of a complianceChange object. type WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,10 +73,10 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRe } return nil } -// Get read the properties and relationships of a contentApproval object. +// Get read the properties and relationships of a complianceChange object. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-1.0 func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ComplianceChangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +129,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRe } return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a contentApproval object. +// ToGetRequestInformation read the properties and relationships of a complianceChange object. func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -166,3 +166,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRe func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilder) UpdatePolicy()(*WindowsUpdatesUpdatePoliciesItemComplianceChangesItemUpdatePolicyRequestBuilder) { return NewWindowsUpdatesUpdatePoliciesItemComplianceChangesItemUpdatePolicyRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_compliance_changes_count_request_builder.go b/admin/windows_updates_update_policies_item_compliance_changes_count_request_builder.go index b44ab2e96d5..cbcad4f0be6 100644 --- a/admin/windows_updates_update_policies_item_compliance_changes_count_request_builder.go +++ b/admin/windows_updates_update_policies_item_compliance_changes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesCountRequestBuilder) T } 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 *WindowsUpdatesUpdatePoliciesItemComplianceChangesCountRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemComplianceChangesCountRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemComplianceChangesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_compliance_changes_item_update_policy_request_builder.go b/admin/windows_updates_update_policies_item_compliance_changes_item_update_policy_request_builder.go index e4025a09aec..88dc0af435c 100644 --- a/admin/windows_updates_update_policies_item_compliance_changes_item_update_policy_request_builder.go +++ b/admin/windows_updates_update_policies_item_compliance_changes_item_update_policy_request_builder.go @@ -75,3 +75,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesItemUpdatePolicyReques } 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 *WindowsUpdatesUpdatePoliciesItemComplianceChangesItemUpdatePolicyRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemComplianceChangesItemUpdatePolicyRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemComplianceChangesItemUpdatePolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_item_compliance_changes_request_builder.go b/admin/windows_updates_update_policies_item_compliance_changes_request_builder.go index 6ab599cfe3a..752f36ec0d9 100644 --- a/admin/windows_updates_update_policies_item_compliance_changes_request_builder.go +++ b/admin/windows_updates_update_policies_item_compliance_changes_request_builder.go @@ -46,8 +46,8 @@ type WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByComplianceChangeIdString provides operations to manage the complianceChanges property of the microsoft.graph.windowsUpdates.updatePolicy entity. -func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilder) ByComplianceChangeIdString(complianceChangeId string)(*WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilder) { +// ByComplianceChangeId provides operations to manage the complianceChanges property of the microsoft.graph.windowsUpdates.updatePolicy entity. +func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilder) ByComplianceChangeId(complianceChangeId string)(*WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilder) ToPost } 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 *WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_request_builder.go b/admin/windows_updates_update_policies_request_builder.go index 1d940bf001e..6d35d3ac6b5 100644 --- a/admin/windows_updates_update_policies_request_builder.go +++ b/admin/windows_updates_update_policies_request_builder.go @@ -46,8 +46,8 @@ type WindowsUpdatesUpdatePoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUpdatePolicyIdString provides operations to manage the updatePolicies property of the microsoft.graph.adminWindowsUpdates entity. -func (m *WindowsUpdatesUpdatePoliciesRequestBuilder) ByUpdatePolicyIdString(updatePolicyId string)(*WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilder) { +// ByUpdatePolicyId provides operations to manage the updatePolicies property of the microsoft.graph.adminWindowsUpdates entity. +func (m *WindowsUpdatesUpdatePoliciesRequestBuilder) ByUpdatePolicyId(updatePolicyId string)(*WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *WindowsUpdatesUpdatePoliciesRequestBuilder) 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 *WindowsUpdatesUpdatePoliciesRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_update_policies_update_policy_item_request_builder.go b/admin/windows_updates_update_policies_update_policy_item_request_builder.go index eb35eac1afe..a27fadaf3ef 100644 --- a/admin/windows_updates_update_policies_update_policy_item_request_builder.go +++ b/admin/windows_updates_update_policies_update_policy_item_request_builder.go @@ -170,3 +170,7 @@ func (m *WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilder) ToPatchRequ } 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 *WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilder) { + return NewWindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/administrative_unit_item_request_builder.go b/administrativeunits/administrative_unit_item_request_builder.go index e3f90d73d6d..ba5daddac40 100644 --- a/administrativeunits/administrative_unit_item_request_builder.go +++ b/administrativeunits/administrative_unit_item_request_builder.go @@ -194,3 +194,7 @@ func (m *AdministrativeUnitItemRequestBuilder) ToPatchRequestInformation(ctx con } 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 *AdministrativeUnitItemRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitItemRequestBuilder) { + return NewAdministrativeUnitItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/administrative_units_request_builder.go b/administrativeunits/administrative_units_request_builder.go index 3bed99239ce..136b002e38b 100644 --- a/administrativeunits/administrative_units_request_builder.go +++ b/administrativeunits/administrative_units_request_builder.go @@ -46,8 +46,8 @@ type AdministrativeUnitsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAdministrativeUnitIdString provides operations to manage the collection of administrativeUnit entities. -func (m *AdministrativeUnitsRequestBuilder) ByAdministrativeUnitIdString(administrativeUnitId string)(*AdministrativeUnitItemRequestBuilder) { +// ByAdministrativeUnitId provides operations to manage the collection of administrativeUnit entities. +func (m *AdministrativeUnitsRequestBuilder) ByAdministrativeUnitId(administrativeUnitId string)(*AdministrativeUnitItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -167,3 +167,7 @@ func (m *AdministrativeUnitsRequestBuilder) ToPostRequestInformation(ctx context func (m *AdministrativeUnitsRequestBuilder) ValidateProperties()(*ValidatePropertiesRequestBuilder) { return NewValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *AdministrativeUnitsRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsRequestBuilder) { + return NewAdministrativeUnitsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/count_request_builder.go b/administrativeunits/count_request_builder.go index febb3669e1e..c1dfcebee5b 100644 --- a/administrativeunits/count_request_builder.go +++ b/administrativeunits/count_request_builder.go @@ -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); +} diff --git a/administrativeunits/delta_request_builder.go b/administrativeunits/delta_request_builder.go index ea5bf7b1fb3..0c43d90d678 100644 --- a/administrativeunits/delta_request_builder.go +++ b/administrativeunits/delta_request_builder.go @@ -84,3 +84,7 @@ func (m *DeltaRequestBuilder) 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 *DeltaRequestBuilder) WithUrl(rawUrl string)(*DeltaRequestBuilder) { + return NewDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/get_by_ids_request_builder.go b/administrativeunits/get_by_ids_request_builder.go index 238e2eb254f..592e2c7a8de 100644 --- a/administrativeunits/get_by_ids_request_builder.go +++ b/administrativeunits/get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *GetByIdsRequestBuilder) WithUrl(rawUrl string)(*GetByIdsRequestBuilder) { + return NewGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/get_user_owned_objects_request_builder.go b/administrativeunits/get_user_owned_objects_request_builder.go index 471316052af..a9f681308de 100644 --- a/administrativeunits/get_user_owned_objects_request_builder.go +++ b/administrativeunits/get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) 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 *GetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*GetUserOwnedObjectsRequestBuilder) { + return NewGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_check_member_groups_request_builder.go b/administrativeunits/item_check_member_groups_request_builder.go index 6d77cae7602..9e4e7d0b05e 100644 --- a/administrativeunits/item_check_member_groups_request_builder.go +++ b/administrativeunits/item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) 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 *ItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberGroupsRequestBuilder) { + return NewItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_check_member_objects_request_builder.go b/administrativeunits/item_check_member_objects_request_builder.go index 8fb6523707b..acd4b3cfd53 100644 --- a/administrativeunits/item_check_member_objects_request_builder.go +++ b/administrativeunits/item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberObjectsRequestBuilder) { + return NewItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_extensions_count_request_builder.go b/administrativeunits/item_extensions_count_request_builder.go index a8277e93415..4b9da8e850e 100644 --- a/administrativeunits/item_extensions_count_request_builder.go +++ b/administrativeunits/item_extensions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemExtensionsCountRequestBuilder) ToGetRequestInformation(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 *ItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemExtensionsCountRequestBuilder) { + return NewItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_extensions_extension_item_request_builder.go b/administrativeunits/item_extensions_extension_item_request_builder.go index 1d1d7d72454..5e97bafecbe 100644 --- a/administrativeunits/item_extensions_extension_item_request_builder.go +++ b/administrativeunits/item_extensions_extension_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemExtensionsExtensionItemRequestBuilder) ToPatchRequestInformation(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 *ItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemExtensionsExtensionItemRequestBuilder) { + return NewItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_extensions_request_builder.go b/administrativeunits/item_extensions_request_builder.go index 24f20f4759d..777827c167d 100644 --- a/administrativeunits/item_extensions_request_builder.go +++ b/administrativeunits/item_extensions_request_builder.go @@ -46,8 +46,8 @@ type ItemExtensionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.administrativeUnit entity. -func (m *ItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.administrativeUnit entity. +func (m *ItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *ItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemExtensionsRequestBuilder) { + return NewItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_get_member_groups_request_builder.go b/administrativeunits/item_get_member_groups_request_builder.go index 172fcb32b1f..50770e715df 100644 --- a/administrativeunits/item_get_member_groups_request_builder.go +++ b/administrativeunits/item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) 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 *ItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberGroupsRequestBuilder) { + return NewItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_get_member_objects_request_builder.go b/administrativeunits/item_get_member_objects_request_builder.go index 7ffb4c9c1c3..a18494117de 100644 --- a/administrativeunits/item_get_member_objects_request_builder.go +++ b/administrativeunits/item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberObjectsRequestBuilder) { + return NewItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_members_count_request_builder.go b/administrativeunits/item_members_count_request_builder.go index 59a89cfa248..9c26c26d0e0 100644 --- a/administrativeunits/item_members_count_request_builder.go +++ b/administrativeunits/item_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersCountRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *ItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersCountRequestBuilder) { + return NewItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_members_graph_application_count_request_builder.go b/administrativeunits/item_members_graph_application_count_request_builder.go index 7a364db5d87..131170bb065 100644 --- a/administrativeunits/item_members_graph_application_count_request_builder.go +++ b/administrativeunits/item_members_graph_application_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersGraphApplicationCountRequestBuilder) 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 *ItemMembersGraphApplicationCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphApplicationCountRequestBuilder) { + return NewItemMembersGraphApplicationCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_members_graph_application_request_builder.go b/administrativeunits/item_members_graph_application_request_builder.go index 74df2778840..ae28092f51b 100644 --- a/administrativeunits/item_members_graph_application_request_builder.go +++ b/administrativeunits/item_members_graph_application_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersGraphApplicationRequestBuilder) ToGetRequestInformation(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 *ItemMembersGraphApplicationRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphApplicationRequestBuilder) { + return NewItemMembersGraphApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_members_graph_device_count_request_builder.go b/administrativeunits/item_members_graph_device_count_request_builder.go index 33d5ffef219..536ce9a33f1 100644 --- a/administrativeunits/item_members_graph_device_count_request_builder.go +++ b/administrativeunits/item_members_graph_device_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersGraphDeviceCountRequestBuilder) ToGetRequestInformation(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 *ItemMembersGraphDeviceCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphDeviceCountRequestBuilder) { + return NewItemMembersGraphDeviceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_members_graph_device_request_builder.go b/administrativeunits/item_members_graph_device_request_builder.go index 0bb2fd8eb71..6356aba90c8 100644 --- a/administrativeunits/item_members_graph_device_request_builder.go +++ b/administrativeunits/item_members_graph_device_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersGraphDeviceRequestBuilder) ToGetRequestInformation(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 *ItemMembersGraphDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphDeviceRequestBuilder) { + return NewItemMembersGraphDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_members_graph_group_count_request_builder.go b/administrativeunits/item_members_graph_group_count_request_builder.go index 519bd99096a..fde3362ba92 100644 --- a/administrativeunits/item_members_graph_group_count_request_builder.go +++ b/administrativeunits/item_members_graph_group_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersGraphGroupCountRequestBuilder) ToGetRequestInformation(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 *ItemMembersGraphGroupCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphGroupCountRequestBuilder) { + return NewItemMembersGraphGroupCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_members_graph_group_request_builder.go b/administrativeunits/item_members_graph_group_request_builder.go index 2b8aa8c6737..2b736251923 100644 --- a/administrativeunits/item_members_graph_group_request_builder.go +++ b/administrativeunits/item_members_graph_group_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersGraphGroupRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemMembersGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphGroupRequestBuilder) { + return NewItemMembersGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_members_graph_org_contact_count_request_builder.go b/administrativeunits/item_members_graph_org_contact_count_request_builder.go index c7f403526d3..5ab93c57600 100644 --- a/administrativeunits/item_members_graph_org_contact_count_request_builder.go +++ b/administrativeunits/item_members_graph_org_contact_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersGraphOrgContactCountRequestBuilder) 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 *ItemMembersGraphOrgContactCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphOrgContactCountRequestBuilder) { + return NewItemMembersGraphOrgContactCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_members_graph_org_contact_request_builder.go b/administrativeunits/item_members_graph_org_contact_request_builder.go index 1e367295a3c..6cfa92abee7 100644 --- a/administrativeunits/item_members_graph_org_contact_request_builder.go +++ b/administrativeunits/item_members_graph_org_contact_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersGraphOrgContactRequestBuilder) ToGetRequestInformation(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 *ItemMembersGraphOrgContactRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphOrgContactRequestBuilder) { + return NewItemMembersGraphOrgContactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_members_graph_service_principal_count_request_builder.go b/administrativeunits/item_members_graph_service_principal_count_request_builder.go index b3173c746b5..a044d4cba77 100644 --- a/administrativeunits/item_members_graph_service_principal_count_request_builder.go +++ b/administrativeunits/item_members_graph_service_principal_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersGraphServicePrincipalCountRequestBuilder) ToGetRequestInform } 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 *ItemMembersGraphServicePrincipalCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphServicePrincipalCountRequestBuilder) { + return NewItemMembersGraphServicePrincipalCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_members_graph_service_principal_request_builder.go b/administrativeunits/item_members_graph_service_principal_request_builder.go index af0738c28cb..4e3d338a62b 100644 --- a/administrativeunits/item_members_graph_service_principal_request_builder.go +++ b/administrativeunits/item_members_graph_service_principal_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersGraphServicePrincipalRequestBuilder) 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 *ItemMembersGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphServicePrincipalRequestBuilder) { + return NewItemMembersGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_members_graph_user_count_request_builder.go b/administrativeunits/item_members_graph_user_count_request_builder.go index 968e7756289..a4ab6044c84 100644 --- a/administrativeunits/item_members_graph_user_count_request_builder.go +++ b/administrativeunits/item_members_graph_user_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersGraphUserCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemMembersGraphUserCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphUserCountRequestBuilder) { + return NewItemMembersGraphUserCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_members_graph_user_request_builder.go b/administrativeunits/item_members_graph_user_request_builder.go index 50268e07377..54f18b905de 100644 --- a/administrativeunits/item_members_graph_user_request_builder.go +++ b/administrativeunits/item_members_graph_user_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersGraphUserRequestBuilder) ToGetRequestInformation(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 *ItemMembersGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphUserRequestBuilder) { + return NewItemMembersGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_members_item_graph_application_request_builder.go b/administrativeunits/item_members_item_graph_application_request_builder.go index a2265908a2a..1a5e2a56d40 100644 --- a/administrativeunits/item_members_item_graph_application_request_builder.go +++ b/administrativeunits/item_members_item_graph_application_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersItemGraphApplicationRequestBuilder) 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 *ItemMembersItemGraphApplicationRequestBuilder) WithUrl(rawUrl string)(*ItemMembersItemGraphApplicationRequestBuilder) { + return NewItemMembersItemGraphApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_members_item_graph_device_request_builder.go b/administrativeunits/item_members_item_graph_device_request_builder.go index fe9e81fdeb0..a654b18c275 100644 --- a/administrativeunits/item_members_item_graph_device_request_builder.go +++ b/administrativeunits/item_members_item_graph_device_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersItemGraphDeviceRequestBuilder) ToGetRequestInformation(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 *ItemMembersItemGraphDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemMembersItemGraphDeviceRequestBuilder) { + return NewItemMembersItemGraphDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_members_item_graph_group_request_builder.go b/administrativeunits/item_members_item_graph_group_request_builder.go index 23ec00dfa1c..495d637ace4 100644 --- a/administrativeunits/item_members_item_graph_group_request_builder.go +++ b/administrativeunits/item_members_item_graph_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersItemGraphGroupRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemMembersItemGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemMembersItemGraphGroupRequestBuilder) { + return NewItemMembersItemGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_members_item_graph_org_contact_request_builder.go b/administrativeunits/item_members_item_graph_org_contact_request_builder.go index b5948d65f7d..d2e1f200151 100644 --- a/administrativeunits/item_members_item_graph_org_contact_request_builder.go +++ b/administrativeunits/item_members_item_graph_org_contact_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersItemGraphOrgContactRequestBuilder) ToGetRequestInformation(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 *ItemMembersItemGraphOrgContactRequestBuilder) WithUrl(rawUrl string)(*ItemMembersItemGraphOrgContactRequestBuilder) { + return NewItemMembersItemGraphOrgContactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_members_item_graph_service_principal_request_builder.go b/administrativeunits/item_members_item_graph_service_principal_request_builder.go index 84c9c78e774..fc8cd6370f5 100644 --- a/administrativeunits/item_members_item_graph_service_principal_request_builder.go +++ b/administrativeunits/item_members_item_graph_service_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersItemGraphServicePrincipalRequestBuilder) ToGetRequestInforma } 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 *ItemMembersItemGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemMembersItemGraphServicePrincipalRequestBuilder) { + return NewItemMembersItemGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_members_item_graph_user_request_builder.go b/administrativeunits/item_members_item_graph_user_request_builder.go index 2ad2686d751..8529e903a91 100644 --- a/administrativeunits/item_members_item_graph_user_request_builder.go +++ b/administrativeunits/item_members_item_graph_user_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersItemGraphUserRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemMembersItemGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemMembersItemGraphUserRequestBuilder) { + return NewItemMembersItemGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_members_item_ref_request_builder.go b/administrativeunits/item_members_item_ref_request_builder.go index e0b0e5f839c..2b9bf5e7f67 100644 --- a/administrativeunits/item_members_item_ref_request_builder.go +++ b/administrativeunits/item_members_item_ref_request_builder.go @@ -68,3 +68,7 @@ func (m *ItemMembersItemRefRequestBuilder) ToDeleteRequestInformation(ctx contex } 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 *ItemMembersItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemMembersItemRefRequestBuilder) { + return NewItemMembersItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_members_ref_request_builder.go b/administrativeunits/item_members_ref_request_builder.go index ee26e3fdbb4..d896783bf6c 100644 --- a/administrativeunits/item_members_ref_request_builder.go +++ b/administrativeunits/item_members_ref_request_builder.go @@ -125,3 +125,7 @@ func (m *ItemMembersRefRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *ItemMembersRefRequestBuilder) WithUrl(rawUrl string)(*ItemMembersRefRequestBuilder) { + return NewItemMembersRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_members_request_builder.go b/administrativeunits/item_members_request_builder.go index 910beca5e03..b7c374ec2f3 100644 --- a/administrativeunits/item_members_request_builder.go +++ b/administrativeunits/item_members_request_builder.go @@ -46,8 +46,8 @@ type ItemMembersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDirectoryObjectIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.administrativeUnits.item.members.item collection -func (m *ItemMembersRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemMembersDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.administrativeUnits.item.members.item collection +func (m *ItemMembersRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemMembersDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -176,3 +176,7 @@ func (m *ItemMembersRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemMembersRequestBuilder) WithUrl(rawUrl string)(*ItemMembersRequestBuilder) { + return NewItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_restore_request_builder.go b/administrativeunits/item_restore_request_builder.go index 123ea0ee068..a2db19e4e45 100644 --- a/administrativeunits/item_restore_request_builder.go +++ b/administrativeunits/item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemRestoreRequestBuilder) { + return NewItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_scoped_role_members_count_request_builder.go b/administrativeunits/item_scoped_role_members_count_request_builder.go index 47f7979b5d4..fa5525eb3b9 100644 --- a/administrativeunits/item_scoped_role_members_count_request_builder.go +++ b/administrativeunits/item_scoped_role_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemScopedRoleMembersCountRequestBuilder) ToGetRequestInformation(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 *ItemScopedRoleMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemScopedRoleMembersCountRequestBuilder) { + return NewItemScopedRoleMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_scoped_role_members_request_builder.go b/administrativeunits/item_scoped_role_members_request_builder.go index 41f8f721a1b..19a824d91f4 100644 --- a/administrativeunits/item_scoped_role_members_request_builder.go +++ b/administrativeunits/item_scoped_role_members_request_builder.go @@ -46,8 +46,8 @@ type ItemScopedRoleMembersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByScopedRoleMembershipIdString provides operations to manage the scopedRoleMembers property of the microsoft.graph.administrativeUnit entity. -func (m *ItemScopedRoleMembersRequestBuilder) ByScopedRoleMembershipIdString(scopedRoleMembershipId string)(*ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) { +// ByScopedRoleMembershipId provides operations to manage the scopedRoleMembers property of the microsoft.graph.administrativeUnit entity. +func (m *ItemScopedRoleMembersRequestBuilder) ByScopedRoleMembershipId(scopedRoleMembershipId string)(*ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemScopedRoleMembersRequestBuilder) 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 *ItemScopedRoleMembersRequestBuilder) WithUrl(rawUrl string)(*ItemScopedRoleMembersRequestBuilder) { + return NewItemScopedRoleMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/item_scoped_role_members_scoped_role_membership_item_request_builder.go b/administrativeunits/item_scoped_role_members_scoped_role_membership_item_request_builder.go index 0856169222a..2a9b9578296 100644 --- a/administrativeunits/item_scoped_role_members_scoped_role_membership_item_request_builder.go +++ b/administrativeunits/item_scoped_role_members_scoped_role_membership_item_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) ToPatchReq } 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 *ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) WithUrl(rawUrl string)(*ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) { + return NewItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/administrativeunits/validate_properties_request_builder.go b/administrativeunits/validate_properties_request_builder.go index b40e9137326..56c1655d7f2 100644 --- a/administrativeunits/validate_properties_request_builder.go +++ b/administrativeunits/validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ValidatePropertiesRequestBuilder) 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 *ValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ValidatePropertiesRequestBuilder) { + return NewValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/agreementacceptances/agreement_acceptance_item_request_builder.go b/agreementacceptances/agreement_acceptance_item_request_builder.go index a0eef0c114b..f3b00654268 100644 --- a/agreementacceptances/agreement_acceptance_item_request_builder.go +++ b/agreementacceptances/agreement_acceptance_item_request_builder.go @@ -151,3 +151,7 @@ func (m *AgreementAcceptanceItemRequestBuilder) ToPatchRequestInformation(ctx co } 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 *AgreementAcceptanceItemRequestBuilder) WithUrl(rawUrl string)(*AgreementAcceptanceItemRequestBuilder) { + return NewAgreementAcceptanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/agreementacceptances/agreement_acceptances_request_builder.go b/agreementacceptances/agreement_acceptances_request_builder.go index ffcd312e012..ac4e0920612 100644 --- a/agreementacceptances/agreement_acceptances_request_builder.go +++ b/agreementacceptances/agreement_acceptances_request_builder.go @@ -34,8 +34,8 @@ type AgreementAcceptancesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAgreementAcceptanceIdString provides operations to manage the collection of agreementAcceptance entities. -func (m *AgreementAcceptancesRequestBuilder) ByAgreementAcceptanceIdString(agreementAcceptanceId string)(*AgreementAcceptanceItemRequestBuilder) { +// ByAgreementAcceptanceId provides operations to manage the collection of agreementAcceptance entities. +func (m *AgreementAcceptancesRequestBuilder) ByAgreementAcceptanceId(agreementAcceptanceId string)(*AgreementAcceptanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -129,3 +129,7 @@ func (m *AgreementAcceptancesRequestBuilder) ToPostRequestInformation(ctx contex } 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 *AgreementAcceptancesRequestBuilder) WithUrl(rawUrl string)(*AgreementAcceptancesRequestBuilder) { + return NewAgreementAcceptancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/agreements/agreement_item_request_builder.go b/agreements/agreement_item_request_builder.go index 7f2bed386b1..31fa2190e6f 100644 --- a/agreements/agreement_item_request_builder.go +++ b/agreements/agreement_item_request_builder.go @@ -163,3 +163,7 @@ func (m *AgreementItemRequestBuilder) ToPatchRequestInformation(ctx context.Cont } 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 *AgreementItemRequestBuilder) WithUrl(rawUrl string)(*AgreementItemRequestBuilder) { + return NewAgreementItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/agreements/agreements_request_builder.go b/agreements/agreements_request_builder.go index 540895441a0..b8119f6226d 100644 --- a/agreements/agreements_request_builder.go +++ b/agreements/agreements_request_builder.go @@ -34,8 +34,8 @@ type AgreementsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAgreementIdString provides operations to manage the collection of agreement entities. -func (m *AgreementsRequestBuilder) ByAgreementIdString(agreementId string)(*AgreementItemRequestBuilder) { +// ByAgreementId provides operations to manage the collection of agreement entities. +func (m *AgreementsRequestBuilder) ByAgreementId(agreementId string)(*AgreementItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -129,3 +129,7 @@ func (m *AgreementsRequestBuilder) ToPostRequestInformation(ctx context.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 *AgreementsRequestBuilder) WithUrl(rawUrl string)(*AgreementsRequestBuilder) { + return NewAgreementsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/agreements/item_acceptances_agreement_acceptance_item_request_builder.go b/agreements/item_acceptances_agreement_acceptance_item_request_builder.go index 41844a00022..09a9a9107e3 100644 --- a/agreements/item_acceptances_agreement_acceptance_item_request_builder.go +++ b/agreements/item_acceptances_agreement_acceptance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemAcceptancesAgreementAcceptanceItemRequestBuilder) ToPatchRequestInf } 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 *ItemAcceptancesAgreementAcceptanceItemRequestBuilder) WithUrl(rawUrl string)(*ItemAcceptancesAgreementAcceptanceItemRequestBuilder) { + return NewItemAcceptancesAgreementAcceptanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/agreements/item_acceptances_count_request_builder.go b/agreements/item_acceptances_count_request_builder.go index 9f9fa286522..eb80b1f01d5 100644 --- a/agreements/item_acceptances_count_request_builder.go +++ b/agreements/item_acceptances_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAcceptancesCountRequestBuilder) ToGetRequestInformation(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 *ItemAcceptancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemAcceptancesCountRequestBuilder) { + return NewItemAcceptancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/agreements/item_acceptances_request_builder.go b/agreements/item_acceptances_request_builder.go index 935150e32e1..431d5db4955 100644 --- a/agreements/item_acceptances_request_builder.go +++ b/agreements/item_acceptances_request_builder.go @@ -46,8 +46,8 @@ type ItemAcceptancesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAgreementAcceptanceIdString provides operations to manage the acceptances property of the microsoft.graph.agreement entity. -func (m *ItemAcceptancesRequestBuilder) ByAgreementAcceptanceIdString(agreementAcceptanceId string)(*ItemAcceptancesAgreementAcceptanceItemRequestBuilder) { +// ByAgreementAcceptanceId provides operations to manage the acceptances property of the microsoft.graph.agreement entity. +func (m *ItemAcceptancesRequestBuilder) ByAgreementAcceptanceId(agreementAcceptanceId string)(*ItemAcceptancesAgreementAcceptanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemAcceptancesRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *ItemAcceptancesRequestBuilder) WithUrl(rawUrl string)(*ItemAcceptancesRequestBuilder) { + return NewItemAcceptancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/agreements/item_file_localizations_agreement_file_localization_item_request_builder.go b/agreements/item_file_localizations_agreement_file_localization_item_request_builder.go index 862eba4ba8d..06cb8bce086 100644 --- a/agreements/item_file_localizations_agreement_file_localization_item_request_builder.go +++ b/agreements/item_file_localizations_agreement_file_localization_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemFileLocalizationsAgreementFileLocalizationItemRequestBuilder) ToPat func (m *ItemFileLocalizationsAgreementFileLocalizationItemRequestBuilder) Versions()(*ItemFileLocalizationsItemVersionsRequestBuilder) { return NewItemFileLocalizationsItemVersionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemFileLocalizationsAgreementFileLocalizationItemRequestBuilder) WithUrl(rawUrl string)(*ItemFileLocalizationsAgreementFileLocalizationItemRequestBuilder) { + return NewItemFileLocalizationsAgreementFileLocalizationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/agreements/item_file_localizations_count_request_builder.go b/agreements/item_file_localizations_count_request_builder.go index e58038e6c70..a8bc878f0ec 100644 --- a/agreements/item_file_localizations_count_request_builder.go +++ b/agreements/item_file_localizations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemFileLocalizationsCountRequestBuilder) ToGetRequestInformation(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 *ItemFileLocalizationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemFileLocalizationsCountRequestBuilder) { + return NewItemFileLocalizationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/agreements/item_file_localizations_item_versions_agreement_file_version_item_request_builder.go b/agreements/item_file_localizations_item_versions_agreement_file_version_item_request_builder.go index 63f786c4808..e6278237f90 100644 --- a/agreements/item_file_localizations_item_versions_agreement_file_version_item_request_builder.go +++ b/agreements/item_file_localizations_item_versions_agreement_file_version_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemFileLocalizationsItemVersionsAgreementFileVersionItemRequestBuilder } 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 *ItemFileLocalizationsItemVersionsAgreementFileVersionItemRequestBuilder) WithUrl(rawUrl string)(*ItemFileLocalizationsItemVersionsAgreementFileVersionItemRequestBuilder) { + return NewItemFileLocalizationsItemVersionsAgreementFileVersionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/agreements/item_file_localizations_item_versions_count_request_builder.go b/agreements/item_file_localizations_item_versions_count_request_builder.go index c8b64134697..516078900ff 100644 --- a/agreements/item_file_localizations_item_versions_count_request_builder.go +++ b/agreements/item_file_localizations_item_versions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemFileLocalizationsItemVersionsCountRequestBuilder) ToGetRequestInfor } 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 *ItemFileLocalizationsItemVersionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemFileLocalizationsItemVersionsCountRequestBuilder) { + return NewItemFileLocalizationsItemVersionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/agreements/item_file_localizations_item_versions_request_builder.go b/agreements/item_file_localizations_item_versions_request_builder.go index 53e8e3c007e..18a85f5e02f 100644 --- a/agreements/item_file_localizations_item_versions_request_builder.go +++ b/agreements/item_file_localizations_item_versions_request_builder.go @@ -46,8 +46,8 @@ type ItemFileLocalizationsItemVersionsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAgreementFileVersionIdString provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. -func (m *ItemFileLocalizationsItemVersionsRequestBuilder) ByAgreementFileVersionIdString(agreementFileVersionId string)(*ItemFileLocalizationsItemVersionsAgreementFileVersionItemRequestBuilder) { +// ByAgreementFileVersionId provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. +func (m *ItemFileLocalizationsItemVersionsRequestBuilder) ByAgreementFileVersionId(agreementFileVersionId string)(*ItemFileLocalizationsItemVersionsAgreementFileVersionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemFileLocalizationsItemVersionsRequestBuilder) ToPostRequestInformati } 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 *ItemFileLocalizationsItemVersionsRequestBuilder) WithUrl(rawUrl string)(*ItemFileLocalizationsItemVersionsRequestBuilder) { + return NewItemFileLocalizationsItemVersionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/agreements/item_file_localizations_request_builder.go b/agreements/item_file_localizations_request_builder.go index 033d9fd34f7..5bb7cbc48f2 100644 --- a/agreements/item_file_localizations_request_builder.go +++ b/agreements/item_file_localizations_request_builder.go @@ -46,8 +46,8 @@ type ItemFileLocalizationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAgreementFileLocalizationIdString provides operations to manage the localizations property of the microsoft.graph.agreementFile entity. -func (m *ItemFileLocalizationsRequestBuilder) ByAgreementFileLocalizationIdString(agreementFileLocalizationId string)(*ItemFileLocalizationsAgreementFileLocalizationItemRequestBuilder) { +// ByAgreementFileLocalizationId provides operations to manage the localizations property of the microsoft.graph.agreementFile entity. +func (m *ItemFileLocalizationsRequestBuilder) ByAgreementFileLocalizationId(agreementFileLocalizationId string)(*ItemFileLocalizationsAgreementFileLocalizationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemFileLocalizationsRequestBuilder) 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 *ItemFileLocalizationsRequestBuilder) WithUrl(rawUrl string)(*ItemFileLocalizationsRequestBuilder) { + return NewItemFileLocalizationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/agreements/item_file_request_builder.go b/agreements/item_file_request_builder.go index 8bd8898106a..9d0e9115d46 100644 --- a/agreements/item_file_request_builder.go +++ b/agreements/item_file_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemFileRequestBuilder) ToPatchRequestInformation(ctx context.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 *ItemFileRequestBuilder) WithUrl(rawUrl string)(*ItemFileRequestBuilder) { + return NewItemFileRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/agreements/item_files_agreement_file_localization_item_request_builder.go b/agreements/item_files_agreement_file_localization_item_request_builder.go index 670c2b56d04..a4cef371ce4 100644 --- a/agreements/item_files_agreement_file_localization_item_request_builder.go +++ b/agreements/item_files_agreement_file_localization_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemFilesAgreementFileLocalizationItemRequestBuilder) ToPatchRequestInf func (m *ItemFilesAgreementFileLocalizationItemRequestBuilder) Versions()(*ItemFilesItemVersionsRequestBuilder) { return NewItemFilesItemVersionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemFilesAgreementFileLocalizationItemRequestBuilder) WithUrl(rawUrl string)(*ItemFilesAgreementFileLocalizationItemRequestBuilder) { + return NewItemFilesAgreementFileLocalizationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/agreements/item_files_count_request_builder.go b/agreements/item_files_count_request_builder.go index d0530713607..b3dcc2f007b 100644 --- a/agreements/item_files_count_request_builder.go +++ b/agreements/item_files_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemFilesCountRequestBuilder) ToGetRequestInformation(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 *ItemFilesCountRequestBuilder) WithUrl(rawUrl string)(*ItemFilesCountRequestBuilder) { + return NewItemFilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/agreements/item_files_item_versions_agreement_file_version_item_request_builder.go b/agreements/item_files_item_versions_agreement_file_version_item_request_builder.go index 0d202203738..6ec14001f1a 100644 --- a/agreements/item_files_item_versions_agreement_file_version_item_request_builder.go +++ b/agreements/item_files_item_versions_agreement_file_version_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemFilesItemVersionsAgreementFileVersionItemRequestBuilder) ToPatchReq } 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 *ItemFilesItemVersionsAgreementFileVersionItemRequestBuilder) WithUrl(rawUrl string)(*ItemFilesItemVersionsAgreementFileVersionItemRequestBuilder) { + return NewItemFilesItemVersionsAgreementFileVersionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/agreements/item_files_item_versions_count_request_builder.go b/agreements/item_files_item_versions_count_request_builder.go index 7f6fb639c5d..440397df3e8 100644 --- a/agreements/item_files_item_versions_count_request_builder.go +++ b/agreements/item_files_item_versions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemFilesItemVersionsCountRequestBuilder) ToGetRequestInformation(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 *ItemFilesItemVersionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemFilesItemVersionsCountRequestBuilder) { + return NewItemFilesItemVersionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/agreements/item_files_item_versions_request_builder.go b/agreements/item_files_item_versions_request_builder.go index e2ff389fec6..b2464541da6 100644 --- a/agreements/item_files_item_versions_request_builder.go +++ b/agreements/item_files_item_versions_request_builder.go @@ -46,8 +46,8 @@ type ItemFilesItemVersionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAgreementFileVersionIdString provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. -func (m *ItemFilesItemVersionsRequestBuilder) ByAgreementFileVersionIdString(agreementFileVersionId string)(*ItemFilesItemVersionsAgreementFileVersionItemRequestBuilder) { +// ByAgreementFileVersionId provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. +func (m *ItemFilesItemVersionsRequestBuilder) ByAgreementFileVersionId(agreementFileVersionId string)(*ItemFilesItemVersionsAgreementFileVersionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemFilesItemVersionsRequestBuilder) 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 *ItemFilesItemVersionsRequestBuilder) WithUrl(rawUrl string)(*ItemFilesItemVersionsRequestBuilder) { + return NewItemFilesItemVersionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/agreements/item_files_request_builder.go b/agreements/item_files_request_builder.go index 55ddc0abee2..6d4397a7342 100644 --- a/agreements/item_files_request_builder.go +++ b/agreements/item_files_request_builder.go @@ -46,8 +46,8 @@ type ItemFilesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAgreementFileLocalizationIdString provides operations to manage the files property of the microsoft.graph.agreement entity. -func (m *ItemFilesRequestBuilder) ByAgreementFileLocalizationIdString(agreementFileLocalizationId string)(*ItemFilesAgreementFileLocalizationItemRequestBuilder) { +// ByAgreementFileLocalizationId provides operations to manage the files property of the microsoft.graph.agreement entity. +func (m *ItemFilesRequestBuilder) ByAgreementFileLocalizationId(agreementFileLocalizationId string)(*ItemFilesAgreementFileLocalizationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemFilesRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemFilesRequestBuilder) WithUrl(rawUrl string)(*ItemFilesRequestBuilder) { + return NewItemFilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/alloweddatalocations/allowed_data_location_item_request_builder.go b/alloweddatalocations/allowed_data_location_item_request_builder.go index 1a236b953ca..8e92f82620c 100644 --- a/alloweddatalocations/allowed_data_location_item_request_builder.go +++ b/alloweddatalocations/allowed_data_location_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AllowedDataLocationItemRequestBuilder) ToPatchRequestInformation(ctx co } 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 *AllowedDataLocationItemRequestBuilder) WithUrl(rawUrl string)(*AllowedDataLocationItemRequestBuilder) { + return NewAllowedDataLocationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/alloweddatalocations/allowed_data_locations_request_builder.go b/alloweddatalocations/allowed_data_locations_request_builder.go index 0ced99b3460..146d5057d1d 100644 --- a/alloweddatalocations/allowed_data_locations_request_builder.go +++ b/alloweddatalocations/allowed_data_locations_request_builder.go @@ -46,8 +46,8 @@ type AllowedDataLocationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAllowedDataLocationIdString provides operations to manage the collection of allowedDataLocation entities. -func (m *AllowedDataLocationsRequestBuilder) ByAllowedDataLocationIdString(allowedDataLocationId string)(*AllowedDataLocationItemRequestBuilder) { +// ByAllowedDataLocationId provides operations to manage the collection of allowedDataLocation entities. +func (m *AllowedDataLocationsRequestBuilder) ByAllowedDataLocationId(allowedDataLocationId string)(*AllowedDataLocationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AllowedDataLocationsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *AllowedDataLocationsRequestBuilder) WithUrl(rawUrl string)(*AllowedDataLocationsRequestBuilder) { + return NewAllowedDataLocationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/alloweddatalocations/count_request_builder.go b/alloweddatalocations/count_request_builder.go index c457327df8e..6987fecb3d0 100644 --- a/alloweddatalocations/count_request_builder.go +++ b/alloweddatalocations/count_request_builder.go @@ -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); +} diff --git a/app/app_request_builder.go b/app/app_request_builder.go index 2ba8dc7a3b9..208a674a788 100644 --- a/app/app_request_builder.go +++ b/app/app_request_builder.go @@ -126,3 +126,7 @@ func (m *AppRequestBuilder) ToPatchRequestInformation(ctx context.Context, body } 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 *AppRequestBuilder) WithUrl(rawUrl string)(*AppRequestBuilder) { + return NewAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_call_item_request_builder.go b/app/calls_call_item_request_builder.go index 0580154f86b..1d8776268c3 100644 --- a/app/calls_call_item_request_builder.go +++ b/app/calls_call_item_request_builder.go @@ -229,3 +229,7 @@ func (m *CallsCallItemRequestBuilder) Unmute()(*CallsItemUnmuteRequestBuilder) { func (m *CallsCallItemRequestBuilder) UpdateRecordingStatus()(*CallsItemUpdateRecordingStatusRequestBuilder) { return NewCallsItemUpdateRecordingStatusRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *CallsCallItemRequestBuilder) WithUrl(rawUrl string)(*CallsCallItemRequestBuilder) { + return NewCallsCallItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_count_request_builder.go b/app/calls_count_request_builder.go index 4652445ec96..2f515e134df 100644 --- a/app/calls_count_request_builder.go +++ b/app/calls_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CallsCountRequestBuilder) ToGetRequestInformation(ctx context.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 *CallsCountRequestBuilder) WithUrl(rawUrl string)(*CallsCountRequestBuilder) { + return NewCallsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_add_large_gallery_view_request_builder.go b/app/calls_item_add_large_gallery_view_request_builder.go index cd1ef593c82..95e84222236 100644 --- a/app/calls_item_add_large_gallery_view_request_builder.go +++ b/app/calls_item_add_large_gallery_view_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemAddLargeGalleryViewRequestBuilder) 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 *CallsItemAddLargeGalleryViewRequestBuilder) WithUrl(rawUrl string)(*CallsItemAddLargeGalleryViewRequestBuilder) { + return NewCallsItemAddLargeGalleryViewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_answer_request_builder.go b/app/calls_item_answer_request_builder.go index 8942849e5ba..07269d606f8 100644 --- a/app/calls_item_answer_request_builder.go +++ b/app/calls_item_answer_request_builder.go @@ -65,3 +65,7 @@ func (m *CallsItemAnswerRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *CallsItemAnswerRequestBuilder) WithUrl(rawUrl string)(*CallsItemAnswerRequestBuilder) { + return NewCallsItemAnswerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go b/app/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go index ea14a356e51..e5656a62809 100644 --- a/app/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go +++ b/app/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go @@ -162,3 +162,7 @@ func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) ToPatch } 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 *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) WithUrl(rawUrl string)(*CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) { + return NewCallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_audio_routing_groups_count_request_builder.go b/app/calls_item_audio_routing_groups_count_request_builder.go index 2947c1ccc53..60127df8258 100644 --- a/app/calls_item_audio_routing_groups_count_request_builder.go +++ b/app/calls_item_audio_routing_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CallsItemAudioRoutingGroupsCountRequestBuilder) 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 *CallsItemAudioRoutingGroupsCountRequestBuilder) WithUrl(rawUrl string)(*CallsItemAudioRoutingGroupsCountRequestBuilder) { + return NewCallsItemAudioRoutingGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_audio_routing_groups_request_builder.go b/app/calls_item_audio_routing_groups_request_builder.go index 65ec60d4466..0e25ebee242 100644 --- a/app/calls_item_audio_routing_groups_request_builder.go +++ b/app/calls_item_audio_routing_groups_request_builder.go @@ -46,8 +46,8 @@ type CallsItemAudioRoutingGroupsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAudioRoutingGroupIdString provides operations to manage the audioRoutingGroups property of the microsoft.graph.call entity. -func (m *CallsItemAudioRoutingGroupsRequestBuilder) ByAudioRoutingGroupIdString(audioRoutingGroupId string)(*CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) { +// ByAudioRoutingGroupId provides operations to manage the audioRoutingGroups property of the microsoft.graph.call entity. +func (m *CallsItemAudioRoutingGroupsRequestBuilder) ByAudioRoutingGroupId(audioRoutingGroupId string)(*CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *CallsItemAudioRoutingGroupsRequestBuilder) 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 *CallsItemAudioRoutingGroupsRequestBuilder) WithUrl(rawUrl string)(*CallsItemAudioRoutingGroupsRequestBuilder) { + return NewCallsItemAudioRoutingGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_cancel_media_processing_request_builder.go b/app/calls_item_cancel_media_processing_request_builder.go index 5ccd09ae9a5..866d2db99aa 100644 --- a/app/calls_item_cancel_media_processing_request_builder.go +++ b/app/calls_item_cancel_media_processing_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemCancelMediaProcessingRequestBuilder) 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 *CallsItemCancelMediaProcessingRequestBuilder) WithUrl(rawUrl string)(*CallsItemCancelMediaProcessingRequestBuilder) { + return NewCallsItemCancelMediaProcessingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_change_screen_sharing_role_request_builder.go b/app/calls_item_change_screen_sharing_role_request_builder.go index cf1574f7b69..673611a861f 100644 --- a/app/calls_item_change_screen_sharing_role_request_builder.go +++ b/app/calls_item_change_screen_sharing_role_request_builder.go @@ -65,3 +65,7 @@ func (m *CallsItemChangeScreenSharingRoleRequestBuilder) ToPostRequestInformatio } 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 *CallsItemChangeScreenSharingRoleRequestBuilder) WithUrl(rawUrl string)(*CallsItemChangeScreenSharingRoleRequestBuilder) { + return NewCallsItemChangeScreenSharingRoleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go b/app/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go index 83b2e363d24..561f5c32b2c 100644 --- a/app/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go +++ b/app/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go @@ -156,3 +156,7 @@ func (m *CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) } 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 *CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) WithUrl(rawUrl string)(*CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) { + return NewCallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_content_sharing_sessions_count_request_builder.go b/app/calls_item_content_sharing_sessions_count_request_builder.go index 6ab1d3868f9..e83e8b541f9 100644 --- a/app/calls_item_content_sharing_sessions_count_request_builder.go +++ b/app/calls_item_content_sharing_sessions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CallsItemContentSharingSessionsCountRequestBuilder) ToGetRequestInforma } 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 *CallsItemContentSharingSessionsCountRequestBuilder) WithUrl(rawUrl string)(*CallsItemContentSharingSessionsCountRequestBuilder) { + return NewCallsItemContentSharingSessionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_content_sharing_sessions_request_builder.go b/app/calls_item_content_sharing_sessions_request_builder.go index 1b7dbeee43c..4957da19701 100644 --- a/app/calls_item_content_sharing_sessions_request_builder.go +++ b/app/calls_item_content_sharing_sessions_request_builder.go @@ -46,8 +46,8 @@ type CallsItemContentSharingSessionsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByContentSharingSessionIdString provides operations to manage the contentSharingSessions property of the microsoft.graph.call entity. -func (m *CallsItemContentSharingSessionsRequestBuilder) ByContentSharingSessionIdString(contentSharingSessionId string)(*CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) { +// ByContentSharingSessionId provides operations to manage the contentSharingSessions property of the microsoft.graph.call entity. +func (m *CallsItemContentSharingSessionsRequestBuilder) ByContentSharingSessionId(contentSharingSessionId string)(*CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *CallsItemContentSharingSessionsRequestBuilder) 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 *CallsItemContentSharingSessionsRequestBuilder) WithUrl(rawUrl string)(*CallsItemContentSharingSessionsRequestBuilder) { + return NewCallsItemContentSharingSessionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_keep_alive_request_builder.go b/app/calls_item_keep_alive_request_builder.go index 01c8c9178ea..e24f79ce986 100644 --- a/app/calls_item_keep_alive_request_builder.go +++ b/app/calls_item_keep_alive_request_builder.go @@ -61,3 +61,7 @@ func (m *CallsItemKeepAliveRequestBuilder) 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 *CallsItemKeepAliveRequestBuilder) WithUrl(rawUrl string)(*CallsItemKeepAliveRequestBuilder) { + return NewCallsItemKeepAliveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_mute_request_builder.go b/app/calls_item_mute_request_builder.go index a1c7a714e71..20f1c7ad395 100644 --- a/app/calls_item_mute_request_builder.go +++ b/app/calls_item_mute_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemMuteRequestBuilder) 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 *CallsItemMuteRequestBuilder) WithUrl(rawUrl string)(*CallsItemMuteRequestBuilder) { + return NewCallsItemMuteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_operations_comms_operation_item_request_builder.go b/app/calls_item_operations_comms_operation_item_request_builder.go index 47740281392..9267f29ec41 100644 --- a/app/calls_item_operations_comms_operation_item_request_builder.go +++ b/app/calls_item_operations_comms_operation_item_request_builder.go @@ -156,3 +156,7 @@ func (m *CallsItemOperationsCommsOperationItemRequestBuilder) 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 *CallsItemOperationsCommsOperationItemRequestBuilder) WithUrl(rawUrl string)(*CallsItemOperationsCommsOperationItemRequestBuilder) { + return NewCallsItemOperationsCommsOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_operations_count_request_builder.go b/app/calls_item_operations_count_request_builder.go index 59f4159183b..16437dea803 100644 --- a/app/calls_item_operations_count_request_builder.go +++ b/app/calls_item_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CallsItemOperationsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *CallsItemOperationsCountRequestBuilder) WithUrl(rawUrl string)(*CallsItemOperationsCountRequestBuilder) { + return NewCallsItemOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_operations_request_builder.go b/app/calls_item_operations_request_builder.go index 36004ff2050..0e3b59d7d20 100644 --- a/app/calls_item_operations_request_builder.go +++ b/app/calls_item_operations_request_builder.go @@ -46,8 +46,8 @@ type CallsItemOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCommsOperationIdString provides operations to manage the operations property of the microsoft.graph.call entity. -func (m *CallsItemOperationsRequestBuilder) ByCommsOperationIdString(commsOperationId string)(*CallsItemOperationsCommsOperationItemRequestBuilder) { +// ByCommsOperationId provides operations to manage the operations property of the microsoft.graph.call entity. +func (m *CallsItemOperationsRequestBuilder) ByCommsOperationId(commsOperationId string)(*CallsItemOperationsCommsOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *CallsItemOperationsRequestBuilder) 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 *CallsItemOperationsRequestBuilder) WithUrl(rawUrl string)(*CallsItemOperationsRequestBuilder) { + return NewCallsItemOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_participants_count_request_builder.go b/app/calls_item_participants_count_request_builder.go index 4464f27b033..2e7fef8abe4 100644 --- a/app/calls_item_participants_count_request_builder.go +++ b/app/calls_item_participants_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CallsItemParticipantsCountRequestBuilder) ToGetRequestInformation(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 *CallsItemParticipantsCountRequestBuilder) WithUrl(rawUrl string)(*CallsItemParticipantsCountRequestBuilder) { + return NewCallsItemParticipantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_participants_invite_request_builder.go b/app/calls_item_participants_invite_request_builder.go index 260d494fdbf..ee18f4f0220 100644 --- a/app/calls_item_participants_invite_request_builder.go +++ b/app/calls_item_participants_invite_request_builder.go @@ -31,10 +31,10 @@ func NewCallsItemParticipantsInviteRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewCallsItemParticipantsInviteRequestBuilderInternal(urlParams, requestAdapter) } -// Post delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. +// Post invite participants to the active call. For more information about how to handle operations, see commsOperation. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0 func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InviteParticipantsOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -53,7 +53,7 @@ func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InviteParticipantsOperationable), nil } -// ToPostRequestInformation delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. +// ToPostRequestInformation invite participants to the active call. For more information about how to handle operations, see commsOperation. func (m *CallsItemParticipantsInviteRequestBuilder) ToPostRequestInformation(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *CallsItemParticipantsInviteRequestBuilder) 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 *CallsItemParticipantsInviteRequestBuilder) WithUrl(rawUrl string)(*CallsItemParticipantsInviteRequestBuilder) { + return NewCallsItemParticipantsInviteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_participants_item_mute_request_builder.go b/app/calls_item_participants_item_mute_request_builder.go index 325b081df2c..ace2f6a1e62 100644 --- a/app/calls_item_participants_item_mute_request_builder.go +++ b/app/calls_item_participants_item_mute_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemParticipantsItemMuteRequestBuilder) ToPostRequestInformation(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 *CallsItemParticipantsItemMuteRequestBuilder) WithUrl(rawUrl string)(*CallsItemParticipantsItemMuteRequestBuilder) { + return NewCallsItemParticipantsItemMuteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_participants_item_start_hold_music_request_builder.go b/app/calls_item_participants_item_start_hold_music_request_builder.go index c7bb075b3c1..fc805c5d129 100644 --- a/app/calls_item_participants_item_start_hold_music_request_builder.go +++ b/app/calls_item_participants_item_start_hold_music_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemParticipantsItemStartHoldMusicRequestBuilder) ToPostRequestInf } 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 *CallsItemParticipantsItemStartHoldMusicRequestBuilder) WithUrl(rawUrl string)(*CallsItemParticipantsItemStartHoldMusicRequestBuilder) { + return NewCallsItemParticipantsItemStartHoldMusicRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_participants_item_stop_hold_music_request_builder.go b/app/calls_item_participants_item_stop_hold_music_request_builder.go index 695ff49cb4d..39a3bd7ebfb 100644 --- a/app/calls_item_participants_item_stop_hold_music_request_builder.go +++ b/app/calls_item_participants_item_stop_hold_music_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemParticipantsItemStopHoldMusicRequestBuilder) ToPostRequestInfo } 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 *CallsItemParticipantsItemStopHoldMusicRequestBuilder) WithUrl(rawUrl string)(*CallsItemParticipantsItemStopHoldMusicRequestBuilder) { + return NewCallsItemParticipantsItemStopHoldMusicRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_participants_mute_all_request_builder.go b/app/calls_item_participants_mute_all_request_builder.go index 2360b698e31..054e824099b 100644 --- a/app/calls_item_participants_mute_all_request_builder.go +++ b/app/calls_item_participants_mute_all_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemParticipantsMuteAllRequestBuilder) 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 *CallsItemParticipantsMuteAllRequestBuilder) WithUrl(rawUrl string)(*CallsItemParticipantsMuteAllRequestBuilder) { + return NewCallsItemParticipantsMuteAllRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_participants_participant_item_request_builder.go b/app/calls_item_participants_participant_item_request_builder.go index aaaebc09606..916dd86500b 100644 --- a/app/calls_item_participants_participant_item_request_builder.go +++ b/app/calls_item_participants_participant_item_request_builder.go @@ -171,3 +171,7 @@ func (m *CallsItemParticipantsParticipantItemRequestBuilder) ToPatchRequestInfor } 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 *CallsItemParticipantsParticipantItemRequestBuilder) WithUrl(rawUrl string)(*CallsItemParticipantsParticipantItemRequestBuilder) { + return NewCallsItemParticipantsParticipantItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_participants_request_builder.go b/app/calls_item_participants_request_builder.go index a1489cfa5b8..9d896ce6290 100644 --- a/app/calls_item_participants_request_builder.go +++ b/app/calls_item_participants_request_builder.go @@ -46,8 +46,8 @@ type CallsItemParticipantsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByParticipantIdString provides operations to manage the participants property of the microsoft.graph.call entity. -func (m *CallsItemParticipantsRequestBuilder) ByParticipantIdString(participantId string)(*CallsItemParticipantsParticipantItemRequestBuilder) { +// ByParticipantId provides operations to manage the participants property of the microsoft.graph.call entity. +func (m *CallsItemParticipantsRequestBuilder) ByParticipantId(participantId string)(*CallsItemParticipantsParticipantItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *CallsItemParticipantsRequestBuilder) 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 *CallsItemParticipantsRequestBuilder) WithUrl(rawUrl string)(*CallsItemParticipantsRequestBuilder) { + return NewCallsItemParticipantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_play_prompt_request_builder.go b/app/calls_item_play_prompt_request_builder.go index 306db557106..19890253bbb 100644 --- a/app/calls_item_play_prompt_request_builder.go +++ b/app/calls_item_play_prompt_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemPlayPromptRequestBuilder) 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 *CallsItemPlayPromptRequestBuilder) WithUrl(rawUrl string)(*CallsItemPlayPromptRequestBuilder) { + return NewCallsItemPlayPromptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_record_request_builder.go b/app/calls_item_record_request_builder.go index 6e88014c681..df248c65a3d 100644 --- a/app/calls_item_record_request_builder.go +++ b/app/calls_item_record_request_builder.go @@ -67,3 +67,7 @@ func (m *CallsItemRecordRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *CallsItemRecordRequestBuilder) WithUrl(rawUrl string)(*CallsItemRecordRequestBuilder) { + return NewCallsItemRecordRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_record_response_request_builder.go b/app/calls_item_record_response_request_builder.go index 29911677db3..73a952f4da8 100644 --- a/app/calls_item_record_response_request_builder.go +++ b/app/calls_item_record_response_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemRecordResponseRequestBuilder) ToPostRequestInformation(ctx con } 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 *CallsItemRecordResponseRequestBuilder) WithUrl(rawUrl string)(*CallsItemRecordResponseRequestBuilder) { + return NewCallsItemRecordResponseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_redirect_request_builder.go b/app/calls_item_redirect_request_builder.go index c768b4ff8dd..3265a3dd6d6 100644 --- a/app/calls_item_redirect_request_builder.go +++ b/app/calls_item_redirect_request_builder.go @@ -65,3 +65,7 @@ func (m *CallsItemRedirectRequestBuilder) ToPostRequestInformation(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 *CallsItemRedirectRequestBuilder) WithUrl(rawUrl string)(*CallsItemRedirectRequestBuilder) { + return NewCallsItemRedirectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_reject_request_builder.go b/app/calls_item_reject_request_builder.go index 7f106cc4980..4a9319969e2 100644 --- a/app/calls_item_reject_request_builder.go +++ b/app/calls_item_reject_request_builder.go @@ -65,3 +65,7 @@ func (m *CallsItemRejectRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *CallsItemRejectRequestBuilder) WithUrl(rawUrl string)(*CallsItemRejectRequestBuilder) { + return NewCallsItemRejectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_subscribe_to_tone_request_builder.go b/app/calls_item_subscribe_to_tone_request_builder.go index a4a07f35e54..3341110fe4a 100644 --- a/app/calls_item_subscribe_to_tone_request_builder.go +++ b/app/calls_item_subscribe_to_tone_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemSubscribeToToneRequestBuilder) ToPostRequestInformation(ctx co } 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 *CallsItemSubscribeToToneRequestBuilder) WithUrl(rawUrl string)(*CallsItemSubscribeToToneRequestBuilder) { + return NewCallsItemSubscribeToToneRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_transfer_request_builder.go b/app/calls_item_transfer_request_builder.go index 8d5fe000f72..b1a09f0050a 100644 --- a/app/calls_item_transfer_request_builder.go +++ b/app/calls_item_transfer_request_builder.go @@ -65,3 +65,7 @@ func (m *CallsItemTransferRequestBuilder) ToPostRequestInformation(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 *CallsItemTransferRequestBuilder) WithUrl(rawUrl string)(*CallsItemTransferRequestBuilder) { + return NewCallsItemTransferRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_unmute_request_builder.go b/app/calls_item_unmute_request_builder.go index 4c6e25fa7e5..e0be52d58a9 100644 --- a/app/calls_item_unmute_request_builder.go +++ b/app/calls_item_unmute_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemUnmuteRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *CallsItemUnmuteRequestBuilder) WithUrl(rawUrl string)(*CallsItemUnmuteRequestBuilder) { + return NewCallsItemUnmuteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_update_recording_status_request_builder.go b/app/calls_item_update_recording_status_request_builder.go index 6648ff80010..c11771de65e 100644 --- a/app/calls_item_update_recording_status_request_builder.go +++ b/app/calls_item_update_recording_status_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemUpdateRecordingStatusRequestBuilder) 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 *CallsItemUpdateRecordingStatusRequestBuilder) WithUrl(rawUrl string)(*CallsItemUpdateRecordingStatusRequestBuilder) { + return NewCallsItemUpdateRecordingStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_log_teleconference_device_quality_request_builder.go b/app/calls_log_teleconference_device_quality_request_builder.go index bb70b9fbe26..56df9d96a67 100644 --- a/app/calls_log_teleconference_device_quality_request_builder.go +++ b/app/calls_log_teleconference_device_quality_request_builder.go @@ -65,3 +65,7 @@ func (m *CallsLogTeleconferenceDeviceQualityRequestBuilder) ToPostRequestInforma } 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 *CallsLogTeleconferenceDeviceQualityRequestBuilder) WithUrl(rawUrl string)(*CallsLogTeleconferenceDeviceQualityRequestBuilder) { + return NewCallsLogTeleconferenceDeviceQualityRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_request_builder.go b/app/calls_request_builder.go index 23a12b7460c..1a7ab805950 100644 --- a/app/calls_request_builder.go +++ b/app/calls_request_builder.go @@ -46,8 +46,8 @@ type CallsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCallIdString provides operations to manage the calls property of the microsoft.graph.commsApplication entity. -func (m *CallsRequestBuilder) ByCallIdString(callId string)(*CallsCallItemRequestBuilder) { +// ByCallId provides operations to manage the calls property of the microsoft.graph.commsApplication entity. +func (m *CallsRequestBuilder) ByCallId(callId string)(*CallsCallItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *CallsRequestBuilder) ToPostRequestInformation(ctx context.Context, body } 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 *CallsRequestBuilder) WithUrl(rawUrl string)(*CallsRequestBuilder) { + return NewCallsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_count_request_builder.go b/app/online_meetings_count_request_builder.go index 186f173cdb1..8385fd4275e 100644 --- a/app/online_meetings_count_request_builder.go +++ b/app/online_meetings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *OnlineMeetingsCountRequestBuilder) ToGetRequestInformation(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 *OnlineMeetingsCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsCountRequestBuilder) { + return NewOnlineMeetingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_create_or_get_request_builder.go b/app/online_meetings_create_or_get_request_builder.go index 3d01a277404..f8da0a7c800 100644 --- a/app/online_meetings_create_or_get_request_builder.go +++ b/app/online_meetings_create_or_get_request_builder.go @@ -70,3 +70,7 @@ func (m *OnlineMeetingsCreateOrGetRequestBuilder) ToPostRequestInformation(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 *OnlineMeetingsCreateOrGetRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsCreateOrGetRequestBuilder) { + return NewOnlineMeetingsCreateOrGetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_get_all_recordings_request_builder.go b/app/online_meetings_get_all_recordings_request_builder.go index de1d59c07b5..ac5d1452619 100644 --- a/app/online_meetings_get_all_recordings_request_builder.go +++ b/app/online_meetings_get_all_recordings_request_builder.go @@ -84,3 +84,7 @@ func (m *OnlineMeetingsGetAllRecordingsRequestBuilder) ToGetRequestInformation(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 *OnlineMeetingsGetAllRecordingsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsGetAllRecordingsRequestBuilder) { + return NewOnlineMeetingsGetAllRecordingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_get_all_transcripts_request_builder.go b/app/online_meetings_get_all_transcripts_request_builder.go index 12f73d6adf2..84e615b797b 100644 --- a/app/online_meetings_get_all_transcripts_request_builder.go +++ b/app/online_meetings_get_all_transcripts_request_builder.go @@ -84,3 +84,7 @@ func (m *OnlineMeetingsGetAllTranscriptsRequestBuilder) 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 *OnlineMeetingsGetAllTranscriptsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsGetAllTranscriptsRequestBuilder) { + return NewOnlineMeetingsGetAllTranscriptsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_alternative_recording_request_builder.go b/app/online_meetings_item_alternative_recording_request_builder.go index 8a6869bd043..5ebb9365ffe 100644 --- a/app/online_meetings_item_alternative_recording_request_builder.go +++ b/app/online_meetings_item_alternative_recording_request_builder.go @@ -100,3 +100,7 @@ func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) ToPutRequestInfor } 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 *OnlineMeetingsItemAlternativeRecordingRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemAlternativeRecordingRequestBuilder) { + return NewOnlineMeetingsItemAlternativeRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_attendance_reports_count_request_builder.go b/app/online_meetings_item_attendance_reports_count_request_builder.go index 8fdfb7780fb..b2440e973dd 100644 --- a/app/online_meetings_item_attendance_reports_count_request_builder.go +++ b/app/online_meetings_item_attendance_reports_count_request_builder.go @@ -74,3 +74,7 @@ func (m *OnlineMeetingsItemAttendanceReportsCountRequestBuilder) ToGetRequestInf } 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 *OnlineMeetingsItemAttendanceReportsCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemAttendanceReportsCountRequestBuilder) { + return NewOnlineMeetingsItemAttendanceReportsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go b/app/online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go index 8a9b39c1e4d..ce342433c3f 100644 --- a/app/online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go +++ b/app/online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go @@ -153,3 +153,7 @@ func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecor } 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 *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder) { + return NewOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_attendance_reports_item_attendance_records_count_request_builder.go b/app/online_meetings_item_attendance_reports_item_attendance_records_count_request_builder.go index 1f8a6ecf4c1..c1727af985d 100644 --- a/app/online_meetings_item_attendance_reports_item_attendance_records_count_request_builder.go +++ b/app/online_meetings_item_attendance_reports_item_attendance_records_count_request_builder.go @@ -74,3 +74,7 @@ func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsCountRequestBui } 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 *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilder) { + return NewOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go b/app/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go index 0a5793d7358..25ea1b32a26 100644 --- a/app/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go +++ b/app/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go @@ -46,8 +46,8 @@ type OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilderPostR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttendanceRecordIdString provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. -func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) ByAttendanceRecordIdString(attendanceRecordId string)(*OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder) { +// ByAttendanceRecordId provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. +func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) ByAttendanceRecordId(attendanceRecordId string)(*OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) } 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 *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) { + return NewOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go b/app/online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go index 3a32d6463c8..401e3ecc43f 100644 --- a/app/online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go +++ b/app/online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go @@ -160,3 +160,7 @@ func (m *OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBu } 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 *OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) { + return NewOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_attendance_reports_request_builder.go b/app/online_meetings_item_attendance_reports_request_builder.go index 42a033db4f0..0b5dcac8644 100644 --- a/app/online_meetings_item_attendance_reports_request_builder.go +++ b/app/online_meetings_item_attendance_reports_request_builder.go @@ -46,8 +46,8 @@ type OnlineMeetingsItemAttendanceReportsRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMeetingAttendanceReportIdString provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. -func (m *OnlineMeetingsItemAttendanceReportsRequestBuilder) ByMeetingAttendanceReportIdString(meetingAttendanceReportId string)(*OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) { +// ByMeetingAttendanceReportId provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +func (m *OnlineMeetingsItemAttendanceReportsRequestBuilder) ByMeetingAttendanceReportId(meetingAttendanceReportId string)(*OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *OnlineMeetingsItemAttendanceReportsRequestBuilder) ToPostRequestInforma } 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 *OnlineMeetingsItemAttendanceReportsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemAttendanceReportsRequestBuilder) { + return NewOnlineMeetingsItemAttendanceReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_attendee_report_request_builder.go b/app/online_meetings_item_attendee_report_request_builder.go index b4b8a78c7b5..89742669d8e 100644 --- a/app/online_meetings_item_attendee_report_request_builder.go +++ b/app/online_meetings_item_attendee_report_request_builder.go @@ -100,3 +100,7 @@ func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) ToPutRequestInformation } 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 *OnlineMeetingsItemAttendeeReportRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemAttendeeReportRequestBuilder) { + return NewOnlineMeetingsItemAttendeeReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_broadcast_recording_request_builder.go b/app/online_meetings_item_broadcast_recording_request_builder.go index 9544f9ee7ba..7379fb7c2b0 100644 --- a/app/online_meetings_item_broadcast_recording_request_builder.go +++ b/app/online_meetings_item_broadcast_recording_request_builder.go @@ -100,3 +100,7 @@ func (m *OnlineMeetingsItemBroadcastRecordingRequestBuilder) ToPutRequestInforma } 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 *OnlineMeetingsItemBroadcastRecordingRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemBroadcastRecordingRequestBuilder) { + return NewOnlineMeetingsItemBroadcastRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go b/app/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go index b9020986929..eeff5e8e429 100644 --- a/app/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go +++ b/app/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go @@ -62,3 +62,7 @@ func (m *OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) ToGetR } 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 *OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) { + return NewOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go b/app/online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go index 828a30d4e1d..a22bb20dc99 100644 --- a/app/online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go +++ b/app/online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go @@ -153,3 +153,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRec } 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 *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { + return NewOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_meeting_attendance_report_attendance_records_count_request_builder.go b/app/online_meetings_item_meeting_attendance_report_attendance_records_count_request_builder.go index 3f7bf213522..806e71f2120 100644 --- a/app/online_meetings_item_meeting_attendance_report_attendance_records_count_request_builder.go +++ b/app/online_meetings_item_meeting_attendance_report_attendance_records_count_request_builder.go @@ -74,3 +74,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsCountRequestB } 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 *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) { + return NewOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go b/app/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go index bc97fe2e0c5..0bc1b95c17d 100644 --- a/app/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go +++ b/app/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go @@ -46,8 +46,8 @@ type OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderPos // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttendanceRecordIdString provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. -func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) ByAttendanceRecordIdString(attendanceRecordId string)(*OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { +// ByAttendanceRecordId provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. +func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) ByAttendanceRecordId(attendanceRecordId string)(*OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilde } 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 *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) { + return NewOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_meeting_attendance_report_request_builder.go b/app/online_meetings_item_meeting_attendance_report_request_builder.go index 9150100cd78..776685ef062 100644 --- a/app/online_meetings_item_meeting_attendance_report_request_builder.go +++ b/app/online_meetings_item_meeting_attendance_report_request_builder.go @@ -160,3 +160,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToPatchRequest } 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 *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) { + return NewOnlineMeetingsItemMeetingAttendanceReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_recording_request_builder.go b/app/online_meetings_item_recording_request_builder.go index f1ca2885aee..21c6847952f 100644 --- a/app/online_meetings_item_recording_request_builder.go +++ b/app/online_meetings_item_recording_request_builder.go @@ -100,3 +100,7 @@ func (m *OnlineMeetingsItemRecordingRequestBuilder) ToPutRequestInformation(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 *OnlineMeetingsItemRecordingRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRecordingRequestBuilder) { + return NewOnlineMeetingsItemRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_recordings_call_recording_item_request_builder.go b/app/online_meetings_item_recordings_call_recording_item_request_builder.go index c0a934617a6..da7ceb3fee0 100644 --- a/app/online_meetings_item_recordings_call_recording_item_request_builder.go +++ b/app/online_meetings_item_recordings_call_recording_item_request_builder.go @@ -18,7 +18,7 @@ type OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. type OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,7 +74,7 @@ func (m *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) Delete(ctx } return nil } -// Get get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// Get get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0 @@ -127,7 +127,7 @@ func (m *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToDeleteRe } return requestInfo, nil } -// ToGetRequestInformation get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// ToGetRequestInformation get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. func (m *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -160,3 +160,7 @@ func (m *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToPatchReq } 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 *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) { + return NewOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_recordings_count_request_builder.go b/app/online_meetings_item_recordings_count_request_builder.go index 2f8f28f6625..e4337f396e6 100644 --- a/app/online_meetings_item_recordings_count_request_builder.go +++ b/app/online_meetings_item_recordings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *OnlineMeetingsItemRecordingsCountRequestBuilder) 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 *OnlineMeetingsItemRecordingsCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRecordingsCountRequestBuilder) { + return NewOnlineMeetingsItemRecordingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_recordings_delta_request_builder.go b/app/online_meetings_item_recordings_delta_request_builder.go index c28ac9627a7..7a6d684f478 100644 --- a/app/online_meetings_item_recordings_delta_request_builder.go +++ b/app/online_meetings_item_recordings_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *OnlineMeetingsItemRecordingsDeltaRequestBuilder) 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 *OnlineMeetingsItemRecordingsDeltaRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRecordingsDeltaRequestBuilder) { + return NewOnlineMeetingsItemRecordingsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_recordings_item_content_request_builder.go b/app/online_meetings_item_recordings_item_content_request_builder.go index c1fc75ce757..e34fbdbd6cf 100644 --- a/app/online_meetings_item_recordings_item_content_request_builder.go +++ b/app/online_meetings_item_recordings_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *OnlineMeetingsItemRecordingsItemContentRequestBuilder) ToPutRequestInfo } 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 *OnlineMeetingsItemRecordingsItemContentRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRecordingsItemContentRequestBuilder) { + return NewOnlineMeetingsItemRecordingsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_recordings_request_builder.go b/app/online_meetings_item_recordings_request_builder.go index 548da373c63..d95d4585c10 100644 --- a/app/online_meetings_item_recordings_request_builder.go +++ b/app/online_meetings_item_recordings_request_builder.go @@ -11,7 +11,7 @@ import ( type OnlineMeetingsItemRecordingsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// OnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. type OnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type OnlineMeetingsItemRecordingsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCallRecordingIdString provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. -func (m *OnlineMeetingsItemRecordingsRequestBuilder) ByCallRecordingIdString(callRecordingId string)(*OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) { +// ByCallRecordingId provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. +func (m *OnlineMeetingsItemRecordingsRequestBuilder) ByCallRecordingId(callRecordingId string)(*OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -78,7 +78,7 @@ func (m *OnlineMeetingsItemRecordingsRequestBuilder) Count()(*OnlineMeetingsItem func (m *OnlineMeetingsItemRecordingsRequestBuilder) Delta()(*OnlineMeetingsItemRecordingsDeltaRequestBuilder) { return NewOnlineMeetingsItemRecordingsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// Get get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. func (m *OnlineMeetingsItemRecordingsRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +116,7 @@ func (m *OnlineMeetingsItemRecordingsRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable), nil } -// ToGetRequestInformation get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// ToGetRequestInformation get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. func (m *OnlineMeetingsItemRecordingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -149,3 +149,7 @@ func (m *OnlineMeetingsItemRecordingsRequestBuilder) 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 *OnlineMeetingsItemRecordingsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRecordingsRequestBuilder) { + return NewOnlineMeetingsItemRecordingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_registration_custom_questions_count_request_builder.go b/app/online_meetings_item_registration_custom_questions_count_request_builder.go index 19b9e8c56bc..35de27eddbd 100644 --- a/app/online_meetings_item_registration_custom_questions_count_request_builder.go +++ b/app/online_meetings_item_registration_custom_questions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsCountRequestBuilder) ToGet } 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 *OnlineMeetingsItemRegistrationCustomQuestionsCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRegistrationCustomQuestionsCountRequestBuilder) { + return NewOnlineMeetingsItemRegistrationCustomQuestionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go b/app/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go index 1d4c44c21b6..d7fca4ebbd5 100644 --- a/app/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go +++ b/app/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go @@ -162,3 +162,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestio } 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 *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { + return NewOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_registration_custom_questions_request_builder.go b/app/online_meetings_item_registration_custom_questions_request_builder.go index ba68f512392..114bbc7e3da 100644 --- a/app/online_meetings_item_registration_custom_questions_request_builder.go +++ b/app/online_meetings_item_registration_custom_questions_request_builder.go @@ -46,8 +46,8 @@ type OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMeetingRegistrationQuestionIdString provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. -func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ByMeetingRegistrationQuestionIdString(meetingRegistrationQuestionId string)(*OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { +// ByMeetingRegistrationQuestionId provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. +func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ByMeetingRegistrationQuestionId(meetingRegistrationQuestionId string)(*OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ToPostRequ } 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 *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) { + return NewOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_registration_registrants_count_request_builder.go b/app/online_meetings_item_registration_registrants_count_request_builder.go index 974eb5ae8b3..74bcaa4e1e2 100644 --- a/app/online_meetings_item_registration_registrants_count_request_builder.go +++ b/app/online_meetings_item_registration_registrants_count_request_builder.go @@ -74,3 +74,7 @@ func (m *OnlineMeetingsItemRegistrationRegistrantsCountRequestBuilder) ToGetRequ } 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 *OnlineMeetingsItemRegistrationRegistrantsCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRegistrationRegistrantsCountRequestBuilder) { + return NewOnlineMeetingsItemRegistrationRegistrantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go b/app/online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go index 94ec32730ad..4ef250363cf 100644 --- a/app/online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go +++ b/app/online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go @@ -153,3 +153,7 @@ func (m *OnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemReque } 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 *OnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { + return NewOnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_registration_registrants_request_builder.go b/app/online_meetings_item_registration_registrants_request_builder.go index af61bae4353..0f4b935a070 100644 --- a/app/online_meetings_item_registration_registrants_request_builder.go +++ b/app/online_meetings_item_registration_registrants_request_builder.go @@ -46,8 +46,8 @@ type OnlineMeetingsItemRegistrationRegistrantsRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMeetingRegistrantBaseIdString provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. -func (m *OnlineMeetingsItemRegistrationRegistrantsRequestBuilder) ByMeetingRegistrantBaseIdString(meetingRegistrantBaseId string)(*OnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { +// ByMeetingRegistrantBaseId provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. +func (m *OnlineMeetingsItemRegistrationRegistrantsRequestBuilder) ByMeetingRegistrantBaseId(meetingRegistrantBaseId string)(*OnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *OnlineMeetingsItemRegistrationRegistrantsRequestBuilder) ToPostRequestI } 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 *OnlineMeetingsItemRegistrationRegistrantsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRegistrationRegistrantsRequestBuilder) { + return NewOnlineMeetingsItemRegistrationRegistrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_registration_request_builder.go b/app/online_meetings_item_registration_request_builder.go index d1adc978009..a80ef20d7d2 100644 --- a/app/online_meetings_item_registration_request_builder.go +++ b/app/online_meetings_item_registration_request_builder.go @@ -170,3 +170,7 @@ func (m *OnlineMeetingsItemRegistrationRequestBuilder) 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 *OnlineMeetingsItemRegistrationRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRegistrationRequestBuilder) { + return NewOnlineMeetingsItemRegistrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_transcripts_call_transcript_item_request_builder.go b/app/online_meetings_item_transcripts_call_transcript_item_request_builder.go index 95193ea9e9d..ca16574340a 100644 --- a/app/online_meetings_item_transcripts_call_transcript_item_request_builder.go +++ b/app/online_meetings_item_transcripts_call_transcript_item_request_builder.go @@ -18,7 +18,7 @@ type OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters retrieve a callTranscript object associated with an onlineMeeting. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters retrieve a callTranscript object associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. type OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,7 +74,7 @@ func (m *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) Delete(c } return nil } -// Get retrieve a callTranscript object associated with an onlineMeeting. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// Get retrieve a callTranscript object associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0 @@ -131,7 +131,7 @@ func (m *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToDelete } return requestInfo, nil } -// ToGetRequestInformation retrieve a callTranscript object associated with an onlineMeeting. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. func (m *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -164,3 +164,7 @@ func (m *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToPatchR } 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 *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) { + return NewOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_transcripts_count_request_builder.go b/app/online_meetings_item_transcripts_count_request_builder.go index 34911089c40..32d858c3b05 100644 --- a/app/online_meetings_item_transcripts_count_request_builder.go +++ b/app/online_meetings_item_transcripts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *OnlineMeetingsItemTranscriptsCountRequestBuilder) ToGetRequestInformati } 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 *OnlineMeetingsItemTranscriptsCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemTranscriptsCountRequestBuilder) { + return NewOnlineMeetingsItemTranscriptsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_transcripts_delta_request_builder.go b/app/online_meetings_item_transcripts_delta_request_builder.go index f7dbbdc4e6a..19ad693fe3a 100644 --- a/app/online_meetings_item_transcripts_delta_request_builder.go +++ b/app/online_meetings_item_transcripts_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *OnlineMeetingsItemTranscriptsDeltaRequestBuilder) ToGetRequestInformati } 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 *OnlineMeetingsItemTranscriptsDeltaRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemTranscriptsDeltaRequestBuilder) { + return NewOnlineMeetingsItemTranscriptsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_transcripts_item_content_request_builder.go b/app/online_meetings_item_transcripts_item_content_request_builder.go index cf326106047..cbfca1e8261 100644 --- a/app/online_meetings_item_transcripts_item_content_request_builder.go +++ b/app/online_meetings_item_transcripts_item_content_request_builder.go @@ -105,3 +105,7 @@ func (m *OnlineMeetingsItemTranscriptsItemContentRequestBuilder) ToPutRequestInf } 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 *OnlineMeetingsItemTranscriptsItemContentRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemTranscriptsItemContentRequestBuilder) { + return NewOnlineMeetingsItemTranscriptsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_transcripts_item_metadata_content_request_builder.go b/app/online_meetings_item_transcripts_item_metadata_content_request_builder.go index a2b40c41bff..ae47ec97532 100644 --- a/app/online_meetings_item_transcripts_item_metadata_content_request_builder.go +++ b/app/online_meetings_item_transcripts_item_metadata_content_request_builder.go @@ -103,3 +103,7 @@ func (m *OnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) ToPutRe } 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 *OnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) { + return NewOnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_item_transcripts_request_builder.go b/app/online_meetings_item_transcripts_request_builder.go index 97349d3b8b0..87c0a8d2b06 100644 --- a/app/online_meetings_item_transcripts_request_builder.go +++ b/app/online_meetings_item_transcripts_request_builder.go @@ -11,7 +11,7 @@ import ( type OnlineMeetingsItemTranscriptsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters retrieve the list of callTranscript objects associated with an onlineMeeting. +// OnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. type OnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type OnlineMeetingsItemTranscriptsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCallTranscriptIdString provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. -func (m *OnlineMeetingsItemTranscriptsRequestBuilder) ByCallTranscriptIdString(callTranscriptId string)(*OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) { +// ByCallTranscriptId provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. +func (m *OnlineMeetingsItemTranscriptsRequestBuilder) ByCallTranscriptId(callTranscriptId string)(*OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -78,7 +78,7 @@ func (m *OnlineMeetingsItemTranscriptsRequestBuilder) Count()(*OnlineMeetingsIte func (m *OnlineMeetingsItemTranscriptsRequestBuilder) Delta()(*OnlineMeetingsItemTranscriptsDeltaRequestBuilder) { return NewOnlineMeetingsItemTranscriptsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of callTranscript objects associated with an onlineMeeting. +// Get retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0 @@ -119,7 +119,7 @@ func (m *OnlineMeetingsItemTranscriptsRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable), nil } -// ToGetRequestInformation retrieve the list of callTranscript objects associated with an onlineMeeting. +// ToGetRequestInformation retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. func (m *OnlineMeetingsItemTranscriptsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemTranscriptsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -152,3 +152,7 @@ func (m *OnlineMeetingsItemTranscriptsRequestBuilder) ToPostRequestInformation(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 *OnlineMeetingsItemTranscriptsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemTranscriptsRequestBuilder) { + return NewOnlineMeetingsItemTranscriptsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_online_meeting_item_request_builder.go b/app/online_meetings_online_meeting_item_request_builder.go index 395fb8f8276..cc4f39ae4a6 100644 --- a/app/online_meetings_online_meeting_item_request_builder.go +++ b/app/online_meetings_online_meeting_item_request_builder.go @@ -193,3 +193,7 @@ func (m *OnlineMeetingsOnlineMeetingItemRequestBuilder) ToPatchRequestInformatio func (m *OnlineMeetingsOnlineMeetingItemRequestBuilder) Transcripts()(*OnlineMeetingsItemTranscriptsRequestBuilder) { return NewOnlineMeetingsItemTranscriptsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *OnlineMeetingsOnlineMeetingItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsOnlineMeetingItemRequestBuilder) { + return NewOnlineMeetingsOnlineMeetingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/online_meetings_request_builder.go b/app/online_meetings_request_builder.go index c2ba5dd175c..2d98eac9393 100644 --- a/app/online_meetings_request_builder.go +++ b/app/online_meetings_request_builder.go @@ -46,8 +46,8 @@ type OnlineMeetingsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnlineMeetingIdString provides operations to manage the onlineMeetings property of the microsoft.graph.commsApplication entity. -func (m *OnlineMeetingsRequestBuilder) ByOnlineMeetingIdString(onlineMeetingId string)(*OnlineMeetingsOnlineMeetingItemRequestBuilder) { +// ByOnlineMeetingId provides operations to manage the onlineMeetings property of the microsoft.graph.commsApplication entity. +func (m *OnlineMeetingsRequestBuilder) ByOnlineMeetingId(onlineMeetingId string)(*OnlineMeetingsOnlineMeetingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -157,3 +157,7 @@ func (m *OnlineMeetingsRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *OnlineMeetingsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsRequestBuilder) { + return NewOnlineMeetingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/appcatalogs/app_catalogs_request_builder.go b/appcatalogs/app_catalogs_request_builder.go index 434ec419fb5..6cec5a0dc4d 100644 --- a/appcatalogs/app_catalogs_request_builder.go +++ b/appcatalogs/app_catalogs_request_builder.go @@ -122,3 +122,7 @@ func (m *AppCatalogsRequestBuilder) ToPatchRequestInformation(ctx context.Contex } 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 *AppCatalogsRequestBuilder) WithUrl(rawUrl string)(*AppCatalogsRequestBuilder) { + return NewAppCatalogsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/appcatalogs/teams_apps_count_request_builder.go b/appcatalogs/teams_apps_count_request_builder.go index a7336d529ea..1485479a827 100644 --- a/appcatalogs/teams_apps_count_request_builder.go +++ b/appcatalogs/teams_apps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamsAppsCountRequestBuilder) ToGetRequestInformation(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 *TeamsAppsCountRequestBuilder) WithUrl(rawUrl string)(*TeamsAppsCountRequestBuilder) { + return NewTeamsAppsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/appcatalogs/teams_apps_item_app_definitions_count_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_count_request_builder.go index c20723feb22..430b9deeae0 100644 --- a/appcatalogs/teams_apps_item_app_definitions_count_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamsAppsItemAppDefinitionsCountRequestBuilder) 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 *TeamsAppsItemAppDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*TeamsAppsItemAppDefinitionsCountRequestBuilder) { + return NewTeamsAppsItemAppDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/appcatalogs/teams_apps_item_app_definitions_item_bot_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_item_bot_request_builder.go index 6e502306748..97fec71b2c7 100644 --- a/appcatalogs/teams_apps_item_app_definitions_item_bot_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_item_bot_request_builder.go @@ -156,3 +156,7 @@ func (m *TeamsAppsItemAppDefinitionsItemBotRequestBuilder) ToPatchRequestInforma } 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 *TeamsAppsItemAppDefinitionsItemBotRequestBuilder) WithUrl(rawUrl string)(*TeamsAppsItemAppDefinitionsItemBotRequestBuilder) { + return NewTeamsAppsItemAppDefinitionsItemBotRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_request_builder.go index ac54b92e8aa..a833308d1d9 100644 --- a/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_request_builder.go @@ -160,3 +160,7 @@ func (m *TeamsAppsItemAppDefinitionsItemColorIconHostedContentRequestBuilder) To } 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 *TeamsAppsItemAppDefinitionsItemColorIconHostedContentRequestBuilder) WithUrl(rawUrl string)(*TeamsAppsItemAppDefinitionsItemColorIconHostedContentRequestBuilder) { + return NewTeamsAppsItemAppDefinitionsItemColorIconHostedContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_value_content_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_value_content_request_builder.go index 088789f4639..cb223f6f499 100644 --- a/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_value_content_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *TeamsAppsItemAppDefinitionsItemColorIconHostedContentValueContentReques } 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 *TeamsAppsItemAppDefinitionsItemColorIconHostedContentValueContentRequestBuilder) WithUrl(rawUrl string)(*TeamsAppsItemAppDefinitionsItemColorIconHostedContentValueContentRequestBuilder) { + return NewTeamsAppsItemAppDefinitionsItemColorIconHostedContentValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/appcatalogs/teams_apps_item_app_definitions_item_color_icon_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_item_color_icon_request_builder.go index f916b4f285d..bcd2a115487 100644 --- a/appcatalogs/teams_apps_item_app_definitions_item_color_icon_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_item_color_icon_request_builder.go @@ -160,3 +160,7 @@ func (m *TeamsAppsItemAppDefinitionsItemColorIconRequestBuilder) ToPatchRequestI } 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 *TeamsAppsItemAppDefinitionsItemColorIconRequestBuilder) WithUrl(rawUrl string)(*TeamsAppsItemAppDefinitionsItemColorIconRequestBuilder) { + return NewTeamsAppsItemAppDefinitionsItemColorIconRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_request_builder.go index a752513d83d..4b6afe96a2d 100644 --- a/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_request_builder.go @@ -160,3 +160,7 @@ func (m *TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentRequestBuilder) } 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 *TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentRequestBuilder) WithUrl(rawUrl string)(*TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentRequestBuilder) { + return NewTeamsAppsItemAppDefinitionsItemOutlineIconHostedContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_value_content_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_value_content_request_builder.go index b17290f5929..a411133373d 100644 --- a/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_value_content_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentValueContentRequ } 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 *TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentValueContentRequestBuilder) WithUrl(rawUrl string)(*TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentValueContentRequestBuilder) { + return NewTeamsAppsItemAppDefinitionsItemOutlineIconHostedContentValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_request_builder.go index 666c231f238..5a9497441ea 100644 --- a/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_request_builder.go @@ -160,3 +160,7 @@ func (m *TeamsAppsItemAppDefinitionsItemOutlineIconRequestBuilder) ToPatchReques } 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 *TeamsAppsItemAppDefinitionsItemOutlineIconRequestBuilder) WithUrl(rawUrl string)(*TeamsAppsItemAppDefinitionsItemOutlineIconRequestBuilder) { + return NewTeamsAppsItemAppDefinitionsItemOutlineIconRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/appcatalogs/teams_apps_item_app_definitions_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_request_builder.go index 1787d86e816..de5ca392ee6 100644 --- a/appcatalogs/teams_apps_item_app_definitions_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_request_builder.go @@ -46,8 +46,8 @@ type TeamsAppsItemAppDefinitionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsAppDefinitionIdString provides operations to manage the appDefinitions property of the microsoft.graph.teamsApp entity. -func (m *TeamsAppsItemAppDefinitionsRequestBuilder) ByTeamsAppDefinitionIdString(teamsAppDefinitionId string)(*TeamsAppsItemAppDefinitionsTeamsAppDefinitionItemRequestBuilder) { +// ByTeamsAppDefinitionId provides operations to manage the appDefinitions property of the microsoft.graph.teamsApp entity. +func (m *TeamsAppsItemAppDefinitionsRequestBuilder) ByTeamsAppDefinitionId(teamsAppDefinitionId string)(*TeamsAppsItemAppDefinitionsTeamsAppDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *TeamsAppsItemAppDefinitionsRequestBuilder) 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 *TeamsAppsItemAppDefinitionsRequestBuilder) WithUrl(rawUrl string)(*TeamsAppsItemAppDefinitionsRequestBuilder) { + return NewTeamsAppsItemAppDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/appcatalogs/teams_apps_item_app_definitions_teams_app_definition_item_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_teams_app_definition_item_request_builder.go index 1915115804e..36dfa290cc0 100644 --- a/appcatalogs/teams_apps_item_app_definitions_teams_app_definition_item_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_teams_app_definition_item_request_builder.go @@ -168,3 +168,7 @@ func (m *TeamsAppsItemAppDefinitionsTeamsAppDefinitionItemRequestBuilder) ToPatc } 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 *TeamsAppsItemAppDefinitionsTeamsAppDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*TeamsAppsItemAppDefinitionsTeamsAppDefinitionItemRequestBuilder) { + return NewTeamsAppsItemAppDefinitionsTeamsAppDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/appcatalogs/teams_apps_request_builder.go b/appcatalogs/teams_apps_request_builder.go index aa9031b9c67..efeb7bcd96a 100644 --- a/appcatalogs/teams_apps_request_builder.go +++ b/appcatalogs/teams_apps_request_builder.go @@ -46,8 +46,8 @@ type TeamsAppsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsAppIdString provides operations to manage the teamsApps property of the microsoft.graph.appCatalogs entity. -func (m *TeamsAppsRequestBuilder) ByTeamsAppIdString(teamsAppId string)(*TeamsAppsTeamsAppItemRequestBuilder) { +// ByTeamsAppId provides operations to manage the teamsApps property of the microsoft.graph.appCatalogs entity. +func (m *TeamsAppsRequestBuilder) ByTeamsAppId(teamsAppId string)(*TeamsAppsTeamsAppItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *TeamsAppsRequestBuilder) ToPostRequestInformation(ctx context.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 *TeamsAppsRequestBuilder) WithUrl(rawUrl string)(*TeamsAppsRequestBuilder) { + return NewTeamsAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/appcatalogs/teams_apps_teams_app_item_request_builder.go b/appcatalogs/teams_apps_teams_app_item_request_builder.go index a0dfd5df444..ad122ba6b78 100644 --- a/appcatalogs/teams_apps_teams_app_item_request_builder.go +++ b/appcatalogs/teams_apps_teams_app_item_request_builder.go @@ -160,3 +160,7 @@ func (m *TeamsAppsTeamsAppItemRequestBuilder) ToPatchRequestInformation(ctx cont } 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 *TeamsAppsTeamsAppItemRequestBuilder) WithUrl(rawUrl string)(*TeamsAppsTeamsAppItemRequestBuilder) { + return NewTeamsAppsTeamsAppItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/application_item_request_builder.go b/applications/application_item_request_builder.go index 8e95eb14991..3184c76d400 100644 --- a/applications/application_item_request_builder.go +++ b/applications/application_item_request_builder.go @@ -250,3 +250,7 @@ func (m *ApplicationItemRequestBuilder) ToPatchRequestInformation(ctx context.Co func (m *ApplicationItemRequestBuilder) UnsetVerifiedPublisher()(*ItemUnsetVerifiedPublisherRequestBuilder) { return NewItemUnsetVerifiedPublisherRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ApplicationItemRequestBuilder) WithUrl(rawUrl string)(*ApplicationItemRequestBuilder) { + return NewApplicationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/applications_request_builder.go b/applications/applications_request_builder.go index f63c13872da..556d71d72e0 100644 --- a/applications/applications_request_builder.go +++ b/applications/applications_request_builder.go @@ -46,8 +46,8 @@ type ApplicationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByApplicationIdString provides operations to manage the collection of application entities. -func (m *ApplicationsRequestBuilder) ByApplicationIdString(applicationId string)(*ApplicationItemRequestBuilder) { +// ByApplicationId provides operations to manage the collection of application entities. +func (m *ApplicationsRequestBuilder) ByApplicationId(applicationId string)(*ApplicationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -167,3 +167,7 @@ func (m *ApplicationsRequestBuilder) ToPostRequestInformation(ctx context.Contex func (m *ApplicationsRequestBuilder) ValidateProperties()(*ValidatePropertiesRequestBuilder) { return NewValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ApplicationsRequestBuilder) WithUrl(rawUrl string)(*ApplicationsRequestBuilder) { + return NewApplicationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/count_request_builder.go b/applications/count_request_builder.go index 850a31d5833..e2b11b7ebd0 100644 --- a/applications/count_request_builder.go +++ b/applications/count_request_builder.go @@ -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); +} diff --git a/applications/delta_request_builder.go b/applications/delta_request_builder.go index 728e3f81dfa..9113f9da503 100644 --- a/applications/delta_request_builder.go +++ b/applications/delta_request_builder.go @@ -84,3 +84,7 @@ func (m *DeltaRequestBuilder) 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 *DeltaRequestBuilder) WithUrl(rawUrl string)(*DeltaRequestBuilder) { + return NewDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/get_by_ids_request_builder.go b/applications/get_by_ids_request_builder.go index 83371551ced..443572e2f29 100644 --- a/applications/get_by_ids_request_builder.go +++ b/applications/get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *GetByIdsRequestBuilder) WithUrl(rawUrl string)(*GetByIdsRequestBuilder) { + return NewGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/get_user_owned_objects_request_builder.go b/applications/get_user_owned_objects_request_builder.go index 7f9bf5c12e4..5b0477f080f 100644 --- a/applications/get_user_owned_objects_request_builder.go +++ b/applications/get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) 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 *GetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*GetUserOwnedObjectsRequestBuilder) { + return NewGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_add_key_request_builder.go b/applications/item_add_key_request_builder.go index da023e2470c..42bbc9f9251 100644 --- a/applications/item_add_key_request_builder.go +++ b/applications/item_add_key_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemAddKeyRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemAddKeyRequestBuilder) WithUrl(rawUrl string)(*ItemAddKeyRequestBuilder) { + return NewItemAddKeyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_add_password_request_builder.go b/applications/item_add_password_request_builder.go index f2151c1dc1b..f6f2d165761 100644 --- a/applications/item_add_password_request_builder.go +++ b/applications/item_add_password_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemAddPasswordRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *ItemAddPasswordRequestBuilder) WithUrl(rawUrl string)(*ItemAddPasswordRequestBuilder) { + return NewItemAddPasswordRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_app_management_policies_count_request_builder.go b/applications/item_app_management_policies_count_request_builder.go index 872776e0ca0..5d8e51cccea 100644 --- a/applications/item_app_management_policies_count_request_builder.go +++ b/applications/item_app_management_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAppManagementPoliciesCountRequestBuilder) ToGetRequestInformation(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 *ItemAppManagementPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ItemAppManagementPoliciesCountRequestBuilder) { + return NewItemAppManagementPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_app_management_policies_item_ref_request_builder.go b/applications/item_app_management_policies_item_ref_request_builder.go index 6bba3f761c6..4a6a609be57 100644 --- a/applications/item_app_management_policies_item_ref_request_builder.go +++ b/applications/item_app_management_policies_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *ItemAppManagementPoliciesItemRefRequestBuilder) ToDeleteRequestInformat } 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 *ItemAppManagementPoliciesItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemAppManagementPoliciesItemRefRequestBuilder) { + return NewItemAppManagementPoliciesItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_app_management_policies_ref_request_builder.go b/applications/item_app_management_policies_ref_request_builder.go index f1e86e5b106..f67786c1c26 100644 --- a/applications/item_app_management_policies_ref_request_builder.go +++ b/applications/item_app_management_policies_ref_request_builder.go @@ -125,3 +125,7 @@ func (m *ItemAppManagementPoliciesRefRequestBuilder) 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 *ItemAppManagementPoliciesRefRequestBuilder) WithUrl(rawUrl string)(*ItemAppManagementPoliciesRefRequestBuilder) { + return NewItemAppManagementPoliciesRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_app_management_policies_request_builder.go b/applications/item_app_management_policies_request_builder.go index 4d8e1409734..e5be287ea1e 100644 --- a/applications/item_app_management_policies_request_builder.go +++ b/applications/item_app_management_policies_request_builder.go @@ -39,8 +39,8 @@ type ItemAppManagementPoliciesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemAppManagementPoliciesRequestBuilderGetQueryParameters } -// ByAppManagementPolicyIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.item.appManagementPolicies.item collection -func (m *ItemAppManagementPoliciesRequestBuilder) ByAppManagementPolicyIdString(appManagementPolicyId string)(*ItemAppManagementPoliciesAppManagementPolicyItemRequestBuilder) { +// ByAppManagementPolicyId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.item.appManagementPolicies.item collection +func (m *ItemAppManagementPoliciesRequestBuilder) ByAppManagementPolicyId(appManagementPolicyId string)(*ItemAppManagementPoliciesAppManagementPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -106,3 +106,7 @@ func (m *ItemAppManagementPoliciesRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemAppManagementPoliciesRequestBuilder) WithUrl(rawUrl string)(*ItemAppManagementPoliciesRequestBuilder) { + return NewItemAppManagementPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_check_member_groups_request_builder.go b/applications/item_check_member_groups_request_builder.go index b82d4f9f71e..a5060232a12 100644 --- a/applications/item_check_member_groups_request_builder.go +++ b/applications/item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) 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 *ItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberGroupsRequestBuilder) { + return NewItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_check_member_objects_request_builder.go b/applications/item_check_member_objects_request_builder.go index 36d418bdab8..2625077d7a5 100644 --- a/applications/item_check_member_objects_request_builder.go +++ b/applications/item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberObjectsRequestBuilder) { + return NewItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_connector_group_ref_request_builder.go b/applications/item_connector_group_ref_request_builder.go index 8ff0dbbfe9b..82c80d3da12 100644 --- a/applications/item_connector_group_ref_request_builder.go +++ b/applications/item_connector_group_ref_request_builder.go @@ -140,3 +140,7 @@ func (m *ItemConnectorGroupRefRequestBuilder) ToPutRequestInformation(ctx contex } 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 *ItemConnectorGroupRefRequestBuilder) WithUrl(rawUrl string)(*ItemConnectorGroupRefRequestBuilder) { + return NewItemConnectorGroupRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_connector_group_request_builder.go b/applications/item_connector_group_request_builder.go index d275a4d9852..b2ce815d30b 100644 --- a/applications/item_connector_group_request_builder.go +++ b/applications/item_connector_group_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemConnectorGroupRequestBuilder) 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 *ItemConnectorGroupRequestBuilder) WithUrl(rawUrl string)(*ItemConnectorGroupRequestBuilder) { + return NewItemConnectorGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_created_on_behalf_of_request_builder.go b/applications/item_created_on_behalf_of_request_builder.go index e5800427e9e..ac05f42fc83 100644 --- a/applications/item_created_on_behalf_of_request_builder.go +++ b/applications/item_created_on_behalf_of_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemCreatedOnBehalfOfRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemCreatedOnBehalfOfRequestBuilder) WithUrl(rawUrl string)(*ItemCreatedOnBehalfOfRequestBuilder) { + return NewItemCreatedOnBehalfOfRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_extension_properties_count_request_builder.go b/applications/item_extension_properties_count_request_builder.go index 2b3acfae823..b443792d9b1 100644 --- a/applications/item_extension_properties_count_request_builder.go +++ b/applications/item_extension_properties_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemExtensionPropertiesCountRequestBuilder) ToGetRequestInformation(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 *ItemExtensionPropertiesCountRequestBuilder) WithUrl(rawUrl string)(*ItemExtensionPropertiesCountRequestBuilder) { + return NewItemExtensionPropertiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_extension_properties_extension_property_item_request_builder.go b/applications/item_extension_properties_extension_property_item_request_builder.go index 0d9e9d57b5a..88f0e908027 100644 --- a/applications/item_extension_properties_extension_property_item_request_builder.go +++ b/applications/item_extension_properties_extension_property_item_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemExtensionPropertiesExtensionPropertyItemRequestBuilder) ToPatchRequ } 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 *ItemExtensionPropertiesExtensionPropertyItemRequestBuilder) WithUrl(rawUrl string)(*ItemExtensionPropertiesExtensionPropertyItemRequestBuilder) { + return NewItemExtensionPropertiesExtensionPropertyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_extension_properties_request_builder.go b/applications/item_extension_properties_request_builder.go index 46d61685dfc..5ea0140be93 100644 --- a/applications/item_extension_properties_request_builder.go +++ b/applications/item_extension_properties_request_builder.go @@ -46,8 +46,8 @@ type ItemExtensionPropertiesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionPropertyIdString provides operations to manage the extensionProperties property of the microsoft.graph.application entity. -func (m *ItemExtensionPropertiesRequestBuilder) ByExtensionPropertyIdString(extensionPropertyId string)(*ItemExtensionPropertiesExtensionPropertyItemRequestBuilder) { +// ByExtensionPropertyId provides operations to manage the extensionProperties property of the microsoft.graph.application entity. +func (m *ItemExtensionPropertiesRequestBuilder) ByExtensionPropertyId(extensionPropertyId string)(*ItemExtensionPropertiesExtensionPropertyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemExtensionPropertiesRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemExtensionPropertiesRequestBuilder) WithUrl(rawUrl string)(*ItemExtensionPropertiesRequestBuilder) { + return NewItemExtensionPropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_federated_identity_credentials_count_request_builder.go b/applications/item_federated_identity_credentials_count_request_builder.go index 621b2dd65cc..d306f4a249d 100644 --- a/applications/item_federated_identity_credentials_count_request_builder.go +++ b/applications/item_federated_identity_credentials_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemFederatedIdentityCredentialsCountRequestBuilder) ToGetRequestInform } 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 *ItemFederatedIdentityCredentialsCountRequestBuilder) WithUrl(rawUrl string)(*ItemFederatedIdentityCredentialsCountRequestBuilder) { + return NewItemFederatedIdentityCredentialsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go b/applications/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go index 0be4a740c2d..2de48d97b2d 100644 --- a/applications/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go +++ b/applications/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestB } 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 *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilder) WithUrl(rawUrl string)(*ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilder) { + return NewItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_federated_identity_credentials_request_builder.go b/applications/item_federated_identity_credentials_request_builder.go index fdbf651b4e1..3d8670b3b5e 100644 --- a/applications/item_federated_identity_credentials_request_builder.go +++ b/applications/item_federated_identity_credentials_request_builder.go @@ -46,8 +46,8 @@ type ItemFederatedIdentityCredentialsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByFederatedIdentityCredentialIdString provides operations to manage the federatedIdentityCredentials property of the microsoft.graph.application entity. -func (m *ItemFederatedIdentityCredentialsRequestBuilder) ByFederatedIdentityCredentialIdString(federatedIdentityCredentialId string)(*ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilder) { +// ByFederatedIdentityCredentialId provides operations to manage the federatedIdentityCredentials property of the microsoft.graph.application entity. +func (m *ItemFederatedIdentityCredentialsRequestBuilder) ByFederatedIdentityCredentialId(federatedIdentityCredentialId string)(*ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemFederatedIdentityCredentialsRequestBuilder) ToPostRequestInformatio } 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 *ItemFederatedIdentityCredentialsRequestBuilder) WithUrl(rawUrl string)(*ItemFederatedIdentityCredentialsRequestBuilder) { + return NewItemFederatedIdentityCredentialsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_get_member_groups_request_builder.go b/applications/item_get_member_groups_request_builder.go index 8fc306183ef..38d42248bf1 100644 --- a/applications/item_get_member_groups_request_builder.go +++ b/applications/item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) 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 *ItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberGroupsRequestBuilder) { + return NewItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_get_member_objects_request_builder.go b/applications/item_get_member_objects_request_builder.go index 111c0e546bd..82fb04969e4 100644 --- a/applications/item_get_member_objects_request_builder.go +++ b/applications/item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberObjectsRequestBuilder) { + return NewItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_home_realm_discovery_policies_count_request_builder.go b/applications/item_home_realm_discovery_policies_count_request_builder.go index a99663358e4..f37932f1255 100644 --- a/applications/item_home_realm_discovery_policies_count_request_builder.go +++ b/applications/item_home_realm_discovery_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemHomeRealmDiscoveryPoliciesCountRequestBuilder) ToGetRequestInformat } 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 *ItemHomeRealmDiscoveryPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ItemHomeRealmDiscoveryPoliciesCountRequestBuilder) { + return NewItemHomeRealmDiscoveryPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_home_realm_discovery_policies_home_realm_discovery_policy_item_request_builder.go b/applications/item_home_realm_discovery_policies_home_realm_discovery_policy_item_request_builder.go index 54f9fe249ad..2451ec465d3 100644 --- a/applications/item_home_realm_discovery_policies_home_realm_discovery_policy_item_request_builder.go +++ b/applications/item_home_realm_discovery_policies_home_realm_discovery_policy_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemHomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilde } 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 *ItemHomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) WithUrl(rawUrl string)(*ItemHomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) { + return NewItemHomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_home_realm_discovery_policies_request_builder.go b/applications/item_home_realm_discovery_policies_request_builder.go index 8ca817f5317..8fc4f38d683 100644 --- a/applications/item_home_realm_discovery_policies_request_builder.go +++ b/applications/item_home_realm_discovery_policies_request_builder.go @@ -39,8 +39,8 @@ type ItemHomeRealmDiscoveryPoliciesRequestBuilderGetRequestConfiguration struct // Request query parameters QueryParameters *ItemHomeRealmDiscoveryPoliciesRequestBuilderGetQueryParameters } -// ByHomeRealmDiscoveryPolicyIdString provides operations to manage the homeRealmDiscoveryPolicies property of the microsoft.graph.application entity. -func (m *ItemHomeRealmDiscoveryPoliciesRequestBuilder) ByHomeRealmDiscoveryPolicyIdString(homeRealmDiscoveryPolicyId string)(*ItemHomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) { +// ByHomeRealmDiscoveryPolicyId provides operations to manage the homeRealmDiscoveryPolicies property of the microsoft.graph.application entity. +func (m *ItemHomeRealmDiscoveryPoliciesRequestBuilder) ByHomeRealmDiscoveryPolicyId(homeRealmDiscoveryPolicyId string)(*ItemHomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemHomeRealmDiscoveryPoliciesRequestBuilder) ToGetRequestInformation(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 *ItemHomeRealmDiscoveryPoliciesRequestBuilder) WithUrl(rawUrl string)(*ItemHomeRealmDiscoveryPoliciesRequestBuilder) { + return NewItemHomeRealmDiscoveryPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_logo_request_builder.go b/applications/item_logo_request_builder.go index 12e930c845c..0a11014fca5 100644 --- a/applications/item_logo_request_builder.go +++ b/applications/item_logo_request_builder.go @@ -100,3 +100,7 @@ func (m *ItemLogoRequestBuilder) ToPutRequestInformation(ctx context.Context, bo } 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 *ItemLogoRequestBuilder) WithUrl(rawUrl string)(*ItemLogoRequestBuilder) { + return NewItemLogoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_owners_count_request_builder.go b/applications/item_owners_count_request_builder.go index 8cdf80f61c3..3d595d27fb2 100644 --- a/applications/item_owners_count_request_builder.go +++ b/applications/item_owners_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnersCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemOwnersCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersCountRequestBuilder) { + return NewItemOwnersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_owners_graph_endpoint_count_request_builder.go b/applications/item_owners_graph_endpoint_count_request_builder.go index 51abcea8063..9ab2bca17e6 100644 --- a/applications/item_owners_graph_endpoint_count_request_builder.go +++ b/applications/item_owners_graph_endpoint_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnersGraphEndpointCountRequestBuilder) ToGetRequestInformation(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 *ItemOwnersGraphEndpointCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphEndpointCountRequestBuilder) { + return NewItemOwnersGraphEndpointCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_owners_graph_endpoint_request_builder.go b/applications/item_owners_graph_endpoint_request_builder.go index 7c0a88043dc..18802d65140 100644 --- a/applications/item_owners_graph_endpoint_request_builder.go +++ b/applications/item_owners_graph_endpoint_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemOwnersGraphEndpointRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemOwnersGraphEndpointRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphEndpointRequestBuilder) { + return NewItemOwnersGraphEndpointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_owners_graph_service_principal_count_request_builder.go b/applications/item_owners_graph_service_principal_count_request_builder.go index 5c2b8f82ccd..b4b7d568c84 100644 --- a/applications/item_owners_graph_service_principal_count_request_builder.go +++ b/applications/item_owners_graph_service_principal_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnersGraphServicePrincipalCountRequestBuilder) ToGetRequestInforma } 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 *ItemOwnersGraphServicePrincipalCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphServicePrincipalCountRequestBuilder) { + return NewItemOwnersGraphServicePrincipalCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_owners_graph_service_principal_request_builder.go b/applications/item_owners_graph_service_principal_request_builder.go index 61e23f0478e..85e24781283 100644 --- a/applications/item_owners_graph_service_principal_request_builder.go +++ b/applications/item_owners_graph_service_principal_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemOwnersGraphServicePrincipalRequestBuilder) 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 *ItemOwnersGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphServicePrincipalRequestBuilder) { + return NewItemOwnersGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_owners_graph_user_count_request_builder.go b/applications/item_owners_graph_user_count_request_builder.go index 087ca1afb94..33fffa3e808 100644 --- a/applications/item_owners_graph_user_count_request_builder.go +++ b/applications/item_owners_graph_user_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnersGraphUserCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemOwnersGraphUserCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphUserCountRequestBuilder) { + return NewItemOwnersGraphUserCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_owners_graph_user_request_builder.go b/applications/item_owners_graph_user_request_builder.go index 959ce99ef62..b67cebef638 100644 --- a/applications/item_owners_graph_user_request_builder.go +++ b/applications/item_owners_graph_user_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemOwnersGraphUserRequestBuilder) ToGetRequestInformation(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 *ItemOwnersGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphUserRequestBuilder) { + return NewItemOwnersGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_owners_item_graph_endpoint_request_builder.go b/applications/item_owners_item_graph_endpoint_request_builder.go index c8730bad8ef..8bccebd7b9b 100644 --- a/applications/item_owners_item_graph_endpoint_request_builder.go +++ b/applications/item_owners_item_graph_endpoint_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOwnersItemGraphEndpointRequestBuilder) ToGetRequestInformation(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 *ItemOwnersItemGraphEndpointRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersItemGraphEndpointRequestBuilder) { + return NewItemOwnersItemGraphEndpointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_owners_item_graph_service_principal_request_builder.go b/applications/item_owners_item_graph_service_principal_request_builder.go index 77fd2420bdf..04618e479cc 100644 --- a/applications/item_owners_item_graph_service_principal_request_builder.go +++ b/applications/item_owners_item_graph_service_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOwnersItemGraphServicePrincipalRequestBuilder) ToGetRequestInformat } 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 *ItemOwnersItemGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersItemGraphServicePrincipalRequestBuilder) { + return NewItemOwnersItemGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_owners_item_graph_user_request_builder.go b/applications/item_owners_item_graph_user_request_builder.go index 4c641a41b3a..138f600620e 100644 --- a/applications/item_owners_item_graph_user_request_builder.go +++ b/applications/item_owners_item_graph_user_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOwnersItemGraphUserRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemOwnersItemGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersItemGraphUserRequestBuilder) { + return NewItemOwnersItemGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_owners_item_ref_request_builder.go b/applications/item_owners_item_ref_request_builder.go index 89604d96c63..88cfee850b1 100644 --- a/applications/item_owners_item_ref_request_builder.go +++ b/applications/item_owners_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *ItemOwnersItemRefRequestBuilder) ToDeleteRequestInformation(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 *ItemOwnersItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersItemRefRequestBuilder) { + return NewItemOwnersItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_owners_ref_request_builder.go b/applications/item_owners_ref_request_builder.go index b32c89508e0..7e333e4943b 100644 --- a/applications/item_owners_ref_request_builder.go +++ b/applications/item_owners_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *ItemOwnersRefRequestBuilder) 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 *ItemOwnersRefRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersRefRequestBuilder) { + return NewItemOwnersRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_owners_request_builder.go b/applications/item_owners_request_builder.go index 5fedfcf1ce8..6dc81bc4862 100644 --- a/applications/item_owners_request_builder.go +++ b/applications/item_owners_request_builder.go @@ -39,8 +39,8 @@ type ItemOwnersRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemOwnersRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.item.owners.item collection -func (m *ItemOwnersRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemOwnersDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.item.owners.item collection +func (m *ItemOwnersRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemOwnersDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -121,3 +121,7 @@ func (m *ItemOwnersRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemOwnersRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersRequestBuilder) { + return NewItemOwnersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_remove_key_request_builder.go b/applications/item_remove_key_request_builder.go index b7390777a46..30f046f8e36 100644 --- a/applications/item_remove_key_request_builder.go +++ b/applications/item_remove_key_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemRemoveKeyRequestBuilder) 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 *ItemRemoveKeyRequestBuilder) WithUrl(rawUrl string)(*ItemRemoveKeyRequestBuilder) { + return NewItemRemoveKeyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_remove_password_request_builder.go b/applications/item_remove_password_request_builder.go index 13137f23ff7..fa593e05f1d 100644 --- a/applications/item_remove_password_request_builder.go +++ b/applications/item_remove_password_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemRemovePasswordRequestBuilder) 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 *ItemRemovePasswordRequestBuilder) WithUrl(rawUrl string)(*ItemRemovePasswordRequestBuilder) { + return NewItemRemovePasswordRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_restore_request_builder.go b/applications/item_restore_request_builder.go index 43dcaddc556..49aca0a42e4 100644 --- a/applications/item_restore_request_builder.go +++ b/applications/item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemRestoreRequestBuilder) { + return NewItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_set_verified_publisher_request_builder.go b/applications/item_set_verified_publisher_request_builder.go index 4c6354dbc20..438590f7d0e 100644 --- a/applications/item_set_verified_publisher_request_builder.go +++ b/applications/item_set_verified_publisher_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemSetVerifiedPublisherRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemSetVerifiedPublisherRequestBuilder) WithUrl(rawUrl string)(*ItemSetVerifiedPublisherRequestBuilder) { + return NewItemSetVerifiedPublisherRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_acquire_access_token_request_builder.go b/applications/item_synchronization_acquire_access_token_request_builder.go index d1966a0abc1..da2408d1bdc 100644 --- a/applications/item_synchronization_acquire_access_token_request_builder.go +++ b/applications/item_synchronization_acquire_access_token_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemSynchronizationAcquireAccessTokenRequestBuilder) ToPostRequestInfor } 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 *ItemSynchronizationAcquireAccessTokenRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationAcquireAccessTokenRequestBuilder) { + return NewItemSynchronizationAcquireAccessTokenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_jobs_count_request_builder.go b/applications/item_synchronization_jobs_count_request_builder.go index 35ad7444314..f972cf9fb57 100644 --- a/applications/item_synchronization_jobs_count_request_builder.go +++ b/applications/item_synchronization_jobs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSynchronizationJobsCountRequestBuilder) ToGetRequestInformation(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 *ItemSynchronizationJobsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsCountRequestBuilder) { + return NewItemSynchronizationJobsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_jobs_item_bulk_upload_request_builder.go b/applications/item_synchronization_jobs_item_bulk_upload_request_builder.go index 0087c35a312..ed26678d429 100644 --- a/applications/item_synchronization_jobs_item_bulk_upload_request_builder.go +++ b/applications/item_synchronization_jobs_item_bulk_upload_request_builder.go @@ -163,3 +163,8 @@ func (m *ItemSynchronizationJobsItemBulkUploadRequestBuilder) 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. +// Deprecated: as of 2022-10/PrivatePreview:HRInboundPushApi on 2022-10-04 and will be removed 2023-06-14 +func (m *ItemSynchronizationJobsItemBulkUploadRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemBulkUploadRequestBuilder) { + return NewItemSynchronizationJobsItemBulkUploadRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_jobs_item_bulk_upload_value_content_request_builder.go b/applications/item_synchronization_jobs_item_bulk_upload_value_content_request_builder.go index 5103689e6b1..e6a7abc0e78 100644 --- a/applications/item_synchronization_jobs_item_bulk_upload_value_content_request_builder.go +++ b/applications/item_synchronization_jobs_item_bulk_upload_value_content_request_builder.go @@ -104,3 +104,8 @@ func (m *ItemSynchronizationJobsItemBulkUploadValueContentRequestBuilder) ToPutR } 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. +// Deprecated: as of 2022-10/PrivatePreview:HRInboundPushApi on 2022-10-04 and will be removed 2023-06-14 +func (m *ItemSynchronizationJobsItemBulkUploadValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemBulkUploadValueContentRequestBuilder) { + return NewItemSynchronizationJobsItemBulkUploadValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_jobs_item_pause_request_builder.go b/applications/item_synchronization_jobs_item_pause_request_builder.go index 391dd7de35d..12ecc0e20e7 100644 --- a/applications/item_synchronization_jobs_item_pause_request_builder.go +++ b/applications/item_synchronization_jobs_item_pause_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemSynchronizationJobsItemPauseRequestBuilder) ToPostRequestInformatio } 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 *ItemSynchronizationJobsItemPauseRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemPauseRequestBuilder) { + return NewItemSynchronizationJobsItemPauseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_jobs_item_provision_on_demand_request_builder.go b/applications/item_synchronization_jobs_item_provision_on_demand_request_builder.go index 291057d9d4a..15dc2746d17 100644 --- a/applications/item_synchronization_jobs_item_provision_on_demand_request_builder.go +++ b/applications/item_synchronization_jobs_item_provision_on_demand_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSynchronizationJobsItemProvisionOnDemandRequestBuilder) ToPostReque } 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 *ItemSynchronizationJobsItemProvisionOnDemandRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemProvisionOnDemandRequestBuilder) { + return NewItemSynchronizationJobsItemProvisionOnDemandRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_jobs_item_restart_request_builder.go b/applications/item_synchronization_jobs_item_restart_request_builder.go index 2d1f6a8069a..8b1c56c5068 100644 --- a/applications/item_synchronization_jobs_item_restart_request_builder.go +++ b/applications/item_synchronization_jobs_item_restart_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemSynchronizationJobsItemRestartRequestBuilder) ToPostRequestInformat } 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 *ItemSynchronizationJobsItemRestartRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemRestartRequestBuilder) { + return NewItemSynchronizationJobsItemRestartRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_jobs_item_schema_directories_count_request_builder.go b/applications/item_synchronization_jobs_item_schema_directories_count_request_builder.go index e82e2635679..7e1b97b3301 100644 --- a/applications/item_synchronization_jobs_item_schema_directories_count_request_builder.go +++ b/applications/item_synchronization_jobs_item_schema_directories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSynchronizationJobsItemSchemaDirectoriesCountRequestBuilder) ToGetR } 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 *ItemSynchronizationJobsItemSchemaDirectoriesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemSchemaDirectoriesCountRequestBuilder) { + return NewItemSynchronizationJobsItemSchemaDirectoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_jobs_item_schema_directories_directory_definition_item_request_builder.go b/applications/item_synchronization_jobs_item_schema_directories_directory_definition_item_request_builder.go index 544a333bb25..92dc6e9b01f 100644 --- a/applications/item_synchronization_jobs_item_schema_directories_directory_definition_item_request_builder.go +++ b/applications/item_synchronization_jobs_item_schema_directories_directory_definition_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemSynchronizationJobsItemSchemaDirectoriesDirectoryDefinitionItemRequ } 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 *ItemSynchronizationJobsItemSchemaDirectoriesDirectoryDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemSchemaDirectoriesDirectoryDefinitionItemRequestBuilder) { + return NewItemSynchronizationJobsItemSchemaDirectoriesDirectoryDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go b/applications/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go index 819180c0928..9d054ad78a3 100644 --- a/applications/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go +++ b/applications/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemSynchronizationJobsItemSchemaDirectoriesItemDiscoverRequestBuilder) } 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 *ItemSynchronizationJobsItemSchemaDirectoriesItemDiscoverRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemSchemaDirectoriesItemDiscoverRequestBuilder) { + return NewItemSynchronizationJobsItemSchemaDirectoriesItemDiscoverRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_jobs_item_schema_directories_request_builder.go b/applications/item_synchronization_jobs_item_schema_directories_request_builder.go index fa6358c5760..fc884598faa 100644 --- a/applications/item_synchronization_jobs_item_schema_directories_request_builder.go +++ b/applications/item_synchronization_jobs_item_schema_directories_request_builder.go @@ -46,8 +46,8 @@ type ItemSynchronizationJobsItemSchemaDirectoriesRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDirectoryDefinitionIdString provides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity. -func (m *ItemSynchronizationJobsItemSchemaDirectoriesRequestBuilder) ByDirectoryDefinitionIdString(directoryDefinitionId string)(*ItemSynchronizationJobsItemSchemaDirectoriesDirectoryDefinitionItemRequestBuilder) { +// ByDirectoryDefinitionId provides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity. +func (m *ItemSynchronizationJobsItemSchemaDirectoriesRequestBuilder) ByDirectoryDefinitionId(directoryDefinitionId string)(*ItemSynchronizationJobsItemSchemaDirectoriesDirectoryDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSynchronizationJobsItemSchemaDirectoriesRequestBuilder) ToPostReque } 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 *ItemSynchronizationJobsItemSchemaDirectoriesRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemSchemaDirectoriesRequestBuilder) { + return NewItemSynchronizationJobsItemSchemaDirectoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_jobs_item_schema_filter_operators_request_builder.go b/applications/item_synchronization_jobs_item_schema_filter_operators_request_builder.go index bcc8ec00ee7..01020f1f78c 100644 --- a/applications/item_synchronization_jobs_item_schema_filter_operators_request_builder.go +++ b/applications/item_synchronization_jobs_item_schema_filter_operators_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder) ToGetRe } 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 *ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder) { + return NewItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_jobs_item_schema_functions_request_builder.go b/applications/item_synchronization_jobs_item_schema_functions_request_builder.go index 340dd519a40..a9254c963f2 100644 --- a/applications/item_synchronization_jobs_item_schema_functions_request_builder.go +++ b/applications/item_synchronization_jobs_item_schema_functions_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemSynchronizationJobsItemSchemaFunctionsRequestBuilder) ToGetRequestI } 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 *ItemSynchronizationJobsItemSchemaFunctionsRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemSchemaFunctionsRequestBuilder) { + return NewItemSynchronizationJobsItemSchemaFunctionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_jobs_item_schema_parse_expression_request_builder.go b/applications/item_synchronization_jobs_item_schema_parse_expression_request_builder.go index 0cb22d19ec8..9e8feb5963f 100644 --- a/applications/item_synchronization_jobs_item_schema_parse_expression_request_builder.go +++ b/applications/item_synchronization_jobs_item_schema_parse_expression_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSynchronizationJobsItemSchemaParseExpressionRequestBuilder) ToPostR } 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 *ItemSynchronizationJobsItemSchemaParseExpressionRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemSchemaParseExpressionRequestBuilder) { + return NewItemSynchronizationJobsItemSchemaParseExpressionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_jobs_item_schema_request_builder.go b/applications/item_synchronization_jobs_item_schema_request_builder.go index fa967e67325..cfdc4f3143b 100644 --- a/applications/item_synchronization_jobs_item_schema_request_builder.go +++ b/applications/item_synchronization_jobs_item_schema_request_builder.go @@ -175,3 +175,7 @@ func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) ToPatchRequestInformat } 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 *ItemSynchronizationJobsItemSchemaRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemSchemaRequestBuilder) { + return NewItemSynchronizationJobsItemSchemaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_jobs_item_start_request_builder.go b/applications/item_synchronization_jobs_item_start_request_builder.go index aaee14c1bf0..ee74b7b332d 100644 --- a/applications/item_synchronization_jobs_item_start_request_builder.go +++ b/applications/item_synchronization_jobs_item_start_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemSynchronizationJobsItemStartRequestBuilder) ToPostRequestInformatio } 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 *ItemSynchronizationJobsItemStartRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemStartRequestBuilder) { + return NewItemSynchronizationJobsItemStartRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_jobs_item_validate_credentials_request_builder.go b/applications/item_synchronization_jobs_item_validate_credentials_request_builder.go index fbd440d894c..a445687af6e 100644 --- a/applications/item_synchronization_jobs_item_validate_credentials_request_builder.go +++ b/applications/item_synchronization_jobs_item_validate_credentials_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemSynchronizationJobsItemValidateCredentialsRequestBuilder) ToPostReq } 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 *ItemSynchronizationJobsItemValidateCredentialsRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemValidateCredentialsRequestBuilder) { + return NewItemSynchronizationJobsItemValidateCredentialsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_jobs_request_builder.go b/applications/item_synchronization_jobs_request_builder.go index c5cfbed0c5f..90eb11bd210 100644 --- a/applications/item_synchronization_jobs_request_builder.go +++ b/applications/item_synchronization_jobs_request_builder.go @@ -46,8 +46,8 @@ type ItemSynchronizationJobsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySynchronizationJobIdString provides operations to manage the jobs property of the microsoft.graph.synchronization entity. -func (m *ItemSynchronizationJobsRequestBuilder) BySynchronizationJobIdString(synchronizationJobId string)(*ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) { +// BySynchronizationJobId provides operations to manage the jobs property of the microsoft.graph.synchronization entity. +func (m *ItemSynchronizationJobsRequestBuilder) BySynchronizationJobId(synchronizationJobId string)(*ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemSynchronizationJobsRequestBuilder) ToPostRequestInformation(ctx con func (m *ItemSynchronizationJobsRequestBuilder) ValidateCredentials()(*ItemSynchronizationJobsValidateCredentialsRequestBuilder) { return NewItemSynchronizationJobsValidateCredentialsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSynchronizationJobsRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsRequestBuilder) { + return NewItemSynchronizationJobsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_jobs_synchronization_job_item_request_builder.go b/applications/item_synchronization_jobs_synchronization_job_item_request_builder.go index db104adcd4b..9157a8c1944 100644 --- a/applications/item_synchronization_jobs_synchronization_job_item_request_builder.go +++ b/applications/item_synchronization_jobs_synchronization_job_item_request_builder.go @@ -187,3 +187,7 @@ func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) ToPatchReq func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) ValidateCredentials()(*ItemSynchronizationJobsItemValidateCredentialsRequestBuilder) { return NewItemSynchronizationJobsItemValidateCredentialsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) { + return NewItemSynchronizationJobsSynchronizationJobItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_jobs_validate_credentials_request_builder.go b/applications/item_synchronization_jobs_validate_credentials_request_builder.go index c6d318cbc34..f3cffab33cd 100644 --- a/applications/item_synchronization_jobs_validate_credentials_request_builder.go +++ b/applications/item_synchronization_jobs_validate_credentials_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemSynchronizationJobsValidateCredentialsRequestBuilder) ToPostRequest } 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 *ItemSynchronizationJobsValidateCredentialsRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsValidateCredentialsRequestBuilder) { + return NewItemSynchronizationJobsValidateCredentialsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_ping_request_builder.go b/applications/item_synchronization_ping_request_builder.go index b5ea2222543..7c6f440f763 100644 --- a/applications/item_synchronization_ping_request_builder.go +++ b/applications/item_synchronization_ping_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemSynchronizationPingRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemSynchronizationPingRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationPingRequestBuilder) { + return NewItemSynchronizationPingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_request_builder.go b/applications/item_synchronization_request_builder.go index 62385fe781a..c4dd4421282 100644 --- a/applications/item_synchronization_request_builder.go +++ b/applications/item_synchronization_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemSynchronizationRequestBuilder) ToPutRequestInformation(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 *ItemSynchronizationRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationRequestBuilder) { + return NewItemSynchronizationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_secrets_count_request_builder.go b/applications/item_synchronization_secrets_count_request_builder.go index 24f609284e7..7d61c745811 100644 --- a/applications/item_synchronization_secrets_count_request_builder.go +++ b/applications/item_synchronization_secrets_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSynchronizationSecretsCountRequestBuilder) 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 *ItemSynchronizationSecretsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationSecretsCountRequestBuilder) { + return NewItemSynchronizationSecretsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_secrets_request_builder.go b/applications/item_synchronization_secrets_request_builder.go index 270aac5036d..32049d02fd1 100644 --- a/applications/item_synchronization_secrets_request_builder.go +++ b/applications/item_synchronization_secrets_request_builder.go @@ -81,3 +81,7 @@ func (m *ItemSynchronizationSecretsRequestBuilder) ToPutRequestInformation(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 *ItemSynchronizationSecretsRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationSecretsRequestBuilder) { + return NewItemSynchronizationSecretsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_templates_count_request_builder.go b/applications/item_synchronization_templates_count_request_builder.go index 540c06d4954..07633344a25 100644 --- a/applications/item_synchronization_templates_count_request_builder.go +++ b/applications/item_synchronization_templates_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSynchronizationTemplatesCountRequestBuilder) 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 *ItemSynchronizationTemplatesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationTemplatesCountRequestBuilder) { + return NewItemSynchronizationTemplatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_templates_item_schema_directories_count_request_builder.go b/applications/item_synchronization_templates_item_schema_directories_count_request_builder.go index 5020252a11c..d3f5671fb7f 100644 --- a/applications/item_synchronization_templates_item_schema_directories_count_request_builder.go +++ b/applications/item_synchronization_templates_item_schema_directories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesCountRequestBuilder) T } 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 *ItemSynchronizationTemplatesItemSchemaDirectoriesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationTemplatesItemSchemaDirectoriesCountRequestBuilder) { + return NewItemSynchronizationTemplatesItemSchemaDirectoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_templates_item_schema_directories_directory_definition_item_request_builder.go b/applications/item_synchronization_templates_item_schema_directories_directory_definition_item_request_builder.go index 35a0af5618d..1a5f81059ca 100644 --- a/applications/item_synchronization_templates_item_schema_directories_directory_definition_item_request_builder.go +++ b/applications/item_synchronization_templates_item_schema_directories_directory_definition_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesDirectoryDefinitionIte } 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 *ItemSynchronizationTemplatesItemSchemaDirectoriesDirectoryDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationTemplatesItemSchemaDirectoriesDirectoryDefinitionItemRequestBuilder) { + return NewItemSynchronizationTemplatesItemSchemaDirectoriesDirectoryDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go b/applications/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go index 47b1dc21191..1cc6cbb4467 100644 --- a/applications/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go +++ b/applications/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesItemDiscoverRequestBui } 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 *ItemSynchronizationTemplatesItemSchemaDirectoriesItemDiscoverRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationTemplatesItemSchemaDirectoriesItemDiscoverRequestBuilder) { + return NewItemSynchronizationTemplatesItemSchemaDirectoriesItemDiscoverRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_templates_item_schema_directories_request_builder.go b/applications/item_synchronization_templates_item_schema_directories_request_builder.go index de2b920e756..6a7c58ccc6f 100644 --- a/applications/item_synchronization_templates_item_schema_directories_request_builder.go +++ b/applications/item_synchronization_templates_item_schema_directories_request_builder.go @@ -46,8 +46,8 @@ type ItemSynchronizationTemplatesItemSchemaDirectoriesRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDirectoryDefinitionIdString provides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity. -func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesRequestBuilder) ByDirectoryDefinitionIdString(directoryDefinitionId string)(*ItemSynchronizationTemplatesItemSchemaDirectoriesDirectoryDefinitionItemRequestBuilder) { +// ByDirectoryDefinitionId provides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity. +func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesRequestBuilder) ByDirectoryDefinitionId(directoryDefinitionId string)(*ItemSynchronizationTemplatesItemSchemaDirectoriesDirectoryDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesRequestBuilder) ToPost } 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 *ItemSynchronizationTemplatesItemSchemaDirectoriesRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationTemplatesItemSchemaDirectoriesRequestBuilder) { + return NewItemSynchronizationTemplatesItemSchemaDirectoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_templates_item_schema_filter_operators_request_builder.go b/applications/item_synchronization_templates_item_schema_filter_operators_request_builder.go index 58f62c5f1f9..f0993dc514f 100644 --- a/applications/item_synchronization_templates_item_schema_filter_operators_request_builder.go +++ b/applications/item_synchronization_templates_item_schema_filter_operators_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder) To } 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 *ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder) { + return NewItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_templates_item_schema_functions_request_builder.go b/applications/item_synchronization_templates_item_schema_functions_request_builder.go index e5e463285a3..f7747e4ce0d 100644 --- a/applications/item_synchronization_templates_item_schema_functions_request_builder.go +++ b/applications/item_synchronization_templates_item_schema_functions_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder) ToGetReq } 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 *ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder) { + return NewItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_templates_item_schema_parse_expression_request_builder.go b/applications/item_synchronization_templates_item_schema_parse_expression_request_builder.go index 1fdf748ce12..a89cf5d9fd6 100644 --- a/applications/item_synchronization_templates_item_schema_parse_expression_request_builder.go +++ b/applications/item_synchronization_templates_item_schema_parse_expression_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaParseExpressionRequestBuilder) To } 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 *ItemSynchronizationTemplatesItemSchemaParseExpressionRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationTemplatesItemSchemaParseExpressionRequestBuilder) { + return NewItemSynchronizationTemplatesItemSchemaParseExpressionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_templates_item_schema_request_builder.go b/applications/item_synchronization_templates_item_schema_request_builder.go index de6576e43c6..efd5be0101a 100644 --- a/applications/item_synchronization_templates_item_schema_request_builder.go +++ b/applications/item_synchronization_templates_item_schema_request_builder.go @@ -169,3 +169,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaRequestBuilder) ToPatchRequestInf } 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 *ItemSynchronizationTemplatesItemSchemaRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationTemplatesItemSchemaRequestBuilder) { + return NewItemSynchronizationTemplatesItemSchemaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_templates_request_builder.go b/applications/item_synchronization_templates_request_builder.go index ecc2948027c..4e1fb7dc5bd 100644 --- a/applications/item_synchronization_templates_request_builder.go +++ b/applications/item_synchronization_templates_request_builder.go @@ -46,8 +46,8 @@ type ItemSynchronizationTemplatesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySynchronizationTemplateIdString provides operations to manage the templates property of the microsoft.graph.synchronization entity. -func (m *ItemSynchronizationTemplatesRequestBuilder) BySynchronizationTemplateIdString(synchronizationTemplateId string)(*ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) { +// BySynchronizationTemplateId provides operations to manage the templates property of the microsoft.graph.synchronization entity. +func (m *ItemSynchronizationTemplatesRequestBuilder) BySynchronizationTemplateId(synchronizationTemplateId string)(*ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemSynchronizationTemplatesRequestBuilder) 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 *ItemSynchronizationTemplatesRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationTemplatesRequestBuilder) { + return NewItemSynchronizationTemplatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_synchronization_templates_synchronization_template_item_request_builder.go b/applications/item_synchronization_templates_synchronization_template_item_request_builder.go index 69da2cc1b03..703e3d9653f 100644 --- a/applications/item_synchronization_templates_synchronization_template_item_request_builder.go +++ b/applications/item_synchronization_templates_synchronization_template_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) } 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 *ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) { + return NewItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_token_issuance_policies_count_request_builder.go b/applications/item_token_issuance_policies_count_request_builder.go index a16131e791c..d8b9111e06c 100644 --- a/applications/item_token_issuance_policies_count_request_builder.go +++ b/applications/item_token_issuance_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTokenIssuancePoliciesCountRequestBuilder) ToGetRequestInformation(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 *ItemTokenIssuancePoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ItemTokenIssuancePoliciesCountRequestBuilder) { + return NewItemTokenIssuancePoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_token_issuance_policies_item_ref_request_builder.go b/applications/item_token_issuance_policies_item_ref_request_builder.go index 515aaa388e8..58258a4b5ea 100644 --- a/applications/item_token_issuance_policies_item_ref_request_builder.go +++ b/applications/item_token_issuance_policies_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *ItemTokenIssuancePoliciesItemRefRequestBuilder) ToDeleteRequestInformat } 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 *ItemTokenIssuancePoliciesItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemTokenIssuancePoliciesItemRefRequestBuilder) { + return NewItemTokenIssuancePoliciesItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_token_issuance_policies_ref_request_builder.go b/applications/item_token_issuance_policies_ref_request_builder.go index 7c7d5e982ae..25a0b6ca12f 100644 --- a/applications/item_token_issuance_policies_ref_request_builder.go +++ b/applications/item_token_issuance_policies_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *ItemTokenIssuancePoliciesRefRequestBuilder) 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 *ItemTokenIssuancePoliciesRefRequestBuilder) WithUrl(rawUrl string)(*ItemTokenIssuancePoliciesRefRequestBuilder) { + return NewItemTokenIssuancePoliciesRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_token_issuance_policies_request_builder.go b/applications/item_token_issuance_policies_request_builder.go index 0d116ab603c..5baf197b521 100644 --- a/applications/item_token_issuance_policies_request_builder.go +++ b/applications/item_token_issuance_policies_request_builder.go @@ -39,8 +39,8 @@ type ItemTokenIssuancePoliciesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemTokenIssuancePoliciesRequestBuilderGetQueryParameters } -// ByTokenIssuancePolicyIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.item.tokenIssuancePolicies.item collection -func (m *ItemTokenIssuancePoliciesRequestBuilder) ByTokenIssuancePolicyIdString(tokenIssuancePolicyId string)(*ItemTokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) { +// ByTokenIssuancePolicyId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.item.tokenIssuancePolicies.item collection +func (m *ItemTokenIssuancePoliciesRequestBuilder) ByTokenIssuancePolicyId(tokenIssuancePolicyId string)(*ItemTokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemTokenIssuancePoliciesRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemTokenIssuancePoliciesRequestBuilder) WithUrl(rawUrl string)(*ItemTokenIssuancePoliciesRequestBuilder) { + return NewItemTokenIssuancePoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_token_lifetime_policies_count_request_builder.go b/applications/item_token_lifetime_policies_count_request_builder.go index bac6da917a3..b658fdb417d 100644 --- a/applications/item_token_lifetime_policies_count_request_builder.go +++ b/applications/item_token_lifetime_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTokenLifetimePoliciesCountRequestBuilder) ToGetRequestInformation(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 *ItemTokenLifetimePoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ItemTokenLifetimePoliciesCountRequestBuilder) { + return NewItemTokenLifetimePoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_token_lifetime_policies_item_ref_request_builder.go b/applications/item_token_lifetime_policies_item_ref_request_builder.go index 908195edc95..be8b0383501 100644 --- a/applications/item_token_lifetime_policies_item_ref_request_builder.go +++ b/applications/item_token_lifetime_policies_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *ItemTokenLifetimePoliciesItemRefRequestBuilder) ToDeleteRequestInformat } 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 *ItemTokenLifetimePoliciesItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemTokenLifetimePoliciesItemRefRequestBuilder) { + return NewItemTokenLifetimePoliciesItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_token_lifetime_policies_ref_request_builder.go b/applications/item_token_lifetime_policies_ref_request_builder.go index 7b8d874ff62..b125c3aa019 100644 --- a/applications/item_token_lifetime_policies_ref_request_builder.go +++ b/applications/item_token_lifetime_policies_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *ItemTokenLifetimePoliciesRefRequestBuilder) 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 *ItemTokenLifetimePoliciesRefRequestBuilder) WithUrl(rawUrl string)(*ItemTokenLifetimePoliciesRefRequestBuilder) { + return NewItemTokenLifetimePoliciesRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_token_lifetime_policies_request_builder.go b/applications/item_token_lifetime_policies_request_builder.go index cfc3a7e1103..1aca5704095 100644 --- a/applications/item_token_lifetime_policies_request_builder.go +++ b/applications/item_token_lifetime_policies_request_builder.go @@ -39,8 +39,8 @@ type ItemTokenLifetimePoliciesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemTokenLifetimePoliciesRequestBuilderGetQueryParameters } -// ByTokenLifetimePolicyIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.item.tokenLifetimePolicies.item collection -func (m *ItemTokenLifetimePoliciesRequestBuilder) ByTokenLifetimePolicyIdString(tokenLifetimePolicyId string)(*ItemTokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) { +// ByTokenLifetimePolicyId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.item.tokenLifetimePolicies.item collection +func (m *ItemTokenLifetimePoliciesRequestBuilder) ByTokenLifetimePolicyId(tokenLifetimePolicyId string)(*ItemTokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemTokenLifetimePoliciesRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemTokenLifetimePoliciesRequestBuilder) WithUrl(rawUrl string)(*ItemTokenLifetimePoliciesRequestBuilder) { + return NewItemTokenLifetimePoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/item_unset_verified_publisher_request_builder.go b/applications/item_unset_verified_publisher_request_builder.go index 8935343ca42..79d79f10ce5 100644 --- a/applications/item_unset_verified_publisher_request_builder.go +++ b/applications/item_unset_verified_publisher_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemUnsetVerifiedPublisherRequestBuilder) 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 *ItemUnsetVerifiedPublisherRequestBuilder) WithUrl(rawUrl string)(*ItemUnsetVerifiedPublisherRequestBuilder) { + return NewItemUnsetVerifiedPublisherRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/validate_properties_request_builder.go b/applications/validate_properties_request_builder.go index a890dcdc220..1a9d7f71827 100644 --- a/applications/validate_properties_request_builder.go +++ b/applications/validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ValidatePropertiesRequestBuilder) 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 *ValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ValidatePropertiesRequestBuilder) { + return NewValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applicationswithappid/applications_with_app_id_request_builder.go b/applicationswithappid/applications_with_app_id_request_builder.go index 65c282a7344..85c2f564cb8 100644 --- a/applicationswithappid/applications_with_app_id_request_builder.go +++ b/applicationswithappid/applications_with_app_id_request_builder.go @@ -165,3 +165,7 @@ func (m *ApplicationsWithAppIdRequestBuilder) ToPatchRequestInformation(ctx cont } 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 *ApplicationsWithAppIdRequestBuilder) WithUrl(rawUrl string)(*ApplicationsWithAppIdRequestBuilder) { + return NewApplicationsWithAppIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applicationswithuniquename/applications_with_unique_name_request_builder.go b/applicationswithuniquename/applications_with_unique_name_request_builder.go index eb3eb339d9e..0237cb9c399 100644 --- a/applicationswithuniquename/applications_with_unique_name_request_builder.go +++ b/applicationswithuniquename/applications_with_unique_name_request_builder.go @@ -165,3 +165,7 @@ func (m *ApplicationsWithUniqueNameRequestBuilder) ToPatchRequestInformation(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 *ApplicationsWithUniqueNameRequestBuilder) WithUrl(rawUrl string)(*ApplicationsWithUniqueNameRequestBuilder) { + return NewApplicationsWithUniqueNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applicationtemplates/application_template_item_request_builder.go b/applicationtemplates/application_template_item_request_builder.go index 1d8af933a9b..6615e81f018 100644 --- a/applicationtemplates/application_template_item_request_builder.go +++ b/applicationtemplates/application_template_item_request_builder.go @@ -82,3 +82,7 @@ func (m *ApplicationTemplateItemRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ApplicationTemplateItemRequestBuilder) WithUrl(rawUrl string)(*ApplicationTemplateItemRequestBuilder) { + return NewApplicationTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applicationtemplates/application_templates_request_builder.go b/applicationtemplates/application_templates_request_builder.go index fbe3fef5137..e4c953af5cf 100644 --- a/applicationtemplates/application_templates_request_builder.go +++ b/applicationtemplates/application_templates_request_builder.go @@ -39,8 +39,8 @@ type ApplicationTemplatesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ApplicationTemplatesRequestBuilderGetQueryParameters } -// ByApplicationTemplateIdString provides operations to manage the collection of applicationTemplate entities. -func (m *ApplicationTemplatesRequestBuilder) ByApplicationTemplateIdString(applicationTemplateId string)(*ApplicationTemplateItemRequestBuilder) { +// ByApplicationTemplateId provides operations to manage the collection of applicationTemplate entities. +func (m *ApplicationTemplatesRequestBuilder) ByApplicationTemplateId(applicationTemplateId string)(*ApplicationTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ApplicationTemplatesRequestBuilder) ToGetRequestInformation(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 *ApplicationTemplatesRequestBuilder) WithUrl(rawUrl string)(*ApplicationTemplatesRequestBuilder) { + return NewApplicationTemplatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applicationtemplates/count_request_builder.go b/applicationtemplates/count_request_builder.go index d302658b0fd..ac3be6ce656 100644 --- a/applicationtemplates/count_request_builder.go +++ b/applicationtemplates/count_request_builder.go @@ -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); +} diff --git a/applicationtemplates/item_instantiate_request_builder.go b/applicationtemplates/item_instantiate_request_builder.go index 566a60a1b3e..09a118d4bfe 100644 --- a/applicationtemplates/item_instantiate_request_builder.go +++ b/applicationtemplates/item_instantiate_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemInstantiateRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *ItemInstantiateRequestBuilder) WithUrl(rawUrl string)(*ItemInstantiateRequestBuilder) { + return NewItemInstantiateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/approleassignments/app_role_assignment_item_request_builder.go b/approleassignments/app_role_assignment_item_request_builder.go index 974eda0424c..c25f4636599 100644 --- a/approleassignments/app_role_assignment_item_request_builder.go +++ b/approleassignments/app_role_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AppRoleAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx cont } 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 *AppRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*AppRoleAssignmentItemRequestBuilder) { + return NewAppRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/approleassignments/app_role_assignments_request_builder.go b/approleassignments/app_role_assignments_request_builder.go index 436d6cd1886..292ba941c08 100644 --- a/approleassignments/app_role_assignments_request_builder.go +++ b/approleassignments/app_role_assignments_request_builder.go @@ -46,8 +46,8 @@ type AppRoleAssignmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAppRoleAssignmentIdString provides operations to manage the collection of appRoleAssignment entities. -func (m *AppRoleAssignmentsRequestBuilder) ByAppRoleAssignmentIdString(appRoleAssignmentId string)(*AppRoleAssignmentItemRequestBuilder) { +// ByAppRoleAssignmentId provides operations to manage the collection of appRoleAssignment entities. +func (m *AppRoleAssignmentsRequestBuilder) ByAppRoleAssignmentId(appRoleAssignmentId string)(*AppRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AppRoleAssignmentsRequestBuilder) 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 *AppRoleAssignmentsRequestBuilder) WithUrl(rawUrl string)(*AppRoleAssignmentsRequestBuilder) { + return NewAppRoleAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/approleassignments/count_request_builder.go b/approleassignments/count_request_builder.go index 8e34b75b458..435bbf795e2 100644 --- a/approleassignments/count_request_builder.go +++ b/approleassignments/count_request_builder.go @@ -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); +} diff --git a/approvalworkflowproviders/approval_workflow_provider_item_request_builder.go b/approvalworkflowproviders/approval_workflow_provider_item_request_builder.go index 9a1d62f4432..357743ae762 100644 --- a/approvalworkflowproviders/approval_workflow_provider_item_request_builder.go +++ b/approvalworkflowproviders/approval_workflow_provider_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ApprovalWorkflowProviderItemRequestBuilder) ToPatchRequestInformation(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 *ApprovalWorkflowProviderItemRequestBuilder) WithUrl(rawUrl string)(*ApprovalWorkflowProviderItemRequestBuilder) { + return NewApprovalWorkflowProviderItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/approvalworkflowproviders/approval_workflow_providers_request_builder.go b/approvalworkflowproviders/approval_workflow_providers_request_builder.go index 3d4053fa9bc..35b58f0eda7 100644 --- a/approvalworkflowproviders/approval_workflow_providers_request_builder.go +++ b/approvalworkflowproviders/approval_workflow_providers_request_builder.go @@ -46,8 +46,8 @@ type ApprovalWorkflowProvidersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByApprovalWorkflowProviderIdString provides operations to manage the collection of approvalWorkflowProvider entities. -func (m *ApprovalWorkflowProvidersRequestBuilder) ByApprovalWorkflowProviderIdString(approvalWorkflowProviderId string)(*ApprovalWorkflowProviderItemRequestBuilder) { +// ByApprovalWorkflowProviderId provides operations to manage the collection of approvalWorkflowProvider entities. +func (m *ApprovalWorkflowProvidersRequestBuilder) ByApprovalWorkflowProviderId(approvalWorkflowProviderId string)(*ApprovalWorkflowProviderItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ApprovalWorkflowProvidersRequestBuilder) ToPostRequestInformation(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 *ApprovalWorkflowProvidersRequestBuilder) WithUrl(rawUrl string)(*ApprovalWorkflowProvidersRequestBuilder) { + return NewApprovalWorkflowProvidersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/approvalworkflowproviders/count_request_builder.go b/approvalworkflowproviders/count_request_builder.go index 55d747e7071..2f4ceb7a5f5 100644 --- a/approvalworkflowproviders/count_request_builder.go +++ b/approvalworkflowproviders/count_request_builder.go @@ -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); +} diff --git a/approvalworkflowproviders/item_business_flows_business_flow_item_request_builder.go b/approvalworkflowproviders/item_business_flows_business_flow_item_request_builder.go index 8d8b911947a..915b7bf69b8 100644 --- a/approvalworkflowproviders/item_business_flows_business_flow_item_request_builder.go +++ b/approvalworkflowproviders/item_business_flows_business_flow_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemBusinessFlowsBusinessFlowItemRequestBuilder) ToPatchRequestInformat } 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 *ItemBusinessFlowsBusinessFlowItemRequestBuilder) WithUrl(rawUrl string)(*ItemBusinessFlowsBusinessFlowItemRequestBuilder) { + return NewItemBusinessFlowsBusinessFlowItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/approvalworkflowproviders/item_business_flows_count_request_builder.go b/approvalworkflowproviders/item_business_flows_count_request_builder.go index 0903590862e..67767d5da62 100644 --- a/approvalworkflowproviders/item_business_flows_count_request_builder.go +++ b/approvalworkflowproviders/item_business_flows_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemBusinessFlowsCountRequestBuilder) ToGetRequestInformation(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 *ItemBusinessFlowsCountRequestBuilder) WithUrl(rawUrl string)(*ItemBusinessFlowsCountRequestBuilder) { + return NewItemBusinessFlowsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/approvalworkflowproviders/item_business_flows_item_record_decisions_request_builder.go b/approvalworkflowproviders/item_business_flows_item_record_decisions_request_builder.go index 36c8dbb6465..389f7240f2e 100644 --- a/approvalworkflowproviders/item_business_flows_item_record_decisions_request_builder.go +++ b/approvalworkflowproviders/item_business_flows_item_record_decisions_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemBusinessFlowsItemRecordDecisionsRequestBuilder) ToPostRequestInform } 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 *ItemBusinessFlowsItemRecordDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemBusinessFlowsItemRecordDecisionsRequestBuilder) { + return NewItemBusinessFlowsItemRecordDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/approvalworkflowproviders/item_business_flows_request_builder.go b/approvalworkflowproviders/item_business_flows_request_builder.go index ae00b880545..a66f90e1f46 100644 --- a/approvalworkflowproviders/item_business_flows_request_builder.go +++ b/approvalworkflowproviders/item_business_flows_request_builder.go @@ -46,8 +46,8 @@ type ItemBusinessFlowsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByBusinessFlowIdString provides operations to manage the businessFlows property of the microsoft.graph.approvalWorkflowProvider entity. -func (m *ItemBusinessFlowsRequestBuilder) ByBusinessFlowIdString(businessFlowId string)(*ItemBusinessFlowsBusinessFlowItemRequestBuilder) { +// ByBusinessFlowId provides operations to manage the businessFlows property of the microsoft.graph.approvalWorkflowProvider entity. +func (m *ItemBusinessFlowsRequestBuilder) ByBusinessFlowId(businessFlowId string)(*ItemBusinessFlowsBusinessFlowItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemBusinessFlowsRequestBuilder) ToPostRequestInformation(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 *ItemBusinessFlowsRequestBuilder) WithUrl(rawUrl string)(*ItemBusinessFlowsRequestBuilder) { + return NewItemBusinessFlowsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_business_flow_item_request_builder.go b/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_business_flow_item_request_builder.go index 645156f9988..8b9f4538e95 100644 --- a/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_business_flow_item_request_builder.go +++ b/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_business_flow_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemBusinessFlowsWithRequestsAwaitingMyDecisionBusinessFlowItemRequestB } 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 *ItemBusinessFlowsWithRequestsAwaitingMyDecisionBusinessFlowItemRequestBuilder) WithUrl(rawUrl string)(*ItemBusinessFlowsWithRequestsAwaitingMyDecisionBusinessFlowItemRequestBuilder) { + return NewItemBusinessFlowsWithRequestsAwaitingMyDecisionBusinessFlowItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_count_request_builder.go b/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_count_request_builder.go index add9ab52d96..6a06744f0cd 100644 --- a/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_count_request_builder.go +++ b/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemBusinessFlowsWithRequestsAwaitingMyDecisionCountRequestBuilder) ToG } 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 *ItemBusinessFlowsWithRequestsAwaitingMyDecisionCountRequestBuilder) WithUrl(rawUrl string)(*ItemBusinessFlowsWithRequestsAwaitingMyDecisionCountRequestBuilder) { + return NewItemBusinessFlowsWithRequestsAwaitingMyDecisionCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_item_record_decisions_request_builder.go b/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_item_record_decisions_request_builder.go index 45a975da20d..b9532777f83 100644 --- a/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_item_record_decisions_request_builder.go +++ b/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_item_record_decisions_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemBusinessFlowsWithRequestsAwaitingMyDecisionItemRecordDecisionsReque } 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 *ItemBusinessFlowsWithRequestsAwaitingMyDecisionItemRecordDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemBusinessFlowsWithRequestsAwaitingMyDecisionItemRecordDecisionsRequestBuilder) { + return NewItemBusinessFlowsWithRequestsAwaitingMyDecisionItemRecordDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_request_builder.go b/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_request_builder.go index 78d59362af1..7af7014fcac 100644 --- a/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_request_builder.go +++ b/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_request_builder.go @@ -46,8 +46,8 @@ type ItemBusinessFlowsWithRequestsAwaitingMyDecisionRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByBusinessFlowIdString provides operations to manage the businessFlowsWithRequestsAwaitingMyDecision property of the microsoft.graph.approvalWorkflowProvider entity. -func (m *ItemBusinessFlowsWithRequestsAwaitingMyDecisionRequestBuilder) ByBusinessFlowIdString(businessFlowId string)(*ItemBusinessFlowsWithRequestsAwaitingMyDecisionBusinessFlowItemRequestBuilder) { +// ByBusinessFlowId provides operations to manage the businessFlowsWithRequestsAwaitingMyDecision property of the microsoft.graph.approvalWorkflowProvider entity. +func (m *ItemBusinessFlowsWithRequestsAwaitingMyDecisionRequestBuilder) ByBusinessFlowId(businessFlowId string)(*ItemBusinessFlowsWithRequestsAwaitingMyDecisionBusinessFlowItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemBusinessFlowsWithRequestsAwaitingMyDecisionRequestBuilder) ToPostRe } 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 *ItemBusinessFlowsWithRequestsAwaitingMyDecisionRequestBuilder) WithUrl(rawUrl string)(*ItemBusinessFlowsWithRequestsAwaitingMyDecisionRequestBuilder) { + return NewItemBusinessFlowsWithRequestsAwaitingMyDecisionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/approvalworkflowproviders/item_policy_templates_count_request_builder.go b/approvalworkflowproviders/item_policy_templates_count_request_builder.go index fa5151aed85..514062b1686 100644 --- a/approvalworkflowproviders/item_policy_templates_count_request_builder.go +++ b/approvalworkflowproviders/item_policy_templates_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPolicyTemplatesCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemPolicyTemplatesCountRequestBuilder) WithUrl(rawUrl string)(*ItemPolicyTemplatesCountRequestBuilder) { + return NewItemPolicyTemplatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/approvalworkflowproviders/item_policy_templates_governance_policy_template_item_request_builder.go b/approvalworkflowproviders/item_policy_templates_governance_policy_template_item_request_builder.go index 0b1142f782a..ae96fd6c7bb 100644 --- a/approvalworkflowproviders/item_policy_templates_governance_policy_template_item_request_builder.go +++ b/approvalworkflowproviders/item_policy_templates_governance_policy_template_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemPolicyTemplatesGovernancePolicyTemplateItemRequestBuilder) ToPatchR } 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 *ItemPolicyTemplatesGovernancePolicyTemplateItemRequestBuilder) WithUrl(rawUrl string)(*ItemPolicyTemplatesGovernancePolicyTemplateItemRequestBuilder) { + return NewItemPolicyTemplatesGovernancePolicyTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/approvalworkflowproviders/item_policy_templates_request_builder.go b/approvalworkflowproviders/item_policy_templates_request_builder.go index 1bbdd26d57c..547d4538bec 100644 --- a/approvalworkflowproviders/item_policy_templates_request_builder.go +++ b/approvalworkflowproviders/item_policy_templates_request_builder.go @@ -46,8 +46,8 @@ type ItemPolicyTemplatesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernancePolicyTemplateIdString provides operations to manage the policyTemplates property of the microsoft.graph.approvalWorkflowProvider entity. -func (m *ItemPolicyTemplatesRequestBuilder) ByGovernancePolicyTemplateIdString(governancePolicyTemplateId string)(*ItemPolicyTemplatesGovernancePolicyTemplateItemRequestBuilder) { +// ByGovernancePolicyTemplateId provides operations to manage the policyTemplates property of the microsoft.graph.approvalWorkflowProvider entity. +func (m *ItemPolicyTemplatesRequestBuilder) ByGovernancePolicyTemplateId(governancePolicyTemplateId string)(*ItemPolicyTemplatesGovernancePolicyTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemPolicyTemplatesRequestBuilder) 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 *ItemPolicyTemplatesRequestBuilder) WithUrl(rawUrl string)(*ItemPolicyTemplatesRequestBuilder) { + return NewItemPolicyTemplatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/auditlogs/audit_logs_request_builder.go b/auditlogs/audit_logs_request_builder.go index 3abfb570273..e8ff139cf73 100644 --- a/auditlogs/audit_logs_request_builder.go +++ b/auditlogs/audit_logs_request_builder.go @@ -138,3 +138,7 @@ func (m *AuditLogsRequestBuilder) ToPatchRequestInformation(ctx context.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 *AuditLogsRequestBuilder) WithUrl(rawUrl string)(*AuditLogsRequestBuilder) { + return NewAuditLogsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/auditlogs/custom_security_attribute_audits_count_request_builder.go b/auditlogs/custom_security_attribute_audits_count_request_builder.go index c51e4df8e41..db44f74bb17 100644 --- a/auditlogs/custom_security_attribute_audits_count_request_builder.go +++ b/auditlogs/custom_security_attribute_audits_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CustomSecurityAttributeAuditsCountRequestBuilder) ToGetRequestInformati } 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 *CustomSecurityAttributeAuditsCountRequestBuilder) WithUrl(rawUrl string)(*CustomSecurityAttributeAuditsCountRequestBuilder) { + return NewCustomSecurityAttributeAuditsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/auditlogs/custom_security_attribute_audits_custom_security_attribute_audit_item_request_builder.go b/auditlogs/custom_security_attribute_audits_custom_security_attribute_audit_item_request_builder.go index e78f7700e87..b5420f543e2 100644 --- a/auditlogs/custom_security_attribute_audits_custom_security_attribute_audit_item_request_builder.go +++ b/auditlogs/custom_security_attribute_audits_custom_security_attribute_audit_item_request_builder.go @@ -153,3 +153,7 @@ func (m *CustomSecurityAttributeAuditsCustomSecurityAttributeAuditItemRequestBui } 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 *CustomSecurityAttributeAuditsCustomSecurityAttributeAuditItemRequestBuilder) WithUrl(rawUrl string)(*CustomSecurityAttributeAuditsCustomSecurityAttributeAuditItemRequestBuilder) { + return NewCustomSecurityAttributeAuditsCustomSecurityAttributeAuditItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/auditlogs/custom_security_attribute_audits_request_builder.go b/auditlogs/custom_security_attribute_audits_request_builder.go index 87cbc323e4b..6505af6c697 100644 --- a/auditlogs/custom_security_attribute_audits_request_builder.go +++ b/auditlogs/custom_security_attribute_audits_request_builder.go @@ -46,8 +46,8 @@ type CustomSecurityAttributeAuditsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCustomSecurityAttributeAuditIdString provides operations to manage the customSecurityAttributeAudits property of the microsoft.graph.auditLogRoot entity. -func (m *CustomSecurityAttributeAuditsRequestBuilder) ByCustomSecurityAttributeAuditIdString(customSecurityAttributeAuditId string)(*CustomSecurityAttributeAuditsCustomSecurityAttributeAuditItemRequestBuilder) { +// ByCustomSecurityAttributeAuditId provides operations to manage the customSecurityAttributeAudits property of the microsoft.graph.auditLogRoot entity. +func (m *CustomSecurityAttributeAuditsRequestBuilder) ByCustomSecurityAttributeAuditId(customSecurityAttributeAuditId string)(*CustomSecurityAttributeAuditsCustomSecurityAttributeAuditItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *CustomSecurityAttributeAuditsRequestBuilder) ToPostRequestInformation(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 *CustomSecurityAttributeAuditsRequestBuilder) WithUrl(rawUrl string)(*CustomSecurityAttributeAuditsRequestBuilder) { + return NewCustomSecurityAttributeAuditsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/auditlogs/directory_audits_count_request_builder.go b/auditlogs/directory_audits_count_request_builder.go index fac23bc8bb6..110add22ca0 100644 --- a/auditlogs/directory_audits_count_request_builder.go +++ b/auditlogs/directory_audits_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DirectoryAuditsCountRequestBuilder) ToGetRequestInformation(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 *DirectoryAuditsCountRequestBuilder) WithUrl(rawUrl string)(*DirectoryAuditsCountRequestBuilder) { + return NewDirectoryAuditsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/auditlogs/directory_audits_directory_audit_item_request_builder.go b/auditlogs/directory_audits_directory_audit_item_request_builder.go index e11d2afb641..fdb042d18b6 100644 --- a/auditlogs/directory_audits_directory_audit_item_request_builder.go +++ b/auditlogs/directory_audits_directory_audit_item_request_builder.go @@ -156,3 +156,7 @@ func (m *DirectoryAuditsDirectoryAuditItemRequestBuilder) ToPatchRequestInformat } 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 *DirectoryAuditsDirectoryAuditItemRequestBuilder) WithUrl(rawUrl string)(*DirectoryAuditsDirectoryAuditItemRequestBuilder) { + return NewDirectoryAuditsDirectoryAuditItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/auditlogs/directory_audits_request_builder.go b/auditlogs/directory_audits_request_builder.go index af710c34732..321467e8d65 100644 --- a/auditlogs/directory_audits_request_builder.go +++ b/auditlogs/directory_audits_request_builder.go @@ -46,8 +46,8 @@ type DirectoryAuditsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDirectoryAuditIdString provides operations to manage the directoryAudits property of the microsoft.graph.auditLogRoot entity. -func (m *DirectoryAuditsRequestBuilder) ByDirectoryAuditIdString(directoryAuditId string)(*DirectoryAuditsDirectoryAuditItemRequestBuilder) { +// ByDirectoryAuditId provides operations to manage the directoryAudits property of the microsoft.graph.auditLogRoot entity. +func (m *DirectoryAuditsRequestBuilder) ByDirectoryAuditId(directoryAuditId string)(*DirectoryAuditsDirectoryAuditItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *DirectoryAuditsRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *DirectoryAuditsRequestBuilder) WithUrl(rawUrl string)(*DirectoryAuditsRequestBuilder) { + return NewDirectoryAuditsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/auditlogs/directory_provisioning_count_request_builder.go b/auditlogs/directory_provisioning_count_request_builder.go index c65b2ee728a..49626d601ef 100644 --- a/auditlogs/directory_provisioning_count_request_builder.go +++ b/auditlogs/directory_provisioning_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DirectoryProvisioningCountRequestBuilder) ToGetRequestInformation(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 *DirectoryProvisioningCountRequestBuilder) WithUrl(rawUrl string)(*DirectoryProvisioningCountRequestBuilder) { + return NewDirectoryProvisioningCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/auditlogs/directory_provisioning_provisioning_object_summary_item_request_builder.go b/auditlogs/directory_provisioning_provisioning_object_summary_item_request_builder.go index 7865e4528b6..3dc40a7fded 100644 --- a/auditlogs/directory_provisioning_provisioning_object_summary_item_request_builder.go +++ b/auditlogs/directory_provisioning_provisioning_object_summary_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DirectoryProvisioningProvisioningObjectSummaryItemRequestBuilder) 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 *DirectoryProvisioningProvisioningObjectSummaryItemRequestBuilder) WithUrl(rawUrl string)(*DirectoryProvisioningProvisioningObjectSummaryItemRequestBuilder) { + return NewDirectoryProvisioningProvisioningObjectSummaryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/auditlogs/directory_provisioning_request_builder.go b/auditlogs/directory_provisioning_request_builder.go index 0f03c8247d2..a4a5e08249b 100644 --- a/auditlogs/directory_provisioning_request_builder.go +++ b/auditlogs/directory_provisioning_request_builder.go @@ -46,8 +46,8 @@ type DirectoryProvisioningRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByProvisioningObjectSummaryIdString provides operations to manage the directoryProvisioning property of the microsoft.graph.auditLogRoot entity. -func (m *DirectoryProvisioningRequestBuilder) ByProvisioningObjectSummaryIdString(provisioningObjectSummaryId string)(*DirectoryProvisioningProvisioningObjectSummaryItemRequestBuilder) { +// ByProvisioningObjectSummaryId provides operations to manage the directoryProvisioning property of the microsoft.graph.auditLogRoot entity. +func (m *DirectoryProvisioningRequestBuilder) ByProvisioningObjectSummaryId(provisioningObjectSummaryId string)(*DirectoryProvisioningProvisioningObjectSummaryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DirectoryProvisioningRequestBuilder) 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 *DirectoryProvisioningRequestBuilder) WithUrl(rawUrl string)(*DirectoryProvisioningRequestBuilder) { + return NewDirectoryProvisioningRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/auditlogs/provisioning_count_request_builder.go b/auditlogs/provisioning_count_request_builder.go index c741b416ff3..523de83da8d 100644 --- a/auditlogs/provisioning_count_request_builder.go +++ b/auditlogs/provisioning_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ProvisioningCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ProvisioningCountRequestBuilder) WithUrl(rawUrl string)(*ProvisioningCountRequestBuilder) { + return NewProvisioningCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/auditlogs/provisioning_provisioning_object_summary_item_request_builder.go b/auditlogs/provisioning_provisioning_object_summary_item_request_builder.go index 06dbc5ee2ec..c5f2321fb60 100644 --- a/auditlogs/provisioning_provisioning_object_summary_item_request_builder.go +++ b/auditlogs/provisioning_provisioning_object_summary_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ProvisioningProvisioningObjectSummaryItemRequestBuilder) ToPatchRequest } 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 *ProvisioningProvisioningObjectSummaryItemRequestBuilder) WithUrl(rawUrl string)(*ProvisioningProvisioningObjectSummaryItemRequestBuilder) { + return NewProvisioningProvisioningObjectSummaryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/auditlogs/provisioning_request_builder.go b/auditlogs/provisioning_request_builder.go index cc9f261c7ef..fe5ad0d3094 100644 --- a/auditlogs/provisioning_request_builder.go +++ b/auditlogs/provisioning_request_builder.go @@ -46,8 +46,8 @@ type ProvisioningRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByProvisioningObjectSummaryIdString provides operations to manage the provisioning property of the microsoft.graph.auditLogRoot entity. -func (m *ProvisioningRequestBuilder) ByProvisioningObjectSummaryIdString(provisioningObjectSummaryId string)(*ProvisioningProvisioningObjectSummaryItemRequestBuilder) { +// ByProvisioningObjectSummaryId provides operations to manage the provisioning property of the microsoft.graph.auditLogRoot entity. +func (m *ProvisioningRequestBuilder) ByProvisioningObjectSummaryId(provisioningObjectSummaryId string)(*ProvisioningProvisioningObjectSummaryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ProvisioningRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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 *ProvisioningRequestBuilder) WithUrl(rawUrl string)(*ProvisioningRequestBuilder) { + return NewProvisioningRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/auditlogs/sign_ins_confirm_compromised_request_builder.go b/auditlogs/sign_ins_confirm_compromised_request_builder.go index aa30240d94b..826d74b5baf 100644 --- a/auditlogs/sign_ins_confirm_compromised_request_builder.go +++ b/auditlogs/sign_ins_confirm_compromised_request_builder.go @@ -65,3 +65,7 @@ func (m *SignInsConfirmCompromisedRequestBuilder) ToPostRequestInformation(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 *SignInsConfirmCompromisedRequestBuilder) WithUrl(rawUrl string)(*SignInsConfirmCompromisedRequestBuilder) { + return NewSignInsConfirmCompromisedRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/auditlogs/sign_ins_confirm_safe_request_builder.go b/auditlogs/sign_ins_confirm_safe_request_builder.go index fcda8db6770..18ceb63078a 100644 --- a/auditlogs/sign_ins_confirm_safe_request_builder.go +++ b/auditlogs/sign_ins_confirm_safe_request_builder.go @@ -65,3 +65,7 @@ func (m *SignInsConfirmSafeRequestBuilder) 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 *SignInsConfirmSafeRequestBuilder) WithUrl(rawUrl string)(*SignInsConfirmSafeRequestBuilder) { + return NewSignInsConfirmSafeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/auditlogs/sign_ins_count_request_builder.go b/auditlogs/sign_ins_count_request_builder.go index 6365e8abf5e..4a4ba6340a8 100644 --- a/auditlogs/sign_ins_count_request_builder.go +++ b/auditlogs/sign_ins_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SignInsCountRequestBuilder) ToGetRequestInformation(ctx context.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 *SignInsCountRequestBuilder) WithUrl(rawUrl string)(*SignInsCountRequestBuilder) { + return NewSignInsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/auditlogs/sign_ins_request_builder.go b/auditlogs/sign_ins_request_builder.go index e9fe121856b..2685c378906 100644 --- a/auditlogs/sign_ins_request_builder.go +++ b/auditlogs/sign_ins_request_builder.go @@ -46,8 +46,8 @@ type SignInsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySignInIdString provides operations to manage the signIns property of the microsoft.graph.auditLogRoot entity. -func (m *SignInsRequestBuilder) BySignInIdString(signInId string)(*SignInsSignInItemRequestBuilder) { +// BySignInId provides operations to manage the signIns property of the microsoft.graph.auditLogRoot entity. +func (m *SignInsRequestBuilder) BySignInId(signInId string)(*SignInsSignInItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *SignInsRequestBuilder) ToPostRequestInformation(ctx context.Context, bo } 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 *SignInsRequestBuilder) WithUrl(rawUrl string)(*SignInsRequestBuilder) { + return NewSignInsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/auditlogs/sign_ins_sign_in_item_request_builder.go b/auditlogs/sign_ins_sign_in_item_request_builder.go index e8bb895824a..6f3c57bdc60 100644 --- a/auditlogs/sign_ins_sign_in_item_request_builder.go +++ b/auditlogs/sign_ins_sign_in_item_request_builder.go @@ -18,7 +18,7 @@ type SignInsSignInItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SignInsSignInItemRequestBuilderGetQueryParameters get a signIn object that contains a specific user sign-in event for your tenant. This includes sign-ins where a user is asked to enter a username or password, and session tokens. +// SignInsSignInItemRequestBuilderGetQueryParameters get a signIn object that contains a specific user sign-in event for your tenant that includes sign-ins where a user is asked to enter a username or password, and session tokens. type SignInsSignInItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *SignInsSignInItemRequestBuilder) Delete(ctx context.Context, requestCon } return nil } -// Get get a signIn object that contains a specific user sign-in event for your tenant. This includes sign-ins where a user is asked to enter a username or password, and session tokens. +// Get get a signIn object that contains a specific user sign-in event for your tenant that includes sign-ins where a user is asked to enter a username or password, and session tokens. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/signin-get?view=graph-rest-1.0 @@ -123,7 +123,7 @@ func (m *SignInsSignInItemRequestBuilder) ToDeleteRequestInformation(ctx context } return requestInfo, nil } -// ToGetRequestInformation get a signIn object that contains a specific user sign-in event for your tenant. This includes sign-ins where a user is asked to enter a username or password, and session tokens. +// ToGetRequestInformation get a signIn object that contains a specific user sign-in event for your tenant that includes sign-ins where a user is asked to enter a username or password, and session tokens. func (m *SignInsSignInItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SignInsSignInItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -156,3 +156,7 @@ func (m *SignInsSignInItemRequestBuilder) ToPatchRequestInformation(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 *SignInsSignInItemRequestBuilder) WithUrl(rawUrl string)(*SignInsSignInItemRequestBuilder) { + return NewSignInsSignInItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/authenticationmethodconfigurations/authentication_method_configuration_item_request_builder.go b/authenticationmethodconfigurations/authentication_method_configuration_item_request_builder.go index 68cb0402396..cd5d1d30789 100644 --- a/authenticationmethodconfigurations/authentication_method_configuration_item_request_builder.go +++ b/authenticationmethodconfigurations/authentication_method_configuration_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AuthenticationMethodConfigurationItemRequestBuilder) 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 *AuthenticationMethodConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodConfigurationItemRequestBuilder) { + return NewAuthenticationMethodConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/authenticationmethodconfigurations/authentication_method_configurations_request_builder.go b/authenticationmethodconfigurations/authentication_method_configurations_request_builder.go index ab43cb7eed4..83c40fddf6d 100644 --- a/authenticationmethodconfigurations/authentication_method_configurations_request_builder.go +++ b/authenticationmethodconfigurations/authentication_method_configurations_request_builder.go @@ -46,8 +46,8 @@ type AuthenticationMethodConfigurationsRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAuthenticationMethodConfigurationIdString provides operations to manage the collection of authenticationMethodConfiguration entities. -func (m *AuthenticationMethodConfigurationsRequestBuilder) ByAuthenticationMethodConfigurationIdString(authenticationMethodConfigurationId string)(*AuthenticationMethodConfigurationItemRequestBuilder) { +// ByAuthenticationMethodConfigurationId provides operations to manage the collection of authenticationMethodConfiguration entities. +func (m *AuthenticationMethodConfigurationsRequestBuilder) ByAuthenticationMethodConfigurationId(authenticationMethodConfigurationId string)(*AuthenticationMethodConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AuthenticationMethodConfigurationsRequestBuilder) ToPostRequestInformat } 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 *AuthenticationMethodConfigurationsRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodConfigurationsRequestBuilder) { + return NewAuthenticationMethodConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/authenticationmethodconfigurations/count_request_builder.go b/authenticationmethodconfigurations/count_request_builder.go index 38f813d18c8..b2a5460169d 100644 --- a/authenticationmethodconfigurations/count_request_builder.go +++ b/authenticationmethodconfigurations/count_request_builder.go @@ -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); +} diff --git a/authenticationmethodspolicy/authentication_method_configurations_authentication_method_configuration_item_request_builder.go b/authenticationmethodspolicy/authentication_method_configurations_authentication_method_configuration_item_request_builder.go index 6753c5fbd41..8a8d33e40b0 100644 --- a/authenticationmethodspolicy/authentication_method_configurations_authentication_method_configuration_item_request_builder.go +++ b/authenticationmethodspolicy/authentication_method_configurations_authentication_method_configuration_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AuthenticationMethodConfigurationsAuthenticationMethodConfigurationItem } 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 *AuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilder) { + return NewAuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/authenticationmethodspolicy/authentication_method_configurations_count_request_builder.go b/authenticationmethodspolicy/authentication_method_configurations_count_request_builder.go index 67396b26169..06dee3fc13d 100644 --- a/authenticationmethodspolicy/authentication_method_configurations_count_request_builder.go +++ b/authenticationmethodspolicy/authentication_method_configurations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AuthenticationMethodConfigurationsCountRequestBuilder) ToGetRequestInfo } 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 *AuthenticationMethodConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodConfigurationsCountRequestBuilder) { + return NewAuthenticationMethodConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/authenticationmethodspolicy/authentication_method_configurations_request_builder.go b/authenticationmethodspolicy/authentication_method_configurations_request_builder.go index 81dd641c79c..8ed133a7fab 100644 --- a/authenticationmethodspolicy/authentication_method_configurations_request_builder.go +++ b/authenticationmethodspolicy/authentication_method_configurations_request_builder.go @@ -46,8 +46,8 @@ type AuthenticationMethodConfigurationsRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAuthenticationMethodConfigurationIdString provides operations to manage the authenticationMethodConfigurations property of the microsoft.graph.authenticationMethodsPolicy entity. -func (m *AuthenticationMethodConfigurationsRequestBuilder) ByAuthenticationMethodConfigurationIdString(authenticationMethodConfigurationId string)(*AuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilder) { +// ByAuthenticationMethodConfigurationId provides operations to manage the authenticationMethodConfigurations property of the microsoft.graph.authenticationMethodsPolicy entity. +func (m *AuthenticationMethodConfigurationsRequestBuilder) ByAuthenticationMethodConfigurationId(authenticationMethodConfigurationId string)(*AuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AuthenticationMethodConfigurationsRequestBuilder) ToPostRequestInformat } 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 *AuthenticationMethodConfigurationsRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodConfigurationsRequestBuilder) { + return NewAuthenticationMethodConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/authenticationmethodspolicy/authentication_methods_policy_request_builder.go b/authenticationmethodspolicy/authentication_methods_policy_request_builder.go index e0ed1dbf57b..a3838e8bc9f 100644 --- a/authenticationmethodspolicy/authentication_methods_policy_request_builder.go +++ b/authenticationmethodspolicy/authentication_methods_policy_request_builder.go @@ -122,3 +122,7 @@ func (m *AuthenticationMethodsPolicyRequestBuilder) ToPatchRequestInformation(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 *AuthenticationMethodsPolicyRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodsPolicyRequestBuilder) { + return NewAuthenticationMethodsPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/booking_business_item_request_builder.go b/bookingbusinesses/booking_business_item_request_builder.go index d448802f58e..c364b3175b5 100644 --- a/bookingbusinesses/booking_business_item_request_builder.go +++ b/bookingbusinesses/booking_business_item_request_builder.go @@ -198,3 +198,7 @@ func (m *BookingBusinessItemRequestBuilder) ToPatchRequestInformation(ctx contex func (m *BookingBusinessItemRequestBuilder) Unpublish()(*ItemUnpublishRequestBuilder) { return NewItemUnpublishRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *BookingBusinessItemRequestBuilder) WithUrl(rawUrl string)(*BookingBusinessItemRequestBuilder) { + return NewBookingBusinessItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/booking_businesses_request_builder.go b/bookingbusinesses/booking_businesses_request_builder.go index 63caacb3126..7ebe0fe20fd 100644 --- a/bookingbusinesses/booking_businesses_request_builder.go +++ b/bookingbusinesses/booking_businesses_request_builder.go @@ -46,8 +46,8 @@ type BookingBusinessesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByBookingBusinessIdString provides operations to manage the collection of bookingBusiness entities. -func (m *BookingBusinessesRequestBuilder) ByBookingBusinessIdString(bookingBusinessId string)(*BookingBusinessItemRequestBuilder) { +// ByBookingBusinessId provides operations to manage the collection of bookingBusiness entities. +func (m *BookingBusinessesRequestBuilder) ByBookingBusinessId(bookingBusinessId string)(*BookingBusinessItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *BookingBusinessesRequestBuilder) ToPostRequestInformation(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 *BookingBusinessesRequestBuilder) WithUrl(rawUrl string)(*BookingBusinessesRequestBuilder) { + return NewBookingBusinessesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/count_request_builder.go b/bookingbusinesses/count_request_builder.go index 62096b41ed5..11a146062cc 100644 --- a/bookingbusinesses/count_request_builder.go +++ b/bookingbusinesses/count_request_builder.go @@ -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); +} diff --git a/bookingbusinesses/item_appointments_booking_appointment_item_request_builder.go b/bookingbusinesses/item_appointments_booking_appointment_item_request_builder.go index 5ae300ed97e..d95d843f33f 100644 --- a/bookingbusinesses/item_appointments_booking_appointment_item_request_builder.go +++ b/bookingbusinesses/item_appointments_booking_appointment_item_request_builder.go @@ -166,3 +166,7 @@ func (m *ItemAppointmentsBookingAppointmentItemRequestBuilder) ToPatchRequestInf } 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 *ItemAppointmentsBookingAppointmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemAppointmentsBookingAppointmentItemRequestBuilder) { + return NewItemAppointmentsBookingAppointmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/item_appointments_count_request_builder.go b/bookingbusinesses/item_appointments_count_request_builder.go index 7a770c8cfee..7690cf116b2 100644 --- a/bookingbusinesses/item_appointments_count_request_builder.go +++ b/bookingbusinesses/item_appointments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAppointmentsCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemAppointmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAppointmentsCountRequestBuilder) { + return NewItemAppointmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/item_appointments_item_cancel_request_builder.go b/bookingbusinesses/item_appointments_item_cancel_request_builder.go index 2d1851360b0..93945ab9601 100644 --- a/bookingbusinesses/item_appointments_item_cancel_request_builder.go +++ b/bookingbusinesses/item_appointments_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemAppointmentsItemCancelRequestBuilder) 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 *ItemAppointmentsItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemAppointmentsItemCancelRequestBuilder) { + return NewItemAppointmentsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/item_appointments_request_builder.go b/bookingbusinesses/item_appointments_request_builder.go index 0a740dbd911..c60642ee667 100644 --- a/bookingbusinesses/item_appointments_request_builder.go +++ b/bookingbusinesses/item_appointments_request_builder.go @@ -46,8 +46,8 @@ type ItemAppointmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByBookingAppointmentIdString provides operations to manage the appointments property of the microsoft.graph.bookingBusiness entity. -func (m *ItemAppointmentsRequestBuilder) ByBookingAppointmentIdString(bookingAppointmentId string)(*ItemAppointmentsBookingAppointmentItemRequestBuilder) { +// ByBookingAppointmentId provides operations to manage the appointments property of the microsoft.graph.bookingBusiness entity. +func (m *ItemAppointmentsRequestBuilder) ByBookingAppointmentId(bookingAppointmentId string)(*ItemAppointmentsBookingAppointmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemAppointmentsRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ItemAppointmentsRequestBuilder) WithUrl(rawUrl string)(*ItemAppointmentsRequestBuilder) { + return NewItemAppointmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/item_calendar_view_booking_appointment_item_request_builder.go b/bookingbusinesses/item_calendar_view_booking_appointment_item_request_builder.go index afd82d55365..12a4ff98bf0 100644 --- a/bookingbusinesses/item_calendar_view_booking_appointment_item_request_builder.go +++ b/bookingbusinesses/item_calendar_view_booking_appointment_item_request_builder.go @@ -21,13 +21,13 @@ type ItemCalendarViewBookingAppointmentItemRequestBuilderDeleteRequestConfigurat // ItemCalendarViewBookingAppointmentItemRequestBuilderGetQueryParameters the set of appointments of this business in a specified date range. Read-only. Nullable. type ItemCalendarViewBookingAppointmentItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - End *string + End *string `uriparametername:"end"` // Expand related entities Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - Start *string + Start *string `uriparametername:"start"` } // ItemCalendarViewBookingAppointmentItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarViewBookingAppointmentItemRequestBuilderGetRequestConfiguration struct { @@ -161,3 +161,7 @@ func (m *ItemCalendarViewBookingAppointmentItemRequestBuilder) ToPatchRequestInf } 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 *ItemCalendarViewBookingAppointmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewBookingAppointmentItemRequestBuilder) { + return NewItemCalendarViewBookingAppointmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/item_calendar_view_count_request_builder.go b/bookingbusinesses/item_calendar_view_count_request_builder.go index 978b07af077..26a93614fa8 100644 --- a/bookingbusinesses/item_calendar_view_count_request_builder.go +++ b/bookingbusinesses/item_calendar_view_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemCalendarViewCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemCalendarViewCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewCountRequestBuilder) { + return NewItemCalendarViewCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/item_calendar_view_item_cancel_request_builder.go b/bookingbusinesses/item_calendar_view_item_cancel_request_builder.go index 500036c8943..4661b2d8778 100644 --- a/bookingbusinesses/item_calendar_view_item_cancel_request_builder.go +++ b/bookingbusinesses/item_calendar_view_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemCancelRequestBuilder) 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 *ItemCalendarViewItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemCancelRequestBuilder) { + return NewItemCalendarViewItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/item_calendar_view_request_builder.go b/bookingbusinesses/item_calendar_view_request_builder.go index 58ed6090734..e54646c7295 100644 --- a/bookingbusinesses/item_calendar_view_request_builder.go +++ b/bookingbusinesses/item_calendar_view_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarViewRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - End *string + End *string `uriparametername:"end"` // Expand related entities Expand []string `uriparametername:"%24expand"` // Filter items by property values @@ -30,7 +30,7 @@ type ItemCalendarViewRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - Start *string + Start *string `uriparametername:"start"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -50,8 +50,8 @@ type ItemCalendarViewRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByBookingAppointmentIdString provides operations to manage the calendarView property of the microsoft.graph.bookingBusiness entity. -func (m *ItemCalendarViewRequestBuilder) ByBookingAppointmentIdString(bookingAppointmentId string)(*ItemCalendarViewBookingAppointmentItemRequestBuilder) { +// ByBookingAppointmentId provides operations to manage the calendarView property of the microsoft.graph.bookingBusiness entity. +func (m *ItemCalendarViewRequestBuilder) ByBookingAppointmentId(bookingAppointmentId string)(*ItemCalendarViewBookingAppointmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *ItemCalendarViewRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ItemCalendarViewRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewRequestBuilder) { + return NewItemCalendarViewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/item_custom_questions_booking_custom_question_item_request_builder.go b/bookingbusinesses/item_custom_questions_booking_custom_question_item_request_builder.go index 2559741a680..900d820f5b0 100644 --- a/bookingbusinesses/item_custom_questions_booking_custom_question_item_request_builder.go +++ b/bookingbusinesses/item_custom_questions_booking_custom_question_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) ToPatchRequ } 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 *ItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) { + return NewItemCustomQuestionsBookingCustomQuestionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/item_custom_questions_count_request_builder.go b/bookingbusinesses/item_custom_questions_count_request_builder.go index 5cdfadbc1f3..f1058f6fb29 100644 --- a/bookingbusinesses/item_custom_questions_count_request_builder.go +++ b/bookingbusinesses/item_custom_questions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemCustomQuestionsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemCustomQuestionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCustomQuestionsCountRequestBuilder) { + return NewItemCustomQuestionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/item_custom_questions_request_builder.go b/bookingbusinesses/item_custom_questions_request_builder.go index 089b06f3965..36c6ad900ea 100644 --- a/bookingbusinesses/item_custom_questions_request_builder.go +++ b/bookingbusinesses/item_custom_questions_request_builder.go @@ -46,8 +46,8 @@ type ItemCustomQuestionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByBookingCustomQuestionIdString provides operations to manage the customQuestions property of the microsoft.graph.bookingBusiness entity. -func (m *ItemCustomQuestionsRequestBuilder) ByBookingCustomQuestionIdString(bookingCustomQuestionId string)(*ItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) { +// ByBookingCustomQuestionId provides operations to manage the customQuestions property of the microsoft.graph.bookingBusiness entity. +func (m *ItemCustomQuestionsRequestBuilder) ByBookingCustomQuestionId(bookingCustomQuestionId string)(*ItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemCustomQuestionsRequestBuilder) 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 *ItemCustomQuestionsRequestBuilder) WithUrl(rawUrl string)(*ItemCustomQuestionsRequestBuilder) { + return NewItemCustomQuestionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/item_customers_booking_customer_item_request_builder.go b/bookingbusinesses/item_customers_booking_customer_item_request_builder.go index 62e58ac47a5..ff9d15ba836 100644 --- a/bookingbusinesses/item_customers_booking_customer_item_request_builder.go +++ b/bookingbusinesses/item_customers_booking_customer_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemCustomersBookingCustomerItemRequestBuilder) ToPatchRequestInformati } 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 *ItemCustomersBookingCustomerItemRequestBuilder) WithUrl(rawUrl string)(*ItemCustomersBookingCustomerItemRequestBuilder) { + return NewItemCustomersBookingCustomerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/item_customers_count_request_builder.go b/bookingbusinesses/item_customers_count_request_builder.go index 92bdbab61fc..51a44d16298 100644 --- a/bookingbusinesses/item_customers_count_request_builder.go +++ b/bookingbusinesses/item_customers_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemCustomersCountRequestBuilder) 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 *ItemCustomersCountRequestBuilder) WithUrl(rawUrl string)(*ItemCustomersCountRequestBuilder) { + return NewItemCustomersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/item_customers_request_builder.go b/bookingbusinesses/item_customers_request_builder.go index 588460804cd..814cb89ea70 100644 --- a/bookingbusinesses/item_customers_request_builder.go +++ b/bookingbusinesses/item_customers_request_builder.go @@ -46,8 +46,8 @@ type ItemCustomersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByBookingCustomerIdString provides operations to manage the customers property of the microsoft.graph.bookingBusiness entity. -func (m *ItemCustomersRequestBuilder) ByBookingCustomerIdString(bookingCustomerId string)(*ItemCustomersBookingCustomerItemRequestBuilder) { +// ByBookingCustomerId provides operations to manage the customers property of the microsoft.graph.bookingBusiness entity. +func (m *ItemCustomersRequestBuilder) ByBookingCustomerId(bookingCustomerId string)(*ItemCustomersBookingCustomerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemCustomersRequestBuilder) 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 *ItemCustomersRequestBuilder) WithUrl(rawUrl string)(*ItemCustomersRequestBuilder) { + return NewItemCustomersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/item_get_staff_availability_request_builder.go b/bookingbusinesses/item_get_staff_availability_request_builder.go index 5f194aa7d96..bd334782a21 100644 --- a/bookingbusinesses/item_get_staff_availability_request_builder.go +++ b/bookingbusinesses/item_get_staff_availability_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemGetStaffAvailabilityRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemGetStaffAvailabilityRequestBuilder) WithUrl(rawUrl string)(*ItemGetStaffAvailabilityRequestBuilder) { + return NewItemGetStaffAvailabilityRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/item_publish_request_builder.go b/bookingbusinesses/item_publish_request_builder.go index 1d976d8fdf5..b3d6a955be5 100644 --- a/bookingbusinesses/item_publish_request_builder.go +++ b/bookingbusinesses/item_publish_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPublishRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemPublishRequestBuilder) WithUrl(rawUrl string)(*ItemPublishRequestBuilder) { + return NewItemPublishRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/item_services_booking_service_item_request_builder.go b/bookingbusinesses/item_services_booking_service_item_request_builder.go index 63ff7301d82..653da438049 100644 --- a/bookingbusinesses/item_services_booking_service_item_request_builder.go +++ b/bookingbusinesses/item_services_booking_service_item_request_builder.go @@ -95,7 +95,7 @@ func (m *ItemServicesBookingServiceItemRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceable), nil } -// Patch update the properties of a bookingService object in the specified bookingBusiness. The following are some examples you can customize for a service:- Price- Typical length of an appointment- Reminders- Any time buffer to set up before or finish up after the service- Scheduling policy parameters such as minimum notice to book or cancel, and whether customers can select specific staff members for an appointment. +// Patch update the properties of a bookingService object in the specified bookingBusiness. The following are some examples you can customize for a service:- Price- Typical length of an appointment- Reminders- Any, time buffer to set up before or finish up after the service- Scheduling policy parameters such as minimum notice to book or cancel, and whether customers can select specific staff members for an appointment. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/bookingservice-update?view=graph-rest-1.0 @@ -145,7 +145,7 @@ func (m *ItemServicesBookingServiceItemRequestBuilder) ToGetRequestInformation(c } return requestInfo, nil } -// ToPatchRequestInformation update the properties of a bookingService object in the specified bookingBusiness. The following are some examples you can customize for a service:- Price- Typical length of an appointment- Reminders- Any time buffer to set up before or finish up after the service- Scheduling policy parameters such as minimum notice to book or cancel, and whether customers can select specific staff members for an appointment. +// ToPatchRequestInformation update the properties of a bookingService object in the specified bookingBusiness. The following are some examples you can customize for a service:- Price- Typical length of an appointment- Reminders- Any, time buffer to set up before or finish up after the service- Scheduling policy parameters such as minimum notice to book or cancel, and whether customers can select specific staff members for an appointment. func (m *ItemServicesBookingServiceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceable, requestConfiguration *ItemServicesBookingServiceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -162,3 +162,7 @@ func (m *ItemServicesBookingServiceItemRequestBuilder) 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 *ItemServicesBookingServiceItemRequestBuilder) WithUrl(rawUrl string)(*ItemServicesBookingServiceItemRequestBuilder) { + return NewItemServicesBookingServiceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/item_services_count_request_builder.go b/bookingbusinesses/item_services_count_request_builder.go index 1e0ffb91c10..4715a6548dc 100644 --- a/bookingbusinesses/item_services_count_request_builder.go +++ b/bookingbusinesses/item_services_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemServicesCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemServicesCountRequestBuilder) WithUrl(rawUrl string)(*ItemServicesCountRequestBuilder) { + return NewItemServicesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/item_services_request_builder.go b/bookingbusinesses/item_services_request_builder.go index 8c84460c793..3e267dd90f6 100644 --- a/bookingbusinesses/item_services_request_builder.go +++ b/bookingbusinesses/item_services_request_builder.go @@ -46,8 +46,8 @@ type ItemServicesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByBookingServiceIdString provides operations to manage the services property of the microsoft.graph.bookingBusiness entity. -func (m *ItemServicesRequestBuilder) ByBookingServiceIdString(bookingServiceId string)(*ItemServicesBookingServiceItemRequestBuilder) { +// ByBookingServiceId provides operations to manage the services property of the microsoft.graph.bookingBusiness entity. +func (m *ItemServicesRequestBuilder) ByBookingServiceId(bookingServiceId string)(*ItemServicesBookingServiceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemServicesRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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 *ItemServicesRequestBuilder) WithUrl(rawUrl string)(*ItemServicesRequestBuilder) { + return NewItemServicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/item_staff_members_booking_staff_member_item_request_builder.go b/bookingbusinesses/item_staff_members_booking_staff_member_item_request_builder.go index 5e8ae43e4d9..5af0391515f 100644 --- a/bookingbusinesses/item_staff_members_booking_staff_member_item_request_builder.go +++ b/bookingbusinesses/item_staff_members_booking_staff_member_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemStaffMembersBookingStaffMemberItemRequestBuilder) ToPatchRequestInf } 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 *ItemStaffMembersBookingStaffMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemStaffMembersBookingStaffMemberItemRequestBuilder) { + return NewItemStaffMembersBookingStaffMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/item_staff_members_count_request_builder.go b/bookingbusinesses/item_staff_members_count_request_builder.go index 99960f5f665..bf43b8935d5 100644 --- a/bookingbusinesses/item_staff_members_count_request_builder.go +++ b/bookingbusinesses/item_staff_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemStaffMembersCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemStaffMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemStaffMembersCountRequestBuilder) { + return NewItemStaffMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/item_staff_members_request_builder.go b/bookingbusinesses/item_staff_members_request_builder.go index ae7afdef19e..c44057e6f1b 100644 --- a/bookingbusinesses/item_staff_members_request_builder.go +++ b/bookingbusinesses/item_staff_members_request_builder.go @@ -46,8 +46,8 @@ type ItemStaffMembersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByBookingStaffMemberIdString provides operations to manage the staffMembers property of the microsoft.graph.bookingBusiness entity. -func (m *ItemStaffMembersRequestBuilder) ByBookingStaffMemberIdString(bookingStaffMemberId string)(*ItemStaffMembersBookingStaffMemberItemRequestBuilder) { +// ByBookingStaffMemberId provides operations to manage the staffMembers property of the microsoft.graph.bookingBusiness entity. +func (m *ItemStaffMembersRequestBuilder) ByBookingStaffMemberId(bookingStaffMemberId string)(*ItemStaffMembersBookingStaffMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemStaffMembersRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ItemStaffMembersRequestBuilder) WithUrl(rawUrl string)(*ItemStaffMembersRequestBuilder) { + return NewItemStaffMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingbusinesses/item_unpublish_request_builder.go b/bookingbusinesses/item_unpublish_request_builder.go index 500b133651c..b690a014c68 100644 --- a/bookingbusinesses/item_unpublish_request_builder.go +++ b/bookingbusinesses/item_unpublish_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemUnpublishRequestBuilder) 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 *ItemUnpublishRequestBuilder) WithUrl(rawUrl string)(*ItemUnpublishRequestBuilder) { + return NewItemUnpublishRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingcurrencies/booking_currencies_request_builder.go b/bookingcurrencies/booking_currencies_request_builder.go index f8462b3481b..cbbf5ee6f5a 100644 --- a/bookingcurrencies/booking_currencies_request_builder.go +++ b/bookingcurrencies/booking_currencies_request_builder.go @@ -46,8 +46,8 @@ type BookingCurrenciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByBookingCurrencyIdString provides operations to manage the collection of bookingCurrency entities. -func (m *BookingCurrenciesRequestBuilder) ByBookingCurrencyIdString(bookingCurrencyId string)(*BookingCurrencyItemRequestBuilder) { +// ByBookingCurrencyId provides operations to manage the collection of bookingCurrency entities. +func (m *BookingCurrenciesRequestBuilder) ByBookingCurrencyId(bookingCurrencyId string)(*BookingCurrencyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *BookingCurrenciesRequestBuilder) ToPostRequestInformation(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 *BookingCurrenciesRequestBuilder) WithUrl(rawUrl string)(*BookingCurrenciesRequestBuilder) { + return NewBookingCurrenciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingcurrencies/booking_currency_item_request_builder.go b/bookingcurrencies/booking_currency_item_request_builder.go index 0dfe04af110..a471de0eb71 100644 --- a/bookingcurrencies/booking_currency_item_request_builder.go +++ b/bookingcurrencies/booking_currency_item_request_builder.go @@ -156,3 +156,7 @@ func (m *BookingCurrencyItemRequestBuilder) ToPatchRequestInformation(ctx contex } 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 *BookingCurrencyItemRequestBuilder) WithUrl(rawUrl string)(*BookingCurrencyItemRequestBuilder) { + return NewBookingCurrencyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/bookingcurrencies/count_request_builder.go b/bookingcurrencies/count_request_builder.go index 91b628bc96b..6738fde0b3f 100644 --- a/bookingcurrencies/count_request_builder.go +++ b/bookingcurrencies/count_request_builder.go @@ -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); +} diff --git a/businessflowtemplates/business_flow_template_item_request_builder.go b/businessflowtemplates/business_flow_template_item_request_builder.go index 2f7a6fa3c31..bae6bb61836 100644 --- a/businessflowtemplates/business_flow_template_item_request_builder.go +++ b/businessflowtemplates/business_flow_template_item_request_builder.go @@ -153,3 +153,7 @@ func (m *BusinessFlowTemplateItemRequestBuilder) 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 *BusinessFlowTemplateItemRequestBuilder) WithUrl(rawUrl string)(*BusinessFlowTemplateItemRequestBuilder) { + return NewBusinessFlowTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/businessflowtemplates/business_flow_templates_request_builder.go b/businessflowtemplates/business_flow_templates_request_builder.go index 2466d2aaa55..46571fc2cde 100644 --- a/businessflowtemplates/business_flow_templates_request_builder.go +++ b/businessflowtemplates/business_flow_templates_request_builder.go @@ -46,8 +46,8 @@ type BusinessFlowTemplatesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByBusinessFlowTemplateIdString provides operations to manage the collection of businessFlowTemplate entities. -func (m *BusinessFlowTemplatesRequestBuilder) ByBusinessFlowTemplateIdString(businessFlowTemplateId string)(*BusinessFlowTemplateItemRequestBuilder) { +// ByBusinessFlowTemplateId provides operations to manage the collection of businessFlowTemplate entities. +func (m *BusinessFlowTemplatesRequestBuilder) ByBusinessFlowTemplateId(businessFlowTemplateId string)(*BusinessFlowTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *BusinessFlowTemplatesRequestBuilder) 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 *BusinessFlowTemplatesRequestBuilder) WithUrl(rawUrl string)(*BusinessFlowTemplatesRequestBuilder) { + return NewBusinessFlowTemplatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/businessflowtemplates/count_request_builder.go b/businessflowtemplates/count_request_builder.go index 526a08bec57..71ed1610400 100644 --- a/businessflowtemplates/count_request_builder.go +++ b/businessflowtemplates/count_request_builder.go @@ -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); +} diff --git a/certificatebasedauthconfiguration/certificate_based_auth_configuration_item_request_builder.go b/certificatebasedauthconfiguration/certificate_based_auth_configuration_item_request_builder.go index f1f57e28f68..946e17a8ffc 100644 --- a/certificatebasedauthconfiguration/certificate_based_auth_configuration_item_request_builder.go +++ b/certificatebasedauthconfiguration/certificate_based_auth_configuration_item_request_builder.go @@ -153,3 +153,7 @@ func (m *CertificateBasedAuthConfigurationItemRequestBuilder) 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 *CertificateBasedAuthConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*CertificateBasedAuthConfigurationItemRequestBuilder) { + return NewCertificateBasedAuthConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/certificatebasedauthconfiguration/certificate_based_auth_configuration_request_builder.go b/certificatebasedauthconfiguration/certificate_based_auth_configuration_request_builder.go index 3b0d68dd457..2cba9d8719a 100644 --- a/certificatebasedauthconfiguration/certificate_based_auth_configuration_request_builder.go +++ b/certificatebasedauthconfiguration/certificate_based_auth_configuration_request_builder.go @@ -46,8 +46,8 @@ type CertificateBasedAuthConfigurationRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCertificateBasedAuthConfigurationIdString provides operations to manage the collection of certificateBasedAuthConfiguration entities. -func (m *CertificateBasedAuthConfigurationRequestBuilder) ByCertificateBasedAuthConfigurationIdString(certificateBasedAuthConfigurationId string)(*CertificateBasedAuthConfigurationItemRequestBuilder) { +// ByCertificateBasedAuthConfigurationId provides operations to manage the collection of certificateBasedAuthConfiguration entities. +func (m *CertificateBasedAuthConfigurationRequestBuilder) ByCertificateBasedAuthConfigurationId(certificateBasedAuthConfigurationId string)(*CertificateBasedAuthConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *CertificateBasedAuthConfigurationRequestBuilder) ToPostRequestInformati } 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 *CertificateBasedAuthConfigurationRequestBuilder) WithUrl(rawUrl string)(*CertificateBasedAuthConfigurationRequestBuilder) { + return NewCertificateBasedAuthConfigurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/certificatebasedauthconfiguration/count_request_builder.go b/certificatebasedauthconfiguration/count_request_builder.go index 0e10d5e3b20..c384c1554f8 100644 --- a/certificatebasedauthconfiguration/count_request_builder.go +++ b/certificatebasedauthconfiguration/count_request_builder.go @@ -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); +} diff --git a/chats/all_messages_request_builder.go b/chats/all_messages_request_builder.go index ee9677407e4..6d3c4cacc27 100644 --- a/chats/all_messages_request_builder.go +++ b/chats/all_messages_request_builder.go @@ -84,3 +84,7 @@ func (m *AllMessagesRequestBuilder) ToGetRequestInformation(ctx context.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 *AllMessagesRequestBuilder) WithUrl(rawUrl string)(*AllMessagesRequestBuilder) { + return NewAllMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/chat_item_request_builder.go b/chats/chat_item_request_builder.go index 3b226c4d7c1..e092d8d7673 100644 --- a/chats/chat_item_request_builder.go +++ b/chats/chat_item_request_builder.go @@ -54,7 +54,10 @@ func NewChatItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 urlParams["request-raw-url"] = rawUrl return NewChatItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete entity from chats +// Delete soft-delete a chat. When invoked with delegated permissions, this operation only works for tenant admins and Teams service admins. +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-delete?view=graph-rest-1.0 func (m *ChatItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ChatItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -162,7 +165,7 @@ func (m *ChatItemRequestBuilder) SendActivityNotification()(*ItemSendActivityNot func (m *ChatItemRequestBuilder) Tabs()(*ItemTabsRequestBuilder) { return NewItemTabsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete entity from chats +// ToDeleteRequestInformation soft-delete a chat. When invoked with delegated permissions, this operation only works for tenant admins and Teams service admins. func (m *ChatItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ChatItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -211,3 +214,7 @@ func (m *ChatItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, func (m *ChatItemRequestBuilder) UnhideForUser()(*ItemUnhideForUserRequestBuilder) { return NewItemUnhideForUserRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ChatItemRequestBuilder) WithUrl(rawUrl string)(*ChatItemRequestBuilder) { + return NewChatItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/chats_request_builder.go b/chats/chats_request_builder.go index 062fb401286..ef241481aff 100644 --- a/chats/chats_request_builder.go +++ b/chats/chats_request_builder.go @@ -50,8 +50,8 @@ type ChatsRequestBuilderPostRequestConfiguration struct { func (m *ChatsRequestBuilder) AllMessages()(*AllMessagesRequestBuilder) { return NewAllMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByChatIdString provides operations to manage the collection of chat entities. -func (m *ChatsRequestBuilder) ByChatIdString(chatId string)(*ChatItemRequestBuilder) { +// ByChatId provides operations to manage the collection of chat entities. +func (m *ChatsRequestBuilder) ByChatId(chatId string)(*ChatItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -159,3 +159,7 @@ func (m *ChatsRequestBuilder) ToPostRequestInformation(ctx context.Context, body } 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 *ChatsRequestBuilder) WithUrl(rawUrl string)(*ChatsRequestBuilder) { + return NewChatsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/count_request_builder.go b/chats/count_request_builder.go index b14d19630c7..57d45b982d7 100644 --- a/chats/count_request_builder.go +++ b/chats/count_request_builder.go @@ -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); +} diff --git a/chats/get_all_messages_request_builder.go b/chats/get_all_messages_request_builder.go index 9d584c3bc15..8673f901fc5 100644 --- a/chats/get_all_messages_request_builder.go +++ b/chats/get_all_messages_request_builder.go @@ -17,7 +17,7 @@ type GetAllMessagesRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` // The payment model for the API - Model *string + Model *string `uriparametername:"model"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Search items by search phrases @@ -86,3 +86,7 @@ func (m *GetAllMessagesRequestBuilder) ToGetRequestInformation(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 *GetAllMessagesRequestBuilder) WithUrl(rawUrl string)(*GetAllMessagesRequestBuilder) { + return NewGetAllMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_hide_for_user_request_builder.go b/chats/item_hide_for_user_request_builder.go index 7807300ddbf..1a33e79b34d 100644 --- a/chats/item_hide_for_user_request_builder.go +++ b/chats/item_hide_for_user_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemHideForUserRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *ItemHideForUserRequestBuilder) WithUrl(rawUrl string)(*ItemHideForUserRequestBuilder) { + return NewItemHideForUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_installed_apps_count_request_builder.go b/chats/item_installed_apps_count_request_builder.go index f93f5236581..1303b9fd28d 100644 --- a/chats/item_installed_apps_count_request_builder.go +++ b/chats/item_installed_apps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemInstalledAppsCountRequestBuilder) ToGetRequestInformation(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 *ItemInstalledAppsCountRequestBuilder) WithUrl(rawUrl string)(*ItemInstalledAppsCountRequestBuilder) { + return NewItemInstalledAppsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_installed_apps_item_teams_app_definition_request_builder.go b/chats/item_installed_apps_item_teams_app_definition_request_builder.go index ad8d15f8e7d..5b0a0f7c072 100644 --- a/chats/item_installed_apps_item_teams_app_definition_request_builder.go +++ b/chats/item_installed_apps_item_teams_app_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemInstalledAppsItemTeamsAppDefinitionRequestBuilder) ToGetRequestInfo } 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 *ItemInstalledAppsItemTeamsAppDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemInstalledAppsItemTeamsAppDefinitionRequestBuilder) { + return NewItemInstalledAppsItemTeamsAppDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_installed_apps_item_teams_app_request_builder.go b/chats/item_installed_apps_item_teams_app_request_builder.go index 83d36fb5f33..b239782c6fe 100644 --- a/chats/item_installed_apps_item_teams_app_request_builder.go +++ b/chats/item_installed_apps_item_teams_app_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemInstalledAppsItemTeamsAppRequestBuilder) ToGetRequestInformation(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 *ItemInstalledAppsItemTeamsAppRequestBuilder) WithUrl(rawUrl string)(*ItemInstalledAppsItemTeamsAppRequestBuilder) { + return NewItemInstalledAppsItemTeamsAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_installed_apps_item_upgrade_request_builder.go b/chats/item_installed_apps_item_upgrade_request_builder.go index f9a68cc9547..4f5900e2ccd 100644 --- a/chats/item_installed_apps_item_upgrade_request_builder.go +++ b/chats/item_installed_apps_item_upgrade_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemInstalledAppsItemUpgradeRequestBuilder) 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 *ItemInstalledAppsItemUpgradeRequestBuilder) WithUrl(rawUrl string)(*ItemInstalledAppsItemUpgradeRequestBuilder) { + return NewItemInstalledAppsItemUpgradeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_installed_apps_request_builder.go b/chats/item_installed_apps_request_builder.go index 255b361485a..c1d0881906b 100644 --- a/chats/item_installed_apps_request_builder.go +++ b/chats/item_installed_apps_request_builder.go @@ -46,8 +46,8 @@ type ItemInstalledAppsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsAppInstallationIdString provides operations to manage the installedApps property of the microsoft.graph.chat entity. -func (m *ItemInstalledAppsRequestBuilder) ByTeamsAppInstallationIdString(teamsAppInstallationId string)(*ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) { +// ByTeamsAppInstallationId provides operations to manage the installedApps property of the microsoft.graph.chat entity. +func (m *ItemInstalledAppsRequestBuilder) ByTeamsAppInstallationId(teamsAppInstallationId string)(*ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemInstalledAppsRequestBuilder) ToPostRequestInformation(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 *ItemInstalledAppsRequestBuilder) WithUrl(rawUrl string)(*ItemInstalledAppsRequestBuilder) { + return NewItemInstalledAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_installed_apps_teams_app_installation_item_request_builder.go b/chats/item_installed_apps_teams_app_installation_item_request_builder.go index fd612ee81ab..2c0d5f7b453 100644 --- a/chats/item_installed_apps_teams_app_installation_item_request_builder.go +++ b/chats/item_installed_apps_teams_app_installation_item_request_builder.go @@ -171,3 +171,7 @@ func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) ToPatchRequest func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) Upgrade()(*ItemInstalledAppsItemUpgradeRequestBuilder) { return NewItemInstalledAppsItemUpgradeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) WithUrl(rawUrl string)(*ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) { + return NewItemInstalledAppsTeamsAppInstallationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_last_message_preview_request_builder.go b/chats/item_last_message_preview_request_builder.go index dbf4f1415e4..cadbf4d11d5 100644 --- a/chats/item_last_message_preview_request_builder.go +++ b/chats/item_last_message_preview_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemLastMessagePreviewRequestBuilder) ToPatchRequestInformation(ctx con } 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 *ItemLastMessagePreviewRequestBuilder) WithUrl(rawUrl string)(*ItemLastMessagePreviewRequestBuilder) { + return NewItemLastMessagePreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_mark_chat_read_for_user_request_builder.go b/chats/item_mark_chat_read_for_user_request_builder.go index 5c70ce53db6..6a58ab16835 100644 --- a/chats/item_mark_chat_read_for_user_request_builder.go +++ b/chats/item_mark_chat_read_for_user_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemMarkChatReadForUserRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemMarkChatReadForUserRequestBuilder) WithUrl(rawUrl string)(*ItemMarkChatReadForUserRequestBuilder) { + return NewItemMarkChatReadForUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_mark_chat_unread_for_user_request_builder.go b/chats/item_mark_chat_unread_for_user_request_builder.go index 5299cfd0418..5e46ec3f5ef 100644 --- a/chats/item_mark_chat_unread_for_user_request_builder.go +++ b/chats/item_mark_chat_unread_for_user_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemMarkChatUnreadForUserRequestBuilder) ToPostRequestInformation(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 *ItemMarkChatUnreadForUserRequestBuilder) WithUrl(rawUrl string)(*ItemMarkChatUnreadForUserRequestBuilder) { + return NewItemMarkChatUnreadForUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_members_add_request_builder.go b/chats/item_members_add_request_builder.go index 65800ed6241..fe4233e60fb 100644 --- a/chats/item_members_add_request_builder.go +++ b/chats/item_members_add_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemMembersAddRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *ItemMembersAddRequestBuilder) WithUrl(rawUrl string)(*ItemMembersAddRequestBuilder) { + return NewItemMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_members_conversation_member_item_request_builder.go b/chats/item_members_conversation_member_item_request_builder.go index 9fe9dbbc1d5..43f1b316723 100644 --- a/chats/item_members_conversation_member_item_request_builder.go +++ b/chats/item_members_conversation_member_item_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) ToPatchRequestInformat } 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 *ItemMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemMembersConversationMemberItemRequestBuilder) { + return NewItemMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_members_count_request_builder.go b/chats/item_members_count_request_builder.go index 8da1b58d485..a32da1caff3 100644 --- a/chats/item_members_count_request_builder.go +++ b/chats/item_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersCountRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *ItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersCountRequestBuilder) { + return NewItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_members_request_builder.go b/chats/item_members_request_builder.go index 40b227f4978..d2c981585f5 100644 --- a/chats/item_members_request_builder.go +++ b/chats/item_members_request_builder.go @@ -50,8 +50,8 @@ type ItemMembersRequestBuilderPostRequestConfiguration struct { func (m *ItemMembersRequestBuilder) Add()(*ItemMembersAddRequestBuilder) { return NewItemMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByConversationMemberIdString provides operations to manage the members property of the microsoft.graph.chat entity. -func (m *ItemMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*ItemMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the members property of the microsoft.graph.chat entity. +func (m *ItemMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemMembersRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemMembersRequestBuilder) WithUrl(rawUrl string)(*ItemMembersRequestBuilder) { + return NewItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_chat_message_item_request_builder.go b/chats/item_messages_chat_message_item_request_builder.go index 38b10631315..e98328d3fb7 100644 --- a/chats/item_messages_chat_message_item_request_builder.go +++ b/chats/item_messages_chat_message_item_request_builder.go @@ -180,3 +180,7 @@ func (m *ItemMessagesChatMessageItemRequestBuilder) UndoSoftDelete()(*ItemMessag func (m *ItemMessagesChatMessageItemRequestBuilder) UnsetReaction()(*ItemMessagesItemUnsetReactionRequestBuilder) { return NewItemMessagesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemMessagesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesChatMessageItemRequestBuilder) { + return NewItemMessagesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_count_request_builder.go b/chats/item_messages_count_request_builder.go index 9c557f8a20e..1c1f6e8df81 100644 --- a/chats/item_messages_count_request_builder.go +++ b/chats/item_messages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMessagesCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemMessagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesCountRequestBuilder) { + return NewItemMessagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_delta_request_builder.go b/chats/item_messages_delta_request_builder.go index d266ba58d36..400ae35fea3 100644 --- a/chats/item_messages_delta_request_builder.go +++ b/chats/item_messages_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemMessagesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesDeltaRequestBuilder) { + return NewItemMessagesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/chats/item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 1608b8f82eb..720ba7eb48e 100644 --- a/chats/item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/chats/item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilde } 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 *ItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_item_hosted_contents_count_request_builder.go b/chats/item_messages_item_hosted_contents_count_request_builder.go index 6d31a9ec5cc..4f04d6e32a9 100644 --- a/chats/item_messages_item_hosted_contents_count_request_builder.go +++ b/chats/item_messages_item_hosted_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMessagesItemHostedContentsCountRequestBuilder) ToGetRequestInformat } 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 *ItemMessagesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemHostedContentsCountRequestBuilder) { + return NewItemMessagesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_item_hosted_contents_item_value_content_request_builder.go b/chats/item_messages_item_hosted_contents_item_value_content_request_builder.go index 1c155ea2409..0f8fac7331f 100644 --- a/chats/item_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/chats/item_messages_item_hosted_contents_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemMessagesItemHostedContentsItemValueContentRequestBuilder) ToPutRequ } 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 *ItemMessagesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemMessagesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_item_hosted_contents_request_builder.go b/chats/item_messages_item_hosted_contents_request_builder.go index 210f90d582f..cf6fc5b719d 100644 --- a/chats/item_messages_item_hosted_contents_request_builder.go +++ b/chats/item_messages_item_hosted_contents_request_builder.go @@ -46,8 +46,8 @@ type ItemMessagesItemHostedContentsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageHostedContentIdString provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. -func (m *ItemMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentIdString(chatMessageHostedContentId string)(*ItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +func (m *ItemMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*ItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemMessagesItemHostedContentsRequestBuilder) 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 *ItemMessagesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemHostedContentsRequestBuilder) { + return NewItemMessagesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_item_replies_chat_message_item_request_builder.go b/chats/item_messages_item_replies_chat_message_item_request_builder.go index 57ad026f841..79b1a30d629 100644 --- a/chats/item_messages_item_replies_chat_message_item_request_builder.go +++ b/chats/item_messages_item_replies_chat_message_item_request_builder.go @@ -176,3 +176,7 @@ func (m *ItemMessagesItemRepliesChatMessageItemRequestBuilder) UndoSoftDelete()( func (m *ItemMessagesItemRepliesChatMessageItemRequestBuilder) UnsetReaction()(*ItemMessagesItemRepliesItemUnsetReactionRequestBuilder) { return NewItemMessagesItemRepliesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemMessagesItemRepliesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemRepliesChatMessageItemRequestBuilder) { + return NewItemMessagesItemRepliesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_item_replies_count_request_builder.go b/chats/item_messages_item_replies_count_request_builder.go index 17a53919b5a..97404fc9e60 100644 --- a/chats/item_messages_item_replies_count_request_builder.go +++ b/chats/item_messages_item_replies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMessagesItemRepliesCountRequestBuilder) ToGetRequestInformation(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 *ItemMessagesItemRepliesCountRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemRepliesCountRequestBuilder) { + return NewItemMessagesItemRepliesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_item_replies_delta_request_builder.go b/chats/item_messages_item_replies_delta_request_builder.go index e67997ae7aa..abf71f37ba3 100644 --- a/chats/item_messages_item_replies_delta_request_builder.go +++ b/chats/item_messages_item_replies_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemMessagesItemRepliesDeltaRequestBuilder) ToGetRequestInformation(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 *ItemMessagesItemRepliesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemRepliesDeltaRequestBuilder) { + return NewItemMessagesItemRepliesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/chats/item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 18c9af2adfc..2cf15ecd379 100644 --- a/chats/item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/chats/item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRe } 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 *ItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_item_replies_item_hosted_contents_count_request_builder.go b/chats/item_messages_item_replies_item_hosted_contents_count_request_builder.go index ea141e02e35..edc1c67007b 100644 --- a/chats/item_messages_item_replies_item_hosted_contents_count_request_builder.go +++ b/chats/item_messages_item_replies_item_hosted_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) ToGetRequ } 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 *ItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) { + return NewItemMessagesItemRepliesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/chats/item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index 570086234bd..2107d1df159 100644 --- a/chats/item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/chats/item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder } 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 *ItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_item_replies_item_hosted_contents_request_builder.go b/chats/item_messages_item_replies_item_hosted_contents_request_builder.go index 3094f3761cd..d1b58c30fca 100644 --- a/chats/item_messages_item_replies_item_hosted_contents_request_builder.go +++ b/chats/item_messages_item_replies_item_hosted_contents_request_builder.go @@ -46,8 +46,8 @@ type ItemMessagesItemRepliesItemHostedContentsRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageHostedContentIdString provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. -func (m *ItemMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentIdString(chatMessageHostedContentId string)(*ItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +func (m *ItemMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*ItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemMessagesItemRepliesItemHostedContentsRequestBuilder) ToPostRequestI } 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 *ItemMessagesItemRepliesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemRepliesItemHostedContentsRequestBuilder) { + return NewItemMessagesItemRepliesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_item_replies_item_set_reaction_request_builder.go b/chats/item_messages_item_replies_item_set_reaction_request_builder.go index 8529ccaabe0..e2d88a0b4b0 100644 --- a/chats/item_messages_item_replies_item_set_reaction_request_builder.go +++ b/chats/item_messages_item_replies_item_set_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemMessagesItemRepliesItemSetReactionRequestBuilder) ToPostRequestInfo } 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 *ItemMessagesItemRepliesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemRepliesItemSetReactionRequestBuilder) { + return NewItemMessagesItemRepliesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_item_replies_item_soft_delete_request_builder.go b/chats/item_messages_item_replies_item_soft_delete_request_builder.go index c1451458cc0..4203042f03d 100644 --- a/chats/item_messages_item_replies_item_soft_delete_request_builder.go +++ b/chats/item_messages_item_replies_item_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemMessagesItemRepliesItemSoftDeleteRequestBuilder) ToPostRequestInfor } 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 *ItemMessagesItemRepliesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemRepliesItemSoftDeleteRequestBuilder) { + return NewItemMessagesItemRepliesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_item_replies_item_undo_soft_delete_request_builder.go b/chats/item_messages_item_replies_item_undo_soft_delete_request_builder.go index 13e53794246..ae5ab4e8529 100644 --- a/chats/item_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/chats/item_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) ToPostRequestI } 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 *ItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) { + return NewItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_item_replies_item_unset_reaction_request_builder.go b/chats/item_messages_item_replies_item_unset_reaction_request_builder.go index 5e087b3ced3..32d2cd1f63f 100644 --- a/chats/item_messages_item_replies_item_unset_reaction_request_builder.go +++ b/chats/item_messages_item_replies_item_unset_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemMessagesItemRepliesItemUnsetReactionRequestBuilder) ToPostRequestIn } 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 *ItemMessagesItemRepliesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemRepliesItemUnsetReactionRequestBuilder) { + return NewItemMessagesItemRepliesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_item_replies_request_builder.go b/chats/item_messages_item_replies_request_builder.go index 2a8e2d7d8e7..f88685c161d 100644 --- a/chats/item_messages_item_replies_request_builder.go +++ b/chats/item_messages_item_replies_request_builder.go @@ -46,8 +46,8 @@ type ItemMessagesItemRepliesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageId1String provides operations to manage the replies property of the microsoft.graph.chatMessage entity. -func (m *ItemMessagesItemRepliesRequestBuilder) ByChatMessageId1String(chatMessageId1 string)(*ItemMessagesItemRepliesChatMessageItemRequestBuilder) { +// ByChatMessageId1 provides operations to manage the replies property of the microsoft.graph.chatMessage entity. +func (m *ItemMessagesItemRepliesRequestBuilder) ByChatMessageId1(chatMessageId1 string)(*ItemMessagesItemRepliesChatMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemMessagesItemRepliesRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemMessagesItemRepliesRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemRepliesRequestBuilder) { + return NewItemMessagesItemRepliesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_item_set_reaction_request_builder.go b/chats/item_messages_item_set_reaction_request_builder.go index 224451bf90f..dfde9a0f757 100644 --- a/chats/item_messages_item_set_reaction_request_builder.go +++ b/chats/item_messages_item_set_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemMessagesItemSetReactionRequestBuilder) 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 *ItemMessagesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemSetReactionRequestBuilder) { + return NewItemMessagesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_item_soft_delete_request_builder.go b/chats/item_messages_item_soft_delete_request_builder.go index 46752c76827..3b7a7bd5c90 100644 --- a/chats/item_messages_item_soft_delete_request_builder.go +++ b/chats/item_messages_item_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemMessagesItemSoftDeleteRequestBuilder) 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 *ItemMessagesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemSoftDeleteRequestBuilder) { + return NewItemMessagesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_item_undo_soft_delete_request_builder.go b/chats/item_messages_item_undo_soft_delete_request_builder.go index 97472d9fd96..d4212de83ee 100644 --- a/chats/item_messages_item_undo_soft_delete_request_builder.go +++ b/chats/item_messages_item_undo_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemMessagesItemUndoSoftDeleteRequestBuilder) 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 *ItemMessagesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemUndoSoftDeleteRequestBuilder) { + return NewItemMessagesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_item_unset_reaction_request_builder.go b/chats/item_messages_item_unset_reaction_request_builder.go index 829ec08ee57..4169b1a162d 100644 --- a/chats/item_messages_item_unset_reaction_request_builder.go +++ b/chats/item_messages_item_unset_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemMessagesItemUnsetReactionRequestBuilder) ToPostRequestInformation(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 *ItemMessagesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemUnsetReactionRequestBuilder) { + return NewItemMessagesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_request_builder.go b/chats/item_messages_request_builder.go index 13164503e21..aaef9ddf4f4 100644 --- a/chats/item_messages_request_builder.go +++ b/chats/item_messages_request_builder.go @@ -46,8 +46,8 @@ type ItemMessagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageIdString provides operations to manage the messages property of the microsoft.graph.chat entity. -func (m *ItemMessagesRequestBuilder) ByChatMessageIdString(chatMessageId string)(*ItemMessagesChatMessageItemRequestBuilder) { +// ByChatMessageId provides operations to manage the messages property of the microsoft.graph.chat entity. +func (m *ItemMessagesRequestBuilder) ByChatMessageId(chatMessageId string)(*ItemMessagesChatMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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 *ItemMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesRequestBuilder) { + return NewItemMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_operations_count_request_builder.go b/chats/item_operations_count_request_builder.go index d9f45914aef..410712e5df1 100644 --- a/chats/item_operations_count_request_builder.go +++ b/chats/item_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOperationsCountRequestBuilder) ToGetRequestInformation(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 *ItemOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOperationsCountRequestBuilder) { + return NewItemOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_operations_request_builder.go b/chats/item_operations_request_builder.go index 37169d43775..e7154cb14be 100644 --- a/chats/item_operations_request_builder.go +++ b/chats/item_operations_request_builder.go @@ -46,8 +46,8 @@ type ItemOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsAsyncOperationIdString provides operations to manage the operations property of the microsoft.graph.chat entity. -func (m *ItemOperationsRequestBuilder) ByTeamsAsyncOperationIdString(teamsAsyncOperationId string)(*ItemOperationsTeamsAsyncOperationItemRequestBuilder) { +// ByTeamsAsyncOperationId provides operations to manage the operations property of the microsoft.graph.chat entity. +func (m *ItemOperationsRequestBuilder) ByTeamsAsyncOperationId(teamsAsyncOperationId string)(*ItemOperationsTeamsAsyncOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemOperationsRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *ItemOperationsRequestBuilder) WithUrl(rawUrl string)(*ItemOperationsRequestBuilder) { + return NewItemOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_operations_teams_async_operation_item_request_builder.go b/chats/item_operations_teams_async_operation_item_request_builder.go index df5f07412f7..a5fa7b779cd 100644 --- a/chats/item_operations_teams_async_operation_item_request_builder.go +++ b/chats/item_operations_teams_async_operation_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemOperationsTeamsAsyncOperationItemRequestBuilder) 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 *ItemOperationsTeamsAsyncOperationItemRequestBuilder) WithUrl(rawUrl string)(*ItemOperationsTeamsAsyncOperationItemRequestBuilder) { + return NewItemOperationsTeamsAsyncOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_permission_grants_count_request_builder.go b/chats/item_permission_grants_count_request_builder.go index c37d2ffa3c9..c2e3152578a 100644 --- a/chats/item_permission_grants_count_request_builder.go +++ b/chats/item_permission_grants_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPermissionGrantsCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemPermissionGrantsCountRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsCountRequestBuilder) { + return NewItemPermissionGrantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_permission_grants_delta_request_builder.go b/chats/item_permission_grants_delta_request_builder.go index 1c602bc51b7..31e92cbc2b3 100644 --- a/chats/item_permission_grants_delta_request_builder.go +++ b/chats/item_permission_grants_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemPermissionGrantsDeltaRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemPermissionGrantsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsDeltaRequestBuilder) { + return NewItemPermissionGrantsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_permission_grants_get_by_ids_request_builder.go b/chats/item_permission_grants_get_by_ids_request_builder.go index 70649d6b30a..191aeeeb680 100644 --- a/chats/item_permission_grants_get_by_ids_request_builder.go +++ b/chats/item_permission_grants_get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemPermissionGrantsGetByIdsRequestBuilder) 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 *ItemPermissionGrantsGetByIdsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsGetByIdsRequestBuilder) { + return NewItemPermissionGrantsGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_permission_grants_get_user_owned_objects_request_builder.go b/chats/item_permission_grants_get_user_owned_objects_request_builder.go index 117a4bbfd25..9e18bee20d3 100644 --- a/chats/item_permission_grants_get_user_owned_objects_request_builder.go +++ b/chats/item_permission_grants_get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemPermissionGrantsGetUserOwnedObjectsRequestBuilder) ToPostRequestInf } 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 *ItemPermissionGrantsGetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsGetUserOwnedObjectsRequestBuilder) { + return NewItemPermissionGrantsGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_permission_grants_item_check_member_groups_request_builder.go b/chats/item_permission_grants_item_check_member_groups_request_builder.go index a6499c597f0..fc91ab4ed24 100644 --- a/chats/item_permission_grants_item_check_member_groups_request_builder.go +++ b/chats/item_permission_grants_item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemPermissionGrantsItemCheckMemberGroupsRequestBuilder) ToPostRequestI } 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 *ItemPermissionGrantsItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsItemCheckMemberGroupsRequestBuilder) { + return NewItemPermissionGrantsItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_permission_grants_item_check_member_objects_request_builder.go b/chats/item_permission_grants_item_check_member_objects_request_builder.go index 0bdd368a185..943e53936bc 100644 --- a/chats/item_permission_grants_item_check_member_objects_request_builder.go +++ b/chats/item_permission_grants_item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemPermissionGrantsItemCheckMemberObjectsRequestBuilder) ToPostRequest } 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 *ItemPermissionGrantsItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsItemCheckMemberObjectsRequestBuilder) { + return NewItemPermissionGrantsItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_permission_grants_item_get_member_groups_request_builder.go b/chats/item_permission_grants_item_get_member_groups_request_builder.go index 3fbf4e6ae7f..5394b9c08ea 100644 --- a/chats/item_permission_grants_item_get_member_groups_request_builder.go +++ b/chats/item_permission_grants_item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemPermissionGrantsItemGetMemberGroupsRequestBuilder) ToPostRequestInf } 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 *ItemPermissionGrantsItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsItemGetMemberGroupsRequestBuilder) { + return NewItemPermissionGrantsItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_permission_grants_item_get_member_objects_request_builder.go b/chats/item_permission_grants_item_get_member_objects_request_builder.go index e55fcdfd833..cde3793f7a0 100644 --- a/chats/item_permission_grants_item_get_member_objects_request_builder.go +++ b/chats/item_permission_grants_item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemPermissionGrantsItemGetMemberObjectsRequestBuilder) ToPostRequestIn } 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 *ItemPermissionGrantsItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsItemGetMemberObjectsRequestBuilder) { + return NewItemPermissionGrantsItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_permission_grants_item_restore_request_builder.go b/chats/item_permission_grants_item_restore_request_builder.go index 1ca15e5d766..9f6abee7cda 100644 --- a/chats/item_permission_grants_item_restore_request_builder.go +++ b/chats/item_permission_grants_item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemPermissionGrantsItemRestoreRequestBuilder) 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 *ItemPermissionGrantsItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsItemRestoreRequestBuilder) { + return NewItemPermissionGrantsItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_permission_grants_request_builder.go b/chats/item_permission_grants_request_builder.go index a64e13e0c36..aa1e9ac8309 100644 --- a/chats/item_permission_grants_request_builder.go +++ b/chats/item_permission_grants_request_builder.go @@ -46,8 +46,8 @@ type ItemPermissionGrantsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByResourceSpecificPermissionGrantIdString provides operations to manage the permissionGrants property of the microsoft.graph.chat entity. -func (m *ItemPermissionGrantsRequestBuilder) ByResourceSpecificPermissionGrantIdString(resourceSpecificPermissionGrantId string)(*ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { +// ByResourceSpecificPermissionGrantId provides operations to manage the permissionGrants property of the microsoft.graph.chat entity. +func (m *ItemPermissionGrantsRequestBuilder) ByResourceSpecificPermissionGrantId(resourceSpecificPermissionGrantId string)(*ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -164,3 +164,7 @@ func (m *ItemPermissionGrantsRequestBuilder) ToPostRequestInformation(ctx contex func (m *ItemPermissionGrantsRequestBuilder) ValidateProperties()(*ItemPermissionGrantsValidatePropertiesRequestBuilder) { return NewItemPermissionGrantsValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemPermissionGrantsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsRequestBuilder) { + return NewItemPermissionGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_permission_grants_resource_specific_permission_grant_item_request_builder.go b/chats/item_permission_grants_resource_specific_permission_grant_item_request_builder.go index 1b9c9692b6d..e85e1601f51 100644 --- a/chats/item_permission_grants_resource_specific_permission_grant_item_request_builder.go +++ b/chats/item_permission_grants_resource_specific_permission_grant_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) } 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 *ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { + return NewItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_permission_grants_validate_properties_request_builder.go b/chats/item_permission_grants_validate_properties_request_builder.go index 1ca17dacc3a..62d23a24279 100644 --- a/chats/item_permission_grants_validate_properties_request_builder.go +++ b/chats/item_permission_grants_validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemPermissionGrantsValidatePropertiesRequestBuilder) ToPostRequestInfo } 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 *ItemPermissionGrantsValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsValidatePropertiesRequestBuilder) { + return NewItemPermissionGrantsValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_pinned_messages_count_request_builder.go b/chats/item_pinned_messages_count_request_builder.go index 372150c5054..f0b354078be 100644 --- a/chats/item_pinned_messages_count_request_builder.go +++ b/chats/item_pinned_messages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPinnedMessagesCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemPinnedMessagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemPinnedMessagesCountRequestBuilder) { + return NewItemPinnedMessagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_pinned_messages_item_message_request_builder.go b/chats/item_pinned_messages_item_message_request_builder.go index b50a7ddb4a0..5714b022d65 100644 --- a/chats/item_pinned_messages_item_message_request_builder.go +++ b/chats/item_pinned_messages_item_message_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemPinnedMessagesItemMessageRequestBuilder) ToGetRequestInformation(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 *ItemPinnedMessagesItemMessageRequestBuilder) WithUrl(rawUrl string)(*ItemPinnedMessagesItemMessageRequestBuilder) { + return NewItemPinnedMessagesItemMessageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_pinned_messages_pinned_chat_message_info_item_request_builder.go b/chats/item_pinned_messages_pinned_chat_message_info_item_request_builder.go index 175284d9237..c7e56beb1c0 100644 --- a/chats/item_pinned_messages_pinned_chat_message_info_item_request_builder.go +++ b/chats/item_pinned_messages_pinned_chat_message_info_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder) ToPatchReque } 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 *ItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder) WithUrl(rawUrl string)(*ItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder) { + return NewItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_pinned_messages_request_builder.go b/chats/item_pinned_messages_request_builder.go index 6dff297163e..856539dfcfa 100644 --- a/chats/item_pinned_messages_request_builder.go +++ b/chats/item_pinned_messages_request_builder.go @@ -46,8 +46,8 @@ type ItemPinnedMessagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPinnedChatMessageInfoIdString provides operations to manage the pinnedMessages property of the microsoft.graph.chat entity. -func (m *ItemPinnedMessagesRequestBuilder) ByPinnedChatMessageInfoIdString(pinnedChatMessageInfoId string)(*ItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder) { +// ByPinnedChatMessageInfoId provides operations to manage the pinnedMessages property of the microsoft.graph.chat entity. +func (m *ItemPinnedMessagesRequestBuilder) ByPinnedChatMessageInfoId(pinnedChatMessageInfoId string)(*ItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemPinnedMessagesRequestBuilder) 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 *ItemPinnedMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemPinnedMessagesRequestBuilder) { + return NewItemPinnedMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_send_activity_notification_request_builder.go b/chats/item_send_activity_notification_request_builder.go index 59b44e93e3f..a8c9b1be4e0 100644 --- a/chats/item_send_activity_notification_request_builder.go +++ b/chats/item_send_activity_notification_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemSendActivityNotificationRequestBuilder) 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 *ItemSendActivityNotificationRequestBuilder) WithUrl(rawUrl string)(*ItemSendActivityNotificationRequestBuilder) { + return NewItemSendActivityNotificationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_tabs_count_request_builder.go b/chats/item_tabs_count_request_builder.go index cdde309f744..952f0192e04 100644 --- a/chats/item_tabs_count_request_builder.go +++ b/chats/item_tabs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTabsCountRequestBuilder) ToGetRequestInformation(ctx context.Contex } 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 *ItemTabsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTabsCountRequestBuilder) { + return NewItemTabsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_tabs_item_teams_app_request_builder.go b/chats/item_tabs_item_teams_app_request_builder.go index e0c23e73254..268e8f76eb3 100644 --- a/chats/item_tabs_item_teams_app_request_builder.go +++ b/chats/item_tabs_item_teams_app_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTabsItemTeamsAppRequestBuilder) ToGetRequestInformation(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 *ItemTabsItemTeamsAppRequestBuilder) WithUrl(rawUrl string)(*ItemTabsItemTeamsAppRequestBuilder) { + return NewItemTabsItemTeamsAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_tabs_request_builder.go b/chats/item_tabs_request_builder.go index 744b0b45961..c76845a2dfc 100644 --- a/chats/item_tabs_request_builder.go +++ b/chats/item_tabs_request_builder.go @@ -46,8 +46,8 @@ type ItemTabsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsTabIdString provides operations to manage the tabs property of the microsoft.graph.chat entity. -func (m *ItemTabsRequestBuilder) ByTeamsTabIdString(teamsTabId string)(*ItemTabsTeamsTabItemRequestBuilder) { +// ByTeamsTabId provides operations to manage the tabs property of the microsoft.graph.chat entity. +func (m *ItemTabsRequestBuilder) ByTeamsTabId(teamsTabId string)(*ItemTabsTeamsTabItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTabsRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *ItemTabsRequestBuilder) WithUrl(rawUrl string)(*ItemTabsRequestBuilder) { + return NewItemTabsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_tabs_teams_tab_item_request_builder.go b/chats/item_tabs_teams_tab_item_request_builder.go index 9e2caa2e3d8..ffa086ed9ee 100644 --- a/chats/item_tabs_teams_tab_item_request_builder.go +++ b/chats/item_tabs_teams_tab_item_request_builder.go @@ -166,3 +166,7 @@ func (m *ItemTabsTeamsTabItemRequestBuilder) ToPatchRequestInformation(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 *ItemTabsTeamsTabItemRequestBuilder) WithUrl(rawUrl string)(*ItemTabsTeamsTabItemRequestBuilder) { + return NewItemTabsTeamsTabItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_unhide_for_user_request_builder.go b/chats/item_unhide_for_user_request_builder.go index 51c75b7a2e2..a78cc7bdd6c 100644 --- a/chats/item_unhide_for_user_request_builder.go +++ b/chats/item_unhide_for_user_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemUnhideForUserRequestBuilder) ToPostRequestInformation(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 *ItemUnhideForUserRequestBuilder) WithUrl(rawUrl string)(*ItemUnhideForUserRequestBuilder) { + return NewItemUnhideForUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/commands/command_item_request_builder.go b/commands/command_item_request_builder.go index a2033e674c3..e74905eae1b 100644 --- a/commands/command_item_request_builder.go +++ b/commands/command_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CommandItemRequestBuilder) ToPatchRequestInformation(ctx context.Contex } 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 *CommandItemRequestBuilder) WithUrl(rawUrl string)(*CommandItemRequestBuilder) { + return NewCommandItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/commands/commands_request_builder.go b/commands/commands_request_builder.go index 7b408f4e9c0..968e2cfd6b1 100644 --- a/commands/commands_request_builder.go +++ b/commands/commands_request_builder.go @@ -46,8 +46,8 @@ type CommandsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCommandIdString provides operations to manage the collection of command entities. -func (m *CommandsRequestBuilder) ByCommandIdString(commandId string)(*CommandItemRequestBuilder) { +// ByCommandId provides operations to manage the collection of command entities. +func (m *CommandsRequestBuilder) ByCommandId(commandId string)(*CommandItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *CommandsRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *CommandsRequestBuilder) WithUrl(rawUrl string)(*CommandsRequestBuilder) { + return NewCommandsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/commands/count_request_builder.go b/commands/count_request_builder.go index ce41c9dff91..5289ea5b109 100644 --- a/commands/count_request_builder.go +++ b/commands/count_request_builder.go @@ -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); +} diff --git a/commands/item_responsepayload_request_builder.go b/commands/item_responsepayload_request_builder.go index 205124e54c4..933e539bbdd 100644 --- a/commands/item_responsepayload_request_builder.go +++ b/commands/item_responsepayload_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemResponsepayloadRequestBuilder) ToGetRequestInformation(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 *ItemResponsepayloadRequestBuilder) WithUrl(rawUrl string)(*ItemResponsepayloadRequestBuilder) { + return NewItemResponsepayloadRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/call_records_call_record_item_request_builder.go b/communications/call_records_call_record_item_request_builder.go index a27898a26a8..810cc02df33 100644 --- a/communications/call_records_call_record_item_request_builder.go +++ b/communications/call_records_call_record_item_request_builder.go @@ -160,3 +160,7 @@ func (m *CallRecordsCallRecordItemRequestBuilder) ToPatchRequestInformation(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 *CallRecordsCallRecordItemRequestBuilder) WithUrl(rawUrl string)(*CallRecordsCallRecordItemRequestBuilder) { + return NewCallRecordsCallRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/call_records_count_request_builder.go b/communications/call_records_count_request_builder.go index 24c9c66370c..66f98f2868f 100644 --- a/communications/call_records_count_request_builder.go +++ b/communications/call_records_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CallRecordsCountRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *CallRecordsCountRequestBuilder) WithUrl(rawUrl string)(*CallRecordsCountRequestBuilder) { + return NewCallRecordsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/call_records_item_sessions_count_request_builder.go b/communications/call_records_item_sessions_count_request_builder.go index 957ab74a03a..43d1f7a8a5f 100644 --- a/communications/call_records_item_sessions_count_request_builder.go +++ b/communications/call_records_item_sessions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CallRecordsItemSessionsCountRequestBuilder) ToGetRequestInformation(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 *CallRecordsItemSessionsCountRequestBuilder) WithUrl(rawUrl string)(*CallRecordsItemSessionsCountRequestBuilder) { + return NewCallRecordsItemSessionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/call_records_item_sessions_item_segments_count_request_builder.go b/communications/call_records_item_sessions_item_segments_count_request_builder.go index 987069509c3..92829d1ab0a 100644 --- a/communications/call_records_item_sessions_item_segments_count_request_builder.go +++ b/communications/call_records_item_sessions_item_segments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CallRecordsItemSessionsItemSegmentsCountRequestBuilder) ToGetRequestInf } 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 *CallRecordsItemSessionsItemSegmentsCountRequestBuilder) WithUrl(rawUrl string)(*CallRecordsItemSessionsItemSegmentsCountRequestBuilder) { + return NewCallRecordsItemSessionsItemSegmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/call_records_item_sessions_item_segments_request_builder.go b/communications/call_records_item_sessions_item_segments_request_builder.go index 2a66971be91..ce9d14cc2f8 100644 --- a/communications/call_records_item_sessions_item_segments_request_builder.go +++ b/communications/call_records_item_sessions_item_segments_request_builder.go @@ -46,8 +46,8 @@ type CallRecordsItemSessionsItemSegmentsRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySegmentIdString provides operations to manage the segments property of the microsoft.graph.callRecords.session entity. -func (m *CallRecordsItemSessionsItemSegmentsRequestBuilder) BySegmentIdString(segmentId string)(*CallRecordsItemSessionsItemSegmentsSegmentItemRequestBuilder) { +// BySegmentId provides operations to manage the segments property of the microsoft.graph.callRecords.session entity. +func (m *CallRecordsItemSessionsItemSegmentsRequestBuilder) BySegmentId(segmentId string)(*CallRecordsItemSessionsItemSegmentsSegmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *CallRecordsItemSessionsItemSegmentsRequestBuilder) ToPostRequestInforma } 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 *CallRecordsItemSessionsItemSegmentsRequestBuilder) WithUrl(rawUrl string)(*CallRecordsItemSessionsItemSegmentsRequestBuilder) { + return NewCallRecordsItemSessionsItemSegmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/call_records_item_sessions_item_segments_segment_item_request_builder.go b/communications/call_records_item_sessions_item_segments_segment_item_request_builder.go index cac8fb14900..3b2dc6b7825 100644 --- a/communications/call_records_item_sessions_item_segments_segment_item_request_builder.go +++ b/communications/call_records_item_sessions_item_segments_segment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *CallRecordsItemSessionsItemSegmentsSegmentItemRequestBuilder) ToPatchRe } 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 *CallRecordsItemSessionsItemSegmentsSegmentItemRequestBuilder) WithUrl(rawUrl string)(*CallRecordsItemSessionsItemSegmentsSegmentItemRequestBuilder) { + return NewCallRecordsItemSessionsItemSegmentsSegmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/call_records_item_sessions_request_builder.go b/communications/call_records_item_sessions_request_builder.go index 74847b6cc76..245789af512 100644 --- a/communications/call_records_item_sessions_request_builder.go +++ b/communications/call_records_item_sessions_request_builder.go @@ -46,8 +46,8 @@ type CallRecordsItemSessionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySessionIdString provides operations to manage the sessions property of the microsoft.graph.callRecords.callRecord entity. -func (m *CallRecordsItemSessionsRequestBuilder) BySessionIdString(sessionId string)(*CallRecordsItemSessionsSessionItemRequestBuilder) { +// BySessionId provides operations to manage the sessions property of the microsoft.graph.callRecords.callRecord entity. +func (m *CallRecordsItemSessionsRequestBuilder) BySessionId(sessionId string)(*CallRecordsItemSessionsSessionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *CallRecordsItemSessionsRequestBuilder) ToPostRequestInformation(ctx con } 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 *CallRecordsItemSessionsRequestBuilder) WithUrl(rawUrl string)(*CallRecordsItemSessionsRequestBuilder) { + return NewCallRecordsItemSessionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/call_records_item_sessions_session_item_request_builder.go b/communications/call_records_item_sessions_session_item_request_builder.go index cd7808ff019..b569f19d5b9 100644 --- a/communications/call_records_item_sessions_session_item_request_builder.go +++ b/communications/call_records_item_sessions_session_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CallRecordsItemSessionsSessionItemRequestBuilder) ToPatchRequestInforma } 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 *CallRecordsItemSessionsSessionItemRequestBuilder) WithUrl(rawUrl string)(*CallRecordsItemSessionsSessionItemRequestBuilder) { + return NewCallRecordsItemSessionsSessionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/call_records_microsoft_graph_call_records_get_direct_routing_calls_with_from_date_time_with_to_date_time_request_builder.go b/communications/call_records_microsoft_graph_call_records_get_direct_routing_calls_with_from_date_time_with_to_date_time_request_builder.go index a923af360bf..521b3ebc63a 100644 --- a/communications/call_records_microsoft_graph_call_records_get_direct_routing_calls_with_from_date_time_with_to_date_time_request_builder.go +++ b/communications/call_records_microsoft_graph_call_records_get_direct_routing_calls_with_from_date_time_with_to_date_time_request_builder.go @@ -87,3 +87,7 @@ func (m *CallRecordsMicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTi } 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 *CallRecordsMicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder) WithUrl(rawUrl string)(*CallRecordsMicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder) { + return NewCallRecordsMicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/call_records_microsoft_graph_call_records_get_pstn_blocked_users_log_with_from_date_time_with_to_date_time_request_builder.go b/communications/call_records_microsoft_graph_call_records_get_pstn_blocked_users_log_with_from_date_time_with_to_date_time_request_builder.go index 13c001bc673..0db071e113c 100644 --- a/communications/call_records_microsoft_graph_call_records_get_pstn_blocked_users_log_with_from_date_time_with_to_date_time_request_builder.go +++ b/communications/call_records_microsoft_graph_call_records_get_pstn_blocked_users_log_with_from_date_time_with_to_date_time_request_builder.go @@ -87,3 +87,7 @@ func (m *CallRecordsMicrosoftGraphCallRecordsGetPstnBlockedUsersLogWithFromDateT } 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 *CallRecordsMicrosoftGraphCallRecordsGetPstnBlockedUsersLogWithFromDateTimeWithToDateTimeRequestBuilder) WithUrl(rawUrl string)(*CallRecordsMicrosoftGraphCallRecordsGetPstnBlockedUsersLogWithFromDateTimeWithToDateTimeRequestBuilder) { + return NewCallRecordsMicrosoftGraphCallRecordsGetPstnBlockedUsersLogWithFromDateTimeWithToDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/call_records_microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time_request_builder.go b/communications/call_records_microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time_request_builder.go index ff1f9edcd56..3aeee058de6 100644 --- a/communications/call_records_microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time_request_builder.go +++ b/communications/call_records_microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time_request_builder.go @@ -87,3 +87,7 @@ func (m *CallRecordsMicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToD } 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 *CallRecordsMicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder) WithUrl(rawUrl string)(*CallRecordsMicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder) { + return NewCallRecordsMicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/call_records_microsoft_graph_call_records_get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time_request_builder.go b/communications/call_records_microsoft_graph_call_records_get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time_request_builder.go index bbd9a46dc6b..d8bd225c142 100644 --- a/communications/call_records_microsoft_graph_call_records_get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time_request_builder.go +++ b/communications/call_records_microsoft_graph_call_records_get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time_request_builder.go @@ -87,3 +87,7 @@ func (m *CallRecordsMicrosoftGraphCallRecordsGetPstnOnlineMeetingDialoutReportWi } 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 *CallRecordsMicrosoftGraphCallRecordsGetPstnOnlineMeetingDialoutReportWithFromDateTimeWithToDateTimeRequestBuilder) WithUrl(rawUrl string)(*CallRecordsMicrosoftGraphCallRecordsGetPstnOnlineMeetingDialoutReportWithFromDateTimeWithToDateTimeRequestBuilder) { + return NewCallRecordsMicrosoftGraphCallRecordsGetPstnOnlineMeetingDialoutReportWithFromDateTimeWithToDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/call_records_microsoft_graph_call_records_get_sms_log_with_from_date_time_with_to_date_time_request_builder.go b/communications/call_records_microsoft_graph_call_records_get_sms_log_with_from_date_time_with_to_date_time_request_builder.go index c67a42b6e21..5555d9d7ae3 100644 --- a/communications/call_records_microsoft_graph_call_records_get_sms_log_with_from_date_time_with_to_date_time_request_builder.go +++ b/communications/call_records_microsoft_graph_call_records_get_sms_log_with_from_date_time_with_to_date_time_request_builder.go @@ -87,3 +87,7 @@ func (m *CallRecordsMicrosoftGraphCallRecordsGetSmsLogWithFromDateTimeWithToDate } 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 *CallRecordsMicrosoftGraphCallRecordsGetSmsLogWithFromDateTimeWithToDateTimeRequestBuilder) WithUrl(rawUrl string)(*CallRecordsMicrosoftGraphCallRecordsGetSmsLogWithFromDateTimeWithToDateTimeRequestBuilder) { + return NewCallRecordsMicrosoftGraphCallRecordsGetSmsLogWithFromDateTimeWithToDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/call_records_request_builder.go b/communications/call_records_request_builder.go index 126a4f27d6c..e2d134891cc 100644 --- a/communications/call_records_request_builder.go +++ b/communications/call_records_request_builder.go @@ -47,8 +47,8 @@ type CallRecordsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCallRecordIdString provides operations to manage the callRecords property of the microsoft.graph.cloudCommunications entity. -func (m *CallRecordsRequestBuilder) ByCallRecordIdString(callRecordId string)(*CallRecordsCallRecordItemRequestBuilder) { +// ByCallRecordId provides operations to manage the callRecords property of the microsoft.graph.cloudCommunications entity. +func (m *CallRecordsRequestBuilder) ByCallRecordId(callRecordId string)(*CallRecordsCallRecordItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -166,3 +166,7 @@ func (m *CallRecordsRequestBuilder) ToPostRequestInformation(ctx context.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 *CallRecordsRequestBuilder) WithUrl(rawUrl string)(*CallRecordsRequestBuilder) { + return NewCallRecordsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_call_item_request_builder.go b/communications/calls_call_item_request_builder.go index cb0dc56ffea..906d40184d9 100644 --- a/communications/calls_call_item_request_builder.go +++ b/communications/calls_call_item_request_builder.go @@ -235,3 +235,7 @@ func (m *CallsCallItemRequestBuilder) Unmute()(*CallsItemUnmuteRequestBuilder) { func (m *CallsCallItemRequestBuilder) UpdateRecordingStatus()(*CallsItemUpdateRecordingStatusRequestBuilder) { return NewCallsItemUpdateRecordingStatusRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *CallsCallItemRequestBuilder) WithUrl(rawUrl string)(*CallsCallItemRequestBuilder) { + return NewCallsCallItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_count_request_builder.go b/communications/calls_count_request_builder.go index 4636fafd019..30a4dfa8d99 100644 --- a/communications/calls_count_request_builder.go +++ b/communications/calls_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CallsCountRequestBuilder) ToGetRequestInformation(ctx context.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 *CallsCountRequestBuilder) WithUrl(rawUrl string)(*CallsCountRequestBuilder) { + return NewCallsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_add_large_gallery_view_request_builder.go b/communications/calls_item_add_large_gallery_view_request_builder.go index 6a0d5b2fd24..4b79c3a42d9 100644 --- a/communications/calls_item_add_large_gallery_view_request_builder.go +++ b/communications/calls_item_add_large_gallery_view_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemAddLargeGalleryViewRequestBuilder) 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 *CallsItemAddLargeGalleryViewRequestBuilder) WithUrl(rawUrl string)(*CallsItemAddLargeGalleryViewRequestBuilder) { + return NewCallsItemAddLargeGalleryViewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_answer_request_builder.go b/communications/calls_item_answer_request_builder.go index db6823d94f2..b5755b31182 100644 --- a/communications/calls_item_answer_request_builder.go +++ b/communications/calls_item_answer_request_builder.go @@ -65,3 +65,7 @@ func (m *CallsItemAnswerRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *CallsItemAnswerRequestBuilder) WithUrl(rawUrl string)(*CallsItemAnswerRequestBuilder) { + return NewCallsItemAnswerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go b/communications/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go index d8e7aaa9627..29665969ee3 100644 --- a/communications/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go +++ b/communications/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go @@ -162,3 +162,7 @@ func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) ToPatch } 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 *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) WithUrl(rawUrl string)(*CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) { + return NewCallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_audio_routing_groups_count_request_builder.go b/communications/calls_item_audio_routing_groups_count_request_builder.go index a370bcedf21..fa7969cdf22 100644 --- a/communications/calls_item_audio_routing_groups_count_request_builder.go +++ b/communications/calls_item_audio_routing_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CallsItemAudioRoutingGroupsCountRequestBuilder) 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 *CallsItemAudioRoutingGroupsCountRequestBuilder) WithUrl(rawUrl string)(*CallsItemAudioRoutingGroupsCountRequestBuilder) { + return NewCallsItemAudioRoutingGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_audio_routing_groups_request_builder.go b/communications/calls_item_audio_routing_groups_request_builder.go index a52a2612079..48a5f9b137a 100644 --- a/communications/calls_item_audio_routing_groups_request_builder.go +++ b/communications/calls_item_audio_routing_groups_request_builder.go @@ -46,8 +46,8 @@ type CallsItemAudioRoutingGroupsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAudioRoutingGroupIdString provides operations to manage the audioRoutingGroups property of the microsoft.graph.call entity. -func (m *CallsItemAudioRoutingGroupsRequestBuilder) ByAudioRoutingGroupIdString(audioRoutingGroupId string)(*CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) { +// ByAudioRoutingGroupId provides operations to manage the audioRoutingGroups property of the microsoft.graph.call entity. +func (m *CallsItemAudioRoutingGroupsRequestBuilder) ByAudioRoutingGroupId(audioRoutingGroupId string)(*CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *CallsItemAudioRoutingGroupsRequestBuilder) 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 *CallsItemAudioRoutingGroupsRequestBuilder) WithUrl(rawUrl string)(*CallsItemAudioRoutingGroupsRequestBuilder) { + return NewCallsItemAudioRoutingGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_cancel_media_processing_request_builder.go b/communications/calls_item_cancel_media_processing_request_builder.go index b54ef1555f9..42585ceac48 100644 --- a/communications/calls_item_cancel_media_processing_request_builder.go +++ b/communications/calls_item_cancel_media_processing_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemCancelMediaProcessingRequestBuilder) 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 *CallsItemCancelMediaProcessingRequestBuilder) WithUrl(rawUrl string)(*CallsItemCancelMediaProcessingRequestBuilder) { + return NewCallsItemCancelMediaProcessingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_change_screen_sharing_role_request_builder.go b/communications/calls_item_change_screen_sharing_role_request_builder.go index f6321c33c8e..165532dd805 100644 --- a/communications/calls_item_change_screen_sharing_role_request_builder.go +++ b/communications/calls_item_change_screen_sharing_role_request_builder.go @@ -65,3 +65,7 @@ func (m *CallsItemChangeScreenSharingRoleRequestBuilder) ToPostRequestInformatio } 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 *CallsItemChangeScreenSharingRoleRequestBuilder) WithUrl(rawUrl string)(*CallsItemChangeScreenSharingRoleRequestBuilder) { + return NewCallsItemChangeScreenSharingRoleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go b/communications/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go index 2e042a36cf7..32da60c2814 100644 --- a/communications/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go +++ b/communications/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go @@ -156,3 +156,7 @@ func (m *CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) } 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 *CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) WithUrl(rawUrl string)(*CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) { + return NewCallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_content_sharing_sessions_count_request_builder.go b/communications/calls_item_content_sharing_sessions_count_request_builder.go index 28fdd223301..c4d691de9c6 100644 --- a/communications/calls_item_content_sharing_sessions_count_request_builder.go +++ b/communications/calls_item_content_sharing_sessions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CallsItemContentSharingSessionsCountRequestBuilder) ToGetRequestInforma } 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 *CallsItemContentSharingSessionsCountRequestBuilder) WithUrl(rawUrl string)(*CallsItemContentSharingSessionsCountRequestBuilder) { + return NewCallsItemContentSharingSessionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_content_sharing_sessions_request_builder.go b/communications/calls_item_content_sharing_sessions_request_builder.go index 2055df859ae..06414dfe882 100644 --- a/communications/calls_item_content_sharing_sessions_request_builder.go +++ b/communications/calls_item_content_sharing_sessions_request_builder.go @@ -46,8 +46,8 @@ type CallsItemContentSharingSessionsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByContentSharingSessionIdString provides operations to manage the contentSharingSessions property of the microsoft.graph.call entity. -func (m *CallsItemContentSharingSessionsRequestBuilder) ByContentSharingSessionIdString(contentSharingSessionId string)(*CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) { +// ByContentSharingSessionId provides operations to manage the contentSharingSessions property of the microsoft.graph.call entity. +func (m *CallsItemContentSharingSessionsRequestBuilder) ByContentSharingSessionId(contentSharingSessionId string)(*CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *CallsItemContentSharingSessionsRequestBuilder) 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 *CallsItemContentSharingSessionsRequestBuilder) WithUrl(rawUrl string)(*CallsItemContentSharingSessionsRequestBuilder) { + return NewCallsItemContentSharingSessionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_keep_alive_request_builder.go b/communications/calls_item_keep_alive_request_builder.go index 17a04db8c22..af295bdfe14 100644 --- a/communications/calls_item_keep_alive_request_builder.go +++ b/communications/calls_item_keep_alive_request_builder.go @@ -61,3 +61,7 @@ func (m *CallsItemKeepAliveRequestBuilder) 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 *CallsItemKeepAliveRequestBuilder) WithUrl(rawUrl string)(*CallsItemKeepAliveRequestBuilder) { + return NewCallsItemKeepAliveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_mute_request_builder.go b/communications/calls_item_mute_request_builder.go index 817d8079e8b..8d6c451fcba 100644 --- a/communications/calls_item_mute_request_builder.go +++ b/communications/calls_item_mute_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemMuteRequestBuilder) 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 *CallsItemMuteRequestBuilder) WithUrl(rawUrl string)(*CallsItemMuteRequestBuilder) { + return NewCallsItemMuteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_operations_comms_operation_item_request_builder.go b/communications/calls_item_operations_comms_operation_item_request_builder.go index e895d934745..8c8cf9b9cfc 100644 --- a/communications/calls_item_operations_comms_operation_item_request_builder.go +++ b/communications/calls_item_operations_comms_operation_item_request_builder.go @@ -156,3 +156,7 @@ func (m *CallsItemOperationsCommsOperationItemRequestBuilder) 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 *CallsItemOperationsCommsOperationItemRequestBuilder) WithUrl(rawUrl string)(*CallsItemOperationsCommsOperationItemRequestBuilder) { + return NewCallsItemOperationsCommsOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_operations_count_request_builder.go b/communications/calls_item_operations_count_request_builder.go index fc0cd03ec55..05352e37f9b 100644 --- a/communications/calls_item_operations_count_request_builder.go +++ b/communications/calls_item_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CallsItemOperationsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *CallsItemOperationsCountRequestBuilder) WithUrl(rawUrl string)(*CallsItemOperationsCountRequestBuilder) { + return NewCallsItemOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_operations_request_builder.go b/communications/calls_item_operations_request_builder.go index dd77a6d9a46..c4dd297c6d9 100644 --- a/communications/calls_item_operations_request_builder.go +++ b/communications/calls_item_operations_request_builder.go @@ -46,8 +46,8 @@ type CallsItemOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCommsOperationIdString provides operations to manage the operations property of the microsoft.graph.call entity. -func (m *CallsItemOperationsRequestBuilder) ByCommsOperationIdString(commsOperationId string)(*CallsItemOperationsCommsOperationItemRequestBuilder) { +// ByCommsOperationId provides operations to manage the operations property of the microsoft.graph.call entity. +func (m *CallsItemOperationsRequestBuilder) ByCommsOperationId(commsOperationId string)(*CallsItemOperationsCommsOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *CallsItemOperationsRequestBuilder) 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 *CallsItemOperationsRequestBuilder) WithUrl(rawUrl string)(*CallsItemOperationsRequestBuilder) { + return NewCallsItemOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_participants_count_request_builder.go b/communications/calls_item_participants_count_request_builder.go index 5e97da74ff5..d79202d4f09 100644 --- a/communications/calls_item_participants_count_request_builder.go +++ b/communications/calls_item_participants_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CallsItemParticipantsCountRequestBuilder) ToGetRequestInformation(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 *CallsItemParticipantsCountRequestBuilder) WithUrl(rawUrl string)(*CallsItemParticipantsCountRequestBuilder) { + return NewCallsItemParticipantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_participants_invite_request_builder.go b/communications/calls_item_participants_invite_request_builder.go index 58b240a09d7..d696dad779a 100644 --- a/communications/calls_item_participants_invite_request_builder.go +++ b/communications/calls_item_participants_invite_request_builder.go @@ -31,10 +31,10 @@ func NewCallsItemParticipantsInviteRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewCallsItemParticipantsInviteRequestBuilderInternal(urlParams, requestAdapter) } -// Post delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. +// Post invite participants to the active call. For more information about how to handle operations, see commsOperation. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0 func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InviteParticipantsOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -53,7 +53,7 @@ func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InviteParticipantsOperationable), nil } -// ToPostRequestInformation delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. +// ToPostRequestInformation invite participants to the active call. For more information about how to handle operations, see commsOperation. func (m *CallsItemParticipantsInviteRequestBuilder) ToPostRequestInformation(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *CallsItemParticipantsInviteRequestBuilder) 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 *CallsItemParticipantsInviteRequestBuilder) WithUrl(rawUrl string)(*CallsItemParticipantsInviteRequestBuilder) { + return NewCallsItemParticipantsInviteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_participants_item_mute_request_builder.go b/communications/calls_item_participants_item_mute_request_builder.go index 7d569ddbc01..dbc384b140b 100644 --- a/communications/calls_item_participants_item_mute_request_builder.go +++ b/communications/calls_item_participants_item_mute_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemParticipantsItemMuteRequestBuilder) ToPostRequestInformation(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 *CallsItemParticipantsItemMuteRequestBuilder) WithUrl(rawUrl string)(*CallsItemParticipantsItemMuteRequestBuilder) { + return NewCallsItemParticipantsItemMuteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_participants_item_start_hold_music_request_builder.go b/communications/calls_item_participants_item_start_hold_music_request_builder.go index fb9d24c709e..7f9232691ff 100644 --- a/communications/calls_item_participants_item_start_hold_music_request_builder.go +++ b/communications/calls_item_participants_item_start_hold_music_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemParticipantsItemStartHoldMusicRequestBuilder) ToPostRequestInf } 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 *CallsItemParticipantsItemStartHoldMusicRequestBuilder) WithUrl(rawUrl string)(*CallsItemParticipantsItemStartHoldMusicRequestBuilder) { + return NewCallsItemParticipantsItemStartHoldMusicRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_participants_item_stop_hold_music_request_builder.go b/communications/calls_item_participants_item_stop_hold_music_request_builder.go index 41fc4f3bacd..37845cfafad 100644 --- a/communications/calls_item_participants_item_stop_hold_music_request_builder.go +++ b/communications/calls_item_participants_item_stop_hold_music_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemParticipantsItemStopHoldMusicRequestBuilder) ToPostRequestInfo } 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 *CallsItemParticipantsItemStopHoldMusicRequestBuilder) WithUrl(rawUrl string)(*CallsItemParticipantsItemStopHoldMusicRequestBuilder) { + return NewCallsItemParticipantsItemStopHoldMusicRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_participants_mute_all_request_builder.go b/communications/calls_item_participants_mute_all_request_builder.go index ee58e8daf67..0d30d0d3828 100644 --- a/communications/calls_item_participants_mute_all_request_builder.go +++ b/communications/calls_item_participants_mute_all_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemParticipantsMuteAllRequestBuilder) 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 *CallsItemParticipantsMuteAllRequestBuilder) WithUrl(rawUrl string)(*CallsItemParticipantsMuteAllRequestBuilder) { + return NewCallsItemParticipantsMuteAllRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_participants_participant_item_request_builder.go b/communications/calls_item_participants_participant_item_request_builder.go index f54fd6cef08..25d8de9e90d 100644 --- a/communications/calls_item_participants_participant_item_request_builder.go +++ b/communications/calls_item_participants_participant_item_request_builder.go @@ -171,3 +171,7 @@ func (m *CallsItemParticipantsParticipantItemRequestBuilder) ToPatchRequestInfor } 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 *CallsItemParticipantsParticipantItemRequestBuilder) WithUrl(rawUrl string)(*CallsItemParticipantsParticipantItemRequestBuilder) { + return NewCallsItemParticipantsParticipantItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_participants_request_builder.go b/communications/calls_item_participants_request_builder.go index eddb16e8b4a..94e75a450c0 100644 --- a/communications/calls_item_participants_request_builder.go +++ b/communications/calls_item_participants_request_builder.go @@ -46,8 +46,8 @@ type CallsItemParticipantsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByParticipantIdString provides operations to manage the participants property of the microsoft.graph.call entity. -func (m *CallsItemParticipantsRequestBuilder) ByParticipantIdString(participantId string)(*CallsItemParticipantsParticipantItemRequestBuilder) { +// ByParticipantId provides operations to manage the participants property of the microsoft.graph.call entity. +func (m *CallsItemParticipantsRequestBuilder) ByParticipantId(participantId string)(*CallsItemParticipantsParticipantItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *CallsItemParticipantsRequestBuilder) 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 *CallsItemParticipantsRequestBuilder) WithUrl(rawUrl string)(*CallsItemParticipantsRequestBuilder) { + return NewCallsItemParticipantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_play_prompt_request_builder.go b/communications/calls_item_play_prompt_request_builder.go index 91a8f064c2a..69c0e773c9c 100644 --- a/communications/calls_item_play_prompt_request_builder.go +++ b/communications/calls_item_play_prompt_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemPlayPromptRequestBuilder) 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 *CallsItemPlayPromptRequestBuilder) WithUrl(rawUrl string)(*CallsItemPlayPromptRequestBuilder) { + return NewCallsItemPlayPromptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_record_request_builder.go b/communications/calls_item_record_request_builder.go index d505c020d3e..68fce660a4b 100644 --- a/communications/calls_item_record_request_builder.go +++ b/communications/calls_item_record_request_builder.go @@ -67,3 +67,7 @@ func (m *CallsItemRecordRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *CallsItemRecordRequestBuilder) WithUrl(rawUrl string)(*CallsItemRecordRequestBuilder) { + return NewCallsItemRecordRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_record_response_request_builder.go b/communications/calls_item_record_response_request_builder.go index a32f461b5f4..1b0c5e22ebb 100644 --- a/communications/calls_item_record_response_request_builder.go +++ b/communications/calls_item_record_response_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemRecordResponseRequestBuilder) ToPostRequestInformation(ctx con } 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 *CallsItemRecordResponseRequestBuilder) WithUrl(rawUrl string)(*CallsItemRecordResponseRequestBuilder) { + return NewCallsItemRecordResponseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_redirect_request_builder.go b/communications/calls_item_redirect_request_builder.go index 31356bc8f48..e39b1af911a 100644 --- a/communications/calls_item_redirect_request_builder.go +++ b/communications/calls_item_redirect_request_builder.go @@ -65,3 +65,7 @@ func (m *CallsItemRedirectRequestBuilder) ToPostRequestInformation(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 *CallsItemRedirectRequestBuilder) WithUrl(rawUrl string)(*CallsItemRedirectRequestBuilder) { + return NewCallsItemRedirectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_reject_request_builder.go b/communications/calls_item_reject_request_builder.go index a03a16982b1..e83b4f016f8 100644 --- a/communications/calls_item_reject_request_builder.go +++ b/communications/calls_item_reject_request_builder.go @@ -65,3 +65,7 @@ func (m *CallsItemRejectRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *CallsItemRejectRequestBuilder) WithUrl(rawUrl string)(*CallsItemRejectRequestBuilder) { + return NewCallsItemRejectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_subscribe_to_tone_request_builder.go b/communications/calls_item_subscribe_to_tone_request_builder.go index acc3447ee34..d46a30d0119 100644 --- a/communications/calls_item_subscribe_to_tone_request_builder.go +++ b/communications/calls_item_subscribe_to_tone_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemSubscribeToToneRequestBuilder) ToPostRequestInformation(ctx co } 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 *CallsItemSubscribeToToneRequestBuilder) WithUrl(rawUrl string)(*CallsItemSubscribeToToneRequestBuilder) { + return NewCallsItemSubscribeToToneRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_transfer_request_builder.go b/communications/calls_item_transfer_request_builder.go index b481108587b..87d9c5e28a0 100644 --- a/communications/calls_item_transfer_request_builder.go +++ b/communications/calls_item_transfer_request_builder.go @@ -65,3 +65,7 @@ func (m *CallsItemTransferRequestBuilder) ToPostRequestInformation(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 *CallsItemTransferRequestBuilder) WithUrl(rawUrl string)(*CallsItemTransferRequestBuilder) { + return NewCallsItemTransferRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_unmute_request_builder.go b/communications/calls_item_unmute_request_builder.go index 3c14fccacff..e5c3fe5b841 100644 --- a/communications/calls_item_unmute_request_builder.go +++ b/communications/calls_item_unmute_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemUnmuteRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *CallsItemUnmuteRequestBuilder) WithUrl(rawUrl string)(*CallsItemUnmuteRequestBuilder) { + return NewCallsItemUnmuteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_update_recording_status_request_builder.go b/communications/calls_item_update_recording_status_request_builder.go index 09fa0b37765..69efb167400 100644 --- a/communications/calls_item_update_recording_status_request_builder.go +++ b/communications/calls_item_update_recording_status_request_builder.go @@ -70,3 +70,7 @@ func (m *CallsItemUpdateRecordingStatusRequestBuilder) 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 *CallsItemUpdateRecordingStatusRequestBuilder) WithUrl(rawUrl string)(*CallsItemUpdateRecordingStatusRequestBuilder) { + return NewCallsItemUpdateRecordingStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_log_teleconference_device_quality_request_builder.go b/communications/calls_log_teleconference_device_quality_request_builder.go index a0944714f71..a09cdcd5a10 100644 --- a/communications/calls_log_teleconference_device_quality_request_builder.go +++ b/communications/calls_log_teleconference_device_quality_request_builder.go @@ -65,3 +65,7 @@ func (m *CallsLogTeleconferenceDeviceQualityRequestBuilder) ToPostRequestInforma } 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 *CallsLogTeleconferenceDeviceQualityRequestBuilder) WithUrl(rawUrl string)(*CallsLogTeleconferenceDeviceQualityRequestBuilder) { + return NewCallsLogTeleconferenceDeviceQualityRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_request_builder.go b/communications/calls_request_builder.go index 5ef7550b474..f30e3627c72 100644 --- a/communications/calls_request_builder.go +++ b/communications/calls_request_builder.go @@ -46,8 +46,8 @@ type CallsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCallIdString provides operations to manage the calls property of the microsoft.graph.cloudCommunications entity. -func (m *CallsRequestBuilder) ByCallIdString(callId string)(*CallsCallItemRequestBuilder) { +// ByCallId provides operations to manage the calls property of the microsoft.graph.cloudCommunications entity. +func (m *CallsRequestBuilder) ByCallId(callId string)(*CallsCallItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *CallsRequestBuilder) ToPostRequestInformation(ctx context.Context, body } 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 *CallsRequestBuilder) WithUrl(rawUrl string)(*CallsRequestBuilder) { + return NewCallsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/communications_request_builder.go b/communications/communications_request_builder.go index daf92250e02..0c5938a6f8c 100644 --- a/communications/communications_request_builder.go +++ b/communications/communications_request_builder.go @@ -138,3 +138,7 @@ func (m *CommunicationsRequestBuilder) ToPatchRequestInformation(ctx context.Con } 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 *CommunicationsRequestBuilder) WithUrl(rawUrl string)(*CommunicationsRequestBuilder) { + return NewCommunicationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/get_presences_by_user_id_request_builder.go b/communications/get_presences_by_user_id_request_builder.go index fb7c5e4fcd9..3ddd39c2fe1 100644 --- a/communications/get_presences_by_user_id_request_builder.go +++ b/communications/get_presences_by_user_id_request_builder.go @@ -69,3 +69,7 @@ func (m *GetPresencesByUserIdRequestBuilder) ToPostRequestInformation(ctx contex } 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 *GetPresencesByUserIdRequestBuilder) WithUrl(rawUrl string)(*GetPresencesByUserIdRequestBuilder) { + return NewGetPresencesByUserIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_count_request_builder.go b/communications/online_meetings_count_request_builder.go index 15460a8e424..caaec77f13a 100644 --- a/communications/online_meetings_count_request_builder.go +++ b/communications/online_meetings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *OnlineMeetingsCountRequestBuilder) ToGetRequestInformation(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 *OnlineMeetingsCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsCountRequestBuilder) { + return NewOnlineMeetingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_create_or_get_request_builder.go b/communications/online_meetings_create_or_get_request_builder.go index e602dbcdc5b..91ce2fdd6cd 100644 --- a/communications/online_meetings_create_or_get_request_builder.go +++ b/communications/online_meetings_create_or_get_request_builder.go @@ -70,3 +70,7 @@ func (m *OnlineMeetingsCreateOrGetRequestBuilder) ToPostRequestInformation(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 *OnlineMeetingsCreateOrGetRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsCreateOrGetRequestBuilder) { + return NewOnlineMeetingsCreateOrGetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_get_all_recordings_request_builder.go b/communications/online_meetings_get_all_recordings_request_builder.go index 2024350146e..e60cf830fd9 100644 --- a/communications/online_meetings_get_all_recordings_request_builder.go +++ b/communications/online_meetings_get_all_recordings_request_builder.go @@ -84,3 +84,7 @@ func (m *OnlineMeetingsGetAllRecordingsRequestBuilder) ToGetRequestInformation(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 *OnlineMeetingsGetAllRecordingsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsGetAllRecordingsRequestBuilder) { + return NewOnlineMeetingsGetAllRecordingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_get_all_transcripts_request_builder.go b/communications/online_meetings_get_all_transcripts_request_builder.go index 307ef5ff109..4f6405ddef9 100644 --- a/communications/online_meetings_get_all_transcripts_request_builder.go +++ b/communications/online_meetings_get_all_transcripts_request_builder.go @@ -84,3 +84,7 @@ func (m *OnlineMeetingsGetAllTranscriptsRequestBuilder) 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 *OnlineMeetingsGetAllTranscriptsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsGetAllTranscriptsRequestBuilder) { + return NewOnlineMeetingsGetAllTranscriptsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_alternative_recording_request_builder.go b/communications/online_meetings_item_alternative_recording_request_builder.go index 59b9a2e4da6..7474d15894b 100644 --- a/communications/online_meetings_item_alternative_recording_request_builder.go +++ b/communications/online_meetings_item_alternative_recording_request_builder.go @@ -103,3 +103,7 @@ func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) ToPutRequestInfor } 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 *OnlineMeetingsItemAlternativeRecordingRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemAlternativeRecordingRequestBuilder) { + return NewOnlineMeetingsItemAlternativeRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_attendance_reports_count_request_builder.go b/communications/online_meetings_item_attendance_reports_count_request_builder.go index 09cf5c101cf..a94990f4c8b 100644 --- a/communications/online_meetings_item_attendance_reports_count_request_builder.go +++ b/communications/online_meetings_item_attendance_reports_count_request_builder.go @@ -74,3 +74,7 @@ func (m *OnlineMeetingsItemAttendanceReportsCountRequestBuilder) ToGetRequestInf } 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 *OnlineMeetingsItemAttendanceReportsCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemAttendanceReportsCountRequestBuilder) { + return NewOnlineMeetingsItemAttendanceReportsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go b/communications/online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go index f7ac6bce5f3..eecb831d6a4 100644 --- a/communications/online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go +++ b/communications/online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go @@ -153,3 +153,7 @@ func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecor } 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 *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder) { + return NewOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_attendance_reports_item_attendance_records_count_request_builder.go b/communications/online_meetings_item_attendance_reports_item_attendance_records_count_request_builder.go index 404f1896457..552156b048a 100644 --- a/communications/online_meetings_item_attendance_reports_item_attendance_records_count_request_builder.go +++ b/communications/online_meetings_item_attendance_reports_item_attendance_records_count_request_builder.go @@ -74,3 +74,7 @@ func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsCountRequestBui } 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 *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilder) { + return NewOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go b/communications/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go index 3cd8eb6ac7a..c9691ee99c2 100644 --- a/communications/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go +++ b/communications/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go @@ -46,8 +46,8 @@ type OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilderPostR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttendanceRecordIdString provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. -func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) ByAttendanceRecordIdString(attendanceRecordId string)(*OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder) { +// ByAttendanceRecordId provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. +func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) ByAttendanceRecordId(attendanceRecordId string)(*OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) } 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 *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) { + return NewOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go b/communications/online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go index 6f7b99a133c..7bd721d9a50 100644 --- a/communications/online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go +++ b/communications/online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go @@ -160,3 +160,7 @@ func (m *OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBu } 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 *OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) { + return NewOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_attendance_reports_request_builder.go b/communications/online_meetings_item_attendance_reports_request_builder.go index f4a0a597ccf..cde5de41941 100644 --- a/communications/online_meetings_item_attendance_reports_request_builder.go +++ b/communications/online_meetings_item_attendance_reports_request_builder.go @@ -46,8 +46,8 @@ type OnlineMeetingsItemAttendanceReportsRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMeetingAttendanceReportIdString provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. -func (m *OnlineMeetingsItemAttendanceReportsRequestBuilder) ByMeetingAttendanceReportIdString(meetingAttendanceReportId string)(*OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) { +// ByMeetingAttendanceReportId provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +func (m *OnlineMeetingsItemAttendanceReportsRequestBuilder) ByMeetingAttendanceReportId(meetingAttendanceReportId string)(*OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *OnlineMeetingsItemAttendanceReportsRequestBuilder) ToPostRequestInforma } 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 *OnlineMeetingsItemAttendanceReportsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemAttendanceReportsRequestBuilder) { + return NewOnlineMeetingsItemAttendanceReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_attendee_report_request_builder.go b/communications/online_meetings_item_attendee_report_request_builder.go index 63650c8cdff..f2e9509081d 100644 --- a/communications/online_meetings_item_attendee_report_request_builder.go +++ b/communications/online_meetings_item_attendee_report_request_builder.go @@ -103,3 +103,7 @@ func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) ToPutRequestInformation } 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 *OnlineMeetingsItemAttendeeReportRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemAttendeeReportRequestBuilder) { + return NewOnlineMeetingsItemAttendeeReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_broadcast_recording_request_builder.go b/communications/online_meetings_item_broadcast_recording_request_builder.go index eb3d9489755..ccef1f50e0b 100644 --- a/communications/online_meetings_item_broadcast_recording_request_builder.go +++ b/communications/online_meetings_item_broadcast_recording_request_builder.go @@ -103,3 +103,7 @@ func (m *OnlineMeetingsItemBroadcastRecordingRequestBuilder) ToPutRequestInforma } 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 *OnlineMeetingsItemBroadcastRecordingRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemBroadcastRecordingRequestBuilder) { + return NewOnlineMeetingsItemBroadcastRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go b/communications/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go index 06e00b5d65c..26aa45d52a8 100644 --- a/communications/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go +++ b/communications/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go @@ -62,3 +62,7 @@ func (m *OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) ToGetR } 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 *OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) { + return NewOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go b/communications/online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go index 634b81e0867..91332f397fc 100644 --- a/communications/online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go +++ b/communications/online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go @@ -153,3 +153,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRec } 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 *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { + return NewOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_meeting_attendance_report_attendance_records_count_request_builder.go b/communications/online_meetings_item_meeting_attendance_report_attendance_records_count_request_builder.go index 567be4c6b3b..e62e5700267 100644 --- a/communications/online_meetings_item_meeting_attendance_report_attendance_records_count_request_builder.go +++ b/communications/online_meetings_item_meeting_attendance_report_attendance_records_count_request_builder.go @@ -74,3 +74,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsCountRequestB } 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 *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) { + return NewOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go b/communications/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go index c4d216835d8..055546381c5 100644 --- a/communications/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go +++ b/communications/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go @@ -46,8 +46,8 @@ type OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderPos // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttendanceRecordIdString provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. -func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) ByAttendanceRecordIdString(attendanceRecordId string)(*OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { +// ByAttendanceRecordId provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. +func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) ByAttendanceRecordId(attendanceRecordId string)(*OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilde } 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 *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) { + return NewOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_meeting_attendance_report_request_builder.go b/communications/online_meetings_item_meeting_attendance_report_request_builder.go index cd503bd696b..0b6511c551d 100644 --- a/communications/online_meetings_item_meeting_attendance_report_request_builder.go +++ b/communications/online_meetings_item_meeting_attendance_report_request_builder.go @@ -160,3 +160,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToPatchRequest } 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 *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) { + return NewOnlineMeetingsItemMeetingAttendanceReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_recording_request_builder.go b/communications/online_meetings_item_recording_request_builder.go index 269897624e8..010a61bb6e3 100644 --- a/communications/online_meetings_item_recording_request_builder.go +++ b/communications/online_meetings_item_recording_request_builder.go @@ -103,3 +103,7 @@ func (m *OnlineMeetingsItemRecordingRequestBuilder) ToPutRequestInformation(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 *OnlineMeetingsItemRecordingRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRecordingRequestBuilder) { + return NewOnlineMeetingsItemRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_recordings_call_recording_item_request_builder.go b/communications/online_meetings_item_recordings_call_recording_item_request_builder.go index 05655f63a2b..9c4ee53c8ee 100644 --- a/communications/online_meetings_item_recordings_call_recording_item_request_builder.go +++ b/communications/online_meetings_item_recordings_call_recording_item_request_builder.go @@ -18,7 +18,7 @@ type OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. type OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,7 +74,7 @@ func (m *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) Delete(ctx } return nil } -// Get get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// Get get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0 @@ -127,7 +127,7 @@ func (m *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToDeleteRe } return requestInfo, nil } -// ToGetRequestInformation get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// ToGetRequestInformation get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. func (m *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -160,3 +160,7 @@ func (m *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToPatchReq } 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 *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) { + return NewOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_recordings_count_request_builder.go b/communications/online_meetings_item_recordings_count_request_builder.go index 03ceb19cf39..caa05dfe555 100644 --- a/communications/online_meetings_item_recordings_count_request_builder.go +++ b/communications/online_meetings_item_recordings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *OnlineMeetingsItemRecordingsCountRequestBuilder) 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 *OnlineMeetingsItemRecordingsCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRecordingsCountRequestBuilder) { + return NewOnlineMeetingsItemRecordingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_recordings_delta_request_builder.go b/communications/online_meetings_item_recordings_delta_request_builder.go index 135ad7611db..d6ffa20df0c 100644 --- a/communications/online_meetings_item_recordings_delta_request_builder.go +++ b/communications/online_meetings_item_recordings_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *OnlineMeetingsItemRecordingsDeltaRequestBuilder) 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 *OnlineMeetingsItemRecordingsDeltaRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRecordingsDeltaRequestBuilder) { + return NewOnlineMeetingsItemRecordingsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_recordings_item_content_request_builder.go b/communications/online_meetings_item_recordings_item_content_request_builder.go index 74e93f0db46..04fb37fdb2c 100644 --- a/communications/online_meetings_item_recordings_item_content_request_builder.go +++ b/communications/online_meetings_item_recordings_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *OnlineMeetingsItemRecordingsItemContentRequestBuilder) ToPutRequestInfo } 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 *OnlineMeetingsItemRecordingsItemContentRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRecordingsItemContentRequestBuilder) { + return NewOnlineMeetingsItemRecordingsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_recordings_request_builder.go b/communications/online_meetings_item_recordings_request_builder.go index dd97823a575..5cf4f018353 100644 --- a/communications/online_meetings_item_recordings_request_builder.go +++ b/communications/online_meetings_item_recordings_request_builder.go @@ -11,7 +11,7 @@ import ( type OnlineMeetingsItemRecordingsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// OnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. type OnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type OnlineMeetingsItemRecordingsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCallRecordingIdString provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. -func (m *OnlineMeetingsItemRecordingsRequestBuilder) ByCallRecordingIdString(callRecordingId string)(*OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) { +// ByCallRecordingId provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. +func (m *OnlineMeetingsItemRecordingsRequestBuilder) ByCallRecordingId(callRecordingId string)(*OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -78,7 +78,7 @@ func (m *OnlineMeetingsItemRecordingsRequestBuilder) Count()(*OnlineMeetingsItem func (m *OnlineMeetingsItemRecordingsRequestBuilder) Delta()(*OnlineMeetingsItemRecordingsDeltaRequestBuilder) { return NewOnlineMeetingsItemRecordingsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// Get get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. func (m *OnlineMeetingsItemRecordingsRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +116,7 @@ func (m *OnlineMeetingsItemRecordingsRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable), nil } -// ToGetRequestInformation get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// ToGetRequestInformation get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. func (m *OnlineMeetingsItemRecordingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -149,3 +149,7 @@ func (m *OnlineMeetingsItemRecordingsRequestBuilder) 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 *OnlineMeetingsItemRecordingsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRecordingsRequestBuilder) { + return NewOnlineMeetingsItemRecordingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_registration_custom_questions_count_request_builder.go b/communications/online_meetings_item_registration_custom_questions_count_request_builder.go index 55f8a48dedf..1a487e5b38b 100644 --- a/communications/online_meetings_item_registration_custom_questions_count_request_builder.go +++ b/communications/online_meetings_item_registration_custom_questions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsCountRequestBuilder) ToGet } 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 *OnlineMeetingsItemRegistrationCustomQuestionsCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRegistrationCustomQuestionsCountRequestBuilder) { + return NewOnlineMeetingsItemRegistrationCustomQuestionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go b/communications/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go index 948ae3ac0d6..d0fcaf2bce3 100644 --- a/communications/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go +++ b/communications/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go @@ -162,3 +162,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestio } 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 *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { + return NewOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_registration_custom_questions_request_builder.go b/communications/online_meetings_item_registration_custom_questions_request_builder.go index f79f928829f..73dea5c0463 100644 --- a/communications/online_meetings_item_registration_custom_questions_request_builder.go +++ b/communications/online_meetings_item_registration_custom_questions_request_builder.go @@ -46,8 +46,8 @@ type OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMeetingRegistrationQuestionIdString provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. -func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ByMeetingRegistrationQuestionIdString(meetingRegistrationQuestionId string)(*OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { +// ByMeetingRegistrationQuestionId provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. +func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ByMeetingRegistrationQuestionId(meetingRegistrationQuestionId string)(*OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ToPostRequ } 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 *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) { + return NewOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_registration_registrants_count_request_builder.go b/communications/online_meetings_item_registration_registrants_count_request_builder.go index abdca60de72..5496761fe10 100644 --- a/communications/online_meetings_item_registration_registrants_count_request_builder.go +++ b/communications/online_meetings_item_registration_registrants_count_request_builder.go @@ -74,3 +74,7 @@ func (m *OnlineMeetingsItemRegistrationRegistrantsCountRequestBuilder) ToGetRequ } 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 *OnlineMeetingsItemRegistrationRegistrantsCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRegistrationRegistrantsCountRequestBuilder) { + return NewOnlineMeetingsItemRegistrationRegistrantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go b/communications/online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go index 97320aada83..49914614098 100644 --- a/communications/online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go +++ b/communications/online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go @@ -153,3 +153,7 @@ func (m *OnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemReque } 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 *OnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { + return NewOnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_registration_registrants_request_builder.go b/communications/online_meetings_item_registration_registrants_request_builder.go index fd087a78454..2ed780ee46c 100644 --- a/communications/online_meetings_item_registration_registrants_request_builder.go +++ b/communications/online_meetings_item_registration_registrants_request_builder.go @@ -46,8 +46,8 @@ type OnlineMeetingsItemRegistrationRegistrantsRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMeetingRegistrantBaseIdString provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. -func (m *OnlineMeetingsItemRegistrationRegistrantsRequestBuilder) ByMeetingRegistrantBaseIdString(meetingRegistrantBaseId string)(*OnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { +// ByMeetingRegistrantBaseId provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. +func (m *OnlineMeetingsItemRegistrationRegistrantsRequestBuilder) ByMeetingRegistrantBaseId(meetingRegistrantBaseId string)(*OnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *OnlineMeetingsItemRegistrationRegistrantsRequestBuilder) ToPostRequestI } 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 *OnlineMeetingsItemRegistrationRegistrantsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRegistrationRegistrantsRequestBuilder) { + return NewOnlineMeetingsItemRegistrationRegistrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_registration_request_builder.go b/communications/online_meetings_item_registration_request_builder.go index 88ff3daa980..68e4b671275 100644 --- a/communications/online_meetings_item_registration_request_builder.go +++ b/communications/online_meetings_item_registration_request_builder.go @@ -170,3 +170,7 @@ func (m *OnlineMeetingsItemRegistrationRequestBuilder) 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 *OnlineMeetingsItemRegistrationRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemRegistrationRequestBuilder) { + return NewOnlineMeetingsItemRegistrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_transcripts_call_transcript_item_request_builder.go b/communications/online_meetings_item_transcripts_call_transcript_item_request_builder.go index ab0dfe2c8f8..ac11d3088a7 100644 --- a/communications/online_meetings_item_transcripts_call_transcript_item_request_builder.go +++ b/communications/online_meetings_item_transcripts_call_transcript_item_request_builder.go @@ -18,7 +18,7 @@ type OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters retrieve a callTranscript object associated with an onlineMeeting. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters retrieve a callTranscript object associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. type OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,7 +74,7 @@ func (m *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) Delete(c } return nil } -// Get retrieve a callTranscript object associated with an onlineMeeting. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// Get retrieve a callTranscript object associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0 @@ -131,7 +131,7 @@ func (m *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToDelete } return requestInfo, nil } -// ToGetRequestInformation retrieve a callTranscript object associated with an onlineMeeting. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. func (m *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -164,3 +164,7 @@ func (m *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToPatchR } 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 *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) { + return NewOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_transcripts_count_request_builder.go b/communications/online_meetings_item_transcripts_count_request_builder.go index 0200f439b4c..f610e898096 100644 --- a/communications/online_meetings_item_transcripts_count_request_builder.go +++ b/communications/online_meetings_item_transcripts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *OnlineMeetingsItemTranscriptsCountRequestBuilder) ToGetRequestInformati } 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 *OnlineMeetingsItemTranscriptsCountRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemTranscriptsCountRequestBuilder) { + return NewOnlineMeetingsItemTranscriptsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_transcripts_delta_request_builder.go b/communications/online_meetings_item_transcripts_delta_request_builder.go index 709013168ea..ad20a658b02 100644 --- a/communications/online_meetings_item_transcripts_delta_request_builder.go +++ b/communications/online_meetings_item_transcripts_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *OnlineMeetingsItemTranscriptsDeltaRequestBuilder) ToGetRequestInformati } 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 *OnlineMeetingsItemTranscriptsDeltaRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemTranscriptsDeltaRequestBuilder) { + return NewOnlineMeetingsItemTranscriptsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_transcripts_item_content_request_builder.go b/communications/online_meetings_item_transcripts_item_content_request_builder.go index 49228ab542c..ac675f4ec2b 100644 --- a/communications/online_meetings_item_transcripts_item_content_request_builder.go +++ b/communications/online_meetings_item_transcripts_item_content_request_builder.go @@ -105,3 +105,7 @@ func (m *OnlineMeetingsItemTranscriptsItemContentRequestBuilder) ToPutRequestInf } 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 *OnlineMeetingsItemTranscriptsItemContentRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemTranscriptsItemContentRequestBuilder) { + return NewOnlineMeetingsItemTranscriptsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_transcripts_item_metadata_content_request_builder.go b/communications/online_meetings_item_transcripts_item_metadata_content_request_builder.go index 68024ffff02..e885d8c3dd9 100644 --- a/communications/online_meetings_item_transcripts_item_metadata_content_request_builder.go +++ b/communications/online_meetings_item_transcripts_item_metadata_content_request_builder.go @@ -103,3 +103,7 @@ func (m *OnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) ToPutRe } 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 *OnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) { + return NewOnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_item_transcripts_request_builder.go b/communications/online_meetings_item_transcripts_request_builder.go index e57938ca0e9..011e7196e8d 100644 --- a/communications/online_meetings_item_transcripts_request_builder.go +++ b/communications/online_meetings_item_transcripts_request_builder.go @@ -11,7 +11,7 @@ import ( type OnlineMeetingsItemTranscriptsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters retrieve the list of callTranscript objects associated with an onlineMeeting. +// OnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. type OnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type OnlineMeetingsItemTranscriptsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCallTranscriptIdString provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. -func (m *OnlineMeetingsItemTranscriptsRequestBuilder) ByCallTranscriptIdString(callTranscriptId string)(*OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) { +// ByCallTranscriptId provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. +func (m *OnlineMeetingsItemTranscriptsRequestBuilder) ByCallTranscriptId(callTranscriptId string)(*OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -78,7 +78,7 @@ func (m *OnlineMeetingsItemTranscriptsRequestBuilder) Count()(*OnlineMeetingsIte func (m *OnlineMeetingsItemTranscriptsRequestBuilder) Delta()(*OnlineMeetingsItemTranscriptsDeltaRequestBuilder) { return NewOnlineMeetingsItemTranscriptsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of callTranscript objects associated with an onlineMeeting. +// Get retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0 @@ -119,7 +119,7 @@ func (m *OnlineMeetingsItemTranscriptsRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable), nil } -// ToGetRequestInformation retrieve the list of callTranscript objects associated with an onlineMeeting. +// ToGetRequestInformation retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. func (m *OnlineMeetingsItemTranscriptsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemTranscriptsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -152,3 +152,7 @@ func (m *OnlineMeetingsItemTranscriptsRequestBuilder) ToPostRequestInformation(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 *OnlineMeetingsItemTranscriptsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsItemTranscriptsRequestBuilder) { + return NewOnlineMeetingsItemTranscriptsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_online_meeting_item_request_builder.go b/communications/online_meetings_online_meeting_item_request_builder.go index fbacf1d8e26..38b3b2942b7 100644 --- a/communications/online_meetings_online_meeting_item_request_builder.go +++ b/communications/online_meetings_online_meeting_item_request_builder.go @@ -193,3 +193,7 @@ func (m *OnlineMeetingsOnlineMeetingItemRequestBuilder) ToPatchRequestInformatio func (m *OnlineMeetingsOnlineMeetingItemRequestBuilder) Transcripts()(*OnlineMeetingsItemTranscriptsRequestBuilder) { return NewOnlineMeetingsItemTranscriptsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *OnlineMeetingsOnlineMeetingItemRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsOnlineMeetingItemRequestBuilder) { + return NewOnlineMeetingsOnlineMeetingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/online_meetings_request_builder.go b/communications/online_meetings_request_builder.go index 808a109a720..97be6ef3560 100644 --- a/communications/online_meetings_request_builder.go +++ b/communications/online_meetings_request_builder.go @@ -46,8 +46,8 @@ type OnlineMeetingsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnlineMeetingIdString provides operations to manage the onlineMeetings property of the microsoft.graph.cloudCommunications entity. -func (m *OnlineMeetingsRequestBuilder) ByOnlineMeetingIdString(onlineMeetingId string)(*OnlineMeetingsOnlineMeetingItemRequestBuilder) { +// ByOnlineMeetingId provides operations to manage the onlineMeetings property of the microsoft.graph.cloudCommunications entity. +func (m *OnlineMeetingsRequestBuilder) ByOnlineMeetingId(onlineMeetingId string)(*OnlineMeetingsOnlineMeetingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -160,3 +160,7 @@ func (m *OnlineMeetingsRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *OnlineMeetingsRequestBuilder) WithUrl(rawUrl string)(*OnlineMeetingsRequestBuilder) { + return NewOnlineMeetingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/presences_count_request_builder.go b/communications/presences_count_request_builder.go index fa4ad2f35bb..c7836066e5a 100644 --- a/communications/presences_count_request_builder.go +++ b/communications/presences_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PresencesCountRequestBuilder) ToGetRequestInformation(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 *PresencesCountRequestBuilder) WithUrl(rawUrl string)(*PresencesCountRequestBuilder) { + return NewPresencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/presences_item_clear_presence_request_builder.go b/communications/presences_item_clear_presence_request_builder.go index 08581f7e4d9..2c625de5a27 100644 --- a/communications/presences_item_clear_presence_request_builder.go +++ b/communications/presences_item_clear_presence_request_builder.go @@ -65,3 +65,7 @@ func (m *PresencesItemClearPresenceRequestBuilder) 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 *PresencesItemClearPresenceRequestBuilder) WithUrl(rawUrl string)(*PresencesItemClearPresenceRequestBuilder) { + return NewPresencesItemClearPresenceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/presences_item_clear_user_preferred_presence_request_builder.go b/communications/presences_item_clear_user_preferred_presence_request_builder.go index 8fe54a2ce13..644657aaa01 100644 --- a/communications/presences_item_clear_user_preferred_presence_request_builder.go +++ b/communications/presences_item_clear_user_preferred_presence_request_builder.go @@ -61,3 +61,7 @@ func (m *PresencesItemClearUserPreferredPresenceRequestBuilder) ToPostRequestInf } 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 *PresencesItemClearUserPreferredPresenceRequestBuilder) WithUrl(rawUrl string)(*PresencesItemClearUserPreferredPresenceRequestBuilder) { + return NewPresencesItemClearUserPreferredPresenceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/presences_item_set_presence_request_builder.go b/communications/presences_item_set_presence_request_builder.go index 7acc3df6afb..9e5d460477f 100644 --- a/communications/presences_item_set_presence_request_builder.go +++ b/communications/presences_item_set_presence_request_builder.go @@ -65,3 +65,7 @@ func (m *PresencesItemSetPresenceRequestBuilder) ToPostRequestInformation(ctx co } 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 *PresencesItemSetPresenceRequestBuilder) WithUrl(rawUrl string)(*PresencesItemSetPresenceRequestBuilder) { + return NewPresencesItemSetPresenceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/presences_item_set_status_message_request_builder.go b/communications/presences_item_set_status_message_request_builder.go index 50ad570f432..8116638d1bd 100644 --- a/communications/presences_item_set_status_message_request_builder.go +++ b/communications/presences_item_set_status_message_request_builder.go @@ -65,3 +65,7 @@ func (m *PresencesItemSetStatusMessageRequestBuilder) ToPostRequestInformation(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 *PresencesItemSetStatusMessageRequestBuilder) WithUrl(rawUrl string)(*PresencesItemSetStatusMessageRequestBuilder) { + return NewPresencesItemSetStatusMessageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/presences_item_set_user_preferred_presence_request_builder.go b/communications/presences_item_set_user_preferred_presence_request_builder.go index ec00fb3631e..94a9a23ce77 100644 --- a/communications/presences_item_set_user_preferred_presence_request_builder.go +++ b/communications/presences_item_set_user_preferred_presence_request_builder.go @@ -65,3 +65,7 @@ func (m *PresencesItemSetUserPreferredPresenceRequestBuilder) ToPostRequestInfor } 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 *PresencesItemSetUserPreferredPresenceRequestBuilder) WithUrl(rawUrl string)(*PresencesItemSetUserPreferredPresenceRequestBuilder) { + return NewPresencesItemSetUserPreferredPresenceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/presences_presence_item_request_builder.go b/communications/presences_presence_item_request_builder.go index 17ca8dc04e0..e6835e5b5b5 100644 --- a/communications/presences_presence_item_request_builder.go +++ b/communications/presences_presence_item_request_builder.go @@ -176,3 +176,7 @@ func (m *PresencesPresenceItemRequestBuilder) ToPatchRequestInformation(ctx cont } 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 *PresencesPresenceItemRequestBuilder) WithUrl(rawUrl string)(*PresencesPresenceItemRequestBuilder) { + return NewPresencesPresenceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/presences_request_builder.go b/communications/presences_request_builder.go index 5ed072082f0..744fdf247e5 100644 --- a/communications/presences_request_builder.go +++ b/communications/presences_request_builder.go @@ -46,8 +46,8 @@ type PresencesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPresenceIdString provides operations to manage the presences property of the microsoft.graph.cloudCommunications entity. -func (m *PresencesRequestBuilder) ByPresenceIdString(presenceId string)(*PresencesPresenceItemRequestBuilder) { +// ByPresenceId provides operations to manage the presences property of the microsoft.graph.cloudCommunications entity. +func (m *PresencesRequestBuilder) ByPresenceId(presenceId string)(*PresencesPresenceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *PresencesRequestBuilder) ToPostRequestInformation(ctx context.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 *PresencesRequestBuilder) WithUrl(rawUrl string)(*PresencesRequestBuilder) { + return NewPresencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/compliance_request_builder.go b/compliance/compliance_request_builder.go index 2c3003d588b..be0ae38e349 100644 --- a/compliance/compliance_request_builder.go +++ b/compliance/compliance_request_builder.go @@ -122,3 +122,7 @@ func (m *ComplianceRequestBuilder) ToPatchRequestInformation(ctx context.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 *ComplianceRequestBuilder) WithUrl(rawUrl string)(*ComplianceRequestBuilder) { + return NewComplianceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_case_item_request_builder.go b/compliance/ediscovery_cases_case_item_request_builder.go index 41978507a9a..4edb5c4047b 100644 --- a/compliance/ediscovery_cases_case_item_request_builder.go +++ b/compliance/ediscovery_cases_case_item_request_builder.go @@ -208,3 +208,8 @@ func (m *EdiscoveryCasesCaseItemRequestBuilder) ToPatchRequestInformation(ctx co } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesCaseItemRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesCaseItemRequestBuilder) { + return NewEdiscoveryCasesCaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_count_request_builder.go b/compliance/ediscovery_cases_count_request_builder.go index f310c98310f..e8fa35cf617 100644 --- a/compliance/ediscovery_cases_count_request_builder.go +++ b/compliance/ediscovery_cases_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EdiscoveryCasesCountRequestBuilder) ToGetRequestInformation(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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesCountRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesCountRequestBuilder) { + return NewEdiscoveryCasesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_custodians_count_request_builder.go b/compliance/ediscovery_cases_item_custodians_count_request_builder.go index d59d50c5b74..b2262d492af 100644 --- a/compliance/ediscovery_cases_item_custodians_count_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EdiscoveryCasesItemCustodiansCountRequestBuilder) ToGetRequestInformati } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemCustodiansCountRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemCustodiansCountRequestBuilder) { + return NewEdiscoveryCasesItemCustodiansCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_custodians_custodian_item_request_builder.go b/compliance/ediscovery_cases_item_custodians_custodian_item_request_builder.go index d9897894735..1d571b2664e 100644 --- a/compliance/ediscovery_cases_item_custodians_custodian_item_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_custodian_item_request_builder.go @@ -201,3 +201,8 @@ func (m *EdiscoveryCasesItemCustodiansCustodianItemRequestBuilder) UnifiedGroupS func (m *EdiscoveryCasesItemCustodiansCustodianItemRequestBuilder) UserSources()(*EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) { return NewEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemCustodiansCustodianItemRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemCustodiansCustodianItemRequestBuilder) { + return NewEdiscoveryCasesItemCustodiansCustodianItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_custodians_item_last_index_operation_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_last_index_operation_request_builder.go index 91c349cdfd8..6ce088cba94 100644 --- a/compliance/ediscovery_cases_item_custodians_item_last_index_operation_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_last_index_operation_request_builder.go @@ -77,3 +77,8 @@ func (m *EdiscoveryCasesItemCustodiansItemLastIndexOperationRequestBuilder) ToGe } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemCustodiansItemLastIndexOperationRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemCustodiansItemLastIndexOperationRequestBuilder) { + return NewEdiscoveryCasesItemCustodiansItemLastIndexOperationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_activate_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_activate_request_builder.go index dc9f90201c7..56d7ecdff03 100644 --- a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_activate_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_activate_request_builder.go @@ -63,3 +63,8 @@ func (m *EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryActivateReques } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryActivateRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryActivateRequestBuilder) { + return NewEdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryActivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_apply_hold_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_apply_hold_request_builder.go index ca684c3a9f0..0ecffa0b192 100644 --- a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_apply_hold_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_apply_hold_request_builder.go @@ -60,3 +60,8 @@ func (m *EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryApplyHoldReque } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryApplyHoldRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryApplyHoldRequestBuilder) { + return NewEdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryApplyHoldRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_release_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_release_request_builder.go index 34436af42b9..48b20ff62fb 100644 --- a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_release_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_release_request_builder.go @@ -63,3 +63,8 @@ func (m *EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryReleaseRequest } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryReleaseRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryReleaseRequestBuilder) { + return NewEdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryReleaseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_remove_hold_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_remove_hold_request_builder.go index ba9147f1957..a3f779ef1d0 100644 --- a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_remove_hold_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_remove_hold_request_builder.go @@ -60,3 +60,8 @@ func (m *EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryRemoveHoldRequ } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryRemoveHoldRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryRemoveHoldRequestBuilder) { + return NewEdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryRemoveHoldRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_update_index_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_update_index_request_builder.go index 293b402f24d..508713b6fdc 100644 --- a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_update_index_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_update_index_request_builder.go @@ -60,3 +60,8 @@ func (m *EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryUpdateIndexReq } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryUpdateIndexRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryUpdateIndexRequestBuilder) { + return NewEdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryUpdateIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_custodians_item_site_sources_count_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_site_sources_count_request_builder.go index 8fa1cd4f694..a34a85a1c04 100644 --- a/compliance/ediscovery_cases_item_custodians_item_site_sources_count_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_site_sources_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesCountRequestBuilder) ToGetR } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesCountRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemCustodiansItemSiteSourcesCountRequestBuilder) { + return NewEdiscoveryCasesItemCustodiansItemSiteSourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_custodians_item_site_sources_item_site_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_site_sources_item_site_request_builder.go index c68a06c9182..b0d483db69d 100644 --- a/compliance/ediscovery_cases_item_custodians_item_site_sources_item_site_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_site_sources_item_site_request_builder.go @@ -77,3 +77,8 @@ func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesItemSiteRequestBuilder) ToG } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesItemSiteRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemCustodiansItemSiteSourcesItemSiteRequestBuilder) { + return NewEdiscoveryCasesItemCustodiansItemSiteSourcesItemSiteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_custodians_item_site_sources_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_site_sources_request_builder.go index 9dab560a767..c759a0966d0 100644 --- a/compliance/ediscovery_cases_item_custodians_item_site_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_site_sources_request_builder.go @@ -46,9 +46,9 @@ type EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySiteSourceIdString provides operations to manage the siteSources property of the microsoft.graph.ediscovery.custodian entity. +// BySiteSourceId provides operations to manage the siteSources property of the microsoft.graph.ediscovery.custodian entity. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 -func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) BySiteSourceIdString(siteSourceId string)(*EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilder) { +func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) BySiteSourceId(siteSourceId string)(*EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,8 @@ func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) ToPostReque } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) { + return NewEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_custodians_item_site_sources_site_source_item_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_site_sources_site_source_item_request_builder.go index 2bf55c8e329..1723c094c7e 100644 --- a/compliance/ediscovery_cases_item_custodians_item_site_sources_site_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_site_sources_site_source_item_request_builder.go @@ -169,3 +169,8 @@ func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilde } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilder) { + return NewEdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_count_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_count_request_builder.go index 4538a952cef..c7a30a0152f 100644 --- a/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_count_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesCountRequestBuilder } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesCountRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesCountRequestBuilder) { + return NewEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_item_group_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_item_group_request_builder.go index c4ce1424486..85ee036764f 100644 --- a/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_item_group_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_item_group_request_builder.go @@ -77,3 +77,8 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesItemGroupRequestBui } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesItemGroupRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesItemGroupRequestBuilder) { + return NewEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesItemGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go index 5141ae35c1d..331342c82ca 100644 --- a/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go @@ -46,9 +46,9 @@ type EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilderPostReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedGroupSourceIdString provides operations to manage the unifiedGroupSources property of the microsoft.graph.ediscovery.custodian entity. +// ByUnifiedGroupSourceId provides operations to manage the unifiedGroupSources property of the microsoft.graph.ediscovery.custodian entity. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 -func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) ByUnifiedGroupSourceIdString(unifiedGroupSourceId string)(*EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilder) { +func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) ByUnifiedGroupSourceId(unifiedGroupSourceId string)(*EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,8 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) { + return NewEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_unified_group_source_item_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_unified_group_source_item_request_builder.go index b45de118d49..a8c47d82cff 100644 --- a/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_unified_group_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_unified_group_source_item_request_builder.go @@ -169,3 +169,8 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceI } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilder) { + return NewEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_custodians_item_user_sources_count_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_user_sources_count_request_builder.go index 83cad640de5..d1709d88ddf 100644 --- a/compliance/ediscovery_cases_item_custodians_item_user_sources_count_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_user_sources_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EdiscoveryCasesItemCustodiansItemUserSourcesCountRequestBuilder) ToGetR } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemCustodiansItemUserSourcesCountRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemCustodiansItemUserSourcesCountRequestBuilder) { + return NewEdiscoveryCasesItemCustodiansItemUserSourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_custodians_item_user_sources_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_user_sources_request_builder.go index fcd67995577..17af6bb461e 100644 --- a/compliance/ediscovery_cases_item_custodians_item_user_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_user_sources_request_builder.go @@ -46,9 +46,9 @@ type EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserSourceIdString provides operations to manage the userSources property of the microsoft.graph.ediscovery.custodian entity. +// ByUserSourceId provides operations to manage the userSources property of the microsoft.graph.ediscovery.custodian entity. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 -func (m *EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) ByUserSourceIdString(userSourceId string)(*EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilder) { +func (m *EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) ByUserSourceId(userSourceId string)(*EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,8 @@ func (m *EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) ToPostReque } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) { + return NewEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_custodians_item_user_sources_user_source_item_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_user_sources_user_source_item_request_builder.go index 3cad138cd76..874311268bf 100644 --- a/compliance/ediscovery_cases_item_custodians_item_user_sources_user_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_user_sources_user_source_item_request_builder.go @@ -165,3 +165,8 @@ func (m *EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilde } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilder) { + return NewEdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_custodians_microsoft_graph_ediscovery_apply_hold_request_builder.go b/compliance/ediscovery_cases_item_custodians_microsoft_graph_ediscovery_apply_hold_request_builder.go index 822afc6171d..8a8fe8eefb8 100644 --- a/compliance/ediscovery_cases_item_custodians_microsoft_graph_ediscovery_apply_hold_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_microsoft_graph_ediscovery_apply_hold_request_builder.go @@ -64,3 +64,8 @@ func (m *EdiscoveryCasesItemCustodiansMicrosoftGraphEdiscoveryApplyHoldRequestBu } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemCustodiansMicrosoftGraphEdiscoveryApplyHoldRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemCustodiansMicrosoftGraphEdiscoveryApplyHoldRequestBuilder) { + return NewEdiscoveryCasesItemCustodiansMicrosoftGraphEdiscoveryApplyHoldRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_custodians_microsoft_graph_ediscovery_remove_hold_request_builder.go b/compliance/ediscovery_cases_item_custodians_microsoft_graph_ediscovery_remove_hold_request_builder.go index 9948452c874..5a0d9b29bf0 100644 --- a/compliance/ediscovery_cases_item_custodians_microsoft_graph_ediscovery_remove_hold_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_microsoft_graph_ediscovery_remove_hold_request_builder.go @@ -64,3 +64,8 @@ func (m *EdiscoveryCasesItemCustodiansMicrosoftGraphEdiscoveryRemoveHoldRequestB } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemCustodiansMicrosoftGraphEdiscoveryRemoveHoldRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemCustodiansMicrosoftGraphEdiscoveryRemoveHoldRequestBuilder) { + return NewEdiscoveryCasesItemCustodiansMicrosoftGraphEdiscoveryRemoveHoldRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_custodians_request_builder.go b/compliance/ediscovery_cases_item_custodians_request_builder.go index 1cf1464121f..d2281795639 100644 --- a/compliance/ediscovery_cases_item_custodians_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_request_builder.go @@ -46,9 +46,9 @@ type EdiscoveryCasesItemCustodiansRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCustodianIdString provides operations to manage the custodians property of the microsoft.graph.ediscovery.case entity. +// ByCustodianId provides operations to manage the custodians property of the microsoft.graph.ediscovery.case entity. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 -func (m *EdiscoveryCasesItemCustodiansRequestBuilder) ByCustodianIdString(custodianId string)(*EdiscoveryCasesItemCustodiansCustodianItemRequestBuilder) { +func (m *EdiscoveryCasesItemCustodiansRequestBuilder) ByCustodianId(custodianId string)(*EdiscoveryCasesItemCustodiansCustodianItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -164,3 +164,8 @@ func (m *EdiscoveryCasesItemCustodiansRequestBuilder) ToPostRequestInformation(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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemCustodiansRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemCustodiansRequestBuilder) { + return NewEdiscoveryCasesItemCustodiansRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_legal_holds_count_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_count_request_builder.go index ac048a0f742..2735396e800 100644 --- a/compliance/ediscovery_cases_item_legal_holds_count_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EdiscoveryCasesItemLegalHoldsCountRequestBuilder) ToGetRequestInformati } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemLegalHoldsCountRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemLegalHoldsCountRequestBuilder) { + return NewEdiscoveryCasesItemLegalHoldsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_legal_holds_item_site_sources_count_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_item_site_sources_count_request_builder.go index 2424a84197c..c7d640d10d9 100644 --- a/compliance/ediscovery_cases_item_legal_holds_item_site_sources_count_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_item_site_sources_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesCountRequestBuilder) ToGetR } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesCountRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemLegalHoldsItemSiteSourcesCountRequestBuilder) { + return NewEdiscoveryCasesItemLegalHoldsItemSiteSourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_legal_holds_item_site_sources_item_site_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_item_site_sources_item_site_request_builder.go index 5244d2ebc32..0e138e30bb1 100644 --- a/compliance/ediscovery_cases_item_legal_holds_item_site_sources_item_site_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_item_site_sources_item_site_request_builder.go @@ -77,3 +77,8 @@ func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesItemSiteRequestBuilder) ToG } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesItemSiteRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemLegalHoldsItemSiteSourcesItemSiteRequestBuilder) { + return NewEdiscoveryCasesItemLegalHoldsItemSiteSourcesItemSiteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go index 704c1ec1015..28f22a9bb70 100644 --- a/compliance/ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go @@ -46,9 +46,9 @@ type EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySiteSourceIdString provides operations to manage the siteSources property of the microsoft.graph.ediscovery.legalHold entity. +// BySiteSourceId provides operations to manage the siteSources property of the microsoft.graph.ediscovery.legalHold entity. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 -func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) BySiteSourceIdString(siteSourceId string)(*EdiscoveryCasesItemLegalHoldsItemSiteSourcesSiteSourceItemRequestBuilder) { +func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) BySiteSourceId(siteSourceId string)(*EdiscoveryCasesItemLegalHoldsItemSiteSourcesSiteSourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,8 @@ func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) ToPostReque } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) { + return NewEdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_legal_holds_item_site_sources_site_source_item_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_item_site_sources_site_source_item_request_builder.go index e6332f8247a..899ab5b2757 100644 --- a/compliance/ediscovery_cases_item_legal_holds_item_site_sources_site_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_item_site_sources_site_source_item_request_builder.go @@ -163,3 +163,8 @@ func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesSiteSourceItemRequestBuilde } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesSiteSourceItemRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemLegalHoldsItemSiteSourcesSiteSourceItemRequestBuilder) { + return NewEdiscoveryCasesItemLegalHoldsItemSiteSourcesSiteSourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_count_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_count_request_builder.go index b8b44ae909d..60189b8eba9 100644 --- a/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_count_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesCountRequestBuilder } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesCountRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesCountRequestBuilder) { + return NewEdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_item_group_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_item_group_request_builder.go index 937b28872ee..c3d7ff0116e 100644 --- a/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_item_group_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_item_group_request_builder.go @@ -77,3 +77,8 @@ func (m *EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesItemGroupRequestBui } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesItemGroupRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesItemGroupRequestBuilder) { + return NewEdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesItemGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_request_builder.go index 0bc9cc7cf61..62909637fc7 100644 --- a/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_request_builder.go @@ -46,9 +46,9 @@ type EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesRequestBuilderPostReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedGroupSourceIdString provides operations to manage the unifiedGroupSources property of the microsoft.graph.ediscovery.legalHold entity. +// ByUnifiedGroupSourceId provides operations to manage the unifiedGroupSources property of the microsoft.graph.ediscovery.legalHold entity. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 -func (m *EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesRequestBuilder) ByUnifiedGroupSourceIdString(unifiedGroupSourceId string)(*EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilder) { +func (m *EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesRequestBuilder) ByUnifiedGroupSourceId(unifiedGroupSourceId string)(*EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesRequestBuilder) 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesRequestBuilder) { + return NewEdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_unified_group_source_item_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_unified_group_source_item_request_builder.go index 8b3509f7222..7a60806ae1b 100644 --- a/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_unified_group_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_unified_group_source_item_request_builder.go @@ -163,3 +163,8 @@ func (m *EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesUnifiedGroupSourceI } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilder) { + return NewEdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_legal_holds_item_user_sources_count_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_item_user_sources_count_request_builder.go index 430e8e39dda..4cdd552e468 100644 --- a/compliance/ediscovery_cases_item_legal_holds_item_user_sources_count_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_item_user_sources_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EdiscoveryCasesItemLegalHoldsItemUserSourcesCountRequestBuilder) ToGetR } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemLegalHoldsItemUserSourcesCountRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemLegalHoldsItemUserSourcesCountRequestBuilder) { + return NewEdiscoveryCasesItemLegalHoldsItemUserSourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go index ac678961d42..ca76ce93e0a 100644 --- a/compliance/ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go @@ -46,9 +46,9 @@ type EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserSourceIdString provides operations to manage the userSources property of the microsoft.graph.ediscovery.legalHold entity. +// ByUserSourceId provides operations to manage the userSources property of the microsoft.graph.ediscovery.legalHold entity. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 -func (m *EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) ByUserSourceIdString(userSourceId string)(*EdiscoveryCasesItemLegalHoldsItemUserSourcesUserSourceItemRequestBuilder) { +func (m *EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) ByUserSourceId(userSourceId string)(*EdiscoveryCasesItemLegalHoldsItemUserSourcesUserSourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,8 @@ func (m *EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) ToPostReque } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) { + return NewEdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_legal_holds_item_user_sources_user_source_item_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_item_user_sources_user_source_item_request_builder.go index f9d1f2b5aec..8126caa0942 100644 --- a/compliance/ediscovery_cases_item_legal_holds_item_user_sources_user_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_item_user_sources_user_source_item_request_builder.go @@ -159,3 +159,8 @@ func (m *EdiscoveryCasesItemLegalHoldsItemUserSourcesUserSourceItemRequestBuilde } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemLegalHoldsItemUserSourcesUserSourceItemRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemLegalHoldsItemUserSourcesUserSourceItemRequestBuilder) { + return NewEdiscoveryCasesItemLegalHoldsItemUserSourcesUserSourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_legal_holds_legal_hold_item_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_legal_hold_item_request_builder.go index a72cab39aa8..87a83111075 100644 --- a/compliance/ediscovery_cases_item_legal_holds_legal_hold_item_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_legal_hold_item_request_builder.go @@ -180,3 +180,8 @@ func (m *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder) UnifiedGroupS func (m *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder) UserSources()(*EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) { return NewEdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder) { + return NewEdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_legal_holds_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_request_builder.go index 4e11bb43ab0..23b898bfa3b 100644 --- a/compliance/ediscovery_cases_item_legal_holds_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_request_builder.go @@ -46,9 +46,9 @@ type EdiscoveryCasesItemLegalHoldsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByLegalHoldIdString provides operations to manage the legalHolds property of the microsoft.graph.ediscovery.case entity. +// ByLegalHoldId provides operations to manage the legalHolds property of the microsoft.graph.ediscovery.case entity. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 -func (m *EdiscoveryCasesItemLegalHoldsRequestBuilder) ByLegalHoldIdString(legalHoldId string)(*EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder) { +func (m *EdiscoveryCasesItemLegalHoldsRequestBuilder) ByLegalHoldId(legalHoldId string)(*EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EdiscoveryCasesItemLegalHoldsRequestBuilder) ToPostRequestInformation(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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemLegalHoldsRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemLegalHoldsRequestBuilder) { + return NewEdiscoveryCasesItemLegalHoldsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_close_request_builder.go b/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_close_request_builder.go index d5201d02fc5..60c70094586 100644 --- a/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_close_request_builder.go +++ b/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_close_request_builder.go @@ -63,3 +63,8 @@ func (m *EdiscoveryCasesItemMicrosoftGraphEdiscoveryCloseRequestBuilder) ToPostR } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemMicrosoftGraphEdiscoveryCloseRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemMicrosoftGraphEdiscoveryCloseRequestBuilder) { + return NewEdiscoveryCasesItemMicrosoftGraphEdiscoveryCloseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_reopen_request_builder.go b/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_reopen_request_builder.go index 345205fe9b9..e7919343579 100644 --- a/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_reopen_request_builder.go +++ b/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_reopen_request_builder.go @@ -63,3 +63,8 @@ func (m *EdiscoveryCasesItemMicrosoftGraphEdiscoveryReopenRequestBuilder) ToPost } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemMicrosoftGraphEdiscoveryReopenRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemMicrosoftGraphEdiscoveryReopenRequestBuilder) { + return NewEdiscoveryCasesItemMicrosoftGraphEdiscoveryReopenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_count_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_count_request_builder.go index 0d7df0e5a09..1b6455969ff 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_count_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesCountRequestBuilder) ToGetReq } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemNoncustodialDataSourcesCountRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemNoncustodialDataSourcesCountRequestBuilder) { + return NewEdiscoveryCasesItemNoncustodialDataSourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_data_source_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_data_source_request_builder.go index e33525a850f..b7ab6f926d3 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_data_source_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_data_source_request_builder.go @@ -18,7 +18,7 @@ type EdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBuilderDelet // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBuilderGetQueryParameters user source or SharePoint site data source as non-custodial data source. +// EdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBuilderGetQueryParameters user source or SharePoint site data source as noncustodial data source. type EdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -71,7 +71,7 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBuilder) } return nil } -// Get user source or SharePoint site data source as non-custodial data source. +// Get user source or SharePoint site data source as noncustodial data source. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.DataSourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); @@ -124,7 +124,7 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBuilder) } return requestInfo, nil } -// ToGetRequestInformation user source or SharePoint site data source as non-custodial data source. +// ToGetRequestInformation user source or SharePoint site data source as noncustodial data source. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -159,3 +159,8 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBuilder) } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBuilder) { + return NewEdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_last_index_operation_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_last_index_operation_request_builder.go index ad3d67fdc8c..bd14682a60e 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_last_index_operation_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_last_index_operation_request_builder.go @@ -77,3 +77,8 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemLastIndexOperationRequest } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemLastIndexOperationRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemNoncustodialDataSourcesItemLastIndexOperationRequestBuilder) { + return NewEdiscoveryCasesItemNoncustodialDataSourcesItemLastIndexOperationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_apply_hold_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_apply_hold_request_builder.go index 655e4cfc3e1..6c9e8530229 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_apply_hold_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_apply_hold_request_builder.go @@ -60,3 +60,8 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryA } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryApplyHoldRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryApplyHoldRequestBuilder) { + return NewEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryApplyHoldRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_release_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_release_request_builder.go index 91e0574349f..63f04465b76 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_release_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_release_request_builder.go @@ -63,3 +63,8 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryR } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryReleaseRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryReleaseRequestBuilder) { + return NewEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryReleaseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_remove_hold_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_remove_hold_request_builder.go index cf93ab6ecda..74b9324a5e1 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_remove_hold_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_remove_hold_request_builder.go @@ -60,3 +60,8 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryR } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryRemoveHoldRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryRemoveHoldRequestBuilder) { + return NewEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryRemoveHoldRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_update_index_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_update_index_request_builder.go index dd98505ea04..6f5a8b98477 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_update_index_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_update_index_request_builder.go @@ -60,3 +60,8 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryU } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryUpdateIndexRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryUpdateIndexRequestBuilder) { + return NewEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryUpdateIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_ediscovery_apply_hold_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_ediscovery_apply_hold_request_builder.go index 732fb461e39..71a564725a7 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_ediscovery_apply_hold_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_ediscovery_apply_hold_request_builder.go @@ -64,3 +64,8 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphEdiscoveryApply } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphEdiscoveryApplyHoldRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphEdiscoveryApplyHoldRequestBuilder) { + return NewEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphEdiscoveryApplyHoldRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_ediscovery_remove_hold_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_ediscovery_remove_hold_request_builder.go index d0ae4159122..75ce2d6e346 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_ediscovery_remove_hold_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_ediscovery_remove_hold_request_builder.go @@ -64,3 +64,8 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphEdiscoveryRemov } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphEdiscoveryRemoveHoldRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphEdiscoveryRemoveHoldRequestBuilder) { + return NewEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphEdiscoveryRemoveHoldRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_noncustodial_data_source_item_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_noncustodial_data_source_item_request_builder.go index 4bfbe0bfb0c..bc495c9585f 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_noncustodial_data_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_noncustodial_data_source_item_request_builder.go @@ -186,3 +186,8 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesNoncustodialDataSourceItemReq } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemNoncustodialDataSourcesNoncustodialDataSourceItemRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemNoncustodialDataSourcesNoncustodialDataSourceItemRequestBuilder) { + return NewEdiscoveryCasesItemNoncustodialDataSourcesNoncustodialDataSourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_request_builder.go index 3f1905584fb..7f6282734af 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_request_builder.go @@ -46,9 +46,9 @@ type EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByNoncustodialDataSourceIdString provides operations to manage the noncustodialDataSources property of the microsoft.graph.ediscovery.case entity. +// ByNoncustodialDataSourceId provides operations to manage the noncustodialDataSources property of the microsoft.graph.ediscovery.case entity. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 -func (m *EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) ByNoncustodialDataSourceIdString(noncustodialDataSourceId string)(*EdiscoveryCasesItemNoncustodialDataSourcesNoncustodialDataSourceItemRequestBuilder) { +func (m *EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) ByNoncustodialDataSourceId(noncustodialDataSourceId string)(*EdiscoveryCasesItemNoncustodialDataSourcesNoncustodialDataSourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -164,3 +164,8 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) ToPostRequest } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) { + return NewEdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_operations_case_operation_item_request_builder.go b/compliance/ediscovery_cases_item_operations_case_operation_item_request_builder.go index 235bd394911..dd5b99dfb8e 100644 --- a/compliance/ediscovery_cases_item_operations_case_operation_item_request_builder.go +++ b/compliance/ediscovery_cases_item_operations_case_operation_item_request_builder.go @@ -163,3 +163,8 @@ func (m *EdiscoveryCasesItemOperationsCaseOperationItemRequestBuilder) ToPatchRe } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemOperationsCaseOperationItemRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemOperationsCaseOperationItemRequestBuilder) { + return NewEdiscoveryCasesItemOperationsCaseOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_operations_count_request_builder.go b/compliance/ediscovery_cases_item_operations_count_request_builder.go index 17157024393..0745f57d190 100644 --- a/compliance/ediscovery_cases_item_operations_count_request_builder.go +++ b/compliance/ediscovery_cases_item_operations_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EdiscoveryCasesItemOperationsCountRequestBuilder) ToGetRequestInformati } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemOperationsCountRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemOperationsCountRequestBuilder) { + return NewEdiscoveryCasesItemOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_operations_item_microsoft_graph_ediscovery_case_export_operation_request_builder.go b/compliance/ediscovery_cases_item_operations_item_microsoft_graph_ediscovery_case_export_operation_request_builder.go index 90b0fc39f53..0af1bf2c689 100644 --- a/compliance/ediscovery_cases_item_operations_item_microsoft_graph_ediscovery_case_export_operation_request_builder.go +++ b/compliance/ediscovery_cases_item_operations_item_microsoft_graph_ediscovery_case_export_operation_request_builder.go @@ -77,3 +77,8 @@ func (m *EdiscoveryCasesItemOperationsItemMicrosoftGraphEdiscoveryCaseExportOper } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemOperationsItemMicrosoftGraphEdiscoveryCaseExportOperationRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemOperationsItemMicrosoftGraphEdiscoveryCaseExportOperationRequestBuilder) { + return NewEdiscoveryCasesItemOperationsItemMicrosoftGraphEdiscoveryCaseExportOperationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_operations_microsoft_graph_ediscovery_case_export_operation_count_request_builder.go b/compliance/ediscovery_cases_item_operations_microsoft_graph_ediscovery_case_export_operation_count_request_builder.go index 64f3363b90c..139dbedfcac 100644 --- a/compliance/ediscovery_cases_item_operations_microsoft_graph_ediscovery_case_export_operation_count_request_builder.go +++ b/compliance/ediscovery_cases_item_operations_microsoft_graph_ediscovery_case_export_operation_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EdiscoveryCasesItemOperationsMicrosoftGraphEdiscoveryCaseExportOperatio } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemOperationsMicrosoftGraphEdiscoveryCaseExportOperationCountRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemOperationsMicrosoftGraphEdiscoveryCaseExportOperationCountRequestBuilder) { + return NewEdiscoveryCasesItemOperationsMicrosoftGraphEdiscoveryCaseExportOperationCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_operations_microsoft_graph_ediscovery_case_export_operation_request_builder.go b/compliance/ediscovery_cases_item_operations_microsoft_graph_ediscovery_case_export_operation_request_builder.go index f2c7aee099e..0ec675ec138 100644 --- a/compliance/ediscovery_cases_item_operations_microsoft_graph_ediscovery_case_export_operation_request_builder.go +++ b/compliance/ediscovery_cases_item_operations_microsoft_graph_ediscovery_case_export_operation_request_builder.go @@ -93,3 +93,8 @@ func (m *EdiscoveryCasesItemOperationsMicrosoftGraphEdiscoveryCaseExportOperatio } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemOperationsMicrosoftGraphEdiscoveryCaseExportOperationRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemOperationsMicrosoftGraphEdiscoveryCaseExportOperationRequestBuilder) { + return NewEdiscoveryCasesItemOperationsMicrosoftGraphEdiscoveryCaseExportOperationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_operations_request_builder.go b/compliance/ediscovery_cases_item_operations_request_builder.go index 9c6cbe14be6..23d27592505 100644 --- a/compliance/ediscovery_cases_item_operations_request_builder.go +++ b/compliance/ediscovery_cases_item_operations_request_builder.go @@ -46,9 +46,9 @@ type EdiscoveryCasesItemOperationsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCaseOperationIdString provides operations to manage the operations property of the microsoft.graph.ediscovery.case entity. +// ByCaseOperationId provides operations to manage the operations property of the microsoft.graph.ediscovery.case entity. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 -func (m *EdiscoveryCasesItemOperationsRequestBuilder) ByCaseOperationIdString(caseOperationId string)(*EdiscoveryCasesItemOperationsCaseOperationItemRequestBuilder) { +func (m *EdiscoveryCasesItemOperationsRequestBuilder) ByCaseOperationId(caseOperationId string)(*EdiscoveryCasesItemOperationsCaseOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -154,3 +154,8 @@ func (m *EdiscoveryCasesItemOperationsRequestBuilder) ToPostRequestInformation(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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemOperationsRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemOperationsRequestBuilder) { + return NewEdiscoveryCasesItemOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_review_sets_count_request_builder.go b/compliance/ediscovery_cases_item_review_sets_count_request_builder.go index b9593d10817..44862615708 100644 --- a/compliance/ediscovery_cases_item_review_sets_count_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EdiscoveryCasesItemReviewSetsCountRequestBuilder) ToGetRequestInformati } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemReviewSetsCountRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemReviewSetsCountRequestBuilder) { + return NewEdiscoveryCasesItemReviewSetsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_add_to_review_set_request_builder.go b/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_add_to_review_set_request_builder.go index 6dec0353830..669ef856504 100644 --- a/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_add_to_review_set_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_add_to_review_set_request_builder.go @@ -67,3 +67,8 @@ func (m *EdiscoveryCasesItemReviewSetsItemMicrosoftGraphEdiscoveryAddToReviewSet } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemReviewSetsItemMicrosoftGraphEdiscoveryAddToReviewSetRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemReviewSetsItemMicrosoftGraphEdiscoveryAddToReviewSetRequestBuilder) { + return NewEdiscoveryCasesItemReviewSetsItemMicrosoftGraphEdiscoveryAddToReviewSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_export_request_builder.go b/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_export_request_builder.go index ea0c315890e..3a8d2bd522c 100644 --- a/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_export_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_export_request_builder.go @@ -67,3 +67,8 @@ func (m *EdiscoveryCasesItemReviewSetsItemMicrosoftGraphEdiscoveryExportRequestB } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemReviewSetsItemMicrosoftGraphEdiscoveryExportRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemReviewSetsItemMicrosoftGraphEdiscoveryExportRequestBuilder) { + return NewEdiscoveryCasesItemReviewSetsItemMicrosoftGraphEdiscoveryExportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_review_sets_item_queries_count_request_builder.go b/compliance/ediscovery_cases_item_review_sets_item_queries_count_request_builder.go index 55f26d6fb75..b1e991724eb 100644 --- a/compliance/ediscovery_cases_item_review_sets_item_queries_count_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_item_queries_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EdiscoveryCasesItemReviewSetsItemQueriesCountRequestBuilder) ToGetReque } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemReviewSetsItemQueriesCountRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemReviewSetsItemQueriesCountRequestBuilder) { + return NewEdiscoveryCasesItemReviewSetsItemQueriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_ediscovery_apply_tags_request_builder.go b/compliance/ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_ediscovery_apply_tags_request_builder.go index ea1a85ee464..b3b474d1f53 100644 --- a/compliance/ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_ediscovery_apply_tags_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_ediscovery_apply_tags_request_builder.go @@ -67,3 +67,8 @@ func (m *EdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphEdiscoveryApp } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphEdiscoveryApplyTagsRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphEdiscoveryApplyTagsRequestBuilder) { + return NewEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphEdiscoveryApplyTagsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_review_sets_item_queries_request_builder.go b/compliance/ediscovery_cases_item_review_sets_item_queries_request_builder.go index 9bfa3158cf0..8558f3417b2 100644 --- a/compliance/ediscovery_cases_item_review_sets_item_queries_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_item_queries_request_builder.go @@ -46,9 +46,9 @@ type EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByReviewSetQueryIdString provides operations to manage the queries property of the microsoft.graph.ediscovery.reviewSet entity. +// ByReviewSetQueryId provides operations to manage the queries property of the microsoft.graph.ediscovery.reviewSet entity. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 -func (m *EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) ByReviewSetQueryIdString(reviewSetQueryId string)(*EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilder) { +func (m *EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) ByReviewSetQueryId(reviewSetQueryId string)(*EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,8 @@ func (m *EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) ToPostRequestIn } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) { + return NewEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_review_sets_item_queries_review_set_query_item_request_builder.go b/compliance/ediscovery_cases_item_review_sets_item_queries_review_set_query_item_request_builder.go index 8001fcd28ac..947590bc086 100644 --- a/compliance/ediscovery_cases_item_review_sets_item_queries_review_set_query_item_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_item_queries_review_set_query_item_request_builder.go @@ -172,3 +172,8 @@ func (m *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilde } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilder) { + return NewEdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_review_sets_request_builder.go b/compliance/ediscovery_cases_item_review_sets_request_builder.go index 69441899a50..9c36bef0d31 100644 --- a/compliance/ediscovery_cases_item_review_sets_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_request_builder.go @@ -46,9 +46,9 @@ type EdiscoveryCasesItemReviewSetsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByReviewSetIdString provides operations to manage the reviewSets property of the microsoft.graph.ediscovery.case entity. +// ByReviewSetId provides operations to manage the reviewSets property of the microsoft.graph.ediscovery.case entity. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 -func (m *EdiscoveryCasesItemReviewSetsRequestBuilder) ByReviewSetIdString(reviewSetId string)(*EdiscoveryCasesItemReviewSetsReviewSetItemRequestBuilder) { +func (m *EdiscoveryCasesItemReviewSetsRequestBuilder) ByReviewSetId(reviewSetId string)(*EdiscoveryCasesItemReviewSetsReviewSetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,8 @@ func (m *EdiscoveryCasesItemReviewSetsRequestBuilder) ToPostRequestInformation(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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemReviewSetsRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemReviewSetsRequestBuilder) { + return NewEdiscoveryCasesItemReviewSetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_review_sets_review_set_item_request_builder.go b/compliance/ediscovery_cases_item_review_sets_review_set_item_request_builder.go index 0ec8f8d09f9..3ddb64a4f3f 100644 --- a/compliance/ediscovery_cases_item_review_sets_review_set_item_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_review_set_item_request_builder.go @@ -174,3 +174,8 @@ func (m *EdiscoveryCasesItemReviewSetsReviewSetItemRequestBuilder) ToPatchReques } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemReviewSetsReviewSetItemRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemReviewSetsReviewSetItemRequestBuilder) { + return NewEdiscoveryCasesItemReviewSetsReviewSetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_settings_microsoft_graph_ediscovery_reset_to_default_request_builder.go b/compliance/ediscovery_cases_item_settings_microsoft_graph_ediscovery_reset_to_default_request_builder.go index 4218220e1d3..53899a20af6 100644 --- a/compliance/ediscovery_cases_item_settings_microsoft_graph_ediscovery_reset_to_default_request_builder.go +++ b/compliance/ediscovery_cases_item_settings_microsoft_graph_ediscovery_reset_to_default_request_builder.go @@ -63,3 +63,8 @@ func (m *EdiscoveryCasesItemSettingsMicrosoftGraphEdiscoveryResetToDefaultReques } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemSettingsMicrosoftGraphEdiscoveryResetToDefaultRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemSettingsMicrosoftGraphEdiscoveryResetToDefaultRequestBuilder) { + return NewEdiscoveryCasesItemSettingsMicrosoftGraphEdiscoveryResetToDefaultRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_settings_request_builder.go b/compliance/ediscovery_cases_item_settings_request_builder.go index 14e39c8d066..500982f4d15 100644 --- a/compliance/ediscovery_cases_item_settings_request_builder.go +++ b/compliance/ediscovery_cases_item_settings_request_builder.go @@ -169,3 +169,8 @@ func (m *EdiscoveryCasesItemSettingsRequestBuilder) ToPatchRequestInformation(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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemSettingsRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemSettingsRequestBuilder) { + return NewEdiscoveryCasesItemSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_source_collections_count_request_builder.go b/compliance/ediscovery_cases_item_source_collections_count_request_builder.go index 80d342c85a1..acbfcc2d059 100644 --- a/compliance/ediscovery_cases_item_source_collections_count_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EdiscoveryCasesItemSourceCollectionsCountRequestBuilder) ToGetRequestIn } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemSourceCollectionsCountRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemSourceCollectionsCountRequestBuilder) { + return NewEdiscoveryCasesItemSourceCollectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_source_collections_item_add_to_review_set_operation_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_add_to_review_set_operation_request_builder.go index 7aa29d89c3a..51340194b6e 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_add_to_review_set_operation_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_add_to_review_set_operation_request_builder.go @@ -80,3 +80,8 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemAddToReviewSetOperationRequestB } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemSourceCollectionsItemAddToReviewSetOperationRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemSourceCollectionsItemAddToReviewSetOperationRequestBuilder) { + return NewEdiscoveryCasesItemSourceCollectionsItemAddToReviewSetOperationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_source_collections_item_additional_sources_count_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_additional_sources_count_request_builder.go index 30211a410f0..528ec7c186d 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_additional_sources_count_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_additional_sources_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesCountRequestBu } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesCountRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesCountRequestBuilder) { + return NewEdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_source_collections_item_additional_sources_data_source_item_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_additional_sources_data_source_item_request_builder.go index 8e2b84826a4..49eae12e4b2 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_additional_sources_data_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_additional_sources_data_source_item_request_builder.go @@ -159,3 +159,8 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesDataSourceItem } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesDataSourceItemRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesDataSourceItemRequestBuilder) { + return NewEdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesDataSourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_source_collections_item_additional_sources_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_additional_sources_request_builder.go index 6a2aa16a9df..21dbdf1851e 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_additional_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_additional_sources_request_builder.go @@ -46,9 +46,9 @@ type EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesRequestBuilderPost // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDataSourceIdString provides operations to manage the additionalSources property of the microsoft.graph.ediscovery.sourceCollection entity. +// ByDataSourceId provides operations to manage the additionalSources property of the microsoft.graph.ediscovery.sourceCollection entity. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 -func (m *EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesRequestBuilder) ByDataSourceIdString(dataSourceId string)(*EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesDataSourceItemRequestBuilder) { +func (m *EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesRequestBuilder) ByDataSourceId(dataSourceId string)(*EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesDataSourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,8 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesRequestBuilder } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesRequestBuilder) { + return NewEdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_count_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_count_request_builder.go index aca43a45d10..ee31daaeaa4 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_count_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesCountRequestBui } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesCountRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesCountRequestBuilder) { + return NewEdiscoveryCasesItemSourceCollectionsItemCustodianSourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_data_source_item_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_data_source_item_request_builder.go index bc4cc046ba1..40133bc9967 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_data_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_data_source_item_request_builder.go @@ -77,3 +77,8 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesDataSourceItemR } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesDataSourceItemRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesDataSourceItemRequestBuilder) { + return NewEdiscoveryCasesItemSourceCollectionsItemCustodianSourcesDataSourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_request_builder.go index a23503681d6..2591e10346e 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_request_builder.go @@ -39,9 +39,9 @@ type EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesRequestBuilderGetRe // Request query parameters QueryParameters *EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesRequestBuilderGetQueryParameters } -// ByDataSourceIdString provides operations to manage the custodianSources property of the microsoft.graph.ediscovery.sourceCollection entity. +// ByDataSourceId provides operations to manage the custodianSources property of the microsoft.graph.ediscovery.sourceCollection entity. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 -func (m *EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesRequestBuilder) ByDataSourceIdString(dataSourceId string)(*EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesDataSourceItemRequestBuilder) { +func (m *EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesRequestBuilder) ByDataSourceId(dataSourceId string)(*EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesDataSourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -108,3 +108,8 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesRequestBuilder) } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesRequestBuilder) { + return NewEdiscoveryCasesItemSourceCollectionsItemCustodianSourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_source_collections_item_last_estimate_statistics_operation_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_last_estimate_statistics_operation_request_builder.go index 858995ecc45..2685c12626b 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_last_estimate_statistics_operation_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_last_estimate_statistics_operation_request_builder.go @@ -80,3 +80,8 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemLastEstimateStatisticsOperation } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemSourceCollectionsItemLastEstimateStatisticsOperationRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemSourceCollectionsItemLastEstimateStatisticsOperationRequestBuilder) { + return NewEdiscoveryCasesItemSourceCollectionsItemLastEstimateStatisticsOperationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_estimate_statistics_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_estimate_statistics_request_builder.go index 826326e62a6..4a613f11aa5 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_estimate_statistics_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_estimate_statistics_request_builder.go @@ -63,3 +63,8 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemMicrosoftGraphEdiscoveryEstimat } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemSourceCollectionsItemMicrosoftGraphEdiscoveryEstimateStatisticsRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemSourceCollectionsItemMicrosoftGraphEdiscoveryEstimateStatisticsRequestBuilder) { + return NewEdiscoveryCasesItemSourceCollectionsItemMicrosoftGraphEdiscoveryEstimateStatisticsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_purge_data_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_purge_data_request_builder.go index 296755280dd..0d13a3b7714 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_purge_data_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_purge_data_request_builder.go @@ -63,3 +63,8 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemMicrosoftGraphEdiscoveryPurgeDa } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemSourceCollectionsItemMicrosoftGraphEdiscoveryPurgeDataRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemSourceCollectionsItemMicrosoftGraphEdiscoveryPurgeDataRequestBuilder) { + return NewEdiscoveryCasesItemSourceCollectionsItemMicrosoftGraphEdiscoveryPurgeDataRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_count_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_count_request_builder.go index 27511cec670..1af6e72be51 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_count_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesCountRequest } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesCountRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesCountRequestBuilder) { + return NewEdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_noncustodial_data_source_item_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_noncustodial_data_source_item_request_builder.go index 237dfe5343e..c815ebcfad1 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_noncustodial_data_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_noncustodial_data_source_item_request_builder.go @@ -77,3 +77,8 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesNoncustodial } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesNoncustodialDataSourceItemRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesNoncustodialDataSourceItemRequestBuilder) { + return NewEdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesNoncustodialDataSourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_request_builder.go index 9bbf5a50702..0542c42dc0c 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_request_builder.go @@ -39,9 +39,9 @@ type EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesRequestBuilderGe // Request query parameters QueryParameters *EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesRequestBuilderGetQueryParameters } -// ByNoncustodialDataSourceIdString provides operations to manage the noncustodialSources property of the microsoft.graph.ediscovery.sourceCollection entity. +// ByNoncustodialDataSourceId provides operations to manage the noncustodialSources property of the microsoft.graph.ediscovery.sourceCollection entity. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 -func (m *EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesRequestBuilder) ByNoncustodialDataSourceIdString(noncustodialDataSourceId string)(*EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesNoncustodialDataSourceItemRequestBuilder) { +func (m *EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesRequestBuilder) ByNoncustodialDataSourceId(noncustodialDataSourceId string)(*EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesNoncustodialDataSourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -108,3 +108,8 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesRequestBuild } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesRequestBuilder) { + return NewEdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_source_collections_request_builder.go b/compliance/ediscovery_cases_item_source_collections_request_builder.go index 3195d987053..5302988e871 100644 --- a/compliance/ediscovery_cases_item_source_collections_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_request_builder.go @@ -46,9 +46,9 @@ type EdiscoveryCasesItemSourceCollectionsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySourceCollectionIdString provides operations to manage the sourceCollections property of the microsoft.graph.ediscovery.case entity. +// BySourceCollectionId provides operations to manage the sourceCollections property of the microsoft.graph.ediscovery.case entity. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 -func (m *EdiscoveryCasesItemSourceCollectionsRequestBuilder) BySourceCollectionIdString(sourceCollectionId string)(*EdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilder) { +func (m *EdiscoveryCasesItemSourceCollectionsRequestBuilder) BySourceCollectionId(sourceCollectionId string)(*EdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,8 @@ func (m *EdiscoveryCasesItemSourceCollectionsRequestBuilder) ToPostRequestInform } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemSourceCollectionsRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemSourceCollectionsRequestBuilder) { + return NewEdiscoveryCasesItemSourceCollectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_source_collections_source_collection_item_request_builder.go b/compliance/ediscovery_cases_item_source_collections_source_collection_item_request_builder.go index 068d4b61a01..e7e411647b5 100644 --- a/compliance/ediscovery_cases_item_source_collections_source_collection_item_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_source_collection_item_request_builder.go @@ -193,3 +193,8 @@ func (m *EdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilder) } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilder) { + return NewEdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_tags_count_request_builder.go b/compliance/ediscovery_cases_item_tags_count_request_builder.go index fdf803fb39e..f8152609ba1 100644 --- a/compliance/ediscovery_cases_item_tags_count_request_builder.go +++ b/compliance/ediscovery_cases_item_tags_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EdiscoveryCasesItemTagsCountRequestBuilder) ToGetRequestInformation(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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemTagsCountRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemTagsCountRequestBuilder) { + return NewEdiscoveryCasesItemTagsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_tags_item_child_tags_count_request_builder.go b/compliance/ediscovery_cases_item_tags_item_child_tags_count_request_builder.go index fa8f0883d55..bf264c73f4f 100644 --- a/compliance/ediscovery_cases_item_tags_item_child_tags_count_request_builder.go +++ b/compliance/ediscovery_cases_item_tags_item_child_tags_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EdiscoveryCasesItemTagsItemChildTagsCountRequestBuilder) ToGetRequestIn } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemTagsItemChildTagsCountRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemTagsItemChildTagsCountRequestBuilder) { + return NewEdiscoveryCasesItemTagsItemChildTagsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_tags_item_child_tags_request_builder.go b/compliance/ediscovery_cases_item_tags_item_child_tags_request_builder.go index ed1919b069c..71df6febd5d 100644 --- a/compliance/ediscovery_cases_item_tags_item_child_tags_request_builder.go +++ b/compliance/ediscovery_cases_item_tags_item_child_tags_request_builder.go @@ -39,9 +39,9 @@ type EdiscoveryCasesItemTagsItemChildTagsRequestBuilderGetRequestConfiguration s // Request query parameters QueryParameters *EdiscoveryCasesItemTagsItemChildTagsRequestBuilderGetQueryParameters } -// ByTagId1String provides operations to manage the childTags property of the microsoft.graph.ediscovery.tag entity. +// ByTagId1 provides operations to manage the childTags property of the microsoft.graph.ediscovery.tag entity. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 -func (m *EdiscoveryCasesItemTagsItemChildTagsRequestBuilder) ByTagId1String(tagId1 string)(*EdiscoveryCasesItemTagsItemChildTagsTagItemRequestBuilder) { +func (m *EdiscoveryCasesItemTagsItemChildTagsRequestBuilder) ByTagId1(tagId1 string)(*EdiscoveryCasesItemTagsItemChildTagsTagItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -108,3 +108,8 @@ func (m *EdiscoveryCasesItemTagsItemChildTagsRequestBuilder) ToGetRequestInforma } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemTagsItemChildTagsRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemTagsItemChildTagsRequestBuilder) { + return NewEdiscoveryCasesItemTagsItemChildTagsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_tags_item_child_tags_tag_item_request_builder.go b/compliance/ediscovery_cases_item_tags_item_child_tags_tag_item_request_builder.go index c0f0a851533..5a37e86b192 100644 --- a/compliance/ediscovery_cases_item_tags_item_child_tags_tag_item_request_builder.go +++ b/compliance/ediscovery_cases_item_tags_item_child_tags_tag_item_request_builder.go @@ -77,3 +77,8 @@ func (m *EdiscoveryCasesItemTagsItemChildTagsTagItemRequestBuilder) ToGetRequest } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemTagsItemChildTagsTagItemRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemTagsItemChildTagsTagItemRequestBuilder) { + return NewEdiscoveryCasesItemTagsItemChildTagsTagItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_tags_item_parent_request_builder.go b/compliance/ediscovery_cases_item_tags_item_parent_request_builder.go index 574b0ac3dbf..994eb329278 100644 --- a/compliance/ediscovery_cases_item_tags_item_parent_request_builder.go +++ b/compliance/ediscovery_cases_item_tags_item_parent_request_builder.go @@ -77,3 +77,8 @@ func (m *EdiscoveryCasesItemTagsItemParentRequestBuilder) 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemTagsItemParentRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemTagsItemParentRequestBuilder) { + return NewEdiscoveryCasesItemTagsItemParentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_tags_microsoft_graph_ediscovery_as_hierarchy_request_builder.go b/compliance/ediscovery_cases_item_tags_microsoft_graph_ediscovery_as_hierarchy_request_builder.go index 0320f414123..426a9060745 100644 --- a/compliance/ediscovery_cases_item_tags_microsoft_graph_ediscovery_as_hierarchy_request_builder.go +++ b/compliance/ediscovery_cases_item_tags_microsoft_graph_ediscovery_as_hierarchy_request_builder.go @@ -86,3 +86,8 @@ func (m *EdiscoveryCasesItemTagsMicrosoftGraphEdiscoveryAsHierarchyRequestBuilde } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemTagsMicrosoftGraphEdiscoveryAsHierarchyRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemTagsMicrosoftGraphEdiscoveryAsHierarchyRequestBuilder) { + return NewEdiscoveryCasesItemTagsMicrosoftGraphEdiscoveryAsHierarchyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_tags_request_builder.go b/compliance/ediscovery_cases_item_tags_request_builder.go index b4acd9e4852..3a21690c85b 100644 --- a/compliance/ediscovery_cases_item_tags_request_builder.go +++ b/compliance/ediscovery_cases_item_tags_request_builder.go @@ -46,9 +46,9 @@ type EdiscoveryCasesItemTagsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTagIdString provides operations to manage the tags property of the microsoft.graph.ediscovery.case entity. +// ByTagId provides operations to manage the tags property of the microsoft.graph.ediscovery.case entity. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 -func (m *EdiscoveryCasesItemTagsRequestBuilder) ByTagIdString(tagId string)(*EdiscoveryCasesItemTagsTagItemRequestBuilder) { +func (m *EdiscoveryCasesItemTagsRequestBuilder) ByTagId(tagId string)(*EdiscoveryCasesItemTagsTagItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -160,3 +160,8 @@ func (m *EdiscoveryCasesItemTagsRequestBuilder) ToPostRequestInformation(ctx con } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemTagsRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemTagsRequestBuilder) { + return NewEdiscoveryCasesItemTagsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_item_tags_tag_item_request_builder.go b/compliance/ediscovery_cases_item_tags_tag_item_request_builder.go index aa249673368..d698e8d510e 100644 --- a/compliance/ediscovery_cases_item_tags_tag_item_request_builder.go +++ b/compliance/ediscovery_cases_item_tags_tag_item_request_builder.go @@ -176,3 +176,8 @@ func (m *EdiscoveryCasesItemTagsTagItemRequestBuilder) 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesItemTagsTagItemRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesItemTagsTagItemRequestBuilder) { + return NewEdiscoveryCasesItemTagsTagItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_cases_request_builder.go b/compliance/ediscovery_cases_request_builder.go index e081420efc7..7d678aae601 100644 --- a/compliance/ediscovery_cases_request_builder.go +++ b/compliance/ediscovery_cases_request_builder.go @@ -46,9 +46,9 @@ type EdiscoveryCasesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCaseIdString provides operations to manage the cases property of the microsoft.graph.ediscovery.ediscoveryroot entity. +// ByCaseId provides operations to manage the cases property of the microsoft.graph.ediscovery.ediscoveryroot entity. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 -func (m *EdiscoveryCasesRequestBuilder) ByCaseIdString(caseId string)(*EdiscoveryCasesCaseItemRequestBuilder) { +func (m *EdiscoveryCasesRequestBuilder) ByCaseId(caseId string)(*EdiscoveryCasesCaseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,8 @@ func (m *EdiscoveryCasesRequestBuilder) ToPostRequestInformation(ctx context.Con } 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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryCasesRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryCasesRequestBuilder) { + return NewEdiscoveryCasesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/compliance/ediscovery_request_builder.go b/compliance/ediscovery_request_builder.go index 4e79c72e695..47aaf14fe0d 100644 --- a/compliance/ediscovery_request_builder.go +++ b/compliance/ediscovery_request_builder.go @@ -163,3 +163,8 @@ func (m *EdiscoveryRequestBuilder) ToPatchRequestInformation(ctx context.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. +// Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01 +func (m *EdiscoveryRequestBuilder) WithUrl(rawUrl string)(*EdiscoveryRequestBuilder) { + return NewEdiscoveryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/connections/connections_request_builder.go b/connections/connections_request_builder.go index a259966d850..b91b808e393 100644 --- a/connections/connections_request_builder.go +++ b/connections/connections_request_builder.go @@ -46,8 +46,8 @@ type ConnectionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExternalConnectionIdString provides operations to manage the collection of externalConnection entities. -func (m *ConnectionsRequestBuilder) ByExternalConnectionIdString(externalConnectionId string)(*ExternalConnectionItemRequestBuilder) { +// ByExternalConnectionId provides operations to manage the collection of externalConnection entities. +func (m *ConnectionsRequestBuilder) ByExternalConnectionId(externalConnectionId string)(*ExternalConnectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ConnectionsRequestBuilder) ToPostRequestInformation(ctx context.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 *ConnectionsRequestBuilder) WithUrl(rawUrl string)(*ConnectionsRequestBuilder) { + return NewConnectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/connections/count_request_builder.go b/connections/count_request_builder.go index 7a224fd7a4a..b1f11a1e98c 100644 --- a/connections/count_request_builder.go +++ b/connections/count_request_builder.go @@ -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); +} diff --git a/connections/external_connection_item_request_builder.go b/connections/external_connection_item_request_builder.go index 5a9428235bc..284b6031677 100644 --- a/connections/external_connection_item_request_builder.go +++ b/connections/external_connection_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ExternalConnectionItemRequestBuilder) ToPatchRequestInformation(ctx con } 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 *ExternalConnectionItemRequestBuilder) WithUrl(rawUrl string)(*ExternalConnectionItemRequestBuilder) { + return NewExternalConnectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/connections/item_groups_count_request_builder.go b/connections/item_groups_count_request_builder.go index 5e79afa93cf..63909824a4e 100644 --- a/connections/item_groups_count_request_builder.go +++ b/connections/item_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemGroupsCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGroupsCountRequestBuilder) { + return NewItemGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/connections/item_groups_external_group_item_request_builder.go b/connections/item_groups_external_group_item_request_builder.go index 54c1892a215..ff8bae1bd6c 100644 --- a/connections/item_groups_external_group_item_request_builder.go +++ b/connections/item_groups_external_group_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemGroupsExternalGroupItemRequestBuilder) ToPatchRequestInformation(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 *ItemGroupsExternalGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemGroupsExternalGroupItemRequestBuilder) { + return NewItemGroupsExternalGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/connections/item_groups_item_members_count_request_builder.go b/connections/item_groups_item_members_count_request_builder.go index 53e05e1f1fa..94a276001b5 100644 --- a/connections/item_groups_item_members_count_request_builder.go +++ b/connections/item_groups_item_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemGroupsItemMembersCountRequestBuilder) ToGetRequestInformation(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 *ItemGroupsItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemGroupsItemMembersCountRequestBuilder) { + return NewItemGroupsItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/connections/item_groups_item_members_identity_item_request_builder.go b/connections/item_groups_item_members_identity_item_request_builder.go index f3407932489..817fa70a999 100644 --- a/connections/item_groups_item_members_identity_item_request_builder.go +++ b/connections/item_groups_item_members_identity_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemGroupsItemMembersIdentityItemRequestBuilder) ToPatchRequestInformat } 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 *ItemGroupsItemMembersIdentityItemRequestBuilder) WithUrl(rawUrl string)(*ItemGroupsItemMembersIdentityItemRequestBuilder) { + return NewItemGroupsItemMembersIdentityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/connections/item_groups_item_members_request_builder.go b/connections/item_groups_item_members_request_builder.go index e0b4c97c21f..364de9d1e97 100644 --- a/connections/item_groups_item_members_request_builder.go +++ b/connections/item_groups_item_members_request_builder.go @@ -46,8 +46,8 @@ type ItemGroupsItemMembersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByIdentityIdString provides operations to manage the members property of the microsoft.graph.externalConnectors.externalGroup entity. -func (m *ItemGroupsItemMembersRequestBuilder) ByIdentityIdString(identityId string)(*ItemGroupsItemMembersIdentityItemRequestBuilder) { +// ByIdentityId provides operations to manage the members property of the microsoft.graph.externalConnectors.externalGroup entity. +func (m *ItemGroupsItemMembersRequestBuilder) ByIdentityId(identityId string)(*ItemGroupsItemMembersIdentityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemGroupsItemMembersRequestBuilder) 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 *ItemGroupsItemMembersRequestBuilder) WithUrl(rawUrl string)(*ItemGroupsItemMembersRequestBuilder) { + return NewItemGroupsItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/connections/item_groups_request_builder.go b/connections/item_groups_request_builder.go index a0d82b85e54..aff3e441e47 100644 --- a/connections/item_groups_request_builder.go +++ b/connections/item_groups_request_builder.go @@ -46,8 +46,8 @@ type ItemGroupsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExternalGroupIdString provides operations to manage the groups property of the microsoft.graph.externalConnectors.externalConnection entity. -func (m *ItemGroupsRequestBuilder) ByExternalGroupIdString(externalGroupId string)(*ItemGroupsExternalGroupItemRequestBuilder) { +// ByExternalGroupId provides operations to manage the groups property of the microsoft.graph.externalConnectors.externalConnection entity. +func (m *ItemGroupsRequestBuilder) ByExternalGroupId(externalGroupId string)(*ItemGroupsExternalGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemGroupsRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemGroupsRequestBuilder) { + return NewItemGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/connections/item_items_count_request_builder.go b/connections/item_items_count_request_builder.go index 76e654767ae..5ae9f4b883d 100644 --- a/connections/item_items_count_request_builder.go +++ b/connections/item_items_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemItemsCountRequestBuilder) ToGetRequestInformation(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 *ItemItemsCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsCountRequestBuilder) { + return NewItemItemsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/connections/item_items_external_item_item_request_builder.go b/connections/item_items_external_item_item_request_builder.go index 4590bc0144c..e363e527095 100644 --- a/connections/item_items_external_item_item_request_builder.go +++ b/connections/item_items_external_item_item_request_builder.go @@ -167,3 +167,7 @@ func (m *ItemItemsExternalItemItemRequestBuilder) ToPutRequestInformation(ctx co } 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 *ItemItemsExternalItemItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsExternalItemItemRequestBuilder) { + return NewItemItemsExternalItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/connections/item_items_item_activities_count_request_builder.go b/connections/item_items_item_activities_count_request_builder.go index 675fc951657..9ba26b0893f 100644 --- a/connections/item_items_item_activities_count_request_builder.go +++ b/connections/item_items_item_activities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemItemsItemActivitiesCountRequestBuilder) ToGetRequestInformation(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 *ItemItemsItemActivitiesCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemActivitiesCountRequestBuilder) { + return NewItemItemsItemActivitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/connections/item_items_item_activities_external_activity_item_request_builder.go b/connections/item_items_item_activities_external_activity_item_request_builder.go index d0267b0c672..5cf1d121e32 100644 --- a/connections/item_items_item_activities_external_activity_item_request_builder.go +++ b/connections/item_items_item_activities_external_activity_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemActivitiesExternalActivityItemRequestBuilder) ToPatchReque } 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 *ItemItemsItemActivitiesExternalActivityItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemActivitiesExternalActivityItemRequestBuilder) { + return NewItemItemsItemActivitiesExternalActivityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/connections/item_items_item_activities_item_performed_by_request_builder.go b/connections/item_items_item_activities_item_performed_by_request_builder.go index 0b6cc1410f9..19626f2e6b5 100644 --- a/connections/item_items_item_activities_item_performed_by_request_builder.go +++ b/connections/item_items_item_activities_item_performed_by_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemItemsItemActivitiesItemPerformedByRequestBuilder) ToGetRequestInfor } 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 *ItemItemsItemActivitiesItemPerformedByRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemActivitiesItemPerformedByRequestBuilder) { + return NewItemItemsItemActivitiesItemPerformedByRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/connections/item_items_item_activities_request_builder.go b/connections/item_items_item_activities_request_builder.go index 0551a9a7049..f6f808e41df 100644 --- a/connections/item_items_item_activities_request_builder.go +++ b/connections/item_items_item_activities_request_builder.go @@ -46,8 +46,8 @@ type ItemItemsItemActivitiesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExternalActivityIdString provides operations to manage the activities property of the microsoft.graph.externalConnectors.externalItem entity. -func (m *ItemItemsItemActivitiesRequestBuilder) ByExternalActivityIdString(externalActivityId string)(*ItemItemsItemActivitiesExternalActivityItemRequestBuilder) { +// ByExternalActivityId provides operations to manage the activities property of the microsoft.graph.externalConnectors.externalItem entity. +func (m *ItemItemsItemActivitiesRequestBuilder) ByExternalActivityId(externalActivityId string)(*ItemItemsItemActivitiesExternalActivityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemItemsItemActivitiesRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemItemsItemActivitiesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemActivitiesRequestBuilder) { + return NewItemItemsItemActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/connections/item_items_item_microsoft_graph_external_connectors_add_activities_request_builder.go b/connections/item_items_item_microsoft_graph_external_connectors_add_activities_request_builder.go index 0335a98e0a2..3fd900308c9 100644 --- a/connections/item_items_item_microsoft_graph_external_connectors_add_activities_request_builder.go +++ b/connections/item_items_item_microsoft_graph_external_connectors_add_activities_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemMicrosoftGraphExternalConnectorsAddActivitiesRequestBuilde } 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 *ItemItemsItemMicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemMicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder) { + return NewItemItemsItemMicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/connections/item_items_request_builder.go b/connections/item_items_request_builder.go index 62a416605ee..9f1bb1b3c43 100644 --- a/connections/item_items_request_builder.go +++ b/connections/item_items_request_builder.go @@ -46,8 +46,8 @@ type ItemItemsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExternalItemIdString provides operations to manage the items property of the microsoft.graph.externalConnectors.externalConnection entity. -func (m *ItemItemsRequestBuilder) ByExternalItemIdString(externalItemId string)(*ItemItemsExternalItemItemRequestBuilder) { +// ByExternalItemId provides operations to manage the items property of the microsoft.graph.externalConnectors.externalConnection entity. +func (m *ItemItemsRequestBuilder) ByExternalItemId(externalItemId string)(*ItemItemsExternalItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemItemsRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemItemsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsRequestBuilder) { + return NewItemItemsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/connections/item_operations_connection_operation_item_request_builder.go b/connections/item_operations_connection_operation_item_request_builder.go index c454b830a0a..7b2acabed78 100644 --- a/connections/item_operations_connection_operation_item_request_builder.go +++ b/connections/item_operations_connection_operation_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemOperationsConnectionOperationItemRequestBuilder) 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 *ItemOperationsConnectionOperationItemRequestBuilder) WithUrl(rawUrl string)(*ItemOperationsConnectionOperationItemRequestBuilder) { + return NewItemOperationsConnectionOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/connections/item_operations_count_request_builder.go b/connections/item_operations_count_request_builder.go index 5b4664f50ec..6f647036e48 100644 --- a/connections/item_operations_count_request_builder.go +++ b/connections/item_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOperationsCountRequestBuilder) ToGetRequestInformation(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 *ItemOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOperationsCountRequestBuilder) { + return NewItemOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/connections/item_operations_request_builder.go b/connections/item_operations_request_builder.go index c9904f335f8..ef9111784ab 100644 --- a/connections/item_operations_request_builder.go +++ b/connections/item_operations_request_builder.go @@ -46,8 +46,8 @@ type ItemOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByConnectionOperationIdString provides operations to manage the operations property of the microsoft.graph.externalConnectors.externalConnection entity. -func (m *ItemOperationsRequestBuilder) ByConnectionOperationIdString(connectionOperationId string)(*ItemOperationsConnectionOperationItemRequestBuilder) { +// ByConnectionOperationId provides operations to manage the operations property of the microsoft.graph.externalConnectors.externalConnection entity. +func (m *ItemOperationsRequestBuilder) ByConnectionOperationId(connectionOperationId string)(*ItemOperationsConnectionOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemOperationsRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *ItemOperationsRequestBuilder) WithUrl(rawUrl string)(*ItemOperationsRequestBuilder) { + return NewItemOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/connections/item_quota_request_builder.go b/connections/item_quota_request_builder.go index d74f626bb1a..4ea75b6e663 100644 --- a/connections/item_quota_request_builder.go +++ b/connections/item_quota_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemQuotaRequestBuilder) ToPatchRequestInformation(ctx context.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 *ItemQuotaRequestBuilder) WithUrl(rawUrl string)(*ItemQuotaRequestBuilder) { + return NewItemQuotaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/connections/item_schema_request_builder.go b/connections/item_schema_request_builder.go index 8c6e2d0dc5d..306e6941bcc 100644 --- a/connections/item_schema_request_builder.go +++ b/connections/item_schema_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemSchemaRequestBuilder) ToPatchRequestInformation(ctx context.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 *ItemSchemaRequestBuilder) WithUrl(rawUrl string)(*ItemSchemaRequestBuilder) { + return NewItemSchemaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/contacts_request_builder.go b/contacts/contacts_request_builder.go index 307aaceb9f7..cb6aa7700d9 100644 --- a/contacts/contacts_request_builder.go +++ b/contacts/contacts_request_builder.go @@ -46,8 +46,8 @@ type ContactsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOrgContactIdString provides operations to manage the collection of orgContact entities. -func (m *ContactsRequestBuilder) ByOrgContactIdString(orgContactId string)(*OrgContactItemRequestBuilder) { +// ByOrgContactId provides operations to manage the collection of orgContact entities. +func (m *ContactsRequestBuilder) ByOrgContactId(orgContactId string)(*OrgContactItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -164,3 +164,7 @@ func (m *ContactsRequestBuilder) ToPostRequestInformation(ctx context.Context, b func (m *ContactsRequestBuilder) ValidateProperties()(*ValidatePropertiesRequestBuilder) { return NewValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ContactsRequestBuilder) WithUrl(rawUrl string)(*ContactsRequestBuilder) { + return NewContactsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/count_request_builder.go b/contacts/count_request_builder.go index e03a1202976..6b7c9439242 100644 --- a/contacts/count_request_builder.go +++ b/contacts/count_request_builder.go @@ -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); +} diff --git a/contacts/delta_request_builder.go b/contacts/delta_request_builder.go index 08952225d7a..18e00c788ab 100644 --- a/contacts/delta_request_builder.go +++ b/contacts/delta_request_builder.go @@ -84,3 +84,7 @@ func (m *DeltaRequestBuilder) 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 *DeltaRequestBuilder) WithUrl(rawUrl string)(*DeltaRequestBuilder) { + return NewDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/get_by_ids_request_builder.go b/contacts/get_by_ids_request_builder.go index 75c8f66e70d..e26aca4752f 100644 --- a/contacts/get_by_ids_request_builder.go +++ b/contacts/get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *GetByIdsRequestBuilder) WithUrl(rawUrl string)(*GetByIdsRequestBuilder) { + return NewGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/get_user_owned_objects_request_builder.go b/contacts/get_user_owned_objects_request_builder.go index 7b6cc87c023..880884da1ee 100644 --- a/contacts/get_user_owned_objects_request_builder.go +++ b/contacts/get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) 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 *GetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*GetUserOwnedObjectsRequestBuilder) { + return NewGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_check_member_groups_request_builder.go b/contacts/item_check_member_groups_request_builder.go index 71a3d901be7..3f0f4514317 100644 --- a/contacts/item_check_member_groups_request_builder.go +++ b/contacts/item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) 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 *ItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberGroupsRequestBuilder) { + return NewItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_check_member_objects_request_builder.go b/contacts/item_check_member_objects_request_builder.go index 52a6f0136c0..3cee2ec9ef7 100644 --- a/contacts/item_check_member_objects_request_builder.go +++ b/contacts/item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberObjectsRequestBuilder) { + return NewItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_direct_reports_count_request_builder.go b/contacts/item_direct_reports_count_request_builder.go index f0afbb5abb4..e9d8e2c923e 100644 --- a/contacts/item_direct_reports_count_request_builder.go +++ b/contacts/item_direct_reports_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDirectReportsCountRequestBuilder) ToGetRequestInformation(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 *ItemDirectReportsCountRequestBuilder) WithUrl(rawUrl string)(*ItemDirectReportsCountRequestBuilder) { + return NewItemDirectReportsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_direct_reports_directory_object_item_request_builder.go b/contacts/item_direct_reports_directory_object_item_request_builder.go index 591a99603ec..ceccf683238 100644 --- a/contacts/item_direct_reports_directory_object_item_request_builder.go +++ b/contacts/item_direct_reports_directory_object_item_request_builder.go @@ -83,3 +83,7 @@ func (m *ItemDirectReportsDirectoryObjectItemRequestBuilder) ToGetRequestInforma } 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 *ItemDirectReportsDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemDirectReportsDirectoryObjectItemRequestBuilder) { + return NewItemDirectReportsDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_direct_reports_graph_org_contact_count_request_builder.go b/contacts/item_direct_reports_graph_org_contact_count_request_builder.go index 61df9a97907..3dfc471c493 100644 --- a/contacts/item_direct_reports_graph_org_contact_count_request_builder.go +++ b/contacts/item_direct_reports_graph_org_contact_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDirectReportsGraphOrgContactCountRequestBuilder) ToGetRequestInform } 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 *ItemDirectReportsGraphOrgContactCountRequestBuilder) WithUrl(rawUrl string)(*ItemDirectReportsGraphOrgContactCountRequestBuilder) { + return NewItemDirectReportsGraphOrgContactCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_direct_reports_graph_org_contact_request_builder.go b/contacts/item_direct_reports_graph_org_contact_request_builder.go index d1d01ea8471..31c43b621e2 100644 --- a/contacts/item_direct_reports_graph_org_contact_request_builder.go +++ b/contacts/item_direct_reports_graph_org_contact_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemDirectReportsGraphOrgContactRequestBuilder) 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 *ItemDirectReportsGraphOrgContactRequestBuilder) WithUrl(rawUrl string)(*ItemDirectReportsGraphOrgContactRequestBuilder) { + return NewItemDirectReportsGraphOrgContactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_direct_reports_graph_user_count_request_builder.go b/contacts/item_direct_reports_graph_user_count_request_builder.go index 7626c025dc7..2864c184ba2 100644 --- a/contacts/item_direct_reports_graph_user_count_request_builder.go +++ b/contacts/item_direct_reports_graph_user_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDirectReportsGraphUserCountRequestBuilder) 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 *ItemDirectReportsGraphUserCountRequestBuilder) WithUrl(rawUrl string)(*ItemDirectReportsGraphUserCountRequestBuilder) { + return NewItemDirectReportsGraphUserCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_direct_reports_graph_user_request_builder.go b/contacts/item_direct_reports_graph_user_request_builder.go index 987ebd423a9..673962d952a 100644 --- a/contacts/item_direct_reports_graph_user_request_builder.go +++ b/contacts/item_direct_reports_graph_user_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemDirectReportsGraphUserRequestBuilder) ToGetRequestInformation(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 *ItemDirectReportsGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemDirectReportsGraphUserRequestBuilder) { + return NewItemDirectReportsGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_direct_reports_item_graph_org_contact_request_builder.go b/contacts/item_direct_reports_item_graph_org_contact_request_builder.go index 883101171ec..2f3dd41a633 100644 --- a/contacts/item_direct_reports_item_graph_org_contact_request_builder.go +++ b/contacts/item_direct_reports_item_graph_org_contact_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemDirectReportsItemGraphOrgContactRequestBuilder) ToGetRequestInforma } 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 *ItemDirectReportsItemGraphOrgContactRequestBuilder) WithUrl(rawUrl string)(*ItemDirectReportsItemGraphOrgContactRequestBuilder) { + return NewItemDirectReportsItemGraphOrgContactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_direct_reports_item_graph_user_request_builder.go b/contacts/item_direct_reports_item_graph_user_request_builder.go index 22dd65fcb92..43b77b23171 100644 --- a/contacts/item_direct_reports_item_graph_user_request_builder.go +++ b/contacts/item_direct_reports_item_graph_user_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemDirectReportsItemGraphUserRequestBuilder) ToGetRequestInformation(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 *ItemDirectReportsItemGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemDirectReportsItemGraphUserRequestBuilder) { + return NewItemDirectReportsItemGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_direct_reports_request_builder.go b/contacts/item_direct_reports_request_builder.go index 9309bcac0e8..9fb6e22bfb7 100644 --- a/contacts/item_direct_reports_request_builder.go +++ b/contacts/item_direct_reports_request_builder.go @@ -39,8 +39,8 @@ type ItemDirectReportsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemDirectReportsRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the directReports property of the microsoft.graph.orgContact entity. -func (m *ItemDirectReportsRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemDirectReportsDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the directReports property of the microsoft.graph.orgContact entity. +func (m *ItemDirectReportsRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemDirectReportsDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -113,3 +113,7 @@ func (m *ItemDirectReportsRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemDirectReportsRequestBuilder) WithUrl(rawUrl string)(*ItemDirectReportsRequestBuilder) { + return NewItemDirectReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_get_member_groups_request_builder.go b/contacts/item_get_member_groups_request_builder.go index 65f54a1723f..d6bf298f0d0 100644 --- a/contacts/item_get_member_groups_request_builder.go +++ b/contacts/item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) 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 *ItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberGroupsRequestBuilder) { + return NewItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_get_member_objects_request_builder.go b/contacts/item_get_member_objects_request_builder.go index a76bb7c77ac..80eba548b03 100644 --- a/contacts/item_get_member_objects_request_builder.go +++ b/contacts/item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberObjectsRequestBuilder) { + return NewItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_manager_request_builder.go b/contacts/item_manager_request_builder.go index df445ea8e21..5076a49b999 100644 --- a/contacts/item_manager_request_builder.go +++ b/contacts/item_manager_request_builder.go @@ -78,3 +78,7 @@ func (m *ItemManagerRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemManagerRequestBuilder) WithUrl(rawUrl string)(*ItemManagerRequestBuilder) { + return NewItemManagerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_member_of_count_request_builder.go b/contacts/item_member_of_count_request_builder.go index dbfa08c09ef..acd413d4cc3 100644 --- a/contacts/item_member_of_count_request_builder.go +++ b/contacts/item_member_of_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMemberOfCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemMemberOfCountRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfCountRequestBuilder) { + return NewItemMemberOfCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_member_of_directory_object_item_request_builder.go b/contacts/item_member_of_directory_object_item_request_builder.go index 5be76b1da68..9ba66e40a4e 100644 --- a/contacts/item_member_of_directory_object_item_request_builder.go +++ b/contacts/item_member_of_directory_object_item_request_builder.go @@ -83,3 +83,7 @@ func (m *ItemMemberOfDirectoryObjectItemRequestBuilder) 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 *ItemMemberOfDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfDirectoryObjectItemRequestBuilder) { + return NewItemMemberOfDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_member_of_graph_administrative_unit_count_request_builder.go b/contacts/item_member_of_graph_administrative_unit_count_request_builder.go index 831e7f404f3..cc8257f5256 100644 --- a/contacts/item_member_of_graph_administrative_unit_count_request_builder.go +++ b/contacts/item_member_of_graph_administrative_unit_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMemberOfGraphAdministrativeUnitCountRequestBuilder) ToGetRequestInf } 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 *ItemMemberOfGraphAdministrativeUnitCountRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphAdministrativeUnitCountRequestBuilder) { + return NewItemMemberOfGraphAdministrativeUnitCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_member_of_graph_administrative_unit_request_builder.go b/contacts/item_member_of_graph_administrative_unit_request_builder.go index c287c399842..0c40e164d71 100644 --- a/contacts/item_member_of_graph_administrative_unit_request_builder.go +++ b/contacts/item_member_of_graph_administrative_unit_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMemberOfGraphAdministrativeUnitRequestBuilder) ToGetRequestInformat } 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 *ItemMemberOfGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphAdministrativeUnitRequestBuilder) { + return NewItemMemberOfGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_member_of_graph_group_count_request_builder.go b/contacts/item_member_of_graph_group_count_request_builder.go index e2a2ad590e7..8e187e71ea3 100644 --- a/contacts/item_member_of_graph_group_count_request_builder.go +++ b/contacts/item_member_of_graph_group_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMemberOfGraphGroupCountRequestBuilder) ToGetRequestInformation(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 *ItemMemberOfGraphGroupCountRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphGroupCountRequestBuilder) { + return NewItemMemberOfGraphGroupCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_member_of_graph_group_request_builder.go b/contacts/item_member_of_graph_group_request_builder.go index 70df6c0fde3..c161e8be211 100644 --- a/contacts/item_member_of_graph_group_request_builder.go +++ b/contacts/item_member_of_graph_group_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMemberOfGraphGroupRequestBuilder) ToGetRequestInformation(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 *ItemMemberOfGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphGroupRequestBuilder) { + return NewItemMemberOfGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_member_of_item_graph_administrative_unit_request_builder.go b/contacts/item_member_of_item_graph_administrative_unit_request_builder.go index 744de353ed9..6f963170ca9 100644 --- a/contacts/item_member_of_item_graph_administrative_unit_request_builder.go +++ b/contacts/item_member_of_item_graph_administrative_unit_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMemberOfItemGraphAdministrativeUnitRequestBuilder) ToGetRequestInfo } 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 *ItemMemberOfItemGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfItemGraphAdministrativeUnitRequestBuilder) { + return NewItemMemberOfItemGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_member_of_item_graph_group_request_builder.go b/contacts/item_member_of_item_graph_group_request_builder.go index f966e60bcad..81d5aaeb255 100644 --- a/contacts/item_member_of_item_graph_group_request_builder.go +++ b/contacts/item_member_of_item_graph_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMemberOfItemGraphGroupRequestBuilder) ToGetRequestInformation(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 *ItemMemberOfItemGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfItemGraphGroupRequestBuilder) { + return NewItemMemberOfItemGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_member_of_request_builder.go b/contacts/item_member_of_request_builder.go index 49c539381f3..0ba8ab5ed94 100644 --- a/contacts/item_member_of_request_builder.go +++ b/contacts/item_member_of_request_builder.go @@ -39,8 +39,8 @@ type ItemMemberOfRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemMemberOfRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the memberOf property of the microsoft.graph.orgContact entity. -func (m *ItemMemberOfRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemMemberOfDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the memberOf property of the microsoft.graph.orgContact entity. +func (m *ItemMemberOfRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemMemberOfDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -113,3 +113,7 @@ func (m *ItemMemberOfRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemMemberOfRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfRequestBuilder) { + return NewItemMemberOfRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_restore_request_builder.go b/contacts/item_restore_request_builder.go index 201519a4f8c..1f80dca6a4b 100644 --- a/contacts/item_restore_request_builder.go +++ b/contacts/item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemRestoreRequestBuilder) { + return NewItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_retry_service_provisioning_request_builder.go b/contacts/item_retry_service_provisioning_request_builder.go index a54872b7ad5..ba7ba058489 100644 --- a/contacts/item_retry_service_provisioning_request_builder.go +++ b/contacts/item_retry_service_provisioning_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemRetryServiceProvisioningRequestBuilder) 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 *ItemRetryServiceProvisioningRequestBuilder) WithUrl(rawUrl string)(*ItemRetryServiceProvisioningRequestBuilder) { + return NewItemRetryServiceProvisioningRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_transitive_member_of_count_request_builder.go b/contacts/item_transitive_member_of_count_request_builder.go index 8beac06f332..bf59376373d 100644 --- a/contacts/item_transitive_member_of_count_request_builder.go +++ b/contacts/item_transitive_member_of_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMemberOfCountRequestBuilder) ToGetRequestInformation(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 *ItemTransitiveMemberOfCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfCountRequestBuilder) { + return NewItemTransitiveMemberOfCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_transitive_member_of_directory_object_item_request_builder.go b/contacts/item_transitive_member_of_directory_object_item_request_builder.go index bf757004664..fad6fa30dd1 100644 --- a/contacts/item_transitive_member_of_directory_object_item_request_builder.go +++ b/contacts/item_transitive_member_of_directory_object_item_request_builder.go @@ -83,3 +83,7 @@ func (m *ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) ToGetRequestIn } 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 *ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) { + return NewItemTransitiveMemberOfDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_transitive_member_of_graph_administrative_unit_count_request_builder.go b/contacts/item_transitive_member_of_graph_administrative_unit_count_request_builder.go index f45acbca5fb..10f2b38eb9b 100644 --- a/contacts/item_transitive_member_of_graph_administrative_unit_count_request_builder.go +++ b/contacts/item_transitive_member_of_graph_administrative_unit_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder) ToGet } 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 *ItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder) { + return NewItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_transitive_member_of_graph_administrative_unit_request_builder.go b/contacts/item_transitive_member_of_graph_administrative_unit_request_builder.go index e256021799c..3f0da459ee3 100644 --- a/contacts/item_transitive_member_of_graph_administrative_unit_request_builder.go +++ b/contacts/item_transitive_member_of_graph_administrative_unit_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) ToGetReque } 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 *ItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) { + return NewItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_transitive_member_of_graph_group_count_request_builder.go b/contacts/item_transitive_member_of_graph_group_count_request_builder.go index eadfeeb0881..6f5aac2ab62 100644 --- a/contacts/item_transitive_member_of_graph_group_count_request_builder.go +++ b/contacts/item_transitive_member_of_graph_group_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMemberOfGraphGroupCountRequestBuilder) ToGetRequestInform } 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 *ItemTransitiveMemberOfGraphGroupCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphGroupCountRequestBuilder) { + return NewItemTransitiveMemberOfGraphGroupCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_transitive_member_of_graph_group_request_builder.go b/contacts/item_transitive_member_of_graph_group_request_builder.go index 24a7b2c469f..caafa8dbffd 100644 --- a/contacts/item_transitive_member_of_graph_group_request_builder.go +++ b/contacts/item_transitive_member_of_graph_group_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemTransitiveMemberOfGraphGroupRequestBuilder) 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 *ItemTransitiveMemberOfGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphGroupRequestBuilder) { + return NewItemTransitiveMemberOfGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_transitive_member_of_item_graph_administrative_unit_request_builder.go b/contacts/item_transitive_member_of_item_graph_administrative_unit_request_builder.go index fead7c45a8b..1dbc744560a 100644 --- a/contacts/item_transitive_member_of_item_graph_administrative_unit_request_builder.go +++ b/contacts/item_transitive_member_of_item_graph_administrative_unit_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder) ToGetR } 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 *ItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder) { + return NewItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_transitive_member_of_item_graph_group_request_builder.go b/contacts/item_transitive_member_of_item_graph_group_request_builder.go index ccfb0b2f3df..9323c3e2582 100644 --- a/contacts/item_transitive_member_of_item_graph_group_request_builder.go +++ b/contacts/item_transitive_member_of_item_graph_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTransitiveMemberOfItemGraphGroupRequestBuilder) ToGetRequestInforma } 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 *ItemTransitiveMemberOfItemGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfItemGraphGroupRequestBuilder) { + return NewItemTransitiveMemberOfItemGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_transitive_member_of_request_builder.go b/contacts/item_transitive_member_of_request_builder.go index e252894a0f6..950e1aa5a18 100644 --- a/contacts/item_transitive_member_of_request_builder.go +++ b/contacts/item_transitive_member_of_request_builder.go @@ -39,8 +39,8 @@ type ItemTransitiveMemberOfRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemTransitiveMemberOfRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the transitiveMemberOf property of the microsoft.graph.orgContact entity. -func (m *ItemTransitiveMemberOfRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the transitiveMemberOf property of the microsoft.graph.orgContact entity. +func (m *ItemTransitiveMemberOfRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -110,3 +110,7 @@ func (m *ItemTransitiveMemberOfRequestBuilder) ToGetRequestInformation(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 *ItemTransitiveMemberOfRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfRequestBuilder) { + return NewItemTransitiveMemberOfRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_transitive_reports_count_request_builder.go b/contacts/item_transitive_reports_count_request_builder.go index db2cb890d0f..189cbde5326 100644 --- a/contacts/item_transitive_reports_count_request_builder.go +++ b/contacts/item_transitive_reports_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveReportsCountRequestBuilder) ToGetRequestInformation(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 *ItemTransitiveReportsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveReportsCountRequestBuilder) { + return NewItemTransitiveReportsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_transitive_reports_directory_object_item_request_builder.go b/contacts/item_transitive_reports_directory_object_item_request_builder.go index 2633bd05203..be4c73dfcce 100644 --- a/contacts/item_transitive_reports_directory_object_item_request_builder.go +++ b/contacts/item_transitive_reports_directory_object_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTransitiveReportsDirectoryObjectItemRequestBuilder) ToGetRequestInf } 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 *ItemTransitiveReportsDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveReportsDirectoryObjectItemRequestBuilder) { + return NewItemTransitiveReportsDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/item_transitive_reports_request_builder.go b/contacts/item_transitive_reports_request_builder.go index 3455bd6763d..edd39d9d7c4 100644 --- a/contacts/item_transitive_reports_request_builder.go +++ b/contacts/item_transitive_reports_request_builder.go @@ -39,8 +39,8 @@ type ItemTransitiveReportsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemTransitiveReportsRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the transitiveReports property of the microsoft.graph.orgContact entity. -func (m *ItemTransitiveReportsRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemTransitiveReportsDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the transitiveReports property of the microsoft.graph.orgContact entity. +func (m *ItemTransitiveReportsRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemTransitiveReportsDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemTransitiveReportsRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemTransitiveReportsRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveReportsRequestBuilder) { + return NewItemTransitiveReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/org_contact_item_request_builder.go b/contacts/org_contact_item_request_builder.go index ca7a21ae2fb..3e2be2aba5f 100644 --- a/contacts/org_contact_item_request_builder.go +++ b/contacts/org_contact_item_request_builder.go @@ -200,3 +200,7 @@ func (m *OrgContactItemRequestBuilder) TransitiveMemberOf()(*ItemTransitiveMembe func (m *OrgContactItemRequestBuilder) TransitiveReports()(*ItemTransitiveReportsRequestBuilder) { return NewItemTransitiveReportsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *OrgContactItemRequestBuilder) WithUrl(rawUrl string)(*OrgContactItemRequestBuilder) { + return NewOrgContactItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contacts/validate_properties_request_builder.go b/contacts/validate_properties_request_builder.go index 543b41a8643..df579ba2e19 100644 --- a/contacts/validate_properties_request_builder.go +++ b/contacts/validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ValidatePropertiesRequestBuilder) 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 *ValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ValidatePropertiesRequestBuilder) { + return NewValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contracts/contract_item_request_builder.go b/contracts/contract_item_request_builder.go index cc1b451f97d..0d389f558b3 100644 --- a/contracts/contract_item_request_builder.go +++ b/contracts/contract_item_request_builder.go @@ -176,3 +176,7 @@ func (m *ContractItemRequestBuilder) ToPatchRequestInformation(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 *ContractItemRequestBuilder) WithUrl(rawUrl string)(*ContractItemRequestBuilder) { + return NewContractItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contracts/contracts_request_builder.go b/contracts/contracts_request_builder.go index 28e68de1ede..6d01bef9112 100644 --- a/contracts/contracts_request_builder.go +++ b/contracts/contracts_request_builder.go @@ -46,8 +46,8 @@ type ContractsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByContractIdString provides operations to manage the collection of contract entities. -func (m *ContractsRequestBuilder) ByContractIdString(contractId string)(*ContractItemRequestBuilder) { +// ByContractId provides operations to manage the collection of contract entities. +func (m *ContractsRequestBuilder) ByContractId(contractId string)(*ContractItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -164,3 +164,7 @@ func (m *ContractsRequestBuilder) ToPostRequestInformation(ctx context.Context, func (m *ContractsRequestBuilder) ValidateProperties()(*ValidatePropertiesRequestBuilder) { return NewValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ContractsRequestBuilder) WithUrl(rawUrl string)(*ContractsRequestBuilder) { + return NewContractsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contracts/count_request_builder.go b/contracts/count_request_builder.go index 1a51def8d7d..5ad1ff8ebf3 100644 --- a/contracts/count_request_builder.go +++ b/contracts/count_request_builder.go @@ -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); +} diff --git a/contracts/delta_request_builder.go b/contracts/delta_request_builder.go index f6ad44e40a8..4faefe2be27 100644 --- a/contracts/delta_request_builder.go +++ b/contracts/delta_request_builder.go @@ -84,3 +84,7 @@ func (m *DeltaRequestBuilder) 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 *DeltaRequestBuilder) WithUrl(rawUrl string)(*DeltaRequestBuilder) { + return NewDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contracts/get_by_ids_request_builder.go b/contracts/get_by_ids_request_builder.go index dbe5e28d7f5..ad9ab4c3ed3 100644 --- a/contracts/get_by_ids_request_builder.go +++ b/contracts/get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *GetByIdsRequestBuilder) WithUrl(rawUrl string)(*GetByIdsRequestBuilder) { + return NewGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contracts/get_user_owned_objects_request_builder.go b/contracts/get_user_owned_objects_request_builder.go index 8ae2729b7c0..dc145b4ccf5 100644 --- a/contracts/get_user_owned_objects_request_builder.go +++ b/contracts/get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) 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 *GetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*GetUserOwnedObjectsRequestBuilder) { + return NewGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contracts/item_check_member_groups_request_builder.go b/contracts/item_check_member_groups_request_builder.go index 2aa92505018..a832ebbebd3 100644 --- a/contracts/item_check_member_groups_request_builder.go +++ b/contracts/item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) 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 *ItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberGroupsRequestBuilder) { + return NewItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contracts/item_check_member_objects_request_builder.go b/contracts/item_check_member_objects_request_builder.go index db7ae868a21..d077ae5b979 100644 --- a/contracts/item_check_member_objects_request_builder.go +++ b/contracts/item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberObjectsRequestBuilder) { + return NewItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contracts/item_get_member_groups_request_builder.go b/contracts/item_get_member_groups_request_builder.go index b898565e020..27560ac0b57 100644 --- a/contracts/item_get_member_groups_request_builder.go +++ b/contracts/item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) 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 *ItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberGroupsRequestBuilder) { + return NewItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contracts/item_get_member_objects_request_builder.go b/contracts/item_get_member_objects_request_builder.go index f38999a52af..1e7b4ee0a40 100644 --- a/contracts/item_get_member_objects_request_builder.go +++ b/contracts/item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberObjectsRequestBuilder) { + return NewItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contracts/item_restore_request_builder.go b/contracts/item_restore_request_builder.go index dad38fe6c91..3fc9f8c12b2 100644 --- a/contracts/item_restore_request_builder.go +++ b/contracts/item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemRestoreRequestBuilder) { + return NewItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/contracts/validate_properties_request_builder.go b/contracts/validate_properties_request_builder.go index 17ef09ec16d..f51f1127dfe 100644 --- a/contracts/validate_properties_request_builder.go +++ b/contracts/validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ValidatePropertiesRequestBuilder) 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 *ValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ValidatePropertiesRequestBuilder) { + return NewValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/classify_exact_matches_request_builder.go b/dataclassification/classify_exact_matches_request_builder.go index 9bae8c4280f..4e968eea8d7 100644 --- a/dataclassification/classify_exact_matches_request_builder.go +++ b/dataclassification/classify_exact_matches_request_builder.go @@ -67,3 +67,7 @@ func (m *ClassifyExactMatchesRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ClassifyExactMatchesRequestBuilder) WithUrl(rawUrl string)(*ClassifyExactMatchesRequestBuilder) { + return NewClassifyExactMatchesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/classify_file_jobs_count_request_builder.go b/dataclassification/classify_file_jobs_count_request_builder.go index efd97236c50..c6cb7953cca 100644 --- a/dataclassification/classify_file_jobs_count_request_builder.go +++ b/dataclassification/classify_file_jobs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ClassifyFileJobsCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ClassifyFileJobsCountRequestBuilder) WithUrl(rawUrl string)(*ClassifyFileJobsCountRequestBuilder) { + return NewClassifyFileJobsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/classify_file_jobs_job_response_base_item_request_builder.go b/dataclassification/classify_file_jobs_job_response_base_item_request_builder.go index 4c5d561e35a..752ff8054b7 100644 --- a/dataclassification/classify_file_jobs_job_response_base_item_request_builder.go +++ b/dataclassification/classify_file_jobs_job_response_base_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ClassifyFileJobsJobResponseBaseItemRequestBuilder) ToPatchRequestInform } 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 *ClassifyFileJobsJobResponseBaseItemRequestBuilder) WithUrl(rawUrl string)(*ClassifyFileJobsJobResponseBaseItemRequestBuilder) { + return NewClassifyFileJobsJobResponseBaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/classify_file_jobs_request_builder.go b/dataclassification/classify_file_jobs_request_builder.go index 7d6cb6265a9..6a3cba49f44 100644 --- a/dataclassification/classify_file_jobs_request_builder.go +++ b/dataclassification/classify_file_jobs_request_builder.go @@ -46,8 +46,8 @@ type ClassifyFileJobsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByJobResponseBaseIdString provides operations to manage the classifyFileJobs property of the microsoft.graph.dataClassificationService entity. -func (m *ClassifyFileJobsRequestBuilder) ByJobResponseBaseIdString(jobResponseBaseId string)(*ClassifyFileJobsJobResponseBaseItemRequestBuilder) { +// ByJobResponseBaseId provides operations to manage the classifyFileJobs property of the microsoft.graph.dataClassificationService entity. +func (m *ClassifyFileJobsRequestBuilder) ByJobResponseBaseId(jobResponseBaseId string)(*ClassifyFileJobsJobResponseBaseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ClassifyFileJobsRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ClassifyFileJobsRequestBuilder) WithUrl(rawUrl string)(*ClassifyFileJobsRequestBuilder) { + return NewClassifyFileJobsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/classify_file_request_builder.go b/dataclassification/classify_file_request_builder.go index 68dac81e5e4..e695724e294 100644 --- a/dataclassification/classify_file_request_builder.go +++ b/dataclassification/classify_file_request_builder.go @@ -67,3 +67,7 @@ func (m *ClassifyFileRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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 *ClassifyFileRequestBuilder) WithUrl(rawUrl string)(*ClassifyFileRequestBuilder) { + return NewClassifyFileRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/classify_text_jobs_count_request_builder.go b/dataclassification/classify_text_jobs_count_request_builder.go index 2e3a7fc9382..775d9d0e714 100644 --- a/dataclassification/classify_text_jobs_count_request_builder.go +++ b/dataclassification/classify_text_jobs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ClassifyTextJobsCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ClassifyTextJobsCountRequestBuilder) WithUrl(rawUrl string)(*ClassifyTextJobsCountRequestBuilder) { + return NewClassifyTextJobsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/classify_text_jobs_job_response_base_item_request_builder.go b/dataclassification/classify_text_jobs_job_response_base_item_request_builder.go index 381bc5ae9be..d1daa685396 100644 --- a/dataclassification/classify_text_jobs_job_response_base_item_request_builder.go +++ b/dataclassification/classify_text_jobs_job_response_base_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ClassifyTextJobsJobResponseBaseItemRequestBuilder) ToPatchRequestInform } 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 *ClassifyTextJobsJobResponseBaseItemRequestBuilder) WithUrl(rawUrl string)(*ClassifyTextJobsJobResponseBaseItemRequestBuilder) { + return NewClassifyTextJobsJobResponseBaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/classify_text_jobs_request_builder.go b/dataclassification/classify_text_jobs_request_builder.go index 33c69493b49..2ddaa787140 100644 --- a/dataclassification/classify_text_jobs_request_builder.go +++ b/dataclassification/classify_text_jobs_request_builder.go @@ -46,8 +46,8 @@ type ClassifyTextJobsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByJobResponseBaseIdString provides operations to manage the classifyTextJobs property of the microsoft.graph.dataClassificationService entity. -func (m *ClassifyTextJobsRequestBuilder) ByJobResponseBaseIdString(jobResponseBaseId string)(*ClassifyTextJobsJobResponseBaseItemRequestBuilder) { +// ByJobResponseBaseId provides operations to manage the classifyTextJobs property of the microsoft.graph.dataClassificationService entity. +func (m *ClassifyTextJobsRequestBuilder) ByJobResponseBaseId(jobResponseBaseId string)(*ClassifyTextJobsJobResponseBaseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ClassifyTextJobsRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ClassifyTextJobsRequestBuilder) WithUrl(rawUrl string)(*ClassifyTextJobsRequestBuilder) { + return NewClassifyTextJobsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/data_classification_request_builder.go b/dataclassification/data_classification_request_builder.go index b8f0b99cdea..1dbc42d5341 100644 --- a/dataclassification/data_classification_request_builder.go +++ b/dataclassification/data_classification_request_builder.go @@ -162,3 +162,7 @@ func (m *DataClassificationRequestBuilder) ToPatchRequestInformation(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 *DataClassificationRequestBuilder) WithUrl(rawUrl string)(*DataClassificationRequestBuilder) { + return NewDataClassificationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/evaluate_dlp_policies_jobs_count_request_builder.go b/dataclassification/evaluate_dlp_policies_jobs_count_request_builder.go index 286989b4ef2..44786be0fed 100644 --- a/dataclassification/evaluate_dlp_policies_jobs_count_request_builder.go +++ b/dataclassification/evaluate_dlp_policies_jobs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EvaluateDlpPoliciesJobsCountRequestBuilder) ToGetRequestInformation(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 *EvaluateDlpPoliciesJobsCountRequestBuilder) WithUrl(rawUrl string)(*EvaluateDlpPoliciesJobsCountRequestBuilder) { + return NewEvaluateDlpPoliciesJobsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/evaluate_dlp_policies_jobs_job_response_base_item_request_builder.go b/dataclassification/evaluate_dlp_policies_jobs_job_response_base_item_request_builder.go index 53c6f66e4b1..bfeb95968b3 100644 --- a/dataclassification/evaluate_dlp_policies_jobs_job_response_base_item_request_builder.go +++ b/dataclassification/evaluate_dlp_policies_jobs_job_response_base_item_request_builder.go @@ -153,3 +153,7 @@ func (m *EvaluateDlpPoliciesJobsJobResponseBaseItemRequestBuilder) ToPatchReques } 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 *EvaluateDlpPoliciesJobsJobResponseBaseItemRequestBuilder) WithUrl(rawUrl string)(*EvaluateDlpPoliciesJobsJobResponseBaseItemRequestBuilder) { + return NewEvaluateDlpPoliciesJobsJobResponseBaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/evaluate_dlp_policies_jobs_request_builder.go b/dataclassification/evaluate_dlp_policies_jobs_request_builder.go index 7f6e58f4c44..15199edfb6b 100644 --- a/dataclassification/evaluate_dlp_policies_jobs_request_builder.go +++ b/dataclassification/evaluate_dlp_policies_jobs_request_builder.go @@ -46,8 +46,8 @@ type EvaluateDlpPoliciesJobsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByJobResponseBaseIdString provides operations to manage the evaluateDlpPoliciesJobs property of the microsoft.graph.dataClassificationService entity. -func (m *EvaluateDlpPoliciesJobsRequestBuilder) ByJobResponseBaseIdString(jobResponseBaseId string)(*EvaluateDlpPoliciesJobsJobResponseBaseItemRequestBuilder) { +// ByJobResponseBaseId provides operations to manage the evaluateDlpPoliciesJobs property of the microsoft.graph.dataClassificationService entity. +func (m *EvaluateDlpPoliciesJobsRequestBuilder) ByJobResponseBaseId(jobResponseBaseId string)(*EvaluateDlpPoliciesJobsJobResponseBaseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EvaluateDlpPoliciesJobsRequestBuilder) ToPostRequestInformation(ctx con } 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 *EvaluateDlpPoliciesJobsRequestBuilder) WithUrl(rawUrl string)(*EvaluateDlpPoliciesJobsRequestBuilder) { + return NewEvaluateDlpPoliciesJobsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/evaluate_label_jobs_count_request_builder.go b/dataclassification/evaluate_label_jobs_count_request_builder.go index 1b5eca96c8d..2dc0982c470 100644 --- a/dataclassification/evaluate_label_jobs_count_request_builder.go +++ b/dataclassification/evaluate_label_jobs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EvaluateLabelJobsCountRequestBuilder) ToGetRequestInformation(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 *EvaluateLabelJobsCountRequestBuilder) WithUrl(rawUrl string)(*EvaluateLabelJobsCountRequestBuilder) { + return NewEvaluateLabelJobsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/evaluate_label_jobs_job_response_base_item_request_builder.go b/dataclassification/evaluate_label_jobs_job_response_base_item_request_builder.go index 95b798325ba..658d711524a 100644 --- a/dataclassification/evaluate_label_jobs_job_response_base_item_request_builder.go +++ b/dataclassification/evaluate_label_jobs_job_response_base_item_request_builder.go @@ -153,3 +153,7 @@ func (m *EvaluateLabelJobsJobResponseBaseItemRequestBuilder) ToPatchRequestInfor } 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 *EvaluateLabelJobsJobResponseBaseItemRequestBuilder) WithUrl(rawUrl string)(*EvaluateLabelJobsJobResponseBaseItemRequestBuilder) { + return NewEvaluateLabelJobsJobResponseBaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/evaluate_label_jobs_request_builder.go b/dataclassification/evaluate_label_jobs_request_builder.go index c237a0c1b28..b70e0e51773 100644 --- a/dataclassification/evaluate_label_jobs_request_builder.go +++ b/dataclassification/evaluate_label_jobs_request_builder.go @@ -46,8 +46,8 @@ type EvaluateLabelJobsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByJobResponseBaseIdString provides operations to manage the evaluateLabelJobs property of the microsoft.graph.dataClassificationService entity. -func (m *EvaluateLabelJobsRequestBuilder) ByJobResponseBaseIdString(jobResponseBaseId string)(*EvaluateLabelJobsJobResponseBaseItemRequestBuilder) { +// ByJobResponseBaseId provides operations to manage the evaluateLabelJobs property of the microsoft.graph.dataClassificationService entity. +func (m *EvaluateLabelJobsRequestBuilder) ByJobResponseBaseId(jobResponseBaseId string)(*EvaluateLabelJobsJobResponseBaseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EvaluateLabelJobsRequestBuilder) ToPostRequestInformation(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 *EvaluateLabelJobsRequestBuilder) WithUrl(rawUrl string)(*EvaluateLabelJobsRequestBuilder) { + return NewEvaluateLabelJobsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/exact_match_data_stores_count_request_builder.go b/dataclassification/exact_match_data_stores_count_request_builder.go index eea3a178a61..46fbdfaa4a2 100644 --- a/dataclassification/exact_match_data_stores_count_request_builder.go +++ b/dataclassification/exact_match_data_stores_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ExactMatchDataStoresCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ExactMatchDataStoresCountRequestBuilder) WithUrl(rawUrl string)(*ExactMatchDataStoresCountRequestBuilder) { + return NewExactMatchDataStoresCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/exact_match_data_stores_exact_match_data_store_item_request_builder.go b/dataclassification/exact_match_data_stores_exact_match_data_store_item_request_builder.go index f3b8eb2661c..84e6fe0bdc4 100644 --- a/dataclassification/exact_match_data_stores_exact_match_data_store_item_request_builder.go +++ b/dataclassification/exact_match_data_stores_exact_match_data_store_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ExactMatchDataStoresExactMatchDataStoreItemRequestBuilder) ToPatchReque } 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 *ExactMatchDataStoresExactMatchDataStoreItemRequestBuilder) WithUrl(rawUrl string)(*ExactMatchDataStoresExactMatchDataStoreItemRequestBuilder) { + return NewExactMatchDataStoresExactMatchDataStoreItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/exact_match_data_stores_item_lookup_request_builder.go b/dataclassification/exact_match_data_stores_item_lookup_request_builder.go index 6994f054c7d..9bd7a1c140c 100644 --- a/dataclassification/exact_match_data_stores_item_lookup_request_builder.go +++ b/dataclassification/exact_match_data_stores_item_lookup_request_builder.go @@ -66,3 +66,7 @@ func (m *ExactMatchDataStoresItemLookupRequestBuilder) 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 *ExactMatchDataStoresItemLookupRequestBuilder) WithUrl(rawUrl string)(*ExactMatchDataStoresItemLookupRequestBuilder) { + return NewExactMatchDataStoresItemLookupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/exact_match_data_stores_item_sessions_count_request_builder.go b/dataclassification/exact_match_data_stores_item_sessions_count_request_builder.go index 0053a428461..102f68db289 100644 --- a/dataclassification/exact_match_data_stores_item_sessions_count_request_builder.go +++ b/dataclassification/exact_match_data_stores_item_sessions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ExactMatchDataStoresItemSessionsCountRequestBuilder) ToGetRequestInform } 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 *ExactMatchDataStoresItemSessionsCountRequestBuilder) WithUrl(rawUrl string)(*ExactMatchDataStoresItemSessionsCountRequestBuilder) { + return NewExactMatchDataStoresItemSessionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/exact_match_data_stores_item_sessions_exact_match_session_item_request_builder.go b/dataclassification/exact_match_data_stores_item_sessions_exact_match_session_item_request_builder.go index 8c4959fc69c..941e023f4ff 100644 --- a/dataclassification/exact_match_data_stores_item_sessions_exact_match_session_item_request_builder.go +++ b/dataclassification/exact_match_data_stores_item_sessions_exact_match_session_item_request_builder.go @@ -169,3 +169,7 @@ func (m *ExactMatchDataStoresItemSessionsExactMatchSessionItemRequestBuilder) To func (m *ExactMatchDataStoresItemSessionsExactMatchSessionItemRequestBuilder) UploadAgent()(*ExactMatchDataStoresItemSessionsItemUploadAgentRequestBuilder) { return NewExactMatchDataStoresItemSessionsItemUploadAgentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ExactMatchDataStoresItemSessionsExactMatchSessionItemRequestBuilder) WithUrl(rawUrl string)(*ExactMatchDataStoresItemSessionsExactMatchSessionItemRequestBuilder) { + return NewExactMatchDataStoresItemSessionsExactMatchSessionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/exact_match_data_stores_item_sessions_item_cancel_request_builder.go b/dataclassification/exact_match_data_stores_item_sessions_item_cancel_request_builder.go index 446e4703036..bab69a35df5 100644 --- a/dataclassification/exact_match_data_stores_item_sessions_item_cancel_request_builder.go +++ b/dataclassification/exact_match_data_stores_item_sessions_item_cancel_request_builder.go @@ -58,3 +58,7 @@ func (m *ExactMatchDataStoresItemSessionsItemCancelRequestBuilder) ToPostRequest } 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 *ExactMatchDataStoresItemSessionsItemCancelRequestBuilder) WithUrl(rawUrl string)(*ExactMatchDataStoresItemSessionsItemCancelRequestBuilder) { + return NewExactMatchDataStoresItemSessionsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/exact_match_data_stores_item_sessions_item_commit_request_builder.go b/dataclassification/exact_match_data_stores_item_sessions_item_commit_request_builder.go index 6c55d06ccb5..f980ff2cae5 100644 --- a/dataclassification/exact_match_data_stores_item_sessions_item_commit_request_builder.go +++ b/dataclassification/exact_match_data_stores_item_sessions_item_commit_request_builder.go @@ -58,3 +58,7 @@ func (m *ExactMatchDataStoresItemSessionsItemCommitRequestBuilder) ToPostRequest } 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 *ExactMatchDataStoresItemSessionsItemCommitRequestBuilder) WithUrl(rawUrl string)(*ExactMatchDataStoresItemSessionsItemCommitRequestBuilder) { + return NewExactMatchDataStoresItemSessionsItemCommitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/exact_match_data_stores_item_sessions_item_renew_request_builder.go b/dataclassification/exact_match_data_stores_item_sessions_item_renew_request_builder.go index d09dbacc26b..1afa70150a7 100644 --- a/dataclassification/exact_match_data_stores_item_sessions_item_renew_request_builder.go +++ b/dataclassification/exact_match_data_stores_item_sessions_item_renew_request_builder.go @@ -63,3 +63,7 @@ func (m *ExactMatchDataStoresItemSessionsItemRenewRequestBuilder) ToPostRequestI } 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 *ExactMatchDataStoresItemSessionsItemRenewRequestBuilder) WithUrl(rawUrl string)(*ExactMatchDataStoresItemSessionsItemRenewRequestBuilder) { + return NewExactMatchDataStoresItemSessionsItemRenewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/exact_match_data_stores_item_sessions_item_upload_agent_request_builder.go b/dataclassification/exact_match_data_stores_item_sessions_item_upload_agent_request_builder.go index dea12884cc8..3cdfb057fe5 100644 --- a/dataclassification/exact_match_data_stores_item_sessions_item_upload_agent_request_builder.go +++ b/dataclassification/exact_match_data_stores_item_sessions_item_upload_agent_request_builder.go @@ -153,3 +153,7 @@ func (m *ExactMatchDataStoresItemSessionsItemUploadAgentRequestBuilder) ToPatchR } 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 *ExactMatchDataStoresItemSessionsItemUploadAgentRequestBuilder) WithUrl(rawUrl string)(*ExactMatchDataStoresItemSessionsItemUploadAgentRequestBuilder) { + return NewExactMatchDataStoresItemSessionsItemUploadAgentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/exact_match_data_stores_item_sessions_request_builder.go b/dataclassification/exact_match_data_stores_item_sessions_request_builder.go index 39652d68c32..80d051ed492 100644 --- a/dataclassification/exact_match_data_stores_item_sessions_request_builder.go +++ b/dataclassification/exact_match_data_stores_item_sessions_request_builder.go @@ -46,8 +46,8 @@ type ExactMatchDataStoresItemSessionsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExactMatchSessionIdString provides operations to manage the sessions property of the microsoft.graph.exactMatchDataStore entity. -func (m *ExactMatchDataStoresItemSessionsRequestBuilder) ByExactMatchSessionIdString(exactMatchSessionId string)(*ExactMatchDataStoresItemSessionsExactMatchSessionItemRequestBuilder) { +// ByExactMatchSessionId provides operations to manage the sessions property of the microsoft.graph.exactMatchDataStore entity. +func (m *ExactMatchDataStoresItemSessionsRequestBuilder) ByExactMatchSessionId(exactMatchSessionId string)(*ExactMatchDataStoresItemSessionsExactMatchSessionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ExactMatchDataStoresItemSessionsRequestBuilder) ToPostRequestInformatio } 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 *ExactMatchDataStoresItemSessionsRequestBuilder) WithUrl(rawUrl string)(*ExactMatchDataStoresItemSessionsRequestBuilder) { + return NewExactMatchDataStoresItemSessionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/exact_match_data_stores_request_builder.go b/dataclassification/exact_match_data_stores_request_builder.go index 0396f1c20cb..e966c8cffa1 100644 --- a/dataclassification/exact_match_data_stores_request_builder.go +++ b/dataclassification/exact_match_data_stores_request_builder.go @@ -46,8 +46,8 @@ type ExactMatchDataStoresRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExactMatchDataStoreIdString provides operations to manage the exactMatchDataStores property of the microsoft.graph.dataClassificationService entity. -func (m *ExactMatchDataStoresRequestBuilder) ByExactMatchDataStoreIdString(exactMatchDataStoreId string)(*ExactMatchDataStoresExactMatchDataStoreItemRequestBuilder) { +// ByExactMatchDataStoreId provides operations to manage the exactMatchDataStores property of the microsoft.graph.dataClassificationService entity. +func (m *ExactMatchDataStoresRequestBuilder) ByExactMatchDataStoreId(exactMatchDataStoreId string)(*ExactMatchDataStoresExactMatchDataStoreItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ExactMatchDataStoresRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ExactMatchDataStoresRequestBuilder) WithUrl(rawUrl string)(*ExactMatchDataStoresRequestBuilder) { + return NewExactMatchDataStoresRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/exact_match_upload_agents_count_request_builder.go b/dataclassification/exact_match_upload_agents_count_request_builder.go index 52d25a8acdd..8b4ce975138 100644 --- a/dataclassification/exact_match_upload_agents_count_request_builder.go +++ b/dataclassification/exact_match_upload_agents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ExactMatchUploadAgentsCountRequestBuilder) ToGetRequestInformation(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 *ExactMatchUploadAgentsCountRequestBuilder) WithUrl(rawUrl string)(*ExactMatchUploadAgentsCountRequestBuilder) { + return NewExactMatchUploadAgentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/exact_match_upload_agents_exact_match_upload_agent_item_request_builder.go b/dataclassification/exact_match_upload_agents_exact_match_upload_agent_item_request_builder.go index df1d9f3646c..39c205db89d 100644 --- a/dataclassification/exact_match_upload_agents_exact_match_upload_agent_item_request_builder.go +++ b/dataclassification/exact_match_upload_agents_exact_match_upload_agent_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ExactMatchUploadAgentsExactMatchUploadAgentItemRequestBuilder) ToPatchR } 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 *ExactMatchUploadAgentsExactMatchUploadAgentItemRequestBuilder) WithUrl(rawUrl string)(*ExactMatchUploadAgentsExactMatchUploadAgentItemRequestBuilder) { + return NewExactMatchUploadAgentsExactMatchUploadAgentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/exact_match_upload_agents_request_builder.go b/dataclassification/exact_match_upload_agents_request_builder.go index a1eca378ad2..6984a5e86d5 100644 --- a/dataclassification/exact_match_upload_agents_request_builder.go +++ b/dataclassification/exact_match_upload_agents_request_builder.go @@ -46,8 +46,8 @@ type ExactMatchUploadAgentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExactMatchUploadAgentIdString provides operations to manage the exactMatchUploadAgents property of the microsoft.graph.dataClassificationService entity. -func (m *ExactMatchUploadAgentsRequestBuilder) ByExactMatchUploadAgentIdString(exactMatchUploadAgentId string)(*ExactMatchUploadAgentsExactMatchUploadAgentItemRequestBuilder) { +// ByExactMatchUploadAgentId provides operations to manage the exactMatchUploadAgents property of the microsoft.graph.dataClassificationService entity. +func (m *ExactMatchUploadAgentsRequestBuilder) ByExactMatchUploadAgentId(exactMatchUploadAgentId string)(*ExactMatchUploadAgentsExactMatchUploadAgentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ExactMatchUploadAgentsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ExactMatchUploadAgentsRequestBuilder) WithUrl(rawUrl string)(*ExactMatchUploadAgentsRequestBuilder) { + return NewExactMatchUploadAgentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/jobs_count_request_builder.go b/dataclassification/jobs_count_request_builder.go index 4e8493560b1..ae4b82a25e5 100644 --- a/dataclassification/jobs_count_request_builder.go +++ b/dataclassification/jobs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *JobsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, r } 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 *JobsCountRequestBuilder) WithUrl(rawUrl string)(*JobsCountRequestBuilder) { + return NewJobsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/jobs_job_response_base_item_request_builder.go b/dataclassification/jobs_job_response_base_item_request_builder.go index 6e1a0fed0d5..50cd1140671 100644 --- a/dataclassification/jobs_job_response_base_item_request_builder.go +++ b/dataclassification/jobs_job_response_base_item_request_builder.go @@ -153,3 +153,7 @@ func (m *JobsJobResponseBaseItemRequestBuilder) ToPatchRequestInformation(ctx co } 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 *JobsJobResponseBaseItemRequestBuilder) WithUrl(rawUrl string)(*JobsJobResponseBaseItemRequestBuilder) { + return NewJobsJobResponseBaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/jobs_request_builder.go b/dataclassification/jobs_request_builder.go index 646ae4a16aa..b24e5ed72f3 100644 --- a/dataclassification/jobs_request_builder.go +++ b/dataclassification/jobs_request_builder.go @@ -46,8 +46,8 @@ type JobsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByJobResponseBaseIdString provides operations to manage the jobs property of the microsoft.graph.dataClassificationService entity. -func (m *JobsRequestBuilder) ByJobResponseBaseIdString(jobResponseBaseId string)(*JobsJobResponseBaseItemRequestBuilder) { +// ByJobResponseBaseId provides operations to manage the jobs property of the microsoft.graph.dataClassificationService entity. +func (m *JobsRequestBuilder) ByJobResponseBaseId(jobResponseBaseId string)(*JobsJobResponseBaseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *JobsRequestBuilder) ToPostRequestInformation(ctx context.Context, body } 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 *JobsRequestBuilder) WithUrl(rawUrl string)(*JobsRequestBuilder) { + return NewJobsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/sensitive_types_count_request_builder.go b/dataclassification/sensitive_types_count_request_builder.go index fa8da715101..3dfc9d8ed80 100644 --- a/dataclassification/sensitive_types_count_request_builder.go +++ b/dataclassification/sensitive_types_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SensitiveTypesCountRequestBuilder) ToGetRequestInformation(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 *SensitiveTypesCountRequestBuilder) WithUrl(rawUrl string)(*SensitiveTypesCountRequestBuilder) { + return NewSensitiveTypesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/sensitive_types_request_builder.go b/dataclassification/sensitive_types_request_builder.go index de8b38bd5e7..72568fb4ad3 100644 --- a/dataclassification/sensitive_types_request_builder.go +++ b/dataclassification/sensitive_types_request_builder.go @@ -46,8 +46,8 @@ type SensitiveTypesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySensitiveTypeIdString provides operations to manage the sensitiveTypes property of the microsoft.graph.dataClassificationService entity. -func (m *SensitiveTypesRequestBuilder) BySensitiveTypeIdString(sensitiveTypeId string)(*SensitiveTypesSensitiveTypeItemRequestBuilder) { +// BySensitiveTypeId provides operations to manage the sensitiveTypes property of the microsoft.graph.dataClassificationService entity. +func (m *SensitiveTypesRequestBuilder) BySensitiveTypeId(sensitiveTypeId string)(*SensitiveTypesSensitiveTypeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SensitiveTypesRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *SensitiveTypesRequestBuilder) WithUrl(rawUrl string)(*SensitiveTypesRequestBuilder) { + return NewSensitiveTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/sensitive_types_sensitive_type_item_request_builder.go b/dataclassification/sensitive_types_sensitive_type_item_request_builder.go index 092d64c51e5..aecd7cb83a3 100644 --- a/dataclassification/sensitive_types_sensitive_type_item_request_builder.go +++ b/dataclassification/sensitive_types_sensitive_type_item_request_builder.go @@ -153,3 +153,7 @@ func (m *SensitiveTypesSensitiveTypeItemRequestBuilder) ToPatchRequestInformatio } 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 *SensitiveTypesSensitiveTypeItemRequestBuilder) WithUrl(rawUrl string)(*SensitiveTypesSensitiveTypeItemRequestBuilder) { + return NewSensitiveTypesSensitiveTypeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/sensitivity_labels_count_request_builder.go b/dataclassification/sensitivity_labels_count_request_builder.go index da33162ea1c..58b04577543 100644 --- a/dataclassification/sensitivity_labels_count_request_builder.go +++ b/dataclassification/sensitivity_labels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SensitivityLabelsCountRequestBuilder) ToGetRequestInformation(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 *SensitivityLabelsCountRequestBuilder) WithUrl(rawUrl string)(*SensitivityLabelsCountRequestBuilder) { + return NewSensitivityLabelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/sensitivity_labels_evaluate_request_builder.go b/dataclassification/sensitivity_labels_evaluate_request_builder.go index 788254ddff1..e7b631518a8 100644 --- a/dataclassification/sensitivity_labels_evaluate_request_builder.go +++ b/dataclassification/sensitivity_labels_evaluate_request_builder.go @@ -67,3 +67,7 @@ func (m *SensitivityLabelsEvaluateRequestBuilder) ToPostRequestInformation(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 *SensitivityLabelsEvaluateRequestBuilder) WithUrl(rawUrl string)(*SensitivityLabelsEvaluateRequestBuilder) { + return NewSensitivityLabelsEvaluateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/sensitivity_labels_item_sublabels_count_request_builder.go b/dataclassification/sensitivity_labels_item_sublabels_count_request_builder.go index 862783e8e12..46d05095187 100644 --- a/dataclassification/sensitivity_labels_item_sublabels_count_request_builder.go +++ b/dataclassification/sensitivity_labels_item_sublabels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SensitivityLabelsItemSublabelsCountRequestBuilder) ToGetRequestInformat } 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 *SensitivityLabelsItemSublabelsCountRequestBuilder) WithUrl(rawUrl string)(*SensitivityLabelsItemSublabelsCountRequestBuilder) { + return NewSensitivityLabelsItemSublabelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/sensitivity_labels_item_sublabels_evaluate_request_builder.go b/dataclassification/sensitivity_labels_item_sublabels_evaluate_request_builder.go index 471bfed7217..77cb3eb385b 100644 --- a/dataclassification/sensitivity_labels_item_sublabels_evaluate_request_builder.go +++ b/dataclassification/sensitivity_labels_item_sublabels_evaluate_request_builder.go @@ -67,3 +67,7 @@ func (m *SensitivityLabelsItemSublabelsEvaluateRequestBuilder) ToPostRequestInfo } 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 *SensitivityLabelsItemSublabelsEvaluateRequestBuilder) WithUrl(rawUrl string)(*SensitivityLabelsItemSublabelsEvaluateRequestBuilder) { + return NewSensitivityLabelsItemSublabelsEvaluateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/sensitivity_labels_item_sublabels_request_builder.go b/dataclassification/sensitivity_labels_item_sublabels_request_builder.go index b10d777981a..fb570a10dc2 100644 --- a/dataclassification/sensitivity_labels_item_sublabels_request_builder.go +++ b/dataclassification/sensitivity_labels_item_sublabels_request_builder.go @@ -46,8 +46,8 @@ type SensitivityLabelsItemSublabelsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySensitivityLabelId1String provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. -func (m *SensitivityLabelsItemSublabelsRequestBuilder) BySensitivityLabelId1String(sensitivityLabelId1 string)(*SensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) { +// BySensitivityLabelId1 provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. +func (m *SensitivityLabelsItemSublabelsRequestBuilder) BySensitivityLabelId1(sensitivityLabelId1 string)(*SensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *SensitivityLabelsItemSublabelsRequestBuilder) 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 *SensitivityLabelsItemSublabelsRequestBuilder) WithUrl(rawUrl string)(*SensitivityLabelsItemSublabelsRequestBuilder) { + return NewSensitivityLabelsItemSublabelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go b/dataclassification/sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go index 74632a14da3..95a5dd76fa2 100644 --- a/dataclassification/sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go +++ b/dataclassification/sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go @@ -153,3 +153,7 @@ func (m *SensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) 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 *SensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) WithUrl(rawUrl string)(*SensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) { + return NewSensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/sensitivity_labels_request_builder.go b/dataclassification/sensitivity_labels_request_builder.go index a075207afe7..f889ffe61ee 100644 --- a/dataclassification/sensitivity_labels_request_builder.go +++ b/dataclassification/sensitivity_labels_request_builder.go @@ -46,8 +46,8 @@ type SensitivityLabelsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySensitivityLabelIdString provides operations to manage the sensitivityLabels property of the microsoft.graph.dataClassificationService entity. -func (m *SensitivityLabelsRequestBuilder) BySensitivityLabelIdString(sensitivityLabelId string)(*SensitivityLabelsSensitivityLabelItemRequestBuilder) { +// BySensitivityLabelId provides operations to manage the sensitivityLabels property of the microsoft.graph.dataClassificationService entity. +func (m *SensitivityLabelsRequestBuilder) BySensitivityLabelId(sensitivityLabelId string)(*SensitivityLabelsSensitivityLabelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *SensitivityLabelsRequestBuilder) ToPostRequestInformation(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 *SensitivityLabelsRequestBuilder) WithUrl(rawUrl string)(*SensitivityLabelsRequestBuilder) { + return NewSensitivityLabelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/dataclassification/sensitivity_labels_sensitivity_label_item_request_builder.go b/dataclassification/sensitivity_labels_sensitivity_label_item_request_builder.go index 1af10e7da1a..369fbb843c9 100644 --- a/dataclassification/sensitivity_labels_sensitivity_label_item_request_builder.go +++ b/dataclassification/sensitivity_labels_sensitivity_label_item_request_builder.go @@ -157,3 +157,7 @@ func (m *SensitivityLabelsSensitivityLabelItemRequestBuilder) 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 *SensitivityLabelsSensitivityLabelItemRequestBuilder) WithUrl(rawUrl string)(*SensitivityLabelsSensitivityLabelItemRequestBuilder) { + return NewSensitivityLabelsSensitivityLabelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/datapolicyoperations/count_request_builder.go b/datapolicyoperations/count_request_builder.go index a572e022c9f..c628c5e6398 100644 --- a/datapolicyoperations/count_request_builder.go +++ b/datapolicyoperations/count_request_builder.go @@ -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); +} diff --git a/datapolicyoperations/data_policy_operation_item_request_builder.go b/datapolicyoperations/data_policy_operation_item_request_builder.go index 458d06406d7..bd25ddfe306 100644 --- a/datapolicyoperations/data_policy_operation_item_request_builder.go +++ b/datapolicyoperations/data_policy_operation_item_request_builder.go @@ -156,3 +156,7 @@ func (m *DataPolicyOperationItemRequestBuilder) ToPatchRequestInformation(ctx co } 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 *DataPolicyOperationItemRequestBuilder) WithUrl(rawUrl string)(*DataPolicyOperationItemRequestBuilder) { + return NewDataPolicyOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/datapolicyoperations/data_policy_operations_request_builder.go b/datapolicyoperations/data_policy_operations_request_builder.go index 9c073e42a1f..5c6c54b2992 100644 --- a/datapolicyoperations/data_policy_operations_request_builder.go +++ b/datapolicyoperations/data_policy_operations_request_builder.go @@ -46,8 +46,8 @@ type DataPolicyOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDataPolicyOperationIdString provides operations to manage the collection of dataPolicyOperation entities. -func (m *DataPolicyOperationsRequestBuilder) ByDataPolicyOperationIdString(dataPolicyOperationId string)(*DataPolicyOperationItemRequestBuilder) { +// ByDataPolicyOperationId provides operations to manage the collection of dataPolicyOperation entities. +func (m *DataPolicyOperationsRequestBuilder) ByDataPolicyOperationId(dataPolicyOperationId string)(*DataPolicyOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DataPolicyOperationsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *DataPolicyOperationsRequestBuilder) WithUrl(rawUrl string)(*DataPolicyOperationsRequestBuilder) { + return NewDataPolicyOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/android_managed_app_protections_android_managed_app_protection_item_request_builder.go b/deviceappmanagement/android_managed_app_protections_android_managed_app_protection_item_request_builder.go index 26f4ab7f109..c184d177248 100644 --- a/deviceappmanagement/android_managed_app_protections_android_managed_app_protection_item_request_builder.go +++ b/deviceappmanagement/android_managed_app_protections_android_managed_app_protection_item_request_builder.go @@ -165,3 +165,7 @@ func (m *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuild } 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 *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilder) { + return NewAndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/android_managed_app_protections_count_request_builder.go b/deviceappmanagement/android_managed_app_protections_count_request_builder.go index 8cd47272211..2e947a2f760 100644 --- a/deviceappmanagement/android_managed_app_protections_count_request_builder.go +++ b/deviceappmanagement/android_managed_app_protections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AndroidManagedAppProtectionsCountRequestBuilder) 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 *AndroidManagedAppProtectionsCountRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedAppProtectionsCountRequestBuilder) { + return NewAndroidManagedAppProtectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/android_managed_app_protections_has_payload_links_request_builder.go b/deviceappmanagement/android_managed_app_protections_has_payload_links_request_builder.go index 6d8dde62412..f4f5176a794 100644 --- a/deviceappmanagement/android_managed_app_protections_has_payload_links_request_builder.go +++ b/deviceappmanagement/android_managed_app_protections_has_payload_links_request_builder.go @@ -66,3 +66,7 @@ func (m *AndroidManagedAppProtectionsHasPayloadLinksRequestBuilder) ToPostReques } 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 *AndroidManagedAppProtectionsHasPayloadLinksRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedAppProtectionsHasPayloadLinksRequestBuilder) { + return NewAndroidManagedAppProtectionsHasPayloadLinksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/android_managed_app_protections_item_apps_count_request_builder.go b/deviceappmanagement/android_managed_app_protections_item_apps_count_request_builder.go index 206dfe10a30..4f476e43372 100644 --- a/deviceappmanagement/android_managed_app_protections_item_apps_count_request_builder.go +++ b/deviceappmanagement/android_managed_app_protections_item_apps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AndroidManagedAppProtectionsItemAppsCountRequestBuilder) ToGetRequestIn } 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 *AndroidManagedAppProtectionsItemAppsCountRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedAppProtectionsItemAppsCountRequestBuilder) { + return NewAndroidManagedAppProtectionsItemAppsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/android_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go b/deviceappmanagement/android_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go index fab4db0bda3..d99c342ecf9 100644 --- a/deviceappmanagement/android_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go +++ b/deviceappmanagement/android_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AndroidManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) } 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 *AndroidManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) { + return NewAndroidManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/android_managed_app_protections_item_apps_request_builder.go b/deviceappmanagement/android_managed_app_protections_item_apps_request_builder.go index 7a5b82e209d..adf0eb4f8d4 100644 --- a/deviceappmanagement/android_managed_app_protections_item_apps_request_builder.go +++ b/deviceappmanagement/android_managed_app_protections_item_apps_request_builder.go @@ -46,8 +46,8 @@ type AndroidManagedAppProtectionsItemAppsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedMobileAppIdString provides operations to manage the apps property of the microsoft.graph.androidManagedAppProtection entity. -func (m *AndroidManagedAppProtectionsItemAppsRequestBuilder) ByManagedMobileAppIdString(managedMobileAppId string)(*AndroidManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) { +// ByManagedMobileAppId provides operations to manage the apps property of the microsoft.graph.androidManagedAppProtection entity. +func (m *AndroidManagedAppProtectionsItemAppsRequestBuilder) ByManagedMobileAppId(managedMobileAppId string)(*AndroidManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AndroidManagedAppProtectionsItemAppsRequestBuilder) ToPostRequestInform } 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 *AndroidManagedAppProtectionsItemAppsRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedAppProtectionsItemAppsRequestBuilder) { + return NewAndroidManagedAppProtectionsItemAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/android_managed_app_protections_item_assignments_count_request_builder.go b/deviceappmanagement/android_managed_app_protections_item_assignments_count_request_builder.go index 18aaa737888..ec7ce049abc 100644 --- a/deviceappmanagement/android_managed_app_protections_item_assignments_count_request_builder.go +++ b/deviceappmanagement/android_managed_app_protections_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AndroidManagedAppProtectionsItemAssignmentsCountRequestBuilder) ToGetRe } 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 *AndroidManagedAppProtectionsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedAppProtectionsItemAssignmentsCountRequestBuilder) { + return NewAndroidManagedAppProtectionsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/android_managed_app_protections_item_assignments_request_builder.go b/deviceappmanagement/android_managed_app_protections_item_assignments_request_builder.go index 1b2ef57b1c2..5837fa29353 100644 --- a/deviceappmanagement/android_managed_app_protections_item_assignments_request_builder.go +++ b/deviceappmanagement/android_managed_app_protections_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type AndroidManagedAppProtectionsItemAssignmentsRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTargetedManagedAppPolicyAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.targetedManagedAppProtection entity. -func (m *AndroidManagedAppProtectionsItemAssignmentsRequestBuilder) ByTargetedManagedAppPolicyAssignmentIdString(targetedManagedAppPolicyAssignmentId string)(*AndroidManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) { +// ByTargetedManagedAppPolicyAssignmentId provides operations to manage the assignments property of the microsoft.graph.targetedManagedAppProtection entity. +func (m *AndroidManagedAppProtectionsItemAssignmentsRequestBuilder) ByTargetedManagedAppPolicyAssignmentId(targetedManagedAppPolicyAssignmentId string)(*AndroidManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AndroidManagedAppProtectionsItemAssignmentsRequestBuilder) ToPostReques } 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 *AndroidManagedAppProtectionsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedAppProtectionsItemAssignmentsRequestBuilder) { + return NewAndroidManagedAppProtectionsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/android_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go b/deviceappmanagement/android_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go index 8bd5f7cfd98..9be9196cdfe 100644 --- a/deviceappmanagement/android_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go +++ b/deviceappmanagement/android_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AndroidManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssi } 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 *AndroidManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) { + return NewAndroidManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/android_managed_app_protections_item_deployment_summary_request_builder.go b/deviceappmanagement/android_managed_app_protections_item_deployment_summary_request_builder.go index ccafa547cb1..45ee5b7af0b 100644 --- a/deviceappmanagement/android_managed_app_protections_item_deployment_summary_request_builder.go +++ b/deviceappmanagement/android_managed_app_protections_item_deployment_summary_request_builder.go @@ -153,3 +153,7 @@ func (m *AndroidManagedAppProtectionsItemDeploymentSummaryRequestBuilder) ToPatc } 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 *AndroidManagedAppProtectionsItemDeploymentSummaryRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedAppProtectionsItemDeploymentSummaryRequestBuilder) { + return NewAndroidManagedAppProtectionsItemDeploymentSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/android_managed_app_protections_request_builder.go b/deviceappmanagement/android_managed_app_protections_request_builder.go index 96e08914290..aea4a4f807e 100644 --- a/deviceappmanagement/android_managed_app_protections_request_builder.go +++ b/deviceappmanagement/android_managed_app_protections_request_builder.go @@ -46,8 +46,8 @@ type AndroidManagedAppProtectionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAndroidManagedAppProtectionIdString provides operations to manage the androidManagedAppProtections property of the microsoft.graph.deviceAppManagement entity. -func (m *AndroidManagedAppProtectionsRequestBuilder) ByAndroidManagedAppProtectionIdString(androidManagedAppProtectionId string)(*AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilder) { +// ByAndroidManagedAppProtectionId provides operations to manage the androidManagedAppProtections property of the microsoft.graph.deviceAppManagement entity. +func (m *AndroidManagedAppProtectionsRequestBuilder) ByAndroidManagedAppProtectionId(androidManagedAppProtectionId string)(*AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *AndroidManagedAppProtectionsRequestBuilder) 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 *AndroidManagedAppProtectionsRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedAppProtectionsRequestBuilder) { + return NewAndroidManagedAppProtectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/default_managed_app_protections_count_request_builder.go b/deviceappmanagement/default_managed_app_protections_count_request_builder.go index 3e11b5346da..479efa0062d 100644 --- a/deviceappmanagement/default_managed_app_protections_count_request_builder.go +++ b/deviceappmanagement/default_managed_app_protections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DefaultManagedAppProtectionsCountRequestBuilder) 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 *DefaultManagedAppProtectionsCountRequestBuilder) WithUrl(rawUrl string)(*DefaultManagedAppProtectionsCountRequestBuilder) { + return NewDefaultManagedAppProtectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/default_managed_app_protections_default_managed_app_protection_item_request_builder.go b/deviceappmanagement/default_managed_app_protections_default_managed_app_protection_item_request_builder.go index 173b8292a76..d922580d03a 100644 --- a/deviceappmanagement/default_managed_app_protections_default_managed_app_protection_item_request_builder.go +++ b/deviceappmanagement/default_managed_app_protections_default_managed_app_protection_item_request_builder.go @@ -161,3 +161,7 @@ func (m *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuild } 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 *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilder) WithUrl(rawUrl string)(*DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilder) { + return NewDefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/default_managed_app_protections_item_apps_count_request_builder.go b/deviceappmanagement/default_managed_app_protections_item_apps_count_request_builder.go index 568371597d9..50b38b4883b 100644 --- a/deviceappmanagement/default_managed_app_protections_item_apps_count_request_builder.go +++ b/deviceappmanagement/default_managed_app_protections_item_apps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DefaultManagedAppProtectionsItemAppsCountRequestBuilder) ToGetRequestIn } 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 *DefaultManagedAppProtectionsItemAppsCountRequestBuilder) WithUrl(rawUrl string)(*DefaultManagedAppProtectionsItemAppsCountRequestBuilder) { + return NewDefaultManagedAppProtectionsItemAppsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/default_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go b/deviceappmanagement/default_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go index 6bc64ef9e46..76f06d0b390 100644 --- a/deviceappmanagement/default_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go +++ b/deviceappmanagement/default_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DefaultManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) } 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 *DefaultManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) WithUrl(rawUrl string)(*DefaultManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) { + return NewDefaultManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/default_managed_app_protections_item_apps_request_builder.go b/deviceappmanagement/default_managed_app_protections_item_apps_request_builder.go index 6301e570bf2..86874a6c588 100644 --- a/deviceappmanagement/default_managed_app_protections_item_apps_request_builder.go +++ b/deviceappmanagement/default_managed_app_protections_item_apps_request_builder.go @@ -46,8 +46,8 @@ type DefaultManagedAppProtectionsItemAppsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedMobileAppIdString provides operations to manage the apps property of the microsoft.graph.defaultManagedAppProtection entity. -func (m *DefaultManagedAppProtectionsItemAppsRequestBuilder) ByManagedMobileAppIdString(managedMobileAppId string)(*DefaultManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) { +// ByManagedMobileAppId provides operations to manage the apps property of the microsoft.graph.defaultManagedAppProtection entity. +func (m *DefaultManagedAppProtectionsItemAppsRequestBuilder) ByManagedMobileAppId(managedMobileAppId string)(*DefaultManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DefaultManagedAppProtectionsItemAppsRequestBuilder) ToPostRequestInform } 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 *DefaultManagedAppProtectionsItemAppsRequestBuilder) WithUrl(rawUrl string)(*DefaultManagedAppProtectionsItemAppsRequestBuilder) { + return NewDefaultManagedAppProtectionsItemAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/default_managed_app_protections_item_deployment_summary_request_builder.go b/deviceappmanagement/default_managed_app_protections_item_deployment_summary_request_builder.go index 4a0600b5d5d..bd698cac63e 100644 --- a/deviceappmanagement/default_managed_app_protections_item_deployment_summary_request_builder.go +++ b/deviceappmanagement/default_managed_app_protections_item_deployment_summary_request_builder.go @@ -153,3 +153,7 @@ func (m *DefaultManagedAppProtectionsItemDeploymentSummaryRequestBuilder) ToPatc } 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 *DefaultManagedAppProtectionsItemDeploymentSummaryRequestBuilder) WithUrl(rawUrl string)(*DefaultManagedAppProtectionsItemDeploymentSummaryRequestBuilder) { + return NewDefaultManagedAppProtectionsItemDeploymentSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/default_managed_app_protections_request_builder.go b/deviceappmanagement/default_managed_app_protections_request_builder.go index 5528eda647f..34a4e4e92f8 100644 --- a/deviceappmanagement/default_managed_app_protections_request_builder.go +++ b/deviceappmanagement/default_managed_app_protections_request_builder.go @@ -46,8 +46,8 @@ type DefaultManagedAppProtectionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDefaultManagedAppProtectionIdString provides operations to manage the defaultManagedAppProtections property of the microsoft.graph.deviceAppManagement entity. -func (m *DefaultManagedAppProtectionsRequestBuilder) ByDefaultManagedAppProtectionIdString(defaultManagedAppProtectionId string)(*DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilder) { +// ByDefaultManagedAppProtectionId provides operations to manage the defaultManagedAppProtections property of the microsoft.graph.deviceAppManagement entity. +func (m *DefaultManagedAppProtectionsRequestBuilder) ByDefaultManagedAppProtectionId(defaultManagedAppProtectionId string)(*DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DefaultManagedAppProtectionsRequestBuilder) 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 *DefaultManagedAppProtectionsRequestBuilder) WithUrl(rawUrl string)(*DefaultManagedAppProtectionsRequestBuilder) { + return NewDefaultManagedAppProtectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/device_app_management_request_builder.go b/deviceappmanagement/device_app_management_request_builder.go index e895eee8e27..516b02f621e 100644 --- a/deviceappmanagement/device_app_management_request_builder.go +++ b/deviceappmanagement/device_app_management_request_builder.go @@ -222,3 +222,7 @@ func (m *DeviceAppManagementRequestBuilder) WindowsManagedAppProtections()(*Wind func (m *DeviceAppManagementRequestBuilder) WindowsManagementApp()(*WindowsManagementAppRequestBuilder) { return NewWindowsManagementAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DeviceAppManagementRequestBuilder) WithUrl(rawUrl string)(*DeviceAppManagementRequestBuilder) { + return NewDeviceAppManagementRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/device_app_management_tasks_count_request_builder.go b/deviceappmanagement/device_app_management_tasks_count_request_builder.go index e13a21e2629..b3945dd7c4c 100644 --- a/deviceappmanagement/device_app_management_tasks_count_request_builder.go +++ b/deviceappmanagement/device_app_management_tasks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceAppManagementTasksCountRequestBuilder) ToGetRequestInformation(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 *DeviceAppManagementTasksCountRequestBuilder) WithUrl(rawUrl string)(*DeviceAppManagementTasksCountRequestBuilder) { + return NewDeviceAppManagementTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/device_app_management_tasks_device_app_management_task_item_request_builder.go b/deviceappmanagement/device_app_management_tasks_device_app_management_task_item_request_builder.go index bf9e0d2d8e8..ca00765acfd 100644 --- a/deviceappmanagement/device_app_management_tasks_device_app_management_task_item_request_builder.go +++ b/deviceappmanagement/device_app_management_tasks_device_app_management_task_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DeviceAppManagementTasksDeviceAppManagementTaskItemRequestBuilder) ToPa func (m *DeviceAppManagementTasksDeviceAppManagementTaskItemRequestBuilder) UpdateStatus()(*DeviceAppManagementTasksItemUpdateStatusRequestBuilder) { return NewDeviceAppManagementTasksItemUpdateStatusRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DeviceAppManagementTasksDeviceAppManagementTaskItemRequestBuilder) WithUrl(rawUrl string)(*DeviceAppManagementTasksDeviceAppManagementTaskItemRequestBuilder) { + return NewDeviceAppManagementTasksDeviceAppManagementTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/device_app_management_tasks_item_update_status_request_builder.go b/deviceappmanagement/device_app_management_tasks_item_update_status_request_builder.go index db35547e100..40d1bfc9b59 100644 --- a/deviceappmanagement/device_app_management_tasks_item_update_status_request_builder.go +++ b/deviceappmanagement/device_app_management_tasks_item_update_status_request_builder.go @@ -62,3 +62,7 @@ func (m *DeviceAppManagementTasksItemUpdateStatusRequestBuilder) ToPostRequestIn } 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 *DeviceAppManagementTasksItemUpdateStatusRequestBuilder) WithUrl(rawUrl string)(*DeviceAppManagementTasksItemUpdateStatusRequestBuilder) { + return NewDeviceAppManagementTasksItemUpdateStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/device_app_management_tasks_request_builder.go b/deviceappmanagement/device_app_management_tasks_request_builder.go index 1346c46bcce..4aa879ac522 100644 --- a/deviceappmanagement/device_app_management_tasks_request_builder.go +++ b/deviceappmanagement/device_app_management_tasks_request_builder.go @@ -46,8 +46,8 @@ type DeviceAppManagementTasksRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceAppManagementTaskIdString provides operations to manage the deviceAppManagementTasks property of the microsoft.graph.deviceAppManagement entity. -func (m *DeviceAppManagementTasksRequestBuilder) ByDeviceAppManagementTaskIdString(deviceAppManagementTaskId string)(*DeviceAppManagementTasksDeviceAppManagementTaskItemRequestBuilder) { +// ByDeviceAppManagementTaskId provides operations to manage the deviceAppManagementTasks property of the microsoft.graph.deviceAppManagement entity. +func (m *DeviceAppManagementTasksRequestBuilder) ByDeviceAppManagementTaskId(deviceAppManagementTaskId string)(*DeviceAppManagementTasksDeviceAppManagementTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceAppManagementTasksRequestBuilder) ToPostRequestInformation(ctx co } 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 *DeviceAppManagementTasksRequestBuilder) WithUrl(rawUrl string)(*DeviceAppManagementTasksRequestBuilder) { + return NewDeviceAppManagementTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/enterprise_code_signing_certificates_count_request_builder.go b/deviceappmanagement/enterprise_code_signing_certificates_count_request_builder.go index 97ca52cd205..c74abcd58ef 100644 --- a/deviceappmanagement/enterprise_code_signing_certificates_count_request_builder.go +++ b/deviceappmanagement/enterprise_code_signing_certificates_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EnterpriseCodeSigningCertificatesCountRequestBuilder) ToGetRequestInfor } 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 *EnterpriseCodeSigningCertificatesCountRequestBuilder) WithUrl(rawUrl string)(*EnterpriseCodeSigningCertificatesCountRequestBuilder) { + return NewEnterpriseCodeSigningCertificatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/enterprise_code_signing_certificates_enterprise_code_signing_certificate_item_request_builder.go b/deviceappmanagement/enterprise_code_signing_certificates_enterprise_code_signing_certificate_item_request_builder.go index d16832942dd..e1c205447fd 100644 --- a/deviceappmanagement/enterprise_code_signing_certificates_enterprise_code_signing_certificate_item_request_builder.go +++ b/deviceappmanagement/enterprise_code_signing_certificates_enterprise_code_signing_certificate_item_request_builder.go @@ -153,3 +153,7 @@ func (m *EnterpriseCodeSigningCertificatesEnterpriseCodeSigningCertificateItemRe } 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 *EnterpriseCodeSigningCertificatesEnterpriseCodeSigningCertificateItemRequestBuilder) WithUrl(rawUrl string)(*EnterpriseCodeSigningCertificatesEnterpriseCodeSigningCertificateItemRequestBuilder) { + return NewEnterpriseCodeSigningCertificatesEnterpriseCodeSigningCertificateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/enterprise_code_signing_certificates_request_builder.go b/deviceappmanagement/enterprise_code_signing_certificates_request_builder.go index 91f8fdb93a3..0f1fc62e44e 100644 --- a/deviceappmanagement/enterprise_code_signing_certificates_request_builder.go +++ b/deviceappmanagement/enterprise_code_signing_certificates_request_builder.go @@ -46,8 +46,8 @@ type EnterpriseCodeSigningCertificatesRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEnterpriseCodeSigningCertificateIdString provides operations to manage the enterpriseCodeSigningCertificates property of the microsoft.graph.deviceAppManagement entity. -func (m *EnterpriseCodeSigningCertificatesRequestBuilder) ByEnterpriseCodeSigningCertificateIdString(enterpriseCodeSigningCertificateId string)(*EnterpriseCodeSigningCertificatesEnterpriseCodeSigningCertificateItemRequestBuilder) { +// ByEnterpriseCodeSigningCertificateId provides operations to manage the enterpriseCodeSigningCertificates property of the microsoft.graph.deviceAppManagement entity. +func (m *EnterpriseCodeSigningCertificatesRequestBuilder) ByEnterpriseCodeSigningCertificateId(enterpriseCodeSigningCertificateId string)(*EnterpriseCodeSigningCertificatesEnterpriseCodeSigningCertificateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EnterpriseCodeSigningCertificatesRequestBuilder) ToPostRequestInformati } 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 *EnterpriseCodeSigningCertificatesRequestBuilder) WithUrl(rawUrl string)(*EnterpriseCodeSigningCertificatesRequestBuilder) { + return NewEnterpriseCodeSigningCertificatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_count_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_count_request_builder.go index 41ba7df8c06..8680d4281c4 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_count_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IosLobAppProvisioningConfigurationsCountRequestBuilder) ToGetRequestInf } 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 *IosLobAppProvisioningConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*IosLobAppProvisioningConfigurationsCountRequestBuilder) { + return NewIosLobAppProvisioningConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_has_payload_links_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_has_payload_links_request_builder.go index 09a596eee19..25d064671dd 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_has_payload_links_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_has_payload_links_request_builder.go @@ -66,3 +66,7 @@ func (m *IosLobAppProvisioningConfigurationsHasPayloadLinksRequestBuilder) ToPos } 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 *IosLobAppProvisioningConfigurationsHasPayloadLinksRequestBuilder) WithUrl(rawUrl string)(*IosLobAppProvisioningConfigurationsHasPayloadLinksRequestBuilder) { + return NewIosLobAppProvisioningConfigurationsHasPayloadLinksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_ios_lob_app_provisioning_configuration_item_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_ios_lob_app_provisioning_configuration_item_request_builder.go index 3dd9b0ec043..141c8690be2 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_ios_lob_app_provisioning_configuration_item_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_ios_lob_app_provisioning_configuration_item_request_builder.go @@ -173,3 +173,7 @@ func (m *IosLobAppProvisioningConfigurationsIosLobAppProvisioningConfigurationIt func (m *IosLobAppProvisioningConfigurationsIosLobAppProvisioningConfigurationItemRequestBuilder) UserStatuses()(*IosLobAppProvisioningConfigurationsItemUserStatusesRequestBuilder) { return NewIosLobAppProvisioningConfigurationsItemUserStatusesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *IosLobAppProvisioningConfigurationsIosLobAppProvisioningConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*IosLobAppProvisioningConfigurationsIosLobAppProvisioningConfigurationItemRequestBuilder) { + return NewIosLobAppProvisioningConfigurationsIosLobAppProvisioningConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assign_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assign_request_builder.go index debcd7a512a..09d2f1ee0f5 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assign_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assign_request_builder.go @@ -62,3 +62,7 @@ func (m *IosLobAppProvisioningConfigurationsItemAssignRequestBuilder) ToPostRequ } 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 *IosLobAppProvisioningConfigurationsItemAssignRequestBuilder) WithUrl(rawUrl string)(*IosLobAppProvisioningConfigurationsItemAssignRequestBuilder) { + return NewIosLobAppProvisioningConfigurationsItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_count_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_count_request_builder.go index 1654fd32e60..24c9c72ed91 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_count_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IosLobAppProvisioningConfigurationsItemAssignmentsCountRequestBuilder) } 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 *IosLobAppProvisioningConfigurationsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*IosLobAppProvisioningConfigurationsItemAssignmentsCountRequestBuilder) { + return NewIosLobAppProvisioningConfigurationsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_ios_lob_app_provisioning_configuration_assignment_item_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_ios_lob_app_provisioning_configuration_assignment_item_request_builder.go index 6d015095fa0..c4b1bd69b73 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_ios_lob_app_provisioning_configuration_assignment_item_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_ios_lob_app_provisioning_configuration_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *IosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioning } 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 *IosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioningConfigurationAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*IosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioningConfigurationAssignmentItemRequestBuilder) { + return NewIosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioningConfigurationAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_request_builder.go index 9c46c159a47..333afdd1f63 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type IosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByIosLobAppProvisioningConfigurationAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.iosLobAppProvisioningConfiguration entity. -func (m *IosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilder) ByIosLobAppProvisioningConfigurationAssignmentIdString(iosLobAppProvisioningConfigurationAssignmentId string)(*IosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioningConfigurationAssignmentItemRequestBuilder) { +// ByIosLobAppProvisioningConfigurationAssignmentId provides operations to manage the assignments property of the microsoft.graph.iosLobAppProvisioningConfiguration entity. +func (m *IosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilder) ByIosLobAppProvisioningConfigurationAssignmentId(iosLobAppProvisioningConfigurationAssignmentId string)(*IosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioningConfigurationAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *IosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilder) ToPos } 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 *IosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*IosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilder) { + return NewIosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_device_statuses_count_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_device_statuses_count_request_builder.go index 7f937eed3c2..ff44b19c14e 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_device_statuses_count_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_device_statuses_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IosLobAppProvisioningConfigurationsItemDeviceStatusesCountRequestBuilde } 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 *IosLobAppProvisioningConfigurationsItemDeviceStatusesCountRequestBuilder) WithUrl(rawUrl string)(*IosLobAppProvisioningConfigurationsItemDeviceStatusesCountRequestBuilder) { + return NewIosLobAppProvisioningConfigurationsItemDeviceStatusesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_device_statuses_managed_device_mobile_app_configuration_device_status_item_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_device_statuses_managed_device_mobile_app_configuration_device_status_item_request_builder.go index f776016ce20..a314138a85a 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_device_statuses_managed_device_mobile_app_configuration_device_status_item_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_device_statuses_managed_device_mobile_app_configuration_device_status_item_request_builder.go @@ -153,3 +153,7 @@ func (m *IosLobAppProvisioningConfigurationsItemDeviceStatusesManagedDeviceMobil } 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 *IosLobAppProvisioningConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder) WithUrl(rawUrl string)(*IosLobAppProvisioningConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder) { + return NewIosLobAppProvisioningConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_device_statuses_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_device_statuses_request_builder.go index b2ed23d7722..da24eecdd00 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_device_statuses_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_device_statuses_request_builder.go @@ -46,8 +46,8 @@ type IosLobAppProvisioningConfigurationsItemDeviceStatusesRequestBuilderPostRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedDeviceMobileAppConfigurationDeviceStatusIdString provides operations to manage the deviceStatuses property of the microsoft.graph.iosLobAppProvisioningConfiguration entity. -func (m *IosLobAppProvisioningConfigurationsItemDeviceStatusesRequestBuilder) ByManagedDeviceMobileAppConfigurationDeviceStatusIdString(managedDeviceMobileAppConfigurationDeviceStatusId string)(*IosLobAppProvisioningConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder) { +// ByManagedDeviceMobileAppConfigurationDeviceStatusId provides operations to manage the deviceStatuses property of the microsoft.graph.iosLobAppProvisioningConfiguration entity. +func (m *IosLobAppProvisioningConfigurationsItemDeviceStatusesRequestBuilder) ByManagedDeviceMobileAppConfigurationDeviceStatusId(managedDeviceMobileAppConfigurationDeviceStatusId string)(*IosLobAppProvisioningConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *IosLobAppProvisioningConfigurationsItemDeviceStatusesRequestBuilder) To } 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 *IosLobAppProvisioningConfigurationsItemDeviceStatusesRequestBuilder) WithUrl(rawUrl string)(*IosLobAppProvisioningConfigurationsItemDeviceStatusesRequestBuilder) { + return NewIosLobAppProvisioningConfigurationsItemDeviceStatusesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_group_assignments_count_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_group_assignments_count_request_builder.go index b6cb66d5cab..97ae083dd5b 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_group_assignments_count_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_group_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IosLobAppProvisioningConfigurationsItemGroupAssignmentsCountRequestBuil } 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 *IosLobAppProvisioningConfigurationsItemGroupAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*IosLobAppProvisioningConfigurationsItemGroupAssignmentsCountRequestBuilder) { + return NewIosLobAppProvisioningConfigurationsItemGroupAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_group_assignments_mobile_app_provisioning_config_group_assignment_item_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_group_assignments_mobile_app_provisioning_config_group_assignment_item_request_builder.go index 065d73ac18a..0127253caa8 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_group_assignments_mobile_app_provisioning_config_group_assignment_item_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_group_assignments_mobile_app_provisioning_config_group_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *IosLobAppProvisioningConfigurationsItemGroupAssignmentsMobileAppProvisi } 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 *IosLobAppProvisioningConfigurationsItemGroupAssignmentsMobileAppProvisioningConfigGroupAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*IosLobAppProvisioningConfigurationsItemGroupAssignmentsMobileAppProvisioningConfigGroupAssignmentItemRequestBuilder) { + return NewIosLobAppProvisioningConfigurationsItemGroupAssignmentsMobileAppProvisioningConfigGroupAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_group_assignments_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_group_assignments_request_builder.go index 62b937d346c..61879496a3e 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_group_assignments_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_group_assignments_request_builder.go @@ -46,8 +46,8 @@ type IosLobAppProvisioningConfigurationsItemGroupAssignmentsRequestBuilderPostRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMobileAppProvisioningConfigGroupAssignmentIdString provides operations to manage the groupAssignments property of the microsoft.graph.iosLobAppProvisioningConfiguration entity. -func (m *IosLobAppProvisioningConfigurationsItemGroupAssignmentsRequestBuilder) ByMobileAppProvisioningConfigGroupAssignmentIdString(mobileAppProvisioningConfigGroupAssignmentId string)(*IosLobAppProvisioningConfigurationsItemGroupAssignmentsMobileAppProvisioningConfigGroupAssignmentItemRequestBuilder) { +// ByMobileAppProvisioningConfigGroupAssignmentId provides operations to manage the groupAssignments property of the microsoft.graph.iosLobAppProvisioningConfiguration entity. +func (m *IosLobAppProvisioningConfigurationsItemGroupAssignmentsRequestBuilder) ByMobileAppProvisioningConfigGroupAssignmentId(mobileAppProvisioningConfigGroupAssignmentId string)(*IosLobAppProvisioningConfigurationsItemGroupAssignmentsMobileAppProvisioningConfigGroupAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *IosLobAppProvisioningConfigurationsItemGroupAssignmentsRequestBuilder) } 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 *IosLobAppProvisioningConfigurationsItemGroupAssignmentsRequestBuilder) WithUrl(rawUrl string)(*IosLobAppProvisioningConfigurationsItemGroupAssignmentsRequestBuilder) { + return NewIosLobAppProvisioningConfigurationsItemGroupAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_user_statuses_count_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_user_statuses_count_request_builder.go index 72c979ffce4..099d1cb72ab 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_user_statuses_count_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_user_statuses_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IosLobAppProvisioningConfigurationsItemUserStatusesCountRequestBuilder) } 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 *IosLobAppProvisioningConfigurationsItemUserStatusesCountRequestBuilder) WithUrl(rawUrl string)(*IosLobAppProvisioningConfigurationsItemUserStatusesCountRequestBuilder) { + return NewIosLobAppProvisioningConfigurationsItemUserStatusesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_user_statuses_managed_device_mobile_app_configuration_user_status_item_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_user_statuses_managed_device_mobile_app_configuration_user_status_item_request_builder.go index 67f074ec8f8..a11af01be3d 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_user_statuses_managed_device_mobile_app_configuration_user_status_item_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_user_statuses_managed_device_mobile_app_configuration_user_status_item_request_builder.go @@ -153,3 +153,7 @@ func (m *IosLobAppProvisioningConfigurationsItemUserStatusesManagedDeviceMobileA } 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 *IosLobAppProvisioningConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder) WithUrl(rawUrl string)(*IosLobAppProvisioningConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder) { + return NewIosLobAppProvisioningConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_user_statuses_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_user_statuses_request_builder.go index 6a7b1872068..d642fc81c35 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_user_statuses_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_user_statuses_request_builder.go @@ -46,8 +46,8 @@ type IosLobAppProvisioningConfigurationsItemUserStatusesRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedDeviceMobileAppConfigurationUserStatusIdString provides operations to manage the userStatuses property of the microsoft.graph.iosLobAppProvisioningConfiguration entity. -func (m *IosLobAppProvisioningConfigurationsItemUserStatusesRequestBuilder) ByManagedDeviceMobileAppConfigurationUserStatusIdString(managedDeviceMobileAppConfigurationUserStatusId string)(*IosLobAppProvisioningConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder) { +// ByManagedDeviceMobileAppConfigurationUserStatusId provides operations to manage the userStatuses property of the microsoft.graph.iosLobAppProvisioningConfiguration entity. +func (m *IosLobAppProvisioningConfigurationsItemUserStatusesRequestBuilder) ByManagedDeviceMobileAppConfigurationUserStatusId(managedDeviceMobileAppConfigurationUserStatusId string)(*IosLobAppProvisioningConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *IosLobAppProvisioningConfigurationsItemUserStatusesRequestBuilder) ToPo } 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 *IosLobAppProvisioningConfigurationsItemUserStatusesRequestBuilder) WithUrl(rawUrl string)(*IosLobAppProvisioningConfigurationsItemUserStatusesRequestBuilder) { + return NewIosLobAppProvisioningConfigurationsItemUserStatusesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_request_builder.go index 82ff78f7063..9a44c7e4c31 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_request_builder.go @@ -46,8 +46,8 @@ type IosLobAppProvisioningConfigurationsRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByIosLobAppProvisioningConfigurationIdString provides operations to manage the iosLobAppProvisioningConfigurations property of the microsoft.graph.deviceAppManagement entity. -func (m *IosLobAppProvisioningConfigurationsRequestBuilder) ByIosLobAppProvisioningConfigurationIdString(iosLobAppProvisioningConfigurationId string)(*IosLobAppProvisioningConfigurationsIosLobAppProvisioningConfigurationItemRequestBuilder) { +// ByIosLobAppProvisioningConfigurationId provides operations to manage the iosLobAppProvisioningConfigurations property of the microsoft.graph.deviceAppManagement entity. +func (m *IosLobAppProvisioningConfigurationsRequestBuilder) ByIosLobAppProvisioningConfigurationId(iosLobAppProvisioningConfigurationId string)(*IosLobAppProvisioningConfigurationsIosLobAppProvisioningConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *IosLobAppProvisioningConfigurationsRequestBuilder) ToPostRequestInforma } 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 *IosLobAppProvisioningConfigurationsRequestBuilder) WithUrl(rawUrl string)(*IosLobAppProvisioningConfigurationsRequestBuilder) { + return NewIosLobAppProvisioningConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_managed_app_protections_count_request_builder.go b/deviceappmanagement/ios_managed_app_protections_count_request_builder.go index e8d0c439dac..8bd189c4b58 100644 --- a/deviceappmanagement/ios_managed_app_protections_count_request_builder.go +++ b/deviceappmanagement/ios_managed_app_protections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IosManagedAppProtectionsCountRequestBuilder) ToGetRequestInformation(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 *IosManagedAppProtectionsCountRequestBuilder) WithUrl(rawUrl string)(*IosManagedAppProtectionsCountRequestBuilder) { + return NewIosManagedAppProtectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_managed_app_protections_has_payload_links_request_builder.go b/deviceappmanagement/ios_managed_app_protections_has_payload_links_request_builder.go index 820fea69962..c8210001fa9 100644 --- a/deviceappmanagement/ios_managed_app_protections_has_payload_links_request_builder.go +++ b/deviceappmanagement/ios_managed_app_protections_has_payload_links_request_builder.go @@ -66,3 +66,7 @@ func (m *IosManagedAppProtectionsHasPayloadLinksRequestBuilder) ToPostRequestInf } 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 *IosManagedAppProtectionsHasPayloadLinksRequestBuilder) WithUrl(rawUrl string)(*IosManagedAppProtectionsHasPayloadLinksRequestBuilder) { + return NewIosManagedAppProtectionsHasPayloadLinksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_managed_app_protections_ios_managed_app_protection_item_request_builder.go b/deviceappmanagement/ios_managed_app_protections_ios_managed_app_protection_item_request_builder.go index 59441f138ae..0ec9c3e306f 100644 --- a/deviceappmanagement/ios_managed_app_protections_ios_managed_app_protection_item_request_builder.go +++ b/deviceappmanagement/ios_managed_app_protections_ios_managed_app_protection_item_request_builder.go @@ -165,3 +165,7 @@ func (m *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilder) ToPa } 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 *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilder) WithUrl(rawUrl string)(*IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilder) { + return NewIosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_managed_app_protections_item_apps_count_request_builder.go b/deviceappmanagement/ios_managed_app_protections_item_apps_count_request_builder.go index f3ebdfc38a8..d195d9aa40d 100644 --- a/deviceappmanagement/ios_managed_app_protections_item_apps_count_request_builder.go +++ b/deviceappmanagement/ios_managed_app_protections_item_apps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IosManagedAppProtectionsItemAppsCountRequestBuilder) ToGetRequestInform } 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 *IosManagedAppProtectionsItemAppsCountRequestBuilder) WithUrl(rawUrl string)(*IosManagedAppProtectionsItemAppsCountRequestBuilder) { + return NewIosManagedAppProtectionsItemAppsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go b/deviceappmanagement/ios_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go index 65b0d9fc201..54b67810a06 100644 --- a/deviceappmanagement/ios_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go +++ b/deviceappmanagement/ios_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go @@ -153,3 +153,7 @@ func (m *IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) 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 *IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) WithUrl(rawUrl string)(*IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) { + return NewIosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_managed_app_protections_item_apps_request_builder.go b/deviceappmanagement/ios_managed_app_protections_item_apps_request_builder.go index 9f6c95ae9e6..3949da17dd3 100644 --- a/deviceappmanagement/ios_managed_app_protections_item_apps_request_builder.go +++ b/deviceappmanagement/ios_managed_app_protections_item_apps_request_builder.go @@ -46,8 +46,8 @@ type IosManagedAppProtectionsItemAppsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedMobileAppIdString provides operations to manage the apps property of the microsoft.graph.iosManagedAppProtection entity. -func (m *IosManagedAppProtectionsItemAppsRequestBuilder) ByManagedMobileAppIdString(managedMobileAppId string)(*IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) { +// ByManagedMobileAppId provides operations to manage the apps property of the microsoft.graph.iosManagedAppProtection entity. +func (m *IosManagedAppProtectionsItemAppsRequestBuilder) ByManagedMobileAppId(managedMobileAppId string)(*IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *IosManagedAppProtectionsItemAppsRequestBuilder) ToPostRequestInformatio } 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 *IosManagedAppProtectionsItemAppsRequestBuilder) WithUrl(rawUrl string)(*IosManagedAppProtectionsItemAppsRequestBuilder) { + return NewIosManagedAppProtectionsItemAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_managed_app_protections_item_assignments_count_request_builder.go b/deviceappmanagement/ios_managed_app_protections_item_assignments_count_request_builder.go index d6d0232d661..42fb83e201a 100644 --- a/deviceappmanagement/ios_managed_app_protections_item_assignments_count_request_builder.go +++ b/deviceappmanagement/ios_managed_app_protections_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IosManagedAppProtectionsItemAssignmentsCountRequestBuilder) ToGetReques } 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 *IosManagedAppProtectionsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*IosManagedAppProtectionsItemAssignmentsCountRequestBuilder) { + return NewIosManagedAppProtectionsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_managed_app_protections_item_assignments_request_builder.go b/deviceappmanagement/ios_managed_app_protections_item_assignments_request_builder.go index 9cff3166c82..23eeaff3b22 100644 --- a/deviceappmanagement/ios_managed_app_protections_item_assignments_request_builder.go +++ b/deviceappmanagement/ios_managed_app_protections_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type IosManagedAppProtectionsItemAssignmentsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTargetedManagedAppPolicyAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.targetedManagedAppProtection entity. -func (m *IosManagedAppProtectionsItemAssignmentsRequestBuilder) ByTargetedManagedAppPolicyAssignmentIdString(targetedManagedAppPolicyAssignmentId string)(*IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) { +// ByTargetedManagedAppPolicyAssignmentId provides operations to manage the assignments property of the microsoft.graph.targetedManagedAppProtection entity. +func (m *IosManagedAppProtectionsItemAssignmentsRequestBuilder) ByTargetedManagedAppPolicyAssignmentId(targetedManagedAppPolicyAssignmentId string)(*IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *IosManagedAppProtectionsItemAssignmentsRequestBuilder) ToPostRequestInf } 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 *IosManagedAppProtectionsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*IosManagedAppProtectionsItemAssignmentsRequestBuilder) { + return NewIosManagedAppProtectionsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go b/deviceappmanagement/ios_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go index 8e7d3b8b3db..1d999a7f5ec 100644 --- a/deviceappmanagement/ios_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go +++ b/deviceappmanagement/ios_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignme } 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 *IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) { + return NewIosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_managed_app_protections_item_deployment_summary_request_builder.go b/deviceappmanagement/ios_managed_app_protections_item_deployment_summary_request_builder.go index 0de56e9a1e0..a091eb8f18c 100644 --- a/deviceappmanagement/ios_managed_app_protections_item_deployment_summary_request_builder.go +++ b/deviceappmanagement/ios_managed_app_protections_item_deployment_summary_request_builder.go @@ -153,3 +153,7 @@ func (m *IosManagedAppProtectionsItemDeploymentSummaryRequestBuilder) ToPatchReq } 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 *IosManagedAppProtectionsItemDeploymentSummaryRequestBuilder) WithUrl(rawUrl string)(*IosManagedAppProtectionsItemDeploymentSummaryRequestBuilder) { + return NewIosManagedAppProtectionsItemDeploymentSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/ios_managed_app_protections_request_builder.go b/deviceappmanagement/ios_managed_app_protections_request_builder.go index 16153291ac9..f04a91142c6 100644 --- a/deviceappmanagement/ios_managed_app_protections_request_builder.go +++ b/deviceappmanagement/ios_managed_app_protections_request_builder.go @@ -46,8 +46,8 @@ type IosManagedAppProtectionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByIosManagedAppProtectionIdString provides operations to manage the iosManagedAppProtections property of the microsoft.graph.deviceAppManagement entity. -func (m *IosManagedAppProtectionsRequestBuilder) ByIosManagedAppProtectionIdString(iosManagedAppProtectionId string)(*IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilder) { +// ByIosManagedAppProtectionId provides operations to manage the iosManagedAppProtections property of the microsoft.graph.deviceAppManagement entity. +func (m *IosManagedAppProtectionsRequestBuilder) ByIosManagedAppProtectionId(iosManagedAppProtectionId string)(*IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *IosManagedAppProtectionsRequestBuilder) ToPostRequestInformation(ctx co } 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 *IosManagedAppProtectionsRequestBuilder) WithUrl(rawUrl string)(*IosManagedAppProtectionsRequestBuilder) { + return NewIosManagedAppProtectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_app_policies_count_request_builder.go b/deviceappmanagement/managed_app_policies_count_request_builder.go index 5de13b284a8..e8106b49153 100644 --- a/deviceappmanagement/managed_app_policies_count_request_builder.go +++ b/deviceappmanagement/managed_app_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedAppPoliciesCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ManagedAppPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedAppPoliciesCountRequestBuilder) { + return NewManagedAppPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go b/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go index c5dfbd959cd..6bc11cd06d3 100644 --- a/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go +++ b/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go @@ -62,3 +62,7 @@ func (m *ManagedAppPoliciesItemTargetAppsRequestBuilder) ToPostRequestInformatio } 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 *ManagedAppPoliciesItemTargetAppsRequestBuilder) WithUrl(rawUrl string)(*ManagedAppPoliciesItemTargetAppsRequestBuilder) { + return NewManagedAppPoliciesItemTargetAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go b/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go index f01fc3e203f..4831553faad 100644 --- a/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go +++ b/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) ToPatchRequestInf } 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 *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) WithUrl(rawUrl string)(*ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) { + return NewManagedAppPoliciesManagedAppPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_app_policies_request_builder.go b/deviceappmanagement/managed_app_policies_request_builder.go index c9b80f075a0..a0f56678d10 100644 --- a/deviceappmanagement/managed_app_policies_request_builder.go +++ b/deviceappmanagement/managed_app_policies_request_builder.go @@ -46,8 +46,8 @@ type ManagedAppPoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedAppPolicyIdString provides operations to manage the managedAppPolicies property of the microsoft.graph.deviceAppManagement entity. -func (m *ManagedAppPoliciesRequestBuilder) ByManagedAppPolicyIdString(managedAppPolicyId string)(*ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) { +// ByManagedAppPolicyId provides operations to manage the managedAppPolicies property of the microsoft.graph.deviceAppManagement entity. +func (m *ManagedAppPoliciesRequestBuilder) ByManagedAppPolicyId(managedAppPolicyId string)(*ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedAppPoliciesRequestBuilder) 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 *ManagedAppPoliciesRequestBuilder) WithUrl(rawUrl string)(*ManagedAppPoliciesRequestBuilder) { + return NewManagedAppPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_app_registrations_count_request_builder.go b/deviceappmanagement/managed_app_registrations_count_request_builder.go index 1228fa2ab67..db5ddd3b0f2 100644 --- a/deviceappmanagement/managed_app_registrations_count_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedAppRegistrationsCountRequestBuilder) ToGetRequestInformation(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 *ManagedAppRegistrationsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedAppRegistrationsCountRequestBuilder) { + return NewManagedAppRegistrationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_app_registrations_get_user_ids_with_flagged_app_registration_request_builder.go b/deviceappmanagement/managed_app_registrations_get_user_ids_with_flagged_app_registration_request_builder.go index 23c286b9119..074bba2ff72 100644 --- a/deviceappmanagement/managed_app_registrations_get_user_ids_with_flagged_app_registration_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_get_user_ids_with_flagged_app_registration_request_builder.go @@ -80,3 +80,7 @@ func (m *ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationRequestBuild } 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 *ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationRequestBuilder) WithUrl(rawUrl string)(*ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationRequestBuilder) { + return NewManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_app_registrations_item_applied_policies_count_request_builder.go b/deviceappmanagement/managed_app_registrations_item_applied_policies_count_request_builder.go index 87b2a3187dc..b11f243a321 100644 --- a/deviceappmanagement/managed_app_registrations_item_applied_policies_count_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_applied_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedAppRegistrationsItemAppliedPoliciesCountRequestBuilder) ToGetReq } 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 *ManagedAppRegistrationsItemAppliedPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedAppRegistrationsItemAppliedPoliciesCountRequestBuilder) { + return NewManagedAppRegistrationsItemAppliedPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go b/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go index 2fe97103e92..b532e0c9e06 100644 --- a/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go @@ -62,3 +62,7 @@ func (m *ManagedAppRegistrationsItemAppliedPoliciesItemTargetAppsRequestBuilder) } 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 *ManagedAppRegistrationsItemAppliedPoliciesItemTargetAppsRequestBuilder) WithUrl(rawUrl string)(*ManagedAppRegistrationsItemAppliedPoliciesItemTargetAppsRequestBuilder) { + return NewManagedAppRegistrationsItemAppliedPoliciesItemTargetAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_app_registrations_item_applied_policies_managed_app_policy_item_request_builder.go b/deviceappmanagement/managed_app_registrations_item_applied_policies_managed_app_policy_item_request_builder.go index 97ed66aa767..f187da6c115 100644 --- a/deviceappmanagement/managed_app_registrations_item_applied_policies_managed_app_policy_item_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_applied_policies_managed_app_policy_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ManagedAppRegistrationsItemAppliedPoliciesManagedAppPolicyItemRequestBu } 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 *ManagedAppRegistrationsItemAppliedPoliciesManagedAppPolicyItemRequestBuilder) WithUrl(rawUrl string)(*ManagedAppRegistrationsItemAppliedPoliciesManagedAppPolicyItemRequestBuilder) { + return NewManagedAppRegistrationsItemAppliedPoliciesManagedAppPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_app_registrations_item_applied_policies_request_builder.go b/deviceappmanagement/managed_app_registrations_item_applied_policies_request_builder.go index f4912b988cf..e5cdcd25597 100644 --- a/deviceappmanagement/managed_app_registrations_item_applied_policies_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_applied_policies_request_builder.go @@ -46,8 +46,8 @@ type ManagedAppRegistrationsItemAppliedPoliciesRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedAppPolicyIdString provides operations to manage the appliedPolicies property of the microsoft.graph.managedAppRegistration entity. -func (m *ManagedAppRegistrationsItemAppliedPoliciesRequestBuilder) ByManagedAppPolicyIdString(managedAppPolicyId string)(*ManagedAppRegistrationsItemAppliedPoliciesManagedAppPolicyItemRequestBuilder) { +// ByManagedAppPolicyId provides operations to manage the appliedPolicies property of the microsoft.graph.managedAppRegistration entity. +func (m *ManagedAppRegistrationsItemAppliedPoliciesRequestBuilder) ByManagedAppPolicyId(managedAppPolicyId string)(*ManagedAppRegistrationsItemAppliedPoliciesManagedAppPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedAppRegistrationsItemAppliedPoliciesRequestBuilder) ToPostRequest } 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 *ManagedAppRegistrationsItemAppliedPoliciesRequestBuilder) WithUrl(rawUrl string)(*ManagedAppRegistrationsItemAppliedPoliciesRequestBuilder) { + return NewManagedAppRegistrationsItemAppliedPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_app_registrations_item_intended_policies_count_request_builder.go b/deviceappmanagement/managed_app_registrations_item_intended_policies_count_request_builder.go index b04ffee8a7f..705164d77a9 100644 --- a/deviceappmanagement/managed_app_registrations_item_intended_policies_count_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_intended_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedAppRegistrationsItemIntendedPoliciesCountRequestBuilder) ToGetRe } 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 *ManagedAppRegistrationsItemIntendedPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedAppRegistrationsItemIntendedPoliciesCountRequestBuilder) { + return NewManagedAppRegistrationsItemIntendedPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_app_registrations_item_intended_policies_item_target_apps_request_builder.go b/deviceappmanagement/managed_app_registrations_item_intended_policies_item_target_apps_request_builder.go index 760cfa7c8ac..338d37fd854 100644 --- a/deviceappmanagement/managed_app_registrations_item_intended_policies_item_target_apps_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_intended_policies_item_target_apps_request_builder.go @@ -62,3 +62,7 @@ func (m *ManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsRequestBuilder } 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 *ManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsRequestBuilder) WithUrl(rawUrl string)(*ManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsRequestBuilder) { + return NewManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_app_registrations_item_intended_policies_managed_app_policy_item_request_builder.go b/deviceappmanagement/managed_app_registrations_item_intended_policies_managed_app_policy_item_request_builder.go index 0e6ebe38dbe..0ea028f0b69 100644 --- a/deviceappmanagement/managed_app_registrations_item_intended_policies_managed_app_policy_item_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_intended_policies_managed_app_policy_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ManagedAppRegistrationsItemIntendedPoliciesManagedAppPolicyItemRequestB } 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 *ManagedAppRegistrationsItemIntendedPoliciesManagedAppPolicyItemRequestBuilder) WithUrl(rawUrl string)(*ManagedAppRegistrationsItemIntendedPoliciesManagedAppPolicyItemRequestBuilder) { + return NewManagedAppRegistrationsItemIntendedPoliciesManagedAppPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_app_registrations_item_intended_policies_request_builder.go b/deviceappmanagement/managed_app_registrations_item_intended_policies_request_builder.go index 821095f32e0..c8c23bf0dd5 100644 --- a/deviceappmanagement/managed_app_registrations_item_intended_policies_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_intended_policies_request_builder.go @@ -46,8 +46,8 @@ type ManagedAppRegistrationsItemIntendedPoliciesRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedAppPolicyIdString provides operations to manage the intendedPolicies property of the microsoft.graph.managedAppRegistration entity. -func (m *ManagedAppRegistrationsItemIntendedPoliciesRequestBuilder) ByManagedAppPolicyIdString(managedAppPolicyId string)(*ManagedAppRegistrationsItemIntendedPoliciesManagedAppPolicyItemRequestBuilder) { +// ByManagedAppPolicyId provides operations to manage the intendedPolicies property of the microsoft.graph.managedAppRegistration entity. +func (m *ManagedAppRegistrationsItemIntendedPoliciesRequestBuilder) ByManagedAppPolicyId(managedAppPolicyId string)(*ManagedAppRegistrationsItemIntendedPoliciesManagedAppPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedAppRegistrationsItemIntendedPoliciesRequestBuilder) ToPostReques } 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 *ManagedAppRegistrationsItemIntendedPoliciesRequestBuilder) WithUrl(rawUrl string)(*ManagedAppRegistrationsItemIntendedPoliciesRequestBuilder) { + return NewManagedAppRegistrationsItemIntendedPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_app_registrations_item_operations_count_request_builder.go b/deviceappmanagement/managed_app_registrations_item_operations_count_request_builder.go index 4eca22bd2b4..253269cc63f 100644 --- a/deviceappmanagement/managed_app_registrations_item_operations_count_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedAppRegistrationsItemOperationsCountRequestBuilder) ToGetRequestI } 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 *ManagedAppRegistrationsItemOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedAppRegistrationsItemOperationsCountRequestBuilder) { + return NewManagedAppRegistrationsItemOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_app_registrations_item_operations_managed_app_operation_item_request_builder.go b/deviceappmanagement/managed_app_registrations_item_operations_managed_app_operation_item_request_builder.go index 17586477c89..5c54c385151 100644 --- a/deviceappmanagement/managed_app_registrations_item_operations_managed_app_operation_item_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_operations_managed_app_operation_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuil } 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 *ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuilder) WithUrl(rawUrl string)(*ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuilder) { + return NewManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_app_registrations_item_operations_request_builder.go b/deviceappmanagement/managed_app_registrations_item_operations_request_builder.go index bacd25c0ec8..e6bf7d4d742 100644 --- a/deviceappmanagement/managed_app_registrations_item_operations_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_operations_request_builder.go @@ -46,8 +46,8 @@ type ManagedAppRegistrationsItemOperationsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedAppOperationIdString provides operations to manage the operations property of the microsoft.graph.managedAppRegistration entity. -func (m *ManagedAppRegistrationsItemOperationsRequestBuilder) ByManagedAppOperationIdString(managedAppOperationId string)(*ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuilder) { +// ByManagedAppOperationId provides operations to manage the operations property of the microsoft.graph.managedAppRegistration entity. +func (m *ManagedAppRegistrationsItemOperationsRequestBuilder) ByManagedAppOperationId(managedAppOperationId string)(*ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedAppRegistrationsItemOperationsRequestBuilder) ToPostRequestInfor } 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 *ManagedAppRegistrationsItemOperationsRequestBuilder) WithUrl(rawUrl string)(*ManagedAppRegistrationsItemOperationsRequestBuilder) { + return NewManagedAppRegistrationsItemOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go b/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go index 09cbb12247c..7a7a16c5245 100644 --- a/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) ToPatc } 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 *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) WithUrl(rawUrl string)(*ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) { + return NewManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_app_registrations_request_builder.go b/deviceappmanagement/managed_app_registrations_request_builder.go index a57cb26ecfb..9cdcb9188f5 100644 --- a/deviceappmanagement/managed_app_registrations_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_request_builder.go @@ -46,8 +46,8 @@ type ManagedAppRegistrationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedAppRegistrationIdString provides operations to manage the managedAppRegistrations property of the microsoft.graph.deviceAppManagement entity. -func (m *ManagedAppRegistrationsRequestBuilder) ByManagedAppRegistrationIdString(managedAppRegistrationId string)(*ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) { +// ByManagedAppRegistrationId provides operations to manage the managedAppRegistrations property of the microsoft.graph.deviceAppManagement entity. +func (m *ManagedAppRegistrationsRequestBuilder) ByManagedAppRegistrationId(managedAppRegistrationId string)(*ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ManagedAppRegistrationsRequestBuilder) ToPostRequestInformation(ctx con } 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 *ManagedAppRegistrationsRequestBuilder) WithUrl(rawUrl string)(*ManagedAppRegistrationsRequestBuilder) { + return NewManagedAppRegistrationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_app_statuses_count_request_builder.go b/deviceappmanagement/managed_app_statuses_count_request_builder.go index 1a72aabd99c..08bcf76a927 100644 --- a/deviceappmanagement/managed_app_statuses_count_request_builder.go +++ b/deviceappmanagement/managed_app_statuses_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedAppStatusesCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ManagedAppStatusesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedAppStatusesCountRequestBuilder) { + return NewManagedAppStatusesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go b/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go index f143dd009f8..9e4e143e126 100644 --- a/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go +++ b/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) ToPatchRequestInf } 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 *ManagedAppStatusesManagedAppStatusItemRequestBuilder) WithUrl(rawUrl string)(*ManagedAppStatusesManagedAppStatusItemRequestBuilder) { + return NewManagedAppStatusesManagedAppStatusItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_app_statuses_request_builder.go b/deviceappmanagement/managed_app_statuses_request_builder.go index 4955337b54d..451427fbe1b 100644 --- a/deviceappmanagement/managed_app_statuses_request_builder.go +++ b/deviceappmanagement/managed_app_statuses_request_builder.go @@ -46,8 +46,8 @@ type ManagedAppStatusesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedAppStatusIdString provides operations to manage the managedAppStatuses property of the microsoft.graph.deviceAppManagement entity. -func (m *ManagedAppStatusesRequestBuilder) ByManagedAppStatusIdString(managedAppStatusId string)(*ManagedAppStatusesManagedAppStatusItemRequestBuilder) { +// ByManagedAppStatusId provides operations to manage the managedAppStatuses property of the microsoft.graph.deviceAppManagement entity. +func (m *ManagedAppStatusesRequestBuilder) ByManagedAppStatusId(managedAppStatusId string)(*ManagedAppStatusesManagedAppStatusItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedAppStatusesRequestBuilder) 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 *ManagedAppStatusesRequestBuilder) WithUrl(rawUrl string)(*ManagedAppStatusesRequestBuilder) { + return NewManagedAppStatusesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_book_categories_count_request_builder.go b/deviceappmanagement/managed_e_book_categories_count_request_builder.go index 59e26dce800..82614f0b2cb 100644 --- a/deviceappmanagement/managed_e_book_categories_count_request_builder.go +++ b/deviceappmanagement/managed_e_book_categories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedEBookCategoriesCountRequestBuilder) ToGetRequestInformation(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 *ManagedEBookCategoriesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedEBookCategoriesCountRequestBuilder) { + return NewManagedEBookCategoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_book_categories_managed_e_book_category_item_request_builder.go b/deviceappmanagement/managed_e_book_categories_managed_e_book_category_item_request_builder.go index 3463d9b0fdd..b0e4479da40 100644 --- a/deviceappmanagement/managed_e_book_categories_managed_e_book_category_item_request_builder.go +++ b/deviceappmanagement/managed_e_book_categories_managed_e_book_category_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedEBookCategoriesManagedEBookCategoryItemRequestBuilder) ToPatchRe } 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 *ManagedEBookCategoriesManagedEBookCategoryItemRequestBuilder) WithUrl(rawUrl string)(*ManagedEBookCategoriesManagedEBookCategoryItemRequestBuilder) { + return NewManagedEBookCategoriesManagedEBookCategoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_book_categories_request_builder.go b/deviceappmanagement/managed_e_book_categories_request_builder.go index 78767d9752e..d7decea9dd5 100644 --- a/deviceappmanagement/managed_e_book_categories_request_builder.go +++ b/deviceappmanagement/managed_e_book_categories_request_builder.go @@ -46,8 +46,8 @@ type ManagedEBookCategoriesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedEBookCategoryIdString provides operations to manage the managedEBookCategories property of the microsoft.graph.deviceAppManagement entity. -func (m *ManagedEBookCategoriesRequestBuilder) ByManagedEBookCategoryIdString(managedEBookCategoryId string)(*ManagedEBookCategoriesManagedEBookCategoryItemRequestBuilder) { +// ByManagedEBookCategoryId provides operations to manage the managedEBookCategories property of the microsoft.graph.deviceAppManagement entity. +func (m *ManagedEBookCategoriesRequestBuilder) ByManagedEBookCategoryId(managedEBookCategoryId string)(*ManagedEBookCategoriesManagedEBookCategoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedEBookCategoriesRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ManagedEBookCategoriesRequestBuilder) WithUrl(rawUrl string)(*ManagedEBookCategoriesRequestBuilder) { + return NewManagedEBookCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_books_count_request_builder.go b/deviceappmanagement/managed_e_books_count_request_builder.go index 241ca0dcbcd..58b8d4bb7c0 100644 --- a/deviceappmanagement/managed_e_books_count_request_builder.go +++ b/deviceappmanagement/managed_e_books_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedEBooksCountRequestBuilder) 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 *ManagedEBooksCountRequestBuilder) WithUrl(rawUrl string)(*ManagedEBooksCountRequestBuilder) { + return NewManagedEBooksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_books_item_assign_request_builder.go b/deviceappmanagement/managed_e_books_item_assign_request_builder.go index 7ca03dd66b0..0aa54d6ddfd 100644 --- a/deviceappmanagement/managed_e_books_item_assign_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_assign_request_builder.go @@ -62,3 +62,7 @@ func (m *ManagedEBooksItemAssignRequestBuilder) ToPostRequestInformation(ctx con } 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 *ManagedEBooksItemAssignRequestBuilder) WithUrl(rawUrl string)(*ManagedEBooksItemAssignRequestBuilder) { + return NewManagedEBooksItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_books_item_assignments_count_request_builder.go b/deviceappmanagement/managed_e_books_item_assignments_count_request_builder.go index 6e8bb98e78f..7779cd16f20 100644 --- a/deviceappmanagement/managed_e_books_item_assignments_count_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedEBooksItemAssignmentsCountRequestBuilder) 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 *ManagedEBooksItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedEBooksItemAssignmentsCountRequestBuilder) { + return NewManagedEBooksItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go b/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go index 4561b5e335c..71b4aa35ed9 100644 --- a/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) T } 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 *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) { + return NewManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_books_item_assignments_request_builder.go b/deviceappmanagement/managed_e_books_item_assignments_request_builder.go index 6bb38c85ca7..d7b7169e21e 100644 --- a/deviceappmanagement/managed_e_books_item_assignments_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type ManagedEBooksItemAssignmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedEBookAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.managedEBook entity. -func (m *ManagedEBooksItemAssignmentsRequestBuilder) ByManagedEBookAssignmentIdString(managedEBookAssignmentId string)(*ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) { +// ByManagedEBookAssignmentId provides operations to manage the assignments property of the microsoft.graph.managedEBook entity. +func (m *ManagedEBooksItemAssignmentsRequestBuilder) ByManagedEBookAssignmentId(managedEBookAssignmentId string)(*ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedEBooksItemAssignmentsRequestBuilder) 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 *ManagedEBooksItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*ManagedEBooksItemAssignmentsRequestBuilder) { + return NewManagedEBooksItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_books_item_categories_count_request_builder.go b/deviceappmanagement/managed_e_books_item_categories_count_request_builder.go index 2c0c8675a1c..1764bdf6022 100644 --- a/deviceappmanagement/managed_e_books_item_categories_count_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_categories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedEBooksItemCategoriesCountRequestBuilder) 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 *ManagedEBooksItemCategoriesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedEBooksItemCategoriesCountRequestBuilder) { + return NewManagedEBooksItemCategoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_books_item_categories_managed_e_book_category_item_request_builder.go b/deviceappmanagement/managed_e_books_item_categories_managed_e_book_category_item_request_builder.go index 40a65f44a56..b9ddd01254a 100644 --- a/deviceappmanagement/managed_e_books_item_categories_managed_e_book_category_item_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_categories_managed_e_book_category_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ManagedEBooksItemCategoriesManagedEBookCategoryItemRequestBuilder) ToGe } 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 *ManagedEBooksItemCategoriesManagedEBookCategoryItemRequestBuilder) WithUrl(rawUrl string)(*ManagedEBooksItemCategoriesManagedEBookCategoryItemRequestBuilder) { + return NewManagedEBooksItemCategoriesManagedEBookCategoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_books_item_categories_request_builder.go b/deviceappmanagement/managed_e_books_item_categories_request_builder.go index f1a6333b3ca..35c59abd6c3 100644 --- a/deviceappmanagement/managed_e_books_item_categories_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_categories_request_builder.go @@ -39,8 +39,8 @@ type ManagedEBooksItemCategoriesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ManagedEBooksItemCategoriesRequestBuilderGetQueryParameters } -// ByManagedEBookCategoryIdString provides operations to manage the categories property of the microsoft.graph.managedEBook entity. -func (m *ManagedEBooksItemCategoriesRequestBuilder) ByManagedEBookCategoryIdString(managedEBookCategoryId string)(*ManagedEBooksItemCategoriesManagedEBookCategoryItemRequestBuilder) { +// ByManagedEBookCategoryId provides operations to manage the categories property of the microsoft.graph.managedEBook entity. +func (m *ManagedEBooksItemCategoriesRequestBuilder) ByManagedEBookCategoryId(managedEBookCategoryId string)(*ManagedEBooksItemCategoriesManagedEBookCategoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ManagedEBooksItemCategoriesRequestBuilder) ToGetRequestInformation(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 *ManagedEBooksItemCategoriesRequestBuilder) WithUrl(rawUrl string)(*ManagedEBooksItemCategoriesRequestBuilder) { + return NewManagedEBooksItemCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_books_item_device_states_count_request_builder.go b/deviceappmanagement/managed_e_books_item_device_states_count_request_builder.go index 4e3cafe3f8b..5105d7eddc7 100644 --- a/deviceappmanagement/managed_e_books_item_device_states_count_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_device_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedEBooksItemDeviceStatesCountRequestBuilder) ToGetRequestInformati } 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 *ManagedEBooksItemDeviceStatesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedEBooksItemDeviceStatesCountRequestBuilder) { + return NewManagedEBooksItemDeviceStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_books_item_device_states_device_install_state_item_request_builder.go b/deviceappmanagement/managed_e_books_item_device_states_device_install_state_item_request_builder.go index 9e30a0609b4..794f8353fcd 100644 --- a/deviceappmanagement/managed_e_books_item_device_states_device_install_state_item_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_device_states_device_install_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilder) ToPa } 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 *ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilder) WithUrl(rawUrl string)(*ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilder) { + return NewManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_books_item_device_states_request_builder.go b/deviceappmanagement/managed_e_books_item_device_states_request_builder.go index 872567ab7f3..7aab117d0cd 100644 --- a/deviceappmanagement/managed_e_books_item_device_states_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_device_states_request_builder.go @@ -46,8 +46,8 @@ type ManagedEBooksItemDeviceStatesRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceInstallStateIdString provides operations to manage the deviceStates property of the microsoft.graph.managedEBook entity. -func (m *ManagedEBooksItemDeviceStatesRequestBuilder) ByDeviceInstallStateIdString(deviceInstallStateId string)(*ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilder) { +// ByDeviceInstallStateId provides operations to manage the deviceStates property of the microsoft.graph.managedEBook entity. +func (m *ManagedEBooksItemDeviceStatesRequestBuilder) ByDeviceInstallStateId(deviceInstallStateId string)(*ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedEBooksItemDeviceStatesRequestBuilder) ToPostRequestInformation(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 *ManagedEBooksItemDeviceStatesRequestBuilder) WithUrl(rawUrl string)(*ManagedEBooksItemDeviceStatesRequestBuilder) { + return NewManagedEBooksItemDeviceStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_books_item_install_summary_request_builder.go b/deviceappmanagement/managed_e_books_item_install_summary_request_builder.go index dae911bb62b..ec134462e5b 100644 --- a/deviceappmanagement/managed_e_books_item_install_summary_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_install_summary_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedEBooksItemInstallSummaryRequestBuilder) ToPatchRequestInformatio } 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 *ManagedEBooksItemInstallSummaryRequestBuilder) WithUrl(rawUrl string)(*ManagedEBooksItemInstallSummaryRequestBuilder) { + return NewManagedEBooksItemInstallSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_books_item_user_state_summary_count_request_builder.go b/deviceappmanagement/managed_e_books_item_user_state_summary_count_request_builder.go index e42f02e0603..a317cdc69db 100644 --- a/deviceappmanagement/managed_e_books_item_user_state_summary_count_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_user_state_summary_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedEBooksItemUserStateSummaryCountRequestBuilder) ToGetRequestInfor } 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 *ManagedEBooksItemUserStateSummaryCountRequestBuilder) WithUrl(rawUrl string)(*ManagedEBooksItemUserStateSummaryCountRequestBuilder) { + return NewManagedEBooksItemUserStateSummaryCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_books_item_user_state_summary_item_device_states_count_request_builder.go b/deviceappmanagement/managed_e_books_item_user_state_summary_item_device_states_count_request_builder.go index 401e9273029..4a889364ace 100644 --- a/deviceappmanagement/managed_e_books_item_user_state_summary_item_device_states_count_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_user_state_summary_item_device_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedEBooksItemUserStateSummaryItemDeviceStatesCountRequestBuilder) T } 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 *ManagedEBooksItemUserStateSummaryItemDeviceStatesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedEBooksItemUserStateSummaryItemDeviceStatesCountRequestBuilder) { + return NewManagedEBooksItemUserStateSummaryItemDeviceStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_books_item_user_state_summary_item_device_states_device_install_state_item_request_builder.go b/deviceappmanagement/managed_e_books_item_user_state_summary_item_device_states_device_install_state_item_request_builder.go index e853f4b1d36..66a62aff636 100644 --- a/deviceappmanagement/managed_e_books_item_user_state_summary_item_device_states_device_install_state_item_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_user_state_summary_item_device_states_device_install_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedEBooksItemUserStateSummaryItemDeviceStatesDeviceInstallStateItem } 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 *ManagedEBooksItemUserStateSummaryItemDeviceStatesDeviceInstallStateItemRequestBuilder) WithUrl(rawUrl string)(*ManagedEBooksItemUserStateSummaryItemDeviceStatesDeviceInstallStateItemRequestBuilder) { + return NewManagedEBooksItemUserStateSummaryItemDeviceStatesDeviceInstallStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_books_item_user_state_summary_item_device_states_request_builder.go b/deviceappmanagement/managed_e_books_item_user_state_summary_item_device_states_request_builder.go index 2080725edab..ee67787bd23 100644 --- a/deviceappmanagement/managed_e_books_item_user_state_summary_item_device_states_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_user_state_summary_item_device_states_request_builder.go @@ -46,8 +46,8 @@ type ManagedEBooksItemUserStateSummaryItemDeviceStatesRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceInstallStateIdString provides operations to manage the deviceStates property of the microsoft.graph.userInstallStateSummary entity. -func (m *ManagedEBooksItemUserStateSummaryItemDeviceStatesRequestBuilder) ByDeviceInstallStateIdString(deviceInstallStateId string)(*ManagedEBooksItemUserStateSummaryItemDeviceStatesDeviceInstallStateItemRequestBuilder) { +// ByDeviceInstallStateId provides operations to manage the deviceStates property of the microsoft.graph.userInstallStateSummary entity. +func (m *ManagedEBooksItemUserStateSummaryItemDeviceStatesRequestBuilder) ByDeviceInstallStateId(deviceInstallStateId string)(*ManagedEBooksItemUserStateSummaryItemDeviceStatesDeviceInstallStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedEBooksItemUserStateSummaryItemDeviceStatesRequestBuilder) ToPost } 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 *ManagedEBooksItemUserStateSummaryItemDeviceStatesRequestBuilder) WithUrl(rawUrl string)(*ManagedEBooksItemUserStateSummaryItemDeviceStatesRequestBuilder) { + return NewManagedEBooksItemUserStateSummaryItemDeviceStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_books_item_user_state_summary_request_builder.go b/deviceappmanagement/managed_e_books_item_user_state_summary_request_builder.go index 9d0d778ce74..2d581de1e0d 100644 --- a/deviceappmanagement/managed_e_books_item_user_state_summary_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_user_state_summary_request_builder.go @@ -46,8 +46,8 @@ type ManagedEBooksItemUserStateSummaryRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserInstallStateSummaryIdString provides operations to manage the userStateSummary property of the microsoft.graph.managedEBook entity. -func (m *ManagedEBooksItemUserStateSummaryRequestBuilder) ByUserInstallStateSummaryIdString(userInstallStateSummaryId string)(*ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilder) { +// ByUserInstallStateSummaryId provides operations to manage the userStateSummary property of the microsoft.graph.managedEBook entity. +func (m *ManagedEBooksItemUserStateSummaryRequestBuilder) ByUserInstallStateSummaryId(userInstallStateSummaryId string)(*ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedEBooksItemUserStateSummaryRequestBuilder) ToPostRequestInformati } 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 *ManagedEBooksItemUserStateSummaryRequestBuilder) WithUrl(rawUrl string)(*ManagedEBooksItemUserStateSummaryRequestBuilder) { + return NewManagedEBooksItemUserStateSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_books_item_user_state_summary_user_install_state_summary_item_request_builder.go b/deviceappmanagement/managed_e_books_item_user_state_summary_user_install_state_summary_item_request_builder.go index 911fc0870ea..aba64fddaf4 100644 --- a/deviceappmanagement/managed_e_books_item_user_state_summary_user_install_state_summary_item_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_user_state_summary_user_install_state_summary_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuil } 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 *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilder) WithUrl(rawUrl string)(*ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilder) { + return NewManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_books_managed_e_book_item_request_builder.go b/deviceappmanagement/managed_e_books_managed_e_book_item_request_builder.go index 4f0da17c3de..d535f3f7e10 100644 --- a/deviceappmanagement/managed_e_books_managed_e_book_item_request_builder.go +++ b/deviceappmanagement/managed_e_books_managed_e_book_item_request_builder.go @@ -177,3 +177,7 @@ func (m *ManagedEBooksManagedEBookItemRequestBuilder) ToPatchRequestInformation( func (m *ManagedEBooksManagedEBookItemRequestBuilder) UserStateSummary()(*ManagedEBooksItemUserStateSummaryRequestBuilder) { return NewManagedEBooksItemUserStateSummaryRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ManagedEBooksManagedEBookItemRequestBuilder) WithUrl(rawUrl string)(*ManagedEBooksManagedEBookItemRequestBuilder) { + return NewManagedEBooksManagedEBookItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/managed_e_books_request_builder.go b/deviceappmanagement/managed_e_books_request_builder.go index 395af18931c..37829f90163 100644 --- a/deviceappmanagement/managed_e_books_request_builder.go +++ b/deviceappmanagement/managed_e_books_request_builder.go @@ -46,8 +46,8 @@ type ManagedEBooksRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedEBookIdString provides operations to manage the managedEBooks property of the microsoft.graph.deviceAppManagement entity. -func (m *ManagedEBooksRequestBuilder) ByManagedEBookIdString(managedEBookId string)(*ManagedEBooksManagedEBookItemRequestBuilder) { +// ByManagedEBookId provides operations to manage the managedEBooks property of the microsoft.graph.deviceAppManagement entity. +func (m *ManagedEBooksRequestBuilder) ByManagedEBookId(managedEBookId string)(*ManagedEBooksManagedEBookItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedEBooksRequestBuilder) 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 *ManagedEBooksRequestBuilder) WithUrl(rawUrl string)(*ManagedEBooksRequestBuilder) { + return NewManagedEBooksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mdm_windows_information_protection_policies_count_request_builder.go b/deviceappmanagement/mdm_windows_information_protection_policies_count_request_builder.go index 212618603d6..d0ebcc0e89a 100644 --- a/deviceappmanagement/mdm_windows_information_protection_policies_count_request_builder.go +++ b/deviceappmanagement/mdm_windows_information_protection_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MdmWindowsInformationProtectionPoliciesCountRequestBuilder) ToGetReques } 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 *MdmWindowsInformationProtectionPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*MdmWindowsInformationProtectionPoliciesCountRequestBuilder) { + return NewMdmWindowsInformationProtectionPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mdm_windows_information_protection_policies_has_payload_links_request_builder.go b/deviceappmanagement/mdm_windows_information_protection_policies_has_payload_links_request_builder.go index 519f002c501..418aab7ca02 100644 --- a/deviceappmanagement/mdm_windows_information_protection_policies_has_payload_links_request_builder.go +++ b/deviceappmanagement/mdm_windows_information_protection_policies_has_payload_links_request_builder.go @@ -66,3 +66,7 @@ func (m *MdmWindowsInformationProtectionPoliciesHasPayloadLinksRequestBuilder) T } 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 *MdmWindowsInformationProtectionPoliciesHasPayloadLinksRequestBuilder) WithUrl(rawUrl string)(*MdmWindowsInformationProtectionPoliciesHasPayloadLinksRequestBuilder) { + return NewMdmWindowsInformationProtectionPoliciesHasPayloadLinksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mdm_windows_information_protection_policies_item_assignments_count_request_builder.go b/deviceappmanagement/mdm_windows_information_protection_policies_item_assignments_count_request_builder.go index e40a8696e72..b3a7862b399 100644 --- a/deviceappmanagement/mdm_windows_information_protection_policies_item_assignments_count_request_builder.go +++ b/deviceappmanagement/mdm_windows_information_protection_policies_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemAssignmentsCountRequestBuild } 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 *MdmWindowsInformationProtectionPoliciesItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*MdmWindowsInformationProtectionPoliciesItemAssignmentsCountRequestBuilder) { + return NewMdmWindowsInformationProtectionPoliciesItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mdm_windows_information_protection_policies_item_assignments_request_builder.go b/deviceappmanagement/mdm_windows_information_protection_policies_item_assignments_request_builder.go index 48c9d9a6587..3e540005966 100644 --- a/deviceappmanagement/mdm_windows_information_protection_policies_item_assignments_request_builder.go +++ b/deviceappmanagement/mdm_windows_information_protection_policies_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type MdmWindowsInformationProtectionPoliciesItemAssignmentsRequestBuilderPostReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTargetedManagedAppPolicyAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.windowsInformationProtection entity. -func (m *MdmWindowsInformationProtectionPoliciesItemAssignmentsRequestBuilder) ByTargetedManagedAppPolicyAssignmentIdString(targetedManagedAppPolicyAssignmentId string)(*MdmWindowsInformationProtectionPoliciesItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) { +// ByTargetedManagedAppPolicyAssignmentId provides operations to manage the assignments property of the microsoft.graph.windowsInformationProtection entity. +func (m *MdmWindowsInformationProtectionPoliciesItemAssignmentsRequestBuilder) ByTargetedManagedAppPolicyAssignmentId(targetedManagedAppPolicyAssignmentId string)(*MdmWindowsInformationProtectionPoliciesItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemAssignmentsRequestBuilder) T } 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 *MdmWindowsInformationProtectionPoliciesItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*MdmWindowsInformationProtectionPoliciesItemAssignmentsRequestBuilder) { + return NewMdmWindowsInformationProtectionPoliciesItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mdm_windows_information_protection_policies_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go b/deviceappmanagement/mdm_windows_information_protection_policies_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go index 9f3348ab174..369b6735d75 100644 --- a/deviceappmanagement/mdm_windows_information_protection_policies_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go +++ b/deviceappmanagement/mdm_windows_information_protection_policies_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemAssignmentsTargetedManagedAp } 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 *MdmWindowsInformationProtectionPoliciesItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*MdmWindowsInformationProtectionPoliciesItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) { + return NewMdmWindowsInformationProtectionPoliciesItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mdm_windows_information_protection_policies_item_exempt_app_locker_files_count_request_builder.go b/deviceappmanagement/mdm_windows_information_protection_policies_item_exempt_app_locker_files_count_request_builder.go index 819ceaa5dc0..b0d0e48669b 100644 --- a/deviceappmanagement/mdm_windows_information_protection_policies_item_exempt_app_locker_files_count_request_builder.go +++ b/deviceappmanagement/mdm_windows_information_protection_policies_item_exempt_app_locker_files_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesCountReq } 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 *MdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesCountRequestBuilder) WithUrl(rawUrl string)(*MdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesCountRequestBuilder) { + return NewMdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mdm_windows_information_protection_policies_item_exempt_app_locker_files_request_builder.go b/deviceappmanagement/mdm_windows_information_protection_policies_item_exempt_app_locker_files_request_builder.go index 0bd517df400..63e025f7be8 100644 --- a/deviceappmanagement/mdm_windows_information_protection_policies_item_exempt_app_locker_files_request_builder.go +++ b/deviceappmanagement/mdm_windows_information_protection_policies_item_exempt_app_locker_files_request_builder.go @@ -46,8 +46,8 @@ type MdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsInformationProtectionAppLockerFileIdString provides operations to manage the exemptAppLockerFiles property of the microsoft.graph.windowsInformationProtection entity. -func (m *MdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilder) ByWindowsInformationProtectionAppLockerFileIdString(windowsInformationProtectionAppLockerFileId string)(*MdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder) { +// ByWindowsInformationProtectionAppLockerFileId provides operations to manage the exemptAppLockerFiles property of the microsoft.graph.windowsInformationProtection entity. +func (m *MdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilder) ByWindowsInformationProtectionAppLockerFileId(windowsInformationProtectionAppLockerFileId string)(*MdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestB } 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 *MdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilder) WithUrl(rawUrl string)(*MdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilder) { + return NewMdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mdm_windows_information_protection_policies_item_exempt_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go b/deviceappmanagement/mdm_windows_information_protection_policies_item_exempt_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go index c9daa445826..58b6f64becb 100644 --- a/deviceappmanagement/mdm_windows_information_protection_policies_item_exempt_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go +++ b/deviceappmanagement/mdm_windows_information_protection_policies_item_exempt_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go @@ -153,3 +153,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsI } 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 *MdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder) WithUrl(rawUrl string)(*MdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder) { + return NewMdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mdm_windows_information_protection_policies_item_protected_app_locker_files_count_request_builder.go b/deviceappmanagement/mdm_windows_information_protection_policies_item_protected_app_locker_files_count_request_builder.go index 560c7196f49..08c1ca66be4 100644 --- a/deviceappmanagement/mdm_windows_information_protection_policies_item_protected_app_locker_files_count_request_builder.go +++ b/deviceappmanagement/mdm_windows_information_protection_policies_item_protected_app_locker_files_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesCount } 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 *MdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesCountRequestBuilder) WithUrl(rawUrl string)(*MdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesCountRequestBuilder) { + return NewMdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mdm_windows_information_protection_policies_item_protected_app_locker_files_request_builder.go b/deviceappmanagement/mdm_windows_information_protection_policies_item_protected_app_locker_files_request_builder.go index 39cab78de01..64217516f31 100644 --- a/deviceappmanagement/mdm_windows_information_protection_policies_item_protected_app_locker_files_request_builder.go +++ b/deviceappmanagement/mdm_windows_information_protection_policies_item_protected_app_locker_files_request_builder.go @@ -46,8 +46,8 @@ type MdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsInformationProtectionAppLockerFileIdString provides operations to manage the protectedAppLockerFiles property of the microsoft.graph.windowsInformationProtection entity. -func (m *MdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesRequestBuilder) ByWindowsInformationProtectionAppLockerFileIdString(windowsInformationProtectionAppLockerFileId string)(*MdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder) { +// ByWindowsInformationProtectionAppLockerFileId provides operations to manage the protectedAppLockerFiles property of the microsoft.graph.windowsInformationProtection entity. +func (m *MdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesRequestBuilder) ByWindowsInformationProtectionAppLockerFileId(windowsInformationProtectionAppLockerFileId string)(*MdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesReque } 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 *MdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesRequestBuilder) WithUrl(rawUrl string)(*MdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesRequestBuilder) { + return NewMdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mdm_windows_information_protection_policies_item_protected_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go b/deviceappmanagement/mdm_windows_information_protection_policies_item_protected_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go index 56a231b6683..6d9a57b8f91 100644 --- a/deviceappmanagement/mdm_windows_information_protection_policies_item_protected_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go +++ b/deviceappmanagement/mdm_windows_information_protection_policies_item_protected_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go @@ -153,3 +153,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesWindo } 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 *MdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder) WithUrl(rawUrl string)(*MdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder) { + return NewMdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mdm_windows_information_protection_policies_mdm_windows_information_protection_policy_item_request_builder.go b/deviceappmanagement/mdm_windows_information_protection_policies_mdm_windows_information_protection_policy_item_request_builder.go index b6e18e28e6c..a2a187f600f 100644 --- a/deviceappmanagement/mdm_windows_information_protection_policies_mdm_windows_information_protection_policy_item_request_builder.go +++ b/deviceappmanagement/mdm_windows_information_protection_policies_mdm_windows_information_protection_policy_item_request_builder.go @@ -165,3 +165,7 @@ func (m *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionP } 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 *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilder) WithUrl(rawUrl string)(*MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilder) { + return NewMdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mdm_windows_information_protection_policies_request_builder.go b/deviceappmanagement/mdm_windows_information_protection_policies_request_builder.go index 579640842dd..5ab91dce9d4 100644 --- a/deviceappmanagement/mdm_windows_information_protection_policies_request_builder.go +++ b/deviceappmanagement/mdm_windows_information_protection_policies_request_builder.go @@ -46,8 +46,8 @@ type MdmWindowsInformationProtectionPoliciesRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMdmWindowsInformationProtectionPolicyIdString provides operations to manage the mdmWindowsInformationProtectionPolicies property of the microsoft.graph.deviceAppManagement entity. -func (m *MdmWindowsInformationProtectionPoliciesRequestBuilder) ByMdmWindowsInformationProtectionPolicyIdString(mdmWindowsInformationProtectionPolicyId string)(*MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilder) { +// ByMdmWindowsInformationProtectionPolicyId provides operations to manage the mdmWindowsInformationProtectionPolicies property of the microsoft.graph.deviceAppManagement entity. +func (m *MdmWindowsInformationProtectionPoliciesRequestBuilder) ByMdmWindowsInformationProtectionPolicyId(mdmWindowsInformationProtectionPolicyId string)(*MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *MdmWindowsInformationProtectionPoliciesRequestBuilder) ToPostRequestInf } 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 *MdmWindowsInformationProtectionPoliciesRequestBuilder) WithUrl(rawUrl string)(*MdmWindowsInformationProtectionPoliciesRequestBuilder) { + return NewMdmWindowsInformationProtectionPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_app_categories_count_request_builder.go b/deviceappmanagement/mobile_app_categories_count_request_builder.go index 488d83379da..6629e19b16a 100644 --- a/deviceappmanagement/mobile_app_categories_count_request_builder.go +++ b/deviceappmanagement/mobile_app_categories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MobileAppCategoriesCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *MobileAppCategoriesCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppCategoriesCountRequestBuilder) { + return NewMobileAppCategoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_app_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_app_categories_mobile_app_category_item_request_builder.go index 7866725c58c..d74d5112a23 100644 --- a/deviceappmanagement/mobile_app_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_app_categories_mobile_app_category_item_request_builder.go @@ -153,3 +153,7 @@ func (m *MobileAppCategoriesMobileAppCategoryItemRequestBuilder) ToPatchRequestI } 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 *MobileAppCategoriesMobileAppCategoryItemRequestBuilder) WithUrl(rawUrl string)(*MobileAppCategoriesMobileAppCategoryItemRequestBuilder) { + return NewMobileAppCategoriesMobileAppCategoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_app_categories_request_builder.go b/deviceappmanagement/mobile_app_categories_request_builder.go index e1983bc4ee7..55d9bbe06a9 100644 --- a/deviceappmanagement/mobile_app_categories_request_builder.go +++ b/deviceappmanagement/mobile_app_categories_request_builder.go @@ -46,8 +46,8 @@ type MobileAppCategoriesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMobileAppCategoryIdString provides operations to manage the mobileAppCategories property of the microsoft.graph.deviceAppManagement entity. -func (m *MobileAppCategoriesRequestBuilder) ByMobileAppCategoryIdString(mobileAppCategoryId string)(*MobileAppCategoriesMobileAppCategoryItemRequestBuilder) { +// ByMobileAppCategoryId provides operations to manage the mobileAppCategories property of the microsoft.graph.deviceAppManagement entity. +func (m *MobileAppCategoriesRequestBuilder) ByMobileAppCategoryId(mobileAppCategoryId string)(*MobileAppCategoriesMobileAppCategoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MobileAppCategoriesRequestBuilder) 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 *MobileAppCategoriesRequestBuilder) WithUrl(rawUrl string)(*MobileAppCategoriesRequestBuilder) { + return NewMobileAppCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_app_configurations_count_request_builder.go b/deviceappmanagement/mobile_app_configurations_count_request_builder.go index f9067994dbf..d4e2d7d73df 100644 --- a/deviceappmanagement/mobile_app_configurations_count_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MobileAppConfigurationsCountRequestBuilder) ToGetRequestInformation(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 *MobileAppConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppConfigurationsCountRequestBuilder) { + return NewMobileAppConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_app_configurations_item_assign_request_builder.go b/deviceappmanagement/mobile_app_configurations_item_assign_request_builder.go index 61a9dd70531..3862aa27bb0 100644 --- a/deviceappmanagement/mobile_app_configurations_item_assign_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_item_assign_request_builder.go @@ -62,3 +62,7 @@ func (m *MobileAppConfigurationsItemAssignRequestBuilder) ToPostRequestInformati } 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 *MobileAppConfigurationsItemAssignRequestBuilder) WithUrl(rawUrl string)(*MobileAppConfigurationsItemAssignRequestBuilder) { + return NewMobileAppConfigurationsItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_app_configurations_item_assignments_count_request_builder.go b/deviceappmanagement/mobile_app_configurations_item_assignments_count_request_builder.go index fa45fcb424e..8a1d7f83032 100644 --- a/deviceappmanagement/mobile_app_configurations_item_assignments_count_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MobileAppConfigurationsItemAssignmentsCountRequestBuilder) ToGetRequest } 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 *MobileAppConfigurationsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppConfigurationsItemAssignmentsCountRequestBuilder) { + return NewMobileAppConfigurationsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_app_configurations_item_assignments_managed_device_mobile_app_configuration_assignment_item_request_builder.go b/deviceappmanagement/mobile_app_configurations_item_assignments_managed_device_mobile_app_configuration_assignment_item_request_builder.go index 8db317404b2..3ca8c079f3f 100644 --- a/deviceappmanagement/mobile_app_configurations_item_assignments_managed_device_mobile_app_configuration_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_item_assignments_managed_device_mobile_app_configuration_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurati } 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 *MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder) { + return NewMobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_app_configurations_item_assignments_request_builder.go b/deviceappmanagement/mobile_app_configurations_item_assignments_request_builder.go index e1c894385db..4cd998c2622 100644 --- a/deviceappmanagement/mobile_app_configurations_item_assignments_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type MobileAppConfigurationsItemAssignmentsRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedDeviceMobileAppConfigurationAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.managedDeviceMobileAppConfiguration entity. -func (m *MobileAppConfigurationsItemAssignmentsRequestBuilder) ByManagedDeviceMobileAppConfigurationAssignmentIdString(managedDeviceMobileAppConfigurationAssignmentId string)(*MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder) { +// ByManagedDeviceMobileAppConfigurationAssignmentId provides operations to manage the assignments property of the microsoft.graph.managedDeviceMobileAppConfiguration entity. +func (m *MobileAppConfigurationsItemAssignmentsRequestBuilder) ByManagedDeviceMobileAppConfigurationAssignmentId(managedDeviceMobileAppConfigurationAssignmentId string)(*MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MobileAppConfigurationsItemAssignmentsRequestBuilder) ToPostRequestInfo } 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 *MobileAppConfigurationsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*MobileAppConfigurationsItemAssignmentsRequestBuilder) { + return NewMobileAppConfigurationsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_app_configurations_item_device_status_summary_request_builder.go b/deviceappmanagement/mobile_app_configurations_item_device_status_summary_request_builder.go index 318e5bf184a..5822d26acb4 100644 --- a/deviceappmanagement/mobile_app_configurations_item_device_status_summary_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_item_device_status_summary_request_builder.go @@ -153,3 +153,7 @@ func (m *MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilder) ToPatchRe } 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 *MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilder) WithUrl(rawUrl string)(*MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilder) { + return NewMobileAppConfigurationsItemDeviceStatusSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_app_configurations_item_device_statuses_count_request_builder.go b/deviceappmanagement/mobile_app_configurations_item_device_statuses_count_request_builder.go index 1c6057964f2..84102065c07 100644 --- a/deviceappmanagement/mobile_app_configurations_item_device_statuses_count_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_item_device_statuses_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MobileAppConfigurationsItemDeviceStatusesCountRequestBuilder) ToGetRequ } 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 *MobileAppConfigurationsItemDeviceStatusesCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppConfigurationsItemDeviceStatusesCountRequestBuilder) { + return NewMobileAppConfigurationsItemDeviceStatusesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_app_configurations_item_device_statuses_managed_device_mobile_app_configuration_device_status_item_request_builder.go b/deviceappmanagement/mobile_app_configurations_item_device_statuses_managed_device_mobile_app_configuration_device_status_item_request_builder.go index 7f41c2cc31e..5adc33d7855 100644 --- a/deviceappmanagement/mobile_app_configurations_item_device_statuses_managed_device_mobile_app_configuration_device_status_item_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_item_device_statuses_managed_device_mobile_app_configuration_device_status_item_request_builder.go @@ -153,3 +153,7 @@ func (m *MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigur } 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 *MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder) WithUrl(rawUrl string)(*MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder) { + return NewMobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_app_configurations_item_device_statuses_request_builder.go b/deviceappmanagement/mobile_app_configurations_item_device_statuses_request_builder.go index 335f599efb6..7c0698b999c 100644 --- a/deviceappmanagement/mobile_app_configurations_item_device_statuses_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_item_device_statuses_request_builder.go @@ -46,8 +46,8 @@ type MobileAppConfigurationsItemDeviceStatusesRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedDeviceMobileAppConfigurationDeviceStatusIdString provides operations to manage the deviceStatuses property of the microsoft.graph.managedDeviceMobileAppConfiguration entity. -func (m *MobileAppConfigurationsItemDeviceStatusesRequestBuilder) ByManagedDeviceMobileAppConfigurationDeviceStatusIdString(managedDeviceMobileAppConfigurationDeviceStatusId string)(*MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder) { +// ByManagedDeviceMobileAppConfigurationDeviceStatusId provides operations to manage the deviceStatuses property of the microsoft.graph.managedDeviceMobileAppConfiguration entity. +func (m *MobileAppConfigurationsItemDeviceStatusesRequestBuilder) ByManagedDeviceMobileAppConfigurationDeviceStatusId(managedDeviceMobileAppConfigurationDeviceStatusId string)(*MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MobileAppConfigurationsItemDeviceStatusesRequestBuilder) ToPostRequestI } 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 *MobileAppConfigurationsItemDeviceStatusesRequestBuilder) WithUrl(rawUrl string)(*MobileAppConfigurationsItemDeviceStatusesRequestBuilder) { + return NewMobileAppConfigurationsItemDeviceStatusesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_app_configurations_item_user_status_summary_request_builder.go b/deviceappmanagement/mobile_app_configurations_item_user_status_summary_request_builder.go index b37c67da8d7..277449ee7ad 100644 --- a/deviceappmanagement/mobile_app_configurations_item_user_status_summary_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_item_user_status_summary_request_builder.go @@ -153,3 +153,7 @@ func (m *MobileAppConfigurationsItemUserStatusSummaryRequestBuilder) ToPatchRequ } 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 *MobileAppConfigurationsItemUserStatusSummaryRequestBuilder) WithUrl(rawUrl string)(*MobileAppConfigurationsItemUserStatusSummaryRequestBuilder) { + return NewMobileAppConfigurationsItemUserStatusSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_app_configurations_item_user_statuses_count_request_builder.go b/deviceappmanagement/mobile_app_configurations_item_user_statuses_count_request_builder.go index f94978d2454..06beae2c339 100644 --- a/deviceappmanagement/mobile_app_configurations_item_user_statuses_count_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_item_user_statuses_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MobileAppConfigurationsItemUserStatusesCountRequestBuilder) ToGetReques } 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 *MobileAppConfigurationsItemUserStatusesCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppConfigurationsItemUserStatusesCountRequestBuilder) { + return NewMobileAppConfigurationsItemUserStatusesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_app_configurations_item_user_statuses_managed_device_mobile_app_configuration_user_status_item_request_builder.go b/deviceappmanagement/mobile_app_configurations_item_user_statuses_managed_device_mobile_app_configuration_user_status_item_request_builder.go index 9b09265e7fe..ae189f9dc37 100644 --- a/deviceappmanagement/mobile_app_configurations_item_user_statuses_managed_device_mobile_app_configuration_user_status_item_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_item_user_statuses_managed_device_mobile_app_configuration_user_status_item_request_builder.go @@ -153,3 +153,7 @@ func (m *MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurat } 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 *MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder) WithUrl(rawUrl string)(*MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder) { + return NewMobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_app_configurations_item_user_statuses_request_builder.go b/deviceappmanagement/mobile_app_configurations_item_user_statuses_request_builder.go index 624ce4f30d6..8af280e243f 100644 --- a/deviceappmanagement/mobile_app_configurations_item_user_statuses_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_item_user_statuses_request_builder.go @@ -46,8 +46,8 @@ type MobileAppConfigurationsItemUserStatusesRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedDeviceMobileAppConfigurationUserStatusIdString provides operations to manage the userStatuses property of the microsoft.graph.managedDeviceMobileAppConfiguration entity. -func (m *MobileAppConfigurationsItemUserStatusesRequestBuilder) ByManagedDeviceMobileAppConfigurationUserStatusIdString(managedDeviceMobileAppConfigurationUserStatusId string)(*MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder) { +// ByManagedDeviceMobileAppConfigurationUserStatusId provides operations to manage the userStatuses property of the microsoft.graph.managedDeviceMobileAppConfiguration entity. +func (m *MobileAppConfigurationsItemUserStatusesRequestBuilder) ByManagedDeviceMobileAppConfigurationUserStatusId(managedDeviceMobileAppConfigurationUserStatusId string)(*MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MobileAppConfigurationsItemUserStatusesRequestBuilder) ToPostRequestInf } 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 *MobileAppConfigurationsItemUserStatusesRequestBuilder) WithUrl(rawUrl string)(*MobileAppConfigurationsItemUserStatusesRequestBuilder) { + return NewMobileAppConfigurationsItemUserStatusesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go b/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go index 4dc3587ef73..c4174fa85a6 100644 --- a/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go @@ -177,3 +177,7 @@ func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBu func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilder) UserStatusSummary()(*MobileAppConfigurationsItemUserStatusSummaryRequestBuilder) { return NewMobileAppConfigurationsItemUserStatusSummaryRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilder) { + return NewMobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_app_configurations_request_builder.go b/deviceappmanagement/mobile_app_configurations_request_builder.go index 93f875c8b29..62b0b622738 100644 --- a/deviceappmanagement/mobile_app_configurations_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_request_builder.go @@ -46,8 +46,8 @@ type MobileAppConfigurationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedDeviceMobileAppConfigurationIdString provides operations to manage the mobileAppConfigurations property of the microsoft.graph.deviceAppManagement entity. -func (m *MobileAppConfigurationsRequestBuilder) ByManagedDeviceMobileAppConfigurationIdString(managedDeviceMobileAppConfigurationId string)(*MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilder) { +// ByManagedDeviceMobileAppConfigurationId provides operations to manage the mobileAppConfigurations property of the microsoft.graph.deviceAppManagement entity. +func (m *MobileAppConfigurationsRequestBuilder) ByManagedDeviceMobileAppConfigurationId(managedDeviceMobileAppConfigurationId string)(*MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MobileAppConfigurationsRequestBuilder) ToPostRequestInformation(ctx con } 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 *MobileAppConfigurationsRequestBuilder) WithUrl(rawUrl string)(*MobileAppConfigurationsRequestBuilder) { + return NewMobileAppConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_count_request_builder.go b/deviceappmanagement/mobile_apps_count_request_builder.go index dab0efaaa43..8abd7c28fbc 100644 --- a/deviceappmanagement/mobile_apps_count_request_builder.go +++ b/deviceappmanagement/mobile_apps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MobileAppsCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *MobileAppsCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsCountRequestBuilder) { + return NewMobileAppsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_android_for_work_app_count_request_builder.go b/deviceappmanagement/mobile_apps_graph_android_for_work_app_count_request_builder.go new file mode 100644 index 00000000000..aed9500c7dd --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_android_for_work_app_count_request_builder.go @@ -0,0 +1,80 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphAndroidForWorkAppCountRequestBuilder provides operations to count the resources in the collection. +type MobileAppsGraphAndroidForWorkAppCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphAndroidForWorkAppCountRequestBuilderGetQueryParameters get the number of the resource +type MobileAppsGraphAndroidForWorkAppCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MobileAppsGraphAndroidForWorkAppCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphAndroidForWorkAppCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphAndroidForWorkAppCountRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphAndroidForWorkAppCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphAndroidForWorkAppCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphAndroidForWorkAppCountRequestBuilder) { + m := &MobileAppsGraphAndroidForWorkAppCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.androidForWorkApp/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMobileAppsGraphAndroidForWorkAppCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphAndroidForWorkAppCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphAndroidForWorkAppCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphAndroidForWorkAppCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MobileAppsGraphAndroidForWorkAppCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphAndroidForWorkAppCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MobileAppsGraphAndroidForWorkAppCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphAndroidForWorkAppCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphAndroidForWorkAppCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphAndroidForWorkAppCountRequestBuilder) { + return NewMobileAppsGraphAndroidForWorkAppCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_android_for_work_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_android_for_work_app_request_builder.go new file mode 100644 index 00000000000..c220ae8f9d3 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_android_for_work_app_request_builder.go @@ -0,0 +1,97 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphAndroidForWorkAppRequestBuilder casts the previous resource to androidForWorkApp. +type MobileAppsGraphAndroidForWorkAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphAndroidForWorkAppRequestBuilderGetQueryParameters get the items of type microsoft.graph.androidForWorkApp in the microsoft.graph.mobileApp collection +type MobileAppsGraphAndroidForWorkAppRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MobileAppsGraphAndroidForWorkAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphAndroidForWorkAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphAndroidForWorkAppRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphAndroidForWorkAppRequestBuilderInternal instantiates a new GraphAndroidForWorkAppRequestBuilder and sets the default values. +func NewMobileAppsGraphAndroidForWorkAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphAndroidForWorkAppRequestBuilder) { + m := &MobileAppsGraphAndroidForWorkAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.androidForWorkApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsGraphAndroidForWorkAppRequestBuilder instantiates a new GraphAndroidForWorkAppRequestBuilder and sets the default values. +func NewMobileAppsGraphAndroidForWorkAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphAndroidForWorkAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphAndroidForWorkAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *MobileAppsGraphAndroidForWorkAppRequestBuilder) Count()(*MobileAppsGraphAndroidForWorkAppCountRequestBuilder) { + return NewMobileAppsGraphAndroidForWorkAppCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.androidForWorkApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphAndroidForWorkAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphAndroidForWorkAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AndroidForWorkAppCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAndroidForWorkAppCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AndroidForWorkAppCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.androidForWorkApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphAndroidForWorkAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphAndroidForWorkAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphAndroidForWorkAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphAndroidForWorkAppRequestBuilder) { + return NewMobileAppsGraphAndroidForWorkAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_android_lob_app_count_request_builder.go b/deviceappmanagement/mobile_apps_graph_android_lob_app_count_request_builder.go new file mode 100644 index 00000000000..9f2645cdc1f --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_android_lob_app_count_request_builder.go @@ -0,0 +1,80 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphAndroidLobAppCountRequestBuilder provides operations to count the resources in the collection. +type MobileAppsGraphAndroidLobAppCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphAndroidLobAppCountRequestBuilderGetQueryParameters get the number of the resource +type MobileAppsGraphAndroidLobAppCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MobileAppsGraphAndroidLobAppCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphAndroidLobAppCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphAndroidLobAppCountRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphAndroidLobAppCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphAndroidLobAppCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphAndroidLobAppCountRequestBuilder) { + m := &MobileAppsGraphAndroidLobAppCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.androidLobApp/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMobileAppsGraphAndroidLobAppCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphAndroidLobAppCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphAndroidLobAppCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphAndroidLobAppCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MobileAppsGraphAndroidLobAppCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphAndroidLobAppCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MobileAppsGraphAndroidLobAppCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphAndroidLobAppCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphAndroidLobAppCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphAndroidLobAppCountRequestBuilder) { + return NewMobileAppsGraphAndroidLobAppCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_android_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_android_lob_app_request_builder.go new file mode 100644 index 00000000000..2f1bd798759 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_android_lob_app_request_builder.go @@ -0,0 +1,97 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphAndroidLobAppRequestBuilder casts the previous resource to androidLobApp. +type MobileAppsGraphAndroidLobAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphAndroidLobAppRequestBuilderGetQueryParameters get the items of type microsoft.graph.androidLobApp in the microsoft.graph.mobileApp collection +type MobileAppsGraphAndroidLobAppRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MobileAppsGraphAndroidLobAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphAndroidLobAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphAndroidLobAppRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphAndroidLobAppRequestBuilderInternal instantiates a new GraphAndroidLobAppRequestBuilder and sets the default values. +func NewMobileAppsGraphAndroidLobAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphAndroidLobAppRequestBuilder) { + m := &MobileAppsGraphAndroidLobAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.androidLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsGraphAndroidLobAppRequestBuilder instantiates a new GraphAndroidLobAppRequestBuilder and sets the default values. +func NewMobileAppsGraphAndroidLobAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphAndroidLobAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphAndroidLobAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *MobileAppsGraphAndroidLobAppRequestBuilder) Count()(*MobileAppsGraphAndroidLobAppCountRequestBuilder) { + return NewMobileAppsGraphAndroidLobAppCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.androidLobApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphAndroidLobAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphAndroidLobAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AndroidLobAppCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAndroidLobAppCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AndroidLobAppCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.androidLobApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphAndroidLobAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphAndroidLobAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphAndroidLobAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphAndroidLobAppRequestBuilder) { + return NewMobileAppsGraphAndroidLobAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_android_managed_store_app_count_request_builder.go b/deviceappmanagement/mobile_apps_graph_android_managed_store_app_count_request_builder.go new file mode 100644 index 00000000000..2ce0e3e7396 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_android_managed_store_app_count_request_builder.go @@ -0,0 +1,80 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphAndroidManagedStoreAppCountRequestBuilder provides operations to count the resources in the collection. +type MobileAppsGraphAndroidManagedStoreAppCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphAndroidManagedStoreAppCountRequestBuilderGetQueryParameters get the number of the resource +type MobileAppsGraphAndroidManagedStoreAppCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MobileAppsGraphAndroidManagedStoreAppCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphAndroidManagedStoreAppCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphAndroidManagedStoreAppCountRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphAndroidManagedStoreAppCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphAndroidManagedStoreAppCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphAndroidManagedStoreAppCountRequestBuilder) { + m := &MobileAppsGraphAndroidManagedStoreAppCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.androidManagedStoreApp/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMobileAppsGraphAndroidManagedStoreAppCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphAndroidManagedStoreAppCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphAndroidManagedStoreAppCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphAndroidManagedStoreAppCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MobileAppsGraphAndroidManagedStoreAppCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphAndroidManagedStoreAppCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MobileAppsGraphAndroidManagedStoreAppCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphAndroidManagedStoreAppCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphAndroidManagedStoreAppCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphAndroidManagedStoreAppCountRequestBuilder) { + return NewMobileAppsGraphAndroidManagedStoreAppCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_android_managed_store_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_android_managed_store_app_request_builder.go new file mode 100644 index 00000000000..64379618a66 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_android_managed_store_app_request_builder.go @@ -0,0 +1,97 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphAndroidManagedStoreAppRequestBuilder casts the previous resource to androidManagedStoreApp. +type MobileAppsGraphAndroidManagedStoreAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphAndroidManagedStoreAppRequestBuilderGetQueryParameters get the items of type microsoft.graph.androidManagedStoreApp in the microsoft.graph.mobileApp collection +type MobileAppsGraphAndroidManagedStoreAppRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MobileAppsGraphAndroidManagedStoreAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphAndroidManagedStoreAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphAndroidManagedStoreAppRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphAndroidManagedStoreAppRequestBuilderInternal instantiates a new GraphAndroidManagedStoreAppRequestBuilder and sets the default values. +func NewMobileAppsGraphAndroidManagedStoreAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphAndroidManagedStoreAppRequestBuilder) { + m := &MobileAppsGraphAndroidManagedStoreAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.androidManagedStoreApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsGraphAndroidManagedStoreAppRequestBuilder instantiates a new GraphAndroidManagedStoreAppRequestBuilder and sets the default values. +func NewMobileAppsGraphAndroidManagedStoreAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphAndroidManagedStoreAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphAndroidManagedStoreAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *MobileAppsGraphAndroidManagedStoreAppRequestBuilder) Count()(*MobileAppsGraphAndroidManagedStoreAppCountRequestBuilder) { + return NewMobileAppsGraphAndroidManagedStoreAppCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.androidManagedStoreApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphAndroidManagedStoreAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphAndroidManagedStoreAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AndroidManagedStoreAppCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAndroidManagedStoreAppCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AndroidManagedStoreAppCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.androidManagedStoreApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphAndroidManagedStoreAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphAndroidManagedStoreAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphAndroidManagedStoreAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphAndroidManagedStoreAppRequestBuilder) { + return NewMobileAppsGraphAndroidManagedStoreAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_android_store_app_count_request_builder.go b/deviceappmanagement/mobile_apps_graph_android_store_app_count_request_builder.go new file mode 100644 index 00000000000..7de07f85b87 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_android_store_app_count_request_builder.go @@ -0,0 +1,80 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphAndroidStoreAppCountRequestBuilder provides operations to count the resources in the collection. +type MobileAppsGraphAndroidStoreAppCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphAndroidStoreAppCountRequestBuilderGetQueryParameters get the number of the resource +type MobileAppsGraphAndroidStoreAppCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MobileAppsGraphAndroidStoreAppCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphAndroidStoreAppCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphAndroidStoreAppCountRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphAndroidStoreAppCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphAndroidStoreAppCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphAndroidStoreAppCountRequestBuilder) { + m := &MobileAppsGraphAndroidStoreAppCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.androidStoreApp/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMobileAppsGraphAndroidStoreAppCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphAndroidStoreAppCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphAndroidStoreAppCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphAndroidStoreAppCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MobileAppsGraphAndroidStoreAppCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphAndroidStoreAppCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MobileAppsGraphAndroidStoreAppCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphAndroidStoreAppCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphAndroidStoreAppCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphAndroidStoreAppCountRequestBuilder) { + return NewMobileAppsGraphAndroidStoreAppCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_android_store_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_android_store_app_request_builder.go new file mode 100644 index 00000000000..a14c42a9af5 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_android_store_app_request_builder.go @@ -0,0 +1,97 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphAndroidStoreAppRequestBuilder casts the previous resource to androidStoreApp. +type MobileAppsGraphAndroidStoreAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphAndroidStoreAppRequestBuilderGetQueryParameters get the items of type microsoft.graph.androidStoreApp in the microsoft.graph.mobileApp collection +type MobileAppsGraphAndroidStoreAppRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MobileAppsGraphAndroidStoreAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphAndroidStoreAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphAndroidStoreAppRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphAndroidStoreAppRequestBuilderInternal instantiates a new GraphAndroidStoreAppRequestBuilder and sets the default values. +func NewMobileAppsGraphAndroidStoreAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphAndroidStoreAppRequestBuilder) { + m := &MobileAppsGraphAndroidStoreAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.androidStoreApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsGraphAndroidStoreAppRequestBuilder instantiates a new GraphAndroidStoreAppRequestBuilder and sets the default values. +func NewMobileAppsGraphAndroidStoreAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphAndroidStoreAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphAndroidStoreAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *MobileAppsGraphAndroidStoreAppRequestBuilder) Count()(*MobileAppsGraphAndroidStoreAppCountRequestBuilder) { + return NewMobileAppsGraphAndroidStoreAppCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.androidStoreApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphAndroidStoreAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphAndroidStoreAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AndroidStoreAppCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAndroidStoreAppCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AndroidStoreAppCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.androidStoreApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphAndroidStoreAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphAndroidStoreAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphAndroidStoreAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphAndroidStoreAppRequestBuilder) { + return NewMobileAppsGraphAndroidStoreAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_ios_lob_app_count_request_builder.go b/deviceappmanagement/mobile_apps_graph_ios_lob_app_count_request_builder.go new file mode 100644 index 00000000000..506a03817bc --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_ios_lob_app_count_request_builder.go @@ -0,0 +1,80 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphIosLobAppCountRequestBuilder provides operations to count the resources in the collection. +type MobileAppsGraphIosLobAppCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphIosLobAppCountRequestBuilderGetQueryParameters get the number of the resource +type MobileAppsGraphIosLobAppCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MobileAppsGraphIosLobAppCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphIosLobAppCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphIosLobAppCountRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphIosLobAppCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphIosLobAppCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphIosLobAppCountRequestBuilder) { + m := &MobileAppsGraphIosLobAppCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.iosLobApp/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMobileAppsGraphIosLobAppCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphIosLobAppCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphIosLobAppCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphIosLobAppCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MobileAppsGraphIosLobAppCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphIosLobAppCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MobileAppsGraphIosLobAppCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphIosLobAppCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphIosLobAppCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphIosLobAppCountRequestBuilder) { + return NewMobileAppsGraphIosLobAppCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_mobile_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_ios_lob_app_request_builder.go similarity index 52% rename from deviceappmanagement/mobile_apps_graph_mobile_lob_app_request_builder.go rename to deviceappmanagement/mobile_apps_graph_ios_lob_app_request_builder.go index 223f425cbf0..2fc88bc3cdc 100644 --- a/deviceappmanagement/mobile_apps_graph_mobile_lob_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_ios_lob_app_request_builder.go @@ -7,12 +7,12 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// MobileAppsGraphMobileLobAppRequestBuilder casts the previous resource to mobileLobApp. -type MobileAppsGraphMobileLobAppRequestBuilder struct { +// MobileAppsGraphIosLobAppRequestBuilder casts the previous resource to iosLobApp. +type MobileAppsGraphIosLobAppRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsGraphMobileLobAppRequestBuilderGetQueryParameters get the items of type microsoft.graph.mobileLobApp in the microsoft.graph.mobileApp collection -type MobileAppsGraphMobileLobAppRequestBuilderGetQueryParameters struct { +// MobileAppsGraphIosLobAppRequestBuilderGetQueryParameters get the items of type microsoft.graph.iosLobApp in the microsoft.graph.mobileApp collection +type MobileAppsGraphIosLobAppRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // Expand related entities @@ -30,34 +30,34 @@ type MobileAppsGraphMobileLobAppRequestBuilderGetQueryParameters struct { // Show only the first n items Top *int32 `uriparametername:"%24top"` } -// MobileAppsGraphMobileLobAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type MobileAppsGraphMobileLobAppRequestBuilderGetRequestConfiguration struct { +// MobileAppsGraphIosLobAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphIosLobAppRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters - QueryParameters *MobileAppsGraphMobileLobAppRequestBuilderGetQueryParameters + QueryParameters *MobileAppsGraphIosLobAppRequestBuilderGetQueryParameters } -// NewMobileAppsGraphMobileLobAppRequestBuilderInternal instantiates a new GraphMobileLobAppRequestBuilder and sets the default values. -func NewMobileAppsGraphMobileLobAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphMobileLobAppRequestBuilder) { - m := &MobileAppsGraphMobileLobAppRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.mobileLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), +// NewMobileAppsGraphIosLobAppRequestBuilderInternal instantiates a new GraphIosLobAppRequestBuilder and sets the default values. +func NewMobileAppsGraphIosLobAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphIosLobAppRequestBuilder) { + m := &MobileAppsGraphIosLobAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.iosLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), } return m } -// NewMobileAppsGraphMobileLobAppRequestBuilder instantiates a new GraphMobileLobAppRequestBuilder and sets the default values. -func NewMobileAppsGraphMobileLobAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphMobileLobAppRequestBuilder) { +// NewMobileAppsGraphIosLobAppRequestBuilder instantiates a new GraphIosLobAppRequestBuilder and sets the default values. +func NewMobileAppsGraphIosLobAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphIosLobAppRequestBuilder) { urlParams := make(map[string]string) urlParams["request-raw-url"] = rawUrl - return NewMobileAppsGraphMobileLobAppRequestBuilderInternal(urlParams, requestAdapter) + return NewMobileAppsGraphIosLobAppRequestBuilderInternal(urlParams, requestAdapter) } // Count provides operations to count the resources in the collection. -func (m *MobileAppsGraphMobileLobAppRequestBuilder) Count()(*MobileAppsGraphMobileLobAppCountRequestBuilder) { - return NewMobileAppsGraphMobileLobAppCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +func (m *MobileAppsGraphIosLobAppRequestBuilder) Count()(*MobileAppsGraphIosLobAppCountRequestBuilder) { + return NewMobileAppsGraphIosLobAppCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the items of type microsoft.graph.mobileLobApp in the microsoft.graph.mobileApp collection -func (m *MobileAppsGraphMobileLobAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphMobileLobAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileLobAppCollectionResponseable, error) { +// Get get the items of type microsoft.graph.iosLobApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphIosLobAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphIosLobAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IosLobAppCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { return nil, err @@ -66,17 +66,17 @@ func (m *MobileAppsGraphMobileLobAppRequestBuilder) Get(ctx context.Context, req "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMobileLobAppCollectionResponseFromDiscriminatorValue, errorMapping) + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateIosLobAppCollectionResponseFromDiscriminatorValue, errorMapping) if err != nil { return nil, err } if res == nil { return nil, nil } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileLobAppCollectionResponseable), nil + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IosLobAppCollectionResponseable), nil } -// ToGetRequestInformation get the items of type microsoft.graph.mobileLobApp in the microsoft.graph.mobileApp collection -func (m *MobileAppsGraphMobileLobAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphMobileLobAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +// ToGetRequestInformation get the items of type microsoft.graph.iosLobApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphIosLobAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphIosLobAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters @@ -91,3 +91,7 @@ func (m *MobileAppsGraphMobileLobAppRequestBuilder) ToGetRequestInformation(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 *MobileAppsGraphIosLobAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphIosLobAppRequestBuilder) { + return NewMobileAppsGraphIosLobAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_ios_store_app_count_request_builder.go b/deviceappmanagement/mobile_apps_graph_ios_store_app_count_request_builder.go new file mode 100644 index 00000000000..9d45d74dd5b --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_ios_store_app_count_request_builder.go @@ -0,0 +1,80 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphIosStoreAppCountRequestBuilder provides operations to count the resources in the collection. +type MobileAppsGraphIosStoreAppCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphIosStoreAppCountRequestBuilderGetQueryParameters get the number of the resource +type MobileAppsGraphIosStoreAppCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MobileAppsGraphIosStoreAppCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphIosStoreAppCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphIosStoreAppCountRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphIosStoreAppCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphIosStoreAppCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphIosStoreAppCountRequestBuilder) { + m := &MobileAppsGraphIosStoreAppCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.iosStoreApp/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMobileAppsGraphIosStoreAppCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphIosStoreAppCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphIosStoreAppCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphIosStoreAppCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MobileAppsGraphIosStoreAppCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphIosStoreAppCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MobileAppsGraphIosStoreAppCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphIosStoreAppCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphIosStoreAppCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphIosStoreAppCountRequestBuilder) { + return NewMobileAppsGraphIosStoreAppCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_ios_store_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_ios_store_app_request_builder.go new file mode 100644 index 00000000000..0fdfffe0bd3 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_ios_store_app_request_builder.go @@ -0,0 +1,97 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphIosStoreAppRequestBuilder casts the previous resource to iosStoreApp. +type MobileAppsGraphIosStoreAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphIosStoreAppRequestBuilderGetQueryParameters get the items of type microsoft.graph.iosStoreApp in the microsoft.graph.mobileApp collection +type MobileAppsGraphIosStoreAppRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MobileAppsGraphIosStoreAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphIosStoreAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphIosStoreAppRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphIosStoreAppRequestBuilderInternal instantiates a new GraphIosStoreAppRequestBuilder and sets the default values. +func NewMobileAppsGraphIosStoreAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphIosStoreAppRequestBuilder) { + m := &MobileAppsGraphIosStoreAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.iosStoreApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsGraphIosStoreAppRequestBuilder instantiates a new GraphIosStoreAppRequestBuilder and sets the default values. +func NewMobileAppsGraphIosStoreAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphIosStoreAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphIosStoreAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *MobileAppsGraphIosStoreAppRequestBuilder) Count()(*MobileAppsGraphIosStoreAppCountRequestBuilder) { + return NewMobileAppsGraphIosStoreAppCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.iosStoreApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphIosStoreAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphIosStoreAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IosStoreAppCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateIosStoreAppCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IosStoreAppCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.iosStoreApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphIosStoreAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphIosStoreAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphIosStoreAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphIosStoreAppRequestBuilder) { + return NewMobileAppsGraphIosStoreAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_ios_vpp_app_count_request_builder.go b/deviceappmanagement/mobile_apps_graph_ios_vpp_app_count_request_builder.go new file mode 100644 index 00000000000..1c301a32aa2 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_ios_vpp_app_count_request_builder.go @@ -0,0 +1,80 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphIosVppAppCountRequestBuilder provides operations to count the resources in the collection. +type MobileAppsGraphIosVppAppCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphIosVppAppCountRequestBuilderGetQueryParameters get the number of the resource +type MobileAppsGraphIosVppAppCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MobileAppsGraphIosVppAppCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphIosVppAppCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphIosVppAppCountRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphIosVppAppCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphIosVppAppCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphIosVppAppCountRequestBuilder) { + m := &MobileAppsGraphIosVppAppCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.iosVppApp/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMobileAppsGraphIosVppAppCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphIosVppAppCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphIosVppAppCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphIosVppAppCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MobileAppsGraphIosVppAppCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphIosVppAppCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MobileAppsGraphIosVppAppCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphIosVppAppCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphIosVppAppCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphIosVppAppCountRequestBuilder) { + return NewMobileAppsGraphIosVppAppCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_ios_vpp_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_ios_vpp_app_request_builder.go new file mode 100644 index 00000000000..d307d25b2e1 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_ios_vpp_app_request_builder.go @@ -0,0 +1,97 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphIosVppAppRequestBuilder casts the previous resource to iosVppApp. +type MobileAppsGraphIosVppAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphIosVppAppRequestBuilderGetQueryParameters get the items of type microsoft.graph.iosVppApp in the microsoft.graph.mobileApp collection +type MobileAppsGraphIosVppAppRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MobileAppsGraphIosVppAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphIosVppAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphIosVppAppRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphIosVppAppRequestBuilderInternal instantiates a new GraphIosVppAppRequestBuilder and sets the default values. +func NewMobileAppsGraphIosVppAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphIosVppAppRequestBuilder) { + m := &MobileAppsGraphIosVppAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.iosVppApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsGraphIosVppAppRequestBuilder instantiates a new GraphIosVppAppRequestBuilder and sets the default values. +func NewMobileAppsGraphIosVppAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphIosVppAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphIosVppAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *MobileAppsGraphIosVppAppRequestBuilder) Count()(*MobileAppsGraphIosVppAppCountRequestBuilder) { + return NewMobileAppsGraphIosVppAppCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.iosVppApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphIosVppAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphIosVppAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IosVppAppCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateIosVppAppCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IosVppAppCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.iosVppApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphIosVppAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphIosVppAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphIosVppAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphIosVppAppRequestBuilder) { + return NewMobileAppsGraphIosVppAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_mac_o_s_dmg_app_count_request_builder.go b/deviceappmanagement/mobile_apps_graph_mac_o_s_dmg_app_count_request_builder.go new file mode 100644 index 00000000000..aa1602bc8cf --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_mac_o_s_dmg_app_count_request_builder.go @@ -0,0 +1,80 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphMacOSDmgAppCountRequestBuilder provides operations to count the resources in the collection. +type MobileAppsGraphMacOSDmgAppCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphMacOSDmgAppCountRequestBuilderGetQueryParameters get the number of the resource +type MobileAppsGraphMacOSDmgAppCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MobileAppsGraphMacOSDmgAppCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphMacOSDmgAppCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphMacOSDmgAppCountRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphMacOSDmgAppCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphMacOSDmgAppCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphMacOSDmgAppCountRequestBuilder) { + m := &MobileAppsGraphMacOSDmgAppCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.macOSDmgApp/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMobileAppsGraphMacOSDmgAppCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphMacOSDmgAppCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphMacOSDmgAppCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphMacOSDmgAppCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MobileAppsGraphMacOSDmgAppCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphMacOSDmgAppCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MobileAppsGraphMacOSDmgAppCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphMacOSDmgAppCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphMacOSDmgAppCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphMacOSDmgAppCountRequestBuilder) { + return NewMobileAppsGraphMacOSDmgAppCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_mac_o_s_dmg_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_mac_o_s_dmg_app_request_builder.go new file mode 100644 index 00000000000..b1d923e0fc9 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_mac_o_s_dmg_app_request_builder.go @@ -0,0 +1,97 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphMacOSDmgAppRequestBuilder casts the previous resource to macOSDmgApp. +type MobileAppsGraphMacOSDmgAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphMacOSDmgAppRequestBuilderGetQueryParameters get the items of type microsoft.graph.macOSDmgApp in the microsoft.graph.mobileApp collection +type MobileAppsGraphMacOSDmgAppRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MobileAppsGraphMacOSDmgAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphMacOSDmgAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphMacOSDmgAppRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphMacOSDmgAppRequestBuilderInternal instantiates a new GraphMacOSDmgAppRequestBuilder and sets the default values. +func NewMobileAppsGraphMacOSDmgAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphMacOSDmgAppRequestBuilder) { + m := &MobileAppsGraphMacOSDmgAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.macOSDmgApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsGraphMacOSDmgAppRequestBuilder instantiates a new GraphMacOSDmgAppRequestBuilder and sets the default values. +func NewMobileAppsGraphMacOSDmgAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphMacOSDmgAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphMacOSDmgAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *MobileAppsGraphMacOSDmgAppRequestBuilder) Count()(*MobileAppsGraphMacOSDmgAppCountRequestBuilder) { + return NewMobileAppsGraphMacOSDmgAppCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.macOSDmgApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphMacOSDmgAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphMacOSDmgAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MacOSDmgAppCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMacOSDmgAppCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MacOSDmgAppCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.macOSDmgApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphMacOSDmgAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphMacOSDmgAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphMacOSDmgAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphMacOSDmgAppRequestBuilder) { + return NewMobileAppsGraphMacOSDmgAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_mac_o_s_lob_app_count_request_builder.go b/deviceappmanagement/mobile_apps_graph_mac_o_s_lob_app_count_request_builder.go new file mode 100644 index 00000000000..072ede3b506 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_mac_o_s_lob_app_count_request_builder.go @@ -0,0 +1,80 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphMacOSLobAppCountRequestBuilder provides operations to count the resources in the collection. +type MobileAppsGraphMacOSLobAppCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphMacOSLobAppCountRequestBuilderGetQueryParameters get the number of the resource +type MobileAppsGraphMacOSLobAppCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MobileAppsGraphMacOSLobAppCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphMacOSLobAppCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphMacOSLobAppCountRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphMacOSLobAppCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphMacOSLobAppCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphMacOSLobAppCountRequestBuilder) { + m := &MobileAppsGraphMacOSLobAppCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.macOSLobApp/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMobileAppsGraphMacOSLobAppCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphMacOSLobAppCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphMacOSLobAppCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphMacOSLobAppCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MobileAppsGraphMacOSLobAppCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphMacOSLobAppCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MobileAppsGraphMacOSLobAppCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphMacOSLobAppCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphMacOSLobAppCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphMacOSLobAppCountRequestBuilder) { + return NewMobileAppsGraphMacOSLobAppCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_mac_o_s_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_mac_o_s_lob_app_request_builder.go new file mode 100644 index 00000000000..1f1579c0f18 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_mac_o_s_lob_app_request_builder.go @@ -0,0 +1,97 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphMacOSLobAppRequestBuilder casts the previous resource to macOSLobApp. +type MobileAppsGraphMacOSLobAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphMacOSLobAppRequestBuilderGetQueryParameters get the items of type microsoft.graph.macOSLobApp in the microsoft.graph.mobileApp collection +type MobileAppsGraphMacOSLobAppRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MobileAppsGraphMacOSLobAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphMacOSLobAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphMacOSLobAppRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphMacOSLobAppRequestBuilderInternal instantiates a new GraphMacOSLobAppRequestBuilder and sets the default values. +func NewMobileAppsGraphMacOSLobAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphMacOSLobAppRequestBuilder) { + m := &MobileAppsGraphMacOSLobAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.macOSLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsGraphMacOSLobAppRequestBuilder instantiates a new GraphMacOSLobAppRequestBuilder and sets the default values. +func NewMobileAppsGraphMacOSLobAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphMacOSLobAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphMacOSLobAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *MobileAppsGraphMacOSLobAppRequestBuilder) Count()(*MobileAppsGraphMacOSLobAppCountRequestBuilder) { + return NewMobileAppsGraphMacOSLobAppCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.macOSLobApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphMacOSLobAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphMacOSLobAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MacOSLobAppCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMacOSLobAppCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MacOSLobAppCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.macOSLobApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphMacOSLobAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphMacOSLobAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphMacOSLobAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphMacOSLobAppRequestBuilder) { + return NewMobileAppsGraphMacOSLobAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_mac_o_s_pkg_app_count_request_builder.go b/deviceappmanagement/mobile_apps_graph_mac_o_s_pkg_app_count_request_builder.go new file mode 100644 index 00000000000..0d301bdb83f --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_mac_o_s_pkg_app_count_request_builder.go @@ -0,0 +1,80 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphMacOSPkgAppCountRequestBuilder provides operations to count the resources in the collection. +type MobileAppsGraphMacOSPkgAppCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphMacOSPkgAppCountRequestBuilderGetQueryParameters get the number of the resource +type MobileAppsGraphMacOSPkgAppCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MobileAppsGraphMacOSPkgAppCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphMacOSPkgAppCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphMacOSPkgAppCountRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphMacOSPkgAppCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphMacOSPkgAppCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphMacOSPkgAppCountRequestBuilder) { + m := &MobileAppsGraphMacOSPkgAppCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.macOSPkgApp/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMobileAppsGraphMacOSPkgAppCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphMacOSPkgAppCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphMacOSPkgAppCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphMacOSPkgAppCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MobileAppsGraphMacOSPkgAppCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphMacOSPkgAppCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MobileAppsGraphMacOSPkgAppCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphMacOSPkgAppCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphMacOSPkgAppCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphMacOSPkgAppCountRequestBuilder) { + return NewMobileAppsGraphMacOSPkgAppCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_mac_o_s_pkg_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_mac_o_s_pkg_app_request_builder.go new file mode 100644 index 00000000000..07a4e7ce2e2 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_mac_o_s_pkg_app_request_builder.go @@ -0,0 +1,97 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphMacOSPkgAppRequestBuilder casts the previous resource to macOSPkgApp. +type MobileAppsGraphMacOSPkgAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphMacOSPkgAppRequestBuilderGetQueryParameters get the items of type microsoft.graph.macOSPkgApp in the microsoft.graph.mobileApp collection +type MobileAppsGraphMacOSPkgAppRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MobileAppsGraphMacOSPkgAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphMacOSPkgAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphMacOSPkgAppRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphMacOSPkgAppRequestBuilderInternal instantiates a new GraphMacOSPkgAppRequestBuilder and sets the default values. +func NewMobileAppsGraphMacOSPkgAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphMacOSPkgAppRequestBuilder) { + m := &MobileAppsGraphMacOSPkgAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.macOSPkgApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsGraphMacOSPkgAppRequestBuilder instantiates a new GraphMacOSPkgAppRequestBuilder and sets the default values. +func NewMobileAppsGraphMacOSPkgAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphMacOSPkgAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphMacOSPkgAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *MobileAppsGraphMacOSPkgAppRequestBuilder) Count()(*MobileAppsGraphMacOSPkgAppCountRequestBuilder) { + return NewMobileAppsGraphMacOSPkgAppCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.macOSPkgApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphMacOSPkgAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphMacOSPkgAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MacOSPkgAppCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMacOSPkgAppCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MacOSPkgAppCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.macOSPkgApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphMacOSPkgAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphMacOSPkgAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphMacOSPkgAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphMacOSPkgAppRequestBuilder) { + return NewMobileAppsGraphMacOSPkgAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_managed_android_lob_app_count_request_builder.go b/deviceappmanagement/mobile_apps_graph_managed_android_lob_app_count_request_builder.go new file mode 100644 index 00000000000..a5e11ea3918 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_managed_android_lob_app_count_request_builder.go @@ -0,0 +1,80 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphManagedAndroidLobAppCountRequestBuilder provides operations to count the resources in the collection. +type MobileAppsGraphManagedAndroidLobAppCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphManagedAndroidLobAppCountRequestBuilderGetQueryParameters get the number of the resource +type MobileAppsGraphManagedAndroidLobAppCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MobileAppsGraphManagedAndroidLobAppCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphManagedAndroidLobAppCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphManagedAndroidLobAppCountRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphManagedAndroidLobAppCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphManagedAndroidLobAppCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphManagedAndroidLobAppCountRequestBuilder) { + m := &MobileAppsGraphManagedAndroidLobAppCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.managedAndroidLobApp/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMobileAppsGraphManagedAndroidLobAppCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphManagedAndroidLobAppCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphManagedAndroidLobAppCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphManagedAndroidLobAppCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MobileAppsGraphManagedAndroidLobAppCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphManagedAndroidLobAppCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MobileAppsGraphManagedAndroidLobAppCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphManagedAndroidLobAppCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphManagedAndroidLobAppCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphManagedAndroidLobAppCountRequestBuilder) { + return NewMobileAppsGraphManagedAndroidLobAppCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_managed_android_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_managed_android_lob_app_request_builder.go new file mode 100644 index 00000000000..aac32b36bf9 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_managed_android_lob_app_request_builder.go @@ -0,0 +1,97 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphManagedAndroidLobAppRequestBuilder casts the previous resource to managedAndroidLobApp. +type MobileAppsGraphManagedAndroidLobAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphManagedAndroidLobAppRequestBuilderGetQueryParameters get the items of type microsoft.graph.managedAndroidLobApp in the microsoft.graph.mobileApp collection +type MobileAppsGraphManagedAndroidLobAppRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MobileAppsGraphManagedAndroidLobAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphManagedAndroidLobAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphManagedAndroidLobAppRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphManagedAndroidLobAppRequestBuilderInternal instantiates a new GraphManagedAndroidLobAppRequestBuilder and sets the default values. +func NewMobileAppsGraphManagedAndroidLobAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphManagedAndroidLobAppRequestBuilder) { + m := &MobileAppsGraphManagedAndroidLobAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.managedAndroidLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsGraphManagedAndroidLobAppRequestBuilder instantiates a new GraphManagedAndroidLobAppRequestBuilder and sets the default values. +func NewMobileAppsGraphManagedAndroidLobAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphManagedAndroidLobAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphManagedAndroidLobAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *MobileAppsGraphManagedAndroidLobAppRequestBuilder) Count()(*MobileAppsGraphManagedAndroidLobAppCountRequestBuilder) { + return NewMobileAppsGraphManagedAndroidLobAppCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.managedAndroidLobApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphManagedAndroidLobAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphManagedAndroidLobAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ManagedAndroidLobAppCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateManagedAndroidLobAppCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ManagedAndroidLobAppCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.managedAndroidLobApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphManagedAndroidLobAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphManagedAndroidLobAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphManagedAndroidLobAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphManagedAndroidLobAppRequestBuilder) { + return NewMobileAppsGraphManagedAndroidLobAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_managed_i_o_s_lob_app_count_request_builder.go b/deviceappmanagement/mobile_apps_graph_managed_i_o_s_lob_app_count_request_builder.go new file mode 100644 index 00000000000..327c8cfd632 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_managed_i_o_s_lob_app_count_request_builder.go @@ -0,0 +1,80 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphManagedIOSLobAppCountRequestBuilder provides operations to count the resources in the collection. +type MobileAppsGraphManagedIOSLobAppCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphManagedIOSLobAppCountRequestBuilderGetQueryParameters get the number of the resource +type MobileAppsGraphManagedIOSLobAppCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MobileAppsGraphManagedIOSLobAppCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphManagedIOSLobAppCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphManagedIOSLobAppCountRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphManagedIOSLobAppCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphManagedIOSLobAppCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphManagedIOSLobAppCountRequestBuilder) { + m := &MobileAppsGraphManagedIOSLobAppCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.managedIOSLobApp/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMobileAppsGraphManagedIOSLobAppCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphManagedIOSLobAppCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphManagedIOSLobAppCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphManagedIOSLobAppCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MobileAppsGraphManagedIOSLobAppCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphManagedIOSLobAppCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MobileAppsGraphManagedIOSLobAppCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphManagedIOSLobAppCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphManagedIOSLobAppCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphManagedIOSLobAppCountRequestBuilder) { + return NewMobileAppsGraphManagedIOSLobAppCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_managed_i_o_s_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_managed_i_o_s_lob_app_request_builder.go new file mode 100644 index 00000000000..357b4021c87 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_managed_i_o_s_lob_app_request_builder.go @@ -0,0 +1,97 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphManagedIOSLobAppRequestBuilder casts the previous resource to managedIOSLobApp. +type MobileAppsGraphManagedIOSLobAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphManagedIOSLobAppRequestBuilderGetQueryParameters get the items of type microsoft.graph.managedIOSLobApp in the microsoft.graph.mobileApp collection +type MobileAppsGraphManagedIOSLobAppRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MobileAppsGraphManagedIOSLobAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphManagedIOSLobAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphManagedIOSLobAppRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphManagedIOSLobAppRequestBuilderInternal instantiates a new GraphManagedIOSLobAppRequestBuilder and sets the default values. +func NewMobileAppsGraphManagedIOSLobAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphManagedIOSLobAppRequestBuilder) { + m := &MobileAppsGraphManagedIOSLobAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.managedIOSLobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsGraphManagedIOSLobAppRequestBuilder instantiates a new GraphManagedIOSLobAppRequestBuilder and sets the default values. +func NewMobileAppsGraphManagedIOSLobAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphManagedIOSLobAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphManagedIOSLobAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *MobileAppsGraphManagedIOSLobAppRequestBuilder) Count()(*MobileAppsGraphManagedIOSLobAppCountRequestBuilder) { + return NewMobileAppsGraphManagedIOSLobAppCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.managedIOSLobApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphManagedIOSLobAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphManagedIOSLobAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ManagedIOSLobAppCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateManagedIOSLobAppCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ManagedIOSLobAppCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.managedIOSLobApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphManagedIOSLobAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphManagedIOSLobAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphManagedIOSLobAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphManagedIOSLobAppRequestBuilder) { + return NewMobileAppsGraphManagedIOSLobAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_managed_mobile_lob_app_count_request_builder.go b/deviceappmanagement/mobile_apps_graph_managed_mobile_lob_app_count_request_builder.go index 8844baf336b..86a01d721ab 100644 --- a/deviceappmanagement/mobile_apps_graph_managed_mobile_lob_app_count_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_managed_mobile_lob_app_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MobileAppsGraphManagedMobileLobAppCountRequestBuilder) ToGetRequestInfo } 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 *MobileAppsGraphManagedMobileLobAppCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphManagedMobileLobAppCountRequestBuilder) { + return NewMobileAppsGraphManagedMobileLobAppCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_managed_mobile_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_managed_mobile_lob_app_request_builder.go index 8e0ccc5f66b..89e4df2183d 100644 --- a/deviceappmanagement/mobile_apps_graph_managed_mobile_lob_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_managed_mobile_lob_app_request_builder.go @@ -91,3 +91,7 @@ func (m *MobileAppsGraphManagedMobileLobAppRequestBuilder) ToGetRequestInformati } 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 *MobileAppsGraphManagedMobileLobAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphManagedMobileLobAppRequestBuilder) { + return NewMobileAppsGraphManagedMobileLobAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_microsoft_store_for_business_app_count_request_builder.go b/deviceappmanagement/mobile_apps_graph_microsoft_store_for_business_app_count_request_builder.go new file mode 100644 index 00000000000..74e976f4d48 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_microsoft_store_for_business_app_count_request_builder.go @@ -0,0 +1,80 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilder provides operations to count the resources in the collection. +type MobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilderGetQueryParameters get the number of the resource +type MobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilder) { + m := &MobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.microsoftStoreForBusinessApp/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilder) { + return NewMobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_microsoft_store_for_business_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_microsoft_store_for_business_app_request_builder.go new file mode 100644 index 00000000000..49d25cc8956 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_microsoft_store_for_business_app_request_builder.go @@ -0,0 +1,97 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilder casts the previous resource to microsoftStoreForBusinessApp. +type MobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters get the items of type microsoft.graph.microsoftStoreForBusinessApp in the microsoft.graph.mobileApp collection +type MobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilderInternal instantiates a new GraphMicrosoftStoreForBusinessAppRequestBuilder and sets the default values. +func NewMobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilder) { + m := &MobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.microsoftStoreForBusinessApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilder instantiates a new GraphMicrosoftStoreForBusinessAppRequestBuilder and sets the default values. +func NewMobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *MobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilder) Count()(*MobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilder) { + return NewMobileAppsGraphMicrosoftStoreForBusinessAppCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.microsoftStoreForBusinessApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MicrosoftStoreForBusinessAppCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMicrosoftStoreForBusinessAppCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MicrosoftStoreForBusinessAppCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.microsoftStoreForBusinessApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilder) { + return NewMobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_win32_lob_app_count_request_builder.go b/deviceappmanagement/mobile_apps_graph_win32_lob_app_count_request_builder.go new file mode 100644 index 00000000000..75e69ec9850 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_win32_lob_app_count_request_builder.go @@ -0,0 +1,80 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphWin32LobAppCountRequestBuilder provides operations to count the resources in the collection. +type MobileAppsGraphWin32LobAppCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphWin32LobAppCountRequestBuilderGetQueryParameters get the number of the resource +type MobileAppsGraphWin32LobAppCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MobileAppsGraphWin32LobAppCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphWin32LobAppCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphWin32LobAppCountRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphWin32LobAppCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphWin32LobAppCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWin32LobAppCountRequestBuilder) { + m := &MobileAppsGraphWin32LobAppCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.win32LobApp/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMobileAppsGraphWin32LobAppCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphWin32LobAppCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWin32LobAppCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphWin32LobAppCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MobileAppsGraphWin32LobAppCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphWin32LobAppCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MobileAppsGraphWin32LobAppCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphWin32LobAppCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphWin32LobAppCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphWin32LobAppCountRequestBuilder) { + return NewMobileAppsGraphWin32LobAppCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_win32_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_win32_lob_app_request_builder.go new file mode 100644 index 00000000000..507295f447b --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_win32_lob_app_request_builder.go @@ -0,0 +1,97 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphWin32LobAppRequestBuilder casts the previous resource to win32LobApp. +type MobileAppsGraphWin32LobAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphWin32LobAppRequestBuilderGetQueryParameters get the items of type microsoft.graph.win32LobApp in the microsoft.graph.mobileApp collection +type MobileAppsGraphWin32LobAppRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MobileAppsGraphWin32LobAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphWin32LobAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphWin32LobAppRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphWin32LobAppRequestBuilderInternal instantiates a new GraphWin32LobAppRequestBuilder and sets the default values. +func NewMobileAppsGraphWin32LobAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWin32LobAppRequestBuilder) { + m := &MobileAppsGraphWin32LobAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.win32LobApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsGraphWin32LobAppRequestBuilder instantiates a new GraphWin32LobAppRequestBuilder and sets the default values. +func NewMobileAppsGraphWin32LobAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWin32LobAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphWin32LobAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *MobileAppsGraphWin32LobAppRequestBuilder) Count()(*MobileAppsGraphWin32LobAppCountRequestBuilder) { + return NewMobileAppsGraphWin32LobAppCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.win32LobApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphWin32LobAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphWin32LobAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Win32LobAppCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWin32LobAppCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Win32LobAppCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.win32LobApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphWin32LobAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphWin32LobAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphWin32LobAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphWin32LobAppRequestBuilder) { + return NewMobileAppsGraphWin32LobAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_win_get_app_count_request_builder.go b/deviceappmanagement/mobile_apps_graph_win_get_app_count_request_builder.go new file mode 100644 index 00000000000..a242fe1c01e --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_win_get_app_count_request_builder.go @@ -0,0 +1,80 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphWinGetAppCountRequestBuilder provides operations to count the resources in the collection. +type MobileAppsGraphWinGetAppCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphWinGetAppCountRequestBuilderGetQueryParameters get the number of the resource +type MobileAppsGraphWinGetAppCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MobileAppsGraphWinGetAppCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphWinGetAppCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphWinGetAppCountRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphWinGetAppCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphWinGetAppCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWinGetAppCountRequestBuilder) { + m := &MobileAppsGraphWinGetAppCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.winGetApp/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMobileAppsGraphWinGetAppCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphWinGetAppCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWinGetAppCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphWinGetAppCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MobileAppsGraphWinGetAppCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphWinGetAppCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MobileAppsGraphWinGetAppCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphWinGetAppCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphWinGetAppCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphWinGetAppCountRequestBuilder) { + return NewMobileAppsGraphWinGetAppCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_win_get_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_win_get_app_request_builder.go new file mode 100644 index 00000000000..1b94f728baf --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_win_get_app_request_builder.go @@ -0,0 +1,97 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphWinGetAppRequestBuilder casts the previous resource to winGetApp. +type MobileAppsGraphWinGetAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphWinGetAppRequestBuilderGetQueryParameters get the items of type microsoft.graph.winGetApp in the microsoft.graph.mobileApp collection +type MobileAppsGraphWinGetAppRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MobileAppsGraphWinGetAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphWinGetAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphWinGetAppRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphWinGetAppRequestBuilderInternal instantiates a new GraphWinGetAppRequestBuilder and sets the default values. +func NewMobileAppsGraphWinGetAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWinGetAppRequestBuilder) { + m := &MobileAppsGraphWinGetAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.winGetApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsGraphWinGetAppRequestBuilder instantiates a new GraphWinGetAppRequestBuilder and sets the default values. +func NewMobileAppsGraphWinGetAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWinGetAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphWinGetAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *MobileAppsGraphWinGetAppRequestBuilder) Count()(*MobileAppsGraphWinGetAppCountRequestBuilder) { + return NewMobileAppsGraphWinGetAppCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.winGetApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphWinGetAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphWinGetAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WinGetAppCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWinGetAppCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WinGetAppCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.winGetApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphWinGetAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphWinGetAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphWinGetAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphWinGetAppRequestBuilder) { + return NewMobileAppsGraphWinGetAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_windows_app_x_count_request_builder.go b/deviceappmanagement/mobile_apps_graph_windows_app_x_count_request_builder.go new file mode 100644 index 00000000000..a1e8aa6ea21 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_windows_app_x_count_request_builder.go @@ -0,0 +1,80 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphWindowsAppXCountRequestBuilder provides operations to count the resources in the collection. +type MobileAppsGraphWindowsAppXCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphWindowsAppXCountRequestBuilderGetQueryParameters get the number of the resource +type MobileAppsGraphWindowsAppXCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MobileAppsGraphWindowsAppXCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphWindowsAppXCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphWindowsAppXCountRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphWindowsAppXCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphWindowsAppXCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWindowsAppXCountRequestBuilder) { + m := &MobileAppsGraphWindowsAppXCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.windowsAppX/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMobileAppsGraphWindowsAppXCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphWindowsAppXCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWindowsAppXCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphWindowsAppXCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MobileAppsGraphWindowsAppXCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphWindowsAppXCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MobileAppsGraphWindowsAppXCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphWindowsAppXCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphWindowsAppXCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphWindowsAppXCountRequestBuilder) { + return NewMobileAppsGraphWindowsAppXCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_windows_app_x_request_builder.go b/deviceappmanagement/mobile_apps_graph_windows_app_x_request_builder.go new file mode 100644 index 00000000000..ded69f4ce12 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_windows_app_x_request_builder.go @@ -0,0 +1,97 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphWindowsAppXRequestBuilder casts the previous resource to windowsAppX. +type MobileAppsGraphWindowsAppXRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphWindowsAppXRequestBuilderGetQueryParameters get the items of type microsoft.graph.windowsAppX in the microsoft.graph.mobileApp collection +type MobileAppsGraphWindowsAppXRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MobileAppsGraphWindowsAppXRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphWindowsAppXRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphWindowsAppXRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphWindowsAppXRequestBuilderInternal instantiates a new GraphWindowsAppXRequestBuilder and sets the default values. +func NewMobileAppsGraphWindowsAppXRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWindowsAppXRequestBuilder) { + m := &MobileAppsGraphWindowsAppXRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.windowsAppX{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsGraphWindowsAppXRequestBuilder instantiates a new GraphWindowsAppXRequestBuilder and sets the default values. +func NewMobileAppsGraphWindowsAppXRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWindowsAppXRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphWindowsAppXRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *MobileAppsGraphWindowsAppXRequestBuilder) Count()(*MobileAppsGraphWindowsAppXCountRequestBuilder) { + return NewMobileAppsGraphWindowsAppXCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.windowsAppX in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphWindowsAppXRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphWindowsAppXRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsAppXCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWindowsAppXCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsAppXCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.windowsAppX in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphWindowsAppXRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphWindowsAppXRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphWindowsAppXRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphWindowsAppXRequestBuilder) { + return NewMobileAppsGraphWindowsAppXRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_windows_mobile_m_s_i_count_request_builder.go b/deviceappmanagement/mobile_apps_graph_windows_mobile_m_s_i_count_request_builder.go new file mode 100644 index 00000000000..526fa96a4e4 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_windows_mobile_m_s_i_count_request_builder.go @@ -0,0 +1,80 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphWindowsMobileMSICountRequestBuilder provides operations to count the resources in the collection. +type MobileAppsGraphWindowsMobileMSICountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphWindowsMobileMSICountRequestBuilderGetQueryParameters get the number of the resource +type MobileAppsGraphWindowsMobileMSICountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MobileAppsGraphWindowsMobileMSICountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphWindowsMobileMSICountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphWindowsMobileMSICountRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphWindowsMobileMSICountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphWindowsMobileMSICountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWindowsMobileMSICountRequestBuilder) { + m := &MobileAppsGraphWindowsMobileMSICountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.windowsMobileMSI/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMobileAppsGraphWindowsMobileMSICountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphWindowsMobileMSICountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWindowsMobileMSICountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphWindowsMobileMSICountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MobileAppsGraphWindowsMobileMSICountRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphWindowsMobileMSICountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MobileAppsGraphWindowsMobileMSICountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphWindowsMobileMSICountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphWindowsMobileMSICountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphWindowsMobileMSICountRequestBuilder) { + return NewMobileAppsGraphWindowsMobileMSICountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_windows_mobile_m_s_i_request_builder.go b/deviceappmanagement/mobile_apps_graph_windows_mobile_m_s_i_request_builder.go new file mode 100644 index 00000000000..8bc6544b353 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_windows_mobile_m_s_i_request_builder.go @@ -0,0 +1,97 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphWindowsMobileMSIRequestBuilder casts the previous resource to windowsMobileMSI. +type MobileAppsGraphWindowsMobileMSIRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphWindowsMobileMSIRequestBuilderGetQueryParameters get the items of type microsoft.graph.windowsMobileMSI in the microsoft.graph.mobileApp collection +type MobileAppsGraphWindowsMobileMSIRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MobileAppsGraphWindowsMobileMSIRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphWindowsMobileMSIRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphWindowsMobileMSIRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphWindowsMobileMSIRequestBuilderInternal instantiates a new GraphWindowsMobileMSIRequestBuilder and sets the default values. +func NewMobileAppsGraphWindowsMobileMSIRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWindowsMobileMSIRequestBuilder) { + m := &MobileAppsGraphWindowsMobileMSIRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.windowsMobileMSI{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsGraphWindowsMobileMSIRequestBuilder instantiates a new GraphWindowsMobileMSIRequestBuilder and sets the default values. +func NewMobileAppsGraphWindowsMobileMSIRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWindowsMobileMSIRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphWindowsMobileMSIRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *MobileAppsGraphWindowsMobileMSIRequestBuilder) Count()(*MobileAppsGraphWindowsMobileMSICountRequestBuilder) { + return NewMobileAppsGraphWindowsMobileMSICountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.windowsMobileMSI in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphWindowsMobileMSIRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphWindowsMobileMSIRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsMobileMSICollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWindowsMobileMSICollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsMobileMSICollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.windowsMobileMSI in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphWindowsMobileMSIRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphWindowsMobileMSIRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphWindowsMobileMSIRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphWindowsMobileMSIRequestBuilder) { + return NewMobileAppsGraphWindowsMobileMSIRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_windows_store_app_count_request_builder.go b/deviceappmanagement/mobile_apps_graph_windows_store_app_count_request_builder.go new file mode 100644 index 00000000000..1bc6522d6d7 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_windows_store_app_count_request_builder.go @@ -0,0 +1,80 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphWindowsStoreAppCountRequestBuilder provides operations to count the resources in the collection. +type MobileAppsGraphWindowsStoreAppCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphWindowsStoreAppCountRequestBuilderGetQueryParameters get the number of the resource +type MobileAppsGraphWindowsStoreAppCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MobileAppsGraphWindowsStoreAppCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphWindowsStoreAppCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphWindowsStoreAppCountRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphWindowsStoreAppCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphWindowsStoreAppCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWindowsStoreAppCountRequestBuilder) { + m := &MobileAppsGraphWindowsStoreAppCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.windowsStoreApp/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMobileAppsGraphWindowsStoreAppCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphWindowsStoreAppCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWindowsStoreAppCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphWindowsStoreAppCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MobileAppsGraphWindowsStoreAppCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphWindowsStoreAppCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MobileAppsGraphWindowsStoreAppCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphWindowsStoreAppCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphWindowsStoreAppCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphWindowsStoreAppCountRequestBuilder) { + return NewMobileAppsGraphWindowsStoreAppCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_windows_store_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_windows_store_app_request_builder.go new file mode 100644 index 00000000000..5a5911ef9c7 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_windows_store_app_request_builder.go @@ -0,0 +1,97 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphWindowsStoreAppRequestBuilder casts the previous resource to windowsStoreApp. +type MobileAppsGraphWindowsStoreAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphWindowsStoreAppRequestBuilderGetQueryParameters get the items of type microsoft.graph.windowsStoreApp in the microsoft.graph.mobileApp collection +type MobileAppsGraphWindowsStoreAppRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MobileAppsGraphWindowsStoreAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphWindowsStoreAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphWindowsStoreAppRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphWindowsStoreAppRequestBuilderInternal instantiates a new GraphWindowsStoreAppRequestBuilder and sets the default values. +func NewMobileAppsGraphWindowsStoreAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWindowsStoreAppRequestBuilder) { + m := &MobileAppsGraphWindowsStoreAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.windowsStoreApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsGraphWindowsStoreAppRequestBuilder instantiates a new GraphWindowsStoreAppRequestBuilder and sets the default values. +func NewMobileAppsGraphWindowsStoreAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWindowsStoreAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphWindowsStoreAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *MobileAppsGraphWindowsStoreAppRequestBuilder) Count()(*MobileAppsGraphWindowsStoreAppCountRequestBuilder) { + return NewMobileAppsGraphWindowsStoreAppCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.windowsStoreApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphWindowsStoreAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphWindowsStoreAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsStoreAppCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWindowsStoreAppCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsStoreAppCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.windowsStoreApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphWindowsStoreAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphWindowsStoreAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphWindowsStoreAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphWindowsStoreAppRequestBuilder) { + return NewMobileAppsGraphWindowsStoreAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_windows_universal_app_x_count_request_builder.go b/deviceappmanagement/mobile_apps_graph_windows_universal_app_x_count_request_builder.go new file mode 100644 index 00000000000..22ae5b8affd --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_windows_universal_app_x_count_request_builder.go @@ -0,0 +1,80 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphWindowsUniversalAppXCountRequestBuilder provides operations to count the resources in the collection. +type MobileAppsGraphWindowsUniversalAppXCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphWindowsUniversalAppXCountRequestBuilderGetQueryParameters get the number of the resource +type MobileAppsGraphWindowsUniversalAppXCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MobileAppsGraphWindowsUniversalAppXCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphWindowsUniversalAppXCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphWindowsUniversalAppXCountRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphWindowsUniversalAppXCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphWindowsUniversalAppXCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWindowsUniversalAppXCountRequestBuilder) { + m := &MobileAppsGraphWindowsUniversalAppXCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.windowsUniversalAppX/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMobileAppsGraphWindowsUniversalAppXCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphWindowsUniversalAppXCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWindowsUniversalAppXCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphWindowsUniversalAppXCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MobileAppsGraphWindowsUniversalAppXCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphWindowsUniversalAppXCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MobileAppsGraphWindowsUniversalAppXCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphWindowsUniversalAppXCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphWindowsUniversalAppXCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphWindowsUniversalAppXCountRequestBuilder) { + return NewMobileAppsGraphWindowsUniversalAppXCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_windows_universal_app_x_request_builder.go b/deviceappmanagement/mobile_apps_graph_windows_universal_app_x_request_builder.go new file mode 100644 index 00000000000..4ddcb13c1e0 --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_windows_universal_app_x_request_builder.go @@ -0,0 +1,97 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphWindowsUniversalAppXRequestBuilder casts the previous resource to windowsUniversalAppX. +type MobileAppsGraphWindowsUniversalAppXRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphWindowsUniversalAppXRequestBuilderGetQueryParameters get the items of type microsoft.graph.windowsUniversalAppX in the microsoft.graph.mobileApp collection +type MobileAppsGraphWindowsUniversalAppXRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MobileAppsGraphWindowsUniversalAppXRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphWindowsUniversalAppXRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphWindowsUniversalAppXRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphWindowsUniversalAppXRequestBuilderInternal instantiates a new GraphWindowsUniversalAppXRequestBuilder and sets the default values. +func NewMobileAppsGraphWindowsUniversalAppXRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWindowsUniversalAppXRequestBuilder) { + m := &MobileAppsGraphWindowsUniversalAppXRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.windowsUniversalAppX{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsGraphWindowsUniversalAppXRequestBuilder instantiates a new GraphWindowsUniversalAppXRequestBuilder and sets the default values. +func NewMobileAppsGraphWindowsUniversalAppXRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWindowsUniversalAppXRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphWindowsUniversalAppXRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *MobileAppsGraphWindowsUniversalAppXRequestBuilder) Count()(*MobileAppsGraphWindowsUniversalAppXCountRequestBuilder) { + return NewMobileAppsGraphWindowsUniversalAppXCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.windowsUniversalAppX in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphWindowsUniversalAppXRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphWindowsUniversalAppXRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsUniversalAppXCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWindowsUniversalAppXCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsUniversalAppXCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.windowsUniversalAppX in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphWindowsUniversalAppXRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphWindowsUniversalAppXRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphWindowsUniversalAppXRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphWindowsUniversalAppXRequestBuilder) { + return NewMobileAppsGraphWindowsUniversalAppXRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_windows_web_app_count_request_builder.go b/deviceappmanagement/mobile_apps_graph_windows_web_app_count_request_builder.go new file mode 100644 index 00000000000..d37324d985b --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_windows_web_app_count_request_builder.go @@ -0,0 +1,80 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphWindowsWebAppCountRequestBuilder provides operations to count the resources in the collection. +type MobileAppsGraphWindowsWebAppCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphWindowsWebAppCountRequestBuilderGetQueryParameters get the number of the resource +type MobileAppsGraphWindowsWebAppCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MobileAppsGraphWindowsWebAppCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphWindowsWebAppCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphWindowsWebAppCountRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphWindowsWebAppCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphWindowsWebAppCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWindowsWebAppCountRequestBuilder) { + m := &MobileAppsGraphWindowsWebAppCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.windowsWebApp/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMobileAppsGraphWindowsWebAppCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMobileAppsGraphWindowsWebAppCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWindowsWebAppCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphWindowsWebAppCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MobileAppsGraphWindowsWebAppCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphWindowsWebAppCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MobileAppsGraphWindowsWebAppCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphWindowsWebAppCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphWindowsWebAppCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphWindowsWebAppCountRequestBuilder) { + return NewMobileAppsGraphWindowsWebAppCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_windows_web_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_windows_web_app_request_builder.go new file mode 100644 index 00000000000..e17a2485d3a --- /dev/null +++ b/deviceappmanagement/mobile_apps_graph_windows_web_app_request_builder.go @@ -0,0 +1,97 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsGraphWindowsWebAppRequestBuilder casts the previous resource to windowsWebApp. +type MobileAppsGraphWindowsWebAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsGraphWindowsWebAppRequestBuilderGetQueryParameters get the items of type microsoft.graph.windowsWebApp in the microsoft.graph.mobileApp collection +type MobileAppsGraphWindowsWebAppRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MobileAppsGraphWindowsWebAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsGraphWindowsWebAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsGraphWindowsWebAppRequestBuilderGetQueryParameters +} +// NewMobileAppsGraphWindowsWebAppRequestBuilderInternal instantiates a new GraphWindowsWebAppRequestBuilder and sets the default values. +func NewMobileAppsGraphWindowsWebAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWindowsWebAppRequestBuilder) { + m := &MobileAppsGraphWindowsWebAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.windowsWebApp{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsGraphWindowsWebAppRequestBuilder instantiates a new GraphWindowsWebAppRequestBuilder and sets the default values. +func NewMobileAppsGraphWindowsWebAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphWindowsWebAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsGraphWindowsWebAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *MobileAppsGraphWindowsWebAppRequestBuilder) Count()(*MobileAppsGraphWindowsWebAppCountRequestBuilder) { + return NewMobileAppsGraphWindowsWebAppCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.windowsWebApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphWindowsWebAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphWindowsWebAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsWebAppCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWindowsWebAppCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsWebAppCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.windowsWebApp in the microsoft.graph.mobileApp collection +func (m *MobileAppsGraphWindowsWebAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphWindowsWebAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsGraphWindowsWebAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsGraphWindowsWebAppRequestBuilder) { + return NewMobileAppsGraphWindowsWebAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_has_payload_links_request_builder.go b/deviceappmanagement/mobile_apps_has_payload_links_request_builder.go index cd5047fd49c..ffcf80169f7 100644 --- a/deviceappmanagement/mobile_apps_has_payload_links_request_builder.go +++ b/deviceappmanagement/mobile_apps_has_payload_links_request_builder.go @@ -66,3 +66,7 @@ func (m *MobileAppsHasPayloadLinksRequestBuilder) ToPostRequestInformation(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 *MobileAppsHasPayloadLinksRequestBuilder) WithUrl(rawUrl string)(*MobileAppsHasPayloadLinksRequestBuilder) { + return NewMobileAppsHasPayloadLinksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_assign_request_builder.go b/deviceappmanagement/mobile_apps_item_assign_request_builder.go index d2a636a2b53..9abdb0176d9 100644 --- a/deviceappmanagement/mobile_apps_item_assign_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_assign_request_builder.go @@ -62,3 +62,7 @@ func (m *MobileAppsItemAssignRequestBuilder) ToPostRequestInformation(ctx contex } 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 *MobileAppsItemAssignRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemAssignRequestBuilder) { + return NewMobileAppsItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_assignments_count_request_builder.go b/deviceappmanagement/mobile_apps_item_assignments_count_request_builder.go index 362601a7a9e..55e4c7220d5 100644 --- a/deviceappmanagement/mobile_apps_item_assignments_count_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MobileAppsItemAssignmentsCountRequestBuilder) ToGetRequestInformation(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 *MobileAppsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemAssignmentsCountRequestBuilder) { + return NewMobileAppsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_assignments_mobile_app_assignment_item_request_builder.go index c9ab21ce91e..deebaf68b94 100644 --- a/deviceappmanagement/mobile_apps_item_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_assignments_mobile_app_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilder) ToPatch } 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 *MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilder) { + return NewMobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_assignments_request_builder.go index aa8d3c2c5b5..32e7f818769 100644 --- a/deviceappmanagement/mobile_apps_item_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type MobileAppsItemAssignmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMobileAppAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. -func (m *MobileAppsItemAssignmentsRequestBuilder) ByMobileAppAssignmentIdString(mobileAppAssignmentId string)(*MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilder) { +// ByMobileAppAssignmentId provides operations to manage the assignments property of the microsoft.graph.mobileApp entity. +func (m *MobileAppsItemAssignmentsRequestBuilder) ByMobileAppAssignmentId(mobileAppAssignmentId string)(*MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MobileAppsItemAssignmentsRequestBuilder) ToPostRequestInformation(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 *MobileAppsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemAssignmentsRequestBuilder) { + return NewMobileAppsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_categories_count_request_builder.go b/deviceappmanagement/mobile_apps_item_categories_count_request_builder.go index a1c46145abb..2a27582d6e1 100644 --- a/deviceappmanagement/mobile_apps_item_categories_count_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_categories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MobileAppsItemCategoriesCountRequestBuilder) ToGetRequestInformation(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 *MobileAppsItemCategoriesCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemCategoriesCountRequestBuilder) { + return NewMobileAppsItemCategoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_categories_mobile_app_category_item_request_builder.go index 1e9263b2587..4db0334a142 100644 --- a/deviceappmanagement/mobile_apps_item_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_categories_mobile_app_category_item_request_builder.go @@ -75,3 +75,7 @@ func (m *MobileAppsItemCategoriesMobileAppCategoryItemRequestBuilder) ToGetReque } 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 *MobileAppsItemCategoriesMobileAppCategoryItemRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemCategoriesMobileAppCategoryItemRequestBuilder) { + return NewMobileAppsItemCategoriesMobileAppCategoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_categories_request_builder.go index 40327430260..b8f1e6fb048 100644 --- a/deviceappmanagement/mobile_apps_item_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_categories_request_builder.go @@ -39,8 +39,8 @@ type MobileAppsItemCategoriesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *MobileAppsItemCategoriesRequestBuilderGetQueryParameters } -// ByMobileAppCategoryIdString provides operations to manage the categories property of the microsoft.graph.mobileApp entity. -func (m *MobileAppsItemCategoriesRequestBuilder) ByMobileAppCategoryIdString(mobileAppCategoryId string)(*MobileAppsItemCategoriesMobileAppCategoryItemRequestBuilder) { +// ByMobileAppCategoryId provides operations to manage the categories property of the microsoft.graph.mobileApp entity. +func (m *MobileAppsItemCategoriesRequestBuilder) ByMobileAppCategoryId(mobileAppCategoryId string)(*MobileAppsItemCategoriesMobileAppCategoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *MobileAppsItemCategoriesRequestBuilder) ToGetRequestInformation(ctx con } 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 *MobileAppsItemCategoriesRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemCategoriesRequestBuilder) { + return NewMobileAppsItemCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_request_builder.go new file mode 100644 index 00000000000..59a8027d563 --- /dev/null +++ b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_request_builder.go @@ -0,0 +1,81 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsItemGraphAndroidForWorkAppRequestBuilder casts the previous resource to androidForWorkApp. +type MobileAppsItemGraphAndroidForWorkAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsItemGraphAndroidForWorkAppRequestBuilderGetQueryParameters get the item of type microsoft.graph.mobileApp as microsoft.graph.androidForWorkApp +type MobileAppsItemGraphAndroidForWorkAppRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MobileAppsItemGraphAndroidForWorkAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsItemGraphAndroidForWorkAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsItemGraphAndroidForWorkAppRequestBuilderGetQueryParameters +} +// NewMobileAppsItemGraphAndroidForWorkAppRequestBuilderInternal instantiates a new GraphAndroidForWorkAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphAndroidForWorkAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphAndroidForWorkAppRequestBuilder) { + m := &MobileAppsItemGraphAndroidForWorkAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidForWorkApp{?%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsItemGraphAndroidForWorkAppRequestBuilder instantiates a new GraphAndroidForWorkAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphAndroidForWorkAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphAndroidForWorkAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsItemGraphAndroidForWorkAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.mobileApp as microsoft.graph.androidForWorkApp +func (m *MobileAppsItemGraphAndroidForWorkAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidForWorkAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AndroidForWorkAppable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAndroidForWorkAppFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AndroidForWorkAppable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.mobileApp as microsoft.graph.androidForWorkApp +func (m *MobileAppsItemGraphAndroidForWorkAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidForWorkAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsItemGraphAndroidForWorkAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemGraphAndroidForWorkAppRequestBuilder) { + return NewMobileAppsItemGraphAndroidForWorkAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_request_builder.go new file mode 100644 index 00000000000..8dc07abd8c2 --- /dev/null +++ b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_request_builder.go @@ -0,0 +1,81 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsItemGraphAndroidLobAppRequestBuilder casts the previous resource to androidLobApp. +type MobileAppsItemGraphAndroidLobAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsItemGraphAndroidLobAppRequestBuilderGetQueryParameters get the item of type microsoft.graph.mobileApp as microsoft.graph.androidLobApp +type MobileAppsItemGraphAndroidLobAppRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MobileAppsItemGraphAndroidLobAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsItemGraphAndroidLobAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsItemGraphAndroidLobAppRequestBuilderGetQueryParameters +} +// NewMobileAppsItemGraphAndroidLobAppRequestBuilderInternal instantiates a new GraphAndroidLobAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphAndroidLobAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphAndroidLobAppRequestBuilder) { + m := &MobileAppsItemGraphAndroidLobAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp{?%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsItemGraphAndroidLobAppRequestBuilder instantiates a new GraphAndroidLobAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphAndroidLobAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphAndroidLobAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsItemGraphAndroidLobAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.mobileApp as microsoft.graph.androidLobApp +func (m *MobileAppsItemGraphAndroidLobAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidLobAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AndroidLobAppable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAndroidLobAppFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AndroidLobAppable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.mobileApp as microsoft.graph.androidLobApp +func (m *MobileAppsItemGraphAndroidLobAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidLobAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsItemGraphAndroidLobAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemGraphAndroidLobAppRequestBuilder) { + return NewMobileAppsItemGraphAndroidLobAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_request_builder.go new file mode 100644 index 00000000000..53ed8846ddb --- /dev/null +++ b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_request_builder.go @@ -0,0 +1,81 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsItemGraphAndroidManagedStoreAppRequestBuilder casts the previous resource to androidManagedStoreApp. +type MobileAppsItemGraphAndroidManagedStoreAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsItemGraphAndroidManagedStoreAppRequestBuilderGetQueryParameters get the item of type microsoft.graph.mobileApp as microsoft.graph.androidManagedStoreApp +type MobileAppsItemGraphAndroidManagedStoreAppRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MobileAppsItemGraphAndroidManagedStoreAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsItemGraphAndroidManagedStoreAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsItemGraphAndroidManagedStoreAppRequestBuilderGetQueryParameters +} +// NewMobileAppsItemGraphAndroidManagedStoreAppRequestBuilderInternal instantiates a new GraphAndroidManagedStoreAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphAndroidManagedStoreAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphAndroidManagedStoreAppRequestBuilder) { + m := &MobileAppsItemGraphAndroidManagedStoreAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidManagedStoreApp{?%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsItemGraphAndroidManagedStoreAppRequestBuilder instantiates a new GraphAndroidManagedStoreAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphAndroidManagedStoreAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphAndroidManagedStoreAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsItemGraphAndroidManagedStoreAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.mobileApp as microsoft.graph.androidManagedStoreApp +func (m *MobileAppsItemGraphAndroidManagedStoreAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidManagedStoreAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AndroidManagedStoreAppable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAndroidManagedStoreAppFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AndroidManagedStoreAppable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.mobileApp as microsoft.graph.androidManagedStoreApp +func (m *MobileAppsItemGraphAndroidManagedStoreAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidManagedStoreAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsItemGraphAndroidManagedStoreAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemGraphAndroidManagedStoreAppRequestBuilder) { + return NewMobileAppsItemGraphAndroidManagedStoreAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_graph_android_store_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_store_app_request_builder.go new file mode 100644 index 00000000000..594851b3154 --- /dev/null +++ b/deviceappmanagement/mobile_apps_item_graph_android_store_app_request_builder.go @@ -0,0 +1,81 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsItemGraphAndroidStoreAppRequestBuilder casts the previous resource to androidStoreApp. +type MobileAppsItemGraphAndroidStoreAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsItemGraphAndroidStoreAppRequestBuilderGetQueryParameters get the item of type microsoft.graph.mobileApp as microsoft.graph.androidStoreApp +type MobileAppsItemGraphAndroidStoreAppRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MobileAppsItemGraphAndroidStoreAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsItemGraphAndroidStoreAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsItemGraphAndroidStoreAppRequestBuilderGetQueryParameters +} +// NewMobileAppsItemGraphAndroidStoreAppRequestBuilderInternal instantiates a new GraphAndroidStoreAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphAndroidStoreAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphAndroidStoreAppRequestBuilder) { + m := &MobileAppsItemGraphAndroidStoreAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidStoreApp{?%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsItemGraphAndroidStoreAppRequestBuilder instantiates a new GraphAndroidStoreAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphAndroidStoreAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphAndroidStoreAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsItemGraphAndroidStoreAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.mobileApp as microsoft.graph.androidStoreApp +func (m *MobileAppsItemGraphAndroidStoreAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidStoreAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AndroidStoreAppable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAndroidStoreAppFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AndroidStoreAppable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.mobileApp as microsoft.graph.androidStoreApp +func (m *MobileAppsItemGraphAndroidStoreAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidStoreAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsItemGraphAndroidStoreAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemGraphAndroidStoreAppRequestBuilder) { + return NewMobileAppsItemGraphAndroidStoreAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_graph_mobile_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_request_builder.go similarity index 52% rename from deviceappmanagement/mobile_apps_item_graph_mobile_lob_app_request_builder.go rename to deviceappmanagement/mobile_apps_item_graph_ios_lob_app_request_builder.go index 4f8e0b13ddb..e6e87cf573c 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mobile_lob_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_request_builder.go @@ -7,41 +7,41 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// MobileAppsItemGraphMobileLobAppRequestBuilder casts the previous resource to mobileLobApp. -type MobileAppsItemGraphMobileLobAppRequestBuilder struct { +// MobileAppsItemGraphIosLobAppRequestBuilder casts the previous resource to iosLobApp. +type MobileAppsItemGraphIosLobAppRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphMobileLobAppRequestBuilderGetQueryParameters get the item of type microsoft.graph.mobileApp as microsoft.graph.mobileLobApp -type MobileAppsItemGraphMobileLobAppRequestBuilderGetQueryParameters struct { +// MobileAppsItemGraphIosLobAppRequestBuilderGetQueryParameters get the item of type microsoft.graph.mobileApp as microsoft.graph.iosLobApp +type MobileAppsItemGraphIosLobAppRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } -// MobileAppsItemGraphMobileLobAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type MobileAppsItemGraphMobileLobAppRequestBuilderGetRequestConfiguration struct { +// MobileAppsItemGraphIosLobAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsItemGraphIosLobAppRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters - QueryParameters *MobileAppsItemGraphMobileLobAppRequestBuilderGetQueryParameters + QueryParameters *MobileAppsItemGraphIosLobAppRequestBuilderGetQueryParameters } -// NewMobileAppsItemGraphMobileLobAppRequestBuilderInternal instantiates a new GraphMobileLobAppRequestBuilder and sets the default values. -func NewMobileAppsItemGraphMobileLobAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphMobileLobAppRequestBuilder) { - m := &MobileAppsItemGraphMobileLobAppRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.mobileLobApp{?%24select,%24expand}", pathParameters), +// NewMobileAppsItemGraphIosLobAppRequestBuilderInternal instantiates a new GraphIosLobAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphIosLobAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphIosLobAppRequestBuilder) { + m := &MobileAppsItemGraphIosLobAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp{?%24select,%24expand}", pathParameters), } return m } -// NewMobileAppsItemGraphMobileLobAppRequestBuilder instantiates a new GraphMobileLobAppRequestBuilder and sets the default values. -func NewMobileAppsItemGraphMobileLobAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphMobileLobAppRequestBuilder) { +// NewMobileAppsItemGraphIosLobAppRequestBuilder instantiates a new GraphIosLobAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphIosLobAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphIosLobAppRequestBuilder) { urlParams := make(map[string]string) urlParams["request-raw-url"] = rawUrl - return NewMobileAppsItemGraphMobileLobAppRequestBuilderInternal(urlParams, requestAdapter) + return NewMobileAppsItemGraphIosLobAppRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the item of type microsoft.graph.mobileApp as microsoft.graph.mobileLobApp -func (m *MobileAppsItemGraphMobileLobAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMobileLobAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileLobAppable, error) { +// Get get the item of type microsoft.graph.mobileApp as microsoft.graph.iosLobApp +func (m *MobileAppsItemGraphIosLobAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosLobAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IosLobAppable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { return nil, err @@ -50,17 +50,17 @@ func (m *MobileAppsItemGraphMobileLobAppRequestBuilder) Get(ctx context.Context, "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMobileLobAppFromDiscriminatorValue, errorMapping) + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateIosLobAppFromDiscriminatorValue, errorMapping) if err != nil { return nil, err } if res == nil { return nil, nil } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileLobAppable), nil + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IosLobAppable), nil } -// ToGetRequestInformation get the item of type microsoft.graph.mobileApp as microsoft.graph.mobileLobApp -func (m *MobileAppsItemGraphMobileLobAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMobileLobAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +// ToGetRequestInformation get the item of type microsoft.graph.mobileApp as microsoft.graph.iosLobApp +func (m *MobileAppsItemGraphIosLobAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosLobAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters @@ -75,3 +75,7 @@ func (m *MobileAppsItemGraphMobileLobAppRequestBuilder) 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 *MobileAppsItemGraphIosLobAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemGraphIosLobAppRequestBuilder) { + return NewMobileAppsItemGraphIosLobAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_request_builder.go new file mode 100644 index 00000000000..e3ad29abb92 --- /dev/null +++ b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_request_builder.go @@ -0,0 +1,81 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsItemGraphIosStoreAppRequestBuilder casts the previous resource to iosStoreApp. +type MobileAppsItemGraphIosStoreAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsItemGraphIosStoreAppRequestBuilderGetQueryParameters get the item of type microsoft.graph.mobileApp as microsoft.graph.iosStoreApp +type MobileAppsItemGraphIosStoreAppRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MobileAppsItemGraphIosStoreAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsItemGraphIosStoreAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsItemGraphIosStoreAppRequestBuilderGetQueryParameters +} +// NewMobileAppsItemGraphIosStoreAppRequestBuilderInternal instantiates a new GraphIosStoreAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphIosStoreAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphIosStoreAppRequestBuilder) { + m := &MobileAppsItemGraphIosStoreAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosStoreApp{?%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsItemGraphIosStoreAppRequestBuilder instantiates a new GraphIosStoreAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphIosStoreAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphIosStoreAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsItemGraphIosStoreAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.mobileApp as microsoft.graph.iosStoreApp +func (m *MobileAppsItemGraphIosStoreAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosStoreAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IosStoreAppable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateIosStoreAppFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IosStoreAppable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.mobileApp as microsoft.graph.iosStoreApp +func (m *MobileAppsItemGraphIosStoreAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosStoreAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsItemGraphIosStoreAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemGraphIosStoreAppRequestBuilder) { + return NewMobileAppsItemGraphIosStoreAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_request_builder.go new file mode 100644 index 00000000000..fd511666f4c --- /dev/null +++ b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_request_builder.go @@ -0,0 +1,81 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsItemGraphIosVppAppRequestBuilder casts the previous resource to iosVppApp. +type MobileAppsItemGraphIosVppAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsItemGraphIosVppAppRequestBuilderGetQueryParameters get the item of type microsoft.graph.mobileApp as microsoft.graph.iosVppApp +type MobileAppsItemGraphIosVppAppRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MobileAppsItemGraphIosVppAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsItemGraphIosVppAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsItemGraphIosVppAppRequestBuilderGetQueryParameters +} +// NewMobileAppsItemGraphIosVppAppRequestBuilderInternal instantiates a new GraphIosVppAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphIosVppAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphIosVppAppRequestBuilder) { + m := &MobileAppsItemGraphIosVppAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosVppApp{?%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsItemGraphIosVppAppRequestBuilder instantiates a new GraphIosVppAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphIosVppAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphIosVppAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsItemGraphIosVppAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.mobileApp as microsoft.graph.iosVppApp +func (m *MobileAppsItemGraphIosVppAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosVppAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IosVppAppable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateIosVppAppFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IosVppAppable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.mobileApp as microsoft.graph.iosVppApp +func (m *MobileAppsItemGraphIosVppAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosVppAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsItemGraphIosVppAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemGraphIosVppAppRequestBuilder) { + return NewMobileAppsItemGraphIosVppAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_request_builder.go new file mode 100644 index 00000000000..157b04ff765 --- /dev/null +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_request_builder.go @@ -0,0 +1,81 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsItemGraphMacOSDmgAppRequestBuilder casts the previous resource to macOSDmgApp. +type MobileAppsItemGraphMacOSDmgAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsItemGraphMacOSDmgAppRequestBuilderGetQueryParameters get the item of type microsoft.graph.mobileApp as microsoft.graph.macOSDmgApp +type MobileAppsItemGraphMacOSDmgAppRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MobileAppsItemGraphMacOSDmgAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsItemGraphMacOSDmgAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsItemGraphMacOSDmgAppRequestBuilderGetQueryParameters +} +// NewMobileAppsItemGraphMacOSDmgAppRequestBuilderInternal instantiates a new GraphMacOSDmgAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphMacOSDmgAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphMacOSDmgAppRequestBuilder) { + m := &MobileAppsItemGraphMacOSDmgAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp{?%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsItemGraphMacOSDmgAppRequestBuilder instantiates a new GraphMacOSDmgAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphMacOSDmgAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphMacOSDmgAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsItemGraphMacOSDmgAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.mobileApp as microsoft.graph.macOSDmgApp +func (m *MobileAppsItemGraphMacOSDmgAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSDmgAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MacOSDmgAppable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMacOSDmgAppFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MacOSDmgAppable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.mobileApp as microsoft.graph.macOSDmgApp +func (m *MobileAppsItemGraphMacOSDmgAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSDmgAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsItemGraphMacOSDmgAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemGraphMacOSDmgAppRequestBuilder) { + return NewMobileAppsItemGraphMacOSDmgAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_request_builder.go new file mode 100644 index 00000000000..2a94fc88e5a --- /dev/null +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_request_builder.go @@ -0,0 +1,81 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsItemGraphMacOSLobAppRequestBuilder casts the previous resource to macOSLobApp. +type MobileAppsItemGraphMacOSLobAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsItemGraphMacOSLobAppRequestBuilderGetQueryParameters get the item of type microsoft.graph.mobileApp as microsoft.graph.macOSLobApp +type MobileAppsItemGraphMacOSLobAppRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MobileAppsItemGraphMacOSLobAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsItemGraphMacOSLobAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsItemGraphMacOSLobAppRequestBuilderGetQueryParameters +} +// NewMobileAppsItemGraphMacOSLobAppRequestBuilderInternal instantiates a new GraphMacOSLobAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphMacOSLobAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphMacOSLobAppRequestBuilder) { + m := &MobileAppsItemGraphMacOSLobAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp{?%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsItemGraphMacOSLobAppRequestBuilder instantiates a new GraphMacOSLobAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphMacOSLobAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphMacOSLobAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsItemGraphMacOSLobAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.mobileApp as microsoft.graph.macOSLobApp +func (m *MobileAppsItemGraphMacOSLobAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSLobAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MacOSLobAppable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMacOSLobAppFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MacOSLobAppable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.mobileApp as microsoft.graph.macOSLobApp +func (m *MobileAppsItemGraphMacOSLobAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSLobAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsItemGraphMacOSLobAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemGraphMacOSLobAppRequestBuilder) { + return NewMobileAppsItemGraphMacOSLobAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_request_builder.go new file mode 100644 index 00000000000..6f07d0b656d --- /dev/null +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_request_builder.go @@ -0,0 +1,81 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsItemGraphMacOSPkgAppRequestBuilder casts the previous resource to macOSPkgApp. +type MobileAppsItemGraphMacOSPkgAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsItemGraphMacOSPkgAppRequestBuilderGetQueryParameters get the item of type microsoft.graph.mobileApp as microsoft.graph.macOSPkgApp +type MobileAppsItemGraphMacOSPkgAppRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MobileAppsItemGraphMacOSPkgAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsItemGraphMacOSPkgAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsItemGraphMacOSPkgAppRequestBuilderGetQueryParameters +} +// NewMobileAppsItemGraphMacOSPkgAppRequestBuilderInternal instantiates a new GraphMacOSPkgAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphMacOSPkgAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphMacOSPkgAppRequestBuilder) { + m := &MobileAppsItemGraphMacOSPkgAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSPkgApp{?%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsItemGraphMacOSPkgAppRequestBuilder instantiates a new GraphMacOSPkgAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphMacOSPkgAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphMacOSPkgAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsItemGraphMacOSPkgAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.mobileApp as microsoft.graph.macOSPkgApp +func (m *MobileAppsItemGraphMacOSPkgAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSPkgAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MacOSPkgAppable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMacOSPkgAppFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MacOSPkgAppable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.mobileApp as microsoft.graph.macOSPkgApp +func (m *MobileAppsItemGraphMacOSPkgAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSPkgAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsItemGraphMacOSPkgAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemGraphMacOSPkgAppRequestBuilder) { + return NewMobileAppsItemGraphMacOSPkgAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_request_builder.go new file mode 100644 index 00000000000..4fbd427adfc --- /dev/null +++ b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_request_builder.go @@ -0,0 +1,81 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsItemGraphManagedAndroidLobAppRequestBuilder casts the previous resource to managedAndroidLobApp. +type MobileAppsItemGraphManagedAndroidLobAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsItemGraphManagedAndroidLobAppRequestBuilderGetQueryParameters get the item of type microsoft.graph.mobileApp as microsoft.graph.managedAndroidLobApp +type MobileAppsItemGraphManagedAndroidLobAppRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MobileAppsItemGraphManagedAndroidLobAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsItemGraphManagedAndroidLobAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsItemGraphManagedAndroidLobAppRequestBuilderGetQueryParameters +} +// NewMobileAppsItemGraphManagedAndroidLobAppRequestBuilderInternal instantiates a new GraphManagedAndroidLobAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphManagedAndroidLobAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphManagedAndroidLobAppRequestBuilder) { + m := &MobileAppsItemGraphManagedAndroidLobAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp{?%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsItemGraphManagedAndroidLobAppRequestBuilder instantiates a new GraphManagedAndroidLobAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphManagedAndroidLobAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphManagedAndroidLobAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsItemGraphManagedAndroidLobAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.mobileApp as microsoft.graph.managedAndroidLobApp +func (m *MobileAppsItemGraphManagedAndroidLobAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedAndroidLobAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ManagedAndroidLobAppable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateManagedAndroidLobAppFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ManagedAndroidLobAppable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.mobileApp as microsoft.graph.managedAndroidLobApp +func (m *MobileAppsItemGraphManagedAndroidLobAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedAndroidLobAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsItemGraphManagedAndroidLobAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemGraphManagedAndroidLobAppRequestBuilder) { + return NewMobileAppsItemGraphManagedAndroidLobAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_request_builder.go new file mode 100644 index 00000000000..d0202220bf8 --- /dev/null +++ b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_request_builder.go @@ -0,0 +1,81 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsItemGraphManagedIOSLobAppRequestBuilder casts the previous resource to managedIOSLobApp. +type MobileAppsItemGraphManagedIOSLobAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsItemGraphManagedIOSLobAppRequestBuilderGetQueryParameters get the item of type microsoft.graph.mobileApp as microsoft.graph.managedIOSLobApp +type MobileAppsItemGraphManagedIOSLobAppRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MobileAppsItemGraphManagedIOSLobAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsItemGraphManagedIOSLobAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsItemGraphManagedIOSLobAppRequestBuilderGetQueryParameters +} +// NewMobileAppsItemGraphManagedIOSLobAppRequestBuilderInternal instantiates a new GraphManagedIOSLobAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphManagedIOSLobAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphManagedIOSLobAppRequestBuilder) { + m := &MobileAppsItemGraphManagedIOSLobAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp{?%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsItemGraphManagedIOSLobAppRequestBuilder instantiates a new GraphManagedIOSLobAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphManagedIOSLobAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphManagedIOSLobAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsItemGraphManagedIOSLobAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.mobileApp as microsoft.graph.managedIOSLobApp +func (m *MobileAppsItemGraphManagedIOSLobAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedIOSLobAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ManagedIOSLobAppable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateManagedIOSLobAppFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ManagedIOSLobAppable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.mobileApp as microsoft.graph.managedIOSLobApp +func (m *MobileAppsItemGraphManagedIOSLobAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedIOSLobAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsItemGraphManagedIOSLobAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemGraphManagedIOSLobAppRequestBuilder) { + return NewMobileAppsItemGraphManagedIOSLobAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_request_builder.go index a2a6500af26..fce10d4fa9f 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_request_builder.go @@ -75,3 +75,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppRequestBuilder) ToGetRequestInfor } 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 *MobileAppsItemGraphManagedMobileLobAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemGraphManagedMobileLobAppRequestBuilder) { + return NewMobileAppsItemGraphManagedMobileLobAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_request_builder.go new file mode 100644 index 00000000000..fabd5e0785f --- /dev/null +++ b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_request_builder.go @@ -0,0 +1,81 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilder casts the previous resource to microsoftStoreForBusinessApp. +type MobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters get the item of type microsoft.graph.mobileApp as microsoft.graph.microsoftStoreForBusinessApp +type MobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilderGetQueryParameters +} +// NewMobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilderInternal instantiates a new GraphMicrosoftStoreForBusinessAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilder) { + m := &MobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.microsoftStoreForBusinessApp{?%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilder instantiates a new GraphMicrosoftStoreForBusinessAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.mobileApp as microsoft.graph.microsoftStoreForBusinessApp +func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MicrosoftStoreForBusinessAppable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMicrosoftStoreForBusinessAppFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MicrosoftStoreForBusinessAppable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.mobileApp as microsoft.graph.microsoftStoreForBusinessApp +func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilder) { + return NewMobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_request_builder.go new file mode 100644 index 00000000000..ec101c3536b --- /dev/null +++ b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_request_builder.go @@ -0,0 +1,81 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsItemGraphWin32LobAppRequestBuilder casts the previous resource to win32LobApp. +type MobileAppsItemGraphWin32LobAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsItemGraphWin32LobAppRequestBuilderGetQueryParameters get the item of type microsoft.graph.mobileApp as microsoft.graph.win32LobApp +type MobileAppsItemGraphWin32LobAppRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MobileAppsItemGraphWin32LobAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsItemGraphWin32LobAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsItemGraphWin32LobAppRequestBuilderGetQueryParameters +} +// NewMobileAppsItemGraphWin32LobAppRequestBuilderInternal instantiates a new GraphWin32LobAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphWin32LobAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphWin32LobAppRequestBuilder) { + m := &MobileAppsItemGraphWin32LobAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp{?%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsItemGraphWin32LobAppRequestBuilder instantiates a new GraphWin32LobAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphWin32LobAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphWin32LobAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsItemGraphWin32LobAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.mobileApp as microsoft.graph.win32LobApp +func (m *MobileAppsItemGraphWin32LobAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWin32LobAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Win32LobAppable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWin32LobAppFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Win32LobAppable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.mobileApp as microsoft.graph.win32LobApp +func (m *MobileAppsItemGraphWin32LobAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWin32LobAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsItemGraphWin32LobAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemGraphWin32LobAppRequestBuilder) { + return NewMobileAppsItemGraphWin32LobAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_graph_win_get_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win_get_app_request_builder.go new file mode 100644 index 00000000000..a9673913a2c --- /dev/null +++ b/deviceappmanagement/mobile_apps_item_graph_win_get_app_request_builder.go @@ -0,0 +1,81 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsItemGraphWinGetAppRequestBuilder casts the previous resource to winGetApp. +type MobileAppsItemGraphWinGetAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsItemGraphWinGetAppRequestBuilderGetQueryParameters get the item of type microsoft.graph.mobileApp as microsoft.graph.winGetApp +type MobileAppsItemGraphWinGetAppRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MobileAppsItemGraphWinGetAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsItemGraphWinGetAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsItemGraphWinGetAppRequestBuilderGetQueryParameters +} +// NewMobileAppsItemGraphWinGetAppRequestBuilderInternal instantiates a new GraphWinGetAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphWinGetAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphWinGetAppRequestBuilder) { + m := &MobileAppsItemGraphWinGetAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.winGetApp{?%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsItemGraphWinGetAppRequestBuilder instantiates a new GraphWinGetAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphWinGetAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphWinGetAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsItemGraphWinGetAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.mobileApp as microsoft.graph.winGetApp +func (m *MobileAppsItemGraphWinGetAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWinGetAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WinGetAppable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWinGetAppFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WinGetAppable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.mobileApp as microsoft.graph.winGetApp +func (m *MobileAppsItemGraphWinGetAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWinGetAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsItemGraphWinGetAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemGraphWinGetAppRequestBuilder) { + return NewMobileAppsItemGraphWinGetAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_request_builder.go new file mode 100644 index 00000000000..89becc7a140 --- /dev/null +++ b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_request_builder.go @@ -0,0 +1,81 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsItemGraphWindowsAppXRequestBuilder casts the previous resource to windowsAppX. +type MobileAppsItemGraphWindowsAppXRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsItemGraphWindowsAppXRequestBuilderGetQueryParameters get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsAppX +type MobileAppsItemGraphWindowsAppXRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MobileAppsItemGraphWindowsAppXRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsItemGraphWindowsAppXRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsItemGraphWindowsAppXRequestBuilderGetQueryParameters +} +// NewMobileAppsItemGraphWindowsAppXRequestBuilderInternal instantiates a new GraphWindowsAppXRequestBuilder and sets the default values. +func NewMobileAppsItemGraphWindowsAppXRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphWindowsAppXRequestBuilder) { + m := &MobileAppsItemGraphWindowsAppXRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX{?%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsItemGraphWindowsAppXRequestBuilder instantiates a new GraphWindowsAppXRequestBuilder and sets the default values. +func NewMobileAppsItemGraphWindowsAppXRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphWindowsAppXRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsItemGraphWindowsAppXRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsAppX +func (m *MobileAppsItemGraphWindowsAppXRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsAppXRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsAppXable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWindowsAppXFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsAppXable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsAppX +func (m *MobileAppsItemGraphWindowsAppXRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsAppXRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsItemGraphWindowsAppXRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemGraphWindowsAppXRequestBuilder) { + return NewMobileAppsItemGraphWindowsAppXRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_request_builder.go new file mode 100644 index 00000000000..fca1daa4e9e --- /dev/null +++ b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_request_builder.go @@ -0,0 +1,81 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsItemGraphWindowsMobileMSIRequestBuilder casts the previous resource to windowsMobileMSI. +type MobileAppsItemGraphWindowsMobileMSIRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsItemGraphWindowsMobileMSIRequestBuilderGetQueryParameters get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsMobileMSI +type MobileAppsItemGraphWindowsMobileMSIRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MobileAppsItemGraphWindowsMobileMSIRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsItemGraphWindowsMobileMSIRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsItemGraphWindowsMobileMSIRequestBuilderGetQueryParameters +} +// NewMobileAppsItemGraphWindowsMobileMSIRequestBuilderInternal instantiates a new GraphWindowsMobileMSIRequestBuilder and sets the default values. +func NewMobileAppsItemGraphWindowsMobileMSIRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphWindowsMobileMSIRequestBuilder) { + m := &MobileAppsItemGraphWindowsMobileMSIRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI{?%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsItemGraphWindowsMobileMSIRequestBuilder instantiates a new GraphWindowsMobileMSIRequestBuilder and sets the default values. +func NewMobileAppsItemGraphWindowsMobileMSIRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphWindowsMobileMSIRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsItemGraphWindowsMobileMSIRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsMobileMSI +func (m *MobileAppsItemGraphWindowsMobileMSIRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsMobileMSIRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsMobileMSIable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWindowsMobileMSIFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsMobileMSIable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsMobileMSI +func (m *MobileAppsItemGraphWindowsMobileMSIRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsMobileMSIRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsItemGraphWindowsMobileMSIRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemGraphWindowsMobileMSIRequestBuilder) { + return NewMobileAppsItemGraphWindowsMobileMSIRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_request_builder.go new file mode 100644 index 00000000000..19fe3b712d1 --- /dev/null +++ b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_request_builder.go @@ -0,0 +1,81 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsItemGraphWindowsStoreAppRequestBuilder casts the previous resource to windowsStoreApp. +type MobileAppsItemGraphWindowsStoreAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsItemGraphWindowsStoreAppRequestBuilderGetQueryParameters get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsStoreApp +type MobileAppsItemGraphWindowsStoreAppRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MobileAppsItemGraphWindowsStoreAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsItemGraphWindowsStoreAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsItemGraphWindowsStoreAppRequestBuilderGetQueryParameters +} +// NewMobileAppsItemGraphWindowsStoreAppRequestBuilderInternal instantiates a new GraphWindowsStoreAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphWindowsStoreAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphWindowsStoreAppRequestBuilder) { + m := &MobileAppsItemGraphWindowsStoreAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsStoreApp{?%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsItemGraphWindowsStoreAppRequestBuilder instantiates a new GraphWindowsStoreAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphWindowsStoreAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphWindowsStoreAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsItemGraphWindowsStoreAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsStoreApp +func (m *MobileAppsItemGraphWindowsStoreAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsStoreAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsStoreAppable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWindowsStoreAppFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsStoreAppable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsStoreApp +func (m *MobileAppsItemGraphWindowsStoreAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsStoreAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsItemGraphWindowsStoreAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemGraphWindowsStoreAppRequestBuilder) { + return NewMobileAppsItemGraphWindowsStoreAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_request_builder.go new file mode 100644 index 00000000000..0aec438cedb --- /dev/null +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_request_builder.go @@ -0,0 +1,81 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsItemGraphWindowsUniversalAppXRequestBuilder casts the previous resource to windowsUniversalAppX. +type MobileAppsItemGraphWindowsUniversalAppXRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsItemGraphWindowsUniversalAppXRequestBuilderGetQueryParameters get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsUniversalAppX +type MobileAppsItemGraphWindowsUniversalAppXRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MobileAppsItemGraphWindowsUniversalAppXRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsItemGraphWindowsUniversalAppXRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsItemGraphWindowsUniversalAppXRequestBuilderGetQueryParameters +} +// NewMobileAppsItemGraphWindowsUniversalAppXRequestBuilderInternal instantiates a new GraphWindowsUniversalAppXRequestBuilder and sets the default values. +func NewMobileAppsItemGraphWindowsUniversalAppXRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphWindowsUniversalAppXRequestBuilder) { + m := &MobileAppsItemGraphWindowsUniversalAppXRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX{?%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsItemGraphWindowsUniversalAppXRequestBuilder instantiates a new GraphWindowsUniversalAppXRequestBuilder and sets the default values. +func NewMobileAppsItemGraphWindowsUniversalAppXRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphWindowsUniversalAppXRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsItemGraphWindowsUniversalAppXRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsUniversalAppX +func (m *MobileAppsItemGraphWindowsUniversalAppXRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsUniversalAppXRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsUniversalAppXable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWindowsUniversalAppXFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsUniversalAppXable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsUniversalAppX +func (m *MobileAppsItemGraphWindowsUniversalAppXRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsUniversalAppXRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsItemGraphWindowsUniversalAppXRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemGraphWindowsUniversalAppXRequestBuilder) { + return NewMobileAppsItemGraphWindowsUniversalAppXRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_request_builder.go new file mode 100644 index 00000000000..11642f155e9 --- /dev/null +++ b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_request_builder.go @@ -0,0 +1,81 @@ +package deviceappmanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MobileAppsItemGraphWindowsWebAppRequestBuilder casts the previous resource to windowsWebApp. +type MobileAppsItemGraphWindowsWebAppRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MobileAppsItemGraphWindowsWebAppRequestBuilderGetQueryParameters get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsWebApp +type MobileAppsItemGraphWindowsWebAppRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MobileAppsItemGraphWindowsWebAppRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MobileAppsItemGraphWindowsWebAppRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MobileAppsItemGraphWindowsWebAppRequestBuilderGetQueryParameters +} +// NewMobileAppsItemGraphWindowsWebAppRequestBuilderInternal instantiates a new GraphWindowsWebAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphWindowsWebAppRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphWindowsWebAppRequestBuilder) { + m := &MobileAppsItemGraphWindowsWebAppRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsWebApp{?%24select,%24expand}", pathParameters), + } + return m +} +// NewMobileAppsItemGraphWindowsWebAppRequestBuilder instantiates a new GraphWindowsWebAppRequestBuilder and sets the default values. +func NewMobileAppsItemGraphWindowsWebAppRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsItemGraphWindowsWebAppRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMobileAppsItemGraphWindowsWebAppRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsWebApp +func (m *MobileAppsItemGraphWindowsWebAppRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsWebAppRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsWebAppable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWindowsWebAppFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsWebAppable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.mobileApp as microsoft.graph.windowsWebApp +func (m *MobileAppsItemGraphWindowsWebAppRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsWebAppRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MobileAppsItemGraphWindowsWebAppRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemGraphWindowsWebAppRequestBuilder) { + return NewMobileAppsItemGraphWindowsWebAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_relationships_count_request_builder.go b/deviceappmanagement/mobile_apps_item_relationships_count_request_builder.go index dc1b21c0330..3fb6d8f143e 100644 --- a/deviceappmanagement/mobile_apps_item_relationships_count_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_relationships_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MobileAppsItemRelationshipsCountRequestBuilder) 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 *MobileAppsItemRelationshipsCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemRelationshipsCountRequestBuilder) { + return NewMobileAppsItemRelationshipsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_relationships_mobile_app_relationship_item_request_builder.go index b743b12a1fe..57a88026e6a 100644 --- a/deviceappmanagement/mobile_apps_item_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_relationships_mobile_app_relationship_item_request_builder.go @@ -153,3 +153,7 @@ func (m *MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilder) 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 *MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilder) { + return NewMobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_relationships_request_builder.go index 58ca4416d6b..c0047b62887 100644 --- a/deviceappmanagement/mobile_apps_item_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_relationships_request_builder.go @@ -46,8 +46,8 @@ type MobileAppsItemRelationshipsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMobileAppRelationshipIdString provides operations to manage the relationships property of the microsoft.graph.mobileApp entity. -func (m *MobileAppsItemRelationshipsRequestBuilder) ByMobileAppRelationshipIdString(mobileAppRelationshipId string)(*MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilder) { +// ByMobileAppRelationshipId provides operations to manage the relationships property of the microsoft.graph.mobileApp entity. +func (m *MobileAppsItemRelationshipsRequestBuilder) ByMobileAppRelationshipId(mobileAppRelationshipId string)(*MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MobileAppsItemRelationshipsRequestBuilder) 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 *MobileAppsItemRelationshipsRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemRelationshipsRequestBuilder) { + return NewMobileAppsItemRelationshipsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_item_update_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_update_relationships_request_builder.go index 026bedff4fd..a2f1a63b952 100644 --- a/deviceappmanagement/mobile_apps_item_update_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_update_relationships_request_builder.go @@ -62,3 +62,7 @@ func (m *MobileAppsItemUpdateRelationshipsRequestBuilder) ToPostRequestInformati } 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 *MobileAppsItemUpdateRelationshipsRequestBuilder) WithUrl(rawUrl string)(*MobileAppsItemUpdateRelationshipsRequestBuilder) { + return NewMobileAppsItemUpdateRelationshipsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go b/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go index 31b122527f4..8f748e6d803 100644 --- a/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go @@ -101,13 +101,89 @@ func (m *MobileAppsMobileAppItemRequestBuilder) Get(ctx context.Context, request } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppable), nil } +// GraphAndroidForWorkApp casts the previous resource to androidForWorkApp. +func (m *MobileAppsMobileAppItemRequestBuilder) GraphAndroidForWorkApp()(*MobileAppsItemGraphAndroidForWorkAppRequestBuilder) { + return NewMobileAppsItemGraphAndroidForWorkAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphAndroidLobApp casts the previous resource to androidLobApp. +func (m *MobileAppsMobileAppItemRequestBuilder) GraphAndroidLobApp()(*MobileAppsItemGraphAndroidLobAppRequestBuilder) { + return NewMobileAppsItemGraphAndroidLobAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphAndroidManagedStoreApp casts the previous resource to androidManagedStoreApp. +func (m *MobileAppsMobileAppItemRequestBuilder) GraphAndroidManagedStoreApp()(*MobileAppsItemGraphAndroidManagedStoreAppRequestBuilder) { + return NewMobileAppsItemGraphAndroidManagedStoreAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphAndroidStoreApp casts the previous resource to androidStoreApp. +func (m *MobileAppsMobileAppItemRequestBuilder) GraphAndroidStoreApp()(*MobileAppsItemGraphAndroidStoreAppRequestBuilder) { + return NewMobileAppsItemGraphAndroidStoreAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphIosLobApp casts the previous resource to iosLobApp. +func (m *MobileAppsMobileAppItemRequestBuilder) GraphIosLobApp()(*MobileAppsItemGraphIosLobAppRequestBuilder) { + return NewMobileAppsItemGraphIosLobAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphIosStoreApp casts the previous resource to iosStoreApp. +func (m *MobileAppsMobileAppItemRequestBuilder) GraphIosStoreApp()(*MobileAppsItemGraphIosStoreAppRequestBuilder) { + return NewMobileAppsItemGraphIosStoreAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphIosVppApp casts the previous resource to iosVppApp. +func (m *MobileAppsMobileAppItemRequestBuilder) GraphIosVppApp()(*MobileAppsItemGraphIosVppAppRequestBuilder) { + return NewMobileAppsItemGraphIosVppAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphMacOSDmgApp casts the previous resource to macOSDmgApp. +func (m *MobileAppsMobileAppItemRequestBuilder) GraphMacOSDmgApp()(*MobileAppsItemGraphMacOSDmgAppRequestBuilder) { + return NewMobileAppsItemGraphMacOSDmgAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphMacOSLobApp casts the previous resource to macOSLobApp. +func (m *MobileAppsMobileAppItemRequestBuilder) GraphMacOSLobApp()(*MobileAppsItemGraphMacOSLobAppRequestBuilder) { + return NewMobileAppsItemGraphMacOSLobAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphMacOSPkgApp casts the previous resource to macOSPkgApp. +func (m *MobileAppsMobileAppItemRequestBuilder) GraphMacOSPkgApp()(*MobileAppsItemGraphMacOSPkgAppRequestBuilder) { + return NewMobileAppsItemGraphMacOSPkgAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphManagedAndroidLobApp casts the previous resource to managedAndroidLobApp. +func (m *MobileAppsMobileAppItemRequestBuilder) GraphManagedAndroidLobApp()(*MobileAppsItemGraphManagedAndroidLobAppRequestBuilder) { + return NewMobileAppsItemGraphManagedAndroidLobAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphManagedIOSLobApp casts the previous resource to managedIOSLobApp. +func (m *MobileAppsMobileAppItemRequestBuilder) GraphManagedIOSLobApp()(*MobileAppsItemGraphManagedIOSLobAppRequestBuilder) { + return NewMobileAppsItemGraphManagedIOSLobAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // GraphManagedMobileLobApp casts the previous resource to managedMobileLobApp. func (m *MobileAppsMobileAppItemRequestBuilder) GraphManagedMobileLobApp()(*MobileAppsItemGraphManagedMobileLobAppRequestBuilder) { return NewMobileAppsItemGraphManagedMobileLobAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// GraphMobileLobApp casts the previous resource to mobileLobApp. -func (m *MobileAppsMobileAppItemRequestBuilder) GraphMobileLobApp()(*MobileAppsItemGraphMobileLobAppRequestBuilder) { - return NewMobileAppsItemGraphMobileLobAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +// GraphMicrosoftStoreForBusinessApp casts the previous resource to microsoftStoreForBusinessApp. +func (m *MobileAppsMobileAppItemRequestBuilder) GraphMicrosoftStoreForBusinessApp()(*MobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilder) { + return NewMobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphWin32LobApp casts the previous resource to win32LobApp. +func (m *MobileAppsMobileAppItemRequestBuilder) GraphWin32LobApp()(*MobileAppsItemGraphWin32LobAppRequestBuilder) { + return NewMobileAppsItemGraphWin32LobAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphWindowsAppX casts the previous resource to windowsAppX. +func (m *MobileAppsMobileAppItemRequestBuilder) GraphWindowsAppX()(*MobileAppsItemGraphWindowsAppXRequestBuilder) { + return NewMobileAppsItemGraphWindowsAppXRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphWindowsMobileMSI casts the previous resource to windowsMobileMSI. +func (m *MobileAppsMobileAppItemRequestBuilder) GraphWindowsMobileMSI()(*MobileAppsItemGraphWindowsMobileMSIRequestBuilder) { + return NewMobileAppsItemGraphWindowsMobileMSIRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphWindowsStoreApp casts the previous resource to windowsStoreApp. +func (m *MobileAppsMobileAppItemRequestBuilder) GraphWindowsStoreApp()(*MobileAppsItemGraphWindowsStoreAppRequestBuilder) { + return NewMobileAppsItemGraphWindowsStoreAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphWindowsUniversalAppX casts the previous resource to windowsUniversalAppX. +func (m *MobileAppsMobileAppItemRequestBuilder) GraphWindowsUniversalAppX()(*MobileAppsItemGraphWindowsUniversalAppXRequestBuilder) { + return NewMobileAppsItemGraphWindowsUniversalAppXRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphWindowsWebApp casts the previous resource to windowsWebApp. +func (m *MobileAppsMobileAppItemRequestBuilder) GraphWindowsWebApp()(*MobileAppsItemGraphWindowsWebAppRequestBuilder) { + return NewMobileAppsItemGraphWindowsWebAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphWinGetApp casts the previous resource to winGetApp. +func (m *MobileAppsMobileAppItemRequestBuilder) GraphWinGetApp()(*MobileAppsItemGraphWinGetAppRequestBuilder) { + return NewMobileAppsItemGraphWinGetAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } // Patch update the navigation property mobileApps in deviceAppManagement func (m *MobileAppsMobileAppItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppable, requestConfiguration *MobileAppsMobileAppItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppable, error) { @@ -181,3 +257,7 @@ func (m *MobileAppsMobileAppItemRequestBuilder) ToPatchRequestInformation(ctx co func (m *MobileAppsMobileAppItemRequestBuilder) UpdateRelationships()(*MobileAppsItemUpdateRelationshipsRequestBuilder) { return NewMobileAppsItemUpdateRelationshipsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *MobileAppsMobileAppItemRequestBuilder) WithUrl(rawUrl string)(*MobileAppsMobileAppItemRequestBuilder) { + return NewMobileAppsMobileAppItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_request_builder.go b/deviceappmanagement/mobile_apps_request_builder.go index 03f6aead496..130df9f6ee9 100644 --- a/deviceappmanagement/mobile_apps_request_builder.go +++ b/deviceappmanagement/mobile_apps_request_builder.go @@ -46,8 +46,8 @@ type MobileAppsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMobileAppIdString provides operations to manage the mobileApps property of the microsoft.graph.deviceAppManagement entity. -func (m *MobileAppsRequestBuilder) ByMobileAppIdString(mobileAppId string)(*MobileAppsMobileAppItemRequestBuilder) { +// ByMobileAppId provides operations to manage the mobileApps property of the microsoft.graph.deviceAppManagement entity. +func (m *MobileAppsRequestBuilder) ByMobileAppId(mobileAppId string)(*MobileAppsMobileAppItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -93,13 +93,89 @@ func (m *MobileAppsRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppCollectionResponseable), nil } +// GraphAndroidForWorkApp casts the previous resource to androidForWorkApp. +func (m *MobileAppsRequestBuilder) GraphAndroidForWorkApp()(*MobileAppsGraphAndroidForWorkAppRequestBuilder) { + return NewMobileAppsGraphAndroidForWorkAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphAndroidLobApp casts the previous resource to androidLobApp. +func (m *MobileAppsRequestBuilder) GraphAndroidLobApp()(*MobileAppsGraphAndroidLobAppRequestBuilder) { + return NewMobileAppsGraphAndroidLobAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphAndroidManagedStoreApp casts the previous resource to androidManagedStoreApp. +func (m *MobileAppsRequestBuilder) GraphAndroidManagedStoreApp()(*MobileAppsGraphAndroidManagedStoreAppRequestBuilder) { + return NewMobileAppsGraphAndroidManagedStoreAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphAndroidStoreApp casts the previous resource to androidStoreApp. +func (m *MobileAppsRequestBuilder) GraphAndroidStoreApp()(*MobileAppsGraphAndroidStoreAppRequestBuilder) { + return NewMobileAppsGraphAndroidStoreAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphIosLobApp casts the previous resource to iosLobApp. +func (m *MobileAppsRequestBuilder) GraphIosLobApp()(*MobileAppsGraphIosLobAppRequestBuilder) { + return NewMobileAppsGraphIosLobAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphIosStoreApp casts the previous resource to iosStoreApp. +func (m *MobileAppsRequestBuilder) GraphIosStoreApp()(*MobileAppsGraphIosStoreAppRequestBuilder) { + return NewMobileAppsGraphIosStoreAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphIosVppApp casts the previous resource to iosVppApp. +func (m *MobileAppsRequestBuilder) GraphIosVppApp()(*MobileAppsGraphIosVppAppRequestBuilder) { + return NewMobileAppsGraphIosVppAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphMacOSDmgApp casts the previous resource to macOSDmgApp. +func (m *MobileAppsRequestBuilder) GraphMacOSDmgApp()(*MobileAppsGraphMacOSDmgAppRequestBuilder) { + return NewMobileAppsGraphMacOSDmgAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphMacOSLobApp casts the previous resource to macOSLobApp. +func (m *MobileAppsRequestBuilder) GraphMacOSLobApp()(*MobileAppsGraphMacOSLobAppRequestBuilder) { + return NewMobileAppsGraphMacOSLobAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphMacOSPkgApp casts the previous resource to macOSPkgApp. +func (m *MobileAppsRequestBuilder) GraphMacOSPkgApp()(*MobileAppsGraphMacOSPkgAppRequestBuilder) { + return NewMobileAppsGraphMacOSPkgAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphManagedAndroidLobApp casts the previous resource to managedAndroidLobApp. +func (m *MobileAppsRequestBuilder) GraphManagedAndroidLobApp()(*MobileAppsGraphManagedAndroidLobAppRequestBuilder) { + return NewMobileAppsGraphManagedAndroidLobAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphManagedIOSLobApp casts the previous resource to managedIOSLobApp. +func (m *MobileAppsRequestBuilder) GraphManagedIOSLobApp()(*MobileAppsGraphManagedIOSLobAppRequestBuilder) { + return NewMobileAppsGraphManagedIOSLobAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // GraphManagedMobileLobApp casts the previous resource to managedMobileLobApp. func (m *MobileAppsRequestBuilder) GraphManagedMobileLobApp()(*MobileAppsGraphManagedMobileLobAppRequestBuilder) { return NewMobileAppsGraphManagedMobileLobAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// GraphMobileLobApp casts the previous resource to mobileLobApp. -func (m *MobileAppsRequestBuilder) GraphMobileLobApp()(*MobileAppsGraphMobileLobAppRequestBuilder) { - return NewMobileAppsGraphMobileLobAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +// GraphMicrosoftStoreForBusinessApp casts the previous resource to microsoftStoreForBusinessApp. +func (m *MobileAppsRequestBuilder) GraphMicrosoftStoreForBusinessApp()(*MobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilder) { + return NewMobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphWin32LobApp casts the previous resource to win32LobApp. +func (m *MobileAppsRequestBuilder) GraphWin32LobApp()(*MobileAppsGraphWin32LobAppRequestBuilder) { + return NewMobileAppsGraphWin32LobAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphWindowsAppX casts the previous resource to windowsAppX. +func (m *MobileAppsRequestBuilder) GraphWindowsAppX()(*MobileAppsGraphWindowsAppXRequestBuilder) { + return NewMobileAppsGraphWindowsAppXRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphWindowsMobileMSI casts the previous resource to windowsMobileMSI. +func (m *MobileAppsRequestBuilder) GraphWindowsMobileMSI()(*MobileAppsGraphWindowsMobileMSIRequestBuilder) { + return NewMobileAppsGraphWindowsMobileMSIRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphWindowsStoreApp casts the previous resource to windowsStoreApp. +func (m *MobileAppsRequestBuilder) GraphWindowsStoreApp()(*MobileAppsGraphWindowsStoreAppRequestBuilder) { + return NewMobileAppsGraphWindowsStoreAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphWindowsUniversalAppX casts the previous resource to windowsUniversalAppX. +func (m *MobileAppsRequestBuilder) GraphWindowsUniversalAppX()(*MobileAppsGraphWindowsUniversalAppXRequestBuilder) { + return NewMobileAppsGraphWindowsUniversalAppXRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphWindowsWebApp casts the previous resource to windowsWebApp. +func (m *MobileAppsRequestBuilder) GraphWindowsWebApp()(*MobileAppsGraphWindowsWebAppRequestBuilder) { + return NewMobileAppsGraphWindowsWebAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphWinGetApp casts the previous resource to winGetApp. +func (m *MobileAppsRequestBuilder) GraphWinGetApp()(*MobileAppsGraphWinGetAppRequestBuilder) { + return NewMobileAppsGraphWinGetAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } // HasPayloadLinks provides operations to call the hasPayloadLinks method. func (m *MobileAppsRequestBuilder) HasPayloadLinks()(*MobileAppsHasPayloadLinksRequestBuilder) { @@ -161,3 +237,7 @@ func (m *MobileAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, func (m *MobileAppsRequestBuilder) ValidateXml()(*MobileAppsValidateXmlRequestBuilder) { return NewMobileAppsValidateXmlRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *MobileAppsRequestBuilder) WithUrl(rawUrl string)(*MobileAppsRequestBuilder) { + return NewMobileAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_validate_xml_request_builder.go b/deviceappmanagement/mobile_apps_validate_xml_request_builder.go index a5fc5b2f31e..a03d12bb1fb 100644 --- a/deviceappmanagement/mobile_apps_validate_xml_request_builder.go +++ b/deviceappmanagement/mobile_apps_validate_xml_request_builder.go @@ -66,3 +66,7 @@ func (m *MobileAppsValidateXmlRequestBuilder) 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 *MobileAppsValidateXmlRequestBuilder) WithUrl(rawUrl string)(*MobileAppsValidateXmlRequestBuilder) { + return NewMobileAppsValidateXmlRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/policy_sets_count_request_builder.go b/deviceappmanagement/policy_sets_count_request_builder.go index dec7ab3c252..378a27d90bd 100644 --- a/deviceappmanagement/policy_sets_count_request_builder.go +++ b/deviceappmanagement/policy_sets_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PolicySetsCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *PolicySetsCountRequestBuilder) WithUrl(rawUrl string)(*PolicySetsCountRequestBuilder) { + return NewPolicySetsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/policy_sets_get_policy_sets_request_builder.go b/deviceappmanagement/policy_sets_get_policy_sets_request_builder.go index a6f53e0fbaf..de1870e8b97 100644 --- a/deviceappmanagement/policy_sets_get_policy_sets_request_builder.go +++ b/deviceappmanagement/policy_sets_get_policy_sets_request_builder.go @@ -66,3 +66,7 @@ func (m *PolicySetsGetPolicySetsRequestBuilder) ToPostRequestInformation(ctx con } 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 *PolicySetsGetPolicySetsRequestBuilder) WithUrl(rawUrl string)(*PolicySetsGetPolicySetsRequestBuilder) { + return NewPolicySetsGetPolicySetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/policy_sets_item_assignments_count_request_builder.go b/deviceappmanagement/policy_sets_item_assignments_count_request_builder.go index c12f35b7607..a3cfbb7e019 100644 --- a/deviceappmanagement/policy_sets_item_assignments_count_request_builder.go +++ b/deviceappmanagement/policy_sets_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PolicySetsItemAssignmentsCountRequestBuilder) ToGetRequestInformation(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 *PolicySetsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*PolicySetsItemAssignmentsCountRequestBuilder) { + return NewPolicySetsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/policy_sets_item_assignments_policy_set_assignment_item_request_builder.go b/deviceappmanagement/policy_sets_item_assignments_policy_set_assignment_item_request_builder.go index 023d71c82f2..ec145fd3d33 100644 --- a/deviceappmanagement/policy_sets_item_assignments_policy_set_assignment_item_request_builder.go +++ b/deviceappmanagement/policy_sets_item_assignments_policy_set_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *PolicySetsItemAssignmentsPolicySetAssignmentItemRequestBuilder) ToPatch } 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 *PolicySetsItemAssignmentsPolicySetAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*PolicySetsItemAssignmentsPolicySetAssignmentItemRequestBuilder) { + return NewPolicySetsItemAssignmentsPolicySetAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/policy_sets_item_assignments_request_builder.go b/deviceappmanagement/policy_sets_item_assignments_request_builder.go index a10d36f0ed4..58dbe5a29e8 100644 --- a/deviceappmanagement/policy_sets_item_assignments_request_builder.go +++ b/deviceappmanagement/policy_sets_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type PolicySetsItemAssignmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPolicySetAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.policySet entity. -func (m *PolicySetsItemAssignmentsRequestBuilder) ByPolicySetAssignmentIdString(policySetAssignmentId string)(*PolicySetsItemAssignmentsPolicySetAssignmentItemRequestBuilder) { +// ByPolicySetAssignmentId provides operations to manage the assignments property of the microsoft.graph.policySet entity. +func (m *PolicySetsItemAssignmentsRequestBuilder) ByPolicySetAssignmentId(policySetAssignmentId string)(*PolicySetsItemAssignmentsPolicySetAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *PolicySetsItemAssignmentsRequestBuilder) ToPostRequestInformation(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 *PolicySetsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*PolicySetsItemAssignmentsRequestBuilder) { + return NewPolicySetsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/policy_sets_item_items_count_request_builder.go b/deviceappmanagement/policy_sets_item_items_count_request_builder.go index f086afb1dd1..9deaac97212 100644 --- a/deviceappmanagement/policy_sets_item_items_count_request_builder.go +++ b/deviceappmanagement/policy_sets_item_items_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PolicySetsItemItemsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *PolicySetsItemItemsCountRequestBuilder) WithUrl(rawUrl string)(*PolicySetsItemItemsCountRequestBuilder) { + return NewPolicySetsItemItemsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/policy_sets_item_items_policy_set_item_item_request_builder.go b/deviceappmanagement/policy_sets_item_items_policy_set_item_item_request_builder.go index 44b4f84fc74..0c9821b5595 100644 --- a/deviceappmanagement/policy_sets_item_items_policy_set_item_item_request_builder.go +++ b/deviceappmanagement/policy_sets_item_items_policy_set_item_item_request_builder.go @@ -153,3 +153,7 @@ func (m *PolicySetsItemItemsPolicySetItemItemRequestBuilder) ToPatchRequestInfor } 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 *PolicySetsItemItemsPolicySetItemItemRequestBuilder) WithUrl(rawUrl string)(*PolicySetsItemItemsPolicySetItemItemRequestBuilder) { + return NewPolicySetsItemItemsPolicySetItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/policy_sets_item_items_request_builder.go b/deviceappmanagement/policy_sets_item_items_request_builder.go index 0be2c441ee4..d57f4d02261 100644 --- a/deviceappmanagement/policy_sets_item_items_request_builder.go +++ b/deviceappmanagement/policy_sets_item_items_request_builder.go @@ -46,8 +46,8 @@ type PolicySetsItemItemsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPolicySetItemIdString provides operations to manage the items property of the microsoft.graph.policySet entity. -func (m *PolicySetsItemItemsRequestBuilder) ByPolicySetItemIdString(policySetItemId string)(*PolicySetsItemItemsPolicySetItemItemRequestBuilder) { +// ByPolicySetItemId provides operations to manage the items property of the microsoft.graph.policySet entity. +func (m *PolicySetsItemItemsRequestBuilder) ByPolicySetItemId(policySetItemId string)(*PolicySetsItemItemsPolicySetItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *PolicySetsItemItemsRequestBuilder) 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 *PolicySetsItemItemsRequestBuilder) WithUrl(rawUrl string)(*PolicySetsItemItemsRequestBuilder) { + return NewPolicySetsItemItemsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/policy_sets_item_update_request_builder.go b/deviceappmanagement/policy_sets_item_update_request_builder.go index 73f3e48473c..a7643e43ed0 100644 --- a/deviceappmanagement/policy_sets_item_update_request_builder.go +++ b/deviceappmanagement/policy_sets_item_update_request_builder.go @@ -62,3 +62,7 @@ func (m *PolicySetsItemUpdateRequestBuilder) ToPostRequestInformation(ctx contex } 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 *PolicySetsItemUpdateRequestBuilder) WithUrl(rawUrl string)(*PolicySetsItemUpdateRequestBuilder) { + return NewPolicySetsItemUpdateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/policy_sets_policy_set_item_request_builder.go b/deviceappmanagement/policy_sets_policy_set_item_request_builder.go index fb0796f946d..1b04638273e 100644 --- a/deviceappmanagement/policy_sets_policy_set_item_request_builder.go +++ b/deviceappmanagement/policy_sets_policy_set_item_request_builder.go @@ -165,3 +165,7 @@ func (m *PolicySetsPolicySetItemRequestBuilder) ToPatchRequestInformation(ctx co func (m *PolicySetsPolicySetItemRequestBuilder) Update()(*PolicySetsItemUpdateRequestBuilder) { return NewPolicySetsItemUpdateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *PolicySetsPolicySetItemRequestBuilder) WithUrl(rawUrl string)(*PolicySetsPolicySetItemRequestBuilder) { + return NewPolicySetsPolicySetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/policy_sets_request_builder.go b/deviceappmanagement/policy_sets_request_builder.go index 8dde9a124be..f815a97faff 100644 --- a/deviceappmanagement/policy_sets_request_builder.go +++ b/deviceappmanagement/policy_sets_request_builder.go @@ -46,8 +46,8 @@ type PolicySetsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPolicySetIdString provides operations to manage the policySets property of the microsoft.graph.deviceAppManagement entity. -func (m *PolicySetsRequestBuilder) ByPolicySetIdString(policySetId string)(*PolicySetsPolicySetItemRequestBuilder) { +// ByPolicySetId provides operations to manage the policySets property of the microsoft.graph.deviceAppManagement entity. +func (m *PolicySetsRequestBuilder) ByPolicySetId(policySetId string)(*PolicySetsPolicySetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *PolicySetsRequestBuilder) ToPostRequestInformation(ctx context.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 *PolicySetsRequestBuilder) WithUrl(rawUrl string)(*PolicySetsRequestBuilder) { + return NewPolicySetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/symantec_code_signing_certificate_request_builder.go b/deviceappmanagement/symantec_code_signing_certificate_request_builder.go index 07c0cce49fc..4a4a608dc10 100644 --- a/deviceappmanagement/symantec_code_signing_certificate_request_builder.go +++ b/deviceappmanagement/symantec_code_signing_certificate_request_builder.go @@ -153,3 +153,7 @@ func (m *SymantecCodeSigningCertificateRequestBuilder) 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 *SymantecCodeSigningCertificateRequestBuilder) WithUrl(rawUrl string)(*SymantecCodeSigningCertificateRequestBuilder) { + return NewSymantecCodeSigningCertificateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/sync_microsoft_store_for_business_apps_request_builder.go b/deviceappmanagement/sync_microsoft_store_for_business_apps_request_builder.go index 546c9631156..f519b73d1cd 100644 --- a/deviceappmanagement/sync_microsoft_store_for_business_apps_request_builder.go +++ b/deviceappmanagement/sync_microsoft_store_for_business_apps_request_builder.go @@ -58,3 +58,7 @@ func (m *SyncMicrosoftStoreForBusinessAppsRequestBuilder) ToPostRequestInformati } 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 *SyncMicrosoftStoreForBusinessAppsRequestBuilder) WithUrl(rawUrl string)(*SyncMicrosoftStoreForBusinessAppsRequestBuilder) { + return NewSyncMicrosoftStoreForBusinessAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/targeted_managed_app_configurations_count_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_count_request_builder.go index 450f1bb6fc7..cf1de2d4c0a 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_count_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TargetedManagedAppConfigurationsCountRequestBuilder) ToGetRequestInform } 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 *TargetedManagedAppConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*TargetedManagedAppConfigurationsCountRequestBuilder) { + return NewTargetedManagedAppConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/targeted_managed_app_configurations_has_payload_links_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_has_payload_links_request_builder.go index 413aa83c50f..cfb93b13d53 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_has_payload_links_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_has_payload_links_request_builder.go @@ -66,3 +66,7 @@ func (m *TargetedManagedAppConfigurationsHasPayloadLinksRequestBuilder) ToPostRe } 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 *TargetedManagedAppConfigurationsHasPayloadLinksRequestBuilder) WithUrl(rawUrl string)(*TargetedManagedAppConfigurationsHasPayloadLinksRequestBuilder) { + return NewTargetedManagedAppConfigurationsHasPayloadLinksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_apps_count_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_apps_count_request_builder.go index de0497ff159..016b0925586 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_apps_count_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_apps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TargetedManagedAppConfigurationsItemAppsCountRequestBuilder) ToGetReque } 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 *TargetedManagedAppConfigurationsItemAppsCountRequestBuilder) WithUrl(rawUrl string)(*TargetedManagedAppConfigurationsItemAppsCountRequestBuilder) { + return NewTargetedManagedAppConfigurationsItemAppsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_apps_managed_mobile_app_item_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_apps_managed_mobile_app_item_request_builder.go index ef2e3142881..6d86180517a 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_apps_managed_mobile_app_item_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_apps_managed_mobile_app_item_request_builder.go @@ -153,3 +153,7 @@ func (m *TargetedManagedAppConfigurationsItemAppsManagedMobileAppItemRequestBuil } 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 *TargetedManagedAppConfigurationsItemAppsManagedMobileAppItemRequestBuilder) WithUrl(rawUrl string)(*TargetedManagedAppConfigurationsItemAppsManagedMobileAppItemRequestBuilder) { + return NewTargetedManagedAppConfigurationsItemAppsManagedMobileAppItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_apps_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_apps_request_builder.go index 36f3dfb8e11..de489b09cf2 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_apps_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_apps_request_builder.go @@ -46,8 +46,8 @@ type TargetedManagedAppConfigurationsItemAppsRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedMobileAppIdString provides operations to manage the apps property of the microsoft.graph.targetedManagedAppConfiguration entity. -func (m *TargetedManagedAppConfigurationsItemAppsRequestBuilder) ByManagedMobileAppIdString(managedMobileAppId string)(*TargetedManagedAppConfigurationsItemAppsManagedMobileAppItemRequestBuilder) { +// ByManagedMobileAppId provides operations to manage the apps property of the microsoft.graph.targetedManagedAppConfiguration entity. +func (m *TargetedManagedAppConfigurationsItemAppsRequestBuilder) ByManagedMobileAppId(managedMobileAppId string)(*TargetedManagedAppConfigurationsItemAppsManagedMobileAppItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TargetedManagedAppConfigurationsItemAppsRequestBuilder) ToPostRequestIn } 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 *TargetedManagedAppConfigurationsItemAppsRequestBuilder) WithUrl(rawUrl string)(*TargetedManagedAppConfigurationsItemAppsRequestBuilder) { + return NewTargetedManagedAppConfigurationsItemAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_assign_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_assign_request_builder.go index b7927ab8ea0..a9118b97706 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_assign_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_assign_request_builder.go @@ -62,3 +62,7 @@ func (m *TargetedManagedAppConfigurationsItemAssignRequestBuilder) ToPostRequest } 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 *TargetedManagedAppConfigurationsItemAssignRequestBuilder) WithUrl(rawUrl string)(*TargetedManagedAppConfigurationsItemAssignRequestBuilder) { + return NewTargetedManagedAppConfigurationsItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_assignments_count_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_assignments_count_request_builder.go index 755d20cd190..72c28510374 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_assignments_count_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TargetedManagedAppConfigurationsItemAssignmentsCountRequestBuilder) ToG } 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 *TargetedManagedAppConfigurationsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*TargetedManagedAppConfigurationsItemAssignmentsCountRequestBuilder) { + return NewTargetedManagedAppConfigurationsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_assignments_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_assignments_request_builder.go index 2057206f289..35e67a9671b 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_assignments_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type TargetedManagedAppConfigurationsItemAssignmentsRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTargetedManagedAppPolicyAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.targetedManagedAppConfiguration entity. -func (m *TargetedManagedAppConfigurationsItemAssignmentsRequestBuilder) ByTargetedManagedAppPolicyAssignmentIdString(targetedManagedAppPolicyAssignmentId string)(*TargetedManagedAppConfigurationsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) { +// ByTargetedManagedAppPolicyAssignmentId provides operations to manage the assignments property of the microsoft.graph.targetedManagedAppConfiguration entity. +func (m *TargetedManagedAppConfigurationsItemAssignmentsRequestBuilder) ByTargetedManagedAppPolicyAssignmentId(targetedManagedAppPolicyAssignmentId string)(*TargetedManagedAppConfigurationsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TargetedManagedAppConfigurationsItemAssignmentsRequestBuilder) ToPostRe } 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 *TargetedManagedAppConfigurationsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*TargetedManagedAppConfigurationsItemAssignmentsRequestBuilder) { + return NewTargetedManagedAppConfigurationsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go index 0a66ccea655..99813ab38af 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *TargetedManagedAppConfigurationsItemAssignmentsTargetedManagedAppPolicy } 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 *TargetedManagedAppConfigurationsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*TargetedManagedAppConfigurationsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) { + return NewTargetedManagedAppConfigurationsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_change_settings_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_change_settings_request_builder.go index 0e39d41b063..d812d45ca36 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_change_settings_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_change_settings_request_builder.go @@ -62,3 +62,7 @@ func (m *TargetedManagedAppConfigurationsItemChangeSettingsRequestBuilder) ToPos } 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 *TargetedManagedAppConfigurationsItemChangeSettingsRequestBuilder) WithUrl(rawUrl string)(*TargetedManagedAppConfigurationsItemChangeSettingsRequestBuilder) { + return NewTargetedManagedAppConfigurationsItemChangeSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_deployment_summary_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_deployment_summary_request_builder.go index fb8296d99ed..7f6ae03d19e 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_deployment_summary_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_deployment_summary_request_builder.go @@ -153,3 +153,7 @@ func (m *TargetedManagedAppConfigurationsItemDeploymentSummaryRequestBuilder) To } 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 *TargetedManagedAppConfigurationsItemDeploymentSummaryRequestBuilder) WithUrl(rawUrl string)(*TargetedManagedAppConfigurationsItemDeploymentSummaryRequestBuilder) { + return NewTargetedManagedAppConfigurationsItemDeploymentSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_settings_count_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_settings_count_request_builder.go index e35d6cbe729..c2f7cf30929 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_settings_count_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TargetedManagedAppConfigurationsItemSettingsCountRequestBuilder) ToGetR } 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 *TargetedManagedAppConfigurationsItemSettingsCountRequestBuilder) WithUrl(rawUrl string)(*TargetedManagedAppConfigurationsItemSettingsCountRequestBuilder) { + return NewTargetedManagedAppConfigurationsItemSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_settings_device_management_configuration_setting_item_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_settings_device_management_configuration_setting_item_request_builder.go index b6151a4689a..8bd449a7f5a 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_settings_device_management_configuration_setting_item_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_settings_device_management_configuration_setting_item_request_builder.go @@ -157,3 +157,7 @@ func (m *TargetedManagedAppConfigurationsItemSettingsDeviceManagementConfigurati } 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 *TargetedManagedAppConfigurationsItemSettingsDeviceManagementConfigurationSettingItemRequestBuilder) WithUrl(rawUrl string)(*TargetedManagedAppConfigurationsItemSettingsDeviceManagementConfigurationSettingItemRequestBuilder) { + return NewTargetedManagedAppConfigurationsItemSettingsDeviceManagementConfigurationSettingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_settings_item_setting_definitions_count_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_settings_item_setting_definitions_count_request_builder.go index 8d33dc815cb..badccb08fb7 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_settings_item_setting_definitions_count_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_settings_item_setting_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TargetedManagedAppConfigurationsItemSettingsItemSettingDefinitionsCount } 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 *TargetedManagedAppConfigurationsItemSettingsItemSettingDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*TargetedManagedAppConfigurationsItemSettingsItemSettingDefinitionsCountRequestBuilder) { + return NewTargetedManagedAppConfigurationsItemSettingsItemSettingDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go index 275c60dfc00..fbb8fe9db32 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go @@ -75,3 +75,7 @@ func (m *TargetedManagedAppConfigurationsItemSettingsItemSettingDefinitionsDevic } 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 *TargetedManagedAppConfigurationsItemSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*TargetedManagedAppConfigurationsItemSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { + return NewTargetedManagedAppConfigurationsItemSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_settings_item_setting_definitions_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_settings_item_setting_definitions_request_builder.go index f8da1529a98..7357b9f8bea 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_settings_item_setting_definitions_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_settings_item_setting_definitions_request_builder.go @@ -39,8 +39,8 @@ type TargetedManagedAppConfigurationsItemSettingsItemSettingDefinitionsRequestBu // Request query parameters QueryParameters *TargetedManagedAppConfigurationsItemSettingsItemSettingDefinitionsRequestBuilderGetQueryParameters } -// ByDeviceManagementConfigurationSettingDefinitionIdString provides operations to manage the settingDefinitions property of the microsoft.graph.deviceManagementConfigurationSetting entity. -func (m *TargetedManagedAppConfigurationsItemSettingsItemSettingDefinitionsRequestBuilder) ByDeviceManagementConfigurationSettingDefinitionIdString(deviceManagementConfigurationSettingDefinitionId string)(*TargetedManagedAppConfigurationsItemSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { +// ByDeviceManagementConfigurationSettingDefinitionId provides operations to manage the settingDefinitions property of the microsoft.graph.deviceManagementConfigurationSetting entity. +func (m *TargetedManagedAppConfigurationsItemSettingsItemSettingDefinitionsRequestBuilder) ByDeviceManagementConfigurationSettingDefinitionId(deviceManagementConfigurationSettingDefinitionId string)(*TargetedManagedAppConfigurationsItemSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *TargetedManagedAppConfigurationsItemSettingsItemSettingDefinitionsReque } 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 *TargetedManagedAppConfigurationsItemSettingsItemSettingDefinitionsRequestBuilder) WithUrl(rawUrl string)(*TargetedManagedAppConfigurationsItemSettingsItemSettingDefinitionsRequestBuilder) { + return NewTargetedManagedAppConfigurationsItemSettingsItemSettingDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_settings_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_settings_request_builder.go index 901b425b2f5..fdac7f5edfa 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_settings_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_settings_request_builder.go @@ -46,8 +46,8 @@ type TargetedManagedAppConfigurationsItemSettingsRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementConfigurationSettingIdString provides operations to manage the settings property of the microsoft.graph.managedAppConfiguration entity. -func (m *TargetedManagedAppConfigurationsItemSettingsRequestBuilder) ByDeviceManagementConfigurationSettingIdString(deviceManagementConfigurationSettingId string)(*TargetedManagedAppConfigurationsItemSettingsDeviceManagementConfigurationSettingItemRequestBuilder) { +// ByDeviceManagementConfigurationSettingId provides operations to manage the settings property of the microsoft.graph.managedAppConfiguration entity. +func (m *TargetedManagedAppConfigurationsItemSettingsRequestBuilder) ByDeviceManagementConfigurationSettingId(deviceManagementConfigurationSettingId string)(*TargetedManagedAppConfigurationsItemSettingsDeviceManagementConfigurationSettingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TargetedManagedAppConfigurationsItemSettingsRequestBuilder) ToPostReque } 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 *TargetedManagedAppConfigurationsItemSettingsRequestBuilder) WithUrl(rawUrl string)(*TargetedManagedAppConfigurationsItemSettingsRequestBuilder) { + return NewTargetedManagedAppConfigurationsItemSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_target_apps_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_target_apps_request_builder.go index a9af6e5fe02..5d7d9d9022f 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_target_apps_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_target_apps_request_builder.go @@ -62,3 +62,7 @@ func (m *TargetedManagedAppConfigurationsItemTargetAppsRequestBuilder) ToPostReq } 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 *TargetedManagedAppConfigurationsItemTargetAppsRequestBuilder) WithUrl(rawUrl string)(*TargetedManagedAppConfigurationsItemTargetAppsRequestBuilder) { + return NewTargetedManagedAppConfigurationsItemTargetAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/targeted_managed_app_configurations_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_request_builder.go index e884bba7d99..15b84311349 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_request_builder.go @@ -46,8 +46,8 @@ type TargetedManagedAppConfigurationsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTargetedManagedAppConfigurationIdString provides operations to manage the targetedManagedAppConfigurations property of the microsoft.graph.deviceAppManagement entity. -func (m *TargetedManagedAppConfigurationsRequestBuilder) ByTargetedManagedAppConfigurationIdString(targetedManagedAppConfigurationId string)(*TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilder) { +// ByTargetedManagedAppConfigurationId provides operations to manage the targetedManagedAppConfigurations property of the microsoft.graph.deviceAppManagement entity. +func (m *TargetedManagedAppConfigurationsRequestBuilder) ByTargetedManagedAppConfigurationId(targetedManagedAppConfigurationId string)(*TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *TargetedManagedAppConfigurationsRequestBuilder) ToPostRequestInformatio } 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 *TargetedManagedAppConfigurationsRequestBuilder) WithUrl(rawUrl string)(*TargetedManagedAppConfigurationsRequestBuilder) { + return NewTargetedManagedAppConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/targeted_managed_app_configurations_targeted_managed_app_configuration_item_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_targeted_managed_app_configuration_item_request_builder.go index 7aa411d83f1..1ceb20c957e 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_targeted_managed_app_configuration_item_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_targeted_managed_app_configuration_item_request_builder.go @@ -181,3 +181,7 @@ func (m *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequ } 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 *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilder) { + return NewTargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/vpp_tokens_count_request_builder.go b/deviceappmanagement/vpp_tokens_count_request_builder.go index b76db13ff95..2a2c45b0859 100644 --- a/deviceappmanagement/vpp_tokens_count_request_builder.go +++ b/deviceappmanagement/vpp_tokens_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VppTokensCountRequestBuilder) ToGetRequestInformation(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 *VppTokensCountRequestBuilder) WithUrl(rawUrl string)(*VppTokensCountRequestBuilder) { + return NewVppTokensCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/vpp_tokens_get_licenses_for_app_with_bundle_id_request_builder.go b/deviceappmanagement/vpp_tokens_get_licenses_for_app_with_bundle_id_request_builder.go index e690e3a8dfd..04b1730bab6 100644 --- a/deviceappmanagement/vpp_tokens_get_licenses_for_app_with_bundle_id_request_builder.go +++ b/deviceappmanagement/vpp_tokens_get_licenses_for_app_with_bundle_id_request_builder.go @@ -83,3 +83,7 @@ func (m *VppTokensGetLicensesForAppWithBundleIdRequestBuilder) ToGetRequestInfor } 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 *VppTokensGetLicensesForAppWithBundleIdRequestBuilder) WithUrl(rawUrl string)(*VppTokensGetLicensesForAppWithBundleIdRequestBuilder) { + return NewVppTokensGetLicensesForAppWithBundleIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/vpp_tokens_item_revoke_licenses_request_builder.go b/deviceappmanagement/vpp_tokens_item_revoke_licenses_request_builder.go index 1cf90b93383..187fbbc189d 100644 --- a/deviceappmanagement/vpp_tokens_item_revoke_licenses_request_builder.go +++ b/deviceappmanagement/vpp_tokens_item_revoke_licenses_request_builder.go @@ -62,3 +62,7 @@ func (m *VppTokensItemRevokeLicensesRequestBuilder) 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 *VppTokensItemRevokeLicensesRequestBuilder) WithUrl(rawUrl string)(*VppTokensItemRevokeLicensesRequestBuilder) { + return NewVppTokensItemRevokeLicensesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/vpp_tokens_item_sync_licenses_request_builder.go b/deviceappmanagement/vpp_tokens_item_sync_licenses_request_builder.go index 728ebe6c4a5..e9e4b736116 100644 --- a/deviceappmanagement/vpp_tokens_item_sync_licenses_request_builder.go +++ b/deviceappmanagement/vpp_tokens_item_sync_licenses_request_builder.go @@ -63,3 +63,7 @@ func (m *VppTokensItemSyncLicensesRequestBuilder) ToPostRequestInformation(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 *VppTokensItemSyncLicensesRequestBuilder) WithUrl(rawUrl string)(*VppTokensItemSyncLicensesRequestBuilder) { + return NewVppTokensItemSyncLicensesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/vpp_tokens_request_builder.go b/deviceappmanagement/vpp_tokens_request_builder.go index 7f3216f8292..f4e41bd9ee3 100644 --- a/deviceappmanagement/vpp_tokens_request_builder.go +++ b/deviceappmanagement/vpp_tokens_request_builder.go @@ -46,8 +46,8 @@ type VppTokensRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByVppTokenIdString provides operations to manage the vppTokens property of the microsoft.graph.deviceAppManagement entity. -func (m *VppTokensRequestBuilder) ByVppTokenIdString(vppTokenId string)(*VppTokensVppTokenItemRequestBuilder) { +// ByVppTokenId provides operations to manage the vppTokens property of the microsoft.graph.deviceAppManagement entity. +func (m *VppTokensRequestBuilder) ByVppTokenId(vppTokenId string)(*VppTokensVppTokenItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,7 @@ func (m *VppTokensRequestBuilder) ToPostRequestInformation(ctx context.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 *VppTokensRequestBuilder) WithUrl(rawUrl string)(*VppTokensRequestBuilder) { + return NewVppTokensRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/vpp_tokens_sync_license_counts_request_builder.go b/deviceappmanagement/vpp_tokens_sync_license_counts_request_builder.go index 2acb14e0bed..8cf6b3fd464 100644 --- a/deviceappmanagement/vpp_tokens_sync_license_counts_request_builder.go +++ b/deviceappmanagement/vpp_tokens_sync_license_counts_request_builder.go @@ -58,3 +58,7 @@ func (m *VppTokensSyncLicenseCountsRequestBuilder) 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 *VppTokensSyncLicenseCountsRequestBuilder) WithUrl(rawUrl string)(*VppTokensSyncLicenseCountsRequestBuilder) { + return NewVppTokensSyncLicenseCountsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/vpp_tokens_vpp_token_item_request_builder.go b/deviceappmanagement/vpp_tokens_vpp_token_item_request_builder.go index 592e89c1e81..934c8f02b5e 100644 --- a/deviceappmanagement/vpp_tokens_vpp_token_item_request_builder.go +++ b/deviceappmanagement/vpp_tokens_vpp_token_item_request_builder.go @@ -161,3 +161,7 @@ func (m *VppTokensVppTokenItemRequestBuilder) ToPatchRequestInformation(ctx cont } 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 *VppTokensVppTokenItemRequestBuilder) WithUrl(rawUrl string)(*VppTokensVppTokenItemRequestBuilder) { + return NewVppTokensVppTokenItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/wdac_supplemental_policies_count_request_builder.go b/deviceappmanagement/wdac_supplemental_policies_count_request_builder.go index 5fefa5a62f7..bdcb8728db2 100644 --- a/deviceappmanagement/wdac_supplemental_policies_count_request_builder.go +++ b/deviceappmanagement/wdac_supplemental_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WdacSupplementalPoliciesCountRequestBuilder) ToGetRequestInformation(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 *WdacSupplementalPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*WdacSupplementalPoliciesCountRequestBuilder) { + return NewWdacSupplementalPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/wdac_supplemental_policies_item_assign_request_builder.go b/deviceappmanagement/wdac_supplemental_policies_item_assign_request_builder.go index 8fd6218b98f..438c9a89081 100644 --- a/deviceappmanagement/wdac_supplemental_policies_item_assign_request_builder.go +++ b/deviceappmanagement/wdac_supplemental_policies_item_assign_request_builder.go @@ -62,3 +62,7 @@ func (m *WdacSupplementalPoliciesItemAssignRequestBuilder) ToPostRequestInformat } 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 *WdacSupplementalPoliciesItemAssignRequestBuilder) WithUrl(rawUrl string)(*WdacSupplementalPoliciesItemAssignRequestBuilder) { + return NewWdacSupplementalPoliciesItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/wdac_supplemental_policies_item_assignments_count_request_builder.go b/deviceappmanagement/wdac_supplemental_policies_item_assignments_count_request_builder.go index 0b3d27e66c0..1d2cc2199a3 100644 --- a/deviceappmanagement/wdac_supplemental_policies_item_assignments_count_request_builder.go +++ b/deviceappmanagement/wdac_supplemental_policies_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WdacSupplementalPoliciesItemAssignmentsCountRequestBuilder) ToGetReques } 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 *WdacSupplementalPoliciesItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*WdacSupplementalPoliciesItemAssignmentsCountRequestBuilder) { + return NewWdacSupplementalPoliciesItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/wdac_supplemental_policies_item_assignments_request_builder.go b/deviceappmanagement/wdac_supplemental_policies_item_assignments_request_builder.go index d16126e51fc..8230dc487a5 100644 --- a/deviceappmanagement/wdac_supplemental_policies_item_assignments_request_builder.go +++ b/deviceappmanagement/wdac_supplemental_policies_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type WdacSupplementalPoliciesItemAssignmentsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsDefenderApplicationControlSupplementalPolicyAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.windowsDefenderApplicationControlSupplementalPolicy entity. -func (m *WdacSupplementalPoliciesItemAssignmentsRequestBuilder) ByWindowsDefenderApplicationControlSupplementalPolicyAssignmentIdString(windowsDefenderApplicationControlSupplementalPolicyAssignmentId string)(*WdacSupplementalPoliciesItemAssignmentsWindowsDefenderApplicationControlSupplementalPolicyAssignmentItemRequestBuilder) { +// ByWindowsDefenderApplicationControlSupplementalPolicyAssignmentId provides operations to manage the assignments property of the microsoft.graph.windowsDefenderApplicationControlSupplementalPolicy entity. +func (m *WdacSupplementalPoliciesItemAssignmentsRequestBuilder) ByWindowsDefenderApplicationControlSupplementalPolicyAssignmentId(windowsDefenderApplicationControlSupplementalPolicyAssignmentId string)(*WdacSupplementalPoliciesItemAssignmentsWindowsDefenderApplicationControlSupplementalPolicyAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WdacSupplementalPoliciesItemAssignmentsRequestBuilder) ToPostRequestInf } 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 *WdacSupplementalPoliciesItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*WdacSupplementalPoliciesItemAssignmentsRequestBuilder) { + return NewWdacSupplementalPoliciesItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/wdac_supplemental_policies_item_assignments_windows_defender_application_control_supplemental_policy_assignment_item_request_builder.go b/deviceappmanagement/wdac_supplemental_policies_item_assignments_windows_defender_application_control_supplemental_policy_assignment_item_request_builder.go index 30cb460fc7d..137b104aa46 100644 --- a/deviceappmanagement/wdac_supplemental_policies_item_assignments_windows_defender_application_control_supplemental_policy_assignment_item_request_builder.go +++ b/deviceappmanagement/wdac_supplemental_policies_item_assignments_windows_defender_application_control_supplemental_policy_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *WdacSupplementalPoliciesItemAssignmentsWindowsDefenderApplicationContro } 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 *WdacSupplementalPoliciesItemAssignmentsWindowsDefenderApplicationControlSupplementalPolicyAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*WdacSupplementalPoliciesItemAssignmentsWindowsDefenderApplicationControlSupplementalPolicyAssignmentItemRequestBuilder) { + return NewWdacSupplementalPoliciesItemAssignmentsWindowsDefenderApplicationControlSupplementalPolicyAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/wdac_supplemental_policies_item_deploy_summary_request_builder.go b/deviceappmanagement/wdac_supplemental_policies_item_deploy_summary_request_builder.go index e7d409dabaa..83efec66f55 100644 --- a/deviceappmanagement/wdac_supplemental_policies_item_deploy_summary_request_builder.go +++ b/deviceappmanagement/wdac_supplemental_policies_item_deploy_summary_request_builder.go @@ -153,3 +153,7 @@ func (m *WdacSupplementalPoliciesItemDeploySummaryRequestBuilder) ToPatchRequest } 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 *WdacSupplementalPoliciesItemDeploySummaryRequestBuilder) WithUrl(rawUrl string)(*WdacSupplementalPoliciesItemDeploySummaryRequestBuilder) { + return NewWdacSupplementalPoliciesItemDeploySummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_count_request_builder.go b/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_count_request_builder.go index 1fa03dc5541..4d04ca23898 100644 --- a/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_count_request_builder.go +++ b/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WdacSupplementalPoliciesItemDeviceStatusesCountRequestBuilder) ToGetReq } 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 *WdacSupplementalPoliciesItemDeviceStatusesCountRequestBuilder) WithUrl(rawUrl string)(*WdacSupplementalPoliciesItemDeviceStatusesCountRequestBuilder) { + return NewWdacSupplementalPoliciesItemDeviceStatusesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_item_policy_request_builder.go b/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_item_policy_request_builder.go index 2d1b9e9b66d..ea0b75c3380 100644 --- a/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_item_policy_request_builder.go +++ b/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_item_policy_request_builder.go @@ -75,3 +75,7 @@ func (m *WdacSupplementalPoliciesItemDeviceStatusesItemPolicyRequestBuilder) ToG } 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 *WdacSupplementalPoliciesItemDeviceStatusesItemPolicyRequestBuilder) WithUrl(rawUrl string)(*WdacSupplementalPoliciesItemDeviceStatusesItemPolicyRequestBuilder) { + return NewWdacSupplementalPoliciesItemDeviceStatusesItemPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_request_builder.go b/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_request_builder.go index 060af251f41..c950c763a62 100644 --- a/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_request_builder.go +++ b/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_request_builder.go @@ -46,8 +46,8 @@ type WdacSupplementalPoliciesItemDeviceStatusesRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsDefenderApplicationControlSupplementalPolicyDeploymentStatusIdString provides operations to manage the deviceStatuses property of the microsoft.graph.windowsDefenderApplicationControlSupplementalPolicy entity. -func (m *WdacSupplementalPoliciesItemDeviceStatusesRequestBuilder) ByWindowsDefenderApplicationControlSupplementalPolicyDeploymentStatusIdString(windowsDefenderApplicationControlSupplementalPolicyDeploymentStatusId string)(*WdacSupplementalPoliciesItemDeviceStatusesWindowsDefenderApplicationControlSupplementalPolicyDeploymentStatusItemRequestBuilder) { +// ByWindowsDefenderApplicationControlSupplementalPolicyDeploymentStatusId provides operations to manage the deviceStatuses property of the microsoft.graph.windowsDefenderApplicationControlSupplementalPolicy entity. +func (m *WdacSupplementalPoliciesItemDeviceStatusesRequestBuilder) ByWindowsDefenderApplicationControlSupplementalPolicyDeploymentStatusId(windowsDefenderApplicationControlSupplementalPolicyDeploymentStatusId string)(*WdacSupplementalPoliciesItemDeviceStatusesWindowsDefenderApplicationControlSupplementalPolicyDeploymentStatusItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WdacSupplementalPoliciesItemDeviceStatusesRequestBuilder) ToPostRequest } 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 *WdacSupplementalPoliciesItemDeviceStatusesRequestBuilder) WithUrl(rawUrl string)(*WdacSupplementalPoliciesItemDeviceStatusesRequestBuilder) { + return NewWdacSupplementalPoliciesItemDeviceStatusesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_windows_defender_application_control_supplemental_policy_deployment_status_item_request_builder.go b/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_windows_defender_application_control_supplemental_policy_deployment_status_item_request_builder.go index 49cdfed0064..2407da4b203 100644 --- a/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_windows_defender_application_control_supplemental_policy_deployment_status_item_request_builder.go +++ b/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_windows_defender_application_control_supplemental_policy_deployment_status_item_request_builder.go @@ -157,3 +157,7 @@ func (m *WdacSupplementalPoliciesItemDeviceStatusesWindowsDefenderApplicationCon } 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 *WdacSupplementalPoliciesItemDeviceStatusesWindowsDefenderApplicationControlSupplementalPolicyDeploymentStatusItemRequestBuilder) WithUrl(rawUrl string)(*WdacSupplementalPoliciesItemDeviceStatusesWindowsDefenderApplicationControlSupplementalPolicyDeploymentStatusItemRequestBuilder) { + return NewWdacSupplementalPoliciesItemDeviceStatusesWindowsDefenderApplicationControlSupplementalPolicyDeploymentStatusItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/wdac_supplemental_policies_request_builder.go b/deviceappmanagement/wdac_supplemental_policies_request_builder.go index 0b6be2e0f4b..39ad05c75e0 100644 --- a/deviceappmanagement/wdac_supplemental_policies_request_builder.go +++ b/deviceappmanagement/wdac_supplemental_policies_request_builder.go @@ -46,8 +46,8 @@ type WdacSupplementalPoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsDefenderApplicationControlSupplementalPolicyIdString provides operations to manage the wdacSupplementalPolicies property of the microsoft.graph.deviceAppManagement entity. -func (m *WdacSupplementalPoliciesRequestBuilder) ByWindowsDefenderApplicationControlSupplementalPolicyIdString(windowsDefenderApplicationControlSupplementalPolicyId string)(*WdacSupplementalPoliciesWindowsDefenderApplicationControlSupplementalPolicyItemRequestBuilder) { +// ByWindowsDefenderApplicationControlSupplementalPolicyId provides operations to manage the wdacSupplementalPolicies property of the microsoft.graph.deviceAppManagement entity. +func (m *WdacSupplementalPoliciesRequestBuilder) ByWindowsDefenderApplicationControlSupplementalPolicyId(windowsDefenderApplicationControlSupplementalPolicyId string)(*WdacSupplementalPoliciesWindowsDefenderApplicationControlSupplementalPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WdacSupplementalPoliciesRequestBuilder) ToPostRequestInformation(ctx co } 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 *WdacSupplementalPoliciesRequestBuilder) WithUrl(rawUrl string)(*WdacSupplementalPoliciesRequestBuilder) { + return NewWdacSupplementalPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/wdac_supplemental_policies_windows_defender_application_control_supplemental_policy_item_request_builder.go b/deviceappmanagement/wdac_supplemental_policies_windows_defender_application_control_supplemental_policy_item_request_builder.go index 396314d6138..5cff725025e 100644 --- a/deviceappmanagement/wdac_supplemental_policies_windows_defender_application_control_supplemental_policy_item_request_builder.go +++ b/deviceappmanagement/wdac_supplemental_policies_windows_defender_application_control_supplemental_policy_item_request_builder.go @@ -169,3 +169,7 @@ func (m *WdacSupplementalPoliciesWindowsDefenderApplicationControlSupplementalPo } 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 *WdacSupplementalPoliciesWindowsDefenderApplicationControlSupplementalPolicyItemRequestBuilder) WithUrl(rawUrl string)(*WdacSupplementalPoliciesWindowsDefenderApplicationControlSupplementalPolicyItemRequestBuilder) { + return NewWdacSupplementalPoliciesWindowsDefenderApplicationControlSupplementalPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_information_protection_device_registrations_count_request_builder.go b/deviceappmanagement/windows_information_protection_device_registrations_count_request_builder.go index 3fbc4791f2c..5639432c3ce 100644 --- a/deviceappmanagement/windows_information_protection_device_registrations_count_request_builder.go +++ b/deviceappmanagement/windows_information_protection_device_registrations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsInformationProtectionDeviceRegistrationsCountRequestBuilder) ToG } 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 *WindowsInformationProtectionDeviceRegistrationsCountRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionDeviceRegistrationsCountRequestBuilder) { + return NewWindowsInformationProtectionDeviceRegistrationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_information_protection_device_registrations_item_wipe_request_builder.go b/deviceappmanagement/windows_information_protection_device_registrations_item_wipe_request_builder.go index c8c821fb57d..83aa437c54e 100644 --- a/deviceappmanagement/windows_information_protection_device_registrations_item_wipe_request_builder.go +++ b/deviceappmanagement/windows_information_protection_device_registrations_item_wipe_request_builder.go @@ -58,3 +58,7 @@ func (m *WindowsInformationProtectionDeviceRegistrationsItemWipeRequestBuilder) } 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 *WindowsInformationProtectionDeviceRegistrationsItemWipeRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionDeviceRegistrationsItemWipeRequestBuilder) { + return NewWindowsInformationProtectionDeviceRegistrationsItemWipeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_information_protection_device_registrations_request_builder.go b/deviceappmanagement/windows_information_protection_device_registrations_request_builder.go index d64559b2e4e..5cf11f9f481 100644 --- a/deviceappmanagement/windows_information_protection_device_registrations_request_builder.go +++ b/deviceappmanagement/windows_information_protection_device_registrations_request_builder.go @@ -46,8 +46,8 @@ type WindowsInformationProtectionDeviceRegistrationsRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsInformationProtectionDeviceRegistrationIdString provides operations to manage the windowsInformationProtectionDeviceRegistrations property of the microsoft.graph.deviceAppManagement entity. -func (m *WindowsInformationProtectionDeviceRegistrationsRequestBuilder) ByWindowsInformationProtectionDeviceRegistrationIdString(windowsInformationProtectionDeviceRegistrationId string)(*WindowsInformationProtectionDeviceRegistrationsWindowsInformationProtectionDeviceRegistrationItemRequestBuilder) { +// ByWindowsInformationProtectionDeviceRegistrationId provides operations to manage the windowsInformationProtectionDeviceRegistrations property of the microsoft.graph.deviceAppManagement entity. +func (m *WindowsInformationProtectionDeviceRegistrationsRequestBuilder) ByWindowsInformationProtectionDeviceRegistrationId(windowsInformationProtectionDeviceRegistrationId string)(*WindowsInformationProtectionDeviceRegistrationsWindowsInformationProtectionDeviceRegistrationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsInformationProtectionDeviceRegistrationsRequestBuilder) ToPostRe } 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 *WindowsInformationProtectionDeviceRegistrationsRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionDeviceRegistrationsRequestBuilder) { + return NewWindowsInformationProtectionDeviceRegistrationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_information_protection_device_registrations_windows_information_protection_device_registration_item_request_builder.go b/deviceappmanagement/windows_information_protection_device_registrations_windows_information_protection_device_registration_item_request_builder.go index ffd78d0cc2b..2ff6db5fd61 100644 --- a/deviceappmanagement/windows_information_protection_device_registrations_windows_information_protection_device_registration_item_request_builder.go +++ b/deviceappmanagement/windows_information_protection_device_registrations_windows_information_protection_device_registration_item_request_builder.go @@ -157,3 +157,7 @@ func (m *WindowsInformationProtectionDeviceRegistrationsWindowsInformationProtec func (m *WindowsInformationProtectionDeviceRegistrationsWindowsInformationProtectionDeviceRegistrationItemRequestBuilder) Wipe()(*WindowsInformationProtectionDeviceRegistrationsItemWipeRequestBuilder) { return NewWindowsInformationProtectionDeviceRegistrationsItemWipeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *WindowsInformationProtectionDeviceRegistrationsWindowsInformationProtectionDeviceRegistrationItemRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionDeviceRegistrationsWindowsInformationProtectionDeviceRegistrationItemRequestBuilder) { + return NewWindowsInformationProtectionDeviceRegistrationsWindowsInformationProtectionDeviceRegistrationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_information_protection_policies_count_request_builder.go b/deviceappmanagement/windows_information_protection_policies_count_request_builder.go index 3a993fca5ab..1175fcbff34 100644 --- a/deviceappmanagement/windows_information_protection_policies_count_request_builder.go +++ b/deviceappmanagement/windows_information_protection_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsInformationProtectionPoliciesCountRequestBuilder) ToGetRequestIn } 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 *WindowsInformationProtectionPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionPoliciesCountRequestBuilder) { + return NewWindowsInformationProtectionPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_information_protection_policies_item_assignments_count_request_builder.go b/deviceappmanagement/windows_information_protection_policies_item_assignments_count_request_builder.go index 99d91289628..24aec648d6f 100644 --- a/deviceappmanagement/windows_information_protection_policies_item_assignments_count_request_builder.go +++ b/deviceappmanagement/windows_information_protection_policies_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsInformationProtectionPoliciesItemAssignmentsCountRequestBuilder) } 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 *WindowsInformationProtectionPoliciesItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionPoliciesItemAssignmentsCountRequestBuilder) { + return NewWindowsInformationProtectionPoliciesItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_information_protection_policies_item_assignments_request_builder.go b/deviceappmanagement/windows_information_protection_policies_item_assignments_request_builder.go index 3b5b0a2b8ee..2eb33ea3cbd 100644 --- a/deviceappmanagement/windows_information_protection_policies_item_assignments_request_builder.go +++ b/deviceappmanagement/windows_information_protection_policies_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type WindowsInformationProtectionPoliciesItemAssignmentsRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTargetedManagedAppPolicyAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.windowsInformationProtection entity. -func (m *WindowsInformationProtectionPoliciesItemAssignmentsRequestBuilder) ByTargetedManagedAppPolicyAssignmentIdString(targetedManagedAppPolicyAssignmentId string)(*WindowsInformationProtectionPoliciesItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) { +// ByTargetedManagedAppPolicyAssignmentId provides operations to manage the assignments property of the microsoft.graph.windowsInformationProtection entity. +func (m *WindowsInformationProtectionPoliciesItemAssignmentsRequestBuilder) ByTargetedManagedAppPolicyAssignmentId(targetedManagedAppPolicyAssignmentId string)(*WindowsInformationProtectionPoliciesItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsInformationProtectionPoliciesItemAssignmentsRequestBuilder) ToPo } 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 *WindowsInformationProtectionPoliciesItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionPoliciesItemAssignmentsRequestBuilder) { + return NewWindowsInformationProtectionPoliciesItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_information_protection_policies_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go b/deviceappmanagement/windows_information_protection_policies_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go index 97c5d64174f..a98c4dbb68d 100644 --- a/deviceappmanagement/windows_information_protection_policies_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go +++ b/deviceappmanagement/windows_information_protection_policies_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *WindowsInformationProtectionPoliciesItemAssignmentsTargetedManagedAppPo } 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 *WindowsInformationProtectionPoliciesItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionPoliciesItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) { + return NewWindowsInformationProtectionPoliciesItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_count_request_builder.go b/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_count_request_builder.go index e1c090cdc5a..50afc3737f8 100644 --- a/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_count_request_builder.go +++ b/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesCountReques } 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 *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesCountRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionPoliciesItemExemptAppLockerFilesCountRequestBuilder) { + return NewWindowsInformationProtectionPoliciesItemExemptAppLockerFilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_request_builder.go b/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_request_builder.go index a583d7294e4..9e52c52eb5e 100644 --- a/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_request_builder.go +++ b/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_request_builder.go @@ -46,8 +46,8 @@ type WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilderP // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsInformationProtectionAppLockerFileIdString provides operations to manage the exemptAppLockerFiles property of the microsoft.graph.windowsInformationProtection entity. -func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilder) ByWindowsInformationProtectionAppLockerFileIdString(windowsInformationProtectionAppLockerFileId string)(*WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder) { +// ByWindowsInformationProtectionAppLockerFileId provides operations to manage the exemptAppLockerFiles property of the microsoft.graph.windowsInformationProtection entity. +func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilder) ByWindowsInformationProtectionAppLockerFileId(windowsInformationProtectionAppLockerFileId string)(*WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuil } 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 *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilder) { + return NewWindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go b/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go index c4648751012..bfb690fb450 100644 --- a/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go +++ b/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go @@ -153,3 +153,7 @@ func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInfo } 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 *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder) { + return NewWindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_information_protection_policies_item_protected_app_locker_files_count_request_builder.go b/deviceappmanagement/windows_information_protection_policies_item_protected_app_locker_files_count_request_builder.go index b74f2eb42f8..fe4cea400f7 100644 --- a/deviceappmanagement/windows_information_protection_policies_item_protected_app_locker_files_count_request_builder.go +++ b/deviceappmanagement/windows_information_protection_policies_item_protected_app_locker_files_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsInformationProtectionPoliciesItemProtectedAppLockerFilesCountReq } 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 *WindowsInformationProtectionPoliciesItemProtectedAppLockerFilesCountRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionPoliciesItemProtectedAppLockerFilesCountRequestBuilder) { + return NewWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_information_protection_policies_item_protected_app_locker_files_request_builder.go b/deviceappmanagement/windows_information_protection_policies_item_protected_app_locker_files_request_builder.go index 5ee50e83f51..f3b01a45a5f 100644 --- a/deviceappmanagement/windows_information_protection_policies_item_protected_app_locker_files_request_builder.go +++ b/deviceappmanagement/windows_information_protection_policies_item_protected_app_locker_files_request_builder.go @@ -46,8 +46,8 @@ type WindowsInformationProtectionPoliciesItemProtectedAppLockerFilesRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsInformationProtectionAppLockerFileIdString provides operations to manage the protectedAppLockerFiles property of the microsoft.graph.windowsInformationProtection entity. -func (m *WindowsInformationProtectionPoliciesItemProtectedAppLockerFilesRequestBuilder) ByWindowsInformationProtectionAppLockerFileIdString(windowsInformationProtectionAppLockerFileId string)(*WindowsInformationProtectionPoliciesItemProtectedAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder) { +// ByWindowsInformationProtectionAppLockerFileId provides operations to manage the protectedAppLockerFiles property of the microsoft.graph.windowsInformationProtection entity. +func (m *WindowsInformationProtectionPoliciesItemProtectedAppLockerFilesRequestBuilder) ByWindowsInformationProtectionAppLockerFileId(windowsInformationProtectionAppLockerFileId string)(*WindowsInformationProtectionPoliciesItemProtectedAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsInformationProtectionPoliciesItemProtectedAppLockerFilesRequestB } 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 *WindowsInformationProtectionPoliciesItemProtectedAppLockerFilesRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionPoliciesItemProtectedAppLockerFilesRequestBuilder) { + return NewWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_information_protection_policies_item_protected_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go b/deviceappmanagement/windows_information_protection_policies_item_protected_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go index 95a041cb3ca..9072ede5b82 100644 --- a/deviceappmanagement/windows_information_protection_policies_item_protected_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go +++ b/deviceappmanagement/windows_information_protection_policies_item_protected_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go @@ -153,3 +153,7 @@ func (m *WindowsInformationProtectionPoliciesItemProtectedAppLockerFilesWindowsI } 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 *WindowsInformationProtectionPoliciesItemProtectedAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionPoliciesItemProtectedAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder) { + return NewWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesWindowsInformationProtectionAppLockerFileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_information_protection_policies_request_builder.go b/deviceappmanagement/windows_information_protection_policies_request_builder.go index 46e93a64492..9f13e32ae6f 100644 --- a/deviceappmanagement/windows_information_protection_policies_request_builder.go +++ b/deviceappmanagement/windows_information_protection_policies_request_builder.go @@ -46,8 +46,8 @@ type WindowsInformationProtectionPoliciesRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsInformationProtectionPolicyIdString provides operations to manage the windowsInformationProtectionPolicies property of the microsoft.graph.deviceAppManagement entity. -func (m *WindowsInformationProtectionPoliciesRequestBuilder) ByWindowsInformationProtectionPolicyIdString(windowsInformationProtectionPolicyId string)(*WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilder) { +// ByWindowsInformationProtectionPolicyId provides operations to manage the windowsInformationProtectionPolicies property of the microsoft.graph.deviceAppManagement entity. +func (m *WindowsInformationProtectionPoliciesRequestBuilder) ByWindowsInformationProtectionPolicyId(windowsInformationProtectionPolicyId string)(*WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsInformationProtectionPoliciesRequestBuilder) ToPostRequestInform } 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 *WindowsInformationProtectionPoliciesRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionPoliciesRequestBuilder) { + return NewWindowsInformationProtectionPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_information_protection_policies_windows_information_protection_policy_item_request_builder.go b/deviceappmanagement/windows_information_protection_policies_windows_information_protection_policy_item_request_builder.go index 9efe6ca8f32..d35cbdf9e01 100644 --- a/deviceappmanagement/windows_information_protection_policies_windows_information_protection_policy_item_request_builder.go +++ b/deviceappmanagement/windows_information_protection_policies_windows_information_protection_policy_item_request_builder.go @@ -165,3 +165,7 @@ func (m *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyI } 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 *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilder) { + return NewWindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_information_protection_wipe_actions_count_request_builder.go b/deviceappmanagement/windows_information_protection_wipe_actions_count_request_builder.go index 310d74b095c..0b2251c5c1c 100644 --- a/deviceappmanagement/windows_information_protection_wipe_actions_count_request_builder.go +++ b/deviceappmanagement/windows_information_protection_wipe_actions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsInformationProtectionWipeActionsCountRequestBuilder) ToGetReques } 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 *WindowsInformationProtectionWipeActionsCountRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionWipeActionsCountRequestBuilder) { + return NewWindowsInformationProtectionWipeActionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_information_protection_wipe_actions_request_builder.go b/deviceappmanagement/windows_information_protection_wipe_actions_request_builder.go index 199bf486b57..fc867ee1196 100644 --- a/deviceappmanagement/windows_information_protection_wipe_actions_request_builder.go +++ b/deviceappmanagement/windows_information_protection_wipe_actions_request_builder.go @@ -46,8 +46,8 @@ type WindowsInformationProtectionWipeActionsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsInformationProtectionWipeActionIdString provides operations to manage the windowsInformationProtectionWipeActions property of the microsoft.graph.deviceAppManagement entity. -func (m *WindowsInformationProtectionWipeActionsRequestBuilder) ByWindowsInformationProtectionWipeActionIdString(windowsInformationProtectionWipeActionId string)(*WindowsInformationProtectionWipeActionsWindowsInformationProtectionWipeActionItemRequestBuilder) { +// ByWindowsInformationProtectionWipeActionId provides operations to manage the windowsInformationProtectionWipeActions property of the microsoft.graph.deviceAppManagement entity. +func (m *WindowsInformationProtectionWipeActionsRequestBuilder) ByWindowsInformationProtectionWipeActionId(windowsInformationProtectionWipeActionId string)(*WindowsInformationProtectionWipeActionsWindowsInformationProtectionWipeActionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsInformationProtectionWipeActionsRequestBuilder) ToPostRequestInf } 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 *WindowsInformationProtectionWipeActionsRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionWipeActionsRequestBuilder) { + return NewWindowsInformationProtectionWipeActionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_information_protection_wipe_actions_windows_information_protection_wipe_action_item_request_builder.go b/deviceappmanagement/windows_information_protection_wipe_actions_windows_information_protection_wipe_action_item_request_builder.go index 8b567f07261..61fb971f71c 100644 --- a/deviceappmanagement/windows_information_protection_wipe_actions_windows_information_protection_wipe_action_item_request_builder.go +++ b/deviceappmanagement/windows_information_protection_wipe_actions_windows_information_protection_wipe_action_item_request_builder.go @@ -153,3 +153,7 @@ func (m *WindowsInformationProtectionWipeActionsWindowsInformationProtectionWipe } 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 *WindowsInformationProtectionWipeActionsWindowsInformationProtectionWipeActionItemRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionWipeActionsWindowsInformationProtectionWipeActionItemRequestBuilder) { + return NewWindowsInformationProtectionWipeActionsWindowsInformationProtectionWipeActionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_managed_app_protections_count_request_builder.go b/deviceappmanagement/windows_managed_app_protections_count_request_builder.go index 087ac5d0eb0..d1bd5182196 100644 --- a/deviceappmanagement/windows_managed_app_protections_count_request_builder.go +++ b/deviceappmanagement/windows_managed_app_protections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsManagedAppProtectionsCountRequestBuilder) 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 *WindowsManagedAppProtectionsCountRequestBuilder) WithUrl(rawUrl string)(*WindowsManagedAppProtectionsCountRequestBuilder) { + return NewWindowsManagedAppProtectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_managed_app_protections_item_apps_count_request_builder.go b/deviceappmanagement/windows_managed_app_protections_item_apps_count_request_builder.go index 45f15c4f553..d89e461b8f6 100644 --- a/deviceappmanagement/windows_managed_app_protections_item_apps_count_request_builder.go +++ b/deviceappmanagement/windows_managed_app_protections_item_apps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsManagedAppProtectionsItemAppsCountRequestBuilder) ToGetRequestIn } 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 *WindowsManagedAppProtectionsItemAppsCountRequestBuilder) WithUrl(rawUrl string)(*WindowsManagedAppProtectionsItemAppsCountRequestBuilder) { + return NewWindowsManagedAppProtectionsItemAppsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go b/deviceappmanagement/windows_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go index 8dac74fc4c4..f2bacbf33bd 100644 --- a/deviceappmanagement/windows_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go +++ b/deviceappmanagement/windows_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go @@ -153,3 +153,7 @@ func (m *WindowsManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) } 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 *WindowsManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) WithUrl(rawUrl string)(*WindowsManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) { + return NewWindowsManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_managed_app_protections_item_apps_request_builder.go b/deviceappmanagement/windows_managed_app_protections_item_apps_request_builder.go index d9a8c37b578..c2ef0d38562 100644 --- a/deviceappmanagement/windows_managed_app_protections_item_apps_request_builder.go +++ b/deviceappmanagement/windows_managed_app_protections_item_apps_request_builder.go @@ -46,8 +46,8 @@ type WindowsManagedAppProtectionsItemAppsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedMobileAppIdString provides operations to manage the apps property of the microsoft.graph.windowsManagedAppProtection entity. -func (m *WindowsManagedAppProtectionsItemAppsRequestBuilder) ByManagedMobileAppIdString(managedMobileAppId string)(*WindowsManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) { +// ByManagedMobileAppId provides operations to manage the apps property of the microsoft.graph.windowsManagedAppProtection entity. +func (m *WindowsManagedAppProtectionsItemAppsRequestBuilder) ByManagedMobileAppId(managedMobileAppId string)(*WindowsManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsManagedAppProtectionsItemAppsRequestBuilder) ToPostRequestInform } 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 *WindowsManagedAppProtectionsItemAppsRequestBuilder) WithUrl(rawUrl string)(*WindowsManagedAppProtectionsItemAppsRequestBuilder) { + return NewWindowsManagedAppProtectionsItemAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_managed_app_protections_item_assign_request_builder.go b/deviceappmanagement/windows_managed_app_protections_item_assign_request_builder.go index 7733b1fc9b0..fad9f8aa769 100644 --- a/deviceappmanagement/windows_managed_app_protections_item_assign_request_builder.go +++ b/deviceappmanagement/windows_managed_app_protections_item_assign_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsManagedAppProtectionsItemAssignRequestBuilder) ToPostRequestInfo } 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 *WindowsManagedAppProtectionsItemAssignRequestBuilder) WithUrl(rawUrl string)(*WindowsManagedAppProtectionsItemAssignRequestBuilder) { + return NewWindowsManagedAppProtectionsItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_managed_app_protections_item_assignments_count_request_builder.go b/deviceappmanagement/windows_managed_app_protections_item_assignments_count_request_builder.go index dbbaf8cb4c3..b4bf357e696 100644 --- a/deviceappmanagement/windows_managed_app_protections_item_assignments_count_request_builder.go +++ b/deviceappmanagement/windows_managed_app_protections_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsManagedAppProtectionsItemAssignmentsCountRequestBuilder) ToGetRe } 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 *WindowsManagedAppProtectionsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*WindowsManagedAppProtectionsItemAssignmentsCountRequestBuilder) { + return NewWindowsManagedAppProtectionsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_managed_app_protections_item_assignments_request_builder.go b/deviceappmanagement/windows_managed_app_protections_item_assignments_request_builder.go index 56453c4c374..bfec960157f 100644 --- a/deviceappmanagement/windows_managed_app_protections_item_assignments_request_builder.go +++ b/deviceappmanagement/windows_managed_app_protections_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type WindowsManagedAppProtectionsItemAssignmentsRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTargetedManagedAppPolicyAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.windowsManagedAppProtection entity. -func (m *WindowsManagedAppProtectionsItemAssignmentsRequestBuilder) ByTargetedManagedAppPolicyAssignmentIdString(targetedManagedAppPolicyAssignmentId string)(*WindowsManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) { +// ByTargetedManagedAppPolicyAssignmentId provides operations to manage the assignments property of the microsoft.graph.windowsManagedAppProtection entity. +func (m *WindowsManagedAppProtectionsItemAssignmentsRequestBuilder) ByTargetedManagedAppPolicyAssignmentId(targetedManagedAppPolicyAssignmentId string)(*WindowsManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsManagedAppProtectionsItemAssignmentsRequestBuilder) ToPostReques } 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 *WindowsManagedAppProtectionsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*WindowsManagedAppProtectionsItemAssignmentsRequestBuilder) { + return NewWindowsManagedAppProtectionsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go b/deviceappmanagement/windows_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go index 354cd94491d..8d3748b9dfd 100644 --- a/deviceappmanagement/windows_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go +++ b/deviceappmanagement/windows_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *WindowsManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssi } 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 *WindowsManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*WindowsManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder) { + return NewWindowsManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_managed_app_protections_item_target_apps_request_builder.go b/deviceappmanagement/windows_managed_app_protections_item_target_apps_request_builder.go index a03fcb4a06f..d4fe4ddb7f6 100644 --- a/deviceappmanagement/windows_managed_app_protections_item_target_apps_request_builder.go +++ b/deviceappmanagement/windows_managed_app_protections_item_target_apps_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsManagedAppProtectionsItemTargetAppsRequestBuilder) ToPostRequest } 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 *WindowsManagedAppProtectionsItemTargetAppsRequestBuilder) WithUrl(rawUrl string)(*WindowsManagedAppProtectionsItemTargetAppsRequestBuilder) { + return NewWindowsManagedAppProtectionsItemTargetAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_managed_app_protections_request_builder.go b/deviceappmanagement/windows_managed_app_protections_request_builder.go index 62a85142cc0..6185e818aae 100644 --- a/deviceappmanagement/windows_managed_app_protections_request_builder.go +++ b/deviceappmanagement/windows_managed_app_protections_request_builder.go @@ -46,8 +46,8 @@ type WindowsManagedAppProtectionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsManagedAppProtectionIdString provides operations to manage the windowsManagedAppProtections property of the microsoft.graph.deviceAppManagement entity. -func (m *WindowsManagedAppProtectionsRequestBuilder) ByWindowsManagedAppProtectionIdString(windowsManagedAppProtectionId string)(*WindowsManagedAppProtectionsWindowsManagedAppProtectionItemRequestBuilder) { +// ByWindowsManagedAppProtectionId provides operations to manage the windowsManagedAppProtections property of the microsoft.graph.deviceAppManagement entity. +func (m *WindowsManagedAppProtectionsRequestBuilder) ByWindowsManagedAppProtectionId(windowsManagedAppProtectionId string)(*WindowsManagedAppProtectionsWindowsManagedAppProtectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsManagedAppProtectionsRequestBuilder) 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 *WindowsManagedAppProtectionsRequestBuilder) WithUrl(rawUrl string)(*WindowsManagedAppProtectionsRequestBuilder) { + return NewWindowsManagedAppProtectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_managed_app_protections_windows_managed_app_protection_item_request_builder.go b/deviceappmanagement/windows_managed_app_protections_windows_managed_app_protection_item_request_builder.go index f8bb463f12f..3fee2d412a4 100644 --- a/deviceappmanagement/windows_managed_app_protections_windows_managed_app_protection_item_request_builder.go +++ b/deviceappmanagement/windows_managed_app_protections_windows_managed_app_protection_item_request_builder.go @@ -169,3 +169,7 @@ func (m *WindowsManagedAppProtectionsWindowsManagedAppProtectionItemRequestBuild } 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 *WindowsManagedAppProtectionsWindowsManagedAppProtectionItemRequestBuilder) WithUrl(rawUrl string)(*WindowsManagedAppProtectionsWindowsManagedAppProtectionItemRequestBuilder) { + return NewWindowsManagedAppProtectionsWindowsManagedAppProtectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/windows_management_app_request_builder.go b/deviceappmanagement/windows_management_app_request_builder.go index e2b04032fed..69240b2d3a8 100644 --- a/deviceappmanagement/windows_management_app_request_builder.go +++ b/deviceappmanagement/windows_management_app_request_builder.go @@ -75,3 +75,7 @@ func (m *WindowsManagementAppRequestBuilder) ToGetRequestInformation(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 *WindowsManagementAppRequestBuilder) WithUrl(rawUrl string)(*WindowsManagementAppRequestBuilder) { + return NewWindowsManagementAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicelocalcredentials/device_local_credential_info_item_request_builder.go b/devicelocalcredentials/device_local_credential_info_item_request_builder.go index 2354c7833e6..87407bf03e5 100644 --- a/devicelocalcredentials/device_local_credential_info_item_request_builder.go +++ b/devicelocalcredentials/device_local_credential_info_item_request_builder.go @@ -154,3 +154,7 @@ func (m *DeviceLocalCredentialInfoItemRequestBuilder) 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 *DeviceLocalCredentialInfoItemRequestBuilder) WithUrl(rawUrl string)(*DeviceLocalCredentialInfoItemRequestBuilder) { + return NewDeviceLocalCredentialInfoItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicelocalcredentials/device_local_credentials_request_builder.go b/devicelocalcredentials/device_local_credentials_request_builder.go index dac772849e1..f8e23071058 100644 --- a/devicelocalcredentials/device_local_credentials_request_builder.go +++ b/devicelocalcredentials/device_local_credentials_request_builder.go @@ -38,8 +38,8 @@ type DeviceLocalCredentialsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceLocalCredentialInfoIdString provides operations to manage the collection of deviceLocalCredentialInfo entities. -func (m *DeviceLocalCredentialsRequestBuilder) ByDeviceLocalCredentialInfoIdString(deviceLocalCredentialInfoId string)(*DeviceLocalCredentialInfoItemRequestBuilder) { +// ByDeviceLocalCredentialInfoId provides operations to manage the collection of deviceLocalCredentialInfo entities. +func (m *DeviceLocalCredentialsRequestBuilder) ByDeviceLocalCredentialInfoId(deviceLocalCredentialInfoId string)(*DeviceLocalCredentialInfoItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -136,3 +136,7 @@ func (m *DeviceLocalCredentialsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *DeviceLocalCredentialsRequestBuilder) WithUrl(rawUrl string)(*DeviceLocalCredentialsRequestBuilder) { + return NewDeviceLocalCredentialsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/advanced_threat_protection_onboarding_state_summary_advanced_threat_protection_onboarding_device_setting_states_advanced_threat_protection_onboarding_device_setting_state_item_request_builder.go b/devicemanagement/advanced_threat_protection_onboarding_state_summary_advanced_threat_protection_onboarding_device_setting_states_advanced_threat_protection_onboarding_device_setting_state_item_request_builder.go index a87694c0760..341e857e17f 100644 --- a/devicemanagement/advanced_threat_protection_onboarding_state_summary_advanced_threat_protection_onboarding_device_setting_states_advanced_threat_protection_onboarding_device_setting_state_item_request_builder.go +++ b/devicemanagement/advanced_threat_protection_onboarding_state_summary_advanced_threat_protection_onboarding_device_setting_states_advanced_threat_protection_onboarding_device_setting_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AdvancedThreatProtectionOnboardingStateSummaryAdvancedThreatProtectionO } 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 *AdvancedThreatProtectionOnboardingStateSummaryAdvancedThreatProtectionOnboardingDeviceSettingStatesAdvancedThreatProtectionOnboardingDeviceSettingStateItemRequestBuilder) WithUrl(rawUrl string)(*AdvancedThreatProtectionOnboardingStateSummaryAdvancedThreatProtectionOnboardingDeviceSettingStatesAdvancedThreatProtectionOnboardingDeviceSettingStateItemRequestBuilder) { + return NewAdvancedThreatProtectionOnboardingStateSummaryAdvancedThreatProtectionOnboardingDeviceSettingStatesAdvancedThreatProtectionOnboardingDeviceSettingStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/advanced_threat_protection_onboarding_state_summary_advanced_threat_protection_onboarding_device_setting_states_count_request_builder.go b/devicemanagement/advanced_threat_protection_onboarding_state_summary_advanced_threat_protection_onboarding_device_setting_states_count_request_builder.go index fd1fcf276f7..ee3d1c5d54c 100644 --- a/devicemanagement/advanced_threat_protection_onboarding_state_summary_advanced_threat_protection_onboarding_device_setting_states_count_request_builder.go +++ b/devicemanagement/advanced_threat_protection_onboarding_state_summary_advanced_threat_protection_onboarding_device_setting_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AdvancedThreatProtectionOnboardingStateSummaryAdvancedThreatProtectionO } 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 *AdvancedThreatProtectionOnboardingStateSummaryAdvancedThreatProtectionOnboardingDeviceSettingStatesCountRequestBuilder) WithUrl(rawUrl string)(*AdvancedThreatProtectionOnboardingStateSummaryAdvancedThreatProtectionOnboardingDeviceSettingStatesCountRequestBuilder) { + return NewAdvancedThreatProtectionOnboardingStateSummaryAdvancedThreatProtectionOnboardingDeviceSettingStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/advanced_threat_protection_onboarding_state_summary_advanced_threat_protection_onboarding_device_setting_states_request_builder.go b/devicemanagement/advanced_threat_protection_onboarding_state_summary_advanced_threat_protection_onboarding_device_setting_states_request_builder.go index b144b6cc9e2..231cf6ff641 100644 --- a/devicemanagement/advanced_threat_protection_onboarding_state_summary_advanced_threat_protection_onboarding_device_setting_states_request_builder.go +++ b/devicemanagement/advanced_threat_protection_onboarding_state_summary_advanced_threat_protection_onboarding_device_setting_states_request_builder.go @@ -46,8 +46,8 @@ type AdvancedThreatProtectionOnboardingStateSummaryAdvancedThreatProtectionOnboa // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAdvancedThreatProtectionOnboardingDeviceSettingStateIdString provides operations to manage the advancedThreatProtectionOnboardingDeviceSettingStates property of the microsoft.graph.advancedThreatProtectionOnboardingStateSummary entity. -func (m *AdvancedThreatProtectionOnboardingStateSummaryAdvancedThreatProtectionOnboardingDeviceSettingStatesRequestBuilder) ByAdvancedThreatProtectionOnboardingDeviceSettingStateIdString(advancedThreatProtectionOnboardingDeviceSettingStateId string)(*AdvancedThreatProtectionOnboardingStateSummaryAdvancedThreatProtectionOnboardingDeviceSettingStatesAdvancedThreatProtectionOnboardingDeviceSettingStateItemRequestBuilder) { +// ByAdvancedThreatProtectionOnboardingDeviceSettingStateId provides operations to manage the advancedThreatProtectionOnboardingDeviceSettingStates property of the microsoft.graph.advancedThreatProtectionOnboardingStateSummary entity. +func (m *AdvancedThreatProtectionOnboardingStateSummaryAdvancedThreatProtectionOnboardingDeviceSettingStatesRequestBuilder) ByAdvancedThreatProtectionOnboardingDeviceSettingStateId(advancedThreatProtectionOnboardingDeviceSettingStateId string)(*AdvancedThreatProtectionOnboardingStateSummaryAdvancedThreatProtectionOnboardingDeviceSettingStatesAdvancedThreatProtectionOnboardingDeviceSettingStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AdvancedThreatProtectionOnboardingStateSummaryAdvancedThreatProtectionO } 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 *AdvancedThreatProtectionOnboardingStateSummaryAdvancedThreatProtectionOnboardingDeviceSettingStatesRequestBuilder) WithUrl(rawUrl string)(*AdvancedThreatProtectionOnboardingStateSummaryAdvancedThreatProtectionOnboardingDeviceSettingStatesRequestBuilder) { + return NewAdvancedThreatProtectionOnboardingStateSummaryAdvancedThreatProtectionOnboardingDeviceSettingStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/advanced_threat_protection_onboarding_state_summary_request_builder.go b/devicemanagement/advanced_threat_protection_onboarding_state_summary_request_builder.go index 904613eae22..146d26f1d23 100644 --- a/devicemanagement/advanced_threat_protection_onboarding_state_summary_request_builder.go +++ b/devicemanagement/advanced_threat_protection_onboarding_state_summary_request_builder.go @@ -157,3 +157,7 @@ func (m *AdvancedThreatProtectionOnboardingStateSummaryRequestBuilder) ToPatchRe } 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 *AdvancedThreatProtectionOnboardingStateSummaryRequestBuilder) WithUrl(rawUrl string)(*AdvancedThreatProtectionOnboardingStateSummaryRequestBuilder) { + return NewAdvancedThreatProtectionOnboardingStateSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_device_owner_enrollment_profiles_android_device_owner_enrollment_profile_item_request_builder.go b/devicemanagement/android_device_owner_enrollment_profiles_android_device_owner_enrollment_profile_item_request_builder.go index 0560e87c759..45aac6611aa 100644 --- a/devicemanagement/android_device_owner_enrollment_profiles_android_device_owner_enrollment_profile_item_request_builder.go +++ b/devicemanagement/android_device_owner_enrollment_profiles_android_device_owner_enrollment_profile_item_request_builder.go @@ -161,3 +161,7 @@ func (m *AndroidDeviceOwnerEnrollmentProfilesAndroidDeviceOwnerEnrollmentProfile } 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 *AndroidDeviceOwnerEnrollmentProfilesAndroidDeviceOwnerEnrollmentProfileItemRequestBuilder) WithUrl(rawUrl string)(*AndroidDeviceOwnerEnrollmentProfilesAndroidDeviceOwnerEnrollmentProfileItemRequestBuilder) { + return NewAndroidDeviceOwnerEnrollmentProfilesAndroidDeviceOwnerEnrollmentProfileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_device_owner_enrollment_profiles_count_request_builder.go b/devicemanagement/android_device_owner_enrollment_profiles_count_request_builder.go index 25d7b48235b..ecb418d100f 100644 --- a/devicemanagement/android_device_owner_enrollment_profiles_count_request_builder.go +++ b/devicemanagement/android_device_owner_enrollment_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AndroidDeviceOwnerEnrollmentProfilesCountRequestBuilder) ToGetRequestIn } 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 *AndroidDeviceOwnerEnrollmentProfilesCountRequestBuilder) WithUrl(rawUrl string)(*AndroidDeviceOwnerEnrollmentProfilesCountRequestBuilder) { + return NewAndroidDeviceOwnerEnrollmentProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_device_owner_enrollment_profiles_item_create_token_request_builder.go b/devicemanagement/android_device_owner_enrollment_profiles_item_create_token_request_builder.go index 7383dee4ffc..0fd56a960ab 100644 --- a/devicemanagement/android_device_owner_enrollment_profiles_item_create_token_request_builder.go +++ b/devicemanagement/android_device_owner_enrollment_profiles_item_create_token_request_builder.go @@ -62,3 +62,7 @@ func (m *AndroidDeviceOwnerEnrollmentProfilesItemCreateTokenRequestBuilder) ToPo } 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 *AndroidDeviceOwnerEnrollmentProfilesItemCreateTokenRequestBuilder) WithUrl(rawUrl string)(*AndroidDeviceOwnerEnrollmentProfilesItemCreateTokenRequestBuilder) { + return NewAndroidDeviceOwnerEnrollmentProfilesItemCreateTokenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_device_owner_enrollment_profiles_item_revoke_token_request_builder.go b/devicemanagement/android_device_owner_enrollment_profiles_item_revoke_token_request_builder.go index 31847f4b008..d19e855f5bf 100644 --- a/devicemanagement/android_device_owner_enrollment_profiles_item_revoke_token_request_builder.go +++ b/devicemanagement/android_device_owner_enrollment_profiles_item_revoke_token_request_builder.go @@ -58,3 +58,7 @@ func (m *AndroidDeviceOwnerEnrollmentProfilesItemRevokeTokenRequestBuilder) ToPo } 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 *AndroidDeviceOwnerEnrollmentProfilesItemRevokeTokenRequestBuilder) WithUrl(rawUrl string)(*AndroidDeviceOwnerEnrollmentProfilesItemRevokeTokenRequestBuilder) { + return NewAndroidDeviceOwnerEnrollmentProfilesItemRevokeTokenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_device_owner_enrollment_profiles_request_builder.go b/devicemanagement/android_device_owner_enrollment_profiles_request_builder.go index 4aa9d3c43e1..f799986632b 100644 --- a/devicemanagement/android_device_owner_enrollment_profiles_request_builder.go +++ b/devicemanagement/android_device_owner_enrollment_profiles_request_builder.go @@ -46,8 +46,8 @@ type AndroidDeviceOwnerEnrollmentProfilesRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAndroidDeviceOwnerEnrollmentProfileIdString provides operations to manage the androidDeviceOwnerEnrollmentProfiles property of the microsoft.graph.deviceManagement entity. -func (m *AndroidDeviceOwnerEnrollmentProfilesRequestBuilder) ByAndroidDeviceOwnerEnrollmentProfileIdString(androidDeviceOwnerEnrollmentProfileId string)(*AndroidDeviceOwnerEnrollmentProfilesAndroidDeviceOwnerEnrollmentProfileItemRequestBuilder) { +// ByAndroidDeviceOwnerEnrollmentProfileId provides operations to manage the androidDeviceOwnerEnrollmentProfiles property of the microsoft.graph.deviceManagement entity. +func (m *AndroidDeviceOwnerEnrollmentProfilesRequestBuilder) ByAndroidDeviceOwnerEnrollmentProfileId(androidDeviceOwnerEnrollmentProfileId string)(*AndroidDeviceOwnerEnrollmentProfilesAndroidDeviceOwnerEnrollmentProfileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AndroidDeviceOwnerEnrollmentProfilesRequestBuilder) ToPostRequestInform } 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 *AndroidDeviceOwnerEnrollmentProfilesRequestBuilder) WithUrl(rawUrl string)(*AndroidDeviceOwnerEnrollmentProfilesRequestBuilder) { + return NewAndroidDeviceOwnerEnrollmentProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_for_work_app_configuration_schemas_android_for_work_app_configuration_schema_item_request_builder.go b/devicemanagement/android_for_work_app_configuration_schemas_android_for_work_app_configuration_schema_item_request_builder.go index 8b9fdfce362..b37c6bd4f67 100644 --- a/devicemanagement/android_for_work_app_configuration_schemas_android_for_work_app_configuration_schema_item_request_builder.go +++ b/devicemanagement/android_for_work_app_configuration_schemas_android_for_work_app_configuration_schema_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AndroidForWorkAppConfigurationSchemasAndroidForWorkAppConfigurationSche } 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 *AndroidForWorkAppConfigurationSchemasAndroidForWorkAppConfigurationSchemaItemRequestBuilder) WithUrl(rawUrl string)(*AndroidForWorkAppConfigurationSchemasAndroidForWorkAppConfigurationSchemaItemRequestBuilder) { + return NewAndroidForWorkAppConfigurationSchemasAndroidForWorkAppConfigurationSchemaItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_for_work_app_configuration_schemas_count_request_builder.go b/devicemanagement/android_for_work_app_configuration_schemas_count_request_builder.go index ba5dc0402b2..20b05f9301e 100644 --- a/devicemanagement/android_for_work_app_configuration_schemas_count_request_builder.go +++ b/devicemanagement/android_for_work_app_configuration_schemas_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AndroidForWorkAppConfigurationSchemasCountRequestBuilder) ToGetRequestI } 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 *AndroidForWorkAppConfigurationSchemasCountRequestBuilder) WithUrl(rawUrl string)(*AndroidForWorkAppConfigurationSchemasCountRequestBuilder) { + return NewAndroidForWorkAppConfigurationSchemasCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_for_work_app_configuration_schemas_request_builder.go b/devicemanagement/android_for_work_app_configuration_schemas_request_builder.go index ce0d7b8ec44..e75e0308dbc 100644 --- a/devicemanagement/android_for_work_app_configuration_schemas_request_builder.go +++ b/devicemanagement/android_for_work_app_configuration_schemas_request_builder.go @@ -46,8 +46,8 @@ type AndroidForWorkAppConfigurationSchemasRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAndroidForWorkAppConfigurationSchemaIdString provides operations to manage the androidForWorkAppConfigurationSchemas property of the microsoft.graph.deviceManagement entity. -func (m *AndroidForWorkAppConfigurationSchemasRequestBuilder) ByAndroidForWorkAppConfigurationSchemaIdString(androidForWorkAppConfigurationSchemaId string)(*AndroidForWorkAppConfigurationSchemasAndroidForWorkAppConfigurationSchemaItemRequestBuilder) { +// ByAndroidForWorkAppConfigurationSchemaId provides operations to manage the androidForWorkAppConfigurationSchemas property of the microsoft.graph.deviceManagement entity. +func (m *AndroidForWorkAppConfigurationSchemasRequestBuilder) ByAndroidForWorkAppConfigurationSchemaId(androidForWorkAppConfigurationSchemaId string)(*AndroidForWorkAppConfigurationSchemasAndroidForWorkAppConfigurationSchemaItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AndroidForWorkAppConfigurationSchemasRequestBuilder) ToPostRequestInfor } 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 *AndroidForWorkAppConfigurationSchemasRequestBuilder) WithUrl(rawUrl string)(*AndroidForWorkAppConfigurationSchemasRequestBuilder) { + return NewAndroidForWorkAppConfigurationSchemasRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_for_work_enrollment_profiles_android_for_work_enrollment_profile_item_request_builder.go b/devicemanagement/android_for_work_enrollment_profiles_android_for_work_enrollment_profile_item_request_builder.go index 7f7e3a1931a..9e7c18564cc 100644 --- a/devicemanagement/android_for_work_enrollment_profiles_android_for_work_enrollment_profile_item_request_builder.go +++ b/devicemanagement/android_for_work_enrollment_profiles_android_for_work_enrollment_profile_item_request_builder.go @@ -161,3 +161,7 @@ func (m *AndroidForWorkEnrollmentProfilesAndroidForWorkEnrollmentProfileItemRequ } 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 *AndroidForWorkEnrollmentProfilesAndroidForWorkEnrollmentProfileItemRequestBuilder) WithUrl(rawUrl string)(*AndroidForWorkEnrollmentProfilesAndroidForWorkEnrollmentProfileItemRequestBuilder) { + return NewAndroidForWorkEnrollmentProfilesAndroidForWorkEnrollmentProfileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_for_work_enrollment_profiles_count_request_builder.go b/devicemanagement/android_for_work_enrollment_profiles_count_request_builder.go index 4706a5e2ed3..642f9c862cd 100644 --- a/devicemanagement/android_for_work_enrollment_profiles_count_request_builder.go +++ b/devicemanagement/android_for_work_enrollment_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AndroidForWorkEnrollmentProfilesCountRequestBuilder) ToGetRequestInform } 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 *AndroidForWorkEnrollmentProfilesCountRequestBuilder) WithUrl(rawUrl string)(*AndroidForWorkEnrollmentProfilesCountRequestBuilder) { + return NewAndroidForWorkEnrollmentProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_for_work_enrollment_profiles_item_create_token_request_builder.go b/devicemanagement/android_for_work_enrollment_profiles_item_create_token_request_builder.go index 65ad6a1bd64..850db85f6dd 100644 --- a/devicemanagement/android_for_work_enrollment_profiles_item_create_token_request_builder.go +++ b/devicemanagement/android_for_work_enrollment_profiles_item_create_token_request_builder.go @@ -62,3 +62,7 @@ func (m *AndroidForWorkEnrollmentProfilesItemCreateTokenRequestBuilder) ToPostRe } 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 *AndroidForWorkEnrollmentProfilesItemCreateTokenRequestBuilder) WithUrl(rawUrl string)(*AndroidForWorkEnrollmentProfilesItemCreateTokenRequestBuilder) { + return NewAndroidForWorkEnrollmentProfilesItemCreateTokenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_for_work_enrollment_profiles_item_revoke_token_request_builder.go b/devicemanagement/android_for_work_enrollment_profiles_item_revoke_token_request_builder.go index 604fe54f8a1..2056a6c8405 100644 --- a/devicemanagement/android_for_work_enrollment_profiles_item_revoke_token_request_builder.go +++ b/devicemanagement/android_for_work_enrollment_profiles_item_revoke_token_request_builder.go @@ -58,3 +58,7 @@ func (m *AndroidForWorkEnrollmentProfilesItemRevokeTokenRequestBuilder) ToPostRe } 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 *AndroidForWorkEnrollmentProfilesItemRevokeTokenRequestBuilder) WithUrl(rawUrl string)(*AndroidForWorkEnrollmentProfilesItemRevokeTokenRequestBuilder) { + return NewAndroidForWorkEnrollmentProfilesItemRevokeTokenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_for_work_enrollment_profiles_request_builder.go b/devicemanagement/android_for_work_enrollment_profiles_request_builder.go index 8e62b407256..714b084168b 100644 --- a/devicemanagement/android_for_work_enrollment_profiles_request_builder.go +++ b/devicemanagement/android_for_work_enrollment_profiles_request_builder.go @@ -46,8 +46,8 @@ type AndroidForWorkEnrollmentProfilesRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAndroidForWorkEnrollmentProfileIdString provides operations to manage the androidForWorkEnrollmentProfiles property of the microsoft.graph.deviceManagement entity. -func (m *AndroidForWorkEnrollmentProfilesRequestBuilder) ByAndroidForWorkEnrollmentProfileIdString(androidForWorkEnrollmentProfileId string)(*AndroidForWorkEnrollmentProfilesAndroidForWorkEnrollmentProfileItemRequestBuilder) { +// ByAndroidForWorkEnrollmentProfileId provides operations to manage the androidForWorkEnrollmentProfiles property of the microsoft.graph.deviceManagement entity. +func (m *AndroidForWorkEnrollmentProfilesRequestBuilder) ByAndroidForWorkEnrollmentProfileId(androidForWorkEnrollmentProfileId string)(*AndroidForWorkEnrollmentProfilesAndroidForWorkEnrollmentProfileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AndroidForWorkEnrollmentProfilesRequestBuilder) ToPostRequestInformatio } 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 *AndroidForWorkEnrollmentProfilesRequestBuilder) WithUrl(rawUrl string)(*AndroidForWorkEnrollmentProfilesRequestBuilder) { + return NewAndroidForWorkEnrollmentProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_for_work_settings_complete_signup_request_builder.go b/devicemanagement/android_for_work_settings_complete_signup_request_builder.go index b4c40a2ef36..729855877c1 100644 --- a/devicemanagement/android_for_work_settings_complete_signup_request_builder.go +++ b/devicemanagement/android_for_work_settings_complete_signup_request_builder.go @@ -62,3 +62,7 @@ func (m *AndroidForWorkSettingsCompleteSignupRequestBuilder) ToPostRequestInform } 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 *AndroidForWorkSettingsCompleteSignupRequestBuilder) WithUrl(rawUrl string)(*AndroidForWorkSettingsCompleteSignupRequestBuilder) { + return NewAndroidForWorkSettingsCompleteSignupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_for_work_settings_request_builder.go b/devicemanagement/android_for_work_settings_request_builder.go index bac4f22726d..f789f769070 100644 --- a/devicemanagement/android_for_work_settings_request_builder.go +++ b/devicemanagement/android_for_work_settings_request_builder.go @@ -169,3 +169,7 @@ func (m *AndroidForWorkSettingsRequestBuilder) ToPatchRequestInformation(ctx con func (m *AndroidForWorkSettingsRequestBuilder) Unbind()(*AndroidForWorkSettingsUnbindRequestBuilder) { return NewAndroidForWorkSettingsUnbindRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *AndroidForWorkSettingsRequestBuilder) WithUrl(rawUrl string)(*AndroidForWorkSettingsRequestBuilder) { + return NewAndroidForWorkSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_for_work_settings_request_signup_url_request_builder.go b/devicemanagement/android_for_work_settings_request_signup_url_request_builder.go index 2ee64ae69f6..8c06935d1c9 100644 --- a/devicemanagement/android_for_work_settings_request_signup_url_request_builder.go +++ b/devicemanagement/android_for_work_settings_request_signup_url_request_builder.go @@ -66,3 +66,7 @@ func (m *AndroidForWorkSettingsRequestSignupUrlRequestBuilder) ToPostRequestInfo } 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 *AndroidForWorkSettingsRequestSignupUrlRequestBuilder) WithUrl(rawUrl string)(*AndroidForWorkSettingsRequestSignupUrlRequestBuilder) { + return NewAndroidForWorkSettingsRequestSignupUrlRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_for_work_settings_sync_apps_request_builder.go b/devicemanagement/android_for_work_settings_sync_apps_request_builder.go index ff5ffff72f1..7656dbf625c 100644 --- a/devicemanagement/android_for_work_settings_sync_apps_request_builder.go +++ b/devicemanagement/android_for_work_settings_sync_apps_request_builder.go @@ -58,3 +58,7 @@ func (m *AndroidForWorkSettingsSyncAppsRequestBuilder) 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 *AndroidForWorkSettingsSyncAppsRequestBuilder) WithUrl(rawUrl string)(*AndroidForWorkSettingsSyncAppsRequestBuilder) { + return NewAndroidForWorkSettingsSyncAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_for_work_settings_unbind_request_builder.go b/devicemanagement/android_for_work_settings_unbind_request_builder.go index f0e19604d7e..1defa485e8d 100644 --- a/devicemanagement/android_for_work_settings_unbind_request_builder.go +++ b/devicemanagement/android_for_work_settings_unbind_request_builder.go @@ -58,3 +58,7 @@ func (m *AndroidForWorkSettingsUnbindRequestBuilder) 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 *AndroidForWorkSettingsUnbindRequestBuilder) WithUrl(rawUrl string)(*AndroidForWorkSettingsUnbindRequestBuilder) { + return NewAndroidForWorkSettingsUnbindRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_managed_store_account_enterprise_settings_add_apps_request_builder.go b/devicemanagement/android_managed_store_account_enterprise_settings_add_apps_request_builder.go index c6328823ce4..15eea1979a2 100644 --- a/devicemanagement/android_managed_store_account_enterprise_settings_add_apps_request_builder.go +++ b/devicemanagement/android_managed_store_account_enterprise_settings_add_apps_request_builder.go @@ -62,3 +62,7 @@ func (m *AndroidManagedStoreAccountEnterpriseSettingsAddAppsRequestBuilder) ToPo } 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 *AndroidManagedStoreAccountEnterpriseSettingsAddAppsRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedStoreAccountEnterpriseSettingsAddAppsRequestBuilder) { + return NewAndroidManagedStoreAccountEnterpriseSettingsAddAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_managed_store_account_enterprise_settings_approve_apps_request_builder.go b/devicemanagement/android_managed_store_account_enterprise_settings_approve_apps_request_builder.go index 191b649511a..7fbd9c214ae 100644 --- a/devicemanagement/android_managed_store_account_enterprise_settings_approve_apps_request_builder.go +++ b/devicemanagement/android_managed_store_account_enterprise_settings_approve_apps_request_builder.go @@ -62,3 +62,7 @@ func (m *AndroidManagedStoreAccountEnterpriseSettingsApproveAppsRequestBuilder) } 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 *AndroidManagedStoreAccountEnterpriseSettingsApproveAppsRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedStoreAccountEnterpriseSettingsApproveAppsRequestBuilder) { + return NewAndroidManagedStoreAccountEnterpriseSettingsApproveAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_managed_store_account_enterprise_settings_complete_signup_request_builder.go b/devicemanagement/android_managed_store_account_enterprise_settings_complete_signup_request_builder.go index 07120089b5e..1b8cfa42801 100644 --- a/devicemanagement/android_managed_store_account_enterprise_settings_complete_signup_request_builder.go +++ b/devicemanagement/android_managed_store_account_enterprise_settings_complete_signup_request_builder.go @@ -62,3 +62,7 @@ func (m *AndroidManagedStoreAccountEnterpriseSettingsCompleteSignupRequestBuilde } 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 *AndroidManagedStoreAccountEnterpriseSettingsCompleteSignupRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedStoreAccountEnterpriseSettingsCompleteSignupRequestBuilder) { + return NewAndroidManagedStoreAccountEnterpriseSettingsCompleteSignupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_managed_store_account_enterprise_settings_create_google_play_web_token_request_builder.go b/devicemanagement/android_managed_store_account_enterprise_settings_create_google_play_web_token_request_builder.go index 9d0b4a6f364..8020ee495d1 100644 --- a/devicemanagement/android_managed_store_account_enterprise_settings_create_google_play_web_token_request_builder.go +++ b/devicemanagement/android_managed_store_account_enterprise_settings_create_google_play_web_token_request_builder.go @@ -66,3 +66,7 @@ func (m *AndroidManagedStoreAccountEnterpriseSettingsCreateGooglePlayWebTokenReq } 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 *AndroidManagedStoreAccountEnterpriseSettingsCreateGooglePlayWebTokenRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedStoreAccountEnterpriseSettingsCreateGooglePlayWebTokenRequestBuilder) { + return NewAndroidManagedStoreAccountEnterpriseSettingsCreateGooglePlayWebTokenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_managed_store_account_enterprise_settings_request_builder.go b/devicemanagement/android_managed_store_account_enterprise_settings_request_builder.go index d4d7c0553b7..c052447f1e1 100644 --- a/devicemanagement/android_managed_store_account_enterprise_settings_request_builder.go +++ b/devicemanagement/android_managed_store_account_enterprise_settings_request_builder.go @@ -185,3 +185,7 @@ func (m *AndroidManagedStoreAccountEnterpriseSettingsRequestBuilder) ToPatchRequ func (m *AndroidManagedStoreAccountEnterpriseSettingsRequestBuilder) Unbind()(*AndroidManagedStoreAccountEnterpriseSettingsUnbindRequestBuilder) { return NewAndroidManagedStoreAccountEnterpriseSettingsUnbindRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *AndroidManagedStoreAccountEnterpriseSettingsRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedStoreAccountEnterpriseSettingsRequestBuilder) { + return NewAndroidManagedStoreAccountEnterpriseSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_managed_store_account_enterprise_settings_request_signup_url_request_builder.go b/devicemanagement/android_managed_store_account_enterprise_settings_request_signup_url_request_builder.go index edcd24501fa..cadaf1ce77a 100644 --- a/devicemanagement/android_managed_store_account_enterprise_settings_request_signup_url_request_builder.go +++ b/devicemanagement/android_managed_store_account_enterprise_settings_request_signup_url_request_builder.go @@ -66,3 +66,7 @@ func (m *AndroidManagedStoreAccountEnterpriseSettingsRequestSignupUrlRequestBuil } 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 *AndroidManagedStoreAccountEnterpriseSettingsRequestSignupUrlRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedStoreAccountEnterpriseSettingsRequestSignupUrlRequestBuilder) { + return NewAndroidManagedStoreAccountEnterpriseSettingsRequestSignupUrlRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_managed_store_account_enterprise_settings_set_android_device_owner_fully_managed_enrollment_state_request_builder.go b/devicemanagement/android_managed_store_account_enterprise_settings_set_android_device_owner_fully_managed_enrollment_state_request_builder.go index 3894a88c09a..0a64c35720b 100644 --- a/devicemanagement/android_managed_store_account_enterprise_settings_set_android_device_owner_fully_managed_enrollment_state_request_builder.go +++ b/devicemanagement/android_managed_store_account_enterprise_settings_set_android_device_owner_fully_managed_enrollment_state_request_builder.go @@ -62,3 +62,7 @@ func (m *AndroidManagedStoreAccountEnterpriseSettingsSetAndroidDeviceOwnerFullyM } 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 *AndroidManagedStoreAccountEnterpriseSettingsSetAndroidDeviceOwnerFullyManagedEnrollmentStateRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedStoreAccountEnterpriseSettingsSetAndroidDeviceOwnerFullyManagedEnrollmentStateRequestBuilder) { + return NewAndroidManagedStoreAccountEnterpriseSettingsSetAndroidDeviceOwnerFullyManagedEnrollmentStateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_managed_store_account_enterprise_settings_sync_apps_request_builder.go b/devicemanagement/android_managed_store_account_enterprise_settings_sync_apps_request_builder.go index db09d61fad4..be2125a5131 100644 --- a/devicemanagement/android_managed_store_account_enterprise_settings_sync_apps_request_builder.go +++ b/devicemanagement/android_managed_store_account_enterprise_settings_sync_apps_request_builder.go @@ -58,3 +58,7 @@ func (m *AndroidManagedStoreAccountEnterpriseSettingsSyncAppsRequestBuilder) 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 *AndroidManagedStoreAccountEnterpriseSettingsSyncAppsRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedStoreAccountEnterpriseSettingsSyncAppsRequestBuilder) { + return NewAndroidManagedStoreAccountEnterpriseSettingsSyncAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_managed_store_account_enterprise_settings_unbind_request_builder.go b/devicemanagement/android_managed_store_account_enterprise_settings_unbind_request_builder.go index 0f254d5c4f0..ea7f4821f99 100644 --- a/devicemanagement/android_managed_store_account_enterprise_settings_unbind_request_builder.go +++ b/devicemanagement/android_managed_store_account_enterprise_settings_unbind_request_builder.go @@ -58,3 +58,7 @@ func (m *AndroidManagedStoreAccountEnterpriseSettingsUnbindRequestBuilder) ToPos } 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 *AndroidManagedStoreAccountEnterpriseSettingsUnbindRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedStoreAccountEnterpriseSettingsUnbindRequestBuilder) { + return NewAndroidManagedStoreAccountEnterpriseSettingsUnbindRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_managed_store_app_configuration_schemas_android_managed_store_app_configuration_schema_item_request_builder.go b/devicemanagement/android_managed_store_app_configuration_schemas_android_managed_store_app_configuration_schema_item_request_builder.go index 699eb78fd8a..b25708072c8 100644 --- a/devicemanagement/android_managed_store_app_configuration_schemas_android_managed_store_app_configuration_schema_item_request_builder.go +++ b/devicemanagement/android_managed_store_app_configuration_schemas_android_managed_store_app_configuration_schema_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AndroidManagedStoreAppConfigurationSchemasAndroidManagedStoreAppConfigu } 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 *AndroidManagedStoreAppConfigurationSchemasAndroidManagedStoreAppConfigurationSchemaItemRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedStoreAppConfigurationSchemasAndroidManagedStoreAppConfigurationSchemaItemRequestBuilder) { + return NewAndroidManagedStoreAppConfigurationSchemasAndroidManagedStoreAppConfigurationSchemaItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_managed_store_app_configuration_schemas_count_request_builder.go b/devicemanagement/android_managed_store_app_configuration_schemas_count_request_builder.go index 8d8a204050b..77ef03cc090 100644 --- a/devicemanagement/android_managed_store_app_configuration_schemas_count_request_builder.go +++ b/devicemanagement/android_managed_store_app_configuration_schemas_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AndroidManagedStoreAppConfigurationSchemasCountRequestBuilder) ToGetReq } 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 *AndroidManagedStoreAppConfigurationSchemasCountRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedStoreAppConfigurationSchemasCountRequestBuilder) { + return NewAndroidManagedStoreAppConfigurationSchemasCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/android_managed_store_app_configuration_schemas_request_builder.go b/devicemanagement/android_managed_store_app_configuration_schemas_request_builder.go index fb14e13ef5e..242cafedcc8 100644 --- a/devicemanagement/android_managed_store_app_configuration_schemas_request_builder.go +++ b/devicemanagement/android_managed_store_app_configuration_schemas_request_builder.go @@ -46,8 +46,8 @@ type AndroidManagedStoreAppConfigurationSchemasRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAndroidManagedStoreAppConfigurationSchemaIdString provides operations to manage the androidManagedStoreAppConfigurationSchemas property of the microsoft.graph.deviceManagement entity. -func (m *AndroidManagedStoreAppConfigurationSchemasRequestBuilder) ByAndroidManagedStoreAppConfigurationSchemaIdString(androidManagedStoreAppConfigurationSchemaId string)(*AndroidManagedStoreAppConfigurationSchemasAndroidManagedStoreAppConfigurationSchemaItemRequestBuilder) { +// ByAndroidManagedStoreAppConfigurationSchemaId provides operations to manage the androidManagedStoreAppConfigurationSchemas property of the microsoft.graph.deviceManagement entity. +func (m *AndroidManagedStoreAppConfigurationSchemasRequestBuilder) ByAndroidManagedStoreAppConfigurationSchemaId(androidManagedStoreAppConfigurationSchemaId string)(*AndroidManagedStoreAppConfigurationSchemasAndroidManagedStoreAppConfigurationSchemaItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AndroidManagedStoreAppConfigurationSchemasRequestBuilder) ToPostRequest } 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 *AndroidManagedStoreAppConfigurationSchemasRequestBuilder) WithUrl(rawUrl string)(*AndroidManagedStoreAppConfigurationSchemasRequestBuilder) { + return NewAndroidManagedStoreAppConfigurationSchemasRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/apple_push_notification_certificate_download_apple_push_notification_certificate_signing_request_request_builder.go b/devicemanagement/apple_push_notification_certificate_download_apple_push_notification_certificate_signing_request_request_builder.go index 8c1bfec0848..48b0ccb3d27 100644 --- a/devicemanagement/apple_push_notification_certificate_download_apple_push_notification_certificate_signing_request_request_builder.go +++ b/devicemanagement/apple_push_notification_certificate_download_apple_push_notification_certificate_signing_request_request_builder.go @@ -62,3 +62,7 @@ func (m *ApplePushNotificationCertificateDownloadApplePushNotificationCertificat } 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 *ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder) WithUrl(rawUrl string)(*ApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder) { + return NewApplePushNotificationCertificateDownloadApplePushNotificationCertificateSigningRequestRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/apple_push_notification_certificate_generate_apple_push_notification_certificate_signing_request_request_builder.go b/devicemanagement/apple_push_notification_certificate_generate_apple_push_notification_certificate_signing_request_request_builder.go index 679e2ae7143..1a26cab7b67 100644 --- a/devicemanagement/apple_push_notification_certificate_generate_apple_push_notification_certificate_signing_request_request_builder.go +++ b/devicemanagement/apple_push_notification_certificate_generate_apple_push_notification_certificate_signing_request_request_builder.go @@ -62,3 +62,7 @@ func (m *ApplePushNotificationCertificateGenerateApplePushNotificationCertificat } 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 *ApplePushNotificationCertificateGenerateApplePushNotificationCertificateSigningRequestRequestBuilder) WithUrl(rawUrl string)(*ApplePushNotificationCertificateGenerateApplePushNotificationCertificateSigningRequestRequestBuilder) { + return NewApplePushNotificationCertificateGenerateApplePushNotificationCertificateSigningRequestRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/apple_push_notification_certificate_request_builder.go b/devicemanagement/apple_push_notification_certificate_request_builder.go index 3cf65bba26b..22f7285511f 100644 --- a/devicemanagement/apple_push_notification_certificate_request_builder.go +++ b/devicemanagement/apple_push_notification_certificate_request_builder.go @@ -161,3 +161,7 @@ func (m *ApplePushNotificationCertificateRequestBuilder) ToPatchRequestInformati } 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 *ApplePushNotificationCertificateRequestBuilder) WithUrl(rawUrl string)(*ApplePushNotificationCertificateRequestBuilder) { + return NewApplePushNotificationCertificateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/apple_user_initiated_enrollment_profiles_apple_user_initiated_enrollment_profile_item_request_builder.go b/devicemanagement/apple_user_initiated_enrollment_profiles_apple_user_initiated_enrollment_profile_item_request_builder.go index b0b80910402..1f57723948a 100644 --- a/devicemanagement/apple_user_initiated_enrollment_profiles_apple_user_initiated_enrollment_profile_item_request_builder.go +++ b/devicemanagement/apple_user_initiated_enrollment_profiles_apple_user_initiated_enrollment_profile_item_request_builder.go @@ -161,3 +161,7 @@ func (m *AppleUserInitiatedEnrollmentProfilesAppleUserInitiatedEnrollmentProfile } 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 *AppleUserInitiatedEnrollmentProfilesAppleUserInitiatedEnrollmentProfileItemRequestBuilder) WithUrl(rawUrl string)(*AppleUserInitiatedEnrollmentProfilesAppleUserInitiatedEnrollmentProfileItemRequestBuilder) { + return NewAppleUserInitiatedEnrollmentProfilesAppleUserInitiatedEnrollmentProfileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/apple_user_initiated_enrollment_profiles_count_request_builder.go b/devicemanagement/apple_user_initiated_enrollment_profiles_count_request_builder.go index 1d30e1d0238..ef1625e5541 100644 --- a/devicemanagement/apple_user_initiated_enrollment_profiles_count_request_builder.go +++ b/devicemanagement/apple_user_initiated_enrollment_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AppleUserInitiatedEnrollmentProfilesCountRequestBuilder) ToGetRequestIn } 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 *AppleUserInitiatedEnrollmentProfilesCountRequestBuilder) WithUrl(rawUrl string)(*AppleUserInitiatedEnrollmentProfilesCountRequestBuilder) { + return NewAppleUserInitiatedEnrollmentProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/apple_user_initiated_enrollment_profiles_item_assignments_apple_enrollment_profile_assignment_item_request_builder.go b/devicemanagement/apple_user_initiated_enrollment_profiles_item_assignments_apple_enrollment_profile_assignment_item_request_builder.go index b4a3d3d1e29..5ecab3b4511 100644 --- a/devicemanagement/apple_user_initiated_enrollment_profiles_item_assignments_apple_enrollment_profile_assignment_item_request_builder.go +++ b/devicemanagement/apple_user_initiated_enrollment_profiles_item_assignments_apple_enrollment_profile_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AppleUserInitiatedEnrollmentProfilesItemAssignmentsAppleEnrollmentProfi } 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 *AppleUserInitiatedEnrollmentProfilesItemAssignmentsAppleEnrollmentProfileAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*AppleUserInitiatedEnrollmentProfilesItemAssignmentsAppleEnrollmentProfileAssignmentItemRequestBuilder) { + return NewAppleUserInitiatedEnrollmentProfilesItemAssignmentsAppleEnrollmentProfileAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/apple_user_initiated_enrollment_profiles_item_assignments_count_request_builder.go b/devicemanagement/apple_user_initiated_enrollment_profiles_item_assignments_count_request_builder.go index c80e1242d79..a1062331839 100644 --- a/devicemanagement/apple_user_initiated_enrollment_profiles_item_assignments_count_request_builder.go +++ b/devicemanagement/apple_user_initiated_enrollment_profiles_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AppleUserInitiatedEnrollmentProfilesItemAssignmentsCountRequestBuilder) } 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 *AppleUserInitiatedEnrollmentProfilesItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*AppleUserInitiatedEnrollmentProfilesItemAssignmentsCountRequestBuilder) { + return NewAppleUserInitiatedEnrollmentProfilesItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/apple_user_initiated_enrollment_profiles_item_assignments_request_builder.go b/devicemanagement/apple_user_initiated_enrollment_profiles_item_assignments_request_builder.go index df833628f60..aba9c506c96 100644 --- a/devicemanagement/apple_user_initiated_enrollment_profiles_item_assignments_request_builder.go +++ b/devicemanagement/apple_user_initiated_enrollment_profiles_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type AppleUserInitiatedEnrollmentProfilesItemAssignmentsRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAppleEnrollmentProfileAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.appleUserInitiatedEnrollmentProfile entity. -func (m *AppleUserInitiatedEnrollmentProfilesItemAssignmentsRequestBuilder) ByAppleEnrollmentProfileAssignmentIdString(appleEnrollmentProfileAssignmentId string)(*AppleUserInitiatedEnrollmentProfilesItemAssignmentsAppleEnrollmentProfileAssignmentItemRequestBuilder) { +// ByAppleEnrollmentProfileAssignmentId provides operations to manage the assignments property of the microsoft.graph.appleUserInitiatedEnrollmentProfile entity. +func (m *AppleUserInitiatedEnrollmentProfilesItemAssignmentsRequestBuilder) ByAppleEnrollmentProfileAssignmentId(appleEnrollmentProfileAssignmentId string)(*AppleUserInitiatedEnrollmentProfilesItemAssignmentsAppleEnrollmentProfileAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AppleUserInitiatedEnrollmentProfilesItemAssignmentsRequestBuilder) ToPo } 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 *AppleUserInitiatedEnrollmentProfilesItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*AppleUserInitiatedEnrollmentProfilesItemAssignmentsRequestBuilder) { + return NewAppleUserInitiatedEnrollmentProfilesItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/apple_user_initiated_enrollment_profiles_item_set_priority_request_builder.go b/devicemanagement/apple_user_initiated_enrollment_profiles_item_set_priority_request_builder.go index 99c8d1bfc27..7a828a4673d 100644 --- a/devicemanagement/apple_user_initiated_enrollment_profiles_item_set_priority_request_builder.go +++ b/devicemanagement/apple_user_initiated_enrollment_profiles_item_set_priority_request_builder.go @@ -62,3 +62,7 @@ func (m *AppleUserInitiatedEnrollmentProfilesItemSetPriorityRequestBuilder) ToPo } 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 *AppleUserInitiatedEnrollmentProfilesItemSetPriorityRequestBuilder) WithUrl(rawUrl string)(*AppleUserInitiatedEnrollmentProfilesItemSetPriorityRequestBuilder) { + return NewAppleUserInitiatedEnrollmentProfilesItemSetPriorityRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/apple_user_initiated_enrollment_profiles_request_builder.go b/devicemanagement/apple_user_initiated_enrollment_profiles_request_builder.go index 069d4acc821..c3366d35fbf 100644 --- a/devicemanagement/apple_user_initiated_enrollment_profiles_request_builder.go +++ b/devicemanagement/apple_user_initiated_enrollment_profiles_request_builder.go @@ -46,8 +46,8 @@ type AppleUserInitiatedEnrollmentProfilesRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAppleUserInitiatedEnrollmentProfileIdString provides operations to manage the appleUserInitiatedEnrollmentProfiles property of the microsoft.graph.deviceManagement entity. -func (m *AppleUserInitiatedEnrollmentProfilesRequestBuilder) ByAppleUserInitiatedEnrollmentProfileIdString(appleUserInitiatedEnrollmentProfileId string)(*AppleUserInitiatedEnrollmentProfilesAppleUserInitiatedEnrollmentProfileItemRequestBuilder) { +// ByAppleUserInitiatedEnrollmentProfileId provides operations to manage the appleUserInitiatedEnrollmentProfiles property of the microsoft.graph.deviceManagement entity. +func (m *AppleUserInitiatedEnrollmentProfilesRequestBuilder) ByAppleUserInitiatedEnrollmentProfileId(appleUserInitiatedEnrollmentProfileId string)(*AppleUserInitiatedEnrollmentProfilesAppleUserInitiatedEnrollmentProfileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AppleUserInitiatedEnrollmentProfilesRequestBuilder) ToPostRequestInform } 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 *AppleUserInitiatedEnrollmentProfilesRequestBuilder) WithUrl(rawUrl string)(*AppleUserInitiatedEnrollmentProfilesRequestBuilder) { + return NewAppleUserInitiatedEnrollmentProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/assignment_filters_count_request_builder.go b/devicemanagement/assignment_filters_count_request_builder.go index 0af051f22ea..438af629106 100644 --- a/devicemanagement/assignment_filters_count_request_builder.go +++ b/devicemanagement/assignment_filters_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AssignmentFiltersCountRequestBuilder) ToGetRequestInformation(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 *AssignmentFiltersCountRequestBuilder) WithUrl(rawUrl string)(*AssignmentFiltersCountRequestBuilder) { + return NewAssignmentFiltersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/assignment_filters_device_and_app_management_assignment_filter_item_request_builder.go b/devicemanagement/assignment_filters_device_and_app_management_assignment_filter_item_request_builder.go index 17953a542fa..cb99d9c0d05 100644 --- a/devicemanagement/assignment_filters_device_and_app_management_assignment_filter_item_request_builder.go +++ b/devicemanagement/assignment_filters_device_and_app_management_assignment_filter_item_request_builder.go @@ -157,3 +157,7 @@ func (m *AssignmentFiltersDeviceAndAppManagementAssignmentFilterItemRequestBuild } 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 *AssignmentFiltersDeviceAndAppManagementAssignmentFilterItemRequestBuilder) WithUrl(rawUrl string)(*AssignmentFiltersDeviceAndAppManagementAssignmentFilterItemRequestBuilder) { + return NewAssignmentFiltersDeviceAndAppManagementAssignmentFilterItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/assignment_filters_enable_request_builder.go b/devicemanagement/assignment_filters_enable_request_builder.go index cf9b5ce540c..5a0959a732e 100644 --- a/devicemanagement/assignment_filters_enable_request_builder.go +++ b/devicemanagement/assignment_filters_enable_request_builder.go @@ -62,3 +62,7 @@ func (m *AssignmentFiltersEnableRequestBuilder) ToPostRequestInformation(ctx con } 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 *AssignmentFiltersEnableRequestBuilder) WithUrl(rawUrl string)(*AssignmentFiltersEnableRequestBuilder) { + return NewAssignmentFiltersEnableRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/assignment_filters_get_platform_supported_properties_with_platform_request_builder.go b/devicemanagement/assignment_filters_get_platform_supported_properties_with_platform_request_builder.go index a84dc96378a..fc4134d3072 100644 --- a/devicemanagement/assignment_filters_get_platform_supported_properties_with_platform_request_builder.go +++ b/devicemanagement/assignment_filters_get_platform_supported_properties_with_platform_request_builder.go @@ -83,3 +83,7 @@ func (m *AssignmentFiltersGetPlatformSupportedPropertiesWithPlatformRequestBuild } 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 *AssignmentFiltersGetPlatformSupportedPropertiesWithPlatformRequestBuilder) WithUrl(rawUrl string)(*AssignmentFiltersGetPlatformSupportedPropertiesWithPlatformRequestBuilder) { + return NewAssignmentFiltersGetPlatformSupportedPropertiesWithPlatformRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/assignment_filters_get_state_request_builder.go b/devicemanagement/assignment_filters_get_state_request_builder.go index ed0942320ba..19586ddb551 100644 --- a/devicemanagement/assignment_filters_get_state_request_builder.go +++ b/devicemanagement/assignment_filters_get_state_request_builder.go @@ -63,3 +63,7 @@ func (m *AssignmentFiltersGetStateRequestBuilder) ToGetRequestInformation(ctx co } 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 *AssignmentFiltersGetStateRequestBuilder) WithUrl(rawUrl string)(*AssignmentFiltersGetStateRequestBuilder) { + return NewAssignmentFiltersGetStateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/assignment_filters_item_get_supported_properties_request_builder.go b/devicemanagement/assignment_filters_item_get_supported_properties_request_builder.go index a30f99f66e1..88648549af2 100644 --- a/devicemanagement/assignment_filters_item_get_supported_properties_request_builder.go +++ b/devicemanagement/assignment_filters_item_get_supported_properties_request_builder.go @@ -80,3 +80,7 @@ func (m *AssignmentFiltersItemGetSupportedPropertiesRequestBuilder) ToGetRequest } 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 *AssignmentFiltersItemGetSupportedPropertiesRequestBuilder) WithUrl(rawUrl string)(*AssignmentFiltersItemGetSupportedPropertiesRequestBuilder) { + return NewAssignmentFiltersItemGetSupportedPropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/assignment_filters_request_builder.go b/devicemanagement/assignment_filters_request_builder.go index ff7a8926da8..c194f071fc3 100644 --- a/devicemanagement/assignment_filters_request_builder.go +++ b/devicemanagement/assignment_filters_request_builder.go @@ -46,8 +46,8 @@ type AssignmentFiltersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceAndAppManagementAssignmentFilterIdString provides operations to manage the assignmentFilters property of the microsoft.graph.deviceManagement entity. -func (m *AssignmentFiltersRequestBuilder) ByDeviceAndAppManagementAssignmentFilterIdString(deviceAndAppManagementAssignmentFilterId string)(*AssignmentFiltersDeviceAndAppManagementAssignmentFilterItemRequestBuilder) { +// ByDeviceAndAppManagementAssignmentFilterId provides operations to manage the assignmentFilters property of the microsoft.graph.deviceManagement entity. +func (m *AssignmentFiltersRequestBuilder) ByDeviceAndAppManagementAssignmentFilterId(deviceAndAppManagementAssignmentFilterId string)(*AssignmentFiltersDeviceAndAppManagementAssignmentFilterItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -161,3 +161,7 @@ func (m *AssignmentFiltersRequestBuilder) ToPostRequestInformation(ctx context.C func (m *AssignmentFiltersRequestBuilder) ValidateFilter()(*AssignmentFiltersValidateFilterRequestBuilder) { return NewAssignmentFiltersValidateFilterRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *AssignmentFiltersRequestBuilder) WithUrl(rawUrl string)(*AssignmentFiltersRequestBuilder) { + return NewAssignmentFiltersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/assignment_filters_validate_filter_request_builder.go b/devicemanagement/assignment_filters_validate_filter_request_builder.go index ed6141c69d8..384a5d4777a 100644 --- a/devicemanagement/assignment_filters_validate_filter_request_builder.go +++ b/devicemanagement/assignment_filters_validate_filter_request_builder.go @@ -67,3 +67,7 @@ func (m *AssignmentFiltersValidateFilterRequestBuilder) 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 *AssignmentFiltersValidateFilterRequestBuilder) WithUrl(rawUrl string)(*AssignmentFiltersValidateFilterRequestBuilder) { + return NewAssignmentFiltersValidateFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/audit_events_audit_event_item_request_builder.go b/devicemanagement/audit_events_audit_event_item_request_builder.go index 8efb1f417a0..f959e11698d 100644 --- a/devicemanagement/audit_events_audit_event_item_request_builder.go +++ b/devicemanagement/audit_events_audit_event_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AuditEventsAuditEventItemRequestBuilder) ToPatchRequestInformation(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 *AuditEventsAuditEventItemRequestBuilder) WithUrl(rawUrl string)(*AuditEventsAuditEventItemRequestBuilder) { + return NewAuditEventsAuditEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/audit_events_count_request_builder.go b/devicemanagement/audit_events_count_request_builder.go index fac93493628..f6b6d485968 100644 --- a/devicemanagement/audit_events_count_request_builder.go +++ b/devicemanagement/audit_events_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AuditEventsCountRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *AuditEventsCountRequestBuilder) WithUrl(rawUrl string)(*AuditEventsCountRequestBuilder) { + return NewAuditEventsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/audit_events_get_audit_activity_types_with_category_request_builder.go b/devicemanagement/audit_events_get_audit_activity_types_with_category_request_builder.go index 5b5df9fe75c..c7aab4332a5 100644 --- a/devicemanagement/audit_events_get_audit_activity_types_with_category_request_builder.go +++ b/devicemanagement/audit_events_get_audit_activity_types_with_category_request_builder.go @@ -83,3 +83,7 @@ func (m *AuditEventsGetAuditActivityTypesWithCategoryRequestBuilder) ToGetReques } 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 *AuditEventsGetAuditActivityTypesWithCategoryRequestBuilder) WithUrl(rawUrl string)(*AuditEventsGetAuditActivityTypesWithCategoryRequestBuilder) { + return NewAuditEventsGetAuditActivityTypesWithCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/audit_events_get_audit_categories_request_builder.go b/devicemanagement/audit_events_get_audit_categories_request_builder.go index 53c5820c89e..63f9e63528f 100644 --- a/devicemanagement/audit_events_get_audit_categories_request_builder.go +++ b/devicemanagement/audit_events_get_audit_categories_request_builder.go @@ -80,3 +80,7 @@ func (m *AuditEventsGetAuditCategoriesRequestBuilder) ToGetRequestInformation(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 *AuditEventsGetAuditCategoriesRequestBuilder) WithUrl(rawUrl string)(*AuditEventsGetAuditCategoriesRequestBuilder) { + return NewAuditEventsGetAuditCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/audit_events_request_builder.go b/devicemanagement/audit_events_request_builder.go index 6af90cde5d0..24e4c7d5ebb 100644 --- a/devicemanagement/audit_events_request_builder.go +++ b/devicemanagement/audit_events_request_builder.go @@ -46,8 +46,8 @@ type AuditEventsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAuditEventIdString provides operations to manage the auditEvents property of the microsoft.graph.deviceManagement entity. -func (m *AuditEventsRequestBuilder) ByAuditEventIdString(auditEventId string)(*AuditEventsAuditEventItemRequestBuilder) { +// ByAuditEventId provides operations to manage the auditEvents property of the microsoft.graph.deviceManagement entity. +func (m *AuditEventsRequestBuilder) ByAuditEventId(auditEventId string)(*AuditEventsAuditEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,7 @@ func (m *AuditEventsRequestBuilder) ToPostRequestInformation(ctx context.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 *AuditEventsRequestBuilder) WithUrl(rawUrl string)(*AuditEventsRequestBuilder) { + return NewAuditEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/autopilot_events_count_request_builder.go b/devicemanagement/autopilot_events_count_request_builder.go index 2763fb31556..2f27e7c2353 100644 --- a/devicemanagement/autopilot_events_count_request_builder.go +++ b/devicemanagement/autopilot_events_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AutopilotEventsCountRequestBuilder) ToGetRequestInformation(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 *AutopilotEventsCountRequestBuilder) WithUrl(rawUrl string)(*AutopilotEventsCountRequestBuilder) { + return NewAutopilotEventsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/autopilot_events_device_management_autopilot_event_item_request_builder.go b/devicemanagement/autopilot_events_device_management_autopilot_event_item_request_builder.go index c3c70c84a05..4f497e5cda1 100644 --- a/devicemanagement/autopilot_events_device_management_autopilot_event_item_request_builder.go +++ b/devicemanagement/autopilot_events_device_management_autopilot_event_item_request_builder.go @@ -157,3 +157,7 @@ func (m *AutopilotEventsDeviceManagementAutopilotEventItemRequestBuilder) ToPatc } 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 *AutopilotEventsDeviceManagementAutopilotEventItemRequestBuilder) WithUrl(rawUrl string)(*AutopilotEventsDeviceManagementAutopilotEventItemRequestBuilder) { + return NewAutopilotEventsDeviceManagementAutopilotEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/autopilot_events_item_policy_status_details_count_request_builder.go b/devicemanagement/autopilot_events_item_policy_status_details_count_request_builder.go index fbcceb71824..bec0b2cf008 100644 --- a/devicemanagement/autopilot_events_item_policy_status_details_count_request_builder.go +++ b/devicemanagement/autopilot_events_item_policy_status_details_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AutopilotEventsItemPolicyStatusDetailsCountRequestBuilder) ToGetRequest } 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 *AutopilotEventsItemPolicyStatusDetailsCountRequestBuilder) WithUrl(rawUrl string)(*AutopilotEventsItemPolicyStatusDetailsCountRequestBuilder) { + return NewAutopilotEventsItemPolicyStatusDetailsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/autopilot_events_item_policy_status_details_device_management_autopilot_policy_status_detail_item_request_builder.go b/devicemanagement/autopilot_events_item_policy_status_details_device_management_autopilot_policy_status_detail_item_request_builder.go index 40651623176..3af7e794456 100644 --- a/devicemanagement/autopilot_events_item_policy_status_details_device_management_autopilot_policy_status_detail_item_request_builder.go +++ b/devicemanagement/autopilot_events_item_policy_status_details_device_management_autopilot_policy_status_detail_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AutopilotEventsItemPolicyStatusDetailsDeviceManagementAutopilotPolicySt } 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 *AutopilotEventsItemPolicyStatusDetailsDeviceManagementAutopilotPolicyStatusDetailItemRequestBuilder) WithUrl(rawUrl string)(*AutopilotEventsItemPolicyStatusDetailsDeviceManagementAutopilotPolicyStatusDetailItemRequestBuilder) { + return NewAutopilotEventsItemPolicyStatusDetailsDeviceManagementAutopilotPolicyStatusDetailItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/autopilot_events_item_policy_status_details_request_builder.go b/devicemanagement/autopilot_events_item_policy_status_details_request_builder.go index f018e158d5a..d66af5d41cf 100644 --- a/devicemanagement/autopilot_events_item_policy_status_details_request_builder.go +++ b/devicemanagement/autopilot_events_item_policy_status_details_request_builder.go @@ -46,8 +46,8 @@ type AutopilotEventsItemPolicyStatusDetailsRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementAutopilotPolicyStatusDetailIdString provides operations to manage the policyStatusDetails property of the microsoft.graph.deviceManagementAutopilotEvent entity. -func (m *AutopilotEventsItemPolicyStatusDetailsRequestBuilder) ByDeviceManagementAutopilotPolicyStatusDetailIdString(deviceManagementAutopilotPolicyStatusDetailId string)(*AutopilotEventsItemPolicyStatusDetailsDeviceManagementAutopilotPolicyStatusDetailItemRequestBuilder) { +// ByDeviceManagementAutopilotPolicyStatusDetailId provides operations to manage the policyStatusDetails property of the microsoft.graph.deviceManagementAutopilotEvent entity. +func (m *AutopilotEventsItemPolicyStatusDetailsRequestBuilder) ByDeviceManagementAutopilotPolicyStatusDetailId(deviceManagementAutopilotPolicyStatusDetailId string)(*AutopilotEventsItemPolicyStatusDetailsDeviceManagementAutopilotPolicyStatusDetailItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AutopilotEventsItemPolicyStatusDetailsRequestBuilder) ToPostRequestInfo } 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 *AutopilotEventsItemPolicyStatusDetailsRequestBuilder) WithUrl(rawUrl string)(*AutopilotEventsItemPolicyStatusDetailsRequestBuilder) { + return NewAutopilotEventsItemPolicyStatusDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/autopilot_events_request_builder.go b/devicemanagement/autopilot_events_request_builder.go index d3c9d13eb81..5dfd4893edc 100644 --- a/devicemanagement/autopilot_events_request_builder.go +++ b/devicemanagement/autopilot_events_request_builder.go @@ -46,8 +46,8 @@ type AutopilotEventsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementAutopilotEventIdString provides operations to manage the autopilotEvents property of the microsoft.graph.deviceManagement entity. -func (m *AutopilotEventsRequestBuilder) ByDeviceManagementAutopilotEventIdString(deviceManagementAutopilotEventId string)(*AutopilotEventsDeviceManagementAutopilotEventItemRequestBuilder) { +// ByDeviceManagementAutopilotEventId provides operations to manage the autopilotEvents property of the microsoft.graph.deviceManagement entity. +func (m *AutopilotEventsRequestBuilder) ByDeviceManagementAutopilotEventId(deviceManagementAutopilotEventId string)(*AutopilotEventsDeviceManagementAutopilotEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AutopilotEventsRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *AutopilotEventsRequestBuilder) WithUrl(rawUrl string)(*AutopilotEventsRequestBuilder) { + return NewAutopilotEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/cart_to_class_associations_cart_to_class_association_item_request_builder.go b/devicemanagement/cart_to_class_associations_cart_to_class_association_item_request_builder.go index 1153a533bf6..e39e19f109f 100644 --- a/devicemanagement/cart_to_class_associations_cart_to_class_association_item_request_builder.go +++ b/devicemanagement/cart_to_class_associations_cart_to_class_association_item_request_builder.go @@ -153,3 +153,7 @@ func (m *CartToClassAssociationsCartToClassAssociationItemRequestBuilder) ToPatc } 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 *CartToClassAssociationsCartToClassAssociationItemRequestBuilder) WithUrl(rawUrl string)(*CartToClassAssociationsCartToClassAssociationItemRequestBuilder) { + return NewCartToClassAssociationsCartToClassAssociationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/cart_to_class_associations_count_request_builder.go b/devicemanagement/cart_to_class_associations_count_request_builder.go index d0232776e00..59c2e3adf93 100644 --- a/devicemanagement/cart_to_class_associations_count_request_builder.go +++ b/devicemanagement/cart_to_class_associations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CartToClassAssociationsCountRequestBuilder) ToGetRequestInformation(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 *CartToClassAssociationsCountRequestBuilder) WithUrl(rawUrl string)(*CartToClassAssociationsCountRequestBuilder) { + return NewCartToClassAssociationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/cart_to_class_associations_request_builder.go b/devicemanagement/cart_to_class_associations_request_builder.go index 9b6238a98fc..71642d0f00b 100644 --- a/devicemanagement/cart_to_class_associations_request_builder.go +++ b/devicemanagement/cart_to_class_associations_request_builder.go @@ -46,8 +46,8 @@ type CartToClassAssociationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCartToClassAssociationIdString provides operations to manage the cartToClassAssociations property of the microsoft.graph.deviceManagement entity. -func (m *CartToClassAssociationsRequestBuilder) ByCartToClassAssociationIdString(cartToClassAssociationId string)(*CartToClassAssociationsCartToClassAssociationItemRequestBuilder) { +// ByCartToClassAssociationId provides operations to manage the cartToClassAssociations property of the microsoft.graph.deviceManagement entity. +func (m *CartToClassAssociationsRequestBuilder) ByCartToClassAssociationId(cartToClassAssociationId string)(*CartToClassAssociationsCartToClassAssociationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *CartToClassAssociationsRequestBuilder) ToPostRequestInformation(ctx con } 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 *CartToClassAssociationsRequestBuilder) WithUrl(rawUrl string)(*CartToClassAssociationsRequestBuilder) { + return NewCartToClassAssociationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/categories_count_request_builder.go b/devicemanagement/categories_count_request_builder.go index 060cc373faa..55588196a70 100644 --- a/devicemanagement/categories_count_request_builder.go +++ b/devicemanagement/categories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CategoriesCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *CategoriesCountRequestBuilder) WithUrl(rawUrl string)(*CategoriesCountRequestBuilder) { + return NewCategoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/categories_device_management_setting_category_item_request_builder.go b/devicemanagement/categories_device_management_setting_category_item_request_builder.go index 94cd4c74647..ec112bcea41 100644 --- a/devicemanagement/categories_device_management_setting_category_item_request_builder.go +++ b/devicemanagement/categories_device_management_setting_category_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CategoriesDeviceManagementSettingCategoryItemRequestBuilder) ToPatchReq } 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 *CategoriesDeviceManagementSettingCategoryItemRequestBuilder) WithUrl(rawUrl string)(*CategoriesDeviceManagementSettingCategoryItemRequestBuilder) { + return NewCategoriesDeviceManagementSettingCategoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/categories_item_setting_definitions_count_request_builder.go b/devicemanagement/categories_item_setting_definitions_count_request_builder.go index 10acd411b50..58fae12988f 100644 --- a/devicemanagement/categories_item_setting_definitions_count_request_builder.go +++ b/devicemanagement/categories_item_setting_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CategoriesItemSettingDefinitionsCountRequestBuilder) ToGetRequestInform } 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 *CategoriesItemSettingDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*CategoriesItemSettingDefinitionsCountRequestBuilder) { + return NewCategoriesItemSettingDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go b/devicemanagement/categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go index f6fee4f4f9e..63a71dfc65b 100644 --- a/devicemanagement/categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go +++ b/devicemanagement/categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go @@ -153,3 +153,7 @@ func (m *CategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRe } 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 *CategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*CategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) { + return NewCategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/categories_item_setting_definitions_request_builder.go b/devicemanagement/categories_item_setting_definitions_request_builder.go index 4a0086c1de4..c8468c86af9 100644 --- a/devicemanagement/categories_item_setting_definitions_request_builder.go +++ b/devicemanagement/categories_item_setting_definitions_request_builder.go @@ -46,8 +46,8 @@ type CategoriesItemSettingDefinitionsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementSettingDefinitionIdString provides operations to manage the settingDefinitions property of the microsoft.graph.deviceManagementSettingCategory entity. -func (m *CategoriesItemSettingDefinitionsRequestBuilder) ByDeviceManagementSettingDefinitionIdString(deviceManagementSettingDefinitionId string)(*CategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) { +// ByDeviceManagementSettingDefinitionId provides operations to manage the settingDefinitions property of the microsoft.graph.deviceManagementSettingCategory entity. +func (m *CategoriesItemSettingDefinitionsRequestBuilder) ByDeviceManagementSettingDefinitionId(deviceManagementSettingDefinitionId string)(*CategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *CategoriesItemSettingDefinitionsRequestBuilder) ToPostRequestInformatio } 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 *CategoriesItemSettingDefinitionsRequestBuilder) WithUrl(rawUrl string)(*CategoriesItemSettingDefinitionsRequestBuilder) { + return NewCategoriesItemSettingDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/categories_request_builder.go b/devicemanagement/categories_request_builder.go index 3a3bbf5fcab..9185e7fe2b5 100644 --- a/devicemanagement/categories_request_builder.go +++ b/devicemanagement/categories_request_builder.go @@ -46,8 +46,8 @@ type CategoriesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementSettingCategoryIdString provides operations to manage the categories property of the microsoft.graph.deviceManagement entity. -func (m *CategoriesRequestBuilder) ByDeviceManagementSettingCategoryIdString(deviceManagementSettingCategoryId string)(*CategoriesDeviceManagementSettingCategoryItemRequestBuilder) { +// ByDeviceManagementSettingCategoryId provides operations to manage the categories property of the microsoft.graph.deviceManagement entity. +func (m *CategoriesRequestBuilder) ByDeviceManagementSettingCategoryId(deviceManagementSettingCategoryId string)(*CategoriesDeviceManagementSettingCategoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *CategoriesRequestBuilder) ToPostRequestInformation(ctx context.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 *CategoriesRequestBuilder) WithUrl(rawUrl string)(*CategoriesRequestBuilder) { + return NewCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/certificate_connector_details_certificate_connector_details_item_request_builder.go b/devicemanagement/certificate_connector_details_certificate_connector_details_item_request_builder.go index c84979ac4f3..124d301d46e 100644 --- a/devicemanagement/certificate_connector_details_certificate_connector_details_item_request_builder.go +++ b/devicemanagement/certificate_connector_details_certificate_connector_details_item_request_builder.go @@ -161,3 +161,7 @@ func (m *CertificateConnectorDetailsCertificateConnectorDetailsItemRequestBuilde } 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 *CertificateConnectorDetailsCertificateConnectorDetailsItemRequestBuilder) WithUrl(rawUrl string)(*CertificateConnectorDetailsCertificateConnectorDetailsItemRequestBuilder) { + return NewCertificateConnectorDetailsCertificateConnectorDetailsItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/certificate_connector_details_count_request_builder.go b/devicemanagement/certificate_connector_details_count_request_builder.go index 512408d147a..72734b873d1 100644 --- a/devicemanagement/certificate_connector_details_count_request_builder.go +++ b/devicemanagement/certificate_connector_details_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CertificateConnectorDetailsCountRequestBuilder) 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 *CertificateConnectorDetailsCountRequestBuilder) WithUrl(rawUrl string)(*CertificateConnectorDetailsCountRequestBuilder) { + return NewCertificateConnectorDetailsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/certificate_connector_details_item_get_health_metric_time_series_request_builder.go b/devicemanagement/certificate_connector_details_item_get_health_metric_time_series_request_builder.go index 8caa820f802..b40d40effe9 100644 --- a/devicemanagement/certificate_connector_details_item_get_health_metric_time_series_request_builder.go +++ b/devicemanagement/certificate_connector_details_item_get_health_metric_time_series_request_builder.go @@ -66,3 +66,7 @@ func (m *CertificateConnectorDetailsItemGetHealthMetricTimeSeriesRequestBuilder) } 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 *CertificateConnectorDetailsItemGetHealthMetricTimeSeriesRequestBuilder) WithUrl(rawUrl string)(*CertificateConnectorDetailsItemGetHealthMetricTimeSeriesRequestBuilder) { + return NewCertificateConnectorDetailsItemGetHealthMetricTimeSeriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/certificate_connector_details_item_get_health_metrics_request_builder.go b/devicemanagement/certificate_connector_details_item_get_health_metrics_request_builder.go index bc80bf7429f..3fa35a58087 100644 --- a/devicemanagement/certificate_connector_details_item_get_health_metrics_request_builder.go +++ b/devicemanagement/certificate_connector_details_item_get_health_metrics_request_builder.go @@ -66,3 +66,7 @@ func (m *CertificateConnectorDetailsItemGetHealthMetricsRequestBuilder) ToPostRe } 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 *CertificateConnectorDetailsItemGetHealthMetricsRequestBuilder) WithUrl(rawUrl string)(*CertificateConnectorDetailsItemGetHealthMetricsRequestBuilder) { + return NewCertificateConnectorDetailsItemGetHealthMetricsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/certificate_connector_details_request_builder.go b/devicemanagement/certificate_connector_details_request_builder.go index 289279669cd..3b6111b7d93 100644 --- a/devicemanagement/certificate_connector_details_request_builder.go +++ b/devicemanagement/certificate_connector_details_request_builder.go @@ -46,8 +46,8 @@ type CertificateConnectorDetailsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCertificateConnectorDetailsIdString provides operations to manage the certificateConnectorDetails property of the microsoft.graph.deviceManagement entity. -func (m *CertificateConnectorDetailsRequestBuilder) ByCertificateConnectorDetailsIdString(certificateConnectorDetailsId string)(*CertificateConnectorDetailsCertificateConnectorDetailsItemRequestBuilder) { +// ByCertificateConnectorDetailsId provides operations to manage the certificateConnectorDetails property of the microsoft.graph.deviceManagement entity. +func (m *CertificateConnectorDetailsRequestBuilder) ByCertificateConnectorDetailsId(certificateConnectorDetailsId string)(*CertificateConnectorDetailsCertificateConnectorDetailsItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *CertificateConnectorDetailsRequestBuilder) 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 *CertificateConnectorDetailsRequestBuilder) WithUrl(rawUrl string)(*CertificateConnectorDetailsRequestBuilder) { + return NewCertificateConnectorDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/chrome_o_s_onboarding_settings_chrome_o_s_onboarding_settings_item_request_builder.go b/devicemanagement/chrome_o_s_onboarding_settings_chrome_o_s_onboarding_settings_item_request_builder.go index 23c3f73268b..1ffb4bf9f9b 100644 --- a/devicemanagement/chrome_o_s_onboarding_settings_chrome_o_s_onboarding_settings_item_request_builder.go +++ b/devicemanagement/chrome_o_s_onboarding_settings_chrome_o_s_onboarding_settings_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ChromeOSOnboardingSettingsChromeOSOnboardingSettingsItemRequestBuilder) } 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 *ChromeOSOnboardingSettingsChromeOSOnboardingSettingsItemRequestBuilder) WithUrl(rawUrl string)(*ChromeOSOnboardingSettingsChromeOSOnboardingSettingsItemRequestBuilder) { + return NewChromeOSOnboardingSettingsChromeOSOnboardingSettingsItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/chrome_o_s_onboarding_settings_connect_request_builder.go b/devicemanagement/chrome_o_s_onboarding_settings_connect_request_builder.go index 882d4d17c20..025ccf70ffd 100644 --- a/devicemanagement/chrome_o_s_onboarding_settings_connect_request_builder.go +++ b/devicemanagement/chrome_o_s_onboarding_settings_connect_request_builder.go @@ -67,3 +67,7 @@ func (m *ChromeOSOnboardingSettingsConnectRequestBuilder) ToPostRequestInformati } 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 *ChromeOSOnboardingSettingsConnectRequestBuilder) WithUrl(rawUrl string)(*ChromeOSOnboardingSettingsConnectRequestBuilder) { + return NewChromeOSOnboardingSettingsConnectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/chrome_o_s_onboarding_settings_count_request_builder.go b/devicemanagement/chrome_o_s_onboarding_settings_count_request_builder.go index 0a0073790b1..a26b6f03af9 100644 --- a/devicemanagement/chrome_o_s_onboarding_settings_count_request_builder.go +++ b/devicemanagement/chrome_o_s_onboarding_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ChromeOSOnboardingSettingsCountRequestBuilder) 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 *ChromeOSOnboardingSettingsCountRequestBuilder) WithUrl(rawUrl string)(*ChromeOSOnboardingSettingsCountRequestBuilder) { + return NewChromeOSOnboardingSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/chrome_o_s_onboarding_settings_disconnect_request_builder.go b/devicemanagement/chrome_o_s_onboarding_settings_disconnect_request_builder.go index e43b33f7b4a..608036fe3d9 100644 --- a/devicemanagement/chrome_o_s_onboarding_settings_disconnect_request_builder.go +++ b/devicemanagement/chrome_o_s_onboarding_settings_disconnect_request_builder.go @@ -63,3 +63,7 @@ func (m *ChromeOSOnboardingSettingsDisconnectRequestBuilder) ToPostRequestInform } 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 *ChromeOSOnboardingSettingsDisconnectRequestBuilder) WithUrl(rawUrl string)(*ChromeOSOnboardingSettingsDisconnectRequestBuilder) { + return NewChromeOSOnboardingSettingsDisconnectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/chrome_o_s_onboarding_settings_request_builder.go b/devicemanagement/chrome_o_s_onboarding_settings_request_builder.go index c6a5188238e..b215e8fb032 100644 --- a/devicemanagement/chrome_o_s_onboarding_settings_request_builder.go +++ b/devicemanagement/chrome_o_s_onboarding_settings_request_builder.go @@ -46,8 +46,8 @@ type ChromeOSOnboardingSettingsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChromeOSOnboardingSettingsIdString provides operations to manage the chromeOSOnboardingSettings property of the microsoft.graph.deviceManagement entity. -func (m *ChromeOSOnboardingSettingsRequestBuilder) ByChromeOSOnboardingSettingsIdString(chromeOSOnboardingSettingsId string)(*ChromeOSOnboardingSettingsChromeOSOnboardingSettingsItemRequestBuilder) { +// ByChromeOSOnboardingSettingsId provides operations to manage the chromeOSOnboardingSettings property of the microsoft.graph.deviceManagement entity. +func (m *ChromeOSOnboardingSettingsRequestBuilder) ByChromeOSOnboardingSettingsId(chromeOSOnboardingSettingsId string)(*ChromeOSOnboardingSettingsChromeOSOnboardingSettingsItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,7 @@ func (m *ChromeOSOnboardingSettingsRequestBuilder) 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 *ChromeOSOnboardingSettingsRequestBuilder) WithUrl(rawUrl string)(*ChromeOSOnboardingSettingsRequestBuilder) { + return NewChromeOSOnboardingSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/cloud_p_c_connectivity_issues_cloud_p_c_connectivity_issue_item_request_builder.go b/devicemanagement/cloud_p_c_connectivity_issues_cloud_p_c_connectivity_issue_item_request_builder.go index 8744d42a24d..65392d7d602 100644 --- a/devicemanagement/cloud_p_c_connectivity_issues_cloud_p_c_connectivity_issue_item_request_builder.go +++ b/devicemanagement/cloud_p_c_connectivity_issues_cloud_p_c_connectivity_issue_item_request_builder.go @@ -153,3 +153,7 @@ func (m *CloudPCConnectivityIssuesCloudPCConnectivityIssueItemRequestBuilder) To } 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 *CloudPCConnectivityIssuesCloudPCConnectivityIssueItemRequestBuilder) WithUrl(rawUrl string)(*CloudPCConnectivityIssuesCloudPCConnectivityIssueItemRequestBuilder) { + return NewCloudPCConnectivityIssuesCloudPCConnectivityIssueItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/cloud_p_c_connectivity_issues_count_request_builder.go b/devicemanagement/cloud_p_c_connectivity_issues_count_request_builder.go index ebd4b19c189..79f2b1080b0 100644 --- a/devicemanagement/cloud_p_c_connectivity_issues_count_request_builder.go +++ b/devicemanagement/cloud_p_c_connectivity_issues_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CloudPCConnectivityIssuesCountRequestBuilder) ToGetRequestInformation(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 *CloudPCConnectivityIssuesCountRequestBuilder) WithUrl(rawUrl string)(*CloudPCConnectivityIssuesCountRequestBuilder) { + return NewCloudPCConnectivityIssuesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/cloud_p_c_connectivity_issues_request_builder.go b/devicemanagement/cloud_p_c_connectivity_issues_request_builder.go index 656fe422b35..4f844048b12 100644 --- a/devicemanagement/cloud_p_c_connectivity_issues_request_builder.go +++ b/devicemanagement/cloud_p_c_connectivity_issues_request_builder.go @@ -46,8 +46,8 @@ type CloudPCConnectivityIssuesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCloudPCConnectivityIssueIdString provides operations to manage the cloudPCConnectivityIssues property of the microsoft.graph.deviceManagement entity. -func (m *CloudPCConnectivityIssuesRequestBuilder) ByCloudPCConnectivityIssueIdString(cloudPCConnectivityIssueId string)(*CloudPCConnectivityIssuesCloudPCConnectivityIssueItemRequestBuilder) { +// ByCloudPCConnectivityIssueId provides operations to manage the cloudPCConnectivityIssues property of the microsoft.graph.deviceManagement entity. +func (m *CloudPCConnectivityIssuesRequestBuilder) ByCloudPCConnectivityIssueId(cloudPCConnectivityIssueId string)(*CloudPCConnectivityIssuesCloudPCConnectivityIssueItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *CloudPCConnectivityIssuesRequestBuilder) ToPostRequestInformation(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 *CloudPCConnectivityIssuesRequestBuilder) WithUrl(rawUrl string)(*CloudPCConnectivityIssuesRequestBuilder) { + return NewCloudPCConnectivityIssuesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_app_diagnostics_with_upn_request_builder.go b/devicemanagement/comanaged_devices_app_diagnostics_with_upn_request_builder.go index 3df749bedbc..58895c585fe 100644 --- a/devicemanagement/comanaged_devices_app_diagnostics_with_upn_request_builder.go +++ b/devicemanagement/comanaged_devices_app_diagnostics_with_upn_request_builder.go @@ -83,3 +83,7 @@ func (m *ComanagedDevicesAppDiagnosticsWithUpnRequestBuilder) ToGetRequestInform } 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 *ComanagedDevicesAppDiagnosticsWithUpnRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesAppDiagnosticsWithUpnRequestBuilder) { + return NewComanagedDevicesAppDiagnosticsWithUpnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_bulk_reprovision_cloud_pc_request_builder.go b/devicemanagement/comanaged_devices_bulk_reprovision_cloud_pc_request_builder.go index 79f3517c49e..7cee5372eb3 100644 --- a/devicemanagement/comanaged_devices_bulk_reprovision_cloud_pc_request_builder.go +++ b/devicemanagement/comanaged_devices_bulk_reprovision_cloud_pc_request_builder.go @@ -72,3 +72,8 @@ func (m *ComanagedDevicesBulkReprovisionCloudPcRequestBuilder) ToPostRequestInfo } 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. +// Deprecated: The bulkReprovisionCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkReprovisionCloudPc on 2023-05-24 and will be removed 2023-09-24 +func (m *ComanagedDevicesBulkReprovisionCloudPcRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesBulkReprovisionCloudPcRequestBuilder) { + return NewComanagedDevicesBulkReprovisionCloudPcRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_bulk_restore_cloud_pc_request_builder.go b/devicemanagement/comanaged_devices_bulk_restore_cloud_pc_request_builder.go index f40521d3637..8d34a5b3502 100644 --- a/devicemanagement/comanaged_devices_bulk_restore_cloud_pc_request_builder.go +++ b/devicemanagement/comanaged_devices_bulk_restore_cloud_pc_request_builder.go @@ -72,3 +72,8 @@ func (m *ComanagedDevicesBulkRestoreCloudPcRequestBuilder) ToPostRequestInformat } 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. +// Deprecated: The bulkRestoreCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkRestoreCloudPc on 2023-05-24 and will be removed 2023-09-24 +func (m *ComanagedDevicesBulkRestoreCloudPcRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesBulkRestoreCloudPcRequestBuilder) { + return NewComanagedDevicesBulkRestoreCloudPcRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_bulk_set_cloud_pc_review_status_request_builder.go b/devicemanagement/comanaged_devices_bulk_set_cloud_pc_review_status_request_builder.go index dfddf668a7a..9997ed72ec4 100644 --- a/devicemanagement/comanaged_devices_bulk_set_cloud_pc_review_status_request_builder.go +++ b/devicemanagement/comanaged_devices_bulk_set_cloud_pc_review_status_request_builder.go @@ -70,3 +70,7 @@ func (m *ComanagedDevicesBulkSetCloudPcReviewStatusRequestBuilder) ToPostRequest } 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 *ComanagedDevicesBulkSetCloudPcReviewStatusRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesBulkSetCloudPcReviewStatusRequestBuilder) { + return NewComanagedDevicesBulkSetCloudPcReviewStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_count_request_builder.go b/devicemanagement/comanaged_devices_count_request_builder.go index 1e23910bd57..6577c629056 100644 --- a/devicemanagement/comanaged_devices_count_request_builder.go +++ b/devicemanagement/comanaged_devices_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ComanagedDevicesCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ComanagedDevicesCountRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesCountRequestBuilder) { + return NewComanagedDevicesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_download_app_diagnostics_request_builder.go b/devicemanagement/comanaged_devices_download_app_diagnostics_request_builder.go index bc271f9d13b..9cd465127e0 100644 --- a/devicemanagement/comanaged_devices_download_app_diagnostics_request_builder.go +++ b/devicemanagement/comanaged_devices_download_app_diagnostics_request_builder.go @@ -65,3 +65,7 @@ func (m *ComanagedDevicesDownloadAppDiagnosticsRequestBuilder) ToPostRequestInfo } 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 *ComanagedDevicesDownloadAppDiagnosticsRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesDownloadAppDiagnosticsRequestBuilder) { + return NewComanagedDevicesDownloadAppDiagnosticsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_execute_action_request_builder.go b/devicemanagement/comanaged_devices_execute_action_request_builder.go index 3c6ffb36b28..b84beaba952 100644 --- a/devicemanagement/comanaged_devices_execute_action_request_builder.go +++ b/devicemanagement/comanaged_devices_execute_action_request_builder.go @@ -67,3 +67,7 @@ func (m *ComanagedDevicesExecuteActionRequestBuilder) ToPostRequestInformation(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 *ComanagedDevicesExecuteActionRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesExecuteActionRequestBuilder) { + return NewComanagedDevicesExecuteActionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_activate_device_esim_request_builder.go b/devicemanagement/comanaged_devices_item_activate_device_esim_request_builder.go index c279430d20a..cb24bd50cb6 100644 --- a/devicemanagement/comanaged_devices_item_activate_device_esim_request_builder.go +++ b/devicemanagement/comanaged_devices_item_activate_device_esim_request_builder.go @@ -62,3 +62,7 @@ func (m *ComanagedDevicesItemActivateDeviceEsimRequestBuilder) ToPostRequestInfo } 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 *ComanagedDevicesItemActivateDeviceEsimRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemActivateDeviceEsimRequestBuilder) { + return NewComanagedDevicesItemActivateDeviceEsimRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go b/devicemanagement/comanaged_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go index 7a3857ca160..0c0e4aa6546 100644 --- a/devicemanagement/comanaged_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go +++ b/devicemanagement/comanaged_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ComanagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFi } 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 *ComanagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFilterEvaluationStatusDetailsItemRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFilterEvaluationStatusDetailsItemRequestBuilder) { + return NewComanagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFilterEvaluationStatusDetailsItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_assignment_filter_evaluation_status_details_count_request_builder.go b/devicemanagement/comanaged_devices_item_assignment_filter_evaluation_status_details_count_request_builder.go index 04064e04ba6..6b88d255668 100644 --- a/devicemanagement/comanaged_devices_item_assignment_filter_evaluation_status_details_count_request_builder.go +++ b/devicemanagement/comanaged_devices_item_assignment_filter_evaluation_status_details_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ComanagedDevicesItemAssignmentFilterEvaluationStatusDetailsCountRequest } 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 *ComanagedDevicesItemAssignmentFilterEvaluationStatusDetailsCountRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemAssignmentFilterEvaluationStatusDetailsCountRequestBuilder) { + return NewComanagedDevicesItemAssignmentFilterEvaluationStatusDetailsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_assignment_filter_evaluation_status_details_request_builder.go b/devicemanagement/comanaged_devices_item_assignment_filter_evaluation_status_details_request_builder.go index 8eed70be908..bd6e239f8af 100644 --- a/devicemanagement/comanaged_devices_item_assignment_filter_evaluation_status_details_request_builder.go +++ b/devicemanagement/comanaged_devices_item_assignment_filter_evaluation_status_details_request_builder.go @@ -46,8 +46,8 @@ type ComanagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuilderPo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAssignmentFilterEvaluationStatusDetailsIdString provides operations to manage the assignmentFilterEvaluationStatusDetails property of the microsoft.graph.managedDevice entity. -func (m *ComanagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuilder) ByAssignmentFilterEvaluationStatusDetailsIdString(assignmentFilterEvaluationStatusDetailsId string)(*ComanagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFilterEvaluationStatusDetailsItemRequestBuilder) { +// ByAssignmentFilterEvaluationStatusDetailsId provides operations to manage the assignmentFilterEvaluationStatusDetails property of the microsoft.graph.managedDevice entity. +func (m *ComanagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuilder) ByAssignmentFilterEvaluationStatusDetailsId(assignmentFilterEvaluationStatusDetailsId string)(*ComanagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFilterEvaluationStatusDetailsItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ComanagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuild } 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 *ComanagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuilder) { + return NewComanagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_bypass_activation_lock_request_builder.go b/devicemanagement/comanaged_devices_item_bypass_activation_lock_request_builder.go index 2de03421ba9..da8bea9b4f9 100644 --- a/devicemanagement/comanaged_devices_item_bypass_activation_lock_request_builder.go +++ b/devicemanagement/comanaged_devices_item_bypass_activation_lock_request_builder.go @@ -58,3 +58,7 @@ func (m *ComanagedDevicesItemBypassActivationLockRequestBuilder) ToPostRequestIn } 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 *ComanagedDevicesItemBypassActivationLockRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemBypassActivationLockRequestBuilder) { + return NewComanagedDevicesItemBypassActivationLockRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_clean_windows_device_request_builder.go b/devicemanagement/comanaged_devices_item_clean_windows_device_request_builder.go index 113ba5a64bb..97d562a0f50 100644 --- a/devicemanagement/comanaged_devices_item_clean_windows_device_request_builder.go +++ b/devicemanagement/comanaged_devices_item_clean_windows_device_request_builder.go @@ -62,3 +62,7 @@ func (m *ComanagedDevicesItemCleanWindowsDeviceRequestBuilder) ToPostRequestInfo } 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 *ComanagedDevicesItemCleanWindowsDeviceRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemCleanWindowsDeviceRequestBuilder) { + return NewComanagedDevicesItemCleanWindowsDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_create_device_log_collection_request_request_builder.go b/devicemanagement/comanaged_devices_item_create_device_log_collection_request_request_builder.go index 9ae58696841..3313675e271 100644 --- a/devicemanagement/comanaged_devices_item_create_device_log_collection_request_request_builder.go +++ b/devicemanagement/comanaged_devices_item_create_device_log_collection_request_request_builder.go @@ -67,3 +67,7 @@ func (m *ComanagedDevicesItemCreateDeviceLogCollectionRequestRequestBuilder) 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 *ComanagedDevicesItemCreateDeviceLogCollectionRequestRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemCreateDeviceLogCollectionRequestRequestBuilder) { + return NewComanagedDevicesItemCreateDeviceLogCollectionRequestRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_delete_user_from_shared_apple_device_request_builder.go b/devicemanagement/comanaged_devices_item_delete_user_from_shared_apple_device_request_builder.go index fedb9006de0..c42b0aa2614 100644 --- a/devicemanagement/comanaged_devices_item_delete_user_from_shared_apple_device_request_builder.go +++ b/devicemanagement/comanaged_devices_item_delete_user_from_shared_apple_device_request_builder.go @@ -62,3 +62,7 @@ func (m *ComanagedDevicesItemDeleteUserFromSharedAppleDeviceRequestBuilder) ToPo } 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 *ComanagedDevicesItemDeleteUserFromSharedAppleDeviceRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemDeleteUserFromSharedAppleDeviceRequestBuilder) { + return NewComanagedDevicesItemDeleteUserFromSharedAppleDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_deprovision_request_builder.go b/devicemanagement/comanaged_devices_item_deprovision_request_builder.go index 2c3e3fe273e..5808fa239cc 100644 --- a/devicemanagement/comanaged_devices_item_deprovision_request_builder.go +++ b/devicemanagement/comanaged_devices_item_deprovision_request_builder.go @@ -62,3 +62,7 @@ func (m *ComanagedDevicesItemDeprovisionRequestBuilder) 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 *ComanagedDevicesItemDeprovisionRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemDeprovisionRequestBuilder) { + return NewComanagedDevicesItemDeprovisionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_detected_apps_count_request_builder.go b/devicemanagement/comanaged_devices_item_detected_apps_count_request_builder.go index 6fadea72853..ad1aa2ea8cd 100644 --- a/devicemanagement/comanaged_devices_item_detected_apps_count_request_builder.go +++ b/devicemanagement/comanaged_devices_item_detected_apps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ComanagedDevicesItemDetectedAppsCountRequestBuilder) ToGetRequestInform } 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 *ComanagedDevicesItemDetectedAppsCountRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemDetectedAppsCountRequestBuilder) { + return NewComanagedDevicesItemDetectedAppsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_detected_apps_detected_app_item_request_builder.go b/devicemanagement/comanaged_devices_item_detected_apps_detected_app_item_request_builder.go index 1740d303ff7..0878c3e815c 100644 --- a/devicemanagement/comanaged_devices_item_detected_apps_detected_app_item_request_builder.go +++ b/devicemanagement/comanaged_devices_item_detected_apps_detected_app_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ComanagedDevicesItemDetectedAppsDetectedAppItemRequestBuilder) ToGetReq } 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 *ComanagedDevicesItemDetectedAppsDetectedAppItemRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemDetectedAppsDetectedAppItemRequestBuilder) { + return NewComanagedDevicesItemDetectedAppsDetectedAppItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_detected_apps_request_builder.go b/devicemanagement/comanaged_devices_item_detected_apps_request_builder.go index 5f50bb01528..e3aa0a74f1b 100644 --- a/devicemanagement/comanaged_devices_item_detected_apps_request_builder.go +++ b/devicemanagement/comanaged_devices_item_detected_apps_request_builder.go @@ -39,8 +39,8 @@ type ComanagedDevicesItemDetectedAppsRequestBuilderGetRequestConfiguration struc // Request query parameters QueryParameters *ComanagedDevicesItemDetectedAppsRequestBuilderGetQueryParameters } -// ByDetectedAppIdString provides operations to manage the detectedApps property of the microsoft.graph.managedDevice entity. -func (m *ComanagedDevicesItemDetectedAppsRequestBuilder) ByDetectedAppIdString(detectedAppId string)(*ComanagedDevicesItemDetectedAppsDetectedAppItemRequestBuilder) { +// ByDetectedAppId provides operations to manage the detectedApps property of the microsoft.graph.managedDevice entity. +func (m *ComanagedDevicesItemDetectedAppsRequestBuilder) ByDetectedAppId(detectedAppId string)(*ComanagedDevicesItemDetectedAppsDetectedAppItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ComanagedDevicesItemDetectedAppsRequestBuilder) 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 *ComanagedDevicesItemDetectedAppsRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemDetectedAppsRequestBuilder) { + return NewComanagedDevicesItemDetectedAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_device_category_request_builder.go b/devicemanagement/comanaged_devices_item_device_category_request_builder.go index aef57fffe68..eb014e12889 100644 --- a/devicemanagement/comanaged_devices_item_device_category_request_builder.go +++ b/devicemanagement/comanaged_devices_item_device_category_request_builder.go @@ -153,3 +153,7 @@ func (m *ComanagedDevicesItemDeviceCategoryRequestBuilder) ToPatchRequestInforma } 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 *ComanagedDevicesItemDeviceCategoryRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemDeviceCategoryRequestBuilder) { + return NewComanagedDevicesItemDeviceCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_device_compliance_policy_states_count_request_builder.go b/devicemanagement/comanaged_devices_item_device_compliance_policy_states_count_request_builder.go index 898ac6b05a3..afb27834c57 100644 --- a/devicemanagement/comanaged_devices_item_device_compliance_policy_states_count_request_builder.go +++ b/devicemanagement/comanaged_devices_item_device_compliance_policy_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ComanagedDevicesItemDeviceCompliancePolicyStatesCountRequestBuilder) To } 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 *ComanagedDevicesItemDeviceCompliancePolicyStatesCountRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemDeviceCompliancePolicyStatesCountRequestBuilder) { + return NewComanagedDevicesItemDeviceCompliancePolicyStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go b/devicemanagement/comanaged_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go index 4cbb9dc23e3..af1f3d14b74 100644 --- a/devicemanagement/comanaged_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go +++ b/devicemanagement/comanaged_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ComanagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicyS } 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 *ComanagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicyStateItemRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicyStateItemRequestBuilder) { + return NewComanagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicyStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_device_compliance_policy_states_request_builder.go b/devicemanagement/comanaged_devices_item_device_compliance_policy_states_request_builder.go index ccfb6328c06..798416d6829 100644 --- a/devicemanagement/comanaged_devices_item_device_compliance_policy_states_request_builder.go +++ b/devicemanagement/comanaged_devices_item_device_compliance_policy_states_request_builder.go @@ -46,8 +46,8 @@ type ComanagedDevicesItemDeviceCompliancePolicyStatesRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceCompliancePolicyStateIdString provides operations to manage the deviceCompliancePolicyStates property of the microsoft.graph.managedDevice entity. -func (m *ComanagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder) ByDeviceCompliancePolicyStateIdString(deviceCompliancePolicyStateId string)(*ComanagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicyStateItemRequestBuilder) { +// ByDeviceCompliancePolicyStateId provides operations to manage the deviceCompliancePolicyStates property of the microsoft.graph.managedDevice entity. +func (m *ComanagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder) ByDeviceCompliancePolicyStateId(deviceCompliancePolicyStateId string)(*ComanagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicyStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ComanagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder) ToPostR } 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 *ComanagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder) { + return NewComanagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_device_configuration_states_count_request_builder.go b/devicemanagement/comanaged_devices_item_device_configuration_states_count_request_builder.go index ebc777ee1ff..b1b7f72589c 100644 --- a/devicemanagement/comanaged_devices_item_device_configuration_states_count_request_builder.go +++ b/devicemanagement/comanaged_devices_item_device_configuration_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ComanagedDevicesItemDeviceConfigurationStatesCountRequestBuilder) ToGet } 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 *ComanagedDevicesItemDeviceConfigurationStatesCountRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemDeviceConfigurationStatesCountRequestBuilder) { + return NewComanagedDevicesItemDeviceConfigurationStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go b/devicemanagement/comanaged_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go index cc7b0473dcb..4ec3ae241e0 100644 --- a/devicemanagement/comanaged_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go +++ b/devicemanagement/comanaged_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ComanagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateIt } 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 *ComanagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateItemRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateItemRequestBuilder) { + return NewComanagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_device_configuration_states_request_builder.go b/devicemanagement/comanaged_devices_item_device_configuration_states_request_builder.go index 35f7892f1f9..250f404e5cf 100644 --- a/devicemanagement/comanaged_devices_item_device_configuration_states_request_builder.go +++ b/devicemanagement/comanaged_devices_item_device_configuration_states_request_builder.go @@ -46,8 +46,8 @@ type ComanagedDevicesItemDeviceConfigurationStatesRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceConfigurationStateIdString provides operations to manage the deviceConfigurationStates property of the microsoft.graph.managedDevice entity. -func (m *ComanagedDevicesItemDeviceConfigurationStatesRequestBuilder) ByDeviceConfigurationStateIdString(deviceConfigurationStateId string)(*ComanagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateItemRequestBuilder) { +// ByDeviceConfigurationStateId provides operations to manage the deviceConfigurationStates property of the microsoft.graph.managedDevice entity. +func (m *ComanagedDevicesItemDeviceConfigurationStatesRequestBuilder) ByDeviceConfigurationStateId(deviceConfigurationStateId string)(*ComanagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ComanagedDevicesItemDeviceConfigurationStatesRequestBuilder) ToPostRequ } 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 *ComanagedDevicesItemDeviceConfigurationStatesRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemDeviceConfigurationStatesRequestBuilder) { + return NewComanagedDevicesItemDeviceConfigurationStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_device_health_script_states_count_request_builder.go b/devicemanagement/comanaged_devices_item_device_health_script_states_count_request_builder.go index 39d657022f2..00f181c72fd 100644 --- a/devicemanagement/comanaged_devices_item_device_health_script_states_count_request_builder.go +++ b/devicemanagement/comanaged_devices_item_device_health_script_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ComanagedDevicesItemDeviceHealthScriptStatesCountRequestBuilder) ToGetR } 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 *ComanagedDevicesItemDeviceHealthScriptStatesCountRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemDeviceHealthScriptStatesCountRequestBuilder) { + return NewComanagedDevicesItemDeviceHealthScriptStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_device_health_script_states_request_builder.go b/devicemanagement/comanaged_devices_item_device_health_script_states_request_builder.go index d6e07e6413b..9fdbeaa42ba 100644 --- a/devicemanagement/comanaged_devices_item_device_health_script_states_request_builder.go +++ b/devicemanagement/comanaged_devices_item_device_health_script_states_request_builder.go @@ -138,3 +138,7 @@ func (m *ComanagedDevicesItemDeviceHealthScriptStatesRequestBuilder) ToPostReque func (m *ComanagedDevicesItemDeviceHealthScriptStatesRequestBuilder) WithIdWithPolicyIdWithDeviceId(deviceId *string, id *string, policyId *string)(*ComanagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDeviceIdRequestBuilder) { return NewComanagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDeviceIdRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, deviceId, id, policyId) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ComanagedDevicesItemDeviceHealthScriptStatesRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemDeviceHealthScriptStatesRequestBuilder) { + return NewComanagedDevicesItemDeviceHealthScriptStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go b/devicemanagement/comanaged_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go index 7382e2179fb..ac777e3d949 100644 --- a/devicemanagement/comanaged_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go +++ b/devicemanagement/comanaged_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go @@ -162,3 +162,7 @@ func (m *ComanagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDevic } 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 *ComanagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDeviceIdRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDeviceIdRequestBuilder) { + return NewComanagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDeviceIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_disable_lost_mode_request_builder.go b/devicemanagement/comanaged_devices_item_disable_lost_mode_request_builder.go index 7e9ebdc642a..cba74f45e66 100644 --- a/devicemanagement/comanaged_devices_item_disable_lost_mode_request_builder.go +++ b/devicemanagement/comanaged_devices_item_disable_lost_mode_request_builder.go @@ -58,3 +58,7 @@ func (m *ComanagedDevicesItemDisableLostModeRequestBuilder) ToPostRequestInforma } 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 *ComanagedDevicesItemDisableLostModeRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemDisableLostModeRequestBuilder) { + return NewComanagedDevicesItemDisableLostModeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_disable_request_builder.go b/devicemanagement/comanaged_devices_item_disable_request_builder.go index 978c707d5c1..f7eed92365d 100644 --- a/devicemanagement/comanaged_devices_item_disable_request_builder.go +++ b/devicemanagement/comanaged_devices_item_disable_request_builder.go @@ -58,3 +58,7 @@ func (m *ComanagedDevicesItemDisableRequestBuilder) 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 *ComanagedDevicesItemDisableRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemDisableRequestBuilder) { + return NewComanagedDevicesItemDisableRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_enable_lost_mode_request_builder.go b/devicemanagement/comanaged_devices_item_enable_lost_mode_request_builder.go index d1016c157d3..a0ba828e7c7 100644 --- a/devicemanagement/comanaged_devices_item_enable_lost_mode_request_builder.go +++ b/devicemanagement/comanaged_devices_item_enable_lost_mode_request_builder.go @@ -62,3 +62,7 @@ func (m *ComanagedDevicesItemEnableLostModeRequestBuilder) ToPostRequestInformat } 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 *ComanagedDevicesItemEnableLostModeRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemEnableLostModeRequestBuilder) { + return NewComanagedDevicesItemEnableLostModeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_enroll_now_action_request_builder.go b/devicemanagement/comanaged_devices_item_enroll_now_action_request_builder.go index 77ad7581724..e40d58cd8e0 100644 --- a/devicemanagement/comanaged_devices_item_enroll_now_action_request_builder.go +++ b/devicemanagement/comanaged_devices_item_enroll_now_action_request_builder.go @@ -58,3 +58,7 @@ func (m *ComanagedDevicesItemEnrollNowActionRequestBuilder) ToPostRequestInforma } 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 *ComanagedDevicesItemEnrollNowActionRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemEnrollNowActionRequestBuilder) { + return NewComanagedDevicesItemEnrollNowActionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_get_cloud_pc_remote_action_results_request_builder.go b/devicemanagement/comanaged_devices_item_get_cloud_pc_remote_action_results_request_builder.go index d55ff75a681..092cc81aea9 100644 --- a/devicemanagement/comanaged_devices_item_get_cloud_pc_remote_action_results_request_builder.go +++ b/devicemanagement/comanaged_devices_item_get_cloud_pc_remote_action_results_request_builder.go @@ -80,3 +80,7 @@ func (m *ComanagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) ToGetR } 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 *ComanagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) { + return NewComanagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_get_cloud_pc_review_status_request_builder.go b/devicemanagement/comanaged_devices_item_get_cloud_pc_review_status_request_builder.go index b59567e6ea8..968fb3b910e 100644 --- a/devicemanagement/comanaged_devices_item_get_cloud_pc_review_status_request_builder.go +++ b/devicemanagement/comanaged_devices_item_get_cloud_pc_review_status_request_builder.go @@ -63,3 +63,7 @@ func (m *ComanagedDevicesItemGetCloudPcReviewStatusRequestBuilder) ToGetRequestI } 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 *ComanagedDevicesItemGetCloudPcReviewStatusRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemGetCloudPcReviewStatusRequestBuilder) { + return NewComanagedDevicesItemGetCloudPcReviewStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_get_file_vault_key_request_builder.go b/devicemanagement/comanaged_devices_item_get_file_vault_key_request_builder.go index 4c0ddf1c02e..82348c2a91c 100644 --- a/devicemanagement/comanaged_devices_item_get_file_vault_key_request_builder.go +++ b/devicemanagement/comanaged_devices_item_get_file_vault_key_request_builder.go @@ -62,3 +62,7 @@ func (m *ComanagedDevicesItemGetFileVaultKeyRequestBuilder) ToGetRequestInformat } 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 *ComanagedDevicesItemGetFileVaultKeyRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemGetFileVaultKeyRequestBuilder) { + return NewComanagedDevicesItemGetFileVaultKeyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_get_non_compliant_settings_request_builder.go b/devicemanagement/comanaged_devices_item_get_non_compliant_settings_request_builder.go index 54922a8ccfa..1a03a4ed9a3 100644 --- a/devicemanagement/comanaged_devices_item_get_non_compliant_settings_request_builder.go +++ b/devicemanagement/comanaged_devices_item_get_non_compliant_settings_request_builder.go @@ -80,3 +80,7 @@ func (m *ComanagedDevicesItemGetNonCompliantSettingsRequestBuilder) ToGetRequest } 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 *ComanagedDevicesItemGetNonCompliantSettingsRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemGetNonCompliantSettingsRequestBuilder) { + return NewComanagedDevicesItemGetNonCompliantSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go b/devicemanagement/comanaged_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go index 4bd823c212a..c35818e0b36 100644 --- a/devicemanagement/comanaged_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go +++ b/devicemanagement/comanaged_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go @@ -58,3 +58,7 @@ func (m *ComanagedDevicesItemInitiateMobileDeviceManagementKeyRecoveryRequestBui } 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 *ComanagedDevicesItemInitiateMobileDeviceManagementKeyRecoveryRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemInitiateMobileDeviceManagementKeyRecoveryRequestBuilder) { + return NewComanagedDevicesItemInitiateMobileDeviceManagementKeyRecoveryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_initiate_on_demand_proactive_remediation_request_builder.go b/devicemanagement/comanaged_devices_item_initiate_on_demand_proactive_remediation_request_builder.go index d4b41bc9007..cb7309f3d83 100644 --- a/devicemanagement/comanaged_devices_item_initiate_on_demand_proactive_remediation_request_builder.go +++ b/devicemanagement/comanaged_devices_item_initiate_on_demand_proactive_remediation_request_builder.go @@ -62,3 +62,7 @@ func (m *ComanagedDevicesItemInitiateOnDemandProactiveRemediationRequestBuilder) } 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 *ComanagedDevicesItemInitiateOnDemandProactiveRemediationRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemInitiateOnDemandProactiveRemediationRequestBuilder) { + return NewComanagedDevicesItemInitiateOnDemandProactiveRemediationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_locate_device_request_builder.go b/devicemanagement/comanaged_devices_item_locate_device_request_builder.go index f937fa4059f..163a221bc7c 100644 --- a/devicemanagement/comanaged_devices_item_locate_device_request_builder.go +++ b/devicemanagement/comanaged_devices_item_locate_device_request_builder.go @@ -58,3 +58,7 @@ func (m *ComanagedDevicesItemLocateDeviceRequestBuilder) ToPostRequestInformatio } 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 *ComanagedDevicesItemLocateDeviceRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemLocateDeviceRequestBuilder) { + return NewComanagedDevicesItemLocateDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_log_collection_requests_count_request_builder.go b/devicemanagement/comanaged_devices_item_log_collection_requests_count_request_builder.go index d1c639d052d..e55d71655ce 100644 --- a/devicemanagement/comanaged_devices_item_log_collection_requests_count_request_builder.go +++ b/devicemanagement/comanaged_devices_item_log_collection_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ComanagedDevicesItemLogCollectionRequestsCountRequestBuilder) ToGetRequ } 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 *ComanagedDevicesItemLogCollectionRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemLogCollectionRequestsCountRequestBuilder) { + return NewComanagedDevicesItemLogCollectionRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go b/devicemanagement/comanaged_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go index 28002ca2585..303869afcb9 100644 --- a/devicemanagement/comanaged_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go +++ b/devicemanagement/comanaged_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ComanagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseIte } 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 *ComanagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseItemRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseItemRequestBuilder) { + return NewComanagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_log_collection_requests_item_create_download_url_request_builder.go b/devicemanagement/comanaged_devices_item_log_collection_requests_item_create_download_url_request_builder.go index 7335e139b2b..1d8c4a81163 100644 --- a/devicemanagement/comanaged_devices_item_log_collection_requests_item_create_download_url_request_builder.go +++ b/devicemanagement/comanaged_devices_item_log_collection_requests_item_create_download_url_request_builder.go @@ -62,3 +62,7 @@ func (m *ComanagedDevicesItemLogCollectionRequestsItemCreateDownloadUrlRequestBu } 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 *ComanagedDevicesItemLogCollectionRequestsItemCreateDownloadUrlRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemLogCollectionRequestsItemCreateDownloadUrlRequestBuilder) { + return NewComanagedDevicesItemLogCollectionRequestsItemCreateDownloadUrlRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_log_collection_requests_request_builder.go b/devicemanagement/comanaged_devices_item_log_collection_requests_request_builder.go index 81e03b17b84..9517f6ce5ff 100644 --- a/devicemanagement/comanaged_devices_item_log_collection_requests_request_builder.go +++ b/devicemanagement/comanaged_devices_item_log_collection_requests_request_builder.go @@ -46,8 +46,8 @@ type ComanagedDevicesItemLogCollectionRequestsRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceLogCollectionResponseIdString provides operations to manage the logCollectionRequests property of the microsoft.graph.managedDevice entity. -func (m *ComanagedDevicesItemLogCollectionRequestsRequestBuilder) ByDeviceLogCollectionResponseIdString(deviceLogCollectionResponseId string)(*ComanagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseItemRequestBuilder) { +// ByDeviceLogCollectionResponseId provides operations to manage the logCollectionRequests property of the microsoft.graph.managedDevice entity. +func (m *ComanagedDevicesItemLogCollectionRequestsRequestBuilder) ByDeviceLogCollectionResponseId(deviceLogCollectionResponseId string)(*ComanagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ComanagedDevicesItemLogCollectionRequestsRequestBuilder) ToPostRequestI } 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 *ComanagedDevicesItemLogCollectionRequestsRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemLogCollectionRequestsRequestBuilder) { + return NewComanagedDevicesItemLogCollectionRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_logout_shared_apple_device_active_user_request_builder.go b/devicemanagement/comanaged_devices_item_logout_shared_apple_device_active_user_request_builder.go index c2ea84881e9..b0bb8777c79 100644 --- a/devicemanagement/comanaged_devices_item_logout_shared_apple_device_active_user_request_builder.go +++ b/devicemanagement/comanaged_devices_item_logout_shared_apple_device_active_user_request_builder.go @@ -58,3 +58,7 @@ func (m *ComanagedDevicesItemLogoutSharedAppleDeviceActiveUserRequestBuilder) To } 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 *ComanagedDevicesItemLogoutSharedAppleDeviceActiveUserRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemLogoutSharedAppleDeviceActiveUserRequestBuilder) { + return NewComanagedDevicesItemLogoutSharedAppleDeviceActiveUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_managed_device_mobile_app_configuration_states_count_request_builder.go b/devicemanagement/comanaged_devices_item_managed_device_mobile_app_configuration_states_count_request_builder.go index 6102be7dc41..a4f13ea5b5e 100644 --- a/devicemanagement/comanaged_devices_item_managed_device_mobile_app_configuration_states_count_request_builder.go +++ b/devicemanagement/comanaged_devices_item_managed_device_mobile_app_configuration_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ComanagedDevicesItemManagedDeviceMobileAppConfigurationStatesCountReque } 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 *ComanagedDevicesItemManagedDeviceMobileAppConfigurationStatesCountRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemManagedDeviceMobileAppConfigurationStatesCountRequestBuilder) { + return NewComanagedDevicesItemManagedDeviceMobileAppConfigurationStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go b/devicemanagement/comanaged_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go index f934b3d8260..8a038bb4ba7 100644 --- a/devicemanagement/comanaged_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go +++ b/devicemanagement/comanaged_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ComanagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDev } 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 *ComanagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDeviceMobileAppConfigurationStateItemRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDeviceMobileAppConfigurationStateItemRequestBuilder) { + return NewComanagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDeviceMobileAppConfigurationStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_managed_device_mobile_app_configuration_states_request_builder.go b/devicemanagement/comanaged_devices_item_managed_device_mobile_app_configuration_states_request_builder.go index 4a6158db86d..a90a4df6f78 100644 --- a/devicemanagement/comanaged_devices_item_managed_device_mobile_app_configuration_states_request_builder.go +++ b/devicemanagement/comanaged_devices_item_managed_device_mobile_app_configuration_states_request_builder.go @@ -46,8 +46,8 @@ type ComanagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedDeviceMobileAppConfigurationStateIdString provides operations to manage the managedDeviceMobileAppConfigurationStates property of the microsoft.graph.managedDevice entity. -func (m *ComanagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBuilder) ByManagedDeviceMobileAppConfigurationStateIdString(managedDeviceMobileAppConfigurationStateId string)(*ComanagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDeviceMobileAppConfigurationStateItemRequestBuilder) { +// ByManagedDeviceMobileAppConfigurationStateId provides operations to manage the managedDeviceMobileAppConfigurationStates property of the microsoft.graph.managedDevice entity. +func (m *ComanagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBuilder) ByManagedDeviceMobileAppConfigurationStateId(managedDeviceMobileAppConfigurationStateId string)(*ComanagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDeviceMobileAppConfigurationStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ComanagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBui } 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 *ComanagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBuilder) { + return NewComanagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_override_compliance_state_request_builder.go b/devicemanagement/comanaged_devices_item_override_compliance_state_request_builder.go index a3f722c63fb..c41a67ab68f 100644 --- a/devicemanagement/comanaged_devices_item_override_compliance_state_request_builder.go +++ b/devicemanagement/comanaged_devices_item_override_compliance_state_request_builder.go @@ -62,3 +62,7 @@ func (m *ComanagedDevicesItemOverrideComplianceStateRequestBuilder) ToPostReques } 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 *ComanagedDevicesItemOverrideComplianceStateRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemOverrideComplianceStateRequestBuilder) { + return NewComanagedDevicesItemOverrideComplianceStateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_play_lost_mode_sound_request_builder.go b/devicemanagement/comanaged_devices_item_play_lost_mode_sound_request_builder.go index 75f79abe42d..e60792e5972 100644 --- a/devicemanagement/comanaged_devices_item_play_lost_mode_sound_request_builder.go +++ b/devicemanagement/comanaged_devices_item_play_lost_mode_sound_request_builder.go @@ -62,3 +62,7 @@ func (m *ComanagedDevicesItemPlayLostModeSoundRequestBuilder) ToPostRequestInfor } 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 *ComanagedDevicesItemPlayLostModeSoundRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemPlayLostModeSoundRequestBuilder) { + return NewComanagedDevicesItemPlayLostModeSoundRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_reboot_now_request_builder.go b/devicemanagement/comanaged_devices_item_reboot_now_request_builder.go index 294ceae6f70..ad16c7fcf7e 100644 --- a/devicemanagement/comanaged_devices_item_reboot_now_request_builder.go +++ b/devicemanagement/comanaged_devices_item_reboot_now_request_builder.go @@ -58,3 +58,7 @@ func (m *ComanagedDevicesItemRebootNowRequestBuilder) ToPostRequestInformation(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 *ComanagedDevicesItemRebootNowRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemRebootNowRequestBuilder) { + return NewComanagedDevicesItemRebootNowRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_recover_passcode_request_builder.go b/devicemanagement/comanaged_devices_item_recover_passcode_request_builder.go index 6076f8ce24e..b7c89392456 100644 --- a/devicemanagement/comanaged_devices_item_recover_passcode_request_builder.go +++ b/devicemanagement/comanaged_devices_item_recover_passcode_request_builder.go @@ -58,3 +58,7 @@ func (m *ComanagedDevicesItemRecoverPasscodeRequestBuilder) ToPostRequestInforma } 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 *ComanagedDevicesItemRecoverPasscodeRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemRecoverPasscodeRequestBuilder) { + return NewComanagedDevicesItemRecoverPasscodeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_reenable_request_builder.go b/devicemanagement/comanaged_devices_item_reenable_request_builder.go index 581373b746a..fc15dc37e12 100644 --- a/devicemanagement/comanaged_devices_item_reenable_request_builder.go +++ b/devicemanagement/comanaged_devices_item_reenable_request_builder.go @@ -58,3 +58,7 @@ func (m *ComanagedDevicesItemReenableRequestBuilder) 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 *ComanagedDevicesItemReenableRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemReenableRequestBuilder) { + return NewComanagedDevicesItemReenableRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_remote_lock_request_builder.go b/devicemanagement/comanaged_devices_item_remote_lock_request_builder.go index 229da3919b9..9c6ced35ca3 100644 --- a/devicemanagement/comanaged_devices_item_remote_lock_request_builder.go +++ b/devicemanagement/comanaged_devices_item_remote_lock_request_builder.go @@ -58,3 +58,7 @@ func (m *ComanagedDevicesItemRemoteLockRequestBuilder) 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 *ComanagedDevicesItemRemoteLockRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemRemoteLockRequestBuilder) { + return NewComanagedDevicesItemRemoteLockRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go b/devicemanagement/comanaged_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go index a50f268cf30..1631ecc7828 100644 --- a/devicemanagement/comanaged_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go +++ b/devicemanagement/comanaged_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go @@ -58,3 +58,7 @@ func (m *ComanagedDevicesItemRemoveDeviceFirmwareConfigurationInterfaceManagemen } 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 *ComanagedDevicesItemRemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemRemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder) { + return NewComanagedDevicesItemRemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_reprovision_cloud_pc_request_builder.go b/devicemanagement/comanaged_devices_item_reprovision_cloud_pc_request_builder.go index 7d2488a03ed..e25366b39a0 100644 --- a/devicemanagement/comanaged_devices_item_reprovision_cloud_pc_request_builder.go +++ b/devicemanagement/comanaged_devices_item_reprovision_cloud_pc_request_builder.go @@ -63,3 +63,8 @@ func (m *ComanagedDevicesItemReprovisionCloudPcRequestBuilder) ToPostRequestInfo } 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. +// Deprecated: The reprovisionCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use reprovision instead as of 2023-07/reprovisionCloudPc on 2023-07-17 and will be removed 2023-09-30 +func (m *ComanagedDevicesItemReprovisionCloudPcRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemReprovisionCloudPcRequestBuilder) { + return NewComanagedDevicesItemReprovisionCloudPcRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_request_remote_assistance_request_builder.go b/devicemanagement/comanaged_devices_item_request_remote_assistance_request_builder.go index 0391048d387..2fa8a5f79e3 100644 --- a/devicemanagement/comanaged_devices_item_request_remote_assistance_request_builder.go +++ b/devicemanagement/comanaged_devices_item_request_remote_assistance_request_builder.go @@ -58,3 +58,7 @@ func (m *ComanagedDevicesItemRequestRemoteAssistanceRequestBuilder) ToPostReques } 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 *ComanagedDevicesItemRequestRemoteAssistanceRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemRequestRemoteAssistanceRequestBuilder) { + return NewComanagedDevicesItemRequestRemoteAssistanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_reset_passcode_request_builder.go b/devicemanagement/comanaged_devices_item_reset_passcode_request_builder.go index 9cfd330783d..d5a695ea7a3 100644 --- a/devicemanagement/comanaged_devices_item_reset_passcode_request_builder.go +++ b/devicemanagement/comanaged_devices_item_reset_passcode_request_builder.go @@ -58,3 +58,7 @@ func (m *ComanagedDevicesItemResetPasscodeRequestBuilder) ToPostRequestInformati } 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 *ComanagedDevicesItemResetPasscodeRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemResetPasscodeRequestBuilder) { + return NewComanagedDevicesItemResetPasscodeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_resize_cloud_pc_request_builder.go b/devicemanagement/comanaged_devices_item_resize_cloud_pc_request_builder.go index 384f8e129ec..d402261a45e 100644 --- a/devicemanagement/comanaged_devices_item_resize_cloud_pc_request_builder.go +++ b/devicemanagement/comanaged_devices_item_resize_cloud_pc_request_builder.go @@ -31,6 +31,7 @@ func NewComanagedDevicesItemResizeCloudPcRequestBuilder(rawUrl string, requestAd return NewComanagedDevicesItemResizeCloudPcRequestBuilderInternal(urlParams, requestAdapter) } // Post upgrade or downgrade an existing Cloud PC to another configuration with a new virtual CPU (vCPU) and storage size. +// Deprecated: The resizeCloudPc API is deprecated and will stop returning on Oct 30, 2023. Please use resize instead as of 2023-05/resizeCloudPc on 2023-07-24 and will be removed 2023-10-30 // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-resizecloudpc?view=graph-rest-1.0 @@ -50,6 +51,7 @@ func (m *ComanagedDevicesItemResizeCloudPcRequestBuilder) Post(ctx context.Conte return nil } // ToPostRequestInformation upgrade or downgrade an existing Cloud PC to another configuration with a new virtual CPU (vCPU) and storage size. +// Deprecated: The resizeCloudPc API is deprecated and will stop returning on Oct 30, 2023. Please use resize instead as of 2023-05/resizeCloudPc on 2023-07-24 and will be removed 2023-10-30 func (m *ComanagedDevicesItemResizeCloudPcRequestBuilder) ToPostRequestInformation(ctx context.Context, body ComanagedDevicesItemResizeCloudPcPostRequestBodyable, requestConfiguration *ComanagedDevicesItemResizeCloudPcRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -65,3 +67,8 @@ func (m *ComanagedDevicesItemResizeCloudPcRequestBuilder) ToPostRequestInformati } 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. +// Deprecated: The resizeCloudPc API is deprecated and will stop returning on Oct 30, 2023. Please use resize instead as of 2023-05/resizeCloudPc on 2023-07-24 and will be removed 2023-10-30 +func (m *ComanagedDevicesItemResizeCloudPcRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemResizeCloudPcRequestBuilder) { + return NewComanagedDevicesItemResizeCloudPcRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_restore_cloud_pc_request_builder.go b/devicemanagement/comanaged_devices_item_restore_cloud_pc_request_builder.go index 9771fb6c0f4..ec079b67a5e 100644 --- a/devicemanagement/comanaged_devices_item_restore_cloud_pc_request_builder.go +++ b/devicemanagement/comanaged_devices_item_restore_cloud_pc_request_builder.go @@ -31,7 +31,7 @@ func NewComanagedDevicesItemRestoreCloudPcRequestBuilder(rawUrl string, requestA return NewComanagedDevicesItemRestoreCloudPcRequestBuilderInternal(urlParams, requestAdapter) } // Post restore a Cloud PC device to a previous state with an Intune managed device ID. -// Deprecated: The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc on 2023-07-17 and will be removed 2023-09-30 +// Deprecated: The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc on 2023-08-22 and will be removed 2023-10-30 // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-restorecloudpc?view=graph-rest-1.0 @@ -51,7 +51,7 @@ func (m *ComanagedDevicesItemRestoreCloudPcRequestBuilder) Post(ctx context.Cont return nil } // ToPostRequestInformation restore a Cloud PC device to a previous state with an Intune managed device ID. -// Deprecated: The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc on 2023-07-17 and will be removed 2023-09-30 +// Deprecated: The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc on 2023-08-22 and will be removed 2023-10-30 func (m *ComanagedDevicesItemRestoreCloudPcRequestBuilder) ToPostRequestInformation(ctx context.Context, body ComanagedDevicesItemRestoreCloudPcPostRequestBodyable, requestConfiguration *ComanagedDevicesItemRestoreCloudPcRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -67,3 +67,8 @@ func (m *ComanagedDevicesItemRestoreCloudPcRequestBuilder) ToPostRequestInformat } 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. +// Deprecated: The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc on 2023-08-22 and will be removed 2023-10-30 +func (m *ComanagedDevicesItemRestoreCloudPcRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemRestoreCloudPcRequestBuilder) { + return NewComanagedDevicesItemRestoreCloudPcRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_retire_request_builder.go b/devicemanagement/comanaged_devices_item_retire_request_builder.go index 270ef36081c..0385c265115 100644 --- a/devicemanagement/comanaged_devices_item_retire_request_builder.go +++ b/devicemanagement/comanaged_devices_item_retire_request_builder.go @@ -58,3 +58,7 @@ func (m *ComanagedDevicesItemRetireRequestBuilder) 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 *ComanagedDevicesItemRetireRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemRetireRequestBuilder) { + return NewComanagedDevicesItemRetireRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_revoke_apple_vpp_licenses_request_builder.go b/devicemanagement/comanaged_devices_item_revoke_apple_vpp_licenses_request_builder.go index dbd3d8af027..93a2c7203d2 100644 --- a/devicemanagement/comanaged_devices_item_revoke_apple_vpp_licenses_request_builder.go +++ b/devicemanagement/comanaged_devices_item_revoke_apple_vpp_licenses_request_builder.go @@ -58,3 +58,7 @@ func (m *ComanagedDevicesItemRevokeAppleVppLicensesRequestBuilder) ToPostRequest } 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 *ComanagedDevicesItemRevokeAppleVppLicensesRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemRevokeAppleVppLicensesRequestBuilder) { + return NewComanagedDevicesItemRevokeAppleVppLicensesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_rotate_bit_locker_keys_request_builder.go b/devicemanagement/comanaged_devices_item_rotate_bit_locker_keys_request_builder.go index 7165f4adab3..0b2d2e5927c 100644 --- a/devicemanagement/comanaged_devices_item_rotate_bit_locker_keys_request_builder.go +++ b/devicemanagement/comanaged_devices_item_rotate_bit_locker_keys_request_builder.go @@ -58,3 +58,7 @@ func (m *ComanagedDevicesItemRotateBitLockerKeysRequestBuilder) ToPostRequestInf } 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 *ComanagedDevicesItemRotateBitLockerKeysRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemRotateBitLockerKeysRequestBuilder) { + return NewComanagedDevicesItemRotateBitLockerKeysRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_rotate_file_vault_key_request_builder.go b/devicemanagement/comanaged_devices_item_rotate_file_vault_key_request_builder.go index c19711b115b..df9ccc13aee 100644 --- a/devicemanagement/comanaged_devices_item_rotate_file_vault_key_request_builder.go +++ b/devicemanagement/comanaged_devices_item_rotate_file_vault_key_request_builder.go @@ -58,3 +58,7 @@ func (m *ComanagedDevicesItemRotateFileVaultKeyRequestBuilder) ToPostRequestInfo } 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 *ComanagedDevicesItemRotateFileVaultKeyRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemRotateFileVaultKeyRequestBuilder) { + return NewComanagedDevicesItemRotateFileVaultKeyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_rotate_local_admin_password_request_builder.go b/devicemanagement/comanaged_devices_item_rotate_local_admin_password_request_builder.go index f89b62d9540..a34dda20729 100644 --- a/devicemanagement/comanaged_devices_item_rotate_local_admin_password_request_builder.go +++ b/devicemanagement/comanaged_devices_item_rotate_local_admin_password_request_builder.go @@ -58,3 +58,7 @@ func (m *ComanagedDevicesItemRotateLocalAdminPasswordRequestBuilder) ToPostReque } 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 *ComanagedDevicesItemRotateLocalAdminPasswordRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemRotateLocalAdminPasswordRequestBuilder) { + return NewComanagedDevicesItemRotateLocalAdminPasswordRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_security_baseline_states_count_request_builder.go b/devicemanagement/comanaged_devices_item_security_baseline_states_count_request_builder.go index 502e2125579..34ffabc8b56 100644 --- a/devicemanagement/comanaged_devices_item_security_baseline_states_count_request_builder.go +++ b/devicemanagement/comanaged_devices_item_security_baseline_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ComanagedDevicesItemSecurityBaselineStatesCountRequestBuilder) ToGetReq } 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 *ComanagedDevicesItemSecurityBaselineStatesCountRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemSecurityBaselineStatesCountRequestBuilder) { + return NewComanagedDevicesItemSecurityBaselineStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_security_baseline_states_item_setting_states_count_request_builder.go b/devicemanagement/comanaged_devices_item_security_baseline_states_item_setting_states_count_request_builder.go index 8a0d59fe9d7..e1a3627681b 100644 --- a/devicemanagement/comanaged_devices_item_security_baseline_states_item_setting_states_count_request_builder.go +++ b/devicemanagement/comanaged_devices_item_security_baseline_states_item_setting_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ComanagedDevicesItemSecurityBaselineStatesItemSettingStatesCountRequest } 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 *ComanagedDevicesItemSecurityBaselineStatesItemSettingStatesCountRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemSecurityBaselineStatesItemSettingStatesCountRequestBuilder) { + return NewComanagedDevicesItemSecurityBaselineStatesItemSettingStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_security_baseline_states_item_setting_states_request_builder.go b/devicemanagement/comanaged_devices_item_security_baseline_states_item_setting_states_request_builder.go index d7f6d062ee0..e8caca8727c 100644 --- a/devicemanagement/comanaged_devices_item_security_baseline_states_item_setting_states_request_builder.go +++ b/devicemanagement/comanaged_devices_item_security_baseline_states_item_setting_states_request_builder.go @@ -46,8 +46,8 @@ type ComanagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuilderPo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySecurityBaselineSettingStateIdString provides operations to manage the settingStates property of the microsoft.graph.securityBaselineState entity. -func (m *ComanagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuilder) BySecurityBaselineSettingStateIdString(securityBaselineSettingStateId string)(*ComanagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBaselineSettingStateItemRequestBuilder) { +// BySecurityBaselineSettingStateId provides operations to manage the settingStates property of the microsoft.graph.securityBaselineState entity. +func (m *ComanagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuilder) BySecurityBaselineSettingStateId(securityBaselineSettingStateId string)(*ComanagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBaselineSettingStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ComanagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuild } 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 *ComanagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuilder) { + return NewComanagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go b/devicemanagement/comanaged_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go index 85330605ccc..f4a308e9b39 100644 --- a/devicemanagement/comanaged_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go +++ b/devicemanagement/comanaged_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ComanagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBase } 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 *ComanagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBaselineSettingStateItemRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBaselineSettingStateItemRequestBuilder) { + return NewComanagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBaselineSettingStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_security_baseline_states_request_builder.go b/devicemanagement/comanaged_devices_item_security_baseline_states_request_builder.go index 6f21cb5a49e..846b20e4fa7 100644 --- a/devicemanagement/comanaged_devices_item_security_baseline_states_request_builder.go +++ b/devicemanagement/comanaged_devices_item_security_baseline_states_request_builder.go @@ -46,8 +46,8 @@ type ComanagedDevicesItemSecurityBaselineStatesRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySecurityBaselineStateIdString provides operations to manage the securityBaselineStates property of the microsoft.graph.managedDevice entity. -func (m *ComanagedDevicesItemSecurityBaselineStatesRequestBuilder) BySecurityBaselineStateIdString(securityBaselineStateId string)(*ComanagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRequestBuilder) { +// BySecurityBaselineStateId provides operations to manage the securityBaselineStates property of the microsoft.graph.managedDevice entity. +func (m *ComanagedDevicesItemSecurityBaselineStatesRequestBuilder) BySecurityBaselineStateId(securityBaselineStateId string)(*ComanagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ComanagedDevicesItemSecurityBaselineStatesRequestBuilder) ToPostRequest } 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 *ComanagedDevicesItemSecurityBaselineStatesRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemSecurityBaselineStatesRequestBuilder) { + return NewComanagedDevicesItemSecurityBaselineStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go b/devicemanagement/comanaged_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go index 5424de35344..195caf977db 100644 --- a/devicemanagement/comanaged_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go +++ b/devicemanagement/comanaged_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ComanagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRequ } 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 *ComanagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRequestBuilder) { + return NewComanagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_send_custom_notification_to_company_portal_request_builder.go b/devicemanagement/comanaged_devices_item_send_custom_notification_to_company_portal_request_builder.go index 9d8ac43a670..aa505f4e85f 100644 --- a/devicemanagement/comanaged_devices_item_send_custom_notification_to_company_portal_request_builder.go +++ b/devicemanagement/comanaged_devices_item_send_custom_notification_to_company_portal_request_builder.go @@ -62,3 +62,7 @@ func (m *ComanagedDevicesItemSendCustomNotificationToCompanyPortalRequestBuilder } 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 *ComanagedDevicesItemSendCustomNotificationToCompanyPortalRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemSendCustomNotificationToCompanyPortalRequestBuilder) { + return NewComanagedDevicesItemSendCustomNotificationToCompanyPortalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_set_cloud_pc_review_status_request_builder.go b/devicemanagement/comanaged_devices_item_set_cloud_pc_review_status_request_builder.go index 3616ecfc9ba..95bd9a1df39 100644 --- a/devicemanagement/comanaged_devices_item_set_cloud_pc_review_status_request_builder.go +++ b/devicemanagement/comanaged_devices_item_set_cloud_pc_review_status_request_builder.go @@ -65,3 +65,7 @@ func (m *ComanagedDevicesItemSetCloudPcReviewStatusRequestBuilder) ToPostRequest } 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 *ComanagedDevicesItemSetCloudPcReviewStatusRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemSetCloudPcReviewStatusRequestBuilder) { + return NewComanagedDevicesItemSetCloudPcReviewStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_set_device_name_request_builder.go b/devicemanagement/comanaged_devices_item_set_device_name_request_builder.go index e90dacddd1f..aaaad1f2443 100644 --- a/devicemanagement/comanaged_devices_item_set_device_name_request_builder.go +++ b/devicemanagement/comanaged_devices_item_set_device_name_request_builder.go @@ -62,3 +62,7 @@ func (m *ComanagedDevicesItemSetDeviceNameRequestBuilder) ToPostRequestInformati } 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 *ComanagedDevicesItemSetDeviceNameRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemSetDeviceNameRequestBuilder) { + return NewComanagedDevicesItemSetDeviceNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_shut_down_request_builder.go b/devicemanagement/comanaged_devices_item_shut_down_request_builder.go index 55a6a57366e..16836f08745 100644 --- a/devicemanagement/comanaged_devices_item_shut_down_request_builder.go +++ b/devicemanagement/comanaged_devices_item_shut_down_request_builder.go @@ -58,3 +58,7 @@ func (m *ComanagedDevicesItemShutDownRequestBuilder) 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 *ComanagedDevicesItemShutDownRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemShutDownRequestBuilder) { + return NewComanagedDevicesItemShutDownRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_sync_device_request_builder.go b/devicemanagement/comanaged_devices_item_sync_device_request_builder.go index 27e6e0c8876..402f499a77f 100644 --- a/devicemanagement/comanaged_devices_item_sync_device_request_builder.go +++ b/devicemanagement/comanaged_devices_item_sync_device_request_builder.go @@ -58,3 +58,7 @@ func (m *ComanagedDevicesItemSyncDeviceRequestBuilder) 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 *ComanagedDevicesItemSyncDeviceRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemSyncDeviceRequestBuilder) { + return NewComanagedDevicesItemSyncDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_trigger_configuration_manager_action_request_builder.go b/devicemanagement/comanaged_devices_item_trigger_configuration_manager_action_request_builder.go index a9e19408e29..d4b00c0a9f1 100644 --- a/devicemanagement/comanaged_devices_item_trigger_configuration_manager_action_request_builder.go +++ b/devicemanagement/comanaged_devices_item_trigger_configuration_manager_action_request_builder.go @@ -62,3 +62,7 @@ func (m *ComanagedDevicesItemTriggerConfigurationManagerActionRequestBuilder) To } 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 *ComanagedDevicesItemTriggerConfigurationManagerActionRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemTriggerConfigurationManagerActionRequestBuilder) { + return NewComanagedDevicesItemTriggerConfigurationManagerActionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_update_windows_device_account_request_builder.go b/devicemanagement/comanaged_devices_item_update_windows_device_account_request_builder.go index ce2c9a96db6..95bcfe3cc16 100644 --- a/devicemanagement/comanaged_devices_item_update_windows_device_account_request_builder.go +++ b/devicemanagement/comanaged_devices_item_update_windows_device_account_request_builder.go @@ -62,3 +62,7 @@ func (m *ComanagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder) ToPostReq } 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 *ComanagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder) { + return NewComanagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_users_request_builder.go b/devicemanagement/comanaged_devices_item_users_request_builder.go index 3c56eebc8b8..13bede2f5d1 100644 --- a/devicemanagement/comanaged_devices_item_users_request_builder.go +++ b/devicemanagement/comanaged_devices_item_users_request_builder.go @@ -87,3 +87,7 @@ func (m *ComanagedDevicesItemUsersRequestBuilder) ToGetRequestInformation(ctx co } 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 *ComanagedDevicesItemUsersRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemUsersRequestBuilder) { + return NewComanagedDevicesItemUsersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_windows_defender_scan_request_builder.go b/devicemanagement/comanaged_devices_item_windows_defender_scan_request_builder.go index e89f018cc2a..44155906cd0 100644 --- a/devicemanagement/comanaged_devices_item_windows_defender_scan_request_builder.go +++ b/devicemanagement/comanaged_devices_item_windows_defender_scan_request_builder.go @@ -62,3 +62,7 @@ func (m *ComanagedDevicesItemWindowsDefenderScanRequestBuilder) ToPostRequestInf } 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 *ComanagedDevicesItemWindowsDefenderScanRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemWindowsDefenderScanRequestBuilder) { + return NewComanagedDevicesItemWindowsDefenderScanRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_windows_defender_update_signatures_request_builder.go b/devicemanagement/comanaged_devices_item_windows_defender_update_signatures_request_builder.go index 35ea8938acb..b0f2853ed4f 100644 --- a/devicemanagement/comanaged_devices_item_windows_defender_update_signatures_request_builder.go +++ b/devicemanagement/comanaged_devices_item_windows_defender_update_signatures_request_builder.go @@ -58,3 +58,7 @@ func (m *ComanagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder) ToPo } 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 *ComanagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder) { + return NewComanagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_windows_protection_state_detected_malware_state_count_request_builder.go b/devicemanagement/comanaged_devices_item_windows_protection_state_detected_malware_state_count_request_builder.go index 320534749a4..876543599e6 100644 --- a/devicemanagement/comanaged_devices_item_windows_protection_state_detected_malware_state_count_request_builder.go +++ b/devicemanagement/comanaged_devices_item_windows_protection_state_detected_malware_state_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ComanagedDevicesItemWindowsProtectionStateDetectedMalwareStateCountRequ } 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 *ComanagedDevicesItemWindowsProtectionStateDetectedMalwareStateCountRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemWindowsProtectionStateDetectedMalwareStateCountRequestBuilder) { + return NewComanagedDevicesItemWindowsProtectionStateDetectedMalwareStateCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_windows_protection_state_detected_malware_state_request_builder.go b/devicemanagement/comanaged_devices_item_windows_protection_state_detected_malware_state_request_builder.go index 6b4ff2b17bb..0eb8d85e5eb 100644 --- a/devicemanagement/comanaged_devices_item_windows_protection_state_detected_malware_state_request_builder.go +++ b/devicemanagement/comanaged_devices_item_windows_protection_state_detected_malware_state_request_builder.go @@ -46,8 +46,8 @@ type ComanagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsDeviceMalwareStateIdString provides operations to manage the detectedMalwareState property of the microsoft.graph.windowsProtectionState entity. -func (m *ComanagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBuilder) ByWindowsDeviceMalwareStateIdString(windowsDeviceMalwareStateId string)(*ComanagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDeviceMalwareStateItemRequestBuilder) { +// ByWindowsDeviceMalwareStateId provides operations to manage the detectedMalwareState property of the microsoft.graph.windowsProtectionState entity. +func (m *ComanagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBuilder) ByWindowsDeviceMalwareStateId(windowsDeviceMalwareStateId string)(*ComanagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDeviceMalwareStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ComanagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBu } 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 *ComanagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBuilder) { + return NewComanagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go b/devicemanagement/comanaged_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go index ecfd97f6346..bef77222212 100644 --- a/devicemanagement/comanaged_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go +++ b/devicemanagement/comanaged_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ComanagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDe } 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 *ComanagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDeviceMalwareStateItemRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDeviceMalwareStateItemRequestBuilder) { + return NewComanagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDeviceMalwareStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_windows_protection_state_request_builder.go b/devicemanagement/comanaged_devices_item_windows_protection_state_request_builder.go index 4abeb62f1cf..5de07e66912 100644 --- a/devicemanagement/comanaged_devices_item_windows_protection_state_request_builder.go +++ b/devicemanagement/comanaged_devices_item_windows_protection_state_request_builder.go @@ -157,3 +157,7 @@ func (m *ComanagedDevicesItemWindowsProtectionStateRequestBuilder) ToPatchReques } 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 *ComanagedDevicesItemWindowsProtectionStateRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemWindowsProtectionStateRequestBuilder) { + return NewComanagedDevicesItemWindowsProtectionStateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_item_wipe_request_builder.go b/devicemanagement/comanaged_devices_item_wipe_request_builder.go index 485a3c731c9..f0fb6f094d0 100644 --- a/devicemanagement/comanaged_devices_item_wipe_request_builder.go +++ b/devicemanagement/comanaged_devices_item_wipe_request_builder.go @@ -62,3 +62,7 @@ func (m *ComanagedDevicesItemWipeRequestBuilder) ToPostRequestInformation(ctx co } 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 *ComanagedDevicesItemWipeRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesItemWipeRequestBuilder) { + return NewComanagedDevicesItemWipeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_managed_device_item_request_builder.go b/devicemanagement/comanaged_devices_managed_device_item_request_builder.go index dc8f4676e32..34cc6516b47 100644 --- a/devicemanagement/comanaged_devices_managed_device_item_request_builder.go +++ b/devicemanagement/comanaged_devices_managed_device_item_request_builder.go @@ -377,3 +377,7 @@ func (m *ComanagedDevicesManagedDeviceItemRequestBuilder) WindowsProtectionState func (m *ComanagedDevicesManagedDeviceItemRequestBuilder) Wipe()(*ComanagedDevicesItemWipeRequestBuilder) { return NewComanagedDevicesItemWipeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ComanagedDevicesManagedDeviceItemRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesManagedDeviceItemRequestBuilder) { + return NewComanagedDevicesManagedDeviceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_move_devices_to_o_u_request_builder.go b/devicemanagement/comanaged_devices_move_devices_to_o_u_request_builder.go index 01709dd4dca..38804d16642 100644 --- a/devicemanagement/comanaged_devices_move_devices_to_o_u_request_builder.go +++ b/devicemanagement/comanaged_devices_move_devices_to_o_u_request_builder.go @@ -62,3 +62,7 @@ func (m *ComanagedDevicesMoveDevicesToOURequestBuilder) 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 *ComanagedDevicesMoveDevicesToOURequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesMoveDevicesToOURequestBuilder) { + return NewComanagedDevicesMoveDevicesToOURequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanaged_devices_request_builder.go b/devicemanagement/comanaged_devices_request_builder.go index 0b2ea43966e..f1684cd4ca7 100644 --- a/devicemanagement/comanaged_devices_request_builder.go +++ b/devicemanagement/comanaged_devices_request_builder.go @@ -62,8 +62,8 @@ func (m *ComanagedDevicesRequestBuilder) BulkRestoreCloudPc()(*ComanagedDevicesB func (m *ComanagedDevicesRequestBuilder) BulkSetCloudPcReviewStatus()(*ComanagedDevicesBulkSetCloudPcReviewStatusRequestBuilder) { return NewComanagedDevicesBulkSetCloudPcReviewStatusRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByManagedDeviceIdString provides operations to manage the comanagedDevices property of the microsoft.graph.deviceManagement entity. -func (m *ComanagedDevicesRequestBuilder) ByManagedDeviceIdString(managedDeviceId string)(*ComanagedDevicesManagedDeviceItemRequestBuilder) { +// ByManagedDeviceId provides operations to manage the comanagedDevices property of the microsoft.graph.deviceManagement entity. +func (m *ComanagedDevicesRequestBuilder) ByManagedDeviceId(managedDeviceId string)(*ComanagedDevicesManagedDeviceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -173,3 +173,7 @@ func (m *ComanagedDevicesRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ComanagedDevicesRequestBuilder) WithUrl(rawUrl string)(*ComanagedDevicesRequestBuilder) { + return NewComanagedDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanagement_eligible_devices_comanagement_eligible_device_item_request_builder.go b/devicemanagement/comanagement_eligible_devices_comanagement_eligible_device_item_request_builder.go index 712063b292f..77e0fb4c3e5 100644 --- a/devicemanagement/comanagement_eligible_devices_comanagement_eligible_device_item_request_builder.go +++ b/devicemanagement/comanagement_eligible_devices_comanagement_eligible_device_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ComanagementEligibleDevicesComanagementEligibleDeviceItemRequestBuilder } 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 *ComanagementEligibleDevicesComanagementEligibleDeviceItemRequestBuilder) WithUrl(rawUrl string)(*ComanagementEligibleDevicesComanagementEligibleDeviceItemRequestBuilder) { + return NewComanagementEligibleDevicesComanagementEligibleDeviceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanagement_eligible_devices_count_request_builder.go b/devicemanagement/comanagement_eligible_devices_count_request_builder.go index 708ba59a1a3..37820fc29dc 100644 --- a/devicemanagement/comanagement_eligible_devices_count_request_builder.go +++ b/devicemanagement/comanagement_eligible_devices_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ComanagementEligibleDevicesCountRequestBuilder) 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 *ComanagementEligibleDevicesCountRequestBuilder) WithUrl(rawUrl string)(*ComanagementEligibleDevicesCountRequestBuilder) { + return NewComanagementEligibleDevicesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/comanagement_eligible_devices_request_builder.go b/devicemanagement/comanagement_eligible_devices_request_builder.go index 811a6099184..aec69807504 100644 --- a/devicemanagement/comanagement_eligible_devices_request_builder.go +++ b/devicemanagement/comanagement_eligible_devices_request_builder.go @@ -46,8 +46,8 @@ type ComanagementEligibleDevicesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByComanagementEligibleDeviceIdString provides operations to manage the comanagementEligibleDevices property of the microsoft.graph.deviceManagement entity. -func (m *ComanagementEligibleDevicesRequestBuilder) ByComanagementEligibleDeviceIdString(comanagementEligibleDeviceId string)(*ComanagementEligibleDevicesComanagementEligibleDeviceItemRequestBuilder) { +// ByComanagementEligibleDeviceId provides operations to manage the comanagementEligibleDevices property of the microsoft.graph.deviceManagement entity. +func (m *ComanagementEligibleDevicesRequestBuilder) ByComanagementEligibleDeviceId(comanagementEligibleDeviceId string)(*ComanagementEligibleDevicesComanagementEligibleDeviceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ComanagementEligibleDevicesRequestBuilder) 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 *ComanagementEligibleDevicesRequestBuilder) WithUrl(rawUrl string)(*ComanagementEligibleDevicesRequestBuilder) { + return NewComanagementEligibleDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_categories_count_request_builder.go b/devicemanagement/compliance_categories_count_request_builder.go index 370a8d78686..2fb6d54b300 100644 --- a/devicemanagement/compliance_categories_count_request_builder.go +++ b/devicemanagement/compliance_categories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ComplianceCategoriesCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ComplianceCategoriesCountRequestBuilder) WithUrl(rawUrl string)(*ComplianceCategoriesCountRequestBuilder) { + return NewComplianceCategoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_categories_device_management_configuration_category_item_request_builder.go b/devicemanagement/compliance_categories_device_management_configuration_category_item_request_builder.go index ef1cef7eb33..d8a822e4818 100644 --- a/devicemanagement/compliance_categories_device_management_configuration_category_item_request_builder.go +++ b/devicemanagement/compliance_categories_device_management_configuration_category_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ComplianceCategoriesDeviceManagementConfigurationCategoryItemRequestBui } 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 *ComplianceCategoriesDeviceManagementConfigurationCategoryItemRequestBuilder) WithUrl(rawUrl string)(*ComplianceCategoriesDeviceManagementConfigurationCategoryItemRequestBuilder) { + return NewComplianceCategoriesDeviceManagementConfigurationCategoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_categories_request_builder.go b/devicemanagement/compliance_categories_request_builder.go index a5789dd1960..00e0876b298 100644 --- a/devicemanagement/compliance_categories_request_builder.go +++ b/devicemanagement/compliance_categories_request_builder.go @@ -46,8 +46,8 @@ type ComplianceCategoriesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementConfigurationCategoryIdString provides operations to manage the complianceCategories property of the microsoft.graph.deviceManagement entity. -func (m *ComplianceCategoriesRequestBuilder) ByDeviceManagementConfigurationCategoryIdString(deviceManagementConfigurationCategoryId string)(*ComplianceCategoriesDeviceManagementConfigurationCategoryItemRequestBuilder) { +// ByDeviceManagementConfigurationCategoryId provides operations to manage the complianceCategories property of the microsoft.graph.deviceManagement entity. +func (m *ComplianceCategoriesRequestBuilder) ByDeviceManagementConfigurationCategoryId(deviceManagementConfigurationCategoryId string)(*ComplianceCategoriesDeviceManagementConfigurationCategoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ComplianceCategoriesRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ComplianceCategoriesRequestBuilder) WithUrl(rawUrl string)(*ComplianceCategoriesRequestBuilder) { + return NewComplianceCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_management_partners_compliance_management_partner_item_request_builder.go b/devicemanagement/compliance_management_partners_compliance_management_partner_item_request_builder.go index 98c94faf8ae..79e2c060874 100644 --- a/devicemanagement/compliance_management_partners_compliance_management_partner_item_request_builder.go +++ b/devicemanagement/compliance_management_partners_compliance_management_partner_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuild } 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 *ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilder) WithUrl(rawUrl string)(*ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilder) { + return NewComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_management_partners_count_request_builder.go b/devicemanagement/compliance_management_partners_count_request_builder.go index 9dee035c3e1..d8d955acc79 100644 --- a/devicemanagement/compliance_management_partners_count_request_builder.go +++ b/devicemanagement/compliance_management_partners_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ComplianceManagementPartnersCountRequestBuilder) 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 *ComplianceManagementPartnersCountRequestBuilder) WithUrl(rawUrl string)(*ComplianceManagementPartnersCountRequestBuilder) { + return NewComplianceManagementPartnersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_management_partners_request_builder.go b/devicemanagement/compliance_management_partners_request_builder.go index 41d0ed5e192..f106667903a 100644 --- a/devicemanagement/compliance_management_partners_request_builder.go +++ b/devicemanagement/compliance_management_partners_request_builder.go @@ -46,8 +46,8 @@ type ComplianceManagementPartnersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByComplianceManagementPartnerIdString provides operations to manage the complianceManagementPartners property of the microsoft.graph.deviceManagement entity. -func (m *ComplianceManagementPartnersRequestBuilder) ByComplianceManagementPartnerIdString(complianceManagementPartnerId string)(*ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilder) { +// ByComplianceManagementPartnerId provides operations to manage the complianceManagementPartners property of the microsoft.graph.deviceManagement entity. +func (m *ComplianceManagementPartnersRequestBuilder) ByComplianceManagementPartnerId(complianceManagementPartnerId string)(*ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ComplianceManagementPartnersRequestBuilder) 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 *ComplianceManagementPartnersRequestBuilder) WithUrl(rawUrl string)(*ComplianceManagementPartnersRequestBuilder) { + return NewComplianceManagementPartnersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_policies_count_request_builder.go b/devicemanagement/compliance_policies_count_request_builder.go index 6879f7da1d7..eb97152c2f4 100644 --- a/devicemanagement/compliance_policies_count_request_builder.go +++ b/devicemanagement/compliance_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompliancePoliciesCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *CompliancePoliciesCountRequestBuilder) WithUrl(rawUrl string)(*CompliancePoliciesCountRequestBuilder) { + return NewCompliancePoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_policies_device_management_compliance_policy_item_request_builder.go b/devicemanagement/compliance_policies_device_management_compliance_policy_item_request_builder.go index d4d937300fd..a328f96a30f 100644 --- a/devicemanagement/compliance_policies_device_management_compliance_policy_item_request_builder.go +++ b/devicemanagement/compliance_policies_device_management_compliance_policy_item_request_builder.go @@ -173,3 +173,7 @@ func (m *CompliancePoliciesDeviceManagementCompliancePolicyItemRequestBuilder) T } 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 *CompliancePoliciesDeviceManagementCompliancePolicyItemRequestBuilder) WithUrl(rawUrl string)(*CompliancePoliciesDeviceManagementCompliancePolicyItemRequestBuilder) { + return NewCompliancePoliciesDeviceManagementCompliancePolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_policies_item_assign_request_builder.go b/devicemanagement/compliance_policies_item_assign_request_builder.go index 8094c5f8461..5419f068efd 100644 --- a/devicemanagement/compliance_policies_item_assign_request_builder.go +++ b/devicemanagement/compliance_policies_item_assign_request_builder.go @@ -66,3 +66,7 @@ func (m *CompliancePoliciesItemAssignRequestBuilder) 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 *CompliancePoliciesItemAssignRequestBuilder) WithUrl(rawUrl string)(*CompliancePoliciesItemAssignRequestBuilder) { + return NewCompliancePoliciesItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_policies_item_assignments_count_request_builder.go b/devicemanagement/compliance_policies_item_assignments_count_request_builder.go index 2ce8e21d50d..1f296b87a7f 100644 --- a/devicemanagement/compliance_policies_item_assignments_count_request_builder.go +++ b/devicemanagement/compliance_policies_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompliancePoliciesItemAssignmentsCountRequestBuilder) ToGetRequestInfor } 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 *CompliancePoliciesItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*CompliancePoliciesItemAssignmentsCountRequestBuilder) { + return NewCompliancePoliciesItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go b/devicemanagement/compliance_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go index 732052575fa..c1f7109f696 100644 --- a/devicemanagement/compliance_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go +++ b/devicemanagement/compliance_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *CompliancePoliciesItemAssignmentsDeviceManagementConfigurationPolicyAss } 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 *CompliancePoliciesItemAssignmentsDeviceManagementConfigurationPolicyAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*CompliancePoliciesItemAssignmentsDeviceManagementConfigurationPolicyAssignmentItemRequestBuilder) { + return NewCompliancePoliciesItemAssignmentsDeviceManagementConfigurationPolicyAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_policies_item_assignments_request_builder.go b/devicemanagement/compliance_policies_item_assignments_request_builder.go index eef963f83e2..f9e8fbb3fe0 100644 --- a/devicemanagement/compliance_policies_item_assignments_request_builder.go +++ b/devicemanagement/compliance_policies_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type CompliancePoliciesItemAssignmentsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementConfigurationPolicyAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.deviceManagementCompliancePolicy entity. -func (m *CompliancePoliciesItemAssignmentsRequestBuilder) ByDeviceManagementConfigurationPolicyAssignmentIdString(deviceManagementConfigurationPolicyAssignmentId string)(*CompliancePoliciesItemAssignmentsDeviceManagementConfigurationPolicyAssignmentItemRequestBuilder) { +// ByDeviceManagementConfigurationPolicyAssignmentId provides operations to manage the assignments property of the microsoft.graph.deviceManagementCompliancePolicy entity. +func (m *CompliancePoliciesItemAssignmentsRequestBuilder) ByDeviceManagementConfigurationPolicyAssignmentId(deviceManagementConfigurationPolicyAssignmentId string)(*CompliancePoliciesItemAssignmentsDeviceManagementConfigurationPolicyAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *CompliancePoliciesItemAssignmentsRequestBuilder) ToPostRequestInformati } 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 *CompliancePoliciesItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*CompliancePoliciesItemAssignmentsRequestBuilder) { + return NewCompliancePoliciesItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_count_request_builder.go b/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_count_request_builder.go index cc9f919b423..8881e5af17a 100644 --- a/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_count_request_builder.go +++ b/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompliancePoliciesItemScheduledActionsForRuleCountRequestBuilder) ToGet } 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 *CompliancePoliciesItemScheduledActionsForRuleCountRequestBuilder) WithUrl(rawUrl string)(*CompliancePoliciesItemScheduledActionsForRuleCountRequestBuilder) { + return NewCompliancePoliciesItemScheduledActionsForRuleCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_device_management_compliance_scheduled_action_for_rule_item_request_builder.go b/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_device_management_compliance_scheduled_action_for_rule_item_request_builder.go index 330589971bc..57fd4e626c3 100644 --- a/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_device_management_compliance_scheduled_action_for_rule_item_request_builder.go +++ b/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_device_management_compliance_scheduled_action_for_rule_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompliancePoliciesItemScheduledActionsForRuleDeviceManagementCompliance } 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 *CompliancePoliciesItemScheduledActionsForRuleDeviceManagementComplianceScheduledActionForRuleItemRequestBuilder) WithUrl(rawUrl string)(*CompliancePoliciesItemScheduledActionsForRuleDeviceManagementComplianceScheduledActionForRuleItemRequestBuilder) { + return NewCompliancePoliciesItemScheduledActionsForRuleDeviceManagementComplianceScheduledActionForRuleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_count_request_builder.go b/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_count_request_builder.go index 00c649ceaef..a8112d425b2 100644 --- a/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_count_request_builder.go +++ b/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigu } 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 *CompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*CompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsCountRequestBuilder) { + return NewCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_device_management_compliance_action_item_item_request_builder.go b/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_device_management_compliance_action_item_item_request_builder.go index 3460e212359..cc26c37974d 100644 --- a/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_device_management_compliance_action_item_item_request_builder.go +++ b/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_device_management_compliance_action_item_item_request_builder.go @@ -153,3 +153,7 @@ func (m *CompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigu } 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 *CompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceManagementComplianceActionItemItemRequestBuilder) WithUrl(rawUrl string)(*CompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceManagementComplianceActionItemItemRequestBuilder) { + return NewCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceManagementComplianceActionItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_request_builder.go b/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_request_builder.go index 6c5ed341dde..e629630c403 100644 --- a/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_request_builder.go +++ b/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_request_builder.go @@ -46,8 +46,8 @@ type CompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementComplianceActionItemIdString provides operations to manage the scheduledActionConfigurations property of the microsoft.graph.deviceManagementComplianceScheduledActionForRule entity. -func (m *CompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilder) ByDeviceManagementComplianceActionItemIdString(deviceManagementComplianceActionItemId string)(*CompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceManagementComplianceActionItemItemRequestBuilder) { +// ByDeviceManagementComplianceActionItemId provides operations to manage the scheduledActionConfigurations property of the microsoft.graph.deviceManagementComplianceScheduledActionForRule entity. +func (m *CompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilder) ByDeviceManagementComplianceActionItemId(deviceManagementComplianceActionItemId string)(*CompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceManagementComplianceActionItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *CompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigu } 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 *CompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilder) WithUrl(rawUrl string)(*CompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilder) { + return NewCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_request_builder.go b/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_request_builder.go index 9aef7a9a1f5..85dd688b575 100644 --- a/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_request_builder.go +++ b/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_request_builder.go @@ -46,8 +46,8 @@ type CompliancePoliciesItemScheduledActionsForRuleRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementComplianceScheduledActionForRuleIdString provides operations to manage the scheduledActionsForRule property of the microsoft.graph.deviceManagementCompliancePolicy entity. -func (m *CompliancePoliciesItemScheduledActionsForRuleRequestBuilder) ByDeviceManagementComplianceScheduledActionForRuleIdString(deviceManagementComplianceScheduledActionForRuleId string)(*CompliancePoliciesItemScheduledActionsForRuleDeviceManagementComplianceScheduledActionForRuleItemRequestBuilder) { +// ByDeviceManagementComplianceScheduledActionForRuleId provides operations to manage the scheduledActionsForRule property of the microsoft.graph.deviceManagementCompliancePolicy entity. +func (m *CompliancePoliciesItemScheduledActionsForRuleRequestBuilder) ByDeviceManagementComplianceScheduledActionForRuleId(deviceManagementComplianceScheduledActionForRuleId string)(*CompliancePoliciesItemScheduledActionsForRuleDeviceManagementComplianceScheduledActionForRuleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *CompliancePoliciesItemScheduledActionsForRuleRequestBuilder) ToPostRequ } 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 *CompliancePoliciesItemScheduledActionsForRuleRequestBuilder) WithUrl(rawUrl string)(*CompliancePoliciesItemScheduledActionsForRuleRequestBuilder) { + return NewCompliancePoliciesItemScheduledActionsForRuleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_policies_item_set_scheduled_actions_request_builder.go b/devicemanagement/compliance_policies_item_set_scheduled_actions_request_builder.go index e1c9f1ff348..b685bc24234 100644 --- a/devicemanagement/compliance_policies_item_set_scheduled_actions_request_builder.go +++ b/devicemanagement/compliance_policies_item_set_scheduled_actions_request_builder.go @@ -66,3 +66,7 @@ func (m *CompliancePoliciesItemSetScheduledActionsRequestBuilder) ToPostRequestI } 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 *CompliancePoliciesItemSetScheduledActionsRequestBuilder) WithUrl(rawUrl string)(*CompliancePoliciesItemSetScheduledActionsRequestBuilder) { + return NewCompliancePoliciesItemSetScheduledActionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_policies_item_settings_count_request_builder.go b/devicemanagement/compliance_policies_item_settings_count_request_builder.go index c62b74189c4..b5f2339c382 100644 --- a/devicemanagement/compliance_policies_item_settings_count_request_builder.go +++ b/devicemanagement/compliance_policies_item_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompliancePoliciesItemSettingsCountRequestBuilder) ToGetRequestInformat } 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 *CompliancePoliciesItemSettingsCountRequestBuilder) WithUrl(rawUrl string)(*CompliancePoliciesItemSettingsCountRequestBuilder) { + return NewCompliancePoliciesItemSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_policies_item_settings_device_management_configuration_setting_item_request_builder.go b/devicemanagement/compliance_policies_item_settings_device_management_configuration_setting_item_request_builder.go index 816a7ef0324..4b3d03b47ba 100644 --- a/devicemanagement/compliance_policies_item_settings_device_management_configuration_setting_item_request_builder.go +++ b/devicemanagement/compliance_policies_item_settings_device_management_configuration_setting_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompliancePoliciesItemSettingsDeviceManagementConfigurationSettingItemR } 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 *CompliancePoliciesItemSettingsDeviceManagementConfigurationSettingItemRequestBuilder) WithUrl(rawUrl string)(*CompliancePoliciesItemSettingsDeviceManagementConfigurationSettingItemRequestBuilder) { + return NewCompliancePoliciesItemSettingsDeviceManagementConfigurationSettingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_policies_item_settings_item_setting_definitions_count_request_builder.go b/devicemanagement/compliance_policies_item_settings_item_setting_definitions_count_request_builder.go index a514bec9527..23ede5cc6a5 100644 --- a/devicemanagement/compliance_policies_item_settings_item_setting_definitions_count_request_builder.go +++ b/devicemanagement/compliance_policies_item_settings_item_setting_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompliancePoliciesItemSettingsItemSettingDefinitionsCountRequestBuilder } 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 *CompliancePoliciesItemSettingsItemSettingDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*CompliancePoliciesItemSettingsItemSettingDefinitionsCountRequestBuilder) { + return NewCompliancePoliciesItemSettingsItemSettingDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go b/devicemanagement/compliance_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go index de525806085..52afd8b6f7a 100644 --- a/devicemanagement/compliance_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go +++ b/devicemanagement/compliance_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go @@ -75,3 +75,7 @@ func (m *CompliancePoliciesItemSettingsItemSettingDefinitionsDeviceManagementCon } 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 *CompliancePoliciesItemSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*CompliancePoliciesItemSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { + return NewCompliancePoliciesItemSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_policies_item_settings_item_setting_definitions_request_builder.go b/devicemanagement/compliance_policies_item_settings_item_setting_definitions_request_builder.go index 089abdebe9f..84dd52a5eb0 100644 --- a/devicemanagement/compliance_policies_item_settings_item_setting_definitions_request_builder.go +++ b/devicemanagement/compliance_policies_item_settings_item_setting_definitions_request_builder.go @@ -39,8 +39,8 @@ type CompliancePoliciesItemSettingsItemSettingDefinitionsRequestBuilderGetReques // Request query parameters QueryParameters *CompliancePoliciesItemSettingsItemSettingDefinitionsRequestBuilderGetQueryParameters } -// ByDeviceManagementConfigurationSettingDefinitionIdString provides operations to manage the settingDefinitions property of the microsoft.graph.deviceManagementConfigurationSetting entity. -func (m *CompliancePoliciesItemSettingsItemSettingDefinitionsRequestBuilder) ByDeviceManagementConfigurationSettingDefinitionIdString(deviceManagementConfigurationSettingDefinitionId string)(*CompliancePoliciesItemSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { +// ByDeviceManagementConfigurationSettingDefinitionId provides operations to manage the settingDefinitions property of the microsoft.graph.deviceManagementConfigurationSetting entity. +func (m *CompliancePoliciesItemSettingsItemSettingDefinitionsRequestBuilder) ByDeviceManagementConfigurationSettingDefinitionId(deviceManagementConfigurationSettingDefinitionId string)(*CompliancePoliciesItemSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *CompliancePoliciesItemSettingsItemSettingDefinitionsRequestBuilder) ToG } 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 *CompliancePoliciesItemSettingsItemSettingDefinitionsRequestBuilder) WithUrl(rawUrl string)(*CompliancePoliciesItemSettingsItemSettingDefinitionsRequestBuilder) { + return NewCompliancePoliciesItemSettingsItemSettingDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_policies_item_settings_request_builder.go b/devicemanagement/compliance_policies_item_settings_request_builder.go index c548cf77dc2..3fe57ec5319 100644 --- a/devicemanagement/compliance_policies_item_settings_request_builder.go +++ b/devicemanagement/compliance_policies_item_settings_request_builder.go @@ -46,8 +46,8 @@ type CompliancePoliciesItemSettingsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementConfigurationSettingIdString provides operations to manage the settings property of the microsoft.graph.deviceManagementCompliancePolicy entity. -func (m *CompliancePoliciesItemSettingsRequestBuilder) ByDeviceManagementConfigurationSettingIdString(deviceManagementConfigurationSettingId string)(*CompliancePoliciesItemSettingsDeviceManagementConfigurationSettingItemRequestBuilder) { +// ByDeviceManagementConfigurationSettingId provides operations to manage the settings property of the microsoft.graph.deviceManagementCompliancePolicy entity. +func (m *CompliancePoliciesItemSettingsRequestBuilder) ByDeviceManagementConfigurationSettingId(deviceManagementConfigurationSettingId string)(*CompliancePoliciesItemSettingsDeviceManagementConfigurationSettingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *CompliancePoliciesItemSettingsRequestBuilder) 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 *CompliancePoliciesItemSettingsRequestBuilder) WithUrl(rawUrl string)(*CompliancePoliciesItemSettingsRequestBuilder) { + return NewCompliancePoliciesItemSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_policies_request_builder.go b/devicemanagement/compliance_policies_request_builder.go index 6e0fbc946d5..e0a960c75de 100644 --- a/devicemanagement/compliance_policies_request_builder.go +++ b/devicemanagement/compliance_policies_request_builder.go @@ -46,8 +46,8 @@ type CompliancePoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementCompliancePolicyIdString provides operations to manage the compliancePolicies property of the microsoft.graph.deviceManagement entity. -func (m *CompliancePoliciesRequestBuilder) ByDeviceManagementCompliancePolicyIdString(deviceManagementCompliancePolicyId string)(*CompliancePoliciesDeviceManagementCompliancePolicyItemRequestBuilder) { +// ByDeviceManagementCompliancePolicyId provides operations to manage the compliancePolicies property of the microsoft.graph.deviceManagement entity. +func (m *CompliancePoliciesRequestBuilder) ByDeviceManagementCompliancePolicyId(deviceManagementCompliancePolicyId string)(*CompliancePoliciesDeviceManagementCompliancePolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *CompliancePoliciesRequestBuilder) 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 *CompliancePoliciesRequestBuilder) WithUrl(rawUrl string)(*CompliancePoliciesRequestBuilder) { + return NewCompliancePoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_settings_count_request_builder.go b/devicemanagement/compliance_settings_count_request_builder.go index f489d7f2c50..19cdc04382b 100644 --- a/devicemanagement/compliance_settings_count_request_builder.go +++ b/devicemanagement/compliance_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ComplianceSettingsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ComplianceSettingsCountRequestBuilder) WithUrl(rawUrl string)(*ComplianceSettingsCountRequestBuilder) { + return NewComplianceSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_settings_device_management_configuration_setting_definition_item_request_builder.go b/devicemanagement/compliance_settings_device_management_configuration_setting_definition_item_request_builder.go index 09da5ca5f30..9b70aca51ac 100644 --- a/devicemanagement/compliance_settings_device_management_configuration_setting_definition_item_request_builder.go +++ b/devicemanagement/compliance_settings_device_management_configuration_setting_definition_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ComplianceSettingsDeviceManagementConfigurationSettingDefinitionItemReq } 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 *ComplianceSettingsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ComplianceSettingsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { + return NewComplianceSettingsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/compliance_settings_request_builder.go b/devicemanagement/compliance_settings_request_builder.go index 058eb524366..bd5764f8b57 100644 --- a/devicemanagement/compliance_settings_request_builder.go +++ b/devicemanagement/compliance_settings_request_builder.go @@ -46,8 +46,8 @@ type ComplianceSettingsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementConfigurationSettingDefinitionIdString provides operations to manage the complianceSettings property of the microsoft.graph.deviceManagement entity. -func (m *ComplianceSettingsRequestBuilder) ByDeviceManagementConfigurationSettingDefinitionIdString(deviceManagementConfigurationSettingDefinitionId string)(*ComplianceSettingsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { +// ByDeviceManagementConfigurationSettingDefinitionId provides operations to manage the complianceSettings property of the microsoft.graph.deviceManagement entity. +func (m *ComplianceSettingsRequestBuilder) ByDeviceManagementConfigurationSettingDefinitionId(deviceManagementConfigurationSettingDefinitionId string)(*ComplianceSettingsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ComplianceSettingsRequestBuilder) 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 *ComplianceSettingsRequestBuilder) WithUrl(rawUrl string)(*ComplianceSettingsRequestBuilder) { + return NewComplianceSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/conditional_access_settings_request_builder.go b/devicemanagement/conditional_access_settings_request_builder.go index f992b53d939..7f19b1050b5 100644 --- a/devicemanagement/conditional_access_settings_request_builder.go +++ b/devicemanagement/conditional_access_settings_request_builder.go @@ -153,3 +153,7 @@ func (m *ConditionalAccessSettingsRequestBuilder) ToPatchRequestInformation(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 *ConditionalAccessSettingsRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessSettingsRequestBuilder) { + return NewConditionalAccessSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/config_manager_collections_config_manager_collection_item_request_builder.go b/devicemanagement/config_manager_collections_config_manager_collection_item_request_builder.go index 78698d19ed7..5eaf4f80c22 100644 --- a/devicemanagement/config_manager_collections_config_manager_collection_item_request_builder.go +++ b/devicemanagement/config_manager_collections_config_manager_collection_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ConfigManagerCollectionsConfigManagerCollectionItemRequestBuilder) ToPa } 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 *ConfigManagerCollectionsConfigManagerCollectionItemRequestBuilder) WithUrl(rawUrl string)(*ConfigManagerCollectionsConfigManagerCollectionItemRequestBuilder) { + return NewConfigManagerCollectionsConfigManagerCollectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/config_manager_collections_count_request_builder.go b/devicemanagement/config_manager_collections_count_request_builder.go index a6f7ea7a9b0..d852cf17f90 100644 --- a/devicemanagement/config_manager_collections_count_request_builder.go +++ b/devicemanagement/config_manager_collections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConfigManagerCollectionsCountRequestBuilder) ToGetRequestInformation(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 *ConfigManagerCollectionsCountRequestBuilder) WithUrl(rawUrl string)(*ConfigManagerCollectionsCountRequestBuilder) { + return NewConfigManagerCollectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/config_manager_collections_get_policy_summary_with_policy_id_request_builder.go b/devicemanagement/config_manager_collections_get_policy_summary_with_policy_id_request_builder.go index 2f0ba7c2309..13daaff2315 100644 --- a/devicemanagement/config_manager_collections_get_policy_summary_with_policy_id_request_builder.go +++ b/devicemanagement/config_manager_collections_get_policy_summary_with_policy_id_request_builder.go @@ -66,3 +66,7 @@ func (m *ConfigManagerCollectionsGetPolicySummaryWithPolicyIdRequestBuilder) ToG } 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 *ConfigManagerCollectionsGetPolicySummaryWithPolicyIdRequestBuilder) WithUrl(rawUrl string)(*ConfigManagerCollectionsGetPolicySummaryWithPolicyIdRequestBuilder) { + return NewConfigManagerCollectionsGetPolicySummaryWithPolicyIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/config_manager_collections_request_builder.go b/devicemanagement/config_manager_collections_request_builder.go index 7b120c955f0..b4679dbca0b 100644 --- a/devicemanagement/config_manager_collections_request_builder.go +++ b/devicemanagement/config_manager_collections_request_builder.go @@ -46,8 +46,8 @@ type ConfigManagerCollectionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByConfigManagerCollectionIdString provides operations to manage the configManagerCollections property of the microsoft.graph.deviceManagement entity. -func (m *ConfigManagerCollectionsRequestBuilder) ByConfigManagerCollectionIdString(configManagerCollectionId string)(*ConfigManagerCollectionsConfigManagerCollectionItemRequestBuilder) { +// ByConfigManagerCollectionId provides operations to manage the configManagerCollections property of the microsoft.graph.deviceManagement entity. +func (m *ConfigManagerCollectionsRequestBuilder) ByConfigManagerCollectionId(configManagerCollectionId string)(*ConfigManagerCollectionsConfigManagerCollectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ConfigManagerCollectionsRequestBuilder) ToPostRequestInformation(ctx co } 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 *ConfigManagerCollectionsRequestBuilder) WithUrl(rawUrl string)(*ConfigManagerCollectionsRequestBuilder) { + return NewConfigManagerCollectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_categories_count_request_builder.go b/devicemanagement/configuration_categories_count_request_builder.go index f3306da7742..ef65d3a483d 100644 --- a/devicemanagement/configuration_categories_count_request_builder.go +++ b/devicemanagement/configuration_categories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConfigurationCategoriesCountRequestBuilder) ToGetRequestInformation(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 *ConfigurationCategoriesCountRequestBuilder) WithUrl(rawUrl string)(*ConfigurationCategoriesCountRequestBuilder) { + return NewConfigurationCategoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_categories_device_management_configuration_category_item_request_builder.go b/devicemanagement/configuration_categories_device_management_configuration_category_item_request_builder.go index f38b1856e65..1ea5323433d 100644 --- a/devicemanagement/configuration_categories_device_management_configuration_category_item_request_builder.go +++ b/devicemanagement/configuration_categories_device_management_configuration_category_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ConfigurationCategoriesDeviceManagementConfigurationCategoryItemRequest } 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 *ConfigurationCategoriesDeviceManagementConfigurationCategoryItemRequestBuilder) WithUrl(rawUrl string)(*ConfigurationCategoriesDeviceManagementConfigurationCategoryItemRequestBuilder) { + return NewConfigurationCategoriesDeviceManagementConfigurationCategoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_categories_request_builder.go b/devicemanagement/configuration_categories_request_builder.go index 2c7c35d0ba7..29657af1ad9 100644 --- a/devicemanagement/configuration_categories_request_builder.go +++ b/devicemanagement/configuration_categories_request_builder.go @@ -46,8 +46,8 @@ type ConfigurationCategoriesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementConfigurationCategoryIdString provides operations to manage the configurationCategories property of the microsoft.graph.deviceManagement entity. -func (m *ConfigurationCategoriesRequestBuilder) ByDeviceManagementConfigurationCategoryIdString(deviceManagementConfigurationCategoryId string)(*ConfigurationCategoriesDeviceManagementConfigurationCategoryItemRequestBuilder) { +// ByDeviceManagementConfigurationCategoryId provides operations to manage the configurationCategories property of the microsoft.graph.deviceManagement entity. +func (m *ConfigurationCategoriesRequestBuilder) ByDeviceManagementConfigurationCategoryId(deviceManagementConfigurationCategoryId string)(*ConfigurationCategoriesDeviceManagementConfigurationCategoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ConfigurationCategoriesRequestBuilder) ToPostRequestInformation(ctx con } 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 *ConfigurationCategoriesRequestBuilder) WithUrl(rawUrl string)(*ConfigurationCategoriesRequestBuilder) { + return NewConfigurationCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policies_count_request_builder.go b/devicemanagement/configuration_policies_count_request_builder.go index b1bf1c78921..e6d5b4e51f4 100644 --- a/devicemanagement/configuration_policies_count_request_builder.go +++ b/devicemanagement/configuration_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConfigurationPoliciesCountRequestBuilder) ToGetRequestInformation(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 *ConfigurationPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPoliciesCountRequestBuilder) { + return NewConfigurationPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policies_device_management_configuration_policy_item_request_builder.go b/devicemanagement/configuration_policies_device_management_configuration_policy_item_request_builder.go index e1a1cd0f37f..574339228aa 100644 --- a/devicemanagement/configuration_policies_device_management_configuration_policy_item_request_builder.go +++ b/devicemanagement/configuration_policies_device_management_configuration_policy_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ConfigurationPoliciesDeviceManagementConfigurationPolicyItemRequestBuil } 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 *ConfigurationPoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) { + return NewConfigurationPoliciesDeviceManagementConfigurationPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policies_item_assign_request_builder.go b/devicemanagement/configuration_policies_item_assign_request_builder.go index 622a632d3c3..21f4ddbf19d 100644 --- a/devicemanagement/configuration_policies_item_assign_request_builder.go +++ b/devicemanagement/configuration_policies_item_assign_request_builder.go @@ -66,3 +66,7 @@ func (m *ConfigurationPoliciesItemAssignRequestBuilder) 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 *ConfigurationPoliciesItemAssignRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPoliciesItemAssignRequestBuilder) { + return NewConfigurationPoliciesItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policies_item_assignments_count_request_builder.go b/devicemanagement/configuration_policies_item_assignments_count_request_builder.go index 10e166bf80b..a3e5b0e4a7c 100644 --- a/devicemanagement/configuration_policies_item_assignments_count_request_builder.go +++ b/devicemanagement/configuration_policies_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConfigurationPoliciesItemAssignmentsCountRequestBuilder) ToGetRequestIn } 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 *ConfigurationPoliciesItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPoliciesItemAssignmentsCountRequestBuilder) { + return NewConfigurationPoliciesItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go b/devicemanagement/configuration_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go index b92e468fed1..5246c6fc728 100644 --- a/devicemanagement/configuration_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go +++ b/devicemanagement/configuration_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ConfigurationPoliciesItemAssignmentsDeviceManagementConfigurationPolicy } 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 *ConfigurationPoliciesItemAssignmentsDeviceManagementConfigurationPolicyAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPoliciesItemAssignmentsDeviceManagementConfigurationPolicyAssignmentItemRequestBuilder) { + return NewConfigurationPoliciesItemAssignmentsDeviceManagementConfigurationPolicyAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policies_item_assignments_request_builder.go b/devicemanagement/configuration_policies_item_assignments_request_builder.go index ea303fe7812..7bd30824bca 100644 --- a/devicemanagement/configuration_policies_item_assignments_request_builder.go +++ b/devicemanagement/configuration_policies_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type ConfigurationPoliciesItemAssignmentsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementConfigurationPolicyAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.deviceManagementConfigurationPolicy entity. -func (m *ConfigurationPoliciesItemAssignmentsRequestBuilder) ByDeviceManagementConfigurationPolicyAssignmentIdString(deviceManagementConfigurationPolicyAssignmentId string)(*ConfigurationPoliciesItemAssignmentsDeviceManagementConfigurationPolicyAssignmentItemRequestBuilder) { +// ByDeviceManagementConfigurationPolicyAssignmentId provides operations to manage the assignments property of the microsoft.graph.deviceManagementConfigurationPolicy entity. +func (m *ConfigurationPoliciesItemAssignmentsRequestBuilder) ByDeviceManagementConfigurationPolicyAssignmentId(deviceManagementConfigurationPolicyAssignmentId string)(*ConfigurationPoliciesItemAssignmentsDeviceManagementConfigurationPolicyAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ConfigurationPoliciesItemAssignmentsRequestBuilder) ToPostRequestInform } 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 *ConfigurationPoliciesItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPoliciesItemAssignmentsRequestBuilder) { + return NewConfigurationPoliciesItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policies_item_create_copy_request_builder.go b/devicemanagement/configuration_policies_item_create_copy_request_builder.go index e5ed9eb949a..457a301e8f1 100644 --- a/devicemanagement/configuration_policies_item_create_copy_request_builder.go +++ b/devicemanagement/configuration_policies_item_create_copy_request_builder.go @@ -67,3 +67,7 @@ func (m *ConfigurationPoliciesItemCreateCopyRequestBuilder) ToPostRequestInforma } 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 *ConfigurationPoliciesItemCreateCopyRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPoliciesItemCreateCopyRequestBuilder) { + return NewConfigurationPoliciesItemCreateCopyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policies_item_reorder_request_builder.go b/devicemanagement/configuration_policies_item_reorder_request_builder.go index 620669edaa3..fb3144916e6 100644 --- a/devicemanagement/configuration_policies_item_reorder_request_builder.go +++ b/devicemanagement/configuration_policies_item_reorder_request_builder.go @@ -62,3 +62,7 @@ func (m *ConfigurationPoliciesItemReorderRequestBuilder) ToPostRequestInformatio } 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 *ConfigurationPoliciesItemReorderRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPoliciesItemReorderRequestBuilder) { + return NewConfigurationPoliciesItemReorderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policies_item_settings_count_request_builder.go b/devicemanagement/configuration_policies_item_settings_count_request_builder.go index e614df352ce..7a3ad232a6f 100644 --- a/devicemanagement/configuration_policies_item_settings_count_request_builder.go +++ b/devicemanagement/configuration_policies_item_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConfigurationPoliciesItemSettingsCountRequestBuilder) ToGetRequestInfor } 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 *ConfigurationPoliciesItemSettingsCountRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPoliciesItemSettingsCountRequestBuilder) { + return NewConfigurationPoliciesItemSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policies_item_settings_device_management_configuration_setting_item_request_builder.go b/devicemanagement/configuration_policies_item_settings_device_management_configuration_setting_item_request_builder.go index f94e975d344..3950b3ead4a 100644 --- a/devicemanagement/configuration_policies_item_settings_device_management_configuration_setting_item_request_builder.go +++ b/devicemanagement/configuration_policies_item_settings_device_management_configuration_setting_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ConfigurationPoliciesItemSettingsDeviceManagementConfigurationSettingIt } 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 *ConfigurationPoliciesItemSettingsDeviceManagementConfigurationSettingItemRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPoliciesItemSettingsDeviceManagementConfigurationSettingItemRequestBuilder) { + return NewConfigurationPoliciesItemSettingsDeviceManagementConfigurationSettingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policies_item_settings_item_setting_definitions_count_request_builder.go b/devicemanagement/configuration_policies_item_settings_item_setting_definitions_count_request_builder.go index 41cc9e69e8f..2a5f9c1e264 100644 --- a/devicemanagement/configuration_policies_item_settings_item_setting_definitions_count_request_builder.go +++ b/devicemanagement/configuration_policies_item_settings_item_setting_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConfigurationPoliciesItemSettingsItemSettingDefinitionsCountRequestBuil } 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 *ConfigurationPoliciesItemSettingsItemSettingDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPoliciesItemSettingsItemSettingDefinitionsCountRequestBuilder) { + return NewConfigurationPoliciesItemSettingsItemSettingDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go b/devicemanagement/configuration_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go index 749551c9639..bc4da1c2c0c 100644 --- a/devicemanagement/configuration_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go +++ b/devicemanagement/configuration_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ConfigurationPoliciesItemSettingsItemSettingDefinitionsDeviceManagement } 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 *ConfigurationPoliciesItemSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPoliciesItemSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { + return NewConfigurationPoliciesItemSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policies_item_settings_item_setting_definitions_request_builder.go b/devicemanagement/configuration_policies_item_settings_item_setting_definitions_request_builder.go index 4e7314ce43a..e03bd61e40d 100644 --- a/devicemanagement/configuration_policies_item_settings_item_setting_definitions_request_builder.go +++ b/devicemanagement/configuration_policies_item_settings_item_setting_definitions_request_builder.go @@ -39,8 +39,8 @@ type ConfigurationPoliciesItemSettingsItemSettingDefinitionsRequestBuilderGetReq // Request query parameters QueryParameters *ConfigurationPoliciesItemSettingsItemSettingDefinitionsRequestBuilderGetQueryParameters } -// ByDeviceManagementConfigurationSettingDefinitionIdString provides operations to manage the settingDefinitions property of the microsoft.graph.deviceManagementConfigurationSetting entity. -func (m *ConfigurationPoliciesItemSettingsItemSettingDefinitionsRequestBuilder) ByDeviceManagementConfigurationSettingDefinitionIdString(deviceManagementConfigurationSettingDefinitionId string)(*ConfigurationPoliciesItemSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { +// ByDeviceManagementConfigurationSettingDefinitionId provides operations to manage the settingDefinitions property of the microsoft.graph.deviceManagementConfigurationSetting entity. +func (m *ConfigurationPoliciesItemSettingsItemSettingDefinitionsRequestBuilder) ByDeviceManagementConfigurationSettingDefinitionId(deviceManagementConfigurationSettingDefinitionId string)(*ConfigurationPoliciesItemSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ConfigurationPoliciesItemSettingsItemSettingDefinitionsRequestBuilder) } 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 *ConfigurationPoliciesItemSettingsItemSettingDefinitionsRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPoliciesItemSettingsItemSettingDefinitionsRequestBuilder) { + return NewConfigurationPoliciesItemSettingsItemSettingDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policies_item_settings_request_builder.go b/devicemanagement/configuration_policies_item_settings_request_builder.go index 9064897c9ce..9cf4a9f3d82 100644 --- a/devicemanagement/configuration_policies_item_settings_request_builder.go +++ b/devicemanagement/configuration_policies_item_settings_request_builder.go @@ -46,8 +46,8 @@ type ConfigurationPoliciesItemSettingsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementConfigurationSettingIdString provides operations to manage the settings property of the microsoft.graph.deviceManagementConfigurationPolicy entity. -func (m *ConfigurationPoliciesItemSettingsRequestBuilder) ByDeviceManagementConfigurationSettingIdString(deviceManagementConfigurationSettingId string)(*ConfigurationPoliciesItemSettingsDeviceManagementConfigurationSettingItemRequestBuilder) { +// ByDeviceManagementConfigurationSettingId provides operations to manage the settings property of the microsoft.graph.deviceManagementConfigurationPolicy entity. +func (m *ConfigurationPoliciesItemSettingsRequestBuilder) ByDeviceManagementConfigurationSettingId(deviceManagementConfigurationSettingId string)(*ConfigurationPoliciesItemSettingsDeviceManagementConfigurationSettingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ConfigurationPoliciesItemSettingsRequestBuilder) ToPostRequestInformati } 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 *ConfigurationPoliciesItemSettingsRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPoliciesItemSettingsRequestBuilder) { + return NewConfigurationPoliciesItemSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policies_request_builder.go b/devicemanagement/configuration_policies_request_builder.go index bdbaf0455ab..42ca1ccc430 100644 --- a/devicemanagement/configuration_policies_request_builder.go +++ b/devicemanagement/configuration_policies_request_builder.go @@ -46,8 +46,8 @@ type ConfigurationPoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementConfigurationPolicyIdString provides operations to manage the configurationPolicies property of the microsoft.graph.deviceManagement entity. -func (m *ConfigurationPoliciesRequestBuilder) ByDeviceManagementConfigurationPolicyIdString(deviceManagementConfigurationPolicyId string)(*ConfigurationPoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) { +// ByDeviceManagementConfigurationPolicyId provides operations to manage the configurationPolicies property of the microsoft.graph.deviceManagement entity. +func (m *ConfigurationPoliciesRequestBuilder) ByDeviceManagementConfigurationPolicyId(deviceManagementConfigurationPolicyId string)(*ConfigurationPoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ConfigurationPoliciesRequestBuilder) 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 *ConfigurationPoliciesRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPoliciesRequestBuilder) { + return NewConfigurationPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policy_templates_count_request_builder.go b/devicemanagement/configuration_policy_templates_count_request_builder.go index 8d71ab28858..0b2ef4e23bf 100644 --- a/devicemanagement/configuration_policy_templates_count_request_builder.go +++ b/devicemanagement/configuration_policy_templates_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConfigurationPolicyTemplatesCountRequestBuilder) 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 *ConfigurationPolicyTemplatesCountRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPolicyTemplatesCountRequestBuilder) { + return NewConfigurationPolicyTemplatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policy_templates_device_management_configuration_policy_template_item_request_builder.go b/devicemanagement/configuration_policy_templates_device_management_configuration_policy_template_item_request_builder.go index 77c750bef19..0363065b1da 100644 --- a/devicemanagement/configuration_policy_templates_device_management_configuration_policy_template_item_request_builder.go +++ b/devicemanagement/configuration_policy_templates_device_management_configuration_policy_template_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ConfigurationPolicyTemplatesDeviceManagementConfigurationPolicyTemplate } 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 *ConfigurationPolicyTemplatesDeviceManagementConfigurationPolicyTemplateItemRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPolicyTemplatesDeviceManagementConfigurationPolicyTemplateItemRequestBuilder) { + return NewConfigurationPolicyTemplatesDeviceManagementConfigurationPolicyTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policy_templates_item_setting_templates_count_request_builder.go b/devicemanagement/configuration_policy_templates_item_setting_templates_count_request_builder.go index 8a55ea8ca91..b65d2b50d22 100644 --- a/devicemanagement/configuration_policy_templates_item_setting_templates_count_request_builder.go +++ b/devicemanagement/configuration_policy_templates_item_setting_templates_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConfigurationPolicyTemplatesItemSettingTemplatesCountRequestBuilder) To } 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 *ConfigurationPolicyTemplatesItemSettingTemplatesCountRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPolicyTemplatesItemSettingTemplatesCountRequestBuilder) { + return NewConfigurationPolicyTemplatesItemSettingTemplatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policy_templates_item_setting_templates_device_management_configuration_setting_template_item_request_builder.go b/devicemanagement/configuration_policy_templates_item_setting_templates_device_management_configuration_setting_template_item_request_builder.go index de92e4c0466..e46b08a6dbc 100644 --- a/devicemanagement/configuration_policy_templates_item_setting_templates_device_management_configuration_setting_template_item_request_builder.go +++ b/devicemanagement/configuration_policy_templates_item_setting_templates_device_management_configuration_setting_template_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ConfigurationPolicyTemplatesItemSettingTemplatesDeviceManagementConfigu } 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 *ConfigurationPolicyTemplatesItemSettingTemplatesDeviceManagementConfigurationSettingTemplateItemRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPolicyTemplatesItemSettingTemplatesDeviceManagementConfigurationSettingTemplateItemRequestBuilder) { + return NewConfigurationPolicyTemplatesItemSettingTemplatesDeviceManagementConfigurationSettingTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policy_templates_item_setting_templates_item_setting_definitions_count_request_builder.go b/devicemanagement/configuration_policy_templates_item_setting_templates_item_setting_definitions_count_request_builder.go index d84746a8b59..5138485a397 100644 --- a/devicemanagement/configuration_policy_templates_item_setting_templates_item_setting_definitions_count_request_builder.go +++ b/devicemanagement/configuration_policy_templates_item_setting_templates_item_setting_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConfigurationPolicyTemplatesItemSettingTemplatesItemSettingDefinitionsC } 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 *ConfigurationPolicyTemplatesItemSettingTemplatesItemSettingDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPolicyTemplatesItemSettingTemplatesItemSettingDefinitionsCountRequestBuilder) { + return NewConfigurationPolicyTemplatesItemSettingTemplatesItemSettingDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policy_templates_item_setting_templates_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go b/devicemanagement/configuration_policy_templates_item_setting_templates_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go index 3128a7c9109..9054ab3251b 100644 --- a/devicemanagement/configuration_policy_templates_item_setting_templates_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go +++ b/devicemanagement/configuration_policy_templates_item_setting_templates_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ConfigurationPolicyTemplatesItemSettingTemplatesItemSettingDefinitionsD } 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 *ConfigurationPolicyTemplatesItemSettingTemplatesItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPolicyTemplatesItemSettingTemplatesItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { + return NewConfigurationPolicyTemplatesItemSettingTemplatesItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policy_templates_item_setting_templates_item_setting_definitions_request_builder.go b/devicemanagement/configuration_policy_templates_item_setting_templates_item_setting_definitions_request_builder.go index a44ff122d62..47f682a9e4b 100644 --- a/devicemanagement/configuration_policy_templates_item_setting_templates_item_setting_definitions_request_builder.go +++ b/devicemanagement/configuration_policy_templates_item_setting_templates_item_setting_definitions_request_builder.go @@ -46,8 +46,8 @@ type ConfigurationPolicyTemplatesItemSettingTemplatesItemSettingDefinitionsReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementConfigurationSettingDefinitionIdString provides operations to manage the settingDefinitions property of the microsoft.graph.deviceManagementConfigurationSettingTemplate entity. -func (m *ConfigurationPolicyTemplatesItemSettingTemplatesItemSettingDefinitionsRequestBuilder) ByDeviceManagementConfigurationSettingDefinitionIdString(deviceManagementConfigurationSettingDefinitionId string)(*ConfigurationPolicyTemplatesItemSettingTemplatesItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { +// ByDeviceManagementConfigurationSettingDefinitionId provides operations to manage the settingDefinitions property of the microsoft.graph.deviceManagementConfigurationSettingTemplate entity. +func (m *ConfigurationPolicyTemplatesItemSettingTemplatesItemSettingDefinitionsRequestBuilder) ByDeviceManagementConfigurationSettingDefinitionId(deviceManagementConfigurationSettingDefinitionId string)(*ConfigurationPolicyTemplatesItemSettingTemplatesItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ConfigurationPolicyTemplatesItemSettingTemplatesItemSettingDefinitionsR } 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 *ConfigurationPolicyTemplatesItemSettingTemplatesItemSettingDefinitionsRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPolicyTemplatesItemSettingTemplatesItemSettingDefinitionsRequestBuilder) { + return NewConfigurationPolicyTemplatesItemSettingTemplatesItemSettingDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policy_templates_item_setting_templates_request_builder.go b/devicemanagement/configuration_policy_templates_item_setting_templates_request_builder.go index 4ae4bc22387..4e0d4d805fb 100644 --- a/devicemanagement/configuration_policy_templates_item_setting_templates_request_builder.go +++ b/devicemanagement/configuration_policy_templates_item_setting_templates_request_builder.go @@ -46,8 +46,8 @@ type ConfigurationPolicyTemplatesItemSettingTemplatesRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementConfigurationSettingTemplateIdString provides operations to manage the settingTemplates property of the microsoft.graph.deviceManagementConfigurationPolicyTemplate entity. -func (m *ConfigurationPolicyTemplatesItemSettingTemplatesRequestBuilder) ByDeviceManagementConfigurationSettingTemplateIdString(deviceManagementConfigurationSettingTemplateId string)(*ConfigurationPolicyTemplatesItemSettingTemplatesDeviceManagementConfigurationSettingTemplateItemRequestBuilder) { +// ByDeviceManagementConfigurationSettingTemplateId provides operations to manage the settingTemplates property of the microsoft.graph.deviceManagementConfigurationPolicyTemplate entity. +func (m *ConfigurationPolicyTemplatesItemSettingTemplatesRequestBuilder) ByDeviceManagementConfigurationSettingTemplateId(deviceManagementConfigurationSettingTemplateId string)(*ConfigurationPolicyTemplatesItemSettingTemplatesDeviceManagementConfigurationSettingTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ConfigurationPolicyTemplatesItemSettingTemplatesRequestBuilder) ToPostR } 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 *ConfigurationPolicyTemplatesItemSettingTemplatesRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPolicyTemplatesItemSettingTemplatesRequestBuilder) { + return NewConfigurationPolicyTemplatesItemSettingTemplatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_policy_templates_request_builder.go b/devicemanagement/configuration_policy_templates_request_builder.go index dc88e2a0c11..a77c854a336 100644 --- a/devicemanagement/configuration_policy_templates_request_builder.go +++ b/devicemanagement/configuration_policy_templates_request_builder.go @@ -46,8 +46,8 @@ type ConfigurationPolicyTemplatesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementConfigurationPolicyTemplateIdString provides operations to manage the configurationPolicyTemplates property of the microsoft.graph.deviceManagement entity. -func (m *ConfigurationPolicyTemplatesRequestBuilder) ByDeviceManagementConfigurationPolicyTemplateIdString(deviceManagementConfigurationPolicyTemplateId string)(*ConfigurationPolicyTemplatesDeviceManagementConfigurationPolicyTemplateItemRequestBuilder) { +// ByDeviceManagementConfigurationPolicyTemplateId provides operations to manage the configurationPolicyTemplates property of the microsoft.graph.deviceManagement entity. +func (m *ConfigurationPolicyTemplatesRequestBuilder) ByDeviceManagementConfigurationPolicyTemplateId(deviceManagementConfigurationPolicyTemplateId string)(*ConfigurationPolicyTemplatesDeviceManagementConfigurationPolicyTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ConfigurationPolicyTemplatesRequestBuilder) 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 *ConfigurationPolicyTemplatesRequestBuilder) WithUrl(rawUrl string)(*ConfigurationPolicyTemplatesRequestBuilder) { + return NewConfigurationPolicyTemplatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_settings_count_request_builder.go b/devicemanagement/configuration_settings_count_request_builder.go index ca52c2b6602..07422e88e6b 100644 --- a/devicemanagement/configuration_settings_count_request_builder.go +++ b/devicemanagement/configuration_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConfigurationSettingsCountRequestBuilder) ToGetRequestInformation(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 *ConfigurationSettingsCountRequestBuilder) WithUrl(rawUrl string)(*ConfigurationSettingsCountRequestBuilder) { + return NewConfigurationSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_settings_device_management_configuration_setting_definition_item_request_builder.go b/devicemanagement/configuration_settings_device_management_configuration_setting_definition_item_request_builder.go index ad0271d7733..497938b08a4 100644 --- a/devicemanagement/configuration_settings_device_management_configuration_setting_definition_item_request_builder.go +++ b/devicemanagement/configuration_settings_device_management_configuration_setting_definition_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ConfigurationSettingsDeviceManagementConfigurationSettingDefinitionItem } 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 *ConfigurationSettingsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ConfigurationSettingsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { + return NewConfigurationSettingsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/configuration_settings_request_builder.go b/devicemanagement/configuration_settings_request_builder.go index 288d8b7c0fd..bc4614685ae 100644 --- a/devicemanagement/configuration_settings_request_builder.go +++ b/devicemanagement/configuration_settings_request_builder.go @@ -46,8 +46,8 @@ type ConfigurationSettingsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementConfigurationSettingDefinitionIdString provides operations to manage the configurationSettings property of the microsoft.graph.deviceManagement entity. -func (m *ConfigurationSettingsRequestBuilder) ByDeviceManagementConfigurationSettingDefinitionIdString(deviceManagementConfigurationSettingDefinitionId string)(*ConfigurationSettingsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { +// ByDeviceManagementConfigurationSettingDefinitionId provides operations to manage the configurationSettings property of the microsoft.graph.deviceManagement entity. +func (m *ConfigurationSettingsRequestBuilder) ByDeviceManagementConfigurationSettingDefinitionId(deviceManagementConfigurationSettingDefinitionId string)(*ConfigurationSettingsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ConfigurationSettingsRequestBuilder) 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 *ConfigurationSettingsRequestBuilder) WithUrl(rawUrl string)(*ConfigurationSettingsRequestBuilder) { + return NewConfigurationSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/data_sharing_consents_count_request_builder.go b/devicemanagement/data_sharing_consents_count_request_builder.go index 4297d458d9d..118b95fb992 100644 --- a/devicemanagement/data_sharing_consents_count_request_builder.go +++ b/devicemanagement/data_sharing_consents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DataSharingConsentsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *DataSharingConsentsCountRequestBuilder) WithUrl(rawUrl string)(*DataSharingConsentsCountRequestBuilder) { + return NewDataSharingConsentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/data_sharing_consents_data_sharing_consent_item_request_builder.go b/devicemanagement/data_sharing_consents_data_sharing_consent_item_request_builder.go index c9d8d5ac373..2df91c1bfc5 100644 --- a/devicemanagement/data_sharing_consents_data_sharing_consent_item_request_builder.go +++ b/devicemanagement/data_sharing_consents_data_sharing_consent_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DataSharingConsentsDataSharingConsentItemRequestBuilder) ToPatchRequest } 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 *DataSharingConsentsDataSharingConsentItemRequestBuilder) WithUrl(rawUrl string)(*DataSharingConsentsDataSharingConsentItemRequestBuilder) { + return NewDataSharingConsentsDataSharingConsentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/data_sharing_consents_item_consent_to_data_sharing_request_builder.go b/devicemanagement/data_sharing_consents_item_consent_to_data_sharing_request_builder.go index fd7c4a3f190..05dee52a65d 100644 --- a/devicemanagement/data_sharing_consents_item_consent_to_data_sharing_request_builder.go +++ b/devicemanagement/data_sharing_consents_item_consent_to_data_sharing_request_builder.go @@ -63,3 +63,7 @@ func (m *DataSharingConsentsItemConsentToDataSharingRequestBuilder) ToPostReques } 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 *DataSharingConsentsItemConsentToDataSharingRequestBuilder) WithUrl(rawUrl string)(*DataSharingConsentsItemConsentToDataSharingRequestBuilder) { + return NewDataSharingConsentsItemConsentToDataSharingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/data_sharing_consents_request_builder.go b/devicemanagement/data_sharing_consents_request_builder.go index 5d726142fa1..fc90930b705 100644 --- a/devicemanagement/data_sharing_consents_request_builder.go +++ b/devicemanagement/data_sharing_consents_request_builder.go @@ -46,8 +46,8 @@ type DataSharingConsentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDataSharingConsentIdString provides operations to manage the dataSharingConsents property of the microsoft.graph.deviceManagement entity. -func (m *DataSharingConsentsRequestBuilder) ByDataSharingConsentIdString(dataSharingConsentId string)(*DataSharingConsentsDataSharingConsentItemRequestBuilder) { +// ByDataSharingConsentId provides operations to manage the dataSharingConsents property of the microsoft.graph.deviceManagement entity. +func (m *DataSharingConsentsRequestBuilder) ByDataSharingConsentId(dataSharingConsentId string)(*DataSharingConsentsDataSharingConsentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DataSharingConsentsRequestBuilder) 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 *DataSharingConsentsRequestBuilder) WithUrl(rawUrl string)(*DataSharingConsentsRequestBuilder) { + return NewDataSharingConsentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/dep_onboarding_settings_count_request_builder.go b/devicemanagement/dep_onboarding_settings_count_request_builder.go index 452aa2cf907..c85c521c528 100644 --- a/devicemanagement/dep_onboarding_settings_count_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DepOnboardingSettingsCountRequestBuilder) ToGetRequestInformation(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 *DepOnboardingSettingsCountRequestBuilder) WithUrl(rawUrl string)(*DepOnboardingSettingsCountRequestBuilder) { + return NewDepOnboardingSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/dep_onboarding_settings_dep_onboarding_setting_item_request_builder.go b/devicemanagement/dep_onboarding_settings_dep_onboarding_setting_item_request_builder.go index 96ebfacade9..f4e02682f64 100644 --- a/devicemanagement/dep_onboarding_settings_dep_onboarding_setting_item_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_dep_onboarding_setting_item_request_builder.go @@ -193,3 +193,7 @@ func (m *DepOnboardingSettingsDepOnboardingSettingItemRequestBuilder) UnshareFor func (m *DepOnboardingSettingsDepOnboardingSettingItemRequestBuilder) UploadDepToken()(*DepOnboardingSettingsItemUploadDepTokenRequestBuilder) { return NewDepOnboardingSettingsItemUploadDepTokenRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DepOnboardingSettingsDepOnboardingSettingItemRequestBuilder) WithUrl(rawUrl string)(*DepOnboardingSettingsDepOnboardingSettingItemRequestBuilder) { + return NewDepOnboardingSettingsDepOnboardingSettingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/dep_onboarding_settings_get_expiring_vpp_token_count_with_expiring_before_date_time_request_builder.go b/devicemanagement/dep_onboarding_settings_get_expiring_vpp_token_count_with_expiring_before_date_time_request_builder.go index d613628806f..1731c98b6be 100644 --- a/devicemanagement/dep_onboarding_settings_get_expiring_vpp_token_count_with_expiring_before_date_time_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_get_expiring_vpp_token_count_with_expiring_before_date_time_request_builder.go @@ -65,3 +65,7 @@ func (m *DepOnboardingSettingsGetExpiringVppTokenCountWithExpiringBeforeDateTime } 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 *DepOnboardingSettingsGetExpiringVppTokenCountWithExpiringBeforeDateTimeRequestBuilder) WithUrl(rawUrl string)(*DepOnboardingSettingsGetExpiringVppTokenCountWithExpiringBeforeDateTimeRequestBuilder) { + return NewDepOnboardingSettingsGetExpiringVppTokenCountWithExpiringBeforeDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/dep_onboarding_settings_item_default_ios_enrollment_profile_request_builder.go b/devicemanagement/dep_onboarding_settings_item_default_ios_enrollment_profile_request_builder.go index 8b304310259..6709febb685 100644 --- a/devicemanagement/dep_onboarding_settings_item_default_ios_enrollment_profile_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_default_ios_enrollment_profile_request_builder.go @@ -75,3 +75,7 @@ func (m *DepOnboardingSettingsItemDefaultIosEnrollmentProfileRequestBuilder) ToG } 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 *DepOnboardingSettingsItemDefaultIosEnrollmentProfileRequestBuilder) WithUrl(rawUrl string)(*DepOnboardingSettingsItemDefaultIosEnrollmentProfileRequestBuilder) { + return NewDepOnboardingSettingsItemDefaultIosEnrollmentProfileRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/dep_onboarding_settings_item_default_mac_os_enrollment_profile_request_builder.go b/devicemanagement/dep_onboarding_settings_item_default_mac_os_enrollment_profile_request_builder.go index 0d8fa38c382..8a6d389b933 100644 --- a/devicemanagement/dep_onboarding_settings_item_default_mac_os_enrollment_profile_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_default_mac_os_enrollment_profile_request_builder.go @@ -75,3 +75,7 @@ func (m *DepOnboardingSettingsItemDefaultMacOsEnrollmentProfileRequestBuilder) T } 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 *DepOnboardingSettingsItemDefaultMacOsEnrollmentProfileRequestBuilder) WithUrl(rawUrl string)(*DepOnboardingSettingsItemDefaultMacOsEnrollmentProfileRequestBuilder) { + return NewDepOnboardingSettingsItemDefaultMacOsEnrollmentProfileRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_count_request_builder.go b/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_count_request_builder.go index ddc425e7693..67fd63ced00 100644 --- a/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_count_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DepOnboardingSettingsItemEnrollmentProfilesCountRequestBuilder) ToGetRe } 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 *DepOnboardingSettingsItemEnrollmentProfilesCountRequestBuilder) WithUrl(rawUrl string)(*DepOnboardingSettingsItemEnrollmentProfilesCountRequestBuilder) { + return NewDepOnboardingSettingsItemEnrollmentProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_enrollment_profile_item_request_builder.go b/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_enrollment_profile_item_request_builder.go index f056d435fd8..7e9b45815e2 100644 --- a/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_enrollment_profile_item_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_enrollment_profile_item_request_builder.go @@ -165,3 +165,7 @@ func (m *DepOnboardingSettingsItemEnrollmentProfilesEnrollmentProfileItemRequest func (m *DepOnboardingSettingsItemEnrollmentProfilesEnrollmentProfileItemRequestBuilder) UpdateDeviceProfileAssignment()(*DepOnboardingSettingsItemEnrollmentProfilesItemUpdateDeviceProfileAssignmentRequestBuilder) { return NewDepOnboardingSettingsItemEnrollmentProfilesItemUpdateDeviceProfileAssignmentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DepOnboardingSettingsItemEnrollmentProfilesEnrollmentProfileItemRequestBuilder) WithUrl(rawUrl string)(*DepOnboardingSettingsItemEnrollmentProfilesEnrollmentProfileItemRequestBuilder) { + return NewDepOnboardingSettingsItemEnrollmentProfilesEnrollmentProfileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_export_mobile_config_request_builder.go b/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_export_mobile_config_request_builder.go index bfbe9021de6..8801a7ab291 100644 --- a/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_export_mobile_config_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_export_mobile_config_request_builder.go @@ -62,3 +62,7 @@ func (m *DepOnboardingSettingsItemEnrollmentProfilesItemExportMobileConfigReques } 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 *DepOnboardingSettingsItemEnrollmentProfilesItemExportMobileConfigRequestBuilder) WithUrl(rawUrl string)(*DepOnboardingSettingsItemEnrollmentProfilesItemExportMobileConfigRequestBuilder) { + return NewDepOnboardingSettingsItemEnrollmentProfilesItemExportMobileConfigRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_set_default_profile_request_builder.go b/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_set_default_profile_request_builder.go index 4c0af66b695..b568eec80a7 100644 --- a/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_set_default_profile_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_set_default_profile_request_builder.go @@ -58,3 +58,7 @@ func (m *DepOnboardingSettingsItemEnrollmentProfilesItemSetDefaultProfileRequest } 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 *DepOnboardingSettingsItemEnrollmentProfilesItemSetDefaultProfileRequestBuilder) WithUrl(rawUrl string)(*DepOnboardingSettingsItemEnrollmentProfilesItemSetDefaultProfileRequestBuilder) { + return NewDepOnboardingSettingsItemEnrollmentProfilesItemSetDefaultProfileRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_update_device_profile_assignment_request_builder.go b/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_update_device_profile_assignment_request_builder.go index 9706d987046..c6b7d0061e5 100644 --- a/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_update_device_profile_assignment_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_update_device_profile_assignment_request_builder.go @@ -62,3 +62,7 @@ func (m *DepOnboardingSettingsItemEnrollmentProfilesItemUpdateDeviceProfileAssig } 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 *DepOnboardingSettingsItemEnrollmentProfilesItemUpdateDeviceProfileAssignmentRequestBuilder) WithUrl(rawUrl string)(*DepOnboardingSettingsItemEnrollmentProfilesItemUpdateDeviceProfileAssignmentRequestBuilder) { + return NewDepOnboardingSettingsItemEnrollmentProfilesItemUpdateDeviceProfileAssignmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_request_builder.go b/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_request_builder.go index b511cc2bdd1..23da5b73f78 100644 --- a/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_request_builder.go @@ -46,8 +46,8 @@ type DepOnboardingSettingsItemEnrollmentProfilesRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEnrollmentProfileIdString provides operations to manage the enrollmentProfiles property of the microsoft.graph.depOnboardingSetting entity. -func (m *DepOnboardingSettingsItemEnrollmentProfilesRequestBuilder) ByEnrollmentProfileIdString(enrollmentProfileId string)(*DepOnboardingSettingsItemEnrollmentProfilesEnrollmentProfileItemRequestBuilder) { +// ByEnrollmentProfileId provides operations to manage the enrollmentProfiles property of the microsoft.graph.depOnboardingSetting entity. +func (m *DepOnboardingSettingsItemEnrollmentProfilesRequestBuilder) ByEnrollmentProfileId(enrollmentProfileId string)(*DepOnboardingSettingsItemEnrollmentProfilesEnrollmentProfileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DepOnboardingSettingsItemEnrollmentProfilesRequestBuilder) ToPostReques } 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 *DepOnboardingSettingsItemEnrollmentProfilesRequestBuilder) WithUrl(rawUrl string)(*DepOnboardingSettingsItemEnrollmentProfilesRequestBuilder) { + return NewDepOnboardingSettingsItemEnrollmentProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/dep_onboarding_settings_item_generate_encryption_public_key_request_builder.go b/devicemanagement/dep_onboarding_settings_item_generate_encryption_public_key_request_builder.go index 2ea9c1da256..010b9c8d269 100644 --- a/devicemanagement/dep_onboarding_settings_item_generate_encryption_public_key_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_generate_encryption_public_key_request_builder.go @@ -62,3 +62,7 @@ func (m *DepOnboardingSettingsItemGenerateEncryptionPublicKeyRequestBuilder) 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 *DepOnboardingSettingsItemGenerateEncryptionPublicKeyRequestBuilder) WithUrl(rawUrl string)(*DepOnboardingSettingsItemGenerateEncryptionPublicKeyRequestBuilder) { + return NewDepOnboardingSettingsItemGenerateEncryptionPublicKeyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/dep_onboarding_settings_item_get_encryption_public_key_request_builder.go b/devicemanagement/dep_onboarding_settings_item_get_encryption_public_key_request_builder.go index 7181e9e6ddd..c689a6832fe 100644 --- a/devicemanagement/dep_onboarding_settings_item_get_encryption_public_key_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_get_encryption_public_key_request_builder.go @@ -62,3 +62,7 @@ func (m *DepOnboardingSettingsItemGetEncryptionPublicKeyRequestBuilder) ToGetReq } 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 *DepOnboardingSettingsItemGetEncryptionPublicKeyRequestBuilder) WithUrl(rawUrl string)(*DepOnboardingSettingsItemGetEncryptionPublicKeyRequestBuilder) { + return NewDepOnboardingSettingsItemGetEncryptionPublicKeyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_count_request_builder.go b/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_count_request_builder.go index 65a77ab50bb..232f7d5c68e 100644 --- a/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_count_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DepOnboardingSettingsItemImportedAppleDeviceIdentitiesCountRequestBuild } 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 *DepOnboardingSettingsItemImportedAppleDeviceIdentitiesCountRequestBuilder) WithUrl(rawUrl string)(*DepOnboardingSettingsItemImportedAppleDeviceIdentitiesCountRequestBuilder) { + return NewDepOnboardingSettingsItemImportedAppleDeviceIdentitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_import_apple_device_identity_list_request_builder.go b/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_import_apple_device_identity_list_request_builder.go index 43862bfe8db..3c6995affef 100644 --- a/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_import_apple_device_identity_list_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_import_apple_device_identity_list_request_builder.go @@ -66,3 +66,7 @@ func (m *DepOnboardingSettingsItemImportedAppleDeviceIdentitiesImportAppleDevice } 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 *DepOnboardingSettingsItemImportedAppleDeviceIdentitiesImportAppleDeviceIdentityListRequestBuilder) WithUrl(rawUrl string)(*DepOnboardingSettingsItemImportedAppleDeviceIdentitiesImportAppleDeviceIdentityListRequestBuilder) { + return NewDepOnboardingSettingsItemImportedAppleDeviceIdentitiesImportAppleDeviceIdentityListRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_imported_apple_device_identity_item_request_builder.go b/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_imported_apple_device_identity_item_request_builder.go index 07ca429575e..d353e8f254a 100644 --- a/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_imported_apple_device_identity_item_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_imported_apple_device_identity_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DepOnboardingSettingsItemImportedAppleDeviceIdentitiesImportedAppleDevi } 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 *DepOnboardingSettingsItemImportedAppleDeviceIdentitiesImportedAppleDeviceIdentityItemRequestBuilder) WithUrl(rawUrl string)(*DepOnboardingSettingsItemImportedAppleDeviceIdentitiesImportedAppleDeviceIdentityItemRequestBuilder) { + return NewDepOnboardingSettingsItemImportedAppleDeviceIdentitiesImportedAppleDeviceIdentityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_request_builder.go b/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_request_builder.go index 26038a043b2..24706c25748 100644 --- a/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_request_builder.go @@ -46,8 +46,8 @@ type DepOnboardingSettingsItemImportedAppleDeviceIdentitiesRequestBuilderPostReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByImportedAppleDeviceIdentityIdString provides operations to manage the importedAppleDeviceIdentities property of the microsoft.graph.depOnboardingSetting entity. -func (m *DepOnboardingSettingsItemImportedAppleDeviceIdentitiesRequestBuilder) ByImportedAppleDeviceIdentityIdString(importedAppleDeviceIdentityId string)(*DepOnboardingSettingsItemImportedAppleDeviceIdentitiesImportedAppleDeviceIdentityItemRequestBuilder) { +// ByImportedAppleDeviceIdentityId provides operations to manage the importedAppleDeviceIdentities property of the microsoft.graph.depOnboardingSetting entity. +func (m *DepOnboardingSettingsItemImportedAppleDeviceIdentitiesRequestBuilder) ByImportedAppleDeviceIdentityId(importedAppleDeviceIdentityId string)(*DepOnboardingSettingsItemImportedAppleDeviceIdentitiesImportedAppleDeviceIdentityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *DepOnboardingSettingsItemImportedAppleDeviceIdentitiesRequestBuilder) T } 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 *DepOnboardingSettingsItemImportedAppleDeviceIdentitiesRequestBuilder) WithUrl(rawUrl string)(*DepOnboardingSettingsItemImportedAppleDeviceIdentitiesRequestBuilder) { + return NewDepOnboardingSettingsItemImportedAppleDeviceIdentitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/dep_onboarding_settings_item_share_for_school_data_sync_service_request_builder.go b/devicemanagement/dep_onboarding_settings_item_share_for_school_data_sync_service_request_builder.go index 1cae3f59209..6005df0efa1 100644 --- a/devicemanagement/dep_onboarding_settings_item_share_for_school_data_sync_service_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_share_for_school_data_sync_service_request_builder.go @@ -58,3 +58,7 @@ func (m *DepOnboardingSettingsItemShareForSchoolDataSyncServiceRequestBuilder) T } 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 *DepOnboardingSettingsItemShareForSchoolDataSyncServiceRequestBuilder) WithUrl(rawUrl string)(*DepOnboardingSettingsItemShareForSchoolDataSyncServiceRequestBuilder) { + return NewDepOnboardingSettingsItemShareForSchoolDataSyncServiceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/dep_onboarding_settings_item_sync_with_apple_device_enrollment_program_request_builder.go b/devicemanagement/dep_onboarding_settings_item_sync_with_apple_device_enrollment_program_request_builder.go index 47a65b10cb8..fe838da6a2a 100644 --- a/devicemanagement/dep_onboarding_settings_item_sync_with_apple_device_enrollment_program_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_sync_with_apple_device_enrollment_program_request_builder.go @@ -58,3 +58,7 @@ func (m *DepOnboardingSettingsItemSyncWithAppleDeviceEnrollmentProgramRequestBui } 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 *DepOnboardingSettingsItemSyncWithAppleDeviceEnrollmentProgramRequestBuilder) WithUrl(rawUrl string)(*DepOnboardingSettingsItemSyncWithAppleDeviceEnrollmentProgramRequestBuilder) { + return NewDepOnboardingSettingsItemSyncWithAppleDeviceEnrollmentProgramRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/dep_onboarding_settings_item_unshare_for_school_data_sync_service_request_builder.go b/devicemanagement/dep_onboarding_settings_item_unshare_for_school_data_sync_service_request_builder.go index 82a0c3f8c4e..26688499632 100644 --- a/devicemanagement/dep_onboarding_settings_item_unshare_for_school_data_sync_service_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_unshare_for_school_data_sync_service_request_builder.go @@ -58,3 +58,7 @@ func (m *DepOnboardingSettingsItemUnshareForSchoolDataSyncServiceRequestBuilder) } 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 *DepOnboardingSettingsItemUnshareForSchoolDataSyncServiceRequestBuilder) WithUrl(rawUrl string)(*DepOnboardingSettingsItemUnshareForSchoolDataSyncServiceRequestBuilder) { + return NewDepOnboardingSettingsItemUnshareForSchoolDataSyncServiceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/dep_onboarding_settings_item_upload_dep_token_request_builder.go b/devicemanagement/dep_onboarding_settings_item_upload_dep_token_request_builder.go index a65774220d6..8c4cc107afd 100644 --- a/devicemanagement/dep_onboarding_settings_item_upload_dep_token_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_upload_dep_token_request_builder.go @@ -62,3 +62,7 @@ func (m *DepOnboardingSettingsItemUploadDepTokenRequestBuilder) ToPostRequestInf } 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 *DepOnboardingSettingsItemUploadDepTokenRequestBuilder) WithUrl(rawUrl string)(*DepOnboardingSettingsItemUploadDepTokenRequestBuilder) { + return NewDepOnboardingSettingsItemUploadDepTokenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/dep_onboarding_settings_request_builder.go b/devicemanagement/dep_onboarding_settings_request_builder.go index ce473b65cc2..7d50c4c948a 100644 --- a/devicemanagement/dep_onboarding_settings_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_request_builder.go @@ -46,8 +46,8 @@ type DepOnboardingSettingsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDepOnboardingSettingIdString provides operations to manage the depOnboardingSettings property of the microsoft.graph.deviceManagement entity. -func (m *DepOnboardingSettingsRequestBuilder) ByDepOnboardingSettingIdString(depOnboardingSettingId string)(*DepOnboardingSettingsDepOnboardingSettingItemRequestBuilder) { +// ByDepOnboardingSettingId provides operations to manage the depOnboardingSettings property of the microsoft.graph.deviceManagement entity. +func (m *DepOnboardingSettingsRequestBuilder) ByDepOnboardingSettingId(depOnboardingSettingId string)(*DepOnboardingSettingsDepOnboardingSettingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *DepOnboardingSettingsRequestBuilder) 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 *DepOnboardingSettingsRequestBuilder) WithUrl(rawUrl string)(*DepOnboardingSettingsRequestBuilder) { + return NewDepOnboardingSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/derived_credentials_count_request_builder.go b/devicemanagement/derived_credentials_count_request_builder.go index 2760c244432..dc3b3f07740 100644 --- a/devicemanagement/derived_credentials_count_request_builder.go +++ b/devicemanagement/derived_credentials_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DerivedCredentialsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *DerivedCredentialsCountRequestBuilder) WithUrl(rawUrl string)(*DerivedCredentialsCountRequestBuilder) { + return NewDerivedCredentialsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/derived_credentials_device_management_derived_credential_settings_item_request_builder.go b/devicemanagement/derived_credentials_device_management_derived_credential_settings_item_request_builder.go index 110972117b6..a31b844590f 100644 --- a/devicemanagement/derived_credentials_device_management_derived_credential_settings_item_request_builder.go +++ b/devicemanagement/derived_credentials_device_management_derived_credential_settings_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DerivedCredentialsDeviceManagementDerivedCredentialSettingsItemRequestB } 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 *DerivedCredentialsDeviceManagementDerivedCredentialSettingsItemRequestBuilder) WithUrl(rawUrl string)(*DerivedCredentialsDeviceManagementDerivedCredentialSettingsItemRequestBuilder) { + return NewDerivedCredentialsDeviceManagementDerivedCredentialSettingsItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/derived_credentials_request_builder.go b/devicemanagement/derived_credentials_request_builder.go index 766d8542ca0..f54f1e07070 100644 --- a/devicemanagement/derived_credentials_request_builder.go +++ b/devicemanagement/derived_credentials_request_builder.go @@ -46,8 +46,8 @@ type DerivedCredentialsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementDerivedCredentialSettingsIdString provides operations to manage the derivedCredentials property of the microsoft.graph.deviceManagement entity. -func (m *DerivedCredentialsRequestBuilder) ByDeviceManagementDerivedCredentialSettingsIdString(deviceManagementDerivedCredentialSettingsId string)(*DerivedCredentialsDeviceManagementDerivedCredentialSettingsItemRequestBuilder) { +// ByDeviceManagementDerivedCredentialSettingsId provides operations to manage the derivedCredentials property of the microsoft.graph.deviceManagement entity. +func (m *DerivedCredentialsRequestBuilder) ByDeviceManagementDerivedCredentialSettingsId(deviceManagementDerivedCredentialSettingsId string)(*DerivedCredentialsDeviceManagementDerivedCredentialSettingsItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DerivedCredentialsRequestBuilder) 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 *DerivedCredentialsRequestBuilder) WithUrl(rawUrl string)(*DerivedCredentialsRequestBuilder) { + return NewDerivedCredentialsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/detected_apps_count_request_builder.go b/devicemanagement/detected_apps_count_request_builder.go index 292e9df8e4b..082c44208c9 100644 --- a/devicemanagement/detected_apps_count_request_builder.go +++ b/devicemanagement/detected_apps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DetectedAppsCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *DetectedAppsCountRequestBuilder) WithUrl(rawUrl string)(*DetectedAppsCountRequestBuilder) { + return NewDetectedAppsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/detected_apps_detected_app_item_request_builder.go b/devicemanagement/detected_apps_detected_app_item_request_builder.go index d8cbce5c265..07d669d5162 100644 --- a/devicemanagement/detected_apps_detected_app_item_request_builder.go +++ b/devicemanagement/detected_apps_detected_app_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DetectedAppsDetectedAppItemRequestBuilder) ToPatchRequestInformation(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 *DetectedAppsDetectedAppItemRequestBuilder) WithUrl(rawUrl string)(*DetectedAppsDetectedAppItemRequestBuilder) { + return NewDetectedAppsDetectedAppItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/detected_apps_item_managed_devices_count_request_builder.go b/devicemanagement/detected_apps_item_managed_devices_count_request_builder.go index 817f8fa8c7b..06311562372 100644 --- a/devicemanagement/detected_apps_item_managed_devices_count_request_builder.go +++ b/devicemanagement/detected_apps_item_managed_devices_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DetectedAppsItemManagedDevicesCountRequestBuilder) ToGetRequestInformat } 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 *DetectedAppsItemManagedDevicesCountRequestBuilder) WithUrl(rawUrl string)(*DetectedAppsItemManagedDevicesCountRequestBuilder) { + return NewDetectedAppsItemManagedDevicesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/detected_apps_item_managed_devices_managed_device_item_request_builder.go b/devicemanagement/detected_apps_item_managed_devices_managed_device_item_request_builder.go index f516b30186d..0a8249c3c95 100644 --- a/devicemanagement/detected_apps_item_managed_devices_managed_device_item_request_builder.go +++ b/devicemanagement/detected_apps_item_managed_devices_managed_device_item_request_builder.go @@ -75,3 +75,7 @@ func (m *DetectedAppsItemManagedDevicesManagedDeviceItemRequestBuilder) ToGetReq } 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 *DetectedAppsItemManagedDevicesManagedDeviceItemRequestBuilder) WithUrl(rawUrl string)(*DetectedAppsItemManagedDevicesManagedDeviceItemRequestBuilder) { + return NewDetectedAppsItemManagedDevicesManagedDeviceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/detected_apps_item_managed_devices_request_builder.go b/devicemanagement/detected_apps_item_managed_devices_request_builder.go index 9d027b8de76..72c0a595837 100644 --- a/devicemanagement/detected_apps_item_managed_devices_request_builder.go +++ b/devicemanagement/detected_apps_item_managed_devices_request_builder.go @@ -39,8 +39,8 @@ type DetectedAppsItemManagedDevicesRequestBuilderGetRequestConfiguration struct // Request query parameters QueryParameters *DetectedAppsItemManagedDevicesRequestBuilderGetQueryParameters } -// ByManagedDeviceIdString provides operations to manage the managedDevices property of the microsoft.graph.detectedApp entity. -func (m *DetectedAppsItemManagedDevicesRequestBuilder) ByManagedDeviceIdString(managedDeviceId string)(*DetectedAppsItemManagedDevicesManagedDeviceItemRequestBuilder) { +// ByManagedDeviceId provides operations to manage the managedDevices property of the microsoft.graph.detectedApp entity. +func (m *DetectedAppsItemManagedDevicesRequestBuilder) ByManagedDeviceId(managedDeviceId string)(*DetectedAppsItemManagedDevicesManagedDeviceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *DetectedAppsItemManagedDevicesRequestBuilder) ToGetRequestInformation(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 *DetectedAppsItemManagedDevicesRequestBuilder) WithUrl(rawUrl string)(*DetectedAppsItemManagedDevicesRequestBuilder) { + return NewDetectedAppsItemManagedDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/detected_apps_request_builder.go b/devicemanagement/detected_apps_request_builder.go index 57dd816a434..a2f37d507bf 100644 --- a/devicemanagement/detected_apps_request_builder.go +++ b/devicemanagement/detected_apps_request_builder.go @@ -46,8 +46,8 @@ type DetectedAppsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDetectedAppIdString provides operations to manage the detectedApps property of the microsoft.graph.deviceManagement entity. -func (m *DetectedAppsRequestBuilder) ByDetectedAppIdString(detectedAppId string)(*DetectedAppsDetectedAppItemRequestBuilder) { +// ByDetectedAppId provides operations to manage the detectedApps property of the microsoft.graph.deviceManagement entity. +func (m *DetectedAppsRequestBuilder) ByDetectedAppId(detectedAppId string)(*DetectedAppsDetectedAppItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DetectedAppsRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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 *DetectedAppsRequestBuilder) WithUrl(rawUrl string)(*DetectedAppsRequestBuilder) { + return NewDetectedAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_categories_count_request_builder.go b/devicemanagement/device_categories_count_request_builder.go index 056d8fcdbf5..490a803db78 100644 --- a/devicemanagement/device_categories_count_request_builder.go +++ b/devicemanagement/device_categories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceCategoriesCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *DeviceCategoriesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceCategoriesCountRequestBuilder) { + return NewDeviceCategoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_categories_device_category_item_request_builder.go b/devicemanagement/device_categories_device_category_item_request_builder.go index d8f63cdbdb5..765d12aecef 100644 --- a/devicemanagement/device_categories_device_category_item_request_builder.go +++ b/devicemanagement/device_categories_device_category_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceCategoriesDeviceCategoryItemRequestBuilder) ToPatchRequestInforma } 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 *DeviceCategoriesDeviceCategoryItemRequestBuilder) WithUrl(rawUrl string)(*DeviceCategoriesDeviceCategoryItemRequestBuilder) { + return NewDeviceCategoriesDeviceCategoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_categories_request_builder.go b/devicemanagement/device_categories_request_builder.go index b2290320394..86331749187 100644 --- a/devicemanagement/device_categories_request_builder.go +++ b/devicemanagement/device_categories_request_builder.go @@ -46,8 +46,8 @@ type DeviceCategoriesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceCategoryIdString provides operations to manage the deviceCategories property of the microsoft.graph.deviceManagement entity. -func (m *DeviceCategoriesRequestBuilder) ByDeviceCategoryIdString(deviceCategoryId string)(*DeviceCategoriesDeviceCategoryItemRequestBuilder) { +// ByDeviceCategoryId provides operations to manage the deviceCategories property of the microsoft.graph.deviceManagement entity. +func (m *DeviceCategoriesRequestBuilder) ByDeviceCategoryId(deviceCategoryId string)(*DeviceCategoriesDeviceCategoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceCategoriesRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *DeviceCategoriesRequestBuilder) WithUrl(rawUrl string)(*DeviceCategoriesRequestBuilder) { + return NewDeviceCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_count_request_builder.go b/devicemanagement/device_compliance_policies_count_request_builder.go index 22b6d391870..ed72adb4c12 100644 --- a/devicemanagement/device_compliance_policies_count_request_builder.go +++ b/devicemanagement/device_compliance_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceCompliancePoliciesCountRequestBuilder) ToGetRequestInformation(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 *DeviceCompliancePoliciesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesCountRequestBuilder) { + return NewDeviceCompliancePoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_device_compliance_policy_item_request_builder.go b/devicemanagement/device_compliance_policies_device_compliance_policy_item_request_builder.go index 2b3f4a958af..1f555d33699 100644 --- a/devicemanagement/device_compliance_policies_device_compliance_policy_item_request_builder.go +++ b/devicemanagement/device_compliance_policies_device_compliance_policy_item_request_builder.go @@ -189,3 +189,7 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) UserS func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) UserStatusOverview()(*DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilder) { return NewDeviceCompliancePoliciesItemUserStatusOverviewRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) { + return NewDeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_get_devices_scheduled_to_retire_request_builder.go b/devicemanagement/device_compliance_policies_get_devices_scheduled_to_retire_request_builder.go index cadd3c662e6..99f8b5f7c4e 100644 --- a/devicemanagement/device_compliance_policies_get_devices_scheduled_to_retire_request_builder.go +++ b/devicemanagement/device_compliance_policies_get_devices_scheduled_to_retire_request_builder.go @@ -80,3 +80,7 @@ func (m *DeviceCompliancePoliciesGetDevicesScheduledToRetireRequestBuilder) ToGe } 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 *DeviceCompliancePoliciesGetDevicesScheduledToRetireRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesGetDevicesScheduledToRetireRequestBuilder) { + return NewDeviceCompliancePoliciesGetDevicesScheduledToRetireRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_get_noncompliant_devices_to_retire_request_builder.go b/devicemanagement/device_compliance_policies_get_noncompliant_devices_to_retire_request_builder.go index 5ea76f7c48a..3ce6e3915fe 100644 --- a/devicemanagement/device_compliance_policies_get_noncompliant_devices_to_retire_request_builder.go +++ b/devicemanagement/device_compliance_policies_get_noncompliant_devices_to_retire_request_builder.go @@ -65,3 +65,7 @@ func (m *DeviceCompliancePoliciesGetNoncompliantDevicesToRetireRequestBuilder) T } 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 *DeviceCompliancePoliciesGetNoncompliantDevicesToRetireRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesGetNoncompliantDevicesToRetireRequestBuilder) { + return NewDeviceCompliancePoliciesGetNoncompliantDevicesToRetireRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_has_payload_links_request_builder.go b/devicemanagement/device_compliance_policies_has_payload_links_request_builder.go index 2508c04006e..b54ebf56892 100644 --- a/devicemanagement/device_compliance_policies_has_payload_links_request_builder.go +++ b/devicemanagement/device_compliance_policies_has_payload_links_request_builder.go @@ -66,3 +66,7 @@ func (m *DeviceCompliancePoliciesHasPayloadLinksRequestBuilder) ToPostRequestInf } 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 *DeviceCompliancePoliciesHasPayloadLinksRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesHasPayloadLinksRequestBuilder) { + return NewDeviceCompliancePoliciesHasPayloadLinksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_item_assign_request_builder.go b/devicemanagement/device_compliance_policies_item_assign_request_builder.go index c696b29ad05..465877c7129 100644 --- a/devicemanagement/device_compliance_policies_item_assign_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_assign_request_builder.go @@ -66,3 +66,7 @@ func (m *DeviceCompliancePoliciesItemAssignRequestBuilder) ToPostRequestInformat } 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 *DeviceCompliancePoliciesItemAssignRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesItemAssignRequestBuilder) { + return NewDeviceCompliancePoliciesItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_item_assignments_count_request_builder.go b/devicemanagement/device_compliance_policies_item_assignments_count_request_builder.go index 7cba5f8387d..72a02f1b15c 100644 --- a/devicemanagement/device_compliance_policies_item_assignments_count_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceCompliancePoliciesItemAssignmentsCountRequestBuilder) ToGetReques } 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 *DeviceCompliancePoliciesItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesItemAssignmentsCountRequestBuilder) { + return NewDeviceCompliancePoliciesItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_item_assignments_device_compliance_policy_assignment_item_request_builder.go b/devicemanagement/device_compliance_policies_item_assignments_device_compliance_policy_assignment_item_request_builder.go index ae2f94408a4..84ecc55a499 100644 --- a/devicemanagement/device_compliance_policies_item_assignments_device_compliance_policy_assignment_item_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_assignments_device_compliance_policy_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignment } 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 *DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentItemRequestBuilder) { + return NewDeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_item_assignments_request_builder.go b/devicemanagement/device_compliance_policies_item_assignments_request_builder.go index 578059f0b8a..3dea856eb54 100644 --- a/devicemanagement/device_compliance_policies_item_assignments_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type DeviceCompliancePoliciesItemAssignmentsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceCompliancePolicyAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.deviceCompliancePolicy entity. -func (m *DeviceCompliancePoliciesItemAssignmentsRequestBuilder) ByDeviceCompliancePolicyAssignmentIdString(deviceCompliancePolicyAssignmentId string)(*DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentItemRequestBuilder) { +// ByDeviceCompliancePolicyAssignmentId provides operations to manage the assignments property of the microsoft.graph.deviceCompliancePolicy entity. +func (m *DeviceCompliancePoliciesItemAssignmentsRequestBuilder) ByDeviceCompliancePolicyAssignmentId(deviceCompliancePolicyAssignmentId string)(*DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceCompliancePoliciesItemAssignmentsRequestBuilder) ToPostRequestInf } 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 *DeviceCompliancePoliciesItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesItemAssignmentsRequestBuilder) { + return NewDeviceCompliancePoliciesItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_item_device_setting_state_summaries_count_request_builder.go b/devicemanagement/device_compliance_policies_item_device_setting_state_summaries_count_request_builder.go index f6b4dd926dc..61de6ff1472 100644 --- a/devicemanagement/device_compliance_policies_item_device_setting_state_summaries_count_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_device_setting_state_summaries_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceCompliancePoliciesItemDeviceSettingStateSummariesCountRequestBuil } 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 *DeviceCompliancePoliciesItemDeviceSettingStateSummariesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesItemDeviceSettingStateSummariesCountRequestBuilder) { + return NewDeviceCompliancePoliciesItemDeviceSettingStateSummariesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_item_device_setting_state_summaries_request_builder.go b/devicemanagement/device_compliance_policies_item_device_setting_state_summaries_request_builder.go index 9deb5b9fe55..5a35f1bd927 100644 --- a/devicemanagement/device_compliance_policies_item_device_setting_state_summaries_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_device_setting_state_summaries_request_builder.go @@ -46,8 +46,8 @@ type DeviceCompliancePoliciesItemDeviceSettingStateSummariesRequestBuilderPostRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySettingStateDeviceSummaryIdString provides operations to manage the deviceSettingStateSummaries property of the microsoft.graph.deviceCompliancePolicy entity. -func (m *DeviceCompliancePoliciesItemDeviceSettingStateSummariesRequestBuilder) BySettingStateDeviceSummaryIdString(settingStateDeviceSummaryId string)(*DeviceCompliancePoliciesItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilder) { +// BySettingStateDeviceSummaryId provides operations to manage the deviceSettingStateSummaries property of the microsoft.graph.deviceCompliancePolicy entity. +func (m *DeviceCompliancePoliciesItemDeviceSettingStateSummariesRequestBuilder) BySettingStateDeviceSummaryId(settingStateDeviceSummaryId string)(*DeviceCompliancePoliciesItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceCompliancePoliciesItemDeviceSettingStateSummariesRequestBuilder) } 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 *DeviceCompliancePoliciesItemDeviceSettingStateSummariesRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesItemDeviceSettingStateSummariesRequestBuilder) { + return NewDeviceCompliancePoliciesItemDeviceSettingStateSummariesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_item_device_setting_state_summaries_setting_state_device_summary_item_request_builder.go b/devicemanagement/device_compliance_policies_item_device_setting_state_summaries_setting_state_device_summary_item_request_builder.go index a6d7ccb261f..9e41a4a8bda 100644 --- a/devicemanagement/device_compliance_policies_item_device_setting_state_summaries_setting_state_device_summary_item_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_device_setting_state_summaries_setting_state_device_summary_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceCompliancePoliciesItemDeviceSettingStateSummariesSettingStateDevi } 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 *DeviceCompliancePoliciesItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilder) { + return NewDeviceCompliancePoliciesItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_item_device_status_overview_request_builder.go b/devicemanagement/device_compliance_policies_item_device_status_overview_request_builder.go index 50953c4d8ce..292860bc6a0 100644 --- a/devicemanagement/device_compliance_policies_item_device_status_overview_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_device_status_overview_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilder) ToPatch } 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 *DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilder) { + return NewDeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_item_device_statuses_count_request_builder.go b/devicemanagement/device_compliance_policies_item_device_statuses_count_request_builder.go index d59c4a4c34b..493ecbb295d 100644 --- a/devicemanagement/device_compliance_policies_item_device_statuses_count_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_device_statuses_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusesCountRequestBuilder) ToGetReq } 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 *DeviceCompliancePoliciesItemDeviceStatusesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesItemDeviceStatusesCountRequestBuilder) { + return NewDeviceCompliancePoliciesItemDeviceStatusesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_item_device_statuses_device_compliance_device_status_item_request_builder.go b/devicemanagement/device_compliance_policies_item_device_statuses_device_compliance_device_status_item_request_builder.go index 03fc475c701..b8447a0bd97 100644 --- a/devicemanagement/device_compliance_policies_item_device_statuses_device_compliance_device_status_item_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_device_statuses_device_compliance_device_status_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusI } 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 *DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusItemRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusItemRequestBuilder) { + return NewDeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_item_device_statuses_request_builder.go b/devicemanagement/device_compliance_policies_item_device_statuses_request_builder.go index 2f60320e854..b6a2c7c8062 100644 --- a/devicemanagement/device_compliance_policies_item_device_statuses_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_device_statuses_request_builder.go @@ -46,8 +46,8 @@ type DeviceCompliancePoliciesItemDeviceStatusesRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceComplianceDeviceStatusIdString provides operations to manage the deviceStatuses property of the microsoft.graph.deviceCompliancePolicy entity. -func (m *DeviceCompliancePoliciesItemDeviceStatusesRequestBuilder) ByDeviceComplianceDeviceStatusIdString(deviceComplianceDeviceStatusId string)(*DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusItemRequestBuilder) { +// ByDeviceComplianceDeviceStatusId provides operations to manage the deviceStatuses property of the microsoft.graph.deviceCompliancePolicy entity. +func (m *DeviceCompliancePoliciesItemDeviceStatusesRequestBuilder) ByDeviceComplianceDeviceStatusId(deviceComplianceDeviceStatusId string)(*DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusesRequestBuilder) ToPostRequest } 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 *DeviceCompliancePoliciesItemDeviceStatusesRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesItemDeviceStatusesRequestBuilder) { + return NewDeviceCompliancePoliciesItemDeviceStatusesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_item_schedule_actions_for_rules_request_builder.go b/devicemanagement/device_compliance_policies_item_schedule_actions_for_rules_request_builder.go index 8a473b96897..5ea654efee5 100644 --- a/devicemanagement/device_compliance_policies_item_schedule_actions_for_rules_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_schedule_actions_for_rules_request_builder.go @@ -62,3 +62,7 @@ func (m *DeviceCompliancePoliciesItemScheduleActionsForRulesRequestBuilder) ToPo } 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 *DeviceCompliancePoliciesItemScheduleActionsForRulesRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesItemScheduleActionsForRulesRequestBuilder) { + return NewDeviceCompliancePoliciesItemScheduleActionsForRulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_count_request_builder.go b/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_count_request_builder.go index 476b2772493..2db6782bd9f 100644 --- a/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_count_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleCountRequestBuilder) } 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 *DeviceCompliancePoliciesItemScheduledActionsForRuleCountRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesItemScheduledActionsForRuleCountRequestBuilder) { + return NewDeviceCompliancePoliciesItemScheduledActionsForRuleCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_device_compliance_scheduled_action_for_rule_item_request_builder.go b/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_device_compliance_scheduled_action_for_rule_item_request_builder.go index da7dced2c2e..a50f2ce6e2f 100644 --- a/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_device_compliance_scheduled_action_for_rule_item_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_device_compliance_scheduled_action_for_rule_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceSche } 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 *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilder) { + return NewDeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_count_request_builder.go b/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_count_request_builder.go index 2a483b6767d..05ff627d9aa 100644 --- a/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_count_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionC } 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 *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsCountRequestBuilder) { + return NewDeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_device_compliance_action_item_item_request_builder.go b/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_device_compliance_action_item_item_request_builder.go index ae2a029bad7..7e11d9cff27 100644 --- a/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_device_compliance_action_item_item_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_device_compliance_action_item_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionC } 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 *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceComplianceActionItemItemRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceComplianceActionItemItemRequestBuilder) { + return NewDeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceComplianceActionItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_request_builder.go b/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_request_builder.go index 6af865dbf66..556638f1129 100644 --- a/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_request_builder.go @@ -46,8 +46,8 @@ type DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceComplianceActionItemIdString provides operations to manage the scheduledActionConfigurations property of the microsoft.graph.deviceComplianceScheduledActionForRule entity. -func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilder) ByDeviceComplianceActionItemIdString(deviceComplianceActionItemId string)(*DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceComplianceActionItemItemRequestBuilder) { +// ByDeviceComplianceActionItemId provides operations to manage the scheduledActionConfigurations property of the microsoft.graph.deviceComplianceScheduledActionForRule entity. +func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilder) ByDeviceComplianceActionItemId(deviceComplianceActionItemId string)(*DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsDeviceComplianceActionItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionC } 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 *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilder) { + return NewDeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_request_builder.go b/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_request_builder.go index 5a0a5182834..7b8d189c45c 100644 --- a/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_request_builder.go @@ -46,8 +46,8 @@ type DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceComplianceScheduledActionForRuleIdString provides operations to manage the scheduledActionsForRule property of the microsoft.graph.deviceCompliancePolicy entity. -func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) ByDeviceComplianceScheduledActionForRuleIdString(deviceComplianceScheduledActionForRuleId string)(*DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilder) { +// ByDeviceComplianceScheduledActionForRuleId provides operations to manage the scheduledActionsForRule property of the microsoft.graph.deviceCompliancePolicy entity. +func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) ByDeviceComplianceScheduledActionForRuleId(deviceComplianceScheduledActionForRuleId string)(*DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) ToPo } 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 *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) { + return NewDeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_item_user_status_overview_request_builder.go b/devicemanagement/device_compliance_policies_item_user_status_overview_request_builder.go index 5bdaed9a029..ed70770ef0f 100644 --- a/devicemanagement/device_compliance_policies_item_user_status_overview_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_user_status_overview_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilder) ToPatchRe } 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 *DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilder) { + return NewDeviceCompliancePoliciesItemUserStatusOverviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_item_user_statuses_count_request_builder.go b/devicemanagement/device_compliance_policies_item_user_statuses_count_request_builder.go index a3cd38b5d0a..036cde869e8 100644 --- a/devicemanagement/device_compliance_policies_item_user_statuses_count_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_user_statuses_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceCompliancePoliciesItemUserStatusesCountRequestBuilder) ToGetReque } 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 *DeviceCompliancePoliciesItemUserStatusesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesItemUserStatusesCountRequestBuilder) { + return NewDeviceCompliancePoliciesItemUserStatusesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_item_user_statuses_device_compliance_user_status_item_request_builder.go b/devicemanagement/device_compliance_policies_item_user_statuses_device_compliance_user_status_item_request_builder.go index 1cb18efbd4e..e99acd877d1 100644 --- a/devicemanagement/device_compliance_policies_item_user_statuses_device_compliance_user_status_item_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_user_statuses_device_compliance_user_status_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemR } 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 *DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemRequestBuilder) { + return NewDeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_item_user_statuses_request_builder.go b/devicemanagement/device_compliance_policies_item_user_statuses_request_builder.go index 96acb24bc52..5f75930c4f1 100644 --- a/devicemanagement/device_compliance_policies_item_user_statuses_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_user_statuses_request_builder.go @@ -46,8 +46,8 @@ type DeviceCompliancePoliciesItemUserStatusesRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceComplianceUserStatusIdString provides operations to manage the userStatuses property of the microsoft.graph.deviceCompliancePolicy entity. -func (m *DeviceCompliancePoliciesItemUserStatusesRequestBuilder) ByDeviceComplianceUserStatusIdString(deviceComplianceUserStatusId string)(*DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemRequestBuilder) { +// ByDeviceComplianceUserStatusId provides operations to manage the userStatuses property of the microsoft.graph.deviceCompliancePolicy entity. +func (m *DeviceCompliancePoliciesItemUserStatusesRequestBuilder) ByDeviceComplianceUserStatusId(deviceComplianceUserStatusId string)(*DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceCompliancePoliciesItemUserStatusesRequestBuilder) ToPostRequestIn } 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 *DeviceCompliancePoliciesItemUserStatusesRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesItemUserStatusesRequestBuilder) { + return NewDeviceCompliancePoliciesItemUserStatusesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_refresh_device_compliance_report_summarization_request_builder.go b/devicemanagement/device_compliance_policies_refresh_device_compliance_report_summarization_request_builder.go index bdd2f5c50cf..55eea85651c 100644 --- a/devicemanagement/device_compliance_policies_refresh_device_compliance_report_summarization_request_builder.go +++ b/devicemanagement/device_compliance_policies_refresh_device_compliance_report_summarization_request_builder.go @@ -58,3 +58,7 @@ func (m *DeviceCompliancePoliciesRefreshDeviceComplianceReportSummarizationReque } 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 *DeviceCompliancePoliciesRefreshDeviceComplianceReportSummarizationRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesRefreshDeviceComplianceReportSummarizationRequestBuilder) { + return NewDeviceCompliancePoliciesRefreshDeviceComplianceReportSummarizationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_request_builder.go b/devicemanagement/device_compliance_policies_request_builder.go index 76526da612e..e0db2d40437 100644 --- a/devicemanagement/device_compliance_policies_request_builder.go +++ b/devicemanagement/device_compliance_policies_request_builder.go @@ -46,8 +46,8 @@ type DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceCompliancePolicyIdString provides operations to manage the deviceCompliancePolicies property of the microsoft.graph.deviceManagement entity. -func (m *DeviceCompliancePoliciesRequestBuilder) ByDeviceCompliancePolicyIdString(deviceCompliancePolicyId string)(*DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) { +// ByDeviceCompliancePolicyId provides operations to manage the deviceCompliancePolicies property of the microsoft.graph.deviceManagement entity. +func (m *DeviceCompliancePoliciesRequestBuilder) ByDeviceCompliancePolicyId(deviceCompliancePolicyId string)(*DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -169,3 +169,7 @@ func (m *DeviceCompliancePoliciesRequestBuilder) ToPostRequestInformation(ctx co func (m *DeviceCompliancePoliciesRequestBuilder) ValidateComplianceScript()(*DeviceCompliancePoliciesValidateComplianceScriptRequestBuilder) { return NewDeviceCompliancePoliciesValidateComplianceScriptRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DeviceCompliancePoliciesRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesRequestBuilder) { + return NewDeviceCompliancePoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_set_scheduled_retire_state_request_builder.go b/devicemanagement/device_compliance_policies_set_scheduled_retire_state_request_builder.go index 8b937fb73a1..7013ebff51d 100644 --- a/devicemanagement/device_compliance_policies_set_scheduled_retire_state_request_builder.go +++ b/devicemanagement/device_compliance_policies_set_scheduled_retire_state_request_builder.go @@ -62,3 +62,7 @@ func (m *DeviceCompliancePoliciesSetScheduledRetireStateRequestBuilder) ToPostRe } 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 *DeviceCompliancePoliciesSetScheduledRetireStateRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesSetScheduledRetireStateRequestBuilder) { + return NewDeviceCompliancePoliciesSetScheduledRetireStateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policies_validate_compliance_script_request_builder.go b/devicemanagement/device_compliance_policies_validate_compliance_script_request_builder.go index 97c090a7f0d..9ceb791da0b 100644 --- a/devicemanagement/device_compliance_policies_validate_compliance_script_request_builder.go +++ b/devicemanagement/device_compliance_policies_validate_compliance_script_request_builder.go @@ -67,3 +67,7 @@ func (m *DeviceCompliancePoliciesValidateComplianceScriptRequestBuilder) ToPostR } 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 *DeviceCompliancePoliciesValidateComplianceScriptRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePoliciesValidateComplianceScriptRequestBuilder) { + return NewDeviceCompliancePoliciesValidateComplianceScriptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policy_device_state_summary_request_builder.go b/devicemanagement/device_compliance_policy_device_state_summary_request_builder.go index 047024a514c..5a237991a02 100644 --- a/devicemanagement/device_compliance_policy_device_state_summary_request_builder.go +++ b/devicemanagement/device_compliance_policy_device_state_summary_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceCompliancePolicyDeviceStateSummaryRequestBuilder) ToPatchRequestI } 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 *DeviceCompliancePolicyDeviceStateSummaryRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePolicyDeviceStateSummaryRequestBuilder) { + return NewDeviceCompliancePolicyDeviceStateSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policy_setting_state_summaries_count_request_builder.go b/devicemanagement/device_compliance_policy_setting_state_summaries_count_request_builder.go index 61796626803..a9df86ad4dc 100644 --- a/devicemanagement/device_compliance_policy_setting_state_summaries_count_request_builder.go +++ b/devicemanagement/device_compliance_policy_setting_state_summaries_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesCountRequestBuilder) ToGetRe } 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 *DeviceCompliancePolicySettingStateSummariesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePolicySettingStateSummariesCountRequestBuilder) { + return NewDeviceCompliancePolicySettingStateSummariesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policy_setting_state_summaries_device_compliance_policy_setting_state_summary_item_request_builder.go b/devicemanagement/device_compliance_policy_setting_state_summaries_device_compliance_policy_setting_state_summary_item_request_builder.go index 288e74219c9..d0f8ed8c002 100644 --- a/devicemanagement/device_compliance_policy_setting_state_summaries_device_compliance_policy_setting_state_summary_item_request_builder.go +++ b/devicemanagement/device_compliance_policy_setting_state_summaries_device_compliance_policy_setting_state_summary_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettin } 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 *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilder) { + return NewDeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policy_setting_state_summaries_item_device_compliance_setting_states_count_request_builder.go b/devicemanagement/device_compliance_policy_setting_state_summaries_item_device_compliance_setting_states_count_request_builder.go index b12b16c2218..36555cc1c6d 100644 --- a/devicemanagement/device_compliance_policy_setting_state_summaries_item_device_compliance_setting_states_count_request_builder.go +++ b/devicemanagement/device_compliance_policy_setting_state_summaries_item_device_compliance_setting_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingS } 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 *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesCountRequestBuilder) { + return NewDeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policy_setting_state_summaries_item_device_compliance_setting_states_device_compliance_setting_state_item_request_builder.go b/devicemanagement/device_compliance_policy_setting_state_summaries_item_device_compliance_setting_states_device_compliance_setting_state_item_request_builder.go index f1b0494e45c..b7c2fd65ea2 100644 --- a/devicemanagement/device_compliance_policy_setting_state_summaries_item_device_compliance_setting_states_device_compliance_setting_state_item_request_builder.go +++ b/devicemanagement/device_compliance_policy_setting_state_summaries_item_device_compliance_setting_states_device_compliance_setting_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingS } 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 *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesDeviceComplianceSettingStateItemRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesDeviceComplianceSettingStateItemRequestBuilder) { + return NewDeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesDeviceComplianceSettingStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policy_setting_state_summaries_item_device_compliance_setting_states_request_builder.go b/devicemanagement/device_compliance_policy_setting_state_summaries_item_device_compliance_setting_states_request_builder.go index 4658f7d800d..c43d080d97d 100644 --- a/devicemanagement/device_compliance_policy_setting_state_summaries_item_device_compliance_setting_states_request_builder.go +++ b/devicemanagement/device_compliance_policy_setting_state_summaries_item_device_compliance_setting_states_request_builder.go @@ -46,8 +46,8 @@ type DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingState // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceComplianceSettingStateIdString provides operations to manage the deviceComplianceSettingStates property of the microsoft.graph.deviceCompliancePolicySettingStateSummary entity. -func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesRequestBuilder) ByDeviceComplianceSettingStateIdString(deviceComplianceSettingStateId string)(*DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesDeviceComplianceSettingStateItemRequestBuilder) { +// ByDeviceComplianceSettingStateId provides operations to manage the deviceComplianceSettingStates property of the microsoft.graph.deviceCompliancePolicySettingStateSummary entity. +func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesRequestBuilder) ByDeviceComplianceSettingStateId(deviceComplianceSettingStateId string)(*DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesDeviceComplianceSettingStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingS } 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 *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesRequestBuilder) { + return NewDeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_policy_setting_state_summaries_request_builder.go b/devicemanagement/device_compliance_policy_setting_state_summaries_request_builder.go index a8add15c478..6f78a6217d8 100644 --- a/devicemanagement/device_compliance_policy_setting_state_summaries_request_builder.go +++ b/devicemanagement/device_compliance_policy_setting_state_summaries_request_builder.go @@ -46,8 +46,8 @@ type DeviceCompliancePolicySettingStateSummariesRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceCompliancePolicySettingStateSummaryIdString provides operations to manage the deviceCompliancePolicySettingStateSummaries property of the microsoft.graph.deviceManagement entity. -func (m *DeviceCompliancePolicySettingStateSummariesRequestBuilder) ByDeviceCompliancePolicySettingStateSummaryIdString(deviceCompliancePolicySettingStateSummaryId string)(*DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilder) { +// ByDeviceCompliancePolicySettingStateSummaryId provides operations to manage the deviceCompliancePolicySettingStateSummaries property of the microsoft.graph.deviceManagement entity. +func (m *DeviceCompliancePolicySettingStateSummariesRequestBuilder) ByDeviceCompliancePolicySettingStateSummaryId(deviceCompliancePolicySettingStateSummaryId string)(*DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesRequestBuilder) ToPostReques } 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 *DeviceCompliancePolicySettingStateSummariesRequestBuilder) WithUrl(rawUrl string)(*DeviceCompliancePolicySettingStateSummariesRequestBuilder) { + return NewDeviceCompliancePolicySettingStateSummariesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_scripts_count_request_builder.go b/devicemanagement/device_compliance_scripts_count_request_builder.go index 6550661ab32..b07d1bb14cc 100644 --- a/devicemanagement/device_compliance_scripts_count_request_builder.go +++ b/devicemanagement/device_compliance_scripts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceComplianceScriptsCountRequestBuilder) ToGetRequestInformation(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 *DeviceComplianceScriptsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceComplianceScriptsCountRequestBuilder) { + return NewDeviceComplianceScriptsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_scripts_device_compliance_script_item_request_builder.go b/devicemanagement/device_compliance_scripts_device_compliance_script_item_request_builder.go index 0f22cbbd912..ec59514df0f 100644 --- a/devicemanagement/device_compliance_scripts_device_compliance_script_item_request_builder.go +++ b/devicemanagement/device_compliance_scripts_device_compliance_script_item_request_builder.go @@ -169,3 +169,7 @@ func (m *DeviceComplianceScriptsDeviceComplianceScriptItemRequestBuilder) ToPatc } 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 *DeviceComplianceScriptsDeviceComplianceScriptItemRequestBuilder) WithUrl(rawUrl string)(*DeviceComplianceScriptsDeviceComplianceScriptItemRequestBuilder) { + return NewDeviceComplianceScriptsDeviceComplianceScriptItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_scripts_item_assign_request_builder.go b/devicemanagement/device_compliance_scripts_item_assign_request_builder.go index a6807f188f0..a14504961c3 100644 --- a/devicemanagement/device_compliance_scripts_item_assign_request_builder.go +++ b/devicemanagement/device_compliance_scripts_item_assign_request_builder.go @@ -62,3 +62,7 @@ func (m *DeviceComplianceScriptsItemAssignRequestBuilder) ToPostRequestInformati } 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 *DeviceComplianceScriptsItemAssignRequestBuilder) WithUrl(rawUrl string)(*DeviceComplianceScriptsItemAssignRequestBuilder) { + return NewDeviceComplianceScriptsItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_scripts_item_assignments_count_request_builder.go b/devicemanagement/device_compliance_scripts_item_assignments_count_request_builder.go index 9e4b99fcccf..950989db897 100644 --- a/devicemanagement/device_compliance_scripts_item_assignments_count_request_builder.go +++ b/devicemanagement/device_compliance_scripts_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceComplianceScriptsItemAssignmentsCountRequestBuilder) ToGetRequest } 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 *DeviceComplianceScriptsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceComplianceScriptsItemAssignmentsCountRequestBuilder) { + return NewDeviceComplianceScriptsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_scripts_item_assignments_device_health_script_assignment_item_request_builder.go b/devicemanagement/device_compliance_scripts_item_assignments_device_health_script_assignment_item_request_builder.go index 76086865882..5b3ed77dcd6 100644 --- a/devicemanagement/device_compliance_scripts_item_assignments_device_health_script_assignment_item_request_builder.go +++ b/devicemanagement/device_compliance_scripts_item_assignments_device_health_script_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceComplianceScriptsItemAssignmentsDeviceHealthScriptAssignmentItemR } 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 *DeviceComplianceScriptsItemAssignmentsDeviceHealthScriptAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*DeviceComplianceScriptsItemAssignmentsDeviceHealthScriptAssignmentItemRequestBuilder) { + return NewDeviceComplianceScriptsItemAssignmentsDeviceHealthScriptAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_scripts_item_assignments_request_builder.go b/devicemanagement/device_compliance_scripts_item_assignments_request_builder.go index 61880054ad8..0b72e87729a 100644 --- a/devicemanagement/device_compliance_scripts_item_assignments_request_builder.go +++ b/devicemanagement/device_compliance_scripts_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type DeviceComplianceScriptsItemAssignmentsRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceHealthScriptAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.deviceComplianceScript entity. -func (m *DeviceComplianceScriptsItemAssignmentsRequestBuilder) ByDeviceHealthScriptAssignmentIdString(deviceHealthScriptAssignmentId string)(*DeviceComplianceScriptsItemAssignmentsDeviceHealthScriptAssignmentItemRequestBuilder) { +// ByDeviceHealthScriptAssignmentId provides operations to manage the assignments property of the microsoft.graph.deviceComplianceScript entity. +func (m *DeviceComplianceScriptsItemAssignmentsRequestBuilder) ByDeviceHealthScriptAssignmentId(deviceHealthScriptAssignmentId string)(*DeviceComplianceScriptsItemAssignmentsDeviceHealthScriptAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceComplianceScriptsItemAssignmentsRequestBuilder) ToPostRequestInfo } 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 *DeviceComplianceScriptsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*DeviceComplianceScriptsItemAssignmentsRequestBuilder) { + return NewDeviceComplianceScriptsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_scripts_item_device_run_states_count_request_builder.go b/devicemanagement/device_compliance_scripts_item_device_run_states_count_request_builder.go index 0b9d1d5d517..7d3ab5ca6ed 100644 --- a/devicemanagement/device_compliance_scripts_item_device_run_states_count_request_builder.go +++ b/devicemanagement/device_compliance_scripts_item_device_run_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceComplianceScriptsItemDeviceRunStatesCountRequestBuilder) ToGetReq } 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 *DeviceComplianceScriptsItemDeviceRunStatesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceComplianceScriptsItemDeviceRunStatesCountRequestBuilder) { + return NewDeviceComplianceScriptsItemDeviceRunStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_scripts_item_device_run_states_device_compliance_script_device_state_item_request_builder.go b/devicemanagement/device_compliance_scripts_item_device_run_states_device_compliance_script_device_state_item_request_builder.go index 5c56efe5ea8..371bb9aa38d 100644 --- a/devicemanagement/device_compliance_scripts_item_device_run_states_device_compliance_script_device_state_item_request_builder.go +++ b/devicemanagement/device_compliance_scripts_item_device_run_states_device_compliance_script_device_state_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DeviceComplianceScriptsItemDeviceRunStatesDeviceComplianceScriptDeviceS } 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 *DeviceComplianceScriptsItemDeviceRunStatesDeviceComplianceScriptDeviceStateItemRequestBuilder) WithUrl(rawUrl string)(*DeviceComplianceScriptsItemDeviceRunStatesDeviceComplianceScriptDeviceStateItemRequestBuilder) { + return NewDeviceComplianceScriptsItemDeviceRunStatesDeviceComplianceScriptDeviceStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_scripts_item_device_run_states_item_managed_device_request_builder.go b/devicemanagement/device_compliance_scripts_item_device_run_states_item_managed_device_request_builder.go index ae83f0fbc13..d294e733989 100644 --- a/devicemanagement/device_compliance_scripts_item_device_run_states_item_managed_device_request_builder.go +++ b/devicemanagement/device_compliance_scripts_item_device_run_states_item_managed_device_request_builder.go @@ -75,3 +75,7 @@ func (m *DeviceComplianceScriptsItemDeviceRunStatesItemManagedDeviceRequestBuild } 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 *DeviceComplianceScriptsItemDeviceRunStatesItemManagedDeviceRequestBuilder) WithUrl(rawUrl string)(*DeviceComplianceScriptsItemDeviceRunStatesItemManagedDeviceRequestBuilder) { + return NewDeviceComplianceScriptsItemDeviceRunStatesItemManagedDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_scripts_item_device_run_states_request_builder.go b/devicemanagement/device_compliance_scripts_item_device_run_states_request_builder.go index afa47f7b81d..77c1eb024cc 100644 --- a/devicemanagement/device_compliance_scripts_item_device_run_states_request_builder.go +++ b/devicemanagement/device_compliance_scripts_item_device_run_states_request_builder.go @@ -46,8 +46,8 @@ type DeviceComplianceScriptsItemDeviceRunStatesRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceComplianceScriptDeviceStateIdString provides operations to manage the deviceRunStates property of the microsoft.graph.deviceComplianceScript entity. -func (m *DeviceComplianceScriptsItemDeviceRunStatesRequestBuilder) ByDeviceComplianceScriptDeviceStateIdString(deviceComplianceScriptDeviceStateId string)(*DeviceComplianceScriptsItemDeviceRunStatesDeviceComplianceScriptDeviceStateItemRequestBuilder) { +// ByDeviceComplianceScriptDeviceStateId provides operations to manage the deviceRunStates property of the microsoft.graph.deviceComplianceScript entity. +func (m *DeviceComplianceScriptsItemDeviceRunStatesRequestBuilder) ByDeviceComplianceScriptDeviceStateId(deviceComplianceScriptDeviceStateId string)(*DeviceComplianceScriptsItemDeviceRunStatesDeviceComplianceScriptDeviceStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceComplianceScriptsItemDeviceRunStatesRequestBuilder) ToPostRequest } 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 *DeviceComplianceScriptsItemDeviceRunStatesRequestBuilder) WithUrl(rawUrl string)(*DeviceComplianceScriptsItemDeviceRunStatesRequestBuilder) { + return NewDeviceComplianceScriptsItemDeviceRunStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_scripts_item_run_summary_request_builder.go b/devicemanagement/device_compliance_scripts_item_run_summary_request_builder.go index 1799dcfa7e9..f74fdfae88e 100644 --- a/devicemanagement/device_compliance_scripts_item_run_summary_request_builder.go +++ b/devicemanagement/device_compliance_scripts_item_run_summary_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceComplianceScriptsItemRunSummaryRequestBuilder) 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 *DeviceComplianceScriptsItemRunSummaryRequestBuilder) WithUrl(rawUrl string)(*DeviceComplianceScriptsItemRunSummaryRequestBuilder) { + return NewDeviceComplianceScriptsItemRunSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_compliance_scripts_request_builder.go b/devicemanagement/device_compliance_scripts_request_builder.go index a07a84cb827..906f1e12cd9 100644 --- a/devicemanagement/device_compliance_scripts_request_builder.go +++ b/devicemanagement/device_compliance_scripts_request_builder.go @@ -46,8 +46,8 @@ type DeviceComplianceScriptsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceComplianceScriptIdString provides operations to manage the deviceComplianceScripts property of the microsoft.graph.deviceManagement entity. -func (m *DeviceComplianceScriptsRequestBuilder) ByDeviceComplianceScriptIdString(deviceComplianceScriptId string)(*DeviceComplianceScriptsDeviceComplianceScriptItemRequestBuilder) { +// ByDeviceComplianceScriptId provides operations to manage the deviceComplianceScripts property of the microsoft.graph.deviceManagement entity. +func (m *DeviceComplianceScriptsRequestBuilder) ByDeviceComplianceScriptId(deviceComplianceScriptId string)(*DeviceComplianceScriptsDeviceComplianceScriptItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceComplianceScriptsRequestBuilder) ToPostRequestInformation(ctx con } 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 *DeviceComplianceScriptsRequestBuilder) WithUrl(rawUrl string)(*DeviceComplianceScriptsRequestBuilder) { + return NewDeviceComplianceScriptsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configuration_conflict_summary_count_request_builder.go b/devicemanagement/device_configuration_conflict_summary_count_request_builder.go index 8d7a3b10236..503192db3e6 100644 --- a/devicemanagement/device_configuration_conflict_summary_count_request_builder.go +++ b/devicemanagement/device_configuration_conflict_summary_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceConfigurationConflictSummaryCountRequestBuilder) ToGetRequestInfo } 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 *DeviceConfigurationConflictSummaryCountRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationConflictSummaryCountRequestBuilder) { + return NewDeviceConfigurationConflictSummaryCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configuration_conflict_summary_device_configuration_conflict_summary_item_request_builder.go b/devicemanagement/device_configuration_conflict_summary_device_configuration_conflict_summary_item_request_builder.go index 0fadb168543..9d79c4eb0f3 100644 --- a/devicemanagement/device_configuration_conflict_summary_device_configuration_conflict_summary_item_request_builder.go +++ b/devicemanagement/device_configuration_conflict_summary_device_configuration_conflict_summary_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceConfigurationConflictSummaryDeviceConfigurationConflictSummaryIte } 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 *DeviceConfigurationConflictSummaryDeviceConfigurationConflictSummaryItemRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationConflictSummaryDeviceConfigurationConflictSummaryItemRequestBuilder) { + return NewDeviceConfigurationConflictSummaryDeviceConfigurationConflictSummaryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configuration_conflict_summary_request_builder.go b/devicemanagement/device_configuration_conflict_summary_request_builder.go index dd322ac80b0..4097e662b80 100644 --- a/devicemanagement/device_configuration_conflict_summary_request_builder.go +++ b/devicemanagement/device_configuration_conflict_summary_request_builder.go @@ -46,8 +46,8 @@ type DeviceConfigurationConflictSummaryRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceConfigurationConflictSummaryIdString provides operations to manage the deviceConfigurationConflictSummary property of the microsoft.graph.deviceManagement entity. -func (m *DeviceConfigurationConflictSummaryRequestBuilder) ByDeviceConfigurationConflictSummaryIdString(deviceConfigurationConflictSummaryId string)(*DeviceConfigurationConflictSummaryDeviceConfigurationConflictSummaryItemRequestBuilder) { +// ByDeviceConfigurationConflictSummaryId provides operations to manage the deviceConfigurationConflictSummary property of the microsoft.graph.deviceManagement entity. +func (m *DeviceConfigurationConflictSummaryRequestBuilder) ByDeviceConfigurationConflictSummaryId(deviceConfigurationConflictSummaryId string)(*DeviceConfigurationConflictSummaryDeviceConfigurationConflictSummaryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceConfigurationConflictSummaryRequestBuilder) ToPostRequestInformat } 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 *DeviceConfigurationConflictSummaryRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationConflictSummaryRequestBuilder) { + return NewDeviceConfigurationConflictSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configuration_device_state_summaries_request_builder.go b/devicemanagement/device_configuration_device_state_summaries_request_builder.go index 0e4dbf8884b..c94838ec7a8 100644 --- a/devicemanagement/device_configuration_device_state_summaries_request_builder.go +++ b/devicemanagement/device_configuration_device_state_summaries_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceConfigurationDeviceStateSummariesRequestBuilder) ToPatchRequestIn } 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 *DeviceConfigurationDeviceStateSummariesRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationDeviceStateSummariesRequestBuilder) { + return NewDeviceConfigurationDeviceStateSummariesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configuration_restricted_apps_violations_count_request_builder.go b/devicemanagement/device_configuration_restricted_apps_violations_count_request_builder.go index a5843c4ac87..13faaa0304c 100644 --- a/devicemanagement/device_configuration_restricted_apps_violations_count_request_builder.go +++ b/devicemanagement/device_configuration_restricted_apps_violations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceConfigurationRestrictedAppsViolationsCountRequestBuilder) ToGetRe } 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 *DeviceConfigurationRestrictedAppsViolationsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationRestrictedAppsViolationsCountRequestBuilder) { + return NewDeviceConfigurationRestrictedAppsViolationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configuration_restricted_apps_violations_request_builder.go b/devicemanagement/device_configuration_restricted_apps_violations_request_builder.go index 1bd90e87905..3a669d80527 100644 --- a/devicemanagement/device_configuration_restricted_apps_violations_request_builder.go +++ b/devicemanagement/device_configuration_restricted_apps_violations_request_builder.go @@ -46,8 +46,8 @@ type DeviceConfigurationRestrictedAppsViolationsRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRestrictedAppsViolationIdString provides operations to manage the deviceConfigurationRestrictedAppsViolations property of the microsoft.graph.deviceManagement entity. -func (m *DeviceConfigurationRestrictedAppsViolationsRequestBuilder) ByRestrictedAppsViolationIdString(restrictedAppsViolationId string)(*DeviceConfigurationRestrictedAppsViolationsRestrictedAppsViolationItemRequestBuilder) { +// ByRestrictedAppsViolationId provides operations to manage the deviceConfigurationRestrictedAppsViolations property of the microsoft.graph.deviceManagement entity. +func (m *DeviceConfigurationRestrictedAppsViolationsRequestBuilder) ByRestrictedAppsViolationId(restrictedAppsViolationId string)(*DeviceConfigurationRestrictedAppsViolationsRestrictedAppsViolationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceConfigurationRestrictedAppsViolationsRequestBuilder) ToPostReques } 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 *DeviceConfigurationRestrictedAppsViolationsRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationRestrictedAppsViolationsRequestBuilder) { + return NewDeviceConfigurationRestrictedAppsViolationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configuration_restricted_apps_violations_restricted_apps_violation_item_request_builder.go b/devicemanagement/device_configuration_restricted_apps_violations_restricted_apps_violation_item_request_builder.go index b2dd2eb4e28..21ada64ba85 100644 --- a/devicemanagement/device_configuration_restricted_apps_violations_restricted_apps_violation_item_request_builder.go +++ b/devicemanagement/device_configuration_restricted_apps_violations_restricted_apps_violation_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceConfigurationRestrictedAppsViolationsRestrictedAppsViolationItemR } 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 *DeviceConfigurationRestrictedAppsViolationsRestrictedAppsViolationItemRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationRestrictedAppsViolationsRestrictedAppsViolationItemRequestBuilder) { + return NewDeviceConfigurationRestrictedAppsViolationsRestrictedAppsViolationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configuration_user_state_summaries_request_builder.go b/devicemanagement/device_configuration_user_state_summaries_request_builder.go index 99060ba7cd0..5e792d7a3ce 100644 --- a/devicemanagement/device_configuration_user_state_summaries_request_builder.go +++ b/devicemanagement/device_configuration_user_state_summaries_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceConfigurationUserStateSummariesRequestBuilder) 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 *DeviceConfigurationUserStateSummariesRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationUserStateSummariesRequestBuilder) { + return NewDeviceConfigurationUserStateSummariesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_all_managed_device_certificate_states_count_request_builder.go b/devicemanagement/device_configurations_all_managed_device_certificate_states_count_request_builder.go index b88ef674e07..1a2723addf6 100644 --- a/devicemanagement/device_configurations_all_managed_device_certificate_states_count_request_builder.go +++ b/devicemanagement/device_configurations_all_managed_device_certificate_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceConfigurationsAllManagedDeviceCertificateStatesCountRequestBuilde } 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 *DeviceConfigurationsAllManagedDeviceCertificateStatesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsAllManagedDeviceCertificateStatesCountRequestBuilder) { + return NewDeviceConfigurationsAllManagedDeviceCertificateStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_all_managed_device_certificate_states_managed_all_device_certificate_state_item_request_builder.go b/devicemanagement/device_configurations_all_managed_device_certificate_states_managed_all_device_certificate_state_item_request_builder.go index dcb1bea3e99..1bb171b7ad1 100644 --- a/devicemanagement/device_configurations_all_managed_device_certificate_states_managed_all_device_certificate_state_item_request_builder.go +++ b/devicemanagement/device_configurations_all_managed_device_certificate_states_managed_all_device_certificate_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceConfigurationsAllManagedDeviceCertificateStatesManagedAllDeviceCe } 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 *DeviceConfigurationsAllManagedDeviceCertificateStatesManagedAllDeviceCertificateStateItemRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsAllManagedDeviceCertificateStatesManagedAllDeviceCertificateStateItemRequestBuilder) { + return NewDeviceConfigurationsAllManagedDeviceCertificateStatesManagedAllDeviceCertificateStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_all_managed_device_certificate_states_request_builder.go b/devicemanagement/device_configurations_all_managed_device_certificate_states_request_builder.go index 502f55a816a..db1e9434de0 100644 --- a/devicemanagement/device_configurations_all_managed_device_certificate_states_request_builder.go +++ b/devicemanagement/device_configurations_all_managed_device_certificate_states_request_builder.go @@ -46,8 +46,8 @@ type DeviceConfigurationsAllManagedDeviceCertificateStatesRequestBuilderPostRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedAllDeviceCertificateStateIdString provides operations to manage the deviceConfigurationsAllManagedDeviceCertificateStates property of the microsoft.graph.deviceManagement entity. -func (m *DeviceConfigurationsAllManagedDeviceCertificateStatesRequestBuilder) ByManagedAllDeviceCertificateStateIdString(managedAllDeviceCertificateStateId string)(*DeviceConfigurationsAllManagedDeviceCertificateStatesManagedAllDeviceCertificateStateItemRequestBuilder) { +// ByManagedAllDeviceCertificateStateId provides operations to manage the deviceConfigurationsAllManagedDeviceCertificateStates property of the microsoft.graph.deviceManagement entity. +func (m *DeviceConfigurationsAllManagedDeviceCertificateStatesRequestBuilder) ByManagedAllDeviceCertificateStateId(managedAllDeviceCertificateStateId string)(*DeviceConfigurationsAllManagedDeviceCertificateStatesManagedAllDeviceCertificateStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceConfigurationsAllManagedDeviceCertificateStatesRequestBuilder) To } 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 *DeviceConfigurationsAllManagedDeviceCertificateStatesRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsAllManagedDeviceCertificateStatesRequestBuilder) { + return NewDeviceConfigurationsAllManagedDeviceCertificateStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_count_request_builder.go b/devicemanagement/device_configurations_count_request_builder.go index fd5192e6691..4441dcdaf1c 100644 --- a/devicemanagement/device_configurations_count_request_builder.go +++ b/devicemanagement/device_configurations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceConfigurationsCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *DeviceConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsCountRequestBuilder) { + return NewDeviceConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_device_configuration_item_request_builder.go b/devicemanagement/device_configurations_device_configuration_item_request_builder.go index dcbd43fca60..38bc9cead45 100644 --- a/devicemanagement/device_configurations_device_configuration_item_request_builder.go +++ b/devicemanagement/device_configurations_device_configuration_item_request_builder.go @@ -197,3 +197,7 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) UserStatusOv func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) WindowsPrivacyAccessControls()(*DeviceConfigurationsItemWindowsPrivacyAccessControlsRequestBuilder) { return NewDeviceConfigurationsItemWindowsPrivacyAccessControlsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsDeviceConfigurationItemRequestBuilder) { + return NewDeviceConfigurationsDeviceConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_get_ios_available_update_versions_request_builder.go b/devicemanagement/device_configurations_get_ios_available_update_versions_request_builder.go index 3d504872138..63129d9db63 100644 --- a/devicemanagement/device_configurations_get_ios_available_update_versions_request_builder.go +++ b/devicemanagement/device_configurations_get_ios_available_update_versions_request_builder.go @@ -80,3 +80,7 @@ func (m *DeviceConfigurationsGetIosAvailableUpdateVersionsRequestBuilder) ToGetR } 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 *DeviceConfigurationsGetIosAvailableUpdateVersionsRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsGetIosAvailableUpdateVersionsRequestBuilder) { + return NewDeviceConfigurationsGetIosAvailableUpdateVersionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_get_targeted_users_and_devices_request_builder.go b/devicemanagement/device_configurations_get_targeted_users_and_devices_request_builder.go index 3cc457afb59..340754e2f07 100644 --- a/devicemanagement/device_configurations_get_targeted_users_and_devices_request_builder.go +++ b/devicemanagement/device_configurations_get_targeted_users_and_devices_request_builder.go @@ -66,3 +66,7 @@ func (m *DeviceConfigurationsGetTargetedUsersAndDevicesRequestBuilder) ToPostReq } 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 *DeviceConfigurationsGetTargetedUsersAndDevicesRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsGetTargetedUsersAndDevicesRequestBuilder) { + return NewDeviceConfigurationsGetTargetedUsersAndDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_has_payload_links_request_builder.go b/devicemanagement/device_configurations_has_payload_links_request_builder.go index 5c2daab4748..ccdec929c55 100644 --- a/devicemanagement/device_configurations_has_payload_links_request_builder.go +++ b/devicemanagement/device_configurations_has_payload_links_request_builder.go @@ -66,3 +66,7 @@ func (m *DeviceConfigurationsHasPayloadLinksRequestBuilder) ToPostRequestInforma } 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 *DeviceConfigurationsHasPayloadLinksRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsHasPayloadLinksRequestBuilder) { + return NewDeviceConfigurationsHasPayloadLinksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_item_assign_request_builder.go b/devicemanagement/device_configurations_item_assign_request_builder.go index fec2396fb7e..3981055d34a 100644 --- a/devicemanagement/device_configurations_item_assign_request_builder.go +++ b/devicemanagement/device_configurations_item_assign_request_builder.go @@ -66,3 +66,7 @@ func (m *DeviceConfigurationsItemAssignRequestBuilder) 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 *DeviceConfigurationsItemAssignRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsItemAssignRequestBuilder) { + return NewDeviceConfigurationsItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_item_assigned_access_multi_mode_profiles_request_builder.go b/devicemanagement/device_configurations_item_assigned_access_multi_mode_profiles_request_builder.go index 58c3cbc8bd7..fd66e99dc67 100644 --- a/devicemanagement/device_configurations_item_assigned_access_multi_mode_profiles_request_builder.go +++ b/devicemanagement/device_configurations_item_assigned_access_multi_mode_profiles_request_builder.go @@ -62,3 +62,7 @@ func (m *DeviceConfigurationsItemAssignedAccessMultiModeProfilesRequestBuilder) } 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 *DeviceConfigurationsItemAssignedAccessMultiModeProfilesRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsItemAssignedAccessMultiModeProfilesRequestBuilder) { + return NewDeviceConfigurationsItemAssignedAccessMultiModeProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_item_assignments_count_request_builder.go b/devicemanagement/device_configurations_item_assignments_count_request_builder.go index 0f26924e9bd..7d0960555eb 100644 --- a/devicemanagement/device_configurations_item_assignments_count_request_builder.go +++ b/devicemanagement/device_configurations_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceConfigurationsItemAssignmentsCountRequestBuilder) ToGetRequestInf } 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 *DeviceConfigurationsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsItemAssignmentsCountRequestBuilder) { + return NewDeviceConfigurationsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_item_assignments_device_configuration_assignment_item_request_builder.go b/devicemanagement/device_configurations_item_assignments_device_configuration_assignment_item_request_builder.go index facf28e9180..91903ee50d0 100644 --- a/devicemanagement/device_configurations_item_assignments_device_configuration_assignment_item_request_builder.go +++ b/devicemanagement/device_configurations_item_assignments_device_configuration_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemReq } 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 *DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequestBuilder) { + return NewDeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_item_assignments_request_builder.go b/devicemanagement/device_configurations_item_assignments_request_builder.go index 1737cfc36cb..69bb1238173 100644 --- a/devicemanagement/device_configurations_item_assignments_request_builder.go +++ b/devicemanagement/device_configurations_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type DeviceConfigurationsItemAssignmentsRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceConfigurationAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.deviceConfiguration entity. -func (m *DeviceConfigurationsItemAssignmentsRequestBuilder) ByDeviceConfigurationAssignmentIdString(deviceConfigurationAssignmentId string)(*DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequestBuilder) { +// ByDeviceConfigurationAssignmentId provides operations to manage the assignments property of the microsoft.graph.deviceConfiguration entity. +func (m *DeviceConfigurationsItemAssignmentsRequestBuilder) ByDeviceConfigurationAssignmentId(deviceConfigurationAssignmentId string)(*DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceConfigurationsItemAssignmentsRequestBuilder) ToPostRequestInforma } 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 *DeviceConfigurationsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsItemAssignmentsRequestBuilder) { + return NewDeviceConfigurationsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_item_device_setting_state_summaries_count_request_builder.go b/devicemanagement/device_configurations_item_device_setting_state_summaries_count_request_builder.go index c292b39e909..240ade2ff49 100644 --- a/devicemanagement/device_configurations_item_device_setting_state_summaries_count_request_builder.go +++ b/devicemanagement/device_configurations_item_device_setting_state_summaries_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceConfigurationsItemDeviceSettingStateSummariesCountRequestBuilder) } 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 *DeviceConfigurationsItemDeviceSettingStateSummariesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsItemDeviceSettingStateSummariesCountRequestBuilder) { + return NewDeviceConfigurationsItemDeviceSettingStateSummariesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_item_device_setting_state_summaries_request_builder.go b/devicemanagement/device_configurations_item_device_setting_state_summaries_request_builder.go index 39d87f6558c..03a15c25689 100644 --- a/devicemanagement/device_configurations_item_device_setting_state_summaries_request_builder.go +++ b/devicemanagement/device_configurations_item_device_setting_state_summaries_request_builder.go @@ -46,8 +46,8 @@ type DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySettingStateDeviceSummaryIdString provides operations to manage the deviceSettingStateSummaries property of the microsoft.graph.deviceConfiguration entity. -func (m *DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilder) BySettingStateDeviceSummaryIdString(settingStateDeviceSummaryId string)(*DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilder) { +// BySettingStateDeviceSummaryId provides operations to manage the deviceSettingStateSummaries property of the microsoft.graph.deviceConfiguration entity. +func (m *DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilder) BySettingStateDeviceSummaryId(settingStateDeviceSummaryId string)(*DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilder) ToPo } 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 *DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilder) { + return NewDeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_item_device_setting_state_summaries_setting_state_device_summary_item_request_builder.go b/devicemanagement/device_configurations_item_device_setting_state_summaries_setting_state_device_summary_item_request_builder.go index 4a9dcfe3e86..92f36d51e90 100644 --- a/devicemanagement/device_configurations_item_device_setting_state_summaries_setting_state_device_summary_item_request_builder.go +++ b/devicemanagement/device_configurations_item_device_setting_state_summaries_setting_state_device_summary_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSu } 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 *DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilder) { + return NewDeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSummaryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_item_device_status_overview_request_builder.go b/devicemanagement/device_configurations_item_device_status_overview_request_builder.go index f6c5bcf9e5a..8cefc36636a 100644 --- a/devicemanagement/device_configurations_item_device_status_overview_request_builder.go +++ b/devicemanagement/device_configurations_item_device_status_overview_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceConfigurationsItemDeviceStatusOverviewRequestBuilder) ToPatchRequ } 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 *DeviceConfigurationsItemDeviceStatusOverviewRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsItemDeviceStatusOverviewRequestBuilder) { + return NewDeviceConfigurationsItemDeviceStatusOverviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_item_device_statuses_count_request_builder.go b/devicemanagement/device_configurations_item_device_statuses_count_request_builder.go index cc269bca0d3..9cbdc6a6e20 100644 --- a/devicemanagement/device_configurations_item_device_statuses_count_request_builder.go +++ b/devicemanagement/device_configurations_item_device_statuses_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceConfigurationsItemDeviceStatusesCountRequestBuilder) ToGetRequest } 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 *DeviceConfigurationsItemDeviceStatusesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsItemDeviceStatusesCountRequestBuilder) { + return NewDeviceConfigurationsItemDeviceStatusesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_item_device_statuses_device_configuration_device_status_item_request_builder.go b/devicemanagement/device_configurations_item_device_statuses_device_configuration_device_status_item_request_builder.go index 73ca0d10f02..114634c27c4 100644 --- a/devicemanagement/device_configurations_item_device_statuses_device_configuration_device_status_item_request_builder.go +++ b/devicemanagement/device_configurations_item_device_statuses_device_configuration_device_status_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusIt } 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 *DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusItemRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusItemRequestBuilder) { + return NewDeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_item_device_statuses_request_builder.go b/devicemanagement/device_configurations_item_device_statuses_request_builder.go index c08810556b2..2747302ccc8 100644 --- a/devicemanagement/device_configurations_item_device_statuses_request_builder.go +++ b/devicemanagement/device_configurations_item_device_statuses_request_builder.go @@ -46,8 +46,8 @@ type DeviceConfigurationsItemDeviceStatusesRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceConfigurationDeviceStatusIdString provides operations to manage the deviceStatuses property of the microsoft.graph.deviceConfiguration entity. -func (m *DeviceConfigurationsItemDeviceStatusesRequestBuilder) ByDeviceConfigurationDeviceStatusIdString(deviceConfigurationDeviceStatusId string)(*DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusItemRequestBuilder) { +// ByDeviceConfigurationDeviceStatusId provides operations to manage the deviceStatuses property of the microsoft.graph.deviceConfiguration entity. +func (m *DeviceConfigurationsItemDeviceStatusesRequestBuilder) ByDeviceConfigurationDeviceStatusId(deviceConfigurationDeviceStatusId string)(*DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceConfigurationsItemDeviceStatusesRequestBuilder) ToPostRequestInfo } 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 *DeviceConfigurationsItemDeviceStatusesRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsItemDeviceStatusesRequestBuilder) { + return NewDeviceConfigurationsItemDeviceStatusesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_item_get_oma_setting_plain_text_value_with_secret_reference_value_id_request_builder.go b/devicemanagement/device_configurations_item_get_oma_setting_plain_text_value_with_secret_reference_value_id_request_builder.go index b37e99a3aae..01e72c09e78 100644 --- a/devicemanagement/device_configurations_item_get_oma_setting_plain_text_value_with_secret_reference_value_id_request_builder.go +++ b/devicemanagement/device_configurations_item_get_oma_setting_plain_text_value_with_secret_reference_value_id_request_builder.go @@ -65,3 +65,7 @@ func (m *DeviceConfigurationsItemGetOmaSettingPlainTextValueWithSecretReferenceV } 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 *DeviceConfigurationsItemGetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsItemGetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder) { + return NewDeviceConfigurationsItemGetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_item_group_assignments_count_request_builder.go b/devicemanagement/device_configurations_item_group_assignments_count_request_builder.go index d22b807bcc4..36d139ada9c 100644 --- a/devicemanagement/device_configurations_item_group_assignments_count_request_builder.go +++ b/devicemanagement/device_configurations_item_group_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceConfigurationsItemGroupAssignmentsCountRequestBuilder) ToGetReque } 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 *DeviceConfigurationsItemGroupAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsItemGroupAssignmentsCountRequestBuilder) { + return NewDeviceConfigurationsItemGroupAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_item_group_assignments_device_configuration_group_assignment_item_request_builder.go b/devicemanagement/device_configurations_item_group_assignments_device_configuration_group_assignment_item_request_builder.go index 696b5d5ac38..5c521bac028 100644 --- a/devicemanagement/device_configurations_item_group_assignments_device_configuration_group_assignment_item_request_builder.go +++ b/devicemanagement/device_configurations_item_group_assignments_device_configuration_group_assignment_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DeviceConfigurationsItemGroupAssignmentsDeviceConfigurationGroupAssignm } 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 *DeviceConfigurationsItemGroupAssignmentsDeviceConfigurationGroupAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsItemGroupAssignmentsDeviceConfigurationGroupAssignmentItemRequestBuilder) { + return NewDeviceConfigurationsItemGroupAssignmentsDeviceConfigurationGroupAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_item_group_assignments_item_device_configuration_request_builder.go b/devicemanagement/device_configurations_item_group_assignments_item_device_configuration_request_builder.go index 5520b124de2..b2115c39533 100644 --- a/devicemanagement/device_configurations_item_group_assignments_item_device_configuration_request_builder.go +++ b/devicemanagement/device_configurations_item_group_assignments_item_device_configuration_request_builder.go @@ -75,3 +75,7 @@ func (m *DeviceConfigurationsItemGroupAssignmentsItemDeviceConfigurationRequestB } 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 *DeviceConfigurationsItemGroupAssignmentsItemDeviceConfigurationRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsItemGroupAssignmentsItemDeviceConfigurationRequestBuilder) { + return NewDeviceConfigurationsItemGroupAssignmentsItemDeviceConfigurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_item_group_assignments_request_builder.go b/devicemanagement/device_configurations_item_group_assignments_request_builder.go index fbbbd465d27..130ade2f730 100644 --- a/devicemanagement/device_configurations_item_group_assignments_request_builder.go +++ b/devicemanagement/device_configurations_item_group_assignments_request_builder.go @@ -46,8 +46,8 @@ type DeviceConfigurationsItemGroupAssignmentsRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceConfigurationGroupAssignmentIdString provides operations to manage the groupAssignments property of the microsoft.graph.deviceConfiguration entity. -func (m *DeviceConfigurationsItemGroupAssignmentsRequestBuilder) ByDeviceConfigurationGroupAssignmentIdString(deviceConfigurationGroupAssignmentId string)(*DeviceConfigurationsItemGroupAssignmentsDeviceConfigurationGroupAssignmentItemRequestBuilder) { +// ByDeviceConfigurationGroupAssignmentId provides operations to manage the groupAssignments property of the microsoft.graph.deviceConfiguration entity. +func (m *DeviceConfigurationsItemGroupAssignmentsRequestBuilder) ByDeviceConfigurationGroupAssignmentId(deviceConfigurationGroupAssignmentId string)(*DeviceConfigurationsItemGroupAssignmentsDeviceConfigurationGroupAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceConfigurationsItemGroupAssignmentsRequestBuilder) ToPostRequestIn } 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 *DeviceConfigurationsItemGroupAssignmentsRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsItemGroupAssignmentsRequestBuilder) { + return NewDeviceConfigurationsItemGroupAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_item_user_status_overview_request_builder.go b/devicemanagement/device_configurations_item_user_status_overview_request_builder.go index ed0c4bef7a8..f25a500f755 100644 --- a/devicemanagement/device_configurations_item_user_status_overview_request_builder.go +++ b/devicemanagement/device_configurations_item_user_status_overview_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceConfigurationsItemUserStatusOverviewRequestBuilder) ToPatchReques } 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 *DeviceConfigurationsItemUserStatusOverviewRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsItemUserStatusOverviewRequestBuilder) { + return NewDeviceConfigurationsItemUserStatusOverviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_item_user_statuses_count_request_builder.go b/devicemanagement/device_configurations_item_user_statuses_count_request_builder.go index abf2ccc5704..4eb79ad8f8b 100644 --- a/devicemanagement/device_configurations_item_user_statuses_count_request_builder.go +++ b/devicemanagement/device_configurations_item_user_statuses_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceConfigurationsItemUserStatusesCountRequestBuilder) ToGetRequestIn } 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 *DeviceConfigurationsItemUserStatusesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsItemUserStatusesCountRequestBuilder) { + return NewDeviceConfigurationsItemUserStatusesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_item_user_statuses_device_configuration_user_status_item_request_builder.go b/devicemanagement/device_configurations_item_user_statuses_device_configuration_user_status_item_request_builder.go index 81cc2ef200d..efbe8b26ba6 100644 --- a/devicemanagement/device_configurations_item_user_statuses_device_configuration_user_status_item_request_builder.go +++ b/devicemanagement/device_configurations_item_user_statuses_device_configuration_user_status_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRe } 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 *DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRequestBuilder) { + return NewDeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_item_user_statuses_request_builder.go b/devicemanagement/device_configurations_item_user_statuses_request_builder.go index 91148c62837..c663c2dc2fe 100644 --- a/devicemanagement/device_configurations_item_user_statuses_request_builder.go +++ b/devicemanagement/device_configurations_item_user_statuses_request_builder.go @@ -46,8 +46,8 @@ type DeviceConfigurationsItemUserStatusesRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceConfigurationUserStatusIdString provides operations to manage the userStatuses property of the microsoft.graph.deviceConfiguration entity. -func (m *DeviceConfigurationsItemUserStatusesRequestBuilder) ByDeviceConfigurationUserStatusIdString(deviceConfigurationUserStatusId string)(*DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRequestBuilder) { +// ByDeviceConfigurationUserStatusId provides operations to manage the userStatuses property of the microsoft.graph.deviceConfiguration entity. +func (m *DeviceConfigurationsItemUserStatusesRequestBuilder) ByDeviceConfigurationUserStatusId(deviceConfigurationUserStatusId string)(*DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceConfigurationsItemUserStatusesRequestBuilder) ToPostRequestInform } 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 *DeviceConfigurationsItemUserStatusesRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsItemUserStatusesRequestBuilder) { + return NewDeviceConfigurationsItemUserStatusesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_item_windows_privacy_access_controls_request_builder.go b/devicemanagement/device_configurations_item_windows_privacy_access_controls_request_builder.go index c73041c87a4..133e988c57b 100644 --- a/devicemanagement/device_configurations_item_windows_privacy_access_controls_request_builder.go +++ b/devicemanagement/device_configurations_item_windows_privacy_access_controls_request_builder.go @@ -62,3 +62,7 @@ func (m *DeviceConfigurationsItemWindowsPrivacyAccessControlsRequestBuilder) 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 *DeviceConfigurationsItemWindowsPrivacyAccessControlsRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsItemWindowsPrivacyAccessControlsRequestBuilder) { + return NewDeviceConfigurationsItemWindowsPrivacyAccessControlsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_configurations_request_builder.go b/devicemanagement/device_configurations_request_builder.go index fa0e4251375..2a4022380b2 100644 --- a/devicemanagement/device_configurations_request_builder.go +++ b/devicemanagement/device_configurations_request_builder.go @@ -46,8 +46,8 @@ type DeviceConfigurationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceConfigurationIdString provides operations to manage the deviceConfigurations property of the microsoft.graph.deviceManagement entity. -func (m *DeviceConfigurationsRequestBuilder) ByDeviceConfigurationIdString(deviceConfigurationId string)(*DeviceConfigurationsDeviceConfigurationItemRequestBuilder) { +// ByDeviceConfigurationId provides operations to manage the deviceConfigurations property of the microsoft.graph.deviceManagement entity. +func (m *DeviceConfigurationsRequestBuilder) ByDeviceConfigurationId(deviceConfigurationId string)(*DeviceConfigurationsDeviceConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -157,3 +157,7 @@ func (m *DeviceConfigurationsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *DeviceConfigurationsRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationsRequestBuilder) { + return NewDeviceConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_custom_attribute_shell_scripts_count_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_count_request_builder.go index ea8b1f0df77..a2c420b5b2b 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_count_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceCustomAttributeShellScriptsCountRequestBuilder) ToGetRequestInfor } 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 *DeviceCustomAttributeShellScriptsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceCustomAttributeShellScriptsCountRequestBuilder) { + return NewDeviceCustomAttributeShellScriptsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_custom_attribute_shell_scripts_device_custom_attribute_shell_script_item_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_device_custom_attribute_shell_script_item_request_builder.go index 497c0bf2ec3..f25f4024091 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_device_custom_attribute_shell_script_item_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_device_custom_attribute_shell_script_item_request_builder.go @@ -177,3 +177,7 @@ func (m *DeviceCustomAttributeShellScriptsDeviceCustomAttributeShellScriptItemRe func (m *DeviceCustomAttributeShellScriptsDeviceCustomAttributeShellScriptItemRequestBuilder) UserRunStates()(*DeviceCustomAttributeShellScriptsItemUserRunStatesRequestBuilder) { return NewDeviceCustomAttributeShellScriptsItemUserRunStatesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DeviceCustomAttributeShellScriptsDeviceCustomAttributeShellScriptItemRequestBuilder) WithUrl(rawUrl string)(*DeviceCustomAttributeShellScriptsDeviceCustomAttributeShellScriptItemRequestBuilder) { + return NewDeviceCustomAttributeShellScriptsDeviceCustomAttributeShellScriptItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_assign_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_assign_request_builder.go index 641b0404e92..bdfb3a8a1dd 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_assign_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_assign_request_builder.go @@ -62,3 +62,7 @@ func (m *DeviceCustomAttributeShellScriptsItemAssignRequestBuilder) ToPostReques } 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 *DeviceCustomAttributeShellScriptsItemAssignRequestBuilder) WithUrl(rawUrl string)(*DeviceCustomAttributeShellScriptsItemAssignRequestBuilder) { + return NewDeviceCustomAttributeShellScriptsItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_assignments_count_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_assignments_count_request_builder.go index 1fdbdc3a070..aa004c259f9 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_assignments_count_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceCustomAttributeShellScriptsItemAssignmentsCountRequestBuilder) To } 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 *DeviceCustomAttributeShellScriptsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceCustomAttributeShellScriptsItemAssignmentsCountRequestBuilder) { + return NewDeviceCustomAttributeShellScriptsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_assignments_device_management_script_assignment_item_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_assignments_device_management_script_assignment_item_request_builder.go index 2597fcb18f0..ca03a6dc710 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_assignments_device_management_script_assignment_item_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_assignments_device_management_script_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceCustomAttributeShellScriptsItemAssignmentsDeviceManagementScriptA } 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 *DeviceCustomAttributeShellScriptsItemAssignmentsDeviceManagementScriptAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*DeviceCustomAttributeShellScriptsItemAssignmentsDeviceManagementScriptAssignmentItemRequestBuilder) { + return NewDeviceCustomAttributeShellScriptsItemAssignmentsDeviceManagementScriptAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_assignments_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_assignments_request_builder.go index cbf3d4f0c63..19e3f61d583 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_assignments_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type DeviceCustomAttributeShellScriptsItemAssignmentsRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementScriptAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.deviceCustomAttributeShellScript entity. -func (m *DeviceCustomAttributeShellScriptsItemAssignmentsRequestBuilder) ByDeviceManagementScriptAssignmentIdString(deviceManagementScriptAssignmentId string)(*DeviceCustomAttributeShellScriptsItemAssignmentsDeviceManagementScriptAssignmentItemRequestBuilder) { +// ByDeviceManagementScriptAssignmentId provides operations to manage the assignments property of the microsoft.graph.deviceCustomAttributeShellScript entity. +func (m *DeviceCustomAttributeShellScriptsItemAssignmentsRequestBuilder) ByDeviceManagementScriptAssignmentId(deviceManagementScriptAssignmentId string)(*DeviceCustomAttributeShellScriptsItemAssignmentsDeviceManagementScriptAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceCustomAttributeShellScriptsItemAssignmentsRequestBuilder) ToPostR } 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 *DeviceCustomAttributeShellScriptsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*DeviceCustomAttributeShellScriptsItemAssignmentsRequestBuilder) { + return NewDeviceCustomAttributeShellScriptsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_count_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_count_request_builder.go index 9fa5d6945b1..460b9e340d6 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_count_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceCustomAttributeShellScriptsItemDeviceRunStatesCountRequestBuilder } 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 *DeviceCustomAttributeShellScriptsItemDeviceRunStatesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceCustomAttributeShellScriptsItemDeviceRunStatesCountRequestBuilder) { + return NewDeviceCustomAttributeShellScriptsItemDeviceRunStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go index b724b6cd88e..0b6ba4692bc 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DeviceCustomAttributeShellScriptsItemDeviceRunStatesDeviceManagementScr } 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 *DeviceCustomAttributeShellScriptsItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) WithUrl(rawUrl string)(*DeviceCustomAttributeShellScriptsItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) { + return NewDeviceCustomAttributeShellScriptsItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_item_managed_device_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_item_managed_device_request_builder.go index b0f28db8556..0e8bc521cf9 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_item_managed_device_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_item_managed_device_request_builder.go @@ -75,3 +75,7 @@ func (m *DeviceCustomAttributeShellScriptsItemDeviceRunStatesItemManagedDeviceRe } 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 *DeviceCustomAttributeShellScriptsItemDeviceRunStatesItemManagedDeviceRequestBuilder) WithUrl(rawUrl string)(*DeviceCustomAttributeShellScriptsItemDeviceRunStatesItemManagedDeviceRequestBuilder) { + return NewDeviceCustomAttributeShellScriptsItemDeviceRunStatesItemManagedDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_request_builder.go index 2aad92d3c3a..6d9229e9c17 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_request_builder.go @@ -46,8 +46,8 @@ type DeviceCustomAttributeShellScriptsItemDeviceRunStatesRequestBuilderPostReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementScriptDeviceStateIdString provides operations to manage the deviceRunStates property of the microsoft.graph.deviceCustomAttributeShellScript entity. -func (m *DeviceCustomAttributeShellScriptsItemDeviceRunStatesRequestBuilder) ByDeviceManagementScriptDeviceStateIdString(deviceManagementScriptDeviceStateId string)(*DeviceCustomAttributeShellScriptsItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) { +// ByDeviceManagementScriptDeviceStateId provides operations to manage the deviceRunStates property of the microsoft.graph.deviceCustomAttributeShellScript entity. +func (m *DeviceCustomAttributeShellScriptsItemDeviceRunStatesRequestBuilder) ByDeviceManagementScriptDeviceStateId(deviceManagementScriptDeviceStateId string)(*DeviceCustomAttributeShellScriptsItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceCustomAttributeShellScriptsItemDeviceRunStatesRequestBuilder) 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 *DeviceCustomAttributeShellScriptsItemDeviceRunStatesRequestBuilder) WithUrl(rawUrl string)(*DeviceCustomAttributeShellScriptsItemDeviceRunStatesRequestBuilder) { + return NewDeviceCustomAttributeShellScriptsItemDeviceRunStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_group_assignments_count_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_group_assignments_count_request_builder.go index 0553580ac30..fc8b37e6609 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_group_assignments_count_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_group_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceCustomAttributeShellScriptsItemGroupAssignmentsCountRequestBuilde } 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 *DeviceCustomAttributeShellScriptsItemGroupAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceCustomAttributeShellScriptsItemGroupAssignmentsCountRequestBuilder) { + return NewDeviceCustomAttributeShellScriptsItemGroupAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go index 38ebf6d8b56..af5f9cbd705 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceCustomAttributeShellScriptsItemGroupAssignmentsDeviceManagementSc } 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 *DeviceCustomAttributeShellScriptsItemGroupAssignmentsDeviceManagementScriptGroupAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*DeviceCustomAttributeShellScriptsItemGroupAssignmentsDeviceManagementScriptGroupAssignmentItemRequestBuilder) { + return NewDeviceCustomAttributeShellScriptsItemGroupAssignmentsDeviceManagementScriptGroupAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_group_assignments_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_group_assignments_request_builder.go index fb36e4b758f..f8e5f66aa77 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_group_assignments_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_group_assignments_request_builder.go @@ -46,8 +46,8 @@ type DeviceCustomAttributeShellScriptsItemGroupAssignmentsRequestBuilderPostRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementScriptGroupAssignmentIdString provides operations to manage the groupAssignments property of the microsoft.graph.deviceCustomAttributeShellScript entity. -func (m *DeviceCustomAttributeShellScriptsItemGroupAssignmentsRequestBuilder) ByDeviceManagementScriptGroupAssignmentIdString(deviceManagementScriptGroupAssignmentId string)(*DeviceCustomAttributeShellScriptsItemGroupAssignmentsDeviceManagementScriptGroupAssignmentItemRequestBuilder) { +// ByDeviceManagementScriptGroupAssignmentId provides operations to manage the groupAssignments property of the microsoft.graph.deviceCustomAttributeShellScript entity. +func (m *DeviceCustomAttributeShellScriptsItemGroupAssignmentsRequestBuilder) ByDeviceManagementScriptGroupAssignmentId(deviceManagementScriptGroupAssignmentId string)(*DeviceCustomAttributeShellScriptsItemGroupAssignmentsDeviceManagementScriptGroupAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceCustomAttributeShellScriptsItemGroupAssignmentsRequestBuilder) To } 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 *DeviceCustomAttributeShellScriptsItemGroupAssignmentsRequestBuilder) WithUrl(rawUrl string)(*DeviceCustomAttributeShellScriptsItemGroupAssignmentsRequestBuilder) { + return NewDeviceCustomAttributeShellScriptsItemGroupAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_run_summary_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_run_summary_request_builder.go index d61f3b6547e..33730f7f83c 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_run_summary_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_run_summary_request_builder.go @@ -75,3 +75,7 @@ func (m *DeviceCustomAttributeShellScriptsItemRunSummaryRequestBuilder) ToGetReq } 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 *DeviceCustomAttributeShellScriptsItemRunSummaryRequestBuilder) WithUrl(rawUrl string)(*DeviceCustomAttributeShellScriptsItemRunSummaryRequestBuilder) { + return NewDeviceCustomAttributeShellScriptsItemRunSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_count_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_count_request_builder.go index b429a2ee2d5..3e77055c3ea 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_count_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceCustomAttributeShellScriptsItemUserRunStatesCountRequestBuilder) } 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 *DeviceCustomAttributeShellScriptsItemUserRunStatesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceCustomAttributeShellScriptsItemUserRunStatesCountRequestBuilder) { + return NewDeviceCustomAttributeShellScriptsItemUserRunStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go index feadd25275c..fc1e43cb389 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DeviceCustomAttributeShellScriptsItemUserRunStatesDeviceManagementScrip } 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 *DeviceCustomAttributeShellScriptsItemUserRunStatesDeviceManagementScriptUserStateItemRequestBuilder) WithUrl(rawUrl string)(*DeviceCustomAttributeShellScriptsItemUserRunStatesDeviceManagementScriptUserStateItemRequestBuilder) { + return NewDeviceCustomAttributeShellScriptsItemUserRunStatesDeviceManagementScriptUserStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_count_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_count_request_builder.go index 2ea46eeb007..3377309c279 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_count_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesCo } 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 *DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesCountRequestBuilder) { + return NewDeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go index 0cd4f6c3dc6..d2212c7f3c6 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesDe } 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 *DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) WithUrl(rawUrl string)(*DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) { + return NewDeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go index e6a003387a2..0ed0721ef93 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go @@ -75,3 +75,7 @@ func (m *DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesIt } 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 *DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesItemManagedDeviceRequestBuilder) WithUrl(rawUrl string)(*DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesItemManagedDeviceRequestBuilder) { + return NewDeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesItemManagedDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_request_builder.go index 48001e77e69..d4dc583dacd 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_request_builder.go @@ -46,8 +46,8 @@ type DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementScriptDeviceStateIdString provides operations to manage the deviceRunStates property of the microsoft.graph.deviceManagementScriptUserState entity. -func (m *DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesRequestBuilder) ByDeviceManagementScriptDeviceStateIdString(deviceManagementScriptDeviceStateId string)(*DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) { +// ByDeviceManagementScriptDeviceStateId provides operations to manage the deviceRunStates property of the microsoft.graph.deviceManagementScriptUserState entity. +func (m *DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesRequestBuilder) ByDeviceManagementScriptDeviceStateId(deviceManagementScriptDeviceStateId string)(*DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesRe } 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 *DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesRequestBuilder) WithUrl(rawUrl string)(*DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesRequestBuilder) { + return NewDeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_request_builder.go index 0399a461839..25288a0a0a9 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_request_builder.go @@ -46,8 +46,8 @@ type DeviceCustomAttributeShellScriptsItemUserRunStatesRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementScriptUserStateIdString provides operations to manage the userRunStates property of the microsoft.graph.deviceCustomAttributeShellScript entity. -func (m *DeviceCustomAttributeShellScriptsItemUserRunStatesRequestBuilder) ByDeviceManagementScriptUserStateIdString(deviceManagementScriptUserStateId string)(*DeviceCustomAttributeShellScriptsItemUserRunStatesDeviceManagementScriptUserStateItemRequestBuilder) { +// ByDeviceManagementScriptUserStateId provides operations to manage the userRunStates property of the microsoft.graph.deviceCustomAttributeShellScript entity. +func (m *DeviceCustomAttributeShellScriptsItemUserRunStatesRequestBuilder) ByDeviceManagementScriptUserStateId(deviceManagementScriptUserStateId string)(*DeviceCustomAttributeShellScriptsItemUserRunStatesDeviceManagementScriptUserStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceCustomAttributeShellScriptsItemUserRunStatesRequestBuilder) ToPos } 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 *DeviceCustomAttributeShellScriptsItemUserRunStatesRequestBuilder) WithUrl(rawUrl string)(*DeviceCustomAttributeShellScriptsItemUserRunStatesRequestBuilder) { + return NewDeviceCustomAttributeShellScriptsItemUserRunStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_custom_attribute_shell_scripts_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_request_builder.go index e397f18cd53..baf66e74a02 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_request_builder.go @@ -46,8 +46,8 @@ type DeviceCustomAttributeShellScriptsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceCustomAttributeShellScriptIdString provides operations to manage the deviceCustomAttributeShellScripts property of the microsoft.graph.deviceManagement entity. -func (m *DeviceCustomAttributeShellScriptsRequestBuilder) ByDeviceCustomAttributeShellScriptIdString(deviceCustomAttributeShellScriptId string)(*DeviceCustomAttributeShellScriptsDeviceCustomAttributeShellScriptItemRequestBuilder) { +// ByDeviceCustomAttributeShellScriptId provides operations to manage the deviceCustomAttributeShellScripts property of the microsoft.graph.deviceManagement entity. +func (m *DeviceCustomAttributeShellScriptsRequestBuilder) ByDeviceCustomAttributeShellScriptId(deviceCustomAttributeShellScriptId string)(*DeviceCustomAttributeShellScriptsDeviceCustomAttributeShellScriptItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceCustomAttributeShellScriptsRequestBuilder) ToPostRequestInformati } 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 *DeviceCustomAttributeShellScriptsRequestBuilder) WithUrl(rawUrl string)(*DeviceCustomAttributeShellScriptsRequestBuilder) { + return NewDeviceCustomAttributeShellScriptsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_enrollment_configurations_count_request_builder.go b/devicemanagement/device_enrollment_configurations_count_request_builder.go index 43e669c538c..5b7cc0188d9 100644 --- a/devicemanagement/device_enrollment_configurations_count_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceEnrollmentConfigurationsCountRequestBuilder) ToGetRequestInformat } 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 *DeviceEnrollmentConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceEnrollmentConfigurationsCountRequestBuilder) { + return NewDeviceEnrollmentConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_enrollment_configurations_create_enrollment_notification_configuration_request_builder.go b/devicemanagement/device_enrollment_configurations_create_enrollment_notification_configuration_request_builder.go index 51771a3b7ad..e2014931665 100644 --- a/devicemanagement/device_enrollment_configurations_create_enrollment_notification_configuration_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_create_enrollment_notification_configuration_request_builder.go @@ -62,3 +62,7 @@ func (m *DeviceEnrollmentConfigurationsCreateEnrollmentNotificationConfiguration } 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 *DeviceEnrollmentConfigurationsCreateEnrollmentNotificationConfigurationRequestBuilder) WithUrl(rawUrl string)(*DeviceEnrollmentConfigurationsCreateEnrollmentNotificationConfigurationRequestBuilder) { + return NewDeviceEnrollmentConfigurationsCreateEnrollmentNotificationConfigurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go b/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go index e40ec930d0d..327029cc3c7 100644 --- a/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go @@ -165,3 +165,7 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB } 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 *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) { + return NewDeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_enrollment_configurations_has_payload_links_request_builder.go b/devicemanagement/device_enrollment_configurations_has_payload_links_request_builder.go index d27e0f2de15..0f96e408b74 100644 --- a/devicemanagement/device_enrollment_configurations_has_payload_links_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_has_payload_links_request_builder.go @@ -66,3 +66,7 @@ func (m *DeviceEnrollmentConfigurationsHasPayloadLinksRequestBuilder) ToPostRequ } 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 *DeviceEnrollmentConfigurationsHasPayloadLinksRequestBuilder) WithUrl(rawUrl string)(*DeviceEnrollmentConfigurationsHasPayloadLinksRequestBuilder) { + return NewDeviceEnrollmentConfigurationsHasPayloadLinksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_enrollment_configurations_item_assign_request_builder.go b/devicemanagement/device_enrollment_configurations_item_assign_request_builder.go index 115b2bb412c..98997355dff 100644 --- a/devicemanagement/device_enrollment_configurations_item_assign_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_item_assign_request_builder.go @@ -62,3 +62,7 @@ func (m *DeviceEnrollmentConfigurationsItemAssignRequestBuilder) ToPostRequestIn } 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 *DeviceEnrollmentConfigurationsItemAssignRequestBuilder) WithUrl(rawUrl string)(*DeviceEnrollmentConfigurationsItemAssignRequestBuilder) { + return NewDeviceEnrollmentConfigurationsItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_enrollment_configurations_item_assignments_count_request_builder.go b/devicemanagement/device_enrollment_configurations_item_assignments_count_request_builder.go index cbf4177f18d..7cf424e78a8 100644 --- a/devicemanagement/device_enrollment_configurations_item_assignments_count_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceEnrollmentConfigurationsItemAssignmentsCountRequestBuilder) ToGet } 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 *DeviceEnrollmentConfigurationsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceEnrollmentConfigurationsItemAssignmentsCountRequestBuilder) { + return NewDeviceEnrollmentConfigurationsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_enrollment_configurations_item_assignments_enrollment_configuration_assignment_item_request_builder.go b/devicemanagement/device_enrollment_configurations_item_assignments_enrollment_configuration_assignment_item_request_builder.go index dba2822c401..9f145fc4c66 100644 --- a/devicemanagement/device_enrollment_configurations_item_assignments_enrollment_configuration_assignment_item_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_item_assignments_enrollment_configuration_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAss } 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 *DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilder) { + return NewDeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_enrollment_configurations_item_assignments_request_builder.go b/devicemanagement/device_enrollment_configurations_item_assignments_request_builder.go index 4e130b05951..c8f6d2bee72 100644 --- a/devicemanagement/device_enrollment_configurations_item_assignments_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEnrollmentConfigurationAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.deviceEnrollmentConfiguration entity. -func (m *DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder) ByEnrollmentConfigurationAssignmentIdString(enrollmentConfigurationAssignmentId string)(*DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilder) { +// ByEnrollmentConfigurationAssignmentId provides operations to manage the assignments property of the microsoft.graph.deviceEnrollmentConfiguration entity. +func (m *DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder) ByEnrollmentConfigurationAssignmentId(enrollmentConfigurationAssignmentId string)(*DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder) ToPostRequ } 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 *DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder) { + return NewDeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_enrollment_configurations_item_set_priority_request_builder.go b/devicemanagement/device_enrollment_configurations_item_set_priority_request_builder.go index 607a07df529..b20f67a2cfc 100644 --- a/devicemanagement/device_enrollment_configurations_item_set_priority_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_item_set_priority_request_builder.go @@ -62,3 +62,7 @@ func (m *DeviceEnrollmentConfigurationsItemSetPriorityRequestBuilder) ToPostRequ } 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 *DeviceEnrollmentConfigurationsItemSetPriorityRequestBuilder) WithUrl(rawUrl string)(*DeviceEnrollmentConfigurationsItemSetPriorityRequestBuilder) { + return NewDeviceEnrollmentConfigurationsItemSetPriorityRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_enrollment_configurations_request_builder.go b/devicemanagement/device_enrollment_configurations_request_builder.go index da60c29fdd8..7ee2962bafa 100644 --- a/devicemanagement/device_enrollment_configurations_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_request_builder.go @@ -46,8 +46,8 @@ type DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceEnrollmentConfigurationIdString provides operations to manage the deviceEnrollmentConfigurations property of the microsoft.graph.deviceManagement entity. -func (m *DeviceEnrollmentConfigurationsRequestBuilder) ByDeviceEnrollmentConfigurationIdString(deviceEnrollmentConfigurationId string)(*DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) { +// ByDeviceEnrollmentConfigurationId provides operations to manage the deviceEnrollmentConfigurations property of the microsoft.graph.deviceManagement entity. +func (m *DeviceEnrollmentConfigurationsRequestBuilder) ByDeviceEnrollmentConfigurationId(deviceEnrollmentConfigurationId string)(*DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,7 @@ func (m *DeviceEnrollmentConfigurationsRequestBuilder) 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 *DeviceEnrollmentConfigurationsRequestBuilder) WithUrl(rawUrl string)(*DeviceEnrollmentConfigurationsRequestBuilder) { + return NewDeviceEnrollmentConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_health_scripts_are_global_scripts_available_request_builder.go b/devicemanagement/device_health_scripts_are_global_scripts_available_request_builder.go index b46a63aa601..2aec3fd7255 100644 --- a/devicemanagement/device_health_scripts_are_global_scripts_available_request_builder.go +++ b/devicemanagement/device_health_scripts_are_global_scripts_available_request_builder.go @@ -63,3 +63,7 @@ func (m *DeviceHealthScriptsAreGlobalScriptsAvailableRequestBuilder) ToGetReques } 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 *DeviceHealthScriptsAreGlobalScriptsAvailableRequestBuilder) WithUrl(rawUrl string)(*DeviceHealthScriptsAreGlobalScriptsAvailableRequestBuilder) { + return NewDeviceHealthScriptsAreGlobalScriptsAvailableRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_health_scripts_count_request_builder.go b/devicemanagement/device_health_scripts_count_request_builder.go index 9f6a3ef9b93..201b5ffcf9a 100644 --- a/devicemanagement/device_health_scripts_count_request_builder.go +++ b/devicemanagement/device_health_scripts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceHealthScriptsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *DeviceHealthScriptsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceHealthScriptsCountRequestBuilder) { + return NewDeviceHealthScriptsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_health_scripts_device_health_script_item_request_builder.go b/devicemanagement/device_health_scripts_device_health_script_item_request_builder.go index 18a8d80f112..7cf1e769df3 100644 --- a/devicemanagement/device_health_scripts_device_health_script_item_request_builder.go +++ b/devicemanagement/device_health_scripts_device_health_script_item_request_builder.go @@ -181,3 +181,7 @@ func (m *DeviceHealthScriptsDeviceHealthScriptItemRequestBuilder) ToPatchRequest func (m *DeviceHealthScriptsDeviceHealthScriptItemRequestBuilder) UpdateGlobalScript()(*DeviceHealthScriptsItemUpdateGlobalScriptRequestBuilder) { return NewDeviceHealthScriptsItemUpdateGlobalScriptRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DeviceHealthScriptsDeviceHealthScriptItemRequestBuilder) WithUrl(rawUrl string)(*DeviceHealthScriptsDeviceHealthScriptItemRequestBuilder) { + return NewDeviceHealthScriptsDeviceHealthScriptItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_health_scripts_enable_global_scripts_request_builder.go b/devicemanagement/device_health_scripts_enable_global_scripts_request_builder.go index 72b7b8e3a2c..8c3995abdcd 100644 --- a/devicemanagement/device_health_scripts_enable_global_scripts_request_builder.go +++ b/devicemanagement/device_health_scripts_enable_global_scripts_request_builder.go @@ -58,3 +58,7 @@ func (m *DeviceHealthScriptsEnableGlobalScriptsRequestBuilder) ToPostRequestInfo } 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 *DeviceHealthScriptsEnableGlobalScriptsRequestBuilder) WithUrl(rawUrl string)(*DeviceHealthScriptsEnableGlobalScriptsRequestBuilder) { + return NewDeviceHealthScriptsEnableGlobalScriptsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_health_scripts_get_remediation_summary_request_builder.go b/devicemanagement/device_health_scripts_get_remediation_summary_request_builder.go index 612cbceb4b9..31c8f020270 100644 --- a/devicemanagement/device_health_scripts_get_remediation_summary_request_builder.go +++ b/devicemanagement/device_health_scripts_get_remediation_summary_request_builder.go @@ -63,3 +63,7 @@ func (m *DeviceHealthScriptsGetRemediationSummaryRequestBuilder) ToGetRequestInf } 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 *DeviceHealthScriptsGetRemediationSummaryRequestBuilder) WithUrl(rawUrl string)(*DeviceHealthScriptsGetRemediationSummaryRequestBuilder) { + return NewDeviceHealthScriptsGetRemediationSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_health_scripts_item_assign_request_builder.go b/devicemanagement/device_health_scripts_item_assign_request_builder.go index 048a9f12f2c..2b20205367f 100644 --- a/devicemanagement/device_health_scripts_item_assign_request_builder.go +++ b/devicemanagement/device_health_scripts_item_assign_request_builder.go @@ -62,3 +62,7 @@ func (m *DeviceHealthScriptsItemAssignRequestBuilder) ToPostRequestInformation(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 *DeviceHealthScriptsItemAssignRequestBuilder) WithUrl(rawUrl string)(*DeviceHealthScriptsItemAssignRequestBuilder) { + return NewDeviceHealthScriptsItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_health_scripts_item_assignments_count_request_builder.go b/devicemanagement/device_health_scripts_item_assignments_count_request_builder.go index 7035b5cecf3..8634f59b57f 100644 --- a/devicemanagement/device_health_scripts_item_assignments_count_request_builder.go +++ b/devicemanagement/device_health_scripts_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceHealthScriptsItemAssignmentsCountRequestBuilder) ToGetRequestInfo } 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 *DeviceHealthScriptsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceHealthScriptsItemAssignmentsCountRequestBuilder) { + return NewDeviceHealthScriptsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_health_scripts_item_assignments_device_health_script_assignment_item_request_builder.go b/devicemanagement/device_health_scripts_item_assignments_device_health_script_assignment_item_request_builder.go index 46641878729..4453f14bf4a 100644 --- a/devicemanagement/device_health_scripts_item_assignments_device_health_script_assignment_item_request_builder.go +++ b/devicemanagement/device_health_scripts_item_assignments_device_health_script_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceHealthScriptsItemAssignmentsDeviceHealthScriptAssignmentItemReque } 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 *DeviceHealthScriptsItemAssignmentsDeviceHealthScriptAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*DeviceHealthScriptsItemAssignmentsDeviceHealthScriptAssignmentItemRequestBuilder) { + return NewDeviceHealthScriptsItemAssignmentsDeviceHealthScriptAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_health_scripts_item_assignments_request_builder.go b/devicemanagement/device_health_scripts_item_assignments_request_builder.go index 91a54d5d689..0af020badec 100644 --- a/devicemanagement/device_health_scripts_item_assignments_request_builder.go +++ b/devicemanagement/device_health_scripts_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type DeviceHealthScriptsItemAssignmentsRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceHealthScriptAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.deviceHealthScript entity. -func (m *DeviceHealthScriptsItemAssignmentsRequestBuilder) ByDeviceHealthScriptAssignmentIdString(deviceHealthScriptAssignmentId string)(*DeviceHealthScriptsItemAssignmentsDeviceHealthScriptAssignmentItemRequestBuilder) { +// ByDeviceHealthScriptAssignmentId provides operations to manage the assignments property of the microsoft.graph.deviceHealthScript entity. +func (m *DeviceHealthScriptsItemAssignmentsRequestBuilder) ByDeviceHealthScriptAssignmentId(deviceHealthScriptAssignmentId string)(*DeviceHealthScriptsItemAssignmentsDeviceHealthScriptAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceHealthScriptsItemAssignmentsRequestBuilder) ToPostRequestInformat } 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 *DeviceHealthScriptsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*DeviceHealthScriptsItemAssignmentsRequestBuilder) { + return NewDeviceHealthScriptsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_health_scripts_item_device_run_states_count_request_builder.go b/devicemanagement/device_health_scripts_item_device_run_states_count_request_builder.go index 746e7e85e7d..680e288b4cf 100644 --- a/devicemanagement/device_health_scripts_item_device_run_states_count_request_builder.go +++ b/devicemanagement/device_health_scripts_item_device_run_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceHealthScriptsItemDeviceRunStatesCountRequestBuilder) ToGetRequest } 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 *DeviceHealthScriptsItemDeviceRunStatesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceHealthScriptsItemDeviceRunStatesCountRequestBuilder) { + return NewDeviceHealthScriptsItemDeviceRunStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_health_scripts_item_device_run_states_device_health_script_device_state_item_request_builder.go b/devicemanagement/device_health_scripts_item_device_run_states_device_health_script_device_state_item_request_builder.go index 470d741c473..b69715348b2 100644 --- a/devicemanagement/device_health_scripts_item_device_run_states_device_health_script_device_state_item_request_builder.go +++ b/devicemanagement/device_health_scripts_item_device_run_states_device_health_script_device_state_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DeviceHealthScriptsItemDeviceRunStatesDeviceHealthScriptDeviceStateItem } 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 *DeviceHealthScriptsItemDeviceRunStatesDeviceHealthScriptDeviceStateItemRequestBuilder) WithUrl(rawUrl string)(*DeviceHealthScriptsItemDeviceRunStatesDeviceHealthScriptDeviceStateItemRequestBuilder) { + return NewDeviceHealthScriptsItemDeviceRunStatesDeviceHealthScriptDeviceStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_health_scripts_item_device_run_states_item_managed_device_request_builder.go b/devicemanagement/device_health_scripts_item_device_run_states_item_managed_device_request_builder.go index 25e6c5ad1af..9777c8efeae 100644 --- a/devicemanagement/device_health_scripts_item_device_run_states_item_managed_device_request_builder.go +++ b/devicemanagement/device_health_scripts_item_device_run_states_item_managed_device_request_builder.go @@ -75,3 +75,7 @@ func (m *DeviceHealthScriptsItemDeviceRunStatesItemManagedDeviceRequestBuilder) } 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 *DeviceHealthScriptsItemDeviceRunStatesItemManagedDeviceRequestBuilder) WithUrl(rawUrl string)(*DeviceHealthScriptsItemDeviceRunStatesItemManagedDeviceRequestBuilder) { + return NewDeviceHealthScriptsItemDeviceRunStatesItemManagedDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_health_scripts_item_device_run_states_request_builder.go b/devicemanagement/device_health_scripts_item_device_run_states_request_builder.go index 753a27554f7..c95e791b36f 100644 --- a/devicemanagement/device_health_scripts_item_device_run_states_request_builder.go +++ b/devicemanagement/device_health_scripts_item_device_run_states_request_builder.go @@ -46,8 +46,8 @@ type DeviceHealthScriptsItemDeviceRunStatesRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceHealthScriptDeviceStateIdString provides operations to manage the deviceRunStates property of the microsoft.graph.deviceHealthScript entity. -func (m *DeviceHealthScriptsItemDeviceRunStatesRequestBuilder) ByDeviceHealthScriptDeviceStateIdString(deviceHealthScriptDeviceStateId string)(*DeviceHealthScriptsItemDeviceRunStatesDeviceHealthScriptDeviceStateItemRequestBuilder) { +// ByDeviceHealthScriptDeviceStateId provides operations to manage the deviceRunStates property of the microsoft.graph.deviceHealthScript entity. +func (m *DeviceHealthScriptsItemDeviceRunStatesRequestBuilder) ByDeviceHealthScriptDeviceStateId(deviceHealthScriptDeviceStateId string)(*DeviceHealthScriptsItemDeviceRunStatesDeviceHealthScriptDeviceStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceHealthScriptsItemDeviceRunStatesRequestBuilder) ToPostRequestInfo } 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 *DeviceHealthScriptsItemDeviceRunStatesRequestBuilder) WithUrl(rawUrl string)(*DeviceHealthScriptsItemDeviceRunStatesRequestBuilder) { + return NewDeviceHealthScriptsItemDeviceRunStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_health_scripts_item_get_global_script_highest_available_version_request_builder.go b/devicemanagement/device_health_scripts_item_get_global_script_highest_available_version_request_builder.go index a29a5143699..1273e2fbcdb 100644 --- a/devicemanagement/device_health_scripts_item_get_global_script_highest_available_version_request_builder.go +++ b/devicemanagement/device_health_scripts_item_get_global_script_highest_available_version_request_builder.go @@ -62,3 +62,7 @@ func (m *DeviceHealthScriptsItemGetGlobalScriptHighestAvailableVersionRequestBui } 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 *DeviceHealthScriptsItemGetGlobalScriptHighestAvailableVersionRequestBuilder) WithUrl(rawUrl string)(*DeviceHealthScriptsItemGetGlobalScriptHighestAvailableVersionRequestBuilder) { + return NewDeviceHealthScriptsItemGetGlobalScriptHighestAvailableVersionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_health_scripts_item_get_remediation_history_request_builder.go b/devicemanagement/device_health_scripts_item_get_remediation_history_request_builder.go index b16c193a176..941e0fdf749 100644 --- a/devicemanagement/device_health_scripts_item_get_remediation_history_request_builder.go +++ b/devicemanagement/device_health_scripts_item_get_remediation_history_request_builder.go @@ -63,3 +63,7 @@ func (m *DeviceHealthScriptsItemGetRemediationHistoryRequestBuilder) ToGetReques } 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 *DeviceHealthScriptsItemGetRemediationHistoryRequestBuilder) WithUrl(rawUrl string)(*DeviceHealthScriptsItemGetRemediationHistoryRequestBuilder) { + return NewDeviceHealthScriptsItemGetRemediationHistoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_health_scripts_item_run_summary_request_builder.go b/devicemanagement/device_health_scripts_item_run_summary_request_builder.go index fcf88ebee99..2b1910c909a 100644 --- a/devicemanagement/device_health_scripts_item_run_summary_request_builder.go +++ b/devicemanagement/device_health_scripts_item_run_summary_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceHealthScriptsItemRunSummaryRequestBuilder) ToPatchRequestInformat } 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 *DeviceHealthScriptsItemRunSummaryRequestBuilder) WithUrl(rawUrl string)(*DeviceHealthScriptsItemRunSummaryRequestBuilder) { + return NewDeviceHealthScriptsItemRunSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_health_scripts_item_update_global_script_request_builder.go b/devicemanagement/device_health_scripts_item_update_global_script_request_builder.go index d6ffc237b02..7fa51793d70 100644 --- a/devicemanagement/device_health_scripts_item_update_global_script_request_builder.go +++ b/devicemanagement/device_health_scripts_item_update_global_script_request_builder.go @@ -66,3 +66,7 @@ func (m *DeviceHealthScriptsItemUpdateGlobalScriptRequestBuilder) ToPostRequestI } 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 *DeviceHealthScriptsItemUpdateGlobalScriptRequestBuilder) WithUrl(rawUrl string)(*DeviceHealthScriptsItemUpdateGlobalScriptRequestBuilder) { + return NewDeviceHealthScriptsItemUpdateGlobalScriptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_health_scripts_request_builder.go b/devicemanagement/device_health_scripts_request_builder.go index 74fc6a17093..8900e8698d1 100644 --- a/devicemanagement/device_health_scripts_request_builder.go +++ b/devicemanagement/device_health_scripts_request_builder.go @@ -50,8 +50,8 @@ type DeviceHealthScriptsRequestBuilderPostRequestConfiguration struct { func (m *DeviceHealthScriptsRequestBuilder) AreGlobalScriptsAvailable()(*DeviceHealthScriptsAreGlobalScriptsAvailableRequestBuilder) { return NewDeviceHealthScriptsAreGlobalScriptsAvailableRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByDeviceHealthScriptIdString provides operations to manage the deviceHealthScripts property of the microsoft.graph.deviceManagement entity. -func (m *DeviceHealthScriptsRequestBuilder) ByDeviceHealthScriptIdString(deviceHealthScriptId string)(*DeviceHealthScriptsDeviceHealthScriptItemRequestBuilder) { +// ByDeviceHealthScriptId provides operations to manage the deviceHealthScripts property of the microsoft.graph.deviceManagement entity. +func (m *DeviceHealthScriptsRequestBuilder) ByDeviceHealthScriptId(deviceHealthScriptId string)(*DeviceHealthScriptsDeviceHealthScriptItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -157,3 +157,7 @@ func (m *DeviceHealthScriptsRequestBuilder) 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 *DeviceHealthScriptsRequestBuilder) WithUrl(rawUrl string)(*DeviceHealthScriptsRequestBuilder) { + return NewDeviceHealthScriptsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_partners_count_request_builder.go b/devicemanagement/device_management_partners_count_request_builder.go index d67483d276b..d88986a4fbe 100644 --- a/devicemanagement/device_management_partners_count_request_builder.go +++ b/devicemanagement/device_management_partners_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceManagementPartnersCountRequestBuilder) ToGetRequestInformation(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 *DeviceManagementPartnersCountRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementPartnersCountRequestBuilder) { + return NewDeviceManagementPartnersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_partners_device_management_partner_item_request_builder.go b/devicemanagement/device_management_partners_device_management_partner_item_request_builder.go index e7b5063759d..3d553d9ebc4 100644 --- a/devicemanagement/device_management_partners_device_management_partner_item_request_builder.go +++ b/devicemanagement/device_management_partners_device_management_partner_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilder) ToPa } 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 *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilder) { + return NewDeviceManagementPartnersDeviceManagementPartnerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_partners_item_terminate_request_builder.go b/devicemanagement/device_management_partners_item_terminate_request_builder.go index 8ca1038ccea..83f06cc06c2 100644 --- a/devicemanagement/device_management_partners_item_terminate_request_builder.go +++ b/devicemanagement/device_management_partners_item_terminate_request_builder.go @@ -58,3 +58,7 @@ func (m *DeviceManagementPartnersItemTerminateRequestBuilder) ToPostRequestInfor } 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 *DeviceManagementPartnersItemTerminateRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementPartnersItemTerminateRequestBuilder) { + return NewDeviceManagementPartnersItemTerminateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_partners_request_builder.go b/devicemanagement/device_management_partners_request_builder.go index b4503ad40ae..14ed9e75c05 100644 --- a/devicemanagement/device_management_partners_request_builder.go +++ b/devicemanagement/device_management_partners_request_builder.go @@ -46,8 +46,8 @@ type DeviceManagementPartnersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementPartnerIdString provides operations to manage the deviceManagementPartners property of the microsoft.graph.deviceManagement entity. -func (m *DeviceManagementPartnersRequestBuilder) ByDeviceManagementPartnerIdString(deviceManagementPartnerId string)(*DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilder) { +// ByDeviceManagementPartnerId provides operations to manage the deviceManagementPartners property of the microsoft.graph.deviceManagement entity. +func (m *DeviceManagementPartnersRequestBuilder) ByDeviceManagementPartnerId(deviceManagementPartnerId string)(*DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceManagementPartnersRequestBuilder) ToPostRequestInformation(ctx co } 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 *DeviceManagementPartnersRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementPartnersRequestBuilder) { + return NewDeviceManagementPartnersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_request_builder.go b/devicemanagement/device_management_request_builder.go index c019b3bd1cc..4e23f2d2305 100644 --- a/devicemanagement/device_management_request_builder.go +++ b/devicemanagement/device_management_request_builder.go @@ -822,6 +822,10 @@ func (m *DeviceManagementRequestBuilder) WindowsQualityUpdateProfiles()(*Windows func (m *DeviceManagementRequestBuilder) WindowsUpdateCatalogItems()(*WindowsUpdateCatalogItemsRequestBuilder) { return NewWindowsUpdateCatalogItemsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DeviceManagementRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRequestBuilder) { + return NewDeviceManagementRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} // ZebraFotaArtifacts provides operations to manage the zebraFotaArtifacts property of the microsoft.graph.deviceManagement entity. func (m *DeviceManagementRequestBuilder) ZebraFotaArtifacts()(*ZebraFotaArtifactsRequestBuilder) { return NewZebraFotaArtifactsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) diff --git a/devicemanagement/device_management_scripts_count_request_builder.go b/devicemanagement/device_management_scripts_count_request_builder.go index 4e1d8d0f8af..6acacaf363b 100644 --- a/devicemanagement/device_management_scripts_count_request_builder.go +++ b/devicemanagement/device_management_scripts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceManagementScriptsCountRequestBuilder) ToGetRequestInformation(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 *DeviceManagementScriptsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsCountRequestBuilder) { + return NewDeviceManagementScriptsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_scripts_device_management_script_item_request_builder.go b/devicemanagement/device_management_scripts_device_management_script_item_request_builder.go index 5e9d6c44b71..0351ee18ea5 100644 --- a/devicemanagement/device_management_scripts_device_management_script_item_request_builder.go +++ b/devicemanagement/device_management_scripts_device_management_script_item_request_builder.go @@ -177,3 +177,7 @@ func (m *DeviceManagementScriptsDeviceManagementScriptItemRequestBuilder) ToPatc func (m *DeviceManagementScriptsDeviceManagementScriptItemRequestBuilder) UserRunStates()(*DeviceManagementScriptsItemUserRunStatesRequestBuilder) { return NewDeviceManagementScriptsItemUserRunStatesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DeviceManagementScriptsDeviceManagementScriptItemRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsDeviceManagementScriptItemRequestBuilder) { + return NewDeviceManagementScriptsDeviceManagementScriptItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_scripts_has_payload_links_request_builder.go b/devicemanagement/device_management_scripts_has_payload_links_request_builder.go index e5435053a69..9040ab8e9c1 100644 --- a/devicemanagement/device_management_scripts_has_payload_links_request_builder.go +++ b/devicemanagement/device_management_scripts_has_payload_links_request_builder.go @@ -66,3 +66,7 @@ func (m *DeviceManagementScriptsHasPayloadLinksRequestBuilder) ToPostRequestInfo } 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 *DeviceManagementScriptsHasPayloadLinksRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsHasPayloadLinksRequestBuilder) { + return NewDeviceManagementScriptsHasPayloadLinksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_scripts_item_assign_request_builder.go b/devicemanagement/device_management_scripts_item_assign_request_builder.go index 68ce54e006f..a07cd8eec63 100644 --- a/devicemanagement/device_management_scripts_item_assign_request_builder.go +++ b/devicemanagement/device_management_scripts_item_assign_request_builder.go @@ -62,3 +62,7 @@ func (m *DeviceManagementScriptsItemAssignRequestBuilder) ToPostRequestInformati } 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 *DeviceManagementScriptsItemAssignRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsItemAssignRequestBuilder) { + return NewDeviceManagementScriptsItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_scripts_item_assignments_count_request_builder.go b/devicemanagement/device_management_scripts_item_assignments_count_request_builder.go index 2a52dce2a72..f92c8cf9518 100644 --- a/devicemanagement/device_management_scripts_item_assignments_count_request_builder.go +++ b/devicemanagement/device_management_scripts_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceManagementScriptsItemAssignmentsCountRequestBuilder) ToGetRequest } 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 *DeviceManagementScriptsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsItemAssignmentsCountRequestBuilder) { + return NewDeviceManagementScriptsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_scripts_item_assignments_device_management_script_assignment_item_request_builder.go b/devicemanagement/device_management_scripts_item_assignments_device_management_script_assignment_item_request_builder.go index f94261310de..9e2db1568aa 100644 --- a/devicemanagement/device_management_scripts_item_assignments_device_management_script_assignment_item_request_builder.go +++ b/devicemanagement/device_management_scripts_item_assignments_device_management_script_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceManagementScriptsItemAssignmentsDeviceManagementScriptAssignmentI } 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 *DeviceManagementScriptsItemAssignmentsDeviceManagementScriptAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsItemAssignmentsDeviceManagementScriptAssignmentItemRequestBuilder) { + return NewDeviceManagementScriptsItemAssignmentsDeviceManagementScriptAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_scripts_item_assignments_request_builder.go b/devicemanagement/device_management_scripts_item_assignments_request_builder.go index 752b74403b2..609e444361c 100644 --- a/devicemanagement/device_management_scripts_item_assignments_request_builder.go +++ b/devicemanagement/device_management_scripts_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type DeviceManagementScriptsItemAssignmentsRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementScriptAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.deviceManagementScript entity. -func (m *DeviceManagementScriptsItemAssignmentsRequestBuilder) ByDeviceManagementScriptAssignmentIdString(deviceManagementScriptAssignmentId string)(*DeviceManagementScriptsItemAssignmentsDeviceManagementScriptAssignmentItemRequestBuilder) { +// ByDeviceManagementScriptAssignmentId provides operations to manage the assignments property of the microsoft.graph.deviceManagementScript entity. +func (m *DeviceManagementScriptsItemAssignmentsRequestBuilder) ByDeviceManagementScriptAssignmentId(deviceManagementScriptAssignmentId string)(*DeviceManagementScriptsItemAssignmentsDeviceManagementScriptAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceManagementScriptsItemAssignmentsRequestBuilder) ToPostRequestInfo } 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 *DeviceManagementScriptsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsItemAssignmentsRequestBuilder) { + return NewDeviceManagementScriptsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_scripts_item_device_run_states_count_request_builder.go b/devicemanagement/device_management_scripts_item_device_run_states_count_request_builder.go index ba6f4f66291..d1fa07fc362 100644 --- a/devicemanagement/device_management_scripts_item_device_run_states_count_request_builder.go +++ b/devicemanagement/device_management_scripts_item_device_run_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceManagementScriptsItemDeviceRunStatesCountRequestBuilder) ToGetReq } 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 *DeviceManagementScriptsItemDeviceRunStatesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsItemDeviceRunStatesCountRequestBuilder) { + return NewDeviceManagementScriptsItemDeviceRunStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go b/devicemanagement/device_management_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go index 708a4e223cf..f3651dbdcf7 100644 --- a/devicemanagement/device_management_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go +++ b/devicemanagement/device_management_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DeviceManagementScriptsItemDeviceRunStatesDeviceManagementScriptDeviceS } 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 *DeviceManagementScriptsItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) { + return NewDeviceManagementScriptsItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_scripts_item_device_run_states_item_managed_device_request_builder.go b/devicemanagement/device_management_scripts_item_device_run_states_item_managed_device_request_builder.go index ef40cb68282..9dc5d3e65a5 100644 --- a/devicemanagement/device_management_scripts_item_device_run_states_item_managed_device_request_builder.go +++ b/devicemanagement/device_management_scripts_item_device_run_states_item_managed_device_request_builder.go @@ -75,3 +75,7 @@ func (m *DeviceManagementScriptsItemDeviceRunStatesItemManagedDeviceRequestBuild } 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 *DeviceManagementScriptsItemDeviceRunStatesItemManagedDeviceRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsItemDeviceRunStatesItemManagedDeviceRequestBuilder) { + return NewDeviceManagementScriptsItemDeviceRunStatesItemManagedDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_scripts_item_device_run_states_request_builder.go b/devicemanagement/device_management_scripts_item_device_run_states_request_builder.go index 960b9e84123..b9b3c4117b7 100644 --- a/devicemanagement/device_management_scripts_item_device_run_states_request_builder.go +++ b/devicemanagement/device_management_scripts_item_device_run_states_request_builder.go @@ -46,8 +46,8 @@ type DeviceManagementScriptsItemDeviceRunStatesRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementScriptDeviceStateIdString provides operations to manage the deviceRunStates property of the microsoft.graph.deviceManagementScript entity. -func (m *DeviceManagementScriptsItemDeviceRunStatesRequestBuilder) ByDeviceManagementScriptDeviceStateIdString(deviceManagementScriptDeviceStateId string)(*DeviceManagementScriptsItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) { +// ByDeviceManagementScriptDeviceStateId provides operations to manage the deviceRunStates property of the microsoft.graph.deviceManagementScript entity. +func (m *DeviceManagementScriptsItemDeviceRunStatesRequestBuilder) ByDeviceManagementScriptDeviceStateId(deviceManagementScriptDeviceStateId string)(*DeviceManagementScriptsItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceManagementScriptsItemDeviceRunStatesRequestBuilder) ToPostRequest } 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 *DeviceManagementScriptsItemDeviceRunStatesRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsItemDeviceRunStatesRequestBuilder) { + return NewDeviceManagementScriptsItemDeviceRunStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_scripts_item_group_assignments_count_request_builder.go b/devicemanagement/device_management_scripts_item_group_assignments_count_request_builder.go index 13e7c8fca33..13b75dbd2cb 100644 --- a/devicemanagement/device_management_scripts_item_group_assignments_count_request_builder.go +++ b/devicemanagement/device_management_scripts_item_group_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceManagementScriptsItemGroupAssignmentsCountRequestBuilder) ToGetRe } 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 *DeviceManagementScriptsItemGroupAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsItemGroupAssignmentsCountRequestBuilder) { + return NewDeviceManagementScriptsItemGroupAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go b/devicemanagement/device_management_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go index d0f9feccba5..286e3aa7b3e 100644 --- a/devicemanagement/device_management_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go +++ b/devicemanagement/device_management_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceManagementScriptsItemGroupAssignmentsDeviceManagementScriptGroupA } 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 *DeviceManagementScriptsItemGroupAssignmentsDeviceManagementScriptGroupAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsItemGroupAssignmentsDeviceManagementScriptGroupAssignmentItemRequestBuilder) { + return NewDeviceManagementScriptsItemGroupAssignmentsDeviceManagementScriptGroupAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_scripts_item_group_assignments_request_builder.go b/devicemanagement/device_management_scripts_item_group_assignments_request_builder.go index c627962277f..ef077eef5ad 100644 --- a/devicemanagement/device_management_scripts_item_group_assignments_request_builder.go +++ b/devicemanagement/device_management_scripts_item_group_assignments_request_builder.go @@ -46,8 +46,8 @@ type DeviceManagementScriptsItemGroupAssignmentsRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementScriptGroupAssignmentIdString provides operations to manage the groupAssignments property of the microsoft.graph.deviceManagementScript entity. -func (m *DeviceManagementScriptsItemGroupAssignmentsRequestBuilder) ByDeviceManagementScriptGroupAssignmentIdString(deviceManagementScriptGroupAssignmentId string)(*DeviceManagementScriptsItemGroupAssignmentsDeviceManagementScriptGroupAssignmentItemRequestBuilder) { +// ByDeviceManagementScriptGroupAssignmentId provides operations to manage the groupAssignments property of the microsoft.graph.deviceManagementScript entity. +func (m *DeviceManagementScriptsItemGroupAssignmentsRequestBuilder) ByDeviceManagementScriptGroupAssignmentId(deviceManagementScriptGroupAssignmentId string)(*DeviceManagementScriptsItemGroupAssignmentsDeviceManagementScriptGroupAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceManagementScriptsItemGroupAssignmentsRequestBuilder) ToPostReques } 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 *DeviceManagementScriptsItemGroupAssignmentsRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsItemGroupAssignmentsRequestBuilder) { + return NewDeviceManagementScriptsItemGroupAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_scripts_item_run_summary_request_builder.go b/devicemanagement/device_management_scripts_item_run_summary_request_builder.go index 63efcd63e52..58599dc4239 100644 --- a/devicemanagement/device_management_scripts_item_run_summary_request_builder.go +++ b/devicemanagement/device_management_scripts_item_run_summary_request_builder.go @@ -75,3 +75,7 @@ func (m *DeviceManagementScriptsItemRunSummaryRequestBuilder) ToGetRequestInform } 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 *DeviceManagementScriptsItemRunSummaryRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsItemRunSummaryRequestBuilder) { + return NewDeviceManagementScriptsItemRunSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_scripts_item_user_run_states_count_request_builder.go b/devicemanagement/device_management_scripts_item_user_run_states_count_request_builder.go index 5d80b7e8673..404b2008f99 100644 --- a/devicemanagement/device_management_scripts_item_user_run_states_count_request_builder.go +++ b/devicemanagement/device_management_scripts_item_user_run_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceManagementScriptsItemUserRunStatesCountRequestBuilder) ToGetReque } 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 *DeviceManagementScriptsItemUserRunStatesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsItemUserRunStatesCountRequestBuilder) { + return NewDeviceManagementScriptsItemUserRunStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go b/devicemanagement/device_management_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go index 59dc6ac31d5..0277b09f41e 100644 --- a/devicemanagement/device_management_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go +++ b/devicemanagement/device_management_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DeviceManagementScriptsItemUserRunStatesDeviceManagementScriptUserState } 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 *DeviceManagementScriptsItemUserRunStatesDeviceManagementScriptUserStateItemRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsItemUserRunStatesDeviceManagementScriptUserStateItemRequestBuilder) { + return NewDeviceManagementScriptsItemUserRunStatesDeviceManagementScriptUserStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_count_request_builder.go b/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_count_request_builder.go index b79b3a69fab..b7a77623dbb 100644 --- a/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_count_request_builder.go +++ b/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesCountRequest } 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 *DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesCountRequestBuilder) { + return NewDeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go b/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go index edc39aafbb4..91555fa75e5 100644 --- a/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go +++ b/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesDeviceManage } 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 *DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) { + return NewDeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go b/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go index bfff521eb04..c5b9773d347 100644 --- a/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go +++ b/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go @@ -75,3 +75,7 @@ func (m *DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesItemManagedD } 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 *DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesItemManagedDeviceRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesItemManagedDeviceRequestBuilder) { + return NewDeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesItemManagedDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_request_builder.go b/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_request_builder.go index af17b06ba0a..93daaaa0356 100644 --- a/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_request_builder.go +++ b/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_request_builder.go @@ -46,8 +46,8 @@ type DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesRequestBuilderPo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementScriptDeviceStateIdString provides operations to manage the deviceRunStates property of the microsoft.graph.deviceManagementScriptUserState entity. -func (m *DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesRequestBuilder) ByDeviceManagementScriptDeviceStateIdString(deviceManagementScriptDeviceStateId string)(*DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) { +// ByDeviceManagementScriptDeviceStateId provides operations to manage the deviceRunStates property of the microsoft.graph.deviceManagementScriptUserState entity. +func (m *DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesRequestBuilder) ByDeviceManagementScriptDeviceStateId(deviceManagementScriptDeviceStateId string)(*DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesRequestBuild } 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 *DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesRequestBuilder) { + return NewDeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_scripts_item_user_run_states_request_builder.go b/devicemanagement/device_management_scripts_item_user_run_states_request_builder.go index d6510594513..4a85eca5103 100644 --- a/devicemanagement/device_management_scripts_item_user_run_states_request_builder.go +++ b/devicemanagement/device_management_scripts_item_user_run_states_request_builder.go @@ -46,8 +46,8 @@ type DeviceManagementScriptsItemUserRunStatesRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementScriptUserStateIdString provides operations to manage the userRunStates property of the microsoft.graph.deviceManagementScript entity. -func (m *DeviceManagementScriptsItemUserRunStatesRequestBuilder) ByDeviceManagementScriptUserStateIdString(deviceManagementScriptUserStateId string)(*DeviceManagementScriptsItemUserRunStatesDeviceManagementScriptUserStateItemRequestBuilder) { +// ByDeviceManagementScriptUserStateId provides operations to manage the userRunStates property of the microsoft.graph.deviceManagementScript entity. +func (m *DeviceManagementScriptsItemUserRunStatesRequestBuilder) ByDeviceManagementScriptUserStateId(deviceManagementScriptUserStateId string)(*DeviceManagementScriptsItemUserRunStatesDeviceManagementScriptUserStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceManagementScriptsItemUserRunStatesRequestBuilder) ToPostRequestIn } 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 *DeviceManagementScriptsItemUserRunStatesRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsItemUserRunStatesRequestBuilder) { + return NewDeviceManagementScriptsItemUserRunStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_management_scripts_request_builder.go b/devicemanagement/device_management_scripts_request_builder.go index ed8d256204e..7452dd860b0 100644 --- a/devicemanagement/device_management_scripts_request_builder.go +++ b/devicemanagement/device_management_scripts_request_builder.go @@ -46,8 +46,8 @@ type DeviceManagementScriptsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementScriptIdString provides operations to manage the deviceManagementScripts property of the microsoft.graph.deviceManagement entity. -func (m *DeviceManagementScriptsRequestBuilder) ByDeviceManagementScriptIdString(deviceManagementScriptId string)(*DeviceManagementScriptsDeviceManagementScriptItemRequestBuilder) { +// ByDeviceManagementScriptId provides operations to manage the deviceManagementScripts property of the microsoft.graph.deviceManagement entity. +func (m *DeviceManagementScriptsRequestBuilder) ByDeviceManagementScriptId(deviceManagementScriptId string)(*DeviceManagementScriptsDeviceManagementScriptItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *DeviceManagementScriptsRequestBuilder) ToPostRequestInformation(ctx con } 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 *DeviceManagementScriptsRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementScriptsRequestBuilder) { + return NewDeviceManagementScriptsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_shell_scripts_count_request_builder.go b/devicemanagement/device_shell_scripts_count_request_builder.go index a993dc4afeb..c6a8b8410a1 100644 --- a/devicemanagement/device_shell_scripts_count_request_builder.go +++ b/devicemanagement/device_shell_scripts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceShellScriptsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *DeviceShellScriptsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceShellScriptsCountRequestBuilder) { + return NewDeviceShellScriptsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_shell_scripts_device_shell_script_item_request_builder.go b/devicemanagement/device_shell_scripts_device_shell_script_item_request_builder.go index 7ce16d2b860..25c148048c1 100644 --- a/devicemanagement/device_shell_scripts_device_shell_script_item_request_builder.go +++ b/devicemanagement/device_shell_scripts_device_shell_script_item_request_builder.go @@ -177,3 +177,7 @@ func (m *DeviceShellScriptsDeviceShellScriptItemRequestBuilder) ToPatchRequestIn func (m *DeviceShellScriptsDeviceShellScriptItemRequestBuilder) UserRunStates()(*DeviceShellScriptsItemUserRunStatesRequestBuilder) { return NewDeviceShellScriptsItemUserRunStatesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DeviceShellScriptsDeviceShellScriptItemRequestBuilder) WithUrl(rawUrl string)(*DeviceShellScriptsDeviceShellScriptItemRequestBuilder) { + return NewDeviceShellScriptsDeviceShellScriptItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_shell_scripts_item_assign_request_builder.go b/devicemanagement/device_shell_scripts_item_assign_request_builder.go index 98acf9def40..a106eddecb8 100644 --- a/devicemanagement/device_shell_scripts_item_assign_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_assign_request_builder.go @@ -62,3 +62,7 @@ func (m *DeviceShellScriptsItemAssignRequestBuilder) 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 *DeviceShellScriptsItemAssignRequestBuilder) WithUrl(rawUrl string)(*DeviceShellScriptsItemAssignRequestBuilder) { + return NewDeviceShellScriptsItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_shell_scripts_item_assignments_count_request_builder.go b/devicemanagement/device_shell_scripts_item_assignments_count_request_builder.go index 601bfc7757d..3c1cdcb817b 100644 --- a/devicemanagement/device_shell_scripts_item_assignments_count_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceShellScriptsItemAssignmentsCountRequestBuilder) ToGetRequestInfor } 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 *DeviceShellScriptsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceShellScriptsItemAssignmentsCountRequestBuilder) { + return NewDeviceShellScriptsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_shell_scripts_item_assignments_device_management_script_assignment_item_request_builder.go b/devicemanagement/device_shell_scripts_item_assignments_device_management_script_assignment_item_request_builder.go index 6be995ee57d..f1693cae057 100644 --- a/devicemanagement/device_shell_scripts_item_assignments_device_management_script_assignment_item_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_assignments_device_management_script_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceShellScriptsItemAssignmentsDeviceManagementScriptAssignmentItemRe } 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 *DeviceShellScriptsItemAssignmentsDeviceManagementScriptAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*DeviceShellScriptsItemAssignmentsDeviceManagementScriptAssignmentItemRequestBuilder) { + return NewDeviceShellScriptsItemAssignmentsDeviceManagementScriptAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_shell_scripts_item_assignments_request_builder.go b/devicemanagement/device_shell_scripts_item_assignments_request_builder.go index d1660ebf954..498995e510d 100644 --- a/devicemanagement/device_shell_scripts_item_assignments_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type DeviceShellScriptsItemAssignmentsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementScriptAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.deviceShellScript entity. -func (m *DeviceShellScriptsItemAssignmentsRequestBuilder) ByDeviceManagementScriptAssignmentIdString(deviceManagementScriptAssignmentId string)(*DeviceShellScriptsItemAssignmentsDeviceManagementScriptAssignmentItemRequestBuilder) { +// ByDeviceManagementScriptAssignmentId provides operations to manage the assignments property of the microsoft.graph.deviceShellScript entity. +func (m *DeviceShellScriptsItemAssignmentsRequestBuilder) ByDeviceManagementScriptAssignmentId(deviceManagementScriptAssignmentId string)(*DeviceShellScriptsItemAssignmentsDeviceManagementScriptAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceShellScriptsItemAssignmentsRequestBuilder) ToPostRequestInformati } 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 *DeviceShellScriptsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*DeviceShellScriptsItemAssignmentsRequestBuilder) { + return NewDeviceShellScriptsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_shell_scripts_item_device_run_states_count_request_builder.go b/devicemanagement/device_shell_scripts_item_device_run_states_count_request_builder.go index d279f8501d1..16a7c80fdef 100644 --- a/devicemanagement/device_shell_scripts_item_device_run_states_count_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_device_run_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceShellScriptsItemDeviceRunStatesCountRequestBuilder) ToGetRequestI } 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 *DeviceShellScriptsItemDeviceRunStatesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceShellScriptsItemDeviceRunStatesCountRequestBuilder) { + return NewDeviceShellScriptsItemDeviceRunStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_shell_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go b/devicemanagement/device_shell_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go index 7cc7a2d0426..e3ed7057d2d 100644 --- a/devicemanagement/device_shell_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DeviceShellScriptsItemDeviceRunStatesDeviceManagementScriptDeviceStateI } 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 *DeviceShellScriptsItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) WithUrl(rawUrl string)(*DeviceShellScriptsItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) { + return NewDeviceShellScriptsItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_shell_scripts_item_device_run_states_item_managed_device_request_builder.go b/devicemanagement/device_shell_scripts_item_device_run_states_item_managed_device_request_builder.go index f02d181e8ec..86d1506c23a 100644 --- a/devicemanagement/device_shell_scripts_item_device_run_states_item_managed_device_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_device_run_states_item_managed_device_request_builder.go @@ -75,3 +75,7 @@ func (m *DeviceShellScriptsItemDeviceRunStatesItemManagedDeviceRequestBuilder) T } 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 *DeviceShellScriptsItemDeviceRunStatesItemManagedDeviceRequestBuilder) WithUrl(rawUrl string)(*DeviceShellScriptsItemDeviceRunStatesItemManagedDeviceRequestBuilder) { + return NewDeviceShellScriptsItemDeviceRunStatesItemManagedDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_shell_scripts_item_device_run_states_request_builder.go b/devicemanagement/device_shell_scripts_item_device_run_states_request_builder.go index 5ef556cc880..749db7667ed 100644 --- a/devicemanagement/device_shell_scripts_item_device_run_states_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_device_run_states_request_builder.go @@ -46,8 +46,8 @@ type DeviceShellScriptsItemDeviceRunStatesRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementScriptDeviceStateIdString provides operations to manage the deviceRunStates property of the microsoft.graph.deviceShellScript entity. -func (m *DeviceShellScriptsItemDeviceRunStatesRequestBuilder) ByDeviceManagementScriptDeviceStateIdString(deviceManagementScriptDeviceStateId string)(*DeviceShellScriptsItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) { +// ByDeviceManagementScriptDeviceStateId provides operations to manage the deviceRunStates property of the microsoft.graph.deviceShellScript entity. +func (m *DeviceShellScriptsItemDeviceRunStatesRequestBuilder) ByDeviceManagementScriptDeviceStateId(deviceManagementScriptDeviceStateId string)(*DeviceShellScriptsItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceShellScriptsItemDeviceRunStatesRequestBuilder) ToPostRequestInfor } 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 *DeviceShellScriptsItemDeviceRunStatesRequestBuilder) WithUrl(rawUrl string)(*DeviceShellScriptsItemDeviceRunStatesRequestBuilder) { + return NewDeviceShellScriptsItemDeviceRunStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_shell_scripts_item_group_assignments_count_request_builder.go b/devicemanagement/device_shell_scripts_item_group_assignments_count_request_builder.go index ed5e24e1279..72bf730d2b5 100644 --- a/devicemanagement/device_shell_scripts_item_group_assignments_count_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_group_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceShellScriptsItemGroupAssignmentsCountRequestBuilder) ToGetRequest } 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 *DeviceShellScriptsItemGroupAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceShellScriptsItemGroupAssignmentsCountRequestBuilder) { + return NewDeviceShellScriptsItemGroupAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_shell_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go b/devicemanagement/device_shell_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go index 35e978a45b3..173f4ebe434 100644 --- a/devicemanagement/device_shell_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceShellScriptsItemGroupAssignmentsDeviceManagementScriptGroupAssign } 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 *DeviceShellScriptsItemGroupAssignmentsDeviceManagementScriptGroupAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*DeviceShellScriptsItemGroupAssignmentsDeviceManagementScriptGroupAssignmentItemRequestBuilder) { + return NewDeviceShellScriptsItemGroupAssignmentsDeviceManagementScriptGroupAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_shell_scripts_item_group_assignments_request_builder.go b/devicemanagement/device_shell_scripts_item_group_assignments_request_builder.go index 329f12ff2e1..abf7f3803f2 100644 --- a/devicemanagement/device_shell_scripts_item_group_assignments_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_group_assignments_request_builder.go @@ -46,8 +46,8 @@ type DeviceShellScriptsItemGroupAssignmentsRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementScriptGroupAssignmentIdString provides operations to manage the groupAssignments property of the microsoft.graph.deviceShellScript entity. -func (m *DeviceShellScriptsItemGroupAssignmentsRequestBuilder) ByDeviceManagementScriptGroupAssignmentIdString(deviceManagementScriptGroupAssignmentId string)(*DeviceShellScriptsItemGroupAssignmentsDeviceManagementScriptGroupAssignmentItemRequestBuilder) { +// ByDeviceManagementScriptGroupAssignmentId provides operations to manage the groupAssignments property of the microsoft.graph.deviceShellScript entity. +func (m *DeviceShellScriptsItemGroupAssignmentsRequestBuilder) ByDeviceManagementScriptGroupAssignmentId(deviceManagementScriptGroupAssignmentId string)(*DeviceShellScriptsItemGroupAssignmentsDeviceManagementScriptGroupAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceShellScriptsItemGroupAssignmentsRequestBuilder) ToPostRequestInfo } 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 *DeviceShellScriptsItemGroupAssignmentsRequestBuilder) WithUrl(rawUrl string)(*DeviceShellScriptsItemGroupAssignmentsRequestBuilder) { + return NewDeviceShellScriptsItemGroupAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_shell_scripts_item_run_summary_request_builder.go b/devicemanagement/device_shell_scripts_item_run_summary_request_builder.go index 16590c828cb..db7788a7ce3 100644 --- a/devicemanagement/device_shell_scripts_item_run_summary_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_run_summary_request_builder.go @@ -75,3 +75,7 @@ func (m *DeviceShellScriptsItemRunSummaryRequestBuilder) 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 *DeviceShellScriptsItemRunSummaryRequestBuilder) WithUrl(rawUrl string)(*DeviceShellScriptsItemRunSummaryRequestBuilder) { + return NewDeviceShellScriptsItemRunSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_shell_scripts_item_user_run_states_count_request_builder.go b/devicemanagement/device_shell_scripts_item_user_run_states_count_request_builder.go index f75df956322..58d98e5a379 100644 --- a/devicemanagement/device_shell_scripts_item_user_run_states_count_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_user_run_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceShellScriptsItemUserRunStatesCountRequestBuilder) ToGetRequestInf } 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 *DeviceShellScriptsItemUserRunStatesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceShellScriptsItemUserRunStatesCountRequestBuilder) { + return NewDeviceShellScriptsItemUserRunStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_shell_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go b/devicemanagement/device_shell_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go index 1c28451a340..2c5909a82c9 100644 --- a/devicemanagement/device_shell_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DeviceShellScriptsItemUserRunStatesDeviceManagementScriptUserStateItemR } 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 *DeviceShellScriptsItemUserRunStatesDeviceManagementScriptUserStateItemRequestBuilder) WithUrl(rawUrl string)(*DeviceShellScriptsItemUserRunStatesDeviceManagementScriptUserStateItemRequestBuilder) { + return NewDeviceShellScriptsItemUserRunStatesDeviceManagementScriptUserStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_count_request_builder.go b/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_count_request_builder.go index 3e06708909d..574f7ff42dc 100644 --- a/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_count_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesCountRequestBuild } 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 *DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesCountRequestBuilder) { + return NewDeviceShellScriptsItemUserRunStatesItemDeviceRunStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go b/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go index a94b807e811..2d883990ca1 100644 --- a/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesDeviceManagementS } 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 *DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) WithUrl(rawUrl string)(*DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) { + return NewDeviceShellScriptsItemUserRunStatesItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go b/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go index 540bf635f65..5902a87214d 100644 --- a/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go @@ -75,3 +75,7 @@ func (m *DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesItemManagedDevice } 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 *DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesItemManagedDeviceRequestBuilder) WithUrl(rawUrl string)(*DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesItemManagedDeviceRequestBuilder) { + return NewDeviceShellScriptsItemUserRunStatesItemDeviceRunStatesItemManagedDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_request_builder.go b/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_request_builder.go index 9cba8d829f9..466cf3f0fd9 100644 --- a/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_request_builder.go @@ -46,8 +46,8 @@ type DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesRequestBuilderPostReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementScriptDeviceStateIdString provides operations to manage the deviceRunStates property of the microsoft.graph.deviceManagementScriptUserState entity. -func (m *DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesRequestBuilder) ByDeviceManagementScriptDeviceStateIdString(deviceManagementScriptDeviceStateId string)(*DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) { +// ByDeviceManagementScriptDeviceStateId provides operations to manage the deviceRunStates property of the microsoft.graph.deviceManagementScriptUserState entity. +func (m *DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesRequestBuilder) ByDeviceManagementScriptDeviceStateId(deviceManagementScriptDeviceStateId string)(*DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesDeviceManagementScriptDeviceStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesRequestBuilder) T } 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 *DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesRequestBuilder) WithUrl(rawUrl string)(*DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesRequestBuilder) { + return NewDeviceShellScriptsItemUserRunStatesItemDeviceRunStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_shell_scripts_item_user_run_states_request_builder.go b/devicemanagement/device_shell_scripts_item_user_run_states_request_builder.go index 26e82b47467..19ea4df5651 100644 --- a/devicemanagement/device_shell_scripts_item_user_run_states_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_user_run_states_request_builder.go @@ -46,8 +46,8 @@ type DeviceShellScriptsItemUserRunStatesRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementScriptUserStateIdString provides operations to manage the userRunStates property of the microsoft.graph.deviceShellScript entity. -func (m *DeviceShellScriptsItemUserRunStatesRequestBuilder) ByDeviceManagementScriptUserStateIdString(deviceManagementScriptUserStateId string)(*DeviceShellScriptsItemUserRunStatesDeviceManagementScriptUserStateItemRequestBuilder) { +// ByDeviceManagementScriptUserStateId provides operations to manage the userRunStates property of the microsoft.graph.deviceShellScript entity. +func (m *DeviceShellScriptsItemUserRunStatesRequestBuilder) ByDeviceManagementScriptUserStateId(deviceManagementScriptUserStateId string)(*DeviceShellScriptsItemUserRunStatesDeviceManagementScriptUserStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceShellScriptsItemUserRunStatesRequestBuilder) ToPostRequestInforma } 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 *DeviceShellScriptsItemUserRunStatesRequestBuilder) WithUrl(rawUrl string)(*DeviceShellScriptsItemUserRunStatesRequestBuilder) { + return NewDeviceShellScriptsItemUserRunStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/device_shell_scripts_request_builder.go b/devicemanagement/device_shell_scripts_request_builder.go index 7a45d4d1cc2..3bf63fa32b0 100644 --- a/devicemanagement/device_shell_scripts_request_builder.go +++ b/devicemanagement/device_shell_scripts_request_builder.go @@ -46,8 +46,8 @@ type DeviceShellScriptsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceShellScriptIdString provides operations to manage the deviceShellScripts property of the microsoft.graph.deviceManagement entity. -func (m *DeviceShellScriptsRequestBuilder) ByDeviceShellScriptIdString(deviceShellScriptId string)(*DeviceShellScriptsDeviceShellScriptItemRequestBuilder) { +// ByDeviceShellScriptId provides operations to manage the deviceShellScripts property of the microsoft.graph.deviceManagement entity. +func (m *DeviceShellScriptsRequestBuilder) ByDeviceShellScriptId(deviceShellScriptId string)(*DeviceShellScriptsDeviceShellScriptItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceShellScriptsRequestBuilder) 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 *DeviceShellScriptsRequestBuilder) WithUrl(rawUrl string)(*DeviceShellScriptsRequestBuilder) { + return NewDeviceShellScriptsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/domain_join_connectors_count_request_builder.go b/devicemanagement/domain_join_connectors_count_request_builder.go index 678233e872e..fec05fb2f10 100644 --- a/devicemanagement/domain_join_connectors_count_request_builder.go +++ b/devicemanagement/domain_join_connectors_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DomainJoinConnectorsCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *DomainJoinConnectorsCountRequestBuilder) WithUrl(rawUrl string)(*DomainJoinConnectorsCountRequestBuilder) { + return NewDomainJoinConnectorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/domain_join_connectors_device_management_domain_join_connector_item_request_builder.go b/devicemanagement/domain_join_connectors_device_management_domain_join_connector_item_request_builder.go index b366f2ae83f..68a98109220 100644 --- a/devicemanagement/domain_join_connectors_device_management_domain_join_connector_item_request_builder.go +++ b/devicemanagement/domain_join_connectors_device_management_domain_join_connector_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DomainJoinConnectorsDeviceManagementDomainJoinConnectorItemRequestBuild } 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 *DomainJoinConnectorsDeviceManagementDomainJoinConnectorItemRequestBuilder) WithUrl(rawUrl string)(*DomainJoinConnectorsDeviceManagementDomainJoinConnectorItemRequestBuilder) { + return NewDomainJoinConnectorsDeviceManagementDomainJoinConnectorItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/domain_join_connectors_request_builder.go b/devicemanagement/domain_join_connectors_request_builder.go index 6ec8ed4a84f..a9277fed9ea 100644 --- a/devicemanagement/domain_join_connectors_request_builder.go +++ b/devicemanagement/domain_join_connectors_request_builder.go @@ -46,8 +46,8 @@ type DomainJoinConnectorsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementDomainJoinConnectorIdString provides operations to manage the domainJoinConnectors property of the microsoft.graph.deviceManagement entity. -func (m *DomainJoinConnectorsRequestBuilder) ByDeviceManagementDomainJoinConnectorIdString(deviceManagementDomainJoinConnectorId string)(*DomainJoinConnectorsDeviceManagementDomainJoinConnectorItemRequestBuilder) { +// ByDeviceManagementDomainJoinConnectorId provides operations to manage the domainJoinConnectors property of the microsoft.graph.deviceManagement entity. +func (m *DomainJoinConnectorsRequestBuilder) ByDeviceManagementDomainJoinConnectorId(deviceManagementDomainJoinConnectorId string)(*DomainJoinConnectorsDeviceManagementDomainJoinConnectorItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DomainJoinConnectorsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *DomainJoinConnectorsRequestBuilder) WithUrl(rawUrl string)(*DomainJoinConnectorsRequestBuilder) { + return NewDomainJoinConnectorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/embedded_s_i_m_activation_code_pools_count_request_builder.go b/devicemanagement/embedded_s_i_m_activation_code_pools_count_request_builder.go index be45d1a03db..d3ecf2a6b99 100644 --- a/devicemanagement/embedded_s_i_m_activation_code_pools_count_request_builder.go +++ b/devicemanagement/embedded_s_i_m_activation_code_pools_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EmbeddedSIMActivationCodePoolsCountRequestBuilder) ToGetRequestInformat } 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 *EmbeddedSIMActivationCodePoolsCountRequestBuilder) WithUrl(rawUrl string)(*EmbeddedSIMActivationCodePoolsCountRequestBuilder) { + return NewEmbeddedSIMActivationCodePoolsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/embedded_s_i_m_activation_code_pools_embedded_s_i_m_activation_code_pool_item_request_builder.go b/devicemanagement/embedded_s_i_m_activation_code_pools_embedded_s_i_m_activation_code_pool_item_request_builder.go index 70bdd976be5..43663a07bb6 100644 --- a/devicemanagement/embedded_s_i_m_activation_code_pools_embedded_s_i_m_activation_code_pool_item_request_builder.go +++ b/devicemanagement/embedded_s_i_m_activation_code_pools_embedded_s_i_m_activation_code_pool_item_request_builder.go @@ -165,3 +165,7 @@ func (m *EmbeddedSIMActivationCodePoolsEmbeddedSIMActivationCodePoolItemRequestB } 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 *EmbeddedSIMActivationCodePoolsEmbeddedSIMActivationCodePoolItemRequestBuilder) WithUrl(rawUrl string)(*EmbeddedSIMActivationCodePoolsEmbeddedSIMActivationCodePoolItemRequestBuilder) { + return NewEmbeddedSIMActivationCodePoolsEmbeddedSIMActivationCodePoolItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/embedded_s_i_m_activation_code_pools_item_assign_request_builder.go b/devicemanagement/embedded_s_i_m_activation_code_pools_item_assign_request_builder.go index f820dbe270a..3e5037bf103 100644 --- a/devicemanagement/embedded_s_i_m_activation_code_pools_item_assign_request_builder.go +++ b/devicemanagement/embedded_s_i_m_activation_code_pools_item_assign_request_builder.go @@ -66,3 +66,7 @@ func (m *EmbeddedSIMActivationCodePoolsItemAssignRequestBuilder) ToPostRequestIn } 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 *EmbeddedSIMActivationCodePoolsItemAssignRequestBuilder) WithUrl(rawUrl string)(*EmbeddedSIMActivationCodePoolsItemAssignRequestBuilder) { + return NewEmbeddedSIMActivationCodePoolsItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/embedded_s_i_m_activation_code_pools_item_assignments_count_request_builder.go b/devicemanagement/embedded_s_i_m_activation_code_pools_item_assignments_count_request_builder.go index ec5845789cb..d99bd568a31 100644 --- a/devicemanagement/embedded_s_i_m_activation_code_pools_item_assignments_count_request_builder.go +++ b/devicemanagement/embedded_s_i_m_activation_code_pools_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EmbeddedSIMActivationCodePoolsItemAssignmentsCountRequestBuilder) ToGet } 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 *EmbeddedSIMActivationCodePoolsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*EmbeddedSIMActivationCodePoolsItemAssignmentsCountRequestBuilder) { + return NewEmbeddedSIMActivationCodePoolsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/embedded_s_i_m_activation_code_pools_item_assignments_embedded_s_i_m_activation_code_pool_assignment_item_request_builder.go b/devicemanagement/embedded_s_i_m_activation_code_pools_item_assignments_embedded_s_i_m_activation_code_pool_assignment_item_request_builder.go index 443877e50db..1f5088e1c92 100644 --- a/devicemanagement/embedded_s_i_m_activation_code_pools_item_assignments_embedded_s_i_m_activation_code_pool_assignment_item_request_builder.go +++ b/devicemanagement/embedded_s_i_m_activation_code_pools_item_assignments_embedded_s_i_m_activation_code_pool_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *EmbeddedSIMActivationCodePoolsItemAssignmentsEmbeddedSIMActivationCodeP } 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 *EmbeddedSIMActivationCodePoolsItemAssignmentsEmbeddedSIMActivationCodePoolAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*EmbeddedSIMActivationCodePoolsItemAssignmentsEmbeddedSIMActivationCodePoolAssignmentItemRequestBuilder) { + return NewEmbeddedSIMActivationCodePoolsItemAssignmentsEmbeddedSIMActivationCodePoolAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/embedded_s_i_m_activation_code_pools_item_assignments_request_builder.go b/devicemanagement/embedded_s_i_m_activation_code_pools_item_assignments_request_builder.go index c2540e26d0e..152844e6ec2 100644 --- a/devicemanagement/embedded_s_i_m_activation_code_pools_item_assignments_request_builder.go +++ b/devicemanagement/embedded_s_i_m_activation_code_pools_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type EmbeddedSIMActivationCodePoolsItemAssignmentsRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEmbeddedSIMActivationCodePoolAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.embeddedSIMActivationCodePool entity. -func (m *EmbeddedSIMActivationCodePoolsItemAssignmentsRequestBuilder) ByEmbeddedSIMActivationCodePoolAssignmentIdString(embeddedSIMActivationCodePoolAssignmentId string)(*EmbeddedSIMActivationCodePoolsItemAssignmentsEmbeddedSIMActivationCodePoolAssignmentItemRequestBuilder) { +// ByEmbeddedSIMActivationCodePoolAssignmentId provides operations to manage the assignments property of the microsoft.graph.embeddedSIMActivationCodePool entity. +func (m *EmbeddedSIMActivationCodePoolsItemAssignmentsRequestBuilder) ByEmbeddedSIMActivationCodePoolAssignmentId(embeddedSIMActivationCodePoolAssignmentId string)(*EmbeddedSIMActivationCodePoolsItemAssignmentsEmbeddedSIMActivationCodePoolAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EmbeddedSIMActivationCodePoolsItemAssignmentsRequestBuilder) ToPostRequ } 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 *EmbeddedSIMActivationCodePoolsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*EmbeddedSIMActivationCodePoolsItemAssignmentsRequestBuilder) { + return NewEmbeddedSIMActivationCodePoolsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/embedded_s_i_m_activation_code_pools_item_device_states_count_request_builder.go b/devicemanagement/embedded_s_i_m_activation_code_pools_item_device_states_count_request_builder.go index f3ac4659658..b7c8d51c63d 100644 --- a/devicemanagement/embedded_s_i_m_activation_code_pools_item_device_states_count_request_builder.go +++ b/devicemanagement/embedded_s_i_m_activation_code_pools_item_device_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EmbeddedSIMActivationCodePoolsItemDeviceStatesCountRequestBuilder) ToGe } 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 *EmbeddedSIMActivationCodePoolsItemDeviceStatesCountRequestBuilder) WithUrl(rawUrl string)(*EmbeddedSIMActivationCodePoolsItemDeviceStatesCountRequestBuilder) { + return NewEmbeddedSIMActivationCodePoolsItemDeviceStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/embedded_s_i_m_activation_code_pools_item_device_states_embedded_s_i_m_device_state_item_request_builder.go b/devicemanagement/embedded_s_i_m_activation_code_pools_item_device_states_embedded_s_i_m_device_state_item_request_builder.go index ed217902300..72f792710d1 100644 --- a/devicemanagement/embedded_s_i_m_activation_code_pools_item_device_states_embedded_s_i_m_device_state_item_request_builder.go +++ b/devicemanagement/embedded_s_i_m_activation_code_pools_item_device_states_embedded_s_i_m_device_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *EmbeddedSIMActivationCodePoolsItemDeviceStatesEmbeddedSIMDeviceStateIte } 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 *EmbeddedSIMActivationCodePoolsItemDeviceStatesEmbeddedSIMDeviceStateItemRequestBuilder) WithUrl(rawUrl string)(*EmbeddedSIMActivationCodePoolsItemDeviceStatesEmbeddedSIMDeviceStateItemRequestBuilder) { + return NewEmbeddedSIMActivationCodePoolsItemDeviceStatesEmbeddedSIMDeviceStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/embedded_s_i_m_activation_code_pools_item_device_states_request_builder.go b/devicemanagement/embedded_s_i_m_activation_code_pools_item_device_states_request_builder.go index b6aada0941d..b7f535136a4 100644 --- a/devicemanagement/embedded_s_i_m_activation_code_pools_item_device_states_request_builder.go +++ b/devicemanagement/embedded_s_i_m_activation_code_pools_item_device_states_request_builder.go @@ -46,8 +46,8 @@ type EmbeddedSIMActivationCodePoolsItemDeviceStatesRequestBuilderPostRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEmbeddedSIMDeviceStateIdString provides operations to manage the deviceStates property of the microsoft.graph.embeddedSIMActivationCodePool entity. -func (m *EmbeddedSIMActivationCodePoolsItemDeviceStatesRequestBuilder) ByEmbeddedSIMDeviceStateIdString(embeddedSIMDeviceStateId string)(*EmbeddedSIMActivationCodePoolsItemDeviceStatesEmbeddedSIMDeviceStateItemRequestBuilder) { +// ByEmbeddedSIMDeviceStateId provides operations to manage the deviceStates property of the microsoft.graph.embeddedSIMActivationCodePool entity. +func (m *EmbeddedSIMActivationCodePoolsItemDeviceStatesRequestBuilder) ByEmbeddedSIMDeviceStateId(embeddedSIMDeviceStateId string)(*EmbeddedSIMActivationCodePoolsItemDeviceStatesEmbeddedSIMDeviceStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EmbeddedSIMActivationCodePoolsItemDeviceStatesRequestBuilder) ToPostReq } 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 *EmbeddedSIMActivationCodePoolsItemDeviceStatesRequestBuilder) WithUrl(rawUrl string)(*EmbeddedSIMActivationCodePoolsItemDeviceStatesRequestBuilder) { + return NewEmbeddedSIMActivationCodePoolsItemDeviceStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/embedded_s_i_m_activation_code_pools_request_builder.go b/devicemanagement/embedded_s_i_m_activation_code_pools_request_builder.go index c5757e8f2ee..3633d0830a4 100644 --- a/devicemanagement/embedded_s_i_m_activation_code_pools_request_builder.go +++ b/devicemanagement/embedded_s_i_m_activation_code_pools_request_builder.go @@ -46,8 +46,8 @@ type EmbeddedSIMActivationCodePoolsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEmbeddedSIMActivationCodePoolIdString provides operations to manage the embeddedSIMActivationCodePools property of the microsoft.graph.deviceManagement entity. -func (m *EmbeddedSIMActivationCodePoolsRequestBuilder) ByEmbeddedSIMActivationCodePoolIdString(embeddedSIMActivationCodePoolId string)(*EmbeddedSIMActivationCodePoolsEmbeddedSIMActivationCodePoolItemRequestBuilder) { +// ByEmbeddedSIMActivationCodePoolId provides operations to manage the embeddedSIMActivationCodePools property of the microsoft.graph.deviceManagement entity. +func (m *EmbeddedSIMActivationCodePoolsRequestBuilder) ByEmbeddedSIMActivationCodePoolId(embeddedSIMActivationCodePoolId string)(*EmbeddedSIMActivationCodePoolsEmbeddedSIMActivationCodePoolItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EmbeddedSIMActivationCodePoolsRequestBuilder) 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 *EmbeddedSIMActivationCodePoolsRequestBuilder) WithUrl(rawUrl string)(*EmbeddedSIMActivationCodePoolsRequestBuilder) { + return NewEmbeddedSIMActivationCodePoolsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/enable_android_device_administrator_enrollment_request_builder.go b/devicemanagement/enable_android_device_administrator_enrollment_request_builder.go index 6d14b9a936b..26111f3adf9 100644 --- a/devicemanagement/enable_android_device_administrator_enrollment_request_builder.go +++ b/devicemanagement/enable_android_device_administrator_enrollment_request_builder.go @@ -58,3 +58,7 @@ func (m *EnableAndroidDeviceAdministratorEnrollmentRequestBuilder) ToPostRequest } 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 *EnableAndroidDeviceAdministratorEnrollmentRequestBuilder) WithUrl(rawUrl string)(*EnableAndroidDeviceAdministratorEnrollmentRequestBuilder) { + return NewEnableAndroidDeviceAdministratorEnrollmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/enable_legacy_pc_management_request_builder.go b/devicemanagement/enable_legacy_pc_management_request_builder.go index 0b88a12d01e..d40794dbf76 100644 --- a/devicemanagement/enable_legacy_pc_management_request_builder.go +++ b/devicemanagement/enable_legacy_pc_management_request_builder.go @@ -58,3 +58,7 @@ func (m *EnableLegacyPcManagementRequestBuilder) ToPostRequestInformation(ctx co } 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 *EnableLegacyPcManagementRequestBuilder) WithUrl(rawUrl string)(*EnableLegacyPcManagementRequestBuilder) { + return NewEnableLegacyPcManagementRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/enable_unlicensed_adminstrators_request_builder.go b/devicemanagement/enable_unlicensed_adminstrators_request_builder.go index f5f3fc51cd0..36d18624d49 100644 --- a/devicemanagement/enable_unlicensed_adminstrators_request_builder.go +++ b/devicemanagement/enable_unlicensed_adminstrators_request_builder.go @@ -58,3 +58,7 @@ func (m *EnableUnlicensedAdminstratorsRequestBuilder) ToPostRequestInformation(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 *EnableUnlicensedAdminstratorsRequestBuilder) WithUrl(rawUrl string)(*EnableUnlicensedAdminstratorsRequestBuilder) { + return NewEnableUnlicensedAdminstratorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/evaluate_assignment_filter_request_builder.go b/devicemanagement/evaluate_assignment_filter_request_builder.go index 12ab20b09ba..467c12b26e6 100644 --- a/devicemanagement/evaluate_assignment_filter_request_builder.go +++ b/devicemanagement/evaluate_assignment_filter_request_builder.go @@ -65,3 +65,7 @@ func (m *EvaluateAssignmentFilterRequestBuilder) ToPostRequestInformation(ctx co } 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 *EvaluateAssignmentFilterRequestBuilder) WithUrl(rawUrl string)(*EvaluateAssignmentFilterRequestBuilder) { + return NewEvaluateAssignmentFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/exchange_connectors_count_request_builder.go b/devicemanagement/exchange_connectors_count_request_builder.go index ef613db64be..943dbd70d4a 100644 --- a/devicemanagement/exchange_connectors_count_request_builder.go +++ b/devicemanagement/exchange_connectors_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ExchangeConnectorsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ExchangeConnectorsCountRequestBuilder) WithUrl(rawUrl string)(*ExchangeConnectorsCountRequestBuilder) { + return NewExchangeConnectorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/exchange_connectors_device_management_exchange_connector_item_request_builder.go b/devicemanagement/exchange_connectors_device_management_exchange_connector_item_request_builder.go index 09edab26d57..58368471e62 100644 --- a/devicemanagement/exchange_connectors_device_management_exchange_connector_item_request_builder.go +++ b/devicemanagement/exchange_connectors_device_management_exchange_connector_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilder) } 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 *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilder) WithUrl(rawUrl string)(*ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilder) { + return NewExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/exchange_connectors_item_sync_request_builder.go b/devicemanagement/exchange_connectors_item_sync_request_builder.go index 02c43a423f9..9768c0793a6 100644 --- a/devicemanagement/exchange_connectors_item_sync_request_builder.go +++ b/devicemanagement/exchange_connectors_item_sync_request_builder.go @@ -62,3 +62,7 @@ func (m *ExchangeConnectorsItemSyncRequestBuilder) 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 *ExchangeConnectorsItemSyncRequestBuilder) WithUrl(rawUrl string)(*ExchangeConnectorsItemSyncRequestBuilder) { + return NewExchangeConnectorsItemSyncRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/exchange_connectors_request_builder.go b/devicemanagement/exchange_connectors_request_builder.go index c8d0e5351f0..e6cdcfd00e3 100644 --- a/devicemanagement/exchange_connectors_request_builder.go +++ b/devicemanagement/exchange_connectors_request_builder.go @@ -46,8 +46,8 @@ type ExchangeConnectorsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementExchangeConnectorIdString provides operations to manage the exchangeConnectors property of the microsoft.graph.deviceManagement entity. -func (m *ExchangeConnectorsRequestBuilder) ByDeviceManagementExchangeConnectorIdString(deviceManagementExchangeConnectorId string)(*ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilder) { +// ByDeviceManagementExchangeConnectorId provides operations to manage the exchangeConnectors property of the microsoft.graph.deviceManagement entity. +func (m *ExchangeConnectorsRequestBuilder) ByDeviceManagementExchangeConnectorId(deviceManagementExchangeConnectorId string)(*ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ExchangeConnectorsRequestBuilder) 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 *ExchangeConnectorsRequestBuilder) WithUrl(rawUrl string)(*ExchangeConnectorsRequestBuilder) { + return NewExchangeConnectorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/exchange_on_premises_policies_count_request_builder.go b/devicemanagement/exchange_on_premises_policies_count_request_builder.go index 80695b17201..8bd63ead973 100644 --- a/devicemanagement/exchange_on_premises_policies_count_request_builder.go +++ b/devicemanagement/exchange_on_premises_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ExchangeOnPremisesPoliciesCountRequestBuilder) 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 *ExchangeOnPremisesPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ExchangeOnPremisesPoliciesCountRequestBuilder) { + return NewExchangeOnPremisesPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/exchange_on_premises_policies_device_management_exchange_on_premises_policy_item_request_builder.go b/devicemanagement/exchange_on_premises_policies_device_management_exchange_on_premises_policy_item_request_builder.go index f17160f3ef4..f930211d63f 100644 --- a/devicemanagement/exchange_on_premises_policies_device_management_exchange_on_premises_policy_item_request_builder.go +++ b/devicemanagement/exchange_on_premises_policies_device_management_exchange_on_premises_policy_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ExchangeOnPremisesPoliciesDeviceManagementExchangeOnPremisesPolicyItemR } 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 *ExchangeOnPremisesPoliciesDeviceManagementExchangeOnPremisesPolicyItemRequestBuilder) WithUrl(rawUrl string)(*ExchangeOnPremisesPoliciesDeviceManagementExchangeOnPremisesPolicyItemRequestBuilder) { + return NewExchangeOnPremisesPoliciesDeviceManagementExchangeOnPremisesPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/exchange_on_premises_policies_item_conditional_access_settings_request_builder.go b/devicemanagement/exchange_on_premises_policies_item_conditional_access_settings_request_builder.go index eeaf7b184fa..9742cdf2d3c 100644 --- a/devicemanagement/exchange_on_premises_policies_item_conditional_access_settings_request_builder.go +++ b/devicemanagement/exchange_on_premises_policies_item_conditional_access_settings_request_builder.go @@ -153,3 +153,7 @@ func (m *ExchangeOnPremisesPoliciesItemConditionalAccessSettingsRequestBuilder) } 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 *ExchangeOnPremisesPoliciesItemConditionalAccessSettingsRequestBuilder) WithUrl(rawUrl string)(*ExchangeOnPremisesPoliciesItemConditionalAccessSettingsRequestBuilder) { + return NewExchangeOnPremisesPoliciesItemConditionalAccessSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/exchange_on_premises_policies_request_builder.go b/devicemanagement/exchange_on_premises_policies_request_builder.go index 258ca315a7d..7b5abadeead 100644 --- a/devicemanagement/exchange_on_premises_policies_request_builder.go +++ b/devicemanagement/exchange_on_premises_policies_request_builder.go @@ -46,8 +46,8 @@ type ExchangeOnPremisesPoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementExchangeOnPremisesPolicyIdString provides operations to manage the exchangeOnPremisesPolicies property of the microsoft.graph.deviceManagement entity. -func (m *ExchangeOnPremisesPoliciesRequestBuilder) ByDeviceManagementExchangeOnPremisesPolicyIdString(deviceManagementExchangeOnPremisesPolicyId string)(*ExchangeOnPremisesPoliciesDeviceManagementExchangeOnPremisesPolicyItemRequestBuilder) { +// ByDeviceManagementExchangeOnPremisesPolicyId provides operations to manage the exchangeOnPremisesPolicies property of the microsoft.graph.deviceManagement entity. +func (m *ExchangeOnPremisesPoliciesRequestBuilder) ByDeviceManagementExchangeOnPremisesPolicyId(deviceManagementExchangeOnPremisesPolicyId string)(*ExchangeOnPremisesPoliciesDeviceManagementExchangeOnPremisesPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ExchangeOnPremisesPoliciesRequestBuilder) 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 *ExchangeOnPremisesPoliciesRequestBuilder) WithUrl(rawUrl string)(*ExchangeOnPremisesPoliciesRequestBuilder) { + return NewExchangeOnPremisesPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/exchange_on_premises_policy_conditional_access_settings_request_builder.go b/devicemanagement/exchange_on_premises_policy_conditional_access_settings_request_builder.go index baf16648750..63e7980270a 100644 --- a/devicemanagement/exchange_on_premises_policy_conditional_access_settings_request_builder.go +++ b/devicemanagement/exchange_on_premises_policy_conditional_access_settings_request_builder.go @@ -153,3 +153,7 @@ func (m *ExchangeOnPremisesPolicyConditionalAccessSettingsRequestBuilder) ToPatc } 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 *ExchangeOnPremisesPolicyConditionalAccessSettingsRequestBuilder) WithUrl(rawUrl string)(*ExchangeOnPremisesPolicyConditionalAccessSettingsRequestBuilder) { + return NewExchangeOnPremisesPolicyConditionalAccessSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/exchange_on_premises_policy_request_builder.go b/devicemanagement/exchange_on_premises_policy_request_builder.go index 16f7fd98017..e363240e782 100644 --- a/devicemanagement/exchange_on_premises_policy_request_builder.go +++ b/devicemanagement/exchange_on_premises_policy_request_builder.go @@ -157,3 +157,7 @@ func (m *ExchangeOnPremisesPolicyRequestBuilder) 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 *ExchangeOnPremisesPolicyRequestBuilder) WithUrl(rawUrl string)(*ExchangeOnPremisesPolicyRequestBuilder) { + return NewExchangeOnPremisesPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/get_assigned_role_details_request_builder.go b/devicemanagement/get_assigned_role_details_request_builder.go index 965ed9c912b..50a664b5ae8 100644 --- a/devicemanagement/get_assigned_role_details_request_builder.go +++ b/devicemanagement/get_assigned_role_details_request_builder.go @@ -63,3 +63,7 @@ func (m *GetAssignedRoleDetailsRequestBuilder) ToGetRequestInformation(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 *GetAssignedRoleDetailsRequestBuilder) WithUrl(rawUrl string)(*GetAssignedRoleDetailsRequestBuilder) { + return NewGetAssignedRoleDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/get_assignment_filters_status_details_request_builder.go b/devicemanagement/get_assignment_filters_status_details_request_builder.go index 09b5d0db357..dece3deaf65 100644 --- a/devicemanagement/get_assignment_filters_status_details_request_builder.go +++ b/devicemanagement/get_assignment_filters_status_details_request_builder.go @@ -67,3 +67,7 @@ func (m *GetAssignmentFiltersStatusDetailsRequestBuilder) ToPostRequestInformati } 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 *GetAssignmentFiltersStatusDetailsRequestBuilder) WithUrl(rawUrl string)(*GetAssignmentFiltersStatusDetailsRequestBuilder) { + return NewGetAssignmentFiltersStatusDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/get_comanaged_devices_summary_request_builder.go b/devicemanagement/get_comanaged_devices_summary_request_builder.go index 1ae87e45b7b..db3349ae955 100644 --- a/devicemanagement/get_comanaged_devices_summary_request_builder.go +++ b/devicemanagement/get_comanaged_devices_summary_request_builder.go @@ -63,3 +63,7 @@ func (m *GetComanagedDevicesSummaryRequestBuilder) ToGetRequestInformation(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 *GetComanagedDevicesSummaryRequestBuilder) WithUrl(rawUrl string)(*GetComanagedDevicesSummaryRequestBuilder) { + return NewGetComanagedDevicesSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/get_comanagement_eligible_devices_summary_request_builder.go b/devicemanagement/get_comanagement_eligible_devices_summary_request_builder.go index ae7e21a3c02..f6aa6bdeb50 100644 --- a/devicemanagement/get_comanagement_eligible_devices_summary_request_builder.go +++ b/devicemanagement/get_comanagement_eligible_devices_summary_request_builder.go @@ -63,3 +63,7 @@ func (m *GetComanagementEligibleDevicesSummaryRequestBuilder) ToGetRequestInform } 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 *GetComanagementEligibleDevicesSummaryRequestBuilder) WithUrl(rawUrl string)(*GetComanagementEligibleDevicesSummaryRequestBuilder) { + return NewGetComanagementEligibleDevicesSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/get_effective_permissions_request_builder.go b/devicemanagement/get_effective_permissions_request_builder.go index bce555d87f1..eef9f58743b 100644 --- a/devicemanagement/get_effective_permissions_request_builder.go +++ b/devicemanagement/get_effective_permissions_request_builder.go @@ -80,3 +80,7 @@ func (m *GetEffectivePermissionsRequestBuilder) ToGetRequestInformation(ctx cont } 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 *GetEffectivePermissionsRequestBuilder) WithUrl(rawUrl string)(*GetEffectivePermissionsRequestBuilder) { + return NewGetEffectivePermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/get_effective_permissions_with_scope_request_builder.go b/devicemanagement/get_effective_permissions_with_scope_request_builder.go index d9d4147d88a..34358f6b4ae 100644 --- a/devicemanagement/get_effective_permissions_with_scope_request_builder.go +++ b/devicemanagement/get_effective_permissions_with_scope_request_builder.go @@ -83,3 +83,7 @@ func (m *GetEffectivePermissionsWithScopeRequestBuilder) 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 *GetEffectivePermissionsWithScopeRequestBuilder) WithUrl(rawUrl string)(*GetEffectivePermissionsWithScopeRequestBuilder) { + return NewGetEffectivePermissionsWithScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/get_role_scope_tags_by_ids_with_ids_request_builder.go b/devicemanagement/get_role_scope_tags_by_ids_with_ids_request_builder.go index 51069130ad0..a493811d5ae 100644 --- a/devicemanagement/get_role_scope_tags_by_ids_with_ids_request_builder.go +++ b/devicemanagement/get_role_scope_tags_by_ids_with_ids_request_builder.go @@ -87,3 +87,7 @@ func (m *GetRoleScopeTagsByIdsWithIdsRequestBuilder) ToGetRequestInformation(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 *GetRoleScopeTagsByIdsWithIdsRequestBuilder) WithUrl(rawUrl string)(*GetRoleScopeTagsByIdsWithIdsRequestBuilder) { + return NewGetRoleScopeTagsByIdsWithIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/get_role_scope_tags_by_resource_with_resource_request_builder.go b/devicemanagement/get_role_scope_tags_by_resource_with_resource_request_builder.go index fa973bc2255..fb4a9817181 100644 --- a/devicemanagement/get_role_scope_tags_by_resource_with_resource_request_builder.go +++ b/devicemanagement/get_role_scope_tags_by_resource_with_resource_request_builder.go @@ -87,3 +87,7 @@ func (m *GetRoleScopeTagsByResourceWithResourceRequestBuilder) ToGetRequestInfor } 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 *GetRoleScopeTagsByResourceWithResourceRequestBuilder) WithUrl(rawUrl string)(*GetRoleScopeTagsByResourceWithResourceRequestBuilder) { + return NewGetRoleScopeTagsByResourceWithResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/get_suggested_enrollment_limit_with_enrollment_type_request_builder.go b/devicemanagement/get_suggested_enrollment_limit_with_enrollment_type_request_builder.go index e07e9108aa2..822be598f6f 100644 --- a/devicemanagement/get_suggested_enrollment_limit_with_enrollment_type_request_builder.go +++ b/devicemanagement/get_suggested_enrollment_limit_with_enrollment_type_request_builder.go @@ -66,3 +66,7 @@ func (m *GetSuggestedEnrollmentLimitWithEnrollmentTypeRequestBuilder) ToGetReque } 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 *GetSuggestedEnrollmentLimitWithEnrollmentTypeRequestBuilder) WithUrl(rawUrl string)(*GetSuggestedEnrollmentLimitWithEnrollmentTypeRequestBuilder) { + return NewGetSuggestedEnrollmentLimitWithEnrollmentTypeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_categories_count_request_builder.go b/devicemanagement/group_policy_categories_count_request_builder.go index 0b2a5650147..e6d11ef15a3 100644 --- a/devicemanagement/group_policy_categories_count_request_builder.go +++ b/devicemanagement/group_policy_categories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupPolicyCategoriesCountRequestBuilder) ToGetRequestInformation(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 *GroupPolicyCategoriesCountRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyCategoriesCountRequestBuilder) { + return NewGroupPolicyCategoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_categories_group_policy_category_item_request_builder.go b/devicemanagement/group_policy_categories_group_policy_category_item_request_builder.go index 480c25a9822..ab77326a4ec 100644 --- a/devicemanagement/group_policy_categories_group_policy_category_item_request_builder.go +++ b/devicemanagement/group_policy_categories_group_policy_category_item_request_builder.go @@ -169,3 +169,7 @@ func (m *GroupPolicyCategoriesGroupPolicyCategoryItemRequestBuilder) ToPatchRequ } 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 *GroupPolicyCategoriesGroupPolicyCategoryItemRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyCategoriesGroupPolicyCategoryItemRequestBuilder) { + return NewGroupPolicyCategoriesGroupPolicyCategoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_categories_item_children_count_request_builder.go b/devicemanagement/group_policy_categories_item_children_count_request_builder.go index 754e0628a2c..f418badb3df 100644 --- a/devicemanagement/group_policy_categories_item_children_count_request_builder.go +++ b/devicemanagement/group_policy_categories_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupPolicyCategoriesItemChildrenCountRequestBuilder) ToGetRequestInfor } 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 *GroupPolicyCategoriesItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyCategoriesItemChildrenCountRequestBuilder) { + return NewGroupPolicyCategoriesItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_categories_item_children_group_policy_category_item_request_builder.go b/devicemanagement/group_policy_categories_item_children_group_policy_category_item_request_builder.go index 431d4d6fbe9..47195f58659 100644 --- a/devicemanagement/group_policy_categories_item_children_group_policy_category_item_request_builder.go +++ b/devicemanagement/group_policy_categories_item_children_group_policy_category_item_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyCategoriesItemChildrenGroupPolicyCategoryItemRequestBuilder) } 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 *GroupPolicyCategoriesItemChildrenGroupPolicyCategoryItemRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyCategoriesItemChildrenGroupPolicyCategoryItemRequestBuilder) { + return NewGroupPolicyCategoriesItemChildrenGroupPolicyCategoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_categories_item_children_request_builder.go b/devicemanagement/group_policy_categories_item_children_request_builder.go index cf0960856c6..dd03d623729 100644 --- a/devicemanagement/group_policy_categories_item_children_request_builder.go +++ b/devicemanagement/group_policy_categories_item_children_request_builder.go @@ -39,8 +39,8 @@ type GroupPolicyCategoriesItemChildrenRequestBuilderGetRequestConfiguration stru // Request query parameters QueryParameters *GroupPolicyCategoriesItemChildrenRequestBuilderGetQueryParameters } -// ByGroupPolicyCategoryId1String provides operations to manage the children property of the microsoft.graph.groupPolicyCategory entity. -func (m *GroupPolicyCategoriesItemChildrenRequestBuilder) ByGroupPolicyCategoryId1String(groupPolicyCategoryId1 string)(*GroupPolicyCategoriesItemChildrenGroupPolicyCategoryItemRequestBuilder) { +// ByGroupPolicyCategoryId1 provides operations to manage the children property of the microsoft.graph.groupPolicyCategory entity. +func (m *GroupPolicyCategoriesItemChildrenRequestBuilder) ByGroupPolicyCategoryId1(groupPolicyCategoryId1 string)(*GroupPolicyCategoriesItemChildrenGroupPolicyCategoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *GroupPolicyCategoriesItemChildrenRequestBuilder) 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 *GroupPolicyCategoriesItemChildrenRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyCategoriesItemChildrenRequestBuilder) { + return NewGroupPolicyCategoriesItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_categories_item_definition_file_request_builder.go b/devicemanagement/group_policy_categories_item_definition_file_request_builder.go index 3b9990aa21b..7566ce77c4b 100644 --- a/devicemanagement/group_policy_categories_item_definition_file_request_builder.go +++ b/devicemanagement/group_policy_categories_item_definition_file_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyCategoriesItemDefinitionFileRequestBuilder) ToGetRequestInfo } 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 *GroupPolicyCategoriesItemDefinitionFileRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyCategoriesItemDefinitionFileRequestBuilder) { + return NewGroupPolicyCategoriesItemDefinitionFileRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_categories_item_definitions_count_request_builder.go b/devicemanagement/group_policy_categories_item_definitions_count_request_builder.go index f7395cb3a6c..c01dcd869b6 100644 --- a/devicemanagement/group_policy_categories_item_definitions_count_request_builder.go +++ b/devicemanagement/group_policy_categories_item_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupPolicyCategoriesItemDefinitionsCountRequestBuilder) ToGetRequestIn } 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 *GroupPolicyCategoriesItemDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyCategoriesItemDefinitionsCountRequestBuilder) { + return NewGroupPolicyCategoriesItemDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_categories_item_definitions_group_policy_definition_item_request_builder.go b/devicemanagement/group_policy_categories_item_definitions_group_policy_definition_item_request_builder.go index 13830cb84c7..b1c964fab51 100644 --- a/devicemanagement/group_policy_categories_item_definitions_group_policy_definition_item_request_builder.go +++ b/devicemanagement/group_policy_categories_item_definitions_group_policy_definition_item_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyCategoriesItemDefinitionsGroupPolicyDefinitionItemRequestBui } 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 *GroupPolicyCategoriesItemDefinitionsGroupPolicyDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyCategoriesItemDefinitionsGroupPolicyDefinitionItemRequestBuilder) { + return NewGroupPolicyCategoriesItemDefinitionsGroupPolicyDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_categories_item_definitions_request_builder.go b/devicemanagement/group_policy_categories_item_definitions_request_builder.go index f29c28195c2..1af6c93401e 100644 --- a/devicemanagement/group_policy_categories_item_definitions_request_builder.go +++ b/devicemanagement/group_policy_categories_item_definitions_request_builder.go @@ -39,8 +39,8 @@ type GroupPolicyCategoriesItemDefinitionsRequestBuilderGetRequestConfiguration s // Request query parameters QueryParameters *GroupPolicyCategoriesItemDefinitionsRequestBuilderGetQueryParameters } -// ByGroupPolicyDefinitionIdString provides operations to manage the definitions property of the microsoft.graph.groupPolicyCategory entity. -func (m *GroupPolicyCategoriesItemDefinitionsRequestBuilder) ByGroupPolicyDefinitionIdString(groupPolicyDefinitionId string)(*GroupPolicyCategoriesItemDefinitionsGroupPolicyDefinitionItemRequestBuilder) { +// ByGroupPolicyDefinitionId provides operations to manage the definitions property of the microsoft.graph.groupPolicyCategory entity. +func (m *GroupPolicyCategoriesItemDefinitionsRequestBuilder) ByGroupPolicyDefinitionId(groupPolicyDefinitionId string)(*GroupPolicyCategoriesItemDefinitionsGroupPolicyDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *GroupPolicyCategoriesItemDefinitionsRequestBuilder) ToGetRequestInforma } 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 *GroupPolicyCategoriesItemDefinitionsRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyCategoriesItemDefinitionsRequestBuilder) { + return NewGroupPolicyCategoriesItemDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_categories_item_parent_request_builder.go b/devicemanagement/group_policy_categories_item_parent_request_builder.go index ba5590350b9..9ce3362399f 100644 --- a/devicemanagement/group_policy_categories_item_parent_request_builder.go +++ b/devicemanagement/group_policy_categories_item_parent_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyCategoriesItemParentRequestBuilder) 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 *GroupPolicyCategoriesItemParentRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyCategoriesItemParentRequestBuilder) { + return NewGroupPolicyCategoriesItemParentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_categories_request_builder.go b/devicemanagement/group_policy_categories_request_builder.go index a21f7b68869..aa828dbf979 100644 --- a/devicemanagement/group_policy_categories_request_builder.go +++ b/devicemanagement/group_policy_categories_request_builder.go @@ -46,8 +46,8 @@ type GroupPolicyCategoriesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupPolicyCategoryIdString provides operations to manage the groupPolicyCategories property of the microsoft.graph.deviceManagement entity. -func (m *GroupPolicyCategoriesRequestBuilder) ByGroupPolicyCategoryIdString(groupPolicyCategoryId string)(*GroupPolicyCategoriesGroupPolicyCategoryItemRequestBuilder) { +// ByGroupPolicyCategoryId provides operations to manage the groupPolicyCategories property of the microsoft.graph.deviceManagement entity. +func (m *GroupPolicyCategoriesRequestBuilder) ByGroupPolicyCategoryId(groupPolicyCategoryId string)(*GroupPolicyCategoriesGroupPolicyCategoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupPolicyCategoriesRequestBuilder) 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 *GroupPolicyCategoriesRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyCategoriesRequestBuilder) { + return NewGroupPolicyCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_configurations_count_request_builder.go b/devicemanagement/group_policy_configurations_count_request_builder.go index e77a13e9d9c..29a81132ebe 100644 --- a/devicemanagement/group_policy_configurations_count_request_builder.go +++ b/devicemanagement/group_policy_configurations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupPolicyConfigurationsCountRequestBuilder) ToGetRequestInformation(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 *GroupPolicyConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyConfigurationsCountRequestBuilder) { + return NewGroupPolicyConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_configurations_group_policy_configuration_item_request_builder.go b/devicemanagement/group_policy_configurations_group_policy_configuration_item_request_builder.go index 08957709fc1..e595293ee7d 100644 --- a/devicemanagement/group_policy_configurations_group_policy_configuration_item_request_builder.go +++ b/devicemanagement/group_policy_configurations_group_policy_configuration_item_request_builder.go @@ -169,3 +169,7 @@ func (m *GroupPolicyConfigurationsGroupPolicyConfigurationItemRequestBuilder) To func (m *GroupPolicyConfigurationsGroupPolicyConfigurationItemRequestBuilder) UpdateDefinitionValues()(*GroupPolicyConfigurationsItemUpdateDefinitionValuesRequestBuilder) { return NewGroupPolicyConfigurationsItemUpdateDefinitionValuesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *GroupPolicyConfigurationsGroupPolicyConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyConfigurationsGroupPolicyConfigurationItemRequestBuilder) { + return NewGroupPolicyConfigurationsGroupPolicyConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_configurations_item_assign_request_builder.go b/devicemanagement/group_policy_configurations_item_assign_request_builder.go index e5913ac392b..c31470814ed 100644 --- a/devicemanagement/group_policy_configurations_item_assign_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_assign_request_builder.go @@ -66,3 +66,7 @@ func (m *GroupPolicyConfigurationsItemAssignRequestBuilder) ToPostRequestInforma } 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 *GroupPolicyConfigurationsItemAssignRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyConfigurationsItemAssignRequestBuilder) { + return NewGroupPolicyConfigurationsItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_configurations_item_assignments_count_request_builder.go b/devicemanagement/group_policy_configurations_item_assignments_count_request_builder.go index 5bc6cd4ae6a..d860890ff26 100644 --- a/devicemanagement/group_policy_configurations_item_assignments_count_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupPolicyConfigurationsItemAssignmentsCountRequestBuilder) ToGetReque } 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 *GroupPolicyConfigurationsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyConfigurationsItemAssignmentsCountRequestBuilder) { + return NewGroupPolicyConfigurationsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_configurations_item_assignments_group_policy_configuration_assignment_item_request_builder.go b/devicemanagement/group_policy_configurations_item_assignments_group_policy_configuration_assignment_item_request_builder.go index 6415389dcc1..0da0061477a 100644 --- a/devicemanagement/group_policy_configurations_item_assignments_group_policy_configuration_assignment_item_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_assignments_group_policy_configuration_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *GroupPolicyConfigurationsItemAssignmentsGroupPolicyConfigurationAssignm } 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 *GroupPolicyConfigurationsItemAssignmentsGroupPolicyConfigurationAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyConfigurationsItemAssignmentsGroupPolicyConfigurationAssignmentItemRequestBuilder) { + return NewGroupPolicyConfigurationsItemAssignmentsGroupPolicyConfigurationAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_configurations_item_assignments_request_builder.go b/devicemanagement/group_policy_configurations_item_assignments_request_builder.go index 08d77484c42..5465fd7a889 100644 --- a/devicemanagement/group_policy_configurations_item_assignments_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type GroupPolicyConfigurationsItemAssignmentsRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupPolicyConfigurationAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.groupPolicyConfiguration entity. -func (m *GroupPolicyConfigurationsItemAssignmentsRequestBuilder) ByGroupPolicyConfigurationAssignmentIdString(groupPolicyConfigurationAssignmentId string)(*GroupPolicyConfigurationsItemAssignmentsGroupPolicyConfigurationAssignmentItemRequestBuilder) { +// ByGroupPolicyConfigurationAssignmentId provides operations to manage the assignments property of the microsoft.graph.groupPolicyConfiguration entity. +func (m *GroupPolicyConfigurationsItemAssignmentsRequestBuilder) ByGroupPolicyConfigurationAssignmentId(groupPolicyConfigurationAssignmentId string)(*GroupPolicyConfigurationsItemAssignmentsGroupPolicyConfigurationAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupPolicyConfigurationsItemAssignmentsRequestBuilder) ToPostRequestIn } 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 *GroupPolicyConfigurationsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyConfigurationsItemAssignmentsRequestBuilder) { + return NewGroupPolicyConfigurationsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_configurations_item_definition_values_count_request_builder.go b/devicemanagement/group_policy_configurations_item_definition_values_count_request_builder.go index 196d816b222..de5da7be45d 100644 --- a/devicemanagement/group_policy_configurations_item_definition_values_count_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_definition_values_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupPolicyConfigurationsItemDefinitionValuesCountRequestBuilder) ToGet } 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 *GroupPolicyConfigurationsItemDefinitionValuesCountRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyConfigurationsItemDefinitionValuesCountRequestBuilder) { + return NewGroupPolicyConfigurationsItemDefinitionValuesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_configurations_item_definition_values_group_policy_definition_value_item_request_builder.go b/devicemanagement/group_policy_configurations_item_definition_values_group_policy_definition_value_item_request_builder.go index 518239b8943..68b1c4a0779 100644 --- a/devicemanagement/group_policy_configurations_item_definition_values_group_policy_definition_value_item_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_definition_values_group_policy_definition_value_item_request_builder.go @@ -161,3 +161,7 @@ func (m *GroupPolicyConfigurationsItemDefinitionValuesGroupPolicyDefinitionValue } 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 *GroupPolicyConfigurationsItemDefinitionValuesGroupPolicyDefinitionValueItemRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyConfigurationsItemDefinitionValuesGroupPolicyDefinitionValueItemRequestBuilder) { + return NewGroupPolicyConfigurationsItemDefinitionValuesGroupPolicyDefinitionValueItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_configurations_item_definition_values_item_definition_request_builder.go b/devicemanagement/group_policy_configurations_item_definition_values_item_definition_request_builder.go index ab7a415daba..8660b5c061e 100644 --- a/devicemanagement/group_policy_configurations_item_definition_values_item_definition_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_definition_values_item_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyConfigurationsItemDefinitionValuesItemDefinitionRequestBuild } 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 *GroupPolicyConfigurationsItemDefinitionValuesItemDefinitionRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyConfigurationsItemDefinitionValuesItemDefinitionRequestBuilder) { + return NewGroupPolicyConfigurationsItemDefinitionValuesItemDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_count_request_builder.go b/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_count_request_builder.go index 36a9221309d..3e7e7e748b1 100644 --- a/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_count_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesCoun } 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 *GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesCountRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesCountRequestBuilder) { + return NewGroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_group_policy_presentation_value_item_request_builder.go b/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_group_policy_presentation_value_item_request_builder.go index 988d6442b96..a34298ab610 100644 --- a/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_group_policy_presentation_value_item_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_group_policy_presentation_value_item_request_builder.go @@ -161,3 +161,7 @@ func (m *GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesGrou } 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 *GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesGroupPolicyPresentationValueItemRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesGroupPolicyPresentationValueItemRequestBuilder) { + return NewGroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesGroupPolicyPresentationValueItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_item_definition_value_request_builder.go b/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_item_definition_value_request_builder.go index c55368554a5..9c564dfe820 100644 --- a/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_item_definition_value_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_item_definition_value_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesItem } 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 *GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesItemDefinitionValueRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesItemDefinitionValueRequestBuilder) { + return NewGroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesItemDefinitionValueRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_item_presentation_request_builder.go b/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_item_presentation_request_builder.go index 92329f6a7cd..ee2bfa72d22 100644 --- a/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_item_presentation_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_item_presentation_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesItem } 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 *GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesItemPresentationRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesItemPresentationRequestBuilder) { + return NewGroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesItemPresentationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_request_builder.go b/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_request_builder.go index e82ea02eeb9..5f8b2182ffb 100644 --- a/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_request_builder.go @@ -46,8 +46,8 @@ type GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupPolicyPresentationValueIdString provides operations to manage the presentationValues property of the microsoft.graph.groupPolicyDefinitionValue entity. -func (m *GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesRequestBuilder) ByGroupPolicyPresentationValueIdString(groupPolicyPresentationValueId string)(*GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesGroupPolicyPresentationValueItemRequestBuilder) { +// ByGroupPolicyPresentationValueId provides operations to manage the presentationValues property of the microsoft.graph.groupPolicyDefinitionValue entity. +func (m *GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesRequestBuilder) ByGroupPolicyPresentationValueId(groupPolicyPresentationValueId string)(*GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesGroupPolicyPresentationValueItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesRequ } 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 *GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesRequestBuilder) { + return NewGroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_configurations_item_definition_values_request_builder.go b/devicemanagement/group_policy_configurations_item_definition_values_request_builder.go index dbfead1a70f..100b1ef8904 100644 --- a/devicemanagement/group_policy_configurations_item_definition_values_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_definition_values_request_builder.go @@ -46,8 +46,8 @@ type GroupPolicyConfigurationsItemDefinitionValuesRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupPolicyDefinitionValueIdString provides operations to manage the definitionValues property of the microsoft.graph.groupPolicyConfiguration entity. -func (m *GroupPolicyConfigurationsItemDefinitionValuesRequestBuilder) ByGroupPolicyDefinitionValueIdString(groupPolicyDefinitionValueId string)(*GroupPolicyConfigurationsItemDefinitionValuesGroupPolicyDefinitionValueItemRequestBuilder) { +// ByGroupPolicyDefinitionValueId provides operations to manage the definitionValues property of the microsoft.graph.groupPolicyConfiguration entity. +func (m *GroupPolicyConfigurationsItemDefinitionValuesRequestBuilder) ByGroupPolicyDefinitionValueId(groupPolicyDefinitionValueId string)(*GroupPolicyConfigurationsItemDefinitionValuesGroupPolicyDefinitionValueItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupPolicyConfigurationsItemDefinitionValuesRequestBuilder) ToPostRequ } 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 *GroupPolicyConfigurationsItemDefinitionValuesRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyConfigurationsItemDefinitionValuesRequestBuilder) { + return NewGroupPolicyConfigurationsItemDefinitionValuesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_configurations_item_update_definition_values_request_builder.go b/devicemanagement/group_policy_configurations_item_update_definition_values_request_builder.go index 960ed7b9056..bc0fcd462f0 100644 --- a/devicemanagement/group_policy_configurations_item_update_definition_values_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_update_definition_values_request_builder.go @@ -62,3 +62,7 @@ func (m *GroupPolicyConfigurationsItemUpdateDefinitionValuesRequestBuilder) ToPo } 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 *GroupPolicyConfigurationsItemUpdateDefinitionValuesRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyConfigurationsItemUpdateDefinitionValuesRequestBuilder) { + return NewGroupPolicyConfigurationsItemUpdateDefinitionValuesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_configurations_request_builder.go b/devicemanagement/group_policy_configurations_request_builder.go index 2e82b293fef..095eaea7fa9 100644 --- a/devicemanagement/group_policy_configurations_request_builder.go +++ b/devicemanagement/group_policy_configurations_request_builder.go @@ -46,8 +46,8 @@ type GroupPolicyConfigurationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupPolicyConfigurationIdString provides operations to manage the groupPolicyConfigurations property of the microsoft.graph.deviceManagement entity. -func (m *GroupPolicyConfigurationsRequestBuilder) ByGroupPolicyConfigurationIdString(groupPolicyConfigurationId string)(*GroupPolicyConfigurationsGroupPolicyConfigurationItemRequestBuilder) { +// ByGroupPolicyConfigurationId provides operations to manage the groupPolicyConfigurations property of the microsoft.graph.deviceManagement entity. +func (m *GroupPolicyConfigurationsRequestBuilder) ByGroupPolicyConfigurationId(groupPolicyConfigurationId string)(*GroupPolicyConfigurationsGroupPolicyConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupPolicyConfigurationsRequestBuilder) ToPostRequestInformation(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 *GroupPolicyConfigurationsRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyConfigurationsRequestBuilder) { + return NewGroupPolicyConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definition_files_count_request_builder.go b/devicemanagement/group_policy_definition_files_count_request_builder.go index 7d8a4287bee..b7be8e5dcc0 100644 --- a/devicemanagement/group_policy_definition_files_count_request_builder.go +++ b/devicemanagement/group_policy_definition_files_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupPolicyDefinitionFilesCountRequestBuilder) 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 *GroupPolicyDefinitionFilesCountRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionFilesCountRequestBuilder) { + return NewGroupPolicyDefinitionFilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definition_files_group_policy_definition_file_item_request_builder.go b/devicemanagement/group_policy_definition_files_group_policy_definition_file_item_request_builder.go index ba231e7623f..6d5747aa852 100644 --- a/devicemanagement/group_policy_definition_files_group_policy_definition_file_item_request_builder.go +++ b/devicemanagement/group_policy_definition_files_group_policy_definition_file_item_request_builder.go @@ -157,3 +157,7 @@ func (m *GroupPolicyDefinitionFilesGroupPolicyDefinitionFileItemRequestBuilder) } 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 *GroupPolicyDefinitionFilesGroupPolicyDefinitionFileItemRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionFilesGroupPolicyDefinitionFileItemRequestBuilder) { + return NewGroupPolicyDefinitionFilesGroupPolicyDefinitionFileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definition_files_item_definitions_count_request_builder.go b/devicemanagement/group_policy_definition_files_item_definitions_count_request_builder.go index 32bfd347a7c..48592b625c2 100644 --- a/devicemanagement/group_policy_definition_files_item_definitions_count_request_builder.go +++ b/devicemanagement/group_policy_definition_files_item_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupPolicyDefinitionFilesItemDefinitionsCountRequestBuilder) ToGetRequ } 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 *GroupPolicyDefinitionFilesItemDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionFilesItemDefinitionsCountRequestBuilder) { + return NewGroupPolicyDefinitionFilesItemDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definition_files_item_definitions_group_policy_definition_item_request_builder.go b/devicemanagement/group_policy_definition_files_item_definitions_group_policy_definition_item_request_builder.go index 14c28bc8d41..d98ed2d70fb 100644 --- a/devicemanagement/group_policy_definition_files_item_definitions_group_policy_definition_item_request_builder.go +++ b/devicemanagement/group_policy_definition_files_item_definitions_group_policy_definition_item_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyDefinitionFilesItemDefinitionsGroupPolicyDefinitionItemReque } 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 *GroupPolicyDefinitionFilesItemDefinitionsGroupPolicyDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionFilesItemDefinitionsGroupPolicyDefinitionItemRequestBuilder) { + return NewGroupPolicyDefinitionFilesItemDefinitionsGroupPolicyDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definition_files_item_definitions_request_builder.go b/devicemanagement/group_policy_definition_files_item_definitions_request_builder.go index aed74196b75..b810fb4b888 100644 --- a/devicemanagement/group_policy_definition_files_item_definitions_request_builder.go +++ b/devicemanagement/group_policy_definition_files_item_definitions_request_builder.go @@ -39,8 +39,8 @@ type GroupPolicyDefinitionFilesItemDefinitionsRequestBuilderGetRequestConfigurat // Request query parameters QueryParameters *GroupPolicyDefinitionFilesItemDefinitionsRequestBuilderGetQueryParameters } -// ByGroupPolicyDefinitionIdString provides operations to manage the definitions property of the microsoft.graph.groupPolicyDefinitionFile entity. -func (m *GroupPolicyDefinitionFilesItemDefinitionsRequestBuilder) ByGroupPolicyDefinitionIdString(groupPolicyDefinitionId string)(*GroupPolicyDefinitionFilesItemDefinitionsGroupPolicyDefinitionItemRequestBuilder) { +// ByGroupPolicyDefinitionId provides operations to manage the definitions property of the microsoft.graph.groupPolicyDefinitionFile entity. +func (m *GroupPolicyDefinitionFilesItemDefinitionsRequestBuilder) ByGroupPolicyDefinitionId(groupPolicyDefinitionId string)(*GroupPolicyDefinitionFilesItemDefinitionsGroupPolicyDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *GroupPolicyDefinitionFilesItemDefinitionsRequestBuilder) ToGetRequestIn } 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 *GroupPolicyDefinitionFilesItemDefinitionsRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionFilesItemDefinitionsRequestBuilder) { + return NewGroupPolicyDefinitionFilesItemDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definition_files_request_builder.go b/devicemanagement/group_policy_definition_files_request_builder.go index ab7c6b3bd9c..12d6d8cd059 100644 --- a/devicemanagement/group_policy_definition_files_request_builder.go +++ b/devicemanagement/group_policy_definition_files_request_builder.go @@ -46,8 +46,8 @@ type GroupPolicyDefinitionFilesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupPolicyDefinitionFileIdString provides operations to manage the groupPolicyDefinitionFiles property of the microsoft.graph.deviceManagement entity. -func (m *GroupPolicyDefinitionFilesRequestBuilder) ByGroupPolicyDefinitionFileIdString(groupPolicyDefinitionFileId string)(*GroupPolicyDefinitionFilesGroupPolicyDefinitionFileItemRequestBuilder) { +// ByGroupPolicyDefinitionFileId provides operations to manage the groupPolicyDefinitionFiles property of the microsoft.graph.deviceManagement entity. +func (m *GroupPolicyDefinitionFilesRequestBuilder) ByGroupPolicyDefinitionFileId(groupPolicyDefinitionFileId string)(*GroupPolicyDefinitionFilesGroupPolicyDefinitionFileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupPolicyDefinitionFilesRequestBuilder) 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 *GroupPolicyDefinitionFilesRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionFilesRequestBuilder) { + return NewGroupPolicyDefinitionFilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_count_request_builder.go b/devicemanagement/group_policy_definitions_count_request_builder.go index a70c54ce33d..bdfde05e5f8 100644 --- a/devicemanagement/group_policy_definitions_count_request_builder.go +++ b/devicemanagement/group_policy_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupPolicyDefinitionsCountRequestBuilder) ToGetRequestInformation(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 *GroupPolicyDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsCountRequestBuilder) { + return NewGroupPolicyDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_group_policy_definition_item_request_builder.go b/devicemanagement/group_policy_definitions_group_policy_definition_item_request_builder.go index 607fb802449..e61d3f1892d 100644 --- a/devicemanagement/group_policy_definitions_group_policy_definition_item_request_builder.go +++ b/devicemanagement/group_policy_definitions_group_policy_definition_item_request_builder.go @@ -173,3 +173,7 @@ func (m *GroupPolicyDefinitionsGroupPolicyDefinitionItemRequestBuilder) ToPatchR } 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 *GroupPolicyDefinitionsGroupPolicyDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsGroupPolicyDefinitionItemRequestBuilder) { + return NewGroupPolicyDefinitionsGroupPolicyDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_category_request_builder.go b/devicemanagement/group_policy_definitions_item_category_request_builder.go index 90626d8dfc2..ccc72907a50 100644 --- a/devicemanagement/group_policy_definitions_item_category_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_category_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyDefinitionsItemCategoryRequestBuilder) ToGetRequestInformati } 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 *GroupPolicyDefinitionsItemCategoryRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemCategoryRequestBuilder) { + return NewGroupPolicyDefinitionsItemCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_definition_file_request_builder.go b/devicemanagement/group_policy_definitions_item_definition_file_request_builder.go index 9dca42b96d7..207b3aeb9ba 100644 --- a/devicemanagement/group_policy_definitions_item_definition_file_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_definition_file_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyDefinitionsItemDefinitionFileRequestBuilder) ToGetRequestInf } 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 *GroupPolicyDefinitionsItemDefinitionFileRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemDefinitionFileRequestBuilder) { + return NewGroupPolicyDefinitionsItemDefinitionFileRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_category_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_category_request_builder.go index fcdc5a80f03..2bf2d789c1f 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_category_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_category_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionCategoryRequestBuilder) } 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 *GroupPolicyDefinitionsItemNextVersionDefinitionCategoryRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemNextVersionDefinitionCategoryRequestBuilder) { + return NewGroupPolicyDefinitionsItemNextVersionDefinitionCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_definition_file_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_definition_file_request_builder.go index 42ad6bdc942..ca04082993d 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_definition_file_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_definition_file_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionDefinitionFileRequestBui } 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 *GroupPolicyDefinitionsItemNextVersionDefinitionDefinitionFileRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemNextVersionDefinitionDefinitionFileRequestBuilder) { + return NewGroupPolicyDefinitionsItemNextVersionDefinitionDefinitionFileRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_count_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_count_request_builder.go index c4763c366e7..1660fb43f61 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_count_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsCountReques } 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 *GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsCountRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsCountRequestBuilder) { + return NewGroupPolicyDefinitionsItemNextVersionDefinitionPresentationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_group_policy_presentation_item_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_group_policy_presentation_item_request_builder.go index b80b93b2849..b9d8d60362b 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_group_policy_presentation_item_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_group_policy_presentation_item_request_builder.go @@ -157,3 +157,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsGroupPolicy } 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 *GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsGroupPolicyPresentationItemRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsGroupPolicyPresentationItemRequestBuilder) { + return NewGroupPolicyDefinitionsItemNextVersionDefinitionPresentationsGroupPolicyPresentationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_item_definition_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_item_definition_request_builder.go index 1cede5a335e..84207acdb88 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_item_definition_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_item_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsItemDefinit } 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 *GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsItemDefinitionRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsItemDefinitionRequestBuilder) { + return NewGroupPolicyDefinitionsItemNextVersionDefinitionPresentationsItemDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_request_builder.go index 41a2126f81f..743ca3f0901 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_request_builder.go @@ -46,8 +46,8 @@ type GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsRequestBuilderP // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupPolicyPresentationIdString provides operations to manage the presentations property of the microsoft.graph.groupPolicyDefinition entity. -func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsRequestBuilder) ByGroupPolicyPresentationIdString(groupPolicyPresentationId string)(*GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsGroupPolicyPresentationItemRequestBuilder) { +// ByGroupPolicyPresentationId provides operations to manage the presentations property of the microsoft.graph.groupPolicyDefinition entity. +func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsRequestBuilder) ByGroupPolicyPresentationId(groupPolicyPresentationId string)(*GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsGroupPolicyPresentationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsRequestBuil } 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 *GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsRequestBuilder) { + return NewGroupPolicyDefinitionsItemNextVersionDefinitionPresentationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_category_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_category_request_builder.go index 2b863511984..b1cd4c2a9fc 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_category_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_category_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitio } 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 *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionCategoryRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionCategoryRequestBuilder) { + return NewGroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_definition_file_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_definition_file_request_builder.go index 6a0853a2645..aff0080b4a2 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_definition_file_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_definition_file_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitio } 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 *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionDefinitionFileRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionDefinitionFileRequestBuilder) { + return NewGroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionDefinitionFileRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_count_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_count_request_builder.go index 2d69f0de1e0..954c09d5116 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_count_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitio } 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 *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionPresentationsCountRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionPresentationsCountRequestBuilder) { + return NewGroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionPresentationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_group_policy_presentation_item_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_group_policy_presentation_item_request_builder.go index c237a30181c..1083775da4a 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_group_policy_presentation_item_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_group_policy_presentation_item_request_builder.go @@ -157,3 +157,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitio } 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 *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionPresentationsGroupPolicyPresentationItemRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionPresentationsGroupPolicyPresentationItemRequestBuilder) { + return NewGroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionPresentationsGroupPolicyPresentationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_item_definition_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_item_definition_request_builder.go index fc5bc847bdb..e84f4fd79aa 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_item_definition_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_item_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitio } 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 *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionPresentationsItemDefinitionRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionPresentationsItemDefinitionRequestBuilder) { + return NewGroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionPresentationsItemDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_request_builder.go index 8d4e7694a33..355b82258a9 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_request_builder.go @@ -46,8 +46,8 @@ type GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionPre // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupPolicyPresentationIdString provides operations to manage the presentations property of the microsoft.graph.groupPolicyDefinition entity. -func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionPresentationsRequestBuilder) ByGroupPolicyPresentationIdString(groupPolicyPresentationId string)(*GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionPresentationsGroupPolicyPresentationItemRequestBuilder) { +// ByGroupPolicyPresentationId provides operations to manage the presentations property of the microsoft.graph.groupPolicyDefinition entity. +func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionPresentationsRequestBuilder) ByGroupPolicyPresentationId(groupPolicyPresentationId string)(*GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionPresentationsGroupPolicyPresentationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitio } 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 *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionPresentationsRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionPresentationsRequestBuilder) { + return NewGroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionPresentationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_request_builder.go index 27240cf360e..b3dd4f1ea2c 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_request_builder.go @@ -165,3 +165,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitio } 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 *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionRequestBuilder) { + return NewGroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_request_builder.go index cef40d189a5..900d886728e 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_request_builder.go @@ -169,3 +169,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionRequestBuilder) ToPatchR } 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 *GroupPolicyDefinitionsItemNextVersionDefinitionRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemNextVersionDefinitionRequestBuilder) { + return NewGroupPolicyDefinitionsItemNextVersionDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_presentations_count_request_builder.go b/devicemanagement/group_policy_definitions_item_presentations_count_request_builder.go index fadcd328de2..ca49e20b7c4 100644 --- a/devicemanagement/group_policy_definitions_item_presentations_count_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_presentations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupPolicyDefinitionsItemPresentationsCountRequestBuilder) ToGetReques } 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 *GroupPolicyDefinitionsItemPresentationsCountRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemPresentationsCountRequestBuilder) { + return NewGroupPolicyDefinitionsItemPresentationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_presentations_group_policy_presentation_item_request_builder.go b/devicemanagement/group_policy_definitions_item_presentations_group_policy_presentation_item_request_builder.go index e7168570977..3ce8030f4fb 100644 --- a/devicemanagement/group_policy_definitions_item_presentations_group_policy_presentation_item_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_presentations_group_policy_presentation_item_request_builder.go @@ -157,3 +157,7 @@ func (m *GroupPolicyDefinitionsItemPresentationsGroupPolicyPresentationItemReque } 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 *GroupPolicyDefinitionsItemPresentationsGroupPolicyPresentationItemRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemPresentationsGroupPolicyPresentationItemRequestBuilder) { + return NewGroupPolicyDefinitionsItemPresentationsGroupPolicyPresentationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_presentations_item_definition_request_builder.go b/devicemanagement/group_policy_definitions_item_presentations_item_definition_request_builder.go index 14306e3cd9c..fa199f6f9b4 100644 --- a/devicemanagement/group_policy_definitions_item_presentations_item_definition_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_presentations_item_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyDefinitionsItemPresentationsItemDefinitionRequestBuilder) To } 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 *GroupPolicyDefinitionsItemPresentationsItemDefinitionRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemPresentationsItemDefinitionRequestBuilder) { + return NewGroupPolicyDefinitionsItemPresentationsItemDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_presentations_request_builder.go b/devicemanagement/group_policy_definitions_item_presentations_request_builder.go index 6d1f708b669..1c3c5b895eb 100644 --- a/devicemanagement/group_policy_definitions_item_presentations_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_presentations_request_builder.go @@ -46,8 +46,8 @@ type GroupPolicyDefinitionsItemPresentationsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupPolicyPresentationIdString provides operations to manage the presentations property of the microsoft.graph.groupPolicyDefinition entity. -func (m *GroupPolicyDefinitionsItemPresentationsRequestBuilder) ByGroupPolicyPresentationIdString(groupPolicyPresentationId string)(*GroupPolicyDefinitionsItemPresentationsGroupPolicyPresentationItemRequestBuilder) { +// ByGroupPolicyPresentationId provides operations to manage the presentations property of the microsoft.graph.groupPolicyDefinition entity. +func (m *GroupPolicyDefinitionsItemPresentationsRequestBuilder) ByGroupPolicyPresentationId(groupPolicyPresentationId string)(*GroupPolicyDefinitionsItemPresentationsGroupPolicyPresentationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupPolicyDefinitionsItemPresentationsRequestBuilder) ToPostRequestInf } 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 *GroupPolicyDefinitionsItemPresentationsRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemPresentationsRequestBuilder) { + return NewGroupPolicyDefinitionsItemPresentationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_category_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_category_request_builder.go index ff4117aa94c..e7b80526e09 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_category_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_category_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionCategoryRequestBuild } 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 *GroupPolicyDefinitionsItemPreviousVersionDefinitionCategoryRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemPreviousVersionDefinitionCategoryRequestBuilder) { + return NewGroupPolicyDefinitionsItemPreviousVersionDefinitionCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_definition_file_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_definition_file_request_builder.go index 9aa1e98e3ff..5d71f5df7cd 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_definition_file_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_definition_file_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionDefinitionFileReques } 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 *GroupPolicyDefinitionsItemPreviousVersionDefinitionDefinitionFileRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemPreviousVersionDefinitionDefinitionFileRequestBuilder) { + return NewGroupPolicyDefinitionsItemPreviousVersionDefinitionDefinitionFileRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_category_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_category_request_builder.go index 6932b072b6c..42ab3ba135d 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_category_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_category_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitio } 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 *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionCategoryRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionCategoryRequestBuilder) { + return NewGroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_definition_file_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_definition_file_request_builder.go index af65d24a8f5..cf675aeb0ab 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_definition_file_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_definition_file_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitio } 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 *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionDefinitionFileRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionDefinitionFileRequestBuilder) { + return NewGroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionDefinitionFileRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_count_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_count_request_builder.go index 8362cbff438..69ec013e818 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_count_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitio } 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 *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionPresentationsCountRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionPresentationsCountRequestBuilder) { + return NewGroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionPresentationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_group_policy_presentation_item_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_group_policy_presentation_item_request_builder.go index 76f1705648e..b3777716a31 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_group_policy_presentation_item_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_group_policy_presentation_item_request_builder.go @@ -157,3 +157,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitio } 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 *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionPresentationsGroupPolicyPresentationItemRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionPresentationsGroupPolicyPresentationItemRequestBuilder) { + return NewGroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionPresentationsGroupPolicyPresentationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_item_definition_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_item_definition_request_builder.go index 3c51c15d7d6..78cf5feaeab 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_item_definition_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_item_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitio } 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 *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionPresentationsItemDefinitionRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionPresentationsItemDefinitionRequestBuilder) { + return NewGroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionPresentationsItemDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_request_builder.go index c2e9a319b22..f7f742811a4 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_request_builder.go @@ -46,8 +46,8 @@ type GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionPre // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupPolicyPresentationIdString provides operations to manage the presentations property of the microsoft.graph.groupPolicyDefinition entity. -func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionPresentationsRequestBuilder) ByGroupPolicyPresentationIdString(groupPolicyPresentationId string)(*GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionPresentationsGroupPolicyPresentationItemRequestBuilder) { +// ByGroupPolicyPresentationId provides operations to manage the presentations property of the microsoft.graph.groupPolicyDefinition entity. +func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionPresentationsRequestBuilder) ByGroupPolicyPresentationId(groupPolicyPresentationId string)(*GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionPresentationsGroupPolicyPresentationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitio } 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 *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionPresentationsRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionPresentationsRequestBuilder) { + return NewGroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionPresentationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_request_builder.go index 628fb1eccfa..3861e3478ad 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_request_builder.go @@ -165,3 +165,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitio } 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 *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionRequestBuilder) { + return NewGroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_count_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_count_request_builder.go index 954ee13528a..1da360b6c83 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_count_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsCountRe } 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 *GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsCountRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsCountRequestBuilder) { + return NewGroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_group_policy_presentation_item_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_group_policy_presentation_item_request_builder.go index cf7859848ba..91d1075bacd 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_group_policy_presentation_item_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_group_policy_presentation_item_request_builder.go @@ -157,3 +157,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsGroupPo } 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 *GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsGroupPolicyPresentationItemRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsGroupPolicyPresentationItemRequestBuilder) { + return NewGroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsGroupPolicyPresentationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_item_definition_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_item_definition_request_builder.go index 6371959c0b5..8deb181781f 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_item_definition_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_item_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsItemDef } 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 *GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsItemDefinitionRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsItemDefinitionRequestBuilder) { + return NewGroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsItemDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_request_builder.go index edad216fb0d..5ee27f4227b 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_request_builder.go @@ -46,8 +46,8 @@ type GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupPolicyPresentationIdString provides operations to manage the presentations property of the microsoft.graph.groupPolicyDefinition entity. -func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsRequestBuilder) ByGroupPolicyPresentationIdString(groupPolicyPresentationId string)(*GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsGroupPolicyPresentationItemRequestBuilder) { +// ByGroupPolicyPresentationId provides operations to manage the presentations property of the microsoft.graph.groupPolicyDefinition entity. +func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsRequestBuilder) ByGroupPolicyPresentationId(groupPolicyPresentationId string)(*GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsGroupPolicyPresentationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsRequest } 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 *GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsRequestBuilder) { + return NewGroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_request_builder.go index eeafab4cc5d..29f4f49d58c 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_request_builder.go @@ -169,3 +169,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionRequestBuilder) ToPa } 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 *GroupPolicyDefinitionsItemPreviousVersionDefinitionRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsItemPreviousVersionDefinitionRequestBuilder) { + return NewGroupPolicyDefinitionsItemPreviousVersionDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_definitions_request_builder.go b/devicemanagement/group_policy_definitions_request_builder.go index 20a91bb8486..54aabb790c0 100644 --- a/devicemanagement/group_policy_definitions_request_builder.go +++ b/devicemanagement/group_policy_definitions_request_builder.go @@ -46,8 +46,8 @@ type GroupPolicyDefinitionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupPolicyDefinitionIdString provides operations to manage the groupPolicyDefinitions property of the microsoft.graph.deviceManagement entity. -func (m *GroupPolicyDefinitionsRequestBuilder) ByGroupPolicyDefinitionIdString(groupPolicyDefinitionId string)(*GroupPolicyDefinitionsGroupPolicyDefinitionItemRequestBuilder) { +// ByGroupPolicyDefinitionId provides operations to manage the groupPolicyDefinitions property of the microsoft.graph.deviceManagement entity. +func (m *GroupPolicyDefinitionsRequestBuilder) ByGroupPolicyDefinitionId(groupPolicyDefinitionId string)(*GroupPolicyDefinitionsGroupPolicyDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupPolicyDefinitionsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *GroupPolicyDefinitionsRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyDefinitionsRequestBuilder) { + return NewGroupPolicyDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_migration_reports_count_request_builder.go b/devicemanagement/group_policy_migration_reports_count_request_builder.go index 01b176d996c..ac16c97b7c0 100644 --- a/devicemanagement/group_policy_migration_reports_count_request_builder.go +++ b/devicemanagement/group_policy_migration_reports_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupPolicyMigrationReportsCountRequestBuilder) 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 *GroupPolicyMigrationReportsCountRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyMigrationReportsCountRequestBuilder) { + return NewGroupPolicyMigrationReportsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_migration_reports_create_migration_report_request_builder.go b/devicemanagement/group_policy_migration_reports_create_migration_report_request_builder.go index 9b660dd0c0e..f67d2752f8f 100644 --- a/devicemanagement/group_policy_migration_reports_create_migration_report_request_builder.go +++ b/devicemanagement/group_policy_migration_reports_create_migration_report_request_builder.go @@ -66,3 +66,7 @@ func (m *GroupPolicyMigrationReportsCreateMigrationReportRequestBuilder) ToPostR } 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 *GroupPolicyMigrationReportsCreateMigrationReportRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyMigrationReportsCreateMigrationReportRequestBuilder) { + return NewGroupPolicyMigrationReportsCreateMigrationReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_migration_reports_group_policy_migration_report_item_request_builder.go b/devicemanagement/group_policy_migration_reports_group_policy_migration_report_item_request_builder.go index 4aad87330aa..a2d81d4628e 100644 --- a/devicemanagement/group_policy_migration_reports_group_policy_migration_report_item_request_builder.go +++ b/devicemanagement/group_policy_migration_reports_group_policy_migration_report_item_request_builder.go @@ -165,3 +165,7 @@ func (m *GroupPolicyMigrationReportsGroupPolicyMigrationReportItemRequestBuilder func (m *GroupPolicyMigrationReportsGroupPolicyMigrationReportItemRequestBuilder) UpdateScopeTags()(*GroupPolicyMigrationReportsItemUpdateScopeTagsRequestBuilder) { return NewGroupPolicyMigrationReportsItemUpdateScopeTagsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *GroupPolicyMigrationReportsGroupPolicyMigrationReportItemRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyMigrationReportsGroupPolicyMigrationReportItemRequestBuilder) { + return NewGroupPolicyMigrationReportsGroupPolicyMigrationReportItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_migration_reports_item_group_policy_setting_mappings_count_request_builder.go b/devicemanagement/group_policy_migration_reports_item_group_policy_setting_mappings_count_request_builder.go index 9b6eaea9940..4a426a52b48 100644 --- a/devicemanagement/group_policy_migration_reports_item_group_policy_setting_mappings_count_request_builder.go +++ b/devicemanagement/group_policy_migration_reports_item_group_policy_setting_mappings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupPolicyMigrationReportsItemGroupPolicySettingMappingsCountRequestBu } 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 *GroupPolicyMigrationReportsItemGroupPolicySettingMappingsCountRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyMigrationReportsItemGroupPolicySettingMappingsCountRequestBuilder) { + return NewGroupPolicyMigrationReportsItemGroupPolicySettingMappingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_migration_reports_item_group_policy_setting_mappings_group_policy_setting_mapping_item_request_builder.go b/devicemanagement/group_policy_migration_reports_item_group_policy_setting_mappings_group_policy_setting_mapping_item_request_builder.go index 4387ae34bf3..46620924532 100644 --- a/devicemanagement/group_policy_migration_reports_item_group_policy_setting_mappings_group_policy_setting_mapping_item_request_builder.go +++ b/devicemanagement/group_policy_migration_reports_item_group_policy_setting_mappings_group_policy_setting_mapping_item_request_builder.go @@ -153,3 +153,7 @@ func (m *GroupPolicyMigrationReportsItemGroupPolicySettingMappingsGroupPolicySet } 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 *GroupPolicyMigrationReportsItemGroupPolicySettingMappingsGroupPolicySettingMappingItemRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyMigrationReportsItemGroupPolicySettingMappingsGroupPolicySettingMappingItemRequestBuilder) { + return NewGroupPolicyMigrationReportsItemGroupPolicySettingMappingsGroupPolicySettingMappingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_migration_reports_item_group_policy_setting_mappings_request_builder.go b/devicemanagement/group_policy_migration_reports_item_group_policy_setting_mappings_request_builder.go index de95cc9d502..07e47251b29 100644 --- a/devicemanagement/group_policy_migration_reports_item_group_policy_setting_mappings_request_builder.go +++ b/devicemanagement/group_policy_migration_reports_item_group_policy_setting_mappings_request_builder.go @@ -46,8 +46,8 @@ type GroupPolicyMigrationReportsItemGroupPolicySettingMappingsRequestBuilderPost // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupPolicySettingMappingIdString provides operations to manage the groupPolicySettingMappings property of the microsoft.graph.groupPolicyMigrationReport entity. -func (m *GroupPolicyMigrationReportsItemGroupPolicySettingMappingsRequestBuilder) ByGroupPolicySettingMappingIdString(groupPolicySettingMappingId string)(*GroupPolicyMigrationReportsItemGroupPolicySettingMappingsGroupPolicySettingMappingItemRequestBuilder) { +// ByGroupPolicySettingMappingId provides operations to manage the groupPolicySettingMappings property of the microsoft.graph.groupPolicyMigrationReport entity. +func (m *GroupPolicyMigrationReportsItemGroupPolicySettingMappingsRequestBuilder) ByGroupPolicySettingMappingId(groupPolicySettingMappingId string)(*GroupPolicyMigrationReportsItemGroupPolicySettingMappingsGroupPolicySettingMappingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupPolicyMigrationReportsItemGroupPolicySettingMappingsRequestBuilder } 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 *GroupPolicyMigrationReportsItemGroupPolicySettingMappingsRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyMigrationReportsItemGroupPolicySettingMappingsRequestBuilder) { + return NewGroupPolicyMigrationReportsItemGroupPolicySettingMappingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_migration_reports_item_unsupported_group_policy_extensions_count_request_builder.go b/devicemanagement/group_policy_migration_reports_item_unsupported_group_policy_extensions_count_request_builder.go index d87ab1d9a0d..ac3fab1f79a 100644 --- a/devicemanagement/group_policy_migration_reports_item_unsupported_group_policy_extensions_count_request_builder.go +++ b/devicemanagement/group_policy_migration_reports_item_unsupported_group_policy_extensions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupPolicyMigrationReportsItemUnsupportedGroupPolicyExtensionsCountReq } 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 *GroupPolicyMigrationReportsItemUnsupportedGroupPolicyExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyMigrationReportsItemUnsupportedGroupPolicyExtensionsCountRequestBuilder) { + return NewGroupPolicyMigrationReportsItemUnsupportedGroupPolicyExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_migration_reports_item_unsupported_group_policy_extensions_request_builder.go b/devicemanagement/group_policy_migration_reports_item_unsupported_group_policy_extensions_request_builder.go index bbed3241474..e8263fb83eb 100644 --- a/devicemanagement/group_policy_migration_reports_item_unsupported_group_policy_extensions_request_builder.go +++ b/devicemanagement/group_policy_migration_reports_item_unsupported_group_policy_extensions_request_builder.go @@ -46,8 +46,8 @@ type GroupPolicyMigrationReportsItemUnsupportedGroupPolicyExtensionsRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnsupportedGroupPolicyExtensionIdString provides operations to manage the unsupportedGroupPolicyExtensions property of the microsoft.graph.groupPolicyMigrationReport entity. -func (m *GroupPolicyMigrationReportsItemUnsupportedGroupPolicyExtensionsRequestBuilder) ByUnsupportedGroupPolicyExtensionIdString(unsupportedGroupPolicyExtensionId string)(*GroupPolicyMigrationReportsItemUnsupportedGroupPolicyExtensionsUnsupportedGroupPolicyExtensionItemRequestBuilder) { +// ByUnsupportedGroupPolicyExtensionId provides operations to manage the unsupportedGroupPolicyExtensions property of the microsoft.graph.groupPolicyMigrationReport entity. +func (m *GroupPolicyMigrationReportsItemUnsupportedGroupPolicyExtensionsRequestBuilder) ByUnsupportedGroupPolicyExtensionId(unsupportedGroupPolicyExtensionId string)(*GroupPolicyMigrationReportsItemUnsupportedGroupPolicyExtensionsUnsupportedGroupPolicyExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupPolicyMigrationReportsItemUnsupportedGroupPolicyExtensionsRequestB } 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 *GroupPolicyMigrationReportsItemUnsupportedGroupPolicyExtensionsRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyMigrationReportsItemUnsupportedGroupPolicyExtensionsRequestBuilder) { + return NewGroupPolicyMigrationReportsItemUnsupportedGroupPolicyExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_migration_reports_item_unsupported_group_policy_extensions_unsupported_group_policy_extension_item_request_builder.go b/devicemanagement/group_policy_migration_reports_item_unsupported_group_policy_extensions_unsupported_group_policy_extension_item_request_builder.go index 2d1d6a0f8de..2bfb81a4d9b 100644 --- a/devicemanagement/group_policy_migration_reports_item_unsupported_group_policy_extensions_unsupported_group_policy_extension_item_request_builder.go +++ b/devicemanagement/group_policy_migration_reports_item_unsupported_group_policy_extensions_unsupported_group_policy_extension_item_request_builder.go @@ -153,3 +153,7 @@ func (m *GroupPolicyMigrationReportsItemUnsupportedGroupPolicyExtensionsUnsuppor } 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 *GroupPolicyMigrationReportsItemUnsupportedGroupPolicyExtensionsUnsupportedGroupPolicyExtensionItemRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyMigrationReportsItemUnsupportedGroupPolicyExtensionsUnsupportedGroupPolicyExtensionItemRequestBuilder) { + return NewGroupPolicyMigrationReportsItemUnsupportedGroupPolicyExtensionsUnsupportedGroupPolicyExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_migration_reports_item_update_scope_tags_request_builder.go b/devicemanagement/group_policy_migration_reports_item_update_scope_tags_request_builder.go index 047623a7908..5eec38d60d9 100644 --- a/devicemanagement/group_policy_migration_reports_item_update_scope_tags_request_builder.go +++ b/devicemanagement/group_policy_migration_reports_item_update_scope_tags_request_builder.go @@ -66,3 +66,7 @@ func (m *GroupPolicyMigrationReportsItemUpdateScopeTagsRequestBuilder) ToPostReq } 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 *GroupPolicyMigrationReportsItemUpdateScopeTagsRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyMigrationReportsItemUpdateScopeTagsRequestBuilder) { + return NewGroupPolicyMigrationReportsItemUpdateScopeTagsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_migration_reports_request_builder.go b/devicemanagement/group_policy_migration_reports_request_builder.go index 102605e8e28..f4bcb68f93e 100644 --- a/devicemanagement/group_policy_migration_reports_request_builder.go +++ b/devicemanagement/group_policy_migration_reports_request_builder.go @@ -46,8 +46,8 @@ type GroupPolicyMigrationReportsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupPolicyMigrationReportIdString provides operations to manage the groupPolicyMigrationReports property of the microsoft.graph.deviceManagement entity. -func (m *GroupPolicyMigrationReportsRequestBuilder) ByGroupPolicyMigrationReportIdString(groupPolicyMigrationReportId string)(*GroupPolicyMigrationReportsGroupPolicyMigrationReportItemRequestBuilder) { +// ByGroupPolicyMigrationReportId provides operations to manage the groupPolicyMigrationReports property of the microsoft.graph.deviceManagement entity. +func (m *GroupPolicyMigrationReportsRequestBuilder) ByGroupPolicyMigrationReportId(groupPolicyMigrationReportId string)(*GroupPolicyMigrationReportsGroupPolicyMigrationReportItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *GroupPolicyMigrationReportsRequestBuilder) 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 *GroupPolicyMigrationReportsRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyMigrationReportsRequestBuilder) { + return NewGroupPolicyMigrationReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_object_files_count_request_builder.go b/devicemanagement/group_policy_object_files_count_request_builder.go index 625f03e6c6f..57b46273bb6 100644 --- a/devicemanagement/group_policy_object_files_count_request_builder.go +++ b/devicemanagement/group_policy_object_files_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupPolicyObjectFilesCountRequestBuilder) ToGetRequestInformation(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 *GroupPolicyObjectFilesCountRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyObjectFilesCountRequestBuilder) { + return NewGroupPolicyObjectFilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_object_files_group_policy_object_file_item_request_builder.go b/devicemanagement/group_policy_object_files_group_policy_object_file_item_request_builder.go index 495c132ac97..3cab7811813 100644 --- a/devicemanagement/group_policy_object_files_group_policy_object_file_item_request_builder.go +++ b/devicemanagement/group_policy_object_files_group_policy_object_file_item_request_builder.go @@ -153,3 +153,7 @@ func (m *GroupPolicyObjectFilesGroupPolicyObjectFileItemRequestBuilder) ToPatchR } 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 *GroupPolicyObjectFilesGroupPolicyObjectFileItemRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyObjectFilesGroupPolicyObjectFileItemRequestBuilder) { + return NewGroupPolicyObjectFilesGroupPolicyObjectFileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_object_files_request_builder.go b/devicemanagement/group_policy_object_files_request_builder.go index 3cbbd4a0075..73ca5b04285 100644 --- a/devicemanagement/group_policy_object_files_request_builder.go +++ b/devicemanagement/group_policy_object_files_request_builder.go @@ -46,8 +46,8 @@ type GroupPolicyObjectFilesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupPolicyObjectFileIdString provides operations to manage the groupPolicyObjectFiles property of the microsoft.graph.deviceManagement entity. -func (m *GroupPolicyObjectFilesRequestBuilder) ByGroupPolicyObjectFileIdString(groupPolicyObjectFileId string)(*GroupPolicyObjectFilesGroupPolicyObjectFileItemRequestBuilder) { +// ByGroupPolicyObjectFileId provides operations to manage the groupPolicyObjectFiles property of the microsoft.graph.deviceManagement entity. +func (m *GroupPolicyObjectFilesRequestBuilder) ByGroupPolicyObjectFileId(groupPolicyObjectFileId string)(*GroupPolicyObjectFilesGroupPolicyObjectFileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupPolicyObjectFilesRequestBuilder) ToPostRequestInformation(ctx cont } 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 *GroupPolicyObjectFilesRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyObjectFilesRequestBuilder) { + return NewGroupPolicyObjectFilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_uploaded_definition_files_count_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_count_request_builder.go index 4406c0f4f2c..0de46c83aa2 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_count_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupPolicyUploadedDefinitionFilesCountRequestBuilder) ToGetRequestInfo } 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 *GroupPolicyUploadedDefinitionFilesCountRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyUploadedDefinitionFilesCountRequestBuilder) { + return NewGroupPolicyUploadedDefinitionFilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_uploaded_definition_files_group_policy_uploaded_definition_file_item_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_group_policy_uploaded_definition_file_item_request_builder.go index 1365951c70a..78ac531cfe9 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_group_policy_uploaded_definition_file_item_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_group_policy_uploaded_definition_file_item_request_builder.go @@ -181,3 +181,7 @@ func (m *GroupPolicyUploadedDefinitionFilesGroupPolicyUploadedDefinitionFileItem func (m *GroupPolicyUploadedDefinitionFilesGroupPolicyUploadedDefinitionFileItemRequestBuilder) UploadNewVersion()(*GroupPolicyUploadedDefinitionFilesItemUploadNewVersionRequestBuilder) { return NewGroupPolicyUploadedDefinitionFilesItemUploadNewVersionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *GroupPolicyUploadedDefinitionFilesGroupPolicyUploadedDefinitionFileItemRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyUploadedDefinitionFilesGroupPolicyUploadedDefinitionFileItemRequestBuilder) { + return NewGroupPolicyUploadedDefinitionFilesGroupPolicyUploadedDefinitionFileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_uploaded_definition_files_item_add_language_files_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_item_add_language_files_request_builder.go index 55c0991a622..ffd1e49047d 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_item_add_language_files_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_item_add_language_files_request_builder.go @@ -62,3 +62,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemAddLanguageFilesRequestBuilder) T } 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 *GroupPolicyUploadedDefinitionFilesItemAddLanguageFilesRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyUploadedDefinitionFilesItemAddLanguageFilesRequestBuilder) { + return NewGroupPolicyUploadedDefinitionFilesItemAddLanguageFilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_uploaded_definition_files_item_definitions_count_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_item_definitions_count_request_builder.go index 7a8a3542e3c..d12d02998e6 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_item_definitions_count_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_item_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemDefinitionsCountRequestBuilder) T } 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 *GroupPolicyUploadedDefinitionFilesItemDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyUploadedDefinitionFilesItemDefinitionsCountRequestBuilder) { + return NewGroupPolicyUploadedDefinitionFilesItemDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_uploaded_definition_files_item_definitions_group_policy_definition_item_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_item_definitions_group_policy_definition_item_request_builder.go index 4101de6cc9e..d42b15c8ff5 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_item_definitions_group_policy_definition_item_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_item_definitions_group_policy_definition_item_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemDefinitionsGroupPolicyDefinitionI } 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 *GroupPolicyUploadedDefinitionFilesItemDefinitionsGroupPolicyDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyUploadedDefinitionFilesItemDefinitionsGroupPolicyDefinitionItemRequestBuilder) { + return NewGroupPolicyUploadedDefinitionFilesItemDefinitionsGroupPolicyDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_uploaded_definition_files_item_definitions_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_item_definitions_request_builder.go index 59e6f7282ca..e0dde9745f9 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_item_definitions_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_item_definitions_request_builder.go @@ -39,8 +39,8 @@ type GroupPolicyUploadedDefinitionFilesItemDefinitionsRequestBuilderGetRequestCo // Request query parameters QueryParameters *GroupPolicyUploadedDefinitionFilesItemDefinitionsRequestBuilderGetQueryParameters } -// ByGroupPolicyDefinitionIdString provides operations to manage the definitions property of the microsoft.graph.groupPolicyDefinitionFile entity. -func (m *GroupPolicyUploadedDefinitionFilesItemDefinitionsRequestBuilder) ByGroupPolicyDefinitionIdString(groupPolicyDefinitionId string)(*GroupPolicyUploadedDefinitionFilesItemDefinitionsGroupPolicyDefinitionItemRequestBuilder) { +// ByGroupPolicyDefinitionId provides operations to manage the definitions property of the microsoft.graph.groupPolicyDefinitionFile entity. +func (m *GroupPolicyUploadedDefinitionFilesItemDefinitionsRequestBuilder) ByGroupPolicyDefinitionId(groupPolicyDefinitionId string)(*GroupPolicyUploadedDefinitionFilesItemDefinitionsGroupPolicyDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemDefinitionsRequestBuilder) ToGetR } 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 *GroupPolicyUploadedDefinitionFilesItemDefinitionsRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyUploadedDefinitionFilesItemDefinitionsRequestBuilder) { + return NewGroupPolicyUploadedDefinitionFilesItemDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_uploaded_definition_files_item_group_policy_operations_count_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_item_group_policy_operations_count_request_builder.go index 5dafd9ce420..995a7abf7f2 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_item_group_policy_operations_count_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_item_group_policy_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemGroupPolicyOperationsCountRequest } 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 *GroupPolicyUploadedDefinitionFilesItemGroupPolicyOperationsCountRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyUploadedDefinitionFilesItemGroupPolicyOperationsCountRequestBuilder) { + return NewGroupPolicyUploadedDefinitionFilesItemGroupPolicyOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_uploaded_definition_files_item_group_policy_operations_group_policy_operation_item_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_item_group_policy_operations_group_policy_operation_item_request_builder.go index 6e505484ae4..a17527d259f 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_item_group_policy_operations_group_policy_operation_item_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_item_group_policy_operations_group_policy_operation_item_request_builder.go @@ -153,3 +153,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemGroupPolicyOperationsGroupPolicyO } 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 *GroupPolicyUploadedDefinitionFilesItemGroupPolicyOperationsGroupPolicyOperationItemRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyUploadedDefinitionFilesItemGroupPolicyOperationsGroupPolicyOperationItemRequestBuilder) { + return NewGroupPolicyUploadedDefinitionFilesItemGroupPolicyOperationsGroupPolicyOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_uploaded_definition_files_item_group_policy_operations_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_item_group_policy_operations_request_builder.go index de15c1bafdc..0331481db42 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_item_group_policy_operations_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_item_group_policy_operations_request_builder.go @@ -46,8 +46,8 @@ type GroupPolicyUploadedDefinitionFilesItemGroupPolicyOperationsRequestBuilderPo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupPolicyOperationIdString provides operations to manage the groupPolicyOperations property of the microsoft.graph.groupPolicyUploadedDefinitionFile entity. -func (m *GroupPolicyUploadedDefinitionFilesItemGroupPolicyOperationsRequestBuilder) ByGroupPolicyOperationIdString(groupPolicyOperationId string)(*GroupPolicyUploadedDefinitionFilesItemGroupPolicyOperationsGroupPolicyOperationItemRequestBuilder) { +// ByGroupPolicyOperationId provides operations to manage the groupPolicyOperations property of the microsoft.graph.groupPolicyUploadedDefinitionFile entity. +func (m *GroupPolicyUploadedDefinitionFilesItemGroupPolicyOperationsRequestBuilder) ByGroupPolicyOperationId(groupPolicyOperationId string)(*GroupPolicyUploadedDefinitionFilesItemGroupPolicyOperationsGroupPolicyOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemGroupPolicyOperationsRequestBuild } 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 *GroupPolicyUploadedDefinitionFilesItemGroupPolicyOperationsRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyUploadedDefinitionFilesItemGroupPolicyOperationsRequestBuilder) { + return NewGroupPolicyUploadedDefinitionFilesItemGroupPolicyOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_uploaded_definition_files_item_remove_language_files_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_item_remove_language_files_request_builder.go index 8775643e9bf..224be9f4674 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_item_remove_language_files_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_item_remove_language_files_request_builder.go @@ -62,3 +62,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemRemoveLanguageFilesRequestBuilder } 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 *GroupPolicyUploadedDefinitionFilesItemRemoveLanguageFilesRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyUploadedDefinitionFilesItemRemoveLanguageFilesRequestBuilder) { + return NewGroupPolicyUploadedDefinitionFilesItemRemoveLanguageFilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_uploaded_definition_files_item_remove_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_item_remove_request_builder.go index 40cf47ef4c8..2b363da6e75 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_item_remove_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_item_remove_request_builder.go @@ -58,3 +58,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemRemoveRequestBuilder) ToPostReque } 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 *GroupPolicyUploadedDefinitionFilesItemRemoveRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyUploadedDefinitionFilesItemRemoveRequestBuilder) { + return NewGroupPolicyUploadedDefinitionFilesItemRemoveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_uploaded_definition_files_item_update_language_files_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_item_update_language_files_request_builder.go index 42bd1a29a0d..a6f3ea090b1 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_item_update_language_files_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_item_update_language_files_request_builder.go @@ -62,3 +62,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemUpdateLanguageFilesRequestBuilder } 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 *GroupPolicyUploadedDefinitionFilesItemUpdateLanguageFilesRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyUploadedDefinitionFilesItemUpdateLanguageFilesRequestBuilder) { + return NewGroupPolicyUploadedDefinitionFilesItemUpdateLanguageFilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_uploaded_definition_files_item_upload_new_version_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_item_upload_new_version_request_builder.go index 88036a0f93c..b73bca90ce2 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_item_upload_new_version_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_item_upload_new_version_request_builder.go @@ -62,3 +62,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemUploadNewVersionRequestBuilder) T } 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 *GroupPolicyUploadedDefinitionFilesItemUploadNewVersionRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyUploadedDefinitionFilesItemUploadNewVersionRequestBuilder) { + return NewGroupPolicyUploadedDefinitionFilesItemUploadNewVersionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/group_policy_uploaded_definition_files_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_request_builder.go index d6bf014e4b0..25328a41ef4 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_request_builder.go @@ -46,8 +46,8 @@ type GroupPolicyUploadedDefinitionFilesRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupPolicyUploadedDefinitionFileIdString provides operations to manage the groupPolicyUploadedDefinitionFiles property of the microsoft.graph.deviceManagement entity. -func (m *GroupPolicyUploadedDefinitionFilesRequestBuilder) ByGroupPolicyUploadedDefinitionFileIdString(groupPolicyUploadedDefinitionFileId string)(*GroupPolicyUploadedDefinitionFilesGroupPolicyUploadedDefinitionFileItemRequestBuilder) { +// ByGroupPolicyUploadedDefinitionFileId provides operations to manage the groupPolicyUploadedDefinitionFiles property of the microsoft.graph.deviceManagement entity. +func (m *GroupPolicyUploadedDefinitionFilesRequestBuilder) ByGroupPolicyUploadedDefinitionFileId(groupPolicyUploadedDefinitionFileId string)(*GroupPolicyUploadedDefinitionFilesGroupPolicyUploadedDefinitionFileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupPolicyUploadedDefinitionFilesRequestBuilder) ToPostRequestInformat } 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 *GroupPolicyUploadedDefinitionFilesRequestBuilder) WithUrl(rawUrl string)(*GroupPolicyUploadedDefinitionFilesRequestBuilder) { + return NewGroupPolicyUploadedDefinitionFilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/imported_device_identities_count_request_builder.go b/devicemanagement/imported_device_identities_count_request_builder.go index 45945f9e32b..430904b75b5 100644 --- a/devicemanagement/imported_device_identities_count_request_builder.go +++ b/devicemanagement/imported_device_identities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ImportedDeviceIdentitiesCountRequestBuilder) ToGetRequestInformation(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 *ImportedDeviceIdentitiesCountRequestBuilder) WithUrl(rawUrl string)(*ImportedDeviceIdentitiesCountRequestBuilder) { + return NewImportedDeviceIdentitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/imported_device_identities_import_device_identity_list_request_builder.go b/devicemanagement/imported_device_identities_import_device_identity_list_request_builder.go index d91ce2b55dc..b244bae0510 100644 --- a/devicemanagement/imported_device_identities_import_device_identity_list_request_builder.go +++ b/devicemanagement/imported_device_identities_import_device_identity_list_request_builder.go @@ -66,3 +66,7 @@ func (m *ImportedDeviceIdentitiesImportDeviceIdentityListRequestBuilder) ToPostR } 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 *ImportedDeviceIdentitiesImportDeviceIdentityListRequestBuilder) WithUrl(rawUrl string)(*ImportedDeviceIdentitiesImportDeviceIdentityListRequestBuilder) { + return NewImportedDeviceIdentitiesImportDeviceIdentityListRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/imported_device_identities_imported_device_identity_item_request_builder.go b/devicemanagement/imported_device_identities_imported_device_identity_item_request_builder.go index c8f28f940e2..cef6345b15b 100644 --- a/devicemanagement/imported_device_identities_imported_device_identity_item_request_builder.go +++ b/devicemanagement/imported_device_identities_imported_device_identity_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ImportedDeviceIdentitiesImportedDeviceIdentityItemRequestBuilder) 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 *ImportedDeviceIdentitiesImportedDeviceIdentityItemRequestBuilder) WithUrl(rawUrl string)(*ImportedDeviceIdentitiesImportedDeviceIdentityItemRequestBuilder) { + return NewImportedDeviceIdentitiesImportedDeviceIdentityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/imported_device_identities_request_builder.go b/devicemanagement/imported_device_identities_request_builder.go index 86d81cd0729..44a2e129212 100644 --- a/devicemanagement/imported_device_identities_request_builder.go +++ b/devicemanagement/imported_device_identities_request_builder.go @@ -46,8 +46,8 @@ type ImportedDeviceIdentitiesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByImportedDeviceIdentityIdString provides operations to manage the importedDeviceIdentities property of the microsoft.graph.deviceManagement entity. -func (m *ImportedDeviceIdentitiesRequestBuilder) ByImportedDeviceIdentityIdString(importedDeviceIdentityId string)(*ImportedDeviceIdentitiesImportedDeviceIdentityItemRequestBuilder) { +// ByImportedDeviceIdentityId provides operations to manage the importedDeviceIdentities property of the microsoft.graph.deviceManagement entity. +func (m *ImportedDeviceIdentitiesRequestBuilder) ByImportedDeviceIdentityId(importedDeviceIdentityId string)(*ImportedDeviceIdentitiesImportedDeviceIdentityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,7 @@ func (m *ImportedDeviceIdentitiesRequestBuilder) ToPostRequestInformation(ctx co } 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 *ImportedDeviceIdentitiesRequestBuilder) WithUrl(rawUrl string)(*ImportedDeviceIdentitiesRequestBuilder) { + return NewImportedDeviceIdentitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/imported_device_identities_search_existing_identities_request_builder.go b/devicemanagement/imported_device_identities_search_existing_identities_request_builder.go index 7684d6bf64f..e702437d200 100644 --- a/devicemanagement/imported_device_identities_search_existing_identities_request_builder.go +++ b/devicemanagement/imported_device_identities_search_existing_identities_request_builder.go @@ -66,3 +66,7 @@ func (m *ImportedDeviceIdentitiesSearchExistingIdentitiesRequestBuilder) ToPostR } 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 *ImportedDeviceIdentitiesSearchExistingIdentitiesRequestBuilder) WithUrl(rawUrl string)(*ImportedDeviceIdentitiesSearchExistingIdentitiesRequestBuilder) { + return NewImportedDeviceIdentitiesSearchExistingIdentitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/imported_windows_autopilot_device_identities_count_request_builder.go b/devicemanagement/imported_windows_autopilot_device_identities_count_request_builder.go index 219e1898c0c..42daa6f8dad 100644 --- a/devicemanagement/imported_windows_autopilot_device_identities_count_request_builder.go +++ b/devicemanagement/imported_windows_autopilot_device_identities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ImportedWindowsAutopilotDeviceIdentitiesCountRequestBuilder) ToGetReque } 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 *ImportedWindowsAutopilotDeviceIdentitiesCountRequestBuilder) WithUrl(rawUrl string)(*ImportedWindowsAutopilotDeviceIdentitiesCountRequestBuilder) { + return NewImportedWindowsAutopilotDeviceIdentitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/imported_windows_autopilot_device_identities_import_request_builder.go b/devicemanagement/imported_windows_autopilot_device_identities_import_request_builder.go index fdfa2bad25f..917656c21e0 100644 --- a/devicemanagement/imported_windows_autopilot_device_identities_import_request_builder.go +++ b/devicemanagement/imported_windows_autopilot_device_identities_import_request_builder.go @@ -66,3 +66,7 @@ func (m *ImportedWindowsAutopilotDeviceIdentitiesImportRequestBuilder) ToPostReq } 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 *ImportedWindowsAutopilotDeviceIdentitiesImportRequestBuilder) WithUrl(rawUrl string)(*ImportedWindowsAutopilotDeviceIdentitiesImportRequestBuilder) { + return NewImportedWindowsAutopilotDeviceIdentitiesImportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/imported_windows_autopilot_device_identities_imported_windows_autopilot_device_identity_item_request_builder.go b/devicemanagement/imported_windows_autopilot_device_identities_imported_windows_autopilot_device_identity_item_request_builder.go index afbf5ef12a0..52b9b75b5d7 100644 --- a/devicemanagement/imported_windows_autopilot_device_identities_imported_windows_autopilot_device_identity_item_request_builder.go +++ b/devicemanagement/imported_windows_autopilot_device_identities_imported_windows_autopilot_device_identity_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceI } 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 *ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceIdentityItemRequestBuilder) WithUrl(rawUrl string)(*ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceIdentityItemRequestBuilder) { + return NewImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceIdentityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/imported_windows_autopilot_device_identities_request_builder.go b/devicemanagement/imported_windows_autopilot_device_identities_request_builder.go index 5ab7b7e3dfd..1c532ccda1d 100644 --- a/devicemanagement/imported_windows_autopilot_device_identities_request_builder.go +++ b/devicemanagement/imported_windows_autopilot_device_identities_request_builder.go @@ -46,8 +46,8 @@ type ImportedWindowsAutopilotDeviceIdentitiesRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByImportedWindowsAutopilotDeviceIdentityIdString provides operations to manage the importedWindowsAutopilotDeviceIdentities property of the microsoft.graph.deviceManagement entity. -func (m *ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder) ByImportedWindowsAutopilotDeviceIdentityIdString(importedWindowsAutopilotDeviceIdentityId string)(*ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceIdentityItemRequestBuilder) { +// ByImportedWindowsAutopilotDeviceIdentityId provides operations to manage the importedWindowsAutopilotDeviceIdentities property of the microsoft.graph.deviceManagement entity. +func (m *ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder) ByImportedWindowsAutopilotDeviceIdentityId(importedWindowsAutopilotDeviceIdentityId string)(*ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceIdentityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder) ToPostRequestIn } 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 *ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder) WithUrl(rawUrl string)(*ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder) { + return NewImportedWindowsAutopilotDeviceIdentitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_count_request_builder.go b/devicemanagement/intents_count_request_builder.go index 73f261dce99..3f4044b09c3 100644 --- a/devicemanagement/intents_count_request_builder.go +++ b/devicemanagement/intents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IntentsCountRequestBuilder) ToGetRequestInformation(ctx context.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 *IntentsCountRequestBuilder) WithUrl(rawUrl string)(*IntentsCountRequestBuilder) { + return NewIntentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_device_management_intent_item_request_builder.go b/devicemanagement/intents_device_management_intent_item_request_builder.go index f415ff122fa..c83806f476c 100644 --- a/devicemanagement/intents_device_management_intent_item_request_builder.go +++ b/devicemanagement/intents_device_management_intent_item_request_builder.go @@ -209,3 +209,7 @@ func (m *IntentsDeviceManagementIntentItemRequestBuilder) UserStates()(*IntentsI func (m *IntentsDeviceManagementIntentItemRequestBuilder) UserStateSummary()(*IntentsItemUserStateSummaryRequestBuilder) { return NewIntentsItemUserStateSummaryRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *IntentsDeviceManagementIntentItemRequestBuilder) WithUrl(rawUrl string)(*IntentsDeviceManagementIntentItemRequestBuilder) { + return NewIntentsDeviceManagementIntentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_assign_request_builder.go b/devicemanagement/intents_item_assign_request_builder.go index 51dc8be6689..855ddc52cfb 100644 --- a/devicemanagement/intents_item_assign_request_builder.go +++ b/devicemanagement/intents_item_assign_request_builder.go @@ -62,3 +62,7 @@ func (m *IntentsItemAssignRequestBuilder) ToPostRequestInformation(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 *IntentsItemAssignRequestBuilder) WithUrl(rawUrl string)(*IntentsItemAssignRequestBuilder) { + return NewIntentsItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_assignments_count_request_builder.go b/devicemanagement/intents_item_assignments_count_request_builder.go index 6dec4852b5a..5b17b695e38 100644 --- a/devicemanagement/intents_item_assignments_count_request_builder.go +++ b/devicemanagement/intents_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IntentsItemAssignmentsCountRequestBuilder) ToGetRequestInformation(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 *IntentsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*IntentsItemAssignmentsCountRequestBuilder) { + return NewIntentsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_assignments_device_management_intent_assignment_item_request_builder.go b/devicemanagement/intents_item_assignments_device_management_intent_assignment_item_request_builder.go index 2a8cf60f26e..f52d2de7246 100644 --- a/devicemanagement/intents_item_assignments_device_management_intent_assignment_item_request_builder.go +++ b/devicemanagement/intents_item_assignments_device_management_intent_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *IntentsItemAssignmentsDeviceManagementIntentAssignmentItemRequestBuilde } 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 *IntentsItemAssignmentsDeviceManagementIntentAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*IntentsItemAssignmentsDeviceManagementIntentAssignmentItemRequestBuilder) { + return NewIntentsItemAssignmentsDeviceManagementIntentAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_assignments_request_builder.go b/devicemanagement/intents_item_assignments_request_builder.go index 5f4fe704c10..a9442695187 100644 --- a/devicemanagement/intents_item_assignments_request_builder.go +++ b/devicemanagement/intents_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type IntentsItemAssignmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementIntentAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.deviceManagementIntent entity. -func (m *IntentsItemAssignmentsRequestBuilder) ByDeviceManagementIntentAssignmentIdString(deviceManagementIntentAssignmentId string)(*IntentsItemAssignmentsDeviceManagementIntentAssignmentItemRequestBuilder) { +// ByDeviceManagementIntentAssignmentId provides operations to manage the assignments property of the microsoft.graph.deviceManagementIntent entity. +func (m *IntentsItemAssignmentsRequestBuilder) ByDeviceManagementIntentAssignmentId(deviceManagementIntentAssignmentId string)(*IntentsItemAssignmentsDeviceManagementIntentAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *IntentsItemAssignmentsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *IntentsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*IntentsItemAssignmentsRequestBuilder) { + return NewIntentsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_categories_count_request_builder.go b/devicemanagement/intents_item_categories_count_request_builder.go index cbc17222e88..e806a779db9 100644 --- a/devicemanagement/intents_item_categories_count_request_builder.go +++ b/devicemanagement/intents_item_categories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IntentsItemCategoriesCountRequestBuilder) ToGetRequestInformation(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 *IntentsItemCategoriesCountRequestBuilder) WithUrl(rawUrl string)(*IntentsItemCategoriesCountRequestBuilder) { + return NewIntentsItemCategoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_categories_device_management_intent_setting_category_item_request_builder.go b/devicemanagement/intents_item_categories_device_management_intent_setting_category_item_request_builder.go index 181637ff3c2..47e41dc21a1 100644 --- a/devicemanagement/intents_item_categories_device_management_intent_setting_category_item_request_builder.go +++ b/devicemanagement/intents_item_categories_device_management_intent_setting_category_item_request_builder.go @@ -161,3 +161,7 @@ func (m *IntentsItemCategoriesDeviceManagementIntentSettingCategoryItemRequestBu } 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 *IntentsItemCategoriesDeviceManagementIntentSettingCategoryItemRequestBuilder) WithUrl(rawUrl string)(*IntentsItemCategoriesDeviceManagementIntentSettingCategoryItemRequestBuilder) { + return NewIntentsItemCategoriesDeviceManagementIntentSettingCategoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_categories_item_setting_definitions_count_request_builder.go b/devicemanagement/intents_item_categories_item_setting_definitions_count_request_builder.go index 76055c8805c..8e39da65730 100644 --- a/devicemanagement/intents_item_categories_item_setting_definitions_count_request_builder.go +++ b/devicemanagement/intents_item_categories_item_setting_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IntentsItemCategoriesItemSettingDefinitionsCountRequestBuilder) ToGetRe } 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 *IntentsItemCategoriesItemSettingDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*IntentsItemCategoriesItemSettingDefinitionsCountRequestBuilder) { + return NewIntentsItemCategoriesItemSettingDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go b/devicemanagement/intents_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go index 3b71fdf34e2..4562cb767ad 100644 --- a/devicemanagement/intents_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go +++ b/devicemanagement/intents_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go @@ -153,3 +153,7 @@ func (m *IntentsItemCategoriesItemSettingDefinitionsDeviceManagementSettingDefin } 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 *IntentsItemCategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*IntentsItemCategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) { + return NewIntentsItemCategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_categories_item_setting_definitions_request_builder.go b/devicemanagement/intents_item_categories_item_setting_definitions_request_builder.go index 6865e264abb..86dce3c9f49 100644 --- a/devicemanagement/intents_item_categories_item_setting_definitions_request_builder.go +++ b/devicemanagement/intents_item_categories_item_setting_definitions_request_builder.go @@ -46,8 +46,8 @@ type IntentsItemCategoriesItemSettingDefinitionsRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementSettingDefinitionIdString provides operations to manage the settingDefinitions property of the microsoft.graph.deviceManagementSettingCategory entity. -func (m *IntentsItemCategoriesItemSettingDefinitionsRequestBuilder) ByDeviceManagementSettingDefinitionIdString(deviceManagementSettingDefinitionId string)(*IntentsItemCategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) { +// ByDeviceManagementSettingDefinitionId provides operations to manage the settingDefinitions property of the microsoft.graph.deviceManagementSettingCategory entity. +func (m *IntentsItemCategoriesItemSettingDefinitionsRequestBuilder) ByDeviceManagementSettingDefinitionId(deviceManagementSettingDefinitionId string)(*IntentsItemCategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *IntentsItemCategoriesItemSettingDefinitionsRequestBuilder) ToPostReques } 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 *IntentsItemCategoriesItemSettingDefinitionsRequestBuilder) WithUrl(rawUrl string)(*IntentsItemCategoriesItemSettingDefinitionsRequestBuilder) { + return NewIntentsItemCategoriesItemSettingDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_categories_item_settings_count_request_builder.go b/devicemanagement/intents_item_categories_item_settings_count_request_builder.go index aadb440b9aa..b70aa36b74c 100644 --- a/devicemanagement/intents_item_categories_item_settings_count_request_builder.go +++ b/devicemanagement/intents_item_categories_item_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IntentsItemCategoriesItemSettingsCountRequestBuilder) ToGetRequestInfor } 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 *IntentsItemCategoriesItemSettingsCountRequestBuilder) WithUrl(rawUrl string)(*IntentsItemCategoriesItemSettingsCountRequestBuilder) { + return NewIntentsItemCategoriesItemSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_categories_item_settings_device_management_setting_instance_item_request_builder.go b/devicemanagement/intents_item_categories_item_settings_device_management_setting_instance_item_request_builder.go index 899bc91a34b..885a7187bc7 100644 --- a/devicemanagement/intents_item_categories_item_settings_device_management_setting_instance_item_request_builder.go +++ b/devicemanagement/intents_item_categories_item_settings_device_management_setting_instance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *IntentsItemCategoriesItemSettingsDeviceManagementSettingInstanceItemReq } 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 *IntentsItemCategoriesItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) WithUrl(rawUrl string)(*IntentsItemCategoriesItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) { + return NewIntentsItemCategoriesItemSettingsDeviceManagementSettingInstanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_categories_item_settings_request_builder.go b/devicemanagement/intents_item_categories_item_settings_request_builder.go index 5a836a31880..e699607b9ac 100644 --- a/devicemanagement/intents_item_categories_item_settings_request_builder.go +++ b/devicemanagement/intents_item_categories_item_settings_request_builder.go @@ -46,8 +46,8 @@ type IntentsItemCategoriesItemSettingsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementSettingInstanceIdString provides operations to manage the settings property of the microsoft.graph.deviceManagementIntentSettingCategory entity. -func (m *IntentsItemCategoriesItemSettingsRequestBuilder) ByDeviceManagementSettingInstanceIdString(deviceManagementSettingInstanceId string)(*IntentsItemCategoriesItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) { +// ByDeviceManagementSettingInstanceId provides operations to manage the settings property of the microsoft.graph.deviceManagementIntentSettingCategory entity. +func (m *IntentsItemCategoriesItemSettingsRequestBuilder) ByDeviceManagementSettingInstanceId(deviceManagementSettingInstanceId string)(*IntentsItemCategoriesItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *IntentsItemCategoriesItemSettingsRequestBuilder) ToPostRequestInformati } 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 *IntentsItemCategoriesItemSettingsRequestBuilder) WithUrl(rawUrl string)(*IntentsItemCategoriesItemSettingsRequestBuilder) { + return NewIntentsItemCategoriesItemSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_categories_request_builder.go b/devicemanagement/intents_item_categories_request_builder.go index f7e116f5e94..89b32f408b5 100644 --- a/devicemanagement/intents_item_categories_request_builder.go +++ b/devicemanagement/intents_item_categories_request_builder.go @@ -46,8 +46,8 @@ type IntentsItemCategoriesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementIntentSettingCategoryIdString provides operations to manage the categories property of the microsoft.graph.deviceManagementIntent entity. -func (m *IntentsItemCategoriesRequestBuilder) ByDeviceManagementIntentSettingCategoryIdString(deviceManagementIntentSettingCategoryId string)(*IntentsItemCategoriesDeviceManagementIntentSettingCategoryItemRequestBuilder) { +// ByDeviceManagementIntentSettingCategoryId provides operations to manage the categories property of the microsoft.graph.deviceManagementIntent entity. +func (m *IntentsItemCategoriesRequestBuilder) ByDeviceManagementIntentSettingCategoryId(deviceManagementIntentSettingCategoryId string)(*IntentsItemCategoriesDeviceManagementIntentSettingCategoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *IntentsItemCategoriesRequestBuilder) 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 *IntentsItemCategoriesRequestBuilder) WithUrl(rawUrl string)(*IntentsItemCategoriesRequestBuilder) { + return NewIntentsItemCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_compare_with_template_id_request_builder.go b/devicemanagement/intents_item_compare_with_template_id_request_builder.go index 2cd290089a7..e611dfca4db 100644 --- a/devicemanagement/intents_item_compare_with_template_id_request_builder.go +++ b/devicemanagement/intents_item_compare_with_template_id_request_builder.go @@ -83,3 +83,7 @@ func (m *IntentsItemCompareWithTemplateIdRequestBuilder) 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 *IntentsItemCompareWithTemplateIdRequestBuilder) WithUrl(rawUrl string)(*IntentsItemCompareWithTemplateIdRequestBuilder) { + return NewIntentsItemCompareWithTemplateIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_create_copy_request_builder.go b/devicemanagement/intents_item_create_copy_request_builder.go index cb416818ae4..11545810949 100644 --- a/devicemanagement/intents_item_create_copy_request_builder.go +++ b/devicemanagement/intents_item_create_copy_request_builder.go @@ -67,3 +67,7 @@ func (m *IntentsItemCreateCopyRequestBuilder) 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 *IntentsItemCreateCopyRequestBuilder) WithUrl(rawUrl string)(*IntentsItemCreateCopyRequestBuilder) { + return NewIntentsItemCreateCopyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_device_setting_state_summaries_count_request_builder.go b/devicemanagement/intents_item_device_setting_state_summaries_count_request_builder.go index c5a39acdfa6..584416f3c3c 100644 --- a/devicemanagement/intents_item_device_setting_state_summaries_count_request_builder.go +++ b/devicemanagement/intents_item_device_setting_state_summaries_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IntentsItemDeviceSettingStateSummariesCountRequestBuilder) ToGetRequest } 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 *IntentsItemDeviceSettingStateSummariesCountRequestBuilder) WithUrl(rawUrl string)(*IntentsItemDeviceSettingStateSummariesCountRequestBuilder) { + return NewIntentsItemDeviceSettingStateSummariesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_device_setting_state_summaries_device_management_intent_device_setting_state_summary_item_request_builder.go b/devicemanagement/intents_item_device_setting_state_summaries_device_management_intent_device_setting_state_summary_item_request_builder.go index fb7acadc503..79397e805a2 100644 --- a/devicemanagement/intents_item_device_setting_state_summaries_device_management_intent_device_setting_state_summary_item_request_builder.go +++ b/devicemanagement/intents_item_device_setting_state_summaries_device_management_intent_device_setting_state_summary_item_request_builder.go @@ -153,3 +153,7 @@ func (m *IntentsItemDeviceSettingStateSummariesDeviceManagementIntentDeviceSetti } 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 *IntentsItemDeviceSettingStateSummariesDeviceManagementIntentDeviceSettingStateSummaryItemRequestBuilder) WithUrl(rawUrl string)(*IntentsItemDeviceSettingStateSummariesDeviceManagementIntentDeviceSettingStateSummaryItemRequestBuilder) { + return NewIntentsItemDeviceSettingStateSummariesDeviceManagementIntentDeviceSettingStateSummaryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_device_setting_state_summaries_request_builder.go b/devicemanagement/intents_item_device_setting_state_summaries_request_builder.go index 2ea8d18f9ca..317aee714a3 100644 --- a/devicemanagement/intents_item_device_setting_state_summaries_request_builder.go +++ b/devicemanagement/intents_item_device_setting_state_summaries_request_builder.go @@ -46,8 +46,8 @@ type IntentsItemDeviceSettingStateSummariesRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementIntentDeviceSettingStateSummaryIdString provides operations to manage the deviceSettingStateSummaries property of the microsoft.graph.deviceManagementIntent entity. -func (m *IntentsItemDeviceSettingStateSummariesRequestBuilder) ByDeviceManagementIntentDeviceSettingStateSummaryIdString(deviceManagementIntentDeviceSettingStateSummaryId string)(*IntentsItemDeviceSettingStateSummariesDeviceManagementIntentDeviceSettingStateSummaryItemRequestBuilder) { +// ByDeviceManagementIntentDeviceSettingStateSummaryId provides operations to manage the deviceSettingStateSummaries property of the microsoft.graph.deviceManagementIntent entity. +func (m *IntentsItemDeviceSettingStateSummariesRequestBuilder) ByDeviceManagementIntentDeviceSettingStateSummaryId(deviceManagementIntentDeviceSettingStateSummaryId string)(*IntentsItemDeviceSettingStateSummariesDeviceManagementIntentDeviceSettingStateSummaryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *IntentsItemDeviceSettingStateSummariesRequestBuilder) ToPostRequestInfo } 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 *IntentsItemDeviceSettingStateSummariesRequestBuilder) WithUrl(rawUrl string)(*IntentsItemDeviceSettingStateSummariesRequestBuilder) { + return NewIntentsItemDeviceSettingStateSummariesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_device_state_summary_request_builder.go b/devicemanagement/intents_item_device_state_summary_request_builder.go index a7a62c9e29b..40d79de95b9 100644 --- a/devicemanagement/intents_item_device_state_summary_request_builder.go +++ b/devicemanagement/intents_item_device_state_summary_request_builder.go @@ -153,3 +153,7 @@ func (m *IntentsItemDeviceStateSummaryRequestBuilder) 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 *IntentsItemDeviceStateSummaryRequestBuilder) WithUrl(rawUrl string)(*IntentsItemDeviceStateSummaryRequestBuilder) { + return NewIntentsItemDeviceStateSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_device_states_count_request_builder.go b/devicemanagement/intents_item_device_states_count_request_builder.go index 5aca1f0b041..7843c16bdb4 100644 --- a/devicemanagement/intents_item_device_states_count_request_builder.go +++ b/devicemanagement/intents_item_device_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IntentsItemDeviceStatesCountRequestBuilder) ToGetRequestInformation(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 *IntentsItemDeviceStatesCountRequestBuilder) WithUrl(rawUrl string)(*IntentsItemDeviceStatesCountRequestBuilder) { + return NewIntentsItemDeviceStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_device_states_device_management_intent_device_state_item_request_builder.go b/devicemanagement/intents_item_device_states_device_management_intent_device_state_item_request_builder.go index e3ab0da4c84..3793ccf11a8 100644 --- a/devicemanagement/intents_item_device_states_device_management_intent_device_state_item_request_builder.go +++ b/devicemanagement/intents_item_device_states_device_management_intent_device_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *IntentsItemDeviceStatesDeviceManagementIntentDeviceStateItemRequestBuil } 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 *IntentsItemDeviceStatesDeviceManagementIntentDeviceStateItemRequestBuilder) WithUrl(rawUrl string)(*IntentsItemDeviceStatesDeviceManagementIntentDeviceStateItemRequestBuilder) { + return NewIntentsItemDeviceStatesDeviceManagementIntentDeviceStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_device_states_request_builder.go b/devicemanagement/intents_item_device_states_request_builder.go index 085ac46a76b..84963043781 100644 --- a/devicemanagement/intents_item_device_states_request_builder.go +++ b/devicemanagement/intents_item_device_states_request_builder.go @@ -46,8 +46,8 @@ type IntentsItemDeviceStatesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementIntentDeviceStateIdString provides operations to manage the deviceStates property of the microsoft.graph.deviceManagementIntent entity. -func (m *IntentsItemDeviceStatesRequestBuilder) ByDeviceManagementIntentDeviceStateIdString(deviceManagementIntentDeviceStateId string)(*IntentsItemDeviceStatesDeviceManagementIntentDeviceStateItemRequestBuilder) { +// ByDeviceManagementIntentDeviceStateId provides operations to manage the deviceStates property of the microsoft.graph.deviceManagementIntent entity. +func (m *IntentsItemDeviceStatesRequestBuilder) ByDeviceManagementIntentDeviceStateId(deviceManagementIntentDeviceStateId string)(*IntentsItemDeviceStatesDeviceManagementIntentDeviceStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *IntentsItemDeviceStatesRequestBuilder) ToPostRequestInformation(ctx con } 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 *IntentsItemDeviceStatesRequestBuilder) WithUrl(rawUrl string)(*IntentsItemDeviceStatesRequestBuilder) { + return NewIntentsItemDeviceStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_get_customized_settings_request_builder.go b/devicemanagement/intents_item_get_customized_settings_request_builder.go index 8018ca98cfb..d0d7c4d4886 100644 --- a/devicemanagement/intents_item_get_customized_settings_request_builder.go +++ b/devicemanagement/intents_item_get_customized_settings_request_builder.go @@ -80,3 +80,7 @@ func (m *IntentsItemGetCustomizedSettingsRequestBuilder) 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 *IntentsItemGetCustomizedSettingsRequestBuilder) WithUrl(rawUrl string)(*IntentsItemGetCustomizedSettingsRequestBuilder) { + return NewIntentsItemGetCustomizedSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_migrate_to_template_request_builder.go b/devicemanagement/intents_item_migrate_to_template_request_builder.go index 17118ab343e..5fd99f05161 100644 --- a/devicemanagement/intents_item_migrate_to_template_request_builder.go +++ b/devicemanagement/intents_item_migrate_to_template_request_builder.go @@ -62,3 +62,7 @@ func (m *IntentsItemMigrateToTemplateRequestBuilder) 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 *IntentsItemMigrateToTemplateRequestBuilder) WithUrl(rawUrl string)(*IntentsItemMigrateToTemplateRequestBuilder) { + return NewIntentsItemMigrateToTemplateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_settings_count_request_builder.go b/devicemanagement/intents_item_settings_count_request_builder.go index ef5f12f6bcd..7705139c1dc 100644 --- a/devicemanagement/intents_item_settings_count_request_builder.go +++ b/devicemanagement/intents_item_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IntentsItemSettingsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *IntentsItemSettingsCountRequestBuilder) WithUrl(rawUrl string)(*IntentsItemSettingsCountRequestBuilder) { + return NewIntentsItemSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_settings_device_management_setting_instance_item_request_builder.go b/devicemanagement/intents_item_settings_device_management_setting_instance_item_request_builder.go index b54cf62423f..17fdad08716 100644 --- a/devicemanagement/intents_item_settings_device_management_setting_instance_item_request_builder.go +++ b/devicemanagement/intents_item_settings_device_management_setting_instance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *IntentsItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) T } 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 *IntentsItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) WithUrl(rawUrl string)(*IntentsItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) { + return NewIntentsItemSettingsDeviceManagementSettingInstanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_settings_request_builder.go b/devicemanagement/intents_item_settings_request_builder.go index 21dbb6e7599..0808b39c2b9 100644 --- a/devicemanagement/intents_item_settings_request_builder.go +++ b/devicemanagement/intents_item_settings_request_builder.go @@ -46,8 +46,8 @@ type IntentsItemSettingsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementSettingInstanceIdString provides operations to manage the settings property of the microsoft.graph.deviceManagementIntent entity. -func (m *IntentsItemSettingsRequestBuilder) ByDeviceManagementSettingInstanceIdString(deviceManagementSettingInstanceId string)(*IntentsItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) { +// ByDeviceManagementSettingInstanceId provides operations to manage the settings property of the microsoft.graph.deviceManagementIntent entity. +func (m *IntentsItemSettingsRequestBuilder) ByDeviceManagementSettingInstanceId(deviceManagementSettingInstanceId string)(*IntentsItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *IntentsItemSettingsRequestBuilder) 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 *IntentsItemSettingsRequestBuilder) WithUrl(rawUrl string)(*IntentsItemSettingsRequestBuilder) { + return NewIntentsItemSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_update_settings_request_builder.go b/devicemanagement/intents_item_update_settings_request_builder.go index 33a72c06bab..3440e4b8842 100644 --- a/devicemanagement/intents_item_update_settings_request_builder.go +++ b/devicemanagement/intents_item_update_settings_request_builder.go @@ -62,3 +62,7 @@ func (m *IntentsItemUpdateSettingsRequestBuilder) ToPostRequestInformation(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 *IntentsItemUpdateSettingsRequestBuilder) WithUrl(rawUrl string)(*IntentsItemUpdateSettingsRequestBuilder) { + return NewIntentsItemUpdateSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_user_state_summary_request_builder.go b/devicemanagement/intents_item_user_state_summary_request_builder.go index 2588da36e53..e554e2dba7c 100644 --- a/devicemanagement/intents_item_user_state_summary_request_builder.go +++ b/devicemanagement/intents_item_user_state_summary_request_builder.go @@ -153,3 +153,7 @@ func (m *IntentsItemUserStateSummaryRequestBuilder) ToPatchRequestInformation(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 *IntentsItemUserStateSummaryRequestBuilder) WithUrl(rawUrl string)(*IntentsItemUserStateSummaryRequestBuilder) { + return NewIntentsItemUserStateSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_user_states_count_request_builder.go b/devicemanagement/intents_item_user_states_count_request_builder.go index 6855de9e586..6cb42c205f0 100644 --- a/devicemanagement/intents_item_user_states_count_request_builder.go +++ b/devicemanagement/intents_item_user_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IntentsItemUserStatesCountRequestBuilder) ToGetRequestInformation(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 *IntentsItemUserStatesCountRequestBuilder) WithUrl(rawUrl string)(*IntentsItemUserStatesCountRequestBuilder) { + return NewIntentsItemUserStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_user_states_device_management_intent_user_state_item_request_builder.go b/devicemanagement/intents_item_user_states_device_management_intent_user_state_item_request_builder.go index e555db6036d..333e24236c8 100644 --- a/devicemanagement/intents_item_user_states_device_management_intent_user_state_item_request_builder.go +++ b/devicemanagement/intents_item_user_states_device_management_intent_user_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *IntentsItemUserStatesDeviceManagementIntentUserStateItemRequestBuilder) } 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 *IntentsItemUserStatesDeviceManagementIntentUserStateItemRequestBuilder) WithUrl(rawUrl string)(*IntentsItemUserStatesDeviceManagementIntentUserStateItemRequestBuilder) { + return NewIntentsItemUserStatesDeviceManagementIntentUserStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_item_user_states_request_builder.go b/devicemanagement/intents_item_user_states_request_builder.go index 8c3b665f8bd..2b9f40d441c 100644 --- a/devicemanagement/intents_item_user_states_request_builder.go +++ b/devicemanagement/intents_item_user_states_request_builder.go @@ -46,8 +46,8 @@ type IntentsItemUserStatesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementIntentUserStateIdString provides operations to manage the userStates property of the microsoft.graph.deviceManagementIntent entity. -func (m *IntentsItemUserStatesRequestBuilder) ByDeviceManagementIntentUserStateIdString(deviceManagementIntentUserStateId string)(*IntentsItemUserStatesDeviceManagementIntentUserStateItemRequestBuilder) { +// ByDeviceManagementIntentUserStateId provides operations to manage the userStates property of the microsoft.graph.deviceManagementIntent entity. +func (m *IntentsItemUserStatesRequestBuilder) ByDeviceManagementIntentUserStateId(deviceManagementIntentUserStateId string)(*IntentsItemUserStatesDeviceManagementIntentUserStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *IntentsItemUserStatesRequestBuilder) 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 *IntentsItemUserStatesRequestBuilder) WithUrl(rawUrl string)(*IntentsItemUserStatesRequestBuilder) { + return NewIntentsItemUserStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intents_request_builder.go b/devicemanagement/intents_request_builder.go index 24989b82ae4..734b82040ab 100644 --- a/devicemanagement/intents_request_builder.go +++ b/devicemanagement/intents_request_builder.go @@ -46,8 +46,8 @@ type IntentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementIntentIdString provides operations to manage the intents property of the microsoft.graph.deviceManagement entity. -func (m *IntentsRequestBuilder) ByDeviceManagementIntentIdString(deviceManagementIntentId string)(*IntentsDeviceManagementIntentItemRequestBuilder) { +// ByDeviceManagementIntentId provides operations to manage the intents property of the microsoft.graph.deviceManagement entity. +func (m *IntentsRequestBuilder) ByDeviceManagementIntentId(deviceManagementIntentId string)(*IntentsDeviceManagementIntentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *IntentsRequestBuilder) ToPostRequestInformation(ctx context.Context, bo } 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 *IntentsRequestBuilder) WithUrl(rawUrl string)(*IntentsRequestBuilder) { + return NewIntentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intune_branding_profiles_count_request_builder.go b/devicemanagement/intune_branding_profiles_count_request_builder.go index f5a2082ed81..7295aa355f1 100644 --- a/devicemanagement/intune_branding_profiles_count_request_builder.go +++ b/devicemanagement/intune_branding_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IntuneBrandingProfilesCountRequestBuilder) ToGetRequestInformation(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 *IntuneBrandingProfilesCountRequestBuilder) WithUrl(rawUrl string)(*IntuneBrandingProfilesCountRequestBuilder) { + return NewIntuneBrandingProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intune_branding_profiles_intune_branding_profile_item_request_builder.go b/devicemanagement/intune_branding_profiles_intune_branding_profile_item_request_builder.go index 09ec97ce198..58cf90fe8bc 100644 --- a/devicemanagement/intune_branding_profiles_intune_branding_profile_item_request_builder.go +++ b/devicemanagement/intune_branding_profiles_intune_branding_profile_item_request_builder.go @@ -161,3 +161,7 @@ func (m *IntuneBrandingProfilesIntuneBrandingProfileItemRequestBuilder) ToPatchR } 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 *IntuneBrandingProfilesIntuneBrandingProfileItemRequestBuilder) WithUrl(rawUrl string)(*IntuneBrandingProfilesIntuneBrandingProfileItemRequestBuilder) { + return NewIntuneBrandingProfilesIntuneBrandingProfileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intune_branding_profiles_item_assign_request_builder.go b/devicemanagement/intune_branding_profiles_item_assign_request_builder.go index 0a5796d38c3..cf5f2d1d433 100644 --- a/devicemanagement/intune_branding_profiles_item_assign_request_builder.go +++ b/devicemanagement/intune_branding_profiles_item_assign_request_builder.go @@ -62,3 +62,7 @@ func (m *IntuneBrandingProfilesItemAssignRequestBuilder) ToPostRequestInformatio } 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 *IntuneBrandingProfilesItemAssignRequestBuilder) WithUrl(rawUrl string)(*IntuneBrandingProfilesItemAssignRequestBuilder) { + return NewIntuneBrandingProfilesItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intune_branding_profiles_item_assignments_count_request_builder.go b/devicemanagement/intune_branding_profiles_item_assignments_count_request_builder.go index c52df1c777c..1589d032f2d 100644 --- a/devicemanagement/intune_branding_profiles_item_assignments_count_request_builder.go +++ b/devicemanagement/intune_branding_profiles_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IntuneBrandingProfilesItemAssignmentsCountRequestBuilder) ToGetRequestI } 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 *IntuneBrandingProfilesItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*IntuneBrandingProfilesItemAssignmentsCountRequestBuilder) { + return NewIntuneBrandingProfilesItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intune_branding_profiles_item_assignments_intune_branding_profile_assignment_item_request_builder.go b/devicemanagement/intune_branding_profiles_item_assignments_intune_branding_profile_assignment_item_request_builder.go index d12ff08ad07..b32b79e118b 100644 --- a/devicemanagement/intune_branding_profiles_item_assignments_intune_branding_profile_assignment_item_request_builder.go +++ b/devicemanagement/intune_branding_profiles_item_assignments_intune_branding_profile_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *IntuneBrandingProfilesItemAssignmentsIntuneBrandingProfileAssignmentIte } 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 *IntuneBrandingProfilesItemAssignmentsIntuneBrandingProfileAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*IntuneBrandingProfilesItemAssignmentsIntuneBrandingProfileAssignmentItemRequestBuilder) { + return NewIntuneBrandingProfilesItemAssignmentsIntuneBrandingProfileAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intune_branding_profiles_item_assignments_request_builder.go b/devicemanagement/intune_branding_profiles_item_assignments_request_builder.go index 5ae4d27267d..56906f32d61 100644 --- a/devicemanagement/intune_branding_profiles_item_assignments_request_builder.go +++ b/devicemanagement/intune_branding_profiles_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type IntuneBrandingProfilesItemAssignmentsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByIntuneBrandingProfileAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.intuneBrandingProfile entity. -func (m *IntuneBrandingProfilesItemAssignmentsRequestBuilder) ByIntuneBrandingProfileAssignmentIdString(intuneBrandingProfileAssignmentId string)(*IntuneBrandingProfilesItemAssignmentsIntuneBrandingProfileAssignmentItemRequestBuilder) { +// ByIntuneBrandingProfileAssignmentId provides operations to manage the assignments property of the microsoft.graph.intuneBrandingProfile entity. +func (m *IntuneBrandingProfilesItemAssignmentsRequestBuilder) ByIntuneBrandingProfileAssignmentId(intuneBrandingProfileAssignmentId string)(*IntuneBrandingProfilesItemAssignmentsIntuneBrandingProfileAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *IntuneBrandingProfilesItemAssignmentsRequestBuilder) ToPostRequestInfor } 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 *IntuneBrandingProfilesItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*IntuneBrandingProfilesItemAssignmentsRequestBuilder) { + return NewIntuneBrandingProfilesItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/intune_branding_profiles_request_builder.go b/devicemanagement/intune_branding_profiles_request_builder.go index 1f322e90474..ee67063e0d7 100644 --- a/devicemanagement/intune_branding_profiles_request_builder.go +++ b/devicemanagement/intune_branding_profiles_request_builder.go @@ -46,8 +46,8 @@ type IntuneBrandingProfilesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByIntuneBrandingProfileIdString provides operations to manage the intuneBrandingProfiles property of the microsoft.graph.deviceManagement entity. -func (m *IntuneBrandingProfilesRequestBuilder) ByIntuneBrandingProfileIdString(intuneBrandingProfileId string)(*IntuneBrandingProfilesIntuneBrandingProfileItemRequestBuilder) { +// ByIntuneBrandingProfileId provides operations to manage the intuneBrandingProfiles property of the microsoft.graph.deviceManagement entity. +func (m *IntuneBrandingProfilesRequestBuilder) ByIntuneBrandingProfileId(intuneBrandingProfileId string)(*IntuneBrandingProfilesIntuneBrandingProfileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *IntuneBrandingProfilesRequestBuilder) ToPostRequestInformation(ctx cont } 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 *IntuneBrandingProfilesRequestBuilder) WithUrl(rawUrl string)(*IntuneBrandingProfilesRequestBuilder) { + return NewIntuneBrandingProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/ios_update_statuses_count_request_builder.go b/devicemanagement/ios_update_statuses_count_request_builder.go index 2efe3cf6dd4..d4b56c1b308 100644 --- a/devicemanagement/ios_update_statuses_count_request_builder.go +++ b/devicemanagement/ios_update_statuses_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IosUpdateStatusesCountRequestBuilder) ToGetRequestInformation(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 *IosUpdateStatusesCountRequestBuilder) WithUrl(rawUrl string)(*IosUpdateStatusesCountRequestBuilder) { + return NewIosUpdateStatusesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/ios_update_statuses_ios_update_device_status_item_request_builder.go b/devicemanagement/ios_update_statuses_ios_update_device_status_item_request_builder.go index 82b19819e32..b0494a24f12 100644 --- a/devicemanagement/ios_update_statuses_ios_update_device_status_item_request_builder.go +++ b/devicemanagement/ios_update_statuses_ios_update_device_status_item_request_builder.go @@ -153,3 +153,7 @@ func (m *IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilder) ToPatchReques } 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 *IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilder) WithUrl(rawUrl string)(*IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilder) { + return NewIosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/ios_update_statuses_request_builder.go b/devicemanagement/ios_update_statuses_request_builder.go index 6a9d593b9e1..8b8fe46422e 100644 --- a/devicemanagement/ios_update_statuses_request_builder.go +++ b/devicemanagement/ios_update_statuses_request_builder.go @@ -46,8 +46,8 @@ type IosUpdateStatusesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByIosUpdateDeviceStatusIdString provides operations to manage the iosUpdateStatuses property of the microsoft.graph.deviceManagement entity. -func (m *IosUpdateStatusesRequestBuilder) ByIosUpdateDeviceStatusIdString(iosUpdateDeviceStatusId string)(*IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilder) { +// ByIosUpdateDeviceStatusId provides operations to manage the iosUpdateStatuses property of the microsoft.graph.deviceManagement entity. +func (m *IosUpdateStatusesRequestBuilder) ByIosUpdateDeviceStatusId(iosUpdateDeviceStatusId string)(*IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *IosUpdateStatusesRequestBuilder) ToPostRequestInformation(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 *IosUpdateStatusesRequestBuilder) WithUrl(rawUrl string)(*IosUpdateStatusesRequestBuilder) { + return NewIosUpdateStatusesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/mac_o_s_software_update_account_summaries_count_request_builder.go b/devicemanagement/mac_o_s_software_update_account_summaries_count_request_builder.go index 532f5f4a35d..cc1e199cc4b 100644 --- a/devicemanagement/mac_o_s_software_update_account_summaries_count_request_builder.go +++ b/devicemanagement/mac_o_s_software_update_account_summaries_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesCountRequestBuilder) ToGetRequestInf } 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 *MacOSSoftwareUpdateAccountSummariesCountRequestBuilder) WithUrl(rawUrl string)(*MacOSSoftwareUpdateAccountSummariesCountRequestBuilder) { + return NewMacOSSoftwareUpdateAccountSummariesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_count_request_builder.go b/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_count_request_builder.go index df91511b0ea..c827256e935 100644 --- a/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_count_request_builder.go +++ b/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesCountRequestBui } 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 *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesCountRequestBuilder) WithUrl(rawUrl string)(*MacOSSoftwareUpdateAccountSummariesItemCategorySummariesCountRequestBuilder) { + return NewMacOSSoftwareUpdateAccountSummariesItemCategorySummariesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_item_update_state_summaries_count_request_builder.go b/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_item_update_state_summaries_count_request_builder.go index 2b55dc3755a..bac965d43eb 100644 --- a/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_item_update_state_summaries_count_request_builder.go +++ b/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_item_update_state_summaries_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateState } 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 *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateStateSummariesCountRequestBuilder) WithUrl(rawUrl string)(*MacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateStateSummariesCountRequestBuilder) { + return NewMacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateStateSummariesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_item_update_state_summaries_mac_o_s_software_update_state_summary_item_request_builder.go b/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_item_update_state_summaries_mac_o_s_software_update_state_summary_item_request_builder.go index cdfa1c9289b..bc90bd6fc8a 100644 --- a/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_item_update_state_summaries_mac_o_s_software_update_state_summary_item_request_builder.go +++ b/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_item_update_state_summaries_mac_o_s_software_update_state_summary_item_request_builder.go @@ -153,3 +153,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateState } 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 *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateStateSummariesMacOSSoftwareUpdateStateSummaryItemRequestBuilder) WithUrl(rawUrl string)(*MacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateStateSummariesMacOSSoftwareUpdateStateSummaryItemRequestBuilder) { + return NewMacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateStateSummariesMacOSSoftwareUpdateStateSummaryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_item_update_state_summaries_request_builder.go b/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_item_update_state_summaries_request_builder.go index 68e9a9aa97f..129d0a90914 100644 --- a/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_item_update_state_summaries_request_builder.go +++ b/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_item_update_state_summaries_request_builder.go @@ -46,8 +46,8 @@ type MacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateStateSumm // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMacOSSoftwareUpdateStateSummaryIdString provides operations to manage the updateStateSummaries property of the microsoft.graph.macOSSoftwareUpdateCategorySummary entity. -func (m *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateStateSummariesRequestBuilder) ByMacOSSoftwareUpdateStateSummaryIdString(macOSSoftwareUpdateStateSummaryId string)(*MacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateStateSummariesMacOSSoftwareUpdateStateSummaryItemRequestBuilder) { +// ByMacOSSoftwareUpdateStateSummaryId provides operations to manage the updateStateSummaries property of the microsoft.graph.macOSSoftwareUpdateCategorySummary entity. +func (m *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateStateSummariesRequestBuilder) ByMacOSSoftwareUpdateStateSummaryId(macOSSoftwareUpdateStateSummaryId string)(*MacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateStateSummariesMacOSSoftwareUpdateStateSummaryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateState } 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 *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateStateSummariesRequestBuilder) WithUrl(rawUrl string)(*MacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateStateSummariesRequestBuilder) { + return NewMacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateStateSummariesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_mac_o_s_software_update_category_summary_item_request_builder.go b/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_mac_o_s_software_update_category_summary_item_request_builder.go index 29c45637b34..8862f90fedf 100644 --- a/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_mac_o_s_software_update_category_summary_item_request_builder.go +++ b/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_mac_o_s_software_update_category_summary_item_request_builder.go @@ -157,3 +157,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesMacOSSoftwareUp func (m *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesMacOSSoftwareUpdateCategorySummaryItemRequestBuilder) UpdateStateSummaries()(*MacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateStateSummariesRequestBuilder) { return NewMacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateStateSummariesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesMacOSSoftwareUpdateCategorySummaryItemRequestBuilder) WithUrl(rawUrl string)(*MacOSSoftwareUpdateAccountSummariesItemCategorySummariesMacOSSoftwareUpdateCategorySummaryItemRequestBuilder) { + return NewMacOSSoftwareUpdateAccountSummariesItemCategorySummariesMacOSSoftwareUpdateCategorySummaryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_request_builder.go b/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_request_builder.go index 8b05906759d..8bd1ab268d8 100644 --- a/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_request_builder.go +++ b/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_request_builder.go @@ -46,8 +46,8 @@ type MacOSSoftwareUpdateAccountSummariesItemCategorySummariesRequestBuilderPostR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMacOSSoftwareUpdateCategorySummaryIdString provides operations to manage the categorySummaries property of the microsoft.graph.macOSSoftwareUpdateAccountSummary entity. -func (m *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesRequestBuilder) ByMacOSSoftwareUpdateCategorySummaryIdString(macOSSoftwareUpdateCategorySummaryId string)(*MacOSSoftwareUpdateAccountSummariesItemCategorySummariesMacOSSoftwareUpdateCategorySummaryItemRequestBuilder) { +// ByMacOSSoftwareUpdateCategorySummaryId provides operations to manage the categorySummaries property of the microsoft.graph.macOSSoftwareUpdateAccountSummary entity. +func (m *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesRequestBuilder) ByMacOSSoftwareUpdateCategorySummaryId(macOSSoftwareUpdateCategorySummaryId string)(*MacOSSoftwareUpdateAccountSummariesItemCategorySummariesMacOSSoftwareUpdateCategorySummaryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesRequestBuilder) } 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 *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesRequestBuilder) WithUrl(rawUrl string)(*MacOSSoftwareUpdateAccountSummariesItemCategorySummariesRequestBuilder) { + return NewMacOSSoftwareUpdateAccountSummariesItemCategorySummariesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/mac_o_s_software_update_account_summaries_mac_o_s_software_update_account_summary_item_request_builder.go b/devicemanagement/mac_o_s_software_update_account_summaries_mac_o_s_software_update_account_summary_item_request_builder.go index bf201e3a178..3a173c75498 100644 --- a/devicemanagement/mac_o_s_software_update_account_summaries_mac_o_s_software_update_account_summary_item_request_builder.go +++ b/devicemanagement/mac_o_s_software_update_account_summaries_mac_o_s_software_update_account_summary_item_request_builder.go @@ -157,3 +157,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesMacOSSoftwareUpdateAccountSummaryIte } 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 *MacOSSoftwareUpdateAccountSummariesMacOSSoftwareUpdateAccountSummaryItemRequestBuilder) WithUrl(rawUrl string)(*MacOSSoftwareUpdateAccountSummariesMacOSSoftwareUpdateAccountSummaryItemRequestBuilder) { + return NewMacOSSoftwareUpdateAccountSummariesMacOSSoftwareUpdateAccountSummaryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/mac_o_s_software_update_account_summaries_request_builder.go b/devicemanagement/mac_o_s_software_update_account_summaries_request_builder.go index bc7fb7be6ae..f546434e6df 100644 --- a/devicemanagement/mac_o_s_software_update_account_summaries_request_builder.go +++ b/devicemanagement/mac_o_s_software_update_account_summaries_request_builder.go @@ -46,8 +46,8 @@ type MacOSSoftwareUpdateAccountSummariesRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMacOSSoftwareUpdateAccountSummaryIdString provides operations to manage the macOSSoftwareUpdateAccountSummaries property of the microsoft.graph.deviceManagement entity. -func (m *MacOSSoftwareUpdateAccountSummariesRequestBuilder) ByMacOSSoftwareUpdateAccountSummaryIdString(macOSSoftwareUpdateAccountSummaryId string)(*MacOSSoftwareUpdateAccountSummariesMacOSSoftwareUpdateAccountSummaryItemRequestBuilder) { +// ByMacOSSoftwareUpdateAccountSummaryId provides operations to manage the macOSSoftwareUpdateAccountSummaries property of the microsoft.graph.deviceManagement entity. +func (m *MacOSSoftwareUpdateAccountSummariesRequestBuilder) ByMacOSSoftwareUpdateAccountSummaryId(macOSSoftwareUpdateAccountSummaryId string)(*MacOSSoftwareUpdateAccountSummariesMacOSSoftwareUpdateAccountSummaryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesRequestBuilder) ToPostRequestInforma } 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 *MacOSSoftwareUpdateAccountSummariesRequestBuilder) WithUrl(rawUrl string)(*MacOSSoftwareUpdateAccountSummariesRequestBuilder) { + return NewMacOSSoftwareUpdateAccountSummariesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_device_encryption_states_count_request_builder.go b/devicemanagement/managed_device_encryption_states_count_request_builder.go index 5009cfcba20..c0961c7a4c7 100644 --- a/devicemanagement/managed_device_encryption_states_count_request_builder.go +++ b/devicemanagement/managed_device_encryption_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedDeviceEncryptionStatesCountRequestBuilder) ToGetRequestInformati } 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 *ManagedDeviceEncryptionStatesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedDeviceEncryptionStatesCountRequestBuilder) { + return NewManagedDeviceEncryptionStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_device_encryption_states_managed_device_encryption_state_item_request_builder.go b/devicemanagement/managed_device_encryption_states_managed_device_encryption_state_item_request_builder.go index 6902d13ef57..52892a52326 100644 --- a/devicemanagement/managed_device_encryption_states_managed_device_encryption_state_item_request_builder.go +++ b/devicemanagement/managed_device_encryption_states_managed_device_encryption_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedDeviceEncryptionStatesManagedDeviceEncryptionStateItemRequestBui } 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 *ManagedDeviceEncryptionStatesManagedDeviceEncryptionStateItemRequestBuilder) WithUrl(rawUrl string)(*ManagedDeviceEncryptionStatesManagedDeviceEncryptionStateItemRequestBuilder) { + return NewManagedDeviceEncryptionStatesManagedDeviceEncryptionStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_device_encryption_states_request_builder.go b/devicemanagement/managed_device_encryption_states_request_builder.go index 97d909704af..ebcc02c24e3 100644 --- a/devicemanagement/managed_device_encryption_states_request_builder.go +++ b/devicemanagement/managed_device_encryption_states_request_builder.go @@ -46,8 +46,8 @@ type ManagedDeviceEncryptionStatesRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedDeviceEncryptionStateIdString provides operations to manage the managedDeviceEncryptionStates property of the microsoft.graph.deviceManagement entity. -func (m *ManagedDeviceEncryptionStatesRequestBuilder) ByManagedDeviceEncryptionStateIdString(managedDeviceEncryptionStateId string)(*ManagedDeviceEncryptionStatesManagedDeviceEncryptionStateItemRequestBuilder) { +// ByManagedDeviceEncryptionStateId provides operations to manage the managedDeviceEncryptionStates property of the microsoft.graph.deviceManagement entity. +func (m *ManagedDeviceEncryptionStatesRequestBuilder) ByManagedDeviceEncryptionStateId(managedDeviceEncryptionStateId string)(*ManagedDeviceEncryptionStatesManagedDeviceEncryptionStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedDeviceEncryptionStatesRequestBuilder) ToPostRequestInformation(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 *ManagedDeviceEncryptionStatesRequestBuilder) WithUrl(rawUrl string)(*ManagedDeviceEncryptionStatesRequestBuilder) { + return NewManagedDeviceEncryptionStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_device_overview_request_builder.go b/devicemanagement/managed_device_overview_request_builder.go index 55859f5e229..e0935a6abc3 100644 --- a/devicemanagement/managed_device_overview_request_builder.go +++ b/devicemanagement/managed_device_overview_request_builder.go @@ -75,3 +75,7 @@ func (m *ManagedDeviceOverviewRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ManagedDeviceOverviewRequestBuilder) WithUrl(rawUrl string)(*ManagedDeviceOverviewRequestBuilder) { + return NewManagedDeviceOverviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_app_diagnostics_with_upn_request_builder.go b/devicemanagement/managed_devices_app_diagnostics_with_upn_request_builder.go index b5a5073b54a..0a369d77f7a 100644 --- a/devicemanagement/managed_devices_app_diagnostics_with_upn_request_builder.go +++ b/devicemanagement/managed_devices_app_diagnostics_with_upn_request_builder.go @@ -83,3 +83,7 @@ func (m *ManagedDevicesAppDiagnosticsWithUpnRequestBuilder) ToGetRequestInformat } 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 *ManagedDevicesAppDiagnosticsWithUpnRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesAppDiagnosticsWithUpnRequestBuilder) { + return NewManagedDevicesAppDiagnosticsWithUpnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_bulk_reprovision_cloud_pc_request_builder.go b/devicemanagement/managed_devices_bulk_reprovision_cloud_pc_request_builder.go index f25fbce3302..9af1c2dc17b 100644 --- a/devicemanagement/managed_devices_bulk_reprovision_cloud_pc_request_builder.go +++ b/devicemanagement/managed_devices_bulk_reprovision_cloud_pc_request_builder.go @@ -72,3 +72,8 @@ func (m *ManagedDevicesBulkReprovisionCloudPcRequestBuilder) ToPostRequestInform } 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. +// Deprecated: The bulkReprovisionCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkReprovisionCloudPc on 2023-05-24 and will be removed 2023-09-24 +func (m *ManagedDevicesBulkReprovisionCloudPcRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesBulkReprovisionCloudPcRequestBuilder) { + return NewManagedDevicesBulkReprovisionCloudPcRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_bulk_restore_cloud_pc_request_builder.go b/devicemanagement/managed_devices_bulk_restore_cloud_pc_request_builder.go index f66e6800929..9d12cb7565f 100644 --- a/devicemanagement/managed_devices_bulk_restore_cloud_pc_request_builder.go +++ b/devicemanagement/managed_devices_bulk_restore_cloud_pc_request_builder.go @@ -72,3 +72,8 @@ func (m *ManagedDevicesBulkRestoreCloudPcRequestBuilder) ToPostRequestInformatio } 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. +// Deprecated: The bulkRestoreCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkRestoreCloudPc on 2023-05-24 and will be removed 2023-09-24 +func (m *ManagedDevicesBulkRestoreCloudPcRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesBulkRestoreCloudPcRequestBuilder) { + return NewManagedDevicesBulkRestoreCloudPcRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_bulk_set_cloud_pc_review_status_request_builder.go b/devicemanagement/managed_devices_bulk_set_cloud_pc_review_status_request_builder.go index 09c247596da..3e4c0f43275 100644 --- a/devicemanagement/managed_devices_bulk_set_cloud_pc_review_status_request_builder.go +++ b/devicemanagement/managed_devices_bulk_set_cloud_pc_review_status_request_builder.go @@ -70,3 +70,7 @@ func (m *ManagedDevicesBulkSetCloudPcReviewStatusRequestBuilder) ToPostRequestIn } 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 *ManagedDevicesBulkSetCloudPcReviewStatusRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesBulkSetCloudPcReviewStatusRequestBuilder) { + return NewManagedDevicesBulkSetCloudPcReviewStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_count_request_builder.go b/devicemanagement/managed_devices_count_request_builder.go index 6e1175f4d8b..1729d79f465 100644 --- a/devicemanagement/managed_devices_count_request_builder.go +++ b/devicemanagement/managed_devices_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedDevicesCountRequestBuilder) ToGetRequestInformation(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 *ManagedDevicesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesCountRequestBuilder) { + return NewManagedDevicesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_download_app_diagnostics_request_builder.go b/devicemanagement/managed_devices_download_app_diagnostics_request_builder.go index c31f4363f36..84f4bec6310 100644 --- a/devicemanagement/managed_devices_download_app_diagnostics_request_builder.go +++ b/devicemanagement/managed_devices_download_app_diagnostics_request_builder.go @@ -65,3 +65,7 @@ func (m *ManagedDevicesDownloadAppDiagnosticsRequestBuilder) ToPostRequestInform } 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 *ManagedDevicesDownloadAppDiagnosticsRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesDownloadAppDiagnosticsRequestBuilder) { + return NewManagedDevicesDownloadAppDiagnosticsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_execute_action_request_builder.go b/devicemanagement/managed_devices_execute_action_request_builder.go index 5d94ffb3f7e..5cabaf1a59d 100644 --- a/devicemanagement/managed_devices_execute_action_request_builder.go +++ b/devicemanagement/managed_devices_execute_action_request_builder.go @@ -67,3 +67,7 @@ func (m *ManagedDevicesExecuteActionRequestBuilder) 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 *ManagedDevicesExecuteActionRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesExecuteActionRequestBuilder) { + return NewManagedDevicesExecuteActionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_activate_device_esim_request_builder.go b/devicemanagement/managed_devices_item_activate_device_esim_request_builder.go index f1e423b43f4..aeba5628c4f 100644 --- a/devicemanagement/managed_devices_item_activate_device_esim_request_builder.go +++ b/devicemanagement/managed_devices_item_activate_device_esim_request_builder.go @@ -62,3 +62,7 @@ func (m *ManagedDevicesItemActivateDeviceEsimRequestBuilder) ToPostRequestInform } 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 *ManagedDevicesItemActivateDeviceEsimRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemActivateDeviceEsimRequestBuilder) { + return NewManagedDevicesItemActivateDeviceEsimRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go b/devicemanagement/managed_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go index 39f80cb2078..51c31d86f8e 100644 --- a/devicemanagement/managed_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go +++ b/devicemanagement/managed_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFilt } 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 *ManagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFilterEvaluationStatusDetailsItemRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFilterEvaluationStatusDetailsItemRequestBuilder) { + return NewManagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFilterEvaluationStatusDetailsItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_assignment_filter_evaluation_status_details_count_request_builder.go b/devicemanagement/managed_devices_item_assignment_filter_evaluation_status_details_count_request_builder.go index f8bde1cde15..d57ecef777e 100644 --- a/devicemanagement/managed_devices_item_assignment_filter_evaluation_status_details_count_request_builder.go +++ b/devicemanagement/managed_devices_item_assignment_filter_evaluation_status_details_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedDevicesItemAssignmentFilterEvaluationStatusDetailsCountRequestBu } 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 *ManagedDevicesItemAssignmentFilterEvaluationStatusDetailsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemAssignmentFilterEvaluationStatusDetailsCountRequestBuilder) { + return NewManagedDevicesItemAssignmentFilterEvaluationStatusDetailsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_assignment_filter_evaluation_status_details_request_builder.go b/devicemanagement/managed_devices_item_assignment_filter_evaluation_status_details_request_builder.go index b771dd691a5..87192767421 100644 --- a/devicemanagement/managed_devices_item_assignment_filter_evaluation_status_details_request_builder.go +++ b/devicemanagement/managed_devices_item_assignment_filter_evaluation_status_details_request_builder.go @@ -46,8 +46,8 @@ type ManagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuilderPost // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAssignmentFilterEvaluationStatusDetailsIdString provides operations to manage the assignmentFilterEvaluationStatusDetails property of the microsoft.graph.managedDevice entity. -func (m *ManagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuilder) ByAssignmentFilterEvaluationStatusDetailsIdString(assignmentFilterEvaluationStatusDetailsId string)(*ManagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFilterEvaluationStatusDetailsItemRequestBuilder) { +// ByAssignmentFilterEvaluationStatusDetailsId provides operations to manage the assignmentFilterEvaluationStatusDetails property of the microsoft.graph.managedDevice entity. +func (m *ManagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuilder) ByAssignmentFilterEvaluationStatusDetailsId(assignmentFilterEvaluationStatusDetailsId string)(*ManagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFilterEvaluationStatusDetailsItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuilder } 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 *ManagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuilder) { + return NewManagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_bypass_activation_lock_request_builder.go b/devicemanagement/managed_devices_item_bypass_activation_lock_request_builder.go index 956cd452a7a..b5788b743ab 100644 --- a/devicemanagement/managed_devices_item_bypass_activation_lock_request_builder.go +++ b/devicemanagement/managed_devices_item_bypass_activation_lock_request_builder.go @@ -58,3 +58,7 @@ func (m *ManagedDevicesItemBypassActivationLockRequestBuilder) ToPostRequestInfo } 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 *ManagedDevicesItemBypassActivationLockRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemBypassActivationLockRequestBuilder) { + return NewManagedDevicesItemBypassActivationLockRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_clean_windows_device_request_builder.go b/devicemanagement/managed_devices_item_clean_windows_device_request_builder.go index 510443c3020..432ceb4b0d3 100644 --- a/devicemanagement/managed_devices_item_clean_windows_device_request_builder.go +++ b/devicemanagement/managed_devices_item_clean_windows_device_request_builder.go @@ -62,3 +62,7 @@ func (m *ManagedDevicesItemCleanWindowsDeviceRequestBuilder) ToPostRequestInform } 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 *ManagedDevicesItemCleanWindowsDeviceRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemCleanWindowsDeviceRequestBuilder) { + return NewManagedDevicesItemCleanWindowsDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_create_device_log_collection_request_request_builder.go b/devicemanagement/managed_devices_item_create_device_log_collection_request_request_builder.go index 6d175184a73..761be92ae40 100644 --- a/devicemanagement/managed_devices_item_create_device_log_collection_request_request_builder.go +++ b/devicemanagement/managed_devices_item_create_device_log_collection_request_request_builder.go @@ -67,3 +67,7 @@ func (m *ManagedDevicesItemCreateDeviceLogCollectionRequestRequestBuilder) ToPos } 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 *ManagedDevicesItemCreateDeviceLogCollectionRequestRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemCreateDeviceLogCollectionRequestRequestBuilder) { + return NewManagedDevicesItemCreateDeviceLogCollectionRequestRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_delete_user_from_shared_apple_device_request_builder.go b/devicemanagement/managed_devices_item_delete_user_from_shared_apple_device_request_builder.go index 0796cf8764b..559b9a8af87 100644 --- a/devicemanagement/managed_devices_item_delete_user_from_shared_apple_device_request_builder.go +++ b/devicemanagement/managed_devices_item_delete_user_from_shared_apple_device_request_builder.go @@ -62,3 +62,7 @@ func (m *ManagedDevicesItemDeleteUserFromSharedAppleDeviceRequestBuilder) ToPost } 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 *ManagedDevicesItemDeleteUserFromSharedAppleDeviceRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemDeleteUserFromSharedAppleDeviceRequestBuilder) { + return NewManagedDevicesItemDeleteUserFromSharedAppleDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_deprovision_request_builder.go b/devicemanagement/managed_devices_item_deprovision_request_builder.go index 4412375906d..5160184916f 100644 --- a/devicemanagement/managed_devices_item_deprovision_request_builder.go +++ b/devicemanagement/managed_devices_item_deprovision_request_builder.go @@ -62,3 +62,7 @@ func (m *ManagedDevicesItemDeprovisionRequestBuilder) ToPostRequestInformation(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 *ManagedDevicesItemDeprovisionRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemDeprovisionRequestBuilder) { + return NewManagedDevicesItemDeprovisionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_detected_apps_count_request_builder.go b/devicemanagement/managed_devices_item_detected_apps_count_request_builder.go index 5592e323130..fca3a9bc5ec 100644 --- a/devicemanagement/managed_devices_item_detected_apps_count_request_builder.go +++ b/devicemanagement/managed_devices_item_detected_apps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedDevicesItemDetectedAppsCountRequestBuilder) ToGetRequestInformat } 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 *ManagedDevicesItemDetectedAppsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemDetectedAppsCountRequestBuilder) { + return NewManagedDevicesItemDetectedAppsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_detected_apps_detected_app_item_request_builder.go b/devicemanagement/managed_devices_item_detected_apps_detected_app_item_request_builder.go index 8fa0bb10543..7e9258e7c57 100644 --- a/devicemanagement/managed_devices_item_detected_apps_detected_app_item_request_builder.go +++ b/devicemanagement/managed_devices_item_detected_apps_detected_app_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ManagedDevicesItemDetectedAppsDetectedAppItemRequestBuilder) ToGetReque } 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 *ManagedDevicesItemDetectedAppsDetectedAppItemRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemDetectedAppsDetectedAppItemRequestBuilder) { + return NewManagedDevicesItemDetectedAppsDetectedAppItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_detected_apps_request_builder.go b/devicemanagement/managed_devices_item_detected_apps_request_builder.go index c92f8ecc9f0..c26913ba446 100644 --- a/devicemanagement/managed_devices_item_detected_apps_request_builder.go +++ b/devicemanagement/managed_devices_item_detected_apps_request_builder.go @@ -39,8 +39,8 @@ type ManagedDevicesItemDetectedAppsRequestBuilderGetRequestConfiguration struct // Request query parameters QueryParameters *ManagedDevicesItemDetectedAppsRequestBuilderGetQueryParameters } -// ByDetectedAppIdString provides operations to manage the detectedApps property of the microsoft.graph.managedDevice entity. -func (m *ManagedDevicesItemDetectedAppsRequestBuilder) ByDetectedAppIdString(detectedAppId string)(*ManagedDevicesItemDetectedAppsDetectedAppItemRequestBuilder) { +// ByDetectedAppId provides operations to manage the detectedApps property of the microsoft.graph.managedDevice entity. +func (m *ManagedDevicesItemDetectedAppsRequestBuilder) ByDetectedAppId(detectedAppId string)(*ManagedDevicesItemDetectedAppsDetectedAppItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ManagedDevicesItemDetectedAppsRequestBuilder) ToGetRequestInformation(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 *ManagedDevicesItemDetectedAppsRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemDetectedAppsRequestBuilder) { + return NewManagedDevicesItemDetectedAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_device_category_request_builder.go b/devicemanagement/managed_devices_item_device_category_request_builder.go index 286d7dd0c17..8df2332e6a7 100644 --- a/devicemanagement/managed_devices_item_device_category_request_builder.go +++ b/devicemanagement/managed_devices_item_device_category_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedDevicesItemDeviceCategoryRequestBuilder) ToPatchRequestInformati } 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 *ManagedDevicesItemDeviceCategoryRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemDeviceCategoryRequestBuilder) { + return NewManagedDevicesItemDeviceCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_device_compliance_policy_states_count_request_builder.go b/devicemanagement/managed_devices_item_device_compliance_policy_states_count_request_builder.go index 4f657b37731..6de9a855a21 100644 --- a/devicemanagement/managed_devices_item_device_compliance_policy_states_count_request_builder.go +++ b/devicemanagement/managed_devices_item_device_compliance_policy_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedDevicesItemDeviceCompliancePolicyStatesCountRequestBuilder) ToGe } 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 *ManagedDevicesItemDeviceCompliancePolicyStatesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemDeviceCompliancePolicyStatesCountRequestBuilder) { + return NewManagedDevicesItemDeviceCompliancePolicyStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go b/devicemanagement/managed_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go index 3975f7cf4bd..f1a6a6182d2 100644 --- a/devicemanagement/managed_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go +++ b/devicemanagement/managed_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicySta } 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 *ManagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicyStateItemRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicyStateItemRequestBuilder) { + return NewManagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicyStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_device_compliance_policy_states_request_builder.go b/devicemanagement/managed_devices_item_device_compliance_policy_states_request_builder.go index 22031df211e..1a6c49966d2 100644 --- a/devicemanagement/managed_devices_item_device_compliance_policy_states_request_builder.go +++ b/devicemanagement/managed_devices_item_device_compliance_policy_states_request_builder.go @@ -46,8 +46,8 @@ type ManagedDevicesItemDeviceCompliancePolicyStatesRequestBuilderPostRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceCompliancePolicyStateIdString provides operations to manage the deviceCompliancePolicyStates property of the microsoft.graph.managedDevice entity. -func (m *ManagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder) ByDeviceCompliancePolicyStateIdString(deviceCompliancePolicyStateId string)(*ManagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicyStateItemRequestBuilder) { +// ByDeviceCompliancePolicyStateId provides operations to manage the deviceCompliancePolicyStates property of the microsoft.graph.managedDevice entity. +func (m *ManagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder) ByDeviceCompliancePolicyStateId(deviceCompliancePolicyStateId string)(*ManagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicyStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder) ToPostReq } 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 *ManagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder) { + return NewManagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_device_configuration_states_count_request_builder.go b/devicemanagement/managed_devices_item_device_configuration_states_count_request_builder.go index 22934409dd1..48afcda863f 100644 --- a/devicemanagement/managed_devices_item_device_configuration_states_count_request_builder.go +++ b/devicemanagement/managed_devices_item_device_configuration_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedDevicesItemDeviceConfigurationStatesCountRequestBuilder) ToGetRe } 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 *ManagedDevicesItemDeviceConfigurationStatesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemDeviceConfigurationStatesCountRequestBuilder) { + return NewManagedDevicesItemDeviceConfigurationStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go b/devicemanagement/managed_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go index 3148bfb4431..27b8cb21dbd 100644 --- a/devicemanagement/managed_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go +++ b/devicemanagement/managed_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateItem } 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 *ManagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateItemRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateItemRequestBuilder) { + return NewManagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_device_configuration_states_request_builder.go b/devicemanagement/managed_devices_item_device_configuration_states_request_builder.go index 100b416bda5..e821b42ad6c 100644 --- a/devicemanagement/managed_devices_item_device_configuration_states_request_builder.go +++ b/devicemanagement/managed_devices_item_device_configuration_states_request_builder.go @@ -46,8 +46,8 @@ type ManagedDevicesItemDeviceConfigurationStatesRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceConfigurationStateIdString provides operations to manage the deviceConfigurationStates property of the microsoft.graph.managedDevice entity. -func (m *ManagedDevicesItemDeviceConfigurationStatesRequestBuilder) ByDeviceConfigurationStateIdString(deviceConfigurationStateId string)(*ManagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateItemRequestBuilder) { +// ByDeviceConfigurationStateId provides operations to manage the deviceConfigurationStates property of the microsoft.graph.managedDevice entity. +func (m *ManagedDevicesItemDeviceConfigurationStatesRequestBuilder) ByDeviceConfigurationStateId(deviceConfigurationStateId string)(*ManagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedDevicesItemDeviceConfigurationStatesRequestBuilder) ToPostReques } 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 *ManagedDevicesItemDeviceConfigurationStatesRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemDeviceConfigurationStatesRequestBuilder) { + return NewManagedDevicesItemDeviceConfigurationStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_device_health_script_states_count_request_builder.go b/devicemanagement/managed_devices_item_device_health_script_states_count_request_builder.go index 89c7a85c7e3..f9c19dcddeb 100644 --- a/devicemanagement/managed_devices_item_device_health_script_states_count_request_builder.go +++ b/devicemanagement/managed_devices_item_device_health_script_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedDevicesItemDeviceHealthScriptStatesCountRequestBuilder) ToGetReq } 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 *ManagedDevicesItemDeviceHealthScriptStatesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemDeviceHealthScriptStatesCountRequestBuilder) { + return NewManagedDevicesItemDeviceHealthScriptStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_device_health_script_states_request_builder.go b/devicemanagement/managed_devices_item_device_health_script_states_request_builder.go index f597081275c..ca180634990 100644 --- a/devicemanagement/managed_devices_item_device_health_script_states_request_builder.go +++ b/devicemanagement/managed_devices_item_device_health_script_states_request_builder.go @@ -138,3 +138,7 @@ func (m *ManagedDevicesItemDeviceHealthScriptStatesRequestBuilder) ToPostRequest func (m *ManagedDevicesItemDeviceHealthScriptStatesRequestBuilder) WithIdWithPolicyIdWithDeviceId(deviceId *string, id *string, policyId *string)(*ManagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDeviceIdRequestBuilder) { return NewManagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDeviceIdRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, deviceId, id, policyId) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ManagedDevicesItemDeviceHealthScriptStatesRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemDeviceHealthScriptStatesRequestBuilder) { + return NewManagedDevicesItemDeviceHealthScriptStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go b/devicemanagement/managed_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go index 6cb17ff0ce6..a9975914546 100644 --- a/devicemanagement/managed_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go +++ b/devicemanagement/managed_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go @@ -162,3 +162,7 @@ func (m *ManagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDeviceI } 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 *ManagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDeviceIdRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDeviceIdRequestBuilder) { + return NewManagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDeviceIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_disable_lost_mode_request_builder.go b/devicemanagement/managed_devices_item_disable_lost_mode_request_builder.go index 95935958abb..a6cf9d73e88 100644 --- a/devicemanagement/managed_devices_item_disable_lost_mode_request_builder.go +++ b/devicemanagement/managed_devices_item_disable_lost_mode_request_builder.go @@ -58,3 +58,7 @@ func (m *ManagedDevicesItemDisableLostModeRequestBuilder) ToPostRequestInformati } 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 *ManagedDevicesItemDisableLostModeRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemDisableLostModeRequestBuilder) { + return NewManagedDevicesItemDisableLostModeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_disable_request_builder.go b/devicemanagement/managed_devices_item_disable_request_builder.go index 3dec1a2999c..27158dc18a4 100644 --- a/devicemanagement/managed_devices_item_disable_request_builder.go +++ b/devicemanagement/managed_devices_item_disable_request_builder.go @@ -58,3 +58,7 @@ func (m *ManagedDevicesItemDisableRequestBuilder) ToPostRequestInformation(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 *ManagedDevicesItemDisableRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemDisableRequestBuilder) { + return NewManagedDevicesItemDisableRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_enable_lost_mode_request_builder.go b/devicemanagement/managed_devices_item_enable_lost_mode_request_builder.go index 7c1d95a2f28..12072a0f9a0 100644 --- a/devicemanagement/managed_devices_item_enable_lost_mode_request_builder.go +++ b/devicemanagement/managed_devices_item_enable_lost_mode_request_builder.go @@ -62,3 +62,7 @@ func (m *ManagedDevicesItemEnableLostModeRequestBuilder) ToPostRequestInformatio } 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 *ManagedDevicesItemEnableLostModeRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemEnableLostModeRequestBuilder) { + return NewManagedDevicesItemEnableLostModeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_enroll_now_action_request_builder.go b/devicemanagement/managed_devices_item_enroll_now_action_request_builder.go index 8e7677c45f8..e50875cf69d 100644 --- a/devicemanagement/managed_devices_item_enroll_now_action_request_builder.go +++ b/devicemanagement/managed_devices_item_enroll_now_action_request_builder.go @@ -58,3 +58,7 @@ func (m *ManagedDevicesItemEnrollNowActionRequestBuilder) ToPostRequestInformati } 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 *ManagedDevicesItemEnrollNowActionRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemEnrollNowActionRequestBuilder) { + return NewManagedDevicesItemEnrollNowActionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go b/devicemanagement/managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go index 37bc9e92446..5a6adc0a66d 100644 --- a/devicemanagement/managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go +++ b/devicemanagement/managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go @@ -80,3 +80,7 @@ func (m *ManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) ToGetReq } 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 *ManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) { + return NewManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_get_cloud_pc_review_status_request_builder.go b/devicemanagement/managed_devices_item_get_cloud_pc_review_status_request_builder.go index a6250dd6321..607e44d650e 100644 --- a/devicemanagement/managed_devices_item_get_cloud_pc_review_status_request_builder.go +++ b/devicemanagement/managed_devices_item_get_cloud_pc_review_status_request_builder.go @@ -63,3 +63,7 @@ func (m *ManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) ToGetRequestInf } 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 *ManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) { + return NewManagedDevicesItemGetCloudPcReviewStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_get_file_vault_key_request_builder.go b/devicemanagement/managed_devices_item_get_file_vault_key_request_builder.go index 125b1b6b6bd..4f4705f48d7 100644 --- a/devicemanagement/managed_devices_item_get_file_vault_key_request_builder.go +++ b/devicemanagement/managed_devices_item_get_file_vault_key_request_builder.go @@ -62,3 +62,7 @@ func (m *ManagedDevicesItemGetFileVaultKeyRequestBuilder) 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 *ManagedDevicesItemGetFileVaultKeyRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemGetFileVaultKeyRequestBuilder) { + return NewManagedDevicesItemGetFileVaultKeyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_get_non_compliant_settings_request_builder.go b/devicemanagement/managed_devices_item_get_non_compliant_settings_request_builder.go index 81e184fdfd7..384308f5433 100644 --- a/devicemanagement/managed_devices_item_get_non_compliant_settings_request_builder.go +++ b/devicemanagement/managed_devices_item_get_non_compliant_settings_request_builder.go @@ -80,3 +80,7 @@ func (m *ManagedDevicesItemGetNonCompliantSettingsRequestBuilder) ToGetRequestIn } 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 *ManagedDevicesItemGetNonCompliantSettingsRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemGetNonCompliantSettingsRequestBuilder) { + return NewManagedDevicesItemGetNonCompliantSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go b/devicemanagement/managed_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go index 805e8d0bf97..5cd2343ae0e 100644 --- a/devicemanagement/managed_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go +++ b/devicemanagement/managed_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go @@ -58,3 +58,7 @@ func (m *ManagedDevicesItemInitiateMobileDeviceManagementKeyRecoveryRequestBuild } 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 *ManagedDevicesItemInitiateMobileDeviceManagementKeyRecoveryRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemInitiateMobileDeviceManagementKeyRecoveryRequestBuilder) { + return NewManagedDevicesItemInitiateMobileDeviceManagementKeyRecoveryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_initiate_on_demand_proactive_remediation_request_builder.go b/devicemanagement/managed_devices_item_initiate_on_demand_proactive_remediation_request_builder.go index 89f2aeb54de..e1b5be6cde8 100644 --- a/devicemanagement/managed_devices_item_initiate_on_demand_proactive_remediation_request_builder.go +++ b/devicemanagement/managed_devices_item_initiate_on_demand_proactive_remediation_request_builder.go @@ -62,3 +62,7 @@ func (m *ManagedDevicesItemInitiateOnDemandProactiveRemediationRequestBuilder) T } 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 *ManagedDevicesItemInitiateOnDemandProactiveRemediationRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemInitiateOnDemandProactiveRemediationRequestBuilder) { + return NewManagedDevicesItemInitiateOnDemandProactiveRemediationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_locate_device_request_builder.go b/devicemanagement/managed_devices_item_locate_device_request_builder.go index 4ec68718444..67c7f3b9e35 100644 --- a/devicemanagement/managed_devices_item_locate_device_request_builder.go +++ b/devicemanagement/managed_devices_item_locate_device_request_builder.go @@ -58,3 +58,7 @@ func (m *ManagedDevicesItemLocateDeviceRequestBuilder) 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 *ManagedDevicesItemLocateDeviceRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemLocateDeviceRequestBuilder) { + return NewManagedDevicesItemLocateDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_log_collection_requests_count_request_builder.go b/devicemanagement/managed_devices_item_log_collection_requests_count_request_builder.go index 59d6f665e63..377ffa65a15 100644 --- a/devicemanagement/managed_devices_item_log_collection_requests_count_request_builder.go +++ b/devicemanagement/managed_devices_item_log_collection_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedDevicesItemLogCollectionRequestsCountRequestBuilder) ToGetReques } 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 *ManagedDevicesItemLogCollectionRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemLogCollectionRequestsCountRequestBuilder) { + return NewManagedDevicesItemLogCollectionRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go b/devicemanagement/managed_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go index 328c633ab7c..f699f7ebb9d 100644 --- a/devicemanagement/managed_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go +++ b/devicemanagement/managed_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ManagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseItemR } 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 *ManagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseItemRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseItemRequestBuilder) { + return NewManagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_log_collection_requests_item_create_download_url_request_builder.go b/devicemanagement/managed_devices_item_log_collection_requests_item_create_download_url_request_builder.go index e350c183dd1..b55062fa894 100644 --- a/devicemanagement/managed_devices_item_log_collection_requests_item_create_download_url_request_builder.go +++ b/devicemanagement/managed_devices_item_log_collection_requests_item_create_download_url_request_builder.go @@ -62,3 +62,7 @@ func (m *ManagedDevicesItemLogCollectionRequestsItemCreateDownloadUrlRequestBuil } 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 *ManagedDevicesItemLogCollectionRequestsItemCreateDownloadUrlRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemLogCollectionRequestsItemCreateDownloadUrlRequestBuilder) { + return NewManagedDevicesItemLogCollectionRequestsItemCreateDownloadUrlRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_log_collection_requests_request_builder.go b/devicemanagement/managed_devices_item_log_collection_requests_request_builder.go index 31949093399..27aafcdb17e 100644 --- a/devicemanagement/managed_devices_item_log_collection_requests_request_builder.go +++ b/devicemanagement/managed_devices_item_log_collection_requests_request_builder.go @@ -46,8 +46,8 @@ type ManagedDevicesItemLogCollectionRequestsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceLogCollectionResponseIdString provides operations to manage the logCollectionRequests property of the microsoft.graph.managedDevice entity. -func (m *ManagedDevicesItemLogCollectionRequestsRequestBuilder) ByDeviceLogCollectionResponseIdString(deviceLogCollectionResponseId string)(*ManagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseItemRequestBuilder) { +// ByDeviceLogCollectionResponseId provides operations to manage the logCollectionRequests property of the microsoft.graph.managedDevice entity. +func (m *ManagedDevicesItemLogCollectionRequestsRequestBuilder) ByDeviceLogCollectionResponseId(deviceLogCollectionResponseId string)(*ManagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedDevicesItemLogCollectionRequestsRequestBuilder) ToPostRequestInf } 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 *ManagedDevicesItemLogCollectionRequestsRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemLogCollectionRequestsRequestBuilder) { + return NewManagedDevicesItemLogCollectionRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_logout_shared_apple_device_active_user_request_builder.go b/devicemanagement/managed_devices_item_logout_shared_apple_device_active_user_request_builder.go index 79b1feb8340..7fd65f5d6d0 100644 --- a/devicemanagement/managed_devices_item_logout_shared_apple_device_active_user_request_builder.go +++ b/devicemanagement/managed_devices_item_logout_shared_apple_device_active_user_request_builder.go @@ -58,3 +58,7 @@ func (m *ManagedDevicesItemLogoutSharedAppleDeviceActiveUserRequestBuilder) ToPo } 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 *ManagedDevicesItemLogoutSharedAppleDeviceActiveUserRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemLogoutSharedAppleDeviceActiveUserRequestBuilder) { + return NewManagedDevicesItemLogoutSharedAppleDeviceActiveUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_managed_device_mobile_app_configuration_states_count_request_builder.go b/devicemanagement/managed_devices_item_managed_device_mobile_app_configuration_states_count_request_builder.go index 083205220c5..f9dc9b7de00 100644 --- a/devicemanagement/managed_devices_item_managed_device_mobile_app_configuration_states_count_request_builder.go +++ b/devicemanagement/managed_devices_item_managed_device_mobile_app_configuration_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedDevicesItemManagedDeviceMobileAppConfigurationStatesCountRequest } 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 *ManagedDevicesItemManagedDeviceMobileAppConfigurationStatesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemManagedDeviceMobileAppConfigurationStatesCountRequestBuilder) { + return NewManagedDevicesItemManagedDeviceMobileAppConfigurationStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go b/devicemanagement/managed_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go index 267552da55d..88d009d9c74 100644 --- a/devicemanagement/managed_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go +++ b/devicemanagement/managed_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDevic } 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 *ManagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDeviceMobileAppConfigurationStateItemRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDeviceMobileAppConfigurationStateItemRequestBuilder) { + return NewManagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDeviceMobileAppConfigurationStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_managed_device_mobile_app_configuration_states_request_builder.go b/devicemanagement/managed_devices_item_managed_device_mobile_app_configuration_states_request_builder.go index 13832606161..981e682ffe4 100644 --- a/devicemanagement/managed_devices_item_managed_device_mobile_app_configuration_states_request_builder.go +++ b/devicemanagement/managed_devices_item_managed_device_mobile_app_configuration_states_request_builder.go @@ -46,8 +46,8 @@ type ManagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBuilderPo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedDeviceMobileAppConfigurationStateIdString provides operations to manage the managedDeviceMobileAppConfigurationStates property of the microsoft.graph.managedDevice entity. -func (m *ManagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBuilder) ByManagedDeviceMobileAppConfigurationStateIdString(managedDeviceMobileAppConfigurationStateId string)(*ManagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDeviceMobileAppConfigurationStateItemRequestBuilder) { +// ByManagedDeviceMobileAppConfigurationStateId provides operations to manage the managedDeviceMobileAppConfigurationStates property of the microsoft.graph.managedDevice entity. +func (m *ManagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBuilder) ByManagedDeviceMobileAppConfigurationStateId(managedDeviceMobileAppConfigurationStateId string)(*ManagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDeviceMobileAppConfigurationStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBuild } 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 *ManagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBuilder) { + return NewManagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_override_compliance_state_request_builder.go b/devicemanagement/managed_devices_item_override_compliance_state_request_builder.go index ff17cf1a9e4..3c1ef17a1b1 100644 --- a/devicemanagement/managed_devices_item_override_compliance_state_request_builder.go +++ b/devicemanagement/managed_devices_item_override_compliance_state_request_builder.go @@ -62,3 +62,7 @@ func (m *ManagedDevicesItemOverrideComplianceStateRequestBuilder) ToPostRequestI } 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 *ManagedDevicesItemOverrideComplianceStateRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemOverrideComplianceStateRequestBuilder) { + return NewManagedDevicesItemOverrideComplianceStateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_play_lost_mode_sound_request_builder.go b/devicemanagement/managed_devices_item_play_lost_mode_sound_request_builder.go index 3b393da87c3..e7d6db0c90e 100644 --- a/devicemanagement/managed_devices_item_play_lost_mode_sound_request_builder.go +++ b/devicemanagement/managed_devices_item_play_lost_mode_sound_request_builder.go @@ -62,3 +62,7 @@ func (m *ManagedDevicesItemPlayLostModeSoundRequestBuilder) ToPostRequestInforma } 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 *ManagedDevicesItemPlayLostModeSoundRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemPlayLostModeSoundRequestBuilder) { + return NewManagedDevicesItemPlayLostModeSoundRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_reboot_now_request_builder.go b/devicemanagement/managed_devices_item_reboot_now_request_builder.go index 78271fae7f1..0ee4b3e7bc1 100644 --- a/devicemanagement/managed_devices_item_reboot_now_request_builder.go +++ b/devicemanagement/managed_devices_item_reboot_now_request_builder.go @@ -58,3 +58,7 @@ func (m *ManagedDevicesItemRebootNowRequestBuilder) 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 *ManagedDevicesItemRebootNowRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemRebootNowRequestBuilder) { + return NewManagedDevicesItemRebootNowRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_recover_passcode_request_builder.go b/devicemanagement/managed_devices_item_recover_passcode_request_builder.go index 80ade731b3c..d51f2eb3889 100644 --- a/devicemanagement/managed_devices_item_recover_passcode_request_builder.go +++ b/devicemanagement/managed_devices_item_recover_passcode_request_builder.go @@ -58,3 +58,7 @@ func (m *ManagedDevicesItemRecoverPasscodeRequestBuilder) ToPostRequestInformati } 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 *ManagedDevicesItemRecoverPasscodeRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemRecoverPasscodeRequestBuilder) { + return NewManagedDevicesItemRecoverPasscodeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_reenable_request_builder.go b/devicemanagement/managed_devices_item_reenable_request_builder.go index c23b6be3987..45ea200b7cc 100644 --- a/devicemanagement/managed_devices_item_reenable_request_builder.go +++ b/devicemanagement/managed_devices_item_reenable_request_builder.go @@ -58,3 +58,7 @@ func (m *ManagedDevicesItemReenableRequestBuilder) 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 *ManagedDevicesItemReenableRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemReenableRequestBuilder) { + return NewManagedDevicesItemReenableRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_remote_lock_request_builder.go b/devicemanagement/managed_devices_item_remote_lock_request_builder.go index caa81ad76dd..d88c56878c9 100644 --- a/devicemanagement/managed_devices_item_remote_lock_request_builder.go +++ b/devicemanagement/managed_devices_item_remote_lock_request_builder.go @@ -58,3 +58,7 @@ func (m *ManagedDevicesItemRemoteLockRequestBuilder) 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 *ManagedDevicesItemRemoteLockRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemRemoteLockRequestBuilder) { + return NewManagedDevicesItemRemoteLockRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go b/devicemanagement/managed_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go index 113aedfd4ae..eaea8b0e28d 100644 --- a/devicemanagement/managed_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go +++ b/devicemanagement/managed_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go @@ -58,3 +58,7 @@ func (m *ManagedDevicesItemRemoveDeviceFirmwareConfigurationInterfaceManagementR } 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 *ManagedDevicesItemRemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemRemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder) { + return NewManagedDevicesItemRemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_reprovision_cloud_pc_request_builder.go b/devicemanagement/managed_devices_item_reprovision_cloud_pc_request_builder.go index 00b4c0db263..02a8942b632 100644 --- a/devicemanagement/managed_devices_item_reprovision_cloud_pc_request_builder.go +++ b/devicemanagement/managed_devices_item_reprovision_cloud_pc_request_builder.go @@ -63,3 +63,8 @@ func (m *ManagedDevicesItemReprovisionCloudPcRequestBuilder) ToPostRequestInform } 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. +// Deprecated: The reprovisionCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use reprovision instead as of 2023-07/reprovisionCloudPc on 2023-07-17 and will be removed 2023-09-30 +func (m *ManagedDevicesItemReprovisionCloudPcRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemReprovisionCloudPcRequestBuilder) { + return NewManagedDevicesItemReprovisionCloudPcRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_request_remote_assistance_request_builder.go b/devicemanagement/managed_devices_item_request_remote_assistance_request_builder.go index cbb9b2784df..fe41142c9cb 100644 --- a/devicemanagement/managed_devices_item_request_remote_assistance_request_builder.go +++ b/devicemanagement/managed_devices_item_request_remote_assistance_request_builder.go @@ -58,3 +58,7 @@ func (m *ManagedDevicesItemRequestRemoteAssistanceRequestBuilder) ToPostRequestI } 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 *ManagedDevicesItemRequestRemoteAssistanceRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemRequestRemoteAssistanceRequestBuilder) { + return NewManagedDevicesItemRequestRemoteAssistanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_reset_passcode_request_builder.go b/devicemanagement/managed_devices_item_reset_passcode_request_builder.go index b82032fb849..767f4cb6f9a 100644 --- a/devicemanagement/managed_devices_item_reset_passcode_request_builder.go +++ b/devicemanagement/managed_devices_item_reset_passcode_request_builder.go @@ -58,3 +58,7 @@ func (m *ManagedDevicesItemResetPasscodeRequestBuilder) 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 *ManagedDevicesItemResetPasscodeRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemResetPasscodeRequestBuilder) { + return NewManagedDevicesItemResetPasscodeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_resize_cloud_pc_request_builder.go b/devicemanagement/managed_devices_item_resize_cloud_pc_request_builder.go index 284b16dc942..722be4eef64 100644 --- a/devicemanagement/managed_devices_item_resize_cloud_pc_request_builder.go +++ b/devicemanagement/managed_devices_item_resize_cloud_pc_request_builder.go @@ -31,6 +31,7 @@ func NewManagedDevicesItemResizeCloudPcRequestBuilder(rawUrl string, requestAdap return NewManagedDevicesItemResizeCloudPcRequestBuilderInternal(urlParams, requestAdapter) } // Post upgrade or downgrade an existing Cloud PC to another configuration with a new virtual CPU (vCPU) and storage size. +// Deprecated: The resizeCloudPc API is deprecated and will stop returning on Oct 30, 2023. Please use resize instead as of 2023-05/resizeCloudPc on 2023-07-24 and will be removed 2023-10-30 // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-resizecloudpc?view=graph-rest-1.0 @@ -50,6 +51,7 @@ func (m *ManagedDevicesItemResizeCloudPcRequestBuilder) Post(ctx context.Context return nil } // ToPostRequestInformation upgrade or downgrade an existing Cloud PC to another configuration with a new virtual CPU (vCPU) and storage size. +// Deprecated: The resizeCloudPc API is deprecated and will stop returning on Oct 30, 2023. Please use resize instead as of 2023-05/resizeCloudPc on 2023-07-24 and will be removed 2023-10-30 func (m *ManagedDevicesItemResizeCloudPcRequestBuilder) ToPostRequestInformation(ctx context.Context, body ManagedDevicesItemResizeCloudPcPostRequestBodyable, requestConfiguration *ManagedDevicesItemResizeCloudPcRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -65,3 +67,8 @@ func (m *ManagedDevicesItemResizeCloudPcRequestBuilder) 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. +// Deprecated: The resizeCloudPc API is deprecated and will stop returning on Oct 30, 2023. Please use resize instead as of 2023-05/resizeCloudPc on 2023-07-24 and will be removed 2023-10-30 +func (m *ManagedDevicesItemResizeCloudPcRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemResizeCloudPcRequestBuilder) { + return NewManagedDevicesItemResizeCloudPcRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_restore_cloud_pc_request_builder.go b/devicemanagement/managed_devices_item_restore_cloud_pc_request_builder.go index b8a94456e5d..e3b00ed9ef6 100644 --- a/devicemanagement/managed_devices_item_restore_cloud_pc_request_builder.go +++ b/devicemanagement/managed_devices_item_restore_cloud_pc_request_builder.go @@ -31,7 +31,7 @@ func NewManagedDevicesItemRestoreCloudPcRequestBuilder(rawUrl string, requestAda return NewManagedDevicesItemRestoreCloudPcRequestBuilderInternal(urlParams, requestAdapter) } // Post restore a Cloud PC device to a previous state with an Intune managed device ID. -// Deprecated: The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc on 2023-07-17 and will be removed 2023-09-30 +// Deprecated: The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc on 2023-08-22 and will be removed 2023-10-30 // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-restorecloudpc?view=graph-rest-1.0 @@ -51,7 +51,7 @@ func (m *ManagedDevicesItemRestoreCloudPcRequestBuilder) Post(ctx context.Contex return nil } // ToPostRequestInformation restore a Cloud PC device to a previous state with an Intune managed device ID. -// Deprecated: The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc on 2023-07-17 and will be removed 2023-09-30 +// Deprecated: The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc on 2023-08-22 and will be removed 2023-10-30 func (m *ManagedDevicesItemRestoreCloudPcRequestBuilder) ToPostRequestInformation(ctx context.Context, body ManagedDevicesItemRestoreCloudPcPostRequestBodyable, requestConfiguration *ManagedDevicesItemRestoreCloudPcRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -67,3 +67,8 @@ func (m *ManagedDevicesItemRestoreCloudPcRequestBuilder) ToPostRequestInformatio } 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. +// Deprecated: The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc on 2023-08-22 and will be removed 2023-10-30 +func (m *ManagedDevicesItemRestoreCloudPcRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemRestoreCloudPcRequestBuilder) { + return NewManagedDevicesItemRestoreCloudPcRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_retire_request_builder.go b/devicemanagement/managed_devices_item_retire_request_builder.go index 8ec6941146c..c8acddf6d6b 100644 --- a/devicemanagement/managed_devices_item_retire_request_builder.go +++ b/devicemanagement/managed_devices_item_retire_request_builder.go @@ -58,3 +58,7 @@ func (m *ManagedDevicesItemRetireRequestBuilder) ToPostRequestInformation(ctx co } 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 *ManagedDevicesItemRetireRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemRetireRequestBuilder) { + return NewManagedDevicesItemRetireRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_revoke_apple_vpp_licenses_request_builder.go b/devicemanagement/managed_devices_item_revoke_apple_vpp_licenses_request_builder.go index b608c739076..1a74677be2b 100644 --- a/devicemanagement/managed_devices_item_revoke_apple_vpp_licenses_request_builder.go +++ b/devicemanagement/managed_devices_item_revoke_apple_vpp_licenses_request_builder.go @@ -58,3 +58,7 @@ func (m *ManagedDevicesItemRevokeAppleVppLicensesRequestBuilder) ToPostRequestIn } 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 *ManagedDevicesItemRevokeAppleVppLicensesRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemRevokeAppleVppLicensesRequestBuilder) { + return NewManagedDevicesItemRevokeAppleVppLicensesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_rotate_bit_locker_keys_request_builder.go b/devicemanagement/managed_devices_item_rotate_bit_locker_keys_request_builder.go index a10dc2d32a7..ff01962a411 100644 --- a/devicemanagement/managed_devices_item_rotate_bit_locker_keys_request_builder.go +++ b/devicemanagement/managed_devices_item_rotate_bit_locker_keys_request_builder.go @@ -58,3 +58,7 @@ func (m *ManagedDevicesItemRotateBitLockerKeysRequestBuilder) ToPostRequestInfor } 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 *ManagedDevicesItemRotateBitLockerKeysRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemRotateBitLockerKeysRequestBuilder) { + return NewManagedDevicesItemRotateBitLockerKeysRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_rotate_file_vault_key_request_builder.go b/devicemanagement/managed_devices_item_rotate_file_vault_key_request_builder.go index f2e49b47bf2..6a3560e6d1a 100644 --- a/devicemanagement/managed_devices_item_rotate_file_vault_key_request_builder.go +++ b/devicemanagement/managed_devices_item_rotate_file_vault_key_request_builder.go @@ -58,3 +58,7 @@ func (m *ManagedDevicesItemRotateFileVaultKeyRequestBuilder) ToPostRequestInform } 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 *ManagedDevicesItemRotateFileVaultKeyRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemRotateFileVaultKeyRequestBuilder) { + return NewManagedDevicesItemRotateFileVaultKeyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_rotate_local_admin_password_request_builder.go b/devicemanagement/managed_devices_item_rotate_local_admin_password_request_builder.go index e38e6d07462..f06dfe6646c 100644 --- a/devicemanagement/managed_devices_item_rotate_local_admin_password_request_builder.go +++ b/devicemanagement/managed_devices_item_rotate_local_admin_password_request_builder.go @@ -58,3 +58,7 @@ func (m *ManagedDevicesItemRotateLocalAdminPasswordRequestBuilder) ToPostRequest } 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 *ManagedDevicesItemRotateLocalAdminPasswordRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemRotateLocalAdminPasswordRequestBuilder) { + return NewManagedDevicesItemRotateLocalAdminPasswordRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_security_baseline_states_count_request_builder.go b/devicemanagement/managed_devices_item_security_baseline_states_count_request_builder.go index e38bba9b017..6763c0a6b27 100644 --- a/devicemanagement/managed_devices_item_security_baseline_states_count_request_builder.go +++ b/devicemanagement/managed_devices_item_security_baseline_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedDevicesItemSecurityBaselineStatesCountRequestBuilder) ToGetReque } 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 *ManagedDevicesItemSecurityBaselineStatesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemSecurityBaselineStatesCountRequestBuilder) { + return NewManagedDevicesItemSecurityBaselineStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_security_baseline_states_item_setting_states_count_request_builder.go b/devicemanagement/managed_devices_item_security_baseline_states_item_setting_states_count_request_builder.go index f116fbc98b0..88fa81fe74c 100644 --- a/devicemanagement/managed_devices_item_security_baseline_states_item_setting_states_count_request_builder.go +++ b/devicemanagement/managed_devices_item_security_baseline_states_item_setting_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedDevicesItemSecurityBaselineStatesItemSettingStatesCountRequestBu } 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 *ManagedDevicesItemSecurityBaselineStatesItemSettingStatesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemSecurityBaselineStatesItemSettingStatesCountRequestBuilder) { + return NewManagedDevicesItemSecurityBaselineStatesItemSettingStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_security_baseline_states_item_setting_states_request_builder.go b/devicemanagement/managed_devices_item_security_baseline_states_item_setting_states_request_builder.go index 8412cff07b6..d378fc06501 100644 --- a/devicemanagement/managed_devices_item_security_baseline_states_item_setting_states_request_builder.go +++ b/devicemanagement/managed_devices_item_security_baseline_states_item_setting_states_request_builder.go @@ -46,8 +46,8 @@ type ManagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuilderPost // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySecurityBaselineSettingStateIdString provides operations to manage the settingStates property of the microsoft.graph.securityBaselineState entity. -func (m *ManagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuilder) BySecurityBaselineSettingStateIdString(securityBaselineSettingStateId string)(*ManagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBaselineSettingStateItemRequestBuilder) { +// BySecurityBaselineSettingStateId provides operations to manage the settingStates property of the microsoft.graph.securityBaselineState entity. +func (m *ManagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuilder) BySecurityBaselineSettingStateId(securityBaselineSettingStateId string)(*ManagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBaselineSettingStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuilder } 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 *ManagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuilder) { + return NewManagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go b/devicemanagement/managed_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go index a1825afba44..85593d83fa4 100644 --- a/devicemanagement/managed_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go +++ b/devicemanagement/managed_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBaseli } 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 *ManagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBaselineSettingStateItemRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBaselineSettingStateItemRequestBuilder) { + return NewManagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBaselineSettingStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_security_baseline_states_request_builder.go b/devicemanagement/managed_devices_item_security_baseline_states_request_builder.go index 7a0578f6303..d0d5ecdf350 100644 --- a/devicemanagement/managed_devices_item_security_baseline_states_request_builder.go +++ b/devicemanagement/managed_devices_item_security_baseline_states_request_builder.go @@ -46,8 +46,8 @@ type ManagedDevicesItemSecurityBaselineStatesRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySecurityBaselineStateIdString provides operations to manage the securityBaselineStates property of the microsoft.graph.managedDevice entity. -func (m *ManagedDevicesItemSecurityBaselineStatesRequestBuilder) BySecurityBaselineStateIdString(securityBaselineStateId string)(*ManagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRequestBuilder) { +// BySecurityBaselineStateId provides operations to manage the securityBaselineStates property of the microsoft.graph.managedDevice entity. +func (m *ManagedDevicesItemSecurityBaselineStatesRequestBuilder) BySecurityBaselineStateId(securityBaselineStateId string)(*ManagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedDevicesItemSecurityBaselineStatesRequestBuilder) ToPostRequestIn } 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 *ManagedDevicesItemSecurityBaselineStatesRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemSecurityBaselineStatesRequestBuilder) { + return NewManagedDevicesItemSecurityBaselineStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go b/devicemanagement/managed_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go index 35b0a1a56dd..177bf275222 100644 --- a/devicemanagement/managed_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go +++ b/devicemanagement/managed_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ManagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemReques } 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 *ManagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRequestBuilder) { + return NewManagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_send_custom_notification_to_company_portal_request_builder.go b/devicemanagement/managed_devices_item_send_custom_notification_to_company_portal_request_builder.go index 1c9c98f87fe..99f9a455d12 100644 --- a/devicemanagement/managed_devices_item_send_custom_notification_to_company_portal_request_builder.go +++ b/devicemanagement/managed_devices_item_send_custom_notification_to_company_portal_request_builder.go @@ -62,3 +62,7 @@ func (m *ManagedDevicesItemSendCustomNotificationToCompanyPortalRequestBuilder) } 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 *ManagedDevicesItemSendCustomNotificationToCompanyPortalRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemSendCustomNotificationToCompanyPortalRequestBuilder) { + return NewManagedDevicesItemSendCustomNotificationToCompanyPortalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_set_cloud_pc_review_status_request_builder.go b/devicemanagement/managed_devices_item_set_cloud_pc_review_status_request_builder.go index 2779c9bdd10..66df3fe4892 100644 --- a/devicemanagement/managed_devices_item_set_cloud_pc_review_status_request_builder.go +++ b/devicemanagement/managed_devices_item_set_cloud_pc_review_status_request_builder.go @@ -65,3 +65,7 @@ func (m *ManagedDevicesItemSetCloudPcReviewStatusRequestBuilder) ToPostRequestIn } 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 *ManagedDevicesItemSetCloudPcReviewStatusRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemSetCloudPcReviewStatusRequestBuilder) { + return NewManagedDevicesItemSetCloudPcReviewStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_set_device_name_request_builder.go b/devicemanagement/managed_devices_item_set_device_name_request_builder.go index 31a841b9718..60b4c968675 100644 --- a/devicemanagement/managed_devices_item_set_device_name_request_builder.go +++ b/devicemanagement/managed_devices_item_set_device_name_request_builder.go @@ -62,3 +62,7 @@ func (m *ManagedDevicesItemSetDeviceNameRequestBuilder) 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 *ManagedDevicesItemSetDeviceNameRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemSetDeviceNameRequestBuilder) { + return NewManagedDevicesItemSetDeviceNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_shut_down_request_builder.go b/devicemanagement/managed_devices_item_shut_down_request_builder.go index 642dc41973a..8c54bad3538 100644 --- a/devicemanagement/managed_devices_item_shut_down_request_builder.go +++ b/devicemanagement/managed_devices_item_shut_down_request_builder.go @@ -58,3 +58,7 @@ func (m *ManagedDevicesItemShutDownRequestBuilder) 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 *ManagedDevicesItemShutDownRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemShutDownRequestBuilder) { + return NewManagedDevicesItemShutDownRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_sync_device_request_builder.go b/devicemanagement/managed_devices_item_sync_device_request_builder.go index 055ef78cc17..79a113d56f3 100644 --- a/devicemanagement/managed_devices_item_sync_device_request_builder.go +++ b/devicemanagement/managed_devices_item_sync_device_request_builder.go @@ -58,3 +58,7 @@ func (m *ManagedDevicesItemSyncDeviceRequestBuilder) 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 *ManagedDevicesItemSyncDeviceRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemSyncDeviceRequestBuilder) { + return NewManagedDevicesItemSyncDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_trigger_configuration_manager_action_request_builder.go b/devicemanagement/managed_devices_item_trigger_configuration_manager_action_request_builder.go index 7b222dab8ea..ae5814c8886 100644 --- a/devicemanagement/managed_devices_item_trigger_configuration_manager_action_request_builder.go +++ b/devicemanagement/managed_devices_item_trigger_configuration_manager_action_request_builder.go @@ -62,3 +62,7 @@ func (m *ManagedDevicesItemTriggerConfigurationManagerActionRequestBuilder) ToPo } 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 *ManagedDevicesItemTriggerConfigurationManagerActionRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemTriggerConfigurationManagerActionRequestBuilder) { + return NewManagedDevicesItemTriggerConfigurationManagerActionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_update_windows_device_account_request_builder.go b/devicemanagement/managed_devices_item_update_windows_device_account_request_builder.go index 8d92eb6df5b..cef6fa188e6 100644 --- a/devicemanagement/managed_devices_item_update_windows_device_account_request_builder.go +++ b/devicemanagement/managed_devices_item_update_windows_device_account_request_builder.go @@ -62,3 +62,7 @@ func (m *ManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder) ToPostReque } 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 *ManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder) { + return NewManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_users_request_builder.go b/devicemanagement/managed_devices_item_users_request_builder.go index 87b0e57f795..9b7c274b545 100644 --- a/devicemanagement/managed_devices_item_users_request_builder.go +++ b/devicemanagement/managed_devices_item_users_request_builder.go @@ -87,3 +87,7 @@ func (m *ManagedDevicesItemUsersRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ManagedDevicesItemUsersRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemUsersRequestBuilder) { + return NewManagedDevicesItemUsersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_windows_defender_scan_request_builder.go b/devicemanagement/managed_devices_item_windows_defender_scan_request_builder.go index a71ec530d75..2341e08f8b2 100644 --- a/devicemanagement/managed_devices_item_windows_defender_scan_request_builder.go +++ b/devicemanagement/managed_devices_item_windows_defender_scan_request_builder.go @@ -62,3 +62,7 @@ func (m *ManagedDevicesItemWindowsDefenderScanRequestBuilder) ToPostRequestInfor } 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 *ManagedDevicesItemWindowsDefenderScanRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemWindowsDefenderScanRequestBuilder) { + return NewManagedDevicesItemWindowsDefenderScanRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_windows_defender_update_signatures_request_builder.go b/devicemanagement/managed_devices_item_windows_defender_update_signatures_request_builder.go index 54ec1b88f97..16832746167 100644 --- a/devicemanagement/managed_devices_item_windows_defender_update_signatures_request_builder.go +++ b/devicemanagement/managed_devices_item_windows_defender_update_signatures_request_builder.go @@ -58,3 +58,7 @@ func (m *ManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder) ToPost } 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 *ManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder) { + return NewManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_windows_protection_state_detected_malware_state_count_request_builder.go b/devicemanagement/managed_devices_item_windows_protection_state_detected_malware_state_count_request_builder.go index dae4b5cf6b8..830a29f9cfb 100644 --- a/devicemanagement/managed_devices_item_windows_protection_state_detected_malware_state_count_request_builder.go +++ b/devicemanagement/managed_devices_item_windows_protection_state_detected_malware_state_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedDevicesItemWindowsProtectionStateDetectedMalwareStateCountReques } 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 *ManagedDevicesItemWindowsProtectionStateDetectedMalwareStateCountRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemWindowsProtectionStateDetectedMalwareStateCountRequestBuilder) { + return NewManagedDevicesItemWindowsProtectionStateDetectedMalwareStateCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_windows_protection_state_detected_malware_state_request_builder.go b/devicemanagement/managed_devices_item_windows_protection_state_detected_malware_state_request_builder.go index 28fec42609f..af59d5a60b0 100644 --- a/devicemanagement/managed_devices_item_windows_protection_state_detected_malware_state_request_builder.go +++ b/devicemanagement/managed_devices_item_windows_protection_state_detected_malware_state_request_builder.go @@ -46,8 +46,8 @@ type ManagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBuilderP // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsDeviceMalwareStateIdString provides operations to manage the detectedMalwareState property of the microsoft.graph.windowsProtectionState entity. -func (m *ManagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBuilder) ByWindowsDeviceMalwareStateIdString(windowsDeviceMalwareStateId string)(*ManagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDeviceMalwareStateItemRequestBuilder) { +// ByWindowsDeviceMalwareStateId provides operations to manage the detectedMalwareState property of the microsoft.graph.windowsProtectionState entity. +func (m *ManagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBuilder) ByWindowsDeviceMalwareStateId(windowsDeviceMalwareStateId string)(*ManagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDeviceMalwareStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBuil } 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 *ManagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBuilder) { + return NewManagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go b/devicemanagement/managed_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go index ede55099ea4..e8f0b028404 100644 --- a/devicemanagement/managed_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go +++ b/devicemanagement/managed_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDevi } 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 *ManagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDeviceMalwareStateItemRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDeviceMalwareStateItemRequestBuilder) { + return NewManagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDeviceMalwareStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_windows_protection_state_request_builder.go b/devicemanagement/managed_devices_item_windows_protection_state_request_builder.go index 49da55e31d0..c6e94dc5d4f 100644 --- a/devicemanagement/managed_devices_item_windows_protection_state_request_builder.go +++ b/devicemanagement/managed_devices_item_windows_protection_state_request_builder.go @@ -157,3 +157,7 @@ func (m *ManagedDevicesItemWindowsProtectionStateRequestBuilder) ToPatchRequestI } 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 *ManagedDevicesItemWindowsProtectionStateRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemWindowsProtectionStateRequestBuilder) { + return NewManagedDevicesItemWindowsProtectionStateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_item_wipe_request_builder.go b/devicemanagement/managed_devices_item_wipe_request_builder.go index 0063846e894..d0d3f276910 100644 --- a/devicemanagement/managed_devices_item_wipe_request_builder.go +++ b/devicemanagement/managed_devices_item_wipe_request_builder.go @@ -62,3 +62,7 @@ func (m *ManagedDevicesItemWipeRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ManagedDevicesItemWipeRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesItemWipeRequestBuilder) { + return NewManagedDevicesItemWipeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_managed_device_item_request_builder.go b/devicemanagement/managed_devices_managed_device_item_request_builder.go index 70b45478456..78e5a395a6f 100644 --- a/devicemanagement/managed_devices_managed_device_item_request_builder.go +++ b/devicemanagement/managed_devices_managed_device_item_request_builder.go @@ -377,3 +377,7 @@ func (m *ManagedDevicesManagedDeviceItemRequestBuilder) WindowsProtectionState() func (m *ManagedDevicesManagedDeviceItemRequestBuilder) Wipe()(*ManagedDevicesItemWipeRequestBuilder) { return NewManagedDevicesItemWipeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ManagedDevicesManagedDeviceItemRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesManagedDeviceItemRequestBuilder) { + return NewManagedDevicesManagedDeviceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_move_devices_to_o_u_request_builder.go b/devicemanagement/managed_devices_move_devices_to_o_u_request_builder.go index e042d3e8a10..653de404a16 100644 --- a/devicemanagement/managed_devices_move_devices_to_o_u_request_builder.go +++ b/devicemanagement/managed_devices_move_devices_to_o_u_request_builder.go @@ -62,3 +62,7 @@ func (m *ManagedDevicesMoveDevicesToOURequestBuilder) ToPostRequestInformation(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 *ManagedDevicesMoveDevicesToOURequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesMoveDevicesToOURequestBuilder) { + return NewManagedDevicesMoveDevicesToOURequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/managed_devices_request_builder.go b/devicemanagement/managed_devices_request_builder.go index 7a6a53be864..38eec444dd6 100644 --- a/devicemanagement/managed_devices_request_builder.go +++ b/devicemanagement/managed_devices_request_builder.go @@ -62,8 +62,8 @@ func (m *ManagedDevicesRequestBuilder) BulkRestoreCloudPc()(*ManagedDevicesBulkR func (m *ManagedDevicesRequestBuilder) BulkSetCloudPcReviewStatus()(*ManagedDevicesBulkSetCloudPcReviewStatusRequestBuilder) { return NewManagedDevicesBulkSetCloudPcReviewStatusRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByManagedDeviceIdString provides operations to manage the managedDevices property of the microsoft.graph.deviceManagement entity. -func (m *ManagedDevicesRequestBuilder) ByManagedDeviceIdString(managedDeviceId string)(*ManagedDevicesManagedDeviceItemRequestBuilder) { +// ByManagedDeviceId provides operations to manage the managedDevices property of the microsoft.graph.deviceManagement entity. +func (m *ManagedDevicesRequestBuilder) ByManagedDeviceId(managedDeviceId string)(*ManagedDevicesManagedDeviceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -173,3 +173,7 @@ func (m *ManagedDevicesRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *ManagedDevicesRequestBuilder) WithUrl(rawUrl string)(*ManagedDevicesRequestBuilder) { + return NewManagedDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_configurations_count_request_builder.go b/devicemanagement/microsoft_tunnel_configurations_count_request_builder.go index 9029b8f8c12..6bc98d0b4a1 100644 --- a/devicemanagement/microsoft_tunnel_configurations_count_request_builder.go +++ b/devicemanagement/microsoft_tunnel_configurations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MicrosoftTunnelConfigurationsCountRequestBuilder) ToGetRequestInformati } 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 *MicrosoftTunnelConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelConfigurationsCountRequestBuilder) { + return NewMicrosoftTunnelConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_configurations_microsoft_tunnel_configuration_item_request_builder.go b/devicemanagement/microsoft_tunnel_configurations_microsoft_tunnel_configuration_item_request_builder.go index 5908c2ccb24..095a357d07c 100644 --- a/devicemanagement/microsoft_tunnel_configurations_microsoft_tunnel_configuration_item_request_builder.go +++ b/devicemanagement/microsoft_tunnel_configurations_microsoft_tunnel_configuration_item_request_builder.go @@ -153,3 +153,7 @@ func (m *MicrosoftTunnelConfigurationsMicrosoftTunnelConfigurationItemRequestBui } 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 *MicrosoftTunnelConfigurationsMicrosoftTunnelConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelConfigurationsMicrosoftTunnelConfigurationItemRequestBuilder) { + return NewMicrosoftTunnelConfigurationsMicrosoftTunnelConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_configurations_request_builder.go b/devicemanagement/microsoft_tunnel_configurations_request_builder.go index 7f5931eb9e4..0c36b567493 100644 --- a/devicemanagement/microsoft_tunnel_configurations_request_builder.go +++ b/devicemanagement/microsoft_tunnel_configurations_request_builder.go @@ -46,8 +46,8 @@ type MicrosoftTunnelConfigurationsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMicrosoftTunnelConfigurationIdString provides operations to manage the microsoftTunnelConfigurations property of the microsoft.graph.deviceManagement entity. -func (m *MicrosoftTunnelConfigurationsRequestBuilder) ByMicrosoftTunnelConfigurationIdString(microsoftTunnelConfigurationId string)(*MicrosoftTunnelConfigurationsMicrosoftTunnelConfigurationItemRequestBuilder) { +// ByMicrosoftTunnelConfigurationId provides operations to manage the microsoftTunnelConfigurations property of the microsoft.graph.deviceManagement entity. +func (m *MicrosoftTunnelConfigurationsRequestBuilder) ByMicrosoftTunnelConfigurationId(microsoftTunnelConfigurationId string)(*MicrosoftTunnelConfigurationsMicrosoftTunnelConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MicrosoftTunnelConfigurationsRequestBuilder) ToPostRequestInformation(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 *MicrosoftTunnelConfigurationsRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelConfigurationsRequestBuilder) { + return NewMicrosoftTunnelConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_health_thresholds_count_request_builder.go b/devicemanagement/microsoft_tunnel_health_thresholds_count_request_builder.go index 5e7a9fe526a..a9154800078 100644 --- a/devicemanagement/microsoft_tunnel_health_thresholds_count_request_builder.go +++ b/devicemanagement/microsoft_tunnel_health_thresholds_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MicrosoftTunnelHealthThresholdsCountRequestBuilder) ToGetRequestInforma } 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 *MicrosoftTunnelHealthThresholdsCountRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelHealthThresholdsCountRequestBuilder) { + return NewMicrosoftTunnelHealthThresholdsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_health_thresholds_microsoft_tunnel_health_threshold_item_request_builder.go b/devicemanagement/microsoft_tunnel_health_thresholds_microsoft_tunnel_health_threshold_item_request_builder.go index e1c1b5a9c2c..fd6db8f3f99 100644 --- a/devicemanagement/microsoft_tunnel_health_thresholds_microsoft_tunnel_health_threshold_item_request_builder.go +++ b/devicemanagement/microsoft_tunnel_health_thresholds_microsoft_tunnel_health_threshold_item_request_builder.go @@ -153,3 +153,7 @@ func (m *MicrosoftTunnelHealthThresholdsMicrosoftTunnelHealthThresholdItemReques } 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 *MicrosoftTunnelHealthThresholdsMicrosoftTunnelHealthThresholdItemRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelHealthThresholdsMicrosoftTunnelHealthThresholdItemRequestBuilder) { + return NewMicrosoftTunnelHealthThresholdsMicrosoftTunnelHealthThresholdItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_health_thresholds_request_builder.go b/devicemanagement/microsoft_tunnel_health_thresholds_request_builder.go index 0adc6d2341d..9f4c2f549d4 100644 --- a/devicemanagement/microsoft_tunnel_health_thresholds_request_builder.go +++ b/devicemanagement/microsoft_tunnel_health_thresholds_request_builder.go @@ -46,8 +46,8 @@ type MicrosoftTunnelHealthThresholdsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMicrosoftTunnelHealthThresholdIdString provides operations to manage the microsoftTunnelHealthThresholds property of the microsoft.graph.deviceManagement entity. -func (m *MicrosoftTunnelHealthThresholdsRequestBuilder) ByMicrosoftTunnelHealthThresholdIdString(microsoftTunnelHealthThresholdId string)(*MicrosoftTunnelHealthThresholdsMicrosoftTunnelHealthThresholdItemRequestBuilder) { +// ByMicrosoftTunnelHealthThresholdId provides operations to manage the microsoftTunnelHealthThresholds property of the microsoft.graph.deviceManagement entity. +func (m *MicrosoftTunnelHealthThresholdsRequestBuilder) ByMicrosoftTunnelHealthThresholdId(microsoftTunnelHealthThresholdId string)(*MicrosoftTunnelHealthThresholdsMicrosoftTunnelHealthThresholdItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MicrosoftTunnelHealthThresholdsRequestBuilder) 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 *MicrosoftTunnelHealthThresholdsRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelHealthThresholdsRequestBuilder) { + return NewMicrosoftTunnelHealthThresholdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_server_log_collection_responses_count_request_builder.go b/devicemanagement/microsoft_tunnel_server_log_collection_responses_count_request_builder.go index 3f44ad3eaa9..8ee81c2f1f4 100644 --- a/devicemanagement/microsoft_tunnel_server_log_collection_responses_count_request_builder.go +++ b/devicemanagement/microsoft_tunnel_server_log_collection_responses_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MicrosoftTunnelServerLogCollectionResponsesCountRequestBuilder) ToGetRe } 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 *MicrosoftTunnelServerLogCollectionResponsesCountRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelServerLogCollectionResponsesCountRequestBuilder) { + return NewMicrosoftTunnelServerLogCollectionResponsesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_server_log_collection_responses_item_create_download_url_request_builder.go b/devicemanagement/microsoft_tunnel_server_log_collection_responses_item_create_download_url_request_builder.go index 33bcfa6d0a3..e179ed058bb 100644 --- a/devicemanagement/microsoft_tunnel_server_log_collection_responses_item_create_download_url_request_builder.go +++ b/devicemanagement/microsoft_tunnel_server_log_collection_responses_item_create_download_url_request_builder.go @@ -62,3 +62,7 @@ func (m *MicrosoftTunnelServerLogCollectionResponsesItemCreateDownloadUrlRequest } 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 *MicrosoftTunnelServerLogCollectionResponsesItemCreateDownloadUrlRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelServerLogCollectionResponsesItemCreateDownloadUrlRequestBuilder) { + return NewMicrosoftTunnelServerLogCollectionResponsesItemCreateDownloadUrlRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_server_log_collection_responses_item_generate_download_url_request_builder.go b/devicemanagement/microsoft_tunnel_server_log_collection_responses_item_generate_download_url_request_builder.go index 77b3b046afd..1e52ec64f94 100644 --- a/devicemanagement/microsoft_tunnel_server_log_collection_responses_item_generate_download_url_request_builder.go +++ b/devicemanagement/microsoft_tunnel_server_log_collection_responses_item_generate_download_url_request_builder.go @@ -62,3 +62,7 @@ func (m *MicrosoftTunnelServerLogCollectionResponsesItemGenerateDownloadUrlReque } 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 *MicrosoftTunnelServerLogCollectionResponsesItemGenerateDownloadUrlRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelServerLogCollectionResponsesItemGenerateDownloadUrlRequestBuilder) { + return NewMicrosoftTunnelServerLogCollectionResponsesItemGenerateDownloadUrlRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_server_log_collection_responses_microsoft_tunnel_server_log_collection_response_item_request_builder.go b/devicemanagement/microsoft_tunnel_server_log_collection_responses_microsoft_tunnel_server_log_collection_response_item_request_builder.go index aedb0dc102b..bda88e9fe44 100644 --- a/devicemanagement/microsoft_tunnel_server_log_collection_responses_microsoft_tunnel_server_log_collection_response_item_request_builder.go +++ b/devicemanagement/microsoft_tunnel_server_log_collection_responses_microsoft_tunnel_server_log_collection_response_item_request_builder.go @@ -161,3 +161,7 @@ func (m *MicrosoftTunnelServerLogCollectionResponsesMicrosoftTunnelServerLogColl } 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 *MicrosoftTunnelServerLogCollectionResponsesMicrosoftTunnelServerLogCollectionResponseItemRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelServerLogCollectionResponsesMicrosoftTunnelServerLogCollectionResponseItemRequestBuilder) { + return NewMicrosoftTunnelServerLogCollectionResponsesMicrosoftTunnelServerLogCollectionResponseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_server_log_collection_responses_request_builder.go b/devicemanagement/microsoft_tunnel_server_log_collection_responses_request_builder.go index b2278351287..3e07bc3a2de 100644 --- a/devicemanagement/microsoft_tunnel_server_log_collection_responses_request_builder.go +++ b/devicemanagement/microsoft_tunnel_server_log_collection_responses_request_builder.go @@ -46,8 +46,8 @@ type MicrosoftTunnelServerLogCollectionResponsesRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMicrosoftTunnelServerLogCollectionResponseIdString provides operations to manage the microsoftTunnelServerLogCollectionResponses property of the microsoft.graph.deviceManagement entity. -func (m *MicrosoftTunnelServerLogCollectionResponsesRequestBuilder) ByMicrosoftTunnelServerLogCollectionResponseIdString(microsoftTunnelServerLogCollectionResponseId string)(*MicrosoftTunnelServerLogCollectionResponsesMicrosoftTunnelServerLogCollectionResponseItemRequestBuilder) { +// ByMicrosoftTunnelServerLogCollectionResponseId provides operations to manage the microsoftTunnelServerLogCollectionResponses property of the microsoft.graph.deviceManagement entity. +func (m *MicrosoftTunnelServerLogCollectionResponsesRequestBuilder) ByMicrosoftTunnelServerLogCollectionResponseId(microsoftTunnelServerLogCollectionResponseId string)(*MicrosoftTunnelServerLogCollectionResponsesMicrosoftTunnelServerLogCollectionResponseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MicrosoftTunnelServerLogCollectionResponsesRequestBuilder) ToPostReques } 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 *MicrosoftTunnelServerLogCollectionResponsesRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelServerLogCollectionResponsesRequestBuilder) { + return NewMicrosoftTunnelServerLogCollectionResponsesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_sites_count_request_builder.go b/devicemanagement/microsoft_tunnel_sites_count_request_builder.go index d0a95f21b18..e2302b5caba 100644 --- a/devicemanagement/microsoft_tunnel_sites_count_request_builder.go +++ b/devicemanagement/microsoft_tunnel_sites_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MicrosoftTunnelSitesCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *MicrosoftTunnelSitesCountRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelSitesCountRequestBuilder) { + return NewMicrosoftTunnelSitesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_configuration_request_builder.go b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_configuration_request_builder.go index bec494b5c00..26decbc5ad9 100644 --- a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_configuration_request_builder.go +++ b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_configuration_request_builder.go @@ -153,3 +153,7 @@ func (m *MicrosoftTunnelSitesItemMicrosoftTunnelConfigurationRequestBuilder) 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 *MicrosoftTunnelSitesItemMicrosoftTunnelConfigurationRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelSitesItemMicrosoftTunnelConfigurationRequestBuilder) { + return NewMicrosoftTunnelSitesItemMicrosoftTunnelConfigurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_count_request_builder.go b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_count_request_builder.go index d58dd9acb49..c1d072d2405 100644 --- a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_count_request_builder.go +++ b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MicrosoftTunnelSitesItemMicrosoftTunnelServersCountRequestBuilder) ToGe } 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 *MicrosoftTunnelSitesItemMicrosoftTunnelServersCountRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelSitesItemMicrosoftTunnelServersCountRequestBuilder) { + return NewMicrosoftTunnelSitesItemMicrosoftTunnelServersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_create_server_log_collection_request_request_builder.go b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_create_server_log_collection_request_request_builder.go index e344594914c..eec11e99bca 100644 --- a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_create_server_log_collection_request_request_builder.go +++ b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_create_server_log_collection_request_request_builder.go @@ -67,3 +67,7 @@ func (m *MicrosoftTunnelSitesItemMicrosoftTunnelServersItemCreateServerLogCollec } 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 *MicrosoftTunnelSitesItemMicrosoftTunnelServersItemCreateServerLogCollectionRequestRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelSitesItemMicrosoftTunnelServersItemCreateServerLogCollectionRequestRequestBuilder) { + return NewMicrosoftTunnelSitesItemMicrosoftTunnelServersItemCreateServerLogCollectionRequestRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_generate_server_log_collection_request_request_builder.go b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_generate_server_log_collection_request_request_builder.go index 04830feb947..ef085b4961a 100644 --- a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_generate_server_log_collection_request_request_builder.go +++ b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_generate_server_log_collection_request_request_builder.go @@ -67,3 +67,7 @@ func (m *MicrosoftTunnelSitesItemMicrosoftTunnelServersItemGenerateServerLogColl } 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 *MicrosoftTunnelSitesItemMicrosoftTunnelServersItemGenerateServerLogCollectionRequestRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelSitesItemMicrosoftTunnelServersItemGenerateServerLogCollectionRequestRequestBuilder) { + return NewMicrosoftTunnelSitesItemMicrosoftTunnelServersItemGenerateServerLogCollectionRequestRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_get_health_metric_time_series_request_builder.go b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_get_health_metric_time_series_request_builder.go index 97b80e2a80b..e2386968810 100644 --- a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_get_health_metric_time_series_request_builder.go +++ b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_get_health_metric_time_series_request_builder.go @@ -66,3 +66,7 @@ func (m *MicrosoftTunnelSitesItemMicrosoftTunnelServersItemGetHealthMetricTimeSe } 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 *MicrosoftTunnelSitesItemMicrosoftTunnelServersItemGetHealthMetricTimeSeriesRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelSitesItemMicrosoftTunnelServersItemGetHealthMetricTimeSeriesRequestBuilder) { + return NewMicrosoftTunnelSitesItemMicrosoftTunnelServersItemGetHealthMetricTimeSeriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_get_health_metrics_request_builder.go b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_get_health_metrics_request_builder.go index cd946f0aba1..1ced14b56c7 100644 --- a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_get_health_metrics_request_builder.go +++ b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_get_health_metrics_request_builder.go @@ -66,3 +66,7 @@ func (m *MicrosoftTunnelSitesItemMicrosoftTunnelServersItemGetHealthMetricsReque } 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 *MicrosoftTunnelSitesItemMicrosoftTunnelServersItemGetHealthMetricsRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelSitesItemMicrosoftTunnelServersItemGetHealthMetricsRequestBuilder) { + return NewMicrosoftTunnelSitesItemMicrosoftTunnelServersItemGetHealthMetricsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_microsoft_tunnel_server_item_request_builder.go b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_microsoft_tunnel_server_item_request_builder.go index 9627316b2c1..7847ff9b3b5 100644 --- a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_microsoft_tunnel_server_item_request_builder.go +++ b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_microsoft_tunnel_server_item_request_builder.go @@ -169,3 +169,7 @@ func (m *MicrosoftTunnelSitesItemMicrosoftTunnelServersMicrosoftTunnelServerItem } 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 *MicrosoftTunnelSitesItemMicrosoftTunnelServersMicrosoftTunnelServerItemRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelSitesItemMicrosoftTunnelServersMicrosoftTunnelServerItemRequestBuilder) { + return NewMicrosoftTunnelSitesItemMicrosoftTunnelServersMicrosoftTunnelServerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_request_builder.go b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_request_builder.go index e746efa6bb8..950bee75077 100644 --- a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_request_builder.go +++ b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_request_builder.go @@ -46,8 +46,8 @@ type MicrosoftTunnelSitesItemMicrosoftTunnelServersRequestBuilderPostRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMicrosoftTunnelServerIdString provides operations to manage the microsoftTunnelServers property of the microsoft.graph.microsoftTunnelSite entity. -func (m *MicrosoftTunnelSitesItemMicrosoftTunnelServersRequestBuilder) ByMicrosoftTunnelServerIdString(microsoftTunnelServerId string)(*MicrosoftTunnelSitesItemMicrosoftTunnelServersMicrosoftTunnelServerItemRequestBuilder) { +// ByMicrosoftTunnelServerId provides operations to manage the microsoftTunnelServers property of the microsoft.graph.microsoftTunnelSite entity. +func (m *MicrosoftTunnelSitesItemMicrosoftTunnelServersRequestBuilder) ByMicrosoftTunnelServerId(microsoftTunnelServerId string)(*MicrosoftTunnelSitesItemMicrosoftTunnelServersMicrosoftTunnelServerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MicrosoftTunnelSitesItemMicrosoftTunnelServersRequestBuilder) ToPostReq } 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 *MicrosoftTunnelSitesItemMicrosoftTunnelServersRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelSitesItemMicrosoftTunnelServersRequestBuilder) { + return NewMicrosoftTunnelSitesItemMicrosoftTunnelServersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_sites_item_request_upgrade_request_builder.go b/devicemanagement/microsoft_tunnel_sites_item_request_upgrade_request_builder.go index db96027f10d..4ba69f5a51a 100644 --- a/devicemanagement/microsoft_tunnel_sites_item_request_upgrade_request_builder.go +++ b/devicemanagement/microsoft_tunnel_sites_item_request_upgrade_request_builder.go @@ -58,3 +58,7 @@ func (m *MicrosoftTunnelSitesItemRequestUpgradeRequestBuilder) ToPostRequestInfo } 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 *MicrosoftTunnelSitesItemRequestUpgradeRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelSitesItemRequestUpgradeRequestBuilder) { + return NewMicrosoftTunnelSitesItemRequestUpgradeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_sites_microsoft_tunnel_site_item_request_builder.go b/devicemanagement/microsoft_tunnel_sites_microsoft_tunnel_site_item_request_builder.go index bbdc35ba753..4acc2896f3e 100644 --- a/devicemanagement/microsoft_tunnel_sites_microsoft_tunnel_site_item_request_builder.go +++ b/devicemanagement/microsoft_tunnel_sites_microsoft_tunnel_site_item_request_builder.go @@ -165,3 +165,7 @@ func (m *MicrosoftTunnelSitesMicrosoftTunnelSiteItemRequestBuilder) ToPatchReque } 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 *MicrosoftTunnelSitesMicrosoftTunnelSiteItemRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelSitesMicrosoftTunnelSiteItemRequestBuilder) { + return NewMicrosoftTunnelSitesMicrosoftTunnelSiteItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/microsoft_tunnel_sites_request_builder.go b/devicemanagement/microsoft_tunnel_sites_request_builder.go index 9eb2699adcd..1dc7e6c1f50 100644 --- a/devicemanagement/microsoft_tunnel_sites_request_builder.go +++ b/devicemanagement/microsoft_tunnel_sites_request_builder.go @@ -46,8 +46,8 @@ type MicrosoftTunnelSitesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMicrosoftTunnelSiteIdString provides operations to manage the microsoftTunnelSites property of the microsoft.graph.deviceManagement entity. -func (m *MicrosoftTunnelSitesRequestBuilder) ByMicrosoftTunnelSiteIdString(microsoftTunnelSiteId string)(*MicrosoftTunnelSitesMicrosoftTunnelSiteItemRequestBuilder) { +// ByMicrosoftTunnelSiteId provides operations to manage the microsoftTunnelSites property of the microsoft.graph.deviceManagement entity. +func (m *MicrosoftTunnelSitesRequestBuilder) ByMicrosoftTunnelSiteId(microsoftTunnelSiteId string)(*MicrosoftTunnelSitesMicrosoftTunnelSiteItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MicrosoftTunnelSitesRequestBuilder) ToPostRequestInformation(ctx contex } 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 *MicrosoftTunnelSitesRequestBuilder) WithUrl(rawUrl string)(*MicrosoftTunnelSitesRequestBuilder) { + return NewMicrosoftTunnelSitesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/mobile_app_troubleshooting_events_count_request_builder.go b/devicemanagement/mobile_app_troubleshooting_events_count_request_builder.go index a8bb3bf6f32..93576985e3f 100644 --- a/devicemanagement/mobile_app_troubleshooting_events_count_request_builder.go +++ b/devicemanagement/mobile_app_troubleshooting_events_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MobileAppTroubleshootingEventsCountRequestBuilder) ToGetRequestInformat } 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 *MobileAppTroubleshootingEventsCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppTroubleshootingEventsCountRequestBuilder) { + return NewMobileAppTroubleshootingEventsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go b/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go index f7a7c2a2622..0e7b772582b 100644 --- a/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go +++ b/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go @@ -157,3 +157,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollect } 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 *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) WithUrl(rawUrl string)(*MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) { + return NewMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_count_request_builder.go b/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_count_request_builder.go index 57f64c9737f..2d99ef84fdd 100644 --- a/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_count_request_builder.go +++ b/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsCountRequestB } 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 *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppTroubleshootingEventsItemAppLogCollectionRequestsCountRequestBuilder) { + return NewMobileAppTroubleshootingEventsItemAppLogCollectionRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_item_create_download_url_request_builder.go b/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_item_create_download_url_request_builder.go index 13e3f5d487c..6910a28b8d1 100644 --- a/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_item_create_download_url_request_builder.go +++ b/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_item_create_download_url_request_builder.go @@ -63,3 +63,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsItemCreateDow } 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 *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsItemCreateDownloadUrlRequestBuilder) WithUrl(rawUrl string)(*MobileAppTroubleshootingEventsItemAppLogCollectionRequestsItemCreateDownloadUrlRequestBuilder) { + return NewMobileAppTroubleshootingEventsItemAppLogCollectionRequestsItemCreateDownloadUrlRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go b/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go index 6c7942f9cc9..d78afa229bf 100644 --- a/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go +++ b/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go @@ -46,8 +46,8 @@ type MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderPos // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAppLogCollectionRequestIdString provides operations to manage the appLogCollectionRequests property of the microsoft.graph.mobileAppTroubleshootingEvent entity. -func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) ByAppLogCollectionRequestIdString(appLogCollectionRequestId string)(*MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) { +// ByAppLogCollectionRequestId provides operations to manage the appLogCollectionRequests property of the microsoft.graph.mobileAppTroubleshootingEvent entity. +func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) ByAppLogCollectionRequestId(appLogCollectionRequestId string)(*MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilde } 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 *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) WithUrl(rawUrl string)(*MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) { + return NewMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/mobile_app_troubleshooting_events_mobile_app_troubleshooting_event_item_request_builder.go b/devicemanagement/mobile_app_troubleshooting_events_mobile_app_troubleshooting_event_item_request_builder.go index 9b70ec75fc1..1d396af57ce 100644 --- a/devicemanagement/mobile_app_troubleshooting_events_mobile_app_troubleshooting_event_item_request_builder.go +++ b/devicemanagement/mobile_app_troubleshooting_events_mobile_app_troubleshooting_event_item_request_builder.go @@ -157,3 +157,7 @@ func (m *MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestB } 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 *MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilder) WithUrl(rawUrl string)(*MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilder) { + return NewMobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/mobile_app_troubleshooting_events_request_builder.go b/devicemanagement/mobile_app_troubleshooting_events_request_builder.go index ebd190552b6..8b212f8015d 100644 --- a/devicemanagement/mobile_app_troubleshooting_events_request_builder.go +++ b/devicemanagement/mobile_app_troubleshooting_events_request_builder.go @@ -46,8 +46,8 @@ type MobileAppTroubleshootingEventsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMobileAppTroubleshootingEventIdString provides operations to manage the mobileAppTroubleshootingEvents property of the microsoft.graph.deviceManagement entity. -func (m *MobileAppTroubleshootingEventsRequestBuilder) ByMobileAppTroubleshootingEventIdString(mobileAppTroubleshootingEventId string)(*MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilder) { +// ByMobileAppTroubleshootingEventId provides operations to manage the mobileAppTroubleshootingEvents property of the microsoft.graph.deviceManagement entity. +func (m *MobileAppTroubleshootingEventsRequestBuilder) ByMobileAppTroubleshootingEventId(mobileAppTroubleshootingEventId string)(*MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MobileAppTroubleshootingEventsRequestBuilder) 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 *MobileAppTroubleshootingEventsRequestBuilder) WithUrl(rawUrl string)(*MobileAppTroubleshootingEventsRequestBuilder) { + return NewMobileAppTroubleshootingEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/mobile_threat_defense_connectors_count_request_builder.go b/devicemanagement/mobile_threat_defense_connectors_count_request_builder.go index 495f4792c53..498a8e99760 100644 --- a/devicemanagement/mobile_threat_defense_connectors_count_request_builder.go +++ b/devicemanagement/mobile_threat_defense_connectors_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MobileThreatDefenseConnectorsCountRequestBuilder) ToGetRequestInformati } 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 *MobileThreatDefenseConnectorsCountRequestBuilder) WithUrl(rawUrl string)(*MobileThreatDefenseConnectorsCountRequestBuilder) { + return NewMobileThreatDefenseConnectorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/mobile_threat_defense_connectors_mobile_threat_defense_connector_item_request_builder.go b/devicemanagement/mobile_threat_defense_connectors_mobile_threat_defense_connector_item_request_builder.go index 766a932a31a..89bde283acf 100644 --- a/devicemanagement/mobile_threat_defense_connectors_mobile_threat_defense_connector_item_request_builder.go +++ b/devicemanagement/mobile_threat_defense_connectors_mobile_threat_defense_connector_item_request_builder.go @@ -153,3 +153,7 @@ func (m *MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBui } 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 *MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuilder) WithUrl(rawUrl string)(*MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuilder) { + return NewMobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/mobile_threat_defense_connectors_request_builder.go b/devicemanagement/mobile_threat_defense_connectors_request_builder.go index da53040811a..43b6473af26 100644 --- a/devicemanagement/mobile_threat_defense_connectors_request_builder.go +++ b/devicemanagement/mobile_threat_defense_connectors_request_builder.go @@ -46,8 +46,8 @@ type MobileThreatDefenseConnectorsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMobileThreatDefenseConnectorIdString provides operations to manage the mobileThreatDefenseConnectors property of the microsoft.graph.deviceManagement entity. -func (m *MobileThreatDefenseConnectorsRequestBuilder) ByMobileThreatDefenseConnectorIdString(mobileThreatDefenseConnectorId string)(*MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuilder) { +// ByMobileThreatDefenseConnectorId provides operations to manage the mobileThreatDefenseConnectors property of the microsoft.graph.deviceManagement entity. +func (m *MobileThreatDefenseConnectorsRequestBuilder) ByMobileThreatDefenseConnectorId(mobileThreatDefenseConnectorId string)(*MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MobileThreatDefenseConnectorsRequestBuilder) ToPostRequestInformation(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 *MobileThreatDefenseConnectorsRequestBuilder) WithUrl(rawUrl string)(*MobileThreatDefenseConnectorsRequestBuilder) { + return NewMobileThreatDefenseConnectorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/monitoring_alert_records_alert_record_item_request_builder.go b/devicemanagement/monitoring_alert_records_alert_record_item_request_builder.go index 520ae2660dd..4307316b95b 100644 --- a/devicemanagement/monitoring_alert_records_alert_record_item_request_builder.go +++ b/devicemanagement/monitoring_alert_records_alert_record_item_request_builder.go @@ -160,3 +160,7 @@ func (m *MonitoringAlertRecordsAlertRecordItemRequestBuilder) 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 *MonitoringAlertRecordsAlertRecordItemRequestBuilder) WithUrl(rawUrl string)(*MonitoringAlertRecordsAlertRecordItemRequestBuilder) { + return NewMonitoringAlertRecordsAlertRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/monitoring_alert_records_count_request_builder.go b/devicemanagement/monitoring_alert_records_count_request_builder.go index 8591bd42cb0..c4048d1c133 100644 --- a/devicemanagement/monitoring_alert_records_count_request_builder.go +++ b/devicemanagement/monitoring_alert_records_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MonitoringAlertRecordsCountRequestBuilder) ToGetRequestInformation(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 *MonitoringAlertRecordsCountRequestBuilder) WithUrl(rawUrl string)(*MonitoringAlertRecordsCountRequestBuilder) { + return NewMonitoringAlertRecordsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/monitoring_alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go b/devicemanagement/monitoring_alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go index 96a91e0c20d..c32b0f2a6f3 100644 --- a/devicemanagement/monitoring_alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go +++ b/devicemanagement/monitoring_alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go @@ -61,3 +61,7 @@ func (m *MonitoringAlertRecordsItemMicrosoftGraphDeviceManagementSetPortalNotifi } 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 *MonitoringAlertRecordsItemMicrosoftGraphDeviceManagementSetPortalNotificationAsSentRequestBuilder) WithUrl(rawUrl string)(*MonitoringAlertRecordsItemMicrosoftGraphDeviceManagementSetPortalNotificationAsSentRequestBuilder) { + return NewMonitoringAlertRecordsItemMicrosoftGraphDeviceManagementSetPortalNotificationAsSentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/monitoring_alert_records_microsoft_graph_device_management_get_portal_notifications_request_builder.go b/devicemanagement/monitoring_alert_records_microsoft_graph_device_management_get_portal_notifications_request_builder.go index 845046bea7b..efde4ded274 100644 --- a/devicemanagement/monitoring_alert_records_microsoft_graph_device_management_get_portal_notifications_request_builder.go +++ b/devicemanagement/monitoring_alert_records_microsoft_graph_device_management_get_portal_notifications_request_builder.go @@ -80,3 +80,7 @@ func (m *MonitoringAlertRecordsMicrosoftGraphDeviceManagementGetPortalNotificati } 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 *MonitoringAlertRecordsMicrosoftGraphDeviceManagementGetPortalNotificationsRequestBuilder) WithUrl(rawUrl string)(*MonitoringAlertRecordsMicrosoftGraphDeviceManagementGetPortalNotificationsRequestBuilder) { + return NewMonitoringAlertRecordsMicrosoftGraphDeviceManagementGetPortalNotificationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/monitoring_alert_records_request_builder.go b/devicemanagement/monitoring_alert_records_request_builder.go index 5096efc2944..6a7fc05a05e 100644 --- a/devicemanagement/monitoring_alert_records_request_builder.go +++ b/devicemanagement/monitoring_alert_records_request_builder.go @@ -46,8 +46,8 @@ type MonitoringAlertRecordsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAlertRecordIdString provides operations to manage the alertRecords property of the microsoft.graph.deviceManagement.monitoring entity. -func (m *MonitoringAlertRecordsRequestBuilder) ByAlertRecordIdString(alertRecordId string)(*MonitoringAlertRecordsAlertRecordItemRequestBuilder) { +// ByAlertRecordId provides operations to manage the alertRecords property of the microsoft.graph.deviceManagement.monitoring entity. +func (m *MonitoringAlertRecordsRequestBuilder) ByAlertRecordId(alertRecordId string)(*MonitoringAlertRecordsAlertRecordItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *MonitoringAlertRecordsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *MonitoringAlertRecordsRequestBuilder) WithUrl(rawUrl string)(*MonitoringAlertRecordsRequestBuilder) { + return NewMonitoringAlertRecordsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/monitoring_alert_rules_alert_rule_item_request_builder.go b/devicemanagement/monitoring_alert_rules_alert_rule_item_request_builder.go index 8b69e4ad17a..1fe4c8456c8 100644 --- a/devicemanagement/monitoring_alert_rules_alert_rule_item_request_builder.go +++ b/devicemanagement/monitoring_alert_rules_alert_rule_item_request_builder.go @@ -159,3 +159,7 @@ func (m *MonitoringAlertRulesAlertRuleItemRequestBuilder) ToPatchRequestInformat } 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 *MonitoringAlertRulesAlertRuleItemRequestBuilder) WithUrl(rawUrl string)(*MonitoringAlertRulesAlertRuleItemRequestBuilder) { + return NewMonitoringAlertRulesAlertRuleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/monitoring_alert_rules_count_request_builder.go b/devicemanagement/monitoring_alert_rules_count_request_builder.go index 822e7c34069..f4980291971 100644 --- a/devicemanagement/monitoring_alert_rules_count_request_builder.go +++ b/devicemanagement/monitoring_alert_rules_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MonitoringAlertRulesCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *MonitoringAlertRulesCountRequestBuilder) WithUrl(rawUrl string)(*MonitoringAlertRulesCountRequestBuilder) { + return NewMonitoringAlertRulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/monitoring_alert_rules_request_builder.go b/devicemanagement/monitoring_alert_rules_request_builder.go index ef764f7d1f7..3ab31af4b77 100644 --- a/devicemanagement/monitoring_alert_rules_request_builder.go +++ b/devicemanagement/monitoring_alert_rules_request_builder.go @@ -46,8 +46,8 @@ type MonitoringAlertRulesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAlertRuleIdString provides operations to manage the alertRules property of the microsoft.graph.deviceManagement.monitoring entity. -func (m *MonitoringAlertRulesRequestBuilder) ByAlertRuleIdString(alertRuleId string)(*MonitoringAlertRulesAlertRuleItemRequestBuilder) { +// ByAlertRuleId provides operations to manage the alertRules property of the microsoft.graph.deviceManagement.monitoring entity. +func (m *MonitoringAlertRulesRequestBuilder) ByAlertRuleId(alertRuleId string)(*MonitoringAlertRulesAlertRuleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *MonitoringAlertRulesRequestBuilder) ToPostRequestInformation(ctx contex } 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 *MonitoringAlertRulesRequestBuilder) WithUrl(rawUrl string)(*MonitoringAlertRulesRequestBuilder) { + return NewMonitoringAlertRulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/monitoring_request_builder.go b/devicemanagement/monitoring_request_builder.go index 094df2fd817..3e1b4831cb9 100644 --- a/devicemanagement/monitoring_request_builder.go +++ b/devicemanagement/monitoring_request_builder.go @@ -161,3 +161,7 @@ func (m *MonitoringRequestBuilder) ToPatchRequestInformation(ctx context.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 *MonitoringRequestBuilder) WithUrl(rawUrl string)(*MonitoringRequestBuilder) { + return NewMonitoringRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/ndes_connectors_count_request_builder.go b/devicemanagement/ndes_connectors_count_request_builder.go index c1b1a4ca4fc..a03ec520c82 100644 --- a/devicemanagement/ndes_connectors_count_request_builder.go +++ b/devicemanagement/ndes_connectors_count_request_builder.go @@ -74,3 +74,7 @@ func (m *NdesConnectorsCountRequestBuilder) ToGetRequestInformation(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 *NdesConnectorsCountRequestBuilder) WithUrl(rawUrl string)(*NdesConnectorsCountRequestBuilder) { + return NewNdesConnectorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/ndes_connectors_ndes_connector_item_request_builder.go b/devicemanagement/ndes_connectors_ndes_connector_item_request_builder.go index 59a7e7355a7..7f2fbadb49f 100644 --- a/devicemanagement/ndes_connectors_ndes_connector_item_request_builder.go +++ b/devicemanagement/ndes_connectors_ndes_connector_item_request_builder.go @@ -153,3 +153,7 @@ func (m *NdesConnectorsNdesConnectorItemRequestBuilder) ToPatchRequestInformatio } 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 *NdesConnectorsNdesConnectorItemRequestBuilder) WithUrl(rawUrl string)(*NdesConnectorsNdesConnectorItemRequestBuilder) { + return NewNdesConnectorsNdesConnectorItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/ndes_connectors_request_builder.go b/devicemanagement/ndes_connectors_request_builder.go index ddca6264987..b8bccb741d2 100644 --- a/devicemanagement/ndes_connectors_request_builder.go +++ b/devicemanagement/ndes_connectors_request_builder.go @@ -46,8 +46,8 @@ type NdesConnectorsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByNdesConnectorIdString provides operations to manage the ndesConnectors property of the microsoft.graph.deviceManagement entity. -func (m *NdesConnectorsRequestBuilder) ByNdesConnectorIdString(ndesConnectorId string)(*NdesConnectorsNdesConnectorItemRequestBuilder) { +// ByNdesConnectorId provides operations to manage the ndesConnectors property of the microsoft.graph.deviceManagement entity. +func (m *NdesConnectorsRequestBuilder) ByNdesConnectorId(ndesConnectorId string)(*NdesConnectorsNdesConnectorItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *NdesConnectorsRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *NdesConnectorsRequestBuilder) WithUrl(rawUrl string)(*NdesConnectorsRequestBuilder) { + return NewNdesConnectorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/notification_message_templates_count_request_builder.go b/devicemanagement/notification_message_templates_count_request_builder.go index ae100ad38d9..8abe9d34a07 100644 --- a/devicemanagement/notification_message_templates_count_request_builder.go +++ b/devicemanagement/notification_message_templates_count_request_builder.go @@ -74,3 +74,7 @@ func (m *NotificationMessageTemplatesCountRequestBuilder) 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 *NotificationMessageTemplatesCountRequestBuilder) WithUrl(rawUrl string)(*NotificationMessageTemplatesCountRequestBuilder) { + return NewNotificationMessageTemplatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/notification_message_templates_item_localized_notification_messages_count_request_builder.go b/devicemanagement/notification_message_templates_item_localized_notification_messages_count_request_builder.go index 73231912c0f..9e72b74f2f0 100644 --- a/devicemanagement/notification_message_templates_item_localized_notification_messages_count_request_builder.go +++ b/devicemanagement/notification_message_templates_item_localized_notification_messages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesCountReque } 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 *NotificationMessageTemplatesItemLocalizedNotificationMessagesCountRequestBuilder) WithUrl(rawUrl string)(*NotificationMessageTemplatesItemLocalizedNotificationMessagesCountRequestBuilder) { + return NewNotificationMessageTemplatesItemLocalizedNotificationMessagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/notification_message_templates_item_localized_notification_messages_localized_notification_message_item_request_builder.go b/devicemanagement/notification_message_templates_item_localized_notification_messages_localized_notification_message_item_request_builder.go index 92c15724799..d0a1e404360 100644 --- a/devicemanagement/notification_message_templates_item_localized_notification_messages_localized_notification_message_item_request_builder.go +++ b/devicemanagement/notification_message_templates_item_localized_notification_messages_localized_notification_message_item_request_builder.go @@ -153,3 +153,7 @@ func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedN } 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 *NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNotificationMessageItemRequestBuilder) WithUrl(rawUrl string)(*NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNotificationMessageItemRequestBuilder) { + return NewNotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNotificationMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/notification_message_templates_item_localized_notification_messages_request_builder.go b/devicemanagement/notification_message_templates_item_localized_notification_messages_request_builder.go index ed9c1d28048..fd44409be12 100644 --- a/devicemanagement/notification_message_templates_item_localized_notification_messages_request_builder.go +++ b/devicemanagement/notification_message_templates_item_localized_notification_messages_request_builder.go @@ -46,8 +46,8 @@ type NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByLocalizedNotificationMessageIdString provides operations to manage the localizedNotificationMessages property of the microsoft.graph.notificationMessageTemplate entity. -func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBuilder) ByLocalizedNotificationMessageIdString(localizedNotificationMessageId string)(*NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNotificationMessageItemRequestBuilder) { +// ByLocalizedNotificationMessageId provides operations to manage the localizedNotificationMessages property of the microsoft.graph.notificationMessageTemplate entity. +func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBuilder) ByLocalizedNotificationMessageId(localizedNotificationMessageId string)(*NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedNotificationMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBui } 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 *NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBuilder) WithUrl(rawUrl string)(*NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBuilder) { + return NewNotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/notification_message_templates_item_send_test_message_request_builder.go b/devicemanagement/notification_message_templates_item_send_test_message_request_builder.go index 94dd5b33d56..3c355f46c0d 100644 --- a/devicemanagement/notification_message_templates_item_send_test_message_request_builder.go +++ b/devicemanagement/notification_message_templates_item_send_test_message_request_builder.go @@ -58,3 +58,7 @@ func (m *NotificationMessageTemplatesItemSendTestMessageRequestBuilder) ToPostRe } 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 *NotificationMessageTemplatesItemSendTestMessageRequestBuilder) WithUrl(rawUrl string)(*NotificationMessageTemplatesItemSendTestMessageRequestBuilder) { + return NewNotificationMessageTemplatesItemSendTestMessageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/notification_message_templates_notification_message_template_item_request_builder.go b/devicemanagement/notification_message_templates_notification_message_template_item_request_builder.go index f1b285dfd16..2eac1be2e37 100644 --- a/devicemanagement/notification_message_templates_notification_message_template_item_request_builder.go +++ b/devicemanagement/notification_message_templates_notification_message_template_item_request_builder.go @@ -161,3 +161,7 @@ func (m *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuild } 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 *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilder) WithUrl(rawUrl string)(*NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilder) { + return NewNotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/notification_message_templates_request_builder.go b/devicemanagement/notification_message_templates_request_builder.go index e666a06312d..360cc979637 100644 --- a/devicemanagement/notification_message_templates_request_builder.go +++ b/devicemanagement/notification_message_templates_request_builder.go @@ -46,8 +46,8 @@ type NotificationMessageTemplatesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByNotificationMessageTemplateIdString provides operations to manage the notificationMessageTemplates property of the microsoft.graph.deviceManagement entity. -func (m *NotificationMessageTemplatesRequestBuilder) ByNotificationMessageTemplateIdString(notificationMessageTemplateId string)(*NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilder) { +// ByNotificationMessageTemplateId provides operations to manage the notificationMessageTemplates property of the microsoft.graph.deviceManagement entity. +func (m *NotificationMessageTemplatesRequestBuilder) ByNotificationMessageTemplateId(notificationMessageTemplateId string)(*NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *NotificationMessageTemplatesRequestBuilder) 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 *NotificationMessageTemplatesRequestBuilder) WithUrl(rawUrl string)(*NotificationMessageTemplatesRequestBuilder) { + return NewNotificationMessageTemplatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/privilege_management_elevations_count_request_builder.go b/devicemanagement/privilege_management_elevations_count_request_builder.go index 8e1ba96e32f..79ab3f68663 100644 --- a/devicemanagement/privilege_management_elevations_count_request_builder.go +++ b/devicemanagement/privilege_management_elevations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PrivilegeManagementElevationsCountRequestBuilder) ToGetRequestInformati } 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 *PrivilegeManagementElevationsCountRequestBuilder) WithUrl(rawUrl string)(*PrivilegeManagementElevationsCountRequestBuilder) { + return NewPrivilegeManagementElevationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/privilege_management_elevations_privilege_management_elevation_item_request_builder.go b/devicemanagement/privilege_management_elevations_privilege_management_elevation_item_request_builder.go index 13319773b57..3f6e216dbdf 100644 --- a/devicemanagement/privilege_management_elevations_privilege_management_elevation_item_request_builder.go +++ b/devicemanagement/privilege_management_elevations_privilege_management_elevation_item_request_builder.go @@ -153,3 +153,7 @@ func (m *PrivilegeManagementElevationsPrivilegeManagementElevationItemRequestBui } 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 *PrivilegeManagementElevationsPrivilegeManagementElevationItemRequestBuilder) WithUrl(rawUrl string)(*PrivilegeManagementElevationsPrivilegeManagementElevationItemRequestBuilder) { + return NewPrivilegeManagementElevationsPrivilegeManagementElevationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/privilege_management_elevations_request_builder.go b/devicemanagement/privilege_management_elevations_request_builder.go index 1b3f430955c..c86cf915917 100644 --- a/devicemanagement/privilege_management_elevations_request_builder.go +++ b/devicemanagement/privilege_management_elevations_request_builder.go @@ -46,8 +46,8 @@ type PrivilegeManagementElevationsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrivilegeManagementElevationIdString provides operations to manage the privilegeManagementElevations property of the microsoft.graph.deviceManagement entity. -func (m *PrivilegeManagementElevationsRequestBuilder) ByPrivilegeManagementElevationIdString(privilegeManagementElevationId string)(*PrivilegeManagementElevationsPrivilegeManagementElevationItemRequestBuilder) { +// ByPrivilegeManagementElevationId provides operations to manage the privilegeManagementElevations property of the microsoft.graph.deviceManagement entity. +func (m *PrivilegeManagementElevationsRequestBuilder) ByPrivilegeManagementElevationId(privilegeManagementElevationId string)(*PrivilegeManagementElevationsPrivilegeManagementElevationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *PrivilegeManagementElevationsRequestBuilder) ToPostRequestInformation(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 *PrivilegeManagementElevationsRequestBuilder) WithUrl(rawUrl string)(*PrivilegeManagementElevationsRequestBuilder) { + return NewPrivilegeManagementElevationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/remote_action_audits_count_request_builder.go b/devicemanagement/remote_action_audits_count_request_builder.go index 313531ea262..a755cfb1e30 100644 --- a/devicemanagement/remote_action_audits_count_request_builder.go +++ b/devicemanagement/remote_action_audits_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RemoteActionAuditsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *RemoteActionAuditsCountRequestBuilder) WithUrl(rawUrl string)(*RemoteActionAuditsCountRequestBuilder) { + return NewRemoteActionAuditsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/remote_action_audits_remote_action_audit_item_request_builder.go b/devicemanagement/remote_action_audits_remote_action_audit_item_request_builder.go index 888bc323b19..f6f2f42a10b 100644 --- a/devicemanagement/remote_action_audits_remote_action_audit_item_request_builder.go +++ b/devicemanagement/remote_action_audits_remote_action_audit_item_request_builder.go @@ -153,3 +153,7 @@ func (m *RemoteActionAuditsRemoteActionAuditItemRequestBuilder) ToPatchRequestIn } 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 *RemoteActionAuditsRemoteActionAuditItemRequestBuilder) WithUrl(rawUrl string)(*RemoteActionAuditsRemoteActionAuditItemRequestBuilder) { + return NewRemoteActionAuditsRemoteActionAuditItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/remote_action_audits_request_builder.go b/devicemanagement/remote_action_audits_request_builder.go index cbc515c3595..4054d6b0165 100644 --- a/devicemanagement/remote_action_audits_request_builder.go +++ b/devicemanagement/remote_action_audits_request_builder.go @@ -46,8 +46,8 @@ type RemoteActionAuditsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRemoteActionAuditIdString provides operations to manage the remoteActionAudits property of the microsoft.graph.deviceManagement entity. -func (m *RemoteActionAuditsRequestBuilder) ByRemoteActionAuditIdString(remoteActionAuditId string)(*RemoteActionAuditsRemoteActionAuditItemRequestBuilder) { +// ByRemoteActionAuditId provides operations to manage the remoteActionAudits property of the microsoft.graph.deviceManagement entity. +func (m *RemoteActionAuditsRequestBuilder) ByRemoteActionAuditId(remoteActionAuditId string)(*RemoteActionAuditsRemoteActionAuditItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *RemoteActionAuditsRequestBuilder) 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 *RemoteActionAuditsRequestBuilder) WithUrl(rawUrl string)(*RemoteActionAuditsRequestBuilder) { + return NewRemoteActionAuditsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/remote_assistance_partners_count_request_builder.go b/devicemanagement/remote_assistance_partners_count_request_builder.go index cc16dbb5804..6464201a468 100644 --- a/devicemanagement/remote_assistance_partners_count_request_builder.go +++ b/devicemanagement/remote_assistance_partners_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RemoteAssistancePartnersCountRequestBuilder) ToGetRequestInformation(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 *RemoteAssistancePartnersCountRequestBuilder) WithUrl(rawUrl string)(*RemoteAssistancePartnersCountRequestBuilder) { + return NewRemoteAssistancePartnersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/remote_assistance_partners_item_begin_onboarding_request_builder.go b/devicemanagement/remote_assistance_partners_item_begin_onboarding_request_builder.go index b34a19d92c2..27ec9ed1535 100644 --- a/devicemanagement/remote_assistance_partners_item_begin_onboarding_request_builder.go +++ b/devicemanagement/remote_assistance_partners_item_begin_onboarding_request_builder.go @@ -58,3 +58,7 @@ func (m *RemoteAssistancePartnersItemBeginOnboardingRequestBuilder) ToPostReques } 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 *RemoteAssistancePartnersItemBeginOnboardingRequestBuilder) WithUrl(rawUrl string)(*RemoteAssistancePartnersItemBeginOnboardingRequestBuilder) { + return NewRemoteAssistancePartnersItemBeginOnboardingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/remote_assistance_partners_item_disconnect_request_builder.go b/devicemanagement/remote_assistance_partners_item_disconnect_request_builder.go index a1baa71d560..705b4962742 100644 --- a/devicemanagement/remote_assistance_partners_item_disconnect_request_builder.go +++ b/devicemanagement/remote_assistance_partners_item_disconnect_request_builder.go @@ -58,3 +58,7 @@ func (m *RemoteAssistancePartnersItemDisconnectRequestBuilder) ToPostRequestInfo } 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 *RemoteAssistancePartnersItemDisconnectRequestBuilder) WithUrl(rawUrl string)(*RemoteAssistancePartnersItemDisconnectRequestBuilder) { + return NewRemoteAssistancePartnersItemDisconnectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/remote_assistance_partners_remote_assistance_partner_item_request_builder.go b/devicemanagement/remote_assistance_partners_remote_assistance_partner_item_request_builder.go index c9464c0c783..181c60bdacd 100644 --- a/devicemanagement/remote_assistance_partners_remote_assistance_partner_item_request_builder.go +++ b/devicemanagement/remote_assistance_partners_remote_assistance_partner_item_request_builder.go @@ -161,3 +161,7 @@ func (m *RemoteAssistancePartnersRemoteAssistancePartnerItemRequestBuilder) ToPa } 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 *RemoteAssistancePartnersRemoteAssistancePartnerItemRequestBuilder) WithUrl(rawUrl string)(*RemoteAssistancePartnersRemoteAssistancePartnerItemRequestBuilder) { + return NewRemoteAssistancePartnersRemoteAssistancePartnerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/remote_assistance_partners_request_builder.go b/devicemanagement/remote_assistance_partners_request_builder.go index 642604e319f..794db8e79d3 100644 --- a/devicemanagement/remote_assistance_partners_request_builder.go +++ b/devicemanagement/remote_assistance_partners_request_builder.go @@ -46,8 +46,8 @@ type RemoteAssistancePartnersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRemoteAssistancePartnerIdString provides operations to manage the remoteAssistancePartners property of the microsoft.graph.deviceManagement entity. -func (m *RemoteAssistancePartnersRequestBuilder) ByRemoteAssistancePartnerIdString(remoteAssistancePartnerId string)(*RemoteAssistancePartnersRemoteAssistancePartnerItemRequestBuilder) { +// ByRemoteAssistancePartnerId provides operations to manage the remoteAssistancePartners property of the microsoft.graph.deviceManagement entity. +func (m *RemoteAssistancePartnersRequestBuilder) ByRemoteAssistancePartnerId(remoteAssistancePartnerId string)(*RemoteAssistancePartnersRemoteAssistancePartnerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *RemoteAssistancePartnersRequestBuilder) ToPostRequestInformation(ctx co } 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 *RemoteAssistancePartnersRequestBuilder) WithUrl(rawUrl string)(*RemoteAssistancePartnersRequestBuilder) { + return NewRemoteAssistancePartnersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/remote_assistance_settings_request_builder.go b/devicemanagement/remote_assistance_settings_request_builder.go index ad7e1bb2e89..8adc418cc7d 100644 --- a/devicemanagement/remote_assistance_settings_request_builder.go +++ b/devicemanagement/remote_assistance_settings_request_builder.go @@ -153,3 +153,7 @@ func (m *RemoteAssistanceSettingsRequestBuilder) 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 *RemoteAssistanceSettingsRequestBuilder) WithUrl(rawUrl string)(*RemoteAssistanceSettingsRequestBuilder) { + return NewRemoteAssistanceSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_cached_report_configurations_count_request_builder.go b/devicemanagement/reports_cached_report_configurations_count_request_builder.go index 42d8ea2c535..2766706a30e 100644 --- a/devicemanagement/reports_cached_report_configurations_count_request_builder.go +++ b/devicemanagement/reports_cached_report_configurations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ReportsCachedReportConfigurationsCountRequestBuilder) ToGetRequestInfor } 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 *ReportsCachedReportConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*ReportsCachedReportConfigurationsCountRequestBuilder) { + return NewReportsCachedReportConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_cached_report_configurations_device_management_cached_report_configuration_item_request_builder.go b/devicemanagement/reports_cached_report_configurations_device_management_cached_report_configuration_item_request_builder.go index a0a286bfc5b..6e28d01ca6f 100644 --- a/devicemanagement/reports_cached_report_configurations_device_management_cached_report_configuration_item_request_builder.go +++ b/devicemanagement/reports_cached_report_configurations_device_management_cached_report_configuration_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ReportsCachedReportConfigurationsDeviceManagementCachedReportConfigurat } 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 *ReportsCachedReportConfigurationsDeviceManagementCachedReportConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*ReportsCachedReportConfigurationsDeviceManagementCachedReportConfigurationItemRequestBuilder) { + return NewReportsCachedReportConfigurationsDeviceManagementCachedReportConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_cached_report_configurations_request_builder.go b/devicemanagement/reports_cached_report_configurations_request_builder.go index f38365f6663..7811e31a81f 100644 --- a/devicemanagement/reports_cached_report_configurations_request_builder.go +++ b/devicemanagement/reports_cached_report_configurations_request_builder.go @@ -46,8 +46,8 @@ type ReportsCachedReportConfigurationsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementCachedReportConfigurationIdString provides operations to manage the cachedReportConfigurations property of the microsoft.graph.deviceManagementReports entity. -func (m *ReportsCachedReportConfigurationsRequestBuilder) ByDeviceManagementCachedReportConfigurationIdString(deviceManagementCachedReportConfigurationId string)(*ReportsCachedReportConfigurationsDeviceManagementCachedReportConfigurationItemRequestBuilder) { +// ByDeviceManagementCachedReportConfigurationId provides operations to manage the cachedReportConfigurations property of the microsoft.graph.deviceManagementReports entity. +func (m *ReportsCachedReportConfigurationsRequestBuilder) ByDeviceManagementCachedReportConfigurationId(deviceManagementCachedReportConfigurationId string)(*ReportsCachedReportConfigurationsDeviceManagementCachedReportConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ReportsCachedReportConfigurationsRequestBuilder) ToPostRequestInformati } 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 *ReportsCachedReportConfigurationsRequestBuilder) WithUrl(rawUrl string)(*ReportsCachedReportConfigurationsRequestBuilder) { + return NewReportsCachedReportConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_export_jobs_count_request_builder.go b/devicemanagement/reports_export_jobs_count_request_builder.go index 564385fb698..79baab6fa54 100644 --- a/devicemanagement/reports_export_jobs_count_request_builder.go +++ b/devicemanagement/reports_export_jobs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ReportsExportJobsCountRequestBuilder) ToGetRequestInformation(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 *ReportsExportJobsCountRequestBuilder) WithUrl(rawUrl string)(*ReportsExportJobsCountRequestBuilder) { + return NewReportsExportJobsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_export_jobs_device_management_export_job_item_request_builder.go b/devicemanagement/reports_export_jobs_device_management_export_job_item_request_builder.go index 7a004765719..1978b6a79ea 100644 --- a/devicemanagement/reports_export_jobs_device_management_export_job_item_request_builder.go +++ b/devicemanagement/reports_export_jobs_device_management_export_job_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ReportsExportJobsDeviceManagementExportJobItemRequestBuilder) ToPatchRe } 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 *ReportsExportJobsDeviceManagementExportJobItemRequestBuilder) WithUrl(rawUrl string)(*ReportsExportJobsDeviceManagementExportJobItemRequestBuilder) { + return NewReportsExportJobsDeviceManagementExportJobItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_export_jobs_request_builder.go b/devicemanagement/reports_export_jobs_request_builder.go index 0a21122eec0..52993359b4f 100644 --- a/devicemanagement/reports_export_jobs_request_builder.go +++ b/devicemanagement/reports_export_jobs_request_builder.go @@ -46,8 +46,8 @@ type ReportsExportJobsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementExportJobIdString provides operations to manage the exportJobs property of the microsoft.graph.deviceManagementReports entity. -func (m *ReportsExportJobsRequestBuilder) ByDeviceManagementExportJobIdString(deviceManagementExportJobId string)(*ReportsExportJobsDeviceManagementExportJobItemRequestBuilder) { +// ByDeviceManagementExportJobId provides operations to manage the exportJobs property of the microsoft.graph.deviceManagementReports entity. +func (m *ReportsExportJobsRequestBuilder) ByDeviceManagementExportJobId(deviceManagementExportJobId string)(*ReportsExportJobsDeviceManagementExportJobItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ReportsExportJobsRequestBuilder) ToPostRequestInformation(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 *ReportsExportJobsRequestBuilder) WithUrl(rawUrl string)(*ReportsExportJobsRequestBuilder) { + return NewReportsExportJobsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_active_malware_report_request_builder.go b/devicemanagement/reports_get_active_malware_report_request_builder.go index 73bbbfe6a49..7ee3049cece 100644 --- a/devicemanagement/reports_get_active_malware_report_request_builder.go +++ b/devicemanagement/reports_get_active_malware_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetActiveMalwareReportRequestBuilder) ToPostRequestInformation(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 *ReportsGetActiveMalwareReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetActiveMalwareReportRequestBuilder) { + return NewReportsGetActiveMalwareReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_active_malware_summary_report_request_builder.go b/devicemanagement/reports_get_active_malware_summary_report_request_builder.go index 26337704c19..d120af386cf 100644 --- a/devicemanagement/reports_get_active_malware_summary_report_request_builder.go +++ b/devicemanagement/reports_get_active_malware_summary_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetActiveMalwareSummaryReportRequestBuilder) ToPostRequestInform } 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 *ReportsGetActiveMalwareSummaryReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetActiveMalwareSummaryReportRequestBuilder) { + return NewReportsGetActiveMalwareSummaryReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_all_certificates_report_request_builder.go b/devicemanagement/reports_get_all_certificates_report_request_builder.go index 23834bcd336..e9c15da42d0 100644 --- a/devicemanagement/reports_get_all_certificates_report_request_builder.go +++ b/devicemanagement/reports_get_all_certificates_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetAllCertificatesReportRequestBuilder) 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 *ReportsGetAllCertificatesReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetAllCertificatesReportRequestBuilder) { + return NewReportsGetAllCertificatesReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_app_status_overview_report_request_builder.go b/devicemanagement/reports_get_app_status_overview_report_request_builder.go index 543c0f04fb1..02fcbc111ee 100644 --- a/devicemanagement/reports_get_app_status_overview_report_request_builder.go +++ b/devicemanagement/reports_get_app_status_overview_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetAppStatusOverviewReportRequestBuilder) ToPostRequestInformati } 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 *ReportsGetAppStatusOverviewReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetAppStatusOverviewReportRequestBuilder) { + return NewReportsGetAppStatusOverviewReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_apps_install_summary_report_request_builder.go b/devicemanagement/reports_get_apps_install_summary_report_request_builder.go index 6e199eea5af..2461744804a 100644 --- a/devicemanagement/reports_get_apps_install_summary_report_request_builder.go +++ b/devicemanagement/reports_get_apps_install_summary_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetAppsInstallSummaryReportRequestBuilder) ToPostRequestInformat } 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 *ReportsGetAppsInstallSummaryReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetAppsInstallSummaryReportRequestBuilder) { + return NewReportsGetAppsInstallSummaryReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_autopilot_deployment_device_information_request_builder.go b/devicemanagement/reports_get_autopilot_deployment_device_information_request_builder.go deleted file mode 100644 index 80ec9932b4a..00000000000 --- a/devicemanagement/reports_get_autopilot_deployment_device_information_request_builder.go +++ /dev/null @@ -1,67 +0,0 @@ -package devicemanagement - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// ReportsGetAutopilotDeploymentDeviceInformationRequestBuilder provides operations to call the getAutopilotDeploymentDeviceInformation method. -type ReportsGetAutopilotDeploymentDeviceInformationRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// ReportsGetAutopilotDeploymentDeviceInformationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ReportsGetAutopilotDeploymentDeviceInformationRequestBuilderPostRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewReportsGetAutopilotDeploymentDeviceInformationRequestBuilderInternal instantiates a new GetAutopilotDeploymentDeviceInformationRequestBuilder and sets the default values. -func NewReportsGetAutopilotDeploymentDeviceInformationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReportsGetAutopilotDeploymentDeviceInformationRequestBuilder) { - m := &ReportsGetAutopilotDeploymentDeviceInformationRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/reports/getAutopilotDeploymentDeviceInformation", pathParameters), - } - return m -} -// NewReportsGetAutopilotDeploymentDeviceInformationRequestBuilder instantiates a new GetAutopilotDeploymentDeviceInformationRequestBuilder and sets the default values. -func NewReportsGetAutopilotDeploymentDeviceInformationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReportsGetAutopilotDeploymentDeviceInformationRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewReportsGetAutopilotDeploymentDeviceInformationRequestBuilderInternal(urlParams, requestAdapter) -} -// Post invoke action getAutopilotDeploymentDeviceInformation -func (m *ReportsGetAutopilotDeploymentDeviceInformationRequestBuilder) Post(ctx context.Context, body ReportsGetAutopilotDeploymentDeviceInformationPostRequestBodyable, requestConfiguration *ReportsGetAutopilotDeploymentDeviceInformationRequestBuilderPostRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// ToPostRequestInformation invoke action getAutopilotDeploymentDeviceInformation -func (m *ReportsGetAutopilotDeploymentDeviceInformationRequestBuilder) ToPostRequestInformation(ctx context.Context, body ReportsGetAutopilotDeploymentDeviceInformationPostRequestBodyable, requestConfiguration *ReportsGetAutopilotDeploymentDeviceInformationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - return requestInfo, nil -} diff --git a/devicemanagement/reports_get_cached_report_request_builder.go b/devicemanagement/reports_get_cached_report_request_builder.go index 14708edf529..2c9c6265732 100644 --- a/devicemanagement/reports_get_cached_report_request_builder.go +++ b/devicemanagement/reports_get_cached_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetCachedReportRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ReportsGetCachedReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetCachedReportRequestBuilder) { + return NewReportsGetCachedReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_certificates_report_request_builder.go b/devicemanagement/reports_get_certificates_report_request_builder.go index 1a83fb874f5..1ad5075c41e 100644 --- a/devicemanagement/reports_get_certificates_report_request_builder.go +++ b/devicemanagement/reports_get_certificates_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetCertificatesReportRequestBuilder) 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 *ReportsGetCertificatesReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetCertificatesReportRequestBuilder) { + return NewReportsGetCertificatesReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_compliance_policies_report_for_device_request_builder.go b/devicemanagement/reports_get_compliance_policies_report_for_device_request_builder.go index 4fe9a0e8451..bc8a42eec75 100644 --- a/devicemanagement/reports_get_compliance_policies_report_for_device_request_builder.go +++ b/devicemanagement/reports_get_compliance_policies_report_for_device_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetCompliancePoliciesReportForDeviceRequestBuilder) ToPostReques } 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 *ReportsGetCompliancePoliciesReportForDeviceRequestBuilder) WithUrl(rawUrl string)(*ReportsGetCompliancePoliciesReportForDeviceRequestBuilder) { + return NewReportsGetCompliancePoliciesReportForDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_compliance_policy_device_summary_report_request_builder.go b/devicemanagement/reports_get_compliance_policy_device_summary_report_request_builder.go index a692983d9a4..88d57e161e0 100644 --- a/devicemanagement/reports_get_compliance_policy_device_summary_report_request_builder.go +++ b/devicemanagement/reports_get_compliance_policy_device_summary_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetCompliancePolicyDeviceSummaryReportRequestBuilder) ToPostRequ } 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 *ReportsGetCompliancePolicyDeviceSummaryReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetCompliancePolicyDeviceSummaryReportRequestBuilder) { + return NewReportsGetCompliancePolicyDeviceSummaryReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_compliance_policy_devices_report_request_builder.go b/devicemanagement/reports_get_compliance_policy_devices_report_request_builder.go index 5d2040484e5..1c6bc0e93fd 100644 --- a/devicemanagement/reports_get_compliance_policy_devices_report_request_builder.go +++ b/devicemanagement/reports_get_compliance_policy_devices_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetCompliancePolicyDevicesReportRequestBuilder) ToPostRequestInf } 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 *ReportsGetCompliancePolicyDevicesReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetCompliancePolicyDevicesReportRequestBuilder) { + return NewReportsGetCompliancePolicyDevicesReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_compliance_policy_non_compliance_report_request_builder.go b/devicemanagement/reports_get_compliance_policy_non_compliance_report_request_builder.go index df9f10b9c56..342d1f36a4f 100644 --- a/devicemanagement/reports_get_compliance_policy_non_compliance_report_request_builder.go +++ b/devicemanagement/reports_get_compliance_policy_non_compliance_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetCompliancePolicyNonComplianceReportRequestBuilder) ToPostRequ } 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 *ReportsGetCompliancePolicyNonComplianceReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetCompliancePolicyNonComplianceReportRequestBuilder) { + return NewReportsGetCompliancePolicyNonComplianceReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_compliance_policy_non_compliance_summary_report_request_builder.go b/devicemanagement/reports_get_compliance_policy_non_compliance_summary_report_request_builder.go index e04f0d1b86f..cc627c0f97e 100644 --- a/devicemanagement/reports_get_compliance_policy_non_compliance_summary_report_request_builder.go +++ b/devicemanagement/reports_get_compliance_policy_non_compliance_summary_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetCompliancePolicyNonComplianceSummaryReportRequestBuilder) 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 *ReportsGetCompliancePolicyNonComplianceSummaryReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetCompliancePolicyNonComplianceSummaryReportRequestBuilder) { + return NewReportsGetCompliancePolicyNonComplianceSummaryReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_compliance_setting_details_report_request_builder.go b/devicemanagement/reports_get_compliance_setting_details_report_request_builder.go index 50355a9fbc2..c3918a2a575 100644 --- a/devicemanagement/reports_get_compliance_setting_details_report_request_builder.go +++ b/devicemanagement/reports_get_compliance_setting_details_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetComplianceSettingDetailsReportRequestBuilder) ToPostRequestIn } 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 *ReportsGetComplianceSettingDetailsReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetComplianceSettingDetailsReportRequestBuilder) { + return NewReportsGetComplianceSettingDetailsReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_compliance_setting_non_compliance_report_request_builder.go b/devicemanagement/reports_get_compliance_setting_non_compliance_report_request_builder.go index 3c115a37dc6..031916abe24 100644 --- a/devicemanagement/reports_get_compliance_setting_non_compliance_report_request_builder.go +++ b/devicemanagement/reports_get_compliance_setting_non_compliance_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetComplianceSettingNonComplianceReportRequestBuilder) ToPostReq } 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 *ReportsGetComplianceSettingNonComplianceReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetComplianceSettingNonComplianceReportRequestBuilder) { + return NewReportsGetComplianceSettingNonComplianceReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_compliance_settings_report_request_builder.go b/devicemanagement/reports_get_compliance_settings_report_request_builder.go index 18b2b29d3fe..c8048bdc78f 100644 --- a/devicemanagement/reports_get_compliance_settings_report_request_builder.go +++ b/devicemanagement/reports_get_compliance_settings_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetComplianceSettingsReportRequestBuilder) ToPostRequestInformat } 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 *ReportsGetComplianceSettingsReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetComplianceSettingsReportRequestBuilder) { + return NewReportsGetComplianceSettingsReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_config_manager_device_policy_status_report_request_builder.go b/devicemanagement/reports_get_config_manager_device_policy_status_report_request_builder.go index 62527e9f9ca..99b046646ae 100644 --- a/devicemanagement/reports_get_config_manager_device_policy_status_report_request_builder.go +++ b/devicemanagement/reports_get_config_manager_device_policy_status_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetConfigManagerDevicePolicyStatusReportRequestBuilder) ToPostRe } 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 *ReportsGetConfigManagerDevicePolicyStatusReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetConfigManagerDevicePolicyStatusReportRequestBuilder) { + return NewReportsGetConfigManagerDevicePolicyStatusReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_configuration_policies_report_for_device_request_builder.go b/devicemanagement/reports_get_configuration_policies_report_for_device_request_builder.go index c12eca4f1c5..d9f95f5804e 100644 --- a/devicemanagement/reports_get_configuration_policies_report_for_device_request_builder.go +++ b/devicemanagement/reports_get_configuration_policies_report_for_device_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetConfigurationPoliciesReportForDeviceRequestBuilder) ToPostReq } 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 *ReportsGetConfigurationPoliciesReportForDeviceRequestBuilder) WithUrl(rawUrl string)(*ReportsGetConfigurationPoliciesReportForDeviceRequestBuilder) { + return NewReportsGetConfigurationPoliciesReportForDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_configuration_policy_device_summary_report_request_builder.go b/devicemanagement/reports_get_configuration_policy_device_summary_report_request_builder.go index 8f20a64bb82..a612ba35cca 100644 --- a/devicemanagement/reports_get_configuration_policy_device_summary_report_request_builder.go +++ b/devicemanagement/reports_get_configuration_policy_device_summary_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetConfigurationPolicyDeviceSummaryReportRequestBuilder) ToPostR } 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 *ReportsGetConfigurationPolicyDeviceSummaryReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetConfigurationPolicyDeviceSummaryReportRequestBuilder) { + return NewReportsGetConfigurationPolicyDeviceSummaryReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_configuration_policy_devices_report_request_builder.go b/devicemanagement/reports_get_configuration_policy_devices_report_request_builder.go index 340cda9eb1c..1756014ee82 100644 --- a/devicemanagement/reports_get_configuration_policy_devices_report_request_builder.go +++ b/devicemanagement/reports_get_configuration_policy_devices_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetConfigurationPolicyDevicesReportRequestBuilder) ToPostRequest } 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 *ReportsGetConfigurationPolicyDevicesReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetConfigurationPolicyDevicesReportRequestBuilder) { + return NewReportsGetConfigurationPolicyDevicesReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_configuration_policy_non_compliance_report_request_builder.go b/devicemanagement/reports_get_configuration_policy_non_compliance_report_request_builder.go index d24bcaf946b..2e1a297b27d 100644 --- a/devicemanagement/reports_get_configuration_policy_non_compliance_report_request_builder.go +++ b/devicemanagement/reports_get_configuration_policy_non_compliance_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetConfigurationPolicyNonComplianceReportRequestBuilder) ToPostR } 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 *ReportsGetConfigurationPolicyNonComplianceReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetConfigurationPolicyNonComplianceReportRequestBuilder) { + return NewReportsGetConfigurationPolicyNonComplianceReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_configuration_policy_non_compliance_summary_report_request_builder.go b/devicemanagement/reports_get_configuration_policy_non_compliance_summary_report_request_builder.go index e593a105963..90790af5682 100644 --- a/devicemanagement/reports_get_configuration_policy_non_compliance_summary_report_request_builder.go +++ b/devicemanagement/reports_get_configuration_policy_non_compliance_summary_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetConfigurationPolicyNonComplianceSummaryReportRequestBuilder) } 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 *ReportsGetConfigurationPolicyNonComplianceSummaryReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetConfigurationPolicyNonComplianceSummaryReportRequestBuilder) { + return NewReportsGetConfigurationPolicyNonComplianceSummaryReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_configuration_policy_settings_device_summary_report_request_builder.go b/devicemanagement/reports_get_configuration_policy_settings_device_summary_report_request_builder.go index b08d6d4ff80..85be04f45aa 100644 --- a/devicemanagement/reports_get_configuration_policy_settings_device_summary_report_request_builder.go +++ b/devicemanagement/reports_get_configuration_policy_settings_device_summary_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetConfigurationPolicySettingsDeviceSummaryReportRequestBuilder) } 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 *ReportsGetConfigurationPolicySettingsDeviceSummaryReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetConfigurationPolicySettingsDeviceSummaryReportRequestBuilder) { + return NewReportsGetConfigurationPolicySettingsDeviceSummaryReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_configuration_setting_details_report_request_builder.go b/devicemanagement/reports_get_configuration_setting_details_report_request_builder.go index 2f9164ad73f..6ab17634d90 100644 --- a/devicemanagement/reports_get_configuration_setting_details_report_request_builder.go +++ b/devicemanagement/reports_get_configuration_setting_details_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetConfigurationSettingDetailsReportRequestBuilder) ToPostReques } 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 *ReportsGetConfigurationSettingDetailsReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetConfigurationSettingDetailsReportRequestBuilder) { + return NewReportsGetConfigurationSettingDetailsReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_configuration_setting_non_compliance_report_request_builder.go b/devicemanagement/reports_get_configuration_setting_non_compliance_report_request_builder.go index 16603635730..098b6768db1 100644 --- a/devicemanagement/reports_get_configuration_setting_non_compliance_report_request_builder.go +++ b/devicemanagement/reports_get_configuration_setting_non_compliance_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetConfigurationSettingNonComplianceReportRequestBuilder) ToPost } 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 *ReportsGetConfigurationSettingNonComplianceReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetConfigurationSettingNonComplianceReportRequestBuilder) { + return NewReportsGetConfigurationSettingNonComplianceReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_configuration_settings_report_request_builder.go b/devicemanagement/reports_get_configuration_settings_report_request_builder.go index a193cdd51b1..f8b2003f497 100644 --- a/devicemanagement/reports_get_configuration_settings_report_request_builder.go +++ b/devicemanagement/reports_get_configuration_settings_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetConfigurationSettingsReportRequestBuilder) ToPostRequestInfor } 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 *ReportsGetConfigurationSettingsReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetConfigurationSettingsReportRequestBuilder) { + return NewReportsGetConfigurationSettingsReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_device_configuration_policy_settings_summary_report_request_builder.go b/devicemanagement/reports_get_device_configuration_policy_settings_summary_report_request_builder.go index 5e670755119..43dd45b29cb 100644 --- a/devicemanagement/reports_get_device_configuration_policy_settings_summary_report_request_builder.go +++ b/devicemanagement/reports_get_device_configuration_policy_settings_summary_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetDeviceConfigurationPolicySettingsSummaryReportRequestBuilder) } 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 *ReportsGetDeviceConfigurationPolicySettingsSummaryReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetDeviceConfigurationPolicySettingsSummaryReportRequestBuilder) { + return NewReportsGetDeviceConfigurationPolicySettingsSummaryReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_device_configuration_policy_status_summary_request_builder.go b/devicemanagement/reports_get_device_configuration_policy_status_summary_request_builder.go index 91d418bd668..c228f34cc36 100644 --- a/devicemanagement/reports_get_device_configuration_policy_status_summary_request_builder.go +++ b/devicemanagement/reports_get_device_configuration_policy_status_summary_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetDeviceConfigurationPolicyStatusSummaryRequestBuilder) ToPostR } 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 *ReportsGetDeviceConfigurationPolicyStatusSummaryRequestBuilder) WithUrl(rawUrl string)(*ReportsGetDeviceConfigurationPolicyStatusSummaryRequestBuilder) { + return NewReportsGetDeviceConfigurationPolicyStatusSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_device_install_status_report_request_builder.go b/devicemanagement/reports_get_device_install_status_report_request_builder.go index fab15acad6f..d31c550f416 100644 --- a/devicemanagement/reports_get_device_install_status_report_request_builder.go +++ b/devicemanagement/reports_get_device_install_status_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetDeviceInstallStatusReportRequestBuilder) ToPostRequestInforma } 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 *ReportsGetDeviceInstallStatusReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetDeviceInstallStatusReportRequestBuilder) { + return NewReportsGetDeviceInstallStatusReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_device_management_intent_per_setting_contributing_profiles_request_builder.go b/devicemanagement/reports_get_device_management_intent_per_setting_contributing_profiles_request_builder.go index 7d3654fa327..16ada3cf1e4 100644 --- a/devicemanagement/reports_get_device_management_intent_per_setting_contributing_profiles_request_builder.go +++ b/devicemanagement/reports_get_device_management_intent_per_setting_contributing_profiles_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetDeviceManagementIntentPerSettingContributingProfilesRequestBu } 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 *ReportsGetDeviceManagementIntentPerSettingContributingProfilesRequestBuilder) WithUrl(rawUrl string)(*ReportsGetDeviceManagementIntentPerSettingContributingProfilesRequestBuilder) { + return NewReportsGetDeviceManagementIntentPerSettingContributingProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_device_management_intent_settings_report_request_builder.go b/devicemanagement/reports_get_device_management_intent_settings_report_request_builder.go index 96b8c07188d..5ae11296834 100644 --- a/devicemanagement/reports_get_device_management_intent_settings_report_request_builder.go +++ b/devicemanagement/reports_get_device_management_intent_settings_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetDeviceManagementIntentSettingsReportRequestBuilder) ToPostReq } 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 *ReportsGetDeviceManagementIntentSettingsReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetDeviceManagementIntentSettingsReportRequestBuilder) { + return NewReportsGetDeviceManagementIntentSettingsReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_device_non_compliance_report_request_builder.go b/devicemanagement/reports_get_device_non_compliance_report_request_builder.go index 98e0b41d167..36e9395a3d8 100644 --- a/devicemanagement/reports_get_device_non_compliance_report_request_builder.go +++ b/devicemanagement/reports_get_device_non_compliance_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetDeviceNonComplianceReportRequestBuilder) ToPostRequestInforma } 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 *ReportsGetDeviceNonComplianceReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetDeviceNonComplianceReportRequestBuilder) { + return NewReportsGetDeviceNonComplianceReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_device_policies_compliance_report_request_builder.go b/devicemanagement/reports_get_device_policies_compliance_report_request_builder.go index c5d96fb3f4c..3e98e6da853 100644 --- a/devicemanagement/reports_get_device_policies_compliance_report_request_builder.go +++ b/devicemanagement/reports_get_device_policies_compliance_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetDevicePoliciesComplianceReportRequestBuilder) ToPostRequestIn } 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 *ReportsGetDevicePoliciesComplianceReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetDevicePoliciesComplianceReportRequestBuilder) { + return NewReportsGetDevicePoliciesComplianceReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_device_policy_settings_compliance_report_request_builder.go b/devicemanagement/reports_get_device_policy_settings_compliance_report_request_builder.go index b1905d9ff6c..4eb641de129 100644 --- a/devicemanagement/reports_get_device_policy_settings_compliance_report_request_builder.go +++ b/devicemanagement/reports_get_device_policy_settings_compliance_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetDevicePolicySettingsComplianceReportRequestBuilder) ToPostReq } 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 *ReportsGetDevicePolicySettingsComplianceReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetDevicePolicySettingsComplianceReportRequestBuilder) { + return NewReportsGetDevicePolicySettingsComplianceReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_device_status_by_compliace_policy_report_request_builder.go b/devicemanagement/reports_get_device_status_by_compliace_policy_report_request_builder.go index 804ede567d6..bc3df83ad76 100644 --- a/devicemanagement/reports_get_device_status_by_compliace_policy_report_request_builder.go +++ b/devicemanagement/reports_get_device_status_by_compliace_policy_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetDeviceStatusByCompliacePolicyReportRequestBuilder) ToPostRequ } 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 *ReportsGetDeviceStatusByCompliacePolicyReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetDeviceStatusByCompliacePolicyReportRequestBuilder) { + return NewReportsGetDeviceStatusByCompliacePolicyReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_device_status_by_compliance_policy_setting_report_request_builder.go b/devicemanagement/reports_get_device_status_by_compliance_policy_setting_report_request_builder.go index 6573755a195..9ece153a4c1 100644 --- a/devicemanagement/reports_get_device_status_by_compliance_policy_setting_report_request_builder.go +++ b/devicemanagement/reports_get_device_status_by_compliance_policy_setting_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetDeviceStatusByCompliancePolicySettingReportRequestBuilder) To } 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 *ReportsGetDeviceStatusByCompliancePolicySettingReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetDeviceStatusByCompliancePolicySettingReportRequestBuilder) { + return NewReportsGetDeviceStatusByCompliancePolicySettingReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_device_status_summary_by_compliace_policy_report_request_builder.go b/devicemanagement/reports_get_device_status_summary_by_compliace_policy_report_request_builder.go index cf9aad191ca..e3a2bc27a45 100644 --- a/devicemanagement/reports_get_device_status_summary_by_compliace_policy_report_request_builder.go +++ b/devicemanagement/reports_get_device_status_summary_by_compliace_policy_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetDeviceStatusSummaryByCompliacePolicyReportRequestBuilder) 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 *ReportsGetDeviceStatusSummaryByCompliacePolicyReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetDeviceStatusSummaryByCompliacePolicyReportRequestBuilder) { + return NewReportsGetDeviceStatusSummaryByCompliacePolicyReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_device_status_summary_by_compliance_policy_settings_report_request_builder.go b/devicemanagement/reports_get_device_status_summary_by_compliance_policy_settings_report_request_builder.go index d1e9054ebf5..42ee42e76d1 100644 --- a/devicemanagement/reports_get_device_status_summary_by_compliance_policy_settings_report_request_builder.go +++ b/devicemanagement/reports_get_device_status_summary_by_compliance_policy_settings_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetDeviceStatusSummaryByCompliancePolicySettingsReportRequestBui } 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 *ReportsGetDeviceStatusSummaryByCompliancePolicySettingsReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetDeviceStatusSummaryByCompliancePolicySettingsReportRequestBuilder) { + return NewReportsGetDeviceStatusSummaryByCompliancePolicySettingsReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_devices_status_by_policy_platform_compliance_report_request_builder.go b/devicemanagement/reports_get_devices_status_by_policy_platform_compliance_report_request_builder.go index fd9baceed18..dd099bace27 100644 --- a/devicemanagement/reports_get_devices_status_by_policy_platform_compliance_report_request_builder.go +++ b/devicemanagement/reports_get_devices_status_by_policy_platform_compliance_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetDevicesStatusByPolicyPlatformComplianceReportRequestBuilder) } 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 *ReportsGetDevicesStatusByPolicyPlatformComplianceReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetDevicesStatusByPolicyPlatformComplianceReportRequestBuilder) { + return NewReportsGetDevicesStatusByPolicyPlatformComplianceReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_devices_status_by_setting_report_request_builder.go b/devicemanagement/reports_get_devices_status_by_setting_report_request_builder.go index 451d5d8a0a4..f5205998f7f 100644 --- a/devicemanagement/reports_get_devices_status_by_setting_report_request_builder.go +++ b/devicemanagement/reports_get_devices_status_by_setting_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetDevicesStatusBySettingReportRequestBuilder) ToPostRequestInfo } 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 *ReportsGetDevicesStatusBySettingReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetDevicesStatusBySettingReportRequestBuilder) { + return NewReportsGetDevicesStatusBySettingReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_devices_without_compliance_policy_report_request_builder.go b/devicemanagement/reports_get_devices_without_compliance_policy_report_request_builder.go index 1afe63bb62d..20d6b180a11 100644 --- a/devicemanagement/reports_get_devices_without_compliance_policy_report_request_builder.go +++ b/devicemanagement/reports_get_devices_without_compliance_policy_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetDevicesWithoutCompliancePolicyReportRequestBuilder) ToPostReq } 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 *ReportsGetDevicesWithoutCompliancePolicyReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetDevicesWithoutCompliancePolicyReportRequestBuilder) { + return NewReportsGetDevicesWithoutCompliancePolicyReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_encryption_report_for_devices_request_builder.go b/devicemanagement/reports_get_encryption_report_for_devices_request_builder.go index c5461f20912..ee1ed2a8917 100644 --- a/devicemanagement/reports_get_encryption_report_for_devices_request_builder.go +++ b/devicemanagement/reports_get_encryption_report_for_devices_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetEncryptionReportForDevicesRequestBuilder) ToPostRequestInform } 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 *ReportsGetEncryptionReportForDevicesRequestBuilder) WithUrl(rawUrl string)(*ReportsGetEncryptionReportForDevicesRequestBuilder) { + return NewReportsGetEncryptionReportForDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_enrollment_configuration_policies_by_device_request_builder.go b/devicemanagement/reports_get_enrollment_configuration_policies_by_device_request_builder.go index bc1d26eb65b..5d555a7b10b 100644 --- a/devicemanagement/reports_get_enrollment_configuration_policies_by_device_request_builder.go +++ b/devicemanagement/reports_get_enrollment_configuration_policies_by_device_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetEnrollmentConfigurationPoliciesByDeviceRequestBuilder) ToPost } 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 *ReportsGetEnrollmentConfigurationPoliciesByDeviceRequestBuilder) WithUrl(rawUrl string)(*ReportsGetEnrollmentConfigurationPoliciesByDeviceRequestBuilder) { + return NewReportsGetEnrollmentConfigurationPoliciesByDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_failed_mobile_apps_report_request_builder.go b/devicemanagement/reports_get_failed_mobile_apps_report_request_builder.go index ee339459fda..251a51e8181 100644 --- a/devicemanagement/reports_get_failed_mobile_apps_report_request_builder.go +++ b/devicemanagement/reports_get_failed_mobile_apps_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetFailedMobileAppsReportRequestBuilder) ToPostRequestInformatio } 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 *ReportsGetFailedMobileAppsReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetFailedMobileAppsReportRequestBuilder) { + return NewReportsGetFailedMobileAppsReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_failed_mobile_apps_summary_report_request_builder.go b/devicemanagement/reports_get_failed_mobile_apps_summary_report_request_builder.go index 939fb1d7661..fd6f21bdc99 100644 --- a/devicemanagement/reports_get_failed_mobile_apps_summary_report_request_builder.go +++ b/devicemanagement/reports_get_failed_mobile_apps_summary_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetFailedMobileAppsSummaryReportRequestBuilder) ToPostRequestInf } 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 *ReportsGetFailedMobileAppsSummaryReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetFailedMobileAppsSummaryReportRequestBuilder) { + return NewReportsGetFailedMobileAppsSummaryReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_group_policy_settings_device_settings_report_request_builder.go b/devicemanagement/reports_get_group_policy_settings_device_settings_report_request_builder.go index b3bd8fcd1e6..a9495980aa5 100644 --- a/devicemanagement/reports_get_group_policy_settings_device_settings_report_request_builder.go +++ b/devicemanagement/reports_get_group_policy_settings_device_settings_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetGroupPolicySettingsDeviceSettingsReportRequestBuilder) ToPost } 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 *ReportsGetGroupPolicySettingsDeviceSettingsReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetGroupPolicySettingsDeviceSettingsReportRequestBuilder) { + return NewReportsGetGroupPolicySettingsDeviceSettingsReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_historical_report_request_builder.go b/devicemanagement/reports_get_historical_report_request_builder.go index f7a1380588c..de8bdb6951a 100644 --- a/devicemanagement/reports_get_historical_report_request_builder.go +++ b/devicemanagement/reports_get_historical_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetHistoricalReportRequestBuilder) 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 *ReportsGetHistoricalReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetHistoricalReportRequestBuilder) { + return NewReportsGetHistoricalReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_malware_summary_report_request_builder.go b/devicemanagement/reports_get_malware_summary_report_request_builder.go index 345ad40892a..2e3f0114852 100644 --- a/devicemanagement/reports_get_malware_summary_report_request_builder.go +++ b/devicemanagement/reports_get_malware_summary_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetMalwareSummaryReportRequestBuilder) 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 *ReportsGetMalwareSummaryReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetMalwareSummaryReportRequestBuilder) { + return NewReportsGetMalwareSummaryReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_mobile_application_management_app_configuration_report_request_builder.go b/devicemanagement/reports_get_mobile_application_management_app_configuration_report_request_builder.go index 83e918ea7c8..3e0ad418f90 100644 --- a/devicemanagement/reports_get_mobile_application_management_app_configuration_report_request_builder.go +++ b/devicemanagement/reports_get_mobile_application_management_app_configuration_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetMobileApplicationManagementAppConfigurationReportRequestBuild } 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 *ReportsGetMobileApplicationManagementAppConfigurationReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetMobileApplicationManagementAppConfigurationReportRequestBuilder) { + return NewReportsGetMobileApplicationManagementAppConfigurationReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_mobile_application_management_app_registration_summary_report_request_builder.go b/devicemanagement/reports_get_mobile_application_management_app_registration_summary_report_request_builder.go index 5a5b33267ce..926a5e46786 100644 --- a/devicemanagement/reports_get_mobile_application_management_app_registration_summary_report_request_builder.go +++ b/devicemanagement/reports_get_mobile_application_management_app_registration_summary_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetMobileApplicationManagementAppRegistrationSummaryReportReques } 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 *ReportsGetMobileApplicationManagementAppRegistrationSummaryReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetMobileApplicationManagementAppRegistrationSummaryReportRequestBuilder) { + return NewReportsGetMobileApplicationManagementAppRegistrationSummaryReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_noncompliant_devices_and_settings_report_request_builder.go b/devicemanagement/reports_get_noncompliant_devices_and_settings_report_request_builder.go index 1ef2fa8e91d..de2589fe7dd 100644 --- a/devicemanagement/reports_get_noncompliant_devices_and_settings_report_request_builder.go +++ b/devicemanagement/reports_get_noncompliant_devices_and_settings_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetNoncompliantDevicesAndSettingsReportRequestBuilder) ToPostReq } 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 *ReportsGetNoncompliantDevicesAndSettingsReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetNoncompliantDevicesAndSettingsReportRequestBuilder) { + return NewReportsGetNoncompliantDevicesAndSettingsReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_policy_non_compliance_metadata_request_builder.go b/devicemanagement/reports_get_policy_non_compliance_metadata_request_builder.go index d967bdb4511..2a468ef0821 100644 --- a/devicemanagement/reports_get_policy_non_compliance_metadata_request_builder.go +++ b/devicemanagement/reports_get_policy_non_compliance_metadata_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetPolicyNonComplianceMetadataRequestBuilder) ToPostRequestInfor } 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 *ReportsGetPolicyNonComplianceMetadataRequestBuilder) WithUrl(rawUrl string)(*ReportsGetPolicyNonComplianceMetadataRequestBuilder) { + return NewReportsGetPolicyNonComplianceMetadataRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_policy_non_compliance_report_request_builder.go b/devicemanagement/reports_get_policy_non_compliance_report_request_builder.go index 89e1a2a021f..4280ed919a8 100644 --- a/devicemanagement/reports_get_policy_non_compliance_report_request_builder.go +++ b/devicemanagement/reports_get_policy_non_compliance_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetPolicyNonComplianceReportRequestBuilder) ToPostRequestInforma } 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 *ReportsGetPolicyNonComplianceReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetPolicyNonComplianceReportRequestBuilder) { + return NewReportsGetPolicyNonComplianceReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_policy_non_compliance_summary_report_request_builder.go b/devicemanagement/reports_get_policy_non_compliance_summary_report_request_builder.go index f036d54f34f..4f5e615d685 100644 --- a/devicemanagement/reports_get_policy_non_compliance_summary_report_request_builder.go +++ b/devicemanagement/reports_get_policy_non_compliance_summary_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetPolicyNonComplianceSummaryReportRequestBuilder) ToPostRequest } 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 *ReportsGetPolicyNonComplianceSummaryReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetPolicyNonComplianceSummaryReportRequestBuilder) { + return NewReportsGetPolicyNonComplianceSummaryReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_quiet_time_policy_user_summary_report_request_builder.go b/devicemanagement/reports_get_quiet_time_policy_user_summary_report_request_builder.go index 47609fe84ca..8473bd85727 100644 --- a/devicemanagement/reports_get_quiet_time_policy_user_summary_report_request_builder.go +++ b/devicemanagement/reports_get_quiet_time_policy_user_summary_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetQuietTimePolicyUserSummaryReportRequestBuilder) ToPostRequest } 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 *ReportsGetQuietTimePolicyUserSummaryReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetQuietTimePolicyUserSummaryReportRequestBuilder) { + return NewReportsGetQuietTimePolicyUserSummaryReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_quiet_time_policy_users_report_request_builder.go b/devicemanagement/reports_get_quiet_time_policy_users_report_request_builder.go index c486bdbcf56..e298f68a541 100644 --- a/devicemanagement/reports_get_quiet_time_policy_users_report_request_builder.go +++ b/devicemanagement/reports_get_quiet_time_policy_users_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetQuietTimePolicyUsersReportRequestBuilder) ToPostRequestInform } 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 *ReportsGetQuietTimePolicyUsersReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetQuietTimePolicyUsersReportRequestBuilder) { + return NewReportsGetQuietTimePolicyUsersReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_related_apps_status_report_request_builder.go b/devicemanagement/reports_get_related_apps_status_report_request_builder.go index dfd10ec3786..7d448aa9b23 100644 --- a/devicemanagement/reports_get_related_apps_status_report_request_builder.go +++ b/devicemanagement/reports_get_related_apps_status_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetRelatedAppsStatusReportRequestBuilder) ToPostRequestInformati } 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 *ReportsGetRelatedAppsStatusReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetRelatedAppsStatusReportRequestBuilder) { + return NewReportsGetRelatedAppsStatusReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_remote_assistance_sessions_report_request_builder.go b/devicemanagement/reports_get_remote_assistance_sessions_report_request_builder.go index 8faa58c2e12..7a888c90171 100644 --- a/devicemanagement/reports_get_remote_assistance_sessions_report_request_builder.go +++ b/devicemanagement/reports_get_remote_assistance_sessions_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetRemoteAssistanceSessionsReportRequestBuilder) ToPostRequestIn } 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 *ReportsGetRemoteAssistanceSessionsReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetRemoteAssistanceSessionsReportRequestBuilder) { + return NewReportsGetRemoteAssistanceSessionsReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_report_filters_request_builder.go b/devicemanagement/reports_get_report_filters_request_builder.go index 8b20590b124..69f0710f929 100644 --- a/devicemanagement/reports_get_report_filters_request_builder.go +++ b/devicemanagement/reports_get_report_filters_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetReportFiltersRequestBuilder) ToPostRequestInformation(ctx con } 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 *ReportsGetReportFiltersRequestBuilder) WithUrl(rawUrl string)(*ReportsGetReportFiltersRequestBuilder) { + return NewReportsGetReportFiltersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_setting_non_compliance_report_request_builder.go b/devicemanagement/reports_get_setting_non_compliance_report_request_builder.go index 83199d56be7..13fe05e32d6 100644 --- a/devicemanagement/reports_get_setting_non_compliance_report_request_builder.go +++ b/devicemanagement/reports_get_setting_non_compliance_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetSettingNonComplianceReportRequestBuilder) ToPostRequestInform } 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 *ReportsGetSettingNonComplianceReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetSettingNonComplianceReportRequestBuilder) { + return NewReportsGetSettingNonComplianceReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_unhealthy_defender_agents_report_request_builder.go b/devicemanagement/reports_get_unhealthy_defender_agents_report_request_builder.go index 7610fd2e04c..2eaca2532ab 100644 --- a/devicemanagement/reports_get_unhealthy_defender_agents_report_request_builder.go +++ b/devicemanagement/reports_get_unhealthy_defender_agents_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetUnhealthyDefenderAgentsReportRequestBuilder) ToPostRequestInf } 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 *ReportsGetUnhealthyDefenderAgentsReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetUnhealthyDefenderAgentsReportRequestBuilder) { + return NewReportsGetUnhealthyDefenderAgentsReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_unhealthy_firewall_report_request_builder.go b/devicemanagement/reports_get_unhealthy_firewall_report_request_builder.go index 64f07ffa1ef..7a24a5e20a9 100644 --- a/devicemanagement/reports_get_unhealthy_firewall_report_request_builder.go +++ b/devicemanagement/reports_get_unhealthy_firewall_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetUnhealthyFirewallReportRequestBuilder) ToPostRequestInformati } 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 *ReportsGetUnhealthyFirewallReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetUnhealthyFirewallReportRequestBuilder) { + return NewReportsGetUnhealthyFirewallReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_unhealthy_firewall_summary_report_request_builder.go b/devicemanagement/reports_get_unhealthy_firewall_summary_report_request_builder.go index 32bd9ab8d5e..28078dbf271 100644 --- a/devicemanagement/reports_get_unhealthy_firewall_summary_report_request_builder.go +++ b/devicemanagement/reports_get_unhealthy_firewall_summary_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetUnhealthyFirewallSummaryReportRequestBuilder) ToPostRequestIn } 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 *ReportsGetUnhealthyFirewallSummaryReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetUnhealthyFirewallSummaryReportRequestBuilder) { + return NewReportsGetUnhealthyFirewallSummaryReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_user_install_status_report_request_builder.go b/devicemanagement/reports_get_user_install_status_report_request_builder.go index 659b67453d7..db80d95ba23 100644 --- a/devicemanagement/reports_get_user_install_status_report_request_builder.go +++ b/devicemanagement/reports_get_user_install_status_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetUserInstallStatusReportRequestBuilder) ToPostRequestInformati } 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 *ReportsGetUserInstallStatusReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetUserInstallStatusReportRequestBuilder) { + return NewReportsGetUserInstallStatusReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_windows_driver_update_alert_summary_report_request_builder.go b/devicemanagement/reports_get_windows_driver_update_alert_summary_report_request_builder.go index c4675ada2a2..8826ca60bec 100644 --- a/devicemanagement/reports_get_windows_driver_update_alert_summary_report_request_builder.go +++ b/devicemanagement/reports_get_windows_driver_update_alert_summary_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetWindowsDriverUpdateAlertSummaryReportRequestBuilder) ToPostRe } 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 *ReportsGetWindowsDriverUpdateAlertSummaryReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetWindowsDriverUpdateAlertSummaryReportRequestBuilder) { + return NewReportsGetWindowsDriverUpdateAlertSummaryReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_windows_driver_update_alerts_per_policy_per_device_report_request_builder.go b/devicemanagement/reports_get_windows_driver_update_alerts_per_policy_per_device_report_request_builder.go index 03ff1b7ff41..1dcda100918 100644 --- a/devicemanagement/reports_get_windows_driver_update_alerts_per_policy_per_device_report_request_builder.go +++ b/devicemanagement/reports_get_windows_driver_update_alerts_per_policy_per_device_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetWindowsDriverUpdateAlertsPerPolicyPerDeviceReportRequestBuild } 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 *ReportsGetWindowsDriverUpdateAlertsPerPolicyPerDeviceReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetWindowsDriverUpdateAlertsPerPolicyPerDeviceReportRequestBuilder) { + return NewReportsGetWindowsDriverUpdateAlertsPerPolicyPerDeviceReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_windows_quality_update_alert_summary_report_request_builder.go b/devicemanagement/reports_get_windows_quality_update_alert_summary_report_request_builder.go index 8dc642c2b01..e61194e6a85 100644 --- a/devicemanagement/reports_get_windows_quality_update_alert_summary_report_request_builder.go +++ b/devicemanagement/reports_get_windows_quality_update_alert_summary_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetWindowsQualityUpdateAlertSummaryReportRequestBuilder) ToPostR } 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 *ReportsGetWindowsQualityUpdateAlertSummaryReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetWindowsQualityUpdateAlertSummaryReportRequestBuilder) { + return NewReportsGetWindowsQualityUpdateAlertSummaryReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_windows_quality_update_alerts_per_policy_per_device_report_request_builder.go b/devicemanagement/reports_get_windows_quality_update_alerts_per_policy_per_device_report_request_builder.go index bee82bac9c1..a3ebd7f46d7 100644 --- a/devicemanagement/reports_get_windows_quality_update_alerts_per_policy_per_device_report_request_builder.go +++ b/devicemanagement/reports_get_windows_quality_update_alerts_per_policy_per_device_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetWindowsQualityUpdateAlertsPerPolicyPerDeviceReportRequestBuil } 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 *ReportsGetWindowsQualityUpdateAlertsPerPolicyPerDeviceReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetWindowsQualityUpdateAlertsPerPolicyPerDeviceReportRequestBuilder) { + return NewReportsGetWindowsQualityUpdateAlertsPerPolicyPerDeviceReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_windows_update_alert_summary_report_request_builder.go b/devicemanagement/reports_get_windows_update_alert_summary_report_request_builder.go index a3250cacef9..aa6647843da 100644 --- a/devicemanagement/reports_get_windows_update_alert_summary_report_request_builder.go +++ b/devicemanagement/reports_get_windows_update_alert_summary_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetWindowsUpdateAlertSummaryReportRequestBuilder) ToPostRequestI } 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 *ReportsGetWindowsUpdateAlertSummaryReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetWindowsUpdateAlertSummaryReportRequestBuilder) { + return NewReportsGetWindowsUpdateAlertSummaryReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_windows_update_alerts_per_policy_per_device_report_request_builder.go b/devicemanagement/reports_get_windows_update_alerts_per_policy_per_device_report_request_builder.go index fe44b86c455..42ff6de09ac 100644 --- a/devicemanagement/reports_get_windows_update_alerts_per_policy_per_device_report_request_builder.go +++ b/devicemanagement/reports_get_windows_update_alerts_per_policy_per_device_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetWindowsUpdateAlertsPerPolicyPerDeviceReportRequestBuilder) To } 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 *ReportsGetWindowsUpdateAlertsPerPolicyPerDeviceReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetWindowsUpdateAlertsPerPolicyPerDeviceReportRequestBuilder) { + return NewReportsGetWindowsUpdateAlertsPerPolicyPerDeviceReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_zebra_fota_deployment_report_request_builder.go b/devicemanagement/reports_get_zebra_fota_deployment_report_request_builder.go index e2914aa97d3..f6146f0d773 100644 --- a/devicemanagement/reports_get_zebra_fota_deployment_report_request_builder.go +++ b/devicemanagement/reports_get_zebra_fota_deployment_report_request_builder.go @@ -65,3 +65,7 @@ func (m *ReportsGetZebraFotaDeploymentReportRequestBuilder) ToPostRequestInforma } 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 *ReportsGetZebraFotaDeploymentReportRequestBuilder) WithUrl(rawUrl string)(*ReportsGetZebraFotaDeploymentReportRequestBuilder) { + return NewReportsGetZebraFotaDeploymentReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_request_builder.go b/devicemanagement/reports_request_builder.go index c71c966057a..a78b88b39fc 100644 --- a/devicemanagement/reports_request_builder.go +++ b/devicemanagement/reports_request_builder.go @@ -117,10 +117,6 @@ func (m *ReportsRequestBuilder) GetAppsInstallSummaryReport()(*ReportsGetAppsIns func (m *ReportsRequestBuilder) GetAppStatusOverviewReport()(*ReportsGetAppStatusOverviewReportRequestBuilder) { return NewReportsGetAppStatusOverviewReportRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// GetAutopilotDeploymentDeviceInformation provides operations to call the getAutopilotDeploymentDeviceInformation method. -func (m *ReportsRequestBuilder) GetAutopilotDeploymentDeviceInformation()(*ReportsGetAutopilotDeploymentDeviceInformationRequestBuilder) { - return NewReportsGetAutopilotDeploymentDeviceInformationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} // GetCachedReport provides operations to call the getCachedReport method. func (m *ReportsRequestBuilder) GetCachedReport()(*ReportsGetCachedReportRequestBuilder) { return NewReportsGetCachedReportRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) @@ -445,3 +441,7 @@ func (m *ReportsRequestBuilder) ToPatchRequestInformation(ctx context.Context, b } 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 *ReportsRequestBuilder) WithUrl(rawUrl string)(*ReportsRequestBuilder) { + return NewReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/resource_access_profiles_count_request_builder.go b/devicemanagement/resource_access_profiles_count_request_builder.go index b3e9b875b37..1336b7fe295 100644 --- a/devicemanagement/resource_access_profiles_count_request_builder.go +++ b/devicemanagement/resource_access_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ResourceAccessProfilesCountRequestBuilder) ToGetRequestInformation(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 *ResourceAccessProfilesCountRequestBuilder) WithUrl(rawUrl string)(*ResourceAccessProfilesCountRequestBuilder) { + return NewResourceAccessProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/resource_access_profiles_device_management_resource_access_profile_base_item_request_builder.go b/devicemanagement/resource_access_profiles_device_management_resource_access_profile_base_item_request_builder.go index 5af5bdf2a7e..825673b5f5b 100644 --- a/devicemanagement/resource_access_profiles_device_management_resource_access_profile_base_item_request_builder.go +++ b/devicemanagement/resource_access_profiles_device_management_resource_access_profile_base_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ResourceAccessProfilesDeviceManagementResourceAccessProfileBaseItemRequ } 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 *ResourceAccessProfilesDeviceManagementResourceAccessProfileBaseItemRequestBuilder) WithUrl(rawUrl string)(*ResourceAccessProfilesDeviceManagementResourceAccessProfileBaseItemRequestBuilder) { + return NewResourceAccessProfilesDeviceManagementResourceAccessProfileBaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/resource_access_profiles_item_assign_request_builder.go b/devicemanagement/resource_access_profiles_item_assign_request_builder.go index 776d52dadaa..0c4e9de6dc4 100644 --- a/devicemanagement/resource_access_profiles_item_assign_request_builder.go +++ b/devicemanagement/resource_access_profiles_item_assign_request_builder.go @@ -66,3 +66,7 @@ func (m *ResourceAccessProfilesItemAssignRequestBuilder) ToPostRequestInformatio } 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 *ResourceAccessProfilesItemAssignRequestBuilder) WithUrl(rawUrl string)(*ResourceAccessProfilesItemAssignRequestBuilder) { + return NewResourceAccessProfilesItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/resource_access_profiles_item_assignments_count_request_builder.go b/devicemanagement/resource_access_profiles_item_assignments_count_request_builder.go index a482a2cd2dd..3bbfa73db39 100644 --- a/devicemanagement/resource_access_profiles_item_assignments_count_request_builder.go +++ b/devicemanagement/resource_access_profiles_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ResourceAccessProfilesItemAssignmentsCountRequestBuilder) ToGetRequestI } 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 *ResourceAccessProfilesItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*ResourceAccessProfilesItemAssignmentsCountRequestBuilder) { + return NewResourceAccessProfilesItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/resource_access_profiles_item_assignments_device_management_resource_access_profile_assignment_item_request_builder.go b/devicemanagement/resource_access_profiles_item_assignments_device_management_resource_access_profile_assignment_item_request_builder.go index 062ec02cc35..8ea4326ff3b 100644 --- a/devicemanagement/resource_access_profiles_item_assignments_device_management_resource_access_profile_assignment_item_request_builder.go +++ b/devicemanagement/resource_access_profiles_item_assignments_device_management_resource_access_profile_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ResourceAccessProfilesItemAssignmentsDeviceManagementResourceAccessProf } 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 *ResourceAccessProfilesItemAssignmentsDeviceManagementResourceAccessProfileAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*ResourceAccessProfilesItemAssignmentsDeviceManagementResourceAccessProfileAssignmentItemRequestBuilder) { + return NewResourceAccessProfilesItemAssignmentsDeviceManagementResourceAccessProfileAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/resource_access_profiles_item_assignments_request_builder.go b/devicemanagement/resource_access_profiles_item_assignments_request_builder.go index aec9c56a67d..0f30d0923a8 100644 --- a/devicemanagement/resource_access_profiles_item_assignments_request_builder.go +++ b/devicemanagement/resource_access_profiles_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type ResourceAccessProfilesItemAssignmentsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementResourceAccessProfileAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.deviceManagementResourceAccessProfileBase entity. -func (m *ResourceAccessProfilesItemAssignmentsRequestBuilder) ByDeviceManagementResourceAccessProfileAssignmentIdString(deviceManagementResourceAccessProfileAssignmentId string)(*ResourceAccessProfilesItemAssignmentsDeviceManagementResourceAccessProfileAssignmentItemRequestBuilder) { +// ByDeviceManagementResourceAccessProfileAssignmentId provides operations to manage the assignments property of the microsoft.graph.deviceManagementResourceAccessProfileBase entity. +func (m *ResourceAccessProfilesItemAssignmentsRequestBuilder) ByDeviceManagementResourceAccessProfileAssignmentId(deviceManagementResourceAccessProfileAssignmentId string)(*ResourceAccessProfilesItemAssignmentsDeviceManagementResourceAccessProfileAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ResourceAccessProfilesItemAssignmentsRequestBuilder) ToPostRequestInfor } 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 *ResourceAccessProfilesItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*ResourceAccessProfilesItemAssignmentsRequestBuilder) { + return NewResourceAccessProfilesItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/resource_access_profiles_query_by_platform_type_request_builder.go b/devicemanagement/resource_access_profiles_query_by_platform_type_request_builder.go index 8b52f0908d5..85e497eb5a1 100644 --- a/devicemanagement/resource_access_profiles_query_by_platform_type_request_builder.go +++ b/devicemanagement/resource_access_profiles_query_by_platform_type_request_builder.go @@ -66,3 +66,7 @@ func (m *ResourceAccessProfilesQueryByPlatformTypeRequestBuilder) ToPostRequestI } 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 *ResourceAccessProfilesQueryByPlatformTypeRequestBuilder) WithUrl(rawUrl string)(*ResourceAccessProfilesQueryByPlatformTypeRequestBuilder) { + return NewResourceAccessProfilesQueryByPlatformTypeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/resource_access_profiles_request_builder.go b/devicemanagement/resource_access_profiles_request_builder.go index c651dd44d94..8c142b1c270 100644 --- a/devicemanagement/resource_access_profiles_request_builder.go +++ b/devicemanagement/resource_access_profiles_request_builder.go @@ -46,8 +46,8 @@ type ResourceAccessProfilesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementResourceAccessProfileBaseIdString provides operations to manage the resourceAccessProfiles property of the microsoft.graph.deviceManagement entity. -func (m *ResourceAccessProfilesRequestBuilder) ByDeviceManagementResourceAccessProfileBaseIdString(deviceManagementResourceAccessProfileBaseId string)(*ResourceAccessProfilesDeviceManagementResourceAccessProfileBaseItemRequestBuilder) { +// ByDeviceManagementResourceAccessProfileBaseId provides operations to manage the resourceAccessProfiles property of the microsoft.graph.deviceManagement entity. +func (m *ResourceAccessProfilesRequestBuilder) ByDeviceManagementResourceAccessProfileBaseId(deviceManagementResourceAccessProfileBaseId string)(*ResourceAccessProfilesDeviceManagementResourceAccessProfileBaseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ResourceAccessProfilesRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ResourceAccessProfilesRequestBuilder) WithUrl(rawUrl string)(*ResourceAccessProfilesRequestBuilder) { + return NewResourceAccessProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/resource_operations_count_request_builder.go b/devicemanagement/resource_operations_count_request_builder.go index 7d7b858c79a..69e29f4ef03 100644 --- a/devicemanagement/resource_operations_count_request_builder.go +++ b/devicemanagement/resource_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ResourceOperationsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ResourceOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ResourceOperationsCountRequestBuilder) { + return NewResourceOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/resource_operations_item_get_scopes_for_user_with_userid_request_builder.go b/devicemanagement/resource_operations_item_get_scopes_for_user_with_userid_request_builder.go index 88137b0383f..2e35fdfa9d7 100644 --- a/devicemanagement/resource_operations_item_get_scopes_for_user_with_userid_request_builder.go +++ b/devicemanagement/resource_operations_item_get_scopes_for_user_with_userid_request_builder.go @@ -83,3 +83,7 @@ func (m *ResourceOperationsItemGetScopesForUserWithUseridRequestBuilder) ToGetRe } 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 *ResourceOperationsItemGetScopesForUserWithUseridRequestBuilder) WithUrl(rawUrl string)(*ResourceOperationsItemGetScopesForUserWithUseridRequestBuilder) { + return NewResourceOperationsItemGetScopesForUserWithUseridRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/resource_operations_request_builder.go b/devicemanagement/resource_operations_request_builder.go index 18df88e27d2..05257056ae5 100644 --- a/devicemanagement/resource_operations_request_builder.go +++ b/devicemanagement/resource_operations_request_builder.go @@ -46,8 +46,8 @@ type ResourceOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByResourceOperationIdString provides operations to manage the resourceOperations property of the microsoft.graph.deviceManagement entity. -func (m *ResourceOperationsRequestBuilder) ByResourceOperationIdString(resourceOperationId string)(*ResourceOperationsResourceOperationItemRequestBuilder) { +// ByResourceOperationId provides operations to manage the resourceOperations property of the microsoft.graph.deviceManagement entity. +func (m *ResourceOperationsRequestBuilder) ByResourceOperationId(resourceOperationId string)(*ResourceOperationsResourceOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ResourceOperationsRequestBuilder) 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 *ResourceOperationsRequestBuilder) WithUrl(rawUrl string)(*ResourceOperationsRequestBuilder) { + return NewResourceOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/resource_operations_resource_operation_item_request_builder.go b/devicemanagement/resource_operations_resource_operation_item_request_builder.go index 2b841507bd8..efdf717b64a 100644 --- a/devicemanagement/resource_operations_resource_operation_item_request_builder.go +++ b/devicemanagement/resource_operations_resource_operation_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ResourceOperationsResourceOperationItemRequestBuilder) ToPatchRequestIn } 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 *ResourceOperationsResourceOperationItemRequestBuilder) WithUrl(rawUrl string)(*ResourceOperationsResourceOperationItemRequestBuilder) { + return NewResourceOperationsResourceOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusable_policy_settings_count_request_builder.go b/devicemanagement/reusable_policy_settings_count_request_builder.go index 7a4021a63cf..cf61b28b48c 100644 --- a/devicemanagement/reusable_policy_settings_count_request_builder.go +++ b/devicemanagement/reusable_policy_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ReusablePolicySettingsCountRequestBuilder) ToGetRequestInformation(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 *ReusablePolicySettingsCountRequestBuilder) WithUrl(rawUrl string)(*ReusablePolicySettingsCountRequestBuilder) { + return NewReusablePolicySettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusable_policy_settings_device_management_reusable_policy_setting_item_request_builder.go b/devicemanagement/reusable_policy_settings_device_management_reusable_policy_setting_item_request_builder.go index fbf9e95cbd3..f58e0dd71fb 100644 --- a/devicemanagement/reusable_policy_settings_device_management_reusable_policy_setting_item_request_builder.go +++ b/devicemanagement/reusable_policy_settings_device_management_reusable_policy_setting_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ReusablePolicySettingsDeviceManagementReusablePolicySettingItemRequestB } 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 *ReusablePolicySettingsDeviceManagementReusablePolicySettingItemRequestBuilder) WithUrl(rawUrl string)(*ReusablePolicySettingsDeviceManagementReusablePolicySettingItemRequestBuilder) { + return NewReusablePolicySettingsDeviceManagementReusablePolicySettingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusable_policy_settings_item_clone_request_builder.go b/devicemanagement/reusable_policy_settings_item_clone_request_builder.go index 222324f96de..1be6f5bc904 100644 --- a/devicemanagement/reusable_policy_settings_item_clone_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_clone_request_builder.go @@ -63,3 +63,7 @@ func (m *ReusablePolicySettingsItemCloneRequestBuilder) 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 *ReusablePolicySettingsItemCloneRequestBuilder) WithUrl(rawUrl string)(*ReusablePolicySettingsItemCloneRequestBuilder) { + return NewReusablePolicySettingsItemCloneRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_count_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_count_request_builder.go index 9f324b14e83..d678a57a3ef 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_count_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesCountRequestB } 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 *ReusablePolicySettingsItemReferencingConfigurationPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesCountRequestBuilder) { + return NewReusablePolicySettingsItemReferencingConfigurationPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_device_management_configuration_policy_item_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_device_management_configuration_policy_item_request_builder.go index 4361dc2d24e..00e78922031 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_device_management_configuration_policy_item_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_device_management_configuration_policy_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesDeviceManagem } 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 *ReusablePolicySettingsItemReferencingConfigurationPoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) WithUrl(rawUrl string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) { + return NewReusablePolicySettingsItemReferencingConfigurationPoliciesDeviceManagementConfigurationPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assign_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assign_request_builder.go index af5f2d1fa43..10eb719a217 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assign_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assign_request_builder.go @@ -66,3 +66,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignReq } 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 *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignRequestBuilder) WithUrl(rawUrl string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignRequestBuilder) { + return NewReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assignments_count_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assignments_count_request_builder.go index 37a931eb718..585cd9fae6c 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assignments_count_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignmen } 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 *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignmentsCountRequestBuilder) { + return NewReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go index d1a7738a689..3820751b989 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignmen } 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 *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignmentsDeviceManagementConfigurationPolicyAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignmentsDeviceManagementConfigurationPolicyAssignmentItemRequestBuilder) { + return NewReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignmentsDeviceManagementConfigurationPolicyAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assignments_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assignments_request_builder.go index 10996904d6a..df38bf82b54 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assignments_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignmentsRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementConfigurationPolicyAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.deviceManagementConfigurationPolicy entity. -func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignmentsRequestBuilder) ByDeviceManagementConfigurationPolicyAssignmentIdString(deviceManagementConfigurationPolicyAssignmentId string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignmentsDeviceManagementConfigurationPolicyAssignmentItemRequestBuilder) { +// ByDeviceManagementConfigurationPolicyAssignmentId provides operations to manage the assignments property of the microsoft.graph.deviceManagementConfigurationPolicy entity. +func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignmentsRequestBuilder) ByDeviceManagementConfigurationPolicyAssignmentId(deviceManagementConfigurationPolicyAssignmentId string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignmentsDeviceManagementConfigurationPolicyAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignmen } 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 *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignmentsRequestBuilder) { + return NewReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_create_copy_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_create_copy_request_builder.go index f5fb6422ccf..b43a2a6d1b4 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_create_copy_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_create_copy_request_builder.go @@ -67,3 +67,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemCreateCop } 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 *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemCreateCopyRequestBuilder) WithUrl(rawUrl string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesItemCreateCopyRequestBuilder) { + return NewReusablePolicySettingsItemReferencingConfigurationPoliciesItemCreateCopyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_reorder_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_reorder_request_builder.go index 2e302ae25a7..fb8363cd3e7 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_reorder_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_reorder_request_builder.go @@ -62,3 +62,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemReorderRe } 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 *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemReorderRequestBuilder) WithUrl(rawUrl string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesItemReorderRequestBuilder) { + return NewReusablePolicySettingsItemReferencingConfigurationPoliciesItemReorderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_count_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_count_request_builder.go index 85019156103..61ee561f982 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_count_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsC } 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 *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsCountRequestBuilder) WithUrl(rawUrl string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsCountRequestBuilder) { + return NewReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_device_management_configuration_setting_item_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_device_management_configuration_setting_item_request_builder.go index a6b7b44f974..c1f729220ba 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_device_management_configuration_setting_item_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_device_management_configuration_setting_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsD } 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 *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsDeviceManagementConfigurationSettingItemRequestBuilder) WithUrl(rawUrl string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsDeviceManagementConfigurationSettingItemRequestBuilder) { + return NewReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsDeviceManagementConfigurationSettingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_item_setting_definitions_count_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_item_setting_definitions_count_request_builder.go index b8fa836e1d4..7fba9aac906 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_item_setting_definitions_count_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_item_setting_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsI } 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 *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsItemSettingDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsItemSettingDefinitionsCountRequestBuilder) { + return NewReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsItemSettingDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go index dd0e9861997..0e29f670134 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsI } 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 *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { + return NewReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_item_setting_definitions_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_item_setting_definitions_request_builder.go index 80cc87e35ea..0b2de3f5798 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_item_setting_definitions_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_item_setting_definitions_request_builder.go @@ -39,8 +39,8 @@ type ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsItemS // Request query parameters QueryParameters *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsItemSettingDefinitionsRequestBuilderGetQueryParameters } -// ByDeviceManagementConfigurationSettingDefinitionIdString provides operations to manage the settingDefinitions property of the microsoft.graph.deviceManagementConfigurationSetting entity. -func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsItemSettingDefinitionsRequestBuilder) ByDeviceManagementConfigurationSettingDefinitionIdString(deviceManagementConfigurationSettingDefinitionId string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { +// ByDeviceManagementConfigurationSettingDefinitionId provides operations to manage the settingDefinitions property of the microsoft.graph.deviceManagementConfigurationSetting entity. +func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsItemSettingDefinitionsRequestBuilder) ByDeviceManagementConfigurationSettingDefinitionId(deviceManagementConfigurationSettingDefinitionId string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsI } 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 *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsItemSettingDefinitionsRequestBuilder) WithUrl(rawUrl string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsItemSettingDefinitionsRequestBuilder) { + return NewReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsItemSettingDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_request_builder.go index f2e28b9b54f..ea11ed4e03c 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_request_builder.go @@ -46,8 +46,8 @@ type ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementConfigurationSettingIdString provides operations to manage the settings property of the microsoft.graph.deviceManagementConfigurationPolicy entity. -func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsRequestBuilder) ByDeviceManagementConfigurationSettingIdString(deviceManagementConfigurationSettingId string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsDeviceManagementConfigurationSettingItemRequestBuilder) { +// ByDeviceManagementConfigurationSettingId provides operations to manage the settings property of the microsoft.graph.deviceManagementConfigurationPolicy entity. +func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsRequestBuilder) ByDeviceManagementConfigurationSettingId(deviceManagementConfigurationSettingId string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsDeviceManagementConfigurationSettingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsR } 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 *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsRequestBuilder) WithUrl(rawUrl string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsRequestBuilder) { + return NewReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_request_builder.go index 566dd29f03b..c4b9f7846f3 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_request_builder.go @@ -46,8 +46,8 @@ type ReusablePolicySettingsItemReferencingConfigurationPoliciesRequestBuilderPos // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementConfigurationPolicyIdString provides operations to manage the referencingConfigurationPolicies property of the microsoft.graph.deviceManagementReusablePolicySetting entity. -func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesRequestBuilder) ByDeviceManagementConfigurationPolicyIdString(deviceManagementConfigurationPolicyId string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) { +// ByDeviceManagementConfigurationPolicyId provides operations to manage the referencingConfigurationPolicies property of the microsoft.graph.deviceManagementReusablePolicySetting entity. +func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesRequestBuilder) ByDeviceManagementConfigurationPolicyId(deviceManagementConfigurationPolicyId string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesDeviceManagementConfigurationPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesRequestBuilde } 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 *ReusablePolicySettingsItemReferencingConfigurationPoliciesRequestBuilder) WithUrl(rawUrl string)(*ReusablePolicySettingsItemReferencingConfigurationPoliciesRequestBuilder) { + return NewReusablePolicySettingsItemReferencingConfigurationPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusable_policy_settings_request_builder.go b/devicemanagement/reusable_policy_settings_request_builder.go index 90d4639bc21..2a19393c6af 100644 --- a/devicemanagement/reusable_policy_settings_request_builder.go +++ b/devicemanagement/reusable_policy_settings_request_builder.go @@ -46,8 +46,8 @@ type ReusablePolicySettingsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementReusablePolicySettingIdString provides operations to manage the reusablePolicySettings property of the microsoft.graph.deviceManagement entity. -func (m *ReusablePolicySettingsRequestBuilder) ByDeviceManagementReusablePolicySettingIdString(deviceManagementReusablePolicySettingId string)(*ReusablePolicySettingsDeviceManagementReusablePolicySettingItemRequestBuilder) { +// ByDeviceManagementReusablePolicySettingId provides operations to manage the reusablePolicySettings property of the microsoft.graph.deviceManagement entity. +func (m *ReusablePolicySettingsRequestBuilder) ByDeviceManagementReusablePolicySettingId(deviceManagementReusablePolicySettingId string)(*ReusablePolicySettingsDeviceManagementReusablePolicySettingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ReusablePolicySettingsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ReusablePolicySettingsRequestBuilder) WithUrl(rawUrl string)(*ReusablePolicySettingsRequestBuilder) { + return NewReusablePolicySettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusable_settings_count_request_builder.go b/devicemanagement/reusable_settings_count_request_builder.go index ff245cc19d5..3acc1a5b7cd 100644 --- a/devicemanagement/reusable_settings_count_request_builder.go +++ b/devicemanagement/reusable_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ReusableSettingsCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ReusableSettingsCountRequestBuilder) WithUrl(rawUrl string)(*ReusableSettingsCountRequestBuilder) { + return NewReusableSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusable_settings_device_management_configuration_setting_definition_item_request_builder.go b/devicemanagement/reusable_settings_device_management_configuration_setting_definition_item_request_builder.go index 507a5b42f2e..db6b5c1e8d8 100644 --- a/devicemanagement/reusable_settings_device_management_configuration_setting_definition_item_request_builder.go +++ b/devicemanagement/reusable_settings_device_management_configuration_setting_definition_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ReusableSettingsDeviceManagementConfigurationSettingDefinitionItemReque } 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 *ReusableSettingsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ReusableSettingsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { + return NewReusableSettingsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reusable_settings_request_builder.go b/devicemanagement/reusable_settings_request_builder.go index 4d92ef5cf34..7bbe40c0519 100644 --- a/devicemanagement/reusable_settings_request_builder.go +++ b/devicemanagement/reusable_settings_request_builder.go @@ -46,8 +46,8 @@ type ReusableSettingsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementConfigurationSettingDefinitionIdString provides operations to manage the reusableSettings property of the microsoft.graph.deviceManagement entity. -func (m *ReusableSettingsRequestBuilder) ByDeviceManagementConfigurationSettingDefinitionIdString(deviceManagementConfigurationSettingDefinitionId string)(*ReusableSettingsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { +// ByDeviceManagementConfigurationSettingDefinitionId provides operations to manage the reusableSettings property of the microsoft.graph.deviceManagement entity. +func (m *ReusableSettingsRequestBuilder) ByDeviceManagementConfigurationSettingDefinitionId(deviceManagementConfigurationSettingDefinitionId string)(*ReusableSettingsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ReusableSettingsRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ReusableSettingsRequestBuilder) WithUrl(rawUrl string)(*ReusableSettingsRequestBuilder) { + return NewReusableSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_assignments_count_request_builder.go b/devicemanagement/role_assignments_count_request_builder.go index 4eacdbb4828..94640410eeb 100644 --- a/devicemanagement/role_assignments_count_request_builder.go +++ b/devicemanagement/role_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RoleAssignmentsCountRequestBuilder) ToGetRequestInformation(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 *RoleAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*RoleAssignmentsCountRequestBuilder) { + return NewRoleAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_assignments_device_and_app_management_role_assignment_item_request_builder.go b/devicemanagement/role_assignments_device_and_app_management_role_assignment_item_request_builder.go index a35ae0745f7..5ece78ed601 100644 --- a/devicemanagement/role_assignments_device_and_app_management_role_assignment_item_request_builder.go +++ b/devicemanagement/role_assignments_device_and_app_management_role_assignment_item_request_builder.go @@ -161,3 +161,7 @@ func (m *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilder) } 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 *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilder) { + return NewRoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_assignments_item_role_definition_request_builder.go b/devicemanagement/role_assignments_item_role_definition_request_builder.go index d0bda3973ed..46f68df477b 100644 --- a/devicemanagement/role_assignments_item_role_definition_request_builder.go +++ b/devicemanagement/role_assignments_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *RoleAssignmentsItemRoleDefinitionRequestBuilder) 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 *RoleAssignmentsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*RoleAssignmentsItemRoleDefinitionRequestBuilder) { + return NewRoleAssignmentsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_assignments_item_role_scope_tags_count_request_builder.go b/devicemanagement/role_assignments_item_role_scope_tags_count_request_builder.go index b4d7219c018..3765540183f 100644 --- a/devicemanagement/role_assignments_item_role_scope_tags_count_request_builder.go +++ b/devicemanagement/role_assignments_item_role_scope_tags_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RoleAssignmentsItemRoleScopeTagsCountRequestBuilder) ToGetRequestInform } 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 *RoleAssignmentsItemRoleScopeTagsCountRequestBuilder) WithUrl(rawUrl string)(*RoleAssignmentsItemRoleScopeTagsCountRequestBuilder) { + return NewRoleAssignmentsItemRoleScopeTagsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_assignments_item_role_scope_tags_request_builder.go b/devicemanagement/role_assignments_item_role_scope_tags_request_builder.go index 9b646790df1..2640b3354b0 100644 --- a/devicemanagement/role_assignments_item_role_scope_tags_request_builder.go +++ b/devicemanagement/role_assignments_item_role_scope_tags_request_builder.go @@ -39,8 +39,8 @@ type RoleAssignmentsItemRoleScopeTagsRequestBuilderGetRequestConfiguration struc // Request query parameters QueryParameters *RoleAssignmentsItemRoleScopeTagsRequestBuilderGetQueryParameters } -// ByRoleScopeTagIdString provides operations to manage the roleScopeTags property of the microsoft.graph.deviceAndAppManagementRoleAssignment entity. -func (m *RoleAssignmentsItemRoleScopeTagsRequestBuilder) ByRoleScopeTagIdString(roleScopeTagId string)(*RoleAssignmentsItemRoleScopeTagsRoleScopeTagItemRequestBuilder) { +// ByRoleScopeTagId provides operations to manage the roleScopeTags property of the microsoft.graph.deviceAndAppManagementRoleAssignment entity. +func (m *RoleAssignmentsItemRoleScopeTagsRequestBuilder) ByRoleScopeTagId(roleScopeTagId string)(*RoleAssignmentsItemRoleScopeTagsRoleScopeTagItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *RoleAssignmentsItemRoleScopeTagsRequestBuilder) 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 *RoleAssignmentsItemRoleScopeTagsRequestBuilder) WithUrl(rawUrl string)(*RoleAssignmentsItemRoleScopeTagsRequestBuilder) { + return NewRoleAssignmentsItemRoleScopeTagsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_assignments_item_role_scope_tags_role_scope_tag_item_request_builder.go b/devicemanagement/role_assignments_item_role_scope_tags_role_scope_tag_item_request_builder.go index 00206b6b0b8..4b85e1402b5 100644 --- a/devicemanagement/role_assignments_item_role_scope_tags_role_scope_tag_item_request_builder.go +++ b/devicemanagement/role_assignments_item_role_scope_tags_role_scope_tag_item_request_builder.go @@ -75,3 +75,7 @@ func (m *RoleAssignmentsItemRoleScopeTagsRoleScopeTagItemRequestBuilder) ToGetRe } 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 *RoleAssignmentsItemRoleScopeTagsRoleScopeTagItemRequestBuilder) WithUrl(rawUrl string)(*RoleAssignmentsItemRoleScopeTagsRoleScopeTagItemRequestBuilder) { + return NewRoleAssignmentsItemRoleScopeTagsRoleScopeTagItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_assignments_request_builder.go b/devicemanagement/role_assignments_request_builder.go index 800d4f11986..a8bac4f61a0 100644 --- a/devicemanagement/role_assignments_request_builder.go +++ b/devicemanagement/role_assignments_request_builder.go @@ -46,8 +46,8 @@ type RoleAssignmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceAndAppManagementRoleAssignmentIdString provides operations to manage the roleAssignments property of the microsoft.graph.deviceManagement entity. -func (m *RoleAssignmentsRequestBuilder) ByDeviceAndAppManagementRoleAssignmentIdString(deviceAndAppManagementRoleAssignmentId string)(*RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilder) { +// ByDeviceAndAppManagementRoleAssignmentId provides operations to manage the roleAssignments property of the microsoft.graph.deviceManagement entity. +func (m *RoleAssignmentsRequestBuilder) ByDeviceAndAppManagementRoleAssignmentId(deviceAndAppManagementRoleAssignmentId string)(*RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *RoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *RoleAssignmentsRequestBuilder) WithUrl(rawUrl string)(*RoleAssignmentsRequestBuilder) { + return NewRoleAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_definitions_count_request_builder.go b/devicemanagement/role_definitions_count_request_builder.go index fbd7b8cbc03..bcaeda28b8d 100644 --- a/devicemanagement/role_definitions_count_request_builder.go +++ b/devicemanagement/role_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RoleDefinitionsCountRequestBuilder) ToGetRequestInformation(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 *RoleDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*RoleDefinitionsCountRequestBuilder) { + return NewRoleDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_definitions_item_role_assignments_count_request_builder.go b/devicemanagement/role_definitions_item_role_assignments_count_request_builder.go index fa2a14bcf1c..309dc512786 100644 --- a/devicemanagement/role_definitions_item_role_assignments_count_request_builder.go +++ b/devicemanagement/role_definitions_item_role_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RoleDefinitionsItemRoleAssignmentsCountRequestBuilder) ToGetRequestInfo } 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 *RoleDefinitionsItemRoleAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*RoleDefinitionsItemRoleAssignmentsCountRequestBuilder) { + return NewRoleDefinitionsItemRoleAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_definitions_item_role_assignments_item_role_definition_request_builder.go b/devicemanagement/role_definitions_item_role_assignments_item_role_definition_request_builder.go index cccc3a21e96..e5d8aa0a14c 100644 --- a/devicemanagement/role_definitions_item_role_assignments_item_role_definition_request_builder.go +++ b/devicemanagement/role_definitions_item_role_assignments_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *RoleDefinitionsItemRoleAssignmentsItemRoleDefinitionRequestBuilder) ToG } 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 *RoleDefinitionsItemRoleAssignmentsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*RoleDefinitionsItemRoleAssignmentsItemRoleDefinitionRequestBuilder) { + return NewRoleDefinitionsItemRoleAssignmentsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_definitions_item_role_assignments_request_builder.go b/devicemanagement/role_definitions_item_role_assignments_request_builder.go index eb93f03a970..bfd0518c13f 100644 --- a/devicemanagement/role_definitions_item_role_assignments_request_builder.go +++ b/devicemanagement/role_definitions_item_role_assignments_request_builder.go @@ -46,8 +46,8 @@ type RoleDefinitionsItemRoleAssignmentsRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRoleAssignmentIdString provides operations to manage the roleAssignments property of the microsoft.graph.roleDefinition entity. -func (m *RoleDefinitionsItemRoleAssignmentsRequestBuilder) ByRoleAssignmentIdString(roleAssignmentId string)(*RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilder) { +// ByRoleAssignmentId provides operations to manage the roleAssignments property of the microsoft.graph.roleDefinition entity. +func (m *RoleDefinitionsItemRoleAssignmentsRequestBuilder) ByRoleAssignmentId(roleAssignmentId string)(*RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *RoleDefinitionsItemRoleAssignmentsRequestBuilder) ToPostRequestInformat } 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 *RoleDefinitionsItemRoleAssignmentsRequestBuilder) WithUrl(rawUrl string)(*RoleDefinitionsItemRoleAssignmentsRequestBuilder) { + return NewRoleDefinitionsItemRoleAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_definitions_item_role_assignments_role_assignment_item_request_builder.go b/devicemanagement/role_definitions_item_role_assignments_role_assignment_item_request_builder.go index f49d7b02845..55ce7b49a6e 100644 --- a/devicemanagement/role_definitions_item_role_assignments_role_assignment_item_request_builder.go +++ b/devicemanagement/role_definitions_item_role_assignments_role_assignment_item_request_builder.go @@ -157,3 +157,7 @@ func (m *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilder) 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 *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilder) { + return NewRoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_definitions_request_builder.go b/devicemanagement/role_definitions_request_builder.go index 209bdf5b09c..80b698f51d1 100644 --- a/devicemanagement/role_definitions_request_builder.go +++ b/devicemanagement/role_definitions_request_builder.go @@ -46,8 +46,8 @@ type RoleDefinitionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRoleDefinitionIdString provides operations to manage the roleDefinitions property of the microsoft.graph.deviceManagement entity. -func (m *RoleDefinitionsRequestBuilder) ByRoleDefinitionIdString(roleDefinitionId string)(*RoleDefinitionsRoleDefinitionItemRequestBuilder) { +// ByRoleDefinitionId provides operations to manage the roleDefinitions property of the microsoft.graph.deviceManagement entity. +func (m *RoleDefinitionsRequestBuilder) ByRoleDefinitionId(roleDefinitionId string)(*RoleDefinitionsRoleDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *RoleDefinitionsRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *RoleDefinitionsRequestBuilder) WithUrl(rawUrl string)(*RoleDefinitionsRequestBuilder) { + return NewRoleDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_definitions_role_definition_item_request_builder.go b/devicemanagement/role_definitions_role_definition_item_request_builder.go index 824c28a0702..7eab2e69518 100644 --- a/devicemanagement/role_definitions_role_definition_item_request_builder.go +++ b/devicemanagement/role_definitions_role_definition_item_request_builder.go @@ -157,3 +157,7 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToPatchRequestInformat } 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 *RoleDefinitionsRoleDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*RoleDefinitionsRoleDefinitionItemRequestBuilder) { + return NewRoleDefinitionsRoleDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_scope_tags_count_request_builder.go b/devicemanagement/role_scope_tags_count_request_builder.go index 2ca68c27e46..87a2c438262 100644 --- a/devicemanagement/role_scope_tags_count_request_builder.go +++ b/devicemanagement/role_scope_tags_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RoleScopeTagsCountRequestBuilder) 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 *RoleScopeTagsCountRequestBuilder) WithUrl(rawUrl string)(*RoleScopeTagsCountRequestBuilder) { + return NewRoleScopeTagsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_scope_tags_get_role_scope_tags_by_id_request_builder.go b/devicemanagement/role_scope_tags_get_role_scope_tags_by_id_request_builder.go index 2eff1b5b224..a519cd91cb2 100644 --- a/devicemanagement/role_scope_tags_get_role_scope_tags_by_id_request_builder.go +++ b/devicemanagement/role_scope_tags_get_role_scope_tags_by_id_request_builder.go @@ -66,3 +66,7 @@ func (m *RoleScopeTagsGetRoleScopeTagsByIdRequestBuilder) ToPostRequestInformati } 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 *RoleScopeTagsGetRoleScopeTagsByIdRequestBuilder) WithUrl(rawUrl string)(*RoleScopeTagsGetRoleScopeTagsByIdRequestBuilder) { + return NewRoleScopeTagsGetRoleScopeTagsByIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_scope_tags_has_custom_role_scope_tag_request_builder.go b/devicemanagement/role_scope_tags_has_custom_role_scope_tag_request_builder.go index 5a8a05621ad..d00b7679698 100644 --- a/devicemanagement/role_scope_tags_has_custom_role_scope_tag_request_builder.go +++ b/devicemanagement/role_scope_tags_has_custom_role_scope_tag_request_builder.go @@ -62,3 +62,7 @@ func (m *RoleScopeTagsHasCustomRoleScopeTagRequestBuilder) ToGetRequestInformati } 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 *RoleScopeTagsHasCustomRoleScopeTagRequestBuilder) WithUrl(rawUrl string)(*RoleScopeTagsHasCustomRoleScopeTagRequestBuilder) { + return NewRoleScopeTagsHasCustomRoleScopeTagRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_scope_tags_item_assign_request_builder.go b/devicemanagement/role_scope_tags_item_assign_request_builder.go index e10a8126ee8..3976e762c25 100644 --- a/devicemanagement/role_scope_tags_item_assign_request_builder.go +++ b/devicemanagement/role_scope_tags_item_assign_request_builder.go @@ -66,3 +66,7 @@ func (m *RoleScopeTagsItemAssignRequestBuilder) ToPostRequestInformation(ctx con } 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 *RoleScopeTagsItemAssignRequestBuilder) WithUrl(rawUrl string)(*RoleScopeTagsItemAssignRequestBuilder) { + return NewRoleScopeTagsItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_scope_tags_item_assignments_count_request_builder.go b/devicemanagement/role_scope_tags_item_assignments_count_request_builder.go index abefb839d03..19e5ab15e1b 100644 --- a/devicemanagement/role_scope_tags_item_assignments_count_request_builder.go +++ b/devicemanagement/role_scope_tags_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RoleScopeTagsItemAssignmentsCountRequestBuilder) 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 *RoleScopeTagsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*RoleScopeTagsItemAssignmentsCountRequestBuilder) { + return NewRoleScopeTagsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_scope_tags_item_assignments_request_builder.go b/devicemanagement/role_scope_tags_item_assignments_request_builder.go index e397b0bc3a0..41be3116fbd 100644 --- a/devicemanagement/role_scope_tags_item_assignments_request_builder.go +++ b/devicemanagement/role_scope_tags_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type RoleScopeTagsItemAssignmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRoleScopeTagAutoAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.roleScopeTag entity. -func (m *RoleScopeTagsItemAssignmentsRequestBuilder) ByRoleScopeTagAutoAssignmentIdString(roleScopeTagAutoAssignmentId string)(*RoleScopeTagsItemAssignmentsRoleScopeTagAutoAssignmentItemRequestBuilder) { +// ByRoleScopeTagAutoAssignmentId provides operations to manage the assignments property of the microsoft.graph.roleScopeTag entity. +func (m *RoleScopeTagsItemAssignmentsRequestBuilder) ByRoleScopeTagAutoAssignmentId(roleScopeTagAutoAssignmentId string)(*RoleScopeTagsItemAssignmentsRoleScopeTagAutoAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *RoleScopeTagsItemAssignmentsRequestBuilder) 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 *RoleScopeTagsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*RoleScopeTagsItemAssignmentsRequestBuilder) { + return NewRoleScopeTagsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_scope_tags_item_assignments_role_scope_tag_auto_assignment_item_request_builder.go b/devicemanagement/role_scope_tags_item_assignments_role_scope_tag_auto_assignment_item_request_builder.go index 67e96201b6c..153d8f1d65a 100644 --- a/devicemanagement/role_scope_tags_item_assignments_role_scope_tag_auto_assignment_item_request_builder.go +++ b/devicemanagement/role_scope_tags_item_assignments_role_scope_tag_auto_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *RoleScopeTagsItemAssignmentsRoleScopeTagAutoAssignmentItemRequestBuilde } 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 *RoleScopeTagsItemAssignmentsRoleScopeTagAutoAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*RoleScopeTagsItemAssignmentsRoleScopeTagAutoAssignmentItemRequestBuilder) { + return NewRoleScopeTagsItemAssignmentsRoleScopeTagAutoAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_scope_tags_request_builder.go b/devicemanagement/role_scope_tags_request_builder.go index c47290ecbee..f26d928e598 100644 --- a/devicemanagement/role_scope_tags_request_builder.go +++ b/devicemanagement/role_scope_tags_request_builder.go @@ -46,8 +46,8 @@ type RoleScopeTagsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRoleScopeTagIdString provides operations to manage the roleScopeTags property of the microsoft.graph.deviceManagement entity. -func (m *RoleScopeTagsRequestBuilder) ByRoleScopeTagIdString(roleScopeTagId string)(*RoleScopeTagsRoleScopeTagItemRequestBuilder) { +// ByRoleScopeTagId provides operations to manage the roleScopeTags property of the microsoft.graph.deviceManagement entity. +func (m *RoleScopeTagsRequestBuilder) ByRoleScopeTagId(roleScopeTagId string)(*RoleScopeTagsRoleScopeTagItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,7 @@ func (m *RoleScopeTagsRequestBuilder) 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 *RoleScopeTagsRequestBuilder) WithUrl(rawUrl string)(*RoleScopeTagsRequestBuilder) { + return NewRoleScopeTagsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/role_scope_tags_role_scope_tag_item_request_builder.go b/devicemanagement/role_scope_tags_role_scope_tag_item_request_builder.go index 1688adee713..1511bb1675a 100644 --- a/devicemanagement/role_scope_tags_role_scope_tag_item_request_builder.go +++ b/devicemanagement/role_scope_tags_role_scope_tag_item_request_builder.go @@ -161,3 +161,7 @@ func (m *RoleScopeTagsRoleScopeTagItemRequestBuilder) 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 *RoleScopeTagsRoleScopeTagItemRequestBuilder) WithUrl(rawUrl string)(*RoleScopeTagsRoleScopeTagItemRequestBuilder) { + return NewRoleScopeTagsRoleScopeTagItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/scoped_for_resource_with_resource_request_builder.go b/devicemanagement/scoped_for_resource_with_resource_request_builder.go index 61e3bce43fa..e54bcf425a2 100644 --- a/devicemanagement/scoped_for_resource_with_resource_request_builder.go +++ b/devicemanagement/scoped_for_resource_with_resource_request_builder.go @@ -65,3 +65,7 @@ func (m *ScopedForResourceWithResourceRequestBuilder) ToGetRequestInformation(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 *ScopedForResourceWithResourceRequestBuilder) WithUrl(rawUrl string)(*ScopedForResourceWithResourceRequestBuilder) { + return NewScopedForResourceWithResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/send_custom_notification_to_company_portal_request_builder.go b/devicemanagement/send_custom_notification_to_company_portal_request_builder.go index 13c0dde074f..de220e3ea5f 100644 --- a/devicemanagement/send_custom_notification_to_company_portal_request_builder.go +++ b/devicemanagement/send_custom_notification_to_company_portal_request_builder.go @@ -62,3 +62,7 @@ func (m *SendCustomNotificationToCompanyPortalRequestBuilder) ToPostRequestInfor } 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 *SendCustomNotificationToCompanyPortalRequestBuilder) WithUrl(rawUrl string)(*SendCustomNotificationToCompanyPortalRequestBuilder) { + return NewSendCustomNotificationToCompanyPortalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/service_now_connections_count_request_builder.go b/devicemanagement/service_now_connections_count_request_builder.go index 4cf1cab3ab6..b67dc7e0076 100644 --- a/devicemanagement/service_now_connections_count_request_builder.go +++ b/devicemanagement/service_now_connections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ServiceNowConnectionsCountRequestBuilder) ToGetRequestInformation(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 *ServiceNowConnectionsCountRequestBuilder) WithUrl(rawUrl string)(*ServiceNowConnectionsCountRequestBuilder) { + return NewServiceNowConnectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/service_now_connections_request_builder.go b/devicemanagement/service_now_connections_request_builder.go index f108bccdd19..8d5c6f34d88 100644 --- a/devicemanagement/service_now_connections_request_builder.go +++ b/devicemanagement/service_now_connections_request_builder.go @@ -46,8 +46,8 @@ type ServiceNowConnectionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByServiceNowConnectionIdString provides operations to manage the serviceNowConnections property of the microsoft.graph.deviceManagement entity. -func (m *ServiceNowConnectionsRequestBuilder) ByServiceNowConnectionIdString(serviceNowConnectionId string)(*ServiceNowConnectionsServiceNowConnectionItemRequestBuilder) { +// ByServiceNowConnectionId provides operations to manage the serviceNowConnections property of the microsoft.graph.deviceManagement entity. +func (m *ServiceNowConnectionsRequestBuilder) ByServiceNowConnectionId(serviceNowConnectionId string)(*ServiceNowConnectionsServiceNowConnectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ServiceNowConnectionsRequestBuilder) 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 *ServiceNowConnectionsRequestBuilder) WithUrl(rawUrl string)(*ServiceNowConnectionsRequestBuilder) { + return NewServiceNowConnectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/service_now_connections_service_now_connection_item_request_builder.go b/devicemanagement/service_now_connections_service_now_connection_item_request_builder.go index 006d1b3afed..71fe3dadff1 100644 --- a/devicemanagement/service_now_connections_service_now_connection_item_request_builder.go +++ b/devicemanagement/service_now_connections_service_now_connection_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ServiceNowConnectionsServiceNowConnectionItemRequestBuilder) ToPatchReq } 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 *ServiceNowConnectionsServiceNowConnectionItemRequestBuilder) WithUrl(rawUrl string)(*ServiceNowConnectionsServiceNowConnectionItemRequestBuilder) { + return NewServiceNowConnectionsServiceNowConnectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/setting_definitions_count_request_builder.go b/devicemanagement/setting_definitions_count_request_builder.go index 155a2c44287..d33dd09ed61 100644 --- a/devicemanagement/setting_definitions_count_request_builder.go +++ b/devicemanagement/setting_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SettingDefinitionsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *SettingDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*SettingDefinitionsCountRequestBuilder) { + return NewSettingDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/setting_definitions_device_management_setting_definition_item_request_builder.go b/devicemanagement/setting_definitions_device_management_setting_definition_item_request_builder.go index 7d3df092f2b..4f01e17182f 100644 --- a/devicemanagement/setting_definitions_device_management_setting_definition_item_request_builder.go +++ b/devicemanagement/setting_definitions_device_management_setting_definition_item_request_builder.go @@ -153,3 +153,7 @@ func (m *SettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) } 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 *SettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*SettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) { + return NewSettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/setting_definitions_request_builder.go b/devicemanagement/setting_definitions_request_builder.go index 7e8db47afec..d64fb90d45b 100644 --- a/devicemanagement/setting_definitions_request_builder.go +++ b/devicemanagement/setting_definitions_request_builder.go @@ -46,8 +46,8 @@ type SettingDefinitionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementSettingDefinitionIdString provides operations to manage the settingDefinitions property of the microsoft.graph.deviceManagement entity. -func (m *SettingDefinitionsRequestBuilder) ByDeviceManagementSettingDefinitionIdString(deviceManagementSettingDefinitionId string)(*SettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) { +// ByDeviceManagementSettingDefinitionId provides operations to manage the settingDefinitions property of the microsoft.graph.deviceManagement entity. +func (m *SettingDefinitionsRequestBuilder) ByDeviceManagementSettingDefinitionId(deviceManagementSettingDefinitionId string)(*SettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SettingDefinitionsRequestBuilder) 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 *SettingDefinitionsRequestBuilder) WithUrl(rawUrl string)(*SettingDefinitionsRequestBuilder) { + return NewSettingDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/software_update_status_summary_request_builder.go b/devicemanagement/software_update_status_summary_request_builder.go index efc19315f28..62fd13972c1 100644 --- a/devicemanagement/software_update_status_summary_request_builder.go +++ b/devicemanagement/software_update_status_summary_request_builder.go @@ -75,3 +75,7 @@ func (m *SoftwareUpdateStatusSummaryRequestBuilder) ToGetRequestInformation(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 *SoftwareUpdateStatusSummaryRequestBuilder) WithUrl(rawUrl string)(*SoftwareUpdateStatusSummaryRequestBuilder) { + return NewSoftwareUpdateStatusSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/telecom_expense_management_partners_count_request_builder.go b/devicemanagement/telecom_expense_management_partners_count_request_builder.go index 67ac977516f..edb0a984823 100644 --- a/devicemanagement/telecom_expense_management_partners_count_request_builder.go +++ b/devicemanagement/telecom_expense_management_partners_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TelecomExpenseManagementPartnersCountRequestBuilder) ToGetRequestInform } 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 *TelecomExpenseManagementPartnersCountRequestBuilder) WithUrl(rawUrl string)(*TelecomExpenseManagementPartnersCountRequestBuilder) { + return NewTelecomExpenseManagementPartnersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/telecom_expense_management_partners_request_builder.go b/devicemanagement/telecom_expense_management_partners_request_builder.go index 097ac436837..83b5b587bf3 100644 --- a/devicemanagement/telecom_expense_management_partners_request_builder.go +++ b/devicemanagement/telecom_expense_management_partners_request_builder.go @@ -46,8 +46,8 @@ type TelecomExpenseManagementPartnersRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTelecomExpenseManagementPartnerIdString provides operations to manage the telecomExpenseManagementPartners property of the microsoft.graph.deviceManagement entity. -func (m *TelecomExpenseManagementPartnersRequestBuilder) ByTelecomExpenseManagementPartnerIdString(telecomExpenseManagementPartnerId string)(*TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder) { +// ByTelecomExpenseManagementPartnerId provides operations to manage the telecomExpenseManagementPartners property of the microsoft.graph.deviceManagement entity. +func (m *TelecomExpenseManagementPartnersRequestBuilder) ByTelecomExpenseManagementPartnerId(telecomExpenseManagementPartnerId string)(*TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TelecomExpenseManagementPartnersRequestBuilder) ToPostRequestInformatio } 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 *TelecomExpenseManagementPartnersRequestBuilder) WithUrl(rawUrl string)(*TelecomExpenseManagementPartnersRequestBuilder) { + return NewTelecomExpenseManagementPartnersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/telecom_expense_management_partners_telecom_expense_management_partner_item_request_builder.go b/devicemanagement/telecom_expense_management_partners_telecom_expense_management_partner_item_request_builder.go index 0cd7a305858..909d35aa5a9 100644 --- a/devicemanagement/telecom_expense_management_partners_telecom_expense_management_partner_item_request_builder.go +++ b/devicemanagement/telecom_expense_management_partners_telecom_expense_management_partner_item_request_builder.go @@ -153,3 +153,7 @@ func (m *TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequ } 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 *TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder) WithUrl(rawUrl string)(*TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder) { + return NewTelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/template_insights_count_request_builder.go b/devicemanagement/template_insights_count_request_builder.go index 9cacc98db7f..62763009a02 100644 --- a/devicemanagement/template_insights_count_request_builder.go +++ b/devicemanagement/template_insights_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TemplateInsightsCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *TemplateInsightsCountRequestBuilder) WithUrl(rawUrl string)(*TemplateInsightsCountRequestBuilder) { + return NewTemplateInsightsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/template_insights_device_management_template_insights_definition_item_request_builder.go b/devicemanagement/template_insights_device_management_template_insights_definition_item_request_builder.go index c74af81120c..b4d73e4489d 100644 --- a/devicemanagement/template_insights_device_management_template_insights_definition_item_request_builder.go +++ b/devicemanagement/template_insights_device_management_template_insights_definition_item_request_builder.go @@ -153,3 +153,7 @@ func (m *TemplateInsightsDeviceManagementTemplateInsightsDefinitionItemRequestBu } 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 *TemplateInsightsDeviceManagementTemplateInsightsDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*TemplateInsightsDeviceManagementTemplateInsightsDefinitionItemRequestBuilder) { + return NewTemplateInsightsDeviceManagementTemplateInsightsDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/template_insights_request_builder.go b/devicemanagement/template_insights_request_builder.go index 287426b3f20..b3cb14d5e10 100644 --- a/devicemanagement/template_insights_request_builder.go +++ b/devicemanagement/template_insights_request_builder.go @@ -46,8 +46,8 @@ type TemplateInsightsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementTemplateInsightsDefinitionIdString provides operations to manage the templateInsights property of the microsoft.graph.deviceManagement entity. -func (m *TemplateInsightsRequestBuilder) ByDeviceManagementTemplateInsightsDefinitionIdString(deviceManagementTemplateInsightsDefinitionId string)(*TemplateInsightsDeviceManagementTemplateInsightsDefinitionItemRequestBuilder) { +// ByDeviceManagementTemplateInsightsDefinitionId provides operations to manage the templateInsights property of the microsoft.graph.deviceManagement entity. +func (m *TemplateInsightsRequestBuilder) ByDeviceManagementTemplateInsightsDefinitionId(deviceManagementTemplateInsightsDefinitionId string)(*TemplateInsightsDeviceManagementTemplateInsightsDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TemplateInsightsRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *TemplateInsightsRequestBuilder) WithUrl(rawUrl string)(*TemplateInsightsRequestBuilder) { + return NewTemplateInsightsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/template_settings_count_request_builder.go b/devicemanagement/template_settings_count_request_builder.go index 6c93a3c9d66..f5d77444c33 100644 --- a/devicemanagement/template_settings_count_request_builder.go +++ b/devicemanagement/template_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TemplateSettingsCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *TemplateSettingsCountRequestBuilder) WithUrl(rawUrl string)(*TemplateSettingsCountRequestBuilder) { + return NewTemplateSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/template_settings_device_management_configuration_setting_template_item_request_builder.go b/devicemanagement/template_settings_device_management_configuration_setting_template_item_request_builder.go index 697a82d8185..fbc0adb257f 100644 --- a/devicemanagement/template_settings_device_management_configuration_setting_template_item_request_builder.go +++ b/devicemanagement/template_settings_device_management_configuration_setting_template_item_request_builder.go @@ -157,3 +157,7 @@ func (m *TemplateSettingsDeviceManagementConfigurationSettingTemplateItemRequest } 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 *TemplateSettingsDeviceManagementConfigurationSettingTemplateItemRequestBuilder) WithUrl(rawUrl string)(*TemplateSettingsDeviceManagementConfigurationSettingTemplateItemRequestBuilder) { + return NewTemplateSettingsDeviceManagementConfigurationSettingTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/template_settings_item_setting_definitions_count_request_builder.go b/devicemanagement/template_settings_item_setting_definitions_count_request_builder.go index c1ec29db377..e29869ccc16 100644 --- a/devicemanagement/template_settings_item_setting_definitions_count_request_builder.go +++ b/devicemanagement/template_settings_item_setting_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TemplateSettingsItemSettingDefinitionsCountRequestBuilder) ToGetRequest } 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 *TemplateSettingsItemSettingDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*TemplateSettingsItemSettingDefinitionsCountRequestBuilder) { + return NewTemplateSettingsItemSettingDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/template_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go b/devicemanagement/template_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go index 895d5195205..53d49755c2a 100644 --- a/devicemanagement/template_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go +++ b/devicemanagement/template_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go @@ -153,3 +153,7 @@ func (m *TemplateSettingsItemSettingDefinitionsDeviceManagementConfigurationSett } 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 *TemplateSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*TemplateSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { + return NewTemplateSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/template_settings_item_setting_definitions_request_builder.go b/devicemanagement/template_settings_item_setting_definitions_request_builder.go index 9a362813270..60ca63fe9c4 100644 --- a/devicemanagement/template_settings_item_setting_definitions_request_builder.go +++ b/devicemanagement/template_settings_item_setting_definitions_request_builder.go @@ -46,8 +46,8 @@ type TemplateSettingsItemSettingDefinitionsRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementConfigurationSettingDefinitionIdString provides operations to manage the settingDefinitions property of the microsoft.graph.deviceManagementConfigurationSettingTemplate entity. -func (m *TemplateSettingsItemSettingDefinitionsRequestBuilder) ByDeviceManagementConfigurationSettingDefinitionIdString(deviceManagementConfigurationSettingDefinitionId string)(*TemplateSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { +// ByDeviceManagementConfigurationSettingDefinitionId provides operations to manage the settingDefinitions property of the microsoft.graph.deviceManagementConfigurationSettingTemplate entity. +func (m *TemplateSettingsItemSettingDefinitionsRequestBuilder) ByDeviceManagementConfigurationSettingDefinitionId(deviceManagementConfigurationSettingDefinitionId string)(*TemplateSettingsItemSettingDefinitionsDeviceManagementConfigurationSettingDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TemplateSettingsItemSettingDefinitionsRequestBuilder) ToPostRequestInfo } 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 *TemplateSettingsItemSettingDefinitionsRequestBuilder) WithUrl(rawUrl string)(*TemplateSettingsItemSettingDefinitionsRequestBuilder) { + return NewTemplateSettingsItemSettingDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/template_settings_request_builder.go b/devicemanagement/template_settings_request_builder.go index 667dbc58820..b5245a70b68 100644 --- a/devicemanagement/template_settings_request_builder.go +++ b/devicemanagement/template_settings_request_builder.go @@ -46,8 +46,8 @@ type TemplateSettingsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementConfigurationSettingTemplateIdString provides operations to manage the templateSettings property of the microsoft.graph.deviceManagement entity. -func (m *TemplateSettingsRequestBuilder) ByDeviceManagementConfigurationSettingTemplateIdString(deviceManagementConfigurationSettingTemplateId string)(*TemplateSettingsDeviceManagementConfigurationSettingTemplateItemRequestBuilder) { +// ByDeviceManagementConfigurationSettingTemplateId provides operations to manage the templateSettings property of the microsoft.graph.deviceManagement entity. +func (m *TemplateSettingsRequestBuilder) ByDeviceManagementConfigurationSettingTemplateId(deviceManagementConfigurationSettingTemplateId string)(*TemplateSettingsDeviceManagementConfigurationSettingTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TemplateSettingsRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *TemplateSettingsRequestBuilder) WithUrl(rawUrl string)(*TemplateSettingsRequestBuilder) { + return NewTemplateSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_count_request_builder.go b/devicemanagement/templates_count_request_builder.go index 031da789067..d06e7e766c8 100644 --- a/devicemanagement/templates_count_request_builder.go +++ b/devicemanagement/templates_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TemplatesCountRequestBuilder) ToGetRequestInformation(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 *TemplatesCountRequestBuilder) WithUrl(rawUrl string)(*TemplatesCountRequestBuilder) { + return NewTemplatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_device_management_template_item_request_builder.go b/devicemanagement/templates_device_management_template_item_request_builder.go index 9283821a57e..5a612d9e8af 100644 --- a/devicemanagement/templates_device_management_template_item_request_builder.go +++ b/devicemanagement/templates_device_management_template_item_request_builder.go @@ -173,3 +173,7 @@ func (m *TemplatesDeviceManagementTemplateItemRequestBuilder) 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 *TemplatesDeviceManagementTemplateItemRequestBuilder) WithUrl(rawUrl string)(*TemplatesDeviceManagementTemplateItemRequestBuilder) { + return NewTemplatesDeviceManagementTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_import_office365_device_configuration_policies_request_builder.go b/devicemanagement/templates_import_office365_device_configuration_policies_request_builder.go index 26836fd4790..f4579966207 100644 --- a/devicemanagement/templates_import_office365_device_configuration_policies_request_builder.go +++ b/devicemanagement/templates_import_office365_device_configuration_policies_request_builder.go @@ -62,3 +62,7 @@ func (m *TemplatesImportOffice365DeviceConfigurationPoliciesRequestBuilder) ToPo } 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 *TemplatesImportOffice365DeviceConfigurationPoliciesRequestBuilder) WithUrl(rawUrl string)(*TemplatesImportOffice365DeviceConfigurationPoliciesRequestBuilder) { + return NewTemplatesImportOffice365DeviceConfigurationPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_categories_count_request_builder.go b/devicemanagement/templates_item_categories_count_request_builder.go index c48c698a7d8..75bfe0d9235 100644 --- a/devicemanagement/templates_item_categories_count_request_builder.go +++ b/devicemanagement/templates_item_categories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TemplatesItemCategoriesCountRequestBuilder) ToGetRequestInformation(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 *TemplatesItemCategoriesCountRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemCategoriesCountRequestBuilder) { + return NewTemplatesItemCategoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_categories_device_management_template_setting_category_item_request_builder.go b/devicemanagement/templates_item_categories_device_management_template_setting_category_item_request_builder.go index ba33d6d0fbb..29923f5fadb 100644 --- a/devicemanagement/templates_item_categories_device_management_template_setting_category_item_request_builder.go +++ b/devicemanagement/templates_item_categories_device_management_template_setting_category_item_request_builder.go @@ -161,3 +161,7 @@ func (m *TemplatesItemCategoriesDeviceManagementTemplateSettingCategoryItemReque } 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 *TemplatesItemCategoriesDeviceManagementTemplateSettingCategoryItemRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemCategoriesDeviceManagementTemplateSettingCategoryItemRequestBuilder) { + return NewTemplatesItemCategoriesDeviceManagementTemplateSettingCategoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_categories_item_recommended_settings_count_request_builder.go b/devicemanagement/templates_item_categories_item_recommended_settings_count_request_builder.go index 44e897d787e..bfcf80bc667 100644 --- a/devicemanagement/templates_item_categories_item_recommended_settings_count_request_builder.go +++ b/devicemanagement/templates_item_categories_item_recommended_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TemplatesItemCategoriesItemRecommendedSettingsCountRequestBuilder) ToGe } 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 *TemplatesItemCategoriesItemRecommendedSettingsCountRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemCategoriesItemRecommendedSettingsCountRequestBuilder) { + return NewTemplatesItemCategoriesItemRecommendedSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_categories_item_recommended_settings_device_management_setting_instance_item_request_builder.go b/devicemanagement/templates_item_categories_item_recommended_settings_device_management_setting_instance_item_request_builder.go index 4649f28ff70..38ddb35d19e 100644 --- a/devicemanagement/templates_item_categories_item_recommended_settings_device_management_setting_instance_item_request_builder.go +++ b/devicemanagement/templates_item_categories_item_recommended_settings_device_management_setting_instance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *TemplatesItemCategoriesItemRecommendedSettingsDeviceManagementSettingIn } 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 *TemplatesItemCategoriesItemRecommendedSettingsDeviceManagementSettingInstanceItemRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemCategoriesItemRecommendedSettingsDeviceManagementSettingInstanceItemRequestBuilder) { + return NewTemplatesItemCategoriesItemRecommendedSettingsDeviceManagementSettingInstanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_categories_item_recommended_settings_request_builder.go b/devicemanagement/templates_item_categories_item_recommended_settings_request_builder.go index b7f72e9277d..645b31e106e 100644 --- a/devicemanagement/templates_item_categories_item_recommended_settings_request_builder.go +++ b/devicemanagement/templates_item_categories_item_recommended_settings_request_builder.go @@ -46,8 +46,8 @@ type TemplatesItemCategoriesItemRecommendedSettingsRequestBuilderPostRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementSettingInstanceIdString provides operations to manage the recommendedSettings property of the microsoft.graph.deviceManagementTemplateSettingCategory entity. -func (m *TemplatesItemCategoriesItemRecommendedSettingsRequestBuilder) ByDeviceManagementSettingInstanceIdString(deviceManagementSettingInstanceId string)(*TemplatesItemCategoriesItemRecommendedSettingsDeviceManagementSettingInstanceItemRequestBuilder) { +// ByDeviceManagementSettingInstanceId provides operations to manage the recommendedSettings property of the microsoft.graph.deviceManagementTemplateSettingCategory entity. +func (m *TemplatesItemCategoriesItemRecommendedSettingsRequestBuilder) ByDeviceManagementSettingInstanceId(deviceManagementSettingInstanceId string)(*TemplatesItemCategoriesItemRecommendedSettingsDeviceManagementSettingInstanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TemplatesItemCategoriesItemRecommendedSettingsRequestBuilder) ToPostReq } 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 *TemplatesItemCategoriesItemRecommendedSettingsRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemCategoriesItemRecommendedSettingsRequestBuilder) { + return NewTemplatesItemCategoriesItemRecommendedSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_categories_item_setting_definitions_count_request_builder.go b/devicemanagement/templates_item_categories_item_setting_definitions_count_request_builder.go index 445fa2e7acc..44889b250d5 100644 --- a/devicemanagement/templates_item_categories_item_setting_definitions_count_request_builder.go +++ b/devicemanagement/templates_item_categories_item_setting_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TemplatesItemCategoriesItemSettingDefinitionsCountRequestBuilder) ToGet } 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 *TemplatesItemCategoriesItemSettingDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemCategoriesItemSettingDefinitionsCountRequestBuilder) { + return NewTemplatesItemCategoriesItemSettingDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go b/devicemanagement/templates_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go index 8f3f5436800..ced6e51df0a 100644 --- a/devicemanagement/templates_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go +++ b/devicemanagement/templates_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go @@ -153,3 +153,7 @@ func (m *TemplatesItemCategoriesItemSettingDefinitionsDeviceManagementSettingDef } 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 *TemplatesItemCategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemCategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) { + return NewTemplatesItemCategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_categories_item_setting_definitions_request_builder.go b/devicemanagement/templates_item_categories_item_setting_definitions_request_builder.go index 48f73f4a1b7..74052372393 100644 --- a/devicemanagement/templates_item_categories_item_setting_definitions_request_builder.go +++ b/devicemanagement/templates_item_categories_item_setting_definitions_request_builder.go @@ -46,8 +46,8 @@ type TemplatesItemCategoriesItemSettingDefinitionsRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementSettingDefinitionIdString provides operations to manage the settingDefinitions property of the microsoft.graph.deviceManagementSettingCategory entity. -func (m *TemplatesItemCategoriesItemSettingDefinitionsRequestBuilder) ByDeviceManagementSettingDefinitionIdString(deviceManagementSettingDefinitionId string)(*TemplatesItemCategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) { +// ByDeviceManagementSettingDefinitionId provides operations to manage the settingDefinitions property of the microsoft.graph.deviceManagementSettingCategory entity. +func (m *TemplatesItemCategoriesItemSettingDefinitionsRequestBuilder) ByDeviceManagementSettingDefinitionId(deviceManagementSettingDefinitionId string)(*TemplatesItemCategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TemplatesItemCategoriesItemSettingDefinitionsRequestBuilder) ToPostRequ } 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 *TemplatesItemCategoriesItemSettingDefinitionsRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemCategoriesItemSettingDefinitionsRequestBuilder) { + return NewTemplatesItemCategoriesItemSettingDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_categories_request_builder.go b/devicemanagement/templates_item_categories_request_builder.go index 28fe1707e71..707613b2bce 100644 --- a/devicemanagement/templates_item_categories_request_builder.go +++ b/devicemanagement/templates_item_categories_request_builder.go @@ -46,8 +46,8 @@ type TemplatesItemCategoriesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementTemplateSettingCategoryIdString provides operations to manage the categories property of the microsoft.graph.deviceManagementTemplate entity. -func (m *TemplatesItemCategoriesRequestBuilder) ByDeviceManagementTemplateSettingCategoryIdString(deviceManagementTemplateSettingCategoryId string)(*TemplatesItemCategoriesDeviceManagementTemplateSettingCategoryItemRequestBuilder) { +// ByDeviceManagementTemplateSettingCategoryId provides operations to manage the categories property of the microsoft.graph.deviceManagementTemplate entity. +func (m *TemplatesItemCategoriesRequestBuilder) ByDeviceManagementTemplateSettingCategoryId(deviceManagementTemplateSettingCategoryId string)(*TemplatesItemCategoriesDeviceManagementTemplateSettingCategoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TemplatesItemCategoriesRequestBuilder) ToPostRequestInformation(ctx con } 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 *TemplatesItemCategoriesRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemCategoriesRequestBuilder) { + return NewTemplatesItemCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_compare_with_template_id_request_builder.go b/devicemanagement/templates_item_compare_with_template_id_request_builder.go index 0e28bcecfc0..1c939191b5b 100644 --- a/devicemanagement/templates_item_compare_with_template_id_request_builder.go +++ b/devicemanagement/templates_item_compare_with_template_id_request_builder.go @@ -83,3 +83,7 @@ func (m *TemplatesItemCompareWithTemplateIdRequestBuilder) ToGetRequestInformati } 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 *TemplatesItemCompareWithTemplateIdRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemCompareWithTemplateIdRequestBuilder) { + return NewTemplatesItemCompareWithTemplateIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_create_instance_request_builder.go b/devicemanagement/templates_item_create_instance_request_builder.go index 6807d21e745..c86924718f0 100644 --- a/devicemanagement/templates_item_create_instance_request_builder.go +++ b/devicemanagement/templates_item_create_instance_request_builder.go @@ -67,3 +67,7 @@ func (m *TemplatesItemCreateInstanceRequestBuilder) 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 *TemplatesItemCreateInstanceRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemCreateInstanceRequestBuilder) { + return NewTemplatesItemCreateInstanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_migratable_to_count_request_builder.go b/devicemanagement/templates_item_migratable_to_count_request_builder.go index f389d75b12d..3a7978e2f61 100644 --- a/devicemanagement/templates_item_migratable_to_count_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TemplatesItemMigratableToCountRequestBuilder) ToGetRequestInformation(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 *TemplatesItemMigratableToCountRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemMigratableToCountRequestBuilder) { + return NewTemplatesItemMigratableToCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_migratable_to_device_management_template_item_request_builder.go b/devicemanagement/templates_item_migratable_to_device_management_template_item_request_builder.go index 1d842ee09c5..a45294aaa35 100644 --- a/devicemanagement/templates_item_migratable_to_device_management_template_item_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_device_management_template_item_request_builder.go @@ -169,3 +169,7 @@ func (m *TemplatesItemMigratableToDeviceManagementTemplateItemRequestBuilder) To } 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 *TemplatesItemMigratableToDeviceManagementTemplateItemRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemMigratableToDeviceManagementTemplateItemRequestBuilder) { + return NewTemplatesItemMigratableToDeviceManagementTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_migratable_to_import_office365_device_configuration_policies_request_builder.go b/devicemanagement/templates_item_migratable_to_import_office365_device_configuration_policies_request_builder.go index 378d9bba6fd..00a99bd80a4 100644 --- a/devicemanagement/templates_item_migratable_to_import_office365_device_configuration_policies_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_import_office365_device_configuration_policies_request_builder.go @@ -62,3 +62,7 @@ func (m *TemplatesItemMigratableToImportOffice365DeviceConfigurationPoliciesRequ } 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 *TemplatesItemMigratableToImportOffice365DeviceConfigurationPoliciesRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemMigratableToImportOffice365DeviceConfigurationPoliciesRequestBuilder) { + return NewTemplatesItemMigratableToImportOffice365DeviceConfigurationPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_migratable_to_item_categories_count_request_builder.go b/devicemanagement/templates_item_migratable_to_item_categories_count_request_builder.go index 59303282cca..f6f5ce4dcdf 100644 --- a/devicemanagement/templates_item_migratable_to_item_categories_count_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_categories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TemplatesItemMigratableToItemCategoriesCountRequestBuilder) ToGetReques } 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 *TemplatesItemMigratableToItemCategoriesCountRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemMigratableToItemCategoriesCountRequestBuilder) { + return NewTemplatesItemMigratableToItemCategoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_migratable_to_item_categories_device_management_template_setting_category_item_request_builder.go b/devicemanagement/templates_item_migratable_to_item_categories_device_management_template_setting_category_item_request_builder.go index 1f47c1e0e80..6d1844b3c3d 100644 --- a/devicemanagement/templates_item_migratable_to_item_categories_device_management_template_setting_category_item_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_categories_device_management_template_setting_category_item_request_builder.go @@ -161,3 +161,7 @@ func (m *TemplatesItemMigratableToItemCategoriesDeviceManagementTemplateSettingC } 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 *TemplatesItemMigratableToItemCategoriesDeviceManagementTemplateSettingCategoryItemRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemMigratableToItemCategoriesDeviceManagementTemplateSettingCategoryItemRequestBuilder) { + return NewTemplatesItemMigratableToItemCategoriesDeviceManagementTemplateSettingCategoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_migratable_to_item_categories_item_recommended_settings_count_request_builder.go b/devicemanagement/templates_item_migratable_to_item_categories_item_recommended_settings_count_request_builder.go index a797243caa4..3a528b318e8 100644 --- a/devicemanagement/templates_item_migratable_to_item_categories_item_recommended_settings_count_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_categories_item_recommended_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TemplatesItemMigratableToItemCategoriesItemRecommendedSettingsCountRequ } 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 *TemplatesItemMigratableToItemCategoriesItemRecommendedSettingsCountRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemMigratableToItemCategoriesItemRecommendedSettingsCountRequestBuilder) { + return NewTemplatesItemMigratableToItemCategoriesItemRecommendedSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_migratable_to_item_categories_item_recommended_settings_device_management_setting_instance_item_request_builder.go b/devicemanagement/templates_item_migratable_to_item_categories_item_recommended_settings_device_management_setting_instance_item_request_builder.go index 4a09a6db7e0..afa5e2368bc 100644 --- a/devicemanagement/templates_item_migratable_to_item_categories_item_recommended_settings_device_management_setting_instance_item_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_categories_item_recommended_settings_device_management_setting_instance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *TemplatesItemMigratableToItemCategoriesItemRecommendedSettingsDeviceMan } 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 *TemplatesItemMigratableToItemCategoriesItemRecommendedSettingsDeviceManagementSettingInstanceItemRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemMigratableToItemCategoriesItemRecommendedSettingsDeviceManagementSettingInstanceItemRequestBuilder) { + return NewTemplatesItemMigratableToItemCategoriesItemRecommendedSettingsDeviceManagementSettingInstanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_migratable_to_item_categories_item_recommended_settings_request_builder.go b/devicemanagement/templates_item_migratable_to_item_categories_item_recommended_settings_request_builder.go index f7b7d13ccca..9af4b33a0bd 100644 --- a/devicemanagement/templates_item_migratable_to_item_categories_item_recommended_settings_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_categories_item_recommended_settings_request_builder.go @@ -46,8 +46,8 @@ type TemplatesItemMigratableToItemCategoriesItemRecommendedSettingsRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementSettingInstanceIdString provides operations to manage the recommendedSettings property of the microsoft.graph.deviceManagementTemplateSettingCategory entity. -func (m *TemplatesItemMigratableToItemCategoriesItemRecommendedSettingsRequestBuilder) ByDeviceManagementSettingInstanceIdString(deviceManagementSettingInstanceId string)(*TemplatesItemMigratableToItemCategoriesItemRecommendedSettingsDeviceManagementSettingInstanceItemRequestBuilder) { +// ByDeviceManagementSettingInstanceId provides operations to manage the recommendedSettings property of the microsoft.graph.deviceManagementTemplateSettingCategory entity. +func (m *TemplatesItemMigratableToItemCategoriesItemRecommendedSettingsRequestBuilder) ByDeviceManagementSettingInstanceId(deviceManagementSettingInstanceId string)(*TemplatesItemMigratableToItemCategoriesItemRecommendedSettingsDeviceManagementSettingInstanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TemplatesItemMigratableToItemCategoriesItemRecommendedSettingsRequestBu } 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 *TemplatesItemMigratableToItemCategoriesItemRecommendedSettingsRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemMigratableToItemCategoriesItemRecommendedSettingsRequestBuilder) { + return NewTemplatesItemMigratableToItemCategoriesItemRecommendedSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_migratable_to_item_categories_item_setting_definitions_count_request_builder.go b/devicemanagement/templates_item_migratable_to_item_categories_item_setting_definitions_count_request_builder.go index 6272c2c695c..3f73f0afb51 100644 --- a/devicemanagement/templates_item_migratable_to_item_categories_item_setting_definitions_count_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_categories_item_setting_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TemplatesItemMigratableToItemCategoriesItemSettingDefinitionsCountReque } 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 *TemplatesItemMigratableToItemCategoriesItemSettingDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemMigratableToItemCategoriesItemSettingDefinitionsCountRequestBuilder) { + return NewTemplatesItemMigratableToItemCategoriesItemSettingDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_migratable_to_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go b/devicemanagement/templates_item_migratable_to_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go index 0cfa0af0c4f..ec6971dff56 100644 --- a/devicemanagement/templates_item_migratable_to_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go @@ -153,3 +153,7 @@ func (m *TemplatesItemMigratableToItemCategoriesItemSettingDefinitionsDeviceMana } 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 *TemplatesItemMigratableToItemCategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemMigratableToItemCategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) { + return NewTemplatesItemMigratableToItemCategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_migratable_to_item_categories_item_setting_definitions_request_builder.go b/devicemanagement/templates_item_migratable_to_item_categories_item_setting_definitions_request_builder.go index e8b6cb99c87..a51f2a179cc 100644 --- a/devicemanagement/templates_item_migratable_to_item_categories_item_setting_definitions_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_categories_item_setting_definitions_request_builder.go @@ -46,8 +46,8 @@ type TemplatesItemMigratableToItemCategoriesItemSettingDefinitionsRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementSettingDefinitionIdString provides operations to manage the settingDefinitions property of the microsoft.graph.deviceManagementSettingCategory entity. -func (m *TemplatesItemMigratableToItemCategoriesItemSettingDefinitionsRequestBuilder) ByDeviceManagementSettingDefinitionIdString(deviceManagementSettingDefinitionId string)(*TemplatesItemMigratableToItemCategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) { +// ByDeviceManagementSettingDefinitionId provides operations to manage the settingDefinitions property of the microsoft.graph.deviceManagementSettingCategory entity. +func (m *TemplatesItemMigratableToItemCategoriesItemSettingDefinitionsRequestBuilder) ByDeviceManagementSettingDefinitionId(deviceManagementSettingDefinitionId string)(*TemplatesItemMigratableToItemCategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TemplatesItemMigratableToItemCategoriesItemSettingDefinitionsRequestBui } 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 *TemplatesItemMigratableToItemCategoriesItemSettingDefinitionsRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemMigratableToItemCategoriesItemSettingDefinitionsRequestBuilder) { + return NewTemplatesItemMigratableToItemCategoriesItemSettingDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_migratable_to_item_categories_request_builder.go b/devicemanagement/templates_item_migratable_to_item_categories_request_builder.go index c387518028d..f6fbcc15792 100644 --- a/devicemanagement/templates_item_migratable_to_item_categories_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_categories_request_builder.go @@ -46,8 +46,8 @@ type TemplatesItemMigratableToItemCategoriesRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementTemplateSettingCategoryIdString provides operations to manage the categories property of the microsoft.graph.deviceManagementTemplate entity. -func (m *TemplatesItemMigratableToItemCategoriesRequestBuilder) ByDeviceManagementTemplateSettingCategoryIdString(deviceManagementTemplateSettingCategoryId string)(*TemplatesItemMigratableToItemCategoriesDeviceManagementTemplateSettingCategoryItemRequestBuilder) { +// ByDeviceManagementTemplateSettingCategoryId provides operations to manage the categories property of the microsoft.graph.deviceManagementTemplate entity. +func (m *TemplatesItemMigratableToItemCategoriesRequestBuilder) ByDeviceManagementTemplateSettingCategoryId(deviceManagementTemplateSettingCategoryId string)(*TemplatesItemMigratableToItemCategoriesDeviceManagementTemplateSettingCategoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TemplatesItemMigratableToItemCategoriesRequestBuilder) ToPostRequestInf } 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 *TemplatesItemMigratableToItemCategoriesRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemMigratableToItemCategoriesRequestBuilder) { + return NewTemplatesItemMigratableToItemCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_migratable_to_item_compare_with_template_id_request_builder.go b/devicemanagement/templates_item_migratable_to_item_compare_with_template_id_request_builder.go index d6465840b7a..f82e3f04c9f 100644 --- a/devicemanagement/templates_item_migratable_to_item_compare_with_template_id_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_compare_with_template_id_request_builder.go @@ -83,3 +83,7 @@ func (m *TemplatesItemMigratableToItemCompareWithTemplateIdRequestBuilder) ToGet } 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 *TemplatesItemMigratableToItemCompareWithTemplateIdRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemMigratableToItemCompareWithTemplateIdRequestBuilder) { + return NewTemplatesItemMigratableToItemCompareWithTemplateIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_migratable_to_item_create_instance_request_builder.go b/devicemanagement/templates_item_migratable_to_item_create_instance_request_builder.go index 1c9523afaff..e3756c4f343 100644 --- a/devicemanagement/templates_item_migratable_to_item_create_instance_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_create_instance_request_builder.go @@ -67,3 +67,7 @@ func (m *TemplatesItemMigratableToItemCreateInstanceRequestBuilder) ToPostReques } 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 *TemplatesItemMigratableToItemCreateInstanceRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemMigratableToItemCreateInstanceRequestBuilder) { + return NewTemplatesItemMigratableToItemCreateInstanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_migratable_to_item_settings_count_request_builder.go b/devicemanagement/templates_item_migratable_to_item_settings_count_request_builder.go index 4816287910b..49c5d65031c 100644 --- a/devicemanagement/templates_item_migratable_to_item_settings_count_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TemplatesItemMigratableToItemSettingsCountRequestBuilder) ToGetRequestI } 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 *TemplatesItemMigratableToItemSettingsCountRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemMigratableToItemSettingsCountRequestBuilder) { + return NewTemplatesItemMigratableToItemSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_migratable_to_item_settings_device_management_setting_instance_item_request_builder.go b/devicemanagement/templates_item_migratable_to_item_settings_device_management_setting_instance_item_request_builder.go index 2038592f15b..3f04f36434e 100644 --- a/devicemanagement/templates_item_migratable_to_item_settings_device_management_setting_instance_item_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_settings_device_management_setting_instance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *TemplatesItemMigratableToItemSettingsDeviceManagementSettingInstanceIte } 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 *TemplatesItemMigratableToItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemMigratableToItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) { + return NewTemplatesItemMigratableToItemSettingsDeviceManagementSettingInstanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_migratable_to_item_settings_request_builder.go b/devicemanagement/templates_item_migratable_to_item_settings_request_builder.go index 8eec62275a6..f3579e92e83 100644 --- a/devicemanagement/templates_item_migratable_to_item_settings_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_settings_request_builder.go @@ -46,8 +46,8 @@ type TemplatesItemMigratableToItemSettingsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementSettingInstanceIdString provides operations to manage the settings property of the microsoft.graph.deviceManagementTemplate entity. -func (m *TemplatesItemMigratableToItemSettingsRequestBuilder) ByDeviceManagementSettingInstanceIdString(deviceManagementSettingInstanceId string)(*TemplatesItemMigratableToItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) { +// ByDeviceManagementSettingInstanceId provides operations to manage the settings property of the microsoft.graph.deviceManagementTemplate entity. +func (m *TemplatesItemMigratableToItemSettingsRequestBuilder) ByDeviceManagementSettingInstanceId(deviceManagementSettingInstanceId string)(*TemplatesItemMigratableToItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TemplatesItemMigratableToItemSettingsRequestBuilder) ToPostRequestInfor } 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 *TemplatesItemMigratableToItemSettingsRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemMigratableToItemSettingsRequestBuilder) { + return NewTemplatesItemMigratableToItemSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_migratable_to_request_builder.go b/devicemanagement/templates_item_migratable_to_request_builder.go index 1433e590e9d..c85832db523 100644 --- a/devicemanagement/templates_item_migratable_to_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_request_builder.go @@ -46,8 +46,8 @@ type TemplatesItemMigratableToRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementTemplateId1String provides operations to manage the migratableTo property of the microsoft.graph.deviceManagementTemplate entity. -func (m *TemplatesItemMigratableToRequestBuilder) ByDeviceManagementTemplateId1String(deviceManagementTemplateId1 string)(*TemplatesItemMigratableToDeviceManagementTemplateItemRequestBuilder) { +// ByDeviceManagementTemplateId1 provides operations to manage the migratableTo property of the microsoft.graph.deviceManagementTemplate entity. +func (m *TemplatesItemMigratableToRequestBuilder) ByDeviceManagementTemplateId1(deviceManagementTemplateId1 string)(*TemplatesItemMigratableToDeviceManagementTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *TemplatesItemMigratableToRequestBuilder) ToPostRequestInformation(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 *TemplatesItemMigratableToRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemMigratableToRequestBuilder) { + return NewTemplatesItemMigratableToRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_settings_count_request_builder.go b/devicemanagement/templates_item_settings_count_request_builder.go index ba46937ab5a..87c7a09c1bb 100644 --- a/devicemanagement/templates_item_settings_count_request_builder.go +++ b/devicemanagement/templates_item_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TemplatesItemSettingsCountRequestBuilder) ToGetRequestInformation(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 *TemplatesItemSettingsCountRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemSettingsCountRequestBuilder) { + return NewTemplatesItemSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_settings_device_management_setting_instance_item_request_builder.go b/devicemanagement/templates_item_settings_device_management_setting_instance_item_request_builder.go index ed96cf5464d..e1655509f5f 100644 --- a/devicemanagement/templates_item_settings_device_management_setting_instance_item_request_builder.go +++ b/devicemanagement/templates_item_settings_device_management_setting_instance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *TemplatesItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) } 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 *TemplatesItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) { + return NewTemplatesItemSettingsDeviceManagementSettingInstanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_item_settings_request_builder.go b/devicemanagement/templates_item_settings_request_builder.go index 8bebfa2260a..361da77b7df 100644 --- a/devicemanagement/templates_item_settings_request_builder.go +++ b/devicemanagement/templates_item_settings_request_builder.go @@ -46,8 +46,8 @@ type TemplatesItemSettingsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementSettingInstanceIdString provides operations to manage the settings property of the microsoft.graph.deviceManagementTemplate entity. -func (m *TemplatesItemSettingsRequestBuilder) ByDeviceManagementSettingInstanceIdString(deviceManagementSettingInstanceId string)(*TemplatesItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) { +// ByDeviceManagementSettingInstanceId provides operations to manage the settings property of the microsoft.graph.deviceManagementTemplate entity. +func (m *TemplatesItemSettingsRequestBuilder) ByDeviceManagementSettingInstanceId(deviceManagementSettingInstanceId string)(*TemplatesItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TemplatesItemSettingsRequestBuilder) 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 *TemplatesItemSettingsRequestBuilder) WithUrl(rawUrl string)(*TemplatesItemSettingsRequestBuilder) { + return NewTemplatesItemSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/templates_request_builder.go b/devicemanagement/templates_request_builder.go index 89c9a12822b..44d0e77058d 100644 --- a/devicemanagement/templates_request_builder.go +++ b/devicemanagement/templates_request_builder.go @@ -46,8 +46,8 @@ type TemplatesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementTemplateIdString provides operations to manage the templates property of the microsoft.graph.deviceManagement entity. -func (m *TemplatesRequestBuilder) ByDeviceManagementTemplateIdString(deviceManagementTemplateId string)(*TemplatesDeviceManagementTemplateItemRequestBuilder) { +// ByDeviceManagementTemplateId provides operations to manage the templates property of the microsoft.graph.deviceManagement entity. +func (m *TemplatesRequestBuilder) ByDeviceManagementTemplateId(deviceManagementTemplateId string)(*TemplatesDeviceManagementTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *TemplatesRequestBuilder) ToPostRequestInformation(ctx context.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 *TemplatesRequestBuilder) WithUrl(rawUrl string)(*TemplatesRequestBuilder) { + return NewTemplatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/tenant_attach_r_b_a_c_enable_request_builder.go b/devicemanagement/tenant_attach_r_b_a_c_enable_request_builder.go index aa79dc6c849..aa9d9b03301 100644 --- a/devicemanagement/tenant_attach_r_b_a_c_enable_request_builder.go +++ b/devicemanagement/tenant_attach_r_b_a_c_enable_request_builder.go @@ -62,3 +62,7 @@ func (m *TenantAttachRBACEnableRequestBuilder) ToPostRequestInformation(ctx cont } 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 *TenantAttachRBACEnableRequestBuilder) WithUrl(rawUrl string)(*TenantAttachRBACEnableRequestBuilder) { + return NewTenantAttachRBACEnableRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/tenant_attach_r_b_a_c_get_state_request_builder.go b/devicemanagement/tenant_attach_r_b_a_c_get_state_request_builder.go index 82de6e5041a..645fb9ff5b9 100644 --- a/devicemanagement/tenant_attach_r_b_a_c_get_state_request_builder.go +++ b/devicemanagement/tenant_attach_r_b_a_c_get_state_request_builder.go @@ -63,3 +63,7 @@ func (m *TenantAttachRBACGetStateRequestBuilder) ToGetRequestInformation(ctx con } 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 *TenantAttachRBACGetStateRequestBuilder) WithUrl(rawUrl string)(*TenantAttachRBACGetStateRequestBuilder) { + return NewTenantAttachRBACGetStateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/tenant_attach_r_b_a_c_request_builder.go b/devicemanagement/tenant_attach_r_b_a_c_request_builder.go index e8d82fe7396..26342a36675 100644 --- a/devicemanagement/tenant_attach_r_b_a_c_request_builder.go +++ b/devicemanagement/tenant_attach_r_b_a_c_request_builder.go @@ -161,3 +161,7 @@ func (m *TenantAttachRBACRequestBuilder) 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 *TenantAttachRBACRequestBuilder) WithUrl(rawUrl string)(*TenantAttachRBACRequestBuilder) { + return NewTenantAttachRBACRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/terms_and_conditions_count_request_builder.go b/devicemanagement/terms_and_conditions_count_request_builder.go index d6260632fc4..d8897377ea7 100644 --- a/devicemanagement/terms_and_conditions_count_request_builder.go +++ b/devicemanagement/terms_and_conditions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TermsAndConditionsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *TermsAndConditionsCountRequestBuilder) WithUrl(rawUrl string)(*TermsAndConditionsCountRequestBuilder) { + return NewTermsAndConditionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/terms_and_conditions_item_acceptance_statuses_count_request_builder.go b/devicemanagement/terms_and_conditions_item_acceptance_statuses_count_request_builder.go index bcac60a5d42..7e9ff9363f8 100644 --- a/devicemanagement/terms_and_conditions_item_acceptance_statuses_count_request_builder.go +++ b/devicemanagement/terms_and_conditions_item_acceptance_statuses_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TermsAndConditionsItemAcceptanceStatusesCountRequestBuilder) ToGetReque } 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 *TermsAndConditionsItemAcceptanceStatusesCountRequestBuilder) WithUrl(rawUrl string)(*TermsAndConditionsItemAcceptanceStatusesCountRequestBuilder) { + return NewTermsAndConditionsItemAcceptanceStatusesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/terms_and_conditions_item_acceptance_statuses_item_terms_and_conditions_request_builder.go b/devicemanagement/terms_and_conditions_item_acceptance_statuses_item_terms_and_conditions_request_builder.go index 43b86d40290..c86f4379427 100644 --- a/devicemanagement/terms_and_conditions_item_acceptance_statuses_item_terms_and_conditions_request_builder.go +++ b/devicemanagement/terms_and_conditions_item_acceptance_statuses_item_terms_and_conditions_request_builder.go @@ -75,3 +75,7 @@ func (m *TermsAndConditionsItemAcceptanceStatusesItemTermsAndConditionsRequestBu } 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 *TermsAndConditionsItemAcceptanceStatusesItemTermsAndConditionsRequestBuilder) WithUrl(rawUrl string)(*TermsAndConditionsItemAcceptanceStatusesItemTermsAndConditionsRequestBuilder) { + return NewTermsAndConditionsItemAcceptanceStatusesItemTermsAndConditionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/terms_and_conditions_item_acceptance_statuses_request_builder.go b/devicemanagement/terms_and_conditions_item_acceptance_statuses_request_builder.go index 84ad262026a..65b26393c75 100644 --- a/devicemanagement/terms_and_conditions_item_acceptance_statuses_request_builder.go +++ b/devicemanagement/terms_and_conditions_item_acceptance_statuses_request_builder.go @@ -46,8 +46,8 @@ type TermsAndConditionsItemAcceptanceStatusesRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermsAndConditionsAcceptanceStatusIdString provides operations to manage the acceptanceStatuses property of the microsoft.graph.termsAndConditions entity. -func (m *TermsAndConditionsItemAcceptanceStatusesRequestBuilder) ByTermsAndConditionsAcceptanceStatusIdString(termsAndConditionsAcceptanceStatusId string)(*TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusItemRequestBuilder) { +// ByTermsAndConditionsAcceptanceStatusId provides operations to manage the acceptanceStatuses property of the microsoft.graph.termsAndConditions entity. +func (m *TermsAndConditionsItemAcceptanceStatusesRequestBuilder) ByTermsAndConditionsAcceptanceStatusId(termsAndConditionsAcceptanceStatusId string)(*TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TermsAndConditionsItemAcceptanceStatusesRequestBuilder) ToPostRequestIn } 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 *TermsAndConditionsItemAcceptanceStatusesRequestBuilder) WithUrl(rawUrl string)(*TermsAndConditionsItemAcceptanceStatusesRequestBuilder) { + return NewTermsAndConditionsItemAcceptanceStatusesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/terms_and_conditions_item_acceptance_statuses_terms_and_conditions_acceptance_status_item_request_builder.go b/devicemanagement/terms_and_conditions_item_acceptance_statuses_terms_and_conditions_acceptance_status_item_request_builder.go index 6cc0c1236ad..d27f1e84a93 100644 --- a/devicemanagement/terms_and_conditions_item_acceptance_statuses_terms_and_conditions_acceptance_status_item_request_builder.go +++ b/devicemanagement/terms_and_conditions_item_acceptance_statuses_terms_and_conditions_acceptance_status_item_request_builder.go @@ -157,3 +157,7 @@ func (m *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceSta } 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 *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusItemRequestBuilder) WithUrl(rawUrl string)(*TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusItemRequestBuilder) { + return NewTermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceStatusItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/terms_and_conditions_item_assignments_count_request_builder.go b/devicemanagement/terms_and_conditions_item_assignments_count_request_builder.go index e3eb94337f0..b0073bfff64 100644 --- a/devicemanagement/terms_and_conditions_item_assignments_count_request_builder.go +++ b/devicemanagement/terms_and_conditions_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TermsAndConditionsItemAssignmentsCountRequestBuilder) ToGetRequestInfor } 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 *TermsAndConditionsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*TermsAndConditionsItemAssignmentsCountRequestBuilder) { + return NewTermsAndConditionsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/terms_and_conditions_item_assignments_request_builder.go b/devicemanagement/terms_and_conditions_item_assignments_request_builder.go index 054a920fc69..32a91a2a126 100644 --- a/devicemanagement/terms_and_conditions_item_assignments_request_builder.go +++ b/devicemanagement/terms_and_conditions_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type TermsAndConditionsItemAssignmentsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermsAndConditionsAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.termsAndConditions entity. -func (m *TermsAndConditionsItemAssignmentsRequestBuilder) ByTermsAndConditionsAssignmentIdString(termsAndConditionsAssignmentId string)(*TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequestBuilder) { +// ByTermsAndConditionsAssignmentId provides operations to manage the assignments property of the microsoft.graph.termsAndConditions entity. +func (m *TermsAndConditionsItemAssignmentsRequestBuilder) ByTermsAndConditionsAssignmentId(termsAndConditionsAssignmentId string)(*TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TermsAndConditionsItemAssignmentsRequestBuilder) ToPostRequestInformati } 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 *TermsAndConditionsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*TermsAndConditionsItemAssignmentsRequestBuilder) { + return NewTermsAndConditionsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/terms_and_conditions_item_assignments_terms_and_conditions_assignment_item_request_builder.go b/devicemanagement/terms_and_conditions_item_assignments_terms_and_conditions_assignment_item_request_builder.go index 2ad52978734..68d69368efd 100644 --- a/devicemanagement/terms_and_conditions_item_assignments_terms_and_conditions_assignment_item_request_builder.go +++ b/devicemanagement/terms_and_conditions_item_assignments_terms_and_conditions_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemReques } 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 *TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequestBuilder) { + return NewTermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/terms_and_conditions_item_group_assignments_count_request_builder.go b/devicemanagement/terms_and_conditions_item_group_assignments_count_request_builder.go index e7f9ea98e51..a8785dac981 100644 --- a/devicemanagement/terms_and_conditions_item_group_assignments_count_request_builder.go +++ b/devicemanagement/terms_and_conditions_item_group_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TermsAndConditionsItemGroupAssignmentsCountRequestBuilder) ToGetRequest } 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 *TermsAndConditionsItemGroupAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*TermsAndConditionsItemGroupAssignmentsCountRequestBuilder) { + return NewTermsAndConditionsItemGroupAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/terms_and_conditions_item_group_assignments_item_terms_and_conditions_request_builder.go b/devicemanagement/terms_and_conditions_item_group_assignments_item_terms_and_conditions_request_builder.go index d3d967fc2a0..1ec17de6546 100644 --- a/devicemanagement/terms_and_conditions_item_group_assignments_item_terms_and_conditions_request_builder.go +++ b/devicemanagement/terms_and_conditions_item_group_assignments_item_terms_and_conditions_request_builder.go @@ -75,3 +75,7 @@ func (m *TermsAndConditionsItemGroupAssignmentsItemTermsAndConditionsRequestBuil } 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 *TermsAndConditionsItemGroupAssignmentsItemTermsAndConditionsRequestBuilder) WithUrl(rawUrl string)(*TermsAndConditionsItemGroupAssignmentsItemTermsAndConditionsRequestBuilder) { + return NewTermsAndConditionsItemGroupAssignmentsItemTermsAndConditionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/terms_and_conditions_item_group_assignments_request_builder.go b/devicemanagement/terms_and_conditions_item_group_assignments_request_builder.go index 50eabc9b705..0f2d24ea8b9 100644 --- a/devicemanagement/terms_and_conditions_item_group_assignments_request_builder.go +++ b/devicemanagement/terms_and_conditions_item_group_assignments_request_builder.go @@ -46,8 +46,8 @@ type TermsAndConditionsItemGroupAssignmentsRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermsAndConditionsGroupAssignmentIdString provides operations to manage the groupAssignments property of the microsoft.graph.termsAndConditions entity. -func (m *TermsAndConditionsItemGroupAssignmentsRequestBuilder) ByTermsAndConditionsGroupAssignmentIdString(termsAndConditionsGroupAssignmentId string)(*TermsAndConditionsItemGroupAssignmentsTermsAndConditionsGroupAssignmentItemRequestBuilder) { +// ByTermsAndConditionsGroupAssignmentId provides operations to manage the groupAssignments property of the microsoft.graph.termsAndConditions entity. +func (m *TermsAndConditionsItemGroupAssignmentsRequestBuilder) ByTermsAndConditionsGroupAssignmentId(termsAndConditionsGroupAssignmentId string)(*TermsAndConditionsItemGroupAssignmentsTermsAndConditionsGroupAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TermsAndConditionsItemGroupAssignmentsRequestBuilder) ToPostRequestInfo } 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 *TermsAndConditionsItemGroupAssignmentsRequestBuilder) WithUrl(rawUrl string)(*TermsAndConditionsItemGroupAssignmentsRequestBuilder) { + return NewTermsAndConditionsItemGroupAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/terms_and_conditions_item_group_assignments_terms_and_conditions_group_assignment_item_request_builder.go b/devicemanagement/terms_and_conditions_item_group_assignments_terms_and_conditions_group_assignment_item_request_builder.go index b88a6ca31e7..b1d3a2c1886 100644 --- a/devicemanagement/terms_and_conditions_item_group_assignments_terms_and_conditions_group_assignment_item_request_builder.go +++ b/devicemanagement/terms_and_conditions_item_group_assignments_terms_and_conditions_group_assignment_item_request_builder.go @@ -157,3 +157,7 @@ func (m *TermsAndConditionsItemGroupAssignmentsTermsAndConditionsGroupAssignment } 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 *TermsAndConditionsItemGroupAssignmentsTermsAndConditionsGroupAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*TermsAndConditionsItemGroupAssignmentsTermsAndConditionsGroupAssignmentItemRequestBuilder) { + return NewTermsAndConditionsItemGroupAssignmentsTermsAndConditionsGroupAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/terms_and_conditions_request_builder.go b/devicemanagement/terms_and_conditions_request_builder.go index 4530cd4ef6a..3d98e3a52b5 100644 --- a/devicemanagement/terms_and_conditions_request_builder.go +++ b/devicemanagement/terms_and_conditions_request_builder.go @@ -46,8 +46,8 @@ type TermsAndConditionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermsAndConditionsIdString provides operations to manage the termsAndConditions property of the microsoft.graph.deviceManagement entity. -func (m *TermsAndConditionsRequestBuilder) ByTermsAndConditionsIdString(termsAndConditionsId string)(*TermsAndConditionsTermsAndConditionsItemRequestBuilder) { +// ByTermsAndConditionsId provides operations to manage the termsAndConditions property of the microsoft.graph.deviceManagement entity. +func (m *TermsAndConditionsRequestBuilder) ByTermsAndConditionsId(termsAndConditionsId string)(*TermsAndConditionsTermsAndConditionsItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TermsAndConditionsRequestBuilder) 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 *TermsAndConditionsRequestBuilder) WithUrl(rawUrl string)(*TermsAndConditionsRequestBuilder) { + return NewTermsAndConditionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/terms_and_conditions_terms_and_conditions_item_request_builder.go b/devicemanagement/terms_and_conditions_terms_and_conditions_item_request_builder.go index a81e92225c8..07d2a4e6bb2 100644 --- a/devicemanagement/terms_and_conditions_terms_and_conditions_item_request_builder.go +++ b/devicemanagement/terms_and_conditions_terms_and_conditions_item_request_builder.go @@ -165,3 +165,7 @@ func (m *TermsAndConditionsTermsAndConditionsItemRequestBuilder) ToPatchRequestI } 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 *TermsAndConditionsTermsAndConditionsItemRequestBuilder) WithUrl(rawUrl string)(*TermsAndConditionsTermsAndConditionsItemRequestBuilder) { + return NewTermsAndConditionsTermsAndConditionsItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/troubleshooting_events_count_request_builder.go b/devicemanagement/troubleshooting_events_count_request_builder.go index 908370563a0..870340ab6ab 100644 --- a/devicemanagement/troubleshooting_events_count_request_builder.go +++ b/devicemanagement/troubleshooting_events_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TroubleshootingEventsCountRequestBuilder) ToGetRequestInformation(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 *TroubleshootingEventsCountRequestBuilder) WithUrl(rawUrl string)(*TroubleshootingEventsCountRequestBuilder) { + return NewTroubleshootingEventsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/troubleshooting_events_device_management_troubleshooting_event_item_request_builder.go b/devicemanagement/troubleshooting_events_device_management_troubleshooting_event_item_request_builder.go index 81fc2b5153a..bc0ab12ee41 100644 --- a/devicemanagement/troubleshooting_events_device_management_troubleshooting_event_item_request_builder.go +++ b/devicemanagement/troubleshooting_events_device_management_troubleshooting_event_item_request_builder.go @@ -153,3 +153,7 @@ func (m *TroubleshootingEventsDeviceManagementTroubleshootingEventItemRequestBui } 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 *TroubleshootingEventsDeviceManagementTroubleshootingEventItemRequestBuilder) WithUrl(rawUrl string)(*TroubleshootingEventsDeviceManagementTroubleshootingEventItemRequestBuilder) { + return NewTroubleshootingEventsDeviceManagementTroubleshootingEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/troubleshooting_events_request_builder.go b/devicemanagement/troubleshooting_events_request_builder.go index abacf204316..4af7a21c2a5 100644 --- a/devicemanagement/troubleshooting_events_request_builder.go +++ b/devicemanagement/troubleshooting_events_request_builder.go @@ -46,8 +46,8 @@ type TroubleshootingEventsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementTroubleshootingEventIdString provides operations to manage the troubleshootingEvents property of the microsoft.graph.deviceManagement entity. -func (m *TroubleshootingEventsRequestBuilder) ByDeviceManagementTroubleshootingEventIdString(deviceManagementTroubleshootingEventId string)(*TroubleshootingEventsDeviceManagementTroubleshootingEventItemRequestBuilder) { +// ByDeviceManagementTroubleshootingEventId provides operations to manage the troubleshootingEvents property of the microsoft.graph.deviceManagement entity. +func (m *TroubleshootingEventsRequestBuilder) ByDeviceManagementTroubleshootingEventId(deviceManagementTroubleshootingEventId string)(*TroubleshootingEventsDeviceManagementTroubleshootingEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TroubleshootingEventsRequestBuilder) 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 *TroubleshootingEventsRequestBuilder) WithUrl(rawUrl string)(*TroubleshootingEventsRequestBuilder) { + return NewTroubleshootingEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_anomaly_correlation_group_overview_count_request_builder.go b/devicemanagement/user_experience_analytics_anomaly_correlation_group_overview_count_request_builder.go index ac726488f04..5e98e659bc4 100644 --- a/devicemanagement/user_experience_analytics_anomaly_correlation_group_overview_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_anomaly_correlation_group_overview_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsAnomalyCorrelationGroupOverviewCountRequestBuild } 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 *UserExperienceAnalyticsAnomalyCorrelationGroupOverviewCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAnomalyCorrelationGroupOverviewCountRequestBuilder) { + return NewUserExperienceAnalyticsAnomalyCorrelationGroupOverviewCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_anomaly_correlation_group_overview_request_builder.go b/devicemanagement/user_experience_analytics_anomaly_correlation_group_overview_request_builder.go index f9eba2cec44..4a570a3d1aa 100644 --- a/devicemanagement/user_experience_analytics_anomaly_correlation_group_overview_request_builder.go +++ b/devicemanagement/user_experience_analytics_anomaly_correlation_group_overview_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsAnomalyCorrelationGroupOverviewRequestBuilderPostReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsAnomalyCorrelationGroupOverviewIdString provides operations to manage the userExperienceAnalyticsAnomalyCorrelationGroupOverview property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsAnomalyCorrelationGroupOverviewRequestBuilder) ByUserExperienceAnalyticsAnomalyCorrelationGroupOverviewIdString(userExperienceAnalyticsAnomalyCorrelationGroupOverviewId string)(*UserExperienceAnalyticsAnomalyCorrelationGroupOverviewUserExperienceAnalyticsAnomalyCorrelationGroupOverviewItemRequestBuilder) { +// ByUserExperienceAnalyticsAnomalyCorrelationGroupOverviewId provides operations to manage the userExperienceAnalyticsAnomalyCorrelationGroupOverview property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsAnomalyCorrelationGroupOverviewRequestBuilder) ByUserExperienceAnalyticsAnomalyCorrelationGroupOverviewId(userExperienceAnalyticsAnomalyCorrelationGroupOverviewId string)(*UserExperienceAnalyticsAnomalyCorrelationGroupOverviewUserExperienceAnalyticsAnomalyCorrelationGroupOverviewItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsAnomalyCorrelationGroupOverviewRequestBuilder) T } 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 *UserExperienceAnalyticsAnomalyCorrelationGroupOverviewRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAnomalyCorrelationGroupOverviewRequestBuilder) { + return NewUserExperienceAnalyticsAnomalyCorrelationGroupOverviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_anomaly_correlation_group_overview_user_experience_analytics_anomaly_correlation_group_overview_item_request_builder.go b/devicemanagement/user_experience_analytics_anomaly_correlation_group_overview_user_experience_analytics_anomaly_correlation_group_overview_item_request_builder.go index dd16035a3a2..95fa8de1a3d 100644 --- a/devicemanagement/user_experience_analytics_anomaly_correlation_group_overview_user_experience_analytics_anomaly_correlation_group_overview_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_anomaly_correlation_group_overview_user_experience_analytics_anomaly_correlation_group_overview_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsAnomalyCorrelationGroupOverviewUserExperienceAna } 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 *UserExperienceAnalyticsAnomalyCorrelationGroupOverviewUserExperienceAnalyticsAnomalyCorrelationGroupOverviewItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAnomalyCorrelationGroupOverviewUserExperienceAnalyticsAnomalyCorrelationGroupOverviewItemRequestBuilder) { + return NewUserExperienceAnalyticsAnomalyCorrelationGroupOverviewUserExperienceAnalyticsAnomalyCorrelationGroupOverviewItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_anomaly_count_request_builder.go b/devicemanagement/user_experience_analytics_anomaly_count_request_builder.go index e71ccfe01f3..38a43f42ba3 100644 --- a/devicemanagement/user_experience_analytics_anomaly_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_anomaly_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsAnomalyCountRequestBuilder) ToGetRequestInformat } 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 *UserExperienceAnalyticsAnomalyCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAnomalyCountRequestBuilder) { + return NewUserExperienceAnalyticsAnomalyCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_anomaly_device_count_request_builder.go b/devicemanagement/user_experience_analytics_anomaly_device_count_request_builder.go index d2825dcaf84..d1e6967e574 100644 --- a/devicemanagement/user_experience_analytics_anomaly_device_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_anomaly_device_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsAnomalyDeviceCountRequestBuilder) ToGetRequestIn } 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 *UserExperienceAnalyticsAnomalyDeviceCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAnomalyDeviceCountRequestBuilder) { + return NewUserExperienceAnalyticsAnomalyDeviceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_anomaly_device_request_builder.go b/devicemanagement/user_experience_analytics_anomaly_device_request_builder.go index bfbde1c65ab..693cfc768f4 100644 --- a/devicemanagement/user_experience_analytics_anomaly_device_request_builder.go +++ b/devicemanagement/user_experience_analytics_anomaly_device_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsAnomalyDeviceRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsAnomalyDeviceIdString provides operations to manage the userExperienceAnalyticsAnomalyDevice property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsAnomalyDeviceRequestBuilder) ByUserExperienceAnalyticsAnomalyDeviceIdString(userExperienceAnalyticsAnomalyDeviceId string)(*UserExperienceAnalyticsAnomalyDeviceUserExperienceAnalyticsAnomalyDeviceItemRequestBuilder) { +// ByUserExperienceAnalyticsAnomalyDeviceId provides operations to manage the userExperienceAnalyticsAnomalyDevice property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsAnomalyDeviceRequestBuilder) ByUserExperienceAnalyticsAnomalyDeviceId(userExperienceAnalyticsAnomalyDeviceId string)(*UserExperienceAnalyticsAnomalyDeviceUserExperienceAnalyticsAnomalyDeviceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsAnomalyDeviceRequestBuilder) ToPostRequestInform } 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 *UserExperienceAnalyticsAnomalyDeviceRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAnomalyDeviceRequestBuilder) { + return NewUserExperienceAnalyticsAnomalyDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_anomaly_device_user_experience_analytics_anomaly_device_item_request_builder.go b/devicemanagement/user_experience_analytics_anomaly_device_user_experience_analytics_anomaly_device_item_request_builder.go index a7a2ce6f3ae..a9d9b6d9af9 100644 --- a/devicemanagement/user_experience_analytics_anomaly_device_user_experience_analytics_anomaly_device_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_anomaly_device_user_experience_analytics_anomaly_device_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsAnomalyDeviceUserExperienceAnalyticsAnomalyDevic } 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 *UserExperienceAnalyticsAnomalyDeviceUserExperienceAnalyticsAnomalyDeviceItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAnomalyDeviceUserExperienceAnalyticsAnomalyDeviceItemRequestBuilder) { + return NewUserExperienceAnalyticsAnomalyDeviceUserExperienceAnalyticsAnomalyDeviceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_anomaly_request_builder.go b/devicemanagement/user_experience_analytics_anomaly_request_builder.go index 163d395433f..f286e27d570 100644 --- a/devicemanagement/user_experience_analytics_anomaly_request_builder.go +++ b/devicemanagement/user_experience_analytics_anomaly_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsAnomalyRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsAnomalyIdString provides operations to manage the userExperienceAnalyticsAnomaly property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsAnomalyRequestBuilder) ByUserExperienceAnalyticsAnomalyIdString(userExperienceAnalyticsAnomalyId string)(*UserExperienceAnalyticsAnomalyUserExperienceAnalyticsAnomalyItemRequestBuilder) { +// ByUserExperienceAnalyticsAnomalyId provides operations to manage the userExperienceAnalyticsAnomaly property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsAnomalyRequestBuilder) ByUserExperienceAnalyticsAnomalyId(userExperienceAnalyticsAnomalyId string)(*UserExperienceAnalyticsAnomalyUserExperienceAnalyticsAnomalyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsAnomalyRequestBuilder) 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 *UserExperienceAnalyticsAnomalyRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAnomalyRequestBuilder) { + return NewUserExperienceAnalyticsAnomalyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_anomaly_user_experience_analytics_anomaly_item_request_builder.go b/devicemanagement/user_experience_analytics_anomaly_user_experience_analytics_anomaly_item_request_builder.go index f0323b04e0e..8d09c3ff683 100644 --- a/devicemanagement/user_experience_analytics_anomaly_user_experience_analytics_anomaly_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_anomaly_user_experience_analytics_anomaly_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsAnomalyUserExperienceAnalyticsAnomalyItemRequest } 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 *UserExperienceAnalyticsAnomalyUserExperienceAnalyticsAnomalyItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAnomalyUserExperienceAnalyticsAnomalyItemRequestBuilder) { + return NewUserExperienceAnalyticsAnomalyUserExperienceAnalyticsAnomalyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_count_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_count_request_builder.go index a1fa12225de..04df714a27c 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionCount } 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 *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionCountRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_details_count_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_details_count_request_builder.go index f7f2720511b..4c17b683cf2 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_details_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_details_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetai } 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 *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsCountRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_details_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_details_request_builder.go index 55e4e83e7e3..6647a324350 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_details_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_details_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsIdString provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder) ByUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsIdString(userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsId string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder) { +// ByUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsId provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder) ByUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsId(userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsId string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetai } 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 *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_details_user_experience_analytics_app_health_app_performance_by_app_version_details_item_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_details_user_experience_analytics_app_health_app_performance_by_app_version_details_item_request_builder.go index 6fa10038cd7..87b17929306 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_details_user_experience_analytics_app_health_app_performance_by_app_version_details_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_details_user_experience_analytics_app_health_app_performance_by_app_version_details_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetai } 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 *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_device_id_count_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_device_id_count_request_builder.go index 317ebf90381..ca692d37ede 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_device_id_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_device_id_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDevic } 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 *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdCountRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_device_id_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_device_id_request_builder.go index ef2528e8494..74c256e0452 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_device_id_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_device_id_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdIdString provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder) ByUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdIdString(userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdId string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder) { +// ByUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdId provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder) ByUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdId(userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdId string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDevic } 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 *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_device_id_user_experience_analytics_app_health_app_performance_by_app_version_device_id_item_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_device_id_user_experience_analytics_app_health_app_performance_by_app_version_device_id_item_request_builder.go index 1b46896df95..c6a3f281cd9 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_device_id_user_experience_analytics_app_health_app_performance_by_app_version_device_id_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_device_id_user_experience_analytics_app_health_app_performance_by_app_version_device_id_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDevic } 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 *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_request_builder.go index 71e9109cf2f..12b9a19776c 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionIdString provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersion property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionRequestBuilder) ByUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionIdString(userExperienceAnalyticsAppHealthAppPerformanceByAppVersionId string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionItemRequestBuilder) { +// ByUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionId provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersion property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionRequestBuilder) ByUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionId(userExperienceAnalyticsAppHealthAppPerformanceByAppVersionId string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionReque } 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 *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_user_experience_analytics_app_health_app_performance_by_app_version_item_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_user_experience_analytics_app_health_app_performance_by_app_version_item_request_builder.go index 2582b5461e0..eceb5395733 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_user_experience_analytics_app_health_app_performance_by_app_version_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_user_experience_analytics_app_health_app_performance_by_app_version_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionUserE } 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 *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionItemRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionUserExperienceAnalyticsAppHealthAppPerformanceByAppVersionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_by_o_s_version_count_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_by_o_s_version_count_request_builder.go index 5261b75207b..6fff553466e 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_by_o_s_version_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_by_o_s_version_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionCountR } 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 *UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionCountRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_by_o_s_version_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_by_o_s_version_request_builder.go index afec498f5c9..29a7a43ba73 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_by_o_s_version_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_by_o_s_version_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsAppHealthAppPerformanceByOSVersionIdString provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder) ByUserExperienceAnalyticsAppHealthAppPerformanceByOSVersionIdString(userExperienceAnalyticsAppHealthAppPerformanceByOSVersionId string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionUserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder) { +// ByUserExperienceAnalyticsAppHealthAppPerformanceByOSVersionId provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder) ByUserExperienceAnalyticsAppHealthAppPerformanceByOSVersionId(userExperienceAnalyticsAppHealthAppPerformanceByOSVersionId string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionUserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionReques } 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 *UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_by_o_s_version_user_experience_analytics_app_health_app_performance_by_o_s_version_item_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_by_o_s_version_user_experience_analytics_app_health_app_performance_by_o_s_version_item_request_builder.go index 38795d87ed1..d1822c14609 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_by_o_s_version_user_experience_analytics_app_health_app_performance_by_o_s_version_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_by_o_s_version_user_experience_analytics_app_health_app_performance_by_o_s_version_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionUserEx } 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 *UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionUserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionUserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionUserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_count_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_count_request_builder.go index 5d201efe28c..3d89e932cb7 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceCountRequestBuild } 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 *UserExperienceAnalyticsAppHealthApplicationPerformanceCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceCountRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthApplicationPerformanceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_request_builder.go index 97ab19de3b9..d407f74d483 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilderPostReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsAppHealthApplicationPerformanceIdString provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformance property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder) ByUserExperienceAnalyticsAppHealthApplicationPerformanceIdString(userExperienceAnalyticsAppHealthApplicationPerformanceId string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceUserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder) { +// ByUserExperienceAnalyticsAppHealthApplicationPerformanceId provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformance property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder) ByUserExperienceAnalyticsAppHealthApplicationPerformanceId(userExperienceAnalyticsAppHealthApplicationPerformanceId string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceUserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder) T } 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 *UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_user_experience_analytics_app_health_application_performance_item_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_user_experience_analytics_app_health_application_performance_item_request_builder.go index 8dad9906c02..ec4ba2e6f82 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_user_experience_analytics_app_health_application_performance_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_user_experience_analytics_app_health_application_performance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceUserExperienceAna } 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 *UserExperienceAnalyticsAppHealthApplicationPerformanceUserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthApplicationPerformanceUserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthApplicationPerformanceUserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_device_model_performance_count_request_builder.go b/devicemanagement/user_experience_analytics_app_health_device_model_performance_count_request_builder.go index 849164fec3c..cbf74d02b9a 100644 --- a/devicemanagement/user_experience_analytics_app_health_device_model_performance_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_device_model_performance_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsAppHealthDeviceModelPerformanceCountRequestBuild } 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 *UserExperienceAnalyticsAppHealthDeviceModelPerformanceCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthDeviceModelPerformanceCountRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthDeviceModelPerformanceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_device_model_performance_request_builder.go b/devicemanagement/user_experience_analytics_app_health_device_model_performance_request_builder.go index 78d0a3203da..c528bfd3432 100644 --- a/devicemanagement/user_experience_analytics_app_health_device_model_performance_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_device_model_performance_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilderPostReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsAppHealthDeviceModelPerformanceIdString provides operations to manage the userExperienceAnalyticsAppHealthDeviceModelPerformance property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder) ByUserExperienceAnalyticsAppHealthDeviceModelPerformanceIdString(userExperienceAnalyticsAppHealthDeviceModelPerformanceId string)(*UserExperienceAnalyticsAppHealthDeviceModelPerformanceUserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder) { +// ByUserExperienceAnalyticsAppHealthDeviceModelPerformanceId provides operations to manage the userExperienceAnalyticsAppHealthDeviceModelPerformance property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder) ByUserExperienceAnalyticsAppHealthDeviceModelPerformanceId(userExperienceAnalyticsAppHealthDeviceModelPerformanceId string)(*UserExperienceAnalyticsAppHealthDeviceModelPerformanceUserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder) T } 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 *UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_device_model_performance_user_experience_analytics_app_health_device_model_performance_item_request_builder.go b/devicemanagement/user_experience_analytics_app_health_device_model_performance_user_experience_analytics_app_health_device_model_performance_item_request_builder.go index b045dbfffd5..aabd5fe10b8 100644 --- a/devicemanagement/user_experience_analytics_app_health_device_model_performance_user_experience_analytics_app_health_device_model_performance_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_device_model_performance_user_experience_analytics_app_health_device_model_performance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsAppHealthDeviceModelPerformanceUserExperienceAna } 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 *UserExperienceAnalyticsAppHealthDeviceModelPerformanceUserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthDeviceModelPerformanceUserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthDeviceModelPerformanceUserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_device_performance_count_request_builder.go b/devicemanagement/user_experience_analytics_app_health_device_performance_count_request_builder.go index b47e8b47202..469a0fcda14 100644 --- a/devicemanagement/user_experience_analytics_app_health_device_performance_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_device_performance_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsAppHealthDevicePerformanceCountRequestBuilder) T } 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 *UserExperienceAnalyticsAppHealthDevicePerformanceCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthDevicePerformanceCountRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthDevicePerformanceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_device_performance_details_count_request_builder.go b/devicemanagement/user_experience_analytics_app_health_device_performance_details_count_request_builder.go index 243f8b25b16..9a3213bd454 100644 --- a/devicemanagement/user_experience_analytics_app_health_device_performance_details_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_device_performance_details_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsAppHealthDevicePerformanceDetailsCountRequestBui } 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 *UserExperienceAnalyticsAppHealthDevicePerformanceDetailsCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthDevicePerformanceDetailsCountRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthDevicePerformanceDetailsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_device_performance_details_request_builder.go b/devicemanagement/user_experience_analytics_app_health_device_performance_details_request_builder.go index cbd6b2132bc..af4a011f982 100644 --- a/devicemanagement/user_experience_analytics_app_health_device_performance_details_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_device_performance_details_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilderPostR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsAppHealthDevicePerformanceDetailsIdString provides operations to manage the userExperienceAnalyticsAppHealthDevicePerformanceDetails property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder) ByUserExperienceAnalyticsAppHealthDevicePerformanceDetailsIdString(userExperienceAnalyticsAppHealthDevicePerformanceDetailsId string)(*UserExperienceAnalyticsAppHealthDevicePerformanceDetailsUserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder) { +// ByUserExperienceAnalyticsAppHealthDevicePerformanceDetailsId provides operations to manage the userExperienceAnalyticsAppHealthDevicePerformanceDetails property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder) ByUserExperienceAnalyticsAppHealthDevicePerformanceDetailsId(userExperienceAnalyticsAppHealthDevicePerformanceDetailsId string)(*UserExperienceAnalyticsAppHealthDevicePerformanceDetailsUserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder) } 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 *UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_device_performance_details_user_experience_analytics_app_health_device_performance_details_item_request_builder.go b/devicemanagement/user_experience_analytics_app_health_device_performance_details_user_experience_analytics_app_health_device_performance_details_item_request_builder.go index e77615dea2b..18bbd5dd802 100644 --- a/devicemanagement/user_experience_analytics_app_health_device_performance_details_user_experience_analytics_app_health_device_performance_details_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_device_performance_details_user_experience_analytics_app_health_device_performance_details_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsAppHealthDevicePerformanceDetailsUserExperienceA } 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 *UserExperienceAnalyticsAppHealthDevicePerformanceDetailsUserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthDevicePerformanceDetailsUserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthDevicePerformanceDetailsUserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_device_performance_request_builder.go b/devicemanagement/user_experience_analytics_app_health_device_performance_request_builder.go index 91bdfdef612..65dd6ef0029 100644 --- a/devicemanagement/user_experience_analytics_app_health_device_performance_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_device_performance_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsAppHealthDevicePerformanceIdString provides operations to manage the userExperienceAnalyticsAppHealthDevicePerformance property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder) ByUserExperienceAnalyticsAppHealthDevicePerformanceIdString(userExperienceAnalyticsAppHealthDevicePerformanceId string)(*UserExperienceAnalyticsAppHealthDevicePerformanceUserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder) { +// ByUserExperienceAnalyticsAppHealthDevicePerformanceId provides operations to manage the userExperienceAnalyticsAppHealthDevicePerformance property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder) ByUserExperienceAnalyticsAppHealthDevicePerformanceId(userExperienceAnalyticsAppHealthDevicePerformanceId string)(*UserExperienceAnalyticsAppHealthDevicePerformanceUserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder) ToPost } 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 *UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_device_performance_user_experience_analytics_app_health_device_performance_item_request_builder.go b/devicemanagement/user_experience_analytics_app_health_device_performance_user_experience_analytics_app_health_device_performance_item_request_builder.go index ad529fccdc1..4fbeed23441 100644 --- a/devicemanagement/user_experience_analytics_app_health_device_performance_user_experience_analytics_app_health_device_performance_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_device_performance_user_experience_analytics_app_health_device_performance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsAppHealthDevicePerformanceUserExperienceAnalytic } 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 *UserExperienceAnalyticsAppHealthDevicePerformanceUserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthDevicePerformanceUserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthDevicePerformanceUserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_o_s_version_performance_count_request_builder.go b/devicemanagement/user_experience_analytics_app_health_o_s_version_performance_count_request_builder.go index 51a6bff2fc5..ea8c1552b4a 100644 --- a/devicemanagement/user_experience_analytics_app_health_o_s_version_performance_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_o_s_version_performance_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsAppHealthOSVersionPerformanceCountRequestBuilder } 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 *UserExperienceAnalyticsAppHealthOSVersionPerformanceCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthOSVersionPerformanceCountRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthOSVersionPerformanceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_o_s_version_performance_request_builder.go b/devicemanagement/user_experience_analytics_app_health_o_s_version_performance_request_builder.go index 8b68888da82..fbce14fec60 100644 --- a/devicemanagement/user_experience_analytics_app_health_o_s_version_performance_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_o_s_version_performance_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilderPostReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsAppHealthOSVersionPerformanceIdString provides operations to manage the userExperienceAnalyticsAppHealthOSVersionPerformance property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder) ByUserExperienceAnalyticsAppHealthOSVersionPerformanceIdString(userExperienceAnalyticsAppHealthOSVersionPerformanceId string)(*UserExperienceAnalyticsAppHealthOSVersionPerformanceUserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder) { +// ByUserExperienceAnalyticsAppHealthOSVersionPerformanceId provides operations to manage the userExperienceAnalyticsAppHealthOSVersionPerformance property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder) ByUserExperienceAnalyticsAppHealthOSVersionPerformanceId(userExperienceAnalyticsAppHealthOSVersionPerformanceId string)(*UserExperienceAnalyticsAppHealthOSVersionPerformanceUserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder) 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 *UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_o_s_version_performance_user_experience_analytics_app_health_o_s_version_performance_item_request_builder.go b/devicemanagement/user_experience_analytics_app_health_o_s_version_performance_user_experience_analytics_app_health_o_s_version_performance_item_request_builder.go index 35c66ba552b..71a4e5fa729 100644 --- a/devicemanagement/user_experience_analytics_app_health_o_s_version_performance_user_experience_analytics_app_health_o_s_version_performance_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_o_s_version_performance_user_experience_analytics_app_health_o_s_version_performance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsAppHealthOSVersionPerformanceUserExperienceAnaly } 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 *UserExperienceAnalyticsAppHealthOSVersionPerformanceUserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthOSVersionPerformanceUserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthOSVersionPerformanceUserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_overview_metric_values_count_request_builder.go b/devicemanagement/user_experience_analytics_app_health_overview_metric_values_count_request_builder.go index 5a430e8d197..3be62340165 100644 --- a/devicemanagement/user_experience_analytics_app_health_overview_metric_values_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_overview_metric_values_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsAppHealthOverviewMetricValuesCountRequestBuilder } 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 *UserExperienceAnalyticsAppHealthOverviewMetricValuesCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthOverviewMetricValuesCountRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthOverviewMetricValuesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_overview_metric_values_request_builder.go b/devicemanagement/user_experience_analytics_app_health_overview_metric_values_request_builder.go index 147fca89ba7..e11b39b2c5d 100644 --- a/devicemanagement/user_experience_analytics_app_health_overview_metric_values_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_overview_metric_values_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsAppHealthOverviewMetricValuesRequestBuilderPostReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsMetricIdString provides operations to manage the metricValues property of the microsoft.graph.userExperienceAnalyticsCategory entity. -func (m *UserExperienceAnalyticsAppHealthOverviewMetricValuesRequestBuilder) ByUserExperienceAnalyticsMetricIdString(userExperienceAnalyticsMetricId string)(*UserExperienceAnalyticsAppHealthOverviewMetricValuesUserExperienceAnalyticsMetricItemRequestBuilder) { +// ByUserExperienceAnalyticsMetricId provides operations to manage the metricValues property of the microsoft.graph.userExperienceAnalyticsCategory entity. +func (m *UserExperienceAnalyticsAppHealthOverviewMetricValuesRequestBuilder) ByUserExperienceAnalyticsMetricId(userExperienceAnalyticsMetricId string)(*UserExperienceAnalyticsAppHealthOverviewMetricValuesUserExperienceAnalyticsMetricItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsAppHealthOverviewMetricValuesRequestBuilder) 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 *UserExperienceAnalyticsAppHealthOverviewMetricValuesRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthOverviewMetricValuesRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthOverviewMetricValuesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_overview_metric_values_user_experience_analytics_metric_item_request_builder.go b/devicemanagement/user_experience_analytics_app_health_overview_metric_values_user_experience_analytics_metric_item_request_builder.go index 6ba23bad018..c3c38fcde65 100644 --- a/devicemanagement/user_experience_analytics_app_health_overview_metric_values_user_experience_analytics_metric_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_overview_metric_values_user_experience_analytics_metric_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsAppHealthOverviewMetricValuesUserExperienceAnaly } 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 *UserExperienceAnalyticsAppHealthOverviewMetricValuesUserExperienceAnalyticsMetricItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthOverviewMetricValuesUserExperienceAnalyticsMetricItemRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthOverviewMetricValuesUserExperienceAnalyticsMetricItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_app_health_overview_request_builder.go b/devicemanagement/user_experience_analytics_app_health_overview_request_builder.go index b2f11c9d56e..03318f2bdbb 100644 --- a/devicemanagement/user_experience_analytics_app_health_overview_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_overview_request_builder.go @@ -157,3 +157,7 @@ func (m *UserExperienceAnalyticsAppHealthOverviewRequestBuilder) ToPatchRequestI } 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 *UserExperienceAnalyticsAppHealthOverviewRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsAppHealthOverviewRequestBuilder) { + return NewUserExperienceAnalyticsAppHealthOverviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_baselines_count_request_builder.go b/devicemanagement/user_experience_analytics_baselines_count_request_builder.go index 5b6cb3acac9..b1b154cc729 100644 --- a/devicemanagement/user_experience_analytics_baselines_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_baselines_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsBaselinesCountRequestBuilder) ToGetRequestInform } 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 *UserExperienceAnalyticsBaselinesCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBaselinesCountRequestBuilder) { + return NewUserExperienceAnalyticsBaselinesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_baselines_item_app_health_metrics_request_builder.go b/devicemanagement/user_experience_analytics_baselines_item_app_health_metrics_request_builder.go index d17d5c15391..687d38d5250 100644 --- a/devicemanagement/user_experience_analytics_baselines_item_app_health_metrics_request_builder.go +++ b/devicemanagement/user_experience_analytics_baselines_item_app_health_metrics_request_builder.go @@ -75,3 +75,7 @@ func (m *UserExperienceAnalyticsBaselinesItemAppHealthMetricsRequestBuilder) ToG } 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 *UserExperienceAnalyticsBaselinesItemAppHealthMetricsRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBaselinesItemAppHealthMetricsRequestBuilder) { + return NewUserExperienceAnalyticsBaselinesItemAppHealthMetricsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_baselines_item_battery_health_metrics_request_builder.go b/devicemanagement/user_experience_analytics_baselines_item_battery_health_metrics_request_builder.go index 9588473103b..983dbffc404 100644 --- a/devicemanagement/user_experience_analytics_baselines_item_battery_health_metrics_request_builder.go +++ b/devicemanagement/user_experience_analytics_baselines_item_battery_health_metrics_request_builder.go @@ -75,3 +75,7 @@ func (m *UserExperienceAnalyticsBaselinesItemBatteryHealthMetricsRequestBuilder) } 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 *UserExperienceAnalyticsBaselinesItemBatteryHealthMetricsRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBaselinesItemBatteryHealthMetricsRequestBuilder) { + return NewUserExperienceAnalyticsBaselinesItemBatteryHealthMetricsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_baselines_item_best_practices_metrics_request_builder.go b/devicemanagement/user_experience_analytics_baselines_item_best_practices_metrics_request_builder.go index 5c2f254b1d1..a3f0898f08c 100644 --- a/devicemanagement/user_experience_analytics_baselines_item_best_practices_metrics_request_builder.go +++ b/devicemanagement/user_experience_analytics_baselines_item_best_practices_metrics_request_builder.go @@ -75,3 +75,7 @@ func (m *UserExperienceAnalyticsBaselinesItemBestPracticesMetricsRequestBuilder) } 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 *UserExperienceAnalyticsBaselinesItemBestPracticesMetricsRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBaselinesItemBestPracticesMetricsRequestBuilder) { + return NewUserExperienceAnalyticsBaselinesItemBestPracticesMetricsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_baselines_item_device_boot_performance_metrics_request_builder.go b/devicemanagement/user_experience_analytics_baselines_item_device_boot_performance_metrics_request_builder.go index 490802db0a8..2af9ad91d21 100644 --- a/devicemanagement/user_experience_analytics_baselines_item_device_boot_performance_metrics_request_builder.go +++ b/devicemanagement/user_experience_analytics_baselines_item_device_boot_performance_metrics_request_builder.go @@ -75,3 +75,7 @@ func (m *UserExperienceAnalyticsBaselinesItemDeviceBootPerformanceMetricsRequest } 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 *UserExperienceAnalyticsBaselinesItemDeviceBootPerformanceMetricsRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBaselinesItemDeviceBootPerformanceMetricsRequestBuilder) { + return NewUserExperienceAnalyticsBaselinesItemDeviceBootPerformanceMetricsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_baselines_item_reboot_analytics_metrics_request_builder.go b/devicemanagement/user_experience_analytics_baselines_item_reboot_analytics_metrics_request_builder.go index b7820e3fc0d..28ee9d2ae4e 100644 --- a/devicemanagement/user_experience_analytics_baselines_item_reboot_analytics_metrics_request_builder.go +++ b/devicemanagement/user_experience_analytics_baselines_item_reboot_analytics_metrics_request_builder.go @@ -75,3 +75,7 @@ func (m *UserExperienceAnalyticsBaselinesItemRebootAnalyticsMetricsRequestBuilde } 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 *UserExperienceAnalyticsBaselinesItemRebootAnalyticsMetricsRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBaselinesItemRebootAnalyticsMetricsRequestBuilder) { + return NewUserExperienceAnalyticsBaselinesItemRebootAnalyticsMetricsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_baselines_item_resource_performance_metrics_request_builder.go b/devicemanagement/user_experience_analytics_baselines_item_resource_performance_metrics_request_builder.go index b42f0b7c36a..e253c6df2d2 100644 --- a/devicemanagement/user_experience_analytics_baselines_item_resource_performance_metrics_request_builder.go +++ b/devicemanagement/user_experience_analytics_baselines_item_resource_performance_metrics_request_builder.go @@ -75,3 +75,7 @@ func (m *UserExperienceAnalyticsBaselinesItemResourcePerformanceMetricsRequestBu } 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 *UserExperienceAnalyticsBaselinesItemResourcePerformanceMetricsRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBaselinesItemResourcePerformanceMetricsRequestBuilder) { + return NewUserExperienceAnalyticsBaselinesItemResourcePerformanceMetricsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_baselines_item_work_from_anywhere_metrics_request_builder.go b/devicemanagement/user_experience_analytics_baselines_item_work_from_anywhere_metrics_request_builder.go index 5eb59e477af..1b962f073f6 100644 --- a/devicemanagement/user_experience_analytics_baselines_item_work_from_anywhere_metrics_request_builder.go +++ b/devicemanagement/user_experience_analytics_baselines_item_work_from_anywhere_metrics_request_builder.go @@ -75,3 +75,7 @@ func (m *UserExperienceAnalyticsBaselinesItemWorkFromAnywhereMetricsRequestBuild } 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 *UserExperienceAnalyticsBaselinesItemWorkFromAnywhereMetricsRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBaselinesItemWorkFromAnywhereMetricsRequestBuilder) { + return NewUserExperienceAnalyticsBaselinesItemWorkFromAnywhereMetricsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_baselines_request_builder.go b/devicemanagement/user_experience_analytics_baselines_request_builder.go index 31ca87c31bc..104b745030f 100644 --- a/devicemanagement/user_experience_analytics_baselines_request_builder.go +++ b/devicemanagement/user_experience_analytics_baselines_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsBaselinesRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsBaselineIdString provides operations to manage the userExperienceAnalyticsBaselines property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsBaselinesRequestBuilder) ByUserExperienceAnalyticsBaselineIdString(userExperienceAnalyticsBaselineId string)(*UserExperienceAnalyticsBaselinesUserExperienceAnalyticsBaselineItemRequestBuilder) { +// ByUserExperienceAnalyticsBaselineId provides operations to manage the userExperienceAnalyticsBaselines property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsBaselinesRequestBuilder) ByUserExperienceAnalyticsBaselineId(userExperienceAnalyticsBaselineId string)(*UserExperienceAnalyticsBaselinesUserExperienceAnalyticsBaselineItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsBaselinesRequestBuilder) ToPostRequestInformatio } 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 *UserExperienceAnalyticsBaselinesRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBaselinesRequestBuilder) { + return NewUserExperienceAnalyticsBaselinesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_baselines_user_experience_analytics_baseline_item_request_builder.go b/devicemanagement/user_experience_analytics_baselines_user_experience_analytics_baseline_item_request_builder.go index 3a355ad14af..a1d1fb96ca2 100644 --- a/devicemanagement/user_experience_analytics_baselines_user_experience_analytics_baseline_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_baselines_user_experience_analytics_baseline_item_request_builder.go @@ -177,6 +177,10 @@ func (m *UserExperienceAnalyticsBaselinesUserExperienceAnalyticsBaselineItemRequ } 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 *UserExperienceAnalyticsBaselinesUserExperienceAnalyticsBaselineItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBaselinesUserExperienceAnalyticsBaselineItemRequestBuilder) { + return NewUserExperienceAnalyticsBaselinesUserExperienceAnalyticsBaselineItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} // WorkFromAnywhereMetrics provides operations to manage the workFromAnywhereMetrics property of the microsoft.graph.userExperienceAnalyticsBaseline entity. func (m *UserExperienceAnalyticsBaselinesUserExperienceAnalyticsBaselineItemRequestBuilder) WorkFromAnywhereMetrics()(*UserExperienceAnalyticsBaselinesItemWorkFromAnywhereMetricsRequestBuilder) { return NewUserExperienceAnalyticsBaselinesItemWorkFromAnywhereMetricsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) diff --git a/devicemanagement/user_experience_analytics_battery_health_app_impact_count_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_app_impact_count_request_builder.go index db440f95505..495f67612a2 100644 --- a/devicemanagement/user_experience_analytics_battery_health_app_impact_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_app_impact_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsBatteryHealthAppImpactCountRequestBuilder) ToGet } 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 *UserExperienceAnalyticsBatteryHealthAppImpactCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBatteryHealthAppImpactCountRequestBuilder) { + return NewUserExperienceAnalyticsBatteryHealthAppImpactCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_battery_health_app_impact_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_app_impact_request_builder.go index 109585ac957..ae94737a496 100644 --- a/devicemanagement/user_experience_analytics_battery_health_app_impact_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_app_impact_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsBatteryHealthAppImpactRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsBatteryHealthAppImpactIdString provides operations to manage the userExperienceAnalyticsBatteryHealthAppImpact property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsBatteryHealthAppImpactRequestBuilder) ByUserExperienceAnalyticsBatteryHealthAppImpactIdString(userExperienceAnalyticsBatteryHealthAppImpactId string)(*UserExperienceAnalyticsBatteryHealthAppImpactUserExperienceAnalyticsBatteryHealthAppImpactItemRequestBuilder) { +// ByUserExperienceAnalyticsBatteryHealthAppImpactId provides operations to manage the userExperienceAnalyticsBatteryHealthAppImpact property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsBatteryHealthAppImpactRequestBuilder) ByUserExperienceAnalyticsBatteryHealthAppImpactId(userExperienceAnalyticsBatteryHealthAppImpactId string)(*UserExperienceAnalyticsBatteryHealthAppImpactUserExperienceAnalyticsBatteryHealthAppImpactItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsBatteryHealthAppImpactRequestBuilder) ToPostRequ } 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 *UserExperienceAnalyticsBatteryHealthAppImpactRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBatteryHealthAppImpactRequestBuilder) { + return NewUserExperienceAnalyticsBatteryHealthAppImpactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_battery_health_app_impact_user_experience_analytics_battery_health_app_impact_item_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_app_impact_user_experience_analytics_battery_health_app_impact_item_request_builder.go index f9d6c0e157d..bf89d99e65a 100644 --- a/devicemanagement/user_experience_analytics_battery_health_app_impact_user_experience_analytics_battery_health_app_impact_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_app_impact_user_experience_analytics_battery_health_app_impact_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsBatteryHealthAppImpactUserExperienceAnalyticsBat } 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 *UserExperienceAnalyticsBatteryHealthAppImpactUserExperienceAnalyticsBatteryHealthAppImpactItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBatteryHealthAppImpactUserExperienceAnalyticsBatteryHealthAppImpactItemRequestBuilder) { + return NewUserExperienceAnalyticsBatteryHealthAppImpactUserExperienceAnalyticsBatteryHealthAppImpactItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_battery_health_capacity_details_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_capacity_details_request_builder.go index bb7b641989a..a52b7077daa 100644 --- a/devicemanagement/user_experience_analytics_battery_health_capacity_details_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_capacity_details_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsBatteryHealthCapacityDetailsRequestBuilder) ToPa } 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 *UserExperienceAnalyticsBatteryHealthCapacityDetailsRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBatteryHealthCapacityDetailsRequestBuilder) { + return NewUserExperienceAnalyticsBatteryHealthCapacityDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_battery_health_device_app_impact_count_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_device_app_impact_count_request_builder.go index be8d5cbe0cb..24af89f52ae 100644 --- a/devicemanagement/user_experience_analytics_battery_health_device_app_impact_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_device_app_impact_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDeviceAppImpactCountRequestBuilder) } 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 *UserExperienceAnalyticsBatteryHealthDeviceAppImpactCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBatteryHealthDeviceAppImpactCountRequestBuilder) { + return NewUserExperienceAnalyticsBatteryHealthDeviceAppImpactCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_battery_health_device_app_impact_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_device_app_impact_request_builder.go index 3cbde09d6f5..e66038396c3 100644 --- a/devicemanagement/user_experience_analytics_battery_health_device_app_impact_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_device_app_impact_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsBatteryHealthDeviceAppImpactRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsBatteryHealthDeviceAppImpactIdString provides operations to manage the userExperienceAnalyticsBatteryHealthDeviceAppImpact property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsBatteryHealthDeviceAppImpactRequestBuilder) ByUserExperienceAnalyticsBatteryHealthDeviceAppImpactIdString(userExperienceAnalyticsBatteryHealthDeviceAppImpactId string)(*UserExperienceAnalyticsBatteryHealthDeviceAppImpactUserExperienceAnalyticsBatteryHealthDeviceAppImpactItemRequestBuilder) { +// ByUserExperienceAnalyticsBatteryHealthDeviceAppImpactId provides operations to manage the userExperienceAnalyticsBatteryHealthDeviceAppImpact property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsBatteryHealthDeviceAppImpactRequestBuilder) ByUserExperienceAnalyticsBatteryHealthDeviceAppImpactId(userExperienceAnalyticsBatteryHealthDeviceAppImpactId string)(*UserExperienceAnalyticsBatteryHealthDeviceAppImpactUserExperienceAnalyticsBatteryHealthDeviceAppImpactItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDeviceAppImpactRequestBuilder) ToPo } 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 *UserExperienceAnalyticsBatteryHealthDeviceAppImpactRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBatteryHealthDeviceAppImpactRequestBuilder) { + return NewUserExperienceAnalyticsBatteryHealthDeviceAppImpactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_battery_health_device_app_impact_user_experience_analytics_battery_health_device_app_impact_item_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_device_app_impact_user_experience_analytics_battery_health_device_app_impact_item_request_builder.go index e52557c89f9..ce559121746 100644 --- a/devicemanagement/user_experience_analytics_battery_health_device_app_impact_user_experience_analytics_battery_health_device_app_impact_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_device_app_impact_user_experience_analytics_battery_health_device_app_impact_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDeviceAppImpactUserExperienceAnalyt } 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 *UserExperienceAnalyticsBatteryHealthDeviceAppImpactUserExperienceAnalyticsBatteryHealthDeviceAppImpactItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBatteryHealthDeviceAppImpactUserExperienceAnalyticsBatteryHealthDeviceAppImpactItemRequestBuilder) { + return NewUserExperienceAnalyticsBatteryHealthDeviceAppImpactUserExperienceAnalyticsBatteryHealthDeviceAppImpactItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_battery_health_device_performance_count_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_device_performance_count_request_builder.go index 98d23f11291..ad122d623fb 100644 --- a/devicemanagement/user_experience_analytics_battery_health_device_performance_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_device_performance_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDevicePerformanceCountRequestBuilde } 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 *UserExperienceAnalyticsBatteryHealthDevicePerformanceCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBatteryHealthDevicePerformanceCountRequestBuilder) { + return NewUserExperienceAnalyticsBatteryHealthDevicePerformanceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_battery_health_device_performance_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_device_performance_request_builder.go index 71594a50124..0e058617291 100644 --- a/devicemanagement/user_experience_analytics_battery_health_device_performance_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_device_performance_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsBatteryHealthDevicePerformanceRequestBuilderPostRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsBatteryHealthDevicePerformanceIdString provides operations to manage the userExperienceAnalyticsBatteryHealthDevicePerformance property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsBatteryHealthDevicePerformanceRequestBuilder) ByUserExperienceAnalyticsBatteryHealthDevicePerformanceIdString(userExperienceAnalyticsBatteryHealthDevicePerformanceId string)(*UserExperienceAnalyticsBatteryHealthDevicePerformanceUserExperienceAnalyticsBatteryHealthDevicePerformanceItemRequestBuilder) { +// ByUserExperienceAnalyticsBatteryHealthDevicePerformanceId provides operations to manage the userExperienceAnalyticsBatteryHealthDevicePerformance property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsBatteryHealthDevicePerformanceRequestBuilder) ByUserExperienceAnalyticsBatteryHealthDevicePerformanceId(userExperienceAnalyticsBatteryHealthDevicePerformanceId string)(*UserExperienceAnalyticsBatteryHealthDevicePerformanceUserExperienceAnalyticsBatteryHealthDevicePerformanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDevicePerformanceRequestBuilder) To } 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 *UserExperienceAnalyticsBatteryHealthDevicePerformanceRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBatteryHealthDevicePerformanceRequestBuilder) { + return NewUserExperienceAnalyticsBatteryHealthDevicePerformanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_battery_health_device_performance_user_experience_analytics_battery_health_device_performance_item_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_device_performance_user_experience_analytics_battery_health_device_performance_item_request_builder.go index 2a6a3fecae8..1579b2d4cb6 100644 --- a/devicemanagement/user_experience_analytics_battery_health_device_performance_user_experience_analytics_battery_health_device_performance_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_device_performance_user_experience_analytics_battery_health_device_performance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDevicePerformanceUserExperienceAnal } 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 *UserExperienceAnalyticsBatteryHealthDevicePerformanceUserExperienceAnalyticsBatteryHealthDevicePerformanceItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBatteryHealthDevicePerformanceUserExperienceAnalyticsBatteryHealthDevicePerformanceItemRequestBuilder) { + return NewUserExperienceAnalyticsBatteryHealthDevicePerformanceUserExperienceAnalyticsBatteryHealthDevicePerformanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_battery_health_device_runtime_history_count_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_device_runtime_history_count_request_builder.go index e1b3760faaf..7644eb57c3c 100644 --- a/devicemanagement/user_experience_analytics_battery_health_device_runtime_history_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_device_runtime_history_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryCountRequestBui } 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 *UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryCountRequestBuilder) { + return NewUserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_battery_health_device_runtime_history_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_device_runtime_history_request_builder.go index 9a1ea972885..5c9cbc9c012 100644 --- a/devicemanagement/user_experience_analytics_battery_health_device_runtime_history_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_device_runtime_history_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryRequestBuilderPostR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryIdString provides operations to manage the userExperienceAnalyticsBatteryHealthDeviceRuntimeHistory property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryRequestBuilder) ByUserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryIdString(userExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryId string)(*UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryUserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryItemRequestBuilder) { +// ByUserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryId provides operations to manage the userExperienceAnalyticsBatteryHealthDeviceRuntimeHistory property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryRequestBuilder) ByUserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryId(userExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryId string)(*UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryUserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryRequestBuilder) } 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 *UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryRequestBuilder) { + return NewUserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_battery_health_device_runtime_history_user_experience_analytics_battery_health_device_runtime_history_item_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_device_runtime_history_user_experience_analytics_battery_health_device_runtime_history_item_request_builder.go index d210af67bd5..1f568744aee 100644 --- a/devicemanagement/user_experience_analytics_battery_health_device_runtime_history_user_experience_analytics_battery_health_device_runtime_history_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_device_runtime_history_user_experience_analytics_battery_health_device_runtime_history_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryUserExperienceA } 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 *UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryUserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryUserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryItemRequestBuilder) { + return NewUserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryUserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_battery_health_model_performance_count_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_model_performance_count_request_builder.go index 451e758b7b3..203f67b3564 100644 --- a/devicemanagement/user_experience_analytics_battery_health_model_performance_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_model_performance_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsBatteryHealthModelPerformanceCountRequestBuilder } 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 *UserExperienceAnalyticsBatteryHealthModelPerformanceCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBatteryHealthModelPerformanceCountRequestBuilder) { + return NewUserExperienceAnalyticsBatteryHealthModelPerformanceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_battery_health_model_performance_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_model_performance_request_builder.go index 4fc88527c4e..508368d0668 100644 --- a/devicemanagement/user_experience_analytics_battery_health_model_performance_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_model_performance_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsBatteryHealthModelPerformanceRequestBuilderPostReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsBatteryHealthModelPerformanceIdString provides operations to manage the userExperienceAnalyticsBatteryHealthModelPerformance property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsBatteryHealthModelPerformanceRequestBuilder) ByUserExperienceAnalyticsBatteryHealthModelPerformanceIdString(userExperienceAnalyticsBatteryHealthModelPerformanceId string)(*UserExperienceAnalyticsBatteryHealthModelPerformanceUserExperienceAnalyticsBatteryHealthModelPerformanceItemRequestBuilder) { +// ByUserExperienceAnalyticsBatteryHealthModelPerformanceId provides operations to manage the userExperienceAnalyticsBatteryHealthModelPerformance property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsBatteryHealthModelPerformanceRequestBuilder) ByUserExperienceAnalyticsBatteryHealthModelPerformanceId(userExperienceAnalyticsBatteryHealthModelPerformanceId string)(*UserExperienceAnalyticsBatteryHealthModelPerformanceUserExperienceAnalyticsBatteryHealthModelPerformanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsBatteryHealthModelPerformanceRequestBuilder) 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 *UserExperienceAnalyticsBatteryHealthModelPerformanceRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBatteryHealthModelPerformanceRequestBuilder) { + return NewUserExperienceAnalyticsBatteryHealthModelPerformanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_battery_health_model_performance_user_experience_analytics_battery_health_model_performance_item_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_model_performance_user_experience_analytics_battery_health_model_performance_item_request_builder.go index f1e05d9951b..be6855b88ed 100644 --- a/devicemanagement/user_experience_analytics_battery_health_model_performance_user_experience_analytics_battery_health_model_performance_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_model_performance_user_experience_analytics_battery_health_model_performance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsBatteryHealthModelPerformanceUserExperienceAnaly } 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 *UserExperienceAnalyticsBatteryHealthModelPerformanceUserExperienceAnalyticsBatteryHealthModelPerformanceItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBatteryHealthModelPerformanceUserExperienceAnalyticsBatteryHealthModelPerformanceItemRequestBuilder) { + return NewUserExperienceAnalyticsBatteryHealthModelPerformanceUserExperienceAnalyticsBatteryHealthModelPerformanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_battery_health_os_performance_count_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_os_performance_count_request_builder.go index 82b45939e58..49c50b31e2e 100644 --- a/devicemanagement/user_experience_analytics_battery_health_os_performance_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_os_performance_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsBatteryHealthOsPerformanceCountRequestBuilder) T } 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 *UserExperienceAnalyticsBatteryHealthOsPerformanceCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBatteryHealthOsPerformanceCountRequestBuilder) { + return NewUserExperienceAnalyticsBatteryHealthOsPerformanceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_battery_health_os_performance_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_os_performance_request_builder.go index cc22fc2d8d1..52410bcf5c4 100644 --- a/devicemanagement/user_experience_analytics_battery_health_os_performance_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_os_performance_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsBatteryHealthOsPerformanceRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsBatteryHealthOsPerformanceIdString provides operations to manage the userExperienceAnalyticsBatteryHealthOsPerformance property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsBatteryHealthOsPerformanceRequestBuilder) ByUserExperienceAnalyticsBatteryHealthOsPerformanceIdString(userExperienceAnalyticsBatteryHealthOsPerformanceId string)(*UserExperienceAnalyticsBatteryHealthOsPerformanceUserExperienceAnalyticsBatteryHealthOsPerformanceItemRequestBuilder) { +// ByUserExperienceAnalyticsBatteryHealthOsPerformanceId provides operations to manage the userExperienceAnalyticsBatteryHealthOsPerformance property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsBatteryHealthOsPerformanceRequestBuilder) ByUserExperienceAnalyticsBatteryHealthOsPerformanceId(userExperienceAnalyticsBatteryHealthOsPerformanceId string)(*UserExperienceAnalyticsBatteryHealthOsPerformanceUserExperienceAnalyticsBatteryHealthOsPerformanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsBatteryHealthOsPerformanceRequestBuilder) ToPost } 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 *UserExperienceAnalyticsBatteryHealthOsPerformanceRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBatteryHealthOsPerformanceRequestBuilder) { + return NewUserExperienceAnalyticsBatteryHealthOsPerformanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_battery_health_os_performance_user_experience_analytics_battery_health_os_performance_item_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_os_performance_user_experience_analytics_battery_health_os_performance_item_request_builder.go index 6b1779f1b0b..4d945f85bb1 100644 --- a/devicemanagement/user_experience_analytics_battery_health_os_performance_user_experience_analytics_battery_health_os_performance_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_os_performance_user_experience_analytics_battery_health_os_performance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsBatteryHealthOsPerformanceUserExperienceAnalytic } 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 *UserExperienceAnalyticsBatteryHealthOsPerformanceUserExperienceAnalyticsBatteryHealthOsPerformanceItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBatteryHealthOsPerformanceUserExperienceAnalyticsBatteryHealthOsPerformanceItemRequestBuilder) { + return NewUserExperienceAnalyticsBatteryHealthOsPerformanceUserExperienceAnalyticsBatteryHealthOsPerformanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_battery_health_runtime_details_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_runtime_details_request_builder.go index 0d68f7a36c1..5a4017b957f 100644 --- a/devicemanagement/user_experience_analytics_battery_health_runtime_details_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_runtime_details_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsBatteryHealthRuntimeDetailsRequestBuilder) 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 *UserExperienceAnalyticsBatteryHealthRuntimeDetailsRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsBatteryHealthRuntimeDetailsRequestBuilder) { + return NewUserExperienceAnalyticsBatteryHealthRuntimeDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_categories_count_request_builder.go b/devicemanagement/user_experience_analytics_categories_count_request_builder.go index 1c8f16dd8b5..731d95203bb 100644 --- a/devicemanagement/user_experience_analytics_categories_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_categories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsCategoriesCountRequestBuilder) ToGetRequestInfor } 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 *UserExperienceAnalyticsCategoriesCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsCategoriesCountRequestBuilder) { + return NewUserExperienceAnalyticsCategoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_categories_item_metric_values_count_request_builder.go b/devicemanagement/user_experience_analytics_categories_item_metric_values_count_request_builder.go index b3465add9ac..8184c9e1558 100644 --- a/devicemanagement/user_experience_analytics_categories_item_metric_values_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_categories_item_metric_values_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsCategoriesItemMetricValuesCountRequestBuilder) T } 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 *UserExperienceAnalyticsCategoriesItemMetricValuesCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsCategoriesItemMetricValuesCountRequestBuilder) { + return NewUserExperienceAnalyticsCategoriesItemMetricValuesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_categories_item_metric_values_request_builder.go b/devicemanagement/user_experience_analytics_categories_item_metric_values_request_builder.go index eb3d63652e2..a5ea360c76e 100644 --- a/devicemanagement/user_experience_analytics_categories_item_metric_values_request_builder.go +++ b/devicemanagement/user_experience_analytics_categories_item_metric_values_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsCategoriesItemMetricValuesRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsMetricIdString provides operations to manage the metricValues property of the microsoft.graph.userExperienceAnalyticsCategory entity. -func (m *UserExperienceAnalyticsCategoriesItemMetricValuesRequestBuilder) ByUserExperienceAnalyticsMetricIdString(userExperienceAnalyticsMetricId string)(*UserExperienceAnalyticsCategoriesItemMetricValuesUserExperienceAnalyticsMetricItemRequestBuilder) { +// ByUserExperienceAnalyticsMetricId provides operations to manage the metricValues property of the microsoft.graph.userExperienceAnalyticsCategory entity. +func (m *UserExperienceAnalyticsCategoriesItemMetricValuesRequestBuilder) ByUserExperienceAnalyticsMetricId(userExperienceAnalyticsMetricId string)(*UserExperienceAnalyticsCategoriesItemMetricValuesUserExperienceAnalyticsMetricItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsCategoriesItemMetricValuesRequestBuilder) ToPost } 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 *UserExperienceAnalyticsCategoriesItemMetricValuesRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsCategoriesItemMetricValuesRequestBuilder) { + return NewUserExperienceAnalyticsCategoriesItemMetricValuesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_categories_item_metric_values_user_experience_analytics_metric_item_request_builder.go b/devicemanagement/user_experience_analytics_categories_item_metric_values_user_experience_analytics_metric_item_request_builder.go index f1e1618eddf..92739001bfa 100644 --- a/devicemanagement/user_experience_analytics_categories_item_metric_values_user_experience_analytics_metric_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_categories_item_metric_values_user_experience_analytics_metric_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsCategoriesItemMetricValuesUserExperienceAnalytic } 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 *UserExperienceAnalyticsCategoriesItemMetricValuesUserExperienceAnalyticsMetricItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsCategoriesItemMetricValuesUserExperienceAnalyticsMetricItemRequestBuilder) { + return NewUserExperienceAnalyticsCategoriesItemMetricValuesUserExperienceAnalyticsMetricItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_categories_request_builder.go b/devicemanagement/user_experience_analytics_categories_request_builder.go index ce50ee4ee49..72bff153792 100644 --- a/devicemanagement/user_experience_analytics_categories_request_builder.go +++ b/devicemanagement/user_experience_analytics_categories_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsCategoriesRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsCategoryIdString provides operations to manage the userExperienceAnalyticsCategories property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsCategoriesRequestBuilder) ByUserExperienceAnalyticsCategoryIdString(userExperienceAnalyticsCategoryId string)(*UserExperienceAnalyticsCategoriesUserExperienceAnalyticsCategoryItemRequestBuilder) { +// ByUserExperienceAnalyticsCategoryId provides operations to manage the userExperienceAnalyticsCategories property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsCategoriesRequestBuilder) ByUserExperienceAnalyticsCategoryId(userExperienceAnalyticsCategoryId string)(*UserExperienceAnalyticsCategoriesUserExperienceAnalyticsCategoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsCategoriesRequestBuilder) ToPostRequestInformati } 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 *UserExperienceAnalyticsCategoriesRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsCategoriesRequestBuilder) { + return NewUserExperienceAnalyticsCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_categories_user_experience_analytics_category_item_request_builder.go b/devicemanagement/user_experience_analytics_categories_user_experience_analytics_category_item_request_builder.go index bab181ba26e..5dfd5271b6a 100644 --- a/devicemanagement/user_experience_analytics_categories_user_experience_analytics_category_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_categories_user_experience_analytics_category_item_request_builder.go @@ -157,3 +157,7 @@ func (m *UserExperienceAnalyticsCategoriesUserExperienceAnalyticsCategoryItemReq } 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 *UserExperienceAnalyticsCategoriesUserExperienceAnalyticsCategoryItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsCategoriesUserExperienceAnalyticsCategoryItemRequestBuilder) { + return NewUserExperienceAnalyticsCategoriesUserExperienceAnalyticsCategoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_metric_history_count_request_builder.go b/devicemanagement/user_experience_analytics_device_metric_history_count_request_builder.go index 755d1d4eec1..a512d96bf72 100644 --- a/devicemanagement/user_experience_analytics_device_metric_history_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_metric_history_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsDeviceMetricHistoryCountRequestBuilder) ToGetReq } 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 *UserExperienceAnalyticsDeviceMetricHistoryCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceMetricHistoryCountRequestBuilder) { + return NewUserExperienceAnalyticsDeviceMetricHistoryCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_metric_history_request_builder.go b/devicemanagement/user_experience_analytics_device_metric_history_request_builder.go index c953bf06dec..f0bc3a46fa3 100644 --- a/devicemanagement/user_experience_analytics_device_metric_history_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_metric_history_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsDeviceMetricHistoryRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsMetricHistoryIdString provides operations to manage the userExperienceAnalyticsDeviceMetricHistory property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsDeviceMetricHistoryRequestBuilder) ByUserExperienceAnalyticsMetricHistoryIdString(userExperienceAnalyticsMetricHistoryId string)(*UserExperienceAnalyticsDeviceMetricHistoryUserExperienceAnalyticsMetricHistoryItemRequestBuilder) { +// ByUserExperienceAnalyticsMetricHistoryId provides operations to manage the userExperienceAnalyticsDeviceMetricHistory property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsDeviceMetricHistoryRequestBuilder) ByUserExperienceAnalyticsMetricHistoryId(userExperienceAnalyticsMetricHistoryId string)(*UserExperienceAnalyticsDeviceMetricHistoryUserExperienceAnalyticsMetricHistoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsDeviceMetricHistoryRequestBuilder) ToPostRequest } 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 *UserExperienceAnalyticsDeviceMetricHistoryRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceMetricHistoryRequestBuilder) { + return NewUserExperienceAnalyticsDeviceMetricHistoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_metric_history_user_experience_analytics_metric_history_item_request_builder.go b/devicemanagement/user_experience_analytics_device_metric_history_user_experience_analytics_metric_history_item_request_builder.go index f6839dda974..6b062b7d462 100644 --- a/devicemanagement/user_experience_analytics_device_metric_history_user_experience_analytics_metric_history_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_metric_history_user_experience_analytics_metric_history_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsDeviceMetricHistoryUserExperienceAnalyticsMetric } 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 *UserExperienceAnalyticsDeviceMetricHistoryUserExperienceAnalyticsMetricHistoryItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceMetricHistoryUserExperienceAnalyticsMetricHistoryItemRequestBuilder) { + return NewUserExperienceAnalyticsDeviceMetricHistoryUserExperienceAnalyticsMetricHistoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_performance_count_request_builder.go b/devicemanagement/user_experience_analytics_device_performance_count_request_builder.go index 257238586d5..ecb2a3a020b 100644 --- a/devicemanagement/user_experience_analytics_device_performance_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_performance_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsDevicePerformanceCountRequestBuilder) ToGetReque } 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 *UserExperienceAnalyticsDevicePerformanceCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDevicePerformanceCountRequestBuilder) { + return NewUserExperienceAnalyticsDevicePerformanceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_performance_request_builder.go b/devicemanagement/user_experience_analytics_device_performance_request_builder.go index 45edfb4ee47..7a18f8e8bfa 100644 --- a/devicemanagement/user_experience_analytics_device_performance_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_performance_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsDevicePerformanceRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsDevicePerformanceIdString provides operations to manage the userExperienceAnalyticsDevicePerformance property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsDevicePerformanceRequestBuilder) ByUserExperienceAnalyticsDevicePerformanceIdString(userExperienceAnalyticsDevicePerformanceId string)(*UserExperienceAnalyticsDevicePerformanceUserExperienceAnalyticsDevicePerformanceItemRequestBuilder) { +// ByUserExperienceAnalyticsDevicePerformanceId provides operations to manage the userExperienceAnalyticsDevicePerformance property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsDevicePerformanceRequestBuilder) ByUserExperienceAnalyticsDevicePerformanceId(userExperienceAnalyticsDevicePerformanceId string)(*UserExperienceAnalyticsDevicePerformanceUserExperienceAnalyticsDevicePerformanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *UserExperienceAnalyticsDevicePerformanceRequestBuilder) ToPostRequestIn } 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 *UserExperienceAnalyticsDevicePerformanceRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDevicePerformanceRequestBuilder) { + return NewUserExperienceAnalyticsDevicePerformanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_performance_summarize_device_performance_devices_with_summarize_by_request_builder.go b/devicemanagement/user_experience_analytics_device_performance_summarize_device_performance_devices_with_summarize_by_request_builder.go index 37f3a836f99..a4813a8fd60 100644 --- a/devicemanagement/user_experience_analytics_device_performance_summarize_device_performance_devices_with_summarize_by_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_performance_summarize_device_performance_devices_with_summarize_by_request_builder.go @@ -87,3 +87,7 @@ func (m *UserExperienceAnalyticsDevicePerformanceSummarizeDevicePerformanceDevic } 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 *UserExperienceAnalyticsDevicePerformanceSummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDevicePerformanceSummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder) { + return NewUserExperienceAnalyticsDevicePerformanceSummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_performance_user_experience_analytics_device_performance_item_request_builder.go b/devicemanagement/user_experience_analytics_device_performance_user_experience_analytics_device_performance_item_request_builder.go index ec211679bf8..af2a76fa47e 100644 --- a/devicemanagement/user_experience_analytics_device_performance_user_experience_analytics_device_performance_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_performance_user_experience_analytics_device_performance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsDevicePerformanceUserExperienceAnalyticsDevicePe } 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 *UserExperienceAnalyticsDevicePerformanceUserExperienceAnalyticsDevicePerformanceItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDevicePerformanceUserExperienceAnalyticsDevicePerformanceItemRequestBuilder) { + return NewUserExperienceAnalyticsDevicePerformanceUserExperienceAnalyticsDevicePerformanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_scope_request_builder.go b/devicemanagement/user_experience_analytics_device_scope_request_builder.go index 972a7128477..30433eb8088 100644 --- a/devicemanagement/user_experience_analytics_device_scope_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_scope_request_builder.go @@ -157,3 +157,7 @@ func (m *UserExperienceAnalyticsDeviceScopeRequestBuilder) ToPatchRequestInforma func (m *UserExperienceAnalyticsDeviceScopeRequestBuilder) TriggerDeviceScopeAction()(*UserExperienceAnalyticsDeviceScopeTriggerDeviceScopeActionRequestBuilder) { return NewUserExperienceAnalyticsDeviceScopeTriggerDeviceScopeActionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *UserExperienceAnalyticsDeviceScopeRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceScopeRequestBuilder) { + return NewUserExperienceAnalyticsDeviceScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_scope_trigger_device_scope_action_request_builder.go b/devicemanagement/user_experience_analytics_device_scope_trigger_device_scope_action_request_builder.go index 7b7cd10e6b1..6758a96cb06 100644 --- a/devicemanagement/user_experience_analytics_device_scope_trigger_device_scope_action_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_scope_trigger_device_scope_action_request_builder.go @@ -67,3 +67,7 @@ func (m *UserExperienceAnalyticsDeviceScopeTriggerDeviceScopeActionRequestBuilde } 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 *UserExperienceAnalyticsDeviceScopeTriggerDeviceScopeActionRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceScopeTriggerDeviceScopeActionRequestBuilder) { + return NewUserExperienceAnalyticsDeviceScopeTriggerDeviceScopeActionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_scopes_count_request_builder.go b/devicemanagement/user_experience_analytics_device_scopes_count_request_builder.go index 49215be49da..2c11f497964 100644 --- a/devicemanagement/user_experience_analytics_device_scopes_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsDeviceScopesCountRequestBuilder) ToGetRequestInf } 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 *UserExperienceAnalyticsDeviceScopesCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceScopesCountRequestBuilder) { + return NewUserExperienceAnalyticsDeviceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_scopes_item_trigger_device_scope_action_request_builder.go b/devicemanagement/user_experience_analytics_device_scopes_item_trigger_device_scope_action_request_builder.go index 8a965169816..44d662f83b1 100644 --- a/devicemanagement/user_experience_analytics_device_scopes_item_trigger_device_scope_action_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_scopes_item_trigger_device_scope_action_request_builder.go @@ -67,3 +67,7 @@ func (m *UserExperienceAnalyticsDeviceScopesItemTriggerDeviceScopeActionRequestB } 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 *UserExperienceAnalyticsDeviceScopesItemTriggerDeviceScopeActionRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceScopesItemTriggerDeviceScopeActionRequestBuilder) { + return NewUserExperienceAnalyticsDeviceScopesItemTriggerDeviceScopeActionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_scopes_request_builder.go b/devicemanagement/user_experience_analytics_device_scopes_request_builder.go index 8e11a89b686..5224b928be8 100644 --- a/devicemanagement/user_experience_analytics_device_scopes_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_scopes_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsDeviceScopesRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsDeviceScopeIdString provides operations to manage the userExperienceAnalyticsDeviceScopes property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsDeviceScopesRequestBuilder) ByUserExperienceAnalyticsDeviceScopeIdString(userExperienceAnalyticsDeviceScopeId string)(*UserExperienceAnalyticsDeviceScopesUserExperienceAnalyticsDeviceScopeItemRequestBuilder) { +// ByUserExperienceAnalyticsDeviceScopeId provides operations to manage the userExperienceAnalyticsDeviceScopes property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsDeviceScopesRequestBuilder) ByUserExperienceAnalyticsDeviceScopeId(userExperienceAnalyticsDeviceScopeId string)(*UserExperienceAnalyticsDeviceScopesUserExperienceAnalyticsDeviceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsDeviceScopesRequestBuilder) ToPostRequestInforma } 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 *UserExperienceAnalyticsDeviceScopesRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceScopesRequestBuilder) { + return NewUserExperienceAnalyticsDeviceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_scopes_user_experience_analytics_device_scope_item_request_builder.go b/devicemanagement/user_experience_analytics_device_scopes_user_experience_analytics_device_scope_item_request_builder.go index c85c8c74dff..eb260b2e014 100644 --- a/devicemanagement/user_experience_analytics_device_scopes_user_experience_analytics_device_scope_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_scopes_user_experience_analytics_device_scope_item_request_builder.go @@ -157,3 +157,7 @@ func (m *UserExperienceAnalyticsDeviceScopesUserExperienceAnalyticsDeviceScopeIt func (m *UserExperienceAnalyticsDeviceScopesUserExperienceAnalyticsDeviceScopeItemRequestBuilder) TriggerDeviceScopeAction()(*UserExperienceAnalyticsDeviceScopesItemTriggerDeviceScopeActionRequestBuilder) { return NewUserExperienceAnalyticsDeviceScopesItemTriggerDeviceScopeActionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *UserExperienceAnalyticsDeviceScopesUserExperienceAnalyticsDeviceScopeItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceScopesUserExperienceAnalyticsDeviceScopeItemRequestBuilder) { + return NewUserExperienceAnalyticsDeviceScopesUserExperienceAnalyticsDeviceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_scores_count_request_builder.go b/devicemanagement/user_experience_analytics_device_scores_count_request_builder.go index e70fa613343..df6fafa67b2 100644 --- a/devicemanagement/user_experience_analytics_device_scores_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_scores_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsDeviceScoresCountRequestBuilder) ToGetRequestInf } 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 *UserExperienceAnalyticsDeviceScoresCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceScoresCountRequestBuilder) { + return NewUserExperienceAnalyticsDeviceScoresCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_scores_request_builder.go b/devicemanagement/user_experience_analytics_device_scores_request_builder.go index 86c34e4569d..a513bea5ca9 100644 --- a/devicemanagement/user_experience_analytics_device_scores_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_scores_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsDeviceScoresRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsDeviceScoresIdString provides operations to manage the userExperienceAnalyticsDeviceScores property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsDeviceScoresRequestBuilder) ByUserExperienceAnalyticsDeviceScoresIdString(userExperienceAnalyticsDeviceScoresId string)(*UserExperienceAnalyticsDeviceScoresUserExperienceAnalyticsDeviceScoresItemRequestBuilder) { +// ByUserExperienceAnalyticsDeviceScoresId provides operations to manage the userExperienceAnalyticsDeviceScores property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsDeviceScoresRequestBuilder) ByUserExperienceAnalyticsDeviceScoresId(userExperienceAnalyticsDeviceScoresId string)(*UserExperienceAnalyticsDeviceScoresUserExperienceAnalyticsDeviceScoresItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsDeviceScoresRequestBuilder) ToPostRequestInforma } 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 *UserExperienceAnalyticsDeviceScoresRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceScoresRequestBuilder) { + return NewUserExperienceAnalyticsDeviceScoresRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_scores_user_experience_analytics_device_scores_item_request_builder.go b/devicemanagement/user_experience_analytics_device_scores_user_experience_analytics_device_scores_item_request_builder.go index 7748a5446cf..70aebcc84db 100644 --- a/devicemanagement/user_experience_analytics_device_scores_user_experience_analytics_device_scores_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_scores_user_experience_analytics_device_scores_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsDeviceScoresUserExperienceAnalyticsDeviceScoresI } 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 *UserExperienceAnalyticsDeviceScoresUserExperienceAnalyticsDeviceScoresItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceScoresUserExperienceAnalyticsDeviceScoresItemRequestBuilder) { + return NewUserExperienceAnalyticsDeviceScoresUserExperienceAnalyticsDeviceScoresItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_startup_history_count_request_builder.go b/devicemanagement/user_experience_analytics_device_startup_history_count_request_builder.go index 99a57f0462e..4d7155959b3 100644 --- a/devicemanagement/user_experience_analytics_device_startup_history_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_startup_history_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsDeviceStartupHistoryCountRequestBuilder) ToGetRe } 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 *UserExperienceAnalyticsDeviceStartupHistoryCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceStartupHistoryCountRequestBuilder) { + return NewUserExperienceAnalyticsDeviceStartupHistoryCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_startup_history_request_builder.go b/devicemanagement/user_experience_analytics_device_startup_history_request_builder.go index 7875dd78997..2767705f40d 100644 --- a/devicemanagement/user_experience_analytics_device_startup_history_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_startup_history_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsDeviceStartupHistoryRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsDeviceStartupHistoryIdString provides operations to manage the userExperienceAnalyticsDeviceStartupHistory property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder) ByUserExperienceAnalyticsDeviceStartupHistoryIdString(userExperienceAnalyticsDeviceStartupHistoryId string)(*UserExperienceAnalyticsDeviceStartupHistoryUserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder) { +// ByUserExperienceAnalyticsDeviceStartupHistoryId provides operations to manage the userExperienceAnalyticsDeviceStartupHistory property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder) ByUserExperienceAnalyticsDeviceStartupHistoryId(userExperienceAnalyticsDeviceStartupHistoryId string)(*UserExperienceAnalyticsDeviceStartupHistoryUserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder) ToPostReques } 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 *UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder) { + return NewUserExperienceAnalyticsDeviceStartupHistoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_startup_history_user_experience_analytics_device_startup_history_item_request_builder.go b/devicemanagement/user_experience_analytics_device_startup_history_user_experience_analytics_device_startup_history_item_request_builder.go index 4cf389d3fa4..034e06f7343 100644 --- a/devicemanagement/user_experience_analytics_device_startup_history_user_experience_analytics_device_startup_history_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_startup_history_user_experience_analytics_device_startup_history_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsDeviceStartupHistoryUserExperienceAnalyticsDevic } 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 *UserExperienceAnalyticsDeviceStartupHistoryUserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceStartupHistoryUserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder) { + return NewUserExperienceAnalyticsDeviceStartupHistoryUserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_startup_process_performance_count_request_builder.go b/devicemanagement/user_experience_analytics_device_startup_process_performance_count_request_builder.go index 0dbb79e7c78..88467de21a4 100644 --- a/devicemanagement/user_experience_analytics_device_startup_process_performance_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_startup_process_performance_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsDeviceStartupProcessPerformanceCountRequestBuild } 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 *UserExperienceAnalyticsDeviceStartupProcessPerformanceCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceStartupProcessPerformanceCountRequestBuilder) { + return NewUserExperienceAnalyticsDeviceStartupProcessPerformanceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_startup_process_performance_request_builder.go b/devicemanagement/user_experience_analytics_device_startup_process_performance_request_builder.go index 2b56d0d3aa6..2b6f68bda02 100644 --- a/devicemanagement/user_experience_analytics_device_startup_process_performance_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_startup_process_performance_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilderPostReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsDeviceStartupProcessPerformanceIdString provides operations to manage the userExperienceAnalyticsDeviceStartupProcessPerformance property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder) ByUserExperienceAnalyticsDeviceStartupProcessPerformanceIdString(userExperienceAnalyticsDeviceStartupProcessPerformanceId string)(*UserExperienceAnalyticsDeviceStartupProcessPerformanceUserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder) { +// ByUserExperienceAnalyticsDeviceStartupProcessPerformanceId provides operations to manage the userExperienceAnalyticsDeviceStartupProcessPerformance property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder) ByUserExperienceAnalyticsDeviceStartupProcessPerformanceId(userExperienceAnalyticsDeviceStartupProcessPerformanceId string)(*UserExperienceAnalyticsDeviceStartupProcessPerformanceUserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder) T } 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 *UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder) { + return NewUserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_startup_process_performance_user_experience_analytics_device_startup_process_performance_item_request_builder.go b/devicemanagement/user_experience_analytics_device_startup_process_performance_user_experience_analytics_device_startup_process_performance_item_request_builder.go index a722525721a..37810f243ae 100644 --- a/devicemanagement/user_experience_analytics_device_startup_process_performance_user_experience_analytics_device_startup_process_performance_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_startup_process_performance_user_experience_analytics_device_startup_process_performance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsDeviceStartupProcessPerformanceUserExperienceAna } 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 *UserExperienceAnalyticsDeviceStartupProcessPerformanceUserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceStartupProcessPerformanceUserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder) { + return NewUserExperienceAnalyticsDeviceStartupProcessPerformanceUserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_startup_processes_count_request_builder.go b/devicemanagement/user_experience_analytics_device_startup_processes_count_request_builder.go index 12989492066..2ec1301d7f4 100644 --- a/devicemanagement/user_experience_analytics_device_startup_processes_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_startup_processes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsDeviceStartupProcessesCountRequestBuilder) ToGet } 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 *UserExperienceAnalyticsDeviceStartupProcessesCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceStartupProcessesCountRequestBuilder) { + return NewUserExperienceAnalyticsDeviceStartupProcessesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_startup_processes_request_builder.go b/devicemanagement/user_experience_analytics_device_startup_processes_request_builder.go index f91d8ebaa7c..e5d36db51c4 100644 --- a/devicemanagement/user_experience_analytics_device_startup_processes_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_startup_processes_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsDeviceStartupProcessesRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsDeviceStartupProcessIdString provides operations to manage the userExperienceAnalyticsDeviceStartupProcesses property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder) ByUserExperienceAnalyticsDeviceStartupProcessIdString(userExperienceAnalyticsDeviceStartupProcessId string)(*UserExperienceAnalyticsDeviceStartupProcessesUserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder) { +// ByUserExperienceAnalyticsDeviceStartupProcessId provides operations to manage the userExperienceAnalyticsDeviceStartupProcesses property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder) ByUserExperienceAnalyticsDeviceStartupProcessId(userExperienceAnalyticsDeviceStartupProcessId string)(*UserExperienceAnalyticsDeviceStartupProcessesUserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder) ToPostRequ } 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 *UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder) { + return NewUserExperienceAnalyticsDeviceStartupProcessesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_startup_processes_user_experience_analytics_device_startup_process_item_request_builder.go b/devicemanagement/user_experience_analytics_device_startup_processes_user_experience_analytics_device_startup_process_item_request_builder.go index 297ed25b372..660b9eca20f 100644 --- a/devicemanagement/user_experience_analytics_device_startup_processes_user_experience_analytics_device_startup_process_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_startup_processes_user_experience_analytics_device_startup_process_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsDeviceStartupProcessesUserExperienceAnalyticsDev } 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 *UserExperienceAnalyticsDeviceStartupProcessesUserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceStartupProcessesUserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder) { + return NewUserExperienceAnalyticsDeviceStartupProcessesUserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_timeline_event_count_request_builder.go b/devicemanagement/user_experience_analytics_device_timeline_event_count_request_builder.go index eac3ce70426..03e7d7d9ee5 100644 --- a/devicemanagement/user_experience_analytics_device_timeline_event_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_timeline_event_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsDeviceTimelineEventCountRequestBuilder) ToGetReq } 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 *UserExperienceAnalyticsDeviceTimelineEventCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceTimelineEventCountRequestBuilder) { + return NewUserExperienceAnalyticsDeviceTimelineEventCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_timeline_event_request_builder.go b/devicemanagement/user_experience_analytics_device_timeline_event_request_builder.go index a2a27c7ab5a..f853b752928 100644 --- a/devicemanagement/user_experience_analytics_device_timeline_event_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_timeline_event_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsDeviceTimelineEventRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsDeviceTimelineEventIdString provides operations to manage the userExperienceAnalyticsDeviceTimelineEvent property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsDeviceTimelineEventRequestBuilder) ByUserExperienceAnalyticsDeviceTimelineEventIdString(userExperienceAnalyticsDeviceTimelineEventId string)(*UserExperienceAnalyticsDeviceTimelineEventUserExperienceAnalyticsDeviceTimelineEventItemRequestBuilder) { +// ByUserExperienceAnalyticsDeviceTimelineEventId provides operations to manage the userExperienceAnalyticsDeviceTimelineEvent property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsDeviceTimelineEventRequestBuilder) ByUserExperienceAnalyticsDeviceTimelineEventId(userExperienceAnalyticsDeviceTimelineEventId string)(*UserExperienceAnalyticsDeviceTimelineEventUserExperienceAnalyticsDeviceTimelineEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsDeviceTimelineEventRequestBuilder) ToPostRequest } 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 *UserExperienceAnalyticsDeviceTimelineEventRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceTimelineEventRequestBuilder) { + return NewUserExperienceAnalyticsDeviceTimelineEventRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_device_timeline_event_user_experience_analytics_device_timeline_event_item_request_builder.go b/devicemanagement/user_experience_analytics_device_timeline_event_user_experience_analytics_device_timeline_event_item_request_builder.go index 5b5e0c3a93a..da6d768e598 100644 --- a/devicemanagement/user_experience_analytics_device_timeline_event_user_experience_analytics_device_timeline_event_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_timeline_event_user_experience_analytics_device_timeline_event_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsDeviceTimelineEventUserExperienceAnalyticsDevice } 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 *UserExperienceAnalyticsDeviceTimelineEventUserExperienceAnalyticsDeviceTimelineEventItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDeviceTimelineEventUserExperienceAnalyticsDeviceTimelineEventItemRequestBuilder) { + return NewUserExperienceAnalyticsDeviceTimelineEventUserExperienceAnalyticsDeviceTimelineEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_devices_without_cloud_identity_count_request_builder.go b/devicemanagement/user_experience_analytics_devices_without_cloud_identity_count_request_builder.go index dd083f14de5..fa7960f3ea1 100644 --- a/devicemanagement/user_experience_analytics_devices_without_cloud_identity_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_devices_without_cloud_identity_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsDevicesWithoutCloudIdentityCountRequestBuilder) } 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 *UserExperienceAnalyticsDevicesWithoutCloudIdentityCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDevicesWithoutCloudIdentityCountRequestBuilder) { + return NewUserExperienceAnalyticsDevicesWithoutCloudIdentityCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_devices_without_cloud_identity_request_builder.go b/devicemanagement/user_experience_analytics_devices_without_cloud_identity_request_builder.go index 55b81a9fd10..a302e0105e4 100644 --- a/devicemanagement/user_experience_analytics_devices_without_cloud_identity_request_builder.go +++ b/devicemanagement/user_experience_analytics_devices_without_cloud_identity_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsDevicesWithoutCloudIdentityRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsDeviceWithoutCloudIdentityIdString provides operations to manage the userExperienceAnalyticsDevicesWithoutCloudIdentity property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsDevicesWithoutCloudIdentityRequestBuilder) ByUserExperienceAnalyticsDeviceWithoutCloudIdentityIdString(userExperienceAnalyticsDeviceWithoutCloudIdentityId string)(*UserExperienceAnalyticsDevicesWithoutCloudIdentityUserExperienceAnalyticsDeviceWithoutCloudIdentityItemRequestBuilder) { +// ByUserExperienceAnalyticsDeviceWithoutCloudIdentityId provides operations to manage the userExperienceAnalyticsDevicesWithoutCloudIdentity property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsDevicesWithoutCloudIdentityRequestBuilder) ByUserExperienceAnalyticsDeviceWithoutCloudIdentityId(userExperienceAnalyticsDeviceWithoutCloudIdentityId string)(*UserExperienceAnalyticsDevicesWithoutCloudIdentityUserExperienceAnalyticsDeviceWithoutCloudIdentityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsDevicesWithoutCloudIdentityRequestBuilder) ToPos } 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 *UserExperienceAnalyticsDevicesWithoutCloudIdentityRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDevicesWithoutCloudIdentityRequestBuilder) { + return NewUserExperienceAnalyticsDevicesWithoutCloudIdentityRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_devices_without_cloud_identity_user_experience_analytics_device_without_cloud_identity_item_request_builder.go b/devicemanagement/user_experience_analytics_devices_without_cloud_identity_user_experience_analytics_device_without_cloud_identity_item_request_builder.go index 4f798548068..7024a4b74c7 100644 --- a/devicemanagement/user_experience_analytics_devices_without_cloud_identity_user_experience_analytics_device_without_cloud_identity_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_devices_without_cloud_identity_user_experience_analytics_device_without_cloud_identity_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsDevicesWithoutCloudIdentityUserExperienceAnalyti } 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 *UserExperienceAnalyticsDevicesWithoutCloudIdentityUserExperienceAnalyticsDeviceWithoutCloudIdentityItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsDevicesWithoutCloudIdentityUserExperienceAnalyticsDeviceWithoutCloudIdentityItemRequestBuilder) { + return NewUserExperienceAnalyticsDevicesWithoutCloudIdentityUserExperienceAnalyticsDeviceWithoutCloudIdentityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_impacting_process_count_request_builder.go b/devicemanagement/user_experience_analytics_impacting_process_count_request_builder.go index 090648369c4..9c45643cac8 100644 --- a/devicemanagement/user_experience_analytics_impacting_process_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_impacting_process_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsImpactingProcessCountRequestBuilder) ToGetReques } 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 *UserExperienceAnalyticsImpactingProcessCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsImpactingProcessCountRequestBuilder) { + return NewUserExperienceAnalyticsImpactingProcessCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_impacting_process_request_builder.go b/devicemanagement/user_experience_analytics_impacting_process_request_builder.go index 08539c7a8bf..48c1417eeed 100644 --- a/devicemanagement/user_experience_analytics_impacting_process_request_builder.go +++ b/devicemanagement/user_experience_analytics_impacting_process_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsImpactingProcessRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsImpactingProcessIdString provides operations to manage the userExperienceAnalyticsImpactingProcess property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsImpactingProcessRequestBuilder) ByUserExperienceAnalyticsImpactingProcessIdString(userExperienceAnalyticsImpactingProcessId string)(*UserExperienceAnalyticsImpactingProcessUserExperienceAnalyticsImpactingProcessItemRequestBuilder) { +// ByUserExperienceAnalyticsImpactingProcessId provides operations to manage the userExperienceAnalyticsImpactingProcess property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsImpactingProcessRequestBuilder) ByUserExperienceAnalyticsImpactingProcessId(userExperienceAnalyticsImpactingProcessId string)(*UserExperienceAnalyticsImpactingProcessUserExperienceAnalyticsImpactingProcessItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsImpactingProcessRequestBuilder) ToPostRequestInf } 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 *UserExperienceAnalyticsImpactingProcessRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsImpactingProcessRequestBuilder) { + return NewUserExperienceAnalyticsImpactingProcessRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_impacting_process_user_experience_analytics_impacting_process_item_request_builder.go b/devicemanagement/user_experience_analytics_impacting_process_user_experience_analytics_impacting_process_item_request_builder.go index e8279af155c..7717501beea 100644 --- a/devicemanagement/user_experience_analytics_impacting_process_user_experience_analytics_impacting_process_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_impacting_process_user_experience_analytics_impacting_process_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsImpactingProcessUserExperienceAnalyticsImpacting } 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 *UserExperienceAnalyticsImpactingProcessUserExperienceAnalyticsImpactingProcessItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsImpactingProcessUserExperienceAnalyticsImpactingProcessItemRequestBuilder) { + return NewUserExperienceAnalyticsImpactingProcessUserExperienceAnalyticsImpactingProcessItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_metric_history_count_request_builder.go b/devicemanagement/user_experience_analytics_metric_history_count_request_builder.go index b6c7486ad5d..cb7130c7678 100644 --- a/devicemanagement/user_experience_analytics_metric_history_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_metric_history_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsMetricHistoryCountRequestBuilder) ToGetRequestIn } 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 *UserExperienceAnalyticsMetricHistoryCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsMetricHistoryCountRequestBuilder) { + return NewUserExperienceAnalyticsMetricHistoryCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_metric_history_request_builder.go b/devicemanagement/user_experience_analytics_metric_history_request_builder.go index 10caeda62b8..d662f654b83 100644 --- a/devicemanagement/user_experience_analytics_metric_history_request_builder.go +++ b/devicemanagement/user_experience_analytics_metric_history_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsMetricHistoryRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsMetricHistoryIdString provides operations to manage the userExperienceAnalyticsMetricHistory property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsMetricHistoryRequestBuilder) ByUserExperienceAnalyticsMetricHistoryIdString(userExperienceAnalyticsMetricHistoryId string)(*UserExperienceAnalyticsMetricHistoryUserExperienceAnalyticsMetricHistoryItemRequestBuilder) { +// ByUserExperienceAnalyticsMetricHistoryId provides operations to manage the userExperienceAnalyticsMetricHistory property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsMetricHistoryRequestBuilder) ByUserExperienceAnalyticsMetricHistoryId(userExperienceAnalyticsMetricHistoryId string)(*UserExperienceAnalyticsMetricHistoryUserExperienceAnalyticsMetricHistoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsMetricHistoryRequestBuilder) ToPostRequestInform } 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 *UserExperienceAnalyticsMetricHistoryRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsMetricHistoryRequestBuilder) { + return NewUserExperienceAnalyticsMetricHistoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_metric_history_user_experience_analytics_metric_history_item_request_builder.go b/devicemanagement/user_experience_analytics_metric_history_user_experience_analytics_metric_history_item_request_builder.go index 8566d5abfe5..e96cec851f3 100644 --- a/devicemanagement/user_experience_analytics_metric_history_user_experience_analytics_metric_history_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_metric_history_user_experience_analytics_metric_history_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsMetricHistoryUserExperienceAnalyticsMetricHistor } 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 *UserExperienceAnalyticsMetricHistoryUserExperienceAnalyticsMetricHistoryItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsMetricHistoryUserExperienceAnalyticsMetricHistoryItemRequestBuilder) { + return NewUserExperienceAnalyticsMetricHistoryUserExperienceAnalyticsMetricHistoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_model_scores_count_request_builder.go b/devicemanagement/user_experience_analytics_model_scores_count_request_builder.go index 64e14bb1a47..9ed3c5af339 100644 --- a/devicemanagement/user_experience_analytics_model_scores_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_model_scores_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsModelScoresCountRequestBuilder) ToGetRequestInfo } 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 *UserExperienceAnalyticsModelScoresCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsModelScoresCountRequestBuilder) { + return NewUserExperienceAnalyticsModelScoresCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_model_scores_request_builder.go b/devicemanagement/user_experience_analytics_model_scores_request_builder.go index 0083d800b95..d7a2a89cc99 100644 --- a/devicemanagement/user_experience_analytics_model_scores_request_builder.go +++ b/devicemanagement/user_experience_analytics_model_scores_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsModelScoresRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsModelScoresIdString provides operations to manage the userExperienceAnalyticsModelScores property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsModelScoresRequestBuilder) ByUserExperienceAnalyticsModelScoresIdString(userExperienceAnalyticsModelScoresId string)(*UserExperienceAnalyticsModelScoresUserExperienceAnalyticsModelScoresItemRequestBuilder) { +// ByUserExperienceAnalyticsModelScoresId provides operations to manage the userExperienceAnalyticsModelScores property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsModelScoresRequestBuilder) ByUserExperienceAnalyticsModelScoresId(userExperienceAnalyticsModelScoresId string)(*UserExperienceAnalyticsModelScoresUserExperienceAnalyticsModelScoresItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsModelScoresRequestBuilder) ToPostRequestInformat } 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 *UserExperienceAnalyticsModelScoresRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsModelScoresRequestBuilder) { + return NewUserExperienceAnalyticsModelScoresRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_model_scores_user_experience_analytics_model_scores_item_request_builder.go b/devicemanagement/user_experience_analytics_model_scores_user_experience_analytics_model_scores_item_request_builder.go index f0cabfb8880..fd0725d91cc 100644 --- a/devicemanagement/user_experience_analytics_model_scores_user_experience_analytics_model_scores_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_model_scores_user_experience_analytics_model_scores_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsModelScoresUserExperienceAnalyticsModelScoresIte } 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 *UserExperienceAnalyticsModelScoresUserExperienceAnalyticsModelScoresItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsModelScoresUserExperienceAnalyticsModelScoresItemRequestBuilder) { + return NewUserExperienceAnalyticsModelScoresUserExperienceAnalyticsModelScoresItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_not_autopilot_ready_device_count_request_builder.go b/devicemanagement/user_experience_analytics_not_autopilot_ready_device_count_request_builder.go index 3c6c383e261..0cd42665c2e 100644 --- a/devicemanagement/user_experience_analytics_not_autopilot_ready_device_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_not_autopilot_ready_device_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsNotAutopilotReadyDeviceCountRequestBuilder) ToGe } 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 *UserExperienceAnalyticsNotAutopilotReadyDeviceCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsNotAutopilotReadyDeviceCountRequestBuilder) { + return NewUserExperienceAnalyticsNotAutopilotReadyDeviceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_not_autopilot_ready_device_request_builder.go b/devicemanagement/user_experience_analytics_not_autopilot_ready_device_request_builder.go index b1855d855f1..b81ef6d75e3 100644 --- a/devicemanagement/user_experience_analytics_not_autopilot_ready_device_request_builder.go +++ b/devicemanagement/user_experience_analytics_not_autopilot_ready_device_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsNotAutopilotReadyDeviceRequestBuilderPostRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsNotAutopilotReadyDeviceIdString provides operations to manage the userExperienceAnalyticsNotAutopilotReadyDevice property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsNotAutopilotReadyDeviceRequestBuilder) ByUserExperienceAnalyticsNotAutopilotReadyDeviceIdString(userExperienceAnalyticsNotAutopilotReadyDeviceId string)(*UserExperienceAnalyticsNotAutopilotReadyDeviceUserExperienceAnalyticsNotAutopilotReadyDeviceItemRequestBuilder) { +// ByUserExperienceAnalyticsNotAutopilotReadyDeviceId provides operations to manage the userExperienceAnalyticsNotAutopilotReadyDevice property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsNotAutopilotReadyDeviceRequestBuilder) ByUserExperienceAnalyticsNotAutopilotReadyDeviceId(userExperienceAnalyticsNotAutopilotReadyDeviceId string)(*UserExperienceAnalyticsNotAutopilotReadyDeviceUserExperienceAnalyticsNotAutopilotReadyDeviceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsNotAutopilotReadyDeviceRequestBuilder) ToPostReq } 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 *UserExperienceAnalyticsNotAutopilotReadyDeviceRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsNotAutopilotReadyDeviceRequestBuilder) { + return NewUserExperienceAnalyticsNotAutopilotReadyDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_not_autopilot_ready_device_user_experience_analytics_not_autopilot_ready_device_item_request_builder.go b/devicemanagement/user_experience_analytics_not_autopilot_ready_device_user_experience_analytics_not_autopilot_ready_device_item_request_builder.go index 5083dfbea03..8afee7c79c3 100644 --- a/devicemanagement/user_experience_analytics_not_autopilot_ready_device_user_experience_analytics_not_autopilot_ready_device_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_not_autopilot_ready_device_user_experience_analytics_not_autopilot_ready_device_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsNotAutopilotReadyDeviceUserExperienceAnalyticsNo } 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 *UserExperienceAnalyticsNotAutopilotReadyDeviceUserExperienceAnalyticsNotAutopilotReadyDeviceItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsNotAutopilotReadyDeviceUserExperienceAnalyticsNotAutopilotReadyDeviceItemRequestBuilder) { + return NewUserExperienceAnalyticsNotAutopilotReadyDeviceUserExperienceAnalyticsNotAutopilotReadyDeviceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_overview_request_builder.go b/devicemanagement/user_experience_analytics_overview_request_builder.go index 62c442ecebf..da9ba2938ef 100644 --- a/devicemanagement/user_experience_analytics_overview_request_builder.go +++ b/devicemanagement/user_experience_analytics_overview_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsOverviewRequestBuilder) ToPatchRequestInformatio } 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 *UserExperienceAnalyticsOverviewRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsOverviewRequestBuilder) { + return NewUserExperienceAnalyticsOverviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_remote_connection_count_request_builder.go b/devicemanagement/user_experience_analytics_remote_connection_count_request_builder.go index 7bb5296886b..514e7aeea4a 100644 --- a/devicemanagement/user_experience_analytics_remote_connection_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_remote_connection_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsRemoteConnectionCountRequestBuilder) ToGetReques } 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 *UserExperienceAnalyticsRemoteConnectionCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsRemoteConnectionCountRequestBuilder) { + return NewUserExperienceAnalyticsRemoteConnectionCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_remote_connection_request_builder.go b/devicemanagement/user_experience_analytics_remote_connection_request_builder.go index 34a37b7d3fd..c559de04c18 100644 --- a/devicemanagement/user_experience_analytics_remote_connection_request_builder.go +++ b/devicemanagement/user_experience_analytics_remote_connection_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsRemoteConnectionRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsRemoteConnectionIdString provides operations to manage the userExperienceAnalyticsRemoteConnection property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsRemoteConnectionRequestBuilder) ByUserExperienceAnalyticsRemoteConnectionIdString(userExperienceAnalyticsRemoteConnectionId string)(*UserExperienceAnalyticsRemoteConnectionUserExperienceAnalyticsRemoteConnectionItemRequestBuilder) { +// ByUserExperienceAnalyticsRemoteConnectionId provides operations to manage the userExperienceAnalyticsRemoteConnection property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsRemoteConnectionRequestBuilder) ByUserExperienceAnalyticsRemoteConnectionId(userExperienceAnalyticsRemoteConnectionId string)(*UserExperienceAnalyticsRemoteConnectionUserExperienceAnalyticsRemoteConnectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *UserExperienceAnalyticsRemoteConnectionRequestBuilder) ToPostRequestInf } 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 *UserExperienceAnalyticsRemoteConnectionRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsRemoteConnectionRequestBuilder) { + return NewUserExperienceAnalyticsRemoteConnectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_remote_connection_summarize_device_remote_connection_with_summarize_by_request_builder.go b/devicemanagement/user_experience_analytics_remote_connection_summarize_device_remote_connection_with_summarize_by_request_builder.go index ccb6a7e156c..8dcd6a5e99c 100644 --- a/devicemanagement/user_experience_analytics_remote_connection_summarize_device_remote_connection_with_summarize_by_request_builder.go +++ b/devicemanagement/user_experience_analytics_remote_connection_summarize_device_remote_connection_with_summarize_by_request_builder.go @@ -87,3 +87,7 @@ func (m *UserExperienceAnalyticsRemoteConnectionSummarizeDeviceRemoteConnectionW } 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 *UserExperienceAnalyticsRemoteConnectionSummarizeDeviceRemoteConnectionWithSummarizeByRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsRemoteConnectionSummarizeDeviceRemoteConnectionWithSummarizeByRequestBuilder) { + return NewUserExperienceAnalyticsRemoteConnectionSummarizeDeviceRemoteConnectionWithSummarizeByRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_remote_connection_user_experience_analytics_remote_connection_item_request_builder.go b/devicemanagement/user_experience_analytics_remote_connection_user_experience_analytics_remote_connection_item_request_builder.go index d8dfcf88b6f..4e874b7d043 100644 --- a/devicemanagement/user_experience_analytics_remote_connection_user_experience_analytics_remote_connection_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_remote_connection_user_experience_analytics_remote_connection_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsRemoteConnectionUserExperienceAnalyticsRemoteCon } 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 *UserExperienceAnalyticsRemoteConnectionUserExperienceAnalyticsRemoteConnectionItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsRemoteConnectionUserExperienceAnalyticsRemoteConnectionItemRequestBuilder) { + return NewUserExperienceAnalyticsRemoteConnectionUserExperienceAnalyticsRemoteConnectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_resource_performance_count_request_builder.go b/devicemanagement/user_experience_analytics_resource_performance_count_request_builder.go index 369bca0b89e..165b1c4ce4f 100644 --- a/devicemanagement/user_experience_analytics_resource_performance_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_resource_performance_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsResourcePerformanceCountRequestBuilder) ToGetReq } 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 *UserExperienceAnalyticsResourcePerformanceCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsResourcePerformanceCountRequestBuilder) { + return NewUserExperienceAnalyticsResourcePerformanceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_resource_performance_request_builder.go b/devicemanagement/user_experience_analytics_resource_performance_request_builder.go index c765ce299ba..ee02bb15ea9 100644 --- a/devicemanagement/user_experience_analytics_resource_performance_request_builder.go +++ b/devicemanagement/user_experience_analytics_resource_performance_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsResourcePerformanceRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsResourcePerformanceIdString provides operations to manage the userExperienceAnalyticsResourcePerformance property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsResourcePerformanceRequestBuilder) ByUserExperienceAnalyticsResourcePerformanceIdString(userExperienceAnalyticsResourcePerformanceId string)(*UserExperienceAnalyticsResourcePerformanceUserExperienceAnalyticsResourcePerformanceItemRequestBuilder) { +// ByUserExperienceAnalyticsResourcePerformanceId provides operations to manage the userExperienceAnalyticsResourcePerformance property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsResourcePerformanceRequestBuilder) ByUserExperienceAnalyticsResourcePerformanceId(userExperienceAnalyticsResourcePerformanceId string)(*UserExperienceAnalyticsResourcePerformanceUserExperienceAnalyticsResourcePerformanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *UserExperienceAnalyticsResourcePerformanceRequestBuilder) ToPostRequest } 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 *UserExperienceAnalyticsResourcePerformanceRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsResourcePerformanceRequestBuilder) { + return NewUserExperienceAnalyticsResourcePerformanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_resource_performance_summarize_device_resource_performance_with_summarize_by_request_builder.go b/devicemanagement/user_experience_analytics_resource_performance_summarize_device_resource_performance_with_summarize_by_request_builder.go index 42028daa36c..343af6ba73d 100644 --- a/devicemanagement/user_experience_analytics_resource_performance_summarize_device_resource_performance_with_summarize_by_request_builder.go +++ b/devicemanagement/user_experience_analytics_resource_performance_summarize_device_resource_performance_with_summarize_by_request_builder.go @@ -87,3 +87,7 @@ func (m *UserExperienceAnalyticsResourcePerformanceSummarizeDeviceResourcePerfor } 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 *UserExperienceAnalyticsResourcePerformanceSummarizeDeviceResourcePerformanceWithSummarizeByRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsResourcePerformanceSummarizeDeviceResourcePerformanceWithSummarizeByRequestBuilder) { + return NewUserExperienceAnalyticsResourcePerformanceSummarizeDeviceResourcePerformanceWithSummarizeByRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_resource_performance_user_experience_analytics_resource_performance_item_request_builder.go b/devicemanagement/user_experience_analytics_resource_performance_user_experience_analytics_resource_performance_item_request_builder.go index 65b538c6087..3b83bef3365 100644 --- a/devicemanagement/user_experience_analytics_resource_performance_user_experience_analytics_resource_performance_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_resource_performance_user_experience_analytics_resource_performance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsResourcePerformanceUserExperienceAnalyticsResour } 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 *UserExperienceAnalyticsResourcePerformanceUserExperienceAnalyticsResourcePerformanceItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsResourcePerformanceUserExperienceAnalyticsResourcePerformanceItemRequestBuilder) { + return NewUserExperienceAnalyticsResourcePerformanceUserExperienceAnalyticsResourcePerformanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_score_history_count_request_builder.go b/devicemanagement/user_experience_analytics_score_history_count_request_builder.go index e743311fe6a..dbb2c872860 100644 --- a/devicemanagement/user_experience_analytics_score_history_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_score_history_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsScoreHistoryCountRequestBuilder) ToGetRequestInf } 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 *UserExperienceAnalyticsScoreHistoryCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsScoreHistoryCountRequestBuilder) { + return NewUserExperienceAnalyticsScoreHistoryCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_score_history_request_builder.go b/devicemanagement/user_experience_analytics_score_history_request_builder.go index 33212d2ed39..5a7a6d0efd5 100644 --- a/devicemanagement/user_experience_analytics_score_history_request_builder.go +++ b/devicemanagement/user_experience_analytics_score_history_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsScoreHistoryRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsScoreHistoryIdString provides operations to manage the userExperienceAnalyticsScoreHistory property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsScoreHistoryRequestBuilder) ByUserExperienceAnalyticsScoreHistoryIdString(userExperienceAnalyticsScoreHistoryId string)(*UserExperienceAnalyticsScoreHistoryUserExperienceAnalyticsScoreHistoryItemRequestBuilder) { +// ByUserExperienceAnalyticsScoreHistoryId provides operations to manage the userExperienceAnalyticsScoreHistory property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsScoreHistoryRequestBuilder) ByUserExperienceAnalyticsScoreHistoryId(userExperienceAnalyticsScoreHistoryId string)(*UserExperienceAnalyticsScoreHistoryUserExperienceAnalyticsScoreHistoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsScoreHistoryRequestBuilder) ToPostRequestInforma } 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 *UserExperienceAnalyticsScoreHistoryRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsScoreHistoryRequestBuilder) { + return NewUserExperienceAnalyticsScoreHistoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_score_history_user_experience_analytics_score_history_item_request_builder.go b/devicemanagement/user_experience_analytics_score_history_user_experience_analytics_score_history_item_request_builder.go index 75657a45595..13e68bfef00 100644 --- a/devicemanagement/user_experience_analytics_score_history_user_experience_analytics_score_history_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_score_history_user_experience_analytics_score_history_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsScoreHistoryUserExperienceAnalyticsScoreHistoryI } 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 *UserExperienceAnalyticsScoreHistoryUserExperienceAnalyticsScoreHistoryItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsScoreHistoryUserExperienceAnalyticsScoreHistoryItemRequestBuilder) { + return NewUserExperienceAnalyticsScoreHistoryUserExperienceAnalyticsScoreHistoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_summarize_work_from_anywhere_devices_request_builder.go b/devicemanagement/user_experience_analytics_summarize_work_from_anywhere_devices_request_builder.go index a4c12b6e463..9ef1fe53d11 100644 --- a/devicemanagement/user_experience_analytics_summarize_work_from_anywhere_devices_request_builder.go +++ b/devicemanagement/user_experience_analytics_summarize_work_from_anywhere_devices_request_builder.go @@ -63,3 +63,7 @@ func (m *UserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder) } 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 *UserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder) { + return NewUserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_summarized_device_scopes_request_builder.go b/devicemanagement/user_experience_analytics_summarized_device_scopes_request_builder.go index 70933223f47..bfa92353f63 100644 --- a/devicemanagement/user_experience_analytics_summarized_device_scopes_request_builder.go +++ b/devicemanagement/user_experience_analytics_summarized_device_scopes_request_builder.go @@ -63,3 +63,7 @@ func (m *UserExperienceAnalyticsSummarizedDeviceScopesRequestBuilder) ToGetReque } 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 *UserExperienceAnalyticsSummarizedDeviceScopesRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsSummarizedDeviceScopesRequestBuilder) { + return NewUserExperienceAnalyticsSummarizedDeviceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_request_builder.go b/devicemanagement/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_request_builder.go index 101c4dfc736..630e8e0cc79 100644 --- a/devicemanagement/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_request_builder.go +++ b/devicemanagement/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBu } 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 *UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder) { + return NewUserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_count_request_builder.go b/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_count_request_builder.go index 5ff75b9b872..000373ffef2 100644 --- a/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereMetricsCountRequestBuilder) ToGe } 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 *UserExperienceAnalyticsWorkFromAnywhereMetricsCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsWorkFromAnywhereMetricsCountRequestBuilder) { + return NewUserExperienceAnalyticsWorkFromAnywhereMetricsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_item_metric_devices_count_request_builder.go b/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_item_metric_devices_count_request_builder.go index 4bce7b0a680..9fa2b0c8ba4 100644 --- a/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_item_metric_devices_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_item_metric_devices_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereMetricsItemMetricDevicesCountReq } 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 *UserExperienceAnalyticsWorkFromAnywhereMetricsItemMetricDevicesCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsWorkFromAnywhereMetricsItemMetricDevicesCountRequestBuilder) { + return NewUserExperienceAnalyticsWorkFromAnywhereMetricsItemMetricDevicesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_item_metric_devices_request_builder.go b/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_item_metric_devices_request_builder.go index 0a543b16c35..11d332abcc7 100644 --- a/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_item_metric_devices_request_builder.go +++ b/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_item_metric_devices_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsWorkFromAnywhereMetricsItemMetricDevicesRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsWorkFromAnywhereDeviceIdString provides operations to manage the metricDevices property of the microsoft.graph.userExperienceAnalyticsWorkFromAnywhereMetric entity. -func (m *UserExperienceAnalyticsWorkFromAnywhereMetricsItemMetricDevicesRequestBuilder) ByUserExperienceAnalyticsWorkFromAnywhereDeviceIdString(userExperienceAnalyticsWorkFromAnywhereDeviceId string)(*UserExperienceAnalyticsWorkFromAnywhereMetricsItemMetricDevicesUserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder) { +// ByUserExperienceAnalyticsWorkFromAnywhereDeviceId provides operations to manage the metricDevices property of the microsoft.graph.userExperienceAnalyticsWorkFromAnywhereMetric entity. +func (m *UserExperienceAnalyticsWorkFromAnywhereMetricsItemMetricDevicesRequestBuilder) ByUserExperienceAnalyticsWorkFromAnywhereDeviceId(userExperienceAnalyticsWorkFromAnywhereDeviceId string)(*UserExperienceAnalyticsWorkFromAnywhereMetricsItemMetricDevicesUserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereMetricsItemMetricDevicesRequestB } 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 *UserExperienceAnalyticsWorkFromAnywhereMetricsItemMetricDevicesRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsWorkFromAnywhereMetricsItemMetricDevicesRequestBuilder) { + return NewUserExperienceAnalyticsWorkFromAnywhereMetricsItemMetricDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_item_metric_devices_user_experience_analytics_work_from_anywhere_device_item_request_builder.go b/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_item_metric_devices_user_experience_analytics_work_from_anywhere_device_item_request_builder.go index 6839e813791..cc0d2ca6634 100644 --- a/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_item_metric_devices_user_experience_analytics_work_from_anywhere_device_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_item_metric_devices_user_experience_analytics_work_from_anywhere_device_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereMetricsItemMetricDevicesUserExpe } 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 *UserExperienceAnalyticsWorkFromAnywhereMetricsItemMetricDevicesUserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsWorkFromAnywhereMetricsItemMetricDevicesUserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder) { + return NewUserExperienceAnalyticsWorkFromAnywhereMetricsItemMetricDevicesUserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_request_builder.go b/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_request_builder.go index 7587a59c5d7..b69cba8d9ba 100644 --- a/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_request_builder.go +++ b/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilderPostRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsWorkFromAnywhereMetricIdString provides operations to manage the userExperienceAnalyticsWorkFromAnywhereMetrics property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder) ByUserExperienceAnalyticsWorkFromAnywhereMetricIdString(userExperienceAnalyticsWorkFromAnywhereMetricId string)(*UserExperienceAnalyticsWorkFromAnywhereMetricsUserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder) { +// ByUserExperienceAnalyticsWorkFromAnywhereMetricId provides operations to manage the userExperienceAnalyticsWorkFromAnywhereMetrics property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder) ByUserExperienceAnalyticsWorkFromAnywhereMetricId(userExperienceAnalyticsWorkFromAnywhereMetricId string)(*UserExperienceAnalyticsWorkFromAnywhereMetricsUserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder) ToPostReq } 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 *UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder) { + return NewUserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_user_experience_analytics_work_from_anywhere_metric_item_request_builder.go b/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_user_experience_analytics_work_from_anywhere_metric_item_request_builder.go index 6b84eacdf8d..90c83df5bad 100644 --- a/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_user_experience_analytics_work_from_anywhere_metric_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_user_experience_analytics_work_from_anywhere_metric_item_request_builder.go @@ -157,3 +157,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereMetricsUserExperienceAnalyticsWo } 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 *UserExperienceAnalyticsWorkFromAnywhereMetricsUserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsWorkFromAnywhereMetricsUserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder) { + return NewUserExperienceAnalyticsWorkFromAnywhereMetricsUserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_work_from_anywhere_model_performance_count_request_builder.go b/devicemanagement/user_experience_analytics_work_from_anywhere_model_performance_count_request_builder.go index f38f838cb0a..94476d3291b 100644 --- a/devicemanagement/user_experience_analytics_work_from_anywhere_model_performance_count_request_builder.go +++ b/devicemanagement/user_experience_analytics_work_from_anywhere_model_performance_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereModelPerformanceCountRequestBuil } 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 *UserExperienceAnalyticsWorkFromAnywhereModelPerformanceCountRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsWorkFromAnywhereModelPerformanceCountRequestBuilder) { + return NewUserExperienceAnalyticsWorkFromAnywhereModelPerformanceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_work_from_anywhere_model_performance_request_builder.go b/devicemanagement/user_experience_analytics_work_from_anywhere_model_performance_request_builder.go index 98677806e3c..1bbe975b647 100644 --- a/devicemanagement/user_experience_analytics_work_from_anywhere_model_performance_request_builder.go +++ b/devicemanagement/user_experience_analytics_work_from_anywhere_model_performance_request_builder.go @@ -46,8 +46,8 @@ type UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilderPostRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserExperienceAnalyticsWorkFromAnywhereModelPerformanceIdString provides operations to manage the userExperienceAnalyticsWorkFromAnywhereModelPerformance property of the microsoft.graph.deviceManagement entity. -func (m *UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder) ByUserExperienceAnalyticsWorkFromAnywhereModelPerformanceIdString(userExperienceAnalyticsWorkFromAnywhereModelPerformanceId string)(*UserExperienceAnalyticsWorkFromAnywhereModelPerformanceUserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder) { +// ByUserExperienceAnalyticsWorkFromAnywhereModelPerformanceId provides operations to manage the userExperienceAnalyticsWorkFromAnywhereModelPerformance property of the microsoft.graph.deviceManagement entity. +func (m *UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder) ByUserExperienceAnalyticsWorkFromAnywhereModelPerformanceId(userExperienceAnalyticsWorkFromAnywhereModelPerformanceId string)(*UserExperienceAnalyticsWorkFromAnywhereModelPerformanceUserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder) } 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 *UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder) { + return NewUserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_experience_analytics_work_from_anywhere_model_performance_user_experience_analytics_work_from_anywhere_model_performance_item_request_builder.go b/devicemanagement/user_experience_analytics_work_from_anywhere_model_performance_user_experience_analytics_work_from_anywhere_model_performance_item_request_builder.go index 761c84951bc..5fb95bdb45d 100644 --- a/devicemanagement/user_experience_analytics_work_from_anywhere_model_performance_user_experience_analytics_work_from_anywhere_model_performance_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_work_from_anywhere_model_performance_user_experience_analytics_work_from_anywhere_model_performance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereModelPerformanceUserExperienceAn } 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 *UserExperienceAnalyticsWorkFromAnywhereModelPerformanceUserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder) WithUrl(rawUrl string)(*UserExperienceAnalyticsWorkFromAnywhereModelPerformanceUserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder) { + return NewUserExperienceAnalyticsWorkFromAnywhereModelPerformanceUserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_pfx_certificates_count_request_builder.go b/devicemanagement/user_pfx_certificates_count_request_builder.go index 92e6f370c0e..8023345cd13 100644 --- a/devicemanagement/user_pfx_certificates_count_request_builder.go +++ b/devicemanagement/user_pfx_certificates_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserPfxCertificatesCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *UserPfxCertificatesCountRequestBuilder) WithUrl(rawUrl string)(*UserPfxCertificatesCountRequestBuilder) { + return NewUserPfxCertificatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_pfx_certificates_request_builder.go b/devicemanagement/user_pfx_certificates_request_builder.go index 14ed5aa52a3..6c096de1891 100644 --- a/devicemanagement/user_pfx_certificates_request_builder.go +++ b/devicemanagement/user_pfx_certificates_request_builder.go @@ -46,8 +46,8 @@ type UserPfxCertificatesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserPFXCertificateIdString provides operations to manage the userPfxCertificates property of the microsoft.graph.deviceManagement entity. -func (m *UserPfxCertificatesRequestBuilder) ByUserPFXCertificateIdString(userPFXCertificateId string)(*UserPfxCertificatesUserPFXCertificateItemRequestBuilder) { +// ByUserPFXCertificateId provides operations to manage the userPfxCertificates property of the microsoft.graph.deviceManagement entity. +func (m *UserPfxCertificatesRequestBuilder) ByUserPFXCertificateId(userPFXCertificateId string)(*UserPfxCertificatesUserPFXCertificateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserPfxCertificatesRequestBuilder) 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 *UserPfxCertificatesRequestBuilder) WithUrl(rawUrl string)(*UserPfxCertificatesRequestBuilder) { + return NewUserPfxCertificatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/user_pfx_certificates_user_p_f_x_certificate_item_request_builder.go b/devicemanagement/user_pfx_certificates_user_p_f_x_certificate_item_request_builder.go index 8a26c61dca2..c93f153a454 100644 --- a/devicemanagement/user_pfx_certificates_user_p_f_x_certificate_item_request_builder.go +++ b/devicemanagement/user_pfx_certificates_user_p_f_x_certificate_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserPfxCertificatesUserPFXCertificateItemRequestBuilder) ToPatchRequest } 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 *UserPfxCertificatesUserPFXCertificateItemRequestBuilder) WithUrl(rawUrl string)(*UserPfxCertificatesUserPFXCertificateItemRequestBuilder) { + return NewUserPfxCertificatesUserPFXCertificateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/verify_windows_enrollment_auto_discovery_with_domain_name_request_builder.go b/devicemanagement/verify_windows_enrollment_auto_discovery_with_domain_name_request_builder.go index 0c6c15fedfc..a572cd65262 100644 --- a/devicemanagement/verify_windows_enrollment_auto_discovery_with_domain_name_request_builder.go +++ b/devicemanagement/verify_windows_enrollment_auto_discovery_with_domain_name_request_builder.go @@ -65,3 +65,7 @@ func (m *VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder) ToGet } 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 *VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder) WithUrl(rawUrl string)(*VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder) { + return NewVerifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_audit_events_cloud_pc_audit_event_item_request_builder.go b/devicemanagement/virtual_endpoint_audit_events_cloud_pc_audit_event_item_request_builder.go index 79f41fa3bee..e575b45d994 100644 --- a/devicemanagement/virtual_endpoint_audit_events_cloud_pc_audit_event_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_audit_events_cloud_pc_audit_event_item_request_builder.go @@ -156,3 +156,7 @@ func (m *VirtualEndpointAuditEventsCloudPcAuditEventItemRequestBuilder) ToPatchR } 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 *VirtualEndpointAuditEventsCloudPcAuditEventItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointAuditEventsCloudPcAuditEventItemRequestBuilder) { + return NewVirtualEndpointAuditEventsCloudPcAuditEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_audit_events_count_request_builder.go b/devicemanagement/virtual_endpoint_audit_events_count_request_builder.go index ea19b8406c1..e56c4d29836 100644 --- a/devicemanagement/virtual_endpoint_audit_events_count_request_builder.go +++ b/devicemanagement/virtual_endpoint_audit_events_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEndpointAuditEventsCountRequestBuilder) 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 *VirtualEndpointAuditEventsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointAuditEventsCountRequestBuilder) { + return NewVirtualEndpointAuditEventsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_audit_events_get_audit_activity_types_request_builder.go b/devicemanagement/virtual_endpoint_audit_events_get_audit_activity_types_request_builder.go index fefbf66d6ad..f2e7a92c257 100644 --- a/devicemanagement/virtual_endpoint_audit_events_get_audit_activity_types_request_builder.go +++ b/devicemanagement/virtual_endpoint_audit_events_get_audit_activity_types_request_builder.go @@ -80,3 +80,7 @@ func (m *VirtualEndpointAuditEventsGetAuditActivityTypesRequestBuilder) ToGetReq } 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 *VirtualEndpointAuditEventsGetAuditActivityTypesRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointAuditEventsGetAuditActivityTypesRequestBuilder) { + return NewVirtualEndpointAuditEventsGetAuditActivityTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_audit_events_request_builder.go b/devicemanagement/virtual_endpoint_audit_events_request_builder.go index d0127c5ea22..fdb43938bb5 100644 --- a/devicemanagement/virtual_endpoint_audit_events_request_builder.go +++ b/devicemanagement/virtual_endpoint_audit_events_request_builder.go @@ -46,8 +46,8 @@ type VirtualEndpointAuditEventsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCloudPcAuditEventIdString provides operations to manage the auditEvents property of the microsoft.graph.virtualEndpoint entity. -func (m *VirtualEndpointAuditEventsRequestBuilder) ByCloudPcAuditEventIdString(cloudPcAuditEventId string)(*VirtualEndpointAuditEventsCloudPcAuditEventItemRequestBuilder) { +// ByCloudPcAuditEventId provides operations to manage the auditEvents property of the microsoft.graph.virtualEndpoint entity. +func (m *VirtualEndpointAuditEventsRequestBuilder) ByCloudPcAuditEventId(cloudPcAuditEventId string)(*VirtualEndpointAuditEventsCloudPcAuditEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *VirtualEndpointAuditEventsRequestBuilder) 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 *VirtualEndpointAuditEventsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointAuditEventsRequestBuilder) { + return NewVirtualEndpointAuditEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_bulk_actions_cloud_pc_bulk_action_item_request_builder.go b/devicemanagement/virtual_endpoint_bulk_actions_cloud_pc_bulk_action_item_request_builder.go index cbee4d38aa0..1d9b8fddc49 100644 --- a/devicemanagement/virtual_endpoint_bulk_actions_cloud_pc_bulk_action_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_bulk_actions_cloud_pc_bulk_action_item_request_builder.go @@ -153,3 +153,7 @@ func (m *VirtualEndpointBulkActionsCloudPcBulkActionItemRequestBuilder) ToPatchR } 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 *VirtualEndpointBulkActionsCloudPcBulkActionItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointBulkActionsCloudPcBulkActionItemRequestBuilder) { + return NewVirtualEndpointBulkActionsCloudPcBulkActionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_bulk_actions_count_request_builder.go b/devicemanagement/virtual_endpoint_bulk_actions_count_request_builder.go index ff277c18d92..4bdfe924028 100644 --- a/devicemanagement/virtual_endpoint_bulk_actions_count_request_builder.go +++ b/devicemanagement/virtual_endpoint_bulk_actions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEndpointBulkActionsCountRequestBuilder) 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 *VirtualEndpointBulkActionsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointBulkActionsCountRequestBuilder) { + return NewVirtualEndpointBulkActionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_bulk_actions_request_builder.go b/devicemanagement/virtual_endpoint_bulk_actions_request_builder.go index 794cec17ed4..505e2dcd321 100644 --- a/devicemanagement/virtual_endpoint_bulk_actions_request_builder.go +++ b/devicemanagement/virtual_endpoint_bulk_actions_request_builder.go @@ -46,8 +46,8 @@ type VirtualEndpointBulkActionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCloudPcBulkActionIdString provides operations to manage the bulkActions property of the microsoft.graph.virtualEndpoint entity. -func (m *VirtualEndpointBulkActionsRequestBuilder) ByCloudPcBulkActionIdString(cloudPcBulkActionId string)(*VirtualEndpointBulkActionsCloudPcBulkActionItemRequestBuilder) { +// ByCloudPcBulkActionId provides operations to manage the bulkActions property of the microsoft.graph.virtualEndpoint entity. +func (m *VirtualEndpointBulkActionsRequestBuilder) ByCloudPcBulkActionId(cloudPcBulkActionId string)(*VirtualEndpointBulkActionsCloudPcBulkActionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *VirtualEndpointBulkActionsRequestBuilder) 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 *VirtualEndpointBulkActionsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointBulkActionsRequestBuilder) { + return NewVirtualEndpointBulkActionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_bulk_resize_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_bulk_resize_request_builder.go index 22b13f8bbb7..5d3f18db032 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_bulk_resize_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_bulk_resize_request_builder.go @@ -30,7 +30,7 @@ func NewVirtualEndpointCloudPCsBulkResizeRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointCloudPCsBulkResizeRequestBuilderInternal(urlParams, requestAdapter) } -// Post perform a bulk resize action to resize a group of cloudPCs that have successfully passed validation. If any devices cannot be resized, those devices will indicate 'resize failed'. The remaining devices will be provisioned for the resize process. +// Post perform a bulk resize action to resize a group of cloudPCs that have successfully passed validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. // Deprecated: The bulkResize action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkResize on 2023-05-24 and will be removed 2023-09-24 // [Find more info here] // @@ -53,7 +53,7 @@ func (m *VirtualEndpointCloudPCsBulkResizeRequestBuilder) Post(ctx context.Conte } return res.(VirtualEndpointCloudPCsBulkResizeResponseable), nil } -// ToPostRequestInformation perform a bulk resize action to resize a group of cloudPCs that have successfully passed validation. If any devices cannot be resized, those devices will indicate 'resize failed'. The remaining devices will be provisioned for the resize process. +// ToPostRequestInformation perform a bulk resize action to resize a group of cloudPCs that have successfully passed validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. // Deprecated: The bulkResize action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkResize on 2023-05-24 and will be removed 2023-09-24 func (m *VirtualEndpointCloudPCsBulkResizeRequestBuilder) ToPostRequestInformation(ctx context.Context, body VirtualEndpointCloudPCsBulkResizePostRequestBodyable, requestConfiguration *VirtualEndpointCloudPCsBulkResizeRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -71,3 +71,8 @@ func (m *VirtualEndpointCloudPCsBulkResizeRequestBuilder) ToPostRequestInformati } 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. +// Deprecated: The bulkResize action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkResize on 2023-05-24 and will be removed 2023-09-24 +func (m *VirtualEndpointCloudPCsBulkResizeRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsBulkResizeRequestBuilder) { + return NewVirtualEndpointCloudPCsBulkResizeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_cloud_p_c_item_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_cloud_p_c_item_request_builder.go index 5549d370791..eb1ea14d75c 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_cloud_p_c_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_cloud_p_c_item_request_builder.go @@ -58,6 +58,10 @@ func NewVirtualEndpointCloudPCsCloudPCItemRequestBuilder(rawUrl string, requestA urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointCloudPCsCloudPCItemRequestBuilderInternal(urlParams, requestAdapter) } +// CreateSnapshot provides operations to call the createSnapshot method. +func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) CreateSnapshot()(*VirtualEndpointCloudPCsItemCreateSnapshotRequestBuilder) { + return NewVirtualEndpointCloudPCsItemCreateSnapshotRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Delete delete navigation property cloudPCs for deviceManagement func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsCloudPCItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -155,6 +159,10 @@ func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) Rename()(*VirtualEndp func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) Reprovision()(*VirtualEndpointCloudPCsItemReprovisionRequestBuilder) { return NewVirtualEndpointCloudPCsItemReprovisionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// Resize provides operations to call the resize method. +func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) Resize()(*VirtualEndpointCloudPCsItemResizeRequestBuilder) { + return NewVirtualEndpointCloudPCsItemResizeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Restore provides operations to call the restore method. func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) Restore()(*VirtualEndpointCloudPCsItemRestoreRequestBuilder) { return NewVirtualEndpointCloudPCsItemRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) @@ -220,3 +228,7 @@ func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) ToPatchRequestInforma func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) Troubleshoot()(*VirtualEndpointCloudPCsItemTroubleshootRequestBuilder) { return NewVirtualEndpointCloudPCsItemTroubleshootRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsCloudPCItemRequestBuilder) { + return NewVirtualEndpointCloudPCsCloudPCItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_count_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_count_request_builder.go index af9c495edcf..e1e207e72ae 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_count_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEndpointCloudPCsCountRequestBuilder) ToGetRequestInformation(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 *VirtualEndpointCloudPCsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsCountRequestBuilder) { + return NewVirtualEndpointCloudPCsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go index 737746324b2..e58ff7e6edc 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go @@ -90,3 +90,7 @@ func (m *VirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlan } 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 *VirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilder) { + return NewVirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_change_user_account_type_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_change_user_account_type_request_builder.go index f0afabf8dae..8308b5831ef 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_change_user_account_type_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_change_user_account_type_request_builder.go @@ -65,3 +65,7 @@ func (m *VirtualEndpointCloudPCsItemChangeUserAccountTypeRequestBuilder) ToPostR } 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 *VirtualEndpointCloudPCsItemChangeUserAccountTypeRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsItemChangeUserAccountTypeRequestBuilder) { + return NewVirtualEndpointCloudPCsItemChangeUserAccountTypeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_create_snapshot_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_create_snapshot_request_builder.go new file mode 100644 index 00000000000..51e2b3a8aa5 --- /dev/null +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_create_snapshot_request_builder.go @@ -0,0 +1,64 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// VirtualEndpointCloudPCsItemCreateSnapshotRequestBuilder provides operations to call the createSnapshot method. +type VirtualEndpointCloudPCsItemCreateSnapshotRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEndpointCloudPCsItemCreateSnapshotRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEndpointCloudPCsItemCreateSnapshotRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewVirtualEndpointCloudPCsItemCreateSnapshotRequestBuilderInternal instantiates a new CreateSnapshotRequestBuilder and sets the default values. +func NewVirtualEndpointCloudPCsItemCreateSnapshotRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointCloudPCsItemCreateSnapshotRequestBuilder) { + m := &VirtualEndpointCloudPCsItemCreateSnapshotRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/createSnapshot", pathParameters), + } + return m +} +// NewVirtualEndpointCloudPCsItemCreateSnapshotRequestBuilder instantiates a new CreateSnapshotRequestBuilder and sets the default values. +func NewVirtualEndpointCloudPCsItemCreateSnapshotRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointCloudPCsItemCreateSnapshotRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEndpointCloudPCsItemCreateSnapshotRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action createSnapshot +func (m *VirtualEndpointCloudPCsItemCreateSnapshotRequestBuilder) Post(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemCreateSnapshotRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action createSnapshot +func (m *VirtualEndpointCloudPCsItemCreateSnapshotRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemCreateSnapshotRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *VirtualEndpointCloudPCsItemCreateSnapshotRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsItemCreateSnapshotRequestBuilder) { + return NewVirtualEndpointCloudPCsItemCreateSnapshotRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_end_grace_period_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_end_grace_period_request_builder.go index c2d30d3fba3..cadf56e839f 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_end_grace_period_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_end_grace_period_request_builder.go @@ -61,3 +61,7 @@ func (m *VirtualEndpointCloudPCsItemEndGracePeriodRequestBuilder) ToPostRequestI } 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 *VirtualEndpointCloudPCsItemEndGracePeriodRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsItemEndGracePeriodRequestBuilder) { + return NewVirtualEndpointCloudPCsItemEndGracePeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go index e3f28b9a5d5..d10f8a18860 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go @@ -80,3 +80,7 @@ func (m *VirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder) } 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 *VirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder) { + return NewVirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go index 8e1b069cf02..c1c6d9f59e8 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go @@ -63,3 +63,7 @@ func (m *VirtualEndpointCloudPCsItemGetCloudPcLaunchInfoRequestBuilder) ToGetReq } 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 *VirtualEndpointCloudPCsItemGetCloudPcLaunchInfoRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsItemGetCloudPcLaunchInfoRequestBuilder) { + return NewVirtualEndpointCloudPCsItemGetCloudPcLaunchInfoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go index 55af33bcd23..cb18481abf5 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go @@ -63,3 +63,7 @@ func (m *VirtualEndpointCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilder } 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 *VirtualEndpointCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilder) { + return NewVirtualEndpointCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go index c08af9be2a1..b75e84e1840 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go @@ -80,3 +80,7 @@ func (m *VirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuild } 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 *VirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilder) { + return NewVirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_off_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_off_request_builder.go index fcdbe6bea87..f7c537c7c54 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_off_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_off_request_builder.go @@ -30,7 +30,7 @@ func NewVirtualEndpointCloudPCsItemPowerOffRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointCloudPCsItemPowerOffRequestBuilderInternal(urlParams, requestAdapter) } -// Post power off a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered off, it is de-allocated, and licenses are revoked immediately. Only IT admin users can perform this action. +// Post power off a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered off, it's deallocated, and licenses are revoked immediately. Only IT admin users can perform this action. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-poweroff?view=graph-rest-1.0 @@ -49,7 +49,7 @@ func (m *VirtualEndpointCloudPCsItemPowerOffRequestBuilder) Post(ctx context.Con } return nil } -// ToPostRequestInformation power off a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered off, it is de-allocated, and licenses are revoked immediately. Only IT admin users can perform this action. +// ToPostRequestInformation power off a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered off, it's deallocated, and licenses are revoked immediately. Only IT admin users can perform this action. func (m *VirtualEndpointCloudPCsItemPowerOffRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemPowerOffRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -61,3 +61,7 @@ func (m *VirtualEndpointCloudPCsItemPowerOffRequestBuilder) ToPostRequestInforma } 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 *VirtualEndpointCloudPCsItemPowerOffRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsItemPowerOffRequestBuilder) { + return NewVirtualEndpointCloudPCsItemPowerOffRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_on_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_on_request_builder.go index 6b29629e653..b74a293e2a6 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_on_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_on_request_builder.go @@ -61,3 +61,7 @@ func (m *VirtualEndpointCloudPCsItemPowerOnRequestBuilder) ToPostRequestInformat } 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 *VirtualEndpointCloudPCsItemPowerOnRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsItemPowerOnRequestBuilder) { + return NewVirtualEndpointCloudPCsItemPowerOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_reboot_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_reboot_request_builder.go index e38137493ef..97b4cda5857 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_reboot_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_reboot_request_builder.go @@ -61,3 +61,7 @@ func (m *VirtualEndpointCloudPCsItemRebootRequestBuilder) ToPostRequestInformati } 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 *VirtualEndpointCloudPCsItemRebootRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsItemRebootRequestBuilder) { + return NewVirtualEndpointCloudPCsItemRebootRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_rename_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_rename_request_builder.go index e4cda2efebc..a0bbb615b2c 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_rename_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_rename_request_builder.go @@ -65,3 +65,7 @@ func (m *VirtualEndpointCloudPCsItemRenameRequestBuilder) ToPostRequestInformati } 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 *VirtualEndpointCloudPCsItemRenameRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsItemRenameRequestBuilder) { + return NewVirtualEndpointCloudPCsItemRenameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_reprovision_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_reprovision_request_builder.go index 26b4a11bacf..66a8cb9e813 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_reprovision_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_reprovision_request_builder.go @@ -65,3 +65,7 @@ func (m *VirtualEndpointCloudPCsItemReprovisionRequestBuilder) ToPostRequestInfo } 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 *VirtualEndpointCloudPCsItemReprovisionRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsItemReprovisionRequestBuilder) { + return NewVirtualEndpointCloudPCsItemReprovisionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_resize_post_request_body.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_resize_post_request_body.go new file mode 100644 index 00000000000..d92316a43c4 --- /dev/null +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_resize_post_request_body.go @@ -0,0 +1,110 @@ +package devicemanagement + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +// VirtualEndpointCloudPCsItemResizePostRequestBody +type VirtualEndpointCloudPCsItemResizePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewVirtualEndpointCloudPCsItemResizePostRequestBody instantiates a new VirtualEndpointCloudPCsItemResizePostRequestBody and sets the default values. +func NewVirtualEndpointCloudPCsItemResizePostRequestBody()(*VirtualEndpointCloudPCsItemResizePostRequestBody) { + m := &VirtualEndpointCloudPCsItemResizePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateVirtualEndpointCloudPCsItemResizePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateVirtualEndpointCloudPCsItemResizePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEndpointCloudPCsItemResizePostRequestBody(), nil +} +// GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *VirtualEndpointCloudPCsItemResizePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the backingStore property value. Stores model information. +func (m *VirtualEndpointCloudPCsItemResizePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +func (m *VirtualEndpointCloudPCsItemResizePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["targetServicePlanId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTargetServicePlanId(val) + } + return nil + } + return res +} +// GetTargetServicePlanId gets the targetServicePlanId property value. The targetServicePlanId property +func (m *VirtualEndpointCloudPCsItemResizePostRequestBody) GetTargetServicePlanId()(*string) { + val, err := m.GetBackingStore().Get("targetServicePlanId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *VirtualEndpointCloudPCsItemResizePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("targetServicePlanId", m.GetTargetServicePlanId()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *VirtualEndpointCloudPCsItemResizePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the backingStore property value. Stores model information. +func (m *VirtualEndpointCloudPCsItemResizePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetTargetServicePlanId sets the targetServicePlanId property value. The targetServicePlanId property +func (m *VirtualEndpointCloudPCsItemResizePostRequestBody) SetTargetServicePlanId(value *string)() { + err := m.GetBackingStore().Set("targetServicePlanId", value) + if err != nil { + panic(err) + } +} +// VirtualEndpointCloudPCsItemResizePostRequestBodyable +type VirtualEndpointCloudPCsItemResizePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetTargetServicePlanId()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetTargetServicePlanId(value *string)() +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_resize_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_resize_request_builder.go new file mode 100644 index 00000000000..b38bb99f388 --- /dev/null +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_resize_request_builder.go @@ -0,0 +1,68 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// VirtualEndpointCloudPCsItemResizeRequestBuilder provides operations to call the resize method. +type VirtualEndpointCloudPCsItemResizeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEndpointCloudPCsItemResizeRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEndpointCloudPCsItemResizeRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewVirtualEndpointCloudPCsItemResizeRequestBuilderInternal instantiates a new ResizeRequestBuilder and sets the default values. +func NewVirtualEndpointCloudPCsItemResizeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointCloudPCsItemResizeRequestBuilder) { + m := &VirtualEndpointCloudPCsItemResizeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/resize", pathParameters), + } + return m +} +// NewVirtualEndpointCloudPCsItemResizeRequestBuilder instantiates a new ResizeRequestBuilder and sets the default values. +func NewVirtualEndpointCloudPCsItemResizeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointCloudPCsItemResizeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEndpointCloudPCsItemResizeRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action resize +func (m *VirtualEndpointCloudPCsItemResizeRequestBuilder) Post(ctx context.Context, body VirtualEndpointCloudPCsItemResizePostRequestBodyable, requestConfiguration *VirtualEndpointCloudPCsItemResizeRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action resize +func (m *VirtualEndpointCloudPCsItemResizeRequestBuilder) ToPostRequestInformation(ctx context.Context, body VirtualEndpointCloudPCsItemResizePostRequestBodyable, requestConfiguration *VirtualEndpointCloudPCsItemResizeRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *VirtualEndpointCloudPCsItemResizeRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsItemResizeRequestBuilder) { + return NewVirtualEndpointCloudPCsItemResizeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_restore_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_restore_request_builder.go index b79c51cecb4..278070b5978 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_restore_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_restore_request_builder.go @@ -65,3 +65,7 @@ func (m *VirtualEndpointCloudPCsItemRestoreRequestBuilder) ToPostRequestInformat } 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 *VirtualEndpointCloudPCsItemRestoreRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsItemRestoreRequestBuilder) { + return NewVirtualEndpointCloudPCsItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go index 1a5e64726d4..58f8de1cfd5 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go @@ -30,7 +30,7 @@ func NewVirtualEndpointCloudPCsItemRetryPartnerAgentInstallationRequestBuilder(r urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointCloudPCsItemRetryPartnerAgentInstallationRequestBuilderInternal(urlParams, requestAdapter) } -// Post retry installation for the partner agents which failed to install on the Cloud PC. Service side will check which agent installation failed firstly and retry. +// Post retry installation for the partner agents that failed to install on the Cloud PC. Service side checks which agent installation failed firstly and retry. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-retrypartneragentinstallation?view=graph-rest-1.0 @@ -49,7 +49,7 @@ func (m *VirtualEndpointCloudPCsItemRetryPartnerAgentInstallationRequestBuilder) } return nil } -// ToPostRequestInformation retry installation for the partner agents which failed to install on the Cloud PC. Service side will check which agent installation failed firstly and retry. +// ToPostRequestInformation retry installation for the partner agents that failed to install on the Cloud PC. Service side checks which agent installation failed firstly and retry. func (m *VirtualEndpointCloudPCsItemRetryPartnerAgentInstallationRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemRetryPartnerAgentInstallationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -61,3 +61,7 @@ func (m *VirtualEndpointCloudPCsItemRetryPartnerAgentInstallationRequestBuilder) } 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 *VirtualEndpointCloudPCsItemRetryPartnerAgentInstallationRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsItemRetryPartnerAgentInstallationRequestBuilder) { + return NewVirtualEndpointCloudPCsItemRetryPartnerAgentInstallationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_start_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_start_request_builder.go index 5e84ce4e787..cb1e701b1f8 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_start_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_start_request_builder.go @@ -61,3 +61,7 @@ func (m *VirtualEndpointCloudPCsItemStartRequestBuilder) ToPostRequestInformatio } 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 *VirtualEndpointCloudPCsItemStartRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsItemStartRequestBuilder) { + return NewVirtualEndpointCloudPCsItemStartRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_stop_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_stop_request_builder.go index 9600eb62cb0..d22fad661ed 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_stop_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_stop_request_builder.go @@ -61,3 +61,7 @@ func (m *VirtualEndpointCloudPCsItemStopRequestBuilder) 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 *VirtualEndpointCloudPCsItemStopRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsItemStopRequestBuilder) { + return NewVirtualEndpointCloudPCsItemStopRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_troubleshoot_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_troubleshoot_request_builder.go index 53f801c3da0..9ff9b732c70 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_troubleshoot_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_troubleshoot_request_builder.go @@ -61,3 +61,7 @@ func (m *VirtualEndpointCloudPCsItemTroubleshootRequestBuilder) ToPostRequestInf } 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 *VirtualEndpointCloudPCsItemTroubleshootRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsItemTroubleshootRequestBuilder) { + return NewVirtualEndpointCloudPCsItemTroubleshootRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_request_builder.go index 51444e4f955..678a36671c1 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_request_builder.go @@ -50,8 +50,8 @@ type VirtualEndpointCloudPCsRequestBuilderPostRequestConfiguration struct { func (m *VirtualEndpointCloudPCsRequestBuilder) BulkResize()(*VirtualEndpointCloudPCsBulkResizeRequestBuilder) { return NewVirtualEndpointCloudPCsBulkResizeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByCloudPCIdString provides operations to manage the cloudPCs property of the microsoft.graph.virtualEndpoint entity. -func (m *VirtualEndpointCloudPCsRequestBuilder) ByCloudPCIdString(cloudPCId string)(*VirtualEndpointCloudPCsCloudPCItemRequestBuilder) { +// ByCloudPCId provides operations to manage the cloudPCs property of the microsoft.graph.virtualEndpoint entity. +func (m *VirtualEndpointCloudPCsRequestBuilder) ByCloudPCId(cloudPCId string)(*VirtualEndpointCloudPCsCloudPCItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -160,3 +160,7 @@ func (m *VirtualEndpointCloudPCsRequestBuilder) ToPostRequestInformation(ctx con func (m *VirtualEndpointCloudPCsRequestBuilder) ValidateBulkResize()(*VirtualEndpointCloudPCsValidateBulkResizeRequestBuilder) { return NewVirtualEndpointCloudPCsValidateBulkResizeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *VirtualEndpointCloudPCsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsRequestBuilder) { + return NewVirtualEndpointCloudPCsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_validate_bulk_resize_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_validate_bulk_resize_request_builder.go index be6eb155a46..835d9baf93d 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_validate_bulk_resize_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_validate_bulk_resize_request_builder.go @@ -69,3 +69,7 @@ func (m *VirtualEndpointCloudPCsValidateBulkResizeRequestBuilder) ToPostRequestI } 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 *VirtualEndpointCloudPCsValidateBulkResizeRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCloudPCsValidateBulkResizeRequestBuilder) { + return NewVirtualEndpointCloudPCsValidateBulkResizeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_cross_cloud_government_organization_mapping_request_builder.go b/devicemanagement/virtual_endpoint_cross_cloud_government_organization_mapping_request_builder.go index 4f0527a28d7..180165b5b4c 100644 --- a/devicemanagement/virtual_endpoint_cross_cloud_government_organization_mapping_request_builder.go +++ b/devicemanagement/virtual_endpoint_cross_cloud_government_organization_mapping_request_builder.go @@ -156,3 +156,7 @@ func (m *VirtualEndpointCrossCloudGovernmentOrganizationMappingRequestBuilder) T } 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 *VirtualEndpointCrossCloudGovernmentOrganizationMappingRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointCrossCloudGovernmentOrganizationMappingRequestBuilder) { + return NewVirtualEndpointCrossCloudGovernmentOrganizationMappingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_device_images_cloud_pc_device_image_item_request_builder.go b/devicemanagement/virtual_endpoint_device_images_cloud_pc_device_image_item_request_builder.go index 467d79031f3..ec5757c8694 100644 --- a/devicemanagement/virtual_endpoint_device_images_cloud_pc_device_image_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_device_images_cloud_pc_device_image_item_request_builder.go @@ -163,3 +163,7 @@ func (m *VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilder) ToPatc } 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 *VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilder) { + return NewVirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_device_images_count_request_builder.go b/devicemanagement/virtual_endpoint_device_images_count_request_builder.go index 6c03fc9d7c7..051360d400b 100644 --- a/devicemanagement/virtual_endpoint_device_images_count_request_builder.go +++ b/devicemanagement/virtual_endpoint_device_images_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEndpointDeviceImagesCountRequestBuilder) 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 *VirtualEndpointDeviceImagesCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointDeviceImagesCountRequestBuilder) { + return NewVirtualEndpointDeviceImagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_device_images_get_source_images_request_builder.go b/devicemanagement/virtual_endpoint_device_images_get_source_images_request_builder.go index 1254d7563c2..2703d3ecf3b 100644 --- a/devicemanagement/virtual_endpoint_device_images_get_source_images_request_builder.go +++ b/devicemanagement/virtual_endpoint_device_images_get_source_images_request_builder.go @@ -80,3 +80,7 @@ func (m *VirtualEndpointDeviceImagesGetSourceImagesRequestBuilder) ToGetRequestI } 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 *VirtualEndpointDeviceImagesGetSourceImagesRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointDeviceImagesGetSourceImagesRequestBuilder) { + return NewVirtualEndpointDeviceImagesGetSourceImagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_device_images_item_reupload_request_builder.go b/devicemanagement/virtual_endpoint_device_images_item_reupload_request_builder.go index 413d4038a15..c95010d6157 100644 --- a/devicemanagement/virtual_endpoint_device_images_item_reupload_request_builder.go +++ b/devicemanagement/virtual_endpoint_device_images_item_reupload_request_builder.go @@ -61,3 +61,7 @@ func (m *VirtualEndpointDeviceImagesItemReuploadRequestBuilder) ToPostRequestInf } 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 *VirtualEndpointDeviceImagesItemReuploadRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointDeviceImagesItemReuploadRequestBuilder) { + return NewVirtualEndpointDeviceImagesItemReuploadRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_device_images_request_builder.go b/devicemanagement/virtual_endpoint_device_images_request_builder.go index c7feda4f206..9a0ed47009b 100644 --- a/devicemanagement/virtual_endpoint_device_images_request_builder.go +++ b/devicemanagement/virtual_endpoint_device_images_request_builder.go @@ -46,8 +46,8 @@ type VirtualEndpointDeviceImagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCloudPcDeviceImageIdString provides operations to manage the deviceImages property of the microsoft.graph.virtualEndpoint entity. -func (m *VirtualEndpointDeviceImagesRequestBuilder) ByCloudPcDeviceImageIdString(cloudPcDeviceImageId string)(*VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilder) { +// ByCloudPcDeviceImageId provides operations to manage the deviceImages property of the microsoft.graph.virtualEndpoint entity. +func (m *VirtualEndpointDeviceImagesRequestBuilder) ByCloudPcDeviceImageId(cloudPcDeviceImageId string)(*VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *VirtualEndpointDeviceImagesRequestBuilder) 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 *VirtualEndpointDeviceImagesRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointDeviceImagesRequestBuilder) { + return NewVirtualEndpointDeviceImagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_external_partner_settings_cloud_pc_external_partner_setting_item_request_builder.go b/devicemanagement/virtual_endpoint_external_partner_settings_cloud_pc_external_partner_setting_item_request_builder.go index 93e5755f87c..cd865ef0cb9 100644 --- a/devicemanagement/virtual_endpoint_external_partner_settings_cloud_pc_external_partner_setting_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_external_partner_settings_cloud_pc_external_partner_setting_item_request_builder.go @@ -159,3 +159,7 @@ func (m *VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItem } 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 *VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItemRequestBuilder) { + return NewVirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_external_partner_settings_count_request_builder.go b/devicemanagement/virtual_endpoint_external_partner_settings_count_request_builder.go index 83236a23c58..73ce2b554ee 100644 --- a/devicemanagement/virtual_endpoint_external_partner_settings_count_request_builder.go +++ b/devicemanagement/virtual_endpoint_external_partner_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEndpointExternalPartnerSettingsCountRequestBuilder) ToGetRequest } 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 *VirtualEndpointExternalPartnerSettingsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointExternalPartnerSettingsCountRequestBuilder) { + return NewVirtualEndpointExternalPartnerSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_external_partner_settings_request_builder.go b/devicemanagement/virtual_endpoint_external_partner_settings_request_builder.go index 2f5daa7fb13..7df91c5d2e0 100644 --- a/devicemanagement/virtual_endpoint_external_partner_settings_request_builder.go +++ b/devicemanagement/virtual_endpoint_external_partner_settings_request_builder.go @@ -46,8 +46,8 @@ type VirtualEndpointExternalPartnerSettingsRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCloudPcExternalPartnerSettingIdString provides operations to manage the externalPartnerSettings property of the microsoft.graph.virtualEndpoint entity. -func (m *VirtualEndpointExternalPartnerSettingsRequestBuilder) ByCloudPcExternalPartnerSettingIdString(cloudPcExternalPartnerSettingId string)(*VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItemRequestBuilder) { +// ByCloudPcExternalPartnerSettingId provides operations to manage the externalPartnerSettings property of the microsoft.graph.virtualEndpoint entity. +func (m *VirtualEndpointExternalPartnerSettingsRequestBuilder) ByCloudPcExternalPartnerSettingId(cloudPcExternalPartnerSettingId string)(*VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *VirtualEndpointExternalPartnerSettingsRequestBuilder) ToPostRequestInfo } 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 *VirtualEndpointExternalPartnerSettingsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointExternalPartnerSettingsRequestBuilder) { + return NewVirtualEndpointExternalPartnerSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_front_line_service_plans_cloud_pc_front_line_service_plan_item_request_builder.go b/devicemanagement/virtual_endpoint_front_line_service_plans_cloud_pc_front_line_service_plan_item_request_builder.go index 64da24cde6f..8967898c1d2 100644 --- a/devicemanagement/virtual_endpoint_front_line_service_plans_cloud_pc_front_line_service_plan_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_front_line_service_plans_cloud_pc_front_line_service_plan_item_request_builder.go @@ -153,3 +153,7 @@ func (m *VirtualEndpointFrontLineServicePlansCloudPcFrontLineServicePlanItemRequ } 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 *VirtualEndpointFrontLineServicePlansCloudPcFrontLineServicePlanItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointFrontLineServicePlansCloudPcFrontLineServicePlanItemRequestBuilder) { + return NewVirtualEndpointFrontLineServicePlansCloudPcFrontLineServicePlanItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_front_line_service_plans_count_request_builder.go b/devicemanagement/virtual_endpoint_front_line_service_plans_count_request_builder.go index baff987d987..483005135f2 100644 --- a/devicemanagement/virtual_endpoint_front_line_service_plans_count_request_builder.go +++ b/devicemanagement/virtual_endpoint_front_line_service_plans_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEndpointFrontLineServicePlansCountRequestBuilder) ToGetRequestIn } 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 *VirtualEndpointFrontLineServicePlansCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointFrontLineServicePlansCountRequestBuilder) { + return NewVirtualEndpointFrontLineServicePlansCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_front_line_service_plans_request_builder.go b/devicemanagement/virtual_endpoint_front_line_service_plans_request_builder.go index 7e1cf820d8f..e3ad3e0d3f7 100644 --- a/devicemanagement/virtual_endpoint_front_line_service_plans_request_builder.go +++ b/devicemanagement/virtual_endpoint_front_line_service_plans_request_builder.go @@ -46,8 +46,8 @@ type VirtualEndpointFrontLineServicePlansRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCloudPcFrontLineServicePlanIdString provides operations to manage the frontLineServicePlans property of the microsoft.graph.virtualEndpoint entity. -func (m *VirtualEndpointFrontLineServicePlansRequestBuilder) ByCloudPcFrontLineServicePlanIdString(cloudPcFrontLineServicePlanId string)(*VirtualEndpointFrontLineServicePlansCloudPcFrontLineServicePlanItemRequestBuilder) { +// ByCloudPcFrontLineServicePlanId provides operations to manage the frontLineServicePlans property of the microsoft.graph.virtualEndpoint entity. +func (m *VirtualEndpointFrontLineServicePlansRequestBuilder) ByCloudPcFrontLineServicePlanId(cloudPcFrontLineServicePlanId string)(*VirtualEndpointFrontLineServicePlansCloudPcFrontLineServicePlanItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *VirtualEndpointFrontLineServicePlansRequestBuilder) ToPostRequestInform } 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 *VirtualEndpointFrontLineServicePlansRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointFrontLineServicePlansRequestBuilder) { + return NewVirtualEndpointFrontLineServicePlansRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_gallery_images_cloud_pc_gallery_image_item_request_builder.go b/devicemanagement/virtual_endpoint_gallery_images_cloud_pc_gallery_image_item_request_builder.go index 49a1883fe95..d2accbd17a7 100644 --- a/devicemanagement/virtual_endpoint_gallery_images_cloud_pc_gallery_image_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_gallery_images_cloud_pc_gallery_image_item_request_builder.go @@ -156,3 +156,7 @@ func (m *VirtualEndpointGalleryImagesCloudPcGalleryImageItemRequestBuilder) ToPa } 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 *VirtualEndpointGalleryImagesCloudPcGalleryImageItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointGalleryImagesCloudPcGalleryImageItemRequestBuilder) { + return NewVirtualEndpointGalleryImagesCloudPcGalleryImageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_gallery_images_count_request_builder.go b/devicemanagement/virtual_endpoint_gallery_images_count_request_builder.go index 58f384af681..de4a7911d10 100644 --- a/devicemanagement/virtual_endpoint_gallery_images_count_request_builder.go +++ b/devicemanagement/virtual_endpoint_gallery_images_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEndpointGalleryImagesCountRequestBuilder) 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 *VirtualEndpointGalleryImagesCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointGalleryImagesCountRequestBuilder) { + return NewVirtualEndpointGalleryImagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_gallery_images_request_builder.go b/devicemanagement/virtual_endpoint_gallery_images_request_builder.go index 172604473a6..94c583153b5 100644 --- a/devicemanagement/virtual_endpoint_gallery_images_request_builder.go +++ b/devicemanagement/virtual_endpoint_gallery_images_request_builder.go @@ -46,8 +46,8 @@ type VirtualEndpointGalleryImagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCloudPcGalleryImageIdString provides operations to manage the galleryImages property of the microsoft.graph.virtualEndpoint entity. -func (m *VirtualEndpointGalleryImagesRequestBuilder) ByCloudPcGalleryImageIdString(cloudPcGalleryImageId string)(*VirtualEndpointGalleryImagesCloudPcGalleryImageItemRequestBuilder) { +// ByCloudPcGalleryImageId provides operations to manage the galleryImages property of the microsoft.graph.virtualEndpoint entity. +func (m *VirtualEndpointGalleryImagesRequestBuilder) ByCloudPcGalleryImageId(cloudPcGalleryImageId string)(*VirtualEndpointGalleryImagesCloudPcGalleryImageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *VirtualEndpointGalleryImagesRequestBuilder) 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 *VirtualEndpointGalleryImagesRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointGalleryImagesRequestBuilder) { + return NewVirtualEndpointGalleryImagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_get_effective_permissions_request_builder.go b/devicemanagement/virtual_endpoint_get_effective_permissions_request_builder.go index d866709afca..8cd10556215 100644 --- a/devicemanagement/virtual_endpoint_get_effective_permissions_request_builder.go +++ b/devicemanagement/virtual_endpoint_get_effective_permissions_request_builder.go @@ -80,3 +80,7 @@ func (m *VirtualEndpointGetEffectivePermissionsRequestBuilder) ToGetRequestInfor } 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 *VirtualEndpointGetEffectivePermissionsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointGetEffectivePermissionsRequestBuilder) { + return NewVirtualEndpointGetEffectivePermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_on_premises_connections_cloud_pc_on_premises_connection_item_request_builder.go b/devicemanagement/virtual_endpoint_on_premises_connections_cloud_pc_on_premises_connection_item_request_builder.go index b9262f6b048..2b0bbb305e3 100644 --- a/devicemanagement/virtual_endpoint_on_premises_connections_cloud_pc_on_premises_connection_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_on_premises_connections_cloud_pc_on_premises_connection_item_request_builder.go @@ -170,3 +170,7 @@ func (m *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequ func (m *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilder) UpdateAdDomainPassword()(*VirtualEndpointOnPremisesConnectionsItemUpdateAdDomainPasswordRequestBuilder) { return NewVirtualEndpointOnPremisesConnectionsItemUpdateAdDomainPasswordRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilder) { + return NewVirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_on_premises_connections_count_request_builder.go b/devicemanagement/virtual_endpoint_on_premises_connections_count_request_builder.go index e5573718ed7..742225fbbae 100644 --- a/devicemanagement/virtual_endpoint_on_premises_connections_count_request_builder.go +++ b/devicemanagement/virtual_endpoint_on_premises_connections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEndpointOnPremisesConnectionsCountRequestBuilder) ToGetRequestIn } 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 *VirtualEndpointOnPremisesConnectionsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointOnPremisesConnectionsCountRequestBuilder) { + return NewVirtualEndpointOnPremisesConnectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_on_premises_connections_item_run_health_checks_request_builder.go b/devicemanagement/virtual_endpoint_on_premises_connections_item_run_health_checks_request_builder.go index b1438366de8..6b95fd0d29c 100644 --- a/devicemanagement/virtual_endpoint_on_premises_connections_item_run_health_checks_request_builder.go +++ b/devicemanagement/virtual_endpoint_on_premises_connections_item_run_health_checks_request_builder.go @@ -61,3 +61,7 @@ func (m *VirtualEndpointOnPremisesConnectionsItemRunHealthChecksRequestBuilder) } 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 *VirtualEndpointOnPremisesConnectionsItemRunHealthChecksRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointOnPremisesConnectionsItemRunHealthChecksRequestBuilder) { + return NewVirtualEndpointOnPremisesConnectionsItemRunHealthChecksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_on_premises_connections_item_update_ad_domain_password_request_builder.go b/devicemanagement/virtual_endpoint_on_premises_connections_item_update_ad_domain_password_request_builder.go index f018a79f5cb..7f5db5044d6 100644 --- a/devicemanagement/virtual_endpoint_on_premises_connections_item_update_ad_domain_password_request_builder.go +++ b/devicemanagement/virtual_endpoint_on_premises_connections_item_update_ad_domain_password_request_builder.go @@ -65,3 +65,7 @@ func (m *VirtualEndpointOnPremisesConnectionsItemUpdateAdDomainPasswordRequestBu } 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 *VirtualEndpointOnPremisesConnectionsItemUpdateAdDomainPasswordRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointOnPremisesConnectionsItemUpdateAdDomainPasswordRequestBuilder) { + return NewVirtualEndpointOnPremisesConnectionsItemUpdateAdDomainPasswordRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_on_premises_connections_request_builder.go b/devicemanagement/virtual_endpoint_on_premises_connections_request_builder.go index 59c0bf25168..a4d1f9dbd1f 100644 --- a/devicemanagement/virtual_endpoint_on_premises_connections_request_builder.go +++ b/devicemanagement/virtual_endpoint_on_premises_connections_request_builder.go @@ -46,8 +46,8 @@ type VirtualEndpointOnPremisesConnectionsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCloudPcOnPremisesConnectionIdString provides operations to manage the onPremisesConnections property of the microsoft.graph.virtualEndpoint entity. -func (m *VirtualEndpointOnPremisesConnectionsRequestBuilder) ByCloudPcOnPremisesConnectionIdString(cloudPcOnPremisesConnectionId string)(*VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilder) { +// ByCloudPcOnPremisesConnectionId provides operations to manage the onPremisesConnections property of the microsoft.graph.virtualEndpoint entity. +func (m *VirtualEndpointOnPremisesConnectionsRequestBuilder) ByCloudPcOnPremisesConnectionId(cloudPcOnPremisesConnectionId string)(*VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *VirtualEndpointOnPremisesConnectionsRequestBuilder) ToPostRequestInform } 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 *VirtualEndpointOnPremisesConnectionsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointOnPremisesConnectionsRequestBuilder) { + return NewVirtualEndpointOnPremisesConnectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_organization_settings_request_builder.go b/devicemanagement/virtual_endpoint_organization_settings_request_builder.go index 7d94e46aecb..8ca07e210b4 100644 --- a/devicemanagement/virtual_endpoint_organization_settings_request_builder.go +++ b/devicemanagement/virtual_endpoint_organization_settings_request_builder.go @@ -159,3 +159,7 @@ func (m *VirtualEndpointOrganizationSettingsRequestBuilder) ToPatchRequestInform } 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 *VirtualEndpointOrganizationSettingsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointOrganizationSettingsRequestBuilder) { + return NewVirtualEndpointOrganizationSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_apply_config_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_apply_config_request_builder.go index 2208b9bf477..c5db7239fed 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_apply_config_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_apply_config_request_builder.go @@ -64,3 +64,8 @@ func (m *VirtualEndpointProvisioningPoliciesApplyConfigRequestBuilder) ToPostReq } 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. +// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId on 2023-03-16 and will be removed 2023-07-30 +func (m *VirtualEndpointProvisioningPoliciesApplyConfigRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesApplyConfigRequestBuilder) { + return NewVirtualEndpointProvisioningPoliciesApplyConfigRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_cloud_pc_provisioning_policy_item_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_cloud_pc_provisioning_policy_item_request_builder.go index e03c6d6bf75..ee4a9909209 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_cloud_pc_provisioning_policy_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_cloud_pc_provisioning_policy_item_request_builder.go @@ -180,3 +180,8 @@ func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequest } 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. +// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId on 2023-03-16 and will be removed 2023-07-30 +func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder) { + return NewVirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_count_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_count_request_builder.go index f2c323d998b..84d865cd546 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_count_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_count_request_builder.go @@ -76,3 +76,8 @@ func (m *VirtualEndpointProvisioningPoliciesCountRequestBuilder) ToGetRequestInf } 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. +// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId on 2023-03-16 and will be removed 2023-07-30 +func (m *VirtualEndpointProvisioningPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesCountRequestBuilder) { + return NewVirtualEndpointProvisioningPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_apply_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_apply_request_builder.go index 22c562b1845..31ced152981 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_apply_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_apply_request_builder.go @@ -64,3 +64,8 @@ func (m *VirtualEndpointProvisioningPoliciesItemApplyRequestBuilder) ToPostReque } 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. +// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId on 2023-03-16 and will be removed 2023-07-30 +func (m *VirtualEndpointProvisioningPoliciesItemApplyRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemApplyRequestBuilder) { + return NewVirtualEndpointProvisioningPoliciesItemApplyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assign_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assign_request_builder.go index 37b819dd675..3a72c66c84a 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assign_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assign_request_builder.go @@ -67,3 +67,8 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignRequestBuilder) ToPostRequ } 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. +// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId on 2023-03-16 and will be removed 2023-07-30 +func (m *VirtualEndpointProvisioningPoliciesItemAssignRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemAssignRequestBuilder) { + return NewVirtualEndpointProvisioningPoliciesItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_cloud_pc_provisioning_policy_assignment_item_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_cloud_pc_provisioning_policy_assignment_item_request_builder.go index bcdce725bf9..cc5bc2aa694 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_cloud_pc_provisioning_policy_assignment_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_cloud_pc_provisioning_policy_assignment_item_request_builder.go @@ -163,3 +163,8 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPo } 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. +// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId on 2023-03-16 and will be removed 2023-07-30 +func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder) { + return NewVirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_count_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_count_request_builder.go index 71a23462bb4..5294d27b2c6 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_count_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_count_request_builder.go @@ -76,3 +76,8 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCountRequestBuilder) } 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. +// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId on 2023-03-16 and will be removed 2023-07-30 +func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsCountRequestBuilder) { + return NewVirtualEndpointProvisioningPoliciesItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_count_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_count_request_builder.go index de86f826c42..90dfc85b984 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_count_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_count_request_builder.go @@ -76,3 +76,8 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersCoun } 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. +// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId on 2023-03-16 and will be removed 2023-07-30 +func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersCountRequestBuilder) { + return NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_mailbox_settings_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_mailbox_settings_request_builder.go index 682c37f8387..1ff3e75da5d 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_mailbox_settings_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_mailbox_settings_request_builder.go @@ -122,3 +122,8 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItem } 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. +// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId on 2023-03-16 and will be removed 2023-07-30 +func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemMailboxSettingsRequestBuilder) { + return NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_request_builder.go index 23051f97cbc..2a963e40c7f 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_request_builder.go @@ -39,9 +39,9 @@ type VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequestB // Request query parameters QueryParameters *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequestBuilderGetQueryParameters } -// ByUserIdString provides operations to manage the assignedUsers property of the microsoft.graph.cloudPcProvisioningPolicyAssignment entity. +// ByUserId provides operations to manage the assignedUsers property of the microsoft.graph.cloudPcProvisioningPolicyAssignment entity. // Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId on 2023-03-16 and will be removed 2023-07-30 -func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequestBuilder) ByUserIdString(userId string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUserItemRequestBuilder) { +func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequestBuilder) ByUserId(userId string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,8 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequ } 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. +// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId on 2023-03-16 and will be removed 2023-07-30 +func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequestBuilder) { + return NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_user_item_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_user_item_request_builder.go index c40a249c569..f836c50ca7e 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_user_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_user_item_request_builder.go @@ -81,3 +81,8 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUser } 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. +// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId on 2023-03-16 and will be removed 2023-07-30 +func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUserItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUserItemRequestBuilder) { + return NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUserItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_request_builder.go index e14cbcf7504..3e207c6c31b 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_request_builder.go @@ -46,9 +46,9 @@ type VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCloudPcProvisioningPolicyAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.cloudPcProvisioningPolicy entity. +// ByCloudPcProvisioningPolicyAssignmentId provides operations to manage the assignments property of the microsoft.graph.cloudPcProvisioningPolicy entity. // Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId on 2023-03-16 and will be removed 2023-07-30 -func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder) ByCloudPcProvisioningPolicyAssignmentIdString(cloudPcProvisioningPolicyAssignmentId string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder) { +func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder) ByCloudPcProvisioningPolicyAssignmentId(cloudPcProvisioningPolicyAssignmentId string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPolicyAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder) ToPos } 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. +// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId on 2023-03-16 and will be removed 2023-07-30 +func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder) { + return NewVirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_request_builder.go index ba840dfe5c5..20941a545cb 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_request_builder.go @@ -50,9 +50,9 @@ type VirtualEndpointProvisioningPoliciesRequestBuilderPostRequestConfiguration s func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) ApplyConfig()(*VirtualEndpointProvisioningPoliciesApplyConfigRequestBuilder) { return NewVirtualEndpointProvisioningPoliciesApplyConfigRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByCloudPcProvisioningPolicyIdString provides operations to manage the provisioningPolicies property of the microsoft.graph.virtualEndpoint entity. +// ByCloudPcProvisioningPolicyId provides operations to manage the provisioningPolicies property of the microsoft.graph.virtualEndpoint entity. // Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId on 2023-03-16 and will be removed 2023-07-30 -func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) ByCloudPcProvisioningPolicyIdString(cloudPcProvisioningPolicyId string)(*VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder) { +func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) ByCloudPcProvisioningPolicyId(cloudPcProvisioningPolicyId string)(*VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -160,3 +160,8 @@ func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) ToPostRequestInforma } 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. +// Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId on 2023-03-16 and will be removed 2023-07-30 +func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesRequestBuilder) { + return NewVirtualEndpointProvisioningPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_reports_export_jobs_cloud_pc_export_job_item_request_builder.go b/devicemanagement/virtual_endpoint_reports_export_jobs_cloud_pc_export_job_item_request_builder.go index 0bf2386aab2..95fa051be2c 100644 --- a/devicemanagement/virtual_endpoint_reports_export_jobs_cloud_pc_export_job_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_export_jobs_cloud_pc_export_job_item_request_builder.go @@ -156,3 +156,7 @@ func (m *VirtualEndpointReportsExportJobsCloudPcExportJobItemRequestBuilder) 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 *VirtualEndpointReportsExportJobsCloudPcExportJobItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointReportsExportJobsCloudPcExportJobItemRequestBuilder) { + return NewVirtualEndpointReportsExportJobsCloudPcExportJobItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_reports_export_jobs_count_request_builder.go b/devicemanagement/virtual_endpoint_reports_export_jobs_count_request_builder.go index 82bc5285e17..7031179d4e3 100644 --- a/devicemanagement/virtual_endpoint_reports_export_jobs_count_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_export_jobs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEndpointReportsExportJobsCountRequestBuilder) ToGetRequestInform } 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 *VirtualEndpointReportsExportJobsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointReportsExportJobsCountRequestBuilder) { + return NewVirtualEndpointReportsExportJobsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_reports_export_jobs_request_builder.go b/devicemanagement/virtual_endpoint_reports_export_jobs_request_builder.go index ac3a1e70a84..284ba4a2dcf 100644 --- a/devicemanagement/virtual_endpoint_reports_export_jobs_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_export_jobs_request_builder.go @@ -46,8 +46,8 @@ type VirtualEndpointReportsExportJobsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCloudPcExportJobIdString provides operations to manage the exportJobs property of the microsoft.graph.cloudPcReports entity. -func (m *VirtualEndpointReportsExportJobsRequestBuilder) ByCloudPcExportJobIdString(cloudPcExportJobId string)(*VirtualEndpointReportsExportJobsCloudPcExportJobItemRequestBuilder) { +// ByCloudPcExportJobId provides operations to manage the exportJobs property of the microsoft.graph.cloudPcReports entity. +func (m *VirtualEndpointReportsExportJobsRequestBuilder) ByCloudPcExportJobId(cloudPcExportJobId string)(*VirtualEndpointReportsExportJobsCloudPcExportJobItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *VirtualEndpointReportsExportJobsRequestBuilder) ToPostRequestInformatio } 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 *VirtualEndpointReportsExportJobsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointReportsExportJobsRequestBuilder) { + return NewVirtualEndpointReportsExportJobsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_reports_get_connection_quality_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_connection_quality_reports_request_builder.go index ee781907fc1..359f184e2bc 100644 --- a/devicemanagement/virtual_endpoint_reports_get_connection_quality_reports_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_connection_quality_reports_request_builder.go @@ -65,3 +65,7 @@ func (m *VirtualEndpointReportsGetConnectionQualityReportsRequestBuilder) ToPost } 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 *VirtualEndpointReportsGetConnectionQualityReportsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointReportsGetConnectionQualityReportsRequestBuilder) { + return NewVirtualEndpointReportsGetConnectionQualityReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_reports_get_daily_aggregated_remote_connection_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_daily_aggregated_remote_connection_reports_request_builder.go index 0eb1f8d905e..8a9d9ae665a 100644 --- a/devicemanagement/virtual_endpoint_reports_get_daily_aggregated_remote_connection_reports_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_daily_aggregated_remote_connection_reports_request_builder.go @@ -68,3 +68,7 @@ func (m *VirtualEndpointReportsGetDailyAggregatedRemoteConnectionReportsRequestB } 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 *VirtualEndpointReportsGetDailyAggregatedRemoteConnectionReportsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointReportsGetDailyAggregatedRemoteConnectionReportsRequestBuilder) { + return NewVirtualEndpointReportsGetDailyAggregatedRemoteConnectionReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/reports_get_autopilot_deployment_device_information_post_request_body.go b/devicemanagement/virtual_endpoint_reports_get_frontline_report_post_request_body.go similarity index 64% rename from devicemanagement/reports_get_autopilot_deployment_device_information_post_request_body.go rename to devicemanagement/virtual_endpoint_reports_get_frontline_report_post_request_body.go index f75924b90eb..1d521b0dae7 100644 --- a/devicemanagement/reports_get_autopilot_deployment_device_information_post_request_body.go +++ b/devicemanagement/virtual_endpoint_reports_get_frontline_report_post_request_body.go @@ -2,28 +2,29 @@ package devicemanagement import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) -// ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody -type ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody struct { +// VirtualEndpointReportsGetFrontlineReportPostRequestBody +type VirtualEndpointReportsGetFrontlineReportPostRequestBody struct { // Stores model information. backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore } -// NewReportsGetAutopilotDeploymentDeviceInformationPostRequestBody instantiates a new ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody and sets the default values. -func NewReportsGetAutopilotDeploymentDeviceInformationPostRequestBody()(*ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) { - m := &ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody{ +// NewVirtualEndpointReportsGetFrontlineReportPostRequestBody instantiates a new VirtualEndpointReportsGetFrontlineReportPostRequestBody and sets the default values. +func NewVirtualEndpointReportsGetFrontlineReportPostRequestBody()(*VirtualEndpointReportsGetFrontlineReportPostRequestBody) { + m := &VirtualEndpointReportsGetFrontlineReportPostRequestBody{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) return m } -// CreateReportsGetAutopilotDeploymentDeviceInformationPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -func CreateReportsGetAutopilotDeploymentDeviceInformationPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewReportsGetAutopilotDeploymentDeviceInformationPostRequestBody(), nil +// CreateVirtualEndpointReportsGetFrontlineReportPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateVirtualEndpointReportsGetFrontlineReportPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEndpointReportsGetFrontlineReportPostRequestBody(), nil } // GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetAdditionalData()(map[string]any) { +func (m *VirtualEndpointReportsGetFrontlineReportPostRequestBody) GetAdditionalData()(map[string]any) { val , err := m.backingStore.Get("additionalData") if err != nil { panic(err) @@ -35,11 +36,11 @@ func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetAddit return val.(map[string]any) } // GetBackingStore gets the backingStore property value. Stores model information. -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { +func (m *VirtualEndpointReportsGetFrontlineReportPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } // GetFieldDeserializers the deserialization information for the current model -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { +func (m *VirtualEndpointReportsGetFrontlineReportPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["filter"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() @@ -67,16 +68,6 @@ func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetField } return nil } - res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.SetName(val) - } - return nil - } res["orderBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfPrimitiveValues("string") if err != nil { @@ -93,6 +84,16 @@ func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetField } return nil } + res["reportName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ParseCloudPcReportName) + if err != nil { + return err + } + if val != nil { + m.SetReportName(val.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReportName)) + } + return nil + } res["search"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -119,16 +120,6 @@ func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetField } return nil } - res["sessionId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.SetSessionId(val) - } - return nil - } res["skip"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetInt32Value() if err != nil { @@ -152,7 +143,7 @@ func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetField return res } // GetFilter gets the filter property value. The filter property -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetFilter()(*string) { +func (m *VirtualEndpointReportsGetFrontlineReportPostRequestBody) GetFilter()(*string) { val, err := m.GetBackingStore().Get("filter") if err != nil { panic(err) @@ -163,7 +154,7 @@ func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetFilte return nil } // GetGroupBy gets the groupBy property value. The groupBy property -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetGroupBy()([]string) { +func (m *VirtualEndpointReportsGetFrontlineReportPostRequestBody) GetGroupBy()([]string) { val, err := m.GetBackingStore().Get("groupBy") if err != nil { panic(err) @@ -173,30 +164,30 @@ func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetGroup } return nil } -// GetName gets the name property value. The name property -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetName()(*string) { - val, err := m.GetBackingStore().Get("name") +// GetOrderBy gets the orderBy property value. The orderBy property +func (m *VirtualEndpointReportsGetFrontlineReportPostRequestBody) GetOrderBy()([]string) { + val, err := m.GetBackingStore().Get("orderBy") if err != nil { panic(err) } if val != nil { - return val.(*string) + return val.([]string) } return nil } -// GetOrderBy gets the orderBy property value. The orderBy property -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetOrderBy()([]string) { - val, err := m.GetBackingStore().Get("orderBy") +// GetReportName gets the reportName property value. The reportName property +func (m *VirtualEndpointReportsGetFrontlineReportPostRequestBody) GetReportName()(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReportName) { + val, err := m.GetBackingStore().Get("reportName") if err != nil { panic(err) } if val != nil { - return val.([]string) + return val.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReportName) } return nil } // GetSearch gets the search property value. The search property -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetSearch()(*string) { +func (m *VirtualEndpointReportsGetFrontlineReportPostRequestBody) GetSearch()(*string) { val, err := m.GetBackingStore().Get("search") if err != nil { panic(err) @@ -207,7 +198,7 @@ func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetSearc return nil } // GetSelectEscaped gets the select property value. The select property -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetSelectEscaped()([]string) { +func (m *VirtualEndpointReportsGetFrontlineReportPostRequestBody) GetSelectEscaped()([]string) { val, err := m.GetBackingStore().Get("selectEscaped") if err != nil { panic(err) @@ -217,19 +208,8 @@ func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetSelec } return nil } -// GetSessionId gets the sessionId property value. The sessionId property -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetSessionId()(*string) { - val, err := m.GetBackingStore().Get("sessionId") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} // GetSkip gets the skip property value. The skip property -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetSkip()(*int32) { +func (m *VirtualEndpointReportsGetFrontlineReportPostRequestBody) GetSkip()(*int32) { val, err := m.GetBackingStore().Get("skip") if err != nil { panic(err) @@ -240,7 +220,7 @@ func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetSkip( return nil } // GetTop gets the top property value. The top property -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetTop()(*int32) { +func (m *VirtualEndpointReportsGetFrontlineReportPostRequestBody) GetTop()(*int32) { val, err := m.GetBackingStore().Get("top") if err != nil { panic(err) @@ -251,7 +231,7 @@ func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) GetTop() return nil } // Serialize serializes information the current object -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { +func (m *VirtualEndpointReportsGetFrontlineReportPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { { err := writer.WriteStringValue("filter", m.GetFilter()) if err != nil { @@ -264,14 +244,15 @@ func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) Serializ return err } } - { - err := writer.WriteStringValue("name", m.GetName()) + if m.GetOrderBy() != nil { + err := writer.WriteCollectionOfStringValues("orderBy", m.GetOrderBy()) if err != nil { return err } } - if m.GetOrderBy() != nil { - err := writer.WriteCollectionOfStringValues("orderBy", m.GetOrderBy()) + if m.GetReportName() != nil { + cast := (*m.GetReportName()).String() + err := writer.WriteStringValue("reportName", &cast) if err != nil { return err } @@ -288,12 +269,6 @@ func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) Serializ return err } } - { - err := writer.WriteStringValue("sessionId", m.GetSessionId()) - if err != nil { - return err - } - } { err := writer.WriteInt32Value("skip", m.GetSkip()) if err != nil { @@ -315,102 +290,93 @@ func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) Serializ return nil } // SetAdditionalData sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) SetAdditionalData(value map[string]any)() { +func (m *VirtualEndpointReportsGetFrontlineReportPostRequestBody) SetAdditionalData(value map[string]any)() { err := m.GetBackingStore().Set("additionalData", value) if err != nil { panic(err) } } // SetBackingStore sets the backingStore property value. Stores model information. -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { +func (m *VirtualEndpointReportsGetFrontlineReportPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } // SetFilter sets the filter property value. The filter property -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) SetFilter(value *string)() { +func (m *VirtualEndpointReportsGetFrontlineReportPostRequestBody) SetFilter(value *string)() { err := m.GetBackingStore().Set("filter", value) if err != nil { panic(err) } } // SetGroupBy sets the groupBy property value. The groupBy property -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) SetGroupBy(value []string)() { +func (m *VirtualEndpointReportsGetFrontlineReportPostRequestBody) SetGroupBy(value []string)() { err := m.GetBackingStore().Set("groupBy", value) if err != nil { panic(err) } } -// SetName sets the name property value. The name property -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) SetName(value *string)() { - err := m.GetBackingStore().Set("name", value) +// SetOrderBy sets the orderBy property value. The orderBy property +func (m *VirtualEndpointReportsGetFrontlineReportPostRequestBody) SetOrderBy(value []string)() { + err := m.GetBackingStore().Set("orderBy", value) if err != nil { panic(err) } } -// SetOrderBy sets the orderBy property value. The orderBy property -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) SetOrderBy(value []string)() { - err := m.GetBackingStore().Set("orderBy", value) +// SetReportName sets the reportName property value. The reportName property +func (m *VirtualEndpointReportsGetFrontlineReportPostRequestBody) SetReportName(value *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReportName)() { + err := m.GetBackingStore().Set("reportName", value) if err != nil { panic(err) } } // SetSearch sets the search property value. The search property -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) SetSearch(value *string)() { +func (m *VirtualEndpointReportsGetFrontlineReportPostRequestBody) SetSearch(value *string)() { err := m.GetBackingStore().Set("search", value) if err != nil { panic(err) } } // SetSelectEscaped sets the select property value. The select property -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) SetSelectEscaped(value []string)() { +func (m *VirtualEndpointReportsGetFrontlineReportPostRequestBody) SetSelectEscaped(value []string)() { err := m.GetBackingStore().Set("selectEscaped", value) if err != nil { panic(err) } } -// SetSessionId sets the sessionId property value. The sessionId property -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) SetSessionId(value *string)() { - err := m.GetBackingStore().Set("sessionId", value) - if err != nil { - panic(err) - } -} // SetSkip sets the skip property value. The skip property -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) SetSkip(value *int32)() { +func (m *VirtualEndpointReportsGetFrontlineReportPostRequestBody) SetSkip(value *int32)() { err := m.GetBackingStore().Set("skip", value) if err != nil { panic(err) } } // SetTop sets the top property value. The top property -func (m *ReportsGetAutopilotDeploymentDeviceInformationPostRequestBody) SetTop(value *int32)() { +func (m *VirtualEndpointReportsGetFrontlineReportPostRequestBody) SetTop(value *int32)() { err := m.GetBackingStore().Set("top", value) if err != nil { panic(err) } } -// ReportsGetAutopilotDeploymentDeviceInformationPostRequestBodyable -type ReportsGetAutopilotDeploymentDeviceInformationPostRequestBodyable interface { +// VirtualEndpointReportsGetFrontlineReportPostRequestBodyable +type VirtualEndpointReportsGetFrontlineReportPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetFilter()(*string) GetGroupBy()([]string) - GetName()(*string) GetOrderBy()([]string) + GetReportName()(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReportName) GetSearch()(*string) GetSelectEscaped()([]string) - GetSessionId()(*string) GetSkip()(*int32) GetTop()(*int32) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetFilter(value *string)() SetGroupBy(value []string)() - SetName(value *string)() SetOrderBy(value []string)() + SetReportName(value *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReportName)() SetSearch(value *string)() SetSelectEscaped(value []string)() - SetSessionId(value *string)() SetSkip(value *int32)() SetTop(value *int32)() } diff --git a/devicemanagement/virtual_endpoint_reports_get_frontline_report_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_frontline_report_request_builder.go new file mode 100644 index 00000000000..a3ab3cc90d3 --- /dev/null +++ b/devicemanagement/virtual_endpoint_reports_get_frontline_report_request_builder.go @@ -0,0 +1,71 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// VirtualEndpointReportsGetFrontlineReportRequestBuilder provides operations to call the getFrontlineReport method. +type VirtualEndpointReportsGetFrontlineReportRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEndpointReportsGetFrontlineReportRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEndpointReportsGetFrontlineReportRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewVirtualEndpointReportsGetFrontlineReportRequestBuilderInternal instantiates a new GetFrontlineReportRequestBuilder and sets the default values. +func NewVirtualEndpointReportsGetFrontlineReportRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointReportsGetFrontlineReportRequestBuilder) { + m := &VirtualEndpointReportsGetFrontlineReportRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/reports/getFrontlineReport", pathParameters), + } + return m +} +// NewVirtualEndpointReportsGetFrontlineReportRequestBuilder instantiates a new GetFrontlineReportRequestBuilder and sets the default values. +func NewVirtualEndpointReportsGetFrontlineReportRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointReportsGetFrontlineReportRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEndpointReportsGetFrontlineReportRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action getFrontlineReport +func (m *VirtualEndpointReportsGetFrontlineReportRequestBuilder) Post(ctx context.Context, body VirtualEndpointReportsGetFrontlineReportPostRequestBodyable, requestConfiguration *VirtualEndpointReportsGetFrontlineReportRequestBuilderPostRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// ToPostRequestInformation invoke action getFrontlineReport +func (m *VirtualEndpointReportsGetFrontlineReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body VirtualEndpointReportsGetFrontlineReportPostRequestBodyable, requestConfiguration *VirtualEndpointReportsGetFrontlineReportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *VirtualEndpointReportsGetFrontlineReportRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointReportsGetFrontlineReportRequestBuilder) { + return NewVirtualEndpointReportsGetFrontlineReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_reports_get_inaccessible_cloud_pc_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_inaccessible_cloud_pc_reports_request_builder.go index 2036bf01a49..a6f7a6be83f 100644 --- a/devicemanagement/virtual_endpoint_reports_get_inaccessible_cloud_pc_reports_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_inaccessible_cloud_pc_reports_request_builder.go @@ -68,3 +68,7 @@ func (m *VirtualEndpointReportsGetInaccessibleCloudPcReportsRequestBuilder) ToPo } 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 *VirtualEndpointReportsGetInaccessibleCloudPcReportsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointReportsGetInaccessibleCloudPcReportsRequestBuilder) { + return NewVirtualEndpointReportsGetInaccessibleCloudPcReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_reports_get_raw_remote_connection_reports_post_request_body.go b/devicemanagement/virtual_endpoint_reports_get_raw_remote_connection_reports_post_request_body.go new file mode 100644 index 00000000000..5ff361b1008 --- /dev/null +++ b/devicemanagement/virtual_endpoint_reports_get_raw_remote_connection_reports_post_request_body.go @@ -0,0 +1,344 @@ +package devicemanagement + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +// VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody +type VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewVirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody instantiates a new VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody and sets the default values. +func NewVirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody()(*VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody) { + m := &VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateVirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateVirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody(), nil +} +// GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the backingStore property value. Stores model information. +func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["filter"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetFilter(val) + } + return nil + } + res["groupBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetGroupBy(res) + } + return nil + } + res["orderBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetOrderBy(res) + } + return nil + } + res["search"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSearch(val) + } + return nil + } + res["select"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetSelectEscaped(res) + } + return nil + } + res["skip"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetSkip(val) + } + return nil + } + res["top"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTop(val) + } + return nil + } + return res +} +// GetFilter gets the filter property value. The filter property +func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody) GetFilter()(*string) { + val, err := m.GetBackingStore().Get("filter") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetGroupBy gets the groupBy property value. The groupBy property +func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody) GetGroupBy()([]string) { + val, err := m.GetBackingStore().Get("groupBy") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetOrderBy gets the orderBy property value. The orderBy property +func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody) GetOrderBy()([]string) { + val, err := m.GetBackingStore().Get("orderBy") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetSearch gets the search property value. The search property +func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody) GetSearch()(*string) { + val, err := m.GetBackingStore().Get("search") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSelectEscaped gets the select property value. The select property +func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody) GetSelectEscaped()([]string) { + val, err := m.GetBackingStore().Get("selectEscaped") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetSkip gets the skip property value. The skip property +func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody) GetSkip()(*int32) { + val, err := m.GetBackingStore().Get("skip") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetTop gets the top property value. The top property +func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody) GetTop()(*int32) { + val, err := m.GetBackingStore().Get("top") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("filter", m.GetFilter()) + if err != nil { + return err + } + } + if m.GetGroupBy() != nil { + err := writer.WriteCollectionOfStringValues("groupBy", m.GetGroupBy()) + if err != nil { + return err + } + } + if m.GetOrderBy() != nil { + err := writer.WriteCollectionOfStringValues("orderBy", m.GetOrderBy()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("search", m.GetSearch()) + if err != nil { + return err + } + } + if m.GetSelectEscaped() != nil { + err := writer.WriteCollectionOfStringValues("select", m.GetSelectEscaped()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("skip", m.GetSkip()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("top", m.GetTop()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the backingStore property value. Stores model information. +func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetFilter sets the filter property value. The filter property +func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody) SetFilter(value *string)() { + err := m.GetBackingStore().Set("filter", value) + if err != nil { + panic(err) + } +} +// SetGroupBy sets the groupBy property value. The groupBy property +func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody) SetGroupBy(value []string)() { + err := m.GetBackingStore().Set("groupBy", value) + if err != nil { + panic(err) + } +} +// SetOrderBy sets the orderBy property value. The orderBy property +func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody) SetOrderBy(value []string)() { + err := m.GetBackingStore().Set("orderBy", value) + if err != nil { + panic(err) + } +} +// SetSearch sets the search property value. The search property +func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody) SetSearch(value *string)() { + err := m.GetBackingStore().Set("search", value) + if err != nil { + panic(err) + } +} +// SetSelectEscaped sets the select property value. The select property +func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody) SetSelectEscaped(value []string)() { + err := m.GetBackingStore().Set("selectEscaped", value) + if err != nil { + panic(err) + } +} +// SetSkip sets the skip property value. The skip property +func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody) SetSkip(value *int32)() { + err := m.GetBackingStore().Set("skip", value) + if err != nil { + panic(err) + } +} +// SetTop sets the top property value. The top property +func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBody) SetTop(value *int32)() { + err := m.GetBackingStore().Set("top", value) + if err != nil { + panic(err) + } +} +// VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBodyable +type VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetFilter()(*string) + GetGroupBy()([]string) + GetOrderBy()([]string) + GetSearch()(*string) + GetSelectEscaped()([]string) + GetSkip()(*int32) + GetTop()(*int32) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetFilter(value *string)() + SetGroupBy(value []string)() + SetOrderBy(value []string)() + SetSearch(value *string)() + SetSelectEscaped(value []string)() + SetSkip(value *int32)() + SetTop(value *int32)() +} diff --git a/devicemanagement/virtual_endpoint_reports_get_raw_remote_connection_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_raw_remote_connection_reports_request_builder.go new file mode 100644 index 00000000000..1468c24ff2f --- /dev/null +++ b/devicemanagement/virtual_endpoint_reports_get_raw_remote_connection_reports_request_builder.go @@ -0,0 +1,71 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// VirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilder provides operations to call the getRawRemoteConnectionReports method. +type VirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewVirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilderInternal instantiates a new GetRawRemoteConnectionReportsRequestBuilder and sets the default values. +func NewVirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilder) { + m := &VirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/reports/getRawRemoteConnectionReports", pathParameters), + } + return m +} +// NewVirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilder instantiates a new GetRawRemoteConnectionReportsRequestBuilder and sets the default values. +func NewVirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action getRawRemoteConnectionReports +func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilder) Post(ctx context.Context, body VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBodyable, requestConfiguration *VirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilderPostRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// ToPostRequestInformation invoke action getRawRemoteConnectionReports +func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilder) ToPostRequestInformation(ctx context.Context, body VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBodyable, requestConfiguration *VirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *VirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilder) { + return NewVirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_latency_with_cloud_pc_id_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_latency_with_cloud_pc_id_request_builder.go index 10120b43cbe..49032e0521d 100644 --- a/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_latency_with_cloud_pc_id_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_latency_with_cloud_pc_id_request_builder.go @@ -64,3 +64,7 @@ func (m *VirtualEndpointReportsGetRealTimeRemoteConnectionLatencyWithCloudPcIdRe } 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 *VirtualEndpointReportsGetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointReportsGetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder) { + return NewVirtualEndpointReportsGetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_status_with_cloud_pc_id_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_status_with_cloud_pc_id_request_builder.go index ddf742cf66b..72ac2d4fb86 100644 --- a/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_status_with_cloud_pc_id_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_status_with_cloud_pc_id_request_builder.go @@ -64,3 +64,7 @@ func (m *VirtualEndpointReportsGetRealTimeRemoteConnectionStatusWithCloudPcIdReq } 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 *VirtualEndpointReportsGetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointReportsGetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder) { + return NewVirtualEndpointReportsGetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_reports_get_remote_connection_historical_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_remote_connection_historical_reports_request_builder.go index a8ba3d1d1dd..b537d0f088f 100644 --- a/devicemanagement/virtual_endpoint_reports_get_remote_connection_historical_reports_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_remote_connection_historical_reports_request_builder.go @@ -68,3 +68,7 @@ func (m *VirtualEndpointReportsGetRemoteConnectionHistoricalReportsRequestBuilde } 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 *VirtualEndpointReportsGetRemoteConnectionHistoricalReportsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointReportsGetRemoteConnectionHistoricalReportsRequestBuilder) { + return NewVirtualEndpointReportsGetRemoteConnectionHistoricalReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_reports_get_shared_use_license_usage_report_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_shared_use_license_usage_report_request_builder.go index 3fa8aacda96..304ef89bde2 100644 --- a/devicemanagement/virtual_endpoint_reports_get_shared_use_license_usage_report_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_shared_use_license_usage_report_request_builder.go @@ -31,6 +31,7 @@ func NewVirtualEndpointReportsGetSharedUseLicenseUsageReportRequestBuilder(rawUr return NewVirtualEndpointReportsGetSharedUseLicenseUsageReportRequestBuilderInternal(urlParams, requestAdapter) } // Post get a usage report on shared-use licenses, such as servicePlanId, licenseCount, and claimedLicenseCount, for real-time, 7 days, or 28 days trend. +// Deprecated: The getSharedUseLicenseUsageReport API is deprecated and will stop returning on Oct 17, 2023. Please use getFrontlineReport instead. as of 2023-05/getSharedUseLicenseUsageReport on 2023-05-17 and will be removed 2023-10-17 // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcreports-getshareduselicenseusagereport?view=graph-rest-1.0 @@ -53,6 +54,7 @@ func (m *VirtualEndpointReportsGetSharedUseLicenseUsageReportRequestBuilder) Pos return res.([]byte), nil } // ToPostRequestInformation get a usage report on shared-use licenses, such as servicePlanId, licenseCount, and claimedLicenseCount, for real-time, 7 days, or 28 days trend. +// Deprecated: The getSharedUseLicenseUsageReport API is deprecated and will stop returning on Oct 17, 2023. Please use getFrontlineReport instead. as of 2023-05/getSharedUseLicenseUsageReport on 2023-05-17 and will be removed 2023-10-17 func (m *VirtualEndpointReportsGetSharedUseLicenseUsageReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body VirtualEndpointReportsGetSharedUseLicenseUsageReportPostRequestBodyable, requestConfiguration *VirtualEndpointReportsGetSharedUseLicenseUsageReportRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -68,3 +70,8 @@ func (m *VirtualEndpointReportsGetSharedUseLicenseUsageReportRequestBuilder) 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. +// Deprecated: The getSharedUseLicenseUsageReport API is deprecated and will stop returning on Oct 17, 2023. Please use getFrontlineReport instead. as of 2023-05/getSharedUseLicenseUsageReport on 2023-05-17 and will be removed 2023-10-17 +func (m *VirtualEndpointReportsGetSharedUseLicenseUsageReportRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointReportsGetSharedUseLicenseUsageReportRequestBuilder) { + return NewVirtualEndpointReportsGetSharedUseLicenseUsageReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_reports_get_total_aggregated_remote_connection_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_total_aggregated_remote_connection_reports_request_builder.go index da6534cc150..50022124c98 100644 --- a/devicemanagement/virtual_endpoint_reports_get_total_aggregated_remote_connection_reports_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_total_aggregated_remote_connection_reports_request_builder.go @@ -68,3 +68,7 @@ func (m *VirtualEndpointReportsGetTotalAggregatedRemoteConnectionReportsRequestB } 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 *VirtualEndpointReportsGetTotalAggregatedRemoteConnectionReportsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointReportsGetTotalAggregatedRemoteConnectionReportsRequestBuilder) { + return NewVirtualEndpointReportsGetTotalAggregatedRemoteConnectionReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_request_builder.go index daf9db93ba4..2fb6833e2ae 100644 --- a/devicemanagement/virtual_endpoint_reports_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_request_builder.go @@ -101,10 +101,18 @@ func (m *VirtualEndpointReportsRequestBuilder) GetConnectionQualityReports()(*Vi func (m *VirtualEndpointReportsRequestBuilder) GetDailyAggregatedRemoteConnectionReports()(*VirtualEndpointReportsGetDailyAggregatedRemoteConnectionReportsRequestBuilder) { return NewVirtualEndpointReportsGetDailyAggregatedRemoteConnectionReportsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// GetFrontlineReport provides operations to call the getFrontlineReport method. +func (m *VirtualEndpointReportsRequestBuilder) GetFrontlineReport()(*VirtualEndpointReportsGetFrontlineReportRequestBuilder) { + return NewVirtualEndpointReportsGetFrontlineReportRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // GetInaccessibleCloudPcReports provides operations to call the getInaccessibleCloudPcReports method. func (m *VirtualEndpointReportsRequestBuilder) GetInaccessibleCloudPcReports()(*VirtualEndpointReportsGetInaccessibleCloudPcReportsRequestBuilder) { return NewVirtualEndpointReportsGetInaccessibleCloudPcReportsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// GetRawRemoteConnectionReports provides operations to call the getRawRemoteConnectionReports method. +func (m *VirtualEndpointReportsRequestBuilder) GetRawRemoteConnectionReports()(*VirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilder) { + return NewVirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // GetRealTimeRemoteConnectionLatencyWithCloudPcId provides operations to call the getRealTimeRemoteConnectionLatency method. func (m *VirtualEndpointReportsRequestBuilder) GetRealTimeRemoteConnectionLatencyWithCloudPcId(cloudPcId *string)(*VirtualEndpointReportsGetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder) { return NewVirtualEndpointReportsGetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, cloudPcId) @@ -189,3 +197,7 @@ func (m *VirtualEndpointReportsRequestBuilder) ToPatchRequestInformation(ctx con } 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 *VirtualEndpointReportsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointReportsRequestBuilder) { + return NewVirtualEndpointReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_request_builder.go b/devicemanagement/virtual_endpoint_request_builder.go index f83be3c3f4f..a9bf8e71b4f 100644 --- a/devicemanagement/virtual_endpoint_request_builder.go +++ b/devicemanagement/virtual_endpoint_request_builder.go @@ -225,3 +225,7 @@ func (m *VirtualEndpointRequestBuilder) ToPatchRequestInformation(ctx context.Co func (m *VirtualEndpointRequestBuilder) UserSettings()(*VirtualEndpointUserSettingsRequestBuilder) { return NewVirtualEndpointUserSettingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *VirtualEndpointRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointRequestBuilder) { + return NewVirtualEndpointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_service_plans_cloud_pc_service_plan_item_request_builder.go b/devicemanagement/virtual_endpoint_service_plans_cloud_pc_service_plan_item_request_builder.go index 9a8cb85c6ca..f3096a3e751 100644 --- a/devicemanagement/virtual_endpoint_service_plans_cloud_pc_service_plan_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_service_plans_cloud_pc_service_plan_item_request_builder.go @@ -153,3 +153,7 @@ func (m *VirtualEndpointServicePlansCloudPcServicePlanItemRequestBuilder) ToPatc } 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 *VirtualEndpointServicePlansCloudPcServicePlanItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointServicePlansCloudPcServicePlanItemRequestBuilder) { + return NewVirtualEndpointServicePlansCloudPcServicePlanItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_service_plans_count_request_builder.go b/devicemanagement/virtual_endpoint_service_plans_count_request_builder.go index 72bf99744f1..8896ae194e9 100644 --- a/devicemanagement/virtual_endpoint_service_plans_count_request_builder.go +++ b/devicemanagement/virtual_endpoint_service_plans_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEndpointServicePlansCountRequestBuilder) 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 *VirtualEndpointServicePlansCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointServicePlansCountRequestBuilder) { + return NewVirtualEndpointServicePlansCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_service_plans_request_builder.go b/devicemanagement/virtual_endpoint_service_plans_request_builder.go index efdddc30b8e..c8e15a57f92 100644 --- a/devicemanagement/virtual_endpoint_service_plans_request_builder.go +++ b/devicemanagement/virtual_endpoint_service_plans_request_builder.go @@ -46,8 +46,8 @@ type VirtualEndpointServicePlansRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCloudPcServicePlanIdString provides operations to manage the servicePlans property of the microsoft.graph.virtualEndpoint entity. -func (m *VirtualEndpointServicePlansRequestBuilder) ByCloudPcServicePlanIdString(cloudPcServicePlanId string)(*VirtualEndpointServicePlansCloudPcServicePlanItemRequestBuilder) { +// ByCloudPcServicePlanId provides operations to manage the servicePlans property of the microsoft.graph.virtualEndpoint entity. +func (m *VirtualEndpointServicePlansRequestBuilder) ByCloudPcServicePlanId(cloudPcServicePlanId string)(*VirtualEndpointServicePlansCloudPcServicePlanItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *VirtualEndpointServicePlansRequestBuilder) 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 *VirtualEndpointServicePlansRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointServicePlansRequestBuilder) { + return NewVirtualEndpointServicePlansRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_shared_use_service_plans_cloud_pc_shared_use_service_plan_item_request_builder.go b/devicemanagement/virtual_endpoint_shared_use_service_plans_cloud_pc_shared_use_service_plan_item_request_builder.go index cb8c7b4a581..5e36f0e569e 100644 --- a/devicemanagement/virtual_endpoint_shared_use_service_plans_cloud_pc_shared_use_service_plan_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_shared_use_service_plans_cloud_pc_shared_use_service_plan_item_request_builder.go @@ -162,3 +162,8 @@ func (m *VirtualEndpointSharedUseServicePlansCloudPcSharedUseServicePlanItemRequ } 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. +// Deprecated: The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans on 2023-06-08 and will be removed 2023-10-08 +func (m *VirtualEndpointSharedUseServicePlansCloudPcSharedUseServicePlanItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointSharedUseServicePlansCloudPcSharedUseServicePlanItemRequestBuilder) { + return NewVirtualEndpointSharedUseServicePlansCloudPcSharedUseServicePlanItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_shared_use_service_plans_count_request_builder.go b/devicemanagement/virtual_endpoint_shared_use_service_plans_count_request_builder.go index e19eae76e9a..920346c9644 100644 --- a/devicemanagement/virtual_endpoint_shared_use_service_plans_count_request_builder.go +++ b/devicemanagement/virtual_endpoint_shared_use_service_plans_count_request_builder.go @@ -76,3 +76,8 @@ func (m *VirtualEndpointSharedUseServicePlansCountRequestBuilder) ToGetRequestIn } 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. +// Deprecated: The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans on 2023-06-08 and will be removed 2023-10-08 +func (m *VirtualEndpointSharedUseServicePlansCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointSharedUseServicePlansCountRequestBuilder) { + return NewVirtualEndpointSharedUseServicePlansCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_shared_use_service_plans_request_builder.go b/devicemanagement/virtual_endpoint_shared_use_service_plans_request_builder.go index dd92b2a7649..3136f7c8adb 100644 --- a/devicemanagement/virtual_endpoint_shared_use_service_plans_request_builder.go +++ b/devicemanagement/virtual_endpoint_shared_use_service_plans_request_builder.go @@ -46,9 +46,9 @@ type VirtualEndpointSharedUseServicePlansRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCloudPcSharedUseServicePlanIdString provides operations to manage the sharedUseServicePlans property of the microsoft.graph.virtualEndpoint entity. +// ByCloudPcSharedUseServicePlanId provides operations to manage the sharedUseServicePlans property of the microsoft.graph.virtualEndpoint entity. // Deprecated: The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans on 2023-06-08 and will be removed 2023-10-08 -func (m *VirtualEndpointSharedUseServicePlansRequestBuilder) ByCloudPcSharedUseServicePlanIdString(cloudPcSharedUseServicePlanId string)(*VirtualEndpointSharedUseServicePlansCloudPcSharedUseServicePlanItemRequestBuilder) { +func (m *VirtualEndpointSharedUseServicePlansRequestBuilder) ByCloudPcSharedUseServicePlanId(cloudPcSharedUseServicePlanId string)(*VirtualEndpointSharedUseServicePlansCloudPcSharedUseServicePlanItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,8 @@ func (m *VirtualEndpointSharedUseServicePlansRequestBuilder) ToPostRequestInform } 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. +// Deprecated: The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans on 2023-06-08 and will be removed 2023-10-08 +func (m *VirtualEndpointSharedUseServicePlansRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointSharedUseServicePlansRequestBuilder) { + return NewVirtualEndpointSharedUseServicePlansRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_snapshots_cloud_pc_snapshot_item_request_builder.go b/devicemanagement/virtual_endpoint_snapshots_cloud_pc_snapshot_item_request_builder.go index 9489b64d782..32478c54ec0 100644 --- a/devicemanagement/virtual_endpoint_snapshots_cloud_pc_snapshot_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_snapshots_cloud_pc_snapshot_item_request_builder.go @@ -156,3 +156,7 @@ func (m *VirtualEndpointSnapshotsCloudPcSnapshotItemRequestBuilder) ToPatchReque } 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 *VirtualEndpointSnapshotsCloudPcSnapshotItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointSnapshotsCloudPcSnapshotItemRequestBuilder) { + return NewVirtualEndpointSnapshotsCloudPcSnapshotItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_snapshots_count_request_builder.go b/devicemanagement/virtual_endpoint_snapshots_count_request_builder.go index dd7b0b22541..20deca7b5ed 100644 --- a/devicemanagement/virtual_endpoint_snapshots_count_request_builder.go +++ b/devicemanagement/virtual_endpoint_snapshots_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEndpointSnapshotsCountRequestBuilder) ToGetRequestInformation(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 *VirtualEndpointSnapshotsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointSnapshotsCountRequestBuilder) { + return NewVirtualEndpointSnapshotsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_snapshots_get_storage_accounts_with_subscription_id_request_builder.go b/devicemanagement/virtual_endpoint_snapshots_get_storage_accounts_with_subscription_id_request_builder.go index 50ac4bb5747..14bf52083af 100644 --- a/devicemanagement/virtual_endpoint_snapshots_get_storage_accounts_with_subscription_id_request_builder.go +++ b/devicemanagement/virtual_endpoint_snapshots_get_storage_accounts_with_subscription_id_request_builder.go @@ -83,3 +83,7 @@ func (m *VirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdRequestBuil } 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 *VirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdRequestBuilder) { + return NewVirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_snapshots_get_subscriptions_request_builder.go b/devicemanagement/virtual_endpoint_snapshots_get_subscriptions_request_builder.go index c98494711c6..db24ca789b0 100644 --- a/devicemanagement/virtual_endpoint_snapshots_get_subscriptions_request_builder.go +++ b/devicemanagement/virtual_endpoint_snapshots_get_subscriptions_request_builder.go @@ -80,3 +80,7 @@ func (m *VirtualEndpointSnapshotsGetSubscriptionsRequestBuilder) ToGetRequestInf } 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 *VirtualEndpointSnapshotsGetSubscriptionsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointSnapshotsGetSubscriptionsRequestBuilder) { + return NewVirtualEndpointSnapshotsGetSubscriptionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_snapshots_request_builder.go b/devicemanagement/virtual_endpoint_snapshots_request_builder.go index fe3d07951be..f0e31926254 100644 --- a/devicemanagement/virtual_endpoint_snapshots_request_builder.go +++ b/devicemanagement/virtual_endpoint_snapshots_request_builder.go @@ -46,8 +46,8 @@ type VirtualEndpointSnapshotsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCloudPcSnapshotIdString provides operations to manage the snapshots property of the microsoft.graph.virtualEndpoint entity. -func (m *VirtualEndpointSnapshotsRequestBuilder) ByCloudPcSnapshotIdString(cloudPcSnapshotId string)(*VirtualEndpointSnapshotsCloudPcSnapshotItemRequestBuilder) { +// ByCloudPcSnapshotId provides operations to manage the snapshots property of the microsoft.graph.virtualEndpoint entity. +func (m *VirtualEndpointSnapshotsRequestBuilder) ByCloudPcSnapshotId(cloudPcSnapshotId string)(*VirtualEndpointSnapshotsCloudPcSnapshotItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *VirtualEndpointSnapshotsRequestBuilder) ToPostRequestInformation(ctx co } 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 *VirtualEndpointSnapshotsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointSnapshotsRequestBuilder) { + return NewVirtualEndpointSnapshotsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_supported_regions_cloud_pc_supported_region_item_request_builder.go b/devicemanagement/virtual_endpoint_supported_regions_cloud_pc_supported_region_item_request_builder.go index 099e4fd4304..83dfdcc9029 100644 --- a/devicemanagement/virtual_endpoint_supported_regions_cloud_pc_supported_region_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_supported_regions_cloud_pc_supported_region_item_request_builder.go @@ -153,3 +153,7 @@ func (m *VirtualEndpointSupportedRegionsCloudPcSupportedRegionItemRequestBuilder } 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 *VirtualEndpointSupportedRegionsCloudPcSupportedRegionItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointSupportedRegionsCloudPcSupportedRegionItemRequestBuilder) { + return NewVirtualEndpointSupportedRegionsCloudPcSupportedRegionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_supported_regions_count_request_builder.go b/devicemanagement/virtual_endpoint_supported_regions_count_request_builder.go index 0c58232ca31..14f5b13d7f8 100644 --- a/devicemanagement/virtual_endpoint_supported_regions_count_request_builder.go +++ b/devicemanagement/virtual_endpoint_supported_regions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEndpointSupportedRegionsCountRequestBuilder) ToGetRequestInforma } 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 *VirtualEndpointSupportedRegionsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointSupportedRegionsCountRequestBuilder) { + return NewVirtualEndpointSupportedRegionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_supported_regions_request_builder.go b/devicemanagement/virtual_endpoint_supported_regions_request_builder.go index 25bb9154c29..76b9cb200bc 100644 --- a/devicemanagement/virtual_endpoint_supported_regions_request_builder.go +++ b/devicemanagement/virtual_endpoint_supported_regions_request_builder.go @@ -46,8 +46,8 @@ type VirtualEndpointSupportedRegionsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCloudPcSupportedRegionIdString provides operations to manage the supportedRegions property of the microsoft.graph.virtualEndpoint entity. -func (m *VirtualEndpointSupportedRegionsRequestBuilder) ByCloudPcSupportedRegionIdString(cloudPcSupportedRegionId string)(*VirtualEndpointSupportedRegionsCloudPcSupportedRegionItemRequestBuilder) { +// ByCloudPcSupportedRegionId provides operations to manage the supportedRegions property of the microsoft.graph.virtualEndpoint entity. +func (m *VirtualEndpointSupportedRegionsRequestBuilder) ByCloudPcSupportedRegionId(cloudPcSupportedRegionId string)(*VirtualEndpointSupportedRegionsCloudPcSupportedRegionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *VirtualEndpointSupportedRegionsRequestBuilder) 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 *VirtualEndpointSupportedRegionsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointSupportedRegionsRequestBuilder) { + return NewVirtualEndpointSupportedRegionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_user_settings_cloud_pc_user_setting_item_request_builder.go b/devicemanagement/virtual_endpoint_user_settings_cloud_pc_user_setting_item_request_builder.go index 39e2449cee1..cc22ac2c04c 100644 --- a/devicemanagement/virtual_endpoint_user_settings_cloud_pc_user_setting_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_user_settings_cloud_pc_user_setting_item_request_builder.go @@ -170,3 +170,7 @@ func (m *VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilder) ToPatc } 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 *VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilder) { + return NewVirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_user_settings_count_request_builder.go b/devicemanagement/virtual_endpoint_user_settings_count_request_builder.go index 454de7eea0f..0725e12bdac 100644 --- a/devicemanagement/virtual_endpoint_user_settings_count_request_builder.go +++ b/devicemanagement/virtual_endpoint_user_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEndpointUserSettingsCountRequestBuilder) 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 *VirtualEndpointUserSettingsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointUserSettingsCountRequestBuilder) { + return NewVirtualEndpointUserSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_user_settings_item_assign_request_builder.go b/devicemanagement/virtual_endpoint_user_settings_item_assign_request_builder.go index 70050927963..92f1180caaf 100644 --- a/devicemanagement/virtual_endpoint_user_settings_item_assign_request_builder.go +++ b/devicemanagement/virtual_endpoint_user_settings_item_assign_request_builder.go @@ -65,3 +65,7 @@ func (m *VirtualEndpointUserSettingsItemAssignRequestBuilder) ToPostRequestInfor } 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 *VirtualEndpointUserSettingsItemAssignRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointUserSettingsItemAssignRequestBuilder) { + return NewVirtualEndpointUserSettingsItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_user_settings_item_assignments_cloud_pc_user_setting_assignment_item_request_builder.go b/devicemanagement/virtual_endpoint_user_settings_item_assignments_cloud_pc_user_setting_assignment_item_request_builder.go index 7daddd7ab2f..ee38f254d49 100644 --- a/devicemanagement/virtual_endpoint_user_settings_item_assignments_cloud_pc_user_setting_assignment_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_user_settings_item_assignments_cloud_pc_user_setting_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *VirtualEndpointUserSettingsItemAssignmentsCloudPcUserSettingAssignmentI } 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 *VirtualEndpointUserSettingsItemAssignmentsCloudPcUserSettingAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointUserSettingsItemAssignmentsCloudPcUserSettingAssignmentItemRequestBuilder) { + return NewVirtualEndpointUserSettingsItemAssignmentsCloudPcUserSettingAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_user_settings_item_assignments_count_request_builder.go b/devicemanagement/virtual_endpoint_user_settings_item_assignments_count_request_builder.go index 200d957225b..5c29031cff4 100644 --- a/devicemanagement/virtual_endpoint_user_settings_item_assignments_count_request_builder.go +++ b/devicemanagement/virtual_endpoint_user_settings_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEndpointUserSettingsItemAssignmentsCountRequestBuilder) ToGetReq } 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 *VirtualEndpointUserSettingsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointUserSettingsItemAssignmentsCountRequestBuilder) { + return NewVirtualEndpointUserSettingsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_user_settings_item_assignments_request_builder.go b/devicemanagement/virtual_endpoint_user_settings_item_assignments_request_builder.go index 94ec8fcad3c..d132c9f2c1c 100644 --- a/devicemanagement/virtual_endpoint_user_settings_item_assignments_request_builder.go +++ b/devicemanagement/virtual_endpoint_user_settings_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type VirtualEndpointUserSettingsItemAssignmentsRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCloudPcUserSettingAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.cloudPcUserSetting entity. -func (m *VirtualEndpointUserSettingsItemAssignmentsRequestBuilder) ByCloudPcUserSettingAssignmentIdString(cloudPcUserSettingAssignmentId string)(*VirtualEndpointUserSettingsItemAssignmentsCloudPcUserSettingAssignmentItemRequestBuilder) { +// ByCloudPcUserSettingAssignmentId provides operations to manage the assignments property of the microsoft.graph.cloudPcUserSetting entity. +func (m *VirtualEndpointUserSettingsItemAssignmentsRequestBuilder) ByCloudPcUserSettingAssignmentId(cloudPcUserSettingAssignmentId string)(*VirtualEndpointUserSettingsItemAssignmentsCloudPcUserSettingAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *VirtualEndpointUserSettingsItemAssignmentsRequestBuilder) ToPostRequest } 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 *VirtualEndpointUserSettingsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointUserSettingsItemAssignmentsRequestBuilder) { + return NewVirtualEndpointUserSettingsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_user_settings_request_builder.go b/devicemanagement/virtual_endpoint_user_settings_request_builder.go index 3c2986e91a6..13f7d41de37 100644 --- a/devicemanagement/virtual_endpoint_user_settings_request_builder.go +++ b/devicemanagement/virtual_endpoint_user_settings_request_builder.go @@ -46,8 +46,8 @@ type VirtualEndpointUserSettingsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCloudPcUserSettingIdString provides operations to manage the userSettings property of the microsoft.graph.virtualEndpoint entity. -func (m *VirtualEndpointUserSettingsRequestBuilder) ByCloudPcUserSettingIdString(cloudPcUserSettingId string)(*VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilder) { +// ByCloudPcUserSettingId provides operations to manage the userSettings property of the microsoft.graph.virtualEndpoint entity. +func (m *VirtualEndpointUserSettingsRequestBuilder) ByCloudPcUserSettingId(cloudPcUserSettingId string)(*VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *VirtualEndpointUserSettingsRequestBuilder) 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 *VirtualEndpointUserSettingsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointUserSettingsRequestBuilder) { + return NewVirtualEndpointUserSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_deployment_profiles_count_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_count_request_builder.go index 5a8f08640e7..5bcf7f492ea 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_count_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsAutopilotDeploymentProfilesCountRequestBuilder) ToGetRequestInfo } 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 *WindowsAutopilotDeploymentProfilesCountRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeploymentProfilesCountRequestBuilder) { + return NewWindowsAutopilotDeploymentProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_deployment_profiles_has_payload_links_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_has_payload_links_request_builder.go index 669e2c1b706..df63cbf1980 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_has_payload_links_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_has_payload_links_request_builder.go @@ -66,3 +66,7 @@ func (m *WindowsAutopilotDeploymentProfilesHasPayloadLinksRequestBuilder) ToPost } 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 *WindowsAutopilotDeploymentProfilesHasPayloadLinksRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeploymentProfilesHasPayloadLinksRequestBuilder) { + return NewWindowsAutopilotDeploymentProfilesHasPayloadLinksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assign_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assign_request_builder.go index c7cea099a45..3e48f9ae4b0 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assign_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assign_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignRequestBuilder) ToPostReque } 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 *WindowsAutopilotDeploymentProfilesItemAssignRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeploymentProfilesItemAssignRequestBuilder) { + return NewWindowsAutopilotDeploymentProfilesItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_count_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_count_request_builder.go index e7be0c49d27..0c1f54e97cc 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_count_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesCountRequestBuilde } 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 *WindowsAutopilotDeploymentProfilesItemAssignedDevicesCountRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeploymentProfilesItemAssignedDevicesCountRequestBuilder) { + return NewWindowsAutopilotDeploymentProfilesItemAssignedDevicesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_allow_next_enrollment_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_allow_next_enrollment_request_builder.go new file mode 100644 index 00000000000..00fa3a44a5c --- /dev/null +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_allow_next_enrollment_request_builder.go @@ -0,0 +1,64 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAllowNextEnrollmentRequestBuilder provides operations to call the allowNextEnrollment method. +type WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAllowNextEnrollmentRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAllowNextEnrollmentRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAllowNextEnrollmentRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewWindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAllowNextEnrollmentRequestBuilderInternal instantiates a new AllowNextEnrollmentRequestBuilder and sets the default values. +func NewWindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAllowNextEnrollmentRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAllowNextEnrollmentRequestBuilder) { + m := &WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAllowNextEnrollmentRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/windowsAutopilotDeploymentProfiles/{windowsAutopilotDeploymentProfile%2Did}/assignedDevices/{windowsAutopilotDeviceIdentity%2Did}/allowNextEnrollment", pathParameters), + } + return m +} +// NewWindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAllowNextEnrollmentRequestBuilder instantiates a new AllowNextEnrollmentRequestBuilder and sets the default values. +func NewWindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAllowNextEnrollmentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAllowNextEnrollmentRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAllowNextEnrollmentRequestBuilderInternal(urlParams, requestAdapter) +} +// Post unblocks next autopilot enrollment. +func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAllowNextEnrollmentRequestBuilder) Post(ctx context.Context, requestConfiguration *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAllowNextEnrollmentRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation unblocks next autopilot enrollment. +func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAllowNextEnrollmentRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAllowNextEnrollmentRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAllowNextEnrollmentRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAllowNextEnrollmentRequestBuilder) { + return NewWindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAllowNextEnrollmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_assign_resource_account_to_device_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_assign_resource_account_to_device_request_builder.go index 4fe87ccb79b..fb3b36d224f 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_assign_resource_account_to_device_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_assign_resource_account_to_device_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAssignResource } 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 *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAssignResourceAccountToDeviceRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAssignResourceAccountToDeviceRequestBuilder) { + return NewWindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAssignResourceAccountToDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_assign_user_to_device_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_assign_user_to_device_request_builder.go index 29157df5a08..a5cad42461f 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_assign_user_to_device_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_assign_user_to_device_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAssignUserToDe } 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 *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAssignUserToDeviceRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAssignUserToDeviceRequestBuilder) { + return NewWindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAssignUserToDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_deployment_profile_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_deployment_profile_request_builder.go index 01019f157b3..199871c8362 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_deployment_profile_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_deployment_profile_request_builder.go @@ -75,3 +75,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemDeploymentProf } 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 *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemDeploymentProfileRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemDeploymentProfileRequestBuilder) { + return NewWindowsAutopilotDeploymentProfilesItemAssignedDevicesItemDeploymentProfileRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_intended_deployment_profile_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_intended_deployment_profile_request_builder.go index c806b38c2ac..3b8f0de6c69 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_intended_deployment_profile_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_intended_deployment_profile_request_builder.go @@ -75,3 +75,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemIntendedDeploy } 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 *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemIntendedDeploymentProfileRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemIntendedDeploymentProfileRequestBuilder) { + return NewWindowsAutopilotDeploymentProfilesItemAssignedDevicesItemIntendedDeploymentProfileRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_unassign_resource_account_from_device_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_unassign_resource_account_from_device_request_builder.go index 0cc3c4cff01..adcd1ad32cc 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_unassign_resource_account_from_device_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_unassign_resource_account_from_device_request_builder.go @@ -58,3 +58,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemUnassignResour } 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 *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemUnassignResourceAccountFromDeviceRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemUnassignResourceAccountFromDeviceRequestBuilder) { + return NewWindowsAutopilotDeploymentProfilesItemAssignedDevicesItemUnassignResourceAccountFromDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_unassign_user_from_device_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_unassign_user_from_device_request_builder.go index e487caf5483..c720b708539 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_unassign_user_from_device_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_unassign_user_from_device_request_builder.go @@ -58,3 +58,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemUnassignUserFr } 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 *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemUnassignUserFromDeviceRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemUnassignUserFromDeviceRequestBuilder) { + return NewWindowsAutopilotDeploymentProfilesItemAssignedDevicesItemUnassignUserFromDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_update_device_properties_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_update_device_properties_request_builder.go index 7be617a10b2..daf46cf6e10 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_update_device_properties_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_update_device_properties_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemUpdateDevicePr } 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 *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemUpdateDevicePropertiesRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemUpdateDevicePropertiesRequestBuilder) { + return NewWindowsAutopilotDeploymentProfilesItemAssignedDevicesItemUpdateDevicePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_request_builder.go index a874f5b7537..872106673af 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_request_builder.go @@ -46,8 +46,8 @@ type WindowsAutopilotDeploymentProfilesItemAssignedDevicesRequestBuilderPostRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsAutopilotDeviceIdentityIdString provides operations to manage the assignedDevices property of the microsoft.graph.windowsAutopilotDeploymentProfile entity. -func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesRequestBuilder) ByWindowsAutopilotDeviceIdentityIdString(windowsAutopilotDeviceIdentityId string)(*WindowsAutopilotDeploymentProfilesItemAssignedDevicesWindowsAutopilotDeviceIdentityItemRequestBuilder) { +// ByWindowsAutopilotDeviceIdentityId provides operations to manage the assignedDevices property of the microsoft.graph.windowsAutopilotDeploymentProfile entity. +func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesRequestBuilder) ByWindowsAutopilotDeviceIdentityId(windowsAutopilotDeviceIdentityId string)(*WindowsAutopilotDeploymentProfilesItemAssignedDevicesWindowsAutopilotDeviceIdentityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesRequestBuilder) To } 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 *WindowsAutopilotDeploymentProfilesItemAssignedDevicesRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeploymentProfilesItemAssignedDevicesRequestBuilder) { + return NewWindowsAutopilotDeploymentProfilesItemAssignedDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_windows_autopilot_device_identity_item_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_windows_autopilot_device_identity_item_request_builder.go index 48bf36f5a28..26e5283930c 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_windows_autopilot_device_identity_item_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_windows_autopilot_device_identity_item_request_builder.go @@ -41,6 +41,10 @@ type WindowsAutopilotDeploymentProfilesItemAssignedDevicesWindowsAutopilotDevice // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } +// AllowNextEnrollment provides operations to call the allowNextEnrollment method. +func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesWindowsAutopilotDeviceIdentityItemRequestBuilder) AllowNextEnrollment()(*WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAllowNextEnrollmentRequestBuilder) { + return NewWindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAllowNextEnrollmentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // AssignResourceAccountToDevice provides operations to call the assignResourceAccountToDevice method. func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesWindowsAutopilotDeviceIdentityItemRequestBuilder) AssignResourceAccountToDevice()(*WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAssignResourceAccountToDeviceRequestBuilder) { return NewWindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAssignResourceAccountToDeviceRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) @@ -181,3 +185,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesWindowsAutopilotDe func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesWindowsAutopilotDeviceIdentityItemRequestBuilder) UpdateDeviceProperties()(*WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemUpdateDevicePropertiesRequestBuilder) { return NewWindowsAutopilotDeploymentProfilesItemAssignedDevicesItemUpdateDevicePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesWindowsAutopilotDeviceIdentityItemRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeploymentProfilesItemAssignedDevicesWindowsAutopilotDeviceIdentityItemRequestBuilder) { + return NewWindowsAutopilotDeploymentProfilesItemAssignedDevicesWindowsAutopilotDeviceIdentityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assignments_count_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assignments_count_request_builder.go index ac8c70d4ac0..bf15eb6e430 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assignments_count_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignmentsCountRequestBuilder) T } 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 *WindowsAutopilotDeploymentProfilesItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeploymentProfilesItemAssignmentsCountRequestBuilder) { + return NewWindowsAutopilotDeploymentProfilesItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assignments_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assignments_request_builder.go index 11ebab4de38..53f493be79e 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assignments_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type WindowsAutopilotDeploymentProfilesItemAssignmentsRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsAutopilotDeploymentProfileAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.windowsAutopilotDeploymentProfile entity. -func (m *WindowsAutopilotDeploymentProfilesItemAssignmentsRequestBuilder) ByWindowsAutopilotDeploymentProfileAssignmentIdString(windowsAutopilotDeploymentProfileAssignmentId string)(*WindowsAutopilotDeploymentProfilesItemAssignmentsWindowsAutopilotDeploymentProfileAssignmentItemRequestBuilder) { +// ByWindowsAutopilotDeploymentProfileAssignmentId provides operations to manage the assignments property of the microsoft.graph.windowsAutopilotDeploymentProfile entity. +func (m *WindowsAutopilotDeploymentProfilesItemAssignmentsRequestBuilder) ByWindowsAutopilotDeploymentProfileAssignmentId(windowsAutopilotDeploymentProfileAssignmentId string)(*WindowsAutopilotDeploymentProfilesItemAssignmentsWindowsAutopilotDeploymentProfileAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignmentsRequestBuilder) ToPost } 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 *WindowsAutopilotDeploymentProfilesItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeploymentProfilesItemAssignmentsRequestBuilder) { + return NewWindowsAutopilotDeploymentProfilesItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assignments_windows_autopilot_deployment_profile_assignment_item_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assignments_windows_autopilot_deployment_profile_assignment_item_request_builder.go index 4c1f1f70381..cf9a331dcd1 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assignments_windows_autopilot_deployment_profile_assignment_item_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assignments_windows_autopilot_deployment_profile_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignmentsWindowsAutopilotDeploy } 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 *WindowsAutopilotDeploymentProfilesItemAssignmentsWindowsAutopilotDeploymentProfileAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeploymentProfilesItemAssignmentsWindowsAutopilotDeploymentProfileAssignmentItemRequestBuilder) { + return NewWindowsAutopilotDeploymentProfilesItemAssignmentsWindowsAutopilotDeploymentProfileAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_deployment_profiles_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_request_builder.go index 0b925d1e225..66146e77f13 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_request_builder.go @@ -46,8 +46,8 @@ type WindowsAutopilotDeploymentProfilesRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsAutopilotDeploymentProfileIdString provides operations to manage the windowsAutopilotDeploymentProfiles property of the microsoft.graph.deviceManagement entity. -func (m *WindowsAutopilotDeploymentProfilesRequestBuilder) ByWindowsAutopilotDeploymentProfileIdString(windowsAutopilotDeploymentProfileId string)(*WindowsAutopilotDeploymentProfilesWindowsAutopilotDeploymentProfileItemRequestBuilder) { +// ByWindowsAutopilotDeploymentProfileId provides operations to manage the windowsAutopilotDeploymentProfiles property of the microsoft.graph.deviceManagement entity. +func (m *WindowsAutopilotDeploymentProfilesRequestBuilder) ByWindowsAutopilotDeploymentProfileId(windowsAutopilotDeploymentProfileId string)(*WindowsAutopilotDeploymentProfilesWindowsAutopilotDeploymentProfileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *WindowsAutopilotDeploymentProfilesRequestBuilder) ToPostRequestInformat } 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 *WindowsAutopilotDeploymentProfilesRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeploymentProfilesRequestBuilder) { + return NewWindowsAutopilotDeploymentProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_deployment_profiles_windows_autopilot_deployment_profile_item_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_windows_autopilot_deployment_profile_item_request_builder.go index d1adb2bbf50..ad4f7cf3dd6 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_windows_autopilot_deployment_profile_item_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_windows_autopilot_deployment_profile_item_request_builder.go @@ -165,3 +165,7 @@ func (m *WindowsAutopilotDeploymentProfilesWindowsAutopilotDeploymentProfileItem } 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 *WindowsAutopilotDeploymentProfilesWindowsAutopilotDeploymentProfileItemRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeploymentProfilesWindowsAutopilotDeploymentProfileItemRequestBuilder) { + return NewWindowsAutopilotDeploymentProfilesWindowsAutopilotDeploymentProfileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_device_identities_count_request_builder.go b/devicemanagement/windows_autopilot_device_identities_count_request_builder.go index 570fceba647..89ae662cc4d 100644 --- a/devicemanagement/windows_autopilot_device_identities_count_request_builder.go +++ b/devicemanagement/windows_autopilot_device_identities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsAutopilotDeviceIdentitiesCountRequestBuilder) ToGetRequestInform } 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 *WindowsAutopilotDeviceIdentitiesCountRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeviceIdentitiesCountRequestBuilder) { + return NewWindowsAutopilotDeviceIdentitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_device_identities_item_allow_next_enrollment_request_builder.go b/devicemanagement/windows_autopilot_device_identities_item_allow_next_enrollment_request_builder.go new file mode 100644 index 00000000000..27e52152742 --- /dev/null +++ b/devicemanagement/windows_autopilot_device_identities_item_allow_next_enrollment_request_builder.go @@ -0,0 +1,64 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsAutopilotDeviceIdentitiesItemAllowNextEnrollmentRequestBuilder provides operations to call the allowNextEnrollment method. +type WindowsAutopilotDeviceIdentitiesItemAllowNextEnrollmentRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsAutopilotDeviceIdentitiesItemAllowNextEnrollmentRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsAutopilotDeviceIdentitiesItemAllowNextEnrollmentRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewWindowsAutopilotDeviceIdentitiesItemAllowNextEnrollmentRequestBuilderInternal instantiates a new AllowNextEnrollmentRequestBuilder and sets the default values. +func NewWindowsAutopilotDeviceIdentitiesItemAllowNextEnrollmentRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsAutopilotDeviceIdentitiesItemAllowNextEnrollmentRequestBuilder) { + m := &WindowsAutopilotDeviceIdentitiesItemAllowNextEnrollmentRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/windowsAutopilotDeviceIdentities/{windowsAutopilotDeviceIdentity%2Did}/allowNextEnrollment", pathParameters), + } + return m +} +// NewWindowsAutopilotDeviceIdentitiesItemAllowNextEnrollmentRequestBuilder instantiates a new AllowNextEnrollmentRequestBuilder and sets the default values. +func NewWindowsAutopilotDeviceIdentitiesItemAllowNextEnrollmentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsAutopilotDeviceIdentitiesItemAllowNextEnrollmentRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsAutopilotDeviceIdentitiesItemAllowNextEnrollmentRequestBuilderInternal(urlParams, requestAdapter) +} +// Post unblocks next autopilot enrollment. +func (m *WindowsAutopilotDeviceIdentitiesItemAllowNextEnrollmentRequestBuilder) Post(ctx context.Context, requestConfiguration *WindowsAutopilotDeviceIdentitiesItemAllowNextEnrollmentRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation unblocks next autopilot enrollment. +func (m *WindowsAutopilotDeviceIdentitiesItemAllowNextEnrollmentRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *WindowsAutopilotDeviceIdentitiesItemAllowNextEnrollmentRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *WindowsAutopilotDeviceIdentitiesItemAllowNextEnrollmentRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeviceIdentitiesItemAllowNextEnrollmentRequestBuilder) { + return NewWindowsAutopilotDeviceIdentitiesItemAllowNextEnrollmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_device_identities_item_assign_resource_account_to_device_request_builder.go b/devicemanagement/windows_autopilot_device_identities_item_assign_resource_account_to_device_request_builder.go index f12ad620081..eeaf96c0457 100644 --- a/devicemanagement/windows_autopilot_device_identities_item_assign_resource_account_to_device_request_builder.go +++ b/devicemanagement/windows_autopilot_device_identities_item_assign_resource_account_to_device_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsAutopilotDeviceIdentitiesItemAssignResourceAccountToDeviceReques } 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 *WindowsAutopilotDeviceIdentitiesItemAssignResourceAccountToDeviceRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeviceIdentitiesItemAssignResourceAccountToDeviceRequestBuilder) { + return NewWindowsAutopilotDeviceIdentitiesItemAssignResourceAccountToDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_device_identities_item_assign_user_to_device_request_builder.go b/devicemanagement/windows_autopilot_device_identities_item_assign_user_to_device_request_builder.go index 00e0ddf333e..724547e51e8 100644 --- a/devicemanagement/windows_autopilot_device_identities_item_assign_user_to_device_request_builder.go +++ b/devicemanagement/windows_autopilot_device_identities_item_assign_user_to_device_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsAutopilotDeviceIdentitiesItemAssignUserToDeviceRequestBuilder) T } 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 *WindowsAutopilotDeviceIdentitiesItemAssignUserToDeviceRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeviceIdentitiesItemAssignUserToDeviceRequestBuilder) { + return NewWindowsAutopilotDeviceIdentitiesItemAssignUserToDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_device_identities_item_deployment_profile_request_builder.go b/devicemanagement/windows_autopilot_device_identities_item_deployment_profile_request_builder.go index 3630f652d18..59db98886a1 100644 --- a/devicemanagement/windows_autopilot_device_identities_item_deployment_profile_request_builder.go +++ b/devicemanagement/windows_autopilot_device_identities_item_deployment_profile_request_builder.go @@ -75,3 +75,7 @@ func (m *WindowsAutopilotDeviceIdentitiesItemDeploymentProfileRequestBuilder) To } 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 *WindowsAutopilotDeviceIdentitiesItemDeploymentProfileRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeviceIdentitiesItemDeploymentProfileRequestBuilder) { + return NewWindowsAutopilotDeviceIdentitiesItemDeploymentProfileRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_device_identities_item_intended_deployment_profile_request_builder.go b/devicemanagement/windows_autopilot_device_identities_item_intended_deployment_profile_request_builder.go index e0b8b48a439..921fa7528ce 100644 --- a/devicemanagement/windows_autopilot_device_identities_item_intended_deployment_profile_request_builder.go +++ b/devicemanagement/windows_autopilot_device_identities_item_intended_deployment_profile_request_builder.go @@ -75,3 +75,7 @@ func (m *WindowsAutopilotDeviceIdentitiesItemIntendedDeploymentProfileRequestBui } 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 *WindowsAutopilotDeviceIdentitiesItemIntendedDeploymentProfileRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeviceIdentitiesItemIntendedDeploymentProfileRequestBuilder) { + return NewWindowsAutopilotDeviceIdentitiesItemIntendedDeploymentProfileRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_device_identities_item_unassign_resource_account_from_device_request_builder.go b/devicemanagement/windows_autopilot_device_identities_item_unassign_resource_account_from_device_request_builder.go index 4d36906fc73..1645c076a38 100644 --- a/devicemanagement/windows_autopilot_device_identities_item_unassign_resource_account_from_device_request_builder.go +++ b/devicemanagement/windows_autopilot_device_identities_item_unassign_resource_account_from_device_request_builder.go @@ -58,3 +58,7 @@ func (m *WindowsAutopilotDeviceIdentitiesItemUnassignResourceAccountFromDeviceRe } 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 *WindowsAutopilotDeviceIdentitiesItemUnassignResourceAccountFromDeviceRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeviceIdentitiesItemUnassignResourceAccountFromDeviceRequestBuilder) { + return NewWindowsAutopilotDeviceIdentitiesItemUnassignResourceAccountFromDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_device_identities_item_unassign_user_from_device_request_builder.go b/devicemanagement/windows_autopilot_device_identities_item_unassign_user_from_device_request_builder.go index d7fd52d5e7d..c95440a8d58 100644 --- a/devicemanagement/windows_autopilot_device_identities_item_unassign_user_from_device_request_builder.go +++ b/devicemanagement/windows_autopilot_device_identities_item_unassign_user_from_device_request_builder.go @@ -58,3 +58,7 @@ func (m *WindowsAutopilotDeviceIdentitiesItemUnassignUserFromDeviceRequestBuilde } 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 *WindowsAutopilotDeviceIdentitiesItemUnassignUserFromDeviceRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeviceIdentitiesItemUnassignUserFromDeviceRequestBuilder) { + return NewWindowsAutopilotDeviceIdentitiesItemUnassignUserFromDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_device_identities_item_update_device_properties_request_builder.go b/devicemanagement/windows_autopilot_device_identities_item_update_device_properties_request_builder.go index f3220097362..abd776c265f 100644 --- a/devicemanagement/windows_autopilot_device_identities_item_update_device_properties_request_builder.go +++ b/devicemanagement/windows_autopilot_device_identities_item_update_device_properties_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsAutopilotDeviceIdentitiesItemUpdateDevicePropertiesRequestBuilde } 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 *WindowsAutopilotDeviceIdentitiesItemUpdateDevicePropertiesRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeviceIdentitiesItemUpdateDevicePropertiesRequestBuilder) { + return NewWindowsAutopilotDeviceIdentitiesItemUpdateDevicePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_device_identities_request_builder.go b/devicemanagement/windows_autopilot_device_identities_request_builder.go index d862b80c771..9810c95da80 100644 --- a/devicemanagement/windows_autopilot_device_identities_request_builder.go +++ b/devicemanagement/windows_autopilot_device_identities_request_builder.go @@ -46,8 +46,8 @@ type WindowsAutopilotDeviceIdentitiesRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsAutopilotDeviceIdentityIdString provides operations to manage the windowsAutopilotDeviceIdentities property of the microsoft.graph.deviceManagement entity. -func (m *WindowsAutopilotDeviceIdentitiesRequestBuilder) ByWindowsAutopilotDeviceIdentityIdString(windowsAutopilotDeviceIdentityId string)(*WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemRequestBuilder) { +// ByWindowsAutopilotDeviceIdentityId provides operations to manage the windowsAutopilotDeviceIdentities property of the microsoft.graph.deviceManagement entity. +func (m *WindowsAutopilotDeviceIdentitiesRequestBuilder) ByWindowsAutopilotDeviceIdentityId(windowsAutopilotDeviceIdentityId string)(*WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsAutopilotDeviceIdentitiesRequestBuilder) ToPostRequestInformatio } 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 *WindowsAutopilotDeviceIdentitiesRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeviceIdentitiesRequestBuilder) { + return NewWindowsAutopilotDeviceIdentitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_device_identities_windows_autopilot_device_identity_item_request_builder.go b/devicemanagement/windows_autopilot_device_identities_windows_autopilot_device_identity_item_request_builder.go index 1042f7f5e65..d3233fcd99d 100644 --- a/devicemanagement/windows_autopilot_device_identities_windows_autopilot_device_identity_item_request_builder.go +++ b/devicemanagement/windows_autopilot_device_identities_windows_autopilot_device_identity_item_request_builder.go @@ -41,6 +41,10 @@ type WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } +// AllowNextEnrollment provides operations to call the allowNextEnrollment method. +func (m *WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemRequestBuilder) AllowNextEnrollment()(*WindowsAutopilotDeviceIdentitiesItemAllowNextEnrollmentRequestBuilder) { + return NewWindowsAutopilotDeviceIdentitiesItemAllowNextEnrollmentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // AssignResourceAccountToDevice provides operations to call the assignResourceAccountToDevice method. func (m *WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemRequestBuilder) AssignResourceAccountToDevice()(*WindowsAutopilotDeviceIdentitiesItemAssignResourceAccountToDeviceRequestBuilder) { return NewWindowsAutopilotDeviceIdentitiesItemAssignResourceAccountToDeviceRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) @@ -181,3 +185,7 @@ func (m *WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemReque func (m *WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemRequestBuilder) UpdateDeviceProperties()(*WindowsAutopilotDeviceIdentitiesItemUpdateDevicePropertiesRequestBuilder) { return NewWindowsAutopilotDeviceIdentitiesItemUpdateDevicePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemRequestBuilder) { + return NewWindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_settings_request_builder.go b/devicemanagement/windows_autopilot_settings_request_builder.go index ef7d6ae604e..164c8436ac0 100644 --- a/devicemanagement/windows_autopilot_settings_request_builder.go +++ b/devicemanagement/windows_autopilot_settings_request_builder.go @@ -157,3 +157,7 @@ func (m *WindowsAutopilotSettingsRequestBuilder) 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 *WindowsAutopilotSettingsRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotSettingsRequestBuilder) { + return NewWindowsAutopilotSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_autopilot_settings_sync_request_builder.go b/devicemanagement/windows_autopilot_settings_sync_request_builder.go index 2c5e013958e..9306105238a 100644 --- a/devicemanagement/windows_autopilot_settings_sync_request_builder.go +++ b/devicemanagement/windows_autopilot_settings_sync_request_builder.go @@ -58,3 +58,7 @@ func (m *WindowsAutopilotSettingsSyncRequestBuilder) 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 *WindowsAutopilotSettingsSyncRequestBuilder) WithUrl(rawUrl string)(*WindowsAutopilotSettingsSyncRequestBuilder) { + return NewWindowsAutopilotSettingsSyncRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_driver_update_profiles_count_request_builder.go b/devicemanagement/windows_driver_update_profiles_count_request_builder.go index bc7f4ed9ad5..8f2b1dc5ded 100644 --- a/devicemanagement/windows_driver_update_profiles_count_request_builder.go +++ b/devicemanagement/windows_driver_update_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsDriverUpdateProfilesCountRequestBuilder) 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 *WindowsDriverUpdateProfilesCountRequestBuilder) WithUrl(rawUrl string)(*WindowsDriverUpdateProfilesCountRequestBuilder) { + return NewWindowsDriverUpdateProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_driver_update_profiles_item_assign_request_builder.go b/devicemanagement/windows_driver_update_profiles_item_assign_request_builder.go index 25c8b19cdc9..442c38ec05e 100644 --- a/devicemanagement/windows_driver_update_profiles_item_assign_request_builder.go +++ b/devicemanagement/windows_driver_update_profiles_item_assign_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsDriverUpdateProfilesItemAssignRequestBuilder) ToPostRequestInfor } 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 *WindowsDriverUpdateProfilesItemAssignRequestBuilder) WithUrl(rawUrl string)(*WindowsDriverUpdateProfilesItemAssignRequestBuilder) { + return NewWindowsDriverUpdateProfilesItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_driver_update_profiles_item_assignments_count_request_builder.go b/devicemanagement/windows_driver_update_profiles_item_assignments_count_request_builder.go index b6e6a1c1d25..5b307dd1b89 100644 --- a/devicemanagement/windows_driver_update_profiles_item_assignments_count_request_builder.go +++ b/devicemanagement/windows_driver_update_profiles_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsDriverUpdateProfilesItemAssignmentsCountRequestBuilder) ToGetReq } 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 *WindowsDriverUpdateProfilesItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*WindowsDriverUpdateProfilesItemAssignmentsCountRequestBuilder) { + return NewWindowsDriverUpdateProfilesItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_driver_update_profiles_item_assignments_request_builder.go b/devicemanagement/windows_driver_update_profiles_item_assignments_request_builder.go index 6f8f919c302..8e587eb9165 100644 --- a/devicemanagement/windows_driver_update_profiles_item_assignments_request_builder.go +++ b/devicemanagement/windows_driver_update_profiles_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type WindowsDriverUpdateProfilesItemAssignmentsRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsDriverUpdateProfileAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.windowsDriverUpdateProfile entity. -func (m *WindowsDriverUpdateProfilesItemAssignmentsRequestBuilder) ByWindowsDriverUpdateProfileAssignmentIdString(windowsDriverUpdateProfileAssignmentId string)(*WindowsDriverUpdateProfilesItemAssignmentsWindowsDriverUpdateProfileAssignmentItemRequestBuilder) { +// ByWindowsDriverUpdateProfileAssignmentId provides operations to manage the assignments property of the microsoft.graph.windowsDriverUpdateProfile entity. +func (m *WindowsDriverUpdateProfilesItemAssignmentsRequestBuilder) ByWindowsDriverUpdateProfileAssignmentId(windowsDriverUpdateProfileAssignmentId string)(*WindowsDriverUpdateProfilesItemAssignmentsWindowsDriverUpdateProfileAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsDriverUpdateProfilesItemAssignmentsRequestBuilder) ToPostRequest } 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 *WindowsDriverUpdateProfilesItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*WindowsDriverUpdateProfilesItemAssignmentsRequestBuilder) { + return NewWindowsDriverUpdateProfilesItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_driver_update_profiles_item_assignments_windows_driver_update_profile_assignment_item_request_builder.go b/devicemanagement/windows_driver_update_profiles_item_assignments_windows_driver_update_profile_assignment_item_request_builder.go index 16103e76c53..a28ca5f9151 100644 --- a/devicemanagement/windows_driver_update_profiles_item_assignments_windows_driver_update_profile_assignment_item_request_builder.go +++ b/devicemanagement/windows_driver_update_profiles_item_assignments_windows_driver_update_profile_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *WindowsDriverUpdateProfilesItemAssignmentsWindowsDriverUpdateProfileAss } 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 *WindowsDriverUpdateProfilesItemAssignmentsWindowsDriverUpdateProfileAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*WindowsDriverUpdateProfilesItemAssignmentsWindowsDriverUpdateProfileAssignmentItemRequestBuilder) { + return NewWindowsDriverUpdateProfilesItemAssignmentsWindowsDriverUpdateProfileAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_driver_update_profiles_item_driver_inventories_count_request_builder.go b/devicemanagement/windows_driver_update_profiles_item_driver_inventories_count_request_builder.go index 1d276c7baf2..3c17b6d516b 100644 --- a/devicemanagement/windows_driver_update_profiles_item_driver_inventories_count_request_builder.go +++ b/devicemanagement/windows_driver_update_profiles_item_driver_inventories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsDriverUpdateProfilesItemDriverInventoriesCountRequestBuilder) To } 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 *WindowsDriverUpdateProfilesItemDriverInventoriesCountRequestBuilder) WithUrl(rawUrl string)(*WindowsDriverUpdateProfilesItemDriverInventoriesCountRequestBuilder) { + return NewWindowsDriverUpdateProfilesItemDriverInventoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_driver_update_profiles_item_driver_inventories_request_builder.go b/devicemanagement/windows_driver_update_profiles_item_driver_inventories_request_builder.go index f86473dad25..925b51e4b7b 100644 --- a/devicemanagement/windows_driver_update_profiles_item_driver_inventories_request_builder.go +++ b/devicemanagement/windows_driver_update_profiles_item_driver_inventories_request_builder.go @@ -46,8 +46,8 @@ type WindowsDriverUpdateProfilesItemDriverInventoriesRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsDriverUpdateInventoryIdString provides operations to manage the driverInventories property of the microsoft.graph.windowsDriverUpdateProfile entity. -func (m *WindowsDriverUpdateProfilesItemDriverInventoriesRequestBuilder) ByWindowsDriverUpdateInventoryIdString(windowsDriverUpdateInventoryId string)(*WindowsDriverUpdateProfilesItemDriverInventoriesWindowsDriverUpdateInventoryItemRequestBuilder) { +// ByWindowsDriverUpdateInventoryId provides operations to manage the driverInventories property of the microsoft.graph.windowsDriverUpdateProfile entity. +func (m *WindowsDriverUpdateProfilesItemDriverInventoriesRequestBuilder) ByWindowsDriverUpdateInventoryId(windowsDriverUpdateInventoryId string)(*WindowsDriverUpdateProfilesItemDriverInventoriesWindowsDriverUpdateInventoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsDriverUpdateProfilesItemDriverInventoriesRequestBuilder) ToPostR } 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 *WindowsDriverUpdateProfilesItemDriverInventoriesRequestBuilder) WithUrl(rawUrl string)(*WindowsDriverUpdateProfilesItemDriverInventoriesRequestBuilder) { + return NewWindowsDriverUpdateProfilesItemDriverInventoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_driver_update_profiles_item_driver_inventories_windows_driver_update_inventory_item_request_builder.go b/devicemanagement/windows_driver_update_profiles_item_driver_inventories_windows_driver_update_inventory_item_request_builder.go index 9031edf24e8..728a76e6afa 100644 --- a/devicemanagement/windows_driver_update_profiles_item_driver_inventories_windows_driver_update_inventory_item_request_builder.go +++ b/devicemanagement/windows_driver_update_profiles_item_driver_inventories_windows_driver_update_inventory_item_request_builder.go @@ -153,3 +153,7 @@ func (m *WindowsDriverUpdateProfilesItemDriverInventoriesWindowsDriverUpdateInve } 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 *WindowsDriverUpdateProfilesItemDriverInventoriesWindowsDriverUpdateInventoryItemRequestBuilder) WithUrl(rawUrl string)(*WindowsDriverUpdateProfilesItemDriverInventoriesWindowsDriverUpdateInventoryItemRequestBuilder) { + return NewWindowsDriverUpdateProfilesItemDriverInventoriesWindowsDriverUpdateInventoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_driver_update_profiles_item_execute_action_request_builder.go b/devicemanagement/windows_driver_update_profiles_item_execute_action_request_builder.go index c5927665d3c..1934ef17365 100644 --- a/devicemanagement/windows_driver_update_profiles_item_execute_action_request_builder.go +++ b/devicemanagement/windows_driver_update_profiles_item_execute_action_request_builder.go @@ -67,3 +67,7 @@ func (m *WindowsDriverUpdateProfilesItemExecuteActionRequestBuilder) ToPostReque } 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 *WindowsDriverUpdateProfilesItemExecuteActionRequestBuilder) WithUrl(rawUrl string)(*WindowsDriverUpdateProfilesItemExecuteActionRequestBuilder) { + return NewWindowsDriverUpdateProfilesItemExecuteActionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_driver_update_profiles_item_sync_inventory_request_builder.go b/devicemanagement/windows_driver_update_profiles_item_sync_inventory_request_builder.go index a213598fb14..d009e2d8184 100644 --- a/devicemanagement/windows_driver_update_profiles_item_sync_inventory_request_builder.go +++ b/devicemanagement/windows_driver_update_profiles_item_sync_inventory_request_builder.go @@ -58,3 +58,7 @@ func (m *WindowsDriverUpdateProfilesItemSyncInventoryRequestBuilder) ToPostReque } 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 *WindowsDriverUpdateProfilesItemSyncInventoryRequestBuilder) WithUrl(rawUrl string)(*WindowsDriverUpdateProfilesItemSyncInventoryRequestBuilder) { + return NewWindowsDriverUpdateProfilesItemSyncInventoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_driver_update_profiles_request_builder.go b/devicemanagement/windows_driver_update_profiles_request_builder.go index f5672681a18..e71ba7f5b1d 100644 --- a/devicemanagement/windows_driver_update_profiles_request_builder.go +++ b/devicemanagement/windows_driver_update_profiles_request_builder.go @@ -46,8 +46,8 @@ type WindowsDriverUpdateProfilesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsDriverUpdateProfileIdString provides operations to manage the windowsDriverUpdateProfiles property of the microsoft.graph.deviceManagement entity. -func (m *WindowsDriverUpdateProfilesRequestBuilder) ByWindowsDriverUpdateProfileIdString(windowsDriverUpdateProfileId string)(*WindowsDriverUpdateProfilesWindowsDriverUpdateProfileItemRequestBuilder) { +// ByWindowsDriverUpdateProfileId provides operations to manage the windowsDriverUpdateProfiles property of the microsoft.graph.deviceManagement entity. +func (m *WindowsDriverUpdateProfilesRequestBuilder) ByWindowsDriverUpdateProfileId(windowsDriverUpdateProfileId string)(*WindowsDriverUpdateProfilesWindowsDriverUpdateProfileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsDriverUpdateProfilesRequestBuilder) 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 *WindowsDriverUpdateProfilesRequestBuilder) WithUrl(rawUrl string)(*WindowsDriverUpdateProfilesRequestBuilder) { + return NewWindowsDriverUpdateProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_driver_update_profiles_windows_driver_update_profile_item_request_builder.go b/devicemanagement/windows_driver_update_profiles_windows_driver_update_profile_item_request_builder.go index b6217ad8572..006232084e2 100644 --- a/devicemanagement/windows_driver_update_profiles_windows_driver_update_profile_item_request_builder.go +++ b/devicemanagement/windows_driver_update_profiles_windows_driver_update_profile_item_request_builder.go @@ -173,3 +173,7 @@ func (m *WindowsDriverUpdateProfilesWindowsDriverUpdateProfileItemRequestBuilder } 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 *WindowsDriverUpdateProfilesWindowsDriverUpdateProfileItemRequestBuilder) WithUrl(rawUrl string)(*WindowsDriverUpdateProfilesWindowsDriverUpdateProfileItemRequestBuilder) { + return NewWindowsDriverUpdateProfilesWindowsDriverUpdateProfileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_feature_update_profiles_count_request_builder.go b/devicemanagement/windows_feature_update_profiles_count_request_builder.go index 9db0884b732..48763c456bb 100644 --- a/devicemanagement/windows_feature_update_profiles_count_request_builder.go +++ b/devicemanagement/windows_feature_update_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsFeatureUpdateProfilesCountRequestBuilder) 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 *WindowsFeatureUpdateProfilesCountRequestBuilder) WithUrl(rawUrl string)(*WindowsFeatureUpdateProfilesCountRequestBuilder) { + return NewWindowsFeatureUpdateProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_feature_update_profiles_item_assign_request_builder.go b/devicemanagement/windows_feature_update_profiles_item_assign_request_builder.go index c632c12f53d..dee3297988a 100644 --- a/devicemanagement/windows_feature_update_profiles_item_assign_request_builder.go +++ b/devicemanagement/windows_feature_update_profiles_item_assign_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsFeatureUpdateProfilesItemAssignRequestBuilder) ToPostRequestInfo } 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 *WindowsFeatureUpdateProfilesItemAssignRequestBuilder) WithUrl(rawUrl string)(*WindowsFeatureUpdateProfilesItemAssignRequestBuilder) { + return NewWindowsFeatureUpdateProfilesItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_feature_update_profiles_item_assignments_count_request_builder.go b/devicemanagement/windows_feature_update_profiles_item_assignments_count_request_builder.go index ea1f858a6fd..e3cfca86423 100644 --- a/devicemanagement/windows_feature_update_profiles_item_assignments_count_request_builder.go +++ b/devicemanagement/windows_feature_update_profiles_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsFeatureUpdateProfilesItemAssignmentsCountRequestBuilder) ToGetRe } 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 *WindowsFeatureUpdateProfilesItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*WindowsFeatureUpdateProfilesItemAssignmentsCountRequestBuilder) { + return NewWindowsFeatureUpdateProfilesItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_feature_update_profiles_item_assignments_request_builder.go b/devicemanagement/windows_feature_update_profiles_item_assignments_request_builder.go index 24af160161d..ffbe0f34f9e 100644 --- a/devicemanagement/windows_feature_update_profiles_item_assignments_request_builder.go +++ b/devicemanagement/windows_feature_update_profiles_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type WindowsFeatureUpdateProfilesItemAssignmentsRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsFeatureUpdateProfileAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.windowsFeatureUpdateProfile entity. -func (m *WindowsFeatureUpdateProfilesItemAssignmentsRequestBuilder) ByWindowsFeatureUpdateProfileAssignmentIdString(windowsFeatureUpdateProfileAssignmentId string)(*WindowsFeatureUpdateProfilesItemAssignmentsWindowsFeatureUpdateProfileAssignmentItemRequestBuilder) { +// ByWindowsFeatureUpdateProfileAssignmentId provides operations to manage the assignments property of the microsoft.graph.windowsFeatureUpdateProfile entity. +func (m *WindowsFeatureUpdateProfilesItemAssignmentsRequestBuilder) ByWindowsFeatureUpdateProfileAssignmentId(windowsFeatureUpdateProfileAssignmentId string)(*WindowsFeatureUpdateProfilesItemAssignmentsWindowsFeatureUpdateProfileAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsFeatureUpdateProfilesItemAssignmentsRequestBuilder) ToPostReques } 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 *WindowsFeatureUpdateProfilesItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*WindowsFeatureUpdateProfilesItemAssignmentsRequestBuilder) { + return NewWindowsFeatureUpdateProfilesItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_feature_update_profiles_item_assignments_windows_feature_update_profile_assignment_item_request_builder.go b/devicemanagement/windows_feature_update_profiles_item_assignments_windows_feature_update_profile_assignment_item_request_builder.go index ee162d9d0e8..4e6315e6396 100644 --- a/devicemanagement/windows_feature_update_profiles_item_assignments_windows_feature_update_profile_assignment_item_request_builder.go +++ b/devicemanagement/windows_feature_update_profiles_item_assignments_windows_feature_update_profile_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *WindowsFeatureUpdateProfilesItemAssignmentsWindowsFeatureUpdateProfileA } 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 *WindowsFeatureUpdateProfilesItemAssignmentsWindowsFeatureUpdateProfileAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*WindowsFeatureUpdateProfilesItemAssignmentsWindowsFeatureUpdateProfileAssignmentItemRequestBuilder) { + return NewWindowsFeatureUpdateProfilesItemAssignmentsWindowsFeatureUpdateProfileAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_feature_update_profiles_request_builder.go b/devicemanagement/windows_feature_update_profiles_request_builder.go index 66b879de3b5..accee053f13 100644 --- a/devicemanagement/windows_feature_update_profiles_request_builder.go +++ b/devicemanagement/windows_feature_update_profiles_request_builder.go @@ -46,8 +46,8 @@ type WindowsFeatureUpdateProfilesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsFeatureUpdateProfileIdString provides operations to manage the windowsFeatureUpdateProfiles property of the microsoft.graph.deviceManagement entity. -func (m *WindowsFeatureUpdateProfilesRequestBuilder) ByWindowsFeatureUpdateProfileIdString(windowsFeatureUpdateProfileId string)(*WindowsFeatureUpdateProfilesWindowsFeatureUpdateProfileItemRequestBuilder) { +// ByWindowsFeatureUpdateProfileId provides operations to manage the windowsFeatureUpdateProfiles property of the microsoft.graph.deviceManagement entity. +func (m *WindowsFeatureUpdateProfilesRequestBuilder) ByWindowsFeatureUpdateProfileId(windowsFeatureUpdateProfileId string)(*WindowsFeatureUpdateProfilesWindowsFeatureUpdateProfileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsFeatureUpdateProfilesRequestBuilder) 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 *WindowsFeatureUpdateProfilesRequestBuilder) WithUrl(rawUrl string)(*WindowsFeatureUpdateProfilesRequestBuilder) { + return NewWindowsFeatureUpdateProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_feature_update_profiles_windows_feature_update_profile_item_request_builder.go b/devicemanagement/windows_feature_update_profiles_windows_feature_update_profile_item_request_builder.go index 043282e8d34..04c780ed178 100644 --- a/devicemanagement/windows_feature_update_profiles_windows_feature_update_profile_item_request_builder.go +++ b/devicemanagement/windows_feature_update_profiles_windows_feature_update_profile_item_request_builder.go @@ -161,3 +161,7 @@ func (m *WindowsFeatureUpdateProfilesWindowsFeatureUpdateProfileItemRequestBuild } 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 *WindowsFeatureUpdateProfilesWindowsFeatureUpdateProfileItemRequestBuilder) WithUrl(rawUrl string)(*WindowsFeatureUpdateProfilesWindowsFeatureUpdateProfileItemRequestBuilder) { + return NewWindowsFeatureUpdateProfilesWindowsFeatureUpdateProfileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_information_protection_app_learning_summaries_count_request_builder.go b/devicemanagement/windows_information_protection_app_learning_summaries_count_request_builder.go index ea499d086be..7ef1c7661ba 100644 --- a/devicemanagement/windows_information_protection_app_learning_summaries_count_request_builder.go +++ b/devicemanagement/windows_information_protection_app_learning_summaries_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsInformationProtectionAppLearningSummariesCountRequestBuilder) To } 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 *WindowsInformationProtectionAppLearningSummariesCountRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionAppLearningSummariesCountRequestBuilder) { + return NewWindowsInformationProtectionAppLearningSummariesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_information_protection_app_learning_summaries_request_builder.go b/devicemanagement/windows_information_protection_app_learning_summaries_request_builder.go index d61571cfedd..925cb6cce95 100644 --- a/devicemanagement/windows_information_protection_app_learning_summaries_request_builder.go +++ b/devicemanagement/windows_information_protection_app_learning_summaries_request_builder.go @@ -46,8 +46,8 @@ type WindowsInformationProtectionAppLearningSummariesRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsInformationProtectionAppLearningSummaryIdString provides operations to manage the windowsInformationProtectionAppLearningSummaries property of the microsoft.graph.deviceManagement entity. -func (m *WindowsInformationProtectionAppLearningSummariesRequestBuilder) ByWindowsInformationProtectionAppLearningSummaryIdString(windowsInformationProtectionAppLearningSummaryId string)(*WindowsInformationProtectionAppLearningSummariesWindowsInformationProtectionAppLearningSummaryItemRequestBuilder) { +// ByWindowsInformationProtectionAppLearningSummaryId provides operations to manage the windowsInformationProtectionAppLearningSummaries property of the microsoft.graph.deviceManagement entity. +func (m *WindowsInformationProtectionAppLearningSummariesRequestBuilder) ByWindowsInformationProtectionAppLearningSummaryId(windowsInformationProtectionAppLearningSummaryId string)(*WindowsInformationProtectionAppLearningSummariesWindowsInformationProtectionAppLearningSummaryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsInformationProtectionAppLearningSummariesRequestBuilder) ToPostR } 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 *WindowsInformationProtectionAppLearningSummariesRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionAppLearningSummariesRequestBuilder) { + return NewWindowsInformationProtectionAppLearningSummariesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_information_protection_app_learning_summaries_windows_information_protection_app_learning_summary_item_request_builder.go b/devicemanagement/windows_information_protection_app_learning_summaries_windows_information_protection_app_learning_summary_item_request_builder.go index ca50b214ab6..e31cd0def5a 100644 --- a/devicemanagement/windows_information_protection_app_learning_summaries_windows_information_protection_app_learning_summary_item_request_builder.go +++ b/devicemanagement/windows_information_protection_app_learning_summaries_windows_information_protection_app_learning_summary_item_request_builder.go @@ -153,3 +153,7 @@ func (m *WindowsInformationProtectionAppLearningSummariesWindowsInformationProte } 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 *WindowsInformationProtectionAppLearningSummariesWindowsInformationProtectionAppLearningSummaryItemRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionAppLearningSummariesWindowsInformationProtectionAppLearningSummaryItemRequestBuilder) { + return NewWindowsInformationProtectionAppLearningSummariesWindowsInformationProtectionAppLearningSummaryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_information_protection_network_learning_summaries_count_request_builder.go b/devicemanagement/windows_information_protection_network_learning_summaries_count_request_builder.go index 8c65d1fa321..44ed65b1e37 100644 --- a/devicemanagement/windows_information_protection_network_learning_summaries_count_request_builder.go +++ b/devicemanagement/windows_information_protection_network_learning_summaries_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsInformationProtectionNetworkLearningSummariesCountRequestBuilder } 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 *WindowsInformationProtectionNetworkLearningSummariesCountRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionNetworkLearningSummariesCountRequestBuilder) { + return NewWindowsInformationProtectionNetworkLearningSummariesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_information_protection_network_learning_summaries_request_builder.go b/devicemanagement/windows_information_protection_network_learning_summaries_request_builder.go index eaf092ad509..475972cac46 100644 --- a/devicemanagement/windows_information_protection_network_learning_summaries_request_builder.go +++ b/devicemanagement/windows_information_protection_network_learning_summaries_request_builder.go @@ -46,8 +46,8 @@ type WindowsInformationProtectionNetworkLearningSummariesRequestBuilderPostReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsInformationProtectionNetworkLearningSummaryIdString provides operations to manage the windowsInformationProtectionNetworkLearningSummaries property of the microsoft.graph.deviceManagement entity. -func (m *WindowsInformationProtectionNetworkLearningSummariesRequestBuilder) ByWindowsInformationProtectionNetworkLearningSummaryIdString(windowsInformationProtectionNetworkLearningSummaryId string)(*WindowsInformationProtectionNetworkLearningSummariesWindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder) { +// ByWindowsInformationProtectionNetworkLearningSummaryId provides operations to manage the windowsInformationProtectionNetworkLearningSummaries property of the microsoft.graph.deviceManagement entity. +func (m *WindowsInformationProtectionNetworkLearningSummariesRequestBuilder) ByWindowsInformationProtectionNetworkLearningSummaryId(windowsInformationProtectionNetworkLearningSummaryId string)(*WindowsInformationProtectionNetworkLearningSummariesWindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsInformationProtectionNetworkLearningSummariesRequestBuilder) 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 *WindowsInformationProtectionNetworkLearningSummariesRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionNetworkLearningSummariesRequestBuilder) { + return NewWindowsInformationProtectionNetworkLearningSummariesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_information_protection_network_learning_summaries_windows_information_protection_network_learning_summary_item_request_builder.go b/devicemanagement/windows_information_protection_network_learning_summaries_windows_information_protection_network_learning_summary_item_request_builder.go index 382e9b5214e..35ce2bbb7c8 100644 --- a/devicemanagement/windows_information_protection_network_learning_summaries_windows_information_protection_network_learning_summary_item_request_builder.go +++ b/devicemanagement/windows_information_protection_network_learning_summaries_windows_information_protection_network_learning_summary_item_request_builder.go @@ -153,3 +153,7 @@ func (m *WindowsInformationProtectionNetworkLearningSummariesWindowsInformationP } 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 *WindowsInformationProtectionNetworkLearningSummariesWindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder) WithUrl(rawUrl string)(*WindowsInformationProtectionNetworkLearningSummariesWindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder) { + return NewWindowsInformationProtectionNetworkLearningSummariesWindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_malware_information_count_request_builder.go b/devicemanagement/windows_malware_information_count_request_builder.go index c365bdd9dae..2ba08c4c15b 100644 --- a/devicemanagement/windows_malware_information_count_request_builder.go +++ b/devicemanagement/windows_malware_information_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsMalwareInformationCountRequestBuilder) ToGetRequestInformation(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 *WindowsMalwareInformationCountRequestBuilder) WithUrl(rawUrl string)(*WindowsMalwareInformationCountRequestBuilder) { + return NewWindowsMalwareInformationCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_malware_information_item_device_malware_states_count_request_builder.go b/devicemanagement/windows_malware_information_item_device_malware_states_count_request_builder.go index b90bc1d615f..6aad617e46a 100644 --- a/devicemanagement/windows_malware_information_item_device_malware_states_count_request_builder.go +++ b/devicemanagement/windows_malware_information_item_device_malware_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsMalwareInformationItemDeviceMalwareStatesCountRequestBuilder) To } 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 *WindowsMalwareInformationItemDeviceMalwareStatesCountRequestBuilder) WithUrl(rawUrl string)(*WindowsMalwareInformationItemDeviceMalwareStatesCountRequestBuilder) { + return NewWindowsMalwareInformationItemDeviceMalwareStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_malware_information_item_device_malware_states_malware_state_for_windows_device_item_request_builder.go b/devicemanagement/windows_malware_information_item_device_malware_states_malware_state_for_windows_device_item_request_builder.go index 68a0739cde5..9f6df721143 100644 --- a/devicemanagement/windows_malware_information_item_device_malware_states_malware_state_for_windows_device_item_request_builder.go +++ b/devicemanagement/windows_malware_information_item_device_malware_states_malware_state_for_windows_device_item_request_builder.go @@ -153,3 +153,7 @@ func (m *WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsD } 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 *WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDeviceItemRequestBuilder) WithUrl(rawUrl string)(*WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDeviceItemRequestBuilder) { + return NewWindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDeviceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_malware_information_item_device_malware_states_request_builder.go b/devicemanagement/windows_malware_information_item_device_malware_states_request_builder.go index 091667487d5..6889310d76c 100644 --- a/devicemanagement/windows_malware_information_item_device_malware_states_request_builder.go +++ b/devicemanagement/windows_malware_information_item_device_malware_states_request_builder.go @@ -46,8 +46,8 @@ type WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMalwareStateForWindowsDeviceIdString provides operations to manage the deviceMalwareStates property of the microsoft.graph.windowsMalwareInformation entity. -func (m *WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilder) ByMalwareStateForWindowsDeviceIdString(malwareStateForWindowsDeviceId string)(*WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDeviceItemRequestBuilder) { +// ByMalwareStateForWindowsDeviceId provides operations to manage the deviceMalwareStates property of the microsoft.graph.windowsMalwareInformation entity. +func (m *WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilder) ByMalwareStateForWindowsDeviceId(malwareStateForWindowsDeviceId string)(*WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsDeviceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilder) ToPostR } 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 *WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilder) WithUrl(rawUrl string)(*WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilder) { + return NewWindowsMalwareInformationItemDeviceMalwareStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_malware_information_request_builder.go b/devicemanagement/windows_malware_information_request_builder.go index a606a6908e3..ec83734c7cb 100644 --- a/devicemanagement/windows_malware_information_request_builder.go +++ b/devicemanagement/windows_malware_information_request_builder.go @@ -46,8 +46,8 @@ type WindowsMalwareInformationRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsMalwareInformationIdString provides operations to manage the windowsMalwareInformation property of the microsoft.graph.deviceManagement entity. -func (m *WindowsMalwareInformationRequestBuilder) ByWindowsMalwareInformationIdString(windowsMalwareInformationId string)(*WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilder) { +// ByWindowsMalwareInformationId provides operations to manage the windowsMalwareInformation property of the microsoft.graph.deviceManagement entity. +func (m *WindowsMalwareInformationRequestBuilder) ByWindowsMalwareInformationId(windowsMalwareInformationId string)(*WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsMalwareInformationRequestBuilder) ToPostRequestInformation(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 *WindowsMalwareInformationRequestBuilder) WithUrl(rawUrl string)(*WindowsMalwareInformationRequestBuilder) { + return NewWindowsMalwareInformationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_malware_information_windows_malware_information_item_request_builder.go b/devicemanagement/windows_malware_information_windows_malware_information_item_request_builder.go index 0b7e6988e80..0b0634949ef 100644 --- a/devicemanagement/windows_malware_information_windows_malware_information_item_request_builder.go +++ b/devicemanagement/windows_malware_information_windows_malware_information_item_request_builder.go @@ -157,3 +157,7 @@ func (m *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilder) T } 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 *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilder) WithUrl(rawUrl string)(*WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilder) { + return NewWindowsMalwareInformationWindowsMalwareInformationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_quality_update_profiles_count_request_builder.go b/devicemanagement/windows_quality_update_profiles_count_request_builder.go index 232916bf8fe..b3e462a0714 100644 --- a/devicemanagement/windows_quality_update_profiles_count_request_builder.go +++ b/devicemanagement/windows_quality_update_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsQualityUpdateProfilesCountRequestBuilder) 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 *WindowsQualityUpdateProfilesCountRequestBuilder) WithUrl(rawUrl string)(*WindowsQualityUpdateProfilesCountRequestBuilder) { + return NewWindowsQualityUpdateProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_quality_update_profiles_item_assign_request_builder.go b/devicemanagement/windows_quality_update_profiles_item_assign_request_builder.go index 2c512b9a2d8..5f3603361b3 100644 --- a/devicemanagement/windows_quality_update_profiles_item_assign_request_builder.go +++ b/devicemanagement/windows_quality_update_profiles_item_assign_request_builder.go @@ -62,3 +62,7 @@ func (m *WindowsQualityUpdateProfilesItemAssignRequestBuilder) ToPostRequestInfo } 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 *WindowsQualityUpdateProfilesItemAssignRequestBuilder) WithUrl(rawUrl string)(*WindowsQualityUpdateProfilesItemAssignRequestBuilder) { + return NewWindowsQualityUpdateProfilesItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_quality_update_profiles_item_assignments_count_request_builder.go b/devicemanagement/windows_quality_update_profiles_item_assignments_count_request_builder.go index 443c6758340..9dfd349129a 100644 --- a/devicemanagement/windows_quality_update_profiles_item_assignments_count_request_builder.go +++ b/devicemanagement/windows_quality_update_profiles_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsQualityUpdateProfilesItemAssignmentsCountRequestBuilder) ToGetRe } 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 *WindowsQualityUpdateProfilesItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*WindowsQualityUpdateProfilesItemAssignmentsCountRequestBuilder) { + return NewWindowsQualityUpdateProfilesItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_quality_update_profiles_item_assignments_request_builder.go b/devicemanagement/windows_quality_update_profiles_item_assignments_request_builder.go index 9789669ad48..22692461fcc 100644 --- a/devicemanagement/windows_quality_update_profiles_item_assignments_request_builder.go +++ b/devicemanagement/windows_quality_update_profiles_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type WindowsQualityUpdateProfilesItemAssignmentsRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsQualityUpdateProfileAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.windowsQualityUpdateProfile entity. -func (m *WindowsQualityUpdateProfilesItemAssignmentsRequestBuilder) ByWindowsQualityUpdateProfileAssignmentIdString(windowsQualityUpdateProfileAssignmentId string)(*WindowsQualityUpdateProfilesItemAssignmentsWindowsQualityUpdateProfileAssignmentItemRequestBuilder) { +// ByWindowsQualityUpdateProfileAssignmentId provides operations to manage the assignments property of the microsoft.graph.windowsQualityUpdateProfile entity. +func (m *WindowsQualityUpdateProfilesItemAssignmentsRequestBuilder) ByWindowsQualityUpdateProfileAssignmentId(windowsQualityUpdateProfileAssignmentId string)(*WindowsQualityUpdateProfilesItemAssignmentsWindowsQualityUpdateProfileAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsQualityUpdateProfilesItemAssignmentsRequestBuilder) ToPostReques } 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 *WindowsQualityUpdateProfilesItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*WindowsQualityUpdateProfilesItemAssignmentsRequestBuilder) { + return NewWindowsQualityUpdateProfilesItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_quality_update_profiles_item_assignments_windows_quality_update_profile_assignment_item_request_builder.go b/devicemanagement/windows_quality_update_profiles_item_assignments_windows_quality_update_profile_assignment_item_request_builder.go index bf0e6f4aec8..bf2cfdea61b 100644 --- a/devicemanagement/windows_quality_update_profiles_item_assignments_windows_quality_update_profile_assignment_item_request_builder.go +++ b/devicemanagement/windows_quality_update_profiles_item_assignments_windows_quality_update_profile_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *WindowsQualityUpdateProfilesItemAssignmentsWindowsQualityUpdateProfileA } 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 *WindowsQualityUpdateProfilesItemAssignmentsWindowsQualityUpdateProfileAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*WindowsQualityUpdateProfilesItemAssignmentsWindowsQualityUpdateProfileAssignmentItemRequestBuilder) { + return NewWindowsQualityUpdateProfilesItemAssignmentsWindowsQualityUpdateProfileAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_quality_update_profiles_request_builder.go b/devicemanagement/windows_quality_update_profiles_request_builder.go index 6570aed97cc..bf039abf495 100644 --- a/devicemanagement/windows_quality_update_profiles_request_builder.go +++ b/devicemanagement/windows_quality_update_profiles_request_builder.go @@ -46,8 +46,8 @@ type WindowsQualityUpdateProfilesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsQualityUpdateProfileIdString provides operations to manage the windowsQualityUpdateProfiles property of the microsoft.graph.deviceManagement entity. -func (m *WindowsQualityUpdateProfilesRequestBuilder) ByWindowsQualityUpdateProfileIdString(windowsQualityUpdateProfileId string)(*WindowsQualityUpdateProfilesWindowsQualityUpdateProfileItemRequestBuilder) { +// ByWindowsQualityUpdateProfileId provides operations to manage the windowsQualityUpdateProfiles property of the microsoft.graph.deviceManagement entity. +func (m *WindowsQualityUpdateProfilesRequestBuilder) ByWindowsQualityUpdateProfileId(windowsQualityUpdateProfileId string)(*WindowsQualityUpdateProfilesWindowsQualityUpdateProfileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsQualityUpdateProfilesRequestBuilder) 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 *WindowsQualityUpdateProfilesRequestBuilder) WithUrl(rawUrl string)(*WindowsQualityUpdateProfilesRequestBuilder) { + return NewWindowsQualityUpdateProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_quality_update_profiles_windows_quality_update_profile_item_request_builder.go b/devicemanagement/windows_quality_update_profiles_windows_quality_update_profile_item_request_builder.go index e096c875917..910b05934fb 100644 --- a/devicemanagement/windows_quality_update_profiles_windows_quality_update_profile_item_request_builder.go +++ b/devicemanagement/windows_quality_update_profiles_windows_quality_update_profile_item_request_builder.go @@ -161,3 +161,7 @@ func (m *WindowsQualityUpdateProfilesWindowsQualityUpdateProfileItemRequestBuild } 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 *WindowsQualityUpdateProfilesWindowsQualityUpdateProfileItemRequestBuilder) WithUrl(rawUrl string)(*WindowsQualityUpdateProfilesWindowsQualityUpdateProfileItemRequestBuilder) { + return NewWindowsQualityUpdateProfilesWindowsQualityUpdateProfileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_update_catalog_items_count_request_builder.go b/devicemanagement/windows_update_catalog_items_count_request_builder.go index 7a3d81239ef..6b5f9fac4a0 100644 --- a/devicemanagement/windows_update_catalog_items_count_request_builder.go +++ b/devicemanagement/windows_update_catalog_items_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WindowsUpdateCatalogItemsCountRequestBuilder) ToGetRequestInformation(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 *WindowsUpdateCatalogItemsCountRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdateCatalogItemsCountRequestBuilder) { + return NewWindowsUpdateCatalogItemsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_update_catalog_items_request_builder.go b/devicemanagement/windows_update_catalog_items_request_builder.go index 94e31b9ba01..119064d1baa 100644 --- a/devicemanagement/windows_update_catalog_items_request_builder.go +++ b/devicemanagement/windows_update_catalog_items_request_builder.go @@ -46,8 +46,8 @@ type WindowsUpdateCatalogItemsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsUpdateCatalogItemIdString provides operations to manage the windowsUpdateCatalogItems property of the microsoft.graph.deviceManagement entity. -func (m *WindowsUpdateCatalogItemsRequestBuilder) ByWindowsUpdateCatalogItemIdString(windowsUpdateCatalogItemId string)(*WindowsUpdateCatalogItemsWindowsUpdateCatalogItemItemRequestBuilder) { +// ByWindowsUpdateCatalogItemId provides operations to manage the windowsUpdateCatalogItems property of the microsoft.graph.deviceManagement entity. +func (m *WindowsUpdateCatalogItemsRequestBuilder) ByWindowsUpdateCatalogItemId(windowsUpdateCatalogItemId string)(*WindowsUpdateCatalogItemsWindowsUpdateCatalogItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *WindowsUpdateCatalogItemsRequestBuilder) ToPostRequestInformation(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 *WindowsUpdateCatalogItemsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdateCatalogItemsRequestBuilder) { + return NewWindowsUpdateCatalogItemsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/windows_update_catalog_items_windows_update_catalog_item_item_request_builder.go b/devicemanagement/windows_update_catalog_items_windows_update_catalog_item_item_request_builder.go index 4dfff19496b..f04f642d41b 100644 --- a/devicemanagement/windows_update_catalog_items_windows_update_catalog_item_item_request_builder.go +++ b/devicemanagement/windows_update_catalog_items_windows_update_catalog_item_item_request_builder.go @@ -153,3 +153,7 @@ func (m *WindowsUpdateCatalogItemsWindowsUpdateCatalogItemItemRequestBuilder) To } 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 *WindowsUpdateCatalogItemsWindowsUpdateCatalogItemItemRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdateCatalogItemsWindowsUpdateCatalogItemItemRequestBuilder) { + return NewWindowsUpdateCatalogItemsWindowsUpdateCatalogItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/zebra_fota_artifacts_count_request_builder.go b/devicemanagement/zebra_fota_artifacts_count_request_builder.go index 9cdefe3d82b..c508f036e36 100644 --- a/devicemanagement/zebra_fota_artifacts_count_request_builder.go +++ b/devicemanagement/zebra_fota_artifacts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ZebraFotaArtifactsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ZebraFotaArtifactsCountRequestBuilder) WithUrl(rawUrl string)(*ZebraFotaArtifactsCountRequestBuilder) { + return NewZebraFotaArtifactsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/zebra_fota_artifacts_request_builder.go b/devicemanagement/zebra_fota_artifacts_request_builder.go index 0bec1ca4fe9..7fca57db67b 100644 --- a/devicemanagement/zebra_fota_artifacts_request_builder.go +++ b/devicemanagement/zebra_fota_artifacts_request_builder.go @@ -46,8 +46,8 @@ type ZebraFotaArtifactsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByZebraFotaArtifactIdString provides operations to manage the zebraFotaArtifacts property of the microsoft.graph.deviceManagement entity. -func (m *ZebraFotaArtifactsRequestBuilder) ByZebraFotaArtifactIdString(zebraFotaArtifactId string)(*ZebraFotaArtifactsZebraFotaArtifactItemRequestBuilder) { +// ByZebraFotaArtifactId provides operations to manage the zebraFotaArtifacts property of the microsoft.graph.deviceManagement entity. +func (m *ZebraFotaArtifactsRequestBuilder) ByZebraFotaArtifactId(zebraFotaArtifactId string)(*ZebraFotaArtifactsZebraFotaArtifactItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ZebraFotaArtifactsRequestBuilder) 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 *ZebraFotaArtifactsRequestBuilder) WithUrl(rawUrl string)(*ZebraFotaArtifactsRequestBuilder) { + return NewZebraFotaArtifactsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/zebra_fota_artifacts_zebra_fota_artifact_item_request_builder.go b/devicemanagement/zebra_fota_artifacts_zebra_fota_artifact_item_request_builder.go index 8fa03818c3c..15212484a14 100644 --- a/devicemanagement/zebra_fota_artifacts_zebra_fota_artifact_item_request_builder.go +++ b/devicemanagement/zebra_fota_artifacts_zebra_fota_artifact_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ZebraFotaArtifactsZebraFotaArtifactItemRequestBuilder) ToPatchRequestIn } 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 *ZebraFotaArtifactsZebraFotaArtifactItemRequestBuilder) WithUrl(rawUrl string)(*ZebraFotaArtifactsZebraFotaArtifactItemRequestBuilder) { + return NewZebraFotaArtifactsZebraFotaArtifactItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/zebra_fota_connector_approve_fota_apps_request_builder.go b/devicemanagement/zebra_fota_connector_approve_fota_apps_request_builder.go index 8f15c28a47a..b0f61404f17 100644 --- a/devicemanagement/zebra_fota_connector_approve_fota_apps_request_builder.go +++ b/devicemanagement/zebra_fota_connector_approve_fota_apps_request_builder.go @@ -62,3 +62,7 @@ func (m *ZebraFotaConnectorApproveFotaAppsRequestBuilder) ToPostRequestInformati } 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 *ZebraFotaConnectorApproveFotaAppsRequestBuilder) WithUrl(rawUrl string)(*ZebraFotaConnectorApproveFotaAppsRequestBuilder) { + return NewZebraFotaConnectorApproveFotaAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/zebra_fota_connector_connect_request_builder.go b/devicemanagement/zebra_fota_connector_connect_request_builder.go index b1a4fa49d4d..fb2417d97b1 100644 --- a/devicemanagement/zebra_fota_connector_connect_request_builder.go +++ b/devicemanagement/zebra_fota_connector_connect_request_builder.go @@ -62,3 +62,7 @@ func (m *ZebraFotaConnectorConnectRequestBuilder) ToPostRequestInformation(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 *ZebraFotaConnectorConnectRequestBuilder) WithUrl(rawUrl string)(*ZebraFotaConnectorConnectRequestBuilder) { + return NewZebraFotaConnectorConnectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/zebra_fota_connector_disconnect_request_builder.go b/devicemanagement/zebra_fota_connector_disconnect_request_builder.go index f536411e8d8..d971f02ea2a 100644 --- a/devicemanagement/zebra_fota_connector_disconnect_request_builder.go +++ b/devicemanagement/zebra_fota_connector_disconnect_request_builder.go @@ -62,3 +62,7 @@ func (m *ZebraFotaConnectorDisconnectRequestBuilder) 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 *ZebraFotaConnectorDisconnectRequestBuilder) WithUrl(rawUrl string)(*ZebraFotaConnectorDisconnectRequestBuilder) { + return NewZebraFotaConnectorDisconnectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/zebra_fota_connector_has_active_deployments_request_builder.go b/devicemanagement/zebra_fota_connector_has_active_deployments_request_builder.go index 59e026a797f..dde80efce71 100644 --- a/devicemanagement/zebra_fota_connector_has_active_deployments_request_builder.go +++ b/devicemanagement/zebra_fota_connector_has_active_deployments_request_builder.go @@ -62,3 +62,7 @@ func (m *ZebraFotaConnectorHasActiveDeploymentsRequestBuilder) ToPostRequestInfo } 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 *ZebraFotaConnectorHasActiveDeploymentsRequestBuilder) WithUrl(rawUrl string)(*ZebraFotaConnectorHasActiveDeploymentsRequestBuilder) { + return NewZebraFotaConnectorHasActiveDeploymentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/zebra_fota_connector_request_builder.go b/devicemanagement/zebra_fota_connector_request_builder.go index b65787cbc57..6b9f75ab941 100644 --- a/devicemanagement/zebra_fota_connector_request_builder.go +++ b/devicemanagement/zebra_fota_connector_request_builder.go @@ -169,3 +169,7 @@ func (m *ZebraFotaConnectorRequestBuilder) ToPatchRequestInformation(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 *ZebraFotaConnectorRequestBuilder) WithUrl(rawUrl string)(*ZebraFotaConnectorRequestBuilder) { + return NewZebraFotaConnectorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/zebra_fota_deployments_count_request_builder.go b/devicemanagement/zebra_fota_deployments_count_request_builder.go index 0541226f68d..52218fe8a64 100644 --- a/devicemanagement/zebra_fota_deployments_count_request_builder.go +++ b/devicemanagement/zebra_fota_deployments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ZebraFotaDeploymentsCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ZebraFotaDeploymentsCountRequestBuilder) WithUrl(rawUrl string)(*ZebraFotaDeploymentsCountRequestBuilder) { + return NewZebraFotaDeploymentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/zebra_fota_deployments_item_cancel_request_builder.go b/devicemanagement/zebra_fota_deployments_item_cancel_request_builder.go index 29c849762ad..78509b9f8ce 100644 --- a/devicemanagement/zebra_fota_deployments_item_cancel_request_builder.go +++ b/devicemanagement/zebra_fota_deployments_item_cancel_request_builder.go @@ -62,3 +62,7 @@ func (m *ZebraFotaDeploymentsItemCancelRequestBuilder) 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 *ZebraFotaDeploymentsItemCancelRequestBuilder) WithUrl(rawUrl string)(*ZebraFotaDeploymentsItemCancelRequestBuilder) { + return NewZebraFotaDeploymentsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/zebra_fota_deployments_request_builder.go b/devicemanagement/zebra_fota_deployments_request_builder.go index 0fedcb54229..dbb76bb8562 100644 --- a/devicemanagement/zebra_fota_deployments_request_builder.go +++ b/devicemanagement/zebra_fota_deployments_request_builder.go @@ -46,8 +46,8 @@ type ZebraFotaDeploymentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByZebraFotaDeploymentIdString provides operations to manage the zebraFotaDeployments property of the microsoft.graph.deviceManagement entity. -func (m *ZebraFotaDeploymentsRequestBuilder) ByZebraFotaDeploymentIdString(zebraFotaDeploymentId string)(*ZebraFotaDeploymentsZebraFotaDeploymentItemRequestBuilder) { +// ByZebraFotaDeploymentId provides operations to manage the zebraFotaDeployments property of the microsoft.graph.deviceManagement entity. +func (m *ZebraFotaDeploymentsRequestBuilder) ByZebraFotaDeploymentId(zebraFotaDeploymentId string)(*ZebraFotaDeploymentsZebraFotaDeploymentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ZebraFotaDeploymentsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ZebraFotaDeploymentsRequestBuilder) WithUrl(rawUrl string)(*ZebraFotaDeploymentsRequestBuilder) { + return NewZebraFotaDeploymentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/zebra_fota_deployments_zebra_fota_deployment_item_request_builder.go b/devicemanagement/zebra_fota_deployments_zebra_fota_deployment_item_request_builder.go index 5df4542e064..81908c5c909 100644 --- a/devicemanagement/zebra_fota_deployments_zebra_fota_deployment_item_request_builder.go +++ b/devicemanagement/zebra_fota_deployments_zebra_fota_deployment_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ZebraFotaDeploymentsZebraFotaDeploymentItemRequestBuilder) ToPatchReque } 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 *ZebraFotaDeploymentsZebraFotaDeploymentItemRequestBuilder) WithUrl(rawUrl string)(*ZebraFotaDeploymentsZebraFotaDeploymentItemRequestBuilder) { + return NewZebraFotaDeploymentsZebraFotaDeploymentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/count_request_builder.go b/devices/count_request_builder.go index f3a5fabe7ef..b1be3182288 100644 --- a/devices/count_request_builder.go +++ b/devices/count_request_builder.go @@ -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); +} diff --git a/devices/delta_request_builder.go b/devices/delta_request_builder.go index 001e7abfa94..2acdba26b68 100644 --- a/devices/delta_request_builder.go +++ b/devices/delta_request_builder.go @@ -84,3 +84,7 @@ func (m *DeltaRequestBuilder) 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 *DeltaRequestBuilder) WithUrl(rawUrl string)(*DeltaRequestBuilder) { + return NewDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/device_item_request_builder.go b/devices/device_item_request_builder.go index c6f9e041936..36867974c32 100644 --- a/devices/device_item_request_builder.go +++ b/devices/device_item_request_builder.go @@ -210,3 +210,7 @@ func (m *DeviceItemRequestBuilder) TransitiveMemberOf()(*ItemTransitiveMemberOfR func (m *DeviceItemRequestBuilder) UsageRights()(*ItemUsageRightsRequestBuilder) { return NewItemUsageRightsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DeviceItemRequestBuilder) WithUrl(rawUrl string)(*DeviceItemRequestBuilder) { + return NewDeviceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/devices_request_builder.go b/devices/devices_request_builder.go index 331f2dd22ce..9ac33a81695 100644 --- a/devices/devices_request_builder.go +++ b/devices/devices_request_builder.go @@ -46,8 +46,8 @@ type DevicesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceIdString provides operations to manage the collection of device entities. -func (m *DevicesRequestBuilder) ByDeviceIdString(deviceId string)(*DeviceItemRequestBuilder) { +// ByDeviceId provides operations to manage the collection of device entities. +func (m *DevicesRequestBuilder) ByDeviceId(deviceId string)(*DeviceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -167,3 +167,7 @@ func (m *DevicesRequestBuilder) ToPostRequestInformation(ctx context.Context, bo func (m *DevicesRequestBuilder) ValidateProperties()(*ValidatePropertiesRequestBuilder) { return NewValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DevicesRequestBuilder) WithUrl(rawUrl string)(*DevicesRequestBuilder) { + return NewDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/get_by_ids_request_builder.go b/devices/get_by_ids_request_builder.go index 07632507638..e15654f40f6 100644 --- a/devices/get_by_ids_request_builder.go +++ b/devices/get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *GetByIdsRequestBuilder) WithUrl(rawUrl string)(*GetByIdsRequestBuilder) { + return NewGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/get_user_owned_objects_request_builder.go b/devices/get_user_owned_objects_request_builder.go index 050b5d45956..e0469d348be 100644 --- a/devices/get_user_owned_objects_request_builder.go +++ b/devices/get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) 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 *GetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*GetUserOwnedObjectsRequestBuilder) { + return NewGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_check_member_groups_request_builder.go b/devices/item_check_member_groups_request_builder.go index 381d300efe3..4b5b8b7533b 100644 --- a/devices/item_check_member_groups_request_builder.go +++ b/devices/item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) 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 *ItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberGroupsRequestBuilder) { + return NewItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_check_member_objects_request_builder.go b/devices/item_check_member_objects_request_builder.go index c2555697211..3ca6b8f7199 100644 --- a/devices/item_check_member_objects_request_builder.go +++ b/devices/item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberObjectsRequestBuilder) { + return NewItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_commands_command_item_request_builder.go b/devices/item_commands_command_item_request_builder.go index a043fb917f8..f026aafeaa8 100644 --- a/devices/item_commands_command_item_request_builder.go +++ b/devices/item_commands_command_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemCommandsCommandItemRequestBuilder) ToPatchRequestInformation(ctx co } 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 *ItemCommandsCommandItemRequestBuilder) WithUrl(rawUrl string)(*ItemCommandsCommandItemRequestBuilder) { + return NewItemCommandsCommandItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_commands_count_request_builder.go b/devices/item_commands_count_request_builder.go index 4e1654cf049..bd7dae9e095 100644 --- a/devices/item_commands_count_request_builder.go +++ b/devices/item_commands_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemCommandsCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemCommandsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCommandsCountRequestBuilder) { + return NewItemCommandsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_commands_item_responsepayload_request_builder.go b/devices/item_commands_item_responsepayload_request_builder.go index 4c4ba686ebf..49d60857ffb 100644 --- a/devices/item_commands_item_responsepayload_request_builder.go +++ b/devices/item_commands_item_responsepayload_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemCommandsItemResponsepayloadRequestBuilder) 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 *ItemCommandsItemResponsepayloadRequestBuilder) WithUrl(rawUrl string)(*ItemCommandsItemResponsepayloadRequestBuilder) { + return NewItemCommandsItemResponsepayloadRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_commands_request_builder.go b/devices/item_commands_request_builder.go index 93b3e40989b..35a928c84e0 100644 --- a/devices/item_commands_request_builder.go +++ b/devices/item_commands_request_builder.go @@ -46,8 +46,8 @@ type ItemCommandsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCommandIdString provides operations to manage the commands property of the microsoft.graph.device entity. -func (m *ItemCommandsRequestBuilder) ByCommandIdString(commandId string)(*ItemCommandsCommandItemRequestBuilder) { +// ByCommandId provides operations to manage the commands property of the microsoft.graph.device entity. +func (m *ItemCommandsRequestBuilder) ByCommandId(commandId string)(*ItemCommandsCommandItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemCommandsRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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 *ItemCommandsRequestBuilder) WithUrl(rawUrl string)(*ItemCommandsRequestBuilder) { + return NewItemCommandsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_extensions_count_request_builder.go b/devices/item_extensions_count_request_builder.go index 1bd097f0405..f5303bd37c8 100644 --- a/devices/item_extensions_count_request_builder.go +++ b/devices/item_extensions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemExtensionsCountRequestBuilder) ToGetRequestInformation(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 *ItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemExtensionsCountRequestBuilder) { + return NewItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_extensions_extension_item_request_builder.go b/devices/item_extensions_extension_item_request_builder.go index e8b04a18424..6939917cb26 100644 --- a/devices/item_extensions_extension_item_request_builder.go +++ b/devices/item_extensions_extension_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemExtensionsExtensionItemRequestBuilder) ToPatchRequestInformation(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 *ItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemExtensionsExtensionItemRequestBuilder) { + return NewItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_extensions_request_builder.go b/devices/item_extensions_request_builder.go index cee117e6ad3..02717983c12 100644 --- a/devices/item_extensions_request_builder.go +++ b/devices/item_extensions_request_builder.go @@ -46,8 +46,8 @@ type ItemExtensionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.device entity. -func (m *ItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.device entity. +func (m *ItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *ItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemExtensionsRequestBuilder) { + return NewItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_get_member_groups_request_builder.go b/devices/item_get_member_groups_request_builder.go index 7f45ac7674c..da90df0b809 100644 --- a/devices/item_get_member_groups_request_builder.go +++ b/devices/item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) 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 *ItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberGroupsRequestBuilder) { + return NewItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_get_member_objects_request_builder.go b/devices/item_get_member_objects_request_builder.go index d00e60736ed..eec497d043a 100644 --- a/devices/item_get_member_objects_request_builder.go +++ b/devices/item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberObjectsRequestBuilder) { + return NewItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_member_of_count_request_builder.go b/devices/item_member_of_count_request_builder.go index 944e06b649f..87a95d3ac34 100644 --- a/devices/item_member_of_count_request_builder.go +++ b/devices/item_member_of_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMemberOfCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemMemberOfCountRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfCountRequestBuilder) { + return NewItemMemberOfCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_member_of_directory_object_item_request_builder.go b/devices/item_member_of_directory_object_item_request_builder.go index ad0d1e30582..ca26068447f 100644 --- a/devices/item_member_of_directory_object_item_request_builder.go +++ b/devices/item_member_of_directory_object_item_request_builder.go @@ -83,3 +83,7 @@ func (m *ItemMemberOfDirectoryObjectItemRequestBuilder) 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 *ItemMemberOfDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfDirectoryObjectItemRequestBuilder) { + return NewItemMemberOfDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_member_of_graph_administrative_unit_count_request_builder.go b/devices/item_member_of_graph_administrative_unit_count_request_builder.go index 85fca0d9bfc..668a14f2091 100644 --- a/devices/item_member_of_graph_administrative_unit_count_request_builder.go +++ b/devices/item_member_of_graph_administrative_unit_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMemberOfGraphAdministrativeUnitCountRequestBuilder) ToGetRequestInf } 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 *ItemMemberOfGraphAdministrativeUnitCountRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphAdministrativeUnitCountRequestBuilder) { + return NewItemMemberOfGraphAdministrativeUnitCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_member_of_graph_administrative_unit_request_builder.go b/devices/item_member_of_graph_administrative_unit_request_builder.go index d45b57dda5e..b63ab86a33f 100644 --- a/devices/item_member_of_graph_administrative_unit_request_builder.go +++ b/devices/item_member_of_graph_administrative_unit_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMemberOfGraphAdministrativeUnitRequestBuilder) ToGetRequestInformat } 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 *ItemMemberOfGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphAdministrativeUnitRequestBuilder) { + return NewItemMemberOfGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_member_of_graph_group_count_request_builder.go b/devices/item_member_of_graph_group_count_request_builder.go index d91c8aedf68..af6f625cc21 100644 --- a/devices/item_member_of_graph_group_count_request_builder.go +++ b/devices/item_member_of_graph_group_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMemberOfGraphGroupCountRequestBuilder) ToGetRequestInformation(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 *ItemMemberOfGraphGroupCountRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphGroupCountRequestBuilder) { + return NewItemMemberOfGraphGroupCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_member_of_graph_group_request_builder.go b/devices/item_member_of_graph_group_request_builder.go index dec8d61ae6c..a5db69a6946 100644 --- a/devices/item_member_of_graph_group_request_builder.go +++ b/devices/item_member_of_graph_group_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMemberOfGraphGroupRequestBuilder) ToGetRequestInformation(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 *ItemMemberOfGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphGroupRequestBuilder) { + return NewItemMemberOfGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_member_of_item_graph_administrative_unit_request_builder.go b/devices/item_member_of_item_graph_administrative_unit_request_builder.go index 7629533a87e..af319918880 100644 --- a/devices/item_member_of_item_graph_administrative_unit_request_builder.go +++ b/devices/item_member_of_item_graph_administrative_unit_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMemberOfItemGraphAdministrativeUnitRequestBuilder) ToGetRequestInfo } 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 *ItemMemberOfItemGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfItemGraphAdministrativeUnitRequestBuilder) { + return NewItemMemberOfItemGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_member_of_item_graph_group_request_builder.go b/devices/item_member_of_item_graph_group_request_builder.go index ab5bb94a59a..d61ce7b6427 100644 --- a/devices/item_member_of_item_graph_group_request_builder.go +++ b/devices/item_member_of_item_graph_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMemberOfItemGraphGroupRequestBuilder) ToGetRequestInformation(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 *ItemMemberOfItemGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfItemGraphGroupRequestBuilder) { + return NewItemMemberOfItemGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_member_of_request_builder.go b/devices/item_member_of_request_builder.go index f35e5cb42ea..1b02abb24df 100644 --- a/devices/item_member_of_request_builder.go +++ b/devices/item_member_of_request_builder.go @@ -39,8 +39,8 @@ type ItemMemberOfRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemMemberOfRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the memberOf property of the microsoft.graph.device entity. -func (m *ItemMemberOfRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemMemberOfDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the memberOf property of the microsoft.graph.device entity. +func (m *ItemMemberOfRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemMemberOfDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -113,3 +113,7 @@ func (m *ItemMemberOfRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemMemberOfRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfRequestBuilder) { + return NewItemMemberOfRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_owners_count_request_builder.go b/devices/item_registered_owners_count_request_builder.go index b5be7d82648..84acc7b1bdc 100644 --- a/devices/item_registered_owners_count_request_builder.go +++ b/devices/item_registered_owners_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRegisteredOwnersCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemRegisteredOwnersCountRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredOwnersCountRequestBuilder) { + return NewItemRegisteredOwnersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_owners_graph_endpoint_count_request_builder.go b/devices/item_registered_owners_graph_endpoint_count_request_builder.go index 4734b515179..26e6c0227ab 100644 --- a/devices/item_registered_owners_graph_endpoint_count_request_builder.go +++ b/devices/item_registered_owners_graph_endpoint_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRegisteredOwnersGraphEndpointCountRequestBuilder) ToGetRequestInfor } 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 *ItemRegisteredOwnersGraphEndpointCountRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredOwnersGraphEndpointCountRequestBuilder) { + return NewItemRegisteredOwnersGraphEndpointCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_owners_graph_endpoint_request_builder.go b/devices/item_registered_owners_graph_endpoint_request_builder.go index c8b72949ed9..777573446a4 100644 --- a/devices/item_registered_owners_graph_endpoint_request_builder.go +++ b/devices/item_registered_owners_graph_endpoint_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemRegisteredOwnersGraphEndpointRequestBuilder) 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 *ItemRegisteredOwnersGraphEndpointRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredOwnersGraphEndpointRequestBuilder) { + return NewItemRegisteredOwnersGraphEndpointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_owners_graph_service_principal_count_request_builder.go b/devices/item_registered_owners_graph_service_principal_count_request_builder.go index eb78cd4eff1..7237992bbea 100644 --- a/devices/item_registered_owners_graph_service_principal_count_request_builder.go +++ b/devices/item_registered_owners_graph_service_principal_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRegisteredOwnersGraphServicePrincipalCountRequestBuilder) ToGetRequ } 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 *ItemRegisteredOwnersGraphServicePrincipalCountRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredOwnersGraphServicePrincipalCountRequestBuilder) { + return NewItemRegisteredOwnersGraphServicePrincipalCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_owners_graph_service_principal_request_builder.go b/devices/item_registered_owners_graph_service_principal_request_builder.go index fb7eb58d624..9b35abe9dbd 100644 --- a/devices/item_registered_owners_graph_service_principal_request_builder.go +++ b/devices/item_registered_owners_graph_service_principal_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemRegisteredOwnersGraphServicePrincipalRequestBuilder) ToGetRequestIn } 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 *ItemRegisteredOwnersGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredOwnersGraphServicePrincipalRequestBuilder) { + return NewItemRegisteredOwnersGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_owners_graph_user_count_request_builder.go b/devices/item_registered_owners_graph_user_count_request_builder.go index 2a0766b23b2..80d4a4f85dc 100644 --- a/devices/item_registered_owners_graph_user_count_request_builder.go +++ b/devices/item_registered_owners_graph_user_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRegisteredOwnersGraphUserCountRequestBuilder) ToGetRequestInformati } 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 *ItemRegisteredOwnersGraphUserCountRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredOwnersGraphUserCountRequestBuilder) { + return NewItemRegisteredOwnersGraphUserCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_owners_graph_user_request_builder.go b/devices/item_registered_owners_graph_user_request_builder.go index 9f6319302ff..2252aa55e99 100644 --- a/devices/item_registered_owners_graph_user_request_builder.go +++ b/devices/item_registered_owners_graph_user_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemRegisteredOwnersGraphUserRequestBuilder) ToGetRequestInformation(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 *ItemRegisteredOwnersGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredOwnersGraphUserRequestBuilder) { + return NewItemRegisteredOwnersGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_owners_item_graph_endpoint_request_builder.go b/devices/item_registered_owners_item_graph_endpoint_request_builder.go index e74b98bc6b8..9a23ab22d65 100644 --- a/devices/item_registered_owners_item_graph_endpoint_request_builder.go +++ b/devices/item_registered_owners_item_graph_endpoint_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRegisteredOwnersItemGraphEndpointRequestBuilder) ToGetRequestInform } 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 *ItemRegisteredOwnersItemGraphEndpointRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredOwnersItemGraphEndpointRequestBuilder) { + return NewItemRegisteredOwnersItemGraphEndpointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_owners_item_graph_service_principal_request_builder.go b/devices/item_registered_owners_item_graph_service_principal_request_builder.go index f9c435a7daa..4cca2106cce 100644 --- a/devices/item_registered_owners_item_graph_service_principal_request_builder.go +++ b/devices/item_registered_owners_item_graph_service_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRegisteredOwnersItemGraphServicePrincipalRequestBuilder) ToGetReque } 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 *ItemRegisteredOwnersItemGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredOwnersItemGraphServicePrincipalRequestBuilder) { + return NewItemRegisteredOwnersItemGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_owners_item_graph_user_request_builder.go b/devices/item_registered_owners_item_graph_user_request_builder.go index d82ca2f72ca..f0c46124d72 100644 --- a/devices/item_registered_owners_item_graph_user_request_builder.go +++ b/devices/item_registered_owners_item_graph_user_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRegisteredOwnersItemGraphUserRequestBuilder) 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 *ItemRegisteredOwnersItemGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredOwnersItemGraphUserRequestBuilder) { + return NewItemRegisteredOwnersItemGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_owners_item_ref_request_builder.go b/devices/item_registered_owners_item_ref_request_builder.go index 71e50b081cb..efb1d10adb7 100644 --- a/devices/item_registered_owners_item_ref_request_builder.go +++ b/devices/item_registered_owners_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *ItemRegisteredOwnersItemRefRequestBuilder) ToDeleteRequestInformation(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 *ItemRegisteredOwnersItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredOwnersItemRefRequestBuilder) { + return NewItemRegisteredOwnersItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_owners_ref_request_builder.go b/devices/item_registered_owners_ref_request_builder.go index e1fbe215137..fc17cbea22f 100644 --- a/devices/item_registered_owners_ref_request_builder.go +++ b/devices/item_registered_owners_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *ItemRegisteredOwnersRefRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemRegisteredOwnersRefRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredOwnersRefRequestBuilder) { + return NewItemRegisteredOwnersRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_owners_request_builder.go b/devices/item_registered_owners_request_builder.go index ea145744ab5..5eae1f09c10 100644 --- a/devices/item_registered_owners_request_builder.go +++ b/devices/item_registered_owners_request_builder.go @@ -39,8 +39,8 @@ type ItemRegisteredOwnersRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemRegisteredOwnersRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.item.registeredOwners.item collection -func (m *ItemRegisteredOwnersRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemRegisteredOwnersDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.item.registeredOwners.item collection +func (m *ItemRegisteredOwnersRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemRegisteredOwnersDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -121,3 +121,7 @@ func (m *ItemRegisteredOwnersRequestBuilder) ToGetRequestInformation(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 *ItemRegisteredOwnersRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredOwnersRequestBuilder) { + return NewItemRegisteredOwnersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_users_count_request_builder.go b/devices/item_registered_users_count_request_builder.go index 07507001c61..e1c5d962649 100644 --- a/devices/item_registered_users_count_request_builder.go +++ b/devices/item_registered_users_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRegisteredUsersCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemRegisteredUsersCountRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredUsersCountRequestBuilder) { + return NewItemRegisteredUsersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_users_graph_endpoint_count_request_builder.go b/devices/item_registered_users_graph_endpoint_count_request_builder.go index bf60ca5f9b3..6f6448b1276 100644 --- a/devices/item_registered_users_graph_endpoint_count_request_builder.go +++ b/devices/item_registered_users_graph_endpoint_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRegisteredUsersGraphEndpointCountRequestBuilder) ToGetRequestInform } 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 *ItemRegisteredUsersGraphEndpointCountRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredUsersGraphEndpointCountRequestBuilder) { + return NewItemRegisteredUsersGraphEndpointCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_users_graph_endpoint_request_builder.go b/devices/item_registered_users_graph_endpoint_request_builder.go index 247634e1213..ae4eed55995 100644 --- a/devices/item_registered_users_graph_endpoint_request_builder.go +++ b/devices/item_registered_users_graph_endpoint_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemRegisteredUsersGraphEndpointRequestBuilder) 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 *ItemRegisteredUsersGraphEndpointRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredUsersGraphEndpointRequestBuilder) { + return NewItemRegisteredUsersGraphEndpointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_users_graph_service_principal_count_request_builder.go b/devices/item_registered_users_graph_service_principal_count_request_builder.go index 5bb0aa9c3f2..5788effcb50 100644 --- a/devices/item_registered_users_graph_service_principal_count_request_builder.go +++ b/devices/item_registered_users_graph_service_principal_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRegisteredUsersGraphServicePrincipalCountRequestBuilder) ToGetReque } 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 *ItemRegisteredUsersGraphServicePrincipalCountRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredUsersGraphServicePrincipalCountRequestBuilder) { + return NewItemRegisteredUsersGraphServicePrincipalCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_users_graph_service_principal_request_builder.go b/devices/item_registered_users_graph_service_principal_request_builder.go index 9e54aa2f2dd..338b69b066c 100644 --- a/devices/item_registered_users_graph_service_principal_request_builder.go +++ b/devices/item_registered_users_graph_service_principal_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemRegisteredUsersGraphServicePrincipalRequestBuilder) ToGetRequestInf } 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 *ItemRegisteredUsersGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredUsersGraphServicePrincipalRequestBuilder) { + return NewItemRegisteredUsersGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_users_graph_user_count_request_builder.go b/devices/item_registered_users_graph_user_count_request_builder.go index 2c2e94f61d1..56daa44babc 100644 --- a/devices/item_registered_users_graph_user_count_request_builder.go +++ b/devices/item_registered_users_graph_user_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRegisteredUsersGraphUserCountRequestBuilder) 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 *ItemRegisteredUsersGraphUserCountRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredUsersGraphUserCountRequestBuilder) { + return NewItemRegisteredUsersGraphUserCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_users_graph_user_request_builder.go b/devices/item_registered_users_graph_user_request_builder.go index 32216f59d69..7b77b3fc5aa 100644 --- a/devices/item_registered_users_graph_user_request_builder.go +++ b/devices/item_registered_users_graph_user_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemRegisteredUsersGraphUserRequestBuilder) ToGetRequestInformation(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 *ItemRegisteredUsersGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredUsersGraphUserRequestBuilder) { + return NewItemRegisteredUsersGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_users_item_graph_endpoint_request_builder.go b/devices/item_registered_users_item_graph_endpoint_request_builder.go index 528cc47fe18..b048cf786eb 100644 --- a/devices/item_registered_users_item_graph_endpoint_request_builder.go +++ b/devices/item_registered_users_item_graph_endpoint_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRegisteredUsersItemGraphEndpointRequestBuilder) ToGetRequestInforma } 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 *ItemRegisteredUsersItemGraphEndpointRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredUsersItemGraphEndpointRequestBuilder) { + return NewItemRegisteredUsersItemGraphEndpointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_users_item_graph_service_principal_request_builder.go b/devices/item_registered_users_item_graph_service_principal_request_builder.go index 9a12bae08e3..a05025aaed4 100644 --- a/devices/item_registered_users_item_graph_service_principal_request_builder.go +++ b/devices/item_registered_users_item_graph_service_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRegisteredUsersItemGraphServicePrincipalRequestBuilder) ToGetReques } 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 *ItemRegisteredUsersItemGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredUsersItemGraphServicePrincipalRequestBuilder) { + return NewItemRegisteredUsersItemGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_users_item_graph_user_request_builder.go b/devices/item_registered_users_item_graph_user_request_builder.go index 95cc28f3c59..e5eeaa7f089 100644 --- a/devices/item_registered_users_item_graph_user_request_builder.go +++ b/devices/item_registered_users_item_graph_user_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRegisteredUsersItemGraphUserRequestBuilder) 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 *ItemRegisteredUsersItemGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredUsersItemGraphUserRequestBuilder) { + return NewItemRegisteredUsersItemGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_users_item_ref_request_builder.go b/devices/item_registered_users_item_ref_request_builder.go index 369b0756df7..20b6fd3618a 100644 --- a/devices/item_registered_users_item_ref_request_builder.go +++ b/devices/item_registered_users_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *ItemRegisteredUsersItemRefRequestBuilder) ToDeleteRequestInformation(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 *ItemRegisteredUsersItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredUsersItemRefRequestBuilder) { + return NewItemRegisteredUsersItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_users_ref_request_builder.go b/devices/item_registered_users_ref_request_builder.go index 4b9a2568f45..bd3147fc706 100644 --- a/devices/item_registered_users_ref_request_builder.go +++ b/devices/item_registered_users_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *ItemRegisteredUsersRefRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemRegisteredUsersRefRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredUsersRefRequestBuilder) { + return NewItemRegisteredUsersRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_registered_users_request_builder.go b/devices/item_registered_users_request_builder.go index db6a9a4aa09..5630b754ba7 100644 --- a/devices/item_registered_users_request_builder.go +++ b/devices/item_registered_users_request_builder.go @@ -39,8 +39,8 @@ type ItemRegisteredUsersRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemRegisteredUsersRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.item.registeredUsers.item collection -func (m *ItemRegisteredUsersRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemRegisteredUsersDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.item.registeredUsers.item collection +func (m *ItemRegisteredUsersRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemRegisteredUsersDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -121,3 +121,7 @@ func (m *ItemRegisteredUsersRequestBuilder) ToGetRequestInformation(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 *ItemRegisteredUsersRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredUsersRequestBuilder) { + return NewItemRegisteredUsersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_restore_request_builder.go b/devices/item_restore_request_builder.go index 1c98fc64235..ace33e0c06a 100644 --- a/devices/item_restore_request_builder.go +++ b/devices/item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemRestoreRequestBuilder) { + return NewItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_transitive_member_of_count_request_builder.go b/devices/item_transitive_member_of_count_request_builder.go index 6b12bc0c2b8..07343782645 100644 --- a/devices/item_transitive_member_of_count_request_builder.go +++ b/devices/item_transitive_member_of_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMemberOfCountRequestBuilder) ToGetRequestInformation(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 *ItemTransitiveMemberOfCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfCountRequestBuilder) { + return NewItemTransitiveMemberOfCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_transitive_member_of_directory_object_item_request_builder.go b/devices/item_transitive_member_of_directory_object_item_request_builder.go index a1644895d0e..3f4412d8f02 100644 --- a/devices/item_transitive_member_of_directory_object_item_request_builder.go +++ b/devices/item_transitive_member_of_directory_object_item_request_builder.go @@ -83,3 +83,7 @@ func (m *ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) ToGetRequestIn } 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 *ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) { + return NewItemTransitiveMemberOfDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_transitive_member_of_graph_administrative_unit_count_request_builder.go b/devices/item_transitive_member_of_graph_administrative_unit_count_request_builder.go index 6232c9c5c24..899aa4d2eb5 100644 --- a/devices/item_transitive_member_of_graph_administrative_unit_count_request_builder.go +++ b/devices/item_transitive_member_of_graph_administrative_unit_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder) ToGet } 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 *ItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder) { + return NewItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_transitive_member_of_graph_administrative_unit_request_builder.go b/devices/item_transitive_member_of_graph_administrative_unit_request_builder.go index 6a9b076e9af..23380ea7e56 100644 --- a/devices/item_transitive_member_of_graph_administrative_unit_request_builder.go +++ b/devices/item_transitive_member_of_graph_administrative_unit_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) ToGetReque } 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 *ItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) { + return NewItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_transitive_member_of_graph_group_count_request_builder.go b/devices/item_transitive_member_of_graph_group_count_request_builder.go index 4ef17d4f18b..c20b93c6f52 100644 --- a/devices/item_transitive_member_of_graph_group_count_request_builder.go +++ b/devices/item_transitive_member_of_graph_group_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMemberOfGraphGroupCountRequestBuilder) ToGetRequestInform } 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 *ItemTransitiveMemberOfGraphGroupCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphGroupCountRequestBuilder) { + return NewItemTransitiveMemberOfGraphGroupCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_transitive_member_of_graph_group_request_builder.go b/devices/item_transitive_member_of_graph_group_request_builder.go index fc00d5a9dbb..10bc7d7e1ba 100644 --- a/devices/item_transitive_member_of_graph_group_request_builder.go +++ b/devices/item_transitive_member_of_graph_group_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemTransitiveMemberOfGraphGroupRequestBuilder) 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 *ItemTransitiveMemberOfGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphGroupRequestBuilder) { + return NewItemTransitiveMemberOfGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_transitive_member_of_item_graph_administrative_unit_request_builder.go b/devices/item_transitive_member_of_item_graph_administrative_unit_request_builder.go index 9b9eb4afa67..4f273eda156 100644 --- a/devices/item_transitive_member_of_item_graph_administrative_unit_request_builder.go +++ b/devices/item_transitive_member_of_item_graph_administrative_unit_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder) ToGetR } 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 *ItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder) { + return NewItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_transitive_member_of_item_graph_group_request_builder.go b/devices/item_transitive_member_of_item_graph_group_request_builder.go index ac0c2f42b1c..257e6766185 100644 --- a/devices/item_transitive_member_of_item_graph_group_request_builder.go +++ b/devices/item_transitive_member_of_item_graph_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTransitiveMemberOfItemGraphGroupRequestBuilder) ToGetRequestInforma } 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 *ItemTransitiveMemberOfItemGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfItemGraphGroupRequestBuilder) { + return NewItemTransitiveMemberOfItemGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_transitive_member_of_request_builder.go b/devices/item_transitive_member_of_request_builder.go index 3b423ab534c..ce60736fea7 100644 --- a/devices/item_transitive_member_of_request_builder.go +++ b/devices/item_transitive_member_of_request_builder.go @@ -39,8 +39,8 @@ type ItemTransitiveMemberOfRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemTransitiveMemberOfRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the transitiveMemberOf property of the microsoft.graph.device entity. -func (m *ItemTransitiveMemberOfRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the transitiveMemberOf property of the microsoft.graph.device entity. +func (m *ItemTransitiveMemberOfRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -113,3 +113,7 @@ func (m *ItemTransitiveMemberOfRequestBuilder) ToGetRequestInformation(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 *ItemTransitiveMemberOfRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfRequestBuilder) { + return NewItemTransitiveMemberOfRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_usage_rights_count_request_builder.go b/devices/item_usage_rights_count_request_builder.go index adf749e0f37..70603cce834 100644 --- a/devices/item_usage_rights_count_request_builder.go +++ b/devices/item_usage_rights_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemUsageRightsCountRequestBuilder) ToGetRequestInformation(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 *ItemUsageRightsCountRequestBuilder) WithUrl(rawUrl string)(*ItemUsageRightsCountRequestBuilder) { + return NewItemUsageRightsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_usage_rights_request_builder.go b/devices/item_usage_rights_request_builder.go index 53865b22acd..e8b806fe533 100644 --- a/devices/item_usage_rights_request_builder.go +++ b/devices/item_usage_rights_request_builder.go @@ -46,8 +46,8 @@ type ItemUsageRightsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUsageRightIdString provides operations to manage the usageRights property of the microsoft.graph.device entity. -func (m *ItemUsageRightsRequestBuilder) ByUsageRightIdString(usageRightId string)(*ItemUsageRightsUsageRightItemRequestBuilder) { +// ByUsageRightId provides operations to manage the usageRights property of the microsoft.graph.device entity. +func (m *ItemUsageRightsRequestBuilder) ByUsageRightId(usageRightId string)(*ItemUsageRightsUsageRightItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemUsageRightsRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *ItemUsageRightsRequestBuilder) WithUrl(rawUrl string)(*ItemUsageRightsRequestBuilder) { + return NewItemUsageRightsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_usage_rights_usage_right_item_request_builder.go b/devices/item_usage_rights_usage_right_item_request_builder.go index c200eba2a01..df4606feca6 100644 --- a/devices/item_usage_rights_usage_right_item_request_builder.go +++ b/devices/item_usage_rights_usage_right_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemUsageRightsUsageRightItemRequestBuilder) 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 *ItemUsageRightsUsageRightItemRequestBuilder) WithUrl(rawUrl string)(*ItemUsageRightsUsageRightItemRequestBuilder) { + return NewItemUsageRightsUsageRightItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/validate_properties_request_builder.go b/devices/validate_properties_request_builder.go index 89258fbb3e8..849efbf9b7a 100644 --- a/devices/validate_properties_request_builder.go +++ b/devices/validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ValidatePropertiesRequestBuilder) 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 *ValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ValidatePropertiesRequestBuilder) { + return NewValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceswithdeviceid/devices_with_device_id_request_builder.go b/deviceswithdeviceid/devices_with_device_id_request_builder.go index 7f56097875e..3e83e0d2dad 100644 --- a/deviceswithdeviceid/devices_with_device_id_request_builder.go +++ b/deviceswithdeviceid/devices_with_device_id_request_builder.go @@ -165,3 +165,7 @@ func (m *DevicesWithDeviceIdRequestBuilder) ToPatchRequestInformation(ctx contex } 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 *DevicesWithDeviceIdRequestBuilder) WithUrl(rawUrl string)(*DevicesWithDeviceIdRequestBuilder) { + return NewDevicesWithDeviceIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_administrative_unit_item_request_builder.go b/directory/administrative_units_administrative_unit_item_request_builder.go index bc296b94f35..a2de880f9b8 100644 --- a/directory/administrative_units_administrative_unit_item_request_builder.go +++ b/directory/administrative_units_administrative_unit_item_request_builder.go @@ -185,3 +185,7 @@ func (m *AdministrativeUnitsAdministrativeUnitItemRequestBuilder) ToPatchRequest } 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 *AdministrativeUnitsAdministrativeUnitItemRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsAdministrativeUnitItemRequestBuilder) { + return NewAdministrativeUnitsAdministrativeUnitItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_count_request_builder.go b/directory/administrative_units_count_request_builder.go index 8470c2197d2..cca6c30f267 100644 --- a/directory/administrative_units_count_request_builder.go +++ b/directory/administrative_units_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AdministrativeUnitsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *AdministrativeUnitsCountRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsCountRequestBuilder) { + return NewAdministrativeUnitsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_delta_request_builder.go b/directory/administrative_units_delta_request_builder.go index 25371ea4f29..e3a778a6a03 100644 --- a/directory/administrative_units_delta_request_builder.go +++ b/directory/administrative_units_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *AdministrativeUnitsDeltaRequestBuilder) ToGetRequestInformation(ctx con } 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 *AdministrativeUnitsDeltaRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsDeltaRequestBuilder) { + return NewAdministrativeUnitsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_get_by_ids_request_builder.go b/directory/administrative_units_get_by_ids_request_builder.go index 9ede11669b0..095b31b4efe 100644 --- a/directory/administrative_units_get_by_ids_request_builder.go +++ b/directory/administrative_units_get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *AdministrativeUnitsGetByIdsRequestBuilder) 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 *AdministrativeUnitsGetByIdsRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsGetByIdsRequestBuilder) { + return NewAdministrativeUnitsGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_get_user_owned_objects_request_builder.go b/directory/administrative_units_get_user_owned_objects_request_builder.go index 5a29e3d9542..612f1ff1d19 100644 --- a/directory/administrative_units_get_user_owned_objects_request_builder.go +++ b/directory/administrative_units_get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *AdministrativeUnitsGetUserOwnedObjectsRequestBuilder) ToPostRequestInfo } 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 *AdministrativeUnitsGetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsGetUserOwnedObjectsRequestBuilder) { + return NewAdministrativeUnitsGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_check_member_groups_request_builder.go b/directory/administrative_units_item_check_member_groups_request_builder.go index b7605330d45..57c60f7c59d 100644 --- a/directory/administrative_units_item_check_member_groups_request_builder.go +++ b/directory/administrative_units_item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *AdministrativeUnitsItemCheckMemberGroupsRequestBuilder) ToPostRequestIn } 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 *AdministrativeUnitsItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemCheckMemberGroupsRequestBuilder) { + return NewAdministrativeUnitsItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_check_member_objects_request_builder.go b/directory/administrative_units_item_check_member_objects_request_builder.go index 3d3e7c56d44..0ff523c8c69 100644 --- a/directory/administrative_units_item_check_member_objects_request_builder.go +++ b/directory/administrative_units_item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *AdministrativeUnitsItemCheckMemberObjectsRequestBuilder) ToPostRequestI } 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 *AdministrativeUnitsItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemCheckMemberObjectsRequestBuilder) { + return NewAdministrativeUnitsItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_extensions_count_request_builder.go b/directory/administrative_units_item_extensions_count_request_builder.go index 3b13fa812e3..ac10ecc7e9d 100644 --- a/directory/administrative_units_item_extensions_count_request_builder.go +++ b/directory/administrative_units_item_extensions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AdministrativeUnitsItemExtensionsCountRequestBuilder) ToGetRequestInfor } 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 *AdministrativeUnitsItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemExtensionsCountRequestBuilder) { + return NewAdministrativeUnitsItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_extensions_extension_item_request_builder.go b/directory/administrative_units_item_extensions_extension_item_request_builder.go index 49996709f73..f775a5ffe64 100644 --- a/directory/administrative_units_item_extensions_extension_item_request_builder.go +++ b/directory/administrative_units_item_extensions_extension_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AdministrativeUnitsItemExtensionsExtensionItemRequestBuilder) ToPatchRe } 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 *AdministrativeUnitsItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemExtensionsExtensionItemRequestBuilder) { + return NewAdministrativeUnitsItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_extensions_request_builder.go b/directory/administrative_units_item_extensions_request_builder.go index da90bdfbff8..c55a1e7fec0 100644 --- a/directory/administrative_units_item_extensions_request_builder.go +++ b/directory/administrative_units_item_extensions_request_builder.go @@ -46,8 +46,8 @@ type AdministrativeUnitsItemExtensionsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.administrativeUnit entity. -func (m *AdministrativeUnitsItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*AdministrativeUnitsItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.administrativeUnit entity. +func (m *AdministrativeUnitsItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*AdministrativeUnitsItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AdministrativeUnitsItemExtensionsRequestBuilder) ToPostRequestInformati } 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 *AdministrativeUnitsItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemExtensionsRequestBuilder) { + return NewAdministrativeUnitsItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_get_member_groups_request_builder.go b/directory/administrative_units_item_get_member_groups_request_builder.go index ee8894673ce..63a9057a389 100644 --- a/directory/administrative_units_item_get_member_groups_request_builder.go +++ b/directory/administrative_units_item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *AdministrativeUnitsItemGetMemberGroupsRequestBuilder) ToPostRequestInfo } 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 *AdministrativeUnitsItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemGetMemberGroupsRequestBuilder) { + return NewAdministrativeUnitsItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_get_member_objects_request_builder.go b/directory/administrative_units_item_get_member_objects_request_builder.go index 9ee34b99b30..3fcc13e3f41 100644 --- a/directory/administrative_units_item_get_member_objects_request_builder.go +++ b/directory/administrative_units_item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *AdministrativeUnitsItemGetMemberObjectsRequestBuilder) ToPostRequestInf } 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 *AdministrativeUnitsItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemGetMemberObjectsRequestBuilder) { + return NewAdministrativeUnitsItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_members_count_request_builder.go b/directory/administrative_units_item_members_count_request_builder.go index ee4e753bca3..96682bed4c3 100644 --- a/directory/administrative_units_item_members_count_request_builder.go +++ b/directory/administrative_units_item_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AdministrativeUnitsItemMembersCountRequestBuilder) ToGetRequestInformat } 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 *AdministrativeUnitsItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemMembersCountRequestBuilder) { + return NewAdministrativeUnitsItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_members_graph_application_count_request_builder.go b/directory/administrative_units_item_members_graph_application_count_request_builder.go index 8c82b09e039..4921c6f26dc 100644 --- a/directory/administrative_units_item_members_graph_application_count_request_builder.go +++ b/directory/administrative_units_item_members_graph_application_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AdministrativeUnitsItemMembersGraphApplicationCountRequestBuilder) ToGe } 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 *AdministrativeUnitsItemMembersGraphApplicationCountRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemMembersGraphApplicationCountRequestBuilder) { + return NewAdministrativeUnitsItemMembersGraphApplicationCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_members_graph_application_request_builder.go b/directory/administrative_units_item_members_graph_application_request_builder.go index 9e985c49174..447a4a9b515 100644 --- a/directory/administrative_units_item_members_graph_application_request_builder.go +++ b/directory/administrative_units_item_members_graph_application_request_builder.go @@ -91,3 +91,7 @@ func (m *AdministrativeUnitsItemMembersGraphApplicationRequestBuilder) ToGetRequ } 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 *AdministrativeUnitsItemMembersGraphApplicationRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemMembersGraphApplicationRequestBuilder) { + return NewAdministrativeUnitsItemMembersGraphApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_members_graph_device_count_request_builder.go b/directory/administrative_units_item_members_graph_device_count_request_builder.go index 9d3a89e57fd..de7cc799151 100644 --- a/directory/administrative_units_item_members_graph_device_count_request_builder.go +++ b/directory/administrative_units_item_members_graph_device_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AdministrativeUnitsItemMembersGraphDeviceCountRequestBuilder) ToGetRequ } 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 *AdministrativeUnitsItemMembersGraphDeviceCountRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemMembersGraphDeviceCountRequestBuilder) { + return NewAdministrativeUnitsItemMembersGraphDeviceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_members_graph_device_request_builder.go b/directory/administrative_units_item_members_graph_device_request_builder.go index f6e04770b90..619b6d04aed 100644 --- a/directory/administrative_units_item_members_graph_device_request_builder.go +++ b/directory/administrative_units_item_members_graph_device_request_builder.go @@ -91,3 +91,7 @@ func (m *AdministrativeUnitsItemMembersGraphDeviceRequestBuilder) ToGetRequestIn } 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 *AdministrativeUnitsItemMembersGraphDeviceRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemMembersGraphDeviceRequestBuilder) { + return NewAdministrativeUnitsItemMembersGraphDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_members_graph_group_count_request_builder.go b/directory/administrative_units_item_members_graph_group_count_request_builder.go index 0105c945a3f..5251568cdf0 100644 --- a/directory/administrative_units_item_members_graph_group_count_request_builder.go +++ b/directory/administrative_units_item_members_graph_group_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AdministrativeUnitsItemMembersGraphGroupCountRequestBuilder) ToGetReque } 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 *AdministrativeUnitsItemMembersGraphGroupCountRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemMembersGraphGroupCountRequestBuilder) { + return NewAdministrativeUnitsItemMembersGraphGroupCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_members_graph_group_request_builder.go b/directory/administrative_units_item_members_graph_group_request_builder.go index b49fb22e8ca..3e66e81a077 100644 --- a/directory/administrative_units_item_members_graph_group_request_builder.go +++ b/directory/administrative_units_item_members_graph_group_request_builder.go @@ -91,3 +91,7 @@ func (m *AdministrativeUnitsItemMembersGraphGroupRequestBuilder) ToGetRequestInf } 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 *AdministrativeUnitsItemMembersGraphGroupRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemMembersGraphGroupRequestBuilder) { + return NewAdministrativeUnitsItemMembersGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_members_graph_org_contact_count_request_builder.go b/directory/administrative_units_item_members_graph_org_contact_count_request_builder.go index 4202abac747..e023bf8b76c 100644 --- a/directory/administrative_units_item_members_graph_org_contact_count_request_builder.go +++ b/directory/administrative_units_item_members_graph_org_contact_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AdministrativeUnitsItemMembersGraphOrgContactCountRequestBuilder) ToGet } 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 *AdministrativeUnitsItemMembersGraphOrgContactCountRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemMembersGraphOrgContactCountRequestBuilder) { + return NewAdministrativeUnitsItemMembersGraphOrgContactCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_members_graph_org_contact_request_builder.go b/directory/administrative_units_item_members_graph_org_contact_request_builder.go index b34b648a12d..307c92e8c2b 100644 --- a/directory/administrative_units_item_members_graph_org_contact_request_builder.go +++ b/directory/administrative_units_item_members_graph_org_contact_request_builder.go @@ -91,3 +91,7 @@ func (m *AdministrativeUnitsItemMembersGraphOrgContactRequestBuilder) ToGetReque } 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 *AdministrativeUnitsItemMembersGraphOrgContactRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemMembersGraphOrgContactRequestBuilder) { + return NewAdministrativeUnitsItemMembersGraphOrgContactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_members_graph_service_principal_count_request_builder.go b/directory/administrative_units_item_members_graph_service_principal_count_request_builder.go index 54c57aabb68..b97ec13930a 100644 --- a/directory/administrative_units_item_members_graph_service_principal_count_request_builder.go +++ b/directory/administrative_units_item_members_graph_service_principal_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AdministrativeUnitsItemMembersGraphServicePrincipalCountRequestBuilder) } 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 *AdministrativeUnitsItemMembersGraphServicePrincipalCountRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemMembersGraphServicePrincipalCountRequestBuilder) { + return NewAdministrativeUnitsItemMembersGraphServicePrincipalCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_members_graph_service_principal_request_builder.go b/directory/administrative_units_item_members_graph_service_principal_request_builder.go index 2f994dad1f0..6d26aec4681 100644 --- a/directory/administrative_units_item_members_graph_service_principal_request_builder.go +++ b/directory/administrative_units_item_members_graph_service_principal_request_builder.go @@ -91,3 +91,7 @@ func (m *AdministrativeUnitsItemMembersGraphServicePrincipalRequestBuilder) ToGe } 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 *AdministrativeUnitsItemMembersGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemMembersGraphServicePrincipalRequestBuilder) { + return NewAdministrativeUnitsItemMembersGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_members_graph_user_count_request_builder.go b/directory/administrative_units_item_members_graph_user_count_request_builder.go index 82b1301ad66..bc441052902 100644 --- a/directory/administrative_units_item_members_graph_user_count_request_builder.go +++ b/directory/administrative_units_item_members_graph_user_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AdministrativeUnitsItemMembersGraphUserCountRequestBuilder) ToGetReques } 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 *AdministrativeUnitsItemMembersGraphUserCountRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemMembersGraphUserCountRequestBuilder) { + return NewAdministrativeUnitsItemMembersGraphUserCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_members_graph_user_request_builder.go b/directory/administrative_units_item_members_graph_user_request_builder.go index 6a4ca76bd70..c5e30c26605 100644 --- a/directory/administrative_units_item_members_graph_user_request_builder.go +++ b/directory/administrative_units_item_members_graph_user_request_builder.go @@ -91,3 +91,7 @@ func (m *AdministrativeUnitsItemMembersGraphUserRequestBuilder) ToGetRequestInfo } 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 *AdministrativeUnitsItemMembersGraphUserRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemMembersGraphUserRequestBuilder) { + return NewAdministrativeUnitsItemMembersGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_members_item_graph_application_request_builder.go b/directory/administrative_units_item_members_item_graph_application_request_builder.go index c65b9ecd49c..4729bf51f21 100644 --- a/directory/administrative_units_item_members_item_graph_application_request_builder.go +++ b/directory/administrative_units_item_members_item_graph_application_request_builder.go @@ -75,3 +75,7 @@ func (m *AdministrativeUnitsItemMembersItemGraphApplicationRequestBuilder) ToGet } 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 *AdministrativeUnitsItemMembersItemGraphApplicationRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemMembersItemGraphApplicationRequestBuilder) { + return NewAdministrativeUnitsItemMembersItemGraphApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_members_item_graph_device_request_builder.go b/directory/administrative_units_item_members_item_graph_device_request_builder.go index 226737e8d45..0ba7a78076a 100644 --- a/directory/administrative_units_item_members_item_graph_device_request_builder.go +++ b/directory/administrative_units_item_members_item_graph_device_request_builder.go @@ -75,3 +75,7 @@ func (m *AdministrativeUnitsItemMembersItemGraphDeviceRequestBuilder) ToGetReque } 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 *AdministrativeUnitsItemMembersItemGraphDeviceRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemMembersItemGraphDeviceRequestBuilder) { + return NewAdministrativeUnitsItemMembersItemGraphDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_members_item_graph_group_request_builder.go b/directory/administrative_units_item_members_item_graph_group_request_builder.go index e4214d77536..f66fe899fb4 100644 --- a/directory/administrative_units_item_members_item_graph_group_request_builder.go +++ b/directory/administrative_units_item_members_item_graph_group_request_builder.go @@ -75,3 +75,7 @@ func (m *AdministrativeUnitsItemMembersItemGraphGroupRequestBuilder) ToGetReques } 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 *AdministrativeUnitsItemMembersItemGraphGroupRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemMembersItemGraphGroupRequestBuilder) { + return NewAdministrativeUnitsItemMembersItemGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_members_item_graph_org_contact_request_builder.go b/directory/administrative_units_item_members_item_graph_org_contact_request_builder.go index da2b6ad0e39..45c29820c4d 100644 --- a/directory/administrative_units_item_members_item_graph_org_contact_request_builder.go +++ b/directory/administrative_units_item_members_item_graph_org_contact_request_builder.go @@ -75,3 +75,7 @@ func (m *AdministrativeUnitsItemMembersItemGraphOrgContactRequestBuilder) ToGetR } 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 *AdministrativeUnitsItemMembersItemGraphOrgContactRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemMembersItemGraphOrgContactRequestBuilder) { + return NewAdministrativeUnitsItemMembersItemGraphOrgContactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_members_item_graph_service_principal_request_builder.go b/directory/administrative_units_item_members_item_graph_service_principal_request_builder.go index 27f0f4e828f..5b89dcbadb6 100644 --- a/directory/administrative_units_item_members_item_graph_service_principal_request_builder.go +++ b/directory/administrative_units_item_members_item_graph_service_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *AdministrativeUnitsItemMembersItemGraphServicePrincipalRequestBuilder) } 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 *AdministrativeUnitsItemMembersItemGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemMembersItemGraphServicePrincipalRequestBuilder) { + return NewAdministrativeUnitsItemMembersItemGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_members_item_graph_user_request_builder.go b/directory/administrative_units_item_members_item_graph_user_request_builder.go index c81c4c1919d..d082773c00a 100644 --- a/directory/administrative_units_item_members_item_graph_user_request_builder.go +++ b/directory/administrative_units_item_members_item_graph_user_request_builder.go @@ -75,3 +75,7 @@ func (m *AdministrativeUnitsItemMembersItemGraphUserRequestBuilder) ToGetRequest } 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 *AdministrativeUnitsItemMembersItemGraphUserRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemMembersItemGraphUserRequestBuilder) { + return NewAdministrativeUnitsItemMembersItemGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_members_item_ref_request_builder.go b/directory/administrative_units_item_members_item_ref_request_builder.go index 13830b9ffe5..b207583b3e4 100644 --- a/directory/administrative_units_item_members_item_ref_request_builder.go +++ b/directory/administrative_units_item_members_item_ref_request_builder.go @@ -68,3 +68,7 @@ func (m *AdministrativeUnitsItemMembersItemRefRequestBuilder) ToDeleteRequestInf } 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 *AdministrativeUnitsItemMembersItemRefRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemMembersItemRefRequestBuilder) { + return NewAdministrativeUnitsItemMembersItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_members_ref_request_builder.go b/directory/administrative_units_item_members_ref_request_builder.go index 7f591a79148..7321cc4a652 100644 --- a/directory/administrative_units_item_members_ref_request_builder.go +++ b/directory/administrative_units_item_members_ref_request_builder.go @@ -125,3 +125,7 @@ func (m *AdministrativeUnitsItemMembersRefRequestBuilder) ToPostRequestInformati } 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 *AdministrativeUnitsItemMembersRefRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemMembersRefRequestBuilder) { + return NewAdministrativeUnitsItemMembersRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_members_request_builder.go b/directory/administrative_units_item_members_request_builder.go index e0a4a55ce96..6dee25dfec9 100644 --- a/directory/administrative_units_item_members_request_builder.go +++ b/directory/administrative_units_item_members_request_builder.go @@ -46,8 +46,8 @@ type AdministrativeUnitsItemMembersRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDirectoryObjectIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.administrativeUnits.item.members.item collection -func (m *AdministrativeUnitsItemMembersRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*AdministrativeUnitsItemMembersDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.administrativeUnits.item.members.item collection +func (m *AdministrativeUnitsItemMembersRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*AdministrativeUnitsItemMembersDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -176,3 +176,7 @@ func (m *AdministrativeUnitsItemMembersRequestBuilder) 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 *AdministrativeUnitsItemMembersRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemMembersRequestBuilder) { + return NewAdministrativeUnitsItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_restore_request_builder.go b/directory/administrative_units_item_restore_request_builder.go index fa20f67ac1e..2dad7d42334 100644 --- a/directory/administrative_units_item_restore_request_builder.go +++ b/directory/administrative_units_item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *AdministrativeUnitsItemRestoreRequestBuilder) 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 *AdministrativeUnitsItemRestoreRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemRestoreRequestBuilder) { + return NewAdministrativeUnitsItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_scoped_role_members_count_request_builder.go b/directory/administrative_units_item_scoped_role_members_count_request_builder.go index 1bd4daaf309..a5af4791ca3 100644 --- a/directory/administrative_units_item_scoped_role_members_count_request_builder.go +++ b/directory/administrative_units_item_scoped_role_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AdministrativeUnitsItemScopedRoleMembersCountRequestBuilder) ToGetReque } 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 *AdministrativeUnitsItemScopedRoleMembersCountRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemScopedRoleMembersCountRequestBuilder) { + return NewAdministrativeUnitsItemScopedRoleMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_scoped_role_members_request_builder.go b/directory/administrative_units_item_scoped_role_members_request_builder.go index 70b4ec52176..27f5d4a0f6f 100644 --- a/directory/administrative_units_item_scoped_role_members_request_builder.go +++ b/directory/administrative_units_item_scoped_role_members_request_builder.go @@ -46,8 +46,8 @@ type AdministrativeUnitsItemScopedRoleMembersRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByScopedRoleMembershipIdString provides operations to manage the scopedRoleMembers property of the microsoft.graph.administrativeUnit entity. -func (m *AdministrativeUnitsItemScopedRoleMembersRequestBuilder) ByScopedRoleMembershipIdString(scopedRoleMembershipId string)(*AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) { +// ByScopedRoleMembershipId provides operations to manage the scopedRoleMembers property of the microsoft.graph.administrativeUnit entity. +func (m *AdministrativeUnitsItemScopedRoleMembersRequestBuilder) ByScopedRoleMembershipId(scopedRoleMembershipId string)(*AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *AdministrativeUnitsItemScopedRoleMembersRequestBuilder) ToPostRequestIn } 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 *AdministrativeUnitsItemScopedRoleMembersRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemScopedRoleMembersRequestBuilder) { + return NewAdministrativeUnitsItemScopedRoleMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_item_scoped_role_members_scoped_role_membership_item_request_builder.go b/directory/administrative_units_item_scoped_role_members_scoped_role_membership_item_request_builder.go index 5dee8a04020..fc90022f09f 100644 --- a/directory/administrative_units_item_scoped_role_members_scoped_role_membership_item_request_builder.go +++ b/directory/administrative_units_item_scoped_role_members_scoped_role_membership_item_request_builder.go @@ -159,3 +159,7 @@ func (m *AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequest } 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 *AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) { + return NewAdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_request_builder.go b/directory/administrative_units_request_builder.go index c7bfe7f624a..72a4aee4fc9 100644 --- a/directory/administrative_units_request_builder.go +++ b/directory/administrative_units_request_builder.go @@ -46,8 +46,8 @@ type AdministrativeUnitsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAdministrativeUnitIdString provides operations to manage the administrativeUnits property of the microsoft.graph.directory entity. -func (m *AdministrativeUnitsRequestBuilder) ByAdministrativeUnitIdString(administrativeUnitId string)(*AdministrativeUnitsAdministrativeUnitItemRequestBuilder) { +// ByAdministrativeUnitId provides operations to manage the administrativeUnits property of the microsoft.graph.directory entity. +func (m *AdministrativeUnitsRequestBuilder) ByAdministrativeUnitId(administrativeUnitId string)(*AdministrativeUnitsAdministrativeUnitItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -161,3 +161,7 @@ func (m *AdministrativeUnitsRequestBuilder) ToPostRequestInformation(ctx context func (m *AdministrativeUnitsRequestBuilder) ValidateProperties()(*AdministrativeUnitsValidatePropertiesRequestBuilder) { return NewAdministrativeUnitsValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *AdministrativeUnitsRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsRequestBuilder) { + return NewAdministrativeUnitsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/administrative_units_validate_properties_request_builder.go b/directory/administrative_units_validate_properties_request_builder.go index ca547157fc9..ec39042f1bf 100644 --- a/directory/administrative_units_validate_properties_request_builder.go +++ b/directory/administrative_units_validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *AdministrativeUnitsValidatePropertiesRequestBuilder) ToPostRequestInfor } 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 *AdministrativeUnitsValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*AdministrativeUnitsValidatePropertiesRequestBuilder) { + return NewAdministrativeUnitsValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/attribute_sets_attribute_set_item_request_builder.go b/directory/attribute_sets_attribute_set_item_request_builder.go index cf96e2d154a..9cb30d57c36 100644 --- a/directory/attribute_sets_attribute_set_item_request_builder.go +++ b/directory/attribute_sets_attribute_set_item_request_builder.go @@ -159,3 +159,7 @@ func (m *AttributeSetsAttributeSetItemRequestBuilder) 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 *AttributeSetsAttributeSetItemRequestBuilder) WithUrl(rawUrl string)(*AttributeSetsAttributeSetItemRequestBuilder) { + return NewAttributeSetsAttributeSetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/attribute_sets_count_request_builder.go b/directory/attribute_sets_count_request_builder.go index 47d24894cf3..57ea420dfd7 100644 --- a/directory/attribute_sets_count_request_builder.go +++ b/directory/attribute_sets_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AttributeSetsCountRequestBuilder) 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 *AttributeSetsCountRequestBuilder) WithUrl(rawUrl string)(*AttributeSetsCountRequestBuilder) { + return NewAttributeSetsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/attribute_sets_request_builder.go b/directory/attribute_sets_request_builder.go index bb7d63f8521..47f7c0dd36f 100644 --- a/directory/attribute_sets_request_builder.go +++ b/directory/attribute_sets_request_builder.go @@ -46,8 +46,8 @@ type AttributeSetsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttributeSetIdString provides operations to manage the attributeSets property of the microsoft.graph.directory entity. -func (m *AttributeSetsRequestBuilder) ByAttributeSetIdString(attributeSetId string)(*AttributeSetsAttributeSetItemRequestBuilder) { +// ByAttributeSetId provides operations to manage the attributeSets property of the microsoft.graph.directory entity. +func (m *AttributeSetsRequestBuilder) ByAttributeSetId(attributeSetId string)(*AttributeSetsAttributeSetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *AttributeSetsRequestBuilder) 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 *AttributeSetsRequestBuilder) WithUrl(rawUrl string)(*AttributeSetsRequestBuilder) { + return NewAttributeSetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/certificate_authorities_certificate_based_application_configurations_certificate_based_application_configuration_item_request_builder.go b/directory/certificate_authorities_certificate_based_application_configurations_certificate_based_application_configuration_item_request_builder.go index a95d241b012..e164ef24ce7 100644 --- a/directory/certificate_authorities_certificate_based_application_configurations_certificate_based_application_configuration_item_request_builder.go +++ b/directory/certificate_authorities_certificate_based_application_configurations_certificate_based_application_configuration_item_request_builder.go @@ -18,7 +18,7 @@ type CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetQueryParameters get certificateBasedApplicationConfigurations from directory +// CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetQueryParameters read the properties and relationships of a certificateBasedApplicationConfiguration object. type CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,7 +54,10 @@ func NewCertificateAuthoritiesCertificateBasedApplicationConfigurationsCertifica urlParams["request-raw-url"] = rawUrl return NewCertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property certificateBasedApplicationConfigurations for directory +// Delete delete the properties and relationships of a certificateBasedApplicationConfiguration object. +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/certificatebasedapplicationconfiguration-delete?view=graph-rest-1.0 func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -70,7 +73,10 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertific } return nil } -// Get get certificateBasedApplicationConfigurations from directory +// Get read the properties and relationships of a certificateBasedApplicationConfiguration object. +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/certificatebasedapplicationconfiguration-get?view=graph-rest-1.0 func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +95,10 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertific } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable), nil } -// Patch update the navigation property certificateBasedApplicationConfigurations in directory +// Patch update the properties of a certificateBasedApplicationConfiguration object. To update the trustedCertificateAuthorities within a certificateBasedApplicationConfiguration object, use the Update certificateAuthorityAsEntity operation. +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/certificatebasedapplicationconfiguration-update?view=graph-rest-1.0 func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable, requestConfiguration *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -108,7 +117,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertific } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable), nil } -// ToDeleteRequestInformation delete navigation property certificateBasedApplicationConfigurations for directory +// ToDeleteRequestInformation delete the properties and relationships of a certificateBasedApplicationConfiguration object. func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -120,7 +129,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertific } return requestInfo, nil } -// ToGetRequestInformation get certificateBasedApplicationConfigurations from directory +// ToGetRequestInformation read the properties and relationships of a certificateBasedApplicationConfiguration object. func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -136,7 +145,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertific } return requestInfo, nil } -// ToPatchRequestInformation update the navigation property certificateBasedApplicationConfigurations in directory +// ToPatchRequestInformation update the properties of a certificateBasedApplicationConfiguration object. To update the trustedCertificateAuthorities within a certificateBasedApplicationConfiguration object, use the Update certificateAuthorityAsEntity operation. func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable, requestConfiguration *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -157,3 +166,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertific func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) TrustedCertificateAuthorities()(*CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder) { return NewCertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) { + return NewCertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/certificate_authorities_certificate_based_application_configurations_count_request_builder.go b/directory/certificate_authorities_certificate_based_application_configurations_count_request_builder.go index e11027d1619..4115fc14db7 100644 --- a/directory/certificate_authorities_certificate_based_application_configurations_count_request_builder.go +++ b/directory/certificate_authorities_certificate_based_application_configurations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCountReq } 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 *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*CertificateAuthoritiesCertificateBasedApplicationConfigurationsCountRequestBuilder) { + return NewCertificateAuthoritiesCertificateBasedApplicationConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/certificate_authorities_certificate_based_application_configurations_item_trusted_certificate_authorities_certificate_authority_as_entity_item_request_builder.go b/directory/certificate_authorities_certificate_based_application_configurations_item_trusted_certificate_authorities_certificate_authority_as_entity_item_request_builder.go index 18de281ba1e..9c90c741fc9 100644 --- a/directory/certificate_authorities_certificate_based_application_configurations_item_trusted_certificate_authorities_certificate_authority_as_entity_item_request_builder.go +++ b/directory/certificate_authorities_certificate_based_application_configurations_item_trusted_certificate_authorities_certificate_authority_as_entity_item_request_builder.go @@ -18,7 +18,7 @@ type CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderGetQueryParameters get trustedCertificateAuthorities from directory +// CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderGetQueryParameters collection of trusted certificate authorities. type CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrus } return nil } -// Get get trustedCertificateAuthorities from directory +// Get collection of trusted certificate authorities. func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -120,7 +120,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrus } return requestInfo, nil } -// ToGetRequestInformation get trustedCertificateAuthorities from directory +// ToGetRequestInformation collection of trusted certificate authorities. func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrus } 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 *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder) WithUrl(rawUrl string)(*CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder) { + return NewCertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/certificate_authorities_certificate_based_application_configurations_item_trusted_certificate_authorities_count_request_builder.go b/directory/certificate_authorities_certificate_based_application_configurations_item_trusted_certificate_authorities_count_request_builder.go index 7e734de0e70..ce161bb5ff1 100644 --- a/directory/certificate_authorities_certificate_based_application_configurations_item_trusted_certificate_authorities_count_request_builder.go +++ b/directory/certificate_authorities_certificate_based_application_configurations_item_trusted_certificate_authorities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrus } 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 *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder) WithUrl(rawUrl string)(*CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder) { + return NewCertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/certificate_authorities_certificate_based_application_configurations_item_trusted_certificate_authorities_request_builder.go b/directory/certificate_authorities_certificate_based_application_configurations_item_trusted_certificate_authorities_request_builder.go index 705835009ce..e67dcd8cf43 100644 --- a/directory/certificate_authorities_certificate_based_application_configurations_item_trusted_certificate_authorities_request_builder.go +++ b/directory/certificate_authorities_certificate_based_application_configurations_item_trusted_certificate_authorities_request_builder.go @@ -11,7 +11,7 @@ import ( type CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetQueryParameters get trustedCertificateAuthorities from directory +// CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetQueryParameters collection of trusted certificate authorities. type CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCertificateAuthorityAsEntityIdString provides operations to manage the trustedCertificateAuthorities property of the microsoft.graph.trustedCertificateAuthorityAsEntityBase entity. -func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder) ByCertificateAuthorityAsEntityIdString(certificateAuthorityAsEntityId string)(*CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder) { +// ByCertificateAuthorityAsEntityId provides operations to manage the trustedCertificateAuthorities property of the microsoft.graph.trustedCertificateAuthorityAsEntityBase entity. +func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder) ByCertificateAuthorityAsEntityId(certificateAuthorityAsEntityId string)(*CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,7 +74,7 @@ func NewCertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrust func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder) Count()(*CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder) { return NewCertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get trustedCertificateAuthorities from directory +// Get collection of trusted certificate authorities. func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder) Get(ctx context.Context, requestConfiguration *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +112,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrus } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityable), nil } -// ToGetRequestInformation get trustedCertificateAuthorities from directory +// ToGetRequestInformation collection of trusted certificate authorities. func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -145,3 +145,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrus } 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 *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder) WithUrl(rawUrl string)(*CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder) { + return NewCertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/certificate_authorities_certificate_based_application_configurations_request_builder.go b/directory/certificate_authorities_certificate_based_application_configurations_request_builder.go index 011e06ff618..c0cbbb9687d 100644 --- a/directory/certificate_authorities_certificate_based_application_configurations_request_builder.go +++ b/directory/certificate_authorities_certificate_based_application_configurations_request_builder.go @@ -11,7 +11,7 @@ import ( type CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters get certificateBasedApplicationConfigurations from directory +// CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters get a list of certificateBasedApplicationConfiguration objects. type CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCertificateBasedApplicationConfigurationIdString provides operations to manage the certificateBasedApplicationConfigurations property of the microsoft.graph.certificateAuthorityPath entity. -func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilder) ByCertificateBasedApplicationConfigurationIdString(certificateBasedApplicationConfigurationId string)(*CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) { +// ByCertificateBasedApplicationConfigurationId provides operations to manage the certificateBasedApplicationConfigurations property of the microsoft.graph.certificateAuthorityPath entity. +func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilder) ByCertificateBasedApplicationConfigurationId(certificateBasedApplicationConfigurationId string)(*CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,7 +74,10 @@ func NewCertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBu func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilder) Count()(*CertificateAuthoritiesCertificateBasedApplicationConfigurationsCountRequestBuilder) { return NewCertificateAuthoritiesCertificateBasedApplicationConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get certificateBasedApplicationConfigurations from directory +// Get get a list of certificateBasedApplicationConfiguration objects. +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/certificateauthoritypath-list-certificatebasedapplicationconfigurations?view=graph-rest-1.0 func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +115,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable), nil } -// ToGetRequestInformation get certificateBasedApplicationConfigurations from directory +// ToGetRequestInformation get a list of certificateBasedApplicationConfiguration objects. func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -145,3 +148,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestB } 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 *CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilder) WithUrl(rawUrl string)(*CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilder) { + return NewCertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/certificate_authorities_request_builder.go b/directory/certificate_authorities_request_builder.go index 20ab94231a3..9ba4dd5140d 100644 --- a/directory/certificate_authorities_request_builder.go +++ b/directory/certificate_authorities_request_builder.go @@ -157,3 +157,7 @@ func (m *CertificateAuthoritiesRequestBuilder) ToPatchRequestInformation(ctx con } 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 *CertificateAuthoritiesRequestBuilder) WithUrl(rawUrl string)(*CertificateAuthoritiesRequestBuilder) { + return NewCertificateAuthoritiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/custom_security_attribute_definitions_count_request_builder.go b/directory/custom_security_attribute_definitions_count_request_builder.go index 864a77d2909..29f337b5ae6 100644 --- a/directory/custom_security_attribute_definitions_count_request_builder.go +++ b/directory/custom_security_attribute_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CustomSecurityAttributeDefinitionsCountRequestBuilder) ToGetRequestInfo } 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 *CustomSecurityAttributeDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*CustomSecurityAttributeDefinitionsCountRequestBuilder) { + return NewCustomSecurityAttributeDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/custom_security_attribute_definitions_custom_security_attribute_definition_item_request_builder.go b/directory/custom_security_attribute_definitions_custom_security_attribute_definition_item_request_builder.go index 5cdc7e8c253..f31d839d406 100644 --- a/directory/custom_security_attribute_definitions_custom_security_attribute_definition_item_request_builder.go +++ b/directory/custom_security_attribute_definitions_custom_security_attribute_definition_item_request_builder.go @@ -163,3 +163,7 @@ func (m *CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItem } 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 *CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItemRequestBuilder) { + return NewCustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/custom_security_attribute_definitions_item_allowed_values_allowed_value_item_request_builder.go b/directory/custom_security_attribute_definitions_item_allowed_values_allowed_value_item_request_builder.go index 23878501fa3..c3b44110cc2 100644 --- a/directory/custom_security_attribute_definitions_item_allowed_values_allowed_value_item_request_builder.go +++ b/directory/custom_security_attribute_definitions_item_allowed_values_allowed_value_item_request_builder.go @@ -159,3 +159,7 @@ func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequ } 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 *CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequestBuilder) WithUrl(rawUrl string)(*CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequestBuilder) { + return NewCustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/custom_security_attribute_definitions_item_allowed_values_count_request_builder.go b/directory/custom_security_attribute_definitions_item_allowed_values_count_request_builder.go index fa3efe0851a..a0d4358d25c 100644 --- a/directory/custom_security_attribute_definitions_item_allowed_values_count_request_builder.go +++ b/directory/custom_security_attribute_definitions_item_allowed_values_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesCountRequestBuilder) } 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 *CustomSecurityAttributeDefinitionsItemAllowedValuesCountRequestBuilder) WithUrl(rawUrl string)(*CustomSecurityAttributeDefinitionsItemAllowedValuesCountRequestBuilder) { + return NewCustomSecurityAttributeDefinitionsItemAllowedValuesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/custom_security_attribute_definitions_item_allowed_values_request_builder.go b/directory/custom_security_attribute_definitions_item_allowed_values_request_builder.go index edb05f457a7..925bf70abd6 100644 --- a/directory/custom_security_attribute_definitions_item_allowed_values_request_builder.go +++ b/directory/custom_security_attribute_definitions_item_allowed_values_request_builder.go @@ -46,8 +46,8 @@ type CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAllowedValueIdString provides operations to manage the allowedValues property of the microsoft.graph.customSecurityAttributeDefinition entity. -func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilder) ByAllowedValueIdString(allowedValueId string)(*CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequestBuilder) { +// ByAllowedValueId provides operations to manage the allowedValues property of the microsoft.graph.customSecurityAttributeDefinition entity. +func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilder) ByAllowedValueId(allowedValueId string)(*CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilder) ToPo } 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 *CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilder) WithUrl(rawUrl string)(*CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilder) { + return NewCustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/custom_security_attribute_definitions_request_builder.go b/directory/custom_security_attribute_definitions_request_builder.go index db7922e3877..57ebd63b6e1 100644 --- a/directory/custom_security_attribute_definitions_request_builder.go +++ b/directory/custom_security_attribute_definitions_request_builder.go @@ -46,8 +46,8 @@ type CustomSecurityAttributeDefinitionsRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCustomSecurityAttributeDefinitionIdString provides operations to manage the customSecurityAttributeDefinitions property of the microsoft.graph.directory entity. -func (m *CustomSecurityAttributeDefinitionsRequestBuilder) ByCustomSecurityAttributeDefinitionIdString(customSecurityAttributeDefinitionId string)(*CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItemRequestBuilder) { +// ByCustomSecurityAttributeDefinitionId provides operations to manage the customSecurityAttributeDefinitions property of the microsoft.graph.directory entity. +func (m *CustomSecurityAttributeDefinitionsRequestBuilder) ByCustomSecurityAttributeDefinitionId(customSecurityAttributeDefinitionId string)(*CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *CustomSecurityAttributeDefinitionsRequestBuilder) ToPostRequestInformat } 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 *CustomSecurityAttributeDefinitionsRequestBuilder) WithUrl(rawUrl string)(*CustomSecurityAttributeDefinitionsRequestBuilder) { + return NewCustomSecurityAttributeDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_count_request_builder.go b/directory/deleted_items_count_request_builder.go index 2be0a35a1b4..2426cdd172b 100644 --- a/directory/deleted_items_count_request_builder.go +++ b/directory/deleted_items_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeletedItemsCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *DeletedItemsCountRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsCountRequestBuilder) { + return NewDeletedItemsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_delta_request_builder.go b/directory/deleted_items_delta_request_builder.go index 17c40d39e18..55acf4e2a2a 100644 --- a/directory/deleted_items_delta_request_builder.go +++ b/directory/deleted_items_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *DeletedItemsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *DeletedItemsDeltaRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsDeltaRequestBuilder) { + return NewDeletedItemsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_directory_object_item_request_builder.go b/directory/deleted_items_directory_object_item_request_builder.go index 8467373deb6..907b41a261d 100644 --- a/directory/deleted_items_directory_object_item_request_builder.go +++ b/directory/deleted_items_directory_object_item_request_builder.go @@ -197,3 +197,7 @@ func (m *DeletedItemsDirectoryObjectItemRequestBuilder) ToPatchRequestInformatio } 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 *DeletedItemsDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsDirectoryObjectItemRequestBuilder) { + return NewDeletedItemsDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_get_by_ids_request_builder.go b/directory/deleted_items_get_by_ids_request_builder.go index 4294fd5ed4b..b3304abda50 100644 --- a/directory/deleted_items_get_by_ids_request_builder.go +++ b/directory/deleted_items_get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *DeletedItemsGetByIdsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *DeletedItemsGetByIdsRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsGetByIdsRequestBuilder) { + return NewDeletedItemsGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_get_user_owned_objects_request_builder.go b/directory/deleted_items_get_user_owned_objects_request_builder.go index 4c5db0f88e3..78505538837 100644 --- a/directory/deleted_items_get_user_owned_objects_request_builder.go +++ b/directory/deleted_items_get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *DeletedItemsGetUserOwnedObjectsRequestBuilder) 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 *DeletedItemsGetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsGetUserOwnedObjectsRequestBuilder) { + return NewDeletedItemsGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_graph_administrative_unit_count_request_builder.go b/directory/deleted_items_graph_administrative_unit_count_request_builder.go index d075ba17fcd..9cad9cd1f59 100644 --- a/directory/deleted_items_graph_administrative_unit_count_request_builder.go +++ b/directory/deleted_items_graph_administrative_unit_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeletedItemsGraphAdministrativeUnitCountRequestBuilder) ToGetRequestInf } 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 *DeletedItemsGraphAdministrativeUnitCountRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsGraphAdministrativeUnitCountRequestBuilder) { + return NewDeletedItemsGraphAdministrativeUnitCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_graph_administrative_unit_request_builder.go b/directory/deleted_items_graph_administrative_unit_request_builder.go index c77a28dd946..d6bb42e77ee 100644 --- a/directory/deleted_items_graph_administrative_unit_request_builder.go +++ b/directory/deleted_items_graph_administrative_unit_request_builder.go @@ -91,3 +91,7 @@ func (m *DeletedItemsGraphAdministrativeUnitRequestBuilder) ToGetRequestInformat } 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 *DeletedItemsGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsGraphAdministrativeUnitRequestBuilder) { + return NewDeletedItemsGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_graph_application_count_request_builder.go b/directory/deleted_items_graph_application_count_request_builder.go index ead48ebee80..51f20c1fbbf 100644 --- a/directory/deleted_items_graph_application_count_request_builder.go +++ b/directory/deleted_items_graph_application_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeletedItemsGraphApplicationCountRequestBuilder) 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 *DeletedItemsGraphApplicationCountRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsGraphApplicationCountRequestBuilder) { + return NewDeletedItemsGraphApplicationCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_graph_application_request_builder.go b/directory/deleted_items_graph_application_request_builder.go index ff7d1e0c607..2ce8601a0ce 100644 --- a/directory/deleted_items_graph_application_request_builder.go +++ b/directory/deleted_items_graph_application_request_builder.go @@ -91,3 +91,7 @@ func (m *DeletedItemsGraphApplicationRequestBuilder) ToGetRequestInformation(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 *DeletedItemsGraphApplicationRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsGraphApplicationRequestBuilder) { + return NewDeletedItemsGraphApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_graph_device_count_request_builder.go b/directory/deleted_items_graph_device_count_request_builder.go index 07ab4255291..a7cd84938b5 100644 --- a/directory/deleted_items_graph_device_count_request_builder.go +++ b/directory/deleted_items_graph_device_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeletedItemsGraphDeviceCountRequestBuilder) ToGetRequestInformation(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 *DeletedItemsGraphDeviceCountRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsGraphDeviceCountRequestBuilder) { + return NewDeletedItemsGraphDeviceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_graph_device_request_builder.go b/directory/deleted_items_graph_device_request_builder.go index c5e2372057c..aafaade0caa 100644 --- a/directory/deleted_items_graph_device_request_builder.go +++ b/directory/deleted_items_graph_device_request_builder.go @@ -91,3 +91,7 @@ func (m *DeletedItemsGraphDeviceRequestBuilder) ToGetRequestInformation(ctx cont } 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 *DeletedItemsGraphDeviceRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsGraphDeviceRequestBuilder) { + return NewDeletedItemsGraphDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_graph_group_count_request_builder.go b/directory/deleted_items_graph_group_count_request_builder.go index 7b879c17142..9036417a788 100644 --- a/directory/deleted_items_graph_group_count_request_builder.go +++ b/directory/deleted_items_graph_group_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeletedItemsGraphGroupCountRequestBuilder) ToGetRequestInformation(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 *DeletedItemsGraphGroupCountRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsGraphGroupCountRequestBuilder) { + return NewDeletedItemsGraphGroupCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_graph_group_request_builder.go b/directory/deleted_items_graph_group_request_builder.go index 75288ba2b71..4cfb1f19c90 100644 --- a/directory/deleted_items_graph_group_request_builder.go +++ b/directory/deleted_items_graph_group_request_builder.go @@ -91,3 +91,7 @@ func (m *DeletedItemsGraphGroupRequestBuilder) ToGetRequestInformation(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 *DeletedItemsGraphGroupRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsGraphGroupRequestBuilder) { + return NewDeletedItemsGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_graph_service_principal_count_request_builder.go b/directory/deleted_items_graph_service_principal_count_request_builder.go index 873c8d64e31..eb8b2a741be 100644 --- a/directory/deleted_items_graph_service_principal_count_request_builder.go +++ b/directory/deleted_items_graph_service_principal_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeletedItemsGraphServicePrincipalCountRequestBuilder) ToGetRequestInfor } 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 *DeletedItemsGraphServicePrincipalCountRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsGraphServicePrincipalCountRequestBuilder) { + return NewDeletedItemsGraphServicePrincipalCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_graph_service_principal_request_builder.go b/directory/deleted_items_graph_service_principal_request_builder.go index 692b638c5a5..b8cf07558da 100644 --- a/directory/deleted_items_graph_service_principal_request_builder.go +++ b/directory/deleted_items_graph_service_principal_request_builder.go @@ -91,3 +91,7 @@ func (m *DeletedItemsGraphServicePrincipalRequestBuilder) 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 *DeletedItemsGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsGraphServicePrincipalRequestBuilder) { + return NewDeletedItemsGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_graph_user_count_request_builder.go b/directory/deleted_items_graph_user_count_request_builder.go index 8cfb1e6e9ac..b2d9fcf3668 100644 --- a/directory/deleted_items_graph_user_count_request_builder.go +++ b/directory/deleted_items_graph_user_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeletedItemsGraphUserCountRequestBuilder) ToGetRequestInformation(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 *DeletedItemsGraphUserCountRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsGraphUserCountRequestBuilder) { + return NewDeletedItemsGraphUserCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_graph_user_request_builder.go b/directory/deleted_items_graph_user_request_builder.go index ddf09b7ad31..c62448f9d70 100644 --- a/directory/deleted_items_graph_user_request_builder.go +++ b/directory/deleted_items_graph_user_request_builder.go @@ -91,3 +91,7 @@ func (m *DeletedItemsGraphUserRequestBuilder) ToGetRequestInformation(ctx contex } 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 *DeletedItemsGraphUserRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsGraphUserRequestBuilder) { + return NewDeletedItemsGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_item_check_member_groups_request_builder.go b/directory/deleted_items_item_check_member_groups_request_builder.go index 77fa42cc33c..110a8fb74c1 100644 --- a/directory/deleted_items_item_check_member_groups_request_builder.go +++ b/directory/deleted_items_item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *DeletedItemsItemCheckMemberGroupsRequestBuilder) ToPostRequestInformati } 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 *DeletedItemsItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsItemCheckMemberGroupsRequestBuilder) { + return NewDeletedItemsItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_item_check_member_objects_request_builder.go b/directory/deleted_items_item_check_member_objects_request_builder.go index 7a1b67e61a6..3cff305b9ab 100644 --- a/directory/deleted_items_item_check_member_objects_request_builder.go +++ b/directory/deleted_items_item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *DeletedItemsItemCheckMemberObjectsRequestBuilder) ToPostRequestInformat } 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 *DeletedItemsItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsItemCheckMemberObjectsRequestBuilder) { + return NewDeletedItemsItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_item_get_member_groups_request_builder.go b/directory/deleted_items_item_get_member_groups_request_builder.go index be15dcfcdca..6eccf210d7d 100644 --- a/directory/deleted_items_item_get_member_groups_request_builder.go +++ b/directory/deleted_items_item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *DeletedItemsItemGetMemberGroupsRequestBuilder) 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 *DeletedItemsItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsItemGetMemberGroupsRequestBuilder) { + return NewDeletedItemsItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_item_get_member_objects_request_builder.go b/directory/deleted_items_item_get_member_objects_request_builder.go index 5f363efcf9f..39faa794965 100644 --- a/directory/deleted_items_item_get_member_objects_request_builder.go +++ b/directory/deleted_items_item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *DeletedItemsItemGetMemberObjectsRequestBuilder) ToPostRequestInformatio } 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 *DeletedItemsItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsItemGetMemberObjectsRequestBuilder) { + return NewDeletedItemsItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_item_graph_administrative_unit_request_builder.go b/directory/deleted_items_item_graph_administrative_unit_request_builder.go index fba07b8ad7a..9f938d3016a 100644 --- a/directory/deleted_items_item_graph_administrative_unit_request_builder.go +++ b/directory/deleted_items_item_graph_administrative_unit_request_builder.go @@ -75,3 +75,7 @@ func (m *DeletedItemsItemGraphAdministrativeUnitRequestBuilder) ToGetRequestInfo } 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 *DeletedItemsItemGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsItemGraphAdministrativeUnitRequestBuilder) { + return NewDeletedItemsItemGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_item_graph_application_request_builder.go b/directory/deleted_items_item_graph_application_request_builder.go index 7c11202ba59..7f10c69a740 100644 --- a/directory/deleted_items_item_graph_application_request_builder.go +++ b/directory/deleted_items_item_graph_application_request_builder.go @@ -75,3 +75,7 @@ func (m *DeletedItemsItemGraphApplicationRequestBuilder) 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 *DeletedItemsItemGraphApplicationRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsItemGraphApplicationRequestBuilder) { + return NewDeletedItemsItemGraphApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_item_graph_device_request_builder.go b/directory/deleted_items_item_graph_device_request_builder.go index 7b9c319e63c..8d9bb831c61 100644 --- a/directory/deleted_items_item_graph_device_request_builder.go +++ b/directory/deleted_items_item_graph_device_request_builder.go @@ -75,3 +75,7 @@ func (m *DeletedItemsItemGraphDeviceRequestBuilder) ToGetRequestInformation(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 *DeletedItemsItemGraphDeviceRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsItemGraphDeviceRequestBuilder) { + return NewDeletedItemsItemGraphDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_item_graph_group_request_builder.go b/directory/deleted_items_item_graph_group_request_builder.go index eb4bbb7f17e..1392c012615 100644 --- a/directory/deleted_items_item_graph_group_request_builder.go +++ b/directory/deleted_items_item_graph_group_request_builder.go @@ -75,3 +75,7 @@ func (m *DeletedItemsItemGraphGroupRequestBuilder) ToGetRequestInformation(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 *DeletedItemsItemGraphGroupRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsItemGraphGroupRequestBuilder) { + return NewDeletedItemsItemGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_item_graph_service_principal_request_builder.go b/directory/deleted_items_item_graph_service_principal_request_builder.go index ad94f55e84d..f02ddd0c252 100644 --- a/directory/deleted_items_item_graph_service_principal_request_builder.go +++ b/directory/deleted_items_item_graph_service_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *DeletedItemsItemGraphServicePrincipalRequestBuilder) ToGetRequestInform } 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 *DeletedItemsItemGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsItemGraphServicePrincipalRequestBuilder) { + return NewDeletedItemsItemGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_item_graph_user_request_builder.go b/directory/deleted_items_item_graph_user_request_builder.go index 464ca6902ca..f4a6df1031a 100644 --- a/directory/deleted_items_item_graph_user_request_builder.go +++ b/directory/deleted_items_item_graph_user_request_builder.go @@ -75,3 +75,7 @@ func (m *DeletedItemsItemGraphUserRequestBuilder) ToGetRequestInformation(ctx co } 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 *DeletedItemsItemGraphUserRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsItemGraphUserRequestBuilder) { + return NewDeletedItemsItemGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_item_restore_request_builder.go b/directory/deleted_items_item_restore_request_builder.go index 81aa3563b5e..0201254cca5 100644 --- a/directory/deleted_items_item_restore_request_builder.go +++ b/directory/deleted_items_item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *DeletedItemsItemRestoreRequestBuilder) ToPostRequestInformation(ctx con } 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 *DeletedItemsItemRestoreRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsItemRestoreRequestBuilder) { + return NewDeletedItemsItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_request_builder.go b/directory/deleted_items_request_builder.go index e99ad229d72..5542707108b 100644 --- a/directory/deleted_items_request_builder.go +++ b/directory/deleted_items_request_builder.go @@ -46,8 +46,8 @@ type DeletedItemsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDirectoryObjectIdString provides operations to manage the deletedItems property of the microsoft.graph.directory entity. -func (m *DeletedItemsRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*DeletedItemsDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the deletedItems property of the microsoft.graph.directory entity. +func (m *DeletedItemsRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*DeletedItemsDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -185,3 +185,7 @@ func (m *DeletedItemsRequestBuilder) ToPostRequestInformation(ctx context.Contex func (m *DeletedItemsRequestBuilder) ValidateProperties()(*DeletedItemsValidatePropertiesRequestBuilder) { return NewDeletedItemsValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DeletedItemsRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsRequestBuilder) { + return NewDeletedItemsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/deleted_items_validate_properties_request_builder.go b/directory/deleted_items_validate_properties_request_builder.go index 8165980aa68..6ddb8f82090 100644 --- a/directory/deleted_items_validate_properties_request_builder.go +++ b/directory/deleted_items_validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *DeletedItemsValidatePropertiesRequestBuilder) 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 *DeletedItemsValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*DeletedItemsValidatePropertiesRequestBuilder) { + return NewDeletedItemsValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/directory_request_builder.go b/directory/directory_request_builder.go index 2053bf99b75..7f370516d1a 100644 --- a/directory/directory_request_builder.go +++ b/directory/directory_request_builder.go @@ -174,3 +174,7 @@ func (m *DirectoryRequestBuilder) ToPatchRequestInformation(ctx context.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 *DirectoryRequestBuilder) WithUrl(rawUrl string)(*DirectoryRequestBuilder) { + return NewDirectoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/feature_rollout_policies_count_request_builder.go b/directory/feature_rollout_policies_count_request_builder.go index 54252b7e2a8..5f5ee1bfdb8 100644 --- a/directory/feature_rollout_policies_count_request_builder.go +++ b/directory/feature_rollout_policies_count_request_builder.go @@ -76,3 +76,8 @@ func (m *FeatureRolloutPoliciesCountRequestBuilder) ToGetRequestInformation(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. +// Deprecated: Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30 +func (m *FeatureRolloutPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*FeatureRolloutPoliciesCountRequestBuilder) { + return NewFeatureRolloutPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/feature_rollout_policies_feature_rollout_policy_item_request_builder.go b/directory/feature_rollout_policies_feature_rollout_policy_item_request_builder.go index 0cb71e0abab..20fe65b9b18 100644 --- a/directory/feature_rollout_policies_feature_rollout_policy_item_request_builder.go +++ b/directory/feature_rollout_policies_feature_rollout_policy_item_request_builder.go @@ -163,3 +163,8 @@ func (m *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) ToPatchRe } 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. +// Deprecated: Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30 +func (m *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) WithUrl(rawUrl string)(*FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) { + return NewFeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/feature_rollout_policies_item_applies_to_count_request_builder.go b/directory/feature_rollout_policies_item_applies_to_count_request_builder.go index a26a71038b7..1c2c8800ae4 100644 --- a/directory/feature_rollout_policies_item_applies_to_count_request_builder.go +++ b/directory/feature_rollout_policies_item_applies_to_count_request_builder.go @@ -76,3 +76,8 @@ func (m *FeatureRolloutPoliciesItemAppliesToCountRequestBuilder) ToGetRequestInf } 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. +// Deprecated: Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30 +func (m *FeatureRolloutPoliciesItemAppliesToCountRequestBuilder) WithUrl(rawUrl string)(*FeatureRolloutPoliciesItemAppliesToCountRequestBuilder) { + return NewFeatureRolloutPoliciesItemAppliesToCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/feature_rollout_policies_item_applies_to_delta_request_builder.go b/directory/feature_rollout_policies_item_applies_to_delta_request_builder.go index 5ae55f2e1b1..804868bfb69 100644 --- a/directory/feature_rollout_policies_item_applies_to_delta_request_builder.go +++ b/directory/feature_rollout_policies_item_applies_to_delta_request_builder.go @@ -86,3 +86,8 @@ func (m *FeatureRolloutPoliciesItemAppliesToDeltaRequestBuilder) ToGetRequestInf } 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. +// Deprecated: Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30 +func (m *FeatureRolloutPoliciesItemAppliesToDeltaRequestBuilder) WithUrl(rawUrl string)(*FeatureRolloutPoliciesItemAppliesToDeltaRequestBuilder) { + return NewFeatureRolloutPoliciesItemAppliesToDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/feature_rollout_policies_item_applies_to_get_by_ids_request_builder.go b/directory/feature_rollout_policies_item_applies_to_get_by_ids_request_builder.go index ee388c01c28..e34e5969612 100644 --- a/directory/feature_rollout_policies_item_applies_to_get_by_ids_request_builder.go +++ b/directory/feature_rollout_policies_item_applies_to_get_by_ids_request_builder.go @@ -71,3 +71,8 @@ func (m *FeatureRolloutPoliciesItemAppliesToGetByIdsRequestBuilder) ToPostReques } 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. +// Deprecated: Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30 +func (m *FeatureRolloutPoliciesItemAppliesToGetByIdsRequestBuilder) WithUrl(rawUrl string)(*FeatureRolloutPoliciesItemAppliesToGetByIdsRequestBuilder) { + return NewFeatureRolloutPoliciesItemAppliesToGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/feature_rollout_policies_item_applies_to_get_user_owned_objects_request_builder.go b/directory/feature_rollout_policies_item_applies_to_get_user_owned_objects_request_builder.go index 23a571183a3..2d1a28449b1 100644 --- a/directory/feature_rollout_policies_item_applies_to_get_user_owned_objects_request_builder.go +++ b/directory/feature_rollout_policies_item_applies_to_get_user_owned_objects_request_builder.go @@ -72,3 +72,8 @@ func (m *FeatureRolloutPoliciesItemAppliesToGetUserOwnedObjectsRequestBuilder) T } 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. +// Deprecated: Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30 +func (m *FeatureRolloutPoliciesItemAppliesToGetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*FeatureRolloutPoliciesItemAppliesToGetUserOwnedObjectsRequestBuilder) { + return NewFeatureRolloutPoliciesItemAppliesToGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/feature_rollout_policies_item_applies_to_item_ref_request_builder.go b/directory/feature_rollout_policies_item_applies_to_item_ref_request_builder.go index d726c91d750..fb1ff273c30 100644 --- a/directory/feature_rollout_policies_item_applies_to_item_ref_request_builder.go +++ b/directory/feature_rollout_policies_item_applies_to_item_ref_request_builder.go @@ -73,3 +73,8 @@ func (m *FeatureRolloutPoliciesItemAppliesToItemRefRequestBuilder) ToDeleteReque } 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. +// Deprecated: Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30 +func (m *FeatureRolloutPoliciesItemAppliesToItemRefRequestBuilder) WithUrl(rawUrl string)(*FeatureRolloutPoliciesItemAppliesToItemRefRequestBuilder) { + return NewFeatureRolloutPoliciesItemAppliesToItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/feature_rollout_policies_item_applies_to_ref_request_builder.go b/directory/feature_rollout_policies_item_applies_to_ref_request_builder.go index 2fd8582abfd..07f86cd532f 100644 --- a/directory/feature_rollout_policies_item_applies_to_ref_request_builder.go +++ b/directory/feature_rollout_policies_item_applies_to_ref_request_builder.go @@ -129,3 +129,8 @@ func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) ToPostRequestInfo } 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. +// Deprecated: Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30 +func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) WithUrl(rawUrl string)(*FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) { + return NewFeatureRolloutPoliciesItemAppliesToRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/feature_rollout_policies_item_applies_to_request_builder.go b/directory/feature_rollout_policies_item_applies_to_request_builder.go index c4a45c7fbd5..986d27f5944 100644 --- a/directory/feature_rollout_policies_item_applies_to_request_builder.go +++ b/directory/feature_rollout_policies_item_applies_to_request_builder.go @@ -46,8 +46,8 @@ type FeatureRolloutPoliciesItemAppliesToRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDirectoryObjectIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.featureRolloutPolicies.item.appliesTo.item collection -func (m *FeatureRolloutPoliciesItemAppliesToRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*FeatureRolloutPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.featureRolloutPolicies.item.appliesTo.item collection +func (m *FeatureRolloutPoliciesItemAppliesToRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*FeatureRolloutPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -172,3 +172,8 @@ func (m *FeatureRolloutPoliciesItemAppliesToRequestBuilder) ToPostRequestInforma func (m *FeatureRolloutPoliciesItemAppliesToRequestBuilder) ValidateProperties()(*FeatureRolloutPoliciesItemAppliesToValidatePropertiesRequestBuilder) { return NewFeatureRolloutPoliciesItemAppliesToValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// Deprecated: Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30 +func (m *FeatureRolloutPoliciesItemAppliesToRequestBuilder) WithUrl(rawUrl string)(*FeatureRolloutPoliciesItemAppliesToRequestBuilder) { + return NewFeatureRolloutPoliciesItemAppliesToRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/feature_rollout_policies_item_applies_to_validate_properties_request_builder.go b/directory/feature_rollout_policies_item_applies_to_validate_properties_request_builder.go index 7a19bdba377..d1cb3cfa7be 100644 --- a/directory/feature_rollout_policies_item_applies_to_validate_properties_request_builder.go +++ b/directory/feature_rollout_policies_item_applies_to_validate_properties_request_builder.go @@ -67,3 +67,8 @@ func (m *FeatureRolloutPoliciesItemAppliesToValidatePropertiesRequestBuilder) To } 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. +// Deprecated: Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30 +func (m *FeatureRolloutPoliciesItemAppliesToValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*FeatureRolloutPoliciesItemAppliesToValidatePropertiesRequestBuilder) { + return NewFeatureRolloutPoliciesItemAppliesToValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/feature_rollout_policies_request_builder.go b/directory/feature_rollout_policies_request_builder.go index 6bf0d35e2b7..bc711f1daf2 100644 --- a/directory/feature_rollout_policies_request_builder.go +++ b/directory/feature_rollout_policies_request_builder.go @@ -46,9 +46,9 @@ type FeatureRolloutPoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByFeatureRolloutPolicyIdString provides operations to manage the featureRolloutPolicies property of the microsoft.graph.directory entity. +// ByFeatureRolloutPolicyId provides operations to manage the featureRolloutPolicies property of the microsoft.graph.directory entity. // Deprecated: Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30 -func (m *FeatureRolloutPoliciesRequestBuilder) ByFeatureRolloutPolicyIdString(featureRolloutPolicyId string)(*FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) { +func (m *FeatureRolloutPoliciesRequestBuilder) ByFeatureRolloutPolicyId(featureRolloutPolicyId string)(*FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *FeatureRolloutPoliciesRequestBuilder) ToPostRequestInformation(ctx cont } 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. +// Deprecated: Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30 +func (m *FeatureRolloutPoliciesRequestBuilder) WithUrl(rawUrl string)(*FeatureRolloutPoliciesRequestBuilder) { + return NewFeatureRolloutPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/federation_configurations_available_provider_types_request_builder.go b/directory/federation_configurations_available_provider_types_request_builder.go index e648ffefddd..7f4339a7ed2 100644 --- a/directory/federation_configurations_available_provider_types_request_builder.go +++ b/directory/federation_configurations_available_provider_types_request_builder.go @@ -80,3 +80,7 @@ func (m *FederationConfigurationsAvailableProviderTypesRequestBuilder) ToGetRequ } 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 *FederationConfigurationsAvailableProviderTypesRequestBuilder) WithUrl(rawUrl string)(*FederationConfigurationsAvailableProviderTypesRequestBuilder) { + return NewFederationConfigurationsAvailableProviderTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/federation_configurations_count_request_builder.go b/directory/federation_configurations_count_request_builder.go index 95094070f45..d944191f766 100644 --- a/directory/federation_configurations_count_request_builder.go +++ b/directory/federation_configurations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *FederationConfigurationsCountRequestBuilder) ToGetRequestInformation(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 *FederationConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*FederationConfigurationsCountRequestBuilder) { + return NewFederationConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/federation_configurations_identity_provider_base_item_request_builder.go b/directory/federation_configurations_identity_provider_base_item_request_builder.go index e73391bc4bd..2febb75d02a 100644 --- a/directory/federation_configurations_identity_provider_base_item_request_builder.go +++ b/directory/federation_configurations_identity_provider_base_item_request_builder.go @@ -156,3 +156,7 @@ func (m *FederationConfigurationsIdentityProviderBaseItemRequestBuilder) ToPatch } 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 *FederationConfigurationsIdentityProviderBaseItemRequestBuilder) WithUrl(rawUrl string)(*FederationConfigurationsIdentityProviderBaseItemRequestBuilder) { + return NewFederationConfigurationsIdentityProviderBaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/federation_configurations_request_builder.go b/directory/federation_configurations_request_builder.go index 5b84c952d8a..666d02bd215 100644 --- a/directory/federation_configurations_request_builder.go +++ b/directory/federation_configurations_request_builder.go @@ -50,8 +50,8 @@ type FederationConfigurationsRequestBuilderPostRequestConfiguration struct { func (m *FederationConfigurationsRequestBuilder) AvailableProviderTypes()(*FederationConfigurationsAvailableProviderTypesRequestBuilder) { return NewFederationConfigurationsAvailableProviderTypesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByIdentityProviderBaseIdString provides operations to manage the federationConfigurations property of the microsoft.graph.directory entity. -func (m *FederationConfigurationsRequestBuilder) ByIdentityProviderBaseIdString(identityProviderBaseId string)(*FederationConfigurationsIdentityProviderBaseItemRequestBuilder) { +// ByIdentityProviderBaseId provides operations to manage the federationConfigurations property of the microsoft.graph.directory entity. +func (m *FederationConfigurationsRequestBuilder) ByIdentityProviderBaseId(identityProviderBaseId string)(*FederationConfigurationsIdentityProviderBaseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *FederationConfigurationsRequestBuilder) ToPostRequestInformation(ctx co } 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 *FederationConfigurationsRequestBuilder) WithUrl(rawUrl string)(*FederationConfigurationsRequestBuilder) { + return NewFederationConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/impacted_resources_count_request_builder.go b/directory/impacted_resources_count_request_builder.go index 12bb41f873d..7111d64dd2d 100644 --- a/directory/impacted_resources_count_request_builder.go +++ b/directory/impacted_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ImpactedResourcesCountRequestBuilder) ToGetRequestInformation(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 *ImpactedResourcesCountRequestBuilder) WithUrl(rawUrl string)(*ImpactedResourcesCountRequestBuilder) { + return NewImpactedResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/impacted_resources_impacted_resource_item_request_builder.go b/directory/impacted_resources_impacted_resource_item_request_builder.go index d2a48b1836a..ccc81512924 100644 --- a/directory/impacted_resources_impacted_resource_item_request_builder.go +++ b/directory/impacted_resources_impacted_resource_item_request_builder.go @@ -169,3 +169,7 @@ func (m *ImpactedResourcesImpactedResourceItemRequestBuilder) 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 *ImpactedResourcesImpactedResourceItemRequestBuilder) WithUrl(rawUrl string)(*ImpactedResourcesImpactedResourceItemRequestBuilder) { + return NewImpactedResourcesImpactedResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/impacted_resources_item_complete_request_builder.go b/directory/impacted_resources_item_complete_request_builder.go index 647dc3863bf..36f3d9877ea 100644 --- a/directory/impacted_resources_item_complete_request_builder.go +++ b/directory/impacted_resources_item_complete_request_builder.go @@ -66,3 +66,7 @@ func (m *ImpactedResourcesItemCompleteRequestBuilder) ToPostRequestInformation(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 *ImpactedResourcesItemCompleteRequestBuilder) WithUrl(rawUrl string)(*ImpactedResourcesItemCompleteRequestBuilder) { + return NewImpactedResourcesItemCompleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/impacted_resources_item_dismiss_request_builder.go b/directory/impacted_resources_item_dismiss_request_builder.go index 3786382bbec..1a44206b2c2 100644 --- a/directory/impacted_resources_item_dismiss_request_builder.go +++ b/directory/impacted_resources_item_dismiss_request_builder.go @@ -70,3 +70,7 @@ func (m *ImpactedResourcesItemDismissRequestBuilder) 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 *ImpactedResourcesItemDismissRequestBuilder) WithUrl(rawUrl string)(*ImpactedResourcesItemDismissRequestBuilder) { + return NewImpactedResourcesItemDismissRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/impacted_resources_item_postpone_request_builder.go b/directory/impacted_resources_item_postpone_request_builder.go index 976d7a90db7..a6810e4e8bf 100644 --- a/directory/impacted_resources_item_postpone_request_builder.go +++ b/directory/impacted_resources_item_postpone_request_builder.go @@ -70,3 +70,7 @@ func (m *ImpactedResourcesItemPostponeRequestBuilder) ToPostRequestInformation(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 *ImpactedResourcesItemPostponeRequestBuilder) WithUrl(rawUrl string)(*ImpactedResourcesItemPostponeRequestBuilder) { + return NewImpactedResourcesItemPostponeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/impacted_resources_item_reactivate_request_builder.go b/directory/impacted_resources_item_reactivate_request_builder.go index 801acf88356..273ed703d16 100644 --- a/directory/impacted_resources_item_reactivate_request_builder.go +++ b/directory/impacted_resources_item_reactivate_request_builder.go @@ -66,3 +66,7 @@ func (m *ImpactedResourcesItemReactivateRequestBuilder) 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 *ImpactedResourcesItemReactivateRequestBuilder) WithUrl(rawUrl string)(*ImpactedResourcesItemReactivateRequestBuilder) { + return NewImpactedResourcesItemReactivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/impacted_resources_request_builder.go b/directory/impacted_resources_request_builder.go index 80c2e55ea4b..d9320f1326e 100644 --- a/directory/impacted_resources_request_builder.go +++ b/directory/impacted_resources_request_builder.go @@ -46,8 +46,8 @@ type ImpactedResourcesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByImpactedResourceIdString provides operations to manage the impactedResources property of the microsoft.graph.directory entity. -func (m *ImpactedResourcesRequestBuilder) ByImpactedResourceIdString(impactedResourceId string)(*ImpactedResourcesImpactedResourceItemRequestBuilder) { +// ByImpactedResourceId provides operations to manage the impactedResources property of the microsoft.graph.directory entity. +func (m *ImpactedResourcesRequestBuilder) ByImpactedResourceId(impactedResourceId string)(*ImpactedResourcesImpactedResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ImpactedResourcesRequestBuilder) ToPostRequestInformation(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 *ImpactedResourcesRequestBuilder) WithUrl(rawUrl string)(*ImpactedResourcesRequestBuilder) { + return NewImpactedResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/inbound_shared_user_profiles_count_request_builder.go b/directory/inbound_shared_user_profiles_count_request_builder.go index 225357bc2df..18e12afe2e5 100644 --- a/directory/inbound_shared_user_profiles_count_request_builder.go +++ b/directory/inbound_shared_user_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *InboundSharedUserProfilesCountRequestBuilder) ToGetRequestInformation(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 *InboundSharedUserProfilesCountRequestBuilder) WithUrl(rawUrl string)(*InboundSharedUserProfilesCountRequestBuilder) { + return NewInboundSharedUserProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/inbound_shared_user_profiles_inbound_shared_user_profile_user_item_request_builder.go b/directory/inbound_shared_user_profiles_inbound_shared_user_profile_user_item_request_builder.go index 7e3809a2424..155b4ae4c2f 100644 --- a/directory/inbound_shared_user_profiles_inbound_shared_user_profile_user_item_request_builder.go +++ b/directory/inbound_shared_user_profiles_inbound_shared_user_profile_user_item_request_builder.go @@ -164,3 +164,7 @@ func (m *InboundSharedUserProfilesInboundSharedUserProfileUserItemRequestBuilder } 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 *InboundSharedUserProfilesInboundSharedUserProfileUserItemRequestBuilder) WithUrl(rawUrl string)(*InboundSharedUserProfilesInboundSharedUserProfileUserItemRequestBuilder) { + return NewInboundSharedUserProfilesInboundSharedUserProfileUserItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/inbound_shared_user_profiles_item_export_personal_data_request_builder.go b/directory/inbound_shared_user_profiles_item_export_personal_data_request_builder.go index bbd62bf340d..91d8174667f 100644 --- a/directory/inbound_shared_user_profiles_item_export_personal_data_request_builder.go +++ b/directory/inbound_shared_user_profiles_item_export_personal_data_request_builder.go @@ -65,3 +65,7 @@ func (m *InboundSharedUserProfilesItemExportPersonalDataRequestBuilder) ToPostRe } 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 *InboundSharedUserProfilesItemExportPersonalDataRequestBuilder) WithUrl(rawUrl string)(*InboundSharedUserProfilesItemExportPersonalDataRequestBuilder) { + return NewInboundSharedUserProfilesItemExportPersonalDataRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/inbound_shared_user_profiles_item_remove_personal_data_request_builder.go b/directory/inbound_shared_user_profiles_item_remove_personal_data_request_builder.go index 1569d0d38df..603697ac549 100644 --- a/directory/inbound_shared_user_profiles_item_remove_personal_data_request_builder.go +++ b/directory/inbound_shared_user_profiles_item_remove_personal_data_request_builder.go @@ -61,3 +61,7 @@ func (m *InboundSharedUserProfilesItemRemovePersonalDataRequestBuilder) ToPostRe } 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 *InboundSharedUserProfilesItemRemovePersonalDataRequestBuilder) WithUrl(rawUrl string)(*InboundSharedUserProfilesItemRemovePersonalDataRequestBuilder) { + return NewInboundSharedUserProfilesItemRemovePersonalDataRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/inbound_shared_user_profiles_request_builder.go b/directory/inbound_shared_user_profiles_request_builder.go index cfa597510b2..2908ad1efa2 100644 --- a/directory/inbound_shared_user_profiles_request_builder.go +++ b/directory/inbound_shared_user_profiles_request_builder.go @@ -46,8 +46,8 @@ type InboundSharedUserProfilesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByInboundSharedUserProfileUserIdString provides operations to manage the inboundSharedUserProfiles property of the microsoft.graph.directory entity. -func (m *InboundSharedUserProfilesRequestBuilder) ByInboundSharedUserProfileUserIdString(inboundSharedUserProfileUserId string)(*InboundSharedUserProfilesInboundSharedUserProfileUserItemRequestBuilder) { +// ByInboundSharedUserProfileUserId provides operations to manage the inboundSharedUserProfiles property of the microsoft.graph.directory entity. +func (m *InboundSharedUserProfilesRequestBuilder) ByInboundSharedUserProfileUserId(inboundSharedUserProfileUserId string)(*InboundSharedUserProfilesInboundSharedUserProfileUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *InboundSharedUserProfilesRequestBuilder) ToPostRequestInformation(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 *InboundSharedUserProfilesRequestBuilder) WithUrl(rawUrl string)(*InboundSharedUserProfilesRequestBuilder) { + return NewInboundSharedUserProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/on_premises_synchronization_count_request_builder.go b/directory/on_premises_synchronization_count_request_builder.go index 54129fe659b..056ca7dce16 100644 --- a/directory/on_premises_synchronization_count_request_builder.go +++ b/directory/on_premises_synchronization_count_request_builder.go @@ -74,3 +74,7 @@ func (m *OnPremisesSynchronizationCountRequestBuilder) ToGetRequestInformation(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 *OnPremisesSynchronizationCountRequestBuilder) WithUrl(rawUrl string)(*OnPremisesSynchronizationCountRequestBuilder) { + return NewOnPremisesSynchronizationCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/on_premises_synchronization_on_premises_directory_synchronization_item_request_builder.go b/directory/on_premises_synchronization_on_premises_directory_synchronization_item_request_builder.go index 0ab288efdba..61c6d7aa345 100644 --- a/directory/on_premises_synchronization_on_premises_directory_synchronization_item_request_builder.go +++ b/directory/on_premises_synchronization_on_premises_directory_synchronization_item_request_builder.go @@ -159,3 +159,7 @@ func (m *OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestB } 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 *OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestBuilder) WithUrl(rawUrl string)(*OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestBuilder) { + return NewOnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/on_premises_synchronization_request_builder.go b/directory/on_premises_synchronization_request_builder.go index bb03dd1c033..92ca38c00ad 100644 --- a/directory/on_premises_synchronization_request_builder.go +++ b/directory/on_premises_synchronization_request_builder.go @@ -46,8 +46,8 @@ type OnPremisesSynchronizationRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnPremisesDirectorySynchronizationIdString provides operations to manage the onPremisesSynchronization property of the microsoft.graph.directory entity. -func (m *OnPremisesSynchronizationRequestBuilder) ByOnPremisesDirectorySynchronizationIdString(onPremisesDirectorySynchronizationId string)(*OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestBuilder) { +// ByOnPremisesDirectorySynchronizationId provides operations to manage the onPremisesSynchronization property of the microsoft.graph.directory entity. +func (m *OnPremisesSynchronizationRequestBuilder) ByOnPremisesDirectorySynchronizationId(onPremisesDirectorySynchronizationId string)(*OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *OnPremisesSynchronizationRequestBuilder) ToPostRequestInformation(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 *OnPremisesSynchronizationRequestBuilder) WithUrl(rawUrl string)(*OnPremisesSynchronizationRequestBuilder) { + return NewOnPremisesSynchronizationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/outbound_shared_user_profiles_count_request_builder.go b/directory/outbound_shared_user_profiles_count_request_builder.go index 4f0f791beaf..69d9a594a1d 100644 --- a/directory/outbound_shared_user_profiles_count_request_builder.go +++ b/directory/outbound_shared_user_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *OutboundSharedUserProfilesCountRequestBuilder) 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 *OutboundSharedUserProfilesCountRequestBuilder) WithUrl(rawUrl string)(*OutboundSharedUserProfilesCountRequestBuilder) { + return NewOutboundSharedUserProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/outbound_shared_user_profiles_item_tenants_count_request_builder.go b/directory/outbound_shared_user_profiles_item_tenants_count_request_builder.go index f1dd584cb1e..29e681bf997 100644 --- a/directory/outbound_shared_user_profiles_item_tenants_count_request_builder.go +++ b/directory/outbound_shared_user_profiles_item_tenants_count_request_builder.go @@ -74,3 +74,7 @@ func (m *OutboundSharedUserProfilesItemTenantsCountRequestBuilder) ToGetRequestI } 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 *OutboundSharedUserProfilesItemTenantsCountRequestBuilder) WithUrl(rawUrl string)(*OutboundSharedUserProfilesItemTenantsCountRequestBuilder) { + return NewOutboundSharedUserProfilesItemTenantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/outbound_shared_user_profiles_item_tenants_item_remove_personal_data_request_builder.go b/directory/outbound_shared_user_profiles_item_tenants_item_remove_personal_data_request_builder.go index 824f4157920..fd00739283b 100644 --- a/directory/outbound_shared_user_profiles_item_tenants_item_remove_personal_data_request_builder.go +++ b/directory/outbound_shared_user_profiles_item_tenants_item_remove_personal_data_request_builder.go @@ -61,3 +61,7 @@ func (m *OutboundSharedUserProfilesItemTenantsItemRemovePersonalDataRequestBuild } 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 *OutboundSharedUserProfilesItemTenantsItemRemovePersonalDataRequestBuilder) WithUrl(rawUrl string)(*OutboundSharedUserProfilesItemTenantsItemRemovePersonalDataRequestBuilder) { + return NewOutboundSharedUserProfilesItemTenantsItemRemovePersonalDataRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/outbound_shared_user_profiles_item_tenants_request_builder.go b/directory/outbound_shared_user_profiles_item_tenants_request_builder.go index 91b9b15f681..d3b05e12c3d 100644 --- a/directory/outbound_shared_user_profiles_item_tenants_request_builder.go +++ b/directory/outbound_shared_user_profiles_item_tenants_request_builder.go @@ -46,8 +46,8 @@ type OutboundSharedUserProfilesItemTenantsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTenantReferenceTenantIdString provides operations to manage the tenants property of the microsoft.graph.outboundSharedUserProfile entity. -func (m *OutboundSharedUserProfilesItemTenantsRequestBuilder) ByTenantReferenceTenantIdString(tenantReferenceTenantId string)(*OutboundSharedUserProfilesItemTenantsTenantReferenceTenantItemRequestBuilder) { +// ByTenantReferenceTenantId provides operations to manage the tenants property of the microsoft.graph.outboundSharedUserProfile entity. +func (m *OutboundSharedUserProfilesItemTenantsRequestBuilder) ByTenantReferenceTenantId(tenantReferenceTenantId string)(*OutboundSharedUserProfilesItemTenantsTenantReferenceTenantItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *OutboundSharedUserProfilesItemTenantsRequestBuilder) ToPostRequestInfor } 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 *OutboundSharedUserProfilesItemTenantsRequestBuilder) WithUrl(rawUrl string)(*OutboundSharedUserProfilesItemTenantsRequestBuilder) { + return NewOutboundSharedUserProfilesItemTenantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/outbound_shared_user_profiles_item_tenants_tenant_reference_tenant_item_request_builder.go b/directory/outbound_shared_user_profiles_item_tenants_tenant_reference_tenant_item_request_builder.go index 77ae017a258..7878169266f 100644 --- a/directory/outbound_shared_user_profiles_item_tenants_tenant_reference_tenant_item_request_builder.go +++ b/directory/outbound_shared_user_profiles_item_tenants_tenant_reference_tenant_item_request_builder.go @@ -157,3 +157,7 @@ func (m *OutboundSharedUserProfilesItemTenantsTenantReferenceTenantItemRequestBu } 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 *OutboundSharedUserProfilesItemTenantsTenantReferenceTenantItemRequestBuilder) WithUrl(rawUrl string)(*OutboundSharedUserProfilesItemTenantsTenantReferenceTenantItemRequestBuilder) { + return NewOutboundSharedUserProfilesItemTenantsTenantReferenceTenantItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/outbound_shared_user_profiles_outbound_shared_user_profile_user_item_request_builder.go b/directory/outbound_shared_user_profiles_outbound_shared_user_profile_user_item_request_builder.go index f1a616f799a..a3473540f43 100644 --- a/directory/outbound_shared_user_profiles_outbound_shared_user_profile_user_item_request_builder.go +++ b/directory/outbound_shared_user_profiles_outbound_shared_user_profile_user_item_request_builder.go @@ -160,3 +160,7 @@ func (m *OutboundSharedUserProfilesOutboundSharedUserProfileUserItemRequestBuild } 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 *OutboundSharedUserProfilesOutboundSharedUserProfileUserItemRequestBuilder) WithUrl(rawUrl string)(*OutboundSharedUserProfilesOutboundSharedUserProfileUserItemRequestBuilder) { + return NewOutboundSharedUserProfilesOutboundSharedUserProfileUserItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/outbound_shared_user_profiles_request_builder.go b/directory/outbound_shared_user_profiles_request_builder.go index 6983d86937e..dcb33b5b5f4 100644 --- a/directory/outbound_shared_user_profiles_request_builder.go +++ b/directory/outbound_shared_user_profiles_request_builder.go @@ -46,8 +46,8 @@ type OutboundSharedUserProfilesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOutboundSharedUserProfileUserIdString provides operations to manage the outboundSharedUserProfiles property of the microsoft.graph.directory entity. -func (m *OutboundSharedUserProfilesRequestBuilder) ByOutboundSharedUserProfileUserIdString(outboundSharedUserProfileUserId string)(*OutboundSharedUserProfilesOutboundSharedUserProfileUserItemRequestBuilder) { +// ByOutboundSharedUserProfileUserId provides operations to manage the outboundSharedUserProfiles property of the microsoft.graph.directory entity. +func (m *OutboundSharedUserProfilesRequestBuilder) ByOutboundSharedUserProfileUserId(outboundSharedUserProfileUserId string)(*OutboundSharedUserProfilesOutboundSharedUserProfileUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *OutboundSharedUserProfilesRequestBuilder) 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 *OutboundSharedUserProfilesRequestBuilder) WithUrl(rawUrl string)(*OutboundSharedUserProfilesRequestBuilder) { + return NewOutboundSharedUserProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/recommendations_count_request_builder.go b/directory/recommendations_count_request_builder.go index 3882585a341..ded81b84777 100644 --- a/directory/recommendations_count_request_builder.go +++ b/directory/recommendations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RecommendationsCountRequestBuilder) ToGetRequestInformation(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 *RecommendationsCountRequestBuilder) WithUrl(rawUrl string)(*RecommendationsCountRequestBuilder) { + return NewRecommendationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/recommendations_item_complete_request_builder.go b/directory/recommendations_item_complete_request_builder.go index aec4b3a2096..eaf1f6416e4 100644 --- a/directory/recommendations_item_complete_request_builder.go +++ b/directory/recommendations_item_complete_request_builder.go @@ -66,3 +66,7 @@ func (m *RecommendationsItemCompleteRequestBuilder) 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 *RecommendationsItemCompleteRequestBuilder) WithUrl(rawUrl string)(*RecommendationsItemCompleteRequestBuilder) { + return NewRecommendationsItemCompleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/recommendations_item_dismiss_request_builder.go b/directory/recommendations_item_dismiss_request_builder.go index 5bd49fffe0c..7ce6c052668 100644 --- a/directory/recommendations_item_dismiss_request_builder.go +++ b/directory/recommendations_item_dismiss_request_builder.go @@ -70,3 +70,7 @@ func (m *RecommendationsItemDismissRequestBuilder) 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 *RecommendationsItemDismissRequestBuilder) WithUrl(rawUrl string)(*RecommendationsItemDismissRequestBuilder) { + return NewRecommendationsItemDismissRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/recommendations_item_impacted_resources_count_request_builder.go b/directory/recommendations_item_impacted_resources_count_request_builder.go index f01c07d0ad0..511f13cc474 100644 --- a/directory/recommendations_item_impacted_resources_count_request_builder.go +++ b/directory/recommendations_item_impacted_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RecommendationsItemImpactedResourcesCountRequestBuilder) ToGetRequestIn } 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 *RecommendationsItemImpactedResourcesCountRequestBuilder) WithUrl(rawUrl string)(*RecommendationsItemImpactedResourcesCountRequestBuilder) { + return NewRecommendationsItemImpactedResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/recommendations_item_impacted_resources_impacted_resource_item_request_builder.go b/directory/recommendations_item_impacted_resources_impacted_resource_item_request_builder.go index 2dcf2a90025..5d05c06ccb6 100644 --- a/directory/recommendations_item_impacted_resources_impacted_resource_item_request_builder.go +++ b/directory/recommendations_item_impacted_resources_impacted_resource_item_request_builder.go @@ -169,3 +169,7 @@ func (m *RecommendationsItemImpactedResourcesImpactedResourceItemRequestBuilder) } 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 *RecommendationsItemImpactedResourcesImpactedResourceItemRequestBuilder) WithUrl(rawUrl string)(*RecommendationsItemImpactedResourcesImpactedResourceItemRequestBuilder) { + return NewRecommendationsItemImpactedResourcesImpactedResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/recommendations_item_impacted_resources_item_complete_request_builder.go b/directory/recommendations_item_impacted_resources_item_complete_request_builder.go index 0a4a322b8a9..0e99499abb1 100644 --- a/directory/recommendations_item_impacted_resources_item_complete_request_builder.go +++ b/directory/recommendations_item_impacted_resources_item_complete_request_builder.go @@ -66,3 +66,7 @@ func (m *RecommendationsItemImpactedResourcesItemCompleteRequestBuilder) ToPostR } 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 *RecommendationsItemImpactedResourcesItemCompleteRequestBuilder) WithUrl(rawUrl string)(*RecommendationsItemImpactedResourcesItemCompleteRequestBuilder) { + return NewRecommendationsItemImpactedResourcesItemCompleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/recommendations_item_impacted_resources_item_dismiss_request_builder.go b/directory/recommendations_item_impacted_resources_item_dismiss_request_builder.go index e1e9acded61..8620af06477 100644 --- a/directory/recommendations_item_impacted_resources_item_dismiss_request_builder.go +++ b/directory/recommendations_item_impacted_resources_item_dismiss_request_builder.go @@ -70,3 +70,7 @@ func (m *RecommendationsItemImpactedResourcesItemDismissRequestBuilder) ToPostRe } 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 *RecommendationsItemImpactedResourcesItemDismissRequestBuilder) WithUrl(rawUrl string)(*RecommendationsItemImpactedResourcesItemDismissRequestBuilder) { + return NewRecommendationsItemImpactedResourcesItemDismissRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/recommendations_item_impacted_resources_item_postpone_request_builder.go b/directory/recommendations_item_impacted_resources_item_postpone_request_builder.go index d0fd303d0c9..bd736dff4c3 100644 --- a/directory/recommendations_item_impacted_resources_item_postpone_request_builder.go +++ b/directory/recommendations_item_impacted_resources_item_postpone_request_builder.go @@ -70,3 +70,7 @@ func (m *RecommendationsItemImpactedResourcesItemPostponeRequestBuilder) ToPostR } 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 *RecommendationsItemImpactedResourcesItemPostponeRequestBuilder) WithUrl(rawUrl string)(*RecommendationsItemImpactedResourcesItemPostponeRequestBuilder) { + return NewRecommendationsItemImpactedResourcesItemPostponeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/recommendations_item_impacted_resources_item_reactivate_request_builder.go b/directory/recommendations_item_impacted_resources_item_reactivate_request_builder.go index 9167ebddc7c..3680e81336b 100644 --- a/directory/recommendations_item_impacted_resources_item_reactivate_request_builder.go +++ b/directory/recommendations_item_impacted_resources_item_reactivate_request_builder.go @@ -66,3 +66,7 @@ func (m *RecommendationsItemImpactedResourcesItemReactivateRequestBuilder) ToPos } 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 *RecommendationsItemImpactedResourcesItemReactivateRequestBuilder) WithUrl(rawUrl string)(*RecommendationsItemImpactedResourcesItemReactivateRequestBuilder) { + return NewRecommendationsItemImpactedResourcesItemReactivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/recommendations_item_impacted_resources_request_builder.go b/directory/recommendations_item_impacted_resources_request_builder.go index b46ec750b2f..5db245ccab2 100644 --- a/directory/recommendations_item_impacted_resources_request_builder.go +++ b/directory/recommendations_item_impacted_resources_request_builder.go @@ -46,8 +46,8 @@ type RecommendationsItemImpactedResourcesRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByImpactedResourceIdString provides operations to manage the impactedResources property of the microsoft.graph.recommendationBase entity. -func (m *RecommendationsItemImpactedResourcesRequestBuilder) ByImpactedResourceIdString(impactedResourceId string)(*RecommendationsItemImpactedResourcesImpactedResourceItemRequestBuilder) { +// ByImpactedResourceId provides operations to manage the impactedResources property of the microsoft.graph.recommendationBase entity. +func (m *RecommendationsItemImpactedResourcesRequestBuilder) ByImpactedResourceId(impactedResourceId string)(*RecommendationsItemImpactedResourcesImpactedResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *RecommendationsItemImpactedResourcesRequestBuilder) ToPostRequestInform } 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 *RecommendationsItemImpactedResourcesRequestBuilder) WithUrl(rawUrl string)(*RecommendationsItemImpactedResourcesRequestBuilder) { + return NewRecommendationsItemImpactedResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/recommendations_item_postpone_request_builder.go b/directory/recommendations_item_postpone_request_builder.go index c771fdbac88..cde7376ff72 100644 --- a/directory/recommendations_item_postpone_request_builder.go +++ b/directory/recommendations_item_postpone_request_builder.go @@ -70,3 +70,7 @@ func (m *RecommendationsItemPostponeRequestBuilder) 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 *RecommendationsItemPostponeRequestBuilder) WithUrl(rawUrl string)(*RecommendationsItemPostponeRequestBuilder) { + return NewRecommendationsItemPostponeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/recommendations_item_reactivate_request_builder.go b/directory/recommendations_item_reactivate_request_builder.go index 995d6d8861c..48b0e1752e3 100644 --- a/directory/recommendations_item_reactivate_request_builder.go +++ b/directory/recommendations_item_reactivate_request_builder.go @@ -66,3 +66,7 @@ func (m *RecommendationsItemReactivateRequestBuilder) ToPostRequestInformation(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 *RecommendationsItemReactivateRequestBuilder) WithUrl(rawUrl string)(*RecommendationsItemReactivateRequestBuilder) { + return NewRecommendationsItemReactivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/recommendations_recommendation_item_request_builder.go b/directory/recommendations_recommendation_item_request_builder.go index 1fd64e256df..9976aab9d8c 100644 --- a/directory/recommendations_recommendation_item_request_builder.go +++ b/directory/recommendations_recommendation_item_request_builder.go @@ -176,3 +176,7 @@ func (m *RecommendationsRecommendationItemRequestBuilder) ToPatchRequestInformat } 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 *RecommendationsRecommendationItemRequestBuilder) WithUrl(rawUrl string)(*RecommendationsRecommendationItemRequestBuilder) { + return NewRecommendationsRecommendationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/recommendations_request_builder.go b/directory/recommendations_request_builder.go index 8b29c4c2158..d04967891c2 100644 --- a/directory/recommendations_request_builder.go +++ b/directory/recommendations_request_builder.go @@ -46,8 +46,8 @@ type RecommendationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRecommendationIdString provides operations to manage the recommendations property of the microsoft.graph.directory entity. -func (m *RecommendationsRequestBuilder) ByRecommendationIdString(recommendationId string)(*RecommendationsRecommendationItemRequestBuilder) { +// ByRecommendationId provides operations to manage the recommendations property of the microsoft.graph.directory entity. +func (m *RecommendationsRequestBuilder) ByRecommendationId(recommendationId string)(*RecommendationsRecommendationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *RecommendationsRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *RecommendationsRequestBuilder) WithUrl(rawUrl string)(*RecommendationsRequestBuilder) { + return NewRecommendationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/shared_email_domains_count_request_builder.go b/directory/shared_email_domains_count_request_builder.go index 23daf56dc41..561e4a1f128 100644 --- a/directory/shared_email_domains_count_request_builder.go +++ b/directory/shared_email_domains_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SharedEmailDomainsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *SharedEmailDomainsCountRequestBuilder) WithUrl(rawUrl string)(*SharedEmailDomainsCountRequestBuilder) { + return NewSharedEmailDomainsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/shared_email_domains_request_builder.go b/directory/shared_email_domains_request_builder.go index d23b500c4db..abb0e4977a1 100644 --- a/directory/shared_email_domains_request_builder.go +++ b/directory/shared_email_domains_request_builder.go @@ -46,8 +46,8 @@ type SharedEmailDomainsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySharedEmailDomainIdString provides operations to manage the sharedEmailDomains property of the microsoft.graph.directory entity. -func (m *SharedEmailDomainsRequestBuilder) BySharedEmailDomainIdString(sharedEmailDomainId string)(*SharedEmailDomainsSharedEmailDomainItemRequestBuilder) { +// BySharedEmailDomainId provides operations to manage the sharedEmailDomains property of the microsoft.graph.directory entity. +func (m *SharedEmailDomainsRequestBuilder) BySharedEmailDomainId(sharedEmailDomainId string)(*SharedEmailDomainsSharedEmailDomainItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SharedEmailDomainsRequestBuilder) 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 *SharedEmailDomainsRequestBuilder) WithUrl(rawUrl string)(*SharedEmailDomainsRequestBuilder) { + return NewSharedEmailDomainsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/shared_email_domains_shared_email_domain_item_request_builder.go b/directory/shared_email_domains_shared_email_domain_item_request_builder.go index b29631f90ec..77f6d062bfd 100644 --- a/directory/shared_email_domains_shared_email_domain_item_request_builder.go +++ b/directory/shared_email_domains_shared_email_domain_item_request_builder.go @@ -153,3 +153,7 @@ func (m *SharedEmailDomainsSharedEmailDomainItemRequestBuilder) ToPatchRequestIn } 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 *SharedEmailDomainsSharedEmailDomainItemRequestBuilder) WithUrl(rawUrl string)(*SharedEmailDomainsSharedEmailDomainItemRequestBuilder) { + return NewSharedEmailDomainsSharedEmailDomainItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/subscriptions_company_subscription_item_request_builder.go b/directory/subscriptions_company_subscription_item_request_builder.go index 2c102836264..cc5d0125d53 100644 --- a/directory/subscriptions_company_subscription_item_request_builder.go +++ b/directory/subscriptions_company_subscription_item_request_builder.go @@ -156,3 +156,7 @@ func (m *SubscriptionsCompanySubscriptionItemRequestBuilder) ToPatchRequestInfor } 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 *SubscriptionsCompanySubscriptionItemRequestBuilder) WithUrl(rawUrl string)(*SubscriptionsCompanySubscriptionItemRequestBuilder) { + return NewSubscriptionsCompanySubscriptionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/subscriptions_count_request_builder.go b/directory/subscriptions_count_request_builder.go index baba92576c5..c4ccfedd9a0 100644 --- a/directory/subscriptions_count_request_builder.go +++ b/directory/subscriptions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SubscriptionsCountRequestBuilder) 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 *SubscriptionsCountRequestBuilder) WithUrl(rawUrl string)(*SubscriptionsCountRequestBuilder) { + return NewSubscriptionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/subscriptions_request_builder.go b/directory/subscriptions_request_builder.go index c777ef22498..c586e61e343 100644 --- a/directory/subscriptions_request_builder.go +++ b/directory/subscriptions_request_builder.go @@ -46,8 +46,8 @@ type SubscriptionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCompanySubscriptionIdString provides operations to manage the subscriptions property of the microsoft.graph.directory entity. -func (m *SubscriptionsRequestBuilder) ByCompanySubscriptionIdString(companySubscriptionId string)(*SubscriptionsCompanySubscriptionItemRequestBuilder) { +// ByCompanySubscriptionId provides operations to manage the subscriptions property of the microsoft.graph.directory entity. +func (m *SubscriptionsRequestBuilder) ByCompanySubscriptionId(companySubscriptionId string)(*SubscriptionsCompanySubscriptionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *SubscriptionsRequestBuilder) 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 *SubscriptionsRequestBuilder) WithUrl(rawUrl string)(*SubscriptionsRequestBuilder) { + return NewSubscriptionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryobjects/count_request_builder.go b/directoryobjects/count_request_builder.go index 658e01e9d56..69c1351bc6a 100644 --- a/directoryobjects/count_request_builder.go +++ b/directoryobjects/count_request_builder.go @@ -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); +} diff --git a/directoryobjects/delta_request_builder.go b/directoryobjects/delta_request_builder.go index ac1d08bf95e..835f7c3989f 100644 --- a/directoryobjects/delta_request_builder.go +++ b/directoryobjects/delta_request_builder.go @@ -84,3 +84,7 @@ func (m *DeltaRequestBuilder) 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 *DeltaRequestBuilder) WithUrl(rawUrl string)(*DeltaRequestBuilder) { + return NewDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryobjects/directory_object_item_request_builder.go b/directoryobjects/directory_object_item_request_builder.go index c24b3ca4f11..6b2884f7605 100644 --- a/directoryobjects/directory_object_item_request_builder.go +++ b/directoryobjects/directory_object_item_request_builder.go @@ -179,3 +179,7 @@ func (m *DirectoryObjectItemRequestBuilder) ToPatchRequestInformation(ctx contex } 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 *DirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*DirectoryObjectItemRequestBuilder) { + return NewDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryobjects/directory_objects_request_builder.go b/directoryobjects/directory_objects_request_builder.go index c233e4a7f9b..8865cdc3d10 100644 --- a/directoryobjects/directory_objects_request_builder.go +++ b/directoryobjects/directory_objects_request_builder.go @@ -46,8 +46,8 @@ type DirectoryObjectsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDirectoryObjectIdString provides operations to manage the collection of directoryObject entities. -func (m *DirectoryObjectsRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*DirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the collection of directoryObject entities. +func (m *DirectoryObjectsRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*DirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -161,3 +161,7 @@ func (m *DirectoryObjectsRequestBuilder) ToPostRequestInformation(ctx context.Co func (m *DirectoryObjectsRequestBuilder) ValidateProperties()(*ValidatePropertiesRequestBuilder) { return NewValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DirectoryObjectsRequestBuilder) WithUrl(rawUrl string)(*DirectoryObjectsRequestBuilder) { + return NewDirectoryObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryobjects/get_by_ids_request_builder.go b/directoryobjects/get_by_ids_request_builder.go index 889230367b2..1f4349daec9 100644 --- a/directoryobjects/get_by_ids_request_builder.go +++ b/directoryobjects/get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *GetByIdsRequestBuilder) WithUrl(rawUrl string)(*GetByIdsRequestBuilder) { + return NewGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryobjects/get_user_owned_objects_request_builder.go b/directoryobjects/get_user_owned_objects_request_builder.go index b928bb8db4a..34cc1e9f912 100644 --- a/directoryobjects/get_user_owned_objects_request_builder.go +++ b/directoryobjects/get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) 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 *GetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*GetUserOwnedObjectsRequestBuilder) { + return NewGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryobjects/item_check_member_groups_request_builder.go b/directoryobjects/item_check_member_groups_request_builder.go index 19776a5e90d..c74b9cbdc66 100644 --- a/directoryobjects/item_check_member_groups_request_builder.go +++ b/directoryobjects/item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) 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 *ItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberGroupsRequestBuilder) { + return NewItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryobjects/item_check_member_objects_request_builder.go b/directoryobjects/item_check_member_objects_request_builder.go index 3582101559c..1af0450b719 100644 --- a/directoryobjects/item_check_member_objects_request_builder.go +++ b/directoryobjects/item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberObjectsRequestBuilder) { + return NewItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryobjects/item_get_member_groups_request_builder.go b/directoryobjects/item_get_member_groups_request_builder.go index 03b97d4cc52..b545ff4374a 100644 --- a/directoryobjects/item_get_member_groups_request_builder.go +++ b/directoryobjects/item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) 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 *ItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberGroupsRequestBuilder) { + return NewItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryobjects/item_get_member_objects_request_builder.go b/directoryobjects/item_get_member_objects_request_builder.go index 453260db76d..6a7b2f70527 100644 --- a/directoryobjects/item_get_member_objects_request_builder.go +++ b/directoryobjects/item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberObjectsRequestBuilder) { + return NewItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryobjects/item_restore_request_builder.go b/directoryobjects/item_restore_request_builder.go index aebdd2a77d5..d6e09f83689 100644 --- a/directoryobjects/item_restore_request_builder.go +++ b/directoryobjects/item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemRestoreRequestBuilder) { + return NewItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryobjects/validate_properties_request_builder.go b/directoryobjects/validate_properties_request_builder.go index 2a7e3721b21..34a9a875c0f 100644 --- a/directoryobjects/validate_properties_request_builder.go +++ b/directoryobjects/validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ValidatePropertiesRequestBuilder) 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 *ValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ValidatePropertiesRequestBuilder) { + return NewValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/count_request_builder.go b/directoryroles/count_request_builder.go index 24cecf516a7..7cdf9a893eb 100644 --- a/directoryroles/count_request_builder.go +++ b/directoryroles/count_request_builder.go @@ -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); +} diff --git a/directoryroles/delta_request_builder.go b/directoryroles/delta_request_builder.go index bc8874d6028..b353ef5db53 100644 --- a/directoryroles/delta_request_builder.go +++ b/directoryroles/delta_request_builder.go @@ -84,3 +84,7 @@ func (m *DeltaRequestBuilder) 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 *DeltaRequestBuilder) WithUrl(rawUrl string)(*DeltaRequestBuilder) { + return NewDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/directory_role_item_request_builder.go b/directoryroles/directory_role_item_request_builder.go index 9a03b77b66a..567be2aefb6 100644 --- a/directoryroles/directory_role_item_request_builder.go +++ b/directoryroles/directory_role_item_request_builder.go @@ -184,3 +184,7 @@ func (m *DirectoryRoleItemRequestBuilder) ToPatchRequestInformation(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 *DirectoryRoleItemRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleItemRequestBuilder) { + return NewDirectoryRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/directory_roles_request_builder.go b/directoryroles/directory_roles_request_builder.go index 654b543bf65..22727356605 100644 --- a/directoryroles/directory_roles_request_builder.go +++ b/directoryroles/directory_roles_request_builder.go @@ -44,8 +44,8 @@ type DirectoryRolesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDirectoryRoleIdString provides operations to manage the collection of directoryRole entities. -func (m *DirectoryRolesRequestBuilder) ByDirectoryRoleIdString(directoryRoleId string)(*DirectoryRoleItemRequestBuilder) { +// ByDirectoryRoleId provides operations to manage the collection of directoryRole entities. +func (m *DirectoryRolesRequestBuilder) ByDirectoryRoleId(directoryRoleId string)(*DirectoryRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -165,3 +165,7 @@ func (m *DirectoryRolesRequestBuilder) ToPostRequestInformation(ctx context.Cont func (m *DirectoryRolesRequestBuilder) ValidateProperties()(*ValidatePropertiesRequestBuilder) { return NewValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DirectoryRolesRequestBuilder) WithUrl(rawUrl string)(*DirectoryRolesRequestBuilder) { + return NewDirectoryRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/get_by_ids_request_builder.go b/directoryroles/get_by_ids_request_builder.go index 6011a9ffcc2..9ef5976591a 100644 --- a/directoryroles/get_by_ids_request_builder.go +++ b/directoryroles/get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *GetByIdsRequestBuilder) WithUrl(rawUrl string)(*GetByIdsRequestBuilder) { + return NewGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/get_user_owned_objects_request_builder.go b/directoryroles/get_user_owned_objects_request_builder.go index fb03c469ef2..88d487b6449 100644 --- a/directoryroles/get_user_owned_objects_request_builder.go +++ b/directoryroles/get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) 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 *GetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*GetUserOwnedObjectsRequestBuilder) { + return NewGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_check_member_groups_request_builder.go b/directoryroles/item_check_member_groups_request_builder.go index 80255da328a..4f2df076322 100644 --- a/directoryroles/item_check_member_groups_request_builder.go +++ b/directoryroles/item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) 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 *ItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberGroupsRequestBuilder) { + return NewItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_check_member_objects_request_builder.go b/directoryroles/item_check_member_objects_request_builder.go index 9360aba173f..aef8b0625c5 100644 --- a/directoryroles/item_check_member_objects_request_builder.go +++ b/directoryroles/item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberObjectsRequestBuilder) { + return NewItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_get_member_groups_request_builder.go b/directoryroles/item_get_member_groups_request_builder.go index 2d97b5972ba..6a6fdc61fa6 100644 --- a/directoryroles/item_get_member_groups_request_builder.go +++ b/directoryroles/item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) 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 *ItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberGroupsRequestBuilder) { + return NewItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_get_member_objects_request_builder.go b/directoryroles/item_get_member_objects_request_builder.go index b7f2f4ae0a0..f2891cfd3b4 100644 --- a/directoryroles/item_get_member_objects_request_builder.go +++ b/directoryroles/item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberObjectsRequestBuilder) { + return NewItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_members_count_request_builder.go b/directoryroles/item_members_count_request_builder.go index e2809406b81..99a8ee5e267 100644 --- a/directoryroles/item_members_count_request_builder.go +++ b/directoryroles/item_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersCountRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *ItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersCountRequestBuilder) { + return NewItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_members_graph_application_count_request_builder.go b/directoryroles/item_members_graph_application_count_request_builder.go index 3d1c9aec8be..5871f316d5b 100644 --- a/directoryroles/item_members_graph_application_count_request_builder.go +++ b/directoryroles/item_members_graph_application_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersGraphApplicationCountRequestBuilder) 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 *ItemMembersGraphApplicationCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphApplicationCountRequestBuilder) { + return NewItemMembersGraphApplicationCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_members_graph_application_request_builder.go b/directoryroles/item_members_graph_application_request_builder.go index f02f2b0787e..67f70d9262b 100644 --- a/directoryroles/item_members_graph_application_request_builder.go +++ b/directoryroles/item_members_graph_application_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersGraphApplicationRequestBuilder) ToGetRequestInformation(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 *ItemMembersGraphApplicationRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphApplicationRequestBuilder) { + return NewItemMembersGraphApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_members_graph_device_count_request_builder.go b/directoryroles/item_members_graph_device_count_request_builder.go index d22cc0fe28d..ec6bfab92ae 100644 --- a/directoryroles/item_members_graph_device_count_request_builder.go +++ b/directoryroles/item_members_graph_device_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersGraphDeviceCountRequestBuilder) ToGetRequestInformation(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 *ItemMembersGraphDeviceCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphDeviceCountRequestBuilder) { + return NewItemMembersGraphDeviceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_members_graph_device_request_builder.go b/directoryroles/item_members_graph_device_request_builder.go index aa53b6a131a..87284f99596 100644 --- a/directoryroles/item_members_graph_device_request_builder.go +++ b/directoryroles/item_members_graph_device_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersGraphDeviceRequestBuilder) ToGetRequestInformation(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 *ItemMembersGraphDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphDeviceRequestBuilder) { + return NewItemMembersGraphDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_members_graph_group_count_request_builder.go b/directoryroles/item_members_graph_group_count_request_builder.go index fb3253b6acc..5b5aadb0bf1 100644 --- a/directoryroles/item_members_graph_group_count_request_builder.go +++ b/directoryroles/item_members_graph_group_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersGraphGroupCountRequestBuilder) ToGetRequestInformation(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 *ItemMembersGraphGroupCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphGroupCountRequestBuilder) { + return NewItemMembersGraphGroupCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_members_graph_group_request_builder.go b/directoryroles/item_members_graph_group_request_builder.go index ae160afe7c4..e6086e4b68e 100644 --- a/directoryroles/item_members_graph_group_request_builder.go +++ b/directoryroles/item_members_graph_group_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersGraphGroupRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemMembersGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphGroupRequestBuilder) { + return NewItemMembersGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_members_graph_org_contact_count_request_builder.go b/directoryroles/item_members_graph_org_contact_count_request_builder.go index 1c3106fc19f..ea73be206bc 100644 --- a/directoryroles/item_members_graph_org_contact_count_request_builder.go +++ b/directoryroles/item_members_graph_org_contact_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersGraphOrgContactCountRequestBuilder) 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 *ItemMembersGraphOrgContactCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphOrgContactCountRequestBuilder) { + return NewItemMembersGraphOrgContactCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_members_graph_org_contact_request_builder.go b/directoryroles/item_members_graph_org_contact_request_builder.go index a073861c8c1..bc41c3913f4 100644 --- a/directoryroles/item_members_graph_org_contact_request_builder.go +++ b/directoryroles/item_members_graph_org_contact_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersGraphOrgContactRequestBuilder) ToGetRequestInformation(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 *ItemMembersGraphOrgContactRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphOrgContactRequestBuilder) { + return NewItemMembersGraphOrgContactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_members_graph_service_principal_count_request_builder.go b/directoryroles/item_members_graph_service_principal_count_request_builder.go index 5a9db82acad..a507a94b5a5 100644 --- a/directoryroles/item_members_graph_service_principal_count_request_builder.go +++ b/directoryroles/item_members_graph_service_principal_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersGraphServicePrincipalCountRequestBuilder) ToGetRequestInform } 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 *ItemMembersGraphServicePrincipalCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphServicePrincipalCountRequestBuilder) { + return NewItemMembersGraphServicePrincipalCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_members_graph_service_principal_request_builder.go b/directoryroles/item_members_graph_service_principal_request_builder.go index 9bd06557734..1c483b71d90 100644 --- a/directoryroles/item_members_graph_service_principal_request_builder.go +++ b/directoryroles/item_members_graph_service_principal_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersGraphServicePrincipalRequestBuilder) 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 *ItemMembersGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphServicePrincipalRequestBuilder) { + return NewItemMembersGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_members_graph_user_count_request_builder.go b/directoryroles/item_members_graph_user_count_request_builder.go index 36312f87068..f6671489d42 100644 --- a/directoryroles/item_members_graph_user_count_request_builder.go +++ b/directoryroles/item_members_graph_user_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersGraphUserCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemMembersGraphUserCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphUserCountRequestBuilder) { + return NewItemMembersGraphUserCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_members_graph_user_request_builder.go b/directoryroles/item_members_graph_user_request_builder.go index 9298ea138d6..ce22f561d86 100644 --- a/directoryroles/item_members_graph_user_request_builder.go +++ b/directoryroles/item_members_graph_user_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersGraphUserRequestBuilder) ToGetRequestInformation(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 *ItemMembersGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphUserRequestBuilder) { + return NewItemMembersGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_members_item_graph_application_request_builder.go b/directoryroles/item_members_item_graph_application_request_builder.go index c3ad35d27f1..43f093c0402 100644 --- a/directoryroles/item_members_item_graph_application_request_builder.go +++ b/directoryroles/item_members_item_graph_application_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersItemGraphApplicationRequestBuilder) 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 *ItemMembersItemGraphApplicationRequestBuilder) WithUrl(rawUrl string)(*ItemMembersItemGraphApplicationRequestBuilder) { + return NewItemMembersItemGraphApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_members_item_graph_device_request_builder.go b/directoryroles/item_members_item_graph_device_request_builder.go index 96514fad49c..32bd9b2a1bf 100644 --- a/directoryroles/item_members_item_graph_device_request_builder.go +++ b/directoryroles/item_members_item_graph_device_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersItemGraphDeviceRequestBuilder) ToGetRequestInformation(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 *ItemMembersItemGraphDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemMembersItemGraphDeviceRequestBuilder) { + return NewItemMembersItemGraphDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_members_item_graph_group_request_builder.go b/directoryroles/item_members_item_graph_group_request_builder.go index 9c687149a2a..afab0beaa97 100644 --- a/directoryroles/item_members_item_graph_group_request_builder.go +++ b/directoryroles/item_members_item_graph_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersItemGraphGroupRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemMembersItemGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemMembersItemGraphGroupRequestBuilder) { + return NewItemMembersItemGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_members_item_graph_org_contact_request_builder.go b/directoryroles/item_members_item_graph_org_contact_request_builder.go index 8a6859418ae..706988978da 100644 --- a/directoryroles/item_members_item_graph_org_contact_request_builder.go +++ b/directoryroles/item_members_item_graph_org_contact_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersItemGraphOrgContactRequestBuilder) ToGetRequestInformation(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 *ItemMembersItemGraphOrgContactRequestBuilder) WithUrl(rawUrl string)(*ItemMembersItemGraphOrgContactRequestBuilder) { + return NewItemMembersItemGraphOrgContactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_members_item_graph_service_principal_request_builder.go b/directoryroles/item_members_item_graph_service_principal_request_builder.go index a0b76b29744..14abf56d180 100644 --- a/directoryroles/item_members_item_graph_service_principal_request_builder.go +++ b/directoryroles/item_members_item_graph_service_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersItemGraphServicePrincipalRequestBuilder) ToGetRequestInforma } 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 *ItemMembersItemGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemMembersItemGraphServicePrincipalRequestBuilder) { + return NewItemMembersItemGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_members_item_graph_user_request_builder.go b/directoryroles/item_members_item_graph_user_request_builder.go index a71335e3db3..05112a71e1c 100644 --- a/directoryroles/item_members_item_graph_user_request_builder.go +++ b/directoryroles/item_members_item_graph_user_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersItemGraphUserRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemMembersItemGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemMembersItemGraphUserRequestBuilder) { + return NewItemMembersItemGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_members_item_ref_request_builder.go b/directoryroles/item_members_item_ref_request_builder.go index 3b90e8a0e07..02cd6de929a 100644 --- a/directoryroles/item_members_item_ref_request_builder.go +++ b/directoryroles/item_members_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *ItemMembersItemRefRequestBuilder) ToDeleteRequestInformation(ctx contex } 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 *ItemMembersItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemMembersItemRefRequestBuilder) { + return NewItemMembersItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_members_ref_request_builder.go b/directoryroles/item_members_ref_request_builder.go index 87ed872cabb..79aaa69b6c0 100644 --- a/directoryroles/item_members_ref_request_builder.go +++ b/directoryroles/item_members_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *ItemMembersRefRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *ItemMembersRefRequestBuilder) WithUrl(rawUrl string)(*ItemMembersRefRequestBuilder) { + return NewItemMembersRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_members_request_builder.go b/directoryroles/item_members_request_builder.go index 3a3e1acaa04..71eec31e05c 100644 --- a/directoryroles/item_members_request_builder.go +++ b/directoryroles/item_members_request_builder.go @@ -39,8 +39,8 @@ type ItemMembersRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemMembersRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.directoryRoles.item.members.item collection -func (m *ItemMembersRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemMembersDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.directoryRoles.item.members.item collection +func (m *ItemMembersRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemMembersDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -133,3 +133,7 @@ func (m *ItemMembersRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemMembersRequestBuilder) WithUrl(rawUrl string)(*ItemMembersRequestBuilder) { + return NewItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_restore_request_builder.go b/directoryroles/item_restore_request_builder.go index 0e2c7ca903e..44fc4a25809 100644 --- a/directoryroles/item_restore_request_builder.go +++ b/directoryroles/item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemRestoreRequestBuilder) { + return NewItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_scoped_members_count_request_builder.go b/directoryroles/item_scoped_members_count_request_builder.go index 01061e8b85b..8a665572ce0 100644 --- a/directoryroles/item_scoped_members_count_request_builder.go +++ b/directoryroles/item_scoped_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemScopedMembersCountRequestBuilder) ToGetRequestInformation(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 *ItemScopedMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemScopedMembersCountRequestBuilder) { + return NewItemScopedMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_scoped_members_request_builder.go b/directoryroles/item_scoped_members_request_builder.go index f9ec8760885..6995ea56fce 100644 --- a/directoryroles/item_scoped_members_request_builder.go +++ b/directoryroles/item_scoped_members_request_builder.go @@ -46,8 +46,8 @@ type ItemScopedMembersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByScopedRoleMembershipIdString provides operations to manage the scopedMembers property of the microsoft.graph.directoryRole entity. -func (m *ItemScopedMembersRequestBuilder) ByScopedRoleMembershipIdString(scopedRoleMembershipId string)(*ItemScopedMembersScopedRoleMembershipItemRequestBuilder) { +// ByScopedRoleMembershipId provides operations to manage the scopedMembers property of the microsoft.graph.directoryRole entity. +func (m *ItemScopedMembersRequestBuilder) ByScopedRoleMembershipId(scopedRoleMembershipId string)(*ItemScopedMembersScopedRoleMembershipItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemScopedMembersRequestBuilder) ToPostRequestInformation(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 *ItemScopedMembersRequestBuilder) WithUrl(rawUrl string)(*ItemScopedMembersRequestBuilder) { + return NewItemScopedMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/item_scoped_members_scoped_role_membership_item_request_builder.go b/directoryroles/item_scoped_members_scoped_role_membership_item_request_builder.go index e31eae0e459..801b145472f 100644 --- a/directoryroles/item_scoped_members_scoped_role_membership_item_request_builder.go +++ b/directoryroles/item_scoped_members_scoped_role_membership_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemScopedMembersScopedRoleMembershipItemRequestBuilder) ToPatchRequest } 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 *ItemScopedMembersScopedRoleMembershipItemRequestBuilder) WithUrl(rawUrl string)(*ItemScopedMembersScopedRoleMembershipItemRequestBuilder) { + return NewItemScopedMembersScopedRoleMembershipItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroles/validate_properties_request_builder.go b/directoryroles/validate_properties_request_builder.go index 68bd64e926e..5db0a2fe62f 100644 --- a/directoryroles/validate_properties_request_builder.go +++ b/directoryroles/validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ValidatePropertiesRequestBuilder) 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 *ValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ValidatePropertiesRequestBuilder) { + return NewValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroleswithroletemplateid/directory_roles_with_role_template_id_request_builder.go b/directoryroleswithroletemplateid/directory_roles_with_role_template_id_request_builder.go index c6641cd6bd4..22634729962 100644 --- a/directoryroleswithroletemplateid/directory_roles_with_role_template_id_request_builder.go +++ b/directoryroleswithroletemplateid/directory_roles_with_role_template_id_request_builder.go @@ -159,3 +159,7 @@ func (m *DirectoryRolesWithRoleTemplateIdRequestBuilder) ToPatchRequestInformati } 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 *DirectoryRolesWithRoleTemplateIdRequestBuilder) WithUrl(rawUrl string)(*DirectoryRolesWithRoleTemplateIdRequestBuilder) { + return NewDirectoryRolesWithRoleTemplateIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroletemplates/count_request_builder.go b/directoryroletemplates/count_request_builder.go index 35bdcacbed2..536dd9aa2e5 100644 --- a/directoryroletemplates/count_request_builder.go +++ b/directoryroletemplates/count_request_builder.go @@ -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); +} diff --git a/directoryroletemplates/delta_request_builder.go b/directoryroletemplates/delta_request_builder.go index b5cb2b78524..3d64a3c6c50 100644 --- a/directoryroletemplates/delta_request_builder.go +++ b/directoryroletemplates/delta_request_builder.go @@ -84,3 +84,7 @@ func (m *DeltaRequestBuilder) 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 *DeltaRequestBuilder) WithUrl(rawUrl string)(*DeltaRequestBuilder) { + return NewDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroletemplates/directory_role_template_item_request_builder.go b/directoryroletemplates/directory_role_template_item_request_builder.go index 50f1a12398f..3751e61df4e 100644 --- a/directoryroletemplates/directory_role_template_item_request_builder.go +++ b/directoryroletemplates/directory_role_template_item_request_builder.go @@ -176,3 +176,7 @@ func (m *DirectoryRoleTemplateItemRequestBuilder) ToPatchRequestInformation(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 *DirectoryRoleTemplateItemRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleTemplateItemRequestBuilder) { + return NewDirectoryRoleTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroletemplates/directory_role_templates_request_builder.go b/directoryroletemplates/directory_role_templates_request_builder.go index 63e0a1f1497..33d830f9887 100644 --- a/directoryroletemplates/directory_role_templates_request_builder.go +++ b/directoryroletemplates/directory_role_templates_request_builder.go @@ -44,8 +44,8 @@ type DirectoryRoleTemplatesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDirectoryRoleTemplateIdString provides operations to manage the collection of directoryRoleTemplate entities. -func (m *DirectoryRoleTemplatesRequestBuilder) ByDirectoryRoleTemplateIdString(directoryRoleTemplateId string)(*DirectoryRoleTemplateItemRequestBuilder) { +// ByDirectoryRoleTemplateId provides operations to manage the collection of directoryRoleTemplate entities. +func (m *DirectoryRoleTemplatesRequestBuilder) ByDirectoryRoleTemplateId(directoryRoleTemplateId string)(*DirectoryRoleTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -162,3 +162,7 @@ func (m *DirectoryRoleTemplatesRequestBuilder) ToPostRequestInformation(ctx cont func (m *DirectoryRoleTemplatesRequestBuilder) ValidateProperties()(*ValidatePropertiesRequestBuilder) { return NewValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DirectoryRoleTemplatesRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleTemplatesRequestBuilder) { + return NewDirectoryRoleTemplatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroletemplates/get_by_ids_request_builder.go b/directoryroletemplates/get_by_ids_request_builder.go index 05f5493afd6..95412390a75 100644 --- a/directoryroletemplates/get_by_ids_request_builder.go +++ b/directoryroletemplates/get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *GetByIdsRequestBuilder) WithUrl(rawUrl string)(*GetByIdsRequestBuilder) { + return NewGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroletemplates/get_user_owned_objects_request_builder.go b/directoryroletemplates/get_user_owned_objects_request_builder.go index 104e737a2b6..547392781c1 100644 --- a/directoryroletemplates/get_user_owned_objects_request_builder.go +++ b/directoryroletemplates/get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) 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 *GetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*GetUserOwnedObjectsRequestBuilder) { + return NewGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroletemplates/item_check_member_groups_request_builder.go b/directoryroletemplates/item_check_member_groups_request_builder.go index 3d555a4993c..a9a69707017 100644 --- a/directoryroletemplates/item_check_member_groups_request_builder.go +++ b/directoryroletemplates/item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) 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 *ItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberGroupsRequestBuilder) { + return NewItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroletemplates/item_check_member_objects_request_builder.go b/directoryroletemplates/item_check_member_objects_request_builder.go index 354c90e0d0f..54216f72b16 100644 --- a/directoryroletemplates/item_check_member_objects_request_builder.go +++ b/directoryroletemplates/item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberObjectsRequestBuilder) { + return NewItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroletemplates/item_get_member_groups_request_builder.go b/directoryroletemplates/item_get_member_groups_request_builder.go index df21662bdbc..2c340bdf877 100644 --- a/directoryroletemplates/item_get_member_groups_request_builder.go +++ b/directoryroletemplates/item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) 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 *ItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberGroupsRequestBuilder) { + return NewItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroletemplates/item_get_member_objects_request_builder.go b/directoryroletemplates/item_get_member_objects_request_builder.go index 80362621153..b063ca11284 100644 --- a/directoryroletemplates/item_get_member_objects_request_builder.go +++ b/directoryroletemplates/item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberObjectsRequestBuilder) { + return NewItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroletemplates/item_restore_request_builder.go b/directoryroletemplates/item_restore_request_builder.go index dd189dc875c..34c88391cf7 100644 --- a/directoryroletemplates/item_restore_request_builder.go +++ b/directoryroletemplates/item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemRestoreRequestBuilder) { + return NewItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directoryroletemplates/validate_properties_request_builder.go b/directoryroletemplates/validate_properties_request_builder.go index 7823d4f2121..0f6b908595a 100644 --- a/directoryroletemplates/validate_properties_request_builder.go +++ b/directoryroletemplates/validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ValidatePropertiesRequestBuilder) 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 *ValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ValidatePropertiesRequestBuilder) { + return NewValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directorysettingtemplates/count_request_builder.go b/directorysettingtemplates/count_request_builder.go index 155c45cc08e..e7ca45bb455 100644 --- a/directorysettingtemplates/count_request_builder.go +++ b/directorysettingtemplates/count_request_builder.go @@ -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); +} diff --git a/directorysettingtemplates/delta_request_builder.go b/directorysettingtemplates/delta_request_builder.go index 484ead11a0c..a97bd6f18b8 100644 --- a/directorysettingtemplates/delta_request_builder.go +++ b/directorysettingtemplates/delta_request_builder.go @@ -84,3 +84,7 @@ func (m *DeltaRequestBuilder) 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 *DeltaRequestBuilder) WithUrl(rawUrl string)(*DeltaRequestBuilder) { + return NewDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directorysettingtemplates/directory_setting_template_item_request_builder.go b/directorysettingtemplates/directory_setting_template_item_request_builder.go index 9918bd526c0..88df39903ee 100644 --- a/directorysettingtemplates/directory_setting_template_item_request_builder.go +++ b/directorysettingtemplates/directory_setting_template_item_request_builder.go @@ -176,3 +176,7 @@ func (m *DirectorySettingTemplateItemRequestBuilder) ToPatchRequestInformation(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 *DirectorySettingTemplateItemRequestBuilder) WithUrl(rawUrl string)(*DirectorySettingTemplateItemRequestBuilder) { + return NewDirectorySettingTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directorysettingtemplates/directory_setting_templates_request_builder.go b/directorysettingtemplates/directory_setting_templates_request_builder.go index 0885f359f9a..be2b25af36f 100644 --- a/directorysettingtemplates/directory_setting_templates_request_builder.go +++ b/directorysettingtemplates/directory_setting_templates_request_builder.go @@ -46,8 +46,8 @@ type DirectorySettingTemplatesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDirectorySettingTemplateIdString provides operations to manage the collection of directorySettingTemplate entities. -func (m *DirectorySettingTemplatesRequestBuilder) ByDirectorySettingTemplateIdString(directorySettingTemplateId string)(*DirectorySettingTemplateItemRequestBuilder) { +// ByDirectorySettingTemplateId provides operations to manage the collection of directorySettingTemplate entities. +func (m *DirectorySettingTemplatesRequestBuilder) ByDirectorySettingTemplateId(directorySettingTemplateId string)(*DirectorySettingTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -164,3 +164,7 @@ func (m *DirectorySettingTemplatesRequestBuilder) ToPostRequestInformation(ctx c func (m *DirectorySettingTemplatesRequestBuilder) ValidateProperties()(*ValidatePropertiesRequestBuilder) { return NewValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DirectorySettingTemplatesRequestBuilder) WithUrl(rawUrl string)(*DirectorySettingTemplatesRequestBuilder) { + return NewDirectorySettingTemplatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directorysettingtemplates/get_by_ids_request_builder.go b/directorysettingtemplates/get_by_ids_request_builder.go index 4600d4f60ec..6e8ef4491de 100644 --- a/directorysettingtemplates/get_by_ids_request_builder.go +++ b/directorysettingtemplates/get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *GetByIdsRequestBuilder) WithUrl(rawUrl string)(*GetByIdsRequestBuilder) { + return NewGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directorysettingtemplates/get_user_owned_objects_request_builder.go b/directorysettingtemplates/get_user_owned_objects_request_builder.go index e1bc47616a1..9ce98f5bbb5 100644 --- a/directorysettingtemplates/get_user_owned_objects_request_builder.go +++ b/directorysettingtemplates/get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) 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 *GetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*GetUserOwnedObjectsRequestBuilder) { + return NewGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directorysettingtemplates/item_check_member_groups_request_builder.go b/directorysettingtemplates/item_check_member_groups_request_builder.go index 174c1104e12..753e26c2d68 100644 --- a/directorysettingtemplates/item_check_member_groups_request_builder.go +++ b/directorysettingtemplates/item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) 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 *ItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberGroupsRequestBuilder) { + return NewItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directorysettingtemplates/item_check_member_objects_request_builder.go b/directorysettingtemplates/item_check_member_objects_request_builder.go index a8cc89e7f2a..3092d8b82fa 100644 --- a/directorysettingtemplates/item_check_member_objects_request_builder.go +++ b/directorysettingtemplates/item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberObjectsRequestBuilder) { + return NewItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directorysettingtemplates/item_get_member_groups_request_builder.go b/directorysettingtemplates/item_get_member_groups_request_builder.go index 4d21921a9a8..6ef796af327 100644 --- a/directorysettingtemplates/item_get_member_groups_request_builder.go +++ b/directorysettingtemplates/item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) 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 *ItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberGroupsRequestBuilder) { + return NewItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directorysettingtemplates/item_get_member_objects_request_builder.go b/directorysettingtemplates/item_get_member_objects_request_builder.go index 7864e72f587..32130c66af0 100644 --- a/directorysettingtemplates/item_get_member_objects_request_builder.go +++ b/directorysettingtemplates/item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberObjectsRequestBuilder) { + return NewItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directorysettingtemplates/item_restore_request_builder.go b/directorysettingtemplates/item_restore_request_builder.go index 068a3006f72..58b8dab4607 100644 --- a/directorysettingtemplates/item_restore_request_builder.go +++ b/directorysettingtemplates/item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemRestoreRequestBuilder) { + return NewItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directorysettingtemplates/validate_properties_request_builder.go b/directorysettingtemplates/validate_properties_request_builder.go index e169bc409d0..8bbc0cbaf67 100644 --- a/directorysettingtemplates/validate_properties_request_builder.go +++ b/directorysettingtemplates/validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ValidatePropertiesRequestBuilder) 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 *ValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ValidatePropertiesRequestBuilder) { + return NewValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domaindnsrecords/count_request_builder.go b/domaindnsrecords/count_request_builder.go index fcb4a80c97d..b51fb448980 100644 --- a/domaindnsrecords/count_request_builder.go +++ b/domaindnsrecords/count_request_builder.go @@ -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); +} diff --git a/domaindnsrecords/domain_dns_record_item_request_builder.go b/domaindnsrecords/domain_dns_record_item_request_builder.go index f291bcc9b72..9b67ce66af8 100644 --- a/domaindnsrecords/domain_dns_record_item_request_builder.go +++ b/domaindnsrecords/domain_dns_record_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DomainDnsRecordItemRequestBuilder) ToPatchRequestInformation(ctx contex } 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 *DomainDnsRecordItemRequestBuilder) WithUrl(rawUrl string)(*DomainDnsRecordItemRequestBuilder) { + return NewDomainDnsRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domaindnsrecords/domain_dns_records_request_builder.go b/domaindnsrecords/domain_dns_records_request_builder.go index a77a049bfbc..e4395395c98 100644 --- a/domaindnsrecords/domain_dns_records_request_builder.go +++ b/domaindnsrecords/domain_dns_records_request_builder.go @@ -46,8 +46,8 @@ type DomainDnsRecordsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDomainDnsRecordIdString provides operations to manage the collection of domainDnsRecord entities. -func (m *DomainDnsRecordsRequestBuilder) ByDomainDnsRecordIdString(domainDnsRecordId string)(*DomainDnsRecordItemRequestBuilder) { +// ByDomainDnsRecordId provides operations to manage the collection of domainDnsRecord entities. +func (m *DomainDnsRecordsRequestBuilder) ByDomainDnsRecordId(domainDnsRecordId string)(*DomainDnsRecordItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DomainDnsRecordsRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *DomainDnsRecordsRequestBuilder) WithUrl(rawUrl string)(*DomainDnsRecordsRequestBuilder) { + return NewDomainDnsRecordsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domains/count_request_builder.go b/domains/count_request_builder.go index 04ce19c8b68..58f133e9b21 100644 --- a/domains/count_request_builder.go +++ b/domains/count_request_builder.go @@ -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); +} diff --git a/domains/domain_item_request_builder.go b/domains/domain_item_request_builder.go index 2e7ae6b15a1..71ac34d7ca1 100644 --- a/domains/domain_item_request_builder.go +++ b/domains/domain_item_request_builder.go @@ -198,3 +198,7 @@ func (m *DomainItemRequestBuilder) VerificationDnsRecords()(*ItemVerificationDns func (m *DomainItemRequestBuilder) Verify()(*ItemVerifyRequestBuilder) { return NewItemVerifyRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DomainItemRequestBuilder) WithUrl(rawUrl string)(*DomainItemRequestBuilder) { + return NewDomainItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domains/domains_request_builder.go b/domains/domains_request_builder.go index 6a334055266..2535cc06f18 100644 --- a/domains/domains_request_builder.go +++ b/domains/domains_request_builder.go @@ -46,8 +46,8 @@ type DomainsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDomainIdString provides operations to manage the collection of domain entities. -func (m *DomainsRequestBuilder) ByDomainIdString(domainId string)(*DomainItemRequestBuilder) { +// ByDomainId provides operations to manage the collection of domain entities. +func (m *DomainsRequestBuilder) ByDomainId(domainId string)(*DomainItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *DomainsRequestBuilder) ToPostRequestInformation(ctx context.Context, bo } 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 *DomainsRequestBuilder) WithUrl(rawUrl string)(*DomainsRequestBuilder) { + return NewDomainsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domains/item_domain_name_references_count_request_builder.go b/domains/item_domain_name_references_count_request_builder.go index f234a869669..67feb16bf98 100644 --- a/domains/item_domain_name_references_count_request_builder.go +++ b/domains/item_domain_name_references_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDomainNameReferencesCountRequestBuilder) ToGetRequestInformation(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 *ItemDomainNameReferencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemDomainNameReferencesCountRequestBuilder) { + return NewItemDomainNameReferencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domains/item_domain_name_references_directory_object_item_request_builder.go b/domains/item_domain_name_references_directory_object_item_request_builder.go index eebf7e9cdae..02e9343cd33 100644 --- a/domains/item_domain_name_references_directory_object_item_request_builder.go +++ b/domains/item_domain_name_references_directory_object_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemDomainNameReferencesDirectoryObjectItemRequestBuilder) ToGetRequest } 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 *ItemDomainNameReferencesDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemDomainNameReferencesDirectoryObjectItemRequestBuilder) { + return NewItemDomainNameReferencesDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domains/item_domain_name_references_request_builder.go b/domains/item_domain_name_references_request_builder.go index a2224194687..6543514e94d 100644 --- a/domains/item_domain_name_references_request_builder.go +++ b/domains/item_domain_name_references_request_builder.go @@ -39,8 +39,8 @@ type ItemDomainNameReferencesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemDomainNameReferencesRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the domainNameReferences property of the microsoft.graph.domain entity. -func (m *ItemDomainNameReferencesRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemDomainNameReferencesDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the domainNameReferences property of the microsoft.graph.domain entity. +func (m *ItemDomainNameReferencesRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemDomainNameReferencesDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemDomainNameReferencesRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemDomainNameReferencesRequestBuilder) WithUrl(rawUrl string)(*ItemDomainNameReferencesRequestBuilder) { + return NewItemDomainNameReferencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domains/item_federation_configuration_count_request_builder.go b/domains/item_federation_configuration_count_request_builder.go index ae714ea4657..f93313ef1b8 100644 --- a/domains/item_federation_configuration_count_request_builder.go +++ b/domains/item_federation_configuration_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemFederationConfigurationCountRequestBuilder) 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 *ItemFederationConfigurationCountRequestBuilder) WithUrl(rawUrl string)(*ItemFederationConfigurationCountRequestBuilder) { + return NewItemFederationConfigurationCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domains/item_federation_configuration_internal_domain_federation_item_request_builder.go b/domains/item_federation_configuration_internal_domain_federation_item_request_builder.go index 2d076b55c0b..75757bdcfc5 100644 --- a/domains/item_federation_configuration_internal_domain_federation_item_request_builder.go +++ b/domains/item_federation_configuration_internal_domain_federation_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemFederationConfigurationInternalDomainFederationItemRequestBuilder) } 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 *ItemFederationConfigurationInternalDomainFederationItemRequestBuilder) WithUrl(rawUrl string)(*ItemFederationConfigurationInternalDomainFederationItemRequestBuilder) { + return NewItemFederationConfigurationInternalDomainFederationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domains/item_federation_configuration_request_builder.go b/domains/item_federation_configuration_request_builder.go index aab074b251e..f55dc02a60f 100644 --- a/domains/item_federation_configuration_request_builder.go +++ b/domains/item_federation_configuration_request_builder.go @@ -46,8 +46,8 @@ type ItemFederationConfigurationRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByInternalDomainFederationIdString provides operations to manage the federationConfiguration property of the microsoft.graph.domain entity. -func (m *ItemFederationConfigurationRequestBuilder) ByInternalDomainFederationIdString(internalDomainFederationId string)(*ItemFederationConfigurationInternalDomainFederationItemRequestBuilder) { +// ByInternalDomainFederationId provides operations to manage the federationConfiguration property of the microsoft.graph.domain entity. +func (m *ItemFederationConfigurationRequestBuilder) ByInternalDomainFederationId(internalDomainFederationId string)(*ItemFederationConfigurationInternalDomainFederationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemFederationConfigurationRequestBuilder) 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 *ItemFederationConfigurationRequestBuilder) WithUrl(rawUrl string)(*ItemFederationConfigurationRequestBuilder) { + return NewItemFederationConfigurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domains/item_force_delete_request_builder.go b/domains/item_force_delete_request_builder.go index 9c13fedd594..1d193c4125a 100644 --- a/domains/item_force_delete_request_builder.go +++ b/domains/item_force_delete_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemForceDeleteRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *ItemForceDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemForceDeleteRequestBuilder) { + return NewItemForceDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domains/item_promote_request_builder.go b/domains/item_promote_request_builder.go index 8fb929531a4..6fb3da957e7 100644 --- a/domains/item_promote_request_builder.go +++ b/domains/item_promote_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemPromoteRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemPromoteRequestBuilder) WithUrl(rawUrl string)(*ItemPromoteRequestBuilder) { + return NewItemPromoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domains/item_promote_to_initial_request_builder.go b/domains/item_promote_to_initial_request_builder.go index 24eddba11d8..281cb90d448 100644 --- a/domains/item_promote_to_initial_request_builder.go +++ b/domains/item_promote_to_initial_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemPromoteToInitialRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemPromoteToInitialRequestBuilder) WithUrl(rawUrl string)(*ItemPromoteToInitialRequestBuilder) { + return NewItemPromoteToInitialRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domains/item_service_configuration_records_count_request_builder.go b/domains/item_service_configuration_records_count_request_builder.go index a68b7e2a55b..e89ee26dbe9 100644 --- a/domains/item_service_configuration_records_count_request_builder.go +++ b/domains/item_service_configuration_records_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemServiceConfigurationRecordsCountRequestBuilder) ToGetRequestInforma } 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 *ItemServiceConfigurationRecordsCountRequestBuilder) WithUrl(rawUrl string)(*ItemServiceConfigurationRecordsCountRequestBuilder) { + return NewItemServiceConfigurationRecordsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domains/item_service_configuration_records_domain_dns_record_item_request_builder.go b/domains/item_service_configuration_records_domain_dns_record_item_request_builder.go index 142bd5f1fdf..b0a1224eb72 100644 --- a/domains/item_service_configuration_records_domain_dns_record_item_request_builder.go +++ b/domains/item_service_configuration_records_domain_dns_record_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemServiceConfigurationRecordsDomainDnsRecordItemRequestBuilder) 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 *ItemServiceConfigurationRecordsDomainDnsRecordItemRequestBuilder) WithUrl(rawUrl string)(*ItemServiceConfigurationRecordsDomainDnsRecordItemRequestBuilder) { + return NewItemServiceConfigurationRecordsDomainDnsRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domains/item_service_configuration_records_request_builder.go b/domains/item_service_configuration_records_request_builder.go index 3b0b9cd2dcd..65770401d03 100644 --- a/domains/item_service_configuration_records_request_builder.go +++ b/domains/item_service_configuration_records_request_builder.go @@ -46,8 +46,8 @@ type ItemServiceConfigurationRecordsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDomainDnsRecordIdString provides operations to manage the serviceConfigurationRecords property of the microsoft.graph.domain entity. -func (m *ItemServiceConfigurationRecordsRequestBuilder) ByDomainDnsRecordIdString(domainDnsRecordId string)(*ItemServiceConfigurationRecordsDomainDnsRecordItemRequestBuilder) { +// ByDomainDnsRecordId provides operations to manage the serviceConfigurationRecords property of the microsoft.graph.domain entity. +func (m *ItemServiceConfigurationRecordsRequestBuilder) ByDomainDnsRecordId(domainDnsRecordId string)(*ItemServiceConfigurationRecordsDomainDnsRecordItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemServiceConfigurationRecordsRequestBuilder) 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 *ItemServiceConfigurationRecordsRequestBuilder) WithUrl(rawUrl string)(*ItemServiceConfigurationRecordsRequestBuilder) { + return NewItemServiceConfigurationRecordsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domains/item_shared_email_domain_invitations_count_request_builder.go b/domains/item_shared_email_domain_invitations_count_request_builder.go index 78fbb72eadc..d5309c1469b 100644 --- a/domains/item_shared_email_domain_invitations_count_request_builder.go +++ b/domains/item_shared_email_domain_invitations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSharedEmailDomainInvitationsCountRequestBuilder) ToGetRequestInform } 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 *ItemSharedEmailDomainInvitationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSharedEmailDomainInvitationsCountRequestBuilder) { + return NewItemSharedEmailDomainInvitationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domains/item_shared_email_domain_invitations_request_builder.go b/domains/item_shared_email_domain_invitations_request_builder.go index 8d7327bf2fe..f591da5002f 100644 --- a/domains/item_shared_email_domain_invitations_request_builder.go +++ b/domains/item_shared_email_domain_invitations_request_builder.go @@ -46,8 +46,8 @@ type ItemSharedEmailDomainInvitationsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySharedEmailDomainInvitationIdString provides operations to manage the sharedEmailDomainInvitations property of the microsoft.graph.domain entity. -func (m *ItemSharedEmailDomainInvitationsRequestBuilder) BySharedEmailDomainInvitationIdString(sharedEmailDomainInvitationId string)(*ItemSharedEmailDomainInvitationsSharedEmailDomainInvitationItemRequestBuilder) { +// BySharedEmailDomainInvitationId provides operations to manage the sharedEmailDomainInvitations property of the microsoft.graph.domain entity. +func (m *ItemSharedEmailDomainInvitationsRequestBuilder) BySharedEmailDomainInvitationId(sharedEmailDomainInvitationId string)(*ItemSharedEmailDomainInvitationsSharedEmailDomainInvitationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSharedEmailDomainInvitationsRequestBuilder) ToPostRequestInformatio } 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 *ItemSharedEmailDomainInvitationsRequestBuilder) WithUrl(rawUrl string)(*ItemSharedEmailDomainInvitationsRequestBuilder) { + return NewItemSharedEmailDomainInvitationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domains/item_shared_email_domain_invitations_shared_email_domain_invitation_item_request_builder.go b/domains/item_shared_email_domain_invitations_shared_email_domain_invitation_item_request_builder.go index 32d9cc07564..28328628caf 100644 --- a/domains/item_shared_email_domain_invitations_shared_email_domain_invitation_item_request_builder.go +++ b/domains/item_shared_email_domain_invitations_shared_email_domain_invitation_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemSharedEmailDomainInvitationsSharedEmailDomainInvitationItemRequestB } 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 *ItemSharedEmailDomainInvitationsSharedEmailDomainInvitationItemRequestBuilder) WithUrl(rawUrl string)(*ItemSharedEmailDomainInvitationsSharedEmailDomainInvitationItemRequestBuilder) { + return NewItemSharedEmailDomainInvitationsSharedEmailDomainInvitationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domains/item_verification_dns_records_count_request_builder.go b/domains/item_verification_dns_records_count_request_builder.go index f92c99bd50e..241d9352e64 100644 --- a/domains/item_verification_dns_records_count_request_builder.go +++ b/domains/item_verification_dns_records_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemVerificationDnsRecordsCountRequestBuilder) 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 *ItemVerificationDnsRecordsCountRequestBuilder) WithUrl(rawUrl string)(*ItemVerificationDnsRecordsCountRequestBuilder) { + return NewItemVerificationDnsRecordsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domains/item_verification_dns_records_domain_dns_record_item_request_builder.go b/domains/item_verification_dns_records_domain_dns_record_item_request_builder.go index f82a971d830..c27e7d44b58 100644 --- a/domains/item_verification_dns_records_domain_dns_record_item_request_builder.go +++ b/domains/item_verification_dns_records_domain_dns_record_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemVerificationDnsRecordsDomainDnsRecordItemRequestBuilder) ToPatchReq } 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 *ItemVerificationDnsRecordsDomainDnsRecordItemRequestBuilder) WithUrl(rawUrl string)(*ItemVerificationDnsRecordsDomainDnsRecordItemRequestBuilder) { + return NewItemVerificationDnsRecordsDomainDnsRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domains/item_verification_dns_records_request_builder.go b/domains/item_verification_dns_records_request_builder.go index 60e5b30674f..348163d874f 100644 --- a/domains/item_verification_dns_records_request_builder.go +++ b/domains/item_verification_dns_records_request_builder.go @@ -46,8 +46,8 @@ type ItemVerificationDnsRecordsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDomainDnsRecordIdString provides operations to manage the verificationDnsRecords property of the microsoft.graph.domain entity. -func (m *ItemVerificationDnsRecordsRequestBuilder) ByDomainDnsRecordIdString(domainDnsRecordId string)(*ItemVerificationDnsRecordsDomainDnsRecordItemRequestBuilder) { +// ByDomainDnsRecordId provides operations to manage the verificationDnsRecords property of the microsoft.graph.domain entity. +func (m *ItemVerificationDnsRecordsRequestBuilder) ByDomainDnsRecordId(domainDnsRecordId string)(*ItemVerificationDnsRecordsDomainDnsRecordItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemVerificationDnsRecordsRequestBuilder) 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 *ItemVerificationDnsRecordsRequestBuilder) WithUrl(rawUrl string)(*ItemVerificationDnsRecordsRequestBuilder) { + return NewItemVerificationDnsRecordsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/domains/item_verify_request_builder.go b/domains/item_verify_request_builder.go index c3c00705d13..d1361247f42 100644 --- a/domains/item_verify_request_builder.go +++ b/domains/item_verify_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemVerifyRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemVerifyRequestBuilder) WithUrl(rawUrl string)(*ItemVerifyRequestBuilder) { + return NewItemVerifyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/drive_item_request_builder.go b/drives/drive_item_request_builder.go index ef90d1cb3a3..16f6e258cf8 100644 --- a/drives/drive_item_request_builder.go +++ b/drives/drive_item_request_builder.go @@ -201,3 +201,7 @@ func (m *DriveItemRequestBuilder) ToPatchRequestInformation(ctx context.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 *DriveItemRequestBuilder) WithUrl(rawUrl string)(*DriveItemRequestBuilder) { + return NewDriveItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/drives_request_builder.go b/drives/drives_request_builder.go index 870aa526dc0..0f8e669fc1f 100644 --- a/drives/drives_request_builder.go +++ b/drives/drives_request_builder.go @@ -44,8 +44,8 @@ type DrivesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDriveIdString provides operations to manage the collection of drive entities. -func (m *DrivesRequestBuilder) ByDriveIdString(driveId string)(*DriveItemRequestBuilder) { +// ByDriveId provides operations to manage the collection of drive entities. +func (m *DrivesRequestBuilder) ByDriveId(driveId string)(*DriveItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -139,3 +139,7 @@ func (m *DrivesRequestBuilder) ToPostRequestInformation(ctx context.Context, bod } 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 *DrivesRequestBuilder) WithUrl(rawUrl string)(*DrivesRequestBuilder) { + return NewDrivesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_activities_count_request_builder.go b/drives/item_activities_count_request_builder.go index aace2abd655..25045ace0d4 100644 --- a/drives/item_activities_count_request_builder.go +++ b/drives/item_activities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemActivitiesCountRequestBuilder) ToGetRequestInformation(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 *ItemActivitiesCountRequestBuilder) WithUrl(rawUrl string)(*ItemActivitiesCountRequestBuilder) { + return NewItemActivitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_activities_item_activity_o_l_d_item_request_builder.go b/drives/item_activities_item_activity_o_l_d_item_request_builder.go index b7048c94d6f..5753e7e4804 100644 --- a/drives/item_activities_item_activity_o_l_d_item_request_builder.go +++ b/drives/item_activities_item_activity_o_l_d_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemActivitiesItemActivityOLDItemRequestBuilder) ToPatchRequestInformat } 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 *ItemActivitiesItemActivityOLDItemRequestBuilder) WithUrl(rawUrl string)(*ItemActivitiesItemActivityOLDItemRequestBuilder) { + return NewItemActivitiesItemActivityOLDItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_activities_item_drive_item_content_request_builder.go b/drives/item_activities_item_drive_item_content_request_builder.go index 57307848e3c..3580fd67e50 100644 --- a/drives/item_activities_item_drive_item_content_request_builder.go +++ b/drives/item_activities_item_drive_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemActivitiesItemDriveItemContentRequestBuilder) ToPutRequestInformati } 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 *ItemActivitiesItemDriveItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemActivitiesItemDriveItemContentRequestBuilder) { + return NewItemActivitiesItemDriveItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_activities_item_drive_item_request_builder.go b/drives/item_activities_item_drive_item_request_builder.go index c134de5ac04..aa69155066c 100644 --- a/drives/item_activities_item_drive_item_request_builder.go +++ b/drives/item_activities_item_drive_item_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemActivitiesItemDriveItemRequestBuilder) ToGetRequestInformation(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 *ItemActivitiesItemDriveItemRequestBuilder) WithUrl(rawUrl string)(*ItemActivitiesItemDriveItemRequestBuilder) { + return NewItemActivitiesItemDriveItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_activities_item_list_item_request_builder.go b/drives/item_activities_item_list_item_request_builder.go index 97f0b748836..a357e22a638 100644 --- a/drives/item_activities_item_list_item_request_builder.go +++ b/drives/item_activities_item_list_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemActivitiesItemListItemRequestBuilder) ToGetRequestInformation(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 *ItemActivitiesItemListItemRequestBuilder) WithUrl(rawUrl string)(*ItemActivitiesItemListItemRequestBuilder) { + return NewItemActivitiesItemListItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_activities_request_builder.go b/drives/item_activities_request_builder.go index 4f1199341f8..484bf529395 100644 --- a/drives/item_activities_request_builder.go +++ b/drives/item_activities_request_builder.go @@ -46,8 +46,8 @@ type ItemActivitiesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByItemActivityOLDIdString provides operations to manage the activities property of the microsoft.graph.drive entity. -func (m *ItemActivitiesRequestBuilder) ByItemActivityOLDIdString(itemActivityOLDId string)(*ItemActivitiesItemActivityOLDItemRequestBuilder) { +// ByItemActivityOLDId provides operations to manage the activities property of the microsoft.graph.drive entity. +func (m *ItemActivitiesRequestBuilder) ByItemActivityOLDId(itemActivityOLDId string)(*ItemActivitiesItemActivityOLDItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemActivitiesRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *ItemActivitiesRequestBuilder) WithUrl(rawUrl string)(*ItemActivitiesRequestBuilder) { + return NewItemActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_bundles_count_request_builder.go b/drives/item_bundles_count_request_builder.go index 0d682598e32..8367da8e872 100644 --- a/drives/item_bundles_count_request_builder.go +++ b/drives/item_bundles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemBundlesCountRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *ItemBundlesCountRequestBuilder) WithUrl(rawUrl string)(*ItemBundlesCountRequestBuilder) { + return NewItemBundlesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_bundles_drive_item_item_request_builder.go b/drives/item_bundles_drive_item_item_request_builder.go index f813ccbd41a..746f683fb40 100644 --- a/drives/item_bundles_drive_item_item_request_builder.go +++ b/drives/item_bundles_drive_item_item_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemBundlesDriveItemItemRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemBundlesDriveItemItemRequestBuilder) WithUrl(rawUrl string)(*ItemBundlesDriveItemItemRequestBuilder) { + return NewItemBundlesDriveItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_bundles_item_content_request_builder.go b/drives/item_bundles_item_content_request_builder.go index dbc8be66ea9..0dfbc9fdafc 100644 --- a/drives/item_bundles_item_content_request_builder.go +++ b/drives/item_bundles_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemBundlesItemContentRequestBuilder) ToPutRequestInformation(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 *ItemBundlesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemBundlesItemContentRequestBuilder) { + return NewItemBundlesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_bundles_request_builder.go b/drives/item_bundles_request_builder.go index 30548b16dc1..c1e09ca2fe6 100644 --- a/drives/item_bundles_request_builder.go +++ b/drives/item_bundles_request_builder.go @@ -46,8 +46,8 @@ type ItemBundlesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDriveItemIdString provides operations to manage the bundles property of the microsoft.graph.drive entity. -func (m *ItemBundlesRequestBuilder) ByDriveItemIdString(driveItemId string)(*ItemBundlesDriveItemItemRequestBuilder) { +// ByDriveItemId provides operations to manage the bundles property of the microsoft.graph.drive entity. +func (m *ItemBundlesRequestBuilder) ByDriveItemId(driveItemId string)(*ItemBundlesDriveItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemBundlesRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemBundlesRequestBuilder) WithUrl(rawUrl string)(*ItemBundlesRequestBuilder) { + return NewItemBundlesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_created_by_user_mailbox_settings_request_builder.go b/drives/item_created_by_user_mailbox_settings_request_builder.go index ba59997d43f..b271507a559 100644 --- a/drives/item_created_by_user_mailbox_settings_request_builder.go +++ b/drives/item_created_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemCreatedByUserMailboxSettingsRequestBuilder) ToPatchRequestInformati } 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 *ItemCreatedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemCreatedByUserMailboxSettingsRequestBuilder) { + return NewItemCreatedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_created_by_user_request_builder.go b/drives/item_created_by_user_request_builder.go index 9028ee1b61d..9304cc56a3f 100644 --- a/drives/item_created_by_user_request_builder.go +++ b/drives/item_created_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemCreatedByUserRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemCreatedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemCreatedByUserRequestBuilder) { + return NewItemCreatedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_following_count_request_builder.go b/drives/item_following_count_request_builder.go index 31e302ac58e..a4d90db4774 100644 --- a/drives/item_following_count_request_builder.go +++ b/drives/item_following_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemFollowingCountRequestBuilder) 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 *ItemFollowingCountRequestBuilder) WithUrl(rawUrl string)(*ItemFollowingCountRequestBuilder) { + return NewItemFollowingCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_following_drive_item_item_request_builder.go b/drives/item_following_drive_item_item_request_builder.go index 90ae3aad2c2..1ab5d9fbf6c 100644 --- a/drives/item_following_drive_item_item_request_builder.go +++ b/drives/item_following_drive_item_item_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemFollowingDriveItemItemRequestBuilder) ToGetRequestInformation(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 *ItemFollowingDriveItemItemRequestBuilder) WithUrl(rawUrl string)(*ItemFollowingDriveItemItemRequestBuilder) { + return NewItemFollowingDriveItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_following_item_content_request_builder.go b/drives/item_following_item_content_request_builder.go index 9df15919acf..11777d306c7 100644 --- a/drives/item_following_item_content_request_builder.go +++ b/drives/item_following_item_content_request_builder.go @@ -105,3 +105,7 @@ func (m *ItemFollowingItemContentRequestBuilder) ToPutRequestInformation(ctx con } 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 *ItemFollowingItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemFollowingItemContentRequestBuilder) { + return NewItemFollowingItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_following_request_builder.go b/drives/item_following_request_builder.go index 7798700b209..30c36ce921f 100644 --- a/drives/item_following_request_builder.go +++ b/drives/item_following_request_builder.go @@ -39,8 +39,8 @@ type ItemFollowingRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemFollowingRequestBuilderGetQueryParameters } -// ByDriveItemIdString provides operations to manage the following property of the microsoft.graph.drive entity. -func (m *ItemFollowingRequestBuilder) ByDriveItemIdString(driveItemId string)(*ItemFollowingDriveItemItemRequestBuilder) { +// ByDriveItemId provides operations to manage the following property of the microsoft.graph.drive entity. +func (m *ItemFollowingRequestBuilder) ByDriveItemId(driveItemId string)(*ItemFollowingDriveItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemFollowingRequestBuilder) ToGetRequestInformation(ctx context.Contex } 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 *ItemFollowingRequestBuilder) WithUrl(rawUrl string)(*ItemFollowingRequestBuilder) { + return NewItemFollowingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_count_request_builder.go b/drives/item_items_count_request_builder.go index ee4d09e2531..6fb15b31c19 100644 --- a/drives/item_items_count_request_builder.go +++ b/drives/item_items_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemItemsCountRequestBuilder) ToGetRequestInformation(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 *ItemItemsCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsCountRequestBuilder) { + return NewItemItemsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_drive_item_item_request_builder.go b/drives/item_items_drive_item_item_request_builder.go index 534172fd454..5970b564ce2 100644 --- a/drives/item_items_drive_item_item_request_builder.go +++ b/drives/item_items_drive_item_item_request_builder.go @@ -168,10 +168,10 @@ func (m *ItemItemsDriveItemItemRequestBuilder) LastModifiedByUser()(*ItemItemsIt func (m *ItemItemsDriveItemItemRequestBuilder) ListItem()(*ItemItemsItemListItemRequestBuilder) { return NewItemItemsItemListItemRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the metadata for a DriveItem by ID or path. You can also use update to move an item to another parent by updating the item's parentReference property. +// Patch to move a DriveItem to a new parent item, your app requests to update the parentReference of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-move?view=graph-rest-1.0 func (m *ItemItemsDriveItemItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, requestConfiguration *ItemItemsDriveItemItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -250,7 +250,7 @@ func (m *ItemItemsDriveItemItemRequestBuilder) ToGetRequestInformation(ctx conte } return requestInfo, nil } -// ToPatchRequestInformation update the metadata for a DriveItem by ID or path. You can also use update to move an item to another parent by updating the item's parentReference property. +// ToPatchRequestInformation to move a DriveItem to a new parent item, your app requests to update the parentReference of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request. func (m *ItemItemsDriveItemItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, requestConfiguration *ItemItemsDriveItemItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -279,6 +279,10 @@ func (m *ItemItemsDriveItemItemRequestBuilder) ValidatePermission()(*ItemItemsIt func (m *ItemItemsDriveItemItemRequestBuilder) Versions()(*ItemItemsItemVersionsRequestBuilder) { return NewItemItemsItemVersionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemItemsDriveItemItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsDriveItemItemRequestBuilder) { + return NewItemItemsDriveItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} // Workbook provides operations to manage the workbook property of the microsoft.graph.driveItem entity. func (m *ItemItemsDriveItemItemRequestBuilder) Workbook()(*ItemItemsItemWorkbookRequestBuilder) { return NewItemItemsItemWorkbookRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) diff --git a/drives/item_items_item_activities_count_request_builder.go b/drives/item_items_item_activities_count_request_builder.go index 761d8d97ed2..01c3059d9c5 100644 --- a/drives/item_items_item_activities_count_request_builder.go +++ b/drives/item_items_item_activities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemItemsItemActivitiesCountRequestBuilder) ToGetRequestInformation(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 *ItemItemsItemActivitiesCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemActivitiesCountRequestBuilder) { + return NewItemItemsItemActivitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_activities_item_activity_o_l_d_item_request_builder.go b/drives/item_items_item_activities_item_activity_o_l_d_item_request_builder.go index 830e205d6f2..eac0998e9bf 100644 --- a/drives/item_items_item_activities_item_activity_o_l_d_item_request_builder.go +++ b/drives/item_items_item_activities_item_activity_o_l_d_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemItemsItemActivitiesItemActivityOLDItemRequestBuilder) ToGetRequestI } 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 *ItemItemsItemActivitiesItemActivityOLDItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemActivitiesItemActivityOLDItemRequestBuilder) { + return NewItemItemsItemActivitiesItemActivityOLDItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_activities_request_builder.go b/drives/item_items_item_activities_request_builder.go index 3903742796d..302e577a052 100644 --- a/drives/item_items_item_activities_request_builder.go +++ b/drives/item_items_item_activities_request_builder.go @@ -39,8 +39,8 @@ type ItemItemsItemActivitiesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemItemsItemActivitiesRequestBuilderGetQueryParameters } -// ByItemActivityOLDIdString provides operations to manage the activities property of the microsoft.graph.driveItem entity. -func (m *ItemItemsItemActivitiesRequestBuilder) ByItemActivityOLDIdString(itemActivityOLDId string)(*ItemItemsItemActivitiesItemActivityOLDItemRequestBuilder) { +// ByItemActivityOLDId provides operations to manage the activities property of the microsoft.graph.driveItem entity. +func (m *ItemItemsItemActivitiesRequestBuilder) ByItemActivityOLDId(itemActivityOLDId string)(*ItemItemsItemActivitiesItemActivityOLDItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemItemsItemActivitiesRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemItemsItemActivitiesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemActivitiesRequestBuilder) { + return NewItemItemsItemActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_analytics_all_time_request_builder.go b/drives/item_items_item_analytics_all_time_request_builder.go index f7f934bc10e..ace45eed9a2 100644 --- a/drives/item_items_item_analytics_all_time_request_builder.go +++ b/drives/item_items_item_analytics_all_time_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemItemsItemAnalyticsAllTimeRequestBuilder) ToGetRequestInformation(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 *ItemItemsItemAnalyticsAllTimeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemAnalyticsAllTimeRequestBuilder) { + return NewItemItemsItemAnalyticsAllTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_analytics_item_activity_stats_count_request_builder.go b/drives/item_items_item_analytics_item_activity_stats_count_request_builder.go index e2c881f9273..0e5330031ca 100644 --- a/drives/item_items_item_analytics_item_activity_stats_count_request_builder.go +++ b/drives/item_items_item_analytics_item_activity_stats_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsCountRequestBuilder) ToGetReques } 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 *ItemItemsItemAnalyticsItemActivityStatsCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemAnalyticsItemActivityStatsCountRequestBuilder) { + return NewItemItemsItemAnalyticsItemActivityStatsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_analytics_item_activity_stats_item_activities_count_request_builder.go b/drives/item_items_item_analytics_item_activity_stats_item_activities_count_request_builder.go index 33564f4abac..3b53b8da2b6 100644 --- a/drives/item_items_item_analytics_item_activity_stats_item_activities_count_request_builder.go +++ b/drives/item_items_item_analytics_item_activity_stats_item_activities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesCountRequestBuilde } 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 *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemAnalyticsItemActivityStatsItemActivitiesCountRequestBuilder) { + return NewItemItemsItemAnalyticsItemActivityStatsItemActivitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go b/drives/item_items_item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go index e8e0465b31d..863fae7a723 100644 --- a/drives/item_items_item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go +++ b/drives/item_items_item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRe } 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 *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRequestBuilder) { + return NewItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go b/drives/item_items_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go index d5c2035920c..c95090fa1b5 100644 --- a/drives/item_items_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go +++ b/drives/item_items_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemConte } 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 *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder) { + return NewItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go b/drives/item_items_item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go index 8147f931ad7..d1a9a203df5 100644 --- a/drives/item_items_item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go +++ b/drives/item_items_item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemReque } 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 *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemRequestBuilder) { + return NewItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_analytics_item_activity_stats_item_activities_request_builder.go b/drives/item_items_item_analytics_item_activity_stats_item_activities_request_builder.go index f4c7875cd23..273a2f4d735 100644 --- a/drives/item_items_item_analytics_item_activity_stats_item_activities_request_builder.go +++ b/drives/item_items_item_analytics_item_activity_stats_item_activities_request_builder.go @@ -46,8 +46,8 @@ type ItemItemsItemAnalyticsItemActivityStatsItemActivitiesRequestBuilderPostRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByItemActivityIdString provides operations to manage the activities property of the microsoft.graph.itemActivityStat entity. -func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder) ByItemActivityIdString(itemActivityId string)(*ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRequestBuilder) { +// ByItemActivityId provides operations to manage the activities property of the microsoft.graph.itemActivityStat entity. +func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder) ByItemActivityId(itemActivityId string)(*ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder) To } 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 *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder) { + return NewItemItemsItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go b/drives/item_items_item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go index 8617b34e1eb..047b820b0f1 100644 --- a/drives/item_items_item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go +++ b/drives/item_items_item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuild } 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 *ItemItemsItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuilder) { + return NewItemItemsItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_analytics_item_activity_stats_request_builder.go b/drives/item_items_item_analytics_item_activity_stats_request_builder.go index af4777c804f..10336981dae 100644 --- a/drives/item_items_item_analytics_item_activity_stats_request_builder.go +++ b/drives/item_items_item_analytics_item_activity_stats_request_builder.go @@ -46,8 +46,8 @@ type ItemItemsItemAnalyticsItemActivityStatsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByItemActivityStatIdString provides operations to manage the itemActivityStats property of the microsoft.graph.itemAnalytics entity. -func (m *ItemItemsItemAnalyticsItemActivityStatsRequestBuilder) ByItemActivityStatIdString(itemActivityStatId string)(*ItemItemsItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuilder) { +// ByItemActivityStatId provides operations to manage the itemActivityStats property of the microsoft.graph.itemAnalytics entity. +func (m *ItemItemsItemAnalyticsItemActivityStatsRequestBuilder) ByItemActivityStatId(itemActivityStatId string)(*ItemItemsItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemAnalyticsItemActivityStatsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemAnalyticsItemActivityStatsRequestBuilder) { + return NewItemItemsItemAnalyticsItemActivityStatsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_analytics_last_seven_days_request_builder.go b/drives/item_items_item_analytics_last_seven_days_request_builder.go index 4928c461303..0a8f9312c43 100644 --- a/drives/item_items_item_analytics_last_seven_days_request_builder.go +++ b/drives/item_items_item_analytics_last_seven_days_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemItemsItemAnalyticsLastSevenDaysRequestBuilder) ToGetRequestInformat } 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 *ItemItemsItemAnalyticsLastSevenDaysRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemAnalyticsLastSevenDaysRequestBuilder) { + return NewItemItemsItemAnalyticsLastSevenDaysRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_analytics_request_builder.go b/drives/item_items_item_analytics_request_builder.go index 35ea6944183..cf5b5457f4c 100644 --- a/drives/item_items_item_analytics_request_builder.go +++ b/drives/item_items_item_analytics_request_builder.go @@ -168,3 +168,7 @@ func (m *ItemItemsItemAnalyticsRequestBuilder) ToPatchRequestInformation(ctx con } 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 *ItemItemsItemAnalyticsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemAnalyticsRequestBuilder) { + return NewItemItemsItemAnalyticsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_assign_sensitivity_label_request_builder.go b/drives/item_items_item_assign_sensitivity_label_request_builder.go index ad9caecf217..4c140cbe04e 100644 --- a/drives/item_items_item_assign_sensitivity_label_request_builder.go +++ b/drives/item_items_item_assign_sensitivity_label_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemAssignSensitivityLabelRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemAssignSensitivityLabelRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemAssignSensitivityLabelRequestBuilder) { + return NewItemItemsItemAssignSensitivityLabelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_checkin_request_builder.go b/drives/item_items_item_checkin_request_builder.go index 9a58bc97e36..e00c22fcf06 100644 --- a/drives/item_items_item_checkin_request_builder.go +++ b/drives/item_items_item_checkin_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemItemsItemCheckinRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemItemsItemCheckinRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemCheckinRequestBuilder) { + return NewItemItemsItemCheckinRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_checkout_request_builder.go b/drives/item_items_item_checkout_request_builder.go index 20e60bc3267..d542901339b 100644 --- a/drives/item_items_item_checkout_request_builder.go +++ b/drives/item_items_item_checkout_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemCheckoutRequestBuilder) 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 *ItemItemsItemCheckoutRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemCheckoutRequestBuilder) { + return NewItemItemsItemCheckoutRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_children_count_request_builder.go b/drives/item_items_item_children_count_request_builder.go index 4e20141c03d..8cf599f3d7e 100644 --- a/drives/item_items_item_children_count_request_builder.go +++ b/drives/item_items_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemItemsItemChildrenCountRequestBuilder) ToGetRequestInformation(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 *ItemItemsItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemChildrenCountRequestBuilder) { + return NewItemItemsItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_children_drive_item_item_request_builder.go b/drives/item_items_item_children_drive_item_item_request_builder.go index 0197454a9ab..ace3fbe714f 100644 --- a/drives/item_items_item_children_drive_item_item_request_builder.go +++ b/drives/item_items_item_children_drive_item_item_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemItemsItemChildrenDriveItemItemRequestBuilder) ToGetRequestInformati } 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 *ItemItemsItemChildrenDriveItemItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemChildrenDriveItemItemRequestBuilder) { + return NewItemItemsItemChildrenDriveItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_children_item_content_request_builder.go b/drives/item_items_item_children_item_content_request_builder.go index 94ab187ed3b..f402943ce72 100644 --- a/drives/item_items_item_children_item_content_request_builder.go +++ b/drives/item_items_item_children_item_content_request_builder.go @@ -105,3 +105,7 @@ func (m *ItemItemsItemChildrenItemContentRequestBuilder) ToPutRequestInformation } 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 *ItemItemsItemChildrenItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemChildrenItemContentRequestBuilder) { + return NewItemItemsItemChildrenItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_children_request_builder.go b/drives/item_items_item_children_request_builder.go index ee48a1bc842..2ab0115d264 100644 --- a/drives/item_items_item_children_request_builder.go +++ b/drives/item_items_item_children_request_builder.go @@ -46,8 +46,8 @@ type ItemItemsItemChildrenRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDriveItemId1String provides operations to manage the children property of the microsoft.graph.driveItem entity. -func (m *ItemItemsItemChildrenRequestBuilder) ByDriveItemId1String(driveItemId1 string)(*ItemItemsItemChildrenDriveItemItemRequestBuilder) { +// ByDriveItemId1 provides operations to manage the children property of the microsoft.graph.driveItem entity. +func (m *ItemItemsItemChildrenRequestBuilder) ByDriveItemId1(driveItemId1 string)(*ItemItemsItemChildrenDriveItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemItemsItemChildrenRequestBuilder) 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 *ItemItemsItemChildrenRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemChildrenRequestBuilder) { + return NewItemItemsItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_content_request_builder.go b/drives/item_items_item_content_request_builder.go index ac334692bc4..713cd5bb39b 100644 --- a/drives/item_items_item_content_request_builder.go +++ b/drives/item_items_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemItemsItemContentRequestBuilder) ToPutRequestInformation(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 *ItemItemsItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemContentRequestBuilder) { + return NewItemItemsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_copy_request_builder.go b/drives/item_items_item_copy_request_builder.go index ad9343ddb1b..caedd55e8c7 100644 --- a/drives/item_items_item_copy_request_builder.go +++ b/drives/item_items_item_copy_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemCopyRequestBuilder) ToPostRequestInformation(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 *ItemItemsItemCopyRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemCopyRequestBuilder) { + return NewItemItemsItemCopyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_create_link_request_builder.go b/drives/item_items_item_create_link_request_builder.go index ea21c7f0074..232ea35b261 100644 --- a/drives/item_items_item_create_link_request_builder.go +++ b/drives/item_items_item_create_link_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemCreateLinkRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemItemsItemCreateLinkRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemCreateLinkRequestBuilder) { + return NewItemItemsItemCreateLinkRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_create_upload_session_request_builder.go b/drives/item_items_item_create_upload_session_request_builder.go index c0ae8e1292f..d0a3fff5bab 100644 --- a/drives/item_items_item_create_upload_session_request_builder.go +++ b/drives/item_items_item_create_upload_session_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemCreateUploadSessionRequestBuilder) ToPostRequestInformatio } 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 *ItemItemsItemCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemCreateUploadSessionRequestBuilder) { + return NewItemItemsItemCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_created_by_user_mailbox_settings_request_builder.go b/drives/item_items_item_created_by_user_mailbox_settings_request_builder.go index 7c3dce050d4..b0294bfbb38 100644 --- a/drives/item_items_item_created_by_user_mailbox_settings_request_builder.go +++ b/drives/item_items_item_created_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemItemsItemCreatedByUserMailboxSettingsRequestBuilder) ToPatchRequest } 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 *ItemItemsItemCreatedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemCreatedByUserMailboxSettingsRequestBuilder) { + return NewItemItemsItemCreatedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_created_by_user_request_builder.go b/drives/item_items_item_created_by_user_request_builder.go index 801040ee8b5..7e1ab65301e 100644 --- a/drives/item_items_item_created_by_user_request_builder.go +++ b/drives/item_items_item_created_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemItemsItemCreatedByUserRequestBuilder) ToGetRequestInformation(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 *ItemItemsItemCreatedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemCreatedByUserRequestBuilder) { + return NewItemItemsItemCreatedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_delta_request_builder.go b/drives/item_items_item_delta_request_builder.go index 413001de258..1c625b7c337 100644 --- a/drives/item_items_item_delta_request_builder.go +++ b/drives/item_items_item_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemItemsItemDeltaRequestBuilder) 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 *ItemItemsItemDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemDeltaRequestBuilder) { + return NewItemItemsItemDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_delta_with_token_request_builder.go b/drives/item_items_item_delta_with_token_request_builder.go index 11c8251c0a6..73f9b669da2 100644 --- a/drives/item_items_item_delta_with_token_request_builder.go +++ b/drives/item_items_item_delta_with_token_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemItemsItemDeltaWithTokenRequestBuilder) ToGetRequestInformation(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 *ItemItemsItemDeltaWithTokenRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemDeltaWithTokenRequestBuilder) { + return NewItemItemsItemDeltaWithTokenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_extract_sensitivity_labels_request_builder.go b/drives/item_items_item_extract_sensitivity_labels_request_builder.go index 989aa3bd640..9bb60a9cba7 100644 --- a/drives/item_items_item_extract_sensitivity_labels_request_builder.go +++ b/drives/item_items_item_extract_sensitivity_labels_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemItemsItemExtractSensitivityLabelsRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemExtractSensitivityLabelsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemExtractSensitivityLabelsRequestBuilder) { + return NewItemItemsItemExtractSensitivityLabelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_follow_request_builder.go b/drives/item_items_item_follow_request_builder.go index d29cd6c5ab1..fec436b0143 100644 --- a/drives/item_items_item_follow_request_builder.go +++ b/drives/item_items_item_follow_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemFollowRequestBuilder) 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 *ItemItemsItemFollowRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemFollowRequestBuilder) { + return NewItemItemsItemFollowRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go b/drives/item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go index 88450c63491..6f0bf93c95e 100644 --- a/drives/item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go +++ b/drives/item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go @@ -93,3 +93,7 @@ func (m *ItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWit } 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 *ItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder) { + return NewItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_invite_request_builder.go b/drives/item_items_item_invite_request_builder.go index f3c8548c910..05053e8617b 100644 --- a/drives/item_items_item_invite_request_builder.go +++ b/drives/item_items_item_invite_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemItemsItemInviteRequestBuilder) 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 *ItemItemsItemInviteRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemInviteRequestBuilder) { + return NewItemItemsItemInviteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_last_modified_by_user_mailbox_settings_request_builder.go b/drives/item_items_item_last_modified_by_user_mailbox_settings_request_builder.go index dcea45624f8..38a6c12631d 100644 --- a/drives/item_items_item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/drives/item_items_item_last_modified_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) ToPatchRe } 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 *ItemItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewItemItemsItemLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_last_modified_by_user_request_builder.go b/drives/item_items_item_last_modified_by_user_request_builder.go index 711b8a8226d..96d41e8a58d 100644 --- a/drives/item_items_item_last_modified_by_user_request_builder.go +++ b/drives/item_items_item_last_modified_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemItemsItemLastModifiedByUserRequestBuilder) 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 *ItemItemsItemLastModifiedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemLastModifiedByUserRequestBuilder) { + return NewItemItemsItemLastModifiedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_list_item_request_builder.go b/drives/item_items_item_list_item_request_builder.go index 81850f1ca34..b3f04bf3670 100644 --- a/drives/item_items_item_list_item_request_builder.go +++ b/drives/item_items_item_list_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemItemsItemListItemRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemItemsItemListItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemListItemRequestBuilder) { + return NewItemItemsItemListItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_permanent_delete_request_builder.go b/drives/item_items_item_permanent_delete_request_builder.go index 8b6b26c07aa..e030de9eec9 100644 --- a/drives/item_items_item_permanent_delete_request_builder.go +++ b/drives/item_items_item_permanent_delete_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemItemsItemPermanentDeleteRequestBuilder) 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 *ItemItemsItemPermanentDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemPermanentDeleteRequestBuilder) { + return NewItemItemsItemPermanentDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_permissions_count_request_builder.go b/drives/item_items_item_permissions_count_request_builder.go index 1864b4ca467..23de2417e2b 100644 --- a/drives/item_items_item_permissions_count_request_builder.go +++ b/drives/item_items_item_permissions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemItemsItemPermissionsCountRequestBuilder) ToGetRequestInformation(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 *ItemItemsItemPermissionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemPermissionsCountRequestBuilder) { + return NewItemItemsItemPermissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_permissions_item_grant_request_builder.go b/drives/item_items_item_permissions_item_grant_request_builder.go index 2d500b46fc4..a6899e59b57 100644 --- a/drives/item_items_item_permissions_item_grant_request_builder.go +++ b/drives/item_items_item_permissions_item_grant_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemItemsItemPermissionsItemGrantRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemPermissionsItemGrantRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemPermissionsItemGrantRequestBuilder) { + return NewItemItemsItemPermissionsItemGrantRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_permissions_item_revoke_grants_request_builder.go b/drives/item_items_item_permissions_item_revoke_grants_request_builder.go index 4503ff9878c..060013ea421 100644 --- a/drives/item_items_item_permissions_item_revoke_grants_request_builder.go +++ b/drives/item_items_item_permissions_item_revoke_grants_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemPermissionsItemRevokeGrantsRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemPermissionsItemRevokeGrantsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemPermissionsItemRevokeGrantsRequestBuilder) { + return NewItemItemsItemPermissionsItemRevokeGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_permissions_permission_item_request_builder.go b/drives/item_items_item_permissions_permission_item_request_builder.go index 23e6d8f39af..379780d3603 100644 --- a/drives/item_items_item_permissions_permission_item_request_builder.go +++ b/drives/item_items_item_permissions_permission_item_request_builder.go @@ -170,3 +170,7 @@ func (m *ItemItemsItemPermissionsPermissionItemRequestBuilder) ToPatchRequestInf } 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 *ItemItemsItemPermissionsPermissionItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemPermissionsPermissionItemRequestBuilder) { + return NewItemItemsItemPermissionsPermissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_permissions_request_builder.go b/drives/item_items_item_permissions_request_builder.go index 61252c9c83d..4dc42d161a0 100644 --- a/drives/item_items_item_permissions_request_builder.go +++ b/drives/item_items_item_permissions_request_builder.go @@ -46,8 +46,8 @@ type ItemItemsItemPermissionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPermissionIdString provides operations to manage the permissions property of the microsoft.graph.driveItem entity. -func (m *ItemItemsItemPermissionsRequestBuilder) ByPermissionIdString(permissionId string)(*ItemItemsItemPermissionsPermissionItemRequestBuilder) { +// ByPermissionId provides operations to manage the permissions property of the microsoft.graph.driveItem entity. +func (m *ItemItemsItemPermissionsRequestBuilder) ByPermissionId(permissionId string)(*ItemItemsItemPermissionsPermissionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemItemsItemPermissionsRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemItemsItemPermissionsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemPermissionsRequestBuilder) { + return NewItemItemsItemPermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_preview_request_builder.go b/drives/item_items_item_preview_request_builder.go index 3a8832b3b6f..adef73c330f 100644 --- a/drives/item_items_item_preview_request_builder.go +++ b/drives/item_items_item_preview_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemPreviewRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemItemsItemPreviewRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemPreviewRequestBuilder) { + return NewItemItemsItemPreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_restore_request_builder.go b/drives/item_items_item_restore_request_builder.go index 09f974f75c1..06cc15a9fe4 100644 --- a/drives/item_items_item_restore_request_builder.go +++ b/drives/item_items_item_restore_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemRestoreRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemItemsItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemRestoreRequestBuilder) { + return NewItemItemsItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_retention_label_request_builder.go b/drives/item_items_item_retention_label_request_builder.go index 426300d23a6..40a97630bc9 100644 --- a/drives/item_items_item_retention_label_request_builder.go +++ b/drives/item_items_item_retention_label_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemRetentionLabelRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemRetentionLabelRequestBuilderGetQueryParameters get retentionLabel from drives +// ItemItemsItemRetentionLabelRequestBuilderGetQueryParameters information about retention label and settings enforced on the driveItem. Read-write. type ItemItemsItemRetentionLabelRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,7 +54,10 @@ func NewItemItemsItemRetentionLabelRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewItemItemsItemRetentionLabelRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property retentionLabel for drives +// Delete remove a retention label from a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-removeretentionlabel?view=graph-rest-1.0 func (m *ItemItemsItemRetentionLabelRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -70,7 +73,7 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) Delete(ctx context.Context, } return nil } -// Get get retentionLabel from drives +// Get information about retention label and settings enforced on the driveItem. Read-write. func (m *ItemItemsItemRetentionLabelRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +92,10 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable), nil } -// Patch update the navigation property retentionLabel in drives +// Patch apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. Conflict resolution is based on the following principle: explicit wins over implicit. For example, if a file in the folder has already been explicitly tagged with a label, that file doesn't inherit the label of the parent. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0 func (m *ItemItemsItemRetentionLabelRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -108,7 +114,7 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) Patch(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable), nil } -// ToDeleteRequestInformation delete navigation property retentionLabel for drives +// ToDeleteRequestInformation remove a retention label from a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. func (m *ItemItemsItemRetentionLabelRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -120,7 +126,7 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) ToDeleteRequestInformation(c } return requestInfo, nil } -// ToGetRequestInformation get retentionLabel from drives +// ToGetRequestInformation information about retention label and settings enforced on the driveItem. Read-write. func (m *ItemItemsItemRetentionLabelRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -136,7 +142,7 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) ToGetRequestInformation(ctx } return requestInfo, nil } -// ToPatchRequestInformation update the navigation property retentionLabel in drives +// ToPatchRequestInformation apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. Conflict resolution is based on the following principle: explicit wins over implicit. For example, if a file in the folder has already been explicitly tagged with a label, that file doesn't inherit the label of the parent. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. func (m *ItemItemsItemRetentionLabelRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +159,7 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) ToPatchRequestInformation(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 *ItemItemsItemRetentionLabelRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemRetentionLabelRequestBuilder) { + return NewItemItemsItemRetentionLabelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_search_with_q_request_builder.go b/drives/item_items_item_search_with_q_request_builder.go index 9fb7bd72b17..c2226f4e76e 100644 --- a/drives/item_items_item_search_with_q_request_builder.go +++ b/drives/item_items_item_search_with_q_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemItemsItemSearchWithQRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemItemsItemSearchWithQRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemSearchWithQRequestBuilder) { + return NewItemItemsItemSearchWithQRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_subscriptions_count_request_builder.go b/drives/item_items_item_subscriptions_count_request_builder.go index af612986222..131d6be0454 100644 --- a/drives/item_items_item_subscriptions_count_request_builder.go +++ b/drives/item_items_item_subscriptions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemItemsItemSubscriptionsCountRequestBuilder) 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 *ItemItemsItemSubscriptionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemSubscriptionsCountRequestBuilder) { + return NewItemItemsItemSubscriptionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_subscriptions_item_reauthorize_request_builder.go b/drives/item_items_item_subscriptions_item_reauthorize_request_builder.go index 35e35a9f397..d484ad9caae 100644 --- a/drives/item_items_item_subscriptions_item_reauthorize_request_builder.go +++ b/drives/item_items_item_subscriptions_item_reauthorize_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemSubscriptionsItemReauthorizeRequestBuilder) ToPostRequestI } 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 *ItemItemsItemSubscriptionsItemReauthorizeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemSubscriptionsItemReauthorizeRequestBuilder) { + return NewItemItemsItemSubscriptionsItemReauthorizeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_subscriptions_request_builder.go b/drives/item_items_item_subscriptions_request_builder.go index 4c89a08e352..0a648993f50 100644 --- a/drives/item_items_item_subscriptions_request_builder.go +++ b/drives/item_items_item_subscriptions_request_builder.go @@ -46,8 +46,8 @@ type ItemItemsItemSubscriptionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySubscriptionIdString provides operations to manage the subscriptions property of the microsoft.graph.driveItem entity. -func (m *ItemItemsItemSubscriptionsRequestBuilder) BySubscriptionIdString(subscriptionId string)(*ItemItemsItemSubscriptionsSubscriptionItemRequestBuilder) { +// BySubscriptionId provides operations to manage the subscriptions property of the microsoft.graph.driveItem entity. +func (m *ItemItemsItemSubscriptionsRequestBuilder) BySubscriptionId(subscriptionId string)(*ItemItemsItemSubscriptionsSubscriptionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemItemsItemSubscriptionsRequestBuilder) 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 *ItemItemsItemSubscriptionsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemSubscriptionsRequestBuilder) { + return NewItemItemsItemSubscriptionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_subscriptions_subscription_item_request_builder.go b/drives/item_items_item_subscriptions_subscription_item_request_builder.go index fbb6d5c7108..bdc878bae36 100644 --- a/drives/item_items_item_subscriptions_subscription_item_request_builder.go +++ b/drives/item_items_item_subscriptions_subscription_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemSubscriptionsSubscriptionItemRequestBuilder) ToPatchReques } 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 *ItemItemsItemSubscriptionsSubscriptionItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemSubscriptionsSubscriptionItemRequestBuilder) { + return NewItemItemsItemSubscriptionsSubscriptionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_thumbnails_count_request_builder.go b/drives/item_items_item_thumbnails_count_request_builder.go index ac351ad454a..be95303ae08 100644 --- a/drives/item_items_item_thumbnails_count_request_builder.go +++ b/drives/item_items_item_thumbnails_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemItemsItemThumbnailsCountRequestBuilder) ToGetRequestInformation(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 *ItemItemsItemThumbnailsCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemThumbnailsCountRequestBuilder) { + return NewItemItemsItemThumbnailsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_thumbnails_request_builder.go b/drives/item_items_item_thumbnails_request_builder.go index 2c596e56361..3b4841dc736 100644 --- a/drives/item_items_item_thumbnails_request_builder.go +++ b/drives/item_items_item_thumbnails_request_builder.go @@ -46,8 +46,8 @@ type ItemItemsItemThumbnailsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByThumbnailSetIdString provides operations to manage the thumbnails property of the microsoft.graph.driveItem entity. -func (m *ItemItemsItemThumbnailsRequestBuilder) ByThumbnailSetIdString(thumbnailSetId string)(*ItemItemsItemThumbnailsThumbnailSetItemRequestBuilder) { +// ByThumbnailSetId provides operations to manage the thumbnails property of the microsoft.graph.driveItem entity. +func (m *ItemItemsItemThumbnailsRequestBuilder) ByThumbnailSetId(thumbnailSetId string)(*ItemItemsItemThumbnailsThumbnailSetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemItemsItemThumbnailsRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemItemsItemThumbnailsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemThumbnailsRequestBuilder) { + return NewItemItemsItemThumbnailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_thumbnails_thumbnail_set_item_request_builder.go b/drives/item_items_item_thumbnails_thumbnail_set_item_request_builder.go index d9700a15649..c5d5987112e 100644 --- a/drives/item_items_item_thumbnails_thumbnail_set_item_request_builder.go +++ b/drives/item_items_item_thumbnails_thumbnail_set_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemItemsItemThumbnailsThumbnailSetItemRequestBuilder) ToPatchRequestIn } 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 *ItemItemsItemThumbnailsThumbnailSetItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemThumbnailsThumbnailSetItemRequestBuilder) { + return NewItemItemsItemThumbnailsThumbnailSetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_unfollow_request_builder.go b/drives/item_items_item_unfollow_request_builder.go index 2e76de05091..9ce1bf7d5be 100644 --- a/drives/item_items_item_unfollow_request_builder.go +++ b/drives/item_items_item_unfollow_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemUnfollowRequestBuilder) 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 *ItemItemsItemUnfollowRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemUnfollowRequestBuilder) { + return NewItemItemsItemUnfollowRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_validate_permission_request_builder.go b/drives/item_items_item_validate_permission_request_builder.go index 3f4f5b78f60..d2f96bc6b72 100644 --- a/drives/item_items_item_validate_permission_request_builder.go +++ b/drives/item_items_item_validate_permission_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemValidatePermissionRequestBuilder) 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 *ItemItemsItemValidatePermissionRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemValidatePermissionRequestBuilder) { + return NewItemItemsItemValidatePermissionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_versions_count_request_builder.go b/drives/item_items_item_versions_count_request_builder.go index e2050756d91..0d342d2c322 100644 --- a/drives/item_items_item_versions_count_request_builder.go +++ b/drives/item_items_item_versions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemItemsItemVersionsCountRequestBuilder) ToGetRequestInformation(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 *ItemItemsItemVersionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemVersionsCountRequestBuilder) { + return NewItemItemsItemVersionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_versions_drive_item_version_item_request_builder.go b/drives/item_items_item_versions_drive_item_version_item_request_builder.go index 77d1d9a07b6..3b36ab4efbd 100644 --- a/drives/item_items_item_versions_drive_item_version_item_request_builder.go +++ b/drives/item_items_item_versions_drive_item_version_item_request_builder.go @@ -164,3 +164,7 @@ func (m *ItemItemsItemVersionsDriveItemVersionItemRequestBuilder) ToPatchRequest } 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 *ItemItemsItemVersionsDriveItemVersionItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemVersionsDriveItemVersionItemRequestBuilder) { + return NewItemItemsItemVersionsDriveItemVersionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_versions_item_content_request_builder.go b/drives/item_items_item_versions_item_content_request_builder.go index 688731c325e..90834c5cde4 100644 --- a/drives/item_items_item_versions_item_content_request_builder.go +++ b/drives/item_items_item_versions_item_content_request_builder.go @@ -105,3 +105,7 @@ func (m *ItemItemsItemVersionsItemContentRequestBuilder) ToPutRequestInformation } 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 *ItemItemsItemVersionsItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemVersionsItemContentRequestBuilder) { + return NewItemItemsItemVersionsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_versions_item_restore_version_request_builder.go b/drives/item_items_item_versions_item_restore_version_request_builder.go index fd4a9767e9d..2da1817e074 100644 --- a/drives/item_items_item_versions_item_restore_version_request_builder.go +++ b/drives/item_items_item_versions_item_restore_version_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemVersionsItemRestoreVersionRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemVersionsItemRestoreVersionRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemVersionsItemRestoreVersionRequestBuilder) { + return NewItemItemsItemVersionsItemRestoreVersionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_versions_request_builder.go b/drives/item_items_item_versions_request_builder.go index c430c73983f..af6269f939b 100644 --- a/drives/item_items_item_versions_request_builder.go +++ b/drives/item_items_item_versions_request_builder.go @@ -46,8 +46,8 @@ type ItemItemsItemVersionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDriveItemVersionIdString provides operations to manage the versions property of the microsoft.graph.driveItem entity. -func (m *ItemItemsItemVersionsRequestBuilder) ByDriveItemVersionIdString(driveItemVersionId string)(*ItemItemsItemVersionsDriveItemVersionItemRequestBuilder) { +// ByDriveItemVersionId provides operations to manage the versions property of the microsoft.graph.driveItem entity. +func (m *ItemItemsItemVersionsRequestBuilder) ByDriveItemVersionId(driveItemVersionId string)(*ItemItemsItemVersionsDriveItemVersionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemItemsItemVersionsRequestBuilder) 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 *ItemItemsItemVersionsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemVersionsRequestBuilder) { + return NewItemItemsItemVersionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_application_calculate_request_builder.go b/drives/item_items_item_workbook_application_calculate_request_builder.go index 4921bb0b4b1..fcd0c546720 100644 --- a/drives/item_items_item_workbook_application_calculate_request_builder.go +++ b/drives/item_items_item_workbook_application_calculate_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemItemsItemWorkbookApplicationCalculateRequestBuilder) ToPostRequestI } 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 *ItemItemsItemWorkbookApplicationCalculateRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookApplicationCalculateRequestBuilder) { + return NewItemItemsItemWorkbookApplicationCalculateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_application_request_builder.go b/drives/item_items_item_workbook_application_request_builder.go index 7db3fb5c021..eab3e506083 100644 --- a/drives/item_items_item_workbook_application_request_builder.go +++ b/drives/item_items_item_workbook_application_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemItemsItemWorkbookApplicationRequestBuilder) ToPatchRequestInformati } 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 *ItemItemsItemWorkbookApplicationRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookApplicationRequestBuilder) { + return NewItemItemsItemWorkbookApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_close_session_request_builder.go b/drives/item_items_item_workbook_close_session_request_builder.go index fab45f72c60..68d8bace5f6 100644 --- a/drives/item_items_item_workbook_close_session_request_builder.go +++ b/drives/item_items_item_workbook_close_session_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookCloseSessionRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookCloseSessionRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCloseSessionRequestBuilder) { + return NewItemItemsItemWorkbookCloseSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_count_request_builder.go b/drives/item_items_item_workbook_comments_count_request_builder.go index 25719a658b7..58efa60ce12 100644 --- a/drives/item_items_item_workbook_comments_count_request_builder.go +++ b/drives/item_items_item_workbook_comments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemItemsItemWorkbookCommentsCountRequestBuilder) ToGetRequestInformati } 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 *ItemItemsItemWorkbookCommentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsCountRequestBuilder) { + return NewItemItemsItemWorkbookCommentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_replies_count_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_count_request_builder.go index 6124c39d973..0c0f958c3e0 100644 --- a/drives/item_items_item_workbook_comments_item_replies_count_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesCountRequestBuilder) ToGetReque } 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 *ItemItemsItemWorkbookCommentsItemRepliesCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemRepliesCountRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemRepliesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_replies_item_task_changes_count_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_item_task_changes_count_request_builder.go index bc2a6efd5a7..9c5258588d9 100644 --- a/drives/item_items_item_workbook_comments_item_replies_item_task_changes_count_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_item_task_changes_count_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesCountRequestBuil } 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 *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesCountRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_replies_item_task_changes_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_item_task_changes_item_at_with_index_request_builder.go index 20e49bdd797..864ac17314b 100644 --- a/drives/item_items_item_workbook_comments_item_replies_item_task_changes_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_item_task_changes_item_at_with_index_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesItemAtWithIndexR } 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 *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesItemAtWithIndexRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesItemAtWithIndexRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesItemAtWithIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_replies_item_task_changes_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_item_task_changes_request_builder.go index e98983d62ad..862f6cb2ac2 100644 --- a/drives/item_items_item_workbook_comments_item_replies_item_task_changes_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_item_task_changes_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesRequestBuilderGetQueryParameters get changes from drives +// ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesRequestBuilderGetQueryParameters a collection of task change histories. type ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesRequestBuilderPostRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWorkbookDocumentTaskChangeIdString provides operations to manage the changes property of the microsoft.graph.workbookDocumentTask entity. -func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesRequestBuilder) ByWorkbookDocumentTaskChangeIdString(workbookDocumentTaskChangeId string)(*ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) { +// ByWorkbookDocumentTaskChangeId provides operations to manage the changes property of the microsoft.graph.workbookDocumentTask entity. +func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesRequestBuilder) ByWorkbookDocumentTaskChangeId(workbookDocumentTaskChangeId string)(*ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,7 +74,7 @@ func NewItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesRequestBuilder(ra func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesRequestBuilder) Count()(*ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesCountRequestBuilder) { return NewItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get changes from drives +// Get a collection of task change histories. func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskChangeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +116,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskChangeable), nil } -// ToGetRequestInformation get changes from drives +// ToGetRequestInformation a collection of task change histories. func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -149,3 +149,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesRequestBuilder) } 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 *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_replies_item_task_changes_workbook_document_task_change_item_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_item_task_changes_workbook_document_task_change_item_request_builder.go index 0e2aa82c6a5..2b08a5d0fa3 100644 --- a/drives/item_items_item_workbook_comments_item_replies_item_task_changes_workbook_document_task_change_item_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_item_task_changes_workbook_document_task_change_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesWorkbookDocumentTask // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetQueryParameters get changes from drives +// ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetQueryParameters a collection of task change histories. type ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesWorkbookDocument } return nil } -// Get get changes from drives +// Get a collection of task change histories. func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskChangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -120,7 +120,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesWorkbookDocument } return requestInfo, nil } -// ToGetRequestInformation get changes from drives +// ToGetRequestInformation a collection of task change histories. func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesWorkbookDocument } 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 *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_request_builder.go index a95e8232cac..ae6f8651f15 100644 --- a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentRequestBuilderGetQueryParameters get comment from drives +// ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentRequestBuilderGetQueryParameters the comment that the task is associated with. type ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentRequestBuilder) } return nil } -// Get get comment from drives +// Get the comment that the task is associated with. func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookCommentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +124,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentRequestBuilder) } return requestInfo, nil } -// ToGetRequestInformation get comment from drives +// ToGetRequestInformation the comment that the task is associated with. func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentRequestBuilder) } 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 *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_count_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_count_request_builder.go index e9f13750435..852d1adea4a 100644 --- a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_count_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_count_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesCount } 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 *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesCountRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_item_at_with_index_request_builder.go index cf3db39f039..d72a0c2e3b4 100644 --- a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_item_at_with_index_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesItemA } 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 *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesItemAtWithIndexRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesItemAtWithIndexRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesItemAtWithIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_request_builder.go index 4b662cd3cb4..0dee7d18614 100644 --- a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesRequestBuilderGetQueryParameters get changes from drives +// ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesRequestBuilderGetQueryParameters a collection of task change histories. type ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWorkbookDocumentTaskChangeIdString provides operations to manage the changes property of the microsoft.graph.workbookDocumentTask entity. -func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesRequestBuilder) ByWorkbookDocumentTaskChangeIdString(workbookDocumentTaskChangeId string)(*ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) { +// ByWorkbookDocumentTaskChangeId provides operations to manage the changes property of the microsoft.graph.workbookDocumentTask entity. +func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesRequestBuilder) ByWorkbookDocumentTaskChangeId(workbookDocumentTaskChangeId string)(*ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,7 +74,7 @@ func NewItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesReques func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesRequestBuilder) Count()(*ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesCountRequestBuilder) { return NewItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get changes from drives +// Get a collection of task change histories. func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskChangeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +116,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskChangeable), nil } -// ToGetRequestInformation get changes from drives +// ToGetRequestInformation a collection of task change histories. func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -149,3 +149,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesReque } 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 *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_workbook_document_task_change_item_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_workbook_document_task_change_item_request_builder.go index 3b40914e743..8fccbdd87fd 100644 --- a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_workbook_document_task_change_item_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_workbook_document_task_change_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesWorkbookD // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetQueryParameters get changes from drives +// ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetQueryParameters a collection of task change histories. type ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesWorkb } return nil } -// Get get changes from drives +// Get a collection of task change histories. func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskChangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -120,7 +120,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesWorkb } return requestInfo, nil } -// ToGetRequestInformation get changes from drives +// ToGetRequestInformation a collection of task change histories. func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesWorkb } 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 *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_request_builder.go index 65a13b23a8b..5fcbb9d413a 100644 --- a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskRequestBuilderDe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskRequestBuilderGetQueryParameters get task from drives +// ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskRequestBuilderGetQueryParameters the task associated with the comment. Read-only. Nullable. type ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,7 +74,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskRequestBuild } return nil } -// Get get task from drives +// Get the task associated with the comment. Read-only. Nullable. func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +124,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskRequestBuild } return requestInfo, nil } -// ToGetRequestInformation get task from drives +// ToGetRequestInformation the task associated with the comment. Read-only. Nullable. func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskRequestBuild } 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 *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_replies_item_task_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_item_task_request_builder.go index 1029d74bef0..25b097686ae 100644 --- a/drives/item_items_item_workbook_comments_item_replies_item_task_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_item_task_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookCommentsItemRepliesItemTaskRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookCommentsItemRepliesItemTaskRequestBuilderGetQueryParameters get task from drives +// ItemItemsItemWorkbookCommentsItemRepliesItemTaskRequestBuilderGetQueryParameters the task associated with the comment thread. type ItemItemsItemWorkbookCommentsItemRepliesItemTaskRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -78,7 +78,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskRequestBuilder) Delete( } return nil } -// Get get task from drives +// Get the task associated with the comment thread. func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemRepliesItemTaskRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -128,7 +128,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskRequestBuilder) ToDelet } return requestInfo, nil } -// ToGetRequestInformation get task from drives +// ToGetRequestInformation the task associated with the comment thread. func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemRepliesItemTaskRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -161,3 +161,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskRequestBuilder) ToPatch } 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 *ItemItemsItemWorkbookCommentsItemRepliesItemTaskRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemRepliesItemTaskRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemRepliesItemTaskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_replies_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_request_builder.go index 69569292f92..d1ad01e7545 100644 --- a/drives/item_items_item_workbook_comments_item_replies_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_request_builder.go @@ -46,8 +46,8 @@ type ItemItemsItemWorkbookCommentsItemRepliesRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWorkbookCommentReplyIdString provides operations to manage the replies property of the microsoft.graph.workbookComment entity. -func (m *ItemItemsItemWorkbookCommentsItemRepliesRequestBuilder) ByWorkbookCommentReplyIdString(workbookCommentReplyId string)(*ItemItemsItemWorkbookCommentsItemRepliesWorkbookCommentReplyItemRequestBuilder) { +// ByWorkbookCommentReplyId provides operations to manage the replies property of the microsoft.graph.workbookComment entity. +func (m *ItemItemsItemWorkbookCommentsItemRepliesRequestBuilder) ByWorkbookCommentReplyId(workbookCommentReplyId string)(*ItemItemsItemWorkbookCommentsItemRepliesWorkbookCommentReplyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemWorkbookCommentsItemRepliesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemRepliesRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemRepliesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_replies_workbook_comment_reply_item_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_workbook_comment_reply_item_request_builder.go index c1c52dea006..c775e0b8d29 100644 --- a/drives/item_items_item_workbook_comments_item_replies_workbook_comment_reply_item_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_workbook_comment_reply_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesWorkbookCommentReplyItemRequest } 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 *ItemItemsItemWorkbookCommentsItemRepliesWorkbookCommentReplyItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemRepliesWorkbookCommentReplyItemRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemRepliesWorkbookCommentReplyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_task_changes_count_request_builder.go b/drives/item_items_item_workbook_comments_item_task_changes_count_request_builder.go index 313965344b7..8b39958e531 100644 --- a/drives/item_items_item_workbook_comments_item_task_changes_count_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_changes_count_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskChangesCountRequestBuilder) ToGetR } 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 *ItemItemsItemWorkbookCommentsItemTaskChangesCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemTaskChangesCountRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemTaskChangesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_task_changes_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_comments_item_task_changes_item_at_with_index_request_builder.go index a00fcbef48a..d13a949208b 100644 --- a/drives/item_items_item_workbook_comments_item_task_changes_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_changes_item_at_with_index_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskChangesItemAtWithIndexRequestBuild } 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 *ItemItemsItemWorkbookCommentsItemTaskChangesItemAtWithIndexRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemTaskChangesItemAtWithIndexRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemTaskChangesItemAtWithIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_task_changes_request_builder.go b/drives/item_items_item_workbook_comments_item_task_changes_request_builder.go index f2ac8eba43f..e19934e4115 100644 --- a/drives/item_items_item_workbook_comments_item_task_changes_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_changes_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookCommentsItemTaskChangesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookCommentsItemTaskChangesRequestBuilderGetQueryParameters get changes from drives +// ItemItemsItemWorkbookCommentsItemTaskChangesRequestBuilderGetQueryParameters a collection of task change histories. type ItemItemsItemWorkbookCommentsItemTaskChangesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type ItemItemsItemWorkbookCommentsItemTaskChangesRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWorkbookDocumentTaskChangeIdString provides operations to manage the changes property of the microsoft.graph.workbookDocumentTask entity. -func (m *ItemItemsItemWorkbookCommentsItemTaskChangesRequestBuilder) ByWorkbookDocumentTaskChangeIdString(workbookDocumentTaskChangeId string)(*ItemItemsItemWorkbookCommentsItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) { +// ByWorkbookDocumentTaskChangeId provides operations to manage the changes property of the microsoft.graph.workbookDocumentTask entity. +func (m *ItemItemsItemWorkbookCommentsItemTaskChangesRequestBuilder) ByWorkbookDocumentTaskChangeId(workbookDocumentTaskChangeId string)(*ItemItemsItemWorkbookCommentsItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,7 +74,7 @@ func NewItemItemsItemWorkbookCommentsItemTaskChangesRequestBuilder(rawUrl string func (m *ItemItemsItemWorkbookCommentsItemTaskChangesRequestBuilder) Count()(*ItemItemsItemWorkbookCommentsItemTaskChangesCountRequestBuilder) { return NewItemItemsItemWorkbookCommentsItemTaskChangesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get changes from drives +// Get a collection of task change histories. func (m *ItemItemsItemWorkbookCommentsItemTaskChangesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemTaskChangesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskChangeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +116,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskChangesRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskChangeable), nil } -// ToGetRequestInformation get changes from drives +// ToGetRequestInformation a collection of task change histories. func (m *ItemItemsItemWorkbookCommentsItemTaskChangesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemTaskChangesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -149,3 +149,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskChangesRequestBuilder) ToPostReque } 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 *ItemItemsItemWorkbookCommentsItemTaskChangesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemTaskChangesRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemTaskChangesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_task_changes_workbook_document_task_change_item_request_builder.go b/drives/item_items_item_workbook_comments_item_task_changes_workbook_document_task_change_item_request_builder.go index 3673785dc6d..655f70c6304 100644 --- a/drives/item_items_item_workbook_comments_item_task_changes_workbook_document_task_change_item_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_changes_workbook_document_task_change_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookCommentsItemTaskChangesWorkbookDocumentTaskChangeItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookCommentsItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetQueryParameters get changes from drives +// ItemItemsItemWorkbookCommentsItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetQueryParameters a collection of task change histories. type ItemItemsItemWorkbookCommentsItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskChangesWorkbookDocumentTaskChangeI } return nil } -// Get get changes from drives +// Get a collection of task change histories. func (m *ItemItemsItemWorkbookCommentsItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskChangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -120,7 +120,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskChangesWorkbookDocumentTaskChangeI } return requestInfo, nil } -// ToGetRequestInformation get changes from drives +// ToGetRequestInformation a collection of task change histories. func (m *ItemItemsItemWorkbookCommentsItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskChangesWorkbookDocumentTaskChangeI } 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 *ItemItemsItemWorkbookCommentsItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_task_comment_replies_count_request_builder.go b/drives/item_items_item_workbook_comments_item_task_comment_replies_count_request_builder.go index 0aa232f5e3b..2c276cbde42 100644 --- a/drives/item_items_item_workbook_comments_item_task_comment_replies_count_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_comment_replies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesCountRequestBuilder) } 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 *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemTaskCommentRepliesCountRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemTaskCommentRepliesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_count_request_builder.go b/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_count_request_builder.go index 71a410cde72..b75ec5c0f3e 100644 --- a/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_count_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_count_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesCount } 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 *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesCountRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_item_at_with_index_request_builder.go index a53da9caa4e..678b03249b8 100644 --- a/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_item_at_with_index_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesItemA } 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 *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesItemAtWithIndexRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesItemAtWithIndexRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesItemAtWithIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_request_builder.go b/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_request_builder.go index 34a36daec34..0e4a8c33e64 100644 --- a/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesRequestBuilderGetQueryParameters get changes from drives +// ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesRequestBuilderGetQueryParameters a collection of task change histories. type ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWorkbookDocumentTaskChangeIdString provides operations to manage the changes property of the microsoft.graph.workbookDocumentTask entity. -func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesRequestBuilder) ByWorkbookDocumentTaskChangeIdString(workbookDocumentTaskChangeId string)(*ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) { +// ByWorkbookDocumentTaskChangeId provides operations to manage the changes property of the microsoft.graph.workbookDocumentTask entity. +func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesRequestBuilder) ByWorkbookDocumentTaskChangeId(workbookDocumentTaskChangeId string)(*ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,7 +74,7 @@ func NewItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesReques func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesRequestBuilder) Count()(*ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesCountRequestBuilder) { return NewItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get changes from drives +// Get a collection of task change histories. func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskChangeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +116,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskChangeable), nil } -// ToGetRequestInformation get changes from drives +// ToGetRequestInformation a collection of task change histories. func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -149,3 +149,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesReque } 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 *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_workbook_document_task_change_item_request_builder.go b/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_workbook_document_task_change_item_request_builder.go index 98bd5cf0389..c9c06518819 100644 --- a/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_workbook_document_task_change_item_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_workbook_document_task_change_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesWorkbookD // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetQueryParameters get changes from drives +// ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetQueryParameters a collection of task change histories. type ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesWorkb } return nil } -// Get get changes from drives +// Get a collection of task change histories. func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskChangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -120,7 +120,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesWorkb } return requestInfo, nil } -// ToGetRequestInformation get changes from drives +// ToGetRequestInformation a collection of task change histories. func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesWorkb } 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 *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_request_builder.go b/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_request_builder.go index c1693f8aa58..59df31712ab 100644 --- a/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskRequestBuilderDe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskRequestBuilderGetQueryParameters get task from drives +// ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskRequestBuilderGetQueryParameters the task associated with the comment thread. type ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,7 +74,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskRequestBuild } return nil } -// Get get task from drives +// Get the task associated with the comment thread. func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +124,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskRequestBuild } return requestInfo, nil } -// ToGetRequestInformation get task from drives +// ToGetRequestInformation the task associated with the comment thread. func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskRequestBuild } 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 *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_task_comment_replies_request_builder.go b/drives/item_items_item_workbook_comments_item_task_comment_replies_request_builder.go index 17ecd62aa72..43fa1be2091 100644 --- a/drives/item_items_item_workbook_comments_item_task_comment_replies_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_comment_replies_request_builder.go @@ -46,8 +46,8 @@ type ItemItemsItemWorkbookCommentsItemTaskCommentRepliesRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWorkbookCommentReplyIdString provides operations to manage the replies property of the microsoft.graph.workbookComment entity. -func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesRequestBuilder) ByWorkbookCommentReplyIdString(workbookCommentReplyId string)(*ItemItemsItemWorkbookCommentsItemTaskCommentRepliesWorkbookCommentReplyItemRequestBuilder) { +// ByWorkbookCommentReplyId provides operations to manage the replies property of the microsoft.graph.workbookComment entity. +func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesRequestBuilder) ByWorkbookCommentReplyId(workbookCommentReplyId string)(*ItemItemsItemWorkbookCommentsItemTaskCommentRepliesWorkbookCommentReplyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesRequestBuilder) ToPo } 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 *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemTaskCommentRepliesRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemTaskCommentRepliesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_task_comment_replies_workbook_comment_reply_item_request_builder.go b/drives/item_items_item_workbook_comments_item_task_comment_replies_workbook_comment_reply_item_request_builder.go index 7b350271fd5..7fcfd6acb56 100644 --- a/drives/item_items_item_workbook_comments_item_task_comment_replies_workbook_comment_reply_item_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_comment_replies_workbook_comment_reply_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesWorkbookCommentReply } 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 *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesWorkbookCommentReplyItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemTaskCommentRepliesWorkbookCommentReplyItemRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemTaskCommentRepliesWorkbookCommentReplyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_task_comment_request_builder.go b/drives/item_items_item_workbook_comments_item_task_comment_request_builder.go index fd06b3f7865..db943a7c314 100644 --- a/drives/item_items_item_workbook_comments_item_task_comment_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_comment_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookCommentsItemTaskCommentRequestBuilderDeleteRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookCommentsItemTaskCommentRequestBuilderGetQueryParameters get comment from drives +// ItemItemsItemWorkbookCommentsItemTaskCommentRequestBuilderGetQueryParameters the comment that the task is associated with. type ItemItemsItemWorkbookCommentsItemTaskCommentRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRequestBuilder) Delete(ctx } return nil } -// Get get comment from drives +// Get the comment that the task is associated with. func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemTaskCommentRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookCommentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +124,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRequestBuilder) ToDeleteReq } return requestInfo, nil } -// ToGetRequestInformation get comment from drives +// ToGetRequestInformation the comment that the task is associated with. func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemTaskCommentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRequestBuilder) ToPatchRequ } 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 *ItemItemsItemWorkbookCommentsItemTaskCommentRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemTaskCommentRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemTaskCommentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_item_task_request_builder.go b/drives/item_items_item_workbook_comments_item_task_request_builder.go index 9cfac95354f..20ee007ab3e 100644 --- a/drives/item_items_item_workbook_comments_item_task_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookCommentsItemTaskRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookCommentsItemTaskRequestBuilderGetQueryParameters get task from drives +// ItemItemsItemWorkbookCommentsItemTaskRequestBuilderGetQueryParameters the task associated with the comment. Read-only. Nullable. type ItemItemsItemWorkbookCommentsItemTaskRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -78,7 +78,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskRequestBuilder) Delete(ctx context } return nil } -// Get get task from drives +// Get the task associated with the comment. Read-only. Nullable. func (m *ItemItemsItemWorkbookCommentsItemTaskRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemTaskRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -128,7 +128,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskRequestBuilder) ToDeleteRequestInf } return requestInfo, nil } -// ToGetRequestInformation get task from drives +// ToGetRequestInformation the task associated with the comment. Read-only. Nullable. func (m *ItemItemsItemWorkbookCommentsItemTaskRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCommentsItemTaskRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -161,3 +161,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskRequestBuilder) 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 *ItemItemsItemWorkbookCommentsItemTaskRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsItemTaskRequestBuilder) { + return NewItemItemsItemWorkbookCommentsItemTaskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_request_builder.go b/drives/item_items_item_workbook_comments_request_builder.go index 0a226a31c54..e7a88e56e82 100644 --- a/drives/item_items_item_workbook_comments_request_builder.go +++ b/drives/item_items_item_workbook_comments_request_builder.go @@ -46,8 +46,8 @@ type ItemItemsItemWorkbookCommentsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWorkbookCommentIdString provides operations to manage the comments property of the microsoft.graph.workbook entity. -func (m *ItemItemsItemWorkbookCommentsRequestBuilder) ByWorkbookCommentIdString(workbookCommentId string)(*ItemItemsItemWorkbookCommentsWorkbookCommentItemRequestBuilder) { +// ByWorkbookCommentId provides operations to manage the comments property of the microsoft.graph.workbook entity. +func (m *ItemItemsItemWorkbookCommentsRequestBuilder) ByWorkbookCommentId(workbookCommentId string)(*ItemItemsItemWorkbookCommentsWorkbookCommentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemItemsItemWorkbookCommentsRequestBuilder) ToPostRequestInformation(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 *ItemItemsItemWorkbookCommentsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsRequestBuilder) { + return NewItemItemsItemWorkbookCommentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_comments_workbook_comment_item_request_builder.go b/drives/item_items_item_workbook_comments_workbook_comment_item_request_builder.go index 85209e2a9d7..b1bd6a1668f 100644 --- a/drives/item_items_item_workbook_comments_workbook_comment_item_request_builder.go +++ b/drives/item_items_item_workbook_comments_workbook_comment_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemItemsItemWorkbookCommentsWorkbookCommentItemRequestBuilder) ToPatch } 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 *ItemItemsItemWorkbookCommentsWorkbookCommentItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCommentsWorkbookCommentItemRequestBuilder) { + return NewItemItemsItemWorkbookCommentsWorkbookCommentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_create_session_request_builder.go b/drives/item_items_item_workbook_create_session_request_builder.go index 3d9bd4c525a..320f436392a 100644 --- a/drives/item_items_item_workbook_create_session_request_builder.go +++ b/drives/item_items_item_workbook_create_session_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemWorkbookCreateSessionRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookCreateSessionRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookCreateSessionRequestBuilder) { + return NewItemItemsItemWorkbookCreateSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_abs_request_builder.go b/drives/item_items_item_workbook_functions_abs_request_builder.go index 7850ce9de5b..1b574e2f728 100644 --- a/drives/item_items_item_workbook_functions_abs_request_builder.go +++ b/drives/item_items_item_workbook_functions_abs_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsAbsRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsAbsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsAbsRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsAbsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_accr_int_m_request_builder.go b/drives/item_items_item_workbook_functions_accr_int_m_request_builder.go index 54b2804aa81..6c1427b7432 100644 --- a/drives/item_items_item_workbook_functions_accr_int_m_request_builder.go +++ b/drives/item_items_item_workbook_functions_accr_int_m_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsAccrIntMRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsAccrIntMRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsAccrIntMRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsAccrIntMRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_accr_int_request_builder.go b/drives/item_items_item_workbook_functions_accr_int_request_builder.go index b6a55d37ec5..27748e4e350 100644 --- a/drives/item_items_item_workbook_functions_accr_int_request_builder.go +++ b/drives/item_items_item_workbook_functions_accr_int_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsAccrIntRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsAccrIntRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsAccrIntRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsAccrIntRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_acos_request_builder.go b/drives/item_items_item_workbook_functions_acos_request_builder.go index c2d9efc5b51..d33620b50b8 100644 --- a/drives/item_items_item_workbook_functions_acos_request_builder.go +++ b/drives/item_items_item_workbook_functions_acos_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsAcosRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsAcosRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsAcosRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsAcosRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_acosh_request_builder.go b/drives/item_items_item_workbook_functions_acosh_request_builder.go index 75a0ba97f32..527aee849b0 100644 --- a/drives/item_items_item_workbook_functions_acosh_request_builder.go +++ b/drives/item_items_item_workbook_functions_acosh_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsAcoshRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsAcoshRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsAcoshRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsAcoshRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_acot_request_builder.go b/drives/item_items_item_workbook_functions_acot_request_builder.go index 54537aaeee4..a32d4d84bc4 100644 --- a/drives/item_items_item_workbook_functions_acot_request_builder.go +++ b/drives/item_items_item_workbook_functions_acot_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsAcotRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsAcotRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsAcotRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsAcotRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_acoth_request_builder.go b/drives/item_items_item_workbook_functions_acoth_request_builder.go index 259c33d0897..c6c49abc414 100644 --- a/drives/item_items_item_workbook_functions_acoth_request_builder.go +++ b/drives/item_items_item_workbook_functions_acoth_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsAcothRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsAcothRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsAcothRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsAcothRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_amor_degrc_request_builder.go b/drives/item_items_item_workbook_functions_amor_degrc_request_builder.go index 3ad5276885a..b2417cad978 100644 --- a/drives/item_items_item_workbook_functions_amor_degrc_request_builder.go +++ b/drives/item_items_item_workbook_functions_amor_degrc_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsAmorDegrcRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsAmorDegrcRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsAmorDegrcRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsAmorDegrcRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_amor_linc_request_builder.go b/drives/item_items_item_workbook_functions_amor_linc_request_builder.go index c29425c7f6a..ccc4d51485b 100644 --- a/drives/item_items_item_workbook_functions_amor_linc_request_builder.go +++ b/drives/item_items_item_workbook_functions_amor_linc_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsAmorLincRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsAmorLincRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsAmorLincRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsAmorLincRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_and_request_builder.go b/drives/item_items_item_workbook_functions_and_request_builder.go index 49a5b5695bc..dfd2b3419c3 100644 --- a/drives/item_items_item_workbook_functions_and_request_builder.go +++ b/drives/item_items_item_workbook_functions_and_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsAndRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsAndRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsAndRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsAndRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_arabic_request_builder.go b/drives/item_items_item_workbook_functions_arabic_request_builder.go index 7f1f7e01bbe..20d6be8f55a 100644 --- a/drives/item_items_item_workbook_functions_arabic_request_builder.go +++ b/drives/item_items_item_workbook_functions_arabic_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsArabicRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsArabicRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsArabicRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsArabicRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_areas_request_builder.go b/drives/item_items_item_workbook_functions_areas_request_builder.go index 61c67419d4c..17a4f87d6c3 100644 --- a/drives/item_items_item_workbook_functions_areas_request_builder.go +++ b/drives/item_items_item_workbook_functions_areas_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsAreasRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsAreasRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsAreasRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsAreasRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_asc_request_builder.go b/drives/item_items_item_workbook_functions_asc_request_builder.go index cf454e86de4..213d82ebe22 100644 --- a/drives/item_items_item_workbook_functions_asc_request_builder.go +++ b/drives/item_items_item_workbook_functions_asc_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsAscRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsAscRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsAscRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsAscRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_asin_request_builder.go b/drives/item_items_item_workbook_functions_asin_request_builder.go index 1398ab5a5b8..a6c6a6469b8 100644 --- a/drives/item_items_item_workbook_functions_asin_request_builder.go +++ b/drives/item_items_item_workbook_functions_asin_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsAsinRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsAsinRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsAsinRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsAsinRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_asinh_request_builder.go b/drives/item_items_item_workbook_functions_asinh_request_builder.go index 283c4123830..c9ed06548fc 100644 --- a/drives/item_items_item_workbook_functions_asinh_request_builder.go +++ b/drives/item_items_item_workbook_functions_asinh_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsAsinhRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsAsinhRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsAsinhRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsAsinhRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_atan2_request_builder.go b/drives/item_items_item_workbook_functions_atan2_request_builder.go index b84e7b0d118..47610fa7504 100644 --- a/drives/item_items_item_workbook_functions_atan2_request_builder.go +++ b/drives/item_items_item_workbook_functions_atan2_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsAtan2RequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsAtan2RequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsAtan2RequestBuilder) { + return NewItemItemsItemWorkbookFunctionsAtan2RequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_atan_request_builder.go b/drives/item_items_item_workbook_functions_atan_request_builder.go index 59d85eaca31..bf14d23ea69 100644 --- a/drives/item_items_item_workbook_functions_atan_request_builder.go +++ b/drives/item_items_item_workbook_functions_atan_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsAtanRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsAtanRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsAtanRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsAtanRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_atanh_request_builder.go b/drives/item_items_item_workbook_functions_atanh_request_builder.go index bb1d4f6bcab..1526aafac06 100644 --- a/drives/item_items_item_workbook_functions_atanh_request_builder.go +++ b/drives/item_items_item_workbook_functions_atanh_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsAtanhRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsAtanhRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsAtanhRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsAtanhRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_ave_dev_request_builder.go b/drives/item_items_item_workbook_functions_ave_dev_request_builder.go index bee6b361ef5..d60467ed5c2 100644 --- a/drives/item_items_item_workbook_functions_ave_dev_request_builder.go +++ b/drives/item_items_item_workbook_functions_ave_dev_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsAveDevRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsAveDevRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsAveDevRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsAveDevRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_average_a_request_builder.go b/drives/item_items_item_workbook_functions_average_a_request_builder.go index 36e43010f98..261c70285b4 100644 --- a/drives/item_items_item_workbook_functions_average_a_request_builder.go +++ b/drives/item_items_item_workbook_functions_average_a_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsAverageARequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsAverageARequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsAverageARequestBuilder) { + return NewItemItemsItemWorkbookFunctionsAverageARequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_average_if_request_builder.go b/drives/item_items_item_workbook_functions_average_if_request_builder.go index 777cd7904e9..e17c368bd6b 100644 --- a/drives/item_items_item_workbook_functions_average_if_request_builder.go +++ b/drives/item_items_item_workbook_functions_average_if_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsAverageIfRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsAverageIfRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsAverageIfRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsAverageIfRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_average_ifs_request_builder.go b/drives/item_items_item_workbook_functions_average_ifs_request_builder.go index 365692af878..6153e56b52c 100644 --- a/drives/item_items_item_workbook_functions_average_ifs_request_builder.go +++ b/drives/item_items_item_workbook_functions_average_ifs_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsAverageIfsRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemWorkbookFunctionsAverageIfsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsAverageIfsRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsAverageIfsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_average_request_builder.go b/drives/item_items_item_workbook_functions_average_request_builder.go index 4fcac08f9cc..11614c09a36 100644 --- a/drives/item_items_item_workbook_functions_average_request_builder.go +++ b/drives/item_items_item_workbook_functions_average_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsAverageRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsAverageRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsAverageRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsAverageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_baht_text_request_builder.go b/drives/item_items_item_workbook_functions_baht_text_request_builder.go index 3a1234a000e..c7d8487d1d0 100644 --- a/drives/item_items_item_workbook_functions_baht_text_request_builder.go +++ b/drives/item_items_item_workbook_functions_baht_text_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsBahtTextRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsBahtTextRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsBahtTextRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsBahtTextRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_base_request_builder.go b/drives/item_items_item_workbook_functions_base_request_builder.go index 36a63ec8bbd..ac09f7e9e2f 100644 --- a/drives/item_items_item_workbook_functions_base_request_builder.go +++ b/drives/item_items_item_workbook_functions_base_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsBaseRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsBaseRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsBaseRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsBaseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_bessel_i_request_builder.go b/drives/item_items_item_workbook_functions_bessel_i_request_builder.go index 40cfdc57b6a..fcb984c79df 100644 --- a/drives/item_items_item_workbook_functions_bessel_i_request_builder.go +++ b/drives/item_items_item_workbook_functions_bessel_i_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsBesselIRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsBesselIRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsBesselIRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsBesselIRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_bessel_j_request_builder.go b/drives/item_items_item_workbook_functions_bessel_j_request_builder.go index dd0b55f1b49..519e97cf99e 100644 --- a/drives/item_items_item_workbook_functions_bessel_j_request_builder.go +++ b/drives/item_items_item_workbook_functions_bessel_j_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsBesselJRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsBesselJRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsBesselJRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsBesselJRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_bessel_k_request_builder.go b/drives/item_items_item_workbook_functions_bessel_k_request_builder.go index 6f41c4b9677..d182f895b63 100644 --- a/drives/item_items_item_workbook_functions_bessel_k_request_builder.go +++ b/drives/item_items_item_workbook_functions_bessel_k_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsBesselKRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsBesselKRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsBesselKRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsBesselKRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_bessel_y_request_builder.go b/drives/item_items_item_workbook_functions_bessel_y_request_builder.go index a3cab9f239b..36a7a527fea 100644 --- a/drives/item_items_item_workbook_functions_bessel_y_request_builder.go +++ b/drives/item_items_item_workbook_functions_bessel_y_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsBesselYRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsBesselYRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsBesselYRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsBesselYRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_beta_dist_request_builder.go b/drives/item_items_item_workbook_functions_beta_dist_request_builder.go index 9a9ec74fb1d..49e045d9f91 100644 --- a/drives/item_items_item_workbook_functions_beta_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_beta_dist_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsBeta_DistRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsBeta_DistRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsBeta_DistRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsBeta_DistRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_beta_inv_request_builder.go b/drives/item_items_item_workbook_functions_beta_inv_request_builder.go index f7bccbaeffa..7cdabc28ef5 100644 --- a/drives/item_items_item_workbook_functions_beta_inv_request_builder.go +++ b/drives/item_items_item_workbook_functions_beta_inv_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsBeta_InvRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsBeta_InvRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsBeta_InvRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsBeta_InvRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_bin2_dec_request_builder.go b/drives/item_items_item_workbook_functions_bin2_dec_request_builder.go index fbe8736e707..7f8c098f82b 100644 --- a/drives/item_items_item_workbook_functions_bin2_dec_request_builder.go +++ b/drives/item_items_item_workbook_functions_bin2_dec_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsBin2DecRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsBin2DecRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsBin2DecRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsBin2DecRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_bin2_hex_request_builder.go b/drives/item_items_item_workbook_functions_bin2_hex_request_builder.go index ea6c1f41de6..e72a923b2a1 100644 --- a/drives/item_items_item_workbook_functions_bin2_hex_request_builder.go +++ b/drives/item_items_item_workbook_functions_bin2_hex_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsBin2HexRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsBin2HexRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsBin2HexRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsBin2HexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_bin2_oct_request_builder.go b/drives/item_items_item_workbook_functions_bin2_oct_request_builder.go index d26e5943842..146596df3fb 100644 --- a/drives/item_items_item_workbook_functions_bin2_oct_request_builder.go +++ b/drives/item_items_item_workbook_functions_bin2_oct_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsBin2OctRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsBin2OctRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsBin2OctRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsBin2OctRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_binom_dist_range_request_builder.go b/drives/item_items_item_workbook_functions_binom_dist_range_request_builder.go index 1d14dead1d9..a32f8bf8fa5 100644 --- a/drives/item_items_item_workbook_functions_binom_dist_range_request_builder.go +++ b/drives/item_items_item_workbook_functions_binom_dist_range_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsBinom_Dist_RangeRequestBuilder) ToPostReq } 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 *ItemItemsItemWorkbookFunctionsBinom_Dist_RangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsBinom_Dist_RangeRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsBinom_Dist_RangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_binom_dist_request_builder.go b/drives/item_items_item_workbook_functions_binom_dist_request_builder.go index b4e75789ac6..22485708cb8 100644 --- a/drives/item_items_item_workbook_functions_binom_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_binom_dist_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsBinom_DistRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemWorkbookFunctionsBinom_DistRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsBinom_DistRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsBinom_DistRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_binom_inv_request_builder.go b/drives/item_items_item_workbook_functions_binom_inv_request_builder.go index 4aa40a19538..4b59777c7f9 100644 --- a/drives/item_items_item_workbook_functions_binom_inv_request_builder.go +++ b/drives/item_items_item_workbook_functions_binom_inv_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsBinom_InvRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsBinom_InvRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsBinom_InvRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsBinom_InvRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_bitand_request_builder.go b/drives/item_items_item_workbook_functions_bitand_request_builder.go index eb2457b1e86..7a9f27b4f7b 100644 --- a/drives/item_items_item_workbook_functions_bitand_request_builder.go +++ b/drives/item_items_item_workbook_functions_bitand_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsBitandRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsBitandRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsBitandRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsBitandRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_bitlshift_request_builder.go b/drives/item_items_item_workbook_functions_bitlshift_request_builder.go index d15b384884a..7787447b219 100644 --- a/drives/item_items_item_workbook_functions_bitlshift_request_builder.go +++ b/drives/item_items_item_workbook_functions_bitlshift_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsBitlshiftRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsBitlshiftRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsBitlshiftRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsBitlshiftRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_bitor_request_builder.go b/drives/item_items_item_workbook_functions_bitor_request_builder.go index c63ae8541b7..cc20b6496f8 100644 --- a/drives/item_items_item_workbook_functions_bitor_request_builder.go +++ b/drives/item_items_item_workbook_functions_bitor_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsBitorRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsBitorRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsBitorRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsBitorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_bitrshift_request_builder.go b/drives/item_items_item_workbook_functions_bitrshift_request_builder.go index 2f65c331135..67b0b5fb701 100644 --- a/drives/item_items_item_workbook_functions_bitrshift_request_builder.go +++ b/drives/item_items_item_workbook_functions_bitrshift_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsBitrshiftRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsBitrshiftRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsBitrshiftRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsBitrshiftRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_bitxor_request_builder.go b/drives/item_items_item_workbook_functions_bitxor_request_builder.go index b6852eaa8d8..f301d73427d 100644 --- a/drives/item_items_item_workbook_functions_bitxor_request_builder.go +++ b/drives/item_items_item_workbook_functions_bitxor_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsBitxorRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsBitxorRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsBitxorRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsBitxorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_ceiling_math_request_builder.go b/drives/item_items_item_workbook_functions_ceiling_math_request_builder.go index 8c90c29f71d..5b1f82a1573 100644 --- a/drives/item_items_item_workbook_functions_ceiling_math_request_builder.go +++ b/drives/item_items_item_workbook_functions_ceiling_math_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCeiling_MathRequestBuilder) ToPostRequest } 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 *ItemItemsItemWorkbookFunctionsCeiling_MathRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCeiling_MathRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCeiling_MathRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_ceiling_precise_request_builder.go b/drives/item_items_item_workbook_functions_ceiling_precise_request_builder.go index ca9f99d5656..35ec892d7a9 100644 --- a/drives/item_items_item_workbook_functions_ceiling_precise_request_builder.go +++ b/drives/item_items_item_workbook_functions_ceiling_precise_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCeiling_PreciseRequestBuilder) ToPostRequ } 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 *ItemItemsItemWorkbookFunctionsCeiling_PreciseRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCeiling_PreciseRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCeiling_PreciseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_char_request_builder.go b/drives/item_items_item_workbook_functions_char_request_builder.go index 8aafc11d226..ba766926199 100644 --- a/drives/item_items_item_workbook_functions_char_request_builder.go +++ b/drives/item_items_item_workbook_functions_char_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCharRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsCharRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCharRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCharRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_chi_sq_dist_r_t_request_builder.go b/drives/item_items_item_workbook_functions_chi_sq_dist_r_t_request_builder.go index ef02f0fc060..43b09bce173 100644 --- a/drives/item_items_item_workbook_functions_chi_sq_dist_r_t_request_builder.go +++ b/drives/item_items_item_workbook_functions_chi_sq_dist_r_t_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsChiSq_Dist_RTRequestBuilder) ToPostReques } 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 *ItemItemsItemWorkbookFunctionsChiSq_Dist_RTRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsChiSq_Dist_RTRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsChiSq_Dist_RTRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_chi_sq_dist_request_builder.go b/drives/item_items_item_workbook_functions_chi_sq_dist_request_builder.go index f09994438af..4da84c5c3e4 100644 --- a/drives/item_items_item_workbook_functions_chi_sq_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_chi_sq_dist_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsChiSq_DistRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemWorkbookFunctionsChiSq_DistRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsChiSq_DistRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsChiSq_DistRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_chi_sq_inv_r_t_request_builder.go b/drives/item_items_item_workbook_functions_chi_sq_inv_r_t_request_builder.go index 0c4611a15fa..3e46f78cff1 100644 --- a/drives/item_items_item_workbook_functions_chi_sq_inv_r_t_request_builder.go +++ b/drives/item_items_item_workbook_functions_chi_sq_inv_r_t_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsChiSq_Inv_RTRequestBuilder) ToPostRequest } 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 *ItemItemsItemWorkbookFunctionsChiSq_Inv_RTRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsChiSq_Inv_RTRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsChiSq_Inv_RTRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_chi_sq_inv_request_builder.go b/drives/item_items_item_workbook_functions_chi_sq_inv_request_builder.go index 6648e4fbe31..24f7b73ab75 100644 --- a/drives/item_items_item_workbook_functions_chi_sq_inv_request_builder.go +++ b/drives/item_items_item_workbook_functions_chi_sq_inv_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsChiSq_InvRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsChiSq_InvRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsChiSq_InvRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsChiSq_InvRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_choose_request_builder.go b/drives/item_items_item_workbook_functions_choose_request_builder.go index d9314a6e554..5917751b2af 100644 --- a/drives/item_items_item_workbook_functions_choose_request_builder.go +++ b/drives/item_items_item_workbook_functions_choose_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsChooseRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsChooseRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsChooseRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsChooseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_clean_request_builder.go b/drives/item_items_item_workbook_functions_clean_request_builder.go index 0763219b951..55a6a355964 100644 --- a/drives/item_items_item_workbook_functions_clean_request_builder.go +++ b/drives/item_items_item_workbook_functions_clean_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCleanRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsCleanRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCleanRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCleanRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_code_request_builder.go b/drives/item_items_item_workbook_functions_code_request_builder.go index daeebf92864..0bdfe15501a 100644 --- a/drives/item_items_item_workbook_functions_code_request_builder.go +++ b/drives/item_items_item_workbook_functions_code_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCodeRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsCodeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCodeRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCodeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_columns_request_builder.go b/drives/item_items_item_workbook_functions_columns_request_builder.go index 5c41c31bba8..3411a0e3890 100644 --- a/drives/item_items_item_workbook_functions_columns_request_builder.go +++ b/drives/item_items_item_workbook_functions_columns_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsColumnsRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsColumnsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsColumnsRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsColumnsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_combin_request_builder.go b/drives/item_items_item_workbook_functions_combin_request_builder.go index d7ba0f654f2..f839a678ce6 100644 --- a/drives/item_items_item_workbook_functions_combin_request_builder.go +++ b/drives/item_items_item_workbook_functions_combin_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCombinRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsCombinRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCombinRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCombinRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_combina_request_builder.go b/drives/item_items_item_workbook_functions_combina_request_builder.go index 43d454b8b0c..255f07f8b61 100644 --- a/drives/item_items_item_workbook_functions_combina_request_builder.go +++ b/drives/item_items_item_workbook_functions_combina_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCombinaRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsCombinaRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCombinaRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCombinaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_complex_request_builder.go b/drives/item_items_item_workbook_functions_complex_request_builder.go index ffbca715243..315ecd131f9 100644 --- a/drives/item_items_item_workbook_functions_complex_request_builder.go +++ b/drives/item_items_item_workbook_functions_complex_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsComplexRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsComplexRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsComplexRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsComplexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_concatenate_request_builder.go b/drives/item_items_item_workbook_functions_concatenate_request_builder.go index 4803f427363..484d6fbe358 100644 --- a/drives/item_items_item_workbook_functions_concatenate_request_builder.go +++ b/drives/item_items_item_workbook_functions_concatenate_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsConcatenateRequestBuilder) ToPostRequestI } 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 *ItemItemsItemWorkbookFunctionsConcatenateRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsConcatenateRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsConcatenateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_confidence_norm_request_builder.go b/drives/item_items_item_workbook_functions_confidence_norm_request_builder.go index 13a5a93dcb4..0f1bef727c8 100644 --- a/drives/item_items_item_workbook_functions_confidence_norm_request_builder.go +++ b/drives/item_items_item_workbook_functions_confidence_norm_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsConfidence_NormRequestBuilder) ToPostRequ } 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 *ItemItemsItemWorkbookFunctionsConfidence_NormRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsConfidence_NormRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsConfidence_NormRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_confidence_t_request_builder.go b/drives/item_items_item_workbook_functions_confidence_t_request_builder.go index ebcf6dcbb2b..5ea6af41515 100644 --- a/drives/item_items_item_workbook_functions_confidence_t_request_builder.go +++ b/drives/item_items_item_workbook_functions_confidence_t_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsConfidence_TRequestBuilder) ToPostRequest } 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 *ItemItemsItemWorkbookFunctionsConfidence_TRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsConfidence_TRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsConfidence_TRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_convert_request_builder.go b/drives/item_items_item_workbook_functions_convert_request_builder.go index de1b1f4c3ae..8d55b664d5a 100644 --- a/drives/item_items_item_workbook_functions_convert_request_builder.go +++ b/drives/item_items_item_workbook_functions_convert_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsConvertRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsConvertRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsConvertRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsConvertRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_cos_request_builder.go b/drives/item_items_item_workbook_functions_cos_request_builder.go index 473d24360dd..9a25d13bfae 100644 --- a/drives/item_items_item_workbook_functions_cos_request_builder.go +++ b/drives/item_items_item_workbook_functions_cos_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCosRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsCosRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCosRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCosRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_cosh_request_builder.go b/drives/item_items_item_workbook_functions_cosh_request_builder.go index db5ff5abc0a..499e23a2603 100644 --- a/drives/item_items_item_workbook_functions_cosh_request_builder.go +++ b/drives/item_items_item_workbook_functions_cosh_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCoshRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsCoshRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCoshRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCoshRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_cot_request_builder.go b/drives/item_items_item_workbook_functions_cot_request_builder.go index c8adf0525ac..5b69ff0ff20 100644 --- a/drives/item_items_item_workbook_functions_cot_request_builder.go +++ b/drives/item_items_item_workbook_functions_cot_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCotRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsCotRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCotRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCotRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_coth_request_builder.go b/drives/item_items_item_workbook_functions_coth_request_builder.go index 45460a51be0..0c80489e7af 100644 --- a/drives/item_items_item_workbook_functions_coth_request_builder.go +++ b/drives/item_items_item_workbook_functions_coth_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCothRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsCothRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCothRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCothRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_count_a_request_builder.go b/drives/item_items_item_workbook_functions_count_a_request_builder.go index 50675fb0dba..3deb72388e9 100644 --- a/drives/item_items_item_workbook_functions_count_a_request_builder.go +++ b/drives/item_items_item_workbook_functions_count_a_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCountARequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsCountARequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCountARequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCountARequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_count_blank_request_builder.go b/drives/item_items_item_workbook_functions_count_blank_request_builder.go index 87b19ca325d..739402b213d 100644 --- a/drives/item_items_item_workbook_functions_count_blank_request_builder.go +++ b/drives/item_items_item_workbook_functions_count_blank_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCountBlankRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemWorkbookFunctionsCountBlankRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCountBlankRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCountBlankRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_count_if_request_builder.go b/drives/item_items_item_workbook_functions_count_if_request_builder.go index f080dd43a57..29858cee62f 100644 --- a/drives/item_items_item_workbook_functions_count_if_request_builder.go +++ b/drives/item_items_item_workbook_functions_count_if_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCountIfRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsCountIfRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCountIfRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCountIfRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_count_ifs_request_builder.go b/drives/item_items_item_workbook_functions_count_ifs_request_builder.go index 001e766b471..45f0529b3b4 100644 --- a/drives/item_items_item_workbook_functions_count_ifs_request_builder.go +++ b/drives/item_items_item_workbook_functions_count_ifs_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCountIfsRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsCountIfsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCountIfsRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCountIfsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_count_request_builder.go b/drives/item_items_item_workbook_functions_count_request_builder.go index bf2b108cfea..d7eca20ae8d 100644 --- a/drives/item_items_item_workbook_functions_count_request_builder.go +++ b/drives/item_items_item_workbook_functions_count_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCountRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCountRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_coup_day_bs_request_builder.go b/drives/item_items_item_workbook_functions_coup_day_bs_request_builder.go index b9642efdc58..3b2312bad04 100644 --- a/drives/item_items_item_workbook_functions_coup_day_bs_request_builder.go +++ b/drives/item_items_item_workbook_functions_coup_day_bs_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCoupDayBsRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsCoupDayBsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCoupDayBsRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCoupDayBsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_coup_days_nc_request_builder.go b/drives/item_items_item_workbook_functions_coup_days_nc_request_builder.go index 419f2f82de3..f2adca9c404 100644 --- a/drives/item_items_item_workbook_functions_coup_days_nc_request_builder.go +++ b/drives/item_items_item_workbook_functions_coup_days_nc_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCoupDaysNcRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemWorkbookFunctionsCoupDaysNcRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCoupDaysNcRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCoupDaysNcRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_coup_days_request_builder.go b/drives/item_items_item_workbook_functions_coup_days_request_builder.go index 5966f9ea6cc..2920561c81c 100644 --- a/drives/item_items_item_workbook_functions_coup_days_request_builder.go +++ b/drives/item_items_item_workbook_functions_coup_days_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCoupDaysRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsCoupDaysRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCoupDaysRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCoupDaysRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_coup_ncd_request_builder.go b/drives/item_items_item_workbook_functions_coup_ncd_request_builder.go index fb02537bb2a..3e18af80db7 100644 --- a/drives/item_items_item_workbook_functions_coup_ncd_request_builder.go +++ b/drives/item_items_item_workbook_functions_coup_ncd_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCoupNcdRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsCoupNcdRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCoupNcdRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCoupNcdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_coup_num_request_builder.go b/drives/item_items_item_workbook_functions_coup_num_request_builder.go index d0ad649595e..481f4b09712 100644 --- a/drives/item_items_item_workbook_functions_coup_num_request_builder.go +++ b/drives/item_items_item_workbook_functions_coup_num_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCoupNumRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsCoupNumRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCoupNumRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCoupNumRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_coup_pcd_request_builder.go b/drives/item_items_item_workbook_functions_coup_pcd_request_builder.go index 506220578ca..c9bea5e8051 100644 --- a/drives/item_items_item_workbook_functions_coup_pcd_request_builder.go +++ b/drives/item_items_item_workbook_functions_coup_pcd_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCoupPcdRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsCoupPcdRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCoupPcdRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCoupPcdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_csc_request_builder.go b/drives/item_items_item_workbook_functions_csc_request_builder.go index 29ad7bbf4d9..54066cc3ea0 100644 --- a/drives/item_items_item_workbook_functions_csc_request_builder.go +++ b/drives/item_items_item_workbook_functions_csc_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCscRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsCscRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCscRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCscRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_csch_request_builder.go b/drives/item_items_item_workbook_functions_csch_request_builder.go index 35396b7e3c2..fb3373340cf 100644 --- a/drives/item_items_item_workbook_functions_csch_request_builder.go +++ b/drives/item_items_item_workbook_functions_csch_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCschRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsCschRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCschRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCschRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_cum_i_pmt_request_builder.go b/drives/item_items_item_workbook_functions_cum_i_pmt_request_builder.go index 8832d5d5fdb..5269a65f7df 100644 --- a/drives/item_items_item_workbook_functions_cum_i_pmt_request_builder.go +++ b/drives/item_items_item_workbook_functions_cum_i_pmt_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCumIPmtRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsCumIPmtRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCumIPmtRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCumIPmtRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_cum_princ_request_builder.go b/drives/item_items_item_workbook_functions_cum_princ_request_builder.go index 486e0f3118a..3c46acc9990 100644 --- a/drives/item_items_item_workbook_functions_cum_princ_request_builder.go +++ b/drives/item_items_item_workbook_functions_cum_princ_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsCumPrincRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsCumPrincRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsCumPrincRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsCumPrincRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_date_request_builder.go b/drives/item_items_item_workbook_functions_date_request_builder.go index d90126f309d..8d15dc431eb 100644 --- a/drives/item_items_item_workbook_functions_date_request_builder.go +++ b/drives/item_items_item_workbook_functions_date_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDateRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsDateRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDateRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_datevalue_request_builder.go b/drives/item_items_item_workbook_functions_datevalue_request_builder.go index 4d9b46881e5..98f90926847 100644 --- a/drives/item_items_item_workbook_functions_datevalue_request_builder.go +++ b/drives/item_items_item_workbook_functions_datevalue_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDatevalueRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsDatevalueRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDatevalueRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDatevalueRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_daverage_request_builder.go b/drives/item_items_item_workbook_functions_daverage_request_builder.go index 54a469187e4..93c55ef5b88 100644 --- a/drives/item_items_item_workbook_functions_daverage_request_builder.go +++ b/drives/item_items_item_workbook_functions_daverage_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDaverageRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsDaverageRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDaverageRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDaverageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_day_request_builder.go b/drives/item_items_item_workbook_functions_day_request_builder.go index 82d3a94b411..4e008fd7e5f 100644 --- a/drives/item_items_item_workbook_functions_day_request_builder.go +++ b/drives/item_items_item_workbook_functions_day_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDayRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsDayRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDayRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDayRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_days360_request_builder.go b/drives/item_items_item_workbook_functions_days360_request_builder.go index bb2d5039a7e..e739abc7f87 100644 --- a/drives/item_items_item_workbook_functions_days360_request_builder.go +++ b/drives/item_items_item_workbook_functions_days360_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDays360RequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsDays360RequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDays360RequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDays360RequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_days_request_builder.go b/drives/item_items_item_workbook_functions_days_request_builder.go index 92dc6b25496..e4ba7caa5a6 100644 --- a/drives/item_items_item_workbook_functions_days_request_builder.go +++ b/drives/item_items_item_workbook_functions_days_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDaysRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsDaysRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDaysRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDaysRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_db_request_builder.go b/drives/item_items_item_workbook_functions_db_request_builder.go index a2adec5a3fd..135fa2ff18d 100644 --- a/drives/item_items_item_workbook_functions_db_request_builder.go +++ b/drives/item_items_item_workbook_functions_db_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDbRequestBuilder) ToPostRequestInformatio } 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 *ItemItemsItemWorkbookFunctionsDbRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDbRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDbRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_dbcs_request_builder.go b/drives/item_items_item_workbook_functions_dbcs_request_builder.go index 4c83cbb8276..bc107f53a5b 100644 --- a/drives/item_items_item_workbook_functions_dbcs_request_builder.go +++ b/drives/item_items_item_workbook_functions_dbcs_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDbcsRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsDbcsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDbcsRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDbcsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_dcount_a_request_builder.go b/drives/item_items_item_workbook_functions_dcount_a_request_builder.go index b31b816b04f..6c4f2624a1e 100644 --- a/drives/item_items_item_workbook_functions_dcount_a_request_builder.go +++ b/drives/item_items_item_workbook_functions_dcount_a_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDcountARequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsDcountARequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDcountARequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDcountARequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_dcount_request_builder.go b/drives/item_items_item_workbook_functions_dcount_request_builder.go index c5fa2513511..4e62c781c5b 100644 --- a/drives/item_items_item_workbook_functions_dcount_request_builder.go +++ b/drives/item_items_item_workbook_functions_dcount_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDcountRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsDcountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDcountRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDcountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_ddb_request_builder.go b/drives/item_items_item_workbook_functions_ddb_request_builder.go index cfb1277471f..63bcd039567 100644 --- a/drives/item_items_item_workbook_functions_ddb_request_builder.go +++ b/drives/item_items_item_workbook_functions_ddb_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDdbRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsDdbRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDdbRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDdbRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_dec2_bin_request_builder.go b/drives/item_items_item_workbook_functions_dec2_bin_request_builder.go index d61ed8a942c..e9e66681273 100644 --- a/drives/item_items_item_workbook_functions_dec2_bin_request_builder.go +++ b/drives/item_items_item_workbook_functions_dec2_bin_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDec2BinRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsDec2BinRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDec2BinRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDec2BinRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_dec2_hex_request_builder.go b/drives/item_items_item_workbook_functions_dec2_hex_request_builder.go index df854ecc747..201d0d34771 100644 --- a/drives/item_items_item_workbook_functions_dec2_hex_request_builder.go +++ b/drives/item_items_item_workbook_functions_dec2_hex_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDec2HexRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsDec2HexRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDec2HexRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDec2HexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_dec2_oct_request_builder.go b/drives/item_items_item_workbook_functions_dec2_oct_request_builder.go index da68dbc5622..be276a80682 100644 --- a/drives/item_items_item_workbook_functions_dec2_oct_request_builder.go +++ b/drives/item_items_item_workbook_functions_dec2_oct_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDec2OctRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsDec2OctRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDec2OctRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDec2OctRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_decimal_request_builder.go b/drives/item_items_item_workbook_functions_decimal_request_builder.go index c765570fbd9..31d28be3757 100644 --- a/drives/item_items_item_workbook_functions_decimal_request_builder.go +++ b/drives/item_items_item_workbook_functions_decimal_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDecimalRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsDecimalRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDecimalRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDecimalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_degrees_request_builder.go b/drives/item_items_item_workbook_functions_degrees_request_builder.go index ba4da0f3e8c..a12e933598c 100644 --- a/drives/item_items_item_workbook_functions_degrees_request_builder.go +++ b/drives/item_items_item_workbook_functions_degrees_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDegreesRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsDegreesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDegreesRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDegreesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_delta_request_builder.go b/drives/item_items_item_workbook_functions_delta_request_builder.go index 79d57a35989..cb229e224f3 100644 --- a/drives/item_items_item_workbook_functions_delta_request_builder.go +++ b/drives/item_items_item_workbook_functions_delta_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDeltaRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDeltaRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_dev_sq_request_builder.go b/drives/item_items_item_workbook_functions_dev_sq_request_builder.go index 73f79ea010e..2e7e48d2fac 100644 --- a/drives/item_items_item_workbook_functions_dev_sq_request_builder.go +++ b/drives/item_items_item_workbook_functions_dev_sq_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDevSqRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsDevSqRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDevSqRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDevSqRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_dget_request_builder.go b/drives/item_items_item_workbook_functions_dget_request_builder.go index e884807bd8e..2281f337692 100644 --- a/drives/item_items_item_workbook_functions_dget_request_builder.go +++ b/drives/item_items_item_workbook_functions_dget_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDgetRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsDgetRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDgetRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDgetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_disc_request_builder.go b/drives/item_items_item_workbook_functions_disc_request_builder.go index 6a50c25c0eb..40b6e2775f7 100644 --- a/drives/item_items_item_workbook_functions_disc_request_builder.go +++ b/drives/item_items_item_workbook_functions_disc_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDiscRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsDiscRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDiscRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDiscRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_dmax_request_builder.go b/drives/item_items_item_workbook_functions_dmax_request_builder.go index 0f0f8150ca8..0c2e5385677 100644 --- a/drives/item_items_item_workbook_functions_dmax_request_builder.go +++ b/drives/item_items_item_workbook_functions_dmax_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDmaxRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsDmaxRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDmaxRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDmaxRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_dmin_request_builder.go b/drives/item_items_item_workbook_functions_dmin_request_builder.go index ebdedb4a597..4f096620ad6 100644 --- a/drives/item_items_item_workbook_functions_dmin_request_builder.go +++ b/drives/item_items_item_workbook_functions_dmin_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDminRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsDminRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDminRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDminRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_dollar_de_request_builder.go b/drives/item_items_item_workbook_functions_dollar_de_request_builder.go index 15f83a766d9..767eb3a6fc9 100644 --- a/drives/item_items_item_workbook_functions_dollar_de_request_builder.go +++ b/drives/item_items_item_workbook_functions_dollar_de_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDollarDeRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsDollarDeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDollarDeRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDollarDeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_dollar_fr_request_builder.go b/drives/item_items_item_workbook_functions_dollar_fr_request_builder.go index e8f108e2532..20e8946d3dd 100644 --- a/drives/item_items_item_workbook_functions_dollar_fr_request_builder.go +++ b/drives/item_items_item_workbook_functions_dollar_fr_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDollarFrRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsDollarFrRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDollarFrRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDollarFrRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_dollar_request_builder.go b/drives/item_items_item_workbook_functions_dollar_request_builder.go index 6fe84a10278..009be92899f 100644 --- a/drives/item_items_item_workbook_functions_dollar_request_builder.go +++ b/drives/item_items_item_workbook_functions_dollar_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDollarRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsDollarRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDollarRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDollarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_dproduct_request_builder.go b/drives/item_items_item_workbook_functions_dproduct_request_builder.go index e4f506b82e3..a7eda5110cb 100644 --- a/drives/item_items_item_workbook_functions_dproduct_request_builder.go +++ b/drives/item_items_item_workbook_functions_dproduct_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDproductRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsDproductRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDproductRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDproductRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_dst_dev_p_request_builder.go b/drives/item_items_item_workbook_functions_dst_dev_p_request_builder.go index c5968ab8086..ce8d83ddb00 100644 --- a/drives/item_items_item_workbook_functions_dst_dev_p_request_builder.go +++ b/drives/item_items_item_workbook_functions_dst_dev_p_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDstDevPRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsDstDevPRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDstDevPRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDstDevPRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_dst_dev_request_builder.go b/drives/item_items_item_workbook_functions_dst_dev_request_builder.go index a275df80dd8..5df17ae46b1 100644 --- a/drives/item_items_item_workbook_functions_dst_dev_request_builder.go +++ b/drives/item_items_item_workbook_functions_dst_dev_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDstDevRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsDstDevRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDstDevRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDstDevRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_dsum_request_builder.go b/drives/item_items_item_workbook_functions_dsum_request_builder.go index 01030b69622..252f2ae0316 100644 --- a/drives/item_items_item_workbook_functions_dsum_request_builder.go +++ b/drives/item_items_item_workbook_functions_dsum_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDsumRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsDsumRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDsumRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDsumRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_duration_request_builder.go b/drives/item_items_item_workbook_functions_duration_request_builder.go index 3b9efa8fef7..b79898d281c 100644 --- a/drives/item_items_item_workbook_functions_duration_request_builder.go +++ b/drives/item_items_item_workbook_functions_duration_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDurationRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsDurationRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDurationRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_dvar_p_request_builder.go b/drives/item_items_item_workbook_functions_dvar_p_request_builder.go index 976a29be354..1a69fa70c57 100644 --- a/drives/item_items_item_workbook_functions_dvar_p_request_builder.go +++ b/drives/item_items_item_workbook_functions_dvar_p_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDvarPRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsDvarPRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDvarPRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDvarPRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_dvar_request_builder.go b/drives/item_items_item_workbook_functions_dvar_request_builder.go index 003d325040a..922956c12bb 100644 --- a/drives/item_items_item_workbook_functions_dvar_request_builder.go +++ b/drives/item_items_item_workbook_functions_dvar_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsDvarRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsDvarRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsDvarRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsDvarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_ecma_ceiling_request_builder.go b/drives/item_items_item_workbook_functions_ecma_ceiling_request_builder.go index 588bc1f4189..b82af43a9a7 100644 --- a/drives/item_items_item_workbook_functions_ecma_ceiling_request_builder.go +++ b/drives/item_items_item_workbook_functions_ecma_ceiling_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsEcma_CeilingRequestBuilder) ToPostRequest } 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 *ItemItemsItemWorkbookFunctionsEcma_CeilingRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsEcma_CeilingRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsEcma_CeilingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_edate_request_builder.go b/drives/item_items_item_workbook_functions_edate_request_builder.go index 1552f1331c7..bc47a1a2ffe 100644 --- a/drives/item_items_item_workbook_functions_edate_request_builder.go +++ b/drives/item_items_item_workbook_functions_edate_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsEdateRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsEdateRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsEdateRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsEdateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_effect_request_builder.go b/drives/item_items_item_workbook_functions_effect_request_builder.go index 9c6c8d2d92b..039cfc3daae 100644 --- a/drives/item_items_item_workbook_functions_effect_request_builder.go +++ b/drives/item_items_item_workbook_functions_effect_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsEffectRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsEffectRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsEffectRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsEffectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_eo_month_request_builder.go b/drives/item_items_item_workbook_functions_eo_month_request_builder.go index 4801b33b5e9..30fc77e9188 100644 --- a/drives/item_items_item_workbook_functions_eo_month_request_builder.go +++ b/drives/item_items_item_workbook_functions_eo_month_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsEoMonthRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsEoMonthRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsEoMonthRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsEoMonthRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_erf_c_precise_request_builder.go b/drives/item_items_item_workbook_functions_erf_c_precise_request_builder.go index 7bf6562a8d6..21dec1e395b 100644 --- a/drives/item_items_item_workbook_functions_erf_c_precise_request_builder.go +++ b/drives/item_items_item_workbook_functions_erf_c_precise_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsErfC_PreciseRequestBuilder) ToPostRequest } 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 *ItemItemsItemWorkbookFunctionsErfC_PreciseRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsErfC_PreciseRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsErfC_PreciseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_erf_c_request_builder.go b/drives/item_items_item_workbook_functions_erf_c_request_builder.go index 2dd9e9fed6d..62f5e5da279 100644 --- a/drives/item_items_item_workbook_functions_erf_c_request_builder.go +++ b/drives/item_items_item_workbook_functions_erf_c_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsErfCRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsErfCRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsErfCRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsErfCRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_erf_precise_request_builder.go b/drives/item_items_item_workbook_functions_erf_precise_request_builder.go index d61580b1c5a..6fa0ecbe323 100644 --- a/drives/item_items_item_workbook_functions_erf_precise_request_builder.go +++ b/drives/item_items_item_workbook_functions_erf_precise_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsErf_PreciseRequestBuilder) ToPostRequestI } 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 *ItemItemsItemWorkbookFunctionsErf_PreciseRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsErf_PreciseRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsErf_PreciseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_erf_request_builder.go b/drives/item_items_item_workbook_functions_erf_request_builder.go index ee445a8d93e..04d68d6a9c7 100644 --- a/drives/item_items_item_workbook_functions_erf_request_builder.go +++ b/drives/item_items_item_workbook_functions_erf_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsErfRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsErfRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsErfRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsErfRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_error_type_request_builder.go b/drives/item_items_item_workbook_functions_error_type_request_builder.go index 20df6bd1168..a582c32f483 100644 --- a/drives/item_items_item_workbook_functions_error_type_request_builder.go +++ b/drives/item_items_item_workbook_functions_error_type_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsError_TypeRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemWorkbookFunctionsError_TypeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsError_TypeRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsError_TypeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_even_request_builder.go b/drives/item_items_item_workbook_functions_even_request_builder.go index 876d9277040..5a2b8bf6a64 100644 --- a/drives/item_items_item_workbook_functions_even_request_builder.go +++ b/drives/item_items_item_workbook_functions_even_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsEvenRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsEvenRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsEvenRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsEvenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_exact_request_builder.go b/drives/item_items_item_workbook_functions_exact_request_builder.go index 6f22c8f2e28..2d4b128e359 100644 --- a/drives/item_items_item_workbook_functions_exact_request_builder.go +++ b/drives/item_items_item_workbook_functions_exact_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsExactRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsExactRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsExactRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsExactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_exp_request_builder.go b/drives/item_items_item_workbook_functions_exp_request_builder.go index 6ca1d65760e..5f28221e922 100644 --- a/drives/item_items_item_workbook_functions_exp_request_builder.go +++ b/drives/item_items_item_workbook_functions_exp_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsExpRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsExpRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsExpRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsExpRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_expon_dist_request_builder.go b/drives/item_items_item_workbook_functions_expon_dist_request_builder.go index 1c401ee66cb..c3e3bfba2f0 100644 --- a/drives/item_items_item_workbook_functions_expon_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_expon_dist_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsExpon_DistRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemWorkbookFunctionsExpon_DistRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsExpon_DistRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsExpon_DistRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_f_dist_r_t_request_builder.go b/drives/item_items_item_workbook_functions_f_dist_r_t_request_builder.go index b6709043b82..706689beb37 100644 --- a/drives/item_items_item_workbook_functions_f_dist_r_t_request_builder.go +++ b/drives/item_items_item_workbook_functions_f_dist_r_t_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsF_Dist_RTRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsF_Dist_RTRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsF_Dist_RTRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsF_Dist_RTRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_f_dist_request_builder.go b/drives/item_items_item_workbook_functions_f_dist_request_builder.go index 1ec1d328d74..d522dfd2542 100644 --- a/drives/item_items_item_workbook_functions_f_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_f_dist_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsF_DistRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsF_DistRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsF_DistRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsF_DistRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_f_inv_r_t_request_builder.go b/drives/item_items_item_workbook_functions_f_inv_r_t_request_builder.go index 4840d8a01f3..b177630d89c 100644 --- a/drives/item_items_item_workbook_functions_f_inv_r_t_request_builder.go +++ b/drives/item_items_item_workbook_functions_f_inv_r_t_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsF_Inv_RTRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsF_Inv_RTRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsF_Inv_RTRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsF_Inv_RTRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_f_inv_request_builder.go b/drives/item_items_item_workbook_functions_f_inv_request_builder.go index cb10ffa488a..fc77ecde60c 100644 --- a/drives/item_items_item_workbook_functions_f_inv_request_builder.go +++ b/drives/item_items_item_workbook_functions_f_inv_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsF_InvRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsF_InvRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsF_InvRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsF_InvRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_fact_double_request_builder.go b/drives/item_items_item_workbook_functions_fact_double_request_builder.go index 4292fa4140d..ad678008016 100644 --- a/drives/item_items_item_workbook_functions_fact_double_request_builder.go +++ b/drives/item_items_item_workbook_functions_fact_double_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsFactDoubleRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemWorkbookFunctionsFactDoubleRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsFactDoubleRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsFactDoubleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_fact_request_builder.go b/drives/item_items_item_workbook_functions_fact_request_builder.go index 9a962c75f28..1d9b1283c5a 100644 --- a/drives/item_items_item_workbook_functions_fact_request_builder.go +++ b/drives/item_items_item_workbook_functions_fact_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsFactRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsFactRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsFactRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsFactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_false_request_builder.go b/drives/item_items_item_workbook_functions_false_request_builder.go index 4b39bbd0d26..f4d7ac0497d 100644 --- a/drives/item_items_item_workbook_functions_false_request_builder.go +++ b/drives/item_items_item_workbook_functions_false_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemItemsItemWorkbookFunctionsFalseRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsFalseRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsFalseRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsFalseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_find_b_request_builder.go b/drives/item_items_item_workbook_functions_find_b_request_builder.go index 06f8fad5cd1..3d163e86db9 100644 --- a/drives/item_items_item_workbook_functions_find_b_request_builder.go +++ b/drives/item_items_item_workbook_functions_find_b_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsFindBRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsFindBRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsFindBRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsFindBRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_find_request_builder.go b/drives/item_items_item_workbook_functions_find_request_builder.go index 0fcddf66de6..1c397bf58d3 100644 --- a/drives/item_items_item_workbook_functions_find_request_builder.go +++ b/drives/item_items_item_workbook_functions_find_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsFindRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsFindRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsFindRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsFindRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_fisher_inv_request_builder.go b/drives/item_items_item_workbook_functions_fisher_inv_request_builder.go index 1e793bda910..0c3bf7cac40 100644 --- a/drives/item_items_item_workbook_functions_fisher_inv_request_builder.go +++ b/drives/item_items_item_workbook_functions_fisher_inv_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsFisherInvRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsFisherInvRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsFisherInvRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsFisherInvRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_fisher_request_builder.go b/drives/item_items_item_workbook_functions_fisher_request_builder.go index ab34f5a6a4c..400a1c5bfc5 100644 --- a/drives/item_items_item_workbook_functions_fisher_request_builder.go +++ b/drives/item_items_item_workbook_functions_fisher_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsFisherRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsFisherRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsFisherRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsFisherRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_fixed_request_builder.go b/drives/item_items_item_workbook_functions_fixed_request_builder.go index a916cb78f2c..dfb846fa5e7 100644 --- a/drives/item_items_item_workbook_functions_fixed_request_builder.go +++ b/drives/item_items_item_workbook_functions_fixed_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsFixedRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsFixedRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsFixedRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsFixedRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_floor_math_request_builder.go b/drives/item_items_item_workbook_functions_floor_math_request_builder.go index 8750aea5dbe..a4634b410e4 100644 --- a/drives/item_items_item_workbook_functions_floor_math_request_builder.go +++ b/drives/item_items_item_workbook_functions_floor_math_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsFloor_MathRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemWorkbookFunctionsFloor_MathRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsFloor_MathRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsFloor_MathRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_floor_precise_request_builder.go b/drives/item_items_item_workbook_functions_floor_precise_request_builder.go index 6050135cee3..a9ed29b972e 100644 --- a/drives/item_items_item_workbook_functions_floor_precise_request_builder.go +++ b/drives/item_items_item_workbook_functions_floor_precise_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsFloor_PreciseRequestBuilder) ToPostReques } 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 *ItemItemsItemWorkbookFunctionsFloor_PreciseRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsFloor_PreciseRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsFloor_PreciseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_fv_request_builder.go b/drives/item_items_item_workbook_functions_fv_request_builder.go index 4661ec96bc1..1316b73b9d2 100644 --- a/drives/item_items_item_workbook_functions_fv_request_builder.go +++ b/drives/item_items_item_workbook_functions_fv_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsFvRequestBuilder) ToPostRequestInformatio } 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 *ItemItemsItemWorkbookFunctionsFvRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsFvRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsFvRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_fvschedule_request_builder.go b/drives/item_items_item_workbook_functions_fvschedule_request_builder.go index ba3a7bedbf5..855d27d75d3 100644 --- a/drives/item_items_item_workbook_functions_fvschedule_request_builder.go +++ b/drives/item_items_item_workbook_functions_fvschedule_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsFvscheduleRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemWorkbookFunctionsFvscheduleRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsFvscheduleRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsFvscheduleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_gamma_dist_request_builder.go b/drives/item_items_item_workbook_functions_gamma_dist_request_builder.go index 87d3a84b623..8654e53818e 100644 --- a/drives/item_items_item_workbook_functions_gamma_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_gamma_dist_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsGamma_DistRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemWorkbookFunctionsGamma_DistRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsGamma_DistRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsGamma_DistRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_gamma_inv_request_builder.go b/drives/item_items_item_workbook_functions_gamma_inv_request_builder.go index e207a7b3b80..4eb22c0e252 100644 --- a/drives/item_items_item_workbook_functions_gamma_inv_request_builder.go +++ b/drives/item_items_item_workbook_functions_gamma_inv_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsGamma_InvRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsGamma_InvRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsGamma_InvRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsGamma_InvRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_gamma_ln_precise_request_builder.go b/drives/item_items_item_workbook_functions_gamma_ln_precise_request_builder.go index 2e7b2c6cdb8..3ed2a66be97 100644 --- a/drives/item_items_item_workbook_functions_gamma_ln_precise_request_builder.go +++ b/drives/item_items_item_workbook_functions_gamma_ln_precise_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsGammaLn_PreciseRequestBuilder) ToPostRequ } 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 *ItemItemsItemWorkbookFunctionsGammaLn_PreciseRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsGammaLn_PreciseRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsGammaLn_PreciseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_gamma_ln_request_builder.go b/drives/item_items_item_workbook_functions_gamma_ln_request_builder.go index 7e66f3e7ce4..deca4eabdd8 100644 --- a/drives/item_items_item_workbook_functions_gamma_ln_request_builder.go +++ b/drives/item_items_item_workbook_functions_gamma_ln_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsGammaLnRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsGammaLnRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsGammaLnRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsGammaLnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_gamma_request_builder.go b/drives/item_items_item_workbook_functions_gamma_request_builder.go index 95348055958..11966c2d2b3 100644 --- a/drives/item_items_item_workbook_functions_gamma_request_builder.go +++ b/drives/item_items_item_workbook_functions_gamma_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsGammaRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsGammaRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsGammaRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsGammaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_gauss_request_builder.go b/drives/item_items_item_workbook_functions_gauss_request_builder.go index 2323022e672..93ea93b0653 100644 --- a/drives/item_items_item_workbook_functions_gauss_request_builder.go +++ b/drives/item_items_item_workbook_functions_gauss_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsGaussRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsGaussRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsGaussRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsGaussRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_gcd_request_builder.go b/drives/item_items_item_workbook_functions_gcd_request_builder.go index a1294683120..9ede9a86bd1 100644 --- a/drives/item_items_item_workbook_functions_gcd_request_builder.go +++ b/drives/item_items_item_workbook_functions_gcd_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsGcdRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsGcdRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsGcdRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsGcdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_ge_step_request_builder.go b/drives/item_items_item_workbook_functions_ge_step_request_builder.go index cc1fd9f0597..6ba91c74f0b 100644 --- a/drives/item_items_item_workbook_functions_ge_step_request_builder.go +++ b/drives/item_items_item_workbook_functions_ge_step_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsGeStepRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsGeStepRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsGeStepRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsGeStepRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_geo_mean_request_builder.go b/drives/item_items_item_workbook_functions_geo_mean_request_builder.go index 4a7de2b7abb..34961da81dd 100644 --- a/drives/item_items_item_workbook_functions_geo_mean_request_builder.go +++ b/drives/item_items_item_workbook_functions_geo_mean_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsGeoMeanRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsGeoMeanRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsGeoMeanRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsGeoMeanRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_har_mean_request_builder.go b/drives/item_items_item_workbook_functions_har_mean_request_builder.go index 87552b03e97..2eb03e3025b 100644 --- a/drives/item_items_item_workbook_functions_har_mean_request_builder.go +++ b/drives/item_items_item_workbook_functions_har_mean_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsHarMeanRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsHarMeanRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsHarMeanRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsHarMeanRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_hex2_bin_request_builder.go b/drives/item_items_item_workbook_functions_hex2_bin_request_builder.go index 6b531fa6e24..7eabdfde35e 100644 --- a/drives/item_items_item_workbook_functions_hex2_bin_request_builder.go +++ b/drives/item_items_item_workbook_functions_hex2_bin_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsHex2BinRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsHex2BinRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsHex2BinRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsHex2BinRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_hex2_dec_request_builder.go b/drives/item_items_item_workbook_functions_hex2_dec_request_builder.go index 7587165a816..07ef83164e6 100644 --- a/drives/item_items_item_workbook_functions_hex2_dec_request_builder.go +++ b/drives/item_items_item_workbook_functions_hex2_dec_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsHex2DecRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsHex2DecRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsHex2DecRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsHex2DecRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_hex2_oct_request_builder.go b/drives/item_items_item_workbook_functions_hex2_oct_request_builder.go index c314a500c25..85971a0dba7 100644 --- a/drives/item_items_item_workbook_functions_hex2_oct_request_builder.go +++ b/drives/item_items_item_workbook_functions_hex2_oct_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsHex2OctRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsHex2OctRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsHex2OctRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsHex2OctRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_hlookup_request_builder.go b/drives/item_items_item_workbook_functions_hlookup_request_builder.go index e830eae3e9b..551c6578174 100644 --- a/drives/item_items_item_workbook_functions_hlookup_request_builder.go +++ b/drives/item_items_item_workbook_functions_hlookup_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsHlookupRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsHlookupRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsHlookupRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsHlookupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_hour_request_builder.go b/drives/item_items_item_workbook_functions_hour_request_builder.go index cc6f3145eee..911526125b8 100644 --- a/drives/item_items_item_workbook_functions_hour_request_builder.go +++ b/drives/item_items_item_workbook_functions_hour_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsHourRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsHourRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsHourRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsHourRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_hyp_geom_dist_request_builder.go b/drives/item_items_item_workbook_functions_hyp_geom_dist_request_builder.go index 1015934b2d6..f7aa5698c58 100644 --- a/drives/item_items_item_workbook_functions_hyp_geom_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_hyp_geom_dist_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsHypGeom_DistRequestBuilder) ToPostRequest } 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 *ItemItemsItemWorkbookFunctionsHypGeom_DistRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsHypGeom_DistRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsHypGeom_DistRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_hyperlink_request_builder.go b/drives/item_items_item_workbook_functions_hyperlink_request_builder.go index a166663daef..4ca472b0c97 100644 --- a/drives/item_items_item_workbook_functions_hyperlink_request_builder.go +++ b/drives/item_items_item_workbook_functions_hyperlink_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsHyperlinkRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsHyperlinkRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsHyperlinkRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsHyperlinkRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_if_request_builder.go b/drives/item_items_item_workbook_functions_if_request_builder.go index 082e48afd26..dc9719ac898 100644 --- a/drives/item_items_item_workbook_functions_if_request_builder.go +++ b/drives/item_items_item_workbook_functions_if_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsIfRequestBuilder) ToPostRequestInformatio } 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 *ItemItemsItemWorkbookFunctionsIfRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsIfRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsIfRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_abs_request_builder.go b/drives/item_items_item_workbook_functions_im_abs_request_builder.go index 5a7f19ab935..28f6c315557 100644 --- a/drives/item_items_item_workbook_functions_im_abs_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_abs_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImAbsRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsImAbsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImAbsRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImAbsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_argument_request_builder.go b/drives/item_items_item_workbook_functions_im_argument_request_builder.go index 6d42732e939..79c67a38660 100644 --- a/drives/item_items_item_workbook_functions_im_argument_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_argument_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImArgumentRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemWorkbookFunctionsImArgumentRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImArgumentRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImArgumentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_conjugate_request_builder.go b/drives/item_items_item_workbook_functions_im_conjugate_request_builder.go index 7721ec0a525..c839490695f 100644 --- a/drives/item_items_item_workbook_functions_im_conjugate_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_conjugate_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImConjugateRequestBuilder) ToPostRequestI } 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 *ItemItemsItemWorkbookFunctionsImConjugateRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImConjugateRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImConjugateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_cos_request_builder.go b/drives/item_items_item_workbook_functions_im_cos_request_builder.go index 9606691c57b..6e12b95f76a 100644 --- a/drives/item_items_item_workbook_functions_im_cos_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_cos_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImCosRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsImCosRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImCosRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImCosRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_cosh_request_builder.go b/drives/item_items_item_workbook_functions_im_cosh_request_builder.go index b32cddc7a16..29afdb4d958 100644 --- a/drives/item_items_item_workbook_functions_im_cosh_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_cosh_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImCoshRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsImCoshRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImCoshRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImCoshRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_cot_request_builder.go b/drives/item_items_item_workbook_functions_im_cot_request_builder.go index c771c93a0a0..e2b49922e94 100644 --- a/drives/item_items_item_workbook_functions_im_cot_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_cot_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImCotRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsImCotRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImCotRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImCotRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_csc_request_builder.go b/drives/item_items_item_workbook_functions_im_csc_request_builder.go index 203fd1d1281..ada7327037a 100644 --- a/drives/item_items_item_workbook_functions_im_csc_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_csc_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImCscRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsImCscRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImCscRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImCscRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_csch_request_builder.go b/drives/item_items_item_workbook_functions_im_csch_request_builder.go index ebf8f5a38b7..e33cc7d5b79 100644 --- a/drives/item_items_item_workbook_functions_im_csch_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_csch_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImCschRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsImCschRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImCschRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImCschRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_div_request_builder.go b/drives/item_items_item_workbook_functions_im_div_request_builder.go index ca33c8ff33e..e20d37ea7e5 100644 --- a/drives/item_items_item_workbook_functions_im_div_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_div_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImDivRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsImDivRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImDivRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImDivRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_exp_request_builder.go b/drives/item_items_item_workbook_functions_im_exp_request_builder.go index cf2563c0c65..956ba34116e 100644 --- a/drives/item_items_item_workbook_functions_im_exp_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_exp_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImExpRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsImExpRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImExpRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImExpRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_ln_request_builder.go b/drives/item_items_item_workbook_functions_im_ln_request_builder.go index 832df6a8413..5eef9b29069 100644 --- a/drives/item_items_item_workbook_functions_im_ln_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_ln_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImLnRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsImLnRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImLnRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImLnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_log10_request_builder.go b/drives/item_items_item_workbook_functions_im_log10_request_builder.go index bb2d4090f3e..bd9b91293ec 100644 --- a/drives/item_items_item_workbook_functions_im_log10_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_log10_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImLog10RequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsImLog10RequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImLog10RequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImLog10RequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_log2_request_builder.go b/drives/item_items_item_workbook_functions_im_log2_request_builder.go index caf62334283..b7f1fb36e4e 100644 --- a/drives/item_items_item_workbook_functions_im_log2_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_log2_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImLog2RequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsImLog2RequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImLog2RequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImLog2RequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_power_request_builder.go b/drives/item_items_item_workbook_functions_im_power_request_builder.go index 83b96b94ed4..68dc52cbdbb 100644 --- a/drives/item_items_item_workbook_functions_im_power_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_power_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImPowerRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsImPowerRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImPowerRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImPowerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_product_request_builder.go b/drives/item_items_item_workbook_functions_im_product_request_builder.go index 22cbdf14b5c..0879c4d82cd 100644 --- a/drives/item_items_item_workbook_functions_im_product_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_product_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImProductRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsImProductRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImProductRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImProductRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_real_request_builder.go b/drives/item_items_item_workbook_functions_im_real_request_builder.go index 2c638bc1e17..aaa2a523703 100644 --- a/drives/item_items_item_workbook_functions_im_real_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_real_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImRealRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsImRealRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImRealRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImRealRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_sec_request_builder.go b/drives/item_items_item_workbook_functions_im_sec_request_builder.go index 537e5f46542..f04be9265e8 100644 --- a/drives/item_items_item_workbook_functions_im_sec_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_sec_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImSecRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsImSecRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImSecRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImSecRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_sech_request_builder.go b/drives/item_items_item_workbook_functions_im_sech_request_builder.go index c6ec6861ade..8cdd5442bb9 100644 --- a/drives/item_items_item_workbook_functions_im_sech_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_sech_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImSechRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsImSechRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImSechRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImSechRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_sin_request_builder.go b/drives/item_items_item_workbook_functions_im_sin_request_builder.go index 13587fe3e1a..f143601b171 100644 --- a/drives/item_items_item_workbook_functions_im_sin_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_sin_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImSinRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsImSinRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImSinRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImSinRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_sinh_request_builder.go b/drives/item_items_item_workbook_functions_im_sinh_request_builder.go index 6c55283a209..ef72c044803 100644 --- a/drives/item_items_item_workbook_functions_im_sinh_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_sinh_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImSinhRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsImSinhRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImSinhRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImSinhRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_sqrt_request_builder.go b/drives/item_items_item_workbook_functions_im_sqrt_request_builder.go index 862bf078d43..f7c6aea824d 100644 --- a/drives/item_items_item_workbook_functions_im_sqrt_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_sqrt_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImSqrtRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsImSqrtRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImSqrtRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImSqrtRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_sub_request_builder.go b/drives/item_items_item_workbook_functions_im_sub_request_builder.go index a57fd4e9f12..244f7c08fff 100644 --- a/drives/item_items_item_workbook_functions_im_sub_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_sub_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImSubRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsImSubRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImSubRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImSubRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_sum_request_builder.go b/drives/item_items_item_workbook_functions_im_sum_request_builder.go index 50d52081621..f72b6876b40 100644 --- a/drives/item_items_item_workbook_functions_im_sum_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_sum_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImSumRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsImSumRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImSumRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImSumRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_im_tan_request_builder.go b/drives/item_items_item_workbook_functions_im_tan_request_builder.go index eac3112c328..0615fa646c0 100644 --- a/drives/item_items_item_workbook_functions_im_tan_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_tan_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImTanRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsImTanRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImTanRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImTanRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_imaginary_request_builder.go b/drives/item_items_item_workbook_functions_imaginary_request_builder.go index 2889c232bab..1e9ae545e98 100644 --- a/drives/item_items_item_workbook_functions_imaginary_request_builder.go +++ b/drives/item_items_item_workbook_functions_imaginary_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsImaginaryRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsImaginaryRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsImaginaryRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsImaginaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_int_rate_request_builder.go b/drives/item_items_item_workbook_functions_int_rate_request_builder.go index 2617fa95c9b..5b717414234 100644 --- a/drives/item_items_item_workbook_functions_int_rate_request_builder.go +++ b/drives/item_items_item_workbook_functions_int_rate_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsIntRateRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsIntRateRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsIntRateRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsIntRateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_int_request_builder.go b/drives/item_items_item_workbook_functions_int_request_builder.go index 9edf00cad75..188337eda17 100644 --- a/drives/item_items_item_workbook_functions_int_request_builder.go +++ b/drives/item_items_item_workbook_functions_int_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsIntRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsIntRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsIntRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsIntRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_ipmt_request_builder.go b/drives/item_items_item_workbook_functions_ipmt_request_builder.go index 46d776e9e04..3d126b92b8a 100644 --- a/drives/item_items_item_workbook_functions_ipmt_request_builder.go +++ b/drives/item_items_item_workbook_functions_ipmt_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsIpmtRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsIpmtRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsIpmtRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsIpmtRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_irr_request_builder.go b/drives/item_items_item_workbook_functions_irr_request_builder.go index 2ad3f95b7c5..3abf0ccd423 100644 --- a/drives/item_items_item_workbook_functions_irr_request_builder.go +++ b/drives/item_items_item_workbook_functions_irr_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsIrrRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsIrrRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsIrrRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsIrrRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_is_err_request_builder.go b/drives/item_items_item_workbook_functions_is_err_request_builder.go index 1f4edf2d15a..bbae13ad527 100644 --- a/drives/item_items_item_workbook_functions_is_err_request_builder.go +++ b/drives/item_items_item_workbook_functions_is_err_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsErrRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsIsErrRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsIsErrRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsIsErrRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_is_error_request_builder.go b/drives/item_items_item_workbook_functions_is_error_request_builder.go index 3d3af863ff1..5771c2574ae 100644 --- a/drives/item_items_item_workbook_functions_is_error_request_builder.go +++ b/drives/item_items_item_workbook_functions_is_error_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsErrorRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsIsErrorRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsIsErrorRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsIsErrorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_is_even_request_builder.go b/drives/item_items_item_workbook_functions_is_even_request_builder.go index 2154d8989c0..a49fbdd6ef5 100644 --- a/drives/item_items_item_workbook_functions_is_even_request_builder.go +++ b/drives/item_items_item_workbook_functions_is_even_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsEvenRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsIsEvenRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsIsEvenRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsIsEvenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_is_formula_request_builder.go b/drives/item_items_item_workbook_functions_is_formula_request_builder.go index 539a174d615..81058dc1022 100644 --- a/drives/item_items_item_workbook_functions_is_formula_request_builder.go +++ b/drives/item_items_item_workbook_functions_is_formula_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsFormulaRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsIsFormulaRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsIsFormulaRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsIsFormulaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_is_logical_request_builder.go b/drives/item_items_item_workbook_functions_is_logical_request_builder.go index e831b9c3487..1bef5cdd594 100644 --- a/drives/item_items_item_workbook_functions_is_logical_request_builder.go +++ b/drives/item_items_item_workbook_functions_is_logical_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsLogicalRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsIsLogicalRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsIsLogicalRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsIsLogicalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_is_n_a_request_builder.go b/drives/item_items_item_workbook_functions_is_n_a_request_builder.go index b5d6437bb33..a36498d1034 100644 --- a/drives/item_items_item_workbook_functions_is_n_a_request_builder.go +++ b/drives/item_items_item_workbook_functions_is_n_a_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsNARequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsIsNARequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsIsNARequestBuilder) { + return NewItemItemsItemWorkbookFunctionsIsNARequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_is_non_text_request_builder.go b/drives/item_items_item_workbook_functions_is_non_text_request_builder.go index 738b58fd0ef..01833c0fc82 100644 --- a/drives/item_items_item_workbook_functions_is_non_text_request_builder.go +++ b/drives/item_items_item_workbook_functions_is_non_text_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsNonTextRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsIsNonTextRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsIsNonTextRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsIsNonTextRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_is_number_request_builder.go b/drives/item_items_item_workbook_functions_is_number_request_builder.go index 202166516e5..4e3caa24557 100644 --- a/drives/item_items_item_workbook_functions_is_number_request_builder.go +++ b/drives/item_items_item_workbook_functions_is_number_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsNumberRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsIsNumberRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsIsNumberRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsIsNumberRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_is_odd_request_builder.go b/drives/item_items_item_workbook_functions_is_odd_request_builder.go index 541811ed7ae..d0fcd7d212c 100644 --- a/drives/item_items_item_workbook_functions_is_odd_request_builder.go +++ b/drives/item_items_item_workbook_functions_is_odd_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsOddRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsIsOddRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsIsOddRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsIsOddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_is_text_request_builder.go b/drives/item_items_item_workbook_functions_is_text_request_builder.go index 3b7c820eefa..551ab9094bd 100644 --- a/drives/item_items_item_workbook_functions_is_text_request_builder.go +++ b/drives/item_items_item_workbook_functions_is_text_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsTextRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsIsTextRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsIsTextRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsIsTextRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_iso_ceiling_request_builder.go b/drives/item_items_item_workbook_functions_iso_ceiling_request_builder.go index d0a207454f2..024dd9ee4a6 100644 --- a/drives/item_items_item_workbook_functions_iso_ceiling_request_builder.go +++ b/drives/item_items_item_workbook_functions_iso_ceiling_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsIso_CeilingRequestBuilder) ToPostRequestI } 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 *ItemItemsItemWorkbookFunctionsIso_CeilingRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsIso_CeilingRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsIso_CeilingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_iso_week_num_request_builder.go b/drives/item_items_item_workbook_functions_iso_week_num_request_builder.go index 4effa526f95..32327f5ba7b 100644 --- a/drives/item_items_item_workbook_functions_iso_week_num_request_builder.go +++ b/drives/item_items_item_workbook_functions_iso_week_num_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsoWeekNumRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemWorkbookFunctionsIsoWeekNumRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsIsoWeekNumRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsIsoWeekNumRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_ispmt_request_builder.go b/drives/item_items_item_workbook_functions_ispmt_request_builder.go index ed9e37002e2..ef8296960b3 100644 --- a/drives/item_items_item_workbook_functions_ispmt_request_builder.go +++ b/drives/item_items_item_workbook_functions_ispmt_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsIspmtRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsIspmtRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsIspmtRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsIspmtRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_isref_request_builder.go b/drives/item_items_item_workbook_functions_isref_request_builder.go index dd869677dcf..34fad02c649 100644 --- a/drives/item_items_item_workbook_functions_isref_request_builder.go +++ b/drives/item_items_item_workbook_functions_isref_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsrefRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsIsrefRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsIsrefRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsIsrefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_kurt_request_builder.go b/drives/item_items_item_workbook_functions_kurt_request_builder.go index c7aca17d4b2..73095ab1e3f 100644 --- a/drives/item_items_item_workbook_functions_kurt_request_builder.go +++ b/drives/item_items_item_workbook_functions_kurt_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsKurtRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsKurtRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsKurtRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsKurtRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_large_request_builder.go b/drives/item_items_item_workbook_functions_large_request_builder.go index c138d6577e3..f98cbf8af9a 100644 --- a/drives/item_items_item_workbook_functions_large_request_builder.go +++ b/drives/item_items_item_workbook_functions_large_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsLargeRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsLargeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsLargeRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsLargeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_lcm_request_builder.go b/drives/item_items_item_workbook_functions_lcm_request_builder.go index 2ca67de17a3..48b389aa1f3 100644 --- a/drives/item_items_item_workbook_functions_lcm_request_builder.go +++ b/drives/item_items_item_workbook_functions_lcm_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsLcmRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsLcmRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsLcmRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsLcmRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_left_request_builder.go b/drives/item_items_item_workbook_functions_left_request_builder.go index eac50db69c5..aa8133fc6d0 100644 --- a/drives/item_items_item_workbook_functions_left_request_builder.go +++ b/drives/item_items_item_workbook_functions_left_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsLeftRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsLeftRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsLeftRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsLeftRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_leftb_request_builder.go b/drives/item_items_item_workbook_functions_leftb_request_builder.go index 344d3c81548..99856804e10 100644 --- a/drives/item_items_item_workbook_functions_leftb_request_builder.go +++ b/drives/item_items_item_workbook_functions_leftb_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsLeftbRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsLeftbRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsLeftbRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsLeftbRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_len_request_builder.go b/drives/item_items_item_workbook_functions_len_request_builder.go index c5171036800..d6b3cbdd491 100644 --- a/drives/item_items_item_workbook_functions_len_request_builder.go +++ b/drives/item_items_item_workbook_functions_len_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsLenRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsLenRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsLenRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsLenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_lenb_request_builder.go b/drives/item_items_item_workbook_functions_lenb_request_builder.go index e81dcb56a50..030c83e52eb 100644 --- a/drives/item_items_item_workbook_functions_lenb_request_builder.go +++ b/drives/item_items_item_workbook_functions_lenb_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsLenbRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsLenbRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsLenbRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsLenbRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_ln_request_builder.go b/drives/item_items_item_workbook_functions_ln_request_builder.go index 1335fc927fd..6818f09b42d 100644 --- a/drives/item_items_item_workbook_functions_ln_request_builder.go +++ b/drives/item_items_item_workbook_functions_ln_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsLnRequestBuilder) ToPostRequestInformatio } 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 *ItemItemsItemWorkbookFunctionsLnRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsLnRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsLnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_log10_request_builder.go b/drives/item_items_item_workbook_functions_log10_request_builder.go index 7c6c649f4e7..e0c6cb7e5f3 100644 --- a/drives/item_items_item_workbook_functions_log10_request_builder.go +++ b/drives/item_items_item_workbook_functions_log10_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsLog10RequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsLog10RequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsLog10RequestBuilder) { + return NewItemItemsItemWorkbookFunctionsLog10RequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_log_norm_dist_request_builder.go b/drives/item_items_item_workbook_functions_log_norm_dist_request_builder.go index 254bf42c5bd..6cff84b96a8 100644 --- a/drives/item_items_item_workbook_functions_log_norm_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_log_norm_dist_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsLogNorm_DistRequestBuilder) ToPostRequest } 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 *ItemItemsItemWorkbookFunctionsLogNorm_DistRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsLogNorm_DistRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsLogNorm_DistRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_log_norm_inv_request_builder.go b/drives/item_items_item_workbook_functions_log_norm_inv_request_builder.go index 63c6c21475f..54da357d4d5 100644 --- a/drives/item_items_item_workbook_functions_log_norm_inv_request_builder.go +++ b/drives/item_items_item_workbook_functions_log_norm_inv_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsLogNorm_InvRequestBuilder) ToPostRequestI } 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 *ItemItemsItemWorkbookFunctionsLogNorm_InvRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsLogNorm_InvRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsLogNorm_InvRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_log_request_builder.go b/drives/item_items_item_workbook_functions_log_request_builder.go index 54c0b95307b..b2d53d80b24 100644 --- a/drives/item_items_item_workbook_functions_log_request_builder.go +++ b/drives/item_items_item_workbook_functions_log_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsLogRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsLogRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsLogRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsLogRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_lookup_request_builder.go b/drives/item_items_item_workbook_functions_lookup_request_builder.go index 2ec2003021e..39c8d10c76e 100644 --- a/drives/item_items_item_workbook_functions_lookup_request_builder.go +++ b/drives/item_items_item_workbook_functions_lookup_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsLookupRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsLookupRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsLookupRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsLookupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_lower_request_builder.go b/drives/item_items_item_workbook_functions_lower_request_builder.go index 603a6ce1bff..8212854d396 100644 --- a/drives/item_items_item_workbook_functions_lower_request_builder.go +++ b/drives/item_items_item_workbook_functions_lower_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsLowerRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsLowerRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsLowerRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsLowerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_match_request_builder.go b/drives/item_items_item_workbook_functions_match_request_builder.go index 264fefdf534..bf6194fd900 100644 --- a/drives/item_items_item_workbook_functions_match_request_builder.go +++ b/drives/item_items_item_workbook_functions_match_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsMatchRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsMatchRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsMatchRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsMatchRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_max_a_request_builder.go b/drives/item_items_item_workbook_functions_max_a_request_builder.go index 6421519330b..09d1139bea6 100644 --- a/drives/item_items_item_workbook_functions_max_a_request_builder.go +++ b/drives/item_items_item_workbook_functions_max_a_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsMaxARequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsMaxARequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsMaxARequestBuilder) { + return NewItemItemsItemWorkbookFunctionsMaxARequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_max_request_builder.go b/drives/item_items_item_workbook_functions_max_request_builder.go index 7c39d07e588..541eb0cabc5 100644 --- a/drives/item_items_item_workbook_functions_max_request_builder.go +++ b/drives/item_items_item_workbook_functions_max_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsMaxRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsMaxRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsMaxRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsMaxRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_mduration_request_builder.go b/drives/item_items_item_workbook_functions_mduration_request_builder.go index 6d3b3901081..da86d251b40 100644 --- a/drives/item_items_item_workbook_functions_mduration_request_builder.go +++ b/drives/item_items_item_workbook_functions_mduration_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsMdurationRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsMdurationRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsMdurationRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsMdurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_median_request_builder.go b/drives/item_items_item_workbook_functions_median_request_builder.go index b2ce59a3d8c..ae970e6d504 100644 --- a/drives/item_items_item_workbook_functions_median_request_builder.go +++ b/drives/item_items_item_workbook_functions_median_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsMedianRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsMedianRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsMedianRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsMedianRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_mid_request_builder.go b/drives/item_items_item_workbook_functions_mid_request_builder.go index 68760cd77eb..cd2fd105551 100644 --- a/drives/item_items_item_workbook_functions_mid_request_builder.go +++ b/drives/item_items_item_workbook_functions_mid_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsMidRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsMidRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsMidRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsMidRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_midb_request_builder.go b/drives/item_items_item_workbook_functions_midb_request_builder.go index c67f582b776..6ce6c8a6ecf 100644 --- a/drives/item_items_item_workbook_functions_midb_request_builder.go +++ b/drives/item_items_item_workbook_functions_midb_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsMidbRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsMidbRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsMidbRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsMidbRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_min_a_request_builder.go b/drives/item_items_item_workbook_functions_min_a_request_builder.go index 6aea73eba27..50b89bffac9 100644 --- a/drives/item_items_item_workbook_functions_min_a_request_builder.go +++ b/drives/item_items_item_workbook_functions_min_a_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsMinARequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsMinARequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsMinARequestBuilder) { + return NewItemItemsItemWorkbookFunctionsMinARequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_min_request_builder.go b/drives/item_items_item_workbook_functions_min_request_builder.go index a8fa1c6a3d3..eeaf1d9fb6c 100644 --- a/drives/item_items_item_workbook_functions_min_request_builder.go +++ b/drives/item_items_item_workbook_functions_min_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsMinRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsMinRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsMinRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsMinRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_minute_request_builder.go b/drives/item_items_item_workbook_functions_minute_request_builder.go index 8fcd08872ed..1bb59292560 100644 --- a/drives/item_items_item_workbook_functions_minute_request_builder.go +++ b/drives/item_items_item_workbook_functions_minute_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsMinuteRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsMinuteRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsMinuteRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsMinuteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_mirr_request_builder.go b/drives/item_items_item_workbook_functions_mirr_request_builder.go index 3334f3900c0..7f140cdc75e 100644 --- a/drives/item_items_item_workbook_functions_mirr_request_builder.go +++ b/drives/item_items_item_workbook_functions_mirr_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsMirrRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsMirrRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsMirrRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsMirrRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_mod_request_builder.go b/drives/item_items_item_workbook_functions_mod_request_builder.go index 71c17c126d4..ff448240803 100644 --- a/drives/item_items_item_workbook_functions_mod_request_builder.go +++ b/drives/item_items_item_workbook_functions_mod_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsModRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsModRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsModRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsModRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_month_request_builder.go b/drives/item_items_item_workbook_functions_month_request_builder.go index 3f5d2b946f4..3645a2fc4ce 100644 --- a/drives/item_items_item_workbook_functions_month_request_builder.go +++ b/drives/item_items_item_workbook_functions_month_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsMonthRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsMonthRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsMonthRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsMonthRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_mround_request_builder.go b/drives/item_items_item_workbook_functions_mround_request_builder.go index 9be86354a2f..ce40bfbf2ed 100644 --- a/drives/item_items_item_workbook_functions_mround_request_builder.go +++ b/drives/item_items_item_workbook_functions_mround_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsMroundRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsMroundRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsMroundRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsMroundRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_multi_nomial_request_builder.go b/drives/item_items_item_workbook_functions_multi_nomial_request_builder.go index 22c2cd77b88..b89bdaf2c9e 100644 --- a/drives/item_items_item_workbook_functions_multi_nomial_request_builder.go +++ b/drives/item_items_item_workbook_functions_multi_nomial_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsMultiNomialRequestBuilder) ToPostRequestI } 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 *ItemItemsItemWorkbookFunctionsMultiNomialRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsMultiNomialRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsMultiNomialRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_n_request_builder.go b/drives/item_items_item_workbook_functions_n_request_builder.go index 4c25b747c50..b74534f60ee 100644 --- a/drives/item_items_item_workbook_functions_n_request_builder.go +++ b/drives/item_items_item_workbook_functions_n_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsNRequestBuilder) 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 *ItemItemsItemWorkbookFunctionsNRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsNRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsNRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_na_request_builder.go b/drives/item_items_item_workbook_functions_na_request_builder.go index 0b92311d8a8..85ebd6c9846 100644 --- a/drives/item_items_item_workbook_functions_na_request_builder.go +++ b/drives/item_items_item_workbook_functions_na_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemItemsItemWorkbookFunctionsNaRequestBuilder) ToPostRequestInformatio } 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 *ItemItemsItemWorkbookFunctionsNaRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsNaRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsNaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_neg_binom_dist_request_builder.go b/drives/item_items_item_workbook_functions_neg_binom_dist_request_builder.go index 2a431824384..cf3682b8a58 100644 --- a/drives/item_items_item_workbook_functions_neg_binom_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_neg_binom_dist_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsNegBinom_DistRequestBuilder) ToPostReques } 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 *ItemItemsItemWorkbookFunctionsNegBinom_DistRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsNegBinom_DistRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsNegBinom_DistRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_network_days_intl_request_builder.go b/drives/item_items_item_workbook_functions_network_days_intl_request_builder.go index c41b230e030..94e6e33f7f0 100644 --- a/drives/item_items_item_workbook_functions_network_days_intl_request_builder.go +++ b/drives/item_items_item_workbook_functions_network_days_intl_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsNetworkDays_IntlRequestBuilder) ToPostReq } 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 *ItemItemsItemWorkbookFunctionsNetworkDays_IntlRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsNetworkDays_IntlRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsNetworkDays_IntlRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_network_days_request_builder.go b/drives/item_items_item_workbook_functions_network_days_request_builder.go index f573aeb3414..c1cf3bdb740 100644 --- a/drives/item_items_item_workbook_functions_network_days_request_builder.go +++ b/drives/item_items_item_workbook_functions_network_days_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsNetworkDaysRequestBuilder) ToPostRequestI } 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 *ItemItemsItemWorkbookFunctionsNetworkDaysRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsNetworkDaysRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsNetworkDaysRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_nominal_request_builder.go b/drives/item_items_item_workbook_functions_nominal_request_builder.go index c4c130c5436..e18ab48412b 100644 --- a/drives/item_items_item_workbook_functions_nominal_request_builder.go +++ b/drives/item_items_item_workbook_functions_nominal_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsNominalRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsNominalRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsNominalRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsNominalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_norm_dist_request_builder.go b/drives/item_items_item_workbook_functions_norm_dist_request_builder.go index 06777bc4334..be44938aee4 100644 --- a/drives/item_items_item_workbook_functions_norm_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_norm_dist_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsNorm_DistRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsNorm_DistRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsNorm_DistRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsNorm_DistRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_norm_inv_request_builder.go b/drives/item_items_item_workbook_functions_norm_inv_request_builder.go index 09a7bd1ec32..6de0ff335e0 100644 --- a/drives/item_items_item_workbook_functions_norm_inv_request_builder.go +++ b/drives/item_items_item_workbook_functions_norm_inv_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsNorm_InvRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsNorm_InvRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsNorm_InvRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsNorm_InvRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_norm_s_dist_request_builder.go b/drives/item_items_item_workbook_functions_norm_s_dist_request_builder.go index 463c7f65ce8..d1ed1045d3f 100644 --- a/drives/item_items_item_workbook_functions_norm_s_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_norm_s_dist_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsNorm_S_DistRequestBuilder) ToPostRequestI } 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 *ItemItemsItemWorkbookFunctionsNorm_S_DistRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsNorm_S_DistRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsNorm_S_DistRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_norm_s_inv_request_builder.go b/drives/item_items_item_workbook_functions_norm_s_inv_request_builder.go index f6f9bf8de18..642b3c601e7 100644 --- a/drives/item_items_item_workbook_functions_norm_s_inv_request_builder.go +++ b/drives/item_items_item_workbook_functions_norm_s_inv_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsNorm_S_InvRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemWorkbookFunctionsNorm_S_InvRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsNorm_S_InvRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsNorm_S_InvRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_not_request_builder.go b/drives/item_items_item_workbook_functions_not_request_builder.go index 5ac4aa42c72..62d40dd0abe 100644 --- a/drives/item_items_item_workbook_functions_not_request_builder.go +++ b/drives/item_items_item_workbook_functions_not_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsNotRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsNotRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsNotRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsNotRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_now_request_builder.go b/drives/item_items_item_workbook_functions_now_request_builder.go index 1d5c59c36a9..81f55330ad8 100644 --- a/drives/item_items_item_workbook_functions_now_request_builder.go +++ b/drives/item_items_item_workbook_functions_now_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemItemsItemWorkbookFunctionsNowRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsNowRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsNowRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsNowRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_nper_request_builder.go b/drives/item_items_item_workbook_functions_nper_request_builder.go index 587fadea4d6..5cc2f514e9b 100644 --- a/drives/item_items_item_workbook_functions_nper_request_builder.go +++ b/drives/item_items_item_workbook_functions_nper_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsNperRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsNperRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsNperRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsNperRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_npv_request_builder.go b/drives/item_items_item_workbook_functions_npv_request_builder.go index 176b021ac9b..b388b9f716b 100644 --- a/drives/item_items_item_workbook_functions_npv_request_builder.go +++ b/drives/item_items_item_workbook_functions_npv_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsNpvRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsNpvRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsNpvRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsNpvRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_number_value_request_builder.go b/drives/item_items_item_workbook_functions_number_value_request_builder.go index c4ced4b76a9..0fc74b05569 100644 --- a/drives/item_items_item_workbook_functions_number_value_request_builder.go +++ b/drives/item_items_item_workbook_functions_number_value_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsNumberValueRequestBuilder) ToPostRequestI } 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 *ItemItemsItemWorkbookFunctionsNumberValueRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsNumberValueRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsNumberValueRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_oct2_bin_request_builder.go b/drives/item_items_item_workbook_functions_oct2_bin_request_builder.go index 6bfc2a820a9..492a263688a 100644 --- a/drives/item_items_item_workbook_functions_oct2_bin_request_builder.go +++ b/drives/item_items_item_workbook_functions_oct2_bin_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsOct2BinRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsOct2BinRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsOct2BinRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsOct2BinRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_oct2_dec_request_builder.go b/drives/item_items_item_workbook_functions_oct2_dec_request_builder.go index 074f4d58b48..65ab9f133a9 100644 --- a/drives/item_items_item_workbook_functions_oct2_dec_request_builder.go +++ b/drives/item_items_item_workbook_functions_oct2_dec_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsOct2DecRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsOct2DecRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsOct2DecRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsOct2DecRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_oct2_hex_request_builder.go b/drives/item_items_item_workbook_functions_oct2_hex_request_builder.go index ae6f94d3ec3..99664555a73 100644 --- a/drives/item_items_item_workbook_functions_oct2_hex_request_builder.go +++ b/drives/item_items_item_workbook_functions_oct2_hex_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsOct2HexRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsOct2HexRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsOct2HexRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsOct2HexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_odd_f_price_request_builder.go b/drives/item_items_item_workbook_functions_odd_f_price_request_builder.go index d4da520be20..2b9d4a9b348 100644 --- a/drives/item_items_item_workbook_functions_odd_f_price_request_builder.go +++ b/drives/item_items_item_workbook_functions_odd_f_price_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsOddFPriceRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsOddFPriceRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsOddFPriceRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsOddFPriceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_odd_f_yield_request_builder.go b/drives/item_items_item_workbook_functions_odd_f_yield_request_builder.go index ef6907e9409..379a6cd634e 100644 --- a/drives/item_items_item_workbook_functions_odd_f_yield_request_builder.go +++ b/drives/item_items_item_workbook_functions_odd_f_yield_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsOddFYieldRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsOddFYieldRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsOddFYieldRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsOddFYieldRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_odd_l_price_request_builder.go b/drives/item_items_item_workbook_functions_odd_l_price_request_builder.go index 739d9835a24..7ba501f21fe 100644 --- a/drives/item_items_item_workbook_functions_odd_l_price_request_builder.go +++ b/drives/item_items_item_workbook_functions_odd_l_price_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsOddLPriceRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsOddLPriceRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsOddLPriceRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsOddLPriceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_odd_l_yield_request_builder.go b/drives/item_items_item_workbook_functions_odd_l_yield_request_builder.go index b41b64549d7..842450d1d82 100644 --- a/drives/item_items_item_workbook_functions_odd_l_yield_request_builder.go +++ b/drives/item_items_item_workbook_functions_odd_l_yield_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsOddLYieldRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsOddLYieldRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsOddLYieldRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsOddLYieldRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_odd_request_builder.go b/drives/item_items_item_workbook_functions_odd_request_builder.go index 17fc014aee5..3ce76686532 100644 --- a/drives/item_items_item_workbook_functions_odd_request_builder.go +++ b/drives/item_items_item_workbook_functions_odd_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsOddRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsOddRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsOddRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsOddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_or_request_builder.go b/drives/item_items_item_workbook_functions_or_request_builder.go index 4fecffff58d..48f9cd88a6d 100644 --- a/drives/item_items_item_workbook_functions_or_request_builder.go +++ b/drives/item_items_item_workbook_functions_or_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsOrRequestBuilder) ToPostRequestInformatio } 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 *ItemItemsItemWorkbookFunctionsOrRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsOrRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsOrRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_pduration_request_builder.go b/drives/item_items_item_workbook_functions_pduration_request_builder.go index 120fcd72a88..9e24f96956e 100644 --- a/drives/item_items_item_workbook_functions_pduration_request_builder.go +++ b/drives/item_items_item_workbook_functions_pduration_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsPdurationRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsPdurationRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsPdurationRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsPdurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_percent_rank_exc_request_builder.go b/drives/item_items_item_workbook_functions_percent_rank_exc_request_builder.go index 6bb289f3f3a..c9e050db348 100644 --- a/drives/item_items_item_workbook_functions_percent_rank_exc_request_builder.go +++ b/drives/item_items_item_workbook_functions_percent_rank_exc_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsPercentRank_ExcRequestBuilder) ToPostRequ } 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 *ItemItemsItemWorkbookFunctionsPercentRank_ExcRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsPercentRank_ExcRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsPercentRank_ExcRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_percent_rank_inc_request_builder.go b/drives/item_items_item_workbook_functions_percent_rank_inc_request_builder.go index 94b70ea4a61..33ca0523505 100644 --- a/drives/item_items_item_workbook_functions_percent_rank_inc_request_builder.go +++ b/drives/item_items_item_workbook_functions_percent_rank_inc_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsPercentRank_IncRequestBuilder) ToPostRequ } 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 *ItemItemsItemWorkbookFunctionsPercentRank_IncRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsPercentRank_IncRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsPercentRank_IncRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_percentile_exc_request_builder.go b/drives/item_items_item_workbook_functions_percentile_exc_request_builder.go index 53a347d218f..161e43289fc 100644 --- a/drives/item_items_item_workbook_functions_percentile_exc_request_builder.go +++ b/drives/item_items_item_workbook_functions_percentile_exc_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsPercentile_ExcRequestBuilder) ToPostReque } 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 *ItemItemsItemWorkbookFunctionsPercentile_ExcRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsPercentile_ExcRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsPercentile_ExcRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_percentile_inc_request_builder.go b/drives/item_items_item_workbook_functions_percentile_inc_request_builder.go index 56056629163..14352ed9087 100644 --- a/drives/item_items_item_workbook_functions_percentile_inc_request_builder.go +++ b/drives/item_items_item_workbook_functions_percentile_inc_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsPercentile_IncRequestBuilder) ToPostReque } 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 *ItemItemsItemWorkbookFunctionsPercentile_IncRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsPercentile_IncRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsPercentile_IncRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_permut_request_builder.go b/drives/item_items_item_workbook_functions_permut_request_builder.go index 035737052db..ab1a4eb0eb1 100644 --- a/drives/item_items_item_workbook_functions_permut_request_builder.go +++ b/drives/item_items_item_workbook_functions_permut_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsPermutRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsPermutRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsPermutRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsPermutRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_permutationa_request_builder.go b/drives/item_items_item_workbook_functions_permutationa_request_builder.go index 2e0432e0a61..8f0a77ae77a 100644 --- a/drives/item_items_item_workbook_functions_permutationa_request_builder.go +++ b/drives/item_items_item_workbook_functions_permutationa_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsPermutationaRequestBuilder) ToPostRequest } 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 *ItemItemsItemWorkbookFunctionsPermutationaRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsPermutationaRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsPermutationaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_phi_request_builder.go b/drives/item_items_item_workbook_functions_phi_request_builder.go index 6f9d66a7945..ade3c2e6b4f 100644 --- a/drives/item_items_item_workbook_functions_phi_request_builder.go +++ b/drives/item_items_item_workbook_functions_phi_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsPhiRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsPhiRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsPhiRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsPhiRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_pi_request_builder.go b/drives/item_items_item_workbook_functions_pi_request_builder.go index 8ec2e88eff1..ce9a17d55cf 100644 --- a/drives/item_items_item_workbook_functions_pi_request_builder.go +++ b/drives/item_items_item_workbook_functions_pi_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemItemsItemWorkbookFunctionsPiRequestBuilder) ToPostRequestInformatio } 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 *ItemItemsItemWorkbookFunctionsPiRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsPiRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsPiRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_pmt_request_builder.go b/drives/item_items_item_workbook_functions_pmt_request_builder.go index b26ab771d40..5bee561965a 100644 --- a/drives/item_items_item_workbook_functions_pmt_request_builder.go +++ b/drives/item_items_item_workbook_functions_pmt_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsPmtRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsPmtRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsPmtRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsPmtRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_poisson_dist_request_builder.go b/drives/item_items_item_workbook_functions_poisson_dist_request_builder.go index f2af4de42c5..231cd846c77 100644 --- a/drives/item_items_item_workbook_functions_poisson_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_poisson_dist_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsPoisson_DistRequestBuilder) ToPostRequest } 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 *ItemItemsItemWorkbookFunctionsPoisson_DistRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsPoisson_DistRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsPoisson_DistRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_power_request_builder.go b/drives/item_items_item_workbook_functions_power_request_builder.go index 94d84a832e6..042ff22545a 100644 --- a/drives/item_items_item_workbook_functions_power_request_builder.go +++ b/drives/item_items_item_workbook_functions_power_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsPowerRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsPowerRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsPowerRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsPowerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_ppmt_request_builder.go b/drives/item_items_item_workbook_functions_ppmt_request_builder.go index b79d4d62d52..b3bbd16d587 100644 --- a/drives/item_items_item_workbook_functions_ppmt_request_builder.go +++ b/drives/item_items_item_workbook_functions_ppmt_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsPpmtRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsPpmtRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsPpmtRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsPpmtRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_price_disc_request_builder.go b/drives/item_items_item_workbook_functions_price_disc_request_builder.go index 3fe157dd3db..7dafd102f2c 100644 --- a/drives/item_items_item_workbook_functions_price_disc_request_builder.go +++ b/drives/item_items_item_workbook_functions_price_disc_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsPriceDiscRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsPriceDiscRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsPriceDiscRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsPriceDiscRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_price_mat_request_builder.go b/drives/item_items_item_workbook_functions_price_mat_request_builder.go index 1e8a88c28dd..f716b295d04 100644 --- a/drives/item_items_item_workbook_functions_price_mat_request_builder.go +++ b/drives/item_items_item_workbook_functions_price_mat_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsPriceMatRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsPriceMatRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsPriceMatRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsPriceMatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_price_request_builder.go b/drives/item_items_item_workbook_functions_price_request_builder.go index ceff6c7a700..a0a57f39b17 100644 --- a/drives/item_items_item_workbook_functions_price_request_builder.go +++ b/drives/item_items_item_workbook_functions_price_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsPriceRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsPriceRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsPriceRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsPriceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_product_request_builder.go b/drives/item_items_item_workbook_functions_product_request_builder.go index a1e55ffd5d7..233f2850ee2 100644 --- a/drives/item_items_item_workbook_functions_product_request_builder.go +++ b/drives/item_items_item_workbook_functions_product_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsProductRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsProductRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsProductRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsProductRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_proper_request_builder.go b/drives/item_items_item_workbook_functions_proper_request_builder.go index d0f3db94b9f..44a08039a89 100644 --- a/drives/item_items_item_workbook_functions_proper_request_builder.go +++ b/drives/item_items_item_workbook_functions_proper_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsProperRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsProperRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsProperRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsProperRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_pv_request_builder.go b/drives/item_items_item_workbook_functions_pv_request_builder.go index c239c6d5c46..5bbcceb0612 100644 --- a/drives/item_items_item_workbook_functions_pv_request_builder.go +++ b/drives/item_items_item_workbook_functions_pv_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsPvRequestBuilder) ToPostRequestInformatio } 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 *ItemItemsItemWorkbookFunctionsPvRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsPvRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsPvRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_quartile_exc_request_builder.go b/drives/item_items_item_workbook_functions_quartile_exc_request_builder.go index cb6914f688f..413fb7582d3 100644 --- a/drives/item_items_item_workbook_functions_quartile_exc_request_builder.go +++ b/drives/item_items_item_workbook_functions_quartile_exc_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsQuartile_ExcRequestBuilder) ToPostRequest } 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 *ItemItemsItemWorkbookFunctionsQuartile_ExcRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsQuartile_ExcRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsQuartile_ExcRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_quartile_inc_request_builder.go b/drives/item_items_item_workbook_functions_quartile_inc_request_builder.go index 77c94a6f31b..b212820416d 100644 --- a/drives/item_items_item_workbook_functions_quartile_inc_request_builder.go +++ b/drives/item_items_item_workbook_functions_quartile_inc_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsQuartile_IncRequestBuilder) ToPostRequest } 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 *ItemItemsItemWorkbookFunctionsQuartile_IncRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsQuartile_IncRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsQuartile_IncRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_quotient_request_builder.go b/drives/item_items_item_workbook_functions_quotient_request_builder.go index c35ea8d45f9..69d0ff0063e 100644 --- a/drives/item_items_item_workbook_functions_quotient_request_builder.go +++ b/drives/item_items_item_workbook_functions_quotient_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsQuotientRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsQuotientRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsQuotientRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsQuotientRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_radians_request_builder.go b/drives/item_items_item_workbook_functions_radians_request_builder.go index add29f8e1d5..bc5d9987af3 100644 --- a/drives/item_items_item_workbook_functions_radians_request_builder.go +++ b/drives/item_items_item_workbook_functions_radians_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsRadiansRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsRadiansRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsRadiansRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsRadiansRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_rand_between_request_builder.go b/drives/item_items_item_workbook_functions_rand_between_request_builder.go index 8845d779494..02d584c8e9e 100644 --- a/drives/item_items_item_workbook_functions_rand_between_request_builder.go +++ b/drives/item_items_item_workbook_functions_rand_between_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsRandBetweenRequestBuilder) ToPostRequestI } 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 *ItemItemsItemWorkbookFunctionsRandBetweenRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsRandBetweenRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsRandBetweenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_rand_request_builder.go b/drives/item_items_item_workbook_functions_rand_request_builder.go index 911d76187be..43c9cfda9f8 100644 --- a/drives/item_items_item_workbook_functions_rand_request_builder.go +++ b/drives/item_items_item_workbook_functions_rand_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemItemsItemWorkbookFunctionsRandRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsRandRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsRandRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsRandRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_rank_avg_request_builder.go b/drives/item_items_item_workbook_functions_rank_avg_request_builder.go index d6449445bf9..943f26b37b9 100644 --- a/drives/item_items_item_workbook_functions_rank_avg_request_builder.go +++ b/drives/item_items_item_workbook_functions_rank_avg_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsRank_AvgRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsRank_AvgRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsRank_AvgRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsRank_AvgRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_rank_eq_request_builder.go b/drives/item_items_item_workbook_functions_rank_eq_request_builder.go index ef0842869d3..8ec7a61b608 100644 --- a/drives/item_items_item_workbook_functions_rank_eq_request_builder.go +++ b/drives/item_items_item_workbook_functions_rank_eq_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsRank_EqRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsRank_EqRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsRank_EqRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsRank_EqRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_rate_request_builder.go b/drives/item_items_item_workbook_functions_rate_request_builder.go index fd2e0ac348e..62f89f294cb 100644 --- a/drives/item_items_item_workbook_functions_rate_request_builder.go +++ b/drives/item_items_item_workbook_functions_rate_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsRateRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsRateRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsRateRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsRateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_received_request_builder.go b/drives/item_items_item_workbook_functions_received_request_builder.go index f436d0f1d3a..167a734efed 100644 --- a/drives/item_items_item_workbook_functions_received_request_builder.go +++ b/drives/item_items_item_workbook_functions_received_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsReceivedRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsReceivedRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsReceivedRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsReceivedRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_replace_b_request_builder.go b/drives/item_items_item_workbook_functions_replace_b_request_builder.go index 5b3c03d22a0..9a80b4b6884 100644 --- a/drives/item_items_item_workbook_functions_replace_b_request_builder.go +++ b/drives/item_items_item_workbook_functions_replace_b_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsReplaceBRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsReplaceBRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsReplaceBRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsReplaceBRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_replace_request_builder.go b/drives/item_items_item_workbook_functions_replace_request_builder.go index cebd3276e1f..82ab1ca22df 100644 --- a/drives/item_items_item_workbook_functions_replace_request_builder.go +++ b/drives/item_items_item_workbook_functions_replace_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsReplaceRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsReplaceRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsReplaceRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsReplaceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_rept_request_builder.go b/drives/item_items_item_workbook_functions_rept_request_builder.go index fd73c7f7813..bfc988ae3e6 100644 --- a/drives/item_items_item_workbook_functions_rept_request_builder.go +++ b/drives/item_items_item_workbook_functions_rept_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsReptRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsReptRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsReptRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsReptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_request_builder.go b/drives/item_items_item_workbook_functions_request_builder.go index 13736e16cdc..cfb30c696a1 100644 --- a/drives/item_items_item_workbook_functions_request_builder.go +++ b/drives/item_items_item_workbook_functions_request_builder.go @@ -1573,6 +1573,10 @@ func (m *ItemItemsItemWorkbookFunctionsRequestBuilder) WeekNum()(*ItemItemsItemW func (m *ItemItemsItemWorkbookFunctionsRequestBuilder) Weibull_Dist()(*ItemItemsItemWorkbookFunctionsWeibull_DistRequestBuilder) { return NewItemItemsItemWorkbookFunctionsWeibull_DistRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemItemsItemWorkbookFunctionsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} // WorkDay provides operations to call the workDay method. func (m *ItemItemsItemWorkbookFunctionsRequestBuilder) WorkDay()(*ItemItemsItemWorkbookFunctionsWorkDayRequestBuilder) { return NewItemItemsItemWorkbookFunctionsWorkDayRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) diff --git a/drives/item_items_item_workbook_functions_right_request_builder.go b/drives/item_items_item_workbook_functions_right_request_builder.go index 8a51f33bb21..b7c90e2c5d1 100644 --- a/drives/item_items_item_workbook_functions_right_request_builder.go +++ b/drives/item_items_item_workbook_functions_right_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsRightRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsRightRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsRightRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsRightRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_rightb_request_builder.go b/drives/item_items_item_workbook_functions_rightb_request_builder.go index 85f07b56a58..0bad4dbf59d 100644 --- a/drives/item_items_item_workbook_functions_rightb_request_builder.go +++ b/drives/item_items_item_workbook_functions_rightb_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsRightbRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsRightbRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsRightbRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsRightbRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_roman_request_builder.go b/drives/item_items_item_workbook_functions_roman_request_builder.go index 55f1f61ffdd..c1d4649e917 100644 --- a/drives/item_items_item_workbook_functions_roman_request_builder.go +++ b/drives/item_items_item_workbook_functions_roman_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsRomanRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsRomanRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsRomanRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsRomanRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_round_down_request_builder.go b/drives/item_items_item_workbook_functions_round_down_request_builder.go index 2c592d44d7f..b590eb9f8d4 100644 --- a/drives/item_items_item_workbook_functions_round_down_request_builder.go +++ b/drives/item_items_item_workbook_functions_round_down_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsRoundDownRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsRoundDownRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsRoundDownRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsRoundDownRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_round_request_builder.go b/drives/item_items_item_workbook_functions_round_request_builder.go index d8794286d81..09235b2604d 100644 --- a/drives/item_items_item_workbook_functions_round_request_builder.go +++ b/drives/item_items_item_workbook_functions_round_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsRoundRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsRoundRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsRoundRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsRoundRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_round_up_request_builder.go b/drives/item_items_item_workbook_functions_round_up_request_builder.go index 5082fe9aa3f..5a92ebf5382 100644 --- a/drives/item_items_item_workbook_functions_round_up_request_builder.go +++ b/drives/item_items_item_workbook_functions_round_up_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsRoundUpRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsRoundUpRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsRoundUpRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsRoundUpRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_rows_request_builder.go b/drives/item_items_item_workbook_functions_rows_request_builder.go index 6fac563ba8f..51a12af5ed5 100644 --- a/drives/item_items_item_workbook_functions_rows_request_builder.go +++ b/drives/item_items_item_workbook_functions_rows_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsRowsRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsRowsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsRowsRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsRowsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_rri_request_builder.go b/drives/item_items_item_workbook_functions_rri_request_builder.go index 361c724e0f9..1123f1da54c 100644 --- a/drives/item_items_item_workbook_functions_rri_request_builder.go +++ b/drives/item_items_item_workbook_functions_rri_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsRriRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsRriRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsRriRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsRriRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_sec_request_builder.go b/drives/item_items_item_workbook_functions_sec_request_builder.go index 4728ac0006a..f4f2f6c4d01 100644 --- a/drives/item_items_item_workbook_functions_sec_request_builder.go +++ b/drives/item_items_item_workbook_functions_sec_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsSecRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsSecRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsSecRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsSecRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_sech_request_builder.go b/drives/item_items_item_workbook_functions_sech_request_builder.go index c21ee256218..369fc74da0e 100644 --- a/drives/item_items_item_workbook_functions_sech_request_builder.go +++ b/drives/item_items_item_workbook_functions_sech_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsSechRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsSechRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsSechRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsSechRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_second_request_builder.go b/drives/item_items_item_workbook_functions_second_request_builder.go index f8c8910171b..6768ca316cf 100644 --- a/drives/item_items_item_workbook_functions_second_request_builder.go +++ b/drives/item_items_item_workbook_functions_second_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsSecondRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsSecondRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsSecondRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsSecondRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_series_sum_request_builder.go b/drives/item_items_item_workbook_functions_series_sum_request_builder.go index f1f4824dcf7..3212a2e455e 100644 --- a/drives/item_items_item_workbook_functions_series_sum_request_builder.go +++ b/drives/item_items_item_workbook_functions_series_sum_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsSeriesSumRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsSeriesSumRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsSeriesSumRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsSeriesSumRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_sheet_request_builder.go b/drives/item_items_item_workbook_functions_sheet_request_builder.go index 867049d25cf..e1ae7297925 100644 --- a/drives/item_items_item_workbook_functions_sheet_request_builder.go +++ b/drives/item_items_item_workbook_functions_sheet_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsSheetRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsSheetRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsSheetRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsSheetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_sheets_request_builder.go b/drives/item_items_item_workbook_functions_sheets_request_builder.go index bf668e10d31..e756947e1b0 100644 --- a/drives/item_items_item_workbook_functions_sheets_request_builder.go +++ b/drives/item_items_item_workbook_functions_sheets_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsSheetsRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsSheetsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsSheetsRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsSheetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_sign_request_builder.go b/drives/item_items_item_workbook_functions_sign_request_builder.go index 746336bc275..bfe03dc2d20 100644 --- a/drives/item_items_item_workbook_functions_sign_request_builder.go +++ b/drives/item_items_item_workbook_functions_sign_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsSignRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsSignRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsSignRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsSignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_sin_request_builder.go b/drives/item_items_item_workbook_functions_sin_request_builder.go index 34f371702ab..7bd59331748 100644 --- a/drives/item_items_item_workbook_functions_sin_request_builder.go +++ b/drives/item_items_item_workbook_functions_sin_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsSinRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsSinRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsSinRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsSinRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_sinh_request_builder.go b/drives/item_items_item_workbook_functions_sinh_request_builder.go index fba3d1312c6..4780d27b23e 100644 --- a/drives/item_items_item_workbook_functions_sinh_request_builder.go +++ b/drives/item_items_item_workbook_functions_sinh_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsSinhRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsSinhRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsSinhRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsSinhRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_skew_p_request_builder.go b/drives/item_items_item_workbook_functions_skew_p_request_builder.go index 34158af96bd..84c7812029d 100644 --- a/drives/item_items_item_workbook_functions_skew_p_request_builder.go +++ b/drives/item_items_item_workbook_functions_skew_p_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsSkew_pRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsSkew_pRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsSkew_pRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsSkew_pRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_skew_request_builder.go b/drives/item_items_item_workbook_functions_skew_request_builder.go index fbc56c3a000..8a01cbb5f52 100644 --- a/drives/item_items_item_workbook_functions_skew_request_builder.go +++ b/drives/item_items_item_workbook_functions_skew_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsSkewRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsSkewRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsSkewRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsSkewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_sln_request_builder.go b/drives/item_items_item_workbook_functions_sln_request_builder.go index effa427885b..e2858977441 100644 --- a/drives/item_items_item_workbook_functions_sln_request_builder.go +++ b/drives/item_items_item_workbook_functions_sln_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsSlnRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsSlnRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsSlnRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsSlnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_small_request_builder.go b/drives/item_items_item_workbook_functions_small_request_builder.go index 0bc41437b94..b5344529b03 100644 --- a/drives/item_items_item_workbook_functions_small_request_builder.go +++ b/drives/item_items_item_workbook_functions_small_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsSmallRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsSmallRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsSmallRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsSmallRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_sqrt_pi_request_builder.go b/drives/item_items_item_workbook_functions_sqrt_pi_request_builder.go index 80132812cd7..4991f3e83a0 100644 --- a/drives/item_items_item_workbook_functions_sqrt_pi_request_builder.go +++ b/drives/item_items_item_workbook_functions_sqrt_pi_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsSqrtPiRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsSqrtPiRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsSqrtPiRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsSqrtPiRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_sqrt_request_builder.go b/drives/item_items_item_workbook_functions_sqrt_request_builder.go index dd2d71c7ba4..2cbc7250406 100644 --- a/drives/item_items_item_workbook_functions_sqrt_request_builder.go +++ b/drives/item_items_item_workbook_functions_sqrt_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsSqrtRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsSqrtRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsSqrtRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsSqrtRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_st_dev_a_request_builder.go b/drives/item_items_item_workbook_functions_st_dev_a_request_builder.go index 6ed6c98b5e4..83e243ac7d9 100644 --- a/drives/item_items_item_workbook_functions_st_dev_a_request_builder.go +++ b/drives/item_items_item_workbook_functions_st_dev_a_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsStDevARequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsStDevARequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsStDevARequestBuilder) { + return NewItemItemsItemWorkbookFunctionsStDevARequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_st_dev_p_a_request_builder.go b/drives/item_items_item_workbook_functions_st_dev_p_a_request_builder.go index dad2c8f3548..04af04d443a 100644 --- a/drives/item_items_item_workbook_functions_st_dev_p_a_request_builder.go +++ b/drives/item_items_item_workbook_functions_st_dev_p_a_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsStDevPARequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsStDevPARequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsStDevPARequestBuilder) { + return NewItemItemsItemWorkbookFunctionsStDevPARequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_st_dev_p_request_builder.go b/drives/item_items_item_workbook_functions_st_dev_p_request_builder.go index 7267a13b776..4c3b4e153db 100644 --- a/drives/item_items_item_workbook_functions_st_dev_p_request_builder.go +++ b/drives/item_items_item_workbook_functions_st_dev_p_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsStDev_PRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsStDev_PRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsStDev_PRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsStDev_PRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_st_dev_s_request_builder.go b/drives/item_items_item_workbook_functions_st_dev_s_request_builder.go index 6875f70b3d6..7939be6108a 100644 --- a/drives/item_items_item_workbook_functions_st_dev_s_request_builder.go +++ b/drives/item_items_item_workbook_functions_st_dev_s_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsStDev_SRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsStDev_SRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsStDev_SRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsStDev_SRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_standardize_request_builder.go b/drives/item_items_item_workbook_functions_standardize_request_builder.go index 5addde2e34a..cb5998999f6 100644 --- a/drives/item_items_item_workbook_functions_standardize_request_builder.go +++ b/drives/item_items_item_workbook_functions_standardize_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsStandardizeRequestBuilder) ToPostRequestI } 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 *ItemItemsItemWorkbookFunctionsStandardizeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsStandardizeRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsStandardizeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_substitute_request_builder.go b/drives/item_items_item_workbook_functions_substitute_request_builder.go index 4c6b88d031f..fb26e80d30c 100644 --- a/drives/item_items_item_workbook_functions_substitute_request_builder.go +++ b/drives/item_items_item_workbook_functions_substitute_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsSubstituteRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemWorkbookFunctionsSubstituteRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsSubstituteRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsSubstituteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_subtotal_request_builder.go b/drives/item_items_item_workbook_functions_subtotal_request_builder.go index 76d66b1a1ef..c135f35cb2f 100644 --- a/drives/item_items_item_workbook_functions_subtotal_request_builder.go +++ b/drives/item_items_item_workbook_functions_subtotal_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsSubtotalRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsSubtotalRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsSubtotalRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsSubtotalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_sum_if_request_builder.go b/drives/item_items_item_workbook_functions_sum_if_request_builder.go index f6467f3f664..327512a1554 100644 --- a/drives/item_items_item_workbook_functions_sum_if_request_builder.go +++ b/drives/item_items_item_workbook_functions_sum_if_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsSumIfRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsSumIfRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsSumIfRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsSumIfRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_sum_ifs_request_builder.go b/drives/item_items_item_workbook_functions_sum_ifs_request_builder.go index 15ca1b061d9..c6a3a415595 100644 --- a/drives/item_items_item_workbook_functions_sum_ifs_request_builder.go +++ b/drives/item_items_item_workbook_functions_sum_ifs_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsSumIfsRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsSumIfsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsSumIfsRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsSumIfsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_sum_request_builder.go b/drives/item_items_item_workbook_functions_sum_request_builder.go index ec84526b8d1..bf546da90e3 100644 --- a/drives/item_items_item_workbook_functions_sum_request_builder.go +++ b/drives/item_items_item_workbook_functions_sum_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsSumRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsSumRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsSumRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsSumRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_sum_sq_request_builder.go b/drives/item_items_item_workbook_functions_sum_sq_request_builder.go index c5aac452574..868f31297b6 100644 --- a/drives/item_items_item_workbook_functions_sum_sq_request_builder.go +++ b/drives/item_items_item_workbook_functions_sum_sq_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsSumSqRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsSumSqRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsSumSqRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsSumSqRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_syd_request_builder.go b/drives/item_items_item_workbook_functions_syd_request_builder.go index a593324c674..943abac8ebc 100644 --- a/drives/item_items_item_workbook_functions_syd_request_builder.go +++ b/drives/item_items_item_workbook_functions_syd_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsSydRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsSydRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsSydRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsSydRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_t_dist_2_t_request_builder.go b/drives/item_items_item_workbook_functions_t_dist_2_t_request_builder.go index 93c31c39c05..889cbfbe6ad 100644 --- a/drives/item_items_item_workbook_functions_t_dist_2_t_request_builder.go +++ b/drives/item_items_item_workbook_functions_t_dist_2_t_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsT_Dist_2TRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsT_Dist_2TRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsT_Dist_2TRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsT_Dist_2TRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_t_dist_r_t_request_builder.go b/drives/item_items_item_workbook_functions_t_dist_r_t_request_builder.go index 37f320c8827..0ae24698917 100644 --- a/drives/item_items_item_workbook_functions_t_dist_r_t_request_builder.go +++ b/drives/item_items_item_workbook_functions_t_dist_r_t_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsT_Dist_RTRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsT_Dist_RTRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsT_Dist_RTRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsT_Dist_RTRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_t_dist_request_builder.go b/drives/item_items_item_workbook_functions_t_dist_request_builder.go index 102619ce0f2..c143a929787 100644 --- a/drives/item_items_item_workbook_functions_t_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_t_dist_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsT_DistRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsT_DistRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsT_DistRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsT_DistRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_t_inv_2_t_request_builder.go b/drives/item_items_item_workbook_functions_t_inv_2_t_request_builder.go index 111f88860b6..11a0a4f6654 100644 --- a/drives/item_items_item_workbook_functions_t_inv_2_t_request_builder.go +++ b/drives/item_items_item_workbook_functions_t_inv_2_t_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsT_Inv_2TRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsT_Inv_2TRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsT_Inv_2TRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsT_Inv_2TRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_t_inv_request_builder.go b/drives/item_items_item_workbook_functions_t_inv_request_builder.go index 5c030ca7d43..75aeb05c92e 100644 --- a/drives/item_items_item_workbook_functions_t_inv_request_builder.go +++ b/drives/item_items_item_workbook_functions_t_inv_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsT_InvRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsT_InvRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsT_InvRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsT_InvRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_t_request_builder.go b/drives/item_items_item_workbook_functions_t_request_builder.go index 376ab0934f0..cf9ffb3a138 100644 --- a/drives/item_items_item_workbook_functions_t_request_builder.go +++ b/drives/item_items_item_workbook_functions_t_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsTRequestBuilder) 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 *ItemItemsItemWorkbookFunctionsTRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsTRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsTRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_tan_request_builder.go b/drives/item_items_item_workbook_functions_tan_request_builder.go index a1c8a7cf4b8..884979c0077 100644 --- a/drives/item_items_item_workbook_functions_tan_request_builder.go +++ b/drives/item_items_item_workbook_functions_tan_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsTanRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsTanRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsTanRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsTanRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_tanh_request_builder.go b/drives/item_items_item_workbook_functions_tanh_request_builder.go index bddf29fa89d..0ea36b844f9 100644 --- a/drives/item_items_item_workbook_functions_tanh_request_builder.go +++ b/drives/item_items_item_workbook_functions_tanh_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsTanhRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsTanhRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsTanhRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsTanhRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_tbill_eq_request_builder.go b/drives/item_items_item_workbook_functions_tbill_eq_request_builder.go index d2dba64c6af..f64cdc1850e 100644 --- a/drives/item_items_item_workbook_functions_tbill_eq_request_builder.go +++ b/drives/item_items_item_workbook_functions_tbill_eq_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsTbillEqRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsTbillEqRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsTbillEqRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsTbillEqRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_tbill_price_request_builder.go b/drives/item_items_item_workbook_functions_tbill_price_request_builder.go index f45819f66a6..7590bee376f 100644 --- a/drives/item_items_item_workbook_functions_tbill_price_request_builder.go +++ b/drives/item_items_item_workbook_functions_tbill_price_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsTbillPriceRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemWorkbookFunctionsTbillPriceRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsTbillPriceRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsTbillPriceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_tbill_yield_request_builder.go b/drives/item_items_item_workbook_functions_tbill_yield_request_builder.go index 6f2b5c0bb37..7c43bc7884e 100644 --- a/drives/item_items_item_workbook_functions_tbill_yield_request_builder.go +++ b/drives/item_items_item_workbook_functions_tbill_yield_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsTbillYieldRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemWorkbookFunctionsTbillYieldRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsTbillYieldRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsTbillYieldRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_text_request_builder.go b/drives/item_items_item_workbook_functions_text_request_builder.go index db4d91fe696..d305549bfe3 100644 --- a/drives/item_items_item_workbook_functions_text_request_builder.go +++ b/drives/item_items_item_workbook_functions_text_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsTextRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsTextRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsTextRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsTextRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_time_request_builder.go b/drives/item_items_item_workbook_functions_time_request_builder.go index 4734b44ed76..1a4802f1bb2 100644 --- a/drives/item_items_item_workbook_functions_time_request_builder.go +++ b/drives/item_items_item_workbook_functions_time_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsTimeRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsTimeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsTimeRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_timevalue_request_builder.go b/drives/item_items_item_workbook_functions_timevalue_request_builder.go index 9df8bdf9c51..2b9b568cd13 100644 --- a/drives/item_items_item_workbook_functions_timevalue_request_builder.go +++ b/drives/item_items_item_workbook_functions_timevalue_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsTimevalueRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsTimevalueRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsTimevalueRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsTimevalueRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_today_request_builder.go b/drives/item_items_item_workbook_functions_today_request_builder.go index 1a2bb330349..087471501ff 100644 --- a/drives/item_items_item_workbook_functions_today_request_builder.go +++ b/drives/item_items_item_workbook_functions_today_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemItemsItemWorkbookFunctionsTodayRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsTodayRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsTodayRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsTodayRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_trim_mean_request_builder.go b/drives/item_items_item_workbook_functions_trim_mean_request_builder.go index 7e9112462cb..575f1ac9cb3 100644 --- a/drives/item_items_item_workbook_functions_trim_mean_request_builder.go +++ b/drives/item_items_item_workbook_functions_trim_mean_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsTrimMeanRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsTrimMeanRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsTrimMeanRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsTrimMeanRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_trim_request_builder.go b/drives/item_items_item_workbook_functions_trim_request_builder.go index 607f2b48ece..7c1ee5686ec 100644 --- a/drives/item_items_item_workbook_functions_trim_request_builder.go +++ b/drives/item_items_item_workbook_functions_trim_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsTrimRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsTrimRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsTrimRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsTrimRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_true_request_builder.go b/drives/item_items_item_workbook_functions_true_request_builder.go index 623162a8485..af786853f56 100644 --- a/drives/item_items_item_workbook_functions_true_request_builder.go +++ b/drives/item_items_item_workbook_functions_true_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemItemsItemWorkbookFunctionsTrueRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsTrueRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsTrueRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsTrueRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_trunc_request_builder.go b/drives/item_items_item_workbook_functions_trunc_request_builder.go index adb13aaba1c..b1d53d87c9b 100644 --- a/drives/item_items_item_workbook_functions_trunc_request_builder.go +++ b/drives/item_items_item_workbook_functions_trunc_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsTruncRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsTruncRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsTruncRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsTruncRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_type_request_builder.go b/drives/item_items_item_workbook_functions_type_request_builder.go index 3a20468e6cd..929f156f150 100644 --- a/drives/item_items_item_workbook_functions_type_request_builder.go +++ b/drives/item_items_item_workbook_functions_type_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsTypeRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsTypeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsTypeRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsTypeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_unichar_request_builder.go b/drives/item_items_item_workbook_functions_unichar_request_builder.go index 77e8e1e753d..4f483ac3a7b 100644 --- a/drives/item_items_item_workbook_functions_unichar_request_builder.go +++ b/drives/item_items_item_workbook_functions_unichar_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsUnicharRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsUnicharRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsUnicharRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsUnicharRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_unicode_request_builder.go b/drives/item_items_item_workbook_functions_unicode_request_builder.go index b8066ee7e2f..9883a10d4e9 100644 --- a/drives/item_items_item_workbook_functions_unicode_request_builder.go +++ b/drives/item_items_item_workbook_functions_unicode_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsUnicodeRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsUnicodeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsUnicodeRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsUnicodeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_upper_request_builder.go b/drives/item_items_item_workbook_functions_upper_request_builder.go index 15060c0ae0c..d4f9f7f0dcc 100644 --- a/drives/item_items_item_workbook_functions_upper_request_builder.go +++ b/drives/item_items_item_workbook_functions_upper_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsUpperRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsUpperRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsUpperRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsUpperRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_usdollar_request_builder.go b/drives/item_items_item_workbook_functions_usdollar_request_builder.go index 4ba74376914..8b1617a8703 100644 --- a/drives/item_items_item_workbook_functions_usdollar_request_builder.go +++ b/drives/item_items_item_workbook_functions_usdollar_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsUsdollarRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsUsdollarRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsUsdollarRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsUsdollarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_value_request_builder.go b/drives/item_items_item_workbook_functions_value_request_builder.go index d8658e0da8c..6272d0b76be 100644 --- a/drives/item_items_item_workbook_functions_value_request_builder.go +++ b/drives/item_items_item_workbook_functions_value_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsValueRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsValueRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsValueRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsValueRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_var_a_request_builder.go b/drives/item_items_item_workbook_functions_var_a_request_builder.go index 9f167edee31..187f4493848 100644 --- a/drives/item_items_item_workbook_functions_var_a_request_builder.go +++ b/drives/item_items_item_workbook_functions_var_a_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsVarARequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsVarARequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsVarARequestBuilder) { + return NewItemItemsItemWorkbookFunctionsVarARequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_var_p_a_request_builder.go b/drives/item_items_item_workbook_functions_var_p_a_request_builder.go index d36d5877f8b..4ac4bd38676 100644 --- a/drives/item_items_item_workbook_functions_var_p_a_request_builder.go +++ b/drives/item_items_item_workbook_functions_var_p_a_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsVarPARequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsVarPARequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsVarPARequestBuilder) { + return NewItemItemsItemWorkbookFunctionsVarPARequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_var_p_request_builder.go b/drives/item_items_item_workbook_functions_var_p_request_builder.go index a875ef69c6c..f2f2dc5d9ec 100644 --- a/drives/item_items_item_workbook_functions_var_p_request_builder.go +++ b/drives/item_items_item_workbook_functions_var_p_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsVar_PRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsVar_PRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsVar_PRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsVar_PRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_var_s_request_builder.go b/drives/item_items_item_workbook_functions_var_s_request_builder.go index 2c4381ffcdf..c8499c7fe95 100644 --- a/drives/item_items_item_workbook_functions_var_s_request_builder.go +++ b/drives/item_items_item_workbook_functions_var_s_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsVar_SRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsVar_SRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsVar_SRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsVar_SRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_vdb_request_builder.go b/drives/item_items_item_workbook_functions_vdb_request_builder.go index 6bfe7a1cbf6..a203ed57c2a 100644 --- a/drives/item_items_item_workbook_functions_vdb_request_builder.go +++ b/drives/item_items_item_workbook_functions_vdb_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsVdbRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsVdbRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsVdbRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsVdbRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_vlookup_request_builder.go b/drives/item_items_item_workbook_functions_vlookup_request_builder.go index 49117502bb0..749a34108ae 100644 --- a/drives/item_items_item_workbook_functions_vlookup_request_builder.go +++ b/drives/item_items_item_workbook_functions_vlookup_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsVlookupRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsVlookupRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsVlookupRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsVlookupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_week_num_request_builder.go b/drives/item_items_item_workbook_functions_week_num_request_builder.go index 739ccff4bca..7294a93f051 100644 --- a/drives/item_items_item_workbook_functions_week_num_request_builder.go +++ b/drives/item_items_item_workbook_functions_week_num_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsWeekNumRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsWeekNumRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsWeekNumRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsWeekNumRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_weekday_request_builder.go b/drives/item_items_item_workbook_functions_weekday_request_builder.go index adcb37165b9..3c2d1b96f1d 100644 --- a/drives/item_items_item_workbook_functions_weekday_request_builder.go +++ b/drives/item_items_item_workbook_functions_weekday_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsWeekdayRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsWeekdayRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsWeekdayRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsWeekdayRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_weibull_dist_request_builder.go b/drives/item_items_item_workbook_functions_weibull_dist_request_builder.go index 0a358918e6c..7ddb8a56684 100644 --- a/drives/item_items_item_workbook_functions_weibull_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_weibull_dist_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsWeibull_DistRequestBuilder) ToPostRequest } 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 *ItemItemsItemWorkbookFunctionsWeibull_DistRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsWeibull_DistRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsWeibull_DistRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_work_day_intl_request_builder.go b/drives/item_items_item_workbook_functions_work_day_intl_request_builder.go index 294bfd29c3c..9fbb2da5237 100644 --- a/drives/item_items_item_workbook_functions_work_day_intl_request_builder.go +++ b/drives/item_items_item_workbook_functions_work_day_intl_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsWorkDay_IntlRequestBuilder) ToPostRequest } 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 *ItemItemsItemWorkbookFunctionsWorkDay_IntlRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsWorkDay_IntlRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsWorkDay_IntlRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_work_day_request_builder.go b/drives/item_items_item_workbook_functions_work_day_request_builder.go index b6a3fbaacaa..f2fea575c56 100644 --- a/drives/item_items_item_workbook_functions_work_day_request_builder.go +++ b/drives/item_items_item_workbook_functions_work_day_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsWorkDayRequestBuilder) ToPostRequestInfor } 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 *ItemItemsItemWorkbookFunctionsWorkDayRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsWorkDayRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsWorkDayRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_xirr_request_builder.go b/drives/item_items_item_workbook_functions_xirr_request_builder.go index 54e45be2fb6..ef688944b36 100644 --- a/drives/item_items_item_workbook_functions_xirr_request_builder.go +++ b/drives/item_items_item_workbook_functions_xirr_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsXirrRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsXirrRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsXirrRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsXirrRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_xnpv_request_builder.go b/drives/item_items_item_workbook_functions_xnpv_request_builder.go index 999e2f9d175..b3c76ffce05 100644 --- a/drives/item_items_item_workbook_functions_xnpv_request_builder.go +++ b/drives/item_items_item_workbook_functions_xnpv_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsXnpvRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsXnpvRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsXnpvRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsXnpvRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_xor_request_builder.go b/drives/item_items_item_workbook_functions_xor_request_builder.go index d0efbd7a689..225b9113884 100644 --- a/drives/item_items_item_workbook_functions_xor_request_builder.go +++ b/drives/item_items_item_workbook_functions_xor_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsXorRequestBuilder) ToPostRequestInformati } 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 *ItemItemsItemWorkbookFunctionsXorRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsXorRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsXorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_year_frac_request_builder.go b/drives/item_items_item_workbook_functions_year_frac_request_builder.go index 9274a55d2f6..5dc6b67cf06 100644 --- a/drives/item_items_item_workbook_functions_year_frac_request_builder.go +++ b/drives/item_items_item_workbook_functions_year_frac_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsYearFracRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsYearFracRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsYearFracRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsYearFracRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_year_request_builder.go b/drives/item_items_item_workbook_functions_year_request_builder.go index ba2bdc26736..a9cdcc47b6e 100644 --- a/drives/item_items_item_workbook_functions_year_request_builder.go +++ b/drives/item_items_item_workbook_functions_year_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsYearRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookFunctionsYearRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsYearRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsYearRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_yield_disc_request_builder.go b/drives/item_items_item_workbook_functions_yield_disc_request_builder.go index 6a0dd964389..511695b6183 100644 --- a/drives/item_items_item_workbook_functions_yield_disc_request_builder.go +++ b/drives/item_items_item_workbook_functions_yield_disc_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsYieldDiscRequestBuilder) ToPostRequestInf } 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 *ItemItemsItemWorkbookFunctionsYieldDiscRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsYieldDiscRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsYieldDiscRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_yield_mat_request_builder.go b/drives/item_items_item_workbook_functions_yield_mat_request_builder.go index db9879e118b..ba83d4d12b4 100644 --- a/drives/item_items_item_workbook_functions_yield_mat_request_builder.go +++ b/drives/item_items_item_workbook_functions_yield_mat_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsYieldMatRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookFunctionsYieldMatRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsYieldMatRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsYieldMatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_yield_request_builder.go b/drives/item_items_item_workbook_functions_yield_request_builder.go index 9e5d95b23d6..0a48dc26dbe 100644 --- a/drives/item_items_item_workbook_functions_yield_request_builder.go +++ b/drives/item_items_item_workbook_functions_yield_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsYieldRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookFunctionsYieldRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsYieldRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsYieldRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_functions_z_test_request_builder.go b/drives/item_items_item_workbook_functions_z_test_request_builder.go index e56900e54bc..922676a215c 100644 --- a/drives/item_items_item_workbook_functions_z_test_request_builder.go +++ b/drives/item_items_item_workbook_functions_z_test_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookFunctionsZ_TestRequestBuilder) ToPostRequestInform } 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 *ItemItemsItemWorkbookFunctionsZ_TestRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookFunctionsZ_TestRequestBuilder) { + return NewItemItemsItemWorkbookFunctionsZ_TestRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_names_add_formula_local_request_builder.go b/drives/item_items_item_workbook_names_add_formula_local_request_builder.go index dedc267584e..1cda8e70de3 100644 --- a/drives/item_items_item_workbook_names_add_formula_local_request_builder.go +++ b/drives/item_items_item_workbook_names_add_formula_local_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemWorkbookNamesAddFormulaLocalRequestBuilder) ToPostRequestI } 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 *ItemItemsItemWorkbookNamesAddFormulaLocalRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookNamesAddFormulaLocalRequestBuilder) { + return NewItemItemsItemWorkbookNamesAddFormulaLocalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_names_add_request_builder.go b/drives/item_items_item_workbook_names_add_request_builder.go index 4272de462fa..f4ebb07cc64 100644 --- a/drives/item_items_item_workbook_names_add_request_builder.go +++ b/drives/item_items_item_workbook_names_add_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemWorkbookNamesAddRequestBuilder) ToPostRequestInformation(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 *ItemItemsItemWorkbookNamesAddRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookNamesAddRequestBuilder) { + return NewItemItemsItemWorkbookNamesAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_names_count_request_builder.go b/drives/item_items_item_workbook_names_count_request_builder.go index a2733fd0638..1c553806036 100644 --- a/drives/item_items_item_workbook_names_count_request_builder.go +++ b/drives/item_items_item_workbook_names_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemItemsItemWorkbookNamesCountRequestBuilder) 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 *ItemItemsItemWorkbookNamesCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookNamesCountRequestBuilder) { + return NewItemItemsItemWorkbookNamesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_names_item_range_request_builder.go b/drives/item_items_item_workbook_names_item_range_request_builder.go index 7b38aa57269..5985f0ed635 100644 --- a/drives/item_items_item_workbook_names_item_range_request_builder.go +++ b/drives/item_items_item_workbook_names_item_range_request_builder.go @@ -31,10 +31,10 @@ func NewItemItemsItemWorkbookNamesItemRangeRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookNamesItemRangeRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve the properties and relationships of range object. +// Get returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookNamesItemRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -53,7 +53,7 @@ func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable), nil } -// ToGetRequestInformation retrieve the properties and relationships of range object. +// ToGetRequestInformation returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookNamesItemRangeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) ToGetRequestInformat } 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 *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookNamesItemRangeRequestBuilder) { + return NewItemItemsItemWorkbookNamesItemRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_names_item_worksheet_request_builder.go b/drives/item_items_item_workbook_names_item_worksheet_request_builder.go index f5028be908e..5c19782c4ee 100644 --- a/drives/item_items_item_workbook_names_item_worksheet_request_builder.go +++ b/drives/item_items_item_workbook_names_item_worksheet_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemItemsItemWorkbookNamesItemWorksheetRequestBuilder) ToGetRequestInfo } 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 *ItemItemsItemWorkbookNamesItemWorksheetRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookNamesItemWorksheetRequestBuilder) { + return NewItemItemsItemWorkbookNamesItemWorksheetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_names_request_builder.go b/drives/item_items_item_workbook_names_request_builder.go index 5936d49ab84..e7b1a1ae92f 100644 --- a/drives/item_items_item_workbook_names_request_builder.go +++ b/drives/item_items_item_workbook_names_request_builder.go @@ -54,8 +54,8 @@ func (m *ItemItemsItemWorkbookNamesRequestBuilder) Add()(*ItemItemsItemWorkbookN func (m *ItemItemsItemWorkbookNamesRequestBuilder) AddFormulaLocal()(*ItemItemsItemWorkbookNamesAddFormulaLocalRequestBuilder) { return NewItemItemsItemWorkbookNamesAddFormulaLocalRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByWorkbookNamedItemIdString provides operations to manage the names property of the microsoft.graph.workbook entity. -func (m *ItemItemsItemWorkbookNamesRequestBuilder) ByWorkbookNamedItemIdString(workbookNamedItemId string)(*ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder) { +// ByWorkbookNamedItemId provides operations to manage the names property of the microsoft.graph.workbook entity. +func (m *ItemItemsItemWorkbookNamesRequestBuilder) ByWorkbookNamedItemId(workbookNamedItemId string)(*ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *ItemItemsItemWorkbookNamesRequestBuilder) 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 *ItemItemsItemWorkbookNamesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookNamesRequestBuilder) { + return NewItemItemsItemWorkbookNamesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_names_workbook_named_item_item_request_builder.go b/drives/item_items_item_workbook_names_workbook_named_item_item_request_builder.go index 8eaedda0431..b1f900c51dc 100644 --- a/drives/item_items_item_workbook_names_workbook_named_item_item_request_builder.go +++ b/drives/item_items_item_workbook_names_workbook_named_item_item_request_builder.go @@ -166,6 +166,10 @@ func (m *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder) ToPatchR } 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 *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder) { + return NewItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} // Worksheet provides operations to manage the worksheet property of the microsoft.graph.workbookNamedItem entity. func (m *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder) Worksheet()(*ItemItemsItemWorkbookNamesItemWorksheetRequestBuilder) { return NewItemItemsItemWorkbookNamesItemWorksheetRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) diff --git a/drives/item_items_item_workbook_operations_count_request_builder.go b/drives/item_items_item_workbook_operations_count_request_builder.go index 28c1f4413eb..4b82a5c53cd 100644 --- a/drives/item_items_item_workbook_operations_count_request_builder.go +++ b/drives/item_items_item_workbook_operations_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemItemsItemWorkbookOperationsCountRequestBuilder) ToGetRequestInforma } 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 *ItemItemsItemWorkbookOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookOperationsCountRequestBuilder) { + return NewItemItemsItemWorkbookOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_operations_request_builder.go b/drives/item_items_item_workbook_operations_request_builder.go index 0f58cc48934..76bbd9e82a2 100644 --- a/drives/item_items_item_workbook_operations_request_builder.go +++ b/drives/item_items_item_workbook_operations_request_builder.go @@ -38,8 +38,8 @@ type ItemItemsItemWorkbookOperationsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWorkbookOperationIdString provides operations to manage the operations property of the microsoft.graph.workbook entity. -func (m *ItemItemsItemWorkbookOperationsRequestBuilder) ByWorkbookOperationIdString(workbookOperationId string)(*ItemItemsItemWorkbookOperationsWorkbookOperationItemRequestBuilder) { +// ByWorkbookOperationId provides operations to manage the operations property of the microsoft.graph.workbook entity. +func (m *ItemItemsItemWorkbookOperationsRequestBuilder) ByWorkbookOperationId(workbookOperationId string)(*ItemItemsItemWorkbookOperationsWorkbookOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -137,3 +137,7 @@ func (m *ItemItemsItemWorkbookOperationsRequestBuilder) 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 *ItemItemsItemWorkbookOperationsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookOperationsRequestBuilder) { + return NewItemItemsItemWorkbookOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_operations_workbook_operation_item_request_builder.go b/drives/item_items_item_workbook_operations_workbook_operation_item_request_builder.go index a2c9ce41164..ca80ffd50f8 100644 --- a/drives/item_items_item_workbook_operations_workbook_operation_item_request_builder.go +++ b/drives/item_items_item_workbook_operations_workbook_operation_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemItemsItemWorkbookOperationsWorkbookOperationItemRequestBuilder) 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 *ItemItemsItemWorkbookOperationsWorkbookOperationItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookOperationsWorkbookOperationItemRequestBuilder) { + return NewItemItemsItemWorkbookOperationsWorkbookOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_refresh_session_request_builder.go b/drives/item_items_item_workbook_refresh_session_request_builder.go index 2d1254a751f..f0e12a262ee 100644 --- a/drives/item_items_item_workbook_refresh_session_request_builder.go +++ b/drives/item_items_item_workbook_refresh_session_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookRefreshSessionRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookRefreshSessionRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookRefreshSessionRequestBuilder) { + return NewItemItemsItemWorkbookRefreshSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_request_builder.go b/drives/item_items_item_workbook_request_builder.go index fe8d4705e9d..a82f918e30f 100644 --- a/drives/item_items_item_workbook_request_builder.go +++ b/drives/item_items_item_workbook_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookRequestBuilderGetQueryParameters for files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. +// ItemItemsItemWorkbookRequestBuilderGetQueryParameters for files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents. Nullable. type ItemItemsItemWorkbookRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -90,7 +90,7 @@ func (m *ItemItemsItemWorkbookRequestBuilder) Delete(ctx context.Context, reques func (m *ItemItemsItemWorkbookRequestBuilder) Functions()(*ItemItemsItemWorkbookFunctionsRequestBuilder) { return NewItemItemsItemWorkbookFunctionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get for files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. +// Get for files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents. Nullable. func (m *ItemItemsItemWorkbookRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Workbookable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -164,7 +164,7 @@ func (m *ItemItemsItemWorkbookRequestBuilder) ToDeleteRequestInformation(ctx con } return requestInfo, nil } -// ToGetRequestInformation for files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. +// ToGetRequestInformation for files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents. Nullable. func (m *ItemItemsItemWorkbookRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -197,6 +197,10 @@ func (m *ItemItemsItemWorkbookRequestBuilder) ToPatchRequestInformation(ctx cont } 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 *ItemItemsItemWorkbookRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookRequestBuilder) { + return NewItemItemsItemWorkbookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} // Worksheets provides operations to manage the worksheets property of the microsoft.graph.workbook entity. func (m *ItemItemsItemWorkbookRequestBuilder) Worksheets()(*ItemItemsItemWorkbookWorksheetsRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) diff --git a/drives/item_items_item_workbook_session_info_resource_with_key_request_builder.go b/drives/item_items_item_workbook_session_info_resource_with_key_request_builder.go index 74f3bf5e332..6c491ca4341 100644 --- a/drives/item_items_item_workbook_session_info_resource_with_key_request_builder.go +++ b/drives/item_items_item_workbook_session_info_resource_with_key_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookSessionInfoResourceWithKeyRequestBuilder) ToGetReq } 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 *ItemItemsItemWorkbookSessionInfoResourceWithKeyRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookSessionInfoResourceWithKeyRequestBuilder) { + return NewItemItemsItemWorkbookSessionInfoResourceWithKeyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_table_row_operation_result_with_key_request_builder.go b/drives/item_items_item_workbook_table_row_operation_result_with_key_request_builder.go index a07e9837252..8a3f0cfc716 100644 --- a/drives/item_items_item_workbook_table_row_operation_result_with_key_request_builder.go +++ b/drives/item_items_item_workbook_table_row_operation_result_with_key_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookTableRowOperationResultWithKeyRequestBuilder) ToGe } 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 *ItemItemsItemWorkbookTableRowOperationResultWithKeyRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTableRowOperationResultWithKeyRequestBuilder) { + return NewItemItemsItemWorkbookTableRowOperationResultWithKeyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_add_request_builder.go b/drives/item_items_item_workbook_tables_add_request_builder.go index 46beceee825..fdcf2b39809 100644 --- a/drives/item_items_item_workbook_tables_add_request_builder.go +++ b/drives/item_items_item_workbook_tables_add_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) 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 *ItemItemsItemWorkbookTablesAddRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesAddRequestBuilder) { + return NewItemItemsItemWorkbookTablesAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_count_request_builder.go b/drives/item_items_item_workbook_tables_count_request_builder.go index d896043e7ce..ec50b9610d6 100644 --- a/drives/item_items_item_workbook_tables_count_request_builder.go +++ b/drives/item_items_item_workbook_tables_count_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookTablesCountRequestBuilder) 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 *ItemItemsItemWorkbookTablesCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesCountRequestBuilder) { + return NewItemItemsItemWorkbookTablesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_tables_item_at_with_index_request_builder.go index 51299edf901..643ffeada57 100644 --- a/drives/item_items_item_workbook_tables_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_at_with_index_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookTablesItemAtWithIndexRequestBuilder) ToGetRequestI } 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 *ItemItemsItemWorkbookTablesItemAtWithIndexRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemAtWithIndexRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemAtWithIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_clear_filters_request_builder.go b/drives/item_items_item_workbook_tables_item_clear_filters_request_builder.go index bccc21506bd..8193a3eaacb 100644 --- a/drives/item_items_item_workbook_tables_item_clear_filters_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_clear_filters_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookTablesItemClearFiltersRequestBuilder) ToPostReques } 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 *ItemItemsItemWorkbookTablesItemClearFiltersRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemClearFiltersRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemClearFiltersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_columns_add_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_add_request_builder.go index 0a178230eaa..f5e58e774f7 100644 --- a/drives/item_items_item_workbook_tables_item_columns_add_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_add_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsAddRequestBuilder) ToPostRequestI } 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 *ItemItemsItemWorkbookTablesItemColumnsAddRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemColumnsAddRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemColumnsAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_columns_count_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_count_request_builder.go index f96e7f07ba6..fe4bd71f776 100644 --- a/drives/item_items_item_workbook_tables_item_columns_count_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_count_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsCountRequestBuilder) ToGetRequest } 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 *ItemItemsItemWorkbookTablesItemColumnsCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemColumnsCountRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemColumnsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_request_builder.go index 3eeefdcf70f..ca69ef132d6 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexRequestBuilder) To } 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 *ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_columns_item_data_body_range_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_data_body_range_request_builder.go index 9954fe415f7..0dfc48546ec 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_data_body_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_data_body_range_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemDataBodyRangeRequestBuilder) } 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 *ItemItemsItemWorkbookTablesItemColumnsItemDataBodyRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemColumnsItemDataBodyRangeRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemColumnsItemDataBodyRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_bottom_items_filter_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_bottom_items_filter_request_builder.go index 58bce960456..68d61f7427c 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_bottom_items_filter_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_bottom_items_filter_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyBottomItemsFilterR } 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 *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyBottomItemsFilterRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyBottomItemsFilterRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemColumnsItemFilterApplyBottomItemsFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_bottom_percent_filter_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_bottom_percent_filter_request_builder.go index ddd057cd461..2b4b1f37864 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_bottom_percent_filter_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_bottom_percent_filter_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyBottomPercentFilte } 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 *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyBottomPercentFilterRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyBottomPercentFilterRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemColumnsItemFilterApplyBottomPercentFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_cell_color_filter_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_cell_color_filter_request_builder.go index 39d6b2d521d..e182a48f227 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_cell_color_filter_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_cell_color_filter_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyCellColorFilterReq } 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 *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyCellColorFilterRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyCellColorFilterRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemColumnsItemFilterApplyCellColorFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_custom_filter_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_custom_filter_request_builder.go index 3220e73423a..77e5425a526 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_custom_filter_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_custom_filter_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyCustomFilterReques } 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 *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyCustomFilterRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyCustomFilterRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemColumnsItemFilterApplyCustomFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_dynamic_filter_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_dynamic_filter_request_builder.go index 4ce524fb524..d8a8cc97324 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_dynamic_filter_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_dynamic_filter_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyDynamicFilterReque } 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 *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyDynamicFilterRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyDynamicFilterRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemColumnsItemFilterApplyDynamicFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_font_color_filter_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_font_color_filter_request_builder.go index af73a50d843..fafe4909a82 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_font_color_filter_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_font_color_filter_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyFontColorFilterReq } 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 *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyFontColorFilterRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyFontColorFilterRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemColumnsItemFilterApplyFontColorFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_icon_filter_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_icon_filter_request_builder.go index 6f0e35f1478..38892c73450 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_icon_filter_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_icon_filter_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyIconFilterRequestB } 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 *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyIconFilterRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyIconFilterRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemColumnsItemFilterApplyIconFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_request_builder.go index 302c6060b80..b6c2084e9ef 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyRequestBuilder) To } 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 *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemColumnsItemFilterApplyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_top_items_filter_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_top_items_filter_request_builder.go index 1282cb2a0c4..2848b5f5864 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_top_items_filter_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_top_items_filter_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyTopItemsFilterRequ } 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 *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyTopItemsFilterRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyTopItemsFilterRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemColumnsItemFilterApplyTopItemsFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_top_percent_filter_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_top_percent_filter_request_builder.go index 48e2e704b5b..6bd4023b5f0 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_top_percent_filter_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_top_percent_filter_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyTopPercentFilterRe } 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 *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyTopPercentFilterRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyTopPercentFilterRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemColumnsItemFilterApplyTopPercentFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_values_filter_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_values_filter_request_builder.go index 3ddedc85473..ca81bc89d4f 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_values_filter_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_values_filter_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyValuesFilterReques } 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 *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyValuesFilterRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyValuesFilterRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemColumnsItemFilterApplyValuesFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_clear_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_clear_request_builder.go index 37e4fd0e371..50f4e140658 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_clear_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_clear_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterClearRequestBuilder) To } 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 *ItemItemsItemWorkbookTablesItemColumnsItemFilterClearRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemColumnsItemFilterClearRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemColumnsItemFilterClearRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_request_builder.go index e45dbabaaa6..5c8230ef228 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_request_builder.go @@ -201,3 +201,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterRequestBuilder) ToPatch } 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 *ItemItemsItemWorkbookTablesItemColumnsItemFilterRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemColumnsItemFilterRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemColumnsItemFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_columns_item_header_row_range_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_header_row_range_request_builder.go index 883833573d7..32324f72174 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_header_row_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_header_row_range_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemHeaderRowRangeRequestBuilder) } 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 *ItemItemsItemWorkbookTablesItemColumnsItemHeaderRowRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemColumnsItemHeaderRowRangeRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemColumnsItemHeaderRowRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_columns_item_range_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_range_request_builder.go index 20c9f901559..4117b7d6fd4 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_range_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemRangeRequestBuilder) ToGetReq } 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 *ItemItemsItemWorkbookTablesItemColumnsItemRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemColumnsItemRangeRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemColumnsItemRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_columns_item_total_row_range_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_total_row_range_request_builder.go index e7c221a940e..ca1775f67bf 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_total_row_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_total_row_range_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemTotalRowRangeRequestBuilder) } 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 *ItemItemsItemWorkbookTablesItemColumnsItemTotalRowRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemColumnsItemTotalRowRangeRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemColumnsItemTotalRowRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_columns_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_request_builder.go index b9e4eafb72f..f3933ca66df 100644 --- a/drives/item_items_item_workbook_tables_item_columns_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_request_builder.go @@ -50,8 +50,8 @@ type ItemItemsItemWorkbookTablesItemColumnsRequestBuilderPostRequestConfiguratio func (m *ItemItemsItemWorkbookTablesItemColumnsRequestBuilder) Add()(*ItemItemsItemWorkbookTablesItemColumnsAddRequestBuilder) { return NewItemItemsItemWorkbookTablesItemColumnsAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByWorkbookTableColumnIdString provides operations to manage the columns property of the microsoft.graph.workbookTable entity. -func (m *ItemItemsItemWorkbookTablesItemColumnsRequestBuilder) ByWorkbookTableColumnIdString(workbookTableColumnId string)(*ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilder) { +// ByWorkbookTableColumnId provides operations to manage the columns property of the microsoft.graph.workbookTable entity. +func (m *ItemItemsItemWorkbookTablesItemColumnsRequestBuilder) ByWorkbookTableColumnId(workbookTableColumnId string)(*ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -81,7 +81,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsRequestBuilder) Count()(*ItemItem // Get retrieve a list of tablecolumn objects. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-list-columns?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesItemColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -159,3 +159,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookTablesItemColumnsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemColumnsRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemColumnsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_columns_workbook_table_column_item_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_workbook_table_column_item_request_builder.go index fc33def3b4b..4c48894f3e1 100644 --- a/drives/item_items_item_workbook_tables_item_columns_workbook_table_column_item_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_workbook_table_column_item_request_builder.go @@ -182,3 +182,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBui func (m *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilder) TotalRowRange()(*ItemItemsItemWorkbookTablesItemColumnsItemTotalRowRangeRequestBuilder) { return NewItemItemsItemWorkbookTablesItemColumnsItemTotalRowRangeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_convert_to_range_request_builder.go b/drives/item_items_item_workbook_tables_item_convert_to_range_request_builder.go index 81eb04581b0..dcc13cb7b77 100644 --- a/drives/item_items_item_workbook_tables_item_convert_to_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_convert_to_range_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookTablesItemConvertToRangeRequestBuilder) ToPostRequ } 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 *ItemItemsItemWorkbookTablesItemConvertToRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemConvertToRangeRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemConvertToRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_data_body_range_request_builder.go b/drives/item_items_item_workbook_tables_item_data_body_range_request_builder.go index ef39946bde3..a492a634af3 100644 --- a/drives/item_items_item_workbook_tables_item_data_body_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_data_body_range_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookTablesItemDataBodyRangeRequestBuilder) ToGetReques } 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 *ItemItemsItemWorkbookTablesItemDataBodyRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemDataBodyRangeRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemDataBodyRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_header_row_range_request_builder.go b/drives/item_items_item_workbook_tables_item_header_row_range_request_builder.go index 5cb7816ccdd..3a2df48cbaa 100644 --- a/drives/item_items_item_workbook_tables_item_header_row_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_header_row_range_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookTablesItemHeaderRowRangeRequestBuilder) ToGetReque } 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 *ItemItemsItemWorkbookTablesItemHeaderRowRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemHeaderRowRangeRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemHeaderRowRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_range_request_builder.go b/drives/item_items_item_workbook_tables_item_range_request_builder.go index 7a8c934d40a..2dbd874916f 100644 --- a/drives/item_items_item_workbook_tables_item_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_range_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookTablesItemRangeRequestBuilder) ToGetRequestInforma } 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 *ItemItemsItemWorkbookTablesItemRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemRangeRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_reapply_filters_request_builder.go b/drives/item_items_item_workbook_tables_item_reapply_filters_request_builder.go index d0cc0ca0961..ba425059ce9 100644 --- a/drives/item_items_item_workbook_tables_item_reapply_filters_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_reapply_filters_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookTablesItemReapplyFiltersRequestBuilder) ToPostRequ } 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 *ItemItemsItemWorkbookTablesItemReapplyFiltersRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemReapplyFiltersRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemReapplyFiltersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_rows_add_request_builder.go b/drives/item_items_item_workbook_tables_item_rows_add_request_builder.go index bf77d064287..89bbf5c9a77 100644 --- a/drives/item_items_item_workbook_tables_item_rows_add_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_rows_add_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemWorkbookTablesItemRowsAddRequestBuilder) ToPostRequestInfo } 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 *ItemItemsItemWorkbookTablesItemRowsAddRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemRowsAddRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemRowsAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_rows_count_request_builder.go b/drives/item_items_item_workbook_tables_item_rows_count_request_builder.go index 399a8ddcadd..a940285e59e 100644 --- a/drives/item_items_item_workbook_tables_item_rows_count_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_rows_count_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookTablesItemRowsCountRequestBuilder) ToGetRequestInf } 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 *ItemItemsItemWorkbookTablesItemRowsCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemRowsCountRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemRowsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_rows_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_tables_item_rows_item_at_with_index_request_builder.go index 25d6f0d8d2f..d5f96d87cb7 100644 --- a/drives/item_items_item_workbook_tables_item_rows_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_rows_item_at_with_index_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemWorkbookTablesItemRowsItemAtWithIndexRequestBuilder) ToGet } 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 *ItemItemsItemWorkbookTablesItemRowsItemAtWithIndexRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemRowsItemAtWithIndexRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemRowsItemAtWithIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_rows_item_range_request_builder.go b/drives/item_items_item_workbook_tables_item_rows_item_range_request_builder.go index d81628d8d34..447d0ba01bf 100644 --- a/drives/item_items_item_workbook_tables_item_rows_item_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_rows_item_range_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookTablesItemRowsItemRangeRequestBuilder) ToGetReques } 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 *ItemItemsItemWorkbookTablesItemRowsItemRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemRowsItemRangeRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemRowsItemRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_rows_request_builder.go b/drives/item_items_item_workbook_tables_item_rows_request_builder.go index 4929c128ba2..fa45d9d0734 100644 --- a/drives/item_items_item_workbook_tables_item_rows_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_rows_request_builder.go @@ -50,8 +50,8 @@ type ItemItemsItemWorkbookTablesItemRowsRequestBuilderPostRequestConfiguration s func (m *ItemItemsItemWorkbookTablesItemRowsRequestBuilder) Add()(*ItemItemsItemWorkbookTablesItemRowsAddRequestBuilder) { return NewItemItemsItemWorkbookTablesItemRowsAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByWorkbookTableRowIdString provides operations to manage the rows property of the microsoft.graph.workbookTable entity. -func (m *ItemItemsItemWorkbookTablesItemRowsRequestBuilder) ByWorkbookTableRowIdString(workbookTableRowId string)(*ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilder) { +// ByWorkbookTableRowId provides operations to manage the rows property of the microsoft.graph.workbookTable entity. +func (m *ItemItemsItemWorkbookTablesItemRowsRequestBuilder) ByWorkbookTableRowId(workbookTableRowId string)(*ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -159,3 +159,7 @@ func (m *ItemItemsItemWorkbookTablesItemRowsRequestBuilder) ToPostRequestInforma } 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 *ItemItemsItemWorkbookTablesItemRowsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemRowsRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemRowsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_rows_workbook_table_row_item_request_builder.go b/drives/item_items_item_workbook_tables_item_rows_workbook_table_row_item_request_builder.go index 661f5ae35d7..8f6ca63afa4 100644 --- a/drives/item_items_item_workbook_tables_item_rows_workbook_table_row_item_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_rows_workbook_table_row_item_request_builder.go @@ -166,3 +166,7 @@ func (m *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilder) } 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 *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_sort_apply_request_builder.go b/drives/item_items_item_workbook_tables_item_sort_apply_request_builder.go index 140db3da783..bf8c84931c7 100644 --- a/drives/item_items_item_workbook_tables_item_sort_apply_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_sort_apply_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemItemsItemWorkbookTablesItemSortApplyRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemWorkbookTablesItemSortApplyRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemSortApplyRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemSortApplyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_sort_clear_request_builder.go b/drives/item_items_item_workbook_tables_item_sort_clear_request_builder.go index 7a5b5162531..5ed6de05263 100644 --- a/drives/item_items_item_workbook_tables_item_sort_clear_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_sort_clear_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookTablesItemSortClearRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemWorkbookTablesItemSortClearRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemSortClearRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemSortClearRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_sort_reapply_request_builder.go b/drives/item_items_item_workbook_tables_item_sort_reapply_request_builder.go index 0e27e5fc714..f4ea5d1fd9c 100644 --- a/drives/item_items_item_workbook_tables_item_sort_reapply_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_sort_reapply_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookTablesItemSortReapplyRequestBuilder) ToPostRequest } 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 *ItemItemsItemWorkbookTablesItemSortReapplyRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemSortReapplyRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemSortReapplyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_sort_request_builder.go b/drives/item_items_item_workbook_tables_item_sort_request_builder.go index 691811883f3..dd8284d40fc 100644 --- a/drives/item_items_item_workbook_tables_item_sort_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_sort_request_builder.go @@ -168,3 +168,7 @@ func (m *ItemItemsItemWorkbookTablesItemSortRequestBuilder) ToPatchRequestInform } 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 *ItemItemsItemWorkbookTablesItemSortRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemSortRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemSortRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_total_row_range_request_builder.go b/drives/item_items_item_workbook_tables_item_total_row_range_request_builder.go index 9049bfc7773..7ec0e5e3cf2 100644 --- a/drives/item_items_item_workbook_tables_item_total_row_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_total_row_range_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookTablesItemTotalRowRangeRequestBuilder) ToGetReques } 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 *ItemItemsItemWorkbookTablesItemTotalRowRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemTotalRowRangeRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemTotalRowRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_item_worksheet_request_builder.go b/drives/item_items_item_workbook_tables_item_worksheet_request_builder.go index 625d56633f3..b961cbad9f5 100644 --- a/drives/item_items_item_workbook_tables_item_worksheet_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_worksheet_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemItemsItemWorkbookTablesItemWorksheetRequestBuilder) ToGetRequestInf } 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 *ItemItemsItemWorkbookTablesItemWorksheetRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesItemWorksheetRequestBuilder) { + return NewItemItemsItemWorkbookTablesItemWorksheetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_request_builder.go b/drives/item_items_item_workbook_tables_request_builder.go index 8ae4b1f19fe..066acc70ebf 100644 --- a/drives/item_items_item_workbook_tables_request_builder.go +++ b/drives/item_items_item_workbook_tables_request_builder.go @@ -50,8 +50,8 @@ type ItemItemsItemWorkbookTablesRequestBuilderPostRequestConfiguration struct { func (m *ItemItemsItemWorkbookTablesRequestBuilder) Add()(*ItemItemsItemWorkbookTablesAddRequestBuilder) { return NewItemItemsItemWorkbookTablesAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByWorkbookTableIdString provides operations to manage the tables property of the microsoft.graph.workbook entity. -func (m *ItemItemsItemWorkbookTablesRequestBuilder) ByWorkbookTableIdString(workbookTableId string)(*ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) { +// ByWorkbookTableId provides operations to manage the tables property of the microsoft.graph.workbook entity. +func (m *ItemItemsItemWorkbookTablesRequestBuilder) ByWorkbookTableId(workbookTableId string)(*ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *ItemItemsItemWorkbookTablesRequestBuilder) 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 *ItemItemsItemWorkbookTablesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesRequestBuilder) { + return NewItemItemsItemWorkbookTablesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_tables_workbook_table_item_request_builder.go b/drives/item_items_item_workbook_tables_workbook_table_item_request_builder.go index c8eb7639786..857f322a6c9 100644 --- a/drives/item_items_item_workbook_tables_workbook_table_item_request_builder.go +++ b/drives/item_items_item_workbook_tables_workbook_table_item_request_builder.go @@ -202,6 +202,10 @@ func (m *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) ToPatchRequ func (m *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) TotalRowRange()(*ItemItemsItemWorkbookTablesItemTotalRowRangeRequestBuilder) { return NewItemItemsItemWorkbookTablesItemTotalRowRangeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) { + return NewItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} // Worksheet provides operations to manage the worksheet property of the microsoft.graph.workbookTable entity. func (m *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) Worksheet()(*ItemItemsItemWorkbookTablesItemWorksheetRequestBuilder) { return NewItemItemsItemWorkbookTablesItemWorksheetRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) diff --git a/drives/item_items_item_workbook_worksheets_add_request_builder.go b/drives/item_items_item_workbook_worksheets_add_request_builder.go index c400c0f1515..1070dca7d11 100644 --- a/drives/item_items_item_workbook_worksheets_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_add_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemWorkbookWorksheetsAddRequestBuilder) ToPostRequestInformat } 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 *ItemItemsItemWorkbookWorksheetsAddRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsAddRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_count_request_builder.go b/drives/item_items_item_workbook_worksheets_count_request_builder.go index 28178cb74f8..a5029e3848c 100644 --- a/drives/item_items_item_workbook_worksheets_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemItemsItemWorkbookWorksheetsCountRequestBuilder) ToGetRequestInforma } 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 *ItemItemsItemWorkbookWorksheetsCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsCountRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_cell_with_row_with_column_request_builder.go b/drives/item_items_item_workbook_worksheets_item_cell_with_row_with_column_request_builder.go index dee277ca479..c0d8c107c4a 100644 --- a/drives/item_items_item_workbook_worksheets_item_cell_with_row_with_column_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_cell_with_row_with_column_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemCellWithRowWithColumnRequestBuilder) } 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 *ItemItemsItemWorkbookWorksheetsItemCellWithRowWithColumnRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemCellWithRowWithColumnRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemCellWithRowWithColumnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_add_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_add_request_builder.go index 942787c5b77..0d29878789d 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_add_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsAddRequestBuilder) ToPostReque } 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 *ItemItemsItemWorkbookWorksheetsItemChartsAddRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsAddRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_count_request_builder.go index dcfb80cfeda..966f8e0d411 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_count_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsCountRequestBuilder) ToGetRequ } 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 *ItemItemsItemWorkbookWorksheetsItemChartsCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsCountRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_request_builder.go index 391dbdf3568..e2968b49917 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexRequestBuilder) } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_font_request_builder.go index 5aac1a87bdd..414ed2a70ee 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_font_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFont } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFontRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFontRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFontRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_clear_request_builder.go index 5d2c1a503b8..e0b575fe812 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_clear_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLine } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLineClearRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLineClearRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLineClearRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_request_builder.go index 57a5962ea46..3b22c494c6b 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_request_builder.go @@ -163,3 +163,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLine } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLineRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLineRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_request_builder.go index 0bbe82e7cef..2e2f7b43308 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatRequ } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_line_clear_request_builder.go index 9eabac553f2..424ad4ba5e7 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_line_clear_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridl } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridlinesFormatLineClearRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridlinesFormatLineClearRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridlinesFormatLineClearRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_line_request_builder.go index 6f950ca0de9..efc65cab56a 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_line_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridl } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridlinesFormatLineRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridlinesFormatLineRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridlinesFormatLineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_request_builder.go index 18bc3f84f95..2b84c36125f 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridl } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridlinesFormatRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridlinesFormatRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridlinesFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_request_builder.go index 51c4e8351ef..82fc4957003 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridl } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridlinesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridlinesRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridlinesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_line_clear_request_builder.go index 897f9d4b167..4de5bd78bfd 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_line_clear_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridl } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesFormatLineClearRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesFormatLineClearRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesFormatLineClearRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_line_request_builder.go index 8fa306f75ac..a0205e5cf9a 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_line_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridl } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesFormatLineRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesFormatLineRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesFormatLineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_request_builder.go index 33283f420a1..8122f4c7d97 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridl } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesFormatRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesFormatRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_request_builder.go index 90dc23aca41..c56839f3c36 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_request_builder.go @@ -163,3 +163,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridl } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_request_builder.go index 699692c8a9e..7305935f741 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_request_builder.go @@ -169,3 +169,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisRequestBui } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_format_font_request_builder.go index 4115a9d1146..ed86731ad56 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_format_font_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleForma } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleFormatFontRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleFormatFontRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleFormatFontRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_format_request_builder.go index 4fcd7c527da..2feea4004c4 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_format_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleForma } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleFormatRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleFormatRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_request_builder.go index 256d7713dc3..ffef1089c27 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_request_builder.go @@ -163,3 +163,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleReque } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_request_builder.go index e37ae36fd64..2fb3db97a14 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesRequestBuilder) ToPatc func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesRequestBuilder) ValueAxis()(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_font_request_builder.go index 7ff37eae17f..67dfddf152b 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_font_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontRe } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_clear_request_builder.go index 7181305573a..f16fd18a08a 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_clear_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineCl } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineClearRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineClearRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineClearRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_request_builder.go index 957837a7b46..b64bd95876b 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_request_builder.go @@ -163,3 +163,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineRe } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_request_builder.go index 1d528eec368..e72d52f12c9 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatReques } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_line_clear_request_builder.go index 10d232be1ff..5a4c2683cc5 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_line_clear_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlin } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlinesFormatLineClearRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlinesFormatLineClearRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlinesFormatLineClearRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_line_request_builder.go index 4dedd16b08f..210da6e4e65 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_line_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlin } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlinesFormatLineRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlinesFormatLineRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlinesFormatLineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_request_builder.go index 220adda6296..1095b0e7a5c 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlin } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlinesFormatRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlinesFormatRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlinesFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_request_builder.go index 8f6650e5882..14ba538bf7d 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlin } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlinesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlinesRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlinesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_line_clear_request_builder.go index 3fb9a466ccf..c7360ab3926 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_line_clear_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlin } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesFormatLineClearRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesFormatLineClearRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesFormatLineClearRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_line_request_builder.go index 34138ba73da..c33092fd8ab 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_line_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlin } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesFormatLineRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesFormatLineRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesFormatLineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_request_builder.go index 1186e99686d..c68425a5960 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlin } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesFormatRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesFormatRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_request_builder.go index 75be4d243b8..8ee8b2597db 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_request_builder.go @@ -163,3 +163,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlin } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_request_builder.go index 248eb40c317..2282477d674 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_request_builder.go @@ -169,3 +169,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisRequestBuild } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_format_font_request_builder.go index 183b46a5993..7b95f33078f 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_format_font_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleFormatF } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleFormatFontRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleFormatFontRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleFormatFontRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_format_request_builder.go index cced47c48e3..6100daa8a03 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_format_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleFormatR } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleFormatRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleFormatRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_request_builder.go index 32ddaa04070..554d190006c 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_request_builder.go @@ -163,3 +163,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequest } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_font_request_builder.go index a92b2b7d2b0..b54ed5799ba 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_font_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontReq } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_clear_request_builder.go index 64ec38d593f..4547804756e 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_clear_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineCle } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineClearRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineClearRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineClearRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_request_builder.go index dce4421f75c..3e7711fd040 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_request_builder.go @@ -163,3 +163,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineReq } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_request_builder.go index 159787f2e78..4546c602846 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatRequest } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_line_clear_request_builder.go index 487523afebb..a620ce4920e 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_line_clear_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridline } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridlinesFormatLineClearRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridlinesFormatLineClearRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridlinesFormatLineClearRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_line_request_builder.go index 5b9a13d8640..4c778ef4f03 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_line_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridline } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridlinesFormatLineRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridlinesFormatLineRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridlinesFormatLineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_request_builder.go index 95ae21da718..31b272ddf0d 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridline } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridlinesFormatRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridlinesFormatRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridlinesFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_request_builder.go index c227130d8bd..c62d9055a4f 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridline } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridlinesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridlinesRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridlinesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_line_clear_request_builder.go index 20663a99f8d..ba2131c8db2 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_line_clear_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridline } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesFormatLineClearRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesFormatLineClearRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesFormatLineClearRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_line_request_builder.go index 8450127889f..397e4b7bc35 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_line_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridline } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesFormatLineRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesFormatLineRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesFormatLineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_request_builder.go index 105c58740a3..ff51303da3f 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridline } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesFormatRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesFormatRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_request_builder.go index e8b80074dc9..175c179b84d 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_request_builder.go @@ -163,3 +163,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridline } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_request_builder.go index c1fe834996c..07c157ba15c 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_request_builder.go @@ -175,3 +175,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilde } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_format_font_request_builder.go index f04e954f1de..150f3830a5b 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_format_font_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleFormatFo } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleFormatFontRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleFormatFontRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleFormatFontRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_format_request_builder.go index d7ee1eda8e2..df2e89dd906 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_format_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleFormatRe } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleFormatRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleFormatRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_request_builder.go index 334b55211f7..0fc8482e78c 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_request_builder.go @@ -163,3 +163,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestB } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_clear_request_builder.go index 686805c84cc..f40a240323a 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_clear_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillClearR } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillClearRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillClearRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillClearRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_request_builder.go index 8535a719f51..ddf2092eb61 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillReques } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_set_solid_color_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_set_solid_color_request_builder.go index 7b08af75e8e..36032e44a81 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_set_solid_color_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_set_solid_color_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillSetSol } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillSetSolidColorRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillSetSolidColorRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillSetSolidColorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_font_request_builder.go index 8446aa40a99..dd1f7dde391 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_font_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFontReques } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFontRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFontRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFontRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_request_builder.go index b81e4e8ba9f..f16de6496e0 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatRequestBui } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_request_builder.go index 8b912802e7c..dcc7933e24f 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_request_builder.go @@ -163,3 +163,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilder) } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_clear_request_builder.go index 003124dfa89..2dadfcecf0e 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_clear_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillClearRequestBuil } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillClearRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillClearRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillClearRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_request_builder.go index 30df68973dc..a824f93a662 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillRequestBuilder) } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_set_solid_color_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_set_solid_color_request_builder.go index 4884b0aa95a..11fe3e48b6f 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_set_solid_color_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_set_solid_color_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillSetSolidColorReq } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillSetSolidColorRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillSetSolidColorRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillSetSolidColorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_format_font_request_builder.go index c240d4cdc58..5963b417395 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_format_font_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFontRequestBuilder) } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFontRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFontRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemFormatFontRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_format_request_builder.go index 8557350a5ba..6404beded0c 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_format_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatRequestBuilder) ToPa } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemFormatRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_image_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_image_request_builder.go index 6fc05ba80f0..45a581302be 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_image_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_image_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemImageRequestBuilder) ToGet } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemImageRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemImageRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemImageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_request_builder.go index 9e64272779e..d70c546f132 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemImageWithWidthRequestBuild } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemImageWithWidthRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemImageWithWidthRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemImageWithWidthRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_with_height_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_with_height_request_builder.go index d786b2c01c4..c59ec4c10a3 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_with_height_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_with_height_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemImageWithWidthWithHeightRe } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemImageWithWidthWithHeightRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemImageWithWidthWithHeightRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemImageWithWidthWithHeightRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_with_height_with_fitting_mode_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_with_height_with_fitting_mode_request_builder.go index 6cb6f26d8df..d6b33e73c66 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_with_height_with_fitting_mode_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_with_height_with_fitting_mode_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemImageWithWidthWithHeightWi } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemImageWithWidthWithHeightWithFittingModeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemImageWithWidthWithHeightWithFittingModeRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemImageWithWidthWithHeightWithFittingModeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_clear_request_builder.go index 4ff26b05227..6292ba228e3 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_clear_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillClearReque } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillClearRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillClearRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillClearRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_request_builder.go index 6d2f2a9988e..3cd1dc27e2e 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillRequestBui } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_set_solid_color_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_set_solid_color_request_builder.go index 0da71681ec2..6dc7c8fe19b 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_set_solid_color_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_set_solid_color_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillSetSolidCo } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillSetSolidColorRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillSetSolidColorRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillSetSolidColorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_font_request_builder.go index 711b8199cd5..4f0cfda5772 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_font_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFontRequestBui } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFontRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFontRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFontRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_request_builder.go index f5aae7fe54d..46f3e75436b 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatRequestBuilder } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_request_builder.go index d8714a15f7e..097dd03c114 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_request_builder.go @@ -163,3 +163,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilder) ToPa } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_count_request_builder.go index 50abb9ebb1f..11eb4b21ccc 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_count_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesCountRequestBuilder) } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesCountRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_at_with_index_request_builder.go index 9a6e3096ad5..30c5c0bc9b6 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_at_with_index_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexReque } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_clear_request_builder.go index e7294b8dffc..aca061db86a 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_clear_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillClearR } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillClearRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillClearRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillClearRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_request_builder.go index 140a6ac4802..658a5e0ed52 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillReques } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_set_solid_color_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_set_solid_color_request_builder.go index 4678a3972b0..994f6c78f2e 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_set_solid_color_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_set_solid_color_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillSetSol } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillSetSolidColorRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillSetSolidColorRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillSetSolidColorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_line_clear_request_builder.go index 75f65dccbde..36d45c95321 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_line_clear_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatLineClearR } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatLineClearRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatLineClearRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatLineClearRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_line_request_builder.go index b0e29cb4ad4..6c97e46afc3 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_line_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatLineReques } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatLineRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatLineRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatLineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_request_builder.go index 84f5d445a92..6a2c81fb20d 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatRequestBui } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_count_request_builder.go index 65751ae751b..2b3b1569469 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_count_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsCountReque } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsCountRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_at_with_index_request_builder.go index 12180892749..b74222d906e 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_at_with_index_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemAtWith } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemAtWithIndexRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemAtWithIndexRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemAtWithIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_clear_request_builder.go index 593e5838335..fd0ca8c9ece 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_clear_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormat } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormatFillClearRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormatFillClearRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormatFillClearRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_request_builder.go index 639ea59bb00..c287f89399d 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormat } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormatFillRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormatFillRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormatFillRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_set_solid_color_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_set_solid_color_request_builder.go index e03d7092165..ff6b558ba2b 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_set_solid_color_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_set_solid_color_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormat } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormatFillSetSolidColorRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormatFillSetSolidColorRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormatFillSetSolidColorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_request_builder.go index f8b7aacbddb..06c3ca436ed 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormat } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormatRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormatRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_request_builder.go index 4e0c5561fe7..c2f86005a3f 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_request_builder.go @@ -46,8 +46,8 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWorkbookChartPointIdString provides operations to manage the points property of the microsoft.graph.workbookChartSeries entity. -func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBuilder) ByWorkbookChartPointIdString(workbookChartPointId string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsWorkbookChartPointItemRequestBuilder) { +// ByWorkbookChartPointId provides operations to manage the points property of the microsoft.graph.workbookChartSeries entity. +func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBuilder) ByWorkbookChartPointId(workbookChartPointId string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsWorkbookChartPointItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBui } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_workbook_chart_point_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_workbook_chart_point_item_request_builder.go index 3d692ed8254..2adb8cd08d3 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_workbook_chart_point_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_workbook_chart_point_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsWorkbookCh } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsWorkbookChartPointItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsWorkbookChartPointItemRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsWorkbookChartPointItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_request_builder.go index aab11720dd9..72fc54371ec 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_request_builder.go @@ -46,8 +46,8 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWorkbookChartSeriesIdString provides operations to manage the series property of the microsoft.graph.workbookChart entity. -func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilder) ByWorkbookChartSeriesIdString(workbookChartSeriesId string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesItemRequestBuilder) { +// ByWorkbookChartSeriesId provides operations to manage the series property of the microsoft.graph.workbookChart entity. +func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilder) ByWorkbookChartSeriesId(workbookChartSeriesId string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilder) ToPo } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_workbook_chart_series_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_workbook_chart_series_item_request_builder.go index b915ec12cec..060ab31504c 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_workbook_chart_series_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_workbook_chart_series_item_request_builder.go @@ -167,3 +167,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesI } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesItemRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_set_data_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_set_data_request_builder.go index 57213d2d8b7..ca5f780c2a9 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_set_data_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_set_data_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetDataRequestBuilder) 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemSetDataRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSetDataRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemSetDataRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_set_position_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_set_position_request_builder.go index 49abcf7916e..c9c601692c9 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_set_position_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_set_position_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetPositionRequestBuilder) } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemSetPositionRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSetPositionRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemSetPositionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_clear_request_builder.go index 8f68941b4c3..c3ada4933e9 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_clear_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillClearReques } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillClearRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillClearRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillClearRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_request_builder.go index d1af568ccbb..0ef83dd2cc2 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillRequestBuil } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_set_solid_color_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_set_solid_color_request_builder.go index ccb9a01b869..d99d03201ab 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_set_solid_color_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_set_solid_color_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillSetSolidCol } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillSetSolidColorRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillSetSolidColorRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillSetSolidColorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_font_request_builder.go index 11e8c4e5873..d5ba7f28769 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_font_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFontRequestBuil } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFontRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFontRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFontRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_request_builder.go index e1debdbf003..0959113face 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatRequestBuilder) } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_title_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_title_request_builder.go index 038793b5773..a800264ab7f 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_title_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_title_request_builder.go @@ -163,3 +163,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilder) 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_request_builder.go index 94e98b1ba69..fa222bbe781 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameRequestBuilder) To } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemWithNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_worksheet_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_worksheet_request_builder.go index e91b98026be..64a1de85a18 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_worksheet_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_worksheet_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWorksheetRequestBuilder) T } 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 *ItemItemsItemWorkbookWorksheetsItemChartsItemWorksheetRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemWorksheetRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsItemWorksheetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_request_builder.go index 21e97d317fe..0bbcaa25f51 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_request_builder.go @@ -50,8 +50,8 @@ type ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilderPostRequestConfigura func (m *ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilder) Add()(*ItemItemsItemWorkbookWorksheetsItemChartsAddRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByWorkbookChartIdString provides operations to manage the charts property of the microsoft.graph.workbookWorksheet entity. -func (m *ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilder) ByWorkbookChartIdString(workbookChartId string)(*ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilder) { +// ByWorkbookChartId provides operations to manage the charts property of the microsoft.graph.workbookWorksheet entity. +func (m *ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilder) ByWorkbookChartId(workbookChartId string)(*ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -163,3 +163,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilder) ToPostRequestI } 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 *ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_charts_workbook_chart_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_workbook_chart_item_request_builder.go index 82f3e4d8def..8645ab5f7d4 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_workbook_chart_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_workbook_chart_item_request_builder.go @@ -210,6 +210,10 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilde } 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 *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} // Worksheet provides operations to manage the worksheet property of the microsoft.graph.workbookChart entity. func (m *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilder) Worksheet()(*ItemItemsItemWorkbookWorksheetsItemChartsItemWorksheetRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemWorksheetRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) diff --git a/drives/item_items_item_workbook_worksheets_item_names_add_formula_local_request_builder.go b/drives/item_items_item_workbook_worksheets_item_names_add_formula_local_request_builder.go index cd105c9b51d..489f4ca8965 100644 --- a/drives/item_items_item_workbook_worksheets_item_names_add_formula_local_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_names_add_formula_local_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesAddFormulaLocalRequestBuilder) } 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 *ItemItemsItemWorkbookWorksheetsItemNamesAddFormulaLocalRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemNamesAddFormulaLocalRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemNamesAddFormulaLocalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_names_add_request_builder.go b/drives/item_items_item_workbook_worksheets_item_names_add_request_builder.go index 5501f853fff..b57bbff76bc 100644 --- a/drives/item_items_item_workbook_worksheets_item_names_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_names_add_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesAddRequestBuilder) ToPostReques } 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 *ItemItemsItemWorkbookWorksheetsItemNamesAddRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemNamesAddRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemNamesAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_names_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_names_count_request_builder.go index edaebc61121..3a1a7acbd3d 100644 --- a/drives/item_items_item_workbook_worksheets_item_names_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_names_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesCountRequestBuilder) ToGetReque } 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 *ItemItemsItemWorkbookWorksheetsItemNamesCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemNamesCountRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemNamesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go index a854d63e0e5..8571ce9d1bd 100644 --- a/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go @@ -31,10 +31,10 @@ func NewItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder(rawUrl s urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve the properties and relationships of range object. +// Get returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -53,7 +53,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable), nil } -// ToGetRequestInformation retrieve the properties and relationships of range object. +// ToGetRequestInformation returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) ToGetR } 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 *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_names_item_worksheet_request_builder.go b/drives/item_items_item_workbook_worksheets_item_names_item_worksheet_request_builder.go index 1d65e720be6..7649ec74b0c 100644 --- a/drives/item_items_item_workbook_worksheets_item_names_item_worksheet_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_names_item_worksheet_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemWorksheetRequestBuilder) To } 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 *ItemItemsItemWorkbookWorksheetsItemNamesItemWorksheetRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemNamesItemWorksheetRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemNamesItemWorksheetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_names_request_builder.go b/drives/item_items_item_workbook_worksheets_item_names_request_builder.go index 9630925fe24..ba6a46cb6cf 100644 --- a/drives/item_items_item_workbook_worksheets_item_names_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_names_request_builder.go @@ -54,8 +54,8 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesRequestBuilder) Add()(*ItemItem func (m *ItemItemsItemWorkbookWorksheetsItemNamesRequestBuilder) AddFormulaLocal()(*ItemItemsItemWorkbookWorksheetsItemNamesAddFormulaLocalRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemNamesAddFormulaLocalRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByWorkbookNamedItemIdString provides operations to manage the names property of the microsoft.graph.workbookWorksheet entity. -func (m *ItemItemsItemWorkbookWorksheetsItemNamesRequestBuilder) ByWorkbookNamedItemIdString(workbookNamedItemId string)(*ItemItemsItemWorkbookWorksheetsItemNamesWorkbookNamedItemItemRequestBuilder) { +// ByWorkbookNamedItemId provides operations to manage the names property of the microsoft.graph.workbookWorksheet entity. +func (m *ItemItemsItemWorkbookWorksheetsItemNamesRequestBuilder) ByWorkbookNamedItemId(workbookNamedItemId string)(*ItemItemsItemWorkbookWorksheetsItemNamesWorkbookNamedItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemWorkbookWorksheetsItemNamesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemNamesRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemNamesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_names_workbook_named_item_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_names_workbook_named_item_item_request_builder.go index a605260c341..25e185468ff 100644 --- a/drives/item_items_item_workbook_worksheets_item_names_workbook_named_item_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_names_workbook_named_item_item_request_builder.go @@ -157,6 +157,10 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesWorkbookNamedItemItemRequestBui } 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 *ItemItemsItemWorkbookWorksheetsItemNamesWorkbookNamedItemItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemNamesWorkbookNamedItemItemRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemNamesWorkbookNamedItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} // Worksheet provides operations to manage the worksheet property of the microsoft.graph.workbookNamedItem entity. func (m *ItemItemsItemWorkbookWorksheetsItemNamesWorkbookNamedItemItemRequestBuilder) Worksheet()(*ItemItemsItemWorkbookWorksheetsItemNamesItemWorksheetRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemNamesItemWorksheetRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) diff --git a/drives/item_items_item_workbook_worksheets_item_pivot_tables_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_pivot_tables_count_request_builder.go index 524e2c5bd72..067311fdc8f 100644 --- a/drives/item_items_item_workbook_worksheets_item_pivot_tables_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_pivot_tables_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemPivotTablesCountRequestBuilder) ToGe } 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 *ItemItemsItemWorkbookWorksheetsItemPivotTablesCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemPivotTablesCountRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemPivotTablesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_pivot_tables_item_refresh_request_builder.go b/drives/item_items_item_workbook_worksheets_item_pivot_tables_item_refresh_request_builder.go index 16238dc2ad1..309975aba11 100644 --- a/drives/item_items_item_workbook_worksheets_item_pivot_tables_item_refresh_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_pivot_tables_item_refresh_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemPivotTablesItemRefreshRequestBuilder } 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 *ItemItemsItemWorkbookWorksheetsItemPivotTablesItemRefreshRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemPivotTablesItemRefreshRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemPivotTablesItemRefreshRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_pivot_tables_item_worksheet_request_builder.go b/drives/item_items_item_workbook_worksheets_item_pivot_tables_item_worksheet_request_builder.go index 7904890c08d..f2972e6231f 100644 --- a/drives/item_items_item_workbook_worksheets_item_pivot_tables_item_worksheet_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_pivot_tables_item_worksheet_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemPivotTablesItemWorksheetRequestBuild } 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 *ItemItemsItemWorkbookWorksheetsItemPivotTablesItemWorksheetRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemPivotTablesItemWorksheetRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemPivotTablesItemWorksheetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_pivot_tables_refresh_all_request_builder.go b/drives/item_items_item_workbook_worksheets_item_pivot_tables_refresh_all_request_builder.go index a9c904858c8..a54f2e18a7c 100644 --- a/drives/item_items_item_workbook_worksheets_item_pivot_tables_refresh_all_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_pivot_tables_refresh_all_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemPivotTablesRefreshAllRequestBuilder) } 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 *ItemItemsItemWorkbookWorksheetsItemPivotTablesRefreshAllRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemPivotTablesRefreshAllRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemPivotTablesRefreshAllRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_pivot_tables_request_builder.go b/drives/item_items_item_workbook_worksheets_item_pivot_tables_request_builder.go index f4ae58e0837..4f6d662cc5f 100644 --- a/drives/item_items_item_workbook_worksheets_item_pivot_tables_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_pivot_tables_request_builder.go @@ -46,8 +46,8 @@ type ItemItemsItemWorkbookWorksheetsItemPivotTablesRequestBuilderPostRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWorkbookPivotTableIdString provides operations to manage the pivotTables property of the microsoft.graph.workbookWorksheet entity. -func (m *ItemItemsItemWorkbookWorksheetsItemPivotTablesRequestBuilder) ByWorkbookPivotTableIdString(workbookPivotTableId string)(*ItemItemsItemWorkbookWorksheetsItemPivotTablesWorkbookPivotTableItemRequestBuilder) { +// ByWorkbookPivotTableId provides operations to manage the pivotTables property of the microsoft.graph.workbookWorksheet entity. +func (m *ItemItemsItemWorkbookWorksheetsItemPivotTablesRequestBuilder) ByWorkbookPivotTableId(workbookPivotTableId string)(*ItemItemsItemWorkbookWorksheetsItemPivotTablesWorkbookPivotTableItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemPivotTablesRequestBuilder) ToPostReq } 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 *ItemItemsItemWorkbookWorksheetsItemPivotTablesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemPivotTablesRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemPivotTablesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_pivot_tables_workbook_pivot_table_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_pivot_tables_workbook_pivot_table_item_request_builder.go index df5ef92396a..584da7c8874 100644 --- a/drives/item_items_item_workbook_worksheets_item_pivot_tables_workbook_pivot_table_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_pivot_tables_workbook_pivot_table_item_request_builder.go @@ -157,6 +157,10 @@ func (m *ItemItemsItemWorkbookWorksheetsItemPivotTablesWorkbookPivotTableItemReq } 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 *ItemItemsItemWorkbookWorksheetsItemPivotTablesWorkbookPivotTableItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemPivotTablesWorkbookPivotTableItemRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemPivotTablesWorkbookPivotTableItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} // Worksheet provides operations to manage the worksheet property of the microsoft.graph.workbookPivotTable entity. func (m *ItemItemsItemWorkbookWorksheetsItemPivotTablesWorkbookPivotTableItemRequestBuilder) Worksheet()(*ItemItemsItemWorkbookWorksheetsItemPivotTablesItemWorksheetRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemPivotTablesItemWorksheetRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) diff --git a/drives/item_items_item_workbook_worksheets_item_protection_protect_request_builder.go b/drives/item_items_item_workbook_worksheets_item_protection_protect_request_builder.go index 961c696aa23..4cb836d42c7 100644 --- a/drives/item_items_item_workbook_worksheets_item_protection_protect_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_protection_protect_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemProtectionProtectRequestBuilder) 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 *ItemItemsItemWorkbookWorksheetsItemProtectionProtectRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemProtectionProtectRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemProtectionProtectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_protection_request_builder.go b/drives/item_items_item_workbook_worksheets_item_protection_request_builder.go index 07ca9356d31..bc5fd082203 100644 --- a/drives/item_items_item_workbook_worksheets_item_protection_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_protection_request_builder.go @@ -164,3 +164,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemProtectionRequestBuilder) ToPatchReq func (m *ItemItemsItemWorkbookWorksheetsItemProtectionRequestBuilder) Unprotect()(*ItemItemsItemWorkbookWorksheetsItemProtectionUnprotectRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemProtectionUnprotectRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemItemsItemWorkbookWorksheetsItemProtectionRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemProtectionRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemProtectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_protection_unprotect_request_builder.go b/drives/item_items_item_workbook_worksheets_item_protection_unprotect_request_builder.go index 394ff2e8824..06dc9498c07 100644 --- a/drives/item_items_item_workbook_worksheets_item_protection_unprotect_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_protection_unprotect_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemProtectionUnprotectRequestBuilder) T } 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 *ItemItemsItemWorkbookWorksheetsItemProtectionUnprotectRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemProtectionUnprotectRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemProtectionUnprotectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_range_request_builder.go index 26a8642f441..07f92d27673 100644 --- a/drives/item_items_item_workbook_worksheets_item_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_range_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemRangeRequestBuilder) ToGetRequestInf } 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 *ItemItemsItemWorkbookWorksheetsItemRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemRangeRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_range_with_address_request_builder.go b/drives/item_items_item_workbook_worksheets_item_range_with_address_request_builder.go index 680d12a5383..3d530763403 100644 --- a/drives/item_items_item_workbook_worksheets_item_range_with_address_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_range_with_address_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemRangeWithAddressRequestBuilder) ToGe } 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 *ItemItemsItemWorkbookWorksheetsItemRangeWithAddressRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemRangeWithAddressRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemRangeWithAddressRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go index bbd490ba46d..04eaa626642 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) ToPostReque } 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 *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_count_request_builder.go index 12527455389..8fa6238cc17 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_count_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesCountRequestBuilder) ToGetRequ } 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 *ItemItemsItemWorkbookWorksheetsItemTablesCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesCountRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_request_builder.go index 1b6ed3b2dc4..915e4758222 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRequestBuilder) } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_clear_filters_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_clear_filters_request_builder.go index 425efeb9273..3f6d223e1b5 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_clear_filters_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_clear_filters_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemClearFiltersRequestBuilder } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemClearFiltersRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemClearFiltersRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemClearFiltersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_add_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_add_request_builder.go index 16c8b6504bb..85011535fff 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_add_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsAddRequestBuilder) } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsAddRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsAddRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_count_request_builder.go index 7f33c750bf0..1b1c11cd714 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_count_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsCountRequestBuilder } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsCountRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_request_builder.go index 2a8c1ada227..a0c4b35213a 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexRequ } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_data_body_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_data_body_range_request_builder.go index 4475e524d46..61959b3f73f 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_data_body_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_data_body_range_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemDataBodyRangeRe } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemDataBodyRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemDataBodyRangeRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemDataBodyRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_bottom_items_filter_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_bottom_items_filter_request_builder.go index d107b44b4e9..8bcdc59dbf6 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_bottom_items_filter_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_bottom_items_filter_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyBott } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyBottomItemsFilterRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyBottomItemsFilterRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyBottomItemsFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_bottom_percent_filter_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_bottom_percent_filter_request_builder.go index fec06611334..e9a924a08f3 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_bottom_percent_filter_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_bottom_percent_filter_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyBott } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyBottomPercentFilterRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyBottomPercentFilterRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyBottomPercentFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_cell_color_filter_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_cell_color_filter_request_builder.go index 8c7665ae43b..67bd98573b1 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_cell_color_filter_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_cell_color_filter_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyCell } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyCellColorFilterRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyCellColorFilterRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyCellColorFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_custom_filter_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_custom_filter_request_builder.go index c4616f5198b..0962439ce61 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_custom_filter_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_custom_filter_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyCust } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyCustomFilterRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyCustomFilterRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyCustomFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_dynamic_filter_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_dynamic_filter_request_builder.go index 7caff485a36..1e9fc204134 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_dynamic_filter_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_dynamic_filter_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyDyna } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyDynamicFilterRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyDynamicFilterRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyDynamicFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_font_color_filter_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_font_color_filter_request_builder.go index ce8ee5a87ad..b1121a618de 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_font_color_filter_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_font_color_filter_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyFont } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyFontColorFilterRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyFontColorFilterRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyFontColorFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_icon_filter_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_icon_filter_request_builder.go index 5efe97f42bf..f40a3c36d86 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_icon_filter_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_icon_filter_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyIcon } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyIconFilterRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyIconFilterRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyIconFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_request_builder.go index 47cf8f7e1b9..3f904c2cd2f 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyRequ } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_top_items_filter_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_top_items_filter_request_builder.go index 5605d2e782c..23aeb6fa64c 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_top_items_filter_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_top_items_filter_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyTopI } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyTopItemsFilterRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyTopItemsFilterRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyTopItemsFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_top_percent_filter_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_top_percent_filter_request_builder.go index ac931e630a0..be469ed26f3 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_top_percent_filter_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_top_percent_filter_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyTopP } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyTopPercentFilterRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyTopPercentFilterRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyTopPercentFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_values_filter_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_values_filter_request_builder.go index 2d4111447a0..3eea1495a04 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_values_filter_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_values_filter_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyValu } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyValuesFilterRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyValuesFilterRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyValuesFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_clear_request_builder.go index 0a52b8dbaf6..1c32039f511 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_clear_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterClearRequ } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterClearRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterClearRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterClearRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_request_builder.go index 4182089f5ce..fdd92f9fabe 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_request_builder.go @@ -201,3 +201,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterRequestBu } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_header_row_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_header_row_range_request_builder.go index 9aca4121cd4..72d9ae6d10a 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_header_row_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_header_row_range_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemHeaderRowRangeR } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemHeaderRowRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemHeaderRowRangeRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemHeaderRowRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_range_request_builder.go index 8657741eb7c..350729c0552 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_range_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemRangeRequestBui } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemRangeRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_total_row_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_total_row_range_request_builder.go index 9a0e33ed437..e193a9d96ec 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_total_row_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_total_row_range_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemTotalRowRangeRe } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemTotalRowRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemTotalRowRangeRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemTotalRowRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_request_builder.go index 1ed7adee8fe..eb71079bbc2 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_request_builder.go @@ -50,8 +50,8 @@ type ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilderPostReque func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder) Add()(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsAddRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByWorkbookTableColumnIdString provides operations to manage the columns property of the microsoft.graph.workbookTable entity. -func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder) ByWorkbookTableColumnIdString(workbookTableColumnId string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilder) { +// ByWorkbookTableColumnId provides operations to manage the columns property of the microsoft.graph.workbookTable entity. +func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder) ByWorkbookTableColumnId(workbookTableColumnId string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -81,7 +81,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder) Cou // Get retrieve a list of tablecolumn objects. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-list-columns?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -159,3 +159,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder) 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_workbook_table_column_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_workbook_table_column_item_request_builder.go index 506b5b5cb70..c071ca421ed 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_workbook_table_column_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_workbook_table_column_item_request_builder.go @@ -182,3 +182,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumn func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilder) TotalRowRange()(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemTotalRowRangeRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemTotalRowRangeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_convert_to_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_convert_to_range_request_builder.go index c59a59db167..0f4dbabd130 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_convert_to_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_convert_to_range_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemConvertToRangeRequestBuild } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemConvertToRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemConvertToRangeRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemConvertToRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_data_body_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_data_body_range_request_builder.go index 74f9aaeb6b0..b77ab772b31 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_data_body_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_data_body_range_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemDataBodyRangeRequestBuilde } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemDataBodyRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemDataBodyRangeRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemDataBodyRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_header_row_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_header_row_range_request_builder.go index 6eba5587a92..1903b937c57 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_header_row_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_header_row_range_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemHeaderRowRangeRequestBuild } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemHeaderRowRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemHeaderRowRangeRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemHeaderRowRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_range_request_builder.go index 794df420d95..b506e694d82 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_range_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRangeRequestBuilder) ToGet } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemRangeRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_reapply_filters_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_reapply_filters_request_builder.go index b203df02d51..acf663c1050 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_reapply_filters_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_reapply_filters_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemReapplyFiltersRequestBuild } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemReapplyFiltersRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemReapplyFiltersRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemReapplyFiltersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_add_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_add_request_builder.go index dc0090351c9..7c0a679553e 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_add_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsAddRequestBuilder) 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsAddRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemRowsAddRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemRowsAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_count_request_builder.go index c01aec247d3..a4a9947fd33 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_count_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsCountRequestBuilder) T } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemRowsCountRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemRowsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_at_with_index_request_builder.go index f5e5ef35501..1153bd7bb0b 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_at_with_index_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemAtWithIndexRequest } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemAtWithIndexRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemAtWithIndexRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemAtWithIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_range_request_builder.go index a6300410811..53768c63508 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_range_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemRangeRequestBuilde } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemRangeRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_request_builder.go index 74d2fc1b2e0..30d3d038fd9 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_request_builder.go @@ -50,8 +50,8 @@ type ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilderPostRequestC func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilder) Add()(*ItemItemsItemWorkbookWorksheetsItemTablesItemRowsAddRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTablesItemRowsAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByWorkbookTableRowIdString provides operations to manage the rows property of the microsoft.graph.workbookTable entity. -func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilder) ByWorkbookTableRowIdString(workbookTableRowId string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRequestBuilder) { +// ByWorkbookTableRowId provides operations to manage the rows property of the microsoft.graph.workbookTable entity. +func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilder) ByWorkbookTableRowId(workbookTableRowId string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -159,3 +159,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilder) ToPost } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_workbook_table_row_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_workbook_table_row_item_request_builder.go index 8e5eec05eb6..95a50627dae 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_workbook_table_row_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_workbook_table_row_item_request_builder.go @@ -166,3 +166,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRe } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_apply_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_apply_request_builder.go index 4726fe734b4..6d8d9d9833d 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_apply_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_apply_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemSortApplyRequestBuilder) T } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemSortApplyRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemSortApplyRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemSortApplyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_clear_request_builder.go index 6c348c619ec..27c43edf3d9 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_clear_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemSortClearRequestBuilder) T } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemSortClearRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemSortClearRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemSortClearRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_reapply_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_reapply_request_builder.go index 6104758379f..8297819d8e4 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_reapply_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_reapply_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemSortReapplyRequestBuilder) } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemSortReapplyRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemSortReapplyRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemSortReapplyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_request_builder.go index fb39ab22c66..b739a1314a3 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_request_builder.go @@ -168,3 +168,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemSortRequestBuilder) ToPatc } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemSortRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemSortRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemSortRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_total_row_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_total_row_range_request_builder.go index c5ec45c8001..95042460ef7 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_total_row_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_total_row_range_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemTotalRowRangeRequestBuilde } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemTotalRowRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemTotalRowRangeRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemTotalRowRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_worksheet_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_worksheet_request_builder.go index d2c586bca8e..37bf2385be4 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_worksheet_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_worksheet_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemWorksheetRequestBuilder) T } 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 *ItemItemsItemWorkbookWorksheetsItemTablesItemWorksheetRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesItemWorksheetRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesItemWorksheetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_request_builder.go index 964bca5f43a..b6b06980280 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_request_builder.go @@ -50,8 +50,8 @@ type ItemItemsItemWorkbookWorksheetsItemTablesRequestBuilderPostRequestConfigura func (m *ItemItemsItemWorkbookWorksheetsItemTablesRequestBuilder) Add()(*ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByWorkbookTableIdString provides operations to manage the tables property of the microsoft.graph.workbookWorksheet entity. -func (m *ItemItemsItemWorkbookWorksheetsItemTablesRequestBuilder) ByWorkbookTableIdString(workbookTableId string)(*ItemItemsItemWorkbookWorksheetsItemTablesWorkbookTableItemRequestBuilder) { +// ByWorkbookTableId provides operations to manage the tables property of the microsoft.graph.workbookWorksheet entity. +func (m *ItemItemsItemWorkbookWorksheetsItemTablesRequestBuilder) ByWorkbookTableId(workbookTableId string)(*ItemItemsItemWorkbookWorksheetsItemTablesWorkbookTableItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesRequestBuilder) ToPostRequestI } 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 *ItemItemsItemWorkbookWorksheetsItemTablesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tables_workbook_table_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_workbook_table_item_request_builder.go index 7367c076fb2..d38f8d5e157 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_workbook_table_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_workbook_table_item_request_builder.go @@ -193,6 +193,10 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesWorkbookTableItemRequestBuilde func (m *ItemItemsItemWorkbookWorksheetsItemTablesWorkbookTableItemRequestBuilder) TotalRowRange()(*ItemItemsItemWorkbookWorksheetsItemTablesItemTotalRowRangeRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTablesItemTotalRowRangeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemItemsItemWorkbookWorksheetsItemTablesWorkbookTableItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTablesWorkbookTableItemRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTablesWorkbookTableItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} // Worksheet provides operations to manage the worksheet property of the microsoft.graph.workbookTable entity. func (m *ItemItemsItemWorkbookWorksheetsItemTablesWorkbookTableItemRequestBuilder) Worksheet()(*ItemItemsItemWorkbookWorksheetsItemTablesItemWorksheetRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTablesItemWorksheetRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_count_request_builder.go index 7831be4c924..32ad8779cd0 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_count_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksCountRequestBuilder) ToGetReque } 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 *ItemItemsItemWorkbookWorksheetsItemTasksCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTasksCountRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_at_with_index_request_builder.go index 543e2713fb2..93dbb9dbfaf 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_at_with_index_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemAtWithIndexRequestBuilder) } 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 *ItemItemsItemWorkbookWorksheetsItemTasksItemAtWithIndexRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemAtWithIndexRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTasksItemAtWithIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_count_request_builder.go index f4c6ebaf4ae..ef8b76d38ef 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_count_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesCountRequestBuilder) } 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 *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemChangesCountRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTasksItemChangesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_item_at_with_index_request_builder.go index 9cad835340f..f85d46efa2f 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_item_at_with_index_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesItemAtWithIndexReque } 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 *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesItemAtWithIndexRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemChangesItemAtWithIndexRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTasksItemChangesItemAtWithIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_request_builder.go index daaac07fa6c..488b6ad169c 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookWorksheetsItemTasksItemChangesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookWorksheetsItemTasksItemChangesRequestBuilderGetQueryParameters get changes from drives +// ItemItemsItemWorkbookWorksheetsItemTasksItemChangesRequestBuilderGetQueryParameters a collection of task change histories. type ItemItemsItemWorkbookWorksheetsItemTasksItemChangesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type ItemItemsItemWorkbookWorksheetsItemTasksItemChangesRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWorkbookDocumentTaskChangeIdString provides operations to manage the changes property of the microsoft.graph.workbookDocumentTask entity. -func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesRequestBuilder) ByWorkbookDocumentTaskChangeIdString(workbookDocumentTaskChangeId string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemChangesWorkbookDocumentTaskChangeItemRequestBuilder) { +// ByWorkbookDocumentTaskChangeId provides operations to manage the changes property of the microsoft.graph.workbookDocumentTask entity. +func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesRequestBuilder) ByWorkbookDocumentTaskChangeId(workbookDocumentTaskChangeId string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemChangesWorkbookDocumentTaskChangeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,7 +74,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTasksItemChangesRequestBuilder(rawUrl func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesRequestBuilder) Count()(*ItemItemsItemWorkbookWorksheetsItemTasksItemChangesCountRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTasksItemChangesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get changes from drives +// Get a collection of task change histories. func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskChangeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +116,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesRequestBuilder) Post } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskChangeable), nil } -// ToGetRequestInformation get changes from drives +// ToGetRequestInformation a collection of task change histories. func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -149,3 +149,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesRequestBuilder) ToPo } 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 *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemChangesRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTasksItemChangesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_workbook_document_task_change_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_workbook_document_task_change_item_request_builder.go index 12e44f3a61f..d93abc34476 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_workbook_document_task_change_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_workbook_document_task_change_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemTasksItemChangesWorkbookDocumentTaskChan // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemTasksItemChangesWorkbookDocumentTaskChangeItemRequestBuilderGetQueryParameters get changes from drives +// ItemItemsItemWorkbookWorksheetsItemTasksItemChangesWorkbookDocumentTaskChangeItemRequestBuilderGetQueryParameters a collection of task change histories. type ItemItemsItemWorkbookWorksheetsItemTasksItemChangesWorkbookDocumentTaskChangeItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesWorkbookDocumentTask } return nil } -// Get get changes from drives +// Get a collection of task change histories. func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesWorkbookDocumentTaskChangeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesWorkbookDocumentTaskChangeItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskChangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -120,7 +120,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesWorkbookDocumentTask } return requestInfo, nil } -// ToGetRequestInformation get changes from drives +// ToGetRequestInformation a collection of task change histories. func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesWorkbookDocumentTaskChangeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesWorkbookDocumentTaskChangeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesWorkbookDocumentTask } 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 *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesWorkbookDocumentTaskChangeItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemChangesWorkbookDocumentTaskChangeItemRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTasksItemChangesWorkbookDocumentTaskChangeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_count_request_builder.go index e6ca1182ba1..014461232bf 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesCountRequestB } 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 *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesCountRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_count_request_builder.go index 2183597fa89..e690a52f6ae 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_count_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChang } 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 *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesCountRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_item_at_with_index_request_builder.go index b4de8635b8e..a816774dc6c 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_item_at_with_index_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChang } 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 *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesItemAtWithIndexRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesItemAtWithIndexRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesItemAtWithIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_request_builder.go index 34244976caa..f323480c068 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesRequestBuilderGetQueryParameters get changes from drives +// ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesRequestBuilderGetQueryParameters a collection of task change histories. type ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWorkbookDocumentTaskChangeIdString provides operations to manage the changes property of the microsoft.graph.workbookDocumentTask entity. -func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesRequestBuilder) ByWorkbookDocumentTaskChangeIdString(workbookDocumentTaskChangeId string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) { +// ByWorkbookDocumentTaskChangeId provides operations to manage the changes property of the microsoft.graph.workbookDocumentTask entity. +func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesRequestBuilder) ByWorkbookDocumentTaskChangeId(workbookDocumentTaskChangeId string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,7 +74,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChange func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesRequestBuilder) Count()(*ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesCountRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get changes from drives +// Get a collection of task change histories. func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskChangeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +116,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChang } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskChangeable), nil } -// ToGetRequestInformation get changes from drives +// ToGetRequestInformation a collection of task change histories. func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -149,3 +149,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChang } 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 *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_workbook_document_task_change_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_workbook_document_task_change_item_request_builder.go index edd964c1d39..c0ea5a399ac 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_workbook_document_task_change_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_workbook_document_task_change_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesWo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetQueryParameters get changes from drives +// ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetQueryParameters a collection of task change histories. type ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChang } return nil } -// Get get changes from drives +// Get a collection of task change histories. func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskChangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -120,7 +120,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChang } return requestInfo, nil } -// ToGetRequestInformation get changes from drives +// ToGetRequestInformation a collection of task change histories. func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChang } 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 *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_request_builder.go index 0fb2de58bba..71afe161684 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskRequestBuilderGetQueryParameters get task from drives +// ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskRequestBuilderGetQueryParameters the task associated with the comment thread. type ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,7 +74,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskReque } return nil } -// Get get task from drives +// Get the task associated with the comment thread. func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +124,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskReque } return requestInfo, nil } -// ToGetRequestInformation get task from drives +// ToGetRequestInformation the task associated with the comment thread. func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskReque } 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 *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_request_builder.go index cfb6d34f5ec..5702d63e79b 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_request_builder.go @@ -46,8 +46,8 @@ type ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesRequestBuilderPos // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWorkbookCommentReplyIdString provides operations to manage the replies property of the microsoft.graph.workbookComment entity. -func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesRequestBuilder) ByWorkbookCommentReplyIdString(workbookCommentReplyId string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesWorkbookCommentReplyItemRequestBuilder) { +// ByWorkbookCommentReplyId provides operations to manage the replies property of the microsoft.graph.workbookComment entity. +func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesRequestBuilder) ByWorkbookCommentReplyId(workbookCommentReplyId string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesWorkbookCommentReplyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesRequestBuilde } 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 *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_workbook_comment_reply_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_workbook_comment_reply_item_request_builder.go index edab41f3ec3..d0a33954825 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_workbook_comment_reply_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_workbook_comment_reply_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesWorkbookComme } 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 *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesWorkbookCommentReplyItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesWorkbookCommentReplyItemRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesWorkbookCommentReplyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_request_builder.go index 8c03782eb7e..0d4111bbfc0 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRequestBuilderGetQueryParameters get comment from drives +// ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRequestBuilderGetQueryParameters the comment that the task is associated with. type ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRequestBuilder) Dele } return nil } -// Get get comment from drives +// Get the comment that the task is associated with. func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookCommentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -128,7 +128,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRequestBuilder) ToDe } return requestInfo, nil } -// ToGetRequestInformation get comment from drives +// ToGetRequestInformation the comment that the task is associated with. func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -161,3 +161,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRequestBuilder) ToPa } 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 *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTasksItemCommentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_count_request_builder.go index 2781c80050c..564f05ef7e4 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_count_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesCountRequ } 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 *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesCountRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_item_at_with_index_request_builder.go index 88fe85f6248..fd97bc09535 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_item_at_with_index_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesItemAtWit } 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 *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesItemAtWithIndexRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesItemAtWithIndexRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesItemAtWithIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_request_builder.go index 25fc771e294..d46a1874e62 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesRequestBuilderGetQueryParameters get changes from drives +// ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesRequestBuilderGetQueryParameters a collection of task change histories. type ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWorkbookDocumentTaskChangeIdString provides operations to manage the changes property of the microsoft.graph.workbookDocumentTask entity. -func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesRequestBuilder) ByWorkbookDocumentTaskChangeIdString(workbookDocumentTaskChangeId string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) { +// ByWorkbookDocumentTaskChangeId provides operations to manage the changes property of the microsoft.graph.workbookDocumentTask entity. +func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesRequestBuilder) ByWorkbookDocumentTaskChangeId(workbookDocumentTaskChangeId string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,7 +74,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesRequestBui func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesRequestBuilder) Count()(*ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesCountRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get changes from drives +// Get a collection of task change histories. func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskChangeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +116,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskChangeable), nil } -// ToGetRequestInformation get changes from drives +// ToGetRequestInformation a collection of task change histories. func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -149,3 +149,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesRequestBu } 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 *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_workbook_document_task_change_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_workbook_document_task_change_item_request_builder.go index 36b5cfb73b7..0ad41273446 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_workbook_document_task_change_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_workbook_document_task_change_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesWorkbookDocum // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetQueryParameters get changes from drives +// ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetQueryParameters a collection of task change histories. type ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesWorkbookD } return nil } -// Get get changes from drives +// Get a collection of task change histories. func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskChangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -120,7 +120,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesWorkbookD } return requestInfo, nil } -// ToGetRequestInformation get changes from drives +// ToGetRequestInformation a collection of task change histories. func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesWorkbookD } 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 *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesWorkbookDocumentTaskChangeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_request_builder.go index e1fa62dc4ba..7b4edfc9693 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskRequestBuilderGetQueryParameters get task from drives +// ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskRequestBuilderGetQueryParameters the task associated with the comment. Read-only. Nullable. type ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,7 +74,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskRequestBuilder) } return nil } -// Get get task from drives +// Get the task associated with the comment. Read-only. Nullable. func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +124,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskRequestBuilder) } return requestInfo, nil } -// ToGetRequestInformation get task from drives +// ToGetRequestInformation the task associated with the comment. Read-only. Nullable. func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -157,3 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskRequestBuilder) } 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 *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_request_builder.go index 43687fb6f8d..59029abd1e1 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookWorksheetsItemTasksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookWorksheetsItemTasksRequestBuilderGetQueryParameters get tasks from drives +// ItemItemsItemWorkbookWorksheetsItemTasksRequestBuilderGetQueryParameters collection of document tasks on this worksheet. Read-only. type ItemItemsItemWorkbookWorksheetsItemTasksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type ItemItemsItemWorkbookWorksheetsItemTasksRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWorkbookDocumentTaskIdString provides operations to manage the tasks property of the microsoft.graph.workbookWorksheet entity. -func (m *ItemItemsItemWorkbookWorksheetsItemTasksRequestBuilder) ByWorkbookDocumentTaskIdString(workbookDocumentTaskId string)(*ItemItemsItemWorkbookWorksheetsItemTasksWorkbookDocumentTaskItemRequestBuilder) { +// ByWorkbookDocumentTaskId provides operations to manage the tasks property of the microsoft.graph.workbookWorksheet entity. +func (m *ItemItemsItemWorkbookWorksheetsItemTasksRequestBuilder) ByWorkbookDocumentTaskId(workbookDocumentTaskId string)(*ItemItemsItemWorkbookWorksheetsItemTasksWorkbookDocumentTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,7 +74,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTasksRequestBuilder(rawUrl string, re func (m *ItemItemsItemWorkbookWorksheetsItemTasksRequestBuilder) Count()(*ItemItemsItemWorkbookWorksheetsItemTasksCountRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTasksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get tasks from drives +// Get collection of document tasks on this worksheet. Read-only. func (m *ItemItemsItemWorkbookWorksheetsItemTasksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTasksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +116,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksRequestBuilder) Post(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskable), nil } -// ToGetRequestInformation get tasks from drives +// ToGetRequestInformation collection of document tasks on this worksheet. Read-only. func (m *ItemItemsItemWorkbookWorksheetsItemTasksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTasksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -149,3 +149,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksRequestBuilder) ToPostRequestIn } 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 *ItemItemsItemWorkbookWorksheetsItemTasksRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTasksRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_workbook_document_task_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_workbook_document_task_item_request_builder.go index 19f23861587..819374cf9cf 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_workbook_document_task_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_workbook_document_task_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemTasksWorkbookDocumentTaskItemRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemTasksWorkbookDocumentTaskItemRequestBuilderGetQueryParameters get tasks from drives +// ItemItemsItemWorkbookWorksheetsItemTasksWorkbookDocumentTaskItemRequestBuilderGetQueryParameters collection of document tasks on this worksheet. Read-only. type ItemItemsItemWorkbookWorksheetsItemTasksWorkbookDocumentTaskItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -78,7 +78,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksWorkbookDocumentTaskItemRequest } return nil } -// Get get tasks from drives +// Get collection of document tasks on this worksheet. Read-only. func (m *ItemItemsItemWorkbookWorksheetsItemTasksWorkbookDocumentTaskItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTasksWorkbookDocumentTaskItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookDocumentTaskable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -128,7 +128,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksWorkbookDocumentTaskItemRequest } return requestInfo, nil } -// ToGetRequestInformation get tasks from drives +// ToGetRequestInformation collection of document tasks on this worksheet. Read-only. func (m *ItemItemsItemWorkbookWorksheetsItemTasksWorkbookDocumentTaskItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTasksWorkbookDocumentTaskItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -161,3 +161,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksWorkbookDocumentTaskItemRequest } 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 *ItemItemsItemWorkbookWorksheetsItemTasksWorkbookDocumentTaskItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemTasksWorkbookDocumentTaskItemRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemTasksWorkbookDocumentTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_used_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_used_range_request_builder.go index 5f4fb46e14f..c523ebbce69 100644 --- a/drives/item_items_item_workbook_worksheets_item_used_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_used_range_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemUsedRangeRequestBuilder) ToGetReques } 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 *ItemItemsItemWorkbookWorksheetsItemUsedRangeRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemUsedRangeRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemUsedRangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_item_used_range_with_values_only_request_builder.go b/drives/item_items_item_workbook_worksheets_item_used_range_with_values_only_request_builder.go index 9af2395bc7e..20ed9488061 100644 --- a/drives/item_items_item_workbook_worksheets_item_used_range_with_values_only_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_used_range_with_values_only_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemUsedRangeWithValuesOnlyRequestBuilde } 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 *ItemItemsItemWorkbookWorksheetsItemUsedRangeWithValuesOnlyRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsItemUsedRangeWithValuesOnlyRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsItemUsedRangeWithValuesOnlyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_request_builder.go b/drives/item_items_item_workbook_worksheets_request_builder.go index c1e85995a34..331cdc7d5b8 100644 --- a/drives/item_items_item_workbook_worksheets_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_request_builder.go @@ -50,8 +50,8 @@ type ItemItemsItemWorkbookWorksheetsRequestBuilderPostRequestConfiguration struc func (m *ItemItemsItemWorkbookWorksheetsRequestBuilder) Add()(*ItemItemsItemWorkbookWorksheetsAddRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByWorkbookWorksheetIdString provides operations to manage the worksheets property of the microsoft.graph.workbook entity. -func (m *ItemItemsItemWorkbookWorksheetsRequestBuilder) ByWorkbookWorksheetIdString(workbookWorksheetId string)(*ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder) { +// ByWorkbookWorksheetId provides operations to manage the worksheets property of the microsoft.graph.workbook entity. +func (m *ItemItemsItemWorkbookWorksheetsRequestBuilder) ByWorkbookWorksheetId(workbookWorksheetId string)(*ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -81,7 +81,7 @@ func (m *ItemItemsItemWorkbookWorksheetsRequestBuilder) Count()(*ItemItemsItemWo // Get retrieve a list of worksheet objects. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/worksheet-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-list-worksheets?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookWorksheetCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -152,3 +152,7 @@ func (m *ItemItemsItemWorkbookWorksheetsRequestBuilder) 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 *ItemItemsItemWorkbookWorksheetsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_workbook_worksheets_workbook_worksheet_item_request_builder.go b/drives/item_items_item_workbook_worksheets_workbook_worksheet_item_request_builder.go index 382e200908e..c263b73a7b8 100644 --- a/drives/item_items_item_workbook_worksheets_workbook_worksheet_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_workbook_worksheet_item_request_builder.go @@ -206,3 +206,7 @@ func (m *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder) Use func (m *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder) UsedRangeWithValuesOnly(valuesOnly *bool)(*ItemItemsItemWorkbookWorksheetsItemUsedRangeWithValuesOnlyRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemUsedRangeWithValuesOnlyRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, valuesOnly) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder) { + return NewItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_request_builder.go b/drives/item_items_request_builder.go index 81df02d4cc6..86d9029c527 100644 --- a/drives/item_items_request_builder.go +++ b/drives/item_items_request_builder.go @@ -46,8 +46,8 @@ type ItemItemsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDriveItemIdString provides operations to manage the items property of the microsoft.graph.drive entity. -func (m *ItemItemsRequestBuilder) ByDriveItemIdString(driveItemId string)(*ItemItemsDriveItemItemRequestBuilder) { +// ByDriveItemId provides operations to manage the items property of the microsoft.graph.drive entity. +func (m *ItemItemsRequestBuilder) ByDriveItemId(driveItemId string)(*ItemItemsDriveItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemItemsRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemItemsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsRequestBuilder) { + return NewItemItemsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_last_modified_by_user_mailbox_settings_request_builder.go b/drives/item_last_modified_by_user_mailbox_settings_request_builder.go index 515f29a13d6..38ef2218d11 100644 --- a/drives/item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/drives/item_last_modified_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemLastModifiedByUserMailboxSettingsRequestBuilder) 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 *ItemLastModifiedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewItemLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_last_modified_by_user_request_builder.go b/drives/item_last_modified_by_user_request_builder.go index 4d45c9032a8..a8a75d1d493 100644 --- a/drives/item_last_modified_by_user_request_builder.go +++ b/drives/item_last_modified_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemLastModifiedByUserRequestBuilder) ToGetRequestInformation(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 *ItemLastModifiedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemLastModifiedByUserRequestBuilder) { + return NewItemLastModifiedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_activities_request_builder.go b/drives/item_list_activities_request_builder.go index b2db1e43f8e..529bec509ca 100644 --- a/drives/item_list_activities_request_builder.go +++ b/drives/item_list_activities_request_builder.go @@ -130,3 +130,7 @@ func (m *ItemListActivitiesRequestBuilder) 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 *ItemListActivitiesRequestBuilder) WithUrl(rawUrl string)(*ItemListActivitiesRequestBuilder) { + return NewItemListActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_columns_column_definition_item_request_builder.go b/drives/item_list_columns_column_definition_item_request_builder.go index 804312c16cb..a87a4fefb3f 100644 --- a/drives/item_list_columns_column_definition_item_request_builder.go +++ b/drives/item_list_columns_column_definition_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemListColumnsColumnDefinitionItemRequestBuilder) ToPatchRequestInform } 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 *ItemListColumnsColumnDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListColumnsColumnDefinitionItemRequestBuilder) { + return NewItemListColumnsColumnDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_columns_count_request_builder.go b/drives/item_list_columns_count_request_builder.go index 5b0ab040a47..aae483c2c5a 100644 --- a/drives/item_list_columns_count_request_builder.go +++ b/drives/item_list_columns_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListColumnsCountRequestBuilder) ToGetRequestInformation(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 *ItemListColumnsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListColumnsCountRequestBuilder) { + return NewItemListColumnsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_columns_item_source_column_request_builder.go b/drives/item_list_columns_item_source_column_request_builder.go index f3e4d5352ca..7ee0394c209 100644 --- a/drives/item_list_columns_item_source_column_request_builder.go +++ b/drives/item_list_columns_item_source_column_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListColumnsItemSourceColumnRequestBuilder) 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 *ItemListColumnsItemSourceColumnRequestBuilder) WithUrl(rawUrl string)(*ItemListColumnsItemSourceColumnRequestBuilder) { + return NewItemListColumnsItemSourceColumnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_columns_request_builder.go b/drives/item_list_columns_request_builder.go index 080ce11a159..51413233f8d 100644 --- a/drives/item_list_columns_request_builder.go +++ b/drives/item_list_columns_request_builder.go @@ -46,8 +46,8 @@ type ItemListColumnsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByColumnDefinitionIdString provides operations to manage the columns property of the microsoft.graph.list entity. -func (m *ItemListColumnsRequestBuilder) ByColumnDefinitionIdString(columnDefinitionId string)(*ItemListColumnsColumnDefinitionItemRequestBuilder) { +// ByColumnDefinitionId provides operations to manage the columns property of the microsoft.graph.list entity. +func (m *ItemListColumnsRequestBuilder) ByColumnDefinitionId(columnDefinitionId string)(*ItemListColumnsColumnDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemListColumnsRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *ItemListColumnsRequestBuilder) WithUrl(rawUrl string)(*ItemListColumnsRequestBuilder) { + return NewItemListColumnsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_add_copy_from_content_type_hub_request_builder.go b/drives/item_list_content_types_add_copy_from_content_type_hub_request_builder.go index c927c90c1ed..6c4432701dc 100644 --- a/drives/item_list_content_types_add_copy_from_content_type_hub_request_builder.go +++ b/drives/item_list_content_types_add_copy_from_content_type_hub_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemListContentTypesAddCopyFromContentTypeHubRequestBuilder) ToPostRequ } 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 *ItemListContentTypesAddCopyFromContentTypeHubRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesAddCopyFromContentTypeHubRequestBuilder) { + return NewItemListContentTypesAddCopyFromContentTypeHubRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_add_copy_request_builder.go b/drives/item_list_content_types_add_copy_request_builder.go index 8c6476bafda..f54c0636909 100644 --- a/drives/item_list_content_types_add_copy_request_builder.go +++ b/drives/item_list_content_types_add_copy_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemListContentTypesAddCopyRequestBuilder) 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 *ItemListContentTypesAddCopyRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesAddCopyRequestBuilder) { + return NewItemListContentTypesAddCopyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_content_type_item_request_builder.go b/drives/item_list_content_types_content_type_item_request_builder.go index 7f51ae934e1..2117393dc2e 100644 --- a/drives/item_list_content_types_content_type_item_request_builder.go +++ b/drives/item_list_content_types_content_type_item_request_builder.go @@ -193,3 +193,7 @@ func (m *ItemListContentTypesContentTypeItemRequestBuilder) ToPatchRequestInform func (m *ItemListContentTypesContentTypeItemRequestBuilder) Unpublish()(*ItemListContentTypesItemUnpublishRequestBuilder) { return NewItemListContentTypesItemUnpublishRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemListContentTypesContentTypeItemRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesContentTypeItemRequestBuilder) { + return NewItemListContentTypesContentTypeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_count_request_builder.go b/drives/item_list_content_types_count_request_builder.go index a128cdf3ace..291740dbd55 100644 --- a/drives/item_list_content_types_count_request_builder.go +++ b/drives/item_list_content_types_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListContentTypesCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemListContentTypesCountRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesCountRequestBuilder) { + return NewItemListContentTypesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_get_compatible_hub_content_types_request_builder.go b/drives/item_list_content_types_get_compatible_hub_content_types_request_builder.go index caa7a550c9d..c1ab75f78c4 100644 --- a/drives/item_list_content_types_get_compatible_hub_content_types_request_builder.go +++ b/drives/item_list_content_types_get_compatible_hub_content_types_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemListContentTypesGetCompatibleHubContentTypesRequestBuilder) ToGetRe } 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 *ItemListContentTypesGetCompatibleHubContentTypesRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesGetCompatibleHubContentTypesRequestBuilder) { + return NewItemListContentTypesGetCompatibleHubContentTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_item_associate_with_hub_sites_request_builder.go b/drives/item_list_content_types_item_associate_with_hub_sites_request_builder.go index 9fbe6fba5f2..0eb1b8511df 100644 --- a/drives/item_list_content_types_item_associate_with_hub_sites_request_builder.go +++ b/drives/item_list_content_types_item_associate_with_hub_sites_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemListContentTypesItemAssociateWithHubSitesRequestBuilder) ToPostRequ } 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 *ItemListContentTypesItemAssociateWithHubSitesRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemAssociateWithHubSitesRequestBuilder) { + return NewItemListContentTypesItemAssociateWithHubSitesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_item_base_request_builder.go b/drives/item_list_content_types_item_base_request_builder.go index 1deeb880ea3..b599af35405 100644 --- a/drives/item_list_content_types_item_base_request_builder.go +++ b/drives/item_list_content_types_item_base_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListContentTypesItemBaseRequestBuilder) ToGetRequestInformation(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 *ItemListContentTypesItemBaseRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemBaseRequestBuilder) { + return NewItemListContentTypesItemBaseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_item_base_types_content_type_item_request_builder.go b/drives/item_list_content_types_item_base_types_content_type_item_request_builder.go index 2c34c5725a4..74ccf46436a 100644 --- a/drives/item_list_content_types_item_base_types_content_type_item_request_builder.go +++ b/drives/item_list_content_types_item_base_types_content_type_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListContentTypesItemBaseTypesContentTypeItemRequestBuilder) ToGetRe } 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 *ItemListContentTypesItemBaseTypesContentTypeItemRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemBaseTypesContentTypeItemRequestBuilder) { + return NewItemListContentTypesItemBaseTypesContentTypeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_item_base_types_count_request_builder.go b/drives/item_list_content_types_item_base_types_count_request_builder.go index 1ac2a86366a..7b50fbd6db2 100644 --- a/drives/item_list_content_types_item_base_types_count_request_builder.go +++ b/drives/item_list_content_types_item_base_types_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListContentTypesItemBaseTypesCountRequestBuilder) ToGetRequestInfor } 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 *ItemListContentTypesItemBaseTypesCountRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemBaseTypesCountRequestBuilder) { + return NewItemListContentTypesItemBaseTypesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_item_base_types_request_builder.go b/drives/item_list_content_types_item_base_types_request_builder.go index cf5f7634b4f..5a761e782d4 100644 --- a/drives/item_list_content_types_item_base_types_request_builder.go +++ b/drives/item_list_content_types_item_base_types_request_builder.go @@ -39,8 +39,8 @@ type ItemListContentTypesItemBaseTypesRequestBuilderGetRequestConfiguration stru // Request query parameters QueryParameters *ItemListContentTypesItemBaseTypesRequestBuilderGetQueryParameters } -// ByContentTypeId1String provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. -func (m *ItemListContentTypesItemBaseTypesRequestBuilder) ByContentTypeId1String(contentTypeId1 string)(*ItemListContentTypesItemBaseTypesContentTypeItemRequestBuilder) { +// ByContentTypeId1 provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. +func (m *ItemListContentTypesItemBaseTypesRequestBuilder) ByContentTypeId1(contentTypeId1 string)(*ItemListContentTypesItemBaseTypesContentTypeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemListContentTypesItemBaseTypesRequestBuilder) 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 *ItemListContentTypesItemBaseTypesRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemBaseTypesRequestBuilder) { + return NewItemListContentTypesItemBaseTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_item_column_links_column_link_item_request_builder.go b/drives/item_list_content_types_item_column_links_column_link_item_request_builder.go index 10ecf7b4cf3..417c2ec0f77 100644 --- a/drives/item_list_content_types_item_column_links_column_link_item_request_builder.go +++ b/drives/item_list_content_types_item_column_links_column_link_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemListContentTypesItemColumnLinksColumnLinkItemRequestBuilder) ToPatc } 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 *ItemListContentTypesItemColumnLinksColumnLinkItemRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemColumnLinksColumnLinkItemRequestBuilder) { + return NewItemListContentTypesItemColumnLinksColumnLinkItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_item_column_links_count_request_builder.go b/drives/item_list_content_types_item_column_links_count_request_builder.go index 3041ad7cd5d..939e8c5e7b7 100644 --- a/drives/item_list_content_types_item_column_links_count_request_builder.go +++ b/drives/item_list_content_types_item_column_links_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListContentTypesItemColumnLinksCountRequestBuilder) ToGetRequestInf } 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 *ItemListContentTypesItemColumnLinksCountRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemColumnLinksCountRequestBuilder) { + return NewItemListContentTypesItemColumnLinksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_item_column_links_request_builder.go b/drives/item_list_content_types_item_column_links_request_builder.go index 40958ff2487..4c31c0df5e1 100644 --- a/drives/item_list_content_types_item_column_links_request_builder.go +++ b/drives/item_list_content_types_item_column_links_request_builder.go @@ -46,8 +46,8 @@ type ItemListContentTypesItemColumnLinksRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByColumnLinkIdString provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. -func (m *ItemListContentTypesItemColumnLinksRequestBuilder) ByColumnLinkIdString(columnLinkId string)(*ItemListContentTypesItemColumnLinksColumnLinkItemRequestBuilder) { +// ByColumnLinkId provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. +func (m *ItemListContentTypesItemColumnLinksRequestBuilder) ByColumnLinkId(columnLinkId string)(*ItemListContentTypesItemColumnLinksColumnLinkItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemListContentTypesItemColumnLinksRequestBuilder) ToPostRequestInforma } 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 *ItemListContentTypesItemColumnLinksRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemColumnLinksRequestBuilder) { + return NewItemListContentTypesItemColumnLinksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_item_column_positions_column_definition_item_request_builder.go b/drives/item_list_content_types_item_column_positions_column_definition_item_request_builder.go index a65741eac38..4722eb93af3 100644 --- a/drives/item_list_content_types_item_column_positions_column_definition_item_request_builder.go +++ b/drives/item_list_content_types_item_column_positions_column_definition_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListContentTypesItemColumnPositionsColumnDefinitionItemRequestBuild } 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 *ItemListContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) { + return NewItemListContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_item_column_positions_count_request_builder.go b/drives/item_list_content_types_item_column_positions_count_request_builder.go index 2162592aba5..5e15f8d15d3 100644 --- a/drives/item_list_content_types_item_column_positions_count_request_builder.go +++ b/drives/item_list_content_types_item_column_positions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListContentTypesItemColumnPositionsCountRequestBuilder) ToGetReques } 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 *ItemListContentTypesItemColumnPositionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemColumnPositionsCountRequestBuilder) { + return NewItemListContentTypesItemColumnPositionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_item_column_positions_request_builder.go b/drives/item_list_content_types_item_column_positions_request_builder.go index fab1860b255..a64ec857d4a 100644 --- a/drives/item_list_content_types_item_column_positions_request_builder.go +++ b/drives/item_list_content_types_item_column_positions_request_builder.go @@ -39,8 +39,8 @@ type ItemListContentTypesItemColumnPositionsRequestBuilderGetRequestConfiguratio // Request query parameters QueryParameters *ItemListContentTypesItemColumnPositionsRequestBuilderGetQueryParameters } -// ByColumnDefinitionIdString provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. -func (m *ItemListContentTypesItemColumnPositionsRequestBuilder) ByColumnDefinitionIdString(columnDefinitionId string)(*ItemListContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) { +// ByColumnDefinitionId provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. +func (m *ItemListContentTypesItemColumnPositionsRequestBuilder) ByColumnDefinitionId(columnDefinitionId string)(*ItemListContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemListContentTypesItemColumnPositionsRequestBuilder) ToGetRequestInfo } 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 *ItemListContentTypesItemColumnPositionsRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemColumnPositionsRequestBuilder) { + return NewItemListContentTypesItemColumnPositionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_item_columns_column_definition_item_request_builder.go b/drives/item_list_content_types_item_columns_column_definition_item_request_builder.go index 2912c3ae84c..51219edd039 100644 --- a/drives/item_list_content_types_item_columns_column_definition_item_request_builder.go +++ b/drives/item_list_content_types_item_columns_column_definition_item_request_builder.go @@ -166,3 +166,7 @@ func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToPa } 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 *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) { + return NewItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_item_columns_count_request_builder.go b/drives/item_list_content_types_item_columns_count_request_builder.go index 5007af3f51d..6fa5213840f 100644 --- a/drives/item_list_content_types_item_columns_count_request_builder.go +++ b/drives/item_list_content_types_item_columns_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListContentTypesItemColumnsCountRequestBuilder) ToGetRequestInforma } 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 *ItemListContentTypesItemColumnsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemColumnsCountRequestBuilder) { + return NewItemListContentTypesItemColumnsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_item_columns_item_source_column_request_builder.go b/drives/item_list_content_types_item_columns_item_source_column_request_builder.go index de0b141c75a..ef6d0a4fd2b 100644 --- a/drives/item_list_content_types_item_columns_item_source_column_request_builder.go +++ b/drives/item_list_content_types_item_columns_item_source_column_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListContentTypesItemColumnsItemSourceColumnRequestBuilder) ToGetReq } 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 *ItemListContentTypesItemColumnsItemSourceColumnRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemColumnsItemSourceColumnRequestBuilder) { + return NewItemListContentTypesItemColumnsItemSourceColumnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_item_columns_request_builder.go b/drives/item_list_content_types_item_columns_request_builder.go index 1549574ada6..faf74d4bcb5 100644 --- a/drives/item_list_content_types_item_columns_request_builder.go +++ b/drives/item_list_content_types_item_columns_request_builder.go @@ -46,8 +46,8 @@ type ItemListContentTypesItemColumnsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByColumnDefinitionIdString provides operations to manage the columns property of the microsoft.graph.contentType entity. -func (m *ItemListContentTypesItemColumnsRequestBuilder) ByColumnDefinitionIdString(columnDefinitionId string)(*ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) { +// ByColumnDefinitionId provides operations to manage the columns property of the microsoft.graph.contentType entity. +func (m *ItemListContentTypesItemColumnsRequestBuilder) ByColumnDefinitionId(columnDefinitionId string)(*ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemListContentTypesItemColumnsRequestBuilder) 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 *ItemListContentTypesItemColumnsRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemColumnsRequestBuilder) { + return NewItemListContentTypesItemColumnsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_item_copy_to_default_content_location_request_builder.go b/drives/item_list_content_types_item_copy_to_default_content_location_request_builder.go index fe212e1400c..8370aefeb41 100644 --- a/drives/item_list_content_types_item_copy_to_default_content_location_request_builder.go +++ b/drives/item_list_content_types_item_copy_to_default_content_location_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemListContentTypesItemCopyToDefaultContentLocationRequestBuilder) 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 *ItemListContentTypesItemCopyToDefaultContentLocationRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemCopyToDefaultContentLocationRequestBuilder) { + return NewItemListContentTypesItemCopyToDefaultContentLocationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_item_is_published_request_builder.go b/drives/item_list_content_types_item_is_published_request_builder.go index 4d5bbf0c557..b7dd954a80b 100644 --- a/drives/item_list_content_types_item_is_published_request_builder.go +++ b/drives/item_list_content_types_item_is_published_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemListContentTypesItemIsPublishedRequestBuilder) ToGetRequestInformat } 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 *ItemListContentTypesItemIsPublishedRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemIsPublishedRequestBuilder) { + return NewItemListContentTypesItemIsPublishedRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_item_publish_request_builder.go b/drives/item_list_content_types_item_publish_request_builder.go index f9a27b24330..f138451dbd5 100644 --- a/drives/item_list_content_types_item_publish_request_builder.go +++ b/drives/item_list_content_types_item_publish_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemListContentTypesItemPublishRequestBuilder) 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 *ItemListContentTypesItemPublishRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemPublishRequestBuilder) { + return NewItemListContentTypesItemPublishRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_item_unpublish_request_builder.go b/drives/item_list_content_types_item_unpublish_request_builder.go index 067a9275a88..2a87ecf5220 100644 --- a/drives/item_list_content_types_item_unpublish_request_builder.go +++ b/drives/item_list_content_types_item_unpublish_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemListContentTypesItemUnpublishRequestBuilder) ToPostRequestInformati } 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 *ItemListContentTypesItemUnpublishRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemUnpublishRequestBuilder) { + return NewItemListContentTypesItemUnpublishRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_content_types_request_builder.go b/drives/item_list_content_types_request_builder.go index a4461dd1127..12fb412ee6a 100644 --- a/drives/item_list_content_types_request_builder.go +++ b/drives/item_list_content_types_request_builder.go @@ -54,8 +54,8 @@ func (m *ItemListContentTypesRequestBuilder) AddCopy()(*ItemListContentTypesAddC func (m *ItemListContentTypesRequestBuilder) AddCopyFromContentTypeHub()(*ItemListContentTypesAddCopyFromContentTypeHubRequestBuilder) { return NewItemListContentTypesAddCopyFromContentTypeHubRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByContentTypeIdString provides operations to manage the contentTypes property of the microsoft.graph.list entity. -func (m *ItemListContentTypesRequestBuilder) ByContentTypeIdString(contentTypeId string)(*ItemListContentTypesContentTypeItemRequestBuilder) { +// ByContentTypeId provides operations to manage the contentTypes property of the microsoft.graph.list entity. +func (m *ItemListContentTypesRequestBuilder) ByContentTypeId(contentTypeId string)(*ItemListContentTypesContentTypeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -160,3 +160,7 @@ func (m *ItemListContentTypesRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemListContentTypesRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesRequestBuilder) { + return NewItemListContentTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_created_by_user_mailbox_settings_request_builder.go b/drives/item_list_created_by_user_mailbox_settings_request_builder.go index 9541bcf52ae..82f35d916e5 100644 --- a/drives/item_list_created_by_user_mailbox_settings_request_builder.go +++ b/drives/item_list_created_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemListCreatedByUserMailboxSettingsRequestBuilder) ToPatchRequestInfor } 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 *ItemListCreatedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemListCreatedByUserMailboxSettingsRequestBuilder) { + return NewItemListCreatedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_created_by_user_request_builder.go b/drives/item_list_created_by_user_request_builder.go index df4c278bd8c..f183bee4ec2 100644 --- a/drives/item_list_created_by_user_request_builder.go +++ b/drives/item_list_created_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemListCreatedByUserRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemListCreatedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemListCreatedByUserRequestBuilder) { + return NewItemListCreatedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_drive_request_builder.go b/drives/item_list_drive_request_builder.go index d76db9af25c..34f74c83a26 100644 --- a/drives/item_list_drive_request_builder.go +++ b/drives/item_list_drive_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListDriveRequestBuilder) ToGetRequestInformation(ctx context.Contex } 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 *ItemListDriveRequestBuilder) WithUrl(rawUrl string)(*ItemListDriveRequestBuilder) { + return NewItemListDriveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_count_request_builder.go b/drives/item_list_items_count_request_builder.go index 35aa80d0f64..83cf6d4f691 100644 --- a/drives/item_list_items_count_request_builder.go +++ b/drives/item_list_items_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListItemsCountRequestBuilder) 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 *ItemListItemsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsCountRequestBuilder) { + return NewItemListItemsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_delta_request_builder.go b/drives/item_list_items_delta_request_builder.go index 22f3bb23edb..ce2e52eeaf5 100644 --- a/drives/item_list_items_delta_request_builder.go +++ b/drives/item_list_items_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemListItemsDeltaRequestBuilder) 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 *ItemListItemsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsDeltaRequestBuilder) { + return NewItemListItemsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_delta_with_token_request_builder.go b/drives/item_list_items_delta_with_token_request_builder.go index 7a94d1b2886..f70fb06e31d 100644 --- a/drives/item_list_items_delta_with_token_request_builder.go +++ b/drives/item_list_items_delta_with_token_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemListItemsDeltaWithTokenRequestBuilder) ToGetRequestInformation(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 *ItemListItemsDeltaWithTokenRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsDeltaWithTokenRequestBuilder) { + return NewItemListItemsDeltaWithTokenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_activities_count_request_builder.go b/drives/item_list_items_item_activities_count_request_builder.go index 6c71ef85878..02b8cd87f37 100644 --- a/drives/item_list_items_item_activities_count_request_builder.go +++ b/drives/item_list_items_item_activities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListItemsItemActivitiesCountRequestBuilder) 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 *ItemListItemsItemActivitiesCountRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemActivitiesCountRequestBuilder) { + return NewItemListItemsItemActivitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_activities_item_activity_o_l_d_item_request_builder.go b/drives/item_list_items_item_activities_item_activity_o_l_d_item_request_builder.go index 80a652235c3..f58e1616479 100644 --- a/drives/item_list_items_item_activities_item_activity_o_l_d_item_request_builder.go +++ b/drives/item_list_items_item_activities_item_activity_o_l_d_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemListItemsItemActivitiesItemActivityOLDItemRequestBuilder) ToPatchRe } 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 *ItemListItemsItemActivitiesItemActivityOLDItemRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemActivitiesItemActivityOLDItemRequestBuilder) { + return NewItemListItemsItemActivitiesItemActivityOLDItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_activities_item_drive_item_content_request_builder.go b/drives/item_list_items_item_activities_item_drive_item_content_request_builder.go index cfe93dc8802..362f0f76fe5 100644 --- a/drives/item_list_items_item_activities_item_drive_item_content_request_builder.go +++ b/drives/item_list_items_item_activities_item_drive_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) ToPutReq } 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 *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) { + return NewItemListItemsItemActivitiesItemDriveItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_activities_item_drive_item_request_builder.go b/drives/item_list_items_item_activities_item_drive_item_request_builder.go index 2cc8ad0cb44..1942a630f13 100644 --- a/drives/item_list_items_item_activities_item_drive_item_request_builder.go +++ b/drives/item_list_items_item_activities_item_drive_item_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemListItemsItemActivitiesItemDriveItemRequestBuilder) ToGetRequestInf } 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 *ItemListItemsItemActivitiesItemDriveItemRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemActivitiesItemDriveItemRequestBuilder) { + return NewItemListItemsItemActivitiesItemDriveItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_activities_item_list_item_request_builder.go b/drives/item_list_items_item_activities_item_list_item_request_builder.go index 6a5e6ada31a..a006776d9e5 100644 --- a/drives/item_list_items_item_activities_item_list_item_request_builder.go +++ b/drives/item_list_items_item_activities_item_list_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListItemsItemActivitiesItemListItemRequestBuilder) ToGetRequestInfo } 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 *ItemListItemsItemActivitiesItemListItemRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemActivitiesItemListItemRequestBuilder) { + return NewItemListItemsItemActivitiesItemListItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_activities_request_builder.go b/drives/item_list_items_item_activities_request_builder.go index 69ca66894d7..304714a54cf 100644 --- a/drives/item_list_items_item_activities_request_builder.go +++ b/drives/item_list_items_item_activities_request_builder.go @@ -46,8 +46,8 @@ type ItemListItemsItemActivitiesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByItemActivityOLDIdString provides operations to manage the activities property of the microsoft.graph.listItem entity. -func (m *ItemListItemsItemActivitiesRequestBuilder) ByItemActivityOLDIdString(itemActivityOLDId string)(*ItemListItemsItemActivitiesItemActivityOLDItemRequestBuilder) { +// ByItemActivityOLDId provides operations to manage the activities property of the microsoft.graph.listItem entity. +func (m *ItemListItemsItemActivitiesRequestBuilder) ByItemActivityOLDId(itemActivityOLDId string)(*ItemListItemsItemActivitiesItemActivityOLDItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemListItemsItemActivitiesRequestBuilder) 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 *ItemListItemsItemActivitiesRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemActivitiesRequestBuilder) { + return NewItemListItemsItemActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_analytics_request_builder.go b/drives/item_list_items_item_analytics_request_builder.go index ab01ff9b36f..6de912b937c 100644 --- a/drives/item_list_items_item_analytics_request_builder.go +++ b/drives/item_list_items_item_analytics_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListItemsItemAnalyticsRequestBuilder) ToGetRequestInformation(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 *ItemListItemsItemAnalyticsRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemAnalyticsRequestBuilder) { + return NewItemListItemsItemAnalyticsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_create_link_request_builder.go b/drives/item_list_items_item_create_link_request_builder.go index 2aa20434160..48e38e50a7d 100644 --- a/drives/item_list_items_item_create_link_request_builder.go +++ b/drives/item_list_items_item_create_link_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemListItemsItemCreateLinkRequestBuilder) 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 *ItemListItemsItemCreateLinkRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemCreateLinkRequestBuilder) { + return NewItemListItemsItemCreateLinkRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_created_by_user_mailbox_settings_request_builder.go b/drives/item_list_items_item_created_by_user_mailbox_settings_request_builder.go index ec1380eb87b..58a59febffb 100644 --- a/drives/item_list_items_item_created_by_user_mailbox_settings_request_builder.go +++ b/drives/item_list_items_item_created_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemListItemsItemCreatedByUserMailboxSettingsRequestBuilder) ToPatchReq } 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 *ItemListItemsItemCreatedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemCreatedByUserMailboxSettingsRequestBuilder) { + return NewItemListItemsItemCreatedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_created_by_user_request_builder.go b/drives/item_list_items_item_created_by_user_request_builder.go index d07bfd18cc2..d1abc2ebffd 100644 --- a/drives/item_list_items_item_created_by_user_request_builder.go +++ b/drives/item_list_items_item_created_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemListItemsItemCreatedByUserRequestBuilder) ToGetRequestInformation(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 *ItemListItemsItemCreatedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemCreatedByUserRequestBuilder) { + return NewItemListItemsItemCreatedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_document_set_versions_count_request_builder.go b/drives/item_list_items_item_document_set_versions_count_request_builder.go index dac4b4d5dc4..c6267458434 100644 --- a/drives/item_list_items_item_document_set_versions_count_request_builder.go +++ b/drives/item_list_items_item_document_set_versions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListItemsItemDocumentSetVersionsCountRequestBuilder) ToGetRequestIn } 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 *ItemListItemsItemDocumentSetVersionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemDocumentSetVersionsCountRequestBuilder) { + return NewItemListItemsItemDocumentSetVersionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go b/drives/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go index 0cab4772c06..e12806ced14 100644 --- a/drives/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go +++ b/drives/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go @@ -167,3 +167,7 @@ func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilde } 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 *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) { + return NewItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_document_set_versions_item_fields_request_builder.go b/drives/item_list_items_item_document_set_versions_item_fields_request_builder.go index eee1cc7c2b4..e9067ccae54 100644 --- a/drives/item_list_items_item_document_set_versions_item_fields_request_builder.go +++ b/drives/item_list_items_item_document_set_versions_item_fields_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemListItemsItemDocumentSetVersionsItemFieldsRequestBuilder) ToPatchRe } 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 *ItemListItemsItemDocumentSetVersionsItemFieldsRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemDocumentSetVersionsItemFieldsRequestBuilder) { + return NewItemListItemsItemDocumentSetVersionsItemFieldsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_document_set_versions_item_restore_request_builder.go b/drives/item_list_items_item_document_set_versions_item_restore_request_builder.go index 944b3b61267..2d0dfdbc4eb 100644 --- a/drives/item_list_items_item_document_set_versions_item_restore_request_builder.go +++ b/drives/item_list_items_item_document_set_versions_item_restore_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemListItemsItemDocumentSetVersionsItemRestoreRequestBuilder) ToPostRe } 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 *ItemListItemsItemDocumentSetVersionsItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemDocumentSetVersionsItemRestoreRequestBuilder) { + return NewItemListItemsItemDocumentSetVersionsItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_document_set_versions_request_builder.go b/drives/item_list_items_item_document_set_versions_request_builder.go index 5beb3b93d2a..986f445aa61 100644 --- a/drives/item_list_items_item_document_set_versions_request_builder.go +++ b/drives/item_list_items_item_document_set_versions_request_builder.go @@ -46,8 +46,8 @@ type ItemListItemsItemDocumentSetVersionsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDocumentSetVersionIdString provides operations to manage the documentSetVersions property of the microsoft.graph.listItem entity. -func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) ByDocumentSetVersionIdString(documentSetVersionId string)(*ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) { +// ByDocumentSetVersionId provides operations to manage the documentSetVersions property of the microsoft.graph.listItem entity. +func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) ByDocumentSetVersionId(documentSetVersionId string)(*ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) ToPostRequestInform } 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 *ItemListItemsItemDocumentSetVersionsRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemDocumentSetVersionsRequestBuilder) { + return NewItemListItemsItemDocumentSetVersionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_drive_item_content_request_builder.go b/drives/item_list_items_item_drive_item_content_request_builder.go index d2bb3ee9433..b813a73463c 100644 --- a/drives/item_list_items_item_drive_item_content_request_builder.go +++ b/drives/item_list_items_item_drive_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemListItemsItemDriveItemContentRequestBuilder) ToPutRequestInformatio } 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 *ItemListItemsItemDriveItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemDriveItemContentRequestBuilder) { + return NewItemListItemsItemDriveItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_drive_item_request_builder.go b/drives/item_list_items_item_drive_item_request_builder.go index e22c350e100..34dae677d8e 100644 --- a/drives/item_list_items_item_drive_item_request_builder.go +++ b/drives/item_list_items_item_drive_item_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemListItemsItemDriveItemRequestBuilder) ToGetRequestInformation(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 *ItemListItemsItemDriveItemRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemDriveItemRequestBuilder) { + return NewItemListItemsItemDriveItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_fields_request_builder.go b/drives/item_list_items_item_fields_request_builder.go index 243184d5654..195ddeb3afb 100644 --- a/drives/item_list_items_item_fields_request_builder.go +++ b/drives/item_list_items_item_fields_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemListItemsItemFieldsRequestBuilder) ToPatchRequestInformation(ctx co } 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 *ItemListItemsItemFieldsRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemFieldsRequestBuilder) { + return NewItemListItemsItemFieldsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go b/drives/item_list_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go index b370673a0c0..64d80402fde 100644 --- a/drives/item_list_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go +++ b/drives/item_list_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go @@ -93,3 +93,7 @@ func (m *ItemListItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTim } 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 *ItemListItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder) { + return NewItemListItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_last_modified_by_user_mailbox_settings_request_builder.go b/drives/item_list_items_item_last_modified_by_user_mailbox_settings_request_builder.go index 8d38d3f9dd0..84790048b93 100644 --- a/drives/item_list_items_item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/drives/item_list_items_item_last_modified_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemListItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) 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 *ItemListItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewItemListItemsItemLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_last_modified_by_user_request_builder.go b/drives/item_list_items_item_last_modified_by_user_request_builder.go index 6eec74e66e4..17615704d42 100644 --- a/drives/item_list_items_item_last_modified_by_user_request_builder.go +++ b/drives/item_list_items_item_last_modified_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemListItemsItemLastModifiedByUserRequestBuilder) ToGetRequestInformat } 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 *ItemListItemsItemLastModifiedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemLastModifiedByUserRequestBuilder) { + return NewItemListItemsItemLastModifiedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_versions_count_request_builder.go b/drives/item_list_items_item_versions_count_request_builder.go index 65eb3881f89..b66b5f89f5f 100644 --- a/drives/item_list_items_item_versions_count_request_builder.go +++ b/drives/item_list_items_item_versions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListItemsItemVersionsCountRequestBuilder) ToGetRequestInformation(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 *ItemListItemsItemVersionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemVersionsCountRequestBuilder) { + return NewItemListItemsItemVersionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_versions_item_fields_request_builder.go b/drives/item_list_items_item_versions_item_fields_request_builder.go index 9ce58d9e52f..b4dac08484c 100644 --- a/drives/item_list_items_item_versions_item_fields_request_builder.go +++ b/drives/item_list_items_item_versions_item_fields_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemListItemsItemVersionsItemFieldsRequestBuilder) ToPatchRequestInform } 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 *ItemListItemsItemVersionsItemFieldsRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemVersionsItemFieldsRequestBuilder) { + return NewItemListItemsItemVersionsItemFieldsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_versions_item_restore_version_request_builder.go b/drives/item_list_items_item_versions_item_restore_version_request_builder.go index 6c7e155f568..3604a901bc2 100644 --- a/drives/item_list_items_item_versions_item_restore_version_request_builder.go +++ b/drives/item_list_items_item_versions_item_restore_version_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemListItemsItemVersionsItemRestoreVersionRequestBuilder) ToPostReques } 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 *ItemListItemsItemVersionsItemRestoreVersionRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemVersionsItemRestoreVersionRequestBuilder) { + return NewItemListItemsItemVersionsItemRestoreVersionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_versions_list_item_version_item_request_builder.go b/drives/item_list_items_item_versions_list_item_version_item_request_builder.go index 6bdc7763133..f9e6711ef8c 100644 --- a/drives/item_list_items_item_versions_list_item_version_item_request_builder.go +++ b/drives/item_list_items_item_versions_list_item_version_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemListItemsItemVersionsListItemVersionItemRequestBuilder) ToPatchRequ } 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 *ItemListItemsItemVersionsListItemVersionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemVersionsListItemVersionItemRequestBuilder) { + return NewItemListItemsItemVersionsListItemVersionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_item_versions_request_builder.go b/drives/item_list_items_item_versions_request_builder.go index bf4b55cbdf3..2618df94559 100644 --- a/drives/item_list_items_item_versions_request_builder.go +++ b/drives/item_list_items_item_versions_request_builder.go @@ -46,8 +46,8 @@ type ItemListItemsItemVersionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByListItemVersionIdString provides operations to manage the versions property of the microsoft.graph.listItem entity. -func (m *ItemListItemsItemVersionsRequestBuilder) ByListItemVersionIdString(listItemVersionId string)(*ItemListItemsItemVersionsListItemVersionItemRequestBuilder) { +// ByListItemVersionId provides operations to manage the versions property of the microsoft.graph.listItem entity. +func (m *ItemListItemsItemVersionsRequestBuilder) ByListItemVersionId(listItemVersionId string)(*ItemListItemsItemVersionsListItemVersionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemListItemsItemVersionsRequestBuilder) ToPostRequestInformation(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 *ItemListItemsItemVersionsRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemVersionsRequestBuilder) { + return NewItemListItemsItemVersionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_list_item_item_request_builder.go b/drives/item_list_items_list_item_item_request_builder.go index 67704aa3845..8bfe5628c9c 100644 --- a/drives/item_list_items_list_item_item_request_builder.go +++ b/drives/item_list_items_list_item_item_request_builder.go @@ -199,3 +199,7 @@ func (m *ItemListItemsListItemItemRequestBuilder) ToPatchRequestInformation(ctx func (m *ItemListItemsListItemItemRequestBuilder) Versions()(*ItemListItemsItemVersionsRequestBuilder) { return NewItemListItemsItemVersionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemListItemsListItemItemRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsListItemItemRequestBuilder) { + return NewItemListItemsListItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_items_request_builder.go b/drives/item_list_items_request_builder.go index ded7f72bfb0..6c0f4e7c984 100644 --- a/drives/item_list_items_request_builder.go +++ b/drives/item_list_items_request_builder.go @@ -44,8 +44,8 @@ type ItemListItemsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByListItemIdString provides operations to manage the items property of the microsoft.graph.list entity. -func (m *ItemListItemsRequestBuilder) ByListItemIdString(listItemId string)(*ItemListItemsListItemItemRequestBuilder) { +// ByListItemId provides operations to manage the items property of the microsoft.graph.list entity. +func (m *ItemListItemsRequestBuilder) ByListItemId(listItemId string)(*ItemListItemsListItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -157,3 +157,7 @@ func (m *ItemListItemsRequestBuilder) 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 *ItemListItemsRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsRequestBuilder) { + return NewItemListItemsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_last_modified_by_user_mailbox_settings_request_builder.go b/drives/item_list_last_modified_by_user_mailbox_settings_request_builder.go index 8812140ac07..8e4d9259f67 100644 --- a/drives/item_list_last_modified_by_user_mailbox_settings_request_builder.go +++ b/drives/item_list_last_modified_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemListLastModifiedByUserMailboxSettingsRequestBuilder) ToPatchRequest } 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 *ItemListLastModifiedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemListLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewItemListLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_last_modified_by_user_request_builder.go b/drives/item_list_last_modified_by_user_request_builder.go index 31dd276b61e..2ddcdefcb49 100644 --- a/drives/item_list_last_modified_by_user_request_builder.go +++ b/drives/item_list_last_modified_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemListLastModifiedByUserRequestBuilder) ToGetRequestInformation(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 *ItemListLastModifiedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemListLastModifiedByUserRequestBuilder) { + return NewItemListLastModifiedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_operations_count_request_builder.go b/drives/item_list_operations_count_request_builder.go index 2d1a5f1988d..f84a6e11c22 100644 --- a/drives/item_list_operations_count_request_builder.go +++ b/drives/item_list_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListOperationsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemListOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListOperationsCountRequestBuilder) { + return NewItemListOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_operations_request_builder.go b/drives/item_list_operations_request_builder.go index e43fae56064..7533814aeef 100644 --- a/drives/item_list_operations_request_builder.go +++ b/drives/item_list_operations_request_builder.go @@ -46,8 +46,8 @@ type ItemListOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRichLongRunningOperationIdString provides operations to manage the operations property of the microsoft.graph.list entity. -func (m *ItemListOperationsRequestBuilder) ByRichLongRunningOperationIdString(richLongRunningOperationId string)(*ItemListOperationsRichLongRunningOperationItemRequestBuilder) { +// ByRichLongRunningOperationId provides operations to manage the operations property of the microsoft.graph.list entity. +func (m *ItemListOperationsRequestBuilder) ByRichLongRunningOperationId(richLongRunningOperationId string)(*ItemListOperationsRichLongRunningOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemListOperationsRequestBuilder) 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 *ItemListOperationsRequestBuilder) WithUrl(rawUrl string)(*ItemListOperationsRequestBuilder) { + return NewItemListOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_operations_rich_long_running_operation_item_request_builder.go b/drives/item_list_operations_rich_long_running_operation_item_request_builder.go index 5af4ec88871..653a5f5aac2 100644 --- a/drives/item_list_operations_rich_long_running_operation_item_request_builder.go +++ b/drives/item_list_operations_rich_long_running_operation_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemListOperationsRichLongRunningOperationItemRequestBuilder) ToPatchRe } 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 *ItemListOperationsRichLongRunningOperationItemRequestBuilder) WithUrl(rawUrl string)(*ItemListOperationsRichLongRunningOperationItemRequestBuilder) { + return NewItemListOperationsRichLongRunningOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_request_builder.go b/drives/item_list_request_builder.go index 01f9036628e..576e309af14 100644 --- a/drives/item_list_request_builder.go +++ b/drives/item_list_request_builder.go @@ -189,3 +189,7 @@ func (m *ItemListRequestBuilder) ToPatchRequestInformation(ctx context.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 *ItemListRequestBuilder) WithUrl(rawUrl string)(*ItemListRequestBuilder) { + return NewItemListRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_subscriptions_count_request_builder.go b/drives/item_list_subscriptions_count_request_builder.go index bae851274f4..1e64667e320 100644 --- a/drives/item_list_subscriptions_count_request_builder.go +++ b/drives/item_list_subscriptions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListSubscriptionsCountRequestBuilder) ToGetRequestInformation(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 *ItemListSubscriptionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListSubscriptionsCountRequestBuilder) { + return NewItemListSubscriptionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_subscriptions_item_reauthorize_request_builder.go b/drives/item_list_subscriptions_item_reauthorize_request_builder.go index 9b0633c4cc5..cc83d410582 100644 --- a/drives/item_list_subscriptions_item_reauthorize_request_builder.go +++ b/drives/item_list_subscriptions_item_reauthorize_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemListSubscriptionsItemReauthorizeRequestBuilder) ToPostRequestInform } 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 *ItemListSubscriptionsItemReauthorizeRequestBuilder) WithUrl(rawUrl string)(*ItemListSubscriptionsItemReauthorizeRequestBuilder) { + return NewItemListSubscriptionsItemReauthorizeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_subscriptions_request_builder.go b/drives/item_list_subscriptions_request_builder.go index b769c401d8c..69204ab7f7c 100644 --- a/drives/item_list_subscriptions_request_builder.go +++ b/drives/item_list_subscriptions_request_builder.go @@ -46,8 +46,8 @@ type ItemListSubscriptionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySubscriptionIdString provides operations to manage the subscriptions property of the microsoft.graph.list entity. -func (m *ItemListSubscriptionsRequestBuilder) BySubscriptionIdString(subscriptionId string)(*ItemListSubscriptionsSubscriptionItemRequestBuilder) { +// BySubscriptionId provides operations to manage the subscriptions property of the microsoft.graph.list entity. +func (m *ItemListSubscriptionsRequestBuilder) BySubscriptionId(subscriptionId string)(*ItemListSubscriptionsSubscriptionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemListSubscriptionsRequestBuilder) 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 *ItemListSubscriptionsRequestBuilder) WithUrl(rawUrl string)(*ItemListSubscriptionsRequestBuilder) { + return NewItemListSubscriptionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_list_subscriptions_subscription_item_request_builder.go b/drives/item_list_subscriptions_subscription_item_request_builder.go index 3660867d4bf..ed8ab025753 100644 --- a/drives/item_list_subscriptions_subscription_item_request_builder.go +++ b/drives/item_list_subscriptions_subscription_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemListSubscriptionsSubscriptionItemRequestBuilder) 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 *ItemListSubscriptionsSubscriptionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListSubscriptionsSubscriptionItemRequestBuilder) { + return NewItemListSubscriptionsSubscriptionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_recent_request_builder.go b/drives/item_recent_request_builder.go index 87b065a5c2a..f151c136cbc 100644 --- a/drives/item_recent_request_builder.go +++ b/drives/item_recent_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemRecentRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemRecentRequestBuilder) WithUrl(rawUrl string)(*ItemRecentRequestBuilder) { + return NewItemRecentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_root_content_request_builder.go b/drives/item_root_content_request_builder.go index 664cdb805ea..aeb58ddd9a5 100644 --- a/drives/item_root_content_request_builder.go +++ b/drives/item_root_content_request_builder.go @@ -105,3 +105,7 @@ func (m *ItemRootContentRequestBuilder) ToPutRequestInformation(ctx context.Cont } 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 *ItemRootContentRequestBuilder) WithUrl(rawUrl string)(*ItemRootContentRequestBuilder) { + return NewItemRootContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_root_request_builder.go b/drives/item_root_request_builder.go index f7b68ab60b0..3e35ca2f8c5 100644 --- a/drives/item_root_request_builder.go +++ b/drives/item_root_request_builder.go @@ -82,3 +82,7 @@ func (m *ItemRootRequestBuilder) ToGetRequestInformation(ctx context.Context, re } 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 *ItemRootRequestBuilder) WithUrl(rawUrl string)(*ItemRootRequestBuilder) { + return NewItemRootRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_search_with_q_request_builder.go b/drives/item_search_with_q_request_builder.go index f46ec562773..6fc55899648 100644 --- a/drives/item_search_with_q_request_builder.go +++ b/drives/item_search_with_q_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemSearchWithQRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemSearchWithQRequestBuilder) WithUrl(rawUrl string)(*ItemSearchWithQRequestBuilder) { + return NewItemSearchWithQRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_shared_with_me_request_builder.go b/drives/item_shared_with_me_request_builder.go index 99a1ae37777..1ee3898287a 100644 --- a/drives/item_shared_with_me_request_builder.go +++ b/drives/item_shared_with_me_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemSharedWithMeRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *ItemSharedWithMeRequestBuilder) WithUrl(rawUrl string)(*ItemSharedWithMeRequestBuilder) { + return NewItemSharedWithMeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_special_count_request_builder.go b/drives/item_special_count_request_builder.go index 6b6fb19314e..5b63c00cdd3 100644 --- a/drives/item_special_count_request_builder.go +++ b/drives/item_special_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSpecialCountRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *ItemSpecialCountRequestBuilder) WithUrl(rawUrl string)(*ItemSpecialCountRequestBuilder) { + return NewItemSpecialCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_special_drive_item_item_request_builder.go b/drives/item_special_drive_item_item_request_builder.go index 26cfb6a8991..3c4d0d64c94 100644 --- a/drives/item_special_drive_item_item_request_builder.go +++ b/drives/item_special_drive_item_item_request_builder.go @@ -82,3 +82,7 @@ func (m *ItemSpecialDriveItemItemRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemSpecialDriveItemItemRequestBuilder) WithUrl(rawUrl string)(*ItemSpecialDriveItemItemRequestBuilder) { + return NewItemSpecialDriveItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_special_item_content_request_builder.go b/drives/item_special_item_content_request_builder.go index 962a41b1203..c24e52fab72 100644 --- a/drives/item_special_item_content_request_builder.go +++ b/drives/item_special_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemSpecialItemContentRequestBuilder) ToPutRequestInformation(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 *ItemSpecialItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemSpecialItemContentRequestBuilder) { + return NewItemSpecialItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_special_request_builder.go b/drives/item_special_request_builder.go index fcf810ab96c..10185452876 100644 --- a/drives/item_special_request_builder.go +++ b/drives/item_special_request_builder.go @@ -39,8 +39,8 @@ type ItemSpecialRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemSpecialRequestBuilderGetQueryParameters } -// ByDriveItemIdString provides operations to manage the special property of the microsoft.graph.drive entity. -func (m *ItemSpecialRequestBuilder) ByDriveItemIdString(driveItemId string)(*ItemSpecialDriveItemItemRequestBuilder) { +// ByDriveItemId provides operations to manage the special property of the microsoft.graph.drive entity. +func (m *ItemSpecialRequestBuilder) ByDriveItemId(driveItemId string)(*ItemSpecialDriveItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemSpecialRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemSpecialRequestBuilder) WithUrl(rawUrl string)(*ItemSpecialRequestBuilder) { + return NewItemSpecialRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_count_request_builder.go b/education/classes_count_request_builder.go index 0b3a09860a1..eff0c20dc96 100644 --- a/education/classes_count_request_builder.go +++ b/education/classes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ClassesCountRequestBuilder) ToGetRequestInformation(ctx context.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 *ClassesCountRequestBuilder) WithUrl(rawUrl string)(*ClassesCountRequestBuilder) { + return NewClassesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_delta_request_builder.go b/education/classes_delta_request_builder.go index dc99f5f22ad..341e400ef9b 100644 --- a/education/classes_delta_request_builder.go +++ b/education/classes_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ClassesDeltaRequestBuilder) ToGetRequestInformation(ctx context.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 *ClassesDeltaRequestBuilder) WithUrl(rawUrl string)(*ClassesDeltaRequestBuilder) { + return NewClassesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_education_class_item_request_builder.go b/education/classes_education_class_item_request_builder.go index 845257d5926..f304925ae20 100644 --- a/education/classes_education_class_item_request_builder.go +++ b/education/classes_education_class_item_request_builder.go @@ -198,3 +198,7 @@ func (m *ClassesEducationClassItemRequestBuilder) ToPatchRequestInformation(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 *ClassesEducationClassItemRequestBuilder) WithUrl(rawUrl string)(*ClassesEducationClassItemRequestBuilder) { + return NewClassesEducationClassItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignment_categories_count_request_builder.go b/education/classes_item_assignment_categories_count_request_builder.go index 1a6e47db6eb..84d184ff6c8 100644 --- a/education/classes_item_assignment_categories_count_request_builder.go +++ b/education/classes_item_assignment_categories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ClassesItemAssignmentCategoriesCountRequestBuilder) ToGetRequestInforma } 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 *ClassesItemAssignmentCategoriesCountRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentCategoriesCountRequestBuilder) { + return NewClassesItemAssignmentCategoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignment_categories_delta_request_builder.go b/education/classes_item_assignment_categories_delta_request_builder.go index 137b1b62055..2950934e3bd 100644 --- a/education/classes_item_assignment_categories_delta_request_builder.go +++ b/education/classes_item_assignment_categories_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ClassesItemAssignmentCategoriesDeltaRequestBuilder) ToGetRequestInforma } 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 *ClassesItemAssignmentCategoriesDeltaRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentCategoriesDeltaRequestBuilder) { + return NewClassesItemAssignmentCategoriesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignment_categories_education_category_item_request_builder.go b/education/classes_item_assignment_categories_education_category_item_request_builder.go index cacdfcc9d64..869b8034151 100644 --- a/education/classes_item_assignment_categories_education_category_item_request_builder.go +++ b/education/classes_item_assignment_categories_education_category_item_request_builder.go @@ -159,3 +159,7 @@ func (m *ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilder) 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 *ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilder) { + return NewClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignment_categories_request_builder.go b/education/classes_item_assignment_categories_request_builder.go index 2c9ed9a460b..360e674d265 100644 --- a/education/classes_item_assignment_categories_request_builder.go +++ b/education/classes_item_assignment_categories_request_builder.go @@ -46,8 +46,8 @@ type ClassesItemAssignmentCategoriesRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationCategoryIdString provides operations to manage the assignmentCategories property of the microsoft.graph.educationClass entity. -func (m *ClassesItemAssignmentCategoriesRequestBuilder) ByEducationCategoryIdString(educationCategoryId string)(*ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilder) { +// ByEducationCategoryId provides operations to manage the assignmentCategories property of the microsoft.graph.educationClass entity. +func (m *ClassesItemAssignmentCategoriesRequestBuilder) ByEducationCategoryId(educationCategoryId string)(*ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ClassesItemAssignmentCategoriesRequestBuilder) 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 *ClassesItemAssignmentCategoriesRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentCategoriesRequestBuilder) { + return NewClassesItemAssignmentCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignment_defaults_request_builder.go b/education/classes_item_assignment_defaults_request_builder.go index fa0f281a6c7..3cd1f0ab56e 100644 --- a/education/classes_item_assignment_defaults_request_builder.go +++ b/education/classes_item_assignment_defaults_request_builder.go @@ -159,3 +159,7 @@ func (m *ClassesItemAssignmentDefaultsRequestBuilder) 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 *ClassesItemAssignmentDefaultsRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentDefaultsRequestBuilder) { + return NewClassesItemAssignmentDefaultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignment_settings_grading_categories_count_request_builder.go b/education/classes_item_assignment_settings_grading_categories_count_request_builder.go index 16fc43c8837..2d7e283605d 100644 --- a/education/classes_item_assignment_settings_grading_categories_count_request_builder.go +++ b/education/classes_item_assignment_settings_grading_categories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ClassesItemAssignmentSettingsGradingCategoriesCountRequestBuilder) ToGe } 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 *ClassesItemAssignmentSettingsGradingCategoriesCountRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentSettingsGradingCategoriesCountRequestBuilder) { + return NewClassesItemAssignmentSettingsGradingCategoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignment_settings_grading_categories_education_grading_category_item_request_builder.go b/education/classes_item_assignment_settings_grading_categories_education_grading_category_item_request_builder.go index 7165e8f51c7..da507217bc7 100644 --- a/education/classes_item_assignment_settings_grading_categories_education_grading_category_item_request_builder.go +++ b/education/classes_item_assignment_settings_grading_categories_education_grading_category_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ClassesItemAssignmentSettingsGradingCategoriesEducationGradingCategoryI } 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 *ClassesItemAssignmentSettingsGradingCategoriesEducationGradingCategoryItemRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentSettingsGradingCategoriesEducationGradingCategoryItemRequestBuilder) { + return NewClassesItemAssignmentSettingsGradingCategoriesEducationGradingCategoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignment_settings_grading_categories_request_builder.go b/education/classes_item_assignment_settings_grading_categories_request_builder.go index dac69985c9c..8a09ac09d9f 100644 --- a/education/classes_item_assignment_settings_grading_categories_request_builder.go +++ b/education/classes_item_assignment_settings_grading_categories_request_builder.go @@ -46,8 +46,8 @@ type ClassesItemAssignmentSettingsGradingCategoriesRequestBuilderPostRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationGradingCategoryIdString provides operations to manage the gradingCategories property of the microsoft.graph.educationAssignmentSettings entity. -func (m *ClassesItemAssignmentSettingsGradingCategoriesRequestBuilder) ByEducationGradingCategoryIdString(educationGradingCategoryId string)(*ClassesItemAssignmentSettingsGradingCategoriesEducationGradingCategoryItemRequestBuilder) { +// ByEducationGradingCategoryId provides operations to manage the gradingCategories property of the microsoft.graph.educationAssignmentSettings entity. +func (m *ClassesItemAssignmentSettingsGradingCategoriesRequestBuilder) ByEducationGradingCategoryId(educationGradingCategoryId string)(*ClassesItemAssignmentSettingsGradingCategoriesEducationGradingCategoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ClassesItemAssignmentSettingsGradingCategoriesRequestBuilder) ToPostReq } 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 *ClassesItemAssignmentSettingsGradingCategoriesRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentSettingsGradingCategoriesRequestBuilder) { + return NewClassesItemAssignmentSettingsGradingCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignment_settings_request_builder.go b/education/classes_item_assignment_settings_request_builder.go index a6e675b7e93..b5193b323c3 100644 --- a/education/classes_item_assignment_settings_request_builder.go +++ b/education/classes_item_assignment_settings_request_builder.go @@ -163,3 +163,7 @@ func (m *ClassesItemAssignmentSettingsRequestBuilder) 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 *ClassesItemAssignmentSettingsRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentSettingsRequestBuilder) { + return NewClassesItemAssignmentSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_count_request_builder.go b/education/classes_item_assignments_count_request_builder.go index 9a65c01c2dd..aa23e0c4a8f 100644 --- a/education/classes_item_assignments_count_request_builder.go +++ b/education/classes_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ClassesItemAssignmentsCountRequestBuilder) ToGetRequestInformation(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 *ClassesItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsCountRequestBuilder) { + return NewClassesItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_delta_request_builder.go b/education/classes_item_assignments_delta_request_builder.go index 50d74b22f3c..902392d979e 100644 --- a/education/classes_item_assignments_delta_request_builder.go +++ b/education/classes_item_assignments_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ClassesItemAssignmentsDeltaRequestBuilder) ToGetRequestInformation(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 *ClassesItemAssignmentsDeltaRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsDeltaRequestBuilder) { + return NewClassesItemAssignmentsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_education_assignment_item_request_builder.go b/education/classes_item_assignments_education_assignment_item_request_builder.go index 305438a120d..39818db4f80 100644 --- a/education/classes_item_assignments_education_assignment_item_request_builder.go +++ b/education/classes_item_assignments_education_assignment_item_request_builder.go @@ -111,7 +111,7 @@ func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) Get(ctx co func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) GradingCategory()(*ClassesItemAssignmentsItemGradingCategoryRequestBuilder) { return NewClassesItemAssignmentsItemGradingCategoryRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update an educationAssignment object. Only teachers in the class can do this. Note that you can't use a PATCH request to change the status of an assignment. Use the publish action to change the assignment status. +// Patch update an educationAssignment object. Only teachers in the class can do this. You can't use a PATCH request to change the status of an assignment. Use the publish action to change the assignment status. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-update?view=graph-rest-1.0 @@ -185,7 +185,7 @@ func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) ToGetReque } return requestInfo, nil } -// ToPatchRequestInformation update an educationAssignment object. Only teachers in the class can do this. Note that you can't use a PATCH request to change the status of an assignment. Use the publish action to change the assignment status. +// ToPatchRequestInformation update an educationAssignment object. Only teachers in the class can do this. You can't use a PATCH request to change the status of an assignment. Use the publish action to change the assignment status. func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, requestConfiguration *ClassesItemAssignmentsEducationAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -202,3 +202,7 @@ func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) ToPatchReq } 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 *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) { + return NewClassesItemAssignmentsEducationAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_activate_request_builder.go b/education/classes_item_assignments_item_activate_request_builder.go index 099d11602e5..e7e50afe914 100644 --- a/education/classes_item_assignments_item_activate_request_builder.go +++ b/education/classes_item_assignments_item_activate_request_builder.go @@ -66,3 +66,7 @@ func (m *ClassesItemAssignmentsItemActivateRequestBuilder) ToPostRequestInformat } 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 *ClassesItemAssignmentsItemActivateRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemActivateRequestBuilder) { + return NewClassesItemAssignmentsItemActivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_categories_count_request_builder.go b/education/classes_item_assignments_item_categories_count_request_builder.go index 743ad9d91f8..c1c9166eca0 100644 --- a/education/classes_item_assignments_item_categories_count_request_builder.go +++ b/education/classes_item_assignments_item_categories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ClassesItemAssignmentsItemCategoriesCountRequestBuilder) ToGetRequestIn } 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 *ClassesItemAssignmentsItemCategoriesCountRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemCategoriesCountRequestBuilder) { + return NewClassesItemAssignmentsItemCategoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_categories_delta_request_builder.go b/education/classes_item_assignments_item_categories_delta_request_builder.go index fb003cdb03b..5f577822f05 100644 --- a/education/classes_item_assignments_item_categories_delta_request_builder.go +++ b/education/classes_item_assignments_item_categories_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ClassesItemAssignmentsItemCategoriesDeltaRequestBuilder) ToGetRequestIn } 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 *ClassesItemAssignmentsItemCategoriesDeltaRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemCategoriesDeltaRequestBuilder) { + return NewClassesItemAssignmentsItemCategoriesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_categories_item_ref_request_builder.go b/education/classes_item_assignments_item_categories_item_ref_request_builder.go index cbae3ea005b..c20bc27a4f6 100644 --- a/education/classes_item_assignments_item_categories_item_ref_request_builder.go +++ b/education/classes_item_assignments_item_categories_item_ref_request_builder.go @@ -68,3 +68,7 @@ func (m *ClassesItemAssignmentsItemCategoriesItemRefRequestBuilder) ToDeleteRequ } 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 *ClassesItemAssignmentsItemCategoriesItemRefRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemCategoriesItemRefRequestBuilder) { + return NewClassesItemAssignmentsItemCategoriesItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_categories_ref_request_builder.go b/education/classes_item_assignments_item_categories_ref_request_builder.go index 6bc56d604ed..fa09c02eea6 100644 --- a/education/classes_item_assignments_item_categories_ref_request_builder.go +++ b/education/classes_item_assignments_item_categories_ref_request_builder.go @@ -125,3 +125,7 @@ func (m *ClassesItemAssignmentsItemCategoriesRefRequestBuilder) ToPostRequestInf } 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 *ClassesItemAssignmentsItemCategoriesRefRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemCategoriesRefRequestBuilder) { + return NewClassesItemAssignmentsItemCategoriesRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_categories_request_builder.go b/education/classes_item_assignments_item_categories_request_builder.go index fc96e32a6c4..149488025cd 100644 --- a/education/classes_item_assignments_item_categories_request_builder.go +++ b/education/classes_item_assignments_item_categories_request_builder.go @@ -46,8 +46,8 @@ type ClassesItemAssignmentsItemCategoriesRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationCategoryIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.education.classes.item.assignments.item.categories.item collection -func (m *ClassesItemAssignmentsItemCategoriesRequestBuilder) ByEducationCategoryIdString(educationCategoryId string)(*ClassesItemAssignmentsItemCategoriesEducationCategoryItemRequestBuilder) { +// ByEducationCategoryId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.education.classes.item.assignments.item.categories.item collection +func (m *ClassesItemAssignmentsItemCategoriesRequestBuilder) ByEducationCategoryId(educationCategoryId string)(*ClassesItemAssignmentsItemCategoriesEducationCategoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *ClassesItemAssignmentsItemCategoriesRequestBuilder) ToPostRequestInform } 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 *ClassesItemAssignmentsItemCategoriesRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemCategoriesRequestBuilder) { + return NewClassesItemAssignmentsItemCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_deactivate_request_builder.go b/education/classes_item_assignments_item_deactivate_request_builder.go index 4da5b540347..2a4c3f3138a 100644 --- a/education/classes_item_assignments_item_deactivate_request_builder.go +++ b/education/classes_item_assignments_item_deactivate_request_builder.go @@ -66,3 +66,7 @@ func (m *ClassesItemAssignmentsItemDeactivateRequestBuilder) ToPostRequestInform } 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 *ClassesItemAssignmentsItemDeactivateRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemDeactivateRequestBuilder) { + return NewClassesItemAssignmentsItemDeactivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_grading_category_request_builder.go b/education/classes_item_assignments_item_grading_category_request_builder.go index 8b30cd0a02f..dec582ac293 100644 --- a/education/classes_item_assignments_item_grading_category_request_builder.go +++ b/education/classes_item_assignments_item_grading_category_request_builder.go @@ -113,3 +113,7 @@ func (m *ClassesItemAssignmentsItemGradingCategoryRequestBuilder) ToGetRequestIn } 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 *ClassesItemAssignmentsItemGradingCategoryRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemGradingCategoryRequestBuilder) { + return NewClassesItemAssignmentsItemGradingCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_publish_request_builder.go b/education/classes_item_assignments_item_publish_request_builder.go index 49e34fe76bd..a2ee9db978c 100644 --- a/education/classes_item_assignments_item_publish_request_builder.go +++ b/education/classes_item_assignments_item_publish_request_builder.go @@ -66,3 +66,7 @@ func (m *ClassesItemAssignmentsItemPublishRequestBuilder) ToPostRequestInformati } 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 *ClassesItemAssignmentsItemPublishRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemPublishRequestBuilder) { + return NewClassesItemAssignmentsItemPublishRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_resources_count_request_builder.go b/education/classes_item_assignments_item_resources_count_request_builder.go index 617d1c738fd..c43be59cb0a 100644 --- a/education/classes_item_assignments_item_resources_count_request_builder.go +++ b/education/classes_item_assignments_item_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ClassesItemAssignmentsItemResourcesCountRequestBuilder) ToGetRequestInf } 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 *ClassesItemAssignmentsItemResourcesCountRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemResourcesCountRequestBuilder) { + return NewClassesItemAssignmentsItemResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_resources_education_assignment_resource_item_request_builder.go b/education/classes_item_assignments_item_resources_education_assignment_resource_item_request_builder.go index 1c8be2299f6..a29a817ebf8 100644 --- a/education/classes_item_assignments_item_resources_education_assignment_resource_item_request_builder.go +++ b/education/classes_item_assignments_item_resources_education_assignment_resource_item_request_builder.go @@ -73,6 +73,10 @@ func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemReque } return nil } +// DependentResources provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) DependentResources()(*ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + return NewClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. // [Find more info here] // @@ -159,3 +163,7 @@ func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemReque } 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 *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) { + return NewClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_resources_item_dependent_resources_count_request_builder.go b/education/classes_item_assignments_item_resources_item_dependent_resources_count_request_builder.go new file mode 100644 index 00000000000..d017241bfdf --- /dev/null +++ b/education/classes_item_assignments_item_resources_item_dependent_resources_count_request_builder.go @@ -0,0 +1,80 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder provides operations to count the resources in the collection. +type ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters get the number of the resource +type ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +} +// NewClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + m := &ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_resources_item_dependent_resources_education_assignment_resource_item_request_builder.go b/education/classes_item_assignments_item_resources_item_dependent_resources_education_assignment_resource_item_request_builder.go new file mode 100644 index 00000000000..7d98b88c057 --- /dev/null +++ b/education/classes_item_assignments_item_resources_item_dependent_resources_education_assignment_resource_item_request_builder.go @@ -0,0 +1,159 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +type ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters get dependentResources from education +type ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters +} +// ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal instantiates a new EducationAssignmentResourceItemRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + m := &ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources/{educationAssignmentResource%2Did1}{?%24select,%24expand}", pathParameters), + } + return m +} +// NewClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder instantiates a new EducationAssignmentResourceItemRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dependentResources for education +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get dependentResources from education +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationAssignmentResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable), nil +} +// Patch update the navigation property dependentResources in education +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationAssignmentResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable), nil +} +// ToDeleteRequestInformation delete navigation property dependentResources for education +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToGetRequestInformation get dependentResources from education +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dependentResources in education +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH + requestInfo.Headers.Add("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + return NewClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_resources_item_dependent_resources_request_builder.go b/education/classes_item_assignments_item_resources_item_dependent_resources_request_builder.go new file mode 100644 index 00000000000..81643e31864 --- /dev/null +++ b/education/classes_item_assignments_item_resources_item_dependent_resources_request_builder.go @@ -0,0 +1,151 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +type ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters get dependentResources from education +type ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters +} +// ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEducationAssignmentResourceId1 provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) ByEducationAssignmentResourceId1(educationAssignmentResourceId1 string)(*ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if educationAssignmentResourceId1 != "" { + urlTplParams["educationAssignmentResource%2Did1"] = educationAssignmentResourceId1 + } + return NewClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal instantiates a new DependentResourcesRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + m := &ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder instantiates a new DependentResourcesRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) Count()(*ClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewClassesItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get dependentResources from education +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationAssignmentResourceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceCollectionResponseable), nil +} +// Post create new navigation property to dependentResources for education +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationAssignmentResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable), nil +} +// ToGetRequestInformation get dependentResources from education +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to dependentResources for education +func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, requestConfiguration *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.Add("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + return NewClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_resources_request_builder.go b/education/classes_item_assignments_item_resources_request_builder.go index f699756f573..90a6bee3d1c 100644 --- a/education/classes_item_assignments_item_resources_request_builder.go +++ b/education/classes_item_assignments_item_resources_request_builder.go @@ -46,8 +46,8 @@ type ClassesItemAssignmentsItemResourcesRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationAssignmentResourceIdString provides operations to manage the resources property of the microsoft.graph.educationAssignment entity. -func (m *ClassesItemAssignmentsItemResourcesRequestBuilder) ByEducationAssignmentResourceIdString(educationAssignmentResourceId string)(*ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) { +// ByEducationAssignmentResourceId provides operations to manage the resources property of the microsoft.graph.educationAssignment entity. +func (m *ClassesItemAssignmentsItemResourcesRequestBuilder) ByEducationAssignmentResourceId(educationAssignmentResourceId string)(*ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ClassesItemAssignmentsItemResourcesRequestBuilder) ToPostRequestInforma } 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 *ClassesItemAssignmentsItemResourcesRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemResourcesRequestBuilder) { + return NewClassesItemAssignmentsItemResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_rubric_ref_request_builder.go b/education/classes_item_assignments_item_rubric_ref_request_builder.go index 0972e3d0999..84c73eb6aa3 100644 --- a/education/classes_item_assignments_item_rubric_ref_request_builder.go +++ b/education/classes_item_assignments_item_rubric_ref_request_builder.go @@ -146,3 +146,7 @@ func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) ToPutRequestInformat } 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 *ClassesItemAssignmentsItemRubricRefRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemRubricRefRequestBuilder) { + return NewClassesItemAssignmentsItemRubricRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_rubric_request_builder.go b/education/classes_item_assignments_item_rubric_request_builder.go index c219b6831b3..ca46a33c543 100644 --- a/education/classes_item_assignments_item_rubric_request_builder.go +++ b/education/classes_item_assignments_item_rubric_request_builder.go @@ -166,3 +166,7 @@ func (m *ClassesItemAssignmentsItemRubricRequestBuilder) ToPatchRequestInformati } 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 *ClassesItemAssignmentsItemRubricRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemRubricRequestBuilder) { + return NewClassesItemAssignmentsItemRubricRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_set_up_feedback_resources_folder_request_builder.go b/education/classes_item_assignments_item_set_up_feedback_resources_folder_request_builder.go index c37a5c7f1ea..72a8407e946 100644 --- a/education/classes_item_assignments_item_set_up_feedback_resources_folder_request_builder.go +++ b/education/classes_item_assignments_item_set_up_feedback_resources_folder_request_builder.go @@ -66,3 +66,7 @@ func (m *ClassesItemAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilder) T } 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 *ClassesItemAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilder) { + return NewClassesItemAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_set_up_resources_folder_request_builder.go b/education/classes_item_assignments_item_set_up_resources_folder_request_builder.go index 282fe251371..59fc7385107 100644 --- a/education/classes_item_assignments_item_set_up_resources_folder_request_builder.go +++ b/education/classes_item_assignments_item_set_up_resources_folder_request_builder.go @@ -66,3 +66,7 @@ func (m *ClassesItemAssignmentsItemSetUpResourcesFolderRequestBuilder) ToPostReq } 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 *ClassesItemAssignmentsItemSetUpResourcesFolderRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSetUpResourcesFolderRequestBuilder) { + return NewClassesItemAssignmentsItemSetUpResourcesFolderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_count_request_builder.go b/education/classes_item_assignments_item_submissions_count_request_builder.go index 4545e2b45fc..9a16b0736f2 100644 --- a/education/classes_item_assignments_item_submissions_count_request_builder.go +++ b/education/classes_item_assignments_item_submissions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsCountRequestBuilder) ToGetRequestI } 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 *ClassesItemAssignmentsItemSubmissionsCountRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsCountRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_education_submission_item_request_builder.go b/education/classes_item_assignments_item_submissions_education_submission_item_request_builder.go index cc02a6ec5af..302e806092f 100644 --- a/education/classes_item_assignments_item_submissions_education_submission_item_request_builder.go +++ b/education/classes_item_assignments_item_submissions_education_submission_item_request_builder.go @@ -188,3 +188,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuil func (m *ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) Unsubmit()(*ClassesItemAssignmentsItemSubmissionsItemUnsubmitRequestBuilder) { return NewClassesItemAssignmentsItemSubmissionsItemUnsubmitRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_item_outcomes_count_request_builder.go b/education/classes_item_assignments_item_submissions_item_outcomes_count_request_builder.go index 3f455a83c70..38df8222fd5 100644 --- a/education/classes_item_assignments_item_submissions_item_outcomes_count_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_outcomes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesCountRequestBuilder) T } 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 *ClassesItemAssignmentsItemSubmissionsItemOutcomesCountRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemOutcomesCountRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemOutcomesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go b/education/classes_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go index 5595777f84a..c0caf86131b 100644 --- a/education/classes_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go @@ -159,3 +159,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRe } 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 *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_item_outcomes_request_builder.go b/education/classes_item_assignments_item_submissions_item_outcomes_request_builder.go index ee065aeb0cb..ae993698073 100644 --- a/education/classes_item_assignments_item_submissions_item_outcomes_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_outcomes_request_builder.go @@ -46,8 +46,8 @@ type ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationOutcomeIdString provides operations to manage the outcomes property of the microsoft.graph.educationSubmission entity. -func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ByEducationOutcomeIdString(educationOutcomeId string)(*ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) { +// ByEducationOutcomeId provides operations to manage the outcomes property of the microsoft.graph.educationSubmission entity. +func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ByEducationOutcomeId(educationOutcomeId string)(*ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ToPost } 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 *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_item_reassign_request_builder.go b/education/classes_item_assignments_item_submissions_item_reassign_request_builder.go index bf55f9b794b..92d44ce02f2 100644 --- a/education/classes_item_assignments_item_submissions_item_reassign_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_reassign_request_builder.go @@ -66,3 +66,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemReassignRequestBuilder) ToPost } 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 *ClassesItemAssignmentsItemSubmissionsItemReassignRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemReassignRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemReassignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_item_resources_count_request_builder.go b/education/classes_item_assignments_item_submissions_item_resources_count_request_builder.go index 83b03b1b2b8..ca085ba4204 100644 --- a/education/classes_item_assignments_item_submissions_item_resources_count_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesCountRequestBuilder) } 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 *ClassesItemAssignmentsItemSubmissionsItemResourcesCountRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemResourcesCountRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go b/education/classes_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go index 98bc32d4d38..578a9548afd 100644 --- a/education/classes_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go @@ -73,6 +73,10 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionRe } return nil } +// DependentResources provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) DependentResources()(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. // [Find more info here] // @@ -159,3 +163,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionRe } 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 *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_item_resources_item_dependent_resources_count_request_builder.go b/education/classes_item_assignments_item_submissions_item_resources_item_dependent_resources_count_request_builder.go new file mode 100644 index 00000000000..fbcdad3c5b3 --- /dev/null +++ b/education/classes_item_assignments_item_submissions_item_resources_item_dependent_resources_count_request_builder.go @@ -0,0 +1,80 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder provides operations to count the resources in the collection. +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters get the number of the resource +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +} +// NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + m := &ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_item_resources_item_dependent_resources_education_submission_resource_item_request_builder.go b/education/classes_item_assignments_item_submissions_item_resources_item_dependent_resources_education_submission_resource_item_request_builder.go new file mode 100644 index 00000000000..ee0dd4ba20f --- /dev/null +++ b/education/classes_item_assignments_item_submissions_item_resources_item_dependent_resources_education_submission_resource_item_request_builder.go @@ -0,0 +1,159 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters get dependentResources from education +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters +} +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal instantiates a new EducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + m := &ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%2Did1}{?%24select,%24expand}", pathParameters), + } + return m +} +// NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder instantiates a new EducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dependentResources for education +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get dependentResources from education +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil +} +// Patch update the navigation property dependentResources in education +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil +} +// ToDeleteRequestInformation delete navigation property dependentResources for education +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToGetRequestInformation get dependentResources from education +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dependentResources in education +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH + requestInfo.Headers.Add("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go b/education/classes_item_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go new file mode 100644 index 00000000000..a72f9438cc1 --- /dev/null +++ b/education/classes_item_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go @@ -0,0 +1,151 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters get dependentResources from education +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters +} +// ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEducationSubmissionResourceId1 provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) ByEducationSubmissionResourceId1(educationSubmissionResourceId1 string)(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if educationSubmissionResourceId1 != "" { + urlTplParams["educationSubmissionResource%2Did1"] = educationSubmissionResourceId1 + } + return NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal instantiates a new DependentResourcesRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + m := &ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder instantiates a new DependentResourcesRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) Count()(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get dependentResources from education +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceCollectionResponseable), nil +} +// Post create new navigation property to dependentResources for education +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil +} +// ToGetRequestInformation get dependentResources from education +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to dependentResources for education +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.Add("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_item_resources_request_builder.go b/education/classes_item_assignments_item_submissions_item_resources_request_builder.go index d9320658ead..b97b73629e2 100644 --- a/education/classes_item_assignments_item_submissions_item_resources_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_resources_request_builder.go @@ -46,8 +46,8 @@ type ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationSubmissionResourceIdString provides operations to manage the resources property of the microsoft.graph.educationSubmission entity. -func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) ByEducationSubmissionResourceIdString(educationSubmissionResourceId string)(*ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) { +// ByEducationSubmissionResourceId provides operations to manage the resources property of the microsoft.graph.educationSubmission entity. +func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) ByEducationSubmissionResourceId(educationSubmissionResourceId string)(*ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) ToPos } 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 *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_item_return_request_builder.go b/education/classes_item_assignments_item_submissions_item_return_request_builder.go index 09b1198978a..d2a0daea0f1 100644 --- a/education/classes_item_assignments_item_submissions_item_return_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_return_request_builder.go @@ -66,3 +66,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemReturnRequestBuilder) ToPostRe } 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 *ClassesItemAssignmentsItemSubmissionsItemReturnRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemReturnRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemReturnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go b/education/classes_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go index c0970791627..ba910a1d366 100644 --- a/education/classes_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go @@ -66,3 +66,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBui } 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 *ClassesItemAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_item_submit_request_builder.go b/education/classes_item_assignments_item_submissions_item_submit_request_builder.go index 873ec1dfc08..55b162628f7 100644 --- a/education/classes_item_assignments_item_submissions_item_submit_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_submit_request_builder.go @@ -66,3 +66,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemSubmitRequestBuilder) ToPostRe } 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 *ClassesItemAssignmentsItemSubmissionsItemSubmitRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemSubmitRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemSubmitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_item_submitted_resources_count_request_builder.go b/education/classes_item_assignments_item_submissions_item_submitted_resources_count_request_builder.go index 710b1db2326..a03ddb416be 100644 --- a/education/classes_item_assignments_item_submissions_item_submitted_resources_count_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_submitted_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesCountRequest } 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 *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesCountRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesCountRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go b/education/classes_item_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go index 936e804f5f1..e3aaea90381 100644 --- a/education/classes_item_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go @@ -70,6 +70,10 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSub } return nil } +// DependentResources provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder) DependentResources()(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get get submittedResources from education func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); @@ -153,3 +157,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSub } 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 *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_count_request_builder.go b/education/classes_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_count_request_builder.go new file mode 100644 index 00000000000..1197b76a60e --- /dev/null +++ b/education/classes_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_count_request_builder.go @@ -0,0 +1,80 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder provides operations to count the resources in the collection. +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters get the number of the resource +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +} +// NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + m := &ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_education_submission_resource_item_request_builder.go b/education/classes_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_education_submission_resource_item_request_builder.go new file mode 100644 index 00000000000..143fcf68088 --- /dev/null +++ b/education/classes_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_education_submission_resource_item_request_builder.go @@ -0,0 +1,159 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters get dependentResources from education +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters +} +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal instantiates a new EducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + m := &ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%2Did1}{?%24select,%24expand}", pathParameters), + } + return m +} +// NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder instantiates a new EducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dependentResources for education +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get dependentResources from education +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil +} +// Patch update the navigation property dependentResources in education +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil +} +// ToDeleteRequestInformation delete navigation property dependentResources for education +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToGetRequestInformation get dependentResources from education +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dependentResources in education +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH + requestInfo.Headers.Add("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go b/education/classes_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go new file mode 100644 index 00000000000..d4f9dbd140a --- /dev/null +++ b/education/classes_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go @@ -0,0 +1,151 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters get dependentResources from education +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters +} +// ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEducationSubmissionResourceId1 provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) ByEducationSubmissionResourceId1(educationSubmissionResourceId1 string)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if educationSubmissionResourceId1 != "" { + urlTplParams["educationSubmissionResource%2Did1"] = educationSubmissionResourceId1 + } + return NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal instantiates a new DependentResourcesRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + m := &ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder instantiates a new DependentResourcesRequestBuilder and sets the default values. +func NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) Count()(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get dependentResources from education +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceCollectionResponseable), nil +} +// Post create new navigation property to dependentResources for education +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil +} +// ToGetRequestInformation get dependentResources from education +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to dependentResources for education +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.Add("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_item_submitted_resources_request_builder.go b/education/classes_item_assignments_item_submissions_item_submitted_resources_request_builder.go index 8c60336806e..3a42cdb249d 100644 --- a/education/classes_item_assignments_item_submissions_item_submitted_resources_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_submitted_resources_request_builder.go @@ -46,8 +46,8 @@ type ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilderPo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationSubmissionResourceIdString provides operations to manage the submittedResources property of the microsoft.graph.educationSubmission entity. -func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder) ByEducationSubmissionResourceIdString(educationSubmissionResourceId string)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder) { +// ByEducationSubmissionResourceId provides operations to manage the submittedResources property of the microsoft.graph.educationSubmission entity. +func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder) ByEducationSubmissionResourceId(educationSubmissionResourceId string)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuild } 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 *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_item_unsubmit_request_builder.go b/education/classes_item_assignments_item_submissions_item_unsubmit_request_builder.go index 798fce149a1..e917af00e4a 100644 --- a/education/classes_item_assignments_item_submissions_item_unsubmit_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_unsubmit_request_builder.go @@ -66,3 +66,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemUnsubmitRequestBuilder) ToPost } 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 *ClassesItemAssignmentsItemSubmissionsItemUnsubmitRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsItemUnsubmitRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsItemUnsubmitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_item_submissions_request_builder.go b/education/classes_item_assignments_item_submissions_request_builder.go index 4523ce67434..7cd798a9f31 100644 --- a/education/classes_item_assignments_item_submissions_request_builder.go +++ b/education/classes_item_assignments_item_submissions_request_builder.go @@ -46,8 +46,8 @@ type ClassesItemAssignmentsItemSubmissionsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationSubmissionIdString provides operations to manage the submissions property of the microsoft.graph.educationAssignment entity. -func (m *ClassesItemAssignmentsItemSubmissionsRequestBuilder) ByEducationSubmissionIdString(educationSubmissionId string)(*ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) { +// ByEducationSubmissionId provides operations to manage the submissions property of the microsoft.graph.educationAssignment entity. +func (m *ClassesItemAssignmentsItemSubmissionsRequestBuilder) ByEducationSubmissionId(educationSubmissionId string)(*ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsRequestBuilder) ToPostRequestInfor } 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 *ClassesItemAssignmentsItemSubmissionsRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsItemSubmissionsRequestBuilder) { + return NewClassesItemAssignmentsItemSubmissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_assignments_request_builder.go b/education/classes_item_assignments_request_builder.go index 614406cb690..1ea6e903fbb 100644 --- a/education/classes_item_assignments_request_builder.go +++ b/education/classes_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type ClassesItemAssignmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.educationClass entity. -func (m *ClassesItemAssignmentsRequestBuilder) ByEducationAssignmentIdString(educationAssignmentId string)(*ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) { +// ByEducationAssignmentId provides operations to manage the assignments property of the microsoft.graph.educationClass entity. +func (m *ClassesItemAssignmentsRequestBuilder) ByEducationAssignmentId(educationAssignmentId string)(*ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ClassesItemAssignmentsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ClassesItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*ClassesItemAssignmentsRequestBuilder) { + return NewClassesItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_group_request_builder.go b/education/classes_item_group_request_builder.go index 1944cfcd0f5..8c076c16fd3 100644 --- a/education/classes_item_group_request_builder.go +++ b/education/classes_item_group_request_builder.go @@ -78,3 +78,7 @@ func (m *ClassesItemGroupRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *ClassesItemGroupRequestBuilder) WithUrl(rawUrl string)(*ClassesItemGroupRequestBuilder) { + return NewClassesItemGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_members_count_request_builder.go b/education/classes_item_members_count_request_builder.go index d4bc9130c0e..fb78f3b733f 100644 --- a/education/classes_item_members_count_request_builder.go +++ b/education/classes_item_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ClassesItemMembersCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ClassesItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*ClassesItemMembersCountRequestBuilder) { + return NewClassesItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_members_item_ref_request_builder.go b/education/classes_item_members_item_ref_request_builder.go index 7484f86517e..19d9b6fb0f8 100644 --- a/education/classes_item_members_item_ref_request_builder.go +++ b/education/classes_item_members_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *ClassesItemMembersItemRefRequestBuilder) ToDeleteRequestInformation(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 *ClassesItemMembersItemRefRequestBuilder) WithUrl(rawUrl string)(*ClassesItemMembersItemRefRequestBuilder) { + return NewClassesItemMembersItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_members_ref_request_builder.go b/education/classes_item_members_ref_request_builder.go index 0a022cff9c5..06439a8eda8 100644 --- a/education/classes_item_members_ref_request_builder.go +++ b/education/classes_item_members_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *ClassesItemMembersRefRequestBuilder) 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 *ClassesItemMembersRefRequestBuilder) WithUrl(rawUrl string)(*ClassesItemMembersRefRequestBuilder) { + return NewClassesItemMembersRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_members_request_builder.go b/education/classes_item_members_request_builder.go index b22b1331313..f8c68b071f7 100644 --- a/education/classes_item_members_request_builder.go +++ b/education/classes_item_members_request_builder.go @@ -39,8 +39,8 @@ type ClassesItemMembersRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ClassesItemMembersRequestBuilderGetQueryParameters } -// ByEducationUserIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.education.classes.item.members.item collection -func (m *ClassesItemMembersRequestBuilder) ByEducationUserIdString(educationUserId string)(*ClassesItemMembersEducationUserItemRequestBuilder) { +// ByEducationUserId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.education.classes.item.members.item collection +func (m *ClassesItemMembersRequestBuilder) ByEducationUserId(educationUserId string)(*ClassesItemMembersEducationUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ClassesItemMembersRequestBuilder) 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 *ClassesItemMembersRequestBuilder) WithUrl(rawUrl string)(*ClassesItemMembersRequestBuilder) { + return NewClassesItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_modules_count_request_builder.go b/education/classes_item_modules_count_request_builder.go index 7c4fcba0ed2..4b906dbab3e 100644 --- a/education/classes_item_modules_count_request_builder.go +++ b/education/classes_item_modules_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ClassesItemModulesCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ClassesItemModulesCountRequestBuilder) WithUrl(rawUrl string)(*ClassesItemModulesCountRequestBuilder) { + return NewClassesItemModulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_modules_education_module_item_request_builder.go b/education/classes_item_modules_education_module_item_request_builder.go index a8675fa36f4..e797636df47 100644 --- a/education/classes_item_modules_education_module_item_request_builder.go +++ b/education/classes_item_modules_education_module_item_request_builder.go @@ -182,3 +182,7 @@ func (m *ClassesItemModulesEducationModuleItemRequestBuilder) ToPatchRequestInfo func (m *ClassesItemModulesEducationModuleItemRequestBuilder) Unpin()(*ClassesItemModulesItemUnpinRequestBuilder) { return NewClassesItemModulesItemUnpinRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ClassesItemModulesEducationModuleItemRequestBuilder) WithUrl(rawUrl string)(*ClassesItemModulesEducationModuleItemRequestBuilder) { + return NewClassesItemModulesEducationModuleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_modules_item_pin_request_builder.go b/education/classes_item_modules_item_pin_request_builder.go index ead72096b1e..a52d182040a 100644 --- a/education/classes_item_modules_item_pin_request_builder.go +++ b/education/classes_item_modules_item_pin_request_builder.go @@ -66,3 +66,7 @@ func (m *ClassesItemModulesItemPinRequestBuilder) ToPostRequestInformation(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 *ClassesItemModulesItemPinRequestBuilder) WithUrl(rawUrl string)(*ClassesItemModulesItemPinRequestBuilder) { + return NewClassesItemModulesItemPinRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_modules_item_publish_request_builder.go b/education/classes_item_modules_item_publish_request_builder.go index 4802a517b2b..e84b12bd920 100644 --- a/education/classes_item_modules_item_publish_request_builder.go +++ b/education/classes_item_modules_item_publish_request_builder.go @@ -66,3 +66,7 @@ func (m *ClassesItemModulesItemPublishRequestBuilder) ToPostRequestInformation(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 *ClassesItemModulesItemPublishRequestBuilder) WithUrl(rawUrl string)(*ClassesItemModulesItemPublishRequestBuilder) { + return NewClassesItemModulesItemPublishRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_modules_item_resources_count_request_builder.go b/education/classes_item_modules_item_resources_count_request_builder.go index 076edf12c9c..586eea0850a 100644 --- a/education/classes_item_modules_item_resources_count_request_builder.go +++ b/education/classes_item_modules_item_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ClassesItemModulesItemResourcesCountRequestBuilder) ToGetRequestInforma } 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 *ClassesItemModulesItemResourcesCountRequestBuilder) WithUrl(rawUrl string)(*ClassesItemModulesItemResourcesCountRequestBuilder) { + return NewClassesItemModulesItemResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_modules_item_resources_education_module_resource_item_request_builder.go b/education/classes_item_modules_item_resources_education_module_resource_item_request_builder.go index 440923747ab..66812e08d92 100644 --- a/education/classes_item_modules_item_resources_education_module_resource_item_request_builder.go +++ b/education/classes_item_modules_item_resources_education_module_resource_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilde } 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 *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilder) WithUrl(rawUrl string)(*ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilder) { + return NewClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_modules_item_resources_request_builder.go b/education/classes_item_modules_item_resources_request_builder.go index 5cd32e09bf5..69d46f5abea 100644 --- a/education/classes_item_modules_item_resources_request_builder.go +++ b/education/classes_item_modules_item_resources_request_builder.go @@ -46,8 +46,8 @@ type ClassesItemModulesItemResourcesRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationModuleResourceIdString provides operations to manage the resources property of the microsoft.graph.educationModule entity. -func (m *ClassesItemModulesItemResourcesRequestBuilder) ByEducationModuleResourceIdString(educationModuleResourceId string)(*ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilder) { +// ByEducationModuleResourceId provides operations to manage the resources property of the microsoft.graph.educationModule entity. +func (m *ClassesItemModulesItemResourcesRequestBuilder) ByEducationModuleResourceId(educationModuleResourceId string)(*ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ClassesItemModulesItemResourcesRequestBuilder) 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 *ClassesItemModulesItemResourcesRequestBuilder) WithUrl(rawUrl string)(*ClassesItemModulesItemResourcesRequestBuilder) { + return NewClassesItemModulesItemResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_modules_item_set_up_resources_folder_request_builder.go b/education/classes_item_modules_item_set_up_resources_folder_request_builder.go index e3aad1f1085..5bbd9be2cf1 100644 --- a/education/classes_item_modules_item_set_up_resources_folder_request_builder.go +++ b/education/classes_item_modules_item_set_up_resources_folder_request_builder.go @@ -66,3 +66,7 @@ func (m *ClassesItemModulesItemSetUpResourcesFolderRequestBuilder) ToPostRequest } 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 *ClassesItemModulesItemSetUpResourcesFolderRequestBuilder) WithUrl(rawUrl string)(*ClassesItemModulesItemSetUpResourcesFolderRequestBuilder) { + return NewClassesItemModulesItemSetUpResourcesFolderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_modules_item_unpin_request_builder.go b/education/classes_item_modules_item_unpin_request_builder.go index 528bb35b8e7..432705d0b63 100644 --- a/education/classes_item_modules_item_unpin_request_builder.go +++ b/education/classes_item_modules_item_unpin_request_builder.go @@ -66,3 +66,7 @@ func (m *ClassesItemModulesItemUnpinRequestBuilder) 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 *ClassesItemModulesItemUnpinRequestBuilder) WithUrl(rawUrl string)(*ClassesItemModulesItemUnpinRequestBuilder) { + return NewClassesItemModulesItemUnpinRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_modules_request_builder.go b/education/classes_item_modules_request_builder.go index bc2b7a99304..4972167a90f 100644 --- a/education/classes_item_modules_request_builder.go +++ b/education/classes_item_modules_request_builder.go @@ -46,8 +46,8 @@ type ClassesItemModulesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationModuleIdString provides operations to manage the modules property of the microsoft.graph.educationClass entity. -func (m *ClassesItemModulesRequestBuilder) ByEducationModuleIdString(educationModuleId string)(*ClassesItemModulesEducationModuleItemRequestBuilder) { +// ByEducationModuleId provides operations to manage the modules property of the microsoft.graph.educationClass entity. +func (m *ClassesItemModulesRequestBuilder) ByEducationModuleId(educationModuleId string)(*ClassesItemModulesEducationModuleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ClassesItemModulesRequestBuilder) 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 *ClassesItemModulesRequestBuilder) WithUrl(rawUrl string)(*ClassesItemModulesRequestBuilder) { + return NewClassesItemModulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_schools_count_request_builder.go b/education/classes_item_schools_count_request_builder.go index a2440fed7a4..2d1c0fbd7f1 100644 --- a/education/classes_item_schools_count_request_builder.go +++ b/education/classes_item_schools_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ClassesItemSchoolsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ClassesItemSchoolsCountRequestBuilder) WithUrl(rawUrl string)(*ClassesItemSchoolsCountRequestBuilder) { + return NewClassesItemSchoolsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_schools_education_school_item_request_builder.go b/education/classes_item_schools_education_school_item_request_builder.go index 47d76957ad4..a52fff49121 100644 --- a/education/classes_item_schools_education_school_item_request_builder.go +++ b/education/classes_item_schools_education_school_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ClassesItemSchoolsEducationSchoolItemRequestBuilder) ToGetRequestInform } 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 *ClassesItemSchoolsEducationSchoolItemRequestBuilder) WithUrl(rawUrl string)(*ClassesItemSchoolsEducationSchoolItemRequestBuilder) { + return NewClassesItemSchoolsEducationSchoolItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_schools_request_builder.go b/education/classes_item_schools_request_builder.go index 55fc3bcbf3e..1cf8e78fada 100644 --- a/education/classes_item_schools_request_builder.go +++ b/education/classes_item_schools_request_builder.go @@ -39,8 +39,8 @@ type ClassesItemSchoolsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ClassesItemSchoolsRequestBuilderGetQueryParameters } -// ByEducationSchoolIdString provides operations to manage the schools property of the microsoft.graph.educationClass entity. -func (m *ClassesItemSchoolsRequestBuilder) ByEducationSchoolIdString(educationSchoolId string)(*ClassesItemSchoolsEducationSchoolItemRequestBuilder) { +// ByEducationSchoolId provides operations to manage the schools property of the microsoft.graph.educationClass entity. +func (m *ClassesItemSchoolsRequestBuilder) ByEducationSchoolId(educationSchoolId string)(*ClassesItemSchoolsEducationSchoolItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ClassesItemSchoolsRequestBuilder) 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 *ClassesItemSchoolsRequestBuilder) WithUrl(rawUrl string)(*ClassesItemSchoolsRequestBuilder) { + return NewClassesItemSchoolsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_teachers_count_request_builder.go b/education/classes_item_teachers_count_request_builder.go index 022b1e81f94..2b7e4eca186 100644 --- a/education/classes_item_teachers_count_request_builder.go +++ b/education/classes_item_teachers_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ClassesItemTeachersCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ClassesItemTeachersCountRequestBuilder) WithUrl(rawUrl string)(*ClassesItemTeachersCountRequestBuilder) { + return NewClassesItemTeachersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_teachers_item_ref_request_builder.go b/education/classes_item_teachers_item_ref_request_builder.go index 09d2b2c62a2..0f52c5c00ba 100644 --- a/education/classes_item_teachers_item_ref_request_builder.go +++ b/education/classes_item_teachers_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *ClassesItemTeachersItemRefRequestBuilder) ToDeleteRequestInformation(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 *ClassesItemTeachersItemRefRequestBuilder) WithUrl(rawUrl string)(*ClassesItemTeachersItemRefRequestBuilder) { + return NewClassesItemTeachersItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_teachers_ref_request_builder.go b/education/classes_item_teachers_ref_request_builder.go index f8100865dfd..75709981697 100644 --- a/education/classes_item_teachers_ref_request_builder.go +++ b/education/classes_item_teachers_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *ClassesItemTeachersRefRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ClassesItemTeachersRefRequestBuilder) WithUrl(rawUrl string)(*ClassesItemTeachersRefRequestBuilder) { + return NewClassesItemTeachersRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_item_teachers_request_builder.go b/education/classes_item_teachers_request_builder.go index 758ba994296..5eda50fcad3 100644 --- a/education/classes_item_teachers_request_builder.go +++ b/education/classes_item_teachers_request_builder.go @@ -39,8 +39,8 @@ type ClassesItemTeachersRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ClassesItemTeachersRequestBuilderGetQueryParameters } -// ByEducationUserIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.education.classes.item.teachers.item collection -func (m *ClassesItemTeachersRequestBuilder) ByEducationUserIdString(educationUserId string)(*ClassesItemTeachersEducationUserItemRequestBuilder) { +// ByEducationUserId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.education.classes.item.teachers.item collection +func (m *ClassesItemTeachersRequestBuilder) ByEducationUserId(educationUserId string)(*ClassesItemTeachersEducationUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ClassesItemTeachersRequestBuilder) ToGetRequestInformation(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 *ClassesItemTeachersRequestBuilder) WithUrl(rawUrl string)(*ClassesItemTeachersRequestBuilder) { + return NewClassesItemTeachersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/classes_request_builder.go b/education/classes_request_builder.go index ebebb1488d7..7d38e06a1f8 100644 --- a/education/classes_request_builder.go +++ b/education/classes_request_builder.go @@ -46,8 +46,8 @@ type ClassesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationClassIdString provides operations to manage the classes property of the microsoft.graph.educationRoot entity. -func (m *ClassesRequestBuilder) ByEducationClassIdString(educationClassId string)(*ClassesEducationClassItemRequestBuilder) { +// ByEducationClassId provides operations to manage the classes property of the microsoft.graph.educationRoot entity. +func (m *ClassesRequestBuilder) ByEducationClassId(educationClassId string)(*ClassesEducationClassItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ClassesRequestBuilder) ToPostRequestInformation(ctx context.Context, bo } 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 *ClassesRequestBuilder) WithUrl(rawUrl string)(*ClassesRequestBuilder) { + return NewClassesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/education_request_builder.go b/education/education_request_builder.go index 59cf0ca6121..86acf015463 100644 --- a/education/education_request_builder.go +++ b/education/education_request_builder.go @@ -138,3 +138,7 @@ func (m *EducationRequestBuilder) ToPatchRequestInformation(ctx context.Context, func (m *EducationRequestBuilder) Users()(*UsersRequestBuilder) { return NewUsersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *EducationRequestBuilder) WithUrl(rawUrl string)(*EducationRequestBuilder) { + return NewEducationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_count_request_builder.go b/education/me_assignments_count_request_builder.go index 0c2d948adfa..81d920b96e0 100644 --- a/education/me_assignments_count_request_builder.go +++ b/education/me_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MeAssignmentsCountRequestBuilder) 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 *MeAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsCountRequestBuilder) { + return NewMeAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_delta_request_builder.go b/education/me_assignments_delta_request_builder.go index 744552cc387..98a877d3a14 100644 --- a/education/me_assignments_delta_request_builder.go +++ b/education/me_assignments_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *MeAssignmentsDeltaRequestBuilder) 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 *MeAssignmentsDeltaRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsDeltaRequestBuilder) { + return NewMeAssignmentsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_education_assignment_item_request_builder.go b/education/me_assignments_education_assignment_item_request_builder.go index a662d67c035..e853242cafb 100644 --- a/education/me_assignments_education_assignment_item_request_builder.go +++ b/education/me_assignments_education_assignment_item_request_builder.go @@ -193,3 +193,7 @@ func (m *MeAssignmentsEducationAssignmentItemRequestBuilder) ToPatchRequestInfor } 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 *MeAssignmentsEducationAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsEducationAssignmentItemRequestBuilder) { + return NewMeAssignmentsEducationAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_activate_request_builder.go b/education/me_assignments_item_activate_request_builder.go index 4cd30f47f99..9f374e62a33 100644 --- a/education/me_assignments_item_activate_request_builder.go +++ b/education/me_assignments_item_activate_request_builder.go @@ -66,3 +66,7 @@ func (m *MeAssignmentsItemActivateRequestBuilder) ToPostRequestInformation(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 *MeAssignmentsItemActivateRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemActivateRequestBuilder) { + return NewMeAssignmentsItemActivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_categories_count_request_builder.go b/education/me_assignments_item_categories_count_request_builder.go index 84d365865b4..bb423d738be 100644 --- a/education/me_assignments_item_categories_count_request_builder.go +++ b/education/me_assignments_item_categories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MeAssignmentsItemCategoriesCountRequestBuilder) 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 *MeAssignmentsItemCategoriesCountRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemCategoriesCountRequestBuilder) { + return NewMeAssignmentsItemCategoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_categories_delta_request_builder.go b/education/me_assignments_item_categories_delta_request_builder.go index 57c2ce81176..cde79d6600b 100644 --- a/education/me_assignments_item_categories_delta_request_builder.go +++ b/education/me_assignments_item_categories_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *MeAssignmentsItemCategoriesDeltaRequestBuilder) 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 *MeAssignmentsItemCategoriesDeltaRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemCategoriesDeltaRequestBuilder) { + return NewMeAssignmentsItemCategoriesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_categories_item_ref_request_builder.go b/education/me_assignments_item_categories_item_ref_request_builder.go index afcc65f9493..3b0e74d1eca 100644 --- a/education/me_assignments_item_categories_item_ref_request_builder.go +++ b/education/me_assignments_item_categories_item_ref_request_builder.go @@ -68,3 +68,7 @@ func (m *MeAssignmentsItemCategoriesItemRefRequestBuilder) ToDeleteRequestInform } 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 *MeAssignmentsItemCategoriesItemRefRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemCategoriesItemRefRequestBuilder) { + return NewMeAssignmentsItemCategoriesItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_categories_ref_request_builder.go b/education/me_assignments_item_categories_ref_request_builder.go index cdf0032bee1..cbb6a005680 100644 --- a/education/me_assignments_item_categories_ref_request_builder.go +++ b/education/me_assignments_item_categories_ref_request_builder.go @@ -125,3 +125,7 @@ func (m *MeAssignmentsItemCategoriesRefRequestBuilder) 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 *MeAssignmentsItemCategoriesRefRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemCategoriesRefRequestBuilder) { + return NewMeAssignmentsItemCategoriesRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_categories_request_builder.go b/education/me_assignments_item_categories_request_builder.go index bd28763c31d..ee958713cbc 100644 --- a/education/me_assignments_item_categories_request_builder.go +++ b/education/me_assignments_item_categories_request_builder.go @@ -46,8 +46,8 @@ type MeAssignmentsItemCategoriesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationCategoryIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.education.me.assignments.item.categories.item collection -func (m *MeAssignmentsItemCategoriesRequestBuilder) ByEducationCategoryIdString(educationCategoryId string)(*MeAssignmentsItemCategoriesEducationCategoryItemRequestBuilder) { +// ByEducationCategoryId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.education.me.assignments.item.categories.item collection +func (m *MeAssignmentsItemCategoriesRequestBuilder) ByEducationCategoryId(educationCategoryId string)(*MeAssignmentsItemCategoriesEducationCategoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *MeAssignmentsItemCategoriesRequestBuilder) 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 *MeAssignmentsItemCategoriesRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemCategoriesRequestBuilder) { + return NewMeAssignmentsItemCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_deactivate_request_builder.go b/education/me_assignments_item_deactivate_request_builder.go index 45f91831680..a82756e6824 100644 --- a/education/me_assignments_item_deactivate_request_builder.go +++ b/education/me_assignments_item_deactivate_request_builder.go @@ -66,3 +66,7 @@ func (m *MeAssignmentsItemDeactivateRequestBuilder) 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 *MeAssignmentsItemDeactivateRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemDeactivateRequestBuilder) { + return NewMeAssignmentsItemDeactivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_grading_category_request_builder.go b/education/me_assignments_item_grading_category_request_builder.go index 0c342b5c287..fbcb0a513ac 100644 --- a/education/me_assignments_item_grading_category_request_builder.go +++ b/education/me_assignments_item_grading_category_request_builder.go @@ -113,3 +113,7 @@ func (m *MeAssignmentsItemGradingCategoryRequestBuilder) 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 *MeAssignmentsItemGradingCategoryRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemGradingCategoryRequestBuilder) { + return NewMeAssignmentsItemGradingCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_publish_request_builder.go b/education/me_assignments_item_publish_request_builder.go index c15122e7269..d399c1ecd95 100644 --- a/education/me_assignments_item_publish_request_builder.go +++ b/education/me_assignments_item_publish_request_builder.go @@ -66,3 +66,7 @@ func (m *MeAssignmentsItemPublishRequestBuilder) ToPostRequestInformation(ctx co } 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 *MeAssignmentsItemPublishRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemPublishRequestBuilder) { + return NewMeAssignmentsItemPublishRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_resources_count_request_builder.go b/education/me_assignments_item_resources_count_request_builder.go index 66296c922bc..978c94d9cff 100644 --- a/education/me_assignments_item_resources_count_request_builder.go +++ b/education/me_assignments_item_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MeAssignmentsItemResourcesCountRequestBuilder) 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 *MeAssignmentsItemResourcesCountRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemResourcesCountRequestBuilder) { + return NewMeAssignmentsItemResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_resources_education_assignment_resource_item_request_builder.go b/education/me_assignments_item_resources_education_assignment_resource_item_request_builder.go index 3acebed3bbd..1262dacf6dc 100644 --- a/education/me_assignments_item_resources_education_assignment_resource_item_request_builder.go +++ b/education/me_assignments_item_resources_education_assignment_resource_item_request_builder.go @@ -73,6 +73,10 @@ func (m *MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder } return nil } +// DependentResources provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +func (m *MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) DependentResources()(*MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + return NewMeAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. // [Find more info here] // @@ -159,3 +163,7 @@ func (m *MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder } 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 *MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) { + return NewMeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_resources_item_dependent_resources_count_request_builder.go b/education/me_assignments_item_resources_item_dependent_resources_count_request_builder.go new file mode 100644 index 00000000000..0f15307a9d6 --- /dev/null +++ b/education/me_assignments_item_resources_item_dependent_resources_count_request_builder.go @@ -0,0 +1,80 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder provides operations to count the resources in the collection. +type MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters get the number of the resource +type MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +} +// NewMeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + m := &MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewMeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_resources_item_dependent_resources_education_assignment_resource_item_request_builder.go b/education/me_assignments_item_resources_item_dependent_resources_education_assignment_resource_item_request_builder.go new file mode 100644 index 00000000000..91549f32e8b --- /dev/null +++ b/education/me_assignments_item_resources_item_dependent_resources_education_assignment_resource_item_request_builder.go @@ -0,0 +1,159 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +type MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters get dependentResources from education +type MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters +} +// MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewMeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal instantiates a new EducationAssignmentResourceItemRequestBuilder and sets the default values. +func NewMeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + m := &MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources/{educationAssignmentResource%2Did1}{?%24select,%24expand}", pathParameters), + } + return m +} +// NewMeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder instantiates a new EducationAssignmentResourceItemRequestBuilder and sets the default values. +func NewMeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dependentResources for education +func (m *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get dependentResources from education +func (m *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationAssignmentResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable), nil +} +// Patch update the navigation property dependentResources in education +func (m *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationAssignmentResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable), nil +} +// ToDeleteRequestInformation delete navigation property dependentResources for education +func (m *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToGetRequestInformation get dependentResources from education +func (m *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dependentResources in education +func (m *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH + requestInfo.Headers.Add("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + return NewMeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_resources_item_dependent_resources_request_builder.go b/education/me_assignments_item_resources_item_dependent_resources_request_builder.go new file mode 100644 index 00000000000..a1afa18eb57 --- /dev/null +++ b/education/me_assignments_item_resources_item_dependent_resources_request_builder.go @@ -0,0 +1,151 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +type MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters get dependentResources from education +type MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters +} +// MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEducationAssignmentResourceId1 provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +func (m *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) ByEducationAssignmentResourceId1(educationAssignmentResourceId1 string)(*MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if educationAssignmentResourceId1 != "" { + urlTplParams["educationAssignmentResource%2Did1"] = educationAssignmentResourceId1 + } + return NewMeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewMeAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal instantiates a new DependentResourcesRequestBuilder and sets the default values. +func NewMeAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + m := &MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewMeAssignmentsItemResourcesItemDependentResourcesRequestBuilder instantiates a new DependentResourcesRequestBuilder and sets the default values. +func NewMeAssignmentsItemResourcesItemDependentResourcesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMeAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) Count()(*MeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewMeAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get dependentResources from education +func (m *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationAssignmentResourceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceCollectionResponseable), nil +} +// Post create new navigation property to dependentResources for education +func (m *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationAssignmentResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable), nil +} +// ToGetRequestInformation get dependentResources from education +func (m *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to dependentResources for education +func (m *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, requestConfiguration *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.Add("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + return NewMeAssignmentsItemResourcesItemDependentResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_resources_request_builder.go b/education/me_assignments_item_resources_request_builder.go index 2ef91d085a4..814f664953a 100644 --- a/education/me_assignments_item_resources_request_builder.go +++ b/education/me_assignments_item_resources_request_builder.go @@ -46,8 +46,8 @@ type MeAssignmentsItemResourcesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationAssignmentResourceIdString provides operations to manage the resources property of the microsoft.graph.educationAssignment entity. -func (m *MeAssignmentsItemResourcesRequestBuilder) ByEducationAssignmentResourceIdString(educationAssignmentResourceId string)(*MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) { +// ByEducationAssignmentResourceId provides operations to manage the resources property of the microsoft.graph.educationAssignment entity. +func (m *MeAssignmentsItemResourcesRequestBuilder) ByEducationAssignmentResourceId(educationAssignmentResourceId string)(*MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *MeAssignmentsItemResourcesRequestBuilder) 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 *MeAssignmentsItemResourcesRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemResourcesRequestBuilder) { + return NewMeAssignmentsItemResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_rubric_ref_request_builder.go b/education/me_assignments_item_rubric_ref_request_builder.go index 3fda0330fd0..941a9dc4e17 100644 --- a/education/me_assignments_item_rubric_ref_request_builder.go +++ b/education/me_assignments_item_rubric_ref_request_builder.go @@ -146,3 +146,7 @@ func (m *MeAssignmentsItemRubricRefRequestBuilder) ToPutRequestInformation(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 *MeAssignmentsItemRubricRefRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemRubricRefRequestBuilder) { + return NewMeAssignmentsItemRubricRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_rubric_request_builder.go b/education/me_assignments_item_rubric_request_builder.go index aba55abbf1f..31c14b3f9d9 100644 --- a/education/me_assignments_item_rubric_request_builder.go +++ b/education/me_assignments_item_rubric_request_builder.go @@ -166,3 +166,7 @@ func (m *MeAssignmentsItemRubricRequestBuilder) ToPatchRequestInformation(ctx co } 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 *MeAssignmentsItemRubricRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemRubricRequestBuilder) { + return NewMeAssignmentsItemRubricRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_set_up_feedback_resources_folder_request_builder.go b/education/me_assignments_item_set_up_feedback_resources_folder_request_builder.go index e80a7476e7b..bd89db36116 100644 --- a/education/me_assignments_item_set_up_feedback_resources_folder_request_builder.go +++ b/education/me_assignments_item_set_up_feedback_resources_folder_request_builder.go @@ -66,3 +66,7 @@ func (m *MeAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilder) ToPostRequ } 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 *MeAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilder) { + return NewMeAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_set_up_resources_folder_request_builder.go b/education/me_assignments_item_set_up_resources_folder_request_builder.go index 009ee3a7c03..b2d96f084c8 100644 --- a/education/me_assignments_item_set_up_resources_folder_request_builder.go +++ b/education/me_assignments_item_set_up_resources_folder_request_builder.go @@ -66,3 +66,7 @@ func (m *MeAssignmentsItemSetUpResourcesFolderRequestBuilder) ToPostRequestInfor } 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 *MeAssignmentsItemSetUpResourcesFolderRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSetUpResourcesFolderRequestBuilder) { + return NewMeAssignmentsItemSetUpResourcesFolderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_count_request_builder.go b/education/me_assignments_item_submissions_count_request_builder.go index 40378c9ce73..9c8f4a011b7 100644 --- a/education/me_assignments_item_submissions_count_request_builder.go +++ b/education/me_assignments_item_submissions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MeAssignmentsItemSubmissionsCountRequestBuilder) 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 *MeAssignmentsItemSubmissionsCountRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsCountRequestBuilder) { + return NewMeAssignmentsItemSubmissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_education_submission_item_request_builder.go b/education/me_assignments_item_submissions_education_submission_item_request_builder.go index 4d63fb14373..ca05e3bada3 100644 --- a/education/me_assignments_item_submissions_education_submission_item_request_builder.go +++ b/education/me_assignments_item_submissions_education_submission_item_request_builder.go @@ -188,3 +188,7 @@ func (m *MeAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) ToPa func (m *MeAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) Unsubmit()(*MeAssignmentsItemSubmissionsItemUnsubmitRequestBuilder) { return NewMeAssignmentsItemSubmissionsItemUnsubmitRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *MeAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) { + return NewMeAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_item_outcomes_count_request_builder.go b/education/me_assignments_item_submissions_item_outcomes_count_request_builder.go index 8b84bbd6ac5..a0bedda5ef4 100644 --- a/education/me_assignments_item_submissions_item_outcomes_count_request_builder.go +++ b/education/me_assignments_item_submissions_item_outcomes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MeAssignmentsItemSubmissionsItemOutcomesCountRequestBuilder) ToGetReque } 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 *MeAssignmentsItemSubmissionsItemOutcomesCountRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemOutcomesCountRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemOutcomesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go b/education/me_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go index 330445143e9..51863761d60 100644 --- a/education/me_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go +++ b/education/me_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go @@ -159,3 +159,7 @@ func (m *MeAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuil } 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 *MeAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_item_outcomes_request_builder.go b/education/me_assignments_item_submissions_item_outcomes_request_builder.go index af055aad390..1080b5f1f87 100644 --- a/education/me_assignments_item_submissions_item_outcomes_request_builder.go +++ b/education/me_assignments_item_submissions_item_outcomes_request_builder.go @@ -46,8 +46,8 @@ type MeAssignmentsItemSubmissionsItemOutcomesRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationOutcomeIdString provides operations to manage the outcomes property of the microsoft.graph.educationSubmission entity. -func (m *MeAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ByEducationOutcomeIdString(educationOutcomeId string)(*MeAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) { +// ByEducationOutcomeId provides operations to manage the outcomes property of the microsoft.graph.educationSubmission entity. +func (m *MeAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ByEducationOutcomeId(educationOutcomeId string)(*MeAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *MeAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ToPostRequestIn } 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 *MeAssignmentsItemSubmissionsItemOutcomesRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemOutcomesRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemOutcomesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_item_reassign_request_builder.go b/education/me_assignments_item_submissions_item_reassign_request_builder.go index 031d43f534b..0df3b3b4100 100644 --- a/education/me_assignments_item_submissions_item_reassign_request_builder.go +++ b/education/me_assignments_item_submissions_item_reassign_request_builder.go @@ -66,3 +66,7 @@ func (m *MeAssignmentsItemSubmissionsItemReassignRequestBuilder) ToPostRequestIn } 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 *MeAssignmentsItemSubmissionsItemReassignRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemReassignRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemReassignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_item_resources_count_request_builder.go b/education/me_assignments_item_submissions_item_resources_count_request_builder.go index 461e7ecd89a..4183ad27744 100644 --- a/education/me_assignments_item_submissions_item_resources_count_request_builder.go +++ b/education/me_assignments_item_submissions_item_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MeAssignmentsItemSubmissionsItemResourcesCountRequestBuilder) ToGetRequ } 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 *MeAssignmentsItemSubmissionsItemResourcesCountRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemResourcesCountRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go b/education/me_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go index 151c51f11d1..2403929b583 100644 --- a/education/me_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go +++ b/education/me_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go @@ -73,6 +73,10 @@ func (m *MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceIte } return nil } +// DependentResources provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +func (m *MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) DependentResources()(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. // [Find more info here] // @@ -159,3 +163,7 @@ func (m *MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceIte } 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 *MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_item_resources_item_dependent_resources_count_request_builder.go b/education/me_assignments_item_submissions_item_resources_item_dependent_resources_count_request_builder.go new file mode 100644 index 00000000000..a6b62f641ee --- /dev/null +++ b/education/me_assignments_item_submissions_item_resources_item_dependent_resources_count_request_builder.go @@ -0,0 +1,80 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder provides operations to count the resources in the collection. +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters get the number of the resource +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +} +// NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + m := &MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_item_resources_item_dependent_resources_education_submission_resource_item_request_builder.go b/education/me_assignments_item_submissions_item_resources_item_dependent_resources_education_submission_resource_item_request_builder.go new file mode 100644 index 00000000000..cfcf7a67604 --- /dev/null +++ b/education/me_assignments_item_submissions_item_resources_item_dependent_resources_education_submission_resource_item_request_builder.go @@ -0,0 +1,159 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters get dependentResources from education +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters +} +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal instantiates a new EducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + m := &MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%2Did1}{?%24select,%24expand}", pathParameters), + } + return m +} +// NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder instantiates a new EducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dependentResources for education +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get dependentResources from education +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil +} +// Patch update the navigation property dependentResources in education +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil +} +// ToDeleteRequestInformation delete navigation property dependentResources for education +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToGetRequestInformation get dependentResources from education +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dependentResources in education +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH + requestInfo.Headers.Add("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go b/education/me_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go new file mode 100644 index 00000000000..0664d7d9d6b --- /dev/null +++ b/education/me_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go @@ -0,0 +1,151 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters get dependentResources from education +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters +} +// MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEducationSubmissionResourceId1 provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) ByEducationSubmissionResourceId1(educationSubmissionResourceId1 string)(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if educationSubmissionResourceId1 != "" { + urlTplParams["educationSubmissionResource%2Did1"] = educationSubmissionResourceId1 + } + return NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal instantiates a new DependentResourcesRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + m := &MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder instantiates a new DependentResourcesRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) Count()(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get dependentResources from education +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceCollectionResponseable), nil +} +// Post create new navigation property to dependentResources for education +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil +} +// ToGetRequestInformation get dependentResources from education +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to dependentResources for education +func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.Add("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_item_resources_request_builder.go b/education/me_assignments_item_submissions_item_resources_request_builder.go index 6d048e156ba..05ec564c3c9 100644 --- a/education/me_assignments_item_submissions_item_resources_request_builder.go +++ b/education/me_assignments_item_submissions_item_resources_request_builder.go @@ -46,8 +46,8 @@ type MeAssignmentsItemSubmissionsItemResourcesRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationSubmissionResourceIdString provides operations to manage the resources property of the microsoft.graph.educationSubmission entity. -func (m *MeAssignmentsItemSubmissionsItemResourcesRequestBuilder) ByEducationSubmissionResourceIdString(educationSubmissionResourceId string)(*MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) { +// ByEducationSubmissionResourceId provides operations to manage the resources property of the microsoft.graph.educationSubmission entity. +func (m *MeAssignmentsItemSubmissionsItemResourcesRequestBuilder) ByEducationSubmissionResourceId(educationSubmissionResourceId string)(*MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *MeAssignmentsItemSubmissionsItemResourcesRequestBuilder) ToPostRequestI } 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 *MeAssignmentsItemSubmissionsItemResourcesRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemResourcesRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_item_return_request_builder.go b/education/me_assignments_item_submissions_item_return_request_builder.go index 7fabe015c09..7e9c67ea861 100644 --- a/education/me_assignments_item_submissions_item_return_request_builder.go +++ b/education/me_assignments_item_submissions_item_return_request_builder.go @@ -66,3 +66,7 @@ func (m *MeAssignmentsItemSubmissionsItemReturnRequestBuilder) ToPostRequestInfo } 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 *MeAssignmentsItemSubmissionsItemReturnRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemReturnRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemReturnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_item_set_up_resources_folder_request_builder.go b/education/me_assignments_item_submissions_item_set_up_resources_folder_request_builder.go index 45c071a069c..0df0e80fc9b 100644 --- a/education/me_assignments_item_submissions_item_set_up_resources_folder_request_builder.go +++ b/education/me_assignments_item_submissions_item_set_up_resources_folder_request_builder.go @@ -66,3 +66,7 @@ func (m *MeAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBuilder) 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 *MeAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_item_submit_request_builder.go b/education/me_assignments_item_submissions_item_submit_request_builder.go index d37d1eed038..50f3ac31f57 100644 --- a/education/me_assignments_item_submissions_item_submit_request_builder.go +++ b/education/me_assignments_item_submissions_item_submit_request_builder.go @@ -66,3 +66,7 @@ func (m *MeAssignmentsItemSubmissionsItemSubmitRequestBuilder) ToPostRequestInfo } 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 *MeAssignmentsItemSubmissionsItemSubmitRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemSubmitRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemSubmitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_item_submitted_resources_count_request_builder.go b/education/me_assignments_item_submissions_item_submitted_resources_count_request_builder.go index 6d47bed8cfc..698eeae9c64 100644 --- a/education/me_assignments_item_submissions_item_submitted_resources_count_request_builder.go +++ b/education/me_assignments_item_submissions_item_submitted_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesCountRequestBuilder) } 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 *MeAssignmentsItemSubmissionsItemSubmittedResourcesCountRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesCountRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemSubmittedResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go b/education/me_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go index d0369808ebe..ea7c056f11e 100644 --- a/education/me_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go +++ b/education/me_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go @@ -70,6 +70,10 @@ func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionRe } return nil } +// DependentResources provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder) DependentResources()(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get get submittedResources from education func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); @@ -153,3 +157,7 @@ func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionRe } 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 *MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_item_submitted_resources_item_dependent_resources_count_request_builder.go b/education/me_assignments_item_submissions_item_submitted_resources_item_dependent_resources_count_request_builder.go new file mode 100644 index 00000000000..48f25345ff2 --- /dev/null +++ b/education/me_assignments_item_submissions_item_submitted_resources_item_dependent_resources_count_request_builder.go @@ -0,0 +1,80 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder provides operations to count the resources in the collection. +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters get the number of the resource +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +} +// NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + m := &MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_item_submitted_resources_item_dependent_resources_education_submission_resource_item_request_builder.go b/education/me_assignments_item_submissions_item_submitted_resources_item_dependent_resources_education_submission_resource_item_request_builder.go new file mode 100644 index 00000000000..1fb246d4e25 --- /dev/null +++ b/education/me_assignments_item_submissions_item_submitted_resources_item_dependent_resources_education_submission_resource_item_request_builder.go @@ -0,0 +1,159 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters get dependentResources from education +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters +} +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal instantiates a new EducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + m := &MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%2Did1}{?%24select,%24expand}", pathParameters), + } + return m +} +// NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder instantiates a new EducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dependentResources for education +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get dependentResources from education +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil +} +// Patch update the navigation property dependentResources in education +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil +} +// ToDeleteRequestInformation delete navigation property dependentResources for education +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToGetRequestInformation get dependentResources from education +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dependentResources in education +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH + requestInfo.Headers.Add("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go b/education/me_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go new file mode 100644 index 00000000000..8d8ba5aa04a --- /dev/null +++ b/education/me_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go @@ -0,0 +1,151 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters get dependentResources from education +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters +} +// MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEducationSubmissionResourceId1 provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) ByEducationSubmissionResourceId1(educationSubmissionResourceId1 string)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if educationSubmissionResourceId1 != "" { + urlTplParams["educationSubmissionResource%2Did1"] = educationSubmissionResourceId1 + } + return NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal instantiates a new DependentResourcesRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + m := &MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder instantiates a new DependentResourcesRequestBuilder and sets the default values. +func NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) Count()(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get dependentResources from education +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceCollectionResponseable), nil +} +// Post create new navigation property to dependentResources for education +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil +} +// ToGetRequestInformation get dependentResources from education +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to dependentResources for education +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.Add("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_item_submitted_resources_request_builder.go b/education/me_assignments_item_submissions_item_submitted_resources_request_builder.go index bf492d3329d..dbe98bb9952 100644 --- a/education/me_assignments_item_submissions_item_submitted_resources_request_builder.go +++ b/education/me_assignments_item_submissions_item_submitted_resources_request_builder.go @@ -46,8 +46,8 @@ type MeAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationSubmissionResourceIdString provides operations to manage the submittedResources property of the microsoft.graph.educationSubmission entity. -func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder) ByEducationSubmissionResourceIdString(educationSubmissionResourceId string)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder) { +// ByEducationSubmissionResourceId provides operations to manage the submittedResources property of the microsoft.graph.educationSubmission entity. +func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder) ByEducationSubmissionResourceId(educationSubmissionResourceId string)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder) ToPos } 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 *MeAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_item_unsubmit_request_builder.go b/education/me_assignments_item_submissions_item_unsubmit_request_builder.go index 3fc77e1a557..792ae5ed8af 100644 --- a/education/me_assignments_item_submissions_item_unsubmit_request_builder.go +++ b/education/me_assignments_item_submissions_item_unsubmit_request_builder.go @@ -66,3 +66,7 @@ func (m *MeAssignmentsItemSubmissionsItemUnsubmitRequestBuilder) ToPostRequestIn } 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 *MeAssignmentsItemSubmissionsItemUnsubmitRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsItemUnsubmitRequestBuilder) { + return NewMeAssignmentsItemSubmissionsItemUnsubmitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_item_submissions_request_builder.go b/education/me_assignments_item_submissions_request_builder.go index de2714a6be3..7e11ba50752 100644 --- a/education/me_assignments_item_submissions_request_builder.go +++ b/education/me_assignments_item_submissions_request_builder.go @@ -46,8 +46,8 @@ type MeAssignmentsItemSubmissionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationSubmissionIdString provides operations to manage the submissions property of the microsoft.graph.educationAssignment entity. -func (m *MeAssignmentsItemSubmissionsRequestBuilder) ByEducationSubmissionIdString(educationSubmissionId string)(*MeAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) { +// ByEducationSubmissionId provides operations to manage the submissions property of the microsoft.graph.educationAssignment entity. +func (m *MeAssignmentsItemSubmissionsRequestBuilder) ByEducationSubmissionId(educationSubmissionId string)(*MeAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *MeAssignmentsItemSubmissionsRequestBuilder) 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 *MeAssignmentsItemSubmissionsRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsItemSubmissionsRequestBuilder) { + return NewMeAssignmentsItemSubmissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_assignments_request_builder.go b/education/me_assignments_request_builder.go index 0b58529a27b..7c2b0281d0f 100644 --- a/education/me_assignments_request_builder.go +++ b/education/me_assignments_request_builder.go @@ -46,8 +46,8 @@ type MeAssignmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.educationUser entity. -func (m *MeAssignmentsRequestBuilder) ByEducationAssignmentIdString(educationAssignmentId string)(*MeAssignmentsEducationAssignmentItemRequestBuilder) { +// ByEducationAssignmentId provides operations to manage the assignments property of the microsoft.graph.educationUser entity. +func (m *MeAssignmentsRequestBuilder) ByEducationAssignmentId(educationAssignmentId string)(*MeAssignmentsEducationAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *MeAssignmentsRequestBuilder) 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 *MeAssignmentsRequestBuilder) WithUrl(rawUrl string)(*MeAssignmentsRequestBuilder) { + return NewMeAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_classes_count_request_builder.go b/education/me_classes_count_request_builder.go index cd27249e25c..35585e3b8ac 100644 --- a/education/me_classes_count_request_builder.go +++ b/education/me_classes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MeClassesCountRequestBuilder) ToGetRequestInformation(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 *MeClassesCountRequestBuilder) WithUrl(rawUrl string)(*MeClassesCountRequestBuilder) { + return NewMeClassesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_classes_education_class_item_request_builder.go b/education/me_classes_education_class_item_request_builder.go index 9f23c462c7c..b37f47f0ce2 100644 --- a/education/me_classes_education_class_item_request_builder.go +++ b/education/me_classes_education_class_item_request_builder.go @@ -75,3 +75,7 @@ func (m *MeClassesEducationClassItemRequestBuilder) ToGetRequestInformation(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 *MeClassesEducationClassItemRequestBuilder) WithUrl(rawUrl string)(*MeClassesEducationClassItemRequestBuilder) { + return NewMeClassesEducationClassItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_classes_request_builder.go b/education/me_classes_request_builder.go index 0c6c85ef693..dc43485291b 100644 --- a/education/me_classes_request_builder.go +++ b/education/me_classes_request_builder.go @@ -39,8 +39,8 @@ type MeClassesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *MeClassesRequestBuilderGetQueryParameters } -// ByEducationClassIdString provides operations to manage the classes property of the microsoft.graph.educationUser entity. -func (m *MeClassesRequestBuilder) ByEducationClassIdString(educationClassId string)(*MeClassesEducationClassItemRequestBuilder) { +// ByEducationClassId provides operations to manage the classes property of the microsoft.graph.educationUser entity. +func (m *MeClassesRequestBuilder) ByEducationClassId(educationClassId string)(*MeClassesEducationClassItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *MeClassesRequestBuilder) ToGetRequestInformation(ctx context.Context, r } 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 *MeClassesRequestBuilder) WithUrl(rawUrl string)(*MeClassesRequestBuilder) { + return NewMeClassesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_request_builder.go b/education/me_request_builder.go index b60b41a68bb..15211917b56 100644 --- a/education/me_request_builder.go +++ b/education/me_request_builder.go @@ -177,3 +177,7 @@ func (m *MeRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i func (m *MeRequestBuilder) User()(*MeUserRequestBuilder) { return NewMeUserRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *MeRequestBuilder) WithUrl(rawUrl string)(*MeRequestBuilder) { + return NewMeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_rubrics_count_request_builder.go b/education/me_rubrics_count_request_builder.go index 2768f185a4e..e5e37fffe4e 100644 --- a/education/me_rubrics_count_request_builder.go +++ b/education/me_rubrics_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MeRubricsCountRequestBuilder) ToGetRequestInformation(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 *MeRubricsCountRequestBuilder) WithUrl(rawUrl string)(*MeRubricsCountRequestBuilder) { + return NewMeRubricsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_rubrics_education_rubric_item_request_builder.go b/education/me_rubrics_education_rubric_item_request_builder.go index 89cc4b40978..689b0e8ce1b 100644 --- a/education/me_rubrics_education_rubric_item_request_builder.go +++ b/education/me_rubrics_education_rubric_item_request_builder.go @@ -162,3 +162,7 @@ func (m *MeRubricsEducationRubricItemRequestBuilder) ToPatchRequestInformation(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 *MeRubricsEducationRubricItemRequestBuilder) WithUrl(rawUrl string)(*MeRubricsEducationRubricItemRequestBuilder) { + return NewMeRubricsEducationRubricItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_rubrics_request_builder.go b/education/me_rubrics_request_builder.go index d6e17a33990..4cdb1c061c4 100644 --- a/education/me_rubrics_request_builder.go +++ b/education/me_rubrics_request_builder.go @@ -46,8 +46,8 @@ type MeRubricsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationRubricIdString provides operations to manage the rubrics property of the microsoft.graph.educationUser entity. -func (m *MeRubricsRequestBuilder) ByEducationRubricIdString(educationRubricId string)(*MeRubricsEducationRubricItemRequestBuilder) { +// ByEducationRubricId provides operations to manage the rubrics property of the microsoft.graph.educationUser entity. +func (m *MeRubricsRequestBuilder) ByEducationRubricId(educationRubricId string)(*MeRubricsEducationRubricItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *MeRubricsRequestBuilder) ToPostRequestInformation(ctx context.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 *MeRubricsRequestBuilder) WithUrl(rawUrl string)(*MeRubricsRequestBuilder) { + return NewMeRubricsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_schools_count_request_builder.go b/education/me_schools_count_request_builder.go index 06b7beacbae..3cadbbda270 100644 --- a/education/me_schools_count_request_builder.go +++ b/education/me_schools_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MeSchoolsCountRequestBuilder) ToGetRequestInformation(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 *MeSchoolsCountRequestBuilder) WithUrl(rawUrl string)(*MeSchoolsCountRequestBuilder) { + return NewMeSchoolsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_schools_education_school_item_request_builder.go b/education/me_schools_education_school_item_request_builder.go index c5b2483a429..bda0c1415af 100644 --- a/education/me_schools_education_school_item_request_builder.go +++ b/education/me_schools_education_school_item_request_builder.go @@ -75,3 +75,7 @@ func (m *MeSchoolsEducationSchoolItemRequestBuilder) ToGetRequestInformation(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 *MeSchoolsEducationSchoolItemRequestBuilder) WithUrl(rawUrl string)(*MeSchoolsEducationSchoolItemRequestBuilder) { + return NewMeSchoolsEducationSchoolItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_schools_request_builder.go b/education/me_schools_request_builder.go index 239f87f194c..4e0f74f5423 100644 --- a/education/me_schools_request_builder.go +++ b/education/me_schools_request_builder.go @@ -39,8 +39,8 @@ type MeSchoolsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *MeSchoolsRequestBuilderGetQueryParameters } -// ByEducationSchoolIdString provides operations to manage the schools property of the microsoft.graph.educationUser entity. -func (m *MeSchoolsRequestBuilder) ByEducationSchoolIdString(educationSchoolId string)(*MeSchoolsEducationSchoolItemRequestBuilder) { +// ByEducationSchoolId provides operations to manage the schools property of the microsoft.graph.educationUser entity. +func (m *MeSchoolsRequestBuilder) ByEducationSchoolId(educationSchoolId string)(*MeSchoolsEducationSchoolItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *MeSchoolsRequestBuilder) ToGetRequestInformation(ctx context.Context, r } 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 *MeSchoolsRequestBuilder) WithUrl(rawUrl string)(*MeSchoolsRequestBuilder) { + return NewMeSchoolsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_taught_classes_count_request_builder.go b/education/me_taught_classes_count_request_builder.go index 9a52bf8860b..e78cbc0016b 100644 --- a/education/me_taught_classes_count_request_builder.go +++ b/education/me_taught_classes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MeTaughtClassesCountRequestBuilder) ToGetRequestInformation(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 *MeTaughtClassesCountRequestBuilder) WithUrl(rawUrl string)(*MeTaughtClassesCountRequestBuilder) { + return NewMeTaughtClassesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_taught_classes_education_class_item_request_builder.go b/education/me_taught_classes_education_class_item_request_builder.go index 28934958556..d49e24477f9 100644 --- a/education/me_taught_classes_education_class_item_request_builder.go +++ b/education/me_taught_classes_education_class_item_request_builder.go @@ -75,3 +75,7 @@ func (m *MeTaughtClassesEducationClassItemRequestBuilder) 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 *MeTaughtClassesEducationClassItemRequestBuilder) WithUrl(rawUrl string)(*MeTaughtClassesEducationClassItemRequestBuilder) { + return NewMeTaughtClassesEducationClassItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_taught_classes_request_builder.go b/education/me_taught_classes_request_builder.go index b772e0f8b8c..827a808838e 100644 --- a/education/me_taught_classes_request_builder.go +++ b/education/me_taught_classes_request_builder.go @@ -39,8 +39,8 @@ type MeTaughtClassesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *MeTaughtClassesRequestBuilderGetQueryParameters } -// ByEducationClassIdString provides operations to manage the taughtClasses property of the microsoft.graph.educationUser entity. -func (m *MeTaughtClassesRequestBuilder) ByEducationClassIdString(educationClassId string)(*MeTaughtClassesEducationClassItemRequestBuilder) { +// ByEducationClassId provides operations to manage the taughtClasses property of the microsoft.graph.educationUser entity. +func (m *MeTaughtClassesRequestBuilder) ByEducationClassId(educationClassId string)(*MeTaughtClassesEducationClassItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *MeTaughtClassesRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *MeTaughtClassesRequestBuilder) WithUrl(rawUrl string)(*MeTaughtClassesRequestBuilder) { + return NewMeTaughtClassesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_user_mailbox_settings_request_builder.go b/education/me_user_mailbox_settings_request_builder.go index e5b38913204..9aceb99fd73 100644 --- a/education/me_user_mailbox_settings_request_builder.go +++ b/education/me_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *MeUserMailboxSettingsRequestBuilder) ToPatchRequestInformation(ctx cont } 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 *MeUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*MeUserMailboxSettingsRequestBuilder) { + return NewMeUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/me_user_request_builder.go b/education/me_user_request_builder.go index ae2d8e68cc2..4c0fc9c400b 100644 --- a/education/me_user_request_builder.go +++ b/education/me_user_request_builder.go @@ -82,3 +82,7 @@ func (m *MeUserRequestBuilder) ToGetRequestInformation(ctx context.Context, requ } 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 *MeUserRequestBuilder) WithUrl(rawUrl string)(*MeUserRequestBuilder) { + return NewMeUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/schools_count_request_builder.go b/education/schools_count_request_builder.go index bcb564c353a..158e285e2ca 100644 --- a/education/schools_count_request_builder.go +++ b/education/schools_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SchoolsCountRequestBuilder) ToGetRequestInformation(ctx context.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 *SchoolsCountRequestBuilder) WithUrl(rawUrl string)(*SchoolsCountRequestBuilder) { + return NewSchoolsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/schools_delta_request_builder.go b/education/schools_delta_request_builder.go index c9cc80403ac..cbdbb1f68dd 100644 --- a/education/schools_delta_request_builder.go +++ b/education/schools_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *SchoolsDeltaRequestBuilder) ToGetRequestInformation(ctx context.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 *SchoolsDeltaRequestBuilder) WithUrl(rawUrl string)(*SchoolsDeltaRequestBuilder) { + return NewSchoolsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/schools_education_school_item_request_builder.go b/education/schools_education_school_item_request_builder.go index 20b840e4d59..ea9eeb48bd0 100644 --- a/education/schools_education_school_item_request_builder.go +++ b/education/schools_education_school_item_request_builder.go @@ -174,3 +174,7 @@ func (m *SchoolsEducationSchoolItemRequestBuilder) ToPatchRequestInformation(ctx func (m *SchoolsEducationSchoolItemRequestBuilder) Users()(*SchoolsItemUsersRequestBuilder) { return NewSchoolsItemUsersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *SchoolsEducationSchoolItemRequestBuilder) WithUrl(rawUrl string)(*SchoolsEducationSchoolItemRequestBuilder) { + return NewSchoolsEducationSchoolItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/schools_item_administrative_unit_request_builder.go b/education/schools_item_administrative_unit_request_builder.go index 62fe7ddd1dc..3138a8535c6 100644 --- a/education/schools_item_administrative_unit_request_builder.go +++ b/education/schools_item_administrative_unit_request_builder.go @@ -11,7 +11,7 @@ import ( type SchoolsItemAdministrativeUnitRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SchoolsItemAdministrativeUnitRequestBuilderGetQueryParameters retrieve the simple directory administrativeUnit that corresponds to this educationSchool. +// SchoolsItemAdministrativeUnitRequestBuilderGetQueryParameters retrieve the directory administrativeUnit that corresponds to this educationSchool. type SchoolsItemAdministrativeUnitRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,7 +47,7 @@ func NewSchoolsItemAdministrativeUnitRequestBuilder(rawUrl string, requestAdapte urlParams["request-raw-url"] = rawUrl return NewSchoolsItemAdministrativeUnitRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve the simple directory administrativeUnit that corresponds to this educationSchool. +// Get retrieve the directory administrativeUnit that corresponds to this educationSchool. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/educationschool-get-administrativeUnit?view=graph-rest-1.0 @@ -88,7 +88,7 @@ func (m *SchoolsItemAdministrativeUnitRequestBuilder) Patch(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdministrativeUnitable), nil } -// ToGetRequestInformation retrieve the simple directory administrativeUnit that corresponds to this educationSchool. +// ToGetRequestInformation retrieve the directory administrativeUnit that corresponds to this educationSchool. func (m *SchoolsItemAdministrativeUnitRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SchoolsItemAdministrativeUnitRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -121,3 +121,7 @@ func (m *SchoolsItemAdministrativeUnitRequestBuilder) 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 *SchoolsItemAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*SchoolsItemAdministrativeUnitRequestBuilder) { + return NewSchoolsItemAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/schools_item_classes_count_request_builder.go b/education/schools_item_classes_count_request_builder.go index 59e9fde266c..c2d51618a89 100644 --- a/education/schools_item_classes_count_request_builder.go +++ b/education/schools_item_classes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SchoolsItemClassesCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *SchoolsItemClassesCountRequestBuilder) WithUrl(rawUrl string)(*SchoolsItemClassesCountRequestBuilder) { + return NewSchoolsItemClassesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/schools_item_classes_item_ref_request_builder.go b/education/schools_item_classes_item_ref_request_builder.go index 6770525491c..16f88ed3e3b 100644 --- a/education/schools_item_classes_item_ref_request_builder.go +++ b/education/schools_item_classes_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *SchoolsItemClassesItemRefRequestBuilder) ToDeleteRequestInformation(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 *SchoolsItemClassesItemRefRequestBuilder) WithUrl(rawUrl string)(*SchoolsItemClassesItemRefRequestBuilder) { + return NewSchoolsItemClassesItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/schools_item_classes_ref_request_builder.go b/education/schools_item_classes_ref_request_builder.go index 4be02526603..4e6fdcd188e 100644 --- a/education/schools_item_classes_ref_request_builder.go +++ b/education/schools_item_classes_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *SchoolsItemClassesRefRequestBuilder) 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 *SchoolsItemClassesRefRequestBuilder) WithUrl(rawUrl string)(*SchoolsItemClassesRefRequestBuilder) { + return NewSchoolsItemClassesRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/schools_item_classes_request_builder.go b/education/schools_item_classes_request_builder.go index b40dc73f154..a98bf17f15e 100644 --- a/education/schools_item_classes_request_builder.go +++ b/education/schools_item_classes_request_builder.go @@ -39,8 +39,8 @@ type SchoolsItemClassesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *SchoolsItemClassesRequestBuilderGetQueryParameters } -// ByEducationClassIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.education.schools.item.classes.item collection -func (m *SchoolsItemClassesRequestBuilder) ByEducationClassIdString(educationClassId string)(*SchoolsItemClassesEducationClassItemRequestBuilder) { +// ByEducationClassId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.education.schools.item.classes.item collection +func (m *SchoolsItemClassesRequestBuilder) ByEducationClassId(educationClassId string)(*SchoolsItemClassesEducationClassItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *SchoolsItemClassesRequestBuilder) 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 *SchoolsItemClassesRequestBuilder) WithUrl(rawUrl string)(*SchoolsItemClassesRequestBuilder) { + return NewSchoolsItemClassesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/schools_item_users_count_request_builder.go b/education/schools_item_users_count_request_builder.go index 7998a315dc6..37a960dc431 100644 --- a/education/schools_item_users_count_request_builder.go +++ b/education/schools_item_users_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SchoolsItemUsersCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *SchoolsItemUsersCountRequestBuilder) WithUrl(rawUrl string)(*SchoolsItemUsersCountRequestBuilder) { + return NewSchoolsItemUsersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/schools_item_users_item_ref_request_builder.go b/education/schools_item_users_item_ref_request_builder.go index 559b93af47e..125634f8b25 100644 --- a/education/schools_item_users_item_ref_request_builder.go +++ b/education/schools_item_users_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *SchoolsItemUsersItemRefRequestBuilder) ToDeleteRequestInformation(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 *SchoolsItemUsersItemRefRequestBuilder) WithUrl(rawUrl string)(*SchoolsItemUsersItemRefRequestBuilder) { + return NewSchoolsItemUsersItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/schools_item_users_ref_request_builder.go b/education/schools_item_users_ref_request_builder.go index 74eb07b1b51..2241ab0ff26 100644 --- a/education/schools_item_users_ref_request_builder.go +++ b/education/schools_item_users_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *SchoolsItemUsersRefRequestBuilder) 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 *SchoolsItemUsersRefRequestBuilder) WithUrl(rawUrl string)(*SchoolsItemUsersRefRequestBuilder) { + return NewSchoolsItemUsersRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/schools_item_users_request_builder.go b/education/schools_item_users_request_builder.go index c14e2911a7f..6c95e871391 100644 --- a/education/schools_item_users_request_builder.go +++ b/education/schools_item_users_request_builder.go @@ -39,8 +39,8 @@ type SchoolsItemUsersRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *SchoolsItemUsersRequestBuilderGetQueryParameters } -// ByEducationUserIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.education.schools.item.users.item collection -func (m *SchoolsItemUsersRequestBuilder) ByEducationUserIdString(educationUserId string)(*SchoolsItemUsersEducationUserItemRequestBuilder) { +// ByEducationUserId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.education.schools.item.users.item collection +func (m *SchoolsItemUsersRequestBuilder) ByEducationUserId(educationUserId string)(*SchoolsItemUsersEducationUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *SchoolsItemUsersRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *SchoolsItemUsersRequestBuilder) WithUrl(rawUrl string)(*SchoolsItemUsersRequestBuilder) { + return NewSchoolsItemUsersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/schools_request_builder.go b/education/schools_request_builder.go index d394369e97c..51b4e67223c 100644 --- a/education/schools_request_builder.go +++ b/education/schools_request_builder.go @@ -46,8 +46,8 @@ type SchoolsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationSchoolIdString provides operations to manage the schools property of the microsoft.graph.educationRoot entity. -func (m *SchoolsRequestBuilder) ByEducationSchoolIdString(educationSchoolId string)(*SchoolsEducationSchoolItemRequestBuilder) { +// ByEducationSchoolId provides operations to manage the schools property of the microsoft.graph.educationRoot entity. +func (m *SchoolsRequestBuilder) ByEducationSchoolId(educationSchoolId string)(*SchoolsEducationSchoolItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *SchoolsRequestBuilder) ToPostRequestInformation(ctx context.Context, bo } 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 *SchoolsRequestBuilder) WithUrl(rawUrl string)(*SchoolsRequestBuilder) { + return NewSchoolsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/synchronization_profiles_count_request_builder.go b/education/synchronization_profiles_count_request_builder.go index 9d9cdbbc8fe..fac90310829 100644 --- a/education/synchronization_profiles_count_request_builder.go +++ b/education/synchronization_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SynchronizationProfilesCountRequestBuilder) ToGetRequestInformation(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 *SynchronizationProfilesCountRequestBuilder) WithUrl(rawUrl string)(*SynchronizationProfilesCountRequestBuilder) { + return NewSynchronizationProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/synchronization_profiles_education_synchronization_profile_item_request_builder.go b/education/synchronization_profiles_education_synchronization_profile_item_request_builder.go index 5553e18f4fa..28a742a7343 100644 --- a/education/synchronization_profiles_education_synchronization_profile_item_request_builder.go +++ b/education/synchronization_profiles_education_synchronization_profile_item_request_builder.go @@ -187,3 +187,7 @@ func (m *SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilde func (m *SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilder) UploadUrl()(*SynchronizationProfilesItemUploadUrlRequestBuilder) { return NewSynchronizationProfilesItemUploadUrlRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilder) WithUrl(rawUrl string)(*SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilder) { + return NewSynchronizationProfilesEducationSynchronizationProfileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/synchronization_profiles_item_errors_count_request_builder.go b/education/synchronization_profiles_item_errors_count_request_builder.go index 545efdcf63b..1f070e53f05 100644 --- a/education/synchronization_profiles_item_errors_count_request_builder.go +++ b/education/synchronization_profiles_item_errors_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SynchronizationProfilesItemErrorsCountRequestBuilder) ToGetRequestInfor } 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 *SynchronizationProfilesItemErrorsCountRequestBuilder) WithUrl(rawUrl string)(*SynchronizationProfilesItemErrorsCountRequestBuilder) { + return NewSynchronizationProfilesItemErrorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/synchronization_profiles_item_errors_education_synchronization_error_item_request_builder.go b/education/synchronization_profiles_item_errors_education_synchronization_error_item_request_builder.go index 9c26948a95e..e11711dcbe3 100644 --- a/education/synchronization_profiles_item_errors_education_synchronization_error_item_request_builder.go +++ b/education/synchronization_profiles_item_errors_education_synchronization_error_item_request_builder.go @@ -153,3 +153,7 @@ func (m *SynchronizationProfilesItemErrorsEducationSynchronizationErrorItemReque } 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 *SynchronizationProfilesItemErrorsEducationSynchronizationErrorItemRequestBuilder) WithUrl(rawUrl string)(*SynchronizationProfilesItemErrorsEducationSynchronizationErrorItemRequestBuilder) { + return NewSynchronizationProfilesItemErrorsEducationSynchronizationErrorItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/synchronization_profiles_item_errors_request_builder.go b/education/synchronization_profiles_item_errors_request_builder.go index 8c15b2c5694..ee56407e69e 100644 --- a/education/synchronization_profiles_item_errors_request_builder.go +++ b/education/synchronization_profiles_item_errors_request_builder.go @@ -46,8 +46,8 @@ type SynchronizationProfilesItemErrorsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationSynchronizationErrorIdString provides operations to manage the errors property of the microsoft.graph.educationSynchronizationProfile entity. -func (m *SynchronizationProfilesItemErrorsRequestBuilder) ByEducationSynchronizationErrorIdString(educationSynchronizationErrorId string)(*SynchronizationProfilesItemErrorsEducationSynchronizationErrorItemRequestBuilder) { +// ByEducationSynchronizationErrorId provides operations to manage the errors property of the microsoft.graph.educationSynchronizationProfile entity. +func (m *SynchronizationProfilesItemErrorsRequestBuilder) ByEducationSynchronizationErrorId(educationSynchronizationErrorId string)(*SynchronizationProfilesItemErrorsEducationSynchronizationErrorItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *SynchronizationProfilesItemErrorsRequestBuilder) ToPostRequestInformati } 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 *SynchronizationProfilesItemErrorsRequestBuilder) WithUrl(rawUrl string)(*SynchronizationProfilesItemErrorsRequestBuilder) { + return NewSynchronizationProfilesItemErrorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/synchronization_profiles_item_pause_request_builder.go b/education/synchronization_profiles_item_pause_request_builder.go index 9e8fb6220a2..7c515167e50 100644 --- a/education/synchronization_profiles_item_pause_request_builder.go +++ b/education/synchronization_profiles_item_pause_request_builder.go @@ -61,3 +61,7 @@ func (m *SynchronizationProfilesItemPauseRequestBuilder) ToPostRequestInformatio } 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 *SynchronizationProfilesItemPauseRequestBuilder) WithUrl(rawUrl string)(*SynchronizationProfilesItemPauseRequestBuilder) { + return NewSynchronizationProfilesItemPauseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/synchronization_profiles_item_profile_status_request_builder.go b/education/synchronization_profiles_item_profile_status_request_builder.go index d33f7476212..d876996d1db 100644 --- a/education/synchronization_profiles_item_profile_status_request_builder.go +++ b/education/synchronization_profiles_item_profile_status_request_builder.go @@ -156,3 +156,7 @@ func (m *SynchronizationProfilesItemProfileStatusRequestBuilder) ToPatchRequestI } 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 *SynchronizationProfilesItemProfileStatusRequestBuilder) WithUrl(rawUrl string)(*SynchronizationProfilesItemProfileStatusRequestBuilder) { + return NewSynchronizationProfilesItemProfileStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/synchronization_profiles_item_reset_request_builder.go b/education/synchronization_profiles_item_reset_request_builder.go index 4e396ee03a2..932e593e9bb 100644 --- a/education/synchronization_profiles_item_reset_request_builder.go +++ b/education/synchronization_profiles_item_reset_request_builder.go @@ -61,3 +61,7 @@ func (m *SynchronizationProfilesItemResetRequestBuilder) ToPostRequestInformatio } 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 *SynchronizationProfilesItemResetRequestBuilder) WithUrl(rawUrl string)(*SynchronizationProfilesItemResetRequestBuilder) { + return NewSynchronizationProfilesItemResetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/synchronization_profiles_item_resume_request_builder.go b/education/synchronization_profiles_item_resume_request_builder.go index a407a96b4ff..21eceda0c36 100644 --- a/education/synchronization_profiles_item_resume_request_builder.go +++ b/education/synchronization_profiles_item_resume_request_builder.go @@ -61,3 +61,7 @@ func (m *SynchronizationProfilesItemResumeRequestBuilder) ToPostRequestInformati } 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 *SynchronizationProfilesItemResumeRequestBuilder) WithUrl(rawUrl string)(*SynchronizationProfilesItemResumeRequestBuilder) { + return NewSynchronizationProfilesItemResumeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/synchronization_profiles_item_start_request_builder.go b/education/synchronization_profiles_item_start_request_builder.go index 6b04a174c49..f154fb5d9fb 100644 --- a/education/synchronization_profiles_item_start_request_builder.go +++ b/education/synchronization_profiles_item_start_request_builder.go @@ -65,3 +65,7 @@ func (m *SynchronizationProfilesItemStartRequestBuilder) ToPostRequestInformatio } 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 *SynchronizationProfilesItemStartRequestBuilder) WithUrl(rawUrl string)(*SynchronizationProfilesItemStartRequestBuilder) { + return NewSynchronizationProfilesItemStartRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/synchronization_profiles_item_upload_url_request_builder.go b/education/synchronization_profiles_item_upload_url_request_builder.go index 69b281763e5..c10a8e07227 100644 --- a/education/synchronization_profiles_item_upload_url_request_builder.go +++ b/education/synchronization_profiles_item_upload_url_request_builder.go @@ -62,3 +62,7 @@ func (m *SynchronizationProfilesItemUploadUrlRequestBuilder) ToGetRequestInforma } 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 *SynchronizationProfilesItemUploadUrlRequestBuilder) WithUrl(rawUrl string)(*SynchronizationProfilesItemUploadUrlRequestBuilder) { + return NewSynchronizationProfilesItemUploadUrlRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/synchronization_profiles_request_builder.go b/education/synchronization_profiles_request_builder.go index 2afe2546b7d..35112145e89 100644 --- a/education/synchronization_profiles_request_builder.go +++ b/education/synchronization_profiles_request_builder.go @@ -46,8 +46,8 @@ type SynchronizationProfilesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationSynchronizationProfileIdString provides operations to manage the synchronizationProfiles property of the microsoft.graph.educationRoot entity. -func (m *SynchronizationProfilesRequestBuilder) ByEducationSynchronizationProfileIdString(educationSynchronizationProfileId string)(*SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilder) { +// ByEducationSynchronizationProfileId provides operations to manage the synchronizationProfiles property of the microsoft.graph.educationRoot entity. +func (m *SynchronizationProfilesRequestBuilder) ByEducationSynchronizationProfileId(educationSynchronizationProfileId string)(*SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *SynchronizationProfilesRequestBuilder) ToPostRequestInformation(ctx con } 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 *SynchronizationProfilesRequestBuilder) WithUrl(rawUrl string)(*SynchronizationProfilesRequestBuilder) { + return NewSynchronizationProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_count_request_builder.go b/education/users_count_request_builder.go index 37c1db83ec2..919d1c064cb 100644 --- a/education/users_count_request_builder.go +++ b/education/users_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UsersCountRequestBuilder) ToGetRequestInformation(ctx context.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 *UsersCountRequestBuilder) WithUrl(rawUrl string)(*UsersCountRequestBuilder) { + return NewUsersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_delta_request_builder.go b/education/users_delta_request_builder.go index a005b2b8949..d8e75677078 100644 --- a/education/users_delta_request_builder.go +++ b/education/users_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *UsersDeltaRequestBuilder) ToGetRequestInformation(ctx context.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 *UsersDeltaRequestBuilder) WithUrl(rawUrl string)(*UsersDeltaRequestBuilder) { + return NewUsersDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_education_user_item_request_builder.go b/education/users_education_user_item_request_builder.go index 2fb634c1593..bee4dcd5b5f 100644 --- a/education/users_education_user_item_request_builder.go +++ b/education/users_education_user_item_request_builder.go @@ -186,3 +186,7 @@ func (m *UsersEducationUserItemRequestBuilder) ToPatchRequestInformation(ctx con func (m *UsersEducationUserItemRequestBuilder) User()(*UsersItemUserRequestBuilder) { return NewUsersItemUserRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *UsersEducationUserItemRequestBuilder) WithUrl(rawUrl string)(*UsersEducationUserItemRequestBuilder) { + return NewUsersEducationUserItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_count_request_builder.go b/education/users_item_assignments_count_request_builder.go index a75728182e3..290f2e73731 100644 --- a/education/users_item_assignments_count_request_builder.go +++ b/education/users_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UsersItemAssignmentsCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *UsersItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsCountRequestBuilder) { + return NewUsersItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_delta_request_builder.go b/education/users_item_assignments_delta_request_builder.go index 7227bc5e508..163d5fcb5c9 100644 --- a/education/users_item_assignments_delta_request_builder.go +++ b/education/users_item_assignments_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *UsersItemAssignmentsDeltaRequestBuilder) ToGetRequestInformation(ctx co } 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 *UsersItemAssignmentsDeltaRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsDeltaRequestBuilder) { + return NewUsersItemAssignmentsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_education_assignment_item_request_builder.go b/education/users_item_assignments_education_assignment_item_request_builder.go index 2e25266f5ed..40d88965aa1 100644 --- a/education/users_item_assignments_education_assignment_item_request_builder.go +++ b/education/users_item_assignments_education_assignment_item_request_builder.go @@ -193,3 +193,7 @@ func (m *UsersItemAssignmentsEducationAssignmentItemRequestBuilder) ToPatchReque } 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 *UsersItemAssignmentsEducationAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsEducationAssignmentItemRequestBuilder) { + return NewUsersItemAssignmentsEducationAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_activate_request_builder.go b/education/users_item_assignments_item_activate_request_builder.go index 479de0c559b..8264f96ed1a 100644 --- a/education/users_item_assignments_item_activate_request_builder.go +++ b/education/users_item_assignments_item_activate_request_builder.go @@ -66,3 +66,7 @@ func (m *UsersItemAssignmentsItemActivateRequestBuilder) ToPostRequestInformatio } 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 *UsersItemAssignmentsItemActivateRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemActivateRequestBuilder) { + return NewUsersItemAssignmentsItemActivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_categories_count_request_builder.go b/education/users_item_assignments_item_categories_count_request_builder.go index 892d21e6532..6fb9e2a2a82 100644 --- a/education/users_item_assignments_item_categories_count_request_builder.go +++ b/education/users_item_assignments_item_categories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UsersItemAssignmentsItemCategoriesCountRequestBuilder) ToGetRequestInfo } 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 *UsersItemAssignmentsItemCategoriesCountRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemCategoriesCountRequestBuilder) { + return NewUsersItemAssignmentsItemCategoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_categories_delta_request_builder.go b/education/users_item_assignments_item_categories_delta_request_builder.go index f8bda736751..c5198685414 100644 --- a/education/users_item_assignments_item_categories_delta_request_builder.go +++ b/education/users_item_assignments_item_categories_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *UsersItemAssignmentsItemCategoriesDeltaRequestBuilder) ToGetRequestInfo } 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 *UsersItemAssignmentsItemCategoriesDeltaRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemCategoriesDeltaRequestBuilder) { + return NewUsersItemAssignmentsItemCategoriesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_categories_item_ref_request_builder.go b/education/users_item_assignments_item_categories_item_ref_request_builder.go index f57b76f6f02..5ec196d9e16 100644 --- a/education/users_item_assignments_item_categories_item_ref_request_builder.go +++ b/education/users_item_assignments_item_categories_item_ref_request_builder.go @@ -68,3 +68,7 @@ func (m *UsersItemAssignmentsItemCategoriesItemRefRequestBuilder) ToDeleteReques } 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 *UsersItemAssignmentsItemCategoriesItemRefRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemCategoriesItemRefRequestBuilder) { + return NewUsersItemAssignmentsItemCategoriesItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_categories_ref_request_builder.go b/education/users_item_assignments_item_categories_ref_request_builder.go index 6277d5d1b1d..ab3ad52189a 100644 --- a/education/users_item_assignments_item_categories_ref_request_builder.go +++ b/education/users_item_assignments_item_categories_ref_request_builder.go @@ -125,3 +125,7 @@ func (m *UsersItemAssignmentsItemCategoriesRefRequestBuilder) ToPostRequestInfor } 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 *UsersItemAssignmentsItemCategoriesRefRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemCategoriesRefRequestBuilder) { + return NewUsersItemAssignmentsItemCategoriesRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_categories_request_builder.go b/education/users_item_assignments_item_categories_request_builder.go index 50844a1668b..1491d2b9341 100644 --- a/education/users_item_assignments_item_categories_request_builder.go +++ b/education/users_item_assignments_item_categories_request_builder.go @@ -46,8 +46,8 @@ type UsersItemAssignmentsItemCategoriesRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationCategoryIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.education.users.item.assignments.item.categories.item collection -func (m *UsersItemAssignmentsItemCategoriesRequestBuilder) ByEducationCategoryIdString(educationCategoryId string)(*UsersItemAssignmentsItemCategoriesEducationCategoryItemRequestBuilder) { +// ByEducationCategoryId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.education.users.item.assignments.item.categories.item collection +func (m *UsersItemAssignmentsItemCategoriesRequestBuilder) ByEducationCategoryId(educationCategoryId string)(*UsersItemAssignmentsItemCategoriesEducationCategoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *UsersItemAssignmentsItemCategoriesRequestBuilder) ToPostRequestInformat } 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 *UsersItemAssignmentsItemCategoriesRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemCategoriesRequestBuilder) { + return NewUsersItemAssignmentsItemCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_deactivate_request_builder.go b/education/users_item_assignments_item_deactivate_request_builder.go index 041edf9cf7c..37a3eaac79a 100644 --- a/education/users_item_assignments_item_deactivate_request_builder.go +++ b/education/users_item_assignments_item_deactivate_request_builder.go @@ -66,3 +66,7 @@ func (m *UsersItemAssignmentsItemDeactivateRequestBuilder) ToPostRequestInformat } 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 *UsersItemAssignmentsItemDeactivateRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemDeactivateRequestBuilder) { + return NewUsersItemAssignmentsItemDeactivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_grading_category_request_builder.go b/education/users_item_assignments_item_grading_category_request_builder.go index f193cdfe0af..bb7e521e6b0 100644 --- a/education/users_item_assignments_item_grading_category_request_builder.go +++ b/education/users_item_assignments_item_grading_category_request_builder.go @@ -113,3 +113,7 @@ func (m *UsersItemAssignmentsItemGradingCategoryRequestBuilder) ToGetRequestInfo } 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 *UsersItemAssignmentsItemGradingCategoryRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemGradingCategoryRequestBuilder) { + return NewUsersItemAssignmentsItemGradingCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_publish_request_builder.go b/education/users_item_assignments_item_publish_request_builder.go index 84d49f20f62..a20e8292730 100644 --- a/education/users_item_assignments_item_publish_request_builder.go +++ b/education/users_item_assignments_item_publish_request_builder.go @@ -66,3 +66,7 @@ func (m *UsersItemAssignmentsItemPublishRequestBuilder) 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 *UsersItemAssignmentsItemPublishRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemPublishRequestBuilder) { + return NewUsersItemAssignmentsItemPublishRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_resources_count_request_builder.go b/education/users_item_assignments_item_resources_count_request_builder.go index d22b64b7203..a8529a37459 100644 --- a/education/users_item_assignments_item_resources_count_request_builder.go +++ b/education/users_item_assignments_item_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UsersItemAssignmentsItemResourcesCountRequestBuilder) ToGetRequestInfor } 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 *UsersItemAssignmentsItemResourcesCountRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemResourcesCountRequestBuilder) { + return NewUsersItemAssignmentsItemResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_resources_education_assignment_resource_item_request_builder.go b/education/users_item_assignments_item_resources_education_assignment_resource_item_request_builder.go index 67c818e6b0f..b3a34bfd3ef 100644 --- a/education/users_item_assignments_item_resources_education_assignment_resource_item_request_builder.go +++ b/education/users_item_assignments_item_resources_education_assignment_resource_item_request_builder.go @@ -73,6 +73,10 @@ func (m *UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequest } return nil } +// DependentResources provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +func (m *UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) DependentResources()(*UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + return NewUsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. // [Find more info here] // @@ -159,3 +163,7 @@ func (m *UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequest } 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 *UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) { + return NewUsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_resources_item_dependent_resources_count_request_builder.go b/education/users_item_assignments_item_resources_item_dependent_resources_count_request_builder.go new file mode 100644 index 00000000000..0e3e98c9de7 --- /dev/null +++ b/education/users_item_assignments_item_resources_item_dependent_resources_count_request_builder.go @@ -0,0 +1,80 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder provides operations to count the resources in the collection. +type UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters get the number of the resource +type UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +} +// NewUsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + m := &UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewUsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewUsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewUsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_resources_item_dependent_resources_education_assignment_resource_item_request_builder.go b/education/users_item_assignments_item_resources_item_dependent_resources_education_assignment_resource_item_request_builder.go new file mode 100644 index 00000000000..18b1a90aa17 --- /dev/null +++ b/education/users_item_assignments_item_resources_item_dependent_resources_education_assignment_resource_item_request_builder.go @@ -0,0 +1,159 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +type UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters get dependentResources from education +type UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters +} +// UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewUsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal instantiates a new EducationAssignmentResourceItemRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + m := &UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources/{educationAssignmentResource%2Did1}{?%24select,%24expand}", pathParameters), + } + return m +} +// NewUsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder instantiates a new EducationAssignmentResourceItemRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewUsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dependentResources for education +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get dependentResources from education +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationAssignmentResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable), nil +} +// Patch update the navigation property dependentResources in education +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationAssignmentResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable), nil +} +// ToDeleteRequestInformation delete navigation property dependentResources for education +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToGetRequestInformation get dependentResources from education +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dependentResources in education +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH + requestInfo.Headers.Add("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + return NewUsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_resources_item_dependent_resources_request_builder.go b/education/users_item_assignments_item_resources_item_dependent_resources_request_builder.go new file mode 100644 index 00000000000..67c87e12859 --- /dev/null +++ b/education/users_item_assignments_item_resources_item_dependent_resources_request_builder.go @@ -0,0 +1,151 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +type UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters get dependentResources from education +type UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters +} +// UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEducationAssignmentResourceId1 provides operations to manage the dependentResources property of the microsoft.graph.educationAssignmentResource entity. +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) ByEducationAssignmentResourceId1(educationAssignmentResourceId1 string)(*UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if educationAssignmentResourceId1 != "" { + urlTplParams["educationAssignmentResource%2Did1"] = educationAssignmentResourceId1 + } + return NewUsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignmentResourceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewUsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal instantiates a new DependentResourcesRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + m := &UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewUsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder instantiates a new DependentResourcesRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewUsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) Count()(*UsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewUsersItemAssignmentsItemResourcesItemDependentResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get dependentResources from education +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationAssignmentResourceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceCollectionResponseable), nil +} +// Post create new navigation property to dependentResources for education +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationAssignmentResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable), nil +} +// ToGetRequestInformation get dependentResources from education +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to dependentResources for education +func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, requestConfiguration *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.Add("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { + return NewUsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_resources_request_builder.go b/education/users_item_assignments_item_resources_request_builder.go index 586eeae25da..c93a911fb5e 100644 --- a/education/users_item_assignments_item_resources_request_builder.go +++ b/education/users_item_assignments_item_resources_request_builder.go @@ -46,8 +46,8 @@ type UsersItemAssignmentsItemResourcesRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationAssignmentResourceIdString provides operations to manage the resources property of the microsoft.graph.educationAssignment entity. -func (m *UsersItemAssignmentsItemResourcesRequestBuilder) ByEducationAssignmentResourceIdString(educationAssignmentResourceId string)(*UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) { +// ByEducationAssignmentResourceId provides operations to manage the resources property of the microsoft.graph.educationAssignment entity. +func (m *UsersItemAssignmentsItemResourcesRequestBuilder) ByEducationAssignmentResourceId(educationAssignmentResourceId string)(*UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *UsersItemAssignmentsItemResourcesRequestBuilder) ToPostRequestInformati } 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 *UsersItemAssignmentsItemResourcesRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemResourcesRequestBuilder) { + return NewUsersItemAssignmentsItemResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_rubric_ref_request_builder.go b/education/users_item_assignments_item_rubric_ref_request_builder.go index 3c8f365da14..13d22feea7c 100644 --- a/education/users_item_assignments_item_rubric_ref_request_builder.go +++ b/education/users_item_assignments_item_rubric_ref_request_builder.go @@ -146,3 +146,7 @@ func (m *UsersItemAssignmentsItemRubricRefRequestBuilder) ToPutRequestInformatio } 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 *UsersItemAssignmentsItemRubricRefRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemRubricRefRequestBuilder) { + return NewUsersItemAssignmentsItemRubricRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_rubric_request_builder.go b/education/users_item_assignments_item_rubric_request_builder.go index 076091a86e9..6d51e5dd559 100644 --- a/education/users_item_assignments_item_rubric_request_builder.go +++ b/education/users_item_assignments_item_rubric_request_builder.go @@ -166,3 +166,7 @@ func (m *UsersItemAssignmentsItemRubricRequestBuilder) 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 *UsersItemAssignmentsItemRubricRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemRubricRequestBuilder) { + return NewUsersItemAssignmentsItemRubricRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_set_up_feedback_resources_folder_request_builder.go b/education/users_item_assignments_item_set_up_feedback_resources_folder_request_builder.go index 2ffd31c139d..a6e74f83bed 100644 --- a/education/users_item_assignments_item_set_up_feedback_resources_folder_request_builder.go +++ b/education/users_item_assignments_item_set_up_feedback_resources_folder_request_builder.go @@ -66,3 +66,7 @@ func (m *UsersItemAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilder) 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 *UsersItemAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilder) { + return NewUsersItemAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_set_up_resources_folder_request_builder.go b/education/users_item_assignments_item_set_up_resources_folder_request_builder.go index 330acc56ca3..ea2ccb74aea 100644 --- a/education/users_item_assignments_item_set_up_resources_folder_request_builder.go +++ b/education/users_item_assignments_item_set_up_resources_folder_request_builder.go @@ -66,3 +66,7 @@ func (m *UsersItemAssignmentsItemSetUpResourcesFolderRequestBuilder) ToPostReque } 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 *UsersItemAssignmentsItemSetUpResourcesFolderRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSetUpResourcesFolderRequestBuilder) { + return NewUsersItemAssignmentsItemSetUpResourcesFolderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_count_request_builder.go b/education/users_item_assignments_item_submissions_count_request_builder.go index 0664d88f725..a505a23ae3a 100644 --- a/education/users_item_assignments_item_submissions_count_request_builder.go +++ b/education/users_item_assignments_item_submissions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UsersItemAssignmentsItemSubmissionsCountRequestBuilder) ToGetRequestInf } 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 *UsersItemAssignmentsItemSubmissionsCountRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsCountRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_education_submission_item_request_builder.go b/education/users_item_assignments_item_submissions_education_submission_item_request_builder.go index 7063c17fea5..6198d7c3d8e 100644 --- a/education/users_item_assignments_item_submissions_education_submission_item_request_builder.go +++ b/education/users_item_assignments_item_submissions_education_submission_item_request_builder.go @@ -188,3 +188,7 @@ func (m *UsersItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilde func (m *UsersItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) Unsubmit()(*UsersItemAssignmentsItemSubmissionsItemUnsubmitRequestBuilder) { return NewUsersItemAssignmentsItemSubmissionsItemUnsubmitRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *UsersItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_item_outcomes_count_request_builder.go b/education/users_item_assignments_item_submissions_item_outcomes_count_request_builder.go index 5fd7bab0812..ff5fcd504f1 100644 --- a/education/users_item_assignments_item_submissions_item_outcomes_count_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_outcomes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesCountRequestBuilder) ToG } 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 *UsersItemAssignmentsItemSubmissionsItemOutcomesCountRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemOutcomesCountRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemOutcomesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go b/education/users_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go index f9fff20fece..7b529b8dc7d 100644 --- a/education/users_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go @@ -159,3 +159,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequ } 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 *UsersItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_item_outcomes_request_builder.go b/education/users_item_assignments_item_submissions_item_outcomes_request_builder.go index 7fa24206631..1a86132e4f4 100644 --- a/education/users_item_assignments_item_submissions_item_outcomes_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_outcomes_request_builder.go @@ -46,8 +46,8 @@ type UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationOutcomeIdString provides operations to manage the outcomes property of the microsoft.graph.educationSubmission entity. -func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ByEducationOutcomeIdString(educationOutcomeId string)(*UsersItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) { +// ByEducationOutcomeId provides operations to manage the outcomes property of the microsoft.graph.educationSubmission entity. +func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ByEducationOutcomeId(educationOutcomeId string)(*UsersItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ToPostRe } 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 *UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_item_reassign_request_builder.go b/education/users_item_assignments_item_submissions_item_reassign_request_builder.go index c16f702e7fd..9c6e1b4fcd4 100644 --- a/education/users_item_assignments_item_submissions_item_reassign_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_reassign_request_builder.go @@ -66,3 +66,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemReassignRequestBuilder) ToPostRe } 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 *UsersItemAssignmentsItemSubmissionsItemReassignRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemReassignRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemReassignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_item_resources_count_request_builder.go b/education/users_item_assignments_item_submissions_item_resources_count_request_builder.go index ec9c424e692..29efe6a1377 100644 --- a/education/users_item_assignments_item_submissions_item_resources_count_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemResourcesCountRequestBuilder) To } 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 *UsersItemAssignmentsItemSubmissionsItemResourcesCountRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemResourcesCountRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go b/education/users_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go index eb97f3a098e..da7da995227 100644 --- a/education/users_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go @@ -73,6 +73,10 @@ func (m *UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionReso } return nil } +// DependentResources provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) DependentResources()(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. // [Find more info here] // @@ -159,3 +163,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionReso } 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 *UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_item_resources_item_dependent_resources_count_request_builder.go b/education/users_item_assignments_item_submissions_item_resources_item_dependent_resources_count_request_builder.go new file mode 100644 index 00000000000..dc20a8b3502 --- /dev/null +++ b/education/users_item_assignments_item_submissions_item_resources_item_dependent_resources_count_request_builder.go @@ -0,0 +1,80 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder provides operations to count the resources in the collection. +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters get the number of the resource +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +} +// NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + m := &UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_item_resources_item_dependent_resources_education_submission_resource_item_request_builder.go b/education/users_item_assignments_item_submissions_item_resources_item_dependent_resources_education_submission_resource_item_request_builder.go new file mode 100644 index 00000000000..93a4e066a4f --- /dev/null +++ b/education/users_item_assignments_item_submissions_item_resources_item_dependent_resources_education_submission_resource_item_request_builder.go @@ -0,0 +1,159 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters get dependentResources from education +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters +} +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal instantiates a new EducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + m := &UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%2Did1}{?%24select,%24expand}", pathParameters), + } + return m +} +// NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder instantiates a new EducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dependentResources for education +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get dependentResources from education +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil +} +// Patch update the navigation property dependentResources in education +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil +} +// ToDeleteRequestInformation delete navigation property dependentResources for education +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToGetRequestInformation get dependentResources from education +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dependentResources in education +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH + requestInfo.Headers.Add("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go b/education/users_item_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go new file mode 100644 index 00000000000..34a5b947fa0 --- /dev/null +++ b/education/users_item_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go @@ -0,0 +1,151 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters get dependentResources from education +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetQueryParameters +} +// UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEducationSubmissionResourceId1 provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) ByEducationSubmissionResourceId1(educationSubmissionResourceId1 string)(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if educationSubmissionResourceId1 != "" { + urlTplParams["educationSubmissionResource%2Did1"] = educationSubmissionResourceId1 + } + return NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal instantiates a new DependentResourcesRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + m := &UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder instantiates a new DependentResourcesRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) Count()(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get dependentResources from education +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceCollectionResponseable), nil +} +// Post create new navigation property to dependentResources for education +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil +} +// ToGetRequestInformation get dependentResources from education +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to dependentResources for education +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.Add("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_item_resources_request_builder.go b/education/users_item_assignments_item_submissions_item_resources_request_builder.go index 11453b195c2..ca085a1b1d8 100644 --- a/education/users_item_assignments_item_submissions_item_resources_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_resources_request_builder.go @@ -46,8 +46,8 @@ type UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationSubmissionResourceIdString provides operations to manage the resources property of the microsoft.graph.educationSubmission entity. -func (m *UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) ByEducationSubmissionResourceIdString(educationSubmissionResourceId string)(*UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) { +// ByEducationSubmissionResourceId provides operations to manage the resources property of the microsoft.graph.educationSubmission entity. +func (m *UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) ByEducationSubmissionResourceId(educationSubmissionResourceId string)(*UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) ToPostR } 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 *UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_item_return_request_builder.go b/education/users_item_assignments_item_submissions_item_return_request_builder.go index 472bc163d01..bb19eb1b855 100644 --- a/education/users_item_assignments_item_submissions_item_return_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_return_request_builder.go @@ -66,3 +66,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemReturnRequestBuilder) ToPostRequ } 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 *UsersItemAssignmentsItemSubmissionsItemReturnRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemReturnRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemReturnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go b/education/users_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go index 6c6c0711000..a144806e6cc 100644 --- a/education/users_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go @@ -66,3 +66,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBuild } 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 *UsersItemAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_item_submit_request_builder.go b/education/users_item_assignments_item_submissions_item_submit_request_builder.go index 694177609dc..f7c11c5aa38 100644 --- a/education/users_item_assignments_item_submissions_item_submit_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_submit_request_builder.go @@ -66,3 +66,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemSubmitRequestBuilder) ToPostRequ } 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 *UsersItemAssignmentsItemSubmissionsItemSubmitRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemSubmitRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemSubmitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_item_submitted_resources_count_request_builder.go b/education/users_item_assignments_item_submissions_item_submitted_resources_count_request_builder.go index dd31746dc21..232dcec1f19 100644 --- a/education/users_item_assignments_item_submissions_item_submitted_resources_count_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_submitted_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesCountRequestBu } 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 *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesCountRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesCountRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go b/education/users_item_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go index c1e327b8ff4..f3f5ca87dbc 100644 --- a/education/users_item_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go @@ -70,6 +70,10 @@ func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmi } return nil } +// DependentResources provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder) DependentResources()(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get get submittedResources from education func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); @@ -153,3 +157,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmi } 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 *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_count_request_builder.go b/education/users_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_count_request_builder.go new file mode 100644 index 00000000000..7ee04c640e3 --- /dev/null +++ b/education/users_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_count_request_builder.go @@ -0,0 +1,80 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder provides operations to count the resources in the collection. +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters get the number of the resource +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetQueryParameters +} +// NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + m := &UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_education_submission_resource_item_request_builder.go b/education/users_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_education_submission_resource_item_request_builder.go new file mode 100644 index 00000000000..c49192baa42 --- /dev/null +++ b/education/users_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_education_submission_resource_item_request_builder.go @@ -0,0 +1,159 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters get dependentResources from education +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters +} +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal instantiates a new EducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + m := &UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%2Did1}{?%24select,%24expand}", pathParameters), + } + return m +} +// NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder instantiates a new EducationSubmissionResourceItemRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dependentResources for education +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get dependentResources from education +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil +} +// Patch update the navigation property dependentResources in education +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil +} +// ToDeleteRequestInformation delete navigation property dependentResources for education +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToGetRequestInformation get dependentResources from education +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dependentResources in education +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH + requestInfo.Headers.Add("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go b/education/users_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go new file mode 100644 index 00000000000..9cdfb60a936 --- /dev/null +++ b/education/users_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go @@ -0,0 +1,151 @@ +package education + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters get dependentResources from education +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetQueryParameters +} +// UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEducationSubmissionResourceId1 provides operations to manage the dependentResources property of the microsoft.graph.educationSubmissionResource entity. +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) ByEducationSubmissionResourceId1(educationSubmissionResourceId1 string)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if educationSubmissionResourceId1 != "" { + urlTplParams["educationSubmissionResource%2Did1"] = educationSubmissionResourceId1 + } + return NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal instantiates a new DependentResourcesRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + m := &UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder instantiates a new DependentResourcesRequestBuilder and sets the default values. +func NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) Count()(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get dependentResources from education +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceCollectionResponseable), nil +} +// Post create new navigation property to dependentResources for education +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateEducationSubmissionResourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil +} +// ToGetRequestInformation get dependentResources from education +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to dependentResources for education +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.Add("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_item_submitted_resources_request_builder.go b/education/users_item_assignments_item_submissions_item_submitted_resources_request_builder.go index 9302812a43c..d47c6e355e5 100644 --- a/education/users_item_assignments_item_submissions_item_submitted_resources_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_submitted_resources_request_builder.go @@ -46,8 +46,8 @@ type UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilderPost // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationSubmissionResourceIdString provides operations to manage the submittedResources property of the microsoft.graph.educationSubmission entity. -func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder) ByEducationSubmissionResourceIdString(educationSubmissionResourceId string)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder) { +// ByEducationSubmissionResourceId provides operations to manage the submittedResources property of the microsoft.graph.educationSubmission entity. +func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder) ByEducationSubmissionResourceId(educationSubmissionResourceId string)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder } 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 *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_item_unsubmit_request_builder.go b/education/users_item_assignments_item_submissions_item_unsubmit_request_builder.go index 072dc44e532..8e005db9857 100644 --- a/education/users_item_assignments_item_submissions_item_unsubmit_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_unsubmit_request_builder.go @@ -66,3 +66,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemUnsubmitRequestBuilder) ToPostRe } 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 *UsersItemAssignmentsItemSubmissionsItemUnsubmitRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsItemUnsubmitRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsItemUnsubmitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_item_submissions_request_builder.go b/education/users_item_assignments_item_submissions_request_builder.go index 9d1e2e210ee..ef11a01f61c 100644 --- a/education/users_item_assignments_item_submissions_request_builder.go +++ b/education/users_item_assignments_item_submissions_request_builder.go @@ -46,8 +46,8 @@ type UsersItemAssignmentsItemSubmissionsRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationSubmissionIdString provides operations to manage the submissions property of the microsoft.graph.educationAssignment entity. -func (m *UsersItemAssignmentsItemSubmissionsRequestBuilder) ByEducationSubmissionIdString(educationSubmissionId string)(*UsersItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) { +// ByEducationSubmissionId provides operations to manage the submissions property of the microsoft.graph.educationAssignment entity. +func (m *UsersItemAssignmentsItemSubmissionsRequestBuilder) ByEducationSubmissionId(educationSubmissionId string)(*UsersItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *UsersItemAssignmentsItemSubmissionsRequestBuilder) ToPostRequestInforma } 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 *UsersItemAssignmentsItemSubmissionsRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsItemSubmissionsRequestBuilder) { + return NewUsersItemAssignmentsItemSubmissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_assignments_request_builder.go b/education/users_item_assignments_request_builder.go index 2d9308b3250..06277efa38e 100644 --- a/education/users_item_assignments_request_builder.go +++ b/education/users_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type UsersItemAssignmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.educationUser entity. -func (m *UsersItemAssignmentsRequestBuilder) ByEducationAssignmentIdString(educationAssignmentId string)(*UsersItemAssignmentsEducationAssignmentItemRequestBuilder) { +// ByEducationAssignmentId provides operations to manage the assignments property of the microsoft.graph.educationUser entity. +func (m *UsersItemAssignmentsRequestBuilder) ByEducationAssignmentId(educationAssignmentId string)(*UsersItemAssignmentsEducationAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *UsersItemAssignmentsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *UsersItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*UsersItemAssignmentsRequestBuilder) { + return NewUsersItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_classes_count_request_builder.go b/education/users_item_classes_count_request_builder.go index 584b0383a80..4d675a63cf5 100644 --- a/education/users_item_classes_count_request_builder.go +++ b/education/users_item_classes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UsersItemClassesCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *UsersItemClassesCountRequestBuilder) WithUrl(rawUrl string)(*UsersItemClassesCountRequestBuilder) { + return NewUsersItemClassesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_classes_education_class_item_request_builder.go b/education/users_item_classes_education_class_item_request_builder.go index e9011f111bc..a935b641780 100644 --- a/education/users_item_classes_education_class_item_request_builder.go +++ b/education/users_item_classes_education_class_item_request_builder.go @@ -75,3 +75,7 @@ func (m *UsersItemClassesEducationClassItemRequestBuilder) ToGetRequestInformati } 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 *UsersItemClassesEducationClassItemRequestBuilder) WithUrl(rawUrl string)(*UsersItemClassesEducationClassItemRequestBuilder) { + return NewUsersItemClassesEducationClassItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_classes_request_builder.go b/education/users_item_classes_request_builder.go index aeb54d5c9c1..ceafe5de6c2 100644 --- a/education/users_item_classes_request_builder.go +++ b/education/users_item_classes_request_builder.go @@ -39,8 +39,8 @@ type UsersItemClassesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *UsersItemClassesRequestBuilderGetQueryParameters } -// ByEducationClassIdString provides operations to manage the classes property of the microsoft.graph.educationUser entity. -func (m *UsersItemClassesRequestBuilder) ByEducationClassIdString(educationClassId string)(*UsersItemClassesEducationClassItemRequestBuilder) { +// ByEducationClassId provides operations to manage the classes property of the microsoft.graph.educationUser entity. +func (m *UsersItemClassesRequestBuilder) ByEducationClassId(educationClassId string)(*UsersItemClassesEducationClassItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *UsersItemClassesRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *UsersItemClassesRequestBuilder) WithUrl(rawUrl string)(*UsersItemClassesRequestBuilder) { + return NewUsersItemClassesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_rubrics_count_request_builder.go b/education/users_item_rubrics_count_request_builder.go index 06a11154080..86ceef1d711 100644 --- a/education/users_item_rubrics_count_request_builder.go +++ b/education/users_item_rubrics_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UsersItemRubricsCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *UsersItemRubricsCountRequestBuilder) WithUrl(rawUrl string)(*UsersItemRubricsCountRequestBuilder) { + return NewUsersItemRubricsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_rubrics_education_rubric_item_request_builder.go b/education/users_item_rubrics_education_rubric_item_request_builder.go index e33b675831a..b5af914b0a9 100644 --- a/education/users_item_rubrics_education_rubric_item_request_builder.go +++ b/education/users_item_rubrics_education_rubric_item_request_builder.go @@ -162,3 +162,7 @@ func (m *UsersItemRubricsEducationRubricItemRequestBuilder) ToPatchRequestInform } 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 *UsersItemRubricsEducationRubricItemRequestBuilder) WithUrl(rawUrl string)(*UsersItemRubricsEducationRubricItemRequestBuilder) { + return NewUsersItemRubricsEducationRubricItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_rubrics_request_builder.go b/education/users_item_rubrics_request_builder.go index 3761e75c3c1..f115b6dc18d 100644 --- a/education/users_item_rubrics_request_builder.go +++ b/education/users_item_rubrics_request_builder.go @@ -46,8 +46,8 @@ type UsersItemRubricsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationRubricIdString provides operations to manage the rubrics property of the microsoft.graph.educationUser entity. -func (m *UsersItemRubricsRequestBuilder) ByEducationRubricIdString(educationRubricId string)(*UsersItemRubricsEducationRubricItemRequestBuilder) { +// ByEducationRubricId provides operations to manage the rubrics property of the microsoft.graph.educationUser entity. +func (m *UsersItemRubricsRequestBuilder) ByEducationRubricId(educationRubricId string)(*UsersItemRubricsEducationRubricItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *UsersItemRubricsRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *UsersItemRubricsRequestBuilder) WithUrl(rawUrl string)(*UsersItemRubricsRequestBuilder) { + return NewUsersItemRubricsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_schools_count_request_builder.go b/education/users_item_schools_count_request_builder.go index 725cb921917..f5da8ce67c6 100644 --- a/education/users_item_schools_count_request_builder.go +++ b/education/users_item_schools_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UsersItemSchoolsCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *UsersItemSchoolsCountRequestBuilder) WithUrl(rawUrl string)(*UsersItemSchoolsCountRequestBuilder) { + return NewUsersItemSchoolsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_schools_education_school_item_request_builder.go b/education/users_item_schools_education_school_item_request_builder.go index 2967f6f79ba..f77a67115bf 100644 --- a/education/users_item_schools_education_school_item_request_builder.go +++ b/education/users_item_schools_education_school_item_request_builder.go @@ -75,3 +75,7 @@ func (m *UsersItemSchoolsEducationSchoolItemRequestBuilder) ToGetRequestInformat } 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 *UsersItemSchoolsEducationSchoolItemRequestBuilder) WithUrl(rawUrl string)(*UsersItemSchoolsEducationSchoolItemRequestBuilder) { + return NewUsersItemSchoolsEducationSchoolItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_schools_request_builder.go b/education/users_item_schools_request_builder.go index 3c849358873..132eac6f74c 100644 --- a/education/users_item_schools_request_builder.go +++ b/education/users_item_schools_request_builder.go @@ -39,8 +39,8 @@ type UsersItemSchoolsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *UsersItemSchoolsRequestBuilderGetQueryParameters } -// ByEducationSchoolIdString provides operations to manage the schools property of the microsoft.graph.educationUser entity. -func (m *UsersItemSchoolsRequestBuilder) ByEducationSchoolIdString(educationSchoolId string)(*UsersItemSchoolsEducationSchoolItemRequestBuilder) { +// ByEducationSchoolId provides operations to manage the schools property of the microsoft.graph.educationUser entity. +func (m *UsersItemSchoolsRequestBuilder) ByEducationSchoolId(educationSchoolId string)(*UsersItemSchoolsEducationSchoolItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *UsersItemSchoolsRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *UsersItemSchoolsRequestBuilder) WithUrl(rawUrl string)(*UsersItemSchoolsRequestBuilder) { + return NewUsersItemSchoolsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_taught_classes_count_request_builder.go b/education/users_item_taught_classes_count_request_builder.go index 6e2d1f7e9e2..0ec322fac02 100644 --- a/education/users_item_taught_classes_count_request_builder.go +++ b/education/users_item_taught_classes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UsersItemTaughtClassesCountRequestBuilder) ToGetRequestInformation(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 *UsersItemTaughtClassesCountRequestBuilder) WithUrl(rawUrl string)(*UsersItemTaughtClassesCountRequestBuilder) { + return NewUsersItemTaughtClassesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_taught_classes_education_class_item_request_builder.go b/education/users_item_taught_classes_education_class_item_request_builder.go index 6360494165f..30f19f1d51b 100644 --- a/education/users_item_taught_classes_education_class_item_request_builder.go +++ b/education/users_item_taught_classes_education_class_item_request_builder.go @@ -75,3 +75,7 @@ func (m *UsersItemTaughtClassesEducationClassItemRequestBuilder) ToGetRequestInf } 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 *UsersItemTaughtClassesEducationClassItemRequestBuilder) WithUrl(rawUrl string)(*UsersItemTaughtClassesEducationClassItemRequestBuilder) { + return NewUsersItemTaughtClassesEducationClassItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_taught_classes_request_builder.go b/education/users_item_taught_classes_request_builder.go index 36a4cbe4a83..b361d74f005 100644 --- a/education/users_item_taught_classes_request_builder.go +++ b/education/users_item_taught_classes_request_builder.go @@ -39,8 +39,8 @@ type UsersItemTaughtClassesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *UsersItemTaughtClassesRequestBuilderGetQueryParameters } -// ByEducationClassIdString provides operations to manage the taughtClasses property of the microsoft.graph.educationUser entity. -func (m *UsersItemTaughtClassesRequestBuilder) ByEducationClassIdString(educationClassId string)(*UsersItemTaughtClassesEducationClassItemRequestBuilder) { +// ByEducationClassId provides operations to manage the taughtClasses property of the microsoft.graph.educationUser entity. +func (m *UsersItemTaughtClassesRequestBuilder) ByEducationClassId(educationClassId string)(*UsersItemTaughtClassesEducationClassItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *UsersItemTaughtClassesRequestBuilder) ToGetRequestInformation(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 *UsersItemTaughtClassesRequestBuilder) WithUrl(rawUrl string)(*UsersItemTaughtClassesRequestBuilder) { + return NewUsersItemTaughtClassesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_user_mailbox_settings_request_builder.go b/education/users_item_user_mailbox_settings_request_builder.go index e9d97908aea..59b56eef4a9 100644 --- a/education/users_item_user_mailbox_settings_request_builder.go +++ b/education/users_item_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *UsersItemUserMailboxSettingsRequestBuilder) ToPatchRequestInformation(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 *UsersItemUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*UsersItemUserMailboxSettingsRequestBuilder) { + return NewUsersItemUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_item_user_request_builder.go b/education/users_item_user_request_builder.go index 1c53b1dbacc..4eaf823102a 100644 --- a/education/users_item_user_request_builder.go +++ b/education/users_item_user_request_builder.go @@ -82,3 +82,7 @@ func (m *UsersItemUserRequestBuilder) ToGetRequestInformation(ctx context.Contex } 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 *UsersItemUserRequestBuilder) WithUrl(rawUrl string)(*UsersItemUserRequestBuilder) { + return NewUsersItemUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/education/users_request_builder.go b/education/users_request_builder.go index 63d47c36d91..74687124ed5 100644 --- a/education/users_request_builder.go +++ b/education/users_request_builder.go @@ -46,8 +46,8 @@ type UsersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationUserIdString provides operations to manage the users property of the microsoft.graph.educationRoot entity. -func (m *UsersRequestBuilder) ByEducationUserIdString(educationUserId string)(*UsersEducationUserItemRequestBuilder) { +// ByEducationUserId provides operations to manage the users property of the microsoft.graph.educationRoot entity. +func (m *UsersRequestBuilder) ByEducationUserId(educationUserId string)(*UsersEducationUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *UsersRequestBuilder) ToPostRequestInformation(ctx context.Context, body } 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 *UsersRequestBuilder) WithUrl(rawUrl string)(*UsersRequestBuilder) { + return NewUsersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/employeeexperience/employee_experience_request_builder.go b/employeeexperience/employee_experience_request_builder.go index 46735fca26b..d265d1bc14b 100644 --- a/employeeexperience/employee_experience_request_builder.go +++ b/employeeexperience/employee_experience_request_builder.go @@ -126,3 +126,7 @@ func (m *EmployeeExperienceRequestBuilder) ToPatchRequestInformation(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 *EmployeeExperienceRequestBuilder) WithUrl(rawUrl string)(*EmployeeExperienceRequestBuilder) { + return NewEmployeeExperienceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/employeeexperience/learning_course_activities_count_request_builder.go b/employeeexperience/learning_course_activities_count_request_builder.go index a4b12daa30e..e6df7f7d35d 100644 --- a/employeeexperience/learning_course_activities_count_request_builder.go +++ b/employeeexperience/learning_course_activities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LearningCourseActivitiesCountRequestBuilder) ToGetRequestInformation(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 *LearningCourseActivitiesCountRequestBuilder) WithUrl(rawUrl string)(*LearningCourseActivitiesCountRequestBuilder) { + return NewLearningCourseActivitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/employeeexperience/learning_course_activities_learning_course_activity_item_request_builder.go b/employeeexperience/learning_course_activities_learning_course_activity_item_request_builder.go index c140735218f..0c7fb8d7736 100644 --- a/employeeexperience/learning_course_activities_learning_course_activity_item_request_builder.go +++ b/employeeexperience/learning_course_activities_learning_course_activity_item_request_builder.go @@ -156,3 +156,7 @@ func (m *LearningCourseActivitiesLearningCourseActivityItemRequestBuilder) 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 *LearningCourseActivitiesLearningCourseActivityItemRequestBuilder) WithUrl(rawUrl string)(*LearningCourseActivitiesLearningCourseActivityItemRequestBuilder) { + return NewLearningCourseActivitiesLearningCourseActivityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/employeeexperience/learning_course_activities_request_builder.go b/employeeexperience/learning_course_activities_request_builder.go index 2b7d802bab1..f814f298277 100644 --- a/employeeexperience/learning_course_activities_request_builder.go +++ b/employeeexperience/learning_course_activities_request_builder.go @@ -46,8 +46,8 @@ type LearningCourseActivitiesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByLearningCourseActivityIdString provides operations to manage the learningCourseActivities property of the microsoft.graph.employeeExperience entity. -func (m *LearningCourseActivitiesRequestBuilder) ByLearningCourseActivityIdString(learningCourseActivityId string)(*LearningCourseActivitiesLearningCourseActivityItemRequestBuilder) { +// ByLearningCourseActivityId provides operations to manage the learningCourseActivities property of the microsoft.graph.employeeExperience entity. +func (m *LearningCourseActivitiesRequestBuilder) ByLearningCourseActivityId(learningCourseActivityId string)(*LearningCourseActivitiesLearningCourseActivityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *LearningCourseActivitiesRequestBuilder) ToPostRequestInformation(ctx co } 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 *LearningCourseActivitiesRequestBuilder) WithUrl(rawUrl string)(*LearningCourseActivitiesRequestBuilder) { + return NewLearningCourseActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/employeeexperience/learning_providers_count_request_builder.go b/employeeexperience/learning_providers_count_request_builder.go index 11e02935810..b1249a11045 100644 --- a/employeeexperience/learning_providers_count_request_builder.go +++ b/employeeexperience/learning_providers_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LearningProvidersCountRequestBuilder) ToGetRequestInformation(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 *LearningProvidersCountRequestBuilder) WithUrl(rawUrl string)(*LearningProvidersCountRequestBuilder) { + return NewLearningProvidersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/employeeexperience/learning_providers_item_learning_contents_count_request_builder.go b/employeeexperience/learning_providers_item_learning_contents_count_request_builder.go index 0bd34eede55..cdf9b5618f4 100644 --- a/employeeexperience/learning_providers_item_learning_contents_count_request_builder.go +++ b/employeeexperience/learning_providers_item_learning_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LearningProvidersItemLearningContentsCountRequestBuilder) ToGetRequestI } 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 *LearningProvidersItemLearningContentsCountRequestBuilder) WithUrl(rawUrl string)(*LearningProvidersItemLearningContentsCountRequestBuilder) { + return NewLearningProvidersItemLearningContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/employeeexperience/learning_providers_item_learning_contents_learning_content_item_request_builder.go b/employeeexperience/learning_providers_item_learning_contents_learning_content_item_request_builder.go index 0750c19d90e..66e1159de6e 100644 --- a/employeeexperience/learning_providers_item_learning_contents_learning_content_item_request_builder.go +++ b/employeeexperience/learning_providers_item_learning_contents_learning_content_item_request_builder.go @@ -162,3 +162,7 @@ func (m *LearningProvidersItemLearningContentsLearningContentItemRequestBuilder) } 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 *LearningProvidersItemLearningContentsLearningContentItemRequestBuilder) WithUrl(rawUrl string)(*LearningProvidersItemLearningContentsLearningContentItemRequestBuilder) { + return NewLearningProvidersItemLearningContentsLearningContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/employeeexperience/learning_providers_item_learning_contents_request_builder.go b/employeeexperience/learning_providers_item_learning_contents_request_builder.go index 8b7a0cfff21..4cbf9a2d22b 100644 --- a/employeeexperience/learning_providers_item_learning_contents_request_builder.go +++ b/employeeexperience/learning_providers_item_learning_contents_request_builder.go @@ -46,8 +46,8 @@ type LearningProvidersItemLearningContentsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByLearningContentIdString provides operations to manage the learningContents property of the microsoft.graph.learningProvider entity. -func (m *LearningProvidersItemLearningContentsRequestBuilder) ByLearningContentIdString(learningContentId string)(*LearningProvidersItemLearningContentsLearningContentItemRequestBuilder) { +// ByLearningContentId provides operations to manage the learningContents property of the microsoft.graph.learningProvider entity. +func (m *LearningProvidersItemLearningContentsRequestBuilder) ByLearningContentId(learningContentId string)(*LearningProvidersItemLearningContentsLearningContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *LearningProvidersItemLearningContentsRequestBuilder) ToPostRequestInfor } 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 *LearningProvidersItemLearningContentsRequestBuilder) WithUrl(rawUrl string)(*LearningProvidersItemLearningContentsRequestBuilder) { + return NewLearningProvidersItemLearningContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/employeeexperience/learning_providers_item_learning_course_activities_count_request_builder.go b/employeeexperience/learning_providers_item_learning_course_activities_count_request_builder.go index 6fa6e55d1d4..a143247c228 100644 --- a/employeeexperience/learning_providers_item_learning_course_activities_count_request_builder.go +++ b/employeeexperience/learning_providers_item_learning_course_activities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LearningProvidersItemLearningCourseActivitiesCountRequestBuilder) ToGet } 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 *LearningProvidersItemLearningCourseActivitiesCountRequestBuilder) WithUrl(rawUrl string)(*LearningProvidersItemLearningCourseActivitiesCountRequestBuilder) { + return NewLearningProvidersItemLearningCourseActivitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/employeeexperience/learning_providers_item_learning_course_activities_learning_course_activity_item_request_builder.go b/employeeexperience/learning_providers_item_learning_course_activities_learning_course_activity_item_request_builder.go index f0a13e34161..655d32f94d5 100644 --- a/employeeexperience/learning_providers_item_learning_course_activities_learning_course_activity_item_request_builder.go +++ b/employeeexperience/learning_providers_item_learning_course_activities_learning_course_activity_item_request_builder.go @@ -159,3 +159,7 @@ func (m *LearningProvidersItemLearningCourseActivitiesLearningCourseActivityItem } 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 *LearningProvidersItemLearningCourseActivitiesLearningCourseActivityItemRequestBuilder) WithUrl(rawUrl string)(*LearningProvidersItemLearningCourseActivitiesLearningCourseActivityItemRequestBuilder) { + return NewLearningProvidersItemLearningCourseActivitiesLearningCourseActivityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/employeeexperience/learning_providers_item_learning_course_activities_request_builder.go b/employeeexperience/learning_providers_item_learning_course_activities_request_builder.go index bc416cccf63..40aeff97974 100644 --- a/employeeexperience/learning_providers_item_learning_course_activities_request_builder.go +++ b/employeeexperience/learning_providers_item_learning_course_activities_request_builder.go @@ -46,8 +46,8 @@ type LearningProvidersItemLearningCourseActivitiesRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByLearningCourseActivityIdString provides operations to manage the learningCourseActivities property of the microsoft.graph.learningProvider entity. -func (m *LearningProvidersItemLearningCourseActivitiesRequestBuilder) ByLearningCourseActivityIdString(learningCourseActivityId string)(*LearningProvidersItemLearningCourseActivitiesLearningCourseActivityItemRequestBuilder) { +// ByLearningCourseActivityId provides operations to manage the learningCourseActivities property of the microsoft.graph.learningProvider entity. +func (m *LearningProvidersItemLearningCourseActivitiesRequestBuilder) ByLearningCourseActivityId(learningCourseActivityId string)(*LearningProvidersItemLearningCourseActivitiesLearningCourseActivityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *LearningProvidersItemLearningCourseActivitiesRequestBuilder) ToPostRequ } 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 *LearningProvidersItemLearningCourseActivitiesRequestBuilder) WithUrl(rawUrl string)(*LearningProvidersItemLearningCourseActivitiesRequestBuilder) { + return NewLearningProvidersItemLearningCourseActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/employeeexperience/learning_providers_learning_provider_item_request_builder.go b/employeeexperience/learning_providers_learning_provider_item_request_builder.go index 62a9b81d2ab..7bd27620828 100644 --- a/employeeexperience/learning_providers_learning_provider_item_request_builder.go +++ b/employeeexperience/learning_providers_learning_provider_item_request_builder.go @@ -170,3 +170,7 @@ func (m *LearningProvidersLearningProviderItemRequestBuilder) 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 *LearningProvidersLearningProviderItemRequestBuilder) WithUrl(rawUrl string)(*LearningProvidersLearningProviderItemRequestBuilder) { + return NewLearningProvidersLearningProviderItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/employeeexperience/learning_providers_request_builder.go b/employeeexperience/learning_providers_request_builder.go index bbdfbd770a0..da1ce57f856 100644 --- a/employeeexperience/learning_providers_request_builder.go +++ b/employeeexperience/learning_providers_request_builder.go @@ -46,8 +46,8 @@ type LearningProvidersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByLearningProviderIdString provides operations to manage the learningProviders property of the microsoft.graph.employeeExperience entity. -func (m *LearningProvidersRequestBuilder) ByLearningProviderIdString(learningProviderId string)(*LearningProvidersLearningProviderItemRequestBuilder) { +// ByLearningProviderId provides operations to manage the learningProviders property of the microsoft.graph.employeeExperience entity. +func (m *LearningProvidersRequestBuilder) ByLearningProviderId(learningProviderId string)(*LearningProvidersLearningProviderItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *LearningProvidersRequestBuilder) ToPostRequestInformation(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 *LearningProvidersRequestBuilder) WithUrl(rawUrl string)(*LearningProvidersRequestBuilder) { + return NewLearningProvidersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/connections_count_request_builder.go b/external/connections_count_request_builder.go index 014203b3f97..5ef6e88a833 100644 --- a/external/connections_count_request_builder.go +++ b/external/connections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConnectionsCountRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *ConnectionsCountRequestBuilder) WithUrl(rawUrl string)(*ConnectionsCountRequestBuilder) { + return NewConnectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/connections_external_connection_item_request_builder.go b/external/connections_external_connection_item_request_builder.go index 2288fc10481..10ad9d9613b 100644 --- a/external/connections_external_connection_item_request_builder.go +++ b/external/connections_external_connection_item_request_builder.go @@ -182,3 +182,7 @@ func (m *ConnectionsExternalConnectionItemRequestBuilder) ToPatchRequestInformat } 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 *ConnectionsExternalConnectionItemRequestBuilder) WithUrl(rawUrl string)(*ConnectionsExternalConnectionItemRequestBuilder) { + return NewConnectionsExternalConnectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/connections_item_groups_count_request_builder.go b/external/connections_item_groups_count_request_builder.go index b59be03b8de..662d101b7e5 100644 --- a/external/connections_item_groups_count_request_builder.go +++ b/external/connections_item_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConnectionsItemGroupsCountRequestBuilder) ToGetRequestInformation(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 *ConnectionsItemGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ConnectionsItemGroupsCountRequestBuilder) { + return NewConnectionsItemGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/connections_item_groups_external_group_item_request_builder.go b/external/connections_item_groups_external_group_item_request_builder.go index e56e4e7db66..a91f8e1c0ba 100644 --- a/external/connections_item_groups_external_group_item_request_builder.go +++ b/external/connections_item_groups_external_group_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ConnectionsItemGroupsExternalGroupItemRequestBuilder) ToPatchRequestInf } 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 *ConnectionsItemGroupsExternalGroupItemRequestBuilder) WithUrl(rawUrl string)(*ConnectionsItemGroupsExternalGroupItemRequestBuilder) { + return NewConnectionsItemGroupsExternalGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/connections_item_groups_item_members_count_request_builder.go b/external/connections_item_groups_item_members_count_request_builder.go index ab0f601ef78..c16a650e7b9 100644 --- a/external/connections_item_groups_item_members_count_request_builder.go +++ b/external/connections_item_groups_item_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConnectionsItemGroupsItemMembersCountRequestBuilder) ToGetRequestInform } 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 *ConnectionsItemGroupsItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*ConnectionsItemGroupsItemMembersCountRequestBuilder) { + return NewConnectionsItemGroupsItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/connections_item_groups_item_members_identity_item_request_builder.go b/external/connections_item_groups_item_members_identity_item_request_builder.go index 4fdae0c736d..9f516cd1064 100644 --- a/external/connections_item_groups_item_members_identity_item_request_builder.go +++ b/external/connections_item_groups_item_members_identity_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ConnectionsItemGroupsItemMembersIdentityItemRequestBuilder) ToPatchRequ } 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 *ConnectionsItemGroupsItemMembersIdentityItemRequestBuilder) WithUrl(rawUrl string)(*ConnectionsItemGroupsItemMembersIdentityItemRequestBuilder) { + return NewConnectionsItemGroupsItemMembersIdentityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/connections_item_groups_item_members_request_builder.go b/external/connections_item_groups_item_members_request_builder.go index ce62525cc1d..02b2521a050 100644 --- a/external/connections_item_groups_item_members_request_builder.go +++ b/external/connections_item_groups_item_members_request_builder.go @@ -46,8 +46,8 @@ type ConnectionsItemGroupsItemMembersRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByIdentityIdString provides operations to manage the members property of the microsoft.graph.externalConnectors.externalGroup entity. -func (m *ConnectionsItemGroupsItemMembersRequestBuilder) ByIdentityIdString(identityId string)(*ConnectionsItemGroupsItemMembersIdentityItemRequestBuilder) { +// ByIdentityId provides operations to manage the members property of the microsoft.graph.externalConnectors.externalGroup entity. +func (m *ConnectionsItemGroupsItemMembersRequestBuilder) ByIdentityId(identityId string)(*ConnectionsItemGroupsItemMembersIdentityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ConnectionsItemGroupsItemMembersRequestBuilder) ToPostRequestInformatio } 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 *ConnectionsItemGroupsItemMembersRequestBuilder) WithUrl(rawUrl string)(*ConnectionsItemGroupsItemMembersRequestBuilder) { + return NewConnectionsItemGroupsItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/connections_item_groups_request_builder.go b/external/connections_item_groups_request_builder.go index b7680b885cc..9b042c852fc 100644 --- a/external/connections_item_groups_request_builder.go +++ b/external/connections_item_groups_request_builder.go @@ -46,8 +46,8 @@ type ConnectionsItemGroupsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExternalGroupIdString provides operations to manage the groups property of the microsoft.graph.externalConnectors.externalConnection entity. -func (m *ConnectionsItemGroupsRequestBuilder) ByExternalGroupIdString(externalGroupId string)(*ConnectionsItemGroupsExternalGroupItemRequestBuilder) { +// ByExternalGroupId provides operations to manage the groups property of the microsoft.graph.externalConnectors.externalConnection entity. +func (m *ConnectionsItemGroupsRequestBuilder) ByExternalGroupId(externalGroupId string)(*ConnectionsItemGroupsExternalGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ConnectionsItemGroupsRequestBuilder) 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 *ConnectionsItemGroupsRequestBuilder) WithUrl(rawUrl string)(*ConnectionsItemGroupsRequestBuilder) { + return NewConnectionsItemGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/connections_item_items_count_request_builder.go b/external/connections_item_items_count_request_builder.go index 1b17551b2b3..6f442771997 100644 --- a/external/connections_item_items_count_request_builder.go +++ b/external/connections_item_items_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConnectionsItemItemsCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ConnectionsItemItemsCountRequestBuilder) WithUrl(rawUrl string)(*ConnectionsItemItemsCountRequestBuilder) { + return NewConnectionsItemItemsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/connections_item_items_external_item_item_request_builder.go b/external/connections_item_items_external_item_item_request_builder.go index dec5dd9df57..1232ee3453b 100644 --- a/external/connections_item_items_external_item_item_request_builder.go +++ b/external/connections_item_items_external_item_item_request_builder.go @@ -167,3 +167,7 @@ func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) ToPutRequestInforma } 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 *ConnectionsItemItemsExternalItemItemRequestBuilder) WithUrl(rawUrl string)(*ConnectionsItemItemsExternalItemItemRequestBuilder) { + return NewConnectionsItemItemsExternalItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/connections_item_items_item_activities_count_request_builder.go b/external/connections_item_items_item_activities_count_request_builder.go index 8570b85474a..1f90dcb4eaa 100644 --- a/external/connections_item_items_item_activities_count_request_builder.go +++ b/external/connections_item_items_item_activities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConnectionsItemItemsItemActivitiesCountRequestBuilder) ToGetRequestInfo } 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 *ConnectionsItemItemsItemActivitiesCountRequestBuilder) WithUrl(rawUrl string)(*ConnectionsItemItemsItemActivitiesCountRequestBuilder) { + return NewConnectionsItemItemsItemActivitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/connections_item_items_item_activities_external_activity_item_request_builder.go b/external/connections_item_items_item_activities_external_activity_item_request_builder.go index 669a7984c95..f4463496c75 100644 --- a/external/connections_item_items_item_activities_external_activity_item_request_builder.go +++ b/external/connections_item_items_item_activities_external_activity_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ConnectionsItemItemsItemActivitiesExternalActivityItemRequestBuilder) T } 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 *ConnectionsItemItemsItemActivitiesExternalActivityItemRequestBuilder) WithUrl(rawUrl string)(*ConnectionsItemItemsItemActivitiesExternalActivityItemRequestBuilder) { + return NewConnectionsItemItemsItemActivitiesExternalActivityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/connections_item_items_item_activities_item_performed_by_request_builder.go b/external/connections_item_items_item_activities_item_performed_by_request_builder.go index 4532c90e92d..8d73fc5321b 100644 --- a/external/connections_item_items_item_activities_item_performed_by_request_builder.go +++ b/external/connections_item_items_item_activities_item_performed_by_request_builder.go @@ -75,3 +75,7 @@ func (m *ConnectionsItemItemsItemActivitiesItemPerformedByRequestBuilder) ToGetR } 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 *ConnectionsItemItemsItemActivitiesItemPerformedByRequestBuilder) WithUrl(rawUrl string)(*ConnectionsItemItemsItemActivitiesItemPerformedByRequestBuilder) { + return NewConnectionsItemItemsItemActivitiesItemPerformedByRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/connections_item_items_item_activities_request_builder.go b/external/connections_item_items_item_activities_request_builder.go index 8548eb2dc9e..de7a6c8e83b 100644 --- a/external/connections_item_items_item_activities_request_builder.go +++ b/external/connections_item_items_item_activities_request_builder.go @@ -46,8 +46,8 @@ type ConnectionsItemItemsItemActivitiesRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExternalActivityIdString provides operations to manage the activities property of the microsoft.graph.externalConnectors.externalItem entity. -func (m *ConnectionsItemItemsItemActivitiesRequestBuilder) ByExternalActivityIdString(externalActivityId string)(*ConnectionsItemItemsItemActivitiesExternalActivityItemRequestBuilder) { +// ByExternalActivityId provides operations to manage the activities property of the microsoft.graph.externalConnectors.externalItem entity. +func (m *ConnectionsItemItemsItemActivitiesRequestBuilder) ByExternalActivityId(externalActivityId string)(*ConnectionsItemItemsItemActivitiesExternalActivityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ConnectionsItemItemsItemActivitiesRequestBuilder) ToPostRequestInformat } 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 *ConnectionsItemItemsItemActivitiesRequestBuilder) WithUrl(rawUrl string)(*ConnectionsItemItemsItemActivitiesRequestBuilder) { + return NewConnectionsItemItemsItemActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/connections_item_items_item_microsoft_graph_external_connectors_add_activities_request_builder.go b/external/connections_item_items_item_microsoft_graph_external_connectors_add_activities_request_builder.go index 3c30d36048d..78c34c89c65 100644 --- a/external/connections_item_items_item_microsoft_graph_external_connectors_add_activities_request_builder.go +++ b/external/connections_item_items_item_microsoft_graph_external_connectors_add_activities_request_builder.go @@ -66,3 +66,7 @@ func (m *ConnectionsItemItemsItemMicrosoftGraphExternalConnectorsAddActivitiesRe } 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 *ConnectionsItemItemsItemMicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder) WithUrl(rawUrl string)(*ConnectionsItemItemsItemMicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder) { + return NewConnectionsItemItemsItemMicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/connections_item_items_request_builder.go b/external/connections_item_items_request_builder.go index efd4df725ff..ee89e43ae7e 100644 --- a/external/connections_item_items_request_builder.go +++ b/external/connections_item_items_request_builder.go @@ -46,8 +46,8 @@ type ConnectionsItemItemsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExternalItemIdString provides operations to manage the items property of the microsoft.graph.externalConnectors.externalConnection entity. -func (m *ConnectionsItemItemsRequestBuilder) ByExternalItemIdString(externalItemId string)(*ConnectionsItemItemsExternalItemItemRequestBuilder) { +// ByExternalItemId provides operations to manage the items property of the microsoft.graph.externalConnectors.externalConnection entity. +func (m *ConnectionsItemItemsRequestBuilder) ByExternalItemId(externalItemId string)(*ConnectionsItemItemsExternalItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ConnectionsItemItemsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ConnectionsItemItemsRequestBuilder) WithUrl(rawUrl string)(*ConnectionsItemItemsRequestBuilder) { + return NewConnectionsItemItemsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/connections_item_operations_connection_operation_item_request_builder.go b/external/connections_item_operations_connection_operation_item_request_builder.go index 4b9d2e53ec0..ad212a12611 100644 --- a/external/connections_item_operations_connection_operation_item_request_builder.go +++ b/external/connections_item_operations_connection_operation_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ConnectionsItemOperationsConnectionOperationItemRequestBuilder) ToPatch } 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 *ConnectionsItemOperationsConnectionOperationItemRequestBuilder) WithUrl(rawUrl string)(*ConnectionsItemOperationsConnectionOperationItemRequestBuilder) { + return NewConnectionsItemOperationsConnectionOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/connections_item_operations_count_request_builder.go b/external/connections_item_operations_count_request_builder.go index 207087276af..be9d42a4c5d 100644 --- a/external/connections_item_operations_count_request_builder.go +++ b/external/connections_item_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConnectionsItemOperationsCountRequestBuilder) ToGetRequestInformation(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 *ConnectionsItemOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ConnectionsItemOperationsCountRequestBuilder) { + return NewConnectionsItemOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/connections_item_operations_request_builder.go b/external/connections_item_operations_request_builder.go index 974a8ce04dd..3ac62ca75d3 100644 --- a/external/connections_item_operations_request_builder.go +++ b/external/connections_item_operations_request_builder.go @@ -46,8 +46,8 @@ type ConnectionsItemOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByConnectionOperationIdString provides operations to manage the operations property of the microsoft.graph.externalConnectors.externalConnection entity. -func (m *ConnectionsItemOperationsRequestBuilder) ByConnectionOperationIdString(connectionOperationId string)(*ConnectionsItemOperationsConnectionOperationItemRequestBuilder) { +// ByConnectionOperationId provides operations to manage the operations property of the microsoft.graph.externalConnectors.externalConnection entity. +func (m *ConnectionsItemOperationsRequestBuilder) ByConnectionOperationId(connectionOperationId string)(*ConnectionsItemOperationsConnectionOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ConnectionsItemOperationsRequestBuilder) ToPostRequestInformation(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 *ConnectionsItemOperationsRequestBuilder) WithUrl(rawUrl string)(*ConnectionsItemOperationsRequestBuilder) { + return NewConnectionsItemOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/connections_item_quota_request_builder.go b/external/connections_item_quota_request_builder.go index 046acd2d3f4..565b2b1a539 100644 --- a/external/connections_item_quota_request_builder.go +++ b/external/connections_item_quota_request_builder.go @@ -156,3 +156,7 @@ func (m *ConnectionsItemQuotaRequestBuilder) ToPatchRequestInformation(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 *ConnectionsItemQuotaRequestBuilder) WithUrl(rawUrl string)(*ConnectionsItemQuotaRequestBuilder) { + return NewConnectionsItemQuotaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/connections_item_schema_request_builder.go b/external/connections_item_schema_request_builder.go index 12261fbe18b..d9d07d13a77 100644 --- a/external/connections_item_schema_request_builder.go +++ b/external/connections_item_schema_request_builder.go @@ -159,3 +159,7 @@ func (m *ConnectionsItemSchemaRequestBuilder) ToPatchRequestInformation(ctx cont } 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 *ConnectionsItemSchemaRequestBuilder) WithUrl(rawUrl string)(*ConnectionsItemSchemaRequestBuilder) { + return NewConnectionsItemSchemaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/connections_request_builder.go b/external/connections_request_builder.go index fe488708bfd..6bbfb77c8e4 100644 --- a/external/connections_request_builder.go +++ b/external/connections_request_builder.go @@ -46,8 +46,8 @@ type ConnectionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExternalConnectionIdString provides operations to manage the connections property of the microsoft.graph.externalConnectors.external entity. -func (m *ConnectionsRequestBuilder) ByExternalConnectionIdString(externalConnectionId string)(*ConnectionsExternalConnectionItemRequestBuilder) { +// ByExternalConnectionId provides operations to manage the connections property of the microsoft.graph.externalConnectors.external entity. +func (m *ConnectionsRequestBuilder) ByExternalConnectionId(externalConnectionId string)(*ConnectionsExternalConnectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ConnectionsRequestBuilder) ToPostRequestInformation(ctx context.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 *ConnectionsRequestBuilder) WithUrl(rawUrl string)(*ConnectionsRequestBuilder) { + return NewConnectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/external_request_builder.go b/external/external_request_builder.go index 16c9d7cb6e2..1b20583a487 100644 --- a/external/external_request_builder.go +++ b/external/external_request_builder.go @@ -126,3 +126,7 @@ func (m *ExternalRequestBuilder) ToPatchRequestInformation(ctx context.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 *ExternalRequestBuilder) WithUrl(rawUrl string)(*ExternalRequestBuilder) { + return NewExternalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_data_connectors_count_request_builder.go b/external/industry_data_data_connectors_count_request_builder.go index a604b1dc02c..cfbed6efb49 100644 --- a/external/industry_data_data_connectors_count_request_builder.go +++ b/external/industry_data_data_connectors_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IndustryDataDataConnectorsCountRequestBuilder) 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 *IndustryDataDataConnectorsCountRequestBuilder) WithUrl(rawUrl string)(*IndustryDataDataConnectorsCountRequestBuilder) { + return NewIndustryDataDataConnectorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_data_connectors_industry_data_connector_item_request_builder.go b/external/industry_data_data_connectors_industry_data_connector_item_request_builder.go index a1ff7b92b2a..fe032162a13 100644 --- a/external/industry_data_data_connectors_industry_data_connector_item_request_builder.go +++ b/external/industry_data_data_connectors_industry_data_connector_item_request_builder.go @@ -18,7 +18,7 @@ type IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderGetQueryParameters read the properties and relationships of an industryDataConnector object. +// IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderGetQueryParameters read the properties and relationships of an azureDataLakeConnector object. type IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,10 +54,10 @@ func NewIndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewIndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an azureDataLakeConnector object. +// Delete delete an industryDataConnector object. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-industrydataconnector-delete?view=graph-rest-1.0 func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,10 +73,10 @@ func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) Dele } return nil } -// Get read the properties and relationships of an industryDataConnector object. +// Get read the properties and relationships of an azureDataLakeConnector object. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-industrydataconnector-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-get?view=graph-rest-1.0 func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -125,7 +125,7 @@ func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) Patc func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) SourceSystem()(*IndustryDataDataConnectorsItemSourceSystemRequestBuilder) { return NewIndustryDataDataConnectorsItemSourceSystemRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete an azureDataLakeConnector object. +// ToDeleteRequestInformation delete an industryDataConnector object. func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -137,7 +137,7 @@ func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) ToDe } return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an industryDataConnector object. +// ToGetRequestInformation read the properties and relationships of an azureDataLakeConnector object. func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -170,3 +170,7 @@ func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) ToPa } 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 *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) WithUrl(rawUrl string)(*IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) { + return NewIndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_data_connectors_item_microsoft_graph_industry_data_validate_request_builder.go b/external/industry_data_data_connectors_item_microsoft_graph_industry_data_validate_request_builder.go index 5cb0c800041..35433087626 100644 --- a/external/industry_data_data_connectors_item_microsoft_graph_industry_data_validate_request_builder.go +++ b/external/industry_data_data_connectors_item_microsoft_graph_industry_data_validate_request_builder.go @@ -61,3 +61,7 @@ func (m *IndustryDataDataConnectorsItemMicrosoftGraphIndustryDataValidateRequest } 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 *IndustryDataDataConnectorsItemMicrosoftGraphIndustryDataValidateRequestBuilder) WithUrl(rawUrl string)(*IndustryDataDataConnectorsItemMicrosoftGraphIndustryDataValidateRequestBuilder) { + return NewIndustryDataDataConnectorsItemMicrosoftGraphIndustryDataValidateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_data_connectors_item_source_system_request_builder.go b/external/industry_data_data_connectors_item_source_system_request_builder.go index 82d5d65ccbc..a72ab5ec1f8 100644 --- a/external/industry_data_data_connectors_item_source_system_request_builder.go +++ b/external/industry_data_data_connectors_item_source_system_request_builder.go @@ -75,3 +75,7 @@ func (m *IndustryDataDataConnectorsItemSourceSystemRequestBuilder) ToGetRequestI } 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 *IndustryDataDataConnectorsItemSourceSystemRequestBuilder) WithUrl(rawUrl string)(*IndustryDataDataConnectorsItemSourceSystemRequestBuilder) { + return NewIndustryDataDataConnectorsItemSourceSystemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_data_connectors_request_builder.go b/external/industry_data_data_connectors_request_builder.go index 2ed96433124..b6b94ed082b 100644 --- a/external/industry_data_data_connectors_request_builder.go +++ b/external/industry_data_data_connectors_request_builder.go @@ -11,7 +11,7 @@ import ( type IndustryDataDataConnectorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IndustryDataDataConnectorsRequestBuilderGetQueryParameters get the industryDataConnector resources from the dataConnector navigation property. +// IndustryDataDataConnectorsRequestBuilderGetQueryParameters get a list of the azureDataLakeConnector objects and their properties. type IndustryDataDataConnectorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type IndustryDataDataConnectorsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByIndustryDataConnectorIdString provides operations to manage the dataConnectors property of the microsoft.graph.industryData.industryDataRoot entity. -func (m *IndustryDataDataConnectorsRequestBuilder) ByIndustryDataConnectorIdString(industryDataConnectorId string)(*IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) { +// ByIndustryDataConnectorId provides operations to manage the dataConnectors property of the microsoft.graph.industryData.industryDataRoot entity. +func (m *IndustryDataDataConnectorsRequestBuilder) ByIndustryDataConnectorId(industryDataConnectorId string)(*IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,10 +74,10 @@ func NewIndustryDataDataConnectorsRequestBuilder(rawUrl string, requestAdapter i func (m *IndustryDataDataConnectorsRequestBuilder) Count()(*IndustryDataDataConnectorsCountRequestBuilder) { return NewIndustryDataDataConnectorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the industryDataConnector resources from the dataConnector navigation property. +// Get get a list of the azureDataLakeConnector objects and their properties. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-industrydataconnector-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-list?view=graph-rest-1.0 func (m *IndustryDataDataConnectorsRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataDataConnectorsRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,10 +96,10 @@ func (m *IndustryDataDataConnectorsRequestBuilder) Get(ctx context.Context, requ } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorCollectionResponseable), nil } -// Post create a new azureDataLakeConnector object. +// Post create a new industryDataConnector object. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-post?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-industrydataconnector-post?view=graph-rest-1.0 func (m *IndustryDataDataConnectorsRequestBuilder) Post(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, requestConfiguration *IndustryDataDataConnectorsRequestBuilderPostRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -118,7 +118,7 @@ func (m *IndustryDataDataConnectorsRequestBuilder) Post(ctx context.Context, bod } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable), nil } -// ToGetRequestInformation get the industryDataConnector resources from the dataConnector navigation property. +// ToGetRequestInformation get a list of the azureDataLakeConnector objects and their properties. func (m *IndustryDataDataConnectorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataDataConnectorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -134,7 +134,7 @@ func (m *IndustryDataDataConnectorsRequestBuilder) ToGetRequestInformation(ctx c } return requestInfo, nil } -// ToPostRequestInformation create a new azureDataLakeConnector object. +// ToPostRequestInformation create a new industryDataConnector object. func (m *IndustryDataDataConnectorsRequestBuilder) ToPostRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, requestConfiguration *IndustryDataDataConnectorsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -151,3 +151,7 @@ func (m *IndustryDataDataConnectorsRequestBuilder) 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 *IndustryDataDataConnectorsRequestBuilder) WithUrl(rawUrl string)(*IndustryDataDataConnectorsRequestBuilder) { + return NewIndustryDataDataConnectorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_inbound_flows_count_request_builder.go b/external/industry_data_inbound_flows_count_request_builder.go index 94452799f24..4f36c048268 100644 --- a/external/industry_data_inbound_flows_count_request_builder.go +++ b/external/industry_data_inbound_flows_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IndustryDataInboundFlowsCountRequestBuilder) ToGetRequestInformation(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 *IndustryDataInboundFlowsCountRequestBuilder) WithUrl(rawUrl string)(*IndustryDataInboundFlowsCountRequestBuilder) { + return NewIndustryDataInboundFlowsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_inbound_flows_inbound_flow_item_request_builder.go b/external/industry_data_inbound_flows_inbound_flow_item_request_builder.go index 2485089865f..bc38ce73429 100644 --- a/external/industry_data_inbound_flows_inbound_flow_item_request_builder.go +++ b/external/industry_data_inbound_flows_inbound_flow_item_request_builder.go @@ -18,7 +18,7 @@ type IndustryDataInboundFlowsInboundFlowItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IndustryDataInboundFlowsInboundFlowItemRequestBuilderGetQueryParameters read the properties and relationships of an inboundFlow object. +// IndustryDataInboundFlowsInboundFlowItemRequestBuilderGetQueryParameters read the properties and relationships of an inboundFileFlow object. type IndustryDataInboundFlowsInboundFlowItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -58,10 +58,10 @@ func NewIndustryDataInboundFlowsInboundFlowItemRequestBuilder(rawUrl string, req func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) DataConnector()(*IndustryDataInboundFlowsItemDataConnectorRequestBuilder) { return NewIndustryDataInboundFlowsItemDataConnectorRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete an inboundFlow object. +// Delete delete an inboundFileFlow object. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundflow-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-delete?view=graph-rest-1.0 func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *IndustryDataInboundFlowsInboundFlowItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -77,10 +77,10 @@ func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) Delete(ctx conte } return nil } -// Get read the properties and relationships of an inboundFlow object. +// Get read the properties and relationships of an inboundFileFlow object. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundflow-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-get?view=graph-rest-1.0 func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataInboundFlowsInboundFlowItemRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,7 +121,7 @@ func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) Patch(ctx contex } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable), nil } -// ToDeleteRequestInformation delete an inboundFlow object. +// ToDeleteRequestInformation delete an inboundFileFlow object. func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *IndustryDataInboundFlowsInboundFlowItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -133,7 +133,7 @@ func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) ToDeleteRequestI } return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an inboundFlow object. +// ToGetRequestInformation read the properties and relationships of an inboundFileFlow object. func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataInboundFlowsInboundFlowItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -166,6 +166,10 @@ func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) ToPatchRequestIn } 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 *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) WithUrl(rawUrl string)(*IndustryDataInboundFlowsInboundFlowItemRequestBuilder) { + return NewIndustryDataInboundFlowsInboundFlowItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} // Year provides operations to manage the year property of the microsoft.graph.industryData.inboundFlow entity. func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) Year()(*IndustryDataInboundFlowsItemYearRequestBuilder) { return NewIndustryDataInboundFlowsItemYearRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) diff --git a/external/industry_data_inbound_flows_item_data_connector_request_builder.go b/external/industry_data_inbound_flows_item_data_connector_request_builder.go index 2d9bbac4faf..828a1c29052 100644 --- a/external/industry_data_inbound_flows_item_data_connector_request_builder.go +++ b/external/industry_data_inbound_flows_item_data_connector_request_builder.go @@ -75,3 +75,7 @@ func (m *IndustryDataInboundFlowsItemDataConnectorRequestBuilder) ToGetRequestIn } 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 *IndustryDataInboundFlowsItemDataConnectorRequestBuilder) WithUrl(rawUrl string)(*IndustryDataInboundFlowsItemDataConnectorRequestBuilder) { + return NewIndustryDataInboundFlowsItemDataConnectorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_inbound_flows_item_year_request_builder.go b/external/industry_data_inbound_flows_item_year_request_builder.go index 840e54abdc8..a334610ff38 100644 --- a/external/industry_data_inbound_flows_item_year_request_builder.go +++ b/external/industry_data_inbound_flows_item_year_request_builder.go @@ -75,3 +75,7 @@ func (m *IndustryDataInboundFlowsItemYearRequestBuilder) 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 *IndustryDataInboundFlowsItemYearRequestBuilder) WithUrl(rawUrl string)(*IndustryDataInboundFlowsItemYearRequestBuilder) { + return NewIndustryDataInboundFlowsItemYearRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_inbound_flows_request_builder.go b/external/industry_data_inbound_flows_request_builder.go index d6a04c12bdd..e712f9ef46e 100644 --- a/external/industry_data_inbound_flows_request_builder.go +++ b/external/industry_data_inbound_flows_request_builder.go @@ -11,7 +11,7 @@ import ( type IndustryDataInboundFlowsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IndustryDataInboundFlowsRequestBuilderGetQueryParameters get a list of the inboundFlow objects and their properties. +// IndustryDataInboundFlowsRequestBuilderGetQueryParameters get a list of the inboundFileFlow objects and their properties. type IndustryDataInboundFlowsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type IndustryDataInboundFlowsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByInboundFlowIdString provides operations to manage the inboundFlows property of the microsoft.graph.industryData.industryDataRoot entity. -func (m *IndustryDataInboundFlowsRequestBuilder) ByInboundFlowIdString(inboundFlowId string)(*IndustryDataInboundFlowsInboundFlowItemRequestBuilder) { +// ByInboundFlowId provides operations to manage the inboundFlows property of the microsoft.graph.industryData.industryDataRoot entity. +func (m *IndustryDataInboundFlowsRequestBuilder) ByInboundFlowId(inboundFlowId string)(*IndustryDataInboundFlowsInboundFlowItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,10 +74,10 @@ func NewIndustryDataInboundFlowsRequestBuilder(rawUrl string, requestAdapter i2a func (m *IndustryDataInboundFlowsRequestBuilder) Count()(*IndustryDataInboundFlowsCountRequestBuilder) { return NewIndustryDataInboundFlowsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the inboundFlow objects and their properties. +// Get get a list of the inboundFileFlow objects and their properties. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundflow-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-list?view=graph-rest-1.0 func (m *IndustryDataInboundFlowsRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataInboundFlowsRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,10 +96,10 @@ func (m *IndustryDataInboundFlowsRequestBuilder) Get(ctx context.Context, reques } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowCollectionResponseable), nil } -// Post create a new inboundFileFlow object. The following prerequisite resources are required when you create an inboundFileFlow: +// Post create a new inboundFlow object. The following prerequisite resources are required when you create an inboundFlow: // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-post?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundflow-post?view=graph-rest-1.0 func (m *IndustryDataInboundFlowsRequestBuilder) Post(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, requestConfiguration *IndustryDataInboundFlowsRequestBuilderPostRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -118,7 +118,7 @@ func (m *IndustryDataInboundFlowsRequestBuilder) Post(ctx context.Context, body } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable), nil } -// ToGetRequestInformation get a list of the inboundFlow objects and their properties. +// ToGetRequestInformation get a list of the inboundFileFlow objects and their properties. func (m *IndustryDataInboundFlowsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataInboundFlowsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -134,7 +134,7 @@ func (m *IndustryDataInboundFlowsRequestBuilder) ToGetRequestInformation(ctx con } return requestInfo, nil } -// ToPostRequestInformation create a new inboundFileFlow object. The following prerequisite resources are required when you create an inboundFileFlow: +// ToPostRequestInformation create a new inboundFlow object. The following prerequisite resources are required when you create an inboundFlow: func (m *IndustryDataInboundFlowsRequestBuilder) ToPostRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, requestConfiguration *IndustryDataInboundFlowsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -151,3 +151,7 @@ func (m *IndustryDataInboundFlowsRequestBuilder) ToPostRequestInformation(ctx co } 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 *IndustryDataInboundFlowsRequestBuilder) WithUrl(rawUrl string)(*IndustryDataInboundFlowsRequestBuilder) { + return NewIndustryDataInboundFlowsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_operations_count_request_builder.go b/external/industry_data_operations_count_request_builder.go index 4c950065ad9..ba08f216678 100644 --- a/external/industry_data_operations_count_request_builder.go +++ b/external/industry_data_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IndustryDataOperationsCountRequestBuilder) ToGetRequestInformation(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 *IndustryDataOperationsCountRequestBuilder) WithUrl(rawUrl string)(*IndustryDataOperationsCountRequestBuilder) { + return NewIndustryDataOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_operations_long_running_operation_item_request_builder.go b/external/industry_data_operations_long_running_operation_item_request_builder.go index 99fac2e882d..7002675462d 100644 --- a/external/industry_data_operations_long_running_operation_item_request_builder.go +++ b/external/industry_data_operations_long_running_operation_item_request_builder.go @@ -156,3 +156,7 @@ func (m *IndustryDataOperationsLongRunningOperationItemRequestBuilder) ToPatchRe } 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 *IndustryDataOperationsLongRunningOperationItemRequestBuilder) WithUrl(rawUrl string)(*IndustryDataOperationsLongRunningOperationItemRequestBuilder) { + return NewIndustryDataOperationsLongRunningOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_operations_request_builder.go b/external/industry_data_operations_request_builder.go index 742ae8d43de..1d748ad1e59 100644 --- a/external/industry_data_operations_request_builder.go +++ b/external/industry_data_operations_request_builder.go @@ -46,8 +46,8 @@ type IndustryDataOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByLongRunningOperationIdString provides operations to manage the operations property of the microsoft.graph.industryData.industryDataRoot entity. -func (m *IndustryDataOperationsRequestBuilder) ByLongRunningOperationIdString(longRunningOperationId string)(*IndustryDataOperationsLongRunningOperationItemRequestBuilder) { +// ByLongRunningOperationId provides operations to manage the operations property of the microsoft.graph.industryData.industryDataRoot entity. +func (m *IndustryDataOperationsRequestBuilder) ByLongRunningOperationId(longRunningOperationId string)(*IndustryDataOperationsLongRunningOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *IndustryDataOperationsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *IndustryDataOperationsRequestBuilder) WithUrl(rawUrl string)(*IndustryDataOperationsRequestBuilder) { + return NewIndustryDataOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_reference_definitions_count_request_builder.go b/external/industry_data_reference_definitions_count_request_builder.go index 858f3aba1bf..f9a2a76d611 100644 --- a/external/industry_data_reference_definitions_count_request_builder.go +++ b/external/industry_data_reference_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IndustryDataReferenceDefinitionsCountRequestBuilder) ToGetRequestInform } 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 *IndustryDataReferenceDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*IndustryDataReferenceDefinitionsCountRequestBuilder) { + return NewIndustryDataReferenceDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_reference_definitions_reference_definition_item_request_builder.go b/external/industry_data_reference_definitions_reference_definition_item_request_builder.go index 67a5f3a1acc..27543f67051 100644 --- a/external/industry_data_reference_definitions_reference_definition_item_request_builder.go +++ b/external/industry_data_reference_definitions_reference_definition_item_request_builder.go @@ -156,3 +156,7 @@ func (m *IndustryDataReferenceDefinitionsReferenceDefinitionItemRequestBuilder) } 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 *IndustryDataReferenceDefinitionsReferenceDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*IndustryDataReferenceDefinitionsReferenceDefinitionItemRequestBuilder) { + return NewIndustryDataReferenceDefinitionsReferenceDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_reference_definitions_request_builder.go b/external/industry_data_reference_definitions_request_builder.go index b6fe7968e07..c0043cb143b 100644 --- a/external/industry_data_reference_definitions_request_builder.go +++ b/external/industry_data_reference_definitions_request_builder.go @@ -46,8 +46,8 @@ type IndustryDataReferenceDefinitionsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByReferenceDefinitionIdString provides operations to manage the referenceDefinitions property of the microsoft.graph.industryData.industryDataRoot entity. -func (m *IndustryDataReferenceDefinitionsRequestBuilder) ByReferenceDefinitionIdString(referenceDefinitionId string)(*IndustryDataReferenceDefinitionsReferenceDefinitionItemRequestBuilder) { +// ByReferenceDefinitionId provides operations to manage the referenceDefinitions property of the microsoft.graph.industryData.industryDataRoot entity. +func (m *IndustryDataReferenceDefinitionsRequestBuilder) ByReferenceDefinitionId(referenceDefinitionId string)(*IndustryDataReferenceDefinitionsReferenceDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *IndustryDataReferenceDefinitionsRequestBuilder) ToPostRequestInformatio } 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 *IndustryDataReferenceDefinitionsRequestBuilder) WithUrl(rawUrl string)(*IndustryDataReferenceDefinitionsRequestBuilder) { + return NewIndustryDataReferenceDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_request_builder.go b/external/industry_data_request_builder.go index f55d128cfdb..a26d028143a 100644 --- a/external/industry_data_request_builder.go +++ b/external/industry_data_request_builder.go @@ -103,6 +103,10 @@ func (m *IndustryDataRequestBuilder) ToGetRequestInformation(ctx context.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 *IndustryDataRequestBuilder) WithUrl(rawUrl string)(*IndustryDataRequestBuilder) { + return NewIndustryDataRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} // Years provides operations to manage the years property of the microsoft.graph.industryData.industryDataRoot entity. func (m *IndustryDataRequestBuilder) Years()(*IndustryDataYearsRequestBuilder) { return NewIndustryDataYearsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) diff --git a/external/industry_data_role_groups_count_request_builder.go b/external/industry_data_role_groups_count_request_builder.go index 03863d5f330..5ab5d3fab55 100644 --- a/external/industry_data_role_groups_count_request_builder.go +++ b/external/industry_data_role_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IndustryDataRoleGroupsCountRequestBuilder) ToGetRequestInformation(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 *IndustryDataRoleGroupsCountRequestBuilder) WithUrl(rawUrl string)(*IndustryDataRoleGroupsCountRequestBuilder) { + return NewIndustryDataRoleGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_role_groups_request_builder.go b/external/industry_data_role_groups_request_builder.go index 91b04d16ed0..e65fe2d1e9b 100644 --- a/external/industry_data_role_groups_request_builder.go +++ b/external/industry_data_role_groups_request_builder.go @@ -46,8 +46,8 @@ type IndustryDataRoleGroupsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRoleGroupIdString provides operations to manage the roleGroups property of the microsoft.graph.industryData.industryDataRoot entity. -func (m *IndustryDataRoleGroupsRequestBuilder) ByRoleGroupIdString(roleGroupId string)(*IndustryDataRoleGroupsRoleGroupItemRequestBuilder) { +// ByRoleGroupId provides operations to manage the roleGroups property of the microsoft.graph.industryData.industryDataRoot entity. +func (m *IndustryDataRoleGroupsRequestBuilder) ByRoleGroupId(roleGroupId string)(*IndustryDataRoleGroupsRoleGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *IndustryDataRoleGroupsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *IndustryDataRoleGroupsRequestBuilder) WithUrl(rawUrl string)(*IndustryDataRoleGroupsRequestBuilder) { + return NewIndustryDataRoleGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_role_groups_role_group_item_request_builder.go b/external/industry_data_role_groups_role_group_item_request_builder.go index 596cf3fbd18..decf32e24ba 100644 --- a/external/industry_data_role_groups_role_group_item_request_builder.go +++ b/external/industry_data_role_groups_role_group_item_request_builder.go @@ -156,3 +156,7 @@ func (m *IndustryDataRoleGroupsRoleGroupItemRequestBuilder) ToPatchRequestInform } 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 *IndustryDataRoleGroupsRoleGroupItemRequestBuilder) WithUrl(rawUrl string)(*IndustryDataRoleGroupsRoleGroupItemRequestBuilder) { + return NewIndustryDataRoleGroupsRoleGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_runs_count_request_builder.go b/external/industry_data_runs_count_request_builder.go index 1a25d6c83b8..77fe2ee977a 100644 --- a/external/industry_data_runs_count_request_builder.go +++ b/external/industry_data_runs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IndustryDataRunsCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *IndustryDataRunsCountRequestBuilder) WithUrl(rawUrl string)(*IndustryDataRunsCountRequestBuilder) { + return NewIndustryDataRunsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_runs_industry_data_run_item_request_builder.go b/external/industry_data_runs_industry_data_run_item_request_builder.go index ac1bc039454..91022236251 100644 --- a/external/industry_data_runs_industry_data_run_item_request_builder.go +++ b/external/industry_data_runs_industry_data_run_item_request_builder.go @@ -86,3 +86,7 @@ func (m *IndustryDataRunsIndustryDataRunItemRequestBuilder) ToGetRequestInformat } 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 *IndustryDataRunsIndustryDataRunItemRequestBuilder) WithUrl(rawUrl string)(*IndustryDataRunsIndustryDataRunItemRequestBuilder) { + return NewIndustryDataRunsIndustryDataRunItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_runs_item_activities_count_request_builder.go b/external/industry_data_runs_item_activities_count_request_builder.go index 6adcbb8314b..a0c13cd2832 100644 --- a/external/industry_data_runs_item_activities_count_request_builder.go +++ b/external/industry_data_runs_item_activities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IndustryDataRunsItemActivitiesCountRequestBuilder) ToGetRequestInformat } 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 *IndustryDataRunsItemActivitiesCountRequestBuilder) WithUrl(rawUrl string)(*IndustryDataRunsItemActivitiesCountRequestBuilder) { + return NewIndustryDataRunsItemActivitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_runs_item_activities_industry_data_run_activity_item_request_builder.go b/external/industry_data_runs_item_activities_industry_data_run_activity_item_request_builder.go index fe1112678a5..aad03da3757 100644 --- a/external/industry_data_runs_item_activities_industry_data_run_activity_item_request_builder.go +++ b/external/industry_data_runs_item_activities_industry_data_run_activity_item_request_builder.go @@ -79,3 +79,7 @@ func (m *IndustryDataRunsItemActivitiesIndustryDataRunActivityItemRequestBuilder } 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 *IndustryDataRunsItemActivitiesIndustryDataRunActivityItemRequestBuilder) WithUrl(rawUrl string)(*IndustryDataRunsItemActivitiesIndustryDataRunActivityItemRequestBuilder) { + return NewIndustryDataRunsItemActivitiesIndustryDataRunActivityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_runs_item_activities_item_activity_request_builder.go b/external/industry_data_runs_item_activities_item_activity_request_builder.go index 3a8087fc588..2f7f52ffd42 100644 --- a/external/industry_data_runs_item_activities_item_activity_request_builder.go +++ b/external/industry_data_runs_item_activities_item_activity_request_builder.go @@ -75,3 +75,7 @@ func (m *IndustryDataRunsItemActivitiesItemActivityRequestBuilder) ToGetRequestI } 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 *IndustryDataRunsItemActivitiesItemActivityRequestBuilder) WithUrl(rawUrl string)(*IndustryDataRunsItemActivitiesItemActivityRequestBuilder) { + return NewIndustryDataRunsItemActivitiesItemActivityRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_runs_item_activities_request_builder.go b/external/industry_data_runs_item_activities_request_builder.go index 5570a7d68aa..7f685078b1a 100644 --- a/external/industry_data_runs_item_activities_request_builder.go +++ b/external/industry_data_runs_item_activities_request_builder.go @@ -39,8 +39,8 @@ type IndustryDataRunsItemActivitiesRequestBuilderGetRequestConfiguration struct // Request query parameters QueryParameters *IndustryDataRunsItemActivitiesRequestBuilderGetQueryParameters } -// ByIndustryDataRunActivityIdString provides operations to manage the activities property of the microsoft.graph.industryData.industryDataRun entity. -func (m *IndustryDataRunsItemActivitiesRequestBuilder) ByIndustryDataRunActivityIdString(industryDataRunActivityId string)(*IndustryDataRunsItemActivitiesIndustryDataRunActivityItemRequestBuilder) { +// ByIndustryDataRunActivityId provides operations to manage the activities property of the microsoft.graph.industryData.industryDataRun entity. +func (m *IndustryDataRunsItemActivitiesRequestBuilder) ByIndustryDataRunActivityId(industryDataRunActivityId string)(*IndustryDataRunsItemActivitiesIndustryDataRunActivityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *IndustryDataRunsItemActivitiesRequestBuilder) ToGetRequestInformation(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 *IndustryDataRunsItemActivitiesRequestBuilder) WithUrl(rawUrl string)(*IndustryDataRunsItemActivitiesRequestBuilder) { + return NewIndustryDataRunsItemActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_runs_item_microsoft_graph_industry_data_get_statistics_request_builder.go b/external/industry_data_runs_item_microsoft_graph_industry_data_get_statistics_request_builder.go index caaae1168b5..f14a767d369 100644 --- a/external/industry_data_runs_item_microsoft_graph_industry_data_get_statistics_request_builder.go +++ b/external/industry_data_runs_item_microsoft_graph_industry_data_get_statistics_request_builder.go @@ -63,3 +63,7 @@ func (m *IndustryDataRunsItemMicrosoftGraphIndustryDataGetStatisticsRequestBuild } 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 *IndustryDataRunsItemMicrosoftGraphIndustryDataGetStatisticsRequestBuilder) WithUrl(rawUrl string)(*IndustryDataRunsItemMicrosoftGraphIndustryDataGetStatisticsRequestBuilder) { + return NewIndustryDataRunsItemMicrosoftGraphIndustryDataGetStatisticsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_runs_microsoft_graph_industry_data_get_statistics_request_builder.go b/external/industry_data_runs_microsoft_graph_industry_data_get_statistics_request_builder.go index c1bf07419ce..c5c2ffaf12b 100644 --- a/external/industry_data_runs_microsoft_graph_industry_data_get_statistics_request_builder.go +++ b/external/industry_data_runs_microsoft_graph_industry_data_get_statistics_request_builder.go @@ -63,3 +63,7 @@ func (m *IndustryDataRunsMicrosoftGraphIndustryDataGetStatisticsRequestBuilder) } 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 *IndustryDataRunsMicrosoftGraphIndustryDataGetStatisticsRequestBuilder) WithUrl(rawUrl string)(*IndustryDataRunsMicrosoftGraphIndustryDataGetStatisticsRequestBuilder) { + return NewIndustryDataRunsMicrosoftGraphIndustryDataGetStatisticsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_runs_request_builder.go b/external/industry_data_runs_request_builder.go index 4398dda7557..81752c8f189 100644 --- a/external/industry_data_runs_request_builder.go +++ b/external/industry_data_runs_request_builder.go @@ -39,8 +39,8 @@ type IndustryDataRunsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *IndustryDataRunsRequestBuilderGetQueryParameters } -// ByIndustryDataRunIdString provides operations to manage the runs property of the microsoft.graph.industryData.industryDataRoot entity. -func (m *IndustryDataRunsRequestBuilder) ByIndustryDataRunIdString(industryDataRunId string)(*IndustryDataRunsIndustryDataRunItemRequestBuilder) { +// ByIndustryDataRunId provides operations to manage the runs property of the microsoft.graph.industryData.industryDataRoot entity. +func (m *IndustryDataRunsRequestBuilder) ByIndustryDataRunId(industryDataRunId string)(*IndustryDataRunsIndustryDataRunItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *IndustryDataRunsRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *IndustryDataRunsRequestBuilder) WithUrl(rawUrl string)(*IndustryDataRunsRequestBuilder) { + return NewIndustryDataRunsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_source_systems_count_request_builder.go b/external/industry_data_source_systems_count_request_builder.go index 6bf7d4a2abd..fdd3334a84e 100644 --- a/external/industry_data_source_systems_count_request_builder.go +++ b/external/industry_data_source_systems_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IndustryDataSourceSystemsCountRequestBuilder) ToGetRequestInformation(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 *IndustryDataSourceSystemsCountRequestBuilder) WithUrl(rawUrl string)(*IndustryDataSourceSystemsCountRequestBuilder) { + return NewIndustryDataSourceSystemsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_source_systems_request_builder.go b/external/industry_data_source_systems_request_builder.go index 5b13ec980f9..43f897a9110 100644 --- a/external/industry_data_source_systems_request_builder.go +++ b/external/industry_data_source_systems_request_builder.go @@ -46,8 +46,8 @@ type IndustryDataSourceSystemsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySourceSystemDefinitionIdString provides operations to manage the sourceSystems property of the microsoft.graph.industryData.industryDataRoot entity. -func (m *IndustryDataSourceSystemsRequestBuilder) BySourceSystemDefinitionIdString(sourceSystemDefinitionId string)(*IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilder) { +// BySourceSystemDefinitionId provides operations to manage the sourceSystems property of the microsoft.graph.industryData.industryDataRoot entity. +func (m *IndustryDataSourceSystemsRequestBuilder) BySourceSystemDefinitionId(sourceSystemDefinitionId string)(*IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *IndustryDataSourceSystemsRequestBuilder) ToPostRequestInformation(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 *IndustryDataSourceSystemsRequestBuilder) WithUrl(rawUrl string)(*IndustryDataSourceSystemsRequestBuilder) { + return NewIndustryDataSourceSystemsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_source_systems_source_system_definition_item_request_builder.go b/external/industry_data_source_systems_source_system_definition_item_request_builder.go index c6cfb065cad..4283b929cc3 100644 --- a/external/industry_data_source_systems_source_system_definition_item_request_builder.go +++ b/external/industry_data_source_systems_source_system_definition_item_request_builder.go @@ -162,3 +162,7 @@ func (m *IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilder) ToPa } 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 *IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilder) { + return NewIndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_years_count_request_builder.go b/external/industry_data_years_count_request_builder.go index 9b47c27d04e..b8e85f0add0 100644 --- a/external/industry_data_years_count_request_builder.go +++ b/external/industry_data_years_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IndustryDataYearsCountRequestBuilder) ToGetRequestInformation(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 *IndustryDataYearsCountRequestBuilder) WithUrl(rawUrl string)(*IndustryDataYearsCountRequestBuilder) { + return NewIndustryDataYearsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_years_request_builder.go b/external/industry_data_years_request_builder.go index e12091c6d7a..f593ee9bb56 100644 --- a/external/industry_data_years_request_builder.go +++ b/external/industry_data_years_request_builder.go @@ -46,8 +46,8 @@ type IndustryDataYearsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByYearTimePeriodDefinitionIdString provides operations to manage the years property of the microsoft.graph.industryData.industryDataRoot entity. -func (m *IndustryDataYearsRequestBuilder) ByYearTimePeriodDefinitionIdString(yearTimePeriodDefinitionId string)(*IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilder) { +// ByYearTimePeriodDefinitionId provides operations to manage the years property of the microsoft.graph.industryData.industryDataRoot entity. +func (m *IndustryDataYearsRequestBuilder) ByYearTimePeriodDefinitionId(yearTimePeriodDefinitionId string)(*IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *IndustryDataYearsRequestBuilder) ToPostRequestInformation(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 *IndustryDataYearsRequestBuilder) WithUrl(rawUrl string)(*IndustryDataYearsRequestBuilder) { + return NewIndustryDataYearsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/external/industry_data_years_year_time_period_definition_item_request_builder.go b/external/industry_data_years_year_time_period_definition_item_request_builder.go index 2e077d64a33..4e4e15c25fc 100644 --- a/external/industry_data_years_year_time_period_definition_item_request_builder.go +++ b/external/industry_data_years_year_time_period_definition_item_request_builder.go @@ -162,3 +162,7 @@ func (m *IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilder) ToPatchReq } 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 *IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilder) { + return NewIndustryDataYearsYearTimePeriodDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/filteroperators/count_request_builder.go b/filteroperators/count_request_builder.go index b2c1a850ebc..f75ad1389e2 100644 --- a/filteroperators/count_request_builder.go +++ b/filteroperators/count_request_builder.go @@ -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); +} diff --git a/filteroperators/filter_operator_schema_item_request_builder.go b/filteroperators/filter_operator_schema_item_request_builder.go index e5457e0316e..46f3965d998 100644 --- a/filteroperators/filter_operator_schema_item_request_builder.go +++ b/filteroperators/filter_operator_schema_item_request_builder.go @@ -153,3 +153,7 @@ func (m *FilterOperatorSchemaItemRequestBuilder) 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 *FilterOperatorSchemaItemRequestBuilder) WithUrl(rawUrl string)(*FilterOperatorSchemaItemRequestBuilder) { + return NewFilterOperatorSchemaItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/filteroperators/filter_operators_request_builder.go b/filteroperators/filter_operators_request_builder.go index dbb60967929..9c774c39ff3 100644 --- a/filteroperators/filter_operators_request_builder.go +++ b/filteroperators/filter_operators_request_builder.go @@ -46,8 +46,8 @@ type FilterOperatorsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByFilterOperatorSchemaIdString provides operations to manage the collection of filterOperatorSchema entities. -func (m *FilterOperatorsRequestBuilder) ByFilterOperatorSchemaIdString(filterOperatorSchemaId string)(*FilterOperatorSchemaItemRequestBuilder) { +// ByFilterOperatorSchemaId provides operations to manage the collection of filterOperatorSchema entities. +func (m *FilterOperatorsRequestBuilder) ByFilterOperatorSchemaId(filterOperatorSchemaId string)(*FilterOperatorSchemaItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *FilterOperatorsRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *FilterOperatorsRequestBuilder) WithUrl(rawUrl string)(*FilterOperatorsRequestBuilder) { + return NewFilterOperatorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_company_item_request_builder.go b/financials/companies_company_item_request_builder.go index cf71d0ceba6..a69a14bbec5 100644 --- a/financials/companies_company_item_request_builder.go +++ b/financials/companies_company_item_request_builder.go @@ -215,3 +215,7 @@ func (m *CompaniesCompanyItemRequestBuilder) UnitsOfMeasure()(*CompaniesItemUnit func (m *CompaniesCompanyItemRequestBuilder) Vendors()(*CompaniesItemVendorsRequestBuilder) { return NewCompaniesItemVendorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *CompaniesCompanyItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesCompanyItemRequestBuilder) { + return NewCompaniesCompanyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_count_request_builder.go b/financials/companies_count_request_builder.go index 1695d5a5d39..8492a240143 100644 --- a/financials/companies_count_request_builder.go +++ b/financials/companies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesCountRequestBuilder) ToGetRequestInformation(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 *CompaniesCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesCountRequestBuilder) { + return NewCompaniesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_accounts_account_item_request_builder.go b/financials/companies_item_accounts_account_item_request_builder.go index f5de8049a98..4d9e9af8c2c 100644 --- a/financials/companies_item_accounts_account_item_request_builder.go +++ b/financials/companies_item_accounts_account_item_request_builder.go @@ -75,3 +75,7 @@ func (m *CompaniesItemAccountsAccountItemRequestBuilder) 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 *CompaniesItemAccountsAccountItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemAccountsAccountItemRequestBuilder) { + return NewCompaniesItemAccountsAccountItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_accounts_count_request_builder.go b/financials/companies_item_accounts_count_request_builder.go index d5c7b95b86d..68af4c001b5 100644 --- a/financials/companies_item_accounts_count_request_builder.go +++ b/financials/companies_item_accounts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemAccountsCountRequestBuilder) ToGetRequestInformation(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 *CompaniesItemAccountsCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemAccountsCountRequestBuilder) { + return NewCompaniesItemAccountsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_accounts_request_builder.go b/financials/companies_item_accounts_request_builder.go index dac4b92d160..4da7b9e806c 100644 --- a/financials/companies_item_accounts_request_builder.go +++ b/financials/companies_item_accounts_request_builder.go @@ -113,3 +113,7 @@ func (m *CompaniesItemAccountsRequestBuilder) ToGetRequestInformation(ctx contex } 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 *CompaniesItemAccountsRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemAccountsRequestBuilder) { + return NewCompaniesItemAccountsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_aged_accounts_payable_aged_accounts_payable_item_request_builder.go b/financials/companies_item_aged_accounts_payable_aged_accounts_payable_item_request_builder.go index 619020eef6e..b569854e7d8 100644 --- a/financials/companies_item_aged_accounts_payable_aged_accounts_payable_item_request_builder.go +++ b/financials/companies_item_aged_accounts_payable_aged_accounts_payable_item_request_builder.go @@ -75,3 +75,7 @@ func (m *CompaniesItemAgedAccountsPayableAgedAccountsPayableItemRequestBuilder) } 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 *CompaniesItemAgedAccountsPayableAgedAccountsPayableItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemAgedAccountsPayableAgedAccountsPayableItemRequestBuilder) { + return NewCompaniesItemAgedAccountsPayableAgedAccountsPayableItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_aged_accounts_payable_count_request_builder.go b/financials/companies_item_aged_accounts_payable_count_request_builder.go index bcd7f744025..15a73b3892a 100644 --- a/financials/companies_item_aged_accounts_payable_count_request_builder.go +++ b/financials/companies_item_aged_accounts_payable_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemAgedAccountsPayableCountRequestBuilder) ToGetRequestInform } 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 *CompaniesItemAgedAccountsPayableCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemAgedAccountsPayableCountRequestBuilder) { + return NewCompaniesItemAgedAccountsPayableCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_aged_accounts_payable_request_builder.go b/financials/companies_item_aged_accounts_payable_request_builder.go index 5fb809c5932..ee3be554c30 100644 --- a/financials/companies_item_aged_accounts_payable_request_builder.go +++ b/financials/companies_item_aged_accounts_payable_request_builder.go @@ -113,3 +113,7 @@ func (m *CompaniesItemAgedAccountsPayableRequestBuilder) 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 *CompaniesItemAgedAccountsPayableRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemAgedAccountsPayableRequestBuilder) { + return NewCompaniesItemAgedAccountsPayableRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_aged_accounts_receivable_aged_accounts_receivable_item_request_builder.go b/financials/companies_item_aged_accounts_receivable_aged_accounts_receivable_item_request_builder.go index 4949fe7abcd..8026ca8c8ab 100644 --- a/financials/companies_item_aged_accounts_receivable_aged_accounts_receivable_item_request_builder.go +++ b/financials/companies_item_aged_accounts_receivable_aged_accounts_receivable_item_request_builder.go @@ -75,3 +75,7 @@ func (m *CompaniesItemAgedAccountsReceivableAgedAccountsReceivableItemRequestBui } 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 *CompaniesItemAgedAccountsReceivableAgedAccountsReceivableItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemAgedAccountsReceivableAgedAccountsReceivableItemRequestBuilder) { + return NewCompaniesItemAgedAccountsReceivableAgedAccountsReceivableItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_aged_accounts_receivable_count_request_builder.go b/financials/companies_item_aged_accounts_receivable_count_request_builder.go index 0bcebe3a638..94117b48cea 100644 --- a/financials/companies_item_aged_accounts_receivable_count_request_builder.go +++ b/financials/companies_item_aged_accounts_receivable_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemAgedAccountsReceivableCountRequestBuilder) ToGetRequestInf } 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 *CompaniesItemAgedAccountsReceivableCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemAgedAccountsReceivableCountRequestBuilder) { + return NewCompaniesItemAgedAccountsReceivableCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_aged_accounts_receivable_request_builder.go b/financials/companies_item_aged_accounts_receivable_request_builder.go index 57956b497c6..530e987c236 100644 --- a/financials/companies_item_aged_accounts_receivable_request_builder.go +++ b/financials/companies_item_aged_accounts_receivable_request_builder.go @@ -113,3 +113,7 @@ func (m *CompaniesItemAgedAccountsReceivableRequestBuilder) ToGetRequestInformat } 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 *CompaniesItemAgedAccountsReceivableRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemAgedAccountsReceivableRequestBuilder) { + return NewCompaniesItemAgedAccountsReceivableRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_company_information_company_information_item_request_builder.go b/financials/companies_item_company_information_company_information_item_request_builder.go index c65e76024c1..d66633489db 100644 --- a/financials/companies_item_company_information_company_information_item_request_builder.go +++ b/financials/companies_item_company_information_company_information_item_request_builder.go @@ -122,3 +122,7 @@ func (m *CompaniesItemCompanyInformationCompanyInformationItemRequestBuilder) To } 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 *CompaniesItemCompanyInformationCompanyInformationItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCompanyInformationCompanyInformationItemRequestBuilder) { + return NewCompaniesItemCompanyInformationCompanyInformationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_company_information_count_request_builder.go b/financials/companies_item_company_information_count_request_builder.go index 6a6eda60540..caa10aae79b 100644 --- a/financials/companies_item_company_information_count_request_builder.go +++ b/financials/companies_item_company_information_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemCompanyInformationCountRequestBuilder) ToGetRequestInforma } 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 *CompaniesItemCompanyInformationCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCompanyInformationCountRequestBuilder) { + return NewCompaniesItemCompanyInformationCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_company_information_item_picture_request_builder.go b/financials/companies_item_company_information_item_picture_request_builder.go index 3f382349653..a85da61ea3e 100644 --- a/financials/companies_item_company_information_item_picture_request_builder.go +++ b/financials/companies_item_company_information_item_picture_request_builder.go @@ -100,3 +100,7 @@ func (m *CompaniesItemCompanyInformationItemPictureRequestBuilder) ToPutRequestI } 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 *CompaniesItemCompanyInformationItemPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCompanyInformationItemPictureRequestBuilder) { + return NewCompaniesItemCompanyInformationItemPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_company_information_request_builder.go b/financials/companies_item_company_information_request_builder.go index 77f2c384f02..dd4b185365d 100644 --- a/financials/companies_item_company_information_request_builder.go +++ b/financials/companies_item_company_information_request_builder.go @@ -113,3 +113,7 @@ func (m *CompaniesItemCompanyInformationRequestBuilder) 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 *CompaniesItemCompanyInformationRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCompanyInformationRequestBuilder) { + return NewCompaniesItemCompanyInformationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_countries_regions_count_request_builder.go b/financials/companies_item_countries_regions_count_request_builder.go index 1a679c3057e..506ca7847f1 100644 --- a/financials/companies_item_countries_regions_count_request_builder.go +++ b/financials/companies_item_countries_regions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemCountriesRegionsCountRequestBuilder) ToGetRequestInformati } 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 *CompaniesItemCountriesRegionsCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCountriesRegionsCountRequestBuilder) { + return NewCompaniesItemCountriesRegionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_countries_regions_country_region_item_request_builder.go b/financials/companies_item_countries_regions_country_region_item_request_builder.go index 20968fc2e66..5f418db38ab 100644 --- a/financials/companies_item_countries_regions_country_region_item_request_builder.go +++ b/financials/companies_item_countries_regions_country_region_item_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemCountriesRegionsCountryRegionItemRequestBuilder) ToPatchRe } 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 *CompaniesItemCountriesRegionsCountryRegionItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCountriesRegionsCountryRegionItemRequestBuilder) { + return NewCompaniesItemCountriesRegionsCountryRegionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_countries_regions_request_builder.go b/financials/companies_item_countries_regions_request_builder.go index 05bd9a919a5..8646d370901 100644 --- a/financials/companies_item_countries_regions_request_builder.go +++ b/financials/companies_item_countries_regions_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemCountriesRegionsRequestBuilder) ToPostRequestInformation(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 *CompaniesItemCountriesRegionsRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCountriesRegionsRequestBuilder) { + return NewCompaniesItemCountriesRegionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_currencies_count_request_builder.go b/financials/companies_item_currencies_count_request_builder.go index 07a1bccd3e9..d75fab19f09 100644 --- a/financials/companies_item_currencies_count_request_builder.go +++ b/financials/companies_item_currencies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemCurrenciesCountRequestBuilder) ToGetRequestInformation(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 *CompaniesItemCurrenciesCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCurrenciesCountRequestBuilder) { + return NewCompaniesItemCurrenciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_currencies_currency_item_request_builder.go b/financials/companies_item_currencies_currency_item_request_builder.go index ae9aea39b9e..764713eee20 100644 --- a/financials/companies_item_currencies_currency_item_request_builder.go +++ b/financials/companies_item_currencies_currency_item_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemCurrenciesCurrencyItemRequestBuilder) ToPatchRequestInform } 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 *CompaniesItemCurrenciesCurrencyItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCurrenciesCurrencyItemRequestBuilder) { + return NewCompaniesItemCurrenciesCurrencyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_currencies_request_builder.go b/financials/companies_item_currencies_request_builder.go index d12b49c6a9f..0e3f4539e9a 100644 --- a/financials/companies_item_currencies_request_builder.go +++ b/financials/companies_item_currencies_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemCurrenciesRequestBuilder) ToPostRequestInformation(ctx con } 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 *CompaniesItemCurrenciesRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCurrenciesRequestBuilder) { + return NewCompaniesItemCurrenciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payment_journals_count_request_builder.go b/financials/companies_item_customer_payment_journals_count_request_builder.go index 45616ea828e..5eecb653d6d 100644 --- a/financials/companies_item_customer_payment_journals_count_request_builder.go +++ b/financials/companies_item_customer_payment_journals_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemCustomerPaymentJournalsCountRequestBuilder) ToGetRequestIn } 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 *CompaniesItemCustomerPaymentJournalsCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentJournalsCountRequestBuilder) { + return NewCompaniesItemCustomerPaymentJournalsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payment_journals_customer_payment_journal_item_request_builder.go b/financials/companies_item_customer_payment_journals_customer_payment_journal_item_request_builder.go index bc99390f78d..fc2ef1d3830 100644 --- a/financials/companies_item_customer_payment_journals_customer_payment_journal_item_request_builder.go +++ b/financials/companies_item_customer_payment_journals_customer_payment_journal_item_request_builder.go @@ -161,3 +161,7 @@ func (m *CompaniesItemCustomerPaymentJournalsCustomerPaymentJournalItemRequestBu } 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 *CompaniesItemCustomerPaymentJournalsCustomerPaymentJournalItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentJournalsCustomerPaymentJournalItemRequestBuilder) { + return NewCompaniesItemCustomerPaymentJournalsCustomerPaymentJournalItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payment_journals_item_account_request_builder.go b/financials/companies_item_customer_payment_journals_item_account_request_builder.go index 827b532946a..c0104f48194 100644 --- a/financials/companies_item_customer_payment_journals_item_account_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_account_request_builder.go @@ -75,3 +75,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemAccountRequestBuilder) ToGetReq } 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 *CompaniesItemCustomerPaymentJournalsItemAccountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentJournalsItemAccountRequestBuilder) { + return NewCompaniesItemCustomerPaymentJournalsItemAccountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payment_journals_item_customer_payments_count_request_builder.go b/financials/companies_item_customer_payment_journals_item_customer_payments_count_request_builder.go index 08b506530cf..65d4ead1b10 100644 --- a/financials/companies_item_customer_payment_journals_item_customer_payments_count_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_customer_payments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsCountRequestBui } 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 *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsCountRequestBuilder) { + return NewCompaniesItemCustomerPaymentJournalsItemCustomerPaymentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payment_journals_item_customer_payments_customer_payment_item_request_builder.go b/financials/companies_item_customer_payment_journals_item_customer_payments_customer_payment_item_request_builder.go index 2b0ec2a4a91..298f9639352 100644 --- a/financials/companies_item_customer_payment_journals_item_customer_payments_customer_payment_item_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_customer_payments_customer_payment_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsCustomerPayment } 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 *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsCustomerPaymentItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsCustomerPaymentItemRequestBuilder) { + return NewCompaniesItemCustomerPaymentJournalsItemCustomerPaymentsCustomerPaymentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_currency_request_builder.go b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_currency_request_builder.go index cdc9dad7ee3..1241a497f10 100644 --- a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_currency_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_currency_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerCur } 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 *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerCurrencyRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerCurrencyRequestBuilder) { + return NewCompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerCurrencyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_payment_method_request_builder.go b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_payment_method_request_builder.go index 8b4ba06744f..d1651b274b4 100644 --- a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_payment_method_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_payment_method_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPay } 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 *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPaymentMethodRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPaymentMethodRequestBuilder) { + return NewCompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPaymentMethodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_payment_term_request_builder.go b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_payment_term_request_builder.go index 4688a73cb0c..aca62fe9674 100644 --- a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_payment_term_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_payment_term_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPay } 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 *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPaymentTermRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPaymentTermRequestBuilder) { + return NewCompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPaymentTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_count_request_builder.go b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_count_request_builder.go index d985c84f518..c63407ed463 100644 --- a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_count_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPic } 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 *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPictureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPictureCountRequestBuilder) { + return NewCompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPictureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_item_content_request_builder.go b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_item_content_request_builder.go index 18d93620580..aecc7d50652 100644 --- a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_item_content_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPic } 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 *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPictureItemContentRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPictureItemContentRequestBuilder) { + return NewCompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPictureItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_picture_item_request_builder.go b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_picture_item_request_builder.go index c068ce7c5b1..ae40a216ece 100644 --- a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_picture_item_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_picture_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPic } 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 *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPicturePictureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPicturePictureItemRequestBuilder) { + return NewCompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPicturePictureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_request_builder.go b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_request_builder.go index 46730c04906..16262237c41 100644 --- a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPic } 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 *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPictureRequestBuilder) { + return NewCompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_request_builder.go b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_request_builder.go index 0ea1b53c018..e5c5f1a2fc5 100644 --- a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_request_builder.go @@ -173,3 +173,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerReq } 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 *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerRequestBuilder) { + return NewCompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_shipment_method_request_builder.go b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_shipment_method_request_builder.go index a6a74bd7ef8..90197b64965 100644 --- a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_shipment_method_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_shipment_method_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerShi } 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 *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerShipmentMethodRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerShipmentMethodRequestBuilder) { + return NewCompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerShipmentMethodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payment_journals_item_customer_payments_request_builder.go b/financials/companies_item_customer_payment_journals_item_customer_payments_request_builder.go index 719911a2664..dc4bfae8851 100644 --- a/financials/companies_item_customer_payment_journals_item_customer_payments_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_customer_payments_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsRequestBuilder) } 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 *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsRequestBuilder) { + return NewCompaniesItemCustomerPaymentJournalsItemCustomerPaymentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payment_journals_request_builder.go b/financials/companies_item_customer_payment_journals_request_builder.go index 988d29e0927..e4cd8a00306 100644 --- a/financials/companies_item_customer_payment_journals_request_builder.go +++ b/financials/companies_item_customer_payment_journals_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemCustomerPaymentJournalsRequestBuilder) ToPostRequestInform } 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 *CompaniesItemCustomerPaymentJournalsRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentJournalsRequestBuilder) { + return NewCompaniesItemCustomerPaymentJournalsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payments_count_request_builder.go b/financials/companies_item_customer_payments_count_request_builder.go index aef786aac5b..b4616948d2e 100644 --- a/financials/companies_item_customer_payments_count_request_builder.go +++ b/financials/companies_item_customer_payments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemCustomerPaymentsCountRequestBuilder) ToGetRequestInformati } 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 *CompaniesItemCustomerPaymentsCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentsCountRequestBuilder) { + return NewCompaniesItemCustomerPaymentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payments_customer_payment_item_request_builder.go b/financials/companies_item_customer_payments_customer_payment_item_request_builder.go index 8f9e1ad35af..28849f05563 100644 --- a/financials/companies_item_customer_payments_customer_payment_item_request_builder.go +++ b/financials/companies_item_customer_payments_customer_payment_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemCustomerPaymentsCustomerPaymentItemRequestBuilder) ToPatch } 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 *CompaniesItemCustomerPaymentsCustomerPaymentItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentsCustomerPaymentItemRequestBuilder) { + return NewCompaniesItemCustomerPaymentsCustomerPaymentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payments_item_customer_currency_request_builder.go b/financials/companies_item_customer_payments_item_customer_currency_request_builder.go index ef6dc3722b1..7d84ae3e172 100644 --- a/financials/companies_item_customer_payments_item_customer_currency_request_builder.go +++ b/financials/companies_item_customer_payments_item_customer_currency_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerCurrencyRequestBuilder) ToPatc } 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 *CompaniesItemCustomerPaymentsItemCustomerCurrencyRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentsItemCustomerCurrencyRequestBuilder) { + return NewCompaniesItemCustomerPaymentsItemCustomerCurrencyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payments_item_customer_payment_method_request_builder.go b/financials/companies_item_customer_payments_item_customer_payment_method_request_builder.go index be3f6655f17..03f1f899f10 100644 --- a/financials/companies_item_customer_payments_item_customer_payment_method_request_builder.go +++ b/financials/companies_item_customer_payments_item_customer_payment_method_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerPaymentMethodRequestBuilder) T } 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 *CompaniesItemCustomerPaymentsItemCustomerPaymentMethodRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentsItemCustomerPaymentMethodRequestBuilder) { + return NewCompaniesItemCustomerPaymentsItemCustomerPaymentMethodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payments_item_customer_payment_term_request_builder.go b/financials/companies_item_customer_payments_item_customer_payment_term_request_builder.go index 5ba2a033e53..a96129baf2d 100644 --- a/financials/companies_item_customer_payments_item_customer_payment_term_request_builder.go +++ b/financials/companies_item_customer_payments_item_customer_payment_term_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerPaymentTermRequestBuilder) 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 *CompaniesItemCustomerPaymentsItemCustomerPaymentTermRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentsItemCustomerPaymentTermRequestBuilder) { + return NewCompaniesItemCustomerPaymentsItemCustomerPaymentTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payments_item_customer_picture_count_request_builder.go b/financials/companies_item_customer_payments_item_customer_picture_count_request_builder.go index 50fa93c7f47..ffe22ea7648 100644 --- a/financials/companies_item_customer_payments_item_customer_picture_count_request_builder.go +++ b/financials/companies_item_customer_payments_item_customer_picture_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerPictureCountRequestBuilder) To } 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 *CompaniesItemCustomerPaymentsItemCustomerPictureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentsItemCustomerPictureCountRequestBuilder) { + return NewCompaniesItemCustomerPaymentsItemCustomerPictureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payments_item_customer_picture_item_content_request_builder.go b/financials/companies_item_customer_payments_item_customer_picture_item_content_request_builder.go index 552fd0effef..634dba99f64 100644 --- a/financials/companies_item_customer_payments_item_customer_picture_item_content_request_builder.go +++ b/financials/companies_item_customer_payments_item_customer_picture_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerPictureItemContentRequestBuild } 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 *CompaniesItemCustomerPaymentsItemCustomerPictureItemContentRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentsItemCustomerPictureItemContentRequestBuilder) { + return NewCompaniesItemCustomerPaymentsItemCustomerPictureItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payments_item_customer_picture_picture_item_request_builder.go b/financials/companies_item_customer_payments_item_customer_picture_picture_item_request_builder.go index aa60b5f07e0..deeca2822a1 100644 --- a/financials/companies_item_customer_payments_item_customer_picture_picture_item_request_builder.go +++ b/financials/companies_item_customer_payments_item_customer_picture_picture_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerPicturePictureItemRequestBuild } 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 *CompaniesItemCustomerPaymentsItemCustomerPicturePictureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentsItemCustomerPicturePictureItemRequestBuilder) { + return NewCompaniesItemCustomerPaymentsItemCustomerPicturePictureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payments_item_customer_picture_request_builder.go b/financials/companies_item_customer_payments_item_customer_picture_request_builder.go index ebf34a8056f..7bb1fe8f024 100644 --- a/financials/companies_item_customer_payments_item_customer_picture_request_builder.go +++ b/financials/companies_item_customer_payments_item_customer_picture_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerPictureRequestBuilder) ToPostR } 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 *CompaniesItemCustomerPaymentsItemCustomerPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentsItemCustomerPictureRequestBuilder) { + return NewCompaniesItemCustomerPaymentsItemCustomerPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payments_item_customer_request_builder.go b/financials/companies_item_customer_payments_item_customer_request_builder.go index a07fa26866d..4d83754f4b0 100644 --- a/financials/companies_item_customer_payments_item_customer_request_builder.go +++ b/financials/companies_item_customer_payments_item_customer_request_builder.go @@ -173,3 +173,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerRequestBuilder) ToPatchRequest } 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 *CompaniesItemCustomerPaymentsItemCustomerRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentsItemCustomerRequestBuilder) { + return NewCompaniesItemCustomerPaymentsItemCustomerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payments_item_customer_shipment_method_request_builder.go b/financials/companies_item_customer_payments_item_customer_shipment_method_request_builder.go index c27f197909e..0894f63cbcc 100644 --- a/financials/companies_item_customer_payments_item_customer_shipment_method_request_builder.go +++ b/financials/companies_item_customer_payments_item_customer_shipment_method_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerShipmentMethodRequestBuilder) } 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 *CompaniesItemCustomerPaymentsItemCustomerShipmentMethodRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentsItemCustomerShipmentMethodRequestBuilder) { + return NewCompaniesItemCustomerPaymentsItemCustomerShipmentMethodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customer_payments_request_builder.go b/financials/companies_item_customer_payments_request_builder.go index 66c21a4d154..d2ba102bc27 100644 --- a/financials/companies_item_customer_payments_request_builder.go +++ b/financials/companies_item_customer_payments_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemCustomerPaymentsRequestBuilder) ToPostRequestInformation(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 *CompaniesItemCustomerPaymentsRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomerPaymentsRequestBuilder) { + return NewCompaniesItemCustomerPaymentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customers_count_request_builder.go b/financials/companies_item_customers_count_request_builder.go index c7aabf31fc5..26030872a8c 100644 --- a/financials/companies_item_customers_count_request_builder.go +++ b/financials/companies_item_customers_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemCustomersCountRequestBuilder) ToGetRequestInformation(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 *CompaniesItemCustomersCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomersCountRequestBuilder) { + return NewCompaniesItemCustomersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customers_customer_item_request_builder.go b/financials/companies_item_customers_customer_item_request_builder.go index 4b6e4cf32cb..84b94b6829d 100644 --- a/financials/companies_item_customers_customer_item_request_builder.go +++ b/financials/companies_item_customers_customer_item_request_builder.go @@ -173,3 +173,7 @@ func (m *CompaniesItemCustomersCustomerItemRequestBuilder) ToPatchRequestInforma } 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 *CompaniesItemCustomersCustomerItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomersCustomerItemRequestBuilder) { + return NewCompaniesItemCustomersCustomerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customers_item_currency_request_builder.go b/financials/companies_item_customers_item_currency_request_builder.go index 848cebc43ff..b3b38f7c8a2 100644 --- a/financials/companies_item_customers_item_currency_request_builder.go +++ b/financials/companies_item_customers_item_currency_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemCustomersItemCurrencyRequestBuilder) ToPatchRequestInforma } 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 *CompaniesItemCustomersItemCurrencyRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomersItemCurrencyRequestBuilder) { + return NewCompaniesItemCustomersItemCurrencyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customers_item_payment_method_request_builder.go b/financials/companies_item_customers_item_payment_method_request_builder.go index 756851f3786..481b671514f 100644 --- a/financials/companies_item_customers_item_payment_method_request_builder.go +++ b/financials/companies_item_customers_item_payment_method_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemCustomersItemPaymentMethodRequestBuilder) ToPatchRequestIn } 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 *CompaniesItemCustomersItemPaymentMethodRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomersItemPaymentMethodRequestBuilder) { + return NewCompaniesItemCustomersItemPaymentMethodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customers_item_payment_term_request_builder.go b/financials/companies_item_customers_item_payment_term_request_builder.go index 81a3738f3be..552163d82f9 100644 --- a/financials/companies_item_customers_item_payment_term_request_builder.go +++ b/financials/companies_item_customers_item_payment_term_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemCustomersItemPaymentTermRequestBuilder) 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 *CompaniesItemCustomersItemPaymentTermRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomersItemPaymentTermRequestBuilder) { + return NewCompaniesItemCustomersItemPaymentTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customers_item_picture_count_request_builder.go b/financials/companies_item_customers_item_picture_count_request_builder.go index a2d8f87c4f4..c7a28b05f55 100644 --- a/financials/companies_item_customers_item_picture_count_request_builder.go +++ b/financials/companies_item_customers_item_picture_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemCustomersItemPictureCountRequestBuilder) ToGetRequestInfor } 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 *CompaniesItemCustomersItemPictureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomersItemPictureCountRequestBuilder) { + return NewCompaniesItemCustomersItemPictureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customers_item_picture_item_content_request_builder.go b/financials/companies_item_customers_item_picture_item_content_request_builder.go index ebe7c12015b..2ba014eab3e 100644 --- a/financials/companies_item_customers_item_picture_item_content_request_builder.go +++ b/financials/companies_item_customers_item_picture_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *CompaniesItemCustomersItemPictureItemContentRequestBuilder) ToPutReques } 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 *CompaniesItemCustomersItemPictureItemContentRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomersItemPictureItemContentRequestBuilder) { + return NewCompaniesItemCustomersItemPictureItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customers_item_picture_picture_item_request_builder.go b/financials/companies_item_customers_item_picture_picture_item_request_builder.go index e3182591782..49b2e1474bc 100644 --- a/financials/companies_item_customers_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_customers_item_picture_picture_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemCustomersItemPicturePictureItemRequestBuilder) ToPatchRequ } 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 *CompaniesItemCustomersItemPicturePictureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomersItemPicturePictureItemRequestBuilder) { + return NewCompaniesItemCustomersItemPicturePictureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customers_item_picture_request_builder.go b/financials/companies_item_customers_item_picture_request_builder.go index 52a9202f6b8..5b27629ee36 100644 --- a/financials/companies_item_customers_item_picture_request_builder.go +++ b/financials/companies_item_customers_item_picture_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemCustomersItemPictureRequestBuilder) ToPostRequestInformati } 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 *CompaniesItemCustomersItemPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomersItemPictureRequestBuilder) { + return NewCompaniesItemCustomersItemPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customers_item_shipment_method_request_builder.go b/financials/companies_item_customers_item_shipment_method_request_builder.go index a110bbccde6..30e60aac9f7 100644 --- a/financials/companies_item_customers_item_shipment_method_request_builder.go +++ b/financials/companies_item_customers_item_shipment_method_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemCustomersItemShipmentMethodRequestBuilder) ToPatchRequestI } 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 *CompaniesItemCustomersItemShipmentMethodRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomersItemShipmentMethodRequestBuilder) { + return NewCompaniesItemCustomersItemShipmentMethodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_customers_request_builder.go b/financials/companies_item_customers_request_builder.go index b92217efea3..ff4ebfb43ea 100644 --- a/financials/companies_item_customers_request_builder.go +++ b/financials/companies_item_customers_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemCustomersRequestBuilder) ToPostRequestInformation(ctx cont } 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 *CompaniesItemCustomersRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemCustomersRequestBuilder) { + return NewCompaniesItemCustomersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_dimension_values_count_request_builder.go b/financials/companies_item_dimension_values_count_request_builder.go index f9f8d7be533..538e3585dea 100644 --- a/financials/companies_item_dimension_values_count_request_builder.go +++ b/financials/companies_item_dimension_values_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemDimensionValuesCountRequestBuilder) 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 *CompaniesItemDimensionValuesCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemDimensionValuesCountRequestBuilder) { + return NewCompaniesItemDimensionValuesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_dimension_values_dimension_value_item_request_builder.go b/financials/companies_item_dimension_values_dimension_value_item_request_builder.go index 818bfe2ebe0..adf8fe4f7be 100644 --- a/financials/companies_item_dimension_values_dimension_value_item_request_builder.go +++ b/financials/companies_item_dimension_values_dimension_value_item_request_builder.go @@ -75,3 +75,7 @@ func (m *CompaniesItemDimensionValuesDimensionValueItemRequestBuilder) ToGetRequ } 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 *CompaniesItemDimensionValuesDimensionValueItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemDimensionValuesDimensionValueItemRequestBuilder) { + return NewCompaniesItemDimensionValuesDimensionValueItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_dimension_values_request_builder.go b/financials/companies_item_dimension_values_request_builder.go index e3a4efec12a..ed7022e6705 100644 --- a/financials/companies_item_dimension_values_request_builder.go +++ b/financials/companies_item_dimension_values_request_builder.go @@ -113,3 +113,7 @@ func (m *CompaniesItemDimensionValuesRequestBuilder) ToGetRequestInformation(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 *CompaniesItemDimensionValuesRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemDimensionValuesRequestBuilder) { + return NewCompaniesItemDimensionValuesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_dimensions_count_request_builder.go b/financials/companies_item_dimensions_count_request_builder.go index 746046576fb..1a1d860828c 100644 --- a/financials/companies_item_dimensions_count_request_builder.go +++ b/financials/companies_item_dimensions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemDimensionsCountRequestBuilder) ToGetRequestInformation(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 *CompaniesItemDimensionsCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemDimensionsCountRequestBuilder) { + return NewCompaniesItemDimensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_dimensions_dimension_item_request_builder.go b/financials/companies_item_dimensions_dimension_item_request_builder.go index 0322e63ff2b..0090ef3d72e 100644 --- a/financials/companies_item_dimensions_dimension_item_request_builder.go +++ b/financials/companies_item_dimensions_dimension_item_request_builder.go @@ -79,3 +79,7 @@ func (m *CompaniesItemDimensionsDimensionItemRequestBuilder) ToGetRequestInforma } 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 *CompaniesItemDimensionsDimensionItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemDimensionsDimensionItemRequestBuilder) { + return NewCompaniesItemDimensionsDimensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_dimensions_item_dimension_values_count_request_builder.go b/financials/companies_item_dimensions_item_dimension_values_count_request_builder.go index 30882857d6f..65cb74a23df 100644 --- a/financials/companies_item_dimensions_item_dimension_values_count_request_builder.go +++ b/financials/companies_item_dimensions_item_dimension_values_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemDimensionsItemDimensionValuesCountRequestBuilder) ToGetReq } 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 *CompaniesItemDimensionsItemDimensionValuesCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemDimensionsItemDimensionValuesCountRequestBuilder) { + return NewCompaniesItemDimensionsItemDimensionValuesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_dimensions_item_dimension_values_dimension_value_item_request_builder.go b/financials/companies_item_dimensions_item_dimension_values_dimension_value_item_request_builder.go index 2aac5a713da..fcd95e7aa0c 100644 --- a/financials/companies_item_dimensions_item_dimension_values_dimension_value_item_request_builder.go +++ b/financials/companies_item_dimensions_item_dimension_values_dimension_value_item_request_builder.go @@ -75,3 +75,7 @@ func (m *CompaniesItemDimensionsItemDimensionValuesDimensionValueItemRequestBuil } 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 *CompaniesItemDimensionsItemDimensionValuesDimensionValueItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemDimensionsItemDimensionValuesDimensionValueItemRequestBuilder) { + return NewCompaniesItemDimensionsItemDimensionValuesDimensionValueItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_dimensions_item_dimension_values_request_builder.go b/financials/companies_item_dimensions_item_dimension_values_request_builder.go index cb45a3e4188..4f35cde6654 100644 --- a/financials/companies_item_dimensions_item_dimension_values_request_builder.go +++ b/financials/companies_item_dimensions_item_dimension_values_request_builder.go @@ -113,3 +113,7 @@ func (m *CompaniesItemDimensionsItemDimensionValuesRequestBuilder) ToGetRequestI } 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 *CompaniesItemDimensionsItemDimensionValuesRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemDimensionsItemDimensionValuesRequestBuilder) { + return NewCompaniesItemDimensionsItemDimensionValuesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_dimensions_request_builder.go b/financials/companies_item_dimensions_request_builder.go index 59033303eaf..690f529b598 100644 --- a/financials/companies_item_dimensions_request_builder.go +++ b/financials/companies_item_dimensions_request_builder.go @@ -113,3 +113,7 @@ func (m *CompaniesItemDimensionsRequestBuilder) ToGetRequestInformation(ctx cont } 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 *CompaniesItemDimensionsRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemDimensionsRequestBuilder) { + return NewCompaniesItemDimensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_employees_count_request_builder.go b/financials/companies_item_employees_count_request_builder.go index c6beecb6979..e065fe38928 100644 --- a/financials/companies_item_employees_count_request_builder.go +++ b/financials/companies_item_employees_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemEmployeesCountRequestBuilder) ToGetRequestInformation(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 *CompaniesItemEmployeesCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemEmployeesCountRequestBuilder) { + return NewCompaniesItemEmployeesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_employees_employee_item_request_builder.go b/financials/companies_item_employees_employee_item_request_builder.go index 2e1852dbc8b..8e287121a37 100644 --- a/financials/companies_item_employees_employee_item_request_builder.go +++ b/financials/companies_item_employees_employee_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemEmployeesEmployeeItemRequestBuilder) ToPatchRequestInforma } 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 *CompaniesItemEmployeesEmployeeItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemEmployeesEmployeeItemRequestBuilder) { + return NewCompaniesItemEmployeesEmployeeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_employees_item_picture_count_request_builder.go b/financials/companies_item_employees_item_picture_count_request_builder.go index 12a0505b122..e532ddef1a3 100644 --- a/financials/companies_item_employees_item_picture_count_request_builder.go +++ b/financials/companies_item_employees_item_picture_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemEmployeesItemPictureCountRequestBuilder) ToGetRequestInfor } 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 *CompaniesItemEmployeesItemPictureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemEmployeesItemPictureCountRequestBuilder) { + return NewCompaniesItemEmployeesItemPictureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_employees_item_picture_item_content_request_builder.go b/financials/companies_item_employees_item_picture_item_content_request_builder.go index 202deceb3d8..c8bcf0a2c88 100644 --- a/financials/companies_item_employees_item_picture_item_content_request_builder.go +++ b/financials/companies_item_employees_item_picture_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *CompaniesItemEmployeesItemPictureItemContentRequestBuilder) ToPutReques } 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 *CompaniesItemEmployeesItemPictureItemContentRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemEmployeesItemPictureItemContentRequestBuilder) { + return NewCompaniesItemEmployeesItemPictureItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_employees_item_picture_picture_item_request_builder.go b/financials/companies_item_employees_item_picture_picture_item_request_builder.go index 716cc248e56..84dbe762158 100644 --- a/financials/companies_item_employees_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_employees_item_picture_picture_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemEmployeesItemPicturePictureItemRequestBuilder) ToPatchRequ } 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 *CompaniesItemEmployeesItemPicturePictureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemEmployeesItemPicturePictureItemRequestBuilder) { + return NewCompaniesItemEmployeesItemPicturePictureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_employees_item_picture_request_builder.go b/financials/companies_item_employees_item_picture_request_builder.go index 9234bdb7566..db6ff24c237 100644 --- a/financials/companies_item_employees_item_picture_request_builder.go +++ b/financials/companies_item_employees_item_picture_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemEmployeesItemPictureRequestBuilder) ToPostRequestInformati } 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 *CompaniesItemEmployeesItemPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemEmployeesItemPictureRequestBuilder) { + return NewCompaniesItemEmployeesItemPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_employees_request_builder.go b/financials/companies_item_employees_request_builder.go index e476bd86f91..38c424797dc 100644 --- a/financials/companies_item_employees_request_builder.go +++ b/financials/companies_item_employees_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemEmployeesRequestBuilder) ToPostRequestInformation(ctx cont } 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 *CompaniesItemEmployeesRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemEmployeesRequestBuilder) { + return NewCompaniesItemEmployeesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_general_ledger_entries_count_request_builder.go b/financials/companies_item_general_ledger_entries_count_request_builder.go index 369e95f4daf..2981b5ed406 100644 --- a/financials/companies_item_general_ledger_entries_count_request_builder.go +++ b/financials/companies_item_general_ledger_entries_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemGeneralLedgerEntriesCountRequestBuilder) ToGetRequestInfor } 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 *CompaniesItemGeneralLedgerEntriesCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemGeneralLedgerEntriesCountRequestBuilder) { + return NewCompaniesItemGeneralLedgerEntriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_general_ledger_entries_general_ledger_entry_item_request_builder.go b/financials/companies_item_general_ledger_entries_general_ledger_entry_item_request_builder.go index f3bd6c0ba49..5c248b3176d 100644 --- a/financials/companies_item_general_ledger_entries_general_ledger_entry_item_request_builder.go +++ b/financials/companies_item_general_ledger_entries_general_ledger_entry_item_request_builder.go @@ -79,3 +79,7 @@ func (m *CompaniesItemGeneralLedgerEntriesGeneralLedgerEntryItemRequestBuilder) } 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 *CompaniesItemGeneralLedgerEntriesGeneralLedgerEntryItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemGeneralLedgerEntriesGeneralLedgerEntryItemRequestBuilder) { + return NewCompaniesItemGeneralLedgerEntriesGeneralLedgerEntryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_general_ledger_entries_item_account_request_builder.go b/financials/companies_item_general_ledger_entries_item_account_request_builder.go index b530b135e35..787379ba13e 100644 --- a/financials/companies_item_general_ledger_entries_item_account_request_builder.go +++ b/financials/companies_item_general_ledger_entries_item_account_request_builder.go @@ -75,3 +75,7 @@ func (m *CompaniesItemGeneralLedgerEntriesItemAccountRequestBuilder) ToGetReques } 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 *CompaniesItemGeneralLedgerEntriesItemAccountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemGeneralLedgerEntriesItemAccountRequestBuilder) { + return NewCompaniesItemGeneralLedgerEntriesItemAccountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_general_ledger_entries_request_builder.go b/financials/companies_item_general_ledger_entries_request_builder.go index e01bd3171b3..1f78782a9d6 100644 --- a/financials/companies_item_general_ledger_entries_request_builder.go +++ b/financials/companies_item_general_ledger_entries_request_builder.go @@ -113,3 +113,7 @@ func (m *CompaniesItemGeneralLedgerEntriesRequestBuilder) 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 *CompaniesItemGeneralLedgerEntriesRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemGeneralLedgerEntriesRequestBuilder) { + return NewCompaniesItemGeneralLedgerEntriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_item_categories_count_request_builder.go b/financials/companies_item_item_categories_count_request_builder.go index 441050361e1..4c2ff56ff27 100644 --- a/financials/companies_item_item_categories_count_request_builder.go +++ b/financials/companies_item_item_categories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemItemCategoriesCountRequestBuilder) 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 *CompaniesItemItemCategoriesCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemItemCategoriesCountRequestBuilder) { + return NewCompaniesItemItemCategoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_item_categories_item_category_item_request_builder.go b/financials/companies_item_item_categories_item_category_item_request_builder.go index 243541d44c5..091fd16c76c 100644 --- a/financials/companies_item_item_categories_item_category_item_request_builder.go +++ b/financials/companies_item_item_categories_item_category_item_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemItemCategoriesItemCategoryItemRequestBuilder) ToPatchReque } 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 *CompaniesItemItemCategoriesItemCategoryItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemItemCategoriesItemCategoryItemRequestBuilder) { + return NewCompaniesItemItemCategoriesItemCategoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_item_categories_request_builder.go b/financials/companies_item_item_categories_request_builder.go index 1566dda7201..a8cd3a910aa 100644 --- a/financials/companies_item_item_categories_request_builder.go +++ b/financials/companies_item_item_categories_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemItemCategoriesRequestBuilder) 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 *CompaniesItemItemCategoriesRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemItemCategoriesRequestBuilder) { + return NewCompaniesItemItemCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_items_count_request_builder.go b/financials/companies_item_items_count_request_builder.go index 6f09e0707bc..72362a30feb 100644 --- a/financials/companies_item_items_count_request_builder.go +++ b/financials/companies_item_items_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemItemsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *CompaniesItemItemsCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemItemsCountRequestBuilder) { + return NewCompaniesItemItemsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_items_item_item_category_request_builder.go b/financials/companies_item_items_item_item_category_request_builder.go index 3a62d693d18..fb83fd4c35f 100644 --- a/financials/companies_item_items_item_item_category_request_builder.go +++ b/financials/companies_item_items_item_item_category_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemItemsItemItemCategoryRequestBuilder) ToPatchRequestInforma } 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 *CompaniesItemItemsItemItemCategoryRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemItemsItemItemCategoryRequestBuilder) { + return NewCompaniesItemItemsItemItemCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_items_item_item_request_builder.go b/financials/companies_item_items_item_item_request_builder.go index acbda011a7b..8551b99cd1b 100644 --- a/financials/companies_item_items_item_item_request_builder.go +++ b/financials/companies_item_items_item_item_request_builder.go @@ -161,3 +161,7 @@ func (m *CompaniesItemItemsItemItemRequestBuilder) ToPatchRequestInformation(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 *CompaniesItemItemsItemItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemItemsItemItemRequestBuilder) { + return NewCompaniesItemItemsItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_items_item_picture_count_request_builder.go b/financials/companies_item_items_item_picture_count_request_builder.go index 61ad262328c..461b1325121 100644 --- a/financials/companies_item_items_item_picture_count_request_builder.go +++ b/financials/companies_item_items_item_picture_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemItemsItemPictureCountRequestBuilder) ToGetRequestInformati } 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 *CompaniesItemItemsItemPictureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemItemsItemPictureCountRequestBuilder) { + return NewCompaniesItemItemsItemPictureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_items_item_picture_item_content_request_builder.go b/financials/companies_item_items_item_picture_item_content_request_builder.go index 3d4f6f93a3a..ce14d269441 100644 --- a/financials/companies_item_items_item_picture_item_content_request_builder.go +++ b/financials/companies_item_items_item_picture_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *CompaniesItemItemsItemPictureItemContentRequestBuilder) ToPutRequestInf } 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 *CompaniesItemItemsItemPictureItemContentRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemItemsItemPictureItemContentRequestBuilder) { + return NewCompaniesItemItemsItemPictureItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_items_item_picture_picture_item_request_builder.go b/financials/companies_item_items_item_picture_picture_item_request_builder.go index 3cf79e505a3..e511a820fed 100644 --- a/financials/companies_item_items_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_items_item_picture_picture_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemItemsItemPicturePictureItemRequestBuilder) ToPatchRequestI } 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 *CompaniesItemItemsItemPicturePictureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemItemsItemPicturePictureItemRequestBuilder) { + return NewCompaniesItemItemsItemPicturePictureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_items_item_picture_request_builder.go b/financials/companies_item_items_item_picture_request_builder.go index 164dd1eb2bc..014ed9717a3 100644 --- a/financials/companies_item_items_item_picture_request_builder.go +++ b/financials/companies_item_items_item_picture_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemItemsItemPictureRequestBuilder) ToPostRequestInformation(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 *CompaniesItemItemsItemPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemItemsItemPictureRequestBuilder) { + return NewCompaniesItemItemsItemPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_items_request_builder.go b/financials/companies_item_items_request_builder.go index b0bd46c05d9..e5c7c29de60 100644 --- a/financials/companies_item_items_request_builder.go +++ b/financials/companies_item_items_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemItemsRequestBuilder) 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 *CompaniesItemItemsRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemItemsRequestBuilder) { + return NewCompaniesItemItemsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_journal_lines_count_request_builder.go b/financials/companies_item_journal_lines_count_request_builder.go index 6d01e382291..cfc518034e7 100644 --- a/financials/companies_item_journal_lines_count_request_builder.go +++ b/financials/companies_item_journal_lines_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemJournalLinesCountRequestBuilder) ToGetRequestInformation(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 *CompaniesItemJournalLinesCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemJournalLinesCountRequestBuilder) { + return NewCompaniesItemJournalLinesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_journal_lines_item_account_request_builder.go b/financials/companies_item_journal_lines_item_account_request_builder.go index 0db5bf849bc..34f86eb6ded 100644 --- a/financials/companies_item_journal_lines_item_account_request_builder.go +++ b/financials/companies_item_journal_lines_item_account_request_builder.go @@ -75,3 +75,7 @@ func (m *CompaniesItemJournalLinesItemAccountRequestBuilder) ToGetRequestInforma } 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 *CompaniesItemJournalLinesItemAccountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemJournalLinesItemAccountRequestBuilder) { + return NewCompaniesItemJournalLinesItemAccountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_journal_lines_journal_line_item_request_builder.go b/financials/companies_item_journal_lines_journal_line_item_request_builder.go index 1e7fadd2d9e..75050643f1a 100644 --- a/financials/companies_item_journal_lines_journal_line_item_request_builder.go +++ b/financials/companies_item_journal_lines_journal_line_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemJournalLinesJournalLineItemRequestBuilder) ToPatchRequestI } 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 *CompaniesItemJournalLinesJournalLineItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemJournalLinesJournalLineItemRequestBuilder) { + return NewCompaniesItemJournalLinesJournalLineItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_journal_lines_request_builder.go b/financials/companies_item_journal_lines_request_builder.go index 7f8a5ba9c9b..47d544ddfcc 100644 --- a/financials/companies_item_journal_lines_request_builder.go +++ b/financials/companies_item_journal_lines_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemJournalLinesRequestBuilder) ToPostRequestInformation(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 *CompaniesItemJournalLinesRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemJournalLinesRequestBuilder) { + return NewCompaniesItemJournalLinesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_journals_count_request_builder.go b/financials/companies_item_journals_count_request_builder.go index 6e84dd903b1..8a430104a17 100644 --- a/financials/companies_item_journals_count_request_builder.go +++ b/financials/companies_item_journals_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemJournalsCountRequestBuilder) ToGetRequestInformation(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 *CompaniesItemJournalsCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemJournalsCountRequestBuilder) { + return NewCompaniesItemJournalsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_journals_item_account_request_builder.go b/financials/companies_item_journals_item_account_request_builder.go index e718c788286..282faa3f075 100644 --- a/financials/companies_item_journals_item_account_request_builder.go +++ b/financials/companies_item_journals_item_account_request_builder.go @@ -75,3 +75,7 @@ func (m *CompaniesItemJournalsItemAccountRequestBuilder) 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 *CompaniesItemJournalsItemAccountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemJournalsItemAccountRequestBuilder) { + return NewCompaniesItemJournalsItemAccountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_journals_item_journal_lines_count_request_builder.go b/financials/companies_item_journals_item_journal_lines_count_request_builder.go index f9a04bf7b13..9d112e42d15 100644 --- a/financials/companies_item_journals_item_journal_lines_count_request_builder.go +++ b/financials/companies_item_journals_item_journal_lines_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemJournalsItemJournalLinesCountRequestBuilder) ToGetRequestI } 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 *CompaniesItemJournalsItemJournalLinesCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemJournalsItemJournalLinesCountRequestBuilder) { + return NewCompaniesItemJournalsItemJournalLinesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_journals_item_journal_lines_item_account_request_builder.go b/financials/companies_item_journals_item_journal_lines_item_account_request_builder.go index f104be701c6..0876ab96ee2 100644 --- a/financials/companies_item_journals_item_journal_lines_item_account_request_builder.go +++ b/financials/companies_item_journals_item_journal_lines_item_account_request_builder.go @@ -75,3 +75,7 @@ func (m *CompaniesItemJournalsItemJournalLinesItemAccountRequestBuilder) ToGetRe } 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 *CompaniesItemJournalsItemJournalLinesItemAccountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemJournalsItemJournalLinesItemAccountRequestBuilder) { + return NewCompaniesItemJournalsItemJournalLinesItemAccountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_journals_item_journal_lines_journal_line_item_request_builder.go b/financials/companies_item_journals_item_journal_lines_journal_line_item_request_builder.go index 711fbcc61c3..927e6025e31 100644 --- a/financials/companies_item_journals_item_journal_lines_journal_line_item_request_builder.go +++ b/financials/companies_item_journals_item_journal_lines_journal_line_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemJournalsItemJournalLinesJournalLineItemRequestBuilder) 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 *CompaniesItemJournalsItemJournalLinesJournalLineItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemJournalsItemJournalLinesJournalLineItemRequestBuilder) { + return NewCompaniesItemJournalsItemJournalLinesJournalLineItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_journals_item_journal_lines_request_builder.go b/financials/companies_item_journals_item_journal_lines_request_builder.go index b1650f9c84e..8d3cf4912c2 100644 --- a/financials/companies_item_journals_item_journal_lines_request_builder.go +++ b/financials/companies_item_journals_item_journal_lines_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemJournalsItemJournalLinesRequestBuilder) ToPostRequestInfor } 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 *CompaniesItemJournalsItemJournalLinesRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemJournalsItemJournalLinesRequestBuilder) { + return NewCompaniesItemJournalsItemJournalLinesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_journals_item_post_request_builder.go b/financials/companies_item_journals_item_post_request_builder.go index 2dc4cce2ed2..a5d189ed440 100644 --- a/financials/companies_item_journals_item_post_request_builder.go +++ b/financials/companies_item_journals_item_post_request_builder.go @@ -58,3 +58,7 @@ func (m *CompaniesItemJournalsItemPostRequestBuilder) ToPostRequestInformation(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 *CompaniesItemJournalsItemPostRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemJournalsItemPostRequestBuilder) { + return NewCompaniesItemJournalsItemPostRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_journals_journal_item_request_builder.go b/financials/companies_item_journals_journal_item_request_builder.go index b04d2168e79..230719dbed2 100644 --- a/financials/companies_item_journals_journal_item_request_builder.go +++ b/financials/companies_item_journals_journal_item_request_builder.go @@ -165,3 +165,7 @@ func (m *CompaniesItemJournalsJournalItemRequestBuilder) ToPatchRequestInformati } 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 *CompaniesItemJournalsJournalItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemJournalsJournalItemRequestBuilder) { + return NewCompaniesItemJournalsJournalItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_journals_request_builder.go b/financials/companies_item_journals_request_builder.go index 3e5ab671694..d0c7dcb83ec 100644 --- a/financials/companies_item_journals_request_builder.go +++ b/financials/companies_item_journals_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemJournalsRequestBuilder) 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 *CompaniesItemJournalsRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemJournalsRequestBuilder) { + return NewCompaniesItemJournalsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_payment_methods_count_request_builder.go b/financials/companies_item_payment_methods_count_request_builder.go index e138dab62cd..fe4e143f183 100644 --- a/financials/companies_item_payment_methods_count_request_builder.go +++ b/financials/companies_item_payment_methods_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemPaymentMethodsCountRequestBuilder) 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 *CompaniesItemPaymentMethodsCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPaymentMethodsCountRequestBuilder) { + return NewCompaniesItemPaymentMethodsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_payment_methods_payment_method_item_request_builder.go b/financials/companies_item_payment_methods_payment_method_item_request_builder.go index d81cea6ba36..221fe074a4c 100644 --- a/financials/companies_item_payment_methods_payment_method_item_request_builder.go +++ b/financials/companies_item_payment_methods_payment_method_item_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemPaymentMethodsPaymentMethodItemRequestBuilder) ToPatchRequ } 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 *CompaniesItemPaymentMethodsPaymentMethodItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPaymentMethodsPaymentMethodItemRequestBuilder) { + return NewCompaniesItemPaymentMethodsPaymentMethodItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_payment_methods_request_builder.go b/financials/companies_item_payment_methods_request_builder.go index 11a9a37aa7a..7212a8894cf 100644 --- a/financials/companies_item_payment_methods_request_builder.go +++ b/financials/companies_item_payment_methods_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemPaymentMethodsRequestBuilder) 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 *CompaniesItemPaymentMethodsRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPaymentMethodsRequestBuilder) { + return NewCompaniesItemPaymentMethodsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_payment_terms_count_request_builder.go b/financials/companies_item_payment_terms_count_request_builder.go index 92f02da771e..134e62f62a4 100644 --- a/financials/companies_item_payment_terms_count_request_builder.go +++ b/financials/companies_item_payment_terms_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemPaymentTermsCountRequestBuilder) ToGetRequestInformation(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 *CompaniesItemPaymentTermsCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPaymentTermsCountRequestBuilder) { + return NewCompaniesItemPaymentTermsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_payment_terms_payment_term_item_request_builder.go b/financials/companies_item_payment_terms_payment_term_item_request_builder.go index 45cd77531be..9bcf4f7dce5 100644 --- a/financials/companies_item_payment_terms_payment_term_item_request_builder.go +++ b/financials/companies_item_payment_terms_payment_term_item_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemPaymentTermsPaymentTermItemRequestBuilder) ToPatchRequestI } 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 *CompaniesItemPaymentTermsPaymentTermItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPaymentTermsPaymentTermItemRequestBuilder) { + return NewCompaniesItemPaymentTermsPaymentTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_payment_terms_request_builder.go b/financials/companies_item_payment_terms_request_builder.go index cb6172345ab..6e333053757 100644 --- a/financials/companies_item_payment_terms_request_builder.go +++ b/financials/companies_item_payment_terms_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemPaymentTermsRequestBuilder) ToPostRequestInformation(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 *CompaniesItemPaymentTermsRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPaymentTermsRequestBuilder) { + return NewCompaniesItemPaymentTermsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_picture_count_request_builder.go b/financials/companies_item_picture_count_request_builder.go index ce991c65ff0..ab8867182b1 100644 --- a/financials/companies_item_picture_count_request_builder.go +++ b/financials/companies_item_picture_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemPictureCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *CompaniesItemPictureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPictureCountRequestBuilder) { + return NewCompaniesItemPictureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_picture_item_content_request_builder.go b/financials/companies_item_picture_item_content_request_builder.go index 3bade8b1525..34482448c91 100644 --- a/financials/companies_item_picture_item_content_request_builder.go +++ b/financials/companies_item_picture_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *CompaniesItemPictureItemContentRequestBuilder) ToPutRequestInformation( } 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 *CompaniesItemPictureItemContentRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPictureItemContentRequestBuilder) { + return NewCompaniesItemPictureItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_picture_picture_item_request_builder.go b/financials/companies_item_picture_picture_item_request_builder.go index 63f9258c5b8..3a7d5a289a5 100644 --- a/financials/companies_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_picture_picture_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemPicturePictureItemRequestBuilder) ToPatchRequestInformatio } 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 *CompaniesItemPicturePictureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPicturePictureItemRequestBuilder) { + return NewCompaniesItemPicturePictureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_picture_request_builder.go b/financials/companies_item_picture_request_builder.go index cb340a1d7b8..e5b56578710 100644 --- a/financials/companies_item_picture_request_builder.go +++ b/financials/companies_item_picture_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemPictureRequestBuilder) ToPostRequestInformation(ctx contex } 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 *CompaniesItemPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPictureRequestBuilder) { + return NewCompaniesItemPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoice_lines_count_request_builder.go b/financials/companies_item_purchase_invoice_lines_count_request_builder.go index 719480c852d..b6f493a1e1c 100644 --- a/financials/companies_item_purchase_invoice_lines_count_request_builder.go +++ b/financials/companies_item_purchase_invoice_lines_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesCountRequestBuilder) ToGetRequestInfor } 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 *CompaniesItemPurchaseInvoiceLinesCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoiceLinesCountRequestBuilder) { + return NewCompaniesItemPurchaseInvoiceLinesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoice_lines_item_account_request_builder.go b/financials/companies_item_purchase_invoice_lines_item_account_request_builder.go index 47dd49c8b32..25acc5442b0 100644 --- a/financials/companies_item_purchase_invoice_lines_item_account_request_builder.go +++ b/financials/companies_item_purchase_invoice_lines_item_account_request_builder.go @@ -75,3 +75,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesItemAccountRequestBuilder) ToGetReques } 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 *CompaniesItemPurchaseInvoiceLinesItemAccountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoiceLinesItemAccountRequestBuilder) { + return NewCompaniesItemPurchaseInvoiceLinesItemAccountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoice_lines_item_item_item_category_request_builder.go b/financials/companies_item_purchase_invoice_lines_item_item_item_category_request_builder.go index df4ddad74fe..d9857745a4c 100644 --- a/financials/companies_item_purchase_invoice_lines_item_item_item_category_request_builder.go +++ b/financials/companies_item_purchase_invoice_lines_item_item_item_category_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesItemItemItemCategoryRequestBuilder) To } 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 *CompaniesItemPurchaseInvoiceLinesItemItemItemCategoryRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoiceLinesItemItemItemCategoryRequestBuilder) { + return NewCompaniesItemPurchaseInvoiceLinesItemItemItemCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoice_lines_item_item_picture_count_request_builder.go b/financials/companies_item_purchase_invoice_lines_item_item_picture_count_request_builder.go index 91cbb4ea05e..00651422ce9 100644 --- a/financials/companies_item_purchase_invoice_lines_item_item_picture_count_request_builder.go +++ b/financials/companies_item_purchase_invoice_lines_item_item_picture_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesItemItemPictureCountRequestBuilder) To } 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 *CompaniesItemPurchaseInvoiceLinesItemItemPictureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoiceLinesItemItemPictureCountRequestBuilder) { + return NewCompaniesItemPurchaseInvoiceLinesItemItemPictureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoice_lines_item_item_picture_item_content_request_builder.go b/financials/companies_item_purchase_invoice_lines_item_item_picture_item_content_request_builder.go index c60891f0cf3..b4a258dd15c 100644 --- a/financials/companies_item_purchase_invoice_lines_item_item_picture_item_content_request_builder.go +++ b/financials/companies_item_purchase_invoice_lines_item_item_picture_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesItemItemPictureItemContentRequestBuild } 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 *CompaniesItemPurchaseInvoiceLinesItemItemPictureItemContentRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoiceLinesItemItemPictureItemContentRequestBuilder) { + return NewCompaniesItemPurchaseInvoiceLinesItemItemPictureItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoice_lines_item_item_picture_picture_item_request_builder.go b/financials/companies_item_purchase_invoice_lines_item_item_picture_picture_item_request_builder.go index bbb3fcf0278..68a5b798592 100644 --- a/financials/companies_item_purchase_invoice_lines_item_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_purchase_invoice_lines_item_item_picture_picture_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesItemItemPicturePictureItemRequestBuild } 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 *CompaniesItemPurchaseInvoiceLinesItemItemPicturePictureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoiceLinesItemItemPicturePictureItemRequestBuilder) { + return NewCompaniesItemPurchaseInvoiceLinesItemItemPicturePictureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoice_lines_item_item_picture_request_builder.go b/financials/companies_item_purchase_invoice_lines_item_item_picture_request_builder.go index 5fbddd19e41..37dbea01926 100644 --- a/financials/companies_item_purchase_invoice_lines_item_item_picture_request_builder.go +++ b/financials/companies_item_purchase_invoice_lines_item_item_picture_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesItemItemPictureRequestBuilder) ToPostR } 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 *CompaniesItemPurchaseInvoiceLinesItemItemPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoiceLinesItemItemPictureRequestBuilder) { + return NewCompaniesItemPurchaseInvoiceLinesItemItemPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoice_lines_item_item_request_builder.go b/financials/companies_item_purchase_invoice_lines_item_item_request_builder.go index 4ff63d823a2..12abaa6c77c 100644 --- a/financials/companies_item_purchase_invoice_lines_item_item_request_builder.go +++ b/financials/companies_item_purchase_invoice_lines_item_item_request_builder.go @@ -161,3 +161,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesItemItemRequestBuilder) ToPatchRequest } 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 *CompaniesItemPurchaseInvoiceLinesItemItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoiceLinesItemItemRequestBuilder) { + return NewCompaniesItemPurchaseInvoiceLinesItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoice_lines_purchase_invoice_line_item_request_builder.go b/financials/companies_item_purchase_invoice_lines_purchase_invoice_line_item_request_builder.go index e579d38a568..f12c8a4927e 100644 --- a/financials/companies_item_purchase_invoice_lines_purchase_invoice_line_item_request_builder.go +++ b/financials/companies_item_purchase_invoice_lines_purchase_invoice_line_item_request_builder.go @@ -126,3 +126,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesPurchaseInvoiceLineItemRequestBuilder) } 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 *CompaniesItemPurchaseInvoiceLinesPurchaseInvoiceLineItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoiceLinesPurchaseInvoiceLineItemRequestBuilder) { + return NewCompaniesItemPurchaseInvoiceLinesPurchaseInvoiceLineItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoice_lines_request_builder.go b/financials/companies_item_purchase_invoice_lines_request_builder.go index f3637b891ac..99b442294d0 100644 --- a/financials/companies_item_purchase_invoice_lines_request_builder.go +++ b/financials/companies_item_purchase_invoice_lines_request_builder.go @@ -39,8 +39,8 @@ type CompaniesItemPurchaseInvoiceLinesRequestBuilderGetRequestConfiguration stru // Request query parameters QueryParameters *CompaniesItemPurchaseInvoiceLinesRequestBuilderGetQueryParameters } -// ByPurchaseInvoiceLineIdString provides operations to manage the purchaseInvoiceLines property of the microsoft.graph.company entity. -func (m *CompaniesItemPurchaseInvoiceLinesRequestBuilder) ByPurchaseInvoiceLineIdString(purchaseInvoiceLineId string)(*CompaniesItemPurchaseInvoiceLinesPurchaseInvoiceLineItemRequestBuilder) { +// ByPurchaseInvoiceLineId provides operations to manage the purchaseInvoiceLines property of the microsoft.graph.company entity. +func (m *CompaniesItemPurchaseInvoiceLinesRequestBuilder) ByPurchaseInvoiceLineId(purchaseInvoiceLineId string)(*CompaniesItemPurchaseInvoiceLinesPurchaseInvoiceLineItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesRequestBuilder) 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 *CompaniesItemPurchaseInvoiceLinesRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoiceLinesRequestBuilder) { + return NewCompaniesItemPurchaseInvoiceLinesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_count_request_builder.go b/financials/companies_item_purchase_invoices_count_request_builder.go index 6fe9d4ab01f..af8f5d75e70 100644 --- a/financials/companies_item_purchase_invoices_count_request_builder.go +++ b/financials/companies_item_purchase_invoices_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemPurchaseInvoicesCountRequestBuilder) ToGetRequestInformati } 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 *CompaniesItemPurchaseInvoicesCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesCountRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_item_currency_request_builder.go b/financials/companies_item_purchase_invoices_item_currency_request_builder.go index 1915f321c0c..1c41aac29b7 100644 --- a/financials/companies_item_purchase_invoices_item_currency_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_currency_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemPurchaseInvoicesItemCurrencyRequestBuilder) ToPatchRequest } 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 *CompaniesItemPurchaseInvoicesItemCurrencyRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesItemCurrencyRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesItemCurrencyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_item_post_request_builder.go b/financials/companies_item_purchase_invoices_item_post_request_builder.go index f01f2376eba..68799a5f93e 100644 --- a/financials/companies_item_purchase_invoices_item_post_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_post_request_builder.go @@ -58,3 +58,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPostRequestBuilder) ToPostRequestInfor } 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 *CompaniesItemPurchaseInvoicesItemPostRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesItemPostRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesItemPostRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_count_request_builder.go b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_count_request_builder.go index 4f18db71d52..c917b164f10 100644 --- a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_count_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesCountRequestBuilde } 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 *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesCountRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_account_request_builder.go b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_account_request_builder.go index 06ab5137521..d8d67cff349 100644 --- a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_account_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_account_request_builder.go @@ -75,3 +75,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemAccountRequest } 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 *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemAccountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemAccountRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemAccountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_item_category_request_builder.go b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_item_category_request_builder.go index b769faf357a..84f916bb7da 100644 --- a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_item_category_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_item_category_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemItemCatego } 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 *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemItemCategoryRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemItemCategoryRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemItemCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_count_request_builder.go b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_count_request_builder.go index fcd53d981c9..7228bfbbb79 100644 --- a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_count_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPictureCou } 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 *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPictureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPictureCountRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPictureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_item_content_request_builder.go b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_item_content_request_builder.go index 7ffbf784a24..e94f051d9b7 100644 --- a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_item_content_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPictureIte } 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 *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPictureItemContentRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPictureItemContentRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPictureItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_picture_item_request_builder.go b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_picture_item_request_builder.go index 81ebd75d2d5..85d47ed206c 100644 --- a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_picture_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPicturePic } 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 *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPicturePictureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPicturePictureItemRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPicturePictureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_request_builder.go b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_request_builder.go index 3c433eb96f9..56fd20b3e5b 100644 --- a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPictureReq } 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 *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPictureRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_request_builder.go b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_request_builder.go index edea5e4094d..e364cba4427 100644 --- a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_request_builder.go @@ -161,3 +161,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemRequestBui } 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 *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_purchase_invoice_line_item_request_builder.go b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_purchase_invoice_line_item_request_builder.go index 98fea8f6d02..dc22ec3dca5 100644 --- a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_purchase_invoice_line_item_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_purchase_invoice_line_item_request_builder.go @@ -126,3 +126,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesPurchaseInvoiceLin } 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 *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesPurchaseInvoiceLineItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesPurchaseInvoiceLineItemRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesPurchaseInvoiceLineItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_request_builder.go b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_request_builder.go index d824c6208b5..8d0d71f4e40 100644 --- a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_request_builder.go @@ -39,8 +39,8 @@ type CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesRequestBuilderGetReque // Request query parameters QueryParameters *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesRequestBuilderGetQueryParameters } -// ByPurchaseInvoiceLineIdString provides operations to manage the purchaseInvoiceLines property of the microsoft.graph.purchaseInvoice entity. -func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesRequestBuilder) ByPurchaseInvoiceLineIdString(purchaseInvoiceLineId string)(*CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesPurchaseInvoiceLineItemRequestBuilder) { +// ByPurchaseInvoiceLineId provides operations to manage the purchaseInvoiceLines property of the microsoft.graph.purchaseInvoice entity. +func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesRequestBuilder) ByPurchaseInvoiceLineId(purchaseInvoiceLineId string)(*CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesPurchaseInvoiceLineItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesRequestBuilder) To } 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 *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_item_vendor_currency_request_builder.go b/financials/companies_item_purchase_invoices_item_vendor_currency_request_builder.go index 121f1e4c051..99f4594bb1a 100644 --- a/financials/companies_item_purchase_invoices_item_vendor_currency_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_vendor_currency_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorCurrencyRequestBuilder) ToPatchR } 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 *CompaniesItemPurchaseInvoicesItemVendorCurrencyRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesItemVendorCurrencyRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesItemVendorCurrencyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_item_vendor_payment_method_request_builder.go b/financials/companies_item_purchase_invoices_item_vendor_payment_method_request_builder.go index 998f4ce36ac..0064d21fdf1 100644 --- a/financials/companies_item_purchase_invoices_item_vendor_payment_method_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_vendor_payment_method_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorPaymentMethodRequestBuilder) 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 *CompaniesItemPurchaseInvoicesItemVendorPaymentMethodRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesItemVendorPaymentMethodRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesItemVendorPaymentMethodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_item_vendor_payment_term_request_builder.go b/financials/companies_item_purchase_invoices_item_vendor_payment_term_request_builder.go index 288c4214b87..7d89c88b8ad 100644 --- a/financials/companies_item_purchase_invoices_item_vendor_payment_term_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_vendor_payment_term_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorPaymentTermRequestBuilder) 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 *CompaniesItemPurchaseInvoicesItemVendorPaymentTermRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesItemVendorPaymentTermRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesItemVendorPaymentTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_item_vendor_picture_count_request_builder.go b/financials/companies_item_purchase_invoices_item_vendor_picture_count_request_builder.go index 68975a88676..d915edbe383 100644 --- a/financials/companies_item_purchase_invoices_item_vendor_picture_count_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_vendor_picture_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorPictureCountRequestBuilder) ToGe } 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 *CompaniesItemPurchaseInvoicesItemVendorPictureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesItemVendorPictureCountRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesItemVendorPictureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_item_vendor_picture_item_content_request_builder.go b/financials/companies_item_purchase_invoices_item_vendor_picture_item_content_request_builder.go index 5e2412a3ede..0f2274ee2ac 100644 --- a/financials/companies_item_purchase_invoices_item_vendor_picture_item_content_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_vendor_picture_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorPictureItemContentRequestBuilder } 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 *CompaniesItemPurchaseInvoicesItemVendorPictureItemContentRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesItemVendorPictureItemContentRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesItemVendorPictureItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_item_vendor_picture_picture_item_request_builder.go b/financials/companies_item_purchase_invoices_item_vendor_picture_picture_item_request_builder.go index 25f41e7d3d7..a89d93c345a 100644 --- a/financials/companies_item_purchase_invoices_item_vendor_picture_picture_item_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_vendor_picture_picture_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorPicturePictureItemRequestBuilder } 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 *CompaniesItemPurchaseInvoicesItemVendorPicturePictureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesItemVendorPicturePictureItemRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesItemVendorPicturePictureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_item_vendor_picture_request_builder.go b/financials/companies_item_purchase_invoices_item_vendor_picture_request_builder.go index 4868c32fd12..3754907d7ca 100644 --- a/financials/companies_item_purchase_invoices_item_vendor_picture_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_vendor_picture_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorPictureRequestBuilder) ToPostReq } 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 *CompaniesItemPurchaseInvoicesItemVendorPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesItemVendorPictureRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesItemVendorPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_item_vendor_request_builder.go b/financials/companies_item_purchase_invoices_item_vendor_request_builder.go index 4a0f9744c5e..c0a5821f96f 100644 --- a/financials/companies_item_purchase_invoices_item_vendor_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_vendor_request_builder.go @@ -169,3 +169,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorRequestBuilder) ToPatchRequestIn } 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 *CompaniesItemPurchaseInvoicesItemVendorRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesItemVendorRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesItemVendorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_purchase_invoice_item_request_builder.go b/financials/companies_item_purchase_invoices_purchase_invoice_item_request_builder.go index 0dda8b0c6bb..c75b736b6d3 100644 --- a/financials/companies_item_purchase_invoices_purchase_invoice_item_request_builder.go +++ b/financials/companies_item_purchase_invoices_purchase_invoice_item_request_builder.go @@ -134,3 +134,7 @@ func (m *CompaniesItemPurchaseInvoicesPurchaseInvoiceItemRequestBuilder) ToPatch func (m *CompaniesItemPurchaseInvoicesPurchaseInvoiceItemRequestBuilder) VendorEscaped()(*CompaniesItemPurchaseInvoicesItemVendorRequestBuilder) { return NewCompaniesItemPurchaseInvoicesItemVendorRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *CompaniesItemPurchaseInvoicesPurchaseInvoiceItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesPurchaseInvoiceItemRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesPurchaseInvoiceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_purchase_invoices_request_builder.go b/financials/companies_item_purchase_invoices_request_builder.go index ac9578f8d94..1a363c4d37c 100644 --- a/financials/companies_item_purchase_invoices_request_builder.go +++ b/financials/companies_item_purchase_invoices_request_builder.go @@ -113,3 +113,7 @@ func (m *CompaniesItemPurchaseInvoicesRequestBuilder) ToGetRequestInformation(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 *CompaniesItemPurchaseInvoicesRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemPurchaseInvoicesRequestBuilder) { + return NewCompaniesItemPurchaseInvoicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memo_lines_count_request_builder.go b/financials/companies_item_sales_credit_memo_lines_count_request_builder.go index 269788b777c..aabcb8ac9c1 100644 --- a/financials/companies_item_sales_credit_memo_lines_count_request_builder.go +++ b/financials/companies_item_sales_credit_memo_lines_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesCreditMemoLinesCountRequestBuilder) ToGetRequestInfor } 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 *CompaniesItemSalesCreditMemoLinesCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemoLinesCountRequestBuilder) { + return NewCompaniesItemSalesCreditMemoLinesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memo_lines_item_account_request_builder.go b/financials/companies_item_sales_credit_memo_lines_item_account_request_builder.go index 42b23bc92b5..acad7a57673 100644 --- a/financials/companies_item_sales_credit_memo_lines_item_account_request_builder.go +++ b/financials/companies_item_sales_credit_memo_lines_item_account_request_builder.go @@ -75,3 +75,7 @@ func (m *CompaniesItemSalesCreditMemoLinesItemAccountRequestBuilder) ToGetReques } 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 *CompaniesItemSalesCreditMemoLinesItemAccountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemoLinesItemAccountRequestBuilder) { + return NewCompaniesItemSalesCreditMemoLinesItemAccountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memo_lines_item_item_item_category_request_builder.go b/financials/companies_item_sales_credit_memo_lines_item_item_item_category_request_builder.go index e82565fd381..741506e0acd 100644 --- a/financials/companies_item_sales_credit_memo_lines_item_item_item_category_request_builder.go +++ b/financials/companies_item_sales_credit_memo_lines_item_item_item_category_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesCreditMemoLinesItemItemItemCategoryRequestBuilder) To } 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 *CompaniesItemSalesCreditMemoLinesItemItemItemCategoryRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemoLinesItemItemItemCategoryRequestBuilder) { + return NewCompaniesItemSalesCreditMemoLinesItemItemItemCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memo_lines_item_item_picture_count_request_builder.go b/financials/companies_item_sales_credit_memo_lines_item_item_picture_count_request_builder.go index 456ffa5ab57..e2ca26f16d4 100644 --- a/financials/companies_item_sales_credit_memo_lines_item_item_picture_count_request_builder.go +++ b/financials/companies_item_sales_credit_memo_lines_item_item_picture_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesCreditMemoLinesItemItemPictureCountRequestBuilder) To } 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 *CompaniesItemSalesCreditMemoLinesItemItemPictureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemoLinesItemItemPictureCountRequestBuilder) { + return NewCompaniesItemSalesCreditMemoLinesItemItemPictureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memo_lines_item_item_picture_item_content_request_builder.go b/financials/companies_item_sales_credit_memo_lines_item_item_picture_item_content_request_builder.go index b9d109abb86..22f9fc64d64 100644 --- a/financials/companies_item_sales_credit_memo_lines_item_item_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_credit_memo_lines_item_item_picture_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *CompaniesItemSalesCreditMemoLinesItemItemPictureItemContentRequestBuild } 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 *CompaniesItemSalesCreditMemoLinesItemItemPictureItemContentRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemoLinesItemItemPictureItemContentRequestBuilder) { + return NewCompaniesItemSalesCreditMemoLinesItemItemPictureItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memo_lines_item_item_picture_picture_item_request_builder.go b/financials/companies_item_sales_credit_memo_lines_item_item_picture_picture_item_request_builder.go index 1e952133d32..d5e0fcc3971 100644 --- a/financials/companies_item_sales_credit_memo_lines_item_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_credit_memo_lines_item_item_picture_picture_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemSalesCreditMemoLinesItemItemPicturePictureItemRequestBuild } 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 *CompaniesItemSalesCreditMemoLinesItemItemPicturePictureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemoLinesItemItemPicturePictureItemRequestBuilder) { + return NewCompaniesItemSalesCreditMemoLinesItemItemPicturePictureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memo_lines_item_item_picture_request_builder.go b/financials/companies_item_sales_credit_memo_lines_item_item_picture_request_builder.go index a95e5b9d501..877de76c984 100644 --- a/financials/companies_item_sales_credit_memo_lines_item_item_picture_request_builder.go +++ b/financials/companies_item_sales_credit_memo_lines_item_item_picture_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemSalesCreditMemoLinesItemItemPictureRequestBuilder) ToPostR } 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 *CompaniesItemSalesCreditMemoLinesItemItemPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemoLinesItemItemPictureRequestBuilder) { + return NewCompaniesItemSalesCreditMemoLinesItemItemPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memo_lines_item_item_request_builder.go b/financials/companies_item_sales_credit_memo_lines_item_item_request_builder.go index e29b50859fb..302743ba952 100644 --- a/financials/companies_item_sales_credit_memo_lines_item_item_request_builder.go +++ b/financials/companies_item_sales_credit_memo_lines_item_item_request_builder.go @@ -161,3 +161,7 @@ func (m *CompaniesItemSalesCreditMemoLinesItemItemRequestBuilder) ToPatchRequest } 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 *CompaniesItemSalesCreditMemoLinesItemItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemoLinesItemItemRequestBuilder) { + return NewCompaniesItemSalesCreditMemoLinesItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memo_lines_request_builder.go b/financials/companies_item_sales_credit_memo_lines_request_builder.go index 0d1b190f199..e86134691e9 100644 --- a/financials/companies_item_sales_credit_memo_lines_request_builder.go +++ b/financials/companies_item_sales_credit_memo_lines_request_builder.go @@ -39,8 +39,8 @@ type CompaniesItemSalesCreditMemoLinesRequestBuilderGetRequestConfiguration stru // Request query parameters QueryParameters *CompaniesItemSalesCreditMemoLinesRequestBuilderGetQueryParameters } -// BySalesCreditMemoLineIdString provides operations to manage the salesCreditMemoLines property of the microsoft.graph.company entity. -func (m *CompaniesItemSalesCreditMemoLinesRequestBuilder) BySalesCreditMemoLineIdString(salesCreditMemoLineId string)(*CompaniesItemSalesCreditMemoLinesSalesCreditMemoLineItemRequestBuilder) { +// BySalesCreditMemoLineId provides operations to manage the salesCreditMemoLines property of the microsoft.graph.company entity. +func (m *CompaniesItemSalesCreditMemoLinesRequestBuilder) BySalesCreditMemoLineId(salesCreditMemoLineId string)(*CompaniesItemSalesCreditMemoLinesSalesCreditMemoLineItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *CompaniesItemSalesCreditMemoLinesRequestBuilder) 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 *CompaniesItemSalesCreditMemoLinesRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemoLinesRequestBuilder) { + return NewCompaniesItemSalesCreditMemoLinesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memo_lines_sales_credit_memo_line_item_request_builder.go b/financials/companies_item_sales_credit_memo_lines_sales_credit_memo_line_item_request_builder.go index 03722766bae..08603e7ab37 100644 --- a/financials/companies_item_sales_credit_memo_lines_sales_credit_memo_line_item_request_builder.go +++ b/financials/companies_item_sales_credit_memo_lines_sales_credit_memo_line_item_request_builder.go @@ -126,3 +126,7 @@ func (m *CompaniesItemSalesCreditMemoLinesSalesCreditMemoLineItemRequestBuilder) } 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 *CompaniesItemSalesCreditMemoLinesSalesCreditMemoLineItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemoLinesSalesCreditMemoLineItemRequestBuilder) { + return NewCompaniesItemSalesCreditMemoLinesSalesCreditMemoLineItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_count_request_builder.go b/financials/companies_item_sales_credit_memos_count_request_builder.go index 565eca4ae37..5bfd040a811 100644 --- a/financials/companies_item_sales_credit_memos_count_request_builder.go +++ b/financials/companies_item_sales_credit_memos_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesCreditMemosCountRequestBuilder) ToGetRequestInformati } 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 *CompaniesItemSalesCreditMemosCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosCountRequestBuilder) { + return NewCompaniesItemSalesCreditMemosCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_item_currency_request_builder.go b/financials/companies_item_sales_credit_memos_item_currency_request_builder.go index 2d2b8866728..2bb50ebda99 100644 --- a/financials/companies_item_sales_credit_memos_item_currency_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_currency_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesCreditMemosItemCurrencyRequestBuilder) ToPatchRequest } 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 *CompaniesItemSalesCreditMemosItemCurrencyRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosItemCurrencyRequestBuilder) { + return NewCompaniesItemSalesCreditMemosItemCurrencyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_item_customer_currency_request_builder.go b/financials/companies_item_sales_credit_memos_item_customer_currency_request_builder.go index 8701139cc64..46c5bd5a1b1 100644 --- a/financials/companies_item_sales_credit_memos_item_customer_currency_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_customer_currency_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerCurrencyRequestBuilder) ToPatc } 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 *CompaniesItemSalesCreditMemosItemCustomerCurrencyRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosItemCustomerCurrencyRequestBuilder) { + return NewCompaniesItemSalesCreditMemosItemCustomerCurrencyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_item_customer_payment_method_request_builder.go b/financials/companies_item_sales_credit_memos_item_customer_payment_method_request_builder.go index b009f169bb8..3e6bf69bd84 100644 --- a/financials/companies_item_sales_credit_memos_item_customer_payment_method_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_customer_payment_method_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerPaymentMethodRequestBuilder) T } 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 *CompaniesItemSalesCreditMemosItemCustomerPaymentMethodRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosItemCustomerPaymentMethodRequestBuilder) { + return NewCompaniesItemSalesCreditMemosItemCustomerPaymentMethodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_item_customer_payment_term_request_builder.go b/financials/companies_item_sales_credit_memos_item_customer_payment_term_request_builder.go index 53445654fa6..6d85c7903ca 100644 --- a/financials/companies_item_sales_credit_memos_item_customer_payment_term_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_customer_payment_term_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerPaymentTermRequestBuilder) 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 *CompaniesItemSalesCreditMemosItemCustomerPaymentTermRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosItemCustomerPaymentTermRequestBuilder) { + return NewCompaniesItemSalesCreditMemosItemCustomerPaymentTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_item_customer_picture_count_request_builder.go b/financials/companies_item_sales_credit_memos_item_customer_picture_count_request_builder.go index 9d98f1e5aa1..0190bf70ff3 100644 --- a/financials/companies_item_sales_credit_memos_item_customer_picture_count_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_customer_picture_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerPictureCountRequestBuilder) To } 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 *CompaniesItemSalesCreditMemosItemCustomerPictureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosItemCustomerPictureCountRequestBuilder) { + return NewCompaniesItemSalesCreditMemosItemCustomerPictureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_item_customer_picture_item_content_request_builder.go b/financials/companies_item_sales_credit_memos_item_customer_picture_item_content_request_builder.go index 756017b00dd..7ff0ab734e3 100644 --- a/financials/companies_item_sales_credit_memos_item_customer_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_customer_picture_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerPictureItemContentRequestBuild } 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 *CompaniesItemSalesCreditMemosItemCustomerPictureItemContentRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosItemCustomerPictureItemContentRequestBuilder) { + return NewCompaniesItemSalesCreditMemosItemCustomerPictureItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_item_customer_picture_picture_item_request_builder.go b/financials/companies_item_sales_credit_memos_item_customer_picture_picture_item_request_builder.go index 87ff82bb5f6..324df2ff760 100644 --- a/financials/companies_item_sales_credit_memos_item_customer_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_customer_picture_picture_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerPicturePictureItemRequestBuild } 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 *CompaniesItemSalesCreditMemosItemCustomerPicturePictureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosItemCustomerPicturePictureItemRequestBuilder) { + return NewCompaniesItemSalesCreditMemosItemCustomerPicturePictureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_item_customer_picture_request_builder.go b/financials/companies_item_sales_credit_memos_item_customer_picture_request_builder.go index ff10a9f5466..5cb85ec2012 100644 --- a/financials/companies_item_sales_credit_memos_item_customer_picture_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_customer_picture_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerPictureRequestBuilder) ToPostR } 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 *CompaniesItemSalesCreditMemosItemCustomerPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosItemCustomerPictureRequestBuilder) { + return NewCompaniesItemSalesCreditMemosItemCustomerPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_item_customer_request_builder.go b/financials/companies_item_sales_credit_memos_item_customer_request_builder.go index c4a75fdc78a..c5f1b8317fc 100644 --- a/financials/companies_item_sales_credit_memos_item_customer_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_customer_request_builder.go @@ -173,3 +173,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerRequestBuilder) ToPatchRequest } 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 *CompaniesItemSalesCreditMemosItemCustomerRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosItemCustomerRequestBuilder) { + return NewCompaniesItemSalesCreditMemosItemCustomerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_item_customer_shipment_method_request_builder.go b/financials/companies_item_sales_credit_memos_item_customer_shipment_method_request_builder.go index a9d914fc2c3..04e055618c4 100644 --- a/financials/companies_item_sales_credit_memos_item_customer_shipment_method_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_customer_shipment_method_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerShipmentMethodRequestBuilder) } 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 *CompaniesItemSalesCreditMemosItemCustomerShipmentMethodRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosItemCustomerShipmentMethodRequestBuilder) { + return NewCompaniesItemSalesCreditMemosItemCustomerShipmentMethodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_item_payment_term_request_builder.go b/financials/companies_item_sales_credit_memos_item_payment_term_request_builder.go index b840dab2587..cad1968205c 100644 --- a/financials/companies_item_sales_credit_memos_item_payment_term_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_payment_term_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesCreditMemosItemPaymentTermRequestBuilder) ToPatchRequ } 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 *CompaniesItemSalesCreditMemosItemPaymentTermRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosItemPaymentTermRequestBuilder) { + return NewCompaniesItemSalesCreditMemosItemPaymentTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_count_request_builder.go b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_count_request_builder.go index bc7004848a2..376704294f5 100644 --- a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_count_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesCountRequestBuilde } 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 *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesCountRequestBuilder) { + return NewCompaniesItemSalesCreditMemosItemSalesCreditMemoLinesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_account_request_builder.go b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_account_request_builder.go index d17f42e19b1..1b7e2153b62 100644 --- a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_account_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_account_request_builder.go @@ -75,3 +75,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemAccountRequest } 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 *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemAccountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemAccountRequestBuilder) { + return NewCompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemAccountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_item_category_request_builder.go b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_item_category_request_builder.go index 20f89af899a..81b826578c8 100644 --- a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_item_category_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_item_category_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemItemCatego } 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 *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemItemCategoryRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemItemCategoryRequestBuilder) { + return NewCompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemItemCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_count_request_builder.go b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_count_request_builder.go index 6d563ee72ba..a8bd2db61a1 100644 --- a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_count_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPictureCou } 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 *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPictureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPictureCountRequestBuilder) { + return NewCompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPictureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_item_content_request_builder.go b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_item_content_request_builder.go index 835d325fd7f..3fc6cc85b02 100644 --- a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPictureIte } 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 *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPictureItemContentRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPictureItemContentRequestBuilder) { + return NewCompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPictureItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_picture_item_request_builder.go b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_picture_item_request_builder.go index b860b42678e..e0be4ff5b28 100644 --- a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_picture_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPicturePic } 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 *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPicturePictureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPicturePictureItemRequestBuilder) { + return NewCompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPicturePictureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_request_builder.go b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_request_builder.go index 0f9620648e0..e8233e0bacf 100644 --- a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPictureReq } 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 *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPictureRequestBuilder) { + return NewCompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_request_builder.go b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_request_builder.go index e8e711fa857..f59f322065c 100644 --- a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_request_builder.go @@ -161,3 +161,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemRequestBui } 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 *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemRequestBuilder) { + return NewCompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_request_builder.go b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_request_builder.go index 3f24e4ded66..691570625df 100644 --- a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_request_builder.go @@ -39,8 +39,8 @@ type CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesRequestBuilderGetReque // Request query parameters QueryParameters *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesRequestBuilderGetQueryParameters } -// BySalesCreditMemoLineIdString provides operations to manage the salesCreditMemoLines property of the microsoft.graph.salesCreditMemo entity. -func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesRequestBuilder) BySalesCreditMemoLineIdString(salesCreditMemoLineId string)(*CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesSalesCreditMemoLineItemRequestBuilder) { +// BySalesCreditMemoLineId provides operations to manage the salesCreditMemoLines property of the microsoft.graph.salesCreditMemo entity. +func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesRequestBuilder) BySalesCreditMemoLineId(salesCreditMemoLineId string)(*CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesSalesCreditMemoLineItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesRequestBuilder) To } 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 *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesRequestBuilder) { + return NewCompaniesItemSalesCreditMemosItemSalesCreditMemoLinesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_sales_credit_memo_line_item_request_builder.go b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_sales_credit_memo_line_item_request_builder.go index e97c2ee1782..88dce7d9dc8 100644 --- a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_sales_credit_memo_line_item_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_sales_credit_memo_line_item_request_builder.go @@ -126,3 +126,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesSalesCreditMemoLin } 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 *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesSalesCreditMemoLineItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesSalesCreditMemoLineItemRequestBuilder) { + return NewCompaniesItemSalesCreditMemosItemSalesCreditMemoLinesSalesCreditMemoLineItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_request_builder.go b/financials/companies_item_sales_credit_memos_request_builder.go index 884d4d18177..74eb2832036 100644 --- a/financials/companies_item_sales_credit_memos_request_builder.go +++ b/financials/companies_item_sales_credit_memos_request_builder.go @@ -113,3 +113,7 @@ func (m *CompaniesItemSalesCreditMemosRequestBuilder) ToGetRequestInformation(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 *CompaniesItemSalesCreditMemosRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosRequestBuilder) { + return NewCompaniesItemSalesCreditMemosRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_credit_memos_sales_credit_memo_item_request_builder.go b/financials/companies_item_sales_credit_memos_sales_credit_memo_item_request_builder.go index 5ad55ed4e5f..f3da30187cf 100644 --- a/financials/companies_item_sales_credit_memos_sales_credit_memo_item_request_builder.go +++ b/financials/companies_item_sales_credit_memos_sales_credit_memo_item_request_builder.go @@ -134,3 +134,7 @@ func (m *CompaniesItemSalesCreditMemosSalesCreditMemoItemRequestBuilder) ToPatch } 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 *CompaniesItemSalesCreditMemosSalesCreditMemoItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesCreditMemosSalesCreditMemoItemRequestBuilder) { + return NewCompaniesItemSalesCreditMemosSalesCreditMemoItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoice_lines_count_request_builder.go b/financials/companies_item_sales_invoice_lines_count_request_builder.go index 55dea8db745..13615873041 100644 --- a/financials/companies_item_sales_invoice_lines_count_request_builder.go +++ b/financials/companies_item_sales_invoice_lines_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesInvoiceLinesCountRequestBuilder) ToGetRequestInformat } 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 *CompaniesItemSalesInvoiceLinesCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoiceLinesCountRequestBuilder) { + return NewCompaniesItemSalesInvoiceLinesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoice_lines_item_account_request_builder.go b/financials/companies_item_sales_invoice_lines_item_account_request_builder.go index 45e9ee2241c..4174202d9b5 100644 --- a/financials/companies_item_sales_invoice_lines_item_account_request_builder.go +++ b/financials/companies_item_sales_invoice_lines_item_account_request_builder.go @@ -75,3 +75,7 @@ func (m *CompaniesItemSalesInvoiceLinesItemAccountRequestBuilder) ToGetRequestIn } 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 *CompaniesItemSalesInvoiceLinesItemAccountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoiceLinesItemAccountRequestBuilder) { + return NewCompaniesItemSalesInvoiceLinesItemAccountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoice_lines_item_item_item_category_request_builder.go b/financials/companies_item_sales_invoice_lines_item_item_item_category_request_builder.go index 62615f2364e..cf9a0118247 100644 --- a/financials/companies_item_sales_invoice_lines_item_item_item_category_request_builder.go +++ b/financials/companies_item_sales_invoice_lines_item_item_item_category_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesInvoiceLinesItemItemItemCategoryRequestBuilder) 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 *CompaniesItemSalesInvoiceLinesItemItemItemCategoryRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoiceLinesItemItemItemCategoryRequestBuilder) { + return NewCompaniesItemSalesInvoiceLinesItemItemItemCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoice_lines_item_item_picture_count_request_builder.go b/financials/companies_item_sales_invoice_lines_item_item_picture_count_request_builder.go index 83b2c75cc5e..2077d0c2fcb 100644 --- a/financials/companies_item_sales_invoice_lines_item_item_picture_count_request_builder.go +++ b/financials/companies_item_sales_invoice_lines_item_item_picture_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesInvoiceLinesItemItemPictureCountRequestBuilder) ToGet } 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 *CompaniesItemSalesInvoiceLinesItemItemPictureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoiceLinesItemItemPictureCountRequestBuilder) { + return NewCompaniesItemSalesInvoiceLinesItemItemPictureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoice_lines_item_item_picture_item_content_request_builder.go b/financials/companies_item_sales_invoice_lines_item_item_picture_item_content_request_builder.go index 9cd3d73ab81..9b7a842ad90 100644 --- a/financials/companies_item_sales_invoice_lines_item_item_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_invoice_lines_item_item_picture_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *CompaniesItemSalesInvoiceLinesItemItemPictureItemContentRequestBuilder) } 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 *CompaniesItemSalesInvoiceLinesItemItemPictureItemContentRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoiceLinesItemItemPictureItemContentRequestBuilder) { + return NewCompaniesItemSalesInvoiceLinesItemItemPictureItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoice_lines_item_item_picture_picture_item_request_builder.go b/financials/companies_item_sales_invoice_lines_item_item_picture_picture_item_request_builder.go index cb0c613ffde..1bf0536816a 100644 --- a/financials/companies_item_sales_invoice_lines_item_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_invoice_lines_item_item_picture_picture_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemSalesInvoiceLinesItemItemPicturePictureItemRequestBuilder) } 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 *CompaniesItemSalesInvoiceLinesItemItemPicturePictureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoiceLinesItemItemPicturePictureItemRequestBuilder) { + return NewCompaniesItemSalesInvoiceLinesItemItemPicturePictureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoice_lines_item_item_picture_request_builder.go b/financials/companies_item_sales_invoice_lines_item_item_picture_request_builder.go index 7717bc2e034..9638c02be9a 100644 --- a/financials/companies_item_sales_invoice_lines_item_item_picture_request_builder.go +++ b/financials/companies_item_sales_invoice_lines_item_item_picture_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemSalesInvoiceLinesItemItemPictureRequestBuilder) ToPostRequ } 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 *CompaniesItemSalesInvoiceLinesItemItemPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoiceLinesItemItemPictureRequestBuilder) { + return NewCompaniesItemSalesInvoiceLinesItemItemPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoice_lines_item_item_request_builder.go b/financials/companies_item_sales_invoice_lines_item_item_request_builder.go index 4b22a957cf5..358b2fbb665 100644 --- a/financials/companies_item_sales_invoice_lines_item_item_request_builder.go +++ b/financials/companies_item_sales_invoice_lines_item_item_request_builder.go @@ -161,3 +161,7 @@ func (m *CompaniesItemSalesInvoiceLinesItemItemRequestBuilder) ToPatchRequestInf } 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 *CompaniesItemSalesInvoiceLinesItemItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoiceLinesItemItemRequestBuilder) { + return NewCompaniesItemSalesInvoiceLinesItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoice_lines_request_builder.go b/financials/companies_item_sales_invoice_lines_request_builder.go index f31043098e9..7c1ab30166d 100644 --- a/financials/companies_item_sales_invoice_lines_request_builder.go +++ b/financials/companies_item_sales_invoice_lines_request_builder.go @@ -39,8 +39,8 @@ type CompaniesItemSalesInvoiceLinesRequestBuilderGetRequestConfiguration struct // Request query parameters QueryParameters *CompaniesItemSalesInvoiceLinesRequestBuilderGetQueryParameters } -// BySalesInvoiceLineIdString provides operations to manage the salesInvoiceLines property of the microsoft.graph.company entity. -func (m *CompaniesItemSalesInvoiceLinesRequestBuilder) BySalesInvoiceLineIdString(salesInvoiceLineId string)(*CompaniesItemSalesInvoiceLinesSalesInvoiceLineItemRequestBuilder) { +// BySalesInvoiceLineId provides operations to manage the salesInvoiceLines property of the microsoft.graph.company entity. +func (m *CompaniesItemSalesInvoiceLinesRequestBuilder) BySalesInvoiceLineId(salesInvoiceLineId string)(*CompaniesItemSalesInvoiceLinesSalesInvoiceLineItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *CompaniesItemSalesInvoiceLinesRequestBuilder) ToGetRequestInformation(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 *CompaniesItemSalesInvoiceLinesRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoiceLinesRequestBuilder) { + return NewCompaniesItemSalesInvoiceLinesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoice_lines_sales_invoice_line_item_request_builder.go b/financials/companies_item_sales_invoice_lines_sales_invoice_line_item_request_builder.go index 280ea3605c2..05b7bd7a3a2 100644 --- a/financials/companies_item_sales_invoice_lines_sales_invoice_line_item_request_builder.go +++ b/financials/companies_item_sales_invoice_lines_sales_invoice_line_item_request_builder.go @@ -126,3 +126,7 @@ func (m *CompaniesItemSalesInvoiceLinesSalesInvoiceLineItemRequestBuilder) 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 *CompaniesItemSalesInvoiceLinesSalesInvoiceLineItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoiceLinesSalesInvoiceLineItemRequestBuilder) { + return NewCompaniesItemSalesInvoiceLinesSalesInvoiceLineItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_count_request_builder.go b/financials/companies_item_sales_invoices_count_request_builder.go index bd992949221..990f7c640ee 100644 --- a/financials/companies_item_sales_invoices_count_request_builder.go +++ b/financials/companies_item_sales_invoices_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesInvoicesCountRequestBuilder) 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 *CompaniesItemSalesInvoicesCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesCountRequestBuilder) { + return NewCompaniesItemSalesInvoicesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_cancel_and_send_request_builder.go b/financials/companies_item_sales_invoices_item_cancel_and_send_request_builder.go index b78753c5fc9..37b8d23f844 100644 --- a/financials/companies_item_sales_invoices_item_cancel_and_send_request_builder.go +++ b/financials/companies_item_sales_invoices_item_cancel_and_send_request_builder.go @@ -58,3 +58,7 @@ func (m *CompaniesItemSalesInvoicesItemCancelAndSendRequestBuilder) ToPostReques } 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 *CompaniesItemSalesInvoicesItemCancelAndSendRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemCancelAndSendRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemCancelAndSendRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_cancel_request_builder.go b/financials/companies_item_sales_invoices_item_cancel_request_builder.go index 60bf95abd0e..6b780c1d819 100644 --- a/financials/companies_item_sales_invoices_item_cancel_request_builder.go +++ b/financials/companies_item_sales_invoices_item_cancel_request_builder.go @@ -58,3 +58,7 @@ func (m *CompaniesItemSalesInvoicesItemCancelRequestBuilder) ToPostRequestInform } 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 *CompaniesItemSalesInvoicesItemCancelRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemCancelRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_currency_request_builder.go b/financials/companies_item_sales_invoices_item_currency_request_builder.go index c2bc86a2b2d..fda0ee2af54 100644 --- a/financials/companies_item_sales_invoices_item_currency_request_builder.go +++ b/financials/companies_item_sales_invoices_item_currency_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesInvoicesItemCurrencyRequestBuilder) ToPatchRequestInf } 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 *CompaniesItemSalesInvoicesItemCurrencyRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemCurrencyRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemCurrencyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_customer_currency_request_builder.go b/financials/companies_item_sales_invoices_item_customer_currency_request_builder.go index 6a755b3281e..e76d3e2aa65 100644 --- a/financials/companies_item_sales_invoices_item_customer_currency_request_builder.go +++ b/financials/companies_item_sales_invoices_item_customer_currency_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerCurrencyRequestBuilder) ToPatchRe } 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 *CompaniesItemSalesInvoicesItemCustomerCurrencyRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemCustomerCurrencyRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemCustomerCurrencyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_customer_payment_method_request_builder.go b/financials/companies_item_sales_invoices_item_customer_payment_method_request_builder.go index 04506427da8..22ac853c830 100644 --- a/financials/companies_item_sales_invoices_item_customer_payment_method_request_builder.go +++ b/financials/companies_item_sales_invoices_item_customer_payment_method_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerPaymentMethodRequestBuilder) ToPa } 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 *CompaniesItemSalesInvoicesItemCustomerPaymentMethodRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemCustomerPaymentMethodRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemCustomerPaymentMethodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_customer_payment_term_request_builder.go b/financials/companies_item_sales_invoices_item_customer_payment_term_request_builder.go index 47b03ff3e60..815d7c807d6 100644 --- a/financials/companies_item_sales_invoices_item_customer_payment_term_request_builder.go +++ b/financials/companies_item_sales_invoices_item_customer_payment_term_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerPaymentTermRequestBuilder) ToPatc } 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 *CompaniesItemSalesInvoicesItemCustomerPaymentTermRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemCustomerPaymentTermRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemCustomerPaymentTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_customer_picture_count_request_builder.go b/financials/companies_item_sales_invoices_item_customer_picture_count_request_builder.go index 689a08786aa..e92198729be 100644 --- a/financials/companies_item_sales_invoices_item_customer_picture_count_request_builder.go +++ b/financials/companies_item_sales_invoices_item_customer_picture_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerPictureCountRequestBuilder) ToGet } 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 *CompaniesItemSalesInvoicesItemCustomerPictureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemCustomerPictureCountRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemCustomerPictureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_customer_picture_item_content_request_builder.go b/financials/companies_item_sales_invoices_item_customer_picture_item_content_request_builder.go index 391b3e94bd9..0dbd9ff94c6 100644 --- a/financials/companies_item_sales_invoices_item_customer_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_invoices_item_customer_picture_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerPictureItemContentRequestBuilder) } 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 *CompaniesItemSalesInvoicesItemCustomerPictureItemContentRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemCustomerPictureItemContentRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemCustomerPictureItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_customer_picture_picture_item_request_builder.go b/financials/companies_item_sales_invoices_item_customer_picture_picture_item_request_builder.go index d6a077bb7bd..c2dd06517fa 100644 --- a/financials/companies_item_sales_invoices_item_customer_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_invoices_item_customer_picture_picture_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerPicturePictureItemRequestBuilder) } 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 *CompaniesItemSalesInvoicesItemCustomerPicturePictureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemCustomerPicturePictureItemRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemCustomerPicturePictureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_customer_picture_request_builder.go b/financials/companies_item_sales_invoices_item_customer_picture_request_builder.go index 50643eaf65d..3323ede8535 100644 --- a/financials/companies_item_sales_invoices_item_customer_picture_request_builder.go +++ b/financials/companies_item_sales_invoices_item_customer_picture_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerPictureRequestBuilder) ToPostRequ } 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 *CompaniesItemSalesInvoicesItemCustomerPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemCustomerPictureRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemCustomerPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_customer_request_builder.go b/financials/companies_item_sales_invoices_item_customer_request_builder.go index cc83e0951ce..93ee80cc5dd 100644 --- a/financials/companies_item_sales_invoices_item_customer_request_builder.go +++ b/financials/companies_item_sales_invoices_item_customer_request_builder.go @@ -173,3 +173,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerRequestBuilder) ToPatchRequestInf } 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 *CompaniesItemSalesInvoicesItemCustomerRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemCustomerRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemCustomerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_customer_shipment_method_request_builder.go b/financials/companies_item_sales_invoices_item_customer_shipment_method_request_builder.go index 44e8bd52cea..a808a3fc96f 100644 --- a/financials/companies_item_sales_invoices_item_customer_shipment_method_request_builder.go +++ b/financials/companies_item_sales_invoices_item_customer_shipment_method_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerShipmentMethodRequestBuilder) 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 *CompaniesItemSalesInvoicesItemCustomerShipmentMethodRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemCustomerShipmentMethodRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemCustomerShipmentMethodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_payment_term_request_builder.go b/financials/companies_item_sales_invoices_item_payment_term_request_builder.go index 7dccdbad824..d4af7ae1fbe 100644 --- a/financials/companies_item_sales_invoices_item_payment_term_request_builder.go +++ b/financials/companies_item_sales_invoices_item_payment_term_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesInvoicesItemPaymentTermRequestBuilder) ToPatchRequest } 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 *CompaniesItemSalesInvoicesItemPaymentTermRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemPaymentTermRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemPaymentTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_post_and_send_request_builder.go b/financials/companies_item_sales_invoices_item_post_and_send_request_builder.go index ffd7af228e9..3c30995b328 100644 --- a/financials/companies_item_sales_invoices_item_post_and_send_request_builder.go +++ b/financials/companies_item_sales_invoices_item_post_and_send_request_builder.go @@ -58,3 +58,7 @@ func (m *CompaniesItemSalesInvoicesItemPostAndSendRequestBuilder) ToPostRequestI } 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 *CompaniesItemSalesInvoicesItemPostAndSendRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemPostAndSendRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemPostAndSendRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_post_request_builder.go b/financials/companies_item_sales_invoices_item_post_request_builder.go index 3402a92943d..c82583fdad5 100644 --- a/financials/companies_item_sales_invoices_item_post_request_builder.go +++ b/financials/companies_item_sales_invoices_item_post_request_builder.go @@ -58,3 +58,7 @@ func (m *CompaniesItemSalesInvoicesItemPostRequestBuilder) ToPostRequestInformat } 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 *CompaniesItemSalesInvoicesItemPostRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemPostRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemPostRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_sales_invoice_lines_count_request_builder.go b/financials/companies_item_sales_invoices_item_sales_invoice_lines_count_request_builder.go index 8516fcc6d02..9cecadefb1d 100644 --- a/financials/companies_item_sales_invoices_item_sales_invoice_lines_count_request_builder.go +++ b/financials/companies_item_sales_invoices_item_sales_invoice_lines_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesCountRequestBuilder) ToG } 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 *CompaniesItemSalesInvoicesItemSalesInvoiceLinesCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemSalesInvoiceLinesCountRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemSalesInvoiceLinesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_account_request_builder.go b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_account_request_builder.go index 0e462c334b1..ed8faab29a3 100644 --- a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_account_request_builder.go +++ b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_account_request_builder.go @@ -75,3 +75,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemAccountRequestBuilde } 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 *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemAccountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemAccountRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemSalesInvoiceLinesItemAccountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_item_category_request_builder.go b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_item_category_request_builder.go index a02ea3367fb..bec84f023f4 100644 --- a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_item_category_request_builder.go +++ b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_item_category_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemItemCategoryRequ } 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 *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemItemCategoryRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemItemCategoryRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemItemCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_count_request_builder.go b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_count_request_builder.go index 630a5fc74c3..fe29896fb3e 100644 --- a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_count_request_builder.go +++ b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPictureCountRequ } 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 *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPictureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPictureCountRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPictureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_item_content_request_builder.go b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_item_content_request_builder.go index eee6002cf63..a4b7ab94bc7 100644 --- a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPictureItemConte } 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 *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPictureItemContentRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPictureItemContentRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPictureItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_picture_item_request_builder.go b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_picture_item_request_builder.go index 5097f16894e..25fb8f8c2e5 100644 --- a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_picture_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPicturePictureIt } 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 *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPicturePictureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPicturePictureItemRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPicturePictureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_request_builder.go b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_request_builder.go index 6346127f31b..e7153f0de50 100644 --- a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_request_builder.go +++ b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPictureRequestBu } 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 *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPictureRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_request_builder.go b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_request_builder.go index a816ecf0472..3c62bda990a 100644 --- a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_request_builder.go +++ b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_request_builder.go @@ -161,3 +161,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemRequestBuilder) } 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 *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_sales_invoice_lines_request_builder.go b/financials/companies_item_sales_invoices_item_sales_invoice_lines_request_builder.go index 573076de07b..346bf8b67e2 100644 --- a/financials/companies_item_sales_invoices_item_sales_invoice_lines_request_builder.go +++ b/financials/companies_item_sales_invoices_item_sales_invoice_lines_request_builder.go @@ -39,8 +39,8 @@ type CompaniesItemSalesInvoicesItemSalesInvoiceLinesRequestBuilderGetRequestConf // Request query parameters QueryParameters *CompaniesItemSalesInvoicesItemSalesInvoiceLinesRequestBuilderGetQueryParameters } -// BySalesInvoiceLineIdString provides operations to manage the salesInvoiceLines property of the microsoft.graph.salesInvoice entity. -func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesRequestBuilder) BySalesInvoiceLineIdString(salesInvoiceLineId string)(*CompaniesItemSalesInvoicesItemSalesInvoiceLinesSalesInvoiceLineItemRequestBuilder) { +// BySalesInvoiceLineId provides operations to manage the salesInvoiceLines property of the microsoft.graph.salesInvoice entity. +func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesRequestBuilder) BySalesInvoiceLineId(salesInvoiceLineId string)(*CompaniesItemSalesInvoicesItemSalesInvoiceLinesSalesInvoiceLineItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesRequestBuilder) ToGetReq } 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 *CompaniesItemSalesInvoicesItemSalesInvoiceLinesRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemSalesInvoiceLinesRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemSalesInvoiceLinesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_sales_invoice_lines_sales_invoice_line_item_request_builder.go b/financials/companies_item_sales_invoices_item_sales_invoice_lines_sales_invoice_line_item_request_builder.go index cd0bb5bdbbb..39cf8815878 100644 --- a/financials/companies_item_sales_invoices_item_sales_invoice_lines_sales_invoice_line_item_request_builder.go +++ b/financials/companies_item_sales_invoices_item_sales_invoice_lines_sales_invoice_line_item_request_builder.go @@ -126,3 +126,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesSalesInvoiceLineItemRequ } 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 *CompaniesItemSalesInvoicesItemSalesInvoiceLinesSalesInvoiceLineItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemSalesInvoiceLinesSalesInvoiceLineItemRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemSalesInvoiceLinesSalesInvoiceLineItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_send_request_builder.go b/financials/companies_item_sales_invoices_item_send_request_builder.go index 5dc303cb03d..3995e422990 100644 --- a/financials/companies_item_sales_invoices_item_send_request_builder.go +++ b/financials/companies_item_sales_invoices_item_send_request_builder.go @@ -58,3 +58,7 @@ func (m *CompaniesItemSalesInvoicesItemSendRequestBuilder) ToPostRequestInformat } 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 *CompaniesItemSalesInvoicesItemSendRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemSendRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemSendRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_item_shipment_method_request_builder.go b/financials/companies_item_sales_invoices_item_shipment_method_request_builder.go index 359eff8fbd7..248aaefff5e 100644 --- a/financials/companies_item_sales_invoices_item_shipment_method_request_builder.go +++ b/financials/companies_item_sales_invoices_item_shipment_method_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesInvoicesItemShipmentMethodRequestBuilder) ToPatchRequ } 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 *CompaniesItemSalesInvoicesItemShipmentMethodRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesItemShipmentMethodRequestBuilder) { + return NewCompaniesItemSalesInvoicesItemShipmentMethodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_request_builder.go b/financials/companies_item_sales_invoices_request_builder.go index 7061a193371..15e9afbb99b 100644 --- a/financials/companies_item_sales_invoices_request_builder.go +++ b/financials/companies_item_sales_invoices_request_builder.go @@ -113,3 +113,7 @@ func (m *CompaniesItemSalesInvoicesRequestBuilder) ToGetRequestInformation(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 *CompaniesItemSalesInvoicesRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesRequestBuilder) { + return NewCompaniesItemSalesInvoicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_invoices_sales_invoice_item_request_builder.go b/financials/companies_item_sales_invoices_sales_invoice_item_request_builder.go index 8788390de16..3342174a85c 100644 --- a/financials/companies_item_sales_invoices_sales_invoice_item_request_builder.go +++ b/financials/companies_item_sales_invoices_sales_invoice_item_request_builder.go @@ -158,3 +158,7 @@ func (m *CompaniesItemSalesInvoicesSalesInvoiceItemRequestBuilder) ToPatchReques } 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 *CompaniesItemSalesInvoicesSalesInvoiceItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesInvoicesSalesInvoiceItemRequestBuilder) { + return NewCompaniesItemSalesInvoicesSalesInvoiceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_order_lines_count_request_builder.go b/financials/companies_item_sales_order_lines_count_request_builder.go index 7a0e00185f7..af2632ee8af 100644 --- a/financials/companies_item_sales_order_lines_count_request_builder.go +++ b/financials/companies_item_sales_order_lines_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesOrderLinesCountRequestBuilder) 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 *CompaniesItemSalesOrderLinesCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrderLinesCountRequestBuilder) { + return NewCompaniesItemSalesOrderLinesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_order_lines_item_account_request_builder.go b/financials/companies_item_sales_order_lines_item_account_request_builder.go index 771a814fdaf..4ae67ea35b5 100644 --- a/financials/companies_item_sales_order_lines_item_account_request_builder.go +++ b/financials/companies_item_sales_order_lines_item_account_request_builder.go @@ -75,3 +75,7 @@ func (m *CompaniesItemSalesOrderLinesItemAccountRequestBuilder) ToGetRequestInfo } 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 *CompaniesItemSalesOrderLinesItemAccountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrderLinesItemAccountRequestBuilder) { + return NewCompaniesItemSalesOrderLinesItemAccountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_order_lines_item_item_item_category_request_builder.go b/financials/companies_item_sales_order_lines_item_item_item_category_request_builder.go index c180fbdf934..6ad9f568669 100644 --- a/financials/companies_item_sales_order_lines_item_item_item_category_request_builder.go +++ b/financials/companies_item_sales_order_lines_item_item_item_category_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesOrderLinesItemItemItemCategoryRequestBuilder) ToPatch } 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 *CompaniesItemSalesOrderLinesItemItemItemCategoryRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrderLinesItemItemItemCategoryRequestBuilder) { + return NewCompaniesItemSalesOrderLinesItemItemItemCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_order_lines_item_item_picture_count_request_builder.go b/financials/companies_item_sales_order_lines_item_item_picture_count_request_builder.go index 0f26d3f9d26..b0e9a46b297 100644 --- a/financials/companies_item_sales_order_lines_item_item_picture_count_request_builder.go +++ b/financials/companies_item_sales_order_lines_item_item_picture_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesOrderLinesItemItemPictureCountRequestBuilder) ToGetRe } 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 *CompaniesItemSalesOrderLinesItemItemPictureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrderLinesItemItemPictureCountRequestBuilder) { + return NewCompaniesItemSalesOrderLinesItemItemPictureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_order_lines_item_item_picture_item_content_request_builder.go b/financials/companies_item_sales_order_lines_item_item_picture_item_content_request_builder.go index c46d0bab13b..6fef706e9a5 100644 --- a/financials/companies_item_sales_order_lines_item_item_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_order_lines_item_item_picture_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *CompaniesItemSalesOrderLinesItemItemPictureItemContentRequestBuilder) T } 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 *CompaniesItemSalesOrderLinesItemItemPictureItemContentRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrderLinesItemItemPictureItemContentRequestBuilder) { + return NewCompaniesItemSalesOrderLinesItemItemPictureItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_order_lines_item_item_picture_picture_item_request_builder.go b/financials/companies_item_sales_order_lines_item_item_picture_picture_item_request_builder.go index 61b42aad189..ce50bbf970e 100644 --- a/financials/companies_item_sales_order_lines_item_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_order_lines_item_item_picture_picture_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemSalesOrderLinesItemItemPicturePictureItemRequestBuilder) T } 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 *CompaniesItemSalesOrderLinesItemItemPicturePictureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrderLinesItemItemPicturePictureItemRequestBuilder) { + return NewCompaniesItemSalesOrderLinesItemItemPicturePictureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_order_lines_item_item_picture_request_builder.go b/financials/companies_item_sales_order_lines_item_item_picture_request_builder.go index d9d4f92a473..ec40aaee514 100644 --- a/financials/companies_item_sales_order_lines_item_item_picture_request_builder.go +++ b/financials/companies_item_sales_order_lines_item_item_picture_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemSalesOrderLinesItemItemPictureRequestBuilder) ToPostReques } 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 *CompaniesItemSalesOrderLinesItemItemPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrderLinesItemItemPictureRequestBuilder) { + return NewCompaniesItemSalesOrderLinesItemItemPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_order_lines_item_item_request_builder.go b/financials/companies_item_sales_order_lines_item_item_request_builder.go index cc3ea0773b3..27aea1606cb 100644 --- a/financials/companies_item_sales_order_lines_item_item_request_builder.go +++ b/financials/companies_item_sales_order_lines_item_item_request_builder.go @@ -161,3 +161,7 @@ func (m *CompaniesItemSalesOrderLinesItemItemRequestBuilder) ToPatchRequestInfor } 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 *CompaniesItemSalesOrderLinesItemItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrderLinesItemItemRequestBuilder) { + return NewCompaniesItemSalesOrderLinesItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_order_lines_request_builder.go b/financials/companies_item_sales_order_lines_request_builder.go index 9d6b91713f3..7d49bfa7d20 100644 --- a/financials/companies_item_sales_order_lines_request_builder.go +++ b/financials/companies_item_sales_order_lines_request_builder.go @@ -39,8 +39,8 @@ type CompaniesItemSalesOrderLinesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *CompaniesItemSalesOrderLinesRequestBuilderGetQueryParameters } -// BySalesOrderLineIdString provides operations to manage the salesOrderLines property of the microsoft.graph.company entity. -func (m *CompaniesItemSalesOrderLinesRequestBuilder) BySalesOrderLineIdString(salesOrderLineId string)(*CompaniesItemSalesOrderLinesSalesOrderLineItemRequestBuilder) { +// BySalesOrderLineId provides operations to manage the salesOrderLines property of the microsoft.graph.company entity. +func (m *CompaniesItemSalesOrderLinesRequestBuilder) BySalesOrderLineId(salesOrderLineId string)(*CompaniesItemSalesOrderLinesSalesOrderLineItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *CompaniesItemSalesOrderLinesRequestBuilder) ToGetRequestInformation(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 *CompaniesItemSalesOrderLinesRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrderLinesRequestBuilder) { + return NewCompaniesItemSalesOrderLinesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_order_lines_sales_order_line_item_request_builder.go b/financials/companies_item_sales_order_lines_sales_order_line_item_request_builder.go index 886fc1c0f6d..b887425d4d2 100644 --- a/financials/companies_item_sales_order_lines_sales_order_line_item_request_builder.go +++ b/financials/companies_item_sales_order_lines_sales_order_line_item_request_builder.go @@ -126,3 +126,7 @@ func (m *CompaniesItemSalesOrderLinesSalesOrderLineItemRequestBuilder) ToPatchRe } 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 *CompaniesItemSalesOrderLinesSalesOrderLineItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrderLinesSalesOrderLineItemRequestBuilder) { + return NewCompaniesItemSalesOrderLinesSalesOrderLineItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_count_request_builder.go b/financials/companies_item_sales_orders_count_request_builder.go index 3c7de9e3913..09623b84052 100644 --- a/financials/companies_item_sales_orders_count_request_builder.go +++ b/financials/companies_item_sales_orders_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesOrdersCountRequestBuilder) ToGetRequestInformation(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 *CompaniesItemSalesOrdersCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersCountRequestBuilder) { + return NewCompaniesItemSalesOrdersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_item_currency_request_builder.go b/financials/companies_item_sales_orders_item_currency_request_builder.go index 525a2b86c08..60c8b6480f0 100644 --- a/financials/companies_item_sales_orders_item_currency_request_builder.go +++ b/financials/companies_item_sales_orders_item_currency_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesOrdersItemCurrencyRequestBuilder) ToPatchRequestInfor } 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 *CompaniesItemSalesOrdersItemCurrencyRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersItemCurrencyRequestBuilder) { + return NewCompaniesItemSalesOrdersItemCurrencyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_item_customer_currency_request_builder.go b/financials/companies_item_sales_orders_item_customer_currency_request_builder.go index 00bb7396e80..f839afb2b12 100644 --- a/financials/companies_item_sales_orders_item_customer_currency_request_builder.go +++ b/financials/companies_item_sales_orders_item_customer_currency_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerCurrencyRequestBuilder) ToPatchRequ } 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 *CompaniesItemSalesOrdersItemCustomerCurrencyRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersItemCustomerCurrencyRequestBuilder) { + return NewCompaniesItemSalesOrdersItemCustomerCurrencyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_item_customer_payment_method_request_builder.go b/financials/companies_item_sales_orders_item_customer_payment_method_request_builder.go index 5e412bb00fd..01a4369d07e 100644 --- a/financials/companies_item_sales_orders_item_customer_payment_method_request_builder.go +++ b/financials/companies_item_sales_orders_item_customer_payment_method_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerPaymentMethodRequestBuilder) ToPatc } 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 *CompaniesItemSalesOrdersItemCustomerPaymentMethodRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersItemCustomerPaymentMethodRequestBuilder) { + return NewCompaniesItemSalesOrdersItemCustomerPaymentMethodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_item_customer_payment_term_request_builder.go b/financials/companies_item_sales_orders_item_customer_payment_term_request_builder.go index c50a1518dbc..bd040e2e1f8 100644 --- a/financials/companies_item_sales_orders_item_customer_payment_term_request_builder.go +++ b/financials/companies_item_sales_orders_item_customer_payment_term_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerPaymentTermRequestBuilder) ToPatchR } 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 *CompaniesItemSalesOrdersItemCustomerPaymentTermRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersItemCustomerPaymentTermRequestBuilder) { + return NewCompaniesItemSalesOrdersItemCustomerPaymentTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_item_customer_picture_count_request_builder.go b/financials/companies_item_sales_orders_item_customer_picture_count_request_builder.go index 3497ada5072..0bdb3ed329f 100644 --- a/financials/companies_item_sales_orders_item_customer_picture_count_request_builder.go +++ b/financials/companies_item_sales_orders_item_customer_picture_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerPictureCountRequestBuilder) ToGetRe } 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 *CompaniesItemSalesOrdersItemCustomerPictureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersItemCustomerPictureCountRequestBuilder) { + return NewCompaniesItemSalesOrdersItemCustomerPictureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_item_customer_picture_item_content_request_builder.go b/financials/companies_item_sales_orders_item_customer_picture_item_content_request_builder.go index 9f47fe9461e..cc63e744cc6 100644 --- a/financials/companies_item_sales_orders_item_customer_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_orders_item_customer_picture_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerPictureItemContentRequestBuilder) T } 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 *CompaniesItemSalesOrdersItemCustomerPictureItemContentRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersItemCustomerPictureItemContentRequestBuilder) { + return NewCompaniesItemSalesOrdersItemCustomerPictureItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_item_customer_picture_picture_item_request_builder.go b/financials/companies_item_sales_orders_item_customer_picture_picture_item_request_builder.go index 6328037003f..cce22ae5cf7 100644 --- a/financials/companies_item_sales_orders_item_customer_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_orders_item_customer_picture_picture_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerPicturePictureItemRequestBuilder) T } 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 *CompaniesItemSalesOrdersItemCustomerPicturePictureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersItemCustomerPicturePictureItemRequestBuilder) { + return NewCompaniesItemSalesOrdersItemCustomerPicturePictureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_item_customer_picture_request_builder.go b/financials/companies_item_sales_orders_item_customer_picture_request_builder.go index 4fdf21dd0c7..539667f51cf 100644 --- a/financials/companies_item_sales_orders_item_customer_picture_request_builder.go +++ b/financials/companies_item_sales_orders_item_customer_picture_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerPictureRequestBuilder) ToPostReques } 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 *CompaniesItemSalesOrdersItemCustomerPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersItemCustomerPictureRequestBuilder) { + return NewCompaniesItemSalesOrdersItemCustomerPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_item_customer_request_builder.go b/financials/companies_item_sales_orders_item_customer_request_builder.go index 4a851ca0c71..d6e8c57054d 100644 --- a/financials/companies_item_sales_orders_item_customer_request_builder.go +++ b/financials/companies_item_sales_orders_item_customer_request_builder.go @@ -173,3 +173,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerRequestBuilder) ToPatchRequestInfor } 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 *CompaniesItemSalesOrdersItemCustomerRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersItemCustomerRequestBuilder) { + return NewCompaniesItemSalesOrdersItemCustomerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_item_customer_shipment_method_request_builder.go b/financials/companies_item_sales_orders_item_customer_shipment_method_request_builder.go index 5883f6a4481..ee8ab2e05eb 100644 --- a/financials/companies_item_sales_orders_item_customer_shipment_method_request_builder.go +++ b/financials/companies_item_sales_orders_item_customer_shipment_method_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerShipmentMethodRequestBuilder) 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 *CompaniesItemSalesOrdersItemCustomerShipmentMethodRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersItemCustomerShipmentMethodRequestBuilder) { + return NewCompaniesItemSalesOrdersItemCustomerShipmentMethodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_item_payment_term_request_builder.go b/financials/companies_item_sales_orders_item_payment_term_request_builder.go index b3a157dcd48..55dd23734a4 100644 --- a/financials/companies_item_sales_orders_item_payment_term_request_builder.go +++ b/financials/companies_item_sales_orders_item_payment_term_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesOrdersItemPaymentTermRequestBuilder) ToPatchRequestIn } 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 *CompaniesItemSalesOrdersItemPaymentTermRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersItemPaymentTermRequestBuilder) { + return NewCompaniesItemSalesOrdersItemPaymentTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_item_sales_order_lines_count_request_builder.go b/financials/companies_item_sales_orders_item_sales_order_lines_count_request_builder.go index 3a6dc792c2b..f2d54c4517c 100644 --- a/financials/companies_item_sales_orders_item_sales_order_lines_count_request_builder.go +++ b/financials/companies_item_sales_orders_item_sales_order_lines_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesCountRequestBuilder) ToGetRe } 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 *CompaniesItemSalesOrdersItemSalesOrderLinesCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersItemSalesOrderLinesCountRequestBuilder) { + return NewCompaniesItemSalesOrdersItemSalesOrderLinesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_item_sales_order_lines_item_account_request_builder.go b/financials/companies_item_sales_orders_item_sales_order_lines_item_account_request_builder.go index 77e1ff778d2..adcdd756c73 100644 --- a/financials/companies_item_sales_orders_item_sales_order_lines_item_account_request_builder.go +++ b/financials/companies_item_sales_orders_item_sales_order_lines_item_account_request_builder.go @@ -75,3 +75,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesItemAccountRequestBuilder) T } 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 *CompaniesItemSalesOrdersItemSalesOrderLinesItemAccountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersItemSalesOrderLinesItemAccountRequestBuilder) { + return NewCompaniesItemSalesOrdersItemSalesOrderLinesItemAccountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_item_sales_order_lines_item_item_item_category_request_builder.go b/financials/companies_item_sales_orders_item_sales_order_lines_item_item_item_category_request_builder.go index c74cb0703d7..b6fcd58060e 100644 --- a/financials/companies_item_sales_orders_item_sales_order_lines_item_item_item_category_request_builder.go +++ b/financials/companies_item_sales_orders_item_sales_order_lines_item_item_item_category_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemItemCategoryRequestB } 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 *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemItemCategoryRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersItemSalesOrderLinesItemItemItemCategoryRequestBuilder) { + return NewCompaniesItemSalesOrdersItemSalesOrderLinesItemItemItemCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_count_request_builder.go b/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_count_request_builder.go index e555d947169..ac16c2b0c96 100644 --- a/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_count_request_builder.go +++ b/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemPictureCountRequestB } 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 *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemPictureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersItemSalesOrderLinesItemItemPictureCountRequestBuilder) { + return NewCompaniesItemSalesOrdersItemSalesOrderLinesItemItemPictureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_item_content_request_builder.go b/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_item_content_request_builder.go index ee6e1b07327..275b4acf796 100644 --- a/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemPictureItemContentRe } 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 *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemPictureItemContentRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersItemSalesOrderLinesItemItemPictureItemContentRequestBuilder) { + return NewCompaniesItemSalesOrdersItemSalesOrderLinesItemItemPictureItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_picture_item_request_builder.go b/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_picture_item_request_builder.go index d56d86b67eb..396e314d320 100644 --- a/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_picture_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemPicturePictureItemRe } 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 *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemPicturePictureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersItemSalesOrderLinesItemItemPicturePictureItemRequestBuilder) { + return NewCompaniesItemSalesOrdersItemSalesOrderLinesItemItemPicturePictureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_request_builder.go b/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_request_builder.go index 533b894f646..396bad6cdf2 100644 --- a/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_request_builder.go +++ b/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemPictureRequestBuilde } 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 *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersItemSalesOrderLinesItemItemPictureRequestBuilder) { + return NewCompaniesItemSalesOrdersItemSalesOrderLinesItemItemPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_item_sales_order_lines_item_item_request_builder.go b/financials/companies_item_sales_orders_item_sales_order_lines_item_item_request_builder.go index 179c6933222..82501aeab41 100644 --- a/financials/companies_item_sales_orders_item_sales_order_lines_item_item_request_builder.go +++ b/financials/companies_item_sales_orders_item_sales_order_lines_item_item_request_builder.go @@ -161,3 +161,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemRequestBuilder) ToPa } 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 *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersItemSalesOrderLinesItemItemRequestBuilder) { + return NewCompaniesItemSalesOrdersItemSalesOrderLinesItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_item_sales_order_lines_request_builder.go b/financials/companies_item_sales_orders_item_sales_order_lines_request_builder.go index d533127798b..803323687b3 100644 --- a/financials/companies_item_sales_orders_item_sales_order_lines_request_builder.go +++ b/financials/companies_item_sales_orders_item_sales_order_lines_request_builder.go @@ -39,8 +39,8 @@ type CompaniesItemSalesOrdersItemSalesOrderLinesRequestBuilderGetRequestConfigur // Request query parameters QueryParameters *CompaniesItemSalesOrdersItemSalesOrderLinesRequestBuilderGetQueryParameters } -// BySalesOrderLineIdString provides operations to manage the salesOrderLines property of the microsoft.graph.salesOrder entity. -func (m *CompaniesItemSalesOrdersItemSalesOrderLinesRequestBuilder) BySalesOrderLineIdString(salesOrderLineId string)(*CompaniesItemSalesOrdersItemSalesOrderLinesSalesOrderLineItemRequestBuilder) { +// BySalesOrderLineId provides operations to manage the salesOrderLines property of the microsoft.graph.salesOrder entity. +func (m *CompaniesItemSalesOrdersItemSalesOrderLinesRequestBuilder) BySalesOrderLineId(salesOrderLineId string)(*CompaniesItemSalesOrdersItemSalesOrderLinesSalesOrderLineItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesRequestBuilder) ToGetRequest } 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 *CompaniesItemSalesOrdersItemSalesOrderLinesRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersItemSalesOrderLinesRequestBuilder) { + return NewCompaniesItemSalesOrdersItemSalesOrderLinesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_item_sales_order_lines_sales_order_line_item_request_builder.go b/financials/companies_item_sales_orders_item_sales_order_lines_sales_order_line_item_request_builder.go index 6a0ec86cacc..35a6656b1fc 100644 --- a/financials/companies_item_sales_orders_item_sales_order_lines_sales_order_line_item_request_builder.go +++ b/financials/companies_item_sales_orders_item_sales_order_lines_sales_order_line_item_request_builder.go @@ -126,3 +126,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesSalesOrderLineItemRequestBui } 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 *CompaniesItemSalesOrdersItemSalesOrderLinesSalesOrderLineItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersItemSalesOrderLinesSalesOrderLineItemRequestBuilder) { + return NewCompaniesItemSalesOrdersItemSalesOrderLinesSalesOrderLineItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_request_builder.go b/financials/companies_item_sales_orders_request_builder.go index cba1a173eb0..f659e6b12d7 100644 --- a/financials/companies_item_sales_orders_request_builder.go +++ b/financials/companies_item_sales_orders_request_builder.go @@ -113,3 +113,7 @@ func (m *CompaniesItemSalesOrdersRequestBuilder) ToGetRequestInformation(ctx con } 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 *CompaniesItemSalesOrdersRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersRequestBuilder) { + return NewCompaniesItemSalesOrdersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_orders_sales_order_item_request_builder.go b/financials/companies_item_sales_orders_sales_order_item_request_builder.go index 8989c5eec08..401efd084dc 100644 --- a/financials/companies_item_sales_orders_sales_order_item_request_builder.go +++ b/financials/companies_item_sales_orders_sales_order_item_request_builder.go @@ -134,3 +134,7 @@ func (m *CompaniesItemSalesOrdersSalesOrderItemRequestBuilder) ToPatchRequestInf } 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 *CompaniesItemSalesOrdersSalesOrderItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesOrdersSalesOrderItemRequestBuilder) { + return NewCompaniesItemSalesOrdersSalesOrderItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quote_lines_count_request_builder.go b/financials/companies_item_sales_quote_lines_count_request_builder.go index b53c200ba40..e1e45a02b0f 100644 --- a/financials/companies_item_sales_quote_lines_count_request_builder.go +++ b/financials/companies_item_sales_quote_lines_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesQuoteLinesCountRequestBuilder) 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 *CompaniesItemSalesQuoteLinesCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuoteLinesCountRequestBuilder) { + return NewCompaniesItemSalesQuoteLinesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quote_lines_item_account_request_builder.go b/financials/companies_item_sales_quote_lines_item_account_request_builder.go index ce07045a32e..ce49a9efa87 100644 --- a/financials/companies_item_sales_quote_lines_item_account_request_builder.go +++ b/financials/companies_item_sales_quote_lines_item_account_request_builder.go @@ -75,3 +75,7 @@ func (m *CompaniesItemSalesQuoteLinesItemAccountRequestBuilder) ToGetRequestInfo } 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 *CompaniesItemSalesQuoteLinesItemAccountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuoteLinesItemAccountRequestBuilder) { + return NewCompaniesItemSalesQuoteLinesItemAccountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quote_lines_item_item_item_category_request_builder.go b/financials/companies_item_sales_quote_lines_item_item_item_category_request_builder.go index 9e2dd4886b0..91923f5c162 100644 --- a/financials/companies_item_sales_quote_lines_item_item_item_category_request_builder.go +++ b/financials/companies_item_sales_quote_lines_item_item_item_category_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesQuoteLinesItemItemItemCategoryRequestBuilder) ToPatch } 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 *CompaniesItemSalesQuoteLinesItemItemItemCategoryRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuoteLinesItemItemItemCategoryRequestBuilder) { + return NewCompaniesItemSalesQuoteLinesItemItemItemCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quote_lines_item_item_picture_count_request_builder.go b/financials/companies_item_sales_quote_lines_item_item_picture_count_request_builder.go index 86d29503ad8..f9d2a804056 100644 --- a/financials/companies_item_sales_quote_lines_item_item_picture_count_request_builder.go +++ b/financials/companies_item_sales_quote_lines_item_item_picture_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesQuoteLinesItemItemPictureCountRequestBuilder) ToGetRe } 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 *CompaniesItemSalesQuoteLinesItemItemPictureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuoteLinesItemItemPictureCountRequestBuilder) { + return NewCompaniesItemSalesQuoteLinesItemItemPictureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quote_lines_item_item_picture_item_content_request_builder.go b/financials/companies_item_sales_quote_lines_item_item_picture_item_content_request_builder.go index 00a772c902b..5a9ff791109 100644 --- a/financials/companies_item_sales_quote_lines_item_item_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_quote_lines_item_item_picture_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *CompaniesItemSalesQuoteLinesItemItemPictureItemContentRequestBuilder) T } 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 *CompaniesItemSalesQuoteLinesItemItemPictureItemContentRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuoteLinesItemItemPictureItemContentRequestBuilder) { + return NewCompaniesItemSalesQuoteLinesItemItemPictureItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quote_lines_item_item_picture_picture_item_request_builder.go b/financials/companies_item_sales_quote_lines_item_item_picture_picture_item_request_builder.go index ca7884cbde2..f78ba75d61b 100644 --- a/financials/companies_item_sales_quote_lines_item_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_quote_lines_item_item_picture_picture_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemSalesQuoteLinesItemItemPicturePictureItemRequestBuilder) T } 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 *CompaniesItemSalesQuoteLinesItemItemPicturePictureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuoteLinesItemItemPicturePictureItemRequestBuilder) { + return NewCompaniesItemSalesQuoteLinesItemItemPicturePictureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quote_lines_item_item_picture_request_builder.go b/financials/companies_item_sales_quote_lines_item_item_picture_request_builder.go index e9460027b29..3a4786ff6f8 100644 --- a/financials/companies_item_sales_quote_lines_item_item_picture_request_builder.go +++ b/financials/companies_item_sales_quote_lines_item_item_picture_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemSalesQuoteLinesItemItemPictureRequestBuilder) ToPostReques } 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 *CompaniesItemSalesQuoteLinesItemItemPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuoteLinesItemItemPictureRequestBuilder) { + return NewCompaniesItemSalesQuoteLinesItemItemPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quote_lines_item_item_request_builder.go b/financials/companies_item_sales_quote_lines_item_item_request_builder.go index 481a3312b72..c82c7d8f4c2 100644 --- a/financials/companies_item_sales_quote_lines_item_item_request_builder.go +++ b/financials/companies_item_sales_quote_lines_item_item_request_builder.go @@ -161,3 +161,7 @@ func (m *CompaniesItemSalesQuoteLinesItemItemRequestBuilder) ToPatchRequestInfor } 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 *CompaniesItemSalesQuoteLinesItemItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuoteLinesItemItemRequestBuilder) { + return NewCompaniesItemSalesQuoteLinesItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quote_lines_request_builder.go b/financials/companies_item_sales_quote_lines_request_builder.go index 3ef0b74e6f6..c727b680086 100644 --- a/financials/companies_item_sales_quote_lines_request_builder.go +++ b/financials/companies_item_sales_quote_lines_request_builder.go @@ -39,8 +39,8 @@ type CompaniesItemSalesQuoteLinesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *CompaniesItemSalesQuoteLinesRequestBuilderGetQueryParameters } -// BySalesQuoteLineIdString provides operations to manage the salesQuoteLines property of the microsoft.graph.company entity. -func (m *CompaniesItemSalesQuoteLinesRequestBuilder) BySalesQuoteLineIdString(salesQuoteLineId string)(*CompaniesItemSalesQuoteLinesSalesQuoteLineItemRequestBuilder) { +// BySalesQuoteLineId provides operations to manage the salesQuoteLines property of the microsoft.graph.company entity. +func (m *CompaniesItemSalesQuoteLinesRequestBuilder) BySalesQuoteLineId(salesQuoteLineId string)(*CompaniesItemSalesQuoteLinesSalesQuoteLineItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *CompaniesItemSalesQuoteLinesRequestBuilder) ToGetRequestInformation(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 *CompaniesItemSalesQuoteLinesRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuoteLinesRequestBuilder) { + return NewCompaniesItemSalesQuoteLinesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quote_lines_sales_quote_line_item_request_builder.go b/financials/companies_item_sales_quote_lines_sales_quote_line_item_request_builder.go index c0621858918..6b7d1a4d5b2 100644 --- a/financials/companies_item_sales_quote_lines_sales_quote_line_item_request_builder.go +++ b/financials/companies_item_sales_quote_lines_sales_quote_line_item_request_builder.go @@ -126,3 +126,7 @@ func (m *CompaniesItemSalesQuoteLinesSalesQuoteLineItemRequestBuilder) ToPatchRe } 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 *CompaniesItemSalesQuoteLinesSalesQuoteLineItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuoteLinesSalesQuoteLineItemRequestBuilder) { + return NewCompaniesItemSalesQuoteLinesSalesQuoteLineItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_count_request_builder.go b/financials/companies_item_sales_quotes_count_request_builder.go index 34361aff4ff..bd561a32309 100644 --- a/financials/companies_item_sales_quotes_count_request_builder.go +++ b/financials/companies_item_sales_quotes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesQuotesCountRequestBuilder) ToGetRequestInformation(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 *CompaniesItemSalesQuotesCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesCountRequestBuilder) { + return NewCompaniesItemSalesQuotesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_currency_request_builder.go b/financials/companies_item_sales_quotes_item_currency_request_builder.go index f519acf8ef3..1acf5ce7c9f 100644 --- a/financials/companies_item_sales_quotes_item_currency_request_builder.go +++ b/financials/companies_item_sales_quotes_item_currency_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesQuotesItemCurrencyRequestBuilder) ToPatchRequestInfor } 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 *CompaniesItemSalesQuotesItemCurrencyRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemCurrencyRequestBuilder) { + return NewCompaniesItemSalesQuotesItemCurrencyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_customer_currency_request_builder.go b/financials/companies_item_sales_quotes_item_customer_currency_request_builder.go index 97119f0ad46..ad7c835272f 100644 --- a/financials/companies_item_sales_quotes_item_customer_currency_request_builder.go +++ b/financials/companies_item_sales_quotes_item_customer_currency_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerCurrencyRequestBuilder) ToPatchRequ } 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 *CompaniesItemSalesQuotesItemCustomerCurrencyRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemCustomerCurrencyRequestBuilder) { + return NewCompaniesItemSalesQuotesItemCustomerCurrencyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_customer_payment_method_request_builder.go b/financials/companies_item_sales_quotes_item_customer_payment_method_request_builder.go index 6ad7a3ad5ae..f8b98a63fd8 100644 --- a/financials/companies_item_sales_quotes_item_customer_payment_method_request_builder.go +++ b/financials/companies_item_sales_quotes_item_customer_payment_method_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerPaymentMethodRequestBuilder) ToPatc } 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 *CompaniesItemSalesQuotesItemCustomerPaymentMethodRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemCustomerPaymentMethodRequestBuilder) { + return NewCompaniesItemSalesQuotesItemCustomerPaymentMethodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_customer_payment_term_request_builder.go b/financials/companies_item_sales_quotes_item_customer_payment_term_request_builder.go index b3348d00729..041fae368b1 100644 --- a/financials/companies_item_sales_quotes_item_customer_payment_term_request_builder.go +++ b/financials/companies_item_sales_quotes_item_customer_payment_term_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerPaymentTermRequestBuilder) ToPatchR } 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 *CompaniesItemSalesQuotesItemCustomerPaymentTermRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemCustomerPaymentTermRequestBuilder) { + return NewCompaniesItemSalesQuotesItemCustomerPaymentTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_customer_picture_count_request_builder.go b/financials/companies_item_sales_quotes_item_customer_picture_count_request_builder.go index a2394ba15c7..9f9e0b77a75 100644 --- a/financials/companies_item_sales_quotes_item_customer_picture_count_request_builder.go +++ b/financials/companies_item_sales_quotes_item_customer_picture_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerPictureCountRequestBuilder) ToGetRe } 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 *CompaniesItemSalesQuotesItemCustomerPictureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemCustomerPictureCountRequestBuilder) { + return NewCompaniesItemSalesQuotesItemCustomerPictureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_customer_picture_item_content_request_builder.go b/financials/companies_item_sales_quotes_item_customer_picture_item_content_request_builder.go index 6233ddf0942..aa89b9b3524 100644 --- a/financials/companies_item_sales_quotes_item_customer_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_quotes_item_customer_picture_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerPictureItemContentRequestBuilder) T } 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 *CompaniesItemSalesQuotesItemCustomerPictureItemContentRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemCustomerPictureItemContentRequestBuilder) { + return NewCompaniesItemSalesQuotesItemCustomerPictureItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_customer_picture_picture_item_request_builder.go b/financials/companies_item_sales_quotes_item_customer_picture_picture_item_request_builder.go index d9aa0454d65..c6961bfc26f 100644 --- a/financials/companies_item_sales_quotes_item_customer_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_quotes_item_customer_picture_picture_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerPicturePictureItemRequestBuilder) T } 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 *CompaniesItemSalesQuotesItemCustomerPicturePictureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemCustomerPicturePictureItemRequestBuilder) { + return NewCompaniesItemSalesQuotesItemCustomerPicturePictureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_customer_picture_request_builder.go b/financials/companies_item_sales_quotes_item_customer_picture_request_builder.go index 047eeb36cf5..0d6b6462645 100644 --- a/financials/companies_item_sales_quotes_item_customer_picture_request_builder.go +++ b/financials/companies_item_sales_quotes_item_customer_picture_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerPictureRequestBuilder) ToPostReques } 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 *CompaniesItemSalesQuotesItemCustomerPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemCustomerPictureRequestBuilder) { + return NewCompaniesItemSalesQuotesItemCustomerPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_customer_request_builder.go b/financials/companies_item_sales_quotes_item_customer_request_builder.go index 1c4f291abde..48464bf7077 100644 --- a/financials/companies_item_sales_quotes_item_customer_request_builder.go +++ b/financials/companies_item_sales_quotes_item_customer_request_builder.go @@ -173,3 +173,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerRequestBuilder) ToPatchRequestInfor } 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 *CompaniesItemSalesQuotesItemCustomerRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemCustomerRequestBuilder) { + return NewCompaniesItemSalesQuotesItemCustomerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_customer_shipment_method_request_builder.go b/financials/companies_item_sales_quotes_item_customer_shipment_method_request_builder.go index 653c96ac4ea..174a118fcf9 100644 --- a/financials/companies_item_sales_quotes_item_customer_shipment_method_request_builder.go +++ b/financials/companies_item_sales_quotes_item_customer_shipment_method_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerShipmentMethodRequestBuilder) 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 *CompaniesItemSalesQuotesItemCustomerShipmentMethodRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemCustomerShipmentMethodRequestBuilder) { + return NewCompaniesItemSalesQuotesItemCustomerShipmentMethodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_make_invoice_request_builder.go b/financials/companies_item_sales_quotes_item_make_invoice_request_builder.go index d19e4cc31fd..7c674632756 100644 --- a/financials/companies_item_sales_quotes_item_make_invoice_request_builder.go +++ b/financials/companies_item_sales_quotes_item_make_invoice_request_builder.go @@ -58,3 +58,7 @@ func (m *CompaniesItemSalesQuotesItemMakeInvoiceRequestBuilder) ToPostRequestInf } 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 *CompaniesItemSalesQuotesItemMakeInvoiceRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemMakeInvoiceRequestBuilder) { + return NewCompaniesItemSalesQuotesItemMakeInvoiceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_payment_term_request_builder.go b/financials/companies_item_sales_quotes_item_payment_term_request_builder.go index 7d6cf5ed443..d2fd9493e8d 100644 --- a/financials/companies_item_sales_quotes_item_payment_term_request_builder.go +++ b/financials/companies_item_sales_quotes_item_payment_term_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesQuotesItemPaymentTermRequestBuilder) ToPatchRequestIn } 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 *CompaniesItemSalesQuotesItemPaymentTermRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemPaymentTermRequestBuilder) { + return NewCompaniesItemSalesQuotesItemPaymentTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_sales_quote_lines_count_request_builder.go b/financials/companies_item_sales_quotes_item_sales_quote_lines_count_request_builder.go index 99e8bcd23b4..fe7f5f5da14 100644 --- a/financials/companies_item_sales_quotes_item_sales_quote_lines_count_request_builder.go +++ b/financials/companies_item_sales_quotes_item_sales_quote_lines_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesCountRequestBuilder) ToGetRe } 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 *CompaniesItemSalesQuotesItemSalesQuoteLinesCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemSalesQuoteLinesCountRequestBuilder) { + return NewCompaniesItemSalesQuotesItemSalesQuoteLinesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_account_request_builder.go b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_account_request_builder.go index 231e108d339..336d171fb39 100644 --- a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_account_request_builder.go +++ b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_account_request_builder.go @@ -75,3 +75,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesItemAccountRequestBuilder) T } 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 *CompaniesItemSalesQuotesItemSalesQuoteLinesItemAccountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemSalesQuoteLinesItemAccountRequestBuilder) { + return NewCompaniesItemSalesQuotesItemSalesQuoteLinesItemAccountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_item_category_request_builder.go b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_item_category_request_builder.go index 7a31637b9df..9a48fc3c274 100644 --- a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_item_category_request_builder.go +++ b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_item_category_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemItemCategoryRequestB } 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 *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemItemCategoryRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemItemCategoryRequestBuilder) { + return NewCompaniesItemSalesQuotesItemSalesQuoteLinesItemItemItemCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_count_request_builder.go b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_count_request_builder.go index b12b1b0f598..633edaad653 100644 --- a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_count_request_builder.go +++ b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPictureCountRequestB } 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 *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPictureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPictureCountRequestBuilder) { + return NewCompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPictureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_item_content_request_builder.go b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_item_content_request_builder.go index 1477e62ab84..19265f4b7bd 100644 --- a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPictureItemContentRe } 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 *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPictureItemContentRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPictureItemContentRequestBuilder) { + return NewCompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPictureItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_picture_item_request_builder.go b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_picture_item_request_builder.go index 368aaf4fcd0..a33ef61dbcc 100644 --- a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_picture_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPicturePictureItemRe } 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 *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPicturePictureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPicturePictureItemRequestBuilder) { + return NewCompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPicturePictureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_request_builder.go b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_request_builder.go index 3f501f5c9be..3d684db96b8 100644 --- a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_request_builder.go +++ b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPictureRequestBuilde } 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 *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPictureRequestBuilder) { + return NewCompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_request_builder.go b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_request_builder.go index 54ef0ad062d..7bbf98ab7c5 100644 --- a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_request_builder.go +++ b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_request_builder.go @@ -161,3 +161,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemRequestBuilder) ToPa } 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 *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemRequestBuilder) { + return NewCompaniesItemSalesQuotesItemSalesQuoteLinesItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_sales_quote_lines_request_builder.go b/financials/companies_item_sales_quotes_item_sales_quote_lines_request_builder.go index dfa2ebab3d9..6b13e648e23 100644 --- a/financials/companies_item_sales_quotes_item_sales_quote_lines_request_builder.go +++ b/financials/companies_item_sales_quotes_item_sales_quote_lines_request_builder.go @@ -39,8 +39,8 @@ type CompaniesItemSalesQuotesItemSalesQuoteLinesRequestBuilderGetRequestConfigur // Request query parameters QueryParameters *CompaniesItemSalesQuotesItemSalesQuoteLinesRequestBuilderGetQueryParameters } -// BySalesQuoteLineIdString provides operations to manage the salesQuoteLines property of the microsoft.graph.salesQuote entity. -func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesRequestBuilder) BySalesQuoteLineIdString(salesQuoteLineId string)(*CompaniesItemSalesQuotesItemSalesQuoteLinesSalesQuoteLineItemRequestBuilder) { +// BySalesQuoteLineId provides operations to manage the salesQuoteLines property of the microsoft.graph.salesQuote entity. +func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesRequestBuilder) BySalesQuoteLineId(salesQuoteLineId string)(*CompaniesItemSalesQuotesItemSalesQuoteLinesSalesQuoteLineItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesRequestBuilder) ToGetRequest } 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 *CompaniesItemSalesQuotesItemSalesQuoteLinesRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemSalesQuoteLinesRequestBuilder) { + return NewCompaniesItemSalesQuotesItemSalesQuoteLinesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_sales_quote_lines_sales_quote_line_item_request_builder.go b/financials/companies_item_sales_quotes_item_sales_quote_lines_sales_quote_line_item_request_builder.go index 95e2118071d..95dd9d1a746 100644 --- a/financials/companies_item_sales_quotes_item_sales_quote_lines_sales_quote_line_item_request_builder.go +++ b/financials/companies_item_sales_quotes_item_sales_quote_lines_sales_quote_line_item_request_builder.go @@ -126,3 +126,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesSalesQuoteLineItemRequestBui } 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 *CompaniesItemSalesQuotesItemSalesQuoteLinesSalesQuoteLineItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemSalesQuoteLinesSalesQuoteLineItemRequestBuilder) { + return NewCompaniesItemSalesQuotesItemSalesQuoteLinesSalesQuoteLineItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_send_request_builder.go b/financials/companies_item_sales_quotes_item_send_request_builder.go index 53eee9c24d3..684fa689bb5 100644 --- a/financials/companies_item_sales_quotes_item_send_request_builder.go +++ b/financials/companies_item_sales_quotes_item_send_request_builder.go @@ -58,3 +58,7 @@ func (m *CompaniesItemSalesQuotesItemSendRequestBuilder) ToPostRequestInformatio } 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 *CompaniesItemSalesQuotesItemSendRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemSendRequestBuilder) { + return NewCompaniesItemSalesQuotesItemSendRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_item_shipment_method_request_builder.go b/financials/companies_item_sales_quotes_item_shipment_method_request_builder.go index f25990672f5..419ae0ab565 100644 --- a/financials/companies_item_sales_quotes_item_shipment_method_request_builder.go +++ b/financials/companies_item_sales_quotes_item_shipment_method_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemSalesQuotesItemShipmentMethodRequestBuilder) ToPatchReques } 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 *CompaniesItemSalesQuotesItemShipmentMethodRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesItemShipmentMethodRequestBuilder) { + return NewCompaniesItemSalesQuotesItemShipmentMethodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_request_builder.go b/financials/companies_item_sales_quotes_request_builder.go index e74eb7bd2ad..3bcfce128dd 100644 --- a/financials/companies_item_sales_quotes_request_builder.go +++ b/financials/companies_item_sales_quotes_request_builder.go @@ -113,3 +113,7 @@ func (m *CompaniesItemSalesQuotesRequestBuilder) ToGetRequestInformation(ctx con } 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 *CompaniesItemSalesQuotesRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesRequestBuilder) { + return NewCompaniesItemSalesQuotesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_sales_quotes_sales_quote_item_request_builder.go b/financials/companies_item_sales_quotes_sales_quote_item_request_builder.go index 9412a47564e..bc33566e581 100644 --- a/financials/companies_item_sales_quotes_sales_quote_item_request_builder.go +++ b/financials/companies_item_sales_quotes_sales_quote_item_request_builder.go @@ -146,3 +146,7 @@ func (m *CompaniesItemSalesQuotesSalesQuoteItemRequestBuilder) ToPatchRequestInf } 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 *CompaniesItemSalesQuotesSalesQuoteItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemSalesQuotesSalesQuoteItemRequestBuilder) { + return NewCompaniesItemSalesQuotesSalesQuoteItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_shipment_methods_count_request_builder.go b/financials/companies_item_shipment_methods_count_request_builder.go index 82a7bb9fc5f..97739038c42 100644 --- a/financials/companies_item_shipment_methods_count_request_builder.go +++ b/financials/companies_item_shipment_methods_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemShipmentMethodsCountRequestBuilder) 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 *CompaniesItemShipmentMethodsCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemShipmentMethodsCountRequestBuilder) { + return NewCompaniesItemShipmentMethodsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_shipment_methods_request_builder.go b/financials/companies_item_shipment_methods_request_builder.go index b9aab4fc384..767a11a1970 100644 --- a/financials/companies_item_shipment_methods_request_builder.go +++ b/financials/companies_item_shipment_methods_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemShipmentMethodsRequestBuilder) 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 *CompaniesItemShipmentMethodsRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemShipmentMethodsRequestBuilder) { + return NewCompaniesItemShipmentMethodsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_shipment_methods_shipment_method_item_request_builder.go b/financials/companies_item_shipment_methods_shipment_method_item_request_builder.go index 3532f82cf92..64681f7408e 100644 --- a/financials/companies_item_shipment_methods_shipment_method_item_request_builder.go +++ b/financials/companies_item_shipment_methods_shipment_method_item_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemShipmentMethodsShipmentMethodItemRequestBuilder) ToPatchRe } 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 *CompaniesItemShipmentMethodsShipmentMethodItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemShipmentMethodsShipmentMethodItemRequestBuilder) { + return NewCompaniesItemShipmentMethodsShipmentMethodItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_tax_areas_count_request_builder.go b/financials/companies_item_tax_areas_count_request_builder.go index cde10f2d428..35be422d974 100644 --- a/financials/companies_item_tax_areas_count_request_builder.go +++ b/financials/companies_item_tax_areas_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemTaxAreasCountRequestBuilder) ToGetRequestInformation(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 *CompaniesItemTaxAreasCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemTaxAreasCountRequestBuilder) { + return NewCompaniesItemTaxAreasCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_tax_areas_request_builder.go b/financials/companies_item_tax_areas_request_builder.go index 50c72914e56..4914402e28f 100644 --- a/financials/companies_item_tax_areas_request_builder.go +++ b/financials/companies_item_tax_areas_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemTaxAreasRequestBuilder) 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 *CompaniesItemTaxAreasRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemTaxAreasRequestBuilder) { + return NewCompaniesItemTaxAreasRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_tax_areas_tax_area_item_request_builder.go b/financials/companies_item_tax_areas_tax_area_item_request_builder.go index ad769e1c1ce..bfa648d6809 100644 --- a/financials/companies_item_tax_areas_tax_area_item_request_builder.go +++ b/financials/companies_item_tax_areas_tax_area_item_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemTaxAreasTaxAreaItemRequestBuilder) ToPatchRequestInformati } 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 *CompaniesItemTaxAreasTaxAreaItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemTaxAreasTaxAreaItemRequestBuilder) { + return NewCompaniesItemTaxAreasTaxAreaItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_tax_groups_count_request_builder.go b/financials/companies_item_tax_groups_count_request_builder.go index 3981992126a..153f761b2c8 100644 --- a/financials/companies_item_tax_groups_count_request_builder.go +++ b/financials/companies_item_tax_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemTaxGroupsCountRequestBuilder) ToGetRequestInformation(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 *CompaniesItemTaxGroupsCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemTaxGroupsCountRequestBuilder) { + return NewCompaniesItemTaxGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_tax_groups_request_builder.go b/financials/companies_item_tax_groups_request_builder.go index 3dc05811b86..fdd8b7e9afd 100644 --- a/financials/companies_item_tax_groups_request_builder.go +++ b/financials/companies_item_tax_groups_request_builder.go @@ -46,8 +46,8 @@ type CompaniesItemTaxGroupsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTaxGroupIdString provides operations to manage the taxGroups property of the microsoft.graph.company entity. -func (m *CompaniesItemTaxGroupsRequestBuilder) ByTaxGroupIdString(taxGroupId string)(*CompaniesItemTaxGroupsTaxGroupItemRequestBuilder) { +// ByTaxGroupId provides operations to manage the taxGroups property of the microsoft.graph.company entity. +func (m *CompaniesItemTaxGroupsRequestBuilder) ByTaxGroupId(taxGroupId string)(*CompaniesItemTaxGroupsTaxGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *CompaniesItemTaxGroupsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *CompaniesItemTaxGroupsRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemTaxGroupsRequestBuilder) { + return NewCompaniesItemTaxGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_tax_groups_tax_group_item_request_builder.go b/financials/companies_item_tax_groups_tax_group_item_request_builder.go index f0714b64b31..162a4923ed7 100644 --- a/financials/companies_item_tax_groups_tax_group_item_request_builder.go +++ b/financials/companies_item_tax_groups_tax_group_item_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemTaxGroupsTaxGroupItemRequestBuilder) ToPatchRequestInforma } 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 *CompaniesItemTaxGroupsTaxGroupItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemTaxGroupsTaxGroupItemRequestBuilder) { + return NewCompaniesItemTaxGroupsTaxGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_units_of_measure_count_request_builder.go b/financials/companies_item_units_of_measure_count_request_builder.go index 81869e0aec8..74464736b4a 100644 --- a/financials/companies_item_units_of_measure_count_request_builder.go +++ b/financials/companies_item_units_of_measure_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemUnitsOfMeasureCountRequestBuilder) 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 *CompaniesItemUnitsOfMeasureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemUnitsOfMeasureCountRequestBuilder) { + return NewCompaniesItemUnitsOfMeasureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_units_of_measure_request_builder.go b/financials/companies_item_units_of_measure_request_builder.go index 8be06d5cef8..9f85e47b17b 100644 --- a/financials/companies_item_units_of_measure_request_builder.go +++ b/financials/companies_item_units_of_measure_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemUnitsOfMeasureRequestBuilder) 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 *CompaniesItemUnitsOfMeasureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemUnitsOfMeasureRequestBuilder) { + return NewCompaniesItemUnitsOfMeasureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_units_of_measure_unit_of_measure_item_request_builder.go b/financials/companies_item_units_of_measure_unit_of_measure_item_request_builder.go index 68acd50a57f..0f0ec172b15 100644 --- a/financials/companies_item_units_of_measure_unit_of_measure_item_request_builder.go +++ b/financials/companies_item_units_of_measure_unit_of_measure_item_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemUnitsOfMeasureUnitOfMeasureItemRequestBuilder) ToPatchRequ } 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 *CompaniesItemUnitsOfMeasureUnitOfMeasureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemUnitsOfMeasureUnitOfMeasureItemRequestBuilder) { + return NewCompaniesItemUnitsOfMeasureUnitOfMeasureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_vendors_count_request_builder.go b/financials/companies_item_vendors_count_request_builder.go index 5727f61d0b0..ba14adfdc77 100644 --- a/financials/companies_item_vendors_count_request_builder.go +++ b/financials/companies_item_vendors_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemVendorsCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *CompaniesItemVendorsCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemVendorsCountRequestBuilder) { + return NewCompaniesItemVendorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_vendors_item_currency_request_builder.go b/financials/companies_item_vendors_item_currency_request_builder.go index b2e0a47fa19..ac80bff8c5b 100644 --- a/financials/companies_item_vendors_item_currency_request_builder.go +++ b/financials/companies_item_vendors_item_currency_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemVendorsItemCurrencyRequestBuilder) ToPatchRequestInformati } 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 *CompaniesItemVendorsItemCurrencyRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemVendorsItemCurrencyRequestBuilder) { + return NewCompaniesItemVendorsItemCurrencyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_vendors_item_payment_method_request_builder.go b/financials/companies_item_vendors_item_payment_method_request_builder.go index d05c32958b0..5eeb8714b62 100644 --- a/financials/companies_item_vendors_item_payment_method_request_builder.go +++ b/financials/companies_item_vendors_item_payment_method_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemVendorsItemPaymentMethodRequestBuilder) 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 *CompaniesItemVendorsItemPaymentMethodRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemVendorsItemPaymentMethodRequestBuilder) { + return NewCompaniesItemVendorsItemPaymentMethodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_vendors_item_payment_term_request_builder.go b/financials/companies_item_vendors_item_payment_term_request_builder.go index 04b7b5e8ec8..1a295ca556b 100644 --- a/financials/companies_item_vendors_item_payment_term_request_builder.go +++ b/financials/companies_item_vendors_item_payment_term_request_builder.go @@ -153,3 +153,7 @@ func (m *CompaniesItemVendorsItemPaymentTermRequestBuilder) ToPatchRequestInform } 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 *CompaniesItemVendorsItemPaymentTermRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemVendorsItemPaymentTermRequestBuilder) { + return NewCompaniesItemVendorsItemPaymentTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_vendors_item_picture_count_request_builder.go b/financials/companies_item_vendors_item_picture_count_request_builder.go index a3a8f9f4c74..13940992223 100644 --- a/financials/companies_item_vendors_item_picture_count_request_builder.go +++ b/financials/companies_item_vendors_item_picture_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CompaniesItemVendorsItemPictureCountRequestBuilder) ToGetRequestInforma } 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 *CompaniesItemVendorsItemPictureCountRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemVendorsItemPictureCountRequestBuilder) { + return NewCompaniesItemVendorsItemPictureCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_vendors_item_picture_item_content_request_builder.go b/financials/companies_item_vendors_item_picture_item_content_request_builder.go index 85544b36f30..5fa84e1f10f 100644 --- a/financials/companies_item_vendors_item_picture_item_content_request_builder.go +++ b/financials/companies_item_vendors_item_picture_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *CompaniesItemVendorsItemPictureItemContentRequestBuilder) ToPutRequestI } 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 *CompaniesItemVendorsItemPictureItemContentRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemVendorsItemPictureItemContentRequestBuilder) { + return NewCompaniesItemVendorsItemPictureItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_vendors_item_picture_picture_item_request_builder.go b/financials/companies_item_vendors_item_picture_picture_item_request_builder.go index 51be4012300..ba14f12dc56 100644 --- a/financials/companies_item_vendors_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_vendors_item_picture_picture_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CompaniesItemVendorsItemPicturePictureItemRequestBuilder) ToPatchReques } 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 *CompaniesItemVendorsItemPicturePictureItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemVendorsItemPicturePictureItemRequestBuilder) { + return NewCompaniesItemVendorsItemPicturePictureItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_vendors_item_picture_request_builder.go b/financials/companies_item_vendors_item_picture_request_builder.go index 66df209811e..9f55b987c3a 100644 --- a/financials/companies_item_vendors_item_picture_request_builder.go +++ b/financials/companies_item_vendors_item_picture_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemVendorsItemPictureRequestBuilder) 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 *CompaniesItemVendorsItemPictureRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemVendorsItemPictureRequestBuilder) { + return NewCompaniesItemVendorsItemPictureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_vendors_request_builder.go b/financials/companies_item_vendors_request_builder.go index a9aa1af3540..3d3d92f44b1 100644 --- a/financials/companies_item_vendors_request_builder.go +++ b/financials/companies_item_vendors_request_builder.go @@ -156,3 +156,7 @@ func (m *CompaniesItemVendorsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *CompaniesItemVendorsRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemVendorsRequestBuilder) { + return NewCompaniesItemVendorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_item_vendors_vendor_item_request_builder.go b/financials/companies_item_vendors_vendor_item_request_builder.go index 2ac160ae70f..80de4e16b97 100644 --- a/financials/companies_item_vendors_vendor_item_request_builder.go +++ b/financials/companies_item_vendors_vendor_item_request_builder.go @@ -169,3 +169,7 @@ func (m *CompaniesItemVendorsVendorItemRequestBuilder) 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 *CompaniesItemVendorsVendorItemRequestBuilder) WithUrl(rawUrl string)(*CompaniesItemVendorsVendorItemRequestBuilder) { + return NewCompaniesItemVendorsVendorItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/companies_request_builder.go b/financials/companies_request_builder.go index f26043a1480..0eb0a9bfeaf 100644 --- a/financials/companies_request_builder.go +++ b/financials/companies_request_builder.go @@ -113,3 +113,7 @@ func (m *CompaniesRequestBuilder) ToGetRequestInformation(ctx context.Context, r } 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 *CompaniesRequestBuilder) WithUrl(rawUrl string)(*CompaniesRequestBuilder) { + return NewCompaniesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/financials/financials_request_builder.go b/financials/financials_request_builder.go index 5f4b10b77f0..b745f18b41e 100644 --- a/financials/financials_request_builder.go +++ b/financials/financials_request_builder.go @@ -122,3 +122,7 @@ func (m *FinancialsRequestBuilder) ToPatchRequestInformation(ctx context.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 *FinancialsRequestBuilder) WithUrl(rawUrl string)(*FinancialsRequestBuilder) { + return NewFinancialsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/functions/attribute_mapping_function_schema_item_request_builder.go b/functions/attribute_mapping_function_schema_item_request_builder.go index 80eb55b7095..65ed6f7efc7 100644 --- a/functions/attribute_mapping_function_schema_item_request_builder.go +++ b/functions/attribute_mapping_function_schema_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AttributeMappingFunctionSchemaItemRequestBuilder) ToPatchRequestInforma } 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 *AttributeMappingFunctionSchemaItemRequestBuilder) WithUrl(rawUrl string)(*AttributeMappingFunctionSchemaItemRequestBuilder) { + return NewAttributeMappingFunctionSchemaItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/functions/count_request_builder.go b/functions/count_request_builder.go index 1f768958ea3..4618ee30097 100644 --- a/functions/count_request_builder.go +++ b/functions/count_request_builder.go @@ -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); +} diff --git a/functions/functions_request_builder.go b/functions/functions_request_builder.go index 9c58dd27151..6426b30b68e 100644 --- a/functions/functions_request_builder.go +++ b/functions/functions_request_builder.go @@ -46,8 +46,8 @@ type FunctionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttributeMappingFunctionSchemaIdString provides operations to manage the collection of attributeMappingFunctionSchema entities. -func (m *FunctionsRequestBuilder) ByAttributeMappingFunctionSchemaIdString(attributeMappingFunctionSchemaId string)(*AttributeMappingFunctionSchemaItemRequestBuilder) { +// ByAttributeMappingFunctionSchemaId provides operations to manage the collection of attributeMappingFunctionSchema entities. +func (m *FunctionsRequestBuilder) ByAttributeMappingFunctionSchemaId(attributeMappingFunctionSchemaId string)(*AttributeMappingFunctionSchemaItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *FunctionsRequestBuilder) ToPostRequestInformation(ctx context.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 *FunctionsRequestBuilder) WithUrl(rawUrl string)(*FunctionsRequestBuilder) { + return NewFunctionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/count_request_builder.go b/governanceresources/count_request_builder.go index fc43ef821cb..3f2d363385b 100644 --- a/governanceresources/count_request_builder.go +++ b/governanceresources/count_request_builder.go @@ -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); +} diff --git a/governanceresources/governance_resource_item_request_builder.go b/governanceresources/governance_resource_item_request_builder.go index d40a0479223..586b69fbec5 100644 --- a/governanceresources/governance_resource_item_request_builder.go +++ b/governanceresources/governance_resource_item_request_builder.go @@ -173,3 +173,7 @@ func (m *GovernanceResourceItemRequestBuilder) ToPatchRequestInformation(ctx con } 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 *GovernanceResourceItemRequestBuilder) WithUrl(rawUrl string)(*GovernanceResourceItemRequestBuilder) { + return NewGovernanceResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/governance_resources_request_builder.go b/governanceresources/governance_resources_request_builder.go index b5f8d54fa7f..f6157563a18 100644 --- a/governanceresources/governance_resources_request_builder.go +++ b/governanceresources/governance_resources_request_builder.go @@ -46,8 +46,8 @@ type GovernanceResourcesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceResourceIdString provides operations to manage the collection of governanceResource entities. -func (m *GovernanceResourcesRequestBuilder) ByGovernanceResourceIdString(governanceResourceId string)(*GovernanceResourceItemRequestBuilder) { +// ByGovernanceResourceId provides operations to manage the collection of governanceResource entities. +func (m *GovernanceResourcesRequestBuilder) ByGovernanceResourceId(governanceResourceId string)(*GovernanceResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *GovernanceResourcesRequestBuilder) 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 *GovernanceResourcesRequestBuilder) WithUrl(rawUrl string)(*GovernanceResourcesRequestBuilder) { + return NewGovernanceResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_parent_request_builder.go b/governanceresources/item_parent_request_builder.go index 4488b9b95aa..9c94dfcfaaf 100644 --- a/governanceresources/item_parent_request_builder.go +++ b/governanceresources/item_parent_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemParentRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemParentRequestBuilder) WithUrl(rawUrl string)(*ItemParentRequestBuilder) { + return NewItemParentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_assignment_requests_count_request_builder.go b/governanceresources/item_role_assignment_requests_count_request_builder.go index 39fc2393a5f..2f572bcb8f3 100644 --- a/governanceresources/item_role_assignment_requests_count_request_builder.go +++ b/governanceresources/item_role_assignment_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRoleAssignmentRequestsCountRequestBuilder) 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 *ItemRoleAssignmentRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentRequestsCountRequestBuilder) { + return NewItemRoleAssignmentRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go b/governanceresources/item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go index 8bc740b8f87..fdc65f5a56c 100644 --- a/governanceresources/item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go +++ b/governanceresources/item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBui func (m *ItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBuilder) UpdateRequest()(*ItemRoleAssignmentRequestsItemUpdateRequestRequestBuilder) { return NewItemRoleAssignmentRequestsItemUpdateRequestRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBuilder) { + return NewItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_assignment_requests_item_cancel_request_builder.go b/governanceresources/item_role_assignment_requests_item_cancel_request_builder.go index cbdac63c39c..33c17e89e6d 100644 --- a/governanceresources/item_role_assignment_requests_item_cancel_request_builder.go +++ b/governanceresources/item_role_assignment_requests_item_cancel_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemRoleAssignmentRequestsItemCancelRequestBuilder) ToPostRequestInform } 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 *ItemRoleAssignmentRequestsItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentRequestsItemCancelRequestBuilder) { + return NewItemRoleAssignmentRequestsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_assignment_requests_item_resource_request_builder.go b/governanceresources/item_role_assignment_requests_item_resource_request_builder.go index fcbf23244c2..30720ba1ede 100644 --- a/governanceresources/item_role_assignment_requests_item_resource_request_builder.go +++ b/governanceresources/item_role_assignment_requests_item_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleAssignmentRequestsItemResourceRequestBuilder) ToGetRequestInfor } 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 *ItemRoleAssignmentRequestsItemResourceRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentRequestsItemResourceRequestBuilder) { + return NewItemRoleAssignmentRequestsItemResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_assignment_requests_item_role_definition_request_builder.go b/governanceresources/item_role_assignment_requests_item_role_definition_request_builder.go index d411e432e60..1ae32e4e147 100644 --- a/governanceresources/item_role_assignment_requests_item_role_definition_request_builder.go +++ b/governanceresources/item_role_assignment_requests_item_role_definition_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemRoleAssignmentRequestsItemRoleDefinitionRequestBuilder) ToPatchRequ } 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 *ItemRoleAssignmentRequestsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentRequestsItemRoleDefinitionRequestBuilder) { + return NewItemRoleAssignmentRequestsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_assignment_requests_item_role_definition_resource_request_builder.go b/governanceresources/item_role_assignment_requests_item_role_definition_resource_request_builder.go index 6f85029794a..edc228180f7 100644 --- a/governanceresources/item_role_assignment_requests_item_role_definition_resource_request_builder.go +++ b/governanceresources/item_role_assignment_requests_item_role_definition_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleAssignmentRequestsItemRoleDefinitionResourceRequestBuilder) ToG } 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 *ItemRoleAssignmentRequestsItemRoleDefinitionResourceRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentRequestsItemRoleDefinitionResourceRequestBuilder) { + return NewItemRoleAssignmentRequestsItemRoleDefinitionResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_assignment_requests_item_role_definition_role_setting_request_builder.go b/governanceresources/item_role_assignment_requests_item_role_definition_role_setting_request_builder.go index 3a96877ebb9..e93df6e367b 100644 --- a/governanceresources/item_role_assignment_requests_item_role_definition_role_setting_request_builder.go +++ b/governanceresources/item_role_assignment_requests_item_role_definition_role_setting_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleAssignmentRequestsItemRoleDefinitionRoleSettingRequestBuilder) } 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 *ItemRoleAssignmentRequestsItemRoleDefinitionRoleSettingRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentRequestsItemRoleDefinitionRoleSettingRequestBuilder) { + return NewItemRoleAssignmentRequestsItemRoleDefinitionRoleSettingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_assignment_requests_item_subject_request_builder.go b/governanceresources/item_role_assignment_requests_item_subject_request_builder.go index ee18fc896cb..112c08a33b6 100644 --- a/governanceresources/item_role_assignment_requests_item_subject_request_builder.go +++ b/governanceresources/item_role_assignment_requests_item_subject_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemRoleAssignmentRequestsItemSubjectRequestBuilder) 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 *ItemRoleAssignmentRequestsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentRequestsItemSubjectRequestBuilder) { + return NewItemRoleAssignmentRequestsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_assignment_requests_item_update_request_request_builder.go b/governanceresources/item_role_assignment_requests_item_update_request_request_builder.go index 3965d7fb6b2..3f39be20509 100644 --- a/governanceresources/item_role_assignment_requests_item_update_request_request_builder.go +++ b/governanceresources/item_role_assignment_requests_item_update_request_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemRoleAssignmentRequestsItemUpdateRequestRequestBuilder) ToPostReques } 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 *ItemRoleAssignmentRequestsItemUpdateRequestRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentRequestsItemUpdateRequestRequestBuilder) { + return NewItemRoleAssignmentRequestsItemUpdateRequestRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_assignment_requests_request_builder.go b/governanceresources/item_role_assignment_requests_request_builder.go index 6e93120272f..33c81c35ae6 100644 --- a/governanceresources/item_role_assignment_requests_request_builder.go +++ b/governanceresources/item_role_assignment_requests_request_builder.go @@ -46,8 +46,8 @@ type ItemRoleAssignmentRequestsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceRoleAssignmentRequestIdString provides operations to manage the roleAssignmentRequests property of the microsoft.graph.governanceResource entity. -func (m *ItemRoleAssignmentRequestsRequestBuilder) ByGovernanceRoleAssignmentRequestIdString(governanceRoleAssignmentRequestId string)(*ItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBuilder) { +// ByGovernanceRoleAssignmentRequestId provides operations to manage the roleAssignmentRequests property of the microsoft.graph.governanceResource entity. +func (m *ItemRoleAssignmentRequestsRequestBuilder) ByGovernanceRoleAssignmentRequestId(governanceRoleAssignmentRequestId string)(*ItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemRoleAssignmentRequestsRequestBuilder) 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 *ItemRoleAssignmentRequestsRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentRequestsRequestBuilder) { + return NewItemRoleAssignmentRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_assignments_count_request_builder.go b/governanceresources/item_role_assignments_count_request_builder.go index 62dc89cd619..0dcbb2273cf 100644 --- a/governanceresources/item_role_assignments_count_request_builder.go +++ b/governanceresources/item_role_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRoleAssignmentsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemRoleAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentsCountRequestBuilder) { + return NewItemRoleAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_assignments_export_request_builder.go b/governanceresources/item_role_assignments_export_request_builder.go index b6a36d3048a..1d2b7cfc1f2 100644 --- a/governanceresources/item_role_assignments_export_request_builder.go +++ b/governanceresources/item_role_assignments_export_request_builder.go @@ -80,3 +80,7 @@ func (m *ItemRoleAssignmentsExportRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemRoleAssignmentsExportRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentsExportRequestBuilder) { + return NewItemRoleAssignmentsExportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_assignments_governance_role_assignment_item_request_builder.go b/governanceresources/item_role_assignments_governance_role_assignment_item_request_builder.go index 0f85f76579b..5148527f711 100644 --- a/governanceresources/item_role_assignments_governance_role_assignment_item_request_builder.go +++ b/governanceresources/item_role_assignments_governance_role_assignment_item_request_builder.go @@ -169,3 +169,7 @@ func (m *ItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder) ToPatchR } 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 *ItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder) { + return NewItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_assignments_item_linked_eligible_role_assignment_request_builder.go b/governanceresources/item_role_assignments_item_linked_eligible_role_assignment_request_builder.go index 891b2fd1f5e..4c721af53dd 100644 --- a/governanceresources/item_role_assignments_item_linked_eligible_role_assignment_request_builder.go +++ b/governanceresources/item_role_assignments_item_linked_eligible_role_assignment_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleAssignmentsItemLinkedEligibleRoleAssignmentRequestBuilder) ToGe } 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 *ItemRoleAssignmentsItemLinkedEligibleRoleAssignmentRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentsItemLinkedEligibleRoleAssignmentRequestBuilder) { + return NewItemRoleAssignmentsItemLinkedEligibleRoleAssignmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_assignments_item_resource_request_builder.go b/governanceresources/item_role_assignments_item_resource_request_builder.go index da63721793a..cf1c0058fe4 100644 --- a/governanceresources/item_role_assignments_item_resource_request_builder.go +++ b/governanceresources/item_role_assignments_item_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleAssignmentsItemResourceRequestBuilder) 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 *ItemRoleAssignmentsItemResourceRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentsItemResourceRequestBuilder) { + return NewItemRoleAssignmentsItemResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_assignments_item_role_definition_request_builder.go b/governanceresources/item_role_assignments_item_role_definition_request_builder.go index 0b387224768..ddb908aad68 100644 --- a/governanceresources/item_role_assignments_item_role_definition_request_builder.go +++ b/governanceresources/item_role_assignments_item_role_definition_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemRoleAssignmentsItemRoleDefinitionRequestBuilder) 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 *ItemRoleAssignmentsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentsItemRoleDefinitionRequestBuilder) { + return NewItemRoleAssignmentsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_assignments_item_role_definition_resource_request_builder.go b/governanceresources/item_role_assignments_item_role_definition_resource_request_builder.go index 21b0a484ebd..95a2ac7ab66 100644 --- a/governanceresources/item_role_assignments_item_role_definition_resource_request_builder.go +++ b/governanceresources/item_role_assignments_item_role_definition_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleAssignmentsItemRoleDefinitionResourceRequestBuilder) ToGetReque } 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 *ItemRoleAssignmentsItemRoleDefinitionResourceRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentsItemRoleDefinitionResourceRequestBuilder) { + return NewItemRoleAssignmentsItemRoleDefinitionResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_assignments_item_role_definition_role_setting_request_builder.go b/governanceresources/item_role_assignments_item_role_definition_role_setting_request_builder.go index 0539a0fe5c0..d99f08e16d5 100644 --- a/governanceresources/item_role_assignments_item_role_definition_role_setting_request_builder.go +++ b/governanceresources/item_role_assignments_item_role_definition_role_setting_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleAssignmentsItemRoleDefinitionRoleSettingRequestBuilder) ToGetRe } 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 *ItemRoleAssignmentsItemRoleDefinitionRoleSettingRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentsItemRoleDefinitionRoleSettingRequestBuilder) { + return NewItemRoleAssignmentsItemRoleDefinitionRoleSettingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_assignments_item_subject_request_builder.go b/governanceresources/item_role_assignments_item_subject_request_builder.go index 3523ef1856c..28ec6ede17c 100644 --- a/governanceresources/item_role_assignments_item_subject_request_builder.go +++ b/governanceresources/item_role_assignments_item_subject_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemRoleAssignmentsItemSubjectRequestBuilder) 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 *ItemRoleAssignmentsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentsItemSubjectRequestBuilder) { + return NewItemRoleAssignmentsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_assignments_request_builder.go b/governanceresources/item_role_assignments_request_builder.go index f3b9c635ee6..bb90dcb7e3c 100644 --- a/governanceresources/item_role_assignments_request_builder.go +++ b/governanceresources/item_role_assignments_request_builder.go @@ -46,8 +46,8 @@ type ItemRoleAssignmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceRoleAssignmentIdString provides operations to manage the roleAssignments property of the microsoft.graph.governanceResource entity. -func (m *ItemRoleAssignmentsRequestBuilder) ByGovernanceRoleAssignmentIdString(governanceRoleAssignmentId string)(*ItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder) { +// ByGovernanceRoleAssignmentId provides operations to manage the roleAssignments property of the microsoft.graph.governanceResource entity. +func (m *ItemRoleAssignmentsRequestBuilder) ByGovernanceRoleAssignmentId(governanceRoleAssignmentId string)(*ItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemRoleAssignmentsRequestBuilder) 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 *ItemRoleAssignmentsRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentsRequestBuilder) { + return NewItemRoleAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_definitions_count_request_builder.go b/governanceresources/item_role_definitions_count_request_builder.go index 515641e3d81..573709b0b96 100644 --- a/governanceresources/item_role_definitions_count_request_builder.go +++ b/governanceresources/item_role_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRoleDefinitionsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemRoleDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemRoleDefinitionsCountRequestBuilder) { + return NewItemRoleDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_definitions_governance_role_definition_item_request_builder.go b/governanceresources/item_role_definitions_governance_role_definition_item_request_builder.go index 9230994333e..e44cc829bd8 100644 --- a/governanceresources/item_role_definitions_governance_role_definition_item_request_builder.go +++ b/governanceresources/item_role_definitions_governance_role_definition_item_request_builder.go @@ -18,7 +18,7 @@ type ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilderGetQueryParameters the collection of role defintions for the resource. +// ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilderGetQueryParameters the collection of role definitions for the resource. type ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) Delete(c } return nil } -// Get the collection of role defintions for the resource. +// Get the collection of role definitions for the resource. func (m *ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GovernanceRoleDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -128,7 +128,7 @@ func (m *ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) ToDelete } return requestInfo, nil } -// ToGetRequestInformation the collection of role defintions for the resource. +// ToGetRequestInformation the collection of role definitions for the resource. func (m *ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -161,3 +161,7 @@ func (m *ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) ToPatchR } 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 *ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) { + return NewItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_definitions_item_resource_request_builder.go b/governanceresources/item_role_definitions_item_resource_request_builder.go index fbc66c3eafa..487c547b2ef 100644 --- a/governanceresources/item_role_definitions_item_resource_request_builder.go +++ b/governanceresources/item_role_definitions_item_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleDefinitionsItemResourceRequestBuilder) 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 *ItemRoleDefinitionsItemResourceRequestBuilder) WithUrl(rawUrl string)(*ItemRoleDefinitionsItemResourceRequestBuilder) { + return NewItemRoleDefinitionsItemResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_definitions_item_role_setting_request_builder.go b/governanceresources/item_role_definitions_item_role_setting_request_builder.go index 05b4bd7d2ac..2f9e313a495 100644 --- a/governanceresources/item_role_definitions_item_role_setting_request_builder.go +++ b/governanceresources/item_role_definitions_item_role_setting_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleDefinitionsItemRoleSettingRequestBuilder) ToGetRequestInformati } 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 *ItemRoleDefinitionsItemRoleSettingRequestBuilder) WithUrl(rawUrl string)(*ItemRoleDefinitionsItemRoleSettingRequestBuilder) { + return NewItemRoleDefinitionsItemRoleSettingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_definitions_request_builder.go b/governanceresources/item_role_definitions_request_builder.go index 16c171c6ea0..8b584bb1f0d 100644 --- a/governanceresources/item_role_definitions_request_builder.go +++ b/governanceresources/item_role_definitions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemRoleDefinitionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemRoleDefinitionsRequestBuilderGetQueryParameters the collection of role defintions for the resource. +// ItemRoleDefinitionsRequestBuilderGetQueryParameters the collection of role definitions for the resource. type ItemRoleDefinitionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type ItemRoleDefinitionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceRoleDefinitionIdString provides operations to manage the roleDefinitions property of the microsoft.graph.governanceResource entity. -func (m *ItemRoleDefinitionsRequestBuilder) ByGovernanceRoleDefinitionIdString(governanceRoleDefinitionId string)(*ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) { +// ByGovernanceRoleDefinitionId provides operations to manage the roleDefinitions property of the microsoft.graph.governanceResource entity. +func (m *ItemRoleDefinitionsRequestBuilder) ByGovernanceRoleDefinitionId(governanceRoleDefinitionId string)(*ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,7 +74,7 @@ func NewItemRoleDefinitionsRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemRoleDefinitionsRequestBuilder) Count()(*ItemRoleDefinitionsCountRequestBuilder) { return NewItemRoleDefinitionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the collection of role defintions for the resource. +// Get the collection of role definitions for the resource. func (m *ItemRoleDefinitionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRoleDefinitionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GovernanceRoleDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +112,7 @@ func (m *ItemRoleDefinitionsRequestBuilder) Post(ctx context.Context, body ie233 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GovernanceRoleDefinitionable), nil } -// ToGetRequestInformation the collection of role defintions for the resource. +// ToGetRequestInformation the collection of role definitions for the resource. func (m *ItemRoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRoleDefinitionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -145,3 +145,7 @@ func (m *ItemRoleDefinitionsRequestBuilder) 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 *ItemRoleDefinitionsRequestBuilder) WithUrl(rawUrl string)(*ItemRoleDefinitionsRequestBuilder) { + return NewItemRoleDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_settings_count_request_builder.go b/governanceresources/item_role_settings_count_request_builder.go index 111a356576a..b613afa62bc 100644 --- a/governanceresources/item_role_settings_count_request_builder.go +++ b/governanceresources/item_role_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRoleSettingsCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemRoleSettingsCountRequestBuilder) WithUrl(rawUrl string)(*ItemRoleSettingsCountRequestBuilder) { + return NewItemRoleSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_settings_governance_role_setting_item_request_builder.go b/governanceresources/item_role_settings_governance_role_setting_item_request_builder.go index 536d571586a..dd57b095fc1 100644 --- a/governanceresources/item_role_settings_governance_role_setting_item_request_builder.go +++ b/governanceresources/item_role_settings_governance_role_setting_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) ToPatchRequest } 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 *ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) WithUrl(rawUrl string)(*ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) { + return NewItemRoleSettingsGovernanceRoleSettingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_settings_item_resource_request_builder.go b/governanceresources/item_role_settings_item_resource_request_builder.go index a620a5ecb3f..183653491ba 100644 --- a/governanceresources/item_role_settings_item_resource_request_builder.go +++ b/governanceresources/item_role_settings_item_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleSettingsItemResourceRequestBuilder) ToGetRequestInformation(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 *ItemRoleSettingsItemResourceRequestBuilder) WithUrl(rawUrl string)(*ItemRoleSettingsItemResourceRequestBuilder) { + return NewItemRoleSettingsItemResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_settings_item_role_definition_request_builder.go b/governanceresources/item_role_settings_item_role_definition_request_builder.go index d4537cc5355..9169c08b424 100644 --- a/governanceresources/item_role_settings_item_role_definition_request_builder.go +++ b/governanceresources/item_role_settings_item_role_definition_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemRoleSettingsItemRoleDefinitionRequestBuilder) ToPatchRequestInforma } 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 *ItemRoleSettingsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemRoleSettingsItemRoleDefinitionRequestBuilder) { + return NewItemRoleSettingsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_settings_item_role_definition_resource_request_builder.go b/governanceresources/item_role_settings_item_role_definition_resource_request_builder.go index 7e2bf7d76e9..bbf4bde1ef5 100644 --- a/governanceresources/item_role_settings_item_role_definition_resource_request_builder.go +++ b/governanceresources/item_role_settings_item_role_definition_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleSettingsItemRoleDefinitionResourceRequestBuilder) ToGetRequestI } 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 *ItemRoleSettingsItemRoleDefinitionResourceRequestBuilder) WithUrl(rawUrl string)(*ItemRoleSettingsItemRoleDefinitionResourceRequestBuilder) { + return NewItemRoleSettingsItemRoleDefinitionResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_settings_item_role_definition_role_setting_request_builder.go b/governanceresources/item_role_settings_item_role_definition_role_setting_request_builder.go index 62b13d0ee4d..fdb447f8493 100644 --- a/governanceresources/item_role_settings_item_role_definition_role_setting_request_builder.go +++ b/governanceresources/item_role_settings_item_role_definition_role_setting_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleSettingsItemRoleDefinitionRoleSettingRequestBuilder) ToGetReque } 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 *ItemRoleSettingsItemRoleDefinitionRoleSettingRequestBuilder) WithUrl(rawUrl string)(*ItemRoleSettingsItemRoleDefinitionRoleSettingRequestBuilder) { + return NewItemRoleSettingsItemRoleDefinitionRoleSettingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/item_role_settings_request_builder.go b/governanceresources/item_role_settings_request_builder.go index c775938d76b..59f3c0d2800 100644 --- a/governanceresources/item_role_settings_request_builder.go +++ b/governanceresources/item_role_settings_request_builder.go @@ -46,8 +46,8 @@ type ItemRoleSettingsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceRoleSettingIdString provides operations to manage the roleSettings property of the microsoft.graph.governanceResource entity. -func (m *ItemRoleSettingsRequestBuilder) ByGovernanceRoleSettingIdString(governanceRoleSettingId string)(*ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) { +// ByGovernanceRoleSettingId provides operations to manage the roleSettings property of the microsoft.graph.governanceResource entity. +func (m *ItemRoleSettingsRequestBuilder) ByGovernanceRoleSettingId(governanceRoleSettingId string)(*ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemRoleSettingsRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ItemRoleSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemRoleSettingsRequestBuilder) { + return NewItemRoleSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceresources/register_request_builder.go b/governanceresources/register_request_builder.go index 1d48c01365f..3da738c6c41 100644 --- a/governanceresources/register_request_builder.go +++ b/governanceresources/register_request_builder.go @@ -62,3 +62,7 @@ func (m *RegisterRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *RegisterRequestBuilder) WithUrl(rawUrl string)(*RegisterRequestBuilder) { + return NewRegisterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceroleassignmentrequests/count_request_builder.go b/governanceroleassignmentrequests/count_request_builder.go index 13dada34384..e8fa6c4c163 100644 --- a/governanceroleassignmentrequests/count_request_builder.go +++ b/governanceroleassignmentrequests/count_request_builder.go @@ -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); +} diff --git a/governanceroleassignmentrequests/governance_role_assignment_request_item_request_builder.go b/governanceroleassignmentrequests/governance_role_assignment_request_item_request_builder.go index 27ac2238f5d..1cfff88e0e7 100644 --- a/governanceroleassignmentrequests/governance_role_assignment_request_item_request_builder.go +++ b/governanceroleassignmentrequests/governance_role_assignment_request_item_request_builder.go @@ -173,3 +173,7 @@ func (m *GovernanceRoleAssignmentRequestItemRequestBuilder) ToPatchRequestInform func (m *GovernanceRoleAssignmentRequestItemRequestBuilder) UpdateRequest()(*ItemUpdateRequestRequestBuilder) { return NewItemUpdateRequestRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *GovernanceRoleAssignmentRequestItemRequestBuilder) WithUrl(rawUrl string)(*GovernanceRoleAssignmentRequestItemRequestBuilder) { + return NewGovernanceRoleAssignmentRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceroleassignmentrequests/governance_role_assignment_requests_request_builder.go b/governanceroleassignmentrequests/governance_role_assignment_requests_request_builder.go index a6da0784061..08e29aea427 100644 --- a/governanceroleassignmentrequests/governance_role_assignment_requests_request_builder.go +++ b/governanceroleassignmentrequests/governance_role_assignment_requests_request_builder.go @@ -46,8 +46,8 @@ type GovernanceRoleAssignmentRequestsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceRoleAssignmentRequestIdString provides operations to manage the collection of governanceRoleAssignmentRequest entities. -func (m *GovernanceRoleAssignmentRequestsRequestBuilder) ByGovernanceRoleAssignmentRequestIdString(governanceRoleAssignmentRequestId string)(*GovernanceRoleAssignmentRequestItemRequestBuilder) { +// ByGovernanceRoleAssignmentRequestId provides operations to manage the collection of governanceRoleAssignmentRequest entities. +func (m *GovernanceRoleAssignmentRequestsRequestBuilder) ByGovernanceRoleAssignmentRequestId(governanceRoleAssignmentRequestId string)(*GovernanceRoleAssignmentRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GovernanceRoleAssignmentRequestsRequestBuilder) ToPostRequestInformatio } 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 *GovernanceRoleAssignmentRequestsRequestBuilder) WithUrl(rawUrl string)(*GovernanceRoleAssignmentRequestsRequestBuilder) { + return NewGovernanceRoleAssignmentRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceroleassignmentrequests/item_cancel_request_builder.go b/governanceroleassignmentrequests/item_cancel_request_builder.go index b4820d60ab7..6603760684e 100644 --- a/governanceroleassignmentrequests/item_cancel_request_builder.go +++ b/governanceroleassignmentrequests/item_cancel_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemCancelRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCancelRequestBuilder) { + return NewItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceroleassignmentrequests/item_resource_request_builder.go b/governanceroleassignmentrequests/item_resource_request_builder.go index 7fd2dbbf14c..5f3f65693db 100644 --- a/governanceroleassignmentrequests/item_resource_request_builder.go +++ b/governanceroleassignmentrequests/item_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemResourceRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemResourceRequestBuilder) WithUrl(rawUrl string)(*ItemResourceRequestBuilder) { + return NewItemResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceroleassignmentrequests/item_role_definition_request_builder.go b/governanceroleassignmentrequests/item_role_definition_request_builder.go index 3f09cee51ec..044dee3475b 100644 --- a/governanceroleassignmentrequests/item_role_definition_request_builder.go +++ b/governanceroleassignmentrequests/item_role_definition_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemRoleDefinitionRequestBuilder) ToPatchRequestInformation(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 *ItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemRoleDefinitionRequestBuilder) { + return NewItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceroleassignmentrequests/item_role_definition_resource_request_builder.go b/governanceroleassignmentrequests/item_role_definition_resource_request_builder.go index 15a009cf6fd..003aeeb5e73 100644 --- a/governanceroleassignmentrequests/item_role_definition_resource_request_builder.go +++ b/governanceroleassignmentrequests/item_role_definition_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleDefinitionResourceRequestBuilder) ToGetRequestInformation(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 *ItemRoleDefinitionResourceRequestBuilder) WithUrl(rawUrl string)(*ItemRoleDefinitionResourceRequestBuilder) { + return NewItemRoleDefinitionResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceroleassignmentrequests/item_role_definition_role_setting_request_builder.go b/governanceroleassignmentrequests/item_role_definition_role_setting_request_builder.go index a7abefeb9b9..93c40a36ac0 100644 --- a/governanceroleassignmentrequests/item_role_definition_role_setting_request_builder.go +++ b/governanceroleassignmentrequests/item_role_definition_role_setting_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleDefinitionRoleSettingRequestBuilder) ToGetRequestInformation(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 *ItemRoleDefinitionRoleSettingRequestBuilder) WithUrl(rawUrl string)(*ItemRoleDefinitionRoleSettingRequestBuilder) { + return NewItemRoleDefinitionRoleSettingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceroleassignmentrequests/item_subject_request_builder.go b/governanceroleassignmentrequests/item_subject_request_builder.go index daeaab8390b..fec57790553 100644 --- a/governanceroleassignmentrequests/item_subject_request_builder.go +++ b/governanceroleassignmentrequests/item_subject_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemSubjectRequestBuilder) ToPatchRequestInformation(ctx context.Contex } 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 *ItemSubjectRequestBuilder) WithUrl(rawUrl string)(*ItemSubjectRequestBuilder) { + return NewItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceroleassignmentrequests/item_update_request_request_builder.go b/governanceroleassignmentrequests/item_update_request_request_builder.go index d70648c0b42..2711c65d30a 100644 --- a/governanceroleassignmentrequests/item_update_request_request_builder.go +++ b/governanceroleassignmentrequests/item_update_request_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemUpdateRequestRequestBuilder) ToPostRequestInformation(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 *ItemUpdateRequestRequestBuilder) WithUrl(rawUrl string)(*ItemUpdateRequestRequestBuilder) { + return NewItemUpdateRequestRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceroleassignments/count_request_builder.go b/governanceroleassignments/count_request_builder.go index 1ad4fe410b7..62cecc8f8e1 100644 --- a/governanceroleassignments/count_request_builder.go +++ b/governanceroleassignments/count_request_builder.go @@ -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); +} diff --git a/governanceroleassignments/export_request_builder.go b/governanceroleassignments/export_request_builder.go index 9cfa03d147d..af77547b3fe 100644 --- a/governanceroleassignments/export_request_builder.go +++ b/governanceroleassignments/export_request_builder.go @@ -80,3 +80,7 @@ func (m *ExportRequestBuilder) ToGetRequestInformation(ctx context.Context, requ } 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 *ExportRequestBuilder) WithUrl(rawUrl string)(*ExportRequestBuilder) { + return NewExportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceroleassignments/governance_role_assignment_item_request_builder.go b/governanceroleassignments/governance_role_assignment_item_request_builder.go index 1c6d463610d..c336222cd7a 100644 --- a/governanceroleassignments/governance_role_assignment_item_request_builder.go +++ b/governanceroleassignments/governance_role_assignment_item_request_builder.go @@ -169,3 +169,7 @@ func (m *GovernanceRoleAssignmentItemRequestBuilder) ToPatchRequestInformation(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 *GovernanceRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*GovernanceRoleAssignmentItemRequestBuilder) { + return NewGovernanceRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceroleassignments/governance_role_assignments_request_builder.go b/governanceroleassignments/governance_role_assignments_request_builder.go index daa81fb5df5..fc1d52dff3d 100644 --- a/governanceroleassignments/governance_role_assignments_request_builder.go +++ b/governanceroleassignments/governance_role_assignments_request_builder.go @@ -46,8 +46,8 @@ type GovernanceRoleAssignmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceRoleAssignmentIdString provides operations to manage the collection of governanceRoleAssignment entities. -func (m *GovernanceRoleAssignmentsRequestBuilder) ByGovernanceRoleAssignmentIdString(governanceRoleAssignmentId string)(*GovernanceRoleAssignmentItemRequestBuilder) { +// ByGovernanceRoleAssignmentId provides operations to manage the collection of governanceRoleAssignment entities. +func (m *GovernanceRoleAssignmentsRequestBuilder) ByGovernanceRoleAssignmentId(governanceRoleAssignmentId string)(*GovernanceRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *GovernanceRoleAssignmentsRequestBuilder) ToPostRequestInformation(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 *GovernanceRoleAssignmentsRequestBuilder) WithUrl(rawUrl string)(*GovernanceRoleAssignmentsRequestBuilder) { + return NewGovernanceRoleAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceroleassignments/item_linked_eligible_role_assignment_request_builder.go b/governanceroleassignments/item_linked_eligible_role_assignment_request_builder.go index 8891a52234b..10cd75cfb2a 100644 --- a/governanceroleassignments/item_linked_eligible_role_assignment_request_builder.go +++ b/governanceroleassignments/item_linked_eligible_role_assignment_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemLinkedEligibleRoleAssignmentRequestBuilder) 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 *ItemLinkedEligibleRoleAssignmentRequestBuilder) WithUrl(rawUrl string)(*ItemLinkedEligibleRoleAssignmentRequestBuilder) { + return NewItemLinkedEligibleRoleAssignmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceroleassignments/item_resource_request_builder.go b/governanceroleassignments/item_resource_request_builder.go index 3318519cffc..f338a355662 100644 --- a/governanceroleassignments/item_resource_request_builder.go +++ b/governanceroleassignments/item_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemResourceRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemResourceRequestBuilder) WithUrl(rawUrl string)(*ItemResourceRequestBuilder) { + return NewItemResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceroleassignments/item_role_definition_request_builder.go b/governanceroleassignments/item_role_definition_request_builder.go index 3d5b2ac4420..6378f376a2d 100644 --- a/governanceroleassignments/item_role_definition_request_builder.go +++ b/governanceroleassignments/item_role_definition_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemRoleDefinitionRequestBuilder) ToPatchRequestInformation(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 *ItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemRoleDefinitionRequestBuilder) { + return NewItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceroleassignments/item_role_definition_resource_request_builder.go b/governanceroleassignments/item_role_definition_resource_request_builder.go index 581798c694b..faaba7822ff 100644 --- a/governanceroleassignments/item_role_definition_resource_request_builder.go +++ b/governanceroleassignments/item_role_definition_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleDefinitionResourceRequestBuilder) ToGetRequestInformation(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 *ItemRoleDefinitionResourceRequestBuilder) WithUrl(rawUrl string)(*ItemRoleDefinitionResourceRequestBuilder) { + return NewItemRoleDefinitionResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceroleassignments/item_role_definition_role_setting_request_builder.go b/governanceroleassignments/item_role_definition_role_setting_request_builder.go index c214b1643ce..1a4663a89ff 100644 --- a/governanceroleassignments/item_role_definition_role_setting_request_builder.go +++ b/governanceroleassignments/item_role_definition_role_setting_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleDefinitionRoleSettingRequestBuilder) ToGetRequestInformation(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 *ItemRoleDefinitionRoleSettingRequestBuilder) WithUrl(rawUrl string)(*ItemRoleDefinitionRoleSettingRequestBuilder) { + return NewItemRoleDefinitionRoleSettingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceroleassignments/item_subject_request_builder.go b/governanceroleassignments/item_subject_request_builder.go index 55c4e561891..10824d998d9 100644 --- a/governanceroleassignments/item_subject_request_builder.go +++ b/governanceroleassignments/item_subject_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemSubjectRequestBuilder) ToPatchRequestInformation(ctx context.Contex } 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 *ItemSubjectRequestBuilder) WithUrl(rawUrl string)(*ItemSubjectRequestBuilder) { + return NewItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceroledefinitions/count_request_builder.go b/governanceroledefinitions/count_request_builder.go index c0e3defddce..fc35162dc06 100644 --- a/governanceroledefinitions/count_request_builder.go +++ b/governanceroledefinitions/count_request_builder.go @@ -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); +} diff --git a/governanceroledefinitions/governance_role_definition_item_request_builder.go b/governanceroledefinitions/governance_role_definition_item_request_builder.go index e79e6fb86f5..8614d4fb110 100644 --- a/governanceroledefinitions/governance_role_definition_item_request_builder.go +++ b/governanceroledefinitions/governance_role_definition_item_request_builder.go @@ -161,3 +161,7 @@ func (m *GovernanceRoleDefinitionItemRequestBuilder) ToPatchRequestInformation(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 *GovernanceRoleDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*GovernanceRoleDefinitionItemRequestBuilder) { + return NewGovernanceRoleDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceroledefinitions/governance_role_definitions_request_builder.go b/governanceroledefinitions/governance_role_definitions_request_builder.go index c3ccd0cb971..7205efab47a 100644 --- a/governanceroledefinitions/governance_role_definitions_request_builder.go +++ b/governanceroledefinitions/governance_role_definitions_request_builder.go @@ -46,8 +46,8 @@ type GovernanceRoleDefinitionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceRoleDefinitionIdString provides operations to manage the collection of governanceRoleDefinition entities. -func (m *GovernanceRoleDefinitionsRequestBuilder) ByGovernanceRoleDefinitionIdString(governanceRoleDefinitionId string)(*GovernanceRoleDefinitionItemRequestBuilder) { +// ByGovernanceRoleDefinitionId provides operations to manage the collection of governanceRoleDefinition entities. +func (m *GovernanceRoleDefinitionsRequestBuilder) ByGovernanceRoleDefinitionId(governanceRoleDefinitionId string)(*GovernanceRoleDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GovernanceRoleDefinitionsRequestBuilder) ToPostRequestInformation(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 *GovernanceRoleDefinitionsRequestBuilder) WithUrl(rawUrl string)(*GovernanceRoleDefinitionsRequestBuilder) { + return NewGovernanceRoleDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceroledefinitions/item_resource_request_builder.go b/governanceroledefinitions/item_resource_request_builder.go index 1103c3e11f1..8eed469a2b4 100644 --- a/governanceroledefinitions/item_resource_request_builder.go +++ b/governanceroledefinitions/item_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemResourceRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemResourceRequestBuilder) WithUrl(rawUrl string)(*ItemResourceRequestBuilder) { + return NewItemResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governanceroledefinitions/item_role_setting_request_builder.go b/governanceroledefinitions/item_role_setting_request_builder.go index ac4589b6b62..60291ef9970 100644 --- a/governanceroledefinitions/item_role_setting_request_builder.go +++ b/governanceroledefinitions/item_role_setting_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleSettingRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemRoleSettingRequestBuilder) WithUrl(rawUrl string)(*ItemRoleSettingRequestBuilder) { + return NewItemRoleSettingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governancerolesettings/count_request_builder.go b/governancerolesettings/count_request_builder.go index 23687793d6f..af263ce128f 100644 --- a/governancerolesettings/count_request_builder.go +++ b/governancerolesettings/count_request_builder.go @@ -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); +} diff --git a/governancerolesettings/governance_role_setting_item_request_builder.go b/governancerolesettings/governance_role_setting_item_request_builder.go index 0fcf191a605..2242ed98184 100644 --- a/governancerolesettings/governance_role_setting_item_request_builder.go +++ b/governancerolesettings/governance_role_setting_item_request_builder.go @@ -161,3 +161,7 @@ func (m *GovernanceRoleSettingItemRequestBuilder) ToPatchRequestInformation(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 *GovernanceRoleSettingItemRequestBuilder) WithUrl(rawUrl string)(*GovernanceRoleSettingItemRequestBuilder) { + return NewGovernanceRoleSettingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governancerolesettings/governance_role_settings_request_builder.go b/governancerolesettings/governance_role_settings_request_builder.go index 093feafd6ef..30fbca99b42 100644 --- a/governancerolesettings/governance_role_settings_request_builder.go +++ b/governancerolesettings/governance_role_settings_request_builder.go @@ -46,8 +46,8 @@ type GovernanceRoleSettingsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceRoleSettingIdString provides operations to manage the collection of governanceRoleSetting entities. -func (m *GovernanceRoleSettingsRequestBuilder) ByGovernanceRoleSettingIdString(governanceRoleSettingId string)(*GovernanceRoleSettingItemRequestBuilder) { +// ByGovernanceRoleSettingId provides operations to manage the collection of governanceRoleSetting entities. +func (m *GovernanceRoleSettingsRequestBuilder) ByGovernanceRoleSettingId(governanceRoleSettingId string)(*GovernanceRoleSettingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GovernanceRoleSettingsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *GovernanceRoleSettingsRequestBuilder) WithUrl(rawUrl string)(*GovernanceRoleSettingsRequestBuilder) { + return NewGovernanceRoleSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governancerolesettings/item_resource_request_builder.go b/governancerolesettings/item_resource_request_builder.go index 65969190f7f..0de3a582fb1 100644 --- a/governancerolesettings/item_resource_request_builder.go +++ b/governancerolesettings/item_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemResourceRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemResourceRequestBuilder) WithUrl(rawUrl string)(*ItemResourceRequestBuilder) { + return NewItemResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governancerolesettings/item_role_definition_request_builder.go b/governancerolesettings/item_role_definition_request_builder.go index 5816eb7fcce..9413e64536a 100644 --- a/governancerolesettings/item_role_definition_request_builder.go +++ b/governancerolesettings/item_role_definition_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemRoleDefinitionRequestBuilder) ToPatchRequestInformation(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 *ItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemRoleDefinitionRequestBuilder) { + return NewItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governancerolesettings/item_role_definition_resource_request_builder.go b/governancerolesettings/item_role_definition_resource_request_builder.go index 97ffb7f4eec..83d67beba03 100644 --- a/governancerolesettings/item_role_definition_resource_request_builder.go +++ b/governancerolesettings/item_role_definition_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleDefinitionResourceRequestBuilder) ToGetRequestInformation(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 *ItemRoleDefinitionResourceRequestBuilder) WithUrl(rawUrl string)(*ItemRoleDefinitionResourceRequestBuilder) { + return NewItemRoleDefinitionResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governancerolesettings/item_role_definition_role_setting_request_builder.go b/governancerolesettings/item_role_definition_role_setting_request_builder.go index 9ae61e19e76..31d1e7c7235 100644 --- a/governancerolesettings/item_role_definition_role_setting_request_builder.go +++ b/governancerolesettings/item_role_definition_role_setting_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleDefinitionRoleSettingRequestBuilder) ToGetRequestInformation(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 *ItemRoleDefinitionRoleSettingRequestBuilder) WithUrl(rawUrl string)(*ItemRoleDefinitionRoleSettingRequestBuilder) { + return NewItemRoleDefinitionRoleSettingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governancesubjects/count_request_builder.go b/governancesubjects/count_request_builder.go index 3c3178b5980..3d27e4c9235 100644 --- a/governancesubjects/count_request_builder.go +++ b/governancesubjects/count_request_builder.go @@ -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); +} diff --git a/governancesubjects/governance_subject_item_request_builder.go b/governancesubjects/governance_subject_item_request_builder.go index ae36127e8c4..9aafd3d01ab 100644 --- a/governancesubjects/governance_subject_item_request_builder.go +++ b/governancesubjects/governance_subject_item_request_builder.go @@ -153,3 +153,7 @@ func (m *GovernanceSubjectItemRequestBuilder) ToPatchRequestInformation(ctx cont } 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 *GovernanceSubjectItemRequestBuilder) WithUrl(rawUrl string)(*GovernanceSubjectItemRequestBuilder) { + return NewGovernanceSubjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/governancesubjects/governance_subjects_request_builder.go b/governancesubjects/governance_subjects_request_builder.go index 3d3dce5d240..6ef025653eb 100644 --- a/governancesubjects/governance_subjects_request_builder.go +++ b/governancesubjects/governance_subjects_request_builder.go @@ -46,8 +46,8 @@ type GovernanceSubjectsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceSubjectIdString provides operations to manage the collection of governanceSubject entities. -func (m *GovernanceSubjectsRequestBuilder) ByGovernanceSubjectIdString(governanceSubjectId string)(*GovernanceSubjectItemRequestBuilder) { +// ByGovernanceSubjectId provides operations to manage the collection of governanceSubject entities. +func (m *GovernanceSubjectsRequestBuilder) ByGovernanceSubjectId(governanceSubjectId string)(*GovernanceSubjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GovernanceSubjectsRequestBuilder) 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 *GovernanceSubjectsRequestBuilder) WithUrl(rawUrl string)(*GovernanceSubjectsRequestBuilder) { + return NewGovernanceSubjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/graph_request_adapter.go b/graph_request_adapter.go index 3ab28a0da1f..0c63e2a650a 100644 --- a/graph_request_adapter.go +++ b/graph_request_adapter.go @@ -10,7 +10,7 @@ import ( var clientOptions = core.GraphClientOptions{ GraphServiceVersion: "beta", - GraphServiceLibraryVersion: "0.78.0", + GraphServiceLibraryVersion: "0.79.0", } // GetDefaultClientOptions returns the default client options used by the GraphRequestAdapterBase and the middleware. @@ -107,5 +107,6 @@ func NewGraphRequestAdapterWithParseNodeFactoryAndSerializationWriterFactoryAndH + diff --git a/grouplifecyclepolicies/count_request_builder.go b/grouplifecyclepolicies/count_request_builder.go index 5465a50ad4b..a0c50e7900b 100644 --- a/grouplifecyclepolicies/count_request_builder.go +++ b/grouplifecyclepolicies/count_request_builder.go @@ -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); +} diff --git a/grouplifecyclepolicies/group_lifecycle_policies_request_builder.go b/grouplifecyclepolicies/group_lifecycle_policies_request_builder.go index 8dedcfde2a3..7f74c67d7b5 100644 --- a/grouplifecyclepolicies/group_lifecycle_policies_request_builder.go +++ b/grouplifecyclepolicies/group_lifecycle_policies_request_builder.go @@ -46,8 +46,8 @@ type GroupLifecyclePoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupLifecyclePolicyIdString provides operations to manage the collection of groupLifecyclePolicy entities. -func (m *GroupLifecyclePoliciesRequestBuilder) ByGroupLifecyclePolicyIdString(groupLifecyclePolicyId string)(*GroupLifecyclePolicyItemRequestBuilder) { +// ByGroupLifecyclePolicyId provides operations to manage the collection of groupLifecyclePolicy entities. +func (m *GroupLifecyclePoliciesRequestBuilder) ByGroupLifecyclePolicyId(groupLifecyclePolicyId string)(*GroupLifecyclePolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *GroupLifecyclePoliciesRequestBuilder) ToPostRequestInformation(ctx cont } 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 *GroupLifecyclePoliciesRequestBuilder) WithUrl(rawUrl string)(*GroupLifecyclePoliciesRequestBuilder) { + return NewGroupLifecyclePoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/grouplifecyclepolicies/group_lifecycle_policy_item_request_builder.go b/grouplifecyclepolicies/group_lifecycle_policy_item_request_builder.go index 96970387ed6..da08e6d4f09 100644 --- a/grouplifecyclepolicies/group_lifecycle_policy_item_request_builder.go +++ b/grouplifecyclepolicies/group_lifecycle_policy_item_request_builder.go @@ -170,3 +170,7 @@ func (m *GroupLifecyclePolicyItemRequestBuilder) 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 *GroupLifecyclePolicyItemRequestBuilder) WithUrl(rawUrl string)(*GroupLifecyclePolicyItemRequestBuilder) { + return NewGroupLifecyclePolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/grouplifecyclepolicies/item_add_group_request_builder.go b/grouplifecyclepolicies/item_add_group_request_builder.go index 9e5dc3093de..a4d539eacef 100644 --- a/grouplifecyclepolicies/item_add_group_request_builder.go +++ b/grouplifecyclepolicies/item_add_group_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemAddGroupRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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 *ItemAddGroupRequestBuilder) WithUrl(rawUrl string)(*ItemAddGroupRequestBuilder) { + return NewItemAddGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/grouplifecyclepolicies/item_remove_group_request_builder.go b/grouplifecyclepolicies/item_remove_group_request_builder.go index da21270df05..61e4d5eff1c 100644 --- a/grouplifecyclepolicies/item_remove_group_request_builder.go +++ b/grouplifecyclepolicies/item_remove_group_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemRemoveGroupRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *ItemRemoveGroupRequestBuilder) WithUrl(rawUrl string)(*ItemRemoveGroupRequestBuilder) { + return NewItemRemoveGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/grouplifecyclepolicies/renew_group_request_builder.go b/grouplifecyclepolicies/renew_group_request_builder.go index 088330e29eb..61c4953c2f1 100644 --- a/grouplifecyclepolicies/renew_group_request_builder.go +++ b/grouplifecyclepolicies/renew_group_request_builder.go @@ -69,3 +69,7 @@ func (m *RenewGroupRequestBuilder) ToPostRequestInformation(ctx context.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 *RenewGroupRequestBuilder) WithUrl(rawUrl string)(*RenewGroupRequestBuilder) { + return NewRenewGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/count_request_builder.go b/groups/count_request_builder.go index 692c096f6dc..ac827cf3b50 100644 --- a/groups/count_request_builder.go +++ b/groups/count_request_builder.go @@ -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); +} diff --git a/groups/delta_request_builder.go b/groups/delta_request_builder.go index 4c299b4d0d2..b285139b1f9 100644 --- a/groups/delta_request_builder.go +++ b/groups/delta_request_builder.go @@ -84,3 +84,7 @@ func (m *DeltaRequestBuilder) 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 *DeltaRequestBuilder) WithUrl(rawUrl string)(*DeltaRequestBuilder) { + return NewDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/evaluate_dynamic_membership_request_builder.go b/groups/evaluate_dynamic_membership_request_builder.go index b9882711092..17fd61f0131 100644 --- a/groups/evaluate_dynamic_membership_request_builder.go +++ b/groups/evaluate_dynamic_membership_request_builder.go @@ -70,3 +70,7 @@ func (m *EvaluateDynamicMembershipRequestBuilder) ToPostRequestInformation(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 *EvaluateDynamicMembershipRequestBuilder) WithUrl(rawUrl string)(*EvaluateDynamicMembershipRequestBuilder) { + return NewEvaluateDynamicMembershipRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/get_by_ids_request_builder.go b/groups/get_by_ids_request_builder.go index 5b8fcc7e47d..ddeb79d7364 100644 --- a/groups/get_by_ids_request_builder.go +++ b/groups/get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *GetByIdsRequestBuilder) WithUrl(rawUrl string)(*GetByIdsRequestBuilder) { + return NewGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/get_user_owned_objects_request_builder.go b/groups/get_user_owned_objects_request_builder.go index 6344775a214..3865ee4d013 100644 --- a/groups/get_user_owned_objects_request_builder.go +++ b/groups/get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) 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 *GetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*GetUserOwnedObjectsRequestBuilder) { + return NewGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/group_item_request_builder.go b/groups/group_item_request_builder.go index 6fb4f2e4500..b90afbb4e80 100644 --- a/groups/group_item_request_builder.go +++ b/groups/group_item_request_builder.go @@ -338,3 +338,7 @@ func (m *GroupItemRequestBuilder) UnsubscribeByMail()(*ItemUnsubscribeByMailRequ func (m *GroupItemRequestBuilder) ValidateProperties()(*ItemValidatePropertiesRequestBuilder) { return NewItemValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *GroupItemRequestBuilder) WithUrl(rawUrl string)(*GroupItemRequestBuilder) { + return NewGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/groups_request_builder.go b/groups/groups_request_builder.go index 2273e5eca7f..aab15d60420 100644 --- a/groups/groups_request_builder.go +++ b/groups/groups_request_builder.go @@ -46,8 +46,8 @@ type GroupsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupIdString provides operations to manage the collection of group entities. -func (m *GroupsRequestBuilder) ByGroupIdString(groupId string)(*GroupItemRequestBuilder) { +// ByGroupId provides operations to manage the collection of group entities. +func (m *GroupsRequestBuilder) ByGroupId(groupId string)(*GroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -171,3 +171,7 @@ func (m *GroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, bod func (m *GroupsRequestBuilder) ValidateProperties()(*ValidatePropertiesRequestBuilder) { return NewValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *GroupsRequestBuilder) WithUrl(rawUrl string)(*GroupsRequestBuilder) { + return NewGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_accepted_senders_count_request_builder.go b/groups/item_accepted_senders_count_request_builder.go index 3a94286059f..ab3dbf24618 100644 --- a/groups/item_accepted_senders_count_request_builder.go +++ b/groups/item_accepted_senders_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemAcceptedSendersCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemAcceptedSendersCountRequestBuilder) WithUrl(rawUrl string)(*ItemAcceptedSendersCountRequestBuilder) { + return NewItemAcceptedSendersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_accepted_senders_item_ref_request_builder.go b/groups/item_accepted_senders_item_ref_request_builder.go index 340a98f2c7a..8654431c014 100644 --- a/groups/item_accepted_senders_item_ref_request_builder.go +++ b/groups/item_accepted_senders_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *ItemAcceptedSendersItemRefRequestBuilder) ToDeleteRequestInformation(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 *ItemAcceptedSendersItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemAcceptedSendersItemRefRequestBuilder) { + return NewItemAcceptedSendersItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_accepted_senders_ref_request_builder.go b/groups/item_accepted_senders_ref_request_builder.go index 50d42900664..9fed8ed8ef5 100644 --- a/groups/item_accepted_senders_ref_request_builder.go +++ b/groups/item_accepted_senders_ref_request_builder.go @@ -75,7 +75,7 @@ func (m *ItemAcceptedSendersRefRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add a new user or group to the acceptedSender list. Specify the user or group in @odata.id in the request body. Users in the accepted senders list can post to conversations of the group . Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. +// Post add a new user or group to the acceptedSender list. Specify the user or group in @odata.id in the request body. Users in the accepted senders list can post to conversations of the group. Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you'll get an error. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/group-post-acceptedsenders?view=graph-rest-1.0 @@ -110,7 +110,7 @@ func (m *ItemAcceptedSendersRefRequestBuilder) ToGetRequestInformation(ctx conte } return requestInfo, nil } -// ToPostRequestInformation add a new user or group to the acceptedSender list. Specify the user or group in @odata.id in the request body. Users in the accepted senders list can post to conversations of the group . Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. +// ToPostRequestInformation add a new user or group to the acceptedSender list. Specify the user or group in @odata.id in the request body. Users in the accepted senders list can post to conversations of the group. Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you'll get an error. func (m *ItemAcceptedSendersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemAcceptedSendersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -126,3 +126,7 @@ func (m *ItemAcceptedSendersRefRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemAcceptedSendersRefRequestBuilder) WithUrl(rawUrl string)(*ItemAcceptedSendersRefRequestBuilder) { + return NewItemAcceptedSendersRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_accepted_senders_request_builder.go b/groups/item_accepted_senders_request_builder.go index d66197a9b1a..1f184afdc1a 100644 --- a/groups/item_accepted_senders_request_builder.go +++ b/groups/item_accepted_senders_request_builder.go @@ -35,8 +35,8 @@ type ItemAcceptedSendersRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemAcceptedSendersRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.item.acceptedSenders.item collection -func (m *ItemAcceptedSendersRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemAcceptedSendersDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.item.acceptedSenders.item collection +func (m *ItemAcceptedSendersRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemAcceptedSendersDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemAcceptedSendersRequestBuilder) ToGetRequestInformation(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 *ItemAcceptedSendersRequestBuilder) WithUrl(rawUrl string)(*ItemAcceptedSendersRequestBuilder) { + return NewItemAcceptedSendersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_add_favorite_request_builder.go b/groups/item_add_favorite_request_builder.go index 39ebeeb3c1e..1ed65d9d440 100644 --- a/groups/item_add_favorite_request_builder.go +++ b/groups/item_add_favorite_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemAddFavoriteRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *ItemAddFavoriteRequestBuilder) WithUrl(rawUrl string)(*ItemAddFavoriteRequestBuilder) { + return NewItemAddFavoriteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_app_role_assignments_app_role_assignment_item_request_builder.go b/groups/item_app_role_assignments_app_role_assignment_item_request_builder.go index d1abef052d5..f0c98b9dff4 100644 --- a/groups/item_app_role_assignments_app_role_assignment_item_request_builder.go +++ b/groups/item_app_role_assignments_app_role_assignment_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) ToPatchReque } 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 *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) { + return NewItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_app_role_assignments_count_request_builder.go b/groups/item_app_role_assignments_count_request_builder.go index 5e5a8a62773..a95e82177b2 100644 --- a/groups/item_app_role_assignments_count_request_builder.go +++ b/groups/item_app_role_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAppRoleAssignmentsCountRequestBuilder) ToGetRequestInformation(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 *ItemAppRoleAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAppRoleAssignmentsCountRequestBuilder) { + return NewItemAppRoleAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_app_role_assignments_request_builder.go b/groups/item_app_role_assignments_request_builder.go index 5040d05d582..4591b340257 100644 --- a/groups/item_app_role_assignments_request_builder.go +++ b/groups/item_app_role_assignments_request_builder.go @@ -46,8 +46,8 @@ type ItemAppRoleAssignmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAppRoleAssignmentIdString provides operations to manage the appRoleAssignments property of the microsoft.graph.group entity. -func (m *ItemAppRoleAssignmentsRequestBuilder) ByAppRoleAssignmentIdString(appRoleAssignmentId string)(*ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) { +// ByAppRoleAssignmentId provides operations to manage the appRoleAssignments property of the microsoft.graph.group entity. +func (m *ItemAppRoleAssignmentsRequestBuilder) ByAppRoleAssignmentId(appRoleAssignmentId string)(*ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemAppRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemAppRoleAssignmentsRequestBuilder) WithUrl(rawUrl string)(*ItemAppRoleAssignmentsRequestBuilder) { + return NewItemAppRoleAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_assign_license_request_builder.go b/groups/item_assign_license_request_builder.go index 034bb23c92f..bcc690df668 100644 --- a/groups/item_assign_license_request_builder.go +++ b/groups/item_assign_license_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemAssignLicenseRequestBuilder) ToPostRequestInformation(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 *ItemAssignLicenseRequestBuilder) WithUrl(rawUrl string)(*ItemAssignLicenseRequestBuilder) { + return NewItemAssignLicenseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_allowed_calendar_sharing_roles_with_user_request_builder.go b/groups/item_calendar_allowed_calendar_sharing_roles_with_user_request_builder.go index eae2b8298df..ef82da37230 100644 --- a/groups/item_calendar_allowed_calendar_sharing_roles_with_user_request_builder.go +++ b/groups/item_calendar_allowed_calendar_sharing_roles_with_user_request_builder.go @@ -83,3 +83,7 @@ func (m *ItemCalendarAllowedCalendarSharingRolesWithUserRequestBuilder) ToGetReq } 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 *ItemCalendarAllowedCalendarSharingRolesWithUserRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarAllowedCalendarSharingRolesWithUserRequestBuilder) { + return NewItemCalendarAllowedCalendarSharingRolesWithUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go b/groups/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go index 93fd653e130..ecb2f7d763f 100644 --- a/groups/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go +++ b/groups/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) To } 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 *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) { + return NewItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_permissions_count_request_builder.go b/groups/item_calendar_calendar_permissions_count_request_builder.go index ab4b541c414..2af92298760 100644 --- a/groups/item_calendar_calendar_permissions_count_request_builder.go +++ b/groups/item_calendar_calendar_permissions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarPermissionsCountRequestBuilder) ToGetRequestInforma } 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 *ItemCalendarCalendarPermissionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarPermissionsCountRequestBuilder) { + return NewItemCalendarCalendarPermissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_permissions_request_builder.go b/groups/item_calendar_calendar_permissions_request_builder.go index 5afb4ac5bc4..435eb95ee6a 100644 --- a/groups/item_calendar_calendar_permissions_request_builder.go +++ b/groups/item_calendar_calendar_permissions_request_builder.go @@ -42,8 +42,8 @@ type ItemCalendarCalendarPermissionsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCalendarPermissionIdString provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. -func (m *ItemCalendarCalendarPermissionsRequestBuilder) ByCalendarPermissionIdString(calendarPermissionId string)(*ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) { +// ByCalendarPermissionId provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. +func (m *ItemCalendarCalendarPermissionsRequestBuilder) ByCalendarPermissionId(calendarPermissionId string)(*ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -144,3 +144,7 @@ func (m *ItemCalendarCalendarPermissionsRequestBuilder) 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 *ItemCalendarCalendarPermissionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarPermissionsRequestBuilder) { + return NewItemCalendarCalendarPermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_count_request_builder.go b/groups/item_calendar_calendar_view_count_request_builder.go index e9ea589a125..f5c86f0dda6 100644 --- a/groups/item_calendar_calendar_view_count_request_builder.go +++ b/groups/item_calendar_calendar_view_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewCountRequestBuilder) ToGetRequestInformation(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 *ItemCalendarCalendarViewCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewCountRequestBuilder) { + return NewItemCalendarCalendarViewCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_delta_request_builder.go b/groups/item_calendar_calendar_view_delta_request_builder.go index df7373a8230..3ec0ceb017c 100644 --- a/groups/item_calendar_calendar_view_delta_request_builder.go +++ b/groups/item_calendar_calendar_view_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarCalendarViewDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarCalendarViewDeltaRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarCalendarViewDeltaRequestBuilder) ToGetRequestInformation(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 *ItemCalendarCalendarViewDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewDeltaRequestBuilder) { + return NewItemCalendarCalendarViewDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_event_item_request_builder.go b/groups/item_calendar_calendar_view_event_item_request_builder.go index 80be2d382da..8adddc6bb02 100644 --- a/groups/item_calendar_calendar_view_event_item_request_builder.go +++ b/groups/item_calendar_calendar_view_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarCalendarViewEventItemRequestBuilder struct { // ItemCalendarCalendarViewEventItemRequestBuilderGetQueryParameters the calendar view for the calendar. Navigation property. Read-only. type ItemCalendarCalendarViewEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarCalendarViewEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarViewEventItemRequestBuilderGetRequestConfiguration struct { @@ -125,3 +125,7 @@ func (m *ItemCalendarCalendarViewEventItemRequestBuilder) 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 *ItemCalendarCalendarViewEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewEventItemRequestBuilder) { + return NewItemCalendarCalendarViewEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_accept_request_builder.go b/groups/item_calendar_calendar_view_item_accept_request_builder.go index 1b9540ab97a..1c94e48f096 100644 --- a/groups/item_calendar_calendar_view_item_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemAcceptRequestBuilder) ToPostRequestInformat } 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 *ItemCalendarCalendarViewItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemAcceptRequestBuilder) { + return NewItemCalendarCalendarViewItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go index 0009c9bf926..763ab2651ed 100644 --- a/groups/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderDeleteRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) De } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) To } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) To } 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 *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_attachments_count_request_builder.go b/groups/item_calendar_calendar_view_item_attachments_count_request_builder.go index 99ccbec64b7..7b47824aeba 100644 --- a/groups/item_calendar_calendar_view_item_attachments_count_request_builder.go +++ b/groups/item_calendar_calendar_view_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsCountRequestBuilder) ToGetReques } 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 *ItemCalendarCalendarViewItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemAttachmentsCountRequestBuilder) { + return NewItemCalendarCalendarViewItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go index a4ac3bb0aca..f959fa5e615 100644 --- a/groups/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilde } 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 *ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_attachments_request_builder.go b/groups/item_calendar_calendar_view_item_attachments_request_builder.go index e0d1ce04ae4..23e841839b1 100644 --- a/groups/item_calendar_calendar_view_item_attachments_request_builder.go +++ b/groups/item_calendar_calendar_view_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarCalendarViewItemAttachmentsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) Get(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) ToGetRequestInfo } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) ToPostRequestInf } 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 *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemAttachmentsRequestBuilder) { + return NewItemCalendarCalendarViewItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_calendar_request_builder.go b/groups/item_calendar_calendar_view_item_calendar_request_builder.go index b441310ebe2..1d9e26915c7 100644 --- a/groups/item_calendar_calendar_view_item_calendar_request_builder.go +++ b/groups/item_calendar_calendar_view_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarCalendarViewItemCalendarRequestBuilder) ToGetRequestInforma } 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 *ItemCalendarCalendarViewItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemCalendarRequestBuilder) { + return NewItemCalendarCalendarViewItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_cancel_request_builder.go b/groups/item_calendar_calendar_view_item_cancel_request_builder.go index 21fdfaf4177..cb5a9228c65 100644 --- a/groups/item_calendar_calendar_view_item_cancel_request_builder.go +++ b/groups/item_calendar_calendar_view_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemCancelRequestBuilder) ToPostRequestInformat } 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 *ItemCalendarCalendarViewItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemCancelRequestBuilder) { + return NewItemCalendarCalendarViewItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_decline_request_builder.go b/groups/item_calendar_calendar_view_item_decline_request_builder.go index 94dcedddf36..8c3e0b22335 100644 --- a/groups/item_calendar_calendar_view_item_decline_request_builder.go +++ b/groups/item_calendar_calendar_view_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemDeclineRequestBuilder) ToPostRequestInforma } 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 *ItemCalendarCalendarViewItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemDeclineRequestBuilder) { + return NewItemCalendarCalendarViewItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go index 316d4cee2b0..257bc91b6de 100644 --- a/groups/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarCalendarViewItemDismissReminderRequestBuilder) ToPostReques } 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 *ItemCalendarCalendarViewItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemDismissReminderRequestBuilder) { + return NewItemCalendarCalendarViewItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_count_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_count_request_builder.go index 9a6d7ee36cc..370043c2cac 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_count_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesCountRequestBuilder) To } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesCountRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go index 2520ba4b9fe..a9b4b7948e1 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQuery // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQuery // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) To } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_event_item_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_event_item_request_builder.go index 61263b3ddaf..2a553b01d26 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_event_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_event_item_request_builder.go @@ -119,3 +119,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesEventItemRequestBuilder } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go index 4768cdf4eee..0855f77eb70 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilde } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 9b0c9198a87..36fae570511 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachme } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachme } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachme } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go index d132ae28348..a63e45400f5 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCountReq } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index d4bbce8c362..368b4a3c72a 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUpl urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUp } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUp } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go index 9dc2fc56594..75359d79a70 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestB } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestB } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_calendar_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_calendar_request_builder.go index acc8361f9d3..45073ba91e0 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_calendar_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemCalendarRequestBuil } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go index 9cb7a46b152..338e49d9ec6 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemCancelRequestBuilde } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go index a795b1fb4e8..dcd5c60238b 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemDeclineRequestBuild } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go index d00012bf5a8..04460bfc39b 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemDismissReminderRequ } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go index 2b9dcf7b52f..6474434ded7 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsCountRequ } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 338d3e5aca8..8cd0be88834 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtension } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_request_builder.go index 9fb1fad97d8..5e4102d12cd 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBu } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go index 9f80e8196ee..f1fe57ec21e 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemForwardRequestBuild } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go index 685e920660d..c25e5b6cb6c 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesCountReque } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesCountRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go index b9890a03667..2b71909f623 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBu // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBu // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaReque } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go index 734b345f7b3..ce858309047 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemReque // ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -117,3 +117,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemR } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go index 9b3e26758e9..988a0a2467b 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAccept } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index cafd65be064..ed71fe04a82 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachment // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go index 24887d63bdc..642055829f5 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index 05c532fe8ad..64a1859cef2 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachm urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 2a8834fceb8..3aef414b7f8 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachment // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go index c319bce31b4..0e7252cc27c 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCalend } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 291a83b80cd..2b08ea4a10c 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCancel } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go index b797a0cf436..0dcd7e2d7f4 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDeclin } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index f5872d09f15..b1a26522f3e 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDismis } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go index 4f1b92dd65a..baf040fb074 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index 2396493169e..4cc4405ec11 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go index d8ca538389f..b1d1bf564aa 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensions // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go index d24982cd405..e90f08d0a2f 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemForwar } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index 942c3860c8c..9ef8ca1aa94 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemSnooze } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index b897eb6bcb8..0bd048cfd36 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemTentat } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go index fe08031197c..56e5f0b7a25 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder // Request query parameters QueryParameters *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2String(eventId2 string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2(eventId2 string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBui } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go index 87f4a9c6a0d..c10c494c693 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemSnoozeReminderReque } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go index 0afc2e544d4..10a14f6049a 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRe } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_request_builder.go index 6bcec1bd8d3..4dece3f453a 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesRequestBuilderGetRequestCon // Request query parameters QueryParameters *ItemCalendarCalendarViewItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemExceptionOccurrencesRequestBuilder) ByEventId1String(eventId1 string)(*ItemCalendarCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemExceptionOccurrencesRequestBuilder) ByEventId1(eventId1 string)(*ItemCalendarCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesRequestBuilder) ToGetRe } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_extensions_count_request_builder.go b/groups/item_calendar_calendar_view_item_extensions_count_request_builder.go index f7d99b253e4..9cfca005d8a 100644 --- a/groups/item_calendar_calendar_view_item_extensions_count_request_builder.go +++ b/groups/item_calendar_calendar_view_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemExtensionsCountRequestBuilder) ToGetRequest } 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 *ItemCalendarCalendarViewItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExtensionsCountRequestBuilder) { + return NewItemCalendarCalendarViewItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go b/groups/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go index a31008788f7..3623469e4fb 100644 --- a/groups/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) ToPa } 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 *ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_extensions_request_builder.go b/groups/item_calendar_calendar_view_item_extensions_request_builder.go index 60253cc685a..e729035fe5d 100644 --- a/groups/item_calendar_calendar_view_item_extensions_request_builder.go +++ b/groups/item_calendar_calendar_view_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarCalendarViewItemExtensionsRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) ToPostRequestInfo } 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 *ItemCalendarCalendarViewItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExtensionsRequestBuilder) { + return NewItemCalendarCalendarViewItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_forward_request_builder.go b/groups/item_calendar_calendar_view_item_forward_request_builder.go index d9bfb4172ee..61b46435a2a 100644 --- a/groups/item_calendar_calendar_view_item_forward_request_builder.go +++ b/groups/item_calendar_calendar_view_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemForwardRequestBuilder) ToPostRequestInforma } 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 *ItemCalendarCalendarViewItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemForwardRequestBuilder) { + return NewItemCalendarCalendarViewItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_count_request_builder.go b/groups/item_calendar_calendar_view_item_instances_count_request_builder.go index 79c0f9ed11e..ec8dbd17ca5 100644 --- a/groups/item_calendar_calendar_view_item_instances_count_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemInstancesCountRequestBuilder) ToGetRequestI } 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 *ItemCalendarCalendarViewItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesCountRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_delta_request_builder.go b/groups/item_calendar_calendar_view_item_instances_delta_request_builder.go index 8f910c22147..7ffa70088bf 100644 --- a/groups/item_calendar_calendar_view_item_instances_delta_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilder) ToGetRequestI } 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 *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesDeltaRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_event_item_request_builder.go b/groups/item_calendar_calendar_view_item_instances_event_item_request_builder.go index d450a44a5db..2d35d8be82c 100644 --- a/groups/item_calendar_calendar_view_item_instances_event_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarCalendarViewItemInstancesEventItemRequestBuilder struct { // ItemCalendarCalendarViewItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarCalendarViewItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarViewItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -121,3 +121,7 @@ func (m *ItemCalendarCalendarViewItemInstancesEventItemRequestBuilder) ToGetRequ } 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 *ItemCalendarCalendarViewItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesEventItemRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_accept_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_accept_request_builder.go index 6fb9fd20982..888655302f3 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAcceptRequestBuilder) ToPostRe } 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 *ItemCalendarCalendarViewItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemAcceptRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go index 0ba3342fdd3..27e479f8d5b 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemReque } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemReque } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemReque } 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 *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_attachments_count_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_attachments_count_request_builder.go index d5764e2be2f..b643ba52ad7 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_attachments_count_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsCountRequestBuilder } 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 *ItemCalendarCalendarViewItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go index 61e2722c84e..130642e1113 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionR urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSession } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSession } 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 *ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go index e086afd6a19..6316bd1d7eb 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilderPostReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) Get } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToG } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) 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 *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_calendar_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_calendar_request_builder.go index 48f7130dfff..83890e4fe16 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_calendar_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemCalendarRequestBuilder) ToGetR } 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 *ItemCalendarCalendarViewItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemCalendarRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go index b8de326ce7d..8b99f29292f 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemCancelRequestBuilder) ToPostRe } 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 *ItemCalendarCalendarViewItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemCancelRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_decline_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_decline_request_builder.go index a9ae5b6963c..1dc531ac33f 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_decline_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemDeclineRequestBuilder) ToPostR } 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 *ItemCalendarCalendarViewItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemDeclineRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go index d48d8dd7ae2..83791cd76a8 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemDismissReminderRequestBuilder) } 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 *ItemCalendarCalendarViewItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemDismissReminderRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go index 994f06d6ba2..1e213c4a148 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesCountReque } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesCountRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go index 780474fa3d4..8a3f1aa3786 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBu // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBu // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaReque } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go index 612973034a1..d0b35befb8f 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -115,3 +115,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesEventItemR } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go index 82318ce1bb6..2517e407f32 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAccept } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 8dd7039d1c6..49b73951bcc 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachment // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go index 1d3702d8846..32807d5e638 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 7038e39baef..fa1197db835 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachm urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 7e1a0583e64..3df7f5ebe4e 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachment // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go index 79eef5393de..f31d3182f2f 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCalend } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 8737940b955..4c42dc232c4 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCancel } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go index 4a94dc475fd..879caf6a4c5 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDeclin } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 3b088c292af..b6141346eac 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDismis } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go index afcb7a13df8..95f11ed2b34 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index a976cee0b02..cff08097d68 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 389fb384761..1adaa493c8c 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensions // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go index 5222f9c1049..9aeb3b23ae5 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemForwar } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index a36a3d72523..e5ec418a4b2 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemSnooze } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index d4e373efc17..60707305cdb 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemTentat } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_request_builder.go index b88ab5b2453..c19828e1dbb 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder // Request query parameters QueryParameters *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2String(eventId2 string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2(eventId2 string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesRequestBui } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_extensions_count_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_extensions_count_request_builder.go index 92ecb237c86..e8b05b89359 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_extensions_count_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsCountRequestBuilder) } 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 *ItemCalendarCalendarViewItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go index ab98646ddc0..93cc129ad68 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequest } 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 *ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_extensions_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_extensions_request_builder.go index 03a71e10158..6dc9a4dbba1 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) ToPo } 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 *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_forward_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_forward_request_builder.go index 503c4401750..670562ac961 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_forward_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemForwardRequestBuilder) ToPostR } 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 *ItemCalendarCalendarViewItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemForwardRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go index f713819d7e5..5a98b5cf6da 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) } 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 *ItemCalendarCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go index 2afdb4f930c..d3e4a9d7d3c 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemTentativelyAcceptRequestBuilde } 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 *ItemCalendarCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_instances_request_builder.go b/groups/item_calendar_calendar_view_item_instances_request_builder.go index a112dce37d4..aa64c7043fd 100644 --- a/groups/item_calendar_calendar_view_item_instances_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarCalendarViewItemInstancesRequestBuilderGetQueryParameters struc // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarCalendarViewItemInstancesRequestBuilderGetQueryParameters struc // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarCalendarViewItemInstancesRequestBuilderGetRequestConfiguration // Request query parameters QueryParameters *ItemCalendarCalendarViewItemInstancesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemInstancesRequestBuilder) ByEventId1String(eventId1 string)(*ItemCalendarCalendarViewItemInstancesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemInstancesRequestBuilder) ByEventId1(eventId1 string)(*ItemCalendarCalendarViewItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarCalendarViewItemInstancesRequestBuilder) ToGetRequestInform } 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 *ItemCalendarCalendarViewItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_snooze_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_snooze_reminder_request_builder.go index f265baf4f4f..c546a96f05f 100644 --- a/groups/item_calendar_calendar_view_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemSnoozeReminderRequestBuilder) ToPostRequest } 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 *ItemCalendarCalendarViewItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemSnoozeReminderRequestBuilder) { + return NewItemCalendarCalendarViewItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_item_tentatively_accept_request_builder.go b/groups/item_calendar_calendar_view_item_tentatively_accept_request_builder.go index f764419a68d..c1b43f243cf 100644 --- a/groups/item_calendar_calendar_view_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemTentativelyAcceptRequestBuilder) ToPostRequ } 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 *ItemCalendarCalendarViewItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarCalendarViewItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_calendar_view_request_builder.go b/groups/item_calendar_calendar_view_request_builder.go index 6449f7c5131..49a4efc46ea 100644 --- a/groups/item_calendar_calendar_view_request_builder.go +++ b/groups/item_calendar_calendar_view_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarCalendarViewRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarCalendarViewRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarCalendarViewRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemCalendarCalendarViewRequestBuilderGetQueryParameters } -// ByEventIdString provides operations to manage the calendarView property of the microsoft.graph.calendar entity. -func (m *ItemCalendarCalendarViewRequestBuilder) ByEventIdString(eventId string)(*ItemCalendarCalendarViewEventItemRequestBuilder) { +// ByEventId provides operations to manage the calendarView property of the microsoft.graph.calendar entity. +func (m *ItemCalendarCalendarViewRequestBuilder) ByEventId(eventId string)(*ItemCalendarCalendarViewEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarCalendarViewRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemCalendarCalendarViewRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewRequestBuilder) { + return NewItemCalendarCalendarViewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_count_request_builder.go b/groups/item_calendar_events_count_request_builder.go index 213b871499f..d39c23c72e1 100644 --- a/groups/item_calendar_events_count_request_builder.go +++ b/groups/item_calendar_events_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemCalendarEventsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsCountRequestBuilder) { + return NewItemCalendarEventsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_delta_request_builder.go b/groups/item_calendar_events_delta_request_builder.go index 08f0a466893..a2d1315b4fd 100644 --- a/groups/item_calendar_events_delta_request_builder.go +++ b/groups/item_calendar_events_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarEventsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarEventsDeltaRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarEventsDeltaRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemCalendarEventsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsDeltaRequestBuilder) { + return NewItemCalendarEventsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_event_item_request_builder.go b/groups/item_calendar_events_event_item_request_builder.go index b178429d901..da034fd286c 100644 --- a/groups/item_calendar_events_event_item_request_builder.go +++ b/groups/item_calendar_events_event_item_request_builder.go @@ -201,3 +201,7 @@ func (m *ItemCalendarEventsEventItemRequestBuilder) ToPatchRequestInformation(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 *ItemCalendarEventsEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsEventItemRequestBuilder) { + return NewItemCalendarEventsEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_accept_request_builder.go b/groups/item_calendar_events_item_accept_request_builder.go index 331b8a118b2..63c66b72340 100644 --- a/groups/item_calendar_events_item_accept_request_builder.go +++ b/groups/item_calendar_events_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemAcceptRequestBuilder) 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 *ItemCalendarEventsItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemAcceptRequestBuilder) { + return NewItemCalendarEventsItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_events_item_attachments_attachment_item_request_builder.go index 55a59a66641..3ae7edb924a 100644 --- a/groups/item_calendar_events_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_events_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) Delete(c } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) ToDelete } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) ToGetReq } 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 *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_attachments_count_request_builder.go b/groups/item_calendar_events_item_attachments_count_request_builder.go index aa5e468498b..344862bba8b 100644 --- a/groups/item_calendar_events_item_attachments_count_request_builder.go +++ b/groups/item_calendar_events_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemAttachmentsCountRequestBuilder) ToGetRequestInfor } 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 *ItemCalendarEventsItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemAttachmentsCountRequestBuilder) { + return NewItemCalendarEventsItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_events_item_attachments_create_upload_session_request_builder.go index dd0b50065e7..ee1e5c7fc9b 100644 --- a/groups/item_calendar_events_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_events_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilder) Pos } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarEventsItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilder) 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 *ItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_attachments_request_builder.go b/groups/item_calendar_events_item_attachments_request_builder.go index b19dbb44aa7..889d0dc8622 100644 --- a/groups/item_calendar_events_item_attachments_request_builder.go +++ b/groups/item_calendar_events_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarEventsItemAttachmentsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) ToGetRequestInformatio } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) ToPostRequestInformati } 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 *ItemCalendarEventsItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemAttachmentsRequestBuilder) { + return NewItemCalendarEventsItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_calendar_request_builder.go b/groups/item_calendar_events_item_calendar_request_builder.go index a1e674474dc..dee203d5d80 100644 --- a/groups/item_calendar_events_item_calendar_request_builder.go +++ b/groups/item_calendar_events_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarEventsItemCalendarRequestBuilder) ToGetRequestInformation(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 *ItemCalendarEventsItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemCalendarRequestBuilder) { + return NewItemCalendarEventsItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_cancel_request_builder.go b/groups/item_calendar_events_item_cancel_request_builder.go index 4f560948aa0..7fa2e6dfb12 100644 --- a/groups/item_calendar_events_item_cancel_request_builder.go +++ b/groups/item_calendar_events_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemCancelRequestBuilder) 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 *ItemCalendarEventsItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemCancelRequestBuilder) { + return NewItemCalendarEventsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_decline_request_builder.go b/groups/item_calendar_events_item_decline_request_builder.go index 214d76a6367..5b1534fba0d 100644 --- a/groups/item_calendar_events_item_decline_request_builder.go +++ b/groups/item_calendar_events_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemDeclineRequestBuilder) ToPostRequestInformation(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 *ItemCalendarEventsItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemDeclineRequestBuilder) { + return NewItemCalendarEventsItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_dismiss_reminder_request_builder.go b/groups/item_calendar_events_item_dismiss_reminder_request_builder.go index a5d45bfa9e9..2ec2467a229 100644 --- a/groups/item_calendar_events_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_events_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarEventsItemDismissReminderRequestBuilder) ToPostRequestInfor } 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 *ItemCalendarEventsItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemDismissReminderRequestBuilder) { + return NewItemCalendarEventsItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_count_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_count_request_builder.go index 9759b53ef06..33d807f0ebb 100644 --- a/groups/item_calendar_events_item_exception_occurrences_count_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesCountRequestBuilder) ToGetReq } 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 *ItemCalendarEventsItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesCountRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_delta_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_delta_request_builder.go index 67fe7d20ef2..32184f2fdab 100644 --- a/groups/item_calendar_events_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParame // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParame // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder) ToGetReq } 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 *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_event_item_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_event_item_request_builder.go index 252a9583284..8a57b062652 100644 --- a/groups/item_calendar_events_item_exception_occurrences_event_item_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_event_item_request_builder.go @@ -119,3 +119,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesEventItemRequestBuilder) ToGe } 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 *ItemCalendarEventsItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go index 1de88eed875..5fcd623c748 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAcceptRequestBuilder) 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 *ItemCalendarEventsItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 90e8bef554b..cbd8689b551 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItem } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItem } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItem } 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 *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_attachments_count_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_attachments_count_request_builder.go index 3e721aed863..30c412bbb5c 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCountRequestBu } 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 *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 0cfb2d44a74..f69a91f84a0 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSes urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSe } 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 *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go index f63332e62e0..f75e70ab941 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderPost // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder } 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 *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_calendar_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_calendar_request_builder.go index d97493f3b15..1e2400d886e 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_calendar_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemCalendarRequestBuilder) T } 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 *ItemCalendarEventsItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go index 7356462acc8..c18e545798b 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemCancelRequestBuilder) 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 *ItemCalendarEventsItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go index 08505cdebc6..a202a2a6ff5 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemDeclineRequestBuilder) To } 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 *ItemCalendarEventsItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 660aeda22ae..26eaa9129e8 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemDismissReminderRequestBui } 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 *ItemCalendarEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_extensions_count_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_extensions_count_request_builder.go index 9556a91df83..c96157e9e11 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsCountRequestBui } 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 *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 7a1c5364f3a..89ecca640f0 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRe } 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 *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_extensions_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_extensions_request_builder.go index 93c121f021b..1299b19a4ff 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilderPostR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) } 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 *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go index 4f8dd1bf0ac..53dac76d8f6 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemForwardRequestBuilder) To } 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 *ItemCalendarEventsItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_count_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_count_request_builder.go index 100e19748a4..c9f679f2e16 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_count_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesCountRequestBuil } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesCountRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go index 3998f567a3f..c66fa915dad 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderG // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderG // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuil } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_event_item_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_event_item_request_builder.go index 751d330dc09..8f29abb1664 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuil // ItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -117,3 +117,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequest } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go index 1dd106d6e51..f2d892aa955 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAcceptReques } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 6bce30c161b..15edf63500b 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttac // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsA } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsA } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsA } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go index 34b2d6cbcf1..0467c8d9a68 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsC } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index b495c0bebe0..0c7fb6192b2 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCr urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsC } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 3607e739d93..35522473d28 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsR } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsR } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go index 3e985e56893..5b207382e49 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCalendarRequ } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 5529c33561f..96560420592 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCancelReques } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go index bf0430300e4..6e6bc99eb35 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDeclineReque } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 15089091221..ea5ee9512bd 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDismissRemin } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go index 45402b7e828..097a529b951 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsCo } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index 7ae5f690ac7..51dd050fdf2 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsEx } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go index 094e2412041..437a816ff83 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRe } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go index c632d0104f0..7f737d7d0b7 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemForwardReque } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index 985e4efa9b7..1aa8030487d 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemSnoozeRemind } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index aa2401944c8..7b2fab7a8d1 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemTentativelyA } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go index d7079f1c3e9..a4808b682ef 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetQue // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetQue // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetReq // Request query parameters QueryParameters *ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2String(eventId2 string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2(eventId2 string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilder) } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go index 62ae003f6df..69d883cc3f3 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuil } 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 *ItemCalendarEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go index d31cf00e54d..6ecc5066189 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemTentativelyAcceptRequestB } 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 *ItemCalendarEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_exception_occurrences_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_request_builder.go index b81e6cf3d97..4b0024afb0a 100644 --- a/groups/item_calendar_events_item_exception_occurrences_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemCalendarEventsItemExceptionOccurrencesRequestBuilderGetRequestConfigura // Request query parameters QueryParameters *ItemCalendarEventsItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemExceptionOccurrencesRequestBuilder) ByEventId1String(eventId1 string)(*ItemCalendarEventsItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemExceptionOccurrencesRequestBuilder) ByEventId1(eventId1 string)(*ItemCalendarEventsItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesRequestBuilder) ToGetRequestI } 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 *ItemCalendarEventsItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_extensions_count_request_builder.go b/groups/item_calendar_events_item_extensions_count_request_builder.go index c1e8fabf41f..2f99fa115c8 100644 --- a/groups/item_calendar_events_item_extensions_count_request_builder.go +++ b/groups/item_calendar_events_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemExtensionsCountRequestBuilder) ToGetRequestInform } 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 *ItemCalendarEventsItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExtensionsCountRequestBuilder) { + return NewItemCalendarEventsItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_extensions_extension_item_request_builder.go b/groups/item_calendar_events_item_extensions_extension_item_request_builder.go index 33339be2806..c6f7faf3690 100644 --- a/groups/item_calendar_events_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_events_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) ToPatchReq } 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 *ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarEventsItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_extensions_request_builder.go b/groups/item_calendar_events_item_extensions_request_builder.go index 45c69e585a5..ad6452d8ae5 100644 --- a/groups/item_calendar_events_item_extensions_request_builder.go +++ b/groups/item_calendar_events_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarEventsItemExtensionsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarEventsItemExtensionsRequestBuilder) ToPostRequestInformatio } 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 *ItemCalendarEventsItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExtensionsRequestBuilder) { + return NewItemCalendarEventsItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_forward_request_builder.go b/groups/item_calendar_events_item_forward_request_builder.go index 674dddc23c1..a756e179216 100644 --- a/groups/item_calendar_events_item_forward_request_builder.go +++ b/groups/item_calendar_events_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemForwardRequestBuilder) ToPostRequestInformation(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 *ItemCalendarEventsItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemForwardRequestBuilder) { + return NewItemCalendarEventsItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_count_request_builder.go b/groups/item_calendar_events_item_instances_count_request_builder.go index 566635d2c4e..c6bfae693cb 100644 --- a/groups/item_calendar_events_item_instances_count_request_builder.go +++ b/groups/item_calendar_events_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemInstancesCountRequestBuilder) ToGetRequestInforma } 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 *ItemCalendarEventsItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesCountRequestBuilder) { + return NewItemCalendarEventsItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_delta_request_builder.go b/groups/item_calendar_events_item_instances_delta_request_builder.go index 7664adf52c1..6784752280a 100644 --- a/groups/item_calendar_events_item_instances_delta_request_builder.go +++ b/groups/item_calendar_events_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarEventsItemInstancesDeltaRequestBuilderGetQueryParameters struct // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarEventsItemInstancesDeltaRequestBuilderGetQueryParameters struct // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarEventsItemInstancesDeltaRequestBuilder) ToGetRequestInforma } 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 *ItemCalendarEventsItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesDeltaRequestBuilder) { + return NewItemCalendarEventsItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_event_item_request_builder.go b/groups/item_calendar_events_item_instances_event_item_request_builder.go index 45224a9a46d..3d8ba7f88f6 100644 --- a/groups/item_calendar_events_item_instances_event_item_request_builder.go +++ b/groups/item_calendar_events_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarEventsItemInstancesEventItemRequestBuilder struct { // ItemCalendarEventsItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarEventsItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -121,3 +121,7 @@ func (m *ItemCalendarEventsItemInstancesEventItemRequestBuilder) ToGetRequestInf } 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 *ItemCalendarEventsItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesEventItemRequestBuilder) { + return NewItemCalendarEventsItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_accept_request_builder.go b/groups/item_calendar_events_item_instances_item_accept_request_builder.go index 243bb30179a..e88704c6c47 100644 --- a/groups/item_calendar_events_item_instances_item_accept_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemAcceptRequestBuilder) ToPostRequestI } 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 *ItemCalendarEventsItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemAcceptRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go index adbdc735dba..23acc779d87 100644 --- a/groups/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderD // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuil } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuil } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuil } 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 *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_attachments_count_request_builder.go b/groups/item_calendar_events_item_instances_item_attachments_count_request_builder.go index 23b16fa9292..1368edc57fe 100644 --- a/groups/item_calendar_events_item_instances_item_attachments_count_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilder) ToGe } 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 *ItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go index 4541fa3fa6e..e5e487ee269 100644 --- a/groups/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequest urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionReques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionReques } 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 *ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_attachments_request_builder.go b/groups/item_calendar_events_item_instances_item_attachments_request_builder.go index 48395f87fd6..b4aab647084 100644 --- a/groups/item_calendar_events_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderPostRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) Get(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) ToGetRequ } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) ToPostReq } 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 *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_calendar_request_builder.go b/groups/item_calendar_events_item_instances_item_calendar_request_builder.go index 65aafb7be65..8ee982e411e 100644 --- a/groups/item_calendar_events_item_instances_item_calendar_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarEventsItemInstancesItemCalendarRequestBuilder) ToGetRequest } 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 *ItemCalendarEventsItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemCalendarRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_cancel_request_builder.go b/groups/item_calendar_events_item_instances_item_cancel_request_builder.go index 905f432aedf..2b369fb9777 100644 --- a/groups/item_calendar_events_item_instances_item_cancel_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemCancelRequestBuilder) ToPostRequestI } 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 *ItemCalendarEventsItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemCancelRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_decline_request_builder.go b/groups/item_calendar_events_item_instances_item_decline_request_builder.go index 044f35dcd6f..579978cf710 100644 --- a/groups/item_calendar_events_item_instances_item_decline_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemDeclineRequestBuilder) ToPostRequest } 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 *ItemCalendarEventsItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemDeclineRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go index 660a0870c45..cfff8db7c27 100644 --- a/groups/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarEventsItemInstancesItemDismissReminderRequestBuilder) ToPos } 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 *ItemCalendarEventsItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemDismissReminderRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_count_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_count_request_builder.go index 8c66da4df86..931aca8156b 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_count_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesCountRequestBuil } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesCountRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go index 17f767f4936..003f3145c9d 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderG // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderG // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuil } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_event_item_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_event_item_request_builder.go index 8cc660fa39a..982c28c6007 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -115,3 +115,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesEventItemRequest } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go index eeb148a735c..7a3c02a12a7 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAcceptReques } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 322e2e52798..47693ee4869 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttac // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsA } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsA } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsA } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go index ac3ed2c8523..70dac6d3efe 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsC } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 781fc1e28d9..05514e0fdbf 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCr urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsC } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 0804e546bb2..04d69037439 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsR } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsR } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go index 65e7be744c6..d8ccdce35b0 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCalendarRequ } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 16a1f11d3d1..4863ed1d520 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCancelReques } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go index 4ba2ddb5063..8cd94b6f6ae 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDeclineReque } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 48a698ddbc2..126179d9954 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDismissRemin } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go index 8d29d850650..53aa5e0105f 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsCo } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index e7f4749a583..d56faa04dd9 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsEx } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go index c866743ac0a..73352bd2c3d 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRe } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go index b37377f796d..d73fe738cb3 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemForwardReque } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 71863dd39bc..436529c0373 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemSnoozeRemind } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 7565fc77c05..9e646f6dc19 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemTentativelyA } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_request_builder.go index 3ecc9f1a374..618dd285347 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemCalendarEventsItemInstancesItemExceptionOccurrencesRequestBuilderGetReq // Request query parameters QueryParameters *ItemCalendarEventsItemInstancesItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2String(eventId2 string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2(eventId2 string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesRequestBuilder) } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_extensions_count_request_builder.go b/groups/item_calendar_events_item_instances_item_extensions_count_request_builder.go index 2c4f4c3cb04..91636cb2a01 100644 --- a/groups/item_calendar_events_item_instances_item_extensions_count_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilder) ToGet } 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 *ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go index 3db84fcac64..68279d2a6ea 100644 --- a/groups/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilde } 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 *ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_extensions_request_builder.go b/groups/item_calendar_events_item_instances_item_extensions_request_builder.go index 8eeb2dcb7a3..dcc49624e61 100644 --- a/groups/item_calendar_events_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarEventsItemInstancesItemExtensionsRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) ToPostRequ } 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 *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_forward_request_builder.go b/groups/item_calendar_events_item_instances_item_forward_request_builder.go index 185407ed80d..278637448aa 100644 --- a/groups/item_calendar_events_item_instances_item_forward_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemForwardRequestBuilder) ToPostRequest } 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 *ItemCalendarEventsItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemForwardRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go b/groups/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go index 703489985dc..5a526237987 100644 --- a/groups/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemSnoozeReminderRequestBuilder) ToPost } 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 *ItemCalendarEventsItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go b/groups/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go index 10cef5296a7..4da98419f51 100644 --- a/groups/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemTentativelyAcceptRequestBuilder) 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 *ItemCalendarEventsItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_instances_request_builder.go b/groups/item_calendar_events_item_instances_request_builder.go index 15f1ab46fef..277b2cc4315 100644 --- a/groups/item_calendar_events_item_instances_request_builder.go +++ b/groups/item_calendar_events_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarEventsItemInstancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarEventsItemInstancesRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarEventsItemInstancesRequestBuilderGetRequestConfiguration struct // Request query parameters QueryParameters *ItemCalendarEventsItemInstancesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemInstancesRequestBuilder) ByEventId1String(eventId1 string)(*ItemCalendarEventsItemInstancesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemInstancesRequestBuilder) ByEventId1(eventId1 string)(*ItemCalendarEventsItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarEventsItemInstancesRequestBuilder) 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 *ItemCalendarEventsItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesRequestBuilder) { + return NewItemCalendarEventsItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_snooze_reminder_request_builder.go b/groups/item_calendar_events_item_snooze_reminder_request_builder.go index 68b02298d3a..99e6f1816ef 100644 --- a/groups/item_calendar_events_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_events_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemSnoozeReminderRequestBuilder) ToPostRequestInform } 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 *ItemCalendarEventsItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemSnoozeReminderRequestBuilder) { + return NewItemCalendarEventsItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_item_tentatively_accept_request_builder.go b/groups/item_calendar_events_item_tentatively_accept_request_builder.go index 8d8520a2cf4..dcb51872d37 100644 --- a/groups/item_calendar_events_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_events_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemTentativelyAcceptRequestBuilder) ToPostRequestInf } 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 *ItemCalendarEventsItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarEventsItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_events_request_builder.go b/groups/item_calendar_events_request_builder.go index 8a634a66766..6472a384e40 100644 --- a/groups/item_calendar_events_request_builder.go +++ b/groups/item_calendar_events_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarEventsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEventIdString provides operations to manage the events property of the microsoft.graph.calendar entity. -func (m *ItemCalendarEventsRequestBuilder) ByEventIdString(eventId string)(*ItemCalendarEventsEventItemRequestBuilder) { +// ByEventId provides operations to manage the events property of the microsoft.graph.calendar entity. +func (m *ItemCalendarEventsRequestBuilder) ByEventId(eventId string)(*ItemCalendarEventsEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,7 @@ func (m *ItemCalendarEventsRequestBuilder) 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 *ItemCalendarEventsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsRequestBuilder) { + return NewItemCalendarEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_get_schedule_request_builder.go b/groups/item_calendar_get_schedule_request_builder.go index f681489e377..dff9040f3be 100644 --- a/groups/item_calendar_get_schedule_request_builder.go +++ b/groups/item_calendar_get_schedule_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemCalendarGetScheduleRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemCalendarGetScheduleRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGetScheduleRequestBuilder) { + return NewItemCalendarGetScheduleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_request_builder.go b/groups/item_calendar_request_builder.go index af64fe7cd1d..eac911008ee 100644 --- a/groups/item_calendar_request_builder.go +++ b/groups/item_calendar_request_builder.go @@ -93,3 +93,7 @@ func (m *ItemCalendarRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarRequestBuilder) { + return NewItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_count_request_builder.go b/groups/item_calendar_view_count_request_builder.go index b8746c04e66..d2f2063b2c0 100644 --- a/groups/item_calendar_view_count_request_builder.go +++ b/groups/item_calendar_view_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemCalendarViewCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewCountRequestBuilder) { + return NewItemCalendarViewCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_delta_request_builder.go b/groups/item_calendar_view_delta_request_builder.go index 41564973624..8900a9e678b 100644 --- a/groups/item_calendar_view_delta_request_builder.go +++ b/groups/item_calendar_view_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarViewDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarViewDeltaRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarViewDeltaRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemCalendarViewDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewDeltaRequestBuilder) { + return NewItemCalendarViewDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_event_item_request_builder.go b/groups/item_calendar_view_event_item_request_builder.go index a4d3fc0c551..102262a6fdb 100644 --- a/groups/item_calendar_view_event_item_request_builder.go +++ b/groups/item_calendar_view_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarViewEventItemRequestBuilder struct { // ItemCalendarViewEventItemRequestBuilderGetQueryParameters the calendar view for the calendar. Read-only. type ItemCalendarViewEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarViewEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarViewEventItemRequestBuilderGetRequestConfiguration struct { @@ -125,3 +125,7 @@ func (m *ItemCalendarViewEventItemRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemCalendarViewEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewEventItemRequestBuilder) { + return NewItemCalendarViewEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_accept_request_builder.go b/groups/item_calendar_view_item_accept_request_builder.go index fa566f027df..a8190e33ef5 100644 --- a/groups/item_calendar_view_item_accept_request_builder.go +++ b/groups/item_calendar_view_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemAcceptRequestBuilder) 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 *ItemCalendarViewItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemAcceptRequestBuilder) { + return NewItemCalendarViewItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_view_item_attachments_attachment_item_request_builder.go index cb2938f29f7..56df54caf8f 100644 --- a/groups/item_calendar_view_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_view_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRe } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToGetReque } 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 *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_attachments_count_request_builder.go b/groups/item_calendar_view_item_attachments_count_request_builder.go index b5c7ec0c254..b61736cfeb5 100644 --- a/groups/item_calendar_view_item_attachments_count_request_builder.go +++ b/groups/item_calendar_view_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemAttachmentsCountRequestBuilder) ToGetRequestInforma } 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 *ItemCalendarViewItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemAttachmentsCountRequestBuilder) { + return NewItemCalendarViewItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_view_item_attachments_create_upload_session_request_builder.go index 8af9a4a0f4b..57ca4081789 100644 --- a/groups/item_calendar_view_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_view_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) Post( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarViewItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) ToPos } 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 *ItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_attachments_request_builder.go b/groups/item_calendar_view_item_attachments_request_builder.go index ba52266f915..199c207c416 100644 --- a/groups/item_calendar_view_item_attachments_request_builder.go +++ b/groups/item_calendar_view_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarViewItemAttachmentsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarViewItemAttachmentsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarViewItemAttachmentsRequestBuilder) ToGetRequestInformation( } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarViewItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarViewItemAttachmentsRequestBuilder) 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 *ItemCalendarViewItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemAttachmentsRequestBuilder) { + return NewItemCalendarViewItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_calendar_request_builder.go b/groups/item_calendar_view_item_calendar_request_builder.go index 7a4ddcdb963..bffbbe12793 100644 --- a/groups/item_calendar_view_item_calendar_request_builder.go +++ b/groups/item_calendar_view_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarViewItemCalendarRequestBuilder) ToGetRequestInformation(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 *ItemCalendarViewItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemCalendarRequestBuilder) { + return NewItemCalendarViewItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_cancel_request_builder.go b/groups/item_calendar_view_item_cancel_request_builder.go index c1a72f2b995..f563dd56a54 100644 --- a/groups/item_calendar_view_item_cancel_request_builder.go +++ b/groups/item_calendar_view_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemCancelRequestBuilder) 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 *ItemCalendarViewItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemCancelRequestBuilder) { + return NewItemCalendarViewItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_decline_request_builder.go b/groups/item_calendar_view_item_decline_request_builder.go index af73b82eaf9..d3312e45f53 100644 --- a/groups/item_calendar_view_item_decline_request_builder.go +++ b/groups/item_calendar_view_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemDeclineRequestBuilder) 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 *ItemCalendarViewItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemDeclineRequestBuilder) { + return NewItemCalendarViewItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_dismiss_reminder_request_builder.go b/groups/item_calendar_view_item_dismiss_reminder_request_builder.go index 57414e0059b..8c2c0d0ef15 100644 --- a/groups/item_calendar_view_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_view_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarViewItemDismissReminderRequestBuilder) ToPostRequestInforma } 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 *ItemCalendarViewItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemDismissReminderRequestBuilder) { + return NewItemCalendarViewItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_count_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_count_request_builder.go index 0176b025674..61125406ec4 100644 --- a/groups/item_calendar_view_item_exception_occurrences_count_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesCountRequestBuilder) ToGetReque } 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 *ItemCalendarViewItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesCountRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_delta_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_delta_request_builder.go index c51ee4e7e2e..265c7783378 100644 --- a/groups/item_calendar_view_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQueryParamete // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQueryParamete // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) ToGetReque } 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 *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_event_item_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_event_item_request_builder.go index 627a04aa0e1..82155aac345 100644 --- a/groups/item_calendar_view_item_exception_occurrences_event_item_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_event_item_request_builder.go @@ -119,3 +119,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) ToGetR } 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 *ItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go index 1459788676d..50f9b08e1a3 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder) ToPos } 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 *ItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index db4119ae606..e65c3d46688 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRe } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRe } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRe } 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 *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go index 33aa8cffea4..e34ee30cd3a 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCountRequestBuil } 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 *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 11f5b39e5ab..89ad5255ea6 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessi urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSess } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSess } 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 *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go index 0b59bbbcfda..11a8521ad89 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) } 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 *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go index 51ff9cbe305..1d3bc6ff50b 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemCalendarRequestBuilder) ToG } 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 *ItemCalendarViewItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go index 8dd8fd04f0b..33f457b290d 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder) ToPos } 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 *ItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go index f6e2e98fd6e..8d86e822379 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder) ToPo } 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 *ItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 2c3e4865067..95020287d31 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuild } 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 *ItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go index 3dbf8a8beab..a0d5ab4a49b 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuild } 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 *ItemCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 3dc70118fe1..2a77c8a5a9e 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequ } 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 *ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go index 3c69a971368..a7803a1907e 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderPostReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) T } 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 *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go index 715decb345c..86c6ba41f7a 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder) ToPo } 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 *ItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go index cc9aed5113c..4b1838eab07 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesCountRequestBuilde } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesCountRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go index 91d002d2a2d..e7f27d18b3c 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGet // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGet // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilde } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go index 59d38420968..47991f2edc9 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilde // ItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -117,3 +117,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBu } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go index e5a69f719f5..d49e9ac27b4 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestB } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index f6cf9f52bae..8df552507f9 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachm // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAtt } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAtt } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAtt } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go index 9e7b60644e7..5982ae28980 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCou } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index 9eec998b067..32ef78fcc95 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCrea urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCre } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCre } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 9cd8848687c..d25376019d0 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsReq } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsReq } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go index 9e93fe4da0b..f3d30e6f2e4 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemCalendarReques } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 94cf6c0410c..b75c793f3ba 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestB } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go index 47c179d1d4a..f51ee504110 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequest } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index fbdc0922262..6ceb00c761d 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminde } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go index 5927c4e1bab..1620439479c 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCoun } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index 8faf727041d..0fcf0ba0ae0 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExte } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go index 1c67899098c..4ff31fa942b 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequ } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go index 36e026fa63f..7971d6f6efa 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequest } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index 8426ca17c62..392a1486372 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminder } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index cfc93766e9e..25c7d36551f 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcc } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go index 11c9cdb0722..d0f4a504af3 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilderGetQuery // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilderGetQuery // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilderGetReque // Request query parameters QueryParameters *ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2String(eventId2 string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2(eventId2 string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) To } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go index 19cfaf9de0c..744decc3afc 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilde } 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 *ItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go index 96638ea9503..f421db3226a 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBui } 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 *ItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_exception_occurrences_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_request_builder.go index 540df5a8055..a1f86b79fe9 100644 --- a/groups/item_calendar_view_item_exception_occurrences_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemCalendarViewItemExceptionOccurrencesRequestBuilderGetRequestConfigurati // Request query parameters QueryParameters *ItemCalendarViewItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemExceptionOccurrencesRequestBuilder) ByEventId1String(eventId1 string)(*ItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemExceptionOccurrencesRequestBuilder) ByEventId1(eventId1 string)(*ItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesRequestBuilder) ToGetRequestInf } 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 *ItemCalendarViewItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_extensions_count_request_builder.go b/groups/item_calendar_view_item_extensions_count_request_builder.go index 11eb792af26..1450c88a432 100644 --- a/groups/item_calendar_view_item_extensions_count_request_builder.go +++ b/groups/item_calendar_view_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemExtensionsCountRequestBuilder) ToGetRequestInformat } 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 *ItemCalendarViewItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExtensionsCountRequestBuilder) { + return NewItemCalendarViewItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_extensions_extension_item_request_builder.go b/groups/item_calendar_view_item_extensions_extension_item_request_builder.go index 8e29ce26918..f7c88aae53e 100644 --- a/groups/item_calendar_view_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_view_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) ToPatchReque } 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 *ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarViewItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_extensions_request_builder.go b/groups/item_calendar_view_item_extensions_request_builder.go index ee5e1da3cd0..cbca71110d5 100644 --- a/groups/item_calendar_view_item_extensions_request_builder.go +++ b/groups/item_calendar_view_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarViewItemExtensionsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarViewItemExtensionsRequestBuilder) 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 *ItemCalendarViewItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExtensionsRequestBuilder) { + return NewItemCalendarViewItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_forward_request_builder.go b/groups/item_calendar_view_item_forward_request_builder.go index 208496ee14c..eb13a36fa6a 100644 --- a/groups/item_calendar_view_item_forward_request_builder.go +++ b/groups/item_calendar_view_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemForwardRequestBuilder) 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 *ItemCalendarViewItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemForwardRequestBuilder) { + return NewItemCalendarViewItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_count_request_builder.go b/groups/item_calendar_view_item_instances_count_request_builder.go index 871de5a609f..05d5c1b477f 100644 --- a/groups/item_calendar_view_item_instances_count_request_builder.go +++ b/groups/item_calendar_view_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemInstancesCountRequestBuilder) ToGetRequestInformati } 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 *ItemCalendarViewItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesCountRequestBuilder) { + return NewItemCalendarViewItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_delta_request_builder.go b/groups/item_calendar_view_item_instances_delta_request_builder.go index 4bf789721ad..6111891d3a1 100644 --- a/groups/item_calendar_view_item_instances_delta_request_builder.go +++ b/groups/item_calendar_view_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarViewItemInstancesDeltaRequestBuilder) ToGetRequestInformati } 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 *ItemCalendarViewItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesDeltaRequestBuilder) { + return NewItemCalendarViewItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_event_item_request_builder.go b/groups/item_calendar_view_item_instances_event_item_request_builder.go index 1eed9aa83f3..a52f703fa07 100644 --- a/groups/item_calendar_view_item_instances_event_item_request_builder.go +++ b/groups/item_calendar_view_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarViewItemInstancesEventItemRequestBuilder struct { // ItemCalendarViewItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemCalendarViewItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarViewItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarViewItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -121,3 +121,7 @@ func (m *ItemCalendarViewItemInstancesEventItemRequestBuilder) ToGetRequestInfor } 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 *ItemCalendarViewItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesEventItemRequestBuilder) { + return NewItemCalendarViewItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_accept_request_builder.go b/groups/item_calendar_view_item_instances_item_accept_request_builder.go index e943dae6409..8df71c76265 100644 --- a/groups/item_calendar_view_item_instances_item_accept_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemAcceptRequestBuilder) ToPostRequestInf } 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 *ItemCalendarViewItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemAcceptRequestBuilder) { + return NewItemCalendarViewItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go index 634702f912b..cb93c59eb4e 100644 --- a/groups/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilde } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilde } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilde } 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 *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_attachments_count_request_builder.go b/groups/item_calendar_view_item_instances_item_attachments_count_request_builder.go index 508cc33bdc6..bcef03974aa 100644 --- a/groups/item_calendar_view_item_instances_item_attachments_count_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsCountRequestBuilder) ToGetR } 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 *ItemCalendarViewItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarViewItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go index 83af0992857..05e18eb03b8 100644 --- a/groups/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBu urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestB } 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 *ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_attachments_request_builder.go b/groups/item_calendar_view_item_instances_item_attachments_request_builder.go index b0315a49fc0..65e702bef6c 100644 --- a/groups/item_calendar_view_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarViewItemInstancesItemAttachmentsRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) Get(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToGetReques } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToPostReque } 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 *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) { + return NewItemCalendarViewItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_calendar_request_builder.go b/groups/item_calendar_view_item_instances_item_calendar_request_builder.go index fec649903cd..71c72ef4b5a 100644 --- a/groups/item_calendar_view_item_instances_item_calendar_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarViewItemInstancesItemCalendarRequestBuilder) ToGetRequestIn } 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 *ItemCalendarViewItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemCalendarRequestBuilder) { + return NewItemCalendarViewItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_cancel_request_builder.go b/groups/item_calendar_view_item_instances_item_cancel_request_builder.go index 46cf6ec4db0..16b2259b47a 100644 --- a/groups/item_calendar_view_item_instances_item_cancel_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemCancelRequestBuilder) ToPostRequestInf } 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 *ItemCalendarViewItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemCancelRequestBuilder) { + return NewItemCalendarViewItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_decline_request_builder.go b/groups/item_calendar_view_item_instances_item_decline_request_builder.go index 496a85bb76e..b7d2948bb83 100644 --- a/groups/item_calendar_view_item_instances_item_decline_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemDeclineRequestBuilder) ToPostRequestIn } 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 *ItemCalendarViewItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemDeclineRequestBuilder) { + return NewItemCalendarViewItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go index 39cf35f8214..10a432201a7 100644 --- a/groups/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarViewItemInstancesItemDismissReminderRequestBuilder) ToPostR } 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 *ItemCalendarViewItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemDismissReminderRequestBuilder) { + return NewItemCalendarViewItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go index 49a0816a524..41e5049cd36 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesCountRequestBuilde } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesCountRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go index 192a1c0b044..73633ab61c7 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGet // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGet // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilde } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go index cd678dbd240..6551fa4ecb5 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -115,3 +115,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBu } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go index 7fcf16f7bb4..3d52a7f16f1 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestB } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 52d221f36d7..8a98a31c140 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachm // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAtt } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAtt } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAtt } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go index 7d24c720cb1..5e5cce165fa 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCou } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 83cad931b81..b502f4a9d5f 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCrea urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCre } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCre } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go index c6659a5a424..e868bdb47f9 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsReq } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsReq } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go index 18e5f2038a5..2bf10ed5f7a 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemCalendarReques } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 507482bf20b..53bb8d97d01 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestB } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go index 617debb0dd2..5a76be72104 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequest } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index ef8a709037c..06bf020aee5 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminde } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go index b07bf2d8c54..84f84ad1149 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCoun } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 6ec1d2f2586..268493c14e4 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExte } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 88c42b44a84..74c0f6649a8 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequ } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go index 50e976b7c72..1741839b2bf 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequest } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 3097257fc23..324c2ce36b8 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminder } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index a7bf4f8d069..51f35140e67 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcc } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_request_builder.go index 0ab84fef324..9331524a771 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilderGetReque // Request query parameters QueryParameters *ItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2String(eventId2 string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2(eventId2 string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) To } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_extensions_count_request_builder.go b/groups/item_calendar_view_item_instances_item_extensions_count_request_builder.go index 2dd6272132b..56d87305f9b 100644 --- a/groups/item_calendar_view_item_instances_item_extensions_count_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsCountRequestBuilder) ToGetRe } 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 *ItemCalendarViewItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go index 6571aa02de0..d3a621f4017 100644 --- a/groups/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) } 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 *ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_extensions_request_builder.go b/groups/item_calendar_view_item_instances_item_extensions_request_builder.go index 981f74a78f1..006852bb5bd 100644 --- a/groups/item_calendar_view_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarViewItemInstancesItemExtensionsRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ToPostReques } 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 *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_forward_request_builder.go b/groups/item_calendar_view_item_instances_item_forward_request_builder.go index d287ba13865..d2cedfc3e4d 100644 --- a/groups/item_calendar_view_item_instances_item_forward_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemForwardRequestBuilder) ToPostRequestIn } 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 *ItemCalendarViewItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemForwardRequestBuilder) { + return NewItemCalendarViewItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go b/groups/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go index 285db8edfa9..5588639d15e 100644 --- a/groups/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) ToPostRe } 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 *ItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go b/groups/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go index dc5278a1562..de06750d8ae 100644 --- a/groups/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder) ToPos } 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 *ItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_instances_request_builder.go b/groups/item_calendar_view_item_instances_request_builder.go index 842869d0b46..c15e9ca38df 100644 --- a/groups/item_calendar_view_item_instances_request_builder.go +++ b/groups/item_calendar_view_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarViewItemInstancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarViewItemInstancesRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarViewItemInstancesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemCalendarViewItemInstancesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemInstancesRequestBuilder) ByEventId1String(eventId1 string)(*ItemCalendarViewItemInstancesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemInstancesRequestBuilder) ByEventId1(eventId1 string)(*ItemCalendarViewItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarViewItemInstancesRequestBuilder) ToGetRequestInformation(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 *ItemCalendarViewItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesRequestBuilder) { + return NewItemCalendarViewItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_snooze_reminder_request_builder.go b/groups/item_calendar_view_item_snooze_reminder_request_builder.go index 8ad25a73277..57ad1ea92b9 100644 --- a/groups/item_calendar_view_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_view_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemSnoozeReminderRequestBuilder) ToPostRequestInformat } 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 *ItemCalendarViewItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemSnoozeReminderRequestBuilder) { + return NewItemCalendarViewItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_item_tentatively_accept_request_builder.go b/groups/item_calendar_view_item_tentatively_accept_request_builder.go index d0a8cf62a41..a1cfb9158e8 100644 --- a/groups/item_calendar_view_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_view_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemTentativelyAcceptRequestBuilder) ToPostRequestInfor } 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 *ItemCalendarViewItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarViewItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_calendar_view_request_builder.go b/groups/item_calendar_view_request_builder.go index b79bfdf0bca..b0f4ecf7e84 100644 --- a/groups/item_calendar_view_request_builder.go +++ b/groups/item_calendar_view_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarViewRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarViewRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarViewRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemCalendarViewRequestBuilderGetQueryParameters } -// ByEventIdString provides operations to manage the calendarView property of the microsoft.graph.group entity. -func (m *ItemCalendarViewRequestBuilder) ByEventIdString(eventId string)(*ItemCalendarViewEventItemRequestBuilder) { +// ByEventId provides operations to manage the calendarView property of the microsoft.graph.group entity. +func (m *ItemCalendarViewRequestBuilder) ByEventId(eventId string)(*ItemCalendarViewEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarViewRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *ItemCalendarViewRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewRequestBuilder) { + return NewItemCalendarViewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_check_granted_permissions_for_app_request_builder.go b/groups/item_check_granted_permissions_for_app_request_builder.go index b10bcdd636e..b23791df006 100644 --- a/groups/item_check_granted_permissions_for_app_request_builder.go +++ b/groups/item_check_granted_permissions_for_app_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemCheckGrantedPermissionsForAppRequestBuilder) ToPostRequestInformati } 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 *ItemCheckGrantedPermissionsForAppRequestBuilder) WithUrl(rawUrl string)(*ItemCheckGrantedPermissionsForAppRequestBuilder) { + return NewItemCheckGrantedPermissionsForAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_check_member_groups_request_builder.go b/groups/item_check_member_groups_request_builder.go index ffe523ff646..96f919ea1cd 100644 --- a/groups/item_check_member_groups_request_builder.go +++ b/groups/item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) 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 *ItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberGroupsRequestBuilder) { + return NewItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_check_member_objects_request_builder.go b/groups/item_check_member_objects_request_builder.go index 7701dc3c1b8..10625af0adb 100644 --- a/groups/item_check_member_objects_request_builder.go +++ b/groups/item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberObjectsRequestBuilder) { + return NewItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_conversation_item_request_builder.go b/groups/item_conversations_conversation_item_request_builder.go index 2af04490adc..f12f491a803 100644 --- a/groups/item_conversations_conversation_item_request_builder.go +++ b/groups/item_conversations_conversation_item_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemConversationsConversationItemRequestBuilder) 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 *ItemConversationsConversationItemRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsConversationItemRequestBuilder) { + return NewItemConversationsConversationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_count_request_builder.go b/groups/item_conversations_count_request_builder.go index 5bc45a7926e..76bd28cfe5c 100644 --- a/groups/item_conversations_count_request_builder.go +++ b/groups/item_conversations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemConversationsCountRequestBuilder) ToGetRequestInformation(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 *ItemConversationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsCountRequestBuilder) { + return NewItemConversationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_conversation_thread_item_request_builder.go b/groups/item_conversations_item_threads_conversation_thread_item_request_builder.go index 9b864ae836c..4547e40008a 100644 --- a/groups/item_conversations_item_threads_conversation_thread_item_request_builder.go +++ b/groups/item_conversations_item_threads_conversation_thread_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemConversationsItemThreadsConversationThreadItemRequestBuilder) 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 *ItemConversationsItemThreadsConversationThreadItemRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsConversationThreadItemRequestBuilder) { + return NewItemConversationsItemThreadsConversationThreadItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_count_request_builder.go b/groups/item_conversations_item_threads_count_request_builder.go index 22f6e320bf4..9aa1de6bc5d 100644 --- a/groups/item_conversations_item_threads_count_request_builder.go +++ b/groups/item_conversations_item_threads_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemConversationsItemThreadsCountRequestBuilder) 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 *ItemConversationsItemThreadsCountRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsCountRequestBuilder) { + return NewItemConversationsItemThreadsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_count_request_builder.go b/groups/item_conversations_item_threads_item_posts_count_request_builder.go index 9c6e85c8224..e4c3d0abcac 100644 --- a/groups/item_conversations_item_threads_item_posts_count_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemConversationsItemThreadsItemPostsCountRequestBuilder) ToGetRequestI } 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 *ItemConversationsItemThreadsItemPostsCountRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsCountRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_attachments_attachment_item_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_attachments_attachment_item_request_builder.go index 77df69ad4db..c1f99897145 100644 --- a/groups/item_conversations_item_threads_item_posts_item_attachments_attachment_item_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_attachments_attachment_item_request_builder.go @@ -110,3 +110,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemAttachmentsAttachmentItemReque } 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 *ItemConversationsItemThreadsItemPostsItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_attachments_count_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_attachments_count_request_builder.go index b3549fa340f..ea1808c7973 100644 --- a/groups/item_conversations_item_threads_item_posts_item_attachments_count_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemAttachmentsCountRequestBuilder } 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 *ItemConversationsItemThreadsItemPostsItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemAttachmentsCountRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_attachments_create_upload_session_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_attachments_create_upload_session_request_builder.go index dd1847f5ffc..5dcf3ab5bca 100644 --- a/groups/item_conversations_item_threads_item_posts_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemConversationsItemThreadsItemPostsItemAttachmentsCreateUploadSessionR urlParams["request-raw-url"] = rawUrl return NewItemConversationsItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemAttachmentsCreateUploadSession } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemConversationsItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemConversationsItemThreadsItemPostsItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemAttachmentsCreateUploadSession } 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 *ItemConversationsItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_attachments_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_attachments_request_builder.go index 0a48eacce14..3973a49cd6f 100644 --- a/groups/item_conversations_item_threads_item_posts_item_attachments_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilderPostReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.post entity. -func (m *ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemConversationsItemThreadsItemPostsItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.post entity. +func (m *ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemConversationsItemThreadsItemPostsItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilder) 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 *ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_extensions_count_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_extensions_count_request_builder.go index b0f5ae2b98d..a7e94ab38fd 100644 --- a/groups/item_conversations_item_threads_item_posts_item_extensions_count_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemExtensionsCountRequestBuilder) } 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 *ItemConversationsItemThreadsItemPostsItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemExtensionsCountRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_extensions_extension_item_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_extensions_extension_item_request_builder.go index 1d9c936a982..9f22b1b9064 100644 --- a/groups/item_conversations_item_threads_item_posts_item_extensions_extension_item_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_extensions_extension_item_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequest } 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 *ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_extensions_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_extensions_request_builder.go index 61ed49d147d..270b043ae2d 100644 --- a/groups/item_conversations_item_threads_item_posts_item_extensions_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.post entity. -func (m *ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.post entity. +func (m *ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -143,3 +143,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilder) ToPo } 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 *ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_forward_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_forward_request_builder.go index 300e23eb8d9..605016d70cd 100644 --- a/groups/item_conversations_item_threads_item_posts_item_forward_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemForwardRequestBuilder) ToPostR } 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 *ItemConversationsItemThreadsItemPostsItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemForwardRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_attachment_item_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_attachment_item_request_builder.go index 782e38d9e23..3e4de362e23 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_attachment_item_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_attachment_item_request_builder.go @@ -110,3 +110,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsAttachment } 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 *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsAttachmentItemRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_count_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_count_request_builder.go index 52904712aa0..3c7ce49cce5 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_count_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsCountReque } 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 *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsCountRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go index a1a7b25e34f..ba7856caf18 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsCreateUploa urlParams["request-raw-url"] = rawUrl return NewItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsCreateUplo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsCreateUplo } 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 *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_request_builder.go index 0f481bf25c0..471e5c0d848 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.post entity. -func (m *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.post entity. +func (m *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsRequestBui } 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 *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_count_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_count_request_builder.go index 849fb21d1a3..ec7895c01fc 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_count_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsCountReques } 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 *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsCountRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemInReplyToExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go index 8de5f13c07f..cc4c3c4d618 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionIt } 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 *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_request_builder.go index 347330ec55f..46fd337cad4 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsRequestBuilderP // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.post entity. -func (m *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.post entity. +func (m *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -143,3 +143,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsRequestBuil } 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 *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_forward_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_forward_request_builder.go index e8b47674084..9a7dbf97ed8 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_forward_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToForwardRequestBuilder } 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 *ItemConversationsItemThreadsItemPostsItemInReplyToForwardRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemInReplyToForwardRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemInReplyToForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_mentions_count_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_mentions_count_request_builder.go index ae043376b98..5fa40372d9f 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_mentions_count_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_mentions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToMentionsCountRequestB } 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 *ItemConversationsItemThreadsItemPostsItemInReplyToMentionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemInReplyToMentionsCountRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemInReplyToMentionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_mentions_mention_item_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_mentions_mention_item_request_builder.go index a6381105707..c5067f5bb00 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_mentions_mention_item_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_mentions_mention_item_request_builder.go @@ -110,3 +110,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToMentionsMentionItemRe } 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 *ItemConversationsItemThreadsItemPostsItemInReplyToMentionsMentionItemRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemInReplyToMentionsMentionItemRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemInReplyToMentionsMentionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_mentions_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_mentions_request_builder.go index 23ce82e49f2..b19f65502b1 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_mentions_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_mentions_request_builder.go @@ -44,8 +44,8 @@ type ItemConversationsItemThreadsItemPostsItemInReplyToMentionsRequestBuilderPos // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMentionIdString provides operations to manage the mentions property of the microsoft.graph.post entity. -func (m *ItemConversationsItemThreadsItemPostsItemInReplyToMentionsRequestBuilder) ByMentionIdString(mentionId string)(*ItemConversationsItemThreadsItemPostsItemInReplyToMentionsMentionItemRequestBuilder) { +// ByMentionId provides operations to manage the mentions property of the microsoft.graph.post entity. +func (m *ItemConversationsItemThreadsItemPostsItemInReplyToMentionsRequestBuilder) ByMentionId(mentionId string)(*ItemConversationsItemThreadsItemPostsItemInReplyToMentionsMentionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -143,3 +143,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToMentionsRequestBuilde } 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 *ItemConversationsItemThreadsItemPostsItemInReplyToMentionsRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemInReplyToMentionsRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemInReplyToMentionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_reply_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_reply_request_builder.go index 7bba0db1c2c..06c95371855 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_reply_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_reply_request_builder.go @@ -30,10 +30,10 @@ func NewItemConversationsItemThreadsItemPostsItemInReplyToReplyRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewItemConversationsItemThreadsItemPostsItemInReplyToReplyRequestBuilderInternal(urlParams, requestAdapter) } -// Post reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. +// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemConversationsItemThreadsItemPostsItemInReplyToReplyRequestBuilder) Post(ctx context.Context, body ItemConversationsItemThreadsItemPostsItemInReplyToReplyPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemPostsItemInReplyToReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -49,7 +49,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToReplyRequestBuilder) } return nil } -// ToPostRequestInformation reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. +// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. func (m *ItemConversationsItemThreadsItemPostsItemInReplyToReplyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemConversationsItemThreadsItemPostsItemInReplyToReplyPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemPostsItemInReplyToReplyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -65,3 +65,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToReplyRequestBuilder) } 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 *ItemConversationsItemThreadsItemPostsItemInReplyToReplyRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemInReplyToReplyRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemInReplyToReplyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_request_builder.go index 2be68b24ff0..f61f54cbf0e 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_request_builder.go @@ -95,3 +95,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToRequestBuilder) ToGet } 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 *ItemConversationsItemThreadsItemPostsItemInReplyToRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemInReplyToRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemInReplyToRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_mentions_count_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_mentions_count_request_builder.go index 97c9b51950d..77a51f70013 100644 --- a/groups/item_conversations_item_threads_item_posts_item_mentions_count_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_mentions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemMentionsCountRequestBuilder) T } 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 *ItemConversationsItemThreadsItemPostsItemMentionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemMentionsCountRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemMentionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_mentions_mention_item_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_mentions_mention_item_request_builder.go index 100751e9545..98b512034b9 100644 --- a/groups/item_conversations_item_threads_item_posts_item_mentions_mention_item_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_mentions_mention_item_request_builder.go @@ -110,3 +110,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemMentionsMentionItemRequestBuil } 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 *ItemConversationsItemThreadsItemPostsItemMentionsMentionItemRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemMentionsMentionItemRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemMentionsMentionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_mentions_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_mentions_request_builder.go index 0b40674ae31..a6b494de617 100644 --- a/groups/item_conversations_item_threads_item_posts_item_mentions_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_mentions_request_builder.go @@ -44,8 +44,8 @@ type ItemConversationsItemThreadsItemPostsItemMentionsRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMentionIdString provides operations to manage the mentions property of the microsoft.graph.post entity. -func (m *ItemConversationsItemThreadsItemPostsItemMentionsRequestBuilder) ByMentionIdString(mentionId string)(*ItemConversationsItemThreadsItemPostsItemMentionsMentionItemRequestBuilder) { +// ByMentionId provides operations to manage the mentions property of the microsoft.graph.post entity. +func (m *ItemConversationsItemThreadsItemPostsItemMentionsRequestBuilder) ByMentionId(mentionId string)(*ItemConversationsItemThreadsItemPostsItemMentionsMentionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -143,3 +143,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemMentionsRequestBuilder) ToPost } 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 *ItemConversationsItemThreadsItemPostsItemMentionsRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemMentionsRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemMentionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_item_reply_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_reply_request_builder.go index f4c5aeab10e..279ee5035be 100644 --- a/groups/item_conversations_item_threads_item_posts_item_reply_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_reply_request_builder.go @@ -30,10 +30,10 @@ func NewItemConversationsItemThreadsItemPostsItemReplyRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewItemConversationsItemThreadsItemPostsItemReplyRequestBuilderInternal(urlParams, requestAdapter) } -// Post reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. +// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemConversationsItemThreadsItemPostsItemReplyRequestBuilder) Post(ctx context.Context, body ItemConversationsItemThreadsItemPostsItemReplyPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemPostsItemReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -49,7 +49,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemReplyRequestBuilder) Post(ctx } return nil } -// ToPostRequestInformation reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. +// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. func (m *ItemConversationsItemThreadsItemPostsItemReplyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemConversationsItemThreadsItemPostsItemReplyPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemPostsItemReplyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -65,3 +65,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemReplyRequestBuilder) ToPostReq } 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 *ItemConversationsItemThreadsItemPostsItemReplyRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsItemReplyRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsItemReplyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_post_item_request_builder.go b/groups/item_conversations_item_threads_item_posts_post_item_request_builder.go index 2fe04feb43b..97e1891d953 100644 --- a/groups/item_conversations_item_threads_item_posts_post_item_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_post_item_request_builder.go @@ -145,3 +145,7 @@ func (m *ItemConversationsItemThreadsItemPostsPostItemRequestBuilder) ToPatchReq } 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 *ItemConversationsItemThreadsItemPostsPostItemRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsPostItemRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsPostItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_posts_request_builder.go b/groups/item_conversations_item_threads_item_posts_request_builder.go index 264a134a1b5..bd6f16cf29b 100644 --- a/groups/item_conversations_item_threads_item_posts_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_request_builder.go @@ -37,8 +37,8 @@ type ItemConversationsItemThreadsItemPostsRequestBuilderGetRequestConfiguration // Request query parameters QueryParameters *ItemConversationsItemThreadsItemPostsRequestBuilderGetQueryParameters } -// ByPostIdString provides operations to manage the posts property of the microsoft.graph.conversationThread entity. -func (m *ItemConversationsItemThreadsItemPostsRequestBuilder) ByPostIdString(postId string)(*ItemConversationsItemThreadsItemPostsPostItemRequestBuilder) { +// ByPostId provides operations to manage the posts property of the microsoft.graph.conversationThread entity. +func (m *ItemConversationsItemThreadsItemPostsRequestBuilder) ByPostId(postId string)(*ItemConversationsItemThreadsItemPostsPostItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -103,3 +103,7 @@ func (m *ItemConversationsItemThreadsItemPostsRequestBuilder) ToGetRequestInform } 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 *ItemConversationsItemThreadsItemPostsRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemPostsRequestBuilder) { + return NewItemConversationsItemThreadsItemPostsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_item_reply_request_builder.go b/groups/item_conversations_item_threads_item_reply_request_builder.go index 09d347d27c5..ce7b292ab44 100644 --- a/groups/item_conversations_item_threads_item_reply_request_builder.go +++ b/groups/item_conversations_item_threads_item_reply_request_builder.go @@ -30,10 +30,10 @@ func NewItemConversationsItemThreadsItemReplyRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewItemConversationsItemThreadsItemReplyRequestBuilderInternal(urlParams, requestAdapter) } -// Post add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/post-post-attachments?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationthread-reply?view=graph-rest-1.0 func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body ItemConversationsItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -49,7 +49,7 @@ func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) Post(ctx context.C } return nil } -// ToPostRequestInformation add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemConversationsItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -65,3 +65,7 @@ func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) ToPostRequestInfor } 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 *ItemConversationsItemThreadsItemReplyRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsItemReplyRequestBuilder) { + return NewItemConversationsItemThreadsItemReplyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_item_threads_request_builder.go b/groups/item_conversations_item_threads_request_builder.go index 6fa72cf081e..aee34107013 100644 --- a/groups/item_conversations_item_threads_request_builder.go +++ b/groups/item_conversations_item_threads_request_builder.go @@ -44,8 +44,8 @@ type ItemConversationsItemThreadsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByConversationThreadIdString provides operations to manage the threads property of the microsoft.graph.conversation entity. -func (m *ItemConversationsItemThreadsRequestBuilder) ByConversationThreadIdString(conversationThreadId string)(*ItemConversationsItemThreadsConversationThreadItemRequestBuilder) { +// ByConversationThreadId provides operations to manage the threads property of the microsoft.graph.conversation entity. +func (m *ItemConversationsItemThreadsRequestBuilder) ByConversationThreadId(conversationThreadId string)(*ItemConversationsItemThreadsConversationThreadItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemConversationsItemThreadsRequestBuilder) 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 *ItemConversationsItemThreadsRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsItemThreadsRequestBuilder) { + return NewItemConversationsItemThreadsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_conversations_request_builder.go b/groups/item_conversations_request_builder.go index 9d2e5869057..7fa4d744649 100644 --- a/groups/item_conversations_request_builder.go +++ b/groups/item_conversations_request_builder.go @@ -44,8 +44,8 @@ type ItemConversationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByConversationIdString provides operations to manage the conversations property of the microsoft.graph.group entity. -func (m *ItemConversationsRequestBuilder) ByConversationIdString(conversationId string)(*ItemConversationsConversationItemRequestBuilder) { +// ByConversationId provides operations to manage the conversations property of the microsoft.graph.group entity. +func (m *ItemConversationsRequestBuilder) ByConversationId(conversationId string)(*ItemConversationsConversationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -94,10 +94,10 @@ func (m *ItemConversationsRequestBuilder) Get(ctx context.Context, requestConfig } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-1.0 func (m *ItemConversationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Conversationable, requestConfiguration *ItemConversationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Conversationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +132,7 @@ func (m *ItemConversationsRequestBuilder) ToGetRequestInformation(ctx context.Co } return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. func (m *ItemConversationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Conversationable, requestConfiguration *ItemConversationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -149,3 +149,7 @@ func (m *ItemConversationsRequestBuilder) ToPostRequestInformation(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 *ItemConversationsRequestBuilder) WithUrl(rawUrl string)(*ItemConversationsRequestBuilder) { + return NewItemConversationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_created_on_behalf_of_request_builder.go b/groups/item_created_on_behalf_of_request_builder.go index e29fb93f888..459fc7b548b 100644 --- a/groups/item_created_on_behalf_of_request_builder.go +++ b/groups/item_created_on_behalf_of_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemCreatedOnBehalfOfRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemCreatedOnBehalfOfRequestBuilder) WithUrl(rawUrl string)(*ItemCreatedOnBehalfOfRequestBuilder) { + return NewItemCreatedOnBehalfOfRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_drive_request_builder.go b/groups/item_drive_request_builder.go index 5306d7304ba..1aae7c78ac3 100644 --- a/groups/item_drive_request_builder.go +++ b/groups/item_drive_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemDriveRequestBuilder) ToGetRequestInformation(ctx context.Context, r } 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 *ItemDriveRequestBuilder) WithUrl(rawUrl string)(*ItemDriveRequestBuilder) { + return NewItemDriveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_drives_count_request_builder.go b/groups/item_drives_count_request_builder.go index a62891b285b..3fba92406eb 100644 --- a/groups/item_drives_count_request_builder.go +++ b/groups/item_drives_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDrivesCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemDrivesCountRequestBuilder) WithUrl(rawUrl string)(*ItemDrivesCountRequestBuilder) { + return NewItemDrivesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_drives_drive_item_request_builder.go b/groups/item_drives_drive_item_request_builder.go index 48c0f25b556..976fbb56a96 100644 --- a/groups/item_drives_drive_item_request_builder.go +++ b/groups/item_drives_drive_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemDrivesDriveItemRequestBuilder) ToGetRequestInformation(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 *ItemDrivesDriveItemRequestBuilder) WithUrl(rawUrl string)(*ItemDrivesDriveItemRequestBuilder) { + return NewItemDrivesDriveItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_drives_request_builder.go b/groups/item_drives_request_builder.go index 931077fba13..341f1133e2e 100644 --- a/groups/item_drives_request_builder.go +++ b/groups/item_drives_request_builder.go @@ -39,8 +39,8 @@ type ItemDrivesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemDrivesRequestBuilderGetQueryParameters } -// ByDriveIdString provides operations to manage the drives property of the microsoft.graph.group entity. -func (m *ItemDrivesRequestBuilder) ByDriveIdString(driveId string)(*ItemDrivesDriveItemRequestBuilder) { +// ByDriveId provides operations to manage the drives property of the microsoft.graph.group entity. +func (m *ItemDrivesRequestBuilder) ByDriveId(driveId string)(*ItemDrivesDriveItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemDrivesRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemDrivesRequestBuilder) WithUrl(rawUrl string)(*ItemDrivesRequestBuilder) { + return NewItemDrivesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_endpoints_count_request_builder.go b/groups/item_endpoints_count_request_builder.go index d3cc2567dba..037ba4a88aa 100644 --- a/groups/item_endpoints_count_request_builder.go +++ b/groups/item_endpoints_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemEndpointsCountRequestBuilder) 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 *ItemEndpointsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEndpointsCountRequestBuilder) { + return NewItemEndpointsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_endpoints_endpoint_item_request_builder.go b/groups/item_endpoints_endpoint_item_request_builder.go index a24b8470f0d..3c840c2cf49 100644 --- a/groups/item_endpoints_endpoint_item_request_builder.go +++ b/groups/item_endpoints_endpoint_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemEndpointsEndpointItemRequestBuilder) ToPatchRequestInformation(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 *ItemEndpointsEndpointItemRequestBuilder) WithUrl(rawUrl string)(*ItemEndpointsEndpointItemRequestBuilder) { + return NewItemEndpointsEndpointItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_endpoints_request_builder.go b/groups/item_endpoints_request_builder.go index 0ca449ebcd0..d9e29a1f61c 100644 --- a/groups/item_endpoints_request_builder.go +++ b/groups/item_endpoints_request_builder.go @@ -46,8 +46,8 @@ type ItemEndpointsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEndpointIdString provides operations to manage the endpoints property of the microsoft.graph.group entity. -func (m *ItemEndpointsRequestBuilder) ByEndpointIdString(endpointId string)(*ItemEndpointsEndpointItemRequestBuilder) { +// ByEndpointId provides operations to manage the endpoints property of the microsoft.graph.group entity. +func (m *ItemEndpointsRequestBuilder) ByEndpointId(endpointId string)(*ItemEndpointsEndpointItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemEndpointsRequestBuilder) 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 *ItemEndpointsRequestBuilder) WithUrl(rawUrl string)(*ItemEndpointsRequestBuilder) { + return NewItemEndpointsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_evaluate_dynamic_membership_request_builder.go b/groups/item_evaluate_dynamic_membership_request_builder.go index 9d8affe8d00..3a0063c4e1e 100644 --- a/groups/item_evaluate_dynamic_membership_request_builder.go +++ b/groups/item_evaluate_dynamic_membership_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemEvaluateDynamicMembershipRequestBuilder) ToPostRequestInformation(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 *ItemEvaluateDynamicMembershipRequestBuilder) WithUrl(rawUrl string)(*ItemEvaluateDynamicMembershipRequestBuilder) { + return NewItemEvaluateDynamicMembershipRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_count_request_builder.go b/groups/item_events_count_request_builder.go index f671cd8858d..a8463465b0e 100644 --- a/groups/item_events_count_request_builder.go +++ b/groups/item_events_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemEventsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsCountRequestBuilder) { + return NewItemEventsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_delta_request_builder.go b/groups/item_events_delta_request_builder.go index d0ea5162dae..4b917a9e4e3 100644 --- a/groups/item_events_delta_request_builder.go +++ b/groups/item_events_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemEventsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemEventsDeltaRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemEventsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemEventsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemEventsDeltaRequestBuilder) { + return NewItemEventsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_event_item_request_builder.go b/groups/item_events_event_item_request_builder.go index ec9dc5b018c..ab50148cade 100644 --- a/groups/item_events_event_item_request_builder.go +++ b/groups/item_events_event_item_request_builder.go @@ -208,3 +208,7 @@ func (m *ItemEventsEventItemRequestBuilder) ToPatchRequestInformation(ctx contex } 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 *ItemEventsEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsEventItemRequestBuilder) { + return NewItemEventsEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_accept_request_builder.go b/groups/item_events_item_accept_request_builder.go index b6294458af0..bd505ddfa61 100644 --- a/groups/item_events_item_accept_request_builder.go +++ b/groups/item_events_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemAcceptRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemEventsItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemAcceptRequestBuilder) { + return NewItemEventsItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_attachments_attachment_item_request_builder.go b/groups/item_events_item_attachments_attachment_item_request_builder.go index 620490eb6ed..fb06a61dd9c 100644 --- a/groups/item_events_item_attachments_attachment_item_request_builder.go +++ b/groups/item_events_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx conte } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestI } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInfo } 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 *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemEventsItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_attachments_count_request_builder.go b/groups/item_events_item_attachments_count_request_builder.go index 0d26c3c582b..6b43bbf3519 100644 --- a/groups/item_events_item_attachments_count_request_builder.go +++ b/groups/item_events_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemAttachmentsCountRequestBuilder) ToGetRequestInformation(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 *ItemEventsItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemAttachmentsCountRequestBuilder) { + return NewItemEventsItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_attachments_create_upload_session_request_builder.go b/groups/item_events_item_attachments_create_upload_session_request_builder.go index 88640e7c1f1..29ab40aa9c7 100644 --- a/groups/item_events_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_events_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemEventsItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemEventsItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemEventsItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemEventsItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) ToPostReque } 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 *ItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemEventsItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_attachments_request_builder.go b/groups/item_events_item_attachments_request_builder.go index 7b1f7e93bbb..5d61713615a 100644 --- a/groups/item_events_item_attachments_request_builder.go +++ b/groups/item_events_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemEventsItemAttachmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemEventsItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemEventsItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemEventsItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemEventsItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemEventsItemAttachmentsRequestBuilder) Get(ctx context.Context, reque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemEventsItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx co } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemEventsItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemEventsItemAttachmentsRequestBuilder) ToPostRequestInformation(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 *ItemEventsItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemAttachmentsRequestBuilder) { + return NewItemEventsItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_calendar_request_builder.go b/groups/item_events_item_calendar_request_builder.go index c38feaa229e..27cb495ef10 100644 --- a/groups/item_events_item_calendar_request_builder.go +++ b/groups/item_events_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemEventsItemCalendarRequestBuilder) ToGetRequestInformation(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 *ItemEventsItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemCalendarRequestBuilder) { + return NewItemEventsItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_cancel_request_builder.go b/groups/item_events_item_cancel_request_builder.go index afa5a3fe40f..de76385152c 100644 --- a/groups/item_events_item_cancel_request_builder.go +++ b/groups/item_events_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemCancelRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemEventsItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemCancelRequestBuilder) { + return NewItemEventsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_decline_request_builder.go b/groups/item_events_item_decline_request_builder.go index 765996e37c2..cf5b2670b77 100644 --- a/groups/item_events_item_decline_request_builder.go +++ b/groups/item_events_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemDeclineRequestBuilder) 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 *ItemEventsItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemDeclineRequestBuilder) { + return NewItemEventsItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_dismiss_reminder_request_builder.go b/groups/item_events_item_dismiss_reminder_request_builder.go index 5373c3a656e..764a4f76a6a 100644 --- a/groups/item_events_item_dismiss_reminder_request_builder.go +++ b/groups/item_events_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemEventsItemDismissReminderRequestBuilder) ToPostRequestInformation(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 *ItemEventsItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemDismissReminderRequestBuilder) { + return NewItemEventsItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_count_request_builder.go b/groups/item_events_item_exception_occurrences_count_request_builder.go index d34954a714d..39ade03e719 100644 --- a/groups/item_events_item_exception_occurrences_count_request_builder.go +++ b/groups/item_events_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemExceptionOccurrencesCountRequestBuilder) ToGetRequestInfo } 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 *ItemEventsItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesCountRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_delta_request_builder.go b/groups/item_events_item_exception_occurrences_delta_request_builder.go index 4d5d62d5284..e56e5290b1b 100644 --- a/groups/item_events_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_events_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters str // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters str // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemEventsItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInfo } 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 *ItemEventsItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_event_item_request_builder.go b/groups/item_events_item_exception_occurrences_event_item_request_builder.go index ee29d6024d3..1b9e79c7142 100644 --- a/groups/item_events_item_exception_occurrences_event_item_request_builder.go +++ b/groups/item_events_item_exception_occurrences_event_item_request_builder.go @@ -119,3 +119,7 @@ func (m *ItemEventsItemExceptionOccurrencesEventItemRequestBuilder) ToGetRequest } 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 *ItemEventsItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_accept_request_builder.go b/groups/item_events_item_exception_occurrences_item_accept_request_builder.go index 3a32ec0235a..15c5e5f84fa 100644 --- a/groups/item_events_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder) ToPostReque } 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 *ItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 09809d67a0c..9bebfaf8692 100644 --- a/groups/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestB } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestB } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestB } 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 *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_attachments_count_request_builder.go b/groups/item_events_item_exception_occurrences_item_attachments_count_request_builder.go index 8a485fb28c3..9aaf51fab77 100644 --- a/groups/item_events_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) T } 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 *ItemEventsItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/groups/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index c64b93f6147..26456247865 100644 --- a/groups/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequ urlParams["request-raw-url"] = rawUrl return NewItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionReq } 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 *ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_events_item_exception_occurrences_item_attachments_request_builder.go index 4194a69cb3e..97992d6cffd 100644 --- a/groups/item_events_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetR } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPost } 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 *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_calendar_request_builder.go b/groups/item_events_item_exception_occurrences_item_calendar_request_builder.go index a674f0930fb..88fe36bc721 100644 --- a/groups/item_events_item_exception_occurrences_item_calendar_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemCalendarRequestBuilder) ToGetRequ } 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 *ItemEventsItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_events_item_exception_occurrences_item_cancel_request_builder.go index 8a336d4391a..d1a0410e731 100644 --- a/groups/item_events_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemCancelRequestBuilder) ToPostReque } 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 *ItemEventsItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_decline_request_builder.go b/groups/item_events_item_exception_occurrences_item_decline_request_builder.go index 1343808b104..238d1c736f7 100644 --- a/groups/item_events_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder) ToPostRequ } 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 *ItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go index e6ba5c8bc31..4b933a0b9b9 100644 --- a/groups/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder) To } 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 *ItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_extensions_count_request_builder.go b/groups/item_events_item_exception_occurrences_item_extensions_count_request_builder.go index ec3e0e5ba4f..e1b09f72332 100644 --- a/groups/item_events_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder) To } 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 *ItemEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go index f8d6828907c..7482abfc347 100644 --- a/groups/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBui } 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 *ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_extensions_request_builder.go b/groups/item_events_item_exception_occurrences_item_extensions_request_builder.go index 250e7c1b329..791b82c91a9 100644 --- a/groups/item_events_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostR } 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 *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_forward_request_builder.go b/groups/item_events_item_exception_occurrences_item_forward_request_builder.go index 71b1d98d567..1b31fc5710a 100644 --- a/groups/item_events_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemForwardRequestBuilder) ToPostRequ } 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 *ItemEventsItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_instances_count_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_count_request_builder.go index 4c0ab91b22a..ecf5a6df18e 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_count_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesCountRequestBuilder) ToG } 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 *ItemEventsItemExceptionOccurrencesItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesCountRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_instances_delta_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_delta_request_builder.go index 79931d55934..c9e2880d33e 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryP // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryP // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) ToG } 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 *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_instances_event_item_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_event_item_request_builder.go index ad9328a0cc1..c3102cf9b7d 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder stru // ItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -117,3 +117,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) } 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 *ItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go index 017f4c71e1c..10ca26eead2 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 906524b7e92..fe7e7126491 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmen } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmen } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmen } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go index 9d50ec3ab64..7d62454d886 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequ } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index af285364f46..18fda4982d2 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUplo urlParams["request-raw-url"] = rawUrl return NewItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUpl } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUpl } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 5a70dd46332..ebbef727b12 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBu } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBu } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go index 0c95a8bab27..21e7271638f 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemCalendarRequestBuild } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go index b682d7358b4..3d4865fe82a 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go index 10508db86a6..da7e90961c3 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilde } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 2819bfc1fcf..8d8b84204c4 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderReque } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go index e3716f5bef7..a03317b4aa2 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountReque } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index 44cbcd2cd74..519486d7a94 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionI } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go index 54ca3fb4256..33d1873b0a6 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBui } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go index e287561a2c2..5b0f92aab2d 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilde } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index f1bf1dc76ca..bfe63bda76d 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderReques } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index ecb63a4714e..8d571ce4c9c 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptReq } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_instances_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_request_builder.go index 18b1b509ec5..272d53cd6e9 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetQueryParame // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetQueryParame // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetRequestConf // Request query parameters QueryParameters *ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2String(eventId2 string)(*ItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2(eventId2 string)(*ItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) ToGetReq } 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 *ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go index 891e8ad2c82..17dad82393c 100644 --- a/groups/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) 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 *ItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go index 401a3a55396..e4fb4972c4c 100644 --- a/groups/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) } 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 *ItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_exception_occurrences_request_builder.go b/groups/item_events_item_exception_occurrences_request_builder.go index afacfff6e20..91151d7c3c4 100644 --- a/groups/item_events_item_exception_occurrences_request_builder.go +++ b/groups/item_events_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemEventsItemExceptionOccurrencesRequestBuilderGetRequestConfiguration str // Request query parameters QueryParameters *ItemEventsItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemEventsItemExceptionOccurrencesRequestBuilder) ByEventId1String(eventId1 string)(*ItemEventsItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemEventsItemExceptionOccurrencesRequestBuilder) ByEventId1(eventId1 string)(*ItemEventsItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemEventsItemExceptionOccurrencesRequestBuilder) ToGetRequestInformati } 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 *ItemEventsItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_extensions_count_request_builder.go b/groups/item_events_item_extensions_count_request_builder.go index c3fbf3db8bd..3a683352069 100644 --- a/groups/item_events_item_extensions_count_request_builder.go +++ b/groups/item_events_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemExtensionsCountRequestBuilder) ToGetRequestInformation(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 *ItemEventsItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExtensionsCountRequestBuilder) { + return NewItemEventsItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_extensions_extension_item_request_builder.go b/groups/item_events_item_extensions_extension_item_request_builder.go index 904fbd83d40..616d4f61131 100644 --- a/groups/item_events_item_extensions_extension_item_request_builder.go +++ b/groups/item_events_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemEventsItemExtensionsExtensionItemRequestBuilder) 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 *ItemEventsItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExtensionsExtensionItemRequestBuilder) { + return NewItemEventsItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_extensions_request_builder.go b/groups/item_events_item_extensions_request_builder.go index 9fc1892bcb4..a3ebc57ef1d 100644 --- a/groups/item_events_item_extensions_request_builder.go +++ b/groups/item_events_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemEventsItemExtensionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemEventsItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemEventsItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemEventsItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemEventsItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemEventsItemExtensionsRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemEventsItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExtensionsRequestBuilder) { + return NewItemEventsItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_forward_request_builder.go b/groups/item_events_item_forward_request_builder.go index be8042751ee..de7b9cd3234 100644 --- a/groups/item_events_item_forward_request_builder.go +++ b/groups/item_events_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemForwardRequestBuilder) 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 *ItemEventsItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemForwardRequestBuilder) { + return NewItemEventsItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_count_request_builder.go b/groups/item_events_item_instances_count_request_builder.go index f5d513f24d5..5288257e7ee 100644 --- a/groups/item_events_item_instances_count_request_builder.go +++ b/groups/item_events_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemInstancesCountRequestBuilder) ToGetRequestInformation(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 *ItemEventsItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesCountRequestBuilder) { + return NewItemEventsItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_delta_request_builder.go b/groups/item_events_item_instances_delta_request_builder.go index ba9d83877f8..04a9cca04cd 100644 --- a/groups/item_events_item_instances_delta_request_builder.go +++ b/groups/item_events_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemEventsItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemEventsItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemEventsItemInstancesDeltaRequestBuilder) ToGetRequestInformation(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 *ItemEventsItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesDeltaRequestBuilder) { + return NewItemEventsItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_event_item_request_builder.go b/groups/item_events_item_instances_event_item_request_builder.go index 127d230be02..cb3bdc7167c 100644 --- a/groups/item_events_item_instances_event_item_request_builder.go +++ b/groups/item_events_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemEventsItemInstancesEventItemRequestBuilder struct { // ItemEventsItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemEventsItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemEventsItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -121,3 +121,7 @@ func (m *ItemEventsItemInstancesEventItemRequestBuilder) 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 *ItemEventsItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesEventItemRequestBuilder) { + return NewItemEventsItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_accept_request_builder.go b/groups/item_events_item_instances_item_accept_request_builder.go index b0e4c4cfbb8..bf29387ca14 100644 --- a/groups/item_events_item_instances_item_accept_request_builder.go +++ b/groups/item_events_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemAcceptRequestBuilder) ToPostRequestInformati } 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 *ItemEventsItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemAcceptRequestBuilder) { + return NewItemEventsItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_events_item_instances_item_attachments_attachment_item_request_builder.go index c3205fa2c8b..36bb63f6eab 100644 --- a/groups/item_events_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_events_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Del } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToD } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToG } 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 *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_attachments_count_request_builder.go b/groups/item_events_item_instances_item_attachments_count_request_builder.go index 0b4ee8155ee..3a928a7717d 100644 --- a/groups/item_events_item_instances_item_attachments_count_request_builder.go +++ b/groups/item_events_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsCountRequestBuilder) ToGetRequest } 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 *ItemEventsItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemEventsItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_attachments_create_upload_session_request_builder.go b/groups/item_events_item_instances_item_attachments_create_upload_session_request_builder.go index 768eef960fd..ae5fd953a0c 100644 --- a/groups/item_events_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_events_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder( urlParams["request-raw-url"] = rawUrl return NewItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemEventsItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder } 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 *ItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_attachments_request_builder.go b/groups/item_events_item_instances_item_attachments_request_builder.go index 3d5bd285cdc..d14a4c4e601 100644 --- a/groups/item_events_item_instances_item_attachments_request_builder.go +++ b/groups/item_events_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemEventsItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInfor } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInfo } 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 *ItemEventsItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemAttachmentsRequestBuilder) { + return NewItemEventsItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_calendar_request_builder.go b/groups/item_events_item_instances_item_calendar_request_builder.go index 2929eef17bd..6d96dae5781 100644 --- a/groups/item_events_item_instances_item_calendar_request_builder.go +++ b/groups/item_events_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemEventsItemInstancesItemCalendarRequestBuilder) ToGetRequestInformat } 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 *ItemEventsItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemCalendarRequestBuilder) { + return NewItemEventsItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_cancel_request_builder.go b/groups/item_events_item_instances_item_cancel_request_builder.go index 61323cd953e..9cdac9e40e7 100644 --- a/groups/item_events_item_instances_item_cancel_request_builder.go +++ b/groups/item_events_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemCancelRequestBuilder) ToPostRequestInformati } 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 *ItemEventsItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemCancelRequestBuilder) { + return NewItemEventsItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_decline_request_builder.go b/groups/item_events_item_instances_item_decline_request_builder.go index 187038e085b..bd25cfacb44 100644 --- a/groups/item_events_item_instances_item_decline_request_builder.go +++ b/groups/item_events_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemDeclineRequestBuilder) ToPostRequestInformat } 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 *ItemEventsItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemDeclineRequestBuilder) { + return NewItemEventsItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_events_item_instances_item_dismiss_reminder_request_builder.go index 078a0d4c723..169fc937cdd 100644 --- a/groups/item_events_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_events_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemEventsItemInstancesItemDismissReminderRequestBuilder) ToPostRequest } 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 *ItemEventsItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemDismissReminderRequestBuilder) { + return NewItemEventsItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_exception_occurrences_count_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_count_request_builder.go index f4f78dfe03a..d220d6aa86f 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_count_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesCountRequestBuilder) ToG } 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 *ItemEventsItemInstancesItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesCountRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_exception_occurrences_delta_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_delta_request_builder.go index f3f958ba7e7..a687bb97af7 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryP // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryP // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) ToG } 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 *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_exception_occurrences_event_item_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_event_item_request_builder.go index 8dc085be3ae..ccb076d0573 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -115,3 +115,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) } 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 *ItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go index 7fb557ee023..bcc4409e684 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 1503f09d5f3..623301461eb 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmen } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmen } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmen } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go index bdda30b764a..a1cb1823011 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequ } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 76b6025cd94..cc4f1df6dbe 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUplo urlParams["request-raw-url"] = rawUrl return NewItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUpl } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUpl } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 9a3fc3582a8..8e900594322 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBu } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBu } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go index 5febf95e5a4..b4f8a720240 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemCalendarRequestBuild } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go index eb0ab839d54..7737d3dcc3f 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go index d05366ecff7..8be2b265682 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilde } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index f218955bff0..4e863a49de1 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderReque } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go index 0295f9bb6ba..801d2ceb762 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountReque } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 0d3d1eaa519..16f94843175 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionI } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 7d4251c6b38..628020811b1 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBui } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go index eca3ca681a6..90ee77f74ce 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilde } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 0a9a08c471c..ae1080389c0 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderReques } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index befc108ef31..d131c15b64a 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptReq } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_exception_occurrences_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_request_builder.go index 34603551010..80cfc7122a8 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemEventsItemInstancesItemExceptionOccurrencesRequestBuilderGetRequestConf // Request query parameters QueryParameters *ItemEventsItemInstancesItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2String(eventId2 string)(*ItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2(eventId2 string)(*ItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder) ToGetReq } 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 *ItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_extensions_count_request_builder.go b/groups/item_events_item_instances_item_extensions_count_request_builder.go index ce4a0e9893d..aaff8419a0e 100644 --- a/groups/item_events_item_instances_item_extensions_count_request_builder.go +++ b/groups/item_events_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemInstancesItemExtensionsCountRequestBuilder) ToGetRequestI } 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 *ItemEventsItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemEventsItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_events_item_instances_item_extensions_extension_item_request_builder.go index a82d5f5227f..9632034c214 100644 --- a/groups/item_events_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_events_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) 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 *ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_extensions_request_builder.go b/groups/item_events_item_instances_item_extensions_request_builder.go index f8efb98f0c4..6cb7cadb07f 100644 --- a/groups/item_events_item_instances_item_extensions_request_builder.go +++ b/groups/item_events_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemEventsItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) ToPostRequestInfor } 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 *ItemEventsItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExtensionsRequestBuilder) { + return NewItemEventsItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_forward_request_builder.go b/groups/item_events_item_instances_item_forward_request_builder.go index 8dd5ae6add5..343db93a0b1 100644 --- a/groups/item_events_item_instances_item_forward_request_builder.go +++ b/groups/item_events_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemForwardRequestBuilder) ToPostRequestInformat } 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 *ItemEventsItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemForwardRequestBuilder) { + return NewItemEventsItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_snooze_reminder_request_builder.go b/groups/item_events_item_instances_item_snooze_reminder_request_builder.go index 905ca03f83d..b5b83bfa164 100644 --- a/groups/item_events_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_events_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemSnoozeReminderRequestBuilder) ToPostRequestI } 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 *ItemEventsItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemEventsItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_item_tentatively_accept_request_builder.go b/groups/item_events_item_instances_item_tentatively_accept_request_builder.go index 960d2e2fbff..565b116c320 100644 --- a/groups/item_events_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_events_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemTentativelyAcceptRequestBuilder) ToPostReque } 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 *ItemEventsItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemEventsItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_instances_request_builder.go b/groups/item_events_item_instances_request_builder.go index 08c1c8535f9..28c9238762f 100644 --- a/groups/item_events_item_instances_request_builder.go +++ b/groups/item_events_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemEventsItemInstancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemEventsItemInstancesRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemEventsItemInstancesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemEventsItemInstancesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemEventsItemInstancesRequestBuilder) ByEventId1String(eventId1 string)(*ItemEventsItemInstancesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemEventsItemInstancesRequestBuilder) ByEventId1(eventId1 string)(*ItemEventsItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemEventsItemInstancesRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemEventsItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesRequestBuilder) { + return NewItemEventsItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_snooze_reminder_request_builder.go b/groups/item_events_item_snooze_reminder_request_builder.go index 9e3e42f5ea1..35f1132b2a6 100644 --- a/groups/item_events_item_snooze_reminder_request_builder.go +++ b/groups/item_events_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemSnoozeReminderRequestBuilder) 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 *ItemEventsItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemSnoozeReminderRequestBuilder) { + return NewItemEventsItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_item_tentatively_accept_request_builder.go b/groups/item_events_item_tentatively_accept_request_builder.go index 0c7a1980f99..1d7ddc717ed 100644 --- a/groups/item_events_item_tentatively_accept_request_builder.go +++ b/groups/item_events_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemTentativelyAcceptRequestBuilder) 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 *ItemEventsItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemTentativelyAcceptRequestBuilder) { + return NewItemEventsItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_events_request_builder.go b/groups/item_events_request_builder.go index 4cb3ad3884a..c0af2a30f95 100644 --- a/groups/item_events_request_builder.go +++ b/groups/item_events_request_builder.go @@ -42,8 +42,8 @@ type ItemEventsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEventIdString provides operations to manage the events property of the microsoft.graph.group entity. -func (m *ItemEventsRequestBuilder) ByEventIdString(eventId string)(*ItemEventsEventItemRequestBuilder) { +// ByEventId provides operations to manage the events property of the microsoft.graph.group entity. +func (m *ItemEventsRequestBuilder) ByEventId(eventId string)(*ItemEventsEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemEventsRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemEventsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsRequestBuilder) { + return NewItemEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_extensions_count_request_builder.go b/groups/item_extensions_count_request_builder.go index 65223c71def..ffc1c4bb9fe 100644 --- a/groups/item_extensions_count_request_builder.go +++ b/groups/item_extensions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemExtensionsCountRequestBuilder) ToGetRequestInformation(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 *ItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemExtensionsCountRequestBuilder) { + return NewItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_extensions_extension_item_request_builder.go b/groups/item_extensions_extension_item_request_builder.go index b7721e43472..594cb3fa6a9 100644 --- a/groups/item_extensions_extension_item_request_builder.go +++ b/groups/item_extensions_extension_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemExtensionsExtensionItemRequestBuilder) ToPatchRequestInformation(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 *ItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemExtensionsExtensionItemRequestBuilder) { + return NewItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_extensions_request_builder.go b/groups/item_extensions_request_builder.go index 0c46dd9cd42..9d0e49c7484 100644 --- a/groups/item_extensions_request_builder.go +++ b/groups/item_extensions_request_builder.go @@ -46,8 +46,8 @@ type ItemExtensionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.group entity. -func (m *ItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.group entity. +func (m *ItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *ItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemExtensionsRequestBuilder) { + return NewItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_get_member_groups_request_builder.go b/groups/item_get_member_groups_request_builder.go index 53e97e21734..c57ca6b0dcb 100644 --- a/groups/item_get_member_groups_request_builder.go +++ b/groups/item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) 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 *ItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberGroupsRequestBuilder) { + return NewItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_get_member_objects_request_builder.go b/groups/item_get_member_objects_request_builder.go index 1dd0a7df520..1e3acede76a 100644 --- a/groups/item_get_member_objects_request_builder.go +++ b/groups/item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberObjectsRequestBuilder) { + return NewItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_group_lifecycle_policies_count_request_builder.go b/groups/item_group_lifecycle_policies_count_request_builder.go index 645ea4fccb6..9a25534d5bb 100644 --- a/groups/item_group_lifecycle_policies_count_request_builder.go +++ b/groups/item_group_lifecycle_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemGroupLifecyclePoliciesCountRequestBuilder) 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 *ItemGroupLifecyclePoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ItemGroupLifecyclePoliciesCountRequestBuilder) { + return NewItemGroupLifecyclePoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_group_lifecycle_policies_group_lifecycle_policy_item_request_builder.go b/groups/item_group_lifecycle_policies_group_lifecycle_policy_item_request_builder.go index 29950849793..64a190b2e39 100644 --- a/groups/item_group_lifecycle_policies_group_lifecycle_policy_item_request_builder.go +++ b/groups/item_group_lifecycle_policies_group_lifecycle_policy_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemGroupLifecyclePoliciesGroupLifecyclePolicyItemRequestBuilder) 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 *ItemGroupLifecyclePoliciesGroupLifecyclePolicyItemRequestBuilder) WithUrl(rawUrl string)(*ItemGroupLifecyclePoliciesGroupLifecyclePolicyItemRequestBuilder) { + return NewItemGroupLifecyclePoliciesGroupLifecyclePolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_group_lifecycle_policies_item_add_group_request_builder.go b/groups/item_group_lifecycle_policies_item_add_group_request_builder.go index 57211f04577..6cfa5c221c8 100644 --- a/groups/item_group_lifecycle_policies_item_add_group_request_builder.go +++ b/groups/item_group_lifecycle_policies_item_add_group_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemGroupLifecyclePoliciesItemAddGroupRequestBuilder) ToPostRequestInfo } 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 *ItemGroupLifecyclePoliciesItemAddGroupRequestBuilder) WithUrl(rawUrl string)(*ItemGroupLifecyclePoliciesItemAddGroupRequestBuilder) { + return NewItemGroupLifecyclePoliciesItemAddGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_group_lifecycle_policies_item_remove_group_request_builder.go b/groups/item_group_lifecycle_policies_item_remove_group_request_builder.go index 1f3bf93998b..46501616c1a 100644 --- a/groups/item_group_lifecycle_policies_item_remove_group_request_builder.go +++ b/groups/item_group_lifecycle_policies_item_remove_group_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemGroupLifecyclePoliciesItemRemoveGroupRequestBuilder) ToPostRequestI } 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 *ItemGroupLifecyclePoliciesItemRemoveGroupRequestBuilder) WithUrl(rawUrl string)(*ItemGroupLifecyclePoliciesItemRemoveGroupRequestBuilder) { + return NewItemGroupLifecyclePoliciesItemRemoveGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_group_lifecycle_policies_renew_group_request_builder.go b/groups/item_group_lifecycle_policies_renew_group_request_builder.go index 8e3ff5171d4..e8abe492780 100644 --- a/groups/item_group_lifecycle_policies_renew_group_request_builder.go +++ b/groups/item_group_lifecycle_policies_renew_group_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemGroupLifecyclePoliciesRenewGroupRequestBuilder) ToPostRequestInform } 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 *ItemGroupLifecyclePoliciesRenewGroupRequestBuilder) WithUrl(rawUrl string)(*ItemGroupLifecyclePoliciesRenewGroupRequestBuilder) { + return NewItemGroupLifecyclePoliciesRenewGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_group_lifecycle_policies_request_builder.go b/groups/item_group_lifecycle_policies_request_builder.go index 39bcda895e3..97d239df678 100644 --- a/groups/item_group_lifecycle_policies_request_builder.go +++ b/groups/item_group_lifecycle_policies_request_builder.go @@ -46,8 +46,8 @@ type ItemGroupLifecyclePoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupLifecyclePolicyIdString provides operations to manage the groupLifecyclePolicies property of the microsoft.graph.group entity. -func (m *ItemGroupLifecyclePoliciesRequestBuilder) ByGroupLifecyclePolicyIdString(groupLifecyclePolicyId string)(*ItemGroupLifecyclePoliciesGroupLifecyclePolicyItemRequestBuilder) { +// ByGroupLifecyclePolicyId provides operations to manage the groupLifecyclePolicies property of the microsoft.graph.group entity. +func (m *ItemGroupLifecyclePoliciesRequestBuilder) ByGroupLifecyclePolicyId(groupLifecyclePolicyId string)(*ItemGroupLifecyclePoliciesGroupLifecyclePolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *ItemGroupLifecyclePoliciesRequestBuilder) 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 *ItemGroupLifecyclePoliciesRequestBuilder) WithUrl(rawUrl string)(*ItemGroupLifecyclePoliciesRequestBuilder) { + return NewItemGroupLifecyclePoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_member_of_count_request_builder.go b/groups/item_member_of_count_request_builder.go index 2ee9b35b31f..daa92d36d23 100644 --- a/groups/item_member_of_count_request_builder.go +++ b/groups/item_member_of_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMemberOfCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemMemberOfCountRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfCountRequestBuilder) { + return NewItemMemberOfCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_member_of_directory_object_item_request_builder.go b/groups/item_member_of_directory_object_item_request_builder.go index b43ae5ff52c..3cda18cfa5d 100644 --- a/groups/item_member_of_directory_object_item_request_builder.go +++ b/groups/item_member_of_directory_object_item_request_builder.go @@ -83,3 +83,7 @@ func (m *ItemMemberOfDirectoryObjectItemRequestBuilder) 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 *ItemMemberOfDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfDirectoryObjectItemRequestBuilder) { + return NewItemMemberOfDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_member_of_graph_administrative_unit_count_request_builder.go b/groups/item_member_of_graph_administrative_unit_count_request_builder.go index d976096c396..6ca914abc63 100644 --- a/groups/item_member_of_graph_administrative_unit_count_request_builder.go +++ b/groups/item_member_of_graph_administrative_unit_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMemberOfGraphAdministrativeUnitCountRequestBuilder) ToGetRequestInf } 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 *ItemMemberOfGraphAdministrativeUnitCountRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphAdministrativeUnitCountRequestBuilder) { + return NewItemMemberOfGraphAdministrativeUnitCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_member_of_graph_administrative_unit_request_builder.go b/groups/item_member_of_graph_administrative_unit_request_builder.go index 5a955f65f75..76422984f65 100644 --- a/groups/item_member_of_graph_administrative_unit_request_builder.go +++ b/groups/item_member_of_graph_administrative_unit_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMemberOfGraphAdministrativeUnitRequestBuilder) ToGetRequestInformat } 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 *ItemMemberOfGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphAdministrativeUnitRequestBuilder) { + return NewItemMemberOfGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_member_of_graph_group_count_request_builder.go b/groups/item_member_of_graph_group_count_request_builder.go index c323ed8317f..a6f5b0e77e2 100644 --- a/groups/item_member_of_graph_group_count_request_builder.go +++ b/groups/item_member_of_graph_group_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMemberOfGraphGroupCountRequestBuilder) ToGetRequestInformation(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 *ItemMemberOfGraphGroupCountRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphGroupCountRequestBuilder) { + return NewItemMemberOfGraphGroupCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_member_of_graph_group_request_builder.go b/groups/item_member_of_graph_group_request_builder.go index 5c43bf40de6..c0b6a5a7fca 100644 --- a/groups/item_member_of_graph_group_request_builder.go +++ b/groups/item_member_of_graph_group_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMemberOfGraphGroupRequestBuilder) ToGetRequestInformation(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 *ItemMemberOfGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphGroupRequestBuilder) { + return NewItemMemberOfGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_member_of_item_graph_administrative_unit_request_builder.go b/groups/item_member_of_item_graph_administrative_unit_request_builder.go index d4abbf93c6b..e08a56937fc 100644 --- a/groups/item_member_of_item_graph_administrative_unit_request_builder.go +++ b/groups/item_member_of_item_graph_administrative_unit_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMemberOfItemGraphAdministrativeUnitRequestBuilder) ToGetRequestInfo } 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 *ItemMemberOfItemGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfItemGraphAdministrativeUnitRequestBuilder) { + return NewItemMemberOfItemGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_member_of_item_graph_group_request_builder.go b/groups/item_member_of_item_graph_group_request_builder.go index a954f029a52..220d762b4aa 100644 --- a/groups/item_member_of_item_graph_group_request_builder.go +++ b/groups/item_member_of_item_graph_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMemberOfItemGraphGroupRequestBuilder) ToGetRequestInformation(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 *ItemMemberOfItemGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfItemGraphGroupRequestBuilder) { + return NewItemMemberOfItemGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_member_of_request_builder.go b/groups/item_member_of_request_builder.go index fbbe554adc7..41e4d9369d6 100644 --- a/groups/item_member_of_request_builder.go +++ b/groups/item_member_of_request_builder.go @@ -39,8 +39,8 @@ type ItemMemberOfRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemMemberOfRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the memberOf property of the microsoft.graph.group entity. -func (m *ItemMemberOfRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemMemberOfDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the memberOf property of the microsoft.graph.group entity. +func (m *ItemMemberOfRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemMemberOfDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -113,3 +113,7 @@ func (m *ItemMemberOfRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemMemberOfRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfRequestBuilder) { + return NewItemMemberOfRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_count_request_builder.go b/groups/item_members_count_request_builder.go index 7ab8341976d..1efce1999e7 100644 --- a/groups/item_members_count_request_builder.go +++ b/groups/item_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersCountRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *ItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersCountRequestBuilder) { + return NewItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_graph_application_count_request_builder.go b/groups/item_members_graph_application_count_request_builder.go index 55727c0d094..545f51686a6 100644 --- a/groups/item_members_graph_application_count_request_builder.go +++ b/groups/item_members_graph_application_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersGraphApplicationCountRequestBuilder) 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 *ItemMembersGraphApplicationCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphApplicationCountRequestBuilder) { + return NewItemMembersGraphApplicationCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_graph_application_request_builder.go b/groups/item_members_graph_application_request_builder.go index adee83d12fc..f36e7b8ba4a 100644 --- a/groups/item_members_graph_application_request_builder.go +++ b/groups/item_members_graph_application_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersGraphApplicationRequestBuilder) ToGetRequestInformation(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 *ItemMembersGraphApplicationRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphApplicationRequestBuilder) { + return NewItemMembersGraphApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_graph_device_count_request_builder.go b/groups/item_members_graph_device_count_request_builder.go index 3d85ad8c07e..643a86d9a03 100644 --- a/groups/item_members_graph_device_count_request_builder.go +++ b/groups/item_members_graph_device_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersGraphDeviceCountRequestBuilder) ToGetRequestInformation(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 *ItemMembersGraphDeviceCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphDeviceCountRequestBuilder) { + return NewItemMembersGraphDeviceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_graph_device_request_builder.go b/groups/item_members_graph_device_request_builder.go index 3764d1febf6..a9787767cf2 100644 --- a/groups/item_members_graph_device_request_builder.go +++ b/groups/item_members_graph_device_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersGraphDeviceRequestBuilder) ToGetRequestInformation(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 *ItemMembersGraphDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphDeviceRequestBuilder) { + return NewItemMembersGraphDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_graph_group_count_request_builder.go b/groups/item_members_graph_group_count_request_builder.go index a77907512e2..d135ad1f9ae 100644 --- a/groups/item_members_graph_group_count_request_builder.go +++ b/groups/item_members_graph_group_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersGraphGroupCountRequestBuilder) ToGetRequestInformation(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 *ItemMembersGraphGroupCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphGroupCountRequestBuilder) { + return NewItemMembersGraphGroupCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_graph_group_request_builder.go b/groups/item_members_graph_group_request_builder.go index 7034bec78e1..93ce9f2f2cb 100644 --- a/groups/item_members_graph_group_request_builder.go +++ b/groups/item_members_graph_group_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersGraphGroupRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemMembersGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphGroupRequestBuilder) { + return NewItemMembersGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_graph_org_contact_count_request_builder.go b/groups/item_members_graph_org_contact_count_request_builder.go index 4da56f87e8e..0d2eafed39f 100644 --- a/groups/item_members_graph_org_contact_count_request_builder.go +++ b/groups/item_members_graph_org_contact_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersGraphOrgContactCountRequestBuilder) 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 *ItemMembersGraphOrgContactCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphOrgContactCountRequestBuilder) { + return NewItemMembersGraphOrgContactCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_graph_org_contact_request_builder.go b/groups/item_members_graph_org_contact_request_builder.go index 480214c1e68..7ad181c6df6 100644 --- a/groups/item_members_graph_org_contact_request_builder.go +++ b/groups/item_members_graph_org_contact_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersGraphOrgContactRequestBuilder) ToGetRequestInformation(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 *ItemMembersGraphOrgContactRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphOrgContactRequestBuilder) { + return NewItemMembersGraphOrgContactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_graph_service_principal_count_request_builder.go b/groups/item_members_graph_service_principal_count_request_builder.go index a1a8497e596..b28414a067a 100644 --- a/groups/item_members_graph_service_principal_count_request_builder.go +++ b/groups/item_members_graph_service_principal_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersGraphServicePrincipalCountRequestBuilder) ToGetRequestInform } 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 *ItemMembersGraphServicePrincipalCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphServicePrincipalCountRequestBuilder) { + return NewItemMembersGraphServicePrincipalCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_graph_service_principal_request_builder.go b/groups/item_members_graph_service_principal_request_builder.go index 2b393ec3d15..07e3c140fd6 100644 --- a/groups/item_members_graph_service_principal_request_builder.go +++ b/groups/item_members_graph_service_principal_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersGraphServicePrincipalRequestBuilder) 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 *ItemMembersGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphServicePrincipalRequestBuilder) { + return NewItemMembersGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_graph_user_count_request_builder.go b/groups/item_members_graph_user_count_request_builder.go index 1aa6f423aba..1130666ceb7 100644 --- a/groups/item_members_graph_user_count_request_builder.go +++ b/groups/item_members_graph_user_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersGraphUserCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemMembersGraphUserCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphUserCountRequestBuilder) { + return NewItemMembersGraphUserCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_graph_user_request_builder.go b/groups/item_members_graph_user_request_builder.go index 0947e53d1a0..55dce3c08f6 100644 --- a/groups/item_members_graph_user_request_builder.go +++ b/groups/item_members_graph_user_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersGraphUserRequestBuilder) ToGetRequestInformation(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 *ItemMembersGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemMembersGraphUserRequestBuilder) { + return NewItemMembersGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_item_graph_application_request_builder.go b/groups/item_members_item_graph_application_request_builder.go index 78c2a5b3111..d537673e792 100644 --- a/groups/item_members_item_graph_application_request_builder.go +++ b/groups/item_members_item_graph_application_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersItemGraphApplicationRequestBuilder) 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 *ItemMembersItemGraphApplicationRequestBuilder) WithUrl(rawUrl string)(*ItemMembersItemGraphApplicationRequestBuilder) { + return NewItemMembersItemGraphApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_item_graph_device_request_builder.go b/groups/item_members_item_graph_device_request_builder.go index b8bbbd5119f..7c3510ced68 100644 --- a/groups/item_members_item_graph_device_request_builder.go +++ b/groups/item_members_item_graph_device_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersItemGraphDeviceRequestBuilder) ToGetRequestInformation(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 *ItemMembersItemGraphDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemMembersItemGraphDeviceRequestBuilder) { + return NewItemMembersItemGraphDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_item_graph_group_request_builder.go b/groups/item_members_item_graph_group_request_builder.go index 220109f7fbe..61e065f3bc8 100644 --- a/groups/item_members_item_graph_group_request_builder.go +++ b/groups/item_members_item_graph_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersItemGraphGroupRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemMembersItemGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemMembersItemGraphGroupRequestBuilder) { + return NewItemMembersItemGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_item_graph_org_contact_request_builder.go b/groups/item_members_item_graph_org_contact_request_builder.go index 9293d7fdc33..0492d32aee0 100644 --- a/groups/item_members_item_graph_org_contact_request_builder.go +++ b/groups/item_members_item_graph_org_contact_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersItemGraphOrgContactRequestBuilder) ToGetRequestInformation(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 *ItemMembersItemGraphOrgContactRequestBuilder) WithUrl(rawUrl string)(*ItemMembersItemGraphOrgContactRequestBuilder) { + return NewItemMembersItemGraphOrgContactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_item_graph_service_principal_request_builder.go b/groups/item_members_item_graph_service_principal_request_builder.go index cd2e8488b1a..0e1a5da0b2d 100644 --- a/groups/item_members_item_graph_service_principal_request_builder.go +++ b/groups/item_members_item_graph_service_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersItemGraphServicePrincipalRequestBuilder) ToGetRequestInforma } 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 *ItemMembersItemGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemMembersItemGraphServicePrincipalRequestBuilder) { + return NewItemMembersItemGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_item_graph_user_request_builder.go b/groups/item_members_item_graph_user_request_builder.go index 832568d30ed..720f182b6ed 100644 --- a/groups/item_members_item_graph_user_request_builder.go +++ b/groups/item_members_item_graph_user_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersItemGraphUserRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemMembersItemGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemMembersItemGraphUserRequestBuilder) { + return NewItemMembersItemGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_item_ref_request_builder.go b/groups/item_members_item_ref_request_builder.go index 8a50956b6bc..191438b613d 100644 --- a/groups/item_members_item_ref_request_builder.go +++ b/groups/item_members_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *ItemMembersItemRefRequestBuilder) ToDeleteRequestInformation(ctx contex } 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 *ItemMembersItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemMembersItemRefRequestBuilder) { + return NewItemMembersItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_ref_request_builder.go b/groups/item_members_ref_request_builder.go index eb6bb9752f1..086cb191618 100644 --- a/groups/item_members_ref_request_builder.go +++ b/groups/item_members_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *ItemMembersRefRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *ItemMembersRefRequestBuilder) WithUrl(rawUrl string)(*ItemMembersRefRequestBuilder) { + return NewItemMembersRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_request_builder.go b/groups/item_members_request_builder.go index 0028f97e83d..679600a5c7f 100644 --- a/groups/item_members_request_builder.go +++ b/groups/item_members_request_builder.go @@ -39,8 +39,8 @@ type ItemMembersRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemMembersRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.item.members.item collection -func (m *ItemMembersRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemMembersDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.item.members.item collection +func (m *ItemMembersRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemMembersDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -133,3 +133,7 @@ func (m *ItemMembersRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemMembersRequestBuilder) WithUrl(rawUrl string)(*ItemMembersRequestBuilder) { + return NewItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_with_license_errors_count_request_builder.go b/groups/item_members_with_license_errors_count_request_builder.go index f4022b375ff..c2cb80e95be 100644 --- a/groups/item_members_with_license_errors_count_request_builder.go +++ b/groups/item_members_with_license_errors_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersWithLicenseErrorsCountRequestBuilder) 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 *ItemMembersWithLicenseErrorsCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersWithLicenseErrorsCountRequestBuilder) { + return NewItemMembersWithLicenseErrorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_with_license_errors_directory_object_item_request_builder.go b/groups/item_members_with_license_errors_directory_object_item_request_builder.go index 8dfbcbe52c1..6d79f2b2948 100644 --- a/groups/item_members_with_license_errors_directory_object_item_request_builder.go +++ b/groups/item_members_with_license_errors_directory_object_item_request_builder.go @@ -99,3 +99,7 @@ func (m *ItemMembersWithLicenseErrorsDirectoryObjectItemRequestBuilder) ToGetReq } 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 *ItemMembersWithLicenseErrorsDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemMembersWithLicenseErrorsDirectoryObjectItemRequestBuilder) { + return NewItemMembersWithLicenseErrorsDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_with_license_errors_graph_application_count_request_builder.go b/groups/item_members_with_license_errors_graph_application_count_request_builder.go index 03325fb6f8e..32b848e290d 100644 --- a/groups/item_members_with_license_errors_graph_application_count_request_builder.go +++ b/groups/item_members_with_license_errors_graph_application_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersWithLicenseErrorsGraphApplicationCountRequestBuilder) ToGetR } 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 *ItemMembersWithLicenseErrorsGraphApplicationCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersWithLicenseErrorsGraphApplicationCountRequestBuilder) { + return NewItemMembersWithLicenseErrorsGraphApplicationCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_with_license_errors_graph_application_request_builder.go b/groups/item_members_with_license_errors_graph_application_request_builder.go index a6efdc510a6..15a4e6df90d 100644 --- a/groups/item_members_with_license_errors_graph_application_request_builder.go +++ b/groups/item_members_with_license_errors_graph_application_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersWithLicenseErrorsGraphApplicationRequestBuilder) ToGetReques } 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 *ItemMembersWithLicenseErrorsGraphApplicationRequestBuilder) WithUrl(rawUrl string)(*ItemMembersWithLicenseErrorsGraphApplicationRequestBuilder) { + return NewItemMembersWithLicenseErrorsGraphApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_with_license_errors_graph_device_count_request_builder.go b/groups/item_members_with_license_errors_graph_device_count_request_builder.go index ea9357801ce..5ff6b375fe3 100644 --- a/groups/item_members_with_license_errors_graph_device_count_request_builder.go +++ b/groups/item_members_with_license_errors_graph_device_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersWithLicenseErrorsGraphDeviceCountRequestBuilder) ToGetReques } 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 *ItemMembersWithLicenseErrorsGraphDeviceCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersWithLicenseErrorsGraphDeviceCountRequestBuilder) { + return NewItemMembersWithLicenseErrorsGraphDeviceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_with_license_errors_graph_device_request_builder.go b/groups/item_members_with_license_errors_graph_device_request_builder.go index f251ba51128..e19ef177618 100644 --- a/groups/item_members_with_license_errors_graph_device_request_builder.go +++ b/groups/item_members_with_license_errors_graph_device_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersWithLicenseErrorsGraphDeviceRequestBuilder) ToGetRequestInfo } 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 *ItemMembersWithLicenseErrorsGraphDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemMembersWithLicenseErrorsGraphDeviceRequestBuilder) { + return NewItemMembersWithLicenseErrorsGraphDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_with_license_errors_graph_group_count_request_builder.go b/groups/item_members_with_license_errors_graph_group_count_request_builder.go index ba937624f57..953e839888c 100644 --- a/groups/item_members_with_license_errors_graph_group_count_request_builder.go +++ b/groups/item_members_with_license_errors_graph_group_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersWithLicenseErrorsGraphGroupCountRequestBuilder) ToGetRequest } 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 *ItemMembersWithLicenseErrorsGraphGroupCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersWithLicenseErrorsGraphGroupCountRequestBuilder) { + return NewItemMembersWithLicenseErrorsGraphGroupCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_with_license_errors_graph_group_request_builder.go b/groups/item_members_with_license_errors_graph_group_request_builder.go index 935f46bb1c4..36fd62295d9 100644 --- a/groups/item_members_with_license_errors_graph_group_request_builder.go +++ b/groups/item_members_with_license_errors_graph_group_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersWithLicenseErrorsGraphGroupRequestBuilder) ToGetRequestInfor } 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 *ItemMembersWithLicenseErrorsGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemMembersWithLicenseErrorsGraphGroupRequestBuilder) { + return NewItemMembersWithLicenseErrorsGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_with_license_errors_graph_org_contact_count_request_builder.go b/groups/item_members_with_license_errors_graph_org_contact_count_request_builder.go index 89b8613848b..cd1053f38b6 100644 --- a/groups/item_members_with_license_errors_graph_org_contact_count_request_builder.go +++ b/groups/item_members_with_license_errors_graph_org_contact_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersWithLicenseErrorsGraphOrgContactCountRequestBuilder) ToGetRe } 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 *ItemMembersWithLicenseErrorsGraphOrgContactCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersWithLicenseErrorsGraphOrgContactCountRequestBuilder) { + return NewItemMembersWithLicenseErrorsGraphOrgContactCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_with_license_errors_graph_org_contact_request_builder.go b/groups/item_members_with_license_errors_graph_org_contact_request_builder.go index cedcc8565e8..adc1abc6821 100644 --- a/groups/item_members_with_license_errors_graph_org_contact_request_builder.go +++ b/groups/item_members_with_license_errors_graph_org_contact_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersWithLicenseErrorsGraphOrgContactRequestBuilder) ToGetRequest } 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 *ItemMembersWithLicenseErrorsGraphOrgContactRequestBuilder) WithUrl(rawUrl string)(*ItemMembersWithLicenseErrorsGraphOrgContactRequestBuilder) { + return NewItemMembersWithLicenseErrorsGraphOrgContactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_with_license_errors_graph_service_principal_count_request_builder.go b/groups/item_members_with_license_errors_graph_service_principal_count_request_builder.go index debd67e3185..4b3b40ac219 100644 --- a/groups/item_members_with_license_errors_graph_service_principal_count_request_builder.go +++ b/groups/item_members_with_license_errors_graph_service_principal_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersWithLicenseErrorsGraphServicePrincipalCountRequestBuilder) T } 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 *ItemMembersWithLicenseErrorsGraphServicePrincipalCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersWithLicenseErrorsGraphServicePrincipalCountRequestBuilder) { + return NewItemMembersWithLicenseErrorsGraphServicePrincipalCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_with_license_errors_graph_service_principal_request_builder.go b/groups/item_members_with_license_errors_graph_service_principal_request_builder.go index 479e44e4a47..d47e1a55e35 100644 --- a/groups/item_members_with_license_errors_graph_service_principal_request_builder.go +++ b/groups/item_members_with_license_errors_graph_service_principal_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersWithLicenseErrorsGraphServicePrincipalRequestBuilder) ToGetR } 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 *ItemMembersWithLicenseErrorsGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemMembersWithLicenseErrorsGraphServicePrincipalRequestBuilder) { + return NewItemMembersWithLicenseErrorsGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_with_license_errors_graph_user_count_request_builder.go b/groups/item_members_with_license_errors_graph_user_count_request_builder.go index 1cc8b883008..4f3b4911b35 100644 --- a/groups/item_members_with_license_errors_graph_user_count_request_builder.go +++ b/groups/item_members_with_license_errors_graph_user_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersWithLicenseErrorsGraphUserCountRequestBuilder) ToGetRequestI } 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 *ItemMembersWithLicenseErrorsGraphUserCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersWithLicenseErrorsGraphUserCountRequestBuilder) { + return NewItemMembersWithLicenseErrorsGraphUserCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_with_license_errors_graph_user_request_builder.go b/groups/item_members_with_license_errors_graph_user_request_builder.go index a6264215d7b..0ba0be78fb4 100644 --- a/groups/item_members_with_license_errors_graph_user_request_builder.go +++ b/groups/item_members_with_license_errors_graph_user_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMembersWithLicenseErrorsGraphUserRequestBuilder) ToGetRequestInform } 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 *ItemMembersWithLicenseErrorsGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemMembersWithLicenseErrorsGraphUserRequestBuilder) { + return NewItemMembersWithLicenseErrorsGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_with_license_errors_item_graph_application_request_builder.go b/groups/item_members_with_license_errors_item_graph_application_request_builder.go index 718d9e34f07..6cf6c2ccd6f 100644 --- a/groups/item_members_with_license_errors_item_graph_application_request_builder.go +++ b/groups/item_members_with_license_errors_item_graph_application_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersWithLicenseErrorsItemGraphApplicationRequestBuilder) ToGetRe } 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 *ItemMembersWithLicenseErrorsItemGraphApplicationRequestBuilder) WithUrl(rawUrl string)(*ItemMembersWithLicenseErrorsItemGraphApplicationRequestBuilder) { + return NewItemMembersWithLicenseErrorsItemGraphApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_with_license_errors_item_graph_device_request_builder.go b/groups/item_members_with_license_errors_item_graph_device_request_builder.go index 6442e578830..8d2e680fb29 100644 --- a/groups/item_members_with_license_errors_item_graph_device_request_builder.go +++ b/groups/item_members_with_license_errors_item_graph_device_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersWithLicenseErrorsItemGraphDeviceRequestBuilder) ToGetRequest } 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 *ItemMembersWithLicenseErrorsItemGraphDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemMembersWithLicenseErrorsItemGraphDeviceRequestBuilder) { + return NewItemMembersWithLicenseErrorsItemGraphDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_with_license_errors_item_graph_group_request_builder.go b/groups/item_members_with_license_errors_item_graph_group_request_builder.go index 53a4c3df410..47ae37919ba 100644 --- a/groups/item_members_with_license_errors_item_graph_group_request_builder.go +++ b/groups/item_members_with_license_errors_item_graph_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersWithLicenseErrorsItemGraphGroupRequestBuilder) ToGetRequestI } 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 *ItemMembersWithLicenseErrorsItemGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemMembersWithLicenseErrorsItemGraphGroupRequestBuilder) { + return NewItemMembersWithLicenseErrorsItemGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_with_license_errors_item_graph_org_contact_request_builder.go b/groups/item_members_with_license_errors_item_graph_org_contact_request_builder.go index ce0b5e66660..69fb4173724 100644 --- a/groups/item_members_with_license_errors_item_graph_org_contact_request_builder.go +++ b/groups/item_members_with_license_errors_item_graph_org_contact_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersWithLicenseErrorsItemGraphOrgContactRequestBuilder) ToGetReq } 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 *ItemMembersWithLicenseErrorsItemGraphOrgContactRequestBuilder) WithUrl(rawUrl string)(*ItemMembersWithLicenseErrorsItemGraphOrgContactRequestBuilder) { + return NewItemMembersWithLicenseErrorsItemGraphOrgContactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_with_license_errors_item_graph_service_principal_request_builder.go b/groups/item_members_with_license_errors_item_graph_service_principal_request_builder.go index 90b1d7d098e..1d18327c7d2 100644 --- a/groups/item_members_with_license_errors_item_graph_service_principal_request_builder.go +++ b/groups/item_members_with_license_errors_item_graph_service_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersWithLicenseErrorsItemGraphServicePrincipalRequestBuilder) To } 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 *ItemMembersWithLicenseErrorsItemGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemMembersWithLicenseErrorsItemGraphServicePrincipalRequestBuilder) { + return NewItemMembersWithLicenseErrorsItemGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_with_license_errors_item_graph_user_request_builder.go b/groups/item_members_with_license_errors_item_graph_user_request_builder.go index deaa6fb41f5..e315b075d23 100644 --- a/groups/item_members_with_license_errors_item_graph_user_request_builder.go +++ b/groups/item_members_with_license_errors_item_graph_user_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMembersWithLicenseErrorsItemGraphUserRequestBuilder) ToGetRequestIn } 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 *ItemMembersWithLicenseErrorsItemGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemMembersWithLicenseErrorsItemGraphUserRequestBuilder) { + return NewItemMembersWithLicenseErrorsItemGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_members_with_license_errors_request_builder.go b/groups/item_members_with_license_errors_request_builder.go index 3da28f14128..d733732fd47 100644 --- a/groups/item_members_with_license_errors_request_builder.go +++ b/groups/item_members_with_license_errors_request_builder.go @@ -39,8 +39,8 @@ type ItemMembersWithLicenseErrorsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemMembersWithLicenseErrorsRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the membersWithLicenseErrors property of the microsoft.graph.group entity. -func (m *ItemMembersWithLicenseErrorsRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemMembersWithLicenseErrorsDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the membersWithLicenseErrors property of the microsoft.graph.group entity. +func (m *ItemMembersWithLicenseErrorsRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemMembersWithLicenseErrorsDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -126,3 +126,7 @@ func (m *ItemMembersWithLicenseErrorsRequestBuilder) ToGetRequestInformation(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 *ItemMembersWithLicenseErrorsRequestBuilder) WithUrl(rawUrl string)(*ItemMembersWithLicenseErrorsRequestBuilder) { + return NewItemMembersWithLicenseErrorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_count_request_builder.go b/groups/item_onenote_notebooks_count_request_builder.go index 543b3f1cf6b..f25045f3495 100644 --- a/groups/item_onenote_notebooks_count_request_builder.go +++ b/groups/item_onenote_notebooks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteNotebooksCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemOnenoteNotebooksCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksCountRequestBuilder) { + return NewItemOnenoteNotebooksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go b/groups/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go index 8c8b0ed5780..cfa90a0d10d 100644 --- a/groups/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go +++ b/groups/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder) ToPostRequestI } 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 *ItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder) { + return NewItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go b/groups/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go index 395d34881ff..6d8fab1b2c2 100644 --- a/groups/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go +++ b/groups/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksReque } 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 *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) { + return NewItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_copy_notebook_request_builder.go b/groups/item_onenote_notebooks_item_copy_notebook_request_builder.go index 659814f2fab..7d198579164 100644 --- a/groups/item_onenote_notebooks_item_copy_notebook_request_builder.go +++ b/groups/item_onenote_notebooks_item_copy_notebook_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksItemCopyNotebookRequestBuilder) ToPostRequestInform } 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 *ItemOnenoteNotebooksItemCopyNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemCopyNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemCopyNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_count_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_count_request_builder.go index dde213f906f..45ea5cf1fb2 100644 --- a/groups/item_onenote_notebooks_item_section_groups_count_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsCountRequestBuilder) ToGetRequestI } 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 *ItemOnenoteNotebooksItemSectionGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsCountRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go index 146739154f9..4d7249530b0 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemParentNotebookRequestBuilder) } 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 *ItemOnenoteNotebooksItemSectionGroupsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemParentNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go index 6eeb015921e..e35ca4bf3fb 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemParentSectionGroupRequestBuild } 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 *ItemOnenoteNotebooksItemSectionGroupsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemParentSectionGroupRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_item_section_groups_count_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_section_groups_count_request_builder.go index 58b462da770..7c83ca11920 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_section_groups_count_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_section_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuild } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go index 8da43d72392..fcab330ee13 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go @@ -39,8 +39,8 @@ type ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetRequ // Request query parameters QueryParameters *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters } -// BySectionGroupId1String provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. -func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) BySectionGroupId1String(sectionGroupId1 string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { +// BySectionGroupId1 provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. +func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) BySectionGroupId1(sectionGroupId1 string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) T } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go index 478e2b9c5ff..23795182545 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemR } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_count_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_count_request_builder.go index 0964699477c..3d322f4b00a 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_count_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilder) T } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go index 7562184e8b0..2046b2b592c 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequ } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go index 3cd2cf088df..02a8d6daa0c 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroup } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_count_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_count_request_builder.go index 3ee568b7f2b..1056b9b3323 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_count_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesCountRequestB } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesCountRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go index ce6a460047b..57fd15148dd 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemContentRe } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index 63be55ee629..e964e950bf2 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSec } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go index d3212fb6652..8b614d37635 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePa } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go index 1505493fa1d..1a7e47cbe69 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentNot } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go index 975ba08331b..e0e2ea0cd3c 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentSec } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go index e949d870e8e..98440fb731f 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemPreviewRe } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go index 48320bc02a9..ed2e0107783 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go @@ -177,3 +177,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageIt } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go index f99ed813981..a347d2e4f8a 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilderPos // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenotePageIdString provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. -func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilder) ByOnenotePageIdString(onenotePageId string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { +// ByOnenotePageId provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. +func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilder) ByOnenotePageId(onenotePageId string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilde } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go index 5555b76f9bf..bb4cf4ab6ae 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentNotebookRequ } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go index 33515a6fd0a..a76b47cf746 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentSectionGroup } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go index bb68c6240cc..9d3cca74118 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequ } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go index 78b6e14aa70..14da167bba7 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteSectionIdString provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. -func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ByOnenoteSectionIdString(onenoteSectionId string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { +// ByOnenoteSectionId provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. +func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ByOnenoteSectionId(onenoteSectionId string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ToPost } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_request_builder.go index ce8ebd92754..6acfc4c3ed8 100644 --- a/groups/item_onenote_notebooks_item_section_groups_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteNotebooksItemSectionGroupsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySectionGroupIdString provides operations to manage the sectionGroups property of the microsoft.graph.notebook entity. -func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) BySectionGroupIdString(sectionGroupId string)(*ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) { +// BySectionGroupId provides operations to manage the sectionGroups property of the microsoft.graph.notebook entity. +func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) BySectionGroupId(sectionGroupId string)(*ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToPostRequestInfor } 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 *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go index 423f7582d5b..9baa8d51e88 100644 --- a/groups/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go @@ -169,3 +169,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) To } 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 *ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_sections_count_request_builder.go b/groups/item_onenote_notebooks_item_sections_count_request_builder.go index 4b9e28227e7..78559f608f8 100644 --- a/groups/item_onenote_notebooks_item_sections_count_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteNotebooksItemSectionsCountRequestBuilder) ToGetRequestInform } 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 *ItemOnenoteNotebooksItemSectionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsCountRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go index 381dded35dc..dab4a5706b6 100644 --- a/groups/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder) ToPos } 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 *ItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go index 135d9aed81d..f7b5279f959 100644 --- a/groups/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder) T } 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 *ItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_sections_item_pages_count_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_pages_count_request_builder.go index e11f0a7a6ca..067d6ef553b 100644 --- a/groups/item_onenote_notebooks_item_sections_item_pages_count_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesCountRequestBuilder) ToGetRequ } 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 *ItemOnenoteNotebooksItemSectionsItemPagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesCountRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go index 3d50a4af20b..1bfc697b8e7 100644 --- a/groups/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBuilder) 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 *ItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go index 9c0fde9c9e2..6837434b711 100644 --- a/groups/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilde } 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 *ItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go index b732c0b3d35..84dc3f4ac3f 100644 --- a/groups/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentRequest } 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 *ItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go index b8fd53c79dd..e60b7c83462 100644 --- a/groups/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemParentNotebookRequestBuild } 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 *ItemOnenoteNotebooksItemSectionsItemPagesItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesItemParentNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go index 5943015c34d..28b2050f9c8 100644 --- a/groups/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemParentSectionRequestBuilde } 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 *ItemOnenoteNotebooksItemSectionsItemPagesItemParentSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesItemParentSectionRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesItemParentSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go index 64d3739de37..62098949b46 100644 --- a/groups/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemPreviewRequestBuilder) ToG } 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 *ItemOnenoteNotebooksItemSectionsItemPagesItemPreviewRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesItemPreviewRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesItemPreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go index 4787ed0bd64..3f3e43eabb5 100644 --- a/groups/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go @@ -177,3 +177,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) } 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 *ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_sections_item_pages_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_pages_request_builder.go index 3b538c1c34e..141ce16dc3f 100644 --- a/groups/item_onenote_notebooks_item_sections_item_pages_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_pages_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenotePageIdString provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. -func (m *ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) ByOnenotePageIdString(onenotePageId string)(*ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) { +// ByOnenotePageId provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. +func (m *ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) ByOnenotePageId(onenotePageId string)(*ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) ToPostRequestI } 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 *ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go index f1101b0ce03..f7caf169aae 100644 --- a/groups/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemParentNotebookRequestBuilder) ToGet } 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 *ItemOnenoteNotebooksItemSectionsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemParentNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go index cfd3cccc33b..3c8acd96e3f 100644 --- a/groups/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemParentSectionGroupRequestBuilder) T } 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 *ItemOnenoteNotebooksItemSectionsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemParentSectionGroupRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go b/groups/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go index 60841a7a96f..961504a72bf 100644 --- a/groups/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) 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 *ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_item_sections_request_builder.go b/groups/item_onenote_notebooks_item_sections_request_builder.go index 025f69b27cd..b64dc96c553 100644 --- a/groups/item_onenote_notebooks_item_sections_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteNotebooksItemSectionsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteSectionIdString provides operations to manage the sections property of the microsoft.graph.notebook entity. -func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ByOnenoteSectionIdString(onenoteSectionId string)(*ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) { +// ByOnenoteSectionId provides operations to manage the sections property of the microsoft.graph.notebook entity. +func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ByOnenoteSectionId(onenoteSectionId string)(*ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ToPostRequestInformatio } 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 *ItemOnenoteNotebooksItemSectionsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_notebook_item_request_builder.go b/groups/item_onenote_notebooks_notebook_item_request_builder.go index 9d6fb2377cb..44c276342ff 100644 --- a/groups/item_onenote_notebooks_notebook_item_request_builder.go +++ b/groups/item_onenote_notebooks_notebook_item_request_builder.go @@ -168,3 +168,7 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) ToPatchRequestInformati } 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 *ItemOnenoteNotebooksNotebookItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksNotebookItemRequestBuilder) { + return NewItemOnenoteNotebooksNotebookItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_notebooks_request_builder.go b/groups/item_onenote_notebooks_request_builder.go index 47f3a69e2f5..3ca91973094 100644 --- a/groups/item_onenote_notebooks_request_builder.go +++ b/groups/item_onenote_notebooks_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteNotebooksRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByNotebookIdString provides operations to manage the notebooks property of the microsoft.graph.onenote entity. -func (m *ItemOnenoteNotebooksRequestBuilder) ByNotebookIdString(notebookId string)(*ItemOnenoteNotebooksNotebookItemRequestBuilder) { +// ByNotebookId provides operations to manage the notebooks property of the microsoft.graph.onenote entity. +func (m *ItemOnenoteNotebooksRequestBuilder) ByNotebookId(notebookId string)(*ItemOnenoteNotebooksNotebookItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -159,3 +159,7 @@ func (m *ItemOnenoteNotebooksRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemOnenoteNotebooksRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksRequestBuilder) { + return NewItemOnenoteNotebooksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_operations_count_request_builder.go b/groups/item_onenote_operations_count_request_builder.go index f2998e460f5..4580d6f2fe8 100644 --- a/groups/item_onenote_operations_count_request_builder.go +++ b/groups/item_onenote_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteOperationsCountRequestBuilder) ToGetRequestInformation(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 *ItemOnenoteOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteOperationsCountRequestBuilder) { + return NewItemOnenoteOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_operations_onenote_operation_item_request_builder.go b/groups/item_onenote_operations_onenote_operation_item_request_builder.go index c0f00d5c0c5..faeab4bda6e 100644 --- a/groups/item_onenote_operations_onenote_operation_item_request_builder.go +++ b/groups/item_onenote_operations_onenote_operation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnenoteOperationsOnenoteOperationItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. type ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) Delete(ctx con } return nil } -// Get get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// Get get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/onenoteoperation-get?view=graph-rest-1.0 @@ -123,7 +123,7 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToDeleteReques } return requestInfo, nil } -// ToGetRequestInformation get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ToGetRequestInformation get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -156,3 +156,7 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToPatchRequest } 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 *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) { + return NewItemOnenoteOperationsOnenoteOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_operations_request_builder.go b/groups/item_onenote_operations_request_builder.go index ab2044296d1..d50669da4e7 100644 --- a/groups/item_onenote_operations_request_builder.go +++ b/groups/item_onenote_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteOperationsRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ItemOnenoteOperationsRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. type ItemOnenoteOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type ItemOnenoteOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteOperationIdString provides operations to manage the operations property of the microsoft.graph.onenote entity. -func (m *ItemOnenoteOperationsRequestBuilder) ByOnenoteOperationIdString(onenoteOperationId string)(*ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) { +// ByOnenoteOperationId provides operations to manage the operations property of the microsoft.graph.onenote entity. +func (m *ItemOnenoteOperationsRequestBuilder) ByOnenoteOperationId(onenoteOperationId string)(*ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,7 +74,7 @@ func NewItemOnenoteOperationsRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *ItemOnenoteOperationsRequestBuilder) Count()(*ItemOnenoteOperationsCountRequestBuilder) { return NewItemOnenoteOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// Get get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. func (m *ItemOnenoteOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +112,7 @@ func (m *ItemOnenoteOperationsRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable), nil } -// ToGetRequestInformation get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ToGetRequestInformation get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. func (m *ItemOnenoteOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -145,3 +145,7 @@ func (m *ItemOnenoteOperationsRequestBuilder) 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 *ItemOnenoteOperationsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteOperationsRequestBuilder) { + return NewItemOnenoteOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_pages_count_request_builder.go b/groups/item_onenote_pages_count_request_builder.go index 3fcc177d83f..2899924d8d6 100644 --- a/groups/item_onenote_pages_count_request_builder.go +++ b/groups/item_onenote_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenotePagesCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemOnenotePagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesCountRequestBuilder) { + return NewItemOnenotePagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_pages_item_content_request_builder.go b/groups/item_onenote_pages_item_content_request_builder.go index 36feef250f9..20e0a373fbd 100644 --- a/groups/item_onenote_pages_item_content_request_builder.go +++ b/groups/item_onenote_pages_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemOnenotePagesItemContentRequestBuilder) ToPutRequestInformation(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 *ItemOnenotePagesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesItemContentRequestBuilder) { + return NewItemOnenotePagesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_pages_item_copy_to_section_request_builder.go b/groups/item_onenote_pages_item_copy_to_section_request_builder.go index d57ba966412..d535f6fb657 100644 --- a/groups/item_onenote_pages_item_copy_to_section_request_builder.go +++ b/groups/item_onenote_pages_item_copy_to_section_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenotePagesItemCopyToSectionRequestBuilder) ToPostRequestInformati } 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 *ItemOnenotePagesItemCopyToSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesItemCopyToSectionRequestBuilder) { + return NewItemOnenotePagesItemCopyToSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_pages_item_onenote_patch_content_request_builder.go b/groups/item_onenote_pages_item_onenote_patch_content_request_builder.go index 3a9429c82d5..f14d0e48cb9 100644 --- a/groups/item_onenote_pages_item_onenote_patch_content_request_builder.go +++ b/groups/item_onenote_pages_item_onenote_patch_content_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemOnenotePagesItemOnenotePatchContentRequestBuilder) ToPostRequestInf } 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 *ItemOnenotePagesItemOnenotePatchContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesItemOnenotePatchContentRequestBuilder) { + return NewItemOnenotePagesItemOnenotePatchContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_pages_item_parent_notebook_request_builder.go b/groups/item_onenote_pages_item_parent_notebook_request_builder.go index 55794b8a17c..f83d239cf3d 100644 --- a/groups/item_onenote_pages_item_parent_notebook_request_builder.go +++ b/groups/item_onenote_pages_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenotePagesItemParentNotebookRequestBuilder) ToGetRequestInformati } 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 *ItemOnenotePagesItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesItemParentNotebookRequestBuilder) { + return NewItemOnenotePagesItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_pages_item_parent_section_request_builder.go b/groups/item_onenote_pages_item_parent_section_request_builder.go index a3d3e00805f..b4d36fe28a8 100644 --- a/groups/item_onenote_pages_item_parent_section_request_builder.go +++ b/groups/item_onenote_pages_item_parent_section_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenotePagesItemParentSectionRequestBuilder) 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 *ItemOnenotePagesItemParentSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesItemParentSectionRequestBuilder) { + return NewItemOnenotePagesItemParentSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_pages_item_preview_request_builder.go b/groups/item_onenote_pages_item_preview_request_builder.go index ebe35aa6916..6a4503cd698 100644 --- a/groups/item_onenote_pages_item_preview_request_builder.go +++ b/groups/item_onenote_pages_item_preview_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemOnenotePagesItemPreviewRequestBuilder) ToGetRequestInformation(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 *ItemOnenotePagesItemPreviewRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesItemPreviewRequestBuilder) { + return NewItemOnenotePagesItemPreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_pages_onenote_page_item_request_builder.go b/groups/item_onenote_pages_onenote_page_item_request_builder.go index d5327b78a65..20b7262ce5b 100644 --- a/groups/item_onenote_pages_onenote_page_item_request_builder.go +++ b/groups/item_onenote_pages_onenote_page_item_request_builder.go @@ -180,3 +180,7 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) ToPatchRequestInformatio } 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 *ItemOnenotePagesOnenotePageItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesOnenotePageItemRequestBuilder) { + return NewItemOnenotePagesOnenotePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_pages_request_builder.go b/groups/item_onenote_pages_request_builder.go index 6759c4ebdd0..0b92f679d90 100644 --- a/groups/item_onenote_pages_request_builder.go +++ b/groups/item_onenote_pages_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenotePagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenotePageIdString provides operations to manage the pages property of the microsoft.graph.onenote entity. -func (m *ItemOnenotePagesRequestBuilder) ByOnenotePageIdString(onenotePageId string)(*ItemOnenotePagesOnenotePageItemRequestBuilder) { +// ByOnenotePageId provides operations to manage the pages property of the microsoft.graph.onenote entity. +func (m *ItemOnenotePagesRequestBuilder) ByOnenotePageId(onenotePageId string)(*ItemOnenotePagesOnenotePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemOnenotePagesRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ItemOnenotePagesRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesRequestBuilder) { + return NewItemOnenotePagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_request_builder.go b/groups/item_onenote_request_builder.go index 57fa73e32d8..dfdd6b6577c 100644 --- a/groups/item_onenote_request_builder.go +++ b/groups/item_onenote_request_builder.go @@ -177,3 +177,7 @@ func (m *ItemOnenoteRequestBuilder) ToPatchRequestInformation(ctx context.Contex } 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 *ItemOnenoteRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteRequestBuilder) { + return NewItemOnenoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_resources_count_request_builder.go b/groups/item_onenote_resources_count_request_builder.go index 7c11e8f24af..f2cee8e6fd6 100644 --- a/groups/item_onenote_resources_count_request_builder.go +++ b/groups/item_onenote_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteResourcesCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemOnenoteResourcesCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteResourcesCountRequestBuilder) { + return NewItemOnenoteResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_resources_item_content_request_builder.go b/groups/item_onenote_resources_item_content_request_builder.go index b480d4406bb..dfefe101844 100644 --- a/groups/item_onenote_resources_item_content_request_builder.go +++ b/groups/item_onenote_resources_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemOnenoteResourcesItemContentRequestBuilder) ToPutRequestInformation( } 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 *ItemOnenoteResourcesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteResourcesItemContentRequestBuilder) { + return NewItemOnenoteResourcesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_resources_onenote_resource_item_request_builder.go b/groups/item_onenote_resources_onenote_resource_item_request_builder.go index 072f263842a..7831293692c 100644 --- a/groups/item_onenote_resources_onenote_resource_item_request_builder.go +++ b/groups/item_onenote_resources_onenote_resource_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) ToPatchRequestIn } 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 *ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) { + return NewItemOnenoteResourcesOnenoteResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_resources_request_builder.go b/groups/item_onenote_resources_request_builder.go index 4a946e7bc9e..5c4fc23842e 100644 --- a/groups/item_onenote_resources_request_builder.go +++ b/groups/item_onenote_resources_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteResourcesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteResourceIdString provides operations to manage the resources property of the microsoft.graph.onenote entity. -func (m *ItemOnenoteResourcesRequestBuilder) ByOnenoteResourceIdString(onenoteResourceId string)(*ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) { +// ByOnenoteResourceId provides operations to manage the resources property of the microsoft.graph.onenote entity. +func (m *ItemOnenoteResourcesRequestBuilder) ByOnenoteResourceId(onenoteResourceId string)(*ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemOnenoteResourcesRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemOnenoteResourcesRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteResourcesRequestBuilder) { + return NewItemOnenoteResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_count_request_builder.go b/groups/item_onenote_section_groups_count_request_builder.go index e5234c74bd6..c40de020b96 100644 --- a/groups/item_onenote_section_groups_count_request_builder.go +++ b/groups/item_onenote_section_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteSectionGroupsCountRequestBuilder) ToGetRequestInformation(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 *ItemOnenoteSectionGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsCountRequestBuilder) { + return NewItemOnenoteSectionGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_item_parent_notebook_request_builder.go b/groups/item_onenote_section_groups_item_parent_notebook_request_builder.go index 91705da8360..83815d33368 100644 --- a/groups/item_onenote_section_groups_item_parent_notebook_request_builder.go +++ b/groups/item_onenote_section_groups_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionGroupsItemParentNotebookRequestBuilder) ToGetRequestI } 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 *ItemOnenoteSectionGroupsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemParentNotebookRequestBuilder) { + return NewItemOnenoteSectionGroupsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_item_parent_section_group_request_builder.go b/groups/item_onenote_section_groups_item_parent_section_group_request_builder.go index c08db36daea..4ca04c808a1 100644 --- a/groups/item_onenote_section_groups_item_parent_section_group_request_builder.go +++ b/groups/item_onenote_section_groups_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionGroupsItemParentSectionGroupRequestBuilder) ToGetRequ } 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 *ItemOnenoteSectionGroupsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemParentSectionGroupRequestBuilder) { + return NewItemOnenoteSectionGroupsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_item_section_groups_count_request_builder.go b/groups/item_onenote_section_groups_item_section_groups_count_request_builder.go index 2a4a124d3b5..018905eec77 100644 --- a/groups/item_onenote_section_groups_item_section_groups_count_request_builder.go +++ b/groups/item_onenote_section_groups_item_section_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilder) ToGetRequ } 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 *ItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_item_section_groups_request_builder.go b/groups/item_onenote_section_groups_item_section_groups_request_builder.go index b0a698e5b75..a18c5aef421 100644 --- a/groups/item_onenote_section_groups_item_section_groups_request_builder.go +++ b/groups/item_onenote_section_groups_item_section_groups_request_builder.go @@ -39,8 +39,8 @@ type ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetRequestConfigurat // Request query parameters QueryParameters *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters } -// BySectionGroupId1String provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. -func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) BySectionGroupId1String(sectionGroupId1 string)(*ItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { +// BySectionGroupId1 provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. +func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) BySectionGroupId1(sectionGroupId1 string)(*ItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) ToGetRequestIn } 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 *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go b/groups/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go index 5ea18f672e2..17c9ee4d516 100644 --- a/groups/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go +++ b/groups/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder } 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 *ItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_item_sections_count_request_builder.go b/groups/item_onenote_section_groups_item_sections_count_request_builder.go index 2761f2cbad6..72452a31cd5 100644 --- a/groups/item_onenote_section_groups_item_sections_count_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsCountRequestBuilder) ToGetRequestIn } 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 *ItemOnenoteSectionGroupsItemSectionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsCountRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go index 659cfdb4aa7..b2cf7822ac7 100644 --- a/groups/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) T } 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 *ItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go index 20b1cab1c61..a811bbb10d7 100644 --- a/groups/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilde } 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 *ItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_item_sections_item_pages_count_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_pages_count_request_builder.go index 0758d581fba..5fcd7190758 100644 --- a/groups/item_onenote_section_groups_item_sections_item_pages_count_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesCountRequestBuilder) ToGet } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesCountRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go index 3f803ef1383..ef94ccb5e90 100644 --- a/groups/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index 3f3a6761e06..89af8eea77e 100644 --- a/groups/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBu } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go index 18052f9c125..90410fc623d 100644 --- a/groups/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentReq } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go index c672078ff09..5e2047a5be8 100644 --- a/groups/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentNotebookRequestB } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go index 7a24e0152d8..303bd097776 100644 --- a/groups/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentSectionRequestBu } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go index 0e0d430f527..e4bd931b453 100644 --- a/groups/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder) } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go index 4ffcceae490..ac2f5be7918 100644 --- a/groups/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go @@ -177,3 +177,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuil } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_item_sections_item_pages_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_pages_request_builder.go index ea2f6af7bea..402df973e51 100644 --- a/groups/item_onenote_section_groups_item_sections_item_pages_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_pages_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenotePageIdString provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. -func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) ByOnenotePageIdString(onenotePageId string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { +// ByOnenotePageId provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. +func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) ByOnenotePageId(onenotePageId string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) ToPostRequ } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go index bbd2dc58384..fc548485043 100644 --- a/groups/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemParentNotebookRequestBuilder) T } 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 *ItemOnenoteSectionGroupsItemSectionsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemParentNotebookRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go index 07122e6498c..750b7ae3017 100644 --- a/groups/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemParentSectionGroupRequestBuilde } 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 *ItemOnenoteSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go b/groups/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go index f1e3035afa7..124777f960c 100644 --- a/groups/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) T } 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 *ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_item_sections_request_builder.go b/groups/item_onenote_section_groups_item_sections_request_builder.go index bb4be963280..245fc036b41 100644 --- a/groups/item_onenote_section_groups_item_sections_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteSectionGroupsItemSectionsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteSectionIdString provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. -func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ByOnenoteSectionIdString(onenoteSectionId string)(*ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { +// ByOnenoteSectionId provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. +func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ByOnenoteSectionId(onenoteSectionId string)(*ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToPostRequestInform } 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 *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_request_builder.go b/groups/item_onenote_section_groups_request_builder.go index 7d5c8a99639..ea4c71d5a79 100644 --- a/groups/item_onenote_section_groups_request_builder.go +++ b/groups/item_onenote_section_groups_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteSectionGroupsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySectionGroupIdString provides operations to manage the sectionGroups property of the microsoft.graph.onenote entity. -func (m *ItemOnenoteSectionGroupsRequestBuilder) BySectionGroupIdString(sectionGroupId string)(*ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) { +// BySectionGroupId provides operations to manage the sectionGroups property of the microsoft.graph.onenote entity. +func (m *ItemOnenoteSectionGroupsRequestBuilder) BySectionGroupId(sectionGroupId string)(*ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemOnenoteSectionGroupsRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemOnenoteSectionGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsRequestBuilder) { + return NewItemOnenoteSectionGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_section_groups_section_group_item_request_builder.go b/groups/item_onenote_section_groups_section_group_item_request_builder.go index 1b23983538d..ce48d8a30b4 100644 --- a/groups/item_onenote_section_groups_section_group_item_request_builder.go +++ b/groups/item_onenote_section_groups_section_group_item_request_builder.go @@ -172,3 +172,7 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToPatchRequestI } 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 *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) { + return NewItemOnenoteSectionGroupsSectionGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_sections_count_request_builder.go b/groups/item_onenote_sections_count_request_builder.go index f33fd4c4d3c..39b0e7e07ee 100644 --- a/groups/item_onenote_sections_count_request_builder.go +++ b/groups/item_onenote_sections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteSectionsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemOnenoteSectionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsCountRequestBuilder) { + return NewItemOnenoteSectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_sections_item_copy_to_notebook_request_builder.go b/groups/item_onenote_sections_item_copy_to_notebook_request_builder.go index 3dbd6728348..d26cbc5164d 100644 --- a/groups/item_onenote_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_onenote_sections_item_copy_to_notebook_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteSectionsItemCopyToNotebookRequestBuilder) ToPostRequestInfor } 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 *ItemOnenoteSectionsItemCopyToNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemCopyToNotebookRequestBuilder) { + return NewItemOnenoteSectionsItemCopyToNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_sections_item_copy_to_section_group_request_builder.go b/groups/item_onenote_sections_item_copy_to_section_group_request_builder.go index faaa9085713..f1dd2a2105b 100644 --- a/groups/item_onenote_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_onenote_sections_item_copy_to_section_group_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder) ToPostRequestI } 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 *ItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder) { + return NewItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_sections_item_pages_count_request_builder.go b/groups/item_onenote_sections_item_pages_count_request_builder.go index 1ad67c72132..66b786a488c 100644 --- a/groups/item_onenote_sections_item_pages_count_request_builder.go +++ b/groups/item_onenote_sections_item_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteSectionsItemPagesCountRequestBuilder) 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 *ItemOnenoteSectionsItemPagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesCountRequestBuilder) { + return NewItemOnenoteSectionsItemPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_sections_item_pages_item_content_request_builder.go b/groups/item_onenote_sections_item_pages_item_content_request_builder.go index c441db6566b..5cf2a096554 100644 --- a/groups/item_onenote_sections_item_pages_item_content_request_builder.go +++ b/groups/item_onenote_sections_item_pages_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemOnenoteSectionsItemPagesItemContentRequestBuilder) ToPutRequestInfo } 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 *ItemOnenoteSectionsItemPagesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesItemContentRequestBuilder) { + return NewItemOnenoteSectionsItemPagesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go index a32ef13a509..9d7ca690496 100644 --- a/groups/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder) ToPostRequ } 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 *ItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder) { + return NewItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go b/groups/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go index 470115cd897..82cd7ccce3a 100644 --- a/groups/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/groups/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemOnenoteSectionsItemPagesItemOnenotePatchContentRequestBuilder) ToPo } 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 *ItemOnenoteSectionsItemPagesItemOnenotePatchContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesItemOnenotePatchContentRequestBuilder) { + return NewItemOnenoteSectionsItemPagesItemOnenotePatchContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go b/groups/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go index 5ec9777d2fe..dc1712dfe59 100644 --- a/groups/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go +++ b/groups/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionsItemPagesItemParentNotebookRequestBuilder) ToGetRequ } 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 *ItemOnenoteSectionsItemPagesItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesItemParentNotebookRequestBuilder) { + return NewItemOnenoteSectionsItemPagesItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_sections_item_pages_item_parent_section_request_builder.go b/groups/item_onenote_sections_item_pages_item_parent_section_request_builder.go index 8e6cbb6ba7c..46789bfb801 100644 --- a/groups/item_onenote_sections_item_pages_item_parent_section_request_builder.go +++ b/groups/item_onenote_sections_item_pages_item_parent_section_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionsItemPagesItemParentSectionRequestBuilder) ToGetReque } 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 *ItemOnenoteSectionsItemPagesItemParentSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesItemParentSectionRequestBuilder) { + return NewItemOnenoteSectionsItemPagesItemParentSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_sections_item_pages_item_preview_request_builder.go b/groups/item_onenote_sections_item_pages_item_preview_request_builder.go index c99f3b733c2..0b2275c4891 100644 --- a/groups/item_onenote_sections_item_pages_item_preview_request_builder.go +++ b/groups/item_onenote_sections_item_pages_item_preview_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemOnenoteSectionsItemPagesItemPreviewRequestBuilder) ToGetRequestInfo } 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 *ItemOnenoteSectionsItemPagesItemPreviewRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesItemPreviewRequestBuilder) { + return NewItemOnenoteSectionsItemPagesItemPreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_sections_item_pages_onenote_page_item_request_builder.go b/groups/item_onenote_sections_item_pages_onenote_page_item_request_builder.go index 584740e6e84..0aa9fe9834a 100644 --- a/groups/item_onenote_sections_item_pages_onenote_page_item_request_builder.go +++ b/groups/item_onenote_sections_item_pages_onenote_page_item_request_builder.go @@ -177,3 +177,7 @@ func (m *ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) ToPatchReque } 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 *ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) { + return NewItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_sections_item_pages_request_builder.go b/groups/item_onenote_sections_item_pages_request_builder.go index 4480104d2d9..373c1d6070e 100644 --- a/groups/item_onenote_sections_item_pages_request_builder.go +++ b/groups/item_onenote_sections_item_pages_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteSectionsItemPagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenotePageIdString provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. -func (m *ItemOnenoteSectionsItemPagesRequestBuilder) ByOnenotePageIdString(onenotePageId string)(*ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) { +// ByOnenotePageId provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. +func (m *ItemOnenoteSectionsItemPagesRequestBuilder) ByOnenotePageId(onenotePageId string)(*ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemOnenoteSectionsItemPagesRequestBuilder) 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 *ItemOnenoteSectionsItemPagesRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesRequestBuilder) { + return NewItemOnenoteSectionsItemPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_sections_item_parent_notebook_request_builder.go b/groups/item_onenote_sections_item_parent_notebook_request_builder.go index 81a5d7418ca..d86665a7d5e 100644 --- a/groups/item_onenote_sections_item_parent_notebook_request_builder.go +++ b/groups/item_onenote_sections_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionsItemParentNotebookRequestBuilder) ToGetRequestInform } 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 *ItemOnenoteSectionsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemParentNotebookRequestBuilder) { + return NewItemOnenoteSectionsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_sections_item_parent_section_group_request_builder.go b/groups/item_onenote_sections_item_parent_section_group_request_builder.go index 7cbaacc91c8..643a2becb06 100644 --- a/groups/item_onenote_sections_item_parent_section_group_request_builder.go +++ b/groups/item_onenote_sections_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionsItemParentSectionGroupRequestBuilder) ToGetRequestIn } 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 *ItemOnenoteSectionsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemParentSectionGroupRequestBuilder) { + return NewItemOnenoteSectionsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_sections_onenote_section_item_request_builder.go b/groups/item_onenote_sections_onenote_section_item_request_builder.go index ee4c87d86b5..ef575e9949f 100644 --- a/groups/item_onenote_sections_onenote_section_item_request_builder.go +++ b/groups/item_onenote_sections_onenote_section_item_request_builder.go @@ -176,3 +176,7 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) 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 *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) { + return NewItemOnenoteSectionsOnenoteSectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_onenote_sections_request_builder.go b/groups/item_onenote_sections_request_builder.go index 05873a56f24..85d36606c01 100644 --- a/groups/item_onenote_sections_request_builder.go +++ b/groups/item_onenote_sections_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteSectionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteSectionIdString provides operations to manage the sections property of the microsoft.graph.onenote entity. -func (m *ItemOnenoteSectionsRequestBuilder) ByOnenoteSectionIdString(onenoteSectionId string)(*ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) { +// ByOnenoteSectionId provides operations to manage the sections property of the microsoft.graph.onenote entity. +func (m *ItemOnenoteSectionsRequestBuilder) ByOnenoteSectionId(onenoteSectionId string)(*ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemOnenoteSectionsRequestBuilder) 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 *ItemOnenoteSectionsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsRequestBuilder) { + return NewItemOnenoteSectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_owners_count_request_builder.go b/groups/item_owners_count_request_builder.go index ae0b1ab1c78..c7963cf336c 100644 --- a/groups/item_owners_count_request_builder.go +++ b/groups/item_owners_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnersCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemOwnersCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersCountRequestBuilder) { + return NewItemOwnersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_owners_graph_application_count_request_builder.go b/groups/item_owners_graph_application_count_request_builder.go index abcaf7f4956..35706e7e3fe 100644 --- a/groups/item_owners_graph_application_count_request_builder.go +++ b/groups/item_owners_graph_application_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnersGraphApplicationCountRequestBuilder) 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 *ItemOwnersGraphApplicationCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphApplicationCountRequestBuilder) { + return NewItemOwnersGraphApplicationCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_owners_graph_application_request_builder.go b/groups/item_owners_graph_application_request_builder.go index bdc9ae4e2c0..3c80fadea84 100644 --- a/groups/item_owners_graph_application_request_builder.go +++ b/groups/item_owners_graph_application_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemOwnersGraphApplicationRequestBuilder) ToGetRequestInformation(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 *ItemOwnersGraphApplicationRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphApplicationRequestBuilder) { + return NewItemOwnersGraphApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_owners_graph_device_count_request_builder.go b/groups/item_owners_graph_device_count_request_builder.go index fe59c2bdb72..d01acb585e7 100644 --- a/groups/item_owners_graph_device_count_request_builder.go +++ b/groups/item_owners_graph_device_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnersGraphDeviceCountRequestBuilder) ToGetRequestInformation(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 *ItemOwnersGraphDeviceCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphDeviceCountRequestBuilder) { + return NewItemOwnersGraphDeviceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_owners_graph_device_request_builder.go b/groups/item_owners_graph_device_request_builder.go index d83b984b9af..4f8af8dd98d 100644 --- a/groups/item_owners_graph_device_request_builder.go +++ b/groups/item_owners_graph_device_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemOwnersGraphDeviceRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemOwnersGraphDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphDeviceRequestBuilder) { + return NewItemOwnersGraphDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_owners_graph_group_count_request_builder.go b/groups/item_owners_graph_group_count_request_builder.go index 499cbf2a865..af3870829fb 100644 --- a/groups/item_owners_graph_group_count_request_builder.go +++ b/groups/item_owners_graph_group_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnersGraphGroupCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemOwnersGraphGroupCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphGroupCountRequestBuilder) { + return NewItemOwnersGraphGroupCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_owners_graph_group_request_builder.go b/groups/item_owners_graph_group_request_builder.go index ac35bed8463..ff2ea54d58a 100644 --- a/groups/item_owners_graph_group_request_builder.go +++ b/groups/item_owners_graph_group_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemOwnersGraphGroupRequestBuilder) ToGetRequestInformation(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 *ItemOwnersGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphGroupRequestBuilder) { + return NewItemOwnersGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_owners_graph_org_contact_count_request_builder.go b/groups/item_owners_graph_org_contact_count_request_builder.go index 1aa0cec7dc2..58ec8028ceb 100644 --- a/groups/item_owners_graph_org_contact_count_request_builder.go +++ b/groups/item_owners_graph_org_contact_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnersGraphOrgContactCountRequestBuilder) ToGetRequestInformation(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 *ItemOwnersGraphOrgContactCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphOrgContactCountRequestBuilder) { + return NewItemOwnersGraphOrgContactCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_owners_graph_org_contact_request_builder.go b/groups/item_owners_graph_org_contact_request_builder.go index e00d187357c..a1bd8690c30 100644 --- a/groups/item_owners_graph_org_contact_request_builder.go +++ b/groups/item_owners_graph_org_contact_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemOwnersGraphOrgContactRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemOwnersGraphOrgContactRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphOrgContactRequestBuilder) { + return NewItemOwnersGraphOrgContactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_owners_graph_service_principal_count_request_builder.go b/groups/item_owners_graph_service_principal_count_request_builder.go index 66062fcabec..1ff6ce6656a 100644 --- a/groups/item_owners_graph_service_principal_count_request_builder.go +++ b/groups/item_owners_graph_service_principal_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnersGraphServicePrincipalCountRequestBuilder) ToGetRequestInforma } 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 *ItemOwnersGraphServicePrincipalCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphServicePrincipalCountRequestBuilder) { + return NewItemOwnersGraphServicePrincipalCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_owners_graph_service_principal_request_builder.go b/groups/item_owners_graph_service_principal_request_builder.go index 4d54c5fcf48..2cf95da65dd 100644 --- a/groups/item_owners_graph_service_principal_request_builder.go +++ b/groups/item_owners_graph_service_principal_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemOwnersGraphServicePrincipalRequestBuilder) 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 *ItemOwnersGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphServicePrincipalRequestBuilder) { + return NewItemOwnersGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_owners_graph_user_count_request_builder.go b/groups/item_owners_graph_user_count_request_builder.go index ee9ccf1f007..59f9a0ede65 100644 --- a/groups/item_owners_graph_user_count_request_builder.go +++ b/groups/item_owners_graph_user_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnersGraphUserCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemOwnersGraphUserCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphUserCountRequestBuilder) { + return NewItemOwnersGraphUserCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_owners_graph_user_request_builder.go b/groups/item_owners_graph_user_request_builder.go index f4720b26142..a2c8f9cd8f7 100644 --- a/groups/item_owners_graph_user_request_builder.go +++ b/groups/item_owners_graph_user_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemOwnersGraphUserRequestBuilder) ToGetRequestInformation(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 *ItemOwnersGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphUserRequestBuilder) { + return NewItemOwnersGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_owners_item_graph_application_request_builder.go b/groups/item_owners_item_graph_application_request_builder.go index 3d26b07269c..b44ef0dc42e 100644 --- a/groups/item_owners_item_graph_application_request_builder.go +++ b/groups/item_owners_item_graph_application_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOwnersItemGraphApplicationRequestBuilder) ToGetRequestInformation(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 *ItemOwnersItemGraphApplicationRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersItemGraphApplicationRequestBuilder) { + return NewItemOwnersItemGraphApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_owners_item_graph_device_request_builder.go b/groups/item_owners_item_graph_device_request_builder.go index f1fffebecf2..3c7fff5492a 100644 --- a/groups/item_owners_item_graph_device_request_builder.go +++ b/groups/item_owners_item_graph_device_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOwnersItemGraphDeviceRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemOwnersItemGraphDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersItemGraphDeviceRequestBuilder) { + return NewItemOwnersItemGraphDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_owners_item_graph_group_request_builder.go b/groups/item_owners_item_graph_group_request_builder.go index 383c8e40c74..e51668e745a 100644 --- a/groups/item_owners_item_graph_group_request_builder.go +++ b/groups/item_owners_item_graph_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOwnersItemGraphGroupRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemOwnersItemGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersItemGraphGroupRequestBuilder) { + return NewItemOwnersItemGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_owners_item_graph_org_contact_request_builder.go b/groups/item_owners_item_graph_org_contact_request_builder.go index c946d12ffd7..3376356b03c 100644 --- a/groups/item_owners_item_graph_org_contact_request_builder.go +++ b/groups/item_owners_item_graph_org_contact_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOwnersItemGraphOrgContactRequestBuilder) ToGetRequestInformation(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 *ItemOwnersItemGraphOrgContactRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersItemGraphOrgContactRequestBuilder) { + return NewItemOwnersItemGraphOrgContactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_owners_item_graph_service_principal_request_builder.go b/groups/item_owners_item_graph_service_principal_request_builder.go index 8296d91bb03..02fa999e217 100644 --- a/groups/item_owners_item_graph_service_principal_request_builder.go +++ b/groups/item_owners_item_graph_service_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOwnersItemGraphServicePrincipalRequestBuilder) ToGetRequestInformat } 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 *ItemOwnersItemGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersItemGraphServicePrincipalRequestBuilder) { + return NewItemOwnersItemGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_owners_item_graph_user_request_builder.go b/groups/item_owners_item_graph_user_request_builder.go index 14b164099f7..e57b3bdf82c 100644 --- a/groups/item_owners_item_graph_user_request_builder.go +++ b/groups/item_owners_item_graph_user_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOwnersItemGraphUserRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemOwnersItemGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersItemGraphUserRequestBuilder) { + return NewItemOwnersItemGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_owners_item_ref_request_builder.go b/groups/item_owners_item_ref_request_builder.go index 58a1a55ce74..a163e6d0d8e 100644 --- a/groups/item_owners_item_ref_request_builder.go +++ b/groups/item_owners_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *ItemOwnersItemRefRequestBuilder) ToDeleteRequestInformation(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 *ItemOwnersItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersItemRefRequestBuilder) { + return NewItemOwnersItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_owners_ref_request_builder.go b/groups/item_owners_ref_request_builder.go index bf135679efc..c01ddb2d80c 100644 --- a/groups/item_owners_ref_request_builder.go +++ b/groups/item_owners_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *ItemOwnersRefRequestBuilder) 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 *ItemOwnersRefRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersRefRequestBuilder) { + return NewItemOwnersRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_owners_request_builder.go b/groups/item_owners_request_builder.go index f87e0cfe910..932d35a6ca6 100644 --- a/groups/item_owners_request_builder.go +++ b/groups/item_owners_request_builder.go @@ -39,8 +39,8 @@ type ItemOwnersRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemOwnersRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.item.owners.item collection -func (m *ItemOwnersRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemOwnersDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.item.owners.item collection +func (m *ItemOwnersRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemOwnersDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -133,3 +133,7 @@ func (m *ItemOwnersRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemOwnersRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersRequestBuilder) { + return NewItemOwnersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_permission_grants_count_request_builder.go b/groups/item_permission_grants_count_request_builder.go index b9b23c9f325..4d035dfe8ff 100644 --- a/groups/item_permission_grants_count_request_builder.go +++ b/groups/item_permission_grants_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPermissionGrantsCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemPermissionGrantsCountRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsCountRequestBuilder) { + return NewItemPermissionGrantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_permission_grants_delta_request_builder.go b/groups/item_permission_grants_delta_request_builder.go index 1de5c11d4ba..b7c0dceb4a9 100644 --- a/groups/item_permission_grants_delta_request_builder.go +++ b/groups/item_permission_grants_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemPermissionGrantsDeltaRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemPermissionGrantsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsDeltaRequestBuilder) { + return NewItemPermissionGrantsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_permission_grants_get_by_ids_request_builder.go b/groups/item_permission_grants_get_by_ids_request_builder.go index 50bede04ed6..65ec2136ad2 100644 --- a/groups/item_permission_grants_get_by_ids_request_builder.go +++ b/groups/item_permission_grants_get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemPermissionGrantsGetByIdsRequestBuilder) 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 *ItemPermissionGrantsGetByIdsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsGetByIdsRequestBuilder) { + return NewItemPermissionGrantsGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_permission_grants_get_user_owned_objects_request_builder.go b/groups/item_permission_grants_get_user_owned_objects_request_builder.go index 6a3b7667758..d2a713a9ed2 100644 --- a/groups/item_permission_grants_get_user_owned_objects_request_builder.go +++ b/groups/item_permission_grants_get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemPermissionGrantsGetUserOwnedObjectsRequestBuilder) ToPostRequestInf } 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 *ItemPermissionGrantsGetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsGetUserOwnedObjectsRequestBuilder) { + return NewItemPermissionGrantsGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_permission_grants_item_check_member_groups_request_builder.go b/groups/item_permission_grants_item_check_member_groups_request_builder.go index 01a7ad59244..68d9334684b 100644 --- a/groups/item_permission_grants_item_check_member_groups_request_builder.go +++ b/groups/item_permission_grants_item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemPermissionGrantsItemCheckMemberGroupsRequestBuilder) ToPostRequestI } 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 *ItemPermissionGrantsItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsItemCheckMemberGroupsRequestBuilder) { + return NewItemPermissionGrantsItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_permission_grants_item_check_member_objects_request_builder.go b/groups/item_permission_grants_item_check_member_objects_request_builder.go index 704dc8dc9f1..cbdf511ceaa 100644 --- a/groups/item_permission_grants_item_check_member_objects_request_builder.go +++ b/groups/item_permission_grants_item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemPermissionGrantsItemCheckMemberObjectsRequestBuilder) ToPostRequest } 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 *ItemPermissionGrantsItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsItemCheckMemberObjectsRequestBuilder) { + return NewItemPermissionGrantsItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_permission_grants_item_get_member_groups_request_builder.go b/groups/item_permission_grants_item_get_member_groups_request_builder.go index ebe5b2d770b..a927b1be04d 100644 --- a/groups/item_permission_grants_item_get_member_groups_request_builder.go +++ b/groups/item_permission_grants_item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemPermissionGrantsItemGetMemberGroupsRequestBuilder) ToPostRequestInf } 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 *ItemPermissionGrantsItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsItemGetMemberGroupsRequestBuilder) { + return NewItemPermissionGrantsItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_permission_grants_item_get_member_objects_request_builder.go b/groups/item_permission_grants_item_get_member_objects_request_builder.go index 65780dfbd2d..1456fcb2b78 100644 --- a/groups/item_permission_grants_item_get_member_objects_request_builder.go +++ b/groups/item_permission_grants_item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemPermissionGrantsItemGetMemberObjectsRequestBuilder) ToPostRequestIn } 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 *ItemPermissionGrantsItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsItemGetMemberObjectsRequestBuilder) { + return NewItemPermissionGrantsItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_permission_grants_item_restore_request_builder.go b/groups/item_permission_grants_item_restore_request_builder.go index aad273c44cc..cc5b7f96ea1 100644 --- a/groups/item_permission_grants_item_restore_request_builder.go +++ b/groups/item_permission_grants_item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemPermissionGrantsItemRestoreRequestBuilder) 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 *ItemPermissionGrantsItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsItemRestoreRequestBuilder) { + return NewItemPermissionGrantsItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_permission_grants_request_builder.go b/groups/item_permission_grants_request_builder.go index 9402953cc4b..f7491b6ca02 100644 --- a/groups/item_permission_grants_request_builder.go +++ b/groups/item_permission_grants_request_builder.go @@ -46,8 +46,8 @@ type ItemPermissionGrantsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByResourceSpecificPermissionGrantIdString provides operations to manage the permissionGrants property of the microsoft.graph.group entity. -func (m *ItemPermissionGrantsRequestBuilder) ByResourceSpecificPermissionGrantIdString(resourceSpecificPermissionGrantId string)(*ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { +// ByResourceSpecificPermissionGrantId provides operations to manage the permissionGrants property of the microsoft.graph.group entity. +func (m *ItemPermissionGrantsRequestBuilder) ByResourceSpecificPermissionGrantId(resourceSpecificPermissionGrantId string)(*ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -164,3 +164,7 @@ func (m *ItemPermissionGrantsRequestBuilder) ToPostRequestInformation(ctx contex func (m *ItemPermissionGrantsRequestBuilder) ValidateProperties()(*ItemPermissionGrantsValidatePropertiesRequestBuilder) { return NewItemPermissionGrantsValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemPermissionGrantsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsRequestBuilder) { + return NewItemPermissionGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_permission_grants_resource_specific_permission_grant_item_request_builder.go b/groups/item_permission_grants_resource_specific_permission_grant_item_request_builder.go index 605e2c4dcaf..249ff076e7b 100644 --- a/groups/item_permission_grants_resource_specific_permission_grant_item_request_builder.go +++ b/groups/item_permission_grants_resource_specific_permission_grant_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) } 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 *ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { + return NewItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_permission_grants_validate_properties_request_builder.go b/groups/item_permission_grants_validate_properties_request_builder.go index bddf97cf2d5..706454fa907 100644 --- a/groups/item_permission_grants_validate_properties_request_builder.go +++ b/groups/item_permission_grants_validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemPermissionGrantsValidatePropertiesRequestBuilder) ToPostRequestInfo } 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 *ItemPermissionGrantsValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsValidatePropertiesRequestBuilder) { + return NewItemPermissionGrantsValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_photo_request_builder.go b/groups/item_photo_request_builder.go index 020e7754afe..11b4b067ac9 100644 --- a/groups/item_photo_request_builder.go +++ b/groups/item_photo_request_builder.go @@ -155,3 +155,7 @@ func (m *ItemPhotoRequestBuilder) ToPatchRequestInformation(ctx context.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 *ItemPhotoRequestBuilder) WithUrl(rawUrl string)(*ItemPhotoRequestBuilder) { + return NewItemPhotoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_photo_value_content_request_builder.go b/groups/item_photo_value_content_request_builder.go index 89f0131ff2e..fa4524639ba 100644 --- a/groups/item_photo_value_content_request_builder.go +++ b/groups/item_photo_value_content_request_builder.go @@ -100,3 +100,7 @@ func (m *ItemPhotoValueContentRequestBuilder) ToPutRequestInformation(ctx contex } 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 *ItemPhotoValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemPhotoValueContentRequestBuilder) { + return NewItemPhotoValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_photos_count_request_builder.go b/groups/item_photos_count_request_builder.go index ba539a1f017..1e5626b90a9 100644 --- a/groups/item_photos_count_request_builder.go +++ b/groups/item_photos_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemPhotosCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemPhotosCountRequestBuilder) WithUrl(rawUrl string)(*ItemPhotosCountRequestBuilder) { + return NewItemPhotosCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_photos_item_value_content_request_builder.go b/groups/item_photos_item_value_content_request_builder.go index 97af1bfb734..e14445bfbdf 100644 --- a/groups/item_photos_item_value_content_request_builder.go +++ b/groups/item_photos_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemPhotosItemValueContentRequestBuilder) ToPutRequestInformation(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 *ItemPhotosItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemPhotosItemValueContentRequestBuilder) { + return NewItemPhotosItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_photos_profile_photo_item_request_builder.go b/groups/item_photos_profile_photo_item_request_builder.go index c06e0041ee7..d3690bd4027 100644 --- a/groups/item_photos_profile_photo_item_request_builder.go +++ b/groups/item_photos_profile_photo_item_request_builder.go @@ -77,3 +77,7 @@ func (m *ItemPhotosProfilePhotoItemRequestBuilder) ToGetRequestInformation(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 *ItemPhotosProfilePhotoItemRequestBuilder) WithUrl(rawUrl string)(*ItemPhotosProfilePhotoItemRequestBuilder) { + return NewItemPhotosProfilePhotoItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_photos_request_builder.go b/groups/item_photos_request_builder.go index 2c1eb102ea9..3c455bd3d78 100644 --- a/groups/item_photos_request_builder.go +++ b/groups/item_photos_request_builder.go @@ -35,8 +35,8 @@ type ItemPhotosRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemPhotosRequestBuilderGetQueryParameters } -// ByProfilePhotoIdString provides operations to manage the photos property of the microsoft.graph.group entity. -func (m *ItemPhotosRequestBuilder) ByProfilePhotoIdString(profilePhotoId string)(*ItemPhotosProfilePhotoItemRequestBuilder) { +// ByProfilePhotoId provides operations to manage the photos property of the microsoft.graph.group entity. +func (m *ItemPhotosRequestBuilder) ByProfilePhotoId(profilePhotoId string)(*ItemPhotosProfilePhotoItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -101,3 +101,7 @@ func (m *ItemPhotosRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemPhotosRequestBuilder) WithUrl(rawUrl string)(*ItemPhotosRequestBuilder) { + return NewItemPhotosRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_count_request_builder.go b/groups/item_planner_plans_count_request_builder.go index 985ab9cb43d..bbe34d8e7fa 100644 --- a/groups/item_planner_plans_count_request_builder.go +++ b/groups/item_planner_plans_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPlannerPlansCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemPlannerPlansCountRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansCountRequestBuilder) { + return NewItemPlannerPlansCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_delta_request_builder.go b/groups/item_planner_plans_delta_request_builder.go index 766ea505abb..d5e57b3b5e2 100644 --- a/groups/item_planner_plans_delta_request_builder.go +++ b/groups/item_planner_plans_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemPlannerPlansDeltaRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemPlannerPlansDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansDeltaRequestBuilder) { + return NewItemPlannerPlansDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_item_buckets_count_request_builder.go b/groups/item_planner_plans_item_buckets_count_request_builder.go index 845daf13bac..9b486683bbd 100644 --- a/groups/item_planner_plans_item_buckets_count_request_builder.go +++ b/groups/item_planner_plans_item_buckets_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPlannerPlansItemBucketsCountRequestBuilder) 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 *ItemPlannerPlansItemBucketsCountRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsCountRequestBuilder) { + return NewItemPlannerPlansItemBucketsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_item_buckets_delta_request_builder.go b/groups/item_planner_plans_item_buckets_delta_request_builder.go index be42ca66d87..0c2d7662b77 100644 --- a/groups/item_planner_plans_item_buckets_delta_request_builder.go +++ b/groups/item_planner_plans_item_buckets_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemPlannerPlansItemBucketsDeltaRequestBuilder) 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 *ItemPlannerPlansItemBucketsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsDeltaRequestBuilder) { + return NewItemPlannerPlansItemBucketsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_item_buckets_item_tasks_count_request_builder.go b/groups/item_planner_plans_item_buckets_item_tasks_count_request_builder.go index 3f22a7a41fb..9432248861d 100644 --- a/groups/item_planner_plans_item_buckets_item_tasks_count_request_builder.go +++ b/groups/item_planner_plans_item_buckets_item_tasks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksCountRequestBuilder) ToGetRequestIn } 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 *ItemPlannerPlansItemBucketsItemTasksCountRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsItemTasksCountRequestBuilder) { + return NewItemPlannerPlansItemBucketsItemTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go b/groups/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go index dac39c38efb..82bbe9f864b 100644 --- a/groups/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go +++ b/groups/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder) ToGetRequestIn } 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 *ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder) { + return NewItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go b/groups/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go index ac961d295b9..b4ab00058d5 100644 --- a/groups/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/groups/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatReques } 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 *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) { + return NewItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go b/groups/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go index 63a6d49b7c9..f59db8a14eb 100644 --- a/groups/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go +++ b/groups/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBui } 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 *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) { + return NewItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go b/groups/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go index 71acf16557b..e079dfb2f03 100644 --- a/groups/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go +++ b/groups/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) ToPatchR } 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 *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) { + return NewItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go b/groups/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go index f02951f172e..0282b318fe6 100644 --- a/groups/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go +++ b/groups/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestB } 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 *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) { + return NewItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_item_buckets_item_tasks_planner_task_item_request_builder.go b/groups/item_planner_plans_item_buckets_item_tasks_planner_task_item_request_builder.go index 2573979ea9b..7764ce1be01 100644 --- a/groups/item_planner_plans_item_buckets_item_tasks_planner_task_item_request_builder.go +++ b/groups/item_planner_plans_item_buckets_item_tasks_planner_task_item_request_builder.go @@ -169,3 +169,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) ToPa } 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 *ItemPlannerPlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) { + return NewItemPlannerPlansItemBucketsItemTasksPlannerTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_item_buckets_item_tasks_request_builder.go b/groups/item_planner_plans_item_buckets_item_tasks_request_builder.go index 7e0ce41ed6b..808eeb17b20 100644 --- a/groups/item_planner_plans_item_buckets_item_tasks_request_builder.go +++ b/groups/item_planner_plans_item_buckets_item_tasks_request_builder.go @@ -46,8 +46,8 @@ type ItemPlannerPlansItemBucketsItemTasksRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPlannerTaskIdString provides operations to manage the tasks property of the microsoft.graph.plannerBucket entity. -func (m *ItemPlannerPlansItemBucketsItemTasksRequestBuilder) ByPlannerTaskIdString(plannerTaskId string)(*ItemPlannerPlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) { +// ByPlannerTaskId provides operations to manage the tasks property of the microsoft.graph.plannerBucket entity. +func (m *ItemPlannerPlansItemBucketsItemTasksRequestBuilder) ByPlannerTaskId(plannerTaskId string)(*ItemPlannerPlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksRequestBuilder) ToPostRequestInform } 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 *ItemPlannerPlansItemBucketsItemTasksRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsItemTasksRequestBuilder) { + return NewItemPlannerPlansItemBucketsItemTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_item_buckets_planner_bucket_item_request_builder.go b/groups/item_planner_plans_item_buckets_planner_bucket_item_request_builder.go index 4c30395b844..fc36d0174c0 100644 --- a/groups/item_planner_plans_item_buckets_planner_bucket_item_request_builder.go +++ b/groups/item_planner_plans_item_buckets_planner_bucket_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemPlannerPlansItemBucketsPlannerBucketItemRequestBuilder) ToPatchRequ } 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 *ItemPlannerPlansItemBucketsPlannerBucketItemRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsPlannerBucketItemRequestBuilder) { + return NewItemPlannerPlansItemBucketsPlannerBucketItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_item_buckets_request_builder.go b/groups/item_planner_plans_item_buckets_request_builder.go index b3ad37632b2..99386c3e554 100644 --- a/groups/item_planner_plans_item_buckets_request_builder.go +++ b/groups/item_planner_plans_item_buckets_request_builder.go @@ -46,8 +46,8 @@ type ItemPlannerPlansItemBucketsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPlannerBucketIdString provides operations to manage the buckets property of the microsoft.graph.plannerPlan entity. -func (m *ItemPlannerPlansItemBucketsRequestBuilder) ByPlannerBucketIdString(plannerBucketId string)(*ItemPlannerPlansItemBucketsPlannerBucketItemRequestBuilder) { +// ByPlannerBucketId provides operations to manage the buckets property of the microsoft.graph.plannerPlan entity. +func (m *ItemPlannerPlansItemBucketsRequestBuilder) ByPlannerBucketId(plannerBucketId string)(*ItemPlannerPlansItemBucketsPlannerBucketItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *ItemPlannerPlansItemBucketsRequestBuilder) 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 *ItemPlannerPlansItemBucketsRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsRequestBuilder) { + return NewItemPlannerPlansItemBucketsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_item_details_request_builder.go b/groups/item_planner_plans_item_details_request_builder.go index fd846613d2e..d0a19456420 100644 --- a/groups/item_planner_plans_item_details_request_builder.go +++ b/groups/item_planner_plans_item_details_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemPlannerPlansItemDetailsRequestBuilder) ToPatchRequestInformation(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 *ItemPlannerPlansItemDetailsRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemDetailsRequestBuilder) { + return NewItemPlannerPlansItemDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_item_tasks_count_request_builder.go b/groups/item_planner_plans_item_tasks_count_request_builder.go index 4506bed84e7..76c65825766 100644 --- a/groups/item_planner_plans_item_tasks_count_request_builder.go +++ b/groups/item_planner_plans_item_tasks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPlannerPlansItemTasksCountRequestBuilder) ToGetRequestInformation(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 *ItemPlannerPlansItemTasksCountRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemTasksCountRequestBuilder) { + return NewItemPlannerPlansItemTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_item_tasks_delta_request_builder.go b/groups/item_planner_plans_item_tasks_delta_request_builder.go index 1e770eded01..734fb66d1ba 100644 --- a/groups/item_planner_plans_item_tasks_delta_request_builder.go +++ b/groups/item_planner_plans_item_tasks_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemPlannerPlansItemTasksDeltaRequestBuilder) ToGetRequestInformation(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 *ItemPlannerPlansItemTasksDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemTasksDeltaRequestBuilder) { + return NewItemPlannerPlansItemTasksDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go b/groups/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go index f0ecd9334c9..64303c423b1 100644 --- a/groups/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/groups/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) T } 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 *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) { + return NewItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go b/groups/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go index 9810d179dda..001d8a42813 100644 --- a/groups/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go +++ b/groups/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) 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 *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) { + return NewItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_item_tasks_item_details_request_builder.go b/groups/item_planner_plans_item_tasks_item_details_request_builder.go index 7ac7e2e35cd..febcbe2d26b 100644 --- a/groups/item_planner_plans_item_tasks_item_details_request_builder.go +++ b/groups/item_planner_plans_item_tasks_item_details_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemPlannerPlansItemTasksItemDetailsRequestBuilder) ToPatchRequestInfor } 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 *ItemPlannerPlansItemTasksItemDetailsRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemTasksItemDetailsRequestBuilder) { + return NewItemPlannerPlansItemTasksItemDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go b/groups/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go index b8bb11b69a5..a30fdd84030 100644 --- a/groups/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go +++ b/groups/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) 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 *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) { + return NewItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_item_tasks_planner_task_item_request_builder.go b/groups/item_planner_plans_item_tasks_planner_task_item_request_builder.go index bee611c80f5..9b5b7cd2f02 100644 --- a/groups/item_planner_plans_item_tasks_planner_task_item_request_builder.go +++ b/groups/item_planner_plans_item_tasks_planner_task_item_request_builder.go @@ -169,3 +169,7 @@ func (m *ItemPlannerPlansItemTasksPlannerTaskItemRequestBuilder) ToPatchRequestI } 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 *ItemPlannerPlansItemTasksPlannerTaskItemRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemTasksPlannerTaskItemRequestBuilder) { + return NewItemPlannerPlansItemTasksPlannerTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_item_tasks_request_builder.go b/groups/item_planner_plans_item_tasks_request_builder.go index 93f14c5fa43..c9837a8f5ef 100644 --- a/groups/item_planner_plans_item_tasks_request_builder.go +++ b/groups/item_planner_plans_item_tasks_request_builder.go @@ -46,8 +46,8 @@ type ItemPlannerPlansItemTasksRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPlannerTaskIdString provides operations to manage the tasks property of the microsoft.graph.plannerPlan entity. -func (m *ItemPlannerPlansItemTasksRequestBuilder) ByPlannerTaskIdString(plannerTaskId string)(*ItemPlannerPlansItemTasksPlannerTaskItemRequestBuilder) { +// ByPlannerTaskId provides operations to manage the tasks property of the microsoft.graph.plannerPlan entity. +func (m *ItemPlannerPlansItemTasksRequestBuilder) ByPlannerTaskId(plannerTaskId string)(*ItemPlannerPlansItemTasksPlannerTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *ItemPlannerPlansItemTasksRequestBuilder) ToPostRequestInformation(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 *ItemPlannerPlansItemTasksRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemTasksRequestBuilder) { + return NewItemPlannerPlansItemTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_planner_plan_item_request_builder.go b/groups/item_planner_plans_planner_plan_item_request_builder.go index 8bc5f07d781..debd7f3f275 100644 --- a/groups/item_planner_plans_planner_plan_item_request_builder.go +++ b/groups/item_planner_plans_planner_plan_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemPlannerPlansPlannerPlanItemRequestBuilder) ToPatchRequestInformatio } 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 *ItemPlannerPlansPlannerPlanItemRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansPlannerPlanItemRequestBuilder) { + return NewItemPlannerPlansPlannerPlanItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_plans_request_builder.go b/groups/item_planner_plans_request_builder.go index 6b40b7c9942..adfcc4beffe 100644 --- a/groups/item_planner_plans_request_builder.go +++ b/groups/item_planner_plans_request_builder.go @@ -46,8 +46,8 @@ type ItemPlannerPlansRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPlannerPlanIdString provides operations to manage the plans property of the microsoft.graph.plannerGroup entity. -func (m *ItemPlannerPlansRequestBuilder) ByPlannerPlanIdString(plannerPlanId string)(*ItemPlannerPlansPlannerPlanItemRequestBuilder) { +// ByPlannerPlanId provides operations to manage the plans property of the microsoft.graph.plannerGroup entity. +func (m *ItemPlannerPlansRequestBuilder) ByPlannerPlanId(plannerPlanId string)(*ItemPlannerPlansPlannerPlanItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *ItemPlannerPlansRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ItemPlannerPlansRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansRequestBuilder) { + return NewItemPlannerPlansRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_planner_request_builder.go b/groups/item_planner_request_builder.go index ae284d2b3c0..6787e68df86 100644 --- a/groups/item_planner_request_builder.go +++ b/groups/item_planner_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemPlannerRequestBuilder) ToPatchRequestInformation(ctx context.Contex } 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 *ItemPlannerRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerRequestBuilder) { + return NewItemPlannerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_rejected_senders_count_request_builder.go b/groups/item_rejected_senders_count_request_builder.go index 5a1553d76c0..191fb18e77f 100644 --- a/groups/item_rejected_senders_count_request_builder.go +++ b/groups/item_rejected_senders_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemRejectedSendersCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemRejectedSendersCountRequestBuilder) WithUrl(rawUrl string)(*ItemRejectedSendersCountRequestBuilder) { + return NewItemRejectedSendersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_rejected_senders_item_ref_request_builder.go b/groups/item_rejected_senders_item_ref_request_builder.go index f275188ae08..0fbf6375c86 100644 --- a/groups/item_rejected_senders_item_ref_request_builder.go +++ b/groups/item_rejected_senders_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *ItemRejectedSendersItemRefRequestBuilder) ToDeleteRequestInformation(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 *ItemRejectedSendersItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemRejectedSendersItemRefRequestBuilder) { + return NewItemRejectedSendersItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_rejected_senders_ref_request_builder.go b/groups/item_rejected_senders_ref_request_builder.go index 87213e7e6f4..7acdd956018 100644 --- a/groups/item_rejected_senders_ref_request_builder.go +++ b/groups/item_rejected_senders_ref_request_builder.go @@ -75,7 +75,7 @@ func (m *ItemRejectedSendersRefRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add a new user or group to the rejectedSender list. Specify the user or group in @odata.id in the request body. Users in the rejected senders list cannot post to conversations of the group (identified in the POST request URL). Make sure you do not specify the same user or group in the rejected senders and accepted senders lists, otherwise you will get an error. +// Post add a new user or group to the rejectedSender list. Specify the user or group in @odata.id in the request body. Users in the rejected senders list can't post to conversations of the group (identified in the POST request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you'll get an error. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/group-post-rejectedsenders?view=graph-rest-1.0 @@ -110,7 +110,7 @@ func (m *ItemRejectedSendersRefRequestBuilder) ToGetRequestInformation(ctx conte } return requestInfo, nil } -// ToPostRequestInformation add a new user or group to the rejectedSender list. Specify the user or group in @odata.id in the request body. Users in the rejected senders list cannot post to conversations of the group (identified in the POST request URL). Make sure you do not specify the same user or group in the rejected senders and accepted senders lists, otherwise you will get an error. +// ToPostRequestInformation add a new user or group to the rejectedSender list. Specify the user or group in @odata.id in the request body. Users in the rejected senders list can't post to conversations of the group (identified in the POST request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you'll get an error. func (m *ItemRejectedSendersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemRejectedSendersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -126,3 +126,7 @@ func (m *ItemRejectedSendersRefRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemRejectedSendersRefRequestBuilder) WithUrl(rawUrl string)(*ItemRejectedSendersRefRequestBuilder) { + return NewItemRejectedSendersRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_rejected_senders_request_builder.go b/groups/item_rejected_senders_request_builder.go index 90b58ea81af..6464bb18e82 100644 --- a/groups/item_rejected_senders_request_builder.go +++ b/groups/item_rejected_senders_request_builder.go @@ -35,8 +35,8 @@ type ItemRejectedSendersRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemRejectedSendersRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.item.rejectedSenders.item collection -func (m *ItemRejectedSendersRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemRejectedSendersDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.item.rejectedSenders.item collection +func (m *ItemRejectedSendersRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemRejectedSendersDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemRejectedSendersRequestBuilder) ToGetRequestInformation(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 *ItemRejectedSendersRequestBuilder) WithUrl(rawUrl string)(*ItemRejectedSendersRequestBuilder) { + return NewItemRejectedSendersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_remove_favorite_request_builder.go b/groups/item_remove_favorite_request_builder.go index fc14ac2cf9c..516371c3176 100644 --- a/groups/item_remove_favorite_request_builder.go +++ b/groups/item_remove_favorite_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemRemoveFavoriteRequestBuilder) 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 *ItemRemoveFavoriteRequestBuilder) WithUrl(rawUrl string)(*ItemRemoveFavoriteRequestBuilder) { + return NewItemRemoveFavoriteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_renew_request_builder.go b/groups/item_renew_request_builder.go index 5ba33b0ef7c..cdff2c7aa10 100644 --- a/groups/item_renew_request_builder.go +++ b/groups/item_renew_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemRenewRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemRenewRequestBuilder) WithUrl(rawUrl string)(*ItemRenewRequestBuilder) { + return NewItemRenewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_reset_unseen_count_request_builder.go b/groups/item_reset_unseen_count_request_builder.go index cc0cd3b3e37..690b5ce336e 100644 --- a/groups/item_reset_unseen_count_request_builder.go +++ b/groups/item_reset_unseen_count_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemResetUnseenCountRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemResetUnseenCountRequestBuilder) WithUrl(rawUrl string)(*ItemResetUnseenCountRequestBuilder) { + return NewItemResetUnseenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_restore_request_builder.go b/groups/item_restore_request_builder.go index 6333c5f5b32..0235b83425c 100644 --- a/groups/item_restore_request_builder.go +++ b/groups/item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemRestoreRequestBuilder) { + return NewItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_retry_service_provisioning_request_builder.go b/groups/item_retry_service_provisioning_request_builder.go index 84110ff8e67..0fdeea2cf5e 100644 --- a/groups/item_retry_service_provisioning_request_builder.go +++ b/groups/item_retry_service_provisioning_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemRetryServiceProvisioningRequestBuilder) 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 *ItemRetryServiceProvisioningRequestBuilder) WithUrl(rawUrl string)(*ItemRetryServiceProvisioningRequestBuilder) { + return NewItemRetryServiceProvisioningRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_settings_count_request_builder.go b/groups/item_settings_count_request_builder.go index 3355841ba4b..816cce3e5df 100644 --- a/groups/item_settings_count_request_builder.go +++ b/groups/item_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSettingsCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemSettingsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsCountRequestBuilder) { + return NewItemSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_settings_directory_setting_item_request_builder.go b/groups/item_settings_directory_setting_item_request_builder.go index 70d7aa61e5d..25ce650ad4f 100644 --- a/groups/item_settings_directory_setting_item_request_builder.go +++ b/groups/item_settings_directory_setting_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemSettingsDirectorySettingItemRequestBuilder) ToPatchRequestInformati } 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 *ItemSettingsDirectorySettingItemRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsDirectorySettingItemRequestBuilder) { + return NewItemSettingsDirectorySettingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_settings_request_builder.go b/groups/item_settings_request_builder.go index 417adc96d75..590fbc7d8e4 100644 --- a/groups/item_settings_request_builder.go +++ b/groups/item_settings_request_builder.go @@ -46,8 +46,8 @@ type ItemSettingsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDirectorySettingIdString provides operations to manage the settings property of the microsoft.graph.group entity. -func (m *ItemSettingsRequestBuilder) ByDirectorySettingIdString(directorySettingId string)(*ItemSettingsDirectorySettingItemRequestBuilder) { +// ByDirectorySettingId provides operations to manage the settings property of the microsoft.graph.group entity. +func (m *ItemSettingsRequestBuilder) ByDirectorySettingId(directorySettingId string)(*ItemSettingsDirectorySettingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemSettingsRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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 *ItemSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsRequestBuilder) { + return NewItemSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_add_request_builder.go b/groups/item_sites_add_request_builder.go index 65c712f66fe..ec216881ff2 100644 --- a/groups/item_sites_add_request_builder.go +++ b/groups/item_sites_add_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemSitesAddRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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 *ItemSitesAddRequestBuilder) WithUrl(rawUrl string)(*ItemSitesAddRequestBuilder) { + return NewItemSitesAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_count_request_builder.go b/groups/item_sites_count_request_builder.go index 32d5a188092..1af45bd2ef6 100644 --- a/groups/item_sites_count_request_builder.go +++ b/groups/item_sites_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesCountRequestBuilder) ToGetRequestInformation(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 *ItemSitesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesCountRequestBuilder) { + return NewItemSitesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_delta_request_builder.go b/groups/item_sites_delta_request_builder.go index fb508e2adf7..bb0c64ebe40 100644 --- a/groups/item_sites_delta_request_builder.go +++ b/groups/item_sites_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemSitesDeltaRequestBuilder) ToGetRequestInformation(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 *ItemSitesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemSitesDeltaRequestBuilder) { + return NewItemSitesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_get_all_sites_request_builder.go b/groups/item_sites_get_all_sites_request_builder.go index fd2bca35e89..fa3d462fdab 100644 --- a/groups/item_sites_get_all_sites_request_builder.go +++ b/groups/item_sites_get_all_sites_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemSitesGetAllSitesRequestBuilder) ToGetRequestInformation(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 *ItemSitesGetAllSitesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesGetAllSitesRequestBuilder) { + return NewItemSitesGetAllSitesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_analytics_all_time_request_builder.go b/groups/item_sites_item_analytics_all_time_request_builder.go index 45d5ab59610..c75fd72e364 100644 --- a/groups/item_sites_item_analytics_all_time_request_builder.go +++ b/groups/item_sites_item_analytics_all_time_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemAnalyticsAllTimeRequestBuilder) ToGetRequestInformation(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 *ItemSitesItemAnalyticsAllTimeRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemAnalyticsAllTimeRequestBuilder) { + return NewItemSitesItemAnalyticsAllTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_analytics_item_activity_stats_count_request_builder.go b/groups/item_sites_item_analytics_item_activity_stats_count_request_builder.go index e0d9cf87217..31cbf7ed567 100644 --- a/groups/item_sites_item_analytics_item_activity_stats_count_request_builder.go +++ b/groups/item_sites_item_analytics_item_activity_stats_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsCountRequestBuilder) ToGetReques } 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 *ItemSitesItemAnalyticsItemActivityStatsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemAnalyticsItemActivityStatsCountRequestBuilder) { + return NewItemSitesItemAnalyticsItemActivityStatsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_analytics_item_activity_stats_item_activities_count_request_builder.go b/groups/item_sites_item_analytics_item_activity_stats_item_activities_count_request_builder.go index dbc4df616f6..0f33b6e0856 100644 --- a/groups/item_sites_item_analytics_item_activity_stats_item_activities_count_request_builder.go +++ b/groups/item_sites_item_analytics_item_activity_stats_item_activities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesCountRequestBuilde } 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 *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemAnalyticsItemActivityStatsItemActivitiesCountRequestBuilder) { + return NewItemSitesItemAnalyticsItemActivityStatsItemActivitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go b/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go index 70a2cc77698..59e8f3d039c 100644 --- a/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go +++ b/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRe } 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 *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRequestBuilder) { + return NewItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go b/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go index c4e8e797ce1..ffd3415e111 100644 --- a/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go +++ b/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemConte } 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 *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder) { + return NewItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go b/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go index cf38e46515e..cf806120d3a 100644 --- a/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go +++ b/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemReque } 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 *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemRequestBuilder) { + return NewItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_analytics_item_activity_stats_item_activities_request_builder.go b/groups/item_sites_item_analytics_item_activity_stats_item_activities_request_builder.go index 7d26fe0c427..ec22682b9cf 100644 --- a/groups/item_sites_item_analytics_item_activity_stats_item_activities_request_builder.go +++ b/groups/item_sites_item_analytics_item_activity_stats_item_activities_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemAnalyticsItemActivityStatsItemActivitiesRequestBuilderPostRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByItemActivityIdString provides operations to manage the activities property of the microsoft.graph.itemActivityStat entity. -func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder) ByItemActivityIdString(itemActivityId string)(*ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRequestBuilder) { +// ByItemActivityId provides operations to manage the activities property of the microsoft.graph.itemActivityStat entity. +func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder) ByItemActivityId(itemActivityId string)(*ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder) To } 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 *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder) { + return NewItemSitesItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go b/groups/item_sites_item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go index 93e74491e01..84e63c4072e 100644 --- a/groups/item_sites_item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go +++ b/groups/item_sites_item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuild } 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 *ItemSitesItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuilder) { + return NewItemSitesItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_analytics_item_activity_stats_request_builder.go b/groups/item_sites_item_analytics_item_activity_stats_request_builder.go index c47210e7e32..f105990cf6e 100644 --- a/groups/item_sites_item_analytics_item_activity_stats_request_builder.go +++ b/groups/item_sites_item_analytics_item_activity_stats_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemAnalyticsItemActivityStatsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByItemActivityStatIdString provides operations to manage the itemActivityStats property of the microsoft.graph.itemAnalytics entity. -func (m *ItemSitesItemAnalyticsItemActivityStatsRequestBuilder) ByItemActivityStatIdString(itemActivityStatId string)(*ItemSitesItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuilder) { +// ByItemActivityStatId provides operations to manage the itemActivityStats property of the microsoft.graph.itemAnalytics entity. +func (m *ItemSitesItemAnalyticsItemActivityStatsRequestBuilder) ByItemActivityStatId(itemActivityStatId string)(*ItemSitesItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsRequestBuilder) ToPostRequestInf } 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 *ItemSitesItemAnalyticsItemActivityStatsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemAnalyticsItemActivityStatsRequestBuilder) { + return NewItemSitesItemAnalyticsItemActivityStatsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_analytics_last_seven_days_request_builder.go b/groups/item_sites_item_analytics_last_seven_days_request_builder.go index 9d7e1b8c02a..5ccbb19da75 100644 --- a/groups/item_sites_item_analytics_last_seven_days_request_builder.go +++ b/groups/item_sites_item_analytics_last_seven_days_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemAnalyticsLastSevenDaysRequestBuilder) ToGetRequestInformat } 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 *ItemSitesItemAnalyticsLastSevenDaysRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemAnalyticsLastSevenDaysRequestBuilder) { + return NewItemSitesItemAnalyticsLastSevenDaysRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_analytics_request_builder.go b/groups/item_sites_item_analytics_request_builder.go index 4a0c58a5cc9..6140f067ed6 100644 --- a/groups/item_sites_item_analytics_request_builder.go +++ b/groups/item_sites_item_analytics_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemSitesItemAnalyticsRequestBuilder) ToPatchRequestInformation(ctx con } 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 *ItemSitesItemAnalyticsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemAnalyticsRequestBuilder) { + return NewItemSitesItemAnalyticsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_columns_column_definition_item_request_builder.go b/groups/item_sites_item_columns_column_definition_item_request_builder.go index 5ec57ae0cd3..4b91e763d41 100644 --- a/groups/item_sites_item_columns_column_definition_item_request_builder.go +++ b/groups/item_sites_item_columns_column_definition_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemSitesItemColumnsColumnDefinitionItemRequestBuilder) ToPatchRequestI } 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 *ItemSitesItemColumnsColumnDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemColumnsColumnDefinitionItemRequestBuilder) { + return NewItemSitesItemColumnsColumnDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_columns_count_request_builder.go b/groups/item_sites_item_columns_count_request_builder.go index ec498440944..e0ec83e9899 100644 --- a/groups/item_sites_item_columns_count_request_builder.go +++ b/groups/item_sites_item_columns_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemColumnsCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemSitesItemColumnsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemColumnsCountRequestBuilder) { + return NewItemSitesItemColumnsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_columns_item_source_column_request_builder.go b/groups/item_sites_item_columns_item_source_column_request_builder.go index c748e1317fd..1cdfdc6326e 100644 --- a/groups/item_sites_item_columns_item_source_column_request_builder.go +++ b/groups/item_sites_item_columns_item_source_column_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemColumnsItemSourceColumnRequestBuilder) ToGetRequestInforma } 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 *ItemSitesItemColumnsItemSourceColumnRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemColumnsItemSourceColumnRequestBuilder) { + return NewItemSitesItemColumnsItemSourceColumnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_columns_request_builder.go b/groups/item_sites_item_columns_request_builder.go index 74bd61a5cdb..e4b07eff503 100644 --- a/groups/item_sites_item_columns_request_builder.go +++ b/groups/item_sites_item_columns_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemColumnsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByColumnDefinitionIdString provides operations to manage the columns property of the microsoft.graph.site entity. -func (m *ItemSitesItemColumnsRequestBuilder) ByColumnDefinitionIdString(columnDefinitionId string)(*ItemSitesItemColumnsColumnDefinitionItemRequestBuilder) { +// ByColumnDefinitionId provides operations to manage the columns property of the microsoft.graph.site entity. +func (m *ItemSitesItemColumnsRequestBuilder) ByColumnDefinitionId(columnDefinitionId string)(*ItemSitesItemColumnsColumnDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemSitesItemColumnsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemSitesItemColumnsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemColumnsRequestBuilder) { + return NewItemSitesItemColumnsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_add_copy_from_content_type_hub_request_builder.go b/groups/item_sites_item_content_types_add_copy_from_content_type_hub_request_builder.go index 125637628be..3fbbaf3ece8 100644 --- a/groups/item_sites_item_content_types_add_copy_from_content_type_hub_request_builder.go +++ b/groups/item_sites_item_content_types_add_copy_from_content_type_hub_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSitesItemContentTypesAddCopyFromContentTypeHubRequestBuilder) ToPos } 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 *ItemSitesItemContentTypesAddCopyFromContentTypeHubRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesAddCopyFromContentTypeHubRequestBuilder) { + return NewItemSitesItemContentTypesAddCopyFromContentTypeHubRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_add_copy_request_builder.go b/groups/item_sites_item_content_types_add_copy_request_builder.go index e551dd9eef2..29509531466 100644 --- a/groups/item_sites_item_content_types_add_copy_request_builder.go +++ b/groups/item_sites_item_content_types_add_copy_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSitesItemContentTypesAddCopyRequestBuilder) ToPostRequestInformatio } 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 *ItemSitesItemContentTypesAddCopyRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesAddCopyRequestBuilder) { + return NewItemSitesItemContentTypesAddCopyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_content_type_item_request_builder.go b/groups/item_sites_item_content_types_content_type_item_request_builder.go index 63c7cc119b1..a0e0118a676 100644 --- a/groups/item_sites_item_content_types_content_type_item_request_builder.go +++ b/groups/item_sites_item_content_types_content_type_item_request_builder.go @@ -202,3 +202,7 @@ func (m *ItemSitesItemContentTypesContentTypeItemRequestBuilder) ToPatchRequestI func (m *ItemSitesItemContentTypesContentTypeItemRequestBuilder) Unpublish()(*ItemSitesItemContentTypesItemUnpublishRequestBuilder) { return NewItemSitesItemContentTypesItemUnpublishRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSitesItemContentTypesContentTypeItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesContentTypeItemRequestBuilder) { + return NewItemSitesItemContentTypesContentTypeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_count_request_builder.go b/groups/item_sites_item_content_types_count_request_builder.go index c8c7e4036d0..68d1cedcb71 100644 --- a/groups/item_sites_item_content_types_count_request_builder.go +++ b/groups/item_sites_item_content_types_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemContentTypesCountRequestBuilder) ToGetRequestInformation(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 *ItemSitesItemContentTypesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesCountRequestBuilder) { + return NewItemSitesItemContentTypesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_get_compatible_hub_content_types_request_builder.go b/groups/item_sites_item_content_types_get_compatible_hub_content_types_request_builder.go index 77d3daa17ea..5f01d175f1c 100644 --- a/groups/item_sites_item_content_types_get_compatible_hub_content_types_request_builder.go +++ b/groups/item_sites_item_content_types_get_compatible_hub_content_types_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemSitesItemContentTypesGetCompatibleHubContentTypesRequestBuilder) To } 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 *ItemSitesItemContentTypesGetCompatibleHubContentTypesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesGetCompatibleHubContentTypesRequestBuilder) { + return NewItemSitesItemContentTypesGetCompatibleHubContentTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_item_associate_with_hub_sites_request_builder.go b/groups/item_sites_item_content_types_item_associate_with_hub_sites_request_builder.go index 3ecdccb3c88..b33afe74763 100644 --- a/groups/item_sites_item_content_types_item_associate_with_hub_sites_request_builder.go +++ b/groups/item_sites_item_content_types_item_associate_with_hub_sites_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemSitesItemContentTypesItemAssociateWithHubSitesRequestBuilder) ToPos } 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 *ItemSitesItemContentTypesItemAssociateWithHubSitesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesItemAssociateWithHubSitesRequestBuilder) { + return NewItemSitesItemContentTypesItemAssociateWithHubSitesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_item_base_request_builder.go b/groups/item_sites_item_content_types_item_base_request_builder.go index 9ebcb93f4ea..51cae6746e1 100644 --- a/groups/item_sites_item_content_types_item_base_request_builder.go +++ b/groups/item_sites_item_content_types_item_base_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemContentTypesItemBaseRequestBuilder) 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 *ItemSitesItemContentTypesItemBaseRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesItemBaseRequestBuilder) { + return NewItemSitesItemContentTypesItemBaseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_item_base_types_content_type_item_request_builder.go b/groups/item_sites_item_content_types_item_base_types_content_type_item_request_builder.go index 0e712c42a7e..e49a0e82340 100644 --- a/groups/item_sites_item_content_types_item_base_types_content_type_item_request_builder.go +++ b/groups/item_sites_item_content_types_item_base_types_content_type_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemContentTypesItemBaseTypesContentTypeItemRequestBuilder) To } 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 *ItemSitesItemContentTypesItemBaseTypesContentTypeItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesItemBaseTypesContentTypeItemRequestBuilder) { + return NewItemSitesItemContentTypesItemBaseTypesContentTypeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_item_base_types_count_request_builder.go b/groups/item_sites_item_content_types_item_base_types_count_request_builder.go index 6ebf995a4fb..387fa81f13e 100644 --- a/groups/item_sites_item_content_types_item_base_types_count_request_builder.go +++ b/groups/item_sites_item_content_types_item_base_types_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemContentTypesItemBaseTypesCountRequestBuilder) ToGetRequest } 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 *ItemSitesItemContentTypesItemBaseTypesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesItemBaseTypesCountRequestBuilder) { + return NewItemSitesItemContentTypesItemBaseTypesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_item_base_types_request_builder.go b/groups/item_sites_item_content_types_item_base_types_request_builder.go index e976fc0e712..0c5ea3ae32f 100644 --- a/groups/item_sites_item_content_types_item_base_types_request_builder.go +++ b/groups/item_sites_item_content_types_item_base_types_request_builder.go @@ -39,8 +39,8 @@ type ItemSitesItemContentTypesItemBaseTypesRequestBuilderGetRequestConfiguration // Request query parameters QueryParameters *ItemSitesItemContentTypesItemBaseTypesRequestBuilderGetQueryParameters } -// ByContentTypeId1String provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. -func (m *ItemSitesItemContentTypesItemBaseTypesRequestBuilder) ByContentTypeId1String(contentTypeId1 string)(*ItemSitesItemContentTypesItemBaseTypesContentTypeItemRequestBuilder) { +// ByContentTypeId1 provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. +func (m *ItemSitesItemContentTypesItemBaseTypesRequestBuilder) ByContentTypeId1(contentTypeId1 string)(*ItemSitesItemContentTypesItemBaseTypesContentTypeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemSitesItemContentTypesItemBaseTypesRequestBuilder) ToGetRequestInfor } 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 *ItemSitesItemContentTypesItemBaseTypesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesItemBaseTypesRequestBuilder) { + return NewItemSitesItemContentTypesItemBaseTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_item_column_links_column_link_item_request_builder.go b/groups/item_sites_item_content_types_item_column_links_column_link_item_request_builder.go index 21e8437c553..d07475c50d7 100644 --- a/groups/item_sites_item_content_types_item_column_links_column_link_item_request_builder.go +++ b/groups/item_sites_item_content_types_item_column_links_column_link_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemSitesItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) T } 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 *ItemSitesItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) { + return NewItemSitesItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_item_column_links_count_request_builder.go b/groups/item_sites_item_content_types_item_column_links_count_request_builder.go index 0c5d1d28c80..23d60749474 100644 --- a/groups/item_sites_item_content_types_item_column_links_count_request_builder.go +++ b/groups/item_sites_item_content_types_item_column_links_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemContentTypesItemColumnLinksCountRequestBuilder) ToGetReque } 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 *ItemSitesItemContentTypesItemColumnLinksCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesItemColumnLinksCountRequestBuilder) { + return NewItemSitesItemContentTypesItemColumnLinksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_item_column_links_request_builder.go b/groups/item_sites_item_content_types_item_column_links_request_builder.go index 4665120bbdd..fd01c03aefa 100644 --- a/groups/item_sites_item_content_types_item_column_links_request_builder.go +++ b/groups/item_sites_item_content_types_item_column_links_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemContentTypesItemColumnLinksRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByColumnLinkIdString provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. -func (m *ItemSitesItemContentTypesItemColumnLinksRequestBuilder) ByColumnLinkIdString(columnLinkId string)(*ItemSitesItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) { +// ByColumnLinkId provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. +func (m *ItemSitesItemContentTypesItemColumnLinksRequestBuilder) ByColumnLinkId(columnLinkId string)(*ItemSitesItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemContentTypesItemColumnLinksRequestBuilder) ToPostRequestIn } 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 *ItemSitesItemContentTypesItemColumnLinksRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesItemColumnLinksRequestBuilder) { + return NewItemSitesItemContentTypesItemColumnLinksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_item_column_positions_column_definition_item_request_builder.go b/groups/item_sites_item_content_types_item_column_positions_column_definition_item_request_builder.go index 606481b7ca5..66fc020d9c0 100644 --- a/groups/item_sites_item_content_types_item_column_positions_column_definition_item_request_builder.go +++ b/groups/item_sites_item_content_types_item_column_positions_column_definition_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemContentTypesItemColumnPositionsColumnDefinitionItemRequest } 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 *ItemSitesItemContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) { + return NewItemSitesItemContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_item_column_positions_count_request_builder.go b/groups/item_sites_item_content_types_item_column_positions_count_request_builder.go index 98315911948..cd9f6465cb6 100644 --- a/groups/item_sites_item_content_types_item_column_positions_count_request_builder.go +++ b/groups/item_sites_item_content_types_item_column_positions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemContentTypesItemColumnPositionsCountRequestBuilder) ToGetR } 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 *ItemSitesItemContentTypesItemColumnPositionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesItemColumnPositionsCountRequestBuilder) { + return NewItemSitesItemContentTypesItemColumnPositionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_item_column_positions_request_builder.go b/groups/item_sites_item_content_types_item_column_positions_request_builder.go index 24fe885b8a2..760bbf3ec54 100644 --- a/groups/item_sites_item_content_types_item_column_positions_request_builder.go +++ b/groups/item_sites_item_content_types_item_column_positions_request_builder.go @@ -39,8 +39,8 @@ type ItemSitesItemContentTypesItemColumnPositionsRequestBuilderGetRequestConfigu // Request query parameters QueryParameters *ItemSitesItemContentTypesItemColumnPositionsRequestBuilderGetQueryParameters } -// ByColumnDefinitionIdString provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. -func (m *ItemSitesItemContentTypesItemColumnPositionsRequestBuilder) ByColumnDefinitionIdString(columnDefinitionId string)(*ItemSitesItemContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) { +// ByColumnDefinitionId provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. +func (m *ItemSitesItemContentTypesItemColumnPositionsRequestBuilder) ByColumnDefinitionId(columnDefinitionId string)(*ItemSitesItemContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemSitesItemContentTypesItemColumnPositionsRequestBuilder) ToGetReques } 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 *ItemSitesItemContentTypesItemColumnPositionsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesItemColumnPositionsRequestBuilder) { + return NewItemSitesItemContentTypesItemColumnPositionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_item_columns_column_definition_item_request_builder.go b/groups/item_sites_item_content_types_item_columns_column_definition_item_request_builder.go index cc34576d7f7..d979aa62060 100644 --- a/groups/item_sites_item_content_types_item_columns_column_definition_item_request_builder.go +++ b/groups/item_sites_item_content_types_item_columns_column_definition_item_request_builder.go @@ -166,3 +166,7 @@ func (m *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) } 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 *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) { + return NewItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_item_columns_count_request_builder.go b/groups/item_sites_item_content_types_item_columns_count_request_builder.go index 1f4250c29c3..7c4c017ceb1 100644 --- a/groups/item_sites_item_content_types_item_columns_count_request_builder.go +++ b/groups/item_sites_item_content_types_item_columns_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemContentTypesItemColumnsCountRequestBuilder) ToGetRequestIn } 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 *ItemSitesItemContentTypesItemColumnsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesItemColumnsCountRequestBuilder) { + return NewItemSitesItemContentTypesItemColumnsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_item_columns_item_source_column_request_builder.go b/groups/item_sites_item_content_types_item_columns_item_source_column_request_builder.go index c0faf279cef..de6db196e38 100644 --- a/groups/item_sites_item_content_types_item_columns_item_source_column_request_builder.go +++ b/groups/item_sites_item_content_types_item_columns_item_source_column_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemContentTypesItemColumnsItemSourceColumnRequestBuilder) ToG } 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 *ItemSitesItemContentTypesItemColumnsItemSourceColumnRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesItemColumnsItemSourceColumnRequestBuilder) { + return NewItemSitesItemContentTypesItemColumnsItemSourceColumnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_item_columns_request_builder.go b/groups/item_sites_item_content_types_item_columns_request_builder.go index a27feda2942..4f1e21c6be5 100644 --- a/groups/item_sites_item_content_types_item_columns_request_builder.go +++ b/groups/item_sites_item_content_types_item_columns_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemContentTypesItemColumnsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByColumnDefinitionIdString provides operations to manage the columns property of the microsoft.graph.contentType entity. -func (m *ItemSitesItemContentTypesItemColumnsRequestBuilder) ByColumnDefinitionIdString(columnDefinitionId string)(*ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) { +// ByColumnDefinitionId provides operations to manage the columns property of the microsoft.graph.contentType entity. +func (m *ItemSitesItemContentTypesItemColumnsRequestBuilder) ByColumnDefinitionId(columnDefinitionId string)(*ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemSitesItemContentTypesItemColumnsRequestBuilder) ToPostRequestInform } 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 *ItemSitesItemContentTypesItemColumnsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesItemColumnsRequestBuilder) { + return NewItemSitesItemContentTypesItemColumnsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_item_copy_to_default_content_location_request_builder.go b/groups/item_sites_item_content_types_item_copy_to_default_content_location_request_builder.go index 3fab6f3dbf4..4ba9436d2c9 100644 --- a/groups/item_sites_item_content_types_item_copy_to_default_content_location_request_builder.go +++ b/groups/item_sites_item_content_types_item_copy_to_default_content_location_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemSitesItemContentTypesItemCopyToDefaultContentLocationRequestBuilder } 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 *ItemSitesItemContentTypesItemCopyToDefaultContentLocationRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesItemCopyToDefaultContentLocationRequestBuilder) { + return NewItemSitesItemContentTypesItemCopyToDefaultContentLocationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_item_is_published_request_builder.go b/groups/item_sites_item_content_types_item_is_published_request_builder.go index d5d66ecb921..aaeb7812168 100644 --- a/groups/item_sites_item_content_types_item_is_published_request_builder.go +++ b/groups/item_sites_item_content_types_item_is_published_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemSitesItemContentTypesItemIsPublishedRequestBuilder) ToGetRequestInf } 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 *ItemSitesItemContentTypesItemIsPublishedRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesItemIsPublishedRequestBuilder) { + return NewItemSitesItemContentTypesItemIsPublishedRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_item_publish_request_builder.go b/groups/item_sites_item_content_types_item_publish_request_builder.go index 263bd7feee4..90045655efb 100644 --- a/groups/item_sites_item_content_types_item_publish_request_builder.go +++ b/groups/item_sites_item_content_types_item_publish_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemSitesItemContentTypesItemPublishRequestBuilder) ToPostRequestInform } 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 *ItemSitesItemContentTypesItemPublishRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesItemPublishRequestBuilder) { + return NewItemSitesItemContentTypesItemPublishRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_item_unpublish_request_builder.go b/groups/item_sites_item_content_types_item_unpublish_request_builder.go index e7167e4c7df..1615e3c82cc 100644 --- a/groups/item_sites_item_content_types_item_unpublish_request_builder.go +++ b/groups/item_sites_item_content_types_item_unpublish_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemSitesItemContentTypesItemUnpublishRequestBuilder) ToPostRequestInfo } 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 *ItemSitesItemContentTypesItemUnpublishRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesItemUnpublishRequestBuilder) { + return NewItemSitesItemContentTypesItemUnpublishRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_content_types_request_builder.go b/groups/item_sites_item_content_types_request_builder.go index 105963e84c3..ac2ef5754e0 100644 --- a/groups/item_sites_item_content_types_request_builder.go +++ b/groups/item_sites_item_content_types_request_builder.go @@ -54,8 +54,8 @@ func (m *ItemSitesItemContentTypesRequestBuilder) AddCopy()(*ItemSitesItemConten func (m *ItemSitesItemContentTypesRequestBuilder) AddCopyFromContentTypeHub()(*ItemSitesItemContentTypesAddCopyFromContentTypeHubRequestBuilder) { return NewItemSitesItemContentTypesAddCopyFromContentTypeHubRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByContentTypeIdString provides operations to manage the contentTypes property of the microsoft.graph.site entity. -func (m *ItemSitesItemContentTypesRequestBuilder) ByContentTypeIdString(contentTypeId string)(*ItemSitesItemContentTypesContentTypeItemRequestBuilder) { +// ByContentTypeId provides operations to manage the contentTypes property of the microsoft.graph.site entity. +func (m *ItemSitesItemContentTypesRequestBuilder) ByContentTypeId(contentTypeId string)(*ItemSitesItemContentTypesContentTypeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -163,3 +163,7 @@ func (m *ItemSitesItemContentTypesRequestBuilder) ToPostRequestInformation(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 *ItemSitesItemContentTypesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemContentTypesRequestBuilder) { + return NewItemSitesItemContentTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_created_by_user_mailbox_settings_request_builder.go b/groups/item_sites_item_created_by_user_mailbox_settings_request_builder.go index 3fbda918ceb..aa4c458b30b 100644 --- a/groups/item_sites_item_created_by_user_mailbox_settings_request_builder.go +++ b/groups/item_sites_item_created_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemSitesItemCreatedByUserMailboxSettingsRequestBuilder) ToPatchRequest } 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 *ItemSitesItemCreatedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemCreatedByUserMailboxSettingsRequestBuilder) { + return NewItemSitesItemCreatedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_created_by_user_request_builder.go b/groups/item_sites_item_created_by_user_request_builder.go index d878c6acea3..8583c55715d 100644 --- a/groups/item_sites_item_created_by_user_request_builder.go +++ b/groups/item_sites_item_created_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemSitesItemCreatedByUserRequestBuilder) ToGetRequestInformation(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 *ItemSitesItemCreatedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemCreatedByUserRequestBuilder) { + return NewItemSitesItemCreatedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_drive_request_builder.go b/groups/item_sites_item_drive_request_builder.go index f79eebac5fc..b82d989430c 100644 --- a/groups/item_sites_item_drive_request_builder.go +++ b/groups/item_sites_item_drive_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemDriveRequestBuilder) 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 *ItemSitesItemDriveRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemDriveRequestBuilder) { + return NewItemSitesItemDriveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_drives_count_request_builder.go b/groups/item_sites_item_drives_count_request_builder.go index 8e67b753ab3..e0f14380c88 100644 --- a/groups/item_sites_item_drives_count_request_builder.go +++ b/groups/item_sites_item_drives_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemDrivesCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemSitesItemDrivesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemDrivesCountRequestBuilder) { + return NewItemSitesItemDrivesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_drives_drive_item_request_builder.go b/groups/item_sites_item_drives_drive_item_request_builder.go index c47e8e447d4..1d512e2e9f7 100644 --- a/groups/item_sites_item_drives_drive_item_request_builder.go +++ b/groups/item_sites_item_drives_drive_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemDrivesDriveItemRequestBuilder) ToGetRequestInformation(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 *ItemSitesItemDrivesDriveItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemDrivesDriveItemRequestBuilder) { + return NewItemSitesItemDrivesDriveItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_drives_request_builder.go b/groups/item_sites_item_drives_request_builder.go index 43b7cea2ad8..ed9ba3fb377 100644 --- a/groups/item_sites_item_drives_request_builder.go +++ b/groups/item_sites_item_drives_request_builder.go @@ -39,8 +39,8 @@ type ItemSitesItemDrivesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemSitesItemDrivesRequestBuilderGetQueryParameters } -// ByDriveIdString provides operations to manage the drives property of the microsoft.graph.site entity. -func (m *ItemSitesItemDrivesRequestBuilder) ByDriveIdString(driveId string)(*ItemSitesItemDrivesDriveItemRequestBuilder) { +// ByDriveId provides operations to manage the drives property of the microsoft.graph.site entity. +func (m *ItemSitesItemDrivesRequestBuilder) ByDriveId(driveId string)(*ItemSitesItemDrivesDriveItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemSitesItemDrivesRequestBuilder) ToGetRequestInformation(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 *ItemSitesItemDrivesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemDrivesRequestBuilder) { + return NewItemSitesItemDrivesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_external_columns_column_definition_item_request_builder.go b/groups/item_sites_item_external_columns_column_definition_item_request_builder.go index 9083a1ce539..f1cb8cdafa9 100644 --- a/groups/item_sites_item_external_columns_column_definition_item_request_builder.go +++ b/groups/item_sites_item_external_columns_column_definition_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemExternalColumnsColumnDefinitionItemRequestBuilder) ToGetRe } 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 *ItemSitesItemExternalColumnsColumnDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemExternalColumnsColumnDefinitionItemRequestBuilder) { + return NewItemSitesItemExternalColumnsColumnDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_external_columns_count_request_builder.go b/groups/item_sites_item_external_columns_count_request_builder.go index 0ddfa2547d2..e1aa0e110cc 100644 --- a/groups/item_sites_item_external_columns_count_request_builder.go +++ b/groups/item_sites_item_external_columns_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemExternalColumnsCountRequestBuilder) 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 *ItemSitesItemExternalColumnsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemExternalColumnsCountRequestBuilder) { + return NewItemSitesItemExternalColumnsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_external_columns_request_builder.go b/groups/item_sites_item_external_columns_request_builder.go index 32c7eef192d..c8fcfd9c0f9 100644 --- a/groups/item_sites_item_external_columns_request_builder.go +++ b/groups/item_sites_item_external_columns_request_builder.go @@ -39,8 +39,8 @@ type ItemSitesItemExternalColumnsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemSitesItemExternalColumnsRequestBuilderGetQueryParameters } -// ByColumnDefinitionIdString provides operations to manage the externalColumns property of the microsoft.graph.site entity. -func (m *ItemSitesItemExternalColumnsRequestBuilder) ByColumnDefinitionIdString(columnDefinitionId string)(*ItemSitesItemExternalColumnsColumnDefinitionItemRequestBuilder) { +// ByColumnDefinitionId provides operations to manage the externalColumns property of the microsoft.graph.site entity. +func (m *ItemSitesItemExternalColumnsRequestBuilder) ByColumnDefinitionId(columnDefinitionId string)(*ItemSitesItemExternalColumnsColumnDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemSitesItemExternalColumnsRequestBuilder) ToGetRequestInformation(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 *ItemSitesItemExternalColumnsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemExternalColumnsRequestBuilder) { + return NewItemSitesItemExternalColumnsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go b/groups/item_sites_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go index 4a4754d4c31..b765a2112b4 100644 --- a/groups/item_sites_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go +++ b/groups/item_sites_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go @@ -93,3 +93,7 @@ func (m *ItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWit } 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 *ItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder) { + return NewItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_get_applicable_content_types_for_list_with_list_id_request_builder.go b/groups/item_sites_item_get_applicable_content_types_for_list_with_list_id_request_builder.go index eab8bb7654d..6332a90a70c 100644 --- a/groups/item_sites_item_get_applicable_content_types_for_list_with_list_id_request_builder.go +++ b/groups/item_sites_item_get_applicable_content_types_for_list_with_list_id_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemSitesItemGetApplicableContentTypesForListWithListIdRequestBuilder) } 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 *ItemSitesItemGetApplicableContentTypesForListWithListIdRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemGetApplicableContentTypesForListWithListIdRequestBuilder) { + return NewItemSitesItemGetApplicableContentTypesForListWithListIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_get_by_path_with_path_request_builder.go b/groups/item_sites_item_get_by_path_with_path_request_builder.go index 26222c2f1ea..96bf4cbb117 100644 --- a/groups/item_sites_item_get_by_path_with_path_request_builder.go +++ b/groups/item_sites_item_get_by_path_with_path_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemSitesItemGetByPathWithPathRequestBuilder) ToGetRequestInformation(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 *ItemSitesItemGetByPathWithPathRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemGetByPathWithPathRequestBuilder) { + return NewItemSitesItemGetByPathWithPathRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go b/groups/item_sites_item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go index ee0578f7ae7..68b0568ce71 100644 --- a/groups/item_sites_item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go +++ b/groups/item_sites_item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go @@ -78,3 +78,7 @@ func (m *ItemSitesItemInformationProtectionBitlockerRecoveryKeysBitlockerRecover } 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 *ItemSitesItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) { + return NewItemSitesItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_bitlocker_recovery_keys_count_request_builder.go b/groups/item_sites_item_information_protection_bitlocker_recovery_keys_count_request_builder.go index 3147f9be899..82b6868e770 100644 --- a/groups/item_sites_item_information_protection_bitlocker_recovery_keys_count_request_builder.go +++ b/groups/item_sites_item_information_protection_bitlocker_recovery_keys_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemInformationProtectionBitlockerRecoveryKeysCountRequestBuil } 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 *ItemSitesItemInformationProtectionBitlockerRecoveryKeysCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionBitlockerRecoveryKeysCountRequestBuilder) { + return NewItemSitesItemInformationProtectionBitlockerRecoveryKeysCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_bitlocker_recovery_keys_request_builder.go b/groups/item_sites_item_information_protection_bitlocker_recovery_keys_request_builder.go index c404caf8c74..cf3480d36bd 100644 --- a/groups/item_sites_item_information_protection_bitlocker_recovery_keys_request_builder.go +++ b/groups/item_sites_item_information_protection_bitlocker_recovery_keys_request_builder.go @@ -39,8 +39,8 @@ type ItemSitesItemInformationProtectionBitlockerRecoveryKeysRequestBuilderGetReq // Request query parameters QueryParameters *ItemSitesItemInformationProtectionBitlockerRecoveryKeysRequestBuilderGetQueryParameters } -// ByBitlockerRecoveryKeyIdString provides operations to manage the recoveryKeys property of the microsoft.graph.bitlocker entity. -func (m *ItemSitesItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) ByBitlockerRecoveryKeyIdString(bitlockerRecoveryKeyId string)(*ItemSitesItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) { +// ByBitlockerRecoveryKeyId provides operations to manage the recoveryKeys property of the microsoft.graph.bitlocker entity. +func (m *ItemSitesItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) ByBitlockerRecoveryKeyId(bitlockerRecoveryKeyId string)(*ItemSitesItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemSitesItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) } 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 *ItemSitesItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) { + return NewItemSitesItemInformationProtectionBitlockerRecoveryKeysRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_bitlocker_request_builder.go b/groups/item_sites_item_information_protection_bitlocker_request_builder.go index e1b88e96fce..d746b1161df 100644 --- a/groups/item_sites_item_information_protection_bitlocker_request_builder.go +++ b/groups/item_sites_item_information_protection_bitlocker_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemSitesItemInformationProtectionBitlockerRequestBuilder) ToGetRequest } 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 *ItemSitesItemInformationProtectionBitlockerRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionBitlockerRequestBuilder) { + return NewItemSitesItemInformationProtectionBitlockerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_data_loss_prevention_policies_count_request_builder.go b/groups/item_sites_item_information_protection_data_loss_prevention_policies_count_request_builder.go index 380a30f9b07..fc0cebe9176 100644 --- a/groups/item_sites_item_information_protection_data_loss_prevention_policies_count_request_builder.go +++ b/groups/item_sites_item_information_protection_data_loss_prevention_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesCountReques } 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 *ItemSitesItemInformationProtectionDataLossPreventionPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionDataLossPreventionPoliciesCountRequestBuilder) { + return NewItemSitesItemInformationProtectionDataLossPreventionPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go b/groups/item_sites_item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go index e72e5d8d50f..4ec332ebe99 100644 --- a/groups/item_sites_item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go +++ b/groups/item_sites_item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesDataLossPre } 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 *ItemSitesItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder) { + return NewItemSitesItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go b/groups/item_sites_item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go index 3b02f566834..1cdfa8b9c39 100644 --- a/groups/item_sites_item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go +++ b/groups/item_sites_item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluateReq } 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 *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluateRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluateRequestBuilder) { + return NewItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_data_loss_prevention_policies_request_builder.go b/groups/item_sites_item_information_protection_data_loss_prevention_policies_request_builder.go index 3c8ff81d416..35122c848c9 100644 --- a/groups/item_sites_item_information_protection_data_loss_prevention_policies_request_builder.go +++ b/groups/item_sites_item_information_protection_data_loss_prevention_policies_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemInformationProtectionDataLossPreventionPoliciesRequestBuilderP // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDataLossPreventionPolicyIdString provides operations to manage the dataLossPreventionPolicies property of the microsoft.graph.informationProtection entity. -func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesRequestBuilder) ByDataLossPreventionPolicyIdString(dataLossPreventionPolicyId string)(*ItemSitesItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder) { +// ByDataLossPreventionPolicyId provides operations to manage the dataLossPreventionPolicies property of the microsoft.graph.informationProtection entity. +func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesRequestBuilder) ByDataLossPreventionPolicyId(dataLossPreventionPolicyId string)(*ItemSitesItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesRequestBuil } 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 *ItemSitesItemInformationProtectionDataLossPreventionPoliciesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionDataLossPreventionPoliciesRequestBuilder) { + return NewItemSitesItemInformationProtectionDataLossPreventionPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_decrypt_buffer_request_builder.go b/groups/item_sites_item_information_protection_decrypt_buffer_request_builder.go index f71a2c0f859..d10874afc2c 100644 --- a/groups/item_sites_item_information_protection_decrypt_buffer_request_builder.go +++ b/groups/item_sites_item_information_protection_decrypt_buffer_request_builder.go @@ -69,3 +69,8 @@ func (m *ItemSitesItemInformationProtectionDecryptBufferRequestBuilder) ToPostRe } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemSitesItemInformationProtectionDecryptBufferRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionDecryptBufferRequestBuilder) { + return NewItemSitesItemInformationProtectionDecryptBufferRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_encrypt_buffer_request_builder.go b/groups/item_sites_item_information_protection_encrypt_buffer_request_builder.go index 5fe0cac73d9..233a78bf8d4 100644 --- a/groups/item_sites_item_information_protection_encrypt_buffer_request_builder.go +++ b/groups/item_sites_item_information_protection_encrypt_buffer_request_builder.go @@ -69,3 +69,8 @@ func (m *ItemSitesItemInformationProtectionEncryptBufferRequestBuilder) ToPostRe } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemSitesItemInformationProtectionEncryptBufferRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionEncryptBufferRequestBuilder) { + return NewItemSitesItemInformationProtectionEncryptBufferRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_policy_labels_count_request_builder.go b/groups/item_sites_item_information_protection_policy_labels_count_request_builder.go index d6aaa5f1cdb..241fdcd72c6 100644 --- a/groups/item_sites_item_information_protection_policy_labels_count_request_builder.go +++ b/groups/item_sites_item_information_protection_policy_labels_count_request_builder.go @@ -76,3 +76,8 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsCountRequestBuilder) ToGe } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemSitesItemInformationProtectionPolicyLabelsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionPolicyLabelsCountRequestBuilder) { + return NewItemSitesItemInformationProtectionPolicyLabelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_policy_labels_evaluate_application_request_builder.go b/groups/item_sites_item_information_protection_policy_labels_evaluate_application_request_builder.go index b51948a91e1..9fea5bc5032 100644 --- a/groups/item_sites_item_information_protection_policy_labels_evaluate_application_request_builder.go +++ b/groups/item_sites_item_information_protection_policy_labels_evaluate_application_request_builder.go @@ -71,3 +71,8 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationReques } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder) { + return NewItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_policy_labels_evaluate_classification_results_request_builder.go b/groups/item_sites_item_information_protection_policy_labels_evaluate_classification_results_request_builder.go index b34bb2f740a..8d649e05da9 100644 --- a/groups/item_sites_item_information_protection_policy_labels_evaluate_classification_results_request_builder.go +++ b/groups/item_sites_item_information_protection_policy_labels_evaluate_classification_results_request_builder.go @@ -71,3 +71,8 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationRes } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsRequestBuilder) { + return NewItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_policy_labels_evaluate_removal_request_builder.go b/groups/item_sites_item_information_protection_policy_labels_evaluate_removal_request_builder.go index 4e24c1e497b..cb2b8a2b879 100644 --- a/groups/item_sites_item_information_protection_policy_labels_evaluate_removal_request_builder.go +++ b/groups/item_sites_item_information_protection_policy_labels_evaluate_removal_request_builder.go @@ -71,3 +71,8 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBui } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder) { + return NewItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_policy_labels_extract_label_request_builder.go b/groups/item_sites_item_information_protection_policy_labels_extract_label_request_builder.go index 1fba1c3d96a..6ab42cb6981 100644 --- a/groups/item_sites_item_information_protection_policy_labels_extract_label_request_builder.go +++ b/groups/item_sites_item_information_protection_policy_labels_extract_label_request_builder.go @@ -72,3 +72,8 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsExtractLabelRequestBuilde } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemSitesItemInformationProtectionPolicyLabelsExtractLabelRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionPolicyLabelsExtractLabelRequestBuilder) { + return NewItemSitesItemInformationProtectionPolicyLabelsExtractLabelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_policy_labels_information_protection_label_item_request_builder.go b/groups/item_sites_item_information_protection_policy_labels_information_protection_label_item_request_builder.go index 7d9af4dbd6b..b1f0c704740 100644 --- a/groups/item_sites_item_information_protection_policy_labels_information_protection_label_item_request_builder.go +++ b/groups/item_sites_item_information_protection_policy_labels_information_protection_label_item_request_builder.go @@ -162,3 +162,8 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsInformationProtectionLabe } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemSitesItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilder) { + return NewItemSitesItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_policy_labels_request_builder.go b/groups/item_sites_item_information_protection_policy_labels_request_builder.go index 554ebaf11f9..70691ec82ee 100644 --- a/groups/item_sites_item_information_protection_policy_labels_request_builder.go +++ b/groups/item_sites_item_information_protection_policy_labels_request_builder.go @@ -46,9 +46,9 @@ type ItemSitesItemInformationProtectionPolicyLabelsRequestBuilderPostRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByInformationProtectionLabelIdString provides operations to manage the labels property of the microsoft.graph.informationProtectionPolicy entity. +// ByInformationProtectionLabelId provides operations to manage the labels property of the microsoft.graph.informationProtectionPolicy entity. // Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 -func (m *ItemSitesItemInformationProtectionPolicyLabelsRequestBuilder) ByInformationProtectionLabelIdString(informationProtectionLabelId string)(*ItemSitesItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilder) { +func (m *ItemSitesItemInformationProtectionPolicyLabelsRequestBuilder) ByInformationProtectionLabelId(informationProtectionLabelId string)(*ItemSitesItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -169,3 +169,8 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsRequestBuilder) ToPostReq } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemSitesItemInformationProtectionPolicyLabelsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionPolicyLabelsRequestBuilder) { + return NewItemSitesItemInformationProtectionPolicyLabelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_policy_request_builder.go b/groups/item_sites_item_information_protection_policy_request_builder.go index 410b91692f1..ae12715ea5b 100644 --- a/groups/item_sites_item_information_protection_policy_request_builder.go +++ b/groups/item_sites_item_information_protection_policy_request_builder.go @@ -163,3 +163,8 @@ func (m *ItemSitesItemInformationProtectionPolicyRequestBuilder) ToPatchRequestI } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemSitesItemInformationProtectionPolicyRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionPolicyRequestBuilder) { + return NewItemSitesItemInformationProtectionPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_request_builder.go b/groups/item_sites_item_information_protection_request_builder.go index d4fe55b5236..01250473bc1 100644 --- a/groups/item_sites_item_information_protection_request_builder.go +++ b/groups/item_sites_item_information_protection_request_builder.go @@ -193,3 +193,7 @@ func (m *ItemSitesItemInformationProtectionRequestBuilder) ToPatchRequestInforma func (m *ItemSitesItemInformationProtectionRequestBuilder) VerifySignature()(*ItemSitesItemInformationProtectionVerifySignatureRequestBuilder) { return NewItemSitesItemInformationProtectionVerifySignatureRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSitesItemInformationProtectionRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionRequestBuilder) { + return NewItemSitesItemInformationProtectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_sensitivity_labels_count_request_builder.go b/groups/item_sites_item_information_protection_sensitivity_labels_count_request_builder.go index dd7b4113221..f22fcd55a70 100644 --- a/groups/item_sites_item_information_protection_sensitivity_labels_count_request_builder.go +++ b/groups/item_sites_item_information_protection_sensitivity_labels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsCountRequestBuilder) } 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 *ItemSitesItemInformationProtectionSensitivityLabelsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionSensitivityLabelsCountRequestBuilder) { + return NewItemSitesItemInformationProtectionSensitivityLabelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_sensitivity_labels_evaluate_request_builder.go b/groups/item_sites_item_information_protection_sensitivity_labels_evaluate_request_builder.go index 3671b681f0e..fc4d71b97d4 100644 --- a/groups/item_sites_item_information_protection_sensitivity_labels_evaluate_request_builder.go +++ b/groups/item_sites_item_information_protection_sensitivity_labels_evaluate_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsEvaluateRequestBuild } 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 *ItemSitesItemInformationProtectionSensitivityLabelsEvaluateRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionSensitivityLabelsEvaluateRequestBuilder) { + return NewItemSitesItemInformationProtectionSensitivityLabelsEvaluateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_count_request_builder.go b/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_count_request_builder.go index 7189ebaf86e..2f5189ee825 100644 --- a/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_count_request_builder.go +++ b/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsCountRe } 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 *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsCountRequestBuilder) { + return NewItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go b/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go index 8da0ee6f319..22c14f36d33 100644 --- a/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go +++ b/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluat } 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 *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluateRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluateRequestBuilder) { + return NewItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_request_builder.go b/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_request_builder.go index 3cba1df94d9..2000bdb0f01 100644 --- a/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_request_builder.go +++ b/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySensitivityLabelId1String provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. -func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilder) BySensitivityLabelId1String(sensitivityLabelId1 string)(*ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) { +// BySensitivityLabelId1 provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. +func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilder) BySensitivityLabelId1(sensitivityLabelId1 string)(*ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsRequest } 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 *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilder) { + return NewItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go b/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go index 71dc72ff2f1..b51a1937d08 100644 --- a/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go +++ b/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsSensiti } 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 *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) { + return NewItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_sensitivity_labels_request_builder.go b/groups/item_sites_item_information_protection_sensitivity_labels_request_builder.go index 0193cf4d223..2652f365f51 100644 --- a/groups/item_sites_item_information_protection_sensitivity_labels_request_builder.go +++ b/groups/item_sites_item_information_protection_sensitivity_labels_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemInformationProtectionSensitivityLabelsRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySensitivityLabelIdString provides operations to manage the sensitivityLabels property of the microsoft.graph.informationProtection entity. -func (m *ItemSitesItemInformationProtectionSensitivityLabelsRequestBuilder) BySensitivityLabelIdString(sensitivityLabelId string)(*ItemSitesItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder) { +// BySensitivityLabelId provides operations to manage the sensitivityLabels property of the microsoft.graph.informationProtection entity. +func (m *ItemSitesItemInformationProtectionSensitivityLabelsRequestBuilder) BySensitivityLabelId(sensitivityLabelId string)(*ItemSitesItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsRequestBuilder) ToPo } 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 *ItemSitesItemInformationProtectionSensitivityLabelsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionSensitivityLabelsRequestBuilder) { + return NewItemSitesItemInformationProtectionSensitivityLabelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go b/groups/item_sites_item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go index 0cd32c6a8f9..0dece56045d 100644 --- a/groups/item_sites_item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go +++ b/groups/item_sites_item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsSensitivityLabelItem } 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 *ItemSitesItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder) { + return NewItemSitesItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_sensitivity_policy_settings_request_builder.go b/groups/item_sites_item_information_protection_sensitivity_policy_settings_request_builder.go index 2e5ca263524..29c3265dc61 100644 --- a/groups/item_sites_item_information_protection_sensitivity_policy_settings_request_builder.go +++ b/groups/item_sites_item_information_protection_sensitivity_policy_settings_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityPolicySettingsRequestBuild } 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 *ItemSitesItemInformationProtectionSensitivityPolicySettingsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionSensitivityPolicySettingsRequestBuilder) { + return NewItemSitesItemInformationProtectionSensitivityPolicySettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_sign_digest_request_builder.go b/groups/item_sites_item_information_protection_sign_digest_request_builder.go index 07e9ef189d0..dd29bb17467 100644 --- a/groups/item_sites_item_information_protection_sign_digest_request_builder.go +++ b/groups/item_sites_item_information_protection_sign_digest_request_builder.go @@ -69,3 +69,8 @@ func (m *ItemSitesItemInformationProtectionSignDigestRequestBuilder) ToPostReque } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemSitesItemInformationProtectionSignDigestRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionSignDigestRequestBuilder) { + return NewItemSitesItemInformationProtectionSignDigestRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_threat_assessment_requests_count_request_builder.go b/groups/item_sites_item_information_protection_threat_assessment_requests_count_request_builder.go index baa51f55c41..80187189c1c 100644 --- a/groups/item_sites_item_information_protection_threat_assessment_requests_count_request_builder.go +++ b/groups/item_sites_item_information_protection_threat_assessment_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsCountRequestB } 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 *ItemSitesItemInformationProtectionThreatAssessmentRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionThreatAssessmentRequestsCountRequestBuilder) { + return NewItemSitesItemInformationProtectionThreatAssessmentRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_threat_assessment_requests_item_results_count_request_builder.go b/groups/item_sites_item_information_protection_threat_assessment_requests_item_results_count_request_builder.go index c438bd08a78..a2133c36116 100644 --- a/groups/item_sites_item_information_protection_threat_assessment_requests_item_results_count_request_builder.go +++ b/groups/item_sites_item_information_protection_threat_assessment_requests_item_results_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsItemResultsCo } 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 *ItemSitesItemInformationProtectionThreatAssessmentRequestsItemResultsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionThreatAssessmentRequestsItemResultsCountRequestBuilder) { + return NewItemSitesItemInformationProtectionThreatAssessmentRequestsItemResultsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_threat_assessment_requests_item_results_request_builder.go b/groups/item_sites_item_information_protection_threat_assessment_requests_item_results_request_builder.go index 159f7825011..9edde3b77c4 100644 --- a/groups/item_sites_item_information_protection_threat_assessment_requests_item_results_request_builder.go +++ b/groups/item_sites_item_information_protection_threat_assessment_requests_item_results_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemInformationProtectionThreatAssessmentRequestsItemResultsReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByThreatAssessmentResultIdString provides operations to manage the results property of the microsoft.graph.threatAssessmentRequest entity. -func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuilder) ByThreatAssessmentResultIdString(threatAssessmentResultId string)(*ItemSitesItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBuilder) { +// ByThreatAssessmentResultId provides operations to manage the results property of the microsoft.graph.threatAssessmentRequest entity. +func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuilder) ByThreatAssessmentResultId(threatAssessmentResultId string)(*ItemSitesItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsItemResultsRe } 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 *ItemSitesItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuilder) { + return NewItemSitesItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go b/groups/item_sites_item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go index f77f4cc8934..1b0e3d03d77 100644 --- a/groups/item_sites_item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go +++ b/groups/item_sites_item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsItemResultsTh } 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 *ItemSitesItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBuilder) { + return NewItemSitesItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_threat_assessment_requests_request_builder.go b/groups/item_sites_item_information_protection_threat_assessment_requests_request_builder.go index c6f1115c6be..1d516d32422 100644 --- a/groups/item_sites_item_information_protection_threat_assessment_requests_request_builder.go +++ b/groups/item_sites_item_information_protection_threat_assessment_requests_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilderPos // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByThreatAssessmentRequestIdString provides operations to manage the threatAssessmentRequests property of the microsoft.graph.informationProtection entity. -func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilder) ByThreatAssessmentRequestIdString(threatAssessmentRequestId string)(*ItemSitesItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) { +// ByThreatAssessmentRequestId provides operations to manage the threatAssessmentRequests property of the microsoft.graph.informationProtection entity. +func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilder) ByThreatAssessmentRequestId(threatAssessmentRequestId string)(*ItemSitesItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilde } 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 *ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilder) { + return NewItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go b/groups/item_sites_item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go index 9674749cadb..1331812385c 100644 --- a/groups/item_sites_item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go +++ b/groups/item_sites_item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsThreatAssessm } 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 *ItemSitesItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) { + return NewItemSitesItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_information_protection_verify_signature_request_builder.go b/groups/item_sites_item_information_protection_verify_signature_request_builder.go index 56f405a2a63..b5af4563437 100644 --- a/groups/item_sites_item_information_protection_verify_signature_request_builder.go +++ b/groups/item_sites_item_information_protection_verify_signature_request_builder.go @@ -69,3 +69,8 @@ func (m *ItemSitesItemInformationProtectionVerifySignatureRequestBuilder) ToPost } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemSitesItemInformationProtectionVerifySignatureRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemInformationProtectionVerifySignatureRequestBuilder) { + return NewItemSitesItemInformationProtectionVerifySignatureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_items_base_item_item_request_builder.go b/groups/item_sites_item_items_base_item_item_request_builder.go index d7ad34b8ca2..f287f3cddd7 100644 --- a/groups/item_sites_item_items_base_item_item_request_builder.go +++ b/groups/item_sites_item_items_base_item_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemItemsBaseItemItemRequestBuilder) ToGetRequestInformation(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 *ItemSitesItemItemsBaseItemItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemItemsBaseItemItemRequestBuilder) { + return NewItemSitesItemItemsBaseItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_items_count_request_builder.go b/groups/item_sites_item_items_count_request_builder.go index 5c07658f34f..f1131ce2e20 100644 --- a/groups/item_sites_item_items_count_request_builder.go +++ b/groups/item_sites_item_items_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemItemsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemSitesItemItemsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemItemsCountRequestBuilder) { + return NewItemSitesItemItemsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_items_request_builder.go b/groups/item_sites_item_items_request_builder.go index edcd4ef52db..7a6465306e9 100644 --- a/groups/item_sites_item_items_request_builder.go +++ b/groups/item_sites_item_items_request_builder.go @@ -39,8 +39,8 @@ type ItemSitesItemItemsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemSitesItemItemsRequestBuilderGetQueryParameters } -// ByBaseItemIdString provides operations to manage the items property of the microsoft.graph.site entity. -func (m *ItemSitesItemItemsRequestBuilder) ByBaseItemIdString(baseItemId string)(*ItemSitesItemItemsBaseItemItemRequestBuilder) { +// ByBaseItemId provides operations to manage the items property of the microsoft.graph.site entity. +func (m *ItemSitesItemItemsRequestBuilder) ByBaseItemId(baseItemId string)(*ItemSitesItemItemsBaseItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemSitesItemItemsRequestBuilder) 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 *ItemSitesItemItemsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemItemsRequestBuilder) { + return NewItemSitesItemItemsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_last_modified_by_user_mailbox_settings_request_builder.go b/groups/item_sites_item_last_modified_by_user_mailbox_settings_request_builder.go index d5f5b1c5665..cabf1dbadf7 100644 --- a/groups/item_sites_item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/groups/item_sites_item_last_modified_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemSitesItemLastModifiedByUserMailboxSettingsRequestBuilder) ToPatchRe } 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 *ItemSitesItemLastModifiedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewItemSitesItemLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_last_modified_by_user_request_builder.go b/groups/item_sites_item_last_modified_by_user_request_builder.go index 1b3d742fdb6..0266e03f8ca 100644 --- a/groups/item_sites_item_last_modified_by_user_request_builder.go +++ b/groups/item_sites_item_last_modified_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemSitesItemLastModifiedByUserRequestBuilder) 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 *ItemSitesItemLastModifiedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemLastModifiedByUserRequestBuilder) { + return NewItemSitesItemLastModifiedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_count_request_builder.go b/groups/item_sites_item_lists_count_request_builder.go index 682d806c2f3..42be375e2c2 100644 --- a/groups/item_sites_item_lists_count_request_builder.go +++ b/groups/item_sites_item_lists_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemListsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemSitesItemListsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsCountRequestBuilder) { + return NewItemSitesItemListsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_activities_request_builder.go b/groups/item_sites_item_lists_item_activities_request_builder.go index 582d779c98e..fe81f0ad350 100644 --- a/groups/item_sites_item_lists_item_activities_request_builder.go +++ b/groups/item_sites_item_lists_item_activities_request_builder.go @@ -130,3 +130,7 @@ func (m *ItemSitesItemListsItemActivitiesRequestBuilder) ToPostRequestInformatio } 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 *ItemSitesItemListsItemActivitiesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemActivitiesRequestBuilder) { + return NewItemSitesItemListsItemActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_columns_column_definition_item_request_builder.go b/groups/item_sites_item_lists_item_columns_column_definition_item_request_builder.go index 16e6f359aab..ba837d59591 100644 --- a/groups/item_sites_item_lists_item_columns_column_definition_item_request_builder.go +++ b/groups/item_sites_item_lists_item_columns_column_definition_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemSitesItemListsItemColumnsColumnDefinitionItemRequestBuilder) ToPatc } 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 *ItemSitesItemListsItemColumnsColumnDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemColumnsColumnDefinitionItemRequestBuilder) { + return NewItemSitesItemListsItemColumnsColumnDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_columns_count_request_builder.go b/groups/item_sites_item_lists_item_columns_count_request_builder.go index 2a01bd11807..4bde058c955 100644 --- a/groups/item_sites_item_lists_item_columns_count_request_builder.go +++ b/groups/item_sites_item_lists_item_columns_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemListsItemColumnsCountRequestBuilder) ToGetRequestInformati } 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 *ItemSitesItemListsItemColumnsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemColumnsCountRequestBuilder) { + return NewItemSitesItemListsItemColumnsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_columns_item_source_column_request_builder.go b/groups/item_sites_item_lists_item_columns_item_source_column_request_builder.go index 018968c266f..028b642e455 100644 --- a/groups/item_sites_item_lists_item_columns_item_source_column_request_builder.go +++ b/groups/item_sites_item_lists_item_columns_item_source_column_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemListsItemColumnsItemSourceColumnRequestBuilder) ToGetReque } 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 *ItemSitesItemListsItemColumnsItemSourceColumnRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemColumnsItemSourceColumnRequestBuilder) { + return NewItemSitesItemListsItemColumnsItemSourceColumnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_columns_request_builder.go b/groups/item_sites_item_lists_item_columns_request_builder.go index 71b8b4b678d..373401ea2be 100644 --- a/groups/item_sites_item_lists_item_columns_request_builder.go +++ b/groups/item_sites_item_lists_item_columns_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemListsItemColumnsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByColumnDefinitionIdString provides operations to manage the columns property of the microsoft.graph.list entity. -func (m *ItemSitesItemListsItemColumnsRequestBuilder) ByColumnDefinitionIdString(columnDefinitionId string)(*ItemSitesItemListsItemColumnsColumnDefinitionItemRequestBuilder) { +// ByColumnDefinitionId provides operations to manage the columns property of the microsoft.graph.list entity. +func (m *ItemSitesItemListsItemColumnsRequestBuilder) ByColumnDefinitionId(columnDefinitionId string)(*ItemSitesItemListsItemColumnsColumnDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemSitesItemListsItemColumnsRequestBuilder) ToPostRequestInformation(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 *ItemSitesItemListsItemColumnsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemColumnsRequestBuilder) { + return NewItemSitesItemListsItemColumnsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go b/groups/item_sites_item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go index c20eb34f5e0..cad8322d463 100644 --- a/groups/item_sites_item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubRequestBuild } 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 *ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubRequestBuilder) { + return NewItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_add_copy_request_builder.go b/groups/item_sites_item_lists_item_content_types_add_copy_request_builder.go index 507d112f6a9..860bc0726b9 100644 --- a/groups/item_sites_item_lists_item_content_types_add_copy_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_add_copy_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSitesItemListsItemContentTypesAddCopyRequestBuilder) ToPostRequestI } 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 *ItemSitesItemListsItemContentTypesAddCopyRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesAddCopyRequestBuilder) { + return NewItemSitesItemListsItemContentTypesAddCopyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_content_type_item_request_builder.go b/groups/item_sites_item_lists_item_content_types_content_type_item_request_builder.go index 2de330b08a4..d7829d393a7 100644 --- a/groups/item_sites_item_lists_item_content_types_content_type_item_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_content_type_item_request_builder.go @@ -193,3 +193,7 @@ func (m *ItemSitesItemListsItemContentTypesContentTypeItemRequestBuilder) ToPatc func (m *ItemSitesItemListsItemContentTypesContentTypeItemRequestBuilder) Unpublish()(*ItemSitesItemListsItemContentTypesItemUnpublishRequestBuilder) { return NewItemSitesItemListsItemContentTypesItemUnpublishRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSitesItemListsItemContentTypesContentTypeItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesContentTypeItemRequestBuilder) { + return NewItemSitesItemListsItemContentTypesContentTypeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_count_request_builder.go b/groups/item_sites_item_lists_item_content_types_count_request_builder.go index 26dab02666e..169e2f539f3 100644 --- a/groups/item_sites_item_lists_item_content_types_count_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemListsItemContentTypesCountRequestBuilder) ToGetRequestInfo } 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 *ItemSitesItemListsItemContentTypesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesCountRequestBuilder) { + return NewItemSitesItemListsItemContentTypesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go b/groups/item_sites_item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go index e0c9d1de82d..7c3347a7f0d 100644 --- a/groups/item_sites_item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesRequestBu } 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 *ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilder) { + return NewItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go index 1b962a033bb..be4676ce27c 100644 --- a/groups/item_sites_item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesRequestBuild } 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 *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesRequestBuilder) { + return NewItemSitesItemListsItemContentTypesItemAssociateWithHubSitesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_item_base_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_base_request_builder.go index 1e2bb05ea65..edb24f5675a 100644 --- a/groups/item_sites_item_lists_item_content_types_item_base_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_base_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemListsItemContentTypesItemBaseRequestBuilder) ToGetRequestI } 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 *ItemSitesItemListsItemContentTypesItemBaseRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesItemBaseRequestBuilder) { + return NewItemSitesItemListsItemContentTypesItemBaseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_item_base_types_content_type_item_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_base_types_content_type_item_request_builder.go index 02a731e4691..03e0b10294e 100644 --- a/groups/item_sites_item_lists_item_content_types_item_base_types_content_type_item_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_base_types_content_type_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemListsItemContentTypesItemBaseTypesContentTypeItemRequestBu } 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 *ItemSitesItemListsItemContentTypesItemBaseTypesContentTypeItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesItemBaseTypesContentTypeItemRequestBuilder) { + return NewItemSitesItemListsItemContentTypesItemBaseTypesContentTypeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_item_base_types_count_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_base_types_count_request_builder.go index dd0aae6b6d2..d2520ffea30 100644 --- a/groups/item_sites_item_lists_item_content_types_item_base_types_count_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_base_types_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemListsItemContentTypesItemBaseTypesCountRequestBuilder) ToG } 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 *ItemSitesItemListsItemContentTypesItemBaseTypesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesItemBaseTypesCountRequestBuilder) { + return NewItemSitesItemListsItemContentTypesItemBaseTypesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_item_base_types_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_base_types_request_builder.go index e5f473eeae4..849911ee5b8 100644 --- a/groups/item_sites_item_lists_item_content_types_item_base_types_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_base_types_request_builder.go @@ -39,8 +39,8 @@ type ItemSitesItemListsItemContentTypesItemBaseTypesRequestBuilderGetRequestConf // Request query parameters QueryParameters *ItemSitesItemListsItemContentTypesItemBaseTypesRequestBuilderGetQueryParameters } -// ByContentTypeId1String provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. -func (m *ItemSitesItemListsItemContentTypesItemBaseTypesRequestBuilder) ByContentTypeId1String(contentTypeId1 string)(*ItemSitesItemListsItemContentTypesItemBaseTypesContentTypeItemRequestBuilder) { +// ByContentTypeId1 provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. +func (m *ItemSitesItemListsItemContentTypesItemBaseTypesRequestBuilder) ByContentTypeId1(contentTypeId1 string)(*ItemSitesItemListsItemContentTypesItemBaseTypesContentTypeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemSitesItemListsItemContentTypesItemBaseTypesRequestBuilder) ToGetReq } 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 *ItemSitesItemListsItemContentTypesItemBaseTypesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesItemBaseTypesRequestBuilder) { + return NewItemSitesItemListsItemContentTypesItemBaseTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_item_column_links_column_link_item_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_column_links_column_link_item_request_builder.go index e34f4b6c2fc..303cd18572d 100644 --- a/groups/item_sites_item_lists_item_content_types_item_column_links_column_link_item_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_column_links_column_link_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnLinksColumnLinkItemRequestB } 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 *ItemSitesItemListsItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) { + return NewItemSitesItemListsItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_item_column_links_count_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_column_links_count_request_builder.go index 34a8dec1293..a79155d8b26 100644 --- a/groups/item_sites_item_lists_item_content_types_item_column_links_count_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_column_links_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnLinksCountRequestBuilder) T } 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 *ItemSitesItemListsItemContentTypesItemColumnLinksCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesItemColumnLinksCountRequestBuilder) { + return NewItemSitesItemListsItemContentTypesItemColumnLinksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_item_column_links_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_column_links_request_builder.go index beaa460c1ab..32c668447cc 100644 --- a/groups/item_sites_item_lists_item_content_types_item_column_links_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_column_links_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemListsItemContentTypesItemColumnLinksRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByColumnLinkIdString provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. -func (m *ItemSitesItemListsItemContentTypesItemColumnLinksRequestBuilder) ByColumnLinkIdString(columnLinkId string)(*ItemSitesItemListsItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) { +// ByColumnLinkId provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. +func (m *ItemSitesItemListsItemContentTypesItemColumnLinksRequestBuilder) ByColumnLinkId(columnLinkId string)(*ItemSitesItemListsItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnLinksRequestBuilder) ToPost } 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 *ItemSitesItemListsItemContentTypesItemColumnLinksRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesItemColumnLinksRequestBuilder) { + return NewItemSitesItemListsItemContentTypesItemColumnLinksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_item_column_positions_column_definition_item_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_column_positions_column_definition_item_request_builder.go index 8e1819613a6..c3e339596b8 100644 --- a/groups/item_sites_item_lists_item_content_types_item_column_positions_column_definition_item_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_column_positions_column_definition_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnPositionsColumnDefinitionIt } 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 *ItemSitesItemListsItemContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) { + return NewItemSitesItemListsItemContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_item_column_positions_count_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_column_positions_count_request_builder.go index 9ccbd88ad8e..95399070d54 100644 --- a/groups/item_sites_item_lists_item_content_types_item_column_positions_count_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_column_positions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnPositionsCountRequestBuilde } 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 *ItemSitesItemListsItemContentTypesItemColumnPositionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesItemColumnPositionsCountRequestBuilder) { + return NewItemSitesItemListsItemContentTypesItemColumnPositionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_item_column_positions_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_column_positions_request_builder.go index b73d18ddcbb..23ce9347ba6 100644 --- a/groups/item_sites_item_lists_item_content_types_item_column_positions_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_column_positions_request_builder.go @@ -39,8 +39,8 @@ type ItemSitesItemListsItemContentTypesItemColumnPositionsRequestBuilderGetReque // Request query parameters QueryParameters *ItemSitesItemListsItemContentTypesItemColumnPositionsRequestBuilderGetQueryParameters } -// ByColumnDefinitionIdString provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. -func (m *ItemSitesItemListsItemContentTypesItemColumnPositionsRequestBuilder) ByColumnDefinitionIdString(columnDefinitionId string)(*ItemSitesItemListsItemContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) { +// ByColumnDefinitionId provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. +func (m *ItemSitesItemListsItemContentTypesItemColumnPositionsRequestBuilder) ByColumnDefinitionId(columnDefinitionId string)(*ItemSitesItemListsItemContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnPositionsRequestBuilder) To } 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 *ItemSitesItemListsItemContentTypesItemColumnPositionsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesItemColumnPositionsRequestBuilder) { + return NewItemSitesItemListsItemContentTypesItemColumnPositionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_item_columns_column_definition_item_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_columns_column_definition_item_request_builder.go index 8ec7ffa20d9..91c8726348d 100644 --- a/groups/item_sites_item_lists_item_content_types_item_columns_column_definition_item_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_columns_column_definition_item_request_builder.go @@ -166,3 +166,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemReques } 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 *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) { + return NewItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_item_columns_count_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_columns_count_request_builder.go index d3999f6222d..0afced7522c 100644 --- a/groups/item_sites_item_lists_item_content_types_item_columns_count_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_columns_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnsCountRequestBuilder) ToGet } 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 *ItemSitesItemListsItemContentTypesItemColumnsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesItemColumnsCountRequestBuilder) { + return NewItemSitesItemListsItemContentTypesItemColumnsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_item_columns_item_source_column_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_columns_item_source_column_request_builder.go index 24902373b2c..e4322a6a2a5 100644 --- a/groups/item_sites_item_lists_item_content_types_item_columns_item_source_column_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_columns_item_source_column_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnsItemSourceColumnRequestBui } 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 *ItemSitesItemListsItemContentTypesItemColumnsItemSourceColumnRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesItemColumnsItemSourceColumnRequestBuilder) { + return NewItemSitesItemListsItemContentTypesItemColumnsItemSourceColumnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_item_columns_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_columns_request_builder.go index 29a887b69c1..97a5ac36968 100644 --- a/groups/item_sites_item_lists_item_content_types_item_columns_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_columns_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemListsItemContentTypesItemColumnsRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByColumnDefinitionIdString provides operations to manage the columns property of the microsoft.graph.contentType entity. -func (m *ItemSitesItemListsItemContentTypesItemColumnsRequestBuilder) ByColumnDefinitionIdString(columnDefinitionId string)(*ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) { +// ByColumnDefinitionId provides operations to manage the columns property of the microsoft.graph.contentType entity. +func (m *ItemSitesItemListsItemContentTypesItemColumnsRequestBuilder) ByColumnDefinitionId(columnDefinitionId string)(*ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnsRequestBuilder) ToPostRequ } 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 *ItemSitesItemListsItemContentTypesItemColumnsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesItemColumnsRequestBuilder) { + return NewItemSitesItemListsItemContentTypesItemColumnsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go index 8f69d3a7590..818602563aa 100644 --- a/groups/item_sites_item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationReque } 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 *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationRequestBuilder) { + return NewItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_item_is_published_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_is_published_request_builder.go index 68fc00d178e..76007fdf9fd 100644 --- a/groups/item_sites_item_lists_item_content_types_item_is_published_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_is_published_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemSitesItemListsItemContentTypesItemIsPublishedRequestBuilder) ToGetR } 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 *ItemSitesItemListsItemContentTypesItemIsPublishedRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesItemIsPublishedRequestBuilder) { + return NewItemSitesItemListsItemContentTypesItemIsPublishedRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_item_publish_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_publish_request_builder.go index 2b7c6112780..39e691128c2 100644 --- a/groups/item_sites_item_lists_item_content_types_item_publish_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_publish_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemSitesItemListsItemContentTypesItemPublishRequestBuilder) ToPostRequ } 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 *ItemSitesItemListsItemContentTypesItemPublishRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesItemPublishRequestBuilder) { + return NewItemSitesItemListsItemContentTypesItemPublishRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_item_unpublish_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_unpublish_request_builder.go index 9bdd50da8b2..db0a2472ee8 100644 --- a/groups/item_sites_item_lists_item_content_types_item_unpublish_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_unpublish_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemSitesItemListsItemContentTypesItemUnpublishRequestBuilder) ToPostRe } 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 *ItemSitesItemListsItemContentTypesItemUnpublishRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesItemUnpublishRequestBuilder) { + return NewItemSitesItemListsItemContentTypesItemUnpublishRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_content_types_request_builder.go b/groups/item_sites_item_lists_item_content_types_request_builder.go index bea4db8264b..abb73c45641 100644 --- a/groups/item_sites_item_lists_item_content_types_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_request_builder.go @@ -54,8 +54,8 @@ func (m *ItemSitesItemListsItemContentTypesRequestBuilder) AddCopy()(*ItemSitesI func (m *ItemSitesItemListsItemContentTypesRequestBuilder) AddCopyFromContentTypeHub()(*ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubRequestBuilder) { return NewItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByContentTypeIdString provides operations to manage the contentTypes property of the microsoft.graph.list entity. -func (m *ItemSitesItemListsItemContentTypesRequestBuilder) ByContentTypeIdString(contentTypeId string)(*ItemSitesItemListsItemContentTypesContentTypeItemRequestBuilder) { +// ByContentTypeId provides operations to manage the contentTypes property of the microsoft.graph.list entity. +func (m *ItemSitesItemListsItemContentTypesRequestBuilder) ByContentTypeId(contentTypeId string)(*ItemSitesItemListsItemContentTypesContentTypeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -160,3 +160,7 @@ func (m *ItemSitesItemListsItemContentTypesRequestBuilder) ToPostRequestInformat } 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 *ItemSitesItemListsItemContentTypesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemContentTypesRequestBuilder) { + return NewItemSitesItemListsItemContentTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_created_by_user_mailbox_settings_request_builder.go b/groups/item_sites_item_lists_item_created_by_user_mailbox_settings_request_builder.go index b55e9149735..98f34363e98 100644 --- a/groups/item_sites_item_lists_item_created_by_user_mailbox_settings_request_builder.go +++ b/groups/item_sites_item_lists_item_created_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemSitesItemListsItemCreatedByUserMailboxSettingsRequestBuilder) 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 *ItemSitesItemListsItemCreatedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemCreatedByUserMailboxSettingsRequestBuilder) { + return NewItemSitesItemListsItemCreatedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_created_by_user_request_builder.go b/groups/item_sites_item_lists_item_created_by_user_request_builder.go index 3e7a831173a..7d8ff530ddf 100644 --- a/groups/item_sites_item_lists_item_created_by_user_request_builder.go +++ b/groups/item_sites_item_lists_item_created_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemSitesItemListsItemCreatedByUserRequestBuilder) ToGetRequestInformat } 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 *ItemSitesItemListsItemCreatedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemCreatedByUserRequestBuilder) { + return NewItemSitesItemListsItemCreatedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_drive_request_builder.go b/groups/item_sites_item_lists_item_drive_request_builder.go index 7028c33c557..ed533ee2337 100644 --- a/groups/item_sites_item_lists_item_drive_request_builder.go +++ b/groups/item_sites_item_lists_item_drive_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemListsItemDriveRequestBuilder) ToGetRequestInformation(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 *ItemSitesItemListsItemDriveRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemDriveRequestBuilder) { + return NewItemSitesItemListsItemDriveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_delta_request_builder.go b/groups/item_sites_item_lists_item_items_delta_request_builder.go index c92c9120773..b1f885cd0e6 100644 --- a/groups/item_sites_item_lists_item_items_delta_request_builder.go +++ b/groups/item_sites_item_lists_item_items_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemSitesItemListsItemItemsDeltaRequestBuilder) 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 *ItemSitesItemListsItemItemsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsDeltaRequestBuilder) { + return NewItemSitesItemListsItemItemsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_delta_with_token_request_builder.go b/groups/item_sites_item_lists_item_items_delta_with_token_request_builder.go index 4eb68669a10..40bba38f6aa 100644 --- a/groups/item_sites_item_lists_item_items_delta_with_token_request_builder.go +++ b/groups/item_sites_item_lists_item_items_delta_with_token_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemSitesItemListsItemItemsDeltaWithTokenRequestBuilder) ToGetRequestIn } 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 *ItemSitesItemListsItemItemsDeltaWithTokenRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsDeltaWithTokenRequestBuilder) { + return NewItemSitesItemListsItemItemsDeltaWithTokenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_activities_count_request_builder.go b/groups/item_sites_item_lists_item_items_item_activities_count_request_builder.go index 82ed7798049..614f976bfa8 100644 --- a/groups/item_sites_item_lists_item_items_item_activities_count_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_activities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemListsItemItemsItemActivitiesCountRequestBuilder) ToGetRequ } 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 *ItemSitesItemListsItemItemsItemActivitiesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemActivitiesCountRequestBuilder) { + return NewItemSitesItemListsItemItemsItemActivitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_activities_item_activity_o_l_d_item_request_builder.go b/groups/item_sites_item_lists_item_items_item_activities_item_activity_o_l_d_item_request_builder.go index 587aefcdb20..91e4582921d 100644 --- a/groups/item_sites_item_lists_item_items_item_activities_item_activity_o_l_d_item_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_activities_item_activity_o_l_d_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemSitesItemListsItemItemsItemActivitiesItemActivityOLDItemRequestBuil } 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 *ItemSitesItemListsItemItemsItemActivitiesItemActivityOLDItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemActivitiesItemActivityOLDItemRequestBuilder) { + return NewItemSitesItemListsItemItemsItemActivitiesItemActivityOLDItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_activities_item_drive_item_content_request_builder.go b/groups/item_sites_item_lists_item_items_item_activities_item_drive_item_content_request_builder.go index f080528fd61..2259a98da05 100644 --- a/groups/item_sites_item_lists_item_items_item_activities_item_drive_item_content_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_activities_item_drive_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBui } 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 *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder) { + return NewItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_activities_item_drive_item_request_builder.go b/groups/item_sites_item_lists_item_items_item_activities_item_drive_item_request_builder.go index 73d8b0f04ae..f7e9363df93 100644 --- a/groups/item_sites_item_lists_item_items_item_activities_item_drive_item_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_activities_item_drive_item_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemRequestBuilder) T } 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 *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemActivitiesItemDriveItemRequestBuilder) { + return NewItemSitesItemListsItemItemsItemActivitiesItemDriveItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_activities_item_list_item_request_builder.go b/groups/item_sites_item_lists_item_items_item_activities_item_list_item_request_builder.go index 10a882ebb7b..4fedc798ad9 100644 --- a/groups/item_sites_item_lists_item_items_item_activities_item_list_item_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_activities_item_list_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemListsItemItemsItemActivitiesItemListItemRequestBuilder) To } 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 *ItemSitesItemListsItemItemsItemActivitiesItemListItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemActivitiesItemListItemRequestBuilder) { + return NewItemSitesItemListsItemItemsItemActivitiesItemListItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_activities_request_builder.go b/groups/item_sites_item_lists_item_items_item_activities_request_builder.go index 8d49cc69be5..68eb46f6afa 100644 --- a/groups/item_sites_item_lists_item_items_item_activities_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_activities_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemListsItemItemsItemActivitiesRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByItemActivityOLDIdString provides operations to manage the activities property of the microsoft.graph.listItem entity. -func (m *ItemSitesItemListsItemItemsItemActivitiesRequestBuilder) ByItemActivityOLDIdString(itemActivityOLDId string)(*ItemSitesItemListsItemItemsItemActivitiesItemActivityOLDItemRequestBuilder) { +// ByItemActivityOLDId provides operations to manage the activities property of the microsoft.graph.listItem entity. +func (m *ItemSitesItemListsItemItemsItemActivitiesRequestBuilder) ByItemActivityOLDId(itemActivityOLDId string)(*ItemSitesItemListsItemItemsItemActivitiesItemActivityOLDItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemListsItemItemsItemActivitiesRequestBuilder) ToPostRequestI } 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 *ItemSitesItemListsItemItemsItemActivitiesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemActivitiesRequestBuilder) { + return NewItemSitesItemListsItemItemsItemActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_analytics_request_builder.go b/groups/item_sites_item_lists_item_items_item_analytics_request_builder.go index bd9f2f1e7e4..e3a126da4d5 100644 --- a/groups/item_sites_item_lists_item_items_item_analytics_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_analytics_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemListsItemItemsItemAnalyticsRequestBuilder) ToGetRequestInf } 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 *ItemSitesItemListsItemItemsItemAnalyticsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemAnalyticsRequestBuilder) { + return NewItemSitesItemListsItemItemsItemAnalyticsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_create_link_request_builder.go b/groups/item_sites_item_lists_item_items_item_create_link_request_builder.go index 704813f20a3..4970a9ed18f 100644 --- a/groups/item_sites_item_lists_item_items_item_create_link_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_create_link_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSitesItemListsItemItemsItemCreateLinkRequestBuilder) ToPostRequestI } 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 *ItemSitesItemListsItemItemsItemCreateLinkRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemCreateLinkRequestBuilder) { + return NewItemSitesItemListsItemItemsItemCreateLinkRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_created_by_user_mailbox_settings_request_builder.go b/groups/item_sites_item_lists_item_items_item_created_by_user_mailbox_settings_request_builder.go index 17d8d0908ca..6617636e4a0 100644 --- a/groups/item_sites_item_lists_item_items_item_created_by_user_mailbox_settings_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_created_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemSitesItemListsItemItemsItemCreatedByUserMailboxSettingsRequestBuild } 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 *ItemSitesItemListsItemItemsItemCreatedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemCreatedByUserMailboxSettingsRequestBuilder) { + return NewItemSitesItemListsItemItemsItemCreatedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_created_by_user_request_builder.go b/groups/item_sites_item_lists_item_items_item_created_by_user_request_builder.go index fa4d7a7f2f1..21b5ca7ea49 100644 --- a/groups/item_sites_item_lists_item_items_item_created_by_user_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_created_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemSitesItemListsItemItemsItemCreatedByUserRequestBuilder) ToGetReques } 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 *ItemSitesItemListsItemItemsItemCreatedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemCreatedByUserRequestBuilder) { + return NewItemSitesItemListsItemItemsItemCreatedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_document_set_versions_count_request_builder.go b/groups/item_sites_item_lists_item_items_item_document_set_versions_count_request_builder.go index 53e1ca12121..97b216a015f 100644 --- a/groups/item_sites_item_lists_item_items_item_document_set_versions_count_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_document_set_versions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsCountRequestBuilder) } 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 *ItemSitesItemListsItemItemsItemDocumentSetVersionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemDocumentSetVersionsCountRequestBuilder) { + return NewItemSitesItemListsItemItemsItemDocumentSetVersionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go b/groups/item_sites_item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go index 86c509c925b..c9ff7731df9 100644 --- a/groups/item_sites_item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go @@ -167,3 +167,7 @@ func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionIte } 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 *ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) { + return NewItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_document_set_versions_item_fields_request_builder.go b/groups/item_sites_item_lists_item_items_item_document_set_versions_item_fields_request_builder.go index 64293fe45bc..c68a84680c1 100644 --- a/groups/item_sites_item_lists_item_items_item_document_set_versions_item_fields_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_document_set_versions_item_fields_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsItemFieldsRequestBuil } 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 *ItemSitesItemListsItemItemsItemDocumentSetVersionsItemFieldsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemDocumentSetVersionsItemFieldsRequestBuilder) { + return NewItemSitesItemListsItemItemsItemDocumentSetVersionsItemFieldsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_document_set_versions_item_restore_request_builder.go b/groups/item_sites_item_lists_item_items_item_document_set_versions_item_restore_request_builder.go index eb875db48e9..44c6c593208 100644 --- a/groups/item_sites_item_lists_item_items_item_document_set_versions_item_restore_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_document_set_versions_item_restore_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsItemRestoreRequestBui } 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 *ItemSitesItemListsItemItemsItemDocumentSetVersionsItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemDocumentSetVersionsItemRestoreRequestBuilder) { + return NewItemSitesItemListsItemItemsItemDocumentSetVersionsItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_document_set_versions_request_builder.go b/groups/item_sites_item_lists_item_items_item_document_set_versions_request_builder.go index 2e919aa7f75..d088cfda0eb 100644 --- a/groups/item_sites_item_lists_item_items_item_document_set_versions_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_document_set_versions_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDocumentSetVersionIdString provides operations to manage the documentSetVersions property of the microsoft.graph.listItem entity. -func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilder) ByDocumentSetVersionIdString(documentSetVersionId string)(*ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) { +// ByDocumentSetVersionId provides operations to manage the documentSetVersions property of the microsoft.graph.listItem entity. +func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilder) ByDocumentSetVersionId(documentSetVersionId string)(*ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilder) ToPos } 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 *ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilder) { + return NewItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_drive_item_content_request_builder.go b/groups/item_sites_item_lists_item_items_item_drive_item_content_request_builder.go index 95148da3824..c8ee78d124b 100644 --- a/groups/item_sites_item_lists_item_items_item_drive_item_content_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_drive_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilder) ToPutReq } 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 *ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilder) { + return NewItemSitesItemListsItemItemsItemDriveItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_drive_item_request_builder.go b/groups/item_sites_item_lists_item_items_item_drive_item_request_builder.go index 871dee628ba..bcbb0d3d0f2 100644 --- a/groups/item_sites_item_lists_item_items_item_drive_item_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_drive_item_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemSitesItemListsItemItemsItemDriveItemRequestBuilder) ToGetRequestInf } 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 *ItemSitesItemListsItemItemsItemDriveItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemDriveItemRequestBuilder) { + return NewItemSitesItemListsItemItemsItemDriveItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_fields_request_builder.go b/groups/item_sites_item_lists_item_items_item_fields_request_builder.go index d64404924ce..04c7527725c 100644 --- a/groups/item_sites_item_lists_item_items_item_fields_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_fields_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemSitesItemListsItemItemsItemFieldsRequestBuilder) 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 *ItemSitesItemListsItemItemsItemFieldsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemFieldsRequestBuilder) { + return NewItemSitesItemListsItemItemsItemFieldsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go b/groups/item_sites_item_lists_item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go index 4e382c89394..97056b608a0 100644 --- a/groups/item_sites_item_lists_item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go @@ -93,3 +93,7 @@ func (m *ItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTime } 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 *ItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder) { + return NewItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_last_modified_by_user_mailbox_settings_request_builder.go b/groups/item_sites_item_lists_item_items_item_last_modified_by_user_mailbox_settings_request_builder.go index d6584473e4b..13f2d54dbbf 100644 --- a/groups/item_sites_item_lists_item_items_item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_last_modified_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemSitesItemListsItemItemsItemLastModifiedByUserMailboxSettingsRequest } 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 *ItemSitesItemListsItemItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewItemSitesItemListsItemItemsItemLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_last_modified_by_user_request_builder.go b/groups/item_sites_item_lists_item_items_item_last_modified_by_user_request_builder.go index 2de828d11eb..16080cd102d 100644 --- a/groups/item_sites_item_lists_item_items_item_last_modified_by_user_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_last_modified_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemSitesItemListsItemItemsItemLastModifiedByUserRequestBuilder) ToGetR } 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 *ItemSitesItemListsItemItemsItemLastModifiedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemLastModifiedByUserRequestBuilder) { + return NewItemSitesItemListsItemItemsItemLastModifiedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_versions_count_request_builder.go b/groups/item_sites_item_lists_item_items_item_versions_count_request_builder.go index df1bee54af7..63a74bee1ff 100644 --- a/groups/item_sites_item_lists_item_items_item_versions_count_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_versions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemListsItemItemsItemVersionsCountRequestBuilder) ToGetReques } 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 *ItemSitesItemListsItemItemsItemVersionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemVersionsCountRequestBuilder) { + return NewItemSitesItemListsItemItemsItemVersionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_versions_item_fields_request_builder.go b/groups/item_sites_item_lists_item_items_item_versions_item_fields_request_builder.go index 0748c9d6214..35e106e203c 100644 --- a/groups/item_sites_item_lists_item_items_item_versions_item_fields_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_versions_item_fields_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemSitesItemListsItemItemsItemVersionsItemFieldsRequestBuilder) ToPatc } 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 *ItemSitesItemListsItemItemsItemVersionsItemFieldsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemVersionsItemFieldsRequestBuilder) { + return NewItemSitesItemListsItemItemsItemVersionsItemFieldsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_versions_item_restore_version_request_builder.go b/groups/item_sites_item_lists_item_items_item_versions_item_restore_version_request_builder.go index c1904824120..123e6f2c200 100644 --- a/groups/item_sites_item_lists_item_items_item_versions_item_restore_version_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_versions_item_restore_version_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemSitesItemListsItemItemsItemVersionsItemRestoreVersionRequestBuilder } 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 *ItemSitesItemListsItemItemsItemVersionsItemRestoreVersionRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemVersionsItemRestoreVersionRequestBuilder) { + return NewItemSitesItemListsItemItemsItemVersionsItemRestoreVersionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_versions_list_item_version_item_request_builder.go b/groups/item_sites_item_lists_item_items_item_versions_list_item_version_item_request_builder.go index 4f48b890c84..beb9f1387f5 100644 --- a/groups/item_sites_item_lists_item_items_item_versions_list_item_version_item_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_versions_list_item_version_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemSitesItemListsItemItemsItemVersionsListItemVersionItemRequestBuilde } 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 *ItemSitesItemListsItemItemsItemVersionsListItemVersionItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemVersionsListItemVersionItemRequestBuilder) { + return NewItemSitesItemListsItemItemsItemVersionsListItemVersionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_item_versions_request_builder.go b/groups/item_sites_item_lists_item_items_item_versions_request_builder.go index 5e35fe394f2..7e61e936607 100644 --- a/groups/item_sites_item_lists_item_items_item_versions_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_versions_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemListsItemItemsItemVersionsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByListItemVersionIdString provides operations to manage the versions property of the microsoft.graph.listItem entity. -func (m *ItemSitesItemListsItemItemsItemVersionsRequestBuilder) ByListItemVersionIdString(listItemVersionId string)(*ItemSitesItemListsItemItemsItemVersionsListItemVersionItemRequestBuilder) { +// ByListItemVersionId provides operations to manage the versions property of the microsoft.graph.listItem entity. +func (m *ItemSitesItemListsItemItemsItemVersionsRequestBuilder) ByListItemVersionId(listItemVersionId string)(*ItemSitesItemListsItemItemsItemVersionsListItemVersionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemListsItemItemsItemVersionsRequestBuilder) ToPostRequestInf } 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 *ItemSitesItemListsItemItemsItemVersionsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsItemVersionsRequestBuilder) { + return NewItemSitesItemListsItemItemsItemVersionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_list_item_item_request_builder.go b/groups/item_sites_item_lists_item_items_list_item_item_request_builder.go index 958105c6515..7782a3e7252 100644 --- a/groups/item_sites_item_lists_item_items_list_item_item_request_builder.go +++ b/groups/item_sites_item_lists_item_items_list_item_item_request_builder.go @@ -199,3 +199,7 @@ func (m *ItemSitesItemListsItemItemsListItemItemRequestBuilder) ToPatchRequestIn func (m *ItemSitesItemListsItemItemsListItemItemRequestBuilder) Versions()(*ItemSitesItemListsItemItemsItemVersionsRequestBuilder) { return NewItemSitesItemListsItemItemsItemVersionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSitesItemListsItemItemsListItemItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsListItemItemRequestBuilder) { + return NewItemSitesItemListsItemItemsListItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_items_request_builder.go b/groups/item_sites_item_lists_item_items_request_builder.go index 04fbc17ce82..2735533e3cc 100644 --- a/groups/item_sites_item_lists_item_items_request_builder.go +++ b/groups/item_sites_item_lists_item_items_request_builder.go @@ -44,8 +44,8 @@ type ItemSitesItemListsItemItemsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByListItemIdString provides operations to manage the items property of the microsoft.graph.list entity. -func (m *ItemSitesItemListsItemItemsRequestBuilder) ByListItemIdString(listItemId string)(*ItemSitesItemListsItemItemsListItemItemRequestBuilder) { +// ByListItemId provides operations to manage the items property of the microsoft.graph.list entity. +func (m *ItemSitesItemListsItemItemsRequestBuilder) ByListItemId(listItemId string)(*ItemSitesItemListsItemItemsListItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,7 @@ func (m *ItemSitesItemListsItemItemsRequestBuilder) 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 *ItemSitesItemListsItemItemsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemItemsRequestBuilder) { + return NewItemSitesItemListsItemItemsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_last_modified_by_user_mailbox_settings_request_builder.go b/groups/item_sites_item_lists_item_last_modified_by_user_mailbox_settings_request_builder.go index cfe883aad30..f4690bcf229 100644 --- a/groups/item_sites_item_lists_item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/groups/item_sites_item_lists_item_last_modified_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemSitesItemListsItemLastModifiedByUserMailboxSettingsRequestBuilder) } 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 *ItemSitesItemListsItemLastModifiedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewItemSitesItemListsItemLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_last_modified_by_user_request_builder.go b/groups/item_sites_item_lists_item_last_modified_by_user_request_builder.go index 5a7b431b05b..b1812b9f128 100644 --- a/groups/item_sites_item_lists_item_last_modified_by_user_request_builder.go +++ b/groups/item_sites_item_lists_item_last_modified_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemSitesItemListsItemLastModifiedByUserRequestBuilder) ToGetRequestInf } 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 *ItemSitesItemListsItemLastModifiedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemLastModifiedByUserRequestBuilder) { + return NewItemSitesItemListsItemLastModifiedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_operations_count_request_builder.go b/groups/item_sites_item_lists_item_operations_count_request_builder.go index 69ce3ce2fa7..29c3c18b6f1 100644 --- a/groups/item_sites_item_lists_item_operations_count_request_builder.go +++ b/groups/item_sites_item_lists_item_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemListsItemOperationsCountRequestBuilder) ToGetRequestInform } 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 *ItemSitesItemListsItemOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemOperationsCountRequestBuilder) { + return NewItemSitesItemListsItemOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_operations_request_builder.go b/groups/item_sites_item_lists_item_operations_request_builder.go index bb1585946bb..8d094b315a9 100644 --- a/groups/item_sites_item_lists_item_operations_request_builder.go +++ b/groups/item_sites_item_lists_item_operations_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemListsItemOperationsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRichLongRunningOperationIdString provides operations to manage the operations property of the microsoft.graph.list entity. -func (m *ItemSitesItemListsItemOperationsRequestBuilder) ByRichLongRunningOperationIdString(richLongRunningOperationId string)(*ItemSitesItemListsItemOperationsRichLongRunningOperationItemRequestBuilder) { +// ByRichLongRunningOperationId provides operations to manage the operations property of the microsoft.graph.list entity. +func (m *ItemSitesItemListsItemOperationsRequestBuilder) ByRichLongRunningOperationId(richLongRunningOperationId string)(*ItemSitesItemListsItemOperationsRichLongRunningOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemListsItemOperationsRequestBuilder) ToPostRequestInformatio } 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 *ItemSitesItemListsItemOperationsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemOperationsRequestBuilder) { + return NewItemSitesItemListsItemOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_operations_rich_long_running_operation_item_request_builder.go b/groups/item_sites_item_lists_item_operations_rich_long_running_operation_item_request_builder.go index 5cfd0b8a21c..98a58fe0246 100644 --- a/groups/item_sites_item_lists_item_operations_rich_long_running_operation_item_request_builder.go +++ b/groups/item_sites_item_lists_item_operations_rich_long_running_operation_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemSitesItemListsItemOperationsRichLongRunningOperationItemRequestBuil } 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 *ItemSitesItemListsItemOperationsRichLongRunningOperationItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemOperationsRichLongRunningOperationItemRequestBuilder) { + return NewItemSitesItemListsItemOperationsRichLongRunningOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_subscriptions_count_request_builder.go b/groups/item_sites_item_lists_item_subscriptions_count_request_builder.go index 8afe1484952..cfdff16627c 100644 --- a/groups/item_sites_item_lists_item_subscriptions_count_request_builder.go +++ b/groups/item_sites_item_lists_item_subscriptions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemListsItemSubscriptionsCountRequestBuilder) ToGetRequestInf } 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 *ItemSitesItemListsItemSubscriptionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemSubscriptionsCountRequestBuilder) { + return NewItemSitesItemListsItemSubscriptionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_subscriptions_item_reauthorize_request_builder.go b/groups/item_sites_item_lists_item_subscriptions_item_reauthorize_request_builder.go index f8e2e5a406e..1f86eb5ec0f 100644 --- a/groups/item_sites_item_lists_item_subscriptions_item_reauthorize_request_builder.go +++ b/groups/item_sites_item_lists_item_subscriptions_item_reauthorize_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemSitesItemListsItemSubscriptionsItemReauthorizeRequestBuilder) ToPos } 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 *ItemSitesItemListsItemSubscriptionsItemReauthorizeRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemSubscriptionsItemReauthorizeRequestBuilder) { + return NewItemSitesItemListsItemSubscriptionsItemReauthorizeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_subscriptions_request_builder.go b/groups/item_sites_item_lists_item_subscriptions_request_builder.go index e2b77ed7798..51705a80e89 100644 --- a/groups/item_sites_item_lists_item_subscriptions_request_builder.go +++ b/groups/item_sites_item_lists_item_subscriptions_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemListsItemSubscriptionsRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySubscriptionIdString provides operations to manage the subscriptions property of the microsoft.graph.list entity. -func (m *ItemSitesItemListsItemSubscriptionsRequestBuilder) BySubscriptionIdString(subscriptionId string)(*ItemSitesItemListsItemSubscriptionsSubscriptionItemRequestBuilder) { +// BySubscriptionId provides operations to manage the subscriptions property of the microsoft.graph.list entity. +func (m *ItemSitesItemListsItemSubscriptionsRequestBuilder) BySubscriptionId(subscriptionId string)(*ItemSitesItemListsItemSubscriptionsSubscriptionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemListsItemSubscriptionsRequestBuilder) ToPostRequestInforma } 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 *ItemSitesItemListsItemSubscriptionsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemSubscriptionsRequestBuilder) { + return NewItemSitesItemListsItemSubscriptionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_item_subscriptions_subscription_item_request_builder.go b/groups/item_sites_item_lists_item_subscriptions_subscription_item_request_builder.go index 3bcaa9c7590..67871fefc18 100644 --- a/groups/item_sites_item_lists_item_subscriptions_subscription_item_request_builder.go +++ b/groups/item_sites_item_lists_item_subscriptions_subscription_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemSitesItemListsItemSubscriptionsSubscriptionItemRequestBuilder) ToPa } 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 *ItemSitesItemListsItemSubscriptionsSubscriptionItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsItemSubscriptionsSubscriptionItemRequestBuilder) { + return NewItemSitesItemListsItemSubscriptionsSubscriptionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_list_item_request_builder.go b/groups/item_sites_item_lists_list_item_request_builder.go index 4a9ceb23c16..6a9ab3696ed 100644 --- a/groups/item_sites_item_lists_list_item_request_builder.go +++ b/groups/item_sites_item_lists_list_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemListsListItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemListsListItemRequestBuilderGetQueryParameters return the metadata for a [list][]. +// ItemSitesItemListsListItemRequestBuilderGetQueryParameters get the list of richLongRunningOperations associated with a list. type ItemSitesItemListsListItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -90,10 +90,10 @@ func (m *ItemSitesItemListsListItemRequestBuilder) Delete(ctx context.Context, r func (m *ItemSitesItemListsListItemRequestBuilder) Drive()(*ItemSitesItemListsItemDriveRequestBuilder) { return NewItemSitesItemListsItemDriveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get return the metadata for a [list][]. +// Get get the list of richLongRunningOperations associated with a list. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/list-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-1.0 func (m *ItemSitesItemListsListItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsListItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -159,7 +159,7 @@ func (m *ItemSitesItemListsListItemRequestBuilder) ToDeleteRequestInformation(ct } return requestInfo, nil } -// ToGetRequestInformation return the metadata for a [list][]. +// ToGetRequestInformation get the list of richLongRunningOperations associated with a list. func (m *ItemSitesItemListsListItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsListItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -192,3 +192,7 @@ func (m *ItemSitesItemListsListItemRequestBuilder) ToPatchRequestInformation(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 *ItemSitesItemListsListItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsListItemRequestBuilder) { + return NewItemSitesItemListsListItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_lists_request_builder.go b/groups/item_sites_item_lists_request_builder.go index 78d17ddc59b..84d648881b8 100644 --- a/groups/item_sites_item_lists_request_builder.go +++ b/groups/item_sites_item_lists_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemListsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByListIdString provides operations to manage the lists property of the microsoft.graph.site entity. -func (m *ItemSitesItemListsRequestBuilder) ByListIdString(listId string)(*ItemSitesItemListsListItemRequestBuilder) { +// ByListId provides operations to manage the lists property of the microsoft.graph.site entity. +func (m *ItemSitesItemListsRequestBuilder) ByListId(listId string)(*ItemSitesItemListsListItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemSitesItemListsRequestBuilder) 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 *ItemSitesItemListsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemListsRequestBuilder) { + return NewItemSitesItemListsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_count_request_builder.go b/groups/item_sites_item_onenote_notebooks_count_request_builder.go index 2ec94670ab2..6792f637b2f 100644 --- a/groups/item_sites_item_onenote_notebooks_count_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemOnenoteNotebooksCountRequestBuilder) ToGetRequestInformati } 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 *ItemSitesItemOnenoteNotebooksCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksCountRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_get_notebook_from_web_url_request_builder.go b/groups/item_sites_item_onenote_notebooks_get_notebook_from_web_url_request_builder.go index 862ed02013a..6ef6bfa3877 100644 --- a/groups/item_sites_item_onenote_notebooks_get_notebook_from_web_url_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_get_notebook_from_web_url_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder) ToPos } 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 *ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go b/groups/item_sites_item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go index 8c7b2da471d..b192741d441 100644 --- a/groups/item_sites_item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNoteb } 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 *ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_copy_notebook_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_copy_notebook_request_builder.go index 4f3116184a4..fba98511208 100644 --- a/groups/item_sites_item_onenote_notebooks_item_copy_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_copy_notebook_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookRequestBuilder) ToPostRequ } 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 *ItemSitesItemOnenoteNotebooksItemCopyNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemCopyNotebookRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemCopyNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_count_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_count_request_builder.go index 04c6045ff1c..ff1c0059602 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_count_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsCountRequestBuilder) ToGe } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsCountRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go index 3385f115490..252467d7ff1 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemParentNotebookRequest } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemParentNotebookRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go index 2a331467729..b4ee0047f07 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemParentSectionGroupReq } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemParentSectionGroupRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_count_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_count_request_builder.go index d87ced3fcec..0de50dc2cfb 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_count_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountReq } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go index 91d93433c8f..a6b52a616e6 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go @@ -39,8 +39,8 @@ type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuild // Request query parameters QueryParameters *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters } -// BySectionGroupId1String provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. -func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) BySectionGroupId1String(sectionGroupId1 string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { +// BySectionGroupId1 provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. +func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) BySectionGroupId1(sectionGroupId1 string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestB } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go index f0e4eb17157..df0beb04731 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionG } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_count_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_count_request_builder.go index d2b20a13337..f0b14e46ce2 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_count_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestB } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go index 60d6f059159..f5d4bd814cb 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNot } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go index d48e9ed6b5d..39bc8b0c764 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSec } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_count_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_count_request_builder.go index a9f1fedca3b..0f3ee39d609 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_count_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesCoun } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesCountRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go index 90ae8e28ff7..bf5d1658df0 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItem } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index a829454edff..9a32976e984 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItem } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go index 5e8e1d92235..06ecb0e61d0 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItem } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go index 6800ed318ac..de53118f694 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItem } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go index 8746d5d5bc4..25031d16eb3 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItem } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go index c23096df24c..d67b56035f1 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItem } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go index 04896f036cb..8cfbc601d85 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go @@ -177,3 +177,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnen } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go index cdde7a14fa9..5da4a29f9ba 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenotePageIdString provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. -func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilder) ByOnenotePageIdString(onenotePageId string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { +// ByOnenotePageId provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. +func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilder) ByOnenotePageId(onenotePageId string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequ } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go index 803ceba036a..9e5950f08e1 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentNot } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentNotebookRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go index 1739b288e58..a553dd7b1c6 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentSec } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go index 5eed7d0f591..379fb94e7b6 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectio } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_request_builder.go index 05c2e66ce9d..37e7d9b632f 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderPos // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteSectionIdString provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. -func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ByOnenoteSectionIdString(onenoteSectionId string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { +// ByOnenoteSectionId provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. +func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ByOnenoteSectionId(onenoteSectionId string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilde } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_request_builder.go index 9cb3f6f9341..f23c1a64089 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilderPostRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySectionGroupIdString provides operations to manage the sectionGroups property of the microsoft.graph.notebook entity. -func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilder) BySectionGroupIdString(sectionGroupId string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) { +// BySectionGroupId provides operations to manage the sectionGroups property of the microsoft.graph.notebook entity. +func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilder) BySectionGroupId(sectionGroupId string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToPostReq } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go index a23213882c2..c3c1e93afbd 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go @@ -169,3 +169,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBu } 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_count_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_count_request_builder.go index 712c6451ec5..0cb3d409ee9 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_count_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsCountRequestBuilder) ToGetRequ } 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 *ItemSitesItemOnenoteNotebooksItemSectionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionsCountRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go index 67f41aad41f..e5acddc4855 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuild } 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 *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go index 53bcd2fc00c..494074f9717 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestB } 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 *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_count_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_count_request_builder.go index 41be8490c7c..f0f7bbd954e 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_count_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesCountRequestBuilder) } 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 *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionsItemPagesCountRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionsItemPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go index 3c7f67d3597..efe13fe5429 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBui } 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 *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go index 035d1fb85d2..42322b89574 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequ } 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 *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go index 75876b28edb..d6da16c296b 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchConte } 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 *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go index 9f7a4a30eca..60bd1d20b95 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemParentNotebookReq } 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 *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemParentNotebookRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go index 23211ef422f..4583b2f3126 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemParentSectionRequ } 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 *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemParentSectionRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemParentSectionRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemParentSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go index 422dd7b38fa..a9de44be9bc 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemPreviewRequestBui } 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 *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemPreviewRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemPreviewRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemPreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go index a18f6ad6590..f76b4ed871c 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go @@ -177,3 +177,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemReques } 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 *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_request_builder.go index d4affb43179..f8e721d7e30 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemOnenoteNotebooksItemSectionsItemPagesRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenotePageIdString provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. -func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) ByOnenotePageIdString(onenotePageId string)(*ItemSitesItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) { +// ByOnenotePageId provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. +func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) ByOnenotePageId(onenotePageId string)(*ItemSitesItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) ToPos } 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 *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go index 1c16dcf28f3..8996ee257f1 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemParentNotebookRequestBuild } 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 *ItemSitesItemOnenoteNotebooksItemSectionsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionsItemParentNotebookRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go index 0fe3e25e201..b0b986b7f16 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemParentSectionGroupRequestB } 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 *ItemSitesItemOnenoteNotebooksItemSectionsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionsItemParentSectionGroupRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go index 649213b5579..c755a1288c1 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuild } 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 *ItemSitesItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_request_builder.go index 8f4a762416c..7b31b837d34 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteSectionIdString provides operations to manage the sections property of the microsoft.graph.notebook entity. -func (m *ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilder) ByOnenoteSectionIdString(onenoteSectionId string)(*ItemSitesItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) { +// ByOnenoteSectionId provides operations to manage the sections property of the microsoft.graph.notebook entity. +func (m *ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilder) ByOnenoteSectionId(onenoteSectionId string)(*ItemSitesItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilder) ToPostRequestI } 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 *ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksItemSectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_notebook_item_request_builder.go b/groups/item_sites_item_onenote_notebooks_notebook_item_request_builder.go index 9be73ef9ff0..1f192839d32 100644 --- a/groups/item_sites_item_onenote_notebooks_notebook_item_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_notebook_item_request_builder.go @@ -168,3 +168,7 @@ func (m *ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilder) ToPatchRequest } 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 *ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksNotebookItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_notebooks_request_builder.go b/groups/item_sites_item_onenote_notebooks_request_builder.go index 20951f7d422..c61cf15e0a0 100644 --- a/groups/item_sites_item_onenote_notebooks_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemOnenoteNotebooksRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByNotebookIdString provides operations to manage the notebooks property of the microsoft.graph.onenote entity. -func (m *ItemSitesItemOnenoteNotebooksRequestBuilder) ByNotebookIdString(notebookId string)(*ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilder) { +// ByNotebookId provides operations to manage the notebooks property of the microsoft.graph.onenote entity. +func (m *ItemSitesItemOnenoteNotebooksRequestBuilder) ByNotebookId(notebookId string)(*ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -159,3 +159,7 @@ func (m *ItemSitesItemOnenoteNotebooksRequestBuilder) ToPostRequestInformation(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 *ItemSitesItemOnenoteNotebooksRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteNotebooksRequestBuilder) { + return NewItemSitesItemOnenoteNotebooksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_operations_count_request_builder.go b/groups/item_sites_item_onenote_operations_count_request_builder.go index 5ee1e0e9f39..675a7288a0d 100644 --- a/groups/item_sites_item_onenote_operations_count_request_builder.go +++ b/groups/item_sites_item_onenote_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemOnenoteOperationsCountRequestBuilder) ToGetRequestInformat } 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 *ItemSitesItemOnenoteOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteOperationsCountRequestBuilder) { + return NewItemSitesItemOnenoteOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_operations_onenote_operation_item_request_builder.go b/groups/item_sites_item_onenote_operations_onenote_operation_item_request_builder.go index 222354a7aa9..8fc3cf49c19 100644 --- a/groups/item_sites_item_onenote_operations_onenote_operation_item_request_builder.go +++ b/groups/item_sites_item_onenote_operations_onenote_operation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilderDeleteReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. type ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilder) Delet } return nil } -// Get get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// Get get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/onenoteoperation-get?view=graph-rest-1.0 @@ -123,7 +123,7 @@ func (m *ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToDel } return requestInfo, nil } -// ToGetRequestInformation get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ToGetRequestInformation get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. func (m *ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -156,3 +156,7 @@ func (m *ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilder) 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 *ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilder) { + return NewItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_operations_request_builder.go b/groups/item_sites_item_onenote_operations_request_builder.go index 92cfce694d2..efdf29366cc 100644 --- a/groups/item_sites_item_onenote_operations_request_builder.go +++ b/groups/item_sites_item_onenote_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemOnenoteOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemOnenoteOperationsRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ItemSitesItemOnenoteOperationsRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. type ItemSitesItemOnenoteOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type ItemSitesItemOnenoteOperationsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteOperationIdString provides operations to manage the operations property of the microsoft.graph.onenote entity. -func (m *ItemSitesItemOnenoteOperationsRequestBuilder) ByOnenoteOperationIdString(onenoteOperationId string)(*ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilder) { +// ByOnenoteOperationId provides operations to manage the operations property of the microsoft.graph.onenote entity. +func (m *ItemSitesItemOnenoteOperationsRequestBuilder) ByOnenoteOperationId(onenoteOperationId string)(*ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,7 +74,7 @@ func NewItemSitesItemOnenoteOperationsRequestBuilder(rawUrl string, requestAdapt func (m *ItemSitesItemOnenoteOperationsRequestBuilder) Count()(*ItemSitesItemOnenoteOperationsCountRequestBuilder) { return NewItemSitesItemOnenoteOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// Get get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. func (m *ItemSitesItemOnenoteOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +112,7 @@ func (m *ItemSitesItemOnenoteOperationsRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable), nil } -// ToGetRequestInformation get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ToGetRequestInformation get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. func (m *ItemSitesItemOnenoteOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -145,3 +145,7 @@ func (m *ItemSitesItemOnenoteOperationsRequestBuilder) 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 *ItemSitesItemOnenoteOperationsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteOperationsRequestBuilder) { + return NewItemSitesItemOnenoteOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_pages_count_request_builder.go b/groups/item_sites_item_onenote_pages_count_request_builder.go index 32a7702cba9..269f3512da9 100644 --- a/groups/item_sites_item_onenote_pages_count_request_builder.go +++ b/groups/item_sites_item_onenote_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemOnenotePagesCountRequestBuilder) ToGetRequestInformation(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 *ItemSitesItemOnenotePagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenotePagesCountRequestBuilder) { + return NewItemSitesItemOnenotePagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_pages_item_content_request_builder.go b/groups/item_sites_item_onenote_pages_item_content_request_builder.go index 28d3d1a4ef4..51c675ea13b 100644 --- a/groups/item_sites_item_onenote_pages_item_content_request_builder.go +++ b/groups/item_sites_item_onenote_pages_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemSitesItemOnenotePagesItemContentRequestBuilder) ToPutRequestInforma } 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 *ItemSitesItemOnenotePagesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenotePagesItemContentRequestBuilder) { + return NewItemSitesItemOnenotePagesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_pages_item_copy_to_section_request_builder.go b/groups/item_sites_item_onenote_pages_item_copy_to_section_request_builder.go index 4087f07d39e..550f8533132 100644 --- a/groups/item_sites_item_onenote_pages_item_copy_to_section_request_builder.go +++ b/groups/item_sites_item_onenote_pages_item_copy_to_section_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSitesItemOnenotePagesItemCopyToSectionRequestBuilder) ToPostRequest } 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 *ItemSitesItemOnenotePagesItemCopyToSectionRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenotePagesItemCopyToSectionRequestBuilder) { + return NewItemSitesItemOnenotePagesItemCopyToSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_pages_item_onenote_patch_content_request_builder.go b/groups/item_sites_item_onenote_pages_item_onenote_patch_content_request_builder.go index 389b1576fb9..f7a14da3ca0 100644 --- a/groups/item_sites_item_onenote_pages_item_onenote_patch_content_request_builder.go +++ b/groups/item_sites_item_onenote_pages_item_onenote_patch_content_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemSitesItemOnenotePagesItemOnenotePatchContentRequestBuilder) ToPostR } 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 *ItemSitesItemOnenotePagesItemOnenotePatchContentRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenotePagesItemOnenotePatchContentRequestBuilder) { + return NewItemSitesItemOnenotePagesItemOnenotePatchContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_pages_item_parent_notebook_request_builder.go b/groups/item_sites_item_onenote_pages_item_parent_notebook_request_builder.go index b912ee4a235..e8d829ca324 100644 --- a/groups/item_sites_item_onenote_pages_item_parent_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_pages_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenotePagesItemParentNotebookRequestBuilder) ToGetRequest } 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 *ItemSitesItemOnenotePagesItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenotePagesItemParentNotebookRequestBuilder) { + return NewItemSitesItemOnenotePagesItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_pages_item_parent_section_request_builder.go b/groups/item_sites_item_onenote_pages_item_parent_section_request_builder.go index c61a75622ab..33bf1e4f1d5 100644 --- a/groups/item_sites_item_onenote_pages_item_parent_section_request_builder.go +++ b/groups/item_sites_item_onenote_pages_item_parent_section_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenotePagesItemParentSectionRequestBuilder) ToGetRequestI } 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 *ItemSitesItemOnenotePagesItemParentSectionRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenotePagesItemParentSectionRequestBuilder) { + return NewItemSitesItemOnenotePagesItemParentSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_pages_item_preview_request_builder.go b/groups/item_sites_item_onenote_pages_item_preview_request_builder.go index 2bc6533c71c..5390e6c0310 100644 --- a/groups/item_sites_item_onenote_pages_item_preview_request_builder.go +++ b/groups/item_sites_item_onenote_pages_item_preview_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemSitesItemOnenotePagesItemPreviewRequestBuilder) ToGetRequestInforma } 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 *ItemSitesItemOnenotePagesItemPreviewRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenotePagesItemPreviewRequestBuilder) { + return NewItemSitesItemOnenotePagesItemPreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_pages_onenote_page_item_request_builder.go b/groups/item_sites_item_onenote_pages_onenote_page_item_request_builder.go index 4f0cf6b4ce0..7d1cef10a4a 100644 --- a/groups/item_sites_item_onenote_pages_onenote_page_item_request_builder.go +++ b/groups/item_sites_item_onenote_pages_onenote_page_item_request_builder.go @@ -180,3 +180,7 @@ func (m *ItemSitesItemOnenotePagesOnenotePageItemRequestBuilder) ToPatchRequestI } 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 *ItemSitesItemOnenotePagesOnenotePageItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenotePagesOnenotePageItemRequestBuilder) { + return NewItemSitesItemOnenotePagesOnenotePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_pages_request_builder.go b/groups/item_sites_item_onenote_pages_request_builder.go index 84b98550faf..087b2db43ce 100644 --- a/groups/item_sites_item_onenote_pages_request_builder.go +++ b/groups/item_sites_item_onenote_pages_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemOnenotePagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenotePageIdString provides operations to manage the pages property of the microsoft.graph.onenote entity. -func (m *ItemSitesItemOnenotePagesRequestBuilder) ByOnenotePageIdString(onenotePageId string)(*ItemSitesItemOnenotePagesOnenotePageItemRequestBuilder) { +// ByOnenotePageId provides operations to manage the pages property of the microsoft.graph.onenote entity. +func (m *ItemSitesItemOnenotePagesRequestBuilder) ByOnenotePageId(onenotePageId string)(*ItemSitesItemOnenotePagesOnenotePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemOnenotePagesRequestBuilder) ToPostRequestInformation(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 *ItemSitesItemOnenotePagesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenotePagesRequestBuilder) { + return NewItemSitesItemOnenotePagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_request_builder.go b/groups/item_sites_item_onenote_request_builder.go index 4e017e36964..f98ee9854e3 100644 --- a/groups/item_sites_item_onenote_request_builder.go +++ b/groups/item_sites_item_onenote_request_builder.go @@ -177,3 +177,7 @@ func (m *ItemSitesItemOnenoteRequestBuilder) ToPatchRequestInformation(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 *ItemSitesItemOnenoteRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteRequestBuilder) { + return NewItemSitesItemOnenoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_resources_count_request_builder.go b/groups/item_sites_item_onenote_resources_count_request_builder.go index 23e791a3ed1..4ef3dbbee41 100644 --- a/groups/item_sites_item_onenote_resources_count_request_builder.go +++ b/groups/item_sites_item_onenote_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemOnenoteResourcesCountRequestBuilder) ToGetRequestInformati } 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 *ItemSitesItemOnenoteResourcesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteResourcesCountRequestBuilder) { + return NewItemSitesItemOnenoteResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_resources_item_content_request_builder.go b/groups/item_sites_item_onenote_resources_item_content_request_builder.go index 1e5e589bac6..e0072ec5900 100644 --- a/groups/item_sites_item_onenote_resources_item_content_request_builder.go +++ b/groups/item_sites_item_onenote_resources_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemSitesItemOnenoteResourcesItemContentRequestBuilder) ToPutRequestInf } 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 *ItemSitesItemOnenoteResourcesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteResourcesItemContentRequestBuilder) { + return NewItemSitesItemOnenoteResourcesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_resources_onenote_resource_item_request_builder.go b/groups/item_sites_item_onenote_resources_onenote_resource_item_request_builder.go index 24c8aaa4136..ace9fda6a4b 100644 --- a/groups/item_sites_item_onenote_resources_onenote_resource_item_request_builder.go +++ b/groups/item_sites_item_onenote_resources_onenote_resource_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemSitesItemOnenoteResourcesOnenoteResourceItemRequestBuilder) ToPatch } 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 *ItemSitesItemOnenoteResourcesOnenoteResourceItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteResourcesOnenoteResourceItemRequestBuilder) { + return NewItemSitesItemOnenoteResourcesOnenoteResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_resources_request_builder.go b/groups/item_sites_item_onenote_resources_request_builder.go index 698839c8c5f..cb48ebff46a 100644 --- a/groups/item_sites_item_onenote_resources_request_builder.go +++ b/groups/item_sites_item_onenote_resources_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemOnenoteResourcesRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteResourceIdString provides operations to manage the resources property of the microsoft.graph.onenote entity. -func (m *ItemSitesItemOnenoteResourcesRequestBuilder) ByOnenoteResourceIdString(onenoteResourceId string)(*ItemSitesItemOnenoteResourcesOnenoteResourceItemRequestBuilder) { +// ByOnenoteResourceId provides operations to manage the resources property of the microsoft.graph.onenote entity. +func (m *ItemSitesItemOnenoteResourcesRequestBuilder) ByOnenoteResourceId(onenoteResourceId string)(*ItemSitesItemOnenoteResourcesOnenoteResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemOnenoteResourcesRequestBuilder) ToPostRequestInformation(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 *ItemSitesItemOnenoteResourcesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteResourcesRequestBuilder) { + return NewItemSitesItemOnenoteResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_count_request_builder.go b/groups/item_sites_item_onenote_section_groups_count_request_builder.go index ab464581cd3..10741163a44 100644 --- a/groups/item_sites_item_onenote_section_groups_count_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsCountRequestBuilder) ToGetRequestInfor } 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 *ItemSitesItemOnenoteSectionGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsCountRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_item_parent_notebook_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_parent_notebook_request_builder.go index 0838c3f6829..3ef1c945912 100644 --- a/groups/item_sites_item_onenote_section_groups_item_parent_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemParentNotebookRequestBuilder) ToGe } 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 *ItemSitesItemOnenoteSectionGroupsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsItemParentNotebookRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_item_parent_section_group_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_parent_section_group_request_builder.go index 245ca94b536..573cf32bf4f 100644 --- a/groups/item_sites_item_onenote_section_groups_item_parent_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemParentSectionGroupRequestBuilder) } 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 *ItemSitesItemOnenoteSectionGroupsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsItemParentSectionGroupRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_item_section_groups_count_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_section_groups_count_request_builder.go index fce524cc6ba..a091876c64b 100644 --- a/groups/item_sites_item_onenote_section_groups_item_section_groups_count_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_section_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilder) } 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 *ItemSitesItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_item_section_groups_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_section_groups_request_builder.go index 1b748396573..5b03a688e3f 100644 --- a/groups/item_sites_item_onenote_section_groups_item_section_groups_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_section_groups_request_builder.go @@ -39,8 +39,8 @@ type ItemSitesItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetRequestC // Request query parameters QueryParameters *ItemSitesItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters } -// BySectionGroupId1String provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. -func (m *ItemSitesItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) BySectionGroupId1String(sectionGroupId1 string)(*ItemSitesItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { +// BySectionGroupId1 provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. +func (m *ItemSitesItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) BySectionGroupId1(sectionGroupId1 string)(*ItemSitesItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) ToGet } 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 *ItemSitesItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go index 84c0ccf334a..71b0009bc30 100644 --- a/groups/item_sites_item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemReque } 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 *ItemSitesItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_count_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_count_request_builder.go index cfe2165d71f..77833c71040 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_count_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsCountRequestBuilder) ToGet } 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 *ItemSitesItemOnenoteSectionGroupsItemSectionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsItemSectionsCountRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsItemSectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go index 4be54ec0b02..f4777e76172 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestB } 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 *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go index 986bfaa07f3..af0ebf62190 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequ } 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 *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_count_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_count_request_builder.go index 6f10a7ac01c..c6b96c20779 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_count_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesCountRequestBuild } 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 *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesCountRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go index b2892729182..17964676061 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemContentReques } 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 *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index c48a0dc1872..ef0880b2940 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSection } 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 *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go index 4c4813408cd..6b8db08261a 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchC } 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 *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go index c0dc08fec64..a9d9d130745 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemParentNoteboo } 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 *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go index 2dff87d227f..9e6e890b669 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemParentSection } 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 *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go index 13f4b02233d..8747d394f39 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemPreviewReques } 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 *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go index 744200844f9..b8a04def87c 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go @@ -177,3 +177,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRe } 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 *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_request_builder.go index a8bfde10076..fddeeb81e5e 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilderPostReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenotePageIdString provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. -func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) ByOnenotePageIdString(onenotePageId string)(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { +// ByOnenotePageId provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. +func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) ByOnenotePageId(onenotePageId string)(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) T } 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 *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go index 244b3d287c0..17609339910 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemParentNotebookRequestB } 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 *ItemSitesItemOnenoteSectionGroupsItemSectionsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemParentNotebookRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsItemSectionsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go index 22c802969cc..ae2d32c8e8f 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemParentSectionGroupRequ } 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 *ItemSitesItemOnenoteSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go index c4f75a862e9..9bfcd5faf31 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestB } 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 *ItemSitesItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_request_builder.go index e45403ebaf3..2869bef2cd1 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteSectionIdString provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. -func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilder) ByOnenoteSectionIdString(onenoteSectionId string)(*ItemSitesItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { +// ByOnenoteSectionId provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. +func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilder) ByOnenoteSectionId(onenoteSectionId string)(*ItemSitesItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToPostRequ } 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 *ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_request_builder.go b/groups/item_sites_item_onenote_section_groups_request_builder.go index 3a4a4bbd421..59af26d238f 100644 --- a/groups/item_sites_item_onenote_section_groups_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemOnenoteSectionGroupsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySectionGroupIdString provides operations to manage the sectionGroups property of the microsoft.graph.onenote entity. -func (m *ItemSitesItemOnenoteSectionGroupsRequestBuilder) BySectionGroupIdString(sectionGroupId string)(*ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) { +// BySectionGroupId provides operations to manage the sectionGroups property of the microsoft.graph.onenote entity. +func (m *ItemSitesItemOnenoteSectionGroupsRequestBuilder) BySectionGroupId(sectionGroupId string)(*ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsRequestBuilder) ToPostRequestInformati } 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 *ItemSitesItemOnenoteSectionGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_section_groups_section_group_item_request_builder.go b/groups/item_sites_item_onenote_section_groups_section_group_item_request_builder.go index 84d924f6274..73ffe7d0523 100644 --- a/groups/item_sites_item_onenote_section_groups_section_group_item_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_section_group_item_request_builder.go @@ -172,3 +172,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToPatc } 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 *ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) { + return NewItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_sections_count_request_builder.go b/groups/item_sites_item_onenote_sections_count_request_builder.go index 892123f08dc..7e1d3b35618 100644 --- a/groups/item_sites_item_onenote_sections_count_request_builder.go +++ b/groups/item_sites_item_onenote_sections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemOnenoteSectionsCountRequestBuilder) 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 *ItemSitesItemOnenoteSectionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionsCountRequestBuilder) { + return NewItemSitesItemOnenoteSectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_sections_item_copy_to_notebook_request_builder.go b/groups/item_sites_item_onenote_sections_item_copy_to_notebook_request_builder.go index 3c2548a9436..7813ee58b86 100644 --- a/groups/item_sites_item_onenote_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_copy_to_notebook_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookRequestBuilder) ToPostReq } 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 *ItemSitesItemOnenoteSectionsItemCopyToNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionsItemCopyToNotebookRequestBuilder) { + return NewItemSitesItemOnenoteSectionsItemCopyToNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_sections_item_copy_to_section_group_request_builder.go b/groups/item_sites_item_onenote_sections_item_copy_to_section_group_request_builder.go index e3fe629e24e..aee2ac862a3 100644 --- a/groups/item_sites_item_onenote_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_copy_to_section_group_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder) ToPos } 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 *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder) { + return NewItemSitesItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_sections_item_pages_count_request_builder.go b/groups/item_sites_item_onenote_sections_item_pages_count_request_builder.go index 7810d743e20..195804f6818 100644 --- a/groups/item_sites_item_onenote_sections_item_pages_count_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesCountRequestBuilder) ToGetRequestI } 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 *ItemSitesItemOnenoteSectionsItemPagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionsItemPagesCountRequestBuilder) { + return NewItemSitesItemOnenoteSectionsItemPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_sections_item_pages_item_content_request_builder.go b/groups/item_sites_item_onenote_sections_item_pages_item_content_request_builder.go index 05054c9c6a6..6c3dc8aea60 100644 --- a/groups/item_sites_item_onenote_sections_item_pages_item_content_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_pages_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesItemContentRequestBuilder) ToPutRe } 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 *ItemSitesItemOnenoteSectionsItemPagesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionsItemPagesItemContentRequestBuilder) { + return NewItemSitesItemOnenoteSectionsItemPagesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_sites_item_onenote_sections_item_pages_item_copy_to_section_request_builder.go index 5875cbfdb8e..fd3dc557f65 100644 --- a/groups/item_sites_item_onenote_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_pages_item_copy_to_section_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder) T } 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 *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder) { + return NewItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go b/groups/item_sites_item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go index 36bef87355c..db6af8bfeae 100644 --- a/groups/item_sites_item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentRequestBuil } 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 *ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentRequestBuilder) { + return NewItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_sections_item_pages_item_parent_notebook_request_builder.go b/groups/item_sites_item_onenote_sections_item_pages_item_parent_notebook_request_builder.go index 0b49f5b806d..e29f9aa6ec7 100644 --- a/groups/item_sites_item_onenote_sections_item_pages_item_parent_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_pages_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesItemParentNotebookRequestBuilder) } 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 *ItemSitesItemOnenoteSectionsItemPagesItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionsItemPagesItemParentNotebookRequestBuilder) { + return NewItemSitesItemOnenoteSectionsItemPagesItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_sections_item_pages_item_parent_section_request_builder.go b/groups/item_sites_item_onenote_sections_item_pages_item_parent_section_request_builder.go index 594cb114d9d..21db37912ac 100644 --- a/groups/item_sites_item_onenote_sections_item_pages_item_parent_section_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_pages_item_parent_section_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesItemParentSectionRequestBuilder) T } 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 *ItemSitesItemOnenoteSectionsItemPagesItemParentSectionRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionsItemPagesItemParentSectionRequestBuilder) { + return NewItemSitesItemOnenoteSectionsItemPagesItemParentSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_sections_item_pages_item_preview_request_builder.go b/groups/item_sites_item_onenote_sections_item_pages_item_preview_request_builder.go index 8d79a69e66b..7ec7045a82f 100644 --- a/groups/item_sites_item_onenote_sections_item_pages_item_preview_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_pages_item_preview_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesItemPreviewRequestBuilder) ToGetRe } 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 *ItemSitesItemOnenoteSectionsItemPagesItemPreviewRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionsItemPagesItemPreviewRequestBuilder) { + return NewItemSitesItemOnenoteSectionsItemPagesItemPreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_sections_item_pages_onenote_page_item_request_builder.go b/groups/item_sites_item_onenote_sections_item_pages_onenote_page_item_request_builder.go index e574b8ddf9f..ba011ade159 100644 --- a/groups/item_sites_item_onenote_sections_item_pages_onenote_page_item_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_pages_onenote_page_item_request_builder.go @@ -177,3 +177,7 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) 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 *ItemSitesItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) { + return NewItemSitesItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_sections_item_pages_request_builder.go b/groups/item_sites_item_onenote_sections_item_pages_request_builder.go index fc0078116a2..103a7186bfe 100644 --- a/groups/item_sites_item_onenote_sections_item_pages_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_pages_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemOnenoteSectionsItemPagesRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenotePageIdString provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. -func (m *ItemSitesItemOnenoteSectionsItemPagesRequestBuilder) ByOnenotePageIdString(onenotePageId string)(*ItemSitesItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) { +// ByOnenotePageId provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. +func (m *ItemSitesItemOnenoteSectionsItemPagesRequestBuilder) ByOnenotePageId(onenotePageId string)(*ItemSitesItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesRequestBuilder) ToPostRequestInfor } 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 *ItemSitesItemOnenoteSectionsItemPagesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionsItemPagesRequestBuilder) { + return NewItemSitesItemOnenoteSectionsItemPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_sections_item_parent_notebook_request_builder.go b/groups/item_sites_item_onenote_sections_item_parent_notebook_request_builder.go index b49782804ba..029c091d67d 100644 --- a/groups/item_sites_item_onenote_sections_item_parent_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenoteSectionsItemParentNotebookRequestBuilder) ToGetRequ } 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 *ItemSitesItemOnenoteSectionsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionsItemParentNotebookRequestBuilder) { + return NewItemSitesItemOnenoteSectionsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_sections_item_parent_section_group_request_builder.go b/groups/item_sites_item_onenote_sections_item_parent_section_group_request_builder.go index 6975aaaad43..5a3cc131ad9 100644 --- a/groups/item_sites_item_onenote_sections_item_parent_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemOnenoteSectionsItemParentSectionGroupRequestBuilder) ToGet } 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 *ItemSitesItemOnenoteSectionsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionsItemParentSectionGroupRequestBuilder) { + return NewItemSitesItemOnenoteSectionsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_sections_onenote_section_item_request_builder.go b/groups/item_sites_item_onenote_sections_onenote_section_item_request_builder.go index d5302918784..58c8bbf9502 100644 --- a/groups/item_sites_item_onenote_sections_onenote_section_item_request_builder.go +++ b/groups/item_sites_item_onenote_sections_onenote_section_item_request_builder.go @@ -176,3 +176,7 @@ func (m *ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToPatchRe } 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 *ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilder) { + return NewItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_onenote_sections_request_builder.go b/groups/item_sites_item_onenote_sections_request_builder.go index bbb00df57d5..8dd689c052f 100644 --- a/groups/item_sites_item_onenote_sections_request_builder.go +++ b/groups/item_sites_item_onenote_sections_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemOnenoteSectionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteSectionIdString provides operations to manage the sections property of the microsoft.graph.onenote entity. -func (m *ItemSitesItemOnenoteSectionsRequestBuilder) ByOnenoteSectionIdString(onenoteSectionId string)(*ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilder) { +// ByOnenoteSectionId provides operations to manage the sections property of the microsoft.graph.onenote entity. +func (m *ItemSitesItemOnenoteSectionsRequestBuilder) ByOnenoteSectionId(onenoteSectionId string)(*ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemSitesItemOnenoteSectionsRequestBuilder) 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 *ItemSitesItemOnenoteSectionsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOnenoteSectionsRequestBuilder) { + return NewItemSitesItemOnenoteSectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_operations_count_request_builder.go b/groups/item_sites_item_operations_count_request_builder.go index 332b78c83a8..cc43bc572d2 100644 --- a/groups/item_sites_item_operations_count_request_builder.go +++ b/groups/item_sites_item_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemOperationsCountRequestBuilder) ToGetRequestInformation(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 *ItemSitesItemOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOperationsCountRequestBuilder) { + return NewItemSitesItemOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_operations_request_builder.go b/groups/item_sites_item_operations_request_builder.go index 1b7b470446d..9aa18df60a9 100644 --- a/groups/item_sites_item_operations_request_builder.go +++ b/groups/item_sites_item_operations_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRichLongRunningOperationIdString provides operations to manage the operations property of the microsoft.graph.site entity. -func (m *ItemSitesItemOperationsRequestBuilder) ByRichLongRunningOperationIdString(richLongRunningOperationId string)(*ItemSitesItemOperationsRichLongRunningOperationItemRequestBuilder) { +// ByRichLongRunningOperationId provides operations to manage the operations property of the microsoft.graph.site entity. +func (m *ItemSitesItemOperationsRequestBuilder) ByRichLongRunningOperationId(richLongRunningOperationId string)(*ItemSitesItemOperationsRichLongRunningOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemSitesItemOperationsRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemSitesItemOperationsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOperationsRequestBuilder) { + return NewItemSitesItemOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_operations_rich_long_running_operation_item_request_builder.go b/groups/item_sites_item_operations_rich_long_running_operation_item_request_builder.go index 9fe654eee67..c9e542565ea 100644 --- a/groups/item_sites_item_operations_rich_long_running_operation_item_request_builder.go +++ b/groups/item_sites_item_operations_rich_long_running_operation_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemSitesItemOperationsRichLongRunningOperationItemRequestBuilder) ToPa } 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 *ItemSitesItemOperationsRichLongRunningOperationItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemOperationsRichLongRunningOperationItemRequestBuilder) { + return NewItemSitesItemOperationsRichLongRunningOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_pages_base_site_page_item_request_builder.go b/groups/item_sites_item_pages_base_site_page_item_request_builder.go index ca77096bd70..85896557332 100644 --- a/groups/item_sites_item_pages_base_site_page_item_request_builder.go +++ b/groups/item_sites_item_pages_base_site_page_item_request_builder.go @@ -164,3 +164,7 @@ func (m *ItemSitesItemPagesBaseSitePageItemRequestBuilder) ToPatchRequestInforma } 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 *ItemSitesItemPagesBaseSitePageItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemPagesBaseSitePageItemRequestBuilder) { + return NewItemSitesItemPagesBaseSitePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_pages_count_request_builder.go b/groups/item_sites_item_pages_count_request_builder.go index 60f14b98772..a35b42e1e27 100644 --- a/groups/item_sites_item_pages_count_request_builder.go +++ b/groups/item_sites_item_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemPagesCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemSitesItemPagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemPagesCountRequestBuilder) { + return NewItemSitesItemPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_pages_item_created_by_user_mailbox_settings_request_builder.go b/groups/item_sites_item_pages_item_created_by_user_mailbox_settings_request_builder.go index 5402ceed871..2c69c347de1 100644 --- a/groups/item_sites_item_pages_item_created_by_user_mailbox_settings_request_builder.go +++ b/groups/item_sites_item_pages_item_created_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemSitesItemPagesItemCreatedByUserMailboxSettingsRequestBuilder) 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 *ItemSitesItemPagesItemCreatedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemPagesItemCreatedByUserMailboxSettingsRequestBuilder) { + return NewItemSitesItemPagesItemCreatedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_pages_item_created_by_user_request_builder.go b/groups/item_sites_item_pages_item_created_by_user_request_builder.go index 6324c17cb01..2d2caff417e 100644 --- a/groups/item_sites_item_pages_item_created_by_user_request_builder.go +++ b/groups/item_sites_item_pages_item_created_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemSitesItemPagesItemCreatedByUserRequestBuilder) ToGetRequestInformat } 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 *ItemSitesItemPagesItemCreatedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemPagesItemCreatedByUserRequestBuilder) { + return NewItemSitesItemPagesItemCreatedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_pages_item_last_modified_by_user_mailbox_settings_request_builder.go b/groups/item_sites_item_pages_item_last_modified_by_user_mailbox_settings_request_builder.go index 232bb11c546..d74b9c3b7c3 100644 --- a/groups/item_sites_item_pages_item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/groups/item_sites_item_pages_item_last_modified_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemSitesItemPagesItemLastModifiedByUserMailboxSettingsRequestBuilder) } 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 *ItemSitesItemPagesItemLastModifiedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemPagesItemLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewItemSitesItemPagesItemLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_pages_item_last_modified_by_user_request_builder.go b/groups/item_sites_item_pages_item_last_modified_by_user_request_builder.go index 8d1dbf1ac83..a2e34fda3ea 100644 --- a/groups/item_sites_item_pages_item_last_modified_by_user_request_builder.go +++ b/groups/item_sites_item_pages_item_last_modified_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemSitesItemPagesItemLastModifiedByUserRequestBuilder) ToGetRequestInf } 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 *ItemSitesItemPagesItemLastModifiedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemPagesItemLastModifiedByUserRequestBuilder) { + return NewItemSitesItemPagesItemLastModifiedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_pages_request_builder.go b/groups/item_sites_item_pages_request_builder.go index 4a654eaf516..575f67f89b6 100644 --- a/groups/item_sites_item_pages_request_builder.go +++ b/groups/item_sites_item_pages_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemPagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByBaseSitePageIdString provides operations to manage the pages property of the microsoft.graph.site entity. -func (m *ItemSitesItemPagesRequestBuilder) ByBaseSitePageIdString(baseSitePageId string)(*ItemSitesItemPagesBaseSitePageItemRequestBuilder) { +// ByBaseSitePageId provides operations to manage the pages property of the microsoft.graph.site entity. +func (m *ItemSitesItemPagesRequestBuilder) ByBaseSitePageId(baseSitePageId string)(*ItemSitesItemPagesBaseSitePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemSitesItemPagesRequestBuilder) 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 *ItemSitesItemPagesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemPagesRequestBuilder) { + return NewItemSitesItemPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_permissions_count_request_builder.go b/groups/item_sites_item_permissions_count_request_builder.go index b4bb510b68c..1046b5173b6 100644 --- a/groups/item_sites_item_permissions_count_request_builder.go +++ b/groups/item_sites_item_permissions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemPermissionsCountRequestBuilder) ToGetRequestInformation(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 *ItemSitesItemPermissionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemPermissionsCountRequestBuilder) { + return NewItemSitesItemPermissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_permissions_item_grant_request_builder.go b/groups/item_sites_item_permissions_item_grant_request_builder.go index 47ae7bef717..e0c1e20d1f3 100644 --- a/groups/item_sites_item_permissions_item_grant_request_builder.go +++ b/groups/item_sites_item_permissions_item_grant_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemSitesItemPermissionsItemGrantRequestBuilder) ToPostRequestInformati } 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 *ItemSitesItemPermissionsItemGrantRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemPermissionsItemGrantRequestBuilder) { + return NewItemSitesItemPermissionsItemGrantRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_permissions_item_revoke_grants_request_builder.go b/groups/item_sites_item_permissions_item_revoke_grants_request_builder.go index a7bfdb0e85e..fd789861ba6 100644 --- a/groups/item_sites_item_permissions_item_revoke_grants_request_builder.go +++ b/groups/item_sites_item_permissions_item_revoke_grants_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSitesItemPermissionsItemRevokeGrantsRequestBuilder) ToPostRequestIn } 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 *ItemSitesItemPermissionsItemRevokeGrantsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemPermissionsItemRevokeGrantsRequestBuilder) { + return NewItemSitesItemPermissionsItemRevokeGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_permissions_permission_item_request_builder.go b/groups/item_sites_item_permissions_permission_item_request_builder.go index 72520d03ba2..7ce76e8cabc 100644 --- a/groups/item_sites_item_permissions_permission_item_request_builder.go +++ b/groups/item_sites_item_permissions_permission_item_request_builder.go @@ -167,3 +167,7 @@ func (m *ItemSitesItemPermissionsPermissionItemRequestBuilder) ToPatchRequestInf } 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 *ItemSitesItemPermissionsPermissionItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemPermissionsPermissionItemRequestBuilder) { + return NewItemSitesItemPermissionsPermissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_permissions_request_builder.go b/groups/item_sites_item_permissions_request_builder.go index 254394d5cbd..a27ed21b7a2 100644 --- a/groups/item_sites_item_permissions_request_builder.go +++ b/groups/item_sites_item_permissions_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemPermissionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPermissionIdString provides operations to manage the permissions property of the microsoft.graph.site entity. -func (m *ItemSitesItemPermissionsRequestBuilder) ByPermissionIdString(permissionId string)(*ItemSitesItemPermissionsPermissionItemRequestBuilder) { +// ByPermissionId provides operations to manage the permissions property of the microsoft.graph.site entity. +func (m *ItemSitesItemPermissionsRequestBuilder) ByPermissionId(permissionId string)(*ItemSitesItemPermissionsPermissionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemSitesItemPermissionsRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemSitesItemPermissionsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemPermissionsRequestBuilder) { + return NewItemSitesItemPermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_sites_count_request_builder.go b/groups/item_sites_item_sites_count_request_builder.go index 140a26569c2..862a9fcb96a 100644 --- a/groups/item_sites_item_sites_count_request_builder.go +++ b/groups/item_sites_item_sites_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemSitesCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemSitesItemSitesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemSitesCountRequestBuilder) { + return NewItemSitesItemSitesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_sites_request_builder.go b/groups/item_sites_item_sites_request_builder.go index 3bd5ea0529f..a83fbd388c2 100644 --- a/groups/item_sites_item_sites_request_builder.go +++ b/groups/item_sites_item_sites_request_builder.go @@ -39,8 +39,8 @@ type ItemSitesItemSitesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemSitesItemSitesRequestBuilderGetQueryParameters } -// BySiteId1String provides operations to manage the sites property of the microsoft.graph.site entity. -func (m *ItemSitesItemSitesRequestBuilder) BySiteId1String(siteId1 string)(*ItemSitesItemSitesSiteItemRequestBuilder) { +// BySiteId1 provides operations to manage the sites property of the microsoft.graph.site entity. +func (m *ItemSitesItemSitesRequestBuilder) BySiteId1(siteId1 string)(*ItemSitesItemSitesSiteItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemSitesItemSitesRequestBuilder) 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 *ItemSitesItemSitesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemSitesRequestBuilder) { + return NewItemSitesItemSitesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_sites_site_item_request_builder.go b/groups/item_sites_item_sites_site_item_request_builder.go index 4cd53b28891..500ace02a92 100644 --- a/groups/item_sites_item_sites_site_item_request_builder.go +++ b/groups/item_sites_item_sites_site_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemSitesSiteItemRequestBuilder) ToGetRequestInformation(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 *ItemSitesItemSitesSiteItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemSitesSiteItemRequestBuilder) { + return NewItemSitesItemSitesSiteItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_count_request_builder.go b/groups/item_sites_item_term_store_groups_count_request_builder.go index de6d756e623..2dd96fb5f36 100644 --- a/groups/item_sites_item_term_store_groups_count_request_builder.go +++ b/groups/item_sites_item_term_store_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreGroupsCountRequestBuilder) 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 *ItemSitesItemTermStoreGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsCountRequestBuilder) { + return NewItemSitesItemTermStoreGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_group_item_request_builder.go b/groups/item_sites_item_term_store_groups_group_item_request_builder.go index a4a7fc4ee71..4c78e37a9cf 100644 --- a/groups/item_sites_item_term_store_groups_group_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_group_item_request_builder.go @@ -163,3 +163,7 @@ func (m *ItemSitesItemTermStoreGroupsGroupItemRequestBuilder) 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 *ItemSitesItemTermStoreGroupsGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsGroupItemRequestBuilder) { + return NewItemSitesItemTermStoreGroupsGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_count_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_count_request_builder.go index 236383c5e85..9ec7faa07d2 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_count_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsCountRequestBuilder) ToGetRequestIn } 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 *ItemSitesItemTermStoreGroupsItemSetsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsCountRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_count_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_count_request_builder.go index 3461c3efb9c..5c61ff6c9bf 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_count_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenCountRequestBuilder) To } 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 *ItemSitesItemTermStoreGroupsItemSetsItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenCountRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_count_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_count_request_builder.go index 93f566abe7d..5a9b72d6e81 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_count_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenCountReques } 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 *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenCountRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_count_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_count_request_builder.go index bcad9607f79..e877434eeb4 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_count_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelatio } 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 *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go index ebdeb832606..6981bac5136 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelatio } 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 *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go index eb90953ad0a..f94de95693f 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelatio } 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 *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go index 27be1f0731c..7bcb228e255 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelatio } 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 *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go index cd636d2ca21..e7686753268 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelatio func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) { return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_request_builder.go index 74e5a4417fd..3b6423cca55 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelatio } 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 *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_set_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_set_request_builder.go index 26269d8c6c9..aee582d4632 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemSetRequ } 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 *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemSetRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_request_builder.go index a2227179318..6a8f4211e7a 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenRequestBuilderP // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermId1String provides operations to manage the children property of the microsoft.graph.termStore.term entity. -func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenRequestBuilder) ByTermId1String(termId1 string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenTermItemRequestBuilder) { +// ByTermId1 provides operations to manage the children property of the microsoft.graph.termStore.term entity. +func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenRequestBuilder) ByTermId1(termId1 string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenRequestBuil } 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 *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_term_item_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_term_item_request_builder.go index c10e8cf2f7a..235f74af93d 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_term_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenTermItemReq } 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 *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenTermItemRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_count_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_count_request_builder.go index 9f7c5d39e9e..236e8ef3ec7 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_count_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsCountReque } 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 *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsCountRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_from_term_request_builder.go index 9182e34a9c0..7314dee9fb7 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemFromTe } 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 *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_set_request_builder.go index 664646aae46..addb5f2fded 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemSetReq } 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 *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemSetRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_to_term_request_builder.go index df307f6f369..d15343071e3 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemToTerm } 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 *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_relation_item_request_builder.go index 2e798844503..db8d6a8dc53 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsRelationIt func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemToTermRequestBuilder) { return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_request_builder.go index bda14b664aa..392cf8bbb96 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsRequestBui } 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 *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_set_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_set_request_builder.go index 74bb7171060..a10d0d5f3cb 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemSetRequestBuilder) } 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 *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemSetRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_request_builder.go index 8f18e98acda..2e6fbb1261d 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermIdString provides operations to manage the children property of the microsoft.graph.termStore.set entity. -func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) ByTermIdString(termId string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenTermItemRequestBuilder) { +// ByTermId provides operations to manage the children property of the microsoft.graph.termStore.set entity. +func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) ByTermId(termId string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) ToPostR } 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 *ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_term_item_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_term_item_request_builder.go index f90c21e55a6..b3439e0b26c 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_term_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenTermItemRequestBuilder) } 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 *ItemSitesItemTermStoreGroupsItemSetsItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenTermItemRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_parent_group_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_parent_group_request_builder.go index 24fd7281d25..6a88ca07499 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_parent_group_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_parent_group_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemParentGroupRequestBuilder) ToPa } 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 *ItemSitesItemTermStoreGroupsItemSetsItemParentGroupRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemParentGroupRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemParentGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_relations_count_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_relations_count_request_builder.go index ce2a207dc15..c7b6b3090e2 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_relations_count_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemRelationsCountRequestBuilder) T } 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 *ItemSitesItemTermStoreGroupsItemSetsItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemRelationsCountRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_from_term_request_builder.go index 00ac9a5f037..710a695f547 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemRelationsItemFromTermRequestBui } 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 *ItemSitesItemTermStoreGroupsItemSetsItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemRelationsItemFromTermRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_set_request_builder.go index 6cf7a8306da..45e826b651c 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemRelationsItemSetRequestBuilder) } 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 *ItemSitesItemTermStoreGroupsItemSetsItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemRelationsItemSetRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_to_term_request_builder.go index 7452a404049..c4ac471af08 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemRelationsItemToTermRequestBuild } 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 *ItemSitesItemTermStoreGroupsItemSetsItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemRelationsItemToTermRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_relations_relation_item_request_builder.go index 1241dac12bd..b4c26ef0d08 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemRelationsRelationItemRequestBui func (m *ItemSitesItemTermStoreGroupsItemSetsItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemSitesItemTermStoreGroupsItemSetsItemRelationsItemToTermRequestBuilder) { return NewItemSitesItemTermStoreGroupsItemSetsItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSitesItemTermStoreGroupsItemSetsItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemRelationsRelationItemRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_relations_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_relations_request_builder.go index 356e4cd3214..b5c7e4bbac6 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreGroupsItemSetsItemRelationsRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.set entity. -func (m *ItemSitesItemTermStoreGroupsItemSetsItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemSitesItemTermStoreGroupsItemSetsItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.set entity. +func (m *ItemSitesItemTermStoreGroupsItemSetsItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemSitesItemTermStoreGroupsItemSetsItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemRelationsRequestBuilder) ToPost } 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 *ItemSitesItemTermStoreGroupsItemSetsItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemRelationsRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_count_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_count_request_builder.go index 28caf8a136b..e405bdfebae 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_count_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsCountRequestBuilder) ToGet } 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 *ItemSitesItemTermStoreGroupsItemSetsItemTermsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsCountRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemTermsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_count_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_count_request_builder.go index 58119772afd..3d9b970b171 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_count_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenCountRequestBu } 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 *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenCountRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_count_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_count_request_builder.go index f575a6c7cf2..388add94e16 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_count_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsC } 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 *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsCountRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go index 62deed8b8e6..89c3f866f99 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsI } 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 *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go index 360ad1496ff..c63b5fd53aa 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsI } 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 *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go index 319a43ea98c..7308773e4e4 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsI } 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 *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go index 90077d5abfc..49954d98ef4 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsR func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) { return NewItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_request_builder.go index 0c0d74dd738..40008cdb341 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsR } 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 *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_set_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_set_request_builder.go index f25caca2a52..14bb359f2f4 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemSetRequest } 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 *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemSetRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_request_builder.go index 2cffa69d3d3..408bf1e2b3f 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenRequestBuilderPost // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermId1String provides operations to manage the children property of the microsoft.graph.termStore.term entity. -func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenRequestBuilder) ByTermId1String(termId1 string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder) { +// ByTermId1 provides operations to manage the children property of the microsoft.graph.termStore.term entity. +func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenRequestBuilder) ByTermId1(termId1 string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenRequestBuilder } 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 *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_term_item_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_term_item_request_builder.go index 0bed33c5d98..f3423550520 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_term_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenTermItemReques } 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 *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_count_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_count_request_builder.go index a1dee95bbf0..e069de6bdef 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_count_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsCountRequestB } 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 *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsCountRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go index 99c14257413..b7aa0fec065 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsItemFromTermR } 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 *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsItemFromTermRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_set_request_builder.go index 7bee4e9a32b..957f8d52564 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsItemSetReques } 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 *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsItemSetRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go index 6198b14ed15..d02e5bdc9cb 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsItemToTermReq } 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 *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsItemToTermRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_relation_item_request_builder.go index 57571121e6f..e654fbb0289 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsRelationItemR func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsItemToTermRequestBuilder) { return NewItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsRelationItemRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_request_builder.go index db7a5f339f8..7bb42f120dd 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsRequestBuilderPos // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsRequestBuilde } 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 *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_set_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_set_request_builder.go index c3a71d97f6f..6f7c81dae7c 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemSetRequestBuilder) ToG } 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 *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemSetRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemTermsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_request_builder.go index 71c13c83edf..99a05dc3509 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreGroupsItemSetsItemTermsRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermIdString provides operations to manage the terms property of the microsoft.graph.termStore.set entity. -func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsRequestBuilder) ByTermIdString(termId string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) { +// ByTermId provides operations to manage the terms property of the microsoft.graph.termStore.set entity. +func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsRequestBuilder) ByTermId(termId string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsRequestBuilder) ToPostRequ } 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 *ItemSitesItemTermStoreGroupsItemSetsItemTermsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemTermsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_term_item_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_term_item_request_builder.go index 3258bab095b..ebe3de997aa 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_term_item_request_builder.go @@ -174,3 +174,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) To } 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 *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_request_builder.go index 8172506dce5..d30c38448d3 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreGroupsItemSetsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySetIdString provides operations to manage the sets property of the microsoft.graph.termStore.group entity. -func (m *ItemSitesItemTermStoreGroupsItemSetsRequestBuilder) BySetIdString(setId string)(*ItemSitesItemTermStoreGroupsItemSetsSetItemRequestBuilder) { +// BySetId provides operations to manage the sets property of the microsoft.graph.termStore.group entity. +func (m *ItemSitesItemTermStoreGroupsItemSetsRequestBuilder) BySetId(setId string)(*ItemSitesItemTermStoreGroupsItemSetsSetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsRequestBuilder) ToPostRequestInform } 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 *ItemSitesItemTermStoreGroupsItemSetsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_item_sets_set_item_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_set_item_request_builder.go index 22618eb4746..a5c5a76069d 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_set_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_set_item_request_builder.go @@ -169,3 +169,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsSetItemRequestBuilder) ToPatchReque } 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 *ItemSitesItemTermStoreGroupsItemSetsSetItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsItemSetsSetItemRequestBuilder) { + return NewItemSitesItemTermStoreGroupsItemSetsSetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_groups_request_builder.go b/groups/item_sites_item_term_store_groups_request_builder.go index ebd21d63af3..e8adde59e04 100644 --- a/groups/item_sites_item_term_store_groups_request_builder.go +++ b/groups/item_sites_item_term_store_groups_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreGroupsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupId1String provides operations to manage the groups property of the microsoft.graph.termStore.store entity. -func (m *ItemSitesItemTermStoreGroupsRequestBuilder) ByGroupId1String(groupId1 string)(*ItemSitesItemTermStoreGroupsGroupItemRequestBuilder) { +// ByGroupId1 provides operations to manage the groups property of the microsoft.graph.termStore.store entity. +func (m *ItemSitesItemTermStoreGroupsRequestBuilder) ByGroupId1(groupId1 string)(*ItemSitesItemTermStoreGroupsGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemSitesItemTermStoreGroupsRequestBuilder) 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 *ItemSitesItemTermStoreGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreGroupsRequestBuilder) { + return NewItemSitesItemTermStoreGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_request_builder.go b/groups/item_sites_item_term_store_request_builder.go index 93927dedc3d..ca072ab0734 100644 --- a/groups/item_sites_item_term_store_request_builder.go +++ b/groups/item_sites_item_term_store_request_builder.go @@ -164,3 +164,7 @@ func (m *ItemSitesItemTermStoreRequestBuilder) ToPatchRequestInformation(ctx con } 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 *ItemSitesItemTermStoreRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreRequestBuilder) { + return NewItemSitesItemTermStoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_count_request_builder.go b/groups/item_sites_item_term_store_sets_count_request_builder.go index db9ce3543e9..67d876f5f81 100644 --- a/groups/item_sites_item_term_store_sets_count_request_builder.go +++ b/groups/item_sites_item_term_store_sets_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreSetsCountRequestBuilder) 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 *ItemSitesItemTermStoreSetsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsCountRequestBuilder) { + return NewItemSitesItemTermStoreSetsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_children_count_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_count_request_builder.go index 5ed3529750e..194de308400 100644 --- a/groups/item_sites_item_term_store_sets_item_children_count_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenCountRequestBuilder) ToGetRequest } 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 *ItemSitesItemTermStoreSetsItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemChildrenCountRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_children_item_children_count_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_children_count_request_builder.go index ffbe446caf1..90b57176229 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_children_count_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenCountRequestBuilder) } 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 *ItemSitesItemTermStoreSetsItemChildrenItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemChildrenItemChildrenCountRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemChildrenItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_count_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_count_request_builder.go index ef3bd50be03..367bf5a3240 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_count_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsCountReq } 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 *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_from_term_request_builder.go index f5ab640c960..e78cbdedd49 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemFrom } 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 *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_set_request_builder.go index c28923827f2..728ed1743af 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemSetR } 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 *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_to_term_request_builder.go index 295c078f419..acc51d78aae 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemToTe } 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 *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_relation_item_request_builder.go index 0ec6e47357d..71c07352f20 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsRelation func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) { return NewItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_request_builder.go index 22acff26a2f..65e4f7c5f2b 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsRequestB } 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 *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_children_item_children_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_children_item_set_request_builder.go index 101b5f2d1d8..2b32f12b97f 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_children_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemSetRequestBuilder } 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 *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemSetRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemChildrenItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_children_item_children_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_children_request_builder.go index c3468cfac70..f5248f93cde 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_children_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_children_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreSetsItemChildrenItemChildrenRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermId1String provides operations to manage the children property of the microsoft.graph.termStore.term entity. -func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenRequestBuilder) ByTermId1String(termId1 string)(*ItemSitesItemTermStoreSetsItemChildrenItemChildrenTermItemRequestBuilder) { +// ByTermId1 provides operations to manage the children property of the microsoft.graph.termStore.term entity. +func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenRequestBuilder) ByTermId1(termId1 string)(*ItemSitesItemTermStoreSetsItemChildrenItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenRequestBuilder) ToPos } 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 *ItemSitesItemTermStoreSetsItemChildrenItemChildrenRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemChildrenItemChildrenRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemChildrenItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_children_item_children_term_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_children_term_item_request_builder.go index 7e7729eaf62..6e4a44d4e95 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_children_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_children_term_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenTermItemRequestBuilde } 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 *ItemSitesItemTermStoreSetsItemChildrenItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemChildrenItemChildrenTermItemRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemChildrenItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_children_item_relations_count_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_relations_count_request_builder.go index 8b7a3476927..c5c87105ff8 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_relations_count_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemRelationsCountRequestBuilder) } 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 *ItemSitesItemTermStoreSetsItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemChildrenItemRelationsCountRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_children_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_relations_item_from_term_request_builder.go index 7b08dbcc3b9..897b99aef9b 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemRelationsItemFromTermRequestB } 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 *ItemSitesItemTermStoreSetsItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_children_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_relations_item_set_request_builder.go index cf30dc287f4..1ace772bdb3 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemRelationsItemSetRequestBuilde } 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 *ItemSitesItemTermStoreSetsItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemChildrenItemRelationsItemSetRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_children_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_relations_item_to_term_request_builder.go index f1bfc74c6a8..29aeacfbcb5 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemRelationsItemToTermRequestBui } 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 *ItemSitesItemTermStoreSetsItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_children_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_relations_relation_item_request_builder.go index 50aecfb2bd7..e1552c83a70 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemRelationsRelationItemRequestB func (m *ItemSitesItemTermStoreSetsItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemSitesItemTermStoreSetsItemChildrenItemRelationsItemToTermRequestBuilder) { return NewItemSitesItemTermStoreSetsItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSitesItemTermStoreSetsItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_children_item_relations_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_relations_request_builder.go index 8e5a5f4c6a5..6834b7a87e7 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreSetsItemChildrenItemRelationsRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemSitesItemTermStoreSetsItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemSitesItemTermStoreSetsItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemSitesItemTermStoreSetsItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemSitesItemTermStoreSetsItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemRelationsRequestBuilder) ToPo } 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 *ItemSitesItemTermStoreSetsItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemChildrenItemRelationsRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_children_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_set_request_builder.go index cd1c270e4cd..acfeb8661ec 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemSetRequestBuilder) ToGetReque } 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 *ItemSitesItemTermStoreSetsItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemChildrenItemSetRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_children_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_request_builder.go index 48476bc74b8..eba800790b9 100644 --- a/groups/item_sites_item_term_store_sets_item_children_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreSetsItemChildrenRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermIdString provides operations to manage the children property of the microsoft.graph.termStore.set entity. -func (m *ItemSitesItemTermStoreSetsItemChildrenRequestBuilder) ByTermIdString(termId string)(*ItemSitesItemTermStoreSetsItemChildrenTermItemRequestBuilder) { +// ByTermId provides operations to manage the children property of the microsoft.graph.termStore.set entity. +func (m *ItemSitesItemTermStoreSetsItemChildrenRequestBuilder) ByTermId(termId string)(*ItemSitesItemTermStoreSetsItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenRequestBuilder) ToPostRequestInfo } 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 *ItemSitesItemTermStoreSetsItemChildrenRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemChildrenRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_children_term_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_term_item_request_builder.go index 3f9aa625f98..6cf646f1b48 100644 --- a/groups/item_sites_item_term_store_sets_item_children_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_term_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenTermItemRequestBuilder) ToPatchRe } 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 *ItemSitesItemTermStoreSetsItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemChildrenTermItemRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_request_builder.go index 2ab4ba0bec1..426af75be68 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupRequestBuilder) ToPatchRequest } 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 *ItemSitesItemTermStoreSetsItemParentGroupRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_count_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_count_request_builder.go index 88b9a0d44ae..4f8228a4edd 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_count_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsCountRequestBuilder) ToGet } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsCountRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_count_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_count_request_builder.go index 83b296ea456..5a53c037cc4 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_count_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenCountRequestBu } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenCountRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_count_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_count_request_builder.go index e2569206d62..4d34daa53f8 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_count_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenCo } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenCountRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_count_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_count_request_builder.go index e0a0efbf96c..5570945cc0e 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_count_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenIt } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go index 0a00f3519f6..5df6aba39ed 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenIt } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go index 45b07f0e402..88a70a4a5cd 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenIt } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go index 316ef33e955..4005fd21d45 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenIt } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go index 427f0a0164e..62a3e0c6de5 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenIt func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) { return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go index 22c8728c9cf..5f4ef000967 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenIt } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go index b1ef1265d83..55f2be694af 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenIt } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemSetRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_request_builder.go index 3455772d801..7ed512e99fc 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermId1String provides operations to manage the children property of the microsoft.graph.termStore.term entity. -func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenRequestBuilder) ByTermId1String(termId1 string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenTermItemRequestBuilder) { +// ByTermId1 provides operations to manage the children property of the microsoft.graph.termStore.term entity. +func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenRequestBuilder) ByTermId1(termId1 string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenRe } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go index 24707fff469..3a56cb734fb 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenTe } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenTermItemRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_count_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_count_request_builder.go index 882e8eab159..b54bfeb306b 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_count_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsC } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsCountRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go index e713da54856..adcb5a04d78 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsI } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go index 8712dfacc97..62dcd738a62 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsI } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemSetRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go index 6864e47a957..d0a18496407 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsI } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go index a2864271ee8..8c915157aec 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsR func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemToTermRequestBuilder) { return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_request_builder.go index f2d83814285..09fc6ff2d40 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsR } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_set_request_builder.go index 09805cd0fca..7b347f1f090 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemSetRequest } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemSetRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_request_builder.go index 4205c920469..be5b26fbd18 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilderPost // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermIdString provides operations to manage the children property of the microsoft.graph.termStore.set entity. -func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) ByTermIdString(termId string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenTermItemRequestBuilder) { +// ByTermId provides operations to manage the children property of the microsoft.graph.termStore.set entity. +func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) ByTermId(termId string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_term_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_term_item_request_builder.go index 42b483dd23e..693e989fdcf 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_term_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenTermItemReques } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenTermItemRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_count_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_count_request_builder.go index 9849303a876..f45a9db1bbf 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_count_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsCountRequestB } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsCountRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go index ac62577a404..1d163842102 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsItemFromTermR } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsItemFromTermRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_set_request_builder.go index 19c388daab5..7040ef7f027 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsItemSetReques } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsItemSetRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go index 720afb857de..c987e642cd4 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsItemToTermReq } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsItemToTermRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_relation_item_request_builder.go index c947793f94a..326b4d7f4cd 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRelationItemR func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsItemToTermRequestBuilder) { return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRelationItemRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go index 4a214f630be..d12d7201ef7 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilderPos // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.set entity. -func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.set entity. +func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilde } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_count_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_count_request_builder.go index a09c8eaa792..0792f47ebd6 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_count_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsCountRequestBuild } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsCountRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_count_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_count_request_builder.go index 8f6df36e067..a0e8b42a2c0 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_count_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenCount } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenCountRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_count_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_count_request_builder.go index d2f6e44363b..d586cb90c21 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_count_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemR } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsCountRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go index cda2987e36c..ce0f794001f 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemR } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go index a71de5827e9..ca588a81b72 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemR } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go index f0e541bf56f..50d53d2ef50 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemR } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go index f25cad21e53..84a8d949e76 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemR func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) { return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go index 8e42ede5142..10c3ec306d6 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemR } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go index 02b6dc8303b..0ab90bd4518 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemS } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemSetRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_request_builder.go index e0fdf5e561d..e43e5d0b235 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermId1String provides operations to manage the children property of the microsoft.graph.termStore.term entity. -func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenRequestBuilder) ByTermId1String(termId1 string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenTermItemRequestBuilder) { +// ByTermId1 provides operations to manage the children property of the microsoft.graph.termStore.term entity. +func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenRequestBuilder) ByTermId1(termId1 string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenReque } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go index 8ac38680827..626b85f14e1 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenTermI } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenTermItemRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_count_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_count_request_builder.go index f75542cb560..cd590de1bee 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_count_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsCoun } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsCountRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go index eb52aa6c9cf..443fd972551 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItem } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemFromTermRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go index 1f543720e5d..94bc63a9a83 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItem } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemSetRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go index 167b3205af0..4917074808f 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItem } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemToTermRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go index 30a4bb8e6d9..77a3b8c7e50 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRela func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemToTermRequestBuilder) { return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRelationItemRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_request_builder.go index 67b9802490d..1df959038ee 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRequ } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_set_request_builder.go index e7b92443703..45aa6d030df 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemSetRequestBui } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemSetRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go index db8cdf05cd7..b7a056ad625 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilderPostReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermIdString provides operations to manage the terms property of the microsoft.graph.termStore.set entity. -func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder) ByTermIdString(termId string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) { +// ByTermId provides operations to manage the terms property of the microsoft.graph.termStore.set entity. +func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder) ByTermId(termId string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder) T } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go index e348231fe82..78abe457d41 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go @@ -174,3 +174,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBu } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_request_builder.go index 2e5f7c74b02..260ac6bce61 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreSetsItemParentGroupSetsRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySetId1String provides operations to manage the sets property of the microsoft.graph.termStore.group entity. -func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsRequestBuilder) BySetId1String(setId1 string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsSetItemRequestBuilder) { +// BySetId1 provides operations to manage the sets property of the microsoft.graph.termStore.group entity. +func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsRequestBuilder) BySetId1(setId1 string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsSetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsRequestBuilder) ToPostRequ } 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_set_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_set_item_request_builder.go index 369e4d4c789..e9ce8b49c36 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_set_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_set_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsSetItemRequestBuilder) 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 *ItemSitesItemTermStoreSetsItemParentGroupSetsSetItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemParentGroupSetsSetItemRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemParentGroupSetsSetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_relations_count_request_builder.go b/groups/item_sites_item_term_store_sets_item_relations_count_request_builder.go index eaa03e044b5..7f69676730c 100644 --- a/groups/item_sites_item_term_store_sets_item_relations_count_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreSetsItemRelationsCountRequestBuilder) ToGetReques } 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 *ItemSitesItemTermStoreSetsItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemRelationsCountRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_relations_item_from_term_request_builder.go index 6d12f6afb24..7cdfc15e9a3 100644 --- a/groups/item_sites_item_term_store_sets_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemRelationsItemFromTermRequestBuilder) ToGe } 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 *ItemSitesItemTermStoreSetsItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemRelationsItemFromTermRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_relations_item_set_request_builder.go index 9084d3ad37a..63cc340b56a 100644 --- a/groups/item_sites_item_term_store_sets_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemRelationsItemSetRequestBuilder) ToGetRequ } 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 *ItemSitesItemTermStoreSetsItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemRelationsItemSetRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_relations_item_to_term_request_builder.go index 8e86bd3daef..07420cd50f3 100644 --- a/groups/item_sites_item_term_store_sets_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemRelationsItemToTermRequestBuilder) ToGetR } 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 *ItemSitesItemTermStoreSetsItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemRelationsItemToTermRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_relations_relation_item_request_builder.go index f12093ed92d..c39c10c7c19 100644 --- a/groups/item_sites_item_term_store_sets_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemSitesItemTermStoreSetsItemRelationsRelationItemRequestBuilder) ToPa func (m *ItemSitesItemTermStoreSetsItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemSitesItemTermStoreSetsItemRelationsItemToTermRequestBuilder) { return NewItemSitesItemTermStoreSetsItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSitesItemTermStoreSetsItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemRelationsRelationItemRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_relations_request_builder.go b/groups/item_sites_item_term_store_sets_item_relations_request_builder.go index 3eaa740e4bf..4595a606ef2 100644 --- a/groups/item_sites_item_term_store_sets_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreSetsItemRelationsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.set entity. -func (m *ItemSitesItemTermStoreSetsItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemSitesItemTermStoreSetsItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.set entity. +func (m *ItemSitesItemTermStoreSetsItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemSitesItemTermStoreSetsItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemSitesItemTermStoreSetsItemRelationsRequestBuilder) ToPostRequestInf } 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 *ItemSitesItemTermStoreSetsItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemRelationsRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_terms_count_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_count_request_builder.go index 0d7a50e4bf8..023417982f1 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_count_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsCountRequestBuilder) ToGetRequestInf } 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 *ItemSitesItemTermStoreSetsItemTermsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemTermsCountRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemTermsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_children_count_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_children_count_request_builder.go index dea1317cf01..5366e27f007 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_children_count_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenCountRequestBuilder) ToG } 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 *ItemSitesItemTermStoreSetsItemTermsItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemTermsItemChildrenCountRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemTermsItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_count_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_count_request_builder.go index 3d9c1c557ed..318ced78916 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_count_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsCountReques } 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 *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsCountRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go index 091eb570dc0..ea16943aeae 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsItemFromTer } 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 *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_set_request_builder.go index fed6a24bb7e..6a144120ea9 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsItemSetRequ } 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 *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go index eeb710c0556..04abdc41fe4 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsItemToTermR } 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 *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_relation_item_request_builder.go index 8077a5d364e..829afb2c7b5 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsRelationIte func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) { return NewItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_request_builder.go index b6044f558db..6acaece78e7 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsRequestBuilderP // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsRequestBuil } 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 *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_set_request_builder.go index f73113f3ced..eefaf8c3be6 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemSetRequestBuilder) T } 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 *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemTermsItemChildrenItemSetRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemTermsItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_children_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_children_request_builder.go index db4f3c3eb2e..e7f67a35904 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_children_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_children_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreSetsItemTermsItemChildrenRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermId1String provides operations to manage the children property of the microsoft.graph.termStore.term entity. -func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenRequestBuilder) ByTermId1String(termId1 string)(*ItemSitesItemTermStoreSetsItemTermsItemChildrenTermItemRequestBuilder) { +// ByTermId1 provides operations to manage the children property of the microsoft.graph.termStore.term entity. +func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenRequestBuilder) ByTermId1(termId1 string)(*ItemSitesItemTermStoreSetsItemTermsItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenRequestBuilder) ToPostRe } 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 *ItemSitesItemTermStoreSetsItemTermsItemChildrenRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemTermsItemChildrenRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemTermsItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_children_term_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_children_term_item_request_builder.go index c2b4a537400..e13e03ba049 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_children_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_children_term_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenTermItemRequestBuilder) } 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 *ItemSitesItemTermStoreSetsItemTermsItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemTermsItemChildrenTermItemRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemTermsItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_relations_count_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_relations_count_request_builder.go index bf9d45c1eb3..10f8ff0aa01 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_relations_count_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemRelationsCountRequestBuilder) To } 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 *ItemSitesItemTermStoreSetsItemTermsItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemTermsItemRelationsCountRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemTermsItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_from_term_request_builder.go index 49ce99a8496..112203e92f8 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemRelationsItemFromTermRequestBuil } 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 *ItemSitesItemTermStoreSetsItemTermsItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemTermsItemRelationsItemFromTermRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemTermsItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_set_request_builder.go index dcca6c59b97..bb29462471c 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemRelationsItemSetRequestBuilder) } 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 *ItemSitesItemTermStoreSetsItemTermsItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemTermsItemRelationsItemSetRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemTermsItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_to_term_request_builder.go index e95e85abd8c..33758daa194 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemRelationsItemToTermRequestBuilde } 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 *ItemSitesItemTermStoreSetsItemTermsItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemTermsItemRelationsItemToTermRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemTermsItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_relations_relation_item_request_builder.go index a1c3469fcf1..45c2615ef3a 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemRelationsRelationItemRequestBuil func (m *ItemSitesItemTermStoreSetsItemTermsItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemSitesItemTermStoreSetsItemTermsItemRelationsItemToTermRequestBuilder) { return NewItemSitesItemTermStoreSetsItemTermsItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSitesItemTermStoreSetsItemTermsItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemTermsItemRelationsRelationItemRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemTermsItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_relations_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_relations_request_builder.go index 88b774ae295..20c780cc3ae 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreSetsItemTermsItemRelationsRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemSitesItemTermStoreSetsItemTermsItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemSitesItemTermStoreSetsItemTermsItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemSitesItemTermStoreSetsItemTermsItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemSitesItemTermStoreSetsItemTermsItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemRelationsRequestBuilder) ToPostR } 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 *ItemSitesItemTermStoreSetsItemTermsItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemTermsItemRelationsRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemTermsItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_set_request_builder.go index 1a1b50a091c..1e4149dd1f7 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemSetRequestBuilder) ToGetRequestI } 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 *ItemSitesItemTermStoreSetsItemTermsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemTermsItemSetRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemTermsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_terms_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_request_builder.go index 92363f0c1f4..99864577a4f 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreSetsItemTermsRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermIdString provides operations to manage the terms property of the microsoft.graph.termStore.set entity. -func (m *ItemSitesItemTermStoreSetsItemTermsRequestBuilder) ByTermIdString(termId string)(*ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilder) { +// ByTermId provides operations to manage the terms property of the microsoft.graph.termStore.set entity. +func (m *ItemSitesItemTermStoreSetsItemTermsRequestBuilder) ByTermId(termId string)(*ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsRequestBuilder) ToPostRequestInforma } 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 *ItemSitesItemTermStoreSetsItemTermsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemTermsRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemTermsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_item_terms_term_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_term_item_request_builder.go index 21f44d68047..5f85dfd4456 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_term_item_request_builder.go @@ -174,3 +174,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilder) ToPatchReque } 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 *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilder) { + return NewItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_request_builder.go b/groups/item_sites_item_term_store_sets_request_builder.go index dc468e022db..1ede4f6e618 100644 --- a/groups/item_sites_item_term_store_sets_request_builder.go +++ b/groups/item_sites_item_term_store_sets_request_builder.go @@ -46,8 +46,8 @@ type ItemSitesItemTermStoreSetsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySetIdString provides operations to manage the sets property of the microsoft.graph.termStore.store entity. -func (m *ItemSitesItemTermStoreSetsRequestBuilder) BySetIdString(setId string)(*ItemSitesItemTermStoreSetsSetItemRequestBuilder) { +// BySetId provides operations to manage the sets property of the microsoft.graph.termStore.store entity. +func (m *ItemSitesItemTermStoreSetsRequestBuilder) BySetId(setId string)(*ItemSitesItemTermStoreSetsSetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSitesItemTermStoreSetsRequestBuilder) 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 *ItemSitesItemTermStoreSetsRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsRequestBuilder) { + return NewItemSitesItemTermStoreSetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_item_term_store_sets_set_item_request_builder.go b/groups/item_sites_item_term_store_sets_set_item_request_builder.go index b09073964c9..b36ff613125 100644 --- a/groups/item_sites_item_term_store_sets_set_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_set_item_request_builder.go @@ -178,3 +178,7 @@ func (m *ItemSitesItemTermStoreSetsSetItemRequestBuilder) ToPatchRequestInformat } 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 *ItemSitesItemTermStoreSetsSetItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesItemTermStoreSetsSetItemRequestBuilder) { + return NewItemSitesItemTermStoreSetsSetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_remove_request_builder.go b/groups/item_sites_remove_request_builder.go index 55cb9405275..9d8cdd047d7 100644 --- a/groups/item_sites_remove_request_builder.go +++ b/groups/item_sites_remove_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemSitesRemoveRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *ItemSitesRemoveRequestBuilder) WithUrl(rawUrl string)(*ItemSitesRemoveRequestBuilder) { + return NewItemSitesRemoveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_request_builder.go b/groups/item_sites_request_builder.go index 6d0bab942ec..efe50b83db1 100644 --- a/groups/item_sites_request_builder.go +++ b/groups/item_sites_request_builder.go @@ -43,8 +43,8 @@ type ItemSitesRequestBuilderGetRequestConfiguration struct { func (m *ItemSitesRequestBuilder) Add()(*ItemSitesAddRequestBuilder) { return NewItemSitesAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// BySiteIdString provides operations to manage the sites property of the microsoft.graph.group entity. -func (m *ItemSitesRequestBuilder) BySiteIdString(siteId string)(*ItemSitesSiteItemRequestBuilder) { +// BySiteId provides operations to manage the sites property of the microsoft.graph.group entity. +func (m *ItemSitesRequestBuilder) BySiteId(siteId string)(*ItemSitesSiteItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -118,3 +118,7 @@ func (m *ItemSitesRequestBuilder) ToGetRequestInformation(ctx context.Context, r } 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 *ItemSitesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesRequestBuilder) { + return NewItemSitesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_sites_site_item_request_builder.go b/groups/item_sites_site_item_request_builder.go index 309e77205cb..7e6bc774eba 100644 --- a/groups/item_sites_site_item_request_builder.go +++ b/groups/item_sites_site_item_request_builder.go @@ -198,3 +198,7 @@ func (m *ItemSitesSiteItemRequestBuilder) ToPatchRequestInformation(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 *ItemSitesSiteItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesSiteItemRequestBuilder) { + return NewItemSitesSiteItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_subscribe_by_mail_request_builder.go b/groups/item_subscribe_by_mail_request_builder.go index 60ff61bedc7..df62c341d0f 100644 --- a/groups/item_subscribe_by_mail_request_builder.go +++ b/groups/item_subscribe_by_mail_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemSubscribeByMailRequestBuilder) 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 *ItemSubscribeByMailRequestBuilder) WithUrl(rawUrl string)(*ItemSubscribeByMailRequestBuilder) { + return NewItemSubscribeByMailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_all_channels_channel_item_request_builder.go b/groups/item_team_all_channels_channel_item_request_builder.go index 9cf2b1865a8..617f7991d31 100644 --- a/groups/item_team_all_channels_channel_item_request_builder.go +++ b/groups/item_team_all_channels_channel_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamAllChannelsChannelItemRequestBuilder) ToGetRequestInformation(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 *ItemTeamAllChannelsChannelItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamAllChannelsChannelItemRequestBuilder) { + return NewItemTeamAllChannelsChannelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_all_channels_count_request_builder.go b/groups/item_team_all_channels_count_request_builder.go index d617b5d8c3e..3f623c37a52 100644 --- a/groups/item_team_all_channels_count_request_builder.go +++ b/groups/item_team_all_channels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamAllChannelsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemTeamAllChannelsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamAllChannelsCountRequestBuilder) { + return NewItemTeamAllChannelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_all_channels_request_builder.go b/groups/item_team_all_channels_request_builder.go index 461e570a8e7..0d956da0d35 100644 --- a/groups/item_team_all_channels_request_builder.go +++ b/groups/item_team_all_channels_request_builder.go @@ -39,8 +39,8 @@ type ItemTeamAllChannelsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemTeamAllChannelsRequestBuilderGetQueryParameters } -// ByChannelIdString provides operations to manage the allChannels property of the microsoft.graph.team entity. -func (m *ItemTeamAllChannelsRequestBuilder) ByChannelIdString(channelId string)(*ItemTeamAllChannelsChannelItemRequestBuilder) { +// ByChannelId provides operations to manage the allChannels property of the microsoft.graph.team entity. +func (m *ItemTeamAllChannelsRequestBuilder) ByChannelId(channelId string)(*ItemTeamAllChannelsChannelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemTeamAllChannelsRequestBuilder) ToGetRequestInformation(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 *ItemTeamAllChannelsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamAllChannelsRequestBuilder) { + return NewItemTeamAllChannelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_archive_request_builder.go b/groups/item_team_archive_request_builder.go index 75965a6cf6c..36ef4cca219 100644 --- a/groups/item_team_archive_request_builder.go +++ b/groups/item_team_archive_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemTeamArchiveRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *ItemTeamArchiveRequestBuilder) WithUrl(rawUrl string)(*ItemTeamArchiveRequestBuilder) { + return NewItemTeamArchiveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_all_messages_request_builder.go b/groups/item_team_channels_all_messages_request_builder.go index 72750b02469..664fed765a5 100644 --- a/groups/item_team_channels_all_messages_request_builder.go +++ b/groups/item_team_channels_all_messages_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemTeamChannelsAllMessagesRequestBuilder) ToGetRequestInformation(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 *ItemTeamChannelsAllMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsAllMessagesRequestBuilder) { + return NewItemTeamChannelsAllMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_channel_item_request_builder.go b/groups/item_team_channels_channel_item_request_builder.go index ca7b35b50e6..b1aa0d9122d 100644 --- a/groups/item_team_channels_channel_item_request_builder.go +++ b/groups/item_team_channels_channel_item_request_builder.go @@ -198,3 +198,7 @@ func (m *ItemTeamChannelsChannelItemRequestBuilder) ToPatchRequestInformation(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 *ItemTeamChannelsChannelItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsChannelItemRequestBuilder) { + return NewItemTeamChannelsChannelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_count_request_builder.go b/groups/item_team_channels_count_request_builder.go index 6bd20ea1589..a5ab231c33a 100644 --- a/groups/item_team_channels_count_request_builder.go +++ b/groups/item_team_channels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamChannelsCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemTeamChannelsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsCountRequestBuilder) { + return NewItemTeamChannelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_get_all_messages_request_builder.go b/groups/item_team_channels_get_all_messages_request_builder.go index b67717cac39..483a5c7db8d 100644 --- a/groups/item_team_channels_get_all_messages_request_builder.go +++ b/groups/item_team_channels_get_all_messages_request_builder.go @@ -17,7 +17,7 @@ type ItemTeamChannelsGetAllMessagesRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` // The payment model for the API - Model *string + Model *string `uriparametername:"model"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Search items by search phrases @@ -86,3 +86,7 @@ func (m *ItemTeamChannelsGetAllMessagesRequestBuilder) ToGetRequestInformation(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 *ItemTeamChannelsGetAllMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsGetAllMessagesRequestBuilder) { + return NewItemTeamChannelsGetAllMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_complete_migration_request_builder.go b/groups/item_team_channels_item_complete_migration_request_builder.go index dd857700a04..3d23d63a38e 100644 --- a/groups/item_team_channels_item_complete_migration_request_builder.go +++ b/groups/item_team_channels_item_complete_migration_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamChannelsItemCompleteMigrationRequestBuilder) ToPostRequestInfor } 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 *ItemTeamChannelsItemCompleteMigrationRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemCompleteMigrationRequestBuilder) { + return NewItemTeamChannelsItemCompleteMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/groups/item_team_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index 86a6701b74b..ad905a2db03 100644 --- a/groups/item_team_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/groups/item_team_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -13,11 +13,11 @@ type ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrinc // ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters invoke function doesUserHaveAccess type ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' - TenantId *string + TenantId *string `uriparametername:"tenantId"` // Usage: userId='@userId' - UserId *string + UserId *string `uriparametername:"userId"` // Usage: userPrincipalName='@userPrincipalName' - UserPrincipalName *string + UserPrincipalName *string `uriparametername:"userPrincipalName"` } // ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration struct { @@ -76,3 +76,7 @@ func (m *ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserP } 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 *ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) { + return NewItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_files_folder_content_request_builder.go b/groups/item_team_channels_item_files_folder_content_request_builder.go index e111982af03..d22cb7daaac 100644 --- a/groups/item_team_channels_item_files_folder_content_request_builder.go +++ b/groups/item_team_channels_item_files_folder_content_request_builder.go @@ -105,3 +105,7 @@ func (m *ItemTeamChannelsItemFilesFolderContentRequestBuilder) ToPutRequestInfor } 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 *ItemTeamChannelsItemFilesFolderContentRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemFilesFolderContentRequestBuilder) { + return NewItemTeamChannelsItemFilesFolderContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_files_folder_request_builder.go b/groups/item_team_channels_item_files_folder_request_builder.go index 719f09935aa..2acf6a5c08f 100644 --- a/groups/item_team_channels_item_files_folder_request_builder.go +++ b/groups/item_team_channels_item_files_folder_request_builder.go @@ -82,3 +82,7 @@ func (m *ItemTeamChannelsItemFilesFolderRequestBuilder) 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 *ItemTeamChannelsItemFilesFolderRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemFilesFolderRequestBuilder) { + return NewItemTeamChannelsItemFilesFolderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_members_add_request_builder.go b/groups/item_team_channels_item_members_add_request_builder.go index d80c30e234c..8ce4182ffe6 100644 --- a/groups/item_team_channels_item_members_add_request_builder.go +++ b/groups/item_team_channels_item_members_add_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemTeamChannelsItemMembersAddRequestBuilder) 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 *ItemTeamChannelsItemMembersAddRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMembersAddRequestBuilder) { + return NewItemTeamChannelsItemMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_members_conversation_member_item_request_builder.go b/groups/item_team_channels_item_members_conversation_member_item_request_builder.go index 60f8ac3ff5d..35d16252c1d 100644 --- a/groups/item_team_channels_item_members_conversation_member_item_request_builder.go +++ b/groups/item_team_channels_item_members_conversation_member_item_request_builder.go @@ -95,10 +95,10 @@ func (m *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team.or channel. +// Patch update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 func (m *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -145,7 +145,7 @@ func (m *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) ToGetR } return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team.or channel. +// ToPatchRequestInformation update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. func (m *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -162,3 +162,7 @@ func (m *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) ToPatc } 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 *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) { + return NewItemTeamChannelsItemMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_members_count_request_builder.go b/groups/item_team_channels_item_members_count_request_builder.go index af5c93a71ec..88ebcbf3f51 100644 --- a/groups/item_team_channels_item_members_count_request_builder.go +++ b/groups/item_team_channels_item_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamChannelsItemMembersCountRequestBuilder) 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 *ItemTeamChannelsItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMembersCountRequestBuilder) { + return NewItemTeamChannelsItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_members_request_builder.go b/groups/item_team_channels_item_members_request_builder.go index 6794ff2e418..b86b30a0ba6 100644 --- a/groups/item_team_channels_item_members_request_builder.go +++ b/groups/item_team_channels_item_members_request_builder.go @@ -50,8 +50,8 @@ type ItemTeamChannelsItemMembersRequestBuilderPostRequestConfiguration struct { func (m *ItemTeamChannelsItemMembersRequestBuilder) Add()(*ItemTeamChannelsItemMembersAddRequestBuilder) { return NewItemTeamChannelsItemMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByConversationMemberIdString provides operations to manage the members property of the microsoft.graph.channel entity. -func (m *ItemTeamChannelsItemMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the members property of the microsoft.graph.channel entity. +func (m *ItemTeamChannelsItemMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemTeamChannelsItemMembersRequestBuilder) 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 *ItemTeamChannelsItemMembersRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMembersRequestBuilder) { + return NewItemTeamChannelsItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_chat_message_item_request_builder.go b/groups/item_team_channels_item_messages_chat_message_item_request_builder.go index 3a41e82acb2..da8dd67a32e 100644 --- a/groups/item_team_channels_item_messages_chat_message_item_request_builder.go +++ b/groups/item_team_channels_item_messages_chat_message_item_request_builder.go @@ -183,3 +183,7 @@ func (m *ItemTeamChannelsItemMessagesChatMessageItemRequestBuilder) UndoSoftDele func (m *ItemTeamChannelsItemMessagesChatMessageItemRequestBuilder) UnsetReaction()(*ItemTeamChannelsItemMessagesItemUnsetReactionRequestBuilder) { return NewItemTeamChannelsItemMessagesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTeamChannelsItemMessagesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesChatMessageItemRequestBuilder) { + return NewItemTeamChannelsItemMessagesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_count_request_builder.go b/groups/item_team_channels_item_messages_count_request_builder.go index d678ba58e0f..a1e65da6d10 100644 --- a/groups/item_team_channels_item_messages_count_request_builder.go +++ b/groups/item_team_channels_item_messages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamChannelsItemMessagesCountRequestBuilder) 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 *ItemTeamChannelsItemMessagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesCountRequestBuilder) { + return NewItemTeamChannelsItemMessagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_delta_request_builder.go b/groups/item_team_channels_item_messages_delta_request_builder.go index 85ad6fc7ce1..0134d539db6 100644 --- a/groups/item_team_channels_item_messages_delta_request_builder.go +++ b/groups/item_team_channels_item_messages_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemTeamChannelsItemMessagesDeltaRequestBuilder) 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 *ItemTeamChannelsItemMessagesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesDeltaRequestBuilder) { + return NewItemTeamChannelsItemMessagesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/groups/item_team_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 37604a4cb39..9b32174504b 100644 --- a/groups/item_team_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/groups/item_team_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemTeamChannelsItemMessagesItemHostedContentsChatMessageHostedContentI } 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 *ItemTeamChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewItemTeamChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_item_hosted_contents_count_request_builder.go b/groups/item_team_channels_item_messages_item_hosted_contents_count_request_builder.go index 7b8357994b7..1a36735a354 100644 --- a/groups/item_team_channels_item_messages_item_hosted_contents_count_request_builder.go +++ b/groups/item_team_channels_item_messages_item_hosted_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamChannelsItemMessagesItemHostedContentsCountRequestBuilder) ToGe } 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 *ItemTeamChannelsItemMessagesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesItemHostedContentsCountRequestBuilder) { + return NewItemTeamChannelsItemMessagesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go b/groups/item_team_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go index 3749e1e20e5..02b40c407e1 100644 --- a/groups/item_team_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/groups/item_team_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemTeamChannelsItemMessagesItemHostedContentsItemValueContentRequestBu } 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 *ItemTeamChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemTeamChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_item_hosted_contents_request_builder.go b/groups/item_team_channels_item_messages_item_hosted_contents_request_builder.go index 94a21574523..01096f892aa 100644 --- a/groups/item_team_channels_item_messages_item_hosted_contents_request_builder.go +++ b/groups/item_team_channels_item_messages_item_hosted_contents_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamChannelsItemMessagesItemHostedContentsRequestBuilderPostRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageHostedContentIdString provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. -func (m *ItemTeamChannelsItemMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentIdString(chatMessageHostedContentId string)(*ItemTeamChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +func (m *ItemTeamChannelsItemMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*ItemTeamChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemTeamChannelsItemMessagesItemHostedContentsRequestBuilder) ToPostReq } 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 *ItemTeamChannelsItemMessagesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesItemHostedContentsRequestBuilder) { + return NewItemTeamChannelsItemMessagesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_item_replies_chat_message_item_request_builder.go b/groups/item_team_channels_item_messages_item_replies_chat_message_item_request_builder.go index 7c1d6a479af..5d2957ea163 100644 --- a/groups/item_team_channels_item_messages_item_replies_chat_message_item_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_chat_message_item_request_builder.go @@ -176,3 +176,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) U func (m *ItemTeamChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) UnsetReaction()(*ItemTeamChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) { return NewItemTeamChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTeamChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) { + return NewItemTeamChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_item_replies_count_request_builder.go b/groups/item_team_channels_item_messages_item_replies_count_request_builder.go index b6e186e353f..961f796359e 100644 --- a/groups/item_team_channels_item_messages_item_replies_count_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesCountRequestBuilder) ToGetReques } 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 *ItemTeamChannelsItemMessagesItemRepliesCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesItemRepliesCountRequestBuilder) { + return NewItemTeamChannelsItemMessagesItemRepliesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_item_replies_delta_request_builder.go b/groups/item_team_channels_item_messages_item_replies_delta_request_builder.go index 483d0d35fc4..467009a92e5 100644 --- a/groups/item_team_channels_item_messages_item_replies_delta_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesDeltaRequestBuilder) ToGetReques } 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 *ItemTeamChannelsItemMessagesItemRepliesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesItemRepliesDeltaRequestBuilder) { + return NewItemTeamChannelsItemMessagesItemRepliesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index de775934226..5097fae6169 100644 --- a/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHos } 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 *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewItemTeamChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_count_request_builder.go b/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_count_request_builder.go index 383820a7bcf..c994f1a9e6c 100644 --- a/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_count_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBu } 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 *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) { + return NewItemTeamChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index e1914155452..672aeb4a2fc 100644 --- a/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsItemValueConte } 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 *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemTeamChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_request_builder.go b/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_request_builder.go index 0e2718492a5..dbe084b950b 100644 --- a/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderPost // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageHostedContentIdString provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. -func (m *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentIdString(chatMessageHostedContentId string)(*ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +func (m *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder } 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 *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) { + return NewItemTeamChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_item_replies_item_set_reaction_request_builder.go b/groups/item_team_channels_item_messages_item_replies_item_set_reaction_request_builder.go index 427aaa4966b..17ca856f1e8 100644 --- a/groups/item_team_channels_item_messages_item_replies_item_set_reaction_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_item_set_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesItemSetReactionRequestBuilder) T } 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 *ItemTeamChannelsItemMessagesItemRepliesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesItemRepliesItemSetReactionRequestBuilder) { + return NewItemTeamChannelsItemMessagesItemRepliesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_item_replies_item_soft_delete_request_builder.go b/groups/item_team_channels_item_messages_item_replies_item_soft_delete_request_builder.go index 4e856ce9acf..99d0e720ae7 100644 --- a/groups/item_team_channels_item_messages_item_replies_item_soft_delete_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_item_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) To } 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 *ItemTeamChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) { + return NewItemTeamChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go b/groups/item_team_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go index 8e5307dbd9d..dcff948a6ca 100644 --- a/groups/item_team_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder } 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 *ItemTeamChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) { + return NewItemTeamChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_item_replies_item_unset_reaction_request_builder.go b/groups/item_team_channels_item_messages_item_replies_item_unset_reaction_request_builder.go index 50695fe9722..5ac9a1733ee 100644 --- a/groups/item_team_channels_item_messages_item_replies_item_unset_reaction_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_item_unset_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) } 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 *ItemTeamChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) { + return NewItemTeamChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_item_replies_request_builder.go b/groups/item_team_channels_item_messages_item_replies_request_builder.go index ea31499b5a2..6c5f5fb859c 100644 --- a/groups/item_team_channels_item_messages_item_replies_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageId1String provides operations to manage the replies property of the microsoft.graph.chatMessage entity. -func (m *ItemTeamChannelsItemMessagesItemRepliesRequestBuilder) ByChatMessageId1String(chatMessageId1 string)(*ItemTeamChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) { +// ByChatMessageId1 provides operations to manage the replies property of the microsoft.graph.chatMessage entity. +func (m *ItemTeamChannelsItemMessagesItemRepliesRequestBuilder) ByChatMessageId1(chatMessageId1 string)(*ItemTeamChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesRequestBuilder) ToPostRequestInf } 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 *ItemTeamChannelsItemMessagesItemRepliesRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesItemRepliesRequestBuilder) { + return NewItemTeamChannelsItemMessagesItemRepliesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_item_set_reaction_request_builder.go b/groups/item_team_channels_item_messages_item_set_reaction_request_builder.go index f3417ca38bc..b8f607b9a6d 100644 --- a/groups/item_team_channels_item_messages_item_set_reaction_request_builder.go +++ b/groups/item_team_channels_item_messages_item_set_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemTeamChannelsItemMessagesItemSetReactionRequestBuilder) ToPostReques } 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 *ItemTeamChannelsItemMessagesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesItemSetReactionRequestBuilder) { + return NewItemTeamChannelsItemMessagesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_item_soft_delete_request_builder.go b/groups/item_team_channels_item_messages_item_soft_delete_request_builder.go index 3e9c0a07f26..3c78d17561d 100644 --- a/groups/item_team_channels_item_messages_item_soft_delete_request_builder.go +++ b/groups/item_team_channels_item_messages_item_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamChannelsItemMessagesItemSoftDeleteRequestBuilder) ToPostRequest } 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 *ItemTeamChannelsItemMessagesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesItemSoftDeleteRequestBuilder) { + return NewItemTeamChannelsItemMessagesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_item_undo_soft_delete_request_builder.go b/groups/item_team_channels_item_messages_item_undo_soft_delete_request_builder.go index 4348ae71937..d32c37be156 100644 --- a/groups/item_team_channels_item_messages_item_undo_soft_delete_request_builder.go +++ b/groups/item_team_channels_item_messages_item_undo_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) ToPostReq } 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 *ItemTeamChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) { + return NewItemTeamChannelsItemMessagesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_item_unset_reaction_request_builder.go b/groups/item_team_channels_item_messages_item_unset_reaction_request_builder.go index 343268f0467..bac6d286afa 100644 --- a/groups/item_team_channels_item_messages_item_unset_reaction_request_builder.go +++ b/groups/item_team_channels_item_messages_item_unset_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemTeamChannelsItemMessagesItemUnsetReactionRequestBuilder) ToPostRequ } 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 *ItemTeamChannelsItemMessagesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesItemUnsetReactionRequestBuilder) { + return NewItemTeamChannelsItemMessagesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_request_builder.go b/groups/item_team_channels_item_messages_request_builder.go index 6d6b24fe55e..e69e4c6707e 100644 --- a/groups/item_team_channels_item_messages_request_builder.go +++ b/groups/item_team_channels_item_messages_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamChannelsItemMessagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageIdString provides operations to manage the messages property of the microsoft.graph.channel entity. -func (m *ItemTeamChannelsItemMessagesRequestBuilder) ByChatMessageIdString(chatMessageId string)(*ItemTeamChannelsItemMessagesChatMessageItemRequestBuilder) { +// ByChatMessageId provides operations to manage the messages property of the microsoft.graph.channel entity. +func (m *ItemTeamChannelsItemMessagesRequestBuilder) ByChatMessageId(chatMessageId string)(*ItemTeamChannelsItemMessagesChatMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemTeamChannelsItemMessagesRequestBuilder) 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 *ItemTeamChannelsItemMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesRequestBuilder) { + return NewItemTeamChannelsItemMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_provision_email_request_builder.go b/groups/item_team_channels_item_provision_email_request_builder.go index e76fe34740e..8fb6a6b6d8e 100644 --- a/groups/item_team_channels_item_provision_email_request_builder.go +++ b/groups/item_team_channels_item_provision_email_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemTeamChannelsItemProvisionEmailRequestBuilder) ToPostRequestInformat } 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 *ItemTeamChannelsItemProvisionEmailRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemProvisionEmailRequestBuilder) { + return NewItemTeamChannelsItemProvisionEmailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_remove_email_request_builder.go b/groups/item_team_channels_item_remove_email_request_builder.go index 25df2150e62..fa270375ef8 100644 --- a/groups/item_team_channels_item_remove_email_request_builder.go +++ b/groups/item_team_channels_item_remove_email_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamChannelsItemRemoveEmailRequestBuilder) 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 *ItemTeamChannelsItemRemoveEmailRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemRemoveEmailRequestBuilder) { + return NewItemTeamChannelsItemRemoveEmailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_shared_with_teams_count_request_builder.go b/groups/item_team_channels_item_shared_with_teams_count_request_builder.go index bd260635cd6..5732df65d74 100644 --- a/groups/item_team_channels_item_shared_with_teams_count_request_builder.go +++ b/groups/item_team_channels_item_shared_with_teams_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamChannelsItemSharedWithTeamsCountRequestBuilder) ToGetRequestInf } 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 *ItemTeamChannelsItemSharedWithTeamsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemSharedWithTeamsCountRequestBuilder) { + return NewItemTeamChannelsItemSharedWithTeamsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go b/groups/item_team_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go index 7780e0917e6..9f0872d1515 100644 --- a/groups/item_team_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go +++ b/groups/item_team_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersConversationMember } 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 *ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { + return NewItemTeamChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_shared_with_teams_item_allowed_members_count_request_builder.go b/groups/item_team_channels_item_shared_with_teams_item_allowed_members_count_request_builder.go index 440259b15b7..7039e958222 100644 --- a/groups/item_team_channels_item_shared_with_teams_item_allowed_members_count_request_builder.go +++ b/groups/item_team_channels_item_shared_with_teams_item_allowed_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilde } 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 *ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilder) { + return NewItemTeamChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_shared_with_teams_item_allowed_members_request_builder.go b/groups/item_team_channels_item_shared_with_teams_item_allowed_members_request_builder.go index 51ea098e8ab..b35f5aff1e1 100644 --- a/groups/item_team_channels_item_shared_with_teams_item_allowed_members_request_builder.go +++ b/groups/item_team_channels_item_shared_with_teams_item_allowed_members_request_builder.go @@ -39,8 +39,8 @@ type ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetReque // Request query parameters QueryParameters *ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters } -// ByConversationMemberIdString provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. -func (m *ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. +func (m *ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) To } 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 *ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) { + return NewItemTeamChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_shared_with_teams_item_team_request_builder.go b/groups/item_team_channels_item_shared_with_teams_item_team_request_builder.go index 14115c961f6..50a4a850e45 100644 --- a/groups/item_team_channels_item_shared_with_teams_item_team_request_builder.go +++ b/groups/item_team_channels_item_shared_with_teams_item_team_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamChannelsItemSharedWithTeamsItemTeamRequestBuilder) ToGetRequest } 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 *ItemTeamChannelsItemSharedWithTeamsItemTeamRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemSharedWithTeamsItemTeamRequestBuilder) { + return NewItemTeamChannelsItemSharedWithTeamsItemTeamRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_shared_with_teams_request_builder.go b/groups/item_team_channels_item_shared_with_teams_request_builder.go index 104143ae744..fd890b9f6e1 100644 --- a/groups/item_team_channels_item_shared_with_teams_request_builder.go +++ b/groups/item_team_channels_item_shared_with_teams_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamChannelsItemSharedWithTeamsRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySharedWithChannelTeamInfoIdString provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. -func (m *ItemTeamChannelsItemSharedWithTeamsRequestBuilder) BySharedWithChannelTeamInfoIdString(sharedWithChannelTeamInfoId string)(*ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { +// BySharedWithChannelTeamInfoId provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. +func (m *ItemTeamChannelsItemSharedWithTeamsRequestBuilder) BySharedWithChannelTeamInfoId(sharedWithChannelTeamInfoId string)(*ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemTeamChannelsItemSharedWithTeamsRequestBuilder) ToPostRequestInforma } 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 *ItemTeamChannelsItemSharedWithTeamsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemSharedWithTeamsRequestBuilder) { + return NewItemTeamChannelsItemSharedWithTeamsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/groups/item_team_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index 82356c22474..5db4af8c565 100644 --- a/groups/item_team_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/groups/item_team_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -167,3 +167,7 @@ func (m *ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequest } 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 *ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { + return NewItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_tabs_count_request_builder.go b/groups/item_team_channels_item_tabs_count_request_builder.go index 833e89cdd4b..c0e72d7e8ae 100644 --- a/groups/item_team_channels_item_tabs_count_request_builder.go +++ b/groups/item_team_channels_item_tabs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamChannelsItemTabsCountRequestBuilder) ToGetRequestInformation(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 *ItemTeamChannelsItemTabsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemTabsCountRequestBuilder) { + return NewItemTeamChannelsItemTabsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_tabs_item_teams_app_request_builder.go b/groups/item_team_channels_item_tabs_item_teams_app_request_builder.go index d1f6c1e7752..75ea1dae3d0 100644 --- a/groups/item_team_channels_item_tabs_item_teams_app_request_builder.go +++ b/groups/item_team_channels_item_tabs_item_teams_app_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamChannelsItemTabsItemTeamsAppRequestBuilder) ToGetRequestInforma } 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 *ItemTeamChannelsItemTabsItemTeamsAppRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemTabsItemTeamsAppRequestBuilder) { + return NewItemTeamChannelsItemTabsItemTeamsAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_tabs_request_builder.go b/groups/item_team_channels_item_tabs_request_builder.go index 83b4ffe3ac7..d1c3f7cf71a 100644 --- a/groups/item_team_channels_item_tabs_request_builder.go +++ b/groups/item_team_channels_item_tabs_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamChannelsItemTabsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsTabIdString provides operations to manage the tabs property of the microsoft.graph.channel entity. -func (m *ItemTeamChannelsItemTabsRequestBuilder) ByTeamsTabIdString(teamsTabId string)(*ItemTeamChannelsItemTabsTeamsTabItemRequestBuilder) { +// ByTeamsTabId provides operations to manage the tabs property of the microsoft.graph.channel entity. +func (m *ItemTeamChannelsItemTabsRequestBuilder) ByTeamsTabId(teamsTabId string)(*ItemTeamChannelsItemTabsTeamsTabItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemTeamChannelsItemTabsRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemTeamChannelsItemTabsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemTabsRequestBuilder) { + return NewItemTeamChannelsItemTabsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_tabs_teams_tab_item_request_builder.go b/groups/item_team_channels_item_tabs_teams_tab_item_request_builder.go index 236af4f6c1e..29f8c2eb6f9 100644 --- a/groups/item_team_channels_item_tabs_teams_tab_item_request_builder.go +++ b/groups/item_team_channels_item_tabs_teams_tab_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemTeamChannelsItemTabsTeamsTabItemRequestBuilder) ToPatchRequestInfor } 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 *ItemTeamChannelsItemTabsTeamsTabItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemTabsTeamsTabItemRequestBuilder) { + return NewItemTeamChannelsItemTabsTeamsTabItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_request_builder.go b/groups/item_team_channels_request_builder.go index 7d6c295d2d5..cf502552f7a 100644 --- a/groups/item_team_channels_request_builder.go +++ b/groups/item_team_channels_request_builder.go @@ -50,8 +50,8 @@ type ItemTeamChannelsRequestBuilderPostRequestConfiguration struct { func (m *ItemTeamChannelsRequestBuilder) AllMessages()(*ItemTeamChannelsAllMessagesRequestBuilder) { return NewItemTeamChannelsAllMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByChannelIdString provides operations to manage the channels property of the microsoft.graph.team entity. -func (m *ItemTeamChannelsRequestBuilder) ByChannelIdString(channelId string)(*ItemTeamChannelsChannelItemRequestBuilder) { +// ByChannelId provides operations to manage the channels property of the microsoft.graph.team entity. +func (m *ItemTeamChannelsRequestBuilder) ByChannelId(channelId string)(*ItemTeamChannelsChannelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -159,3 +159,7 @@ func (m *ItemTeamChannelsRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ItemTeamChannelsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsRequestBuilder) { + return NewItemTeamChannelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_clone_request_builder.go b/groups/item_team_clone_request_builder.go index aebf904d038..d19cd885974 100644 --- a/groups/item_team_clone_request_builder.go +++ b/groups/item_team_clone_request_builder.go @@ -30,7 +30,7 @@ func NewItemTeamCloneRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee urlParams["request-raw-url"] = rawUrl return NewItemTeamCloneRequestBuilderInternal(urlParams, requestAdapter) } -// Post create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state -- they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation.After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. +// Post create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/team-clone?view=graph-rest-1.0 @@ -49,7 +49,7 @@ func (m *ItemTeamCloneRequestBuilder) Post(ctx context.Context, body ItemTeamClo } return nil } -// ToPostRequestInformation create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state -- they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation.After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. +// ToPostRequestInformation create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. func (m *ItemTeamCloneRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamClonePostRequestBodyable, requestConfiguration *ItemTeamCloneRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -65,3 +65,7 @@ func (m *ItemTeamCloneRequestBuilder) 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 *ItemTeamCloneRequestBuilder) WithUrl(rawUrl string)(*ItemTeamCloneRequestBuilder) { + return NewItemTeamCloneRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_complete_migration_request_builder.go b/groups/item_team_complete_migration_request_builder.go index 20f9c8426c8..ab033e0e238 100644 --- a/groups/item_team_complete_migration_request_builder.go +++ b/groups/item_team_complete_migration_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamCompleteMigrationRequestBuilder) ToPostRequestInformation(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 *ItemTeamCompleteMigrationRequestBuilder) WithUrl(rawUrl string)(*ItemTeamCompleteMigrationRequestBuilder) { + return NewItemTeamCompleteMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_group_request_builder.go b/groups/item_team_group_request_builder.go index 7f7f8643ccf..8eeaae325e2 100644 --- a/groups/item_team_group_request_builder.go +++ b/groups/item_team_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamGroupRequestBuilder) ToGetRequestInformation(ctx context.Contex } 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 *ItemTeamGroupRequestBuilder) WithUrl(rawUrl string)(*ItemTeamGroupRequestBuilder) { + return NewItemTeamGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_incoming_channels_channel_item_request_builder.go b/groups/item_team_incoming_channels_channel_item_request_builder.go index a3a0e6a0926..09396d44ae5 100644 --- a/groups/item_team_incoming_channels_channel_item_request_builder.go +++ b/groups/item_team_incoming_channels_channel_item_request_builder.go @@ -113,3 +113,7 @@ func (m *ItemTeamIncomingChannelsChannelItemRequestBuilder) ToGetRequestInformat } 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 *ItemTeamIncomingChannelsChannelItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamIncomingChannelsChannelItemRequestBuilder) { + return NewItemTeamIncomingChannelsChannelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_incoming_channels_count_request_builder.go b/groups/item_team_incoming_channels_count_request_builder.go index e7c1b68501b..c7155512859 100644 --- a/groups/item_team_incoming_channels_count_request_builder.go +++ b/groups/item_team_incoming_channels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamIncomingChannelsCountRequestBuilder) ToGetRequestInformation(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 *ItemTeamIncomingChannelsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamIncomingChannelsCountRequestBuilder) { + return NewItemTeamIncomingChannelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_incoming_channels_request_builder.go b/groups/item_team_incoming_channels_request_builder.go index 5767fdd4ebc..c0954ecb476 100644 --- a/groups/item_team_incoming_channels_request_builder.go +++ b/groups/item_team_incoming_channels_request_builder.go @@ -39,8 +39,8 @@ type ItemTeamIncomingChannelsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemTeamIncomingChannelsRequestBuilderGetQueryParameters } -// ByChannelIdString provides operations to manage the incomingChannels property of the microsoft.graph.team entity. -func (m *ItemTeamIncomingChannelsRequestBuilder) ByChannelIdString(channelId string)(*ItemTeamIncomingChannelsChannelItemRequestBuilder) { +// ByChannelId provides operations to manage the incomingChannels property of the microsoft.graph.team entity. +func (m *ItemTeamIncomingChannelsRequestBuilder) ByChannelId(channelId string)(*ItemTeamIncomingChannelsChannelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemTeamIncomingChannelsRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemTeamIncomingChannelsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamIncomingChannelsRequestBuilder) { + return NewItemTeamIncomingChannelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_installed_apps_count_request_builder.go b/groups/item_team_installed_apps_count_request_builder.go index 317c13f1c59..0c60d930cdc 100644 --- a/groups/item_team_installed_apps_count_request_builder.go +++ b/groups/item_team_installed_apps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamInstalledAppsCountRequestBuilder) ToGetRequestInformation(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 *ItemTeamInstalledAppsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamInstalledAppsCountRequestBuilder) { + return NewItemTeamInstalledAppsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_installed_apps_item_teams_app_definition_request_builder.go b/groups/item_team_installed_apps_item_teams_app_definition_request_builder.go index 9638fd5d37a..d0874c5706c 100644 --- a/groups/item_team_installed_apps_item_teams_app_definition_request_builder.go +++ b/groups/item_team_installed_apps_item_teams_app_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamInstalledAppsItemTeamsAppDefinitionRequestBuilder) ToGetRequest } 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 *ItemTeamInstalledAppsItemTeamsAppDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemTeamInstalledAppsItemTeamsAppDefinitionRequestBuilder) { + return NewItemTeamInstalledAppsItemTeamsAppDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_installed_apps_item_teams_app_request_builder.go b/groups/item_team_installed_apps_item_teams_app_request_builder.go index e50e42cc368..1e7ae01e657 100644 --- a/groups/item_team_installed_apps_item_teams_app_request_builder.go +++ b/groups/item_team_installed_apps_item_teams_app_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamInstalledAppsItemTeamsAppRequestBuilder) 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 *ItemTeamInstalledAppsItemTeamsAppRequestBuilder) WithUrl(rawUrl string)(*ItemTeamInstalledAppsItemTeamsAppRequestBuilder) { + return NewItemTeamInstalledAppsItemTeamsAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_installed_apps_item_upgrade_request_builder.go b/groups/item_team_installed_apps_item_upgrade_request_builder.go index 696ebea04a5..97ce7e58c87 100644 --- a/groups/item_team_installed_apps_item_upgrade_request_builder.go +++ b/groups/item_team_installed_apps_item_upgrade_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemTeamInstalledAppsItemUpgradeRequestBuilder) ToPostRequestInformatio } 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 *ItemTeamInstalledAppsItemUpgradeRequestBuilder) WithUrl(rawUrl string)(*ItemTeamInstalledAppsItemUpgradeRequestBuilder) { + return NewItemTeamInstalledAppsItemUpgradeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_installed_apps_request_builder.go b/groups/item_team_installed_apps_request_builder.go index b12dd3c90fd..b0100e76590 100644 --- a/groups/item_team_installed_apps_request_builder.go +++ b/groups/item_team_installed_apps_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamInstalledAppsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsAppInstallationIdString provides operations to manage the installedApps property of the microsoft.graph.team entity. -func (m *ItemTeamInstalledAppsRequestBuilder) ByTeamsAppInstallationIdString(teamsAppInstallationId string)(*ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilder) { +// ByTeamsAppInstallationId provides operations to manage the installedApps property of the microsoft.graph.team entity. +func (m *ItemTeamInstalledAppsRequestBuilder) ByTeamsAppInstallationId(teamsAppInstallationId string)(*ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTeamInstalledAppsRequestBuilder) 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 *ItemTeamInstalledAppsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamInstalledAppsRequestBuilder) { + return NewItemTeamInstalledAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_installed_apps_teams_app_installation_item_request_builder.go b/groups/item_team_installed_apps_teams_app_installation_item_request_builder.go index 32e510decb9..c0e053bd3fb 100644 --- a/groups/item_team_installed_apps_teams_app_installation_item_request_builder.go +++ b/groups/item_team_installed_apps_teams_app_installation_item_request_builder.go @@ -171,3 +171,7 @@ func (m *ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilder) ToPatchReq func (m *ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilder) Upgrade()(*ItemTeamInstalledAppsItemUpgradeRequestBuilder) { return NewItemTeamInstalledAppsItemUpgradeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilder) { + return NewItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_members_add_request_builder.go b/groups/item_team_members_add_request_builder.go index ff8ccc700cf..ccd8dc9e76a 100644 --- a/groups/item_team_members_add_request_builder.go +++ b/groups/item_team_members_add_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemTeamMembersAddRequestBuilder) 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 *ItemTeamMembersAddRequestBuilder) WithUrl(rawUrl string)(*ItemTeamMembersAddRequestBuilder) { + return NewItemTeamMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_members_conversation_member_item_request_builder.go b/groups/item_team_members_conversation_member_item_request_builder.go index 45bb39b1300..657232523b6 100644 --- a/groups/item_team_members_conversation_member_item_request_builder.go +++ b/groups/item_team_members_conversation_member_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemTeamMembersConversationMemberItemRequestBuilder) 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 *ItemTeamMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamMembersConversationMemberItemRequestBuilder) { + return NewItemTeamMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_members_count_request_builder.go b/groups/item_team_members_count_request_builder.go index 31053b27f2e..60859eed6f1 100644 --- a/groups/item_team_members_count_request_builder.go +++ b/groups/item_team_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamMembersCountRequestBuilder) ToGetRequestInformation(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 *ItemTeamMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamMembersCountRequestBuilder) { + return NewItemTeamMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_members_request_builder.go b/groups/item_team_members_request_builder.go index efd621451a6..6221e574e6c 100644 --- a/groups/item_team_members_request_builder.go +++ b/groups/item_team_members_request_builder.go @@ -50,8 +50,8 @@ type ItemTeamMembersRequestBuilderPostRequestConfiguration struct { func (m *ItemTeamMembersRequestBuilder) Add()(*ItemTeamMembersAddRequestBuilder) { return NewItemTeamMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByConversationMemberIdString provides operations to manage the members property of the microsoft.graph.team entity. -func (m *ItemTeamMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*ItemTeamMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the members property of the microsoft.graph.team entity. +func (m *ItemTeamMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemTeamMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemTeamMembersRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *ItemTeamMembersRequestBuilder) WithUrl(rawUrl string)(*ItemTeamMembersRequestBuilder) { + return NewItemTeamMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_operations_count_request_builder.go b/groups/item_team_operations_count_request_builder.go index 60941c55a03..506fed79e94 100644 --- a/groups/item_team_operations_count_request_builder.go +++ b/groups/item_team_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamOperationsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemTeamOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamOperationsCountRequestBuilder) { + return NewItemTeamOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_operations_request_builder.go b/groups/item_team_operations_request_builder.go index e2b49ac03e5..80a8362e1e9 100644 --- a/groups/item_team_operations_request_builder.go +++ b/groups/item_team_operations_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsAsyncOperationIdString provides operations to manage the operations property of the microsoft.graph.team entity. -func (m *ItemTeamOperationsRequestBuilder) ByTeamsAsyncOperationIdString(teamsAsyncOperationId string)(*ItemTeamOperationsTeamsAsyncOperationItemRequestBuilder) { +// ByTeamsAsyncOperationId provides operations to manage the operations property of the microsoft.graph.team entity. +func (m *ItemTeamOperationsRequestBuilder) ByTeamsAsyncOperationId(teamsAsyncOperationId string)(*ItemTeamOperationsTeamsAsyncOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTeamOperationsRequestBuilder) 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 *ItemTeamOperationsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamOperationsRequestBuilder) { + return NewItemTeamOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_operations_teams_async_operation_item_request_builder.go b/groups/item_team_operations_teams_async_operation_item_request_builder.go index 0b9bd06f8b3..b0eff94c23a 100644 --- a/groups/item_team_operations_teams_async_operation_item_request_builder.go +++ b/groups/item_team_operations_teams_async_operation_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemTeamOperationsTeamsAsyncOperationItemRequestBuilder) ToPatchRequest } 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 *ItemTeamOperationsTeamsAsyncOperationItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamOperationsTeamsAsyncOperationItemRequestBuilder) { + return NewItemTeamOperationsTeamsAsyncOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_owners_count_request_builder.go b/groups/item_team_owners_count_request_builder.go index f2dd1387fba..57b6fd23749 100644 --- a/groups/item_team_owners_count_request_builder.go +++ b/groups/item_team_owners_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamOwnersCountRequestBuilder) ToGetRequestInformation(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 *ItemTeamOwnersCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamOwnersCountRequestBuilder) { + return NewItemTeamOwnersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_owners_item_mailbox_settings_request_builder.go b/groups/item_team_owners_item_mailbox_settings_request_builder.go index 22418c78bcc..f9074b5112e 100644 --- a/groups/item_team_owners_item_mailbox_settings_request_builder.go +++ b/groups/item_team_owners_item_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemTeamOwnersItemMailboxSettingsRequestBuilder) ToPatchRequestInformat } 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 *ItemTeamOwnersItemMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamOwnersItemMailboxSettingsRequestBuilder) { + return NewItemTeamOwnersItemMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_owners_request_builder.go b/groups/item_team_owners_request_builder.go index 3e7c9b7318c..e7572ec8c9c 100644 --- a/groups/item_team_owners_request_builder.go +++ b/groups/item_team_owners_request_builder.go @@ -39,8 +39,8 @@ type ItemTeamOwnersRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemTeamOwnersRequestBuilderGetQueryParameters } -// ByUserIdString provides operations to manage the owners property of the microsoft.graph.team entity. -func (m *ItemTeamOwnersRequestBuilder) ByUserIdString(userId string)(*ItemTeamOwnersUserItemRequestBuilder) { +// ByUserId provides operations to manage the owners property of the microsoft.graph.team entity. +func (m *ItemTeamOwnersRequestBuilder) ByUserId(userId string)(*ItemTeamOwnersUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemTeamOwnersRequestBuilder) ToGetRequestInformation(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 *ItemTeamOwnersRequestBuilder) WithUrl(rawUrl string)(*ItemTeamOwnersRequestBuilder) { + return NewItemTeamOwnersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_owners_user_item_request_builder.go b/groups/item_team_owners_user_item_request_builder.go index eb03a13dc7e..2755d8a2c15 100644 --- a/groups/item_team_owners_user_item_request_builder.go +++ b/groups/item_team_owners_user_item_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemTeamOwnersUserItemRequestBuilder) ToGetRequestInformation(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 *ItemTeamOwnersUserItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamOwnersUserItemRequestBuilder) { + return NewItemTeamOwnersUserItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_permission_grants_count_request_builder.go b/groups/item_team_permission_grants_count_request_builder.go index 8acf777a1a7..bc15b9193d4 100644 --- a/groups/item_team_permission_grants_count_request_builder.go +++ b/groups/item_team_permission_grants_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamPermissionGrantsCountRequestBuilder) ToGetRequestInformation(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 *ItemTeamPermissionGrantsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPermissionGrantsCountRequestBuilder) { + return NewItemTeamPermissionGrantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_permission_grants_delta_request_builder.go b/groups/item_team_permission_grants_delta_request_builder.go index dac34da9b9a..3eed2cbae54 100644 --- a/groups/item_team_permission_grants_delta_request_builder.go +++ b/groups/item_team_permission_grants_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemTeamPermissionGrantsDeltaRequestBuilder) ToGetRequestInformation(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 *ItemTeamPermissionGrantsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPermissionGrantsDeltaRequestBuilder) { + return NewItemTeamPermissionGrantsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_permission_grants_get_by_ids_request_builder.go b/groups/item_team_permission_grants_get_by_ids_request_builder.go index d49d8d14c1a..2023e3bc868 100644 --- a/groups/item_team_permission_grants_get_by_ids_request_builder.go +++ b/groups/item_team_permission_grants_get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemTeamPermissionGrantsGetByIdsRequestBuilder) ToPostRequestInformatio } 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 *ItemTeamPermissionGrantsGetByIdsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPermissionGrantsGetByIdsRequestBuilder) { + return NewItemTeamPermissionGrantsGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_permission_grants_get_user_owned_objects_request_builder.go b/groups/item_team_permission_grants_get_user_owned_objects_request_builder.go index 17230a15470..5994c592de3 100644 --- a/groups/item_team_permission_grants_get_user_owned_objects_request_builder.go +++ b/groups/item_team_permission_grants_get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemTeamPermissionGrantsGetUserOwnedObjectsRequestBuilder) ToPostReques } 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 *ItemTeamPermissionGrantsGetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPermissionGrantsGetUserOwnedObjectsRequestBuilder) { + return NewItemTeamPermissionGrantsGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_permission_grants_item_check_member_groups_request_builder.go b/groups/item_team_permission_grants_item_check_member_groups_request_builder.go index 14cee871154..3ae8ecea454 100644 --- a/groups/item_team_permission_grants_item_check_member_groups_request_builder.go +++ b/groups/item_team_permission_grants_item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemTeamPermissionGrantsItemCheckMemberGroupsRequestBuilder) ToPostRequ } 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 *ItemTeamPermissionGrantsItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPermissionGrantsItemCheckMemberGroupsRequestBuilder) { + return NewItemTeamPermissionGrantsItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_permission_grants_item_check_member_objects_request_builder.go b/groups/item_team_permission_grants_item_check_member_objects_request_builder.go index e7dc29bb022..a04ad7c3c6f 100644 --- a/groups/item_team_permission_grants_item_check_member_objects_request_builder.go +++ b/groups/item_team_permission_grants_item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemTeamPermissionGrantsItemCheckMemberObjectsRequestBuilder) ToPostReq } 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 *ItemTeamPermissionGrantsItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPermissionGrantsItemCheckMemberObjectsRequestBuilder) { + return NewItemTeamPermissionGrantsItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_permission_grants_item_get_member_groups_request_builder.go b/groups/item_team_permission_grants_item_get_member_groups_request_builder.go index 485bc880efc..1a7b6b353b6 100644 --- a/groups/item_team_permission_grants_item_get_member_groups_request_builder.go +++ b/groups/item_team_permission_grants_item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemTeamPermissionGrantsItemGetMemberGroupsRequestBuilder) ToPostReques } 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 *ItemTeamPermissionGrantsItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPermissionGrantsItemGetMemberGroupsRequestBuilder) { + return NewItemTeamPermissionGrantsItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_permission_grants_item_get_member_objects_request_builder.go b/groups/item_team_permission_grants_item_get_member_objects_request_builder.go index fc4debfbef0..6488349b15f 100644 --- a/groups/item_team_permission_grants_item_get_member_objects_request_builder.go +++ b/groups/item_team_permission_grants_item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemTeamPermissionGrantsItemGetMemberObjectsRequestBuilder) ToPostReque } 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 *ItemTeamPermissionGrantsItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPermissionGrantsItemGetMemberObjectsRequestBuilder) { + return NewItemTeamPermissionGrantsItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_permission_grants_item_restore_request_builder.go b/groups/item_team_permission_grants_item_restore_request_builder.go index dd251564eb6..e2f3d54b87e 100644 --- a/groups/item_team_permission_grants_item_restore_request_builder.go +++ b/groups/item_team_permission_grants_item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemTeamPermissionGrantsItemRestoreRequestBuilder) ToPostRequestInforma } 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 *ItemTeamPermissionGrantsItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPermissionGrantsItemRestoreRequestBuilder) { + return NewItemTeamPermissionGrantsItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_permission_grants_request_builder.go b/groups/item_team_permission_grants_request_builder.go index dc892b9e32b..5cc44b58492 100644 --- a/groups/item_team_permission_grants_request_builder.go +++ b/groups/item_team_permission_grants_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamPermissionGrantsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByResourceSpecificPermissionGrantIdString provides operations to manage the permissionGrants property of the microsoft.graph.team entity. -func (m *ItemTeamPermissionGrantsRequestBuilder) ByResourceSpecificPermissionGrantIdString(resourceSpecificPermissionGrantId string)(*ItemTeamPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { +// ByResourceSpecificPermissionGrantId provides operations to manage the permissionGrants property of the microsoft.graph.team entity. +func (m *ItemTeamPermissionGrantsRequestBuilder) ByResourceSpecificPermissionGrantId(resourceSpecificPermissionGrantId string)(*ItemTeamPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -164,3 +164,7 @@ func (m *ItemTeamPermissionGrantsRequestBuilder) ToPostRequestInformation(ctx co func (m *ItemTeamPermissionGrantsRequestBuilder) ValidateProperties()(*ItemTeamPermissionGrantsValidatePropertiesRequestBuilder) { return NewItemTeamPermissionGrantsValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTeamPermissionGrantsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPermissionGrantsRequestBuilder) { + return NewItemTeamPermissionGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_permission_grants_resource_specific_permission_grant_item_request_builder.go b/groups/item_team_permission_grants_resource_specific_permission_grant_item_request_builder.go index 701afd14a61..dce90578936 100644 --- a/groups/item_team_permission_grants_resource_specific_permission_grant_item_request_builder.go +++ b/groups/item_team_permission_grants_resource_specific_permission_grant_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemTeamPermissionGrantsResourceSpecificPermissionGrantItemRequestBuild } 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 *ItemTeamPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { + return NewItemTeamPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_permission_grants_validate_properties_request_builder.go b/groups/item_team_permission_grants_validate_properties_request_builder.go index 685814eb8f8..fd2ff9b9588 100644 --- a/groups/item_team_permission_grants_validate_properties_request_builder.go +++ b/groups/item_team_permission_grants_validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemTeamPermissionGrantsValidatePropertiesRequestBuilder) ToPostRequest } 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 *ItemTeamPermissionGrantsValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPermissionGrantsValidatePropertiesRequestBuilder) { + return NewItemTeamPermissionGrantsValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_photo_request_builder.go b/groups/item_team_photo_request_builder.go index 51f121e5f78..1c2a7ff80a4 100644 --- a/groups/item_team_photo_request_builder.go +++ b/groups/item_team_photo_request_builder.go @@ -122,3 +122,7 @@ func (m *ItemTeamPhotoRequestBuilder) ToPatchRequestInformation(ctx context.Cont } 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 *ItemTeamPhotoRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPhotoRequestBuilder) { + return NewItemTeamPhotoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_photo_value_content_request_builder.go b/groups/item_team_photo_value_content_request_builder.go index eaf35e115bc..21ef2e00634 100644 --- a/groups/item_team_photo_value_content_request_builder.go +++ b/groups/item_team_photo_value_content_request_builder.go @@ -100,3 +100,7 @@ func (m *ItemTeamPhotoValueContentRequestBuilder) ToPutRequestInformation(ctx co } 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 *ItemTeamPhotoValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPhotoValueContentRequestBuilder) { + return NewItemTeamPhotoValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_complete_migration_request_builder.go b/groups/item_team_primary_channel_complete_migration_request_builder.go index eacfe954db1..d2f7bea9540 100644 --- a/groups/item_team_primary_channel_complete_migration_request_builder.go +++ b/groups/item_team_primary_channel_complete_migration_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamPrimaryChannelCompleteMigrationRequestBuilder) ToPostRequestInf } 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 *ItemTeamPrimaryChannelCompleteMigrationRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelCompleteMigrationRequestBuilder) { + return NewItemTeamPrimaryChannelCompleteMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/groups/item_team_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index 84a30fd287e..bfc06ce5a62 100644 --- a/groups/item_team_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/groups/item_team_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -13,11 +13,11 @@ type ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPri // ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters invoke function doesUserHaveAccess type ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' - TenantId *string + TenantId *string `uriparametername:"tenantId"` // Usage: userId='@userId' - UserId *string + UserId *string `uriparametername:"userId"` // Usage: userPrincipalName='@userPrincipalName' - UserPrincipalName *string + UserPrincipalName *string `uriparametername:"userPrincipalName"` } // ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration struct { @@ -76,3 +76,7 @@ func (m *ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUse } 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 *ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) { + return NewItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_files_folder_content_request_builder.go b/groups/item_team_primary_channel_files_folder_content_request_builder.go index 0d86f6fb142..371cb3e3356 100644 --- a/groups/item_team_primary_channel_files_folder_content_request_builder.go +++ b/groups/item_team_primary_channel_files_folder_content_request_builder.go @@ -105,3 +105,7 @@ func (m *ItemTeamPrimaryChannelFilesFolderContentRequestBuilder) ToPutRequestInf } 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 *ItemTeamPrimaryChannelFilesFolderContentRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelFilesFolderContentRequestBuilder) { + return NewItemTeamPrimaryChannelFilesFolderContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_files_folder_request_builder.go b/groups/item_team_primary_channel_files_folder_request_builder.go index 69c7b2bd670..d3374728c36 100644 --- a/groups/item_team_primary_channel_files_folder_request_builder.go +++ b/groups/item_team_primary_channel_files_folder_request_builder.go @@ -82,3 +82,7 @@ func (m *ItemTeamPrimaryChannelFilesFolderRequestBuilder) 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 *ItemTeamPrimaryChannelFilesFolderRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelFilesFolderRequestBuilder) { + return NewItemTeamPrimaryChannelFilesFolderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_members_add_request_builder.go b/groups/item_team_primary_channel_members_add_request_builder.go index ba38002b3b7..6e9d6a4ace9 100644 --- a/groups/item_team_primary_channel_members_add_request_builder.go +++ b/groups/item_team_primary_channel_members_add_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemTeamPrimaryChannelMembersAddRequestBuilder) ToPostRequestInformatio } 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 *ItemTeamPrimaryChannelMembersAddRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMembersAddRequestBuilder) { + return NewItemTeamPrimaryChannelMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_members_conversation_member_item_request_builder.go b/groups/item_team_primary_channel_members_conversation_member_item_request_builder.go index ccc8f0b9719..3bcfa3e8320 100644 --- a/groups/item_team_primary_channel_members_conversation_member_item_request_builder.go +++ b/groups/item_team_primary_channel_members_conversation_member_item_request_builder.go @@ -95,10 +95,10 @@ func (m *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team.or channel. +// Patch update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -145,7 +145,7 @@ func (m *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) ToGe } return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team.or channel. +// ToPatchRequestInformation update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. func (m *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -162,3 +162,7 @@ func (m *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) ToPa } 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 *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) { + return NewItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_members_count_request_builder.go b/groups/item_team_primary_channel_members_count_request_builder.go index 3955cfcb253..654f23dfc0f 100644 --- a/groups/item_team_primary_channel_members_count_request_builder.go +++ b/groups/item_team_primary_channel_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamPrimaryChannelMembersCountRequestBuilder) ToGetRequestInformati } 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 *ItemTeamPrimaryChannelMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMembersCountRequestBuilder) { + return NewItemTeamPrimaryChannelMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_members_request_builder.go b/groups/item_team_primary_channel_members_request_builder.go index 98b1747e5bc..30a452cfa6b 100644 --- a/groups/item_team_primary_channel_members_request_builder.go +++ b/groups/item_team_primary_channel_members_request_builder.go @@ -50,8 +50,8 @@ type ItemTeamPrimaryChannelMembersRequestBuilderPostRequestConfiguration struct func (m *ItemTeamPrimaryChannelMembersRequestBuilder) Add()(*ItemTeamPrimaryChannelMembersAddRequestBuilder) { return NewItemTeamPrimaryChannelMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByConversationMemberIdString provides operations to manage the members property of the microsoft.graph.channel entity. -func (m *ItemTeamPrimaryChannelMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the members property of the microsoft.graph.channel entity. +func (m *ItemTeamPrimaryChannelMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemTeamPrimaryChannelMembersRequestBuilder) ToPostRequestInformation(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 *ItemTeamPrimaryChannelMembersRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMembersRequestBuilder) { + return NewItemTeamPrimaryChannelMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_chat_message_item_request_builder.go b/groups/item_team_primary_channel_messages_chat_message_item_request_builder.go index 4675953411d..708c9207aa2 100644 --- a/groups/item_team_primary_channel_messages_chat_message_item_request_builder.go +++ b/groups/item_team_primary_channel_messages_chat_message_item_request_builder.go @@ -183,3 +183,7 @@ func (m *ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilder) UndoSoftDe func (m *ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilder) UnsetReaction()(*ItemTeamPrimaryChannelMessagesItemUnsetReactionRequestBuilder) { return NewItemTeamPrimaryChannelMessagesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_count_request_builder.go b/groups/item_team_primary_channel_messages_count_request_builder.go index 40d141aeb77..23a957f6b3e 100644 --- a/groups/item_team_primary_channel_messages_count_request_builder.go +++ b/groups/item_team_primary_channel_messages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamPrimaryChannelMessagesCountRequestBuilder) ToGetRequestInformat } 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 *ItemTeamPrimaryChannelMessagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesCountRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_delta_request_builder.go b/groups/item_team_primary_channel_messages_delta_request_builder.go index b71236497b2..f7fa1226be7 100644 --- a/groups/item_team_primary_channel_messages_delta_request_builder.go +++ b/groups/item_team_primary_channel_messages_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemTeamPrimaryChannelMessagesDeltaRequestBuilder) ToGetRequestInformat } 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 *ItemTeamPrimaryChannelMessagesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesDeltaRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/groups/item_team_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index db64b583380..7189ee79429 100644 --- a/groups/item_team_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemHostedContentsChatMessageHostedConten } 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 *ItemTeamPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_item_hosted_contents_count_request_builder.go b/groups/item_team_primary_channel_messages_item_hosted_contents_count_request_builder.go index d8c37b89fa0..07a75b1224f 100644 --- a/groups/item_team_primary_channel_messages_item_hosted_contents_count_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_hosted_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemHostedContentsCountRequestBuilder) To } 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 *ItemTeamPrimaryChannelMessagesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesItemHostedContentsCountRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go b/groups/item_team_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go index f3a9b304e68..72ca93a7310 100644 --- a/groups/item_team_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemHostedContentsItemValueContentRequest } 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 *ItemTeamPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_item_hosted_contents_request_builder.go b/groups/item_team_primary_channel_messages_item_hosted_contents_request_builder.go index c0f50753dc0..7d862f51084 100644 --- a/groups/item_team_primary_channel_messages_item_hosted_contents_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_hosted_contents_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamPrimaryChannelMessagesItemHostedContentsRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageHostedContentIdString provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. -func (m *ItemTeamPrimaryChannelMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentIdString(chatMessageHostedContentId string)(*ItemTeamPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +func (m *ItemTeamPrimaryChannelMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*ItemTeamPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemHostedContentsRequestBuilder) ToPostR } 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 *ItemTeamPrimaryChannelMessagesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesItemHostedContentsRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_item_replies_chat_message_item_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_chat_message_item_request_builder.go index b766ca88750..04461281567 100644 --- a/groups/item_team_primary_channel_messages_item_replies_chat_message_item_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_chat_message_item_request_builder.go @@ -176,3 +176,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) func (m *ItemTeamPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) UnsetReaction()(*ItemTeamPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder) { return NewItemTeamPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTeamPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_item_replies_count_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_count_request_builder.go index cc7332256a5..28c7578c190 100644 --- a/groups/item_team_primary_channel_messages_item_replies_count_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesCountRequestBuilder) ToGetRequ } 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 *ItemTeamPrimaryChannelMessagesItemRepliesCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesItemRepliesCountRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesItemRepliesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_item_replies_delta_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_delta_request_builder.go index 9ef31da1b19..9a9d0f7fe74 100644 --- a/groups/item_team_primary_channel_messages_item_replies_delta_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) ToGetRequ } 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 *ItemTeamPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesItemRepliesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 3b1fef1c01a..90d86c8ae31 100644 --- a/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageH } 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 *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_count_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_count_request_builder.go index d32f442129e..9aa32caff66 100644 --- a/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_count_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsCountRequest } 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 *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsCountRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index 1b8a590f2b3..922e1e7a29d 100644 --- a/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueCon } 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 *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go index 28842f1dd63..29d23e0d53b 100644 --- a/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilderPo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageHostedContentIdString provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. -func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentIdString(chatMessageHostedContentId string)(*ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuild } 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 *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_item_replies_item_set_reaction_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_item_set_reaction_request_builder.go index 4daf77ad458..6d779ee33f5 100644 --- a/groups/item_team_primary_channel_messages_item_replies_item_set_reaction_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_item_set_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemSetReactionRequestBuilder) } 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 *ItemTeamPrimaryChannelMessagesItemRepliesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesItemRepliesItemSetReactionRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesItemRepliesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_item_replies_item_soft_delete_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_item_soft_delete_request_builder.go index b86db8f4ebb..ca21148174f 100644 --- a/groups/item_team_primary_channel_messages_item_replies_item_soft_delete_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_item_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilder) } 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 *ItemTeamPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go index c6aab38d72e..39244556132 100644 --- a/groups/item_team_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuild } 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 *ItemTeamPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go index 0f37df7c724..0d30be05ffe 100644 --- a/groups/item_team_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilde } 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 *ItemTeamPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_item_replies_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_request_builder.go index 58c934021a3..1c09c6d326a 100644 --- a/groups/item_team_primary_channel_messages_item_replies_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageId1String provides operations to manage the replies property of the microsoft.graph.chatMessage entity. -func (m *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder) ByChatMessageId1String(chatMessageId1 string)(*ItemTeamPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) { +// ByChatMessageId1 provides operations to manage the replies property of the microsoft.graph.chatMessage entity. +func (m *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder) ByChatMessageId1(chatMessageId1 string)(*ItemTeamPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder) ToPostRequestI } 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 *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_item_set_reaction_request_builder.go b/groups/item_team_primary_channel_messages_item_set_reaction_request_builder.go index ece0039cbc6..af9a9c24c2a 100644 --- a/groups/item_team_primary_channel_messages_item_set_reaction_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_set_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemSetReactionRequestBuilder) ToPostRequ } 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 *ItemTeamPrimaryChannelMessagesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesItemSetReactionRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_item_soft_delete_request_builder.go b/groups/item_team_primary_channel_messages_item_soft_delete_request_builder.go index 2dad0f97d60..2b4382ab497 100644 --- a/groups/item_team_primary_channel_messages_item_soft_delete_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemSoftDeleteRequestBuilder) ToPostReque } 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 *ItemTeamPrimaryChannelMessagesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesItemSoftDeleteRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_item_undo_soft_delete_request_builder.go b/groups/item_team_primary_channel_messages_item_undo_soft_delete_request_builder.go index f21bf0d48d5..16e043f9b34 100644 --- a/groups/item_team_primary_channel_messages_item_undo_soft_delete_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_undo_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder) ToPostR } 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 *ItemTeamPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_item_unset_reaction_request_builder.go b/groups/item_team_primary_channel_messages_item_unset_reaction_request_builder.go index cccb45a59a4..44d43ae87a1 100644 --- a/groups/item_team_primary_channel_messages_item_unset_reaction_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_unset_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemUnsetReactionRequestBuilder) ToPostRe } 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 *ItemTeamPrimaryChannelMessagesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesItemUnsetReactionRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_request_builder.go b/groups/item_team_primary_channel_messages_request_builder.go index 019d318f308..c7f151fcb62 100644 --- a/groups/item_team_primary_channel_messages_request_builder.go +++ b/groups/item_team_primary_channel_messages_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamPrimaryChannelMessagesRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageIdString provides operations to manage the messages property of the microsoft.graph.channel entity. -func (m *ItemTeamPrimaryChannelMessagesRequestBuilder) ByChatMessageIdString(chatMessageId string)(*ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilder) { +// ByChatMessageId provides operations to manage the messages property of the microsoft.graph.channel entity. +func (m *ItemTeamPrimaryChannelMessagesRequestBuilder) ByChatMessageId(chatMessageId string)(*ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemTeamPrimaryChannelMessagesRequestBuilder) 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 *ItemTeamPrimaryChannelMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_provision_email_request_builder.go b/groups/item_team_primary_channel_provision_email_request_builder.go index ef3947c3df8..1836210e8a6 100644 --- a/groups/item_team_primary_channel_provision_email_request_builder.go +++ b/groups/item_team_primary_channel_provision_email_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemTeamPrimaryChannelProvisionEmailRequestBuilder) ToPostRequestInform } 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 *ItemTeamPrimaryChannelProvisionEmailRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelProvisionEmailRequestBuilder) { + return NewItemTeamPrimaryChannelProvisionEmailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_remove_email_request_builder.go b/groups/item_team_primary_channel_remove_email_request_builder.go index 935ca19e977..1208ffcbe97 100644 --- a/groups/item_team_primary_channel_remove_email_request_builder.go +++ b/groups/item_team_primary_channel_remove_email_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamPrimaryChannelRemoveEmailRequestBuilder) ToPostRequestInformati } 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 *ItemTeamPrimaryChannelRemoveEmailRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelRemoveEmailRequestBuilder) { + return NewItemTeamPrimaryChannelRemoveEmailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_request_builder.go b/groups/item_team_primary_channel_request_builder.go index 25999783db0..19fa2f12354 100644 --- a/groups/item_team_primary_channel_request_builder.go +++ b/groups/item_team_primary_channel_request_builder.go @@ -192,3 +192,7 @@ func (m *ItemTeamPrimaryChannelRequestBuilder) ToPatchRequestInformation(ctx con } 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 *ItemTeamPrimaryChannelRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelRequestBuilder) { + return NewItemTeamPrimaryChannelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_shared_with_teams_count_request_builder.go b/groups/item_team_primary_channel_shared_with_teams_count_request_builder.go index 7c27664d14c..693cd16c2bf 100644 --- a/groups/item_team_primary_channel_shared_with_teams_count_request_builder.go +++ b/groups/item_team_primary_channel_shared_with_teams_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamPrimaryChannelSharedWithTeamsCountRequestBuilder) ToGetRequestI } 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 *ItemTeamPrimaryChannelSharedWithTeamsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelSharedWithTeamsCountRequestBuilder) { + return NewItemTeamPrimaryChannelSharedWithTeamsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go b/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go index 66022918e4a..00401f120ec 100644 --- a/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go +++ b/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemb } 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 *ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { + return NewItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_count_request_builder.go b/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_count_request_builder.go index 307404e724c..d2338134a06 100644 --- a/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_count_request_builder.go +++ b/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersCountRequestBuil } 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 *ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersCountRequestBuilder) { + return NewItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_request_builder.go b/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_request_builder.go index 627f0e80774..797c5b5ca10 100644 --- a/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_request_builder.go +++ b/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_request_builder.go @@ -39,8 +39,8 @@ type ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetReq // Request query parameters QueryParameters *ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters } -// ByConversationMemberIdString provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. -func (m *ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. +func (m *ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) } 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 *ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) { + return NewItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_shared_with_teams_item_team_request_builder.go b/groups/item_team_primary_channel_shared_with_teams_item_team_request_builder.go index 19c4b113255..d8c0fe9e330 100644 --- a/groups/item_team_primary_channel_shared_with_teams_item_team_request_builder.go +++ b/groups/item_team_primary_channel_shared_with_teams_item_team_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamPrimaryChannelSharedWithTeamsItemTeamRequestBuilder) ToGetReque } 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 *ItemTeamPrimaryChannelSharedWithTeamsItemTeamRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelSharedWithTeamsItemTeamRequestBuilder) { + return NewItemTeamPrimaryChannelSharedWithTeamsItemTeamRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_shared_with_teams_request_builder.go b/groups/item_team_primary_channel_shared_with_teams_request_builder.go index 580f8f6e55b..693b42fdf28 100644 --- a/groups/item_team_primary_channel_shared_with_teams_request_builder.go +++ b/groups/item_team_primary_channel_shared_with_teams_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamPrimaryChannelSharedWithTeamsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySharedWithChannelTeamInfoIdString provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. -func (m *ItemTeamPrimaryChannelSharedWithTeamsRequestBuilder) BySharedWithChannelTeamInfoIdString(sharedWithChannelTeamInfoId string)(*ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { +// BySharedWithChannelTeamInfoId provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. +func (m *ItemTeamPrimaryChannelSharedWithTeamsRequestBuilder) BySharedWithChannelTeamInfoId(sharedWithChannelTeamInfoId string)(*ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemTeamPrimaryChannelSharedWithTeamsRequestBuilder) ToPostRequestInfor } 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 *ItemTeamPrimaryChannelSharedWithTeamsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelSharedWithTeamsRequestBuilder) { + return NewItemTeamPrimaryChannelSharedWithTeamsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/groups/item_team_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index 59d5061bbc5..ae00a8798c5 100644 --- a/groups/item_team_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/groups/item_team_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -167,3 +167,7 @@ func (m *ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemReque } 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 *ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { + return NewItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_tabs_count_request_builder.go b/groups/item_team_primary_channel_tabs_count_request_builder.go index ef47062bba8..bf204efbe1f 100644 --- a/groups/item_team_primary_channel_tabs_count_request_builder.go +++ b/groups/item_team_primary_channel_tabs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamPrimaryChannelTabsCountRequestBuilder) 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 *ItemTeamPrimaryChannelTabsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelTabsCountRequestBuilder) { + return NewItemTeamPrimaryChannelTabsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_tabs_item_teams_app_request_builder.go b/groups/item_team_primary_channel_tabs_item_teams_app_request_builder.go index a6a43d87c43..02c762f0fe6 100644 --- a/groups/item_team_primary_channel_tabs_item_teams_app_request_builder.go +++ b/groups/item_team_primary_channel_tabs_item_teams_app_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamPrimaryChannelTabsItemTeamsAppRequestBuilder) ToGetRequestInfor } 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 *ItemTeamPrimaryChannelTabsItemTeamsAppRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelTabsItemTeamsAppRequestBuilder) { + return NewItemTeamPrimaryChannelTabsItemTeamsAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_tabs_request_builder.go b/groups/item_team_primary_channel_tabs_request_builder.go index 61cf2f3e739..803c01d482a 100644 --- a/groups/item_team_primary_channel_tabs_request_builder.go +++ b/groups/item_team_primary_channel_tabs_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamPrimaryChannelTabsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsTabIdString provides operations to manage the tabs property of the microsoft.graph.channel entity. -func (m *ItemTeamPrimaryChannelTabsRequestBuilder) ByTeamsTabIdString(teamsTabId string)(*ItemTeamPrimaryChannelTabsTeamsTabItemRequestBuilder) { +// ByTeamsTabId provides operations to manage the tabs property of the microsoft.graph.channel entity. +func (m *ItemTeamPrimaryChannelTabsRequestBuilder) ByTeamsTabId(teamsTabId string)(*ItemTeamPrimaryChannelTabsTeamsTabItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemTeamPrimaryChannelTabsRequestBuilder) 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 *ItemTeamPrimaryChannelTabsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelTabsRequestBuilder) { + return NewItemTeamPrimaryChannelTabsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_tabs_teams_tab_item_request_builder.go b/groups/item_team_primary_channel_tabs_teams_tab_item_request_builder.go index 89247842a57..4e09ba3e261 100644 --- a/groups/item_team_primary_channel_tabs_teams_tab_item_request_builder.go +++ b/groups/item_team_primary_channel_tabs_teams_tab_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemTeamPrimaryChannelTabsTeamsTabItemRequestBuilder) ToPatchRequestInf } 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 *ItemTeamPrimaryChannelTabsTeamsTabItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelTabsTeamsTabItemRequestBuilder) { + return NewItemTeamPrimaryChannelTabsTeamsTabItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_request_builder.go b/groups/item_team_request_builder.go index 4547e1f45b2..fbe935b3910 100644 --- a/groups/item_team_request_builder.go +++ b/groups/item_team_request_builder.go @@ -233,3 +233,7 @@ func (m *ItemTeamRequestBuilder) ToPutRequestInformation(ctx context.Context, bo func (m *ItemTeamRequestBuilder) Unarchive()(*ItemTeamUnarchiveRequestBuilder) { return NewItemTeamUnarchiveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTeamRequestBuilder) WithUrl(rawUrl string)(*ItemTeamRequestBuilder) { + return NewItemTeamRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_offer_shift_requests_count_request_builder.go b/groups/item_team_schedule_offer_shift_requests_count_request_builder.go index 5af83066085..25b599ea981 100644 --- a/groups/item_team_schedule_offer_shift_requests_count_request_builder.go +++ b/groups/item_team_schedule_offer_shift_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamScheduleOfferShiftRequestsCountRequestBuilder) ToGetRequestInfo } 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 *ItemTeamScheduleOfferShiftRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleOfferShiftRequestsCountRequestBuilder) { + return NewItemTeamScheduleOfferShiftRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go b/groups/item_team_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go index 69218950b1c..f41854c8f8b 100644 --- a/groups/item_team_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go +++ b/groups/item_team_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemTeamScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) } 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 *ItemTeamScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) { + return NewItemTeamScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_offer_shift_requests_request_builder.go b/groups/item_team_schedule_offer_shift_requests_request_builder.go index d291dae58ce..24c874791ef 100644 --- a/groups/item_team_schedule_offer_shift_requests_request_builder.go +++ b/groups/item_team_schedule_offer_shift_requests_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamScheduleOfferShiftRequestsRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOfferShiftRequestIdString provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. -func (m *ItemTeamScheduleOfferShiftRequestsRequestBuilder) ByOfferShiftRequestIdString(offerShiftRequestId string)(*ItemTeamScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) { +// ByOfferShiftRequestId provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. +func (m *ItemTeamScheduleOfferShiftRequestsRequestBuilder) ByOfferShiftRequestId(offerShiftRequestId string)(*ItemTeamScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTeamScheduleOfferShiftRequestsRequestBuilder) ToPostRequestInformat } 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 *ItemTeamScheduleOfferShiftRequestsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleOfferShiftRequestsRequestBuilder) { + return NewItemTeamScheduleOfferShiftRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_open_shift_change_requests_count_request_builder.go b/groups/item_team_schedule_open_shift_change_requests_count_request_builder.go index 93f76906de2..573d82a0dc6 100644 --- a/groups/item_team_schedule_open_shift_change_requests_count_request_builder.go +++ b/groups/item_team_schedule_open_shift_change_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamScheduleOpenShiftChangeRequestsCountRequestBuilder) ToGetReques } 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 *ItemTeamScheduleOpenShiftChangeRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleOpenShiftChangeRequestsCountRequestBuilder) { + return NewItemTeamScheduleOpenShiftChangeRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go b/groups/item_team_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go index b401f3130b0..e8a5cedc54a 100644 --- a/groups/item_team_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go +++ b/groups/item_team_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemTeamScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemReques } 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 *ItemTeamScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) { + return NewItemTeamScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_open_shift_change_requests_request_builder.go b/groups/item_team_schedule_open_shift_change_requests_request_builder.go index aecc35c7777..92a6c079f78 100644 --- a/groups/item_team_schedule_open_shift_change_requests_request_builder.go +++ b/groups/item_team_schedule_open_shift_change_requests_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamScheduleOpenShiftChangeRequestsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOpenShiftChangeRequestIdString provides operations to manage the openShiftChangeRequests property of the microsoft.graph.schedule entity. -func (m *ItemTeamScheduleOpenShiftChangeRequestsRequestBuilder) ByOpenShiftChangeRequestIdString(openShiftChangeRequestId string)(*ItemTeamScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) { +// ByOpenShiftChangeRequestId provides operations to manage the openShiftChangeRequests property of the microsoft.graph.schedule entity. +func (m *ItemTeamScheduleOpenShiftChangeRequestsRequestBuilder) ByOpenShiftChangeRequestId(openShiftChangeRequestId string)(*ItemTeamScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTeamScheduleOpenShiftChangeRequestsRequestBuilder) ToPostRequestInf } 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 *ItemTeamScheduleOpenShiftChangeRequestsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleOpenShiftChangeRequestsRequestBuilder) { + return NewItemTeamScheduleOpenShiftChangeRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_open_shifts_count_request_builder.go b/groups/item_team_schedule_open_shifts_count_request_builder.go index 78abd00e0f0..97e29b1ad34 100644 --- a/groups/item_team_schedule_open_shifts_count_request_builder.go +++ b/groups/item_team_schedule_open_shifts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamScheduleOpenShiftsCountRequestBuilder) 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 *ItemTeamScheduleOpenShiftsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleOpenShiftsCountRequestBuilder) { + return NewItemTeamScheduleOpenShiftsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_open_shifts_open_shift_item_request_builder.go b/groups/item_team_schedule_open_shifts_open_shift_item_request_builder.go index 2f9f528edbf..555252ce4f2 100644 --- a/groups/item_team_schedule_open_shifts_open_shift_item_request_builder.go +++ b/groups/item_team_schedule_open_shifts_open_shift_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilder) ToPatchRequestIn } 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 *ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilder) { + return NewItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_open_shifts_request_builder.go b/groups/item_team_schedule_open_shifts_request_builder.go index af33286325d..c2a7e877bbe 100644 --- a/groups/item_team_schedule_open_shifts_request_builder.go +++ b/groups/item_team_schedule_open_shifts_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamScheduleOpenShiftsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOpenShiftIdString provides operations to manage the openShifts property of the microsoft.graph.schedule entity. -func (m *ItemTeamScheduleOpenShiftsRequestBuilder) ByOpenShiftIdString(openShiftId string)(*ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilder) { +// ByOpenShiftId provides operations to manage the openShifts property of the microsoft.graph.schedule entity. +func (m *ItemTeamScheduleOpenShiftsRequestBuilder) ByOpenShiftId(openShiftId string)(*ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTeamScheduleOpenShiftsRequestBuilder) 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 *ItemTeamScheduleOpenShiftsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleOpenShiftsRequestBuilder) { + return NewItemTeamScheduleOpenShiftsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_request_builder.go b/groups/item_team_schedule_request_builder.go index 57a1a32a1b9..6e19085c506 100644 --- a/groups/item_team_schedule_request_builder.go +++ b/groups/item_team_schedule_request_builder.go @@ -200,3 +200,7 @@ func (m *ItemTeamScheduleRequestBuilder) ToPutRequestInformation(ctx context.Con } 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 *ItemTeamScheduleRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleRequestBuilder) { + return NewItemTeamScheduleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_scheduling_groups_count_request_builder.go b/groups/item_team_schedule_scheduling_groups_count_request_builder.go index 3eabc1228ce..541a1ac97bb 100644 --- a/groups/item_team_schedule_scheduling_groups_count_request_builder.go +++ b/groups/item_team_schedule_scheduling_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamScheduleSchedulingGroupsCountRequestBuilder) ToGetRequestInform } 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 *ItemTeamScheduleSchedulingGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleSchedulingGroupsCountRequestBuilder) { + return NewItemTeamScheduleSchedulingGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_scheduling_groups_request_builder.go b/groups/item_team_schedule_scheduling_groups_request_builder.go index dcd5f17e287..74ce2a17089 100644 --- a/groups/item_team_schedule_scheduling_groups_request_builder.go +++ b/groups/item_team_schedule_scheduling_groups_request_builder.go @@ -44,8 +44,8 @@ type ItemTeamScheduleSchedulingGroupsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySchedulingGroupIdString provides operations to manage the schedulingGroups property of the microsoft.graph.schedule entity. -func (m *ItemTeamScheduleSchedulingGroupsRequestBuilder) BySchedulingGroupIdString(schedulingGroupId string)(*ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) { +// BySchedulingGroupId provides operations to manage the schedulingGroups property of the microsoft.graph.schedule entity. +func (m *ItemTeamScheduleSchedulingGroupsRequestBuilder) BySchedulingGroupId(schedulingGroupId string)(*ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemTeamScheduleSchedulingGroupsRequestBuilder) ToPostRequestInformatio } 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 *ItemTeamScheduleSchedulingGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleSchedulingGroupsRequestBuilder) { + return NewItemTeamScheduleSchedulingGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_scheduling_groups_scheduling_group_item_request_builder.go b/groups/item_team_schedule_scheduling_groups_scheduling_group_item_request_builder.go index 150be0689d7..04a094a9f66 100644 --- a/groups/item_team_schedule_scheduling_groups_scheduling_group_item_request_builder.go +++ b/groups/item_team_schedule_scheduling_groups_scheduling_group_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToPa } 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 *ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) { + return NewItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_share_request_builder.go b/groups/item_team_schedule_share_request_builder.go index 2fc745f5df1..c08c8890cf5 100644 --- a/groups/item_team_schedule_share_request_builder.go +++ b/groups/item_team_schedule_share_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemTeamScheduleShareRequestBuilder) 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 *ItemTeamScheduleShareRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleShareRequestBuilder) { + return NewItemTeamScheduleShareRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_shifts_count_request_builder.go b/groups/item_team_schedule_shifts_count_request_builder.go index 229054e769a..c66589c099e 100644 --- a/groups/item_team_schedule_shifts_count_request_builder.go +++ b/groups/item_team_schedule_shifts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamScheduleShiftsCountRequestBuilder) ToGetRequestInformation(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 *ItemTeamScheduleShiftsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleShiftsCountRequestBuilder) { + return NewItemTeamScheduleShiftsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_shifts_request_builder.go b/groups/item_team_schedule_shifts_request_builder.go index e2a0832222c..42e2ec28850 100644 --- a/groups/item_team_schedule_shifts_request_builder.go +++ b/groups/item_team_schedule_shifts_request_builder.go @@ -44,8 +44,8 @@ type ItemTeamScheduleShiftsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByShiftIdString provides operations to manage the shifts property of the microsoft.graph.schedule entity. -func (m *ItemTeamScheduleShiftsRequestBuilder) ByShiftIdString(shiftId string)(*ItemTeamScheduleShiftsShiftItemRequestBuilder) { +// ByShiftId provides operations to manage the shifts property of the microsoft.graph.schedule entity. +func (m *ItemTeamScheduleShiftsRequestBuilder) ByShiftId(shiftId string)(*ItemTeamScheduleShiftsShiftItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemTeamScheduleShiftsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemTeamScheduleShiftsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleShiftsRequestBuilder) { + return NewItemTeamScheduleShiftsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_shifts_shift_item_request_builder.go b/groups/item_team_schedule_shifts_shift_item_request_builder.go index 5e5e5b830a6..290f7c8f85e 100644 --- a/groups/item_team_schedule_shifts_shift_item_request_builder.go +++ b/groups/item_team_schedule_shifts_shift_item_request_builder.go @@ -93,7 +93,7 @@ func (m *ItemTeamScheduleShiftsShiftItemRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable), nil } -// Patch replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift cannot be less than 1 minute or longer than 24 hours. +// Patch replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/shift-put?view=graph-rest-1.0 @@ -143,7 +143,7 @@ func (m *ItemTeamScheduleShiftsShiftItemRequestBuilder) ToGetRequestInformation( } return requestInfo, nil } -// ToPatchRequestInformation replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift cannot be less than 1 minute or longer than 24 hours. +// ToPatchRequestInformation replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. func (m *ItemTeamScheduleShiftsShiftItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, requestConfiguration *ItemTeamScheduleShiftsShiftItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -160,3 +160,7 @@ func (m *ItemTeamScheduleShiftsShiftItemRequestBuilder) ToPatchRequestInformatio } 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 *ItemTeamScheduleShiftsShiftItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleShiftsShiftItemRequestBuilder) { + return NewItemTeamScheduleShiftsShiftItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_swap_shifts_change_requests_count_request_builder.go b/groups/item_team_schedule_swap_shifts_change_requests_count_request_builder.go index db3569bee9e..18739b692b0 100644 --- a/groups/item_team_schedule_swap_shifts_change_requests_count_request_builder.go +++ b/groups/item_team_schedule_swap_shifts_change_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamScheduleSwapShiftsChangeRequestsCountRequestBuilder) ToGetReque } 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 *ItemTeamScheduleSwapShiftsChangeRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleSwapShiftsChangeRequestsCountRequestBuilder) { + return NewItemTeamScheduleSwapShiftsChangeRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_swap_shifts_change_requests_request_builder.go b/groups/item_team_schedule_swap_shifts_change_requests_request_builder.go index f273cb301bd..a41ed1f7e81 100644 --- a/groups/item_team_schedule_swap_shifts_change_requests_request_builder.go +++ b/groups/item_team_schedule_swap_shifts_change_requests_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySwapShiftsChangeRequestIdString provides operations to manage the swapShiftsChangeRequests property of the microsoft.graph.schedule entity. -func (m *ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilder) BySwapShiftsChangeRequestIdString(swapShiftsChangeRequestId string)(*ItemTeamScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) { +// BySwapShiftsChangeRequestId provides operations to manage the swapShiftsChangeRequests property of the microsoft.graph.schedule entity. +func (m *ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilder) BySwapShiftsChangeRequestId(swapShiftsChangeRequestId string)(*ItemTeamScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilder) ToPostRequestIn } 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 *ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilder) { + return NewItemTeamScheduleSwapShiftsChangeRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go b/groups/item_team_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go index 2eff68a39b8..78faa7f1e62 100644 --- a/groups/item_team_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go +++ b/groups/item_team_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemTeamScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequ } 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 *ItemTeamScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) { + return NewItemTeamScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_time_cards_clock_in_request_builder.go b/groups/item_team_schedule_time_cards_clock_in_request_builder.go index c17acf30148..42e4376a285 100644 --- a/groups/item_team_schedule_time_cards_clock_in_request_builder.go +++ b/groups/item_team_schedule_time_cards_clock_in_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemTeamScheduleTimeCardsClockInRequestBuilder) ToPostRequestInformatio } 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 *ItemTeamScheduleTimeCardsClockInRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleTimeCardsClockInRequestBuilder) { + return NewItemTeamScheduleTimeCardsClockInRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_time_cards_count_request_builder.go b/groups/item_team_schedule_time_cards_count_request_builder.go index 9fcb054bce8..211cb4d1b14 100644 --- a/groups/item_team_schedule_time_cards_count_request_builder.go +++ b/groups/item_team_schedule_time_cards_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamScheduleTimeCardsCountRequestBuilder) ToGetRequestInformation(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 *ItemTeamScheduleTimeCardsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleTimeCardsCountRequestBuilder) { + return NewItemTeamScheduleTimeCardsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_time_cards_item_clock_out_request_builder.go b/groups/item_team_schedule_time_cards_item_clock_out_request_builder.go index 8822dfffe78..18e099cc23b 100644 --- a/groups/item_team_schedule_time_cards_item_clock_out_request_builder.go +++ b/groups/item_team_schedule_time_cards_item_clock_out_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemTeamScheduleTimeCardsItemClockOutRequestBuilder) ToPostRequestInfor } 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 *ItemTeamScheduleTimeCardsItemClockOutRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleTimeCardsItemClockOutRequestBuilder) { + return NewItemTeamScheduleTimeCardsItemClockOutRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_time_cards_item_confirm_request_builder.go b/groups/item_team_schedule_time_cards_item_confirm_request_builder.go index 9a603e80ade..6f860bcb63b 100644 --- a/groups/item_team_schedule_time_cards_item_confirm_request_builder.go +++ b/groups/item_team_schedule_time_cards_item_confirm_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemTeamScheduleTimeCardsItemConfirmRequestBuilder) ToPostRequestInform } 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 *ItemTeamScheduleTimeCardsItemConfirmRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleTimeCardsItemConfirmRequestBuilder) { + return NewItemTeamScheduleTimeCardsItemConfirmRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_time_cards_item_end_break_request_builder.go b/groups/item_team_schedule_time_cards_item_end_break_request_builder.go index 9cb6ffd4f06..68ff5ede75c 100644 --- a/groups/item_team_schedule_time_cards_item_end_break_request_builder.go +++ b/groups/item_team_schedule_time_cards_item_end_break_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemTeamScheduleTimeCardsItemEndBreakRequestBuilder) ToPostRequestInfor } 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 *ItemTeamScheduleTimeCardsItemEndBreakRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleTimeCardsItemEndBreakRequestBuilder) { + return NewItemTeamScheduleTimeCardsItemEndBreakRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_time_cards_item_start_break_request_builder.go b/groups/item_team_schedule_time_cards_item_start_break_request_builder.go index 962ef611be6..e60ff80b86f 100644 --- a/groups/item_team_schedule_time_cards_item_start_break_request_builder.go +++ b/groups/item_team_schedule_time_cards_item_start_break_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemTeamScheduleTimeCardsItemStartBreakRequestBuilder) ToPostRequestInf } 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 *ItemTeamScheduleTimeCardsItemStartBreakRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleTimeCardsItemStartBreakRequestBuilder) { + return NewItemTeamScheduleTimeCardsItemStartBreakRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_time_cards_request_builder.go b/groups/item_team_schedule_time_cards_request_builder.go index 7397646bacb..b43e6208c9c 100644 --- a/groups/item_team_schedule_time_cards_request_builder.go +++ b/groups/item_team_schedule_time_cards_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamScheduleTimeCardsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTimeCardIdString provides operations to manage the timeCards property of the microsoft.graph.schedule entity. -func (m *ItemTeamScheduleTimeCardsRequestBuilder) ByTimeCardIdString(timeCardId string)(*ItemTeamScheduleTimeCardsTimeCardItemRequestBuilder) { +// ByTimeCardId provides operations to manage the timeCards property of the microsoft.graph.schedule entity. +func (m *ItemTeamScheduleTimeCardsRequestBuilder) ByTimeCardId(timeCardId string)(*ItemTeamScheduleTimeCardsTimeCardItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemTeamScheduleTimeCardsRequestBuilder) ToPostRequestInformation(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 *ItemTeamScheduleTimeCardsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleTimeCardsRequestBuilder) { + return NewItemTeamScheduleTimeCardsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_time_cards_time_card_item_request_builder.go b/groups/item_team_schedule_time_cards_time_card_item_request_builder.go index c49a871b640..3f2abc0415a 100644 --- a/groups/item_team_schedule_time_cards_time_card_item_request_builder.go +++ b/groups/item_team_schedule_time_cards_time_card_item_request_builder.go @@ -178,3 +178,7 @@ func (m *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilder) 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 *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleTimeCardsTimeCardItemRequestBuilder) { + return NewItemTeamScheduleTimeCardsTimeCardItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_time_off_reasons_count_request_builder.go b/groups/item_team_schedule_time_off_reasons_count_request_builder.go index 2dbafd9efc4..27452afdd6c 100644 --- a/groups/item_team_schedule_time_off_reasons_count_request_builder.go +++ b/groups/item_team_schedule_time_off_reasons_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamScheduleTimeOffReasonsCountRequestBuilder) ToGetRequestInformat } 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 *ItemTeamScheduleTimeOffReasonsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleTimeOffReasonsCountRequestBuilder) { + return NewItemTeamScheduleTimeOffReasonsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_time_off_reasons_request_builder.go b/groups/item_team_schedule_time_off_reasons_request_builder.go index de0fb562ead..d07a6da192a 100644 --- a/groups/item_team_schedule_time_off_reasons_request_builder.go +++ b/groups/item_team_schedule_time_off_reasons_request_builder.go @@ -44,8 +44,8 @@ type ItemTeamScheduleTimeOffReasonsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTimeOffReasonIdString provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. -func (m *ItemTeamScheduleTimeOffReasonsRequestBuilder) ByTimeOffReasonIdString(timeOffReasonId string)(*ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) { +// ByTimeOffReasonId provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. +func (m *ItemTeamScheduleTimeOffReasonsRequestBuilder) ByTimeOffReasonId(timeOffReasonId string)(*ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemTeamScheduleTimeOffReasonsRequestBuilder) 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 *ItemTeamScheduleTimeOffReasonsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleTimeOffReasonsRequestBuilder) { + return NewItemTeamScheduleTimeOffReasonsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_time_off_reasons_time_off_reason_item_request_builder.go b/groups/item_team_schedule_time_off_reasons_time_off_reason_item_request_builder.go index 43263ad38e5..728e40a022d 100644 --- a/groups/item_team_schedule_time_off_reasons_time_off_reason_item_request_builder.go +++ b/groups/item_team_schedule_time_off_reasons_time_off_reason_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToPatchR } 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 *ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) { + return NewItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_time_off_requests_count_request_builder.go b/groups/item_team_schedule_time_off_requests_count_request_builder.go index 5463880a19f..70b8a47fd57 100644 --- a/groups/item_team_schedule_time_off_requests_count_request_builder.go +++ b/groups/item_team_schedule_time_off_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamScheduleTimeOffRequestsCountRequestBuilder) ToGetRequestInforma } 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 *ItemTeamScheduleTimeOffRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleTimeOffRequestsCountRequestBuilder) { + return NewItemTeamScheduleTimeOffRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_time_off_requests_request_builder.go b/groups/item_team_schedule_time_off_requests_request_builder.go index 8bb486af215..2856bb3b180 100644 --- a/groups/item_team_schedule_time_off_requests_request_builder.go +++ b/groups/item_team_schedule_time_off_requests_request_builder.go @@ -44,8 +44,8 @@ type ItemTeamScheduleTimeOffRequestsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTimeOffRequestIdString provides operations to manage the timeOffRequests property of the microsoft.graph.schedule entity. -func (m *ItemTeamScheduleTimeOffRequestsRequestBuilder) ByTimeOffRequestIdString(timeOffRequestId string)(*ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) { +// ByTimeOffRequestId provides operations to manage the timeOffRequests property of the microsoft.graph.schedule entity. +func (m *ItemTeamScheduleTimeOffRequestsRequestBuilder) ByTimeOffRequestId(timeOffRequestId string)(*ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemTeamScheduleTimeOffRequestsRequestBuilder) 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 *ItemTeamScheduleTimeOffRequestsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleTimeOffRequestsRequestBuilder) { + return NewItemTeamScheduleTimeOffRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_time_off_requests_time_off_request_item_request_builder.go b/groups/item_team_schedule_time_off_requests_time_off_request_item_request_builder.go index 6d38aaff0c1..4d3f8fc5aef 100644 --- a/groups/item_team_schedule_time_off_requests_time_off_request_item_request_builder.go +++ b/groups/item_team_schedule_time_off_requests_time_off_request_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) ToPatc } 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 *ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) { + return NewItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_times_off_count_request_builder.go b/groups/item_team_schedule_times_off_count_request_builder.go index f40a26c6578..e2ab8f2ff6c 100644 --- a/groups/item_team_schedule_times_off_count_request_builder.go +++ b/groups/item_team_schedule_times_off_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamScheduleTimesOffCountRequestBuilder) ToGetRequestInformation(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 *ItemTeamScheduleTimesOffCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleTimesOffCountRequestBuilder) { + return NewItemTeamScheduleTimesOffCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_times_off_request_builder.go b/groups/item_team_schedule_times_off_request_builder.go index e2a8ec94269..a5adb8d2c14 100644 --- a/groups/item_team_schedule_times_off_request_builder.go +++ b/groups/item_team_schedule_times_off_request_builder.go @@ -44,8 +44,8 @@ type ItemTeamScheduleTimesOffRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTimeOffIdString provides operations to manage the timesOff property of the microsoft.graph.schedule entity. -func (m *ItemTeamScheduleTimesOffRequestBuilder) ByTimeOffIdString(timeOffId string)(*ItemTeamScheduleTimesOffTimeOffItemRequestBuilder) { +// ByTimeOffId provides operations to manage the timesOff property of the microsoft.graph.schedule entity. +func (m *ItemTeamScheduleTimesOffRequestBuilder) ByTimeOffId(timeOffId string)(*ItemTeamScheduleTimesOffTimeOffItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemTeamScheduleTimesOffRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemTeamScheduleTimesOffRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleTimesOffRequestBuilder) { + return NewItemTeamScheduleTimesOffRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_times_off_time_off_item_request_builder.go b/groups/item_team_schedule_times_off_time_off_item_request_builder.go index adbf399405c..17c06067f0a 100644 --- a/groups/item_team_schedule_times_off_time_off_item_request_builder.go +++ b/groups/item_team_schedule_times_off_time_off_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemTeamScheduleTimesOffTimeOffItemRequestBuilder) ToPatchRequestInform } 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 *ItemTeamScheduleTimesOffTimeOffItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleTimesOffTimeOffItemRequestBuilder) { + return NewItemTeamScheduleTimesOffTimeOffItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_send_activity_notification_request_builder.go b/groups/item_team_send_activity_notification_request_builder.go index 09579d150c5..59e707850ee 100644 --- a/groups/item_team_send_activity_notification_request_builder.go +++ b/groups/item_team_send_activity_notification_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemTeamSendActivityNotificationRequestBuilder) ToPostRequestInformatio } 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 *ItemTeamSendActivityNotificationRequestBuilder) WithUrl(rawUrl string)(*ItemTeamSendActivityNotificationRequestBuilder) { + return NewItemTeamSendActivityNotificationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_tags_count_request_builder.go b/groups/item_team_tags_count_request_builder.go index e9fee66f566..84a451ee175 100644 --- a/groups/item_team_tags_count_request_builder.go +++ b/groups/item_team_tags_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamTagsCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemTeamTagsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamTagsCountRequestBuilder) { + return NewItemTeamTagsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_tags_item_members_count_request_builder.go b/groups/item_team_tags_item_members_count_request_builder.go index 0ab7ad50d20..01f6e628a89 100644 --- a/groups/item_team_tags_item_members_count_request_builder.go +++ b/groups/item_team_tags_item_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamTagsItemMembersCountRequestBuilder) ToGetRequestInformation(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 *ItemTeamTagsItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamTagsItemMembersCountRequestBuilder) { + return NewItemTeamTagsItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_tags_item_members_request_builder.go b/groups/item_team_tags_item_members_request_builder.go index e0a5fa6f9ff..21cbb5636bb 100644 --- a/groups/item_team_tags_item_members_request_builder.go +++ b/groups/item_team_tags_item_members_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamTagsItemMembersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamworkTagMemberIdString provides operations to manage the members property of the microsoft.graph.teamworkTag entity. -func (m *ItemTeamTagsItemMembersRequestBuilder) ByTeamworkTagMemberIdString(teamworkTagMemberId string)(*ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilder) { +// ByTeamworkTagMemberId provides operations to manage the members property of the microsoft.graph.teamworkTag entity. +func (m *ItemTeamTagsItemMembersRequestBuilder) ByTeamworkTagMemberId(teamworkTagMemberId string)(*ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTeamTagsItemMembersRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemTeamTagsItemMembersRequestBuilder) WithUrl(rawUrl string)(*ItemTeamTagsItemMembersRequestBuilder) { + return NewItemTeamTagsItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_tags_item_members_teamwork_tag_member_item_request_builder.go b/groups/item_team_tags_item_members_teamwork_tag_member_item_request_builder.go index 73dd4553a9c..68970b1c616 100644 --- a/groups/item_team_tags_item_members_teamwork_tag_member_item_request_builder.go +++ b/groups/item_team_tags_item_members_teamwork_tag_member_item_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilder) ToPatchRequ } 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 *ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilder) { + return NewItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_tags_request_builder.go b/groups/item_team_tags_request_builder.go index e3ec2a6a7c6..b76616db6de 100644 --- a/groups/item_team_tags_request_builder.go +++ b/groups/item_team_tags_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamTagsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamworkTagIdString provides operations to manage the tags property of the microsoft.graph.team entity. -func (m *ItemTeamTagsRequestBuilder) ByTeamworkTagIdString(teamworkTagId string)(*ItemTeamTagsTeamworkTagItemRequestBuilder) { +// ByTeamworkTagId provides operations to manage the tags property of the microsoft.graph.team entity. +func (m *ItemTeamTagsRequestBuilder) ByTeamworkTagId(teamworkTagId string)(*ItemTeamTagsTeamworkTagItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTeamTagsRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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 *ItemTeamTagsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamTagsRequestBuilder) { + return NewItemTeamTagsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_tags_teamwork_tag_item_request_builder.go b/groups/item_team_tags_teamwork_tag_item_request_builder.go index 53dce901680..ab14764cbb4 100644 --- a/groups/item_team_tags_teamwork_tag_item_request_builder.go +++ b/groups/item_team_tags_teamwork_tag_item_request_builder.go @@ -166,3 +166,7 @@ func (m *ItemTeamTagsTeamworkTagItemRequestBuilder) ToPatchRequestInformation(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 *ItemTeamTagsTeamworkTagItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamTagsTeamworkTagItemRequestBuilder) { + return NewItemTeamTagsTeamworkTagItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_template_definition_request_builder.go b/groups/item_team_template_definition_request_builder.go index 8a40ca902bb..1866fab55c9 100644 --- a/groups/item_team_template_definition_request_builder.go +++ b/groups/item_team_template_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamTemplateDefinitionRequestBuilder) ToGetRequestInformation(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 *ItemTeamTemplateDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemTeamTemplateDefinitionRequestBuilder) { + return NewItemTeamTemplateDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_template_request_builder.go b/groups/item_team_template_request_builder.go index 8a0448dc7b4..02d388f24f2 100644 --- a/groups/item_team_template_request_builder.go +++ b/groups/item_team_template_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamTemplateRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *ItemTeamTemplateRequestBuilder) WithUrl(rawUrl string)(*ItemTeamTemplateRequestBuilder) { + return NewItemTeamTemplateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_unarchive_request_builder.go b/groups/item_team_unarchive_request_builder.go index dc099530c07..4b8f6b1a738 100644 --- a/groups/item_team_unarchive_request_builder.go +++ b/groups/item_team_unarchive_request_builder.go @@ -30,7 +30,7 @@ func NewItemTeamUnarchiveRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 urlParams["request-raw-url"] = rawUrl return NewItemTeamUnarchiveRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. +// Post restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/team-unarchive?view=graph-rest-1.0 @@ -49,7 +49,7 @@ func (m *ItemTeamUnarchiveRequestBuilder) Post(ctx context.Context, requestConfi } return nil } -// ToPostRequestInformation restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. +// ToPostRequestInformation restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. func (m *ItemTeamUnarchiveRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemTeamUnarchiveRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -61,3 +61,7 @@ func (m *ItemTeamUnarchiveRequestBuilder) ToPostRequestInformation(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 *ItemTeamUnarchiveRequestBuilder) WithUrl(rawUrl string)(*ItemTeamUnarchiveRequestBuilder) { + return NewItemTeamUnarchiveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_conversation_thread_item_request_builder.go b/groups/item_threads_conversation_thread_item_request_builder.go index 7882d814413..e7d2ee0daa1 100644 --- a/groups/item_threads_conversation_thread_item_request_builder.go +++ b/groups/item_threads_conversation_thread_item_request_builder.go @@ -52,10 +52,10 @@ func NewItemThreadsConversationThreadItemRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemThreadsConversationThreadItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a thread object. +// Delete delete conversationThread. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-1.0 func (m *ItemThreadsConversationThreadItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -123,7 +123,7 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) Posts()(*ItemThreadsIt func (m *ItemThreadsConversationThreadItemRequestBuilder) Reply()(*ItemThreadsItemReplyRequestBuilder) { return NewItemThreadsItemReplyRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a thread object. +// ToDeleteRequestInformation delete conversationThread. func (m *ItemThreadsConversationThreadItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -168,3 +168,7 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) ToPatchRequestInformat } 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 *ItemThreadsConversationThreadItemRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsConversationThreadItemRequestBuilder) { + return NewItemThreadsConversationThreadItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_count_request_builder.go b/groups/item_threads_count_request_builder.go index 3b7ed0fb0e2..5965f8d9389 100644 --- a/groups/item_threads_count_request_builder.go +++ b/groups/item_threads_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemThreadsCountRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *ItemThreadsCountRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsCountRequestBuilder) { + return NewItemThreadsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_count_request_builder.go b/groups/item_threads_item_posts_count_request_builder.go index 41f284bb17e..f540c8e537b 100644 --- a/groups/item_threads_item_posts_count_request_builder.go +++ b/groups/item_threads_item_posts_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemThreadsItemPostsCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemThreadsItemPostsCountRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsCountRequestBuilder) { + return NewItemThreadsItemPostsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_attachments_attachment_item_request_builder.go b/groups/item_threads_item_posts_item_attachments_attachment_item_request_builder.go index 907c0e52bbd..a5f389e5808 100644 --- a/groups/item_threads_item_posts_item_attachments_attachment_item_request_builder.go +++ b/groups/item_threads_item_posts_item_attachments_attachment_item_request_builder.go @@ -110,3 +110,7 @@ func (m *ItemThreadsItemPostsItemAttachmentsAttachmentItemRequestBuilder) ToGetR } 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 *ItemThreadsItemPostsItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemThreadsItemPostsItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_attachments_count_request_builder.go b/groups/item_threads_item_posts_item_attachments_count_request_builder.go index 3f6bb41ce2c..640685c7a23 100644 --- a/groups/item_threads_item_posts_item_attachments_count_request_builder.go +++ b/groups/item_threads_item_posts_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemThreadsItemPostsItemAttachmentsCountRequestBuilder) ToGetRequestInf } 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 *ItemThreadsItemPostsItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemAttachmentsCountRequestBuilder) { + return NewItemThreadsItemPostsItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_attachments_create_upload_session_request_builder.go b/groups/item_threads_item_posts_item_attachments_create_upload_session_request_builder.go index 8f3e60a11f9..ab0925a3064 100644 --- a/groups/item_threads_item_posts_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_threads_item_posts_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilder(raw urlParams["request-raw-url"] = rawUrl return NewItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilder) P } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemThreadsItemPostsItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilder) T } 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 *ItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_attachments_request_builder.go b/groups/item_threads_item_posts_item_attachments_request_builder.go index dcfec4b1276..ea86c5b8976 100644 --- a/groups/item_threads_item_posts_item_attachments_request_builder.go +++ b/groups/item_threads_item_posts_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemThreadsItemPostsItemAttachmentsRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.post entity. -func (m *ItemThreadsItemPostsItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemThreadsItemPostsItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.post entity. +func (m *ItemThreadsItemPostsItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemThreadsItemPostsItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,7 @@ func (m *ItemThreadsItemPostsItemAttachmentsRequestBuilder) ToPostRequestInforma } 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 *ItemThreadsItemPostsItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemAttachmentsRequestBuilder) { + return NewItemThreadsItemPostsItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_extensions_count_request_builder.go b/groups/item_threads_item_posts_item_extensions_count_request_builder.go index 230bd6dfe8d..87e3771fe06 100644 --- a/groups/item_threads_item_posts_item_extensions_count_request_builder.go +++ b/groups/item_threads_item_posts_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemThreadsItemPostsItemExtensionsCountRequestBuilder) ToGetRequestInfo } 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 *ItemThreadsItemPostsItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemExtensionsCountRequestBuilder) { + return NewItemThreadsItemPostsItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_extensions_extension_item_request_builder.go b/groups/item_threads_item_posts_item_extensions_extension_item_request_builder.go index 9b69a7d7c12..d6de73dd6eb 100644 --- a/groups/item_threads_item_posts_item_extensions_extension_item_request_builder.go +++ b/groups/item_threads_item_posts_item_extensions_extension_item_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) ToPatchR } 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 *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) { + return NewItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_extensions_request_builder.go b/groups/item_threads_item_posts_item_extensions_request_builder.go index cb4341d3e53..3a90042fce0 100644 --- a/groups/item_threads_item_posts_item_extensions_request_builder.go +++ b/groups/item_threads_item_posts_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemThreadsItemPostsItemExtensionsRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.post entity. -func (m *ItemThreadsItemPostsItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.post entity. +func (m *ItemThreadsItemPostsItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -143,3 +143,7 @@ func (m *ItemThreadsItemPostsItemExtensionsRequestBuilder) ToPostRequestInformat } 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 *ItemThreadsItemPostsItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemExtensionsRequestBuilder) { + return NewItemThreadsItemPostsItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_forward_request_builder.go b/groups/item_threads_item_posts_item_forward_request_builder.go index 6589146d3da..b7d63ff3324 100644 --- a/groups/item_threads_item_posts_item_forward_request_builder.go +++ b/groups/item_threads_item_posts_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemThreadsItemPostsItemForwardRequestBuilder) 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 *ItemThreadsItemPostsItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemForwardRequestBuilder) { + return NewItemThreadsItemPostsItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_in_reply_to_attachments_attachment_item_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_attachments_attachment_item_request_builder.go index f26e3c7d53e..e379e561361 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_attachments_attachment_item_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_attachments_attachment_item_request_builder.go @@ -110,3 +110,7 @@ func (m *ItemThreadsItemPostsItemInReplyToAttachmentsAttachmentItemRequestBuilde } 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 *ItemThreadsItemPostsItemInReplyToAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemInReplyToAttachmentsAttachmentItemRequestBuilder) { + return NewItemThreadsItemPostsItemInReplyToAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_in_reply_to_attachments_count_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_attachments_count_request_builder.go index 587ed7fb8d8..13002de592a 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_attachments_count_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemThreadsItemPostsItemInReplyToAttachmentsCountRequestBuilder) ToGetR } 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 *ItemThreadsItemPostsItemInReplyToAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemInReplyToAttachmentsCountRequestBuilder) { + return NewItemThreadsItemPostsItemInReplyToAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go index badbe23a43d..cb95488f2eb 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestBu urlParams["request-raw-url"] = rawUrl return NewItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestB } 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 *ItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_in_reply_to_attachments_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_attachments_request_builder.go index c0f3276549d..59e64795cea 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_attachments_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.post entity. -func (m *ItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemThreadsItemPostsItemInReplyToAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.post entity. +func (m *ItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemThreadsItemPostsItemInReplyToAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,7 @@ func (m *ItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder) ToPostReque } 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 *ItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder) { + return NewItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_in_reply_to_extensions_count_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_extensions_count_request_builder.go index 52b4e8a509d..f5fc780949f 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_extensions_count_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemThreadsItemPostsItemInReplyToExtensionsCountRequestBuilder) ToGetRe } 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 *ItemThreadsItemPostsItemInReplyToExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemInReplyToExtensionsCountRequestBuilder) { + return NewItemThreadsItemPostsItemInReplyToExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go index dcf8dca4b18..4cff67c656c 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) } 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 *ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) { + return NewItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_in_reply_to_extensions_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_extensions_request_builder.go index 793123e4d6e..ae4199ef4e4 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_extensions_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemThreadsItemPostsItemInReplyToExtensionsRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.post entity. -func (m *ItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.post entity. +func (m *ItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -143,3 +143,7 @@ func (m *ItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder) ToPostReques } 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 *ItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder) { + return NewItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_in_reply_to_forward_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_forward_request_builder.go index 1229be9251d..1baea350192 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_forward_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemThreadsItemPostsItemInReplyToForwardRequestBuilder) ToPostRequestIn } 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 *ItemThreadsItemPostsItemInReplyToForwardRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemInReplyToForwardRequestBuilder) { + return NewItemThreadsItemPostsItemInReplyToForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_in_reply_to_mentions_count_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_mentions_count_request_builder.go index 30611560e19..1244ec5f551 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_mentions_count_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_mentions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemThreadsItemPostsItemInReplyToMentionsCountRequestBuilder) ToGetRequ } 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 *ItemThreadsItemPostsItemInReplyToMentionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemInReplyToMentionsCountRequestBuilder) { + return NewItemThreadsItemPostsItemInReplyToMentionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_in_reply_to_mentions_mention_item_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_mentions_mention_item_request_builder.go index d5a5c56dbdb..0e560440f86 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_mentions_mention_item_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_mentions_mention_item_request_builder.go @@ -110,3 +110,7 @@ func (m *ItemThreadsItemPostsItemInReplyToMentionsMentionItemRequestBuilder) ToG } 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 *ItemThreadsItemPostsItemInReplyToMentionsMentionItemRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemInReplyToMentionsMentionItemRequestBuilder) { + return NewItemThreadsItemPostsItemInReplyToMentionsMentionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_in_reply_to_mentions_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_mentions_request_builder.go index f9220f3c8db..139a50f749c 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_mentions_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_mentions_request_builder.go @@ -44,8 +44,8 @@ type ItemThreadsItemPostsItemInReplyToMentionsRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMentionIdString provides operations to manage the mentions property of the microsoft.graph.post entity. -func (m *ItemThreadsItemPostsItemInReplyToMentionsRequestBuilder) ByMentionIdString(mentionId string)(*ItemThreadsItemPostsItemInReplyToMentionsMentionItemRequestBuilder) { +// ByMentionId provides operations to manage the mentions property of the microsoft.graph.post entity. +func (m *ItemThreadsItemPostsItemInReplyToMentionsRequestBuilder) ByMentionId(mentionId string)(*ItemThreadsItemPostsItemInReplyToMentionsMentionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -143,3 +143,7 @@ func (m *ItemThreadsItemPostsItemInReplyToMentionsRequestBuilder) ToPostRequestI } 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 *ItemThreadsItemPostsItemInReplyToMentionsRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemInReplyToMentionsRequestBuilder) { + return NewItemThreadsItemPostsItemInReplyToMentionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_in_reply_to_reply_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_reply_request_builder.go index 480dd73b97b..4aae471d9f0 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_reply_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_reply_request_builder.go @@ -30,10 +30,10 @@ func NewItemThreadsItemPostsItemInReplyToReplyRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewItemThreadsItemPostsItemInReplyToReplyRequestBuilderInternal(urlParams, requestAdapter) } -// Post reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. +// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemThreadsItemPostsItemInReplyToReplyRequestBuilder) Post(ctx context.Context, body ItemThreadsItemPostsItemInReplyToReplyPostRequestBodyable, requestConfiguration *ItemThreadsItemPostsItemInReplyToReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -49,7 +49,7 @@ func (m *ItemThreadsItemPostsItemInReplyToReplyRequestBuilder) Post(ctx context. } return nil } -// ToPostRequestInformation reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. +// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. func (m *ItemThreadsItemPostsItemInReplyToReplyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemThreadsItemPostsItemInReplyToReplyPostRequestBodyable, requestConfiguration *ItemThreadsItemPostsItemInReplyToReplyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -65,3 +65,7 @@ func (m *ItemThreadsItemPostsItemInReplyToReplyRequestBuilder) ToPostRequestInfo } 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 *ItemThreadsItemPostsItemInReplyToReplyRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemInReplyToReplyRequestBuilder) { + return NewItemThreadsItemPostsItemInReplyToReplyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_in_reply_to_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_request_builder.go index cc0c3e81783..7a2a89dbe84 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_request_builder.go @@ -95,3 +95,7 @@ func (m *ItemThreadsItemPostsItemInReplyToRequestBuilder) 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 *ItemThreadsItemPostsItemInReplyToRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemInReplyToRequestBuilder) { + return NewItemThreadsItemPostsItemInReplyToRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_mentions_count_request_builder.go b/groups/item_threads_item_posts_item_mentions_count_request_builder.go index a1957535bd0..d15f2834069 100644 --- a/groups/item_threads_item_posts_item_mentions_count_request_builder.go +++ b/groups/item_threads_item_posts_item_mentions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemThreadsItemPostsItemMentionsCountRequestBuilder) ToGetRequestInform } 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 *ItemThreadsItemPostsItemMentionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemMentionsCountRequestBuilder) { + return NewItemThreadsItemPostsItemMentionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_mentions_mention_item_request_builder.go b/groups/item_threads_item_posts_item_mentions_mention_item_request_builder.go index 74672f71389..773dbc6a1ba 100644 --- a/groups/item_threads_item_posts_item_mentions_mention_item_request_builder.go +++ b/groups/item_threads_item_posts_item_mentions_mention_item_request_builder.go @@ -110,3 +110,7 @@ func (m *ItemThreadsItemPostsItemMentionsMentionItemRequestBuilder) ToGetRequest } 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 *ItemThreadsItemPostsItemMentionsMentionItemRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemMentionsMentionItemRequestBuilder) { + return NewItemThreadsItemPostsItemMentionsMentionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_mentions_request_builder.go b/groups/item_threads_item_posts_item_mentions_request_builder.go index fec84819468..d3cf18ef1e5 100644 --- a/groups/item_threads_item_posts_item_mentions_request_builder.go +++ b/groups/item_threads_item_posts_item_mentions_request_builder.go @@ -44,8 +44,8 @@ type ItemThreadsItemPostsItemMentionsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMentionIdString provides operations to manage the mentions property of the microsoft.graph.post entity. -func (m *ItemThreadsItemPostsItemMentionsRequestBuilder) ByMentionIdString(mentionId string)(*ItemThreadsItemPostsItemMentionsMentionItemRequestBuilder) { +// ByMentionId provides operations to manage the mentions property of the microsoft.graph.post entity. +func (m *ItemThreadsItemPostsItemMentionsRequestBuilder) ByMentionId(mentionId string)(*ItemThreadsItemPostsItemMentionsMentionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -143,3 +143,7 @@ func (m *ItemThreadsItemPostsItemMentionsRequestBuilder) ToPostRequestInformatio } 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 *ItemThreadsItemPostsItemMentionsRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemMentionsRequestBuilder) { + return NewItemThreadsItemPostsItemMentionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_item_reply_request_builder.go b/groups/item_threads_item_posts_item_reply_request_builder.go index 17c51a8fbeb..b53ec3ab954 100644 --- a/groups/item_threads_item_posts_item_reply_request_builder.go +++ b/groups/item_threads_item_posts_item_reply_request_builder.go @@ -30,10 +30,10 @@ func NewItemThreadsItemPostsItemReplyRequestBuilder(rawUrl string, requestAdapte urlParams["request-raw-url"] = rawUrl return NewItemThreadsItemPostsItemReplyRequestBuilderInternal(urlParams, requestAdapter) } -// Post reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. +// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemThreadsItemPostsItemReplyRequestBuilder) Post(ctx context.Context, body ItemThreadsItemPostsItemReplyPostRequestBodyable, requestConfiguration *ItemThreadsItemPostsItemReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -49,7 +49,7 @@ func (m *ItemThreadsItemPostsItemReplyRequestBuilder) Post(ctx context.Context, } return nil } -// ToPostRequestInformation reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. +// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. func (m *ItemThreadsItemPostsItemReplyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemThreadsItemPostsItemReplyPostRequestBodyable, requestConfiguration *ItemThreadsItemPostsItemReplyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -65,3 +65,7 @@ func (m *ItemThreadsItemPostsItemReplyRequestBuilder) ToPostRequestInformation(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 *ItemThreadsItemPostsItemReplyRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsItemReplyRequestBuilder) { + return NewItemThreadsItemPostsItemReplyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_post_item_request_builder.go b/groups/item_threads_item_posts_post_item_request_builder.go index 8eb2516a309..9625bacad97 100644 --- a/groups/item_threads_item_posts_post_item_request_builder.go +++ b/groups/item_threads_item_posts_post_item_request_builder.go @@ -145,3 +145,7 @@ func (m *ItemThreadsItemPostsPostItemRequestBuilder) ToPatchRequestInformation(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 *ItemThreadsItemPostsPostItemRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsPostItemRequestBuilder) { + return NewItemThreadsItemPostsPostItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_posts_request_builder.go b/groups/item_threads_item_posts_request_builder.go index b4882255fb2..543b4dddab3 100644 --- a/groups/item_threads_item_posts_request_builder.go +++ b/groups/item_threads_item_posts_request_builder.go @@ -37,8 +37,8 @@ type ItemThreadsItemPostsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemThreadsItemPostsRequestBuilderGetQueryParameters } -// ByPostIdString provides operations to manage the posts property of the microsoft.graph.conversationThread entity. -func (m *ItemThreadsItemPostsRequestBuilder) ByPostIdString(postId string)(*ItemThreadsItemPostsPostItemRequestBuilder) { +// ByPostId provides operations to manage the posts property of the microsoft.graph.conversationThread entity. +func (m *ItemThreadsItemPostsRequestBuilder) ByPostId(postId string)(*ItemThreadsItemPostsPostItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -103,3 +103,7 @@ func (m *ItemThreadsItemPostsRequestBuilder) ToGetRequestInformation(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 *ItemThreadsItemPostsRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemPostsRequestBuilder) { + return NewItemThreadsItemPostsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_item_reply_request_builder.go b/groups/item_threads_item_reply_request_builder.go index ab6191d9c28..5858e5efbb1 100644 --- a/groups/item_threads_item_reply_request_builder.go +++ b/groups/item_threads_item_reply_request_builder.go @@ -30,10 +30,10 @@ func NewItemThreadsItemReplyRequestBuilder(rawUrl string, requestAdapter i2ae418 urlParams["request-raw-url"] = rawUrl return NewItemThreadsItemReplyRequestBuilderInternal(urlParams, requestAdapter) } -// Post add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/post-post-attachments?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationthread-reply?view=graph-rest-1.0 func (m *ItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body ItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -49,7 +49,7 @@ func (m *ItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body Item } return nil } -// ToPostRequestInformation add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. func (m *ItemThreadsItemReplyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -65,3 +65,7 @@ func (m *ItemThreadsItemReplyRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemThreadsItemReplyRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsItemReplyRequestBuilder) { + return NewItemThreadsItemReplyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_threads_request_builder.go b/groups/item_threads_request_builder.go index 5ad100cdbfc..7cccccab023 100644 --- a/groups/item_threads_request_builder.go +++ b/groups/item_threads_request_builder.go @@ -42,8 +42,8 @@ type ItemThreadsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByConversationThreadIdString provides operations to manage the threads property of the microsoft.graph.group entity. -func (m *ItemThreadsRequestBuilder) ByConversationThreadIdString(conversationThreadId string)(*ItemThreadsConversationThreadItemRequestBuilder) { +// ByConversationThreadId provides operations to manage the threads property of the microsoft.graph.group entity. +func (m *ItemThreadsRequestBuilder) ByConversationThreadId(conversationThreadId string)(*ItemThreadsConversationThreadItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -147,3 +147,7 @@ func (m *ItemThreadsRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemThreadsRequestBuilder) WithUrl(rawUrl string)(*ItemThreadsRequestBuilder) { + return NewItemThreadsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_member_of_count_request_builder.go b/groups/item_transitive_member_of_count_request_builder.go index dc8bba23553..fd0369bc435 100644 --- a/groups/item_transitive_member_of_count_request_builder.go +++ b/groups/item_transitive_member_of_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMemberOfCountRequestBuilder) ToGetRequestInformation(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 *ItemTransitiveMemberOfCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfCountRequestBuilder) { + return NewItemTransitiveMemberOfCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_member_of_directory_object_item_request_builder.go b/groups/item_transitive_member_of_directory_object_item_request_builder.go index bcd76bf81b1..ececcefdbf4 100644 --- a/groups/item_transitive_member_of_directory_object_item_request_builder.go +++ b/groups/item_transitive_member_of_directory_object_item_request_builder.go @@ -83,3 +83,7 @@ func (m *ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) ToGetRequestIn } 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 *ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) { + return NewItemTransitiveMemberOfDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_member_of_graph_administrative_unit_count_request_builder.go b/groups/item_transitive_member_of_graph_administrative_unit_count_request_builder.go index 1bc47c6591e..79e4eded82b 100644 --- a/groups/item_transitive_member_of_graph_administrative_unit_count_request_builder.go +++ b/groups/item_transitive_member_of_graph_administrative_unit_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder) ToGet } 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 *ItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder) { + return NewItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_member_of_graph_administrative_unit_request_builder.go b/groups/item_transitive_member_of_graph_administrative_unit_request_builder.go index a38308cb136..3811683fbec 100644 --- a/groups/item_transitive_member_of_graph_administrative_unit_request_builder.go +++ b/groups/item_transitive_member_of_graph_administrative_unit_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) ToGetReque } 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 *ItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) { + return NewItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_member_of_graph_group_count_request_builder.go b/groups/item_transitive_member_of_graph_group_count_request_builder.go index 172f210576e..8181ce8a758 100644 --- a/groups/item_transitive_member_of_graph_group_count_request_builder.go +++ b/groups/item_transitive_member_of_graph_group_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMemberOfGraphGroupCountRequestBuilder) ToGetRequestInform } 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 *ItemTransitiveMemberOfGraphGroupCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphGroupCountRequestBuilder) { + return NewItemTransitiveMemberOfGraphGroupCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_member_of_graph_group_request_builder.go b/groups/item_transitive_member_of_graph_group_request_builder.go index 17e73e44153..76671f1bdeb 100644 --- a/groups/item_transitive_member_of_graph_group_request_builder.go +++ b/groups/item_transitive_member_of_graph_group_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemTransitiveMemberOfGraphGroupRequestBuilder) 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 *ItemTransitiveMemberOfGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphGroupRequestBuilder) { + return NewItemTransitiveMemberOfGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_member_of_item_graph_administrative_unit_request_builder.go b/groups/item_transitive_member_of_item_graph_administrative_unit_request_builder.go index 51ae7297531..cd1de04ae7e 100644 --- a/groups/item_transitive_member_of_item_graph_administrative_unit_request_builder.go +++ b/groups/item_transitive_member_of_item_graph_administrative_unit_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder) ToGetR } 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 *ItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder) { + return NewItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_member_of_item_graph_group_request_builder.go b/groups/item_transitive_member_of_item_graph_group_request_builder.go index ba6d031632c..df34efc7aa6 100644 --- a/groups/item_transitive_member_of_item_graph_group_request_builder.go +++ b/groups/item_transitive_member_of_item_graph_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTransitiveMemberOfItemGraphGroupRequestBuilder) ToGetRequestInforma } 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 *ItemTransitiveMemberOfItemGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfItemGraphGroupRequestBuilder) { + return NewItemTransitiveMemberOfItemGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_member_of_request_builder.go b/groups/item_transitive_member_of_request_builder.go index 4f8547eff89..14d681773fd 100644 --- a/groups/item_transitive_member_of_request_builder.go +++ b/groups/item_transitive_member_of_request_builder.go @@ -39,8 +39,8 @@ type ItemTransitiveMemberOfRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemTransitiveMemberOfRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the transitiveMemberOf property of the microsoft.graph.group entity. -func (m *ItemTransitiveMemberOfRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the transitiveMemberOf property of the microsoft.graph.group entity. +func (m *ItemTransitiveMemberOfRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -113,3 +113,7 @@ func (m *ItemTransitiveMemberOfRequestBuilder) ToGetRequestInformation(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 *ItemTransitiveMemberOfRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfRequestBuilder) { + return NewItemTransitiveMemberOfRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_members_count_request_builder.go b/groups/item_transitive_members_count_request_builder.go index 9bb12851540..a59533480ee 100644 --- a/groups/item_transitive_members_count_request_builder.go +++ b/groups/item_transitive_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMembersCountRequestBuilder) ToGetRequestInformation(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 *ItemTransitiveMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMembersCountRequestBuilder) { + return NewItemTransitiveMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_members_directory_object_item_request_builder.go b/groups/item_transitive_members_directory_object_item_request_builder.go index 38b6e56006e..fd9101a1a9f 100644 --- a/groups/item_transitive_members_directory_object_item_request_builder.go +++ b/groups/item_transitive_members_directory_object_item_request_builder.go @@ -99,3 +99,7 @@ func (m *ItemTransitiveMembersDirectoryObjectItemRequestBuilder) ToGetRequestInf } 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 *ItemTransitiveMembersDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMembersDirectoryObjectItemRequestBuilder) { + return NewItemTransitiveMembersDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_members_graph_application_count_request_builder.go b/groups/item_transitive_members_graph_application_count_request_builder.go index 4dc16dc437a..c9621261301 100644 --- a/groups/item_transitive_members_graph_application_count_request_builder.go +++ b/groups/item_transitive_members_graph_application_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMembersGraphApplicationCountRequestBuilder) ToGetRequestI } 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 *ItemTransitiveMembersGraphApplicationCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMembersGraphApplicationCountRequestBuilder) { + return NewItemTransitiveMembersGraphApplicationCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_members_graph_application_request_builder.go b/groups/item_transitive_members_graph_application_request_builder.go index 4927cf9a026..b9b64cd8db3 100644 --- a/groups/item_transitive_members_graph_application_request_builder.go +++ b/groups/item_transitive_members_graph_application_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemTransitiveMembersGraphApplicationRequestBuilder) ToGetRequestInform } 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 *ItemTransitiveMembersGraphApplicationRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMembersGraphApplicationRequestBuilder) { + return NewItemTransitiveMembersGraphApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_members_graph_device_count_request_builder.go b/groups/item_transitive_members_graph_device_count_request_builder.go index d3e840b6922..7e00a04a75c 100644 --- a/groups/item_transitive_members_graph_device_count_request_builder.go +++ b/groups/item_transitive_members_graph_device_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMembersGraphDeviceCountRequestBuilder) ToGetRequestInform } 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 *ItemTransitiveMembersGraphDeviceCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMembersGraphDeviceCountRequestBuilder) { + return NewItemTransitiveMembersGraphDeviceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_members_graph_device_request_builder.go b/groups/item_transitive_members_graph_device_request_builder.go index e8224c918ec..84c5b3a0dce 100644 --- a/groups/item_transitive_members_graph_device_request_builder.go +++ b/groups/item_transitive_members_graph_device_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemTransitiveMembersGraphDeviceRequestBuilder) 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 *ItemTransitiveMembersGraphDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMembersGraphDeviceRequestBuilder) { + return NewItemTransitiveMembersGraphDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_members_graph_group_count_request_builder.go b/groups/item_transitive_members_graph_group_count_request_builder.go index 579bf2c9a88..e4474fd6765 100644 --- a/groups/item_transitive_members_graph_group_count_request_builder.go +++ b/groups/item_transitive_members_graph_group_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMembersGraphGroupCountRequestBuilder) ToGetRequestInforma } 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 *ItemTransitiveMembersGraphGroupCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMembersGraphGroupCountRequestBuilder) { + return NewItemTransitiveMembersGraphGroupCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_members_graph_group_request_builder.go b/groups/item_transitive_members_graph_group_request_builder.go index 116789c1818..656f1c3b4a7 100644 --- a/groups/item_transitive_members_graph_group_request_builder.go +++ b/groups/item_transitive_members_graph_group_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemTransitiveMembersGraphGroupRequestBuilder) 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 *ItemTransitiveMembersGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMembersGraphGroupRequestBuilder) { + return NewItemTransitiveMembersGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_members_graph_org_contact_count_request_builder.go b/groups/item_transitive_members_graph_org_contact_count_request_builder.go index 7daf079a6ca..db8724b5f25 100644 --- a/groups/item_transitive_members_graph_org_contact_count_request_builder.go +++ b/groups/item_transitive_members_graph_org_contact_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMembersGraphOrgContactCountRequestBuilder) ToGetRequestIn } 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 *ItemTransitiveMembersGraphOrgContactCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMembersGraphOrgContactCountRequestBuilder) { + return NewItemTransitiveMembersGraphOrgContactCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_members_graph_org_contact_request_builder.go b/groups/item_transitive_members_graph_org_contact_request_builder.go index 68aa6c7665c..90af29dc6d4 100644 --- a/groups/item_transitive_members_graph_org_contact_request_builder.go +++ b/groups/item_transitive_members_graph_org_contact_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemTransitiveMembersGraphOrgContactRequestBuilder) ToGetRequestInforma } 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 *ItemTransitiveMembersGraphOrgContactRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMembersGraphOrgContactRequestBuilder) { + return NewItemTransitiveMembersGraphOrgContactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_members_graph_service_principal_count_request_builder.go b/groups/item_transitive_members_graph_service_principal_count_request_builder.go index b7ccaad8128..e2599d61dbc 100644 --- a/groups/item_transitive_members_graph_service_principal_count_request_builder.go +++ b/groups/item_transitive_members_graph_service_principal_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMembersGraphServicePrincipalCountRequestBuilder) ToGetReq } 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 *ItemTransitiveMembersGraphServicePrincipalCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMembersGraphServicePrincipalCountRequestBuilder) { + return NewItemTransitiveMembersGraphServicePrincipalCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_members_graph_service_principal_request_builder.go b/groups/item_transitive_members_graph_service_principal_request_builder.go index f00a3c109dd..e6d9d0ffb61 100644 --- a/groups/item_transitive_members_graph_service_principal_request_builder.go +++ b/groups/item_transitive_members_graph_service_principal_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemTransitiveMembersGraphServicePrincipalRequestBuilder) ToGetRequestI } 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 *ItemTransitiveMembersGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMembersGraphServicePrincipalRequestBuilder) { + return NewItemTransitiveMembersGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_members_graph_user_count_request_builder.go b/groups/item_transitive_members_graph_user_count_request_builder.go index f6cd92150dc..d599d599a8a 100644 --- a/groups/item_transitive_members_graph_user_count_request_builder.go +++ b/groups/item_transitive_members_graph_user_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMembersGraphUserCountRequestBuilder) ToGetRequestInformat } 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 *ItemTransitiveMembersGraphUserCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMembersGraphUserCountRequestBuilder) { + return NewItemTransitiveMembersGraphUserCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_members_graph_user_request_builder.go b/groups/item_transitive_members_graph_user_request_builder.go index 51330d63eb4..142c5ee64d9 100644 --- a/groups/item_transitive_members_graph_user_request_builder.go +++ b/groups/item_transitive_members_graph_user_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemTransitiveMembersGraphUserRequestBuilder) ToGetRequestInformation(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 *ItemTransitiveMembersGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMembersGraphUserRequestBuilder) { + return NewItemTransitiveMembersGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_members_item_graph_application_request_builder.go b/groups/item_transitive_members_item_graph_application_request_builder.go index acd73c950d6..001ea09a6df 100644 --- a/groups/item_transitive_members_item_graph_application_request_builder.go +++ b/groups/item_transitive_members_item_graph_application_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTransitiveMembersItemGraphApplicationRequestBuilder) ToGetRequestIn } 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 *ItemTransitiveMembersItemGraphApplicationRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMembersItemGraphApplicationRequestBuilder) { + return NewItemTransitiveMembersItemGraphApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_members_item_graph_device_request_builder.go b/groups/item_transitive_members_item_graph_device_request_builder.go index 520f2340f2d..d0c5f814c9f 100644 --- a/groups/item_transitive_members_item_graph_device_request_builder.go +++ b/groups/item_transitive_members_item_graph_device_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTransitiveMembersItemGraphDeviceRequestBuilder) ToGetRequestInforma } 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 *ItemTransitiveMembersItemGraphDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMembersItemGraphDeviceRequestBuilder) { + return NewItemTransitiveMembersItemGraphDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_members_item_graph_group_request_builder.go b/groups/item_transitive_members_item_graph_group_request_builder.go index 95e35b06bb1..c17ff97faa2 100644 --- a/groups/item_transitive_members_item_graph_group_request_builder.go +++ b/groups/item_transitive_members_item_graph_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTransitiveMembersItemGraphGroupRequestBuilder) ToGetRequestInformat } 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 *ItemTransitiveMembersItemGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMembersItemGraphGroupRequestBuilder) { + return NewItemTransitiveMembersItemGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_members_item_graph_org_contact_request_builder.go b/groups/item_transitive_members_item_graph_org_contact_request_builder.go index 6e1d7ef48e5..800393f0202 100644 --- a/groups/item_transitive_members_item_graph_org_contact_request_builder.go +++ b/groups/item_transitive_members_item_graph_org_contact_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTransitiveMembersItemGraphOrgContactRequestBuilder) ToGetRequestInf } 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 *ItemTransitiveMembersItemGraphOrgContactRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMembersItemGraphOrgContactRequestBuilder) { + return NewItemTransitiveMembersItemGraphOrgContactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_members_item_graph_service_principal_request_builder.go b/groups/item_transitive_members_item_graph_service_principal_request_builder.go index 11d1e9c0f33..62d589cebcf 100644 --- a/groups/item_transitive_members_item_graph_service_principal_request_builder.go +++ b/groups/item_transitive_members_item_graph_service_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTransitiveMembersItemGraphServicePrincipalRequestBuilder) ToGetRequ } 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 *ItemTransitiveMembersItemGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMembersItemGraphServicePrincipalRequestBuilder) { + return NewItemTransitiveMembersItemGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_members_item_graph_user_request_builder.go b/groups/item_transitive_members_item_graph_user_request_builder.go index 4f0e15f6cc1..0005247e136 100644 --- a/groups/item_transitive_members_item_graph_user_request_builder.go +++ b/groups/item_transitive_members_item_graph_user_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTransitiveMembersItemGraphUserRequestBuilder) ToGetRequestInformati } 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 *ItemTransitiveMembersItemGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMembersItemGraphUserRequestBuilder) { + return NewItemTransitiveMembersItemGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_transitive_members_request_builder.go b/groups/item_transitive_members_request_builder.go index 55f83cd006b..740343cc0a0 100644 --- a/groups/item_transitive_members_request_builder.go +++ b/groups/item_transitive_members_request_builder.go @@ -39,8 +39,8 @@ type ItemTransitiveMembersRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemTransitiveMembersRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the transitiveMembers property of the microsoft.graph.group entity. -func (m *ItemTransitiveMembersRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemTransitiveMembersDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the transitiveMembers property of the microsoft.graph.group entity. +func (m *ItemTransitiveMembersRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemTransitiveMembersDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -129,3 +129,7 @@ func (m *ItemTransitiveMembersRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemTransitiveMembersRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMembersRequestBuilder) { + return NewItemTransitiveMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_unsubscribe_by_mail_request_builder.go b/groups/item_unsubscribe_by_mail_request_builder.go index 2fe609afe68..3890ee3663e 100644 --- a/groups/item_unsubscribe_by_mail_request_builder.go +++ b/groups/item_unsubscribe_by_mail_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemUnsubscribeByMailRequestBuilder) 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 *ItemUnsubscribeByMailRequestBuilder) WithUrl(rawUrl string)(*ItemUnsubscribeByMailRequestBuilder) { + return NewItemUnsubscribeByMailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_validate_properties_request_builder.go b/groups/item_validate_properties_request_builder.go index 8825e239778..0b46c39bc48 100644 --- a/groups/item_validate_properties_request_builder.go +++ b/groups/item_validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemValidatePropertiesRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ItemValidatePropertiesRequestBuilder) { + return NewItemValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/validate_properties_request_builder.go b/groups/validate_properties_request_builder.go index 31250f15c4e..98fb1969575 100644 --- a/groups/validate_properties_request_builder.go +++ b/groups/validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ValidatePropertiesRequestBuilder) 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 *ValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ValidatePropertiesRequestBuilder) { + return NewValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groupswithuniquename/groups_with_unique_name_request_builder.go b/groupswithuniquename/groups_with_unique_name_request_builder.go index 1698691ed97..ab547baf1ba 100644 --- a/groupswithuniquename/groups_with_unique_name_request_builder.go +++ b/groupswithuniquename/groups_with_unique_name_request_builder.go @@ -165,3 +165,7 @@ func (m *GroupsWithUniqueNameRequestBuilder) ToPatchRequestInformation(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 *GroupsWithUniqueNameRequestBuilder) WithUrl(rawUrl string)(*GroupsWithUniqueNameRequestBuilder) { + return NewGroupsWithUniqueNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/api_connectors_count_request_builder.go b/identity/api_connectors_count_request_builder.go index 4280b77cc29..0d8258ebd33 100644 --- a/identity/api_connectors_count_request_builder.go +++ b/identity/api_connectors_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ApiConnectorsCountRequestBuilder) 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 *ApiConnectorsCountRequestBuilder) WithUrl(rawUrl string)(*ApiConnectorsCountRequestBuilder) { + return NewApiConnectorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/api_connectors_identity_api_connector_item_request_builder.go b/identity/api_connectors_identity_api_connector_item_request_builder.go index b49342fe52e..2c9cd5f00bb 100644 --- a/identity/api_connectors_identity_api_connector_item_request_builder.go +++ b/identity/api_connectors_identity_api_connector_item_request_builder.go @@ -166,3 +166,7 @@ func (m *ApiConnectorsIdentityApiConnectorItemRequestBuilder) ToPatchRequestInfo func (m *ApiConnectorsIdentityApiConnectorItemRequestBuilder) UploadClientCertificate()(*ApiConnectorsItemUploadClientCertificateRequestBuilder) { return NewApiConnectorsItemUploadClientCertificateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ApiConnectorsIdentityApiConnectorItemRequestBuilder) WithUrl(rawUrl string)(*ApiConnectorsIdentityApiConnectorItemRequestBuilder) { + return NewApiConnectorsIdentityApiConnectorItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/api_connectors_item_upload_client_certificate_request_builder.go b/identity/api_connectors_item_upload_client_certificate_request_builder.go index e341dc63fc1..2efc99fad79 100644 --- a/identity/api_connectors_item_upload_client_certificate_request_builder.go +++ b/identity/api_connectors_item_upload_client_certificate_request_builder.go @@ -70,3 +70,7 @@ func (m *ApiConnectorsItemUploadClientCertificateRequestBuilder) ToPostRequestIn } 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 *ApiConnectorsItemUploadClientCertificateRequestBuilder) WithUrl(rawUrl string)(*ApiConnectorsItemUploadClientCertificateRequestBuilder) { + return NewApiConnectorsItemUploadClientCertificateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/api_connectors_request_builder.go b/identity/api_connectors_request_builder.go index dc5571c6fd4..5dd5e85864a 100644 --- a/identity/api_connectors_request_builder.go +++ b/identity/api_connectors_request_builder.go @@ -46,8 +46,8 @@ type ApiConnectorsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByIdentityApiConnectorIdString provides operations to manage the apiConnectors property of the microsoft.graph.identityContainer entity. -func (m *ApiConnectorsRequestBuilder) ByIdentityApiConnectorIdString(identityApiConnectorId string)(*ApiConnectorsIdentityApiConnectorItemRequestBuilder) { +// ByIdentityApiConnectorId provides operations to manage the apiConnectors property of the microsoft.graph.identityContainer entity. +func (m *ApiConnectorsRequestBuilder) ByIdentityApiConnectorId(identityApiConnectorId string)(*ApiConnectorsIdentityApiConnectorItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ApiConnectorsRequestBuilder) 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 *ApiConnectorsRequestBuilder) WithUrl(rawUrl string)(*ApiConnectorsRequestBuilder) { + return NewApiConnectorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/authentication_event_listeners_authentication_event_listener_item_request_builder.go b/identity/authentication_event_listeners_authentication_event_listener_item_request_builder.go index c6e15a156bc..9ed6cc74b8f 100644 --- a/identity/authentication_event_listeners_authentication_event_listener_item_request_builder.go +++ b/identity/authentication_event_listeners_authentication_event_listener_item_request_builder.go @@ -159,3 +159,7 @@ func (m *AuthenticationEventListenersAuthenticationEventListenerItemRequestBuild } 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 *AuthenticationEventListenersAuthenticationEventListenerItemRequestBuilder) WithUrl(rawUrl string)(*AuthenticationEventListenersAuthenticationEventListenerItemRequestBuilder) { + return NewAuthenticationEventListenersAuthenticationEventListenerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/authentication_event_listeners_count_request_builder.go b/identity/authentication_event_listeners_count_request_builder.go index 9af1123469e..90ff6159229 100644 --- a/identity/authentication_event_listeners_count_request_builder.go +++ b/identity/authentication_event_listeners_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AuthenticationEventListenersCountRequestBuilder) 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 *AuthenticationEventListenersCountRequestBuilder) WithUrl(rawUrl string)(*AuthenticationEventListenersCountRequestBuilder) { + return NewAuthenticationEventListenersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/authentication_event_listeners_request_builder.go b/identity/authentication_event_listeners_request_builder.go index dbd21164aeb..346552afbc5 100644 --- a/identity/authentication_event_listeners_request_builder.go +++ b/identity/authentication_event_listeners_request_builder.go @@ -46,8 +46,8 @@ type AuthenticationEventListenersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAuthenticationEventListenerIdString provides operations to manage the authenticationEventListeners property of the microsoft.graph.identityContainer entity. -func (m *AuthenticationEventListenersRequestBuilder) ByAuthenticationEventListenerIdString(authenticationEventListenerId string)(*AuthenticationEventListenersAuthenticationEventListenerItemRequestBuilder) { +// ByAuthenticationEventListenerId provides operations to manage the authenticationEventListeners property of the microsoft.graph.identityContainer entity. +func (m *AuthenticationEventListenersRequestBuilder) ByAuthenticationEventListenerId(authenticationEventListenerId string)(*AuthenticationEventListenersAuthenticationEventListenerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *AuthenticationEventListenersRequestBuilder) 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 *AuthenticationEventListenersRequestBuilder) WithUrl(rawUrl string)(*AuthenticationEventListenersRequestBuilder) { + return NewAuthenticationEventListenersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/authentication_events_flows_authentication_events_flow_item_request_builder.go b/identity/authentication_events_flows_authentication_events_flow_item_request_builder.go index c8fd9798ba1..59d04ba0b45 100644 --- a/identity/authentication_events_flows_authentication_events_flow_item_request_builder.go +++ b/identity/authentication_events_flows_authentication_events_flow_item_request_builder.go @@ -162,3 +162,7 @@ func (m *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder) To } 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 *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder) WithUrl(rawUrl string)(*AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder) { + return NewAuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/authentication_events_flows_count_request_builder.go b/identity/authentication_events_flows_count_request_builder.go index 3d93258af7a..6c3fdf0babb 100644 --- a/identity/authentication_events_flows_count_request_builder.go +++ b/identity/authentication_events_flows_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AuthenticationEventsFlowsCountRequestBuilder) ToGetRequestInformation(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 *AuthenticationEventsFlowsCountRequestBuilder) WithUrl(rawUrl string)(*AuthenticationEventsFlowsCountRequestBuilder) { + return NewAuthenticationEventsFlowsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/authentication_events_flows_request_builder.go b/identity/authentication_events_flows_request_builder.go index 1e97baf8df2..f1d8c6cb6c7 100644 --- a/identity/authentication_events_flows_request_builder.go +++ b/identity/authentication_events_flows_request_builder.go @@ -46,8 +46,8 @@ type AuthenticationEventsFlowsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAuthenticationEventsFlowIdString provides operations to manage the authenticationEventsFlows property of the microsoft.graph.identityContainer entity. -func (m *AuthenticationEventsFlowsRequestBuilder) ByAuthenticationEventsFlowIdString(authenticationEventsFlowId string)(*AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder) { +// ByAuthenticationEventsFlowId provides operations to manage the authenticationEventsFlows property of the microsoft.graph.identityContainer entity. +func (m *AuthenticationEventsFlowsRequestBuilder) ByAuthenticationEventsFlowId(authenticationEventsFlowId string)(*AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *AuthenticationEventsFlowsRequestBuilder) ToPostRequestInformation(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 *AuthenticationEventsFlowsRequestBuilder) WithUrl(rawUrl string)(*AuthenticationEventsFlowsRequestBuilder) { + return NewAuthenticationEventsFlowsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_b2c_identity_user_flow_item_request_builder.go b/identity/b2c_user_flows_b2c_identity_user_flow_item_request_builder.go index 7c36804bd00..a8fb2978c70 100644 --- a/identity/b2c_user_flows_b2c_identity_user_flow_item_request_builder.go +++ b/identity/b2c_user_flows_b2c_identity_user_flow_item_request_builder.go @@ -178,3 +178,7 @@ func (m *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilder) UserAttributeAssignm func (m *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilder) UserFlowIdentityProviders()(*B2cUserFlowsItemUserFlowIdentityProvidersRequestBuilder) { return NewB2cUserFlowsItemUserFlowIdentityProvidersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsB2cIdentityUserFlowItemRequestBuilder) { + return NewB2cUserFlowsB2cIdentityUserFlowItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_count_request_builder.go b/identity/b2c_user_flows_count_request_builder.go index 45c57ed170a..ee0135a338d 100644 --- a/identity/b2c_user_flows_count_request_builder.go +++ b/identity/b2c_user_flows_count_request_builder.go @@ -74,3 +74,7 @@ func (m *B2cUserFlowsCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *B2cUserFlowsCountRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsCountRequestBuilder) { + return NewB2cUserFlowsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_identity_providers_count_request_builder.go b/identity/b2c_user_flows_item_identity_providers_count_request_builder.go index 635c4c0b803..889ffbc3002 100644 --- a/identity/b2c_user_flows_item_identity_providers_count_request_builder.go +++ b/identity/b2c_user_flows_item_identity_providers_count_request_builder.go @@ -76,3 +76,8 @@ func (m *B2cUserFlowsItemIdentityProvidersCountRequestBuilder) ToGetRequestInfor } 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. +// Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15 +func (m *B2cUserFlowsItemIdentityProvidersCountRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemIdentityProvidersCountRequestBuilder) { + return NewB2cUserFlowsItemIdentityProvidersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_identity_providers_item_ref_request_builder.go b/identity/b2c_user_flows_item_identity_providers_item_ref_request_builder.go index 0ac32d49236..7d967d772f4 100644 --- a/identity/b2c_user_flows_item_identity_providers_item_ref_request_builder.go +++ b/identity/b2c_user_flows_item_identity_providers_item_ref_request_builder.go @@ -73,3 +73,8 @@ func (m *B2cUserFlowsItemIdentityProvidersItemRefRequestBuilder) ToDeleteRequest } 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. +// Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15 +func (m *B2cUserFlowsItemIdentityProvidersItemRefRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemIdentityProvidersItemRefRequestBuilder) { + return NewB2cUserFlowsItemIdentityProvidersItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_identity_providers_ref_request_builder.go b/identity/b2c_user_flows_item_identity_providers_ref_request_builder.go index 6ec874bd3d7..019c641c4a7 100644 --- a/identity/b2c_user_flows_item_identity_providers_ref_request_builder.go +++ b/identity/b2c_user_flows_item_identity_providers_ref_request_builder.go @@ -132,3 +132,8 @@ func (m *B2cUserFlowsItemIdentityProvidersRefRequestBuilder) ToPostRequestInform } 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. +// Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15 +func (m *B2cUserFlowsItemIdentityProvidersRefRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemIdentityProvidersRefRequestBuilder) { + return NewB2cUserFlowsItemIdentityProvidersRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_identity_providers_request_builder.go b/identity/b2c_user_flows_item_identity_providers_request_builder.go index 38983d38cfd..59e14161c88 100644 --- a/identity/b2c_user_flows_item_identity_providers_request_builder.go +++ b/identity/b2c_user_flows_item_identity_providers_request_builder.go @@ -39,8 +39,8 @@ type B2cUserFlowsItemIdentityProvidersRequestBuilderGetRequestConfiguration stru // Request query parameters QueryParameters *B2cUserFlowsItemIdentityProvidersRequestBuilderGetQueryParameters } -// ByIdentityProviderIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.b2cUserFlows.item.identityProviders.item collection -func (m *B2cUserFlowsItemIdentityProvidersRequestBuilder) ByIdentityProviderIdString(identityProviderId string)(*B2cUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilder) { +// ByIdentityProviderId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.b2cUserFlows.item.identityProviders.item collection +func (m *B2cUserFlowsItemIdentityProvidersRequestBuilder) ByIdentityProviderId(identityProviderId string)(*B2cUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -111,3 +111,8 @@ func (m *B2cUserFlowsItemIdentityProvidersRequestBuilder) 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. +// Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15 +func (m *B2cUserFlowsItemIdentityProvidersRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemIdentityProvidersRequestBuilder) { + return NewB2cUserFlowsItemIdentityProvidersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_languages_count_request_builder.go b/identity/b2c_user_flows_item_languages_count_request_builder.go index ad841a5215e..deb5b348c25 100644 --- a/identity/b2c_user_flows_item_languages_count_request_builder.go +++ b/identity/b2c_user_flows_item_languages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *B2cUserFlowsItemLanguagesCountRequestBuilder) ToGetRequestInformation(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 *B2cUserFlowsItemLanguagesCountRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemLanguagesCountRequestBuilder) { + return NewB2cUserFlowsItemLanguagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_languages_item_default_pages_count_request_builder.go b/identity/b2c_user_flows_item_languages_item_default_pages_count_request_builder.go index 3b185656b67..fe62c00f3f8 100644 --- a/identity/b2c_user_flows_item_languages_item_default_pages_count_request_builder.go +++ b/identity/b2c_user_flows_item_languages_item_default_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *B2cUserFlowsItemLanguagesItemDefaultPagesCountRequestBuilder) ToGetRequ } 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 *B2cUserFlowsItemLanguagesItemDefaultPagesCountRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemLanguagesItemDefaultPagesCountRequestBuilder) { + return NewB2cUserFlowsItemLanguagesItemDefaultPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go b/identity/b2c_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go index 4aa9558ab89..f6cc3227a28 100644 --- a/identity/b2c_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go +++ b/identity/b2c_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *B2cUserFlowsItemLanguagesItemDefaultPagesItemValueContentRequestBuilder } 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 *B2cUserFlowsItemLanguagesItemDefaultPagesItemValueContentRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemLanguagesItemDefaultPagesItemValueContentRequestBuilder) { + return NewB2cUserFlowsItemLanguagesItemDefaultPagesItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_languages_item_default_pages_request_builder.go b/identity/b2c_user_flows_item_languages_item_default_pages_request_builder.go index 1b2e8099a1b..ded584d0c51 100644 --- a/identity/b2c_user_flows_item_languages_item_default_pages_request_builder.go +++ b/identity/b2c_user_flows_item_languages_item_default_pages_request_builder.go @@ -46,8 +46,8 @@ type B2cUserFlowsItemLanguagesItemDefaultPagesRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserFlowLanguagePageIdString provides operations to manage the defaultPages property of the microsoft.graph.userFlowLanguageConfiguration entity. -func (m *B2cUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) ByUserFlowLanguagePageIdString(userFlowLanguagePageId string)(*B2cUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilder) { +// ByUserFlowLanguagePageId provides operations to manage the defaultPages property of the microsoft.graph.userFlowLanguageConfiguration entity. +func (m *B2cUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) ByUserFlowLanguagePageId(userFlowLanguagePageId string)(*B2cUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *B2cUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) ToPostRequestI } 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 *B2cUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) { + return NewB2cUserFlowsItemLanguagesItemDefaultPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_languages_item_default_pages_user_flow_language_page_item_request_builder.go b/identity/b2c_user_flows_item_languages_item_default_pages_user_flow_language_page_item_request_builder.go index 15e47e7dbf2..990e16a366d 100644 --- a/identity/b2c_user_flows_item_languages_item_default_pages_user_flow_language_page_item_request_builder.go +++ b/identity/b2c_user_flows_item_languages_item_default_pages_user_flow_language_page_item_request_builder.go @@ -18,7 +18,7 @@ type B2cUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// B2cUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilderGetQueryParameters collection of pages with the default content to display in a user flow for a specified language. This collection does not allow any kind of modification. +// B2cUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilderGetQueryParameters collection of pages with the default content to display in a user flow for a specified language. This collection doesn't allow any kind of modification. type B2cUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,7 +74,7 @@ func (m *B2cUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemReques } return nil } -// Get collection of pages with the default content to display in a user flow for a specified language. This collection does not allow any kind of modification. +// Get collection of pages with the default content to display in a user flow for a specified language. This collection doesn't allow any kind of modification. func (m *B2cUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *B2cUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguagePageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +124,7 @@ func (m *B2cUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemReques } return requestInfo, nil } -// ToGetRequestInformation collection of pages with the default content to display in a user flow for a specified language. This collection does not allow any kind of modification. +// ToGetRequestInformation collection of pages with the default content to display in a user flow for a specified language. This collection doesn't allow any kind of modification. func (m *B2cUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2cUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -157,3 +157,7 @@ func (m *B2cUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemReques } 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 *B2cUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilder) { + return NewB2cUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_languages_item_overrides_pages_count_request_builder.go b/identity/b2c_user_flows_item_languages_item_overrides_pages_count_request_builder.go index 947a9dd2ccc..ef01e31db7a 100644 --- a/identity/b2c_user_flows_item_languages_item_overrides_pages_count_request_builder.go +++ b/identity/b2c_user_flows_item_languages_item_overrides_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *B2cUserFlowsItemLanguagesItemOverridesPagesCountRequestBuilder) ToGetRe } 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 *B2cUserFlowsItemLanguagesItemOverridesPagesCountRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemLanguagesItemOverridesPagesCountRequestBuilder) { + return NewB2cUserFlowsItemLanguagesItemOverridesPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go b/identity/b2c_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go index b71ce694936..2e9aa846259 100644 --- a/identity/b2c_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go +++ b/identity/b2c_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *B2cUserFlowsItemLanguagesItemOverridesPagesItemValueContentRequestBuild } 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 *B2cUserFlowsItemLanguagesItemOverridesPagesItemValueContentRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemLanguagesItemOverridesPagesItemValueContentRequestBuilder) { + return NewB2cUserFlowsItemLanguagesItemOverridesPagesItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_languages_item_overrides_pages_request_builder.go b/identity/b2c_user_flows_item_languages_item_overrides_pages_request_builder.go index 18e7cdcb1f7..bedc3024af7 100644 --- a/identity/b2c_user_flows_item_languages_item_overrides_pages_request_builder.go +++ b/identity/b2c_user_flows_item_languages_item_overrides_pages_request_builder.go @@ -46,8 +46,8 @@ type B2cUserFlowsItemLanguagesItemOverridesPagesRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserFlowLanguagePageIdString provides operations to manage the overridesPages property of the microsoft.graph.userFlowLanguageConfiguration entity. -func (m *B2cUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) ByUserFlowLanguagePageIdString(userFlowLanguagePageId string)(*B2cUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilder) { +// ByUserFlowLanguagePageId provides operations to manage the overridesPages property of the microsoft.graph.userFlowLanguageConfiguration entity. +func (m *B2cUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) ByUserFlowLanguagePageId(userFlowLanguagePageId string)(*B2cUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *B2cUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) ToPostReques } 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 *B2cUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) { + return NewB2cUserFlowsItemLanguagesItemOverridesPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_languages_item_overrides_pages_user_flow_language_page_item_request_builder.go b/identity/b2c_user_flows_item_languages_item_overrides_pages_user_flow_language_page_item_request_builder.go index 743f96fd62e..b02b3033948 100644 --- a/identity/b2c_user_flows_item_languages_item_overrides_pages_user_flow_language_page_item_request_builder.go +++ b/identity/b2c_user_flows_item_languages_item_overrides_pages_user_flow_language_page_item_request_builder.go @@ -18,7 +18,7 @@ type B2cUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// B2cUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilderGetQueryParameters collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification is not allowed (creation or deletion of pages). +// B2cUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilderGetQueryParameters collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). type B2cUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,7 +74,7 @@ func (m *B2cUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequ } return nil } -// Get collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification is not allowed (creation or deletion of pages). +// Get collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). func (m *B2cUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *B2cUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguagePageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +124,7 @@ func (m *B2cUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequ } return requestInfo, nil } -// ToGetRequestInformation collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification is not allowed (creation or deletion of pages). +// ToGetRequestInformation collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). func (m *B2cUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2cUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -157,3 +157,7 @@ func (m *B2cUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequ } 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 *B2cUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilder) { + return NewB2cUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_languages_request_builder.go b/identity/b2c_user_flows_item_languages_request_builder.go index 02928d61920..3a2b9f3a6c7 100644 --- a/identity/b2c_user_flows_item_languages_request_builder.go +++ b/identity/b2c_user_flows_item_languages_request_builder.go @@ -46,8 +46,8 @@ type B2cUserFlowsItemLanguagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserFlowLanguageConfigurationIdString provides operations to manage the languages property of the microsoft.graph.b2cIdentityUserFlow entity. -func (m *B2cUserFlowsItemLanguagesRequestBuilder) ByUserFlowLanguageConfigurationIdString(userFlowLanguageConfigurationId string)(*B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilder) { +// ByUserFlowLanguageConfigurationId provides operations to manage the languages property of the microsoft.graph.b2cIdentityUserFlow entity. +func (m *B2cUserFlowsItemLanguagesRequestBuilder) ByUserFlowLanguageConfigurationId(userFlowLanguageConfigurationId string)(*B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *B2cUserFlowsItemLanguagesRequestBuilder) ToPostRequestInformation(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 *B2cUserFlowsItemLanguagesRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemLanguagesRequestBuilder) { + return NewB2cUserFlowsItemLanguagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_languages_user_flow_language_configuration_item_request_builder.go b/identity/b2c_user_flows_item_languages_user_flow_language_configuration_item_request_builder.go index d9060e123f0..dc016bc6651 100644 --- a/identity/b2c_user_flows_item_languages_user_flow_language_configuration_item_request_builder.go +++ b/identity/b2c_user_flows_item_languages_user_flow_language_configuration_item_request_builder.go @@ -170,3 +170,7 @@ func (m *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilde } 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 *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilder) { + return NewB2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_user_attribute_assignments_count_request_builder.go b/identity/b2c_user_flows_item_user_attribute_assignments_count_request_builder.go index b8f7f4b6141..9e504ff469e 100644 --- a/identity/b2c_user_flows_item_user_attribute_assignments_count_request_builder.go +++ b/identity/b2c_user_flows_item_user_attribute_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsCountRequestBuilder) ToGetReque } 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 *B2cUserFlowsItemUserAttributeAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemUserAttributeAssignmentsCountRequestBuilder) { + return NewB2cUserFlowsItemUserAttributeAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_user_attribute_assignments_get_order_request_builder.go b/identity/b2c_user_flows_item_user_attribute_assignments_get_order_request_builder.go index acfe16f938a..bef74148d46 100644 --- a/identity/b2c_user_flows_item_user_attribute_assignments_get_order_request_builder.go +++ b/identity/b2c_user_flows_item_user_attribute_assignments_get_order_request_builder.go @@ -63,3 +63,7 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilder) ToGetRe } 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 *B2cUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilder) { + return NewB2cUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_user_attribute_assignments_identity_user_flow_attribute_assignment_item_request_builder.go b/identity/b2c_user_flows_item_user_attribute_assignments_identity_user_flow_attribute_assignment_item_request_builder.go index bdff29cc924..b1755e93013 100644 --- a/identity/b2c_user_flows_item_user_attribute_assignments_identity_user_flow_attribute_assignment_item_request_builder.go +++ b/identity/b2c_user_flows_item_user_attribute_assignments_identity_user_flow_attribute_assignment_item_request_builder.go @@ -166,3 +166,7 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssign func (m *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilder) UserAttribute()(*B2cUserFlowsItemUserAttributeAssignmentsItemUserAttributeRequestBuilder) { return NewB2cUserFlowsItemUserAttributeAssignmentsItemUserAttributeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilder) { + return NewB2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_user_attribute_assignments_item_user_attribute_request_builder.go b/identity/b2c_user_flows_item_user_attribute_assignments_item_user_attribute_request_builder.go index 39c9ad49945..e913bce1290 100644 --- a/identity/b2c_user_flows_item_user_attribute_assignments_item_user_attribute_request_builder.go +++ b/identity/b2c_user_flows_item_user_attribute_assignments_item_user_attribute_request_builder.go @@ -75,3 +75,7 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsItemUserAttributeRequestBuilder } 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 *B2cUserFlowsItemUserAttributeAssignmentsItemUserAttributeRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemUserAttributeAssignmentsItemUserAttributeRequestBuilder) { + return NewB2cUserFlowsItemUserAttributeAssignmentsItemUserAttributeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_user_attribute_assignments_request_builder.go b/identity/b2c_user_flows_item_user_attribute_assignments_request_builder.go index 8bbbd0b7ba2..575ba984e8d 100644 --- a/identity/b2c_user_flows_item_user_attribute_assignments_request_builder.go +++ b/identity/b2c_user_flows_item_user_attribute_assignments_request_builder.go @@ -46,8 +46,8 @@ type B2cUserFlowsItemUserAttributeAssignmentsRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByIdentityUserFlowAttributeAssignmentIdString provides operations to manage the userAttributeAssignments property of the microsoft.graph.b2cIdentityUserFlow entity. -func (m *B2cUserFlowsItemUserAttributeAssignmentsRequestBuilder) ByIdentityUserFlowAttributeAssignmentIdString(identityUserFlowAttributeAssignmentId string)(*B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilder) { +// ByIdentityUserFlowAttributeAssignmentId provides operations to manage the userAttributeAssignments property of the microsoft.graph.b2cIdentityUserFlow entity. +func (m *B2cUserFlowsItemUserAttributeAssignmentsRequestBuilder) ByIdentityUserFlowAttributeAssignmentId(identityUserFlowAttributeAssignmentId string)(*B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -159,3 +159,7 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsRequestBuilder) ToPostRequestIn } 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 *B2cUserFlowsItemUserAttributeAssignmentsRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemUserAttributeAssignmentsRequestBuilder) { + return NewB2cUserFlowsItemUserAttributeAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_user_attribute_assignments_set_order_request_builder.go b/identity/b2c_user_flows_item_user_attribute_assignments_set_order_request_builder.go index e9f06375a72..40979110f36 100644 --- a/identity/b2c_user_flows_item_user_attribute_assignments_set_order_request_builder.go +++ b/identity/b2c_user_flows_item_user_attribute_assignments_set_order_request_builder.go @@ -65,3 +65,7 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsSetOrderRequestBuilder) ToPostR } 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 *B2cUserFlowsItemUserAttributeAssignmentsSetOrderRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemUserAttributeAssignmentsSetOrderRequestBuilder) { + return NewB2cUserFlowsItemUserAttributeAssignmentsSetOrderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_user_flow_identity_providers_count_request_builder.go b/identity/b2c_user_flows_item_user_flow_identity_providers_count_request_builder.go index 7e67bcb15e9..5e25fc28257 100644 --- a/identity/b2c_user_flows_item_user_flow_identity_providers_count_request_builder.go +++ b/identity/b2c_user_flows_item_user_flow_identity_providers_count_request_builder.go @@ -74,3 +74,7 @@ func (m *B2cUserFlowsItemUserFlowIdentityProvidersCountRequestBuilder) ToGetRequ } 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 *B2cUserFlowsItemUserFlowIdentityProvidersCountRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemUserFlowIdentityProvidersCountRequestBuilder) { + return NewB2cUserFlowsItemUserFlowIdentityProvidersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_user_flow_identity_providers_identity_provider_base_item_request_builder.go b/identity/b2c_user_flows_item_user_flow_identity_providers_identity_provider_base_item_request_builder.go index 7123de6ed52..aee9d081321 100644 --- a/identity/b2c_user_flows_item_user_flow_identity_providers_identity_provider_base_item_request_builder.go +++ b/identity/b2c_user_flows_item_user_flow_identity_providers_identity_provider_base_item_request_builder.go @@ -75,3 +75,7 @@ func (m *B2cUserFlowsItemUserFlowIdentityProvidersIdentityProviderBaseItemReques } 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 *B2cUserFlowsItemUserFlowIdentityProvidersIdentityProviderBaseItemRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemUserFlowIdentityProvidersIdentityProviderBaseItemRequestBuilder) { + return NewB2cUserFlowsItemUserFlowIdentityProvidersIdentityProviderBaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_item_user_flow_identity_providers_request_builder.go b/identity/b2c_user_flows_item_user_flow_identity_providers_request_builder.go index 94ab3cd8fa6..626b7437d01 100644 --- a/identity/b2c_user_flows_item_user_flow_identity_providers_request_builder.go +++ b/identity/b2c_user_flows_item_user_flow_identity_providers_request_builder.go @@ -39,8 +39,8 @@ type B2cUserFlowsItemUserFlowIdentityProvidersRequestBuilderGetRequestConfigurat // Request query parameters QueryParameters *B2cUserFlowsItemUserFlowIdentityProvidersRequestBuilderGetQueryParameters } -// ByIdentityProviderBaseIdString provides operations to manage the userFlowIdentityProviders property of the microsoft.graph.b2cIdentityUserFlow entity. -func (m *B2cUserFlowsItemUserFlowIdentityProvidersRequestBuilder) ByIdentityProviderBaseIdString(identityProviderBaseId string)(*B2cUserFlowsItemUserFlowIdentityProvidersIdentityProviderBaseItemRequestBuilder) { +// ByIdentityProviderBaseId provides operations to manage the userFlowIdentityProviders property of the microsoft.graph.b2cIdentityUserFlow entity. +func (m *B2cUserFlowsItemUserFlowIdentityProvidersRequestBuilder) ByIdentityProviderBaseId(identityProviderBaseId string)(*B2cUserFlowsItemUserFlowIdentityProvidersIdentityProviderBaseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *B2cUserFlowsItemUserFlowIdentityProvidersRequestBuilder) ToGetRequestIn } 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 *B2cUserFlowsItemUserFlowIdentityProvidersRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsItemUserFlowIdentityProvidersRequestBuilder) { + return NewB2cUserFlowsItemUserFlowIdentityProvidersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2c_user_flows_request_builder.go b/identity/b2c_user_flows_request_builder.go index 8eb1eb6a9d4..40d38cd15c4 100644 --- a/identity/b2c_user_flows_request_builder.go +++ b/identity/b2c_user_flows_request_builder.go @@ -46,8 +46,8 @@ type B2cUserFlowsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByB2cIdentityUserFlowIdString provides operations to manage the b2cUserFlows property of the microsoft.graph.identityContainer entity. -func (m *B2cUserFlowsRequestBuilder) ByB2cIdentityUserFlowIdString(b2cIdentityUserFlowId string)(*B2cUserFlowsB2cIdentityUserFlowItemRequestBuilder) { +// ByB2cIdentityUserFlowId provides operations to manage the b2cUserFlows property of the microsoft.graph.identityContainer entity. +func (m *B2cUserFlowsRequestBuilder) ByB2cIdentityUserFlowId(b2cIdentityUserFlowId string)(*B2cUserFlowsB2cIdentityUserFlowItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *B2cUserFlowsRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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 *B2cUserFlowsRequestBuilder) WithUrl(rawUrl string)(*B2cUserFlowsRequestBuilder) { + return NewB2cUserFlowsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_b2x_identity_user_flow_item_request_builder.go b/identity/b2x_user_flows_b2x_identity_user_flow_item_request_builder.go index 7a5742bd946..e810f0e6736 100644 --- a/identity/b2x_user_flows_b2x_identity_user_flow_item_request_builder.go +++ b/identity/b2x_user_flows_b2x_identity_user_flow_item_request_builder.go @@ -179,3 +179,7 @@ func (m *B2xUserFlowsB2xIdentityUserFlowItemRequestBuilder) UserAttributeAssignm func (m *B2xUserFlowsB2xIdentityUserFlowItemRequestBuilder) UserFlowIdentityProviders()(*B2xUserFlowsItemUserFlowIdentityProvidersRequestBuilder) { return NewB2xUserFlowsItemUserFlowIdentityProvidersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *B2xUserFlowsB2xIdentityUserFlowItemRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsB2xIdentityUserFlowItemRequestBuilder) { + return NewB2xUserFlowsB2xIdentityUserFlowItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_count_request_builder.go b/identity/b2x_user_flows_count_request_builder.go index 68914fcc6b2..63be3edb169 100644 --- a/identity/b2x_user_flows_count_request_builder.go +++ b/identity/b2x_user_flows_count_request_builder.go @@ -74,3 +74,7 @@ func (m *B2xUserFlowsCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *B2xUserFlowsCountRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsCountRequestBuilder) { + return NewB2xUserFlowsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_ref_request_builder.go b/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_ref_request_builder.go index 57d970f5df2..0c7c4600bf1 100644 --- a/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_ref_request_builder.go +++ b/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_ref_request_builder.go @@ -137,3 +137,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionRefRequ } 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 *B2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionRefRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionRefRequestBuilder) { + return NewB2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_request_builder.go b/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_request_builder.go index aaee8f619f9..cf54972333c 100644 --- a/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_request_builder.go +++ b/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_request_builder.go @@ -161,3 +161,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionRequest func (m *B2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionRequestBuilder) UploadClientCertificate()(*B2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionUploadClientCertificateRequestBuilder) { return NewB2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionUploadClientCertificateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *B2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionRequestBuilder) { + return NewB2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_upload_client_certificate_request_builder.go b/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_upload_client_certificate_request_builder.go index 7e390f5355c..83bc6e49d8b 100644 --- a/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_upload_client_certificate_request_builder.go +++ b/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_upload_client_certificate_request_builder.go @@ -70,3 +70,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionUploadC } 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 *B2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionUploadClientCertificateRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionUploadClientCertificateRequestBuilder) { + return NewB2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionUploadClientCertificateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_ref_request_builder.go b/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_ref_request_builder.go index c357ae49644..013b6ce4998 100644 --- a/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_ref_request_builder.go +++ b/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_ref_request_builder.go @@ -137,3 +137,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPostFederationSignupRefRequest } 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 *B2xUserFlowsItemApiConnectorConfigurationPostFederationSignupRefRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemApiConnectorConfigurationPostFederationSignupRefRequestBuilder) { + return NewB2xUserFlowsItemApiConnectorConfigurationPostFederationSignupRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_request_builder.go b/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_request_builder.go index 88820e0bb27..3e1ae2bd06a 100644 --- a/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_request_builder.go +++ b/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_request_builder.go @@ -161,3 +161,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPostFederationSignupRequestBui func (m *B2xUserFlowsItemApiConnectorConfigurationPostFederationSignupRequestBuilder) UploadClientCertificate()(*B2xUserFlowsItemApiConnectorConfigurationPostFederationSignupUploadClientCertificateRequestBuilder) { return NewB2xUserFlowsItemApiConnectorConfigurationPostFederationSignupUploadClientCertificateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *B2xUserFlowsItemApiConnectorConfigurationPostFederationSignupRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemApiConnectorConfigurationPostFederationSignupRequestBuilder) { + return NewB2xUserFlowsItemApiConnectorConfigurationPostFederationSignupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_upload_client_certificate_request_builder.go b/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_upload_client_certificate_request_builder.go index 30e4e2dc89d..ccc511fe353 100644 --- a/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_upload_client_certificate_request_builder.go +++ b/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_upload_client_certificate_request_builder.go @@ -70,3 +70,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPostFederationSignupUploadClie } 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 *B2xUserFlowsItemApiConnectorConfigurationPostFederationSignupUploadClientCertificateRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemApiConnectorConfigurationPostFederationSignupUploadClientCertificateRequestBuilder) { + return NewB2xUserFlowsItemApiConnectorConfigurationPostFederationSignupUploadClientCertificateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_api_connector_configuration_pre_token_issuance_request_builder.go b/identity/b2x_user_flows_item_api_connector_configuration_pre_token_issuance_request_builder.go index e752ae14592..bda4ba22af3 100644 --- a/identity/b2x_user_flows_item_api_connector_configuration_pre_token_issuance_request_builder.go +++ b/identity/b2x_user_flows_item_api_connector_configuration_pre_token_issuance_request_builder.go @@ -157,3 +157,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPreTokenIssuanceRequestBuilder func (m *B2xUserFlowsItemApiConnectorConfigurationPreTokenIssuanceRequestBuilder) UploadClientCertificate()(*B2xUserFlowsItemApiConnectorConfigurationPreTokenIssuanceUploadClientCertificateRequestBuilder) { return NewB2xUserFlowsItemApiConnectorConfigurationPreTokenIssuanceUploadClientCertificateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *B2xUserFlowsItemApiConnectorConfigurationPreTokenIssuanceRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemApiConnectorConfigurationPreTokenIssuanceRequestBuilder) { + return NewB2xUserFlowsItemApiConnectorConfigurationPreTokenIssuanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_api_connector_configuration_pre_token_issuance_upload_client_certificate_request_builder.go b/identity/b2x_user_flows_item_api_connector_configuration_pre_token_issuance_upload_client_certificate_request_builder.go index 784041f84bb..6e8e9fa300b 100644 --- a/identity/b2x_user_flows_item_api_connector_configuration_pre_token_issuance_upload_client_certificate_request_builder.go +++ b/identity/b2x_user_flows_item_api_connector_configuration_pre_token_issuance_upload_client_certificate_request_builder.go @@ -70,3 +70,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPreTokenIssuanceUploadClientCe } 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 *B2xUserFlowsItemApiConnectorConfigurationPreTokenIssuanceUploadClientCertificateRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemApiConnectorConfigurationPreTokenIssuanceUploadClientCertificateRequestBuilder) { + return NewB2xUserFlowsItemApiConnectorConfigurationPreTokenIssuanceUploadClientCertificateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_api_connector_configuration_request_builder.go b/identity/b2x_user_flows_item_api_connector_configuration_request_builder.go index ed636b5b6aa..1967b800e5a 100644 --- a/identity/b2x_user_flows_item_api_connector_configuration_request_builder.go +++ b/identity/b2x_user_flows_item_api_connector_configuration_request_builder.go @@ -11,7 +11,7 @@ import ( type B2xUserFlowsItemApiConnectorConfigurationRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// B2xUserFlowsItemApiConnectorConfigurationRequestBuilderGetQueryParameters configuration for enabling an API connector for use as part of the self-service sign up user flow. You can only obtain the value of this object using Get userFlowApiConnectorConfiguration. +// B2xUserFlowsItemApiConnectorConfigurationRequestBuilderGetQueryParameters configuration for enabling an API connector for use as part of the self-service sign-up user flow. You can only obtain the value of this object using Get userFlowApiConnectorConfiguration. type B2xUserFlowsItemApiConnectorConfigurationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewB2xUserFlowsItemApiConnectorConfigurationRequestBuilder(rawUrl string, r urlParams["request-raw-url"] = rawUrl return NewB2xUserFlowsItemApiConnectorConfigurationRequestBuilderInternal(urlParams, requestAdapter) } -// Get configuration for enabling an API connector for use as part of the self-service sign up user flow. You can only obtain the value of this object using Get userFlowApiConnectorConfiguration. +// Get configuration for enabling an API connector for use as part of the self-service sign-up user flow. You can only obtain the value of this object using Get userFlowApiConnectorConfiguration. func (m *B2xUserFlowsItemApiConnectorConfigurationRequestBuilder) Get(ctx context.Context, requestConfiguration *B2xUserFlowsItemApiConnectorConfigurationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowApiConnectorConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,7 +71,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationRequestBuilder) PostFederation func (m *B2xUserFlowsItemApiConnectorConfigurationRequestBuilder) PreTokenIssuance()(*B2xUserFlowsItemApiConnectorConfigurationPreTokenIssuanceRequestBuilder) { return NewB2xUserFlowsItemApiConnectorConfigurationPreTokenIssuanceRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation configuration for enabling an API connector for use as part of the self-service sign up user flow. You can only obtain the value of this object using Get userFlowApiConnectorConfiguration. +// ToGetRequestInformation configuration for enabling an API connector for use as part of the self-service sign-up user flow. You can only obtain the value of this object using Get userFlowApiConnectorConfiguration. func (m *B2xUserFlowsItemApiConnectorConfigurationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2xUserFlowsItemApiConnectorConfigurationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -87,3 +87,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationRequestBuilder) ToGetRequestIn } 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 *B2xUserFlowsItemApiConnectorConfigurationRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemApiConnectorConfigurationRequestBuilder) { + return NewB2xUserFlowsItemApiConnectorConfigurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_identity_providers_count_request_builder.go b/identity/b2x_user_flows_item_identity_providers_count_request_builder.go index 36d3b11c4af..3357c20ea93 100644 --- a/identity/b2x_user_flows_item_identity_providers_count_request_builder.go +++ b/identity/b2x_user_flows_item_identity_providers_count_request_builder.go @@ -76,3 +76,8 @@ func (m *B2xUserFlowsItemIdentityProvidersCountRequestBuilder) ToGetRequestInfor } 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. +// Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15 +func (m *B2xUserFlowsItemIdentityProvidersCountRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemIdentityProvidersCountRequestBuilder) { + return NewB2xUserFlowsItemIdentityProvidersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_identity_providers_identity_provider_item_request_builder.go b/identity/b2x_user_flows_item_identity_providers_identity_provider_item_request_builder.go index be01765f67c..100bfc7dbf4 100644 --- a/identity/b2x_user_flows_item_identity_providers_identity_provider_item_request_builder.go +++ b/identity/b2x_user_flows_item_identity_providers_identity_provider_item_request_builder.go @@ -47,7 +47,7 @@ func NewB2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewB2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an identity provider from a b2xIdentityUserFlow object. For self-service sign up user flows, the values can be Google-OAUTH or Facebook-OAUTH. +// Delete delete an identity provider from a b2xIdentityUserFlow object. For self-service sign-up user flows, the values can be Google-OAUTH or Facebook-OAUTH. // Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15 // [Find more info here] // @@ -87,7 +87,7 @@ func (m *B2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilder) Ge } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderable), nil } -// ToDeleteRequestInformation delete an identity provider from a b2xIdentityUserFlow object. For self-service sign up user flows, the values can be Google-OAUTH or Facebook-OAUTH. +// ToDeleteRequestInformation delete an identity provider from a b2xIdentityUserFlow object. For self-service sign-up user flows, the values can be Google-OAUTH or Facebook-OAUTH. // Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15 func (m *B2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *B2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -117,3 +117,8 @@ func (m *B2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilder) To } 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. +// Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15 +func (m *B2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilder) { + return NewB2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_identity_providers_request_builder.go b/identity/b2x_user_flows_item_identity_providers_request_builder.go index 9f8ac0dc5f0..5dfc4a4c601 100644 --- a/identity/b2x_user_flows_item_identity_providers_request_builder.go +++ b/identity/b2x_user_flows_item_identity_providers_request_builder.go @@ -39,9 +39,9 @@ type B2xUserFlowsItemIdentityProvidersRequestBuilderGetRequestConfiguration stru // Request query parameters QueryParameters *B2xUserFlowsItemIdentityProvidersRequestBuilderGetQueryParameters } -// ByIdentityProviderIdString provides operations to manage the identityProviders property of the microsoft.graph.b2xIdentityUserFlow entity. +// ByIdentityProviderId provides operations to manage the identityProviders property of the microsoft.graph.b2xIdentityUserFlow entity. // Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15 -func (m *B2xUserFlowsItemIdentityProvidersRequestBuilder) ByIdentityProviderIdString(identityProviderId string)(*B2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilder) { +func (m *B2xUserFlowsItemIdentityProvidersRequestBuilder) ByIdentityProviderId(identityProviderId string)(*B2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -108,3 +108,8 @@ func (m *B2xUserFlowsItemIdentityProvidersRequestBuilder) 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. +// Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15 +func (m *B2xUserFlowsItemIdentityProvidersRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemIdentityProvidersRequestBuilder) { + return NewB2xUserFlowsItemIdentityProvidersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_languages_count_request_builder.go b/identity/b2x_user_flows_item_languages_count_request_builder.go index cae19d595b2..3277da8c425 100644 --- a/identity/b2x_user_flows_item_languages_count_request_builder.go +++ b/identity/b2x_user_flows_item_languages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *B2xUserFlowsItemLanguagesCountRequestBuilder) ToGetRequestInformation(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 *B2xUserFlowsItemLanguagesCountRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemLanguagesCountRequestBuilder) { + return NewB2xUserFlowsItemLanguagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_languages_item_default_pages_count_request_builder.go b/identity/b2x_user_flows_item_languages_item_default_pages_count_request_builder.go index c305ccd8424..4539c298ba3 100644 --- a/identity/b2x_user_flows_item_languages_item_default_pages_count_request_builder.go +++ b/identity/b2x_user_flows_item_languages_item_default_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *B2xUserFlowsItemLanguagesItemDefaultPagesCountRequestBuilder) ToGetRequ } 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 *B2xUserFlowsItemLanguagesItemDefaultPagesCountRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemLanguagesItemDefaultPagesCountRequestBuilder) { + return NewB2xUserFlowsItemLanguagesItemDefaultPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go b/identity/b2x_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go index 52c3d8f7a02..a7328eb02b4 100644 --- a/identity/b2x_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go +++ b/identity/b2x_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *B2xUserFlowsItemLanguagesItemDefaultPagesItemValueContentRequestBuilder } 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 *B2xUserFlowsItemLanguagesItemDefaultPagesItemValueContentRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemLanguagesItemDefaultPagesItemValueContentRequestBuilder) { + return NewB2xUserFlowsItemLanguagesItemDefaultPagesItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_languages_item_default_pages_request_builder.go b/identity/b2x_user_flows_item_languages_item_default_pages_request_builder.go index 7709cab0e4a..7ea46525e3f 100644 --- a/identity/b2x_user_flows_item_languages_item_default_pages_request_builder.go +++ b/identity/b2x_user_flows_item_languages_item_default_pages_request_builder.go @@ -46,8 +46,8 @@ type B2xUserFlowsItemLanguagesItemDefaultPagesRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserFlowLanguagePageIdString provides operations to manage the defaultPages property of the microsoft.graph.userFlowLanguageConfiguration entity. -func (m *B2xUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) ByUserFlowLanguagePageIdString(userFlowLanguagePageId string)(*B2xUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilder) { +// ByUserFlowLanguagePageId provides operations to manage the defaultPages property of the microsoft.graph.userFlowLanguageConfiguration entity. +func (m *B2xUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) ByUserFlowLanguagePageId(userFlowLanguagePageId string)(*B2xUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *B2xUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) ToPostRequestI } 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 *B2xUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) { + return NewB2xUserFlowsItemLanguagesItemDefaultPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_languages_item_default_pages_user_flow_language_page_item_request_builder.go b/identity/b2x_user_flows_item_languages_item_default_pages_user_flow_language_page_item_request_builder.go index 0c53bb881f6..0760b48d9ba 100644 --- a/identity/b2x_user_flows_item_languages_item_default_pages_user_flow_language_page_item_request_builder.go +++ b/identity/b2x_user_flows_item_languages_item_default_pages_user_flow_language_page_item_request_builder.go @@ -18,7 +18,7 @@ type B2xUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// B2xUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilderGetQueryParameters collection of pages with the default content to display in a user flow for a specified language. This collection does not allow any kind of modification. +// B2xUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilderGetQueryParameters collection of pages with the default content to display in a user flow for a specified language. This collection doesn't allow any kind of modification. type B2xUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,7 +74,7 @@ func (m *B2xUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemReques } return nil } -// Get collection of pages with the default content to display in a user flow for a specified language. This collection does not allow any kind of modification. +// Get collection of pages with the default content to display in a user flow for a specified language. This collection doesn't allow any kind of modification. func (m *B2xUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *B2xUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguagePageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +124,7 @@ func (m *B2xUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemReques } return requestInfo, nil } -// ToGetRequestInformation collection of pages with the default content to display in a user flow for a specified language. This collection does not allow any kind of modification. +// ToGetRequestInformation collection of pages with the default content to display in a user flow for a specified language. This collection doesn't allow any kind of modification. func (m *B2xUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2xUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -157,3 +157,7 @@ func (m *B2xUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemReques } 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 *B2xUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilder) { + return NewB2xUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_languages_item_overrides_pages_count_request_builder.go b/identity/b2x_user_flows_item_languages_item_overrides_pages_count_request_builder.go index bc8c619e8db..42d928b4124 100644 --- a/identity/b2x_user_flows_item_languages_item_overrides_pages_count_request_builder.go +++ b/identity/b2x_user_flows_item_languages_item_overrides_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *B2xUserFlowsItemLanguagesItemOverridesPagesCountRequestBuilder) ToGetRe } 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 *B2xUserFlowsItemLanguagesItemOverridesPagesCountRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemLanguagesItemOverridesPagesCountRequestBuilder) { + return NewB2xUserFlowsItemLanguagesItemOverridesPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go b/identity/b2x_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go index 8ea1e4bcca8..e217471c255 100644 --- a/identity/b2x_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go +++ b/identity/b2x_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *B2xUserFlowsItemLanguagesItemOverridesPagesItemValueContentRequestBuild } 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 *B2xUserFlowsItemLanguagesItemOverridesPagesItemValueContentRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemLanguagesItemOverridesPagesItemValueContentRequestBuilder) { + return NewB2xUserFlowsItemLanguagesItemOverridesPagesItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_languages_item_overrides_pages_request_builder.go b/identity/b2x_user_flows_item_languages_item_overrides_pages_request_builder.go index 216bc2b18db..05615def390 100644 --- a/identity/b2x_user_flows_item_languages_item_overrides_pages_request_builder.go +++ b/identity/b2x_user_flows_item_languages_item_overrides_pages_request_builder.go @@ -46,8 +46,8 @@ type B2xUserFlowsItemLanguagesItemOverridesPagesRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserFlowLanguagePageIdString provides operations to manage the overridesPages property of the microsoft.graph.userFlowLanguageConfiguration entity. -func (m *B2xUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) ByUserFlowLanguagePageIdString(userFlowLanguagePageId string)(*B2xUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilder) { +// ByUserFlowLanguagePageId provides operations to manage the overridesPages property of the microsoft.graph.userFlowLanguageConfiguration entity. +func (m *B2xUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) ByUserFlowLanguagePageId(userFlowLanguagePageId string)(*B2xUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *B2xUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) ToPostReques } 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 *B2xUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) { + return NewB2xUserFlowsItemLanguagesItemOverridesPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_languages_item_overrides_pages_user_flow_language_page_item_request_builder.go b/identity/b2x_user_flows_item_languages_item_overrides_pages_user_flow_language_page_item_request_builder.go index c5e8d5493f8..0ff4ffb63b2 100644 --- a/identity/b2x_user_flows_item_languages_item_overrides_pages_user_flow_language_page_item_request_builder.go +++ b/identity/b2x_user_flows_item_languages_item_overrides_pages_user_flow_language_page_item_request_builder.go @@ -18,7 +18,7 @@ type B2xUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// B2xUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilderGetQueryParameters collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification is not allowed (creation or deletion of pages). +// B2xUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilderGetQueryParameters collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). type B2xUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,7 +74,7 @@ func (m *B2xUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequ } return nil } -// Get collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification is not allowed (creation or deletion of pages). +// Get collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). func (m *B2xUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *B2xUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguagePageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +124,7 @@ func (m *B2xUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequ } return requestInfo, nil } -// ToGetRequestInformation collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification is not allowed (creation or deletion of pages). +// ToGetRequestInformation collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). func (m *B2xUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2xUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -157,3 +157,7 @@ func (m *B2xUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequ } 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 *B2xUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilder) { + return NewB2xUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_languages_request_builder.go b/identity/b2x_user_flows_item_languages_request_builder.go index 0e54bc3bb44..341f5345b37 100644 --- a/identity/b2x_user_flows_item_languages_request_builder.go +++ b/identity/b2x_user_flows_item_languages_request_builder.go @@ -46,8 +46,8 @@ type B2xUserFlowsItemLanguagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserFlowLanguageConfigurationIdString provides operations to manage the languages property of the microsoft.graph.b2xIdentityUserFlow entity. -func (m *B2xUserFlowsItemLanguagesRequestBuilder) ByUserFlowLanguageConfigurationIdString(userFlowLanguageConfigurationId string)(*B2xUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilder) { +// ByUserFlowLanguageConfigurationId provides operations to manage the languages property of the microsoft.graph.b2xIdentityUserFlow entity. +func (m *B2xUserFlowsItemLanguagesRequestBuilder) ByUserFlowLanguageConfigurationId(userFlowLanguageConfigurationId string)(*B2xUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *B2xUserFlowsItemLanguagesRequestBuilder) ToPostRequestInformation(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 *B2xUserFlowsItemLanguagesRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemLanguagesRequestBuilder) { + return NewB2xUserFlowsItemLanguagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_languages_user_flow_language_configuration_item_request_builder.go b/identity/b2x_user_flows_item_languages_user_flow_language_configuration_item_request_builder.go index d1099d92d80..28011b809d2 100644 --- a/identity/b2x_user_flows_item_languages_user_flow_language_configuration_item_request_builder.go +++ b/identity/b2x_user_flows_item_languages_user_flow_language_configuration_item_request_builder.go @@ -18,7 +18,7 @@ type B2xUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// B2xUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilderGetQueryParameters the languages supported for customization within the user flow. Language customization is enabled by default in self-service sign up user flow. You cannot create custom languages in self-service sign up user flows. +// B2xUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilderGetQueryParameters the languages supported for customization within the user flow. Language customization is enabled by default in self-service sign-up user flow. You can't create custom languages in self-service sign-up user flows. type B2xUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,7 +74,7 @@ func (m *B2xUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilde } return nil } -// Get the languages supported for customization within the user flow. Language customization is enabled by default in self-service sign up user flow. You cannot create custom languages in self-service sign up user flows. +// Get the languages supported for customization within the user flow. Language customization is enabled by default in self-service sign-up user flow. You can't create custom languages in self-service sign-up user flows. func (m *B2xUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *B2xUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguageConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -128,7 +128,7 @@ func (m *B2xUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilde } return requestInfo, nil } -// ToGetRequestInformation the languages supported for customization within the user flow. Language customization is enabled by default in self-service sign up user flow. You cannot create custom languages in self-service sign up user flows. +// ToGetRequestInformation the languages supported for customization within the user flow. Language customization is enabled by default in self-service sign-up user flow. You can't create custom languages in self-service sign-up user flows. func (m *B2xUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2xUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -161,3 +161,7 @@ func (m *B2xUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilde } 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 *B2xUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilder) { + return NewB2xUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_user_attribute_assignments_count_request_builder.go b/identity/b2x_user_flows_item_user_attribute_assignments_count_request_builder.go index ec23fc66f2a..8fcf429464d 100644 --- a/identity/b2x_user_flows_item_user_attribute_assignments_count_request_builder.go +++ b/identity/b2x_user_flows_item_user_attribute_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *B2xUserFlowsItemUserAttributeAssignmentsCountRequestBuilder) ToGetReque } 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 *B2xUserFlowsItemUserAttributeAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemUserAttributeAssignmentsCountRequestBuilder) { + return NewB2xUserFlowsItemUserAttributeAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_user_attribute_assignments_get_order_request_builder.go b/identity/b2x_user_flows_item_user_attribute_assignments_get_order_request_builder.go index ab57fb41d29..d727cec510e 100644 --- a/identity/b2x_user_flows_item_user_attribute_assignments_get_order_request_builder.go +++ b/identity/b2x_user_flows_item_user_attribute_assignments_get_order_request_builder.go @@ -63,3 +63,7 @@ func (m *B2xUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilder) ToGetRe } 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 *B2xUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilder) { + return NewB2xUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_user_attribute_assignments_identity_user_flow_attribute_assignment_item_request_builder.go b/identity/b2x_user_flows_item_user_attribute_assignments_identity_user_flow_attribute_assignment_item_request_builder.go index 215a39847c6..026297046f9 100644 --- a/identity/b2x_user_flows_item_user_attribute_assignments_identity_user_flow_attribute_assignment_item_request_builder.go +++ b/identity/b2x_user_flows_item_user_attribute_assignments_identity_user_flow_attribute_assignment_item_request_builder.go @@ -157,3 +157,7 @@ func (m *B2xUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssign func (m *B2xUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilder) UserAttribute()(*B2xUserFlowsItemUserAttributeAssignmentsItemUserAttributeRequestBuilder) { return NewB2xUserFlowsItemUserAttributeAssignmentsItemUserAttributeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *B2xUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilder) { + return NewB2xUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_user_attribute_assignments_item_user_attribute_request_builder.go b/identity/b2x_user_flows_item_user_attribute_assignments_item_user_attribute_request_builder.go index ba5132985e1..0bfcd392e43 100644 --- a/identity/b2x_user_flows_item_user_attribute_assignments_item_user_attribute_request_builder.go +++ b/identity/b2x_user_flows_item_user_attribute_assignments_item_user_attribute_request_builder.go @@ -75,3 +75,7 @@ func (m *B2xUserFlowsItemUserAttributeAssignmentsItemUserAttributeRequestBuilder } 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 *B2xUserFlowsItemUserAttributeAssignmentsItemUserAttributeRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemUserAttributeAssignmentsItemUserAttributeRequestBuilder) { + return NewB2xUserFlowsItemUserAttributeAssignmentsItemUserAttributeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_user_attribute_assignments_request_builder.go b/identity/b2x_user_flows_item_user_attribute_assignments_request_builder.go index 32279c0886d..d808e7cb825 100644 --- a/identity/b2x_user_flows_item_user_attribute_assignments_request_builder.go +++ b/identity/b2x_user_flows_item_user_attribute_assignments_request_builder.go @@ -46,8 +46,8 @@ type B2xUserFlowsItemUserAttributeAssignmentsRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByIdentityUserFlowAttributeAssignmentIdString provides operations to manage the userAttributeAssignments property of the microsoft.graph.b2xIdentityUserFlow entity. -func (m *B2xUserFlowsItemUserAttributeAssignmentsRequestBuilder) ByIdentityUserFlowAttributeAssignmentIdString(identityUserFlowAttributeAssignmentId string)(*B2xUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilder) { +// ByIdentityUserFlowAttributeAssignmentId provides operations to manage the userAttributeAssignments property of the microsoft.graph.b2xIdentityUserFlow entity. +func (m *B2xUserFlowsItemUserAttributeAssignmentsRequestBuilder) ByIdentityUserFlowAttributeAssignmentId(identityUserFlowAttributeAssignmentId string)(*B2xUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -159,3 +159,7 @@ func (m *B2xUserFlowsItemUserAttributeAssignmentsRequestBuilder) ToPostRequestIn } 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 *B2xUserFlowsItemUserAttributeAssignmentsRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemUserAttributeAssignmentsRequestBuilder) { + return NewB2xUserFlowsItemUserAttributeAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_user_attribute_assignments_set_order_request_builder.go b/identity/b2x_user_flows_item_user_attribute_assignments_set_order_request_builder.go index 9863898ab61..4475496c9f7 100644 --- a/identity/b2x_user_flows_item_user_attribute_assignments_set_order_request_builder.go +++ b/identity/b2x_user_flows_item_user_attribute_assignments_set_order_request_builder.go @@ -65,3 +65,7 @@ func (m *B2xUserFlowsItemUserAttributeAssignmentsSetOrderRequestBuilder) ToPostR } 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 *B2xUserFlowsItemUserAttributeAssignmentsSetOrderRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemUserAttributeAssignmentsSetOrderRequestBuilder) { + return NewB2xUserFlowsItemUserAttributeAssignmentsSetOrderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_user_flow_identity_providers_count_request_builder.go b/identity/b2x_user_flows_item_user_flow_identity_providers_count_request_builder.go index 8e0322210ef..da2dabffa75 100644 --- a/identity/b2x_user_flows_item_user_flow_identity_providers_count_request_builder.go +++ b/identity/b2x_user_flows_item_user_flow_identity_providers_count_request_builder.go @@ -74,3 +74,7 @@ func (m *B2xUserFlowsItemUserFlowIdentityProvidersCountRequestBuilder) ToGetRequ } 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 *B2xUserFlowsItemUserFlowIdentityProvidersCountRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemUserFlowIdentityProvidersCountRequestBuilder) { + return NewB2xUserFlowsItemUserFlowIdentityProvidersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_user_flow_identity_providers_item_ref_request_builder.go b/identity/b2x_user_flows_item_user_flow_identity_providers_item_ref_request_builder.go index 0b10f4f17c8..ba1ce41c68d 100644 --- a/identity/b2x_user_flows_item_user_flow_identity_providers_item_ref_request_builder.go +++ b/identity/b2x_user_flows_item_user_flow_identity_providers_item_ref_request_builder.go @@ -68,3 +68,7 @@ func (m *B2xUserFlowsItemUserFlowIdentityProvidersItemRefRequestBuilder) ToDelet } 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 *B2xUserFlowsItemUserFlowIdentityProvidersItemRefRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemUserFlowIdentityProvidersItemRefRequestBuilder) { + return NewB2xUserFlowsItemUserFlowIdentityProvidersItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_user_flow_identity_providers_ref_request_builder.go b/identity/b2x_user_flows_item_user_flow_identity_providers_ref_request_builder.go index 42b3c0d936e..fcd115924f5 100644 --- a/identity/b2x_user_flows_item_user_flow_identity_providers_ref_request_builder.go +++ b/identity/b2x_user_flows_item_user_flow_identity_providers_ref_request_builder.go @@ -122,3 +122,7 @@ func (m *B2xUserFlowsItemUserFlowIdentityProvidersRefRequestBuilder) ToPostReque } 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 *B2xUserFlowsItemUserFlowIdentityProvidersRefRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemUserFlowIdentityProvidersRefRequestBuilder) { + return NewB2xUserFlowsItemUserFlowIdentityProvidersRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_item_user_flow_identity_providers_request_builder.go b/identity/b2x_user_flows_item_user_flow_identity_providers_request_builder.go index 5207a2ad5b4..e30e89f4f19 100644 --- a/identity/b2x_user_flows_item_user_flow_identity_providers_request_builder.go +++ b/identity/b2x_user_flows_item_user_flow_identity_providers_request_builder.go @@ -39,8 +39,8 @@ type B2xUserFlowsItemUserFlowIdentityProvidersRequestBuilderGetRequestConfigurat // Request query parameters QueryParameters *B2xUserFlowsItemUserFlowIdentityProvidersRequestBuilderGetQueryParameters } -// ByIdentityProviderBaseIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.b2xUserFlows.item.userFlowIdentityProviders.item collection -func (m *B2xUserFlowsItemUserFlowIdentityProvidersRequestBuilder) ByIdentityProviderBaseIdString(identityProviderBaseId string)(*B2xUserFlowsItemUserFlowIdentityProvidersIdentityProviderBaseItemRequestBuilder) { +// ByIdentityProviderBaseId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.b2xUserFlows.item.userFlowIdentityProviders.item collection +func (m *B2xUserFlowsItemUserFlowIdentityProvidersRequestBuilder) ByIdentityProviderBaseId(identityProviderBaseId string)(*B2xUserFlowsItemUserFlowIdentityProvidersIdentityProviderBaseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -106,3 +106,7 @@ func (m *B2xUserFlowsItemUserFlowIdentityProvidersRequestBuilder) ToGetRequestIn } 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 *B2xUserFlowsItemUserFlowIdentityProvidersRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsItemUserFlowIdentityProvidersRequestBuilder) { + return NewB2xUserFlowsItemUserFlowIdentityProvidersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/b2x_user_flows_request_builder.go b/identity/b2x_user_flows_request_builder.go index e205cd6f678..443bb335271 100644 --- a/identity/b2x_user_flows_request_builder.go +++ b/identity/b2x_user_flows_request_builder.go @@ -46,8 +46,8 @@ type B2xUserFlowsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByB2xIdentityUserFlowIdString provides operations to manage the b2xUserFlows property of the microsoft.graph.identityContainer entity. -func (m *B2xUserFlowsRequestBuilder) ByB2xIdentityUserFlowIdString(b2xIdentityUserFlowId string)(*B2xUserFlowsB2xIdentityUserFlowItemRequestBuilder) { +// ByB2xIdentityUserFlowId provides operations to manage the b2xUserFlows property of the microsoft.graph.identityContainer entity. +func (m *B2xUserFlowsRequestBuilder) ByB2xIdentityUserFlowId(b2xIdentityUserFlowId string)(*B2xUserFlowsB2xIdentityUserFlowItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *B2xUserFlowsRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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 *B2xUserFlowsRequestBuilder) WithUrl(rawUrl string)(*B2xUserFlowsRequestBuilder) { + return NewB2xUserFlowsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_context_class_references_authentication_context_class_reference_item_request_builder.go b/identity/conditional_access_authentication_context_class_references_authentication_context_class_reference_item_request_builder.go index d3f8a9f69a7..8ef0bec40c3 100644 --- a/identity/conditional_access_authentication_context_class_references_authentication_context_class_reference_item_request_builder.go +++ b/identity/conditional_access_authentication_context_class_references_authentication_context_class_reference_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ConditionalAccessAuthenticationContextClassReferencesAuthenticationCont } 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 *ConditionalAccessAuthenticationContextClassReferencesAuthenticationContextClassReferenceItemRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationContextClassReferencesAuthenticationContextClassReferenceItemRequestBuilder) { + return NewConditionalAccessAuthenticationContextClassReferencesAuthenticationContextClassReferenceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_context_class_references_count_request_builder.go b/identity/conditional_access_authentication_context_class_references_count_request_builder.go index 7ee9434d6cc..e0f3d64e24f 100644 --- a/identity/conditional_access_authentication_context_class_references_count_request_builder.go +++ b/identity/conditional_access_authentication_context_class_references_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConditionalAccessAuthenticationContextClassReferencesCountRequestBuilde } 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 *ConditionalAccessAuthenticationContextClassReferencesCountRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationContextClassReferencesCountRequestBuilder) { + return NewConditionalAccessAuthenticationContextClassReferencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_context_class_references_request_builder.go b/identity/conditional_access_authentication_context_class_references_request_builder.go index b61256ffa83..e39af50129e 100644 --- a/identity/conditional_access_authentication_context_class_references_request_builder.go +++ b/identity/conditional_access_authentication_context_class_references_request_builder.go @@ -46,8 +46,8 @@ type ConditionalAccessAuthenticationContextClassReferencesRequestBuilderPostRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAuthenticationContextClassReferenceIdString provides operations to manage the authenticationContextClassReferences property of the microsoft.graph.conditionalAccessRoot entity. -func (m *ConditionalAccessAuthenticationContextClassReferencesRequestBuilder) ByAuthenticationContextClassReferenceIdString(authenticationContextClassReferenceId string)(*ConditionalAccessAuthenticationContextClassReferencesAuthenticationContextClassReferenceItemRequestBuilder) { +// ByAuthenticationContextClassReferenceId provides operations to manage the authenticationContextClassReferences property of the microsoft.graph.conditionalAccessRoot entity. +func (m *ConditionalAccessAuthenticationContextClassReferencesRequestBuilder) ByAuthenticationContextClassReferenceId(authenticationContextClassReferenceId string)(*ConditionalAccessAuthenticationContextClassReferencesAuthenticationContextClassReferenceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ConditionalAccessAuthenticationContextClassReferencesRequestBuilder) To } 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 *ConditionalAccessAuthenticationContextClassReferencesRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationContextClassReferencesRequestBuilder) { + return NewConditionalAccessAuthenticationContextClassReferencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strength_authentication_method_modes_authentication_method_mode_detail_item_request_builder.go b/identity/conditional_access_authentication_strength_authentication_method_modes_authentication_method_mode_detail_item_request_builder.go index c4f0b6aec09..4d5fd80685a 100644 --- a/identity/conditional_access_authentication_strength_authentication_method_modes_authentication_method_mode_detail_item_request_builder.go +++ b/identity/conditional_access_authentication_strength_authentication_method_modes_authentication_method_mode_detail_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ConditionalAccessAuthenticationStrengthAuthenticationMethodModesAuthent } 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 *ConditionalAccessAuthenticationStrengthAuthenticationMethodModesAuthenticationMethodModeDetailItemRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthAuthenticationMethodModesAuthenticationMethodModeDetailItemRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthAuthenticationMethodModesAuthenticationMethodModeDetailItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strength_authentication_method_modes_count_request_builder.go b/identity/conditional_access_authentication_strength_authentication_method_modes_count_request_builder.go index cd8c9718829..43b9f23cbfc 100644 --- a/identity/conditional_access_authentication_strength_authentication_method_modes_count_request_builder.go +++ b/identity/conditional_access_authentication_strength_authentication_method_modes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConditionalAccessAuthenticationStrengthAuthenticationMethodModesCountRe } 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 *ConditionalAccessAuthenticationStrengthAuthenticationMethodModesCountRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthAuthenticationMethodModesCountRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthAuthenticationMethodModesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strength_authentication_method_modes_request_builder.go b/identity/conditional_access_authentication_strength_authentication_method_modes_request_builder.go index 969a57926ce..ac6c1755ec5 100644 --- a/identity/conditional_access_authentication_strength_authentication_method_modes_request_builder.go +++ b/identity/conditional_access_authentication_strength_authentication_method_modes_request_builder.go @@ -46,8 +46,8 @@ type ConditionalAccessAuthenticationStrengthAuthenticationMethodModesRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAuthenticationMethodModeDetailIdString provides operations to manage the authenticationMethodModes property of the microsoft.graph.authenticationStrengthRoot entity. -func (m *ConditionalAccessAuthenticationStrengthAuthenticationMethodModesRequestBuilder) ByAuthenticationMethodModeDetailIdString(authenticationMethodModeDetailId string)(*ConditionalAccessAuthenticationStrengthAuthenticationMethodModesAuthenticationMethodModeDetailItemRequestBuilder) { +// ByAuthenticationMethodModeDetailId provides operations to manage the authenticationMethodModes property of the microsoft.graph.authenticationStrengthRoot entity. +func (m *ConditionalAccessAuthenticationStrengthAuthenticationMethodModesRequestBuilder) ByAuthenticationMethodModeDetailId(authenticationMethodModeDetailId string)(*ConditionalAccessAuthenticationStrengthAuthenticationMethodModesAuthenticationMethodModeDetailItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ConditionalAccessAuthenticationStrengthAuthenticationMethodModesRequest } 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 *ConditionalAccessAuthenticationStrengthAuthenticationMethodModesRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthAuthenticationMethodModesRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthAuthenticationMethodModesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strength_policies_authentication_strength_policy_item_request_builder.go b/identity/conditional_access_authentication_strength_policies_authentication_strength_policy_item_request_builder.go index c042d67dd93..b1f7bda833b 100644 --- a/identity/conditional_access_authentication_strength_policies_authentication_strength_policy_item_request_builder.go +++ b/identity/conditional_access_authentication_strength_policies_authentication_strength_policy_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesAuthenticationStrengthPo func (m *ConditionalAccessAuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilder) Usage()(*ConditionalAccessAuthenticationStrengthPoliciesItemUsageRequestBuilder) { return NewConditionalAccessAuthenticationStrengthPoliciesItemUsageRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ConditionalAccessAuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strength_policies_count_request_builder.go b/identity/conditional_access_authentication_strength_policies_count_request_builder.go index 38616b4324b..80ae839fe90 100644 --- a/identity/conditional_access_authentication_strength_policies_count_request_builder.go +++ b/identity/conditional_access_authentication_strength_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesCountRequestBuilder) ToG } 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 *ConditionalAccessAuthenticationStrengthPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthPoliciesCountRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go b/identity/conditional_access_authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go index 90f301c77c9..cb7249b3173 100644 --- a/identity/conditional_access_authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go +++ b/identity/conditional_access_authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go @@ -89,3 +89,8 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuth } 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. +// Deprecated: The findByMethodMode function is deprecated. Please use OData filter query instead. as of 2023-02/FindByMethodModeRemove on 2023-02-01 and will be removed 2023-03-31 +func (m *ConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go b/identity/conditional_access_authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go index fa9a39784fa..694eb476e81 100644 --- a/identity/conditional_access_authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go +++ b/identity/conditional_access_authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigura } 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 *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strength_policies_item_combination_configurations_count_request_builder.go b/identity/conditional_access_authentication_strength_policies_item_combination_configurations_count_request_builder.go index a103d27ee49..a063ce92e2c 100644 --- a/identity/conditional_access_authentication_strength_policies_item_combination_configurations_count_request_builder.go +++ b/identity/conditional_access_authentication_strength_policies_item_combination_configurations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigura } 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 *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsCountRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strength_policies_item_combination_configurations_request_builder.go b/identity/conditional_access_authentication_strength_policies_item_combination_configurations_request_builder.go index 4fdbd09e984..611cabd4823 100644 --- a/identity/conditional_access_authentication_strength_policies_item_combination_configurations_request_builder.go +++ b/identity/conditional_access_authentication_strength_policies_item_combination_configurations_request_builder.go @@ -46,8 +46,8 @@ type ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAuthenticationCombinationConfigurationIdString provides operations to manage the combinationConfigurations property of the microsoft.graph.authenticationStrengthPolicy entity. -func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilder) ByAuthenticationCombinationConfigurationIdString(authenticationCombinationConfigurationId string)(*ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) { +// ByAuthenticationCombinationConfigurationId provides operations to manage the combinationConfigurations property of the microsoft.graph.authenticationStrengthPolicy entity. +func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilder) ByAuthenticationCombinationConfigurationId(authenticationCombinationConfigurationId string)(*ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigura } 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 *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strength_policies_item_update_allowed_combinations_request_builder.go b/identity/conditional_access_authentication_strength_policies_item_update_allowed_combinations_request_builder.go index b39901b4764..67be3aaccee 100644 --- a/identity/conditional_access_authentication_strength_policies_item_update_allowed_combinations_request_builder.go +++ b/identity/conditional_access_authentication_strength_policies_item_update_allowed_combinations_request_builder.go @@ -70,3 +70,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesItemUpdateAllowedCombina } 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 *ConditionalAccessAuthenticationStrengthPoliciesItemUpdateAllowedCombinationsRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthPoliciesItemUpdateAllowedCombinationsRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthPoliciesItemUpdateAllowedCombinationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strength_policies_item_usage_request_builder.go b/identity/conditional_access_authentication_strength_policies_item_usage_request_builder.go index e1f438178e6..e896edfdb83 100644 --- a/identity/conditional_access_authentication_strength_policies_item_usage_request_builder.go +++ b/identity/conditional_access_authentication_strength_policies_item_usage_request_builder.go @@ -63,3 +63,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesItemUsageRequestBuilder) } 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 *ConditionalAccessAuthenticationStrengthPoliciesItemUsageRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthPoliciesItemUsageRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthPoliciesItemUsageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strength_policies_request_builder.go b/identity/conditional_access_authentication_strength_policies_request_builder.go index de4e3bf0f97..0a1f8091088 100644 --- a/identity/conditional_access_authentication_strength_policies_request_builder.go +++ b/identity/conditional_access_authentication_strength_policies_request_builder.go @@ -46,8 +46,8 @@ type ConditionalAccessAuthenticationStrengthPoliciesRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAuthenticationStrengthPolicyIdString provides operations to manage the policies property of the microsoft.graph.authenticationStrengthRoot entity. -func (m *ConditionalAccessAuthenticationStrengthPoliciesRequestBuilder) ByAuthenticationStrengthPolicyIdString(authenticationStrengthPolicyId string)(*ConditionalAccessAuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilder) { +// ByAuthenticationStrengthPolicyId provides operations to manage the policies property of the microsoft.graph.authenticationStrengthRoot entity. +func (m *ConditionalAccessAuthenticationStrengthPoliciesRequestBuilder) ByAuthenticationStrengthPolicyId(authenticationStrengthPolicyId string)(*ConditionalAccessAuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesRequestBuilder) ToPostRe } 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 *ConditionalAccessAuthenticationStrengthPoliciesRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthPoliciesRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strength_request_builder.go b/identity/conditional_access_authentication_strength_request_builder.go index 886e1d8e59b..ace17d83160 100644 --- a/identity/conditional_access_authentication_strength_request_builder.go +++ b/identity/conditional_access_authentication_strength_request_builder.go @@ -161,3 +161,7 @@ func (m *ConditionalAccessAuthenticationStrengthRequestBuilder) ToPatchRequestIn } 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 *ConditionalAccessAuthenticationStrengthRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strengths_authentication_method_modes_authentication_method_mode_detail_item_request_builder.go b/identity/conditional_access_authentication_strengths_authentication_method_modes_authentication_method_mode_detail_item_request_builder.go index 16e1ec67a4c..8ea4b376842 100644 --- a/identity/conditional_access_authentication_strengths_authentication_method_modes_authentication_method_mode_detail_item_request_builder.go +++ b/identity/conditional_access_authentication_strengths_authentication_method_modes_authentication_method_mode_detail_item_request_builder.go @@ -159,3 +159,8 @@ func (m *ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesAuthen } 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. +// Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31 +func (m *ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesAuthenticationMethodModeDetailItemRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesAuthenticationMethodModeDetailItemRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthsAuthenticationMethodModesAuthenticationMethodModeDetailItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strengths_authentication_method_modes_count_request_builder.go b/identity/conditional_access_authentication_strengths_authentication_method_modes_count_request_builder.go index 21749220d41..839a4e002fe 100644 --- a/identity/conditional_access_authentication_strengths_authentication_method_modes_count_request_builder.go +++ b/identity/conditional_access_authentication_strengths_authentication_method_modes_count_request_builder.go @@ -76,3 +76,8 @@ func (m *ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesCountR } 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. +// Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31 +func (m *ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesCountRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesCountRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthsAuthenticationMethodModesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strengths_authentication_method_modes_request_builder.go b/identity/conditional_access_authentication_strengths_authentication_method_modes_request_builder.go index d11db3e6e55..f8d4c9585e8 100644 --- a/identity/conditional_access_authentication_strengths_authentication_method_modes_request_builder.go +++ b/identity/conditional_access_authentication_strengths_authentication_method_modes_request_builder.go @@ -46,9 +46,9 @@ type ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAuthenticationMethodModeDetailIdString provides operations to manage the authenticationMethodModes property of the microsoft.graph.authenticationStrengthRoot entity. +// ByAuthenticationMethodModeDetailId provides operations to manage the authenticationMethodModes property of the microsoft.graph.authenticationStrengthRoot entity. // Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31 -func (m *ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesRequestBuilder) ByAuthenticationMethodModeDetailIdString(authenticationMethodModeDetailId string)(*ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesAuthenticationMethodModeDetailItemRequestBuilder) { +func (m *ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesRequestBuilder) ByAuthenticationMethodModeDetailId(authenticationMethodModeDetailId string)(*ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesAuthenticationMethodModeDetailItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,8 @@ func (m *ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesReques } 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. +// Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31 +func (m *ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthsAuthenticationMethodModesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strengths_policies_authentication_strength_policy_item_request_builder.go b/identity/conditional_access_authentication_strengths_policies_authentication_strength_policy_item_request_builder.go index 4128735dde2..64cb552ed88 100644 --- a/identity/conditional_access_authentication_strengths_policies_authentication_strength_policy_item_request_builder.go +++ b/identity/conditional_access_authentication_strengths_policies_authentication_strength_policy_item_request_builder.go @@ -171,3 +171,8 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesAuthenticationStrengthP func (m *ConditionalAccessAuthenticationStrengthsPoliciesAuthenticationStrengthPolicyItemRequestBuilder) Usage()(*ConditionalAccessAuthenticationStrengthsPoliciesItemUsageRequestBuilder) { return NewConditionalAccessAuthenticationStrengthsPoliciesItemUsageRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31 +func (m *ConditionalAccessAuthenticationStrengthsPoliciesAuthenticationStrengthPolicyItemRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthsPoliciesAuthenticationStrengthPolicyItemRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthsPoliciesAuthenticationStrengthPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strengths_policies_count_request_builder.go b/identity/conditional_access_authentication_strengths_policies_count_request_builder.go index 747abe13b6a..bf0c0bcb402 100644 --- a/identity/conditional_access_authentication_strengths_policies_count_request_builder.go +++ b/identity/conditional_access_authentication_strengths_policies_count_request_builder.go @@ -76,3 +76,8 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesCountRequestBuilder) To } 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. +// Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31 +func (m *ConditionalAccessAuthenticationStrengthsPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthsPoliciesCountRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthsPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strengths_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go b/identity/conditional_access_authentication_strengths_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go index 327170920f4..15adb03b956 100644 --- a/identity/conditional_access_authentication_strengths_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go +++ b/identity/conditional_access_authentication_strengths_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go @@ -89,3 +89,8 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAut } 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. +// Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31 +func (m *ConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go b/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go index 967b782a711..2655be92844 100644 --- a/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go +++ b/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go @@ -168,3 +168,8 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigur } 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. +// Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31 +func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_count_request_builder.go b/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_count_request_builder.go index c5a1443f9fe..9866163e4c1 100644 --- a/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_count_request_builder.go +++ b/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_count_request_builder.go @@ -76,3 +76,8 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigur } 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. +// Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31 +func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsCountRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_request_builder.go b/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_request_builder.go index dcf924b2461..ebde49c2be4 100644 --- a/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_request_builder.go +++ b/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_request_builder.go @@ -46,9 +46,9 @@ type ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAuthenticationCombinationConfigurationIdString provides operations to manage the combinationConfigurations property of the microsoft.graph.authenticationStrengthPolicy entity. +// ByAuthenticationCombinationConfigurationId provides operations to manage the combinationConfigurations property of the microsoft.graph.authenticationStrengthPolicy entity. // Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31 -func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsRequestBuilder) ByAuthenticationCombinationConfigurationIdString(authenticationCombinationConfigurationId string)(*ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) { +func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsRequestBuilder) ByAuthenticationCombinationConfigurationId(authenticationCombinationConfigurationId string)(*ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,8 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigur } 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. +// Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31 +func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strengths_policies_item_update_allowed_combinations_request_builder.go b/identity/conditional_access_authentication_strengths_policies_item_update_allowed_combinations_request_builder.go index 136c06e9682..0ab3ec0a388 100644 --- a/identity/conditional_access_authentication_strengths_policies_item_update_allowed_combinations_request_builder.go +++ b/identity/conditional_access_authentication_strengths_policies_item_update_allowed_combinations_request_builder.go @@ -72,3 +72,8 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemUpdateAllowedCombin } 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. +// Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31 +func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemUpdateAllowedCombinationsRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthsPoliciesItemUpdateAllowedCombinationsRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthsPoliciesItemUpdateAllowedCombinationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strengths_policies_item_usage_request_builder.go b/identity/conditional_access_authentication_strengths_policies_item_usage_request_builder.go index 3d35c08064d..67a16005fd7 100644 --- a/identity/conditional_access_authentication_strengths_policies_item_usage_request_builder.go +++ b/identity/conditional_access_authentication_strengths_policies_item_usage_request_builder.go @@ -65,3 +65,8 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemUsageRequestBuilder } 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. +// Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31 +func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemUsageRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthsPoliciesItemUsageRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthsPoliciesItemUsageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strengths_policies_request_builder.go b/identity/conditional_access_authentication_strengths_policies_request_builder.go index 22e021684da..43f213890e4 100644 --- a/identity/conditional_access_authentication_strengths_policies_request_builder.go +++ b/identity/conditional_access_authentication_strengths_policies_request_builder.go @@ -46,9 +46,9 @@ type ConditionalAccessAuthenticationStrengthsPoliciesRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAuthenticationStrengthPolicyIdString provides operations to manage the policies property of the microsoft.graph.authenticationStrengthRoot entity. +// ByAuthenticationStrengthPolicyId provides operations to manage the policies property of the microsoft.graph.authenticationStrengthRoot entity. // Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31 -func (m *ConditionalAccessAuthenticationStrengthsPoliciesRequestBuilder) ByAuthenticationStrengthPolicyIdString(authenticationStrengthPolicyId string)(*ConditionalAccessAuthenticationStrengthsPoliciesAuthenticationStrengthPolicyItemRequestBuilder) { +func (m *ConditionalAccessAuthenticationStrengthsPoliciesRequestBuilder) ByAuthenticationStrengthPolicyId(authenticationStrengthPolicyId string)(*ConditionalAccessAuthenticationStrengthsPoliciesAuthenticationStrengthPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,8 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesRequestBuilder) ToPostR } 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. +// Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31 +func (m *ConditionalAccessAuthenticationStrengthsPoliciesRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthsPoliciesRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthsPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_authentication_strengths_request_builder.go b/identity/conditional_access_authentication_strengths_request_builder.go index 5f277c3180f..56f485e2ce1 100644 --- a/identity/conditional_access_authentication_strengths_request_builder.go +++ b/identity/conditional_access_authentication_strengths_request_builder.go @@ -167,3 +167,8 @@ func (m *ConditionalAccessAuthenticationStrengthsRequestBuilder) ToPatchRequestI } 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. +// Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove on 2023-02-01 and will be removed 2023-03-31 +func (m *ConditionalAccessAuthenticationStrengthsRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessAuthenticationStrengthsRequestBuilder) { + return NewConditionalAccessAuthenticationStrengthsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_named_locations_count_request_builder.go b/identity/conditional_access_named_locations_count_request_builder.go index 56c9607808a..4dbe43689a3 100644 --- a/identity/conditional_access_named_locations_count_request_builder.go +++ b/identity/conditional_access_named_locations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConditionalAccessNamedLocationsCountRequestBuilder) ToGetRequestInforma } 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 *ConditionalAccessNamedLocationsCountRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessNamedLocationsCountRequestBuilder) { + return NewConditionalAccessNamedLocationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_named_locations_named_location_item_request_builder.go b/identity/conditional_access_named_locations_named_location_item_request_builder.go index dfd989d25b7..198a1c09620 100644 --- a/identity/conditional_access_named_locations_named_location_item_request_builder.go +++ b/identity/conditional_access_named_locations_named_location_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToPatch } 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 *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) { + return NewConditionalAccessNamedLocationsNamedLocationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_named_locations_request_builder.go b/identity/conditional_access_named_locations_request_builder.go index 8e54875bf99..69845647236 100644 --- a/identity/conditional_access_named_locations_request_builder.go +++ b/identity/conditional_access_named_locations_request_builder.go @@ -46,8 +46,8 @@ type ConditionalAccessNamedLocationsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByNamedLocationIdString provides operations to manage the namedLocations property of the microsoft.graph.conditionalAccessRoot entity. -func (m *ConditionalAccessNamedLocationsRequestBuilder) ByNamedLocationIdString(namedLocationId string)(*ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) { +// ByNamedLocationId provides operations to manage the namedLocations property of the microsoft.graph.conditionalAccessRoot entity. +func (m *ConditionalAccessNamedLocationsRequestBuilder) ByNamedLocationId(namedLocationId string)(*ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ConditionalAccessNamedLocationsRequestBuilder) 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 *ConditionalAccessNamedLocationsRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessNamedLocationsRequestBuilder) { + return NewConditionalAccessNamedLocationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_policies_conditional_access_policy_item_request_builder.go b/identity/conditional_access_policies_conditional_access_policy_item_request_builder.go index 672f1ac72b9..edd0e84418a 100644 --- a/identity/conditional_access_policies_conditional_access_policy_item_request_builder.go +++ b/identity/conditional_access_policies_conditional_access_policy_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) 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 *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) { + return NewConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_policies_count_request_builder.go b/identity/conditional_access_policies_count_request_builder.go index cb5eb8b25cf..93b8914c2d3 100644 --- a/identity/conditional_access_policies_count_request_builder.go +++ b/identity/conditional_access_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConditionalAccessPoliciesCountRequestBuilder) ToGetRequestInformation(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 *ConditionalAccessPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessPoliciesCountRequestBuilder) { + return NewConditionalAccessPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_policies_request_builder.go b/identity/conditional_access_policies_request_builder.go index 07be5ce518a..703dc83fc6b 100644 --- a/identity/conditional_access_policies_request_builder.go +++ b/identity/conditional_access_policies_request_builder.go @@ -46,8 +46,8 @@ type ConditionalAccessPoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByConditionalAccessPolicyIdString provides operations to manage the policies property of the microsoft.graph.conditionalAccessRoot entity. -func (m *ConditionalAccessPoliciesRequestBuilder) ByConditionalAccessPolicyIdString(conditionalAccessPolicyId string)(*ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) { +// ByConditionalAccessPolicyId provides operations to manage the policies property of the microsoft.graph.conditionalAccessRoot entity. +func (m *ConditionalAccessPoliciesRequestBuilder) ByConditionalAccessPolicyId(conditionalAccessPolicyId string)(*ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ConditionalAccessPoliciesRequestBuilder) ToPostRequestInformation(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 *ConditionalAccessPoliciesRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessPoliciesRequestBuilder) { + return NewConditionalAccessPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_request_builder.go b/identity/conditional_access_request_builder.go index d3b26a508f5..d4d3d5dafc9 100644 --- a/identity/conditional_access_request_builder.go +++ b/identity/conditional_access_request_builder.go @@ -177,3 +177,7 @@ func (m *ConditionalAccessRequestBuilder) ToPatchRequestInformation(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 *ConditionalAccessRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessRequestBuilder) { + return NewConditionalAccessRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_templates_conditional_access_template_item_request_builder.go b/identity/conditional_access_templates_conditional_access_template_item_request_builder.go index 57a9905a849..b45f4e8d3cc 100644 --- a/identity/conditional_access_templates_conditional_access_template_item_request_builder.go +++ b/identity/conditional_access_templates_conditional_access_template_item_request_builder.go @@ -78,3 +78,7 @@ func (m *ConditionalAccessTemplatesConditionalAccessTemplateItemRequestBuilder) } 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 *ConditionalAccessTemplatesConditionalAccessTemplateItemRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessTemplatesConditionalAccessTemplateItemRequestBuilder) { + return NewConditionalAccessTemplatesConditionalAccessTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_templates_count_request_builder.go b/identity/conditional_access_templates_count_request_builder.go index 0a8d65fd48a..2349e54beda 100644 --- a/identity/conditional_access_templates_count_request_builder.go +++ b/identity/conditional_access_templates_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConditionalAccessTemplatesCountRequestBuilder) 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 *ConditionalAccessTemplatesCountRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessTemplatesCountRequestBuilder) { + return NewConditionalAccessTemplatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/conditional_access_templates_request_builder.go b/identity/conditional_access_templates_request_builder.go index 0f1853d6476..70e8886d5c0 100644 --- a/identity/conditional_access_templates_request_builder.go +++ b/identity/conditional_access_templates_request_builder.go @@ -39,8 +39,8 @@ type ConditionalAccessTemplatesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ConditionalAccessTemplatesRequestBuilderGetQueryParameters } -// ByConditionalAccessTemplateIdString provides operations to manage the templates property of the microsoft.graph.conditionalAccessRoot entity. -func (m *ConditionalAccessTemplatesRequestBuilder) ByConditionalAccessTemplateIdString(conditionalAccessTemplateId string)(*ConditionalAccessTemplatesConditionalAccessTemplateItemRequestBuilder) { +// ByConditionalAccessTemplateId provides operations to manage the templates property of the microsoft.graph.conditionalAccessRoot entity. +func (m *ConditionalAccessTemplatesRequestBuilder) ByConditionalAccessTemplateId(conditionalAccessTemplateId string)(*ConditionalAccessTemplatesConditionalAccessTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ConditionalAccessTemplatesRequestBuilder) ToGetRequestInformation(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 *ConditionalAccessTemplatesRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessTemplatesRequestBuilder) { + return NewConditionalAccessTemplatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/continuous_access_evaluation_policy_request_builder.go b/identity/continuous_access_evaluation_policy_request_builder.go index 3b3e72843eb..c37ffcea5bc 100644 --- a/identity/continuous_access_evaluation_policy_request_builder.go +++ b/identity/continuous_access_evaluation_policy_request_builder.go @@ -159,3 +159,7 @@ func (m *ContinuousAccessEvaluationPolicyRequestBuilder) ToPatchRequestInformati } 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 *ContinuousAccessEvaluationPolicyRequestBuilder) WithUrl(rawUrl string)(*ContinuousAccessEvaluationPolicyRequestBuilder) { + return NewContinuousAccessEvaluationPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/custom_authentication_extensions_count_request_builder.go b/identity/custom_authentication_extensions_count_request_builder.go index 99664696ce2..bf36094fc06 100644 --- a/identity/custom_authentication_extensions_count_request_builder.go +++ b/identity/custom_authentication_extensions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CustomAuthenticationExtensionsCountRequestBuilder) ToGetRequestInformat } 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 *CustomAuthenticationExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*CustomAuthenticationExtensionsCountRequestBuilder) { + return NewCustomAuthenticationExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/custom_authentication_extensions_custom_authentication_extension_item_request_builder.go b/identity/custom_authentication_extensions_custom_authentication_extension_item_request_builder.go index b3faaea385f..71039d45a3f 100644 --- a/identity/custom_authentication_extensions_custom_authentication_extension_item_request_builder.go +++ b/identity/custom_authentication_extensions_custom_authentication_extension_item_request_builder.go @@ -163,3 +163,7 @@ func (m *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestB func (m *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilder) ValidateAuthenticationConfiguration()(*CustomAuthenticationExtensionsItemValidateAuthenticationConfigurationRequestBuilder) { return NewCustomAuthenticationExtensionsItemValidateAuthenticationConfigurationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilder) WithUrl(rawUrl string)(*CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilder) { + return NewCustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/custom_authentication_extensions_item_validate_authentication_configuration_request_builder.go b/identity/custom_authentication_extensions_item_validate_authentication_configuration_request_builder.go index 400caa19ac3..7cb135acf6a 100644 --- a/identity/custom_authentication_extensions_item_validate_authentication_configuration_request_builder.go +++ b/identity/custom_authentication_extensions_item_validate_authentication_configuration_request_builder.go @@ -66,3 +66,7 @@ func (m *CustomAuthenticationExtensionsItemValidateAuthenticationConfigurationRe } 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 *CustomAuthenticationExtensionsItemValidateAuthenticationConfigurationRequestBuilder) WithUrl(rawUrl string)(*CustomAuthenticationExtensionsItemValidateAuthenticationConfigurationRequestBuilder) { + return NewCustomAuthenticationExtensionsItemValidateAuthenticationConfigurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/custom_authentication_extensions_request_builder.go b/identity/custom_authentication_extensions_request_builder.go index 1f73a2ff889..5d0232bd97f 100644 --- a/identity/custom_authentication_extensions_request_builder.go +++ b/identity/custom_authentication_extensions_request_builder.go @@ -46,8 +46,8 @@ type CustomAuthenticationExtensionsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCustomAuthenticationExtensionIdString provides operations to manage the customAuthenticationExtensions property of the microsoft.graph.identityContainer entity. -func (m *CustomAuthenticationExtensionsRequestBuilder) ByCustomAuthenticationExtensionIdString(customAuthenticationExtensionId string)(*CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilder) { +// ByCustomAuthenticationExtensionId provides operations to manage the customAuthenticationExtensions property of the microsoft.graph.identityContainer entity. +func (m *CustomAuthenticationExtensionsRequestBuilder) ByCustomAuthenticationExtensionId(customAuthenticationExtensionId string)(*CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *CustomAuthenticationExtensionsRequestBuilder) ToPostRequestInformation( func (m *CustomAuthenticationExtensionsRequestBuilder) ValidateAuthenticationConfiguration()(*CustomAuthenticationExtensionsValidateAuthenticationConfigurationRequestBuilder) { return NewCustomAuthenticationExtensionsValidateAuthenticationConfigurationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *CustomAuthenticationExtensionsRequestBuilder) WithUrl(rawUrl string)(*CustomAuthenticationExtensionsRequestBuilder) { + return NewCustomAuthenticationExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/custom_authentication_extensions_validate_authentication_configuration_request_builder.go b/identity/custom_authentication_extensions_validate_authentication_configuration_request_builder.go index f55a85dd307..5fc8eef764b 100644 --- a/identity/custom_authentication_extensions_validate_authentication_configuration_request_builder.go +++ b/identity/custom_authentication_extensions_validate_authentication_configuration_request_builder.go @@ -67,3 +67,7 @@ func (m *CustomAuthenticationExtensionsValidateAuthenticationConfigurationReques } 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 *CustomAuthenticationExtensionsValidateAuthenticationConfigurationRequestBuilder) WithUrl(rawUrl string)(*CustomAuthenticationExtensionsValidateAuthenticationConfigurationRequestBuilder) { + return NewCustomAuthenticationExtensionsValidateAuthenticationConfigurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/identity_providers_available_provider_types_request_builder.go b/identity/identity_providers_available_provider_types_request_builder.go index 985a82375d5..9d074d81cba 100644 --- a/identity/identity_providers_available_provider_types_request_builder.go +++ b/identity/identity_providers_available_provider_types_request_builder.go @@ -80,3 +80,7 @@ func (m *IdentityProvidersAvailableProviderTypesRequestBuilder) ToGetRequestInfo } 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 *IdentityProvidersAvailableProviderTypesRequestBuilder) WithUrl(rawUrl string)(*IdentityProvidersAvailableProviderTypesRequestBuilder) { + return NewIdentityProvidersAvailableProviderTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/identity_providers_count_request_builder.go b/identity/identity_providers_count_request_builder.go index bdaceed6c24..d36a9a07356 100644 --- a/identity/identity_providers_count_request_builder.go +++ b/identity/identity_providers_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IdentityProvidersCountRequestBuilder) ToGetRequestInformation(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 *IdentityProvidersCountRequestBuilder) WithUrl(rawUrl string)(*IdentityProvidersCountRequestBuilder) { + return NewIdentityProvidersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/identity_providers_identity_provider_base_item_request_builder.go b/identity/identity_providers_identity_provider_base_item_request_builder.go index 710b362f093..eee0b7881f5 100644 --- a/identity/identity_providers_identity_provider_base_item_request_builder.go +++ b/identity/identity_providers_identity_provider_base_item_request_builder.go @@ -162,3 +162,7 @@ func (m *IdentityProvidersIdentityProviderBaseItemRequestBuilder) ToPatchRequest } 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 *IdentityProvidersIdentityProviderBaseItemRequestBuilder) WithUrl(rawUrl string)(*IdentityProvidersIdentityProviderBaseItemRequestBuilder) { + return NewIdentityProvidersIdentityProviderBaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/identity_providers_request_builder.go b/identity/identity_providers_request_builder.go index b4f4c573c2a..48b8360644a 100644 --- a/identity/identity_providers_request_builder.go +++ b/identity/identity_providers_request_builder.go @@ -50,8 +50,8 @@ type IdentityProvidersRequestBuilderPostRequestConfiguration struct { func (m *IdentityProvidersRequestBuilder) AvailableProviderTypes()(*IdentityProvidersAvailableProviderTypesRequestBuilder) { return NewIdentityProvidersAvailableProviderTypesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByIdentityProviderBaseIdString provides operations to manage the identityProviders property of the microsoft.graph.identityContainer entity. -func (m *IdentityProvidersRequestBuilder) ByIdentityProviderBaseIdString(identityProviderBaseId string)(*IdentityProvidersIdentityProviderBaseItemRequestBuilder) { +// ByIdentityProviderBaseId provides operations to manage the identityProviders property of the microsoft.graph.identityContainer entity. +func (m *IdentityProvidersRequestBuilder) ByIdentityProviderBaseId(identityProviderBaseId string)(*IdentityProvidersIdentityProviderBaseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *IdentityProvidersRequestBuilder) ToPostRequestInformation(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 *IdentityProvidersRequestBuilder) WithUrl(rawUrl string)(*IdentityProvidersRequestBuilder) { + return NewIdentityProvidersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/identity_request_builder.go b/identity/identity_request_builder.go index f83007e5596..4cf663cc99a 100644 --- a/identity/identity_request_builder.go +++ b/identity/identity_request_builder.go @@ -162,3 +162,7 @@ func (m *IdentityRequestBuilder) UserFlowAttributes()(*UserFlowAttributesRequest func (m *IdentityRequestBuilder) UserFlows()(*UserFlowsRequestBuilder) { return NewUserFlowsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *IdentityRequestBuilder) WithUrl(rawUrl string)(*IdentityRequestBuilder) { + return NewIdentityRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/user_flow_attributes_count_request_builder.go b/identity/user_flow_attributes_count_request_builder.go index 993f00b1cd0..9e7243c5e62 100644 --- a/identity/user_flow_attributes_count_request_builder.go +++ b/identity/user_flow_attributes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserFlowAttributesCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *UserFlowAttributesCountRequestBuilder) WithUrl(rawUrl string)(*UserFlowAttributesCountRequestBuilder) { + return NewUserFlowAttributesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/user_flow_attributes_identity_user_flow_attribute_item_request_builder.go b/identity/user_flow_attributes_identity_user_flow_attribute_item_request_builder.go index 9071d0f04b9..100bd4e0978 100644 --- a/identity/user_flow_attributes_identity_user_flow_attribute_item_request_builder.go +++ b/identity/user_flow_attributes_identity_user_flow_attribute_item_request_builder.go @@ -162,3 +162,7 @@ func (m *UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilder) ToPatchR } 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 *UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilder) WithUrl(rawUrl string)(*UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilder) { + return NewUserFlowAttributesIdentityUserFlowAttributeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/user_flow_attributes_request_builder.go b/identity/user_flow_attributes_request_builder.go index 3bf90021f71..bf1cdd7eb0e 100644 --- a/identity/user_flow_attributes_request_builder.go +++ b/identity/user_flow_attributes_request_builder.go @@ -46,8 +46,8 @@ type UserFlowAttributesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByIdentityUserFlowAttributeIdString provides operations to manage the userFlowAttributes property of the microsoft.graph.identityContainer entity. -func (m *UserFlowAttributesRequestBuilder) ByIdentityUserFlowAttributeIdString(identityUserFlowAttributeId string)(*UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilder) { +// ByIdentityUserFlowAttributeId provides operations to manage the userFlowAttributes property of the microsoft.graph.identityContainer entity. +func (m *UserFlowAttributesRequestBuilder) ByIdentityUserFlowAttributeId(identityUserFlowAttributeId string)(*UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *UserFlowAttributesRequestBuilder) 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 *UserFlowAttributesRequestBuilder) WithUrl(rawUrl string)(*UserFlowAttributesRequestBuilder) { + return NewUserFlowAttributesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/user_flows_count_request_builder.go b/identity/user_flows_count_request_builder.go index 6a75e133f6e..01e596cc51c 100644 --- a/identity/user_flows_count_request_builder.go +++ b/identity/user_flows_count_request_builder.go @@ -76,3 +76,8 @@ func (m *UserFlowsCountRequestBuilder) ToGetRequestInformation(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. +// Deprecated: The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider on 2021-05-21 and will be removed 2022-01-15 +func (m *UserFlowsCountRequestBuilder) WithUrl(rawUrl string)(*UserFlowsCountRequestBuilder) { + return NewUserFlowsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/user_flows_identity_user_flow_item_request_builder.go b/identity/user_flows_identity_user_flow_item_request_builder.go index 23ff04562e4..7c24f2e56f3 100644 --- a/identity/user_flows_identity_user_flow_item_request_builder.go +++ b/identity/user_flows_identity_user_flow_item_request_builder.go @@ -165,3 +165,8 @@ func (m *UserFlowsIdentityUserFlowItemRequestBuilder) 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. +// Deprecated: The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider on 2021-05-21 and will be removed 2022-01-15 +func (m *UserFlowsIdentityUserFlowItemRequestBuilder) WithUrl(rawUrl string)(*UserFlowsIdentityUserFlowItemRequestBuilder) { + return NewUserFlowsIdentityUserFlowItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/user_flows_request_builder.go b/identity/user_flows_request_builder.go index c9444dc363a..b16db3514f5 100644 --- a/identity/user_flows_request_builder.go +++ b/identity/user_flows_request_builder.go @@ -46,9 +46,9 @@ type UserFlowsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByIdentityUserFlowIdString provides operations to manage the userFlows property of the microsoft.graph.identityContainer entity. +// ByIdentityUserFlowId provides operations to manage the userFlows property of the microsoft.graph.identityContainer entity. // Deprecated: The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider on 2021-05-21 and will be removed 2022-01-15 -func (m *UserFlowsRequestBuilder) ByIdentityUserFlowIdString(identityUserFlowId string)(*UserFlowsIdentityUserFlowItemRequestBuilder) { +func (m *UserFlowsRequestBuilder) ByIdentityUserFlowId(identityUserFlowId string)(*UserFlowsIdentityUserFlowItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,8 @@ func (m *UserFlowsRequestBuilder) ToPostRequestInformation(ctx context.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. +// Deprecated: The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider on 2021-05-21 and will be removed 2022-01-15 +func (m *UserFlowsRequestBuilder) WithUrl(rawUrl string)(*UserFlowsRequestBuilder) { + return NewUserFlowsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/0e58f5060bf23e62fe9ce624ba40c487237bba9c288f61c2d3d7ddc1534fac94.go b/identitygovernance/0e58f5060bf23e62fe9ce624ba40c487237bba9c288f61c2d3d7ddc1534fac94.go index 088b6b9f107..5e1d32e99d9 100644 --- a/identitygovernance/0e58f5060bf23e62fe9ce624ba40c487237bba9c288f61c2d3d7ddc1534fac94.go +++ b/identitygovernance/0e58f5060bf23e62fe9ce624ba40c487237bba9c288f61c2d3d7ddc1534fac94.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/13b83712acb68a980a96f9d70ffbca9c631abf4ae26c3e1b4303e72968e8e3cd.go b/identitygovernance/13b83712acb68a980a96f9d70ffbca9c631abf4ae26c3e1b4303e72968e8e3cd.go index b293a5429bd..3fe2729dc93 100644 --- a/identitygovernance/13b83712acb68a980a96f9d70ffbca9c631abf4ae26c3e1b4303e72968e8e3cd.go +++ b/identitygovernance/13b83712acb68a980a96f9d70ffbca9c631abf4ae26c3e1b4303e72968e8e3cd.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/1e0c0c9d5068ab9dcb098d124b1f59bea7c20e0ffe7be431cbd9310daa49e236.go b/identitygovernance/1e0c0c9d5068ab9dcb098d124b1f59bea7c20e0ffe7be431cbd9310daa49e236.go index 5187be4c585..3e202dbc3ca 100644 --- a/identitygovernance/1e0c0c9d5068ab9dcb098d124b1f59bea7c20e0ffe7be431cbd9310daa49e236.go +++ b/identitygovernance/1e0c0c9d5068ab9dcb098d124b1f59bea7c20e0ffe7be431cbd9310daa49e236.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/1e3a2639d24b732c9149f9e5090c1dc0cd4f3b8276644941cc96b7be53dc79e8.go b/identitygovernance/1e3a2639d24b732c9149f9e5090c1dc0cd4f3b8276644941cc96b7be53dc79e8.go index 1d6c91cd1a6..a114e4126bd 100644 --- a/identitygovernance/1e3a2639d24b732c9149f9e5090c1dc0cd4f3b8276644941cc96b7be53dc79e8.go +++ b/identitygovernance/1e3a2639d24b732c9149f9e5090c1dc0cd4f3b8276644941cc96b7be53dc79e8.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/2165b1a5a0801c058153f985466717482125f489ec89e0c0c26b9ae23894afe1.go b/identitygovernance/2165b1a5a0801c058153f985466717482125f489ec89e0c0c26b9ae23894afe1.go index 5d7c62b76ae..fe9f254664d 100644 --- a/identitygovernance/2165b1a5a0801c058153f985466717482125f489ec89e0c0c26b9ae23894afe1.go +++ b/identitygovernance/2165b1a5a0801c058153f985466717482125f489ec89e0c0c26b9ae23894afe1.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/323f6642c4dbd735674bc1bb90838a89418f035f439b40c32325281a20e56b3b.go b/identitygovernance/323f6642c4dbd735674bc1bb90838a89418f035f439b40c32325281a20e56b3b.go index a3afee3418d..6df76805ab7 100644 --- a/identitygovernance/323f6642c4dbd735674bc1bb90838a89418f035f439b40c32325281a20e56b3b.go +++ b/identitygovernance/323f6642c4dbd735674bc1bb90838a89418f035f439b40c32325281a20e56b3b.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/32b5de16766a159e08a93a7acb0b23b504c0caba5a4491697122a81d98669719.go b/identitygovernance/32b5de16766a159e08a93a7acb0b23b504c0caba5a4491697122a81d98669719.go index b61a7933f4c..2d58a494e67 100644 --- a/identitygovernance/32b5de16766a159e08a93a7acb0b23b504c0caba5a4491697122a81d98669719.go +++ b/identitygovernance/32b5de16766a159e08a93a7acb0b23b504c0caba5a4491697122a81d98669719.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/36939b8a53b81e77d59cee43bad3c4d1696f68d82a95941fb9ff47f189d5bd31.go b/identitygovernance/36939b8a53b81e77d59cee43bad3c4d1696f68d82a95941fb9ff47f189d5bd31.go index 1cb9f264e65..7ddceb48cba 100644 --- a/identitygovernance/36939b8a53b81e77d59cee43bad3c4d1696f68d82a95941fb9ff47f189d5bd31.go +++ b/identitygovernance/36939b8a53b81e77d59cee43bad3c4d1696f68d82a95941fb9ff47f189d5bd31.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/38e106f391f0c4ed27c50dac3d3f10ebb928a6c58cc3fafc6d64403003c886c0.go b/identitygovernance/38e106f391f0c4ed27c50dac3d3f10ebb928a6c58cc3fafc6d64403003c886c0.go index 1923a70fcc8..0856b33187e 100644 --- a/identitygovernance/38e106f391f0c4ed27c50dac3d3f10ebb928a6c58cc3fafc6d64403003c886c0.go +++ b/identitygovernance/38e106f391f0c4ed27c50dac3d3f10ebb928a6c58cc3fafc6d64403003c886c0.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/456c30588ae7a6a0f50f78c4b8c25c473ae2dc7fb4d82074094003cb88c7a552.go b/identitygovernance/456c30588ae7a6a0f50f78c4b8c25c473ae2dc7fb4d82074094003cb88c7a552.go index d1a9cb42121..0d4c54e403f 100644 --- a/identitygovernance/456c30588ae7a6a0f50f78c4b8c25c473ae2dc7fb4d82074094003cb88c7a552.go +++ b/identitygovernance/456c30588ae7a6a0f50f78c4b8c25c473ae2dc7fb4d82074094003cb88c7a552.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/4ed300c0ea58a179d1a8cb2ec0d4aeca4893dac3c15113bbf55a129c0cbe2258.go b/identitygovernance/4ed300c0ea58a179d1a8cb2ec0d4aeca4893dac3c15113bbf55a129c0cbe2258.go index c69bc1b1d98..122220502a9 100644 --- a/identitygovernance/4ed300c0ea58a179d1a8cb2ec0d4aeca4893dac3c15113bbf55a129c0cbe2258.go +++ b/identitygovernance/4ed300c0ea58a179d1a8cb2ec0d4aeca4893dac3c15113bbf55a129c0cbe2258.go @@ -159,3 +159,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/5aeb8df01b99c7fbe44ccf4152d4c54e197f3e4c7f376514253e33d4a6f4457e.go b/identitygovernance/5aeb8df01b99c7fbe44ccf4152d4c54e197f3e4c7f376514253e33d4a6f4457e.go index 11838382890..179e61de1a1 100644 --- a/identitygovernance/5aeb8df01b99c7fbe44ccf4152d4c54e197f3e4c7f376514253e33d4a6f4457e.go +++ b/identitygovernance/5aeb8df01b99c7fbe44ccf4152d4c54e197f3e4c7f376514253e33d4a6f4457e.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackage // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeIdString provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeIdString(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +// ByAccessPackageResourceScopeId provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/5d94c1d55d665549da1395ece49da4e8c25ecff07ca2bc5d0652d4a74c270ec4.go b/identitygovernance/5d94c1d55d665549da1395ece49da4e8c25ecff07ca2bc5d0652d4a74c270ec4.go index 5b29ff09819..080ff74f96e 100644 --- a/identitygovernance/5d94c1d55d665549da1395ece49da4e8c25ecff07ca2bc5d0652d4a74c270ec4.go +++ b/identitygovernance/5d94c1d55d665549da1395ece49da4e8c25ecff07ca2bc5d0652d4a74c270ec4.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/6fcde8fe5633d7c1f9a4efefa7c40971e441cda70cd83b8ae3b19a1ec2e3fe1a.go b/identitygovernance/6fcde8fe5633d7c1f9a4efefa7c40971e441cda70cd83b8ae3b19a1ec2e3fe1a.go index 74ff2370219..c2fe6cf9305 100644 --- a/identitygovernance/6fcde8fe5633d7c1f9a4efefa7c40971e441cda70cd83b8ae3b19a1ec2e3fe1a.go +++ b/identitygovernance/6fcde8fe5633d7c1f9a4efefa7c40971e441cda70cd83b8ae3b19a1ec2e3fe1a.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/843c675234151b126994c6ba74b7a5bb3029f3dbf5bee4db9be4040b93ac9df8.go b/identitygovernance/843c675234151b126994c6ba74b7a5bb3029f3dbf5bee4db9be4040b93ac9df8.go index 90a0a7077dc..4ab78dd0626 100644 --- a/identitygovernance/843c675234151b126994c6ba74b7a5bb3029f3dbf5bee4db9be4040b93ac9df8.go +++ b/identitygovernance/843c675234151b126994c6ba74b7a5bb3029f3dbf5bee4db9be4040b93ac9df8.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/84e2f53c1c08bf9959303a9794f75fc6a2b31f048d5b0fd894d01a227fa98272.go b/identitygovernance/84e2f53c1c08bf9959303a9794f75fc6a2b31f048d5b0fd894d01a227fa98272.go index b9be8e449b8..f85985c04b5 100644 --- a/identitygovernance/84e2f53c1c08bf9959303a9794f75fc6a2b31f048d5b0fd894d01a227fa98272.go +++ b/identitygovernance/84e2f53c1c08bf9959303a9794f75fc6a2b31f048d5b0fd894d01a227fa98272.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/8d80635c7d6788297f80a9adf158602d0df7ca57a38ac6054ab688e71688ab33.go b/identitygovernance/8d80635c7d6788297f80a9adf158602d0df7ca57a38ac6054ab688e71688ab33.go index 261ef05d378..2140ebf3130 100644 --- a/identitygovernance/8d80635c7d6788297f80a9adf158602d0df7ca57a38ac6054ab688e71688ab33.go +++ b/identitygovernance/8d80635c7d6788297f80a9adf158602d0df7ca57a38ac6054ab688e71688ab33.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/938fe6c162a8ed4a212b9ffc64a259e3bd0c01b8eb4ba34dcef28435196b2b69.go b/identitygovernance/938fe6c162a8ed4a212b9ffc64a259e3bd0c01b8eb4ba34dcef28435196b2b69.go index 7935e05563d..eb08f2e6e64 100644 --- a/identitygovernance/938fe6c162a8ed4a212b9ffc64a259e3bd0c01b8eb4ba34dcef28435196b2b69.go +++ b/identitygovernance/938fe6c162a8ed4a212b9ffc64a259e3bd0c01b8eb4ba34dcef28435196b2b69.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/ab3124d74ec90b99f715f8d0b36eaa7023a390edc62c5f457a4d805cd4cb7d4f.go b/identitygovernance/ab3124d74ec90b99f715f8d0b36eaa7023a390edc62c5f457a4d805cd4cb7d4f.go index e5771ecd1db..062b1e7887d 100644 --- a/identitygovernance/ab3124d74ec90b99f715f8d0b36eaa7023a390edc62c5f457a4d805cd4cb7d4f.go +++ b/identitygovernance/ab3124d74ec90b99f715f8d0b36eaa7023a390edc62c5f457a4d805cd4cb7d4f.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRes // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeIdString provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeIdString(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +// ByAccessPackageResourceScopeId provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_access_review_instance_decision_item_item_request_builder.go b/identitygovernance/access_reviews_decisions_access_review_instance_decision_item_item_request_builder.go index 1ecab364701..1aa6d896fc1 100644 --- a/identitygovernance/access_reviews_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/identitygovernance/access_reviews_decisions_access_review_instance_decision_item_item_request_builder.go @@ -161,3 +161,7 @@ func (m *AccessReviewsDecisionsAccessReviewInstanceDecisionItemItemRequestBuilde } 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 *AccessReviewsDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { + return NewAccessReviewsDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_count_request_builder.go b/identitygovernance/access_reviews_decisions_count_request_builder.go index 99585b25726..5190457e265 100644 --- a/identitygovernance/access_reviews_decisions_count_request_builder.go +++ b/identitygovernance/access_reviews_decisions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDecisionsCountRequestBuilder) ToGetRequestInformation(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 *AccessReviewsDecisionsCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsCountRequestBuilder) { + return NewAccessReviewsDecisionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_decisions_filter_by_current_user_with_on_request_builder.go index aa32577be11..88e41cf4f7e 100644 --- a/identitygovernance/access_reviews_decisions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_decisions_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *AccessReviewsDecisionsFilterByCurrentUserWithOnRequestBuilder) ToGetReq } 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 *AccessReviewsDecisionsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsFilterByCurrentUserWithOnRequestBuilder) { + return NewAccessReviewsDecisionsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_insights_count_request_builder.go b/identitygovernance/access_reviews_decisions_item_insights_count_request_builder.go index 32914e1bdce..e4594845002 100644 --- a/identitygovernance/access_reviews_decisions_item_insights_count_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_insights_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDecisionsItemInsightsCountRequestBuilder) ToGetRequestInfo } 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 *AccessReviewsDecisionsItemInsightsCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInsightsCountRequestBuilder) { + return NewAccessReviewsDecisionsItemInsightsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_insights_governance_insight_item_request_builder.go b/identitygovernance/access_reviews_decisions_item_insights_governance_insight_item_request_builder.go index cacda5c39a2..6d4c6016100 100644 --- a/identitygovernance/access_reviews_decisions_item_insights_governance_insight_item_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_insights_governance_insight_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AccessReviewsDecisionsItemInsightsGovernanceInsightItemRequestBuilder) } 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 *AccessReviewsDecisionsItemInsightsGovernanceInsightItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { + return NewAccessReviewsDecisionsItemInsightsGovernanceInsightItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_insights_request_builder.go b/identitygovernance/access_reviews_decisions_item_insights_request_builder.go index 42b9b9d9baf..84aef94eb39 100644 --- a/identitygovernance/access_reviews_decisions_item_insights_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_insights_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDecisionsItemInsightsRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceInsightIdString provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. -func (m *AccessReviewsDecisionsItemInsightsRequestBuilder) ByGovernanceInsightIdString(governanceInsightId string)(*AccessReviewsDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { +// ByGovernanceInsightId provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. +func (m *AccessReviewsDecisionsItemInsightsRequestBuilder) ByGovernanceInsightId(governanceInsightId string)(*AccessReviewsDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AccessReviewsDecisionsItemInsightsRequestBuilder) ToPostRequestInformat } 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 *AccessReviewsDecisionsItemInsightsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInsightsRequestBuilder) { + return NewAccessReviewsDecisionsItemInsightsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_accept_recommendations_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_accept_recommendations_request_builder.go index fc0197268dd..d8bdb741e70 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_accept_recommendations_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_accept_recommendations_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDecisionsItemInstanceAcceptRecommendationsRequestBuilder) } 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 *AccessReviewsDecisionsItemInstanceAcceptRecommendationsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceAcceptRecommendationsRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceAcceptRecommendationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_apply_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_apply_decisions_request_builder.go index 99769ff96d3..f40439796ef 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_apply_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_apply_decisions_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDecisionsItemInstanceApplyDecisionsRequestBuilder) ToPostR } 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 *AccessReviewsDecisionsItemInstanceApplyDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceApplyDecisionsRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceApplyDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_batch_record_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_batch_record_decisions_request_builder.go index e4d5f6259bb..518d960d5d8 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_batch_record_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_batch_record_decisions_request_builder.go @@ -65,3 +65,7 @@ func (m *AccessReviewsDecisionsItemInstanceBatchRecordDecisionsRequestBuilder) T } 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 *AccessReviewsDecisionsItemInstanceBatchRecordDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceBatchRecordDecisionsRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceBatchRecordDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go index 2d8bba289ef..74e98b5beca 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AccessReviewsDecisionsItemInstanceContactedReviewersAccessReviewReviewe } 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 *AccessReviewsDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_count_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_count_request_builder.go index 372587a57e8..a361f7dba03 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_count_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDecisionsItemInstanceContactedReviewersCountRequestBuilder } 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 *AccessReviewsDecisionsItemInstanceContactedReviewersCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceContactedReviewersCountRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceContactedReviewersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_request_builder.go index 5321ebd0e17..a06aa4b59cb 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDecisionsItemInstanceContactedReviewersRequestBuilderPostReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewReviewerIdString provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. -func (m *AccessReviewsDecisionsItemInstanceContactedReviewersRequestBuilder) ByAccessReviewReviewerIdString(accessReviewReviewerId string)(*AccessReviewsDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder) { +// ByAccessReviewReviewerId provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. +func (m *AccessReviewsDecisionsItemInstanceContactedReviewersRequestBuilder) ByAccessReviewReviewerId(accessReviewReviewerId string)(*AccessReviewsDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *AccessReviewsDecisionsItemInstanceContactedReviewersRequestBuilder) 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 *AccessReviewsDecisionsItemInstanceContactedReviewersRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceContactedReviewersRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceContactedReviewersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go index 1fe17000d3c..7e1b1c2c13d 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go @@ -160,3 +160,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsAccessReviewInstanceDecision } 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 *AccessReviewsDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_decisions_count_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_decisions_count_request_builder.go index ea3bb47a62e..2295999b05a 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_decisions_count_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_decisions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsCountRequestBuilder) ToGetRe } 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 *AccessReviewsDecisionsItemInstanceDecisionsCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceDecisionsCountRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceDecisionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go index 0dfe4af2c11..791d20e49a9 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnReq } 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 *AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_decisions_item_insights_count_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_decisions_item_insights_count_request_builder.go index 182c21e862c..b9cdee033f3 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_decisions_item_insights_count_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_decisions_item_insights_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsItemInsightsCountRequestBuil } 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 *AccessReviewsDecisionsItemInstanceDecisionsItemInsightsCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceDecisionsItemInsightsCountRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceDecisionsItemInsightsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go index 5ce79832000..61f0dfb761b 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsItemInsightsGovernanceInsigh } 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 *AccessReviewsDecisionsItemInstanceDecisionsItemInsightsGovernanceInsightItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceDecisionsItemInsightsGovernanceInsightItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_decisions_item_insights_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_decisions_item_insights_request_builder.go index c9bd9930ae8..9e11f02504d 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_decisions_item_insights_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_decisions_item_insights_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDecisionsItemInstanceDecisionsItemInsightsRequestBuilderPostRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceInsightIdString provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. -func (m *AccessReviewsDecisionsItemInstanceDecisionsItemInsightsRequestBuilder) ByGovernanceInsightIdString(governanceInsightId string)(*AccessReviewsDecisionsItemInstanceDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { +// ByGovernanceInsightId provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. +func (m *AccessReviewsDecisionsItemInstanceDecisionsItemInsightsRequestBuilder) ByGovernanceInsightId(governanceInsightId string)(*AccessReviewsDecisionsItemInstanceDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsItemInsightsRequestBuilder) } 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 *AccessReviewsDecisionsItemInstanceDecisionsItemInsightsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceDecisionsItemInsightsRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceDecisionsItemInsightsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_decisions_record_all_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_decisions_record_all_decisions_request_builder.go index a40a782b7c1..7072eb538c6 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_decisions_record_all_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_decisions_record_all_decisions_request_builder.go @@ -65,3 +65,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBui } 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 *AccessReviewsDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_decisions_request_builder.go index ab79c52c9c8..468f4b71e7f 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_decisions_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDecisionsItemInstanceDecisionsRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewInstanceDecisionItemId1String provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. -func (m *AccessReviewsDecisionsItemInstanceDecisionsRequestBuilder) ByAccessReviewInstanceDecisionItemId1String(accessReviewInstanceDecisionItemId1 string)(*AccessReviewsDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { +// ByAccessReviewInstanceDecisionItemId1 provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. +func (m *AccessReviewsDecisionsItemInstanceDecisionsRequestBuilder) ByAccessReviewInstanceDecisionItemId1(accessReviewInstanceDecisionItemId1 string)(*AccessReviewsDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsRequestBuilder) ToPostReques } 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 *AccessReviewsDecisionsItemInstanceDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceDecisionsRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_definition_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_definition_request_builder.go index 0accc7a8fc9..013e2ebc0ba 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_definition_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *AccessReviewsDecisionsItemInstanceDefinitionRequestBuilder) ToGetReques } 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 *AccessReviewsDecisionsItemInstanceDefinitionRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceDefinitionRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_request_builder.go index 5fcb8a7bb39..5cd225ad3a1 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_request_builder.go @@ -197,3 +197,7 @@ func (m *AccessReviewsDecisionsItemInstanceRequestBuilder) ToPatchRequestInforma } 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 *AccessReviewsDecisionsItemInstanceRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_reset_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_reset_decisions_request_builder.go index 4009d7747c4..b7d3875803c 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_reset_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_reset_decisions_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDecisionsItemInstanceResetDecisionsRequestBuilder) ToPostR } 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 *AccessReviewsDecisionsItemInstanceResetDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceResetDecisionsRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceResetDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_send_reminder_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_send_reminder_request_builder.go index 9cbb4bfa7be..8ae79adf2ad 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_send_reminder_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_send_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDecisionsItemInstanceSendReminderRequestBuilder) ToPostReq } 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 *AccessReviewsDecisionsItemInstanceSendReminderRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceSendReminderRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceSendReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_access_review_stage_item_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_access_review_stage_item_request_builder.go index c540cbf8cc8..267b8eb0cd0 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_access_review_stage_item_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_access_review_stage_item_request_builder.go @@ -167,3 +167,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBui } 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 *AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_count_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_count_request_builder.go index bf2929fd37a..3a735e3d693 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_count_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesCountRequestBuilder) ToGetReque } 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 *AccessReviewsDecisionsItemInstanceStagesCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceStagesCountRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceStagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go index 561cd595000..e67c4e054ed 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnReques } 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 *AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go index 038c9a650df..eb59fb6d019 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -163,3 +163,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstan } 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 *AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_count_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_count_request_builder.go index d5bd9a9bbe8..7e280e5b2a7 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_count_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsCountRequestBuilde } 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 *AccessReviewsDecisionsItemInstanceStagesItemDecisionsCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceStagesItemDecisionsCountRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceStagesItemDecisionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go index ba5e9dbe949..6d72de0efb3 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUse } 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 *AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_item_insights_count_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_item_insights_count_request_builder.go index 660786484ac..8f376466695 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_item_insights_count_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_item_insights_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsCountR } 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 *AccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsCountRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go index db8e0ece734..d780410230e 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsGovern } 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 *AccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go index a70d8790cd5..0a11c7b79c4 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceInsightIdString provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. -func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsRequestBuilder) ByGovernanceInsightIdString(governanceInsightId string)(*AccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { +// ByGovernanceInsightId provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. +func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsRequestBuilder) ByGovernanceInsightId(governanceInsightId string)(*AccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsReques } 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 *AccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go index 8eb5dce857b..6df972348c9 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go @@ -65,3 +65,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsRecordAllDecisions } 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 *AccessReviewsDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_request_builder.go index 06e5c15b71e..06ec5ccc0e4 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDecisionsItemInstanceStagesItemDecisionsRequestBuilderPostRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewInstanceDecisionItemId1String provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. -func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsRequestBuilder) ByAccessReviewInstanceDecisionItemId1String(accessReviewInstanceDecisionItemId1 string)(*AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { +// ByAccessReviewInstanceDecisionItemId1 provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. +func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsRequestBuilder) ByAccessReviewInstanceDecisionItemId1(accessReviewInstanceDecisionItemId1 string)(*AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsRequestBuilder) To } 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 *AccessReviewsDecisionsItemInstanceStagesItemDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceStagesItemDecisionsRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceStagesItemDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_item_stop_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_item_stop_request_builder.go index 087b449ee7d..39baa337dde 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_item_stop_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_item_stop_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemStopRequestBuilder) ToPostR } 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 *AccessReviewsDecisionsItemInstanceStagesItemStopRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceStagesItemStopRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceStagesItemStopRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_request_builder.go index a93c7812d8c..ba16201df53 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDecisionsItemInstanceStagesRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewStageIdString provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. -func (m *AccessReviewsDecisionsItemInstanceStagesRequestBuilder) ByAccessReviewStageIdString(accessReviewStageId string)(*AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) { +// ByAccessReviewStageId provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. +func (m *AccessReviewsDecisionsItemInstanceStagesRequestBuilder) ByAccessReviewStageId(accessReviewStageId string)(*AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesRequestBuilder) ToPostRequestIn } 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 *AccessReviewsDecisionsItemInstanceStagesRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceStagesRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceStagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_stop_apply_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stop_apply_decisions_request_builder.go index b77559a2e48..6b70e685dbb 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stop_apply_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stop_apply_decisions_request_builder.go @@ -58,3 +58,7 @@ func (m *AccessReviewsDecisionsItemInstanceStopApplyDecisionsRequestBuilder) 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 *AccessReviewsDecisionsItemInstanceStopApplyDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceStopApplyDecisionsRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceStopApplyDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_item_instance_stop_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stop_request_builder.go index 9c5df0cbe0f..f48f6ab8c3a 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stop_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stop_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDecisionsItemInstanceStopRequestBuilder) ToPostRequestInfo } 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 *AccessReviewsDecisionsItemInstanceStopRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsItemInstanceStopRequestBuilder) { + return NewAccessReviewsDecisionsItemInstanceStopRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_record_all_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_record_all_decisions_request_builder.go index a1f4f2eb1e6..a1f0ae1ff19 100644 --- a/identitygovernance/access_reviews_decisions_record_all_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_record_all_decisions_request_builder.go @@ -65,3 +65,7 @@ func (m *AccessReviewsDecisionsRecordAllDecisionsRequestBuilder) ToPostRequestIn } 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 *AccessReviewsDecisionsRecordAllDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsRecordAllDecisionsRequestBuilder) { + return NewAccessReviewsDecisionsRecordAllDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_request_builder.go index 14d36d319ea..c3c8aa7d008 100644 --- a/identitygovernance/access_reviews_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDecisionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewInstanceDecisionItemIdString provides operations to manage the decisions property of the microsoft.graph.accessReviewSet entity. -func (m *AccessReviewsDecisionsRequestBuilder) ByAccessReviewInstanceDecisionItemIdString(accessReviewInstanceDecisionItemId string)(*AccessReviewsDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { +// ByAccessReviewInstanceDecisionItemId provides operations to manage the decisions property of the microsoft.graph.accessReviewSet entity. +func (m *AccessReviewsDecisionsRequestBuilder) ByAccessReviewInstanceDecisionItemId(accessReviewInstanceDecisionItemId string)(*AccessReviewsDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,7 @@ func (m *AccessReviewsDecisionsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *AccessReviewsDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDecisionsRequestBuilder) { + return NewAccessReviewsDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_access_review_schedule_definition_item_request_builder.go b/identitygovernance/access_reviews_definitions_access_review_schedule_definition_item_request_builder.go index 73145cd1598..f76dc083b03 100644 --- a/identitygovernance/access_reviews_definitions_access_review_schedule_definition_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_access_review_schedule_definition_item_request_builder.go @@ -170,3 +170,7 @@ func (m *AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilde } 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 *AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilder) { + return NewAccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_count_request_builder.go b/identitygovernance/access_reviews_definitions_count_request_builder.go index 4269e03687e..35936223bd1 100644 --- a/identitygovernance/access_reviews_definitions_count_request_builder.go +++ b/identitygovernance/access_reviews_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDefinitionsCountRequestBuilder) ToGetRequestInformation(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 *AccessReviewsDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsCountRequestBuilder) { + return NewAccessReviewsDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_filter_by_current_user_with_on_request_builder.go index 1860f0b54d9..5e1179eeef6 100644 --- a/identitygovernance/access_reviews_definitions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *AccessReviewsDefinitionsFilterByCurrentUserWithOnRequestBuilder) ToGetR } 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 *AccessReviewsDefinitionsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsFilterByCurrentUserWithOnRequestBuilder) { + return NewAccessReviewsDefinitionsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_access_review_instance_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_access_review_instance_item_request_builder.go index 561950c7b2b..f47c2ae0d28 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_access_review_instance_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_access_review_instance_item_request_builder.go @@ -203,3 +203,7 @@ func (m *AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBui } 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 *AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_count_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_count_request_builder.go index 930fb439c74..b93da72c0d6 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_count_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDefinitionsItemInstancesCountRequestBuilder) ToGetRequestI } 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 *AccessReviewsDefinitionsItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesCountRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_filter_by_current_user_with_on_request_builder.go index a19827ac812..79efba1573c 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnRequestBu } 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 *AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_accept_recommendations_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_accept_recommendations_request_builder.go index 0d52af36fdb..b46db494f40 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_accept_recommendations_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_accept_recommendations_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemAcceptRecommendationsRequestBu } 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 *AccessReviewsDefinitionsItemInstancesItemAcceptRecommendationsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemAcceptRecommendationsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemAcceptRecommendationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_apply_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_apply_decisions_request_builder.go index 00f656c4aab..8aed44d67a9 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_apply_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_apply_decisions_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemApplyDecisionsRequestBuilder) } 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 *AccessReviewsDefinitionsItemInstancesItemApplyDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemApplyDecisionsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemApplyDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_batch_record_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_batch_record_decisions_request_builder.go index eb527b97ad8..36d576476a2 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_batch_record_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_batch_record_decisions_request_builder.go @@ -65,3 +65,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemBatchRecordDecisionsRequestBui } 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 *AccessReviewsDefinitionsItemInstancesItemBatchRecordDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemBatchRecordDecisionsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemBatchRecordDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_access_review_reviewer_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_access_review_reviewer_item_request_builder.go index 6ea4960f83c..292cb0489c2 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_access_review_reviewer_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_access_review_reviewer_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemContactedReviewersAccessReview } 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 *AccessReviewsDefinitionsItemInstancesItemContactedReviewersAccessReviewReviewerItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemContactedReviewersAccessReviewReviewerItemRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemContactedReviewersAccessReviewReviewerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_count_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_count_request_builder.go index bbafd95c013..17fc5486ce3 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_count_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemContactedReviewersCountRequest } 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 *AccessReviewsDefinitionsItemInstancesItemContactedReviewersCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemContactedReviewersCountRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemContactedReviewersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_request_builder.go index 34d7c32c5c1..e7f0454bd6d 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDefinitionsItemInstancesItemContactedReviewersRequestBuilderPo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewReviewerIdString provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. -func (m *AccessReviewsDefinitionsItemInstancesItemContactedReviewersRequestBuilder) ByAccessReviewReviewerIdString(accessReviewReviewerId string)(*AccessReviewsDefinitionsItemInstancesItemContactedReviewersAccessReviewReviewerItemRequestBuilder) { +// ByAccessReviewReviewerId provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. +func (m *AccessReviewsDefinitionsItemInstancesItemContactedReviewersRequestBuilder) ByAccessReviewReviewerId(accessReviewReviewerId string)(*AccessReviewsDefinitionsItemInstancesItemContactedReviewersAccessReviewReviewerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemContactedReviewersRequestBuild } 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 *AccessReviewsDefinitionsItemInstancesItemContactedReviewersRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemContactedReviewersRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemContactedReviewersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go index 69275a849d1..7ac6103208c 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -164,3 +164,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceD } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_count_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_count_request_builder.go index 0a678981b3b..037e878add9 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_count_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsCountRequestBuilder) } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsCountRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_filter_by_current_user_with_on_request_builder.go index 92e72d5a851..00b4dd96aac 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWi } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_insights_count_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_insights_count_request_builder.go index 3698537aee8..fa932255b2f 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_insights_count_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_insights_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInsightsCountRequ } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInsightsCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInsightsCountRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInsightsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_insights_governance_insight_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_insights_governance_insight_item_request_builder.go index 8f593f7c183..2de43f3cea7 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_insights_governance_insight_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_insights_governance_insight_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInsightsGovernanc } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_insights_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_insights_request_builder.go index fb147110599..e1b4147a4c8 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_insights_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_insights_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDefinitionsItemInstancesItemDecisionsItemInsightsRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceInsightIdString provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. -func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInsightsRequestBuilder) ByGovernanceInsightIdString(governanceInsightId string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { +// ByGovernanceInsightId provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. +func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInsightsRequestBuilder) ByGovernanceInsightId(governanceInsightId string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInsightsRequestBu } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInsightsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInsightsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInsightsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_accept_recommendations_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_accept_recommendations_request_builder.go index bb79f5eb086..70f90d647b2 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_accept_recommendations_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_accept_recommendations_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceAcceptRec } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceAcceptRecommendationsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceAcceptRecommendationsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceAcceptRecommendationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_apply_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_apply_decisions_request_builder.go index bf74dac3913..9bd93f78a8b 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_apply_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_apply_decisions_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceApplyDeci } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceApplyDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceApplyDecisionsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceApplyDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go index 22eb8d0514f..745155dce68 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go @@ -65,3 +65,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceBatchReco } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceBatchRecordDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceBatchRecordDecisionsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceBatchRecordDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go index 643c47180a0..220b78d4e1b 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContacted } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_count_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_count_request_builder.go index 370b4e929a6..a0e4836f9ef 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_count_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContacted } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersCountRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go index f453a3e1b44..1bc78468cb4 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedRevi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewReviewerIdString provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. -func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilder) ByAccessReviewReviewerIdString(accessReviewReviewerId string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder) { +// ByAccessReviewReviewerId provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. +func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilder) ByAccessReviewReviewerId(accessReviewReviewerId string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContacted } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_definition_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_definition_request_builder.go index 6a03b0a4d0e..9fbbaffe059 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_definition_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceDefinitio } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceDefinitionRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceDefinitionRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_request_builder.go index 7e4f7d3586a..2bcbc1d46f0 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_request_builder.go @@ -193,3 +193,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceRequestBu } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_reset_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_reset_decisions_request_builder.go index 3741408c7a0..368f9daad54 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_reset_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_reset_decisions_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceResetDeci } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceResetDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceResetDecisionsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceResetDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_send_reminder_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_send_reminder_request_builder.go index 79cbcf87425..3c22cbefcaa 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_send_reminder_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_send_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceSendRemin } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceSendReminderRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceSendReminderRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceSendReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go index 3155f2fb9a1..36e5d884060 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go @@ -167,3 +167,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAcc } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_count_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_count_request_builder.go index 234f90e13e4..f8c7a8b7991 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_count_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesCou } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesCountRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go index 96f06e488a1..19f4fabf6e5 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFil } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go index 2294d49c4a7..e6522946f80 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -163,3 +163,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_count_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_count_request_builder.go index 6f4d31f596f..dcbc1384faa 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_count_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsCountRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go index 1ab9bbf8655..532bd68a325 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_item_insights_count_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_item_insights_count_request_builder.go index 06030ca1169..649d1a112eb 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_item_insights_count_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_item_insights_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsCountRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go index cc23138df63..4eccee44321 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go index 066d0fc6b8e..a16be9f1586 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDec // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceInsightIdString provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. -func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsRequestBuilder) ByGovernanceInsightIdString(governanceInsightId string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { +// ByGovernanceInsightId provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. +func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsRequestBuilder) ByGovernanceInsightId(governanceInsightId string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go index 1a0f7aad754..50f1816fd51 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go @@ -65,3 +65,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go index 80303faddc3..b3b4043e8c1 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDec // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewInstanceDecisionItemId1String provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. -func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilder) ByAccessReviewInstanceDecisionItemId1String(accessReviewInstanceDecisionItemId1 string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { +// ByAccessReviewInstanceDecisionItemId1 provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. +func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilder) ByAccessReviewInstanceDecisionItemId1(accessReviewInstanceDecisionItemId1 string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_stop_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_stop_request_builder.go index 8e3705bd158..fb634b051f4 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_stop_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_stop_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemStopRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemStopRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemStopRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_request_builder.go index 38d6873ca73..ca26b0a0d90 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewStageIdString provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. -func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesRequestBuilder) ByAccessReviewStageIdString(accessReviewStageId string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) { +// ByAccessReviewStageId provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. +func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesRequestBuilder) ByAccessReviewStageId(accessReviewStageId string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesReq } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stop_apply_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stop_apply_decisions_request_builder.go index 8b050facc4a..fbb16b762ff 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stop_apply_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stop_apply_decisions_request_builder.go @@ -58,3 +58,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStopApply } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStopApplyDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStopApplyDecisionsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStopApplyDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stop_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stop_request_builder.go index 0af122e51f3..b78fea52068 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stop_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stop_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStopReque } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStopRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStopRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStopRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_record_all_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_record_all_decisions_request_builder.go index 9d3ec13901f..fd54ddd4e4c 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_record_all_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_record_all_decisions_request_builder.go @@ -65,3 +65,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsRecordAllDecisionsReq } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsRecordAllDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsRecordAllDecisionsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsRecordAllDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_request_builder.go index 1fd96f4b981..3d7d6556c99 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDefinitionsItemInstancesItemDecisionsRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewInstanceDecisionItemIdString provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. -func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsRequestBuilder) ByAccessReviewInstanceDecisionItemIdString(accessReviewInstanceDecisionItemId string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { +// ByAccessReviewInstanceDecisionItemId provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. +func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsRequestBuilder) ByAccessReviewInstanceDecisionItemId(accessReviewInstanceDecisionItemId string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsRequestBuilder) ToPos } 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 *AccessReviewsDefinitionsItemInstancesItemDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_definition_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_definition_request_builder.go index 3f23f759e79..07cbff313d8 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_definition_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDefinitionRequestBuilder) ToGe } 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 *AccessReviewsDefinitionsItemInstancesItemDefinitionRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemDefinitionRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_reset_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_reset_decisions_request_builder.go index ac768322b89..6b1f00b3356 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_reset_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_reset_decisions_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemResetDecisionsRequestBuilder) } 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 *AccessReviewsDefinitionsItemInstancesItemResetDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemResetDecisionsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemResetDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_send_reminder_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_send_reminder_request_builder.go index 8830755c0dc..bc721bf0bc3 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_send_reminder_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_send_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemSendReminderRequestBuilder) To } 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 *AccessReviewsDefinitionsItemInstancesItemSendReminderRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemSendReminderRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemSendReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_access_review_stage_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_access_review_stage_item_request_builder.go index cd9a646c9a4..eef5cda52f3 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_access_review_stage_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_access_review_stage_item_request_builder.go @@ -167,3 +167,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemReq } 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 *AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_count_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_count_request_builder.go index ffe2aeb9a62..1a73cb2338a 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_count_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesCountRequestBuilder) ToG } 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 *AccessReviewsDefinitionsItemInstancesItemStagesCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesCountRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_filter_by_current_user_with_on_request_builder.go index 76411fd32e6..a66aa38ea7d 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithO } 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 *AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOnRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go index 0995084d20e..6ec0ec7b755 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -167,3 +167,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessRevie } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_count_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_count_request_builder.go index ae6a1fb501f..086e476ab80 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_count_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsCountReques } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsCountRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go index 7af369ed9bd..cd77d4cd45e 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCur } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_insights_count_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_insights_count_request_builder.go index 0b5a3881b89..8f3d6dcfdcb 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_insights_count_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_insights_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInsight } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInsightsCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInsightsCountRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInsightsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_insights_governance_insight_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_insights_governance_insight_item_request_builder.go index 68aacd4ccc7..01be808513f 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_insights_governance_insight_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_insights_governance_insight_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInsight } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_insights_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_insights_request_builder.go index 22eceb4ac8f..bf9a7fd5c17 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_insights_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_insights_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInsightsReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceInsightIdString provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. -func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInsightsRequestBuilder) ByGovernanceInsightIdString(governanceInsightId string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { +// ByGovernanceInsightId provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. +func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInsightsRequestBuilder) ByGovernanceInsightId(governanceInsightId string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInsight } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInsightsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInsightsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInsightsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go index 3d838c56fc2..11cb2b2609f 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceAcceptRecommendationsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceAcceptRecommendationsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceAcceptRecommendationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go index 785f5cd44ed..16dcc137246 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceApplyDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceApplyDecisionsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceApplyDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go index 9886b3d88c3..aa8758eece5 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go @@ -65,3 +65,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceBatchRecordDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceBatchRecordDecisionsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceBatchRecordDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go index 34719f86cd0..8ac4ebdd261 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_count_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_count_request_builder.go index 259cb4b9927..d27e14e006a 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_count_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersCountRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go index ec7bff379fc..239d6b1bfcb 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewReviewerIdString provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. -func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilder) ByAccessReviewReviewerIdString(accessReviewReviewerId string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder) { +// ByAccessReviewReviewerId provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. +func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilder) ByAccessReviewReviewerId(accessReviewReviewerId string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go index 8caa5a40e7e..7331976fedc 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go @@ -160,3 +160,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_count_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_count_request_builder.go index 06d164be4a6..6c489af7364 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_count_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsCountRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go index 3b3ccfeb20d..2fc115043f8 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_item_insights_count_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_item_insights_count_request_builder.go index 83973584f78..ac8441e291f 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_item_insights_count_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_item_insights_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsCountRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go index cae672f6744..a03942d4144 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsGovernanceInsightItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsGovernanceInsightItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_item_insights_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_item_insights_request_builder.go index 3311e41e74c..9cde6ab3aa1 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_item_insights_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_item_insights_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDec // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceInsightIdString provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. -func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsRequestBuilder) ByGovernanceInsightIdString(governanceInsightId string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { +// ByGovernanceInsightId provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. +func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsRequestBuilder) ByGovernanceInsightId(governanceInsightId string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go index cb40c58f189..0f8d94d6e86 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go @@ -65,3 +65,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go index 31936ea5795..33aa0ee0ec4 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDec // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewInstanceDecisionItemId1String provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. -func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilder) ByAccessReviewInstanceDecisionItemId1String(accessReviewInstanceDecisionItemId1 string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { +// ByAccessReviewInstanceDecisionItemId1 provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. +func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilder) ByAccessReviewInstanceDecisionItemId1(accessReviewInstanceDecisionItemId1 string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_definition_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_definition_request_builder.go index 0c4c1adca57..9ece323d92c 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_definition_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDefinitionRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDefinitionRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_request_builder.go index 1866ac0d5f7..cbed039d5db 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_request_builder.go @@ -193,3 +193,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go index 54e0a70e8d5..8d2e89da0c8 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceResetDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceResetDecisionsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceResetDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go index b75c7307435..e41cd87d1b2 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceSendReminderRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceSendReminderRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceSendReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_stop_apply_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_stop_apply_decisions_request_builder.go index 439da4c002d..9e5641f19e4 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_stop_apply_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_stop_apply_decisions_request_builder.go @@ -58,3 +58,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceStopApplyDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceStopApplyDecisionsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceStopApplyDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_stop_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_stop_request_builder.go index 9cf1681460e..7ab76fbe32c 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_stop_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_stop_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceStopRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceStopRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceStopRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_record_all_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_record_all_decisions_request_builder.go index 33cbba56541..a01ce79a386 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_record_all_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_record_all_decisions_request_builder.go @@ -65,3 +65,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRecordAllDe } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRecordAllDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRecordAllDecisionsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRecordAllDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_request_builder.go index 042c0b26987..474cce1b176 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilderP // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewInstanceDecisionItemIdString provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. -func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilder) ByAccessReviewInstanceDecisionItemIdString(accessReviewInstanceDecisionItemId string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { +// ByAccessReviewInstanceDecisionItemId provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. +func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilder) ByAccessReviewInstanceDecisionItemId(accessReviewInstanceDecisionItemId string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuil } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_stop_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_stop_request_builder.go index c186a5d0d20..604203802b7 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_stop_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_stop_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemStopRequestBuilder) } 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 *AccessReviewsDefinitionsItemInstancesItemStagesItemStopRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemStopRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesItemStopRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_request_builder.go index 038d16c270c..152baec7a90 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDefinitionsItemInstancesItemStagesRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewStageIdString provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. -func (m *AccessReviewsDefinitionsItemInstancesItemStagesRequestBuilder) ByAccessReviewStageIdString(accessReviewStageId string)(*AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilder) { +// ByAccessReviewStageId provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. +func (m *AccessReviewsDefinitionsItemInstancesItemStagesRequestBuilder) ByAccessReviewStageId(accessReviewStageId string)(*AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesRequestBuilder) ToPostRe } 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 *AccessReviewsDefinitionsItemInstancesItemStagesRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStagesRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stop_apply_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stop_apply_decisions_request_builder.go index 672165da659..ca8ec65ffde 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stop_apply_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stop_apply_decisions_request_builder.go @@ -58,3 +58,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStopApplyDecisionsRequestBuild } 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 *AccessReviewsDefinitionsItemInstancesItemStopApplyDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStopApplyDecisionsRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStopApplyDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stop_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stop_request_builder.go index f84dd5a97ae..81c76bf6d68 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stop_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stop_request_builder.go @@ -61,3 +61,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStopRequestBuilder) ToPostRequ } 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 *AccessReviewsDefinitionsItemInstancesItemStopRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesItemStopRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesItemStopRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_instances_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_request_builder.go index 72212949b45..6c4a79d3fbf 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDefinitionsItemInstancesRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewInstanceIdString provides operations to manage the instances property of the microsoft.graph.accessReviewScheduleDefinition entity. -func (m *AccessReviewsDefinitionsItemInstancesRequestBuilder) ByAccessReviewInstanceIdString(accessReviewInstanceId string)(*AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBuilder) { +// ByAccessReviewInstanceId provides operations to manage the instances property of the microsoft.graph.accessReviewScheduleDefinition entity. +func (m *AccessReviewsDefinitionsItemInstancesRequestBuilder) ByAccessReviewInstanceId(accessReviewInstanceId string)(*AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *AccessReviewsDefinitionsItemInstancesRequestBuilder) ToPostRequestInfor } 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 *AccessReviewsDefinitionsItemInstancesRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemInstancesRequestBuilder) { + return NewAccessReviewsDefinitionsItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_item_stop_request_builder.go b/identitygovernance/access_reviews_definitions_item_stop_request_builder.go index 03a2f2228a7..e737342859e 100644 --- a/identitygovernance/access_reviews_definitions_item_stop_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_stop_request_builder.go @@ -58,3 +58,7 @@ func (m *AccessReviewsDefinitionsItemStopRequestBuilder) ToPostRequestInformatio } 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 *AccessReviewsDefinitionsItemStopRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsItemStopRequestBuilder) { + return NewAccessReviewsDefinitionsItemStopRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_definitions_request_builder.go b/identitygovernance/access_reviews_definitions_request_builder.go index af095d51c84..9b84e2a909b 100644 --- a/identitygovernance/access_reviews_definitions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsDefinitionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewScheduleDefinitionIdString provides operations to manage the definitions property of the microsoft.graph.accessReviewSet entity. -func (m *AccessReviewsDefinitionsRequestBuilder) ByAccessReviewScheduleDefinitionIdString(accessReviewScheduleDefinitionId string)(*AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilder) { +// ByAccessReviewScheduleDefinitionId provides operations to manage the definitions property of the microsoft.graph.accessReviewSet entity. +func (m *AccessReviewsDefinitionsRequestBuilder) ByAccessReviewScheduleDefinitionId(accessReviewScheduleDefinitionId string)(*AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *AccessReviewsDefinitionsRequestBuilder) ToPostRequestInformation(ctx co } 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 *AccessReviewsDefinitionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsDefinitionsRequestBuilder) { + return NewAccessReviewsDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_history_definitions_access_review_history_definition_item_request_builder.go b/identitygovernance/access_reviews_history_definitions_access_review_history_definition_item_request_builder.go index 8db8e858d85..c861edc3111 100644 --- a/identitygovernance/access_reviews_history_definitions_access_review_history_definition_item_request_builder.go +++ b/identitygovernance/access_reviews_history_definitions_access_review_history_definition_item_request_builder.go @@ -160,3 +160,7 @@ func (m *AccessReviewsHistoryDefinitionsAccessReviewHistoryDefinitionItemRequest } 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 *AccessReviewsHistoryDefinitionsAccessReviewHistoryDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsHistoryDefinitionsAccessReviewHistoryDefinitionItemRequestBuilder) { + return NewAccessReviewsHistoryDefinitionsAccessReviewHistoryDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_history_definitions_count_request_builder.go b/identitygovernance/access_reviews_history_definitions_count_request_builder.go index 5ccd1cd4d8b..374b973b189 100644 --- a/identitygovernance/access_reviews_history_definitions_count_request_builder.go +++ b/identitygovernance/access_reviews_history_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsHistoryDefinitionsCountRequestBuilder) ToGetRequestInforma } 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 *AccessReviewsHistoryDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsHistoryDefinitionsCountRequestBuilder) { + return NewAccessReviewsHistoryDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_history_definitions_item_instances_access_review_history_instance_item_request_builder.go b/identitygovernance/access_reviews_history_definitions_item_instances_access_review_history_instance_item_request_builder.go index 8b13a20ea51..1ccdff0d987 100644 --- a/identitygovernance/access_reviews_history_definitions_item_instances_access_review_history_instance_item_request_builder.go +++ b/identitygovernance/access_reviews_history_definitions_item_instances_access_review_history_instance_item_request_builder.go @@ -18,7 +18,7 @@ type AccessReviewsHistoryDefinitionsItemInstancesAccessReviewHistoryInstanceItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AccessReviewsHistoryDefinitionsItemInstancesAccessReviewHistoryInstanceItemRequestBuilderGetQueryParameters if the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance. +// AccessReviewsHistoryDefinitionsItemInstancesAccessReviewHistoryInstanceItemRequestBuilderGetQueryParameters if the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that doesn't recur will have exactly one instance. type AccessReviewsHistoryDefinitionsItemInstancesAccessReviewHistoryInstanceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,7 +74,7 @@ func (m *AccessReviewsHistoryDefinitionsItemInstancesAccessReviewHistoryInstance func (m *AccessReviewsHistoryDefinitionsItemInstancesAccessReviewHistoryInstanceItemRequestBuilder) GenerateDownloadUri()(*AccessReviewsHistoryDefinitionsItemInstancesItemGenerateDownloadUriRequestBuilder) { return NewAccessReviewsHistoryDefinitionsItemInstancesItemGenerateDownloadUriRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get if the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance. +// Get if the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that doesn't recur will have exactly one instance. func (m *AccessReviewsHistoryDefinitionsItemInstancesAccessReviewHistoryInstanceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsHistoryDefinitionsItemInstancesAccessReviewHistoryInstanceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewHistoryInstanceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +124,7 @@ func (m *AccessReviewsHistoryDefinitionsItemInstancesAccessReviewHistoryInstance } return requestInfo, nil } -// ToGetRequestInformation if the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance. +// ToGetRequestInformation if the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that doesn't recur will have exactly one instance. func (m *AccessReviewsHistoryDefinitionsItemInstancesAccessReviewHistoryInstanceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsHistoryDefinitionsItemInstancesAccessReviewHistoryInstanceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -157,3 +157,7 @@ func (m *AccessReviewsHistoryDefinitionsItemInstancesAccessReviewHistoryInstance } 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 *AccessReviewsHistoryDefinitionsItemInstancesAccessReviewHistoryInstanceItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsHistoryDefinitionsItemInstancesAccessReviewHistoryInstanceItemRequestBuilder) { + return NewAccessReviewsHistoryDefinitionsItemInstancesAccessReviewHistoryInstanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_history_definitions_item_instances_count_request_builder.go b/identitygovernance/access_reviews_history_definitions_item_instances_count_request_builder.go index 718ff3a432c..6fd331382a5 100644 --- a/identitygovernance/access_reviews_history_definitions_item_instances_count_request_builder.go +++ b/identitygovernance/access_reviews_history_definitions_item_instances_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AccessReviewsHistoryDefinitionsItemInstancesCountRequestBuilder) ToGetR } 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 *AccessReviewsHistoryDefinitionsItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsHistoryDefinitionsItemInstancesCountRequestBuilder) { + return NewAccessReviewsHistoryDefinitionsItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_history_definitions_item_instances_item_generate_download_uri_request_builder.go b/identitygovernance/access_reviews_history_definitions_item_instances_item_generate_download_uri_request_builder.go index db673518101..cdaf8c4439b 100644 --- a/identitygovernance/access_reviews_history_definitions_item_instances_item_generate_download_uri_request_builder.go +++ b/identitygovernance/access_reviews_history_definitions_item_instances_item_generate_download_uri_request_builder.go @@ -66,3 +66,7 @@ func (m *AccessReviewsHistoryDefinitionsItemInstancesItemGenerateDownloadUriRequ } 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 *AccessReviewsHistoryDefinitionsItemInstancesItemGenerateDownloadUriRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsHistoryDefinitionsItemInstancesItemGenerateDownloadUriRequestBuilder) { + return NewAccessReviewsHistoryDefinitionsItemInstancesItemGenerateDownloadUriRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_history_definitions_item_instances_request_builder.go b/identitygovernance/access_reviews_history_definitions_item_instances_request_builder.go index 59296aa7de7..566d38941ad 100644 --- a/identitygovernance/access_reviews_history_definitions_item_instances_request_builder.go +++ b/identitygovernance/access_reviews_history_definitions_item_instances_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsHistoryDefinitionsItemInstancesRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewHistoryInstanceIdString provides operations to manage the instances property of the microsoft.graph.accessReviewHistoryDefinition entity. -func (m *AccessReviewsHistoryDefinitionsItemInstancesRequestBuilder) ByAccessReviewHistoryInstanceIdString(accessReviewHistoryInstanceId string)(*AccessReviewsHistoryDefinitionsItemInstancesAccessReviewHistoryInstanceItemRequestBuilder) { +// ByAccessReviewHistoryInstanceId provides operations to manage the instances property of the microsoft.graph.accessReviewHistoryDefinition entity. +func (m *AccessReviewsHistoryDefinitionsItemInstancesRequestBuilder) ByAccessReviewHistoryInstanceId(accessReviewHistoryInstanceId string)(*AccessReviewsHistoryDefinitionsItemInstancesAccessReviewHistoryInstanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *AccessReviewsHistoryDefinitionsItemInstancesRequestBuilder) ToPostReque } 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 *AccessReviewsHistoryDefinitionsItemInstancesRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsHistoryDefinitionsItemInstancesRequestBuilder) { + return NewAccessReviewsHistoryDefinitionsItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_history_definitions_request_builder.go b/identitygovernance/access_reviews_history_definitions_request_builder.go index d8b4e40a3a8..0c18d7875f8 100644 --- a/identitygovernance/access_reviews_history_definitions_request_builder.go +++ b/identitygovernance/access_reviews_history_definitions_request_builder.go @@ -46,8 +46,8 @@ type AccessReviewsHistoryDefinitionsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewHistoryDefinitionIdString provides operations to manage the historyDefinitions property of the microsoft.graph.accessReviewSet entity. -func (m *AccessReviewsHistoryDefinitionsRequestBuilder) ByAccessReviewHistoryDefinitionIdString(accessReviewHistoryDefinitionId string)(*AccessReviewsHistoryDefinitionsAccessReviewHistoryDefinitionItemRequestBuilder) { +// ByAccessReviewHistoryDefinitionId provides operations to manage the historyDefinitions property of the microsoft.graph.accessReviewSet entity. +func (m *AccessReviewsHistoryDefinitionsRequestBuilder) ByAccessReviewHistoryDefinitionId(accessReviewHistoryDefinitionId string)(*AccessReviewsHistoryDefinitionsAccessReviewHistoryDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *AccessReviewsHistoryDefinitionsRequestBuilder) 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 *AccessReviewsHistoryDefinitionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsHistoryDefinitionsRequestBuilder) { + return NewAccessReviewsHistoryDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_policy_request_builder.go b/identitygovernance/access_reviews_policy_request_builder.go index 58cf689d4b3..34d661add2f 100644 --- a/identitygovernance/access_reviews_policy_request_builder.go +++ b/identitygovernance/access_reviews_policy_request_builder.go @@ -159,3 +159,7 @@ func (m *AccessReviewsPolicyRequestBuilder) ToPatchRequestInformation(ctx contex } 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 *AccessReviewsPolicyRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsPolicyRequestBuilder) { + return NewAccessReviewsPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/access_reviews_request_builder.go b/identitygovernance/access_reviews_request_builder.go index 92910b92a61..113236ee8fb 100644 --- a/identitygovernance/access_reviews_request_builder.go +++ b/identitygovernance/access_reviews_request_builder.go @@ -169,3 +169,7 @@ func (m *AccessReviewsRequestBuilder) ToPatchRequestInformation(ctx context.Cont } 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); +} diff --git a/identitygovernance/app_consent_app_consent_requests_app_consent_request_item_request_builder.go b/identitygovernance/app_consent_app_consent_requests_app_consent_request_item_request_builder.go index 4ac6ff5b452..6b1f8cf3613 100644 --- a/identitygovernance/app_consent_app_consent_requests_app_consent_request_item_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_app_consent_request_item_request_builder.go @@ -160,3 +160,7 @@ func (m *AppConsentAppConsentRequestsAppConsentRequestItemRequestBuilder) ToPatc func (m *AppConsentAppConsentRequestsAppConsentRequestItemRequestBuilder) UserConsentRequests()(*AppConsentAppConsentRequestsItemUserConsentRequestsRequestBuilder) { return NewAppConsentAppConsentRequestsItemUserConsentRequestsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *AppConsentAppConsentRequestsAppConsentRequestItemRequestBuilder) WithUrl(rawUrl string)(*AppConsentAppConsentRequestsAppConsentRequestItemRequestBuilder) { + return NewAppConsentAppConsentRequestsAppConsentRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/app_consent_app_consent_requests_count_request_builder.go b/identitygovernance/app_consent_app_consent_requests_count_request_builder.go index f37faaeb6cf..67c917c8420 100644 --- a/identitygovernance/app_consent_app_consent_requests_count_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AppConsentAppConsentRequestsCountRequestBuilder) 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 *AppConsentAppConsentRequestsCountRequestBuilder) WithUrl(rawUrl string)(*AppConsentAppConsentRequestsCountRequestBuilder) { + return NewAppConsentAppConsentRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/app_consent_app_consent_requests_filter_by_current_user_with_on_request_builder.go b/identitygovernance/app_consent_app_consent_requests_filter_by_current_user_with_on_request_builder.go index 17a9d9424bd..f43eff4005d 100644 --- a/identitygovernance/app_consent_app_consent_requests_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *AppConsentAppConsentRequestsFilterByCurrentUserWithOnRequestBuilder) To } 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 *AppConsentAppConsentRequestsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*AppConsentAppConsentRequestsFilterByCurrentUserWithOnRequestBuilder) { + return NewAppConsentAppConsentRequestsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_count_request_builder.go b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_count_request_builder.go index 2ce5e08aa7e..79f3d904651 100644 --- a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_count_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsCountRequestBuilder) } 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 *AppConsentAppConsentRequestsItemUserConsentRequestsCountRequestBuilder) WithUrl(rawUrl string)(*AppConsentAppConsentRequestsItemUserConsentRequestsCountRequestBuilder) { + return NewAppConsentAppConsentRequestsItemUserConsentRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go index 65d3577696c..ab505577a9e 100644 --- a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserW } 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 *AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilder) { + return NewAppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_request_builder.go b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_request_builder.go index 5e7ddbb6cd6..d55fc9b9478 100644 --- a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_request_builder.go @@ -157,3 +157,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalRequestB } 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 *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalRequestBuilder) WithUrl(rawUrl string)(*AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalRequestBuilder) { + return NewAppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go index 20fce3f2ae3..05876bc8fdc 100644 --- a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go @@ -159,3 +159,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApp } 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 *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilder) WithUrl(rawUrl string)(*AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilder) { + return NewAppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_count_request_builder.go b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_count_request_builder.go index 67ca65b783f..9027bee916c 100644 --- a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_count_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsCou } 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 *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsCountRequestBuilder) WithUrl(rawUrl string)(*AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsCountRequestBuilder) { + return NewAppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_request_builder.go b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_request_builder.go index 216a8b5b87a..60b4aadcec5 100644 --- a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_request_builder.go @@ -46,8 +46,8 @@ type AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByApprovalStepIdString provides operations to manage the steps property of the microsoft.graph.approval entity. -func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsRequestBuilder) ByApprovalStepIdString(approvalStepId string)(*AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilder) { +// ByApprovalStepId provides operations to manage the steps property of the microsoft.graph.approval entity. +func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsRequestBuilder) ByApprovalStepId(approvalStepId string)(*AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsReq } 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 *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsRequestBuilder) WithUrl(rawUrl string)(*AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsRequestBuilder) { + return NewAppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_request_builder.go b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_request_builder.go index 8b7b07c900f..b2bcb5c7d1c 100644 --- a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_request_builder.go @@ -46,8 +46,8 @@ type AppConsentAppConsentRequestsItemUserConsentRequestsRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserConsentRequestIdString provides operations to manage the userConsentRequests property of the microsoft.graph.appConsentRequest entity. -func (m *AppConsentAppConsentRequestsItemUserConsentRequestsRequestBuilder) ByUserConsentRequestIdString(userConsentRequestId string)(*AppConsentAppConsentRequestsItemUserConsentRequestsUserConsentRequestItemRequestBuilder) { +// ByUserConsentRequestId provides operations to manage the userConsentRequests property of the microsoft.graph.appConsentRequest entity. +func (m *AppConsentAppConsentRequestsItemUserConsentRequestsRequestBuilder) ByUserConsentRequestId(userConsentRequestId string)(*AppConsentAppConsentRequestsItemUserConsentRequestsUserConsentRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsRequestBuilder) ToPo } 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 *AppConsentAppConsentRequestsItemUserConsentRequestsRequestBuilder) WithUrl(rawUrl string)(*AppConsentAppConsentRequestsItemUserConsentRequestsRequestBuilder) { + return NewAppConsentAppConsentRequestsItemUserConsentRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_user_consent_request_item_request_builder.go b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_user_consent_request_item_request_builder.go index 19963c15252..c7f49c0de84 100644 --- a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_user_consent_request_item_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_user_consent_request_item_request_builder.go @@ -160,3 +160,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsUserConsentRequestIt } 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 *AppConsentAppConsentRequestsItemUserConsentRequestsUserConsentRequestItemRequestBuilder) WithUrl(rawUrl string)(*AppConsentAppConsentRequestsItemUserConsentRequestsUserConsentRequestItemRequestBuilder) { + return NewAppConsentAppConsentRequestsItemUserConsentRequestsUserConsentRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/app_consent_app_consent_requests_request_builder.go b/identitygovernance/app_consent_app_consent_requests_request_builder.go index 2295ade3c7f..de5fc0cf015 100644 --- a/identitygovernance/app_consent_app_consent_requests_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_request_builder.go @@ -46,8 +46,8 @@ type AppConsentAppConsentRequestsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAppConsentRequestIdString provides operations to manage the appConsentRequests property of the microsoft.graph.appConsentApprovalRoute entity. -func (m *AppConsentAppConsentRequestsRequestBuilder) ByAppConsentRequestIdString(appConsentRequestId string)(*AppConsentAppConsentRequestsAppConsentRequestItemRequestBuilder) { +// ByAppConsentRequestId provides operations to manage the appConsentRequests property of the microsoft.graph.appConsentApprovalRoute entity. +func (m *AppConsentAppConsentRequestsRequestBuilder) ByAppConsentRequestId(appConsentRequestId string)(*AppConsentAppConsentRequestsAppConsentRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *AppConsentAppConsentRequestsRequestBuilder) 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 *AppConsentAppConsentRequestsRequestBuilder) WithUrl(rawUrl string)(*AppConsentAppConsentRequestsRequestBuilder) { + return NewAppConsentAppConsentRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/app_consent_request_builder.go b/identitygovernance/app_consent_request_builder.go index 9934c8a412c..4a5966a6eef 100644 --- a/identitygovernance/app_consent_request_builder.go +++ b/identitygovernance/app_consent_request_builder.go @@ -157,3 +157,7 @@ func (m *AppConsentRequestBuilder) ToPatchRequestInformation(ctx context.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 *AppConsentRequestBuilder) WithUrl(rawUrl string)(*AppConsentRequestBuilder) { + return NewAppConsentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/b19d0704212902c832ef6018e0c3556c1f47d097bafa1e0817820d176b3eca94.go b/identitygovernance/b19d0704212902c832ef6018e0c3556c1f47d097bafa1e0817820d176b3eca94.go index b41094817df..0f1c03cd6e5 100644 --- a/identitygovernance/b19d0704212902c832ef6018e0c3556c1f47d097bafa1e0817820d176b3eca94.go +++ b/identitygovernance/b19d0704212902c832ef6018e0c3556c1f47d097bafa1e0817820d176b3eca94.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackage // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleIdString provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleIdString(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +// ByAccessPackageResourceRoleId provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/c040e26e1673589a37236970c1d2d11feb1901364c66d4a22775422679339a09.go b/identitygovernance/c040e26e1673589a37236970c1d2d11feb1901364c66d4a22775422679339a09.go index a32a73c6300..a00684ccf5c 100644 --- a/identitygovernance/c040e26e1673589a37236970c1d2d11feb1901364c66d4a22775422679339a09.go +++ b/identitygovernance/c040e26e1673589a37236970c1d2d11feb1901364c66d4a22775422679339a09.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/c4630721adbe180fd4ce847a4b60799d59f2b23d5a440ef70d49dccec55f56ce.go b/identitygovernance/c4630721adbe180fd4ce847a4b60799d59f2b23d5a440ef70d49dccec55f56ce.go index 4963c4cd1f4..fbfe746fbcf 100644 --- a/identitygovernance/c4630721adbe180fd4ce847a4b60799d59f2b23d5a440ef70d49dccec55f56ce.go +++ b/identitygovernance/c4630721adbe180fd4ce847a4b60799d59f2b23d5a440ef70d49dccec55f56ce.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/c6849fc58dacab8a1e64ee89152bdfbbfddb0d47d1e5cb4e97b455e5bc0bf104.go b/identitygovernance/c6849fc58dacab8a1e64ee89152bdfbbfddb0d47d1e5cb4e97b455e5bc0bf104.go index ef5e336cfb1..3d38230f5b4 100644 --- a/identitygovernance/c6849fc58dacab8a1e64ee89152bdfbbfddb0d47d1e5cb4e97b455e5bc0bf104.go +++ b/identitygovernance/c6849fc58dacab8a1e64ee89152bdfbbfddb0d47d1e5cb4e97b455e5bc0bf104.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/e05a600955fac6f317422cf5d14e91eb8fdd7873d592964902529907494d6fbf.go b/identitygovernance/e05a600955fac6f317422cf5d14e91eb8fdd7873d592964902529907494d6fbf.go index 736959d8cc1..8fcd197f359 100644 --- a/identitygovernance/e05a600955fac6f317422cf5d14e91eb8fdd7873d592964902529907494d6fbf.go +++ b/identitygovernance/e05a600955fac6f317422cf5d14e91eb8fdd7873d592964902529907494d6fbf.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRes // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleIdString provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleIdString(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +// ByAccessPackageResourceRoleId provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/e685b342f164f8b7cfe6ad9dac9db681e66b8600cf6f9875e4c16d0609e663f1.go b/identitygovernance/e685b342f164f8b7cfe6ad9dac9db681e66b8600cf6f9875e4c16d0609e663f1.go index 9f1a7b84806..709cfd6b566 100644 --- a/identitygovernance/e685b342f164f8b7cfe6ad9dac9db681e66b8600cf6f9875e4c16d0609e663f1.go +++ b/identitygovernance/e685b342f164f8b7cfe6ad9dac9db681e66b8600cf6f9875e4c16d0609e663f1.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_approvals_approval_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_approvals_approval_item_request_builder.go index 89c4d08c39e..a980f8296b5 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_approvals_approval_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_approvals_approval_item_request_builder.go @@ -160,3 +160,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsApprovalItemReques } 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 *EntitlementManagementAccessPackageAssignmentApprovalsApprovalItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentApprovalsApprovalItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentApprovalsApprovalItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_approvals_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_approvals_count_request_builder.go index c08e1668f26..f610c7c451f 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_approvals_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_approvals_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsCountRequestBuilde } 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 *EntitlementManagementAccessPackageAssignmentApprovalsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentApprovalsCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentApprovalsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_approvals_filter_by_current_user_with_on_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_approvals_filter_by_current_user_with_on_request_builder.go index cdc659a0004..f348bbcd530 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_approvals_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_approvals_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUse } 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 *EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_approval_step_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_approval_step_item_request_builder.go index 8b0877a535e..eb60ccb3773 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_approval_step_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_approval_step_item_request_builder.go @@ -159,3 +159,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalS } 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 *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_count_request_builder.go index 804663f916a..0cc405b4d3b 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsCountRequ } 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 *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentApprovalsItemStepsCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentApprovalsItemStepsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_request_builder.go index 9e3a1c54025..8490c5c3ad5 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentApprovalsItemStepsRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByApprovalStepIdString provides operations to manage the steps property of the microsoft.graph.approval entity. -func (m *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsRequestBuilder) ByApprovalStepIdString(approvalStepId string)(*EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) { +// ByApprovalStepId provides operations to manage the steps property of the microsoft.graph.approval entity. +func (m *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsRequestBuilder) ByApprovalStepId(approvalStepId string)(*EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsRequestBu } 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 *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentApprovalsItemStepsRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentApprovalsItemStepsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_approvals_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_approvals_request_builder.go index 448097d6d9d..611dc99ab5e 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_approvals_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_approvals_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentApprovalsRequestBuilderPostRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByApprovalIdString provides operations to manage the accessPackageAssignmentApprovals property of the microsoft.graph.entitlementManagement entity. -func (m *EntitlementManagementAccessPackageAssignmentApprovalsRequestBuilder) ByApprovalIdString(approvalId string)(*EntitlementManagementAccessPackageAssignmentApprovalsApprovalItemRequestBuilder) { +// ByApprovalId provides operations to manage the accessPackageAssignmentApprovals property of the microsoft.graph.entitlementManagement entity. +func (m *EntitlementManagementAccessPackageAssignmentApprovalsRequestBuilder) ByApprovalId(approvalId string)(*EntitlementManagementAccessPackageAssignmentApprovalsApprovalItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsRequestBuilder) To } 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 *EntitlementManagementAccessPackageAssignmentApprovalsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentApprovalsRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentApprovalsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go index fbd27306a87..97381ab3888 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go @@ -181,3 +181,8 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssign } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_count_request_builder.go index b38678034d6..0fd5ffd54d9 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesCountRequestBuilder } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentPoliciesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_item_access_package_catalog_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_item_access_package_catalog_request_builder.go index 0dbfe8beb7f..01270ca2d8b 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_item_access_package_catalog_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_item_access_package_catalog_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemAccessPackageCa } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemAccessPackageCatalogRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentPoliciesItemAccessPackageCatalogRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentPoliciesItemAccessPackageCatalogRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_item_access_package_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_item_access_package_request_builder.go index 7808e3f71bf..38b35c7893f 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_item_access_package_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_item_access_package_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemAccessPackageRe } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemAccessPackageRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentPoliciesItemAccessPackageRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentPoliciesItemAccessPackageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_count_request_builder.go index ce58e4b4d1e..ac8a9f22a45 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtension } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go index 87787634069..69995b3bb01 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go @@ -163,3 +163,8 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtension } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCustomExtensionHandlerItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCustomExtensionHandlerItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCustomExtensionHandlerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go index eba9dd639c9..dd9d19b6fd4 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtension } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionHandlersItemCustomExtensionRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionHandlersItemCustomExtensionRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionHandlersItemCustomExtensionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go index 7970e6940a3..0efaaad4af5 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionHand // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCustomExtensionHandlerIdString provides operations to manage the customExtensionHandlers property of the microsoft.graph.accessPackageAssignmentPolicy entity. +// ByCustomExtensionHandlerId provides operations to manage the customExtensionHandlers property of the microsoft.graph.accessPackageAssignmentPolicy entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionHandlersRequestBuilder) ByCustomExtensionHandlerIdString(customExtensionHandlerId string)(*EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCustomExtensionHandlerItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionHandlersRequestBuilder) ByCustomExtensionHandlerId(customExtensionHandlerId string)(*EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCustomExtensionHandlerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtension } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionHandlersRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionHandlersRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionHandlersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_count_request_builder.go index c17bc324fb6..3e60247e5ef 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtension } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go index 15ba2ad757e..389299d1caa 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go @@ -163,3 +163,8 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtension } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCustomExtensionStageSettingItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCustomExtensionStageSettingItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCustomExtensionStageSettingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go index 9c8424dee11..5d73e9e59c8 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilderGetQueryParameters indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. +// EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilderGetQueryParameters indicates the custom workflow extension that is executed at this stage. Nullable. Supports $expand. type EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewEntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionS urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilderInternal(urlParams, requestAdapter) } -// Get indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. +// Get indicates the custom workflow extension that is executed at this stage. Nullable. Supports $expand. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); @@ -60,7 +60,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtension } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable), nil } -// ToGetRequestInformation indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. +// ToGetRequestInformation indicates the custom workflow extension that is executed at this stage. Nullable. Supports $expand. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtension } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go index 38417f0e1ab..a4e68a2ae41 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStag // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCustomExtensionStageSettingIdString provides operations to manage the customExtensionStageSettings property of the microsoft.graph.accessPackageAssignmentPolicy entity. +// ByCustomExtensionStageSettingId provides operations to manage the customExtensionStageSettings property of the microsoft.graph.accessPackageAssignmentPolicy entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsRequestBuilder) ByCustomExtensionStageSettingIdString(customExtensionStageSettingId string)(*EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCustomExtensionStageSettingItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsRequestBuilder) ByCustomExtensionStageSettingId(customExtensionStageSettingId string)(*EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCustomExtensionStageSettingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtension } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_request_builder.go index 9eff773b492..9400ee6d42b 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilderPostReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageAssignmentPolicyIdString provides operations to manage the accessPackageAssignmentPolicies property of the microsoft.graph.entitlementManagement entity. +// ByAccessPackageAssignmentPolicyId provides operations to manage the accessPackageAssignmentPolicies property of the microsoft.graph.entitlementManagement entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilder) ByAccessPackageAssignmentPolicyIdString(accessPackageAssignmentPolicyId string)(*EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilder) ByAccessPackageAssignmentPolicyId(accessPackageAssignmentPolicyId string)(*EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,8 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilder) 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_access_package_assignment_request_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_access_package_assignment_request_item_request_builder.go index e1d752963da..1cc0390ee6f 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_access_package_assignment_request_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_access_package_assignment_request_item_request_builder.go @@ -189,3 +189,8 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssign } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_count_request_builder.go index dc094b6c59f..2e275350ef1 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsCountRequestBuilder } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentRequestsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentRequestsCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go index 212a44731b9..f5aa081b081 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go @@ -89,3 +89,8 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUser } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_item_access_package_assignment_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_item_access_package_assignment_request_builder.go index fb99f944c1e..d2b11cccb56 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_item_access_package_assignment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_item_access_package_assignment_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAs } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_item_access_package_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_item_access_package_request_builder.go index 82ef55cf4ea..dc7dcb6a8a6 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_item_access_package_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_item_access_package_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageRe } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_item_cancel_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_item_cancel_request_builder.go index 43ba63fa2f3..fd6d51e836b 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_item_cancel_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_item_cancel_request_builder.go @@ -30,7 +30,7 @@ func NewEntitlementManagementAccessPackageAssignmentRequestsItemCancelRequestBui urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageAssignmentRequestsItemCancelRequestBuilderInternal(urlParams, requestAdapter) } -// Post in Azure AD Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancellable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated. +// Post in Azure AD Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancelable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 // [Find more info here] // @@ -50,7 +50,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsItemCancelRequestBu } return nil } -// ToPostRequestInformation in Azure AD Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancellable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated. +// ToPostRequestInformation in Azure AD Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancelable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 func (m *EntitlementManagementAccessPackageAssignmentRequestsItemCancelRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentRequestsItemCancelRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -63,3 +63,8 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsItemCancelRequestBu } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentRequestsItemCancelRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentRequestsItemCancelRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentRequestsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_item_reprocess_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_item_reprocess_request_builder.go index 5d4a4b323e7..ba45e7cdd95 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_item_reprocess_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_item_reprocess_request_builder.go @@ -60,3 +60,8 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsItemReprocessReques } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentRequestsItemReprocessRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentRequestsItemReprocessRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentRequestsItemReprocessRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_item_requestor_connected_organization_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_item_requestor_connected_organization_request_builder.go index f7a02cbf7af..5b9b0c04df1 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_item_requestor_connected_organization_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_item_requestor_connected_organization_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsItemRequestorConnec } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentRequestsItemRequestorConnectedOrganizationRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentRequestsItemRequestorConnectedOrganizationRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentRequestsItemRequestorConnectedOrganizationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_item_requestor_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_item_requestor_request_builder.go index dcbd3305f1b..9cb682cc857 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_item_requestor_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_item_requestor_request_builder.go @@ -163,3 +163,8 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsItemRequestorReques } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentRequestsItemRequestorRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentRequestsItemRequestorRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentRequestsItemRequestorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_item_resume_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_item_resume_request_builder.go index 8280c441f1c..6d6d09c3e64 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_item_resume_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_item_resume_request_builder.go @@ -67,3 +67,8 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsItemResumeRequestBu } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentRequestsItemResumeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentRequestsItemResumeRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentRequestsItemResumeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_request_builder.go index 4c825430c87..78acd4cc3c2 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageAssignmentRequestsRequestBuilderPostReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageAssignmentRequestIdString provides operations to manage the accessPackageAssignmentRequests property of the microsoft.graph.entitlementManagement entity. +// ByAccessPackageAssignmentRequestId provides operations to manage the accessPackageAssignmentRequests property of the microsoft.graph.entitlementManagement entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageAssignmentRequestsRequestBuilder) ByAccessPackageAssignmentRequestIdString(accessPackageAssignmentRequestId string)(*EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageAssignmentRequestsRequestBuilder) ByAccessPackageAssignmentRequestId(accessPackageAssignmentRequestId string)(*EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -161,3 +161,8 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsRequestBuilder) 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentRequestsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentRequestsRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_access_package_assignment_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_access_package_assignment_resource_role_item_request_builder.go index e165c8dff93..86558066240 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_access_package_assignment_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_access_package_assignment_resource_role_item_request_builder.go @@ -172,3 +172,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesAccessPackageA } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesAccessPackageAssignmentResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesAccessPackageAssignmentResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesAccessPackageAssignmentResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_count_request_builder.go index 0052553ade5..fc156bab864 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesCountRequestBu } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_assignments_access_package_assignment_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_assignments_access_package_assignment_item_request_builder.go index eaa32b93b1b..a962155a9a8 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_assignments_access_package_assignment_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_assignments_access_package_assignment_item_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsAccessPackageAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsAccessPackageAssignmentItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsAccessPackageAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_assignments_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_assignments_count_request_builder.go index a2b5d6eebbb..f6d8f7bc1d2 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_assignments_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_assignments_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_assignments_request_builder.go index 7770d4229ec..2fec31629a9 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_assignments_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_assignments_request_builder.go @@ -39,8 +39,8 @@ type EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageA // Request query parameters QueryParameters *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsRequestBuilderGetQueryParameters } -// ByAccessPackageAssignmentIdString provides operations to manage the accessPackageAssignments property of the microsoft.graph.accessPackageAssignmentResourceRole entity. -func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsRequestBuilder) ByAccessPackageAssignmentIdString(accessPackageAssignmentId string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsAccessPackageAssignmentItemRequestBuilder) { +// ByAccessPackageAssignmentId provides operations to manage the accessPackageAssignments property of the microsoft.graph.accessPackageAssignmentResourceRole entity. +func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsRequestBuilder) ByAccessPackageAssignmentId(accessPackageAssignmentId string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsAccessPackageAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go index 2ec8e07eda0..182889136a0 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go index 37b398a142f..90575f956ff 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_count_request_builder.go index 1f2aa54cc26..74dee6dbbe0 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go index 371d15b4daa..ca01327d58c 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleIdString provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleIdString(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +// ByAccessPackageResourceRoleId provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index 4d332a3da17..c8ff35911dd 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_count_request_builder.go index 732c78ced1e..2dfd74e9065 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go index 0be0ffbff38..f9f42545ceb 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go index d950d7f022d..6df3826a248 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go index 0c02fe003c1..56da2a3e46c 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleIdString provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleIdString(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +// ByAccessPackageResourceRoleId provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go index a03e1c3471d..01da8e214ec 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go @@ -161,3 +161,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go index d5ae178bd76..a140854f0c4 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeIdString provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeIdString(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +// ByAccessPackageResourceScopeId provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_request_builder.go index 06efeae44d7..e5c8bbe3b2a 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_request_builder.go @@ -165,3 +165,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_request_builder.go index 06424715786..cec8168c945 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go index 5e245b37e05..1d0380a2966 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go index dc877fa0330..c6049d341ed 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_count_request_builder.go index 45f7267ad9a..8de2b5961a8 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go index 064ab4a9be6..a118729c2f1 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go index 17f187ccd31..1d92c91ec1f 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go index faea28aff18..ce4473b3980 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeIdString provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeIdString(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +// ByAccessPackageResourceScopeId provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go index 43462670aaf..d43d3c52dc9 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go @@ -161,3 +161,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go index 037ab8ffe26..9a39b67d0b9 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleIdString provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleIdString(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +// ByAccessPackageResourceRoleId provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index 444de3d833d..ec30218d557 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_count_request_builder.go index 925dcc8543e..b1bd5fd5d11 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go index 1564e66f562..d83bfa6b893 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeIdString provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeIdString(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +// ByAccessPackageResourceScopeId provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_request_builder.go index a5632da7df0..e0a5ebdd3f9 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_request_builder.go @@ -165,3 +165,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_request_builder.go index 5a4971d0ab3..20114329a48 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_subject_connected_organization_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_subject_connected_organization_request_builder.go index f54ff5a8719..42d8a665ba4 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_subject_connected_organization_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_subject_connected_organization_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageSubjectConnectedOrganizationRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageSubjectConnectedOrganizationRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageSubjectConnectedOrganizationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_subject_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_subject_request_builder.go index 8559aed2aba..45b540921a8 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_subject_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_subject_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageSubjectRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageSubjectRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_my_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_my_request_builder.go index 4d40a87ffcc..85715f20750 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_my_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_my_request_builder.go @@ -84,3 +84,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesMyRequestBuild } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesMyRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesMyRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesMyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_request_builder.go index 499238d6c91..b429a323239 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentResourceRolesRequestBuilderPost // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageAssignmentResourceRoleIdString provides operations to manage the accessPackageAssignmentResourceRoles property of the microsoft.graph.entitlementManagement entity. -func (m *EntitlementManagementAccessPackageAssignmentResourceRolesRequestBuilder) ByAccessPackageAssignmentResourceRoleIdString(accessPackageAssignmentResourceRoleId string)(*EntitlementManagementAccessPackageAssignmentResourceRolesAccessPackageAssignmentResourceRoleItemRequestBuilder) { +// ByAccessPackageAssignmentResourceRoleId provides operations to manage the accessPackageAssignmentResourceRoles property of the microsoft.graph.entitlementManagement entity. +func (m *EntitlementManagementAccessPackageAssignmentResourceRolesRequestBuilder) ByAccessPackageAssignmentResourceRoleId(accessPackageAssignmentResourceRoleId string)(*EntitlementManagementAccessPackageAssignmentResourceRolesAccessPackageAssignmentResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesRequestBuilder } 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 *EntitlementManagementAccessPackageAssignmentResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_access_package_assignment_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_access_package_assignment_item_request_builder.go index 622b78b3595..9c687b042e9 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_access_package_assignment_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_access_package_assignment_item_request_builder.go @@ -177,3 +177,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsAccessPackageAssignmentIte } 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 *EntitlementManagementAccessPackageAssignmentsAccessPackageAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsAccessPackageAssignmentItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsAccessPackageAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_additional_access_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_additional_access_request_builder.go index 50bdcf4a89c..cb36479d099 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_additional_access_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_additional_access_request_builder.go @@ -84,3 +84,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsAdditionalAccessRequestBui } 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 *EntitlementManagementAccessPackageAssignmentsAdditionalAccessRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsAdditionalAccessRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsAdditionalAccessRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_additional_access_with_access_package_id_with_incompatible_access_package_id_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_additional_access_with_access_package_id_with_incompatible_access_package_id_request_builder.go index 696f4bb101f..b28db46a971 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_additional_access_with_access_package_id_with_incompatible_access_package_id_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_additional_access_with_access_package_id_with_incompatible_access_package_id_request_builder.go @@ -90,3 +90,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsAdditionalAccessWithAccess } 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 *EntitlementManagementAccessPackageAssignmentsAdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsAdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsAdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_count_request_builder.go index 4ce5135e5ed..298a29f7913 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsCountRequestBuilder) ToGet } 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 *EntitlementManagementAccessPackageAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_filter_by_current_user_with_on_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_filter_by_current_user_with_on_request_builder.go index bfac6750f85..aa0f76e5ea7 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnR } 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 *EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go index a4dcbd5c21b..689e2ae5f6d 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go @@ -175,3 +175,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_count_request_builder.go index eb13011f3a9..721473f5b7b 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_access_package_catalog_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_access_package_catalog_request_builder.go index 8d72c6bd950..fbd9aa52daa 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_access_package_catalog_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_access_package_catalog_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemAccessPackageCatalogRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemAccessPackageCatalogRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemAccessPackageCatalogRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_access_package_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_access_package_request_builder.go index db931103e3e..cea565fd38a 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_access_package_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_access_package_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemAccessPackageRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemAccessPackageRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemAccessPackageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_count_request_builder.go index 82a095fee12..3b70a1519a1 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go index 3c8841bdbb8..b30ccb1dc77 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go @@ -163,3 +163,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCustomExtensionHandlerItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCustomExtensionHandlerItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCustomExtensionHandlerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go index ee926ed6dd3..6d9468a74cb 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionHandlersItemCustomExtensionRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionHandlersItemCustomExtensionRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionHandlersItemCustomExtensionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go index 56f88e90e44..33b21469ad7 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackage // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCustomExtensionHandlerIdString provides operations to manage the customExtensionHandlers property of the microsoft.graph.accessPackageAssignmentPolicy entity. +// ByCustomExtensionHandlerId provides operations to manage the customExtensionHandlers property of the microsoft.graph.accessPackageAssignmentPolicy entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionHandlersRequestBuilder) ByCustomExtensionHandlerIdString(customExtensionHandlerId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCustomExtensionHandlerItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionHandlersRequestBuilder) ByCustomExtensionHandlerId(customExtensionHandlerId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCustomExtensionHandlerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionHandlersRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionHandlersRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionHandlersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_count_request_builder.go index 59793e6378b..39876d10588 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go index 6457bc44a39..614816f1eed 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go @@ -163,3 +163,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCustomExtensionStageSettingItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCustomExtensionStageSettingItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCustomExtensionStageSettingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go index d712e4ac01d..1dcde0927b8 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilderGetQueryParameters indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. +// EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilderGetQueryParameters indicates the custom workflow extension that is executed at this stage. Nullable. Supports $expand. type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPack urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilderInternal(urlParams, requestAdapter) } -// Get indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. +// Get indicates the custom workflow extension that is executed at this stage. Nullable. Supports $expand. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); @@ -60,7 +60,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable), nil } -// ToGetRequestInformation indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. +// ToGetRequestInformation indicates the custom workflow extension that is executed at this stage. Nullable. Supports $expand. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go index 09a61c4fa0e..bbd4be561dc 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackage // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCustomExtensionStageSettingIdString provides operations to manage the customExtensionStageSettings property of the microsoft.graph.accessPackageAssignmentPolicy entity. +// ByCustomExtensionStageSettingId provides operations to manage the customExtensionStageSettings property of the microsoft.graph.accessPackageAssignmentPolicy entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsRequestBuilder) ByCustomExtensionStageSettingIdString(customExtensionStageSettingId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCustomExtensionStageSettingItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsRequestBuilder) ByCustomExtensionStageSettingId(customExtensionStageSettingId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCustomExtensionStageSettingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_request_builder.go index 23bd30212d9..a3da8ff442c 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackage // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageAssignmentPolicyIdString provides operations to manage the accessPackageAssignmentPolicies property of the microsoft.graph.accessPackage entity. +// ByAccessPackageAssignmentPolicyId provides operations to manage the accessPackageAssignmentPolicies property of the microsoft.graph.accessPackage entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesRequestBuilder) ByAccessPackageAssignmentPolicyIdString(accessPackageAssignmentPolicyId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesRequestBuilder) ByAccessPackageAssignmentPolicyId(accessPackageAssignmentPolicyId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageAssignmentPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_catalog_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_catalog_request_builder.go index 84f860342da..2c8ecec1070 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_catalog_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_catalog_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageCatalogRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageCatalogRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageCatalogRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go index deade846ca8..6d9ac7b9253 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go @@ -161,3 +161,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_count_request_builder.go index f280f920b04..85c7bf31a0d 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go index 0b18c835f54..8f026f42674 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go index 59538c5707e..02b1c8b7e38 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_count_request_builder.go index 1975e9b5bb7..bde9e712e3f 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go index 944924f74f7..06d7f90eac2 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackage // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleIdString provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleIdString(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +// ByAccessPackageResourceRoleId provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index 8e40f580d51..77afcebf4f8 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_count_request_builder.go index e5f6e818508..8be7cf04fe8 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go index 4ac3b819c73..8c7bac0b5a5 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go @@ -161,3 +161,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go index f6257ec83e9..e77add5ed35 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackage // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeIdString provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeIdString(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +// ByAccessPackageResourceScopeId provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go index 91d04201090..2470ad9b704 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go @@ -165,3 +165,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go index 3d3c48e7080..712d509cc98 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go index df7a32f7c20..cbbe23649f0 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go index 54871260224..04f8f38c821 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_count_request_builder.go index e2dba836d4c..6059b3067c2 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go index 0914396d629..abdf7869dd8 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go @@ -161,3 +161,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go index dda2d32e5e9..368099f9c32 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackage // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleIdString provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleIdString(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +// ByAccessPackageResourceRoleId provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index 858310d093a..1af468d43de 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_count_request_builder.go index 58fad5c5af1..b4ceb825b33 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go index 3f390a577f1..fd43e94fb73 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackage // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeIdString provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeIdString(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +// ByAccessPackageResourceScopeId provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go index 90414c95563..b6348328acb 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go @@ -165,3 +165,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go index 11481d1bd2c..9d862e69c8e 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_request_builder.go index 63d4a95f9f2..27f538dedfb 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackage // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleScopeIdString provides operations to manage the accessPackageResourceRoleScopes property of the microsoft.graph.accessPackage entity. -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesRequestBuilder) ByAccessPackageResourceRoleScopeIdString(accessPackageResourceRoleScopeId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder) { +// ByAccessPackageResourceRoleScopeId provides operations to manage the accessPackageResourceRoleScopes property of the microsoft.graph.accessPackage entity. +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesRequestBuilder) ByAccessPackageResourceRoleScopeId(accessPackageResourceRoleScopeId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_access_package_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_access_package_item_request_builder.go index 8e15e93f240..742ae2c8942 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_access_package_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_access_package_item_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithAccessPackageItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithAccessPackageItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithAccessPackageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_count_request_builder.go index 28ca7159dca..fb7bfa93977 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_request_builder.go index 77b0d671843..3bf53a6204f 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_request_builder.go @@ -39,8 +39,8 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackage // Request query parameters QueryParameters *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithRequestBuilderGetQueryParameters } -// ByAccessPackageIdString provides operations to manage the accessPackagesIncompatibleWith property of the microsoft.graph.accessPackage entity. -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithRequestBuilder) ByAccessPackageIdString(accessPackageId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithAccessPackageItemRequestBuilder) { +// ByAccessPackageId provides operations to manage the accessPackagesIncompatibleWith property of the microsoft.graph.accessPackage entity. +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithRequestBuilder) ByAccessPackageId(accessPackageId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithAccessPackageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_access_package_catalog_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_access_package_catalog_request_builder.go index 437d0675fad..2ca679b4542 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_access_package_catalog_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_access_package_catalog_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyAccessPackageCatalogRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyAccessPackageCatalogRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyAccessPackageCatalogRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_access_package_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_access_package_request_builder.go index abfaca0e7d2..21d538679ab 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_access_package_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_access_package_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyAccessPackageRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyAccessPackageRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyAccessPackageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_count_request_builder.go index 87c8c264e14..092c04541a5 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionHandlersCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionHandlersCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionHandlersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_custom_extension_handler_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_custom_extension_handler_item_request_builder.go index 0565523fd96..49ef6fe33ce 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_custom_extension_handler_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_custom_extension_handler_item_request_builder.go @@ -163,3 +163,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionHandlersCustomExtensionHandlerItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionHandlersCustomExtensionHandlerItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionHandlersCustomExtensionHandlerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_item_custom_extension_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_item_custom_extension_request_builder.go index 58463ab0feb..33601e7acfb 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_item_custom_extension_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_item_custom_extension_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionHandlersItemCustomExtensionRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionHandlersItemCustomExtensionRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionHandlersItemCustomExtensionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_request_builder.go index f81a7b266ea..d05dfed8581 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPol // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCustomExtensionHandlerIdString provides operations to manage the customExtensionHandlers property of the microsoft.graph.accessPackageAssignmentPolicy entity. +// ByCustomExtensionHandlerId provides operations to manage the customExtensionHandlers property of the microsoft.graph.accessPackageAssignmentPolicy entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionHandlersRequestBuilder) ByCustomExtensionHandlerIdString(customExtensionHandlerId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionHandlersCustomExtensionHandlerItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionHandlersRequestBuilder) ByCustomExtensionHandlerId(customExtensionHandlerId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionHandlersCustomExtensionHandlerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionHandlersRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionHandlersRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionHandlersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_count_request_builder.go index f82566458af..9da04fb943c 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go index c5eb992e1af..046378dff2a 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go @@ -163,3 +163,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsCustomExtensionStageSettingItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsCustomExtensionStageSettingItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsCustomExtensionStageSettingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_item_custom_extension_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_item_custom_extension_request_builder.go index 5e829f60ff8..a39077737b9 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_item_custom_extension_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_item_custom_extension_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsItemCustomExtensionRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsItemCustomExtensionRequestBuilderGetQueryParameters indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. +// EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsItemCustomExtensionRequestBuilderGetQueryParameters indicates the custom workflow extension that is executed at this stage. Nullable. Supports $expand. type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsItemCustomExtensionRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignment urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsItemCustomExtensionRequestBuilderInternal(urlParams, requestAdapter) } -// Get indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. +// Get indicates the custom workflow extension that is executed at this stage. Nullable. Supports $expand. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsItemCustomExtensionRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsItemCustomExtensionRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); @@ -60,7 +60,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable), nil } -// ToGetRequestInformation indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. +// ToGetRequestInformation indicates the custom workflow extension that is executed at this stage. Nullable. Supports $expand. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsItemCustomExtensionRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsItemCustomExtensionRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsItemCustomExtensionRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsItemCustomExtensionRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsItemCustomExtensionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_request_builder.go index b9c14bb0ac5..3e1292b65a6 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPol // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCustomExtensionStageSettingIdString provides operations to manage the customExtensionStageSettings property of the microsoft.graph.accessPackageAssignmentPolicy entity. +// ByCustomExtensionStageSettingId provides operations to manage the customExtensionStageSettings property of the microsoft.graph.accessPackageAssignmentPolicy entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsRequestBuilder) ByCustomExtensionStageSettingIdString(customExtensionStageSettingId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsCustomExtensionStageSettingItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsRequestBuilder) ByCustomExtensionStageSettingId(customExtensionStageSettingId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsCustomExtensionStageSettingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyCustomExtensionStageSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_request_builder.go index 9d47b8b1af0..a1877578fd9 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_request_builder.go @@ -175,3 +175,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_access_package_assignment_request_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_access_package_assignment_request_item_request_builder.go index d6085bec507..45d2c03d312 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_access_package_assignment_request_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_access_package_assignment_request_item_request_builder.go @@ -183,3 +183,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_count_request_builder.go index fc7d16e8678..fc462b8c9e4 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go index d04778356b0..6ceff6994e9 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go @@ -89,3 +89,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_access_package_assignment_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_access_package_assignment_request_builder.go index 14b17db91a4..1933c017899 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_access_package_assignment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_access_package_assignment_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_access_package_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_access_package_request_builder.go index 0bf2959fd9d..87cfb7166be 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_access_package_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_access_package_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemAccessPackageRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemAccessPackageRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemAccessPackageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_cancel_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_cancel_request_builder.go index 66151d488b2..4eaa581b1ed 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_cancel_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_cancel_request_builder.go @@ -30,7 +30,7 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignment urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemCancelRequestBuilderInternal(urlParams, requestAdapter) } -// Post in Azure AD Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancellable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated. +// Post in Azure AD Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancelable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 // [Find more info here] // @@ -50,7 +50,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } return nil } -// ToPostRequestInformation in Azure AD Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancellable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated. +// ToPostRequestInformation in Azure AD Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancelable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemCancelRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemCancelRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -63,3 +63,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemCancelRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemCancelRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_reprocess_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_reprocess_request_builder.go index 142d46af1d1..363992088d6 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_reprocess_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_reprocess_request_builder.go @@ -60,3 +60,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemReprocessRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemReprocessRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemReprocessRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_requestor_connected_organization_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_requestor_connected_organization_request_builder.go index 6ce8d1a2520..e1a7db54876 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_requestor_connected_organization_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_requestor_connected_organization_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemRequestorConnectedOrganizationRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemRequestorConnectedOrganizationRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemRequestorConnectedOrganizationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_requestor_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_requestor_request_builder.go index 8fe7190a1c2..291628e2a66 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_requestor_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_requestor_request_builder.go @@ -163,3 +163,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemRequestorRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemRequestorRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemRequestorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_resume_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_resume_request_builder.go index 075baf69c15..db2d3c1015b 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_resume_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_resume_request_builder.go @@ -67,3 +67,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemResumeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemResumeRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemResumeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_request_builder.go index ef6ae7278ca..58ceaa00e17 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageAssignmentRequestIdString provides operations to manage the accessPackageAssignmentRequests property of the microsoft.graph.accessPackageAssignment entity. +// ByAccessPackageAssignmentRequestId provides operations to manage the accessPackageAssignmentRequests property of the microsoft.graph.accessPackageAssignment entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsRequestBuilder) ByAccessPackageAssignmentRequestIdString(accessPackageAssignmentRequestId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsRequestBuilder) ByAccessPackageAssignmentRequestId(accessPackageAssignmentRequestId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_access_package_assignment_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_access_package_assignment_resource_role_item_request_builder.go index 8fae2d19e11..603288f0401 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_access_package_assignment_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_access_package_assignment_resource_role_item_request_builder.go @@ -169,3 +169,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesAccessPackageAssignmentResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesAccessPackageAssignmentResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesAccessPackageAssignmentResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_count_request_builder.go index f47c0cea56b..80678201742 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_assignments_access_package_assignment_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_assignments_access_package_assignment_item_request_builder.go index 6ea23b83410..612740fdc69 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_assignments_access_package_assignment_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_assignments_access_package_assignment_item_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsAccessPackageAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsAccessPackageAssignmentItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsAccessPackageAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_assignments_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_assignments_count_request_builder.go index 82a27df4885..ca3f39cfbb6 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_assignments_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_assignments_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_assignments_request_builder.go index 359dc0b8280..466e0f1680b 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_assignments_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_assignments_request_builder.go @@ -39,8 +39,8 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRes // Request query parameters QueryParameters *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsRequestBuilderGetQueryParameters } -// ByAccessPackageAssignmentId1String provides operations to manage the accessPackageAssignments property of the microsoft.graph.accessPackageAssignmentResourceRole entity. -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsRequestBuilder) ByAccessPackageAssignmentId1String(accessPackageAssignmentId1 string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsAccessPackageAssignmentItemRequestBuilder) { +// ByAccessPackageAssignmentId1 provides operations to manage the accessPackageAssignments property of the microsoft.graph.accessPackageAssignmentResourceRole entity. +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsRequestBuilder) ByAccessPackageAssignmentId1(accessPackageAssignmentId1 string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsAccessPackageAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go index 4df640daabb..aeccd7cf524 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go index 6af0d8fcfe1..d3bf6b47fa1 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_count_request_builder.go index 224554561d0..1f783d8fded 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go index fc5494ae478..351649100dc 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRes // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleIdString provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleIdString(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +// ByAccessPackageResourceRoleId provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index ab54cdeddfb..60199a733b8 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_count_request_builder.go index 145b0bd2642..4094679d6a1 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go index 22875e2a171..6e8c14f237c 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go @@ -161,3 +161,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go index f8270db8a84..5274ac899f7 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRes // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeIdString provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeIdString(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +// ByAccessPackageResourceScopeId provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_request_builder.go index 7533dfdabd0..ad085338645 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_request_builder.go @@ -165,3 +165,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_request_builder.go index dc0eb8b3586..6cfc792f8b7 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go index 22f23dad16b..7d03618da31 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go index 3bb63dde52e..8d412181368 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_count_request_builder.go index af6eae76cf7..940f759ed09 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go index 09bf04b3be5..adb28e1e284 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go @@ -161,3 +161,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go index e20c71a8d4f..f0a05db1754 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRes // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleIdString provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleIdString(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +// ByAccessPackageResourceRoleId provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index 65b51a825d1..6df2720ba5f 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_count_request_builder.go index 84f2d214c8f..11cb2b22242 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go index cb5e3d5a986..ca6eeba963f 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRes // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeIdString provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeIdString(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +// ByAccessPackageResourceScopeId provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_request_builder.go index 3d8850a0fc2..c7573017c9a 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_request_builder.go @@ -165,3 +165,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_request_builder.go index 042fdc72013..e493b0320a6 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_subject_connected_organization_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_subject_connected_organization_request_builder.go index bf9dbee399d..a6fb1d66df8 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_subject_connected_organization_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_subject_connected_organization_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageSubjectConnectedOrganizationRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageSubjectConnectedOrganizationRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageSubjectConnectedOrganizationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_subject_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_subject_request_builder.go index e881d17058a..9d6533b7d1e 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_subject_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_subject_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageSubjectRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageSubjectRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_my_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_my_request_builder.go index 15347fe733e..051ffee1dd5 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_my_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_my_request_builder.go @@ -84,3 +84,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesMyRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesMyRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesMyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_request_builder.go index 7047964f43c..1d4e28375e3 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRes // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageAssignmentResourceRoleIdString provides operations to manage the accessPackageAssignmentResourceRoles property of the microsoft.graph.accessPackageAssignment entity. -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesRequestBuilder) ByAccessPackageAssignmentResourceRoleIdString(accessPackageAssignmentResourceRoleId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesAccessPackageAssignmentResourceRoleItemRequestBuilder) { +// ByAccessPackageAssignmentResourceRoleId provides operations to manage the accessPackageAssignmentResourceRoles property of the microsoft.graph.accessPackageAssignment entity. +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesRequestBuilder) ByAccessPackageAssignmentResourceRoleId(accessPackageAssignmentResourceRoleId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesAccessPackageAssignmentResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_get_applicable_policy_requirements_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_get_applicable_policy_requirements_request_builder.go index 605d50bc2da..2e15c4605e1 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_get_applicable_policy_requirements_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_get_applicable_policy_requirements_request_builder.go @@ -65,3 +65,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageGetApplic } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageGetApplicablePolicyRequirementsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageGetApplicablePolicyRequirementsRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageGetApplicablePolicyRequirementsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_count_request_builder.go index e93d34a8ac1..71f3fdf8243 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_item_ref_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_item_ref_request_builder.go index cd30f80b3b2..013cae43aac 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_item_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesItemRefRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesItemRefRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_ref_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_ref_request_builder.go index bdfea1381df..4133b5d1316 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_request_builder.go index 9853c66d8c9..3dd749cebf5 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_request_builder.go @@ -39,8 +39,8 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleA // Request query parameters QueryParameters *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRequestBuilderGetQueryParameters } -// ByAccessPackageIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.identityGovernance.entitlementManagement.accessPackageAssignments.item.accessPackage.incompatibleAccessPackages.item collection -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRequestBuilder) ByAccessPackageIdString(accessPackageId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesAccessPackageItemRequestBuilder) { +// ByAccessPackageId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.identityGovernance.entitlementManagement.accessPackageAssignments.item.accessPackage.incompatibleAccessPackages.item collection +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRequestBuilder) ByAccessPackageId(accessPackageId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesAccessPackageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_count_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_count_request_builder.go index 4647f560d87..0f2b378fb77 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsCountRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_item_ref_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_item_ref_request_builder.go index 3c362a98350..5440182c09f 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_item_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsItemRefRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsItemRefRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_ref_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_ref_request_builder.go index dd083d9b8d9..331c15a28e4 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_request_builder.go index b54498caa96..ebd3fd4484a 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_request_builder.go @@ -39,8 +39,8 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleG // Request query parameters QueryParameters *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRequestBuilderGetQueryParameters } -// ByGroupIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.identityGovernance.entitlementManagement.accessPackageAssignments.item.accessPackage.incompatibleGroups.item collection -func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRequestBuilder) ByGroupIdString(groupId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsGroupItemRequestBuilder) { +// ByGroupId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.identityGovernance.entitlementManagement.accessPackageAssignments.item.accessPackage.incompatibleGroups.item collection +func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRequestBuilder) ByGroupId(groupId string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_move_to_catalog_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_move_to_catalog_request_builder.go index a6f383e2a2e..8372a2e3382 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_move_to_catalog_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_move_to_catalog_request_builder.go @@ -65,3 +65,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageMoveToCat } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageMoveToCatalogRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageMoveToCatalogRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageMoveToCatalogRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_request_builder.go index e3cd2ccdca1..a426d08d6d6 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_request_builder.go @@ -185,3 +185,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageRequestBu } 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 *EntitlementManagementAccessPackageAssignmentsItemAccessPackageRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_reprocess_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_reprocess_request_builder.go index fd81bf121a0..4d1b7f7e281 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_reprocess_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_reprocess_request_builder.go @@ -58,3 +58,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemReprocessRequestBuilde } 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 *EntitlementManagementAccessPackageAssignmentsItemReprocessRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemReprocessRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemReprocessRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_target_connected_organization_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_target_connected_organization_request_builder.go index e098d7fae18..6e4e8aa608c 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_target_connected_organization_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_target_connected_organization_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemTargetConnectedOrganiz } 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 *EntitlementManagementAccessPackageAssignmentsItemTargetConnectedOrganizationRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemTargetConnectedOrganizationRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemTargetConnectedOrganizationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_target_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_target_request_builder.go index d3c6e194aa5..13ef5ce65b3 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_target_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_target_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemTargetRequestBuilder) } 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 *EntitlementManagementAccessPackageAssignmentsItemTargetRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsItemTargetRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsItemTargetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_assignments_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_request_builder.go index c4527040fea..83b61c8e9a2 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_request_builder.go @@ -54,8 +54,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsRequestBuilder) Additional func (m *EntitlementManagementAccessPackageAssignmentsRequestBuilder) AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId(accessPackageId *string, incompatibleAccessPackageId *string)(*EntitlementManagementAccessPackageAssignmentsAdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder) { return NewEntitlementManagementAccessPackageAssignmentsAdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, accessPackageId, incompatibleAccessPackageId) } -// ByAccessPackageAssignmentIdString provides operations to manage the accessPackageAssignments property of the microsoft.graph.entitlementManagement entity. -func (m *EntitlementManagementAccessPackageAssignmentsRequestBuilder) ByAccessPackageAssignmentIdString(accessPackageAssignmentId string)(*EntitlementManagementAccessPackageAssignmentsAccessPackageAssignmentItemRequestBuilder) { +// ByAccessPackageAssignmentId provides operations to manage the accessPackageAssignments property of the microsoft.graph.entitlementManagement entity. +func (m *EntitlementManagementAccessPackageAssignmentsRequestBuilder) ByAccessPackageAssignmentId(accessPackageAssignmentId string)(*EntitlementManagementAccessPackageAssignmentsAccessPackageAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -160,3 +160,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsRequestBuilder) ToPostRequ } 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 *EntitlementManagementAccessPackageAssignmentsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageAssignmentsRequestBuilder) { + return NewEntitlementManagementAccessPackageAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_access_package_catalog_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_access_package_catalog_item_request_builder.go index 6eca46098ab..65d1d46fd68 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_access_package_catalog_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_access_package_catalog_item_request_builder.go @@ -192,3 +192,8 @@ func (m *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemReque } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_count_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_count_request_builder.go index 24826bad877..b75431b7852 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageCatalogsCountRequestBuilder) ToGetReq } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsCountRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_count_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_count_request_builder.go index 17deb773f24..abc8af0f07d 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkfl } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCountRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_custom_callout_extension_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_custom_callout_extension_item_request_builder.go index 17f8c4e3817..6c86c31f940 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_custom_callout_extension_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_custom_callout_extension_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowEx // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetQueryParameters read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. +// EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetQueryParameters read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. type EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -71,11 +71,11 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkfl } return nil } -// Get read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. +// Get read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-get?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -130,7 +130,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkfl } return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. +// ToGetRequestInformation read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -165,3 +165,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkfl } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_request_builder.go index fcf894e0415..7fd1d1e145b 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowEx // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCustomCalloutExtensionIdString provides operations to manage the accessPackageCustomWorkflowExtensions property of the microsoft.graph.accessPackageCatalog entity. +// ByCustomCalloutExtensionId provides operations to manage the accessPackageCustomWorkflowExtensions property of the microsoft.graph.accessPackageCatalog entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsRequestBuilder) ByCustomCalloutExtensionIdString(customCalloutExtensionId string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsRequestBuilder) ByCustomCalloutExtensionId(customCalloutExtensionId string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkfl } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go index 00cf93a3526..6760868a930 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -163,3 +163,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_count_request_builder.go index d87abe2a1b9..7f957afbc3f 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go index cb70755f090..aaf83e99c80 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go index f40ded006df..287e6322742 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -159,3 +159,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_roles_count_request_builder.go index bea299df21c..952a53c4672 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_roles_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_roles_request_builder.go index c46effa5cb6..96750491a32 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_roles_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleId1String provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. +// ByAccessPackageResourceRoleId1 provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId1String(accessPackageResourceRoleId1 string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId1(accessPackageResourceRoleId1 string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index 4d6d371cb19..6cf8aa8801e 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -163,3 +163,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go index 76079d70b83..9a04880729c 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go index 0f59e849dc6..e9c5df2edbb 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go index 878f9302530..c9f74b6a4a9 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -159,3 +159,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go index 0c55fea1f9a..95cec632724 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go index fbbf0baf3ea..2c07f041825 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleId1String provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. +// ByAccessPackageResourceRoleId1 provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId1String(accessPackageResourceRoleId1 string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId1(accessPackageResourceRoleId1 string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go index 1446abee056..46b5935eaa8 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go @@ -167,3 +167,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go index 7b1db0bfdb3..7041b7ff650 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeIdString provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. +// ByAccessPackageResourceScopeId provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeIdString(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_request_builder.go index 154fb314155..fba84b74948 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_request_builder.go @@ -171,3 +171,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_request_builder.go index d3d1556071a..8ba4dddf9d0 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleIdString provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageCatalog entity. +// ByAccessPackageResourceRoleId provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageCatalog entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleIdString(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index 6544c14d95b..6edfd85f270 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -163,3 +163,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_count_request_builder.go index 3b595879de6..2c92cae34e0 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go index 6aa81889fe5..33b43a32ab3 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go index 66ee7048933..c865a2fc9dd 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -163,3 +163,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go index ae0eaa047c1..2f138adf15f 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go index 20d2f048ee3..4901ed6600a 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go index ed53772f55f..9f5f8cba7c8 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go index 249622f8836..3f455c9bf2a 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeId1String provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. +// ByAccessPackageResourceScopeId1 provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId1String(accessPackageResourceScopeId1 string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId1(accessPackageResourceScopeId1 string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go index 965da66e517..07dddac7f4a 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go @@ -167,3 +167,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go index 7b01f4ee854..097dc5b603b 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleIdString provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. +// ByAccessPackageResourceRoleId provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleIdString(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index 6f7502fc8f9..431efa01fde 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -159,3 +159,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_scopes_count_request_builder.go index 139a8b659c1..b94f75deed9 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_scopes_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_scopes_request_builder.go index 40e34206705..247e6cd1425 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_scopes_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeId1String provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. +// ByAccessPackageResourceScopeId1 provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId1String(accessPackageResourceScopeId1 string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId1(accessPackageResourceScopeId1 string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_request_builder.go index 84af0ecdfab..b9313ae5456 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_request_builder.go @@ -171,3 +171,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_request_builder.go index f37b5c28351..cb636ef91fa 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeIdString provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageCatalog entity. +// ByAccessPackageResourceScopeId provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageCatalog entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeIdString(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_access_package_resource_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_access_package_resource_item_request_builder.go index 88103171743..05be1a31cec 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_access_package_resource_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_access_package_resource_item_request_builder.go @@ -171,3 +171,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesAcc } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesAccessPackageResourceItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesAccessPackageResourceItemRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesAccessPackageResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_count_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_count_request_builder.go index c4338509233..c9bd379a27a 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesCou } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_environment_request_builder.go index 179c9bf1816..16e18863879 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_environment_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go index c3e1c5c32aa..24e2a826796 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -163,3 +163,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_count_request_builder.go index f043b0b7e90..c08d6e274a3 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go index 7c224fd64bd..79beaa32c1a 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index 9aa2da0a642..0bf5158ea4b 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -163,3 +163,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go index e9f5c346287..a58875c5539 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go index edf837b1d62..750b4abd8fb 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go @@ -163,3 +163,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go index bf891a1a678..63d288f8e67 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAcc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeIdString provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. +// ByAccessPackageResourceScopeId provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeIdString(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_request_builder.go index 79d3b0db107..c6ad63fe117 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_request_builder.go @@ -167,3 +167,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_request_builder.go index 2b0d9f032f5..9ace367eaf9 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAcc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleIdString provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. +// ByAccessPackageResourceRoleId provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleIdString(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index 00e0311b711..555fe6fa1ea 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -163,3 +163,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_count_request_builder.go index 210eeb605eb..7f610918fd4 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go index 45ddd38c7ac..3473ea868d8 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go index e874bf55e0e..be396b76151 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -163,3 +163,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go index c6f0c46eb83..66121e9b0b9 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go index 5ccd5b8b987..a95d2e4f093 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go @@ -163,3 +163,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go index cdbbb623cb9..3bf51ce361b 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAcc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleIdString provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. +// ByAccessPackageResourceRoleId provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleIdString(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_request_builder.go index e85fecbf300..e44a97c0754 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_request_builder.go @@ -167,3 +167,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_request_builder.go index 5c7c8a4dc2a..813543a65d9 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAcc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeIdString provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. +// ByAccessPackageResourceScopeId provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeIdString(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_request_builder.go index 8a39c94ab94..4830e0ac722 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceIdString provides operations to manage the accessPackageResources property of the microsoft.graph.accessPackageCatalog entity. +// ByAccessPackageResourceId provides operations to manage the accessPackageResources property of the microsoft.graph.accessPackageCatalog entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesRequestBuilder) ByAccessPackageResourceIdString(accessPackageResourceId string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesAccessPackageResourceItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesRequestBuilder) ByAccessPackageResourceId(accessPackageResourceId string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesAccessPackageResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesReq } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_packages_access_package_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_packages_access_package_item_request_builder.go index 4ee264dc98f..efa47b240fc 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_packages_access_package_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_packages_access_package_item_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackagesAccessPacka } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackagesAccessPackageItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackagesAccessPackageItemRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackagesAccessPackageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_packages_count_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_packages_count_request_builder.go index 7acf3603a99..31a76f0c328 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_packages_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_packages_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackagesCountReques } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackagesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackagesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_packages_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_packages_request_builder.go index b9545065540..e0e7f0fcfa0 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_packages_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_packages_request_builder.go @@ -39,9 +39,9 @@ type EntitlementManagementAccessPackageCatalogsItemAccessPackagesRequestBuilderG // Request query parameters QueryParameters *EntitlementManagementAccessPackageCatalogsItemAccessPackagesRequestBuilderGetQueryParameters } -// ByAccessPackageIdString provides operations to manage the accessPackages property of the microsoft.graph.accessPackageCatalog entity. +// ByAccessPackageId provides operations to manage the accessPackages property of the microsoft.graph.accessPackageCatalog entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackagesRequestBuilder) ByAccessPackageIdString(accessPackageId string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackagesAccessPackageItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackagesRequestBuilder) ByAccessPackageId(accessPackageId string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackagesAccessPackageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackagesRequestBuil } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackagesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemAccessPackagesRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemAccessPackagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_count_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_count_request_builder.go index 83a95e8f009..1aedf78ad56 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkfl } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCountRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_custom_access_package_workflow_extension_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_custom_access_package_workflow_extension_item_request_builder.go index 54f9e993c3e..d777eccc7be 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_custom_access_package_workflow_extension_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_custom_access_package_workflow_extension_item_request_builder.go @@ -54,11 +54,11 @@ func NewEntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflo urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. +// Delete delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/customaccesspackageworkflowextension-delete?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -120,7 +120,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkfl } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAccessPackageWorkflowExtensionable), nil } -// ToDeleteRequestInformation delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. +// ToDeleteRequestInformation delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -168,3 +168,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkfl } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_request_builder.go index e4b1bec70e7..1f5cba03972 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowEx // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCustomAccessPackageWorkflowExtensionIdString provides operations to manage the customAccessPackageWorkflowExtensions property of the microsoft.graph.accessPackageCatalog entity. +// ByCustomAccessPackageWorkflowExtensionId provides operations to manage the customAccessPackageWorkflowExtensions property of the microsoft.graph.accessPackageCatalog entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsRequestBuilder) ByCustomAccessPackageWorkflowExtensionIdString(customAccessPackageWorkflowExtensionId string)(*EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsRequestBuilder) ByCustomAccessPackageWorkflowExtensionId(customAccessPackageWorkflowExtensionId string)(*EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,8 @@ func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkfl } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_request_builder.go index eefbc9a665a..38c2e52e90e 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackageCatalogsRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageCatalogIdString provides operations to manage the accessPackageCatalogs property of the microsoft.graph.entitlementManagement entity. +// ByAccessPackageCatalogId provides operations to manage the accessPackageCatalogs property of the microsoft.graph.entitlementManagement entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackageCatalogsRequestBuilder) ByAccessPackageCatalogIdString(accessPackageCatalogId string)(*EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemRequestBuilder) { +func (m *EntitlementManagementAccessPackageCatalogsRequestBuilder) ByAccessPackageCatalogId(accessPackageCatalogId string)(*EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -160,3 +160,8 @@ func (m *EntitlementManagementAccessPackageCatalogsRequestBuilder) ToPostRequest } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_catalogs_search_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_search_request_builder.go index ce51470ba65..a85550ae49a 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_search_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_search_request_builder.go @@ -86,3 +86,8 @@ func (m *EntitlementManagementAccessPackageCatalogsSearchRequestBuilder) ToGetRe } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackageCatalogsSearchRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageCatalogsSearchRequestBuilder) { + return NewEntitlementManagementAccessPackageCatalogsSearchRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_environments_access_package_resource_environment_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_environments_access_package_resource_environment_item_request_builder.go index 83801be4172..17c0bf45db2 100644 --- a/identitygovernance/entitlement_management_access_package_resource_environments_access_package_resource_environment_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_environments_access_package_resource_environment_item_request_builder.go @@ -160,3 +160,7 @@ func (m *EntitlementManagementAccessPackageResourceEnvironmentsAccessPackageReso } 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 *EntitlementManagementAccessPackageResourceEnvironmentsAccessPackageResourceEnvironmentItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceEnvironmentsAccessPackageResourceEnvironmentItemRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceEnvironmentsAccessPackageResourceEnvironmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_environments_count_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_environments_count_request_builder.go index 7930141d3d1..2fd2d67f4f3 100644 --- a/identitygovernance/entitlement_management_access_package_resource_environments_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_environments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageResourceEnvironmentsCountRequestBuild } 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 *EntitlementManagementAccessPackageResourceEnvironmentsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceEnvironmentsCountRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceEnvironmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_environments_item_access_package_resources_access_package_resource_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_environments_item_access_package_resources_access_package_resource_item_request_builder.go index 044fb9183a1..670bd433f5a 100644 --- a/identitygovernance/entitlement_management_access_package_resource_environments_item_access_package_resources_access_package_resource_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_environments_item_access_package_resources_access_package_resource_item_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageResourceEnvironmentsItemAccessPackage } 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 *EntitlementManagementAccessPackageResourceEnvironmentsItemAccessPackageResourcesAccessPackageResourceItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceEnvironmentsItemAccessPackageResourcesAccessPackageResourceItemRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceEnvironmentsItemAccessPackageResourcesAccessPackageResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_environments_item_access_package_resources_count_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_environments_item_access_package_resources_count_request_builder.go index d3ecc56fc22..b503a8a8bb2 100644 --- a/identitygovernance/entitlement_management_access_package_resource_environments_item_access_package_resources_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_environments_item_access_package_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageResourceEnvironmentsItemAccessPackage } 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 *EntitlementManagementAccessPackageResourceEnvironmentsItemAccessPackageResourcesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceEnvironmentsItemAccessPackageResourcesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceEnvironmentsItemAccessPackageResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_environments_item_access_package_resources_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_environments_item_access_package_resources_request_builder.go index 514a4673c9c..ff83f04a117 100644 --- a/identitygovernance/entitlement_management_access_package_resource_environments_item_access_package_resources_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_environments_item_access_package_resources_request_builder.go @@ -39,8 +39,8 @@ type EntitlementManagementAccessPackageResourceEnvironmentsItemAccessPackageReso // Request query parameters QueryParameters *EntitlementManagementAccessPackageResourceEnvironmentsItemAccessPackageResourcesRequestBuilderGetQueryParameters } -// ByAccessPackageResourceIdString provides operations to manage the accessPackageResources property of the microsoft.graph.accessPackageResourceEnvironment entity. -func (m *EntitlementManagementAccessPackageResourceEnvironmentsItemAccessPackageResourcesRequestBuilder) ByAccessPackageResourceIdString(accessPackageResourceId string)(*EntitlementManagementAccessPackageResourceEnvironmentsItemAccessPackageResourcesAccessPackageResourceItemRequestBuilder) { +// ByAccessPackageResourceId provides operations to manage the accessPackageResources property of the microsoft.graph.accessPackageResourceEnvironment entity. +func (m *EntitlementManagementAccessPackageResourceEnvironmentsItemAccessPackageResourcesRequestBuilder) ByAccessPackageResourceId(accessPackageResourceId string)(*EntitlementManagementAccessPackageResourceEnvironmentsItemAccessPackageResourcesAccessPackageResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *EntitlementManagementAccessPackageResourceEnvironmentsItemAccessPackage } 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 *EntitlementManagementAccessPackageResourceEnvironmentsItemAccessPackageResourcesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceEnvironmentsItemAccessPackageResourcesRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceEnvironmentsItemAccessPackageResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_environments_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_environments_request_builder.go index 4ef994be958..44b39b25185 100644 --- a/identitygovernance/entitlement_management_access_package_resource_environments_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_environments_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageResourceEnvironmentsRequestBuilderPostReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceEnvironmentIdString provides operations to manage the accessPackageResourceEnvironments property of the microsoft.graph.entitlementManagement entity. -func (m *EntitlementManagementAccessPackageResourceEnvironmentsRequestBuilder) ByAccessPackageResourceEnvironmentIdString(accessPackageResourceEnvironmentId string)(*EntitlementManagementAccessPackageResourceEnvironmentsAccessPackageResourceEnvironmentItemRequestBuilder) { +// ByAccessPackageResourceEnvironmentId provides operations to manage the accessPackageResourceEnvironments property of the microsoft.graph.entitlementManagement entity. +func (m *EntitlementManagementAccessPackageResourceEnvironmentsRequestBuilder) ByAccessPackageResourceEnvironmentId(accessPackageResourceEnvironmentId string)(*EntitlementManagementAccessPackageResourceEnvironmentsAccessPackageResourceEnvironmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *EntitlementManagementAccessPackageResourceEnvironmentsRequestBuilder) T } 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 *EntitlementManagementAccessPackageResourceEnvironmentsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceEnvironmentsRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceEnvironmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_requests_access_package_resource_request_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_requests_access_package_resource_request_item_request_builder.go index fc0de4b4ddd..d990a67a950 100644 --- a/identitygovernance/entitlement_management_access_package_resource_requests_access_package_resource_request_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_requests_access_package_resource_request_item_request_builder.go @@ -161,3 +161,7 @@ func (m *EntitlementManagementAccessPackageResourceRequestsAccessPackageResource } 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 *EntitlementManagementAccessPackageResourceRequestsAccessPackageResourceRequestItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRequestsAccessPackageResourceRequestItemRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRequestsAccessPackageResourceRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_requests_count_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_requests_count_request_builder.go index a14aec8d044..86e6269aefa 100644 --- a/identitygovernance/entitlement_management_access_package_resource_requests_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageResourceRequestsCountRequestBuilder) } 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 *EntitlementManagementAccessPackageResourceRequestsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRequestsCountRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_requests_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_requests_item_access_package_resource_request_builder.go index 24f07961367..75e4939b1ee 100644 --- a/identitygovernance/entitlement_management_access_package_resource_requests_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_requests_item_access_package_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageResourceRequestsItemAccessPackageReso } 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 *EntitlementManagementAccessPackageResourceRequestsItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRequestsItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRequestsItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_requests_item_requestor_connected_organization_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_requests_item_requestor_connected_organization_request_builder.go index ee6aa5a28da..aa65be8a280 100644 --- a/identitygovernance/entitlement_management_access_package_resource_requests_item_requestor_connected_organization_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_requests_item_requestor_connected_organization_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageResourceRequestsItemRequestorConnecte } 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 *EntitlementManagementAccessPackageResourceRequestsItemRequestorConnectedOrganizationRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRequestsItemRequestorConnectedOrganizationRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRequestsItemRequestorConnectedOrganizationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_requests_item_requestor_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_requests_item_requestor_request_builder.go index ee5236879a9..853e8c3f778 100644 --- a/identitygovernance/entitlement_management_access_package_resource_requests_item_requestor_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_requests_item_requestor_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageResourceRequestsItemRequestorRequestB } 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 *EntitlementManagementAccessPackageResourceRequestsItemRequestorRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRequestsItemRequestorRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRequestsItemRequestorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_requests_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_requests_request_builder.go index 65cb314131b..6bda7bceca5 100644 --- a/identitygovernance/entitlement_management_access_package_resource_requests_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_requests_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageResourceRequestsRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRequestIdString provides operations to manage the accessPackageResourceRequests property of the microsoft.graph.entitlementManagement entity. -func (m *EntitlementManagementAccessPackageResourceRequestsRequestBuilder) ByAccessPackageResourceRequestIdString(accessPackageResourceRequestId string)(*EntitlementManagementAccessPackageResourceRequestsAccessPackageResourceRequestItemRequestBuilder) { +// ByAccessPackageResourceRequestId provides operations to manage the accessPackageResourceRequests property of the microsoft.graph.entitlementManagement entity. +func (m *EntitlementManagementAccessPackageResourceRequestsRequestBuilder) ByAccessPackageResourceRequestId(accessPackageResourceRequestId string)(*EntitlementManagementAccessPackageResourceRequestsAccessPackageResourceRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *EntitlementManagementAccessPackageResourceRequestsRequestBuilder) ToPos } 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 *EntitlementManagementAccessPackageResourceRequestsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRequestsRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go index 440b624a3d1..990e197174f 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go @@ -161,3 +161,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesAccessPackageResour } 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 *EntitlementManagementAccessPackageResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_count_request_builder.go index f666ce36f02..4fcc3673320 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesCountRequestBuilder } 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 *EntitlementManagementAccessPackageResourceRoleScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go index e98cb57dcb8..f2133dfa184 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go index 1df15ce8c6f..27111df7bff 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_count_request_builder.go index 12cf23966d8..d2f4250b74c 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go index a2faeb25799..e09bca7bd18 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResour // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleIdString provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleIdString(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +// ByAccessPackageResourceRoleId provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index c105be63ca0..63ed694d611 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_count_request_builder.go index 2043de32874..1fc70b0c306 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go index 57f732dd2a1..1eceb1bd311 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go index 8a5a1f29b35..54cfec494c8 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go index f6a5c3b6f1a..b25eb530833 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResour // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleIdString provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleIdString(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +// ByAccessPackageResourceRoleId provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go index 3029b49ad61..c74004139b0 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go @@ -161,3 +161,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go index 9068dfc8c8d..5f513dd9428 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResour // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeIdString provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeIdString(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +// ByAccessPackageResourceScopeId provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go index 15a44672fda..340960ca832 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go @@ -165,3 +165,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go index 0dcbe880181..13235217067 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go index 8c9e4858d2d..f23ef1745b5 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go index 71d0e7aa5b0..60250840296 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_count_request_builder.go index ef2ad8e2941..70fcbeaf70f 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go index 5fff5234e18..d36ec44b1aa 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go index 23175c053ca..a82fb0de8a1 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go index f8ee58a758c..163472c17da 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResour // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeIdString provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeIdString(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +// ByAccessPackageResourceScopeId provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go index badb0491e75..30570918f38 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go @@ -161,3 +161,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go index c91ca8614ba..05f5b2608ec 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResour // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleIdString provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleIdString(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +// ByAccessPackageResourceRoleId provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index d4032f409b5..41475e9c789 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_count_request_builder.go index 36743f4ad2f..312049defcc 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go index 615f2cce793..cb14e832b29 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResour // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeIdString provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeIdString(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +// ByAccessPackageResourceScopeId provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go index 994ac96690f..e22662ad3f0 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go @@ -165,3 +165,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go index 4ad03a66c19..d5fc8e380b5 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe } 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 *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_request_builder.go index e712031fe77..1a31225a09d 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageResourceRoleScopesRequestBuilderPostReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleScopeIdString provides operations to manage the accessPackageResourceRoleScopes property of the microsoft.graph.entitlementManagement entity. -func (m *EntitlementManagementAccessPackageResourceRoleScopesRequestBuilder) ByAccessPackageResourceRoleScopeIdString(accessPackageResourceRoleScopeId string)(*EntitlementManagementAccessPackageResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder) { +// ByAccessPackageResourceRoleScopeId provides operations to manage the accessPackageResourceRoleScopes property of the microsoft.graph.entitlementManagement entity. +func (m *EntitlementManagementAccessPackageResourceRoleScopesRequestBuilder) ByAccessPackageResourceRoleScopeId(accessPackageResourceRoleScopeId string)(*EntitlementManagementAccessPackageResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesRequestBuilder) 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 *EntitlementManagementAccessPackageResourceRoleScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourceRoleScopesRequestBuilder) { + return NewEntitlementManagementAccessPackageResourceRoleScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_access_package_resource_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_access_package_resource_item_request_builder.go index 6689b4f655f..356dc609065 100644 --- a/identitygovernance/entitlement_management_access_package_resources_access_package_resource_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_access_package_resource_item_request_builder.go @@ -165,3 +165,7 @@ func (m *EntitlementManagementAccessPackageResourcesAccessPackageResourceItemReq } 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 *EntitlementManagementAccessPackageResourcesAccessPackageResourceItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesAccessPackageResourceItemRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesAccessPackageResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_count_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_count_request_builder.go index 342857548fa..e6c347a7f8f 100644 --- a/identitygovernance/entitlement_management_access_package_resources_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageResourcesCountRequestBuilder) ToGetRe } 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 *EntitlementManagementAccessPackageResourcesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_environment_request_builder.go index 778196f68c3..8abf13769e8 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_environment_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceEnv } 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 *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go index e6bf08fbd87..033b55b40be 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol } 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 *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_count_request_builder.go index 3f7eef22313..223e27157b5 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol } 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 *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go index 240c1f6d6e5..b456e3e0937 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol } 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 *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index 7f526a70e37..e072bd53893 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol } 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 *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go index 6f6c915344d..5ba3470ee22 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol } 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 *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go index 3a041182bf3..ac82371ee0f 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol } 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 *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go index 09e5fec221f..0d2314ef793 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol } 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 *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go index 83b4b4a06da..f5e868981f2 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeIdString provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeIdString(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +// ByAccessPackageResourceScopeId provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol } 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 *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_request_builder.go index 9e4f923d568..dfde75474d2 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_request_builder.go @@ -161,3 +161,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol } 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 *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_request_builder.go index 38bdfbc058a..f33f71e443b 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleIdString provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleIdString(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +// ByAccessPackageResourceRoleId provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol } 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 *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index e2713484634..77c085d73e0 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco } 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 *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_count_request_builder.go index 5c2855369fb..0f235c596c4 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco } 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 *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go index b265d11e428..15013919901 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco } 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 *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go index 06afed95771..c20d91db453 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco } 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 *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go index f2e4ce49e47..4a3d2a4c35a 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco } 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 *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go index 19bfb99050a..a56aa7d469a 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco } 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 *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go index f621b3ce7ec..66ed9b31b38 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco } 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 *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go index 24c4adc0a0a..418b527f8ad 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesI // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleIdString provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleIdString(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +// ByAccessPackageResourceRoleId provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco } 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 *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_request_builder.go index 7cd5f75c944..b5bb8903fab 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_request_builder.go @@ -161,3 +161,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco } 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 *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_request_builder.go index 8159f48633a..b8f0fc1ff28 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeIdString provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeIdString(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +// ByAccessPackageResourceScopeId provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco } 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 *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_package_resources_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_request_builder.go index 36d3eb037a4..ebfcfdee674 100644 --- a/identitygovernance/entitlement_management_access_package_resources_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackageResourcesRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceIdString provides operations to manage the accessPackageResources property of the microsoft.graph.entitlementManagement entity. -func (m *EntitlementManagementAccessPackageResourcesRequestBuilder) ByAccessPackageResourceIdString(accessPackageResourceId string)(*EntitlementManagementAccessPackageResourcesAccessPackageResourceItemRequestBuilder) { +// ByAccessPackageResourceId provides operations to manage the accessPackageResources property of the microsoft.graph.entitlementManagement entity. +func (m *EntitlementManagementAccessPackageResourcesRequestBuilder) ByAccessPackageResourceId(accessPackageResourceId string)(*EntitlementManagementAccessPackageResourcesAccessPackageResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackageResourcesRequestBuilder) ToPostReques } 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 *EntitlementManagementAccessPackageResourcesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackageResourcesRequestBuilder) { + return NewEntitlementManagementAccessPackageResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go b/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go index 82c95e798bc..1eec58c98b9 100644 --- a/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go @@ -194,3 +194,7 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) 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 *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) { + return NewEntitlementManagementAccessPackagesAccessPackageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_count_request_builder.go b/identitygovernance/entitlement_management_access_packages_count_request_builder.go index dfe8f71b306..43a725353de 100644 --- a/identitygovernance/entitlement_management_access_packages_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackagesCountRequestBuilder) ToGetRequestInf } 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 *EntitlementManagementAccessPackagesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesCountRequestBuilder) { + return NewEntitlementManagementAccessPackagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_filter_by_current_user_with_on_request_builder.go b/identitygovernance/entitlement_management_access_packages_filter_by_current_user_with_on_request_builder.go index 23474101ec5..71605f1321b 100644 --- a/identitygovernance/entitlement_management_access_packages_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *EntitlementManagementAccessPackagesFilterByCurrentUserWithOnRequestBuil } 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 *EntitlementManagementAccessPackagesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesFilterByCurrentUserWithOnRequestBuilder) { + return NewEntitlementManagementAccessPackagesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go index dec8e3ab69d..5632fe0e218 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go @@ -175,3 +175,8 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesA } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_count_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_count_request_builder.go index 88b0db7e33b..b5bc74b6467 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesC } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesCountRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_access_package_catalog_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_access_package_catalog_request_builder.go index 7292e875cae..a94290785bf 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_access_package_catalog_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_access_package_catalog_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemAccessPackageCatalogRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemAccessPackageCatalogRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemAccessPackageCatalogRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_access_package_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_access_package_request_builder.go index 748e06f08da..36801011ddf 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_access_package_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_access_package_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemAccessPackageRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemAccessPackageRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemAccessPackageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_count_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_count_request_builder.go index 806fd12abd2..c49385f31e7 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCountRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go index 17fabb4baab..32b3c22edf0 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go @@ -163,3 +163,8 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCustomExtensionHandlerItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCustomExtensionHandlerItemRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCustomExtensionHandlerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go index 56fa429ddab..3c77fffd2de 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionHandlersItemCustomExtensionRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionHandlersItemCustomExtensionRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionHandlersItemCustomExtensionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go index 10dca5f7bbb..4e677cc6684 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCustomExtensionHandlerIdString provides operations to manage the customExtensionHandlers property of the microsoft.graph.accessPackageAssignmentPolicy entity. +// ByCustomExtensionHandlerId provides operations to manage the customExtensionHandlers property of the microsoft.graph.accessPackageAssignmentPolicy entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionHandlersRequestBuilder) ByCustomExtensionHandlerIdString(customExtensionHandlerId string)(*EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCustomExtensionHandlerItemRequestBuilder) { +func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionHandlersRequestBuilder) ByCustomExtensionHandlerId(customExtensionHandlerId string)(*EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionHandlersCustomExtensionHandlerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionHandlersRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionHandlersRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionHandlersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_count_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_count_request_builder.go index 0b785229ab3..86daa91d57a 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_count_request_builder.go @@ -76,3 +76,8 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCountRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go index 38329350321..954e6ba877a 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go @@ -163,3 +163,8 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCustomExtensionStageSettingItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCustomExtensionStageSettingItemRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCustomExtensionStageSettingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go index 1b34ad5dad4..802a29221ca 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilderGetQueryParameters indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. +// EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilderGetQueryParameters indicates the custom workflow extension that is executed at this stage. Nullable. Supports $expand. type EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewEntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesIt urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilderInternal(urlParams, requestAdapter) } -// Get indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. +// Get indicates the custom workflow extension that is executed at this stage. Nullable. Supports $expand. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); @@ -60,7 +60,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable), nil } -// ToGetRequestInformation indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. +// ToGetRequestInformation indicates the custom workflow extension that is executed at this stage. Nullable. Supports $expand. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsItemCustomExtensionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go index 8af37266721..86aac602d78 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCustomExtensionStageSettingIdString provides operations to manage the customExtensionStageSettings property of the microsoft.graph.accessPackageAssignmentPolicy entity. +// ByCustomExtensionStageSettingId provides operations to manage the customExtensionStageSettings property of the microsoft.graph.accessPackageAssignmentPolicy entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsRequestBuilder) ByCustomExtensionStageSettingIdString(customExtensionStageSettingId string)(*EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCustomExtensionStageSettingItemRequestBuilder) { +func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsRequestBuilder) ByCustomExtensionStageSettingId(customExtensionStageSettingId string)(*EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsCustomExtensionStageSettingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_request_builder.go index c7e629bbfcd..86104389cc3 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_request_builder.go @@ -46,9 +46,9 @@ type EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageAssignmentPolicyIdString provides operations to manage the accessPackageAssignmentPolicies property of the microsoft.graph.accessPackage entity. +// ByAccessPackageAssignmentPolicyId provides operations to manage the accessPackageAssignmentPolicies property of the microsoft.graph.accessPackage entity. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 -func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesRequestBuilder) ByAccessPackageAssignmentPolicyIdString(accessPackageAssignmentPolicyId string)(*EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder) { +func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesRequestBuilder) ByAccessPackageAssignmentPolicyId(accessPackageAssignmentPolicyId string)(*EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesR } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_catalog_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_catalog_request_builder.go index c465c5b9b81..253a37e2f26 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_catalog_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_catalog_request_builder.go @@ -77,3 +77,8 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageCatalogRequestBuild } 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. +// Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 +func (m *EntitlementManagementAccessPackagesItemAccessPackageCatalogRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageCatalogRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageCatalogRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go index 6a213df2405..c689ef8d93c 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go @@ -161,3 +161,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesA } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_count_request_builder.go index 7a58f029b63..05174415bf7 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesC } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go index 0d70a59448b..4064a280122 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go index 81b54984ff1..0758c6c76b8 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_count_request_builder.go index 4bc4ccb65d4..f723018132a 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go index d442d338618..13379407d1f 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemA // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleIdString provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleIdString(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +// ByAccessPackageResourceRoleId provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index 63ffaab3bfb..ee80901083c 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_count_request_builder.go index 6cd2bfdbaea..5d987f00f78 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go index fe869d95554..e19fe15b86f 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go index 4a247bb6bb7..d0653bc3e2f 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go index f1d57488186..d1e6524ecb2 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemA // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleIdString provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleIdString(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +// ByAccessPackageResourceRoleId provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go index c5f25da7083..0c12074db4b 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go @@ -161,3 +161,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go index c417a620571..3a8f6dcdeaf 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemA // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeIdString provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeIdString(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +// ByAccessPackageResourceScopeId provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go index 508cd319da4..0d450b9660b 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go @@ -165,3 +165,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go index fae04cb1633..f5a2fd44f92 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go index d4ca4f764e1..3c3f6a23469 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go index e5c6205f319..97c3b34fc17 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_count_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_count_request_builder.go index 4920d211605..13dd6d6ada5 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go index 4ce3f980557..98aace2a2ca 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceEnvironmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go index e3a45363396..473ec1ef249 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go index 3da5c136069..b44baf606f7 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemA // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeIdString provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeIdString(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +// ByAccessPackageResourceScopeId provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go index dff3e815cd9..0b157c68ae7 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go @@ -161,3 +161,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go index 9363d5b3089..e28b928e4f2 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemA // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleIdString provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleIdString(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { +// ByAccessPackageResourceRoleId provides operations to manage the accessPackageResourceRoles property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder) ByAccessPackageResourceRoleId(accessPackageResourceRoleId string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesAccessPackageResourceRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index b662d92d197..83583d2fbd7 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_count_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_count_request_builder.go index 524071a1454..8ecb30b6214 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go index dd705f3c157..d7da7072c7a 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemA // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceScopeIdString provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. -func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeIdString(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { +// ByAccessPackageResourceScopeId provides operations to manage the accessPackageResourceScopes property of the microsoft.graph.accessPackageResource entity. +func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder) ByAccessPackageResourceScopeId(accessPackageResourceScopeId string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesAccessPackageResourceScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go index 2eeeeccd3ae..8d65db337ed 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go @@ -165,3 +165,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go index 9fef2d95698..f33b3d16af9 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_request_builder.go index e84ff1a83e8..791e631a140 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageResourceRoleScopeIdString provides operations to manage the accessPackageResourceRoleScopes property of the microsoft.graph.accessPackage entity. -func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesRequestBuilder) ByAccessPackageResourceRoleScopeIdString(accessPackageResourceRoleScopeId string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder) { +// ByAccessPackageResourceRoleScopeId provides operations to manage the accessPackageResourceRoleScopes property of the microsoft.graph.accessPackage entity. +func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesRequestBuilder) ByAccessPackageResourceRoleScopeId(accessPackageResourceRoleScopeId string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesAccessPackageResourceRoleScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesR } 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 *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_access_package_item_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_access_package_item_request_builder.go index 33d1fb85d1f..a8e58b78522 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_access_package_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_access_package_item_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithAc } 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 *EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithAccessPackageItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithAccessPackageItemRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithAccessPackageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_count_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_count_request_builder.go index 61b47ceb115..f4e30c768fe 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithCo } 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 *EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithCountRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_request_builder.go index f627073c6be..e21d9657564 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_request_builder.go @@ -39,8 +39,8 @@ type EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithReques // Request query parameters QueryParameters *EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithRequestBuilderGetQueryParameters } -// ByAccessPackageId1String provides operations to manage the accessPackagesIncompatibleWith property of the microsoft.graph.accessPackage entity. -func (m *EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithRequestBuilder) ByAccessPackageId1String(accessPackageId1 string)(*EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithAccessPackageItemRequestBuilder) { +// ByAccessPackageId1 provides operations to manage the accessPackagesIncompatibleWith property of the microsoft.graph.accessPackage entity. +func (m *EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithRequestBuilder) ByAccessPackageId1(accessPackageId1 string)(*EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithAccessPackageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithRe } 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 *EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_get_applicable_policy_requirements_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_get_applicable_policy_requirements_request_builder.go index dc4105c5b21..3dd8836c280 100644 --- a/identitygovernance/entitlement_management_access_packages_item_get_applicable_policy_requirements_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_get_applicable_policy_requirements_request_builder.go @@ -65,3 +65,7 @@ func (m *EntitlementManagementAccessPackagesItemGetApplicablePolicyRequirementsR } 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 *EntitlementManagementAccessPackagesItemGetApplicablePolicyRequirementsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemGetApplicablePolicyRequirementsRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemGetApplicablePolicyRequirementsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_count_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_count_request_builder.go index aa35ae7ade7..499e5fe292d 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesCountR } 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 *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesCountRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemIncompatibleAccessPackagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_item_ref_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_item_ref_request_builder.go index b98075d65ea..6cb576fb26d 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_item_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesItemRe } 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 *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesItemRefRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesItemRefRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemIncompatibleAccessPackagesItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_ref_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_ref_request_builder.go index bf44b2e19b3..e54d918fb54 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefReq } 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 *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_request_builder.go index d4ccf6bb4e6..74c8d5a69df 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_request_builder.go @@ -39,8 +39,8 @@ type EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRequestBui // Request query parameters QueryParameters *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRequestBuilderGetQueryParameters } -// ByAccessPackageId1String gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.identityGovernance.entitlementManagement.accessPackages.item.incompatibleAccessPackages.item collection -func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRequestBuilder) ByAccessPackageId1String(accessPackageId1 string)(*EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesAccessPackageItemRequestBuilder) { +// ByAccessPackageId1 gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.identityGovernance.entitlementManagement.accessPackages.item.incompatibleAccessPackages.item collection +func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRequestBuilder) ByAccessPackageId1(accessPackageId1 string)(*EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesAccessPackageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesReques } 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 *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_count_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_count_request_builder.go index ba1688339d5..d81bf07ce69 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_count_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsCountRequestBu } 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 *EntitlementManagementAccessPackagesItemIncompatibleGroupsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemIncompatibleGroupsCountRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemIncompatibleGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_item_ref_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_item_ref_request_builder.go index 510bfbe6397..de16cf2f8f1 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_item_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsItemRefRequest } 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 *EntitlementManagementAccessPackagesItemIncompatibleGroupsItemRefRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemIncompatibleGroupsItemRefRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemIncompatibleGroupsItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_ref_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_ref_request_builder.go index ef80708eda6..90af4c90486 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuil } 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 *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_request_builder.go index fc6e8f7e5a6..15ecd4701f3 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_request_builder.go @@ -39,8 +39,8 @@ type EntitlementManagementAccessPackagesItemIncompatibleGroupsRequestBuilderGetR // Request query parameters QueryParameters *EntitlementManagementAccessPackagesItemIncompatibleGroupsRequestBuilderGetQueryParameters } -// ByGroupIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.identityGovernance.entitlementManagement.accessPackages.item.incompatibleGroups.item collection -func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRequestBuilder) ByGroupIdString(groupId string)(*EntitlementManagementAccessPackagesItemIncompatibleGroupsGroupItemRequestBuilder) { +// ByGroupId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.identityGovernance.entitlementManagement.accessPackages.item.incompatibleGroups.item collection +func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRequestBuilder) ByGroupId(groupId string)(*EntitlementManagementAccessPackagesItemIncompatibleGroupsGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRequestBuilder } 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 *EntitlementManagementAccessPackagesItemIncompatibleGroupsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemIncompatibleGroupsRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemIncompatibleGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_item_move_to_catalog_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_move_to_catalog_request_builder.go index 0961fcac481..5234689d067 100644 --- a/identitygovernance/entitlement_management_access_packages_item_move_to_catalog_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_move_to_catalog_request_builder.go @@ -65,3 +65,7 @@ func (m *EntitlementManagementAccessPackagesItemMoveToCatalogRequestBuilder) 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 *EntitlementManagementAccessPackagesItemMoveToCatalogRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesItemMoveToCatalogRequestBuilder) { + return NewEntitlementManagementAccessPackagesItemMoveToCatalogRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_request_builder.go b/identitygovernance/entitlement_management_access_packages_request_builder.go index d06bfd57af8..05d35fe09b8 100644 --- a/identitygovernance/entitlement_management_access_packages_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementAccessPackagesRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageIdString provides operations to manage the accessPackages property of the microsoft.graph.entitlementManagement entity. -func (m *EntitlementManagementAccessPackagesRequestBuilder) ByAccessPackageIdString(accessPackageId string)(*EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) { +// ByAccessPackageId provides operations to manage the accessPackages property of the microsoft.graph.entitlementManagement entity. +func (m *EntitlementManagementAccessPackagesRequestBuilder) ByAccessPackageId(accessPackageId string)(*EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -159,3 +159,7 @@ func (m *EntitlementManagementAccessPackagesRequestBuilder) ToPostRequestInforma } 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 *EntitlementManagementAccessPackagesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesRequestBuilder) { + return NewEntitlementManagementAccessPackagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_access_packages_search_request_builder.go b/identitygovernance/entitlement_management_access_packages_search_request_builder.go index 374a6fdd517..0c9b640ef96 100644 --- a/identitygovernance/entitlement_management_access_packages_search_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_search_request_builder.go @@ -84,3 +84,7 @@ func (m *EntitlementManagementAccessPackagesSearchRequestBuilder) ToGetRequestIn } 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 *EntitlementManagementAccessPackagesSearchRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementAccessPackagesSearchRequestBuilder) { + return NewEntitlementManagementAccessPackagesSearchRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_connected_organizations_connected_organization_item_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_connected_organization_item_request_builder.go index 2d4757fac84..ba16d6ddda1 100644 --- a/identitygovernance/entitlement_management_connected_organizations_connected_organization_item_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_connected_organization_item_request_builder.go @@ -170,3 +170,7 @@ func (m *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemReq } 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 *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilder) { + return NewEntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_connected_organizations_count_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_count_request_builder.go index 9f0c0a053d7..c9483ec8cec 100644 --- a/identitygovernance/entitlement_management_connected_organizations_count_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementConnectedOrganizationsCountRequestBuilder) ToGetRe } 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 *EntitlementManagementConnectedOrganizationsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementConnectedOrganizationsCountRequestBuilder) { + return NewEntitlementManagementConnectedOrganizationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_count_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_count_request_builder.go index d309a8d86c3..52b68ba8258 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_count_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsCountReq } 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 *EntitlementManagementConnectedOrganizationsItemExternalSponsorsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementConnectedOrganizationsItemExternalSponsorsCountRequestBuilder) { + return NewEntitlementManagementConnectedOrganizationsItemExternalSponsorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_delta_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_delta_request_builder.go index a379d434503..4840698d714 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_delta_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsDeltaReq } 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 *EntitlementManagementConnectedOrganizationsItemExternalSponsorsDeltaRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementConnectedOrganizationsItemExternalSponsorsDeltaRequestBuilder) { + return NewEntitlementManagementConnectedOrganizationsItemExternalSponsorsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_get_by_ids_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_get_by_ids_request_builder.go index 1e665f166cd..3b814bd4e90 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_get_by_ids_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsGetByIds } 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 *EntitlementManagementConnectedOrganizationsItemExternalSponsorsGetByIdsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementConnectedOrganizationsItemExternalSponsorsGetByIdsRequestBuilder) { + return NewEntitlementManagementConnectedOrganizationsItemExternalSponsorsGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_get_user_owned_objects_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_get_user_owned_objects_request_builder.go index 14e094d0aa3..8cfc6b3ed83 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_get_user_owned_objects_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsGetUserO } 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 *EntitlementManagementConnectedOrganizationsItemExternalSponsorsGetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementConnectedOrganizationsItemExternalSponsorsGetUserOwnedObjectsRequestBuilder) { + return NewEntitlementManagementConnectedOrganizationsItemExternalSponsorsGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_item_ref_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_item_ref_request_builder.go index 400a556537a..40c0c9a0900 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_item_ref_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsItemRefR } 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 *EntitlementManagementConnectedOrganizationsItemExternalSponsorsItemRefRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementConnectedOrganizationsItemExternalSponsorsItemRefRequestBuilder) { + return NewEntitlementManagementConnectedOrganizationsItemExternalSponsorsItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_ref_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_ref_request_builder.go index 3bb450fbc76..77b72e946a7 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_ref_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefReque } 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 *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilder) { + return NewEntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_request_builder.go index 8d4e7341c22..88b0e5ccffe 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDirectoryObjectIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.identityGovernance.entitlementManagement.connectedOrganizations.item.externalSponsors.item collection -func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*EntitlementManagementConnectedOrganizationsItemExternalSponsorsDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.identityGovernance.entitlementManagement.connectedOrganizations.item.externalSponsors.item collection +func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*EntitlementManagementConnectedOrganizationsItemExternalSponsorsDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -171,3 +171,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestB func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestBuilder) ValidateProperties()(*EntitlementManagementConnectedOrganizationsItemExternalSponsorsValidatePropertiesRequestBuilder) { return NewEntitlementManagementConnectedOrganizationsItemExternalSponsorsValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestBuilder) { + return NewEntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_validate_properties_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_validate_properties_request_builder.go index 10798e276da..e247306fe03 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_validate_properties_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsValidate } 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 *EntitlementManagementConnectedOrganizationsItemExternalSponsorsValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementConnectedOrganizationsItemExternalSponsorsValidatePropertiesRequestBuilder) { + return NewEntitlementManagementConnectedOrganizationsItemExternalSponsorsValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_count_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_count_request_builder.go index dba2530a39f..28baa8420af 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_count_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsCountReq } 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 *EntitlementManagementConnectedOrganizationsItemInternalSponsorsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementConnectedOrganizationsItemInternalSponsorsCountRequestBuilder) { + return NewEntitlementManagementConnectedOrganizationsItemInternalSponsorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_delta_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_delta_request_builder.go index 2f556dfebb3..ea0278af05a 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_delta_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsDeltaReq } 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 *EntitlementManagementConnectedOrganizationsItemInternalSponsorsDeltaRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementConnectedOrganizationsItemInternalSponsorsDeltaRequestBuilder) { + return NewEntitlementManagementConnectedOrganizationsItemInternalSponsorsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_get_by_ids_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_get_by_ids_request_builder.go index 9f330bd0193..c9444965591 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_get_by_ids_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsGetByIds } 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 *EntitlementManagementConnectedOrganizationsItemInternalSponsorsGetByIdsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementConnectedOrganizationsItemInternalSponsorsGetByIdsRequestBuilder) { + return NewEntitlementManagementConnectedOrganizationsItemInternalSponsorsGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_get_user_owned_objects_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_get_user_owned_objects_request_builder.go index 75288b1b84f..9d33fdfaf1d 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_get_user_owned_objects_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsGetUserO } 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 *EntitlementManagementConnectedOrganizationsItemInternalSponsorsGetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementConnectedOrganizationsItemInternalSponsorsGetUserOwnedObjectsRequestBuilder) { + return NewEntitlementManagementConnectedOrganizationsItemInternalSponsorsGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_item_ref_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_item_ref_request_builder.go index aa426e813e3..ddd20491bbd 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_item_ref_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsItemRefR } 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 *EntitlementManagementConnectedOrganizationsItemInternalSponsorsItemRefRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementConnectedOrganizationsItemInternalSponsorsItemRefRequestBuilder) { + return NewEntitlementManagementConnectedOrganizationsItemInternalSponsorsItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_ref_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_ref_request_builder.go index 591feae6f9b..125a8c47271 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_ref_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefReque } 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 *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilder) { + return NewEntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_request_builder.go index 58699e02852..58e9fcf7762 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDirectoryObjectIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.identityGovernance.entitlementManagement.connectedOrganizations.item.internalSponsors.item collection -func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*EntitlementManagementConnectedOrganizationsItemInternalSponsorsDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.identityGovernance.entitlementManagement.connectedOrganizations.item.internalSponsors.item collection +func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*EntitlementManagementConnectedOrganizationsItemInternalSponsorsDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -171,3 +171,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestB func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestBuilder) ValidateProperties()(*EntitlementManagementConnectedOrganizationsItemInternalSponsorsValidatePropertiesRequestBuilder) { return NewEntitlementManagementConnectedOrganizationsItemInternalSponsorsValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestBuilder) { + return NewEntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_validate_properties_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_validate_properties_request_builder.go index b73022a05b7..f1ac431006f 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_validate_properties_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsValidate } 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 *EntitlementManagementConnectedOrganizationsItemInternalSponsorsValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementConnectedOrganizationsItemInternalSponsorsValidatePropertiesRequestBuilder) { + return NewEntitlementManagementConnectedOrganizationsItemInternalSponsorsValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_connected_organizations_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_request_builder.go index 0ecef899900..283fe3cd5c8 100644 --- a/identitygovernance/entitlement_management_connected_organizations_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementConnectedOrganizationsRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByConnectedOrganizationIdString provides operations to manage the connectedOrganizations property of the microsoft.graph.entitlementManagement entity. -func (m *EntitlementManagementConnectedOrganizationsRequestBuilder) ByConnectedOrganizationIdString(connectedOrganizationId string)(*EntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilder) { +// ByConnectedOrganizationId provides operations to manage the connectedOrganizations property of the microsoft.graph.entitlementManagement entity. +func (m *EntitlementManagementConnectedOrganizationsRequestBuilder) ByConnectedOrganizationId(connectedOrganizationId string)(*EntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *EntitlementManagementConnectedOrganizationsRequestBuilder) ToPostReques } 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 *EntitlementManagementConnectedOrganizationsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementConnectedOrganizationsRequestBuilder) { + return NewEntitlementManagementConnectedOrganizationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_request_builder.go b/identitygovernance/entitlement_management_request_builder.go index 493c8c792f4..90c9116bfd7 100644 --- a/identitygovernance/entitlement_management_request_builder.go +++ b/identitygovernance/entitlement_management_request_builder.go @@ -209,3 +209,7 @@ func (m *EntitlementManagementRequestBuilder) ToPatchRequestInformation(ctx cont } 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 *EntitlementManagementRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRequestBuilder) { + return NewEntitlementManagementRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_settings_request_builder.go b/identitygovernance/entitlement_management_settings_request_builder.go index ae9ed90db20..7d407047dad 100644 --- a/identitygovernance/entitlement_management_settings_request_builder.go +++ b/identitygovernance/entitlement_management_settings_request_builder.go @@ -159,3 +159,7 @@ func (m *EntitlementManagementSettingsRequestBuilder) 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 *EntitlementManagementSettingsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementSettingsRequestBuilder) { + return NewEntitlementManagementSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_subjects_access_package_subject_item_request_builder.go b/identitygovernance/entitlement_management_subjects_access_package_subject_item_request_builder.go index 43b0166a0e2..490aedaec5e 100644 --- a/identitygovernance/entitlement_management_subjects_access_package_subject_item_request_builder.go +++ b/identitygovernance/entitlement_management_subjects_access_package_subject_item_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder) To } 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 *EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder) { + return NewEntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_subjects_count_request_builder.go b/identitygovernance/entitlement_management_subjects_count_request_builder.go index dc043db0d4f..b8f255beace 100644 --- a/identitygovernance/entitlement_management_subjects_count_request_builder.go +++ b/identitygovernance/entitlement_management_subjects_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementSubjectsCountRequestBuilder) ToGetRequestInformati } 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 *EntitlementManagementSubjectsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementSubjectsCountRequestBuilder) { + return NewEntitlementManagementSubjectsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_subjects_item_connected_organization_request_builder.go b/identitygovernance/entitlement_management_subjects_item_connected_organization_request_builder.go index 28bd40e1f80..c20e1c7461f 100644 --- a/identitygovernance/entitlement_management_subjects_item_connected_organization_request_builder.go +++ b/identitygovernance/entitlement_management_subjects_item_connected_organization_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder) T } 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 *EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder) { + return NewEntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_subjects_request_builder.go b/identitygovernance/entitlement_management_subjects_request_builder.go index c4e815940f5..254da6ff263 100644 --- a/identitygovernance/entitlement_management_subjects_request_builder.go +++ b/identitygovernance/entitlement_management_subjects_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementSubjectsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessPackageSubjectIdString provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. -func (m *EntitlementManagementSubjectsRequestBuilder) ByAccessPackageSubjectIdString(accessPackageSubjectId string)(*EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder) { +// ByAccessPackageSubjectId provides operations to manage the subjects property of the microsoft.graph.entitlementManagement entity. +func (m *EntitlementManagementSubjectsRequestBuilder) ByAccessPackageSubjectId(accessPackageSubjectId string)(*EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementSubjectsRequestBuilder) ToPostRequestInformation(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 *EntitlementManagementSubjectsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementSubjectsRequestBuilder) { + return NewEntitlementManagementSubjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/identity_governance_request_builder.go b/identitygovernance/identity_governance_request_builder.go index a905bbc720d..b792158b7dc 100644 --- a/identitygovernance/identity_governance_request_builder.go +++ b/identitygovernance/identity_governance_request_builder.go @@ -146,3 +146,7 @@ func (m *IdentityGovernanceRequestBuilder) ToPatchRequestInformation(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 *IdentityGovernanceRequestBuilder) WithUrl(rawUrl string)(*IdentityGovernanceRequestBuilder) { + return NewIdentityGovernanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_custom_task_extensions_count_request_builder.go b/identitygovernance/lifecycle_workflows_custom_task_extensions_count_request_builder.go index 8704aebe596..0163c9059d6 100644 --- a/identitygovernance/lifecycle_workflows_custom_task_extensions_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_custom_task_extensions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsCountRequestBuilder) ToGetRequest } 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 *LifecycleWorkflowsCustomTaskExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsCustomTaskExtensionsCountRequestBuilder) { + return NewLifecycleWorkflowsCustomTaskExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_custom_task_extensions_custom_task_extension_item_request_builder.go b/identitygovernance/lifecycle_workflows_custom_task_extensions_custom_task_extension_item_request_builder.go index b05be07ee18..1e7ed371fea 100644 --- a/identitygovernance/lifecycle_workflows_custom_task_extensions_custom_task_extension_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_custom_task_extensions_custom_task_extension_item_request_builder.go @@ -170,3 +170,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBui } 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 *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilder) { + return NewLifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_custom_task_extensions_item_created_by_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_custom_task_extensions_item_created_by_mailbox_settings_request_builder.go index 4ca95e03b4b..ca9177ede00 100644 --- a/identitygovernance/lifecycle_workflows_custom_task_extensions_item_created_by_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_custom_task_extensions_item_created_by_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsItemCreatedByMailboxSettingsReque } 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 *LifecycleWorkflowsCustomTaskExtensionsItemCreatedByMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsCustomTaskExtensionsItemCreatedByMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsCustomTaskExtensionsItemCreatedByMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_custom_task_extensions_item_created_by_request_builder.go b/identitygovernance/lifecycle_workflows_custom_task_extensions_item_created_by_request_builder.go index 0c20ef98526..1ce81865675 100644 --- a/identitygovernance/lifecycle_workflows_custom_task_extensions_item_created_by_request_builder.go +++ b/identitygovernance/lifecycle_workflows_custom_task_extensions_item_created_by_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsItemCreatedByRequestBuilder) ToGe } 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 *LifecycleWorkflowsCustomTaskExtensionsItemCreatedByRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsCustomTaskExtensionsItemCreatedByRequestBuilder) { + return NewLifecycleWorkflowsCustomTaskExtensionsItemCreatedByRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_custom_task_extensions_item_last_modified_by_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_custom_task_extensions_item_last_modified_by_mailbox_settings_request_builder.go index 1a9b6066400..a280feb7838 100644 --- a/identitygovernance/lifecycle_workflows_custom_task_extensions_item_last_modified_by_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_custom_task_extensions_item_last_modified_by_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByMailboxSettings } 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 *LifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_custom_task_extensions_item_last_modified_by_request_builder.go b/identitygovernance/lifecycle_workflows_custom_task_extensions_item_last_modified_by_request_builder.go index 0b91c850321..20eed7b21a2 100644 --- a/identitygovernance/lifecycle_workflows_custom_task_extensions_item_last_modified_by_request_builder.go +++ b/identitygovernance/lifecycle_workflows_custom_task_extensions_item_last_modified_by_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByRequestBuilder) } 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 *LifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByRequestBuilder) { + return NewLifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_custom_task_extensions_request_builder.go b/identitygovernance/lifecycle_workflows_custom_task_extensions_request_builder.go index fc1c404e7b9..c230312248f 100644 --- a/identitygovernance/lifecycle_workflows_custom_task_extensions_request_builder.go +++ b/identitygovernance/lifecycle_workflows_custom_task_extensions_request_builder.go @@ -46,8 +46,8 @@ type LifecycleWorkflowsCustomTaskExtensionsRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCustomTaskExtensionIdString provides operations to manage the customTaskExtensions property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. -func (m *LifecycleWorkflowsCustomTaskExtensionsRequestBuilder) ByCustomTaskExtensionIdString(customTaskExtensionId string)(*LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilder) { +// ByCustomTaskExtensionId provides operations to manage the customTaskExtensions property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. +func (m *LifecycleWorkflowsCustomTaskExtensionsRequestBuilder) ByCustomTaskExtensionId(customTaskExtensionId string)(*LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsRequestBuilder) ToPostRequestInfo } 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 *LifecycleWorkflowsCustomTaskExtensionsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsCustomTaskExtensionsRequestBuilder) { + return NewLifecycleWorkflowsCustomTaskExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_request_builder.go index 0ef16e12a19..a4f05a0f5e0 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_request_builder.go @@ -110,6 +110,10 @@ func (m *LifecycleWorkflowsDeletedItemsRequestBuilder) ToGetRequestInformation(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 *LifecycleWorkflowsDeletedItemsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} // Workflows provides operations to manage the workflows property of the microsoft.graph.deletedItemContainer entity. func (m *LifecycleWorkflowsDeletedItemsRequestBuilder) Workflows()(*LifecycleWorkflowsDeletedItemsWorkflowsRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_count_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_count_request_builder.go index e8e056ac71e..c8b90b79746 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsCountRequestBuilder) ToGetReques } 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 *LifecycleWorkflowsDeletedItemsWorkflowsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_created_by_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_created_by_mailbox_settings_request_builder.go index b397070e0bd..360527e849f 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_created_by_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_created_by_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByMailboxSettingsRequ } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_created_by_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_created_by_request_builder.go index 8dfa516b329..ead2578dfe2 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_created_by_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_created_by_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByRequestBuilder) ToG } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_count_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_count_request_builder.go index b750f2d4cc9..8f259b06351 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeCountRequestBu } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_request_builder.go index 6411ba557f7..a97af229a9a 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_request_builder.go @@ -39,8 +39,8 @@ type LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeRequestBuilderGetR // Request query parameters QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeRequestBuilderGetQueryParameters } -// ByUserProcessingResultIdString provides operations to manage the executionScope property of the microsoft.graph.identityGovernance.workflow entity. -func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeRequestBuilder) ByUserProcessingResultIdString(userProcessingResultId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilder) { +// ByUserProcessingResultId provides operations to manage the executionScope property of the microsoft.graph.identityGovernance.workflow entity. +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeRequestBuilder) ByUserProcessingResultId(userProcessingResultId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeRequestBuilder } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_user_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_user_processing_result_item_request_builder.go index a220cb6c1a8..630614c4584 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_user_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_user_processing_result_item_request_builder.go @@ -75,3 +75,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeUserProcessing } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_last_modified_by_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_last_modified_by_mailbox_settings_request_builder.go index 8302fe92b3c..dade221128d 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_last_modified_by_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_last_modified_by_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByMailboxSetting } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_last_modified_by_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_last_modified_by_request_builder.go index 3aa0f90218e..1d15a468284 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_last_modified_by_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_last_modified_by_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByRequestBuilder } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go index 1f64a9de942..62e536c72b8 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go @@ -65,3 +65,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovern } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go index d6870d8ae76..160ef0a0356 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go @@ -70,3 +70,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovern } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go index 4bd5e43bcf6..dbef6142c30 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovern } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_count_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_count_request_builder.go index 106230aaf28..6b4df057a60 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsCountRequestBuilder) ToG } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_count_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_count_request_builder.go index 184e2f7ccc6..85db394597c 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResult } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 4262caaea1d..ae9a4120f81 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -65,3 +65,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResult } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index 91f5947e469..fa7d2a1af95 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResult } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_subject_request_builder.go index 84e142f24a0..23ce589ceea 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_subject_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResult } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_task_request_builder.go index a7a8153a7c1..2d694ed3608 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_task_request_builder.go @@ -75,3 +75,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResult } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemTaskRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemTaskRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemTaskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_request_builder.go index 10807d01f3f..2606b473bb9 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_request_builder.go @@ -39,8 +39,8 @@ type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsReq // Request query parameters QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilderGetQueryParameters } -// ByTaskProcessingResultIdString provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.run entity. -func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultIdString(taskProcessingResultId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { +// ByTaskProcessingResultId provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.run entity. +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultId(taskProcessingResultId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResult } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_task_processing_result_item_request_builder.go index 2bf2cfeef48..b6cde5bbc73 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_task_processing_result_item_request_builder.go @@ -87,3 +87,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResult } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_count_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_count_request_builder.go index 4272e9e4382..eed5cf35287 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_subject_mailbox_settings_request_builder.go index 4cc8693ba2d..7f7cba92d18 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_subject_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_subject_request_builder.go index 176eceae687..26d5e0d439d 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_subject_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_count_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_count_request_builder.go index 404e5f06dbe..5e6a9c980ac 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 4b1fd29e9f9..9be6214bad1 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -65,3 +65,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index 333c69dedf8..5236bfac53a 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go index 8c101c3c8fd..9ca38dbf8cc 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_task_request_builder.go index facddb100a1..be6fa635372 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_task_request_builder.go @@ -75,3 +75,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemTaskRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemTaskRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemTaskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go index abaa537ec52..fe785c01a01 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go @@ -39,8 +39,8 @@ type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsIte // Request query parameters QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetQueryParameters } -// ByTaskProcessingResultIdString provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. -func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultIdString(taskProcessingResultId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { +// ByTaskProcessingResultId provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultId(taskProcessingResultId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go index 85e03d235c0..070b61e63b6 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go @@ -87,3 +87,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go index c1b2d6f75c5..31b3b7cdc38 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go @@ -70,3 +70,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_request_builder.go index 189771d8aa7..6b31f3e8bd3 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_request_builder.go @@ -40,8 +40,8 @@ type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsReq // Request query parameters QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsRequestBuilderGetQueryParameters } -// ByUserProcessingResultIdString provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.run entity. -func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsRequestBuilder) ByUserProcessingResultIdString(userProcessingResultId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) { +// ByUserProcessingResultId provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.run entity. +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsRequestBuilder) ByUserProcessingResultId(userProcessingResultId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -110,3 +110,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go index 3344727fdc4..9b71ffedc3b 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go @@ -86,3 +86,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go index 0c36b73f96c..4d41ffd43bc 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go @@ -70,3 +70,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsMicrosoftGraphIdentityGo } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_request_builder.go index b9600690938..e2e3bb30d79 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_request_builder.go @@ -40,8 +40,8 @@ type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilderGetRequestConf // Request query parameters QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilderGetQueryParameters } -// ByRunIdString provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity. -func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilder) ByRunIdString(runId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder) { +// ByRunId provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity. +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilder) ByRunId(runId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -110,3 +110,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilder) ToGetReq } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_run_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_run_item_request_builder.go index 13e7c349827..134409e0524 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_run_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_run_item_request_builder.go @@ -86,3 +86,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder) T func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder) UserProcessingResults()(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_count_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_count_request_builder.go index 1b5703ad333..184e16bf50f 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsCountRequestBuild } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_definition_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_definition_request_builder.go index 8a63ab6dc47..1a4f6d23df4 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_definition_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskDefinitio } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskDefinitionRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskDefinitionRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_count_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_count_request_builder.go index 6850ea9dea5..8e85d032a21 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessin } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index ed451b7ac2e..955b32dfe44 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -65,3 +65,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessin } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index f3455d48996..8474f329763 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessin } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_subject_request_builder.go index 5ea499a5b42..3d64d57c4ef 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_subject_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessin } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_task_request_builder.go index 48af36f5eb5..43a65c324c7 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_task_request_builder.go @@ -75,3 +75,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessin } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemTaskRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemTaskRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemTaskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_request_builder.go index 96b70bf7cf5..4c95c3f2770 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_request_builder.go @@ -39,8 +39,8 @@ type LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingRes // Request query parameters QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilderGetQueryParameters } -// ByTaskProcessingResultIdString provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.taskReport entity. -func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultIdString(taskProcessingResultId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { +// ByTaskProcessingResultId provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.taskReport entity. +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultId(taskProcessingResultId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessin } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_task_processing_result_item_request_builder.go index 4082338e283..e68b4508479 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_task_processing_result_item_request_builder.go @@ -87,3 +87,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessin } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_request_builder.go index 89721e6e42b..1148fc49ed2 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_request_builder.go @@ -75,3 +75,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskRequestBu } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go index 2129174c8d2..b4647325cc9 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go @@ -70,3 +70,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsMicrosoftGraphIde } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_request_builder.go index 34d68ffbb42..0282b496115 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_request_builder.go @@ -40,8 +40,8 @@ type LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsRequestBuilderGetRequ // Request query parameters QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsRequestBuilderGetQueryParameters } -// ByTaskReportIdString provides operations to manage the taskReports property of the microsoft.graph.identityGovernance.workflow entity. -func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsRequestBuilder) ByTaskReportIdString(taskReportId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsTaskReportItemRequestBuilder) { +// ByTaskReportId provides operations to manage the taskReports property of the microsoft.graph.identityGovernance.workflow entity. +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsRequestBuilder) ByTaskReportId(taskReportId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsTaskReportItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -110,3 +110,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsRequestBuilder) T } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_task_report_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_task_report_item_request_builder.go index d79062f7b34..6aece7554ec 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_task_report_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_task_report_item_request_builder.go @@ -87,3 +87,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsTaskReportItemReq } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsTaskReportItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsTaskReportItemRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsTaskReportItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_count_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_count_request_builder.go index 485b3acced3..d7823ee718b 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksCountRequestBuilder) To } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTasksCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_count_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_count_request_builder.go index 231481ae342..9ee310950ee 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResul } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index edd14a1be7b..f51123d2fc1 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -65,3 +65,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResul } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index 6f315261964..a9830a340da 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResul } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_subject_request_builder.go index ee5fefc2a65..4718eaedfc8 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_subject_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResul } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_task_request_builder.go index f8708c576d8..7f153e1b2f1 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_task_request_builder.go @@ -75,3 +75,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResul } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemTaskRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemTaskRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemTaskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_request_builder.go index 792d1b8cf63..a4bf0cb885c 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_request_builder.go @@ -39,8 +39,8 @@ type LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsRe // Request query parameters QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsRequestBuilderGetQueryParameters } -// ByTaskProcessingResultIdString provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. -func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultIdString(taskProcessingResultId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { +// ByTaskProcessingResultId provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultId(taskProcessingResultId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResul } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go index 8424e8c43df..90a8f749a38 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go @@ -87,3 +87,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResul } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_request_builder.go index c75679952fd..50102145bf5 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_request_builder.go @@ -46,8 +46,8 @@ type LifecycleWorkflowsDeletedItemsWorkflowsItemTasksRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTaskIdString provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. -func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksRequestBuilder) ByTaskIdString(taskId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTasksTaskItemRequestBuilder) { +// ByTaskId provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksRequestBuilder) ByTaskId(taskId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTasksTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksRequestBuilder) ToPostR } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTasksRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_task_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_task_item_request_builder.go index 37151c8d2d7..76deb12b091 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_task_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_task_item_request_builder.go @@ -157,3 +157,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksTaskItemRequestBuilder) } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksTaskItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTasksTaskItemRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTasksTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_count_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_count_request_builder.go index 2cf90e64052..2c61bedfe9a 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsCountRe } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_subject_mailbox_settings_request_builder.go index 8b85aab5243..d466febb892 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_subject_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSub } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_subject_request_builder.go index 25d867c14ff..adc716c835f 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_subject_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSub } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_count_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_count_request_builder.go index 4f26b45b765..a7d95b3a120 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTas } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 3e40f407254..c625427f7cd 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -65,3 +65,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTas } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index 8bec5027a3a..2143179a791 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTas } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go index 5153f0403de..46752f75d44 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTas } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_task_request_builder.go index 3e72e74eea5..3198bc52eb3 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_task_request_builder.go @@ -75,3 +75,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTas } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemTaskRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemTaskRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemTaskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_request_builder.go index 1836557129f..19675a41346 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_request_builder.go @@ -39,8 +39,8 @@ type LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskPro // Request query parameters QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetQueryParameters } -// ByTaskProcessingResultIdString provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. -func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultIdString(taskProcessingResultId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { +// ByTaskProcessingResultId provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultId(taskProcessingResultId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTas } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go index 7b8ab0380e7..d03ecef71a2 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go @@ -87,3 +87,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTas } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go index 6311da81531..4a390bae5bb 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go @@ -70,3 +70,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsMicroso } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_request_builder.go index a9f53fa521b..ad67986961e 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_request_builder.go @@ -40,8 +40,8 @@ type LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsRequestBuil // Request query parameters QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsRequestBuilderGetQueryParameters } -// ByUserProcessingResultIdString provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.workflow entity. -func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsRequestBuilder) ByUserProcessingResultIdString(userProcessingResultId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) { +// ByUserProcessingResultId provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.workflow entity. +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsRequestBuilder) ByUserProcessingResultId(userProcessingResultId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -110,3 +110,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsRequest } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_user_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_user_processing_result_item_request_builder.go index 05bf923fea4..5e28f0597d4 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_user_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_user_processing_result_item_request_builder.go @@ -83,3 +83,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsUserPro } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_count_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_count_request_builder.go index db7f1e95c28..fac32b0145a 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsCountRequestBuilder) } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_created_by_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_created_by_mailbox_settings_request_builder.go index 9a67e8ab2ff..7021e023384 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_created_by_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_created_by_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByMailbox } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_created_by_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_created_by_request_builder.go index 5fdca65f56b..a7ba67c253a 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_created_by_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_created_by_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByRequest } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_last_modified_by_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_last_modified_by_mailbox_settings_request_builder.go index f914e677493..1bbbf490a3b 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_last_modified_by_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_last_modified_by_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedByMa } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedByMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedByMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedByMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_last_modified_by_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_last_modified_by_request_builder.go index 7f7ea0fed06..6266eb4a534 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_last_modified_by_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_last_modified_by_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedByRe } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedByRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedByRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedByRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_count_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_count_request_builder.go index ab0fc56e287..0946c5f9f97 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksCountReques } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_count_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_count_request_builder.go index 8b242832858..702c04765aa 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskPro } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsCountRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index b0e77d3b3c9..0092d7f9a63 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -65,3 +65,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskPro } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index 2742b3d1e6c..e5994f7bd6e 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskPro } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_request_builder.go index e1a8a920986..f008fafe1f0 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskPro } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_task_request_builder.go index 24c22504c66..71ad3f89365 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_task_request_builder.go @@ -75,3 +75,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskPro } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemTaskRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemTaskRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemTaskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_request_builder.go index 317cc9f3dec..7f649429f9c 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_request_builder.go @@ -39,8 +39,8 @@ type LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcess // Request query parameters QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsRequestBuilderGetQueryParameters } -// ByTaskProcessingResultIdString provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. -func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultIdString(taskProcessingResultId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { +// ByTaskProcessingResultId provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultId(taskProcessingResultId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskPro } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go index 5e665b72780..745dedab639 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go @@ -87,3 +87,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskPro } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_request_builder.go index 8198b95fa71..c4c6fa40a61 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_request_builder.go @@ -46,8 +46,8 @@ type LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksRequestBuilderP // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTaskIdString provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. -func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksRequestBuilder) ByTaskIdString(taskId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksTaskItemRequestBuilder) { +// ByTaskId provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. +func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksRequestBuilder) ByTaskId(taskId string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksRequestBuil } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_task_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_task_item_request_builder.go index 3ebd455e071..a17834fdecc 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_task_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_task_item_request_builder.go @@ -157,3 +157,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksTaskItemReq } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksTaskItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksTaskItemRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_request_builder.go index f7010ac30fe..9553855af96 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_request_builder.go @@ -116,3 +116,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsRequestBuilder) ToGe } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_workflow_version_version_number_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_workflow_version_version_number_item_request_builder.go index 63264ef3a70..5ee21856535 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_workflow_version_version_number_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_workflow_version_version_number_item_request_builder.go @@ -90,3 +90,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsWorkflowVersionVersi } 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 *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_request_builder.go index ddf9ca0791b..41b23d8c7f3 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_request_builder.go @@ -39,8 +39,8 @@ type LifecycleWorkflowsDeletedItemsWorkflowsRequestBuilderGetRequestConfiguratio // Request query parameters QueryParameters *LifecycleWorkflowsDeletedItemsWorkflowsRequestBuilderGetQueryParameters } -// ByWorkflowIdString provides operations to manage the workflows property of the microsoft.graph.deletedItemContainer entity. -func (m *LifecycleWorkflowsDeletedItemsWorkflowsRequestBuilder) ByWorkflowIdString(workflowId string)(*LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) { +// ByWorkflowId provides operations to manage the workflows property of the microsoft.graph.deletedItemContainer entity. +func (m *LifecycleWorkflowsDeletedItemsWorkflowsRequestBuilder) ByWorkflowId(workflowId string)(*LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsRequestBuilder) ToGetRequestInfo } 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 *LifecycleWorkflowsDeletedItemsWorkflowsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_workflow_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_workflow_item_request_builder.go index 9aa65cf121e..1bde91518c9 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_workflow_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_workflow_item_request_builder.go @@ -160,3 +160,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) User func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) Versions()(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) { + return NewLifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_request_builder.go b/identitygovernance/lifecycle_workflows_request_builder.go index 68a047150f0..26cbe724058 100644 --- a/identitygovernance/lifecycle_workflows_request_builder.go +++ b/identitygovernance/lifecycle_workflows_request_builder.go @@ -169,6 +169,10 @@ func (m *LifecycleWorkflowsRequestBuilder) ToPatchRequestInformation(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 *LifecycleWorkflowsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsRequestBuilder) { + return NewLifecycleWorkflowsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} // Workflows provides operations to manage the workflows property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. func (m *LifecycleWorkflowsRequestBuilder) Workflows()(*LifecycleWorkflowsWorkflowsRequestBuilder) { return NewLifecycleWorkflowsWorkflowsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) diff --git a/identitygovernance/lifecycle_workflows_settings_request_builder.go b/identitygovernance/lifecycle_workflows_settings_request_builder.go index 1431662235c..52da9719e80 100644 --- a/identitygovernance/lifecycle_workflows_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_settings_request_builder.go @@ -124,3 +124,7 @@ func (m *LifecycleWorkflowsSettingsRequestBuilder) ToPatchRequestInformation(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 *LifecycleWorkflowsSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsSettingsRequestBuilder) { + return NewLifecycleWorkflowsSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_task_definitions_count_request_builder.go b/identitygovernance/lifecycle_workflows_task_definitions_count_request_builder.go index 7902a42c1f8..8f8f1bf9ebe 100644 --- a/identitygovernance/lifecycle_workflows_task_definitions_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_task_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsTaskDefinitionsCountRequestBuilder) ToGetRequestInfor } 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 *LifecycleWorkflowsTaskDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsTaskDefinitionsCountRequestBuilder) { + return NewLifecycleWorkflowsTaskDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_task_definitions_request_builder.go b/identitygovernance/lifecycle_workflows_task_definitions_request_builder.go index 4afdf1f315d..f4c081d5698 100644 --- a/identitygovernance/lifecycle_workflows_task_definitions_request_builder.go +++ b/identitygovernance/lifecycle_workflows_task_definitions_request_builder.go @@ -39,8 +39,8 @@ type LifecycleWorkflowsTaskDefinitionsRequestBuilderGetRequestConfiguration stru // Request query parameters QueryParameters *LifecycleWorkflowsTaskDefinitionsRequestBuilderGetQueryParameters } -// ByTaskDefinitionIdString provides operations to manage the taskDefinitions property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. -func (m *LifecycleWorkflowsTaskDefinitionsRequestBuilder) ByTaskDefinitionIdString(taskDefinitionId string)(*LifecycleWorkflowsTaskDefinitionsTaskDefinitionItemRequestBuilder) { +// ByTaskDefinitionId provides operations to manage the taskDefinitions property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. +func (m *LifecycleWorkflowsTaskDefinitionsRequestBuilder) ByTaskDefinitionId(taskDefinitionId string)(*LifecycleWorkflowsTaskDefinitionsTaskDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *LifecycleWorkflowsTaskDefinitionsRequestBuilder) 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 *LifecycleWorkflowsTaskDefinitionsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsTaskDefinitionsRequestBuilder) { + return NewLifecycleWorkflowsTaskDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_task_definitions_task_definition_item_request_builder.go b/identitygovernance/lifecycle_workflows_task_definitions_task_definition_item_request_builder.go index eb4dd8ccbb8..5ff146fe8a0 100644 --- a/identitygovernance/lifecycle_workflows_task_definitions_task_definition_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_task_definitions_task_definition_item_request_builder.go @@ -78,3 +78,7 @@ func (m *LifecycleWorkflowsTaskDefinitionsTaskDefinitionItemRequestBuilder) ToGe } 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 *LifecycleWorkflowsTaskDefinitionsTaskDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsTaskDefinitionsTaskDefinitionItemRequestBuilder) { + return NewLifecycleWorkflowsTaskDefinitionsTaskDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_count_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_count_request_builder.go index 2bf956dbb90..0a16a6ea540 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesCountRequestBuilder) ToGetRequestInf } 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 *LifecycleWorkflowsWorkflowTemplatesCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowTemplatesCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowTemplatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_count_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_count_request_builder.go index 86abe5f7d52..8045002c9e7 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksCountRequestBuilder) ToGetR } 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 *LifecycleWorkflowsWorkflowTemplatesItemTasksCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowTemplatesItemTasksCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowTemplatesItemTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_count_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_count_request_builder.go index f8e26c51105..86c6e5110ff 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsCo } 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 *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 846b5964784..aec0cae1a4d 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -65,3 +65,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsIt } 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 *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) { + return NewLifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index 1f18d94046e..8b12de789ad 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsIt } 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 *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_subject_request_builder.go index 64aa85d7d19..49008ec6980 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_subject_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsIt } 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 *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemSubjectRequestBuilder) { + return NewLifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_task_request_builder.go index 15984d5f05f..3ab3acde8fc 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_task_request_builder.go @@ -75,3 +75,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsIt } 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 *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemTaskRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemTaskRequestBuilder) { + return NewLifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemTaskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_request_builder.go index 423a9fdf3bf..c1ca12e9f39 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_request_builder.go @@ -39,8 +39,8 @@ type LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsReques // Request query parameters QueryParameters *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsRequestBuilderGetQueryParameters } -// ByTaskProcessingResultIdString provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. -func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultIdString(taskProcessingResultId string)(*LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { +// ByTaskProcessingResultId provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. +func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultId(taskProcessingResultId string)(*LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsRe } 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 *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go index 927340f1317..6bff52c3414 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go @@ -87,3 +87,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsTa } 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 *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { + return NewLifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_request_builder.go index ed94bc6e00c..bc848e64bbb 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_request_builder.go @@ -39,8 +39,8 @@ type LifecycleWorkflowsWorkflowTemplatesItemTasksRequestBuilderGetRequestConfigu // Request query parameters QueryParameters *LifecycleWorkflowsWorkflowTemplatesItemTasksRequestBuilderGetQueryParameters } -// ByTaskIdString provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowTemplate entity. -func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksRequestBuilder) ByTaskIdString(taskId string)(*LifecycleWorkflowsWorkflowTemplatesItemTasksTaskItemRequestBuilder) { +// ByTaskId provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowTemplate entity. +func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksRequestBuilder) ByTaskId(taskId string)(*LifecycleWorkflowsWorkflowTemplatesItemTasksTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksRequestBuilder) ToGetReques } 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 *LifecycleWorkflowsWorkflowTemplatesItemTasksRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowTemplatesItemTasksRequestBuilder) { + return NewLifecycleWorkflowsWorkflowTemplatesItemTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_task_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_task_item_request_builder.go index 0b657a0f89c..07a222dc5fc 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_task_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_task_item_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksTaskItemRequestBuilder) ToG } 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 *LifecycleWorkflowsWorkflowTemplatesItemTasksTaskItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowTemplatesItemTasksTaskItemRequestBuilder) { + return NewLifecycleWorkflowsWorkflowTemplatesItemTasksTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_request_builder.go index 02136e8f8f4..41e9e1d7ade 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_request_builder.go @@ -39,8 +39,8 @@ type LifecycleWorkflowsWorkflowTemplatesRequestBuilderGetRequestConfiguration st // Request query parameters QueryParameters *LifecycleWorkflowsWorkflowTemplatesRequestBuilderGetQueryParameters } -// ByWorkflowTemplateIdString provides operations to manage the workflowTemplates property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. -func (m *LifecycleWorkflowsWorkflowTemplatesRequestBuilder) ByWorkflowTemplateIdString(workflowTemplateId string)(*LifecycleWorkflowsWorkflowTemplatesWorkflowTemplateItemRequestBuilder) { +// ByWorkflowTemplateId provides operations to manage the workflowTemplates property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. +func (m *LifecycleWorkflowsWorkflowTemplatesRequestBuilder) ByWorkflowTemplateId(workflowTemplateId string)(*LifecycleWorkflowsWorkflowTemplatesWorkflowTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesRequestBuilder) ToGetRequestInformat } 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 *LifecycleWorkflowsWorkflowTemplatesRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowTemplatesRequestBuilder) { + return NewLifecycleWorkflowsWorkflowTemplatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_workflow_template_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_workflow_template_item_request_builder.go index 129fef91054..01a553629a9 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_workflow_template_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_workflow_template_item_request_builder.go @@ -82,3 +82,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesWorkflowTemplateItemRequestBuilder) } 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 *LifecycleWorkflowsWorkflowTemplatesWorkflowTemplateItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowTemplatesWorkflowTemplateItemRequestBuilder) { + return NewLifecycleWorkflowsWorkflowTemplatesWorkflowTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_count_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_count_request_builder.go index 6183da5f4e1..4f4acc4b05b 100644 --- a/identitygovernance/lifecycle_workflows_workflows_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsWorkflowsCountRequestBuilder) 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 *LifecycleWorkflowsWorkflowsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_created_by_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_created_by_mailbox_settings_request_builder.go index aefc30c2945..68509ca2981 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_created_by_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_created_by_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsWorkflowsItemCreatedByMailboxSettingsRequestBuilder) } 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 *LifecycleWorkflowsWorkflowsItemCreatedByMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemCreatedByMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemCreatedByMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_created_by_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_created_by_request_builder.go index 94ddc538b0c..e187b39ba27 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_created_by_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_created_by_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsWorkflowsItemCreatedByRequestBuilder) ToGetRequestInf } 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 *LifecycleWorkflowsWorkflowsItemCreatedByRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemCreatedByRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemCreatedByRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_count_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_count_request_builder.go index 9cd8dfbc033..71462a36203 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsWorkflowsItemExecutionScopeCountRequestBuilder) ToGet } 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 *LifecycleWorkflowsWorkflowsItemExecutionScopeCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemExecutionScopeCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemExecutionScopeCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_request_builder.go index f9c73fe0d9d..223821a2109 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_request_builder.go @@ -39,8 +39,8 @@ type LifecycleWorkflowsWorkflowsItemExecutionScopeRequestBuilderGetRequestConfig // Request query parameters QueryParameters *LifecycleWorkflowsWorkflowsItemExecutionScopeRequestBuilderGetQueryParameters } -// ByUserProcessingResultIdString provides operations to manage the executionScope property of the microsoft.graph.identityGovernance.workflow entity. -func (m *LifecycleWorkflowsWorkflowsItemExecutionScopeRequestBuilder) ByUserProcessingResultIdString(userProcessingResultId string)(*LifecycleWorkflowsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilder) { +// ByUserProcessingResultId provides operations to manage the executionScope property of the microsoft.graph.identityGovernance.workflow entity. +func (m *LifecycleWorkflowsWorkflowsItemExecutionScopeRequestBuilder) ByUserProcessingResultId(userProcessingResultId string)(*LifecycleWorkflowsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *LifecycleWorkflowsWorkflowsItemExecutionScopeRequestBuilder) ToGetReque } 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 *LifecycleWorkflowsWorkflowsItemExecutionScopeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemExecutionScopeRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemExecutionScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_user_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_user_processing_result_item_request_builder.go index 1a27f31e849..c45df5aff04 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_user_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_user_processing_result_item_request_builder.go @@ -75,3 +75,7 @@ func (m *LifecycleWorkflowsWorkflowsItemExecutionScopeUserProcessingResultItemRe } 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 *LifecycleWorkflowsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemExecutionScopeUserProcessingResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_last_modified_by_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_last_modified_by_mailbox_settings_request_builder.go index 889bf048c6f..2b40b71e55b 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_last_modified_by_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_last_modified_by_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsWorkflowsItemLastModifiedByMailboxSettingsRequestBuil } 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 *LifecycleWorkflowsWorkflowsItemLastModifiedByMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemLastModifiedByMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemLastModifiedByMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_last_modified_by_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_last_modified_by_request_builder.go index b770156425b..8d559c7bcba 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_last_modified_by_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_last_modified_by_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsWorkflowsItemLastModifiedByRequestBuilder) ToGetReque } 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 *LifecycleWorkflowsWorkflowsItemLastModifiedByRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemLastModifiedByRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemLastModifiedByRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go index b4c9366e263..c7f2b39b476 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go @@ -65,3 +65,7 @@ func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivate } 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 *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go index 0056b5ebfae..efe480daf93 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go @@ -70,3 +70,7 @@ func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNe } 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 *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go index 770b54f5585..0fbf57e1862 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreR } 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 *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_count_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_count_request_builder.go index 0526b67c38c..802011f2af5 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsCountRequestBuilder) ToGetRequestInf } 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 *LifecycleWorkflowsWorkflowsItemRunsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_count_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_count_request_builder.go index c02b8e23093..59a82918f54 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsCountReques } 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 *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 018c16ea866..4219edcd28a 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -65,3 +65,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemMicroso } 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 *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index d91a3a811c8..692dc2b53d9 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubject } 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 *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_subject_request_builder.go index 625185239a3..c11e4616814 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_subject_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubject } 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 *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_task_request_builder.go index 032e380a349..f551753923a 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_task_request_builder.go @@ -75,3 +75,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemTaskReq } 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 *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemTaskRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemTaskRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemTaskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_request_builder.go index cad0c21fb24..011d42d5649 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_request_builder.go @@ -39,8 +39,8 @@ type LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilderG // Request query parameters QueryParameters *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilderGetQueryParameters } -// ByTaskProcessingResultIdString provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.run entity. -func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultIdString(taskProcessingResultId string)(*LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { +// ByTaskProcessingResultId provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.run entity. +func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultId(taskProcessingResultId string)(*LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuil } 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 *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_task_processing_result_item_request_builder.go index 43f90c598e8..93089a72a46 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_task_processing_result_item_request_builder.go @@ -87,3 +87,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsTaskProcess } 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 *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_count_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_count_request_builder.go index 749bb689d3a..194bfc065f2 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsCountReques } 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 *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_mailbox_settings_request_builder.go index 83a2693d6e1..f94105f42cb 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubject } 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 *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_request_builder.go index 40eb79a7a81..484eceb0295 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubject } 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 *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_count_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_count_request_builder.go index 5ff6f75ce21..7cc29d340e8 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskPro } 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 *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 0e2b057e8ce..253fc66796e 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -65,3 +65,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskPro } 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 *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index c3dbe85abd7..4df21b5df30 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskPro } 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 *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go index 008a7d88e71..c7d66f36cf2 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskPro } 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 *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_task_request_builder.go index 0e1e793c872..6081243530e 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_task_request_builder.go @@ -75,3 +75,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskPro } 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 *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemTaskRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemTaskRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemTaskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go index 59e9fc336e0..8afc6b16dfb 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go @@ -39,8 +39,8 @@ type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcess // Request query parameters QueryParameters *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetQueryParameters } -// ByTaskProcessingResultIdString provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. -func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultIdString(taskProcessingResultId string)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { +// ByTaskProcessingResultId provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. +func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultId(taskProcessingResultId string)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskPro } 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 *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go index 2b28b074e7f..4648088288d 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go @@ -87,3 +87,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskPro } 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 *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go index 15cffd79f95..1782628f8fc 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go @@ -70,3 +70,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsMicrosoftGr } 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 *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_request_builder.go index 7c77863b7a4..96a4050f8d2 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_request_builder.go @@ -40,8 +40,8 @@ type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuilderG // Request query parameters QueryParameters *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuilderGetQueryParameters } -// ByUserProcessingResultIdString provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.run entity. -func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuilder) ByUserProcessingResultIdString(userProcessingResultId string)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) { +// ByUserProcessingResultId provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.run entity. +func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuilder) ByUserProcessingResultId(userProcessingResultId string)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -110,3 +110,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuil } 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 *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go index e9a4cc80c7a..2d4ff2e01e5 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go @@ -86,3 +86,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcess } 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 *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go index 933cc58f051..bef19ba5433 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go @@ -70,3 +70,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsMicrosoftGraphIdentityGovernanceSumm } 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 *LifecycleWorkflowsWorkflowsItemRunsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_request_builder.go index 9db54a6f559..fb181f5078a 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_request_builder.go @@ -40,8 +40,8 @@ type LifecycleWorkflowsWorkflowsItemRunsRequestBuilderGetRequestConfiguration st // Request query parameters QueryParameters *LifecycleWorkflowsWorkflowsItemRunsRequestBuilderGetQueryParameters } -// ByRunIdString provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity. -func (m *LifecycleWorkflowsWorkflowsItemRunsRequestBuilder) ByRunIdString(runId string)(*LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder) { +// ByRunId provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity. +func (m *LifecycleWorkflowsWorkflowsItemRunsRequestBuilder) ByRunId(runId string)(*LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -110,3 +110,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsRequestBuilder) ToGetRequestInformat } 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 *LifecycleWorkflowsWorkflowsItemRunsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_run_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_run_item_request_builder.go index 97967f336a2..b07610e4459 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_run_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_run_item_request_builder.go @@ -86,3 +86,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder) ToGetRequestI func (m *LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder) UserProcessingResults()(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_count_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_count_request_builder.go index e5ef2e93f73..8f66f969f8d 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsCountRequestBuilder) ToGetReq } 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 *LifecycleWorkflowsWorkflowsItemTaskReportsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTaskReportsCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTaskReportsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_definition_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_definition_request_builder.go index 6ff20d96a84..6479938dc6d 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_definition_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskDefinitionRequestBuil } 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 *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskDefinitionRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskDefinitionRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTaskReportsItemTaskDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_count_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_count_request_builder.go index f52f25ca80a..a169ecc903d 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsCoun } 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 *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 72b2c4c110a..66de5154bd5 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -65,3 +65,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItem } 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 *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index d1611400a5a..78d7c0a5980 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItem } 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 *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_subject_request_builder.go index 38de67f3bae..b3b7af6c00a 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_subject_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItem } 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 *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_task_request_builder.go index fa3e663447e..a0d4605c4ca 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_task_request_builder.go @@ -75,3 +75,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItem } 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 *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemTaskRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemTaskRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemTaskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_request_builder.go index f89adcb44fb..d7e8e2e1426 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_request_builder.go @@ -39,8 +39,8 @@ type LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestB // Request query parameters QueryParameters *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilderGetQueryParameters } -// ByTaskProcessingResultIdString provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.taskReport entity. -func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultIdString(taskProcessingResultId string)(*LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { +// ByTaskProcessingResultId provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.taskReport entity. +func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultId(taskProcessingResultId string)(*LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsRequ } 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 *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_task_processing_result_item_request_builder.go index 50c1cb3ca57..4bebbc924b5 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_task_processing_result_item_request_builder.go @@ -87,3 +87,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsTask } 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 *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_request_builder.go index 2c2d41dafe2..c8415a76d79 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_request_builder.go @@ -75,3 +75,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskRequestBuilder) ToGet } 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 *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTaskReportsItemTaskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go index dfa97e85eb1..d5d92399474 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go @@ -70,3 +70,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsMicrosoftGraphIdentityGoverna } 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 *LifecycleWorkflowsWorkflowsItemTaskReportsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTaskReportsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTaskReportsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_request_builder.go index 02cd4705928..a80513710e2 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_request_builder.go @@ -40,8 +40,8 @@ type LifecycleWorkflowsWorkflowsItemTaskReportsRequestBuilderGetRequestConfigura // Request query parameters QueryParameters *LifecycleWorkflowsWorkflowsItemTaskReportsRequestBuilderGetQueryParameters } -// ByTaskReportIdString provides operations to manage the taskReports property of the microsoft.graph.identityGovernance.workflow entity. -func (m *LifecycleWorkflowsWorkflowsItemTaskReportsRequestBuilder) ByTaskReportIdString(taskReportId string)(*LifecycleWorkflowsWorkflowsItemTaskReportsTaskReportItemRequestBuilder) { +// ByTaskReportId provides operations to manage the taskReports property of the microsoft.graph.identityGovernance.workflow entity. +func (m *LifecycleWorkflowsWorkflowsItemTaskReportsRequestBuilder) ByTaskReportId(taskReportId string)(*LifecycleWorkflowsWorkflowsItemTaskReportsTaskReportItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -110,3 +110,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsRequestBuilder) ToGetRequestI } 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 *LifecycleWorkflowsWorkflowsItemTaskReportsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTaskReportsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTaskReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_task_report_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_task_report_item_request_builder.go index c503ef64ae7..8326d0c10fa 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_task_report_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_task_report_item_request_builder.go @@ -87,3 +87,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsTaskReportItemRequestBuilder) } 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 *LifecycleWorkflowsWorkflowsItemTaskReportsTaskReportItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTaskReportsTaskReportItemRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTaskReportsTaskReportItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_tasks_count_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_tasks_count_request_builder.go index bb434fe1f3b..53b845819a5 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_tasks_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_tasks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksCountRequestBuilder) ToGetRequestIn } 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 *LifecycleWorkflowsWorkflowsItemTasksCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTasksCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_count_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_count_request_builder.go index 8e6b35f1b5f..a318d7b85dc 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsCountReque } 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 *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 5f00515ba67..f59823cec14 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -65,3 +65,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemMicros } 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 *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index f05c5eaab43..d9788af9949 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjec } 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 *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_subject_request_builder.go index 81e95f910a1..38af08c8791 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_subject_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjec } 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 *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_task_request_builder.go index 66f210bb575..8940da47f58 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_task_request_builder.go @@ -75,3 +75,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemTaskRe } 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 *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemTaskRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemTaskRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemTaskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_request_builder.go index 665517fbfc7..1bae3b3436b 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_request_builder.go @@ -39,8 +39,8 @@ type LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsRequestBuilder // Request query parameters QueryParameters *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsRequestBuilderGetQueryParameters } -// ByTaskProcessingResultIdString provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. -func (m *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultIdString(taskProcessingResultId string)(*LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { +// ByTaskProcessingResultId provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. +func (m *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultId(taskProcessingResultId string)(*LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsRequestBui } 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 *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go index 398a50d469a..fae02d6d42c 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go @@ -87,3 +87,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsTaskProces } 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 *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_tasks_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_tasks_request_builder.go index ef5eb08ef68..c6cb0d3d4ff 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_tasks_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_tasks_request_builder.go @@ -46,8 +46,8 @@ type LifecycleWorkflowsWorkflowsItemTasksRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTaskIdString provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. -func (m *LifecycleWorkflowsWorkflowsItemTasksRequestBuilder) ByTaskIdString(taskId string)(*LifecycleWorkflowsWorkflowsItemTasksTaskItemRequestBuilder) { +// ByTaskId provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. +func (m *LifecycleWorkflowsWorkflowsItemTasksRequestBuilder) ByTaskId(taskId string)(*LifecycleWorkflowsWorkflowsItemTasksTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksRequestBuilder) ToPostRequestInform } 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 *LifecycleWorkflowsWorkflowsItemTasksRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTasksRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_tasks_task_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_tasks_task_item_request_builder.go index 099f1e3aca6..e418b9a897e 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_tasks_task_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_tasks_task_item_request_builder.go @@ -157,3 +157,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksTaskItemRequestBuilder) ToPatchRequ } 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 *LifecycleWorkflowsWorkflowsItemTasksTaskItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemTasksTaskItemRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemTasksTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_count_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_count_request_builder.go index 0bcce9e29eb..7623f578d6c 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsCountRequestBuilder } 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 *LifecycleWorkflowsWorkflowsItemUserProcessingResultsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_mailbox_settings_request_builder.go index 86a53217810..60ef7def7ac 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectMailboxS } 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 *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_request_builder.go index d992e0389e1..5d9261c53fb 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectRequestB } 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 *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_count_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_count_request_builder.go index 2afae502239..679ab61b4a1 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingR } 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 *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 01c0683eecf..ab5d6521c4a 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -65,3 +65,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingR } 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 *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index 4027598e3e7..507897db946 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingR } 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 *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go index c602d0b2981..9c1711a3326 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingR } 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 *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_task_request_builder.go index 3c9e28f74a6..a34dfeddaeb 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_task_request_builder.go @@ -75,3 +75,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingR } 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 *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemTaskRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemTaskRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemTaskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_request_builder.go index 665ff88c5d5..4bc6ce6cb36 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_request_builder.go @@ -39,8 +39,8 @@ type LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResul // Request query parameters QueryParameters *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetQueryParameters } -// ByTaskProcessingResultIdString provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. -func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultIdString(taskProcessingResultId string)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { +// ByTaskProcessingResultId provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.userProcessingResult entity. +func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultId(taskProcessingResultId string)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingR } 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 *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go index 84b43524c60..0381a1423b4 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go @@ -87,3 +87,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingR } 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 *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go index 7b1fa031cf7..58ee18ac303 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go @@ -70,3 +70,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsMicrosoftGraphIdent } 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 *LifecycleWorkflowsWorkflowsItemUserProcessingResultsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_request_builder.go index d237f64a0e9..c6505027d4d 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_request_builder.go @@ -40,8 +40,8 @@ type LifecycleWorkflowsWorkflowsItemUserProcessingResultsRequestBuilderGetReques // Request query parameters QueryParameters *LifecycleWorkflowsWorkflowsItemUserProcessingResultsRequestBuilderGetQueryParameters } -// ByUserProcessingResultIdString provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.workflow entity. -func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsRequestBuilder) ByUserProcessingResultIdString(userProcessingResultId string)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) { +// ByUserProcessingResultId provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.workflow entity. +func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsRequestBuilder) ByUserProcessingResultId(userProcessingResultId string)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -110,3 +110,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsRequestBuilder) ToG } 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 *LifecycleWorkflowsWorkflowsItemUserProcessingResultsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_user_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_user_processing_result_item_request_builder.go index def2aee3036..f50363b316c 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_user_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_user_processing_result_item_request_builder.go @@ -83,3 +83,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsUserProcessingResul } 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 *LifecycleWorkflowsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsUserProcessingResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_count_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_count_request_builder.go index 309934ead2d..ff0b9224bed 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsCountRequestBuilder) ToGetReques } 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 *LifecycleWorkflowsWorkflowsItemVersionsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemVersionsCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemVersionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_created_by_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_created_by_mailbox_settings_request_builder.go index 0c8abaac379..aa1d519a5d9 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_created_by_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_created_by_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemCreatedByMailboxSettingsRequ } 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 *LifecycleWorkflowsWorkflowsItemVersionsItemCreatedByMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemVersionsItemCreatedByMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemVersionsItemCreatedByMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_created_by_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_created_by_request_builder.go index 7080e24c622..f4c51b1d96c 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_created_by_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_created_by_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemCreatedByRequestBuilder) ToG } 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 *LifecycleWorkflowsWorkflowsItemVersionsItemCreatedByRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemVersionsItemCreatedByRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemVersionsItemCreatedByRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_last_modified_by_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_last_modified_by_mailbox_settings_request_builder.go index f38a6c73089..68244acfbd8 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_last_modified_by_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_last_modified_by_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByMailboxSetting } 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 *LifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_last_modified_by_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_last_modified_by_request_builder.go index 9eedd21dc60..ffe33c93a9a 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_last_modified_by_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_last_modified_by_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByRequestBuilder } 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 *LifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_count_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_count_request_builder.go index dadc8c9b6e4..39ca65d5c05 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksCountRequestBuilder) To } 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 *LifecycleWorkflowsWorkflowsItemVersionsItemTasksCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemVersionsItemTasksCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemVersionsItemTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_count_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_count_request_builder.go index 835da3f2dbc..7b3213b9cad 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_count_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResul } 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 *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsCountRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsCountRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 020785baa8a..7b94df6488a 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -65,3 +65,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResul } 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 *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index 2ab9575fcb5..fd62605c3de 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResul } 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 *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_request_builder.go index 8a7b5d94dd2..bb52d813715 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_request_builder.go @@ -79,3 +79,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResul } 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 *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_task_request_builder.go index e2e55262e6c..72f5be822e9 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_task_request_builder.go @@ -75,3 +75,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResul } 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 *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemTaskRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemTaskRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemTaskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_request_builder.go index fbe4373ebea..594f08fcbdb 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_request_builder.go @@ -39,8 +39,8 @@ type LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsRe // Request query parameters QueryParameters *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsRequestBuilderGetQueryParameters } -// ByTaskProcessingResultIdString provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. -func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultIdString(taskProcessingResultId string)(*LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { +// ByTaskProcessingResultId provides operations to manage the taskProcessingResults property of the microsoft.graph.identityGovernance.task entity. +func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsRequestBuilder) ByTaskProcessingResultId(taskProcessingResultId string)(*LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResul } 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 *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go index 6127d8876c1..eccc8b50513 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go @@ -87,3 +87,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResul } 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 *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsTaskProcessingResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_request_builder.go index 087a5173aec..e5e66c8e317 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_request_builder.go @@ -46,8 +46,8 @@ type LifecycleWorkflowsWorkflowsItemVersionsItemTasksRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTaskIdString provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. -func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksRequestBuilder) ByTaskIdString(taskId string)(*LifecycleWorkflowsWorkflowsItemVersionsItemTasksTaskItemRequestBuilder) { +// ByTaskId provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity. +func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksRequestBuilder) ByTaskId(taskId string)(*LifecycleWorkflowsWorkflowsItemVersionsItemTasksTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksRequestBuilder) ToPostR } 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 *LifecycleWorkflowsWorkflowsItemVersionsItemTasksRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemVersionsItemTasksRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemVersionsItemTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_task_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_task_item_request_builder.go index 58671c5ce9e..246244b17e8 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_task_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_task_item_request_builder.go @@ -157,3 +157,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksTaskItemRequestBuilder) } 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 *LifecycleWorkflowsWorkflowsItemVersionsItemTasksTaskItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemVersionsItemTasksTaskItemRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemVersionsItemTasksTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_request_builder.go index 0329cfe3dd2..6bb9fd096bf 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_request_builder.go @@ -116,3 +116,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsRequestBuilder) ToGetRequestInfo } 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 *LifecycleWorkflowsWorkflowsItemVersionsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemVersionsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemVersionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_workflow_version_version_number_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_workflow_version_version_number_item_request_builder.go index c7061788e89..a178b8a0707 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_workflow_version_version_number_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_workflow_version_version_number_item_request_builder.go @@ -90,3 +90,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsWorkflowVersionVersionNumberItem } 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 *LifecycleWorkflowsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_request_builder.go index 4909e8bff23..eb03e210bf2 100644 --- a/identitygovernance/lifecycle_workflows_workflows_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_request_builder.go @@ -46,8 +46,8 @@ type LifecycleWorkflowsWorkflowsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWorkflowIdString provides operations to manage the workflows property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. -func (m *LifecycleWorkflowsWorkflowsRequestBuilder) ByWorkflowIdString(workflowId string)(*LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) { +// ByWorkflowId provides operations to manage the workflows property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. +func (m *LifecycleWorkflowsWorkflowsRequestBuilder) ByWorkflowId(workflowId string)(*LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *LifecycleWorkflowsWorkflowsRequestBuilder) 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 *LifecycleWorkflowsWorkflowsRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/lifecycle_workflows_workflows_workflow_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_workflow_item_request_builder.go index 8351c723b50..088f3ccc964 100644 --- a/identitygovernance/lifecycle_workflows_workflows_workflow_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_workflow_item_request_builder.go @@ -206,3 +206,7 @@ func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) UserProcessingRe func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) Versions()(*LifecycleWorkflowsWorkflowsItemVersionsRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemVersionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) WithUrl(rawUrl string)(*LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) { + return NewLifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_approvals_approval_item_request_builder.go b/identitygovernance/privileged_access_group_assignment_approvals_approval_item_request_builder.go index d192383b751..e5274c43de2 100644 --- a/identitygovernance/privileged_access_group_assignment_approvals_approval_item_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_approvals_approval_item_request_builder.go @@ -157,3 +157,7 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsApprovalItemRequestBuilder) 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 *PrivilegedAccessGroupAssignmentApprovalsApprovalItemRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentApprovalsApprovalItemRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentApprovalsApprovalItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_approvals_count_request_builder.go b/identitygovernance/privileged_access_group_assignment_approvals_count_request_builder.go index f7e6aa815fa..bc4ef40cb9b 100644 --- a/identitygovernance/privileged_access_group_assignment_approvals_count_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_approvals_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsCountRequestBuilder) ToGetReque } 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 *PrivilegedAccessGroupAssignmentApprovalsCountRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentApprovalsCountRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentApprovalsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_approvals_filter_by_current_user_with_on_request_builder.go b/identitygovernance/privileged_access_group_assignment_approvals_filter_by_current_user_with_on_request_builder.go index a7d0b9edfe3..ef4b29906f0 100644 --- a/identitygovernance/privileged_access_group_assignment_approvals_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_approvals_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnReques } 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 *PrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_approvals_item_steps_approval_step_item_request_builder.go b/identitygovernance/privileged_access_group_assignment_approvals_item_steps_approval_step_item_request_builder.go index b0b29be478b..d95866d1b39 100644 --- a/identitygovernance/privileged_access_group_assignment_approvals_item_steps_approval_step_item_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_approvals_item_steps_approval_step_item_request_builder.go @@ -159,3 +159,7 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemReques } 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 *PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_approvals_item_steps_count_request_builder.go b/identitygovernance/privileged_access_group_assignment_approvals_item_steps_count_request_builder.go index 44e929dfe4e..1b5f26b70db 100644 --- a/identitygovernance/privileged_access_group_assignment_approvals_item_steps_count_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_approvals_item_steps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsItemStepsCountRequestBuilder) T } 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 *PrivilegedAccessGroupAssignmentApprovalsItemStepsCountRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentApprovalsItemStepsCountRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentApprovalsItemStepsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_approvals_item_steps_request_builder.go b/identitygovernance/privileged_access_group_assignment_approvals_item_steps_request_builder.go index b86da2eb84c..24dca6dc4a4 100644 --- a/identitygovernance/privileged_access_group_assignment_approvals_item_steps_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_approvals_item_steps_request_builder.go @@ -46,8 +46,8 @@ type PrivilegedAccessGroupAssignmentApprovalsItemStepsRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByApprovalStepIdString provides operations to manage the steps property of the microsoft.graph.approval entity. -func (m *PrivilegedAccessGroupAssignmentApprovalsItemStepsRequestBuilder) ByApprovalStepIdString(approvalStepId string)(*PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) { +// ByApprovalStepId provides operations to manage the steps property of the microsoft.graph.approval entity. +func (m *PrivilegedAccessGroupAssignmentApprovalsItemStepsRequestBuilder) ByApprovalStepId(approvalStepId string)(*PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsItemStepsRequestBuilder) ToPost } 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 *PrivilegedAccessGroupAssignmentApprovalsItemStepsRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentApprovalsItemStepsRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentApprovalsItemStepsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_approvals_request_builder.go b/identitygovernance/privileged_access_group_assignment_approvals_request_builder.go index 9c806a6a281..2b2ddd73713 100644 --- a/identitygovernance/privileged_access_group_assignment_approvals_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_approvals_request_builder.go @@ -46,8 +46,8 @@ type PrivilegedAccessGroupAssignmentApprovalsRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByApprovalIdString provides operations to manage the assignmentApprovals property of the microsoft.graph.privilegedAccessGroup entity. -func (m *PrivilegedAccessGroupAssignmentApprovalsRequestBuilder) ByApprovalIdString(approvalId string)(*PrivilegedAccessGroupAssignmentApprovalsApprovalItemRequestBuilder) { +// ByApprovalId provides operations to manage the assignmentApprovals property of the microsoft.graph.privilegedAccessGroup entity. +func (m *PrivilegedAccessGroupAssignmentApprovalsRequestBuilder) ByApprovalId(approvalId string)(*PrivilegedAccessGroupAssignmentApprovalsApprovalItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsRequestBuilder) ToPostRequestIn } 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 *PrivilegedAccessGroupAssignmentApprovalsRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentApprovalsRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentApprovalsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedule_instances_count_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_instances_count_request_builder.go index 9f143f73e8b..ccaadcb1a87 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_instances_count_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_instances_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesCountRequestBuilder) To } 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 *PrivilegedAccessGroupAssignmentScheduleInstancesCountRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentScheduleInstancesCountRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentScheduleInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go index 204933265a1..4319cb016d5 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWith } 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 *PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedule_instances_item_activated_using_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_instances_item_activated_using_request_builder.go index e26addb5d69..6c8e1da3636 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_instances_item_activated_using_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_instances_item_activated_using_request_builder.go @@ -75,3 +75,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesItemActivatedUsingReque } 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 *PrivilegedAccessGroupAssignmentScheduleInstancesItemActivatedUsingRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentScheduleInstancesItemActivatedUsingRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentScheduleInstancesItemActivatedUsingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedule_instances_item_group_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_instances_item_group_request_builder.go index 6b50fc5719d..5bf51e8027b 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_instances_item_group_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_instances_item_group_request_builder.go @@ -75,3 +75,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesItemGroupRequestBuilder } 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 *PrivilegedAccessGroupAssignmentScheduleInstancesItemGroupRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentScheduleInstancesItemGroupRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentScheduleInstancesItemGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedule_instances_item_principal_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_instances_item_principal_request_builder.go index 5c69e23befd..ca3ca5ec415 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_instances_item_principal_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_instances_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesItemPrincipalRequestBui } 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 *PrivilegedAccessGroupAssignmentScheduleInstancesItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentScheduleInstancesItemPrincipalRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentScheduleInstancesItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedule_instances_privileged_access_group_assignment_schedule_instance_item_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_instances_privileged_access_group_assignment_schedule_instance_item_request_builder.go index 22ded38894d..dc7d4ae7aea 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_instances_privileged_access_group_assignment_schedule_instance_item_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_instances_privileged_access_group_assignment_schedule_instance_item_request_builder.go @@ -168,3 +168,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesPrivilegedAccessGroupAs } 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 *PrivilegedAccessGroupAssignmentScheduleInstancesPrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentScheduleInstancesPrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentScheduleInstancesPrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedule_instances_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_instances_request_builder.go index f0c04313f94..9614d425617 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_instances_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_instances_request_builder.go @@ -46,8 +46,8 @@ type PrivilegedAccessGroupAssignmentScheduleInstancesRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrivilegedAccessGroupAssignmentScheduleInstanceIdString provides operations to manage the assignmentScheduleInstances property of the microsoft.graph.privilegedAccessGroup entity. -func (m *PrivilegedAccessGroupAssignmentScheduleInstancesRequestBuilder) ByPrivilegedAccessGroupAssignmentScheduleInstanceIdString(privilegedAccessGroupAssignmentScheduleInstanceId string)(*PrivilegedAccessGroupAssignmentScheduleInstancesPrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder) { +// ByPrivilegedAccessGroupAssignmentScheduleInstanceId provides operations to manage the assignmentScheduleInstances property of the microsoft.graph.privilegedAccessGroup entity. +func (m *PrivilegedAccessGroupAssignmentScheduleInstancesRequestBuilder) ByPrivilegedAccessGroupAssignmentScheduleInstanceId(privilegedAccessGroupAssignmentScheduleInstanceId string)(*PrivilegedAccessGroupAssignmentScheduleInstancesPrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesRequestBuilder) ToPostR } 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 *PrivilegedAccessGroupAssignmentScheduleInstancesRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentScheduleInstancesRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentScheduleInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedule_requests_count_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_requests_count_request_builder.go index 620beb0efc7..dbeb77abc81 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_requests_count_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsCountRequestBuilder) ToG } 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 *PrivilegedAccessGroupAssignmentScheduleRequestsCountRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentScheduleRequestsCountRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentScheduleRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go index 54fc57d1a17..9d2810794cb 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithO } 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 *PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_activated_using_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_activated_using_request_builder.go index 7d43a851934..8ffa6356b4c 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_activated_using_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_activated_using_request_builder.go @@ -75,3 +75,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsItemActivatedUsingReques } 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 *PrivilegedAccessGroupAssignmentScheduleRequestsItemActivatedUsingRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentScheduleRequestsItemActivatedUsingRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentScheduleRequestsItemActivatedUsingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_cancel_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_cancel_request_builder.go index 7cf2a171ae3..895298c36aa 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_cancel_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_cancel_request_builder.go @@ -61,3 +61,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsItemCancelRequestBuilder } 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 *PrivilegedAccessGroupAssignmentScheduleRequestsItemCancelRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentScheduleRequestsItemCancelRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentScheduleRequestsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_group_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_group_request_builder.go index 173d6c1540d..448387a7977 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_group_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_group_request_builder.go @@ -75,3 +75,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsItemGroupRequestBuilder) } 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 *PrivilegedAccessGroupAssignmentScheduleRequestsItemGroupRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentScheduleRequestsItemGroupRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentScheduleRequestsItemGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_principal_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_principal_request_builder.go index 028d7e2bda2..572a918840a 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_principal_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsItemPrincipalRequestBuil } 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 *PrivilegedAccessGroupAssignmentScheduleRequestsItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentScheduleRequestsItemPrincipalRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentScheduleRequestsItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_target_schedule_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_target_schedule_request_builder.go index 1eb16523425..34f04c00527 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_target_schedule_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_target_schedule_request_builder.go @@ -75,3 +75,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsItemTargetScheduleReques } 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 *PrivilegedAccessGroupAssignmentScheduleRequestsItemTargetScheduleRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentScheduleRequestsItemTargetScheduleRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentScheduleRequestsItemTargetScheduleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedule_requests_privileged_access_group_assignment_schedule_request_item_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_requests_privileged_access_group_assignment_schedule_request_item_request_builder.go index 0275c47d81c..1c73d378e55 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_requests_privileged_access_group_assignment_schedule_request_item_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_requests_privileged_access_group_assignment_schedule_request_item_request_builder.go @@ -176,3 +176,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsPrivilegedAccessGroupAss } 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 *PrivilegedAccessGroupAssignmentScheduleRequestsPrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentScheduleRequestsPrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentScheduleRequestsPrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedule_requests_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_requests_request_builder.go index 4a239ecc094..88305688ede 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_requests_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_requests_request_builder.go @@ -46,8 +46,8 @@ type PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrivilegedAccessGroupAssignmentScheduleRequestIdString provides operations to manage the assignmentScheduleRequests property of the microsoft.graph.privilegedAccessGroup entity. -func (m *PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilder) ByPrivilegedAccessGroupAssignmentScheduleRequestIdString(privilegedAccessGroupAssignmentScheduleRequestId string)(*PrivilegedAccessGroupAssignmentScheduleRequestsPrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder) { +// ByPrivilegedAccessGroupAssignmentScheduleRequestId provides operations to manage the assignmentScheduleRequests property of the microsoft.graph.privilegedAccessGroup entity. +func (m *PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilder) ByPrivilegedAccessGroupAssignmentScheduleRequestId(privilegedAccessGroupAssignmentScheduleRequestId string)(*PrivilegedAccessGroupAssignmentScheduleRequestsPrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilder) ToPostRe } 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 *PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedules_count_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedules_count_request_builder.go index 8639721f8da..d0245b29366 100644 --- a/identitygovernance/privileged_access_group_assignment_schedules_count_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedules_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesCountRequestBuilder) ToGetReque } 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 *PrivilegedAccessGroupAssignmentSchedulesCountRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentSchedulesCountRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentSchedulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedules_filter_by_current_user_with_on_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedules_filter_by_current_user_with_on_request_builder.go index fbc1f76793d..d700d19982c 100644 --- a/identitygovernance/privileged_access_group_assignment_schedules_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedules_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnReques } 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 *PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedules_item_activated_using_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedules_item_activated_using_request_builder.go index 564850aa7cf..80774fe8452 100644 --- a/identitygovernance/privileged_access_group_assignment_schedules_item_activated_using_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedules_item_activated_using_request_builder.go @@ -75,3 +75,7 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesItemActivatedUsingRequestBuilde } 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 *PrivilegedAccessGroupAssignmentSchedulesItemActivatedUsingRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentSchedulesItemActivatedUsingRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentSchedulesItemActivatedUsingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedules_item_group_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedules_item_group_request_builder.go index 93bae50a268..1c1708e1830 100644 --- a/identitygovernance/privileged_access_group_assignment_schedules_item_group_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedules_item_group_request_builder.go @@ -75,3 +75,7 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesItemGroupRequestBuilder) ToGetR } 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 *PrivilegedAccessGroupAssignmentSchedulesItemGroupRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentSchedulesItemGroupRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentSchedulesItemGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedules_item_principal_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedules_item_principal_request_builder.go index f8c65874b3f..a5995f4dfc8 100644 --- a/identitygovernance/privileged_access_group_assignment_schedules_item_principal_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedules_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesItemPrincipalRequestBuilder) To } 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 *PrivilegedAccessGroupAssignmentSchedulesItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentSchedulesItemPrincipalRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentSchedulesItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedules_privileged_access_group_assignment_schedule_item_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedules_privileged_access_group_assignment_schedule_item_request_builder.go index d3bf1564deb..2b045493ab7 100644 --- a/identitygovernance/privileged_access_group_assignment_schedules_privileged_access_group_assignment_schedule_item_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedules_privileged_access_group_assignment_schedule_item_request_builder.go @@ -168,3 +168,7 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesPrivilegedAccessGroupAssignment } 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 *PrivilegedAccessGroupAssignmentSchedulesPrivilegedAccessGroupAssignmentScheduleItemRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentSchedulesPrivilegedAccessGroupAssignmentScheduleItemRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentSchedulesPrivilegedAccessGroupAssignmentScheduleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_assignment_schedules_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedules_request_builder.go index a5ca1e659ff..2c6439e6cb2 100644 --- a/identitygovernance/privileged_access_group_assignment_schedules_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedules_request_builder.go @@ -46,8 +46,8 @@ type PrivilegedAccessGroupAssignmentSchedulesRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrivilegedAccessGroupAssignmentScheduleIdString provides operations to manage the assignmentSchedules property of the microsoft.graph.privilegedAccessGroup entity. -func (m *PrivilegedAccessGroupAssignmentSchedulesRequestBuilder) ByPrivilegedAccessGroupAssignmentScheduleIdString(privilegedAccessGroupAssignmentScheduleId string)(*PrivilegedAccessGroupAssignmentSchedulesPrivilegedAccessGroupAssignmentScheduleItemRequestBuilder) { +// ByPrivilegedAccessGroupAssignmentScheduleId provides operations to manage the assignmentSchedules property of the microsoft.graph.privilegedAccessGroup entity. +func (m *PrivilegedAccessGroupAssignmentSchedulesRequestBuilder) ByPrivilegedAccessGroupAssignmentScheduleId(privilegedAccessGroupAssignmentScheduleId string)(*PrivilegedAccessGroupAssignmentSchedulesPrivilegedAccessGroupAssignmentScheduleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesRequestBuilder) ToPostRequestIn } 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 *PrivilegedAccessGroupAssignmentSchedulesRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupAssignmentSchedulesRequestBuilder) { + return NewPrivilegedAccessGroupAssignmentSchedulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_instances_count_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_instances_count_request_builder.go index d06b67a2213..bed074d883b 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_instances_count_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_instances_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleInstancesCountRequestBuilder) T } 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 *PrivilegedAccessGroupEligibilityScheduleInstancesCountRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupEligibilityScheduleInstancesCountRequestBuilder) { + return NewPrivilegedAccessGroupEligibilityScheduleInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go index 679542bad1b..7085371541a 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWit } 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 *PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) { + return NewPrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_instances_item_group_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_instances_item_group_request_builder.go index 07009ed693d..bf427d20a75 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_instances_item_group_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_instances_item_group_request_builder.go @@ -75,3 +75,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleInstancesItemGroupRequestBuilde } 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 *PrivilegedAccessGroupEligibilityScheduleInstancesItemGroupRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupEligibilityScheduleInstancesItemGroupRequestBuilder) { + return NewPrivilegedAccessGroupEligibilityScheduleInstancesItemGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_instances_item_principal_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_instances_item_principal_request_builder.go index d3a61bea5e1..22def42b05b 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_instances_item_principal_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_instances_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleInstancesItemPrincipalRequestBu } 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 *PrivilegedAccessGroupEligibilityScheduleInstancesItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupEligibilityScheduleInstancesItemPrincipalRequestBuilder) { + return NewPrivilegedAccessGroupEligibilityScheduleInstancesItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_instances_privileged_access_group_eligibility_schedule_instance_item_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_instances_privileged_access_group_eligibility_schedule_instance_item_request_builder.go index f28d59e3186..86731439f80 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_instances_privileged_access_group_eligibility_schedule_instance_item_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_instances_privileged_access_group_eligibility_schedule_instance_item_request_builder.go @@ -164,3 +164,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleInstancesPrivilegedAccessGroupE } 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 *PrivilegedAccessGroupEligibilityScheduleInstancesPrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupEligibilityScheduleInstancesPrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder) { + return NewPrivilegedAccessGroupEligibilityScheduleInstancesPrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_instances_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_instances_request_builder.go index eaab2f13944..ed69c2fd217 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_instances_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_instances_request_builder.go @@ -46,8 +46,8 @@ type PrivilegedAccessGroupEligibilityScheduleInstancesRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrivilegedAccessGroupEligibilityScheduleInstanceIdString provides operations to manage the eligibilityScheduleInstances property of the microsoft.graph.privilegedAccessGroup entity. -func (m *PrivilegedAccessGroupEligibilityScheduleInstancesRequestBuilder) ByPrivilegedAccessGroupEligibilityScheduleInstanceIdString(privilegedAccessGroupEligibilityScheduleInstanceId string)(*PrivilegedAccessGroupEligibilityScheduleInstancesPrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder) { +// ByPrivilegedAccessGroupEligibilityScheduleInstanceId provides operations to manage the eligibilityScheduleInstances property of the microsoft.graph.privilegedAccessGroup entity. +func (m *PrivilegedAccessGroupEligibilityScheduleInstancesRequestBuilder) ByPrivilegedAccessGroupEligibilityScheduleInstanceId(privilegedAccessGroupEligibilityScheduleInstanceId string)(*PrivilegedAccessGroupEligibilityScheduleInstancesPrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleInstancesRequestBuilder) ToPost } 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 *PrivilegedAccessGroupEligibilityScheduleInstancesRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupEligibilityScheduleInstancesRequestBuilder) { + return NewPrivilegedAccessGroupEligibilityScheduleInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_requests_count_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_requests_count_request_builder.go index b9f84ac902f..dee6d76db2c 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_requests_count_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsCountRequestBuilder) To } 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 *PrivilegedAccessGroupEligibilityScheduleRequestsCountRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupEligibilityScheduleRequestsCountRequestBuilder) { + return NewPrivilegedAccessGroupEligibilityScheduleRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go index 40ca99500b3..9fe51ee7163 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWith } 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 *PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) { + return NewPrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_cancel_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_cancel_request_builder.go index b8456423744..faa848fc1ad 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_cancel_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_cancel_request_builder.go @@ -61,3 +61,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsItemCancelRequestBuilde } 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 *PrivilegedAccessGroupEligibilityScheduleRequestsItemCancelRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupEligibilityScheduleRequestsItemCancelRequestBuilder) { + return NewPrivilegedAccessGroupEligibilityScheduleRequestsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_group_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_group_request_builder.go index 5c315cabcb3..9aa2b5f3a09 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_group_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_group_request_builder.go @@ -75,3 +75,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsItemGroupRequestBuilder } 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 *PrivilegedAccessGroupEligibilityScheduleRequestsItemGroupRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupEligibilityScheduleRequestsItemGroupRequestBuilder) { + return NewPrivilegedAccessGroupEligibilityScheduleRequestsItemGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_principal_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_principal_request_builder.go index f8332af4b85..75eb4af263d 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_principal_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsItemPrincipalRequestBui } 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 *PrivilegedAccessGroupEligibilityScheduleRequestsItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupEligibilityScheduleRequestsItemPrincipalRequestBuilder) { + return NewPrivilegedAccessGroupEligibilityScheduleRequestsItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_target_schedule_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_target_schedule_request_builder.go index a01020c771a..f309b1af0a9 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_target_schedule_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_target_schedule_request_builder.go @@ -75,3 +75,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsItemTargetScheduleReque } 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 *PrivilegedAccessGroupEligibilityScheduleRequestsItemTargetScheduleRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupEligibilityScheduleRequestsItemTargetScheduleRequestBuilder) { + return NewPrivilegedAccessGroupEligibilityScheduleRequestsItemTargetScheduleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_requests_privileged_access_group_eligibility_schedule_request_item_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_requests_privileged_access_group_eligibility_schedule_request_item_request_builder.go index 234c634b87a..ab349bef569 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_requests_privileged_access_group_eligibility_schedule_request_item_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_requests_privileged_access_group_eligibility_schedule_request_item_request_builder.go @@ -172,3 +172,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsPrivilegedAccessGroupEl } 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 *PrivilegedAccessGroupEligibilityScheduleRequestsPrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupEligibilityScheduleRequestsPrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder) { + return NewPrivilegedAccessGroupEligibilityScheduleRequestsPrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_requests_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_requests_request_builder.go index e791ad91516..946692d3c05 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_requests_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_requests_request_builder.go @@ -46,8 +46,8 @@ type PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrivilegedAccessGroupEligibilityScheduleRequestIdString provides operations to manage the eligibilityScheduleRequests property of the microsoft.graph.privilegedAccessGroup entity. -func (m *PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilder) ByPrivilegedAccessGroupEligibilityScheduleRequestIdString(privilegedAccessGroupEligibilityScheduleRequestId string)(*PrivilegedAccessGroupEligibilityScheduleRequestsPrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder) { +// ByPrivilegedAccessGroupEligibilityScheduleRequestId provides operations to manage the eligibilityScheduleRequests property of the microsoft.graph.privilegedAccessGroup entity. +func (m *PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilder) ByPrivilegedAccessGroupEligibilityScheduleRequestId(privilegedAccessGroupEligibilityScheduleRequestId string)(*PrivilegedAccessGroupEligibilityScheduleRequestsPrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilder) ToPostR } 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 *PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilder) { + return NewPrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_eligibility_schedules_count_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedules_count_request_builder.go index ba8e8228668..7e719332be5 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedules_count_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedules_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PrivilegedAccessGroupEligibilitySchedulesCountRequestBuilder) ToGetRequ } 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 *PrivilegedAccessGroupEligibilitySchedulesCountRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupEligibilitySchedulesCountRequestBuilder) { + return NewPrivilegedAccessGroupEligibilitySchedulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_eligibility_schedules_filter_by_current_user_with_on_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedules_filter_by_current_user_with_on_request_builder.go index 39193b02a20..7cb7e4d4d40 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedules_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedules_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnReque } 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 *PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) { + return NewPrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_eligibility_schedules_item_group_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedules_item_group_request_builder.go index 02bfade4e22..90d3d6af884 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedules_item_group_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedules_item_group_request_builder.go @@ -75,3 +75,7 @@ func (m *PrivilegedAccessGroupEligibilitySchedulesItemGroupRequestBuilder) ToGet } 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 *PrivilegedAccessGroupEligibilitySchedulesItemGroupRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupEligibilitySchedulesItemGroupRequestBuilder) { + return NewPrivilegedAccessGroupEligibilitySchedulesItemGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_eligibility_schedules_item_principal_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedules_item_principal_request_builder.go index 11652a79461..269611851e6 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedules_item_principal_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedules_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *PrivilegedAccessGroupEligibilitySchedulesItemPrincipalRequestBuilder) T } 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 *PrivilegedAccessGroupEligibilitySchedulesItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupEligibilitySchedulesItemPrincipalRequestBuilder) { + return NewPrivilegedAccessGroupEligibilitySchedulesItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_eligibility_schedules_privileged_access_group_eligibility_schedule_item_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedules_privileged_access_group_eligibility_schedule_item_request_builder.go index d5810138275..17e385b9c25 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedules_privileged_access_group_eligibility_schedule_item_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedules_privileged_access_group_eligibility_schedule_item_request_builder.go @@ -164,3 +164,7 @@ func (m *PrivilegedAccessGroupEligibilitySchedulesPrivilegedAccessGroupEligibili } 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 *PrivilegedAccessGroupEligibilitySchedulesPrivilegedAccessGroupEligibilityScheduleItemRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupEligibilitySchedulesPrivilegedAccessGroupEligibilityScheduleItemRequestBuilder) { + return NewPrivilegedAccessGroupEligibilitySchedulesPrivilegedAccessGroupEligibilityScheduleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_eligibility_schedules_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedules_request_builder.go index 08ff5b4de08..b8d034a04c8 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedules_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedules_request_builder.go @@ -46,8 +46,8 @@ type PrivilegedAccessGroupEligibilitySchedulesRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrivilegedAccessGroupEligibilityScheduleIdString provides operations to manage the eligibilitySchedules property of the microsoft.graph.privilegedAccessGroup entity. -func (m *PrivilegedAccessGroupEligibilitySchedulesRequestBuilder) ByPrivilegedAccessGroupEligibilityScheduleIdString(privilegedAccessGroupEligibilityScheduleId string)(*PrivilegedAccessGroupEligibilitySchedulesPrivilegedAccessGroupEligibilityScheduleItemRequestBuilder) { +// ByPrivilegedAccessGroupEligibilityScheduleId provides operations to manage the eligibilitySchedules property of the microsoft.graph.privilegedAccessGroup entity. +func (m *PrivilegedAccessGroupEligibilitySchedulesRequestBuilder) ByPrivilegedAccessGroupEligibilityScheduleId(privilegedAccessGroupEligibilityScheduleId string)(*PrivilegedAccessGroupEligibilitySchedulesPrivilegedAccessGroupEligibilityScheduleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *PrivilegedAccessGroupEligibilitySchedulesRequestBuilder) ToPostRequestI } 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 *PrivilegedAccessGroupEligibilitySchedulesRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupEligibilitySchedulesRequestBuilder) { + return NewPrivilegedAccessGroupEligibilitySchedulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_group_request_builder.go b/identitygovernance/privileged_access_group_request_builder.go index 926980dcd88..798a35cb609 100644 --- a/identitygovernance/privileged_access_group_request_builder.go +++ b/identitygovernance/privileged_access_group_request_builder.go @@ -181,3 +181,7 @@ func (m *PrivilegedAccessGroupRequestBuilder) ToPatchRequestInformation(ctx cont } 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 *PrivilegedAccessGroupRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessGroupRequestBuilder) { + return NewPrivilegedAccessGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/privileged_access_request_builder.go b/identitygovernance/privileged_access_request_builder.go index 2dd5fe89a9d..d4ea75ef600 100644 --- a/identitygovernance/privileged_access_request_builder.go +++ b/identitygovernance/privileged_access_request_builder.go @@ -157,3 +157,7 @@ func (m *PrivilegedAccessRequestBuilder) 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 *PrivilegedAccessRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessRequestBuilder) { + return NewPrivilegedAccessRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/role_management_alerts_alert_configurations_count_request_builder.go b/identitygovernance/role_management_alerts_alert_configurations_count_request_builder.go index 3e27a892393..20e7132c1a8 100644 --- a/identitygovernance/role_management_alerts_alert_configurations_count_request_builder.go +++ b/identitygovernance/role_management_alerts_alert_configurations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RoleManagementAlertsAlertConfigurationsCountRequestBuilder) ToGetReques } 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 *RoleManagementAlertsAlertConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*RoleManagementAlertsAlertConfigurationsCountRequestBuilder) { + return NewRoleManagementAlertsAlertConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/role_management_alerts_alert_configurations_item_alert_definition_request_builder.go b/identitygovernance/role_management_alerts_alert_configurations_item_alert_definition_request_builder.go index ab4431f7f61..21346aea4c5 100644 --- a/identitygovernance/role_management_alerts_alert_configurations_item_alert_definition_request_builder.go +++ b/identitygovernance/role_management_alerts_alert_configurations_item_alert_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *RoleManagementAlertsAlertConfigurationsItemAlertDefinitionRequestBuilde } 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 *RoleManagementAlertsAlertConfigurationsItemAlertDefinitionRequestBuilder) WithUrl(rawUrl string)(*RoleManagementAlertsAlertConfigurationsItemAlertDefinitionRequestBuilder) { + return NewRoleManagementAlertsAlertConfigurationsItemAlertDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/role_management_alerts_alert_configurations_request_builder.go b/identitygovernance/role_management_alerts_alert_configurations_request_builder.go index 4d8bcbb4595..04fd5859f80 100644 --- a/identitygovernance/role_management_alerts_alert_configurations_request_builder.go +++ b/identitygovernance/role_management_alerts_alert_configurations_request_builder.go @@ -46,8 +46,8 @@ type RoleManagementAlertsAlertConfigurationsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleManagementAlertConfigurationIdString provides operations to manage the alertConfigurations property of the microsoft.graph.roleManagementAlert entity. -func (m *RoleManagementAlertsAlertConfigurationsRequestBuilder) ByUnifiedRoleManagementAlertConfigurationIdString(unifiedRoleManagementAlertConfigurationId string)(*RoleManagementAlertsAlertConfigurationsUnifiedRoleManagementAlertConfigurationItemRequestBuilder) { +// ByUnifiedRoleManagementAlertConfigurationId provides operations to manage the alertConfigurations property of the microsoft.graph.roleManagementAlert entity. +func (m *RoleManagementAlertsAlertConfigurationsRequestBuilder) ByUnifiedRoleManagementAlertConfigurationId(unifiedRoleManagementAlertConfigurationId string)(*RoleManagementAlertsAlertConfigurationsUnifiedRoleManagementAlertConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *RoleManagementAlertsAlertConfigurationsRequestBuilder) ToPostRequestInf } 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 *RoleManagementAlertsAlertConfigurationsRequestBuilder) WithUrl(rawUrl string)(*RoleManagementAlertsAlertConfigurationsRequestBuilder) { + return NewRoleManagementAlertsAlertConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/role_management_alerts_alert_configurations_unified_role_management_alert_configuration_item_request_builder.go b/identitygovernance/role_management_alerts_alert_configurations_unified_role_management_alert_configuration_item_request_builder.go index 8d56b5e4826..c6d6fd7ef62 100644 --- a/identitygovernance/role_management_alerts_alert_configurations_unified_role_management_alert_configuration_item_request_builder.go +++ b/identitygovernance/role_management_alerts_alert_configurations_unified_role_management_alert_configuration_item_request_builder.go @@ -18,7 +18,7 @@ type RoleManagementAlertsAlertConfigurationsUnifiedRoleManagementAlertConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// RoleManagementAlertsAlertConfigurationsUnifiedRoleManagementAlertConfigurationItemRequestBuilderGetQueryParameters the various configurations of an alert for Azure AD roles. The configurations are pre-defined and cannot be created or deleted, but some of the configurations can be modified. +// RoleManagementAlertsAlertConfigurationsUnifiedRoleManagementAlertConfigurationItemRequestBuilderGetQueryParameters the various configurations of an alert for Azure AD roles. The configurations are predefined and can't be created or deleted, but some of the configurations can be modified. type RoleManagementAlertsAlertConfigurationsUnifiedRoleManagementAlertConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,7 +74,7 @@ func (m *RoleManagementAlertsAlertConfigurationsUnifiedRoleManagementAlertConfig } return nil } -// Get the various configurations of an alert for Azure AD roles. The configurations are pre-defined and cannot be created or deleted, but some of the configurations can be modified. +// Get the various configurations of an alert for Azure AD roles. The configurations are predefined and can't be created or deleted, but some of the configurations can be modified. func (m *RoleManagementAlertsAlertConfigurationsUnifiedRoleManagementAlertConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleManagementAlertsAlertConfigurationsUnifiedRoleManagementAlertConfigurationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleManagementAlertConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +124,7 @@ func (m *RoleManagementAlertsAlertConfigurationsUnifiedRoleManagementAlertConfig } return requestInfo, nil } -// ToGetRequestInformation the various configurations of an alert for Azure AD roles. The configurations are pre-defined and cannot be created or deleted, but some of the configurations can be modified. +// ToGetRequestInformation the various configurations of an alert for Azure AD roles. The configurations are predefined and can't be created or deleted, but some of the configurations can be modified. func (m *RoleManagementAlertsAlertConfigurationsUnifiedRoleManagementAlertConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleManagementAlertsAlertConfigurationsUnifiedRoleManagementAlertConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -157,3 +157,7 @@ func (m *RoleManagementAlertsAlertConfigurationsUnifiedRoleManagementAlertConfig } 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 *RoleManagementAlertsAlertConfigurationsUnifiedRoleManagementAlertConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*RoleManagementAlertsAlertConfigurationsUnifiedRoleManagementAlertConfigurationItemRequestBuilder) { + return NewRoleManagementAlertsAlertConfigurationsUnifiedRoleManagementAlertConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/role_management_alerts_alert_definitions_count_request_builder.go b/identitygovernance/role_management_alerts_alert_definitions_count_request_builder.go index 2c08721f059..0be6d31982a 100644 --- a/identitygovernance/role_management_alerts_alert_definitions_count_request_builder.go +++ b/identitygovernance/role_management_alerts_alert_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RoleManagementAlertsAlertDefinitionsCountRequestBuilder) ToGetRequestIn } 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 *RoleManagementAlertsAlertDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*RoleManagementAlertsAlertDefinitionsCountRequestBuilder) { + return NewRoleManagementAlertsAlertDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/role_management_alerts_alert_definitions_request_builder.go b/identitygovernance/role_management_alerts_alert_definitions_request_builder.go index 5f95198adf0..9b6ff0c0ff8 100644 --- a/identitygovernance/role_management_alerts_alert_definitions_request_builder.go +++ b/identitygovernance/role_management_alerts_alert_definitions_request_builder.go @@ -46,8 +46,8 @@ type RoleManagementAlertsAlertDefinitionsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleManagementAlertDefinitionIdString provides operations to manage the alertDefinitions property of the microsoft.graph.roleManagementAlert entity. -func (m *RoleManagementAlertsAlertDefinitionsRequestBuilder) ByUnifiedRoleManagementAlertDefinitionIdString(unifiedRoleManagementAlertDefinitionId string)(*RoleManagementAlertsAlertDefinitionsUnifiedRoleManagementAlertDefinitionItemRequestBuilder) { +// ByUnifiedRoleManagementAlertDefinitionId provides operations to manage the alertDefinitions property of the microsoft.graph.roleManagementAlert entity. +func (m *RoleManagementAlertsAlertDefinitionsRequestBuilder) ByUnifiedRoleManagementAlertDefinitionId(unifiedRoleManagementAlertDefinitionId string)(*RoleManagementAlertsAlertDefinitionsUnifiedRoleManagementAlertDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *RoleManagementAlertsAlertDefinitionsRequestBuilder) ToPostRequestInform } 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 *RoleManagementAlertsAlertDefinitionsRequestBuilder) WithUrl(rawUrl string)(*RoleManagementAlertsAlertDefinitionsRequestBuilder) { + return NewRoleManagementAlertsAlertDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/role_management_alerts_alert_definitions_unified_role_management_alert_definition_item_request_builder.go b/identitygovernance/role_management_alerts_alert_definitions_unified_role_management_alert_definition_item_request_builder.go index b1016f0b98b..13f83de3c54 100644 --- a/identitygovernance/role_management_alerts_alert_definitions_unified_role_management_alert_definition_item_request_builder.go +++ b/identitygovernance/role_management_alerts_alert_definitions_unified_role_management_alert_definition_item_request_builder.go @@ -153,3 +153,7 @@ func (m *RoleManagementAlertsAlertDefinitionsUnifiedRoleManagementAlertDefinitio } 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 *RoleManagementAlertsAlertDefinitionsUnifiedRoleManagementAlertDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*RoleManagementAlertsAlertDefinitionsUnifiedRoleManagementAlertDefinitionItemRequestBuilder) { + return NewRoleManagementAlertsAlertDefinitionsUnifiedRoleManagementAlertDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/role_management_alerts_alerts_count_request_builder.go b/identitygovernance/role_management_alerts_alerts_count_request_builder.go index 8afa2f3b546..f9d057cc85f 100644 --- a/identitygovernance/role_management_alerts_alerts_count_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RoleManagementAlertsAlertsCountRequestBuilder) 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 *RoleManagementAlertsAlertsCountRequestBuilder) WithUrl(rawUrl string)(*RoleManagementAlertsAlertsCountRequestBuilder) { + return NewRoleManagementAlertsAlertsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/role_management_alerts_alerts_item_alert_configuration_request_builder.go b/identitygovernance/role_management_alerts_alerts_item_alert_configuration_request_builder.go index 2a02eb526cb..fd31c638755 100644 --- a/identitygovernance/role_management_alerts_alerts_item_alert_configuration_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_item_alert_configuration_request_builder.go @@ -75,3 +75,7 @@ func (m *RoleManagementAlertsAlertsItemAlertConfigurationRequestBuilder) ToGetRe } 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 *RoleManagementAlertsAlertsItemAlertConfigurationRequestBuilder) WithUrl(rawUrl string)(*RoleManagementAlertsAlertsItemAlertConfigurationRequestBuilder) { + return NewRoleManagementAlertsAlertsItemAlertConfigurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/role_management_alerts_alerts_item_alert_definition_request_builder.go b/identitygovernance/role_management_alerts_alerts_item_alert_definition_request_builder.go index 052cd768089..1c13d083137 100644 --- a/identitygovernance/role_management_alerts_alerts_item_alert_definition_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_item_alert_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *RoleManagementAlertsAlertsItemAlertDefinitionRequestBuilder) ToGetReque } 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 *RoleManagementAlertsAlertsItemAlertDefinitionRequestBuilder) WithUrl(rawUrl string)(*RoleManagementAlertsAlertsItemAlertDefinitionRequestBuilder) { + return NewRoleManagementAlertsAlertsItemAlertDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/role_management_alerts_alerts_item_alert_incidents_count_request_builder.go b/identitygovernance/role_management_alerts_alerts_item_alert_incidents_count_request_builder.go index a74c828e2ed..b47962cf257 100644 --- a/identitygovernance/role_management_alerts_alerts_item_alert_incidents_count_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_item_alert_incidents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RoleManagementAlertsAlertsItemAlertIncidentsCountRequestBuilder) ToGetR } 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 *RoleManagementAlertsAlertsItemAlertIncidentsCountRequestBuilder) WithUrl(rawUrl string)(*RoleManagementAlertsAlertsItemAlertIncidentsCountRequestBuilder) { + return NewRoleManagementAlertsAlertsItemAlertIncidentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/role_management_alerts_alerts_item_alert_incidents_item_remediate_request_builder.go b/identitygovernance/role_management_alerts_alerts_item_alert_incidents_item_remediate_request_builder.go index b31226bb045..5f49f12e807 100644 --- a/identitygovernance/role_management_alerts_alerts_item_alert_incidents_item_remediate_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_item_alert_incidents_item_remediate_request_builder.go @@ -58,3 +58,7 @@ func (m *RoleManagementAlertsAlertsItemAlertIncidentsItemRemediateRequestBuilder } 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 *RoleManagementAlertsAlertsItemAlertIncidentsItemRemediateRequestBuilder) WithUrl(rawUrl string)(*RoleManagementAlertsAlertsItemAlertIncidentsItemRemediateRequestBuilder) { + return NewRoleManagementAlertsAlertsItemAlertIncidentsItemRemediateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/role_management_alerts_alerts_item_alert_incidents_request_builder.go b/identitygovernance/role_management_alerts_alerts_item_alert_incidents_request_builder.go index d9332cbd371..090660ec449 100644 --- a/identitygovernance/role_management_alerts_alerts_item_alert_incidents_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_item_alert_incidents_request_builder.go @@ -46,8 +46,8 @@ type RoleManagementAlertsAlertsItemAlertIncidentsRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleManagementAlertIncidentIdString provides operations to manage the alertIncidents property of the microsoft.graph.unifiedRoleManagementAlert entity. -func (m *RoleManagementAlertsAlertsItemAlertIncidentsRequestBuilder) ByUnifiedRoleManagementAlertIncidentIdString(unifiedRoleManagementAlertIncidentId string)(*RoleManagementAlertsAlertsItemAlertIncidentsUnifiedRoleManagementAlertIncidentItemRequestBuilder) { +// ByUnifiedRoleManagementAlertIncidentId provides operations to manage the alertIncidents property of the microsoft.graph.unifiedRoleManagementAlert entity. +func (m *RoleManagementAlertsAlertsItemAlertIncidentsRequestBuilder) ByUnifiedRoleManagementAlertIncidentId(unifiedRoleManagementAlertIncidentId string)(*RoleManagementAlertsAlertsItemAlertIncidentsUnifiedRoleManagementAlertIncidentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *RoleManagementAlertsAlertsItemAlertIncidentsRequestBuilder) ToPostReque } 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 *RoleManagementAlertsAlertsItemAlertIncidentsRequestBuilder) WithUrl(rawUrl string)(*RoleManagementAlertsAlertsItemAlertIncidentsRequestBuilder) { + return NewRoleManagementAlertsAlertsItemAlertIncidentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/role_management_alerts_alerts_item_alert_incidents_unified_role_management_alert_incident_item_request_builder.go b/identitygovernance/role_management_alerts_alerts_item_alert_incidents_unified_role_management_alert_incident_item_request_builder.go index 91026cdb064..40e28eac8d1 100644 --- a/identitygovernance/role_management_alerts_alerts_item_alert_incidents_unified_role_management_alert_incident_item_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_item_alert_incidents_unified_role_management_alert_incident_item_request_builder.go @@ -160,3 +160,7 @@ func (m *RoleManagementAlertsAlertsItemAlertIncidentsUnifiedRoleManagementAlertI } 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 *RoleManagementAlertsAlertsItemAlertIncidentsUnifiedRoleManagementAlertIncidentItemRequestBuilder) WithUrl(rawUrl string)(*RoleManagementAlertsAlertsItemAlertIncidentsUnifiedRoleManagementAlertIncidentItemRequestBuilder) { + return NewRoleManagementAlertsAlertsItemAlertIncidentsUnifiedRoleManagementAlertIncidentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/role_management_alerts_alerts_item_refresh_request_builder.go b/identitygovernance/role_management_alerts_alerts_item_refresh_request_builder.go index 0a6157b91ad..0147f4cea3e 100644 --- a/identitygovernance/role_management_alerts_alerts_item_refresh_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_item_refresh_request_builder.go @@ -58,3 +58,7 @@ func (m *RoleManagementAlertsAlertsItemRefreshRequestBuilder) ToPostRequestInfor } 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 *RoleManagementAlertsAlertsItemRefreshRequestBuilder) WithUrl(rawUrl string)(*RoleManagementAlertsAlertsItemRefreshRequestBuilder) { + return NewRoleManagementAlertsAlertsItemRefreshRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/role_management_alerts_alerts_refresh_request_builder.go b/identitygovernance/role_management_alerts_alerts_refresh_request_builder.go index db71c536e1c..eb418d1f08b 100644 --- a/identitygovernance/role_management_alerts_alerts_refresh_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_refresh_request_builder.go @@ -65,3 +65,7 @@ func (m *RoleManagementAlertsAlertsRefreshRequestBuilder) ToPostRequestInformati } 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 *RoleManagementAlertsAlertsRefreshRequestBuilder) WithUrl(rawUrl string)(*RoleManagementAlertsAlertsRefreshRequestBuilder) { + return NewRoleManagementAlertsAlertsRefreshRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/role_management_alerts_alerts_request_builder.go b/identitygovernance/role_management_alerts_alerts_request_builder.go index 3246494c374..dd31754628d 100644 --- a/identitygovernance/role_management_alerts_alerts_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_request_builder.go @@ -46,8 +46,8 @@ type RoleManagementAlertsAlertsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleManagementAlertIdString provides operations to manage the alerts property of the microsoft.graph.roleManagementAlert entity. -func (m *RoleManagementAlertsAlertsRequestBuilder) ByUnifiedRoleManagementAlertIdString(unifiedRoleManagementAlertId string)(*RoleManagementAlertsAlertsUnifiedRoleManagementAlertItemRequestBuilder) { +// ByUnifiedRoleManagementAlertId provides operations to manage the alerts property of the microsoft.graph.roleManagementAlert entity. +func (m *RoleManagementAlertsAlertsRequestBuilder) ByUnifiedRoleManagementAlertId(unifiedRoleManagementAlertId string)(*RoleManagementAlertsAlertsUnifiedRoleManagementAlertItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *RoleManagementAlertsAlertsRequestBuilder) 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 *RoleManagementAlertsAlertsRequestBuilder) WithUrl(rawUrl string)(*RoleManagementAlertsAlertsRequestBuilder) { + return NewRoleManagementAlertsAlertsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/role_management_alerts_alerts_unified_role_management_alert_item_request_builder.go b/identitygovernance/role_management_alerts_alerts_unified_role_management_alert_item_request_builder.go index a2e80c41ad1..5933a55b52d 100644 --- a/identitygovernance/role_management_alerts_alerts_unified_role_management_alert_item_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_unified_role_management_alert_item_request_builder.go @@ -169,3 +169,7 @@ func (m *RoleManagementAlertsAlertsUnifiedRoleManagementAlertItemRequestBuilder) } 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 *RoleManagementAlertsAlertsUnifiedRoleManagementAlertItemRequestBuilder) WithUrl(rawUrl string)(*RoleManagementAlertsAlertsUnifiedRoleManagementAlertItemRequestBuilder) { + return NewRoleManagementAlertsAlertsUnifiedRoleManagementAlertItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/role_management_alerts_operations_count_request_builder.go b/identitygovernance/role_management_alerts_operations_count_request_builder.go index 4cf109e7ede..7f435425e6f 100644 --- a/identitygovernance/role_management_alerts_operations_count_request_builder.go +++ b/identitygovernance/role_management_alerts_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RoleManagementAlertsOperationsCountRequestBuilder) ToGetRequestInformat } 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 *RoleManagementAlertsOperationsCountRequestBuilder) WithUrl(rawUrl string)(*RoleManagementAlertsOperationsCountRequestBuilder) { + return NewRoleManagementAlertsOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/role_management_alerts_operations_long_running_operation_item_request_builder.go b/identitygovernance/role_management_alerts_operations_long_running_operation_item_request_builder.go index 2e667f937b0..7000af77a4e 100644 --- a/identitygovernance/role_management_alerts_operations_long_running_operation_item_request_builder.go +++ b/identitygovernance/role_management_alerts_operations_long_running_operation_item_request_builder.go @@ -153,3 +153,7 @@ func (m *RoleManagementAlertsOperationsLongRunningOperationItemRequestBuilder) T } 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 *RoleManagementAlertsOperationsLongRunningOperationItemRequestBuilder) WithUrl(rawUrl string)(*RoleManagementAlertsOperationsLongRunningOperationItemRequestBuilder) { + return NewRoleManagementAlertsOperationsLongRunningOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/role_management_alerts_operations_request_builder.go b/identitygovernance/role_management_alerts_operations_request_builder.go index 2408e14a0cf..7246ed7297b 100644 --- a/identitygovernance/role_management_alerts_operations_request_builder.go +++ b/identitygovernance/role_management_alerts_operations_request_builder.go @@ -46,8 +46,8 @@ type RoleManagementAlertsOperationsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByLongRunningOperationIdString provides operations to manage the operations property of the microsoft.graph.roleManagementAlert entity. -func (m *RoleManagementAlertsOperationsRequestBuilder) ByLongRunningOperationIdString(longRunningOperationId string)(*RoleManagementAlertsOperationsLongRunningOperationItemRequestBuilder) { +// ByLongRunningOperationId provides operations to manage the operations property of the microsoft.graph.roleManagementAlert entity. +func (m *RoleManagementAlertsOperationsRequestBuilder) ByLongRunningOperationId(longRunningOperationId string)(*RoleManagementAlertsOperationsLongRunningOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *RoleManagementAlertsOperationsRequestBuilder) 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 *RoleManagementAlertsOperationsRequestBuilder) WithUrl(rawUrl string)(*RoleManagementAlertsOperationsRequestBuilder) { + return NewRoleManagementAlertsOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/role_management_alerts_request_builder.go b/identitygovernance/role_management_alerts_request_builder.go index 5889d468f3e..14f047202ee 100644 --- a/identitygovernance/role_management_alerts_request_builder.go +++ b/identitygovernance/role_management_alerts_request_builder.go @@ -169,3 +169,7 @@ func (m *RoleManagementAlertsRequestBuilder) ToPatchRequestInformation(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 *RoleManagementAlertsRequestBuilder) WithUrl(rawUrl string)(*RoleManagementAlertsRequestBuilder) { + return NewRoleManagementAlertsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_agreement_acceptances_agreement_acceptance_item_request_builder.go b/identitygovernance/terms_of_use_agreement_acceptances_agreement_acceptance_item_request_builder.go index ea1fd428792..4b4b9fa389c 100644 --- a/identitygovernance/terms_of_use_agreement_acceptances_agreement_acceptance_item_request_builder.go +++ b/identitygovernance/terms_of_use_agreement_acceptances_agreement_acceptance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *TermsOfUseAgreementAcceptancesAgreementAcceptanceItemRequestBuilder) To } 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 *TermsOfUseAgreementAcceptancesAgreementAcceptanceItemRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseAgreementAcceptancesAgreementAcceptanceItemRequestBuilder) { + return NewTermsOfUseAgreementAcceptancesAgreementAcceptanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_agreement_acceptances_count_request_builder.go b/identitygovernance/terms_of_use_agreement_acceptances_count_request_builder.go index ef1fc532599..e9642582254 100644 --- a/identitygovernance/terms_of_use_agreement_acceptances_count_request_builder.go +++ b/identitygovernance/terms_of_use_agreement_acceptances_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TermsOfUseAgreementAcceptancesCountRequestBuilder) ToGetRequestInformat } 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 *TermsOfUseAgreementAcceptancesCountRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseAgreementAcceptancesCountRequestBuilder) { + return NewTermsOfUseAgreementAcceptancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_agreement_acceptances_request_builder.go b/identitygovernance/terms_of_use_agreement_acceptances_request_builder.go index f4e6a293292..84fbf97af9e 100644 --- a/identitygovernance/terms_of_use_agreement_acceptances_request_builder.go +++ b/identitygovernance/terms_of_use_agreement_acceptances_request_builder.go @@ -46,8 +46,8 @@ type TermsOfUseAgreementAcceptancesRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAgreementAcceptanceIdString provides operations to manage the agreementAcceptances property of the microsoft.graph.termsOfUseContainer entity. -func (m *TermsOfUseAgreementAcceptancesRequestBuilder) ByAgreementAcceptanceIdString(agreementAcceptanceId string)(*TermsOfUseAgreementAcceptancesAgreementAcceptanceItemRequestBuilder) { +// ByAgreementAcceptanceId provides operations to manage the agreementAcceptances property of the microsoft.graph.termsOfUseContainer entity. +func (m *TermsOfUseAgreementAcceptancesRequestBuilder) ByAgreementAcceptanceId(agreementAcceptanceId string)(*TermsOfUseAgreementAcceptancesAgreementAcceptanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TermsOfUseAgreementAcceptancesRequestBuilder) 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 *TermsOfUseAgreementAcceptancesRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseAgreementAcceptancesRequestBuilder) { + return NewTermsOfUseAgreementAcceptancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go b/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go index 210fe715095..28c11fed9ba 100644 --- a/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go @@ -18,7 +18,7 @@ type TermsOfUseAgreementsAgreementItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an agreement object. +// TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters retrieve all files related to an agreement. This includes the default file and all localized files. type TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -85,10 +85,10 @@ func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) File()(*TermsOfUseAgre func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) Files()(*TermsOfUseAgreementsItemFilesRequestBuilder) { return NewTermsOfUseAgreementsItemFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of an agreement object. +// Get retrieve all files related to an agreement. This includes the default file and all localized files. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-1.0 func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TermsOfUseAgreementsAgreementItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Agreementable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -141,7 +141,7 @@ func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) ToDeleteRequestInforma } return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an agreement object. +// ToGetRequestInformation retrieve all files related to an agreement. This includes the default file and all localized files. func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TermsOfUseAgreementsAgreementItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -174,3 +174,7 @@ func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) ToPatchRequestInformat } 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 *TermsOfUseAgreementsAgreementItemRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseAgreementsAgreementItemRequestBuilder) { + return NewTermsOfUseAgreementsAgreementItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_agreements_count_request_builder.go b/identitygovernance/terms_of_use_agreements_count_request_builder.go index 3699c7a5ea9..2b63fb88222 100644 --- a/identitygovernance/terms_of_use_agreements_count_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TermsOfUseAgreementsCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *TermsOfUseAgreementsCountRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseAgreementsCountRequestBuilder) { + return NewTermsOfUseAgreementsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_agreements_item_acceptances_agreement_acceptance_item_request_builder.go b/identitygovernance/terms_of_use_agreements_item_acceptances_agreement_acceptance_item_request_builder.go index d6fc6796c51..d0ce48f4c91 100644 --- a/identitygovernance/terms_of_use_agreements_item_acceptances_agreement_acceptance_item_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_acceptances_agreement_acceptance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *TermsOfUseAgreementsItemAcceptancesAgreementAcceptanceItemRequestBuilde } 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 *TermsOfUseAgreementsItemAcceptancesAgreementAcceptanceItemRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseAgreementsItemAcceptancesAgreementAcceptanceItemRequestBuilder) { + return NewTermsOfUseAgreementsItemAcceptancesAgreementAcceptanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_agreements_item_acceptances_count_request_builder.go b/identitygovernance/terms_of_use_agreements_item_acceptances_count_request_builder.go index b90733edebd..13c619792e5 100644 --- a/identitygovernance/terms_of_use_agreements_item_acceptances_count_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_acceptances_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TermsOfUseAgreementsItemAcceptancesCountRequestBuilder) ToGetRequestInf } 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 *TermsOfUseAgreementsItemAcceptancesCountRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseAgreementsItemAcceptancesCountRequestBuilder) { + return NewTermsOfUseAgreementsItemAcceptancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_agreements_item_acceptances_request_builder.go b/identitygovernance/terms_of_use_agreements_item_acceptances_request_builder.go index 41412c84891..636fc36a36d 100644 --- a/identitygovernance/terms_of_use_agreements_item_acceptances_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_acceptances_request_builder.go @@ -46,8 +46,8 @@ type TermsOfUseAgreementsItemAcceptancesRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAgreementAcceptanceIdString provides operations to manage the acceptances property of the microsoft.graph.agreement entity. -func (m *TermsOfUseAgreementsItemAcceptancesRequestBuilder) ByAgreementAcceptanceIdString(agreementAcceptanceId string)(*TermsOfUseAgreementsItemAcceptancesAgreementAcceptanceItemRequestBuilder) { +// ByAgreementAcceptanceId provides operations to manage the acceptances property of the microsoft.graph.agreement entity. +func (m *TermsOfUseAgreementsItemAcceptancesRequestBuilder) ByAgreementAcceptanceId(agreementAcceptanceId string)(*TermsOfUseAgreementsItemAcceptancesAgreementAcceptanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *TermsOfUseAgreementsItemAcceptancesRequestBuilder) ToPostRequestInforma } 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 *TermsOfUseAgreementsItemAcceptancesRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseAgreementsItemAcceptancesRequestBuilder) { + return NewTermsOfUseAgreementsItemAcceptancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_agreements_item_file_localizations_agreement_file_localization_item_request_builder.go b/identitygovernance/terms_of_use_agreements_item_file_localizations_agreement_file_localization_item_request_builder.go index 567b0685d5e..4f9f58bc795 100644 --- a/identitygovernance/terms_of_use_agreements_item_file_localizations_agreement_file_localization_item_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_file_localizations_agreement_file_localization_item_request_builder.go @@ -157,3 +157,7 @@ func (m *TermsOfUseAgreementsItemFileLocalizationsAgreementFileLocalizationItemR func (m *TermsOfUseAgreementsItemFileLocalizationsAgreementFileLocalizationItemRequestBuilder) Versions()(*TermsOfUseAgreementsItemFileLocalizationsItemVersionsRequestBuilder) { return NewTermsOfUseAgreementsItemFileLocalizationsItemVersionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *TermsOfUseAgreementsItemFileLocalizationsAgreementFileLocalizationItemRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseAgreementsItemFileLocalizationsAgreementFileLocalizationItemRequestBuilder) { + return NewTermsOfUseAgreementsItemFileLocalizationsAgreementFileLocalizationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_agreements_item_file_localizations_count_request_builder.go b/identitygovernance/terms_of_use_agreements_item_file_localizations_count_request_builder.go index 71992110548..35d8ed15c8b 100644 --- a/identitygovernance/terms_of_use_agreements_item_file_localizations_count_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_file_localizations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TermsOfUseAgreementsItemFileLocalizationsCountRequestBuilder) ToGetRequ } 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 *TermsOfUseAgreementsItemFileLocalizationsCountRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseAgreementsItemFileLocalizationsCountRequestBuilder) { + return NewTermsOfUseAgreementsItemFileLocalizationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_agreements_item_file_localizations_item_versions_agreement_file_version_item_request_builder.go b/identitygovernance/terms_of_use_agreements_item_file_localizations_item_versions_agreement_file_version_item_request_builder.go index f661768722d..2fc6eabcda9 100644 --- a/identitygovernance/terms_of_use_agreements_item_file_localizations_item_versions_agreement_file_version_item_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_file_localizations_item_versions_agreement_file_version_item_request_builder.go @@ -153,3 +153,7 @@ func (m *TermsOfUseAgreementsItemFileLocalizationsItemVersionsAgreementFileVersi } 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 *TermsOfUseAgreementsItemFileLocalizationsItemVersionsAgreementFileVersionItemRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseAgreementsItemFileLocalizationsItemVersionsAgreementFileVersionItemRequestBuilder) { + return NewTermsOfUseAgreementsItemFileLocalizationsItemVersionsAgreementFileVersionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_agreements_item_file_localizations_item_versions_count_request_builder.go b/identitygovernance/terms_of_use_agreements_item_file_localizations_item_versions_count_request_builder.go index 62ac52846de..de6b65283d1 100644 --- a/identitygovernance/terms_of_use_agreements_item_file_localizations_item_versions_count_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_file_localizations_item_versions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TermsOfUseAgreementsItemFileLocalizationsItemVersionsCountRequestBuilde } 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 *TermsOfUseAgreementsItemFileLocalizationsItemVersionsCountRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseAgreementsItemFileLocalizationsItemVersionsCountRequestBuilder) { + return NewTermsOfUseAgreementsItemFileLocalizationsItemVersionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_agreements_item_file_localizations_item_versions_request_builder.go b/identitygovernance/terms_of_use_agreements_item_file_localizations_item_versions_request_builder.go index 54131757a1a..6e77ca3a399 100644 --- a/identitygovernance/terms_of_use_agreements_item_file_localizations_item_versions_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_file_localizations_item_versions_request_builder.go @@ -46,8 +46,8 @@ type TermsOfUseAgreementsItemFileLocalizationsItemVersionsRequestBuilderPostRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAgreementFileVersionIdString provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. -func (m *TermsOfUseAgreementsItemFileLocalizationsItemVersionsRequestBuilder) ByAgreementFileVersionIdString(agreementFileVersionId string)(*TermsOfUseAgreementsItemFileLocalizationsItemVersionsAgreementFileVersionItemRequestBuilder) { +// ByAgreementFileVersionId provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. +func (m *TermsOfUseAgreementsItemFileLocalizationsItemVersionsRequestBuilder) ByAgreementFileVersionId(agreementFileVersionId string)(*TermsOfUseAgreementsItemFileLocalizationsItemVersionsAgreementFileVersionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TermsOfUseAgreementsItemFileLocalizationsItemVersionsRequestBuilder) To } 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 *TermsOfUseAgreementsItemFileLocalizationsItemVersionsRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseAgreementsItemFileLocalizationsItemVersionsRequestBuilder) { + return NewTermsOfUseAgreementsItemFileLocalizationsItemVersionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_agreements_item_file_localizations_request_builder.go b/identitygovernance/terms_of_use_agreements_item_file_localizations_request_builder.go index f983f7208c9..44501044111 100644 --- a/identitygovernance/terms_of_use_agreements_item_file_localizations_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_file_localizations_request_builder.go @@ -46,8 +46,8 @@ type TermsOfUseAgreementsItemFileLocalizationsRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAgreementFileLocalizationIdString provides operations to manage the localizations property of the microsoft.graph.agreementFile entity. -func (m *TermsOfUseAgreementsItemFileLocalizationsRequestBuilder) ByAgreementFileLocalizationIdString(agreementFileLocalizationId string)(*TermsOfUseAgreementsItemFileLocalizationsAgreementFileLocalizationItemRequestBuilder) { +// ByAgreementFileLocalizationId provides operations to manage the localizations property of the microsoft.graph.agreementFile entity. +func (m *TermsOfUseAgreementsItemFileLocalizationsRequestBuilder) ByAgreementFileLocalizationId(agreementFileLocalizationId string)(*TermsOfUseAgreementsItemFileLocalizationsAgreementFileLocalizationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *TermsOfUseAgreementsItemFileLocalizationsRequestBuilder) ToPostRequestI } 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 *TermsOfUseAgreementsItemFileLocalizationsRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseAgreementsItemFileLocalizationsRequestBuilder) { + return NewTermsOfUseAgreementsItemFileLocalizationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_agreements_item_file_request_builder.go b/identitygovernance/terms_of_use_agreements_item_file_request_builder.go index daa3f9c27d8..4f21faf3819 100644 --- a/identitygovernance/terms_of_use_agreements_item_file_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_file_request_builder.go @@ -160,3 +160,7 @@ func (m *TermsOfUseAgreementsItemFileRequestBuilder) ToPatchRequestInformation(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 *TermsOfUseAgreementsItemFileRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseAgreementsItemFileRequestBuilder) { + return NewTermsOfUseAgreementsItemFileRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_agreements_item_files_agreement_file_localization_item_request_builder.go b/identitygovernance/terms_of_use_agreements_item_files_agreement_file_localization_item_request_builder.go index d0cfcee419b..45eef867198 100644 --- a/identitygovernance/terms_of_use_agreements_item_files_agreement_file_localization_item_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_files_agreement_file_localization_item_request_builder.go @@ -157,3 +157,7 @@ func (m *TermsOfUseAgreementsItemFilesAgreementFileLocalizationItemRequestBuilde func (m *TermsOfUseAgreementsItemFilesAgreementFileLocalizationItemRequestBuilder) Versions()(*TermsOfUseAgreementsItemFilesItemVersionsRequestBuilder) { return NewTermsOfUseAgreementsItemFilesItemVersionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *TermsOfUseAgreementsItemFilesAgreementFileLocalizationItemRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseAgreementsItemFilesAgreementFileLocalizationItemRequestBuilder) { + return NewTermsOfUseAgreementsItemFilesAgreementFileLocalizationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_agreements_item_files_count_request_builder.go b/identitygovernance/terms_of_use_agreements_item_files_count_request_builder.go index ccb0213dd7f..c796ac2e584 100644 --- a/identitygovernance/terms_of_use_agreements_item_files_count_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_files_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TermsOfUseAgreementsItemFilesCountRequestBuilder) ToGetRequestInformati } 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 *TermsOfUseAgreementsItemFilesCountRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseAgreementsItemFilesCountRequestBuilder) { + return NewTermsOfUseAgreementsItemFilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_agreements_item_files_item_versions_agreement_file_version_item_request_builder.go b/identitygovernance/terms_of_use_agreements_item_files_item_versions_agreement_file_version_item_request_builder.go index 4ae8ca4a2a1..f74075ef4fb 100644 --- a/identitygovernance/terms_of_use_agreements_item_files_item_versions_agreement_file_version_item_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_files_item_versions_agreement_file_version_item_request_builder.go @@ -153,3 +153,7 @@ func (m *TermsOfUseAgreementsItemFilesItemVersionsAgreementFileVersionItemReques } 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 *TermsOfUseAgreementsItemFilesItemVersionsAgreementFileVersionItemRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseAgreementsItemFilesItemVersionsAgreementFileVersionItemRequestBuilder) { + return NewTermsOfUseAgreementsItemFilesItemVersionsAgreementFileVersionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_agreements_item_files_item_versions_count_request_builder.go b/identitygovernance/terms_of_use_agreements_item_files_item_versions_count_request_builder.go index c9d1902be37..4ee9de55a07 100644 --- a/identitygovernance/terms_of_use_agreements_item_files_item_versions_count_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_files_item_versions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TermsOfUseAgreementsItemFilesItemVersionsCountRequestBuilder) ToGetRequ } 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 *TermsOfUseAgreementsItemFilesItemVersionsCountRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseAgreementsItemFilesItemVersionsCountRequestBuilder) { + return NewTermsOfUseAgreementsItemFilesItemVersionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_agreements_item_files_item_versions_request_builder.go b/identitygovernance/terms_of_use_agreements_item_files_item_versions_request_builder.go index 5737bb926e8..8fda96e643f 100644 --- a/identitygovernance/terms_of_use_agreements_item_files_item_versions_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_files_item_versions_request_builder.go @@ -46,8 +46,8 @@ type TermsOfUseAgreementsItemFilesItemVersionsRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAgreementFileVersionIdString provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. -func (m *TermsOfUseAgreementsItemFilesItemVersionsRequestBuilder) ByAgreementFileVersionIdString(agreementFileVersionId string)(*TermsOfUseAgreementsItemFilesItemVersionsAgreementFileVersionItemRequestBuilder) { +// ByAgreementFileVersionId provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity. +func (m *TermsOfUseAgreementsItemFilesItemVersionsRequestBuilder) ByAgreementFileVersionId(agreementFileVersionId string)(*TermsOfUseAgreementsItemFilesItemVersionsAgreementFileVersionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TermsOfUseAgreementsItemFilesItemVersionsRequestBuilder) ToPostRequestI } 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 *TermsOfUseAgreementsItemFilesItemVersionsRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseAgreementsItemFilesItemVersionsRequestBuilder) { + return NewTermsOfUseAgreementsItemFilesItemVersionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_agreements_item_files_request_builder.go b/identitygovernance/terms_of_use_agreements_item_files_request_builder.go index 23d93316324..d5cd0e0ca20 100644 --- a/identitygovernance/terms_of_use_agreements_item_files_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_files_request_builder.go @@ -46,8 +46,8 @@ type TermsOfUseAgreementsItemFilesRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAgreementFileLocalizationIdString provides operations to manage the files property of the microsoft.graph.agreement entity. -func (m *TermsOfUseAgreementsItemFilesRequestBuilder) ByAgreementFileLocalizationIdString(agreementFileLocalizationId string)(*TermsOfUseAgreementsItemFilesAgreementFileLocalizationItemRequestBuilder) { +// ByAgreementFileLocalizationId provides operations to manage the files property of the microsoft.graph.agreement entity. +func (m *TermsOfUseAgreementsItemFilesRequestBuilder) ByAgreementFileLocalizationId(agreementFileLocalizationId string)(*TermsOfUseAgreementsItemFilesAgreementFileLocalizationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *TermsOfUseAgreementsItemFilesRequestBuilder) ToPostRequestInformation(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 *TermsOfUseAgreementsItemFilesRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseAgreementsItemFilesRequestBuilder) { + return NewTermsOfUseAgreementsItemFilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_agreements_request_builder.go b/identitygovernance/terms_of_use_agreements_request_builder.go index c3240c52a2a..4866cdb4da3 100644 --- a/identitygovernance/terms_of_use_agreements_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_request_builder.go @@ -46,8 +46,8 @@ type TermsOfUseAgreementsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAgreementIdString provides operations to manage the agreements property of the microsoft.graph.termsOfUseContainer entity. -func (m *TermsOfUseAgreementsRequestBuilder) ByAgreementIdString(agreementId string)(*TermsOfUseAgreementsAgreementItemRequestBuilder) { +// ByAgreementId provides operations to manage the agreements property of the microsoft.graph.termsOfUseContainer entity. +func (m *TermsOfUseAgreementsRequestBuilder) ByAgreementId(agreementId string)(*TermsOfUseAgreementsAgreementItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *TermsOfUseAgreementsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *TermsOfUseAgreementsRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseAgreementsRequestBuilder) { + return NewTermsOfUseAgreementsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/terms_of_use_request_builder.go b/identitygovernance/terms_of_use_request_builder.go index 38da1e28f95..39ff1c9887c 100644 --- a/identitygovernance/terms_of_use_request_builder.go +++ b/identitygovernance/terms_of_use_request_builder.go @@ -161,3 +161,7 @@ func (m *TermsOfUseRequestBuilder) ToPatchRequestInformation(ctx context.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 *TermsOfUseRequestBuilder) WithUrl(rawUrl string)(*TermsOfUseRequestBuilder) { + return NewTermsOfUseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/identity_protection_request_builder.go b/identityprotection/identity_protection_request_builder.go index fbbec3acaaa..55692369200 100644 --- a/identityprotection/identity_protection_request_builder.go +++ b/identityprotection/identity_protection_request_builder.go @@ -134,3 +134,7 @@ func (m *IdentityProtectionRequestBuilder) ToPatchRequestInformation(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 *IdentityProtectionRequestBuilder) WithUrl(rawUrl string)(*IdentityProtectionRequestBuilder) { + return NewIdentityProtectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/risk_detections_count_request_builder.go b/identityprotection/risk_detections_count_request_builder.go index 655e798dd4b..ff313cfad92 100644 --- a/identityprotection/risk_detections_count_request_builder.go +++ b/identityprotection/risk_detections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RiskDetectionsCountRequestBuilder) ToGetRequestInformation(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 *RiskDetectionsCountRequestBuilder) WithUrl(rawUrl string)(*RiskDetectionsCountRequestBuilder) { + return NewRiskDetectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/risk_detections_request_builder.go b/identityprotection/risk_detections_request_builder.go index 07dace4aaa8..8c892650898 100644 --- a/identityprotection/risk_detections_request_builder.go +++ b/identityprotection/risk_detections_request_builder.go @@ -46,8 +46,8 @@ type RiskDetectionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRiskDetectionIdString provides operations to manage the riskDetections property of the microsoft.graph.identityProtectionRoot entity. -func (m *RiskDetectionsRequestBuilder) ByRiskDetectionIdString(riskDetectionId string)(*RiskDetectionsRiskDetectionItemRequestBuilder) { +// ByRiskDetectionId provides operations to manage the riskDetections property of the microsoft.graph.identityProtectionRoot entity. +func (m *RiskDetectionsRequestBuilder) ByRiskDetectionId(riskDetectionId string)(*RiskDetectionsRiskDetectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *RiskDetectionsRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *RiskDetectionsRequestBuilder) WithUrl(rawUrl string)(*RiskDetectionsRequestBuilder) { + return NewRiskDetectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/risk_detections_risk_detection_item_request_builder.go b/identityprotection/risk_detections_risk_detection_item_request_builder.go index 72be2693cb9..4baa2186572 100644 --- a/identityprotection/risk_detections_risk_detection_item_request_builder.go +++ b/identityprotection/risk_detections_risk_detection_item_request_builder.go @@ -156,3 +156,7 @@ func (m *RiskDetectionsRiskDetectionItemRequestBuilder) ToPatchRequestInformatio } 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 *RiskDetectionsRiskDetectionItemRequestBuilder) WithUrl(rawUrl string)(*RiskDetectionsRiskDetectionItemRequestBuilder) { + return NewRiskDetectionsRiskDetectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/risky_service_principals_confirm_compromised_request_builder.go b/identityprotection/risky_service_principals_confirm_compromised_request_builder.go index 7b6f9b49bf2..1465626fa4d 100644 --- a/identityprotection/risky_service_principals_confirm_compromised_request_builder.go +++ b/identityprotection/risky_service_principals_confirm_compromised_request_builder.go @@ -65,3 +65,7 @@ func (m *RiskyServicePrincipalsConfirmCompromisedRequestBuilder) ToPostRequestIn } 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 *RiskyServicePrincipalsConfirmCompromisedRequestBuilder) WithUrl(rawUrl string)(*RiskyServicePrincipalsConfirmCompromisedRequestBuilder) { + return NewRiskyServicePrincipalsConfirmCompromisedRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/risky_service_principals_count_request_builder.go b/identityprotection/risky_service_principals_count_request_builder.go index fb274dda875..cdbd5b905d9 100644 --- a/identityprotection/risky_service_principals_count_request_builder.go +++ b/identityprotection/risky_service_principals_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RiskyServicePrincipalsCountRequestBuilder) ToGetRequestInformation(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 *RiskyServicePrincipalsCountRequestBuilder) WithUrl(rawUrl string)(*RiskyServicePrincipalsCountRequestBuilder) { + return NewRiskyServicePrincipalsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/risky_service_principals_dismiss_request_builder.go b/identityprotection/risky_service_principals_dismiss_request_builder.go index 7bb15c194c5..6f82ad8243d 100644 --- a/identityprotection/risky_service_principals_dismiss_request_builder.go +++ b/identityprotection/risky_service_principals_dismiss_request_builder.go @@ -65,3 +65,7 @@ func (m *RiskyServicePrincipalsDismissRequestBuilder) ToPostRequestInformation(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 *RiskyServicePrincipalsDismissRequestBuilder) WithUrl(rawUrl string)(*RiskyServicePrincipalsDismissRequestBuilder) { + return NewRiskyServicePrincipalsDismissRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/risky_service_principals_item_history_count_request_builder.go b/identityprotection/risky_service_principals_item_history_count_request_builder.go index f223cf82282..16968faf4f2 100644 --- a/identityprotection/risky_service_principals_item_history_count_request_builder.go +++ b/identityprotection/risky_service_principals_item_history_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RiskyServicePrincipalsItemHistoryCountRequestBuilder) ToGetRequestInfor } 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 *RiskyServicePrincipalsItemHistoryCountRequestBuilder) WithUrl(rawUrl string)(*RiskyServicePrincipalsItemHistoryCountRequestBuilder) { + return NewRiskyServicePrincipalsItemHistoryCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/risky_service_principals_item_history_request_builder.go b/identityprotection/risky_service_principals_item_history_request_builder.go index 2c67b86167e..0ac2cd1669e 100644 --- a/identityprotection/risky_service_principals_item_history_request_builder.go +++ b/identityprotection/risky_service_principals_item_history_request_builder.go @@ -46,8 +46,8 @@ type RiskyServicePrincipalsItemHistoryRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRiskyServicePrincipalHistoryItemIdString provides operations to manage the history property of the microsoft.graph.riskyServicePrincipal entity. -func (m *RiskyServicePrincipalsItemHistoryRequestBuilder) ByRiskyServicePrincipalHistoryItemIdString(riskyServicePrincipalHistoryItemId string)(*RiskyServicePrincipalsItemHistoryRiskyServicePrincipalHistoryItemItemRequestBuilder) { +// ByRiskyServicePrincipalHistoryItemId provides operations to manage the history property of the microsoft.graph.riskyServicePrincipal entity. +func (m *RiskyServicePrincipalsItemHistoryRequestBuilder) ByRiskyServicePrincipalHistoryItemId(riskyServicePrincipalHistoryItemId string)(*RiskyServicePrincipalsItemHistoryRiskyServicePrincipalHistoryItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *RiskyServicePrincipalsItemHistoryRequestBuilder) ToPostRequestInformati } 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 *RiskyServicePrincipalsItemHistoryRequestBuilder) WithUrl(rawUrl string)(*RiskyServicePrincipalsItemHistoryRequestBuilder) { + return NewRiskyServicePrincipalsItemHistoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/risky_service_principals_item_history_risky_service_principal_history_item_item_request_builder.go b/identityprotection/risky_service_principals_item_history_risky_service_principal_history_item_item_request_builder.go index dd4f31e80a0..6d5a093a4ac 100644 --- a/identityprotection/risky_service_principals_item_history_risky_service_principal_history_item_item_request_builder.go +++ b/identityprotection/risky_service_principals_item_history_risky_service_principal_history_item_item_request_builder.go @@ -153,3 +153,7 @@ func (m *RiskyServicePrincipalsItemHistoryRiskyServicePrincipalHistoryItemItemRe } 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 *RiskyServicePrincipalsItemHistoryRiskyServicePrincipalHistoryItemItemRequestBuilder) WithUrl(rawUrl string)(*RiskyServicePrincipalsItemHistoryRiskyServicePrincipalHistoryItemItemRequestBuilder) { + return NewRiskyServicePrincipalsItemHistoryRiskyServicePrincipalHistoryItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/risky_service_principals_request_builder.go b/identityprotection/risky_service_principals_request_builder.go index ca86d8a7101..b402c244f61 100644 --- a/identityprotection/risky_service_principals_request_builder.go +++ b/identityprotection/risky_service_principals_request_builder.go @@ -46,8 +46,8 @@ type RiskyServicePrincipalsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRiskyServicePrincipalIdString provides operations to manage the riskyServicePrincipals property of the microsoft.graph.identityProtectionRoot entity. -func (m *RiskyServicePrincipalsRequestBuilder) ByRiskyServicePrincipalIdString(riskyServicePrincipalId string)(*RiskyServicePrincipalsRiskyServicePrincipalItemRequestBuilder) { +// ByRiskyServicePrincipalId provides operations to manage the riskyServicePrincipals property of the microsoft.graph.identityProtectionRoot entity. +func (m *RiskyServicePrincipalsRequestBuilder) ByRiskyServicePrincipalId(riskyServicePrincipalId string)(*RiskyServicePrincipalsRiskyServicePrincipalItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *RiskyServicePrincipalsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *RiskyServicePrincipalsRequestBuilder) WithUrl(rawUrl string)(*RiskyServicePrincipalsRequestBuilder) { + return NewRiskyServicePrincipalsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/risky_service_principals_risky_service_principal_item_request_builder.go b/identityprotection/risky_service_principals_risky_service_principal_item_request_builder.go index c7861704b5d..0ba9ec52be6 100644 --- a/identityprotection/risky_service_principals_risky_service_principal_item_request_builder.go +++ b/identityprotection/risky_service_principals_risky_service_principal_item_request_builder.go @@ -160,3 +160,7 @@ func (m *RiskyServicePrincipalsRiskyServicePrincipalItemRequestBuilder) ToPatchR } 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 *RiskyServicePrincipalsRiskyServicePrincipalItemRequestBuilder) WithUrl(rawUrl string)(*RiskyServicePrincipalsRiskyServicePrincipalItemRequestBuilder) { + return NewRiskyServicePrincipalsRiskyServicePrincipalItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/risky_users_confirm_compromised_request_builder.go b/identityprotection/risky_users_confirm_compromised_request_builder.go index d5ac0342423..fba1abb52b3 100644 --- a/identityprotection/risky_users_confirm_compromised_request_builder.go +++ b/identityprotection/risky_users_confirm_compromised_request_builder.go @@ -65,3 +65,7 @@ func (m *RiskyUsersConfirmCompromisedRequestBuilder) 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 *RiskyUsersConfirmCompromisedRequestBuilder) WithUrl(rawUrl string)(*RiskyUsersConfirmCompromisedRequestBuilder) { + return NewRiskyUsersConfirmCompromisedRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/risky_users_count_request_builder.go b/identityprotection/risky_users_count_request_builder.go index 83d828a221c..d347a44e318 100644 --- a/identityprotection/risky_users_count_request_builder.go +++ b/identityprotection/risky_users_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RiskyUsersCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *RiskyUsersCountRequestBuilder) WithUrl(rawUrl string)(*RiskyUsersCountRequestBuilder) { + return NewRiskyUsersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/risky_users_dismiss_request_builder.go b/identityprotection/risky_users_dismiss_request_builder.go index b8a1f7ab313..68df45f3991 100644 --- a/identityprotection/risky_users_dismiss_request_builder.go +++ b/identityprotection/risky_users_dismiss_request_builder.go @@ -65,3 +65,7 @@ func (m *RiskyUsersDismissRequestBuilder) ToPostRequestInformation(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 *RiskyUsersDismissRequestBuilder) WithUrl(rawUrl string)(*RiskyUsersDismissRequestBuilder) { + return NewRiskyUsersDismissRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/risky_users_item_history_count_request_builder.go b/identityprotection/risky_users_item_history_count_request_builder.go index 1ecd48bcf57..df6df0e9e23 100644 --- a/identityprotection/risky_users_item_history_count_request_builder.go +++ b/identityprotection/risky_users_item_history_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RiskyUsersItemHistoryCountRequestBuilder) ToGetRequestInformation(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 *RiskyUsersItemHistoryCountRequestBuilder) WithUrl(rawUrl string)(*RiskyUsersItemHistoryCountRequestBuilder) { + return NewRiskyUsersItemHistoryCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/risky_users_item_history_request_builder.go b/identityprotection/risky_users_item_history_request_builder.go index e0ac79e5b2a..ead5f8828dc 100644 --- a/identityprotection/risky_users_item_history_request_builder.go +++ b/identityprotection/risky_users_item_history_request_builder.go @@ -46,8 +46,8 @@ type RiskyUsersItemHistoryRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRiskyUserHistoryItemIdString provides operations to manage the history property of the microsoft.graph.riskyUser entity. -func (m *RiskyUsersItemHistoryRequestBuilder) ByRiskyUserHistoryItemIdString(riskyUserHistoryItemId string)(*RiskyUsersItemHistoryRiskyUserHistoryItemItemRequestBuilder) { +// ByRiskyUserHistoryItemId provides operations to manage the history property of the microsoft.graph.riskyUser entity. +func (m *RiskyUsersItemHistoryRequestBuilder) ByRiskyUserHistoryItemId(riskyUserHistoryItemId string)(*RiskyUsersItemHistoryRiskyUserHistoryItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *RiskyUsersItemHistoryRequestBuilder) 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 *RiskyUsersItemHistoryRequestBuilder) WithUrl(rawUrl string)(*RiskyUsersItemHistoryRequestBuilder) { + return NewRiskyUsersItemHistoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/risky_users_item_history_risky_user_history_item_item_request_builder.go b/identityprotection/risky_users_item_history_risky_user_history_item_item_request_builder.go index 093f93b7e76..1e00d524289 100644 --- a/identityprotection/risky_users_item_history_risky_user_history_item_item_request_builder.go +++ b/identityprotection/risky_users_item_history_risky_user_history_item_item_request_builder.go @@ -156,3 +156,7 @@ func (m *RiskyUsersItemHistoryRiskyUserHistoryItemItemRequestBuilder) ToPatchReq } 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 *RiskyUsersItemHistoryRiskyUserHistoryItemItemRequestBuilder) WithUrl(rawUrl string)(*RiskyUsersItemHistoryRiskyUserHistoryItemItemRequestBuilder) { + return NewRiskyUsersItemHistoryRiskyUserHistoryItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/risky_users_request_builder.go b/identityprotection/risky_users_request_builder.go index d4a91c76e94..8ed3e1af77b 100644 --- a/identityprotection/risky_users_request_builder.go +++ b/identityprotection/risky_users_request_builder.go @@ -11,7 +11,7 @@ import ( type RiskyUsersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RiskyUsersRequestBuilderGetQueryParameters retrieve the properties and relationships of a collection of riskyUser objects. +// RiskyUsersRequestBuilderGetQueryParameters retrieve the properties and relationships of a riskyUser object. type RiskyUsersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type RiskyUsersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRiskyUserIdString provides operations to manage the riskyUsers property of the microsoft.graph.identityProtectionRoot entity. -func (m *RiskyUsersRequestBuilder) ByRiskyUserIdString(riskyUserId string)(*RiskyUsersRiskyUserItemRequestBuilder) { +// ByRiskyUserId provides operations to manage the riskyUsers property of the microsoft.graph.identityProtectionRoot entity. +func (m *RiskyUsersRequestBuilder) ByRiskyUserId(riskyUserId string)(*RiskyUsersRiskyUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -82,10 +82,10 @@ func (m *RiskyUsersRequestBuilder) Count()(*RiskyUsersCountRequestBuilder) { func (m *RiskyUsersRequestBuilder) Dismiss()(*RiskyUsersDismissRequestBuilder) { return NewRiskyUsersDismissRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a collection of riskyUser objects. +// Get retrieve the properties and relationships of a riskyUser object. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/riskyusers-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/riskyusers-get?view=graph-rest-1.0 func (m *RiskyUsersRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskyUsersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyUserCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -123,7 +123,7 @@ func (m *RiskyUsersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyUserable), nil } -// ToGetRequestInformation retrieve the properties and relationships of a collection of riskyUser objects. +// ToGetRequestInformation retrieve the properties and relationships of a riskyUser object. func (m *RiskyUsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskyUsersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -156,3 +156,7 @@ func (m *RiskyUsersRequestBuilder) ToPostRequestInformation(ctx context.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 *RiskyUsersRequestBuilder) WithUrl(rawUrl string)(*RiskyUsersRequestBuilder) { + return NewRiskyUsersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/risky_users_risky_user_item_request_builder.go b/identityprotection/risky_users_risky_user_item_request_builder.go index 0dd5fb3f837..e91221d568c 100644 --- a/identityprotection/risky_users_risky_user_item_request_builder.go +++ b/identityprotection/risky_users_risky_user_item_request_builder.go @@ -157,3 +157,7 @@ func (m *RiskyUsersRiskyUserItemRequestBuilder) ToPatchRequestInformation(ctx co } 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 *RiskyUsersRiskyUserItemRequestBuilder) WithUrl(rawUrl string)(*RiskyUsersRiskyUserItemRequestBuilder) { + return NewRiskyUsersRiskyUserItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/service_principal_risk_detections_count_request_builder.go b/identityprotection/service_principal_risk_detections_count_request_builder.go index 7d2e4d3dcf9..a446584c3cf 100644 --- a/identityprotection/service_principal_risk_detections_count_request_builder.go +++ b/identityprotection/service_principal_risk_detections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ServicePrincipalRiskDetectionsCountRequestBuilder) ToGetRequestInformat } 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 *ServicePrincipalRiskDetectionsCountRequestBuilder) WithUrl(rawUrl string)(*ServicePrincipalRiskDetectionsCountRequestBuilder) { + return NewServicePrincipalRiskDetectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/service_principal_risk_detections_request_builder.go b/identityprotection/service_principal_risk_detections_request_builder.go index 0e0b90fe668..0d836b19f50 100644 --- a/identityprotection/service_principal_risk_detections_request_builder.go +++ b/identityprotection/service_principal_risk_detections_request_builder.go @@ -46,8 +46,8 @@ type ServicePrincipalRiskDetectionsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByServicePrincipalRiskDetectionIdString provides operations to manage the servicePrincipalRiskDetections property of the microsoft.graph.identityProtectionRoot entity. -func (m *ServicePrincipalRiskDetectionsRequestBuilder) ByServicePrincipalRiskDetectionIdString(servicePrincipalRiskDetectionId string)(*ServicePrincipalRiskDetectionsServicePrincipalRiskDetectionItemRequestBuilder) { +// ByServicePrincipalRiskDetectionId provides operations to manage the servicePrincipalRiskDetections property of the microsoft.graph.identityProtectionRoot entity. +func (m *ServicePrincipalRiskDetectionsRequestBuilder) ByServicePrincipalRiskDetectionId(servicePrincipalRiskDetectionId string)(*ServicePrincipalRiskDetectionsServicePrincipalRiskDetectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ServicePrincipalRiskDetectionsRequestBuilder) 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 *ServicePrincipalRiskDetectionsRequestBuilder) WithUrl(rawUrl string)(*ServicePrincipalRiskDetectionsRequestBuilder) { + return NewServicePrincipalRiskDetectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityprotection/service_principal_risk_detections_service_principal_risk_detection_item_request_builder.go b/identityprotection/service_principal_risk_detections_service_principal_risk_detection_item_request_builder.go index 5b46387f8bf..c060d8940af 100644 --- a/identityprotection/service_principal_risk_detections_service_principal_risk_detection_item_request_builder.go +++ b/identityprotection/service_principal_risk_detections_service_principal_risk_detection_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ServicePrincipalRiskDetectionsServicePrincipalRiskDetectionItemRequestB } 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 *ServicePrincipalRiskDetectionsServicePrincipalRiskDetectionItemRequestBuilder) WithUrl(rawUrl string)(*ServicePrincipalRiskDetectionsServicePrincipalRiskDetectionItemRequestBuilder) { + return NewServicePrincipalRiskDetectionsServicePrincipalRiskDetectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityproviders/available_provider_types_request_builder.go b/identityproviders/available_provider_types_request_builder.go index ce5e7a1b34c..411bba4daee 100644 --- a/identityproviders/available_provider_types_request_builder.go +++ b/identityproviders/available_provider_types_request_builder.go @@ -82,3 +82,8 @@ func (m *AvailableProviderTypesRequestBuilder) ToGetRequestInformation(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. +// Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15 +func (m *AvailableProviderTypesRequestBuilder) WithUrl(rawUrl string)(*AvailableProviderTypesRequestBuilder) { + return NewAvailableProviderTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityproviders/count_request_builder.go b/identityproviders/count_request_builder.go index adb49e17dd8..6aa062768b4 100644 --- a/identityproviders/count_request_builder.go +++ b/identityproviders/count_request_builder.go @@ -76,3 +76,8 @@ 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. +// Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15 +func (m *CountRequestBuilder) WithUrl(rawUrl string)(*CountRequestBuilder) { + return NewCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityproviders/identity_provider_item_request_builder.go b/identityproviders/identity_provider_item_request_builder.go index 5ea0ef1c4f7..e69a7e25411 100644 --- a/identityproviders/identity_provider_item_request_builder.go +++ b/identityproviders/identity_provider_item_request_builder.go @@ -168,3 +168,8 @@ func (m *IdentityProviderItemRequestBuilder) ToPatchRequestInformation(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. +// Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15 +func (m *IdentityProviderItemRequestBuilder) WithUrl(rawUrl string)(*IdentityProviderItemRequestBuilder) { + return NewIdentityProviderItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identityproviders/identity_providers_request_builder.go b/identityproviders/identity_providers_request_builder.go index d193ec63ca1..7c2fa9a1a4f 100644 --- a/identityproviders/identity_providers_request_builder.go +++ b/identityproviders/identity_providers_request_builder.go @@ -50,9 +50,9 @@ type IdentityProvidersRequestBuilderPostRequestConfiguration struct { func (m *IdentityProvidersRequestBuilder) AvailableProviderTypes()(*AvailableProviderTypesRequestBuilder) { return NewAvailableProviderTypesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByIdentityProviderIdString provides operations to manage the collection of identityProvider entities. +// ByIdentityProviderId provides operations to manage the collection of identityProvider entities. // Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15 -func (m *IdentityProvidersRequestBuilder) ByIdentityProviderIdString(identityProviderId string)(*IdentityProviderItemRequestBuilder) { +func (m *IdentityProvidersRequestBuilder) ByIdentityProviderId(identityProviderId string)(*IdentityProviderItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -160,3 +160,8 @@ func (m *IdentityProvidersRequestBuilder) ToPostRequestInformation(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. +// Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider on 2021-08-24 and will be removed 2023-03-15 +func (m *IdentityProvidersRequestBuilder) WithUrl(rawUrl string)(*IdentityProvidersRequestBuilder) { + return NewIdentityProvidersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go b/informationprotection/bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go index 1398a6ccff1..69ec7d230df 100644 --- a/informationprotection/bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go +++ b/informationprotection/bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go @@ -78,3 +78,7 @@ func (m *BitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) ToGetReque } 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 *BitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) WithUrl(rawUrl string)(*BitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) { + return NewBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/bitlocker_recovery_keys_count_request_builder.go b/informationprotection/bitlocker_recovery_keys_count_request_builder.go index ec11726d90a..2ae9f382650 100644 --- a/informationprotection/bitlocker_recovery_keys_count_request_builder.go +++ b/informationprotection/bitlocker_recovery_keys_count_request_builder.go @@ -74,3 +74,7 @@ func (m *BitlockerRecoveryKeysCountRequestBuilder) ToGetRequestInformation(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 *BitlockerRecoveryKeysCountRequestBuilder) WithUrl(rawUrl string)(*BitlockerRecoveryKeysCountRequestBuilder) { + return NewBitlockerRecoveryKeysCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/bitlocker_recovery_keys_request_builder.go b/informationprotection/bitlocker_recovery_keys_request_builder.go index d4e87958fc1..8aa9a0368d3 100644 --- a/informationprotection/bitlocker_recovery_keys_request_builder.go +++ b/informationprotection/bitlocker_recovery_keys_request_builder.go @@ -39,8 +39,8 @@ type BitlockerRecoveryKeysRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *BitlockerRecoveryKeysRequestBuilderGetQueryParameters } -// ByBitlockerRecoveryKeyIdString provides operations to manage the recoveryKeys property of the microsoft.graph.bitlocker entity. -func (m *BitlockerRecoveryKeysRequestBuilder) ByBitlockerRecoveryKeyIdString(bitlockerRecoveryKeyId string)(*BitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) { +// ByBitlockerRecoveryKeyId provides operations to manage the recoveryKeys property of the microsoft.graph.bitlocker entity. +func (m *BitlockerRecoveryKeysRequestBuilder) ByBitlockerRecoveryKeyId(bitlockerRecoveryKeyId string)(*BitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *BitlockerRecoveryKeysRequestBuilder) ToGetRequestInformation(ctx contex } 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 *BitlockerRecoveryKeysRequestBuilder) WithUrl(rawUrl string)(*BitlockerRecoveryKeysRequestBuilder) { + return NewBitlockerRecoveryKeysRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/bitlocker_request_builder.go b/informationprotection/bitlocker_request_builder.go index dabeb0897f8..5cb118e6c35 100644 --- a/informationprotection/bitlocker_request_builder.go +++ b/informationprotection/bitlocker_request_builder.go @@ -79,3 +79,7 @@ func (m *BitlockerRequestBuilder) ToGetRequestInformation(ctx context.Context, r } 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 *BitlockerRequestBuilder) WithUrl(rawUrl string)(*BitlockerRequestBuilder) { + return NewBitlockerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/data_loss_prevention_policies_count_request_builder.go b/informationprotection/data_loss_prevention_policies_count_request_builder.go index 4aee2f285e3..fede5217b58 100644 --- a/informationprotection/data_loss_prevention_policies_count_request_builder.go +++ b/informationprotection/data_loss_prevention_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DataLossPreventionPoliciesCountRequestBuilder) 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 *DataLossPreventionPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*DataLossPreventionPoliciesCountRequestBuilder) { + return NewDataLossPreventionPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go b/informationprotection/data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go index 5b15ff05341..a1a5c9f9981 100644 --- a/informationprotection/data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go +++ b/informationprotection/data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder) T } 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 *DataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder) WithUrl(rawUrl string)(*DataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder) { + return NewDataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/data_loss_prevention_policies_evaluate_request_builder.go b/informationprotection/data_loss_prevention_policies_evaluate_request_builder.go index 95ca46cfe7c..9563c130b0f 100644 --- a/informationprotection/data_loss_prevention_policies_evaluate_request_builder.go +++ b/informationprotection/data_loss_prevention_policies_evaluate_request_builder.go @@ -67,3 +67,7 @@ func (m *DataLossPreventionPoliciesEvaluateRequestBuilder) ToPostRequestInformat } 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 *DataLossPreventionPoliciesEvaluateRequestBuilder) WithUrl(rawUrl string)(*DataLossPreventionPoliciesEvaluateRequestBuilder) { + return NewDataLossPreventionPoliciesEvaluateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/data_loss_prevention_policies_request_builder.go b/informationprotection/data_loss_prevention_policies_request_builder.go index 33b37fe31b9..42ad46bceee 100644 --- a/informationprotection/data_loss_prevention_policies_request_builder.go +++ b/informationprotection/data_loss_prevention_policies_request_builder.go @@ -46,8 +46,8 @@ type DataLossPreventionPoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDataLossPreventionPolicyIdString provides operations to manage the dataLossPreventionPolicies property of the microsoft.graph.informationProtection entity. -func (m *DataLossPreventionPoliciesRequestBuilder) ByDataLossPreventionPolicyIdString(dataLossPreventionPolicyId string)(*DataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder) { +// ByDataLossPreventionPolicyId provides operations to manage the dataLossPreventionPolicies property of the microsoft.graph.informationProtection entity. +func (m *DataLossPreventionPoliciesRequestBuilder) ByDataLossPreventionPolicyId(dataLossPreventionPolicyId string)(*DataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *DataLossPreventionPoliciesRequestBuilder) 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 *DataLossPreventionPoliciesRequestBuilder) WithUrl(rawUrl string)(*DataLossPreventionPoliciesRequestBuilder) { + return NewDataLossPreventionPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/decrypt_buffer_request_builder.go b/informationprotection/decrypt_buffer_request_builder.go index ca323adcb1c..4376c07047b 100644 --- a/informationprotection/decrypt_buffer_request_builder.go +++ b/informationprotection/decrypt_buffer_request_builder.go @@ -69,3 +69,8 @@ func (m *DecryptBufferRequestBuilder) 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *DecryptBufferRequestBuilder) WithUrl(rawUrl string)(*DecryptBufferRequestBuilder) { + return NewDecryptBufferRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/encrypt_buffer_request_builder.go b/informationprotection/encrypt_buffer_request_builder.go index 09c7f44030f..bd816530d0a 100644 --- a/informationprotection/encrypt_buffer_request_builder.go +++ b/informationprotection/encrypt_buffer_request_builder.go @@ -69,3 +69,8 @@ func (m *EncryptBufferRequestBuilder) 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *EncryptBufferRequestBuilder) WithUrl(rawUrl string)(*EncryptBufferRequestBuilder) { + return NewEncryptBufferRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/information_protection_request_builder.go b/informationprotection/information_protection_request_builder.go index ee241ac5b64..f1ee9f61f04 100644 --- a/informationprotection/information_protection_request_builder.go +++ b/informationprotection/information_protection_request_builder.go @@ -158,3 +158,7 @@ func (m *InformationProtectionRequestBuilder) ToPatchRequestInformation(ctx cont func (m *InformationProtectionRequestBuilder) VerifySignature()(*VerifySignatureRequestBuilder) { return NewVerifySignatureRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *InformationProtectionRequestBuilder) WithUrl(rawUrl string)(*InformationProtectionRequestBuilder) { + return NewInformationProtectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/policy_labels_count_request_builder.go b/informationprotection/policy_labels_count_request_builder.go index da332f61b32..587497cc6fd 100644 --- a/informationprotection/policy_labels_count_request_builder.go +++ b/informationprotection/policy_labels_count_request_builder.go @@ -76,3 +76,8 @@ func (m *PolicyLabelsCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *PolicyLabelsCountRequestBuilder) WithUrl(rawUrl string)(*PolicyLabelsCountRequestBuilder) { + return NewPolicyLabelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/policy_labels_evaluate_application_request_builder.go b/informationprotection/policy_labels_evaluate_application_request_builder.go index e2833172714..b277fbd19c7 100644 --- a/informationprotection/policy_labels_evaluate_application_request_builder.go +++ b/informationprotection/policy_labels_evaluate_application_request_builder.go @@ -71,3 +71,8 @@ func (m *PolicyLabelsEvaluateApplicationRequestBuilder) 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *PolicyLabelsEvaluateApplicationRequestBuilder) WithUrl(rawUrl string)(*PolicyLabelsEvaluateApplicationRequestBuilder) { + return NewPolicyLabelsEvaluateApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/policy_labels_evaluate_classification_results_request_builder.go b/informationprotection/policy_labels_evaluate_classification_results_request_builder.go index cd34986e9cc..e52ed086164 100644 --- a/informationprotection/policy_labels_evaluate_classification_results_request_builder.go +++ b/informationprotection/policy_labels_evaluate_classification_results_request_builder.go @@ -71,3 +71,8 @@ func (m *PolicyLabelsEvaluateClassificationResultsRequestBuilder) ToPostRequestI } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *PolicyLabelsEvaluateClassificationResultsRequestBuilder) WithUrl(rawUrl string)(*PolicyLabelsEvaluateClassificationResultsRequestBuilder) { + return NewPolicyLabelsEvaluateClassificationResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/policy_labels_evaluate_removal_request_builder.go b/informationprotection/policy_labels_evaluate_removal_request_builder.go index d9b9b7946b2..523d33e587a 100644 --- a/informationprotection/policy_labels_evaluate_removal_request_builder.go +++ b/informationprotection/policy_labels_evaluate_removal_request_builder.go @@ -71,3 +71,8 @@ func (m *PolicyLabelsEvaluateRemovalRequestBuilder) 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *PolicyLabelsEvaluateRemovalRequestBuilder) WithUrl(rawUrl string)(*PolicyLabelsEvaluateRemovalRequestBuilder) { + return NewPolicyLabelsEvaluateRemovalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/policy_labels_extract_label_request_builder.go b/informationprotection/policy_labels_extract_label_request_builder.go index 195144c675e..214ce2b0af6 100644 --- a/informationprotection/policy_labels_extract_label_request_builder.go +++ b/informationprotection/policy_labels_extract_label_request_builder.go @@ -72,3 +72,8 @@ func (m *PolicyLabelsExtractLabelRequestBuilder) ToPostRequestInformation(ctx co } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *PolicyLabelsExtractLabelRequestBuilder) WithUrl(rawUrl string)(*PolicyLabelsExtractLabelRequestBuilder) { + return NewPolicyLabelsExtractLabelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/policy_labels_information_protection_label_item_request_builder.go b/informationprotection/policy_labels_information_protection_label_item_request_builder.go index 82423cf09c4..c5b3820579d 100644 --- a/informationprotection/policy_labels_information_protection_label_item_request_builder.go +++ b/informationprotection/policy_labels_information_protection_label_item_request_builder.go @@ -162,3 +162,8 @@ func (m *PolicyLabelsInformationProtectionLabelItemRequestBuilder) ToPatchReques } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *PolicyLabelsInformationProtectionLabelItemRequestBuilder) WithUrl(rawUrl string)(*PolicyLabelsInformationProtectionLabelItemRequestBuilder) { + return NewPolicyLabelsInformationProtectionLabelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/policy_labels_request_builder.go b/informationprotection/policy_labels_request_builder.go index 9206c09b7f3..e0778115144 100644 --- a/informationprotection/policy_labels_request_builder.go +++ b/informationprotection/policy_labels_request_builder.go @@ -46,9 +46,9 @@ type PolicyLabelsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByInformationProtectionLabelIdString provides operations to manage the labels property of the microsoft.graph.informationProtectionPolicy entity. +// ByInformationProtectionLabelId provides operations to manage the labels property of the microsoft.graph.informationProtectionPolicy entity. // Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 -func (m *PolicyLabelsRequestBuilder) ByInformationProtectionLabelIdString(informationProtectionLabelId string)(*PolicyLabelsInformationProtectionLabelItemRequestBuilder) { +func (m *PolicyLabelsRequestBuilder) ByInformationProtectionLabelId(informationProtectionLabelId string)(*PolicyLabelsInformationProtectionLabelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -169,3 +169,8 @@ func (m *PolicyLabelsRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *PolicyLabelsRequestBuilder) WithUrl(rawUrl string)(*PolicyLabelsRequestBuilder) { + return NewPolicyLabelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/policy_request_builder.go b/informationprotection/policy_request_builder.go index 1035148776d..1e52c29ba5d 100644 --- a/informationprotection/policy_request_builder.go +++ b/informationprotection/policy_request_builder.go @@ -163,3 +163,8 @@ func (m *PolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, bo } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *PolicyRequestBuilder) WithUrl(rawUrl string)(*PolicyRequestBuilder) { + return NewPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/sensitivity_labels_count_request_builder.go b/informationprotection/sensitivity_labels_count_request_builder.go index 8c0e4050e03..4e2344a4747 100644 --- a/informationprotection/sensitivity_labels_count_request_builder.go +++ b/informationprotection/sensitivity_labels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SensitivityLabelsCountRequestBuilder) ToGetRequestInformation(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 *SensitivityLabelsCountRequestBuilder) WithUrl(rawUrl string)(*SensitivityLabelsCountRequestBuilder) { + return NewSensitivityLabelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/sensitivity_labels_evaluate_request_builder.go b/informationprotection/sensitivity_labels_evaluate_request_builder.go index 8247e2c08ed..7831705df86 100644 --- a/informationprotection/sensitivity_labels_evaluate_request_builder.go +++ b/informationprotection/sensitivity_labels_evaluate_request_builder.go @@ -67,3 +67,7 @@ func (m *SensitivityLabelsEvaluateRequestBuilder) ToPostRequestInformation(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 *SensitivityLabelsEvaluateRequestBuilder) WithUrl(rawUrl string)(*SensitivityLabelsEvaluateRequestBuilder) { + return NewSensitivityLabelsEvaluateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/sensitivity_labels_item_sublabels_count_request_builder.go b/informationprotection/sensitivity_labels_item_sublabels_count_request_builder.go index 46def4ae21c..0ac6bd31466 100644 --- a/informationprotection/sensitivity_labels_item_sublabels_count_request_builder.go +++ b/informationprotection/sensitivity_labels_item_sublabels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SensitivityLabelsItemSublabelsCountRequestBuilder) ToGetRequestInformat } 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 *SensitivityLabelsItemSublabelsCountRequestBuilder) WithUrl(rawUrl string)(*SensitivityLabelsItemSublabelsCountRequestBuilder) { + return NewSensitivityLabelsItemSublabelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/sensitivity_labels_item_sublabels_evaluate_request_builder.go b/informationprotection/sensitivity_labels_item_sublabels_evaluate_request_builder.go index 1d1c20d84d5..e548cfa7a7b 100644 --- a/informationprotection/sensitivity_labels_item_sublabels_evaluate_request_builder.go +++ b/informationprotection/sensitivity_labels_item_sublabels_evaluate_request_builder.go @@ -67,3 +67,7 @@ func (m *SensitivityLabelsItemSublabelsEvaluateRequestBuilder) ToPostRequestInfo } 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 *SensitivityLabelsItemSublabelsEvaluateRequestBuilder) WithUrl(rawUrl string)(*SensitivityLabelsItemSublabelsEvaluateRequestBuilder) { + return NewSensitivityLabelsItemSublabelsEvaluateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/sensitivity_labels_item_sublabels_request_builder.go b/informationprotection/sensitivity_labels_item_sublabels_request_builder.go index e56b67809a7..69d851b48e2 100644 --- a/informationprotection/sensitivity_labels_item_sublabels_request_builder.go +++ b/informationprotection/sensitivity_labels_item_sublabels_request_builder.go @@ -46,8 +46,8 @@ type SensitivityLabelsItemSublabelsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySensitivityLabelId1String provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. -func (m *SensitivityLabelsItemSublabelsRequestBuilder) BySensitivityLabelId1String(sensitivityLabelId1 string)(*SensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) { +// BySensitivityLabelId1 provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. +func (m *SensitivityLabelsItemSublabelsRequestBuilder) BySensitivityLabelId1(sensitivityLabelId1 string)(*SensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *SensitivityLabelsItemSublabelsRequestBuilder) 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 *SensitivityLabelsItemSublabelsRequestBuilder) WithUrl(rawUrl string)(*SensitivityLabelsItemSublabelsRequestBuilder) { + return NewSensitivityLabelsItemSublabelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go b/informationprotection/sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go index 419171674c1..b2519e260a9 100644 --- a/informationprotection/sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go +++ b/informationprotection/sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go @@ -153,3 +153,7 @@ func (m *SensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) 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 *SensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) WithUrl(rawUrl string)(*SensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) { + return NewSensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/sensitivity_labels_request_builder.go b/informationprotection/sensitivity_labels_request_builder.go index fae87af186c..1d7e6b64656 100644 --- a/informationprotection/sensitivity_labels_request_builder.go +++ b/informationprotection/sensitivity_labels_request_builder.go @@ -46,8 +46,8 @@ type SensitivityLabelsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySensitivityLabelIdString provides operations to manage the sensitivityLabels property of the microsoft.graph.informationProtection entity. -func (m *SensitivityLabelsRequestBuilder) BySensitivityLabelIdString(sensitivityLabelId string)(*SensitivityLabelsSensitivityLabelItemRequestBuilder) { +// BySensitivityLabelId provides operations to manage the sensitivityLabels property of the microsoft.graph.informationProtection entity. +func (m *SensitivityLabelsRequestBuilder) BySensitivityLabelId(sensitivityLabelId string)(*SensitivityLabelsSensitivityLabelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *SensitivityLabelsRequestBuilder) ToPostRequestInformation(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 *SensitivityLabelsRequestBuilder) WithUrl(rawUrl string)(*SensitivityLabelsRequestBuilder) { + return NewSensitivityLabelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/sensitivity_labels_sensitivity_label_item_request_builder.go b/informationprotection/sensitivity_labels_sensitivity_label_item_request_builder.go index 741f76ba797..c82adcab7fa 100644 --- a/informationprotection/sensitivity_labels_sensitivity_label_item_request_builder.go +++ b/informationprotection/sensitivity_labels_sensitivity_label_item_request_builder.go @@ -157,3 +157,7 @@ func (m *SensitivityLabelsSensitivityLabelItemRequestBuilder) 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 *SensitivityLabelsSensitivityLabelItemRequestBuilder) WithUrl(rawUrl string)(*SensitivityLabelsSensitivityLabelItemRequestBuilder) { + return NewSensitivityLabelsSensitivityLabelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/sensitivity_policy_settings_request_builder.go b/informationprotection/sensitivity_policy_settings_request_builder.go index 214e28b37fc..267ca71a198 100644 --- a/informationprotection/sensitivity_policy_settings_request_builder.go +++ b/informationprotection/sensitivity_policy_settings_request_builder.go @@ -153,3 +153,7 @@ func (m *SensitivityPolicySettingsRequestBuilder) ToPatchRequestInformation(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 *SensitivityPolicySettingsRequestBuilder) WithUrl(rawUrl string)(*SensitivityPolicySettingsRequestBuilder) { + return NewSensitivityPolicySettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/sign_digest_request_builder.go b/informationprotection/sign_digest_request_builder.go index 55cf90ab3f1..722bc6163d0 100644 --- a/informationprotection/sign_digest_request_builder.go +++ b/informationprotection/sign_digest_request_builder.go @@ -69,3 +69,8 @@ func (m *SignDigestRequestBuilder) ToPostRequestInformation(ctx context.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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *SignDigestRequestBuilder) WithUrl(rawUrl string)(*SignDigestRequestBuilder) { + return NewSignDigestRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/threat_assessment_requests_count_request_builder.go b/informationprotection/threat_assessment_requests_count_request_builder.go index 08eccdce9ce..c407074cf39 100644 --- a/informationprotection/threat_assessment_requests_count_request_builder.go +++ b/informationprotection/threat_assessment_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatAssessmentRequestsCountRequestBuilder) ToGetRequestInformation(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 *ThreatAssessmentRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatAssessmentRequestsCountRequestBuilder) { + return NewThreatAssessmentRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/threat_assessment_requests_item_results_count_request_builder.go b/informationprotection/threat_assessment_requests_item_results_count_request_builder.go index 6808f9c3414..7a4c66a7b8a 100644 --- a/informationprotection/threat_assessment_requests_item_results_count_request_builder.go +++ b/informationprotection/threat_assessment_requests_item_results_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatAssessmentRequestsItemResultsCountRequestBuilder) ToGetRequestInf } 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 *ThreatAssessmentRequestsItemResultsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatAssessmentRequestsItemResultsCountRequestBuilder) { + return NewThreatAssessmentRequestsItemResultsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/threat_assessment_requests_item_results_request_builder.go b/informationprotection/threat_assessment_requests_item_results_request_builder.go index 015e52c1ebc..ce718c05dfb 100644 --- a/informationprotection/threat_assessment_requests_item_results_request_builder.go +++ b/informationprotection/threat_assessment_requests_item_results_request_builder.go @@ -46,8 +46,8 @@ type ThreatAssessmentRequestsItemResultsRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByThreatAssessmentResultIdString provides operations to manage the results property of the microsoft.graph.threatAssessmentRequest entity. -func (m *ThreatAssessmentRequestsItemResultsRequestBuilder) ByThreatAssessmentResultIdString(threatAssessmentResultId string)(*ThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBuilder) { +// ByThreatAssessmentResultId provides operations to manage the results property of the microsoft.graph.threatAssessmentRequest entity. +func (m *ThreatAssessmentRequestsItemResultsRequestBuilder) ByThreatAssessmentResultId(threatAssessmentResultId string)(*ThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ThreatAssessmentRequestsItemResultsRequestBuilder) ToPostRequestInforma } 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 *ThreatAssessmentRequestsItemResultsRequestBuilder) WithUrl(rawUrl string)(*ThreatAssessmentRequestsItemResultsRequestBuilder) { + return NewThreatAssessmentRequestsItemResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go b/informationprotection/threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go index 7e676488707..bb8f2a71b3c 100644 --- a/informationprotection/threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go +++ b/informationprotection/threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBui } 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 *ThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBuilder) WithUrl(rawUrl string)(*ThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBuilder) { + return NewThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/threat_assessment_requests_request_builder.go b/informationprotection/threat_assessment_requests_request_builder.go index a00343fcc46..b92ea38ec28 100644 --- a/informationprotection/threat_assessment_requests_request_builder.go +++ b/informationprotection/threat_assessment_requests_request_builder.go @@ -46,8 +46,8 @@ type ThreatAssessmentRequestsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByThreatAssessmentRequestIdString provides operations to manage the threatAssessmentRequests property of the microsoft.graph.informationProtection entity. -func (m *ThreatAssessmentRequestsRequestBuilder) ByThreatAssessmentRequestIdString(threatAssessmentRequestId string)(*ThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) { +// ByThreatAssessmentRequestId provides operations to manage the threatAssessmentRequests property of the microsoft.graph.informationProtection entity. +func (m *ThreatAssessmentRequestsRequestBuilder) ByThreatAssessmentRequestId(threatAssessmentRequestId string)(*ThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ThreatAssessmentRequestsRequestBuilder) ToPostRequestInformation(ctx co } 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 *ThreatAssessmentRequestsRequestBuilder) WithUrl(rawUrl string)(*ThreatAssessmentRequestsRequestBuilder) { + return NewThreatAssessmentRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/threat_assessment_requests_threat_assessment_request_item_request_builder.go b/informationprotection/threat_assessment_requests_threat_assessment_request_item_request_builder.go index 65753c4876e..dd685c36b30 100644 --- a/informationprotection/threat_assessment_requests_threat_assessment_request_item_request_builder.go +++ b/informationprotection/threat_assessment_requests_threat_assessment_request_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) ToPa } 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 *ThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) WithUrl(rawUrl string)(*ThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) { + return NewThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/informationprotection/verify_signature_request_builder.go b/informationprotection/verify_signature_request_builder.go index 34a08105a1a..298b74e97e3 100644 --- a/informationprotection/verify_signature_request_builder.go +++ b/informationprotection/verify_signature_request_builder.go @@ -69,3 +69,8 @@ func (m *VerifySignatureRequestBuilder) ToPostRequestInformation(ctx context.Con } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *VerifySignatureRequestBuilder) WithUrl(rawUrl string)(*VerifySignatureRequestBuilder) { + return NewVerifySignatureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/invitations/count_request_builder.go b/invitations/count_request_builder.go index 8705b7cbffd..b961eb79744 100644 --- a/invitations/count_request_builder.go +++ b/invitations/count_request_builder.go @@ -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); +} diff --git a/invitations/invitation_item_request_builder.go b/invitations/invitation_item_request_builder.go index c18519eadaf..19d7dad25e4 100644 --- a/invitations/invitation_item_request_builder.go +++ b/invitations/invitation_item_request_builder.go @@ -161,3 +161,7 @@ func (m *InvitationItemRequestBuilder) ToPatchRequestInformation(ctx context.Con } 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 *InvitationItemRequestBuilder) WithUrl(rawUrl string)(*InvitationItemRequestBuilder) { + return NewInvitationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/invitations/invitations_request_builder.go b/invitations/invitations_request_builder.go index f063c5f8bc4..cc43c73b507 100644 --- a/invitations/invitations_request_builder.go +++ b/invitations/invitations_request_builder.go @@ -46,8 +46,8 @@ type InvitationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByInvitationIdString provides operations to manage the collection of invitation entities. -func (m *InvitationsRequestBuilder) ByInvitationIdString(invitationId string)(*InvitationItemRequestBuilder) { +// ByInvitationId provides operations to manage the collection of invitation entities. +func (m *InvitationsRequestBuilder) ByInvitationId(invitationId string)(*InvitationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *InvitationsRequestBuilder) ToPostRequestInformation(ctx context.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 *InvitationsRequestBuilder) WithUrl(rawUrl string)(*InvitationsRequestBuilder) { + return NewInvitationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/invitations/item_invited_user_mailbox_settings_request_builder.go b/invitations/item_invited_user_mailbox_settings_request_builder.go index 47977e8b631..5210950de22 100644 --- a/invitations/item_invited_user_mailbox_settings_request_builder.go +++ b/invitations/item_invited_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemInvitedUserMailboxSettingsRequestBuilder) 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 *ItemInvitedUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemInvitedUserMailboxSettingsRequestBuilder) { + return NewItemInvitedUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/invitations/item_invited_user_request_builder.go b/invitations/item_invited_user_request_builder.go index 6612006cc7b..832e9ec51ea 100644 --- a/invitations/item_invited_user_request_builder.go +++ b/invitations/item_invited_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemInvitedUserRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemInvitedUserRequestBuilder) WithUrl(rawUrl string)(*ItemInvitedUserRequestBuilder) { + return NewItemInvitedUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/invitations/item_invited_user_sponsors_count_request_builder.go b/invitations/item_invited_user_sponsors_count_request_builder.go index 177a53b97ae..19d06a6d4fa 100644 --- a/invitations/item_invited_user_sponsors_count_request_builder.go +++ b/invitations/item_invited_user_sponsors_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemInvitedUserSponsorsCountRequestBuilder) ToGetRequestInformation(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 *ItemInvitedUserSponsorsCountRequestBuilder) WithUrl(rawUrl string)(*ItemInvitedUserSponsorsCountRequestBuilder) { + return NewItemInvitedUserSponsorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/invitations/item_invited_user_sponsors_directory_object_item_request_builder.go b/invitations/item_invited_user_sponsors_directory_object_item_request_builder.go index a05aaf6dc11..1bd9de8497c 100644 --- a/invitations/item_invited_user_sponsors_directory_object_item_request_builder.go +++ b/invitations/item_invited_user_sponsors_directory_object_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemInvitedUserSponsorsDirectoryObjectItemRequestBuilder) ToGetRequestI } 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 *ItemInvitedUserSponsorsDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemInvitedUserSponsorsDirectoryObjectItemRequestBuilder) { + return NewItemInvitedUserSponsorsDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/invitations/item_invited_user_sponsors_request_builder.go b/invitations/item_invited_user_sponsors_request_builder.go index 83ba8450eac..a375995f638 100644 --- a/invitations/item_invited_user_sponsors_request_builder.go +++ b/invitations/item_invited_user_sponsors_request_builder.go @@ -39,8 +39,8 @@ type ItemInvitedUserSponsorsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemInvitedUserSponsorsRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the invitedUserSponsors property of the microsoft.graph.invitation entity. -func (m *ItemInvitedUserSponsorsRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemInvitedUserSponsorsDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the invitedUserSponsors property of the microsoft.graph.invitation entity. +func (m *ItemInvitedUserSponsorsRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemInvitedUserSponsorsDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemInvitedUserSponsorsRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemInvitedUserSponsorsRequestBuilder) WithUrl(rawUrl string)(*ItemInvitedUserSponsorsRequestBuilder) { + return NewItemInvitedUserSponsorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/kiota-lock.json b/kiota-lock.json index 66ce2810754..68b12242d57 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "A01E4E2FD4CA1961C871ADA03DEE41B1853C4C4B0EF4BA6CC55D17DDA41EEA3B6733B3D4CE567EA7351A3A10CF2C3B0F61DAA986FE4F739D35B49649FD03B618", + "descriptionHash": "3AB047A45EAFF0F48CC735C34A1A395E24AF79DF09703A36B05C5031A2B89DE512244FA7CB13DDA62BC42653D24470CBCEAF47F05763B42254D0CA2B20F6663B", "descriptionLocation": "/mnt/vss/_work/1/s/msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.6.0", + "kiotaVersion": "1.7.0", "clientClassName": "GraphBaseServiceClient", "clientNamespaceName": "github.com/microsoftgraph/msgraph-beta-sdk-go/", "language": "Go", diff --git a/messageevents/count_request_builder.go b/messageevents/count_request_builder.go index 50bd17e04ba..935915f2860 100644 --- a/messageevents/count_request_builder.go +++ b/messageevents/count_request_builder.go @@ -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); +} diff --git a/messageevents/message_event_item_request_builder.go b/messageevents/message_event_item_request_builder.go index a2efb28d46f..646a013aa58 100644 --- a/messageevents/message_event_item_request_builder.go +++ b/messageevents/message_event_item_request_builder.go @@ -153,3 +153,7 @@ func (m *MessageEventItemRequestBuilder) 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 *MessageEventItemRequestBuilder) WithUrl(rawUrl string)(*MessageEventItemRequestBuilder) { + return NewMessageEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/messageevents/message_events_request_builder.go b/messageevents/message_events_request_builder.go index b21c7194840..d898a0995ec 100644 --- a/messageevents/message_events_request_builder.go +++ b/messageevents/message_events_request_builder.go @@ -46,8 +46,8 @@ type MessageEventsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMessageEventIdString provides operations to manage the collection of messageEvent entities. -func (m *MessageEventsRequestBuilder) ByMessageEventIdString(messageEventId string)(*MessageEventItemRequestBuilder) { +// ByMessageEventId provides operations to manage the collection of messageEvent entities. +func (m *MessageEventsRequestBuilder) ByMessageEventId(messageEventId string)(*MessageEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MessageEventsRequestBuilder) 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 *MessageEventsRequestBuilder) WithUrl(rawUrl string)(*MessageEventsRequestBuilder) { + return NewMessageEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/messagerecipients/count_request_builder.go b/messagerecipients/count_request_builder.go index e7b9620c5db..f930f141ee9 100644 --- a/messagerecipients/count_request_builder.go +++ b/messagerecipients/count_request_builder.go @@ -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); +} diff --git a/messagerecipients/item_events_count_request_builder.go b/messagerecipients/item_events_count_request_builder.go index 2243ce494c3..5b00d104e01 100644 --- a/messagerecipients/item_events_count_request_builder.go +++ b/messagerecipients/item_events_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemEventsCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemEventsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsCountRequestBuilder) { + return NewItemEventsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/messagerecipients/item_events_message_event_item_request_builder.go b/messagerecipients/item_events_message_event_item_request_builder.go index ed831dc7d4c..667c862ed9d 100644 --- a/messagerecipients/item_events_message_event_item_request_builder.go +++ b/messagerecipients/item_events_message_event_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemEventsMessageEventItemRequestBuilder) ToPatchRequestInformation(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 *ItemEventsMessageEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsMessageEventItemRequestBuilder) { + return NewItemEventsMessageEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/messagerecipients/item_events_request_builder.go b/messagerecipients/item_events_request_builder.go index ec94eb0f012..9834ca647b3 100644 --- a/messagerecipients/item_events_request_builder.go +++ b/messagerecipients/item_events_request_builder.go @@ -46,8 +46,8 @@ type ItemEventsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMessageEventIdString provides operations to manage the events property of the microsoft.graph.messageRecipient entity. -func (m *ItemEventsRequestBuilder) ByMessageEventIdString(messageEventId string)(*ItemEventsMessageEventItemRequestBuilder) { +// ByMessageEventId provides operations to manage the events property of the microsoft.graph.messageRecipient entity. +func (m *ItemEventsRequestBuilder) ByMessageEventId(messageEventId string)(*ItemEventsMessageEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemEventsRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemEventsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsRequestBuilder) { + return NewItemEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/messagerecipients/message_recipient_item_request_builder.go b/messagerecipients/message_recipient_item_request_builder.go index 961f70d703e..dd5de13c134 100644 --- a/messagerecipients/message_recipient_item_request_builder.go +++ b/messagerecipients/message_recipient_item_request_builder.go @@ -157,3 +157,7 @@ func (m *MessageRecipientItemRequestBuilder) ToPatchRequestInformation(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 *MessageRecipientItemRequestBuilder) WithUrl(rawUrl string)(*MessageRecipientItemRequestBuilder) { + return NewMessageRecipientItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/messagerecipients/message_recipients_request_builder.go b/messagerecipients/message_recipients_request_builder.go index 5f9d97f695e..cb1b4c364d9 100644 --- a/messagerecipients/message_recipients_request_builder.go +++ b/messagerecipients/message_recipients_request_builder.go @@ -46,8 +46,8 @@ type MessageRecipientsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMessageRecipientIdString provides operations to manage the collection of messageRecipient entities. -func (m *MessageRecipientsRequestBuilder) ByMessageRecipientIdString(messageRecipientId string)(*MessageRecipientItemRequestBuilder) { +// ByMessageRecipientId provides operations to manage the collection of messageRecipient entities. +func (m *MessageRecipientsRequestBuilder) ByMessageRecipientId(messageRecipientId string)(*MessageRecipientItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MessageRecipientsRequestBuilder) ToPostRequestInformation(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 *MessageRecipientsRequestBuilder) WithUrl(rawUrl string)(*MessageRecipientsRequestBuilder) { + return NewMessageRecipientsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/messagetraces/count_request_builder.go b/messagetraces/count_request_builder.go index efdd0f1106c..3afd68b0bc2 100644 --- a/messagetraces/count_request_builder.go +++ b/messagetraces/count_request_builder.go @@ -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); +} diff --git a/messagetraces/item_recipients_count_request_builder.go b/messagetraces/item_recipients_count_request_builder.go index d6f8e47c2b7..7ff3f13a292 100644 --- a/messagetraces/item_recipients_count_request_builder.go +++ b/messagetraces/item_recipients_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRecipientsCountRequestBuilder) ToGetRequestInformation(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 *ItemRecipientsCountRequestBuilder) WithUrl(rawUrl string)(*ItemRecipientsCountRequestBuilder) { + return NewItemRecipientsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/messagetraces/item_recipients_item_events_count_request_builder.go b/messagetraces/item_recipients_item_events_count_request_builder.go index b8bb193b64f..23bbdbe000c 100644 --- a/messagetraces/item_recipients_item_events_count_request_builder.go +++ b/messagetraces/item_recipients_item_events_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRecipientsItemEventsCountRequestBuilder) ToGetRequestInformation(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 *ItemRecipientsItemEventsCountRequestBuilder) WithUrl(rawUrl string)(*ItemRecipientsItemEventsCountRequestBuilder) { + return NewItemRecipientsItemEventsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/messagetraces/item_recipients_item_events_message_event_item_request_builder.go b/messagetraces/item_recipients_item_events_message_event_item_request_builder.go index 95e5d737305..37d83221ff0 100644 --- a/messagetraces/item_recipients_item_events_message_event_item_request_builder.go +++ b/messagetraces/item_recipients_item_events_message_event_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemRecipientsItemEventsMessageEventItemRequestBuilder) ToPatchRequestI } 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 *ItemRecipientsItemEventsMessageEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemRecipientsItemEventsMessageEventItemRequestBuilder) { + return NewItemRecipientsItemEventsMessageEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/messagetraces/item_recipients_item_events_request_builder.go b/messagetraces/item_recipients_item_events_request_builder.go index 1615de5ede5..9f3bc78bc8c 100644 --- a/messagetraces/item_recipients_item_events_request_builder.go +++ b/messagetraces/item_recipients_item_events_request_builder.go @@ -46,8 +46,8 @@ type ItemRecipientsItemEventsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMessageEventIdString provides operations to manage the events property of the microsoft.graph.messageRecipient entity. -func (m *ItemRecipientsItemEventsRequestBuilder) ByMessageEventIdString(messageEventId string)(*ItemRecipientsItemEventsMessageEventItemRequestBuilder) { +// ByMessageEventId provides operations to manage the events property of the microsoft.graph.messageRecipient entity. +func (m *ItemRecipientsItemEventsRequestBuilder) ByMessageEventId(messageEventId string)(*ItemRecipientsItemEventsMessageEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemRecipientsItemEventsRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemRecipientsItemEventsRequestBuilder) WithUrl(rawUrl string)(*ItemRecipientsItemEventsRequestBuilder) { + return NewItemRecipientsItemEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/messagetraces/item_recipients_message_recipient_item_request_builder.go b/messagetraces/item_recipients_message_recipient_item_request_builder.go index b948b451f86..99a43f8747d 100644 --- a/messagetraces/item_recipients_message_recipient_item_request_builder.go +++ b/messagetraces/item_recipients_message_recipient_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemRecipientsMessageRecipientItemRequestBuilder) ToPatchRequestInforma } 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 *ItemRecipientsMessageRecipientItemRequestBuilder) WithUrl(rawUrl string)(*ItemRecipientsMessageRecipientItemRequestBuilder) { + return NewItemRecipientsMessageRecipientItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/messagetraces/item_recipients_request_builder.go b/messagetraces/item_recipients_request_builder.go index 76a0521fac8..d0363644131 100644 --- a/messagetraces/item_recipients_request_builder.go +++ b/messagetraces/item_recipients_request_builder.go @@ -46,8 +46,8 @@ type ItemRecipientsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMessageRecipientIdString provides operations to manage the recipients property of the microsoft.graph.messageTrace entity. -func (m *ItemRecipientsRequestBuilder) ByMessageRecipientIdString(messageRecipientId string)(*ItemRecipientsMessageRecipientItemRequestBuilder) { +// ByMessageRecipientId provides operations to manage the recipients property of the microsoft.graph.messageTrace entity. +func (m *ItemRecipientsRequestBuilder) ByMessageRecipientId(messageRecipientId string)(*ItemRecipientsMessageRecipientItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemRecipientsRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *ItemRecipientsRequestBuilder) WithUrl(rawUrl string)(*ItemRecipientsRequestBuilder) { + return NewItemRecipientsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/messagetraces/message_trace_item_request_builder.go b/messagetraces/message_trace_item_request_builder.go index 6212aa73645..69a1a7a46cb 100644 --- a/messagetraces/message_trace_item_request_builder.go +++ b/messagetraces/message_trace_item_request_builder.go @@ -157,3 +157,7 @@ func (m *MessageTraceItemRequestBuilder) 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 *MessageTraceItemRequestBuilder) WithUrl(rawUrl string)(*MessageTraceItemRequestBuilder) { + return NewMessageTraceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/messagetraces/message_traces_request_builder.go b/messagetraces/message_traces_request_builder.go index 1dbf6b32705..a1b5ac2558e 100644 --- a/messagetraces/message_traces_request_builder.go +++ b/messagetraces/message_traces_request_builder.go @@ -46,8 +46,8 @@ type MessageTracesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMessageTraceIdString provides operations to manage the collection of messageTrace entities. -func (m *MessageTracesRequestBuilder) ByMessageTraceIdString(messageTraceId string)(*MessageTraceItemRequestBuilder) { +// ByMessageTraceId provides operations to manage the collection of messageTrace entities. +func (m *MessageTracesRequestBuilder) ByMessageTraceId(messageTraceId string)(*MessageTraceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MessageTracesRequestBuilder) 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 *MessageTracesRequestBuilder) WithUrl(rawUrl string)(*MessageTracesRequestBuilder) { + return NewMessageTracesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/mobilitymanagementpolicies/count_request_builder.go b/mobilitymanagementpolicies/count_request_builder.go index bf2df258148..ed9c6cab772 100644 --- a/mobilitymanagementpolicies/count_request_builder.go +++ b/mobilitymanagementpolicies/count_request_builder.go @@ -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); +} diff --git a/mobilitymanagementpolicies/item_included_groups_count_request_builder.go b/mobilitymanagementpolicies/item_included_groups_count_request_builder.go index c222fe972dd..4f9120813f5 100644 --- a/mobilitymanagementpolicies/item_included_groups_count_request_builder.go +++ b/mobilitymanagementpolicies/item_included_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemIncludedGroupsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemIncludedGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemIncludedGroupsCountRequestBuilder) { + return NewItemIncludedGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/mobilitymanagementpolicies/item_included_groups_item_ref_request_builder.go b/mobilitymanagementpolicies/item_included_groups_item_ref_request_builder.go index 7d45b085197..d87587c75a7 100644 --- a/mobilitymanagementpolicies/item_included_groups_item_ref_request_builder.go +++ b/mobilitymanagementpolicies/item_included_groups_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *ItemIncludedGroupsItemRefRequestBuilder) ToDeleteRequestInformation(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 *ItemIncludedGroupsItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemIncludedGroupsItemRefRequestBuilder) { + return NewItemIncludedGroupsItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/mobilitymanagementpolicies/item_included_groups_ref_request_builder.go b/mobilitymanagementpolicies/item_included_groups_ref_request_builder.go index 4b6295cd39d..bae5761b379 100644 --- a/mobilitymanagementpolicies/item_included_groups_ref_request_builder.go +++ b/mobilitymanagementpolicies/item_included_groups_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *ItemIncludedGroupsRefRequestBuilder) 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 *ItemIncludedGroupsRefRequestBuilder) WithUrl(rawUrl string)(*ItemIncludedGroupsRefRequestBuilder) { + return NewItemIncludedGroupsRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/mobilitymanagementpolicies/item_included_groups_request_builder.go b/mobilitymanagementpolicies/item_included_groups_request_builder.go index ec224d252fb..888085a2b6a 100644 --- a/mobilitymanagementpolicies/item_included_groups_request_builder.go +++ b/mobilitymanagementpolicies/item_included_groups_request_builder.go @@ -39,8 +39,8 @@ type ItemIncludedGroupsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemIncludedGroupsRequestBuilderGetQueryParameters } -// ByGroupIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.mobilityManagementPolicies.item.includedGroups.item collection -func (m *ItemIncludedGroupsRequestBuilder) ByGroupIdString(groupId string)(*ItemIncludedGroupsGroupItemRequestBuilder) { +// ByGroupId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.mobilityManagementPolicies.item.includedGroups.item collection +func (m *ItemIncludedGroupsRequestBuilder) ByGroupId(groupId string)(*ItemIncludedGroupsGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemIncludedGroupsRequestBuilder) 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 *ItemIncludedGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemIncludedGroupsRequestBuilder) { + return NewItemIncludedGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/mobilitymanagementpolicies/mobility_management_policies_request_builder.go b/mobilitymanagementpolicies/mobility_management_policies_request_builder.go index bfb8d66fda9..671237ad0df 100644 --- a/mobilitymanagementpolicies/mobility_management_policies_request_builder.go +++ b/mobilitymanagementpolicies/mobility_management_policies_request_builder.go @@ -46,8 +46,8 @@ type MobilityManagementPoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMobilityManagementPolicyIdString provides operations to manage the collection of mobilityManagementPolicy entities. -func (m *MobilityManagementPoliciesRequestBuilder) ByMobilityManagementPolicyIdString(mobilityManagementPolicyId string)(*MobilityManagementPolicyItemRequestBuilder) { +// ByMobilityManagementPolicyId provides operations to manage the collection of mobilityManagementPolicy entities. +func (m *MobilityManagementPoliciesRequestBuilder) ByMobilityManagementPolicyId(mobilityManagementPolicyId string)(*MobilityManagementPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *MobilityManagementPoliciesRequestBuilder) 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 *MobilityManagementPoliciesRequestBuilder) WithUrl(rawUrl string)(*MobilityManagementPoliciesRequestBuilder) { + return NewMobilityManagementPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/mobilitymanagementpolicies/mobility_management_policy_item_request_builder.go b/mobilitymanagementpolicies/mobility_management_policy_item_request_builder.go index 3da70e154fb..4b4ddd02165 100644 --- a/mobilitymanagementpolicies/mobility_management_policy_item_request_builder.go +++ b/mobilitymanagementpolicies/mobility_management_policy_item_request_builder.go @@ -157,3 +157,7 @@ func (m *MobilityManagementPolicyItemRequestBuilder) ToPatchRequestInformation(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 *MobilityManagementPolicyItemRequestBuilder) WithUrl(rawUrl string)(*MobilityManagementPolicyItemRequestBuilder) { + return NewMobilityManagementPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/models/access_package_custom_extension_handler_status.go b/models/access_package_custom_extension_handler_status.go index bc0d366032c..fdc8a99bd97 100644 --- a/models/access_package_custom_extension_handler_status.go +++ b/models/access_package_custom_extension_handler_status.go @@ -35,3 +35,6 @@ func SerializeAccessPackageCustomExtensionHandlerStatus(values []AccessPackageCu } return result } +func (i AccessPackageCustomExtensionHandlerStatus) isMultiValue() bool { + return false +} diff --git a/models/access_package_custom_extension_stage.go b/models/access_package_custom_extension_stage.go index 3da9a60845f..44881598519 100644 --- a/models/access_package_custom_extension_stage.go +++ b/models/access_package_custom_extension_stage.go @@ -47,3 +47,6 @@ func SerializeAccessPackageCustomExtensionStage(values []AccessPackageCustomExte } return result } +func (i AccessPackageCustomExtensionStage) isMultiValue() bool { + return false +} diff --git a/models/access_package_localized_content.go b/models/access_package_localized_content.go index 5d21147b01d..f4160ed1710 100644 --- a/models/access_package_localized_content.go +++ b/models/access_package_localized_content.go @@ -38,7 +38,7 @@ func (m *AccessPackageLocalizedContent) GetAdditionalData()(map[string]any) { func (m *AccessPackageLocalizedContent) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDefaultText gets the defaultText property value. The fallback string, which is used when a requested localization is not available. Required. +// GetDefaultText gets the defaultText property value. The fallback string, which is used when a requested localization isn't available. Required. func (m *AccessPackageLocalizedContent) GetDefaultText()(*string) { val, err := m.GetBackingStore().Get("defaultText") if err != nil { @@ -157,7 +157,7 @@ func (m *AccessPackageLocalizedContent) SetAdditionalData(value map[string]any)( func (m *AccessPackageLocalizedContent) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDefaultText sets the defaultText property value. The fallback string, which is used when a requested localization is not available. Required. +// SetDefaultText sets the defaultText property value. The fallback string, which is used when a requested localization isn't available. Required. func (m *AccessPackageLocalizedContent) SetDefaultText(value *string)() { err := m.GetBackingStore().Set("defaultText", value) if err != nil { diff --git a/models/access_package_subject_lifecycle.go b/models/access_package_subject_lifecycle.go index 1fde5330585..ae7735ce9c7 100644 --- a/models/access_package_subject_lifecycle.go +++ b/models/access_package_subject_lifecycle.go @@ -38,3 +38,6 @@ func SerializeAccessPackageSubjectLifecycle(values []AccessPackageSubjectLifecyc } return result } +func (i AccessPackageSubjectLifecycle) isMultiValue() bool { + return false +} diff --git a/models/access_package_text_input_question.go b/models/access_package_text_input_question.go index 9ca01e39de0..f57ebe4f4cc 100644 --- a/models/access_package_text_input_question.go +++ b/models/access_package_text_input_question.go @@ -57,7 +57,7 @@ func (m *AccessPackageTextInputQuestion) GetIsSingleLineQuestion()(*bool) { } return nil } -// GetRegexPattern gets the regexPattern property value. This is the regex pattern that the corresponding text answer must follow. +// GetRegexPattern gets the regexPattern property value. The regex pattern that the corresponding text answer must follow. func (m *AccessPackageTextInputQuestion) GetRegexPattern()(*string) { val, err := m.GetBackingStore().Get("regexPattern") if err != nil { @@ -95,7 +95,7 @@ func (m *AccessPackageTextInputQuestion) SetIsSingleLineQuestion(value *bool)() panic(err) } } -// SetRegexPattern sets the regexPattern property value. This is the regex pattern that the corresponding text answer must follow. +// SetRegexPattern sets the regexPattern property value. The regex pattern that the corresponding text answer must follow. func (m *AccessPackageTextInputQuestion) SetRegexPattern(value *string)() { err := m.GetBackingStore().Set("regexPattern", value) if err != nil { diff --git a/models/access_review_decision.go b/models/access_review_decision.go index 60a49091d82..44817317e2d 100644 --- a/models/access_review_decision.go +++ b/models/access_review_decision.go @@ -31,7 +31,7 @@ func (m *AccessReviewDecision) GetAccessRecommendation()(*string) { } return nil } -// GetAccessReviewId gets the accessReviewId property value. The feature-generated id of the access review. +// GetAccessReviewId gets the accessReviewId property value. The feature-generated ID of the access review. func (m *AccessReviewDecision) GetAccessReviewId()(*string) { val, err := m.GetBackingStore().Get("accessReviewId") if err != nil { @@ -42,7 +42,7 @@ func (m *AccessReviewDecision) GetAccessReviewId()(*string) { } return nil } -// GetAppliedBy gets the appliedBy property value. When the review completes, if the results were manually applied, the user identity of the user who applied the decision. If the review was auto-applied, the userPrincipalName is empty. +// GetAppliedBy gets the appliedBy property value. When the review completes, if the results were manually applied, the user identity of the user who applied the decision. If the review was autoapplied, the userPrincipalName is empty. func (m *AccessReviewDecision) GetAppliedBy()(UserIdentityable) { val, err := m.GetBackingStore().Get("appliedBy") if err != nil { @@ -283,14 +283,14 @@ func (m *AccessReviewDecision) SetAccessRecommendation(value *string)() { panic(err) } } -// SetAccessReviewId sets the accessReviewId property value. The feature-generated id of the access review. +// SetAccessReviewId sets the accessReviewId property value. The feature-generated ID of the access review. func (m *AccessReviewDecision) SetAccessReviewId(value *string)() { err := m.GetBackingStore().Set("accessReviewId", value) if err != nil { panic(err) } } -// SetAppliedBy sets the appliedBy property value. When the review completes, if the results were manually applied, the user identity of the user who applied the decision. If the review was auto-applied, the userPrincipalName is empty. +// SetAppliedBy sets the appliedBy property value. When the review completes, if the results were manually applied, the user identity of the user who applied the decision. If the review was autoapplied, the userPrincipalName is empty. func (m *AccessReviewDecision) SetAppliedBy(value UserIdentityable)() { err := m.GetBackingStore().Set("appliedBy", value) if err != nil { diff --git a/models/access_review_history_decision_filter.go b/models/access_review_history_decision_filter.go index a6a41fc648e..a25d7c85f2d 100644 --- a/models/access_review_history_decision_filter.go +++ b/models/access_review_history_decision_filter.go @@ -44,3 +44,6 @@ func SerializeAccessReviewHistoryDecisionFilter(values []AccessReviewHistoryDeci } return result } +func (i AccessReviewHistoryDecisionFilter) isMultiValue() bool { + return false +} diff --git a/models/access_review_history_definition.go b/models/access_review_history_definition.go index ee95ffbf21e..95a6d124eb0 100644 --- a/models/access_review_history_definition.go +++ b/models/access_review_history_definition.go @@ -42,7 +42,7 @@ func (m *AccessReviewHistoryDefinition) GetCreatedDateTime()(*i336074805fc853987 } return nil } -// GetDecisions gets the decisions property value. Determines which review decisions will be included in the fetched review history data if specified. Optional on create. All decisions will be included by default if no decisions are provided on create. Possible values are: approve, deny, dontKnow, notReviewed, and notNotified. +// GetDecisions gets the decisions property value. Determines which review decisions will be included in the fetched review history data if specified. Optional on create. All decisions are included by default if no decisions are provided on create. Possible values are: approve, deny, dontKnow, notReviewed, and notNotified. func (m *AccessReviewHistoryDefinition) GetDecisions()([]AccessReviewHistoryDecisionFilter) { val, err := m.GetBackingStore().Get("decisions") if err != nil { @@ -229,7 +229,7 @@ func (m *AccessReviewHistoryDefinition) GetFulfilledDateTime()(*i336074805fc8539 } return nil } -// GetInstances gets the instances property value. If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance. +// GetInstances gets the instances property value. If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that doesn't recur will have exactly one instance. func (m *AccessReviewHistoryDefinition) GetInstances()([]AccessReviewHistoryInstanceable) { val, err := m.GetBackingStore().Get("instances") if err != nil { @@ -251,7 +251,7 @@ func (m *AccessReviewHistoryDefinition) GetReviewHistoryPeriodEndDateTime()(*i33 } return nil } -// GetReviewHistoryPeriodStartDateTime gets the reviewHistoryPeriodStartDateTime property value. A timestamp. Reviews starting on or before this date will be included in the fetched history data. Only required if scheduleSettings is not defined. +// GetReviewHistoryPeriodStartDateTime gets the reviewHistoryPeriodStartDateTime property value. A timestamp. Reviews starting on or before this date will be included in the fetched history data. Only required if scheduleSettings isn't defined. func (m *AccessReviewHistoryDefinition) GetReviewHistoryPeriodStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("reviewHistoryPeriodStartDateTime") if err != nil { @@ -262,7 +262,7 @@ func (m *AccessReviewHistoryDefinition) GetReviewHistoryPeriodStartDateTime()(*i } return nil } -// GetScheduleSettings gets the scheduleSettings property value. The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime are not defined. Not supported yet. +// GetScheduleSettings gets the scheduleSettings property value. The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime aren't defined. Not supported yet. func (m *AccessReviewHistoryDefinition) GetScheduleSettings()(AccessReviewHistoryScheduleSettingsable) { val, err := m.GetBackingStore().Get("scheduleSettings") if err != nil { @@ -402,7 +402,7 @@ func (m *AccessReviewHistoryDefinition) SetCreatedDateTime(value *i336074805fc85 panic(err) } } -// SetDecisions sets the decisions property value. Determines which review decisions will be included in the fetched review history data if specified. Optional on create. All decisions will be included by default if no decisions are provided on create. Possible values are: approve, deny, dontKnow, notReviewed, and notNotified. +// SetDecisions sets the decisions property value. Determines which review decisions will be included in the fetched review history data if specified. Optional on create. All decisions are included by default if no decisions are provided on create. Possible values are: approve, deny, dontKnow, notReviewed, and notNotified. func (m *AccessReviewHistoryDefinition) SetDecisions(value []AccessReviewHistoryDecisionFilter)() { err := m.GetBackingStore().Set("decisions", value) if err != nil { @@ -430,7 +430,7 @@ func (m *AccessReviewHistoryDefinition) SetFulfilledDateTime(value *i336074805fc panic(err) } } -// SetInstances sets the instances property value. If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance. +// SetInstances sets the instances property value. If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that doesn't recur will have exactly one instance. func (m *AccessReviewHistoryDefinition) SetInstances(value []AccessReviewHistoryInstanceable)() { err := m.GetBackingStore().Set("instances", value) if err != nil { @@ -444,14 +444,14 @@ func (m *AccessReviewHistoryDefinition) SetReviewHistoryPeriodEndDateTime(value panic(err) } } -// SetReviewHistoryPeriodStartDateTime sets the reviewHistoryPeriodStartDateTime property value. A timestamp. Reviews starting on or before this date will be included in the fetched history data. Only required if scheduleSettings is not defined. +// SetReviewHistoryPeriodStartDateTime sets the reviewHistoryPeriodStartDateTime property value. A timestamp. Reviews starting on or before this date will be included in the fetched history data. Only required if scheduleSettings isn't defined. func (m *AccessReviewHistoryDefinition) SetReviewHistoryPeriodStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("reviewHistoryPeriodStartDateTime", value) if err != nil { panic(err) } } -// SetScheduleSettings sets the scheduleSettings property value. The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime are not defined. Not supported yet. +// SetScheduleSettings sets the scheduleSettings property value. The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime aren't defined. Not supported yet. func (m *AccessReviewHistoryDefinition) SetScheduleSettings(value AccessReviewHistoryScheduleSettingsable)() { err := m.GetBackingStore().Set("scheduleSettings", value) if err != nil { diff --git a/models/access_review_history_instance.go b/models/access_review_history_instance.go index 95a305b1dce..d7c794846bd 100644 --- a/models/access_review_history_instance.go +++ b/models/access_review_history_instance.go @@ -20,7 +20,7 @@ func NewAccessReviewHistoryInstance()(*AccessReviewHistoryInstance) { func CreateAccessReviewHistoryInstanceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewAccessReviewHistoryInstance(), nil } -// GetDownloadUri gets the downloadUri property value. Uri which can be used to retrieve review history data. This URI will be active for 24 hours after being generated. Required. +// GetDownloadUri gets the downloadUri property value. Uri that can be used to retrieve review history data. This URI will be active for 24 hours after being generated. Required. func (m *AccessReviewHistoryInstance) GetDownloadUri()(*string) { val, err := m.GetBackingStore().Get("downloadUri") if err != nil { @@ -128,7 +128,7 @@ func (m *AccessReviewHistoryInstance) GetFulfilledDateTime()(*i336074805fc853987 } return nil } -// GetReviewHistoryPeriodEndDateTime gets the reviewHistoryPeriodEndDateTime property value. Timestamp, reviews ending on or before this date will be included in the fetched history data. +// GetReviewHistoryPeriodEndDateTime gets the reviewHistoryPeriodEndDateTime property value. Timestamp, reviews ending on or before this date are in the fetched history data. func (m *AccessReviewHistoryInstance) GetReviewHistoryPeriodEndDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("reviewHistoryPeriodEndDateTime") if err != nil { @@ -139,7 +139,7 @@ func (m *AccessReviewHistoryInstance) GetReviewHistoryPeriodEndDateTime()(*i3360 } return nil } -// GetReviewHistoryPeriodStartDateTime gets the reviewHistoryPeriodStartDateTime property value. Timestamp, reviews starting on or after this date will be included in the fetched history data. +// GetReviewHistoryPeriodStartDateTime gets the reviewHistoryPeriodStartDateTime property value. Timestamp, reviews starting on or after this date are in the fetched history data. func (m *AccessReviewHistoryInstance) GetReviewHistoryPeriodStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("reviewHistoryPeriodStartDateTime") if err != nil { @@ -223,7 +223,7 @@ func (m *AccessReviewHistoryInstance) Serialize(writer i878a80d2330e89d26896388a } return nil } -// SetDownloadUri sets the downloadUri property value. Uri which can be used to retrieve review history data. This URI will be active for 24 hours after being generated. Required. +// SetDownloadUri sets the downloadUri property value. Uri that can be used to retrieve review history data. This URI will be active for 24 hours after being generated. Required. func (m *AccessReviewHistoryInstance) SetDownloadUri(value *string)() { err := m.GetBackingStore().Set("downloadUri", value) if err != nil { @@ -244,14 +244,14 @@ func (m *AccessReviewHistoryInstance) SetFulfilledDateTime(value *i336074805fc85 panic(err) } } -// SetReviewHistoryPeriodEndDateTime sets the reviewHistoryPeriodEndDateTime property value. Timestamp, reviews ending on or before this date will be included in the fetched history data. +// SetReviewHistoryPeriodEndDateTime sets the reviewHistoryPeriodEndDateTime property value. Timestamp, reviews ending on or before this date are in the fetched history data. func (m *AccessReviewHistoryInstance) SetReviewHistoryPeriodEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("reviewHistoryPeriodEndDateTime", value) if err != nil { panic(err) } } -// SetReviewHistoryPeriodStartDateTime sets the reviewHistoryPeriodStartDateTime property value. Timestamp, reviews starting on or after this date will be included in the fetched history data. +// SetReviewHistoryPeriodStartDateTime sets the reviewHistoryPeriodStartDateTime property value. Timestamp, reviews starting on or after this date are in the fetched history data. func (m *AccessReviewHistoryInstance) SetReviewHistoryPeriodStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("reviewHistoryPeriodStartDateTime", value) if err != nil { diff --git a/models/access_review_history_status.go b/models/access_review_history_status.go index c75a617fe99..c8763f8f027 100644 --- a/models/access_review_history_status.go +++ b/models/access_review_history_status.go @@ -41,3 +41,6 @@ func SerializeAccessReviewHistoryStatus(values []AccessReviewHistoryStatus) []st } return result } +func (i AccessReviewHistoryStatus) isMultiValue() bool { + return false +} diff --git a/models/access_review_schedule_definition.go b/models/access_review_schedule_definition.go index cf1f70b0ccf..6ea0a31f39e 100644 --- a/models/access_review_schedule_definition.go +++ b/models/access_review_schedule_definition.go @@ -86,7 +86,7 @@ func (m *AccessReviewScheduleDefinition) GetDescriptionForReviewers()(*string) { } return nil } -// GetDisplayName gets the displayName property value. Name of the access review series. Supports $select and $orderBy. Required on create. +// GetDisplayName gets the displayName property value. Name of the access review series. Supports $select and $orderby. Required on create. func (m *AccessReviewScheduleDefinition) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") if err != nil { @@ -579,7 +579,7 @@ func (m *AccessReviewScheduleDefinition) SetDescriptionForReviewers(value *strin panic(err) } } -// SetDisplayName sets the displayName property value. Name of the access review series. Supports $select and $orderBy. Required on create. +// SetDisplayName sets the displayName property value. Name of the access review series. Supports $select and $orderby. Required on create. func (m *AccessReviewScheduleDefinition) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { diff --git a/models/access_review_settings.go b/models/access_review_settings.go index 6f58c7d28c4..e42614d86f9 100644 --- a/models/access_review_settings.go +++ b/models/access_review_settings.go @@ -85,7 +85,7 @@ func (m *AccessReviewSettings) GetAutoApplyReviewResultsEnabled()(*bool) { } return nil } -// GetAutoReviewEnabled gets the autoReviewEnabled property value. Indicates whether a decision should be set if the reviewer did not supply one. For use when auto-apply is enabled. If you don't want to have a review decision recorded unless the reviewer makes an explicit choice, set it to false. +// GetAutoReviewEnabled gets the autoReviewEnabled property value. Indicates whether a decision should be set if the reviewer didn't supply one. For use when, auto-apply is enabled. If you don't want to have a review decision recorded unless the reviewer makes an explicit choice, set it to false. func (m *AccessReviewSettings) GetAutoReviewEnabled()(*bool) { val, err := m.GetBackingStore().Get("autoReviewEnabled") if err != nil { @@ -96,7 +96,7 @@ func (m *AccessReviewSettings) GetAutoReviewEnabled()(*bool) { } return nil } -// GetAutoReviewSettings gets the autoReviewSettings property value. Detailed settings for how the feature should set the review decision. For use when auto-apply is enabled. +// GetAutoReviewSettings gets the autoReviewSettings property value. Detailed settings for how the feature should set the review decision. For use when, auto-apply is enabled. func (m *AccessReviewSettings) GetAutoReviewSettings()(AutoReviewSettingsable) { val, err := m.GetBackingStore().Get("autoReviewSettings") if err != nil { @@ -369,14 +369,14 @@ func (m *AccessReviewSettings) SetAutoApplyReviewResultsEnabled(value *bool)() { panic(err) } } -// SetAutoReviewEnabled sets the autoReviewEnabled property value. Indicates whether a decision should be set if the reviewer did not supply one. For use when auto-apply is enabled. If you don't want to have a review decision recorded unless the reviewer makes an explicit choice, set it to false. +// SetAutoReviewEnabled sets the autoReviewEnabled property value. Indicates whether a decision should be set if the reviewer didn't supply one. For use when, auto-apply is enabled. If you don't want to have a review decision recorded unless the reviewer makes an explicit choice, set it to false. func (m *AccessReviewSettings) SetAutoReviewEnabled(value *bool)() { err := m.GetBackingStore().Set("autoReviewEnabled", value) if err != nil { panic(err) } } -// SetAutoReviewSettings sets the autoReviewSettings property value. Detailed settings for how the feature should set the review decision. For use when auto-apply is enabled. +// SetAutoReviewSettings sets the autoReviewSettings property value. Detailed settings for how the feature should set the review decision. For use when, auto-apply is enabled. func (m *AccessReviewSettings) SetAutoReviewSettings(value AutoReviewSettingsable)() { err := m.GetBackingStore().Set("autoReviewSettings", value) if err != nil { diff --git a/models/access_review_stage_settings.go b/models/access_review_stage_settings.go index 0e547e0d22b..bab0e80e5c6 100644 --- a/models/access_review_stage_settings.go +++ b/models/access_review_stage_settings.go @@ -38,7 +38,7 @@ func (m *AccessReviewStageSettings) GetAdditionalData()(map[string]any) { func (m *AccessReviewStageSettings) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDecisionsThatWillMoveToNextStage gets the decisionsThatWillMoveToNextStage property value. Indicate which decisions will go to the next stage. Can be a sub-set of Approve, Deny, Recommendation, or NotReviewed. If not provided, all decisions will go to the next stage. Optional. +// GetDecisionsThatWillMoveToNextStage gets the decisionsThatWillMoveToNextStage property value. Indicate which decisions will go to the next stage. Can be a subset of Approve, Deny, Recommendation, or NotReviewed. If not provided, all decisions will go to the next stage. Optional. func (m *AccessReviewStageSettings) GetDecisionsThatWillMoveToNextStage()([]string) { val, err := m.GetBackingStore().Get("decisionsThatWillMoveToNextStage") if err != nil { @@ -49,7 +49,7 @@ func (m *AccessReviewStageSettings) GetDecisionsThatWillMoveToNextStage()([]stri } return nil } -// GetDependsOn gets the dependsOn property value. Defines the sequential or parallel order of the stages and depends on the stageId. Only sequential stages are currently supported. For example, if stageId is 2, then dependsOn must be 1. If stageId is 1, do not specify dependsOn. Required if stageId is not 1. +// GetDependsOn gets the dependsOn property value. Defines the sequential or parallel order of the stages and depends on the stageId. Only sequential stages are currently supported. For example, if stageId is 2, then dependsOn must be 1. If stageId is 1, don't specify dependsOn. Required if stageId isn't 1. func (m *AccessReviewStageSettings) GetDependsOn()([]string) { val, err := m.GetBackingStore().Get("dependsOn") if err != nil { @@ -60,7 +60,7 @@ func (m *AccessReviewStageSettings) GetDependsOn()([]string) { } return nil } -// GetDurationInDays gets the durationInDays property value. The duration of the stage. Required. NOTE: The cumulative value of this property across all stages 1. Will override the instanceDurationInDays setting on the accessReviewScheduleDefinition object. 2. Cannot exceed the length of one recurrence. That is, if the review recurs weekly, the cumulative durationInDays cannot exceed 7. +// GetDurationInDays gets the durationInDays property value. The duration of the stage. Required. NOTE: The cumulative value of this property across all stages 1. Will override the instanceDurationInDays setting on the accessReviewScheduleDefinition object. 2. Can't exceed the length of one recurrence. That is, if the review recurs weekly, the cumulative durationInDays can't exceed 7. func (m *AccessReviewStageSettings) GetDurationInDays()(*int32) { val, err := m.GetBackingStore().Get("durationInDays") if err != nil { @@ -71,7 +71,7 @@ func (m *AccessReviewStageSettings) GetDurationInDays()(*int32) { } return nil } -// GetFallbackReviewers gets the fallbackReviewers property value. If provided, the fallback reviewers are asked to complete a review if the primary reviewers do not exist. For example, if managers are selected as reviewers and a principal under review does not have a manager in Azure AD, the fallback reviewers are asked to review that principal. NOTE: The value of this property will override the corresponding setting on the accessReviewScheduleDefinition object. +// GetFallbackReviewers gets the fallbackReviewers property value. If provided, the fallback reviewers are asked to complete a review if the primary reviewers don't exist. For example, if managers are selected as reviewers and a principal under review doesn't have a manager in Azure AD, the fallback reviewers are asked to review that principal. NOTE: The value of this property overrides the corresponding setting on the accessReviewScheduleDefinition object. func (m *AccessReviewStageSettings) GetFallbackReviewers()([]AccessReviewReviewerScopeable) { val, err := m.GetBackingStore().Get("fallbackReviewers") if err != nil { @@ -239,7 +239,7 @@ func (m *AccessReviewStageSettings) GetRecommendationInsightSettings()([]AccessR } return nil } -// GetRecommendationLookBackDuration gets the recommendationLookBackDuration property value. Optional field. Indicates the time period of inactivity (with respect to the start date of the review instance) that recommendations will be configured from. The recommendation will be to deny if the user is inactive during the look back duration. For reviews of groups and Azure AD roles, any duration is accepted. For reviews of applications, 30 days is the maximum duration. If not specified, the duration is 30 days. NOTE: The value of this property will override the corresponding setting on the accessReviewScheduleDefinition object. +// GetRecommendationLookBackDuration gets the recommendationLookBackDuration property value. Optional field. Indicates the time period of inactivity (with respect to the start date of the review instance) from which that recommendations will be configured. The recommendation is to deny if the user is inactive during the look back duration. For reviews of groups and Azure AD roles, any duration is accepted. For reviews of applications, 30 days is the maximum duration. If not specified, the duration is 30 days. NOTE: The value of this property overrides the corresponding setting on the accessReviewScheduleDefinition object. func (m *AccessReviewStageSettings) GetRecommendationLookBackDuration()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) { val, err := m.GetBackingStore().Get("recommendationLookBackDuration") if err != nil { @@ -250,7 +250,7 @@ func (m *AccessReviewStageSettings) GetRecommendationLookBackDuration()(*i878a80 } return nil } -// GetRecommendationsEnabled gets the recommendationsEnabled property value. Indicates whether showing recommendations to reviewers is enabled. Required. NOTE: The value of this property will override override the corresponding setting on the accessReviewScheduleDefinition object. +// GetRecommendationsEnabled gets the recommendationsEnabled property value. Indicates whether showing recommendations to reviewers is enabled. Required. NOTE: The value of this property overrides the corresponding setting on the accessReviewScheduleDefinition object. func (m *AccessReviewStageSettings) GetRecommendationsEnabled()(*bool) { val, err := m.GetBackingStore().Get("recommendationsEnabled") if err != nil { @@ -261,7 +261,7 @@ func (m *AccessReviewStageSettings) GetRecommendationsEnabled()(*bool) { } return nil } -// GetReviewers gets the reviewers property value. Defines who the reviewers are. If none are specified, the review is a self-review (users review their own access). For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. NOTE: The value of this property will override the corresponding setting on the accessReviewScheduleDefinition. +// GetReviewers gets the reviewers property value. Defines who the reviewers are. If none is specified, the review is a self-review (users review their own access). For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. NOTE: The value of this property overrides the corresponding setting on the accessReviewScheduleDefinition. func (m *AccessReviewStageSettings) GetReviewers()([]AccessReviewReviewerScopeable) { val, err := m.GetBackingStore().Get("reviewers") if err != nil { @@ -272,7 +272,7 @@ func (m *AccessReviewStageSettings) GetReviewers()([]AccessReviewReviewerScopeab } return nil } -// GetStageId gets the stageId property value. Unique identifier of the accessReviewStageSettings. The stageId will be used in dependsOn property to indicate the stage relationship. Required. +// GetStageId gets the stageId property value. Unique identifier of the accessReviewStageSettings. The stageId is used in dependsOn property to indicate the stage relationship. Required. func (m *AccessReviewStageSettings) GetStageId()(*string) { val, err := m.GetBackingStore().Get("stageId") if err != nil { @@ -382,28 +382,28 @@ func (m *AccessReviewStageSettings) SetAdditionalData(value map[string]any)() { func (m *AccessReviewStageSettings) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDecisionsThatWillMoveToNextStage sets the decisionsThatWillMoveToNextStage property value. Indicate which decisions will go to the next stage. Can be a sub-set of Approve, Deny, Recommendation, or NotReviewed. If not provided, all decisions will go to the next stage. Optional. +// SetDecisionsThatWillMoveToNextStage sets the decisionsThatWillMoveToNextStage property value. Indicate which decisions will go to the next stage. Can be a subset of Approve, Deny, Recommendation, or NotReviewed. If not provided, all decisions will go to the next stage. Optional. func (m *AccessReviewStageSettings) SetDecisionsThatWillMoveToNextStage(value []string)() { err := m.GetBackingStore().Set("decisionsThatWillMoveToNextStage", value) if err != nil { panic(err) } } -// SetDependsOn sets the dependsOn property value. Defines the sequential or parallel order of the stages and depends on the stageId. Only sequential stages are currently supported. For example, if stageId is 2, then dependsOn must be 1. If stageId is 1, do not specify dependsOn. Required if stageId is not 1. +// SetDependsOn sets the dependsOn property value. Defines the sequential or parallel order of the stages and depends on the stageId. Only sequential stages are currently supported. For example, if stageId is 2, then dependsOn must be 1. If stageId is 1, don't specify dependsOn. Required if stageId isn't 1. func (m *AccessReviewStageSettings) SetDependsOn(value []string)() { err := m.GetBackingStore().Set("dependsOn", value) if err != nil { panic(err) } } -// SetDurationInDays sets the durationInDays property value. The duration of the stage. Required. NOTE: The cumulative value of this property across all stages 1. Will override the instanceDurationInDays setting on the accessReviewScheduleDefinition object. 2. Cannot exceed the length of one recurrence. That is, if the review recurs weekly, the cumulative durationInDays cannot exceed 7. +// SetDurationInDays sets the durationInDays property value. The duration of the stage. Required. NOTE: The cumulative value of this property across all stages 1. Will override the instanceDurationInDays setting on the accessReviewScheduleDefinition object. 2. Can't exceed the length of one recurrence. That is, if the review recurs weekly, the cumulative durationInDays can't exceed 7. func (m *AccessReviewStageSettings) SetDurationInDays(value *int32)() { err := m.GetBackingStore().Set("durationInDays", value) if err != nil { panic(err) } } -// SetFallbackReviewers sets the fallbackReviewers property value. If provided, the fallback reviewers are asked to complete a review if the primary reviewers do not exist. For example, if managers are selected as reviewers and a principal under review does not have a manager in Azure AD, the fallback reviewers are asked to review that principal. NOTE: The value of this property will override the corresponding setting on the accessReviewScheduleDefinition object. +// SetFallbackReviewers sets the fallbackReviewers property value. If provided, the fallback reviewers are asked to complete a review if the primary reviewers don't exist. For example, if managers are selected as reviewers and a principal under review doesn't have a manager in Azure AD, the fallback reviewers are asked to review that principal. NOTE: The value of this property overrides the corresponding setting on the accessReviewScheduleDefinition object. func (m *AccessReviewStageSettings) SetFallbackReviewers(value []AccessReviewReviewerScopeable)() { err := m.GetBackingStore().Set("fallbackReviewers", value) if err != nil { @@ -424,28 +424,28 @@ func (m *AccessReviewStageSettings) SetRecommendationInsightSettings(value []Acc panic(err) } } -// SetRecommendationLookBackDuration sets the recommendationLookBackDuration property value. Optional field. Indicates the time period of inactivity (with respect to the start date of the review instance) that recommendations will be configured from. The recommendation will be to deny if the user is inactive during the look back duration. For reviews of groups and Azure AD roles, any duration is accepted. For reviews of applications, 30 days is the maximum duration. If not specified, the duration is 30 days. NOTE: The value of this property will override the corresponding setting on the accessReviewScheduleDefinition object. +// SetRecommendationLookBackDuration sets the recommendationLookBackDuration property value. Optional field. Indicates the time period of inactivity (with respect to the start date of the review instance) from which that recommendations will be configured. The recommendation is to deny if the user is inactive during the look back duration. For reviews of groups and Azure AD roles, any duration is accepted. For reviews of applications, 30 days is the maximum duration. If not specified, the duration is 30 days. NOTE: The value of this property overrides the corresponding setting on the accessReviewScheduleDefinition object. func (m *AccessReviewStageSettings) SetRecommendationLookBackDuration(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() { err := m.GetBackingStore().Set("recommendationLookBackDuration", value) if err != nil { panic(err) } } -// SetRecommendationsEnabled sets the recommendationsEnabled property value. Indicates whether showing recommendations to reviewers is enabled. Required. NOTE: The value of this property will override override the corresponding setting on the accessReviewScheduleDefinition object. +// SetRecommendationsEnabled sets the recommendationsEnabled property value. Indicates whether showing recommendations to reviewers is enabled. Required. NOTE: The value of this property overrides the corresponding setting on the accessReviewScheduleDefinition object. func (m *AccessReviewStageSettings) SetRecommendationsEnabled(value *bool)() { err := m.GetBackingStore().Set("recommendationsEnabled", value) if err != nil { panic(err) } } -// SetReviewers sets the reviewers property value. Defines who the reviewers are. If none are specified, the review is a self-review (users review their own access). For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. NOTE: The value of this property will override the corresponding setting on the accessReviewScheduleDefinition. +// SetReviewers sets the reviewers property value. Defines who the reviewers are. If none is specified, the review is a self-review (users review their own access). For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API. NOTE: The value of this property overrides the corresponding setting on the accessReviewScheduleDefinition. func (m *AccessReviewStageSettings) SetReviewers(value []AccessReviewReviewerScopeable)() { err := m.GetBackingStore().Set("reviewers", value) if err != nil { panic(err) } } -// SetStageId sets the stageId property value. Unique identifier of the accessReviewStageSettings. The stageId will be used in dependsOn property to indicate the stage relationship. Required. +// SetStageId sets the stageId property value. Unique identifier of the accessReviewStageSettings. The stageId is used in dependsOn property to indicate the stage relationship. Required. func (m *AccessReviewStageSettings) SetStageId(value *string)() { err := m.GetBackingStore().Set("stageId", value) if err != nil { diff --git a/models/access_review_timeout_behavior.go b/models/access_review_timeout_behavior.go index 9cb1cfc0175..e1a846e1baa 100644 --- a/models/access_review_timeout_behavior.go +++ b/models/access_review_timeout_behavior.go @@ -38,3 +38,6 @@ func SerializeAccessReviewTimeoutBehavior(values []AccessReviewTimeoutBehavior) } return result } +func (i AccessReviewTimeoutBehavior) isMultiValue() bool { + return false +} diff --git a/models/access_type.go b/models/access_type.go index 8e404191e27..ddd2d30c1d5 100644 --- a/models/access_type.go +++ b/models/access_type.go @@ -32,3 +32,6 @@ func SerializeAccessType(values []AccessType) []string { } return result } +func (i AccessType) isMultiValue() bool { + return false +} diff --git a/models/account_status.go b/models/account_status.go index 12831278a1d..be11fb83304 100644 --- a/models/account_status.go +++ b/models/account_status.go @@ -44,3 +44,6 @@ func SerializeAccountStatus(values []AccountStatus) []string { } return result } +func (i AccountStatus) isMultiValue() bool { + return false +} diff --git a/models/account_target_content_type.go b/models/account_target_content_type.go index 41f6c39ad08..851ca4d9c52 100644 --- a/models/account_target_content_type.go +++ b/models/account_target_content_type.go @@ -38,3 +38,6 @@ func SerializeAccountTargetContentType(values []AccountTargetContentType) []stri } return result } +func (i AccountTargetContentType) isMultiValue() bool { + return false +} diff --git a/models/acl_type.go b/models/acl_type.go index f10b0ed4c74..c776de8e189 100644 --- a/models/acl_type.go +++ b/models/acl_type.go @@ -44,3 +44,6 @@ func SerializeAclType(values []AclType) []string { } return result } +func (i AclType) isMultiValue() bool { + return false +} diff --git a/models/action_capability.go b/models/action_capability.go index 694b1d9b57c..4b35d8eafea 100644 --- a/models/action_capability.go +++ b/models/action_capability.go @@ -35,3 +35,6 @@ func SerializeActionCapability(values []ActionCapability) []string { } return result } +func (i ActionCapability) isMultiValue() bool { + return false +} diff --git a/models/action_source.go b/models/action_source.go index 9c6ca78ffcf..9eb3760acdf 100644 --- a/models/action_source.go +++ b/models/action_source.go @@ -38,3 +38,6 @@ func SerializeActionSource(values []ActionSource) []string { } return result } +func (i ActionSource) isMultiValue() bool { + return false +} diff --git a/models/action_state.go b/models/action_state.go index dfd19e0310c..01eb89eccd8 100644 --- a/models/action_state.go +++ b/models/action_state.go @@ -47,3 +47,6 @@ func SerializeActionState(values []ActionState) []string { } return result } +func (i ActionState) isMultiValue() bool { + return false +} diff --git a/models/activity_domain.go b/models/activity_domain.go index 94c439a8e6a..31ff2aac3d8 100644 --- a/models/activity_domain.go +++ b/models/activity_domain.go @@ -38,3 +38,6 @@ func SerializeActivityDomain(values []ActivityDomain) []string { } return result } +func (i ActivityDomain) isMultiValue() bool { + return false +} diff --git a/models/activity_type.go b/models/activity_type.go index 4f52a7a2a13..0e98d2846b8 100644 --- a/models/activity_type.go +++ b/models/activity_type.go @@ -38,3 +38,6 @@ func SerializeActivityType(values []ActivityType) []string { } return result } +func (i ActivityType) isMultiValue() bool { + return false +} diff --git a/models/admin_consent_state.go b/models/admin_consent_state.go index 843cea8a181..80439477733 100644 --- a/models/admin_consent_state.go +++ b/models/admin_consent_state.go @@ -38,3 +38,6 @@ func SerializeAdminConsentState(values []AdminConsentState) []string { } return result } +func (i AdminConsentState) isMultiValue() bool { + return false +} diff --git a/models/administrative_unit.go b/models/administrative_unit.go index 5473c5850ba..66004211d1b 100644 --- a/models/administrative_unit.go +++ b/models/administrative_unit.go @@ -32,7 +32,7 @@ func (m *AdministrativeUnit) GetDescription()(*string) { } return nil } -// GetDisplayName gets the displayName property value. Display name for the administrative unit. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. +// GetDisplayName gets the displayName property value. Display name for the administrative unit. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. func (m *AdministrativeUnit) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") if err != nil { @@ -266,7 +266,7 @@ func (m *AdministrativeUnit) SetDescription(value *string)() { panic(err) } } -// SetDisplayName sets the displayName property value. Display name for the administrative unit. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. +// SetDisplayName sets the displayName property value. Display name for the administrative unit. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. func (m *AdministrativeUnit) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { diff --git a/models/administrator_configured_device_compliance_state.go b/models/administrator_configured_device_compliance_state.go index f7fc440ad81..922c9cbc057 100644 --- a/models/administrator_configured_device_compliance_state.go +++ b/models/administrator_configured_device_compliance_state.go @@ -34,3 +34,6 @@ func SerializeAdministratorConfiguredDeviceComplianceState(values []Administrato } return result } +func (i AdministratorConfiguredDeviceComplianceState) isMultiValue() bool { + return false +} diff --git a/models/advanced_bit_locker_state.go b/models/advanced_bit_locker_state.go index 29ec9335d48..8cde2b1d1ac 100644 --- a/models/advanced_bit_locker_state.go +++ b/models/advanced_bit_locker_state.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Advanced BitLocker State type AdvancedBitLockerState int @@ -43,47 +44,56 @@ const ( ) func (i AdvancedBitLockerState) String() string { - return []string{"success", "noUserConsent", "osVolumeUnprotected", "osVolumeTpmRequired", "osVolumeTpmOnlyRequired", "osVolumeTpmPinRequired", "osVolumeTpmStartupKeyRequired", "osVolumeTpmPinStartupKeyRequired", "osVolumeEncryptionMethodMismatch", "recoveryKeyBackupFailed", "fixedDriveNotEncrypted", "fixedDriveEncryptionMethodMismatch", "loggedOnUserNonAdmin", "windowsRecoveryEnvironmentNotConfigured", "tpmNotAvailable", "tpmNotReady", "networkError"}[i] + var values []string + for p := AdvancedBitLockerState(1); p <= NETWORKERROR_ADVANCEDBITLOCKERSTATE; p <<= 1 { + if i&p == p { + values = append(values, []string{"success", "noUserConsent", "osVolumeUnprotected", "osVolumeTpmRequired", "osVolumeTpmOnlyRequired", "osVolumeTpmPinRequired", "osVolumeTpmStartupKeyRequired", "osVolumeTpmPinStartupKeyRequired", "osVolumeEncryptionMethodMismatch", "recoveryKeyBackupFailed", "fixedDriveNotEncrypted", "fixedDriveEncryptionMethodMismatch", "loggedOnUserNonAdmin", "windowsRecoveryEnvironmentNotConfigured", "tpmNotAvailable", "tpmNotReady", "networkError"}[p]) + } + } + return strings.Join(values, ",") } func ParseAdvancedBitLockerState(v string) (any, error) { - result := SUCCESS_ADVANCEDBITLOCKERSTATE - switch v { - case "success": - result = SUCCESS_ADVANCEDBITLOCKERSTATE - case "noUserConsent": - result = NOUSERCONSENT_ADVANCEDBITLOCKERSTATE - case "osVolumeUnprotected": - result = OSVOLUMEUNPROTECTED_ADVANCEDBITLOCKERSTATE - case "osVolumeTpmRequired": - result = OSVOLUMETPMREQUIRED_ADVANCEDBITLOCKERSTATE - case "osVolumeTpmOnlyRequired": - result = OSVOLUMETPMONLYREQUIRED_ADVANCEDBITLOCKERSTATE - case "osVolumeTpmPinRequired": - result = OSVOLUMETPMPINREQUIRED_ADVANCEDBITLOCKERSTATE - case "osVolumeTpmStartupKeyRequired": - result = OSVOLUMETPMSTARTUPKEYREQUIRED_ADVANCEDBITLOCKERSTATE - case "osVolumeTpmPinStartupKeyRequired": - result = OSVOLUMETPMPINSTARTUPKEYREQUIRED_ADVANCEDBITLOCKERSTATE - case "osVolumeEncryptionMethodMismatch": - result = OSVOLUMEENCRYPTIONMETHODMISMATCH_ADVANCEDBITLOCKERSTATE - case "recoveryKeyBackupFailed": - result = RECOVERYKEYBACKUPFAILED_ADVANCEDBITLOCKERSTATE - case "fixedDriveNotEncrypted": - result = FIXEDDRIVENOTENCRYPTED_ADVANCEDBITLOCKERSTATE - case "fixedDriveEncryptionMethodMismatch": - result = FIXEDDRIVEENCRYPTIONMETHODMISMATCH_ADVANCEDBITLOCKERSTATE - case "loggedOnUserNonAdmin": - result = LOGGEDONUSERNONADMIN_ADVANCEDBITLOCKERSTATE - case "windowsRecoveryEnvironmentNotConfigured": - result = WINDOWSRECOVERYENVIRONMENTNOTCONFIGURED_ADVANCEDBITLOCKERSTATE - case "tpmNotAvailable": - result = TPMNOTAVAILABLE_ADVANCEDBITLOCKERSTATE - case "tpmNotReady": - result = TPMNOTREADY_ADVANCEDBITLOCKERSTATE - case "networkError": - result = NETWORKERROR_ADVANCEDBITLOCKERSTATE - default: - return 0, errors.New("Unknown AdvancedBitLockerState value: " + v) + var result AdvancedBitLockerState + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "success": + result |= SUCCESS_ADVANCEDBITLOCKERSTATE + case "noUserConsent": + result |= NOUSERCONSENT_ADVANCEDBITLOCKERSTATE + case "osVolumeUnprotected": + result |= OSVOLUMEUNPROTECTED_ADVANCEDBITLOCKERSTATE + case "osVolumeTpmRequired": + result |= OSVOLUMETPMREQUIRED_ADVANCEDBITLOCKERSTATE + case "osVolumeTpmOnlyRequired": + result |= OSVOLUMETPMONLYREQUIRED_ADVANCEDBITLOCKERSTATE + case "osVolumeTpmPinRequired": + result |= OSVOLUMETPMPINREQUIRED_ADVANCEDBITLOCKERSTATE + case "osVolumeTpmStartupKeyRequired": + result |= OSVOLUMETPMSTARTUPKEYREQUIRED_ADVANCEDBITLOCKERSTATE + case "osVolumeTpmPinStartupKeyRequired": + result |= OSVOLUMETPMPINSTARTUPKEYREQUIRED_ADVANCEDBITLOCKERSTATE + case "osVolumeEncryptionMethodMismatch": + result |= OSVOLUMEENCRYPTIONMETHODMISMATCH_ADVANCEDBITLOCKERSTATE + case "recoveryKeyBackupFailed": + result |= RECOVERYKEYBACKUPFAILED_ADVANCEDBITLOCKERSTATE + case "fixedDriveNotEncrypted": + result |= FIXEDDRIVENOTENCRYPTED_ADVANCEDBITLOCKERSTATE + case "fixedDriveEncryptionMethodMismatch": + result |= FIXEDDRIVEENCRYPTIONMETHODMISMATCH_ADVANCEDBITLOCKERSTATE + case "loggedOnUserNonAdmin": + result |= LOGGEDONUSERNONADMIN_ADVANCEDBITLOCKERSTATE + case "windowsRecoveryEnvironmentNotConfigured": + result |= WINDOWSRECOVERYENVIRONMENTNOTCONFIGURED_ADVANCEDBITLOCKERSTATE + case "tpmNotAvailable": + result |= TPMNOTAVAILABLE_ADVANCEDBITLOCKERSTATE + case "tpmNotReady": + result |= TPMNOTREADY_ADVANCEDBITLOCKERSTATE + case "networkError": + result |= NETWORKERROR_ADVANCEDBITLOCKERSTATE + default: + return 0, errors.New("Unknown AdvancedBitLockerState value: " + v) + } } return &result, nil } @@ -94,3 +104,6 @@ func SerializeAdvancedBitLockerState(values []AdvancedBitLockerState) []string { } return result } +func (i AdvancedBitLockerState) isMultiValue() bool { + return true +} diff --git a/models/advanced_config_state.go b/models/advanced_config_state.go index 4afe104a74c..d1c20082a85 100644 --- a/models/advanced_config_state.go +++ b/models/advanced_config_state.go @@ -38,3 +38,6 @@ func SerializeAdvancedConfigState(values []AdvancedConfigState) []string { } return result } +func (i AdvancedConfigState) isMultiValue() bool { + return false +} diff --git a/models/agent_status.go b/models/agent_status.go index d684f4fe274..22633beb86f 100644 --- a/models/agent_status.go +++ b/models/agent_status.go @@ -32,3 +32,6 @@ func SerializeAgentStatus(values []AgentStatus) []string { } return result } +func (i AgentStatus) isMultiValue() bool { + return false +} diff --git a/models/agreement_acceptance_state.go b/models/agreement_acceptance_state.go index 63940bfa783..22989d01c16 100644 --- a/models/agreement_acceptance_state.go +++ b/models/agreement_acceptance_state.go @@ -35,3 +35,6 @@ func SerializeAgreementAcceptanceState(values []AgreementAcceptanceState) []stri } return result } +func (i AgreementAcceptanceState) isMultiValue() bool { + return false +} diff --git a/models/alert_feedback.go b/models/alert_feedback.go index 169806f14c2..dac44439715 100644 --- a/models/alert_feedback.go +++ b/models/alert_feedback.go @@ -41,3 +41,6 @@ func SerializeAlertFeedback(values []AlertFeedback) []string { } return result } +func (i AlertFeedback) isMultiValue() bool { + return false +} diff --git a/models/alert_severity.go b/models/alert_severity.go index 350cf5cc892..9b0ab55dff1 100644 --- a/models/alert_severity.go +++ b/models/alert_severity.go @@ -44,3 +44,6 @@ func SerializeAlertSeverity(values []AlertSeverity) []string { } return result } +func (i AlertSeverity) isMultiValue() bool { + return false +} diff --git a/models/alert_status.go b/models/alert_status.go index a04604c3090..b6bba13398c 100644 --- a/models/alert_status.go +++ b/models/alert_status.go @@ -44,3 +44,6 @@ func SerializeAlertStatus(values []AlertStatus) []string { } return result } +func (i AlertStatus) isMultiValue() bool { + return false +} diff --git a/models/alignment.go b/models/alignment.go index e644443c176..69bd99c114f 100644 --- a/models/alignment.go +++ b/models/alignment.go @@ -35,3 +35,6 @@ func SerializeAlignment(values []Alignment) []string { } return result } +func (i Alignment) isMultiValue() bool { + return false +} diff --git a/models/allow_invites_from.go b/models/allow_invites_from.go index b87a509612d..1a3624956ca 100644 --- a/models/allow_invites_from.go +++ b/models/allow_invites_from.go @@ -41,3 +41,6 @@ func SerializeAllowInvitesFrom(values []AllowInvitesFrom) []string { } return result } +func (i AllowInvitesFrom) isMultiValue() bool { + return false +} diff --git a/models/allowed_audiences.go b/models/allowed_audiences.go index 19b3d2bbad4..855e281881f 100644 --- a/models/allowed_audiences.go +++ b/models/allowed_audiences.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type AllowedAudiences int @@ -17,29 +18,38 @@ const ( ) func (i AllowedAudiences) String() string { - return []string{"me", "family", "contacts", "groupMembers", "organization", "federatedOrganizations", "everyone", "unknownFutureValue"}[i] + var values []string + for p := AllowedAudiences(1); p <= UNKNOWNFUTUREVALUE_ALLOWEDAUDIENCES; p <<= 1 { + if i&p == p { + values = append(values, []string{"me", "family", "contacts", "groupMembers", "organization", "federatedOrganizations", "everyone", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseAllowedAudiences(v string) (any, error) { - result := ME_ALLOWEDAUDIENCES - switch v { - case "me": - result = ME_ALLOWEDAUDIENCES - case "family": - result = FAMILY_ALLOWEDAUDIENCES - case "contacts": - result = CONTACTS_ALLOWEDAUDIENCES - case "groupMembers": - result = GROUPMEMBERS_ALLOWEDAUDIENCES - case "organization": - result = ORGANIZATION_ALLOWEDAUDIENCES - case "federatedOrganizations": - result = FEDERATEDORGANIZATIONS_ALLOWEDAUDIENCES - case "everyone": - result = EVERYONE_ALLOWEDAUDIENCES - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_ALLOWEDAUDIENCES - default: - return 0, errors.New("Unknown AllowedAudiences value: " + v) + var result AllowedAudiences + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "me": + result |= ME_ALLOWEDAUDIENCES + case "family": + result |= FAMILY_ALLOWEDAUDIENCES + case "contacts": + result |= CONTACTS_ALLOWEDAUDIENCES + case "groupMembers": + result |= GROUPMEMBERS_ALLOWEDAUDIENCES + case "organization": + result |= ORGANIZATION_ALLOWEDAUDIENCES + case "federatedOrganizations": + result |= FEDERATEDORGANIZATIONS_ALLOWEDAUDIENCES + case "everyone": + result |= EVERYONE_ALLOWEDAUDIENCES + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_ALLOWEDAUDIENCES + default: + return 0, errors.New("Unknown AllowedAudiences value: " + v) + } } return &result, nil } @@ -50,3 +60,6 @@ func SerializeAllowedAudiences(values []AllowedAudiences) []string { } return result } +func (i AllowedAudiences) isMultiValue() bool { + return true +} diff --git a/models/allowed_role_principal_types.go b/models/allowed_role_principal_types.go index c6a116623c5..19f851f3341 100644 --- a/models/allowed_role_principal_types.go +++ b/models/allowed_role_principal_types.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type AllowedRolePrincipalTypes int @@ -13,21 +14,30 @@ const ( ) func (i AllowedRolePrincipalTypes) String() string { - return []string{"user", "servicePrincipal", "group", "unknownFutureValue"}[i] + var values []string + for p := AllowedRolePrincipalTypes(1); p <= UNKNOWNFUTUREVALUE_ALLOWEDROLEPRINCIPALTYPES; p <<= 1 { + if i&p == p { + values = append(values, []string{"user", "servicePrincipal", "group", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseAllowedRolePrincipalTypes(v string) (any, error) { - result := USER_ALLOWEDROLEPRINCIPALTYPES - switch v { - case "user": - result = USER_ALLOWEDROLEPRINCIPALTYPES - case "servicePrincipal": - result = SERVICEPRINCIPAL_ALLOWEDROLEPRINCIPALTYPES - case "group": - result = GROUP_ALLOWEDROLEPRINCIPALTYPES - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_ALLOWEDROLEPRINCIPALTYPES - default: - return 0, errors.New("Unknown AllowedRolePrincipalTypes value: " + v) + var result AllowedRolePrincipalTypes + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "user": + result |= USER_ALLOWEDROLEPRINCIPALTYPES + case "servicePrincipal": + result |= SERVICEPRINCIPAL_ALLOWEDROLEPRINCIPALTYPES + case "group": + result |= GROUP_ALLOWEDROLEPRINCIPALTYPES + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_ALLOWEDROLEPRINCIPALTYPES + default: + return 0, errors.New("Unknown AllowedRolePrincipalTypes value: " + v) + } } return &result, nil } @@ -38,3 +48,6 @@ func SerializeAllowedRolePrincipalTypes(values []AllowedRolePrincipalTypes) []st } return result } +func (i AllowedRolePrincipalTypes) isMultiValue() bool { + return true +} diff --git a/models/analytics_activity_type.go b/models/analytics_activity_type.go index 0a815e2e0ea..6e14d39fe54 100644 --- a/models/analytics_activity_type.go +++ b/models/analytics_activity_type.go @@ -41,3 +41,6 @@ func SerializeAnalyticsActivityType(values []AnalyticsActivityType) []string { } return result } +func (i AnalyticsActivityType) isMultiValue() bool { + return false +} diff --git a/models/android_device_owner_app_auto_update_policy_type.go b/models/android_device_owner_app_auto_update_policy_type.go index 07767cea769..67030c66c89 100644 --- a/models/android_device_owner_app_auto_update_policy_type.go +++ b/models/android_device_owner_app_auto_update_policy_type.go @@ -46,3 +46,6 @@ func SerializeAndroidDeviceOwnerAppAutoUpdatePolicyType(values []AndroidDeviceOw } return result } +func (i AndroidDeviceOwnerAppAutoUpdatePolicyType) isMultiValue() bool { + return false +} diff --git a/models/android_device_owner_battery_plugged_mode.go b/models/android_device_owner_battery_plugged_mode.go index 2cd239e26d8..2b7cebe864a 100644 --- a/models/android_device_owner_battery_plugged_mode.go +++ b/models/android_device_owner_battery_plugged_mode.go @@ -42,3 +42,6 @@ func SerializeAndroidDeviceOwnerBatteryPluggedMode(values []AndroidDeviceOwnerBa } return result } +func (i AndroidDeviceOwnerBatteryPluggedMode) isMultiValue() bool { + return false +} diff --git a/models/android_device_owner_certificate_access_type.go b/models/android_device_owner_certificate_access_type.go index 020b6468d27..d265a60aca3 100644 --- a/models/android_device_owner_certificate_access_type.go +++ b/models/android_device_owner_certificate_access_type.go @@ -38,3 +38,6 @@ func SerializeAndroidDeviceOwnerCertificateAccessType(values []AndroidDeviceOwne } return result } +func (i AndroidDeviceOwnerCertificateAccessType) isMultiValue() bool { + return false +} diff --git a/models/android_device_owner_cross_profile_data_sharing.go b/models/android_device_owner_cross_profile_data_sharing.go index 51646315df8..a303885ea3a 100644 --- a/models/android_device_owner_cross_profile_data_sharing.go +++ b/models/android_device_owner_cross_profile_data_sharing.go @@ -46,3 +46,6 @@ func SerializeAndroidDeviceOwnerCrossProfileDataSharing(values []AndroidDeviceOw } return result } +func (i AndroidDeviceOwnerCrossProfileDataSharing) isMultiValue() bool { + return false +} diff --git a/models/android_device_owner_default_app_permission_policy_type.go b/models/android_device_owner_default_app_permission_policy_type.go index 223702f7bab..eb4aab982ec 100644 --- a/models/android_device_owner_default_app_permission_policy_type.go +++ b/models/android_device_owner_default_app_permission_policy_type.go @@ -42,3 +42,6 @@ func SerializeAndroidDeviceOwnerDefaultAppPermissionPolicyType(values []AndroidD } return result } +func (i AndroidDeviceOwnerDefaultAppPermissionPolicyType) isMultiValue() bool { + return false +} diff --git a/models/android_device_owner_delegated_app_scope_type.go b/models/android_device_owner_delegated_app_scope_type.go index daa6a010140..0de3044122b 100644 --- a/models/android_device_owner_delegated_app_scope_type.go +++ b/models/android_device_owner_delegated_app_scope_type.go @@ -46,3 +46,6 @@ func SerializeAndroidDeviceOwnerDelegatedAppScopeType(values []AndroidDeviceOwne } return result } +func (i AndroidDeviceOwnerDelegatedAppScopeType) isMultiValue() bool { + return false +} diff --git a/models/android_device_owner_enrollment_mode.go b/models/android_device_owner_enrollment_mode.go index ffcf7f4dd77..9c4e7509ab4 100644 --- a/models/android_device_owner_enrollment_mode.go +++ b/models/android_device_owner_enrollment_mode.go @@ -43,3 +43,6 @@ func SerializeAndroidDeviceOwnerEnrollmentMode(values []AndroidDeviceOwnerEnroll } return result } +func (i AndroidDeviceOwnerEnrollmentMode) isMultiValue() bool { + return false +} diff --git a/models/android_device_owner_enrollment_profile_type.go b/models/android_device_owner_enrollment_profile_type.go index ff7ca68493f..59240cba5a8 100644 --- a/models/android_device_owner_enrollment_profile_type.go +++ b/models/android_device_owner_enrollment_profile_type.go @@ -38,3 +38,6 @@ func SerializeAndroidDeviceOwnerEnrollmentProfileType(values []AndroidDeviceOwne } return result } +func (i AndroidDeviceOwnerEnrollmentProfileType) isMultiValue() bool { + return false +} diff --git a/models/android_device_owner_enrollment_token_type.go b/models/android_device_owner_enrollment_token_type.go index 466d742a75c..8fb098471b7 100644 --- a/models/android_device_owner_enrollment_token_type.go +++ b/models/android_device_owner_enrollment_token_type.go @@ -34,3 +34,6 @@ func SerializeAndroidDeviceOwnerEnrollmentTokenType(values []AndroidDeviceOwnerE } return result } +func (i AndroidDeviceOwnerEnrollmentTokenType) isMultiValue() bool { + return false +} diff --git a/models/android_device_owner_kiosk_customization_status_bar.go b/models/android_device_owner_kiosk_customization_status_bar.go index aedce6221e4..d3799072a3d 100644 --- a/models/android_device_owner_kiosk_customization_status_bar.go +++ b/models/android_device_owner_kiosk_customization_status_bar.go @@ -38,3 +38,6 @@ func SerializeAndroidDeviceOwnerKioskCustomizationStatusBar(values []AndroidDevi } return result } +func (i AndroidDeviceOwnerKioskCustomizationStatusBar) isMultiValue() bool { + return false +} diff --git a/models/android_device_owner_kiosk_customization_system_navigation.go b/models/android_device_owner_kiosk_customization_system_navigation.go index 8e7b1d8a427..e2fba289690 100644 --- a/models/android_device_owner_kiosk_customization_system_navigation.go +++ b/models/android_device_owner_kiosk_customization_system_navigation.go @@ -38,3 +38,6 @@ func SerializeAndroidDeviceOwnerKioskCustomizationSystemNavigation(values []Andr } return result } +func (i AndroidDeviceOwnerKioskCustomizationSystemNavigation) isMultiValue() bool { + return false +} diff --git a/models/android_device_owner_kiosk_mode_folder_icon.go b/models/android_device_owner_kiosk_mode_folder_icon.go index 411cdd34b76..5ea17a6e094 100644 --- a/models/android_device_owner_kiosk_mode_folder_icon.go +++ b/models/android_device_owner_kiosk_mode_folder_icon.go @@ -46,3 +46,6 @@ func SerializeAndroidDeviceOwnerKioskModeFolderIcon(values []AndroidDeviceOwnerK } return result } +func (i AndroidDeviceOwnerKioskModeFolderIcon) isMultiValue() bool { + return false +} diff --git a/models/android_device_owner_kiosk_mode_icon_size.go b/models/android_device_owner_kiosk_mode_icon_size.go index e8810cf6525..1386d5cda16 100644 --- a/models/android_device_owner_kiosk_mode_icon_size.go +++ b/models/android_device_owner_kiosk_mode_icon_size.go @@ -50,3 +50,6 @@ func SerializeAndroidDeviceOwnerKioskModeIconSize(values []AndroidDeviceOwnerKio } return result } +func (i AndroidDeviceOwnerKioskModeIconSize) isMultiValue() bool { + return false +} diff --git a/models/android_device_owner_kiosk_mode_screen_orientation.go b/models/android_device_owner_kiosk_mode_screen_orientation.go index 25d7baed1df..a95076f4580 100644 --- a/models/android_device_owner_kiosk_mode_screen_orientation.go +++ b/models/android_device_owner_kiosk_mode_screen_orientation.go @@ -42,3 +42,6 @@ func SerializeAndroidDeviceOwnerKioskModeScreenOrientation(values []AndroidDevic } return result } +func (i AndroidDeviceOwnerKioskModeScreenOrientation) isMultiValue() bool { + return false +} diff --git a/models/android_device_owner_play_store_mode.go b/models/android_device_owner_play_store_mode.go index de953af4fef..5b0f565c5d1 100644 --- a/models/android_device_owner_play_store_mode.go +++ b/models/android_device_owner_play_store_mode.go @@ -38,3 +38,6 @@ func SerializeAndroidDeviceOwnerPlayStoreMode(values []AndroidDeviceOwnerPlaySto } return result } +func (i AndroidDeviceOwnerPlayStoreMode) isMultiValue() bool { + return false +} diff --git a/models/android_device_owner_required_password_type.go b/models/android_device_owner_required_password_type.go index cf9432d3512..e571e864245 100644 --- a/models/android_device_owner_required_password_type.go +++ b/models/android_device_owner_required_password_type.go @@ -62,3 +62,6 @@ func SerializeAndroidDeviceOwnerRequiredPasswordType(values []AndroidDeviceOwner } return result } +func (i AndroidDeviceOwnerRequiredPasswordType) isMultiValue() bool { + return false +} diff --git a/models/android_device_owner_required_password_unlock.go b/models/android_device_owner_required_password_unlock.go index 5535008a738..254d8969b0a 100644 --- a/models/android_device_owner_required_password_unlock.go +++ b/models/android_device_owner_required_password_unlock.go @@ -38,3 +38,6 @@ func SerializeAndroidDeviceOwnerRequiredPasswordUnlock(values []AndroidDeviceOwn } return result } +func (i AndroidDeviceOwnerRequiredPasswordUnlock) isMultiValue() bool { + return false +} diff --git a/models/android_device_owner_system_update_install_type.go b/models/android_device_owner_system_update_install_type.go index d47f437cc39..4a35dd870de 100644 --- a/models/android_device_owner_system_update_install_type.go +++ b/models/android_device_owner_system_update_install_type.go @@ -42,3 +42,6 @@ func SerializeAndroidDeviceOwnerSystemUpdateInstallType(values []AndroidDeviceOw } return result } +func (i AndroidDeviceOwnerSystemUpdateInstallType) isMultiValue() bool { + return false +} diff --git a/models/android_device_owner_virtual_home_button_type.go b/models/android_device_owner_virtual_home_button_type.go index cd730e3ad88..e9a7ac98fa3 100644 --- a/models/android_device_owner_virtual_home_button_type.go +++ b/models/android_device_owner_virtual_home_button_type.go @@ -38,3 +38,6 @@ func SerializeAndroidDeviceOwnerVirtualHomeButtonType(values []AndroidDeviceOwne } return result } +func (i AndroidDeviceOwnerVirtualHomeButtonType) isMultiValue() bool { + return false +} diff --git a/models/android_device_owner_wi_fi_security_type.go b/models/android_device_owner_wi_fi_security_type.go index 7b5260b9223..b363c73ba1f 100644 --- a/models/android_device_owner_wi_fi_security_type.go +++ b/models/android_device_owner_wi_fi_security_type.go @@ -42,3 +42,6 @@ func SerializeAndroidDeviceOwnerWiFiSecurityType(values []AndroidDeviceOwnerWiFi } return result } +func (i AndroidDeviceOwnerWiFiSecurityType) isMultiValue() bool { + return false +} diff --git a/models/android_eap_type.go b/models/android_eap_type.go index 87bd9555382..79ec94a2b4f 100644 --- a/models/android_eap_type.go +++ b/models/android_eap_type.go @@ -38,3 +38,6 @@ func SerializeAndroidEapType(values []AndroidEapType) []string { } return result } +func (i AndroidEapType) isMultiValue() bool { + return false +} diff --git a/models/android_for_work_app_collection_response.go b/models/android_for_work_app_collection_response.go new file mode 100644 index 00000000000..439c91704c8 --- /dev/null +++ b/models/android_for_work_app_collection_response.go @@ -0,0 +1,87 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// AndroidForWorkAppCollectionResponse +type AndroidForWorkAppCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewAndroidForWorkAppCollectionResponse instantiates a new androidForWorkAppCollectionResponse and sets the default values. +func NewAndroidForWorkAppCollectionResponse()(*AndroidForWorkAppCollectionResponse) { + m := &AndroidForWorkAppCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateAndroidForWorkAppCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateAndroidForWorkAppCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAndroidForWorkAppCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *AndroidForWorkAppCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAndroidForWorkAppFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AndroidForWorkAppable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AndroidForWorkAppable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *AndroidForWorkAppCollectionResponse) GetValue()([]AndroidForWorkAppable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AndroidForWorkAppable) + } + return nil +} +// Serialize serializes information the current object +func (m *AndroidForWorkAppCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *AndroidForWorkAppCollectionResponse) SetValue(value []AndroidForWorkAppable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// AndroidForWorkAppCollectionResponseable +type AndroidForWorkAppCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]AndroidForWorkAppable) + SetValue(value []AndroidForWorkAppable)() +} diff --git a/models/android_for_work_app_configuration_schema_item_data_type.go b/models/android_for_work_app_configuration_schema_item_data_type.go index 23a609779d3..3837697346c 100644 --- a/models/android_for_work_app_configuration_schema_item_data_type.go +++ b/models/android_for_work_app_configuration_schema_item_data_type.go @@ -50,3 +50,6 @@ func SerializeAndroidForWorkAppConfigurationSchemaItemDataType(values []AndroidF } return result } +func (i AndroidForWorkAppConfigurationSchemaItemDataType) isMultiValue() bool { + return false +} diff --git a/models/android_for_work_bind_status.go b/models/android_for_work_bind_status.go index a0336d0133f..a9c6b9da05d 100644 --- a/models/android_for_work_bind_status.go +++ b/models/android_for_work_bind_status.go @@ -38,3 +38,6 @@ func SerializeAndroidForWorkBindStatus(values []AndroidForWorkBindStatus) []stri } return result } +func (i AndroidForWorkBindStatus) isMultiValue() bool { + return false +} diff --git a/models/android_for_work_cross_profile_data_sharing_type.go b/models/android_for_work_cross_profile_data_sharing_type.go index 5bffcc96c70..e68f02f746a 100644 --- a/models/android_for_work_cross_profile_data_sharing_type.go +++ b/models/android_for_work_cross_profile_data_sharing_type.go @@ -42,3 +42,6 @@ func SerializeAndroidForWorkCrossProfileDataSharingType(values []AndroidForWorkC } return result } +func (i AndroidForWorkCrossProfileDataSharingType) isMultiValue() bool { + return false +} diff --git a/models/android_for_work_default_app_permission_policy_type.go b/models/android_for_work_default_app_permission_policy_type.go index 9e662b78ba4..9384ec54a68 100644 --- a/models/android_for_work_default_app_permission_policy_type.go +++ b/models/android_for_work_default_app_permission_policy_type.go @@ -42,3 +42,6 @@ func SerializeAndroidForWorkDefaultAppPermissionPolicyType(values []AndroidForWo } return result } +func (i AndroidForWorkDefaultAppPermissionPolicyType) isMultiValue() bool { + return false +} diff --git a/models/android_for_work_enrollment_target.go b/models/android_for_work_enrollment_target.go index 1f02634d5c7..3c094e38180 100644 --- a/models/android_for_work_enrollment_target.go +++ b/models/android_for_work_enrollment_target.go @@ -38,3 +38,6 @@ func SerializeAndroidForWorkEnrollmentTarget(values []AndroidForWorkEnrollmentTa } return result } +func (i AndroidForWorkEnrollmentTarget) isMultiValue() bool { + return false +} diff --git a/models/android_for_work_required_password_type.go b/models/android_for_work_required_password_type.go index c3f26b9388c..b49be31e9a4 100644 --- a/models/android_for_work_required_password_type.go +++ b/models/android_for_work_required_password_type.go @@ -58,3 +58,6 @@ func SerializeAndroidForWorkRequiredPasswordType(values []AndroidForWorkRequired } return result } +func (i AndroidForWorkRequiredPasswordType) isMultiValue() bool { + return false +} diff --git a/models/android_for_work_sync_status.go b/models/android_for_work_sync_status.go index 5e1207aec07..b3446a03a64 100644 --- a/models/android_for_work_sync_status.go +++ b/models/android_for_work_sync_status.go @@ -44,3 +44,6 @@ func SerializeAndroidForWorkSyncStatus(values []AndroidForWorkSyncStatus) []stri } return result } +func (i AndroidForWorkSyncStatus) isMultiValue() bool { + return false +} diff --git a/models/android_for_work_vpn_connection_type.go b/models/android_for_work_vpn_connection_type.go index 6ccaee2ad24..618ac48a2bf 100644 --- a/models/android_for_work_vpn_connection_type.go +++ b/models/android_for_work_vpn_connection_type.go @@ -50,3 +50,6 @@ func SerializeAndroidForWorkVpnConnectionType(values []AndroidForWorkVpnConnecti } return result } +func (i AndroidForWorkVpnConnectionType) isMultiValue() bool { + return false +} diff --git a/models/android_keyguard_feature.go b/models/android_keyguard_feature.go index 5e2233d1b99..50d18a7d15c 100644 --- a/models/android_keyguard_feature.go +++ b/models/android_keyguard_feature.go @@ -70,3 +70,6 @@ func SerializeAndroidKeyguardFeature(values []AndroidKeyguardFeature) []string { } return result } +func (i AndroidKeyguardFeature) isMultiValue() bool { + return false +} diff --git a/models/android_lob_app_collection_response.go b/models/android_lob_app_collection_response.go new file mode 100644 index 00000000000..0fc10c12c50 --- /dev/null +++ b/models/android_lob_app_collection_response.go @@ -0,0 +1,87 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// AndroidLobAppCollectionResponse +type AndroidLobAppCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewAndroidLobAppCollectionResponse instantiates a new androidLobAppCollectionResponse and sets the default values. +func NewAndroidLobAppCollectionResponse()(*AndroidLobAppCollectionResponse) { + m := &AndroidLobAppCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateAndroidLobAppCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateAndroidLobAppCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAndroidLobAppCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *AndroidLobAppCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAndroidLobAppFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AndroidLobAppable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AndroidLobAppable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *AndroidLobAppCollectionResponse) GetValue()([]AndroidLobAppable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AndroidLobAppable) + } + return nil +} +// Serialize serializes information the current object +func (m *AndroidLobAppCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *AndroidLobAppCollectionResponse) SetValue(value []AndroidLobAppable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// AndroidLobAppCollectionResponseable +type AndroidLobAppCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]AndroidLobAppable) + SetValue(value []AndroidLobAppable)() +} diff --git a/models/android_managed_app_safety_net_apps_verification_type.go b/models/android_managed_app_safety_net_apps_verification_type.go index a3d8042b02c..96368e6eac3 100644 --- a/models/android_managed_app_safety_net_apps_verification_type.go +++ b/models/android_managed_app_safety_net_apps_verification_type.go @@ -34,3 +34,6 @@ func SerializeAndroidManagedAppSafetyNetAppsVerificationType(values []AndroidMan } return result } +func (i AndroidManagedAppSafetyNetAppsVerificationType) isMultiValue() bool { + return false +} diff --git a/models/android_managed_app_safety_net_device_attestation_type.go b/models/android_managed_app_safety_net_device_attestation_type.go index 462d2a14ae5..48731f69611 100644 --- a/models/android_managed_app_safety_net_device_attestation_type.go +++ b/models/android_managed_app_safety_net_device_attestation_type.go @@ -38,3 +38,6 @@ func SerializeAndroidManagedAppSafetyNetDeviceAttestationType(values []AndroidMa } return result } +func (i AndroidManagedAppSafetyNetDeviceAttestationType) isMultiValue() bool { + return false +} diff --git a/models/android_managed_app_safety_net_evaluation_type.go b/models/android_managed_app_safety_net_evaluation_type.go index f7bf260fb7b..50b54dc5ccb 100644 --- a/models/android_managed_app_safety_net_evaluation_type.go +++ b/models/android_managed_app_safety_net_evaluation_type.go @@ -34,3 +34,6 @@ func SerializeAndroidManagedAppSafetyNetEvaluationType(values []AndroidManagedAp } return result } +func (i AndroidManagedAppSafetyNetEvaluationType) isMultiValue() bool { + return false +} diff --git a/models/android_managed_store_account_app_sync_status.go b/models/android_managed_store_account_app_sync_status.go index 137147d331a..9b6847fabf2 100644 --- a/models/android_managed_store_account_app_sync_status.go +++ b/models/android_managed_store_account_app_sync_status.go @@ -44,3 +44,6 @@ func SerializeAndroidManagedStoreAccountAppSyncStatus(values []AndroidManagedSto } return result } +func (i AndroidManagedStoreAccountAppSyncStatus) isMultiValue() bool { + return false +} diff --git a/models/android_managed_store_account_bind_status.go b/models/android_managed_store_account_bind_status.go index 31ea65f2e4a..112acb9af5a 100644 --- a/models/android_managed_store_account_bind_status.go +++ b/models/android_managed_store_account_bind_status.go @@ -38,3 +38,6 @@ func SerializeAndroidManagedStoreAccountBindStatus(values []AndroidManagedStoreA } return result } +func (i AndroidManagedStoreAccountBindStatus) isMultiValue() bool { + return false +} diff --git a/models/android_managed_store_account_enrollment_target.go b/models/android_managed_store_account_enrollment_target.go index 88a6521f46b..4f9024ea413 100644 --- a/models/android_managed_store_account_enrollment_target.go +++ b/models/android_managed_store_account_enrollment_target.go @@ -38,3 +38,6 @@ func SerializeAndroidManagedStoreAccountEnrollmentTarget(values []AndroidManaged } return result } +func (i AndroidManagedStoreAccountEnrollmentTarget) isMultiValue() bool { + return false +} diff --git a/models/android_managed_store_app_collection_response.go b/models/android_managed_store_app_collection_response.go new file mode 100644 index 00000000000..ac0044a8fdf --- /dev/null +++ b/models/android_managed_store_app_collection_response.go @@ -0,0 +1,87 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// AndroidManagedStoreAppCollectionResponse +type AndroidManagedStoreAppCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewAndroidManagedStoreAppCollectionResponse instantiates a new androidManagedStoreAppCollectionResponse and sets the default values. +func NewAndroidManagedStoreAppCollectionResponse()(*AndroidManagedStoreAppCollectionResponse) { + m := &AndroidManagedStoreAppCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateAndroidManagedStoreAppCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateAndroidManagedStoreAppCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAndroidManagedStoreAppCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *AndroidManagedStoreAppCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAndroidManagedStoreAppFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AndroidManagedStoreAppable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AndroidManagedStoreAppable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *AndroidManagedStoreAppCollectionResponse) GetValue()([]AndroidManagedStoreAppable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AndroidManagedStoreAppable) + } + return nil +} +// Serialize serializes information the current object +func (m *AndroidManagedStoreAppCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *AndroidManagedStoreAppCollectionResponse) SetValue(value []AndroidManagedStoreAppable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// AndroidManagedStoreAppCollectionResponseable +type AndroidManagedStoreAppCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]AndroidManagedStoreAppable) + SetValue(value []AndroidManagedStoreAppable)() +} diff --git a/models/android_managed_store_app_configuration_schema_item_data_type.go b/models/android_managed_store_app_configuration_schema_item_data_type.go index 1ab4015243e..83c0901e8f7 100644 --- a/models/android_managed_store_app_configuration_schema_item_data_type.go +++ b/models/android_managed_store_app_configuration_schema_item_data_type.go @@ -50,3 +50,6 @@ func SerializeAndroidManagedStoreAppConfigurationSchemaItemDataType(values []And } return result } +func (i AndroidManagedStoreAppConfigurationSchemaItemDataType) isMultiValue() bool { + return false +} diff --git a/models/android_managed_store_auto_update_mode.go b/models/android_managed_store_auto_update_mode.go index d70a458961d..71a4efcc266 100644 --- a/models/android_managed_store_auto_update_mode.go +++ b/models/android_managed_store_auto_update_mode.go @@ -42,3 +42,6 @@ func SerializeAndroidManagedStoreAutoUpdateMode(values []AndroidManagedStoreAuto } return result } +func (i AndroidManagedStoreAutoUpdateMode) isMultiValue() bool { + return false +} diff --git a/models/android_permission_action_type.go b/models/android_permission_action_type.go index 9c4bd84f26c..0eb5d57cb92 100644 --- a/models/android_permission_action_type.go +++ b/models/android_permission_action_type.go @@ -35,3 +35,6 @@ func SerializeAndroidPermissionActionType(values []AndroidPermissionActionType) } return result } +func (i AndroidPermissionActionType) isMultiValue() bool { + return false +} diff --git a/models/android_profile_applicability.go b/models/android_profile_applicability.go index ce5a4224303..ca936230261 100644 --- a/models/android_profile_applicability.go +++ b/models/android_profile_applicability.go @@ -35,3 +35,6 @@ func SerializeAndroidProfileApplicability(values []AndroidProfileApplicability) } return result } +func (i AndroidProfileApplicability) isMultiValue() bool { + return false +} diff --git a/models/android_required_password_complexity.go b/models/android_required_password_complexity.go index fe5b1ce5013..740a0ec8b34 100644 --- a/models/android_required_password_complexity.go +++ b/models/android_required_password_complexity.go @@ -42,3 +42,6 @@ func SerializeAndroidRequiredPasswordComplexity(values []AndroidRequiredPassword } return result } +func (i AndroidRequiredPasswordComplexity) isMultiValue() bool { + return false +} diff --git a/models/android_required_password_type.go b/models/android_required_password_type.go index 64a26d3b7c2..380b6370fae 100644 --- a/models/android_required_password_type.go +++ b/models/android_required_password_type.go @@ -58,3 +58,6 @@ func SerializeAndroidRequiredPasswordType(values []AndroidRequiredPasswordType) } return result } +func (i AndroidRequiredPasswordType) isMultiValue() bool { + return false +} diff --git a/models/android_safety_net_evaluation_type.go b/models/android_safety_net_evaluation_type.go index 8ab3be9bf1d..9afff867bf1 100644 --- a/models/android_safety_net_evaluation_type.go +++ b/models/android_safety_net_evaluation_type.go @@ -34,3 +34,6 @@ func SerializeAndroidSafetyNetEvaluationType(values []AndroidSafetyNetEvaluation } return result } +func (i AndroidSafetyNetEvaluationType) isMultiValue() bool { + return false +} diff --git a/models/android_store_app_collection_response.go b/models/android_store_app_collection_response.go new file mode 100644 index 00000000000..79be6a993cd --- /dev/null +++ b/models/android_store_app_collection_response.go @@ -0,0 +1,87 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// AndroidStoreAppCollectionResponse +type AndroidStoreAppCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewAndroidStoreAppCollectionResponse instantiates a new androidStoreAppCollectionResponse and sets the default values. +func NewAndroidStoreAppCollectionResponse()(*AndroidStoreAppCollectionResponse) { + m := &AndroidStoreAppCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateAndroidStoreAppCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateAndroidStoreAppCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAndroidStoreAppCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *AndroidStoreAppCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAndroidStoreAppFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AndroidStoreAppable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AndroidStoreAppable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *AndroidStoreAppCollectionResponse) GetValue()([]AndroidStoreAppable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AndroidStoreAppable) + } + return nil +} +// Serialize serializes information the current object +func (m *AndroidStoreAppCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *AndroidStoreAppCollectionResponse) SetValue(value []AndroidStoreAppable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// AndroidStoreAppCollectionResponseable +type AndroidStoreAppCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]AndroidStoreAppable) + SetValue(value []AndroidStoreAppable)() +} diff --git a/models/android_targeted_platforms.go b/models/android_targeted_platforms.go index a77de361665..79c559177a7 100644 --- a/models/android_targeted_platforms.go +++ b/models/android_targeted_platforms.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Specifies which platform(s) can be targeted for a given Android LOB application or Managed Android LOB application. type AndroidTargetedPlatforms int @@ -15,19 +16,28 @@ const ( ) func (i AndroidTargetedPlatforms) String() string { - return []string{"androidDeviceAdministrator", "androidOpenSourceProject", "unknownFutureValue"}[i] + var values []string + for p := AndroidTargetedPlatforms(1); p <= UNKNOWNFUTUREVALUE_ANDROIDTARGETEDPLATFORMS; p <<= 1 { + if i&p == p { + values = append(values, []string{"androidDeviceAdministrator", "androidOpenSourceProject", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseAndroidTargetedPlatforms(v string) (any, error) { - result := ANDROIDDEVICEADMINISTRATOR_ANDROIDTARGETEDPLATFORMS - switch v { - case "androidDeviceAdministrator": - result = ANDROIDDEVICEADMINISTRATOR_ANDROIDTARGETEDPLATFORMS - case "androidOpenSourceProject": - result = ANDROIDOPENSOURCEPROJECT_ANDROIDTARGETEDPLATFORMS - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_ANDROIDTARGETEDPLATFORMS - default: - return 0, errors.New("Unknown AndroidTargetedPlatforms value: " + v) + var result AndroidTargetedPlatforms + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "androidDeviceAdministrator": + result |= ANDROIDDEVICEADMINISTRATOR_ANDROIDTARGETEDPLATFORMS + case "androidOpenSourceProject": + result |= ANDROIDOPENSOURCEPROJECT_ANDROIDTARGETEDPLATFORMS + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_ANDROIDTARGETEDPLATFORMS + default: + return 0, errors.New("Unknown AndroidTargetedPlatforms value: " + v) + } } return &result, nil } @@ -38,3 +48,6 @@ func SerializeAndroidTargetedPlatforms(values []AndroidTargetedPlatforms) []stri } return result } +func (i AndroidTargetedPlatforms) isMultiValue() bool { + return true +} diff --git a/models/android_username_source.go b/models/android_username_source.go index afc6b5d7282..466a562e322 100644 --- a/models/android_username_source.go +++ b/models/android_username_source.go @@ -42,3 +42,6 @@ func SerializeAndroidUsernameSource(values []AndroidUsernameSource) []string { } return result } +func (i AndroidUsernameSource) isMultiValue() bool { + return false +} diff --git a/models/android_vpn_connection_type.go b/models/android_vpn_connection_type.go index b238109f31d..fc72fff96be 100644 --- a/models/android_vpn_connection_type.go +++ b/models/android_vpn_connection_type.go @@ -62,3 +62,6 @@ func SerializeAndroidVpnConnectionType(values []AndroidVpnConnectionType) []stri } return result } +func (i AndroidVpnConnectionType) isMultiValue() bool { + return false +} diff --git a/models/android_wi_fi_security_type.go b/models/android_wi_fi_security_type.go index b6cc7cc147e..31f2602012a 100644 --- a/models/android_wi_fi_security_type.go +++ b/models/android_wi_fi_security_type.go @@ -38,3 +38,6 @@ func SerializeAndroidWiFiSecurityType(values []AndroidWiFiSecurityType) []string } return result } +func (i AndroidWiFiSecurityType) isMultiValue() bool { + return false +} diff --git a/models/android_work_profile_account_use.go b/models/android_work_profile_account_use.go index 99f6250175c..c1059f1c06c 100644 --- a/models/android_work_profile_account_use.go +++ b/models/android_work_profile_account_use.go @@ -42,3 +42,6 @@ func SerializeAndroidWorkProfileAccountUse(values []AndroidWorkProfileAccountUse } return result } +func (i AndroidWorkProfileAccountUse) isMultiValue() bool { + return false +} diff --git a/models/android_work_profile_cross_profile_data_sharing_type.go b/models/android_work_profile_cross_profile_data_sharing_type.go index bbaeee5a23e..a612dbbd4fc 100644 --- a/models/android_work_profile_cross_profile_data_sharing_type.go +++ b/models/android_work_profile_cross_profile_data_sharing_type.go @@ -42,3 +42,6 @@ func SerializeAndroidWorkProfileCrossProfileDataSharingType(values []AndroidWork } return result } +func (i AndroidWorkProfileCrossProfileDataSharingType) isMultiValue() bool { + return false +} diff --git a/models/android_work_profile_default_app_permission_policy_type.go b/models/android_work_profile_default_app_permission_policy_type.go index d53edf5f465..50d12bc8ddb 100644 --- a/models/android_work_profile_default_app_permission_policy_type.go +++ b/models/android_work_profile_default_app_permission_policy_type.go @@ -42,3 +42,6 @@ func SerializeAndroidWorkProfileDefaultAppPermissionPolicyType(values []AndroidW } return result } +func (i AndroidWorkProfileDefaultAppPermissionPolicyType) isMultiValue() bool { + return false +} diff --git a/models/android_work_profile_required_password_type.go b/models/android_work_profile_required_password_type.go index 8b0472a903b..7f0f4f9105d 100644 --- a/models/android_work_profile_required_password_type.go +++ b/models/android_work_profile_required_password_type.go @@ -58,3 +58,6 @@ func SerializeAndroidWorkProfileRequiredPasswordType(values []AndroidWorkProfile } return result } +func (i AndroidWorkProfileRequiredPasswordType) isMultiValue() bool { + return false +} diff --git a/models/android_work_profile_vpn_connection_type.go b/models/android_work_profile_vpn_connection_type.go index 73a83bc41ed..940f7d32674 100644 --- a/models/android_work_profile_vpn_connection_type.go +++ b/models/android_work_profile_vpn_connection_type.go @@ -66,3 +66,6 @@ func SerializeAndroidWorkProfileVpnConnectionType(values []AndroidWorkProfileVpn } return result } +func (i AndroidWorkProfileVpnConnectionType) isMultiValue() bool { + return false +} diff --git a/models/answer_input_type.go b/models/answer_input_type.go index 09160f20681..16f2024a612 100644 --- a/models/answer_input_type.go +++ b/models/answer_input_type.go @@ -35,3 +35,6 @@ func SerializeAnswerInputType(values []AnswerInputType) []string { } return result } +func (i AnswerInputType) isMultiValue() bool { + return false +} diff --git a/models/aosp_device_owner_wi_fi_security_type.go b/models/aosp_device_owner_wi_fi_security_type.go index bd36e6a4317..bf15f3847f0 100644 --- a/models/aosp_device_owner_wi_fi_security_type.go +++ b/models/aosp_device_owner_wi_fi_security_type.go @@ -42,3 +42,6 @@ func SerializeAospDeviceOwnerWiFiSecurityType(values []AospDeviceOwnerWiFiSecuri } return result } +func (i AospDeviceOwnerWiFiSecurityType) isMultiValue() bool { + return false +} diff --git a/models/aosp_wifi_security_type.go b/models/aosp_wifi_security_type.go index 09d3dec2630..e851a54d147 100644 --- a/models/aosp_wifi_security_type.go +++ b/models/aosp_wifi_security_type.go @@ -38,3 +38,6 @@ func SerializeAospWifiSecurityType(values []AospWifiSecurityType) []string { } return result } +func (i AospWifiSecurityType) isMultiValue() bool { + return false +} diff --git a/models/app_credential_restriction_type.go b/models/app_credential_restriction_type.go index 2918e36be71..6467cc647c3 100644 --- a/models/app_credential_restriction_type.go +++ b/models/app_credential_restriction_type.go @@ -44,3 +44,6 @@ func SerializeAppCredentialRestrictionType(values []AppCredentialRestrictionType } return result } +func (i AppCredentialRestrictionType) isMultiValue() bool { + return false +} diff --git a/models/app_install_control_type.go b/models/app_install_control_type.go index 2f77f4f28f5..c78fea1caa7 100644 --- a/models/app_install_control_type.go +++ b/models/app_install_control_type.go @@ -46,3 +46,6 @@ func SerializeAppInstallControlType(values []AppInstallControlType) []string { } return result } +func (i AppInstallControlType) isMultiValue() bool { + return false +} diff --git a/models/app_key_credential_restriction_type.go b/models/app_key_credential_restriction_type.go index 9f439c8bf6a..a66b6a3576d 100644 --- a/models/app_key_credential_restriction_type.go +++ b/models/app_key_credential_restriction_type.go @@ -35,3 +35,6 @@ func SerializeAppKeyCredentialRestrictionType(values []AppKeyCredentialRestricti } return result } +func (i AppKeyCredentialRestrictionType) isMultiValue() bool { + return false +} diff --git a/models/app_list_type.go b/models/app_list_type.go index 6f1257f6033..1833f4ef656 100644 --- a/models/app_list_type.go +++ b/models/app_list_type.go @@ -38,3 +38,6 @@ func SerializeAppListType(values []AppListType) []string { } return result } +func (i AppListType) isMultiValue() bool { + return false +} diff --git a/models/app_locker_application_control_type.go b/models/app_locker_application_control_type.go index f0db7807ef5..6bcec092446 100644 --- a/models/app_locker_application_control_type.go +++ b/models/app_locker_application_control_type.go @@ -46,3 +46,6 @@ func SerializeAppLockerApplicationControlType(values []AppLockerApplicationContr } return result } +func (i AppLockerApplicationControlType) isMultiValue() bool { + return false +} diff --git a/models/app_log_decryption_algorithm.go b/models/app_log_decryption_algorithm.go index e545df4b6ed..d3a82349cc2 100644 --- a/models/app_log_decryption_algorithm.go +++ b/models/app_log_decryption_algorithm.go @@ -34,3 +34,6 @@ func SerializeAppLogDecryptionAlgorithm(values []AppLogDecryptionAlgorithm) []st } return result } +func (i AppLogDecryptionAlgorithm) isMultiValue() bool { + return false +} diff --git a/models/app_log_upload_state.go b/models/app_log_upload_state.go index f67686e428d..52193f328e5 100644 --- a/models/app_log_upload_state.go +++ b/models/app_log_upload_state.go @@ -42,3 +42,6 @@ func SerializeAppLogUploadState(values []AppLogUploadState) []string { } return result } +func (i AppLogUploadState) isMultiValue() bool { + return false +} diff --git a/models/app_management_level.go b/models/app_management_level.go index a64694c0168..47f9444aaaa 100644 --- a/models/app_management_level.go +++ b/models/app_management_level.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Management levels for apps type AppManagementLevel int @@ -25,29 +26,38 @@ const ( ) func (i AppManagementLevel) String() string { - return []string{"unspecified", "unmanaged", "mdm", "androidEnterprise", "androidEnterpriseDedicatedDevicesWithAzureAdSharedMode", "androidOpenSourceProjectUserAssociated", "androidOpenSourceProjectUserless", "unknownFutureValue"}[i] + var values []string + for p := AppManagementLevel(1); p <= UNKNOWNFUTUREVALUE_APPMANAGEMENTLEVEL; p <<= 1 { + if i&p == p { + values = append(values, []string{"unspecified", "unmanaged", "mdm", "androidEnterprise", "androidEnterpriseDedicatedDevicesWithAzureAdSharedMode", "androidOpenSourceProjectUserAssociated", "androidOpenSourceProjectUserless", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseAppManagementLevel(v string) (any, error) { - result := UNSPECIFIED_APPMANAGEMENTLEVEL - switch v { - case "unspecified": - result = UNSPECIFIED_APPMANAGEMENTLEVEL - case "unmanaged": - result = UNMANAGED_APPMANAGEMENTLEVEL - case "mdm": - result = MDM_APPMANAGEMENTLEVEL - case "androidEnterprise": - result = ANDROIDENTERPRISE_APPMANAGEMENTLEVEL - case "androidEnterpriseDedicatedDevicesWithAzureAdSharedMode": - result = ANDROIDENTERPRISEDEDICATEDDEVICESWITHAZUREADSHAREDMODE_APPMANAGEMENTLEVEL - case "androidOpenSourceProjectUserAssociated": - result = ANDROIDOPENSOURCEPROJECTUSERASSOCIATED_APPMANAGEMENTLEVEL - case "androidOpenSourceProjectUserless": - result = ANDROIDOPENSOURCEPROJECTUSERLESS_APPMANAGEMENTLEVEL - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_APPMANAGEMENTLEVEL - default: - return 0, errors.New("Unknown AppManagementLevel value: " + v) + var result AppManagementLevel + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "unspecified": + result |= UNSPECIFIED_APPMANAGEMENTLEVEL + case "unmanaged": + result |= UNMANAGED_APPMANAGEMENTLEVEL + case "mdm": + result |= MDM_APPMANAGEMENTLEVEL + case "androidEnterprise": + result |= ANDROIDENTERPRISE_APPMANAGEMENTLEVEL + case "androidEnterpriseDedicatedDevicesWithAzureAdSharedMode": + result |= ANDROIDENTERPRISEDEDICATEDDEVICESWITHAZUREADSHAREDMODE_APPMANAGEMENTLEVEL + case "androidOpenSourceProjectUserAssociated": + result |= ANDROIDOPENSOURCEPROJECTUSERASSOCIATED_APPMANAGEMENTLEVEL + case "androidOpenSourceProjectUserless": + result |= ANDROIDOPENSOURCEPROJECTUSERLESS_APPMANAGEMENTLEVEL + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_APPMANAGEMENTLEVEL + default: + return 0, errors.New("Unknown AppManagementLevel value: " + v) + } } return &result, nil } @@ -58,3 +68,6 @@ func SerializeAppManagementLevel(values []AppManagementLevel) []string { } return result } +func (i AppManagementLevel) isMultiValue() bool { + return true +} diff --git a/models/app_scope.go b/models/app_scope.go index 019c5dcaa1f..dc686e7c13d 100644 --- a/models/app_scope.go +++ b/models/app_scope.go @@ -73,7 +73,7 @@ func (m *AppScope) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896 } return res } -// GetTypeEscaped gets the type property value. Describes the type of app-specific resource represented by the app scope. Provided for display purposes, so a user interface can convey to the user the kind of app specific resource represented by the app scope. This property is read only. +// GetTypeEscaped gets the type property value. Describes the type of app-specific resource represented by the app scope and is provided for display purposes, so a user interface can convey to the user the kind of app specific resource represented by the app scope. This property is read only. func (m *AppScope) GetTypeEscaped()(*string) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { @@ -111,7 +111,7 @@ func (m *AppScope) SetDisplayName(value *string)() { panic(err) } } -// SetTypeEscaped sets the type property value. Describes the type of app-specific resource represented by the app scope. Provided for display purposes, so a user interface can convey to the user the kind of app specific resource represented by the app scope. This property is read only. +// SetTypeEscaped sets the type property value. Describes the type of app-specific resource represented by the app scope and is provided for display purposes, so a user interface can convey to the user the kind of app specific resource represented by the app scope. This property is read only. func (m *AppScope) SetTypeEscaped(value *string)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/models/app_vulnerability_task_mitigation_type.go b/models/app_vulnerability_task_mitigation_type.go index ab65de7a4bc..05b24540f49 100644 --- a/models/app_vulnerability_task_mitigation_type.go +++ b/models/app_vulnerability_task_mitigation_type.go @@ -42,3 +42,6 @@ func SerializeAppVulnerabilityTaskMitigationType(values []AppVulnerabilityTaskMi } return result } +func (i AppVulnerabilityTaskMitigationType) isMultiValue() bool { + return false +} diff --git a/models/apple_deployment_channel.go b/models/apple_deployment_channel.go index e87f1cd1cf6..018b62d040d 100644 --- a/models/apple_deployment_channel.go +++ b/models/apple_deployment_channel.go @@ -34,3 +34,6 @@ func SerializeAppleDeploymentChannel(values []AppleDeploymentChannel) []string { } return result } +func (i AppleDeploymentChannel) isMultiValue() bool { + return false +} diff --git a/models/apple_subject_name_format.go b/models/apple_subject_name_format.go index ad5e9d73f39..a72d4175db3 100644 --- a/models/apple_subject_name_format.go +++ b/models/apple_subject_name_format.go @@ -50,3 +50,6 @@ func SerializeAppleSubjectNameFormat(values []AppleSubjectNameFormat) []string { } return result } +func (i AppleSubjectNameFormat) isMultiValue() bool { + return false +} diff --git a/models/apple_user_initiated_enrollment_type.go b/models/apple_user_initiated_enrollment_type.go index f5663be1372..da3121cdc12 100644 --- a/models/apple_user_initiated_enrollment_type.go +++ b/models/apple_user_initiated_enrollment_type.go @@ -50,3 +50,6 @@ func SerializeAppleUserInitiatedEnrollmentType(values []AppleUserInitiatedEnroll } return result } +func (i AppleUserInitiatedEnrollmentType) isMultiValue() bool { + return false +} diff --git a/models/apple_vpn_connection_type.go b/models/apple_vpn_connection_type.go index 4a964e310fc..84f3e1d1d06 100644 --- a/models/apple_vpn_connection_type.go +++ b/models/apple_vpn_connection_type.go @@ -102,3 +102,6 @@ func SerializeAppleVpnConnectionType(values []AppleVpnConnectionType) []string { } return result } +func (i AppleVpnConnectionType) isMultiValue() bool { + return false +} diff --git a/models/application.go b/models/application.go index df981f6e6cc..8cde7a5e543 100644 --- a/models/application.go +++ b/models/application.go @@ -100,7 +100,7 @@ func (m *Application) GetConnectorGroup()(ConnectorGroupable) { } return nil } -// GetCreatedDateTime gets the createdDateTime property value. The date and time the application was registered. The DateTimeOffset 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. Read-only. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderBy. +// GetCreatedDateTime gets the createdDateTime property value. The date and time the application was registered. The DateTimeOffset 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. Read-only. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderby. func (m *Application) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") if err != nil { @@ -155,7 +155,7 @@ func (m *Application) GetDisabledByMicrosoftStatus()(*string) { } return nil } -// GetDisplayName gets the displayName property value. The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. +// GetDisplayName gets the displayName property value. The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. func (m *Application) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") if err != nil { @@ -1498,7 +1498,7 @@ func (m *Application) SetConnectorGroup(value ConnectorGroupable)() { panic(err) } } -// SetCreatedDateTime sets the createdDateTime property value. The date and time the application was registered. The DateTimeOffset 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. Read-only. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderBy. +// SetCreatedDateTime sets the createdDateTime property value. The date and time the application was registered. The DateTimeOffset 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. Read-only. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderby. func (m *Application) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { @@ -1533,7 +1533,7 @@ func (m *Application) SetDisabledByMicrosoftStatus(value *string)() { panic(err) } } -// SetDisplayName sets the displayName property value. The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. +// SetDisplayName sets the displayName property value. The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. func (m *Application) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { diff --git a/models/application_guard_block_clipboard_sharing_type.go b/models/application_guard_block_clipboard_sharing_type.go index 3c61592ea83..90ce306767f 100644 --- a/models/application_guard_block_clipboard_sharing_type.go +++ b/models/application_guard_block_clipboard_sharing_type.go @@ -46,3 +46,6 @@ func SerializeApplicationGuardBlockClipboardSharingType(values []ApplicationGuar } return result } +func (i ApplicationGuardBlockClipboardSharingType) isMultiValue() bool { + return false +} diff --git a/models/application_guard_block_file_transfer_type.go b/models/application_guard_block_file_transfer_type.go index acfc9e33813..5acc2941bb0 100644 --- a/models/application_guard_block_file_transfer_type.go +++ b/models/application_guard_block_file_transfer_type.go @@ -46,3 +46,6 @@ func SerializeApplicationGuardBlockFileTransferType(values []ApplicationGuardBlo } return result } +func (i ApplicationGuardBlockFileTransferType) isMultiValue() bool { + return false +} diff --git a/models/application_guard_enabled_options.go b/models/application_guard_enabled_options.go index 1753663d966..3b83e0c75eb 100644 --- a/models/application_guard_enabled_options.go +++ b/models/application_guard_enabled_options.go @@ -42,3 +42,6 @@ func SerializeApplicationGuardEnabledOptions(values []ApplicationGuardEnabledOpt } return result } +func (i ApplicationGuardEnabledOptions) isMultiValue() bool { + return false +} diff --git a/models/application_key_origin.go b/models/application_key_origin.go index 40103737861..2491e75d88c 100644 --- a/models/application_key_origin.go +++ b/models/application_key_origin.go @@ -35,3 +35,6 @@ func SerializeApplicationKeyOrigin(values []ApplicationKeyOrigin) []string { } return result } +func (i ApplicationKeyOrigin) isMultiValue() bool { + return false +} diff --git a/models/application_key_type.go b/models/application_key_type.go index 70b158c2cc9..d9438470da9 100644 --- a/models/application_key_type.go +++ b/models/application_key_type.go @@ -35,3 +35,6 @@ func SerializeApplicationKeyType(values []ApplicationKeyType) []string { } return result } +func (i ApplicationKeyType) isMultiValue() bool { + return false +} diff --git a/models/application_key_usage.go b/models/application_key_usage.go index a6877d0a2d7..db7c412d809 100644 --- a/models/application_key_usage.go +++ b/models/application_key_usage.go @@ -35,3 +35,6 @@ func SerializeApplicationKeyUsage(values []ApplicationKeyUsage) []string { } return result } +func (i ApplicationKeyUsage) isMultiValue() bool { + return false +} diff --git a/models/application_mode.go b/models/application_mode.go index 6cd7a71df5d..779100012ad 100644 --- a/models/application_mode.go +++ b/models/application_mode.go @@ -35,3 +35,6 @@ func SerializeApplicationMode(values []ApplicationMode) []string { } return result } +func (i ApplicationMode) isMultiValue() bool { + return false +} diff --git a/models/application_permissions_required.go b/models/application_permissions_required.go index f23d4b8057c..53e1d02973d 100644 --- a/models/application_permissions_required.go +++ b/models/application_permissions_required.go @@ -47,3 +47,6 @@ func SerializeApplicationPermissionsRequired(values []ApplicationPermissionsRequ } return result } +func (i ApplicationPermissionsRequired) isMultiValue() bool { + return false +} diff --git a/models/application_type.go b/models/application_type.go index 8c4d2fa153f..ae9481e170d 100644 --- a/models/application_type.go +++ b/models/application_type.go @@ -34,3 +34,6 @@ func SerializeApplicationType(values []ApplicationType) []string { } return result } +func (i ApplicationType) isMultiValue() bool { + return false +} diff --git a/models/applied_conditional_access_policy_result.go b/models/applied_conditional_access_policy_result.go index e2bcb9026de..e55ee6b6e12 100644 --- a/models/applied_conditional_access_policy_result.go +++ b/models/applied_conditional_access_policy_result.go @@ -56,3 +56,6 @@ func SerializeAppliedConditionalAccessPolicyResult(values []AppliedConditionalAc } return result } +func (i AppliedConditionalAccessPolicyResult) isMultiValue() bool { + return false +} diff --git a/models/approval_state.go b/models/approval_state.go index 1306d0bea4f..3e6a034fd7f 100644 --- a/models/approval_state.go +++ b/models/approval_state.go @@ -41,3 +41,6 @@ func SerializeApprovalState(values []ApprovalState) []string { } return result } +func (i ApprovalState) isMultiValue() bool { + return false +} diff --git a/models/assignment_filter_evaluation_result.go b/models/assignment_filter_evaluation_result.go index 87ba46d37d2..6ba44080cea 100644 --- a/models/assignment_filter_evaluation_result.go +++ b/models/assignment_filter_evaluation_result.go @@ -50,3 +50,6 @@ func SerializeAssignmentFilterEvaluationResult(values []AssignmentFilterEvaluati } return result } +func (i AssignmentFilterEvaluationResult) isMultiValue() bool { + return false +} diff --git a/models/assignment_filter_management_type.go b/models/assignment_filter_management_type.go index 366ceb3460f..5c8e121f99f 100644 --- a/models/assignment_filter_management_type.go +++ b/models/assignment_filter_management_type.go @@ -38,3 +38,6 @@ func SerializeAssignmentFilterManagementType(values []AssignmentFilterManagement } return result } +func (i AssignmentFilterManagementType) isMultiValue() bool { + return false +} diff --git a/models/assignment_filter_operator.go b/models/assignment_filter_operator.go index fa5a7a71715..fa3c8f4f167 100644 --- a/models/assignment_filter_operator.go +++ b/models/assignment_filter_operator.go @@ -70,3 +70,6 @@ func SerializeAssignmentFilterOperator(values []AssignmentFilterOperator) []stri } return result } +func (i AssignmentFilterOperator) isMultiValue() bool { + return false +} diff --git a/models/assignment_filter_payload_type.go b/models/assignment_filter_payload_type.go index 55682080057..4c9e444c840 100644 --- a/models/assignment_filter_payload_type.go +++ b/models/assignment_filter_payload_type.go @@ -34,3 +34,6 @@ func SerializeAssignmentFilterPayloadType(values []AssignmentFilterPayloadType) } return result } +func (i AssignmentFilterPayloadType) isMultiValue() bool { + return false +} diff --git a/models/assignment_method.go b/models/assignment_method.go index 387f44920f9..16da2770f43 100644 --- a/models/assignment_method.go +++ b/models/assignment_method.go @@ -35,3 +35,6 @@ func SerializeAssignmentMethod(values []AssignmentMethod) []string { } return result } +func (i AssignmentMethod) isMultiValue() bool { + return false +} diff --git a/models/assignment_type.go b/models/assignment_type.go index a48c1dd50e1..80551477e4c 100644 --- a/models/assignment_type.go +++ b/models/assignment_type.go @@ -35,3 +35,6 @@ func SerializeAssignmentType(values []AssignmentType) []string { } return result } +func (i AssignmentType) isMultiValue() bool { + return false +} diff --git a/models/associated_assignment_payload_type.go b/models/associated_assignment_payload_type.go index 305e23e71b3..2076d643d77 100644 --- a/models/associated_assignment_payload_type.go +++ b/models/associated_assignment_payload_type.go @@ -74,3 +74,6 @@ func SerializeAssociatedAssignmentPayloadType(values []AssociatedAssignmentPaylo } return result } +func (i AssociatedAssignmentPayloadType) isMultiValue() bool { + return false +} diff --git a/models/attachment_type.go b/models/attachment_type.go index ac9c47b159f..62e1a22d1a6 100644 --- a/models/attachment_type.go +++ b/models/attachment_type.go @@ -35,3 +35,6 @@ func SerializeAttachmentType(values []AttachmentType) []string { } return result } +func (i AttachmentType) isMultiValue() bool { + return false +} diff --git a/models/attack_simulation_operation_type.go b/models/attack_simulation_operation_type.go index def90bed72d..f2f9d0a2b98 100644 --- a/models/attack_simulation_operation_type.go +++ b/models/attack_simulation_operation_type.go @@ -35,3 +35,6 @@ func SerializeAttackSimulationOperationType(values []AttackSimulationOperationTy } return result } +func (i AttackSimulationOperationType) isMultiValue() bool { + return false +} diff --git a/models/attendee.go b/models/attendee.go index 0ea9f5e2162..e97364389af 100644 --- a/models/attendee.go +++ b/models/attendee.go @@ -46,7 +46,7 @@ func (m *Attendee) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896 } return res } -// GetProposedNewTime gets the proposedNewTime property value. An alternate date/time proposed by the attendee for a meeting request to start and end. If the attendee hasn't proposed another time, then this property is not included in a response of a GET event. +// GetProposedNewTime gets the proposedNewTime property value. An alternate date/time proposed by the attendee for a meeting request to start and end. If the attendee hasn't proposed another time, then this property isn't included in a response of a GET event. func (m *Attendee) GetProposedNewTime()(TimeSlotable) { val, err := m.GetBackingStore().Get("proposedNewTime") if err != nil { @@ -88,7 +88,7 @@ func (m *Attendee) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c01 } return nil } -// SetProposedNewTime sets the proposedNewTime property value. An alternate date/time proposed by the attendee for a meeting request to start and end. If the attendee hasn't proposed another time, then this property is not included in a response of a GET event. +// SetProposedNewTime sets the proposedNewTime property value. An alternate date/time proposed by the attendee for a meeting request to start and end. If the attendee hasn't proposed another time, then this property isn't included in a response of a GET event. func (m *Attendee) SetProposedNewTime(value TimeSlotable)() { err := m.GetBackingStore().Set("proposedNewTime", value) if err != nil { diff --git a/models/attendee_type.go b/models/attendee_type.go index e5c8be955f4..47aa79adc7f 100644 --- a/models/attendee_type.go +++ b/models/attendee_type.go @@ -35,3 +35,6 @@ func SerializeAttendeeType(values []AttendeeType) []string { } return result } +func (i AttendeeType) isMultiValue() bool { + return false +} diff --git a/models/attestation_level.go b/models/attestation_level.go index 46c13c0641c..1d8e77cac96 100644 --- a/models/attestation_level.go +++ b/models/attestation_level.go @@ -35,3 +35,6 @@ func SerializeAttestationLevel(values []AttestationLevel) []string { } return result } +func (i AttestationLevel) isMultiValue() bool { + return false +} diff --git a/models/attribute_definition_metadata.go b/models/attribute_definition_metadata.go index d3ad482e31e..56e85614908 100644 --- a/models/attribute_definition_metadata.go +++ b/models/attribute_definition_metadata.go @@ -53,3 +53,6 @@ func SerializeAttributeDefinitionMetadata(values []AttributeDefinitionMetadata) } return result } +func (i AttributeDefinitionMetadata) isMultiValue() bool { + return false +} diff --git a/models/attribute_flow_behavior.go b/models/attribute_flow_behavior.go index 835c67e33eb..07bac5f62a1 100644 --- a/models/attribute_flow_behavior.go +++ b/models/attribute_flow_behavior.go @@ -32,3 +32,6 @@ func SerializeAttributeFlowBehavior(values []AttributeFlowBehavior) []string { } return result } +func (i AttributeFlowBehavior) isMultiValue() bool { + return false +} diff --git a/models/attribute_flow_type.go b/models/attribute_flow_type.go index b236a0542a4..2bccf407a4e 100644 --- a/models/attribute_flow_type.go +++ b/models/attribute_flow_type.go @@ -41,3 +41,6 @@ func SerializeAttributeFlowType(values []AttributeFlowType) []string { } return result } +func (i AttributeFlowType) isMultiValue() bool { + return false +} diff --git a/models/attribute_mapping_source.go b/models/attribute_mapping_source.go index 6399d5328fa..6553a5d8dc8 100644 --- a/models/attribute_mapping_source.go +++ b/models/attribute_mapping_source.go @@ -132,7 +132,7 @@ func (m *AttributeMappingSource) GetOdataType()(*string) { } return nil } -// GetParameters gets the parameters property value. If this object represents a function, lists function parameters. Parameters consist of attributeMappingSource objects themselves, allowing for complex expressions. If type is not Function, this property will be null/empty array. +// GetParameters gets the parameters property value. If this object represents a function, lists function parameters. Parameters consist of attributeMappingSource objects themselves, allowing for complex expressions. If type isn't Function, this property is null/empty array. func (m *AttributeMappingSource) GetParameters()([]StringKeyAttributeMappingSourceValuePairable) { val, err := m.GetBackingStore().Get("parameters") if err != nil { @@ -233,7 +233,7 @@ func (m *AttributeMappingSource) SetOdataType(value *string)() { panic(err) } } -// SetParameters sets the parameters property value. If this object represents a function, lists function parameters. Parameters consist of attributeMappingSource objects themselves, allowing for complex expressions. If type is not Function, this property will be null/empty array. +// SetParameters sets the parameters property value. If this object represents a function, lists function parameters. Parameters consist of attributeMappingSource objects themselves, allowing for complex expressions. If type isn't Function, this property is null/empty array. func (m *AttributeMappingSource) SetParameters(value []StringKeyAttributeMappingSourceValuePairable)() { err := m.GetBackingStore().Set("parameters", value) if err != nil { diff --git a/models/attribute_mapping_source_type.go b/models/attribute_mapping_source_type.go index 4824f9f20f9..7ba0ea30769 100644 --- a/models/attribute_mapping_source_type.go +++ b/models/attribute_mapping_source_type.go @@ -35,3 +35,6 @@ func SerializeAttributeMappingSourceType(values []AttributeMappingSourceType) [] } return result } +func (i AttributeMappingSourceType) isMultiValue() bool { + return false +} diff --git a/models/attribute_type.go b/models/attribute_type.go index b85aa9e7890..4b009b9de34 100644 --- a/models/attribute_type.go +++ b/models/attribute_type.go @@ -44,3 +44,6 @@ func SerializeAttributeType(values []AttributeType) []string { } return result } +func (i AttributeType) isMultiValue() bool { + return false +} diff --git a/models/authentication_app_admin_configuration.go b/models/authentication_app_admin_configuration.go index 2c2ba35c6e3..ed738fe9a75 100644 --- a/models/authentication_app_admin_configuration.go +++ b/models/authentication_app_admin_configuration.go @@ -38,3 +38,6 @@ func SerializeAuthenticationAppAdminConfiguration(values []AuthenticationAppAdmi } return result } +func (i AuthenticationAppAdminConfiguration) isMultiValue() bool { + return false +} diff --git a/models/authentication_app_evaluation.go b/models/authentication_app_evaluation.go index f7459d7d7af..a31b0017c2c 100644 --- a/models/authentication_app_evaluation.go +++ b/models/authentication_app_evaluation.go @@ -35,3 +35,6 @@ func SerializeAuthenticationAppEvaluation(values []AuthenticationAppEvaluation) } return result } +func (i AuthenticationAppEvaluation) isMultiValue() bool { + return false +} diff --git a/models/authentication_app_policy_status.go b/models/authentication_app_policy_status.go index 7bccebbc99b..6e05a179912 100644 --- a/models/authentication_app_policy_status.go +++ b/models/authentication_app_policy_status.go @@ -80,3 +80,6 @@ func SerializeAuthenticationAppPolicyStatus(values []AuthenticationAppPolicyStat } return result } +func (i AuthenticationAppPolicyStatus) isMultiValue() bool { + return false +} diff --git a/models/authentication_attribute_collection_input_type.go b/models/authentication_attribute_collection_input_type.go index f85c5f4b2d7..c8c0adf241c 100644 --- a/models/authentication_attribute_collection_input_type.go +++ b/models/authentication_attribute_collection_input_type.go @@ -41,3 +41,6 @@ func SerializeAuthenticationAttributeCollectionInputType(values []Authentication } return result } +func (i AuthenticationAttributeCollectionInputType) isMultiValue() bool { + return false +} diff --git a/models/authentication_context.go b/models/authentication_context.go index 0109d00beb6..f437588f6a4 100644 --- a/models/authentication_context.go +++ b/models/authentication_context.go @@ -84,7 +84,7 @@ func (m *AuthenticationContext) GetFieldDeserializers()(map[string]func(i878a80d } return res } -// GetId gets the id property value. The identifier of a authentication context in your tenant. +// GetId gets the id property value. The identifier of an authentication context in your tenant. func (m *AuthenticationContext) GetId()(*string) { val, err := m.GetBackingStore().Get("id") if err != nil { @@ -153,7 +153,7 @@ func (m *AuthenticationContext) SetDetail(value *AuthenticationContextDetail)() panic(err) } } -// SetId sets the id property value. The identifier of a authentication context in your tenant. +// SetId sets the id property value. The identifier of an authentication context in your tenant. func (m *AuthenticationContext) SetId(value *string)() { err := m.GetBackingStore().Set("id", value) if err != nil { diff --git a/models/authentication_context_class_reference.go b/models/authentication_context_class_reference.go index 12d86f99621..ff37a87bddc 100644 --- a/models/authentication_context_class_reference.go +++ b/models/authentication_context_class_reference.go @@ -76,7 +76,7 @@ func (m *AuthenticationContextClassReference) GetFieldDeserializers()(map[string } return res } -// GetIsAvailable gets the isAvailable property value. Indicates whether the authenticationContextClassReference has been published by the security admin and is ready for use by apps. When it is set to false, it should not be shown in selection UX used to tag resources with authentication context class values. It will still be shown in the Conditionall Access policy authoring experience. Supports $filter (eq). +// GetIsAvailable gets the isAvailable property value. Indicates whether the authenticationContextClassReference has been published by the security admin and is ready for use by apps. When it's set to false, it shouldn't be shown in selection UX used to tag resources with authentication context class values. It will still be shown in the Conditional Access policy authoring experience. Supports $filter (eq). func (m *AuthenticationContextClassReference) GetIsAvailable()(*bool) { val, err := m.GetBackingStore().Get("isAvailable") if err != nil { @@ -127,7 +127,7 @@ func (m *AuthenticationContextClassReference) SetDisplayName(value *string)() { panic(err) } } -// SetIsAvailable sets the isAvailable property value. Indicates whether the authenticationContextClassReference has been published by the security admin and is ready for use by apps. When it is set to false, it should not be shown in selection UX used to tag resources with authentication context class values. It will still be shown in the Conditionall Access policy authoring experience. Supports $filter (eq). +// SetIsAvailable sets the isAvailable property value. Indicates whether the authenticationContextClassReference has been published by the security admin and is ready for use by apps. When it's set to false, it shouldn't be shown in selection UX used to tag resources with authentication context class values. It will still be shown in the Conditional Access policy authoring experience. Supports $filter (eq). func (m *AuthenticationContextClassReference) SetIsAvailable(value *bool)() { err := m.GetBackingStore().Set("isAvailable", value) if err != nil { diff --git a/models/authentication_context_detail.go b/models/authentication_context_detail.go index ca007cb8de6..ce5e0dd23fa 100644 --- a/models/authentication_context_detail.go +++ b/models/authentication_context_detail.go @@ -38,3 +38,6 @@ func SerializeAuthenticationContextDetail(values []AuthenticationContextDetail) } return result } +func (i AuthenticationContextDetail) isMultiValue() bool { + return false +} diff --git a/models/authentication_event_type.go b/models/authentication_event_type.go index 56add1d2882..e0ea1ae7f02 100644 --- a/models/authentication_event_type.go +++ b/models/authentication_event_type.go @@ -35,3 +35,6 @@ func SerializeAuthenticationEventType(values []AuthenticationEventType) []string } return result } +func (i AuthenticationEventType) isMultiValue() bool { + return false +} diff --git a/models/authentication_flows_policy.go b/models/authentication_flows_policy.go index c39d37676b5..7bf6861c46f 100644 --- a/models/authentication_flows_policy.go +++ b/models/authentication_flows_policy.go @@ -19,7 +19,7 @@ func NewAuthenticationFlowsPolicy()(*AuthenticationFlowsPolicy) { func CreateAuthenticationFlowsPolicyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewAuthenticationFlowsPolicy(), nil } -// GetDescription gets the description property value. Inherited property. A description of the policy. This property is not a key. Optional. Read-only. +// GetDescription gets the description property value. Inherited property. A description of the policy. This property isn't a key. Optional. Read-only. func (m *AuthenticationFlowsPolicy) GetDescription()(*string) { val, err := m.GetBackingStore().Get("description") if err != nil { @@ -30,7 +30,7 @@ func (m *AuthenticationFlowsPolicy) GetDescription()(*string) { } return nil } -// GetDisplayName gets the displayName property value. Inherited property. The human-readable name of the policy. This property is not a key. Optional. Read-only. +// GetDisplayName gets the displayName property value. Inherited property. The human-readable name of the policy. This property isn't a key. Optional. Read-only. func (m *AuthenticationFlowsPolicy) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") if err != nil { @@ -76,7 +76,7 @@ func (m *AuthenticationFlowsPolicy) GetFieldDeserializers()(map[string]func(i878 } return res } -// GetSelfServiceSignUp gets the selfServiceSignUp property value. Contains selfServiceSignUpAuthenticationFlowConfiguration settings that convey whether self-service sign-up is enabled or disabled. This property is not a key. Optional. Read-only. +// GetSelfServiceSignUp gets the selfServiceSignUp property value. Contains selfServiceSignUpAuthenticationFlowConfiguration settings that convey whether self-service sign-up is enabled or disabled. This property isn't a key. Optional. Read-only. func (m *AuthenticationFlowsPolicy) GetSelfServiceSignUp()(SelfServiceSignUpAuthenticationFlowConfigurationable) { val, err := m.GetBackingStore().Get("selfServiceSignUp") if err != nil { @@ -113,21 +113,21 @@ func (m *AuthenticationFlowsPolicy) Serialize(writer i878a80d2330e89d26896388a3f } return nil } -// SetDescription sets the description property value. Inherited property. A description of the policy. This property is not a key. Optional. Read-only. +// SetDescription sets the description property value. Inherited property. A description of the policy. This property isn't a key. Optional. Read-only. func (m *AuthenticationFlowsPolicy) SetDescription(value *string)() { err := m.GetBackingStore().Set("description", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. Inherited property. The human-readable name of the policy. This property is not a key. Optional. Read-only. +// SetDisplayName sets the displayName property value. Inherited property. The human-readable name of the policy. This property isn't a key. Optional. Read-only. func (m *AuthenticationFlowsPolicy) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetSelfServiceSignUp sets the selfServiceSignUp property value. Contains selfServiceSignUpAuthenticationFlowConfiguration settings that convey whether self-service sign-up is enabled or disabled. This property is not a key. Optional. Read-only. +// SetSelfServiceSignUp sets the selfServiceSignUp property value. Contains selfServiceSignUpAuthenticationFlowConfiguration settings that convey whether self-service sign-up is enabled or disabled. This property isn't a key. Optional. Read-only. func (m *AuthenticationFlowsPolicy) SetSelfServiceSignUp(value SelfServiceSignUpAuthenticationFlowConfigurationable)() { err := m.GetBackingStore().Set("selfServiceSignUp", value) if err != nil { diff --git a/models/authentication_method_feature.go b/models/authentication_method_feature.go index 8d708a5fb11..5e176ed15f3 100644 --- a/models/authentication_method_feature.go +++ b/models/authentication_method_feature.go @@ -44,3 +44,6 @@ func SerializeAuthenticationMethodFeature(values []AuthenticationMethodFeature) } return result } +func (i AuthenticationMethodFeature) isMultiValue() bool { + return false +} diff --git a/models/authentication_method_key_strength.go b/models/authentication_method_key_strength.go index 446dffd999b..d3be777be9f 100644 --- a/models/authentication_method_key_strength.go +++ b/models/authentication_method_key_strength.go @@ -35,3 +35,6 @@ func SerializeAuthenticationMethodKeyStrength(values []AuthenticationMethodKeySt } return result } +func (i AuthenticationMethodKeyStrength) isMultiValue() bool { + return false +} diff --git a/models/authentication_method_modes.go b/models/authentication_method_modes.go index 254fc384453..ceebe46c633 100644 --- a/models/authentication_method_modes.go +++ b/models/authentication_method_modes.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type AuthenticationMethodModes int @@ -26,47 +27,56 @@ const ( ) func (i AuthenticationMethodModes) String() string { - return []string{"password", "voice", "hardwareOath", "softwareOath", "sms", "fido2", "windowsHelloForBusiness", "microsoftAuthenticatorPush", "deviceBasedPush", "temporaryAccessPassOneTime", "temporaryAccessPassMultiUse", "email", "x509CertificateSingleFactor", "x509CertificateMultiFactor", "federatedSingleFactor", "federatedMultiFactor", "unknownFutureValue"}[i] + var values []string + for p := AuthenticationMethodModes(1); p <= UNKNOWNFUTUREVALUE_AUTHENTICATIONMETHODMODES; p <<= 1 { + if i&p == p { + values = append(values, []string{"password", "voice", "hardwareOath", "softwareOath", "sms", "fido2", "windowsHelloForBusiness", "microsoftAuthenticatorPush", "deviceBasedPush", "temporaryAccessPassOneTime", "temporaryAccessPassMultiUse", "email", "x509CertificateSingleFactor", "x509CertificateMultiFactor", "federatedSingleFactor", "federatedMultiFactor", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseAuthenticationMethodModes(v string) (any, error) { - result := PASSWORD_AUTHENTICATIONMETHODMODES - switch v { - case "password": - result = PASSWORD_AUTHENTICATIONMETHODMODES - case "voice": - result = VOICE_AUTHENTICATIONMETHODMODES - case "hardwareOath": - result = HARDWAREOATH_AUTHENTICATIONMETHODMODES - case "softwareOath": - result = SOFTWAREOATH_AUTHENTICATIONMETHODMODES - case "sms": - result = SMS_AUTHENTICATIONMETHODMODES - case "fido2": - result = FIDO2_AUTHENTICATIONMETHODMODES - case "windowsHelloForBusiness": - result = WINDOWSHELLOFORBUSINESS_AUTHENTICATIONMETHODMODES - case "microsoftAuthenticatorPush": - result = MICROSOFTAUTHENTICATORPUSH_AUTHENTICATIONMETHODMODES - case "deviceBasedPush": - result = DEVICEBASEDPUSH_AUTHENTICATIONMETHODMODES - case "temporaryAccessPassOneTime": - result = TEMPORARYACCESSPASSONETIME_AUTHENTICATIONMETHODMODES - case "temporaryAccessPassMultiUse": - result = TEMPORARYACCESSPASSMULTIUSE_AUTHENTICATIONMETHODMODES - case "email": - result = EMAIL_AUTHENTICATIONMETHODMODES - case "x509CertificateSingleFactor": - result = X509CERTIFICATESINGLEFACTOR_AUTHENTICATIONMETHODMODES - case "x509CertificateMultiFactor": - result = X509CERTIFICATEMULTIFACTOR_AUTHENTICATIONMETHODMODES - case "federatedSingleFactor": - result = FEDERATEDSINGLEFACTOR_AUTHENTICATIONMETHODMODES - case "federatedMultiFactor": - result = FEDERATEDMULTIFACTOR_AUTHENTICATIONMETHODMODES - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_AUTHENTICATIONMETHODMODES - default: - return 0, errors.New("Unknown AuthenticationMethodModes value: " + v) + var result AuthenticationMethodModes + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "password": + result |= PASSWORD_AUTHENTICATIONMETHODMODES + case "voice": + result |= VOICE_AUTHENTICATIONMETHODMODES + case "hardwareOath": + result |= HARDWAREOATH_AUTHENTICATIONMETHODMODES + case "softwareOath": + result |= SOFTWAREOATH_AUTHENTICATIONMETHODMODES + case "sms": + result |= SMS_AUTHENTICATIONMETHODMODES + case "fido2": + result |= FIDO2_AUTHENTICATIONMETHODMODES + case "windowsHelloForBusiness": + result |= WINDOWSHELLOFORBUSINESS_AUTHENTICATIONMETHODMODES + case "microsoftAuthenticatorPush": + result |= MICROSOFTAUTHENTICATORPUSH_AUTHENTICATIONMETHODMODES + case "deviceBasedPush": + result |= DEVICEBASEDPUSH_AUTHENTICATIONMETHODMODES + case "temporaryAccessPassOneTime": + result |= TEMPORARYACCESSPASSONETIME_AUTHENTICATIONMETHODMODES + case "temporaryAccessPassMultiUse": + result |= TEMPORARYACCESSPASSMULTIUSE_AUTHENTICATIONMETHODMODES + case "email": + result |= EMAIL_AUTHENTICATIONMETHODMODES + case "x509CertificateSingleFactor": + result |= X509CERTIFICATESINGLEFACTOR_AUTHENTICATIONMETHODMODES + case "x509CertificateMultiFactor": + result |= X509CERTIFICATEMULTIFACTOR_AUTHENTICATIONMETHODMODES + case "federatedSingleFactor": + result |= FEDERATEDSINGLEFACTOR_AUTHENTICATIONMETHODMODES + case "federatedMultiFactor": + result |= FEDERATEDMULTIFACTOR_AUTHENTICATIONMETHODMODES + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_AUTHENTICATIONMETHODMODES + default: + return 0, errors.New("Unknown AuthenticationMethodModes value: " + v) + } } return &result, nil } @@ -77,3 +87,6 @@ func SerializeAuthenticationMethodModes(values []AuthenticationMethodModes) []st } return result } +func (i AuthenticationMethodModes) isMultiValue() bool { + return true +} diff --git a/models/authentication_method_sign_in_state.go b/models/authentication_method_sign_in_state.go index 664554526ad..0a2b392d4e5 100644 --- a/models/authentication_method_sign_in_state.go +++ b/models/authentication_method_sign_in_state.go @@ -47,3 +47,6 @@ func SerializeAuthenticationMethodSignInState(values []AuthenticationMethodSignI } return result } +func (i AuthenticationMethodSignInState) isMultiValue() bool { + return false +} diff --git a/models/authentication_method_state.go b/models/authentication_method_state.go index 34bbbd61faa..28624771f8d 100644 --- a/models/authentication_method_state.go +++ b/models/authentication_method_state.go @@ -32,3 +32,6 @@ func SerializeAuthenticationMethodState(values []AuthenticationMethodState) []st } return result } +func (i AuthenticationMethodState) isMultiValue() bool { + return false +} diff --git a/models/authentication_method_target_type.go b/models/authentication_method_target_type.go index 72d337b8e03..63874862443 100644 --- a/models/authentication_method_target_type.go +++ b/models/authentication_method_target_type.go @@ -35,3 +35,6 @@ func SerializeAuthenticationMethodTargetType(values []AuthenticationMethodTarget } return result } +func (i AuthenticationMethodTargetType) isMultiValue() bool { + return false +} diff --git a/models/authentication_methods_policy_migration_state.go b/models/authentication_methods_policy_migration_state.go index 302ffd4d335..1670eed4661 100644 --- a/models/authentication_methods_policy_migration_state.go +++ b/models/authentication_methods_policy_migration_state.go @@ -38,3 +38,6 @@ func SerializeAuthenticationMethodsPolicyMigrationState(values []AuthenticationM } return result } +func (i AuthenticationMethodsPolicyMigrationState) isMultiValue() bool { + return false +} diff --git a/models/authentication_phone_type.go b/models/authentication_phone_type.go index 2606b8c6a94..244dfe73c05 100644 --- a/models/authentication_phone_type.go +++ b/models/authentication_phone_type.go @@ -38,3 +38,6 @@ func SerializeAuthenticationPhoneType(values []AuthenticationPhoneType) []string } return result } +func (i AuthenticationPhoneType) isMultiValue() bool { + return false +} diff --git a/models/authentication_protocol.go b/models/authentication_protocol.go index f1e8eb21c02..16741c07e6f 100644 --- a/models/authentication_protocol.go +++ b/models/authentication_protocol.go @@ -35,3 +35,6 @@ func SerializeAuthenticationProtocol(values []AuthenticationProtocol) []string { } return result } +func (i AuthenticationProtocol) isMultiValue() bool { + return false +} diff --git a/models/authentication_strength_policy_type.go b/models/authentication_strength_policy_type.go index 515b8f59510..4e18afc7dc1 100644 --- a/models/authentication_strength_policy_type.go +++ b/models/authentication_strength_policy_type.go @@ -35,3 +35,6 @@ func SerializeAuthenticationStrengthPolicyType(values []AuthenticationStrengthPo } return result } +func (i AuthenticationStrengthPolicyType) isMultiValue() bool { + return false +} diff --git a/models/authentication_strength_requirements.go b/models/authentication_strength_requirements.go index 6e6cbbe491e..7fc118bd929 100644 --- a/models/authentication_strength_requirements.go +++ b/models/authentication_strength_requirements.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type AuthenticationStrengthRequirements int @@ -12,19 +13,28 @@ const ( ) func (i AuthenticationStrengthRequirements) String() string { - return []string{"none", "mfa", "unknownFutureValue"}[i] + var values []string + for p := AuthenticationStrengthRequirements(1); p <= UNKNOWNFUTUREVALUE_AUTHENTICATIONSTRENGTHREQUIREMENTS; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "mfa", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseAuthenticationStrengthRequirements(v string) (any, error) { - result := NONE_AUTHENTICATIONSTRENGTHREQUIREMENTS - switch v { - case "none": - result = NONE_AUTHENTICATIONSTRENGTHREQUIREMENTS - case "mfa": - result = MFA_AUTHENTICATIONSTRENGTHREQUIREMENTS - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_AUTHENTICATIONSTRENGTHREQUIREMENTS - default: - return 0, errors.New("Unknown AuthenticationStrengthRequirements value: " + v) + var result AuthenticationStrengthRequirements + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_AUTHENTICATIONSTRENGTHREQUIREMENTS + case "mfa": + result |= MFA_AUTHENTICATIONSTRENGTHREQUIREMENTS + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_AUTHENTICATIONSTRENGTHREQUIREMENTS + default: + return 0, errors.New("Unknown AuthenticationStrengthRequirements value: " + v) + } } return &result, nil } @@ -35,3 +45,6 @@ func SerializeAuthenticationStrengthRequirements(values []AuthenticationStrength } return result } +func (i AuthenticationStrengthRequirements) isMultiValue() bool { + return true +} diff --git a/models/authentication_strength_result.go b/models/authentication_strength_result.go index cce5b242aea..7002a410f94 100644 --- a/models/authentication_strength_result.go +++ b/models/authentication_strength_result.go @@ -56,3 +56,6 @@ func SerializeAuthenticationStrengthResult(values []AuthenticationStrengthResult } return result } +func (i AuthenticationStrengthResult) isMultiValue() bool { + return false +} diff --git a/models/authentication_transform_constant.go b/models/authentication_transform_constant.go index 1f6b3db9c00..74c3e152df4 100644 --- a/models/authentication_transform_constant.go +++ b/models/authentication_transform_constant.go @@ -50,3 +50,6 @@ func SerializeAuthenticationTransformConstant(values []AuthenticationTransformCo } return result } +func (i AuthenticationTransformConstant) isMultiValue() bool { + return false +} diff --git a/models/authorization_policy.go b/models/authorization_policy.go index 2c186b763b6..bfad912ac85 100644 --- a/models/authorization_policy.go +++ b/models/authorization_policy.go @@ -77,7 +77,7 @@ func (m *AuthorizationPolicy) GetAllowUserConsentForRiskyApps()(*bool) { } return nil } -// GetBlockMsolPowerShell gets the blockMsolPowerShell property value. To disable the use of the MSOnline PowerShell module set this property to true. This will also disable user-based access to the legacy service endpoint used by the MSOnline PowerShell module. This does not affect Azure AD Connect or Microsoft Graph. +// GetBlockMsolPowerShell gets the blockMsolPowerShell property value. To disable the use of the MSOnline PowerShell module set this property to true. This will also disable user-based access to the legacy service endpoint used by the MSOnline PowerShell module. This doesn't affect Azure AD Connect or Microsoft Graph. func (m *AuthorizationPolicy) GetBlockMsolPowerShell()(*bool) { val, err := m.GetBackingStore().Get("blockMsolPowerShell") if err != nil { @@ -392,7 +392,7 @@ func (m *AuthorizationPolicy) SetAllowUserConsentForRiskyApps(value *bool)() { panic(err) } } -// SetBlockMsolPowerShell sets the blockMsolPowerShell property value. To disable the use of the MSOnline PowerShell module set this property to true. This will also disable user-based access to the legacy service endpoint used by the MSOnline PowerShell module. This does not affect Azure AD Connect or Microsoft Graph. +// SetBlockMsolPowerShell sets the blockMsolPowerShell property value. To disable the use of the MSOnline PowerShell module set this property to true. This will also disable user-based access to the legacy service endpoint used by the MSOnline PowerShell module. This doesn't affect Azure AD Connect or Microsoft Graph. func (m *AuthorizationPolicy) SetBlockMsolPowerShell(value *bool)() { err := m.GetBackingStore().Set("blockMsolPowerShell", value) if err != nil { diff --git a/models/auto_admitted_users_type.go b/models/auto_admitted_users_type.go index 75428068bdd..afc6a0aa926 100644 --- a/models/auto_admitted_users_type.go +++ b/models/auto_admitted_users_type.go @@ -32,3 +32,6 @@ func SerializeAutoAdmittedUsersType(values []AutoAdmittedUsersType) []string { } return result } +func (i AutoAdmittedUsersType) isMultiValue() bool { + return false +} diff --git a/models/auto_restart_notification_dismissal_method.go b/models/auto_restart_notification_dismissal_method.go index 5457015f2f0..239a687e9c0 100644 --- a/models/auto_restart_notification_dismissal_method.go +++ b/models/auto_restart_notification_dismissal_method.go @@ -42,3 +42,6 @@ func SerializeAutoRestartNotificationDismissalMethod(values []AutoRestartNotific } return result } +func (i AutoRestartNotificationDismissalMethod) isMultiValue() bool { + return false +} diff --git a/models/automatic_replies_status.go b/models/automatic_replies_status.go index 36549c5def1..c695debc889 100644 --- a/models/automatic_replies_status.go +++ b/models/automatic_replies_status.go @@ -35,3 +35,6 @@ func SerializeAutomaticRepliesStatus(values []AutomaticRepliesStatus) []string { } return result } +func (i AutomaticRepliesStatus) isMultiValue() bool { + return false +} diff --git a/models/automatic_update_mode.go b/models/automatic_update_mode.go index fa323af70e3..7e3f0f6c5f3 100644 --- a/models/automatic_update_mode.go +++ b/models/automatic_update_mode.go @@ -54,3 +54,6 @@ func SerializeAutomaticUpdateMode(values []AutomaticUpdateMode) []string { } return result } +func (i AutomaticUpdateMode) isMultiValue() bool { + return false +} diff --git a/models/azure_attestation_setting_status.go b/models/azure_attestation_setting_status.go new file mode 100644 index 00000000000..3042db3989e --- /dev/null +++ b/models/azure_attestation_setting_status.go @@ -0,0 +1,47 @@ +package models +import ( + "errors" +) +// A list of possible Azure Attestation states for a device. Azure Attestation setting status is determined by report sent from Microsoft Azure Attestation service. Only Windows 11 devices will have values "enabled" or "disabled". Windows 10 devices will have value "notApplicable". +type AzureAttestationSettingStatus int + +const ( + // Indicates that the device is not a Windows 11 device. + NOTAPPLICABLE_AZUREATTESTATIONSETTINGSTATUS AzureAttestationSettingStatus = iota + // Indicates that the device has the Azure attestation setting enabled. + ENABLED_AZUREATTESTATIONSETTINGSTATUS + // Indicates that the device has the Azure attestation setting disabled. + DISABLED_AZUREATTESTATIONSETTINGSTATUS + // Evolvable enumeration sentinel value. Do not use. + UNKNOWNFUTUREVALUE_AZUREATTESTATIONSETTINGSTATUS +) + +func (i AzureAttestationSettingStatus) String() string { + return []string{"notApplicable", "enabled", "disabled", "unknownFutureValue"}[i] +} +func ParseAzureAttestationSettingStatus(v string) (any, error) { + result := NOTAPPLICABLE_AZUREATTESTATIONSETTINGSTATUS + switch v { + case "notApplicable": + result = NOTAPPLICABLE_AZUREATTESTATIONSETTINGSTATUS + case "enabled": + result = ENABLED_AZUREATTESTATIONSETTINGSTATUS + case "disabled": + result = DISABLED_AZUREATTESTATIONSETTINGSTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_AZUREATTESTATIONSETTINGSTATUS + default: + return 0, errors.New("Unknown AzureAttestationSettingStatus value: " + v) + } + return &result, nil +} +func SerializeAzureAttestationSettingStatus(values []AzureAttestationSettingStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AzureAttestationSettingStatus) isMultiValue() bool { + return false +} diff --git a/models/b2b_identity_providers_type.go b/models/b2b_identity_providers_type.go new file mode 100644 index 00000000000..02d4261278a --- /dev/null +++ b/models/b2b_identity_providers_type.go @@ -0,0 +1,52 @@ +package models +import ( + "errors" +) +// +type B2bIdentityProvidersType int + +const ( + AZUREACTIVEDIRECTORY_B2BIDENTITYPROVIDERSTYPE B2bIdentityProvidersType = iota + EXTERNALFEDERATION_B2BIDENTITYPROVIDERSTYPE + SOCIALIDENTITYPROVIDERS_B2BIDENTITYPROVIDERSTYPE + EMAILONETIMEPASSCODE_B2BIDENTITYPROVIDERSTYPE + MICROSOFTACCOUNT_B2BIDENTITYPROVIDERSTYPE + DEFAULTCONFIGUREDIDP_B2BIDENTITYPROVIDERSTYPE + UNKNOWNFUTUREVALUE_B2BIDENTITYPROVIDERSTYPE +) + +func (i B2bIdentityProvidersType) String() string { + return []string{"azureActiveDirectory", "externalFederation", "socialIdentityProviders", "emailOneTimePasscode", "microsoftAccount", "defaultConfiguredIdp", "unknownFutureValue"}[i] +} +func ParseB2bIdentityProvidersType(v string) (any, error) { + result := AZUREACTIVEDIRECTORY_B2BIDENTITYPROVIDERSTYPE + switch v { + case "azureActiveDirectory": + result = AZUREACTIVEDIRECTORY_B2BIDENTITYPROVIDERSTYPE + case "externalFederation": + result = EXTERNALFEDERATION_B2BIDENTITYPROVIDERSTYPE + case "socialIdentityProviders": + result = SOCIALIDENTITYPROVIDERS_B2BIDENTITYPROVIDERSTYPE + case "emailOneTimePasscode": + result = EMAILONETIMEPASSCODE_B2BIDENTITYPROVIDERSTYPE + case "microsoftAccount": + result = MICROSOFTACCOUNT_B2BIDENTITYPROVIDERSTYPE + case "defaultConfiguredIdp": + result = DEFAULTCONFIGUREDIDP_B2BIDENTITYPROVIDERSTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_B2BIDENTITYPROVIDERSTYPE + default: + return 0, errors.New("Unknown B2bIdentityProvidersType value: " + v) + } + return &result, nil +} +func SerializeB2bIdentityProvidersType(values []B2bIdentityProvidersType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i B2bIdentityProvidersType) isMultiValue() bool { + return false +} diff --git a/models/b2x_identity_user_flow.go b/models/b2x_identity_user_flow.go index f9edd67de9b..094d5f32dea 100644 --- a/models/b2x_identity_user_flow.go +++ b/models/b2x_identity_user_flow.go @@ -19,7 +19,7 @@ func NewB2xIdentityUserFlow()(*B2xIdentityUserFlow) { func CreateB2xIdentityUserFlowFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewB2xIdentityUserFlow(), nil } -// GetApiConnectorConfiguration gets the apiConnectorConfiguration property value. Configuration for enabling an API connector for use as part of the self-service sign up user flow. You can only obtain the value of this object using Get userFlowApiConnectorConfiguration. +// GetApiConnectorConfiguration gets the apiConnectorConfiguration property value. Configuration for enabling an API connector for use as part of the self-service sign-up user flow. You can only obtain the value of this object using Get userFlowApiConnectorConfiguration. func (m *B2xIdentityUserFlow) GetApiConnectorConfiguration()(UserFlowApiConnectorConfigurationable) { val, err := m.GetBackingStore().Get("apiConnectorConfiguration") if err != nil { @@ -120,7 +120,7 @@ func (m *B2xIdentityUserFlow) GetIdentityProviders()([]IdentityProviderable) { } return nil } -// GetLanguages gets the languages property value. The languages supported for customization within the user flow. Language customization is enabled by default in self-service sign up user flow. You cannot create custom languages in self-service sign up user flows. +// GetLanguages gets the languages property value. The languages supported for customization within the user flow. Language customization is enabled by default in self-service sign-up user flow. You can't create custom languages in self-service sign-up user flows. func (m *B2xIdentityUserFlow) GetLanguages()([]UserFlowLanguageConfigurationable) { val, err := m.GetBackingStore().Get("languages") if err != nil { @@ -215,7 +215,7 @@ func (m *B2xIdentityUserFlow) Serialize(writer i878a80d2330e89d26896388a3f487eef } return nil } -// SetApiConnectorConfiguration sets the apiConnectorConfiguration property value. Configuration for enabling an API connector for use as part of the self-service sign up user flow. You can only obtain the value of this object using Get userFlowApiConnectorConfiguration. +// SetApiConnectorConfiguration sets the apiConnectorConfiguration property value. Configuration for enabling an API connector for use as part of the self-service sign-up user flow. You can only obtain the value of this object using Get userFlowApiConnectorConfiguration. func (m *B2xIdentityUserFlow) SetApiConnectorConfiguration(value UserFlowApiConnectorConfigurationable)() { err := m.GetBackingStore().Set("apiConnectorConfiguration", value) if err != nil { @@ -229,7 +229,7 @@ func (m *B2xIdentityUserFlow) SetIdentityProviders(value []IdentityProviderable) panic(err) } } -// SetLanguages sets the languages property value. The languages supported for customization within the user flow. Language customization is enabled by default in self-service sign up user flow. You cannot create custom languages in self-service sign up user flows. +// SetLanguages sets the languages property value. The languages supported for customization within the user flow. Language customization is enabled by default in self-service sign-up user flow. You can't create custom languages in self-service sign-up user flows. func (m *B2xIdentityUserFlow) SetLanguages(value []UserFlowLanguageConfigurationable)() { err := m.GetBackingStore().Set("languages", value) if err != nil { diff --git a/models/base_authentication_method.go b/models/base_authentication_method.go index 2b44ff40ae1..1325842a723 100644 --- a/models/base_authentication_method.go +++ b/models/base_authentication_method.go @@ -65,3 +65,6 @@ func SerializeBaseAuthenticationMethod(values []BaseAuthenticationMethod) []stri } return result } +func (i BaseAuthenticationMethod) isMultiValue() bool { + return false +} diff --git a/models/basic_authentication.go b/models/basic_authentication.go index 83d7358da42..ca8e7e13286 100644 --- a/models/basic_authentication.go +++ b/models/basic_authentication.go @@ -46,7 +46,7 @@ func (m *BasicAuthentication) GetFieldDeserializers()(map[string]func(i878a80d23 } return res } -// GetPassword gets the password property value. The password. It is not returned in the responses. +// GetPassword gets the password property value. The password. It isn't returned in the responses. func (m *BasicAuthentication) GetPassword()(*string) { val, err := m.GetBackingStore().Get("password") if err != nil { @@ -88,7 +88,7 @@ func (m *BasicAuthentication) Serialize(writer i878a80d2330e89d26896388a3f487eef } return nil } -// SetPassword sets the password property value. The password. It is not returned in the responses. +// SetPassword sets the password property value. The password. It isn't returned in the responses. func (m *BasicAuthentication) SetPassword(value *string)() { err := m.GetBackingStore().Set("password", value) if err != nil { diff --git a/models/binary_operator.go b/models/binary_operator.go index e2c662630fc..520d77fb3b9 100644 --- a/models/binary_operator.go +++ b/models/binary_operator.go @@ -32,3 +32,6 @@ func SerializeBinaryOperator(values []BinaryOperator) []string { } return result } +func (i BinaryOperator) isMultiValue() bool { + return false +} diff --git a/models/bit_locker_encryption_method.go b/models/bit_locker_encryption_method.go index 32ab172437c..7a346e16b7a 100644 --- a/models/bit_locker_encryption_method.go +++ b/models/bit_locker_encryption_method.go @@ -42,3 +42,6 @@ func SerializeBitLockerEncryptionMethod(values []BitLockerEncryptionMethod) []st } return result } +func (i BitLockerEncryptionMethod) isMultiValue() bool { + return false +} diff --git a/models/bit_locker_recovery_information_type.go b/models/bit_locker_recovery_information_type.go index 9702e378c16..8bbc2468ddd 100644 --- a/models/bit_locker_recovery_information_type.go +++ b/models/bit_locker_recovery_information_type.go @@ -34,3 +34,6 @@ func SerializeBitLockerRecoveryInformationType(values []BitLockerRecoveryInforma } return result } +func (i BitLockerRecoveryInformationType) isMultiValue() bool { + return false +} diff --git a/models/bit_locker_recovery_password_rotation_type.go b/models/bit_locker_recovery_password_rotation_type.go index b187f91d501..f5c4e394acc 100644 --- a/models/bit_locker_recovery_password_rotation_type.go +++ b/models/bit_locker_recovery_password_rotation_type.go @@ -42,3 +42,6 @@ func SerializeBitLockerRecoveryPasswordRotationType(values []BitLockerRecoveryPa } return result } +func (i BitLockerRecoveryPasswordRotationType) isMultiValue() bool { + return false +} diff --git a/models/body_type.go b/models/body_type.go index b946e6b5c0b..b7caa538031 100644 --- a/models/body_type.go +++ b/models/body_type.go @@ -32,3 +32,6 @@ func SerializeBodyType(values []BodyType) []string { } return result } +func (i BodyType) isMultiValue() bool { + return false +} diff --git a/models/booking_invoice_status.go b/models/booking_invoice_status.go index d682bce81ff..8343d0be82d 100644 --- a/models/booking_invoice_status.go +++ b/models/booking_invoice_status.go @@ -44,3 +44,6 @@ func SerializeBookingInvoiceStatus(values []BookingInvoiceStatus) []string { } return result } +func (i BookingInvoiceStatus) isMultiValue() bool { + return false +} diff --git a/models/booking_price_type.go b/models/booking_price_type.go index 7c15001169e..cd276df8da1 100644 --- a/models/booking_price_type.go +++ b/models/booking_price_type.go @@ -58,3 +58,6 @@ func SerializeBookingPriceType(values []BookingPriceType) []string { } return result } +func (i BookingPriceType) isMultiValue() bool { + return false +} diff --git a/models/booking_reminder_recipients.go b/models/booking_reminder_recipients.go index 012e06dbe7e..577a67773d7 100644 --- a/models/booking_reminder_recipients.go +++ b/models/booking_reminder_recipients.go @@ -35,3 +35,6 @@ func SerializeBookingReminderRecipients(values []BookingReminderRecipients) []st } return result } +func (i BookingReminderRecipients) isMultiValue() bool { + return false +} diff --git a/models/booking_staff_membership_status.go b/models/booking_staff_membership_status.go index 6e3bd71131f..7b09d6dd609 100644 --- a/models/booking_staff_membership_status.go +++ b/models/booking_staff_membership_status.go @@ -38,3 +38,6 @@ func SerializeBookingStaffMembershipStatus(values []BookingStaffMembershipStatus } return result } +func (i BookingStaffMembershipStatus) isMultiValue() bool { + return false +} diff --git a/models/booking_staff_role.go b/models/booking_staff_role.go index 632d3373e88..150c5e52109 100644 --- a/models/booking_staff_role.go +++ b/models/booking_staff_role.go @@ -47,3 +47,6 @@ func SerializeBookingStaffRole(values []BookingStaffRole) []string { } return result } +func (i BookingStaffRole) isMultiValue() bool { + return false +} diff --git a/models/booking_type.go b/models/booking_type.go index 24f5bd7733e..9ba6d534802 100644 --- a/models/booking_type.go +++ b/models/booking_type.go @@ -35,3 +35,6 @@ func SerializeBookingType(values []BookingType) []string { } return result } +func (i BookingType) isMultiValue() bool { + return false +} diff --git a/models/bookings_availability_status.go b/models/bookings_availability_status.go index 82ed23e427b..062ff679062 100644 --- a/models/bookings_availability_status.go +++ b/models/bookings_availability_status.go @@ -41,3 +41,6 @@ func SerializeBookingsAvailabilityStatus(values []BookingsAvailabilityStatus) [] } return result } +func (i BookingsAvailabilityStatus) isMultiValue() bool { + return false +} diff --git a/models/broadcast_meeting_audience.go b/models/broadcast_meeting_audience.go index c3579a3a071..93406783085 100644 --- a/models/broadcast_meeting_audience.go +++ b/models/broadcast_meeting_audience.go @@ -38,3 +38,6 @@ func SerializeBroadcastMeetingAudience(values []BroadcastMeetingAudience) []stri } return result } +func (i BroadcastMeetingAudience) isMultiValue() bool { + return false +} diff --git a/models/browser_shared_cookie_source_environment.go b/models/browser_shared_cookie_source_environment.go index 4d4e1554f75..d47a0866816 100644 --- a/models/browser_shared_cookie_source_environment.go +++ b/models/browser_shared_cookie_source_environment.go @@ -42,3 +42,6 @@ func SerializeBrowserSharedCookieSourceEnvironment(values []BrowserSharedCookieS } return result } +func (i BrowserSharedCookieSourceEnvironment) isMultiValue() bool { + return false +} diff --git a/models/browser_shared_cookie_status.go b/models/browser_shared_cookie_status.go index db57d07ea85..82ecbc485c8 100644 --- a/models/browser_shared_cookie_status.go +++ b/models/browser_shared_cookie_status.go @@ -46,3 +46,6 @@ func SerializeBrowserSharedCookieStatus(values []BrowserSharedCookieStatus) []st } return result } +func (i BrowserSharedCookieStatus) isMultiValue() bool { + return false +} diff --git a/models/browser_site_compatibility_mode.go b/models/browser_site_compatibility_mode.go index 66327f3beea..7aa7f0bc38e 100644 --- a/models/browser_site_compatibility_mode.go +++ b/models/browser_site_compatibility_mode.go @@ -66,3 +66,6 @@ func SerializeBrowserSiteCompatibilityMode(values []BrowserSiteCompatibilityMode } return result } +func (i BrowserSiteCompatibilityMode) isMultiValue() bool { + return false +} diff --git a/models/browser_site_list_status.go b/models/browser_site_list_status.go index f33a85cbfce..76f9f478f9b 100644 --- a/models/browser_site_list_status.go +++ b/models/browser_site_list_status.go @@ -42,3 +42,6 @@ func SerializeBrowserSiteListStatus(values []BrowserSiteListStatus) []string { } return result } +func (i BrowserSiteListStatus) isMultiValue() bool { + return false +} diff --git a/models/browser_site_merge_type.go b/models/browser_site_merge_type.go index 3a3c9e2104e..ace6a39d040 100644 --- a/models/browser_site_merge_type.go +++ b/models/browser_site_merge_type.go @@ -38,3 +38,6 @@ func SerializeBrowserSiteMergeType(values []BrowserSiteMergeType) []string { } return result } +func (i BrowserSiteMergeType) isMultiValue() bool { + return false +} diff --git a/models/browser_site_status.go b/models/browser_site_status.go index c5416e3496a..eec21a18eb1 100644 --- a/models/browser_site_status.go +++ b/models/browser_site_status.go @@ -46,3 +46,6 @@ func SerializeBrowserSiteStatus(values []BrowserSiteStatus) []string { } return result } +func (i BrowserSiteStatus) isMultiValue() bool { + return false +} diff --git a/models/browser_site_target_environment.go b/models/browser_site_target_environment.go index aaae0209895..2ee8c930665 100644 --- a/models/browser_site_target_environment.go +++ b/models/browser_site_target_environment.go @@ -50,3 +50,6 @@ func SerializeBrowserSiteTargetEnvironment(values []BrowserSiteTargetEnvironment } return result } +func (i BrowserSiteTargetEnvironment) isMultiValue() bool { + return false +} diff --git a/models/browser_sync_setting.go b/models/browser_sync_setting.go index 22adfa51f7a..c5f02c02d99 100644 --- a/models/browser_sync_setting.go +++ b/models/browser_sync_setting.go @@ -38,3 +38,6 @@ func SerializeBrowserSyncSetting(values []BrowserSyncSetting) []string { } return result } +func (i BrowserSyncSetting) isMultiValue() bool { + return false +} diff --git a/models/bucket_aggregation_definition.go b/models/bucket_aggregation_definition.go index 78a80f1846b..9c02d91eb42 100644 --- a/models/bucket_aggregation_definition.go +++ b/models/bucket_aggregation_definition.go @@ -153,7 +153,7 @@ func (m *BucketAggregationDefinition) GetPrefixFilter()(*string) { } return nil } -// GetRanges gets the ranges property value. Specifies the manual ranges to compute the aggregations. This is only valid for non-string refiners of date or numeric type. Optional. +// GetRanges gets the ranges property value. Specifies the manual ranges to compute the aggregations. This is only valid for nonstring refiners of date or numeric type. Optional. func (m *BucketAggregationDefinition) GetRanges()([]BucketAggregationRangeable) { val, err := m.GetBackingStore().Get("ranges") if err != nil { @@ -267,7 +267,7 @@ func (m *BucketAggregationDefinition) SetPrefixFilter(value *string)() { panic(err) } } -// SetRanges sets the ranges property value. Specifies the manual ranges to compute the aggregations. This is only valid for non-string refiners of date or numeric type. Optional. +// SetRanges sets the ranges property value. Specifies the manual ranges to compute the aggregations. This is only valid for nonstring refiners of date or numeric type. Optional. func (m *BucketAggregationDefinition) SetRanges(value []BucketAggregationRangeable)() { err := m.GetBackingStore().Set("ranges", value) if err != nil { diff --git a/models/bucket_aggregation_sort_property.go b/models/bucket_aggregation_sort_property.go index 5c12e1bbb21..c7830c25e97 100644 --- a/models/bucket_aggregation_sort_property.go +++ b/models/bucket_aggregation_sort_property.go @@ -38,3 +38,6 @@ func SerializeBucketAggregationSortProperty(values []BucketAggregationSortProper } return result } +func (i BucketAggregationSortProperty) isMultiValue() bool { + return false +} diff --git a/models/calendar_color.go b/models/calendar_color.go index 29c4ec97747..ccc917c0188 100644 --- a/models/calendar_color.go +++ b/models/calendar_color.go @@ -59,3 +59,6 @@ func SerializeCalendarColor(values []CalendarColor) []string { } return result } +func (i CalendarColor) isMultiValue() bool { + return false +} diff --git a/models/calendar_permission.go b/models/calendar_permission.go index dc20c027636..2ddbeaf6c77 100644 --- a/models/calendar_permission.go +++ b/models/calendar_permission.go @@ -30,7 +30,7 @@ func (m *CalendarPermission) GetAllowedRoles()([]CalendarRoleType) { } return nil } -// GetEmailAddress gets the emailAddress property value. Represents a sharee or delegate who has access to the calendar. For the 'My Organization' sharee, the address property is null. Read-only. +// GetEmailAddress gets the emailAddress property value. Represents a share recipient or delegate who has access to the calendar. For the 'My Organization' share recipient, the address property is null. Read-only. func (m *CalendarPermission) GetEmailAddress()(EmailAddressable) { val, err := m.GetBackingStore().Get("emailAddress") if err != nil { @@ -102,7 +102,7 @@ func (m *CalendarPermission) GetFieldDeserializers()(map[string]func(i878a80d233 } return res } -// GetIsInsideOrganization gets the isInsideOrganization property value. True if the user in context (sharee or delegate) is inside the same organization as the calendar owner. +// GetIsInsideOrganization gets the isInsideOrganization property value. True if the user in context (share recipient or delegate) is inside the same organization as the calendar owner. func (m *CalendarPermission) GetIsInsideOrganization()(*bool) { val, err := m.GetBackingStore().Get("isInsideOrganization") if err != nil { @@ -113,7 +113,7 @@ func (m *CalendarPermission) GetIsInsideOrganization()(*bool) { } return nil } -// GetIsRemovable gets the isRemovable property value. True if the user can be removed from the list of sharees or delegates for the specified calendar, false otherwise. The 'My organization' user determines the permissions other people within your organization have to the given calendar. You cannot remove 'My organization' as a sharee to a calendar. +// GetIsRemovable gets the isRemovable property value. True if the user can be removed from the list of recipients or delegates for the specified calendar, false otherwise. The 'My organization' user determines the permissions other people within your organization have to the given calendar. You can't remove 'My organization' as a recipient to a calendar. func (m *CalendarPermission) GetIsRemovable()(*bool) { val, err := m.GetBackingStore().Get("isRemovable") if err != nil { @@ -124,7 +124,7 @@ func (m *CalendarPermission) GetIsRemovable()(*bool) { } return nil } -// GetRole gets the role property value. Current permission level of the calendar sharee or delegate. +// GetRole gets the role property value. Current permission level of the calendar share recipient or delegate. func (m *CalendarPermission) GetRole()(*CalendarRoleType) { val, err := m.GetBackingStore().Get("role") if err != nil { @@ -181,28 +181,28 @@ func (m *CalendarPermission) SetAllowedRoles(value []CalendarRoleType)() { panic(err) } } -// SetEmailAddress sets the emailAddress property value. Represents a sharee or delegate who has access to the calendar. For the 'My Organization' sharee, the address property is null. Read-only. +// SetEmailAddress sets the emailAddress property value. Represents a share recipient or delegate who has access to the calendar. For the 'My Organization' share recipient, the address property is null. Read-only. func (m *CalendarPermission) SetEmailAddress(value EmailAddressable)() { err := m.GetBackingStore().Set("emailAddress", value) if err != nil { panic(err) } } -// SetIsInsideOrganization sets the isInsideOrganization property value. True if the user in context (sharee or delegate) is inside the same organization as the calendar owner. +// SetIsInsideOrganization sets the isInsideOrganization property value. True if the user in context (share recipient or delegate) is inside the same organization as the calendar owner. func (m *CalendarPermission) SetIsInsideOrganization(value *bool)() { err := m.GetBackingStore().Set("isInsideOrganization", value) if err != nil { panic(err) } } -// SetIsRemovable sets the isRemovable property value. True if the user can be removed from the list of sharees or delegates for the specified calendar, false otherwise. The 'My organization' user determines the permissions other people within your organization have to the given calendar. You cannot remove 'My organization' as a sharee to a calendar. +// SetIsRemovable sets the isRemovable property value. True if the user can be removed from the list of recipients or delegates for the specified calendar, false otherwise. The 'My organization' user determines the permissions other people within your organization have to the given calendar. You can't remove 'My organization' as a recipient to a calendar. func (m *CalendarPermission) SetIsRemovable(value *bool)() { err := m.GetBackingStore().Set("isRemovable", value) if err != nil { panic(err) } } -// SetRole sets the role property value. Current permission level of the calendar sharee or delegate. +// SetRole sets the role property value. Current permission level of the calendar share recipient or delegate. func (m *CalendarPermission) SetRole(value *CalendarRoleType)() { err := m.GetBackingStore().Set("role", value) if err != nil { diff --git a/models/calendar_role_type.go b/models/calendar_role_type.go index 531df2ec254..6f267e595db 100644 --- a/models/calendar_role_type.go +++ b/models/calendar_role_type.go @@ -50,3 +50,6 @@ func SerializeCalendarRoleType(values []CalendarRoleType) []string { } return result } +func (i CalendarRoleType) isMultiValue() bool { + return false +} diff --git a/models/calendar_sharing_action.go b/models/calendar_sharing_action.go index 7fd21e688e5..038332bff7e 100644 --- a/models/calendar_sharing_action.go +++ b/models/calendar_sharing_action.go @@ -38,3 +38,6 @@ func SerializeCalendarSharingAction(values []CalendarSharingAction) []string { } return result } +func (i CalendarSharingAction) isMultiValue() bool { + return false +} diff --git a/models/calendar_sharing_action_importance.go b/models/calendar_sharing_action_importance.go index 4ff1a0b151d..a18ce35e9a7 100644 --- a/models/calendar_sharing_action_importance.go +++ b/models/calendar_sharing_action_importance.go @@ -32,3 +32,6 @@ func SerializeCalendarSharingActionImportance(values []CalendarSharingActionImpo } return result } +func (i CalendarSharingActionImportance) isMultiValue() bool { + return false +} diff --git a/models/calendar_sharing_action_type.go b/models/calendar_sharing_action_type.go index 837e250e4a0..21fb9eb8252 100644 --- a/models/calendar_sharing_action_type.go +++ b/models/calendar_sharing_action_type.go @@ -29,3 +29,6 @@ func SerializeCalendarSharingActionType(values []CalendarSharingActionType) []st } return result } +func (i CalendarSharingActionType) isMultiValue() bool { + return false +} diff --git a/models/call_direction.go b/models/call_direction.go index dd2305d920a..25f31476544 100644 --- a/models/call_direction.go +++ b/models/call_direction.go @@ -32,3 +32,6 @@ func SerializeCallDirection(values []CallDirection) []string { } return result } +func (i CallDirection) isMultiValue() bool { + return false +} diff --git a/models/call_disposition.go b/models/call_disposition.go index 8593f0c74fc..b7c88b5cfde 100644 --- a/models/call_disposition.go +++ b/models/call_disposition.go @@ -35,3 +35,6 @@ func SerializeCallDisposition(values []CallDisposition) []string { } return result } +func (i CallDisposition) isMultiValue() bool { + return false +} diff --git a/models/call_recording.go b/models/call_recording.go index 66810282894..a5e23859e12 100644 --- a/models/call_recording.go +++ b/models/call_recording.go @@ -75,6 +75,16 @@ func (m *CallRecording) GetFieldDeserializers()(map[string]func(i878a80d2330e89d } return nil } + res["meetingOrganizer"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateIdentitySetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetMeetingOrganizer(val.(IdentitySetable)) + } + return nil + } res["meetingOrganizerId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -108,6 +118,17 @@ func (m *CallRecording) GetMeetingId()(*string) { } return nil } +// GetMeetingOrganizer gets the meetingOrganizer property value. The meetingOrganizer property +func (m *CallRecording) GetMeetingOrganizer()(IdentitySetable) { + val, err := m.GetBackingStore().Get("meetingOrganizer") + if err != nil { + panic(err) + } + if val != nil { + return val.(IdentitySetable) + } + return nil +} // GetMeetingOrganizerId gets the meetingOrganizerId property value. The unique identifier of the organizer of the onlineMeeting related to this recording. Read-only. func (m *CallRecording) GetMeetingOrganizerId()(*string) { val, err := m.GetBackingStore().Get("meetingOrganizerId") @@ -154,6 +175,12 @@ func (m *CallRecording) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0 return err } } + { + err = writer.WriteObjectValue("meetingOrganizer", m.GetMeetingOrganizer()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("meetingOrganizerId", m.GetMeetingOrganizerId()) if err != nil { @@ -189,6 +216,13 @@ func (m *CallRecording) SetMeetingId(value *string)() { panic(err) } } +// SetMeetingOrganizer sets the meetingOrganizer property value. The meetingOrganizer property +func (m *CallRecording) SetMeetingOrganizer(value IdentitySetable)() { + err := m.GetBackingStore().Set("meetingOrganizer", value) + if err != nil { + panic(err) + } +} // SetMeetingOrganizerId sets the meetingOrganizerId property value. The unique identifier of the organizer of the onlineMeeting related to this recording. Read-only. func (m *CallRecording) SetMeetingOrganizerId(value *string)() { err := m.GetBackingStore().Set("meetingOrganizerId", value) @@ -210,11 +244,13 @@ type CallRecordingable interface { GetContent()([]byte) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetMeetingId()(*string) + GetMeetingOrganizer()(IdentitySetable) GetMeetingOrganizerId()(*string) GetRecordingContentUrl()(*string) SetContent(value []byte)() SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetMeetingId(value *string)() + SetMeetingOrganizer(value IdentitySetable)() SetMeetingOrganizerId(value *string)() SetRecordingContentUrl(value *string)() } diff --git a/models/call_recording_status.go b/models/call_recording_status.go index d6ab1dbdba3..7049144f68f 100644 --- a/models/call_recording_status.go +++ b/models/call_recording_status.go @@ -41,3 +41,6 @@ func SerializeCallRecordingStatus(values []CallRecordingStatus) []string { } return result } +func (i CallRecordingStatus) isMultiValue() bool { + return false +} diff --git a/models/call_state.go b/models/call_state.go index 7a6089f22bd..e95ce28af1b 100644 --- a/models/call_state.go +++ b/models/call_state.go @@ -59,3 +59,6 @@ func SerializeCallState(values []CallState) []string { } return result } +func (i CallState) isMultiValue() bool { + return false +} diff --git a/models/call_transcript.go b/models/call_transcript.go index f4802880150..06f183e84ff 100644 --- a/models/call_transcript.go +++ b/models/call_transcript.go @@ -75,6 +75,16 @@ func (m *CallTranscript) GetFieldDeserializers()(map[string]func(i878a80d2330e89 } return nil } + res["meetingOrganizer"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateIdentitySetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetMeetingOrganizer(val.(IdentitySetable)) + } + return nil + } res["meetingOrganizerId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -118,6 +128,17 @@ func (m *CallTranscript) GetMeetingId()(*string) { } return nil } +// GetMeetingOrganizer gets the meetingOrganizer property value. The meetingOrganizer property +func (m *CallTranscript) GetMeetingOrganizer()(IdentitySetable) { + val, err := m.GetBackingStore().Get("meetingOrganizer") + if err != nil { + panic(err) + } + if val != nil { + return val.(IdentitySetable) + } + return nil +} // GetMeetingOrganizerId gets the meetingOrganizerId property value. The unique identifier of the organizer of the onlineMeeting related to this transcript. Read-only. func (m *CallTranscript) GetMeetingOrganizerId()(*string) { val, err := m.GetBackingStore().Get("meetingOrganizerId") @@ -175,6 +196,12 @@ func (m *CallTranscript) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a return err } } + { + err = writer.WriteObjectValue("meetingOrganizer", m.GetMeetingOrganizer()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("meetingOrganizerId", m.GetMeetingOrganizerId()) if err != nil { @@ -216,6 +243,13 @@ func (m *CallTranscript) SetMeetingId(value *string)() { panic(err) } } +// SetMeetingOrganizer sets the meetingOrganizer property value. The meetingOrganizer property +func (m *CallTranscript) SetMeetingOrganizer(value IdentitySetable)() { + err := m.GetBackingStore().Set("meetingOrganizer", value) + if err != nil { + panic(err) + } +} // SetMeetingOrganizerId sets the meetingOrganizerId property value. The unique identifier of the organizer of the onlineMeeting related to this transcript. Read-only. func (m *CallTranscript) SetMeetingOrganizerId(value *string)() { err := m.GetBackingStore().Set("meetingOrganizerId", value) @@ -244,12 +278,14 @@ type CallTranscriptable interface { GetContent()([]byte) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetMeetingId()(*string) + GetMeetingOrganizer()(IdentitySetable) GetMeetingOrganizerId()(*string) GetMetadataContent()([]byte) GetTranscriptContentUrl()(*string) SetContent(value []byte)() SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetMeetingId(value *string)() + SetMeetingOrganizer(value IdentitySetable)() SetMeetingOrganizerId(value *string)() SetMetadataContent(value []byte)() SetTranscriptContentUrl(value *string)() diff --git a/models/call_transcription_state.go b/models/call_transcription_state.go index 0e478cee647..688427506fc 100644 --- a/models/call_transcription_state.go +++ b/models/call_transcription_state.go @@ -38,3 +38,6 @@ func SerializeCallTranscriptionState(values []CallTranscriptionState) []string { } return result } +func (i CallTranscriptionState) isMultiValue() bool { + return false +} diff --git a/models/callrecords/audio_codec.go b/models/callrecords/audio_codec.go index 5b07552c687..945d0d18036 100644 --- a/models/callrecords/audio_codec.go +++ b/models/callrecords/audio_codec.go @@ -95,3 +95,6 @@ func SerializeAudioCodec(values []AudioCodec) []string { } return result } +func (i AudioCodec) isMultiValue() bool { + return false +} diff --git a/models/callrecords/call_type.go b/models/callrecords/call_type.go index caa02443375..2db71f8d497 100644 --- a/models/callrecords/call_type.go +++ b/models/callrecords/call_type.go @@ -38,3 +38,6 @@ func SerializeCallType(values []CallType) []string { } return result } +func (i CallType) isMultiValue() bool { + return false +} diff --git a/models/callrecords/client_platform.go b/models/callrecords/client_platform.go index 1ae03528029..faef845b598 100644 --- a/models/callrecords/client_platform.go +++ b/models/callrecords/client_platform.go @@ -59,3 +59,6 @@ func SerializeClientPlatform(values []ClientPlatform) []string { } return result } +func (i ClientPlatform) isMultiValue() bool { + return false +} diff --git a/models/callrecords/direct_routing_log_row.go b/models/callrecords/direct_routing_log_row.go index 6efa8a3fd4c..157779c9a30 100644 --- a/models/callrecords/direct_routing_log_row.go +++ b/models/callrecords/direct_routing_log_row.go @@ -39,7 +39,7 @@ func (m *DirectRoutingLogRow) GetAdditionalData()(map[string]any) { func (m *DirectRoutingLogRow) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetCalleeNumber gets the calleeNumber property value. Number of the user or bot who received the call (E.164 format, but may include additional data). +// GetCalleeNumber gets the calleeNumber property value. Number of the user or bot who received the call (E.164 format, but may include more data). func (m *DirectRoutingLogRow) GetCalleeNumber()(*string) { val, err := m.GetBackingStore().Get("calleeNumber") if err != nil { @@ -61,7 +61,7 @@ func (m *DirectRoutingLogRow) GetCallEndSubReason()(*int32) { } return nil } -// GetCallerNumber gets the callerNumber property value. Number of the user or bot who made the call (E.164 format, but may include additional data). +// GetCallerNumber gets the callerNumber property value. Number of the user or bot who made the call (E.164 format, but may include more data). func (m *DirectRoutingLogRow) GetCallerNumber()(*string) { val, err := m.GetBackingStore().Get("callerNumber") if err != nil { @@ -405,7 +405,7 @@ func (m *DirectRoutingLogRow) GetId()(*string) { } return nil } -// GetInviteDateTime gets the inviteDateTime property value. When the initial invite was sent. +// GetInviteDateTime gets the inviteDateTime property value. The date and time when the initial invite was sent. func (m *DirectRoutingLogRow) GetInviteDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("inviteDateTime") if err != nil { @@ -449,7 +449,7 @@ func (m *DirectRoutingLogRow) GetOdataType()(*string) { } return nil } -// GetOtherPartyCountryCode gets the otherPartyCountryCode property value. Country code of the caller in case of an incoming call, or callee in case of an outgoing call. For details, see ISO 3166-1 alpha-2. +// GetOtherPartyCountryCode gets the otherPartyCountryCode property value. Country code of the caller for an incoming call, or callee for an outgoing call. For details, see ISO 3166-1 alpha-2. func (m *DirectRoutingLogRow) GetOtherPartyCountryCode()(*string) { val, err := m.GetBackingStore().Get("otherPartyCountryCode") if err != nil { @@ -526,7 +526,7 @@ func (m *DirectRoutingLogRow) GetUserDisplayName()(*string) { } return nil } -// GetUserId gets the userId property value. The unique identifier (GUID) of the user in Azure Active Directory. This and other user info will be null/empty for bot call types. +// GetUserId gets the userId property value. The unique identifier (GUID) of the user in Azure Active Directory. This and other user info is null/empty for bot call types. func (m *DirectRoutingLogRow) GetUserId()(*string) { val, err := m.GetBackingStore().Get("userId") if err != nil { @@ -537,7 +537,7 @@ func (m *DirectRoutingLogRow) GetUserId()(*string) { } return nil } -// GetUserPrincipalName gets the userPrincipalName property value. The user principal name (sign-in name) in Azure Active Directory. This is usually the same as the user's SIP address, and can be same as the user's e-mail address. +// GetUserPrincipalName gets the userPrincipalName property value. The user principal name (sign-in name) in Azure Active Directory, is usually the same as the user's SIP address, and can be same as the user's e-mail address. func (m *DirectRoutingLogRow) GetUserPrincipalName()(*string) { val, err := m.GetBackingStore().Get("userPrincipalName") if err != nil { @@ -713,7 +713,7 @@ func (m *DirectRoutingLogRow) SetAdditionalData(value map[string]any)() { func (m *DirectRoutingLogRow) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetCalleeNumber sets the calleeNumber property value. Number of the user or bot who received the call (E.164 format, but may include additional data). +// SetCalleeNumber sets the calleeNumber property value. Number of the user or bot who received the call (E.164 format, but may include more data). func (m *DirectRoutingLogRow) SetCalleeNumber(value *string)() { err := m.GetBackingStore().Set("calleeNumber", value) if err != nil { @@ -727,7 +727,7 @@ func (m *DirectRoutingLogRow) SetCallEndSubReason(value *int32)() { panic(err) } } -// SetCallerNumber sets the callerNumber property value. Number of the user or bot who made the call (E.164 format, but may include additional data). +// SetCallerNumber sets the callerNumber property value. Number of the user or bot who made the call (E.164 format, but may include more data). func (m *DirectRoutingLogRow) SetCallerNumber(value *string)() { err := m.GetBackingStore().Set("callerNumber", value) if err != nil { @@ -790,7 +790,7 @@ func (m *DirectRoutingLogRow) SetId(value *string)() { panic(err) } } -// SetInviteDateTime sets the inviteDateTime property value. When the initial invite was sent. +// SetInviteDateTime sets the inviteDateTime property value. The date and time when the initial invite was sent. func (m *DirectRoutingLogRow) SetInviteDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("inviteDateTime", value) if err != nil { @@ -818,7 +818,7 @@ func (m *DirectRoutingLogRow) SetOdataType(value *string)() { panic(err) } } -// SetOtherPartyCountryCode sets the otherPartyCountryCode property value. Country code of the caller in case of an incoming call, or callee in case of an outgoing call. For details, see ISO 3166-1 alpha-2. +// SetOtherPartyCountryCode sets the otherPartyCountryCode property value. Country code of the caller for an incoming call, or callee for an outgoing call. For details, see ISO 3166-1 alpha-2. func (m *DirectRoutingLogRow) SetOtherPartyCountryCode(value *string)() { err := m.GetBackingStore().Set("otherPartyCountryCode", value) if err != nil { @@ -867,14 +867,14 @@ func (m *DirectRoutingLogRow) SetUserDisplayName(value *string)() { panic(err) } } -// SetUserId sets the userId property value. The unique identifier (GUID) of the user in Azure Active Directory. This and other user info will be null/empty for bot call types. +// SetUserId sets the userId property value. The unique identifier (GUID) of the user in Azure Active Directory. This and other user info is null/empty for bot call types. func (m *DirectRoutingLogRow) SetUserId(value *string)() { err := m.GetBackingStore().Set("userId", value) if err != nil { panic(err) } } -// SetUserPrincipalName sets the userPrincipalName property value. The user principal name (sign-in name) in Azure Active Directory. This is usually the same as the user's SIP address, and can be same as the user's e-mail address. +// SetUserPrincipalName sets the userPrincipalName property value. The user principal name (sign-in name) in Azure Active Directory, is usually the same as the user's SIP address, and can be same as the user's e-mail address. func (m *DirectRoutingLogRow) SetUserPrincipalName(value *string)() { err := m.GetBackingStore().Set("userPrincipalName", value) if err != nil { diff --git a/models/callrecords/failure_stage.go b/models/callrecords/failure_stage.go index 66f17b9925f..b05393cb850 100644 --- a/models/callrecords/failure_stage.go +++ b/models/callrecords/failure_stage.go @@ -38,3 +38,6 @@ func SerializeFailureStage(values []FailureStage) []string { } return result } +func (i FailureStage) isMultiValue() bool { + return false +} diff --git a/models/callrecords/media_stream.go b/models/callrecords/media_stream.go index 9a9e5a588fb..a9b2c4e28b6 100644 --- a/models/callrecords/media_stream.go +++ b/models/callrecords/media_stream.go @@ -182,7 +182,7 @@ func (m *MediaStream) GetAverageVideoPacketLossRate()(*float32) { func (m *MediaStream) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetEndDateTime gets the endDateTime property value. UTC time when the stream ended. The DateTimeOffset 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 +// GetEndDateTime gets the endDateTime property value. UTC time when the stream ended. The DateTimeOffset 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. This field is only available for streams that use the SIP protocol. func (m *MediaStream) GetEndDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("endDateTime") if err != nil { @@ -640,7 +640,7 @@ func (m *MediaStream) GetRmsFreezeDuration()(*i878a80d2330e89d26896388a3f487eef2 } return nil } -// GetStartDateTime gets the startDateTime property value. UTC time when the stream started. The DateTimeOffset 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 +// GetStartDateTime gets the startDateTime property value. UTC time when the stream started. The DateTimeOffset 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. This field is only available for streams that use the SIP protocol. func (m *MediaStream) GetStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("startDateTime") if err != nil { @@ -996,7 +996,7 @@ func (m *MediaStream) SetAverageVideoPacketLossRate(value *float32)() { func (m *MediaStream) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetEndDateTime sets the endDateTime property value. UTC time when the stream ended. The DateTimeOffset 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 +// SetEndDateTime sets the endDateTime property value. UTC time when the stream ended. The DateTimeOffset 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. This field is only available for streams that use the SIP protocol. func (m *MediaStream) SetEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("endDateTime", value) if err != nil { @@ -1087,7 +1087,7 @@ func (m *MediaStream) SetRmsFreezeDuration(value *i878a80d2330e89d26896388a3f487 panic(err) } } -// SetStartDateTime sets the startDateTime property value. UTC time when the stream started. The DateTimeOffset 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 +// SetStartDateTime sets the startDateTime property value. UTC time when the stream started. The DateTimeOffset 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. This field is only available for streams that use the SIP protocol. func (m *MediaStream) SetStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("startDateTime", value) if err != nil { diff --git a/models/callrecords/media_stream_direction.go b/models/callrecords/media_stream_direction.go index 4f39ab3b86e..4728b968e1a 100644 --- a/models/callrecords/media_stream_direction.go +++ b/models/callrecords/media_stream_direction.go @@ -32,3 +32,6 @@ func SerializeMediaStreamDirection(values []MediaStreamDirection) []string { } return result } +func (i MediaStreamDirection) isMultiValue() bool { + return false +} diff --git a/models/callrecords/modality.go b/models/callrecords/modality.go index 9c55387a38b..d8f04c1db22 100644 --- a/models/callrecords/modality.go +++ b/models/callrecords/modality.go @@ -44,3 +44,6 @@ func SerializeModality(values []Modality) []string { } return result } +func (i Modality) isMultiValue() bool { + return false +} diff --git a/models/callrecords/network_connection_type.go b/models/callrecords/network_connection_type.go index 489a5a9f3ce..fdd5a710bc6 100644 --- a/models/callrecords/network_connection_type.go +++ b/models/callrecords/network_connection_type.go @@ -44,3 +44,6 @@ func SerializeNetworkConnectionType(values []NetworkConnectionType) []string { } return result } +func (i NetworkConnectionType) isMultiValue() bool { + return false +} diff --git a/models/callrecords/network_info.go b/models/callrecords/network_info.go index c62d1e274d9..750d003f38d 100644 --- a/models/callrecords/network_info.go +++ b/models/callrecords/network_info.go @@ -396,7 +396,7 @@ func (m *NetworkInfo) GetLinkSpeed()(*int64) { } return nil } -// GetMacAddress gets the macAddress property value. The media access control (MAC) address of the media endpoint's network device. +// GetMacAddress gets the macAddress property value. The media access control (MAC) address of the media endpoint's network device. This value may be missing or shown as 02:00:00:00:00:00 due to operating system privacy policies. func (m *NetworkInfo) GetMacAddress()(*string) { val, err := m.GetBackingStore().Get("macAddress") if err != nil { @@ -858,7 +858,7 @@ func (m *NetworkInfo) SetLinkSpeed(value *int64)() { panic(err) } } -// SetMacAddress sets the macAddress property value. The media access control (MAC) address of the media endpoint's network device. +// SetMacAddress sets the macAddress property value. The media access control (MAC) address of the media endpoint's network device. This value may be missing or shown as 02:00:00:00:00:00 due to operating system privacy policies. func (m *NetworkInfo) SetMacAddress(value *string)() { err := m.GetBackingStore().Set("macAddress", value) if err != nil { diff --git a/models/callrecords/network_transport_protocol.go b/models/callrecords/network_transport_protocol.go index f5a20800779..0e07bb9b12f 100644 --- a/models/callrecords/network_transport_protocol.go +++ b/models/callrecords/network_transport_protocol.go @@ -38,3 +38,6 @@ func SerializeNetworkTransportProtocol(values []NetworkTransportProtocol) []stri } return result } +func (i NetworkTransportProtocol) isMultiValue() bool { + return false +} diff --git a/models/callrecords/product_family.go b/models/callrecords/product_family.go index 4cc6788bf73..7d68e255e61 100644 --- a/models/callrecords/product_family.go +++ b/models/callrecords/product_family.go @@ -44,3 +44,6 @@ func SerializeProductFamily(values []ProductFamily) []string { } return result } +func (i ProductFamily) isMultiValue() bool { + return false +} diff --git a/models/callrecords/pstn_call_duration_source.go b/models/callrecords/pstn_call_duration_source.go index 255ecb1e19a..e6bbfb2dccb 100644 --- a/models/callrecords/pstn_call_duration_source.go +++ b/models/callrecords/pstn_call_duration_source.go @@ -32,3 +32,6 @@ func SerializePstnCallDurationSource(values []PstnCallDurationSource) []string { } return result } +func (i PstnCallDurationSource) isMultiValue() bool { + return false +} diff --git a/models/callrecords/pstn_call_log_row.go b/models/callrecords/pstn_call_log_row.go index 8ad651829b2..aee0cefea20 100644 --- a/models/callrecords/pstn_call_log_row.go +++ b/models/callrecords/pstn_call_log_row.go @@ -565,7 +565,7 @@ func (m *PstnCallLogRow) GetOdataType()(*string) { } return nil } -// GetOperator gets the operator property value. The telecommunications operator which provided PSTN services for this call. This may be Microsoft, or it may be a third-party operator via the Operator Connect Program. +// GetOperator gets the operator property value. The telecommunications operator that provided PSTN services for this call. This may be Microsoft, or it may be a third-party operator via the Operator Connect Program. func (m *PstnCallLogRow) GetOperator()(*string) { val, err := m.GetBackingStore().Get("operator") if err != nil { @@ -576,7 +576,7 @@ func (m *PstnCallLogRow) GetOperator()(*string) { } return nil } -// GetOtherPartyCountryCode gets the otherPartyCountryCode property value. Country code of the caller in case of an incoming call, or callee in case of an outgoing call. For details, see ISO 3166-1 alpha-2. +// GetOtherPartyCountryCode gets the otherPartyCountryCode property value. Country code of the caller for an incoming call, or callee for an outgoing call. For details, see ISO 3166-1 alpha-2. func (m *PstnCallLogRow) GetOtherPartyCountryCode()(*string) { val, err := m.GetBackingStore().Get("otherPartyCountryCode") if err != nil { @@ -996,14 +996,14 @@ func (m *PstnCallLogRow) SetOdataType(value *string)() { panic(err) } } -// SetOperator sets the operator property value. The telecommunications operator which provided PSTN services for this call. This may be Microsoft, or it may be a third-party operator via the Operator Connect Program. +// SetOperator sets the operator property value. The telecommunications operator that provided PSTN services for this call. This may be Microsoft, or it may be a third-party operator via the Operator Connect Program. func (m *PstnCallLogRow) SetOperator(value *string)() { err := m.GetBackingStore().Set("operator", value) if err != nil { panic(err) } } -// SetOtherPartyCountryCode sets the otherPartyCountryCode property value. Country code of the caller in case of an incoming call, or callee in case of an outgoing call. For details, see ISO 3166-1 alpha-2. +// SetOtherPartyCountryCode sets the otherPartyCountryCode property value. Country code of the caller for an incoming call, or callee for an outgoing call. For details, see ISO 3166-1 alpha-2. func (m *PstnCallLogRow) SetOtherPartyCountryCode(value *string)() { err := m.GetBackingStore().Set("otherPartyCountryCode", value) if err != nil { diff --git a/models/callrecords/pstn_user_block_mode.go b/models/callrecords/pstn_user_block_mode.go index 801ee029186..95f812efbc2 100644 --- a/models/callrecords/pstn_user_block_mode.go +++ b/models/callrecords/pstn_user_block_mode.go @@ -35,3 +35,6 @@ func SerializePstnUserBlockMode(values []PstnUserBlockMode) []string { } return result } +func (i PstnUserBlockMode) isMultiValue() bool { + return false +} diff --git a/models/callrecords/service_role.go b/models/callrecords/service_role.go index d62f21fd95e..fd94be1fd60 100644 --- a/models/callrecords/service_role.go +++ b/models/callrecords/service_role.go @@ -92,3 +92,6 @@ func SerializeServiceRole(values []ServiceRole) []string { } return result } +func (i ServiceRole) isMultiValue() bool { + return false +} diff --git a/models/callrecords/user_feedback_rating.go b/models/callrecords/user_feedback_rating.go index 8ead0812ffb..240c924d127 100644 --- a/models/callrecords/user_feedback_rating.go +++ b/models/callrecords/user_feedback_rating.go @@ -47,3 +47,6 @@ func SerializeUserFeedbackRating(values []UserFeedbackRating) []string { } return result } +func (i UserFeedbackRating) isMultiValue() bool { + return false +} diff --git a/models/callrecords/video_codec.go b/models/callrecords/video_codec.go index f6480f2bb35..b9c38c7376d 100644 --- a/models/callrecords/video_codec.go +++ b/models/callrecords/video_codec.go @@ -62,3 +62,6 @@ func SerializeVideoCodec(values []VideoCodec) []string { } return result } +func (i VideoCodec) isMultiValue() bool { + return false +} diff --git a/models/callrecords/wifi_band.go b/models/callrecords/wifi_band.go index 7e66d128260..e00e0da2f63 100644 --- a/models/callrecords/wifi_band.go +++ b/models/callrecords/wifi_band.go @@ -41,3 +41,6 @@ func SerializeWifiBand(values []WifiBand) []string { } return result } +func (i WifiBand) isMultiValue() bool { + return false +} diff --git a/models/callrecords/wifi_radio_type.go b/models/callrecords/wifi_radio_type.go index 3989a8da7f2..36d5fea4b3d 100644 --- a/models/callrecords/wifi_radio_type.go +++ b/models/callrecords/wifi_radio_type.go @@ -50,3 +50,6 @@ func SerializeWifiRadioType(values []WifiRadioType) []string { } return result } +func (i WifiRadioType) isMultiValue() bool { + return false +} diff --git a/models/category_color.go b/models/category_color.go index cf423c6d721..92ef65607e5 100644 --- a/models/category_color.go +++ b/models/category_color.go @@ -104,3 +104,6 @@ func SerializeCategoryColor(values []CategoryColor) []string { } return result } +func (i CategoryColor) isMultiValue() bool { + return false +} diff --git a/models/certificate_authority_as_entity.go b/models/certificate_authority_as_entity.go index 64dff15aa9e..9ab8916e68a 100644 --- a/models/certificate_authority_as_entity.go +++ b/models/certificate_authority_as_entity.go @@ -19,7 +19,7 @@ func NewCertificateAuthorityAsEntity()(*CertificateAuthorityAsEntity) { func CreateCertificateAuthorityAsEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewCertificateAuthorityAsEntity(), nil } -// GetCertificate gets the certificate property value. The certificate property +// GetCertificate gets the certificate property value. The trusted certificate. func (m *CertificateAuthorityAsEntity) GetCertificate()([]byte) { val, err := m.GetBackingStore().Get("certificate") if err != nil { @@ -75,7 +75,7 @@ func (m *CertificateAuthorityAsEntity) GetFieldDeserializers()(map[string]func(i } return res } -// GetIsRootAuthority gets the isRootAuthority property value. The isRootAuthority property +// GetIsRootAuthority gets the isRootAuthority property value. Indicates if the certificate is a root authority. In a certificateBasedApplicationConfiguration object, at least one object in the trustedCertificateAuthorities collection must be a root authority. func (m *CertificateAuthorityAsEntity) GetIsRootAuthority()(*bool) { val, err := m.GetBackingStore().Get("isRootAuthority") if err != nil { @@ -86,7 +86,7 @@ func (m *CertificateAuthorityAsEntity) GetIsRootAuthority()(*bool) { } return nil } -// GetIssuer gets the issuer property value. The issuer property +// GetIssuer gets the issuer property value. The issuer of the trusted certificate. func (m *CertificateAuthorityAsEntity) GetIssuer()(*string) { val, err := m.GetBackingStore().Get("issuer") if err != nil { @@ -97,7 +97,7 @@ func (m *CertificateAuthorityAsEntity) GetIssuer()(*string) { } return nil } -// GetIssuerSubjectKeyIdentifier gets the issuerSubjectKeyIdentifier property value. The issuerSubjectKeyIdentifier property +// GetIssuerSubjectKeyIdentifier gets the issuerSubjectKeyIdentifier property value. The subject key identifier of the trusted certificate. func (m *CertificateAuthorityAsEntity) GetIssuerSubjectKeyIdentifier()(*string) { val, err := m.GetBackingStore().Get("issuerSubjectKeyIdentifier") if err != nil { @@ -140,28 +140,28 @@ func (m *CertificateAuthorityAsEntity) Serialize(writer i878a80d2330e89d26896388 } return nil } -// SetCertificate sets the certificate property value. The certificate property +// SetCertificate sets the certificate property value. The trusted certificate. func (m *CertificateAuthorityAsEntity) SetCertificate(value []byte)() { err := m.GetBackingStore().Set("certificate", value) if err != nil { panic(err) } } -// SetIsRootAuthority sets the isRootAuthority property value. The isRootAuthority property +// SetIsRootAuthority sets the isRootAuthority property value. Indicates if the certificate is a root authority. In a certificateBasedApplicationConfiguration object, at least one object in the trustedCertificateAuthorities collection must be a root authority. func (m *CertificateAuthorityAsEntity) SetIsRootAuthority(value *bool)() { err := m.GetBackingStore().Set("isRootAuthority", value) if err != nil { panic(err) } } -// SetIssuer sets the issuer property value. The issuer property +// SetIssuer sets the issuer property value. The issuer of the trusted certificate. func (m *CertificateAuthorityAsEntity) SetIssuer(value *string)() { err := m.GetBackingStore().Set("issuer", value) if err != nil { panic(err) } } -// SetIssuerSubjectKeyIdentifier sets the issuerSubjectKeyIdentifier property value. The issuerSubjectKeyIdentifier property +// SetIssuerSubjectKeyIdentifier sets the issuerSubjectKeyIdentifier property value. The subject key identifier of the trusted certificate. func (m *CertificateAuthorityAsEntity) SetIssuerSubjectKeyIdentifier(value *string)() { err := m.GetBackingStore().Set("issuerSubjectKeyIdentifier", value) if err != nil { diff --git a/models/certificate_authority_path.go b/models/certificate_authority_path.go index fab5d7c7bd5..332142a78c3 100644 --- a/models/certificate_authority_path.go +++ b/models/certificate_authority_path.go @@ -19,7 +19,7 @@ func NewCertificateAuthorityPath()(*CertificateAuthorityPath) { func CreateCertificateAuthorityPathFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewCertificateAuthorityPath(), nil } -// GetCertificateBasedApplicationConfigurations gets the certificateBasedApplicationConfigurations property value. The certificateBasedApplicationConfigurations property +// GetCertificateBasedApplicationConfigurations gets the certificateBasedApplicationConfigurations property value. Defines the trusted certificate authorities for certificates that can be added to apps and service principals in the tenant. func (m *CertificateAuthorityPath) GetCertificateBasedApplicationConfigurations()([]CertificateBasedApplicationConfigurationable) { val, err := m.GetBackingStore().Get("certificateBasedApplicationConfigurations") if err != nil { @@ -71,7 +71,7 @@ func (m *CertificateAuthorityPath) Serialize(writer i878a80d2330e89d26896388a3f4 } return nil } -// SetCertificateBasedApplicationConfigurations sets the certificateBasedApplicationConfigurations property value. The certificateBasedApplicationConfigurations property +// SetCertificateBasedApplicationConfigurations sets the certificateBasedApplicationConfigurations property value. Defines the trusted certificate authorities for certificates that can be added to apps and service principals in the tenant. func (m *CertificateAuthorityPath) SetCertificateBasedApplicationConfigurations(value []CertificateBasedApplicationConfigurationable)() { err := m.GetBackingStore().Set("certificateBasedApplicationConfigurations", value) if err != nil { diff --git a/models/certificate_based_application_configuration.go b/models/certificate_based_application_configuration.go index 54074ad32a1..a11868c58fb 100644 --- a/models/certificate_based_application_configuration.go +++ b/models/certificate_based_application_configuration.go @@ -21,7 +21,7 @@ func NewCertificateBasedApplicationConfiguration()(*CertificateBasedApplicationC func CreateCertificateBasedApplicationConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewCertificateBasedApplicationConfiguration(), nil } -// GetDescription gets the description property value. The description property +// GetDescription gets the description property value. The description of the trusted certificate authorities. func (m *CertificateBasedApplicationConfiguration) GetDescription()(*string) { val, err := m.GetBackingStore().Get("description") if err != nil { @@ -32,7 +32,7 @@ func (m *CertificateBasedApplicationConfiguration) GetDescription()(*string) { } return nil } -// GetDisplayName gets the displayName property value. The displayName property +// GetDisplayName gets the displayName property value. The display name of the trusted certificate authorities. func (m *CertificateBasedApplicationConfiguration) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") if err != nil { @@ -88,14 +88,14 @@ func (m *CertificateBasedApplicationConfiguration) Serialize(writer i878a80d2330 } return nil } -// SetDescription sets the description property value. The description property +// SetDescription sets the description property value. The description of the trusted certificate authorities. func (m *CertificateBasedApplicationConfiguration) SetDescription(value *string)() { err := m.GetBackingStore().Set("description", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. The displayName property +// SetDisplayName sets the displayName property value. The display name of the trusted certificate authorities. func (m *CertificateBasedApplicationConfiguration) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { diff --git a/models/certificate_destination_store.go b/models/certificate_destination_store.go index ad3d328b37c..511328e4c44 100644 --- a/models/certificate_destination_store.go +++ b/models/certificate_destination_store.go @@ -38,3 +38,6 @@ func SerializeCertificateDestinationStore(values []CertificateDestinationStore) } return result } +func (i CertificateDestinationStore) isMultiValue() bool { + return false +} diff --git a/models/certificate_issuance_states.go b/models/certificate_issuance_states.go index b8b43228424..171c4785b41 100644 --- a/models/certificate_issuance_states.go +++ b/models/certificate_issuance_states.go @@ -95,3 +95,6 @@ func SerializeCertificateIssuanceStates(values []CertificateIssuanceStates) []st } return result } +func (i CertificateIssuanceStates) isMultiValue() bool { + return false +} diff --git a/models/certificate_revocation_status.go b/models/certificate_revocation_status.go index fb4d9a74cfe..7bdc4e1417d 100644 --- a/models/certificate_revocation_status.go +++ b/models/certificate_revocation_status.go @@ -46,3 +46,6 @@ func SerializeCertificateRevocationStatus(values []CertificateRevocationStatus) } return result } +func (i CertificateRevocationStatus) isMultiValue() bool { + return false +} diff --git a/models/certificate_status.go b/models/certificate_status.go index 8678ab174f8..f8721097e79 100644 --- a/models/certificate_status.go +++ b/models/certificate_status.go @@ -32,3 +32,6 @@ func SerializeCertificateStatus(values []CertificateStatus) []string { } return result } +func (i CertificateStatus) isMultiValue() bool { + return false +} diff --git a/models/certificate_store.go b/models/certificate_store.go index 65bb686a2eb..240a9f2cd8f 100644 --- a/models/certificate_store.go +++ b/models/certificate_store.go @@ -32,3 +32,6 @@ func SerializeCertificateStore(values []CertificateStore) []string { } return result } +func (i CertificateStore) isMultiValue() bool { + return false +} diff --git a/models/certificate_validity_period_scale.go b/models/certificate_validity_period_scale.go index 907dbe51471..ee10162beb8 100644 --- a/models/certificate_validity_period_scale.go +++ b/models/certificate_validity_period_scale.go @@ -38,3 +38,6 @@ func SerializeCertificateValidityPeriodScale(values []CertificateValidityPeriodS } return result } +func (i CertificateValidityPeriodScale) isMultiValue() bool { + return false +} diff --git a/models/change_uefi_settings_permission.go b/models/change_uefi_settings_permission.go index 782c1a9442d..07c1a230e7d 100644 --- a/models/change_uefi_settings_permission.go +++ b/models/change_uefi_settings_permission.go @@ -34,3 +34,6 @@ func SerializeChangeUefiSettingsPermission(values []ChangeUefiSettingsPermission } return result } +func (i ChangeUefiSettingsPermission) isMultiValue() bool { + return false +} diff --git a/models/channel_membership_type.go b/models/channel_membership_type.go index dbd04b2137a..5230c9271da 100644 --- a/models/channel_membership_type.go +++ b/models/channel_membership_type.go @@ -38,3 +38,6 @@ func SerializeChannelMembershipType(values []ChannelMembershipType) []string { } return result } +func (i ChannelMembershipType) isMultiValue() bool { + return false +} diff --git a/models/chassis_type.go b/models/chassis_type.go index a7f04073e8b..7c113c97237 100644 --- a/models/chassis_type.go +++ b/models/chassis_type.go @@ -62,3 +62,6 @@ func SerializeChassisType(values []ChassisType) []string { } return result } +func (i ChassisType) isMultiValue() bool { + return false +} diff --git a/models/chat_message_actions.go b/models/chat_message_actions.go index 8df3a0341b5..3da490e4313 100644 --- a/models/chat_message_actions.go +++ b/models/chat_message_actions.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type ChatMessageActions int @@ -13,21 +14,30 @@ const ( ) func (i ChatMessageActions) String() string { - return []string{"reactionAdded", "reactionRemoved", "actionUndefined", "unknownFutureValue"}[i] + var values []string + for p := ChatMessageActions(1); p <= UNKNOWNFUTUREVALUE_CHATMESSAGEACTIONS; p <<= 1 { + if i&p == p { + values = append(values, []string{"reactionAdded", "reactionRemoved", "actionUndefined", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseChatMessageActions(v string) (any, error) { - result := REACTIONADDED_CHATMESSAGEACTIONS - switch v { - case "reactionAdded": - result = REACTIONADDED_CHATMESSAGEACTIONS - case "reactionRemoved": - result = REACTIONREMOVED_CHATMESSAGEACTIONS - case "actionUndefined": - result = ACTIONUNDEFINED_CHATMESSAGEACTIONS - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_CHATMESSAGEACTIONS - default: - return 0, errors.New("Unknown ChatMessageActions value: " + v) + var result ChatMessageActions + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "reactionAdded": + result |= REACTIONADDED_CHATMESSAGEACTIONS + case "reactionRemoved": + result |= REACTIONREMOVED_CHATMESSAGEACTIONS + case "actionUndefined": + result |= ACTIONUNDEFINED_CHATMESSAGEACTIONS + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_CHATMESSAGEACTIONS + default: + return 0, errors.New("Unknown ChatMessageActions value: " + v) + } } return &result, nil } @@ -38,3 +48,6 @@ func SerializeChatMessageActions(values []ChatMessageActions) []string { } return result } +func (i ChatMessageActions) isMultiValue() bool { + return true +} diff --git a/models/chat_message_importance.go b/models/chat_message_importance.go index b6d23cbb630..a3ae83a3cf3 100644 --- a/models/chat_message_importance.go +++ b/models/chat_message_importance.go @@ -35,3 +35,6 @@ func SerializeChatMessageImportance(values []ChatMessageImportance) []string { } return result } +func (i ChatMessageImportance) isMultiValue() bool { + return false +} diff --git a/models/chat_message_info.go b/models/chat_message_info.go index 3b9f7da09c2..11922f2d257 100644 --- a/models/chat_message_info.go +++ b/models/chat_message_info.go @@ -20,7 +20,7 @@ func NewChatMessageInfo()(*ChatMessageInfo) { func CreateChatMessageInfoFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewChatMessageInfo(), nil } -// GetBody gets the body property value. Body of the chatMessage. This will still contain markers for @mentions and attachments even though the object does not return @mentions and attachments. +// GetBody gets the body property value. Body of the chatMessage. This will still contain markers for @mentions and attachments even though the object doesn't return @mentions and attachments. func (m *ChatMessageInfo) GetBody()(ItemBodyable) { val, err := m.GetBackingStore().Get("body") if err != nil { @@ -42,7 +42,7 @@ func (m *ChatMessageInfo) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a } return nil } -// GetEventDetail gets the eventDetail property value. Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, members were added, and so on. For event messages, the messageType property will be set to systemEventMessage. +// GetEventDetail gets the eventDetail property value. Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, members were added, and so on. For event messages, the messageType property is set to systemEventMessage. func (m *ChatMessageInfo) GetEventDetail()(EventMessageDetailable) { val, err := m.GetBackingStore().Get("eventDetail") if err != nil { @@ -196,7 +196,7 @@ func (m *ChatMessageInfo) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0 } return nil } -// SetBody sets the body property value. Body of the chatMessage. This will still contain markers for @mentions and attachments even though the object does not return @mentions and attachments. +// SetBody sets the body property value. Body of the chatMessage. This will still contain markers for @mentions and attachments even though the object doesn't return @mentions and attachments. func (m *ChatMessageInfo) SetBody(value ItemBodyable)() { err := m.GetBackingStore().Set("body", value) if err != nil { @@ -210,7 +210,7 @@ func (m *ChatMessageInfo) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3a panic(err) } } -// SetEventDetail sets the eventDetail property value. Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, members were added, and so on. For event messages, the messageType property will be set to systemEventMessage. +// SetEventDetail sets the eventDetail property value. Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, members were added, and so on. For event messages, the messageType property is set to systemEventMessage. func (m *ChatMessageInfo) SetEventDetail(value EventMessageDetailable)() { err := m.GetBackingStore().Set("eventDetail", value) if err != nil { diff --git a/models/chat_message_policy_violation.go b/models/chat_message_policy_violation.go index bc65aa46c05..cba245b8caf 100644 --- a/models/chat_message_policy_violation.go +++ b/models/chat_message_policy_violation.go @@ -147,7 +147,7 @@ func (m *ChatMessagePolicyViolation) GetPolicyTip()(ChatMessagePolicyViolationPo } return nil } -// GetUserAction gets the userAction property value. Indicates the action taken by the user on a message blocked by the DLP provider. Supported values are: NoneOverrideReportFalsePositiveWhen the DLP provider is updating the message for blocking sensitive content, userAction is not required. +// GetUserAction gets the userAction property value. Indicates the action taken by the user on a message blocked by the DLP provider. Supported values are: NoneOverrideReportFalsePositiveWhen the DLP provider is updating the message for blocking sensitive content, userAction isn't required. func (m *ChatMessagePolicyViolation) GetUserAction()(*ChatMessagePolicyViolationUserActionTypes) { val, err := m.GetBackingStore().Get("userAction") if err != nil { @@ -158,7 +158,7 @@ func (m *ChatMessagePolicyViolation) GetUserAction()(*ChatMessagePolicyViolation } return nil } -// GetVerdictDetails gets the verdictDetails property value. Indicates what actions the sender may take in response to the policy violation. Supported values are: NoneAllowFalsePositiveOverride -- Allows the sender to declare the policyViolation to be an error in the DLP app and its rules, and allow readers to see the message again if the dlpAction had hidden it.AllowOverrideWithoutJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, without needing to provide an explanation for doing so. AllowOverrideWithJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, after providing an explanation for doing so.AllowOverrideWithoutJustification and AllowOverrideWithJustification are mutually exclusive. +// GetVerdictDetails gets the verdictDetails property value. Indicates what actions the sender may take in response to the policy violation. Supported values are: NoneAllowFalsePositiveOverride -- Allows the sender to declare the policyViolation to be an error in the DLP app and its rules, and allow readers to see the message again if it was hidden by dlpAction.AllowOverrideWithoutJustification -- Allows the sender to override the DLP violation and allow readers to see the message again if the dlpAction hides it, without needing to provide an explanation for doing so. AllowOverrideWithJustification -- Allows the sender to override the DLP violation and allow readers to see the message again if the dlpAction hides it, after providing an explanation for doing so.AllowOverrideWithoutJustification and AllowOverrideWithJustification are mutually exclusive. func (m *ChatMessagePolicyViolation) GetVerdictDetails()(*ChatMessagePolicyViolationVerdictDetailsTypes) { val, err := m.GetBackingStore().Get("verdictDetails") if err != nil { @@ -257,14 +257,14 @@ func (m *ChatMessagePolicyViolation) SetPolicyTip(value ChatMessagePolicyViolati panic(err) } } -// SetUserAction sets the userAction property value. Indicates the action taken by the user on a message blocked by the DLP provider. Supported values are: NoneOverrideReportFalsePositiveWhen the DLP provider is updating the message for blocking sensitive content, userAction is not required. +// SetUserAction sets the userAction property value. Indicates the action taken by the user on a message blocked by the DLP provider. Supported values are: NoneOverrideReportFalsePositiveWhen the DLP provider is updating the message for blocking sensitive content, userAction isn't required. func (m *ChatMessagePolicyViolation) SetUserAction(value *ChatMessagePolicyViolationUserActionTypes)() { err := m.GetBackingStore().Set("userAction", value) if err != nil { panic(err) } } -// SetVerdictDetails sets the verdictDetails property value. Indicates what actions the sender may take in response to the policy violation. Supported values are: NoneAllowFalsePositiveOverride -- Allows the sender to declare the policyViolation to be an error in the DLP app and its rules, and allow readers to see the message again if the dlpAction had hidden it.AllowOverrideWithoutJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, without needing to provide an explanation for doing so. AllowOverrideWithJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, after providing an explanation for doing so.AllowOverrideWithoutJustification and AllowOverrideWithJustification are mutually exclusive. +// SetVerdictDetails sets the verdictDetails property value. Indicates what actions the sender may take in response to the policy violation. Supported values are: NoneAllowFalsePositiveOverride -- Allows the sender to declare the policyViolation to be an error in the DLP app and its rules, and allow readers to see the message again if it was hidden by dlpAction.AllowOverrideWithoutJustification -- Allows the sender to override the DLP violation and allow readers to see the message again if the dlpAction hides it, without needing to provide an explanation for doing so. AllowOverrideWithJustification -- Allows the sender to override the DLP violation and allow readers to see the message again if the dlpAction hides it, after providing an explanation for doing so.AllowOverrideWithoutJustification and AllowOverrideWithJustification are mutually exclusive. func (m *ChatMessagePolicyViolation) SetVerdictDetails(value *ChatMessagePolicyViolationVerdictDetailsTypes)() { err := m.GetBackingStore().Set("verdictDetails", value) if err != nil { diff --git a/models/chat_message_policy_violation_dlp_action_types.go b/models/chat_message_policy_violation_dlp_action_types.go index 4e4772fd980..17f2b558720 100644 --- a/models/chat_message_policy_violation_dlp_action_types.go +++ b/models/chat_message_policy_violation_dlp_action_types.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type ChatMessagePolicyViolationDlpActionTypes int @@ -13,21 +14,30 @@ const ( ) func (i ChatMessagePolicyViolationDlpActionTypes) String() string { - return []string{"none", "notifySender", "blockAccess", "blockAccessExternal"}[i] + var values []string + for p := ChatMessagePolicyViolationDlpActionTypes(1); p <= BLOCKACCESSEXTERNAL_CHATMESSAGEPOLICYVIOLATIONDLPACTIONTYPES; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "notifySender", "blockAccess", "blockAccessExternal"}[p]) + } + } + return strings.Join(values, ",") } func ParseChatMessagePolicyViolationDlpActionTypes(v string) (any, error) { - result := NONE_CHATMESSAGEPOLICYVIOLATIONDLPACTIONTYPES - switch v { - case "none": - result = NONE_CHATMESSAGEPOLICYVIOLATIONDLPACTIONTYPES - case "notifySender": - result = NOTIFYSENDER_CHATMESSAGEPOLICYVIOLATIONDLPACTIONTYPES - case "blockAccess": - result = BLOCKACCESS_CHATMESSAGEPOLICYVIOLATIONDLPACTIONTYPES - case "blockAccessExternal": - result = BLOCKACCESSEXTERNAL_CHATMESSAGEPOLICYVIOLATIONDLPACTIONTYPES - default: - return 0, errors.New("Unknown ChatMessagePolicyViolationDlpActionTypes value: " + v) + var result ChatMessagePolicyViolationDlpActionTypes + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_CHATMESSAGEPOLICYVIOLATIONDLPACTIONTYPES + case "notifySender": + result |= NOTIFYSENDER_CHATMESSAGEPOLICYVIOLATIONDLPACTIONTYPES + case "blockAccess": + result |= BLOCKACCESS_CHATMESSAGEPOLICYVIOLATIONDLPACTIONTYPES + case "blockAccessExternal": + result |= BLOCKACCESSEXTERNAL_CHATMESSAGEPOLICYVIOLATIONDLPACTIONTYPES + default: + return 0, errors.New("Unknown ChatMessagePolicyViolationDlpActionTypes value: " + v) + } } return &result, nil } @@ -38,3 +48,6 @@ func SerializeChatMessagePolicyViolationDlpActionTypes(values []ChatMessagePolic } return result } +func (i ChatMessagePolicyViolationDlpActionTypes) isMultiValue() bool { + return true +} diff --git a/models/chat_message_policy_violation_user_action_types.go b/models/chat_message_policy_violation_user_action_types.go index a2c8e7f6cc7..68f0c919794 100644 --- a/models/chat_message_policy_violation_user_action_types.go +++ b/models/chat_message_policy_violation_user_action_types.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type ChatMessagePolicyViolationUserActionTypes int @@ -12,19 +13,28 @@ const ( ) func (i ChatMessagePolicyViolationUserActionTypes) String() string { - return []string{"none", "override", "reportFalsePositive"}[i] + var values []string + for p := ChatMessagePolicyViolationUserActionTypes(1); p <= REPORTFALSEPOSITIVE_CHATMESSAGEPOLICYVIOLATIONUSERACTIONTYPES; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "override", "reportFalsePositive"}[p]) + } + } + return strings.Join(values, ",") } func ParseChatMessagePolicyViolationUserActionTypes(v string) (any, error) { - result := NONE_CHATMESSAGEPOLICYVIOLATIONUSERACTIONTYPES - switch v { - case "none": - result = NONE_CHATMESSAGEPOLICYVIOLATIONUSERACTIONTYPES - case "override": - result = OVERRIDE_CHATMESSAGEPOLICYVIOLATIONUSERACTIONTYPES - case "reportFalsePositive": - result = REPORTFALSEPOSITIVE_CHATMESSAGEPOLICYVIOLATIONUSERACTIONTYPES - default: - return 0, errors.New("Unknown ChatMessagePolicyViolationUserActionTypes value: " + v) + var result ChatMessagePolicyViolationUserActionTypes + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_CHATMESSAGEPOLICYVIOLATIONUSERACTIONTYPES + case "override": + result |= OVERRIDE_CHATMESSAGEPOLICYVIOLATIONUSERACTIONTYPES + case "reportFalsePositive": + result |= REPORTFALSEPOSITIVE_CHATMESSAGEPOLICYVIOLATIONUSERACTIONTYPES + default: + return 0, errors.New("Unknown ChatMessagePolicyViolationUserActionTypes value: " + v) + } } return &result, nil } @@ -35,3 +45,6 @@ func SerializeChatMessagePolicyViolationUserActionTypes(values []ChatMessagePoli } return result } +func (i ChatMessagePolicyViolationUserActionTypes) isMultiValue() bool { + return true +} diff --git a/models/chat_message_policy_violation_verdict_details_types.go b/models/chat_message_policy_violation_verdict_details_types.go index c0d6dfe8a1f..f02f194653a 100644 --- a/models/chat_message_policy_violation_verdict_details_types.go +++ b/models/chat_message_policy_violation_verdict_details_types.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type ChatMessagePolicyViolationVerdictDetailsTypes int @@ -13,21 +14,30 @@ const ( ) func (i ChatMessagePolicyViolationVerdictDetailsTypes) String() string { - return []string{"none", "allowFalsePositiveOverride", "allowOverrideWithoutJustification", "allowOverrideWithJustification"}[i] + var values []string + for p := ChatMessagePolicyViolationVerdictDetailsTypes(1); p <= ALLOWOVERRIDEWITHJUSTIFICATION_CHATMESSAGEPOLICYVIOLATIONVERDICTDETAILSTYPES; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "allowFalsePositiveOverride", "allowOverrideWithoutJustification", "allowOverrideWithJustification"}[p]) + } + } + return strings.Join(values, ",") } func ParseChatMessagePolicyViolationVerdictDetailsTypes(v string) (any, error) { - result := NONE_CHATMESSAGEPOLICYVIOLATIONVERDICTDETAILSTYPES - switch v { - case "none": - result = NONE_CHATMESSAGEPOLICYVIOLATIONVERDICTDETAILSTYPES - case "allowFalsePositiveOverride": - result = ALLOWFALSEPOSITIVEOVERRIDE_CHATMESSAGEPOLICYVIOLATIONVERDICTDETAILSTYPES - case "allowOverrideWithoutJustification": - result = ALLOWOVERRIDEWITHOUTJUSTIFICATION_CHATMESSAGEPOLICYVIOLATIONVERDICTDETAILSTYPES - case "allowOverrideWithJustification": - result = ALLOWOVERRIDEWITHJUSTIFICATION_CHATMESSAGEPOLICYVIOLATIONVERDICTDETAILSTYPES - default: - return 0, errors.New("Unknown ChatMessagePolicyViolationVerdictDetailsTypes value: " + v) + var result ChatMessagePolicyViolationVerdictDetailsTypes + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_CHATMESSAGEPOLICYVIOLATIONVERDICTDETAILSTYPES + case "allowFalsePositiveOverride": + result |= ALLOWFALSEPOSITIVEOVERRIDE_CHATMESSAGEPOLICYVIOLATIONVERDICTDETAILSTYPES + case "allowOverrideWithoutJustification": + result |= ALLOWOVERRIDEWITHOUTJUSTIFICATION_CHATMESSAGEPOLICYVIOLATIONVERDICTDETAILSTYPES + case "allowOverrideWithJustification": + result |= ALLOWOVERRIDEWITHJUSTIFICATION_CHATMESSAGEPOLICYVIOLATIONVERDICTDETAILSTYPES + default: + return 0, errors.New("Unknown ChatMessagePolicyViolationVerdictDetailsTypes value: " + v) + } } return &result, nil } @@ -38,3 +48,6 @@ func SerializeChatMessagePolicyViolationVerdictDetailsTypes(values []ChatMessage } return result } +func (i ChatMessagePolicyViolationVerdictDetailsTypes) isMultiValue() bool { + return true +} diff --git a/models/chat_message_type.go b/models/chat_message_type.go index 7be5ea896f8..a54e5f21d2a 100644 --- a/models/chat_message_type.go +++ b/models/chat_message_type.go @@ -41,3 +41,6 @@ func SerializeChatMessageType(values []ChatMessageType) []string { } return result } +func (i ChatMessageType) isMultiValue() bool { + return false +} diff --git a/models/chat_type.go b/models/chat_type.go index ab33e869aec..7abf118fb72 100644 --- a/models/chat_type.go +++ b/models/chat_type.go @@ -38,3 +38,6 @@ func SerializeChatType(values []ChatType) []string { } return result } +func (i ChatType) isMultiValue() bool { + return false +} diff --git a/models/chrome_o_s_onboarding_status.go b/models/chrome_o_s_onboarding_status.go index 8dbd9909ea2..b98fe9594b7 100644 --- a/models/chrome_o_s_onboarding_status.go +++ b/models/chrome_o_s_onboarding_status.go @@ -50,3 +50,6 @@ func SerializeChromeOSOnboardingStatus(values []ChromeOSOnboardingStatus) []stri } return result } +func (i ChromeOSOnboardingStatus) isMultiValue() bool { + return false +} diff --git a/models/claims_mapping.go b/models/claims_mapping.go index fc205f5594d..5c673246815 100644 --- a/models/claims_mapping.go +++ b/models/claims_mapping.go @@ -38,7 +38,7 @@ func (m *ClaimsMapping) GetAdditionalData()(map[string]any) { func (m *ClaimsMapping) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDisplayName gets the displayName property value. The claim that provides the display name or full name for the user. It is a required propoerty. +// GetDisplayName gets the displayName property value. The claim that provides the display name or full name for the user. It's a required property. func (m *ClaimsMapping) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") if err != nil { @@ -158,7 +158,7 @@ func (m *ClaimsMapping) GetSurname()(*string) { } return nil } -// GetUserId gets the userId property value. The claim that provides the unique identifier for the signed-in user. It is a required propoerty. +// GetUserId gets the userId property value. The claim that provides the unique identifier for the signed-in user. It is a required property. func (m *ClaimsMapping) GetUserId()(*string) { val, err := m.GetBackingStore().Get("userId") if err != nil { @@ -226,7 +226,7 @@ func (m *ClaimsMapping) SetAdditionalData(value map[string]any)() { func (m *ClaimsMapping) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDisplayName sets the displayName property value. The claim that provides the display name or full name for the user. It is a required propoerty. +// SetDisplayName sets the displayName property value. The claim that provides the display name or full name for the user. It's a required property. func (m *ClaimsMapping) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { @@ -261,7 +261,7 @@ func (m *ClaimsMapping) SetSurname(value *string)() { panic(err) } } -// SetUserId sets the userId property value. The claim that provides the unique identifier for the signed-in user. It is a required propoerty. +// SetUserId sets the userId property value. The claim that provides the unique identifier for the signed-in user. It is a required property. func (m *ClaimsMapping) SetUserId(value *string)() { err := m.GetBackingStore().Set("userId", value) if err != nil { diff --git a/models/classification_method.go b/models/classification_method.go index afd6aa6358d..423b8b1c749 100644 --- a/models/classification_method.go +++ b/models/classification_method.go @@ -38,3 +38,6 @@ func SerializeClassificationMethod(values []ClassificationMethod) []string { } return result } +func (i ClassificationMethod) isMultiValue() bool { + return false +} diff --git a/models/client_credential_type.go b/models/client_credential_type.go index a5982fc0ce7..b7cdf3ae5ca 100644 --- a/models/client_credential_type.go +++ b/models/client_credential_type.go @@ -47,3 +47,6 @@ func SerializeClientCredentialType(values []ClientCredentialType) []string { } return result } +func (i ClientCredentialType) isMultiValue() bool { + return false +} diff --git a/models/clonable_team_parts.go b/models/clonable_team_parts.go index 0bce640d2bd..845377b1c5d 100644 --- a/models/clonable_team_parts.go +++ b/models/clonable_team_parts.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type ClonableTeamParts int @@ -14,23 +15,32 @@ const ( ) func (i ClonableTeamParts) String() string { - return []string{"apps", "tabs", "settings", "channels", "members"}[i] + var values []string + for p := ClonableTeamParts(1); p <= MEMBERS_CLONABLETEAMPARTS; p <<= 1 { + if i&p == p { + values = append(values, []string{"apps", "tabs", "settings", "channels", "members"}[p]) + } + } + return strings.Join(values, ",") } func ParseClonableTeamParts(v string) (any, error) { - result := APPS_CLONABLETEAMPARTS - switch v { - case "apps": - result = APPS_CLONABLETEAMPARTS - case "tabs": - result = TABS_CLONABLETEAMPARTS - case "settings": - result = SETTINGS_CLONABLETEAMPARTS - case "channels": - result = CHANNELS_CLONABLETEAMPARTS - case "members": - result = MEMBERS_CLONABLETEAMPARTS - default: - return 0, errors.New("Unknown ClonableTeamParts value: " + v) + var result ClonableTeamParts + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "apps": + result |= APPS_CLONABLETEAMPARTS + case "tabs": + result |= TABS_CLONABLETEAMPARTS + case "settings": + result |= SETTINGS_CLONABLETEAMPARTS + case "channels": + result |= CHANNELS_CLONABLETEAMPARTS + case "members": + result |= MEMBERS_CLONABLETEAMPARTS + default: + return 0, errors.New("Unknown ClonableTeamParts value: " + v) + } } return &result, nil } @@ -41,3 +51,6 @@ func SerializeClonableTeamParts(values []ClonableTeamParts) []string { } return result } +func (i ClonableTeamParts) isMultiValue() bool { + return true +} diff --git a/models/cloud_app_security_session_control_type.go b/models/cloud_app_security_session_control_type.go index 44fd093042f..e9600511fa4 100644 --- a/models/cloud_app_security_session_control_type.go +++ b/models/cloud_app_security_session_control_type.go @@ -38,3 +38,6 @@ func SerializeCloudAppSecuritySessionControlType(values []CloudAppSecuritySessio } return result } +func (i CloudAppSecuritySessionControlType) isMultiValue() bool { + return false +} diff --git a/models/cloud_p_c.go b/models/cloud_p_c.go index f9976a0ec61..14dcd780f8f 100644 --- a/models/cloud_p_c.go +++ b/models/cloud_p_c.go @@ -346,7 +346,7 @@ func (m *CloudPC) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268963 } return res } -// GetGracePeriodEndDateTime gets the gracePeriodEndDateTime property value. The date and time when the grace period ends and reprovisioning/deprovisioning happens. Required only if the status is inGracePeriod. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +// GetGracePeriodEndDateTime gets the gracePeriodEndDateTime property value. The date and time when the grace period ends and reprovisioning or deprovisioning happen. Required only if the status is inGracePeriod. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. func (m *CloudPC) GetGracePeriodEndDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("gracePeriodEndDateTime") if err != nil { @@ -789,7 +789,7 @@ func (m *CloudPC) SetDisplayName(value *string)() { panic(err) } } -// SetGracePeriodEndDateTime sets the gracePeriodEndDateTime property value. The date and time when the grace period ends and reprovisioning/deprovisioning happens. Required only if the status is inGracePeriod. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +// SetGracePeriodEndDateTime sets the gracePeriodEndDateTime property value. The date and time when the grace period ends and reprovisioning or deprovisioning happen. Required only if the status is inGracePeriod. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. func (m *CloudPC) SetGracePeriodEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("gracePeriodEndDateTime", value) if err != nil { diff --git a/models/cloud_pc_audit_activity_operation_type.go b/models/cloud_pc_audit_activity_operation_type.go index 1e38a5702c2..5519e2563ea 100644 --- a/models/cloud_pc_audit_activity_operation_type.go +++ b/models/cloud_pc_audit_activity_operation_type.go @@ -38,3 +38,6 @@ func SerializeCloudPcAuditActivityOperationType(values []CloudPcAuditActivityOpe } return result } +func (i CloudPcAuditActivityOperationType) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_audit_activity_result.go b/models/cloud_pc_audit_activity_result.go index 3a1438f5342..767d3abb742 100644 --- a/models/cloud_pc_audit_activity_result.go +++ b/models/cloud_pc_audit_activity_result.go @@ -41,3 +41,6 @@ func SerializeCloudPcAuditActivityResult(values []CloudPcAuditActivityResult) [] } return result } +func (i CloudPcAuditActivityResult) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_audit_actor_type.go b/models/cloud_pc_audit_actor_type.go index 3ae94689a74..aef922c2fb9 100644 --- a/models/cloud_pc_audit_actor_type.go +++ b/models/cloud_pc_audit_actor_type.go @@ -38,3 +38,6 @@ func SerializeCloudPcAuditActorType(values []CloudPcAuditActorType) []string { } return result } +func (i CloudPcAuditActorType) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_audit_category.go b/models/cloud_pc_audit_category.go index 2c18cf50405..818ca4b5898 100644 --- a/models/cloud_pc_audit_category.go +++ b/models/cloud_pc_audit_category.go @@ -32,3 +32,6 @@ func SerializeCloudPcAuditCategory(values []CloudPcAuditCategory) []string { } return result } +func (i CloudPcAuditCategory) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_connectivity_event_result.go b/models/cloud_pc_connectivity_event_result.go index dbcedaebc3c..5d346b5e6fa 100644 --- a/models/cloud_pc_connectivity_event_result.go +++ b/models/cloud_pc_connectivity_event_result.go @@ -38,3 +38,6 @@ func SerializeCloudPcConnectivityEventResult(values []CloudPcConnectivityEventRe } return result } +func (i CloudPcConnectivityEventResult) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_connectivity_event_type.go b/models/cloud_pc_connectivity_event_type.go index 0f076c591ab..5af16e508c4 100644 --- a/models/cloud_pc_connectivity_event_type.go +++ b/models/cloud_pc_connectivity_event_type.go @@ -41,3 +41,6 @@ func SerializeCloudPcConnectivityEventType(values []CloudPcConnectivityEventType } return result } +func (i CloudPcConnectivityEventType) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_connectivity_status.go b/models/cloud_pc_connectivity_status.go index 184a456784e..0646f7e4b9f 100644 --- a/models/cloud_pc_connectivity_status.go +++ b/models/cloud_pc_connectivity_status.go @@ -41,3 +41,6 @@ func SerializeCloudPcConnectivityStatus(values []CloudPcConnectivityStatus) []st } return result } +func (i CloudPcConnectivityStatus) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_device_image_os_status.go b/models/cloud_pc_device_image_os_status.go index 2f82656d429..b860d79361d 100644 --- a/models/cloud_pc_device_image_os_status.go +++ b/models/cloud_pc_device_image_os_status.go @@ -35,3 +35,6 @@ func SerializeCloudPcDeviceImageOsStatus(values []CloudPcDeviceImageOsStatus) [] } return result } +func (i CloudPcDeviceImageOsStatus) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_device_image_status.go b/models/cloud_pc_device_image_status.go index 46d63d94ad7..29c2e9c4dc3 100644 --- a/models/cloud_pc_device_image_status.go +++ b/models/cloud_pc_device_image_status.go @@ -35,3 +35,6 @@ func SerializeCloudPcDeviceImageStatus(values []CloudPcDeviceImageStatus) []stri } return result } +func (i CloudPcDeviceImageStatus) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_device_image_status_details.go b/models/cloud_pc_device_image_status_details.go index 3990955ecd6..1acf44d5974 100644 --- a/models/cloud_pc_device_image_status_details.go +++ b/models/cloud_pc_device_image_status_details.go @@ -56,3 +56,6 @@ func SerializeCloudPcDeviceImageStatusDetails(values []CloudPcDeviceImageStatusD } return result } +func (i CloudPcDeviceImageStatusDetails) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_disk_encryption_state.go b/models/cloud_pc_disk_encryption_state.go index 897b263d9a6..ac844f5af33 100644 --- a/models/cloud_pc_disk_encryption_state.go +++ b/models/cloud_pc_disk_encryption_state.go @@ -41,3 +41,6 @@ func SerializeCloudPcDiskEncryptionState(values []CloudPcDiskEncryptionState) [] } return result } +func (i CloudPcDiskEncryptionState) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_domain_join_type.go b/models/cloud_pc_domain_join_type.go index 7101f5cc1a1..5b9b1730e5a 100644 --- a/models/cloud_pc_domain_join_type.go +++ b/models/cloud_pc_domain_join_type.go @@ -35,3 +35,6 @@ func SerializeCloudPcDomainJoinType(values []CloudPcDomainJoinType) []string { } return result } +func (i CloudPcDomainJoinType) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_export_job.go b/models/cloud_pc_export_job.go index ec954053a7b..7c99cc32f68 100644 --- a/models/cloud_pc_export_job.go +++ b/models/cloud_pc_export_job.go @@ -166,7 +166,7 @@ func (m *CloudPcExportJob) GetFormat()(*string) { } return nil } -// GetReportName gets the reportName property value. The report name. The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, sharedUseLicenseUsageReport, sharedUseLicenseUsageRealTimeReport, unknownFutureValue, noLicenseAvailableConnectivityFailureReport. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: noLicenseAvailableConnectivityFailureReport. +// GetReportName gets the reportName property value. The report name. The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, sharedUseLicenseUsageReport, sharedUseLicenseUsageRealTimeReport, unknownFutureValue, noLicenseAvailableConnectivityFailureReport, inaccessibleCloudPcReports. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: noLicenseAvailableConnectivityFailureReport, inaccessibleCloudPcReports. func (m *CloudPcExportJob) GetReportName()(*CloudPcReportName) { val, err := m.GetBackingStore().Get("reportName") if err != nil { @@ -292,7 +292,7 @@ func (m *CloudPcExportJob) SetFormat(value *string)() { panic(err) } } -// SetReportName sets the reportName property value. The report name. The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, sharedUseLicenseUsageReport, sharedUseLicenseUsageRealTimeReport, unknownFutureValue, noLicenseAvailableConnectivityFailureReport. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: noLicenseAvailableConnectivityFailureReport. +// SetReportName sets the reportName property value. The report name. The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, sharedUseLicenseUsageReport, sharedUseLicenseUsageRealTimeReport, unknownFutureValue, noLicenseAvailableConnectivityFailureReport, inaccessibleCloudPcReports. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: noLicenseAvailableConnectivityFailureReport, inaccessibleCloudPcReports. func (m *CloudPcExportJob) SetReportName(value *CloudPcReportName)() { err := m.GetBackingStore().Set("reportName", value) if err != nil { diff --git a/models/cloud_pc_export_job_status.go b/models/cloud_pc_export_job_status.go index 95db6f2ae70..a7caa79834f 100644 --- a/models/cloud_pc_export_job_status.go +++ b/models/cloud_pc_export_job_status.go @@ -41,3 +41,6 @@ func SerializeCloudPcExportJobStatus(values []CloudPcExportJobStatus) []string { } return result } +func (i CloudPcExportJobStatus) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_external_partner_status.go b/models/cloud_pc_external_partner_status.go index 1b706abde5e..402b1413f37 100644 --- a/models/cloud_pc_external_partner_status.go +++ b/models/cloud_pc_external_partner_status.go @@ -41,3 +41,6 @@ func SerializeCloudPcExternalPartnerStatus(values []CloudPcExternalPartnerStatus } return result } +func (i CloudPcExternalPartnerStatus) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_gallery_image_status.go b/models/cloud_pc_gallery_image_status.go index 96b751c7c78..24caafff6de 100644 --- a/models/cloud_pc_gallery_image_status.go +++ b/models/cloud_pc_gallery_image_status.go @@ -38,3 +38,6 @@ func SerializeCloudPcGalleryImageStatus(values []CloudPcGalleryImageStatus) []st } return result } +func (i CloudPcGalleryImageStatus) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_management_service.go b/models/cloud_pc_management_service.go index 567af605b1f..da50796636f 100644 --- a/models/cloud_pc_management_service.go +++ b/models/cloud_pc_management_service.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type CloudPcManagementService int @@ -13,21 +14,30 @@ const ( ) func (i CloudPcManagementService) String() string { - return []string{"windows365", "devBox", "unknownFutureValue", "rpaBox"}[i] + var values []string + for p := CloudPcManagementService(1); p <= RPABOX_CLOUDPCMANAGEMENTSERVICE; p <<= 1 { + if i&p == p { + values = append(values, []string{"windows365", "devBox", "unknownFutureValue", "rpaBox"}[p]) + } + } + return strings.Join(values, ",") } func ParseCloudPcManagementService(v string) (any, error) { - result := WINDOWS365_CLOUDPCMANAGEMENTSERVICE - switch v { - case "windows365": - result = WINDOWS365_CLOUDPCMANAGEMENTSERVICE - case "devBox": - result = DEVBOX_CLOUDPCMANAGEMENTSERVICE - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_CLOUDPCMANAGEMENTSERVICE - case "rpaBox": - result = RPABOX_CLOUDPCMANAGEMENTSERVICE - default: - return 0, errors.New("Unknown CloudPcManagementService value: " + v) + var result CloudPcManagementService + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "windows365": + result |= WINDOWS365_CLOUDPCMANAGEMENTSERVICE + case "devBox": + result |= DEVBOX_CLOUDPCMANAGEMENTSERVICE + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_CLOUDPCMANAGEMENTSERVICE + case "rpaBox": + result |= RPABOX_CLOUDPCMANAGEMENTSERVICE + default: + return 0, errors.New("Unknown CloudPcManagementService value: " + v) + } } return &result, nil } @@ -38,3 +48,6 @@ func SerializeCloudPcManagementService(values []CloudPcManagementService) []stri } return result } +func (i CloudPcManagementService) isMultiValue() bool { + return true +} diff --git a/models/cloud_pc_on_premises_connection_health_check_error_type.go b/models/cloud_pc_on_premises_connection_health_check_error_type.go index 701c2e2c708..004cd8d7bf6 100644 --- a/models/cloud_pc_on_premises_connection_health_check_error_type.go +++ b/models/cloud_pc_on_premises_connection_health_check_error_type.go @@ -224,3 +224,6 @@ func SerializeCloudPcOnPremisesConnectionHealthCheckErrorType(values []CloudPcOn } return result } +func (i CloudPcOnPremisesConnectionHealthCheckErrorType) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_on_premises_connection_status.go b/models/cloud_pc_on_premises_connection_status.go index 36efc1c8687..75b1c1fcbfc 100644 --- a/models/cloud_pc_on_premises_connection_status.go +++ b/models/cloud_pc_on_premises_connection_status.go @@ -47,3 +47,6 @@ func SerializeCloudPcOnPremisesConnectionStatus(values []CloudPcOnPremisesConnec } return result } +func (i CloudPcOnPremisesConnectionStatus) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_on_premises_connection_type.go b/models/cloud_pc_on_premises_connection_type.go index c5783404bcc..836b88d7d00 100644 --- a/models/cloud_pc_on_premises_connection_type.go +++ b/models/cloud_pc_on_premises_connection_type.go @@ -35,3 +35,6 @@ func SerializeCloudPcOnPremisesConnectionType(values []CloudPcOnPremisesConnecti } return result } +func (i CloudPcOnPremisesConnectionType) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_operating_system.go b/models/cloud_pc_operating_system.go index cc94bc616d3..3e68a9d9ccb 100644 --- a/models/cloud_pc_operating_system.go +++ b/models/cloud_pc_operating_system.go @@ -35,3 +35,6 @@ func SerializeCloudPcOperatingSystem(values []CloudPcOperatingSystem) []string { } return result } +func (i CloudPcOperatingSystem) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_partner_agent_install_result.go b/models/cloud_pc_partner_agent_install_result.go index 8c374b44911..eb4a255475a 100644 --- a/models/cloud_pc_partner_agent_install_result.go +++ b/models/cloud_pc_partner_agent_install_result.go @@ -104,7 +104,7 @@ func (m *CloudPcPartnerAgentInstallResult) GetInstallStatus()(*CloudPcPartnerAge } return nil } -// GetIsThirdPartyPartner gets the isThirdPartyPartner property value. Indicates if the partner agent is a third party. When 'TRUE', the agent is a third-party (non-Microsoft) agent. When 'FALSE', the agent is a Microsoft agent or is not known. The default value is 'FALSE'. +// GetIsThirdPartyPartner gets the isThirdPartyPartner property value. Indicates if the partner agent is a third party. When 'TRUE' the agent is a third-party (non-Microsoft) agent and when 'FALSE' the agent is a Microsoft agent or isn't known. The default value is 'FALSE' func (m *CloudPcPartnerAgentInstallResult) GetIsThirdPartyPartner()(*bool) { val, err := m.GetBackingStore().Get("isThirdPartyPartner") if err != nil { @@ -126,7 +126,7 @@ func (m *CloudPcPartnerAgentInstallResult) GetOdataType()(*string) { } return nil } -// GetPartnerAgentName gets the partnerAgentName property value. Indicates the name of a partner agent and includes first-party and third-party. Currently, Citrix is the only third-party value. Read-Only. +// GetPartnerAgentName gets the partnerAgentName property value. The name of the partner agent, whether first party or third party. Possible values for third-party partners are Citrix and VMware. Read-Only. func (m *CloudPcPartnerAgentInstallResult) GetPartnerAgentName()(*CloudPcPartnerAgentName) { val, err := m.GetBackingStore().Get("partnerAgentName") if err != nil { @@ -137,7 +137,7 @@ func (m *CloudPcPartnerAgentInstallResult) GetPartnerAgentName()(*CloudPcPartner } return nil } -// GetRetriable gets the retriable property value. Indicates if the partner agent is a third party. When 'TRUE', the agent is a third-party (non-Microsoft) agent. When 'FALSE', the agent is a Microsoft agent or is not known. The default value is 'FALSE'. +// GetRetriable gets the retriable property value. Indicates if the partner agent is a third party. When 'TRUE' the agent is a third-party (non-Microsoft) agent and when 'FALSE' the agent is a Microsoft agent or isn't known. The default value is 'FALSE' func (m *CloudPcPartnerAgentInstallResult) GetRetriable()(*bool) { val, err := m.GetBackingStore().Get("retriable") if err != nil { @@ -208,7 +208,7 @@ func (m *CloudPcPartnerAgentInstallResult) SetInstallStatus(value *CloudPcPartne panic(err) } } -// SetIsThirdPartyPartner sets the isThirdPartyPartner property value. Indicates if the partner agent is a third party. When 'TRUE', the agent is a third-party (non-Microsoft) agent. When 'FALSE', the agent is a Microsoft agent or is not known. The default value is 'FALSE'. +// SetIsThirdPartyPartner sets the isThirdPartyPartner property value. Indicates if the partner agent is a third party. When 'TRUE' the agent is a third-party (non-Microsoft) agent and when 'FALSE' the agent is a Microsoft agent or isn't known. The default value is 'FALSE' func (m *CloudPcPartnerAgentInstallResult) SetIsThirdPartyPartner(value *bool)() { err := m.GetBackingStore().Set("isThirdPartyPartner", value) if err != nil { @@ -222,14 +222,14 @@ func (m *CloudPcPartnerAgentInstallResult) SetOdataType(value *string)() { panic(err) } } -// SetPartnerAgentName sets the partnerAgentName property value. Indicates the name of a partner agent and includes first-party and third-party. Currently, Citrix is the only third-party value. Read-Only. +// SetPartnerAgentName sets the partnerAgentName property value. The name of the partner agent, whether first party or third party. Possible values for third-party partners are Citrix and VMware. Read-Only. func (m *CloudPcPartnerAgentInstallResult) SetPartnerAgentName(value *CloudPcPartnerAgentName)() { err := m.GetBackingStore().Set("partnerAgentName", value) if err != nil { panic(err) } } -// SetRetriable sets the retriable property value. Indicates if the partner agent is a third party. When 'TRUE', the agent is a third-party (non-Microsoft) agent. When 'FALSE', the agent is a Microsoft agent or is not known. The default value is 'FALSE'. +// SetRetriable sets the retriable property value. Indicates if the partner agent is a third party. When 'TRUE' the agent is a third-party (non-Microsoft) agent and when 'FALSE' the agent is a Microsoft agent or isn't known. The default value is 'FALSE' func (m *CloudPcPartnerAgentInstallResult) SetRetriable(value *bool)() { err := m.GetBackingStore().Set("retriable", value) if err != nil { diff --git a/models/cloud_pc_partner_agent_install_status.go b/models/cloud_pc_partner_agent_install_status.go index 68fabbee37a..d3735bf5f5d 100644 --- a/models/cloud_pc_partner_agent_install_status.go +++ b/models/cloud_pc_partner_agent_install_status.go @@ -47,3 +47,6 @@ func SerializeCloudPcPartnerAgentInstallStatus(values []CloudPcPartnerAgentInsta } return result } +func (i CloudPcPartnerAgentInstallStatus) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_partner_agent_name.go b/models/cloud_pc_partner_agent_name.go index aa234732e89..cae8d3f4e80 100644 --- a/models/cloud_pc_partner_agent_name.go +++ b/models/cloud_pc_partner_agent_name.go @@ -35,3 +35,6 @@ func SerializeCloudPcPartnerAgentName(values []CloudPcPartnerAgentName) []string } return result } +func (i CloudPcPartnerAgentName) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_policy_setting_type.go b/models/cloud_pc_policy_setting_type.go index 27c57d60d03..717f4f7fff2 100644 --- a/models/cloud_pc_policy_setting_type.go +++ b/models/cloud_pc_policy_setting_type.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type CloudPcPolicySettingType int @@ -12,19 +13,28 @@ const ( ) func (i CloudPcPolicySettingType) String() string { - return []string{"region", "singleSignOn", "unknownFutureValue"}[i] + var values []string + for p := CloudPcPolicySettingType(1); p <= UNKNOWNFUTUREVALUE_CLOUDPCPOLICYSETTINGTYPE; p <<= 1 { + if i&p == p { + values = append(values, []string{"region", "singleSignOn", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseCloudPcPolicySettingType(v string) (any, error) { - result := REGION_CLOUDPCPOLICYSETTINGTYPE - switch v { - case "region": - result = REGION_CLOUDPCPOLICYSETTINGTYPE - case "singleSignOn": - result = SINGLESIGNON_CLOUDPCPOLICYSETTINGTYPE - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_CLOUDPCPOLICYSETTINGTYPE - default: - return 0, errors.New("Unknown CloudPcPolicySettingType value: " + v) + var result CloudPcPolicySettingType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "region": + result |= REGION_CLOUDPCPOLICYSETTINGTYPE + case "singleSignOn": + result |= SINGLESIGNON_CLOUDPCPOLICYSETTINGTYPE + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_CLOUDPCPOLICYSETTINGTYPE + default: + return 0, errors.New("Unknown CloudPcPolicySettingType value: " + v) + } } return &result, nil } @@ -35,3 +45,6 @@ func SerializeCloudPcPolicySettingType(values []CloudPcPolicySettingType) []stri } return result } +func (i CloudPcPolicySettingType) isMultiValue() bool { + return true +} diff --git a/models/cloud_pc_power_state.go b/models/cloud_pc_power_state.go index 9b594840e19..86f4d50cb42 100644 --- a/models/cloud_pc_power_state.go +++ b/models/cloud_pc_power_state.go @@ -35,3 +35,6 @@ func SerializeCloudPcPowerState(values []CloudPcPowerState) []string { } return result } +func (i CloudPcPowerState) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_provisioning_policy.go b/models/cloud_pc_provisioning_policy.go index 3fa7f991f80..7575764016a 100644 --- a/models/cloud_pc_provisioning_policy.go +++ b/models/cloud_pc_provisioning_policy.go @@ -52,7 +52,7 @@ func (m *CloudPcProvisioningPolicy) GetCloudPcGroupDisplayName()(*string) { } return nil } -// GetCloudPcNamingTemplate gets the cloudPcNamingTemplate property value. The template used to name Cloud PCs provisioned using this policy. This can contain custom text and replacement tokens, including %USERNAME:x% and %RAND:x%, which represent the user's name and a randomly generated number, respectively. For example, 'CPC-%USERNAME:4%-%RAND:5%' means that the Cloud PC's name will start with 'CPC-', have a four-character username in the middle followed by a '-' character, and end with five random characters. The total length of the text generated by the template can be no more than 15 characters. Supports $filter, $select, $orderBy. +// GetCloudPcNamingTemplate gets the cloudPcNamingTemplate property value. The template used to name Cloud PCs provisioned using this policy. This can contain custom text and replacement tokens, including %USERNAME:x% and %RAND:x%, which represent the user's name and a randomly generated number, respectively. For example, 'CPC-%USERNAME:4%-%RAND:5%' means that the Cloud PC's name will start with 'CPC-', have a four-character username in the middle followed by a '-' character, and end with five random characters. The total length of the text generated by the template can be no more than 15 characters. Supports $filter, $select, $orderby. func (m *CloudPcProvisioningPolicy) GetCloudPcNamingTemplate()(*string) { val, err := m.GetBackingStore().Get("cloudPcNamingTemplate") if err != nil { @@ -593,7 +593,7 @@ func (m *CloudPcProvisioningPolicy) SetCloudPcGroupDisplayName(value *string)() panic(err) } } -// SetCloudPcNamingTemplate sets the cloudPcNamingTemplate property value. The template used to name Cloud PCs provisioned using this policy. This can contain custom text and replacement tokens, including %USERNAME:x% and %RAND:x%, which represent the user's name and a randomly generated number, respectively. For example, 'CPC-%USERNAME:4%-%RAND:5%' means that the Cloud PC's name will start with 'CPC-', have a four-character username in the middle followed by a '-' character, and end with five random characters. The total length of the text generated by the template can be no more than 15 characters. Supports $filter, $select, $orderBy. +// SetCloudPcNamingTemplate sets the cloudPcNamingTemplate property value. The template used to name Cloud PCs provisioned using this policy. This can contain custom text and replacement tokens, including %USERNAME:x% and %RAND:x%, which represent the user's name and a randomly generated number, respectively. For example, 'CPC-%USERNAME:4%-%RAND:5%' means that the Cloud PC's name will start with 'CPC-', have a four-character username in the middle followed by a '-' character, and end with five random characters. The total length of the text generated by the template can be no more than 15 characters. Supports $filter, $select, $orderby. func (m *CloudPcProvisioningPolicy) SetCloudPcNamingTemplate(value *string)() { err := m.GetBackingStore().Set("cloudPcNamingTemplate", value) if err != nil { diff --git a/models/cloud_pc_provisioning_policy_image_type.go b/models/cloud_pc_provisioning_policy_image_type.go index 3b17f2c885f..3fb3438e259 100644 --- a/models/cloud_pc_provisioning_policy_image_type.go +++ b/models/cloud_pc_provisioning_policy_image_type.go @@ -32,3 +32,6 @@ func SerializeCloudPcProvisioningPolicyImageType(values []CloudPcProvisioningPol } return result } +func (i CloudPcProvisioningPolicyImageType) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_provisioning_type.go b/models/cloud_pc_provisioning_type.go index 2c023d54079..c8f43c4e90d 100644 --- a/models/cloud_pc_provisioning_type.go +++ b/models/cloud_pc_provisioning_type.go @@ -35,3 +35,6 @@ func SerializeCloudPcProvisioningType(values []CloudPcProvisioningType) []string } return result } +func (i CloudPcProvisioningType) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_region_group.go b/models/cloud_pc_region_group.go index fabc03418d5..d02dca92fa1 100644 --- a/models/cloud_pc_region_group.go +++ b/models/cloud_pc_region_group.go @@ -89,3 +89,6 @@ func SerializeCloudPcRegionGroup(values []CloudPcRegionGroup) []string { } return result } +func (i CloudPcRegionGroup) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_remote_action_name.go b/models/cloud_pc_remote_action_name.go index 79a3d302773..610eaecba04 100644 --- a/models/cloud_pc_remote_action_name.go +++ b/models/cloud_pc_remote_action_name.go @@ -56,3 +56,6 @@ func SerializeCloudPcRemoteActionName(values []CloudPcRemoteActionName) []string } return result } +func (i CloudPcRemoteActionName) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_report_name.go b/models/cloud_pc_report_name.go index 6c9621383b1..d3ec97e51ec 100644 --- a/models/cloud_pc_report_name.go +++ b/models/cloud_pc_report_name.go @@ -13,12 +13,15 @@ const ( SHAREDUSELICENSEUSAGEREALTIMEREPORT_CLOUDPCREPORTNAME UNKNOWNFUTUREVALUE_CLOUDPCREPORTNAME NOLICENSEAVAILABLECONNECTIVITYFAILUREREPORT_CLOUDPCREPORTNAME + FRONTLINELICENSEUSAGEREPORT_CLOUDPCREPORTNAME + FRONTLINELICENSEUSAGEREALTIMEREPORT_CLOUDPCREPORTNAME REMOTECONNECTIONQUALITYREPORTS_CLOUDPCREPORTNAME INACCESSIBLECLOUDPCREPORTS_CLOUDPCREPORTNAME + RAWREMOTECONNECTIONREPORTS_CLOUDPCREPORTNAME ) func (i CloudPcReportName) String() string { - return []string{"remoteConnectionHistoricalReports", "dailyAggregatedRemoteConnectionReports", "totalAggregatedRemoteConnectionReports", "sharedUseLicenseUsageReport", "sharedUseLicenseUsageRealTimeReport", "unknownFutureValue", "noLicenseAvailableConnectivityFailureReport", "remoteConnectionQualityReports", "inaccessibleCloudPcReports"}[i] + return []string{"remoteConnectionHistoricalReports", "dailyAggregatedRemoteConnectionReports", "totalAggregatedRemoteConnectionReports", "sharedUseLicenseUsageReport", "sharedUseLicenseUsageRealTimeReport", "unknownFutureValue", "noLicenseAvailableConnectivityFailureReport", "frontlineLicenseUsageReport", "frontlineLicenseUsageRealTimeReport", "remoteConnectionQualityReports", "inaccessibleCloudPcReports", "rawRemoteConnectionReports"}[i] } func ParseCloudPcReportName(v string) (any, error) { result := REMOTECONNECTIONHISTORICALREPORTS_CLOUDPCREPORTNAME @@ -37,10 +40,16 @@ func ParseCloudPcReportName(v string) (any, error) { result = UNKNOWNFUTUREVALUE_CLOUDPCREPORTNAME case "noLicenseAvailableConnectivityFailureReport": result = NOLICENSEAVAILABLECONNECTIVITYFAILUREREPORT_CLOUDPCREPORTNAME + case "frontlineLicenseUsageReport": + result = FRONTLINELICENSEUSAGEREPORT_CLOUDPCREPORTNAME + case "frontlineLicenseUsageRealTimeReport": + result = FRONTLINELICENSEUSAGEREALTIMEREPORT_CLOUDPCREPORTNAME case "remoteConnectionQualityReports": result = REMOTECONNECTIONQUALITYREPORTS_CLOUDPCREPORTNAME case "inaccessibleCloudPcReports": result = INACCESSIBLECLOUDPCREPORTS_CLOUDPCREPORTNAME + case "rawRemoteConnectionReports": + result = RAWREMOTECONNECTIONREPORTS_CLOUDPCREPORTNAME default: return 0, errors.New("Unknown CloudPcReportName value: " + v) } @@ -53,3 +62,6 @@ func SerializeCloudPcReportName(values []CloudPcReportName) []string { } return result } +func (i CloudPcReportName) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_resize_validation_code.go b/models/cloud_pc_resize_validation_code.go index cdd1824db85..f2a3d516aa9 100644 --- a/models/cloud_pc_resize_validation_code.go +++ b/models/cloud_pc_resize_validation_code.go @@ -47,3 +47,6 @@ func SerializeCloudPcResizeValidationCode(values []CloudPcResizeValidationCode) } return result } +func (i CloudPcResizeValidationCode) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_resize_validation_result.go b/models/cloud_pc_resize_validation_result.go index cdf7af759a7..d6564718b59 100644 --- a/models/cloud_pc_resize_validation_result.go +++ b/models/cloud_pc_resize_validation_result.go @@ -38,7 +38,7 @@ func (m *CloudPcResizeValidationResult) GetAdditionalData()(map[string]any) { func (m *CloudPcResizeValidationResult) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetCloudPcId gets the cloudPcId property value. The cloudPC id that corresponds to its unique identifier. +// GetCloudPcId gets the cloudPcId property value. The cloudPC ID that corresponds to its unique identifier. func (m *CloudPcResizeValidationResult) GetCloudPcId()(*string) { val, err := m.GetBackingStore().Get("cloudPcId") if err != nil { @@ -146,7 +146,7 @@ func (m *CloudPcResizeValidationResult) SetAdditionalData(value map[string]any)( func (m *CloudPcResizeValidationResult) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetCloudPcId sets the cloudPcId property value. The cloudPC id that corresponds to its unique identifier. +// SetCloudPcId sets the cloudPcId property value. The cloudPC ID that corresponds to its unique identifier. func (m *CloudPcResizeValidationResult) SetCloudPcId(value *string)() { err := m.GetBackingStore().Set("cloudPcId", value) if err != nil { diff --git a/models/cloud_pc_restore_point_setting.go b/models/cloud_pc_restore_point_setting.go index d8319cc6096..cabecf391fa 100644 --- a/models/cloud_pc_restore_point_setting.go +++ b/models/cloud_pc_restore_point_setting.go @@ -95,7 +95,7 @@ func (m *CloudPcRestorePointSetting) GetOdataType()(*string) { } return nil } -// GetUserRestoreEnabled gets the userRestoreEnabled property value. If true, the user has the ability to use snapshots to restore Cloud PCs. If false, non-admin users cannot use snapshots to restore the Cloud PC. +// GetUserRestoreEnabled gets the userRestoreEnabled property value. If true, the user has the ability to use snapshots to restore Cloud PCs. If false, non-admin users can't use snapshots to restore the Cloud PC. func (m *CloudPcRestorePointSetting) GetUserRestoreEnabled()(*bool) { val, err := m.GetBackingStore().Get("userRestoreEnabled") if err != nil { @@ -159,7 +159,7 @@ func (m *CloudPcRestorePointSetting) SetOdataType(value *string)() { panic(err) } } -// SetUserRestoreEnabled sets the userRestoreEnabled property value. If true, the user has the ability to use snapshots to restore Cloud PCs. If false, non-admin users cannot use snapshots to restore the Cloud PC. +// SetUserRestoreEnabled sets the userRestoreEnabled property value. If true, the user has the ability to use snapshots to restore Cloud PCs. If false, non-admin users can't use snapshots to restore the Cloud PC. func (m *CloudPcRestorePointSetting) SetUserRestoreEnabled(value *bool)() { err := m.GetBackingStore().Set("userRestoreEnabled", value) if err != nil { diff --git a/models/cloud_pc_service_plan_type.go b/models/cloud_pc_service_plan_type.go index 09af679d78a..3220345b2b6 100644 --- a/models/cloud_pc_service_plan_type.go +++ b/models/cloud_pc_service_plan_type.go @@ -35,3 +35,6 @@ func SerializeCloudPcServicePlanType(values []CloudPcServicePlanType) []string { } return result } +func (i CloudPcServicePlanType) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_snapshot_status.go b/models/cloud_pc_snapshot_status.go index 16d00474dcd..8fbfd6eff52 100644 --- a/models/cloud_pc_snapshot_status.go +++ b/models/cloud_pc_snapshot_status.go @@ -32,3 +32,6 @@ func SerializeCloudPcSnapshotStatus(values []CloudPcSnapshotStatus) []string { } return result } +func (i CloudPcSnapshotStatus) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_snapshot_type.go b/models/cloud_pc_snapshot_type.go index d13bf54c670..c4cf5a593ff 100644 --- a/models/cloud_pc_snapshot_type.go +++ b/models/cloud_pc_snapshot_type.go @@ -35,3 +35,6 @@ func SerializeCloudPcSnapshotType(values []CloudPcSnapshotType) []string { } return result } +func (i CloudPcSnapshotType) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_status.go b/models/cloud_pc_status.go index 6ba88fbbc9e..2ee360c913c 100644 --- a/models/cloud_pc_status.go +++ b/models/cloud_pc_status.go @@ -68,3 +68,6 @@ func SerializeCloudPcStatus(values []CloudPcStatus) []string { } return result } +func (i CloudPcStatus) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_supported_region_status.go b/models/cloud_pc_supported_region_status.go index daa19b62ffe..8116acd0306 100644 --- a/models/cloud_pc_supported_region_status.go +++ b/models/cloud_pc_supported_region_status.go @@ -38,3 +38,6 @@ func SerializeCloudPcSupportedRegionStatus(values []CloudPcSupportedRegionStatus } return result } +func (i CloudPcSupportedRegionStatus) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_user_access_level.go b/models/cloud_pc_user_access_level.go index 8e706d075be..c209c4a78e6 100644 --- a/models/cloud_pc_user_access_level.go +++ b/models/cloud_pc_user_access_level.go @@ -35,3 +35,6 @@ func SerializeCloudPcUserAccessLevel(values []CloudPcUserAccessLevel) []string { } return result } +func (i CloudPcUserAccessLevel) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_user_account_type.go b/models/cloud_pc_user_account_type.go index e712c97f1d9..35c237f4170 100644 --- a/models/cloud_pc_user_account_type.go +++ b/models/cloud_pc_user_account_type.go @@ -35,3 +35,6 @@ func SerializeCloudPcUserAccountType(values []CloudPcUserAccountType) []string { } return result } +func (i CloudPcUserAccountType) isMultiValue() bool { + return false +} diff --git a/models/coachmark_location_type.go b/models/coachmark_location_type.go index 0dd25d4f4b0..72e8fa1bb7e 100644 --- a/models/coachmark_location_type.go +++ b/models/coachmark_location_type.go @@ -47,3 +47,6 @@ func SerializeCoachmarkLocationType(values []CoachmarkLocationType) []string { } return result } +func (i CoachmarkLocationType) isMultiValue() bool { + return false +} diff --git a/models/code.go b/models/code.go index 7100d7f637a..9fa0d2b0c92 100644 --- a/models/code.go +++ b/models/code.go @@ -154,3 +154,6 @@ func SerializeCode(values []Code) []string { } return result } +func (i Code) isMultiValue() bool { + return false +} diff --git a/models/column_types.go b/models/column_types.go index 9b147a5e280..a0b93a8e5b0 100644 --- a/models/column_types.go +++ b/models/column_types.go @@ -83,3 +83,6 @@ func SerializeColumnTypes(values []ColumnTypes) []string { } return result } +func (i ColumnTypes) isMultiValue() bool { + return false +} diff --git a/models/comanagement_eligible_type.go b/models/comanagement_eligible_type.go index 05ce9972345..70fbe36590c 100644 --- a/models/comanagement_eligible_type.go +++ b/models/comanagement_eligible_type.go @@ -49,3 +49,6 @@ func SerializeComanagementEligibleType(values []ComanagementEligibleType) []stri } return result } +func (i ComanagementEligibleType) isMultiValue() bool { + return false +} diff --git a/models/communications_application_identity.go b/models/communications_application_identity.go index 6e92b78f18e..f7d2829e3ae 100644 --- a/models/communications_application_identity.go +++ b/models/communications_application_identity.go @@ -57,7 +57,7 @@ func (m *CommunicationsApplicationIdentity) GetFieldDeserializers()(map[string]f } return res } -// GetHidden gets the hidden property value. True if the participant would not like to be shown in other participants' rosters. +// GetHidden gets the hidden property value. True if the participant wouldn't like to be shown in other participants' rosters. func (m *CommunicationsApplicationIdentity) GetHidden()(*bool) { val, err := m.GetBackingStore().Get("hidden") if err != nil { @@ -95,7 +95,7 @@ func (m *CommunicationsApplicationIdentity) SetApplicationType(value *string)() panic(err) } } -// SetHidden sets the hidden property value. True if the participant would not like to be shown in other participants' rosters. +// SetHidden sets the hidden property value. True if the participant wouldn't like to be shown in other participants' rosters. func (m *CommunicationsApplicationIdentity) SetHidden(value *bool)() { err := m.GetBackingStore().Set("hidden", value) if err != nil { diff --git a/models/company_portal_action.go b/models/company_portal_action.go index 96ba56beec0..29672026b33 100644 --- a/models/company_portal_action.go +++ b/models/company_portal_action.go @@ -38,3 +38,6 @@ func SerializeCompanyPortalAction(values []CompanyPortalAction) []string { } return result } +func (i CompanyPortalAction) isMultiValue() bool { + return false +} diff --git a/models/compliance_state.go b/models/compliance_state.go index db205e1b1a4..4876ed3cab3 100644 --- a/models/compliance_state.go +++ b/models/compliance_state.go @@ -54,3 +54,6 @@ func SerializeComplianceState(values []ComplianceState) []string { } return result } +func (i ComplianceState) isMultiValue() bool { + return false +} diff --git a/models/compliance_status.go b/models/compliance_status.go index 1f760c7d97c..1a1480e4258 100644 --- a/models/compliance_status.go +++ b/models/compliance_status.go @@ -50,3 +50,6 @@ func SerializeComplianceStatus(values []ComplianceStatus) []string { } return result } +func (i ComplianceStatus) isMultiValue() bool { + return false +} diff --git a/models/conditional_access_client_app.go b/models/conditional_access_client_app.go index a021692bacd..e61095d4399 100644 --- a/models/conditional_access_client_app.go +++ b/models/conditional_access_client_app.go @@ -47,3 +47,6 @@ func SerializeConditionalAccessClientApp(values []ConditionalAccessClientApp) [] } return result } +func (i ConditionalAccessClientApp) isMultiValue() bool { + return false +} diff --git a/models/conditional_access_conditions.go b/models/conditional_access_conditions.go index 9a8482d2384..5157ec68477 100644 --- a/models/conditional_access_conditions.go +++ b/models/conditional_access_conditions.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type ConditionalAccessConditions int @@ -27,49 +28,58 @@ const ( ) func (i ConditionalAccessConditions) String() string { - return []string{"none", "application", "users", "devicePlatform", "location", "clientType", "signInRisk", "userRisk", "time", "deviceState", "client", "ipAddressSeenByAzureAD", "ipAddressSeenByResourceProvider", "unknownFutureValue", "servicePrincipals", "servicePrincipalRisk", "authenticationFlows", "insiderRisk"}[i] + var values []string + for p := ConditionalAccessConditions(1); p <= INSIDERRISK_CONDITIONALACCESSCONDITIONS; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "application", "users", "devicePlatform", "location", "clientType", "signInRisk", "userRisk", "time", "deviceState", "client", "ipAddressSeenByAzureAD", "ipAddressSeenByResourceProvider", "unknownFutureValue", "servicePrincipals", "servicePrincipalRisk", "authenticationFlows", "insiderRisk"}[p]) + } + } + return strings.Join(values, ",") } func ParseConditionalAccessConditions(v string) (any, error) { - result := NONE_CONDITIONALACCESSCONDITIONS - switch v { - case "none": - result = NONE_CONDITIONALACCESSCONDITIONS - case "application": - result = APPLICATION_CONDITIONALACCESSCONDITIONS - case "users": - result = USERS_CONDITIONALACCESSCONDITIONS - case "devicePlatform": - result = DEVICEPLATFORM_CONDITIONALACCESSCONDITIONS - case "location": - result = LOCATION_CONDITIONALACCESSCONDITIONS - case "clientType": - result = CLIENTTYPE_CONDITIONALACCESSCONDITIONS - case "signInRisk": - result = SIGNINRISK_CONDITIONALACCESSCONDITIONS - case "userRisk": - result = USERRISK_CONDITIONALACCESSCONDITIONS - case "time": - result = TIME_CONDITIONALACCESSCONDITIONS - case "deviceState": - result = DEVICESTATE_CONDITIONALACCESSCONDITIONS - case "client": - result = CLIENT_CONDITIONALACCESSCONDITIONS - case "ipAddressSeenByAzureAD": - result = IPADDRESSSEENBYAZUREAD_CONDITIONALACCESSCONDITIONS - case "ipAddressSeenByResourceProvider": - result = IPADDRESSSEENBYRESOURCEPROVIDER_CONDITIONALACCESSCONDITIONS - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_CONDITIONALACCESSCONDITIONS - case "servicePrincipals": - result = SERVICEPRINCIPALS_CONDITIONALACCESSCONDITIONS - case "servicePrincipalRisk": - result = SERVICEPRINCIPALRISK_CONDITIONALACCESSCONDITIONS - case "authenticationFlows": - result = AUTHENTICATIONFLOWS_CONDITIONALACCESSCONDITIONS - case "insiderRisk": - result = INSIDERRISK_CONDITIONALACCESSCONDITIONS - default: - return 0, errors.New("Unknown ConditionalAccessConditions value: " + v) + var result ConditionalAccessConditions + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_CONDITIONALACCESSCONDITIONS + case "application": + result |= APPLICATION_CONDITIONALACCESSCONDITIONS + case "users": + result |= USERS_CONDITIONALACCESSCONDITIONS + case "devicePlatform": + result |= DEVICEPLATFORM_CONDITIONALACCESSCONDITIONS + case "location": + result |= LOCATION_CONDITIONALACCESSCONDITIONS + case "clientType": + result |= CLIENTTYPE_CONDITIONALACCESSCONDITIONS + case "signInRisk": + result |= SIGNINRISK_CONDITIONALACCESSCONDITIONS + case "userRisk": + result |= USERRISK_CONDITIONALACCESSCONDITIONS + case "time": + result |= TIME_CONDITIONALACCESSCONDITIONS + case "deviceState": + result |= DEVICESTATE_CONDITIONALACCESSCONDITIONS + case "client": + result |= CLIENT_CONDITIONALACCESSCONDITIONS + case "ipAddressSeenByAzureAD": + result |= IPADDRESSSEENBYAZUREAD_CONDITIONALACCESSCONDITIONS + case "ipAddressSeenByResourceProvider": + result |= IPADDRESSSEENBYRESOURCEPROVIDER_CONDITIONALACCESSCONDITIONS + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_CONDITIONALACCESSCONDITIONS + case "servicePrincipals": + result |= SERVICEPRINCIPALS_CONDITIONALACCESSCONDITIONS + case "servicePrincipalRisk": + result |= SERVICEPRINCIPALRISK_CONDITIONALACCESSCONDITIONS + case "authenticationFlows": + result |= AUTHENTICATIONFLOWS_CONDITIONALACCESSCONDITIONS + case "insiderRisk": + result |= INSIDERRISK_CONDITIONALACCESSCONDITIONS + default: + return 0, errors.New("Unknown ConditionalAccessConditions value: " + v) + } } return &result, nil } @@ -80,3 +90,6 @@ func SerializeConditionalAccessConditions(values []ConditionalAccessConditions) } return result } +func (i ConditionalAccessConditions) isMultiValue() bool { + return true +} diff --git a/models/conditional_access_device_platform.go b/models/conditional_access_device_platform.go index f196fed0c2c..2dbe5eef153 100644 --- a/models/conditional_access_device_platform.go +++ b/models/conditional_access_device_platform.go @@ -50,3 +50,6 @@ func SerializeConditionalAccessDevicePlatform(values []ConditionalAccessDevicePl } return result } +func (i ConditionalAccessDevicePlatform) isMultiValue() bool { + return false +} diff --git a/models/conditional_access_external_tenants_membership_kind.go b/models/conditional_access_external_tenants_membership_kind.go index fafc46b29c2..14972109ec2 100644 --- a/models/conditional_access_external_tenants_membership_kind.go +++ b/models/conditional_access_external_tenants_membership_kind.go @@ -35,3 +35,6 @@ func SerializeConditionalAccessExternalTenantsMembershipKind(values []Conditiona } return result } +func (i ConditionalAccessExternalTenantsMembershipKind) isMultiValue() bool { + return false +} diff --git a/models/conditional_access_grant_control.go b/models/conditional_access_grant_control.go index a488605a6eb..1b7284ccd7f 100644 --- a/models/conditional_access_grant_control.go +++ b/models/conditional_access_grant_control.go @@ -50,3 +50,6 @@ func SerializeConditionalAccessGrantControl(values []ConditionalAccessGrantContr } return result } +func (i ConditionalAccessGrantControl) isMultiValue() bool { + return false +} diff --git a/models/conditional_access_guest_or_external_user_types.go b/models/conditional_access_guest_or_external_user_types.go index 7dbbd234f04..c42d5aadc56 100644 --- a/models/conditional_access_guest_or_external_user_types.go +++ b/models/conditional_access_guest_or_external_user_types.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type ConditionalAccessGuestOrExternalUserTypes int @@ -17,29 +18,38 @@ const ( ) func (i ConditionalAccessGuestOrExternalUserTypes) String() string { - return []string{"none", "internalGuest", "b2bCollaborationGuest", "b2bCollaborationMember", "b2bDirectConnectUser", "otherExternalUser", "serviceProvider", "unknownFutureValue"}[i] + var values []string + for p := ConditionalAccessGuestOrExternalUserTypes(1); p <= UNKNOWNFUTUREVALUE_CONDITIONALACCESSGUESTOREXTERNALUSERTYPES; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "internalGuest", "b2bCollaborationGuest", "b2bCollaborationMember", "b2bDirectConnectUser", "otherExternalUser", "serviceProvider", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseConditionalAccessGuestOrExternalUserTypes(v string) (any, error) { - result := NONE_CONDITIONALACCESSGUESTOREXTERNALUSERTYPES - switch v { - case "none": - result = NONE_CONDITIONALACCESSGUESTOREXTERNALUSERTYPES - case "internalGuest": - result = INTERNALGUEST_CONDITIONALACCESSGUESTOREXTERNALUSERTYPES - case "b2bCollaborationGuest": - result = B2BCOLLABORATIONGUEST_CONDITIONALACCESSGUESTOREXTERNALUSERTYPES - case "b2bCollaborationMember": - result = B2BCOLLABORATIONMEMBER_CONDITIONALACCESSGUESTOREXTERNALUSERTYPES - case "b2bDirectConnectUser": - result = B2BDIRECTCONNECTUSER_CONDITIONALACCESSGUESTOREXTERNALUSERTYPES - case "otherExternalUser": - result = OTHEREXTERNALUSER_CONDITIONALACCESSGUESTOREXTERNALUSERTYPES - case "serviceProvider": - result = SERVICEPROVIDER_CONDITIONALACCESSGUESTOREXTERNALUSERTYPES - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_CONDITIONALACCESSGUESTOREXTERNALUSERTYPES - default: - return 0, errors.New("Unknown ConditionalAccessGuestOrExternalUserTypes value: " + v) + var result ConditionalAccessGuestOrExternalUserTypes + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_CONDITIONALACCESSGUESTOREXTERNALUSERTYPES + case "internalGuest": + result |= INTERNALGUEST_CONDITIONALACCESSGUESTOREXTERNALUSERTYPES + case "b2bCollaborationGuest": + result |= B2BCOLLABORATIONGUEST_CONDITIONALACCESSGUESTOREXTERNALUSERTYPES + case "b2bCollaborationMember": + result |= B2BCOLLABORATIONMEMBER_CONDITIONALACCESSGUESTOREXTERNALUSERTYPES + case "b2bDirectConnectUser": + result |= B2BDIRECTCONNECTUSER_CONDITIONALACCESSGUESTOREXTERNALUSERTYPES + case "otherExternalUser": + result |= OTHEREXTERNALUSER_CONDITIONALACCESSGUESTOREXTERNALUSERTYPES + case "serviceProvider": + result |= SERVICEPROVIDER_CONDITIONALACCESSGUESTOREXTERNALUSERTYPES + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_CONDITIONALACCESSGUESTOREXTERNALUSERTYPES + default: + return 0, errors.New("Unknown ConditionalAccessGuestOrExternalUserTypes value: " + v) + } } return &result, nil } @@ -50,3 +60,6 @@ func SerializeConditionalAccessGuestOrExternalUserTypes(values []ConditionalAcce } return result } +func (i ConditionalAccessGuestOrExternalUserTypes) isMultiValue() bool { + return true +} diff --git a/models/conditional_access_guests_or_external_users.go b/models/conditional_access_guests_or_external_users.go index 318f4ad45ee..3021993fb03 100644 --- a/models/conditional_access_guests_or_external_users.go +++ b/models/conditional_access_guests_or_external_users.go @@ -38,7 +38,7 @@ func (m *ConditionalAccessGuestsOrExternalUsers) GetAdditionalData()(map[string] func (m *ConditionalAccessGuestsOrExternalUsers) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetExternalTenants gets the externalTenants property value. The tenant IDs of the selected types of external users. Either all B2B tenant or a collection of tenant IDs. External tenants can be specified only when the property guestOrExternalUserTypes is not null or an empty String. +// GetExternalTenants gets the externalTenants property value. The tenant IDs of the selected types of external users. Either all B2B tenant or a collection of tenant IDs. External tenants can be specified only when the property guestOrExternalUserTypes isn't null or an empty String. func (m *ConditionalAccessGuestsOrExternalUsers) GetExternalTenants()(ConditionalAccessExternalTenantsable) { val, err := m.GetBackingStore().Get("externalTenants") if err != nil { @@ -146,7 +146,7 @@ func (m *ConditionalAccessGuestsOrExternalUsers) SetAdditionalData(value map[str func (m *ConditionalAccessGuestsOrExternalUsers) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetExternalTenants sets the externalTenants property value. The tenant IDs of the selected types of external users. Either all B2B tenant or a collection of tenant IDs. External tenants can be specified only when the property guestOrExternalUserTypes is not null or an empty String. +// SetExternalTenants sets the externalTenants property value. The tenant IDs of the selected types of external users. Either all B2B tenant or a collection of tenant IDs. External tenants can be specified only when the property guestOrExternalUserTypes isn't null or an empty String. func (m *ConditionalAccessGuestsOrExternalUsers) SetExternalTenants(value ConditionalAccessExternalTenantsable)() { err := m.GetBackingStore().Set("externalTenants", value) if err != nil { diff --git a/models/conditional_access_policy_state.go b/models/conditional_access_policy_state.go index 111acbd0073..d9a828fa0ab 100644 --- a/models/conditional_access_policy_state.go +++ b/models/conditional_access_policy_state.go @@ -35,3 +35,6 @@ func SerializeConditionalAccessPolicyState(values []ConditionalAccessPolicyState } return result } +func (i ConditionalAccessPolicyState) isMultiValue() bool { + return false +} diff --git a/models/conditional_access_rule.go b/models/conditional_access_rule.go index a95287183c9..b31804ecaa5 100644 --- a/models/conditional_access_rule.go +++ b/models/conditional_access_rule.go @@ -137,3 +137,6 @@ func SerializeConditionalAccessRule(values []ConditionalAccessRule) []string { } return result } +func (i ConditionalAccessRule) isMultiValue() bool { + return false +} diff --git a/models/conditional_access_status.go b/models/conditional_access_status.go index aaa8818812e..d228f67143d 100644 --- a/models/conditional_access_status.go +++ b/models/conditional_access_status.go @@ -38,3 +38,6 @@ func SerializeConditionalAccessStatus(values []ConditionalAccessStatus) []string } return result } +func (i ConditionalAccessStatus) isMultiValue() bool { + return false +} diff --git a/models/configuration_manager_action_delivery_status.go b/models/configuration_manager_action_delivery_status.go index f849e558a46..7eccc959778 100644 --- a/models/configuration_manager_action_delivery_status.go +++ b/models/configuration_manager_action_delivery_status.go @@ -46,3 +46,6 @@ func SerializeConfigurationManagerActionDeliveryStatus(values []ConfigurationMan } return result } +func (i ConfigurationManagerActionDeliveryStatus) isMultiValue() bool { + return false +} diff --git a/models/configuration_manager_action_type.go b/models/configuration_manager_action_type.go index 34a38c8a685..fb139c2f588 100644 --- a/models/configuration_manager_action_type.go +++ b/models/configuration_manager_action_type.go @@ -54,3 +54,6 @@ func SerializeConfigurationManagerActionType(values []ConfigurationManagerAction } return result } +func (i ConfigurationManagerActionType) isMultiValue() bool { + return false +} diff --git a/models/configuration_manager_client_state.go b/models/configuration_manager_client_state.go index 75cd2c74555..1c169eedb93 100644 --- a/models/configuration_manager_client_state.go +++ b/models/configuration_manager_client_state.go @@ -50,3 +50,6 @@ func SerializeConfigurationManagerClientState(values []ConfigurationManagerClien } return result } +func (i ConfigurationManagerClientState) isMultiValue() bool { + return false +} diff --git a/models/configuration_usage.go b/models/configuration_usage.go index 325d9e42ec0..237cd76fb07 100644 --- a/models/configuration_usage.go +++ b/models/configuration_usage.go @@ -42,3 +42,6 @@ func SerializeConfigurationUsage(values []ConfigurationUsage) []string { } return result } +func (i ConfigurationUsage) isMultiValue() bool { + return false +} diff --git a/models/confirmed_by.go b/models/confirmed_by.go index 33bf037a09c..2c4ea6e9776 100644 --- a/models/confirmed_by.go +++ b/models/confirmed_by.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type ConfirmedBy int @@ -13,21 +14,30 @@ const ( ) func (i ConfirmedBy) String() string { - return []string{"none", "user", "manager", "unknownFutureValue"}[i] + var values []string + for p := ConfirmedBy(1); p <= UNKNOWNFUTUREVALUE_CONFIRMEDBY; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "user", "manager", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseConfirmedBy(v string) (any, error) { - result := NONE_CONFIRMEDBY - switch v { - case "none": - result = NONE_CONFIRMEDBY - case "user": - result = USER_CONFIRMEDBY - case "manager": - result = MANAGER_CONFIRMEDBY - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_CONFIRMEDBY - default: - return 0, errors.New("Unknown ConfirmedBy value: " + v) + var result ConfirmedBy + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_CONFIRMEDBY + case "user": + result |= USER_CONFIRMEDBY + case "manager": + result |= MANAGER_CONFIRMEDBY + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_CONFIRMEDBY + default: + return 0, errors.New("Unknown ConfirmedBy value: " + v) + } } return &result, nil } @@ -38,3 +48,6 @@ func SerializeConfirmedBy(values []ConfirmedBy) []string { } return result } +func (i ConfirmedBy) isMultiValue() bool { + return true +} diff --git a/models/connected_organization_state.go b/models/connected_organization_state.go index accafc7a06c..7f3316fa39f 100644 --- a/models/connected_organization_state.go +++ b/models/connected_organization_state.go @@ -35,3 +35,6 @@ func SerializeConnectedOrganizationState(values []ConnectedOrganizationState) [] } return result } +func (i ConnectedOrganizationState) isMultiValue() bool { + return false +} diff --git a/models/connection_direction.go b/models/connection_direction.go index 77cb97ff8a5..300b87a2abb 100644 --- a/models/connection_direction.go +++ b/models/connection_direction.go @@ -38,3 +38,6 @@ func SerializeConnectionDirection(values []ConnectionDirection) []string { } return result } +func (i ConnectionDirection) isMultiValue() bool { + return false +} diff --git a/models/connection_operation_status.go b/models/connection_operation_status.go index 2415af7d9a1..b32cb2dcf15 100644 --- a/models/connection_operation_status.go +++ b/models/connection_operation_status.go @@ -38,3 +38,6 @@ func SerializeConnectionOperationStatus(values []ConnectionOperationStatus) []st } return result } +func (i ConnectionOperationStatus) isMultiValue() bool { + return false +} diff --git a/models/connection_state.go b/models/connection_state.go index e2705925ef3..900cd143413 100644 --- a/models/connection_state.go +++ b/models/connection_state.go @@ -41,3 +41,6 @@ func SerializeConnectionState(values []ConnectionState) []string { } return result } +func (i ConnectionState) isMultiValue() bool { + return false +} diff --git a/models/connection_status.go b/models/connection_status.go index 83d5eff9e2a..be0f22ce92e 100644 --- a/models/connection_status.go +++ b/models/connection_status.go @@ -44,3 +44,6 @@ func SerializeConnectionStatus(values []ConnectionStatus) []string { } return result } +func (i ConnectionStatus) isMultiValue() bool { + return false +} diff --git a/models/connector_group_region.go b/models/connector_group_region.go index bebe750dc65..1d4e99b2961 100644 --- a/models/connector_group_region.go +++ b/models/connector_group_region.go @@ -44,3 +44,6 @@ func SerializeConnectorGroupRegion(values []ConnectorGroupRegion) []string { } return result } +func (i ConnectorGroupRegion) isMultiValue() bool { + return false +} diff --git a/models/connector_group_type.go b/models/connector_group_type.go index bc066b2d745..6b9c2733363 100644 --- a/models/connector_group_type.go +++ b/models/connector_group_type.go @@ -29,3 +29,6 @@ func SerializeConnectorGroupType(values []ConnectorGroupType) []string { } return result } +func (i ConnectorGroupType) isMultiValue() bool { + return false +} diff --git a/models/connector_health_state.go b/models/connector_health_state.go index 4bf85d9fc2b..d6ca2d8cbae 100644 --- a/models/connector_health_state.go +++ b/models/connector_health_state.go @@ -42,3 +42,6 @@ func SerializeConnectorHealthState(values []ConnectorHealthState) []string { } return result } +func (i ConnectorHealthState) isMultiValue() bool { + return false +} diff --git a/models/connector_name.go b/models/connector_name.go index 5747f0b837b..bd60b92a5e0 100644 --- a/models/connector_name.go +++ b/models/connector_name.go @@ -90,3 +90,6 @@ func SerializeConnectorName(values []ConnectorName) []string { } return result } +func (i ConnectorName) isMultiValue() bool { + return false +} diff --git a/models/connector_status.go b/models/connector_status.go index f81f2a43021..045d71722ca 100644 --- a/models/connector_status.go +++ b/models/connector_status.go @@ -32,3 +32,6 @@ func SerializeConnectorStatus(values []ConnectorStatus) []string { } return result } +func (i ConnectorStatus) isMultiValue() bool { + return false +} diff --git a/models/contact_relationship.go b/models/contact_relationship.go index 6c7bd372fbc..d2a9ed25c55 100644 --- a/models/contact_relationship.go +++ b/models/contact_relationship.go @@ -50,3 +50,6 @@ func SerializeContactRelationship(values []ContactRelationship) []string { } return result } +func (i ContactRelationship) isMultiValue() bool { + return false +} diff --git a/models/content_alignment.go b/models/content_alignment.go index 91a2fdbdb63..28420230bdf 100644 --- a/models/content_alignment.go +++ b/models/content_alignment.go @@ -35,3 +35,6 @@ func SerializeContentAlignment(values []ContentAlignment) []string { } return result } +func (i ContentAlignment) isMultiValue() bool { + return false +} diff --git a/models/content_format.go b/models/content_format.go index 3df79404885..af4cbd42e0e 100644 --- a/models/content_format.go +++ b/models/content_format.go @@ -32,3 +32,6 @@ func SerializeContentFormat(values []ContentFormat) []string { } return result } +func (i ContentFormat) isMultiValue() bool { + return false +} diff --git a/models/content_state.go b/models/content_state.go index e9687741d19..e5b7cced2f2 100644 --- a/models/content_state.go +++ b/models/content_state.go @@ -35,3 +35,6 @@ func SerializeContentState(values []ContentState) []string { } return result } +func (i ContentState) isMultiValue() bool { + return false +} diff --git a/models/content_type.go b/models/content_type.go index c7b31d25fe2..962925eabce 100644 --- a/models/content_type.go +++ b/models/content_type.go @@ -19,7 +19,7 @@ func NewContentType()(*ContentType) { func CreateContentTypeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewContentType(), nil } -// GetAssociatedHubsUrls gets the associatedHubsUrls property value. List of canonical URLs for hub sites with which this content type is associated to. This will contain all hubsites where this content type is queued to be enforced or is already enforced. Enforcing a content type means that the content type will be applied to the lists in the enforced sites. +// GetAssociatedHubsUrls gets the associatedHubsUrls property value. List of canonical URLs for hub sites with which this content type is associated to. This contains all hub sites where this content type is queued to be enforced or is already enforced. Enforcing a content type means that the content type will be applied to the lists in the enforced sites. func (m *ContentType) GetAssociatedHubsUrls()([]string) { val, err := m.GetBackingStore().Get("associatedHubsUrls") if err != nil { @@ -431,7 +431,7 @@ func (m *ContentType) GetPropagateChanges()(*bool) { } return nil } -// GetReadOnly gets the readOnly property value. If true, the content type cannot be modified unless this value is first set to false. +// GetReadOnly gets the readOnly property value. If true, the content type can't be modified unless this value is first set to false. func (m *ContentType) GetReadOnly()(*bool) { val, err := m.GetBackingStore().Get("readOnly") if err != nil { @@ -442,7 +442,7 @@ func (m *ContentType) GetReadOnly()(*bool) { } return nil } -// GetSealed gets the sealed property value. If true, the content type cannot be modified by users or through push-down operations. Only site collection administrators can seal or unseal content types. +// GetSealed gets the sealed property value. If true, the content type can't be modified by users or through push-down operations. Only site collection administrators can seal or unseal content types. func (m *ContentType) GetSealed()(*bool) { val, err := m.GetBackingStore().Get("sealed") if err != nil { @@ -599,7 +599,7 @@ func (m *ContentType) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6 } return nil } -// SetAssociatedHubsUrls sets the associatedHubsUrls property value. List of canonical URLs for hub sites with which this content type is associated to. This will contain all hubsites where this content type is queued to be enforced or is already enforced. Enforcing a content type means that the content type will be applied to the lists in the enforced sites. +// SetAssociatedHubsUrls sets the associatedHubsUrls property value. List of canonical URLs for hub sites with which this content type is associated to. This contains all hub sites where this content type is queued to be enforced or is already enforced. Enforcing a content type means that the content type will be applied to the lists in the enforced sites. func (m *ContentType) SetAssociatedHubsUrls(value []string)() { err := m.GetBackingStore().Set("associatedHubsUrls", value) if err != nil { @@ -718,14 +718,14 @@ func (m *ContentType) SetPropagateChanges(value *bool)() { panic(err) } } -// SetReadOnly sets the readOnly property value. If true, the content type cannot be modified unless this value is first set to false. +// SetReadOnly sets the readOnly property value. If true, the content type can't be modified unless this value is first set to false. func (m *ContentType) SetReadOnly(value *bool)() { err := m.GetBackingStore().Set("readOnly", value) if err != nil { panic(err) } } -// SetSealed sets the sealed property value. If true, the content type cannot be modified by users or through push-down operations. Only site collection administrators can seal or unseal content types. +// SetSealed sets the sealed property value. If true, the content type can't be modified by users or through push-down operations. Only site collection administrators can seal or unseal content types. func (m *ContentType) SetSealed(value *bool)() { err := m.GetBackingStore().Set("sealed", value) if err != nil { diff --git a/models/continuous_access_evaluation_mode.go b/models/continuous_access_evaluation_mode.go index cab17d0085f..242401388c4 100644 --- a/models/continuous_access_evaluation_mode.go +++ b/models/continuous_access_evaluation_mode.go @@ -38,3 +38,6 @@ func SerializeContinuousAccessEvaluationMode(values []ContinuousAccessEvaluation } return result } +func (i ContinuousAccessEvaluationMode) isMultiValue() bool { + return false +} diff --git a/models/contract.go b/models/contract.go index f38351bc70f..310ec8aedbe 100644 --- a/models/contract.go +++ b/models/contract.go @@ -44,7 +44,7 @@ func (m *Contract) GetCustomerId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf67 } return nil } -// GetDefaultDomainName gets the defaultDomainName property value. A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's default domain name changes. +// GetDefaultDomainName gets the defaultDomainName property value. A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It isn't automatically updated if the customer tenant's default domain name changes. func (m *Contract) GetDefaultDomainName()(*string) { val, err := m.GetBackingStore().Get("defaultDomainName") if err != nil { @@ -55,7 +55,7 @@ func (m *Contract) GetDefaultDomainName()(*string) { } return nil } -// GetDisplayName gets the displayName property value. A copy of the customer tenant's display name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's display name changes. +// GetDisplayName gets the displayName property value. A copy of the customer tenant's display name. The copy is made when the partnership with the customer is established. It isn't automatically updated if the customer tenant's display name changes. func (m *Contract) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") if err != nil { @@ -157,14 +157,14 @@ func (m *Contract) SetCustomerId(value *i561e97a8befe7661a44c8f54600992b4207a3a0 panic(err) } } -// SetDefaultDomainName sets the defaultDomainName property value. A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's default domain name changes. +// SetDefaultDomainName sets the defaultDomainName property value. A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It isn't automatically updated if the customer tenant's default domain name changes. func (m *Contract) SetDefaultDomainName(value *string)() { err := m.GetBackingStore().Set("defaultDomainName", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. A copy of the customer tenant's display name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's display name changes. +// SetDisplayName sets the displayName property value. A copy of the customer tenant's display name. The copy is made when the partnership with the customer is established. It isn't automatically updated if the customer tenant's display name changes. func (m *Contract) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { diff --git a/models/country_lookup_method_type.go b/models/country_lookup_method_type.go index cd8615a798d..b16aabe8405 100644 --- a/models/country_lookup_method_type.go +++ b/models/country_lookup_method_type.go @@ -35,3 +35,6 @@ func SerializeCountryLookupMethodType(values []CountryLookupMethodType) []string } return result } +func (i CountryLookupMethodType) isMultiValue() bool { + return false +} diff --git a/models/course_status.go b/models/course_status.go index 94ecd713d70..7874b4276ae 100644 --- a/models/course_status.go +++ b/models/course_status.go @@ -38,3 +38,6 @@ func SerializeCourseStatus(values []CourseStatus) []string { } return result } +func (i CourseStatus) isMultiValue() bool { + return false +} diff --git a/models/cross_tenant_access_policy_configuration_default.go b/models/cross_tenant_access_policy_configuration_default.go index e8e7241467f..3fb11afa0e1 100644 --- a/models/cross_tenant_access_policy_configuration_default.go +++ b/models/cross_tenant_access_policy_configuration_default.go @@ -137,6 +137,16 @@ func (m *CrossTenantAccessPolicyConfigurationDefault) GetFieldDeserializers()(ma } return nil } + res["invitationRedemptionIdentityProviderConfiguration"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDefaultInvitationRedemptionIdentityProviderConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetInvitationRedemptionIdentityProviderConfiguration(val.(DefaultInvitationRedemptionIdentityProviderConfigurationable)) + } + return nil + } res["isServiceDefault"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -170,6 +180,17 @@ func (m *CrossTenantAccessPolicyConfigurationDefault) GetInboundTrust()(CrossTen } return nil } +// GetInvitationRedemptionIdentityProviderConfiguration gets the invitationRedemptionIdentityProviderConfiguration property value. The invitationRedemptionIdentityProviderConfiguration property +func (m *CrossTenantAccessPolicyConfigurationDefault) GetInvitationRedemptionIdentityProviderConfiguration()(DefaultInvitationRedemptionIdentityProviderConfigurationable) { + val, err := m.GetBackingStore().Get("invitationRedemptionIdentityProviderConfiguration") + if err != nil { + panic(err) + } + if val != nil { + return val.(DefaultInvitationRedemptionIdentityProviderConfigurationable) + } + return nil +} // GetIsServiceDefault gets the isServiceDefault property value. If true, the default configuration is set to the system default configuration. If false, the default settings have been customized. func (m *CrossTenantAccessPolicyConfigurationDefault) GetIsServiceDefault()(*bool) { val, err := m.GetBackingStore().Get("isServiceDefault") @@ -234,6 +255,12 @@ func (m *CrossTenantAccessPolicyConfigurationDefault) Serialize(writer i878a80d2 return err } } + { + err = writer.WriteObjectValue("invitationRedemptionIdentityProviderConfiguration", m.GetInvitationRedemptionIdentityProviderConfiguration()) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("isServiceDefault", m.GetIsServiceDefault()) if err != nil { @@ -290,6 +317,13 @@ func (m *CrossTenantAccessPolicyConfigurationDefault) SetInboundTrust(value Cros panic(err) } } +// SetInvitationRedemptionIdentityProviderConfiguration sets the invitationRedemptionIdentityProviderConfiguration property value. The invitationRedemptionIdentityProviderConfiguration property +func (m *CrossTenantAccessPolicyConfigurationDefault) SetInvitationRedemptionIdentityProviderConfiguration(value DefaultInvitationRedemptionIdentityProviderConfigurationable)() { + err := m.GetBackingStore().Set("invitationRedemptionIdentityProviderConfiguration", value) + if err != nil { + panic(err) + } +} // SetIsServiceDefault sets the isServiceDefault property value. If true, the default configuration is set to the system default configuration. If false, the default settings have been customized. func (m *CrossTenantAccessPolicyConfigurationDefault) SetIsServiceDefault(value *bool)() { err := m.GetBackingStore().Set("isServiceDefault", value) @@ -314,6 +348,7 @@ type CrossTenantAccessPolicyConfigurationDefaultable interface { GetB2bDirectConnectInbound()(CrossTenantAccessPolicyB2BSettingable) GetB2bDirectConnectOutbound()(CrossTenantAccessPolicyB2BSettingable) GetInboundTrust()(CrossTenantAccessPolicyInboundTrustable) + GetInvitationRedemptionIdentityProviderConfiguration()(DefaultInvitationRedemptionIdentityProviderConfigurationable) GetIsServiceDefault()(*bool) GetTenantRestrictions()(CrossTenantAccessPolicyTenantRestrictionsable) SetAutomaticUserConsentSettings(value InboundOutboundPolicyConfigurationable)() @@ -322,6 +357,7 @@ type CrossTenantAccessPolicyConfigurationDefaultable interface { SetB2bDirectConnectInbound(value CrossTenantAccessPolicyB2BSettingable)() SetB2bDirectConnectOutbound(value CrossTenantAccessPolicyB2BSettingable)() SetInboundTrust(value CrossTenantAccessPolicyInboundTrustable)() + SetInvitationRedemptionIdentityProviderConfiguration(value DefaultInvitationRedemptionIdentityProviderConfigurationable)() SetIsServiceDefault(value *bool)() SetTenantRestrictions(value CrossTenantAccessPolicyTenantRestrictionsable)() } diff --git a/models/cross_tenant_access_policy_target_configuration_access_type.go b/models/cross_tenant_access_policy_target_configuration_access_type.go index 7632a789cba..7bac6df1705 100644 --- a/models/cross_tenant_access_policy_target_configuration_access_type.go +++ b/models/cross_tenant_access_policy_target_configuration_access_type.go @@ -35,3 +35,6 @@ func SerializeCrossTenantAccessPolicyTargetConfigurationAccessType(values []Cros } return result } +func (i CrossTenantAccessPolicyTargetConfigurationAccessType) isMultiValue() bool { + return false +} diff --git a/models/cross_tenant_access_policy_target_type.go b/models/cross_tenant_access_policy_target_type.go index 32e389b8060..970142b9703 100644 --- a/models/cross_tenant_access_policy_target_type.go +++ b/models/cross_tenant_access_policy_target_type.go @@ -38,3 +38,6 @@ func SerializeCrossTenantAccessPolicyTargetType(values []CrossTenantAccessPolicy } return result } +func (i CrossTenantAccessPolicyTargetType) isMultiValue() bool { + return false +} diff --git a/models/custom_extension_callout_instance_status.go b/models/custom_extension_callout_instance_status.go index 7c46fce3a4e..3c5be8c8ed4 100644 --- a/models/custom_extension_callout_instance_status.go +++ b/models/custom_extension_callout_instance_status.go @@ -44,3 +44,6 @@ func SerializeCustomExtensionCalloutInstanceStatus(values []CustomExtensionCallo } return result } +func (i CustomExtensionCalloutInstanceStatus) isMultiValue() bool { + return false +} diff --git a/models/custom_extension_stage_setting.go b/models/custom_extension_stage_setting.go index 671c195d460..e3e2a3e95c7 100644 --- a/models/custom_extension_stage_setting.go +++ b/models/custom_extension_stage_setting.go @@ -19,7 +19,7 @@ func NewCustomExtensionStageSetting()(*CustomExtensionStageSetting) { func CreateCustomExtensionStageSettingFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewCustomExtensionStageSetting(), nil } -// GetCustomExtension gets the customExtension property value. Indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. +// GetCustomExtension gets the customExtension property value. Indicates the custom workflow extension that is executed at this stage. Nullable. Supports $expand. func (m *CustomExtensionStageSetting) GetCustomExtension()(CustomCalloutExtensionable) { val, err := m.GetBackingStore().Get("customExtension") if err != nil { @@ -87,7 +87,7 @@ func (m *CustomExtensionStageSetting) Serialize(writer i878a80d2330e89d26896388a } return nil } -// SetCustomExtension sets the customExtension property value. Indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. +// SetCustomExtension sets the customExtension property value. Indicates the custom workflow extension that is executed at this stage. Nullable. Supports $expand. func (m *CustomExtensionStageSetting) SetCustomExtension(value CustomCalloutExtensionable)() { err := m.GetBackingStore().Set("customExtension", value) if err != nil { diff --git a/models/data_policy_operation_status.go b/models/data_policy_operation_status.go index f4d71560937..b4435b925fb 100644 --- a/models/data_policy_operation_status.go +++ b/models/data_policy_operation_status.go @@ -41,3 +41,6 @@ func SerializeDataPolicyOperationStatus(values []DataPolicyOperationStatus) []st } return result } +func (i DataPolicyOperationStatus) isMultiValue() bool { + return false +} diff --git a/models/data_subject_type.go b/models/data_subject_type.go index ebfac3800fa..1a2d9054822 100644 --- a/models/data_subject_type.go +++ b/models/data_subject_type.go @@ -53,3 +53,6 @@ func SerializeDataSubjectType(values []DataSubjectType) []string { } return result } +func (i DataSubjectType) isMultiValue() bool { + return false +} diff --git a/models/data_type.go b/models/data_type.go index 6431324ca1d..2ead45d240c 100644 --- a/models/data_type.go +++ b/models/data_type.go @@ -86,3 +86,6 @@ func SerializeDataType(values []DataType) []string { } return result } +func (i DataType) isMultiValue() bool { + return false +} diff --git a/models/day_of_week.go b/models/day_of_week.go index 402a0c61c13..1fdac4a9d89 100644 --- a/models/day_of_week.go +++ b/models/day_of_week.go @@ -47,3 +47,6 @@ func SerializeDayOfWeek(values []DayOfWeek) []string { } return result } +func (i DayOfWeek) isMultiValue() bool { + return false +} diff --git a/models/decision_item_principal_resource_membership_type.go b/models/decision_item_principal_resource_membership_type.go index bc58453d457..8020f6f9c25 100644 --- a/models/decision_item_principal_resource_membership_type.go +++ b/models/decision_item_principal_resource_membership_type.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type DecisionItemPrincipalResourceMembershipType int @@ -12,19 +13,28 @@ const ( ) func (i DecisionItemPrincipalResourceMembershipType) String() string { - return []string{"direct", "indirect", "unknownFutureValue"}[i] + var values []string + for p := DecisionItemPrincipalResourceMembershipType(1); p <= UNKNOWNFUTUREVALUE_DECISIONITEMPRINCIPALRESOURCEMEMBERSHIPTYPE; p <<= 1 { + if i&p == p { + values = append(values, []string{"direct", "indirect", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseDecisionItemPrincipalResourceMembershipType(v string) (any, error) { - result := DIRECT_DECISIONITEMPRINCIPALRESOURCEMEMBERSHIPTYPE - switch v { - case "direct": - result = DIRECT_DECISIONITEMPRINCIPALRESOURCEMEMBERSHIPTYPE - case "indirect": - result = INDIRECT_DECISIONITEMPRINCIPALRESOURCEMEMBERSHIPTYPE - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_DECISIONITEMPRINCIPALRESOURCEMEMBERSHIPTYPE - default: - return 0, errors.New("Unknown DecisionItemPrincipalResourceMembershipType value: " + v) + var result DecisionItemPrincipalResourceMembershipType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "direct": + result |= DIRECT_DECISIONITEMPRINCIPALRESOURCEMEMBERSHIPTYPE + case "indirect": + result |= INDIRECT_DECISIONITEMPRINCIPALRESOURCEMEMBERSHIPTYPE + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_DECISIONITEMPRINCIPALRESOURCEMEMBERSHIPTYPE + default: + return 0, errors.New("Unknown DecisionItemPrincipalResourceMembershipType value: " + v) + } } return &result, nil } @@ -35,3 +45,6 @@ func SerializeDecisionItemPrincipalResourceMembershipType(values []DecisionItemP } return result } +func (i DecisionItemPrincipalResourceMembershipType) isMultiValue() bool { + return true +} diff --git a/models/default_invitation_redemption_identity_provider_configuration.go b/models/default_invitation_redemption_identity_provider_configuration.go new file mode 100644 index 00000000000..460aa374c0a --- /dev/null +++ b/models/default_invitation_redemption_identity_provider_configuration.go @@ -0,0 +1,39 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// DefaultInvitationRedemptionIdentityProviderConfiguration +type DefaultInvitationRedemptionIdentityProviderConfiguration struct { + InvitationRedemptionIdentityProviderConfiguration +} +// NewDefaultInvitationRedemptionIdentityProviderConfiguration instantiates a new defaultInvitationRedemptionIdentityProviderConfiguration and sets the default values. +func NewDefaultInvitationRedemptionIdentityProviderConfiguration()(*DefaultInvitationRedemptionIdentityProviderConfiguration) { + m := &DefaultInvitationRedemptionIdentityProviderConfiguration{ + InvitationRedemptionIdentityProviderConfiguration: *NewInvitationRedemptionIdentityProviderConfiguration(), + } + return m +} +// CreateDefaultInvitationRedemptionIdentityProviderConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateDefaultInvitationRedemptionIdentityProviderConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDefaultInvitationRedemptionIdentityProviderConfiguration(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *DefaultInvitationRedemptionIdentityProviderConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.InvitationRedemptionIdentityProviderConfiguration.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *DefaultInvitationRedemptionIdentityProviderConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.InvitationRedemptionIdentityProviderConfiguration.Serialize(writer) + if err != nil { + return err + } + return nil +} +// DefaultInvitationRedemptionIdentityProviderConfigurationable +type DefaultInvitationRedemptionIdentityProviderConfigurationable interface { + InvitationRedemptionIdentityProviderConfigurationable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/default_mfa_method_type.go b/models/default_mfa_method_type.go index 04b3482a706..929237bbe4f 100644 --- a/models/default_mfa_method_type.go +++ b/models/default_mfa_method_type.go @@ -47,3 +47,6 @@ func SerializeDefaultMfaMethodType(values []DefaultMfaMethodType) []string { } return result } +func (i DefaultMfaMethodType) isMultiValue() bool { + return false +} diff --git a/models/defender_attack_surface_type.go b/models/defender_attack_surface_type.go index b0ba69dc08e..17022870a76 100644 --- a/models/defender_attack_surface_type.go +++ b/models/defender_attack_surface_type.go @@ -46,3 +46,6 @@ func SerializeDefenderAttackSurfaceType(values []DefenderAttackSurfaceType) []st } return result } +func (i DefenderAttackSurfaceType) isMultiValue() bool { + return false +} diff --git a/models/defender_cloud_block_level_type.go b/models/defender_cloud_block_level_type.go index 2c6705acb21..3ec3c0504cd 100644 --- a/models/defender_cloud_block_level_type.go +++ b/models/defender_cloud_block_level_type.go @@ -42,3 +42,6 @@ func SerializeDefenderCloudBlockLevelType(values []DefenderCloudBlockLevelType) } return result } +func (i DefenderCloudBlockLevelType) isMultiValue() bool { + return false +} diff --git a/models/defender_monitor_file_activity.go b/models/defender_monitor_file_activity.go index 9e9edca24b6..7a0a8d7974c 100644 --- a/models/defender_monitor_file_activity.go +++ b/models/defender_monitor_file_activity.go @@ -46,3 +46,6 @@ func SerializeDefenderMonitorFileActivity(values []DefenderMonitorFileActivity) } return result } +func (i DefenderMonitorFileActivity) isMultiValue() bool { + return false +} diff --git a/models/defender_potentially_unwanted_app_action.go b/models/defender_potentially_unwanted_app_action.go index 58269971147..4ccf1323dcf 100644 --- a/models/defender_potentially_unwanted_app_action.go +++ b/models/defender_potentially_unwanted_app_action.go @@ -38,3 +38,6 @@ func SerializeDefenderPotentiallyUnwantedAppAction(values []DefenderPotentiallyU } return result } +func (i DefenderPotentiallyUnwantedAppAction) isMultiValue() bool { + return false +} diff --git a/models/defender_prompt_for_sample_submission.go b/models/defender_prompt_for_sample_submission.go index c0d23d82e8c..1960067884e 100644 --- a/models/defender_prompt_for_sample_submission.go +++ b/models/defender_prompt_for_sample_submission.go @@ -46,3 +46,6 @@ func SerializeDefenderPromptForSampleSubmission(values []DefenderPromptForSample } return result } +func (i DefenderPromptForSampleSubmission) isMultiValue() bool { + return false +} diff --git a/models/defender_protection_type.go b/models/defender_protection_type.go index 198d834ef3c..6ff208a4940 100644 --- a/models/defender_protection_type.go +++ b/models/defender_protection_type.go @@ -46,3 +46,6 @@ func SerializeDefenderProtectionType(values []DefenderProtectionType) []string { } return result } +func (i DefenderProtectionType) isMultiValue() bool { + return false +} diff --git a/models/defender_realtime_scan_direction.go b/models/defender_realtime_scan_direction.go index 86a22e87dfb..32e1fa98d1e 100644 --- a/models/defender_realtime_scan_direction.go +++ b/models/defender_realtime_scan_direction.go @@ -38,3 +38,6 @@ func SerializeDefenderRealtimeScanDirection(values []DefenderRealtimeScanDirecti } return result } +func (i DefenderRealtimeScanDirection) isMultiValue() bool { + return false +} diff --git a/models/defender_scan_type.go b/models/defender_scan_type.go index 6bdc903ceec..622fae14642 100644 --- a/models/defender_scan_type.go +++ b/models/defender_scan_type.go @@ -42,3 +42,6 @@ func SerializeDefenderScanType(values []DefenderScanType) []string { } return result } +func (i DefenderScanType) isMultiValue() bool { + return false +} diff --git a/models/defender_security_center_i_t_contact_display_type.go b/models/defender_security_center_i_t_contact_display_type.go index 7996f87aadf..d07a788b4bc 100644 --- a/models/defender_security_center_i_t_contact_display_type.go +++ b/models/defender_security_center_i_t_contact_display_type.go @@ -42,3 +42,6 @@ func SerializeDefenderSecurityCenterITContactDisplayType(values []DefenderSecuri } return result } +func (i DefenderSecurityCenterITContactDisplayType) isMultiValue() bool { + return false +} diff --git a/models/defender_security_center_notifications_from_app_type.go b/models/defender_security_center_notifications_from_app_type.go index 5803df0fefd..d6057cf4226 100644 --- a/models/defender_security_center_notifications_from_app_type.go +++ b/models/defender_security_center_notifications_from_app_type.go @@ -38,3 +38,6 @@ func SerializeDefenderSecurityCenterNotificationsFromAppType(values []DefenderSe } return result } +func (i DefenderSecurityCenterNotificationsFromAppType) isMultiValue() bool { + return false +} diff --git a/models/defender_submit_samples_consent_type.go b/models/defender_submit_samples_consent_type.go index ed4c04d114d..3a6f32a7a91 100644 --- a/models/defender_submit_samples_consent_type.go +++ b/models/defender_submit_samples_consent_type.go @@ -42,3 +42,6 @@ func SerializeDefenderSubmitSamplesConsentType(values []DefenderSubmitSamplesCon } return result } +func (i DefenderSubmitSamplesConsentType) isMultiValue() bool { + return false +} diff --git a/models/defender_threat_action.go b/models/defender_threat_action.go index 275eec9e48a..f89ce03a00a 100644 --- a/models/defender_threat_action.go +++ b/models/defender_threat_action.go @@ -54,3 +54,6 @@ func SerializeDefenderThreatAction(values []DefenderThreatAction) []string { } return result } +func (i DefenderThreatAction) isMultiValue() bool { + return false +} diff --git a/models/delegate_meeting_message_delivery_options.go b/models/delegate_meeting_message_delivery_options.go index 0a498c936c7..1080a8fc7d2 100644 --- a/models/delegate_meeting_message_delivery_options.go +++ b/models/delegate_meeting_message_delivery_options.go @@ -35,3 +35,6 @@ func SerializeDelegateMeetingMessageDeliveryOptions(values []DelegateMeetingMess } return result } +func (i DelegateMeetingMessageDeliveryOptions) isMultiValue() bool { + return false +} diff --git a/models/delegated_admin_access_assignment_status.go b/models/delegated_admin_access_assignment_status.go index a87a5d65fe9..d368d664efb 100644 --- a/models/delegated_admin_access_assignment_status.go +++ b/models/delegated_admin_access_assignment_status.go @@ -44,3 +44,6 @@ func SerializeDelegatedAdminAccessAssignmentStatus(values []DelegatedAdminAccess } return result } +func (i DelegatedAdminAccessAssignmentStatus) isMultiValue() bool { + return false +} diff --git a/models/delegated_admin_access_container_type.go b/models/delegated_admin_access_container_type.go index afd3c076ef0..24c233e487b 100644 --- a/models/delegated_admin_access_container_type.go +++ b/models/delegated_admin_access_container_type.go @@ -32,3 +32,6 @@ func SerializeDelegatedAdminAccessContainerType(values []DelegatedAdminAccessCon } return result } +func (i DelegatedAdminAccessContainerType) isMultiValue() bool { + return false +} diff --git a/models/delegated_admin_customer.go b/models/delegated_admin_customer.go index bd60fb3ef08..7abe21b266f 100644 --- a/models/delegated_admin_customer.go +++ b/models/delegated_admin_customer.go @@ -19,7 +19,7 @@ func NewDelegatedAdminCustomer()(*DelegatedAdminCustomer) { func CreateDelegatedAdminCustomerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewDelegatedAdminCustomer(), nil } -// GetDisplayName gets the displayName property value. The Azure AD display name of the customer tenant. Read-only. Supports $orderBy. +// GetDisplayName gets the displayName property value. The Azure AD display name of the customer tenant. Read-only. Supports $orderby. func (m *DelegatedAdminCustomer) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") if err != nil { @@ -125,7 +125,7 @@ func (m *DelegatedAdminCustomer) Serialize(writer i878a80d2330e89d26896388a3f487 } return nil } -// SetDisplayName sets the displayName property value. The Azure AD display name of the customer tenant. Read-only. Supports $orderBy. +// SetDisplayName sets the displayName property value. The Azure AD display name of the customer tenant. Read-only. Supports $orderby. func (m *DelegatedAdminCustomer) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { diff --git a/models/delegated_admin_relationship.go b/models/delegated_admin_relationship.go index 37ad8b2af35..96200f34012 100644 --- a/models/delegated_admin_relationship.go +++ b/models/delegated_admin_relationship.go @@ -71,6 +71,17 @@ func (m *DelegatedAdminRelationship) GetActivatedDateTime()(*i336074805fc853987a } return nil } +// GetAutoExtendDuration gets the autoExtendDuration property value. The autoExtendDuration property +func (m *DelegatedAdminRelationship) GetAutoExtendDuration()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) { + val, err := m.GetBackingStore().Get("autoExtendDuration") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) + } + return nil +} // GetCreatedDateTime gets the createdDateTime property value. The date and time in ISO 8601 format and in UTC time when the relationship was created. Read-only. func (m *DelegatedAdminRelationship) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") @@ -82,7 +93,7 @@ func (m *DelegatedAdminRelationship) GetCreatedDateTime()(*i336074805fc853987abe } return nil } -// GetCustomer gets the customer property value. The display name and unique identifier of the customer of the relationship. This is configured either by the partner at the time the relationship is created or by the system after the customer approves the relationship. Cannot be changed by the customer. +// GetCustomer gets the customer property value. The display name and unique identifier of the customer of the relationship. This is configured either by the partner at the time the relationship is created or by the system after the customer approves the relationship. Can't be changed by the customer. func (m *DelegatedAdminRelationship) GetCustomer()(DelegatedAdminRelationshipCustomerParticipantable) { val, err := m.GetBackingStore().Get("customer") if err != nil { @@ -93,7 +104,7 @@ func (m *DelegatedAdminRelationship) GetCustomer()(DelegatedAdminRelationshipCus } return nil } -// GetDisplayName gets the displayName property value. The display name of the relationship used for ease of identification. Must be unique across all delegated admin relationships of the partner. This is set by the partner only when the relationship is in the created status and cannot be changed by the customer. +// GetDisplayName gets the displayName property value. The display name of the relationship used for ease of identification. Must be unique across all delegated admin relationships of the partner. This is set by the partner only when the relationship is in the created status and can't be changed by the customer. func (m *DelegatedAdminRelationship) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") if err != nil { @@ -104,7 +115,7 @@ func (m *DelegatedAdminRelationship) GetDisplayName()(*string) { } return nil } -// GetDuration gets the duration property value. The duration of the relationship in ISO 8601 format. Must be a value between P1D and P2Y inclusive. This is set by the partner only when the relationship is in the created status and cannot be changed by the customer. +// GetDuration gets the duration property value. The duration of the relationship in ISO 8601 format. Must be a value between P1D and P2Y inclusive. This is set by the partner only when the relationship is in the created status and can't be changed by the customer. func (m *DelegatedAdminRelationship) GetDuration()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) { val, err := m.GetBackingStore().Get("duration") if err != nil { @@ -165,6 +176,16 @@ func (m *DelegatedAdminRelationship) GetFieldDeserializers()(map[string]func(i87 } return nil } + res["autoExtendDuration"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetISODurationValue() + if err != nil { + return err + } + if val != nil { + m.SetAutoExtendDuration(val) + } + return nil + } res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetTimeValue() if err != nil { @@ -302,7 +323,7 @@ func (m *DelegatedAdminRelationship) GetRequests()([]DelegatedAdminRelationshipR } return nil } -// GetStatus gets the status property value. The status of the relationship. Read Only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderBy. +// GetStatus gets the status property value. The status of the relationship. Read Only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderby. func (m *DelegatedAdminRelationship) GetStatus()(*DelegatedAdminRelationshipStatus) { val, err := m.GetBackingStore().Get("status") if err != nil { @@ -343,6 +364,12 @@ func (m *DelegatedAdminRelationship) Serialize(writer i878a80d2330e89d26896388a3 return err } } + { + err = writer.WriteISODurationValue("autoExtendDuration", m.GetAutoExtendDuration()) + if err != nil { + return err + } + } { err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) if err != nil { @@ -433,6 +460,13 @@ func (m *DelegatedAdminRelationship) SetActivatedDateTime(value *i336074805fc853 panic(err) } } +// SetAutoExtendDuration sets the autoExtendDuration property value. The autoExtendDuration property +func (m *DelegatedAdminRelationship) SetAutoExtendDuration(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() { + err := m.GetBackingStore().Set("autoExtendDuration", value) + if err != nil { + panic(err) + } +} // SetCreatedDateTime sets the createdDateTime property value. The date and time in ISO 8601 format and in UTC time when the relationship was created. Read-only. func (m *DelegatedAdminRelationship) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) @@ -440,21 +474,21 @@ func (m *DelegatedAdminRelationship) SetCreatedDateTime(value *i336074805fc85398 panic(err) } } -// SetCustomer sets the customer property value. The display name and unique identifier of the customer of the relationship. This is configured either by the partner at the time the relationship is created or by the system after the customer approves the relationship. Cannot be changed by the customer. +// SetCustomer sets the customer property value. The display name and unique identifier of the customer of the relationship. This is configured either by the partner at the time the relationship is created or by the system after the customer approves the relationship. Can't be changed by the customer. func (m *DelegatedAdminRelationship) SetCustomer(value DelegatedAdminRelationshipCustomerParticipantable)() { err := m.GetBackingStore().Set("customer", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. The display name of the relationship used for ease of identification. Must be unique across all delegated admin relationships of the partner. This is set by the partner only when the relationship is in the created status and cannot be changed by the customer. +// SetDisplayName sets the displayName property value. The display name of the relationship used for ease of identification. Must be unique across all delegated admin relationships of the partner. This is set by the partner only when the relationship is in the created status and can't be changed by the customer. func (m *DelegatedAdminRelationship) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetDuration sets the duration property value. The duration of the relationship in ISO 8601 format. Must be a value between P1D and P2Y inclusive. This is set by the partner only when the relationship is in the created status and cannot be changed by the customer. +// SetDuration sets the duration property value. The duration of the relationship in ISO 8601 format. Must be a value between P1D and P2Y inclusive. This is set by the partner only when the relationship is in the created status and can't be changed by the customer. func (m *DelegatedAdminRelationship) SetDuration(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() { err := m.GetBackingStore().Set("duration", value) if err != nil { @@ -489,7 +523,7 @@ func (m *DelegatedAdminRelationship) SetRequests(value []DelegatedAdminRelations panic(err) } } -// SetStatus sets the status property value. The status of the relationship. Read Only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderBy. +// SetStatus sets the status property value. The status of the relationship. Read Only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderby. func (m *DelegatedAdminRelationship) SetStatus(value *DelegatedAdminRelationshipStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { @@ -503,6 +537,7 @@ type DelegatedAdminRelationshipable interface { GetAccessAssignments()([]DelegatedAdminAccessAssignmentable) GetAccessDetails()(DelegatedAdminAccessDetailsable) GetActivatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetAutoExtendDuration()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetCustomer()(DelegatedAdminRelationshipCustomerParticipantable) GetDisplayName()(*string) @@ -515,6 +550,7 @@ type DelegatedAdminRelationshipable interface { SetAccessAssignments(value []DelegatedAdminAccessAssignmentable)() SetAccessDetails(value DelegatedAdminAccessDetailsable)() SetActivatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetAutoExtendDuration(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetCustomer(value DelegatedAdminRelationshipCustomerParticipantable)() SetDisplayName(value *string)() diff --git a/models/delegated_admin_relationship_operation_type.go b/models/delegated_admin_relationship_operation_type.go index 8b7b7079e02..4cf5c00be9d 100644 --- a/models/delegated_admin_relationship_operation_type.go +++ b/models/delegated_admin_relationship_operation_type.go @@ -32,3 +32,6 @@ func SerializeDelegatedAdminRelationshipOperationType(values []DelegatedAdminRel } return result } +func (i DelegatedAdminRelationshipOperationType) isMultiValue() bool { + return false +} diff --git a/models/delegated_admin_relationship_request_action.go b/models/delegated_admin_relationship_request_action.go index 46cda28d56c..fa0dd870478 100644 --- a/models/delegated_admin_relationship_request_action.go +++ b/models/delegated_admin_relationship_request_action.go @@ -41,3 +41,6 @@ func SerializeDelegatedAdminRelationshipRequestAction(values []DelegatedAdminRel } return result } +func (i DelegatedAdminRelationshipRequestAction) isMultiValue() bool { + return false +} diff --git a/models/delegated_admin_relationship_request_status.go b/models/delegated_admin_relationship_request_status.go index d92a16aa8a1..96688d5779a 100644 --- a/models/delegated_admin_relationship_request_status.go +++ b/models/delegated_admin_relationship_request_status.go @@ -41,3 +41,6 @@ func SerializeDelegatedAdminRelationshipRequestStatus(values []DelegatedAdminRel } return result } +func (i DelegatedAdminRelationshipRequestStatus) isMultiValue() bool { + return false +} diff --git a/models/delegated_admin_relationship_status.go b/models/delegated_admin_relationship_status.go index d4862f1c9b7..41f56b27706 100644 --- a/models/delegated_admin_relationship_status.go +++ b/models/delegated_admin_relationship_status.go @@ -59,3 +59,6 @@ func SerializeDelegatedAdminRelationshipStatus(values []DelegatedAdminRelationsh } return result } +func (i DelegatedAdminRelationshipStatus) isMultiValue() bool { + return false +} diff --git a/models/delegated_permission_classification.go b/models/delegated_permission_classification.go index 4bf7a5d53fe..1a39d870d20 100644 --- a/models/delegated_permission_classification.go +++ b/models/delegated_permission_classification.go @@ -19,7 +19,7 @@ func NewDelegatedPermissionClassification()(*DelegatedPermissionClassification) func CreateDelegatedPermissionClassificationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewDelegatedPermissionClassification(), nil } -// GetClassification gets the classification property value. The classification value being given. Possible value: low. Does not support $filter. +// GetClassification gets the classification property value. The classification value being given. Possible value: low. Doesn't support $filter. func (m *DelegatedPermissionClassification) GetClassification()(*PermissionClassificationType) { val, err := m.GetBackingStore().Get("classification") if err != nil { @@ -65,7 +65,7 @@ func (m *DelegatedPermissionClassification) GetFieldDeserializers()(map[string]f } return res } -// GetPermissionId gets the permissionId property value. The unique identifier (id) for the delegated permission listed in the publishedPermissionScopes collection of the servicePrincipal. Required on create. Does not support $filter. +// GetPermissionId gets the permissionId property value. The unique identifier (id) for the delegated permission listed in the publishedPermissionScopes collection of the servicePrincipal. Required on create. Doesn't support $filter. func (m *DelegatedPermissionClassification) GetPermissionId()(*string) { val, err := m.GetBackingStore().Get("permissionId") if err != nil { @@ -76,7 +76,7 @@ func (m *DelegatedPermissionClassification) GetPermissionId()(*string) { } return nil } -// GetPermissionName gets the permissionName property value. The claim value (value) for the delegated permission listed in the publishedPermissionScopes collection of the servicePrincipal. Does not support $filter. +// GetPermissionName gets the permissionName property value. The claim value (value) for the delegated permission listed in the publishedPermissionScopes collection of the servicePrincipal. Doesn't support $filter. func (m *DelegatedPermissionClassification) GetPermissionName()(*string) { val, err := m.GetBackingStore().Get("permissionName") if err != nil { @@ -114,21 +114,21 @@ func (m *DelegatedPermissionClassification) Serialize(writer i878a80d2330e89d268 } return nil } -// SetClassification sets the classification property value. The classification value being given. Possible value: low. Does not support $filter. +// SetClassification sets the classification property value. The classification value being given. Possible value: low. Doesn't support $filter. func (m *DelegatedPermissionClassification) SetClassification(value *PermissionClassificationType)() { err := m.GetBackingStore().Set("classification", value) if err != nil { panic(err) } } -// SetPermissionId sets the permissionId property value. The unique identifier (id) for the delegated permission listed in the publishedPermissionScopes collection of the servicePrincipal. Required on create. Does not support $filter. +// SetPermissionId sets the permissionId property value. The unique identifier (id) for the delegated permission listed in the publishedPermissionScopes collection of the servicePrincipal. Required on create. Doesn't support $filter. func (m *DelegatedPermissionClassification) SetPermissionId(value *string)() { err := m.GetBackingStore().Set("permissionId", value) if err != nil { panic(err) } } -// SetPermissionName sets the permissionName property value. The claim value (value) for the delegated permission listed in the publishedPermissionScopes collection of the servicePrincipal. Does not support $filter. +// SetPermissionName sets the permissionName property value. The claim value (value) for the delegated permission listed in the publishedPermissionScopes collection of the servicePrincipal. Doesn't support $filter. func (m *DelegatedPermissionClassification) SetPermissionName(value *string)() { err := m.GetBackingStore().Set("permissionName", value) if err != nil { diff --git a/models/delivery_optimization_group_id_options_type.go b/models/delivery_optimization_group_id_options_type.go index fb089b7d070..42bf34fb99f 100644 --- a/models/delivery_optimization_group_id_options_type.go +++ b/models/delivery_optimization_group_id_options_type.go @@ -46,3 +46,6 @@ func SerializeDeliveryOptimizationGroupIdOptionsType(values []DeliveryOptimizati } return result } +func (i DeliveryOptimizationGroupIdOptionsType) isMultiValue() bool { + return false +} diff --git a/models/delivery_optimization_restrict_peer_selection_by_options.go b/models/delivery_optimization_restrict_peer_selection_by_options.go index c11ee382b20..9823ce3db51 100644 --- a/models/delivery_optimization_restrict_peer_selection_by_options.go +++ b/models/delivery_optimization_restrict_peer_selection_by_options.go @@ -34,3 +34,6 @@ func SerializeDeliveryOptimizationRestrictPeerSelectionByOptions(values []Delive } return result } +func (i DeliveryOptimizationRestrictPeerSelectionByOptions) isMultiValue() bool { + return false +} diff --git a/models/dep_enrollment_base_profile.go b/models/dep_enrollment_base_profile.go index 317cf106468..a416fff2641 100644 --- a/models/dep_enrollment_base_profile.go +++ b/models/dep_enrollment_base_profile.go @@ -355,6 +355,16 @@ func (m *DepEnrollmentBaseProfile) GetFieldDeserializers()(map[string]func(i878a } return nil } + res["waitForDeviceConfiguredConfirmation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetWaitForDeviceConfiguredConfirmation(val) + } + return nil + } return res } // GetIsDefault gets the isDefault property value. Indicates if this is the default profile @@ -500,6 +510,17 @@ func (m *DepEnrollmentBaseProfile) GetTouchIdDisabled()(*bool) { } return nil } +// GetWaitForDeviceConfiguredConfirmation gets the waitForDeviceConfiguredConfirmation property value. Indicates if the device will need to wait for configured confirmation +func (m *DepEnrollmentBaseProfile) GetWaitForDeviceConfiguredConfirmation()(*bool) { + val, err := m.GetBackingStore().Get("waitForDeviceConfiguredConfirmation") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // Serialize serializes information the current object func (m *DepEnrollmentBaseProfile) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.EnrollmentProfile.Serialize(writer) @@ -632,6 +653,12 @@ func (m *DepEnrollmentBaseProfile) Serialize(writer i878a80d2330e89d26896388a3f4 return err } } + { + err = writer.WriteBoolValue("waitForDeviceConfiguredConfirmation", m.GetWaitForDeviceConfiguredConfirmation()) + if err != nil { + return err + } + } return nil } // SetAppleIdDisabled sets the appleIdDisabled property value. Indicates if Apple id setup pane is disabled @@ -781,6 +808,13 @@ func (m *DepEnrollmentBaseProfile) SetTouchIdDisabled(value *bool)() { panic(err) } } +// SetWaitForDeviceConfiguredConfirmation sets the waitForDeviceConfiguredConfirmation property value. Indicates if the device will need to wait for configured confirmation +func (m *DepEnrollmentBaseProfile) SetWaitForDeviceConfiguredConfirmation(value *bool)() { + err := m.GetBackingStore().Set("waitForDeviceConfiguredConfirmation", value) + if err != nil { + panic(err) + } +} // DepEnrollmentBaseProfileable type DepEnrollmentBaseProfileable interface { EnrollmentProfileable @@ -806,6 +840,7 @@ type DepEnrollmentBaseProfileable interface { GetSupportPhoneNumber()(*string) GetTermsAndConditionsDisabled()(*bool) GetTouchIdDisabled()(*bool) + GetWaitForDeviceConfiguredConfirmation()(*bool) SetAppleIdDisabled(value *bool)() SetApplePayDisabled(value *bool)() SetConfigurationWebUrl(value *bool)() @@ -827,4 +862,5 @@ type DepEnrollmentBaseProfileable interface { SetSupportPhoneNumber(value *string)() SetTermsAndConditionsDisabled(value *bool)() SetTouchIdDisabled(value *bool)() + SetWaitForDeviceConfiguredConfirmation(value *bool)() } diff --git a/models/dep_token_type.go b/models/dep_token_type.go index fd462061b5a..922552038f9 100644 --- a/models/dep_token_type.go +++ b/models/dep_token_type.go @@ -38,3 +38,6 @@ func SerializeDepTokenType(values []DepTokenType) []string { } return result } +func (i DepTokenType) isMultiValue() bool { + return false +} diff --git a/models/derived_credential_provider_type.go b/models/derived_credential_provider_type.go index efa3ef4b8e5..0d0c79d1b2a 100644 --- a/models/derived_credential_provider_type.go +++ b/models/derived_credential_provider_type.go @@ -46,3 +46,6 @@ func SerializeDerivedCredentialProviderType(values []DerivedCredentialProviderTy } return result } +func (i DerivedCredentialProviderType) isMultiValue() bool { + return false +} diff --git a/models/detected_app_platform_type.go b/models/detected_app_platform_type.go index 2732a8b92ee..02a030e9db8 100644 --- a/models/detected_app_platform_type.go +++ b/models/detected_app_platform_type.go @@ -74,3 +74,6 @@ func SerializeDetectedAppPlatformType(values []DetectedAppPlatformType) []string } return result } +func (i DetectedAppPlatformType) isMultiValue() bool { + return false +} diff --git a/models/device.go b/models/device.go index 90a60002d53..851b9bef2a0 100644 --- a/models/device.go +++ b/models/device.go @@ -44,7 +44,7 @@ func (m *Device) GetAlternativeSecurityIds()([]AlternativeSecurityIdable) { } return nil } -// GetApproximateLastSignInDateTime gets the approximateLastSignInDateTime property value. 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. Read-only. Supports $filter (eq, ne, not, ge, le, and eq on null values) and $orderBy. +// GetApproximateLastSignInDateTime gets the approximateLastSignInDateTime property value. 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. Read-only. Supports $filter (eq, ne, not, ge, le, and eq on null values) and $orderby. func (m *Device) GetApproximateLastSignInDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("approximateLastSignInDateTime") if err != nil { @@ -132,7 +132,7 @@ func (m *Device) GetDeviceVersion()(*int32) { } return nil } -// GetDisplayName gets the displayName property value. The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. +// GetDisplayName gets the displayName property value. The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. func (m *Device) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") if err != nil { @@ -521,6 +521,16 @@ func (m *Device) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689638 } return nil } + res["onPremisesSecurityIdentifier"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOnPremisesSecurityIdentifier(val) + } + return nil + } res["onPremisesSyncEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -842,6 +852,17 @@ func (m *Device) GetOnPremisesLastSyncDateTime()(*i336074805fc853987abe6f7fe3ad9 } return nil } +// GetOnPremisesSecurityIdentifier gets the onPremisesSecurityIdentifier property value. The onPremisesSecurityIdentifier property +func (m *Device) GetOnPremisesSecurityIdentifier()(*string) { + val, err := m.GetBackingStore().Get("onPremisesSecurityIdentifier") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetOnPremisesSyncEnabled gets the onPremisesSyncEnabled property value. true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only. Supports $filter (eq, ne, not, in, and eq on null values). func (m *Device) GetOnPremisesSyncEnabled()(*bool) { val, err := m.GetBackingStore().Get("onPremisesSyncEnabled") @@ -1200,6 +1221,12 @@ func (m *Device) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c return err } } + { + err = writer.WriteStringValue("onPremisesSecurityIdentifier", m.GetOnPremisesSecurityIdentifier()) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("onPremisesSyncEnabled", m.GetOnPremisesSyncEnabled()) if err != nil { @@ -1324,7 +1351,7 @@ func (m *Device) SetAlternativeSecurityIds(value []AlternativeSecurityIdable)() panic(err) } } -// SetApproximateLastSignInDateTime sets the approximateLastSignInDateTime property value. 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. Read-only. Supports $filter (eq, ne, not, ge, le, and eq on null values) and $orderBy. +// SetApproximateLastSignInDateTime sets the approximateLastSignInDateTime property value. 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. Read-only. Supports $filter (eq, ne, not, ge, le, and eq on null values) and $orderby. func (m *Device) SetApproximateLastSignInDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("approximateLastSignInDateTime", value) if err != nil { @@ -1380,7 +1407,7 @@ func (m *Device) SetDeviceVersion(value *int32)() { panic(err) } } -// SetDisplayName sets the displayName property value. The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. +// SetDisplayName sets the displayName property value. The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. func (m *Device) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { @@ -1513,6 +1540,13 @@ func (m *Device) SetOnPremisesLastSyncDateTime(value *i336074805fc853987abe6f7fe panic(err) } } +// SetOnPremisesSecurityIdentifier sets the onPremisesSecurityIdentifier property value. The onPremisesSecurityIdentifier property +func (m *Device) SetOnPremisesSecurityIdentifier(value *string)() { + err := m.GetBackingStore().Set("onPremisesSecurityIdentifier", value) + if err != nil { + panic(err) + } +} // SetOnPremisesSyncEnabled sets the onPremisesSyncEnabled property value. true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only. Supports $filter (eq, ne, not, in, and eq on null values). func (m *Device) SetOnPremisesSyncEnabled(value *bool)() { err := m.GetBackingStore().Set("onPremisesSyncEnabled", value) @@ -1644,6 +1678,7 @@ type Deviceable interface { GetModel()(*string) GetName()(*string) GetOnPremisesLastSyncDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetOnPremisesSecurityIdentifier()(*string) GetOnPremisesSyncEnabled()(*bool) GetOperatingSystem()(*string) GetOperatingSystemVersion()(*string) @@ -1687,6 +1722,7 @@ type Deviceable interface { SetModel(value *string)() SetName(value *string)() SetOnPremisesLastSyncDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetOnPremisesSecurityIdentifier(value *string)() SetOnPremisesSyncEnabled(value *bool)() SetOperatingSystem(value *string)() SetOperatingSystemVersion(value *string)() diff --git a/models/device_and_app_management_assignment_filter_type.go b/models/device_and_app_management_assignment_filter_type.go index bd66da316d9..d47b37bab37 100644 --- a/models/device_and_app_management_assignment_filter_type.go +++ b/models/device_and_app_management_assignment_filter_type.go @@ -38,3 +38,6 @@ func SerializeDeviceAndAppManagementAssignmentFilterType(values []DeviceAndAppMa } return result } +func (i DeviceAndAppManagementAssignmentFilterType) isMultiValue() bool { + return false +} diff --git a/models/device_and_app_management_assignment_source.go b/models/device_and_app_management_assignment_source.go index 5a62a926b7c..669a32888f5 100644 --- a/models/device_and_app_management_assignment_source.go +++ b/models/device_and_app_management_assignment_source.go @@ -34,3 +34,6 @@ func SerializeDeviceAndAppManagementAssignmentSource(values []DeviceAndAppManage } return result } +func (i DeviceAndAppManagementAssignmentSource) isMultiValue() bool { + return false +} diff --git a/models/device_app_management_task_category.go b/models/device_app_management_task_category.go index bb8995b8d7a..d3b5f7b10c0 100644 --- a/models/device_app_management_task_category.go +++ b/models/device_app_management_task_category.go @@ -34,3 +34,6 @@ func SerializeDeviceAppManagementTaskCategory(values []DeviceAppManagementTaskCa } return result } +func (i DeviceAppManagementTaskCategory) isMultiValue() bool { + return false +} diff --git a/models/device_app_management_task_priority.go b/models/device_app_management_task_priority.go index 4426fe7d6d4..60bc802ccd0 100644 --- a/models/device_app_management_task_priority.go +++ b/models/device_app_management_task_priority.go @@ -38,3 +38,6 @@ func SerializeDeviceAppManagementTaskPriority(values []DeviceAppManagementTaskPr } return result } +func (i DeviceAppManagementTaskPriority) isMultiValue() bool { + return false +} diff --git a/models/device_app_management_task_status.go b/models/device_app_management_task_status.go index ca23c00888d..0a423d4f874 100644 --- a/models/device_app_management_task_status.go +++ b/models/device_app_management_task_status.go @@ -46,3 +46,6 @@ func SerializeDeviceAppManagementTaskStatus(values []DeviceAppManagementTaskStat } return result } +func (i DeviceAppManagementTaskStatus) isMultiValue() bool { + return false +} diff --git a/models/device_compliance_action_type.go b/models/device_compliance_action_type.go index 3a1dc1b9a2f..55757f04ffa 100644 --- a/models/device_compliance_action_type.go +++ b/models/device_compliance_action_type.go @@ -58,3 +58,6 @@ func SerializeDeviceComplianceActionType(values []DeviceComplianceActionType) [] } return result } +func (i DeviceComplianceActionType) isMultiValue() bool { + return false +} diff --git a/models/device_compliance_script_rul_operator.go b/models/device_compliance_script_rul_operator.go index 53997781a20..cb1e9cdc610 100644 --- a/models/device_compliance_script_rul_operator.go +++ b/models/device_compliance_script_rul_operator.go @@ -126,3 +126,6 @@ func SerializeDeviceComplianceScriptRulOperator(values []DeviceComplianceScriptR } return result } +func (i DeviceComplianceScriptRulOperator) isMultiValue() bool { + return false +} diff --git a/models/device_compliance_script_rule_data_type.go b/models/device_compliance_script_rule_data_type.go index 005789e70fa..3f8b9d17174 100644 --- a/models/device_compliance_script_rule_data_type.go +++ b/models/device_compliance_script_rule_data_type.go @@ -86,3 +86,6 @@ func SerializeDeviceComplianceScriptRuleDataType(values []DeviceComplianceScript } return result } +func (i DeviceComplianceScriptRuleDataType) isMultiValue() bool { + return false +} diff --git a/models/device_compliance_script_rules_validation_error.go b/models/device_compliance_script_rules_validation_error.go index 4bdafc4d359..cdd911084fd 100644 --- a/models/device_compliance_script_rules_validation_error.go +++ b/models/device_compliance_script_rules_validation_error.go @@ -154,3 +154,6 @@ func SerializeDeviceComplianceScriptRulesValidationError(values []DeviceComplian } return result } +func (i DeviceComplianceScriptRulesValidationError) isMultiValue() bool { + return false +} diff --git a/models/device_config_assignment_intent.go b/models/device_config_assignment_intent.go index 7f08a1d3876..c3e3037b873 100644 --- a/models/device_config_assignment_intent.go +++ b/models/device_config_assignment_intent.go @@ -34,3 +34,6 @@ func SerializeDeviceConfigAssignmentIntent(values []DeviceConfigAssignmentIntent } return result } +func (i DeviceConfigAssignmentIntent) isMultiValue() bool { + return false +} diff --git a/models/device_custom_attribute_value_type.go b/models/device_custom_attribute_value_type.go index e92fc559e75..93e160d2589 100644 --- a/models/device_custom_attribute_value_type.go +++ b/models/device_custom_attribute_value_type.go @@ -38,3 +38,6 @@ func SerializeDeviceCustomAttributeValueType(values []DeviceCustomAttributeValue } return result } +func (i DeviceCustomAttributeValueType) isMultiValue() bool { + return false +} diff --git a/models/device_enrollment_configuration_type.go b/models/device_enrollment_configuration_type.go index c3bfe5ed55d..e9bcf311324 100644 --- a/models/device_enrollment_configuration_type.go +++ b/models/device_enrollment_configuration_type.go @@ -78,3 +78,6 @@ func SerializeDeviceEnrollmentConfigurationType(values []DeviceEnrollmentConfigu } return result } +func (i DeviceEnrollmentConfigurationType) isMultiValue() bool { + return false +} diff --git a/models/device_enrollment_failure_reason.go b/models/device_enrollment_failure_reason.go index 499fb7759e3..6ef65dce47c 100644 --- a/models/device_enrollment_failure_reason.go +++ b/models/device_enrollment_failure_reason.go @@ -74,3 +74,6 @@ func SerializeDeviceEnrollmentFailureReason(values []DeviceEnrollmentFailureReas } return result } +func (i DeviceEnrollmentFailureReason) isMultiValue() bool { + return false +} diff --git a/models/device_enrollment_type.go b/models/device_enrollment_type.go index ed92aebf491..46c0637ec64 100644 --- a/models/device_enrollment_type.go +++ b/models/device_enrollment_type.go @@ -94,3 +94,6 @@ func SerializeDeviceEnrollmentType(values []DeviceEnrollmentType) []string { } return result } +func (i DeviceEnrollmentType) isMultiValue() bool { + return false +} diff --git a/models/device_event_level.go b/models/device_event_level.go index 838fcb7234d..8e817f97a0a 100644 --- a/models/device_event_level.go +++ b/models/device_event_level.go @@ -54,3 +54,6 @@ func SerializeDeviceEventLevel(values []DeviceEventLevel) []string { } return result } +func (i DeviceEventLevel) isMultiValue() bool { + return false +} diff --git a/models/device_guard_local_system_authority_credential_guard_state.go b/models/device_guard_local_system_authority_credential_guard_state.go index 959180759c9..d4324a8abc8 100644 --- a/models/device_guard_local_system_authority_credential_guard_state.go +++ b/models/device_guard_local_system_authority_credential_guard_state.go @@ -46,3 +46,6 @@ func SerializeDeviceGuardLocalSystemAuthorityCredentialGuardState(values []Devic } return result } +func (i DeviceGuardLocalSystemAuthorityCredentialGuardState) isMultiValue() bool { + return false +} diff --git a/models/device_guard_local_system_authority_credential_guard_type.go b/models/device_guard_local_system_authority_credential_guard_type.go index 7eb03979173..8fb2be2e7b0 100644 --- a/models/device_guard_local_system_authority_credential_guard_type.go +++ b/models/device_guard_local_system_authority_credential_guard_type.go @@ -42,3 +42,6 @@ func SerializeDeviceGuardLocalSystemAuthorityCredentialGuardType(values []Device } return result } +func (i DeviceGuardLocalSystemAuthorityCredentialGuardType) isMultiValue() bool { + return false +} diff --git a/models/device_guard_virtualization_based_security_hardware_requirement_state.go b/models/device_guard_virtualization_based_security_hardware_requirement_state.go index 8adca46d921..8a153efab9a 100644 --- a/models/device_guard_virtualization_based_security_hardware_requirement_state.go +++ b/models/device_guard_virtualization_based_security_hardware_requirement_state.go @@ -46,3 +46,6 @@ func SerializeDeviceGuardVirtualizationBasedSecurityHardwareRequirementState(val } return result } +func (i DeviceGuardVirtualizationBasedSecurityHardwareRequirementState) isMultiValue() bool { + return false +} diff --git a/models/device_guard_virtualization_based_security_state.go b/models/device_guard_virtualization_based_security_state.go index 3f4c6ec18f0..2d1f54c839b 100644 --- a/models/device_guard_virtualization_based_security_state.go +++ b/models/device_guard_virtualization_based_security_state.go @@ -54,3 +54,6 @@ func SerializeDeviceGuardVirtualizationBasedSecurityState(values []DeviceGuardVi } return result } +func (i DeviceGuardVirtualizationBasedSecurityState) isMultiValue() bool { + return false +} diff --git a/models/device_health_attestation_state.go b/models/device_health_attestation_state.go index ee24dbbf4d8..ffdd2875a69 100644 --- a/models/device_health_attestation_state.go +++ b/models/device_health_attestation_state.go @@ -357,6 +357,16 @@ func (m *DeviceHealthAttestationState) GetFieldDeserializers()(map[string]func(i } return nil } + res["firmwareProtection"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseFirmwareProtectionType) + if err != nil { + return err + } + if val != nil { + m.SetFirmwareProtection(val.(*FirmwareProtectionType)) + } + return nil + } res["healthAttestationSupportedStatus"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -397,6 +407,26 @@ func (m *DeviceHealthAttestationState) GetFieldDeserializers()(map[string]func(i } return nil } + res["memoryAccessProtection"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAzureAttestationSettingStatus) + if err != nil { + return err + } + if val != nil { + m.SetMemoryAccessProtection(val.(*AzureAttestationSettingStatus)) + } + return nil + } + res["memoryIntegrityProtection"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAzureAttestationSettingStatus) + if err != nil { + return err + } + if val != nil { + m.SetMemoryIntegrityProtection(val.(*AzureAttestationSettingStatus)) + } + return nil + } res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -497,6 +527,26 @@ func (m *DeviceHealthAttestationState) GetFieldDeserializers()(map[string]func(i } return nil } + res["securedCorePC"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAzureAttestationSettingStatus) + if err != nil { + return err + } + if val != nil { + m.SetSecuredCorePC(val.(*AzureAttestationSettingStatus)) + } + return nil + } + res["systemManagementMode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseSystemManagementModeLevel) + if err != nil { + return err + } + if val != nil { + m.SetSystemManagementMode(val.(*SystemManagementModeLevel)) + } + return nil + } res["testSigning"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -517,6 +567,16 @@ func (m *DeviceHealthAttestationState) GetFieldDeserializers()(map[string]func(i } return nil } + res["virtualizationBasedSecurity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAzureAttestationSettingStatus) + if err != nil { + return err + } + if val != nil { + m.SetVirtualizationBasedSecurity(val.(*AzureAttestationSettingStatus)) + } + return nil + } res["virtualSecureMode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -539,6 +599,17 @@ func (m *DeviceHealthAttestationState) GetFieldDeserializers()(map[string]func(i } return res } +// GetFirmwareProtection gets the firmwareProtection property value. A list of possible Firmware protection type for a device. Firmware protection is a set of features that helps to ensure attackers can't get your device to start with untrusted or malicious firmware. Firmware protection type is determined by report sent from Microsoft Azure Attestation service. Only Windows 11 devices will have values "systemGuardSecureLaunch" or "firmwareAttackSurfaceReduction" or "disabled". Windows 10 devices will have value "notApplicable". +func (m *DeviceHealthAttestationState) GetFirmwareProtection()(*FirmwareProtectionType) { + val, err := m.GetBackingStore().Get("firmwareProtection") + if err != nil { + panic(err) + } + if val != nil { + return val.(*FirmwareProtectionType) + } + return nil +} // GetHealthAttestationSupportedStatus gets the healthAttestationSupportedStatus property value. This attribute indicates if DHA is supported for the device func (m *DeviceHealthAttestationState) GetHealthAttestationSupportedStatus()(*string) { val, err := m.GetBackingStore().Get("healthAttestationSupportedStatus") @@ -583,6 +654,28 @@ func (m *DeviceHealthAttestationState) GetLastUpdateDateTime()(*string) { } return nil } +// GetMemoryAccessProtection gets the memoryAccessProtection property value. A list of possible Azure Attestation states for a device. Azure Attestation setting status is determined by report sent from Microsoft Azure Attestation service. Only Windows 11 devices will have values "enabled" or "disabled". Windows 10 devices will have value "notApplicable". +func (m *DeviceHealthAttestationState) GetMemoryAccessProtection()(*AzureAttestationSettingStatus) { + val, err := m.GetBackingStore().Get("memoryAccessProtection") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AzureAttestationSettingStatus) + } + return nil +} +// GetMemoryIntegrityProtection gets the memoryIntegrityProtection property value. A list of possible Azure Attestation states for a device. Azure Attestation setting status is determined by report sent from Microsoft Azure Attestation service. Only Windows 11 devices will have values "enabled" or "disabled". Windows 10 devices will have value "notApplicable". +func (m *DeviceHealthAttestationState) GetMemoryIntegrityProtection()(*AzureAttestationSettingStatus) { + val, err := m.GetBackingStore().Get("memoryIntegrityProtection") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AzureAttestationSettingStatus) + } + return nil +} // GetOdataType gets the @odata.type property value. The OdataType property func (m *DeviceHealthAttestationState) GetOdataType()(*string) { val, err := m.GetBackingStore().Get("odataType") @@ -693,6 +786,28 @@ func (m *DeviceHealthAttestationState) GetSecureBootConfigurationPolicyFingerPri } return nil } +// GetSecuredCorePC gets the securedCorePC property value. A list of possible Azure Attestation states for a device. Azure Attestation setting status is determined by report sent from Microsoft Azure Attestation service. Only Windows 11 devices will have values "enabled" or "disabled". Windows 10 devices will have value "notApplicable". +func (m *DeviceHealthAttestationState) GetSecuredCorePC()(*AzureAttestationSettingStatus) { + val, err := m.GetBackingStore().Get("securedCorePC") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AzureAttestationSettingStatus) + } + return nil +} +// GetSystemManagementMode gets the systemManagementMode property value. A list of possible System Management Mode levels for a device. System Management Mode levels is determined by report sent from Microsoft Azure Attestation service. Only specific hardwares support System Management Mode. Windows 11 devices will have values "notApplicable", "level1", "level2" or "level3". Windows 10 devices will have value "notApplicable". +func (m *DeviceHealthAttestationState) GetSystemManagementMode()(*SystemManagementModeLevel) { + val, err := m.GetBackingStore().Get("systemManagementMode") + if err != nil { + panic(err) + } + if val != nil { + return val.(*SystemManagementModeLevel) + } + return nil +} // GetTestSigning gets the testSigning property value. When test signing is allowed, the device does not enforce signature validation during boot func (m *DeviceHealthAttestationState) GetTestSigning()(*string) { val, err := m.GetBackingStore().Get("testSigning") @@ -715,6 +830,17 @@ func (m *DeviceHealthAttestationState) GetTpmVersion()(*string) { } return nil } +// GetVirtualizationBasedSecurity gets the virtualizationBasedSecurity property value. A list of possible Azure Attestation states for a device. Azure Attestation setting status is determined by report sent from Microsoft Azure Attestation service. Only Windows 11 devices will have values "enabled" or "disabled". Windows 10 devices will have value "notApplicable". +func (m *DeviceHealthAttestationState) GetVirtualizationBasedSecurity()(*AzureAttestationSettingStatus) { + val, err := m.GetBackingStore().Get("virtualizationBasedSecurity") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AzureAttestationSettingStatus) + } + return nil +} // GetVirtualSecureMode gets the virtualSecureMode property value. VSM is a container that protects high value assets from a compromised kernel func (m *DeviceHealthAttestationState) GetVirtualSecureMode()(*string) { val, err := m.GetBackingStore().Get("virtualSecureMode") @@ -829,6 +955,13 @@ func (m *DeviceHealthAttestationState) Serialize(writer i878a80d2330e89d26896388 return err } } + if m.GetFirmwareProtection() != nil { + cast := (*m.GetFirmwareProtection()).String() + err := writer.WriteStringValue("firmwareProtection", &cast) + if err != nil { + return err + } + } { err := writer.WriteStringValue("healthAttestationSupportedStatus", m.GetHealthAttestationSupportedStatus()) if err != nil { @@ -853,6 +986,20 @@ func (m *DeviceHealthAttestationState) Serialize(writer i878a80d2330e89d26896388 return err } } + if m.GetMemoryAccessProtection() != nil { + cast := (*m.GetMemoryAccessProtection()).String() + err := writer.WriteStringValue("memoryAccessProtection", &cast) + if err != nil { + return err + } + } + if m.GetMemoryIntegrityProtection() != nil { + cast := (*m.GetMemoryIntegrityProtection()).String() + err := writer.WriteStringValue("memoryIntegrityProtection", &cast) + if err != nil { + return err + } + } { err := writer.WriteStringValue("@odata.type", m.GetOdataType()) if err != nil { @@ -913,6 +1060,20 @@ func (m *DeviceHealthAttestationState) Serialize(writer i878a80d2330e89d26896388 return err } } + if m.GetSecuredCorePC() != nil { + cast := (*m.GetSecuredCorePC()).String() + err := writer.WriteStringValue("securedCorePC", &cast) + if err != nil { + return err + } + } + if m.GetSystemManagementMode() != nil { + cast := (*m.GetSystemManagementMode()).String() + err := writer.WriteStringValue("systemManagementMode", &cast) + if err != nil { + return err + } + } { err := writer.WriteStringValue("testSigning", m.GetTestSigning()) if err != nil { @@ -925,6 +1086,13 @@ func (m *DeviceHealthAttestationState) Serialize(writer i878a80d2330e89d26896388 return err } } + if m.GetVirtualizationBasedSecurity() != nil { + cast := (*m.GetVirtualizationBasedSecurity()).String() + err := writer.WriteStringValue("virtualizationBasedSecurity", &cast) + if err != nil { + return err + } + } { err := writer.WriteStringValue("virtualSecureMode", m.GetVirtualSecureMode()) if err != nil { @@ -1061,6 +1229,13 @@ func (m *DeviceHealthAttestationState) SetEarlyLaunchAntiMalwareDriverProtection panic(err) } } +// SetFirmwareProtection sets the firmwareProtection property value. A list of possible Firmware protection type for a device. Firmware protection is a set of features that helps to ensure attackers can't get your device to start with untrusted or malicious firmware. Firmware protection type is determined by report sent from Microsoft Azure Attestation service. Only Windows 11 devices will have values "systemGuardSecureLaunch" or "firmwareAttackSurfaceReduction" or "disabled". Windows 10 devices will have value "notApplicable". +func (m *DeviceHealthAttestationState) SetFirmwareProtection(value *FirmwareProtectionType)() { + err := m.GetBackingStore().Set("firmwareProtection", value) + if err != nil { + panic(err) + } +} // SetHealthAttestationSupportedStatus sets the healthAttestationSupportedStatus property value. This attribute indicates if DHA is supported for the device func (m *DeviceHealthAttestationState) SetHealthAttestationSupportedStatus(value *string)() { err := m.GetBackingStore().Set("healthAttestationSupportedStatus", value) @@ -1089,6 +1264,20 @@ func (m *DeviceHealthAttestationState) SetLastUpdateDateTime(value *string)() { panic(err) } } +// SetMemoryAccessProtection sets the memoryAccessProtection property value. A list of possible Azure Attestation states for a device. Azure Attestation setting status is determined by report sent from Microsoft Azure Attestation service. Only Windows 11 devices will have values "enabled" or "disabled". Windows 10 devices will have value "notApplicable". +func (m *DeviceHealthAttestationState) SetMemoryAccessProtection(value *AzureAttestationSettingStatus)() { + err := m.GetBackingStore().Set("memoryAccessProtection", value) + if err != nil { + panic(err) + } +} +// SetMemoryIntegrityProtection sets the memoryIntegrityProtection property value. A list of possible Azure Attestation states for a device. Azure Attestation setting status is determined by report sent from Microsoft Azure Attestation service. Only Windows 11 devices will have values "enabled" or "disabled". Windows 10 devices will have value "notApplicable". +func (m *DeviceHealthAttestationState) SetMemoryIntegrityProtection(value *AzureAttestationSettingStatus)() { + err := m.GetBackingStore().Set("memoryIntegrityProtection", value) + if err != nil { + panic(err) + } +} // SetOdataType sets the @odata.type property value. The OdataType property func (m *DeviceHealthAttestationState) SetOdataType(value *string)() { err := m.GetBackingStore().Set("odataType", value) @@ -1159,6 +1348,20 @@ func (m *DeviceHealthAttestationState) SetSecureBootConfigurationPolicyFingerPri panic(err) } } +// SetSecuredCorePC sets the securedCorePC property value. A list of possible Azure Attestation states for a device. Azure Attestation setting status is determined by report sent from Microsoft Azure Attestation service. Only Windows 11 devices will have values "enabled" or "disabled". Windows 10 devices will have value "notApplicable". +func (m *DeviceHealthAttestationState) SetSecuredCorePC(value *AzureAttestationSettingStatus)() { + err := m.GetBackingStore().Set("securedCorePC", value) + if err != nil { + panic(err) + } +} +// SetSystemManagementMode sets the systemManagementMode property value. A list of possible System Management Mode levels for a device. System Management Mode levels is determined by report sent from Microsoft Azure Attestation service. Only specific hardwares support System Management Mode. Windows 11 devices will have values "notApplicable", "level1", "level2" or "level3". Windows 10 devices will have value "notApplicable". +func (m *DeviceHealthAttestationState) SetSystemManagementMode(value *SystemManagementModeLevel)() { + err := m.GetBackingStore().Set("systemManagementMode", value) + if err != nil { + panic(err) + } +} // SetTestSigning sets the testSigning property value. When test signing is allowed, the device does not enforce signature validation during boot func (m *DeviceHealthAttestationState) SetTestSigning(value *string)() { err := m.GetBackingStore().Set("testSigning", value) @@ -1173,6 +1376,13 @@ func (m *DeviceHealthAttestationState) SetTpmVersion(value *string)() { panic(err) } } +// SetVirtualizationBasedSecurity sets the virtualizationBasedSecurity property value. A list of possible Azure Attestation states for a device. Azure Attestation setting status is determined by report sent from Microsoft Azure Attestation service. Only Windows 11 devices will have values "enabled" or "disabled". Windows 10 devices will have value "notApplicable". +func (m *DeviceHealthAttestationState) SetVirtualizationBasedSecurity(value *AzureAttestationSettingStatus)() { + err := m.GetBackingStore().Set("virtualizationBasedSecurity", value) + if err != nil { + panic(err) + } +} // SetVirtualSecureMode sets the virtualSecureMode property value. VSM is a container that protects high value assets from a compromised kernel func (m *DeviceHealthAttestationState) SetVirtualSecureMode(value *string)() { err := m.GetBackingStore().Set("virtualSecureMode", value) @@ -1208,10 +1418,13 @@ type DeviceHealthAttestationStateable interface { GetDataExcutionPolicy()(*string) GetDeviceHealthAttestationStatus()(*string) GetEarlyLaunchAntiMalwareDriverProtection()(*string) + GetFirmwareProtection()(*FirmwareProtectionType) GetHealthAttestationSupportedStatus()(*string) GetHealthStatusMismatchInfo()(*string) GetIssuedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetLastUpdateDateTime()(*string) + GetMemoryAccessProtection()(*AzureAttestationSettingStatus) + GetMemoryIntegrityProtection()(*AzureAttestationSettingStatus) GetOdataType()(*string) GetOperatingSystemKernelDebugging()(*string) GetOperatingSystemRevListInfo()(*string) @@ -1222,8 +1435,11 @@ type DeviceHealthAttestationStateable interface { GetSafeMode()(*string) GetSecureBoot()(*string) GetSecureBootConfigurationPolicyFingerPrint()(*string) + GetSecuredCorePC()(*AzureAttestationSettingStatus) + GetSystemManagementMode()(*SystemManagementModeLevel) GetTestSigning()(*string) GetTpmVersion()(*string) + GetVirtualizationBasedSecurity()(*AzureAttestationSettingStatus) GetVirtualSecureMode()(*string) GetWindowsPE()(*string) SetAttestationIdentityKey(value *string)() @@ -1242,10 +1458,13 @@ type DeviceHealthAttestationStateable interface { SetDataExcutionPolicy(value *string)() SetDeviceHealthAttestationStatus(value *string)() SetEarlyLaunchAntiMalwareDriverProtection(value *string)() + SetFirmwareProtection(value *FirmwareProtectionType)() SetHealthAttestationSupportedStatus(value *string)() SetHealthStatusMismatchInfo(value *string)() SetIssuedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetLastUpdateDateTime(value *string)() + SetMemoryAccessProtection(value *AzureAttestationSettingStatus)() + SetMemoryIntegrityProtection(value *AzureAttestationSettingStatus)() SetOdataType(value *string)() SetOperatingSystemKernelDebugging(value *string)() SetOperatingSystemRevListInfo(value *string)() @@ -1256,8 +1475,11 @@ type DeviceHealthAttestationStateable interface { SetSafeMode(value *string)() SetSecureBoot(value *string)() SetSecureBootConfigurationPolicyFingerPrint(value *string)() + SetSecuredCorePC(value *AzureAttestationSettingStatus)() + SetSystemManagementMode(value *SystemManagementModeLevel)() SetTestSigning(value *string)() SetTpmVersion(value *string)() + SetVirtualizationBasedSecurity(value *AzureAttestationSettingStatus)() SetVirtualSecureMode(value *string)() SetWindowsPE(value *string)() } diff --git a/models/device_health_script_type.go b/models/device_health_script_type.go index 8be3589bfea..c5d256d53ce 100644 --- a/models/device_health_script_type.go +++ b/models/device_health_script_type.go @@ -34,3 +34,6 @@ func SerializeDeviceHealthScriptType(values []DeviceHealthScriptType) []string { } return result } +func (i DeviceHealthScriptType) isMultiValue() bool { + return false +} diff --git a/models/device_licensing_status.go b/models/device_licensing_status.go index da80a237a96..8337ade7a21 100644 --- a/models/device_licensing_status.go +++ b/models/device_licensing_status.go @@ -90,3 +90,6 @@ func SerializeDeviceLicensingStatus(values []DeviceLicensingStatus) []string { } return result } +func (i DeviceLicensingStatus) isMultiValue() bool { + return false +} diff --git a/models/device_log_collection_template_type.go b/models/device_log_collection_template_type.go index 0bc88927825..3072c2abe48 100644 --- a/models/device_log_collection_template_type.go +++ b/models/device_log_collection_template_type.go @@ -34,3 +34,6 @@ func SerializeDeviceLogCollectionTemplateType(values []DeviceLogCollectionTempla } return result } +func (i DeviceLogCollectionTemplateType) isMultiValue() bool { + return false +} diff --git a/models/device_management_applicability_rule_type.go b/models/device_management_applicability_rule_type.go index 18b8ff07247..6f9a91c0590 100644 --- a/models/device_management_applicability_rule_type.go +++ b/models/device_management_applicability_rule_type.go @@ -34,3 +34,6 @@ func SerializeDeviceManagementApplicabilityRuleType(values []DeviceManagementApp } return result } +func (i DeviceManagementApplicabilityRuleType) isMultiValue() bool { + return false +} diff --git a/models/device_management_autopilot_policy_compliance_status.go b/models/device_management_autopilot_policy_compliance_status.go index b56e7a65caf..34344cd4f5d 100644 --- a/models/device_management_autopilot_policy_compliance_status.go +++ b/models/device_management_autopilot_policy_compliance_status.go @@ -44,3 +44,6 @@ func SerializeDeviceManagementAutopilotPolicyComplianceStatus(values []DeviceMan } return result } +func (i DeviceManagementAutopilotPolicyComplianceStatus) isMultiValue() bool { + return false +} diff --git a/models/device_management_autopilot_policy_type.go b/models/device_management_autopilot_policy_type.go index 03716eb2ea3..27dc559f75d 100644 --- a/models/device_management_autopilot_policy_type.go +++ b/models/device_management_autopilot_policy_type.go @@ -38,3 +38,6 @@ func SerializeDeviceManagementAutopilotPolicyType(values []DeviceManagementAutop } return result } +func (i DeviceManagementAutopilotPolicyType) isMultiValue() bool { + return false +} diff --git a/models/device_management_certification_authority.go b/models/device_management_certification_authority.go index 4e62ae29f02..d1b3ad7e633 100644 --- a/models/device_management_certification_authority.go +++ b/models/device_management_certification_authority.go @@ -38,3 +38,6 @@ func SerializeDeviceManagementCertificationAuthority(values []DeviceManagementCe } return result } +func (i DeviceManagementCertificationAuthority) isMultiValue() bool { + return false +} diff --git a/models/device_management_comparison_result.go b/models/device_management_comparison_result.go index d482bf552f3..f5e922bf050 100644 --- a/models/device_management_comparison_result.go +++ b/models/device_management_comparison_result.go @@ -46,3 +46,6 @@ func SerializeDeviceManagementComparisonResult(values []DeviceManagementComparis } return result } +func (i DeviceManagementComparisonResult) isMultiValue() bool { + return false +} diff --git a/models/device_management_compliance_action_type.go b/models/device_management_compliance_action_type.go index 2428cb59eec..d288891c159 100644 --- a/models/device_management_compliance_action_type.go +++ b/models/device_management_compliance_action_type.go @@ -58,3 +58,6 @@ func SerializeDeviceManagementComplianceActionType(values []DeviceManagementComp } return result } +func (i DeviceManagementComplianceActionType) isMultiValue() bool { + return false +} diff --git a/models/device_management_configuration_azure_ad_trust_type.go b/models/device_management_configuration_azure_ad_trust_type.go index 806f4939bbe..a4ecce74d79 100644 --- a/models/device_management_configuration_azure_ad_trust_type.go +++ b/models/device_management_configuration_azure_ad_trust_type.go @@ -42,3 +42,6 @@ func SerializeDeviceManagementConfigurationAzureAdTrustType(values []DeviceManag } return result } +func (i DeviceManagementConfigurationAzureAdTrustType) isMultiValue() bool { + return false +} diff --git a/models/device_management_configuration_choice_setting_collection_definition.go b/models/device_management_configuration_choice_setting_collection_definition.go index 7fbf0c2f4b5..6d19e09fb8c 100644 --- a/models/device_management_configuration_choice_setting_collection_definition.go +++ b/models/device_management_configuration_choice_setting_collection_definition.go @@ -44,7 +44,7 @@ func (m *DeviceManagementConfigurationChoiceSettingCollectionDefinition) GetFiel } return res } -// GetMaximumCount gets the maximumCount property value. Maximum number of choices in the collection +// GetMaximumCount gets the maximumCount property value. Maximum number of choices in the collection. Valid values 1 to 100 func (m *DeviceManagementConfigurationChoiceSettingCollectionDefinition) GetMaximumCount()(*int32) { val, err := m.GetBackingStore().Get("maximumCount") if err != nil { @@ -55,7 +55,7 @@ func (m *DeviceManagementConfigurationChoiceSettingCollectionDefinition) GetMaxi } return nil } -// GetMinimumCount gets the minimumCount property value. Minimum number of choices in the collection +// GetMinimumCount gets the minimumCount property value. Minimum number of choices in the collection. Valid values 1 to 100 func (m *DeviceManagementConfigurationChoiceSettingCollectionDefinition) GetMinimumCount()(*int32) { val, err := m.GetBackingStore().Get("minimumCount") if err != nil { @@ -86,14 +86,14 @@ func (m *DeviceManagementConfigurationChoiceSettingCollectionDefinition) Seriali } return nil } -// SetMaximumCount sets the maximumCount property value. Maximum number of choices in the collection +// SetMaximumCount sets the maximumCount property value. Maximum number of choices in the collection. Valid values 1 to 100 func (m *DeviceManagementConfigurationChoiceSettingCollectionDefinition) SetMaximumCount(value *int32)() { err := m.GetBackingStore().Set("maximumCount", value) if err != nil { panic(err) } } -// SetMinimumCount sets the minimumCount property value. Minimum number of choices in the collection +// SetMinimumCount sets the minimumCount property value. Minimum number of choices in the collection. Valid values 1 to 100 func (m *DeviceManagementConfigurationChoiceSettingCollectionDefinition) SetMinimumCount(value *int32)() { err := m.GetBackingStore().Set("minimumCount", value) if err != nil { diff --git a/models/device_management_configuration_control_type.go b/models/device_management_configuration_control_type.go index 96603c58281..f58f37f2f43 100644 --- a/models/device_management_configuration_control_type.go +++ b/models/device_management_configuration_control_type.go @@ -58,3 +58,6 @@ func SerializeDeviceManagementConfigurationControlType(values []DeviceManagement } return result } +func (i DeviceManagementConfigurationControlType) isMultiValue() bool { + return false +} diff --git a/models/device_management_configuration_device_mode.go b/models/device_management_configuration_device_mode.go index f79afc0c3cb..2ff800bb063 100644 --- a/models/device_management_configuration_device_mode.go +++ b/models/device_management_configuration_device_mode.go @@ -34,3 +34,6 @@ func SerializeDeviceManagementConfigurationDeviceMode(values []DeviceManagementC } return result } +func (i DeviceManagementConfigurationDeviceMode) isMultiValue() bool { + return false +} diff --git a/models/device_management_configuration_platforms.go b/models/device_management_configuration_platforms.go index a3c9e563598..c614c94e1cf 100644 --- a/models/device_management_configuration_platforms.go +++ b/models/device_management_configuration_platforms.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Supported platform types. type DeviceManagementConfigurationPlatforms int @@ -25,29 +26,38 @@ const ( ) func (i DeviceManagementConfigurationPlatforms) String() string { - return []string{"none", "android", "iOS", "macOS", "windows10X", "windows10", "linux", "unknownFutureValue"}[i] + var values []string + for p := DeviceManagementConfigurationPlatforms(1); p <= UNKNOWNFUTUREVALUE_DEVICEMANAGEMENTCONFIGURATIONPLATFORMS; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "android", "iOS", "macOS", "windows10X", "windows10", "linux", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseDeviceManagementConfigurationPlatforms(v string) (any, error) { - result := NONE_DEVICEMANAGEMENTCONFIGURATIONPLATFORMS - switch v { - case "none": - result = NONE_DEVICEMANAGEMENTCONFIGURATIONPLATFORMS - case "android": - result = ANDROID_DEVICEMANAGEMENTCONFIGURATIONPLATFORMS - case "iOS": - result = IOS_DEVICEMANAGEMENTCONFIGURATIONPLATFORMS - case "macOS": - result = MACOS_DEVICEMANAGEMENTCONFIGURATIONPLATFORMS - case "windows10X": - result = WINDOWS10X_DEVICEMANAGEMENTCONFIGURATIONPLATFORMS - case "windows10": - result = WINDOWS10_DEVICEMANAGEMENTCONFIGURATIONPLATFORMS - case "linux": - result = LINUX_DEVICEMANAGEMENTCONFIGURATIONPLATFORMS - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_DEVICEMANAGEMENTCONFIGURATIONPLATFORMS - default: - return 0, errors.New("Unknown DeviceManagementConfigurationPlatforms value: " + v) + var result DeviceManagementConfigurationPlatforms + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_DEVICEMANAGEMENTCONFIGURATIONPLATFORMS + case "android": + result |= ANDROID_DEVICEMANAGEMENTCONFIGURATIONPLATFORMS + case "iOS": + result |= IOS_DEVICEMANAGEMENTCONFIGURATIONPLATFORMS + case "macOS": + result |= MACOS_DEVICEMANAGEMENTCONFIGURATIONPLATFORMS + case "windows10X": + result |= WINDOWS10X_DEVICEMANAGEMENTCONFIGURATIONPLATFORMS + case "windows10": + result |= WINDOWS10_DEVICEMANAGEMENTCONFIGURATIONPLATFORMS + case "linux": + result |= LINUX_DEVICEMANAGEMENTCONFIGURATIONPLATFORMS + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_DEVICEMANAGEMENTCONFIGURATIONPLATFORMS + default: + return 0, errors.New("Unknown DeviceManagementConfigurationPlatforms value: " + v) + } } return &result, nil } @@ -58,3 +68,6 @@ func SerializeDeviceManagementConfigurationPlatforms(values []DeviceManagementCo } return result } +func (i DeviceManagementConfigurationPlatforms) isMultiValue() bool { + return true +} diff --git a/models/device_management_configuration_secret_setting_value_state.go b/models/device_management_configuration_secret_setting_value_state.go index c787b326ede..4035ac08680 100644 --- a/models/device_management_configuration_secret_setting_value_state.go +++ b/models/device_management_configuration_secret_setting_value_state.go @@ -38,3 +38,6 @@ func SerializeDeviceManagementConfigurationSecretSettingValueState(values []Devi } return result } +func (i DeviceManagementConfigurationSecretSettingValueState) isMultiValue() bool { + return false +} diff --git a/models/device_management_configuration_setting_access_types.go b/models/device_management_configuration_setting_access_types.go index c5b35ab4358..29ebf4bb924 100644 --- a/models/device_management_configuration_setting_access_types.go +++ b/models/device_management_configuration_setting_access_types.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type DeviceManagementConfigurationSettingAccessTypes int @@ -16,27 +17,36 @@ const ( ) func (i DeviceManagementConfigurationSettingAccessTypes) String() string { - return []string{"none", "add", "copy", "delete", "get", "replace", "execute"}[i] + var values []string + for p := DeviceManagementConfigurationSettingAccessTypes(1); p <= EXECUTE_DEVICEMANAGEMENTCONFIGURATIONSETTINGACCESSTYPES; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "add", "copy", "delete", "get", "replace", "execute"}[p]) + } + } + return strings.Join(values, ",") } func ParseDeviceManagementConfigurationSettingAccessTypes(v string) (any, error) { - result := NONE_DEVICEMANAGEMENTCONFIGURATIONSETTINGACCESSTYPES - switch v { - case "none": - result = NONE_DEVICEMANAGEMENTCONFIGURATIONSETTINGACCESSTYPES - case "add": - result = ADD_DEVICEMANAGEMENTCONFIGURATIONSETTINGACCESSTYPES - case "copy": - result = COPY_DEVICEMANAGEMENTCONFIGURATIONSETTINGACCESSTYPES - case "delete": - result = DELETE_DEVICEMANAGEMENTCONFIGURATIONSETTINGACCESSTYPES - case "get": - result = GET_DEVICEMANAGEMENTCONFIGURATIONSETTINGACCESSTYPES - case "replace": - result = REPLACE_DEVICEMANAGEMENTCONFIGURATIONSETTINGACCESSTYPES - case "execute": - result = EXECUTE_DEVICEMANAGEMENTCONFIGURATIONSETTINGACCESSTYPES - default: - return 0, errors.New("Unknown DeviceManagementConfigurationSettingAccessTypes value: " + v) + var result DeviceManagementConfigurationSettingAccessTypes + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_DEVICEMANAGEMENTCONFIGURATIONSETTINGACCESSTYPES + case "add": + result |= ADD_DEVICEMANAGEMENTCONFIGURATIONSETTINGACCESSTYPES + case "copy": + result |= COPY_DEVICEMANAGEMENTCONFIGURATIONSETTINGACCESSTYPES + case "delete": + result |= DELETE_DEVICEMANAGEMENTCONFIGURATIONSETTINGACCESSTYPES + case "get": + result |= GET_DEVICEMANAGEMENTCONFIGURATIONSETTINGACCESSTYPES + case "replace": + result |= REPLACE_DEVICEMANAGEMENTCONFIGURATIONSETTINGACCESSTYPES + case "execute": + result |= EXECUTE_DEVICEMANAGEMENTCONFIGURATIONSETTINGACCESSTYPES + default: + return 0, errors.New("Unknown DeviceManagementConfigurationSettingAccessTypes value: " + v) + } } return &result, nil } @@ -47,3 +57,6 @@ func SerializeDeviceManagementConfigurationSettingAccessTypes(values []DeviceMan } return result } +func (i DeviceManagementConfigurationSettingAccessTypes) isMultiValue() bool { + return true +} diff --git a/models/device_management_configuration_setting_definition.go b/models/device_management_configuration_setting_definition.go index 57e1c859b54..584236fa74a 100644 --- a/models/device_management_configuration_setting_definition.go +++ b/models/device_management_configuration_setting_definition.go @@ -60,7 +60,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetAccessTypes()(*Devic } return nil } -// GetApplicability gets the applicability property value. Details which device setting is applicable on +// GetApplicability gets the applicability property value. Details which device setting is applicable on. Supports: $filters. func (m *DeviceManagementConfigurationSettingDefinition) GetApplicability()(DeviceManagementConfigurationSettingApplicabilityable) { val, err := m.GetBackingStore().Get("applicability") if err != nil { @@ -82,7 +82,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetBaseUri()(*string) { } return nil } -// GetCategoryId gets the categoryId property value. Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) +// GetCategoryId gets the categoryId property value. Specify category in which the setting is under. Support $filters. func (m *DeviceManagementConfigurationSettingDefinition) GetCategoryId()(*string) { val, err := m.GetBackingStore().Get("categoryId") if err != nil { @@ -93,7 +93,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetCategoryId()(*string } return nil } -// GetDescription gets the description property value. Description of the item +// GetDescription gets the description property value. Description of the setting. func (m *DeviceManagementConfigurationSettingDefinition) GetDescription()(*string) { val, err := m.GetBackingStore().Get("description") if err != nil { @@ -104,7 +104,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetDescription()(*strin } return nil } -// GetDisplayName gets the displayName property value. Display name of the item +// GetDisplayName gets the displayName property value. Name of the setting. For example: Allow Toast. func (m *DeviceManagementConfigurationSettingDefinition) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") if err != nil { @@ -318,7 +318,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetFieldDeserializers() } return res } -// GetHelpText gets the helpText property value. Help text of the item +// GetHelpText gets the helpText property value. Help text of the setting. Give more details of the setting. func (m *DeviceManagementConfigurationSettingDefinition) GetHelpText()(*string) { val, err := m.GetBackingStore().Get("helpText") if err != nil { @@ -329,7 +329,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetHelpText()(*string) } return nil } -// GetInfoUrls gets the infoUrls property value. List of links more info for the setting can be found at +// GetInfoUrls gets the infoUrls property value. List of links more info for the setting can be found at. func (m *DeviceManagementConfigurationSettingDefinition) GetInfoUrls()([]string) { val, err := m.GetBackingStore().Get("infoUrls") if err != nil { @@ -395,7 +395,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetReferredSettingInfor } return nil } -// GetRootDefinitionId gets the rootDefinitionId property value. Root setting definition if the setting is a child setting. +// GetRootDefinitionId gets the rootDefinitionId property value. Root setting definition id if the setting is a child setting. func (m *DeviceManagementConfigurationSettingDefinition) GetRootDefinitionId()(*string) { val, err := m.GetBackingStore().Get("rootDefinitionId") if err != nil { @@ -583,7 +583,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) SetAccessTypes(value *D panic(err) } } -// SetApplicability sets the applicability property value. Details which device setting is applicable on +// SetApplicability sets the applicability property value. Details which device setting is applicable on. Supports: $filters. func (m *DeviceManagementConfigurationSettingDefinition) SetApplicability(value DeviceManagementConfigurationSettingApplicabilityable)() { err := m.GetBackingStore().Set("applicability", value) if err != nil { @@ -597,35 +597,35 @@ func (m *DeviceManagementConfigurationSettingDefinition) SetBaseUri(value *strin panic(err) } } -// SetCategoryId sets the categoryId property value. Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) +// SetCategoryId sets the categoryId property value. Specify category in which the setting is under. Support $filters. func (m *DeviceManagementConfigurationSettingDefinition) SetCategoryId(value *string)() { err := m.GetBackingStore().Set("categoryId", value) if err != nil { panic(err) } } -// SetDescription sets the description property value. Description of the item +// SetDescription sets the description property value. Description of the setting. func (m *DeviceManagementConfigurationSettingDefinition) SetDescription(value *string)() { err := m.GetBackingStore().Set("description", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. Display name of the item +// SetDisplayName sets the displayName property value. Name of the setting. For example: Allow Toast. func (m *DeviceManagementConfigurationSettingDefinition) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetHelpText sets the helpText property value. Help text of the item +// SetHelpText sets the helpText property value. Help text of the setting. Give more details of the setting. func (m *DeviceManagementConfigurationSettingDefinition) SetHelpText(value *string)() { err := m.GetBackingStore().Set("helpText", value) if err != nil { panic(err) } } -// SetInfoUrls sets the infoUrls property value. List of links more info for the setting can be found at +// SetInfoUrls sets the infoUrls property value. List of links more info for the setting can be found at. func (m *DeviceManagementConfigurationSettingDefinition) SetInfoUrls(value []string)() { err := m.GetBackingStore().Set("infoUrls", value) if err != nil { @@ -667,7 +667,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) SetReferredSettingInfor panic(err) } } -// SetRootDefinitionId sets the rootDefinitionId property value. Root setting definition if the setting is a child setting. +// SetRootDefinitionId sets the rootDefinitionId property value. Root setting definition id if the setting is a child setting. func (m *DeviceManagementConfigurationSettingDefinition) SetRootDefinitionId(value *string)() { err := m.GetBackingStore().Set("rootDefinitionId", value) if err != nil { diff --git a/models/device_management_configuration_setting_group_collection_definition.go b/models/device_management_configuration_setting_group_collection_definition.go index 1b640305b33..7702cbf6faf 100644 --- a/models/device_management_configuration_setting_group_collection_definition.go +++ b/models/device_management_configuration_setting_group_collection_definition.go @@ -44,7 +44,7 @@ func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) GetField } return res } -// GetMaximumCount gets the maximumCount property value. Maximum number of setting group count in the collection. Valid values 1 to 100 +// GetMaximumCount gets the maximumCount property value. Maximum number of setting group count in the collection func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) GetMaximumCount()(*int32) { val, err := m.GetBackingStore().Get("maximumCount") if err != nil { @@ -55,7 +55,7 @@ func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) GetMaxim } return nil } -// GetMinimumCount gets the minimumCount property value. Minimum number of setting group count in the collection. Valid values 1 to 100 +// GetMinimumCount gets the minimumCount property value. Minimum number of setting group count in the collection func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) GetMinimumCount()(*int32) { val, err := m.GetBackingStore().Get("minimumCount") if err != nil { @@ -86,14 +86,14 @@ func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) Serializ } return nil } -// SetMaximumCount sets the maximumCount property value. Maximum number of setting group count in the collection. Valid values 1 to 100 +// SetMaximumCount sets the maximumCount property value. Maximum number of setting group count in the collection func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) SetMaximumCount(value *int32)() { err := m.GetBackingStore().Set("maximumCount", value) if err != nil { panic(err) } } -// SetMinimumCount sets the minimumCount property value. Minimum number of setting group count in the collection. Valid values 1 to 100 +// SetMinimumCount sets the minimumCount property value. Minimum number of setting group count in the collection func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) SetMinimumCount(value *int32)() { err := m.GetBackingStore().Set("minimumCount", value) if err != nil { diff --git a/models/device_management_configuration_setting_usage.go b/models/device_management_configuration_setting_usage.go index 17934d2f249..3cc19ebb8a0 100644 --- a/models/device_management_configuration_setting_usage.go +++ b/models/device_management_configuration_setting_usage.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Supported setting types type DeviceManagementConfigurationSettingUsage int @@ -17,21 +18,30 @@ const ( ) func (i DeviceManagementConfigurationSettingUsage) String() string { - return []string{"none", "configuration", "compliance", "unknownFutureValue"}[i] + var values []string + for p := DeviceManagementConfigurationSettingUsage(1); p <= UNKNOWNFUTUREVALUE_DEVICEMANAGEMENTCONFIGURATIONSETTINGUSAGE; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "configuration", "compliance", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseDeviceManagementConfigurationSettingUsage(v string) (any, error) { - result := NONE_DEVICEMANAGEMENTCONFIGURATIONSETTINGUSAGE - switch v { - case "none": - result = NONE_DEVICEMANAGEMENTCONFIGURATIONSETTINGUSAGE - case "configuration": - result = CONFIGURATION_DEVICEMANAGEMENTCONFIGURATIONSETTINGUSAGE - case "compliance": - result = COMPLIANCE_DEVICEMANAGEMENTCONFIGURATIONSETTINGUSAGE - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_DEVICEMANAGEMENTCONFIGURATIONSETTINGUSAGE - default: - return 0, errors.New("Unknown DeviceManagementConfigurationSettingUsage value: " + v) + var result DeviceManagementConfigurationSettingUsage + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_DEVICEMANAGEMENTCONFIGURATIONSETTINGUSAGE + case "configuration": + result |= CONFIGURATION_DEVICEMANAGEMENTCONFIGURATIONSETTINGUSAGE + case "compliance": + result |= COMPLIANCE_DEVICEMANAGEMENTCONFIGURATIONSETTINGUSAGE + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_DEVICEMANAGEMENTCONFIGURATIONSETTINGUSAGE + default: + return 0, errors.New("Unknown DeviceManagementConfigurationSettingUsage value: " + v) + } } return &result, nil } @@ -42,3 +52,6 @@ func SerializeDeviceManagementConfigurationSettingUsage(values []DeviceManagemen } return result } +func (i DeviceManagementConfigurationSettingUsage) isMultiValue() bool { + return true +} diff --git a/models/device_management_configuration_setting_visibility.go b/models/device_management_configuration_setting_visibility.go index 16040ac8e46..73702846c7d 100644 --- a/models/device_management_configuration_setting_visibility.go +++ b/models/device_management_configuration_setting_visibility.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Supported setting types type DeviceManagementConfigurationSettingVisibility int @@ -17,21 +18,30 @@ const ( ) func (i DeviceManagementConfigurationSettingVisibility) String() string { - return []string{"none", "settingsCatalog", "template", "unknownFutureValue"}[i] + var values []string + for p := DeviceManagementConfigurationSettingVisibility(1); p <= UNKNOWNFUTUREVALUE_DEVICEMANAGEMENTCONFIGURATIONSETTINGVISIBILITY; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "settingsCatalog", "template", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseDeviceManagementConfigurationSettingVisibility(v string) (any, error) { - result := NONE_DEVICEMANAGEMENTCONFIGURATIONSETTINGVISIBILITY - switch v { - case "none": - result = NONE_DEVICEMANAGEMENTCONFIGURATIONSETTINGVISIBILITY - case "settingsCatalog": - result = SETTINGSCATALOG_DEVICEMANAGEMENTCONFIGURATIONSETTINGVISIBILITY - case "template": - result = TEMPLATE_DEVICEMANAGEMENTCONFIGURATIONSETTINGVISIBILITY - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_DEVICEMANAGEMENTCONFIGURATIONSETTINGVISIBILITY - default: - return 0, errors.New("Unknown DeviceManagementConfigurationSettingVisibility value: " + v) + var result DeviceManagementConfigurationSettingVisibility + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_DEVICEMANAGEMENTCONFIGURATIONSETTINGVISIBILITY + case "settingsCatalog": + result |= SETTINGSCATALOG_DEVICEMANAGEMENTCONFIGURATIONSETTINGVISIBILITY + case "template": + result |= TEMPLATE_DEVICEMANAGEMENTCONFIGURATIONSETTINGVISIBILITY + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_DEVICEMANAGEMENTCONFIGURATIONSETTINGVISIBILITY + default: + return 0, errors.New("Unknown DeviceManagementConfigurationSettingVisibility value: " + v) + } } return &result, nil } @@ -42,3 +52,6 @@ func SerializeDeviceManagementConfigurationSettingVisibility(values []DeviceMana } return result } +func (i DeviceManagementConfigurationSettingVisibility) isMultiValue() bool { + return true +} diff --git a/models/device_management_configuration_string_format.go b/models/device_management_configuration_string_format.go index bed14e404bf..7f33434633f 100644 --- a/models/device_management_configuration_string_format.go +++ b/models/device_management_configuration_string_format.go @@ -93,3 +93,6 @@ func SerializeDeviceManagementConfigurationStringFormat(values []DeviceManagemen } return result } +func (i DeviceManagementConfigurationStringFormat) isMultiValue() bool { + return false +} diff --git a/models/device_management_configuration_string_setting_value_definition.go b/models/device_management_configuration_string_setting_value_definition.go index 27b5d6d1e47..93123ee8270 100644 --- a/models/device_management_configuration_string_setting_value_definition.go +++ b/models/device_management_configuration_string_setting_value_definition.go @@ -103,7 +103,7 @@ func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetFileTypes } return nil } -// GetFormat gets the format property value. The format property +// GetFormat gets the format property value. Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetFormat()(*DeviceManagementConfigurationStringFormat) { val, err := m.GetBackingStore().Get("format") if err != nil { @@ -136,7 +136,7 @@ func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetIsSecret( } return nil } -// GetMaximumLength gets the maximumLength property value. Maximum length of string. Valid values 0 to 87516 +// GetMaximumLength gets the maximumLength property value. Maximum length of string func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetMaximumLength()(*int64) { val, err := m.GetBackingStore().Get("maximumLength") if err != nil { @@ -147,7 +147,7 @@ func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetMaximumLe } return nil } -// GetMinimumLength gets the minimumLength property value. Minimum length of string. Valid values 0 to 87516 +// GetMinimumLength gets the minimumLength property value. Minimum length of string func (m *DeviceManagementConfigurationStringSettingValueDefinition) GetMinimumLength()(*int64) { val, err := m.GetBackingStore().Get("minimumLength") if err != nil { @@ -210,7 +210,7 @@ func (m *DeviceManagementConfigurationStringSettingValueDefinition) SetFileTypes panic(err) } } -// SetFormat sets the format property value. The format property +// SetFormat sets the format property value. Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. func (m *DeviceManagementConfigurationStringSettingValueDefinition) SetFormat(value *DeviceManagementConfigurationStringFormat)() { err := m.GetBackingStore().Set("format", value) if err != nil { @@ -231,14 +231,14 @@ func (m *DeviceManagementConfigurationStringSettingValueDefinition) SetIsSecret( panic(err) } } -// SetMaximumLength sets the maximumLength property value. Maximum length of string. Valid values 0 to 87516 +// SetMaximumLength sets the maximumLength property value. Maximum length of string func (m *DeviceManagementConfigurationStringSettingValueDefinition) SetMaximumLength(value *int64)() { err := m.GetBackingStore().Set("maximumLength", value) if err != nil { panic(err) } } -// SetMinimumLength sets the minimumLength property value. Minimum length of string. Valid values 0 to 87516 +// SetMinimumLength sets the minimumLength property value. Minimum length of string func (m *DeviceManagementConfigurationStringSettingValueDefinition) SetMinimumLength(value *int64)() { err := m.GetBackingStore().Set("minimumLength", value) if err != nil { diff --git a/models/device_management_configuration_technologies.go b/models/device_management_configuration_technologies.go index 08a2986193a..1ecdc2c8dcb 100644 --- a/models/device_management_configuration_technologies.go +++ b/models/device_management_configuration_technologies.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Describes which technology this setting can be deployed with type DeviceManagementConfigurationTechnologies int @@ -31,35 +32,44 @@ const ( ) func (i DeviceManagementConfigurationTechnologies) String() string { - return []string{"none", "mdm", "windows10XManagement", "configManager", "appleRemoteManagement", "microsoftSense", "exchangeOnline", "linuxMdm", "enrollment", "endpointPrivilegeManagement", "unknownFutureValue"}[i] + var values []string + for p := DeviceManagementConfigurationTechnologies(1); p <= UNKNOWNFUTUREVALUE_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "mdm", "windows10XManagement", "configManager", "appleRemoteManagement", "microsoftSense", "exchangeOnline", "linuxMdm", "enrollment", "endpointPrivilegeManagement", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseDeviceManagementConfigurationTechnologies(v string) (any, error) { - result := NONE_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES - switch v { - case "none": - result = NONE_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES - case "mdm": - result = MDM_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES - case "windows10XManagement": - result = WINDOWS10XMANAGEMENT_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES - case "configManager": - result = CONFIGMANAGER_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES - case "appleRemoteManagement": - result = APPLEREMOTEMANAGEMENT_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES - case "microsoftSense": - result = MICROSOFTSENSE_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES - case "exchangeOnline": - result = EXCHANGEONLINE_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES - case "linuxMdm": - result = LINUXMDM_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES - case "enrollment": - result = ENROLLMENT_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES - case "endpointPrivilegeManagement": - result = ENDPOINTPRIVILEGEMANAGEMENT_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES - default: - return 0, errors.New("Unknown DeviceManagementConfigurationTechnologies value: " + v) + var result DeviceManagementConfigurationTechnologies + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES + case "mdm": + result |= MDM_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES + case "windows10XManagement": + result |= WINDOWS10XMANAGEMENT_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES + case "configManager": + result |= CONFIGMANAGER_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES + case "appleRemoteManagement": + result |= APPLEREMOTEMANAGEMENT_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES + case "microsoftSense": + result |= MICROSOFTSENSE_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES + case "exchangeOnline": + result |= EXCHANGEONLINE_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES + case "linuxMdm": + result |= LINUXMDM_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES + case "enrollment": + result |= ENROLLMENT_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES + case "endpointPrivilegeManagement": + result |= ENDPOINTPRIVILEGEMANAGEMENT_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_DEVICEMANAGEMENTCONFIGURATIONTECHNOLOGIES + default: + return 0, errors.New("Unknown DeviceManagementConfigurationTechnologies value: " + v) + } } return &result, nil } @@ -70,3 +80,6 @@ func SerializeDeviceManagementConfigurationTechnologies(values []DeviceManagemen } return result } +func (i DeviceManagementConfigurationTechnologies) isMultiValue() bool { + return true +} diff --git a/models/device_management_configuration_template_family.go b/models/device_management_configuration_template_family.go index 7d7d9c63c50..59ff0761150 100644 --- a/models/device_management_configuration_template_family.go +++ b/models/device_management_configuration_template_family.go @@ -86,3 +86,6 @@ func SerializeDeviceManagementConfigurationTemplateFamily(values []DeviceManagem } return result } +func (i DeviceManagementConfigurationTemplateFamily) isMultiValue() bool { + return false +} diff --git a/models/device_management_configuration_windows_skus.go b/models/device_management_configuration_windows_skus.go index e304d5b34b9..f4fe2143c3c 100644 --- a/models/device_management_configuration_windows_skus.go +++ b/models/device_management_configuration_windows_skus.go @@ -71,3 +71,6 @@ func SerializeDeviceManagementConfigurationWindowsSkus(values []DeviceManagement } return result } +func (i DeviceManagementConfigurationWindowsSkus) isMultiValue() bool { + return false +} diff --git a/models/device_management_derived_credential_issuer.go b/models/device_management_derived_credential_issuer.go index 221e76b0e3e..e3532c3c23a 100644 --- a/models/device_management_derived_credential_issuer.go +++ b/models/device_management_derived_credential_issuer.go @@ -42,3 +42,6 @@ func SerializeDeviceManagementDerivedCredentialIssuer(values []DeviceManagementD } return result } +func (i DeviceManagementDerivedCredentialIssuer) isMultiValue() bool { + return false +} diff --git a/models/device_management_derived_credential_notification_type.go b/models/device_management_derived_credential_notification_type.go index 96ed1c92966..083f7b2f5b2 100644 --- a/models/device_management_derived_credential_notification_type.go +++ b/models/device_management_derived_credential_notification_type.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Supported values for the notification type to use. type DeviceManagementDerivedCredentialNotificationType int @@ -15,19 +16,28 @@ const ( ) func (i DeviceManagementDerivedCredentialNotificationType) String() string { - return []string{"none", "companyPortal", "email"}[i] + var values []string + for p := DeviceManagementDerivedCredentialNotificationType(1); p <= EMAIL_DEVICEMANAGEMENTDERIVEDCREDENTIALNOTIFICATIONTYPE; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "companyPortal", "email"}[p]) + } + } + return strings.Join(values, ",") } func ParseDeviceManagementDerivedCredentialNotificationType(v string) (any, error) { - result := NONE_DEVICEMANAGEMENTDERIVEDCREDENTIALNOTIFICATIONTYPE - switch v { - case "none": - result = NONE_DEVICEMANAGEMENTDERIVEDCREDENTIALNOTIFICATIONTYPE - case "companyPortal": - result = COMPANYPORTAL_DEVICEMANAGEMENTDERIVEDCREDENTIALNOTIFICATIONTYPE - case "email": - result = EMAIL_DEVICEMANAGEMENTDERIVEDCREDENTIALNOTIFICATIONTYPE - default: - return 0, errors.New("Unknown DeviceManagementDerivedCredentialNotificationType value: " + v) + var result DeviceManagementDerivedCredentialNotificationType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_DEVICEMANAGEMENTDERIVEDCREDENTIALNOTIFICATIONTYPE + case "companyPortal": + result |= COMPANYPORTAL_DEVICEMANAGEMENTDERIVEDCREDENTIALNOTIFICATIONTYPE + case "email": + result |= EMAIL_DEVICEMANAGEMENTDERIVEDCREDENTIALNOTIFICATIONTYPE + default: + return 0, errors.New("Unknown DeviceManagementDerivedCredentialNotificationType value: " + v) + } } return &result, nil } @@ -38,3 +48,6 @@ func SerializeDeviceManagementDerivedCredentialNotificationType(values []DeviceM } return result } +func (i DeviceManagementDerivedCredentialNotificationType) isMultiValue() bool { + return true +} diff --git a/models/device_management_domain_join_connector_state.go b/models/device_management_domain_join_connector_state.go index de13598f4d6..1781618f0c9 100644 --- a/models/device_management_domain_join_connector_state.go +++ b/models/device_management_domain_join_connector_state.go @@ -38,3 +38,6 @@ func SerializeDeviceManagementDomainJoinConnectorState(values []DeviceManagement } return result } +func (i DeviceManagementDomainJoinConnectorState) isMultiValue() bool { + return false +} diff --git a/models/device_management_exchange_access_level.go b/models/device_management_exchange_access_level.go index 720c7f9c0c5..218a864dbb5 100644 --- a/models/device_management_exchange_access_level.go +++ b/models/device_management_exchange_access_level.go @@ -42,3 +42,6 @@ func SerializeDeviceManagementExchangeAccessLevel(values []DeviceManagementExcha } return result } +func (i DeviceManagementExchangeAccessLevel) isMultiValue() bool { + return false +} diff --git a/models/device_management_exchange_access_rule_type.go b/models/device_management_exchange_access_rule_type.go index 0cdea56c528..5668af31b35 100644 --- a/models/device_management_exchange_access_rule_type.go +++ b/models/device_management_exchange_access_rule_type.go @@ -34,3 +34,6 @@ func SerializeDeviceManagementExchangeAccessRuleType(values []DeviceManagementEx } return result } +func (i DeviceManagementExchangeAccessRuleType) isMultiValue() bool { + return false +} diff --git a/models/device_management_exchange_access_state.go b/models/device_management_exchange_access_state.go index 8e126f400fe..5a0625408e3 100644 --- a/models/device_management_exchange_access_state.go +++ b/models/device_management_exchange_access_state.go @@ -46,3 +46,6 @@ func SerializeDeviceManagementExchangeAccessState(values []DeviceManagementExcha } return result } +func (i DeviceManagementExchangeAccessState) isMultiValue() bool { + return false +} diff --git a/models/device_management_exchange_access_state_reason.go b/models/device_management_exchange_access_state_reason.go index b498f6535fc..e57a52f7685 100644 --- a/models/device_management_exchange_access_state_reason.go +++ b/models/device_management_exchange_access_state_reason.go @@ -90,3 +90,6 @@ func SerializeDeviceManagementExchangeAccessStateReason(values []DeviceManagemen } return result } +func (i DeviceManagementExchangeAccessStateReason) isMultiValue() bool { + return false +} diff --git a/models/device_management_exchange_connector_status.go b/models/device_management_exchange_connector_status.go index 46460af09e4..2a1112fcfbf 100644 --- a/models/device_management_exchange_connector_status.go +++ b/models/device_management_exchange_connector_status.go @@ -46,3 +46,6 @@ func SerializeDeviceManagementExchangeConnectorStatus(values []DeviceManagementE } return result } +func (i DeviceManagementExchangeConnectorStatus) isMultiValue() bool { + return false +} diff --git a/models/device_management_exchange_connector_sync_type.go b/models/device_management_exchange_connector_sync_type.go index d76249f6f7b..d362db04034 100644 --- a/models/device_management_exchange_connector_sync_type.go +++ b/models/device_management_exchange_connector_sync_type.go @@ -34,3 +34,6 @@ func SerializeDeviceManagementExchangeConnectorSyncType(values []DeviceManagemen } return result } +func (i DeviceManagementExchangeConnectorSyncType) isMultiValue() bool { + return false +} diff --git a/models/device_management_exchange_connector_type.go b/models/device_management_exchange_connector_type.go index dcab40ede65..1c4f8976626 100644 --- a/models/device_management_exchange_connector_type.go +++ b/models/device_management_exchange_connector_type.go @@ -46,3 +46,6 @@ func SerializeDeviceManagementExchangeConnectorType(values []DeviceManagementExc } return result } +func (i DeviceManagementExchangeConnectorType) isMultiValue() bool { + return false +} diff --git a/models/device_management_export_job_localization_type.go b/models/device_management_export_job_localization_type.go index 6bc57015079..8e1245e9dce 100644 --- a/models/device_management_export_job_localization_type.go +++ b/models/device_management_export_job_localization_type.go @@ -34,3 +34,6 @@ func SerializeDeviceManagementExportJobLocalizationType(values []DeviceManagemen } return result } +func (i DeviceManagementExportJobLocalizationType) isMultiValue() bool { + return false +} diff --git a/models/device_management_partner_app_type.go b/models/device_management_partner_app_type.go index 231a3905c72..26a2bf7ccad 100644 --- a/models/device_management_partner_app_type.go +++ b/models/device_management_partner_app_type.go @@ -38,3 +38,6 @@ func SerializeDeviceManagementPartnerAppType(values []DeviceManagementPartnerApp } return result } +func (i DeviceManagementPartnerAppType) isMultiValue() bool { + return false +} diff --git a/models/device_management_partner_tenant_state.go b/models/device_management_partner_tenant_state.go index 74d94e998f9..af726d8cec9 100644 --- a/models/device_management_partner_tenant_state.go +++ b/models/device_management_partner_tenant_state.go @@ -50,3 +50,6 @@ func SerializeDeviceManagementPartnerTenantState(values []DeviceManagementPartne } return result } +func (i DeviceManagementPartnerTenantState) isMultiValue() bool { + return false +} diff --git a/models/device_management_report_file_format.go b/models/device_management_report_file_format.go index da8749a9420..f7ece9791d8 100644 --- a/models/device_management_report_file_format.go +++ b/models/device_management_report_file_format.go @@ -42,3 +42,6 @@ func SerializeDeviceManagementReportFileFormat(values []DeviceManagementReportFi } return result } +func (i DeviceManagementReportFileFormat) isMultiValue() bool { + return false +} diff --git a/models/device_management_report_status.go b/models/device_management_report_status.go index a47ac905a06..d616cd4fcc5 100644 --- a/models/device_management_report_status.go +++ b/models/device_management_report_status.go @@ -46,3 +46,6 @@ func SerializeDeviceManagementReportStatus(values []DeviceManagementReportStatus } return result } +func (i DeviceManagementReportStatus) isMultiValue() bool { + return false +} diff --git a/models/device_management_resource_access_profile_intent.go b/models/device_management_resource_access_profile_intent.go index 53bd6c79fa8..99583259d3a 100644 --- a/models/device_management_resource_access_profile_intent.go +++ b/models/device_management_resource_access_profile_intent.go @@ -34,3 +34,6 @@ func SerializeDeviceManagementResourceAccessProfileIntent(values []DeviceManagem } return result } +func (i DeviceManagementResourceAccessProfileIntent) isMultiValue() bool { + return false +} diff --git a/models/device_management_subscription_state.go b/models/device_management_subscription_state.go index 7d3d7180de2..ade686d9d4e 100644 --- a/models/device_management_subscription_state.go +++ b/models/device_management_subscription_state.go @@ -54,3 +54,6 @@ func SerializeDeviceManagementSubscriptionState(values []DeviceManagementSubscri } return result } +func (i DeviceManagementSubscriptionState) isMultiValue() bool { + return false +} diff --git a/models/device_management_subscriptions.go b/models/device_management_subscriptions.go index 3372b800a04..701fbae3e61 100644 --- a/models/device_management_subscriptions.go +++ b/models/device_management_subscriptions.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Tenant mobile device management subscriptions. type DeviceManagementSubscriptions int @@ -21,25 +22,34 @@ const ( ) func (i DeviceManagementSubscriptions) String() string { - return []string{"none", "intune", "office365", "intunePremium", "intune_EDU", "intune_SMB"}[i] + var values []string + for p := DeviceManagementSubscriptions(1); p <= INTUNE_SMB_DEVICEMANAGEMENTSUBSCRIPTIONS; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "intune", "office365", "intunePremium", "intune_EDU", "intune_SMB"}[p]) + } + } + return strings.Join(values, ",") } func ParseDeviceManagementSubscriptions(v string) (any, error) { - result := NONE_DEVICEMANAGEMENTSUBSCRIPTIONS - switch v { - case "none": - result = NONE_DEVICEMANAGEMENTSUBSCRIPTIONS - case "intune": - result = INTUNE_DEVICEMANAGEMENTSUBSCRIPTIONS - case "office365": - result = OFFICE365_DEVICEMANAGEMENTSUBSCRIPTIONS - case "intunePremium": - result = INTUNEPREMIUM_DEVICEMANAGEMENTSUBSCRIPTIONS - case "intune_EDU": - result = INTUNE_EDU_DEVICEMANAGEMENTSUBSCRIPTIONS - case "intune_SMB": - result = INTUNE_SMB_DEVICEMANAGEMENTSUBSCRIPTIONS - default: - return 0, errors.New("Unknown DeviceManagementSubscriptions value: " + v) + var result DeviceManagementSubscriptions + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_DEVICEMANAGEMENTSUBSCRIPTIONS + case "intune": + result |= INTUNE_DEVICEMANAGEMENTSUBSCRIPTIONS + case "office365": + result |= OFFICE365_DEVICEMANAGEMENTSUBSCRIPTIONS + case "intunePremium": + result |= INTUNEPREMIUM_DEVICEMANAGEMENTSUBSCRIPTIONS + case "intune_EDU": + result |= INTUNE_EDU_DEVICEMANAGEMENTSUBSCRIPTIONS + case "intune_SMB": + result |= INTUNE_SMB_DEVICEMANAGEMENTSUBSCRIPTIONS + default: + return 0, errors.New("Unknown DeviceManagementSubscriptions value: " + v) + } } return &result, nil } @@ -50,3 +60,6 @@ func SerializeDeviceManagementSubscriptions(values []DeviceManagementSubscriptio } return result } +func (i DeviceManagementSubscriptions) isMultiValue() bool { + return true +} diff --git a/models/device_management_template_lifecycle_state.go b/models/device_management_template_lifecycle_state.go index 0b8aab5da3c..3eae36cf861 100644 --- a/models/device_management_template_lifecycle_state.go +++ b/models/device_management_template_lifecycle_state.go @@ -50,3 +50,6 @@ func SerializeDeviceManagementTemplateLifecycleState(values []DeviceManagementTe } return result } +func (i DeviceManagementTemplateLifecycleState) isMultiValue() bool { + return false +} diff --git a/models/device_management_template_subtype.go b/models/device_management_template_subtype.go index e340e7e439e..f58b6552e02 100644 --- a/models/device_management_template_subtype.go +++ b/models/device_management_template_subtype.go @@ -66,3 +66,6 @@ func SerializeDeviceManagementTemplateSubtype(values []DeviceManagementTemplateS } return result } +func (i DeviceManagementTemplateSubtype) isMultiValue() bool { + return false +} diff --git a/models/device_management_template_type.go b/models/device_management_template_type.go index 0bc19b9f1b8..e2d6b77319e 100644 --- a/models/device_management_template_type.go +++ b/models/device_management_template_type.go @@ -74,3 +74,6 @@ func SerializeDeviceManagementTemplateType(values []DeviceManagementTemplateType } return result } +func (i DeviceManagementTemplateType) isMultiValue() bool { + return false +} diff --git a/models/device_manangement_intent_value_type.go b/models/device_manangement_intent_value_type.go index c6851657c63..4fefffe35a6 100644 --- a/models/device_manangement_intent_value_type.go +++ b/models/device_manangement_intent_value_type.go @@ -50,3 +50,6 @@ func SerializeDeviceManangementIntentValueType(values []DeviceManangementIntentV } return result } +func (i DeviceManangementIntentValueType) isMultiValue() bool { + return false +} diff --git a/models/device_platform_type.go b/models/device_platform_type.go index c9220f95182..7bd7ba5f503 100644 --- a/models/device_platform_type.go +++ b/models/device_platform_type.go @@ -78,3 +78,6 @@ func SerializeDevicePlatformType(values []DevicePlatformType) []string { } return result } +func (i DevicePlatformType) isMultiValue() bool { + return false +} diff --git a/models/device_registration_policy.go b/models/device_registration_policy.go index 09a87248515..2b84d09fc32 100644 --- a/models/device_registration_policy.go +++ b/models/device_registration_policy.go @@ -41,7 +41,7 @@ func (m *DeviceRegistrationPolicy) GetAzureADRegistration()(AzureADRegistrationP } return nil } -// GetDescription gets the description property value. The description of the device registration policy. It is always set to Tenant-wide policy that manages intial provisioning controls using quota restrictions, additional authentication and authorization checks. Read-only. +// GetDescription gets the description property value. The description of the device registration policy. It's always set to Tenant-wide policy that manages intial provisioning controls using quota restrictions, additional authentication and authorization checks. Read-only. func (m *DeviceRegistrationPolicy) GetDescription()(*string) { val, err := m.GetBackingStore().Get("description") if err != nil { @@ -52,7 +52,7 @@ func (m *DeviceRegistrationPolicy) GetDescription()(*string) { } return nil } -// GetDisplayName gets the displayName property value. The name of the device registration policy. It is always set to Device Registration Policy. Read-only. +// GetDisplayName gets the displayName property value. The name of the device registration policy. It's always set to Device Registration Policy. Read-only. func (m *DeviceRegistrationPolicy) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") if err != nil { @@ -160,7 +160,7 @@ func (m *DeviceRegistrationPolicy) GetMultiFactorAuthConfiguration()(*MultiFacto } return nil } -// GetUserDeviceQuota gets the userDeviceQuota property value. Specifies the maximum number of devices that a user can have within your organization before blocking new device registrations. The default value is set to 50. If this property is not specified during the policy update operation, it is automatically reset to 0 to indicate that users are not allowed to join any devices. +// GetUserDeviceQuota gets the userDeviceQuota property value. Specifies the maximum number of devices that a user can have within your organization before blocking new device registrations. The default value is set to 50. If this property isn't specified during the policy update operation, it's automatically reset to 0 to indicate that users aren't allowed to join any devices. func (m *DeviceRegistrationPolicy) GetUserDeviceQuota()(*int32) { val, err := m.GetBackingStore().Get("userDeviceQuota") if err != nil { @@ -236,14 +236,14 @@ func (m *DeviceRegistrationPolicy) SetAzureADRegistration(value AzureADRegistrat panic(err) } } -// SetDescription sets the description property value. The description of the device registration policy. It is always set to Tenant-wide policy that manages intial provisioning controls using quota restrictions, additional authentication and authorization checks. Read-only. +// SetDescription sets the description property value. The description of the device registration policy. It's always set to Tenant-wide policy that manages intial provisioning controls using quota restrictions, additional authentication and authorization checks. Read-only. func (m *DeviceRegistrationPolicy) SetDescription(value *string)() { err := m.GetBackingStore().Set("description", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. The name of the device registration policy. It is always set to Device Registration Policy. Read-only. +// SetDisplayName sets the displayName property value. The name of the device registration policy. It's always set to Device Registration Policy. Read-only. func (m *DeviceRegistrationPolicy) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { @@ -264,7 +264,7 @@ func (m *DeviceRegistrationPolicy) SetMultiFactorAuthConfiguration(value *MultiF panic(err) } } -// SetUserDeviceQuota sets the userDeviceQuota property value. Specifies the maximum number of devices that a user can have within your organization before blocking new device registrations. The default value is set to 50. If this property is not specified during the policy update operation, it is automatically reset to 0 to indicate that users are not allowed to join any devices. +// SetUserDeviceQuota sets the userDeviceQuota property value. Specifies the maximum number of devices that a user can have within your organization before blocking new device registrations. The default value is set to 50. If this property isn't specified during the policy update operation, it's automatically reset to 0 to indicate that users aren't allowed to join any devices. func (m *DeviceRegistrationPolicy) SetUserDeviceQuota(value *int32)() { err := m.GetBackingStore().Set("userDeviceQuota", value) if err != nil { diff --git a/models/device_registration_state.go b/models/device_registration_state.go index 54d14ea68c0..66f0968a7b8 100644 --- a/models/device_registration_state.go +++ b/models/device_registration_state.go @@ -58,3 +58,6 @@ func SerializeDeviceRegistrationState(values []DeviceRegistrationState) []string } return result } +func (i DeviceRegistrationState) isMultiValue() bool { + return false +} diff --git a/models/device_scope_action_status.go b/models/device_scope_action_status.go index 3ca6395e1e7..723cb394a58 100644 --- a/models/device_scope_action_status.go +++ b/models/device_scope_action_status.go @@ -38,3 +38,6 @@ func SerializeDeviceScopeActionStatus(values []DeviceScopeActionStatus) []string } return result } +func (i DeviceScopeActionStatus) isMultiValue() bool { + return false +} diff --git a/models/device_scope_operator.go b/models/device_scope_operator.go index c59e5dfde79..b022357236b 100644 --- a/models/device_scope_operator.go +++ b/models/device_scope_operator.go @@ -38,3 +38,6 @@ func SerializeDeviceScopeOperator(values []DeviceScopeOperator) []string { } return result } +func (i DeviceScopeOperator) isMultiValue() bool { + return false +} diff --git a/models/device_scope_parameter.go b/models/device_scope_parameter.go index 24b4d7b6a67..0a4c7da4d32 100644 --- a/models/device_scope_parameter.go +++ b/models/device_scope_parameter.go @@ -38,3 +38,6 @@ func SerializeDeviceScopeParameter(values []DeviceScopeParameter) []string { } return result } +func (i DeviceScopeParameter) isMultiValue() bool { + return false +} diff --git a/models/device_scope_status.go b/models/device_scope_status.go index 7ad028e8891..e7c25351220 100644 --- a/models/device_scope_status.go +++ b/models/device_scope_status.go @@ -46,3 +46,6 @@ func SerializeDeviceScopeStatus(values []DeviceScopeStatus) []string { } return result } +func (i DeviceScopeStatus) isMultiValue() bool { + return false +} diff --git a/models/device_threat_protection_level.go b/models/device_threat_protection_level.go index 90b14e9de18..8df5e04b60d 100644 --- a/models/device_threat_protection_level.go +++ b/models/device_threat_protection_level.go @@ -50,3 +50,6 @@ func SerializeDeviceThreatProtectionLevel(values []DeviceThreatProtectionLevel) } return result } +func (i DeviceThreatProtectionLevel) isMultiValue() bool { + return false +} diff --git a/models/device_type.go b/models/device_type.go index 929dd86c6fe..ee0e65a485c 100644 --- a/models/device_type.go +++ b/models/device_type.go @@ -134,3 +134,6 @@ func SerializeDeviceType(values []DeviceType) []string { } return result } +func (i DeviceType) isMultiValue() bool { + return false +} diff --git a/models/device_types.go b/models/device_types.go index d3e85c7d411..b9ff910c5e5 100644 --- a/models/device_types.go +++ b/models/device_types.go @@ -114,3 +114,6 @@ func SerializeDeviceTypes(values []DeviceTypes) []string { } return result } +func (i DeviceTypes) isMultiValue() bool { + return false +} diff --git a/models/devicemanagement/aggregation_type.go b/models/devicemanagement/aggregation_type.go index 54288afddb0..680f98efc2c 100644 --- a/models/devicemanagement/aggregation_type.go +++ b/models/devicemanagement/aggregation_type.go @@ -41,3 +41,6 @@ func SerializeAggregationType(values []AggregationType) []string { } return result } +func (i AggregationType) isMultiValue() bool { + return false +} diff --git a/models/devicemanagement/alert_rule_template.go b/models/devicemanagement/alert_rule_template.go index 54a3c7458df..2edc4a73650 100644 --- a/models/devicemanagement/alert_rule_template.go +++ b/models/devicemanagement/alert_rule_template.go @@ -44,3 +44,6 @@ func SerializeAlertRuleTemplate(values []AlertRuleTemplate) []string { } return result } +func (i AlertRuleTemplate) isMultiValue() bool { + return false +} diff --git a/models/devicemanagement/alert_status_type.go b/models/devicemanagement/alert_status_type.go index 38831548250..28a03874ae8 100644 --- a/models/devicemanagement/alert_status_type.go +++ b/models/devicemanagement/alert_status_type.go @@ -35,3 +35,6 @@ func SerializeAlertStatusType(values []AlertStatusType) []string { } return result } +func (i AlertStatusType) isMultiValue() bool { + return false +} diff --git a/models/devicemanagement/notification_channel_type.go b/models/devicemanagement/notification_channel_type.go index a8476db7ee7..203fd7102e4 100644 --- a/models/devicemanagement/notification_channel_type.go +++ b/models/devicemanagement/notification_channel_type.go @@ -41,3 +41,6 @@ func SerializeNotificationChannelType(values []NotificationChannelType) []string } return result } +func (i NotificationChannelType) isMultiValue() bool { + return false +} diff --git a/models/devicemanagement/operator_type.go b/models/devicemanagement/operator_type.go index eeb3955b06b..9de0087efd2 100644 --- a/models/devicemanagement/operator_type.go +++ b/models/devicemanagement/operator_type.go @@ -47,3 +47,6 @@ func SerializeOperatorType(values []OperatorType) []string { } return result } +func (i OperatorType) isMultiValue() bool { + return false +} diff --git a/models/devicemanagement/rule_severity_type.go b/models/devicemanagement/rule_severity_type.go index 23ddaac731a..6a5b7d9228b 100644 --- a/models/devicemanagement/rule_severity_type.go +++ b/models/devicemanagement/rule_severity_type.go @@ -41,3 +41,6 @@ func SerializeRuleSeverityType(values []RuleSeverityType) []string { } return result } +func (i RuleSeverityType) isMultiValue() bool { + return false +} diff --git a/models/diagnostic_data_submission_mode.go b/models/diagnostic_data_submission_mode.go index ea354c04b86..ad264c88cea 100644 --- a/models/diagnostic_data_submission_mode.go +++ b/models/diagnostic_data_submission_mode.go @@ -46,3 +46,6 @@ func SerializeDiagnosticDataSubmissionMode(values []DiagnosticDataSubmissionMode } return result } +func (i DiagnosticDataSubmissionMode) isMultiValue() bool { + return false +} diff --git a/models/diamond_model.go b/models/diamond_model.go index 12e345e8824..f499bd4ccfe 100644 --- a/models/diamond_model.go +++ b/models/diamond_model.go @@ -44,3 +44,6 @@ func SerializeDiamondModel(values []DiamondModel) []string { } return result } +func (i DiamondModel) isMultiValue() bool { + return false +} diff --git a/models/diffie_hellman_group.go b/models/diffie_hellman_group.go index 37f7a6b7f86..1539ae595e8 100644 --- a/models/diffie_hellman_group.go +++ b/models/diffie_hellman_group.go @@ -50,3 +50,6 @@ func SerializeDiffieHellmanGroup(values []DiffieHellmanGroup) []string { } return result } +func (i DiffieHellmanGroup) isMultiValue() bool { + return false +} diff --git a/models/directory_definition_discoverabilities.go b/models/directory_definition_discoverabilities.go index e2e06afa8c8..e826c120248 100644 --- a/models/directory_definition_discoverabilities.go +++ b/models/directory_definition_discoverabilities.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type DirectoryDefinitionDiscoverabilities int @@ -15,25 +16,34 @@ const ( ) func (i DirectoryDefinitionDiscoverabilities) String() string { - return []string{"None", "AttributeNames", "AttributeDataTypes", "AttributeReadOnly", "ReferenceAttributes", "UnknownFutureValue"}[i] + var values []string + for p := DirectoryDefinitionDiscoverabilities(1); p <= UNKNOWNFUTUREVALUE_DIRECTORYDEFINITIONDISCOVERABILITIES; p <<= 1 { + if i&p == p { + values = append(values, []string{"None", "AttributeNames", "AttributeDataTypes", "AttributeReadOnly", "ReferenceAttributes", "UnknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseDirectoryDefinitionDiscoverabilities(v string) (any, error) { - result := NONE_DIRECTORYDEFINITIONDISCOVERABILITIES - switch v { - case "None": - result = NONE_DIRECTORYDEFINITIONDISCOVERABILITIES - case "AttributeNames": - result = ATTRIBUTENAMES_DIRECTORYDEFINITIONDISCOVERABILITIES - case "AttributeDataTypes": - result = ATTRIBUTEDATATYPES_DIRECTORYDEFINITIONDISCOVERABILITIES - case "AttributeReadOnly": - result = ATTRIBUTEREADONLY_DIRECTORYDEFINITIONDISCOVERABILITIES - case "ReferenceAttributes": - result = REFERENCEATTRIBUTES_DIRECTORYDEFINITIONDISCOVERABILITIES - case "UnknownFutureValue": - result = UNKNOWNFUTUREVALUE_DIRECTORYDEFINITIONDISCOVERABILITIES - default: - return 0, errors.New("Unknown DirectoryDefinitionDiscoverabilities value: " + v) + var result DirectoryDefinitionDiscoverabilities + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "None": + result |= NONE_DIRECTORYDEFINITIONDISCOVERABILITIES + case "AttributeNames": + result |= ATTRIBUTENAMES_DIRECTORYDEFINITIONDISCOVERABILITIES + case "AttributeDataTypes": + result |= ATTRIBUTEDATATYPES_DIRECTORYDEFINITIONDISCOVERABILITIES + case "AttributeReadOnly": + result |= ATTRIBUTEREADONLY_DIRECTORYDEFINITIONDISCOVERABILITIES + case "ReferenceAttributes": + result |= REFERENCEATTRIBUTES_DIRECTORYDEFINITIONDISCOVERABILITIES + case "UnknownFutureValue": + result |= UNKNOWNFUTUREVALUE_DIRECTORYDEFINITIONDISCOVERABILITIES + default: + return 0, errors.New("Unknown DirectoryDefinitionDiscoverabilities value: " + v) + } } return &result, nil } @@ -44,3 +54,6 @@ func SerializeDirectoryDefinitionDiscoverabilities(values []DirectoryDefinitionD } return result } +func (i DirectoryDefinitionDiscoverabilities) isMultiValue() bool { + return true +} diff --git a/models/discovery_source.go b/models/discovery_source.go index 36edaa78658..5a49793dbf2 100644 --- a/models/discovery_source.go +++ b/models/discovery_source.go @@ -38,3 +38,6 @@ func SerializeDiscoverySource(values []DiscoverySource) []string { } return result } +func (i DiscoverySource) isMultiValue() bool { + return false +} diff --git a/models/disk_type.go b/models/disk_type.go index ba55c7af05b..473468ca7bd 100644 --- a/models/disk_type.go +++ b/models/disk_type.go @@ -42,3 +42,6 @@ func SerializeDiskType(values []DiskType) []string { } return result } +func (i DiskType) isMultiValue() bool { + return false +} diff --git a/models/dma_guard_device_enumeration_policy_type.go b/models/dma_guard_device_enumeration_policy_type.go index 4da5813847e..709f4be646d 100644 --- a/models/dma_guard_device_enumeration_policy_type.go +++ b/models/dma_guard_device_enumeration_policy_type.go @@ -38,3 +38,6 @@ func SerializeDmaGuardDeviceEnumerationPolicyType(values []DmaGuardDeviceEnumera } return result } +func (i DmaGuardDeviceEnumerationPolicyType) isMultiValue() bool { + return false +} diff --git a/models/domain_dns_record.go b/models/domain_dns_record.go index 4020f1cd0b7..3be1082f87d 100644 --- a/models/domain_dns_record.go +++ b/models/domain_dns_record.go @@ -122,7 +122,7 @@ func (m *DomainDnsRecord) GetLabel()(*string) { } return nil } -// GetRecordType gets the recordType property value. Indicates what type of DNS record this entity represents.The value can be one of the following: CName, Mx, Srv, Txt. +// GetRecordType gets the recordType property value. Indicates what type of DNS record this entity represents. The value can be one of the following: CName, Mx, Srv, Txt. func (m *DomainDnsRecord) GetRecordType()(*string) { val, err := m.GetBackingStore().Get("recordType") if err != nil { @@ -133,7 +133,7 @@ func (m *DomainDnsRecord) GetRecordType()(*string) { } return nil } -// GetSupportedService gets the supportedService property value. Microsoft Online Service or feature that has a dependency on this DNS record.Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. +// GetSupportedService gets the supportedService property value. Microsoft Online Service or feature that has a dependency on this DNS record. Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. func (m *DomainDnsRecord) GetSupportedService()(*string) { val, err := m.GetBackingStore().Get("supportedService") if err != nil { @@ -207,14 +207,14 @@ func (m *DomainDnsRecord) SetLabel(value *string)() { panic(err) } } -// SetRecordType sets the recordType property value. Indicates what type of DNS record this entity represents.The value can be one of the following: CName, Mx, Srv, Txt. +// SetRecordType sets the recordType property value. Indicates what type of DNS record this entity represents. The value can be one of the following: CName, Mx, Srv, Txt. func (m *DomainDnsRecord) SetRecordType(value *string)() { err := m.GetBackingStore().Set("recordType", value) if err != nil { panic(err) } } -// SetSupportedService sets the supportedService property value. Microsoft Online Service or feature that has a dependency on this DNS record.Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. +// SetSupportedService sets the supportedService property value. Microsoft Online Service or feature that has a dependency on this DNS record. Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune. func (m *DomainDnsRecord) SetSupportedService(value *string)() { err := m.GetBackingStore().Set("supportedService", value) if err != nil { diff --git a/models/domain_name_source.go b/models/domain_name_source.go index 9485365e337..b377d669528 100644 --- a/models/domain_name_source.go +++ b/models/domain_name_source.go @@ -34,3 +34,6 @@ func SerializeDomainNameSource(values []DomainNameSource) []string { } return result } +func (i DomainNameSource) isMultiValue() bool { + return false +} diff --git a/models/downgrade_justification.go b/models/downgrade_justification.go index fa7785869b6..e086eba4ba2 100644 --- a/models/downgrade_justification.go +++ b/models/downgrade_justification.go @@ -73,7 +73,7 @@ func (m *DowngradeJustification) GetFieldDeserializers()(map[string]func(i878a80 } return res } -// GetIsDowngradeJustified gets the isDowngradeJustified property value. Indicates whether the downgrade is or is not justified. +// GetIsDowngradeJustified gets the isDowngradeJustified property value. Indicates whether the downgrade is or isn't justified. func (m *DowngradeJustification) GetIsDowngradeJustified()(*bool) { val, err := m.GetBackingStore().Get("isDowngradeJustified") if err != nil { @@ -84,7 +84,7 @@ func (m *DowngradeJustification) GetIsDowngradeJustified()(*bool) { } return nil } -// GetJustificationMessage gets the justificationMessage property value. Message that indicates why a downgrade is justified. The message will appear in administrative logs. +// GetJustificationMessage gets the justificationMessage property value. Message that indicates why a downgrade is justified. The message appears in administrative logs. func (m *DowngradeJustification) GetJustificationMessage()(*string) { val, err := m.GetBackingStore().Get("justificationMessage") if err != nil { @@ -145,14 +145,14 @@ func (m *DowngradeJustification) SetAdditionalData(value map[string]any)() { func (m *DowngradeJustification) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetIsDowngradeJustified sets the isDowngradeJustified property value. Indicates whether the downgrade is or is not justified. +// SetIsDowngradeJustified sets the isDowngradeJustified property value. Indicates whether the downgrade is or isn't justified. func (m *DowngradeJustification) SetIsDowngradeJustified(value *bool)() { err := m.GetBackingStore().Set("isDowngradeJustified", value) if err != nil { panic(err) } } -// SetJustificationMessage sets the justificationMessage property value. Message that indicates why a downgrade is justified. The message will appear in administrative logs. +// SetJustificationMessage sets the justificationMessage property value. Message that indicates why a downgrade is justified. The message appears in administrative logs. func (m *DowngradeJustification) SetJustificationMessage(value *string)() { err := m.GetBackingStore().Set("justificationMessage", value) if err != nil { diff --git a/models/drive_item.go b/models/drive_item.go index e9af911abfe..1ed789f8be7 100644 --- a/models/drive_item.go +++ b/models/drive_item.go @@ -87,7 +87,7 @@ func (m *DriveItem) GetContent()([]byte) { } return nil } -// GetCTag gets the cTag property value. An eTag for the content of the item. This eTag is not changed if only the metadata is changed. Note This property is not returned if the item is a folder. Read-only. +// GetCTag gets the cTag property value. An eTag for the content of the item. This eTag isn't changed if only the metadata is changed. Note This property isn't returned if the item is a folder. Read-only. func (m *DriveItem) GetCTag()(*string) { val, err := m.GetBackingStore().Get("cTag") if err != nil { @@ -642,7 +642,7 @@ func (m *DriveItem) GetPhoto()(Photoable) { } return nil } -// GetPublication gets the publication property value. Provides information about the published or checked-out state of an item, in locations that support such actions. This property is not returned by default. Read-only. +// GetPublication gets the publication property value. Provides information about the published or checked-out state of an item, in locations that support such actions. This property isn't returned by default. Read-only. func (m *DriveItem) GetPublication()(PublicationFacetable) { val, err := m.GetBackingStore().Get("publication") if err != nil { @@ -664,7 +664,7 @@ func (m *DriveItem) GetRemoteItem()(RemoteItemable) { } return nil } -// GetRetentionLabel gets the retentionLabel property value. The retentionLabel property +// GetRetentionLabel gets the retentionLabel property value. Information about retention label and settings enforced on the driveItem. Read-write. func (m *DriveItem) GetRetentionLabel()(ItemRetentionLabelable) { val, err := m.GetBackingStore().Get("retentionLabel") if err != nil { @@ -807,7 +807,7 @@ func (m *DriveItem) GetWebDavUrl()(*string) { } return nil } -// GetWorkbook gets the workbook property value. For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. +// GetWorkbook gets the workbook property value. For files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents. Nullable. func (m *DriveItem) GetWorkbook()(Workbookable) { val, err := m.GetBackingStore().Get("workbook") if err != nil { @@ -1120,7 +1120,7 @@ func (m *DriveItem) SetContent(value []byte)() { panic(err) } } -// SetCTag sets the cTag property value. An eTag for the content of the item. This eTag is not changed if only the metadata is changed. Note This property is not returned if the item is a folder. Read-only. +// SetCTag sets the cTag property value. An eTag for the content of the item. This eTag isn't changed if only the metadata is changed. Note This property isn't returned if the item is a folder. Read-only. func (m *DriveItem) SetCTag(value *string)() { err := m.GetBackingStore().Set("cTag", value) if err != nil { @@ -1218,7 +1218,7 @@ func (m *DriveItem) SetPhoto(value Photoable)() { panic(err) } } -// SetPublication sets the publication property value. Provides information about the published or checked-out state of an item, in locations that support such actions. This property is not returned by default. Read-only. +// SetPublication sets the publication property value. Provides information about the published or checked-out state of an item, in locations that support such actions. This property isn't returned by default. Read-only. func (m *DriveItem) SetPublication(value PublicationFacetable)() { err := m.GetBackingStore().Set("publication", value) if err != nil { @@ -1232,7 +1232,7 @@ func (m *DriveItem) SetRemoteItem(value RemoteItemable)() { panic(err) } } -// SetRetentionLabel sets the retentionLabel property value. The retentionLabel property +// SetRetentionLabel sets the retentionLabel property value. Information about retention label and settings enforced on the driveItem. Read-write. func (m *DriveItem) SetRetentionLabel(value ItemRetentionLabelable)() { err := m.GetBackingStore().Set("retentionLabel", value) if err != nil { @@ -1323,7 +1323,7 @@ func (m *DriveItem) SetWebDavUrl(value *string)() { panic(err) } } -// SetWorkbook sets the workbook property value. For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. +// SetWorkbook sets the workbook property value. For files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents. Nullable. func (m *DriveItem) SetWorkbook(value Workbookable)() { err := m.GetBackingStore().Set("workbook", value) if err != nil { diff --git a/models/drive_item_source_application.go b/models/drive_item_source_application.go index a1dfa8e38a5..8ba1596fcaa 100644 --- a/models/drive_item_source_application.go +++ b/models/drive_item_source_application.go @@ -50,3 +50,6 @@ func SerializeDriveItemSourceApplication(values []DriveItemSourceApplication) [] } return result } +func (i DriveItemSourceApplication) isMultiValue() bool { + return false +} diff --git a/models/driver_approval_action.go b/models/driver_approval_action.go index 2c6b4d60229..87096a02a44 100644 --- a/models/driver_approval_action.go +++ b/models/driver_approval_action.go @@ -38,3 +38,6 @@ func SerializeDriverApprovalAction(values []DriverApprovalAction) []string { } return result } +func (i DriverApprovalAction) isMultiValue() bool { + return false +} diff --git a/models/driver_approval_status.go b/models/driver_approval_status.go index df427ad5096..234c44cea69 100644 --- a/models/driver_approval_status.go +++ b/models/driver_approval_status.go @@ -42,3 +42,6 @@ func SerializeDriverApprovalStatus(values []DriverApprovalStatus) []string { } return result } +func (i DriverApprovalStatus) isMultiValue() bool { + return false +} diff --git a/models/driver_category.go b/models/driver_category.go index d0de74d41a2..002b7db57dc 100644 --- a/models/driver_category.go +++ b/models/driver_category.go @@ -38,3 +38,6 @@ func SerializeDriverCategory(values []DriverCategory) []string { } return result } +func (i DriverCategory) isMultiValue() bool { + return false +} diff --git a/models/driver_update_profile_approval_type.go b/models/driver_update_profile_approval_type.go index b5141fe9f01..863bcc0127e 100644 --- a/models/driver_update_profile_approval_type.go +++ b/models/driver_update_profile_approval_type.go @@ -34,3 +34,6 @@ func SerializeDriverUpdateProfileApprovalType(values []DriverUpdateProfileApprov } return result } +func (i DriverUpdateProfileApprovalType) isMultiValue() bool { + return false +} diff --git a/models/eap_fast_configuration.go b/models/eap_fast_configuration.go index 8aad6dd5018..8f229a58d4c 100644 --- a/models/eap_fast_configuration.go +++ b/models/eap_fast_configuration.go @@ -42,3 +42,6 @@ func SerializeEapFastConfiguration(values []EapFastConfiguration) []string { } return result } +func (i EapFastConfiguration) isMultiValue() bool { + return false +} diff --git a/models/eap_type.go b/models/eap_type.go index 224b4c049e7..1abdad9f837 100644 --- a/models/eap_type.go +++ b/models/eap_type.go @@ -54,3 +54,6 @@ func SerializeEapType(values []EapType) []string { } return result } +func (i EapType) isMultiValue() bool { + return false +} diff --git a/models/eas_authentication_method.go b/models/eas_authentication_method.go index 753edba498c..7203dcf4411 100644 --- a/models/eas_authentication_method.go +++ b/models/eas_authentication_method.go @@ -38,3 +38,6 @@ func SerializeEasAuthenticationMethod(values []EasAuthenticationMethod) []string } return result } +func (i EasAuthenticationMethod) isMultiValue() bool { + return false +} diff --git a/models/eas_services.go b/models/eas_services.go index 83f6de4e684..5f999702e4a 100644 --- a/models/eas_services.go +++ b/models/eas_services.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Exchange Active Sync services. type EasServices int @@ -20,25 +21,34 @@ const ( ) func (i EasServices) String() string { - return []string{"none", "calendars", "contacts", "email", "notes", "reminders"}[i] + var values []string + for p := EasServices(1); p <= REMINDERS_EASSERVICES; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "calendars", "contacts", "email", "notes", "reminders"}[p]) + } + } + return strings.Join(values, ",") } func ParseEasServices(v string) (any, error) { - result := NONE_EASSERVICES - switch v { - case "none": - result = NONE_EASSERVICES - case "calendars": - result = CALENDARS_EASSERVICES - case "contacts": - result = CONTACTS_EASSERVICES - case "email": - result = EMAIL_EASSERVICES - case "notes": - result = NOTES_EASSERVICES - case "reminders": - result = REMINDERS_EASSERVICES - default: - return 0, errors.New("Unknown EasServices value: " + v) + var result EasServices + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_EASSERVICES + case "calendars": + result |= CALENDARS_EASSERVICES + case "contacts": + result |= CONTACTS_EASSERVICES + case "email": + result |= EMAIL_EASSERVICES + case "notes": + result |= NOTES_EASSERVICES + case "reminders": + result |= REMINDERS_EASSERVICES + default: + return 0, errors.New("Unknown EasServices value: " + v) + } } return &result, nil } @@ -49,3 +59,6 @@ func SerializeEasServices(values []EasServices) []string { } return result } +func (i EasServices) isMultiValue() bool { + return true +} diff --git a/models/edge_cookie_policy.go b/models/edge_cookie_policy.go index 542a1e4921b..b724792ca9d 100644 --- a/models/edge_cookie_policy.go +++ b/models/edge_cookie_policy.go @@ -42,3 +42,6 @@ func SerializeEdgeCookiePolicy(values []EdgeCookiePolicy) []string { } return result } +func (i EdgeCookiePolicy) isMultiValue() bool { + return false +} diff --git a/models/edge_kiosk_mode_restriction_type.go b/models/edge_kiosk_mode_restriction_type.go index f9b470f8222..60e37e53d11 100644 --- a/models/edge_kiosk_mode_restriction_type.go +++ b/models/edge_kiosk_mode_restriction_type.go @@ -46,3 +46,6 @@ func SerializeEdgeKioskModeRestrictionType(values []EdgeKioskModeRestrictionType } return result } +func (i EdgeKioskModeRestrictionType) isMultiValue() bool { + return false +} diff --git a/models/edge_open_options.go b/models/edge_open_options.go index 4815be2839f..ac3fc253ded 100644 --- a/models/edge_open_options.go +++ b/models/edge_open_options.go @@ -46,3 +46,6 @@ func SerializeEdgeOpenOptions(values []EdgeOpenOptions) []string { } return result } +func (i EdgeOpenOptions) isMultiValue() bool { + return false +} diff --git a/models/edge_search_engine_type.go b/models/edge_search_engine_type.go index ac265b3c5ab..f6550824820 100644 --- a/models/edge_search_engine_type.go +++ b/models/edge_search_engine_type.go @@ -34,3 +34,6 @@ func SerializeEdgeSearchEngineType(values []EdgeSearchEngineType) []string { } return result } +func (i EdgeSearchEngineType) isMultiValue() bool { + return false +} diff --git a/models/edge_telemetry_mode.go b/models/edge_telemetry_mode.go index 9bea7b70ada..ace5625a206 100644 --- a/models/edge_telemetry_mode.go +++ b/models/edge_telemetry_mode.go @@ -42,3 +42,6 @@ func SerializeEdgeTelemetryMode(values []EdgeTelemetryMode) []string { } return result } +func (i EdgeTelemetryMode) isMultiValue() bool { + return false +} diff --git a/models/ediscovery/additional_data_options.go b/models/ediscovery/additional_data_options.go index 025ccf15566..48f9acf8f1e 100644 --- a/models/ediscovery/additional_data_options.go +++ b/models/ediscovery/additional_data_options.go @@ -1,6 +1,7 @@ package ediscovery import ( "errors" + "strings" ) // type AdditionalDataOptions int @@ -12,19 +13,28 @@ const ( ) func (i AdditionalDataOptions) String() string { - return []string{"allVersions", "linkedFiles", "unknownFutureValue"}[i] + var values []string + for p := AdditionalDataOptions(1); p <= UNKNOWNFUTUREVALUE_ADDITIONALDATAOPTIONS; p <<= 1 { + if i&p == p { + values = append(values, []string{"allVersions", "linkedFiles", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseAdditionalDataOptions(v string) (any, error) { - result := ALLVERSIONS_ADDITIONALDATAOPTIONS - switch v { - case "allVersions": - result = ALLVERSIONS_ADDITIONALDATAOPTIONS - case "linkedFiles": - result = LINKEDFILES_ADDITIONALDATAOPTIONS - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_ADDITIONALDATAOPTIONS - default: - return 0, errors.New("Unknown AdditionalDataOptions value: " + v) + var result AdditionalDataOptions + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "allVersions": + result |= ALLVERSIONS_ADDITIONALDATAOPTIONS + case "linkedFiles": + result |= LINKEDFILES_ADDITIONALDATAOPTIONS + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_ADDITIONALDATAOPTIONS + default: + return 0, errors.New("Unknown AdditionalDataOptions value: " + v) + } } return &result, nil } @@ -35,3 +45,6 @@ func SerializeAdditionalDataOptions(values []AdditionalDataOptions) []string { } return result } +func (i AdditionalDataOptions) isMultiValue() bool { + return true +} diff --git a/models/ediscovery/case_action.go b/models/ediscovery/case_action.go index f595e6e006d..9da77c427ac 100644 --- a/models/ediscovery/case_action.go +++ b/models/ediscovery/case_action.go @@ -53,3 +53,6 @@ func SerializeCaseAction(values []CaseAction) []string { } return result } +func (i CaseAction) isMultiValue() bool { + return false +} diff --git a/models/ediscovery/case_operation_status.go b/models/ediscovery/case_operation_status.go index ebbdee520c0..e9d84e33079 100644 --- a/models/ediscovery/case_operation_status.go +++ b/models/ediscovery/case_operation_status.go @@ -44,3 +44,6 @@ func SerializeCaseOperationStatus(values []CaseOperationStatus) []string { } return result } +func (i CaseOperationStatus) isMultiValue() bool { + return false +} diff --git a/models/ediscovery/case_settings.go b/models/ediscovery/case_settings.go index 489c0e903e9..db41eea44b1 100644 --- a/models/ediscovery/case_settings.go +++ b/models/ediscovery/case_settings.go @@ -77,7 +77,7 @@ func (m *CaseSettings) GetRedundancyDetection()(RedundancyDetectionSettingsable) } return nil } -// GetTopicModeling gets the topicModeling property value. The Topic Modeling (Themes) settings for the case. +// GetTopicModeling gets the topicModeling property value. The article Modeling (Themes) settings for the case. func (m *CaseSettings) GetTopicModeling()(TopicModelingSettingsable) { val, err := m.GetBackingStore().Get("topicModeling") if err != nil { @@ -128,7 +128,7 @@ func (m *CaseSettings) SetRedundancyDetection(value RedundancyDetectionSettingsa panic(err) } } -// SetTopicModeling sets the topicModeling property value. The Topic Modeling (Themes) settings for the case. +// SetTopicModeling sets the topicModeling property value. The article Modeling (Themes) settings for the case. func (m *CaseSettings) SetTopicModeling(value TopicModelingSettingsable)() { err := m.GetBackingStore().Set("topicModeling", value) if err != nil { diff --git a/models/ediscovery/case_status.go b/models/ediscovery/case_status.go index 7265d61bfcf..df3396f4d75 100644 --- a/models/ediscovery/case_status.go +++ b/models/ediscovery/case_status.go @@ -44,3 +44,6 @@ func SerializeCaseStatus(values []CaseStatus) []string { } return result } +func (i CaseStatus) isMultiValue() bool { + return false +} diff --git a/models/ediscovery/child_selectability.go b/models/ediscovery/child_selectability.go index 33f6d5da386..5ba7e6a2ef8 100644 --- a/models/ediscovery/child_selectability.go +++ b/models/ediscovery/child_selectability.go @@ -32,3 +32,6 @@ func SerializeChildSelectability(values []ChildSelectability) []string { } return result } +func (i ChildSelectability) isMultiValue() bool { + return false +} diff --git a/models/ediscovery/data_source.go b/models/ediscovery/data_source.go index bef2131da49..d983c4170ff 100644 --- a/models/ediscovery/data_source.go +++ b/models/ediscovery/data_source.go @@ -65,7 +65,7 @@ func (m *DataSource) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3 } return nil } -// GetDisplayName gets the displayName property value. The display name of the dataSource. This will be the name of the SharePoint site. +// GetDisplayName gets the displayName property value. The display name of the dataSource, and is the name of the SharePoint site. func (m *DataSource) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") if err != nil { @@ -179,7 +179,7 @@ func (m *DataSource) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6 panic(err) } } -// SetDisplayName sets the displayName property value. The display name of the dataSource. This will be the name of the SharePoint site. +// SetDisplayName sets the displayName property value. The display name of the dataSource, and is the name of the SharePoint site. func (m *DataSource) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { diff --git a/models/ediscovery/data_source_container_status.go b/models/ediscovery/data_source_container_status.go index e5934d5c407..bf162b080e1 100644 --- a/models/ediscovery/data_source_container_status.go +++ b/models/ediscovery/data_source_container_status.go @@ -35,3 +35,6 @@ func SerializeDataSourceContainerStatus(values []DataSourceContainerStatus) []st } return result } +func (i DataSourceContainerStatus) isMultiValue() bool { + return false +} diff --git a/models/ediscovery/data_source_hold_status.go b/models/ediscovery/data_source_hold_status.go index edc7ae9ef37..5878deb7ccd 100644 --- a/models/ediscovery/data_source_hold_status.go +++ b/models/ediscovery/data_source_hold_status.go @@ -44,3 +44,6 @@ func SerializeDataSourceHoldStatus(values []DataSourceHoldStatus) []string { } return result } +func (i DataSourceHoldStatus) isMultiValue() bool { + return false +} diff --git a/models/ediscovery/data_source_scopes.go b/models/ediscovery/data_source_scopes.go index 038d4bc9746..ac3d8a9d550 100644 --- a/models/ediscovery/data_source_scopes.go +++ b/models/ediscovery/data_source_scopes.go @@ -1,6 +1,7 @@ package ediscovery import ( "errors" + "strings" ) // type DataSourceScopes int @@ -15,25 +16,34 @@ const ( ) func (i DataSourceScopes) String() string { - return []string{"none", "allTenantMailboxes", "allTenantSites", "allCaseCustodians", "allCaseNoncustodialDataSources", "unknownFutureValue"}[i] + var values []string + for p := DataSourceScopes(1); p <= UNKNOWNFUTUREVALUE_DATASOURCESCOPES; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "allTenantMailboxes", "allTenantSites", "allCaseCustodians", "allCaseNoncustodialDataSources", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseDataSourceScopes(v string) (any, error) { - result := NONE_DATASOURCESCOPES - switch v { - case "none": - result = NONE_DATASOURCESCOPES - case "allTenantMailboxes": - result = ALLTENANTMAILBOXES_DATASOURCESCOPES - case "allTenantSites": - result = ALLTENANTSITES_DATASOURCESCOPES - case "allCaseCustodians": - result = ALLCASECUSTODIANS_DATASOURCESCOPES - case "allCaseNoncustodialDataSources": - result = ALLCASENONCUSTODIALDATASOURCES_DATASOURCESCOPES - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_DATASOURCESCOPES - default: - return 0, errors.New("Unknown DataSourceScopes value: " + v) + var result DataSourceScopes + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_DATASOURCESCOPES + case "allTenantMailboxes": + result |= ALLTENANTMAILBOXES_DATASOURCESCOPES + case "allTenantSites": + result |= ALLTENANTSITES_DATASOURCESCOPES + case "allCaseCustodians": + result |= ALLCASECUSTODIANS_DATASOURCESCOPES + case "allCaseNoncustodialDataSources": + result |= ALLCASENONCUSTODIALDATASOURCES_DATASOURCESCOPES + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_DATASOURCESCOPES + default: + return 0, errors.New("Unknown DataSourceScopes value: " + v) + } } return &result, nil } @@ -44,3 +54,6 @@ func SerializeDataSourceScopes(values []DataSourceScopes) []string { } return result } +func (i DataSourceScopes) isMultiValue() bool { + return true +} diff --git a/models/ediscovery/export_file_structure.go b/models/ediscovery/export_file_structure.go index e4554d00ef6..16a9d254e95 100644 --- a/models/ediscovery/export_file_structure.go +++ b/models/ediscovery/export_file_structure.go @@ -38,3 +38,6 @@ func SerializeExportFileStructure(values []ExportFileStructure) []string { } return result } +func (i ExportFileStructure) isMultiValue() bool { + return false +} diff --git a/models/ediscovery/export_options.go b/models/ediscovery/export_options.go index 17a0fd6e4b9..0a8f73a484c 100644 --- a/models/ediscovery/export_options.go +++ b/models/ediscovery/export_options.go @@ -1,6 +1,7 @@ package ediscovery import ( "errors" + "strings" ) // type ExportOptions int @@ -15,25 +16,34 @@ const ( ) func (i ExportOptions) String() string { - return []string{"originalFiles", "text", "pdfReplacement", "fileInfo", "tags", "unknownFutureValue"}[i] + var values []string + for p := ExportOptions(1); p <= UNKNOWNFUTUREVALUE_EXPORTOPTIONS; p <<= 1 { + if i&p == p { + values = append(values, []string{"originalFiles", "text", "pdfReplacement", "fileInfo", "tags", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseExportOptions(v string) (any, error) { - result := ORIGINALFILES_EXPORTOPTIONS - switch v { - case "originalFiles": - result = ORIGINALFILES_EXPORTOPTIONS - case "text": - result = TEXT_EXPORTOPTIONS - case "pdfReplacement": - result = PDFREPLACEMENT_EXPORTOPTIONS - case "fileInfo": - result = FILEINFO_EXPORTOPTIONS - case "tags": - result = TAGS_EXPORTOPTIONS - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_EXPORTOPTIONS - default: - return 0, errors.New("Unknown ExportOptions value: " + v) + var result ExportOptions + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "originalFiles": + result |= ORIGINALFILES_EXPORTOPTIONS + case "text": + result |= TEXT_EXPORTOPTIONS + case "pdfReplacement": + result |= PDFREPLACEMENT_EXPORTOPTIONS + case "fileInfo": + result |= FILEINFO_EXPORTOPTIONS + case "tags": + result |= TAGS_EXPORTOPTIONS + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_EXPORTOPTIONS + default: + return 0, errors.New("Unknown ExportOptions value: " + v) + } } return &result, nil } @@ -44,3 +54,6 @@ func SerializeExportOptions(values []ExportOptions) []string { } return result } +func (i ExportOptions) isMultiValue() bool { + return true +} diff --git a/models/ediscovery/legal_hold_status.go b/models/ediscovery/legal_hold_status.go index 0a64074472a..ada99876d21 100644 --- a/models/ediscovery/legal_hold_status.go +++ b/models/ediscovery/legal_hold_status.go @@ -38,3 +38,6 @@ func SerializeLegalHoldStatus(values []LegalHoldStatus) []string { } return result } +func (i LegalHoldStatus) isMultiValue() bool { + return false +} diff --git a/models/ediscovery/noncustodial_data_source.go b/models/ediscovery/noncustodial_data_source.go index 4303dad511f..e5c4edf55b8 100644 --- a/models/ediscovery/noncustodial_data_source.go +++ b/models/ediscovery/noncustodial_data_source.go @@ -21,7 +21,7 @@ func NewNoncustodialDataSource()(*NoncustodialDataSource) { func CreateNoncustodialDataSourceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewNoncustodialDataSource(), nil } -// GetApplyHoldToSource gets the applyHoldToSource property value. Indicates if hold is applied to non-custodial data source (such as mailbox or site). +// GetApplyHoldToSource gets the applyHoldToSource property value. Indicates if hold is applied to noncustodial data source (such as mailbox or site). func (m *NoncustodialDataSource) GetApplyHoldToSource()(*bool) { val, err := m.GetBackingStore().Get("applyHoldToSource") if err != nil { @@ -32,7 +32,7 @@ func (m *NoncustodialDataSource) GetApplyHoldToSource()(*bool) { } return nil } -// GetDataSource gets the dataSource property value. User source or SharePoint site data source as non-custodial data source. +// GetDataSource gets the dataSource property value. User source or SharePoint site data source as noncustodial data source. func (m *NoncustodialDataSource) GetDataSource()(DataSourceable) { val, err := m.GetBackingStore().Get("dataSource") if err != nil { @@ -88,14 +88,14 @@ func (m *NoncustodialDataSource) Serialize(writer i878a80d2330e89d26896388a3f487 } return nil } -// SetApplyHoldToSource sets the applyHoldToSource property value. Indicates if hold is applied to non-custodial data source (such as mailbox or site). +// SetApplyHoldToSource sets the applyHoldToSource property value. Indicates if hold is applied to noncustodial data source (such as mailbox or site). func (m *NoncustodialDataSource) SetApplyHoldToSource(value *bool)() { err := m.GetBackingStore().Set("applyHoldToSource", value) if err != nil { panic(err) } } -// SetDataSource sets the dataSource property value. User source or SharePoint site data source as non-custodial data source. +// SetDataSource sets the dataSource property value. User source or SharePoint site data source as noncustodial data source. func (m *NoncustodialDataSource) SetDataSource(value DataSourceable)() { err := m.GetBackingStore().Set("dataSource", value) if err != nil { diff --git a/models/ediscovery/source_type.go b/models/ediscovery/source_type.go index 1df7f380c05..85f6f6f8cca 100644 --- a/models/ediscovery/source_type.go +++ b/models/ediscovery/source_type.go @@ -1,6 +1,7 @@ package ediscovery import ( "errors" + "strings" ) // type SourceType int @@ -11,17 +12,26 @@ const ( ) func (i SourceType) String() string { - return []string{"mailbox", "site"}[i] + var values []string + for p := SourceType(1); p <= SITE_SOURCETYPE; p <<= 1 { + if i&p == p { + values = append(values, []string{"mailbox", "site"}[p]) + } + } + return strings.Join(values, ",") } func ParseSourceType(v string) (any, error) { - result := MAILBOX_SOURCETYPE - switch v { - case "mailbox": - result = MAILBOX_SOURCETYPE - case "site": - result = SITE_SOURCETYPE - default: - return 0, errors.New("Unknown SourceType value: " + v) + var result SourceType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "mailbox": + result |= MAILBOX_SOURCETYPE + case "site": + result |= SITE_SOURCETYPE + default: + return 0, errors.New("Unknown SourceType value: " + v) + } } return &result, nil } @@ -32,3 +42,6 @@ func SerializeSourceType(values []SourceType) []string { } return result } +func (i SourceType) isMultiValue() bool { + return true +} diff --git a/models/ediscovery/topic_modeling_settings.go b/models/ediscovery/topic_modeling_settings.go index 7ce5c8625aa..d123d866a4f 100644 --- a/models/ediscovery/topic_modeling_settings.go +++ b/models/ediscovery/topic_modeling_settings.go @@ -115,7 +115,7 @@ func (m *TopicModelingSettings) GetIgnoreNumbers()(*bool) { } return nil } -// GetIsEnabled gets the isEnabled property value. Indicates whether themes is enabled for the case. +// GetIsEnabled gets the isEnabled property value. Indicates whether themes are enabled for the case. func (m *TopicModelingSettings) GetIsEnabled()(*bool) { val, err := m.GetBackingStore().Get("isEnabled") if err != nil { @@ -213,7 +213,7 @@ func (m *TopicModelingSettings) SetIgnoreNumbers(value *bool)() { panic(err) } } -// SetIsEnabled sets the isEnabled property value. Indicates whether themes is enabled for the case. +// SetIsEnabled sets the isEnabled property value. Indicates whether themes are enabled for the case. func (m *TopicModelingSettings) SetIsEnabled(value *bool)() { err := m.GetBackingStore().Set("isEnabled", value) if err != nil { diff --git a/models/edition_upgrade_license_type.go b/models/edition_upgrade_license_type.go index df841fffc39..b199bc17240 100644 --- a/models/edition_upgrade_license_type.go +++ b/models/edition_upgrade_license_type.go @@ -38,3 +38,6 @@ func SerializeEditionUpgradeLicenseType(values []EditionUpgradeLicenseType) []st } return result } +func (i EditionUpgradeLicenseType) isMultiValue() bool { + return false +} diff --git a/models/education_add_to_calendar_options.go b/models/education_add_to_calendar_options.go index cf2bbcdf3b8..b8f47a4fb7d 100644 --- a/models/education_add_to_calendar_options.go +++ b/models/education_add_to_calendar_options.go @@ -41,3 +41,6 @@ func SerializeEducationAddToCalendarOptions(values []EducationAddToCalendarOptio } return result } +func (i EducationAddToCalendarOptions) isMultiValue() bool { + return false +} diff --git a/models/education_added_student_action.go b/models/education_added_student_action.go index f199be162d1..ee2fdd17de7 100644 --- a/models/education_added_student_action.go +++ b/models/education_added_student_action.go @@ -35,3 +35,6 @@ func SerializeEducationAddedStudentAction(values []EducationAddedStudentAction) } return result } +func (i EducationAddedStudentAction) isMultiValue() bool { + return false +} diff --git a/models/education_assignment_resource.go b/models/education_assignment_resource.go index d99d72f15f2..f2601bb20c1 100644 --- a/models/education_assignment_resource.go +++ b/models/education_assignment_resource.go @@ -19,6 +19,17 @@ func NewEducationAssignmentResource()(*EducationAssignmentResource) { func CreateEducationAssignmentResourceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewEducationAssignmentResource(), nil } +// GetDependentResources gets the dependentResources property value. The dependentResources property +func (m *EducationAssignmentResource) GetDependentResources()([]EducationAssignmentResourceable) { + val, err := m.GetBackingStore().Get("dependentResources") + if err != nil { + panic(err) + } + if val != nil { + return val.([]EducationAssignmentResourceable) + } + return nil +} // GetDistributeForStudentWork gets the distributeForStudentWork property value. Indicates whether this resource should be copied to each student submission for modification and submission. Required func (m *EducationAssignmentResource) GetDistributeForStudentWork()(*bool) { val, err := m.GetBackingStore().Get("distributeForStudentWork") @@ -33,6 +44,22 @@ func (m *EducationAssignmentResource) GetDistributeForStudentWork()(*bool) { // GetFieldDeserializers the deserialization information for the current model func (m *EducationAssignmentResource) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Entity.GetFieldDeserializers() + res["dependentResources"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateEducationAssignmentResourceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]EducationAssignmentResourceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(EducationAssignmentResourceable) + } + } + m.SetDependentResources(res) + } + return nil + } res["distributeForStudentWork"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -72,6 +99,18 @@ func (m *EducationAssignmentResource) Serialize(writer i878a80d2330e89d26896388a if err != nil { return err } + if m.GetDependentResources() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDependentResources())) + for i, v := range m.GetDependentResources() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("dependentResources", cast) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("distributeForStudentWork", m.GetDistributeForStudentWork()) if err != nil { @@ -86,6 +125,13 @@ func (m *EducationAssignmentResource) Serialize(writer i878a80d2330e89d26896388a } return nil } +// SetDependentResources sets the dependentResources property value. The dependentResources property +func (m *EducationAssignmentResource) SetDependentResources(value []EducationAssignmentResourceable)() { + err := m.GetBackingStore().Set("dependentResources", value) + if err != nil { + panic(err) + } +} // SetDistributeForStudentWork sets the distributeForStudentWork property value. Indicates whether this resource should be copied to each student submission for modification and submission. Required func (m *EducationAssignmentResource) SetDistributeForStudentWork(value *bool)() { err := m.GetBackingStore().Set("distributeForStudentWork", value) @@ -104,8 +150,10 @@ func (m *EducationAssignmentResource) SetResource(value EducationResourceable)() type EducationAssignmentResourceable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDependentResources()([]EducationAssignmentResourceable) GetDistributeForStudentWork()(*bool) GetResource()(EducationResourceable) + SetDependentResources(value []EducationAssignmentResourceable)() SetDistributeForStudentWork(value *bool)() SetResource(value EducationResourceable)() } diff --git a/models/education_assignment_settings.go b/models/education_assignment_settings.go index e23620128fb..279cc6a5145 100644 --- a/models/education_assignment_settings.go +++ b/models/education_assignment_settings.go @@ -61,7 +61,7 @@ func (m *EducationAssignmentSettings) GetGradingCategories()([]EducationGradingC } return nil } -// GetSubmissionAnimationDisabled gets the submissionAnimationDisabled property value. Indicates whether turn-in celebration animation will be shown. If true, the animation will not be shown. The default value is false. +// GetSubmissionAnimationDisabled gets the submissionAnimationDisabled property value. Indicates whether turn-in celebration animation will be shown. If true, the animation won't be shown. The default value is false. func (m *EducationAssignmentSettings) GetSubmissionAnimationDisabled()(*bool) { val, err := m.GetBackingStore().Get("submissionAnimationDisabled") if err != nil { @@ -105,7 +105,7 @@ func (m *EducationAssignmentSettings) SetGradingCategories(value []EducationGrad panic(err) } } -// SetSubmissionAnimationDisabled sets the submissionAnimationDisabled property value. Indicates whether turn-in celebration animation will be shown. If true, the animation will not be shown. The default value is false. +// SetSubmissionAnimationDisabled sets the submissionAnimationDisabled property value. Indicates whether turn-in celebration animation will be shown. If true, the animation won't be shown. The default value is false. func (m *EducationAssignmentSettings) SetSubmissionAnimationDisabled(value *bool)() { err := m.GetBackingStore().Set("submissionAnimationDisabled", value) if err != nil { diff --git a/models/education_assignment_status.go b/models/education_assignment_status.go index 4c984b5f7d0..fed4ec89ac4 100644 --- a/models/education_assignment_status.go +++ b/models/education_assignment_status.go @@ -41,3 +41,6 @@ func SerializeEducationAssignmentStatus(values []EducationAssignmentStatus) []st } return result } +func (i EducationAssignmentStatus) isMultiValue() bool { + return false +} diff --git a/models/education_external_source.go b/models/education_external_source.go index e65a668d717..e8d44cad300 100644 --- a/models/education_external_source.go +++ b/models/education_external_source.go @@ -38,3 +38,6 @@ func SerializeEducationExternalSource(values []EducationExternalSource) []string } return result } +func (i EducationExternalSource) isMultiValue() bool { + return false +} diff --git a/models/education_feedback_resource_outcome_status.go b/models/education_feedback_resource_outcome_status.go index 155ba5290c4..eaa2fdba477 100644 --- a/models/education_feedback_resource_outcome_status.go +++ b/models/education_feedback_resource_outcome_status.go @@ -41,3 +41,6 @@ func SerializeEducationFeedbackResourceOutcomeStatus(values []EducationFeedbackR } return result } +func (i EducationFeedbackResourceOutcomeStatus) isMultiValue() bool { + return false +} diff --git a/models/education_gender.go b/models/education_gender.go index e73559d43da..0d1cb22624e 100644 --- a/models/education_gender.go +++ b/models/education_gender.go @@ -38,3 +38,6 @@ func SerializeEducationGender(values []EducationGender) []string { } return result } +func (i EducationGender) isMultiValue() bool { + return false +} diff --git a/models/education_module_status.go b/models/education_module_status.go index 57d1e3a8da0..a31e7948a5a 100644 --- a/models/education_module_status.go +++ b/models/education_module_status.go @@ -35,3 +35,6 @@ func SerializeEducationModuleStatus(values []EducationModuleStatus) []string { } return result } +func (i EducationModuleStatus) isMultiValue() bool { + return false +} diff --git a/models/education_submission_resource.go b/models/education_submission_resource.go index 692e36f0ecc..2348ddff9c0 100644 --- a/models/education_submission_resource.go +++ b/models/education_submission_resource.go @@ -19,7 +19,7 @@ func NewEducationSubmissionResource()(*EducationSubmissionResource) { func CreateEducationSubmissionResourceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewEducationSubmissionResource(), nil } -// GetAssignmentResourceUrl gets the assignmentResourceUrl property value. Pointer to the assignment from which this resource was copied. If this is null, the student uploaded the resource. +// GetAssignmentResourceUrl gets the assignmentResourceUrl property value. Pointer to the assignment from which the resource was copied. If the value is null, the student uploaded the resource. func (m *EducationSubmissionResource) GetAssignmentResourceUrl()(*string) { val, err := m.GetBackingStore().Get("assignmentResourceUrl") if err != nil { @@ -30,6 +30,17 @@ func (m *EducationSubmissionResource) GetAssignmentResourceUrl()(*string) { } return nil } +// GetDependentResources gets the dependentResources property value. The dependentResources property +func (m *EducationSubmissionResource) GetDependentResources()([]EducationSubmissionResourceable) { + val, err := m.GetBackingStore().Get("dependentResources") + if err != nil { + panic(err) + } + if val != nil { + return val.([]EducationSubmissionResourceable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model func (m *EducationSubmissionResource) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Entity.GetFieldDeserializers() @@ -43,6 +54,22 @@ func (m *EducationSubmissionResource) GetFieldDeserializers()(map[string]func(i8 } return nil } + res["dependentResources"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateEducationSubmissionResourceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]EducationSubmissionResourceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(EducationSubmissionResourceable) + } + } + m.SetDependentResources(res) + } + return nil + } res["resource"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateEducationResourceFromDiscriminatorValue) if err != nil { @@ -78,6 +105,18 @@ func (m *EducationSubmissionResource) Serialize(writer i878a80d2330e89d26896388a return err } } + if m.GetDependentResources() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDependentResources())) + for i, v := range m.GetDependentResources() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("dependentResources", cast) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("resource", m.GetResource()) if err != nil { @@ -86,13 +125,20 @@ func (m *EducationSubmissionResource) Serialize(writer i878a80d2330e89d26896388a } return nil } -// SetAssignmentResourceUrl sets the assignmentResourceUrl property value. Pointer to the assignment from which this resource was copied. If this is null, the student uploaded the resource. +// SetAssignmentResourceUrl sets the assignmentResourceUrl property value. Pointer to the assignment from which the resource was copied. If the value is null, the student uploaded the resource. func (m *EducationSubmissionResource) SetAssignmentResourceUrl(value *string)() { err := m.GetBackingStore().Set("assignmentResourceUrl", value) if err != nil { panic(err) } } +// SetDependentResources sets the dependentResources property value. The dependentResources property +func (m *EducationSubmissionResource) SetDependentResources(value []EducationSubmissionResourceable)() { + err := m.GetBackingStore().Set("dependentResources", value) + if err != nil { + panic(err) + } +} // SetResource sets the resource property value. Resource object. func (m *EducationSubmissionResource) SetResource(value EducationResourceable)() { err := m.GetBackingStore().Set("resource", value) @@ -105,7 +151,9 @@ type EducationSubmissionResourceable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAssignmentResourceUrl()(*string) + GetDependentResources()([]EducationSubmissionResourceable) GetResource()(EducationResourceable) SetAssignmentResourceUrl(value *string)() + SetDependentResources(value []EducationSubmissionResourceable)() SetResource(value EducationResourceable)() } diff --git a/models/education_submission_status.go b/models/education_submission_status.go index d1708d846b9..c9b144bbd1e 100644 --- a/models/education_submission_status.go +++ b/models/education_submission_status.go @@ -44,3 +44,6 @@ func SerializeEducationSubmissionStatus(values []EducationSubmissionStatus) []st } return result } +func (i EducationSubmissionStatus) isMultiValue() bool { + return false +} diff --git a/models/education_synchronization_profile_state.go b/models/education_synchronization_profile_state.go index 57b4258e500..8b83ad40a73 100644 --- a/models/education_synchronization_profile_state.go +++ b/models/education_synchronization_profile_state.go @@ -44,3 +44,6 @@ func SerializeEducationSynchronizationProfileState(values []EducationSynchroniza } return result } +func (i EducationSynchronizationProfileState) isMultiValue() bool { + return false +} diff --git a/models/education_synchronization_status.go b/models/education_synchronization_status.go index b84e6c67fc4..959ecf4cdbe 100644 --- a/models/education_synchronization_status.go +++ b/models/education_synchronization_status.go @@ -53,3 +53,6 @@ func SerializeEducationSynchronizationStatus(values []EducationSynchronizationSt } return result } +func (i EducationSynchronizationStatus) isMultiValue() bool { + return false +} diff --git a/models/education_user.go b/models/education_user.go index 322d8fff85e..a08b663ad04 100644 --- a/models/education_user.go +++ b/models/education_user.go @@ -130,7 +130,7 @@ func (m *EducationUser) GetExternalSource()(*EducationExternalSource) { } return nil } -// GetExternalSourceDetail gets the externalSourceDetail property value. The name of the external source this resources was generated from. +// GetExternalSourceDetail gets the externalSourceDetail property value. The name of the external source this resource was generated from. func (m *EducationUser) GetExternalSourceDetail()(*string) { val, err := m.GetBackingStore().Get("externalSourceDetail") if err != nil { @@ -608,7 +608,7 @@ func (m *EducationUser) GetMail()(*string) { } return nil } -// GetMailingAddress gets the mailingAddress property value. Mail address of user. Note: type and postOfficeBox are not supported for educationUser resources. +// GetMailingAddress gets the mailingAddress property value. Mail address of user. Note: type and postOfficeBox aren't supported for educationUser resources. func (m *EducationUser) GetMailingAddress()(PhysicalAddressable) { val, err := m.GetBackingStore().Get("mailingAddress") if err != nil { @@ -663,7 +663,7 @@ func (m *EducationUser) GetOfficeLocation()(*string) { } return nil } -// GetOnPremisesInfo gets the onPremisesInfo property value. Additional information used to associate the AAD user with it's Active Directory counterpart. +// GetOnPremisesInfo gets the onPremisesInfo property value. Additional information used to associate the Azure Active Directory user with its Active Directory counterpart. func (m *EducationUser) GetOnPremisesInfo()(EducationOnPremisesInfoable) { val, err := m.GetBackingStore().Get("onPremisesInfo") if err != nil { @@ -674,7 +674,7 @@ func (m *EducationUser) GetOnPremisesInfo()(EducationOnPremisesInfoable) { } return nil } -// GetPasswordPolicies gets the passwordPolicies property value. Specifies password policies for the user. See standard [user] resource for additional details. +// GetPasswordPolicies gets the passwordPolicies property value. Specifies password policies for the user. See standard [user] resource for more details. func (m *EducationUser) GetPasswordPolicies()(*string) { val, err := m.GetBackingStore().Get("passwordPolicies") if err != nil { @@ -685,7 +685,7 @@ func (m *EducationUser) GetPasswordPolicies()(*string) { } return nil } -// GetPasswordProfile gets the passwordProfile property value. Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. See standard [user] resource for additional details. +// GetPasswordProfile gets the passwordProfile property value. Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. See standard [user] resource for more details. func (m *EducationUser) GetPasswordProfile()(PasswordProfileable) { val, err := m.GetBackingStore().Get("passwordProfile") if err != nil { @@ -751,7 +751,7 @@ func (m *EducationUser) GetRelatedContacts()([]RelatedContactable) { } return nil } -// GetResidenceAddress gets the residenceAddress property value. Address where user lives. Note: type and postOfficeBox are not supported for educationUser resources. +// GetResidenceAddress gets the residenceAddress property value. Address where user lives. Note: type and postOfficeBox aren't supported for educationUser resources. func (m *EducationUser) GetResidenceAddress()(PhysicalAddressable) { val, err := m.GetBackingStore().Get("residenceAddress") if err != nil { @@ -795,7 +795,7 @@ func (m *EducationUser) GetShowInAddressList()(*bool) { } return nil } -// GetStudent gets the student property value. If the primary role is student, this block will contain student specific data. +// GetStudent gets the student property value. If the primary role is student, this block contains student specific data. func (m *EducationUser) GetStudent()(EducationStudentable) { val, err := m.GetBackingStore().Get("student") if err != nil { @@ -1245,7 +1245,7 @@ func (m *EducationUser) SetExternalSource(value *EducationExternalSource)() { panic(err) } } -// SetExternalSourceDetail sets the externalSourceDetail property value. The name of the external source this resources was generated from. +// SetExternalSourceDetail sets the externalSourceDetail property value. The name of the external source this resource was generated from. func (m *EducationUser) SetExternalSourceDetail(value *string)() { err := m.GetBackingStore().Set("externalSourceDetail", value) if err != nil { @@ -1266,7 +1266,7 @@ func (m *EducationUser) SetMail(value *string)() { panic(err) } } -// SetMailingAddress sets the mailingAddress property value. Mail address of user. Note: type and postOfficeBox are not supported for educationUser resources. +// SetMailingAddress sets the mailingAddress property value. Mail address of user. Note: type and postOfficeBox aren't supported for educationUser resources. func (m *EducationUser) SetMailingAddress(value PhysicalAddressable)() { err := m.GetBackingStore().Set("mailingAddress", value) if err != nil { @@ -1301,21 +1301,21 @@ func (m *EducationUser) SetOfficeLocation(value *string)() { panic(err) } } -// SetOnPremisesInfo sets the onPremisesInfo property value. Additional information used to associate the AAD user with it's Active Directory counterpart. +// SetOnPremisesInfo sets the onPremisesInfo property value. Additional information used to associate the Azure Active Directory user with its Active Directory counterpart. func (m *EducationUser) SetOnPremisesInfo(value EducationOnPremisesInfoable)() { err := m.GetBackingStore().Set("onPremisesInfo", value) if err != nil { panic(err) } } -// SetPasswordPolicies sets the passwordPolicies property value. Specifies password policies for the user. See standard [user] resource for additional details. +// SetPasswordPolicies sets the passwordPolicies property value. Specifies password policies for the user. See standard [user] resource for more details. func (m *EducationUser) SetPasswordPolicies(value *string)() { err := m.GetBackingStore().Set("passwordPolicies", value) if err != nil { panic(err) } } -// SetPasswordProfile sets the passwordProfile property value. Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. See standard [user] resource for additional details. +// SetPasswordProfile sets the passwordProfile property value. Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. See standard [user] resource for more details. func (m *EducationUser) SetPasswordProfile(value PasswordProfileable)() { err := m.GetBackingStore().Set("passwordProfile", value) if err != nil { @@ -1357,7 +1357,7 @@ func (m *EducationUser) SetRelatedContacts(value []RelatedContactable)() { panic(err) } } -// SetResidenceAddress sets the residenceAddress property value. Address where user lives. Note: type and postOfficeBox are not supported for educationUser resources. +// SetResidenceAddress sets the residenceAddress property value. Address where user lives. Note: type and postOfficeBox aren't supported for educationUser resources. func (m *EducationUser) SetResidenceAddress(value PhysicalAddressable)() { err := m.GetBackingStore().Set("residenceAddress", value) if err != nil { @@ -1385,7 +1385,7 @@ func (m *EducationUser) SetShowInAddressList(value *bool)() { panic(err) } } -// SetStudent sets the student property value. If the primary role is student, this block will contain student specific data. +// SetStudent sets the student property value. If the primary role is student, this block contains student specific data. func (m *EducationUser) SetStudent(value EducationStudentable)() { err := m.GetBackingStore().Set("student", value) if err != nil { diff --git a/models/education_user_role.go b/models/education_user_role.go index ecb8978a8d5..c4875d87710 100644 --- a/models/education_user_role.go +++ b/models/education_user_role.go @@ -41,3 +41,6 @@ func SerializeEducationUserRole(values []EducationUserRole) []string { } return result } +func (i EducationUserRole) isMultiValue() bool { + return false +} diff --git a/models/eligibility_filtering_enabled_entities.go b/models/eligibility_filtering_enabled_entities.go index 09b6fb7417c..b86219ce708 100644 --- a/models/eligibility_filtering_enabled_entities.go +++ b/models/eligibility_filtering_enabled_entities.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type EligibilityFilteringEnabledEntities int @@ -14,23 +15,32 @@ const ( ) func (i EligibilityFilteringEnabledEntities) String() string { - return []string{"none", "swapRequest", "offerShiftRequest", "unknownFutureValue", "timeOffReason"}[i] + var values []string + for p := EligibilityFilteringEnabledEntities(1); p <= TIMEOFFREASON_ELIGIBILITYFILTERINGENABLEDENTITIES; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "swapRequest", "offerShiftRequest", "unknownFutureValue", "timeOffReason"}[p]) + } + } + return strings.Join(values, ",") } func ParseEligibilityFilteringEnabledEntities(v string) (any, error) { - result := NONE_ELIGIBILITYFILTERINGENABLEDENTITIES - switch v { - case "none": - result = NONE_ELIGIBILITYFILTERINGENABLEDENTITIES - case "swapRequest": - result = SWAPREQUEST_ELIGIBILITYFILTERINGENABLEDENTITIES - case "offerShiftRequest": - result = OFFERSHIFTREQUEST_ELIGIBILITYFILTERINGENABLEDENTITIES - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_ELIGIBILITYFILTERINGENABLEDENTITIES - case "timeOffReason": - result = TIMEOFFREASON_ELIGIBILITYFILTERINGENABLEDENTITIES - default: - return 0, errors.New("Unknown EligibilityFilteringEnabledEntities value: " + v) + var result EligibilityFilteringEnabledEntities + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_ELIGIBILITYFILTERINGENABLEDENTITIES + case "swapRequest": + result |= SWAPREQUEST_ELIGIBILITYFILTERINGENABLEDENTITIES + case "offerShiftRequest": + result |= OFFERSHIFTREQUEST_ELIGIBILITYFILTERINGENABLEDENTITIES + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_ELIGIBILITYFILTERINGENABLEDENTITIES + case "timeOffReason": + result |= TIMEOFFREASON_ELIGIBILITYFILTERINGENABLEDENTITIES + default: + return 0, errors.New("Unknown EligibilityFilteringEnabledEntities value: " + v) + } } return &result, nil } @@ -41,3 +51,6 @@ func SerializeEligibilityFilteringEnabledEntities(values []EligibilityFilteringE } return result } +func (i EligibilityFilteringEnabledEntities) isMultiValue() bool { + return true +} diff --git a/models/email_authentication_method_configuration.go b/models/email_authentication_method_configuration.go index 304f4bc9a64..8ffaa828f53 100644 --- a/models/email_authentication_method_configuration.go +++ b/models/email_authentication_method_configuration.go @@ -21,7 +21,7 @@ func NewEmailAuthenticationMethodConfiguration()(*EmailAuthenticationMethodConfi func CreateEmailAuthenticationMethodConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewEmailAuthenticationMethodConfiguration(), nil } -// GetAllowExternalIdToUseEmailOtp gets the allowExternalIdToUseEmailOtp property value. Determines whether email OTP is usable by external users for authentication. Possible values are: default, enabled, disabled, unknownFutureValue. Tenants in the default state who did not use public preview will automatically have email OTP enabled beginning in October 2021. +// GetAllowExternalIdToUseEmailOtp gets the allowExternalIdToUseEmailOtp property value. Determines whether email OTP is usable by external users for authentication. Possible values are: default, enabled, disabled, unknownFutureValue. Tenants in the default state who didn't use public preview will automatically have email OTP enabled beginning in October 2021. func (m *EmailAuthenticationMethodConfiguration) GetAllowExternalIdToUseEmailOtp()(*ExternalEmailOtpState) { val, err := m.GetBackingStore().Get("allowExternalIdToUseEmailOtp") if err != nil { @@ -101,7 +101,7 @@ func (m *EmailAuthenticationMethodConfiguration) Serialize(writer i878a80d2330e8 } return nil } -// SetAllowExternalIdToUseEmailOtp sets the allowExternalIdToUseEmailOtp property value. Determines whether email OTP is usable by external users for authentication. Possible values are: default, enabled, disabled, unknownFutureValue. Tenants in the default state who did not use public preview will automatically have email OTP enabled beginning in October 2021. +// SetAllowExternalIdToUseEmailOtp sets the allowExternalIdToUseEmailOtp property value. Determines whether email OTP is usable by external users for authentication. Possible values are: default, enabled, disabled, unknownFutureValue. Tenants in the default state who didn't use public preview will automatically have email OTP enabled beginning in October 2021. func (m *EmailAuthenticationMethodConfiguration) SetAllowExternalIdToUseEmailOtp(value *ExternalEmailOtpState)() { err := m.GetBackingStore().Set("allowExternalIdToUseEmailOtp", value) if err != nil { diff --git a/models/email_certificate_type.go b/models/email_certificate_type.go index 7ea6f557e93..eebfa55141b 100644 --- a/models/email_certificate_type.go +++ b/models/email_certificate_type.go @@ -38,3 +38,6 @@ func SerializeEmailCertificateType(values []EmailCertificateType) []string { } return result } +func (i EmailCertificateType) isMultiValue() bool { + return false +} diff --git a/models/email_payload_detail.go b/models/email_payload_detail.go index e0102b18aec..4e523fb6e52 100644 --- a/models/email_payload_detail.go +++ b/models/email_payload_detail.go @@ -88,7 +88,7 @@ func (m *EmailPayloadDetail) GetFromName()(*string) { } return nil } -// GetIsExternalSender gets the isExternalSender property value. Indicates whether the sender is not from the user's organization. +// GetIsExternalSender gets the isExternalSender property value. Indicates whether the sender isn't from the user's organization. func (m *EmailPayloadDetail) GetIsExternalSender()(*bool) { val, err := m.GetBackingStore().Get("isExternalSender") if err != nil { @@ -156,7 +156,7 @@ func (m *EmailPayloadDetail) SetFromName(value *string)() { panic(err) } } -// SetIsExternalSender sets the isExternalSender property value. Indicates whether the sender is not from the user's organization. +// SetIsExternalSender sets the isExternalSender property value. Indicates whether the sender isn't from the user's organization. func (m *EmailPayloadDetail) SetIsExternalSender(value *bool)() { err := m.GetBackingStore().Set("isExternalSender", value) if err != nil { diff --git a/models/email_role.go b/models/email_role.go index b46e1aef300..8e4fd48c794 100644 --- a/models/email_role.go +++ b/models/email_role.go @@ -38,3 +38,6 @@ func SerializeEmailRole(values []EmailRole) []string { } return result } +func (i EmailRole) isMultiValue() bool { + return false +} diff --git a/models/email_sync_duration.go b/models/email_sync_duration.go index 6d61c867746..0e302546182 100644 --- a/models/email_sync_duration.go +++ b/models/email_sync_duration.go @@ -54,3 +54,6 @@ func SerializeEmailSyncDuration(values []EmailSyncDuration) []string { } return result } +func (i EmailSyncDuration) isMultiValue() bool { + return false +} diff --git a/models/email_sync_schedule.go b/models/email_sync_schedule.go index 0010ed764f9..6a26d4eb242 100644 --- a/models/email_sync_schedule.go +++ b/models/email_sync_schedule.go @@ -54,3 +54,6 @@ func SerializeEmailSyncSchedule(values []EmailSyncSchedule) []string { } return result } +func (i EmailSyncSchedule) isMultiValue() bool { + return false +} diff --git a/models/email_type.go b/models/email_type.go index fbd6f2e7e61..6e9d88085e7 100644 --- a/models/email_type.go +++ b/models/email_type.go @@ -41,3 +41,6 @@ func SerializeEmailType(values []EmailType) []string { } return result } +func (i EmailType) isMultiValue() bool { + return false +} diff --git a/models/embedded_s_i_m_device_state_value.go b/models/embedded_s_i_m_device_state_value.go index 9d4999e75fa..f168054c8f5 100644 --- a/models/embedded_s_i_m_device_state_value.go +++ b/models/embedded_s_i_m_device_state_value.go @@ -58,3 +58,6 @@ func SerializeEmbeddedSIMDeviceStateValue(values []EmbeddedSIMDeviceStateValue) } return result } +func (i EmbeddedSIMDeviceStateValue) isMultiValue() bool { + return false +} diff --git a/models/enablement.go b/models/enablement.go index ebe4c70a451..18c32dbe8f6 100644 --- a/models/enablement.go +++ b/models/enablement.go @@ -38,3 +38,6 @@ func SerializeEnablement(values []Enablement) []string { } return result } +func (i Enablement) isMultiValue() bool { + return false +} diff --git a/models/encrypt_with.go b/models/encrypt_with.go index 63570ed33ea..8bad942b8be 100644 --- a/models/encrypt_with.go +++ b/models/encrypt_with.go @@ -32,3 +32,6 @@ func SerializeEncryptWith(values []EncryptWith) []string { } return result } +func (i EncryptWith) isMultiValue() bool { + return false +} diff --git a/models/encryption_readiness_state.go b/models/encryption_readiness_state.go index 54900358db5..54d3b5202ea 100644 --- a/models/encryption_readiness_state.go +++ b/models/encryption_readiness_state.go @@ -34,3 +34,6 @@ func SerializeEncryptionReadinessState(values []EncryptionReadinessState) []stri } return result } +func (i EncryptionReadinessState) isMultiValue() bool { + return false +} diff --git a/models/encryption_state.go b/models/encryption_state.go index 14e1a0ccfe6..9ee98734138 100644 --- a/models/encryption_state.go +++ b/models/encryption_state.go @@ -34,3 +34,6 @@ func SerializeEncryptionState(values []EncryptionState) []string { } return result } +func (i EncryptionState) isMultiValue() bool { + return false +} diff --git a/models/end_user_notification_preference.go b/models/end_user_notification_preference.go index f5e6455c95f..587d0821098 100644 --- a/models/end_user_notification_preference.go +++ b/models/end_user_notification_preference.go @@ -38,3 +38,6 @@ func SerializeEndUserNotificationPreference(values []EndUserNotificationPreferen } return result } +func (i EndUserNotificationPreference) isMultiValue() bool { + return false +} diff --git a/models/end_user_notification_setting_type.go b/models/end_user_notification_setting_type.go index c7f9bfcdbb3..406c1df958b 100644 --- a/models/end_user_notification_setting_type.go +++ b/models/end_user_notification_setting_type.go @@ -41,3 +41,6 @@ func SerializeEndUserNotificationSettingType(values []EndUserNotificationSetting } return result } +func (i EndUserNotificationSettingType) isMultiValue() bool { + return false +} diff --git a/models/end_user_notification_type.go b/models/end_user_notification_type.go index 1d4c6a2b1d1..a3589277dd6 100644 --- a/models/end_user_notification_type.go +++ b/models/end_user_notification_type.go @@ -44,3 +44,6 @@ func SerializeEndUserNotificationType(values []EndUserNotificationType) []string } return result } +func (i EndUserNotificationType) isMultiValue() bool { + return false +} diff --git a/models/endpoint_security_configuration_applicable_platform.go b/models/endpoint_security_configuration_applicable_platform.go index 5a9dc2cf7fe..22064e047f6 100644 --- a/models/endpoint_security_configuration_applicable_platform.go +++ b/models/endpoint_security_configuration_applicable_platform.go @@ -42,3 +42,6 @@ func SerializeEndpointSecurityConfigurationApplicablePlatform(values []EndpointS } return result } +func (i EndpointSecurityConfigurationApplicablePlatform) isMultiValue() bool { + return false +} diff --git a/models/endpoint_security_configuration_profile_type.go b/models/endpoint_security_configuration_profile_type.go index a15f1ed3b9a..7fa560c2398 100644 --- a/models/endpoint_security_configuration_profile_type.go +++ b/models/endpoint_security_configuration_profile_type.go @@ -86,3 +86,6 @@ func SerializeEndpointSecurityConfigurationProfileType(values []EndpointSecurity } return result } +func (i EndpointSecurityConfigurationProfileType) isMultiValue() bool { + return false +} diff --git a/models/endpoint_security_configuration_type.go b/models/endpoint_security_configuration_type.go index 4882ad65c14..2c32814c802 100644 --- a/models/endpoint_security_configuration_type.go +++ b/models/endpoint_security_configuration_type.go @@ -54,3 +54,6 @@ func SerializeEndpointSecurityConfigurationType(values []EndpointSecurityConfigu } return result } +func (i EndpointSecurityConfigurationType) isMultiValue() bool { + return false +} diff --git a/models/endpoint_type.go b/models/endpoint_type.go index 445c888dade..0e780890e88 100644 --- a/models/endpoint_type.go +++ b/models/endpoint_type.go @@ -41,3 +41,6 @@ func SerializeEndpointType(values []EndpointType) []string { } return result } +func (i EndpointType) isMultiValue() bool { + return false +} diff --git a/models/enrollment_availability_options.go b/models/enrollment_availability_options.go index c6d5f0668a4..f080e63200e 100644 --- a/models/enrollment_availability_options.go +++ b/models/enrollment_availability_options.go @@ -38,3 +38,6 @@ func SerializeEnrollmentAvailabilityOptions(values []EnrollmentAvailabilityOptio } return result } +func (i EnrollmentAvailabilityOptions) isMultiValue() bool { + return false +} diff --git a/models/enrollment_notification_branding_options.go b/models/enrollment_notification_branding_options.go index 19202cb3216..04f2690a98a 100644 --- a/models/enrollment_notification_branding_options.go +++ b/models/enrollment_notification_branding_options.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Branding Options for the Message Template. Branding is defined in the Intune Admin Console. type EnrollmentNotificationBrandingOptions int @@ -23,27 +24,36 @@ const ( ) func (i EnrollmentNotificationBrandingOptions) String() string { - return []string{"none", "includeCompanyLogo", "includeCompanyName", "includeContactInformation", "includeCompanyPortalLink", "includeDeviceDetails", "unknownFutureValue"}[i] + var values []string + for p := EnrollmentNotificationBrandingOptions(1); p <= UNKNOWNFUTUREVALUE_ENROLLMENTNOTIFICATIONBRANDINGOPTIONS; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "includeCompanyLogo", "includeCompanyName", "includeContactInformation", "includeCompanyPortalLink", "includeDeviceDetails", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseEnrollmentNotificationBrandingOptions(v string) (any, error) { - result := NONE_ENROLLMENTNOTIFICATIONBRANDINGOPTIONS - switch v { - case "none": - result = NONE_ENROLLMENTNOTIFICATIONBRANDINGOPTIONS - case "includeCompanyLogo": - result = INCLUDECOMPANYLOGO_ENROLLMENTNOTIFICATIONBRANDINGOPTIONS - case "includeCompanyName": - result = INCLUDECOMPANYNAME_ENROLLMENTNOTIFICATIONBRANDINGOPTIONS - case "includeContactInformation": - result = INCLUDECONTACTINFORMATION_ENROLLMENTNOTIFICATIONBRANDINGOPTIONS - case "includeCompanyPortalLink": - result = INCLUDECOMPANYPORTALLINK_ENROLLMENTNOTIFICATIONBRANDINGOPTIONS - case "includeDeviceDetails": - result = INCLUDEDEVICEDETAILS_ENROLLMENTNOTIFICATIONBRANDINGOPTIONS - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_ENROLLMENTNOTIFICATIONBRANDINGOPTIONS - default: - return 0, errors.New("Unknown EnrollmentNotificationBrandingOptions value: " + v) + var result EnrollmentNotificationBrandingOptions + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_ENROLLMENTNOTIFICATIONBRANDINGOPTIONS + case "includeCompanyLogo": + result |= INCLUDECOMPANYLOGO_ENROLLMENTNOTIFICATIONBRANDINGOPTIONS + case "includeCompanyName": + result |= INCLUDECOMPANYNAME_ENROLLMENTNOTIFICATIONBRANDINGOPTIONS + case "includeContactInformation": + result |= INCLUDECONTACTINFORMATION_ENROLLMENTNOTIFICATIONBRANDINGOPTIONS + case "includeCompanyPortalLink": + result |= INCLUDECOMPANYPORTALLINK_ENROLLMENTNOTIFICATIONBRANDINGOPTIONS + case "includeDeviceDetails": + result |= INCLUDEDEVICEDETAILS_ENROLLMENTNOTIFICATIONBRANDINGOPTIONS + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_ENROLLMENTNOTIFICATIONBRANDINGOPTIONS + default: + return 0, errors.New("Unknown EnrollmentNotificationBrandingOptions value: " + v) + } } return &result, nil } @@ -54,3 +64,6 @@ func SerializeEnrollmentNotificationBrandingOptions(values []EnrollmentNotificat } return result } +func (i EnrollmentNotificationBrandingOptions) isMultiValue() bool { + return true +} diff --git a/models/enrollment_notification_template_type.go b/models/enrollment_notification_template_type.go index f22847effcb..d413f55c68f 100644 --- a/models/enrollment_notification_template_type.go +++ b/models/enrollment_notification_template_type.go @@ -38,3 +38,6 @@ func SerializeEnrollmentNotificationTemplateType(values []EnrollmentNotification } return result } +func (i EnrollmentNotificationTemplateType) isMultiValue() bool { + return false +} diff --git a/models/enrollment_restriction_platform_type.go b/models/enrollment_restriction_platform_type.go index ed30d056b95..78581ba660b 100644 --- a/models/enrollment_restriction_platform_type.go +++ b/models/enrollment_restriction_platform_type.go @@ -62,3 +62,6 @@ func SerializeEnrollmentRestrictionPlatformType(values []EnrollmentRestrictionPl } return result } +func (i EnrollmentRestrictionPlatformType) isMultiValue() bool { + return false +} diff --git a/models/enrollment_state.go b/models/enrollment_state.go index ea128f4fb8f..b2693d3bd77 100644 --- a/models/enrollment_state.go +++ b/models/enrollment_state.go @@ -50,3 +50,6 @@ func SerializeEnrollmentState(values []EnrollmentState) []string { } return result } +func (i EnrollmentState) isMultiValue() bool { + return false +} diff --git a/models/entity.go b/models/entity.go index e3b63771c00..e5962334dba 100644 --- a/models/entity.go +++ b/models/entity.go @@ -2568,6 +2568,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewUserSignInInsight(), nil case "#microsoft.graph.userTeamwork": return NewUserTeamwork(), nil + case "#microsoft.graph.userVirtualEventsRoot": + return NewUserVirtualEventsRoot(), nil case "#microsoft.graph.verticalSection": return NewVerticalSection(), nil case "#microsoft.graph.virtualEndpoint": @@ -2740,6 +2742,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewWindowsMalwareInformation(), nil case "#microsoft.graph.windowsManagedAppProtection": return NewWindowsManagedAppProtection(), nil + case "#microsoft.graph.windowsManagedAppRegistration": + return NewWindowsManagedAppRegistration(), nil case "#microsoft.graph.windowsManagedDevice": return NewWindowsManagedDevice(), nil case "#microsoft.graph.windowsManagementApp": diff --git a/models/entity_type.go b/models/entity_type.go index 94a3efc260d..f9b251b521d 100644 --- a/models/entity_type.go +++ b/models/entity_type.go @@ -68,3 +68,6 @@ func SerializeEntityType(values []EntityType) []string { } return result } +func (i EntityType) isMultiValue() bool { + return false +} diff --git a/models/error_code.go b/models/error_code.go index c95d6bd76cd..7a363221683 100644 --- a/models/error_code.go +++ b/models/error_code.go @@ -42,3 +42,6 @@ func SerializeErrorCode(values []ErrorCode) []string { } return result } +func (i ErrorCode) isMultiValue() bool { + return false +} diff --git a/models/event_type.go b/models/event_type.go index 36995f24d02..d3c2b7e1332 100644 --- a/models/event_type.go +++ b/models/event_type.go @@ -38,3 +38,6 @@ func SerializeEventType(values []EventType) []string { } return result } +func (i EventType) isMultiValue() bool { + return false +} diff --git a/models/exchange_id_format.go b/models/exchange_id_format.go index f3aa7677f48..7c428d6da00 100644 --- a/models/exchange_id_format.go +++ b/models/exchange_id_format.go @@ -41,3 +41,6 @@ func SerializeExchangeIdFormat(values []ExchangeIdFormat) []string { } return result } +func (i ExchangeIdFormat) isMultiValue() bool { + return false +} diff --git a/models/expiration_pattern_type.go b/models/expiration_pattern_type.go index a58e1129bf3..6403160cc2f 100644 --- a/models/expiration_pattern_type.go +++ b/models/expiration_pattern_type.go @@ -38,3 +38,6 @@ func SerializeExpirationPatternType(values []ExpirationPatternType) []string { } return result } +func (i ExpirationPatternType) isMultiValue() bool { + return false +} diff --git a/models/expiration_requirement.go b/models/expiration_requirement.go index 7f0c63a8ed7..62b2e44c2f4 100644 --- a/models/expiration_requirement.go +++ b/models/expiration_requirement.go @@ -47,3 +47,6 @@ func SerializeExpirationRequirement(values []ExpirationRequirement) []string { } return result } +func (i ExpirationRequirement) isMultiValue() bool { + return false +} diff --git a/models/external_audience_scope.go b/models/external_audience_scope.go index b478470c227..f5e85332640 100644 --- a/models/external_audience_scope.go +++ b/models/external_audience_scope.go @@ -35,3 +35,6 @@ func SerializeExternalAudienceScope(values []ExternalAudienceScope) []string { } return result } +func (i ExternalAudienceScope) isMultiValue() bool { + return false +} diff --git a/models/external_authentication_type.go b/models/external_authentication_type.go index 87837402a02..ceb35d1c7ff 100644 --- a/models/external_authentication_type.go +++ b/models/external_authentication_type.go @@ -32,3 +32,6 @@ func SerializeExternalAuthenticationType(values []ExternalAuthenticationType) [] } return result } +func (i ExternalAuthenticationType) isMultiValue() bool { + return false +} diff --git a/models/external_email_otp_state.go b/models/external_email_otp_state.go index 760a9963ecd..b18d3cd4111 100644 --- a/models/external_email_otp_state.go +++ b/models/external_email_otp_state.go @@ -38,3 +38,6 @@ func SerializeExternalEmailOtpState(values []ExternalEmailOtpState) []string { } return result } +func (i ExternalEmailOtpState) isMultiValue() bool { + return false +} diff --git a/models/external_item_content_type.go b/models/external_item_content_type.go index acda509bbc6..eb8e4a6835c 100644 --- a/models/external_item_content_type.go +++ b/models/external_item_content_type.go @@ -35,3 +35,6 @@ func SerializeExternalItemContentType(values []ExternalItemContentType) []string } return result } +func (i ExternalItemContentType) isMultiValue() bool { + return false +} diff --git a/models/externalconnectors/access_type.go b/models/externalconnectors/access_type.go index 95cc930143e..40acc745979 100644 --- a/models/externalconnectors/access_type.go +++ b/models/externalconnectors/access_type.go @@ -35,3 +35,6 @@ func SerializeAccessType(values []AccessType) []string { } return result } +func (i AccessType) isMultiValue() bool { + return false +} diff --git a/models/externalconnectors/acl_type.go b/models/externalconnectors/acl_type.go index e9b4be97701..234e0508ed2 100644 --- a/models/externalconnectors/acl_type.go +++ b/models/externalconnectors/acl_type.go @@ -44,3 +44,6 @@ func SerializeAclType(values []AclType) []string { } return result } +func (i AclType) isMultiValue() bool { + return false +} diff --git a/models/externalconnectors/connection_operation_status.go b/models/externalconnectors/connection_operation_status.go index f25ee24b326..92eb7bbb7d2 100644 --- a/models/externalconnectors/connection_operation_status.go +++ b/models/externalconnectors/connection_operation_status.go @@ -41,3 +41,6 @@ func SerializeConnectionOperationStatus(values []ConnectionOperationStatus) []st } return result } +func (i ConnectionOperationStatus) isMultiValue() bool { + return false +} diff --git a/models/externalconnectors/connection_state.go b/models/externalconnectors/connection_state.go index 518a3961e5c..5a0948bb029 100644 --- a/models/externalconnectors/connection_state.go +++ b/models/externalconnectors/connection_state.go @@ -41,3 +41,6 @@ func SerializeConnectionState(values []ConnectionState) []string { } return result } +func (i ConnectionState) isMultiValue() bool { + return false +} diff --git a/models/externalconnectors/content_experience_type.go b/models/externalconnectors/content_experience_type.go index e7397b5355a..5d6a9453c89 100644 --- a/models/externalconnectors/content_experience_type.go +++ b/models/externalconnectors/content_experience_type.go @@ -1,6 +1,7 @@ package externalconnectors import ( "errors" + "strings" ) // type ContentExperienceType int @@ -12,19 +13,28 @@ const ( ) func (i ContentExperienceType) String() string { - return []string{"search", "compliance", "unknownFutureValue"}[i] + var values []string + for p := ContentExperienceType(1); p <= UNKNOWNFUTUREVALUE_CONTENTEXPERIENCETYPE; p <<= 1 { + if i&p == p { + values = append(values, []string{"search", "compliance", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseContentExperienceType(v string) (any, error) { - result := SEARCH_CONTENTEXPERIENCETYPE - switch v { - case "search": - result = SEARCH_CONTENTEXPERIENCETYPE - case "compliance": - result = COMPLIANCE_CONTENTEXPERIENCETYPE - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_CONTENTEXPERIENCETYPE - default: - return 0, errors.New("Unknown ContentExperienceType value: " + v) + var result ContentExperienceType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "search": + result |= SEARCH_CONTENTEXPERIENCETYPE + case "compliance": + result |= COMPLIANCE_CONTENTEXPERIENCETYPE + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_CONTENTEXPERIENCETYPE + default: + return 0, errors.New("Unknown ContentExperienceType value: " + v) + } } return &result, nil } @@ -35,3 +45,6 @@ func SerializeContentExperienceType(values []ContentExperienceType) []string { } return result } +func (i ContentExperienceType) isMultiValue() bool { + return true +} diff --git a/models/externalconnectors/external_activity_type.go b/models/externalconnectors/external_activity_type.go index 0f3f43d391e..215107dd9e5 100644 --- a/models/externalconnectors/external_activity_type.go +++ b/models/externalconnectors/external_activity_type.go @@ -41,3 +41,6 @@ func SerializeExternalActivityType(values []ExternalActivityType) []string { } return result } +func (i ExternalActivityType) isMultiValue() bool { + return false +} diff --git a/models/externalconnectors/external_item_content_type.go b/models/externalconnectors/external_item_content_type.go index 1b9e9226561..ef707803652 100644 --- a/models/externalconnectors/external_item_content_type.go +++ b/models/externalconnectors/external_item_content_type.go @@ -35,3 +35,6 @@ func SerializeExternalItemContentType(values []ExternalItemContentType) []string } return result } +func (i ExternalItemContentType) isMultiValue() bool { + return false +} diff --git a/models/externalconnectors/identity_source_type.go b/models/externalconnectors/identity_source_type.go index 0d00fd72017..fadb93421f0 100644 --- a/models/externalconnectors/identity_source_type.go +++ b/models/externalconnectors/identity_source_type.go @@ -35,3 +35,6 @@ func SerializeIdentitySourceType(values []IdentitySourceType) []string { } return result } +func (i IdentitySourceType) isMultiValue() bool { + return false +} diff --git a/models/externalconnectors/identity_type.go b/models/externalconnectors/identity_type.go index 089a7d0b219..f0875cc8d39 100644 --- a/models/externalconnectors/identity_type.go +++ b/models/externalconnectors/identity_type.go @@ -38,3 +38,6 @@ func SerializeIdentityType(values []IdentityType) []string { } return result } +func (i IdentityType) isMultiValue() bool { + return false +} diff --git a/models/externalconnectors/importance_score.go b/models/externalconnectors/importance_score.go index 793419367a4..a2544eafb07 100644 --- a/models/externalconnectors/importance_score.go +++ b/models/externalconnectors/importance_score.go @@ -41,3 +41,6 @@ func SerializeImportanceScore(values []ImportanceScore) []string { } return result } +func (i ImportanceScore) isMultiValue() bool { + return false +} diff --git a/models/externalconnectors/label.go b/models/externalconnectors/label.go index 0dae90ae3d1..cf5c157716f 100644 --- a/models/externalconnectors/label.go +++ b/models/externalconnectors/label.go @@ -65,3 +65,6 @@ func SerializeLabel(values []Label) []string { } return result } +func (i Label) isMultiValue() bool { + return false +} diff --git a/models/externalconnectors/property_type.go b/models/externalconnectors/property_type.go index 790b9631216..06bc679c159 100644 --- a/models/externalconnectors/property_type.go +++ b/models/externalconnectors/property_type.go @@ -56,3 +56,6 @@ func SerializePropertyType(values []PropertyType) []string { } return result } +func (i PropertyType) isMultiValue() bool { + return false +} diff --git a/models/externalconnectors/rule_operation.go b/models/externalconnectors/rule_operation.go index b75a9beaa8d..4652c77a9b6 100644 --- a/models/externalconnectors/rule_operation.go +++ b/models/externalconnectors/rule_operation.go @@ -50,3 +50,6 @@ func SerializeRuleOperation(values []RuleOperation) []string { } return result } +func (i RuleOperation) isMultiValue() bool { + return false +} diff --git a/models/feature_target_type.go b/models/feature_target_type.go index 0021225fad3..3cb0f1c8bab 100644 --- a/models/feature_target_type.go +++ b/models/feature_target_type.go @@ -38,3 +38,6 @@ func SerializeFeatureTargetType(values []FeatureTargetType) []string { } return result } +func (i FeatureTargetType) isMultiValue() bool { + return false +} diff --git a/models/feature_type.go b/models/feature_type.go index c689cc12842..af637dddba4 100644 --- a/models/feature_type.go +++ b/models/feature_type.go @@ -35,3 +35,6 @@ func SerializeFeatureType(values []FeatureType) []string { } return result } +func (i FeatureType) isMultiValue() bool { + return false +} diff --git a/models/federated_idp_mfa_behavior.go b/models/federated_idp_mfa_behavior.go index 5b43ec18598..bb39a7b40f1 100644 --- a/models/federated_idp_mfa_behavior.go +++ b/models/federated_idp_mfa_behavior.go @@ -38,3 +38,6 @@ func SerializeFederatedIdpMfaBehavior(values []FederatedIdpMfaBehavior) []string } return result } +func (i FederatedIdpMfaBehavior) isMultiValue() bool { + return false +} diff --git a/models/fido2_restriction_enforcement_type.go b/models/fido2_restriction_enforcement_type.go index 83b236112dc..c2df5ef86f5 100644 --- a/models/fido2_restriction_enforcement_type.go +++ b/models/fido2_restriction_enforcement_type.go @@ -35,3 +35,6 @@ func SerializeFido2RestrictionEnforcementType(values []Fido2RestrictionEnforceme } return result } +func (i Fido2RestrictionEnforcementType) isMultiValue() bool { + return false +} diff --git a/models/file_attachment.go b/models/file_attachment.go index 5d569a083c4..bab577fa548 100644 --- a/models/file_attachment.go +++ b/models/file_attachment.go @@ -43,7 +43,7 @@ func (m *FileAttachment) GetContentId()(*string) { } return nil } -// GetContentLocation gets the contentLocation property value. Do not use this property as it is not supported. +// GetContentLocation gets the contentLocation property value. Don't use this property as it isn't supported. func (m *FileAttachment) GetContentLocation()(*string) { val, err := m.GetBackingStore().Get("contentLocation") if err != nil { @@ -129,7 +129,7 @@ func (m *FileAttachment) SetContentId(value *string)() { panic(err) } } -// SetContentLocation sets the contentLocation property value. Do not use this property as it is not supported. +// SetContentLocation sets the contentLocation property value. Don't use this property as it isn't supported. func (m *FileAttachment) SetContentLocation(value *string)() { err := m.GetBackingStore().Set("contentLocation", value) if err != nil { diff --git a/models/file_hash_type.go b/models/file_hash_type.go index 7c1f0f37080..090148fcbaf 100644 --- a/models/file_hash_type.go +++ b/models/file_hash_type.go @@ -50,3 +50,6 @@ func SerializeFileHashType(values []FileHashType) []string { } return result } +func (i FileHashType) isMultiValue() bool { + return false +} diff --git a/models/file_vault_state.go b/models/file_vault_state.go index c9cb976c2c9..029f2daedd5 100644 --- a/models/file_vault_state.go +++ b/models/file_vault_state.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // FileVault State type FileVaultState int @@ -17,21 +18,30 @@ const ( ) func (i FileVaultState) String() string { - return []string{"success", "driveEncryptedByUser", "userDeferredEncryption", "escrowNotEnabled"}[i] + var values []string + for p := FileVaultState(1); p <= ESCROWNOTENABLED_FILEVAULTSTATE; p <<= 1 { + if i&p == p { + values = append(values, []string{"success", "driveEncryptedByUser", "userDeferredEncryption", "escrowNotEnabled"}[p]) + } + } + return strings.Join(values, ",") } func ParseFileVaultState(v string) (any, error) { - result := SUCCESS_FILEVAULTSTATE - switch v { - case "success": - result = SUCCESS_FILEVAULTSTATE - case "driveEncryptedByUser": - result = DRIVEENCRYPTEDBYUSER_FILEVAULTSTATE - case "userDeferredEncryption": - result = USERDEFERREDENCRYPTION_FILEVAULTSTATE - case "escrowNotEnabled": - result = ESCROWNOTENABLED_FILEVAULTSTATE - default: - return 0, errors.New("Unknown FileVaultState value: " + v) + var result FileVaultState + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "success": + result |= SUCCESS_FILEVAULTSTATE + case "driveEncryptedByUser": + result |= DRIVEENCRYPTEDBYUSER_FILEVAULTSTATE + case "userDeferredEncryption": + result |= USERDEFERREDENCRYPTION_FILEVAULTSTATE + case "escrowNotEnabled": + result |= ESCROWNOTENABLED_FILEVAULTSTATE + default: + return 0, errors.New("Unknown FileVaultState value: " + v) + } } return &result, nil } @@ -42,3 +52,6 @@ func SerializeFileVaultState(values []FileVaultState) []string { } return result } +func (i FileVaultState) isMultiValue() bool { + return true +} diff --git a/models/filter_mode.go b/models/filter_mode.go index 078ca058285..f5be7c44f45 100644 --- a/models/filter_mode.go +++ b/models/filter_mode.go @@ -32,3 +32,6 @@ func SerializeFilterMode(values []FilterMode) []string { } return result } +func (i FilterMode) isMultiValue() bool { + return false +} diff --git a/models/firewall_certificate_revocation_list_check_method_type.go b/models/firewall_certificate_revocation_list_check_method_type.go index a989c373a0a..1a5f1c6e133 100644 --- a/models/firewall_certificate_revocation_list_check_method_type.go +++ b/models/firewall_certificate_revocation_list_check_method_type.go @@ -42,3 +42,6 @@ func SerializeFirewallCertificateRevocationListCheckMethodType(values []Firewall } return result } +func (i FirewallCertificateRevocationListCheckMethodType) isMultiValue() bool { + return false +} diff --git a/models/firewall_packet_queueing_method_type.go b/models/firewall_packet_queueing_method_type.go index 2e660375561..b0ca28b1d84 100644 --- a/models/firewall_packet_queueing_method_type.go +++ b/models/firewall_packet_queueing_method_type.go @@ -46,3 +46,6 @@ func SerializeFirewallPacketQueueingMethodType(values []FirewallPacketQueueingMe } return result } +func (i FirewallPacketQueueingMethodType) isMultiValue() bool { + return false +} diff --git a/models/firewall_pre_shared_key_encoding_method_type.go b/models/firewall_pre_shared_key_encoding_method_type.go index 0c86dfd7d20..b5f151364ef 100644 --- a/models/firewall_pre_shared_key_encoding_method_type.go +++ b/models/firewall_pre_shared_key_encoding_method_type.go @@ -38,3 +38,6 @@ func SerializeFirewallPreSharedKeyEncodingMethodType(values []FirewallPreSharedK } return result } +func (i FirewallPreSharedKeyEncodingMethodType) isMultiValue() bool { + return false +} diff --git a/models/firmware_protection_type.go b/models/firmware_protection_type.go new file mode 100644 index 00000000000..ae581926be4 --- /dev/null +++ b/models/firmware_protection_type.go @@ -0,0 +1,51 @@ +package models +import ( + "errors" +) +// A list of possible Firmware protection type for a device. Firmware protection is a set of features that helps to ensure attackers can't get your device to start with untrusted or malicious firmware. Firmware protection type is determined by report sent from Microsoft Azure Attestation service. Only Windows 11 devices will have values "systemGuardSecureLaunch" or "firmwareAttackSurfaceReduction" or "disabled". Windows 10 devices will have value "notApplicable". +type FirmwareProtectionType int + +const ( + // Indicates that the device is not a Windows 11 device. + NOTAPPLICABLE_FIRMWAREPROTECTIONTYPE FirmwareProtectionType = iota + // Indicates that System Guard Secure Launch is enabled for Firmware protection. + SYSTEMGUARDSECURELAUNCH_FIRMWAREPROTECTIONTYPE + // Indicates that Firmware Attack Surface Reduction is enabled for Firmware protection. This is only applicable to Surface devices. + FIRMWAREATTACKSURFACEREDUCTION_FIRMWAREPROTECTIONTYPE + // Indicates that the device has Firmware protection disabled. + DISABLED_FIRMWAREPROTECTIONTYPE + // Evolvable enumeration sentinel value. Do not use. + UNKNOWNFUTUREVALUE_FIRMWAREPROTECTIONTYPE +) + +func (i FirmwareProtectionType) String() string { + return []string{"notApplicable", "systemGuardSecureLaunch", "firmwareAttackSurfaceReduction", "disabled", "unknownFutureValue"}[i] +} +func ParseFirmwareProtectionType(v string) (any, error) { + result := NOTAPPLICABLE_FIRMWAREPROTECTIONTYPE + switch v { + case "notApplicable": + result = NOTAPPLICABLE_FIRMWAREPROTECTIONTYPE + case "systemGuardSecureLaunch": + result = SYSTEMGUARDSECURELAUNCH_FIRMWAREPROTECTIONTYPE + case "firmwareAttackSurfaceReduction": + result = FIRMWAREATTACKSURFACEREDUCTION_FIRMWAREPROTECTIONTYPE + case "disabled": + result = DISABLED_FIRMWAREPROTECTIONTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_FIRMWAREPROTECTIONTYPE + default: + return 0, errors.New("Unknown FirmwareProtectionType value: " + v) + } + return &result, nil +} +func SerializeFirmwareProtectionType(values []FirmwareProtectionType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i FirmwareProtectionType) isMultiValue() bool { + return false +} diff --git a/models/folder_protection_type.go b/models/folder_protection_type.go index 851dc85c1f3..509b5b958e9 100644 --- a/models/folder_protection_type.go +++ b/models/folder_protection_type.go @@ -46,3 +46,6 @@ func SerializeFolderProtectionType(values []FolderProtectionType) []string { } return result } +func (i FolderProtectionType) isMultiValue() bool { + return false +} diff --git a/models/followup_flag.go b/models/followup_flag.go index 3a3fad4118b..29083739da5 100644 --- a/models/followup_flag.go +++ b/models/followup_flag.go @@ -49,7 +49,7 @@ func (m *FollowupFlag) GetCompletedDateTime()(DateTimeTimeZoneable) { } return nil } -// GetDueDateTime gets the dueDateTime property value. The date and time that the follow up is to be finished. Note: To set the due date, you must also specify the startDateTime; otherwise, you will get a 400 Bad Request response. +// GetDueDateTime gets the dueDateTime property value. The date and time that the follow-up is to be finished. Note: To set the due date, you must also specify the startDateTime; otherwise, you get a 400 Bad Request response. func (m *FollowupFlag) GetDueDateTime()(DateTimeTimeZoneable) { val, err := m.GetBackingStore().Get("dueDateTime") if err != nil { @@ -207,7 +207,7 @@ func (m *FollowupFlag) SetCompletedDateTime(value DateTimeTimeZoneable)() { panic(err) } } -// SetDueDateTime sets the dueDateTime property value. The date and time that the follow up is to be finished. Note: To set the due date, you must also specify the startDateTime; otherwise, you will get a 400 Bad Request response. +// SetDueDateTime sets the dueDateTime property value. The date and time that the follow-up is to be finished. Note: To set the due date, you must also specify the startDateTime; otherwise, you get a 400 Bad Request response. func (m *FollowupFlag) SetDueDateTime(value DateTimeTimeZoneable)() { err := m.GetBackingStore().Set("dueDateTime", value) if err != nil { diff --git a/models/followup_flag_status.go b/models/followup_flag_status.go index 5a738b3adcd..516ab3147d4 100644 --- a/models/followup_flag_status.go +++ b/models/followup_flag_status.go @@ -35,3 +35,6 @@ func SerializeFollowupFlagStatus(values []FollowupFlagStatus) []string { } return result } +func (i FollowupFlagStatus) isMultiValue() bool { + return false +} diff --git a/models/free_busy_status.go b/models/free_busy_status.go index 08346668e13..94502d129ea 100644 --- a/models/free_busy_status.go +++ b/models/free_busy_status.go @@ -44,3 +44,6 @@ func SerializeFreeBusyStatus(values []FreeBusyStatus) []string { } return result } +func (i FreeBusyStatus) isMultiValue() bool { + return false +} diff --git a/models/giphy_rating_type.go b/models/giphy_rating_type.go index 42e149fb79f..84d3c82d9ad 100644 --- a/models/giphy_rating_type.go +++ b/models/giphy_rating_type.go @@ -35,3 +35,6 @@ func SerializeGiphyRatingType(values []GiphyRatingType) []string { } return result } +func (i GiphyRatingType) isMultiValue() bool { + return false +} diff --git a/models/global_device_health_script_state.go b/models/global_device_health_script_state.go index 97c86d12339..74a667f6a6b 100644 --- a/models/global_device_health_script_state.go +++ b/models/global_device_health_script_state.go @@ -38,3 +38,6 @@ func SerializeGlobalDeviceHealthScriptState(values []GlobalDeviceHealthScriptSta } return result } +func (i GlobalDeviceHealthScriptState) isMultiValue() bool { + return false +} diff --git a/models/governance_resource.go b/models/governance_resource.go index 0e4181389ee..612deb7c71d 100644 --- a/models/governance_resource.go +++ b/models/governance_resource.go @@ -236,7 +236,7 @@ func (m *GovernanceResource) GetRoleAssignments()([]GovernanceRoleAssignmentable } return nil } -// GetRoleDefinitions gets the roleDefinitions property value. The collection of role defintions for the resource. +// GetRoleDefinitions gets the roleDefinitions property value. The collection of role definitions for the resource. func (m *GovernanceResource) GetRoleDefinitions()([]GovernanceRoleDefinitionable) { val, err := m.GetBackingStore().Get("roleDefinitions") if err != nil { @@ -427,7 +427,7 @@ func (m *GovernanceResource) SetRoleAssignments(value []GovernanceRoleAssignment panic(err) } } -// SetRoleDefinitions sets the roleDefinitions property value. The collection of role defintions for the resource. +// SetRoleDefinitions sets the roleDefinitions property value. The collection of role definitions for the resource. func (m *GovernanceResource) SetRoleDefinitions(value []GovernanceRoleDefinitionable)() { err := m.GetBackingStore().Set("roleDefinitions", value) if err != nil { diff --git a/models/group.go b/models/group.go index 6fd5d8eb0ce..2b25c590af9 100644 --- a/models/group.go +++ b/models/group.go @@ -187,7 +187,7 @@ func (m *Group) GetDescription()(*string) { } return nil } -// GetDisplayName gets the displayName property value. The display name for the group. Required. Maximum length is 256 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. +// GetDisplayName gets the displayName property value. The display name for the group. Required. Maximum length is 256 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. func (m *Group) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") if err != nil { @@ -2631,7 +2631,7 @@ func (m *Group) SetDescription(value *string)() { panic(err) } } -// SetDisplayName sets the displayName property value. The display name for the group. Required. Maximum length is 256 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. +// SetDisplayName sets the displayName property value. The display name for the group. Required. Maximum length is 256 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. func (m *Group) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { diff --git a/models/group_access_type.go b/models/group_access_type.go index 879627d64ab..7643788cc9c 100644 --- a/models/group_access_type.go +++ b/models/group_access_type.go @@ -38,3 +38,6 @@ func SerializeGroupAccessType(values []GroupAccessType) []string { } return result } +func (i GroupAccessType) isMultiValue() bool { + return false +} diff --git a/models/group_policy_configuration_ingestion_type.go b/models/group_policy_configuration_ingestion_type.go index cbe244bb43b..cbec6b546df 100644 --- a/models/group_policy_configuration_ingestion_type.go +++ b/models/group_policy_configuration_ingestion_type.go @@ -46,3 +46,6 @@ func SerializeGroupPolicyConfigurationIngestionType(values []GroupPolicyConfigur } return result } +func (i GroupPolicyConfigurationIngestionType) isMultiValue() bool { + return false +} diff --git a/models/group_policy_configuration_type.go b/models/group_policy_configuration_type.go index d626fe853e6..fc4dba50b2a 100644 --- a/models/group_policy_configuration_type.go +++ b/models/group_policy_configuration_type.go @@ -34,3 +34,6 @@ func SerializeGroupPolicyConfigurationType(values []GroupPolicyConfigurationType } return result } +func (i GroupPolicyConfigurationType) isMultiValue() bool { + return false +} diff --git a/models/group_policy_definition_class_type.go b/models/group_policy_definition_class_type.go index 7bc2ccfbc01..ffdd29178bc 100644 --- a/models/group_policy_definition_class_type.go +++ b/models/group_policy_definition_class_type.go @@ -34,3 +34,6 @@ func SerializeGroupPolicyDefinitionClassType(values []GroupPolicyDefinitionClass } return result } +func (i GroupPolicyDefinitionClassType) isMultiValue() bool { + return false +} diff --git a/models/group_policy_migration_readiness.go b/models/group_policy_migration_readiness.go index 974714b538d..25702d60af9 100644 --- a/models/group_policy_migration_readiness.go +++ b/models/group_policy_migration_readiness.go @@ -46,3 +46,6 @@ func SerializeGroupPolicyMigrationReadiness(values []GroupPolicyMigrationReadine } return result } +func (i GroupPolicyMigrationReadiness) isMultiValue() bool { + return false +} diff --git a/models/group_policy_operation_status.go b/models/group_policy_operation_status.go index 67cfc58106c..10d196d0489 100644 --- a/models/group_policy_operation_status.go +++ b/models/group_policy_operation_status.go @@ -42,3 +42,6 @@ func SerializeGroupPolicyOperationStatus(values []GroupPolicyOperationStatus) [] } return result } +func (i GroupPolicyOperationStatus) isMultiValue() bool { + return false +} diff --git a/models/group_policy_operation_type.go b/models/group_policy_operation_type.go index 050eb80f2a7..44181751101 100644 --- a/models/group_policy_operation_type.go +++ b/models/group_policy_operation_type.go @@ -54,3 +54,6 @@ func SerializeGroupPolicyOperationType(values []GroupPolicyOperationType) []stri } return result } +func (i GroupPolicyOperationType) isMultiValue() bool { + return false +} diff --git a/models/group_policy_setting_scope.go b/models/group_policy_setting_scope.go index 60cd2b84e44..b9ab943d90c 100644 --- a/models/group_policy_setting_scope.go +++ b/models/group_policy_setting_scope.go @@ -38,3 +38,6 @@ func SerializeGroupPolicySettingScope(values []GroupPolicySettingScope) []string } return result } +func (i GroupPolicySettingScope) isMultiValue() bool { + return false +} diff --git a/models/group_policy_setting_type.go b/models/group_policy_setting_type.go index 9d797495214..e84d323b515 100644 --- a/models/group_policy_setting_type.go +++ b/models/group_policy_setting_type.go @@ -138,3 +138,6 @@ func SerializeGroupPolicySettingType(values []GroupPolicySettingType) []string { } return result } +func (i GroupPolicySettingType) isMultiValue() bool { + return false +} diff --git a/models/group_policy_type.go b/models/group_policy_type.go index aeaee1b14d8..24653bcd51e 100644 --- a/models/group_policy_type.go +++ b/models/group_policy_type.go @@ -34,3 +34,6 @@ func SerializeGroupPolicyType(values []GroupPolicyType) []string { } return result } +func (i GroupPolicyType) isMultiValue() bool { + return false +} diff --git a/models/group_policy_uploaded_definition_file_status.go b/models/group_policy_uploaded_definition_file_status.go index 2ebc820cd5c..bd1c6c6864a 100644 --- a/models/group_policy_uploaded_definition_file_status.go +++ b/models/group_policy_uploaded_definition_file_status.go @@ -54,3 +54,6 @@ func SerializeGroupPolicyUploadedDefinitionFileStatus(values []GroupPolicyUpload } return result } +func (i GroupPolicyUploadedDefinitionFileStatus) isMultiValue() bool { + return false +} diff --git a/models/group_privacy.go b/models/group_privacy.go index b88949a9bc6..ba1048a8ff7 100644 --- a/models/group_privacy.go +++ b/models/group_privacy.go @@ -38,3 +38,6 @@ func SerializeGroupPrivacy(values []GroupPrivacy) []string { } return result } +func (i GroupPrivacy) isMultiValue() bool { + return false +} diff --git a/models/group_type.go b/models/group_type.go index 25f85009ab5..6d340a54f67 100644 --- a/models/group_type.go +++ b/models/group_type.go @@ -35,3 +35,6 @@ func SerializeGroupType(values []GroupType) []string { } return result } +func (i GroupType) isMultiValue() bool { + return false +} diff --git a/models/group_writeback_configuration.go b/models/group_writeback_configuration.go index 13439415099..89ff8442418 100644 --- a/models/group_writeback_configuration.go +++ b/models/group_writeback_configuration.go @@ -34,7 +34,7 @@ func (m *GroupWritebackConfiguration) GetFieldDeserializers()(map[string]func(i8 } return res } -// GetOnPremisesGroupType gets the onPremisesGroupType property value. Indicates the target on-premise group type the cloud object will be written back as. Nullable. The possible values are: universalDistributionGroup, universalSecurityGroup, universalMailEnabledSecurityGroup.If the cloud group is a unified (Microsoft 365) group, this property can be one of the following: universalDistributionGroup, universalSecurityGroup, universalMailEnabledSecurityGroup. Azure AD security groups can be written back as universalSecurityGroup. If isEnabled or the NewUnifiedGroupWritebackDefault group setting is true but this property is not explicitly configured: Microsoft 365 groups will be written back as universalDistributionGroup by defaultSecurity groups will be written back as universalSecurityGroup by default +// GetOnPremisesGroupType gets the onPremisesGroupType property value. Indicates the target on-premises group type the cloud object is written back as. Nullable. The possible values are: universalDistributionGroup, universalSecurityGroup, universalMailEnabledSecurityGroup.If the cloud group is a unified (Microsoft 365) group, this property can be one of the following: universalDistributionGroup, universalSecurityGroup, universalMailEnabledSecurityGroup. Azure AD security groups can be written back as universalSecurityGroup. If isEnabled or the NewUnifiedGroupWritebackDefault group setting is true but this property isn't explicitly configured: Microsoft 365 groups are written back as universalDistributionGroup by defaultSecurity groups are written back as universalSecurityGroup by default func (m *GroupWritebackConfiguration) GetOnPremisesGroupType()(*string) { val, err := m.GetBackingStore().Get("onPremisesGroupType") if err != nil { @@ -59,7 +59,7 @@ func (m *GroupWritebackConfiguration) Serialize(writer i878a80d2330e89d26896388a } return nil } -// SetOnPremisesGroupType sets the onPremisesGroupType property value. Indicates the target on-premise group type the cloud object will be written back as. Nullable. The possible values are: universalDistributionGroup, universalSecurityGroup, universalMailEnabledSecurityGroup.If the cloud group is a unified (Microsoft 365) group, this property can be one of the following: universalDistributionGroup, universalSecurityGroup, universalMailEnabledSecurityGroup. Azure AD security groups can be written back as universalSecurityGroup. If isEnabled or the NewUnifiedGroupWritebackDefault group setting is true but this property is not explicitly configured: Microsoft 365 groups will be written back as universalDistributionGroup by defaultSecurity groups will be written back as universalSecurityGroup by default +// SetOnPremisesGroupType sets the onPremisesGroupType property value. Indicates the target on-premises group type the cloud object is written back as. Nullable. The possible values are: universalDistributionGroup, universalSecurityGroup, universalMailEnabledSecurityGroup.If the cloud group is a unified (Microsoft 365) group, this property can be one of the following: universalDistributionGroup, universalSecurityGroup, universalMailEnabledSecurityGroup. Azure AD security groups can be written back as universalSecurityGroup. If isEnabled or the NewUnifiedGroupWritebackDefault group setting is true but this property isn't explicitly configured: Microsoft 365 groups are written back as universalDistributionGroup by defaultSecurity groups are written back as universalSecurityGroup by default func (m *GroupWritebackConfiguration) SetOnPremisesGroupType(value *string)() { err := m.GetBackingStore().Set("onPremisesGroupType", value) if err != nil { diff --git a/models/hash_algorithms.go b/models/hash_algorithms.go index d19aad27643..dea4637b4af 100644 --- a/models/hash_algorithms.go +++ b/models/hash_algorithms.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Hash Algorithm Options. type HashAlgorithms int @@ -13,17 +14,26 @@ const ( ) func (i HashAlgorithms) String() string { - return []string{"sha1", "sha2"}[i] + var values []string + for p := HashAlgorithms(1); p <= SHA2_HASHALGORITHMS; p <<= 1 { + if i&p == p { + values = append(values, []string{"sha1", "sha2"}[p]) + } + } + return strings.Join(values, ",") } func ParseHashAlgorithms(v string) (any, error) { - result := SHA1_HASHALGORITHMS - switch v { - case "sha1": - result = SHA1_HASHALGORITHMS - case "sha2": - result = SHA2_HASHALGORITHMS - default: - return 0, errors.New("Unknown HashAlgorithms value: " + v) + var result HashAlgorithms + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "sha1": + result |= SHA1_HASHALGORITHMS + case "sha2": + result |= SHA2_HASHALGORITHMS + default: + return 0, errors.New("Unknown HashAlgorithms value: " + v) + } } return &result, nil } @@ -34,3 +44,6 @@ func SerializeHashAlgorithms(values []HashAlgorithms) []string { } return result } +func (i HashAlgorithms) isMultiValue() bool { + return true +} diff --git a/models/health_state.go b/models/health_state.go index 7caa278e14d..6e08c6968af 100644 --- a/models/health_state.go +++ b/models/health_state.go @@ -38,3 +38,6 @@ func SerializeHealthState(values []HealthState) []string { } return result } +func (i HealthState) isMultiValue() bool { + return false +} diff --git a/models/horizontal_section_layout_type.go b/models/horizontal_section_layout_type.go index da21e6ef482..52c4432ca41 100644 --- a/models/horizontal_section_layout_type.go +++ b/models/horizontal_section_layout_type.go @@ -50,3 +50,6 @@ func SerializeHorizontalSectionLayoutType(values []HorizontalSectionLayoutType) } return result } +func (i HorizontalSectionLayoutType) isMultiValue() bool { + return false +} diff --git a/models/host_security_state.go b/models/host_security_state.go index 612431d373b..0b8695f1720 100644 --- a/models/host_security_state.go +++ b/models/host_security_state.go @@ -209,7 +209,7 @@ func (m *HostSecurityState) GetOdataType()(*string) { } return nil } -// GetOs gets the os property value. Host Operating System. (For example, Windows10, MacOS, RHEL, etc.). +// GetOs gets the os property value. Host Operating System. (For example, Windows 10, macOS, RHEL, etc.). func (m *HostSecurityState) GetOs()(*string) { val, err := m.GetBackingStore().Get("os") if err != nil { @@ -376,7 +376,7 @@ func (m *HostSecurityState) SetOdataType(value *string)() { panic(err) } } -// SetOs sets the os property value. Host Operating System. (For example, Windows10, MacOS, RHEL, etc.). +// SetOs sets the os property value. Host Operating System. (For example, Windows 10, macOS, RHEL, etc.). func (m *HostSecurityState) SetOs(value *string)() { err := m.GetBackingStore().Set("os", value) if err != nil { diff --git a/models/i_tunes_pairing_mode.go b/models/i_tunes_pairing_mode.go index 8b23b1c32e9..11b9a537c95 100644 --- a/models/i_tunes_pairing_mode.go +++ b/models/i_tunes_pairing_mode.go @@ -38,3 +38,6 @@ func SerializeITunesPairingMode(values []ITunesPairingMode) []string { } return result } +func (i ITunesPairingMode) isMultiValue() bool { + return false +} diff --git a/models/identity_provider_state.go b/models/identity_provider_state.go index b41c136f6c8..5e06c4eb356 100644 --- a/models/identity_provider_state.go +++ b/models/identity_provider_state.go @@ -35,3 +35,6 @@ func SerializeIdentityProviderState(values []IdentityProviderState) []string { } return result } +func (i IdentityProviderState) isMultiValue() bool { + return false +} diff --git a/models/identity_set.go b/models/identity_set.go index 643b223a839..020c6644c2e 100644 --- a/models/identity_set.go +++ b/models/identity_set.go @@ -60,7 +60,7 @@ func (m *IdentitySet) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetApplication gets the application property value. Optional. The application associated with this action. +// GetApplication gets the application property value. The Identity of the Application. This property is read-only. func (m *IdentitySet) GetApplication()(Identityable) { val, err := m.GetBackingStore().Get("application") if err != nil { @@ -75,7 +75,7 @@ func (m *IdentitySet) GetApplication()(Identityable) { func (m *IdentitySet) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDevice gets the device property value. Optional. The device associated with this action. +// GetDevice gets the device property value. The Identity of the Device. This property is read-only. func (m *IdentitySet) GetDevice()(Identityable) { val, err := m.GetBackingStore().Get("device") if err != nil { @@ -142,7 +142,7 @@ func (m *IdentitySet) GetOdataType()(*string) { } return nil } -// GetUser gets the user property value. Optional. The user associated with this action. +// GetUser gets the user property value. The Identity of the User. This property is read-only. func (m *IdentitySet) GetUser()(Identityable) { val, err := m.GetBackingStore().Get("user") if err != nil { @@ -194,7 +194,7 @@ func (m *IdentitySet) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetApplication sets the application property value. Optional. The application associated with this action. +// SetApplication sets the application property value. The Identity of the Application. This property is read-only. func (m *IdentitySet) SetApplication(value Identityable)() { err := m.GetBackingStore().Set("application", value) if err != nil { @@ -205,7 +205,7 @@ func (m *IdentitySet) SetApplication(value Identityable)() { func (m *IdentitySet) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDevice sets the device property value. Optional. The device associated with this action. +// SetDevice sets the device property value. The Identity of the Device. This property is read-only. func (m *IdentitySet) SetDevice(value Identityable)() { err := m.GetBackingStore().Set("device", value) if err != nil { @@ -219,7 +219,7 @@ func (m *IdentitySet) SetOdataType(value *string)() { panic(err) } } -// SetUser sets the user property value. Optional. The user associated with this action. +// SetUser sets the user property value. The Identity of the User. This property is read-only. func (m *IdentitySet) SetUser(value Identityable)() { err := m.GetBackingStore().Set("user", value) if err != nil { diff --git a/models/identity_source_type.go b/models/identity_source_type.go index c6dcdd4bc55..24669d4280b 100644 --- a/models/identity_source_type.go +++ b/models/identity_source_type.go @@ -32,3 +32,6 @@ func SerializeIdentitySourceType(values []IdentitySourceType) []string { } return result } +func (i IdentitySourceType) isMultiValue() bool { + return false +} diff --git a/models/identity_user_flow_attribute_data_type.go b/models/identity_user_flow_attribute_data_type.go index 16e8fe5ab92..ff51a740fda 100644 --- a/models/identity_user_flow_attribute_data_type.go +++ b/models/identity_user_flow_attribute_data_type.go @@ -44,3 +44,6 @@ func SerializeIdentityUserFlowAttributeDataType(values []IdentityUserFlowAttribu } return result } +func (i IdentityUserFlowAttributeDataType) isMultiValue() bool { + return false +} diff --git a/models/identity_user_flow_attribute_input_type.go b/models/identity_user_flow_attribute_input_type.go index 28358e6a857..f020b6fb5be 100644 --- a/models/identity_user_flow_attribute_input_type.go +++ b/models/identity_user_flow_attribute_input_type.go @@ -44,3 +44,6 @@ func SerializeIdentityUserFlowAttributeInputType(values []IdentityUserFlowAttrib } return result } +func (i IdentityUserFlowAttributeInputType) isMultiValue() bool { + return false +} diff --git a/models/identity_user_flow_attribute_type.go b/models/identity_user_flow_attribute_type.go index 3b31963b885..aade52cbf78 100644 --- a/models/identity_user_flow_attribute_type.go +++ b/models/identity_user_flow_attribute_type.go @@ -38,3 +38,6 @@ func SerializeIdentityUserFlowAttributeType(values []IdentityUserFlowAttributeTy } return result } +func (i IdentityUserFlowAttributeType) isMultiValue() bool { + return false +} diff --git a/models/identitygovernance/custom_task_extension_operation_status.go b/models/identitygovernance/custom_task_extension_operation_status.go index fcfe53f7194..9146b7f4f4f 100644 --- a/models/identitygovernance/custom_task_extension_operation_status.go +++ b/models/identitygovernance/custom_task_extension_operation_status.go @@ -35,3 +35,6 @@ func SerializeCustomTaskExtensionOperationStatus(values []CustomTaskExtensionOpe } return result } +func (i CustomTaskExtensionOperationStatus) isMultiValue() bool { + return false +} diff --git a/models/identitygovernance/lifecycle_task_category.go b/models/identitygovernance/lifecycle_task_category.go index 0fd4582b7b2..4c95e39b85d 100644 --- a/models/identitygovernance/lifecycle_task_category.go +++ b/models/identitygovernance/lifecycle_task_category.go @@ -1,6 +1,7 @@ package identitygovernance import ( "errors" + "strings" ) // type LifecycleTaskCategory int @@ -13,21 +14,30 @@ const ( ) func (i LifecycleTaskCategory) String() string { - return []string{"joiner", "leaver", "unknownFutureValue", "mover"}[i] + var values []string + for p := LifecycleTaskCategory(1); p <= MOVER_LIFECYCLETASKCATEGORY; p <<= 1 { + if i&p == p { + values = append(values, []string{"joiner", "leaver", "unknownFutureValue", "mover"}[p]) + } + } + return strings.Join(values, ",") } func ParseLifecycleTaskCategory(v string) (any, error) { - result := JOINER_LIFECYCLETASKCATEGORY - switch v { - case "joiner": - result = JOINER_LIFECYCLETASKCATEGORY - case "leaver": - result = LEAVER_LIFECYCLETASKCATEGORY - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_LIFECYCLETASKCATEGORY - case "mover": - result = MOVER_LIFECYCLETASKCATEGORY - default: - return 0, errors.New("Unknown LifecycleTaskCategory value: " + v) + var result LifecycleTaskCategory + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "joiner": + result |= JOINER_LIFECYCLETASKCATEGORY + case "leaver": + result |= LEAVER_LIFECYCLETASKCATEGORY + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_LIFECYCLETASKCATEGORY + case "mover": + result |= MOVER_LIFECYCLETASKCATEGORY + default: + return 0, errors.New("Unknown LifecycleTaskCategory value: " + v) + } } return &result, nil } @@ -38,3 +48,6 @@ func SerializeLifecycleTaskCategory(values []LifecycleTaskCategory) []string { } return result } +func (i LifecycleTaskCategory) isMultiValue() bool { + return true +} diff --git a/models/identitygovernance/lifecycle_workflow_category.go b/models/identitygovernance/lifecycle_workflow_category.go index b872c366c72..6bbfa3d93be 100644 --- a/models/identitygovernance/lifecycle_workflow_category.go +++ b/models/identitygovernance/lifecycle_workflow_category.go @@ -38,3 +38,6 @@ func SerializeLifecycleWorkflowCategory(values []LifecycleWorkflowCategory) []st } return result } +func (i LifecycleWorkflowCategory) isMultiValue() bool { + return false +} diff --git a/models/identitygovernance/lifecycle_workflow_processing_status.go b/models/identitygovernance/lifecycle_workflow_processing_status.go index 451a96c909a..77d5751365d 100644 --- a/models/identitygovernance/lifecycle_workflow_processing_status.go +++ b/models/identitygovernance/lifecycle_workflow_processing_status.go @@ -47,3 +47,6 @@ func SerializeLifecycleWorkflowProcessingStatus(values []LifecycleWorkflowProces } return result } +func (i LifecycleWorkflowProcessingStatus) isMultiValue() bool { + return false +} diff --git a/models/identitygovernance/value_type.go b/models/identitygovernance/value_type.go index 5f54f7d038f..3d67b17ea5e 100644 --- a/models/identitygovernance/value_type.go +++ b/models/identitygovernance/value_type.go @@ -41,3 +41,6 @@ func SerializeValueType(values []ValueType) []string { } return result } +func (i ValueType) isMultiValue() bool { + return false +} diff --git a/models/identitygovernance/workflow.go b/models/identitygovernance/workflow.go index ebf2457b4ed..af35ca10554 100644 --- a/models/identitygovernance/workflow.go +++ b/models/identitygovernance/workflow.go @@ -180,7 +180,7 @@ func (m *Workflow) GetId()(*string) { } return nil } -// GetNextScheduleRunDateTime gets the nextScheduleRunDateTime property value. The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderBy. +// GetNextScheduleRunDateTime gets the nextScheduleRunDateTime property value. The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderby. func (m *Workflow) GetNextScheduleRunDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("nextScheduleRunDateTime") if err != nil { @@ -359,7 +359,7 @@ func (m *Workflow) SetId(value *string)() { panic(err) } } -// SetNextScheduleRunDateTime sets the nextScheduleRunDateTime property value. The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderBy. +// SetNextScheduleRunDateTime sets the nextScheduleRunDateTime property value. The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderby. func (m *Workflow) SetNextScheduleRunDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("nextScheduleRunDateTime", value) if err != nil { diff --git a/models/identitygovernance/workflow_base.go b/models/identitygovernance/workflow_base.go index fcf6559338d..464ce6983f6 100644 --- a/models/identitygovernance/workflow_base.go +++ b/models/identitygovernance/workflow_base.go @@ -257,7 +257,7 @@ func (m *WorkflowBase) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2 } return res } -// GetIsEnabled gets the isEnabled property value. Whether the workflow is enabled or disabled. If this setting is true, the workflow can be run on demand or on schedule when isSchedulingEnabled is true. +// GetIsEnabled gets the isEnabled property value. Determines whether the workflow is enabled or disabled. If this setting is true, the workflow can be run on demand or on schedule when isSchedulingEnabled is true. func (m *WorkflowBase) GetIsEnabled()(*bool) { val, err := m.GetBackingStore().Get("isEnabled") if err != nil { @@ -268,7 +268,7 @@ func (m *WorkflowBase) GetIsEnabled()(*bool) { } return nil } -// GetIsSchedulingEnabled gets the isSchedulingEnabled property value. If true, the Lifecycle Workflow engine executes the workflow based on the schedule defined by tenant settings. Cannot be true for a disabled workflow (where isEnabled is false). +// GetIsSchedulingEnabled gets the isSchedulingEnabled property value. If true, the Lifecycle Workflow engine executes the workflow based on the schedule defined by tenant settings. Can't be true for a disabled workflow (where isEnabled is false). func (m *WorkflowBase) GetIsSchedulingEnabled()(*bool) { val, err := m.GetBackingStore().Get("isSchedulingEnabled") if err != nil { @@ -465,14 +465,14 @@ func (m *WorkflowBase) SetExecutionConditions(value WorkflowExecutionConditionsa panic(err) } } -// SetIsEnabled sets the isEnabled property value. Whether the workflow is enabled or disabled. If this setting is true, the workflow can be run on demand or on schedule when isSchedulingEnabled is true. +// SetIsEnabled sets the isEnabled property value. Determines whether the workflow is enabled or disabled. If this setting is true, the workflow can be run on demand or on schedule when isSchedulingEnabled is true. func (m *WorkflowBase) SetIsEnabled(value *bool)() { err := m.GetBackingStore().Set("isEnabled", value) if err != nil { panic(err) } } -// SetIsSchedulingEnabled sets the isSchedulingEnabled property value. If true, the Lifecycle Workflow engine executes the workflow based on the schedule defined by tenant settings. Cannot be true for a disabled workflow (where isEnabled is false). +// SetIsSchedulingEnabled sets the isSchedulingEnabled property value. If true, the Lifecycle Workflow engine executes the workflow based on the schedule defined by tenant settings. Can't be true for a disabled workflow (where isEnabled is false). func (m *WorkflowBase) SetIsSchedulingEnabled(value *bool)() { err := m.GetBackingStore().Set("isSchedulingEnabled", value) if err != nil { diff --git a/models/identitygovernance/workflow_execution_type.go b/models/identitygovernance/workflow_execution_type.go index 2bd79727140..645823083ba 100644 --- a/models/identitygovernance/workflow_execution_type.go +++ b/models/identitygovernance/workflow_execution_type.go @@ -35,3 +35,6 @@ func SerializeWorkflowExecutionType(values []WorkflowExecutionType) []string { } return result } +func (i WorkflowExecutionType) isMultiValue() bool { + return false +} diff --git a/models/identitygovernance/workflow_trigger_time_based_attribute.go b/models/identitygovernance/workflow_trigger_time_based_attribute.go index d3dfb998c04..ec0f8a6299e 100644 --- a/models/identitygovernance/workflow_trigger_time_based_attribute.go +++ b/models/identitygovernance/workflow_trigger_time_based_attribute.go @@ -38,3 +38,6 @@ func SerializeWorkflowTriggerTimeBasedAttribute(values []WorkflowTriggerTimeBase } return result } +func (i WorkflowTriggerTimeBasedAttribute) isMultiValue() bool { + return false +} diff --git a/models/image_tagging_choice.go b/models/image_tagging_choice.go index 8dcfd6824a7..ff8e402bdee 100644 --- a/models/image_tagging_choice.go +++ b/models/image_tagging_choice.go @@ -38,3 +38,6 @@ func SerializeImageTaggingChoice(values []ImageTaggingChoice) []string { } return result } +func (i ImageTaggingChoice) isMultiValue() bool { + return false +} diff --git a/models/importance.go b/models/importance.go index 81a0186f261..67acdab06b6 100644 --- a/models/importance.go +++ b/models/importance.go @@ -35,3 +35,6 @@ func SerializeImportance(values []Importance) []string { } return result } +func (i Importance) isMultiValue() bool { + return false +} diff --git a/models/imported_device_identity_type.go b/models/imported_device_identity_type.go index 8a8bcb24598..2e70449072a 100644 --- a/models/imported_device_identity_type.go +++ b/models/imported_device_identity_type.go @@ -38,3 +38,6 @@ func SerializeImportedDeviceIdentityType(values []ImportedDeviceIdentityType) [] } return result } +func (i ImportedDeviceIdentityType) isMultiValue() bool { + return false +} diff --git a/models/imported_windows_autopilot_device_identity_import_status.go b/models/imported_windows_autopilot_device_identity_import_status.go index ec97d861ad6..9185a66c713 100644 --- a/models/imported_windows_autopilot_device_identity_import_status.go +++ b/models/imported_windows_autopilot_device_identity_import_status.go @@ -46,3 +46,6 @@ func SerializeImportedWindowsAutopilotDeviceIdentityImportStatus(values []Import } return result } +func (i ImportedWindowsAutopilotDeviceIdentityImportStatus) isMultiValue() bool { + return false +} diff --git a/models/imported_windows_autopilot_device_identity_upload_status.go b/models/imported_windows_autopilot_device_identity_upload_status.go index 0ccd709c62e..e8e84c0201a 100644 --- a/models/imported_windows_autopilot_device_identity_upload_status.go +++ b/models/imported_windows_autopilot_device_identity_upload_status.go @@ -42,3 +42,6 @@ func SerializeImportedWindowsAutopilotDeviceIdentityUploadStatus(values []Import } return result } +func (i ImportedWindowsAutopilotDeviceIdentityUploadStatus) isMultiValue() bool { + return false +} diff --git a/models/included_user_roles.go b/models/included_user_roles.go index 6e027b1a5d0..8e74da14c0c 100644 --- a/models/included_user_roles.go +++ b/models/included_user_roles.go @@ -41,3 +41,6 @@ func SerializeIncludedUserRoles(values []IncludedUserRoles) []string { } return result } +func (i IncludedUserRoles) isMultiValue() bool { + return false +} diff --git a/models/included_user_types.go b/models/included_user_types.go index 94821fca1a6..dc398a6a7a0 100644 --- a/models/included_user_types.go +++ b/models/included_user_types.go @@ -38,3 +38,6 @@ func SerializeIncludedUserTypes(values []IncludedUserTypes) []string { } return result } +func (i IncludedUserTypes) isMultiValue() bool { + return false +} diff --git a/models/incoming_token_type.go b/models/incoming_token_type.go index 031fa118ac0..3060ee6857a 100644 --- a/models/incoming_token_type.go +++ b/models/incoming_token_type.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type IncomingTokenType int @@ -15,25 +16,34 @@ const ( ) func (i IncomingTokenType) String() string { - return []string{"none", "primaryRefreshToken", "saml11", "saml20", "unknownFutureValue", "remoteDesktopToken"}[i] + var values []string + for p := IncomingTokenType(1); p <= REMOTEDESKTOPTOKEN_INCOMINGTOKENTYPE; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "primaryRefreshToken", "saml11", "saml20", "unknownFutureValue", "remoteDesktopToken"}[p]) + } + } + return strings.Join(values, ",") } func ParseIncomingTokenType(v string) (any, error) { - result := NONE_INCOMINGTOKENTYPE - switch v { - case "none": - result = NONE_INCOMINGTOKENTYPE - case "primaryRefreshToken": - result = PRIMARYREFRESHTOKEN_INCOMINGTOKENTYPE - case "saml11": - result = SAML11_INCOMINGTOKENTYPE - case "saml20": - result = SAML20_INCOMINGTOKENTYPE - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_INCOMINGTOKENTYPE - case "remoteDesktopToken": - result = REMOTEDESKTOPTOKEN_INCOMINGTOKENTYPE - default: - return 0, errors.New("Unknown IncomingTokenType value: " + v) + var result IncomingTokenType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_INCOMINGTOKENTYPE + case "primaryRefreshToken": + result |= PRIMARYREFRESHTOKEN_INCOMINGTOKENTYPE + case "saml11": + result |= SAML11_INCOMINGTOKENTYPE + case "saml20": + result |= SAML20_INCOMINGTOKENTYPE + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_INCOMINGTOKENTYPE + case "remoteDesktopToken": + result |= REMOTEDESKTOPTOKEN_INCOMINGTOKENTYPE + default: + return 0, errors.New("Unknown IncomingTokenType value: " + v) + } } return &result, nil } @@ -44,3 +54,6 @@ func SerializeIncomingTokenType(values []IncomingTokenType) []string { } return result } +func (i IncomingTokenType) isMultiValue() bool { + return true +} diff --git a/models/incomplete_data.go b/models/incomplete_data.go index dab369968ce..84380ff6cab 100644 --- a/models/incomplete_data.go +++ b/models/incomplete_data.go @@ -74,7 +74,7 @@ func (m *IncompleteData) GetFieldDeserializers()(map[string]func(i878a80d2330e89 } return res } -// GetMissingDataBeforeDateTime gets the missingDataBeforeDateTime property value. The service does not have source data before the specified time. +// GetMissingDataBeforeDateTime gets the missingDataBeforeDateTime property value. The service doesn't have source data before the specified time. func (m *IncompleteData) GetMissingDataBeforeDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("missingDataBeforeDateTime") if err != nil { @@ -96,7 +96,7 @@ func (m *IncompleteData) GetOdataType()(*string) { } return nil } -// GetWasThrottled gets the wasThrottled property value. Some data was not recorded due to excessive activity. +// GetWasThrottled gets the wasThrottled property value. Some data wasn't recorded due to excessive activity. func (m *IncompleteData) GetWasThrottled()(*bool) { val, err := m.GetBackingStore().Get("wasThrottled") if err != nil { @@ -146,7 +146,7 @@ func (m *IncompleteData) SetAdditionalData(value map[string]any)() { func (m *IncompleteData) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetMissingDataBeforeDateTime sets the missingDataBeforeDateTime property value. The service does not have source data before the specified time. +// SetMissingDataBeforeDateTime sets the missingDataBeforeDateTime property value. The service doesn't have source data before the specified time. func (m *IncompleteData) SetMissingDataBeforeDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("missingDataBeforeDateTime", value) if err != nil { @@ -160,7 +160,7 @@ func (m *IncompleteData) SetOdataType(value *string)() { panic(err) } } -// SetWasThrottled sets the wasThrottled property value. Some data was not recorded due to excessive activity. +// SetWasThrottled sets the wasThrottled property value. Some data wasn't recorded due to excessive activity. func (m *IncompleteData) SetWasThrottled(value *bool)() { err := m.GetBackingStore().Set("wasThrottled", value) if err != nil { diff --git a/models/industrydata/inbound_domain.go b/models/industrydata/inbound_domain.go index 7399ebddeea..740e47dbba6 100644 --- a/models/industrydata/inbound_domain.go +++ b/models/industrydata/inbound_domain.go @@ -32,3 +32,6 @@ func SerializeInboundDomain(values []InboundDomain) []string { } return result } +func (i InboundDomain) isMultiValue() bool { + return false +} diff --git a/models/industrydata/industry_data_activity_status.go b/models/industrydata/industry_data_activity_status.go index d97f525e5b4..cde15b5003b 100644 --- a/models/industrydata/industry_data_activity_status.go +++ b/models/industrydata/industry_data_activity_status.go @@ -47,3 +47,6 @@ func SerializeIndustryDataActivityStatus(values []IndustryDataActivityStatus) [] } return result } +func (i IndustryDataActivityStatus) isMultiValue() bool { + return false +} diff --git a/models/industrydata/industry_data_run_status.go b/models/industrydata/industry_data_run_status.go index 79f39d84347..b5f32789b97 100644 --- a/models/industrydata/industry_data_run_status.go +++ b/models/industrydata/industry_data_run_status.go @@ -44,3 +44,6 @@ func SerializeIndustryDataRunStatus(values []IndustryDataRunStatus) []string { } return result } +func (i IndustryDataRunStatus) isMultiValue() bool { + return false +} diff --git a/models/industrydata/readiness_status.go b/models/industrydata/readiness_status.go index ca3afdec8bd..f6bce7d7c76 100644 --- a/models/industrydata/readiness_status.go +++ b/models/industrydata/readiness_status.go @@ -44,3 +44,6 @@ func SerializeReadinessStatus(values []ReadinessStatus) []string { } return result } +func (i ReadinessStatus) isMultiValue() bool { + return false +} diff --git a/models/inference_classification_type.go b/models/inference_classification_type.go index ea522747434..8bace082f4c 100644 --- a/models/inference_classification_type.go +++ b/models/inference_classification_type.go @@ -32,3 +32,6 @@ func SerializeInferenceClassificationType(values []InferenceClassificationType) } return result } +func (i InferenceClassificationType) isMultiValue() bool { + return false +} diff --git a/models/ingestion_source.go b/models/ingestion_source.go index 4bd3b97272c..86a2bd947f6 100644 --- a/models/ingestion_source.go +++ b/models/ingestion_source.go @@ -42,3 +42,6 @@ func SerializeIngestionSource(values []IngestionSource) []string { } return result } +func (i IngestionSource) isMultiValue() bool { + return false +} diff --git a/models/initiator_type.go b/models/initiator_type.go index 3d72511fba4..d7f6245c886 100644 --- a/models/initiator_type.go +++ b/models/initiator_type.go @@ -38,3 +38,6 @@ func SerializeInitiatorType(values []InitiatorType) []string { } return result } +func (i InitiatorType) isMultiValue() bool { + return false +} diff --git a/models/ink_access_setting.go b/models/ink_access_setting.go index cf737c0cf9f..320c0e333c9 100644 --- a/models/ink_access_setting.go +++ b/models/ink_access_setting.go @@ -38,3 +38,6 @@ func SerializeInkAccessSetting(values []InkAccessSetting) []string { } return result } +func (i InkAccessSetting) isMultiValue() bool { + return false +} diff --git a/models/install_intent.go b/models/install_intent.go index 9d0f0223fbb..8ad4345411b 100644 --- a/models/install_intent.go +++ b/models/install_intent.go @@ -42,3 +42,6 @@ func SerializeInstallIntent(values []InstallIntent) []string { } return result } +func (i InstallIntent) isMultiValue() bool { + return false +} diff --git a/models/install_state.go b/models/install_state.go index e424af39974..2695d2cebe2 100644 --- a/models/install_state.go +++ b/models/install_state.go @@ -50,3 +50,6 @@ func SerializeInstallState(values []InstallState) []string { } return result } +func (i InstallState) isMultiValue() bool { + return false +} diff --git a/models/intended_purpose.go b/models/intended_purpose.go index 0c0f1859e93..570e6382b17 100644 --- a/models/intended_purpose.go +++ b/models/intended_purpose.go @@ -46,3 +46,6 @@ func SerializeIntendedPurpose(values []IntendedPurpose) []string { } return result } +func (i IntendedPurpose) isMultiValue() bool { + return false +} diff --git a/models/internet_explorer_message_setting.go b/models/internet_explorer_message_setting.go index c55aa97d1fb..df3bf3fe399 100644 --- a/models/internet_explorer_message_setting.go +++ b/models/internet_explorer_message_setting.go @@ -42,3 +42,6 @@ func SerializeInternetExplorerMessageSetting(values []InternetExplorerMessageSet } return result } +func (i InternetExplorerMessageSetting) isMultiValue() bool { + return false +} diff --git a/models/internet_site_security_level.go b/models/internet_site_security_level.go index a9e3928d544..4cf63172f0c 100644 --- a/models/internet_site_security_level.go +++ b/models/internet_site_security_level.go @@ -42,3 +42,6 @@ func SerializeInternetSiteSecurityLevel(values []InternetSiteSecurityLevel) []st } return result } +func (i InternetSiteSecurityLevel) isMultiValue() bool { + return false +} diff --git a/models/invitation.go b/models/invitation.go index 20cd3ae6a1d..2e63f303b0d 100644 --- a/models/invitation.go +++ b/models/invitation.go @@ -162,7 +162,7 @@ func (m *Invitation) GetInvitedUserDisplayName()(*string) { } return nil } -// GetInvitedUserEmailAddress gets the invitedUserEmailAddress property value. The email address of the user being invited. Required. The following special characters are not permitted in the email address:Tilde (~)Exclamation point (!)At sign (@)Number sign (#)Dollar sign ($)Percent (%)Circumflex (^)Ampersand (&)Asterisk (*)Parentheses (( ))Hyphen (-)Plus sign (+)Equal sign (=)Brackets ([ ])Braces ({ })Backslash (/)Slash mark (/)Pipe (` +// GetInvitedUserEmailAddress gets the invitedUserEmailAddress property value. The email address of the user being invited. Required. The following special characters aren't permitted in the email address:Tilde (~)Exclamation point (!)At sign (@)Number sign (#)Dollar sign ($)Percent (%)Circumflex (^)Ampersand (&)Asterisk (*)Parentheses (( ))Hyphen (-)Plus sign (+)Equal sign (=)Brackets ([ ])Braces ({ })Backslash (/)Slash mark (/)Pipe (` func (m *Invitation) GetInvitedUserEmailAddress()(*string) { val, err := m.GetBackingStore().Get("invitedUserEmailAddress") if err != nil { @@ -195,7 +195,7 @@ func (m *Invitation) GetInvitedUserSponsors()([]DirectoryObjectable) { } return nil } -// GetInvitedUserType gets the invitedUserType property value. The userType of the user being invited. By default, this is Guest. You can invite as Member if you're are company administrator. The default is false. +// GetInvitedUserType gets the invitedUserType property value. The userType of the user being invited. By default, this is Guest. You can invite as Member if you're a company administrator. The default is false. func (m *Invitation) GetInvitedUserType()(*string) { val, err := m.GetBackingStore().Get("invitedUserType") if err != nil { @@ -355,7 +355,7 @@ func (m *Invitation) SetInvitedUserDisplayName(value *string)() { panic(err) } } -// SetInvitedUserEmailAddress sets the invitedUserEmailAddress property value. The email address of the user being invited. Required. The following special characters are not permitted in the email address:Tilde (~)Exclamation point (!)At sign (@)Number sign (#)Dollar sign ($)Percent (%)Circumflex (^)Ampersand (&)Asterisk (*)Parentheses (( ))Hyphen (-)Plus sign (+)Equal sign (=)Brackets ([ ])Braces ({ })Backslash (/)Slash mark (/)Pipe (` +// SetInvitedUserEmailAddress sets the invitedUserEmailAddress property value. The email address of the user being invited. Required. The following special characters aren't permitted in the email address:Tilde (~)Exclamation point (!)At sign (@)Number sign (#)Dollar sign ($)Percent (%)Circumflex (^)Ampersand (&)Asterisk (*)Parentheses (( ))Hyphen (-)Plus sign (+)Equal sign (=)Brackets ([ ])Braces ({ })Backslash (/)Slash mark (/)Pipe (` func (m *Invitation) SetInvitedUserEmailAddress(value *string)() { err := m.GetBackingStore().Set("invitedUserEmailAddress", value) if err != nil { @@ -376,7 +376,7 @@ func (m *Invitation) SetInvitedUserSponsors(value []DirectoryObjectable)() { panic(err) } } -// SetInvitedUserType sets the invitedUserType property value. The userType of the user being invited. By default, this is Guest. You can invite as Member if you're are company administrator. The default is false. +// SetInvitedUserType sets the invitedUserType property value. The userType of the user being invited. By default, this is Guest. You can invite as Member if you're a company administrator. The default is false. func (m *Invitation) SetInvitedUserType(value *string)() { err := m.GetBackingStore().Set("invitedUserType", value) if err != nil { diff --git a/models/invitation_redemption_identity_provider_configuration.go b/models/invitation_redemption_identity_provider_configuration.go new file mode 100644 index 00000000000..36dd4cd43bd --- /dev/null +++ b/models/invitation_redemption_identity_provider_configuration.go @@ -0,0 +1,207 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +// InvitationRedemptionIdentityProviderConfiguration +type InvitationRedemptionIdentityProviderConfiguration struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewInvitationRedemptionIdentityProviderConfiguration instantiates a new invitationRedemptionIdentityProviderConfiguration and sets the default values. +func NewInvitationRedemptionIdentityProviderConfiguration()(*InvitationRedemptionIdentityProviderConfiguration) { + m := &InvitationRedemptionIdentityProviderConfiguration{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateInvitationRedemptionIdentityProviderConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateInvitationRedemptionIdentityProviderConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.defaultInvitationRedemptionIdentityProviderConfiguration": + return NewDefaultInvitationRedemptionIdentityProviderConfiguration(), nil + } + } + } + } + return NewInvitationRedemptionIdentityProviderConfiguration(), nil +} +// GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *InvitationRedemptionIdentityProviderConfiguration) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the backingStore property value. Stores model information. +func (m *InvitationRedemptionIdentityProviderConfiguration) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFallbackIdentityProvider gets the fallbackIdentityProvider property value. The fallbackIdentityProvider property +func (m *InvitationRedemptionIdentityProviderConfiguration) GetFallbackIdentityProvider()(*B2bIdentityProvidersType) { + val, err := m.GetBackingStore().Get("fallbackIdentityProvider") + if err != nil { + panic(err) + } + if val != nil { + return val.(*B2bIdentityProvidersType) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *InvitationRedemptionIdentityProviderConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["fallbackIdentityProvider"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseB2bIdentityProvidersType) + if err != nil { + return err + } + if val != nil { + m.SetFallbackIdentityProvider(val.(*B2bIdentityProvidersType)) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["primaryIdentityProviderPrecedenceOrder"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfEnumValues(ParseB2bIdentityProvidersType) + if err != nil { + return err + } + if val != nil { + res := make([]B2bIdentityProvidersType, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*B2bIdentityProvidersType)) + } + } + m.SetPrimaryIdentityProviderPrecedenceOrder(res) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +func (m *InvitationRedemptionIdentityProviderConfiguration) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPrimaryIdentityProviderPrecedenceOrder gets the primaryIdentityProviderPrecedenceOrder property value. The primaryIdentityProviderPrecedenceOrder property +func (m *InvitationRedemptionIdentityProviderConfiguration) GetPrimaryIdentityProviderPrecedenceOrder()([]B2bIdentityProvidersType) { + val, err := m.GetBackingStore().Get("primaryIdentityProviderPrecedenceOrder") + if err != nil { + panic(err) + } + if val != nil { + return val.([]B2bIdentityProvidersType) + } + return nil +} +// Serialize serializes information the current object +func (m *InvitationRedemptionIdentityProviderConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetFallbackIdentityProvider() != nil { + cast := (*m.GetFallbackIdentityProvider()).String() + err := writer.WriteStringValue("fallbackIdentityProvider", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetPrimaryIdentityProviderPrecedenceOrder() != nil { + err := writer.WriteCollectionOfStringValues("primaryIdentityProviderPrecedenceOrder", SerializeB2bIdentityProvidersType(m.GetPrimaryIdentityProviderPrecedenceOrder())) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *InvitationRedemptionIdentityProviderConfiguration) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the backingStore property value. Stores model information. +func (m *InvitationRedemptionIdentityProviderConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetFallbackIdentityProvider sets the fallbackIdentityProvider property value. The fallbackIdentityProvider property +func (m *InvitationRedemptionIdentityProviderConfiguration) SetFallbackIdentityProvider(value *B2bIdentityProvidersType)() { + err := m.GetBackingStore().Set("fallbackIdentityProvider", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *InvitationRedemptionIdentityProviderConfiguration) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPrimaryIdentityProviderPrecedenceOrder sets the primaryIdentityProviderPrecedenceOrder property value. The primaryIdentityProviderPrecedenceOrder property +func (m *InvitationRedemptionIdentityProviderConfiguration) SetPrimaryIdentityProviderPrecedenceOrder(value []B2bIdentityProvidersType)() { + err := m.GetBackingStore().Set("primaryIdentityProviderPrecedenceOrder", value) + if err != nil { + panic(err) + } +} +// InvitationRedemptionIdentityProviderConfigurationable +type InvitationRedemptionIdentityProviderConfigurationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetFallbackIdentityProvider()(*B2bIdentityProvidersType) + GetOdataType()(*string) + GetPrimaryIdentityProviderPrecedenceOrder()([]B2bIdentityProvidersType) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetFallbackIdentityProvider(value *B2bIdentityProvidersType)() + SetOdataType(value *string)() + SetPrimaryIdentityProviderPrecedenceOrder(value []B2bIdentityProvidersType)() +} diff --git a/models/invited_user_message_info.go b/models/invited_user_message_info.go index 17e75956d93..99db5cd9e69 100644 --- a/models/invited_user_message_info.go +++ b/models/invited_user_message_info.go @@ -38,7 +38,7 @@ func (m *InvitedUserMessageInfo) GetAdditionalData()(map[string]any) { func (m *InvitedUserMessageInfo) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetCcRecipients gets the ccRecipients property value. Additional recipients the invitation message should be sent to. Currently only 1 additional recipient is supported. +// GetCcRecipients gets the ccRecipients property value. Additional recipients the invitation message should be sent to. Currently only one additional recipient is supported. func (m *InvitedUserMessageInfo) GetCcRecipients()([]Recipientable) { val, err := m.GetBackingStore().Get("ccRecipients") if err != nil { @@ -184,7 +184,7 @@ func (m *InvitedUserMessageInfo) SetAdditionalData(value map[string]any)() { func (m *InvitedUserMessageInfo) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetCcRecipients sets the ccRecipients property value. Additional recipients the invitation message should be sent to. Currently only 1 additional recipient is supported. +// SetCcRecipients sets the ccRecipients property value. Additional recipients the invitation message should be sent to. Currently only one additional recipient is supported. func (m *InvitedUserMessageInfo) SetCcRecipients(value []Recipientable)() { err := m.GetBackingStore().Set("ccRecipients", value) if err != nil { diff --git a/models/ios_kiosk_mode_app_type.go b/models/ios_kiosk_mode_app_type.go index 645fa047970..f263f439317 100644 --- a/models/ios_kiosk_mode_app_type.go +++ b/models/ios_kiosk_mode_app_type.go @@ -42,3 +42,6 @@ func SerializeIosKioskModeAppType(values []IosKioskModeAppType) []string { } return result } +func (i IosKioskModeAppType) isMultiValue() bool { + return false +} diff --git a/models/ios_lob_app_collection_response.go b/models/ios_lob_app_collection_response.go new file mode 100644 index 00000000000..4a314d218ae --- /dev/null +++ b/models/ios_lob_app_collection_response.go @@ -0,0 +1,87 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// IosLobAppCollectionResponse +type IosLobAppCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewIosLobAppCollectionResponse instantiates a new iosLobAppCollectionResponse and sets the default values. +func NewIosLobAppCollectionResponse()(*IosLobAppCollectionResponse) { + m := &IosLobAppCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateIosLobAppCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateIosLobAppCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewIosLobAppCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *IosLobAppCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateIosLobAppFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]IosLobAppable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(IosLobAppable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *IosLobAppCollectionResponse) GetValue()([]IosLobAppable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]IosLobAppable) + } + return nil +} +// Serialize serializes information the current object +func (m *IosLobAppCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *IosLobAppCollectionResponse) SetValue(value []IosLobAppable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// IosLobAppCollectionResponseable +type IosLobAppCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]IosLobAppable) + SetValue(value []IosLobAppable)() +} diff --git a/models/ios_notification_alert_type.go b/models/ios_notification_alert_type.go index 1ba946552cf..bf796b84fc4 100644 --- a/models/ios_notification_alert_type.go +++ b/models/ios_notification_alert_type.go @@ -42,3 +42,6 @@ func SerializeIosNotificationAlertType(values []IosNotificationAlertType) []stri } return result } +func (i IosNotificationAlertType) isMultiValue() bool { + return false +} diff --git a/models/ios_notification_preview_visibility.go b/models/ios_notification_preview_visibility.go index be41af0c712..3ad7d2f7682 100644 --- a/models/ios_notification_preview_visibility.go +++ b/models/ios_notification_preview_visibility.go @@ -42,3 +42,6 @@ func SerializeIosNotificationPreviewVisibility(values []IosNotificationPreviewVi } return result } +func (i IosNotificationPreviewVisibility) isMultiValue() bool { + return false +} diff --git a/models/ios_software_update_schedule_type.go b/models/ios_software_update_schedule_type.go index 17de0f1f7ce..9556f1dc404 100644 --- a/models/ios_software_update_schedule_type.go +++ b/models/ios_software_update_schedule_type.go @@ -42,3 +42,6 @@ func SerializeIosSoftwareUpdateScheduleType(values []IosSoftwareUpdateScheduleTy } return result } +func (i IosSoftwareUpdateScheduleType) isMultiValue() bool { + return false +} diff --git a/models/ios_store_app_collection_response.go b/models/ios_store_app_collection_response.go new file mode 100644 index 00000000000..8b0be6afa03 --- /dev/null +++ b/models/ios_store_app_collection_response.go @@ -0,0 +1,87 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// IosStoreAppCollectionResponse +type IosStoreAppCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewIosStoreAppCollectionResponse instantiates a new iosStoreAppCollectionResponse and sets the default values. +func NewIosStoreAppCollectionResponse()(*IosStoreAppCollectionResponse) { + m := &IosStoreAppCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateIosStoreAppCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateIosStoreAppCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewIosStoreAppCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *IosStoreAppCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateIosStoreAppFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]IosStoreAppable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(IosStoreAppable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *IosStoreAppCollectionResponse) GetValue()([]IosStoreAppable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]IosStoreAppable) + } + return nil +} +// Serialize serializes information the current object +func (m *IosStoreAppCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *IosStoreAppCollectionResponse) SetValue(value []IosStoreAppable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// IosStoreAppCollectionResponseable +type IosStoreAppCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]IosStoreAppable) + SetValue(value []IosStoreAppable)() +} diff --git a/models/ios_updates_install_status.go b/models/ios_updates_install_status.go index 9419a0a6d27..c0917f26f2f 100644 --- a/models/ios_updates_install_status.go +++ b/models/ios_updates_install_status.go @@ -92,3 +92,6 @@ func SerializeIosUpdatesInstallStatus(values []IosUpdatesInstallStatus) []string } return result } +func (i IosUpdatesInstallStatus) isMultiValue() bool { + return false +} diff --git a/models/ios_vpp_app_collection_response.go b/models/ios_vpp_app_collection_response.go new file mode 100644 index 00000000000..62e1ba07a52 --- /dev/null +++ b/models/ios_vpp_app_collection_response.go @@ -0,0 +1,87 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// IosVppAppCollectionResponse +type IosVppAppCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewIosVppAppCollectionResponse instantiates a new iosVppAppCollectionResponse and sets the default values. +func NewIosVppAppCollectionResponse()(*IosVppAppCollectionResponse) { + m := &IosVppAppCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateIosVppAppCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateIosVppAppCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewIosVppAppCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *IosVppAppCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateIosVppAppFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]IosVppAppable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(IosVppAppable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *IosVppAppCollectionResponse) GetValue()([]IosVppAppable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]IosVppAppable) + } + return nil +} +// Serialize serializes information the current object +func (m *IosVppAppCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *IosVppAppCollectionResponse) SetValue(value []IosVppAppable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// IosVppAppCollectionResponseable +type IosVppAppCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]IosVppAppable) + SetValue(value []IosVppAppable)() +} diff --git a/models/ios_wallpaper_display_location.go b/models/ios_wallpaper_display_location.go index ece4d4f1b14..53f69734f1d 100644 --- a/models/ios_wallpaper_display_location.go +++ b/models/ios_wallpaper_display_location.go @@ -42,3 +42,6 @@ func SerializeIosWallpaperDisplayLocation(values []IosWallpaperDisplayLocation) } return result } +func (i IosWallpaperDisplayLocation) isMultiValue() bool { + return false +} diff --git a/models/item_retention_label.go b/models/item_retention_label.go index efb92f8e012..a3b33d9b570 100644 --- a/models/item_retention_label.go +++ b/models/item_retention_label.go @@ -75,7 +75,7 @@ func (m *ItemRetentionLabel) GetFieldDeserializers()(map[string]func(i878a80d233 } return res } -// GetIsLabelAppliedExplicitly gets the isLabelAppliedExplicitly property value. The isLabelAppliedExplicitly property +// GetIsLabelAppliedExplicitly gets the isLabelAppliedExplicitly property value. Specifies whether the label is applied explicitly on the item. True indicates that the label is applied explicitly; otherwise, the label is inherited from its parent. Read-only. func (m *ItemRetentionLabel) GetIsLabelAppliedExplicitly()(*bool) { val, err := m.GetBackingStore().Get("isLabelAppliedExplicitly") if err != nil { @@ -86,7 +86,7 @@ func (m *ItemRetentionLabel) GetIsLabelAppliedExplicitly()(*bool) { } return nil } -// GetLabelAppliedBy gets the labelAppliedBy property value. The labelAppliedBy property +// GetLabelAppliedBy gets the labelAppliedBy property value. Identity of the user who applied the label. Read-only. func (m *ItemRetentionLabel) GetLabelAppliedBy()(IdentitySetable) { val, err := m.GetBackingStore().Get("labelAppliedBy") if err != nil { @@ -97,7 +97,7 @@ func (m *ItemRetentionLabel) GetLabelAppliedBy()(IdentitySetable) { } return nil } -// GetLabelAppliedDateTime gets the labelAppliedDateTime property value. The labelAppliedDateTime property +// GetLabelAppliedDateTime gets the labelAppliedDateTime property value. The date and time when the label was applied on the item. The DateTimeOffset 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. Read-only. func (m *ItemRetentionLabel) GetLabelAppliedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("labelAppliedDateTime") if err != nil { @@ -108,7 +108,7 @@ func (m *ItemRetentionLabel) GetLabelAppliedDateTime()(*i336074805fc853987abe6f7 } return nil } -// GetName gets the name property value. The name property +// GetName gets the name property value. The retention label on the document. Read-write. func (m *ItemRetentionLabel) GetName()(*string) { val, err := m.GetBackingStore().Get("name") if err != nil { @@ -119,7 +119,7 @@ func (m *ItemRetentionLabel) GetName()(*string) { } return nil } -// GetRetentionSettings gets the retentionSettings property value. The retentionSettings property +// GetRetentionSettings gets the retentionSettings property value. The retention settings enforced on the item. Read-write. func (m *ItemRetentionLabel) GetRetentionSettings()(RetentionLabelSettingsable) { val, err := m.GetBackingStore().Get("retentionSettings") if err != nil { @@ -168,35 +168,35 @@ func (m *ItemRetentionLabel) Serialize(writer i878a80d2330e89d26896388a3f487eef2 } return nil } -// SetIsLabelAppliedExplicitly sets the isLabelAppliedExplicitly property value. The isLabelAppliedExplicitly property +// SetIsLabelAppliedExplicitly sets the isLabelAppliedExplicitly property value. Specifies whether the label is applied explicitly on the item. True indicates that the label is applied explicitly; otherwise, the label is inherited from its parent. Read-only. func (m *ItemRetentionLabel) SetIsLabelAppliedExplicitly(value *bool)() { err := m.GetBackingStore().Set("isLabelAppliedExplicitly", value) if err != nil { panic(err) } } -// SetLabelAppliedBy sets the labelAppliedBy property value. The labelAppliedBy property +// SetLabelAppliedBy sets the labelAppliedBy property value. Identity of the user who applied the label. Read-only. func (m *ItemRetentionLabel) SetLabelAppliedBy(value IdentitySetable)() { err := m.GetBackingStore().Set("labelAppliedBy", value) if err != nil { panic(err) } } -// SetLabelAppliedDateTime sets the labelAppliedDateTime property value. The labelAppliedDateTime property +// SetLabelAppliedDateTime sets the labelAppliedDateTime property value. The date and time when the label was applied on the item. The DateTimeOffset 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. Read-only. func (m *ItemRetentionLabel) SetLabelAppliedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("labelAppliedDateTime", value) if err != nil { panic(err) } } -// SetName sets the name property value. The name property +// SetName sets the name property value. The retention label on the document. Read-write. func (m *ItemRetentionLabel) SetName(value *string)() { err := m.GetBackingStore().Set("name", value) if err != nil { panic(err) } } -// SetRetentionSettings sets the retentionSettings property value. The retentionSettings property +// SetRetentionSettings sets the retentionSettings property value. The retention settings enforced on the item. Read-write. func (m *ItemRetentionLabel) SetRetentionSettings(value RetentionLabelSettingsable)() { err := m.GetBackingStore().Set("retentionSettings", value) if err != nil { diff --git a/models/join_type.go b/models/join_type.go index d2a62d7f00e..dbce94450b7 100644 --- a/models/join_type.go +++ b/models/join_type.go @@ -42,3 +42,6 @@ func SerializeJoinType(values []JoinType) []string { } return result } +func (i JoinType) isMultiValue() bool { + return false +} diff --git a/models/kerberos_sign_on_mapping_attribute_type.go b/models/kerberos_sign_on_mapping_attribute_type.go index 4f24f5d2ff2..d86a018448d 100644 --- a/models/kerberos_sign_on_mapping_attribute_type.go +++ b/models/kerberos_sign_on_mapping_attribute_type.go @@ -41,3 +41,6 @@ func SerializeKerberosSignOnMappingAttributeType(values []KerberosSignOnMappingA } return result } +func (i KerberosSignOnMappingAttributeType) isMultiValue() bool { + return false +} diff --git a/models/key_credential_configuration.go b/models/key_credential_configuration.go index 7bc14ecbfb0..d2b8f6b3137 100644 --- a/models/key_credential_configuration.go +++ b/models/key_credential_configuration.go @@ -39,7 +39,7 @@ func (m *KeyCredentialConfiguration) GetAdditionalData()(map[string]any) { func (m *KeyCredentialConfiguration) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetCertificateBasedApplicationConfigurationIds gets the certificateBasedApplicationConfigurationIds property value. The certificateBasedApplicationConfigurationIds property +// GetCertificateBasedApplicationConfigurationIds gets the certificateBasedApplicationConfigurationIds property value. Collection of GUIDs that point to the certificateBasedApplicationConfiguration that contains the collection of allowed root and intermediate certificate authorities. func (m *KeyCredentialConfiguration) GetCertificateBasedApplicationConfigurationIds()([]string) { val, err := m.GetBackingStore().Get("certificateBasedApplicationConfigurationIds") if err != nil { @@ -207,7 +207,7 @@ func (m *KeyCredentialConfiguration) SetAdditionalData(value map[string]any)() { func (m *KeyCredentialConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetCertificateBasedApplicationConfigurationIds sets the certificateBasedApplicationConfigurationIds property value. The certificateBasedApplicationConfigurationIds property +// SetCertificateBasedApplicationConfigurationIds sets the certificateBasedApplicationConfigurationIds property value. Collection of GUIDs that point to the certificateBasedApplicationConfiguration that contains the collection of allowed root and intermediate certificate authorities. func (m *KeyCredentialConfiguration) SetCertificateBasedApplicationConfigurationIds(value []string)() { err := m.GetBackingStore().Set("certificateBasedApplicationConfigurationIds", value) if err != nil { diff --git a/models/key_size.go b/models/key_size.go index 2cd5f94d6de..891657535f6 100644 --- a/models/key_size.go +++ b/models/key_size.go @@ -38,3 +38,6 @@ func SerializeKeySize(values []KeySize) []string { } return result } +func (i KeySize) isMultiValue() bool { + return false +} diff --git a/models/key_storage_provider_option.go b/models/key_storage_provider_option.go index 6930857506c..1d4202f10df 100644 --- a/models/key_storage_provider_option.go +++ b/models/key_storage_provider_option.go @@ -42,3 +42,6 @@ func SerializeKeyStorageProviderOption(values []KeyStorageProviderOption) []stri } return result } +func (i KeyStorageProviderOption) isMultiValue() bool { + return false +} diff --git a/models/key_usages.go b/models/key_usages.go index 823f507d136..e687e7a65c7 100644 --- a/models/key_usages.go +++ b/models/key_usages.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Key Usage Options. type KeyUsages int @@ -13,17 +14,26 @@ const ( ) func (i KeyUsages) String() string { - return []string{"keyEncipherment", "digitalSignature"}[i] + var values []string + for p := KeyUsages(1); p <= DIGITALSIGNATURE_KEYUSAGES; p <<= 1 { + if i&p == p { + values = append(values, []string{"keyEncipherment", "digitalSignature"}[p]) + } + } + return strings.Join(values, ",") } func ParseKeyUsages(v string) (any, error) { - result := KEYENCIPHERMENT_KEYUSAGES - switch v { - case "keyEncipherment": - result = KEYENCIPHERMENT_KEYUSAGES - case "digitalSignature": - result = DIGITALSIGNATURE_KEYUSAGES - default: - return 0, errors.New("Unknown KeyUsages value: " + v) + var result KeyUsages + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "keyEncipherment": + result |= KEYENCIPHERMENT_KEYUSAGES + case "digitalSignature": + result |= DIGITALSIGNATURE_KEYUSAGES + default: + return 0, errors.New("Unknown KeyUsages value: " + v) + } } return &result, nil } @@ -34,3 +44,6 @@ func SerializeKeyUsages(values []KeyUsages) []string { } return result } +func (i KeyUsages) isMultiValue() bool { + return true +} diff --git a/models/key_value.go b/models/key_value.go index 6962803724a..c7b76d8369b 100644 --- a/models/key_value.go +++ b/models/key_value.go @@ -73,7 +73,7 @@ func (m *KeyValue) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896 } return res } -// GetKey gets the key property value. Contains the name of the field that a value is associated with. +// GetKey gets the key property value. Key. func (m *KeyValue) GetKey()(*string) { val, err := m.GetBackingStore().Get("key") if err != nil { @@ -95,7 +95,7 @@ func (m *KeyValue) GetOdataType()(*string) { } return nil } -// GetValue gets the value property value. Contains the corresponding value for the specified key. +// GetValue gets the value property value. Value. func (m *KeyValue) GetValue()(*string) { val, err := m.GetBackingStore().Get("value") if err != nil { @@ -145,7 +145,7 @@ func (m *KeyValue) SetAdditionalData(value map[string]any)() { func (m *KeyValue) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetKey sets the key property value. Contains the name of the field that a value is associated with. +// SetKey sets the key property value. Key. func (m *KeyValue) SetKey(value *string)() { err := m.GetBackingStore().Set("key", value) if err != nil { @@ -159,7 +159,7 @@ func (m *KeyValue) SetOdataType(value *string)() { panic(err) } } -// SetValue sets the value property value. Contains the corresponding value for the specified key. +// SetValue sets the value property value. Value. func (m *KeyValue) SetValue(value *string)() { err := m.GetBackingStore().Set("value", value) if err != nil { diff --git a/models/kiosk_mode_managed_home_screen_pin_complexity.go b/models/kiosk_mode_managed_home_screen_pin_complexity.go index d43d8f1ef39..b9dff819454 100644 --- a/models/kiosk_mode_managed_home_screen_pin_complexity.go +++ b/models/kiosk_mode_managed_home_screen_pin_complexity.go @@ -38,3 +38,6 @@ func SerializeKioskModeManagedHomeScreenPinComplexity(values []KioskModeManagedH } return result } +func (i KioskModeManagedHomeScreenPinComplexity) isMultiValue() bool { + return false +} diff --git a/models/kiosk_mode_type.go b/models/kiosk_mode_type.go index 7138b8e10a7..ef26504ae6e 100644 --- a/models/kiosk_mode_type.go +++ b/models/kiosk_mode_type.go @@ -38,3 +38,6 @@ func SerializeKioskModeType(values []KioskModeType) []string { } return result } +func (i KioskModeType) isMultiValue() bool { + return false +} diff --git a/models/label.go b/models/label.go index dbb8244b877..1d75f7c59a6 100644 --- a/models/label.go +++ b/models/label.go @@ -53,3 +53,6 @@ func SerializeLabel(values []Label) []string { } return result } +func (i Label) isMultiValue() bool { + return false +} diff --git a/models/lan_manager_authentication_level.go b/models/lan_manager_authentication_level.go index bba4a46d1e1..d40df4cce5b 100644 --- a/models/lan_manager_authentication_level.go +++ b/models/lan_manager_authentication_level.go @@ -50,3 +50,6 @@ func SerializeLanManagerAuthenticationLevel(values []LanManagerAuthenticationLev } return result } +func (i LanManagerAuthenticationLevel) isMultiValue() bool { + return false +} diff --git a/models/language_proficiency_level.go b/models/language_proficiency_level.go index 1f7414b66b9..bc74497787d 100644 --- a/models/language_proficiency_level.go +++ b/models/language_proficiency_level.go @@ -47,3 +47,6 @@ func SerializeLanguageProficiencyLevel(values []LanguageProficiencyLevel) []stri } return result } +func (i LanguageProficiencyLevel) isMultiValue() bool { + return false +} diff --git a/models/layout_template_type.go b/models/layout_template_type.go index 83411935fb0..55a2562d06c 100644 --- a/models/layout_template_type.go +++ b/models/layout_template_type.go @@ -35,3 +35,6 @@ func SerializeLayoutTemplateType(values []LayoutTemplateType) []string { } return result } +func (i LayoutTemplateType) isMultiValue() bool { + return false +} diff --git a/models/learning_self_initiated_course.go b/models/learning_self_initiated_course.go index 61100dd1446..5f86095789e 100644 --- a/models/learning_self_initiated_course.go +++ b/models/learning_self_initiated_course.go @@ -35,7 +35,7 @@ func (m *LearningSelfInitiatedCourse) GetFieldDeserializers()(map[string]func(i8 } return res } -// GetStartedDateTime gets the startedDateTime property value. The date time value on which the self-initiated course was started by the learner. Optional. +// GetStartedDateTime gets the startedDateTime property value. The date and time on which the self-initiated course was started by the learner. Optional. func (m *LearningSelfInitiatedCourse) GetStartedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("startedDateTime") if err != nil { @@ -60,7 +60,7 @@ func (m *LearningSelfInitiatedCourse) Serialize(writer i878a80d2330e89d26896388a } return nil } -// SetStartedDateTime sets the startedDateTime property value. The date time value on which the self-initiated course was started by the learner. Optional. +// SetStartedDateTime sets the startedDateTime property value. The date and time on which the self-initiated course was started by the learner. Optional. func (m *LearningSelfInitiatedCourse) SetStartedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("startedDateTime", value) if err != nil { diff --git a/models/license_assignment_state.go b/models/license_assignment_state.go index 5135d669983..06207abcf8c 100644 --- a/models/license_assignment_state.go +++ b/models/license_assignment_state.go @@ -62,7 +62,7 @@ func (m *LicenseAssignmentState) GetDisabledPlans()([]i561e97a8befe7661a44c8f546 } return nil } -// GetError gets the error property value. License assignment failure error. If the license is assigned successfully, this field will be Null. Read-Only. The possible values are CountViolation, MutuallyExclusiveViolation, DependencyViolation, ProhibitedInUsageLocationViolation, UniquenessViolation, and Other. For more information on how to identify and resolve license assignment errors see here. +// GetError gets the error property value. License assignment failure error. If the license is assigned successfully, this field will be Null. Read-Only. The possible values are CountViolation, MutuallyExclusiveViolation, DependencyViolation, ProhibitedInUsageLocationViolation, UniquenessViolation, and Other. For more information on how to identify and resolve license assignment errors, see here. func (m *LicenseAssignmentState) GetError()(*string) { val, err := m.GetBackingStore().Get("error") if err != nil { @@ -275,7 +275,7 @@ func (m *LicenseAssignmentState) SetDisabledPlans(value []i561e97a8befe7661a44c8 panic(err) } } -// SetError sets the error property value. License assignment failure error. If the license is assigned successfully, this field will be Null. Read-Only. The possible values are CountViolation, MutuallyExclusiveViolation, DependencyViolation, ProhibitedInUsageLocationViolation, UniquenessViolation, and Other. For more information on how to identify and resolve license assignment errors see here. +// SetError sets the error property value. License assignment failure error. If the license is assigned successfully, this field will be Null. Read-Only. The possible values are CountViolation, MutuallyExclusiveViolation, DependencyViolation, ProhibitedInUsageLocationViolation, UniquenessViolation, and Other. For more information on how to identify and resolve license assignment errors, see here. func (m *LicenseAssignmentState) SetError(value *string)() { err := m.GetBackingStore().Set("error", value) if err != nil { diff --git a/models/license_units_detail.go b/models/license_units_detail.go index 41cacad73a8..947921e7975 100644 --- a/models/license_units_detail.go +++ b/models/license_units_detail.go @@ -104,7 +104,7 @@ func (m *LicenseUnitsDetail) GetFieldDeserializers()(map[string]func(i878a80d233 } return res } -// GetLockedOut gets the lockedOut property value. The number of units that are locked out because the customer cancelled their subscription of the service SKU. +// GetLockedOut gets the lockedOut property value. The number of units that are locked out because the customer canceled their subscription of the service SKU. func (m *LicenseUnitsDetail) GetLockedOut()(*int32) { val, err := m.GetBackingStore().Get("lockedOut") if err != nil { @@ -126,7 +126,7 @@ func (m *LicenseUnitsDetail) GetOdataType()(*string) { } return nil } -// GetSuspended gets the suspended property value. The number of units that are suspended because the subscription of the service SKU has been cancelled. The units cannot be assigned but can still be reactivated before they are deleted. +// GetSuspended gets the suspended property value. The number of units that are suspended because the subscription of the service SKU has been canceled. The units can't be assigned but can still be reactivated before they're deleted. func (m *LicenseUnitsDetail) GetSuspended()(*int32) { val, err := m.GetBackingStore().Get("suspended") if err != nil { @@ -137,7 +137,7 @@ func (m *LicenseUnitsDetail) GetSuspended()(*int32) { } return nil } -// GetWarning gets the warning property value. The number of units that are in warning status. When the subscription of the service SKU has expired, the customer has a grace period to renew their subscription before it is cancelled (moved to a suspended state). +// GetWarning gets the warning property value. The number of units that are in warning status. When the subscription of the service SKU has expired, the customer has a grace period to renew their subscription before it's canceled (moved to a suspended state). func (m *LicenseUnitsDetail) GetWarning()(*int32) { val, err := m.GetBackingStore().Get("warning") if err != nil { @@ -206,7 +206,7 @@ func (m *LicenseUnitsDetail) SetEnabled(value *int32)() { panic(err) } } -// SetLockedOut sets the lockedOut property value. The number of units that are locked out because the customer cancelled their subscription of the service SKU. +// SetLockedOut sets the lockedOut property value. The number of units that are locked out because the customer canceled their subscription of the service SKU. func (m *LicenseUnitsDetail) SetLockedOut(value *int32)() { err := m.GetBackingStore().Set("lockedOut", value) if err != nil { @@ -220,14 +220,14 @@ func (m *LicenseUnitsDetail) SetOdataType(value *string)() { panic(err) } } -// SetSuspended sets the suspended property value. The number of units that are suspended because the subscription of the service SKU has been cancelled. The units cannot be assigned but can still be reactivated before they are deleted. +// SetSuspended sets the suspended property value. The number of units that are suspended because the subscription of the service SKU has been canceled. The units can't be assigned but can still be reactivated before they're deleted. func (m *LicenseUnitsDetail) SetSuspended(value *int32)() { err := m.GetBackingStore().Set("suspended", value) if err != nil { panic(err) } } -// SetWarning sets the warning property value. The number of units that are in warning status. When the subscription of the service SKU has expired, the customer has a grace period to renew their subscription before it is cancelled (moved to a suspended state). +// SetWarning sets the warning property value. The number of units that are in warning status. When the subscription of the service SKU has expired, the customer has a grace period to renew their subscription before it's canceled (moved to a suspended state). func (m *LicenseUnitsDetail) SetWarning(value *int32)() { err := m.GetBackingStore().Set("warning", value) if err != nil { diff --git a/models/lobby_bypass_scope.go b/models/lobby_bypass_scope.go index 7f2cf75e9da..d0be1f95ed3 100644 --- a/models/lobby_bypass_scope.go +++ b/models/lobby_bypass_scope.go @@ -47,3 +47,6 @@ func SerializeLobbyBypassScope(values []LobbyBypassScope) []string { } return result } +func (i LobbyBypassScope) isMultiValue() bool { + return false +} diff --git a/models/local_security_options_administrator_elevation_prompt_behavior_type.go b/models/local_security_options_administrator_elevation_prompt_behavior_type.go index 9e5209b4e31..968731a5432 100644 --- a/models/local_security_options_administrator_elevation_prompt_behavior_type.go +++ b/models/local_security_options_administrator_elevation_prompt_behavior_type.go @@ -54,3 +54,6 @@ func SerializeLocalSecurityOptionsAdministratorElevationPromptBehaviorType(value } return result } +func (i LocalSecurityOptionsAdministratorElevationPromptBehaviorType) isMultiValue() bool { + return false +} diff --git a/models/local_security_options_format_and_eject_of_removable_media_allowed_user_type.go b/models/local_security_options_format_and_eject_of_removable_media_allowed_user_type.go index dc99a76f8a8..b38955118a8 100644 --- a/models/local_security_options_format_and_eject_of_removable_media_allowed_user_type.go +++ b/models/local_security_options_format_and_eject_of_removable_media_allowed_user_type.go @@ -42,3 +42,6 @@ func SerializeLocalSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUserType( } return result } +func (i LocalSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUserType) isMultiValue() bool { + return false +} diff --git a/models/local_security_options_information_displayed_on_lock_screen_type.go b/models/local_security_options_information_displayed_on_lock_screen_type.go index 185ff4b421a..2afae81838a 100644 --- a/models/local_security_options_information_displayed_on_lock_screen_type.go +++ b/models/local_security_options_information_displayed_on_lock_screen_type.go @@ -42,3 +42,6 @@ func SerializeLocalSecurityOptionsInformationDisplayedOnLockScreenType(values [] } return result } +func (i LocalSecurityOptionsInformationDisplayedOnLockScreenType) isMultiValue() bool { + return false +} diff --git a/models/local_security_options_information_shown_on_lock_screen_type.go b/models/local_security_options_information_shown_on_lock_screen_type.go index 2a3943867cd..b26ad0cc5cb 100644 --- a/models/local_security_options_information_shown_on_lock_screen_type.go +++ b/models/local_security_options_information_shown_on_lock_screen_type.go @@ -42,3 +42,6 @@ func SerializeLocalSecurityOptionsInformationShownOnLockScreenType(values []Loca } return result } +func (i LocalSecurityOptionsInformationShownOnLockScreenType) isMultiValue() bool { + return false +} diff --git a/models/local_security_options_minimum_session_security.go b/models/local_security_options_minimum_session_security.go index 71d356c1ff1..7ac342c325c 100644 --- a/models/local_security_options_minimum_session_security.go +++ b/models/local_security_options_minimum_session_security.go @@ -42,3 +42,6 @@ func SerializeLocalSecurityOptionsMinimumSessionSecurity(values []LocalSecurityO } return result } +func (i LocalSecurityOptionsMinimumSessionSecurity) isMultiValue() bool { + return false +} diff --git a/models/local_security_options_smart_card_removal_behavior_type.go b/models/local_security_options_smart_card_removal_behavior_type.go index c941abf97e5..07b602c244f 100644 --- a/models/local_security_options_smart_card_removal_behavior_type.go +++ b/models/local_security_options_smart_card_removal_behavior_type.go @@ -42,3 +42,6 @@ func SerializeLocalSecurityOptionsSmartCardRemovalBehaviorType(values []LocalSec } return result } +func (i LocalSecurityOptionsSmartCardRemovalBehaviorType) isMultiValue() bool { + return false +} diff --git a/models/local_security_options_standard_user_elevation_prompt_behavior_type.go b/models/local_security_options_standard_user_elevation_prompt_behavior_type.go index 6fd8d27c152..7c08ccb6691 100644 --- a/models/local_security_options_standard_user_elevation_prompt_behavior_type.go +++ b/models/local_security_options_standard_user_elevation_prompt_behavior_type.go @@ -42,3 +42,6 @@ func SerializeLocalSecurityOptionsStandardUserElevationPromptBehaviorType(values } return result } +func (i LocalSecurityOptionsStandardUserElevationPromptBehaviorType) isMultiValue() bool { + return false +} diff --git a/models/location_type.go b/models/location_type.go index 5d08f1febb0..556f4ad9dfb 100644 --- a/models/location_type.go +++ b/models/location_type.go @@ -56,3 +56,6 @@ func SerializeLocationType(values []LocationType) []string { } return result } +func (i LocationType) isMultiValue() bool { + return false +} diff --git a/models/location_unique_id_type.go b/models/location_unique_id_type.go index 315792bac3d..43a056895da 100644 --- a/models/location_unique_id_type.go +++ b/models/location_unique_id_type.go @@ -41,3 +41,6 @@ func SerializeLocationUniqueIdType(values []LocationUniqueIdType) []string { } return result } +func (i LocationUniqueIdType) isMultiValue() bool { + return false +} diff --git a/models/login_page_layout_configuration.go b/models/login_page_layout_configuration.go index 77578bce251..8c90b80b327 100644 --- a/models/login_page_layout_configuration.go +++ b/models/login_page_layout_configuration.go @@ -105,7 +105,7 @@ func (m *LoginPageLayoutConfiguration) GetIsHeaderShown()(*bool) { } return nil } -// GetLayoutTemplateType gets the layoutTemplateType property value. Represents the layout template to be displayed on the login page for a tenant. The possible values are default - Represents the default Microsoft layout with a centered lightbox. verticalSplit - Represents a layout with a backgound on the left side and a full-height lightbox to the right. unknownFutureValue - Evolvable enumeration sentinel value. Do not use. +// GetLayoutTemplateType gets the layoutTemplateType property value. Represents the layout template to be displayed on the login page for a tenant. The possible values are default - Represents the default Microsoft layout with a centered lightbox. verticalSplit - Represents a layout with a background on the left side and a full-height lightbox to the right. unknownFutureValue - Evolvable enumeration sentinel value. Don't use. func (m *LoginPageLayoutConfiguration) GetLayoutTemplateType()(*LayoutTemplateType) { val, err := m.GetBackingStore().Get("layoutTemplateType") if err != nil { @@ -187,7 +187,7 @@ func (m *LoginPageLayoutConfiguration) SetIsHeaderShown(value *bool)() { panic(err) } } -// SetLayoutTemplateType sets the layoutTemplateType property value. Represents the layout template to be displayed on the login page for a tenant. The possible values are default - Represents the default Microsoft layout with a centered lightbox. verticalSplit - Represents a layout with a backgound on the left side and a full-height lightbox to the right. unknownFutureValue - Evolvable enumeration sentinel value. Do not use. +// SetLayoutTemplateType sets the layoutTemplateType property value. Represents the layout template to be displayed on the login page for a tenant. The possible values are default - Represents the default Microsoft layout with a centered lightbox. verticalSplit - Represents a layout with a background on the left side and a full-height lightbox to the right. unknownFutureValue - Evolvable enumeration sentinel value. Don't use. func (m *LoginPageLayoutConfiguration) SetLayoutTemplateType(value *LayoutTemplateType)() { err := m.GetBackingStore().Set("layoutTemplateType", value) if err != nil { diff --git a/models/logon_type.go b/models/logon_type.go index e0b0d709bec..05cbda1fcb0 100644 --- a/models/logon_type.go +++ b/models/logon_type.go @@ -47,3 +47,6 @@ func SerializeLogonType(values []LogonType) []string { } return result } +func (i LogonType) isMultiValue() bool { + return false +} diff --git a/models/long_running_operation_status.go b/models/long_running_operation_status.go index 403a4a720c3..261b42a548e 100644 --- a/models/long_running_operation_status.go +++ b/models/long_running_operation_status.go @@ -41,3 +41,6 @@ func SerializeLongRunningOperationStatus(values []LongRunningOperationStatus) [] } return result } +func (i LongRunningOperationStatus) isMultiValue() bool { + return false +} diff --git a/models/lost_mode_state.go b/models/lost_mode_state.go index e5421a38886..a9171c847d0 100644 --- a/models/lost_mode_state.go +++ b/models/lost_mode_state.go @@ -34,3 +34,6 @@ func SerializeLostModeState(values []LostModeState) []string { } return result } +func (i LostModeState) isMultiValue() bool { + return false +} diff --git a/models/mac_o_s_content_caching_client_policy.go b/models/mac_o_s_content_caching_client_policy.go index 90119bcc9ff..2df5fa0c55d 100644 --- a/models/mac_o_s_content_caching_client_policy.go +++ b/models/mac_o_s_content_caching_client_policy.go @@ -46,3 +46,6 @@ func SerializeMacOSContentCachingClientPolicy(values []MacOSContentCachingClient } return result } +func (i MacOSContentCachingClientPolicy) isMultiValue() bool { + return false +} diff --git a/models/mac_o_s_content_caching_parent_selection_policy.go b/models/mac_o_s_content_caching_parent_selection_policy.go index 4a3e255aebf..3a977771df5 100644 --- a/models/mac_o_s_content_caching_parent_selection_policy.go +++ b/models/mac_o_s_content_caching_parent_selection_policy.go @@ -50,3 +50,6 @@ func SerializeMacOSContentCachingParentSelectionPolicy(values []MacOSContentCach } return result } +func (i MacOSContentCachingParentSelectionPolicy) isMultiValue() bool { + return false +} diff --git a/models/mac_o_s_content_caching_peer_policy.go b/models/mac_o_s_content_caching_peer_policy.go index 6e3a68a49a7..180358d6eb3 100644 --- a/models/mac_o_s_content_caching_peer_policy.go +++ b/models/mac_o_s_content_caching_peer_policy.go @@ -42,3 +42,6 @@ func SerializeMacOSContentCachingPeerPolicy(values []MacOSContentCachingPeerPoli } return result } +func (i MacOSContentCachingPeerPolicy) isMultiValue() bool { + return false +} diff --git a/models/mac_o_s_content_caching_type.go b/models/mac_o_s_content_caching_type.go index 21ee0f61f77..c51cc8f419b 100644 --- a/models/mac_o_s_content_caching_type.go +++ b/models/mac_o_s_content_caching_type.go @@ -38,3 +38,6 @@ func SerializeMacOSContentCachingType(values []MacOSContentCachingType) []string } return result } +func (i MacOSContentCachingType) isMultiValue() bool { + return false +} diff --git a/models/mac_o_s_dmg_app_collection_response.go b/models/mac_o_s_dmg_app_collection_response.go new file mode 100644 index 00000000000..1f05cb82d50 --- /dev/null +++ b/models/mac_o_s_dmg_app_collection_response.go @@ -0,0 +1,87 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// MacOSDmgAppCollectionResponse +type MacOSDmgAppCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewMacOSDmgAppCollectionResponse instantiates a new macOSDmgAppCollectionResponse and sets the default values. +func NewMacOSDmgAppCollectionResponse()(*MacOSDmgAppCollectionResponse) { + m := &MacOSDmgAppCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateMacOSDmgAppCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateMacOSDmgAppCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewMacOSDmgAppCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *MacOSDmgAppCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateMacOSDmgAppFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]MacOSDmgAppable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(MacOSDmgAppable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *MacOSDmgAppCollectionResponse) GetValue()([]MacOSDmgAppable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]MacOSDmgAppable) + } + return nil +} +// Serialize serializes information the current object +func (m *MacOSDmgAppCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *MacOSDmgAppCollectionResponse) SetValue(value []MacOSDmgAppable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// MacOSDmgAppCollectionResponseable +type MacOSDmgAppCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]MacOSDmgAppable) + SetValue(value []MacOSDmgAppable)() +} diff --git a/models/mac_o_s_file_vault_recovery_key_types.go b/models/mac_o_s_file_vault_recovery_key_types.go index f1860d7686e..1f731044caa 100644 --- a/models/mac_o_s_file_vault_recovery_key_types.go +++ b/models/mac_o_s_file_vault_recovery_key_types.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Recovery key types for macOS FileVault type MacOSFileVaultRecoveryKeyTypes int @@ -15,19 +16,28 @@ const ( ) func (i MacOSFileVaultRecoveryKeyTypes) String() string { - return []string{"notConfigured", "institutionalRecoveryKey", "personalRecoveryKey"}[i] + var values []string + for p := MacOSFileVaultRecoveryKeyTypes(1); p <= PERSONALRECOVERYKEY_MACOSFILEVAULTRECOVERYKEYTYPES; p <<= 1 { + if i&p == p { + values = append(values, []string{"notConfigured", "institutionalRecoveryKey", "personalRecoveryKey"}[p]) + } + } + return strings.Join(values, ",") } func ParseMacOSFileVaultRecoveryKeyTypes(v string) (any, error) { - result := NOTCONFIGURED_MACOSFILEVAULTRECOVERYKEYTYPES - switch v { - case "notConfigured": - result = NOTCONFIGURED_MACOSFILEVAULTRECOVERYKEYTYPES - case "institutionalRecoveryKey": - result = INSTITUTIONALRECOVERYKEY_MACOSFILEVAULTRECOVERYKEYTYPES - case "personalRecoveryKey": - result = PERSONALRECOVERYKEY_MACOSFILEVAULTRECOVERYKEYTYPES - default: - return 0, errors.New("Unknown MacOSFileVaultRecoveryKeyTypes value: " + v) + var result MacOSFileVaultRecoveryKeyTypes + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "notConfigured": + result |= NOTCONFIGURED_MACOSFILEVAULTRECOVERYKEYTYPES + case "institutionalRecoveryKey": + result |= INSTITUTIONALRECOVERYKEY_MACOSFILEVAULTRECOVERYKEYTYPES + case "personalRecoveryKey": + result |= PERSONALRECOVERYKEY_MACOSFILEVAULTRECOVERYKEYTYPES + default: + return 0, errors.New("Unknown MacOSFileVaultRecoveryKeyTypes value: " + v) + } } return &result, nil } @@ -38,3 +48,6 @@ func SerializeMacOSFileVaultRecoveryKeyTypes(values []MacOSFileVaultRecoveryKeyT } return result } +func (i MacOSFileVaultRecoveryKeyTypes) isMultiValue() bool { + return true +} diff --git a/models/mac_o_s_gatekeeper_app_sources.go b/models/mac_o_s_gatekeeper_app_sources.go index 107bd7d76b4..6dd0097fc9d 100644 --- a/models/mac_o_s_gatekeeper_app_sources.go +++ b/models/mac_o_s_gatekeeper_app_sources.go @@ -42,3 +42,6 @@ func SerializeMacOSGatekeeperAppSources(values []MacOSGatekeeperAppSources) []st } return result } +func (i MacOSGatekeeperAppSources) isMultiValue() bool { + return false +} diff --git a/models/mac_o_s_lob_app_collection_response.go b/models/mac_o_s_lob_app_collection_response.go new file mode 100644 index 00000000000..af9fb60f99b --- /dev/null +++ b/models/mac_o_s_lob_app_collection_response.go @@ -0,0 +1,87 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// MacOSLobAppCollectionResponse +type MacOSLobAppCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewMacOSLobAppCollectionResponse instantiates a new macOSLobAppCollectionResponse and sets the default values. +func NewMacOSLobAppCollectionResponse()(*MacOSLobAppCollectionResponse) { + m := &MacOSLobAppCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateMacOSLobAppCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateMacOSLobAppCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewMacOSLobAppCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *MacOSLobAppCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateMacOSLobAppFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]MacOSLobAppable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(MacOSLobAppable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *MacOSLobAppCollectionResponse) GetValue()([]MacOSLobAppable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]MacOSLobAppable) + } + return nil +} +// Serialize serializes information the current object +func (m *MacOSLobAppCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *MacOSLobAppCollectionResponse) SetValue(value []MacOSLobAppable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// MacOSLobAppCollectionResponseable +type MacOSLobAppCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]MacOSLobAppable) + SetValue(value []MacOSLobAppable)() +} diff --git a/models/mac_o_s_pkg_app_collection_response.go b/models/mac_o_s_pkg_app_collection_response.go new file mode 100644 index 00000000000..ea70a633a3e --- /dev/null +++ b/models/mac_o_s_pkg_app_collection_response.go @@ -0,0 +1,87 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// MacOSPkgAppCollectionResponse +type MacOSPkgAppCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewMacOSPkgAppCollectionResponse instantiates a new macOSPkgAppCollectionResponse and sets the default values. +func NewMacOSPkgAppCollectionResponse()(*MacOSPkgAppCollectionResponse) { + m := &MacOSPkgAppCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateMacOSPkgAppCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateMacOSPkgAppCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewMacOSPkgAppCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *MacOSPkgAppCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateMacOSPkgAppFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]MacOSPkgAppable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(MacOSPkgAppable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *MacOSPkgAppCollectionResponse) GetValue()([]MacOSPkgAppable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]MacOSPkgAppable) + } + return nil +} +// Serialize serializes information the current object +func (m *MacOSPkgAppCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *MacOSPkgAppCollectionResponse) SetValue(value []MacOSPkgAppable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// MacOSPkgAppCollectionResponseable +type MacOSPkgAppCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]MacOSPkgAppable) + SetValue(value []MacOSPkgAppable)() +} diff --git a/models/mac_o_s_priority.go b/models/mac_o_s_priority.go index 1e74bffe090..20066acc836 100644 --- a/models/mac_o_s_priority.go +++ b/models/mac_o_s_priority.go @@ -38,3 +38,6 @@ func SerializeMacOSPriority(values []MacOSPriority) []string { } return result } +func (i MacOSPriority) isMultiValue() bool { + return false +} diff --git a/models/mac_o_s_process_identifier_type.go b/models/mac_o_s_process_identifier_type.go index 04704b73a27..fb4cdbc99e6 100644 --- a/models/mac_o_s_process_identifier_type.go +++ b/models/mac_o_s_process_identifier_type.go @@ -34,3 +34,6 @@ func SerializeMacOSProcessIdentifierType(values []MacOSProcessIdentifierType) [] } return result } +func (i MacOSProcessIdentifierType) isMultiValue() bool { + return false +} diff --git a/models/mac_o_s_software_update_behavior.go b/models/mac_o_s_software_update_behavior.go index 3ef1c91cabc..bbe43a63607 100644 --- a/models/mac_o_s_software_update_behavior.go +++ b/models/mac_o_s_software_update_behavior.go @@ -50,3 +50,6 @@ func SerializeMacOSSoftwareUpdateBehavior(values []MacOSSoftwareUpdateBehavior) } return result } +func (i MacOSSoftwareUpdateBehavior) isMultiValue() bool { + return false +} diff --git a/models/mac_o_s_software_update_category.go b/models/mac_o_s_software_update_category.go index 7a56d55f40e..0e8361bafbf 100644 --- a/models/mac_o_s_software_update_category.go +++ b/models/mac_o_s_software_update_category.go @@ -42,3 +42,6 @@ func SerializeMacOSSoftwareUpdateCategory(values []MacOSSoftwareUpdateCategory) } return result } +func (i MacOSSoftwareUpdateCategory) isMultiValue() bool { + return false +} diff --git a/models/mac_o_s_software_update_delay_policy.go b/models/mac_o_s_software_update_delay_policy.go index d5301dd914d..00a4c2e21ea 100644 --- a/models/mac_o_s_software_update_delay_policy.go +++ b/models/mac_o_s_software_update_delay_policy.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Flag enum to determine whether to delay software updates for macOS. type MacOSSoftwareUpdateDelayPolicy int @@ -19,23 +20,32 @@ const ( ) func (i MacOSSoftwareUpdateDelayPolicy) String() string { - return []string{"none", "delayOSUpdateVisibility", "delayAppUpdateVisibility", "unknownFutureValue", "delayMajorOsUpdateVisibility"}[i] + var values []string + for p := MacOSSoftwareUpdateDelayPolicy(1); p <= DELAYMAJOROSUPDATEVISIBILITY_MACOSSOFTWAREUPDATEDELAYPOLICY; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "delayOSUpdateVisibility", "delayAppUpdateVisibility", "unknownFutureValue", "delayMajorOsUpdateVisibility"}[p]) + } + } + return strings.Join(values, ",") } func ParseMacOSSoftwareUpdateDelayPolicy(v string) (any, error) { - result := NONE_MACOSSOFTWAREUPDATEDELAYPOLICY - switch v { - case "none": - result = NONE_MACOSSOFTWAREUPDATEDELAYPOLICY - case "delayOSUpdateVisibility": - result = DELAYOSUPDATEVISIBILITY_MACOSSOFTWAREUPDATEDELAYPOLICY - case "delayAppUpdateVisibility": - result = DELAYAPPUPDATEVISIBILITY_MACOSSOFTWAREUPDATEDELAYPOLICY - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_MACOSSOFTWAREUPDATEDELAYPOLICY - case "delayMajorOsUpdateVisibility": - result = DELAYMAJOROSUPDATEVISIBILITY_MACOSSOFTWAREUPDATEDELAYPOLICY - default: - return 0, errors.New("Unknown MacOSSoftwareUpdateDelayPolicy value: " + v) + var result MacOSSoftwareUpdateDelayPolicy + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_MACOSSOFTWAREUPDATEDELAYPOLICY + case "delayOSUpdateVisibility": + result |= DELAYOSUPDATEVISIBILITY_MACOSSOFTWAREUPDATEDELAYPOLICY + case "delayAppUpdateVisibility": + result |= DELAYAPPUPDATEVISIBILITY_MACOSSOFTWAREUPDATEDELAYPOLICY + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_MACOSSOFTWAREUPDATEDELAYPOLICY + case "delayMajorOsUpdateVisibility": + result |= DELAYMAJOROSUPDATEVISIBILITY_MACOSSOFTWAREUPDATEDELAYPOLICY + default: + return 0, errors.New("Unknown MacOSSoftwareUpdateDelayPolicy value: " + v) + } } return &result, nil } @@ -46,3 +56,6 @@ func SerializeMacOSSoftwareUpdateDelayPolicy(values []MacOSSoftwareUpdateDelayPo } return result } +func (i MacOSSoftwareUpdateDelayPolicy) isMultiValue() bool { + return true +} diff --git a/models/mac_o_s_software_update_schedule_type.go b/models/mac_o_s_software_update_schedule_type.go index 1345f664b6e..ae3f56dc005 100644 --- a/models/mac_o_s_software_update_schedule_type.go +++ b/models/mac_o_s_software_update_schedule_type.go @@ -38,3 +38,6 @@ func SerializeMacOSSoftwareUpdateScheduleType(values []MacOSSoftwareUpdateSchedu } return result } +func (i MacOSSoftwareUpdateScheduleType) isMultiValue() bool { + return false +} diff --git a/models/mac_o_s_software_update_state.go b/models/mac_o_s_software_update_state.go index a8b5122c8b6..42203a80c1b 100644 --- a/models/mac_o_s_software_update_state.go +++ b/models/mac_o_s_software_update_state.go @@ -86,3 +86,6 @@ func SerializeMacOSSoftwareUpdateState(values []MacOSSoftwareUpdateState) []stri } return result } +func (i MacOSSoftwareUpdateState) isMultiValue() bool { + return false +} diff --git a/models/mac_o_s_system_extension_type.go b/models/mac_o_s_system_extension_type.go index 679bb389e00..db7010f5daf 100644 --- a/models/mac_o_s_system_extension_type.go +++ b/models/mac_o_s_system_extension_type.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Flag enum representing the allowed macOS system extension types. type MacOSSystemExtensionType int @@ -15,19 +16,28 @@ const ( ) func (i MacOSSystemExtensionType) String() string { - return []string{"driverExtensionsAllowed", "networkExtensionsAllowed", "endpointSecurityExtensionsAllowed"}[i] + var values []string + for p := MacOSSystemExtensionType(1); p <= ENDPOINTSECURITYEXTENSIONSALLOWED_MACOSSYSTEMEXTENSIONTYPE; p <<= 1 { + if i&p == p { + values = append(values, []string{"driverExtensionsAllowed", "networkExtensionsAllowed", "endpointSecurityExtensionsAllowed"}[p]) + } + } + return strings.Join(values, ",") } func ParseMacOSSystemExtensionType(v string) (any, error) { - result := DRIVEREXTENSIONSALLOWED_MACOSSYSTEMEXTENSIONTYPE - switch v { - case "driverExtensionsAllowed": - result = DRIVEREXTENSIONSALLOWED_MACOSSYSTEMEXTENSIONTYPE - case "networkExtensionsAllowed": - result = NETWORKEXTENSIONSALLOWED_MACOSSYSTEMEXTENSIONTYPE - case "endpointSecurityExtensionsAllowed": - result = ENDPOINTSECURITYEXTENSIONSALLOWED_MACOSSYSTEMEXTENSIONTYPE - default: - return 0, errors.New("Unknown MacOSSystemExtensionType value: " + v) + var result MacOSSystemExtensionType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "driverExtensionsAllowed": + result |= DRIVEREXTENSIONSALLOWED_MACOSSYSTEMEXTENSIONTYPE + case "networkExtensionsAllowed": + result |= NETWORKEXTENSIONSALLOWED_MACOSSYSTEMEXTENSIONTYPE + case "endpointSecurityExtensionsAllowed": + result |= ENDPOINTSECURITYEXTENSIONSALLOWED_MACOSSYSTEMEXTENSIONTYPE + default: + return 0, errors.New("Unknown MacOSSystemExtensionType value: " + v) + } } return &result, nil } @@ -38,3 +48,6 @@ func SerializeMacOSSystemExtensionType(values []MacOSSystemExtensionType) []stri } return result } +func (i MacOSSystemExtensionType) isMultiValue() bool { + return true +} diff --git a/models/mac_os_lob_app_assignment_settings.go b/models/mac_os_lob_app_assignment_settings.go index 1ef77798b5e..3f00c04ddb3 100644 --- a/models/mac_os_lob_app_assignment_settings.go +++ b/models/mac_os_lob_app_assignment_settings.go @@ -36,7 +36,7 @@ func (m *MacOsLobAppAssignmentSettings) GetFieldDeserializers()(map[string]func( } return res } -// GetUninstallOnDeviceRemoval gets the uninstallOnDeviceRemoval property value. When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. +// GetUninstallOnDeviceRemoval gets the uninstallOnDeviceRemoval property value. Whether or not to uninstall the app when device is removed from Intune. func (m *MacOsLobAppAssignmentSettings) GetUninstallOnDeviceRemoval()(*bool) { val, err := m.GetBackingStore().Get("uninstallOnDeviceRemoval") if err != nil { @@ -61,7 +61,7 @@ func (m *MacOsLobAppAssignmentSettings) Serialize(writer i878a80d2330e89d2689638 } return nil } -// SetUninstallOnDeviceRemoval sets the uninstallOnDeviceRemoval property value. When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. +// SetUninstallOnDeviceRemoval sets the uninstallOnDeviceRemoval property value. Whether or not to uninstall the app when device is removed from Intune. func (m *MacOsLobAppAssignmentSettings) SetUninstallOnDeviceRemoval(value *bool)() { err := m.GetBackingStore().Set("uninstallOnDeviceRemoval", value) if err != nil { diff --git a/models/mail_destination_routing_reason.go b/models/mail_destination_routing_reason.go index 18db0354e66..06de03cef22 100644 --- a/models/mail_destination_routing_reason.go +++ b/models/mail_destination_routing_reason.go @@ -74,3 +74,6 @@ func SerializeMailDestinationRoutingReason(values []MailDestinationRoutingReason } return result } +func (i MailDestinationRoutingReason) isMultiValue() bool { + return false +} diff --git a/models/mail_tips_type.go b/models/mail_tips_type.go index 8b6e39f1d4f..28f2db3288d 100644 --- a/models/mail_tips_type.go +++ b/models/mail_tips_type.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type MailTipsType int @@ -19,33 +20,42 @@ const ( ) func (i MailTipsType) String() string { - return []string{"automaticReplies", "mailboxFullStatus", "customMailTip", "externalMemberCount", "totalMemberCount", "maxMessageSize", "deliveryRestriction", "moderationStatus", "recipientScope", "recipientSuggestions"}[i] + var values []string + for p := MailTipsType(1); p <= RECIPIENTSUGGESTIONS_MAILTIPSTYPE; p <<= 1 { + if i&p == p { + values = append(values, []string{"automaticReplies", "mailboxFullStatus", "customMailTip", "externalMemberCount", "totalMemberCount", "maxMessageSize", "deliveryRestriction", "moderationStatus", "recipientScope", "recipientSuggestions"}[p]) + } + } + return strings.Join(values, ",") } func ParseMailTipsType(v string) (any, error) { - result := AUTOMATICREPLIES_MAILTIPSTYPE - switch v { - case "automaticReplies": - result = AUTOMATICREPLIES_MAILTIPSTYPE - case "mailboxFullStatus": - result = MAILBOXFULLSTATUS_MAILTIPSTYPE - case "customMailTip": - result = CUSTOMMAILTIP_MAILTIPSTYPE - case "externalMemberCount": - result = EXTERNALMEMBERCOUNT_MAILTIPSTYPE - case "totalMemberCount": - result = TOTALMEMBERCOUNT_MAILTIPSTYPE - case "maxMessageSize": - result = MAXMESSAGESIZE_MAILTIPSTYPE - case "deliveryRestriction": - result = DELIVERYRESTRICTION_MAILTIPSTYPE - case "moderationStatus": - result = MODERATIONSTATUS_MAILTIPSTYPE - case "recipientScope": - result = RECIPIENTSCOPE_MAILTIPSTYPE - case "recipientSuggestions": - result = RECIPIENTSUGGESTIONS_MAILTIPSTYPE - default: - return 0, errors.New("Unknown MailTipsType value: " + v) + var result MailTipsType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "automaticReplies": + result |= AUTOMATICREPLIES_MAILTIPSTYPE + case "mailboxFullStatus": + result |= MAILBOXFULLSTATUS_MAILTIPSTYPE + case "customMailTip": + result |= CUSTOMMAILTIP_MAILTIPSTYPE + case "externalMemberCount": + result |= EXTERNALMEMBERCOUNT_MAILTIPSTYPE + case "totalMemberCount": + result |= TOTALMEMBERCOUNT_MAILTIPSTYPE + case "maxMessageSize": + result |= MAXMESSAGESIZE_MAILTIPSTYPE + case "deliveryRestriction": + result |= DELIVERYRESTRICTION_MAILTIPSTYPE + case "moderationStatus": + result |= MODERATIONSTATUS_MAILTIPSTYPE + case "recipientScope": + result |= RECIPIENTSCOPE_MAILTIPSTYPE + case "recipientSuggestions": + result |= RECIPIENTSUGGESTIONS_MAILTIPSTYPE + default: + return 0, errors.New("Unknown MailTipsType value: " + v) + } } return &result, nil } @@ -56,3 +66,6 @@ func SerializeMailTipsType(values []MailTipsType) []string { } return result } +func (i MailTipsType) isMultiValue() bool { + return true +} diff --git a/models/mailbox_recipient_type.go b/models/mailbox_recipient_type.go index 309368a23c5..0a0d12c0361 100644 --- a/models/mailbox_recipient_type.go +++ b/models/mailbox_recipient_type.go @@ -47,3 +47,6 @@ func SerializeMailboxRecipientType(values []MailboxRecipientType) []string { } return result } +func (i MailboxRecipientType) isMultiValue() bool { + return false +} diff --git a/models/managed_android_lob_app_collection_response.go b/models/managed_android_lob_app_collection_response.go new file mode 100644 index 00000000000..3495f319733 --- /dev/null +++ b/models/managed_android_lob_app_collection_response.go @@ -0,0 +1,87 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// ManagedAndroidLobAppCollectionResponse +type ManagedAndroidLobAppCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewManagedAndroidLobAppCollectionResponse instantiates a new managedAndroidLobAppCollectionResponse and sets the default values. +func NewManagedAndroidLobAppCollectionResponse()(*ManagedAndroidLobAppCollectionResponse) { + m := &ManagedAndroidLobAppCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateManagedAndroidLobAppCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateManagedAndroidLobAppCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewManagedAndroidLobAppCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *ManagedAndroidLobAppCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateManagedAndroidLobAppFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ManagedAndroidLobAppable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ManagedAndroidLobAppable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *ManagedAndroidLobAppCollectionResponse) GetValue()([]ManagedAndroidLobAppable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ManagedAndroidLobAppable) + } + return nil +} +// Serialize serializes information the current object +func (m *ManagedAndroidLobAppCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ManagedAndroidLobAppCollectionResponse) SetValue(value []ManagedAndroidLobAppable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// ManagedAndroidLobAppCollectionResponseable +type ManagedAndroidLobAppCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ManagedAndroidLobAppable) + SetValue(value []ManagedAndroidLobAppable)() +} diff --git a/models/managed_app_availability.go b/models/managed_app_availability.go index 490e449f1b9..affe022a6ee 100644 --- a/models/managed_app_availability.go +++ b/models/managed_app_availability.go @@ -34,3 +34,6 @@ func SerializeManagedAppAvailability(values []ManagedAppAvailability) []string { } return result } +func (i ManagedAppAvailability) isMultiValue() bool { + return false +} diff --git a/models/managed_app_clipboard_sharing_level.go b/models/managed_app_clipboard_sharing_level.go index 659d2d222d5..252e7afc341 100644 --- a/models/managed_app_clipboard_sharing_level.go +++ b/models/managed_app_clipboard_sharing_level.go @@ -42,3 +42,6 @@ func SerializeManagedAppClipboardSharingLevel(values []ManagedAppClipboardSharin } return result } +func (i ManagedAppClipboardSharingLevel) isMultiValue() bool { + return false +} diff --git a/models/managed_app_data_encryption_type.go b/models/managed_app_data_encryption_type.go index 9d1fc708ca0..611780eefc5 100644 --- a/models/managed_app_data_encryption_type.go +++ b/models/managed_app_data_encryption_type.go @@ -42,3 +42,6 @@ func SerializeManagedAppDataEncryptionType(values []ManagedAppDataEncryptionType } return result } +func (i ManagedAppDataEncryptionType) isMultiValue() bool { + return false +} diff --git a/models/managed_app_data_ingestion_location.go b/models/managed_app_data_ingestion_location.go index 1e47a1a4250..cdaa85cfa9e 100644 --- a/models/managed_app_data_ingestion_location.go +++ b/models/managed_app_data_ingestion_location.go @@ -42,3 +42,6 @@ func SerializeManagedAppDataIngestionLocation(values []ManagedAppDataIngestionLo } return result } +func (i ManagedAppDataIngestionLocation) isMultiValue() bool { + return false +} diff --git a/models/managed_app_data_storage_location.go b/models/managed_app_data_storage_location.go index f0518563f54..5d23f320c73 100644 --- a/models/managed_app_data_storage_location.go +++ b/models/managed_app_data_storage_location.go @@ -46,3 +46,6 @@ func SerializeManagedAppDataStorageLocation(values []ManagedAppDataStorageLocati } return result } +func (i ManagedAppDataStorageLocation) isMultiValue() bool { + return false +} diff --git a/models/managed_app_data_transfer_level.go b/models/managed_app_data_transfer_level.go index 5cbf9ad8336..627db9a0280 100644 --- a/models/managed_app_data_transfer_level.go +++ b/models/managed_app_data_transfer_level.go @@ -38,3 +38,6 @@ func SerializeManagedAppDataTransferLevel(values []ManagedAppDataTransferLevel) } return result } +func (i ManagedAppDataTransferLevel) isMultiValue() bool { + return false +} diff --git a/models/managed_app_device_threat_level.go b/models/managed_app_device_threat_level.go index 0eeb7c86c23..b7bb0860a33 100644 --- a/models/managed_app_device_threat_level.go +++ b/models/managed_app_device_threat_level.go @@ -46,3 +46,6 @@ func SerializeManagedAppDeviceThreatLevel(values []ManagedAppDeviceThreatLevel) } return result } +func (i ManagedAppDeviceThreatLevel) isMultiValue() bool { + return false +} diff --git a/models/managed_app_flagged_reason.go b/models/managed_app_flagged_reason.go index 4579ccfd350..3e016c0c73e 100644 --- a/models/managed_app_flagged_reason.go +++ b/models/managed_app_flagged_reason.go @@ -42,3 +42,6 @@ func SerializeManagedAppFlaggedReason(values []ManagedAppFlaggedReason) []string } return result } +func (i ManagedAppFlaggedReason) isMultiValue() bool { + return false +} diff --git a/models/managed_app_notification_restriction.go b/models/managed_app_notification_restriction.go index f9ef7b3ac12..695923ea150 100644 --- a/models/managed_app_notification_restriction.go +++ b/models/managed_app_notification_restriction.go @@ -38,3 +38,6 @@ func SerializeManagedAppNotificationRestriction(values []ManagedAppNotificationR } return result } +func (i ManagedAppNotificationRestriction) isMultiValue() bool { + return false +} diff --git a/models/managed_app_phone_number_redirect_level.go b/models/managed_app_phone_number_redirect_level.go index 5999b0ef72d..d8a1dd2ed8f 100644 --- a/models/managed_app_phone_number_redirect_level.go +++ b/models/managed_app_phone_number_redirect_level.go @@ -42,3 +42,6 @@ func SerializeManagedAppPhoneNumberRedirectLevel(values []ManagedAppPhoneNumberR } return result } +func (i ManagedAppPhoneNumberRedirectLevel) isMultiValue() bool { + return false +} diff --git a/models/managed_app_pin_character_set.go b/models/managed_app_pin_character_set.go index 546c0fa8410..a76ce2a1175 100644 --- a/models/managed_app_pin_character_set.go +++ b/models/managed_app_pin_character_set.go @@ -34,3 +34,6 @@ func SerializeManagedAppPinCharacterSet(values []ManagedAppPinCharacterSet) []st } return result } +func (i ManagedAppPinCharacterSet) isMultiValue() bool { + return false +} diff --git a/models/managed_app_registration.go b/models/managed_app_registration.go index 7cb06e97098..8a48b6ec772 100644 --- a/models/managed_app_registration.go +++ b/models/managed_app_registration.go @@ -34,6 +34,8 @@ func CreateManagedAppRegistrationFromDiscriminatorValue(parseNode i878a80d2330e8 return NewAndroidManagedAppRegistration(), nil case "#microsoft.graph.iosManagedAppRegistration": return NewIosManagedAppRegistration(), nil + case "#microsoft.graph.windowsManagedAppRegistration": + return NewWindowsManagedAppRegistration(), nil } } } diff --git a/models/managed_app_remediation_action.go b/models/managed_app_remediation_action.go index 9f443cd1bc9..e8d3b728310 100644 --- a/models/managed_app_remediation_action.go +++ b/models/managed_app_remediation_action.go @@ -38,3 +38,6 @@ func SerializeManagedAppRemediationAction(values []ManagedAppRemediationAction) } return result } +func (i ManagedAppRemediationAction) isMultiValue() bool { + return false +} diff --git a/models/managed_browser_type.go b/models/managed_browser_type.go index 549dbb63aab..877f8a068a3 100644 --- a/models/managed_browser_type.go +++ b/models/managed_browser_type.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Type of managed browser type ManagedBrowserType int @@ -13,17 +14,26 @@ const ( ) func (i ManagedBrowserType) String() string { - return []string{"notConfigured", "microsoftEdge"}[i] + var values []string + for p := ManagedBrowserType(1); p <= MICROSOFTEDGE_MANAGEDBROWSERTYPE; p <<= 1 { + if i&p == p { + values = append(values, []string{"notConfigured", "microsoftEdge"}[p]) + } + } + return strings.Join(values, ",") } func ParseManagedBrowserType(v string) (any, error) { - result := NOTCONFIGURED_MANAGEDBROWSERTYPE - switch v { - case "notConfigured": - result = NOTCONFIGURED_MANAGEDBROWSERTYPE - case "microsoftEdge": - result = MICROSOFTEDGE_MANAGEDBROWSERTYPE - default: - return 0, errors.New("Unknown ManagedBrowserType value: " + v) + var result ManagedBrowserType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "notConfigured": + result |= NOTCONFIGURED_MANAGEDBROWSERTYPE + case "microsoftEdge": + result |= MICROSOFTEDGE_MANAGEDBROWSERTYPE + default: + return 0, errors.New("Unknown ManagedBrowserType value: " + v) + } } return &result, nil } @@ -34,3 +44,6 @@ func SerializeManagedBrowserType(values []ManagedBrowserType) []string { } return result } +func (i ManagedBrowserType) isMultiValue() bool { + return true +} diff --git a/models/managed_device_architecture.go b/models/managed_device_architecture.go index db20b079d34..36e1b0d94bb 100644 --- a/models/managed_device_architecture.go +++ b/models/managed_device_architecture.go @@ -46,3 +46,6 @@ func SerializeManagedDeviceArchitecture(values []ManagedDeviceArchitecture) []st } return result } +func (i ManagedDeviceArchitecture) isMultiValue() bool { + return false +} diff --git a/models/managed_device_management_features.go b/models/managed_device_management_features.go index 8e0c109c5f9..72d4ae068e5 100644 --- a/models/managed_device_management_features.go +++ b/models/managed_device_management_features.go @@ -34,3 +34,6 @@ func SerializeManagedDeviceManagementFeatures(values []ManagedDeviceManagementFe } return result } +func (i ManagedDeviceManagementFeatures) isMultiValue() bool { + return false +} diff --git a/models/managed_device_owner_type.go b/models/managed_device_owner_type.go index 7b01672fe21..b3e00dfc6d4 100644 --- a/models/managed_device_owner_type.go +++ b/models/managed_device_owner_type.go @@ -38,3 +38,6 @@ func SerializeManagedDeviceOwnerType(values []ManagedDeviceOwnerType) []string { } return result } +func (i ManagedDeviceOwnerType) isMultiValue() bool { + return false +} diff --git a/models/managed_device_partner_reported_health_state.go b/models/managed_device_partner_reported_health_state.go index 72551e6ea8d..755465d246c 100644 --- a/models/managed_device_partner_reported_health_state.go +++ b/models/managed_device_partner_reported_health_state.go @@ -66,3 +66,6 @@ func SerializeManagedDevicePartnerReportedHealthState(values []ManagedDevicePart } return result } +func (i ManagedDevicePartnerReportedHealthState) isMultiValue() bool { + return false +} diff --git a/models/managed_device_remote_action.go b/models/managed_device_remote_action.go index a508f8ec12a..78be6005638 100644 --- a/models/managed_device_remote_action.go +++ b/models/managed_device_remote_action.go @@ -102,3 +102,6 @@ func SerializeManagedDeviceRemoteAction(values []ManagedDeviceRemoteAction) []st } return result } +func (i ManagedDeviceRemoteAction) isMultiValue() bool { + return false +} diff --git a/models/managed_i_o_s_lob_app_collection_response.go b/models/managed_i_o_s_lob_app_collection_response.go new file mode 100644 index 00000000000..76eb4f8e592 --- /dev/null +++ b/models/managed_i_o_s_lob_app_collection_response.go @@ -0,0 +1,87 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// ManagedIOSLobAppCollectionResponse +type ManagedIOSLobAppCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewManagedIOSLobAppCollectionResponse instantiates a new managedIOSLobAppCollectionResponse and sets the default values. +func NewManagedIOSLobAppCollectionResponse()(*ManagedIOSLobAppCollectionResponse) { + m := &ManagedIOSLobAppCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateManagedIOSLobAppCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateManagedIOSLobAppCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewManagedIOSLobAppCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *ManagedIOSLobAppCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateManagedIOSLobAppFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ManagedIOSLobAppable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ManagedIOSLobAppable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *ManagedIOSLobAppCollectionResponse) GetValue()([]ManagedIOSLobAppable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ManagedIOSLobAppable) + } + return nil +} +// Serialize serializes information the current object +func (m *ManagedIOSLobAppCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ManagedIOSLobAppCollectionResponse) SetValue(value []ManagedIOSLobAppable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// ManagedIOSLobAppCollectionResponseable +type ManagedIOSLobAppCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ManagedIOSLobAppable) + SetValue(value []ManagedIOSLobAppable)() +} diff --git a/models/managed_installer_status.go b/models/managed_installer_status.go index 81e417c5dc0..3db49190a95 100644 --- a/models/managed_installer_status.go +++ b/models/managed_installer_status.go @@ -34,3 +34,6 @@ func SerializeManagedInstallerStatus(values []ManagedInstallerStatus) []string { } return result } +func (i ManagedInstallerStatus) isMultiValue() bool { + return false +} diff --git a/models/managedtenants/alert_severity.go b/models/managedtenants/alert_severity.go index a405f36402a..7a9979e5a9c 100644 --- a/models/managedtenants/alert_severity.go +++ b/models/managedtenants/alert_severity.go @@ -44,3 +44,6 @@ func SerializeAlertSeverity(values []AlertSeverity) []string { } return result } +func (i AlertSeverity) isMultiValue() bool { + return false +} diff --git a/models/managedtenants/alert_status.go b/models/managedtenants/alert_status.go index 3e09ebdfb86..5e0bbf4f2de 100644 --- a/models/managedtenants/alert_status.go +++ b/models/managedtenants/alert_status.go @@ -44,3 +44,6 @@ func SerializeAlertStatus(values []AlertStatus) []string { } return result } +func (i AlertStatus) isMultiValue() bool { + return false +} diff --git a/models/managedtenants/audit_event.go b/models/managedtenants/audit_event.go index 0ba00be8112..778a81b4cfe 100644 --- a/models/managedtenants/audit_event.go +++ b/models/managedtenants/audit_event.go @@ -21,7 +21,7 @@ func NewAuditEvent()(*AuditEvent) { func CreateAuditEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewAuditEvent(), nil } -// GetActivity gets the activity property value. A string which uniquely represents the operation that occurred. Required. Read-only. +// GetActivity gets the activity property value. A string that uniquely represents the operation that occurred. Required. Read-only. func (m *AuditEvent) GetActivity()(*string) { val, err := m.GetBackingStore().Get("activity") if err != nil { @@ -32,7 +32,7 @@ func (m *AuditEvent) GetActivity()(*string) { } return nil } -// GetActivityDateTime gets the activityDateTime property value. The time when the activity ocurred. Required. Read-only. +// GetActivityDateTime gets the activityDateTime property value. The time when the activity occurred. Required. Read-only. func (m *AuditEvent) GetActivityDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("activityDateTime") if err != nil { @@ -54,7 +54,7 @@ func (m *AuditEvent) GetActivityId()(*string) { } return nil } -// GetCategory gets the category property value. A category which represents a logical grouping of activities. Required. Read-only. +// GetCategory gets the category property value. A category that represents a logical grouping of activities. Required. Read-only. func (m *AuditEvent) GetCategory()(*string) { val, err := m.GetBackingStore().Get("category") if err != nil { @@ -277,7 +277,7 @@ func (m *AuditEvent) GetRequestUrl()(*string) { } return nil } -// GetTenantIds gets the tenantIds property value. The collection of Azure Active Directory tenant identifiers for the managed tenants that were impacted by this change. This is formatted as a list of comma-separated values. Required. Read-only. +// GetTenantIds gets the tenantIds property value. The collection of Azure Active Directory tenant identifiers for the managed tenants that were affected by a change, and is formatted as a list of comma-separated values. Required. Read-only. func (m *AuditEvent) GetTenantIds()(*string) { val, err := m.GetBackingStore().Get("tenantIds") if err != nil { @@ -288,7 +288,7 @@ func (m *AuditEvent) GetTenantIds()(*string) { } return nil } -// GetTenantNames gets the tenantNames property value. The collection of tenant names that were impacted by this change. This is formatted as a list of comma-separated values. Required. Read-only. +// GetTenantNames gets the tenantNames property value. The collection of tenant names that were affected by a change, and is formatted as a list of comma-separated values. Required. Read-only. func (m *AuditEvent) GetTenantNames()(*string) { val, err := m.GetBackingStore().Get("tenantNames") if err != nil { @@ -385,14 +385,14 @@ func (m *AuditEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c } return nil } -// SetActivity sets the activity property value. A string which uniquely represents the operation that occurred. Required. Read-only. +// SetActivity sets the activity property value. A string that uniquely represents the operation that occurred. Required. Read-only. func (m *AuditEvent) SetActivity(value *string)() { err := m.GetBackingStore().Set("activity", value) if err != nil { panic(err) } } -// SetActivityDateTime sets the activityDateTime property value. The time when the activity ocurred. Required. Read-only. +// SetActivityDateTime sets the activityDateTime property value. The time when the activity occurred. Required. Read-only. func (m *AuditEvent) SetActivityDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("activityDateTime", value) if err != nil { @@ -406,7 +406,7 @@ func (m *AuditEvent) SetActivityId(value *string)() { panic(err) } } -// SetCategory sets the category property value. A category which represents a logical grouping of activities. Required. Read-only. +// SetCategory sets the category property value. A category that represents a logical grouping of activities. Required. Read-only. func (m *AuditEvent) SetCategory(value *string)() { err := m.GetBackingStore().Set("category", value) if err != nil { @@ -462,14 +462,14 @@ func (m *AuditEvent) SetRequestUrl(value *string)() { panic(err) } } -// SetTenantIds sets the tenantIds property value. The collection of Azure Active Directory tenant identifiers for the managed tenants that were impacted by this change. This is formatted as a list of comma-separated values. Required. Read-only. +// SetTenantIds sets the tenantIds property value. The collection of Azure Active Directory tenant identifiers for the managed tenants that were affected by a change, and is formatted as a list of comma-separated values. Required. Read-only. func (m *AuditEvent) SetTenantIds(value *string)() { err := m.GetBackingStore().Set("tenantIds", value) if err != nil { panic(err) } } -// SetTenantNames sets the tenantNames property value. The collection of tenant names that were impacted by this change. This is formatted as a list of comma-separated values. Required. Read-only. +// SetTenantNames sets the tenantNames property value. The collection of tenant names that were affected by a change, and is formatted as a list of comma-separated values. Required. Read-only. func (m *AuditEvent) SetTenantNames(value *string)() { err := m.GetBackingStore().Set("tenantNames", value) if err != nil { diff --git a/models/managedtenants/delegated_privilege_status.go b/models/managedtenants/delegated_privilege_status.go index 670e77c919a..bd711208161 100644 --- a/models/managedtenants/delegated_privilege_status.go +++ b/models/managedtenants/delegated_privilege_status.go @@ -41,3 +41,6 @@ func SerializeDelegatedPrivilegeStatus(values []DelegatedPrivilegeStatus) []stri } return result } +func (i DelegatedPrivilegeStatus) isMultiValue() bool { + return false +} diff --git a/models/managedtenants/management_action_status.go b/models/managedtenants/management_action_status.go index df606db4915..3f733170707 100644 --- a/models/managedtenants/management_action_status.go +++ b/models/managedtenants/management_action_status.go @@ -56,3 +56,6 @@ func SerializeManagementActionStatus(values []ManagementActionStatus) []string { } return result } +func (i ManagementActionStatus) isMultiValue() bool { + return false +} diff --git a/models/managedtenants/management_category.go b/models/managedtenants/management_category.go index ca6a65ac831..dba5f48b653 100644 --- a/models/managedtenants/management_category.go +++ b/models/managedtenants/management_category.go @@ -41,3 +41,6 @@ func SerializeManagementCategory(values []ManagementCategory) []string { } return result } +func (i ManagementCategory) isMultiValue() bool { + return false +} diff --git a/models/managedtenants/management_parameter_value_type.go b/models/managedtenants/management_parameter_value_type.go index ad3e4e10850..6b6a3131423 100644 --- a/models/managedtenants/management_parameter_value_type.go +++ b/models/managedtenants/management_parameter_value_type.go @@ -53,3 +53,6 @@ func SerializeManagementParameterValueType(values []ManagementParameterValueType } return result } +func (i ManagementParameterValueType) isMultiValue() bool { + return false +} diff --git a/models/managedtenants/management_provider.go b/models/managedtenants/management_provider.go index 9949b1d132f..d697575fde7 100644 --- a/models/managedtenants/management_provider.go +++ b/models/managedtenants/management_provider.go @@ -41,3 +41,6 @@ func SerializeManagementProvider(values []ManagementProvider) []string { } return result } +func (i ManagementProvider) isMultiValue() bool { + return false +} diff --git a/models/managedtenants/management_template_deployment_status.go b/models/managedtenants/management_template_deployment_status.go index 1cc483f3b26..9725fcab3e5 100644 --- a/models/managedtenants/management_template_deployment_status.go +++ b/models/managedtenants/management_template_deployment_status.go @@ -44,3 +44,6 @@ func SerializeManagementTemplateDeploymentStatus(values []ManagementTemplateDepl } return result } +func (i ManagementTemplateDeploymentStatus) isMultiValue() bool { + return false +} diff --git a/models/managedtenants/notification_destination.go b/models/managedtenants/notification_destination.go index 06605999576..d21c22f545a 100644 --- a/models/managedtenants/notification_destination.go +++ b/models/managedtenants/notification_destination.go @@ -1,6 +1,7 @@ package managedtenants import ( "errors" + "strings" ) // type NotificationDestination int @@ -14,23 +15,32 @@ const ( ) func (i NotificationDestination) String() string { - return []string{"none", "api", "email", "sms", "unknownFutureValue"}[i] + var values []string + for p := NotificationDestination(1); p <= UNKNOWNFUTUREVALUE_NOTIFICATIONDESTINATION; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "api", "email", "sms", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseNotificationDestination(v string) (any, error) { - result := NONE_NOTIFICATIONDESTINATION - switch v { - case "none": - result = NONE_NOTIFICATIONDESTINATION - case "api": - result = API_NOTIFICATIONDESTINATION - case "email": - result = EMAIL_NOTIFICATIONDESTINATION - case "sms": - result = SMS_NOTIFICATIONDESTINATION - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_NOTIFICATIONDESTINATION - default: - return 0, errors.New("Unknown NotificationDestination value: " + v) + var result NotificationDestination + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_NOTIFICATIONDESTINATION + case "api": + result |= API_NOTIFICATIONDESTINATION + case "email": + result |= EMAIL_NOTIFICATIONDESTINATION + case "sms": + result |= SMS_NOTIFICATIONDESTINATION + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_NOTIFICATIONDESTINATION + default: + return 0, errors.New("Unknown NotificationDestination value: " + v) + } } return &result, nil } @@ -41,3 +51,6 @@ func SerializeNotificationDestination(values []NotificationDestination) []string } return result } +func (i NotificationDestination) isMultiValue() bool { + return true +} diff --git a/models/managedtenants/tenant_onboarding_eligibility_reason.go b/models/managedtenants/tenant_onboarding_eligibility_reason.go index 7073847ef8b..b0d173fa85b 100644 --- a/models/managedtenants/tenant_onboarding_eligibility_reason.go +++ b/models/managedtenants/tenant_onboarding_eligibility_reason.go @@ -44,3 +44,6 @@ func SerializeTenantOnboardingEligibilityReason(values []TenantOnboardingEligibi } return result } +func (i TenantOnboardingEligibilityReason) isMultiValue() bool { + return false +} diff --git a/models/managedtenants/tenant_onboarding_status.go b/models/managedtenants/tenant_onboarding_status.go index 8389615876e..0e27fef1dd1 100644 --- a/models/managedtenants/tenant_onboarding_status.go +++ b/models/managedtenants/tenant_onboarding_status.go @@ -41,3 +41,6 @@ func SerializeTenantOnboardingStatus(values []TenantOnboardingStatus) []string { } return result } +func (i TenantOnboardingStatus) isMultiValue() bool { + return false +} diff --git a/models/managedtenants/workload_action_category.go b/models/managedtenants/workload_action_category.go index ec2826e2aef..a0f9fd01cc9 100644 --- a/models/managedtenants/workload_action_category.go +++ b/models/managedtenants/workload_action_category.go @@ -35,3 +35,6 @@ func SerializeWorkloadActionCategory(values []WorkloadActionCategory) []string { } return result } +func (i WorkloadActionCategory) isMultiValue() bool { + return false +} diff --git a/models/managedtenants/workload_action_status.go b/models/managedtenants/workload_action_status.go index e33cd64bc44..77bc9056e76 100644 --- a/models/managedtenants/workload_action_status.go +++ b/models/managedtenants/workload_action_status.go @@ -44,3 +44,6 @@ func SerializeWorkloadActionStatus(values []WorkloadActionStatus) []string { } return result } +func (i WorkloadActionStatus) isMultiValue() bool { + return false +} diff --git a/models/managedtenants/workload_onboarding_status.go b/models/managedtenants/workload_onboarding_status.go index ae16b51d2dc..fb48e2ae3ab 100644 --- a/models/managedtenants/workload_onboarding_status.go +++ b/models/managedtenants/workload_onboarding_status.go @@ -35,3 +35,6 @@ func SerializeWorkloadOnboardingStatus(values []WorkloadOnboardingStatus) []stri } return result } +func (i WorkloadOnboardingStatus) isMultiValue() bool { + return false +} diff --git a/models/management_agent_type.go b/models/management_agent_type.go index 3c7d4136820..8433aada7f6 100644 --- a/models/management_agent_type.go +++ b/models/management_agent_type.go @@ -81,3 +81,6 @@ func SerializeManagementAgentType(values []ManagementAgentType) []string { } return result } +func (i ManagementAgentType) isMultiValue() bool { + return false +} diff --git a/models/management_state.go b/models/management_state.go index 4d0dc75b0d9..3f2180248fe 100644 --- a/models/management_state.go +++ b/models/management_state.go @@ -74,3 +74,6 @@ func SerializeManagementState(values []ManagementState) []string { } return result } +func (i ManagementState) isMultiValue() bool { + return false +} diff --git a/models/mdm_app_config_key_type.go b/models/mdm_app_config_key_type.go index 5af863076bd..7af540b37a4 100644 --- a/models/mdm_app_config_key_type.go +++ b/models/mdm_app_config_key_type.go @@ -41,3 +41,6 @@ func SerializeMdmAppConfigKeyType(values []MdmAppConfigKeyType) []string { } return result } +func (i MdmAppConfigKeyType) isMultiValue() bool { + return false +} diff --git a/models/mdm_authority.go b/models/mdm_authority.go index 586265f924e..387443529ce 100644 --- a/models/mdm_authority.go +++ b/models/mdm_authority.go @@ -42,3 +42,6 @@ func SerializeMdmAuthority(values []MdmAuthority) []string { } return result } +func (i MdmAuthority) isMultiValue() bool { + return false +} diff --git a/models/mdm_supported_state.go b/models/mdm_supported_state.go index d65207357f9..466ef5d8ded 100644 --- a/models/mdm_supported_state.go +++ b/models/mdm_supported_state.go @@ -42,3 +42,6 @@ func SerializeMdmSupportedState(values []MdmSupportedState) []string { } return result } +func (i MdmSupportedState) isMultiValue() bool { + return false +} diff --git a/models/media_direction.go b/models/media_direction.go index 119db050776..2b89f2203e2 100644 --- a/models/media_direction.go +++ b/models/media_direction.go @@ -38,3 +38,6 @@ func SerializeMediaDirection(values []MediaDirection) []string { } return result } +func (i MediaDirection) isMultiValue() bool { + return false +} diff --git a/models/media_source_content_category.go b/models/media_source_content_category.go index 93cb23e2bfc..1866cda55dc 100644 --- a/models/media_source_content_category.go +++ b/models/media_source_content_category.go @@ -41,3 +41,6 @@ func SerializeMediaSourceContentCategory(values []MediaSourceContentCategory) [] } return result } +func (i MediaSourceContentCategory) isMultiValue() bool { + return false +} diff --git a/models/media_state.go b/models/media_state.go index 252fe2b6075..862b6cefc25 100644 --- a/models/media_state.go +++ b/models/media_state.go @@ -35,3 +35,6 @@ func SerializeMediaState(values []MediaState) []string { } return result } +func (i MediaState) isMultiValue() bool { + return false +} diff --git a/models/meeting_audience.go b/models/meeting_audience.go index 712ceee3692..fb86e54dc2d 100644 --- a/models/meeting_audience.go +++ b/models/meeting_audience.go @@ -35,3 +35,6 @@ func SerializeMeetingAudience(values []MeetingAudience) []string { } return result } +func (i MeetingAudience) isMultiValue() bool { + return false +} diff --git a/models/meeting_capabilities.go b/models/meeting_capabilities.go index 08e823a1fc2..ce59e519548 100644 --- a/models/meeting_capabilities.go +++ b/models/meeting_capabilities.go @@ -32,3 +32,6 @@ func SerializeMeetingCapabilities(values []MeetingCapabilities) []string { } return result } +func (i MeetingCapabilities) isMultiValue() bool { + return false +} diff --git a/models/meeting_chat_history_default_mode.go b/models/meeting_chat_history_default_mode.go index 4553b6bb6aa..a1f37ebd622 100644 --- a/models/meeting_chat_history_default_mode.go +++ b/models/meeting_chat_history_default_mode.go @@ -35,3 +35,6 @@ func SerializeMeetingChatHistoryDefaultMode(values []MeetingChatHistoryDefaultMo } return result } +func (i MeetingChatHistoryDefaultMode) isMultiValue() bool { + return false +} diff --git a/models/meeting_chat_mode.go b/models/meeting_chat_mode.go index 02db42d384e..70f5af62fe9 100644 --- a/models/meeting_chat_mode.go +++ b/models/meeting_chat_mode.go @@ -38,3 +38,6 @@ func SerializeMeetingChatMode(values []MeetingChatMode) []string { } return result } +func (i MeetingChatMode) isMultiValue() bool { + return false +} diff --git a/models/meeting_message_type.go b/models/meeting_message_type.go index faf5e38811e..cafd76ee704 100644 --- a/models/meeting_message_type.go +++ b/models/meeting_message_type.go @@ -44,3 +44,6 @@ func SerializeMeetingMessageType(values []MeetingMessageType) []string { } return result } +func (i MeetingMessageType) isMultiValue() bool { + return false +} diff --git a/models/meeting_registrant_status.go b/models/meeting_registrant_status.go index 9edab4f92b4..9633582de97 100644 --- a/models/meeting_registrant_status.go +++ b/models/meeting_registrant_status.go @@ -38,3 +38,6 @@ func SerializeMeetingRegistrantStatus(values []MeetingRegistrantStatus) []string } return result } +func (i MeetingRegistrantStatus) isMultiValue() bool { + return false +} diff --git a/models/membership_rule_processing_status_details.go b/models/membership_rule_processing_status_details.go index 955ee078c6a..3fb5be74439 100644 --- a/models/membership_rule_processing_status_details.go +++ b/models/membership_rule_processing_status_details.go @@ -41,3 +41,6 @@ func SerializeMembershipRuleProcessingStatusDetails(values []MembershipRuleProce } return result } +func (i MembershipRuleProcessingStatusDetails) isMultiValue() bool { + return false +} diff --git a/models/message_action_flag.go b/models/message_action_flag.go index 386340252f4..c82f5fdeba3 100644 --- a/models/message_action_flag.go +++ b/models/message_action_flag.go @@ -59,3 +59,6 @@ func SerializeMessageActionFlag(values []MessageActionFlag) []string { } return result } +func (i MessageActionFlag) isMultiValue() bool { + return false +} diff --git a/models/message_event_type.go b/models/message_event_type.go index ff1a785bd4a..25609effa53 100644 --- a/models/message_event_type.go +++ b/models/message_event_type.go @@ -92,3 +92,6 @@ func SerializeMessageEventType(values []MessageEventType) []string { } return result } +func (i MessageEventType) isMultiValue() bool { + return false +} diff --git a/models/message_status.go b/models/message_status.go index 6d2a0c738b5..4bc1ac1ac9a 100644 --- a/models/message_status.go +++ b/models/message_status.go @@ -50,3 +50,6 @@ func SerializeMessageStatus(values []MessageStatus) []string { } return result } +func (i MessageStatus) isMultiValue() bool { + return false +} diff --git a/models/metered_connection_limit_type.go b/models/metered_connection_limit_type.go index a034d2d160f..dc89acd1dc6 100644 --- a/models/metered_connection_limit_type.go +++ b/models/metered_connection_limit_type.go @@ -38,3 +38,6 @@ func SerializeMeteredConnectionLimitType(values []MeteredConnectionLimitType) [] } return result } +func (i MeteredConnectionLimitType) isMultiValue() bool { + return false +} diff --git a/models/microsoft_authenticator_authentication_method_client_app_name.go b/models/microsoft_authenticator_authentication_method_client_app_name.go index 595111b01d0..1a21da24253 100644 --- a/models/microsoft_authenticator_authentication_method_client_app_name.go +++ b/models/microsoft_authenticator_authentication_method_client_app_name.go @@ -35,3 +35,6 @@ func SerializeMicrosoftAuthenticatorAuthenticationMethodClientAppName(values []M } return result } +func (i MicrosoftAuthenticatorAuthenticationMethodClientAppName) isMultiValue() bool { + return false +} diff --git a/models/microsoft_authenticator_authentication_mode.go b/models/microsoft_authenticator_authentication_mode.go index a272274da13..2ad02426863 100644 --- a/models/microsoft_authenticator_authentication_mode.go +++ b/models/microsoft_authenticator_authentication_mode.go @@ -35,3 +35,6 @@ func SerializeMicrosoftAuthenticatorAuthenticationMode(values []MicrosoftAuthent } return result } +func (i MicrosoftAuthenticatorAuthenticationMode) isMultiValue() bool { + return false +} diff --git a/models/microsoft_edge_channel.go b/models/microsoft_edge_channel.go index 30274e4da1e..3086993890a 100644 --- a/models/microsoft_edge_channel.go +++ b/models/microsoft_edge_channel.go @@ -42,3 +42,6 @@ func SerializeMicrosoftEdgeChannel(values []MicrosoftEdgeChannel) []string { } return result } +func (i MicrosoftEdgeChannel) isMultiValue() bool { + return false +} diff --git a/models/microsoft_launcher_dock_presence.go b/models/microsoft_launcher_dock_presence.go index e1a771906aa..8a672949ba7 100644 --- a/models/microsoft_launcher_dock_presence.go +++ b/models/microsoft_launcher_dock_presence.go @@ -42,3 +42,6 @@ func SerializeMicrosoftLauncherDockPresence(values []MicrosoftLauncherDockPresen } return result } +func (i MicrosoftLauncherDockPresence) isMultiValue() bool { + return false +} diff --git a/models/microsoft_launcher_search_bar_placement.go b/models/microsoft_launcher_search_bar_placement.go index 012a2d56ebc..724422cd33d 100644 --- a/models/microsoft_launcher_search_bar_placement.go +++ b/models/microsoft_launcher_search_bar_placement.go @@ -42,3 +42,6 @@ func SerializeMicrosoftLauncherSearchBarPlacement(values []MicrosoftLauncherSear } return result } +func (i MicrosoftLauncherSearchBarPlacement) isMultiValue() bool { + return false +} diff --git a/models/microsoft_managed_desktop_type.go b/models/microsoft_managed_desktop_type.go index b5d227689d0..228659024cf 100644 --- a/models/microsoft_managed_desktop_type.go +++ b/models/microsoft_managed_desktop_type.go @@ -41,3 +41,6 @@ func SerializeMicrosoftManagedDesktopType(values []MicrosoftManagedDesktopType) } return result } +func (i MicrosoftManagedDesktopType) isMultiValue() bool { + return false +} diff --git a/models/microsoft_store_for_business_app_collection_response.go b/models/microsoft_store_for_business_app_collection_response.go new file mode 100644 index 00000000000..124dee68361 --- /dev/null +++ b/models/microsoft_store_for_business_app_collection_response.go @@ -0,0 +1,87 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// MicrosoftStoreForBusinessAppCollectionResponse +type MicrosoftStoreForBusinessAppCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewMicrosoftStoreForBusinessAppCollectionResponse instantiates a new microsoftStoreForBusinessAppCollectionResponse and sets the default values. +func NewMicrosoftStoreForBusinessAppCollectionResponse()(*MicrosoftStoreForBusinessAppCollectionResponse) { + m := &MicrosoftStoreForBusinessAppCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateMicrosoftStoreForBusinessAppCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateMicrosoftStoreForBusinessAppCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewMicrosoftStoreForBusinessAppCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *MicrosoftStoreForBusinessAppCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateMicrosoftStoreForBusinessAppFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]MicrosoftStoreForBusinessAppable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(MicrosoftStoreForBusinessAppable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *MicrosoftStoreForBusinessAppCollectionResponse) GetValue()([]MicrosoftStoreForBusinessAppable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]MicrosoftStoreForBusinessAppable) + } + return nil +} +// Serialize serializes information the current object +func (m *MicrosoftStoreForBusinessAppCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *MicrosoftStoreForBusinessAppCollectionResponse) SetValue(value []MicrosoftStoreForBusinessAppable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// MicrosoftStoreForBusinessAppCollectionResponseable +type MicrosoftStoreForBusinessAppCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]MicrosoftStoreForBusinessAppable) + SetValue(value []MicrosoftStoreForBusinessAppable)() +} diff --git a/models/microsoft_store_for_business_license_type.go b/models/microsoft_store_for_business_license_type.go index ef30960cc90..447f4072750 100644 --- a/models/microsoft_store_for_business_license_type.go +++ b/models/microsoft_store_for_business_license_type.go @@ -32,3 +32,6 @@ func SerializeMicrosoftStoreForBusinessLicenseType(values []MicrosoftStoreForBus } return result } +func (i MicrosoftStoreForBusinessLicenseType) isMultiValue() bool { + return false +} diff --git a/models/microsoft_store_for_business_portal_selection_options.go b/models/microsoft_store_for_business_portal_selection_options.go index 5f9667c8890..36d4ce060be 100644 --- a/models/microsoft_store_for_business_portal_selection_options.go +++ b/models/microsoft_store_for_business_portal_selection_options.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Portal to which admin syncs available Microsoft Store for Business apps. This is available in the Intune Admin Console. type MicrosoftStoreForBusinessPortalSelectionOptions int @@ -15,19 +16,28 @@ const ( ) func (i MicrosoftStoreForBusinessPortalSelectionOptions) String() string { - return []string{"none", "companyPortal", "privateStore"}[i] + var values []string + for p := MicrosoftStoreForBusinessPortalSelectionOptions(1); p <= PRIVATESTORE_MICROSOFTSTOREFORBUSINESSPORTALSELECTIONOPTIONS; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "companyPortal", "privateStore"}[p]) + } + } + return strings.Join(values, ",") } func ParseMicrosoftStoreForBusinessPortalSelectionOptions(v string) (any, error) { - result := NONE_MICROSOFTSTOREFORBUSINESSPORTALSELECTIONOPTIONS - switch v { - case "none": - result = NONE_MICROSOFTSTOREFORBUSINESSPORTALSELECTIONOPTIONS - case "companyPortal": - result = COMPANYPORTAL_MICROSOFTSTOREFORBUSINESSPORTALSELECTIONOPTIONS - case "privateStore": - result = PRIVATESTORE_MICROSOFTSTOREFORBUSINESSPORTALSELECTIONOPTIONS - default: - return 0, errors.New("Unknown MicrosoftStoreForBusinessPortalSelectionOptions value: " + v) + var result MicrosoftStoreForBusinessPortalSelectionOptions + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_MICROSOFTSTOREFORBUSINESSPORTALSELECTIONOPTIONS + case "companyPortal": + result |= COMPANYPORTAL_MICROSOFTSTOREFORBUSINESSPORTALSELECTIONOPTIONS + case "privateStore": + result |= PRIVATESTORE_MICROSOFTSTOREFORBUSINESSPORTALSELECTIONOPTIONS + default: + return 0, errors.New("Unknown MicrosoftStoreForBusinessPortalSelectionOptions value: " + v) + } } return &result, nil } @@ -38,3 +48,6 @@ func SerializeMicrosoftStoreForBusinessPortalSelectionOptions(values []Microsoft } return result } +func (i MicrosoftStoreForBusinessPortalSelectionOptions) isMultiValue() bool { + return true +} diff --git a/models/microsoft_tunnel_log_collection_status.go b/models/microsoft_tunnel_log_collection_status.go index c1acb2d43df..a2b3c647360 100644 --- a/models/microsoft_tunnel_log_collection_status.go +++ b/models/microsoft_tunnel_log_collection_status.go @@ -42,3 +42,6 @@ func SerializeMicrosoftTunnelLogCollectionStatus(values []MicrosoftTunnelLogColl } return result } +func (i MicrosoftTunnelLogCollectionStatus) isMultiValue() bool { + return false +} diff --git a/models/microsoft_tunnel_server_health_status.go b/models/microsoft_tunnel_server_health_status.go index e674ceaa93f..07ea4b632d7 100644 --- a/models/microsoft_tunnel_server_health_status.go +++ b/models/microsoft_tunnel_server_health_status.go @@ -58,3 +58,6 @@ func SerializeMicrosoftTunnelServerHealthStatus(values []MicrosoftTunnelServerHe } return result } +func (i MicrosoftTunnelServerHealthStatus) isMultiValue() bool { + return false +} diff --git a/models/migration_status.go b/models/migration_status.go index 9b9c9b77167..4d7674351b8 100644 --- a/models/migration_status.go +++ b/models/migration_status.go @@ -38,3 +38,6 @@ func SerializeMigrationStatus(values []MigrationStatus) []string { } return result } +func (i MigrationStatus) isMultiValue() bool { + return false +} diff --git a/models/miracast_channel.go b/models/miracast_channel.go index 8eab517cb46..9a0e5a27179 100644 --- a/models/miracast_channel.go +++ b/models/miracast_channel.go @@ -110,3 +110,6 @@ func SerializeMiracastChannel(values []MiracastChannel) []string { } return result } +func (i MiracastChannel) isMultiValue() bool { + return false +} diff --git a/models/ml_classification_match_tolerance.go b/models/ml_classification_match_tolerance.go index 7e5f3e9f070..e5fc4759ec9 100644 --- a/models/ml_classification_match_tolerance.go +++ b/models/ml_classification_match_tolerance.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type MlClassificationMatchTolerance int @@ -11,17 +12,26 @@ const ( ) func (i MlClassificationMatchTolerance) String() string { - return []string{"exact", "near"}[i] + var values []string + for p := MlClassificationMatchTolerance(1); p <= NEAR_MLCLASSIFICATIONMATCHTOLERANCE; p <<= 1 { + if i&p == p { + values = append(values, []string{"exact", "near"}[p]) + } + } + return strings.Join(values, ",") } func ParseMlClassificationMatchTolerance(v string) (any, error) { - result := EXACT_MLCLASSIFICATIONMATCHTOLERANCE - switch v { - case "exact": - result = EXACT_MLCLASSIFICATIONMATCHTOLERANCE - case "near": - result = NEAR_MLCLASSIFICATIONMATCHTOLERANCE - default: - return 0, errors.New("Unknown MlClassificationMatchTolerance value: " + v) + var result MlClassificationMatchTolerance + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "exact": + result |= EXACT_MLCLASSIFICATIONMATCHTOLERANCE + case "near": + result |= NEAR_MLCLASSIFICATIONMATCHTOLERANCE + default: + return 0, errors.New("Unknown MlClassificationMatchTolerance value: " + v) + } } return &result, nil } @@ -32,3 +42,6 @@ func SerializeMlClassificationMatchTolerance(values []MlClassificationMatchToler } return result } +func (i MlClassificationMatchTolerance) isMultiValue() bool { + return true +} diff --git a/models/mobile_app_action_type.go b/models/mobile_app_action_type.go index 8d82e2a0ce4..1eb84b7c85b 100644 --- a/models/mobile_app_action_type.go +++ b/models/mobile_app_action_type.go @@ -46,3 +46,6 @@ func SerializeMobileAppActionType(values []MobileAppActionType) []string { } return result } +func (i MobileAppActionType) isMultiValue() bool { + return false +} diff --git a/models/mobile_app_content_file_upload_state.go b/models/mobile_app_content_file_upload_state.go index df3224fb544..c032603841e 100644 --- a/models/mobile_app_content_file_upload_state.go +++ b/models/mobile_app_content_file_upload_state.go @@ -74,3 +74,6 @@ func SerializeMobileAppContentFileUploadState(values []MobileAppContentFileUploa } return result } +func (i MobileAppContentFileUploadState) isMultiValue() bool { + return false +} diff --git a/models/mobile_app_dependency_type.go b/models/mobile_app_dependency_type.go index e20f743688b..c026daf8a99 100644 --- a/models/mobile_app_dependency_type.go +++ b/models/mobile_app_dependency_type.go @@ -34,3 +34,6 @@ func SerializeMobileAppDependencyType(values []MobileAppDependencyType) []string } return result } +func (i MobileAppDependencyType) isMultiValue() bool { + return false +} diff --git a/models/mobile_app_intent.go b/models/mobile_app_intent.go index 53457ef598b..9ec0f862ec9 100644 --- a/models/mobile_app_intent.go +++ b/models/mobile_app_intent.go @@ -54,3 +54,6 @@ func SerializeMobileAppIntent(values []MobileAppIntent) []string { } return result } +func (i MobileAppIntent) isMultiValue() bool { + return false +} diff --git a/models/mobile_app_publishing_state.go b/models/mobile_app_publishing_state.go index 5f25f5adacc..9f27d56d32e 100644 --- a/models/mobile_app_publishing_state.go +++ b/models/mobile_app_publishing_state.go @@ -38,3 +38,6 @@ func SerializeMobileAppPublishingState(values []MobileAppPublishingState) []stri } return result } +func (i MobileAppPublishingState) isMultiValue() bool { + return false +} diff --git a/models/mobile_app_relationship_type.go b/models/mobile_app_relationship_type.go index 88fe178c26b..6b52593dbdd 100644 --- a/models/mobile_app_relationship_type.go +++ b/models/mobile_app_relationship_type.go @@ -34,3 +34,6 @@ func SerializeMobileAppRelationshipType(values []MobileAppRelationshipType) []st } return result } +func (i MobileAppRelationshipType) isMultiValue() bool { + return false +} diff --git a/models/mobile_app_supersedence_type.go b/models/mobile_app_supersedence_type.go index ad5be906d99..992e0593cc2 100644 --- a/models/mobile_app_supersedence_type.go +++ b/models/mobile_app_supersedence_type.go @@ -34,3 +34,6 @@ func SerializeMobileAppSupersedenceType(values []MobileAppSupersedenceType) []st } return result } +func (i MobileAppSupersedenceType) isMultiValue() bool { + return false +} diff --git a/models/mobile_threat_defense_partner_priority.go b/models/mobile_threat_defense_partner_priority.go index 9f2a9c1cc5b..4949ca30631 100644 --- a/models/mobile_threat_defense_partner_priority.go +++ b/models/mobile_threat_defense_partner_priority.go @@ -38,3 +38,6 @@ func SerializeMobileThreatDefensePartnerPriority(values []MobileThreatDefensePar } return result } +func (i MobileThreatDefensePartnerPriority) isMultiValue() bool { + return false +} diff --git a/models/mobile_threat_partner_tenant_state.go b/models/mobile_threat_partner_tenant_state.go index baf5ce54add..cc610b663ba 100644 --- a/models/mobile_threat_partner_tenant_state.go +++ b/models/mobile_threat_partner_tenant_state.go @@ -54,3 +54,6 @@ func SerializeMobileThreatPartnerTenantState(values []MobileThreatPartnerTenantS } return result } +func (i MobileThreatPartnerTenantState) isMultiValue() bool { + return false +} diff --git a/models/modality.go b/models/modality.go index 14f3a4827ee..69e07106504 100644 --- a/models/modality.go +++ b/models/modality.go @@ -44,3 +44,6 @@ func SerializeModality(values []Modality) []string { } return result } +func (i Modality) isMultiValue() bool { + return false +} diff --git a/models/msi_type.go b/models/msi_type.go index 5b4b01aeea2..1a920f05296 100644 --- a/models/msi_type.go +++ b/models/msi_type.go @@ -38,3 +38,6 @@ func SerializeMsiType(values []MsiType) []string { } return result } +func (i MsiType) isMultiValue() bool { + return false +} diff --git a/models/multi_factor_auth_configuration.go b/models/multi_factor_auth_configuration.go index 920c136d87e..6ccd595bfa6 100644 --- a/models/multi_factor_auth_configuration.go +++ b/models/multi_factor_auth_configuration.go @@ -35,3 +35,6 @@ func SerializeMultiFactorAuthConfiguration(values []MultiFactorAuthConfiguration } return result } +func (i MultiFactorAuthConfiguration) isMultiValue() bool { + return false +} diff --git a/models/multi_tenant_organization_member_processing_status.go b/models/multi_tenant_organization_member_processing_status.go index 6844cd0c938..31acad69242 100644 --- a/models/multi_tenant_organization_member_processing_status.go +++ b/models/multi_tenant_organization_member_processing_status.go @@ -41,3 +41,6 @@ func SerializeMultiTenantOrganizationMemberProcessingStatus(values []MultiTenant } return result } +func (i MultiTenantOrganizationMemberProcessingStatus) isMultiValue() bool { + return false +} diff --git a/models/multi_tenant_organization_member_role.go b/models/multi_tenant_organization_member_role.go index bb555ca467b..e155dc9deeb 100644 --- a/models/multi_tenant_organization_member_role.go +++ b/models/multi_tenant_organization_member_role.go @@ -35,3 +35,6 @@ func SerializeMultiTenantOrganizationMemberRole(values []MultiTenantOrganization } return result } +func (i MultiTenantOrganizationMemberRole) isMultiValue() bool { + return false +} diff --git a/models/multi_tenant_organization_member_state.go b/models/multi_tenant_organization_member_state.go index aa6f8613ac2..f1d044144c3 100644 --- a/models/multi_tenant_organization_member_state.go +++ b/models/multi_tenant_organization_member_state.go @@ -38,3 +38,6 @@ func SerializeMultiTenantOrganizationMemberState(values []MultiTenantOrganizatio } return result } +func (i MultiTenantOrganizationMemberState) isMultiValue() bool { + return false +} diff --git a/models/multi_tenant_organization_state.go b/models/multi_tenant_organization_state.go index b265a29f77e..678ee2e6036 100644 --- a/models/multi_tenant_organization_state.go +++ b/models/multi_tenant_organization_state.go @@ -35,3 +35,6 @@ func SerializeMultiTenantOrganizationState(values []MultiTenantOrganizationState } return result } +func (i MultiTenantOrganizationState) isMultiValue() bool { + return false +} diff --git a/models/mutability.go b/models/mutability.go index b06f4cee756..ce69693f554 100644 --- a/models/mutability.go +++ b/models/mutability.go @@ -38,3 +38,6 @@ func SerializeMutability(values []Mutability) []string { } return result } +func (i Mutability) isMultiValue() bool { + return false +} diff --git a/models/ndes_connector_state.go b/models/ndes_connector_state.go index 090fb0d44ae..6485464b900 100644 --- a/models/ndes_connector_state.go +++ b/models/ndes_connector_state.go @@ -38,3 +38,6 @@ func SerializeNdesConnectorState(values []NdesConnectorState) []string { } return result } +func (i NdesConnectorState) isMultiValue() bool { + return false +} diff --git a/models/network_interface.go b/models/network_interface.go index bfcd6624718..c6c14675fad 100644 --- a/models/network_interface.go +++ b/models/network_interface.go @@ -38,7 +38,7 @@ func (m *NetworkInterface) GetAdditionalData()(map[string]any) { func (m *NetworkInterface) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDescription gets the description property value. Description of the NIC (e.g. Ethernet adapter, Wireless LAN adapter Local Area Connection, and so on). +// GetDescription gets the description property value. Description of the NIC (for example, Ethernet adapter, Wireless LAN adapter Local Area Connection, and so on). func (m *NetworkInterface) GetDescription()(*string) { val, err := m.GetBackingStore().Get("description") if err != nil { @@ -125,7 +125,7 @@ func (m *NetworkInterface) GetIpV4Address()(*string) { } return nil } -// GetIpV6Address gets the ipV6Address property value. Last Public (aka global) IPv6 address associated with this NIC. +// GetIpV6Address gets the ipV6Address property value. Last Public (also known as global) IPv6 address associated with this NIC. func (m *NetworkInterface) GetIpV6Address()(*string) { val, err := m.GetBackingStore().Get("ipV6Address") if err != nil { @@ -226,7 +226,7 @@ func (m *NetworkInterface) SetAdditionalData(value map[string]any)() { func (m *NetworkInterface) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDescription sets the description property value. Description of the NIC (e.g. Ethernet adapter, Wireless LAN adapter Local Area Connection, and so on). +// SetDescription sets the description property value. Description of the NIC (for example, Ethernet adapter, Wireless LAN adapter Local Area Connection, and so on). func (m *NetworkInterface) SetDescription(value *string)() { err := m.GetBackingStore().Set("description", value) if err != nil { @@ -240,7 +240,7 @@ func (m *NetworkInterface) SetIpV4Address(value *string)() { panic(err) } } -// SetIpV6Address sets the ipV6Address property value. Last Public (aka global) IPv6 address associated with this NIC. +// SetIpV6Address sets the ipV6Address property value. Last Public (also known as global) IPv6 address associated with this NIC. func (m *NetworkInterface) SetIpV6Address(value *string)() { err := m.GetBackingStore().Set("ipV6Address", value) if err != nil { diff --git a/models/network_single_sign_on_type.go b/models/network_single_sign_on_type.go index e668b04e78d..b2daf43b437 100644 --- a/models/network_single_sign_on_type.go +++ b/models/network_single_sign_on_type.go @@ -38,3 +38,6 @@ func SerializeNetworkSingleSignOnType(values []NetworkSingleSignOnType) []string } return result } +func (i NetworkSingleSignOnType) isMultiValue() bool { + return false +} diff --git a/models/network_type.go b/models/network_type.go index 28a333a2865..bcc95920fe2 100644 --- a/models/network_type.go +++ b/models/network_type.go @@ -44,3 +44,6 @@ func SerializeNetworkType(values []NetworkType) []string { } return result } +func (i NetworkType) isMultiValue() bool { + return false +} diff --git a/models/networkaccess/bandwidth_capacity_in_mbps.go b/models/networkaccess/bandwidth_capacity_in_mbps.go index ea034669730..22bc3e4029b 100644 --- a/models/networkaccess/bandwidth_capacity_in_mbps.go +++ b/models/networkaccess/bandwidth_capacity_in_mbps.go @@ -41,3 +41,6 @@ func SerializeBandwidthCapacityInMbps(values []BandwidthCapacityInMbps) []string } return result } +func (i BandwidthCapacityInMbps) isMultiValue() bool { + return false +} diff --git a/models/networkaccess/connectivity.go b/models/networkaccess/connectivity.go index f3f6d07e5c9..ba6167babe0 100644 --- a/models/networkaccess/connectivity.go +++ b/models/networkaccess/connectivity.go @@ -20,7 +20,7 @@ func NewConnectivity()(*Connectivity) { func CreateConnectivityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewConnectivity(), nil } -// GetBranches gets the branches property value. Branch represent locations for connectivity. +// GetBranches gets the branches property value. Branches represent locations for connectivity. func (m *Connectivity) GetBranches()([]BranchSiteable) { val, err := m.GetBackingStore().Get("branches") if err != nil { @@ -72,7 +72,7 @@ func (m *Connectivity) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e } return nil } -// SetBranches sets the branches property value. Branch represent locations for connectivity. +// SetBranches sets the branches property value. Branches represent locations for connectivity. func (m *Connectivity) SetBranches(value []BranchSiteable)() { err := m.GetBackingStore().Set("branches", value) if err != nil { diff --git a/models/networkaccess/connectivity_state.go b/models/networkaccess/connectivity_state.go index 2c0c0f603da..b9b3c9155ac 100644 --- a/models/networkaccess/connectivity_state.go +++ b/models/networkaccess/connectivity_state.go @@ -41,3 +41,6 @@ func SerializeConnectivityState(values []ConnectivityState) []string { } return result } +func (i ConnectivityState) isMultiValue() bool { + return false +} diff --git a/models/networkaccess/device_category.go b/models/networkaccess/device_category.go index 0fe9ef69d35..264602aac77 100644 --- a/models/networkaccess/device_category.go +++ b/models/networkaccess/device_category.go @@ -35,3 +35,6 @@ func SerializeDeviceCategory(values []DeviceCategory) []string { } return result } +func (i DeviceCategory) isMultiValue() bool { + return false +} diff --git a/models/networkaccess/device_vendor.go b/models/networkaccess/device_vendor.go index eb612299eee..0fc33ec36ea 100644 --- a/models/networkaccess/device_vendor.go +++ b/models/networkaccess/device_vendor.go @@ -74,3 +74,6 @@ func SerializeDeviceVendor(values []DeviceVendor) []string { } return result } +func (i DeviceVendor) isMultiValue() bool { + return false +} diff --git a/models/networkaccess/dh_group.go b/models/networkaccess/dh_group.go index beb561ecf54..1573e718ed7 100644 --- a/models/networkaccess/dh_group.go +++ b/models/networkaccess/dh_group.go @@ -44,3 +44,6 @@ func SerializeDhGroup(values []DhGroup) []string { } return result } +func (i DhGroup) isMultiValue() bool { + return false +} diff --git a/models/networkaccess/forwarding_category.go b/models/networkaccess/forwarding_category.go index 8ffc8ba33b3..f87f6e9ee98 100644 --- a/models/networkaccess/forwarding_category.go +++ b/models/networkaccess/forwarding_category.go @@ -38,3 +38,6 @@ func SerializeForwardingCategory(values []ForwardingCategory) []string { } return result } +func (i ForwardingCategory) isMultiValue() bool { + return false +} diff --git a/models/networkaccess/forwarding_rule_action.go b/models/networkaccess/forwarding_rule_action.go index 4b88e69768f..1345d94c1f6 100644 --- a/models/networkaccess/forwarding_rule_action.go +++ b/models/networkaccess/forwarding_rule_action.go @@ -35,3 +35,6 @@ func SerializeForwardingRuleAction(values []ForwardingRuleAction) []string { } return result } +func (i ForwardingRuleAction) isMultiValue() bool { + return false +} diff --git a/models/networkaccess/ike_encryption.go b/models/networkaccess/ike_encryption.go index 9d9bb3fae1b..82338b20674 100644 --- a/models/networkaccess/ike_encryption.go +++ b/models/networkaccess/ike_encryption.go @@ -44,3 +44,6 @@ func SerializeIkeEncryption(values []IkeEncryption) []string { } return result } +func (i IkeEncryption) isMultiValue() bool { + return false +} diff --git a/models/networkaccess/ike_integrity.go b/models/networkaccess/ike_integrity.go index cddc2b05e76..3252be2eed7 100644 --- a/models/networkaccess/ike_integrity.go +++ b/models/networkaccess/ike_integrity.go @@ -41,3 +41,6 @@ func SerializeIkeIntegrity(values []IkeIntegrity) []string { } return result } +func (i IkeIntegrity) isMultiValue() bool { + return false +} diff --git a/models/networkaccess/ip_sec_encryption.go b/models/networkaccess/ip_sec_encryption.go index 36b1288c49b..293015ec6ec 100644 --- a/models/networkaccess/ip_sec_encryption.go +++ b/models/networkaccess/ip_sec_encryption.go @@ -41,3 +41,6 @@ func SerializeIpSecEncryption(values []IpSecEncryption) []string { } return result } +func (i IpSecEncryption) isMultiValue() bool { + return false +} diff --git a/models/networkaccess/ip_sec_integrity.go b/models/networkaccess/ip_sec_integrity.go index 58529fad03e..4ba2ada234d 100644 --- a/models/networkaccess/ip_sec_integrity.go +++ b/models/networkaccess/ip_sec_integrity.go @@ -41,3 +41,6 @@ func SerializeIpSecIntegrity(values []IpSecIntegrity) []string { } return result } +func (i IpSecIntegrity) isMultiValue() bool { + return false +} diff --git a/models/networkaccess/m365_forwarding_rule.go b/models/networkaccess/m365_forwarding_rule.go index 3f3498aa409..317103adcd6 100644 --- a/models/networkaccess/m365_forwarding_rule.go +++ b/models/networkaccess/m365_forwarding_rule.go @@ -73,7 +73,7 @@ func (m *M365ForwardingRule) GetFieldDeserializers()(map[string]func(i878a80d233 } return res } -// GetPorts gets the ports property value. The port(s) used by a forwarding rule for M365 traffic are specified to determine the specific network port(s) through which the Microsoft 365 traffic is directed and forwarded. +// GetPorts gets the ports property value. The port(s) used by a forwarding rule for Microsoft 365 traffic are specified to determine the specific network port(s) through which the Microsoft 365 traffic is directed and forwarded. func (m *M365ForwardingRule) GetPorts()([]string) { val, err := m.GetBackingStore().Get("ports") if err != nil { @@ -130,7 +130,7 @@ func (m *M365ForwardingRule) SetCategory(value *ForwardingCategory)() { panic(err) } } -// SetPorts sets the ports property value. The port(s) used by a forwarding rule for M365 traffic are specified to determine the specific network port(s) through which the Microsoft 365 traffic is directed and forwarded. +// SetPorts sets the ports property value. The port(s) used by a forwarding rule for Microsoft 365 traffic are specified to determine the specific network port(s) through which the Microsoft 365 traffic is directed and forwarded. func (m *M365ForwardingRule) SetPorts(value []string)() { err := m.GetBackingStore().Set("ports", value) if err != nil { diff --git a/models/networkaccess/network_destination_type.go b/models/networkaccess/network_destination_type.go index 237d6fb8497..0acb08d8189 100644 --- a/models/networkaccess/network_destination_type.go +++ b/models/networkaccess/network_destination_type.go @@ -47,3 +47,6 @@ func SerializeNetworkDestinationType(values []NetworkDestinationType) []string { } return result } +func (i NetworkDestinationType) isMultiValue() bool { + return false +} diff --git a/models/networkaccess/networking_protocol.go b/models/networkaccess/networking_protocol.go index 617b6af18e0..ba369a5c410 100644 --- a/models/networkaccess/networking_protocol.go +++ b/models/networkaccess/networking_protocol.go @@ -95,3 +95,6 @@ func SerializeNetworkingProtocol(values []NetworkingProtocol) []string { } return result } +func (i NetworkingProtocol) isMultiValue() bool { + return false +} diff --git a/models/networkaccess/onboarding_status.go b/models/networkaccess/onboarding_status.go index e5c7ab40216..d456e4deb4a 100644 --- a/models/networkaccess/onboarding_status.go +++ b/models/networkaccess/onboarding_status.go @@ -47,3 +47,6 @@ func SerializeOnboardingStatus(values []OnboardingStatus) []string { } return result } +func (i OnboardingStatus) isMultiValue() bool { + return false +} diff --git a/models/networkaccess/pfs_group.go b/models/networkaccess/pfs_group.go index 97adc7b5fa7..b09981ce530 100644 --- a/models/networkaccess/pfs_group.go +++ b/models/networkaccess/pfs_group.go @@ -56,3 +56,6 @@ func SerializePfsGroup(values []PfsGroup) []string { } return result } +func (i PfsGroup) isMultiValue() bool { + return false +} diff --git a/models/networkaccess/redundancy_tier.go b/models/networkaccess/redundancy_tier.go index 95ea93fbbb7..6be64df3721 100644 --- a/models/networkaccess/redundancy_tier.go +++ b/models/networkaccess/redundancy_tier.go @@ -35,3 +35,6 @@ func SerializeRedundancyTier(values []RedundancyTier) []string { } return result } +func (i RedundancyTier) isMultiValue() bool { + return false +} diff --git a/models/networkaccess/region.go b/models/networkaccess/region.go index 8e5ec0841d0..5c0e2556af4 100644 --- a/models/networkaccess/region.go +++ b/models/networkaccess/region.go @@ -86,3 +86,6 @@ func SerializeRegion(values []Region) []string { } return result } +func (i Region) isMultiValue() bool { + return false +} diff --git a/models/networkaccess/status.go b/models/networkaccess/status.go index b49eb973a91..0b185bd973a 100644 --- a/models/networkaccess/status.go +++ b/models/networkaccess/status.go @@ -35,3 +35,6 @@ func SerializeStatus(values []Status) []string { } return result } +func (i Status) isMultiValue() bool { + return false +} diff --git a/models/networkaccess/tenant_status.go b/models/networkaccess/tenant_status.go index 13654f596c8..4f0dc86ec1a 100644 --- a/models/networkaccess/tenant_status.go +++ b/models/networkaccess/tenant_status.go @@ -45,7 +45,7 @@ func (m *TenantStatus) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2 } return res } -// GetOnboardingErrorMessage gets the onboardingErrorMessage property value. Reflects a message to the user in case of an error. +// GetOnboardingErrorMessage gets the onboardingErrorMessage property value. Reflects a message to the user if there's an error. func (m *TenantStatus) GetOnboardingErrorMessage()(*string) { val, err := m.GetBackingStore().Get("onboardingErrorMessage") if err != nil { @@ -88,7 +88,7 @@ func (m *TenantStatus) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e } return nil } -// SetOnboardingErrorMessage sets the onboardingErrorMessage property value. Reflects a message to the user in case of an error. +// SetOnboardingErrorMessage sets the onboardingErrorMessage property value. Reflects a message to the user if there's an error. func (m *TenantStatus) SetOnboardingErrorMessage(value *string)() { err := m.GetBackingStore().Set("onboardingErrorMessage", value) if err != nil { diff --git a/models/networkaccess/traffic_forwarding_type.go b/models/networkaccess/traffic_forwarding_type.go index 4676fcb7b8c..22668871828 100644 --- a/models/networkaccess/traffic_forwarding_type.go +++ b/models/networkaccess/traffic_forwarding_type.go @@ -38,3 +38,6 @@ func SerializeTrafficForwardingType(values []TrafficForwardingType) []string { } return result } +func (i TrafficForwardingType) isMultiValue() bool { + return false +} diff --git a/models/networkaccess/traffic_type.go b/models/networkaccess/traffic_type.go index b44d44d45fb..d81835af750 100644 --- a/models/networkaccess/traffic_type.go +++ b/models/networkaccess/traffic_type.go @@ -41,3 +41,6 @@ func SerializeTrafficType(values []TrafficType) []string { } return result } +func (i TrafficType) isMultiValue() bool { + return false +} diff --git a/models/non_eap_authentication_method_for_eap_ttls_type.go b/models/non_eap_authentication_method_for_eap_ttls_type.go index 0f67f877614..7bfb7a0bdc4 100644 --- a/models/non_eap_authentication_method_for_eap_ttls_type.go +++ b/models/non_eap_authentication_method_for_eap_ttls_type.go @@ -42,3 +42,6 @@ func SerializeNonEapAuthenticationMethodForEapTtlsType(values []NonEapAuthentica } return result } +func (i NonEapAuthenticationMethodForEapTtlsType) isMultiValue() bool { + return false +} diff --git a/models/non_eap_authentication_method_for_peap.go b/models/non_eap_authentication_method_for_peap.go index 3e42c18e7ea..48e63238d25 100644 --- a/models/non_eap_authentication_method_for_peap.go +++ b/models/non_eap_authentication_method_for_peap.go @@ -34,3 +34,6 @@ func SerializeNonEapAuthenticationMethodForPeap(values []NonEapAuthenticationMet } return result } +func (i NonEapAuthenticationMethodForPeap) isMultiValue() bool { + return false +} diff --git a/models/notification_delivery_frequency.go b/models/notification_delivery_frequency.go index 6638122cc3e..c73aa476f5e 100644 --- a/models/notification_delivery_frequency.go +++ b/models/notification_delivery_frequency.go @@ -38,3 +38,6 @@ func SerializeNotificationDeliveryFrequency(values []NotificationDeliveryFrequen } return result } +func (i NotificationDeliveryFrequency) isMultiValue() bool { + return false +} diff --git a/models/notification_delivery_preference.go b/models/notification_delivery_preference.go index 94b15374b74..cde50cf7795 100644 --- a/models/notification_delivery_preference.go +++ b/models/notification_delivery_preference.go @@ -38,3 +38,6 @@ func SerializeNotificationDeliveryPreference(values []NotificationDeliveryPrefer } return result } +func (i NotificationDeliveryPreference) isMultiValue() bool { + return false +} diff --git a/models/notification_template_branding_options.go b/models/notification_template_branding_options.go index ebac524ff70..80c71d32109 100644 --- a/models/notification_template_branding_options.go +++ b/models/notification_template_branding_options.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Branding Options for the Message Template. Branding is defined in the Intune Admin Console. type NotificationTemplateBrandingOptions int @@ -23,27 +24,36 @@ const ( ) func (i NotificationTemplateBrandingOptions) String() string { - return []string{"none", "includeCompanyLogo", "includeCompanyName", "includeContactInformation", "includeCompanyPortalLink", "includeDeviceDetails", "unknownFutureValue"}[i] + var values []string + for p := NotificationTemplateBrandingOptions(1); p <= UNKNOWNFUTUREVALUE_NOTIFICATIONTEMPLATEBRANDINGOPTIONS; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "includeCompanyLogo", "includeCompanyName", "includeContactInformation", "includeCompanyPortalLink", "includeDeviceDetails", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseNotificationTemplateBrandingOptions(v string) (any, error) { - result := NONE_NOTIFICATIONTEMPLATEBRANDINGOPTIONS - switch v { - case "none": - result = NONE_NOTIFICATIONTEMPLATEBRANDINGOPTIONS - case "includeCompanyLogo": - result = INCLUDECOMPANYLOGO_NOTIFICATIONTEMPLATEBRANDINGOPTIONS - case "includeCompanyName": - result = INCLUDECOMPANYNAME_NOTIFICATIONTEMPLATEBRANDINGOPTIONS - case "includeContactInformation": - result = INCLUDECONTACTINFORMATION_NOTIFICATIONTEMPLATEBRANDINGOPTIONS - case "includeCompanyPortalLink": - result = INCLUDECOMPANYPORTALLINK_NOTIFICATIONTEMPLATEBRANDINGOPTIONS - case "includeDeviceDetails": - result = INCLUDEDEVICEDETAILS_NOTIFICATIONTEMPLATEBRANDINGOPTIONS - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_NOTIFICATIONTEMPLATEBRANDINGOPTIONS - default: - return 0, errors.New("Unknown NotificationTemplateBrandingOptions value: " + v) + var result NotificationTemplateBrandingOptions + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_NOTIFICATIONTEMPLATEBRANDINGOPTIONS + case "includeCompanyLogo": + result |= INCLUDECOMPANYLOGO_NOTIFICATIONTEMPLATEBRANDINGOPTIONS + case "includeCompanyName": + result |= INCLUDECOMPANYNAME_NOTIFICATIONTEMPLATEBRANDINGOPTIONS + case "includeContactInformation": + result |= INCLUDECONTACTINFORMATION_NOTIFICATIONTEMPLATEBRANDINGOPTIONS + case "includeCompanyPortalLink": + result |= INCLUDECOMPANYPORTALLINK_NOTIFICATIONTEMPLATEBRANDINGOPTIONS + case "includeDeviceDetails": + result |= INCLUDEDEVICEDETAILS_NOTIFICATIONTEMPLATEBRANDINGOPTIONS + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_NOTIFICATIONTEMPLATEBRANDINGOPTIONS + default: + return 0, errors.New("Unknown NotificationTemplateBrandingOptions value: " + v) + } } return &result, nil } @@ -54,3 +64,6 @@ func SerializeNotificationTemplateBrandingOptions(values []NotificationTemplateB } return result } +func (i NotificationTemplateBrandingOptions) isMultiValue() bool { + return true +} diff --git a/models/o_auth_app_scope.go b/models/o_auth_app_scope.go index c9043142cf5..f8577cab259 100644 --- a/models/o_auth_app_scope.go +++ b/models/o_auth_app_scope.go @@ -53,3 +53,6 @@ func SerializeOAuthAppScope(values []OAuthAppScope) []string { } return result } +func (i OAuthAppScope) isMultiValue() bool { + return false +} diff --git a/models/object_definition_metadata.go b/models/object_definition_metadata.go index 2a46c63d269..26344ab6994 100644 --- a/models/object_definition_metadata.go +++ b/models/object_definition_metadata.go @@ -47,3 +47,6 @@ func SerializeObjectDefinitionMetadata(values []ObjectDefinitionMetadata) []stri } return result } +func (i ObjectDefinitionMetadata) isMultiValue() bool { + return false +} diff --git a/models/object_flow_types.go b/models/object_flow_types.go index 9285b564cd8..37ff4a160ee 100644 --- a/models/object_flow_types.go +++ b/models/object_flow_types.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type ObjectFlowTypes int @@ -13,21 +14,30 @@ const ( ) func (i ObjectFlowTypes) String() string { - return []string{"None", "Add", "Update", "Delete"}[i] + var values []string + for p := ObjectFlowTypes(1); p <= DELETE_OBJECTFLOWTYPES; p <<= 1 { + if i&p == p { + values = append(values, []string{"None", "Add", "Update", "Delete"}[p]) + } + } + return strings.Join(values, ",") } func ParseObjectFlowTypes(v string) (any, error) { - result := NONE_OBJECTFLOWTYPES - switch v { - case "None": - result = NONE_OBJECTFLOWTYPES - case "Add": - result = ADD_OBJECTFLOWTYPES - case "Update": - result = UPDATE_OBJECTFLOWTYPES - case "Delete": - result = DELETE_OBJECTFLOWTYPES - default: - return 0, errors.New("Unknown ObjectFlowTypes value: " + v) + var result ObjectFlowTypes + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "None": + result |= NONE_OBJECTFLOWTYPES + case "Add": + result |= ADD_OBJECTFLOWTYPES + case "Update": + result |= UPDATE_OBJECTFLOWTYPES + case "Delete": + result |= DELETE_OBJECTFLOWTYPES + default: + return 0, errors.New("Unknown ObjectFlowTypes value: " + v) + } } return &result, nil } @@ -38,3 +48,6 @@ func SerializeObjectFlowTypes(values []ObjectFlowTypes) []string { } return result } +func (i ObjectFlowTypes) isMultiValue() bool { + return true +} diff --git a/models/object_identity.go b/models/object_identity.go index aedf9900d7c..59369db43af 100644 --- a/models/object_identity.go +++ b/models/object_identity.go @@ -83,7 +83,7 @@ func (m *ObjectIdentity) GetFieldDeserializers()(map[string]func(i878a80d2330e89 } return res } -// GetIssuer gets the issuer property value. Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType is not federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For external users from other Azure AD organization, this will be the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit. +// GetIssuer gets the issuer property value. Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType isn't federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For external users from other Azure AD organization, this is the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit. func (m *ObjectIdentity) GetIssuer()(*string) { val, err := m.GetBackingStore().Get("issuer") if err != nil { @@ -116,7 +116,7 @@ func (m *ObjectIdentity) GetOdataType()(*string) { } return nil } -// GetSignInType gets the signInType property value. Specifies the user sign-in types in your directory, such as emailAddress, userName, federated, or userPrincipalName. federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. Setting or updating a userPrincipalName identity will update the value of the userPrincipalName property on the user object. The validations performed on the userPrincipalName property on the user object, for example, verified domains and acceptable characters, will be performed when setting or updating a userPrincipalName identity. Additional validation is enforced on issuerAssignedId when the sign-in type is set to emailAddress or userName. This property can also be set to any custom string. +// GetSignInType gets the signInType property value. Specifies the user sign-in types in your directory, such as emailAddress, userName, federated, or userPrincipalName. federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. Setting or updating a userPrincipalName identity will update the value of the userPrincipalName property on the user object. The validations performed on the userPrincipalName property on the user object, for example, verified domains and acceptable characters, will be performed when setting or updating a userPrincipalName identity. Extra validation is enforced on issuerAssignedId when the sign-in type is set to emailAddress or userName. This property can also be set to any custom string. func (m *ObjectIdentity) GetSignInType()(*string) { val, err := m.GetBackingStore().Get("signInType") if err != nil { @@ -172,7 +172,7 @@ func (m *ObjectIdentity) SetAdditionalData(value map[string]any)() { func (m *ObjectIdentity) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetIssuer sets the issuer property value. Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType is not federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For external users from other Azure AD organization, this will be the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit. +// SetIssuer sets the issuer property value. Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType isn't federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For external users from other Azure AD organization, this is the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit. func (m *ObjectIdentity) SetIssuer(value *string)() { err := m.GetBackingStore().Set("issuer", value) if err != nil { @@ -193,7 +193,7 @@ func (m *ObjectIdentity) SetOdataType(value *string)() { panic(err) } } -// SetSignInType sets the signInType property value. Specifies the user sign-in types in your directory, such as emailAddress, userName, federated, or userPrincipalName. federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. Setting or updating a userPrincipalName identity will update the value of the userPrincipalName property on the user object. The validations performed on the userPrincipalName property on the user object, for example, verified domains and acceptable characters, will be performed when setting or updating a userPrincipalName identity. Additional validation is enforced on issuerAssignedId when the sign-in type is set to emailAddress or userName. This property can also be set to any custom string. +// SetSignInType sets the signInType property value. Specifies the user sign-in types in your directory, such as emailAddress, userName, federated, or userPrincipalName. federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. Setting or updating a userPrincipalName identity will update the value of the userPrincipalName property on the user object. The validations performed on the userPrincipalName property on the user object, for example, verified domains and acceptable characters, will be performed when setting or updating a userPrincipalName identity. Extra validation is enforced on issuerAssignedId when the sign-in type is set to emailAddress or userName. This property can also be set to any custom string. func (m *ObjectIdentity) SetSignInType(value *string)() { err := m.GetBackingStore().Set("signInType", value) if err != nil { diff --git a/models/object_mapping_metadata.go b/models/object_mapping_metadata.go index f54a950301e..3b982c42a8d 100644 --- a/models/object_mapping_metadata.go +++ b/models/object_mapping_metadata.go @@ -47,3 +47,6 @@ func SerializeObjectMappingMetadata(values []ObjectMappingMetadata) []string { } return result } +func (i ObjectMappingMetadata) isMultiValue() bool { + return false +} diff --git a/models/obliteration_behavior.go b/models/obliteration_behavior.go index 7674ef06f91..14d8a2eebbc 100644 --- a/models/obliteration_behavior.go +++ b/models/obliteration_behavior.go @@ -46,3 +46,6 @@ func SerializeObliterationBehavior(values []ObliterationBehavior) []string { } return result } +func (i ObliterationBehavior) isMultiValue() bool { + return false +} diff --git a/models/odataerrors/o_data_error.go b/models/odataerrors/o_data_error.go index 45d9590deeb..e248e43d08e 100644 --- a/models/odataerrors/o_data_error.go +++ b/models/odataerrors/o_data_error.go @@ -25,6 +25,10 @@ func NewODataError()(*ODataError) { func CreateODataErrorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewODataError(), nil } +// Error the primary error message. +func (m *ODataError) Error()(string) { + return *(m.GetErrorEscaped().GetMessage()) +} // GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. func (m *ODataError) GetAdditionalData()(map[string]any) { val , err := m.backingStore.Get("additionalData") diff --git a/models/office_product_id.go b/models/office_product_id.go index 5128cac6f72..98f038a452f 100644 --- a/models/office_product_id.go +++ b/models/office_product_id.go @@ -38,3 +38,6 @@ func SerializeOfficeProductId(values []OfficeProductId) []string { } return result } +func (i OfficeProductId) isMultiValue() bool { + return false +} diff --git a/models/office_suite_default_file_format_type.go b/models/office_suite_default_file_format_type.go index 68de087c9f2..6a285b5b63f 100644 --- a/models/office_suite_default_file_format_type.go +++ b/models/office_suite_default_file_format_type.go @@ -42,3 +42,6 @@ func SerializeOfficeSuiteDefaultFileFormatType(values []OfficeSuiteDefaultFileFo } return result } +func (i OfficeSuiteDefaultFileFormatType) isMultiValue() bool { + return false +} diff --git a/models/office_suite_install_progress_display_level.go b/models/office_suite_install_progress_display_level.go index 25aeb6feb70..4025bc9fef6 100644 --- a/models/office_suite_install_progress_display_level.go +++ b/models/office_suite_install_progress_display_level.go @@ -32,3 +32,6 @@ func SerializeOfficeSuiteInstallProgressDisplayLevel(values []OfficeSuiteInstall } return result } +func (i OfficeSuiteInstallProgressDisplayLevel) isMultiValue() bool { + return false +} diff --git a/models/office_update_channel.go b/models/office_update_channel.go index 37e31211d43..192f8ebf032 100644 --- a/models/office_update_channel.go +++ b/models/office_update_channel.go @@ -44,3 +44,6 @@ func SerializeOfficeUpdateChannel(values []OfficeUpdateChannel) []string { } return result } +func (i OfficeUpdateChannel) isMultiValue() bool { + return false +} diff --git a/models/on_premises_current_export_data.go b/models/on_premises_current_export_data.go index ebb2c7e2d87..c558b8bff34 100644 --- a/models/on_premises_current_export_data.go +++ b/models/on_premises_current_export_data.go @@ -38,7 +38,7 @@ func (m *OnPremisesCurrentExportData) GetAdditionalData()(map[string]any) { func (m *OnPremisesCurrentExportData) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetClientMachineName gets the clientMachineName property value. The name of the onPremises client machine which ran the last export. +// GetClientMachineName gets the clientMachineName property value. The name of the onPremises client machine that ran the last export. func (m *OnPremisesCurrentExportData) GetClientMachineName()(*string) { val, err := m.GetBackingStore().Get("clientMachineName") if err != nil { @@ -188,7 +188,7 @@ func (m *OnPremisesCurrentExportData) GetPendingObjectsUpdate()(*int32) { } return nil } -// GetServiceAccount gets the serviceAccount property value. The name of the dirsync service account which is configured to connect to the directory. +// GetServiceAccount gets the serviceAccount property value. The name of the dirsync service account that is configured to connect to the directory. func (m *OnPremisesCurrentExportData) GetServiceAccount()(*string) { val, err := m.GetBackingStore().Get("serviceAccount") if err != nil { @@ -210,7 +210,7 @@ func (m *OnPremisesCurrentExportData) GetSuccessfulLinksProvisioningCount()(*int } return nil } -// GetSuccessfulObjectsProvisioningCount gets the successfulObjectsProvisioningCount property value. The count of objects which were successfully provisioned during the current directory sync export run. +// GetSuccessfulObjectsProvisioningCount gets the successfulObjectsProvisioningCount property value. The count of objects that were successfully provisioned during the current directory sync export run. func (m *OnPremisesCurrentExportData) GetSuccessfulObjectsProvisioningCount()(*int32) { val, err := m.GetBackingStore().Get("successfulObjectsProvisioningCount") if err != nil { @@ -307,7 +307,7 @@ func (m *OnPremisesCurrentExportData) SetAdditionalData(value map[string]any)() func (m *OnPremisesCurrentExportData) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetClientMachineName sets the clientMachineName property value. The name of the onPremises client machine which ran the last export. +// SetClientMachineName sets the clientMachineName property value. The name of the onPremises client machine that ran the last export. func (m *OnPremisesCurrentExportData) SetClientMachineName(value *string)() { err := m.GetBackingStore().Set("clientMachineName", value) if err != nil { @@ -342,7 +342,7 @@ func (m *OnPremisesCurrentExportData) SetPendingObjectsUpdate(value *int32)() { panic(err) } } -// SetServiceAccount sets the serviceAccount property value. The name of the dirsync service account which is configured to connect to the directory. +// SetServiceAccount sets the serviceAccount property value. The name of the dirsync service account that is configured to connect to the directory. func (m *OnPremisesCurrentExportData) SetServiceAccount(value *string)() { err := m.GetBackingStore().Set("serviceAccount", value) if err != nil { @@ -356,7 +356,7 @@ func (m *OnPremisesCurrentExportData) SetSuccessfulLinksProvisioningCount(value panic(err) } } -// SetSuccessfulObjectsProvisioningCount sets the successfulObjectsProvisioningCount property value. The count of objects which were successfully provisioned during the current directory sync export run. +// SetSuccessfulObjectsProvisioningCount sets the successfulObjectsProvisioningCount property value. The count of objects that were successfully provisioned during the current directory sync export run. func (m *OnPremisesCurrentExportData) SetSuccessfulObjectsProvisioningCount(value *int32)() { err := m.GetBackingStore().Set("successfulObjectsProvisioningCount", value) if err != nil { diff --git a/models/on_premises_directory_synchronization_deletion_prevention_type.go b/models/on_premises_directory_synchronization_deletion_prevention_type.go index 3c064152266..4e66359f1d5 100644 --- a/models/on_premises_directory_synchronization_deletion_prevention_type.go +++ b/models/on_premises_directory_synchronization_deletion_prevention_type.go @@ -38,3 +38,6 @@ func SerializeOnPremisesDirectorySynchronizationDeletionPreventionType(values [] } return result } +func (i OnPremisesDirectorySynchronizationDeletionPreventionType) isMultiValue() bool { + return false +} diff --git a/models/on_premises_publishing.go b/models/on_premises_publishing.go index 6dbf4e61b86..df19d473504 100644 --- a/models/on_premises_publishing.go +++ b/models/on_premises_publishing.go @@ -34,7 +34,7 @@ func (m *OnPremisesPublishing) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetAlternateUrl gets the alternateUrl property value. If you are configuring a traffic manager in front of multiple App Proxy applications, the alternateUrl is the user-friendly URL that will point to the traffic manager. +// GetAlternateUrl gets the alternateUrl property value. If you're configuring a traffic manager in front of multiple App Proxy applications, the alternateUrl is the user-friendly URL that points to the traffic manager. func (m *OnPremisesPublishing) GetAlternateUrl()(*string) { val, err := m.GetBackingStore().Get("alternateUrl") if err != nil { @@ -45,7 +45,7 @@ func (m *OnPremisesPublishing) GetAlternateUrl()(*string) { } return nil } -// GetApplicationServerTimeout gets the applicationServerTimeout property value. The duration the connector will wait for a response from the backend application before closing the connection. Possible values are default, long. When set to default, the backend application timeout has a length of 85 seconds. When set to long, the backend timeout is increased to 180 seconds. Use long if your server takes more than 85 seconds to respond to requests or if you are unable to access the application and the error status is 'Backend Timeout'. Default value is default. +// GetApplicationServerTimeout gets the applicationServerTimeout property value. The duration the connector waits for a response from the backend application before closing the connection. Possible values are default, long. When set to default, the backend application timeout has a length of 85 seconds. When set to long, the backend timeout is increased to 180 seconds. Use long if your server takes more than 85 seconds to respond to requests or if you are unable to access the application and the error status is 'Backend Timeout'. Default value is default. func (m *OnPremisesPublishing) GetApplicationServerTimeout()(*string) { val, err := m.GetBackingStore().Get("applicationServerTimeout") if err != nil { @@ -71,7 +71,7 @@ func (m *OnPremisesPublishing) GetApplicationType()(*string) { func (m *OnPremisesPublishing) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetExternalAuthenticationType gets the externalAuthenticationType property value. Details the pre-authentication setting for the application. Pre-authentication enforces that users must authenticate before accessing the app. Passthru does not require authentication. Possible values are: passthru, aadPreAuthentication. +// GetExternalAuthenticationType gets the externalAuthenticationType property value. Details the pre-authentication setting for the application. Pre-authentication enforces that users must authenticate before accessing the app. Pass through doesn't require authentication. Possible values are: passthru, aadPreAuthentication. func (m *OnPremisesPublishing) GetExternalAuthenticationType()(*ExternalAuthenticationType) { val, err := m.GetBackingStore().Get("externalAuthenticationType") if err != nil { @@ -356,7 +356,7 @@ func (m *OnPremisesPublishing) GetIsAccessibleViaZTNAClient()(*bool) { } return nil } -// GetIsBackendCertificateValidationEnabled gets the isBackendCertificateValidationEnabled property value. Indicates whether backend SSL certificate validation is enabled for the application. For all new Application Proxy apps, the property will be set to true by default. For all existing apps, the property will be set to false. +// GetIsBackendCertificateValidationEnabled gets the isBackendCertificateValidationEnabled property value. Indicates whether backend SSL certificate validation is enabled for the application. For all new Application Proxy apps, the property is set to true by default. For all existing apps, the property is set to false. func (m *OnPremisesPublishing) GetIsBackendCertificateValidationEnabled()(*bool) { val, err := m.GetBackingStore().Get("isBackendCertificateValidationEnabled") if err != nil { @@ -378,7 +378,7 @@ func (m *OnPremisesPublishing) GetIsHttpOnlyCookieEnabled()(*bool) { } return nil } -// GetIsOnPremPublishingEnabled gets the isOnPremPublishingEnabled property value. Indicates if the application is currently being published via Application Proxy or not. This is pre-set by the system. Read-only. +// GetIsOnPremPublishingEnabled gets the isOnPremPublishingEnabled property value. Indicates if the application is currently being published via Application Proxy or not. This is preset by the system. Read-only. func (m *OnPremisesPublishing) GetIsOnPremPublishingEnabled()(*bool) { val, err := m.GetBackingStore().Get("isOnPremPublishingEnabled") if err != nil { @@ -422,7 +422,7 @@ func (m *OnPremisesPublishing) GetIsStateSessionEnabled()(*bool) { } return nil } -// GetIsTranslateHostHeaderEnabled gets the isTranslateHostHeaderEnabled property value. Indicates if the application should translate urls in the reponse headers. Keep this value as true unless your application required the original host header in the authentication request. Default value is true. +// GetIsTranslateHostHeaderEnabled gets the isTranslateHostHeaderEnabled property value. Indicates if the application should translate urls in the response headers. Keep this value as true unless your application required the original host header in the authentication request. Default value is true. func (m *OnPremisesPublishing) GetIsTranslateHostHeaderEnabled()(*bool) { val, err := m.GetBackingStore().Get("isTranslateHostHeaderEnabled") if err != nil { @@ -694,14 +694,14 @@ func (m *OnPremisesPublishing) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetAlternateUrl sets the alternateUrl property value. If you are configuring a traffic manager in front of multiple App Proxy applications, the alternateUrl is the user-friendly URL that will point to the traffic manager. +// SetAlternateUrl sets the alternateUrl property value. If you're configuring a traffic manager in front of multiple App Proxy applications, the alternateUrl is the user-friendly URL that points to the traffic manager. func (m *OnPremisesPublishing) SetAlternateUrl(value *string)() { err := m.GetBackingStore().Set("alternateUrl", value) if err != nil { panic(err) } } -// SetApplicationServerTimeout sets the applicationServerTimeout property value. The duration the connector will wait for a response from the backend application before closing the connection. Possible values are default, long. When set to default, the backend application timeout has a length of 85 seconds. When set to long, the backend timeout is increased to 180 seconds. Use long if your server takes more than 85 seconds to respond to requests or if you are unable to access the application and the error status is 'Backend Timeout'. Default value is default. +// SetApplicationServerTimeout sets the applicationServerTimeout property value. The duration the connector waits for a response from the backend application before closing the connection. Possible values are default, long. When set to default, the backend application timeout has a length of 85 seconds. When set to long, the backend timeout is increased to 180 seconds. Use long if your server takes more than 85 seconds to respond to requests or if you are unable to access the application and the error status is 'Backend Timeout'. Default value is default. func (m *OnPremisesPublishing) SetApplicationServerTimeout(value *string)() { err := m.GetBackingStore().Set("applicationServerTimeout", value) if err != nil { @@ -719,7 +719,7 @@ func (m *OnPremisesPublishing) SetApplicationType(value *string)() { func (m *OnPremisesPublishing) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetExternalAuthenticationType sets the externalAuthenticationType property value. Details the pre-authentication setting for the application. Pre-authentication enforces that users must authenticate before accessing the app. Passthru does not require authentication. Possible values are: passthru, aadPreAuthentication. +// SetExternalAuthenticationType sets the externalAuthenticationType property value. Details the pre-authentication setting for the application. Pre-authentication enforces that users must authenticate before accessing the app. Pass through doesn't require authentication. Possible values are: passthru, aadPreAuthentication. func (m *OnPremisesPublishing) SetExternalAuthenticationType(value *ExternalAuthenticationType)() { err := m.GetBackingStore().Set("externalAuthenticationType", value) if err != nil { @@ -747,7 +747,7 @@ func (m *OnPremisesPublishing) SetIsAccessibleViaZTNAClient(value *bool)() { panic(err) } } -// SetIsBackendCertificateValidationEnabled sets the isBackendCertificateValidationEnabled property value. Indicates whether backend SSL certificate validation is enabled for the application. For all new Application Proxy apps, the property will be set to true by default. For all existing apps, the property will be set to false. +// SetIsBackendCertificateValidationEnabled sets the isBackendCertificateValidationEnabled property value. Indicates whether backend SSL certificate validation is enabled for the application. For all new Application Proxy apps, the property is set to true by default. For all existing apps, the property is set to false. func (m *OnPremisesPublishing) SetIsBackendCertificateValidationEnabled(value *bool)() { err := m.GetBackingStore().Set("isBackendCertificateValidationEnabled", value) if err != nil { @@ -761,7 +761,7 @@ func (m *OnPremisesPublishing) SetIsHttpOnlyCookieEnabled(value *bool)() { panic(err) } } -// SetIsOnPremPublishingEnabled sets the isOnPremPublishingEnabled property value. Indicates if the application is currently being published via Application Proxy or not. This is pre-set by the system. Read-only. +// SetIsOnPremPublishingEnabled sets the isOnPremPublishingEnabled property value. Indicates if the application is currently being published via Application Proxy or not. This is preset by the system. Read-only. func (m *OnPremisesPublishing) SetIsOnPremPublishingEnabled(value *bool)() { err := m.GetBackingStore().Set("isOnPremPublishingEnabled", value) if err != nil { @@ -789,7 +789,7 @@ func (m *OnPremisesPublishing) SetIsStateSessionEnabled(value *bool)() { panic(err) } } -// SetIsTranslateHostHeaderEnabled sets the isTranslateHostHeaderEnabled property value. Indicates if the application should translate urls in the reponse headers. Keep this value as true unless your application required the original host header in the authentication request. Default value is true. +// SetIsTranslateHostHeaderEnabled sets the isTranslateHostHeaderEnabled property value. Indicates if the application should translate urls in the response headers. Keep this value as true unless your application required the original host header in the authentication request. Default value is true. func (m *OnPremisesPublishing) SetIsTranslateHostHeaderEnabled(value *bool)() { err := m.GetBackingStore().Set("isTranslateHostHeaderEnabled", value) if err != nil { diff --git a/models/on_premises_publishing_type.go b/models/on_premises_publishing_type.go index 2bdad141729..291c6f73d19 100644 --- a/models/on_premises_publishing_type.go +++ b/models/on_premises_publishing_type.go @@ -47,3 +47,6 @@ func SerializeOnPremisesPublishingType(values []OnPremisesPublishingType) []stri } return result } +func (i OnPremisesPublishingType) isMultiValue() bool { + return false +} diff --git a/models/onboarding_status.go b/models/onboarding_status.go index a28e9df9deb..9087203debf 100644 --- a/models/onboarding_status.go +++ b/models/onboarding_status.go @@ -50,3 +50,6 @@ func SerializeOnboardingStatus(values []OnboardingStatus) []string { } return result } +func (i OnboardingStatus) isMultiValue() bool { + return false +} diff --git a/models/onenote_patch_action_type.go b/models/onenote_patch_action_type.go index 3b97ee1b401..7a5687ad81f 100644 --- a/models/onenote_patch_action_type.go +++ b/models/onenote_patch_action_type.go @@ -41,3 +41,6 @@ func SerializeOnenotePatchActionType(values []OnenotePatchActionType) []string { } return result } +func (i OnenotePatchActionType) isMultiValue() bool { + return false +} diff --git a/models/onenote_patch_insert_position.go b/models/onenote_patch_insert_position.go index bbad6f5b8ac..cb865acc8ac 100644 --- a/models/onenote_patch_insert_position.go +++ b/models/onenote_patch_insert_position.go @@ -32,3 +32,6 @@ func SerializeOnenotePatchInsertPosition(values []OnenotePatchInsertPosition) [] } return result } +func (i OnenotePatchInsertPosition) isMultiValue() bool { + return false +} diff --git a/models/onenote_source_service.go b/models/onenote_source_service.go index 1c9673d3044..f7f648130ee 100644 --- a/models/onenote_source_service.go +++ b/models/onenote_source_service.go @@ -38,3 +38,6 @@ func SerializeOnenoteSourceService(values []OnenoteSourceService) []string { } return result } +func (i OnenoteSourceService) isMultiValue() bool { + return false +} diff --git a/models/onenote_user_role.go b/models/onenote_user_role.go index 7eb11c660f5..804ac3a4a9c 100644 --- a/models/onenote_user_role.go +++ b/models/onenote_user_role.go @@ -38,3 +38,6 @@ func SerializeOnenoteUserRole(values []OnenoteUserRole) []string { } return result } +func (i OnenoteUserRole) isMultiValue() bool { + return false +} diff --git a/models/online_meeting_content_sharing_disabled_reason.go b/models/online_meeting_content_sharing_disabled_reason.go index faeab206bd7..48bcc11b334 100644 --- a/models/online_meeting_content_sharing_disabled_reason.go +++ b/models/online_meeting_content_sharing_disabled_reason.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type OnlineMeetingContentSharingDisabledReason int @@ -11,17 +12,26 @@ const ( ) func (i OnlineMeetingContentSharingDisabledReason) String() string { - return []string{"watermarkProtection", "unknownFutureValue"}[i] + var values []string + for p := OnlineMeetingContentSharingDisabledReason(1); p <= UNKNOWNFUTUREVALUE_ONLINEMEETINGCONTENTSHARINGDISABLEDREASON; p <<= 1 { + if i&p == p { + values = append(values, []string{"watermarkProtection", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseOnlineMeetingContentSharingDisabledReason(v string) (any, error) { - result := WATERMARKPROTECTION_ONLINEMEETINGCONTENTSHARINGDISABLEDREASON - switch v { - case "watermarkProtection": - result = WATERMARKPROTECTION_ONLINEMEETINGCONTENTSHARINGDISABLEDREASON - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_ONLINEMEETINGCONTENTSHARINGDISABLEDREASON - default: - return 0, errors.New("Unknown OnlineMeetingContentSharingDisabledReason value: " + v) + var result OnlineMeetingContentSharingDisabledReason + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "watermarkProtection": + result |= WATERMARKPROTECTION_ONLINEMEETINGCONTENTSHARINGDISABLEDREASON + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_ONLINEMEETINGCONTENTSHARINGDISABLEDREASON + default: + return 0, errors.New("Unknown OnlineMeetingContentSharingDisabledReason value: " + v) + } } return &result, nil } @@ -32,3 +42,6 @@ func SerializeOnlineMeetingContentSharingDisabledReason(values []OnlineMeetingCo } return result } +func (i OnlineMeetingContentSharingDisabledReason) isMultiValue() bool { + return true +} diff --git a/models/online_meeting_forwarders.go b/models/online_meeting_forwarders.go index 7943af517e0..7dc6a3aa4da 100644 --- a/models/online_meeting_forwarders.go +++ b/models/online_meeting_forwarders.go @@ -35,3 +35,6 @@ func SerializeOnlineMeetingForwarders(values []OnlineMeetingForwarders) []string } return result } +func (i OnlineMeetingForwarders) isMultiValue() bool { + return false +} diff --git a/models/online_meeting_info.go b/models/online_meeting_info.go index 9143a7e33e4..6958e1f3c97 100644 --- a/models/online_meeting_info.go +++ b/models/online_meeting_info.go @@ -136,7 +136,7 @@ func (m *OnlineMeetingInfo) GetFieldDeserializers()(map[string]func(i878a80d2330 } return res } -// GetJoinUrl gets the joinUrl property value. The external link that launches the online meeting. This is a URL that clients will launch into a browser and will redirect the user to join the meeting. +// GetJoinUrl gets the joinUrl property value. The external link that launches the online meeting. This is a URL that clients launch into a browser and will redirect the user to join the meeting. func (m *OnlineMeetingInfo) GetJoinUrl()(*string) { val, err := m.GetBackingStore().Get("joinUrl") if err != nil { @@ -169,7 +169,7 @@ func (m *OnlineMeetingInfo) GetPhones()([]Phoneable) { } return nil } -// GetQuickDial gets the quickDial property value. The pre-formatted quickdial for this call. +// GetQuickDial gets the quickDial property value. The preformatted quick dial for this call. func (m *OnlineMeetingInfo) GetQuickDial()(*string) { val, err := m.GetBackingStore().Get("quickDial") if err != nil { @@ -278,7 +278,7 @@ func (m *OnlineMeetingInfo) SetConferenceId(value *string)() { panic(err) } } -// SetJoinUrl sets the joinUrl property value. The external link that launches the online meeting. This is a URL that clients will launch into a browser and will redirect the user to join the meeting. +// SetJoinUrl sets the joinUrl property value. The external link that launches the online meeting. This is a URL that clients launch into a browser and will redirect the user to join the meeting. func (m *OnlineMeetingInfo) SetJoinUrl(value *string)() { err := m.GetBackingStore().Set("joinUrl", value) if err != nil { @@ -299,7 +299,7 @@ func (m *OnlineMeetingInfo) SetPhones(value []Phoneable)() { panic(err) } } -// SetQuickDial sets the quickDial property value. The pre-formatted quickdial for this call. +// SetQuickDial sets the quickDial property value. The preformatted quick dial for this call. func (m *OnlineMeetingInfo) SetQuickDial(value *string)() { err := m.GetBackingStore().Set("quickDial", value) if err != nil { diff --git a/models/online_meeting_presenters.go b/models/online_meeting_presenters.go index bde1ed9dea7..8dd84dfbeb5 100644 --- a/models/online_meeting_presenters.go +++ b/models/online_meeting_presenters.go @@ -41,3 +41,6 @@ func SerializeOnlineMeetingPresenters(values []OnlineMeetingPresenters) []string } return result } +func (i OnlineMeetingPresenters) isMultiValue() bool { + return false +} diff --git a/models/online_meeting_provider_type.go b/models/online_meeting_provider_type.go index 29295793db5..f560a7e6f8c 100644 --- a/models/online_meeting_provider_type.go +++ b/models/online_meeting_provider_type.go @@ -38,3 +38,6 @@ func SerializeOnlineMeetingProviderType(values []OnlineMeetingProviderType) []st } return result } +func (i OnlineMeetingProviderType) isMultiValue() bool { + return false +} diff --git a/models/online_meeting_role.go b/models/online_meeting_role.go index 68d72ee146c..58022fcc346 100644 --- a/models/online_meeting_role.go +++ b/models/online_meeting_role.go @@ -41,3 +41,6 @@ func SerializeOnlineMeetingRole(values []OnlineMeetingRole) []string { } return result } +func (i OnlineMeetingRole) isMultiValue() bool { + return false +} diff --git a/models/online_meeting_video_disabled_reason.go b/models/online_meeting_video_disabled_reason.go index ce90fb229be..1d760e24ba3 100644 --- a/models/online_meeting_video_disabled_reason.go +++ b/models/online_meeting_video_disabled_reason.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type OnlineMeetingVideoDisabledReason int @@ -11,17 +12,26 @@ const ( ) func (i OnlineMeetingVideoDisabledReason) String() string { - return []string{"watermarkProtection", "unknownFutureValue"}[i] + var values []string + for p := OnlineMeetingVideoDisabledReason(1); p <= UNKNOWNFUTUREVALUE_ONLINEMEETINGVIDEODISABLEDREASON; p <<= 1 { + if i&p == p { + values = append(values, []string{"watermarkProtection", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseOnlineMeetingVideoDisabledReason(v string) (any, error) { - result := WATERMARKPROTECTION_ONLINEMEETINGVIDEODISABLEDREASON - switch v { - case "watermarkProtection": - result = WATERMARKPROTECTION_ONLINEMEETINGVIDEODISABLEDREASON - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_ONLINEMEETINGVIDEODISABLEDREASON - default: - return 0, errors.New("Unknown OnlineMeetingVideoDisabledReason value: " + v) + var result OnlineMeetingVideoDisabledReason + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "watermarkProtection": + result |= WATERMARKPROTECTION_ONLINEMEETINGVIDEODISABLEDREASON + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_ONLINEMEETINGVIDEODISABLEDREASON + default: + return 0, errors.New("Unknown OnlineMeetingVideoDisabledReason value: " + v) + } } return &result, nil } @@ -32,3 +42,6 @@ func SerializeOnlineMeetingVideoDisabledReason(values []OnlineMeetingVideoDisabl } return result } +func (i OnlineMeetingVideoDisabledReason) isMultiValue() bool { + return true +} diff --git a/models/open_id_connect_provider.go b/models/open_id_connect_provider.go index 6a0fb8c5777..ded6141f645 100644 --- a/models/open_id_connect_provider.go +++ b/models/open_id_connect_provider.go @@ -19,7 +19,7 @@ func NewOpenIdConnectProvider()(*OpenIdConnectProvider) { func CreateOpenIdConnectProviderFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewOpenIdConnectProvider(), nil } -// GetClaimsMapping gets the claimsMapping property value. After the OIDC provider sends an ID token back to Azure AD, Azure AD needs to be able to map the claims from the received token to the claims that Azure AD recognizes and uses. This complex type captures that mapping. It is a required property. +// GetClaimsMapping gets the claimsMapping property value. After the OIDC provider sends an ID token back to Azure AD, Azure AD needs to be able to map the claims from the received token to the claims that Azure AD recognizes and uses. This complex type captures that mapping. It's a required property. func (m *OpenIdConnectProvider) GetClaimsMapping()(ClaimsMappingable) { val, err := m.GetBackingStore().Get("claimsMapping") if err != nil { @@ -106,7 +106,7 @@ func (m *OpenIdConnectProvider) GetFieldDeserializers()(map[string]func(i878a80d } return res } -// GetMetadataUrl gets the metadataUrl property value. The URL for the metadata document of the OpenID Connect identity provider. Every OpenID Connect identity provider describes a metadata document that contains most of the information required to perform sign-in. This includes information such as the URLs to use and the location of the service's public signing keys. The OpenID Connect metadata document is always located at an endpoint that ends in .well-known/openid-configuration . For the OpenID Connect identity provider you are looking to add, you will need to provide the metadata URL. It is a required property and is read only after creation. +// GetMetadataUrl gets the metadataUrl property value. The URL for the metadata document of the OpenID Connect identity provider. Every OpenID Connect identity provider describes a metadata document that contains most of the information required to perform sign-in. This includes information such as the URLs to use and the location of the service's public signing keys. The OpenID Connect metadata document is always located at an endpoint that ends in a well-known/openid-configuration. For the OpenID Connect identity provider you're looking to add, you need to provide the metadata URL. It's a required property and is read only after creation. func (m *OpenIdConnectProvider) GetMetadataUrl()(*string) { val, err := m.GetBackingStore().Get("metadataUrl") if err != nil { @@ -139,7 +139,7 @@ func (m *OpenIdConnectProvider) GetResponseType()(*OpenIdConnectResponseTypes) { } return nil } -// GetScope gets the scope property value. Scope defines the information and permissions you are looking to gather from your custom identity provider. OpenID Connect requests must contain the openid scope value in order to receive the ID token from the identity provider. Without the ID token, users are not able to sign in to Azure AD B2C using the custom identity provider. Other scopes can be appended separated by space. For more details about the scope limitations see RFC6749 Section 3.3. It is a required property. +// GetScope gets the scope property value. Scope defines the information and permissions you're looking to gather from your custom identity provider. OpenID Connect requests must contain the openid scope value in order to receive the ID token from the identity provider. Without the ID token, users aren't able to sign in to Azure AD B2C using the custom identity provider. Other scopes can be appended separated by space. For more information about the scope limitations, see RFC6749 Section 3.3. It's a required property. func (m *OpenIdConnectProvider) GetScope()(*string) { val, err := m.GetBackingStore().Get("scope") if err != nil { @@ -196,7 +196,7 @@ func (m *OpenIdConnectProvider) Serialize(writer i878a80d2330e89d26896388a3f487e } return nil } -// SetClaimsMapping sets the claimsMapping property value. After the OIDC provider sends an ID token back to Azure AD, Azure AD needs to be able to map the claims from the received token to the claims that Azure AD recognizes and uses. This complex type captures that mapping. It is a required property. +// SetClaimsMapping sets the claimsMapping property value. After the OIDC provider sends an ID token back to Azure AD, Azure AD needs to be able to map the claims from the received token to the claims that Azure AD recognizes and uses. This complex type captures that mapping. It's a required property. func (m *OpenIdConnectProvider) SetClaimsMapping(value ClaimsMappingable)() { err := m.GetBackingStore().Set("claimsMapping", value) if err != nil { @@ -210,7 +210,7 @@ func (m *OpenIdConnectProvider) SetDomainHint(value *string)() { panic(err) } } -// SetMetadataUrl sets the metadataUrl property value. The URL for the metadata document of the OpenID Connect identity provider. Every OpenID Connect identity provider describes a metadata document that contains most of the information required to perform sign-in. This includes information such as the URLs to use and the location of the service's public signing keys. The OpenID Connect metadata document is always located at an endpoint that ends in .well-known/openid-configuration . For the OpenID Connect identity provider you are looking to add, you will need to provide the metadata URL. It is a required property and is read only after creation. +// SetMetadataUrl sets the metadataUrl property value. The URL for the metadata document of the OpenID Connect identity provider. Every OpenID Connect identity provider describes a metadata document that contains most of the information required to perform sign-in. This includes information such as the URLs to use and the location of the service's public signing keys. The OpenID Connect metadata document is always located at an endpoint that ends in a well-known/openid-configuration. For the OpenID Connect identity provider you're looking to add, you need to provide the metadata URL. It's a required property and is read only after creation. func (m *OpenIdConnectProvider) SetMetadataUrl(value *string)() { err := m.GetBackingStore().Set("metadataUrl", value) if err != nil { @@ -231,7 +231,7 @@ func (m *OpenIdConnectProvider) SetResponseType(value *OpenIdConnectResponseType panic(err) } } -// SetScope sets the scope property value. Scope defines the information and permissions you are looking to gather from your custom identity provider. OpenID Connect requests must contain the openid scope value in order to receive the ID token from the identity provider. Without the ID token, users are not able to sign in to Azure AD B2C using the custom identity provider. Other scopes can be appended separated by space. For more details about the scope limitations see RFC6749 Section 3.3. It is a required property. +// SetScope sets the scope property value. Scope defines the information and permissions you're looking to gather from your custom identity provider. OpenID Connect requests must contain the openid scope value in order to receive the ID token from the identity provider. Without the ID token, users aren't able to sign in to Azure AD B2C using the custom identity provider. Other scopes can be appended separated by space. For more information about the scope limitations, see RFC6749 Section 3.3. It's a required property. func (m *OpenIdConnectProvider) SetScope(value *string)() { err := m.GetBackingStore().Set("scope", value) if err != nil { diff --git a/models/open_id_connect_response_mode.go b/models/open_id_connect_response_mode.go index 5d93191cce0..c70cd45b69c 100644 --- a/models/open_id_connect_response_mode.go +++ b/models/open_id_connect_response_mode.go @@ -35,3 +35,6 @@ func SerializeOpenIdConnectResponseMode(values []OpenIdConnectResponseMode) []st } return result } +func (i OpenIdConnectResponseMode) isMultiValue() bool { + return false +} diff --git a/models/open_id_connect_response_types.go b/models/open_id_connect_response_types.go index 1ff14dff3d8..26af0890ecc 100644 --- a/models/open_id_connect_response_types.go +++ b/models/open_id_connect_response_types.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type OpenIdConnectResponseTypes int @@ -12,19 +13,28 @@ const ( ) func (i OpenIdConnectResponseTypes) String() string { - return []string{"code", "id_token", "token"}[i] + var values []string + for p := OpenIdConnectResponseTypes(1); p <= TOKEN_OPENIDCONNECTRESPONSETYPES; p <<= 1 { + if i&p == p { + values = append(values, []string{"code", "id_token", "token"}[p]) + } + } + return strings.Join(values, ",") } func ParseOpenIdConnectResponseTypes(v string) (any, error) { - result := CODE_OPENIDCONNECTRESPONSETYPES - switch v { - case "code": - result = CODE_OPENIDCONNECTRESPONSETYPES - case "id_token": - result = ID_TOKEN_OPENIDCONNECTRESPONSETYPES - case "token": - result = TOKEN_OPENIDCONNECTRESPONSETYPES - default: - return 0, errors.New("Unknown OpenIdConnectResponseTypes value: " + v) + var result OpenIdConnectResponseTypes + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "code": + result |= CODE_OPENIDCONNECTRESPONSETYPES + case "id_token": + result |= ID_TOKEN_OPENIDCONNECTRESPONSETYPES + case "token": + result |= TOKEN_OPENIDCONNECTRESPONSETYPES + default: + return 0, errors.New("Unknown OpenIdConnectResponseTypes value: " + v) + } } return &result, nil } @@ -35,3 +45,6 @@ func SerializeOpenIdConnectResponseTypes(values []OpenIdConnectResponseTypes) [] } return result } +func (i OpenIdConnectResponseTypes) isMultiValue() bool { + return true +} diff --git a/models/operating_system_upgrade_eligibility.go b/models/operating_system_upgrade_eligibility.go index ca758407726..fadfca3cdbc 100644 --- a/models/operating_system_upgrade_eligibility.go +++ b/models/operating_system_upgrade_eligibility.go @@ -46,3 +46,6 @@ func SerializeOperatingSystemUpgradeEligibility(values []OperatingSystemUpgradeE } return result } +func (i OperatingSystemUpgradeEligibility) isMultiValue() bool { + return false +} diff --git a/models/operation_result.go b/models/operation_result.go index 695cba7b6e9..b7f527d0af9 100644 --- a/models/operation_result.go +++ b/models/operation_result.go @@ -38,3 +38,6 @@ func SerializeOperationResult(values []OperationResult) []string { } return result } +func (i OperationResult) isMultiValue() bool { + return false +} diff --git a/models/operation_status.go b/models/operation_status.go index f479eb31888..769c624862a 100644 --- a/models/operation_status.go +++ b/models/operation_status.go @@ -38,3 +38,6 @@ func SerializeOperationStatus(values []OperationStatus) []string { } return result } +func (i OperationStatus) isMultiValue() bool { + return false +} diff --git a/models/operator.go b/models/operator.go index 479bc151292..ca91bdda3ba 100644 --- a/models/operator.go +++ b/models/operator.go @@ -126,3 +126,6 @@ func SerializeOperator(values []Operator) []string { } return result } +func (i Operator) isMultiValue() bool { + return false +} diff --git a/models/org_contact.go b/models/org_contact.go index d4be516ea84..2ae97449a2b 100644 --- a/models/org_contact.go +++ b/models/org_contact.go @@ -66,7 +66,7 @@ func (m *OrgContact) GetDirectReports()([]DirectoryObjectable) { } return nil } -// GetDisplayName gets the displayName property value. Display name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq for null values), $search, and $orderBy. +// GetDisplayName gets the displayName property value. Display name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq for null values), $search, and $orderby. func (m *OrgContact) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") if err != nil { @@ -705,7 +705,7 @@ func (m *OrgContact) SetDirectReports(value []DirectoryObjectable)() { panic(err) } } -// SetDisplayName sets the displayName property value. Display name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq for null values), $search, and $orderBy. +// SetDisplayName sets the displayName property value. Display name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq for null values), $search, and $orderby. func (m *OrgContact) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { diff --git a/models/organization_settings.go b/models/organization_settings.go index b5cfa85c30f..a00d789350d 100644 --- a/models/organization_settings.go +++ b/models/organization_settings.go @@ -73,32 +73,6 @@ func (m *OrganizationSettings) GetFieldDeserializers()(map[string]func(i878a80d2 } return nil } - res["profileCardProperties"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetCollectionOfObjectValues(CreateProfileCardPropertyFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - res := make([]ProfileCardPropertyable, len(val)) - for i, v := range val { - if v != nil { - res[i] = v.(ProfileCardPropertyable) - } - } - m.SetProfileCardProperties(res) - } - return nil - } - res["pronouns"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreatePronounsSettingsFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetPronouns(val.(PronounsSettingsable)) - } - return nil - } return res } // GetItemInsights gets the itemInsights property value. Contains the properties that are configured by an administrator for the visibility of Microsoft Graph-derived insights, between a user and other items in Microsoft 365, such as documents or sites. List itemInsights returns the settings to display or return item insights in an organization. @@ -134,28 +108,6 @@ func (m *OrganizationSettings) GetPeopleInsights()(InsightsSettingsable) { } return nil } -// GetProfileCardProperties gets the profileCardProperties property value. The profileCardProperties property -func (m *OrganizationSettings) GetProfileCardProperties()([]ProfileCardPropertyable) { - val, err := m.GetBackingStore().Get("profileCardProperties") - if err != nil { - panic(err) - } - if val != nil { - return val.([]ProfileCardPropertyable) - } - return nil -} -// GetPronouns gets the pronouns property value. The pronouns property -func (m *OrganizationSettings) GetPronouns()(PronounsSettingsable) { - val, err := m.GetBackingStore().Get("pronouns") - if err != nil { - panic(err) - } - if val != nil { - return val.(PronounsSettingsable) - } - return nil -} // Serialize serializes information the current object func (m *OrganizationSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.Entity.Serialize(writer) @@ -186,24 +138,6 @@ func (m *OrganizationSettings) Serialize(writer i878a80d2330e89d26896388a3f487ee return err } } - if m.GetProfileCardProperties() != nil { - cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetProfileCardProperties())) - for i, v := range m.GetProfileCardProperties() { - if v != nil { - cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) - } - } - err = writer.WriteCollectionOfObjectValues("profileCardProperties", cast) - if err != nil { - return err - } - } - { - err = writer.WriteObjectValue("pronouns", m.GetPronouns()) - if err != nil { - return err - } - } return nil } // SetContactInsights sets the contactInsights property value. Contains the properties that are configured by an administrator as a tenant-level privacy control whether to identify duplicate contacts among a user's contacts list and suggest the user to merge those contacts to have a cleaner contacts list. List contactInsights returns the settings to display or return contact insights in an organization. @@ -234,20 +168,6 @@ func (m *OrganizationSettings) SetPeopleInsights(value InsightsSettingsable)() { panic(err) } } -// SetProfileCardProperties sets the profileCardProperties property value. The profileCardProperties property -func (m *OrganizationSettings) SetProfileCardProperties(value []ProfileCardPropertyable)() { - err := m.GetBackingStore().Set("profileCardProperties", value) - if err != nil { - panic(err) - } -} -// SetPronouns sets the pronouns property value. The pronouns property -func (m *OrganizationSettings) SetPronouns(value PronounsSettingsable)() { - err := m.GetBackingStore().Set("pronouns", value) - if err != nil { - panic(err) - } -} // OrganizationSettingsable type OrganizationSettingsable interface { Entityable @@ -256,12 +176,8 @@ type OrganizationSettingsable interface { GetItemInsights()(InsightsSettingsable) GetMicrosoftApplicationDataAccess()(MicrosoftApplicationDataAccessSettingsable) GetPeopleInsights()(InsightsSettingsable) - GetProfileCardProperties()([]ProfileCardPropertyable) - GetPronouns()(PronounsSettingsable) SetContactInsights(value InsightsSettingsable)() SetItemInsights(value InsightsSettingsable)() SetMicrosoftApplicationDataAccess(value MicrosoftApplicationDataAccessSettingsable)() SetPeopleInsights(value InsightsSettingsable)() - SetProfileCardProperties(value []ProfileCardPropertyable)() - SetPronouns(value PronounsSettingsable)() } diff --git a/models/original_transfer_methods.go b/models/original_transfer_methods.go index 7edfdf255cb..9e07cf2715b 100644 --- a/models/original_transfer_methods.go +++ b/models/original_transfer_methods.go @@ -38,3 +38,6 @@ func SerializeOriginalTransferMethods(values []OriginalTransferMethods) []string } return result } +func (i OriginalTransferMethods) isMultiValue() bool { + return false +} diff --git a/models/outlier_container_type.go b/models/outlier_container_type.go index 38f56202488..b1a8219fc4b 100644 --- a/models/outlier_container_type.go +++ b/models/outlier_container_type.go @@ -32,3 +32,6 @@ func SerializeOutlierContainerType(values []OutlierContainerType) []string { } return result } +func (i OutlierContainerType) isMultiValue() bool { + return false +} diff --git a/models/outlier_member_type.go b/models/outlier_member_type.go index 355f48d60d5..48502e183ab 100644 --- a/models/outlier_member_type.go +++ b/models/outlier_member_type.go @@ -32,3 +32,6 @@ func SerializeOutlierMemberType(values []OutlierMemberType) []string { } return result } +func (i OutlierMemberType) isMultiValue() bool { + return false +} diff --git a/models/owner_type.go b/models/owner_type.go index 0a19b293baf..1f9438d9818 100644 --- a/models/owner_type.go +++ b/models/owner_type.go @@ -38,3 +38,6 @@ func SerializeOwnerType(values []OwnerType) []string { } return result } +func (i OwnerType) isMultiValue() bool { + return false +} diff --git a/models/page_layout_type.go b/models/page_layout_type.go index 8b6181c4722..4c7ba714245 100644 --- a/models/page_layout_type.go +++ b/models/page_layout_type.go @@ -38,3 +38,6 @@ func SerializePageLayoutType(values []PageLayoutType) []string { } return result } +func (i PageLayoutType) isMultiValue() bool { + return false +} diff --git a/models/page_orientation.go b/models/page_orientation.go index f4722b46520..cef053b2cb0 100644 --- a/models/page_orientation.go +++ b/models/page_orientation.go @@ -32,3 +32,6 @@ func SerializePageOrientation(values []PageOrientation) []string { } return result } +func (i PageOrientation) isMultiValue() bool { + return false +} diff --git a/models/page_promotion_type.go b/models/page_promotion_type.go index 578a3e053f9..90cdfaa0669 100644 --- a/models/page_promotion_type.go +++ b/models/page_promotion_type.go @@ -38,3 +38,6 @@ func SerializePagePromotionType(values []PagePromotionType) []string { } return result } +func (i PagePromotionType) isMultiValue() bool { + return false +} diff --git a/models/partner_tenant_type.go b/models/partner_tenant_type.go index d3710b34ab2..a229f02fe3b 100644 --- a/models/partner_tenant_type.go +++ b/models/partner_tenant_type.go @@ -47,3 +47,6 @@ func SerializePartnerTenantType(values []PartnerTenantType) []string { } return result } +func (i PartnerTenantType) isMultiValue() bool { + return false +} diff --git a/models/payload_brand.go b/models/payload_brand.go index fd6af7a27dc..50412da7e3e 100644 --- a/models/payload_brand.go +++ b/models/payload_brand.go @@ -89,3 +89,6 @@ func SerializePayloadBrand(values []PayloadBrand) []string { } return result } +func (i PayloadBrand) isMultiValue() bool { + return false +} diff --git a/models/payload_complexity.go b/models/payload_complexity.go index 8533eddbc16..b2dcf624797 100644 --- a/models/payload_complexity.go +++ b/models/payload_complexity.go @@ -41,3 +41,6 @@ func SerializePayloadComplexity(values []PayloadComplexity) []string { } return result } +func (i PayloadComplexity) isMultiValue() bool { + return false +} diff --git a/models/payload_delivery_platform.go b/models/payload_delivery_platform.go index 8cbe6f341df..1afbf5c4581 100644 --- a/models/payload_delivery_platform.go +++ b/models/payload_delivery_platform.go @@ -41,3 +41,6 @@ func SerializePayloadDeliveryPlatform(values []PayloadDeliveryPlatform) []string } return result } +func (i PayloadDeliveryPlatform) isMultiValue() bool { + return false +} diff --git a/models/payload_industry.go b/models/payload_industry.go index 7c35d477f38..1c6ea90960b 100644 --- a/models/payload_industry.go +++ b/models/payload_industry.go @@ -92,3 +92,6 @@ func SerializePayloadIndustry(values []PayloadIndustry) []string { } return result } +func (i PayloadIndustry) isMultiValue() bool { + return false +} diff --git a/models/payload_theme.go b/models/payload_theme.go index a6f0502570b..349188a55ad 100644 --- a/models/payload_theme.go +++ b/models/payload_theme.go @@ -122,3 +122,6 @@ func SerializePayloadTheme(values []PayloadTheme) []string { } return result } +func (i PayloadTheme) isMultiValue() bool { + return false +} diff --git a/models/perfect_forward_secrecy_group.go b/models/perfect_forward_secrecy_group.go index c37e3464173..51c85d1c669 100644 --- a/models/perfect_forward_secrecy_group.go +++ b/models/perfect_forward_secrecy_group.go @@ -54,3 +54,6 @@ func SerializePerfectForwardSecrecyGroup(values []PerfectForwardSecrecyGroup) [] } return result } +func (i PerfectForwardSecrecyGroup) isMultiValue() bool { + return false +} diff --git a/models/permission_classification_type.go b/models/permission_classification_type.go index 20255683823..88f7da9222e 100644 --- a/models/permission_classification_type.go +++ b/models/permission_classification_type.go @@ -38,3 +38,6 @@ func SerializePermissionClassificationType(values []PermissionClassificationType } return result } +func (i PermissionClassificationType) isMultiValue() bool { + return false +} diff --git a/models/permission_scope.go b/models/permission_scope.go index 726718d3a25..00df6b62d92 100644 --- a/models/permission_scope.go +++ b/models/permission_scope.go @@ -177,7 +177,7 @@ func (m *PermissionScope) GetId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf677 } return nil } -// GetIsEnabled gets the isEnabled property value. When creating or updating a permission, this property must be set to true (which is the default). To delete a permission, this property must first be set to false. At that point, in a subsequent call, the permission may be removed. +// GetIsEnabled gets the isEnabled property value. When you create or update a permission, this property must be set to true (which is the default). To delete a permission, this property must first be set to false. At that point, in a subsequent call, the permission may be removed. func (m *PermissionScope) GetIsEnabled()(*bool) { val, err := m.GetBackingStore().Get("isEnabled") if err != nil { @@ -243,7 +243,7 @@ func (m *PermissionScope) GetUserConsentDisplayName()(*string) { } return nil } -// GetValue gets the value property value. Specifies the value to include in the scp (scope) claim in access tokens. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, as well as characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, are not allowed. May not begin with .. +// GetValue gets the value property value. Specifies the value to include in the scp (scope) claim in access tokens. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, and characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, aren't allowed. May not begin with .. func (m *PermissionScope) GetValue()(*string) { val, err := m.GetBackingStore().Get("value") if err != nil { @@ -356,7 +356,7 @@ func (m *PermissionScope) SetId(value *i561e97a8befe7661a44c8f54600992b4207a3a0c panic(err) } } -// SetIsEnabled sets the isEnabled property value. When creating or updating a permission, this property must be set to true (which is the default). To delete a permission, this property must first be set to false. At that point, in a subsequent call, the permission may be removed. +// SetIsEnabled sets the isEnabled property value. When you create or update a permission, this property must be set to true (which is the default). To delete a permission, this property must first be set to false. At that point, in a subsequent call, the permission may be removed. func (m *PermissionScope) SetIsEnabled(value *bool)() { err := m.GetBackingStore().Set("isEnabled", value) if err != nil { @@ -398,7 +398,7 @@ func (m *PermissionScope) SetUserConsentDisplayName(value *string)() { panic(err) } } -// SetValue sets the value property value. Specifies the value to include in the scp (scope) claim in access tokens. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, as well as characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, are not allowed. May not begin with .. +// SetValue sets the value property value. Specifies the value to include in the scp (scope) claim in access tokens. Must not exceed 120 characters in length. Allowed characters are : ! # $ % & ' ( ) * + , - . / : ; = ? @ [ ] ^ + _ { } ~, and characters in the ranges 0-9, A-Z and a-z. Any other character, including the space character, aren't allowed. May not begin with .. func (m *PermissionScope) SetValue(value *string)() { err := m.GetBackingStore().Set("value", value) if err != nil { diff --git a/models/permission_type.go b/models/permission_type.go index 996a1157239..a67d9bf8157 100644 --- a/models/permission_type.go +++ b/models/permission_type.go @@ -35,3 +35,6 @@ func SerializePermissionType(values []PermissionType) []string { } return result } +func (i PermissionType) isMultiValue() bool { + return false +} diff --git a/models/persistent_browser_session_mode.go b/models/persistent_browser_session_mode.go index 4e3bd03590b..ee4b1c9b3a8 100644 --- a/models/persistent_browser_session_mode.go +++ b/models/persistent_browser_session_mode.go @@ -32,3 +32,6 @@ func SerializePersistentBrowserSessionMode(values []PersistentBrowserSessionMode } return result } +func (i PersistentBrowserSessionMode) isMultiValue() bool { + return false +} diff --git a/models/person_annual_event_type.go b/models/person_annual_event_type.go index af6a5b4c602..e5f78245f42 100644 --- a/models/person_annual_event_type.go +++ b/models/person_annual_event_type.go @@ -41,3 +41,6 @@ func SerializePersonAnnualEventType(values []PersonAnnualEventType) []string { } return result } +func (i PersonAnnualEventType) isMultiValue() bool { + return false +} diff --git a/models/person_relationship.go b/models/person_relationship.go index 3ac00e5061d..e0fbe394eb8 100644 --- a/models/person_relationship.go +++ b/models/person_relationship.go @@ -74,3 +74,6 @@ func SerializePersonRelationship(values []PersonRelationship) []string { } return result } +func (i PersonRelationship) isMultiValue() bool { + return false +} diff --git a/models/personal_profile_personal_play_store_mode.go b/models/personal_profile_personal_play_store_mode.go index aa9b4813a87..edcf7583296 100644 --- a/models/personal_profile_personal_play_store_mode.go +++ b/models/personal_profile_personal_play_store_mode.go @@ -38,3 +38,6 @@ func SerializePersonalProfilePersonalPlayStoreMode(values []PersonalProfilePerso } return result } +func (i PersonalProfilePersonalPlayStoreMode) isMultiValue() bool { + return false +} diff --git a/models/phone_type.go b/models/phone_type.go index 1be03deb16d..98892c8eeb5 100644 --- a/models/phone_type.go +++ b/models/phone_type.go @@ -56,3 +56,6 @@ func SerializePhoneType(values []PhoneType) []string { } return result } +func (i PhoneType) isMultiValue() bool { + return false +} diff --git a/models/physical_address_type.go b/models/physical_address_type.go index da238338635..bc541b1af48 100644 --- a/models/physical_address_type.go +++ b/models/physical_address_type.go @@ -38,3 +38,6 @@ func SerializePhysicalAddressType(values []PhysicalAddressType) []string { } return result } +func (i PhysicalAddressType) isMultiValue() bool { + return false +} diff --git a/models/pkcs12_certificate.go b/models/pkcs12_certificate.go index ce8ebdca032..659c8a7cf3f 100644 --- a/models/pkcs12_certificate.go +++ b/models/pkcs12_certificate.go @@ -46,7 +46,7 @@ func (m *Pkcs12Certificate) GetFieldDeserializers()(map[string]func(i878a80d2330 } return res } -// GetPassword gets the password property value. This is the password for the pfx file. Required. If no password is used, must still provide a value of ''. +// GetPassword gets the password property value. Specifies the password for the pfx file. Required. If no password is used, must still provide a value of ''. func (m *Pkcs12Certificate) GetPassword()(*string) { val, err := m.GetBackingStore().Get("password") if err != nil { @@ -57,7 +57,7 @@ func (m *Pkcs12Certificate) GetPassword()(*string) { } return nil } -// GetPkcs12Value gets the pkcs12Value property value. This is the field for sending pfx content. The value should be a base-64 encoded version of the actual certificate content. Required. +// GetPkcs12Value gets the pkcs12Value property value. Specifies the field for sending pfx content. The value should be a base-64 encoded version of the actual certificate content. Required. func (m *Pkcs12Certificate) GetPkcs12Value()(*string) { val, err := m.GetBackingStore().Get("pkcs12Value") if err != nil { @@ -88,14 +88,14 @@ func (m *Pkcs12Certificate) Serialize(writer i878a80d2330e89d26896388a3f487eef27 } return nil } -// SetPassword sets the password property value. This is the password for the pfx file. Required. If no password is used, must still provide a value of ''. +// SetPassword sets the password property value. Specifies the password for the pfx file. Required. If no password is used, must still provide a value of ''. func (m *Pkcs12Certificate) SetPassword(value *string)() { err := m.GetBackingStore().Set("password", value) if err != nil { panic(err) } } -// SetPkcs12Value sets the pkcs12Value property value. This is the field for sending pfx content. The value should be a base-64 encoded version of the actual certificate content. Required. +// SetPkcs12Value sets the pkcs12Value property value. Specifies the field for sending pfx content. The value should be a base-64 encoded version of the actual certificate content. Required. func (m *Pkcs12Certificate) SetPkcs12Value(value *string)() { err := m.GetBackingStore().Set("pkcs12Value", value) if err != nil { diff --git a/models/planner_assigned_to_task_board_task_format.go b/models/planner_assigned_to_task_board_task_format.go index ca3f75149c9..1931d19889b 100644 --- a/models/planner_assigned_to_task_board_task_format.go +++ b/models/planner_assigned_to_task_board_task_format.go @@ -55,7 +55,7 @@ func (m *PlannerAssignedToTaskBoardTaskFormat) GetOrderHintsByAssignee()(Planner } return nil } -// GetUnassignedOrderHint gets the unassignedOrderHint property value. Hint value used to order the task on the AssignedTo view of the Task Board when the task is not assigned to anyone, or if the orderHintsByAssignee dictionary does not provide an order hint for the user the task is assigned to. The format is defined as outlined here. +// GetUnassignedOrderHint gets the unassignedOrderHint property value. Hint value used to order the task on the AssignedTo view of the Task Board when the task isn't assigned to anyone, or if the orderHintsByAssignee dictionary doesn't provide an order hint for the user the task is assigned to. The format is defined as outlined here. func (m *PlannerAssignedToTaskBoardTaskFormat) GetUnassignedOrderHint()(*string) { val, err := m.GetBackingStore().Get("unassignedOrderHint") if err != nil { @@ -93,7 +93,7 @@ func (m *PlannerAssignedToTaskBoardTaskFormat) SetOrderHintsByAssignee(value Pla panic(err) } } -// SetUnassignedOrderHint sets the unassignedOrderHint property value. Hint value used to order the task on the AssignedTo view of the Task Board when the task is not assigned to anyone, or if the orderHintsByAssignee dictionary does not provide an order hint for the user the task is assigned to. The format is defined as outlined here. +// SetUnassignedOrderHint sets the unassignedOrderHint property value. Hint value used to order the task on the AssignedTo view of the Task Board when the task isn't assigned to anyone, or if the orderHintsByAssignee dictionary doesn't provide an order hint for the user the task is assigned to. The format is defined as outlined here. func (m *PlannerAssignedToTaskBoardTaskFormat) SetUnassignedOrderHint(value *string)() { err := m.GetBackingStore().Set("unassignedOrderHint", value) if err != nil { diff --git a/models/planner_container_type.go b/models/planner_container_type.go index fb9990044bf..fce91e00e92 100644 --- a/models/planner_container_type.go +++ b/models/planner_container_type.go @@ -41,3 +41,6 @@ func SerializePlannerContainerType(values []PlannerContainerType) []string { } return result } +func (i PlannerContainerType) isMultiValue() bool { + return false +} diff --git a/models/planner_creation_source_kind.go b/models/planner_creation_source_kind.go index 48da178d3eb..b234cf4751e 100644 --- a/models/planner_creation_source_kind.go +++ b/models/planner_creation_source_kind.go @@ -38,3 +38,6 @@ func SerializePlannerCreationSourceKind(values []PlannerCreationSourceKind) []st } return result } +func (i PlannerCreationSourceKind) isMultiValue() bool { + return false +} diff --git a/models/planner_external_task_source_display_type.go b/models/planner_external_task_source_display_type.go index 5b2326d9702..a6e8667e101 100644 --- a/models/planner_external_task_source_display_type.go +++ b/models/planner_external_task_source_display_type.go @@ -35,3 +35,6 @@ func SerializePlannerExternalTaskSourceDisplayType(values []PlannerExternalTaskS } return result } +func (i PlannerExternalTaskSourceDisplayType) isMultiValue() bool { + return false +} diff --git a/models/planner_plan_access_level.go b/models/planner_plan_access_level.go index a1771aa1f88..f30644168dd 100644 --- a/models/planner_plan_access_level.go +++ b/models/planner_plan_access_level.go @@ -38,3 +38,6 @@ func SerializePlannerPlanAccessLevel(values []PlannerPlanAccessLevel) []string { } return result } +func (i PlannerPlanAccessLevel) isMultiValue() bool { + return false +} diff --git a/models/planner_preview_type.go b/models/planner_preview_type.go index 01dd6cac158..d42daf200ad 100644 --- a/models/planner_preview_type.go +++ b/models/planner_preview_type.go @@ -41,3 +41,6 @@ func SerializePlannerPreviewType(values []PlannerPreviewType) []string { } return result } +func (i PlannerPreviewType) isMultiValue() bool { + return false +} diff --git a/models/planner_relationship_user_roles.go b/models/planner_relationship_user_roles.go index 82dd11afafc..7e897866d1c 100644 --- a/models/planner_relationship_user_roles.go +++ b/models/planner_relationship_user_roles.go @@ -44,3 +44,6 @@ func SerializePlannerRelationshipUserRoles(values []PlannerRelationshipUserRoles } return result } +func (i PlannerRelationshipUserRoles) isMultiValue() bool { + return false +} diff --git a/models/planner_rule_kind.go b/models/planner_rule_kind.go index e820bc06c8c..5e52c9abeb3 100644 --- a/models/planner_rule_kind.go +++ b/models/planner_rule_kind.go @@ -38,3 +38,6 @@ func SerializePlannerRuleKind(values []PlannerRuleKind) []string { } return result } +func (i PlannerRuleKind) isMultiValue() bool { + return false +} diff --git a/models/planner_task_completion_requirements.go b/models/planner_task_completion_requirements.go index a2bbf8f85b6..3fa4c8a953f 100644 --- a/models/planner_task_completion_requirements.go +++ b/models/planner_task_completion_requirements.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type PlannerTaskCompletionRequirements int @@ -12,19 +13,28 @@ const ( ) func (i PlannerTaskCompletionRequirements) String() string { - return []string{"none", "checklistCompletion", "unknownFutureValue"}[i] + var values []string + for p := PlannerTaskCompletionRequirements(1); p <= UNKNOWNFUTUREVALUE_PLANNERTASKCOMPLETIONREQUIREMENTS; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "checklistCompletion", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParsePlannerTaskCompletionRequirements(v string) (any, error) { - result := NONE_PLANNERTASKCOMPLETIONREQUIREMENTS - switch v { - case "none": - result = NONE_PLANNERTASKCOMPLETIONREQUIREMENTS - case "checklistCompletion": - result = CHECKLISTCOMPLETION_PLANNERTASKCOMPLETIONREQUIREMENTS - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_PLANNERTASKCOMPLETIONREQUIREMENTS - default: - return 0, errors.New("Unknown PlannerTaskCompletionRequirements value: " + v) + var result PlannerTaskCompletionRequirements + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_PLANNERTASKCOMPLETIONREQUIREMENTS + case "checklistCompletion": + result |= CHECKLISTCOMPLETION_PLANNERTASKCOMPLETIONREQUIREMENTS + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_PLANNERTASKCOMPLETIONREQUIREMENTS + default: + return 0, errors.New("Unknown PlannerTaskCompletionRequirements value: " + v) + } } return &result, nil } @@ -35,3 +45,6 @@ func SerializePlannerTaskCompletionRequirements(values []PlannerTaskCompletionRe } return result } +func (i PlannerTaskCompletionRequirements) isMultiValue() bool { + return true +} diff --git a/models/planner_task_configuration.go b/models/planner_task_configuration.go index 63cb4d3e7f7..3b301cee5d6 100644 --- a/models/planner_task_configuration.go +++ b/models/planner_task_configuration.go @@ -19,7 +19,7 @@ func NewPlannerTaskConfiguration()(*PlannerTaskConfiguration) { func CreatePlannerTaskConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewPlannerTaskConfiguration(), nil } -// GetEditPolicy gets the editPolicy property value. Policy configuration for tasks created for the businessScenario when they are being changed outside of the scenario. +// GetEditPolicy gets the editPolicy property value. Policy configuration for tasks created for the businessScenario when they're being changed outside of the scenario. func (m *PlannerTaskConfiguration) GetEditPolicy()(PlannerTaskPolicyable) { val, err := m.GetBackingStore().Get("editPolicy") if err != nil { @@ -59,7 +59,7 @@ func (m *PlannerTaskConfiguration) Serialize(writer i878a80d2330e89d26896388a3f4 } return nil } -// SetEditPolicy sets the editPolicy property value. Policy configuration for tasks created for the businessScenario when they are being changed outside of the scenario. +// SetEditPolicy sets the editPolicy property value. Policy configuration for tasks created for the businessScenario when they're being changed outside of the scenario. func (m *PlannerTaskConfiguration) SetEditPolicy(value PlannerTaskPolicyable)() { err := m.GetBackingStore().Set("editPolicy", value) if err != nil { diff --git a/models/planner_task_details.go b/models/planner_task_details.go index 5775793ccb3..7215a1e490d 100644 --- a/models/planner_task_details.go +++ b/models/planner_task_details.go @@ -117,7 +117,7 @@ func (m *PlannerTaskDetails) GetFieldDeserializers()(map[string]func(i878a80d233 } return res } -// GetNotes gets the notes property value. Rich text description of the task. To be used by HTML-aware clients. For backwards compatibility, a plain-text version of the HTML description will be synced to the 'description' field. If this field has not previously been set but 'description' has been, the existing description will be synchronized to 'notes' with minimal whitespace-preserving HTML markup. Setting both 'description' and 'notes' is an error and will result in an exception. +// GetNotes gets the notes property value. Rich text description of the task. To be used by HTML-aware clients. For backwards compatibility, a plain-text version of the HTML description will be synced to the 'description' field. If this field hasn't previously been set but 'description' has been, the existing description is synchronized to 'notes' with minimal whitespace-preserving HTML markup. Setting both 'description' and 'notes' is an error and will result in an exception. func (m *PlannerTaskDetails) GetNotes()(ItemBodyable) { val, err := m.GetBackingStore().Get("notes") if err != nil { @@ -216,7 +216,7 @@ func (m *PlannerTaskDetails) SetDescription(value *string)() { panic(err) } } -// SetNotes sets the notes property value. Rich text description of the task. To be used by HTML-aware clients. For backwards compatibility, a plain-text version of the HTML description will be synced to the 'description' field. If this field has not previously been set but 'description' has been, the existing description will be synchronized to 'notes' with minimal whitespace-preserving HTML markup. Setting both 'description' and 'notes' is an error and will result in an exception. +// SetNotes sets the notes property value. Rich text description of the task. To be used by HTML-aware clients. For backwards compatibility, a plain-text version of the HTML description will be synced to the 'description' field. If this field hasn't previously been set but 'description' has been, the existing description is synchronized to 'notes' with minimal whitespace-preserving HTML markup. Setting both 'description' and 'notes' is an error and will result in an exception. func (m *PlannerTaskDetails) SetNotes(value ItemBodyable)() { err := m.GetBackingStore().Set("notes", value) if err != nil { diff --git a/models/planner_task_target_kind.go b/models/planner_task_target_kind.go index 99cad9581ed..adfee895894 100644 --- a/models/planner_task_target_kind.go +++ b/models/planner_task_target_kind.go @@ -32,3 +32,6 @@ func SerializePlannerTaskTargetKind(values []PlannerTaskTargetKind) []string { } return result } +func (i PlannerTaskTargetKind) isMultiValue() bool { + return false +} diff --git a/models/planner_user_role_kind.go b/models/planner_user_role_kind.go index b265e5528a2..ebab6b96eed 100644 --- a/models/planner_user_role_kind.go +++ b/models/planner_user_role_kind.go @@ -32,3 +32,6 @@ func SerializePlannerUserRoleKind(values []PlannerUserRoleKind) []string { } return result } +func (i PlannerUserRoleKind) isMultiValue() bool { + return false +} diff --git a/models/platform.go b/models/platform.go index d96bb3195f0..cdc37b12f95 100644 --- a/models/platform.go +++ b/models/platform.go @@ -50,3 +50,6 @@ func SerializePlatform(values []Platform) []string { } return result } +func (i Platform) isMultiValue() bool { + return false +} diff --git a/models/play_prompt_completion_reason.go b/models/play_prompt_completion_reason.go index e9fdebf1c9c..c7b58465fee 100644 --- a/models/play_prompt_completion_reason.go +++ b/models/play_prompt_completion_reason.go @@ -38,3 +38,6 @@ func SerializePlayPromptCompletionReason(values []PlayPromptCompletionReason) [] } return result } +func (i PlayPromptCompletionReason) isMultiValue() bool { + return false +} diff --git a/models/policy_platform_type.go b/models/policy_platform_type.go index 16339da2c82..2f861c3bb5b 100644 --- a/models/policy_platform_type.go +++ b/models/policy_platform_type.go @@ -70,3 +70,6 @@ func SerializePolicyPlatformType(values []PolicyPlatformType) []string { } return result } +func (i PolicyPlatformType) isMultiValue() bool { + return false +} diff --git a/models/policy_scope.go b/models/policy_scope.go index 4da128c74e9..aba1bebbdb6 100644 --- a/models/policy_scope.go +++ b/models/policy_scope.go @@ -38,3 +38,6 @@ func SerializePolicyScope(values []PolicyScope) []string { } return result } +func (i PolicyScope) isMultiValue() bool { + return false +} diff --git a/models/policy_set_status.go b/models/policy_set_status.go index 52b96d7bbdb..59fa1cc3c86 100644 --- a/models/policy_set_status.go +++ b/models/policy_set_status.go @@ -50,3 +50,6 @@ func SerializePolicySetStatus(values []PolicySetStatus) []string { } return result } +func (i PolicySetStatus) isMultiValue() bool { + return false +} diff --git a/models/post_type.go b/models/post_type.go index 276a14f2065..0e02f6d7bb4 100644 --- a/models/post_type.go +++ b/models/post_type.go @@ -38,3 +38,6 @@ func SerializePostType(values []PostType) []string { } return result } +func (i PostType) isMultiValue() bool { + return false +} diff --git a/models/power_action_type.go b/models/power_action_type.go index 1265a9f0390..962aa89cc26 100644 --- a/models/power_action_type.go +++ b/models/power_action_type.go @@ -46,3 +46,6 @@ func SerializePowerActionType(values []PowerActionType) []string { } return result } +func (i PowerActionType) isMultiValue() bool { + return false +} diff --git a/models/prerelease_features.go b/models/prerelease_features.go index 472943afc12..bcdd6b76d9e 100644 --- a/models/prerelease_features.go +++ b/models/prerelease_features.go @@ -42,3 +42,6 @@ func SerializePrereleaseFeatures(values []PrereleaseFeatures) []string { } return result } +func (i PrereleaseFeatures) isMultiValue() bool { + return false +} diff --git a/models/print_color_configuration.go b/models/print_color_configuration.go index 369fd04f2b9..30924f6cfff 100644 --- a/models/print_color_configuration.go +++ b/models/print_color_configuration.go @@ -38,3 +38,6 @@ func SerializePrintColorConfiguration(values []PrintColorConfiguration) []string } return result } +func (i PrintColorConfiguration) isMultiValue() bool { + return false +} diff --git a/models/print_color_mode.go b/models/print_color_mode.go index 5f7d7205ce8..8da857a4c1c 100644 --- a/models/print_color_mode.go +++ b/models/print_color_mode.go @@ -41,3 +41,6 @@ func SerializePrintColorMode(values []PrintColorMode) []string { } return result } +func (i PrintColorMode) isMultiValue() bool { + return false +} diff --git a/models/print_duplex_configuration.go b/models/print_duplex_configuration.go index 5279d2e1e53..e44bbb580fc 100644 --- a/models/print_duplex_configuration.go +++ b/models/print_duplex_configuration.go @@ -35,3 +35,6 @@ func SerializePrintDuplexConfiguration(values []PrintDuplexConfiguration) []stri } return result } +func (i PrintDuplexConfiguration) isMultiValue() bool { + return false +} diff --git a/models/print_duplex_mode.go b/models/print_duplex_mode.go index ad208faa402..efb41489941 100644 --- a/models/print_duplex_mode.go +++ b/models/print_duplex_mode.go @@ -38,3 +38,6 @@ func SerializePrintDuplexMode(values []PrintDuplexMode) []string { } return result } +func (i PrintDuplexMode) isMultiValue() bool { + return false +} diff --git a/models/print_event.go b/models/print_event.go index 422fdab7942..b0d46cd9cad 100644 --- a/models/print_event.go +++ b/models/print_event.go @@ -32,3 +32,6 @@ func SerializePrintEvent(values []PrintEvent) []string { } return result } +func (i PrintEvent) isMultiValue() bool { + return false +} diff --git a/models/print_finishing.go b/models/print_finishing.go index 03b2b79c298..9797c3372ec 100644 --- a/models/print_finishing.go +++ b/models/print_finishing.go @@ -86,3 +86,6 @@ func SerializePrintFinishing(values []PrintFinishing) []string { } return result } +func (i PrintFinishing) isMultiValue() bool { + return false +} diff --git a/models/print_job_processing_state.go b/models/print_job_processing_state.go index 4c4d113a7e2..71208b22620 100644 --- a/models/print_job_processing_state.go +++ b/models/print_job_processing_state.go @@ -53,3 +53,6 @@ func SerializePrintJobProcessingState(values []PrintJobProcessingState) []string } return result } +func (i PrintJobProcessingState) isMultiValue() bool { + return false +} diff --git a/models/print_job_state_detail.go b/models/print_job_state_detail.go index a5085089541..becb25d459d 100644 --- a/models/print_job_state_detail.go +++ b/models/print_job_state_detail.go @@ -50,3 +50,6 @@ func SerializePrintJobStateDetail(values []PrintJobStateDetail) []string { } return result } +func (i PrintJobStateDetail) isMultiValue() bool { + return false +} diff --git a/models/print_media_type.go b/models/print_media_type.go index 52b00ac6ed6..3acdb7684c6 100644 --- a/models/print_media_type.go +++ b/models/print_media_type.go @@ -65,3 +65,6 @@ func SerializePrintMediaType(values []PrintMediaType) []string { } return result } +func (i PrintMediaType) isMultiValue() bool { + return false +} diff --git a/models/print_multipage_layout.go b/models/print_multipage_layout.go index 22ead701ced..3addff68836 100644 --- a/models/print_multipage_layout.go +++ b/models/print_multipage_layout.go @@ -53,3 +53,6 @@ func SerializePrintMultipageLayout(values []PrintMultipageLayout) []string { } return result } +func (i PrintMultipageLayout) isMultiValue() bool { + return false +} diff --git a/models/print_operation_processing_state.go b/models/print_operation_processing_state.go index c0e5e61ee2d..05f1d7195e3 100644 --- a/models/print_operation_processing_state.go +++ b/models/print_operation_processing_state.go @@ -41,3 +41,6 @@ func SerializePrintOperationProcessingState(values []PrintOperationProcessingSta } return result } +func (i PrintOperationProcessingState) isMultiValue() bool { + return false +} diff --git a/models/print_orientation.go b/models/print_orientation.go index 21f165ff768..a9ec7f31bc5 100644 --- a/models/print_orientation.go +++ b/models/print_orientation.go @@ -41,3 +41,6 @@ func SerializePrintOrientation(values []PrintOrientation) []string { } return result } +func (i PrintOrientation) isMultiValue() bool { + return false +} diff --git a/models/print_presentation_direction.go b/models/print_presentation_direction.go index 4d6590af80f..82a148d8fd4 100644 --- a/models/print_presentation_direction.go +++ b/models/print_presentation_direction.go @@ -50,3 +50,6 @@ func SerializePrintPresentationDirection(values []PrintPresentationDirection) [] } return result } +func (i PrintPresentationDirection) isMultiValue() bool { + return false +} diff --git a/models/print_quality.go b/models/print_quality.go index 77de9afdef1..b4081f7a53d 100644 --- a/models/print_quality.go +++ b/models/print_quality.go @@ -38,3 +38,6 @@ func SerializePrintQuality(values []PrintQuality) []string { } return result } +func (i PrintQuality) isMultiValue() bool { + return false +} diff --git a/models/print_scaling.go b/models/print_scaling.go index eaa7e75489e..e558d759c1d 100644 --- a/models/print_scaling.go +++ b/models/print_scaling.go @@ -44,3 +44,6 @@ func SerializePrintScaling(values []PrintScaling) []string { } return result } +func (i PrintScaling) isMultiValue() bool { + return false +} diff --git a/models/print_task_processing_state.go b/models/print_task_processing_state.go index cdcbcc84910..a0756d080a9 100644 --- a/models/print_task_processing_state.go +++ b/models/print_task_processing_state.go @@ -41,3 +41,6 @@ func SerializePrintTaskProcessingState(values []PrintTaskProcessingState) []stri } return result } +func (i PrintTaskProcessingState) isMultiValue() bool { + return false +} diff --git a/models/printer_feed_direction.go b/models/printer_feed_direction.go index 89f523a0d1f..a7ab689edf7 100644 --- a/models/printer_feed_direction.go +++ b/models/printer_feed_direction.go @@ -32,3 +32,6 @@ func SerializePrinterFeedDirection(values []PrinterFeedDirection) []string { } return result } +func (i PrinterFeedDirection) isMultiValue() bool { + return false +} diff --git a/models/printer_feed_orientation.go b/models/printer_feed_orientation.go index bab84f7e8c4..cf97e1d3c4f 100644 --- a/models/printer_feed_orientation.go +++ b/models/printer_feed_orientation.go @@ -32,3 +32,6 @@ func SerializePrinterFeedOrientation(values []PrinterFeedOrientation) []string { } return result } +func (i PrinterFeedOrientation) isMultiValue() bool { + return false +} diff --git a/models/printer_processing_state.go b/models/printer_processing_state.go index bdf25d05f0f..e905dbf9aef 100644 --- a/models/printer_processing_state.go +++ b/models/printer_processing_state.go @@ -41,3 +41,6 @@ func SerializePrinterProcessingState(values []PrinterProcessingState) []string { } return result } +func (i PrinterProcessingState) isMultiValue() bool { + return false +} diff --git a/models/printer_processing_state_detail.go b/models/printer_processing_state_detail.go index f3927a46b4c..593e4cffdc1 100644 --- a/models/printer_processing_state_detail.go +++ b/models/printer_processing_state_detail.go @@ -2504,3 +2504,6 @@ func SerializePrinterProcessingStateDetail(values []PrinterProcessingStateDetail } return result } +func (i PrinterProcessingStateDetail) isMultiValue() bool { + return false +} diff --git a/models/printer_processing_state_reason.go b/models/printer_processing_state_reason.go index 47ead23c81a..ad314329975 100644 --- a/models/printer_processing_state_reason.go +++ b/models/printer_processing_state_reason.go @@ -131,3 +131,6 @@ func SerializePrinterProcessingStateReason(values []PrinterProcessingStateReason } return result } +func (i PrinterProcessingStateReason) isMultiValue() bool { + return false +} diff --git a/models/priority.go b/models/priority.go index 84c96c6d8b9..c5c3297092e 100644 --- a/models/priority.go +++ b/models/priority.go @@ -35,3 +35,6 @@ func SerializePriority(values []Priority) []string { } return result } +func (i Priority) isMultiValue() bool { + return false +} diff --git a/models/privilege_management_elevation_type.go b/models/privilege_management_elevation_type.go index 20994bbb1e0..4f9c4fc1e3f 100644 --- a/models/privilege_management_elevation_type.go +++ b/models/privilege_management_elevation_type.go @@ -50,3 +50,6 @@ func SerializePrivilegeManagementElevationType(values []PrivilegeManagementEleva } return result } +func (i PrivilegeManagementElevationType) isMultiValue() bool { + return false +} diff --git a/models/privilege_management_end_user_type.go b/models/privilege_management_end_user_type.go index 4fd6b03df2f..6ce4e4dad83 100644 --- a/models/privilege_management_end_user_type.go +++ b/models/privilege_management_end_user_type.go @@ -46,3 +46,6 @@ func SerializePrivilegeManagementEndUserType(values []PrivilegeManagementEndUser } return result } +func (i PrivilegeManagementEndUserType) isMultiValue() bool { + return false +} diff --git a/models/privileged_access_group_assignment_type.go b/models/privileged_access_group_assignment_type.go index 89b7e94d687..1219b59d51e 100644 --- a/models/privileged_access_group_assignment_type.go +++ b/models/privileged_access_group_assignment_type.go @@ -35,3 +35,6 @@ func SerializePrivilegedAccessGroupAssignmentType(values []PrivilegedAccessGroup } return result } +func (i PrivilegedAccessGroupAssignmentType) isMultiValue() bool { + return false +} diff --git a/models/privileged_access_group_member_type.go b/models/privileged_access_group_member_type.go index 2f53e0e66e8..2855b0f5007 100644 --- a/models/privileged_access_group_member_type.go +++ b/models/privileged_access_group_member_type.go @@ -35,3 +35,6 @@ func SerializePrivilegedAccessGroupMemberType(values []PrivilegedAccessGroupMemb } return result } +func (i PrivilegedAccessGroupMemberType) isMultiValue() bool { + return false +} diff --git a/models/privileged_access_group_relationships.go b/models/privileged_access_group_relationships.go index a4a919f4db3..bc7a953ed62 100644 --- a/models/privileged_access_group_relationships.go +++ b/models/privileged_access_group_relationships.go @@ -35,3 +35,6 @@ func SerializePrivilegedAccessGroupRelationships(values []PrivilegedAccessGroupR } return result } +func (i PrivilegedAccessGroupRelationships) isMultiValue() bool { + return false +} diff --git a/models/privileged_access_schedule_instance.go b/models/privileged_access_schedule_instance.go index f2a3cd4d731..bdd27d42e10 100644 --- a/models/privileged_access_schedule_instance.go +++ b/models/privileged_access_schedule_instance.go @@ -40,7 +40,7 @@ func CreatePrivilegedAccessScheduleInstanceFromDiscriminatorValue(parseNode i878 } return NewPrivilegedAccessScheduleInstance(), nil } -// GetEndDateTime gets the endDateTime property value. When the schedule instance ends. Required. +// GetEndDateTime gets the endDateTime property value. When the schedule instance ends, and is required. func (m *PrivilegedAccessScheduleInstance) GetEndDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("endDateTime") if err != nil { @@ -76,7 +76,7 @@ func (m *PrivilegedAccessScheduleInstance) GetFieldDeserializers()(map[string]fu } return res } -// GetStartDateTime gets the startDateTime property value. When this instance starts. Required. +// GetStartDateTime gets the startDateTime property value. When this instance starts, and is required. func (m *PrivilegedAccessScheduleInstance) GetStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("startDateTime") if err != nil { @@ -107,14 +107,14 @@ func (m *PrivilegedAccessScheduleInstance) Serialize(writer i878a80d2330e89d2689 } return nil } -// SetEndDateTime sets the endDateTime property value. When the schedule instance ends. Required. +// SetEndDateTime sets the endDateTime property value. When the schedule instance ends, and is required. func (m *PrivilegedAccessScheduleInstance) SetEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("endDateTime", value) if err != nil { panic(err) } } -// SetStartDateTime sets the startDateTime property value. When this instance starts. Required. +// SetStartDateTime sets the startDateTime property value. When this instance starts, and is required. func (m *PrivilegedAccessScheduleInstance) SetStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("startDateTime", value) if err != nil { diff --git a/models/process_integrity_level.go b/models/process_integrity_level.go index ce33ee8ec42..506785e0b72 100644 --- a/models/process_integrity_level.go +++ b/models/process_integrity_level.go @@ -47,3 +47,6 @@ func SerializeProcessIntegrityLevel(values []ProcessIntegrityLevel) []string { } return result } +func (i ProcessIntegrityLevel) isMultiValue() bool { + return false +} diff --git a/models/prompt_login_behavior.go b/models/prompt_login_behavior.go index 6614d03258a..3aecc53211f 100644 --- a/models/prompt_login_behavior.go +++ b/models/prompt_login_behavior.go @@ -38,3 +38,6 @@ func SerializePromptLoginBehavior(values []PromptLoginBehavior) []string { } return result } +func (i PromptLoginBehavior) isMultiValue() bool { + return false +} diff --git a/models/property_type.go b/models/property_type.go index 09919f211c3..e32024ca07d 100644 --- a/models/property_type.go +++ b/models/property_type.go @@ -53,3 +53,6 @@ func SerializePropertyType(values []PropertyType) []string { } return result } +func (i PropertyType) isMultiValue() bool { + return false +} diff --git a/models/protocol_type.go b/models/protocol_type.go index 5b20791bc72..5b91cf24161 100644 --- a/models/protocol_type.go +++ b/models/protocol_type.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type ProtocolType int @@ -17,29 +18,38 @@ const ( ) func (i ProtocolType) String() string { - return []string{"none", "oAuth2", "ropc", "wsFederation", "saml20", "deviceCode", "unknownFutureValue", "authenticationTransfer"}[i] + var values []string + for p := ProtocolType(1); p <= AUTHENTICATIONTRANSFER_PROTOCOLTYPE; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "oAuth2", "ropc", "wsFederation", "saml20", "deviceCode", "unknownFutureValue", "authenticationTransfer"}[p]) + } + } + return strings.Join(values, ",") } func ParseProtocolType(v string) (any, error) { - result := NONE_PROTOCOLTYPE - switch v { - case "none": - result = NONE_PROTOCOLTYPE - case "oAuth2": - result = OAUTH2_PROTOCOLTYPE - case "ropc": - result = ROPC_PROTOCOLTYPE - case "wsFederation": - result = WSFEDERATION_PROTOCOLTYPE - case "saml20": - result = SAML20_PROTOCOLTYPE - case "deviceCode": - result = DEVICECODE_PROTOCOLTYPE - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_PROTOCOLTYPE - case "authenticationTransfer": - result = AUTHENTICATIONTRANSFER_PROTOCOLTYPE - default: - return 0, errors.New("Unknown ProtocolType value: " + v) + var result ProtocolType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_PROTOCOLTYPE + case "oAuth2": + result |= OAUTH2_PROTOCOLTYPE + case "ropc": + result |= ROPC_PROTOCOLTYPE + case "wsFederation": + result |= WSFEDERATION_PROTOCOLTYPE + case "saml20": + result |= SAML20_PROTOCOLTYPE + case "deviceCode": + result |= DEVICECODE_PROTOCOLTYPE + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_PROTOCOLTYPE + case "authenticationTransfer": + result |= AUTHENTICATIONTRANSFER_PROTOCOLTYPE + default: + return 0, errors.New("Unknown ProtocolType value: " + v) + } } return &result, nil } @@ -50,3 +60,6 @@ func SerializeProtocolType(values []ProtocolType) []string { } return result } +func (i ProtocolType) isMultiValue() bool { + return true +} diff --git a/models/provisioning_action.go b/models/provisioning_action.go index f21d08f6af2..d0d84aa6474 100644 --- a/models/provisioning_action.go +++ b/models/provisioning_action.go @@ -47,3 +47,6 @@ func SerializeProvisioningAction(values []ProvisioningAction) []string { } return result } +func (i ProvisioningAction) isMultiValue() bool { + return false +} diff --git a/models/provisioning_result.go b/models/provisioning_result.go index 2fdf0ec67e8..271313878b7 100644 --- a/models/provisioning_result.go +++ b/models/provisioning_result.go @@ -41,3 +41,6 @@ func SerializeProvisioningResult(values []ProvisioningResult) []string { } return result } +func (i ProvisioningResult) isMultiValue() bool { + return false +} diff --git a/models/provisioning_status_error_category.go b/models/provisioning_status_error_category.go index f74bf87a021..14a4362d492 100644 --- a/models/provisioning_status_error_category.go +++ b/models/provisioning_status_error_category.go @@ -38,3 +38,6 @@ func SerializeProvisioningStatusErrorCategory(values []ProvisioningStatusErrorCa } return result } +func (i ProvisioningStatusErrorCategory) isMultiValue() bool { + return false +} diff --git a/models/provisioning_status_info.go b/models/provisioning_status_info.go index 615a14c56fc..0e8ca71a151 100644 --- a/models/provisioning_status_info.go +++ b/models/provisioning_status_info.go @@ -38,7 +38,7 @@ func (m *ProvisioningStatusInfo) GetAdditionalData()(map[string]any) { func (m *ProvisioningStatusInfo) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetErrorInformation gets the errorInformation property value. If status is not success/ skipped details for the error are contained in this. +// GetErrorInformation gets the errorInformation property value. If status isn't success/ skipped details for the error are contained in this. func (m *ProvisioningStatusInfo) GetErrorInformation()(ProvisioningErrorInfoable) { val, err := m.GetBackingStore().Get("errorInformation") if err != nil { @@ -146,7 +146,7 @@ func (m *ProvisioningStatusInfo) SetAdditionalData(value map[string]any)() { func (m *ProvisioningStatusInfo) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetErrorInformation sets the errorInformation property value. If status is not success/ skipped details for the error are contained in this. +// SetErrorInformation sets the errorInformation property value. If status isn't success/ skipped details for the error are contained in this. func (m *ProvisioningStatusInfo) SetErrorInformation(value ProvisioningErrorInfoable)() { err := m.GetBackingStore().Set("errorInformation", value) if err != nil { diff --git a/models/provisioning_step_type.go b/models/provisioning_step_type.go index 75903330da5..aa89c117690 100644 --- a/models/provisioning_step_type.go +++ b/models/provisioning_step_type.go @@ -47,3 +47,6 @@ func SerializeProvisioningStepType(values []ProvisioningStepType) []string { } return result } +func (i ProvisioningStepType) isMultiValue() bool { + return false +} diff --git a/models/publication_facet.go b/models/publication_facet.go index 0b23ad77b79..922c865d082 100644 --- a/models/publication_facet.go +++ b/models/publication_facet.go @@ -38,7 +38,7 @@ func (m *PublicationFacet) GetAdditionalData()(map[string]any) { func (m *PublicationFacet) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetCheckedOutBy gets the checkedOutBy property value. The checkedOutBy property +// GetCheckedOutBy gets the checkedOutBy property value. User who has checked out the file. func (m *PublicationFacet) GetCheckedOutBy()(IdentitySetable) { val, err := m.GetBackingStore().Get("checkedOutBy") if err != nil { @@ -172,7 +172,7 @@ func (m *PublicationFacet) SetAdditionalData(value map[string]any)() { func (m *PublicationFacet) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetCheckedOutBy sets the checkedOutBy property value. The checkedOutBy property +// SetCheckedOutBy sets the checkedOutBy property value. User who has checked out the file. func (m *PublicationFacet) SetCheckedOutBy(value IdentitySetable)() { err := m.GetBackingStore().Set("checkedOutBy", value) if err != nil { diff --git a/models/quarantine_reason.go b/models/quarantine_reason.go index e8703938489..6a326cd25f4 100644 --- a/models/quarantine_reason.go +++ b/models/quarantine_reason.go @@ -50,3 +50,6 @@ func SerializeQuarantineReason(values []QuarantineReason) []string { } return result } +func (i QuarantineReason) isMultiValue() bool { + return false +} diff --git a/models/rating_apps_type.go b/models/rating_apps_type.go index 1916b3d8f6a..78300271049 100644 --- a/models/rating_apps_type.go +++ b/models/rating_apps_type.go @@ -50,3 +50,6 @@ func SerializeRatingAppsType(values []RatingAppsType) []string { } return result } +func (i RatingAppsType) isMultiValue() bool { + return false +} diff --git a/models/rating_australia_movies_type.go b/models/rating_australia_movies_type.go index 6524cf4266b..c25f0667133 100644 --- a/models/rating_australia_movies_type.go +++ b/models/rating_australia_movies_type.go @@ -54,3 +54,6 @@ func SerializeRatingAustraliaMoviesType(values []RatingAustraliaMoviesType) []st } return result } +func (i RatingAustraliaMoviesType) isMultiValue() bool { + return false +} diff --git a/models/rating_australia_television_type.go b/models/rating_australia_television_type.go index 7e38147fcda..2534a12c988 100644 --- a/models/rating_australia_television_type.go +++ b/models/rating_australia_television_type.go @@ -62,3 +62,6 @@ func SerializeRatingAustraliaTelevisionType(values []RatingAustraliaTelevisionTy } return result } +func (i RatingAustraliaTelevisionType) isMultiValue() bool { + return false +} diff --git a/models/rating_canada_movies_type.go b/models/rating_canada_movies_type.go index 9d811a59d0b..30648ed7d94 100644 --- a/models/rating_canada_movies_type.go +++ b/models/rating_canada_movies_type.go @@ -54,3 +54,6 @@ func SerializeRatingCanadaMoviesType(values []RatingCanadaMoviesType) []string { } return result } +func (i RatingCanadaMoviesType) isMultiValue() bool { + return false +} diff --git a/models/rating_canada_television_type.go b/models/rating_canada_television_type.go index 060464596ed..e35661d44ee 100644 --- a/models/rating_canada_television_type.go +++ b/models/rating_canada_television_type.go @@ -58,3 +58,6 @@ func SerializeRatingCanadaTelevisionType(values []RatingCanadaTelevisionType) [] } return result } +func (i RatingCanadaTelevisionType) isMultiValue() bool { + return false +} diff --git a/models/rating_france_movies_type.go b/models/rating_france_movies_type.go index 40eb063d662..b93a4c4779b 100644 --- a/models/rating_france_movies_type.go +++ b/models/rating_france_movies_type.go @@ -50,3 +50,6 @@ func SerializeRatingFranceMoviesType(values []RatingFranceMoviesType) []string { } return result } +func (i RatingFranceMoviesType) isMultiValue() bool { + return false +} diff --git a/models/rating_france_television_type.go b/models/rating_france_television_type.go index cd0578802f1..8d374a21d47 100644 --- a/models/rating_france_television_type.go +++ b/models/rating_france_television_type.go @@ -50,3 +50,6 @@ func SerializeRatingFranceTelevisionType(values []RatingFranceTelevisionType) [] } return result } +func (i RatingFranceTelevisionType) isMultiValue() bool { + return false +} diff --git a/models/rating_germany_movies_type.go b/models/rating_germany_movies_type.go index afa54fb88e5..8895fa189a6 100644 --- a/models/rating_germany_movies_type.go +++ b/models/rating_germany_movies_type.go @@ -54,3 +54,6 @@ func SerializeRatingGermanyMoviesType(values []RatingGermanyMoviesType) []string } return result } +func (i RatingGermanyMoviesType) isMultiValue() bool { + return false +} diff --git a/models/rating_germany_television_type.go b/models/rating_germany_television_type.go index 4d10978fc5d..16340f9783f 100644 --- a/models/rating_germany_television_type.go +++ b/models/rating_germany_television_type.go @@ -54,3 +54,6 @@ func SerializeRatingGermanyTelevisionType(values []RatingGermanyTelevisionType) } return result } +func (i RatingGermanyTelevisionType) isMultiValue() bool { + return false +} diff --git a/models/rating_ireland_movies_type.go b/models/rating_ireland_movies_type.go index 90d58df6aeb..0c1309e1c8f 100644 --- a/models/rating_ireland_movies_type.go +++ b/models/rating_ireland_movies_type.go @@ -58,3 +58,6 @@ func SerializeRatingIrelandMoviesType(values []RatingIrelandMoviesType) []string } return result } +func (i RatingIrelandMoviesType) isMultiValue() bool { + return false +} diff --git a/models/rating_ireland_television_type.go b/models/rating_ireland_television_type.go index 44f26379c9d..d225cc09d1c 100644 --- a/models/rating_ireland_television_type.go +++ b/models/rating_ireland_television_type.go @@ -54,3 +54,6 @@ func SerializeRatingIrelandTelevisionType(values []RatingIrelandTelevisionType) } return result } +func (i RatingIrelandTelevisionType) isMultiValue() bool { + return false +} diff --git a/models/rating_japan_movies_type.go b/models/rating_japan_movies_type.go index 25b8dc4b808..d7bd35f4ca2 100644 --- a/models/rating_japan_movies_type.go +++ b/models/rating_japan_movies_type.go @@ -50,3 +50,6 @@ func SerializeRatingJapanMoviesType(values []RatingJapanMoviesType) []string { } return result } +func (i RatingJapanMoviesType) isMultiValue() bool { + return false +} diff --git a/models/rating_japan_television_type.go b/models/rating_japan_television_type.go index a24a17dd7bd..e413eaa8148 100644 --- a/models/rating_japan_television_type.go +++ b/models/rating_japan_television_type.go @@ -38,3 +38,6 @@ func SerializeRatingJapanTelevisionType(values []RatingJapanTelevisionType) []st } return result } +func (i RatingJapanTelevisionType) isMultiValue() bool { + return false +} diff --git a/models/rating_new_zealand_movies_type.go b/models/rating_new_zealand_movies_type.go index 96e047bbda6..fec787b9c9c 100644 --- a/models/rating_new_zealand_movies_type.go +++ b/models/rating_new_zealand_movies_type.go @@ -70,3 +70,6 @@ func SerializeRatingNewZealandMoviesType(values []RatingNewZealandMoviesType) [] } return result } +func (i RatingNewZealandMoviesType) isMultiValue() bool { + return false +} diff --git a/models/rating_new_zealand_television_type.go b/models/rating_new_zealand_television_type.go index b3478c7d12b..f8d4150e16a 100644 --- a/models/rating_new_zealand_television_type.go +++ b/models/rating_new_zealand_television_type.go @@ -46,3 +46,6 @@ func SerializeRatingNewZealandTelevisionType(values []RatingNewZealandTelevision } return result } +func (i RatingNewZealandTelevisionType) isMultiValue() bool { + return false +} diff --git a/models/rating_united_kingdom_movies_type.go b/models/rating_united_kingdom_movies_type.go index bd7271a20ef..3b0026573e6 100644 --- a/models/rating_united_kingdom_movies_type.go +++ b/models/rating_united_kingdom_movies_type.go @@ -62,3 +62,6 @@ func SerializeRatingUnitedKingdomMoviesType(values []RatingUnitedKingdomMoviesTy } return result } +func (i RatingUnitedKingdomMoviesType) isMultiValue() bool { + return false +} diff --git a/models/rating_united_kingdom_television_type.go b/models/rating_united_kingdom_television_type.go index 1209520af4c..eb42e88bf9e 100644 --- a/models/rating_united_kingdom_television_type.go +++ b/models/rating_united_kingdom_television_type.go @@ -38,3 +38,6 @@ func SerializeRatingUnitedKingdomTelevisionType(values []RatingUnitedKingdomTele } return result } +func (i RatingUnitedKingdomTelevisionType) isMultiValue() bool { + return false +} diff --git a/models/rating_united_states_movies_type.go b/models/rating_united_states_movies_type.go index 8eb01495d37..7274a4252af 100644 --- a/models/rating_united_states_movies_type.go +++ b/models/rating_united_states_movies_type.go @@ -54,3 +54,6 @@ func SerializeRatingUnitedStatesMoviesType(values []RatingUnitedStatesMoviesType } return result } +func (i RatingUnitedStatesMoviesType) isMultiValue() bool { + return false +} diff --git a/models/rating_united_states_television_type.go b/models/rating_united_states_television_type.go index 2678b2bb1b4..38748c85e6e 100644 --- a/models/rating_united_states_television_type.go +++ b/models/rating_united_states_television_type.go @@ -58,3 +58,6 @@ func SerializeRatingUnitedStatesTelevisionType(values []RatingUnitedStatesTelevi } return result } +func (i RatingUnitedStatesTelevisionType) isMultiValue() bool { + return false +} diff --git a/models/recipient_scope_type.go b/models/recipient_scope_type.go index 4bdda26d6ae..6a2b817a273 100644 --- a/models/recipient_scope_type.go +++ b/models/recipient_scope_type.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type RecipientScopeType int @@ -14,23 +15,32 @@ const ( ) func (i RecipientScopeType) String() string { - return []string{"none", "internal", "external", "externalPartner", "externalNonPartner"}[i] + var values []string + for p := RecipientScopeType(1); p <= EXTERNALNONPARTNER_RECIPIENTSCOPETYPE; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "internal", "external", "externalPartner", "externalNonPartner"}[p]) + } + } + return strings.Join(values, ",") } func ParseRecipientScopeType(v string) (any, error) { - result := NONE_RECIPIENTSCOPETYPE - switch v { - case "none": - result = NONE_RECIPIENTSCOPETYPE - case "internal": - result = INTERNAL_RECIPIENTSCOPETYPE - case "external": - result = EXTERNAL_RECIPIENTSCOPETYPE - case "externalPartner": - result = EXTERNALPARTNER_RECIPIENTSCOPETYPE - case "externalNonPartner": - result = EXTERNALNONPARTNER_RECIPIENTSCOPETYPE - default: - return 0, errors.New("Unknown RecipientScopeType value: " + v) + var result RecipientScopeType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_RECIPIENTSCOPETYPE + case "internal": + result |= INTERNAL_RECIPIENTSCOPETYPE + case "external": + result |= EXTERNAL_RECIPIENTSCOPETYPE + case "externalPartner": + result |= EXTERNALPARTNER_RECIPIENTSCOPETYPE + case "externalNonPartner": + result |= EXTERNALNONPARTNER_RECIPIENTSCOPETYPE + default: + return 0, errors.New("Unknown RecipientScopeType value: " + v) + } } return &result, nil } @@ -41,3 +51,6 @@ func SerializeRecipientScopeType(values []RecipientScopeType) []string { } return result } +func (i RecipientScopeType) isMultiValue() bool { + return true +} diff --git a/models/recommendation_base.go b/models/recommendation_base.go index 59270856eeb..6b4c92b80ec 100644 --- a/models/recommendation_base.go +++ b/models/recommendation_base.go @@ -316,6 +316,16 @@ func (m *RecommendationBase) GetFieldDeserializers()(map[string]func(i878a80d233 } return nil } + res["releaseType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetReleaseType(val) + } + return nil + } res["remediationImpact"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -459,6 +469,17 @@ func (m *RecommendationBase) GetRecommendationType()(*RecommendationType) { } return nil } +// GetReleaseType gets the releaseType property value. The current release type of the recommendation. The possible values are: preview or generallyAvailable. +func (m *RecommendationBase) GetReleaseType()(*string) { + val, err := m.GetBackingStore().Get("releaseType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetRemediationImpact gets the remediationImpact property value. Description of the impact on users of the remediation. Only applies to recommendations with category set to identitySecureScore. func (m *RecommendationBase) GetRemediationImpact()(*string) { val, err := m.GetBackingStore().Get("remediationImpact") @@ -610,6 +631,12 @@ func (m *RecommendationBase) Serialize(writer i878a80d2330e89d26896388a3f487eef2 return err } } + { + err = writer.WriteStringValue("releaseType", m.GetReleaseType()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("remediationImpact", m.GetRemediationImpact()) if err != nil { @@ -751,6 +778,13 @@ func (m *RecommendationBase) SetRecommendationType(value *RecommendationType)() panic(err) } } +// SetReleaseType sets the releaseType property value. The current release type of the recommendation. The possible values are: preview or generallyAvailable. +func (m *RecommendationBase) SetReleaseType(value *string)() { + err := m.GetBackingStore().Set("releaseType", value) + if err != nil { + panic(err) + } +} // SetRemediationImpact sets the remediationImpact property value. Description of the impact on users of the remediation. Only applies to recommendations with category set to identitySecureScore. func (m *RecommendationBase) SetRemediationImpact(value *string)() { err := m.GetBackingStore().Set("remediationImpact", value) @@ -787,6 +821,7 @@ type RecommendationBaseable interface { GetPostponeUntilDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetPriority()(*RecommendationPriority) GetRecommendationType()(*RecommendationType) + GetReleaseType()(*string) GetRemediationImpact()(*string) GetStatus()(*RecommendationStatus) SetActionSteps(value []ActionStepable)() @@ -807,6 +842,7 @@ type RecommendationBaseable interface { SetPostponeUntilDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetPriority(value *RecommendationPriority)() SetRecommendationType(value *RecommendationType)() + SetReleaseType(value *string)() SetRemediationImpact(value *string)() SetStatus(value *RecommendationStatus)() } diff --git a/models/recommendation_category.go b/models/recommendation_category.go index 90847d177a0..708cd9852b7 100644 --- a/models/recommendation_category.go +++ b/models/recommendation_category.go @@ -35,3 +35,6 @@ func SerializeRecommendationCategory(values []RecommendationCategory) []string { } return result } +func (i RecommendationCategory) isMultiValue() bool { + return false +} diff --git a/models/recommendation_feature_areas.go b/models/recommendation_feature_areas.go index 8da6f53ca36..794e7c30974 100644 --- a/models/recommendation_feature_areas.go +++ b/models/recommendation_feature_areas.go @@ -50,3 +50,6 @@ func SerializeRecommendationFeatureAreas(values []RecommendationFeatureAreas) [] } return result } +func (i RecommendationFeatureAreas) isMultiValue() bool { + return false +} diff --git a/models/recommendation_priority.go b/models/recommendation_priority.go index 6bb30e70269..54f2971950a 100644 --- a/models/recommendation_priority.go +++ b/models/recommendation_priority.go @@ -35,3 +35,6 @@ func SerializeRecommendationPriority(values []RecommendationPriority) []string { } return result } +func (i RecommendationPriority) isMultiValue() bool { + return false +} diff --git a/models/recommendation_status.go b/models/recommendation_status.go index 29a3e51a662..105e53cffc7 100644 --- a/models/recommendation_status.go +++ b/models/recommendation_status.go @@ -44,3 +44,6 @@ func SerializeRecommendationStatus(values []RecommendationStatus) []string { } return result } +func (i RecommendationStatus) isMultiValue() bool { + return false +} diff --git a/models/recommendation_type.go b/models/recommendation_type.go index fe976a6fa24..3d66fd6323c 100644 --- a/models/recommendation_type.go +++ b/models/recommendation_type.go @@ -122,3 +122,6 @@ func SerializeRecommendationType(values []RecommendationType) []string { } return result } +func (i RecommendationType) isMultiValue() bool { + return false +} diff --git a/models/record_completion_reason.go b/models/record_completion_reason.go index 31a689e68eb..3e2f093427b 100644 --- a/models/record_completion_reason.go +++ b/models/record_completion_reason.go @@ -53,3 +53,6 @@ func SerializeRecordCompletionReason(values []RecordCompletionReason) []string { } return result } +func (i RecordCompletionReason) isMultiValue() bool { + return false +} diff --git a/models/recording_status.go b/models/recording_status.go index 0623ba6d1d6..7a3eea7fa76 100644 --- a/models/recording_status.go +++ b/models/recording_status.go @@ -41,3 +41,6 @@ func SerializeRecordingStatus(values []RecordingStatus) []string { } return result } +func (i RecordingStatus) isMultiValue() bool { + return false +} diff --git a/models/recurrence_pattern_type.go b/models/recurrence_pattern_type.go index 729e8747194..7ed5cf0c249 100644 --- a/models/recurrence_pattern_type.go +++ b/models/recurrence_pattern_type.go @@ -44,3 +44,6 @@ func SerializeRecurrencePatternType(values []RecurrencePatternType) []string { } return result } +func (i RecurrencePatternType) isMultiValue() bool { + return false +} diff --git a/models/recurrence_range_type.go b/models/recurrence_range_type.go index db60a0f2c4f..1e5a99ce19e 100644 --- a/models/recurrence_range_type.go +++ b/models/recurrence_range_type.go @@ -35,3 +35,6 @@ func SerializeRecurrenceRangeType(values []RecurrenceRangeType) []string { } return result } +func (i RecurrenceRangeType) isMultiValue() bool { + return false +} diff --git a/models/reference_attachment_permission.go b/models/reference_attachment_permission.go index f370b4608f0..8d07d45900a 100644 --- a/models/reference_attachment_permission.go +++ b/models/reference_attachment_permission.go @@ -47,3 +47,6 @@ func SerializeReferenceAttachmentPermission(values []ReferenceAttachmentPermissi } return result } +func (i ReferenceAttachmentPermission) isMultiValue() bool { + return false +} diff --git a/models/reference_attachment_provider.go b/models/reference_attachment_provider.go index 959ba94d4ed..e9e2fc9e615 100644 --- a/models/reference_attachment_provider.go +++ b/models/reference_attachment_provider.go @@ -38,3 +38,6 @@ func SerializeReferenceAttachmentProvider(values []ReferenceAttachmentProvider) } return result } +func (i ReferenceAttachmentProvider) isMultiValue() bool { + return false +} diff --git a/models/registration_auth_method.go b/models/registration_auth_method.go index fb0236be6c4..2eae1dcdbc8 100644 --- a/models/registration_auth_method.go +++ b/models/registration_auth_method.go @@ -56,3 +56,6 @@ func SerializeRegistrationAuthMethod(values []RegistrationAuthMethod) []string { } return result } +func (i RegistrationAuthMethod) isMultiValue() bool { + return false +} diff --git a/models/registration_status_type.go b/models/registration_status_type.go index 02ff285c044..add63897384 100644 --- a/models/registration_status_type.go +++ b/models/registration_status_type.go @@ -41,3 +41,6 @@ func SerializeRegistrationStatusType(values []RegistrationStatusType) []string { } return result } +func (i RegistrationStatusType) isMultiValue() bool { + return false +} diff --git a/models/registry_hive.go b/models/registry_hive.go index 188962b7f62..d29078e1b21 100644 --- a/models/registry_hive.go +++ b/models/registry_hive.go @@ -53,3 +53,6 @@ func SerializeRegistryHive(values []RegistryHive) []string { } return result } +func (i RegistryHive) isMultiValue() bool { + return false +} diff --git a/models/registry_operation.go b/models/registry_operation.go index e1ed0f93e72..eae6bcf9c27 100644 --- a/models/registry_operation.go +++ b/models/registry_operation.go @@ -41,3 +41,6 @@ func SerializeRegistryOperation(values []RegistryOperation) []string { } return result } +func (i RegistryOperation) isMultiValue() bool { + return false +} diff --git a/models/registry_value_type.go b/models/registry_value_type.go index 25284672231..cdb4a0b5afe 100644 --- a/models/registry_value_type.go +++ b/models/registry_value_type.go @@ -65,3 +65,6 @@ func SerializeRegistryValueType(values []RegistryValueType) []string { } return result } +func (i RegistryValueType) isMultiValue() bool { + return false +} diff --git a/models/reject_reason.go b/models/reject_reason.go index 3139636872b..54374bb338d 100644 --- a/models/reject_reason.go +++ b/models/reject_reason.go @@ -38,3 +38,6 @@ func SerializeRejectReason(values []RejectReason) []string { } return result } +func (i RejectReason) isMultiValue() bool { + return false +} diff --git a/models/remediation_state.go b/models/remediation_state.go index caac68f60e7..6c0f9006a5c 100644 --- a/models/remediation_state.go +++ b/models/remediation_state.go @@ -50,3 +50,6 @@ func SerializeRemediationState(values []RemediationState) []string { } return result } +func (i RemediationState) isMultiValue() bool { + return false +} diff --git a/models/reminder.go b/models/reminder.go index 2a5dd43e91b..7de8e97f5a6 100644 --- a/models/reminder.go +++ b/models/reminder.go @@ -104,7 +104,7 @@ func (m *Reminder) GetEventSubject()(*string) { } return nil } -// GetEventWebLink gets the eventWebLink property value. The URL to open the event in Outlook on the web.The event will open in the browser if you are logged in to your mailbox via Outlook on the web. You will be prompted to login if you are not already logged in with the browser.This URL cannot be accessed from within an iFrame. +// GetEventWebLink gets the eventWebLink property value. The URL to open the event in Outlook on the web.The event opens in the browser if you're logged in to your mailbox via Outlook on the web. You're prompted to log in if you aren't already logged in with the browser.This URL can't be accessed from within an iFrame. func (m *Reminder) GetEventWebLink()(*string) { val, err := m.GetBackingStore().Get("eventWebLink") if err != nil { @@ -349,7 +349,7 @@ func (m *Reminder) SetEventSubject(value *string)() { panic(err) } } -// SetEventWebLink sets the eventWebLink property value. The URL to open the event in Outlook on the web.The event will open in the browser if you are logged in to your mailbox via Outlook on the web. You will be prompted to login if you are not already logged in with the browser.This URL cannot be accessed from within an iFrame. +// SetEventWebLink sets the eventWebLink property value. The URL to open the event in Outlook on the web.The event opens in the browser if you're logged in to your mailbox via Outlook on the web. You're prompted to log in if you aren't already logged in with the browser.This URL can't be accessed from within an iFrame. func (m *Reminder) SetEventWebLink(value *string)() { err := m.GetBackingStore().Set("eventWebLink", value) if err != nil { diff --git a/models/remote_action.go b/models/remote_action.go index 9f0ccae18e0..f4f6d79c002 100644 --- a/models/remote_action.go +++ b/models/remote_action.go @@ -166,3 +166,6 @@ func SerializeRemoteAction(values []RemoteAction) []string { } return result } +func (i RemoteAction) isMultiValue() bool { + return false +} diff --git a/models/remote_assistance_onboarding_status.go b/models/remote_assistance_onboarding_status.go index e4d2a020740..422a516e4c7 100644 --- a/models/remote_assistance_onboarding_status.go +++ b/models/remote_assistance_onboarding_status.go @@ -38,3 +38,6 @@ func SerializeRemoteAssistanceOnboardingStatus(values []RemoteAssistanceOnboardi } return result } +func (i RemoteAssistanceOnboardingStatus) isMultiValue() bool { + return false +} diff --git a/models/remote_assistance_state.go b/models/remote_assistance_state.go index 65ff5eda98e..cad73aa0e07 100644 --- a/models/remote_assistance_state.go +++ b/models/remote_assistance_state.go @@ -34,3 +34,6 @@ func SerializeRemoteAssistanceState(values []RemoteAssistanceState) []string { } return result } +func (i RemoteAssistanceState) isMultiValue() bool { + return false +} diff --git a/models/reply_restriction.go b/models/reply_restriction.go index e08f77ffa18..a1f759048c1 100644 --- a/models/reply_restriction.go +++ b/models/reply_restriction.go @@ -35,3 +35,6 @@ func SerializeReplyRestriction(values []ReplyRestriction) []string { } return result } +func (i ReplyRestriction) isMultiValue() bool { + return false +} diff --git a/models/required_password_type.go b/models/required_password_type.go index c3efdca26d8..cc5a70bc382 100644 --- a/models/required_password_type.go +++ b/models/required_password_type.go @@ -38,3 +38,6 @@ func SerializeRequiredPasswordType(values []RequiredPasswordType) []string { } return result } +func (i RequiredPasswordType) isMultiValue() bool { + return false +} diff --git a/models/requirement_provider.go b/models/requirement_provider.go index ab346dd6114..7ea416797fc 100644 --- a/models/requirement_provider.go +++ b/models/requirement_provider.go @@ -89,3 +89,6 @@ func SerializeRequirementProvider(values []RequirementProvider) []string { } return result } +func (i RequirementProvider) isMultiValue() bool { + return false +} diff --git a/models/reseller_delegated_admin_relationship.go b/models/reseller_delegated_admin_relationship.go index 6bce9bad5a5..5234ab1534a 100644 --- a/models/reseller_delegated_admin_relationship.go +++ b/models/reseller_delegated_admin_relationship.go @@ -44,7 +44,7 @@ func (m *ResellerDelegatedAdminRelationship) GetFieldDeserializers()(map[string] } return res } -// GetIndirectProviderTenantId gets the indirectProviderTenantId property value. The indirectProviderTenantId property +// GetIndirectProviderTenantId gets the indirectProviderTenantId property value. The tenant ID of the indirect provider partner who created the relationship for the indirect reseller partner. func (m *ResellerDelegatedAdminRelationship) GetIndirectProviderTenantId()(*string) { val, err := m.GetBackingStore().Get("indirectProviderTenantId") if err != nil { @@ -55,7 +55,7 @@ func (m *ResellerDelegatedAdminRelationship) GetIndirectProviderTenantId()(*stri } return nil } -// GetIsPartnerConsentPending gets the isPartnerConsentPending property value. The isPartnerConsentPending property +// GetIsPartnerConsentPending gets the isPartnerConsentPending property value. Indicates the indirect reseller partner consent status. true indicates that the partner has yet to review the relationship; false indicates that the partner has already provided consent by approving or rejecting the relationship. func (m *ResellerDelegatedAdminRelationship) GetIsPartnerConsentPending()(*bool) { val, err := m.GetBackingStore().Get("isPartnerConsentPending") if err != nil { @@ -86,14 +86,14 @@ func (m *ResellerDelegatedAdminRelationship) Serialize(writer i878a80d2330e89d26 } return nil } -// SetIndirectProviderTenantId sets the indirectProviderTenantId property value. The indirectProviderTenantId property +// SetIndirectProviderTenantId sets the indirectProviderTenantId property value. The tenant ID of the indirect provider partner who created the relationship for the indirect reseller partner. func (m *ResellerDelegatedAdminRelationship) SetIndirectProviderTenantId(value *string)() { err := m.GetBackingStore().Set("indirectProviderTenantId", value) if err != nil { panic(err) } } -// SetIsPartnerConsentPending sets the isPartnerConsentPending property value. The isPartnerConsentPending property +// SetIsPartnerConsentPending sets the isPartnerConsentPending property value. Indicates the indirect reseller partner consent status. true indicates that the partner has yet to review the relationship; false indicates that the partner has already provided consent by approving or rejecting the relationship. func (m *ResellerDelegatedAdminRelationship) SetIsPartnerConsentPending(value *bool)() { err := m.GetBackingStore().Set("isPartnerConsentPending", value) if err != nil { diff --git a/models/response_type.go b/models/response_type.go index 281f736920b..2418aaf42e4 100644 --- a/models/response_type.go +++ b/models/response_type.go @@ -44,3 +44,6 @@ func SerializeResponseType(values []ResponseType) []string { } return result } +func (i ResponseType) isMultiValue() bool { + return false +} diff --git a/models/restore_time_range.go b/models/restore_time_range.go index 8359a95ecb2..cc04d0e4045 100644 --- a/models/restore_time_range.go +++ b/models/restore_time_range.go @@ -38,3 +38,6 @@ func SerializeRestoreTimeRange(values []RestoreTimeRange) []string { } return result } +func (i RestoreTimeRange) isMultiValue() bool { + return false +} diff --git a/models/restricted_apps_state.go b/models/restricted_apps_state.go index 4af3f42ea44..9ceedc7e4de 100644 --- a/models/restricted_apps_state.go +++ b/models/restricted_apps_state.go @@ -34,3 +34,6 @@ func SerializeRestrictedAppsState(values []RestrictedAppsState) []string { } return result } +func (i RestrictedAppsState) isMultiValue() bool { + return false +} diff --git a/models/resultant_app_state.go b/models/resultant_app_state.go index 8c52ebbed12..0f774ef5847 100644 --- a/models/resultant_app_state.go +++ b/models/resultant_app_state.go @@ -54,3 +54,6 @@ func SerializeResultantAppState(values []ResultantAppState) []string { } return result } +func (i ResultantAppState) isMultiValue() bool { + return false +} diff --git a/models/resultant_app_state_detail.go b/models/resultant_app_state_detail.go index f2702795a76..f0310c24b50 100644 --- a/models/resultant_app_state_detail.go +++ b/models/resultant_app_state_detail.go @@ -170,3 +170,6 @@ func SerializeResultantAppStateDetail(values []ResultantAppStateDetail) []string } return result } +func (i ResultantAppStateDetail) isMultiValue() bool { + return false +} diff --git a/models/retention_label_settings.go b/models/retention_label_settings.go index 4db409040ca..44274025c46 100644 --- a/models/retention_label_settings.go +++ b/models/retention_label_settings.go @@ -103,7 +103,7 @@ func (m *RetentionLabelSettings) GetFieldDeserializers()(map[string]func(i878a80 } return res } -// GetIsContentUpdateAllowed gets the isContentUpdateAllowed property value. The isContentUpdateAllowed property +// GetIsContentUpdateAllowed gets the isContentUpdateAllowed property value. Specifies whether updates to document content are allowed. Read-only. func (m *RetentionLabelSettings) GetIsContentUpdateAllowed()(*bool) { val, err := m.GetBackingStore().Get("isContentUpdateAllowed") if err != nil { @@ -114,7 +114,7 @@ func (m *RetentionLabelSettings) GetIsContentUpdateAllowed()(*bool) { } return nil } -// GetIsDeleteAllowed gets the isDeleteAllowed property value. The isDeleteAllowed property +// GetIsDeleteAllowed gets the isDeleteAllowed property value. Specifies whether the document deletion is allowed. Read-only. func (m *RetentionLabelSettings) GetIsDeleteAllowed()(*bool) { val, err := m.GetBackingStore().Get("isDeleteAllowed") if err != nil { @@ -125,7 +125,7 @@ func (m *RetentionLabelSettings) GetIsDeleteAllowed()(*bool) { } return nil } -// GetIsLabelUpdateAllowed gets the isLabelUpdateAllowed property value. The isLabelUpdateAllowed property +// GetIsLabelUpdateAllowed gets the isLabelUpdateAllowed property value. Specifies whether you're allowed to change the retention label on the document. Read-only. func (m *RetentionLabelSettings) GetIsLabelUpdateAllowed()(*bool) { val, err := m.GetBackingStore().Get("isLabelUpdateAllowed") if err != nil { @@ -136,7 +136,7 @@ func (m *RetentionLabelSettings) GetIsLabelUpdateAllowed()(*bool) { } return nil } -// GetIsMetadataUpdateAllowed gets the isMetadataUpdateAllowed property value. The isMetadataUpdateAllowed property +// GetIsMetadataUpdateAllowed gets the isMetadataUpdateAllowed property value. Specifies whether updates to the item metadata (for example, the Title field) are blocked. Read-only. func (m *RetentionLabelSettings) GetIsMetadataUpdateAllowed()(*bool) { val, err := m.GetBackingStore().Get("isMetadataUpdateAllowed") if err != nil { @@ -147,7 +147,7 @@ func (m *RetentionLabelSettings) GetIsMetadataUpdateAllowed()(*bool) { } return nil } -// GetIsRecordLocked gets the isRecordLocked property value. The isRecordLocked property +// GetIsRecordLocked gets the isRecordLocked property value. Specifies whether the item is locked. Read-write. func (m *RetentionLabelSettings) GetIsRecordLocked()(*bool) { val, err := m.GetBackingStore().Get("isRecordLocked") if err != nil { @@ -226,35 +226,35 @@ func (m *RetentionLabelSettings) SetAdditionalData(value map[string]any)() { func (m *RetentionLabelSettings) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetIsContentUpdateAllowed sets the isContentUpdateAllowed property value. The isContentUpdateAllowed property +// SetIsContentUpdateAllowed sets the isContentUpdateAllowed property value. Specifies whether updates to document content are allowed. Read-only. func (m *RetentionLabelSettings) SetIsContentUpdateAllowed(value *bool)() { err := m.GetBackingStore().Set("isContentUpdateAllowed", value) if err != nil { panic(err) } } -// SetIsDeleteAllowed sets the isDeleteAllowed property value. The isDeleteAllowed property +// SetIsDeleteAllowed sets the isDeleteAllowed property value. Specifies whether the document deletion is allowed. Read-only. func (m *RetentionLabelSettings) SetIsDeleteAllowed(value *bool)() { err := m.GetBackingStore().Set("isDeleteAllowed", value) if err != nil { panic(err) } } -// SetIsLabelUpdateAllowed sets the isLabelUpdateAllowed property value. The isLabelUpdateAllowed property +// SetIsLabelUpdateAllowed sets the isLabelUpdateAllowed property value. Specifies whether you're allowed to change the retention label on the document. Read-only. func (m *RetentionLabelSettings) SetIsLabelUpdateAllowed(value *bool)() { err := m.GetBackingStore().Set("isLabelUpdateAllowed", value) if err != nil { panic(err) } } -// SetIsMetadataUpdateAllowed sets the isMetadataUpdateAllowed property value. The isMetadataUpdateAllowed property +// SetIsMetadataUpdateAllowed sets the isMetadataUpdateAllowed property value. Specifies whether updates to the item metadata (for example, the Title field) are blocked. Read-only. func (m *RetentionLabelSettings) SetIsMetadataUpdateAllowed(value *bool)() { err := m.GetBackingStore().Set("isMetadataUpdateAllowed", value) if err != nil { panic(err) } } -// SetIsRecordLocked sets the isRecordLocked property value. The isRecordLocked property +// SetIsRecordLocked sets the isRecordLocked property value. Specifies whether the item is locked. Read-write. func (m *RetentionLabelSettings) SetIsRecordLocked(value *bool)() { err := m.GetBackingStore().Set("isRecordLocked", value) if err != nil { diff --git a/models/risk_detail.go b/models/risk_detail.go index 365f94b6347..d04b37113d9 100644 --- a/models/risk_detail.go +++ b/models/risk_detail.go @@ -71,3 +71,6 @@ func SerializeRiskDetail(values []RiskDetail) []string { } return result } +func (i RiskDetail) isMultiValue() bool { + return false +} diff --git a/models/risk_detection_timing_type.go b/models/risk_detection_timing_type.go index 4b6c6d41644..53b9e1f51fa 100644 --- a/models/risk_detection_timing_type.go +++ b/models/risk_detection_timing_type.go @@ -41,3 +41,6 @@ func SerializeRiskDetectionTimingType(values []RiskDetectionTimingType) []string } return result } +func (i RiskDetectionTimingType) isMultiValue() bool { + return false +} diff --git a/models/risk_event_type.go b/models/risk_event_type.go index c80781b0b7c..263459a7b1f 100644 --- a/models/risk_event_type.go +++ b/models/risk_event_type.go @@ -71,3 +71,6 @@ func SerializeRiskEventType(values []RiskEventType) []string { } return result } +func (i RiskEventType) isMultiValue() bool { + return false +} diff --git a/models/risk_level.go b/models/risk_level.go index 57ba69ab95b..20376c9c41b 100644 --- a/models/risk_level.go +++ b/models/risk_level.go @@ -44,3 +44,6 @@ func SerializeRiskLevel(values []RiskLevel) []string { } return result } +func (i RiskLevel) isMultiValue() bool { + return false +} diff --git a/models/risk_state.go b/models/risk_state.go index 11b9c16accd..31b951f801e 100644 --- a/models/risk_state.go +++ b/models/risk_state.go @@ -47,3 +47,6 @@ func SerializeRiskState(values []RiskState) []string { } return result } +func (i RiskState) isMultiValue() bool { + return false +} diff --git a/models/role_assignment_scope_type.go b/models/role_assignment_scope_type.go index f0387a7533f..7d81feb7f01 100644 --- a/models/role_assignment_scope_type.go +++ b/models/role_assignment_scope_type.go @@ -42,3 +42,6 @@ func SerializeRoleAssignmentScopeType(values []RoleAssignmentScopeType) []string } return result } +func (i RoleAssignmentScopeType) isMultiValue() bool { + return false +} diff --git a/models/role_management_alert.go b/models/role_management_alert.go index 3cac0ae0233..917e73295ce 100644 --- a/models/role_management_alert.go +++ b/models/role_management_alert.go @@ -19,7 +19,7 @@ func NewRoleManagementAlert()(*RoleManagementAlert) { func CreateRoleManagementAlertFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewRoleManagementAlert(), nil } -// GetAlertConfigurations gets the alertConfigurations property value. The various configurations of an alert for Azure AD roles. The configurations are pre-defined and cannot be created or deleted, but some of the configurations can be modified. +// GetAlertConfigurations gets the alertConfigurations property value. The various configurations of an alert for Azure AD roles. The configurations are predefined and can't be created or deleted, but some of the configurations can be modified. func (m *RoleManagementAlert) GetAlertConfigurations()([]UnifiedRoleManagementAlertConfigurationable) { val, err := m.GetBackingStore().Get("alertConfigurations") if err != nil { @@ -188,7 +188,7 @@ func (m *RoleManagementAlert) Serialize(writer i878a80d2330e89d26896388a3f487eef } return nil } -// SetAlertConfigurations sets the alertConfigurations property value. The various configurations of an alert for Azure AD roles. The configurations are pre-defined and cannot be created or deleted, but some of the configurations can be modified. +// SetAlertConfigurations sets the alertConfigurations property value. The various configurations of an alert for Azure AD roles. The configurations are predefined and can't be created or deleted, but some of the configurations can be modified. func (m *RoleManagementAlert) SetAlertConfigurations(value []UnifiedRoleManagementAlertConfigurationable)() { err := m.GetBackingStore().Set("alertConfigurations", value) if err != nil { diff --git a/models/role_summary_status.go b/models/role_summary_status.go index eb0bb8a4950..550a625fedb 100644 --- a/models/role_summary_status.go +++ b/models/role_summary_status.go @@ -32,3 +32,6 @@ func SerializeRoleSummaryStatus(values []RoleSummaryStatus) []string { } return result } +func (i RoleSummaryStatus) isMultiValue() bool { + return false +} diff --git a/models/root_domains.go b/models/root_domains.go index ab33c2e55d5..fceca438a05 100644 --- a/models/root_domains.go +++ b/models/root_domains.go @@ -47,3 +47,6 @@ func SerializeRootDomains(values []RootDomains) []string { } return result } +func (i RootDomains) isMultiValue() bool { + return false +} diff --git a/models/routing_mode.go b/models/routing_mode.go index 6464d104f11..8424577578a 100644 --- a/models/routing_mode.go +++ b/models/routing_mode.go @@ -32,3 +32,6 @@ func SerializeRoutingMode(values []RoutingMode) []string { } return result } +func (i RoutingMode) isMultiValue() bool { + return false +} diff --git a/models/routing_policy.go b/models/routing_policy.go index 0f30d720260..6bda53bb974 100644 --- a/models/routing_policy.go +++ b/models/routing_policy.go @@ -44,3 +44,6 @@ func SerializeRoutingPolicy(values []RoutingPolicy) []string { } return result } +func (i RoutingPolicy) isMultiValue() bool { + return false +} diff --git a/models/routing_type.go b/models/routing_type.go index 225f8540bb3..566f1bd6c3a 100644 --- a/models/routing_type.go +++ b/models/routing_type.go @@ -38,3 +38,6 @@ func SerializeRoutingType(values []RoutingType) []string { } return result } +func (i RoutingType) isMultiValue() bool { + return false +} diff --git a/models/rule_mode.go b/models/rule_mode.go index 61a669fc345..6765762d98b 100644 --- a/models/rule_mode.go +++ b/models/rule_mode.go @@ -41,3 +41,6 @@ func SerializeRuleMode(values []RuleMode) []string { } return result } +func (i RuleMode) isMultiValue() bool { + return false +} diff --git a/models/run_as_account_type.go b/models/run_as_account_type.go index 1b327aa9771..78c78af916a 100644 --- a/models/run_as_account_type.go +++ b/models/run_as_account_type.go @@ -34,3 +34,6 @@ func SerializeRunAsAccountType(values []RunAsAccountType) []string { } return result } +func (i RunAsAccountType) isMultiValue() bool { + return false +} diff --git a/models/run_state.go b/models/run_state.go index fcceb4700ca..f7c09d7fb1c 100644 --- a/models/run_state.go +++ b/models/run_state.go @@ -50,3 +50,6 @@ func SerializeRunState(values []RunState) []string { } return result } +func (i RunState) isMultiValue() bool { + return false +} diff --git a/models/safe_search_filter_type.go b/models/safe_search_filter_type.go index 0c7f744fb56..3fe1246932c 100644 --- a/models/safe_search_filter_type.go +++ b/models/safe_search_filter_type.go @@ -38,3 +38,6 @@ func SerializeSafeSearchFilterType(values []SafeSearchFilterType) []string { } return result } +func (i SafeSearchFilterType) isMultiValue() bool { + return false +} diff --git a/models/schedule_change_request_actor.go b/models/schedule_change_request_actor.go index 0eae9ca158d..101316e5698 100644 --- a/models/schedule_change_request_actor.go +++ b/models/schedule_change_request_actor.go @@ -41,3 +41,6 @@ func SerializeScheduleChangeRequestActor(values []ScheduleChangeRequestActor) [] } return result } +func (i ScheduleChangeRequestActor) isMultiValue() bool { + return false +} diff --git a/models/schedule_change_state.go b/models/schedule_change_state.go index bfe58cd342b..0c63b07901a 100644 --- a/models/schedule_change_state.go +++ b/models/schedule_change_state.go @@ -38,3 +38,6 @@ func SerializeScheduleChangeState(values []ScheduleChangeState) []string { } return result } +func (i ScheduleChangeState) isMultiValue() bool { + return false +} diff --git a/models/schedule_entity_theme.go b/models/schedule_entity_theme.go index 5f0a0828390..05a63bb278c 100644 --- a/models/schedule_entity_theme.go +++ b/models/schedule_entity_theme.go @@ -65,3 +65,6 @@ func SerializeScheduleEntityTheme(values []ScheduleEntityTheme) []string { } return result } +func (i ScheduleEntityTheme) isMultiValue() bool { + return false +} diff --git a/models/schedule_request_actions.go b/models/schedule_request_actions.go index 90c819a73fe..0ef6467903d 100644 --- a/models/schedule_request_actions.go +++ b/models/schedule_request_actions.go @@ -56,3 +56,6 @@ func SerializeScheduleRequestActions(values []ScheduleRequestActions) []string { } return result } +func (i ScheduleRequestActions) isMultiValue() bool { + return false +} diff --git a/models/scheduled_retire_state.go b/models/scheduled_retire_state.go index 8fe39e9d166..1e12f7b6478 100644 --- a/models/scheduled_retire_state.go +++ b/models/scheduled_retire_state.go @@ -38,3 +38,6 @@ func SerializeScheduledRetireState(values []ScheduledRetireState) []string { } return result } +func (i ScheduledRetireState) isMultiValue() bool { + return false +} diff --git a/models/scope_operator_multi_valued_comparison_type.go b/models/scope_operator_multi_valued_comparison_type.go index eea22d8d950..d5ceb887995 100644 --- a/models/scope_operator_multi_valued_comparison_type.go +++ b/models/scope_operator_multi_valued_comparison_type.go @@ -32,3 +32,6 @@ func SerializeScopeOperatorMultiValuedComparisonType(values []ScopeOperatorMulti } return result } +func (i ScopeOperatorMultiValuedComparisonType) isMultiValue() bool { + return false +} diff --git a/models/scope_operator_type.go b/models/scope_operator_type.go index 1360a891504..4c386b5f310 100644 --- a/models/scope_operator_type.go +++ b/models/scope_operator_type.go @@ -32,3 +32,6 @@ func SerializeScopeOperatorType(values []ScopeOperatorType) []string { } return result } +func (i ScopeOperatorType) isMultiValue() bool { + return false +} diff --git a/models/screen_sharing_role.go b/models/screen_sharing_role.go index ba7f80366e4..61d1e5bbdcf 100644 --- a/models/screen_sharing_role.go +++ b/models/screen_sharing_role.go @@ -32,3 +32,6 @@ func SerializeScreenSharingRole(values []ScreenSharingRole) []string { } return result } +func (i ScreenSharingRole) isMultiValue() bool { + return false +} diff --git a/models/search/answer_state.go b/models/search/answer_state.go index e63266b9bbf..8dc67b77987 100644 --- a/models/search/answer_state.go +++ b/models/search/answer_state.go @@ -38,3 +38,6 @@ func SerializeAnswerState(values []AnswerState) []string { } return result } +func (i AnswerState) isMultiValue() bool { + return false +} diff --git a/models/search/qna.go b/models/search/qna.go index c3116c33471..b2c5f3ba848 100644 --- a/models/search/qna.go +++ b/models/search/qna.go @@ -21,7 +21,7 @@ func NewQna()(*Qna) { func CreateQnaFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewQna(), nil } -// GetAvailabilityEndDateTime gets the availabilityEndDateTime property value. Timestamp of when the qna will stop to appear as a search result. Set as null for always available. +// GetAvailabilityEndDateTime gets the availabilityEndDateTime property value. Timestamp of when the qna stops to appear as a search result. Set as null for always available. func (m *Qna) GetAvailabilityEndDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("availabilityEndDateTime") if err != nil { @@ -32,7 +32,7 @@ func (m *Qna) GetAvailabilityEndDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f } return nil } -// GetAvailabilityStartDateTime gets the availabilityStartDateTime property value. Timestamp of when the qna will start to appear as a search result. Set as null for always available. +// GetAvailabilityStartDateTime gets the availabilityStartDateTime property value. Timestamp of when the qna starts to appear as a search result. Set as null for always available. func (m *Qna) GetAvailabilityStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("availabilityStartDateTime") if err != nil { @@ -173,7 +173,7 @@ func (m *Qna) GetGroupIds()([]string) { } return nil } -// GetIsSuggested gets the isSuggested property value. True if this qna was suggested to the admin by a user or was mined and suggested by Microsoft. Read-only. +// GetIsSuggested gets the isSuggested property value. True if a user or Microsoft suggested this qna to the admin. Read-only. func (m *Qna) GetIsSuggested()(*bool) { val, err := m.GetBackingStore().Get("isSuggested") if err != nil { @@ -228,7 +228,7 @@ func (m *Qna) GetState()(*AnswerState) { } return nil } -// GetTargetedVariations gets the targetedVariations property value. Variations of a qna for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings will apply to all variations. +// GetTargetedVariations gets the targetedVariations property value. Variations of a qna for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings apply to all variations. func (m *Qna) GetTargetedVariations()([]AnswerVariantable) { val, err := m.GetBackingStore().Get("targetedVariations") if err != nil { @@ -308,14 +308,14 @@ func (m *Qna) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493 } return nil } -// SetAvailabilityEndDateTime sets the availabilityEndDateTime property value. Timestamp of when the qna will stop to appear as a search result. Set as null for always available. +// SetAvailabilityEndDateTime sets the availabilityEndDateTime property value. Timestamp of when the qna stops to appear as a search result. Set as null for always available. func (m *Qna) SetAvailabilityEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("availabilityEndDateTime", value) if err != nil { panic(err) } } -// SetAvailabilityStartDateTime sets the availabilityStartDateTime property value. Timestamp of when the qna will start to appear as a search result. Set as null for always available. +// SetAvailabilityStartDateTime sets the availabilityStartDateTime property value. Timestamp of when the qna starts to appear as a search result. Set as null for always available. func (m *Qna) SetAvailabilityStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("availabilityStartDateTime", value) if err != nil { @@ -329,7 +329,7 @@ func (m *Qna) SetGroupIds(value []string)() { panic(err) } } -// SetIsSuggested sets the isSuggested property value. True if this qna was suggested to the admin by a user or was mined and suggested by Microsoft. Read-only. +// SetIsSuggested sets the isSuggested property value. True if a user or Microsoft suggested this qna to the admin. Read-only. func (m *Qna) SetIsSuggested(value *bool)() { err := m.GetBackingStore().Set("isSuggested", value) if err != nil { @@ -364,7 +364,7 @@ func (m *Qna) SetState(value *AnswerState)() { panic(err) } } -// SetTargetedVariations sets the targetedVariations property value. Variations of a qna for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings will apply to all variations. +// SetTargetedVariations sets the targetedVariations property value. Variations of a qna for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings apply to all variations. func (m *Qna) SetTargetedVariations(value []AnswerVariantable)() { err := m.GetBackingStore().Set("targetedVariations", value) if err != nil { diff --git a/models/search_alteration_type.go b/models/search_alteration_type.go index 90ecafee737..193fab0b793 100644 --- a/models/search_alteration_type.go +++ b/models/search_alteration_type.go @@ -35,3 +35,6 @@ func SerializeSearchAlterationType(values []SearchAlterationType) []string { } return result } +func (i SearchAlterationType) isMultiValue() bool { + return false +} diff --git a/models/search_content.go b/models/search_content.go index adacd506894..1c15a7bc66d 100644 --- a/models/search_content.go +++ b/models/search_content.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type SearchContent int @@ -12,19 +13,28 @@ const ( ) func (i SearchContent) String() string { - return []string{"sharedContent", "privateContent", "unknownFutureValue"}[i] + var values []string + for p := SearchContent(1); p <= UNKNOWNFUTUREVALUE_SEARCHCONTENT; p <<= 1 { + if i&p == p { + values = append(values, []string{"sharedContent", "privateContent", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseSearchContent(v string) (any, error) { - result := SHAREDCONTENT_SEARCHCONTENT - switch v { - case "sharedContent": - result = SHAREDCONTENT_SEARCHCONTENT - case "privateContent": - result = PRIVATECONTENT_SEARCHCONTENT - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_SEARCHCONTENT - default: - return 0, errors.New("Unknown SearchContent value: " + v) + var result SearchContent + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "sharedContent": + result |= SHAREDCONTENT_SEARCHCONTENT + case "privateContent": + result |= PRIVATECONTENT_SEARCHCONTENT + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_SEARCHCONTENT + default: + return 0, errors.New("Unknown SearchContent value: " + v) + } } return &result, nil } @@ -35,3 +45,6 @@ func SerializeSearchContent(values []SearchContent) []string { } return result } +func (i SearchContent) isMultiValue() bool { + return true +} diff --git a/models/search_hit.go b/models/search_hit.go index ab2a41f3f47..4778c406995 100644 --- a/models/search_hit.go +++ b/models/search_hit.go @@ -22,6 +22,17 @@ func NewSearchHit()(*SearchHit) { func CreateSearchHitFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewSearchHit(), nil } +// Get_summary gets the _summary property value. The _summary property +func (m *SearchHit) Get_summary()(*string) { + val, err := m.GetBackingStore().Get("_summary") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. func (m *SearchHit) GetAdditionalData()(map[string]any) { val , err := m.backingStore.Get("additionalData") @@ -82,6 +93,16 @@ func (m *SearchHit) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689 } return nil } + res["_summary"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.Set_summary(val) + } + return nil + } res["contentSource"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -342,6 +363,12 @@ func (m *SearchHit) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c0 return err } } + { + err := writer.WriteStringValue("_summary", m.Get_summary()) + if err != nil { + return err + } + } { err := writer.WriteAdditionalData(m.GetAdditionalData()) if err != nil { @@ -350,6 +377,13 @@ func (m *SearchHit) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c0 } return nil } +// Set_summary sets the _summary property value. The _summary property +func (m *SearchHit) Set_summary(value *string)() { + err := m.GetBackingStore().Set("_summary", value) + if err != nil { + panic(err) + } +} // SetAdditionalData sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. func (m *SearchHit) SetAdditionalData(value map[string]any)() { err := m.GetBackingStore().Set("additionalData", value) @@ -443,6 +477,7 @@ type SearchHitable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + Get_summary()(*string) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetContentSource()(*string) GetHitId()(*string) @@ -455,6 +490,7 @@ type SearchHitable interface { GetScore()(*int32) GetSource()(Entityable) GetSummary()(*string) + Set_summary(value *string)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetContentSource(value *string)() SetHitId(value *string)() diff --git a/models/section_emphasis_type.go b/models/section_emphasis_type.go index 571bf1f9417..19a7cdd387f 100644 --- a/models/section_emphasis_type.go +++ b/models/section_emphasis_type.go @@ -41,3 +41,6 @@ func SerializeSectionEmphasisType(values []SectionEmphasisType) []string { } return result } +func (i SectionEmphasisType) isMultiValue() bool { + return false +} diff --git a/models/secure_assessment_account_type.go b/models/secure_assessment_account_type.go index 74e7227b6e5..50524a6a08e 100644 --- a/models/secure_assessment_account_type.go +++ b/models/secure_assessment_account_type.go @@ -42,3 +42,6 @@ func SerializeSecureAssessmentAccountType(values []SecureAssessmentAccountType) } return result } +func (i SecureAssessmentAccountType) isMultiValue() bool { + return false +} diff --git a/models/secure_boot_with_d_m_a_type.go b/models/secure_boot_with_d_m_a_type.go index c4c6e9f682e..82d7246558d 100644 --- a/models/secure_boot_with_d_m_a_type.go +++ b/models/secure_boot_with_d_m_a_type.go @@ -38,3 +38,6 @@ func SerializeSecureBootWithDMAType(values []SecureBootWithDMAType) []string { } return result } +func (i SecureBootWithDMAType) isMultiValue() bool { + return false +} diff --git a/models/security/action_after_retention_period.go b/models/security/action_after_retention_period.go index e796db0d90d..78388ca6d3e 100644 --- a/models/security/action_after_retention_period.go +++ b/models/security/action_after_retention_period.go @@ -41,3 +41,6 @@ func SerializeActionAfterRetentionPeriod(values []ActionAfterRetentionPeriod) [] } return result } +func (i ActionAfterRetentionPeriod) isMultiValue() bool { + return false +} diff --git a/models/security/action_source.go b/models/security/action_source.go index b96262a041a..85018d59f34 100644 --- a/models/security/action_source.go +++ b/models/security/action_source.go @@ -38,3 +38,6 @@ func SerializeActionSource(values []ActionSource) []string { } return result } +func (i ActionSource) isMultiValue() bool { + return false +} diff --git a/models/security/additional_data_options.go b/models/security/additional_data_options.go index eb2b869a65a..4fee6d2d15f 100644 --- a/models/security/additional_data_options.go +++ b/models/security/additional_data_options.go @@ -1,6 +1,7 @@ package security import ( "errors" + "strings" ) // type AdditionalDataOptions int @@ -12,19 +13,28 @@ const ( ) func (i AdditionalDataOptions) String() string { - return []string{"allVersions", "linkedFiles", "unknownFutureValue"}[i] + var values []string + for p := AdditionalDataOptions(1); p <= UNKNOWNFUTUREVALUE_ADDITIONALDATAOPTIONS; p <<= 1 { + if i&p == p { + values = append(values, []string{"allVersions", "linkedFiles", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseAdditionalDataOptions(v string) (any, error) { - result := ALLVERSIONS_ADDITIONALDATAOPTIONS - switch v { - case "allVersions": - result = ALLVERSIONS_ADDITIONALDATAOPTIONS - case "linkedFiles": - result = LINKEDFILES_ADDITIONALDATAOPTIONS - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_ADDITIONALDATAOPTIONS - default: - return 0, errors.New("Unknown AdditionalDataOptions value: " + v) + var result AdditionalDataOptions + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "allVersions": + result |= ALLVERSIONS_ADDITIONALDATAOPTIONS + case "linkedFiles": + result |= LINKEDFILES_ADDITIONALDATAOPTIONS + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_ADDITIONALDATAOPTIONS + default: + return 0, errors.New("Unknown AdditionalDataOptions value: " + v) + } } return &result, nil } @@ -35,3 +45,6 @@ func SerializeAdditionalDataOptions(values []AdditionalDataOptions) []string { } return result } +func (i AdditionalDataOptions) isMultiValue() bool { + return true +} diff --git a/models/security/alert_classification.go b/models/security/alert_classification.go index 785762399ba..a394af6aa56 100644 --- a/models/security/alert_classification.go +++ b/models/security/alert_classification.go @@ -41,3 +41,6 @@ func SerializeAlertClassification(values []AlertClassification) []string { } return result } +func (i AlertClassification) isMultiValue() bool { + return false +} diff --git a/models/security/alert_determination.go b/models/security/alert_determination.go index 2fd1327f207..6a51366e322 100644 --- a/models/security/alert_determination.go +++ b/models/security/alert_determination.go @@ -74,3 +74,6 @@ func SerializeAlertDetermination(values []AlertDetermination) []string { } return result } +func (i AlertDetermination) isMultiValue() bool { + return false +} diff --git a/models/security/alert_severity.go b/models/security/alert_severity.go index 1e2259610f6..20857fefd28 100644 --- a/models/security/alert_severity.go +++ b/models/security/alert_severity.go @@ -44,3 +44,6 @@ func SerializeAlertSeverity(values []AlertSeverity) []string { } return result } +func (i AlertSeverity) isMultiValue() bool { + return false +} diff --git a/models/security/alert_status.go b/models/security/alert_status.go index 1baa4e4818c..3678a3126ab 100644 --- a/models/security/alert_status.go +++ b/models/security/alert_status.go @@ -41,3 +41,6 @@ func SerializeAlertStatus(values []AlertStatus) []string { } return result } +func (i AlertStatus) isMultiValue() bool { + return false +} diff --git a/models/security/assignment_method.go b/models/security/assignment_method.go index 94aa315842d..7918ab2344c 100644 --- a/models/security/assignment_method.go +++ b/models/security/assignment_method.go @@ -35,3 +35,6 @@ func SerializeAssignmentMethod(values []AssignmentMethod) []string { } return result } +func (i AssignmentMethod) isMultiValue() bool { + return false +} diff --git a/models/security/behavior_during_retention_period.go b/models/security/behavior_during_retention_period.go index c17b8359ad7..c18cb55eefb 100644 --- a/models/security/behavior_during_retention_period.go +++ b/models/security/behavior_during_retention_period.go @@ -41,3 +41,6 @@ func SerializeBehaviorDuringRetentionPeriod(values []BehaviorDuringRetentionPeri } return result } +func (i BehaviorDuringRetentionPeriod) isMultiValue() bool { + return false +} diff --git a/models/security/case_action.go b/models/security/case_action.go index c8462e50934..5458e481d49 100644 --- a/models/security/case_action.go +++ b/models/security/case_action.go @@ -53,3 +53,6 @@ func SerializeCaseAction(values []CaseAction) []string { } return result } +func (i CaseAction) isMultiValue() bool { + return false +} diff --git a/models/security/case_operation_status.go b/models/security/case_operation_status.go index 0ddc535978c..1c26d00e772 100644 --- a/models/security/case_operation_status.go +++ b/models/security/case_operation_status.go @@ -47,3 +47,6 @@ func SerializeCaseOperationStatus(values []CaseOperationStatus) []string { } return result } +func (i CaseOperationStatus) isMultiValue() bool { + return false +} diff --git a/models/security/case_status.go b/models/security/case_status.go index 1babdca9934..f2a640e28d1 100644 --- a/models/security/case_status.go +++ b/models/security/case_status.go @@ -47,3 +47,6 @@ func SerializeCaseStatus(values []CaseStatus) []string { } return result } +func (i CaseStatus) isMultiValue() bool { + return false +} diff --git a/models/security/child_selectability.go b/models/security/child_selectability.go index 3bbdde46b2d..2c7bb673c8f 100644 --- a/models/security/child_selectability.go +++ b/models/security/child_selectability.go @@ -35,3 +35,6 @@ func SerializeChildSelectability(values []ChildSelectability) []string { } return result } +func (i ChildSelectability) isMultiValue() bool { + return false +} diff --git a/models/security/container_port_protocol.go b/models/security/container_port_protocol.go index 6abcefc447d..f3c1fbb7a5d 100644 --- a/models/security/container_port_protocol.go +++ b/models/security/container_port_protocol.go @@ -38,3 +38,6 @@ func SerializeContainerPortProtocol(values []ContainerPortProtocol) []string { } return result } +func (i ContainerPortProtocol) isMultiValue() bool { + return false +} diff --git a/models/security/content_alignment.go b/models/security/content_alignment.go index 080a68858ea..7b6aae2c270 100644 --- a/models/security/content_alignment.go +++ b/models/security/content_alignment.go @@ -35,3 +35,6 @@ func SerializeContentAlignment(values []ContentAlignment) []string { } return result } +func (i ContentAlignment) isMultiValue() bool { + return false +} diff --git a/models/security/content_format.go b/models/security/content_format.go index 140c0b76daf..3199d1f0e96 100644 --- a/models/security/content_format.go +++ b/models/security/content_format.go @@ -38,3 +38,6 @@ func SerializeContentFormat(values []ContentFormat) []string { } return result } +func (i ContentFormat) isMultiValue() bool { + return false +} diff --git a/models/security/content_state.go b/models/security/content_state.go index bc573f6bf53..0af14d36f4d 100644 --- a/models/security/content_state.go +++ b/models/security/content_state.go @@ -35,3 +35,6 @@ func SerializeContentState(values []ContentState) []string { } return result } +func (i ContentState) isMultiValue() bool { + return false +} diff --git a/models/security/data_source.go b/models/security/data_source.go index 67b1855cb37..12f19c7b937 100644 --- a/models/security/data_source.go +++ b/models/security/data_source.go @@ -65,7 +65,7 @@ func (m *DataSource) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3 } return nil } -// GetDisplayName gets the displayName property value. The display name of the dataSource. This will be the name of the SharePoint site. +// GetDisplayName gets the displayName property value. The display name of the dataSource and is the name of the SharePoint site. func (m *DataSource) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") if err != nil { @@ -179,7 +179,7 @@ func (m *DataSource) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6 panic(err) } } -// SetDisplayName sets the displayName property value. The display name of the dataSource. This will be the name of the SharePoint site. +// SetDisplayName sets the displayName property value. The display name of the dataSource and is the name of the SharePoint site. func (m *DataSource) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { diff --git a/models/security/data_source_container_status.go b/models/security/data_source_container_status.go index 957393639f6..592edbe2770 100644 --- a/models/security/data_source_container_status.go +++ b/models/security/data_source_container_status.go @@ -35,3 +35,6 @@ func SerializeDataSourceContainerStatus(values []DataSourceContainerStatus) []st } return result } +func (i DataSourceContainerStatus) isMultiValue() bool { + return false +} diff --git a/models/security/data_source_hold_status.go b/models/security/data_source_hold_status.go index b3ebe3665a7..a280fa332b1 100644 --- a/models/security/data_source_hold_status.go +++ b/models/security/data_source_hold_status.go @@ -44,3 +44,6 @@ func SerializeDataSourceHoldStatus(values []DataSourceHoldStatus) []string { } return result } +func (i DataSourceHoldStatus) isMultiValue() bool { + return false +} diff --git a/models/security/data_source_scopes.go b/models/security/data_source_scopes.go index 7a117ac21b0..579cddb585e 100644 --- a/models/security/data_source_scopes.go +++ b/models/security/data_source_scopes.go @@ -1,6 +1,7 @@ package security import ( "errors" + "strings" ) // type DataSourceScopes int @@ -15,25 +16,34 @@ const ( ) func (i DataSourceScopes) String() string { - return []string{"none", "allTenantMailboxes", "allTenantSites", "allCaseCustodians", "allCaseNoncustodialDataSources", "unknownFutureValue"}[i] + var values []string + for p := DataSourceScopes(1); p <= UNKNOWNFUTUREVALUE_DATASOURCESCOPES; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "allTenantMailboxes", "allTenantSites", "allCaseCustodians", "allCaseNoncustodialDataSources", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseDataSourceScopes(v string) (any, error) { - result := NONE_DATASOURCESCOPES - switch v { - case "none": - result = NONE_DATASOURCESCOPES - case "allTenantMailboxes": - result = ALLTENANTMAILBOXES_DATASOURCESCOPES - case "allTenantSites": - result = ALLTENANTSITES_DATASOURCESCOPES - case "allCaseCustodians": - result = ALLCASECUSTODIANS_DATASOURCESCOPES - case "allCaseNoncustodialDataSources": - result = ALLCASENONCUSTODIALDATASOURCES_DATASOURCESCOPES - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_DATASOURCESCOPES - default: - return 0, errors.New("Unknown DataSourceScopes value: " + v) + var result DataSourceScopes + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_DATASOURCESCOPES + case "allTenantMailboxes": + result |= ALLTENANTMAILBOXES_DATASOURCESCOPES + case "allTenantSites": + result |= ALLTENANTSITES_DATASOURCESCOPES + case "allCaseCustodians": + result |= ALLCASECUSTODIANS_DATASOURCESCOPES + case "allCaseNoncustodialDataSources": + result |= ALLCASENONCUSTODIALDATASOURCES_DATASOURCESCOPES + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_DATASOURCESCOPES + default: + return 0, errors.New("Unknown DataSourceScopes value: " + v) + } } return &result, nil } @@ -44,3 +54,6 @@ func SerializeDataSourceScopes(values []DataSourceScopes) []string { } return result } +func (i DataSourceScopes) isMultiValue() bool { + return true +} diff --git a/models/security/default_record_behavior.go b/models/security/default_record_behavior.go index 3ceb7249276..246a7ff9b92 100644 --- a/models/security/default_record_behavior.go +++ b/models/security/default_record_behavior.go @@ -35,3 +35,6 @@ func SerializeDefaultRecordBehavior(values []DefaultRecordBehavior) []string { } return result } +func (i DefaultRecordBehavior) isMultiValue() bool { + return false +} diff --git a/models/security/defender_av_status.go b/models/security/defender_av_status.go index 2122e323953..0981051c645 100644 --- a/models/security/defender_av_status.go +++ b/models/security/defender_av_status.go @@ -47,3 +47,6 @@ func SerializeDefenderAvStatus(values []DefenderAvStatus) []string { } return result } +func (i DefenderAvStatus) isMultiValue() bool { + return false +} diff --git a/models/security/detection_source.go b/models/security/detection_source.go index 88318a19e7a..3fce5c5dc22 100644 --- a/models/security/detection_source.go +++ b/models/security/detection_source.go @@ -83,3 +83,6 @@ func SerializeDetectionSource(values []DetectionSource) []string { } return result } +func (i DetectionSource) isMultiValue() bool { + return false +} diff --git a/models/security/detection_status.go b/models/security/detection_status.go index 6929d15dcdd..f25b264b7de 100644 --- a/models/security/detection_status.go +++ b/models/security/detection_status.go @@ -38,3 +38,6 @@ func SerializeDetectionStatus(values []DetectionStatus) []string { } return result } +func (i DetectionStatus) isMultiValue() bool { + return false +} diff --git a/models/security/device_asset_identifier.go b/models/security/device_asset_identifier.go index 2dd02d3313a..24d51414b91 100644 --- a/models/security/device_asset_identifier.go +++ b/models/security/device_asset_identifier.go @@ -44,3 +44,6 @@ func SerializeDeviceAssetIdentifier(values []DeviceAssetIdentifier) []string { } return result } +func (i DeviceAssetIdentifier) isMultiValue() bool { + return false +} diff --git a/models/security/device_evidence.go b/models/security/device_evidence.go index 44db9601673..6da4e67fdf8 100644 --- a/models/security/device_evidence.go +++ b/models/security/device_evidence.go @@ -243,7 +243,7 @@ func (m *DeviceEvidence) GetFirstSeenDateTime()(*i336074805fc853987abe6f7fe3ad97 } return nil } -// GetHealthStatus gets the healthStatus property value. The health state of the device.The possible values are: active, inactive, impairedCommunication, noSensorData, noSensorDataImpairedCommunication, unknown, unknownFutureValue. +// GetHealthStatus gets the healthStatus property value. The health state of the device. The possible values are: active, inactive, impairedCommunication, noSensorData, noSensorDataImpairedCommunication, unknown, unknownFutureValue. func (m *DeviceEvidence) GetHealthStatus()(*DeviceHealthStatus) { val, err := m.GetBackingStore().Get("healthStatus") if err != nil { @@ -287,7 +287,7 @@ func (m *DeviceEvidence) GetMdeDeviceId()(*string) { } return nil } -// GetOnboardingStatus gets the onboardingStatus property value. The status of the machine onboarding to Microsoft Defender for Endpoint.The possible values are: insufficientInfo, onboarded, canBeOnboarded, unsupported, unknownFutureValue. +// GetOnboardingStatus gets the onboardingStatus property value. The status of the machine onboarding to Microsoft Defender for Endpoint. The possible values are: insufficientInfo, onboarded, canBeOnboarded, unsupported, unknownFutureValue. func (m *DeviceEvidence) GetOnboardingStatus()(*OnboardingStatus) { val, err := m.GetBackingStore().Get("onboardingStatus") if err != nil { @@ -320,7 +320,7 @@ func (m *DeviceEvidence) GetOsPlatform()(*string) { } return nil } -// GetRbacGroupId gets the rbacGroupId property value. The ID of the role-based access control (RBAC) device group. +// GetRbacGroupId gets the rbacGroupId property value. The ID of the role-based access control device group. func (m *DeviceEvidence) GetRbacGroupId()(*int32) { val, err := m.GetBackingStore().Get("rbacGroupId") if err != nil { @@ -331,7 +331,7 @@ func (m *DeviceEvidence) GetRbacGroupId()(*int32) { } return nil } -// GetRbacGroupName gets the rbacGroupName property value. The name of the RBAC device group. +// GetRbacGroupName gets the rbacGroupName property value. The name of the role-based access control device group. func (m *DeviceEvidence) GetRbacGroupName()(*string) { val, err := m.GetBackingStore().Get("rbacGroupName") if err != nil { @@ -517,7 +517,7 @@ func (m *DeviceEvidence) SetFirstSeenDateTime(value *i336074805fc853987abe6f7fe3 panic(err) } } -// SetHealthStatus sets the healthStatus property value. The health state of the device.The possible values are: active, inactive, impairedCommunication, noSensorData, noSensorDataImpairedCommunication, unknown, unknownFutureValue. +// SetHealthStatus sets the healthStatus property value. The health state of the device. The possible values are: active, inactive, impairedCommunication, noSensorData, noSensorDataImpairedCommunication, unknown, unknownFutureValue. func (m *DeviceEvidence) SetHealthStatus(value *DeviceHealthStatus)() { err := m.GetBackingStore().Set("healthStatus", value) if err != nil { @@ -545,7 +545,7 @@ func (m *DeviceEvidence) SetMdeDeviceId(value *string)() { panic(err) } } -// SetOnboardingStatus sets the onboardingStatus property value. The status of the machine onboarding to Microsoft Defender for Endpoint.The possible values are: insufficientInfo, onboarded, canBeOnboarded, unsupported, unknownFutureValue. +// SetOnboardingStatus sets the onboardingStatus property value. The status of the machine onboarding to Microsoft Defender for Endpoint. The possible values are: insufficientInfo, onboarded, canBeOnboarded, unsupported, unknownFutureValue. func (m *DeviceEvidence) SetOnboardingStatus(value *OnboardingStatus)() { err := m.GetBackingStore().Set("onboardingStatus", value) if err != nil { @@ -566,14 +566,14 @@ func (m *DeviceEvidence) SetOsPlatform(value *string)() { panic(err) } } -// SetRbacGroupId sets the rbacGroupId property value. The ID of the role-based access control (RBAC) device group. +// SetRbacGroupId sets the rbacGroupId property value. The ID of the role-based access control device group. func (m *DeviceEvidence) SetRbacGroupId(value *int32)() { err := m.GetBackingStore().Set("rbacGroupId", value) if err != nil { panic(err) } } -// SetRbacGroupName sets the rbacGroupName property value. The name of the RBAC device group. +// SetRbacGroupName sets the rbacGroupName property value. The name of the role-based access control device group. func (m *DeviceEvidence) SetRbacGroupName(value *string)() { err := m.GetBackingStore().Set("rbacGroupName", value) if err != nil { diff --git a/models/security/device_health_status.go b/models/security/device_health_status.go index 7080a084dd0..c492f8b6a33 100644 --- a/models/security/device_health_status.go +++ b/models/security/device_health_status.go @@ -47,3 +47,6 @@ func SerializeDeviceHealthStatus(values []DeviceHealthStatus) []string { } return result } +func (i DeviceHealthStatus) isMultiValue() bool { + return false +} diff --git a/models/security/device_id_entity_identifier.go b/models/security/device_id_entity_identifier.go index 8ef44aec525..cc57b589eb2 100644 --- a/models/security/device_id_entity_identifier.go +++ b/models/security/device_id_entity_identifier.go @@ -1,6 +1,7 @@ package security import ( "errors" + "strings" ) // type DeviceIdEntityIdentifier int @@ -11,17 +12,26 @@ const ( ) func (i DeviceIdEntityIdentifier) String() string { - return []string{"deviceId", "unknownFutureValue"}[i] + var values []string + for p := DeviceIdEntityIdentifier(1); p <= UNKNOWNFUTUREVALUE_DEVICEIDENTITYIDENTIFIER; p <<= 1 { + if i&p == p { + values = append(values, []string{"deviceId", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseDeviceIdEntityIdentifier(v string) (any, error) { - result := DEVICEID_DEVICEIDENTITYIDENTIFIER - switch v { - case "deviceId": - result = DEVICEID_DEVICEIDENTITYIDENTIFIER - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_DEVICEIDENTITYIDENTIFIER - default: - return 0, errors.New("Unknown DeviceIdEntityIdentifier value: " + v) + var result DeviceIdEntityIdentifier + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "deviceId": + result |= DEVICEID_DEVICEIDENTITYIDENTIFIER + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_DEVICEIDENTITYIDENTIFIER + default: + return 0, errors.New("Unknown DeviceIdEntityIdentifier value: " + v) + } } return &result, nil } @@ -32,3 +42,6 @@ func SerializeDeviceIdEntityIdentifier(values []DeviceIdEntityIdentifier) []stri } return result } +func (i DeviceIdEntityIdentifier) isMultiValue() bool { + return true +} diff --git a/models/security/device_risk_score.go b/models/security/device_risk_score.go index 5c6a333f487..7d3603a7442 100644 --- a/models/security/device_risk_score.go +++ b/models/security/device_risk_score.go @@ -44,3 +44,6 @@ func SerializeDeviceRiskScore(values []DeviceRiskScore) []string { } return result } +func (i DeviceRiskScore) isMultiValue() bool { + return false +} diff --git a/models/security/disable_user_entity_identifier.go b/models/security/disable_user_entity_identifier.go index 2fadbd86d01..57dfe4dbe2e 100644 --- a/models/security/disable_user_entity_identifier.go +++ b/models/security/disable_user_entity_identifier.go @@ -1,6 +1,7 @@ package security import ( "errors" + "strings" ) // type DisableUserEntityIdentifier int @@ -14,23 +15,32 @@ const ( ) func (i DisableUserEntityIdentifier) String() string { - return []string{"accountSid", "initiatingProcessAccountSid", "requestAccountSid", "onPremSid", "unknownFutureValue"}[i] + var values []string + for p := DisableUserEntityIdentifier(1); p <= UNKNOWNFUTUREVALUE_DISABLEUSERENTITYIDENTIFIER; p <<= 1 { + if i&p == p { + values = append(values, []string{"accountSid", "initiatingProcessAccountSid", "requestAccountSid", "onPremSid", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseDisableUserEntityIdentifier(v string) (any, error) { - result := ACCOUNTSID_DISABLEUSERENTITYIDENTIFIER - switch v { - case "accountSid": - result = ACCOUNTSID_DISABLEUSERENTITYIDENTIFIER - case "initiatingProcessAccountSid": - result = INITIATINGPROCESSACCOUNTSID_DISABLEUSERENTITYIDENTIFIER - case "requestAccountSid": - result = REQUESTACCOUNTSID_DISABLEUSERENTITYIDENTIFIER - case "onPremSid": - result = ONPREMSID_DISABLEUSERENTITYIDENTIFIER - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_DISABLEUSERENTITYIDENTIFIER - default: - return 0, errors.New("Unknown DisableUserEntityIdentifier value: " + v) + var result DisableUserEntityIdentifier + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "accountSid": + result |= ACCOUNTSID_DISABLEUSERENTITYIDENTIFIER + case "initiatingProcessAccountSid": + result |= INITIATINGPROCESSACCOUNTSID_DISABLEUSERENTITYIDENTIFIER + case "requestAccountSid": + result |= REQUESTACCOUNTSID_DISABLEUSERENTITYIDENTIFIER + case "onPremSid": + result |= ONPREMSID_DISABLEUSERENTITYIDENTIFIER + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_DISABLEUSERENTITYIDENTIFIER + default: + return 0, errors.New("Unknown DisableUserEntityIdentifier value: " + v) + } } return &result, nil } @@ -41,3 +51,6 @@ func SerializeDisableUserEntityIdentifier(values []DisableUserEntityIdentifier) } return result } +func (i DisableUserEntityIdentifier) isMultiValue() bool { + return true +} diff --git a/models/security/downgrade_justification.go b/models/security/downgrade_justification.go index edf807893e4..07834716d5c 100644 --- a/models/security/downgrade_justification.go +++ b/models/security/downgrade_justification.go @@ -73,7 +73,7 @@ func (m *DowngradeJustification) GetFieldDeserializers()(map[string]func(i878a80 } return res } -// GetIsDowngradeJustified gets the isDowngradeJustified property value. Indicates whether the downgrade is or is not justified. +// GetIsDowngradeJustified gets the isDowngradeJustified property value. Indicates whether the downgrade is or isn't justified. func (m *DowngradeJustification) GetIsDowngradeJustified()(*bool) { val, err := m.GetBackingStore().Get("isDowngradeJustified") if err != nil { @@ -84,7 +84,7 @@ func (m *DowngradeJustification) GetIsDowngradeJustified()(*bool) { } return nil } -// GetJustificationMessage gets the justificationMessage property value. Message that indicates why a downgrade is justified. The message will appear in administrative logs. +// GetJustificationMessage gets the justificationMessage property value. Message that indicates why a downgrade is justified. The message appears in administrative logs. func (m *DowngradeJustification) GetJustificationMessage()(*string) { val, err := m.GetBackingStore().Get("justificationMessage") if err != nil { @@ -145,14 +145,14 @@ func (m *DowngradeJustification) SetAdditionalData(value map[string]any)() { func (m *DowngradeJustification) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetIsDowngradeJustified sets the isDowngradeJustified property value. Indicates whether the downgrade is or is not justified. +// SetIsDowngradeJustified sets the isDowngradeJustified property value. Indicates whether the downgrade is or isn't justified. func (m *DowngradeJustification) SetIsDowngradeJustified(value *bool)() { err := m.GetBackingStore().Set("isDowngradeJustified", value) if err != nil { panic(err) } } -// SetJustificationMessage sets the justificationMessage property value. Message that indicates why a downgrade is justified. The message will appear in administrative logs. +// SetJustificationMessage sets the justificationMessage property value. Message that indicates why a downgrade is justified. The message appears in administrative logs. func (m *DowngradeJustification) SetJustificationMessage(value *string)() { err := m.GetBackingStore().Set("justificationMessage", value) if err != nil { diff --git a/models/security/ediscovery_export_operation.go b/models/security/ediscovery_export_operation.go index 01be4255b27..e8a45563d51 100644 --- a/models/security/ediscovery_export_operation.go +++ b/models/security/ediscovery_export_operation.go @@ -63,7 +63,7 @@ func (m *EdiscoveryExportOperation) GetExportFileMetadata()([]ExportFileMetadata } return nil } -// GetExportOptions gets the exportOptions property value. The options provided for the export. For more details, see reviewSet: export. Possible values are: originalFiles, text, pdfReplacement, fileInfo, tags. The fileInfo member is deprecated and will stop returning data on April 30th, 2023. Going forward, the summary and load file are always included. +// GetExportOptions gets the exportOptions property value. The options provided for the export. For more information, see reviewSet: export. Possible values are: originalFiles, text, pdfReplacement, fileInfo, tags. The fileInfo member is deprecated and will stop returning data on April 30, 2023. Going forward, the summary and load file are always included. func (m *EdiscoveryExportOperation) GetExportOptions()(*ExportOptions) { val, err := m.GetBackingStore().Get("exportOptions") if err != nil { @@ -74,7 +74,7 @@ func (m *EdiscoveryExportOperation) GetExportOptions()(*ExportOptions) { } return nil } -// GetExportStructure gets the exportStructure property value. The options provided that specify the structure of the export. For more details, see reviewSet: export. Possible values are: none, directory, pst. +// GetExportStructure gets the exportStructure property value. The options provided that specify the structure of the export. For more information, see reviewSet: export. Possible values are: none, directory, pst. func (m *EdiscoveryExportOperation) GetExportStructure()(*ExportFileStructure) { val, err := m.GetBackingStore().Get("exportStructure") if err != nil { @@ -229,7 +229,7 @@ func (m *EdiscoveryExportOperation) GetReviewSet()(EdiscoveryReviewSetable) { } return nil } -// GetReviewSetQuery gets the reviewSetQuery property value. The review set query which is used to filter the documents for export. +// GetReviewSetQuery gets the reviewSetQuery property value. The review set query that is used to filter the documents for export. func (m *EdiscoveryExportOperation) GetReviewSetQuery()(EdiscoveryReviewSetQueryable) { val, err := m.GetBackingStore().Get("reviewSetQuery") if err != nil { @@ -344,14 +344,14 @@ func (m *EdiscoveryExportOperation) SetExportFileMetadata(value []ExportFileMeta panic(err) } } -// SetExportOptions sets the exportOptions property value. The options provided for the export. For more details, see reviewSet: export. Possible values are: originalFiles, text, pdfReplacement, fileInfo, tags. The fileInfo member is deprecated and will stop returning data on April 30th, 2023. Going forward, the summary and load file are always included. +// SetExportOptions sets the exportOptions property value. The options provided for the export. For more information, see reviewSet: export. Possible values are: originalFiles, text, pdfReplacement, fileInfo, tags. The fileInfo member is deprecated and will stop returning data on April 30, 2023. Going forward, the summary and load file are always included. func (m *EdiscoveryExportOperation) SetExportOptions(value *ExportOptions)() { err := m.GetBackingStore().Set("exportOptions", value) if err != nil { panic(err) } } -// SetExportStructure sets the exportStructure property value. The options provided that specify the structure of the export. For more details, see reviewSet: export. Possible values are: none, directory, pst. +// SetExportStructure sets the exportStructure property value. The options provided that specify the structure of the export. For more information, see reviewSet: export. Possible values are: none, directory, pst. func (m *EdiscoveryExportOperation) SetExportStructure(value *ExportFileStructure)() { err := m.GetBackingStore().Set("exportStructure", value) if err != nil { @@ -379,7 +379,7 @@ func (m *EdiscoveryExportOperation) SetReviewSet(value EdiscoveryReviewSetable)( panic(err) } } -// SetReviewSetQuery sets the reviewSetQuery property value. The review set query which is used to filter the documents for export. +// SetReviewSetQuery sets the reviewSetQuery property value. The review set query that is used to filter the documents for export. func (m *EdiscoveryExportOperation) SetReviewSetQuery(value EdiscoveryReviewSetQueryable)() { err := m.GetBackingStore().Set("reviewSetQuery", value) if err != nil { diff --git a/models/security/email_entity_identifier.go b/models/security/email_entity_identifier.go index 7ebcbaab381..86c1e628153 100644 --- a/models/security/email_entity_identifier.go +++ b/models/security/email_entity_identifier.go @@ -1,6 +1,7 @@ package security import ( "errors" + "strings" ) // type EmailEntityIdentifier int @@ -12,19 +13,28 @@ const ( ) func (i EmailEntityIdentifier) String() string { - return []string{"networkMessageId", "recipientEmailAddress", "unknownFutureValue"}[i] + var values []string + for p := EmailEntityIdentifier(1); p <= UNKNOWNFUTUREVALUE_EMAILENTITYIDENTIFIER; p <<= 1 { + if i&p == p { + values = append(values, []string{"networkMessageId", "recipientEmailAddress", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseEmailEntityIdentifier(v string) (any, error) { - result := NETWORKMESSAGEID_EMAILENTITYIDENTIFIER - switch v { - case "networkMessageId": - result = NETWORKMESSAGEID_EMAILENTITYIDENTIFIER - case "recipientEmailAddress": - result = RECIPIENTEMAILADDRESS_EMAILENTITYIDENTIFIER - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_EMAILENTITYIDENTIFIER - default: - return 0, errors.New("Unknown EmailEntityIdentifier value: " + v) + var result EmailEntityIdentifier + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "networkMessageId": + result |= NETWORKMESSAGEID_EMAILENTITYIDENTIFIER + case "recipientEmailAddress": + result |= RECIPIENTEMAILADDRESS_EMAILENTITYIDENTIFIER + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_EMAILENTITYIDENTIFIER + default: + return 0, errors.New("Unknown EmailEntityIdentifier value: " + v) + } } return &result, nil } @@ -35,3 +45,6 @@ func SerializeEmailEntityIdentifier(values []EmailEntityIdentifier) []string { } return result } +func (i EmailEntityIdentifier) isMultiValue() bool { + return true +} diff --git a/models/security/email_threat_submission.go b/models/security/email_threat_submission.go index 8e8e586bf27..faba0c5940d 100644 --- a/models/security/email_threat_submission.go +++ b/models/security/email_threat_submission.go @@ -42,7 +42,7 @@ func CreateEmailThreatSubmissionFromDiscriminatorValue(parseNode i878a80d2330e89 } return NewEmailThreatSubmission(), nil } -// GetAttackSimulationInfo gets the attackSimulationInfo property value. If the email is phishing simulation, this field will not be null. +// GetAttackSimulationInfo gets the attackSimulationInfo property value. If the email is phishing simulation, this field won't be null. func (m *EmailThreatSubmission) GetAttackSimulationInfo()(AttackSimulationInfoable) { val, err := m.GetBackingStore().Get("attackSimulationInfo") if err != nil { @@ -148,7 +148,7 @@ func (m *EmailThreatSubmission) GetFieldDeserializers()(map[string]func(i878a80d } return res } -// GetInternetMessageId gets the internetMessageId property value. Specifies the internet message id of the email being submitted. This information is present in the email header. +// GetInternetMessageId gets the internetMessageId property value. Specifies the internet message ID of the email being submitted. This information is present in the email header. func (m *EmailThreatSubmission) GetInternetMessageId()(*string) { val, err := m.GetBackingStore().Get("internetMessageId") if err != nil { @@ -214,7 +214,7 @@ func (m *EmailThreatSubmission) GetSenderIP()(*string) { } return nil } -// GetSubject gets the subject property value. Specifies the subject of the email . +// GetSubject gets the subject property value. Specifies the subject of the email. func (m *EmailThreatSubmission) GetSubject()(*string) { val, err := m.GetBackingStore().Get("subject") if err != nil { @@ -225,7 +225,7 @@ func (m *EmailThreatSubmission) GetSubject()(*string) { } return nil } -// GetTenantAllowOrBlockListAction gets the tenantAllowOrBlockListAction property value. It is used to automatically add allows for the components such as URL, file, sender; which are deemed bad by Microsoft so that similar messages in the future can be allowed. +// GetTenantAllowOrBlockListAction gets the tenantAllowOrBlockListAction property value. It's used to automatically add allows for the components such as URL, file, sender; which are deemed bad by Microsoft so that similar messages in the future can be allowed. func (m *EmailThreatSubmission) GetTenantAllowOrBlockListAction()(TenantAllowOrBlockListActionable) { val, err := m.GetBackingStore().Get("tenantAllowOrBlockListAction") if err != nil { @@ -299,14 +299,14 @@ func (m *EmailThreatSubmission) Serialize(writer i878a80d2330e89d26896388a3f487e } return nil } -// SetAttackSimulationInfo sets the attackSimulationInfo property value. If the email is phishing simulation, this field will not be null. +// SetAttackSimulationInfo sets the attackSimulationInfo property value. If the email is phishing simulation, this field won't be null. func (m *EmailThreatSubmission) SetAttackSimulationInfo(value AttackSimulationInfoable)() { err := m.GetBackingStore().Set("attackSimulationInfo", value) if err != nil { panic(err) } } -// SetInternetMessageId sets the internetMessageId property value. Specifies the internet message id of the email being submitted. This information is present in the email header. +// SetInternetMessageId sets the internetMessageId property value. Specifies the internet message ID of the email being submitted. This information is present in the email header. func (m *EmailThreatSubmission) SetInternetMessageId(value *string)() { err := m.GetBackingStore().Set("internetMessageId", value) if err != nil { @@ -348,14 +348,14 @@ func (m *EmailThreatSubmission) SetSenderIP(value *string)() { panic(err) } } -// SetSubject sets the subject property value. Specifies the subject of the email . +// SetSubject sets the subject property value. Specifies the subject of the email. func (m *EmailThreatSubmission) SetSubject(value *string)() { err := m.GetBackingStore().Set("subject", value) if err != nil { panic(err) } } -// SetTenantAllowOrBlockListAction sets the tenantAllowOrBlockListAction property value. It is used to automatically add allows for the components such as URL, file, sender; which are deemed bad by Microsoft so that similar messages in the future can be allowed. +// SetTenantAllowOrBlockListAction sets the tenantAllowOrBlockListAction property value. It's used to automatically add allows for the components such as URL, file, sender; which are deemed bad by Microsoft so that similar messages in the future can be allowed. func (m *EmailThreatSubmission) SetTenantAllowOrBlockListAction(value TenantAllowOrBlockListActionable)() { err := m.GetBackingStore().Set("tenantAllowOrBlockListAction", value) if err != nil { diff --git a/models/security/event_propagation_status.go b/models/security/event_propagation_status.go index f59006f8268..f153d846dcb 100644 --- a/models/security/event_propagation_status.go +++ b/models/security/event_propagation_status.go @@ -41,3 +41,6 @@ func SerializeEventPropagationStatus(values []EventPropagationStatus) []string { } return result } +func (i EventPropagationStatus) isMultiValue() bool { + return false +} diff --git a/models/security/event_status_type.go b/models/security/event_status_type.go index 3a79508d6a6..918e933b3fc 100644 --- a/models/security/event_status_type.go +++ b/models/security/event_status_type.go @@ -41,3 +41,6 @@ func SerializeEventStatusType(values []EventStatusType) []string { } return result } +func (i EventStatusType) isMultiValue() bool { + return false +} diff --git a/models/security/evidence_remediation_status.go b/models/security/evidence_remediation_status.go index e210e0f7b05..9a74946ea69 100644 --- a/models/security/evidence_remediation_status.go +++ b/models/security/evidence_remediation_status.go @@ -44,3 +44,6 @@ func SerializeEvidenceRemediationStatus(values []EvidenceRemediationStatus) []st } return result } +func (i EvidenceRemediationStatus) isMultiValue() bool { + return false +} diff --git a/models/security/evidence_role.go b/models/security/evidence_role.go index c11967e1153..a84bbf751b2 100644 --- a/models/security/evidence_role.go +++ b/models/security/evidence_role.go @@ -74,3 +74,6 @@ func SerializeEvidenceRole(values []EvidenceRole) []string { } return result } +func (i EvidenceRole) isMultiValue() bool { + return false +} diff --git a/models/security/evidence_verdict.go b/models/security/evidence_verdict.go index 26f60053f7d..c6e8a38d19a 100644 --- a/models/security/evidence_verdict.go +++ b/models/security/evidence_verdict.go @@ -41,3 +41,6 @@ func SerializeEvidenceVerdict(values []EvidenceVerdict) []string { } return result } +func (i EvidenceVerdict) isMultiValue() bool { + return false +} diff --git a/models/security/export_file_structure.go b/models/security/export_file_structure.go index faf022794b3..c6121e956cd 100644 --- a/models/security/export_file_structure.go +++ b/models/security/export_file_structure.go @@ -38,3 +38,6 @@ func SerializeExportFileStructure(values []ExportFileStructure) []string { } return result } +func (i ExportFileStructure) isMultiValue() bool { + return false +} diff --git a/models/security/export_options.go b/models/security/export_options.go index cd545aa08aa..c87d8294ffc 100644 --- a/models/security/export_options.go +++ b/models/security/export_options.go @@ -1,6 +1,7 @@ package security import ( "errors" + "strings" ) // type ExportOptions int @@ -15,25 +16,34 @@ const ( ) func (i ExportOptions) String() string { - return []string{"originalFiles", "text", "pdfReplacement", "fileInfo", "tags", "unknownFutureValue"}[i] + var values []string + for p := ExportOptions(1); p <= UNKNOWNFUTUREVALUE_EXPORTOPTIONS; p <<= 1 { + if i&p == p { + values = append(values, []string{"originalFiles", "text", "pdfReplacement", "fileInfo", "tags", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseExportOptions(v string) (any, error) { - result := ORIGINALFILES_EXPORTOPTIONS - switch v { - case "originalFiles": - result = ORIGINALFILES_EXPORTOPTIONS - case "text": - result = TEXT_EXPORTOPTIONS - case "pdfReplacement": - result = PDFREPLACEMENT_EXPORTOPTIONS - case "fileInfo": - result = FILEINFO_EXPORTOPTIONS - case "tags": - result = TAGS_EXPORTOPTIONS - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_EXPORTOPTIONS - default: - return 0, errors.New("Unknown ExportOptions value: " + v) + var result ExportOptions + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "originalFiles": + result |= ORIGINALFILES_EXPORTOPTIONS + case "text": + result |= TEXT_EXPORTOPTIONS + case "pdfReplacement": + result |= PDFREPLACEMENT_EXPORTOPTIONS + case "fileInfo": + result |= FILEINFO_EXPORTOPTIONS + case "tags": + result |= TAGS_EXPORTOPTIONS + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_EXPORTOPTIONS + default: + return 0, errors.New("Unknown ExportOptions value: " + v) + } } return &result, nil } @@ -44,3 +54,6 @@ func SerializeExportOptions(values []ExportOptions) []string { } return result } +func (i ExportOptions) isMultiValue() bool { + return true +} diff --git a/models/security/file_entity_identifier.go b/models/security/file_entity_identifier.go index 23c45f8a08f..a35374c0123 100644 --- a/models/security/file_entity_identifier.go +++ b/models/security/file_entity_identifier.go @@ -1,6 +1,7 @@ package security import ( "errors" + "strings" ) // type FileEntityIdentifier int @@ -14,23 +15,32 @@ const ( ) func (i FileEntityIdentifier) String() string { - return []string{"sha1", "initiatingProcessSHA1", "sha256", "initiatingProcessSHA256", "unknownFutureValue"}[i] + var values []string + for p := FileEntityIdentifier(1); p <= UNKNOWNFUTUREVALUE_FILEENTITYIDENTIFIER; p <<= 1 { + if i&p == p { + values = append(values, []string{"sha1", "initiatingProcessSHA1", "sha256", "initiatingProcessSHA256", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseFileEntityIdentifier(v string) (any, error) { - result := SHA1_FILEENTITYIDENTIFIER - switch v { - case "sha1": - result = SHA1_FILEENTITYIDENTIFIER - case "initiatingProcessSHA1": - result = INITIATINGPROCESSSHA1_FILEENTITYIDENTIFIER - case "sha256": - result = SHA256_FILEENTITYIDENTIFIER - case "initiatingProcessSHA256": - result = INITIATINGPROCESSSHA256_FILEENTITYIDENTIFIER - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_FILEENTITYIDENTIFIER - default: - return 0, errors.New("Unknown FileEntityIdentifier value: " + v) + var result FileEntityIdentifier + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "sha1": + result |= SHA1_FILEENTITYIDENTIFIER + case "initiatingProcessSHA1": + result |= INITIATINGPROCESSSHA1_FILEENTITYIDENTIFIER + case "sha256": + result |= SHA256_FILEENTITYIDENTIFIER + case "initiatingProcessSHA256": + result |= INITIATINGPROCESSSHA256_FILEENTITYIDENTIFIER + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_FILEENTITYIDENTIFIER + default: + return 0, errors.New("Unknown FileEntityIdentifier value: " + v) + } } return &result, nil } @@ -41,3 +51,6 @@ func SerializeFileEntityIdentifier(values []FileEntityIdentifier) []string { } return result } +func (i FileEntityIdentifier) isMultiValue() bool { + return true +} diff --git a/models/security/file_hash_algorithm.go b/models/security/file_hash_algorithm.go index 640c4898538..827832de46f 100644 --- a/models/security/file_hash_algorithm.go +++ b/models/security/file_hash_algorithm.go @@ -44,3 +44,6 @@ func SerializeFileHashAlgorithm(values []FileHashAlgorithm) []string { } return result } +func (i FileHashAlgorithm) isMultiValue() bool { + return false +} diff --git a/models/security/file_processing_status.go b/models/security/file_processing_status.go index befa9b69237..790a1ebcb90 100644 --- a/models/security/file_processing_status.go +++ b/models/security/file_processing_status.go @@ -83,3 +83,6 @@ func SerializeFileProcessingStatus(values []FileProcessingStatus) []string { } return result } +func (i FileProcessingStatus) isMultiValue() bool { + return false +} diff --git a/models/security/force_user_password_reset_entity_identifier.go b/models/security/force_user_password_reset_entity_identifier.go index 232808367e1..30b93bf54c6 100644 --- a/models/security/force_user_password_reset_entity_identifier.go +++ b/models/security/force_user_password_reset_entity_identifier.go @@ -1,6 +1,7 @@ package security import ( "errors" + "strings" ) // type ForceUserPasswordResetEntityIdentifier int @@ -14,23 +15,32 @@ const ( ) func (i ForceUserPasswordResetEntityIdentifier) String() string { - return []string{"accountSid", "initiatingProcessAccountSid", "requestAccountSid", "onPremSid", "unknownFutureValue"}[i] + var values []string + for p := ForceUserPasswordResetEntityIdentifier(1); p <= UNKNOWNFUTUREVALUE_FORCEUSERPASSWORDRESETENTITYIDENTIFIER; p <<= 1 { + if i&p == p { + values = append(values, []string{"accountSid", "initiatingProcessAccountSid", "requestAccountSid", "onPremSid", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseForceUserPasswordResetEntityIdentifier(v string) (any, error) { - result := ACCOUNTSID_FORCEUSERPASSWORDRESETENTITYIDENTIFIER - switch v { - case "accountSid": - result = ACCOUNTSID_FORCEUSERPASSWORDRESETENTITYIDENTIFIER - case "initiatingProcessAccountSid": - result = INITIATINGPROCESSACCOUNTSID_FORCEUSERPASSWORDRESETENTITYIDENTIFIER - case "requestAccountSid": - result = REQUESTACCOUNTSID_FORCEUSERPASSWORDRESETENTITYIDENTIFIER - case "onPremSid": - result = ONPREMSID_FORCEUSERPASSWORDRESETENTITYIDENTIFIER - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_FORCEUSERPASSWORDRESETENTITYIDENTIFIER - default: - return 0, errors.New("Unknown ForceUserPasswordResetEntityIdentifier value: " + v) + var result ForceUserPasswordResetEntityIdentifier + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "accountSid": + result |= ACCOUNTSID_FORCEUSERPASSWORDRESETENTITYIDENTIFIER + case "initiatingProcessAccountSid": + result |= INITIATINGPROCESSACCOUNTSID_FORCEUSERPASSWORDRESETENTITYIDENTIFIER + case "requestAccountSid": + result |= REQUESTACCOUNTSID_FORCEUSERPASSWORDRESETENTITYIDENTIFIER + case "onPremSid": + result |= ONPREMSID_FORCEUSERPASSWORDRESETENTITYIDENTIFIER + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_FORCEUSERPASSWORDRESETENTITYIDENTIFIER + default: + return 0, errors.New("Unknown ForceUserPasswordResetEntityIdentifier value: " + v) + } } return &result, nil } @@ -41,3 +51,6 @@ func SerializeForceUserPasswordResetEntityIdentifier(values []ForceUserPasswordR } return result } +func (i ForceUserPasswordResetEntityIdentifier) isMultiValue() bool { + return true +} diff --git a/models/security/google_cloud_location_type.go b/models/security/google_cloud_location_type.go index c989951444d..5e139f9406a 100644 --- a/models/security/google_cloud_location_type.go +++ b/models/security/google_cloud_location_type.go @@ -41,3 +41,6 @@ func SerializeGoogleCloudLocationType(values []GoogleCloudLocationType) []string } return result } +func (i GoogleCloudLocationType) isMultiValue() bool { + return false +} diff --git a/models/security/host.go b/models/security/host.go index e8730022882..f66f79c0cfa 100644 --- a/models/security/host.go +++ b/models/security/host.go @@ -210,6 +210,22 @@ func (m *Host) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a } return nil } + res["ports"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateHostPortFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]HostPortable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(HostPortable) + } + } + m.SetPorts(res) + } + return nil + } res["reputation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateHostReputationFromDiscriminatorValue) if err != nil { @@ -346,6 +362,17 @@ func (m *Host) GetPassiveDnsReverse()([]PassiveDnsRecordable) { } return nil } +// GetPorts gets the ports property value. The ports property +func (m *Host) GetPorts()([]HostPortable) { + val, err := m.GetBackingStore().Get("ports") + if err != nil { + panic(err) + } + if val != nil { + return val.([]HostPortable) + } + return nil +} // GetReputation gets the reputation property value. Represents a calculated reputation of this host. func (m *Host) GetReputation()(HostReputationable) { val, err := m.GetBackingStore().Get("reputation") @@ -357,7 +384,7 @@ func (m *Host) GetReputation()(HostReputationable) { } return nil } -// GetSslCertificates gets the sslCertificates property value. The sslCertificates property +// GetSslCertificates gets the sslCertificates property value. The hostSslCertificates that are associated with this host. func (m *Host) GetSslCertificates()([]HostSslCertificateable) { val, err := m.GetBackingStore().Get("sslCertificates") if err != nil { @@ -390,7 +417,7 @@ func (m *Host) GetTrackers()([]HostTrackerable) { } return nil } -// GetWhois gets the whois property value. The whois property +// GetWhois gets the whois property value. The most recent whoisRecord for this host. func (m *Host) GetWhois()(WhoisRecordable) { val, err := m.GetBackingStore().Get("whois") if err != nil { @@ -503,6 +530,18 @@ func (m *Host) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c49 return err } } + if m.GetPorts() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetPorts())) + for i, v := range m.GetPorts() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("ports", cast) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("reputation", m.GetReputation()) if err != nil { @@ -616,6 +655,13 @@ func (m *Host) SetPassiveDnsReverse(value []PassiveDnsRecordable)() { panic(err) } } +// SetPorts sets the ports property value. The ports property +func (m *Host) SetPorts(value []HostPortable)() { + err := m.GetBackingStore().Set("ports", value) + if err != nil { + panic(err) + } +} // SetReputation sets the reputation property value. Represents a calculated reputation of this host. func (m *Host) SetReputation(value HostReputationable)() { err := m.GetBackingStore().Set("reputation", value) @@ -623,7 +669,7 @@ func (m *Host) SetReputation(value HostReputationable)() { panic(err) } } -// SetSslCertificates sets the sslCertificates property value. The sslCertificates property +// SetSslCertificates sets the sslCertificates property value. The hostSslCertificates that are associated with this host. func (m *Host) SetSslCertificates(value []HostSslCertificateable)() { err := m.GetBackingStore().Set("sslCertificates", value) if err != nil { @@ -644,7 +690,7 @@ func (m *Host) SetTrackers(value []HostTrackerable)() { panic(err) } } -// SetWhois sets the whois property value. The whois property +// SetWhois sets the whois property value. The most recent whoisRecord for this host. func (m *Host) SetWhois(value WhoisRecordable)() { err := m.GetBackingStore().Set("whois", value) if err != nil { @@ -664,6 +710,7 @@ type Hostable interface { GetParentHostPairs()([]HostPairable) GetPassiveDns()([]PassiveDnsRecordable) GetPassiveDnsReverse()([]PassiveDnsRecordable) + GetPorts()([]HostPortable) GetReputation()(HostReputationable) GetSslCertificates()([]HostSslCertificateable) GetSubdomains()([]Subdomainable) @@ -678,6 +725,7 @@ type Hostable interface { SetParentHostPairs(value []HostPairable)() SetPassiveDns(value []PassiveDnsRecordable)() SetPassiveDnsReverse(value []PassiveDnsRecordable)() + SetPorts(value []HostPortable)() SetReputation(value HostReputationable)() SetSslCertificates(value []HostSslCertificateable)() SetSubdomains(value []Subdomainable)() diff --git a/models/security/host_port.go b/models/security/host_port.go new file mode 100644 index 00000000000..32be8803e88 --- /dev/null +++ b/models/security/host_port.go @@ -0,0 +1,463 @@ +package security + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +// HostPort +type HostPort struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +} +// NewHostPort instantiates a new hostPort and sets the default values. +func NewHostPort()(*HostPort) { + m := &HostPort{ + Entity: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewEntity(), + } + return m +} +// CreateHostPortFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateHostPortFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewHostPort(), nil +} +// GetBanners gets the banners property value. The banners property +func (m *HostPort) GetBanners()([]HostPortBannerable) { + val, err := m.GetBackingStore().Get("banners") + if err != nil { + panic(err) + } + if val != nil { + return val.([]HostPortBannerable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *HostPort) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["banners"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateHostPortBannerFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]HostPortBannerable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(HostPortBannerable) + } + } + m.SetBanners(res) + } + return nil + } + res["firstSeenDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetFirstSeenDateTime(val) + } + return nil + } + res["host"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateHostFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetHost(val.(Hostable)) + } + return nil + } + res["lastScanDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastScanDateTime(val) + } + return nil + } + res["lastSeenDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastSeenDateTime(val) + } + return nil + } + res["mostRecentSslCertificate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateSslCertificateFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetMostRecentSslCertificate(val.(SslCertificateable)) + } + return nil + } + res["port"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetPort(val) + } + return nil + } + res["protocol"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseHostPortProtocol) + if err != nil { + return err + } + if val != nil { + m.SetProtocol(val.(*HostPortProtocol)) + } + return nil + } + res["services"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateHostPortComponentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]HostPortComponentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(HostPortComponentable) + } + } + m.SetServices(res) + } + return nil + } + res["status"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseHostPortStatus) + if err != nil { + return err + } + if val != nil { + m.SetStatus(val.(*HostPortStatus)) + } + return nil + } + res["timesObserved"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTimesObserved(val) + } + return nil + } + return res +} +// GetFirstSeenDateTime gets the firstSeenDateTime property value. The firstSeenDateTime property +func (m *HostPort) GetFirstSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("firstSeenDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetHost gets the host property value. The host property +func (m *HostPort) GetHost()(Hostable) { + val, err := m.GetBackingStore().Get("host") + if err != nil { + panic(err) + } + if val != nil { + return val.(Hostable) + } + return nil +} +// GetLastScanDateTime gets the lastScanDateTime property value. The lastScanDateTime property +func (m *HostPort) GetLastScanDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastScanDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetLastSeenDateTime gets the lastSeenDateTime property value. The lastSeenDateTime property +func (m *HostPort) GetLastSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastSeenDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetMostRecentSslCertificate gets the mostRecentSslCertificate property value. The mostRecentSslCertificate property +func (m *HostPort) GetMostRecentSslCertificate()(SslCertificateable) { + val, err := m.GetBackingStore().Get("mostRecentSslCertificate") + if err != nil { + panic(err) + } + if val != nil { + return val.(SslCertificateable) + } + return nil +} +// GetPort gets the port property value. The port property +func (m *HostPort) GetPort()(*int32) { + val, err := m.GetBackingStore().Get("port") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetProtocol gets the protocol property value. The protocol property +func (m *HostPort) GetProtocol()(*HostPortProtocol) { + val, err := m.GetBackingStore().Get("protocol") + if err != nil { + panic(err) + } + if val != nil { + return val.(*HostPortProtocol) + } + return nil +} +// GetServices gets the services property value. The services property +func (m *HostPort) GetServices()([]HostPortComponentable) { + val, err := m.GetBackingStore().Get("services") + if err != nil { + panic(err) + } + if val != nil { + return val.([]HostPortComponentable) + } + return nil +} +// GetStatus gets the status property value. The status property +func (m *HostPort) GetStatus()(*HostPortStatus) { + val, err := m.GetBackingStore().Get("status") + if err != nil { + panic(err) + } + if val != nil { + return val.(*HostPortStatus) + } + return nil +} +// GetTimesObserved gets the timesObserved property value. The timesObserved property +func (m *HostPort) GetTimesObserved()(*int32) { + val, err := m.GetBackingStore().Get("timesObserved") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *HostPort) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetBanners() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetBanners())) + for i, v := range m.GetBanners() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("banners", cast) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("firstSeenDateTime", m.GetFirstSeenDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("host", m.GetHost()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("lastScanDateTime", m.GetLastScanDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("lastSeenDateTime", m.GetLastSeenDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("mostRecentSslCertificate", m.GetMostRecentSslCertificate()) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("port", m.GetPort()) + if err != nil { + return err + } + } + if m.GetProtocol() != nil { + cast := (*m.GetProtocol()).String() + err = writer.WriteStringValue("protocol", &cast) + if err != nil { + return err + } + } + if m.GetServices() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetServices())) + for i, v := range m.GetServices() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("services", cast) + if err != nil { + return err + } + } + if m.GetStatus() != nil { + cast := (*m.GetStatus()).String() + err = writer.WriteStringValue("status", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("timesObserved", m.GetTimesObserved()) + if err != nil { + return err + } + } + return nil +} +// SetBanners sets the banners property value. The banners property +func (m *HostPort) SetBanners(value []HostPortBannerable)() { + err := m.GetBackingStore().Set("banners", value) + if err != nil { + panic(err) + } +} +// SetFirstSeenDateTime sets the firstSeenDateTime property value. The firstSeenDateTime property +func (m *HostPort) SetFirstSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("firstSeenDateTime", value) + if err != nil { + panic(err) + } +} +// SetHost sets the host property value. The host property +func (m *HostPort) SetHost(value Hostable)() { + err := m.GetBackingStore().Set("host", value) + if err != nil { + panic(err) + } +} +// SetLastScanDateTime sets the lastScanDateTime property value. The lastScanDateTime property +func (m *HostPort) SetLastScanDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastScanDateTime", value) + if err != nil { + panic(err) + } +} +// SetLastSeenDateTime sets the lastSeenDateTime property value. The lastSeenDateTime property +func (m *HostPort) SetLastSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastSeenDateTime", value) + if err != nil { + panic(err) + } +} +// SetMostRecentSslCertificate sets the mostRecentSslCertificate property value. The mostRecentSslCertificate property +func (m *HostPort) SetMostRecentSslCertificate(value SslCertificateable)() { + err := m.GetBackingStore().Set("mostRecentSslCertificate", value) + if err != nil { + panic(err) + } +} +// SetPort sets the port property value. The port property +func (m *HostPort) SetPort(value *int32)() { + err := m.GetBackingStore().Set("port", value) + if err != nil { + panic(err) + } +} +// SetProtocol sets the protocol property value. The protocol property +func (m *HostPort) SetProtocol(value *HostPortProtocol)() { + err := m.GetBackingStore().Set("protocol", value) + if err != nil { + panic(err) + } +} +// SetServices sets the services property value. The services property +func (m *HostPort) SetServices(value []HostPortComponentable)() { + err := m.GetBackingStore().Set("services", value) + if err != nil { + panic(err) + } +} +// SetStatus sets the status property value. The status property +func (m *HostPort) SetStatus(value *HostPortStatus)() { + err := m.GetBackingStore().Set("status", value) + if err != nil { + panic(err) + } +} +// SetTimesObserved sets the timesObserved property value. The timesObserved property +func (m *HostPort) SetTimesObserved(value *int32)() { + err := m.GetBackingStore().Set("timesObserved", value) + if err != nil { + panic(err) + } +} +// HostPortable +type HostPortable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBanners()([]HostPortBannerable) + GetFirstSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetHost()(Hostable) + GetLastScanDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetLastSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetMostRecentSslCertificate()(SslCertificateable) + GetPort()(*int32) + GetProtocol()(*HostPortProtocol) + GetServices()([]HostPortComponentable) + GetStatus()(*HostPortStatus) + GetTimesObserved()(*int32) + SetBanners(value []HostPortBannerable)() + SetFirstSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetHost(value Hostable)() + SetLastScanDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetLastSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetMostRecentSslCertificate(value SslCertificateable)() + SetPort(value *int32)() + SetProtocol(value *HostPortProtocol)() + SetServices(value []HostPortComponentable)() + SetStatus(value *HostPortStatus)() + SetTimesObserved(value *int32)() +} diff --git a/models/security/host_port_banner.go b/models/security/host_port_banner.go new file mode 100644 index 00000000000..6ba9bd943f9 --- /dev/null +++ b/models/security/host_port_banner.go @@ -0,0 +1,291 @@ +package security + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +// HostPortBanner +type HostPortBanner struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewHostPortBanner instantiates a new hostPortBanner and sets the default values. +func NewHostPortBanner()(*HostPortBanner) { + m := &HostPortBanner{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateHostPortBannerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateHostPortBannerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewHostPortBanner(), nil +} +// GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *HostPortBanner) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the backingStore property value. Stores model information. +func (m *HostPortBanner) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetBanner gets the banner property value. The banner property +func (m *HostPortBanner) GetBanner()(*string) { + val, err := m.GetBackingStore().Get("banner") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *HostPortBanner) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["banner"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetBanner(val) + } + return nil + } + res["firstSeenDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetFirstSeenDateTime(val) + } + return nil + } + res["lastSeenDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastSeenDateTime(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["scanProtocol"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetScanProtocol(val) + } + return nil + } + res["timesObserved"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTimesObserved(val) + } + return nil + } + return res +} +// GetFirstSeenDateTime gets the firstSeenDateTime property value. The firstSeenDateTime property +func (m *HostPortBanner) GetFirstSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("firstSeenDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetLastSeenDateTime gets the lastSeenDateTime property value. The lastSeenDateTime property +func (m *HostPortBanner) GetLastSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastSeenDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +func (m *HostPortBanner) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetScanProtocol gets the scanProtocol property value. The scanProtocol property +func (m *HostPortBanner) GetScanProtocol()(*string) { + val, err := m.GetBackingStore().Get("scanProtocol") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTimesObserved gets the timesObserved property value. The timesObserved property +func (m *HostPortBanner) GetTimesObserved()(*int32) { + val, err := m.GetBackingStore().Get("timesObserved") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *HostPortBanner) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("banner", m.GetBanner()) + if err != nil { + return err + } + } + { + err := writer.WriteTimeValue("firstSeenDateTime", m.GetFirstSeenDateTime()) + if err != nil { + return err + } + } + { + err := writer.WriteTimeValue("lastSeenDateTime", m.GetLastSeenDateTime()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("scanProtocol", m.GetScanProtocol()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("timesObserved", m.GetTimesObserved()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *HostPortBanner) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the backingStore property value. Stores model information. +func (m *HostPortBanner) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetBanner sets the banner property value. The banner property +func (m *HostPortBanner) SetBanner(value *string)() { + err := m.GetBackingStore().Set("banner", value) + if err != nil { + panic(err) + } +} +// SetFirstSeenDateTime sets the firstSeenDateTime property value. The firstSeenDateTime property +func (m *HostPortBanner) SetFirstSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("firstSeenDateTime", value) + if err != nil { + panic(err) + } +} +// SetLastSeenDateTime sets the lastSeenDateTime property value. The lastSeenDateTime property +func (m *HostPortBanner) SetLastSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastSeenDateTime", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *HostPortBanner) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetScanProtocol sets the scanProtocol property value. The scanProtocol property +func (m *HostPortBanner) SetScanProtocol(value *string)() { + err := m.GetBackingStore().Set("scanProtocol", value) + if err != nil { + panic(err) + } +} +// SetTimesObserved sets the timesObserved property value. The timesObserved property +func (m *HostPortBanner) SetTimesObserved(value *int32)() { + err := m.GetBackingStore().Set("timesObserved", value) + if err != nil { + panic(err) + } +} +// HostPortBannerable +type HostPortBannerable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetBanner()(*string) + GetFirstSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetLastSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetOdataType()(*string) + GetScanProtocol()(*string) + GetTimesObserved()(*int32) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetBanner(value *string)() + SetFirstSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetLastSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetOdataType(value *string)() + SetScanProtocol(value *string)() + SetTimesObserved(value *int32)() +} diff --git a/models/security/host_port_collection_response.go b/models/security/host_port_collection_response.go new file mode 100644 index 00000000000..7995ab77358 --- /dev/null +++ b/models/security/host_port_collection_response.go @@ -0,0 +1,88 @@ +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +// HostPortCollectionResponse +type HostPortCollectionResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewHostPortCollectionResponse instantiates a new hostPortCollectionResponse and sets the default values. +func NewHostPortCollectionResponse()(*HostPortCollectionResponse) { + m := &HostPortCollectionResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateHostPortCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateHostPortCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewHostPortCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *HostPortCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateHostPortFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]HostPortable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(HostPortable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *HostPortCollectionResponse) GetValue()([]HostPortable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]HostPortable) + } + return nil +} +// Serialize serializes information the current object +func (m *HostPortCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *HostPortCollectionResponse) SetValue(value []HostPortable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// HostPortCollectionResponseable +type HostPortCollectionResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]HostPortable) + SetValue(value []HostPortable)() +} diff --git a/models/security/host_port_component.go b/models/security/host_port_component.go new file mode 100644 index 00000000000..d6d5425f955 --- /dev/null +++ b/models/security/host_port_component.go @@ -0,0 +1,255 @@ +package security + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +// HostPortComponent +type HostPortComponent struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewHostPortComponent instantiates a new hostPortComponent and sets the default values. +func NewHostPortComponent()(*HostPortComponent) { + m := &HostPortComponent{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateHostPortComponentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateHostPortComponentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewHostPortComponent(), nil +} +// GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *HostPortComponent) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the backingStore property value. Stores model information. +func (m *HostPortComponent) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetComponent gets the component property value. The component property +func (m *HostPortComponent) GetComponent()(HostComponentable) { + val, err := m.GetBackingStore().Get("component") + if err != nil { + panic(err) + } + if val != nil { + return val.(HostComponentable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *HostPortComponent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["component"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateHostComponentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetComponent(val.(HostComponentable)) + } + return nil + } + res["firstSeenDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetFirstSeenDateTime(val) + } + return nil + } + res["isRecent"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsRecent(val) + } + return nil + } + res["lastSeenDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastSeenDateTime(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetFirstSeenDateTime gets the firstSeenDateTime property value. The firstSeenDateTime property +func (m *HostPortComponent) GetFirstSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("firstSeenDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetIsRecent gets the isRecent property value. The isRecent property +func (m *HostPortComponent) GetIsRecent()(*bool) { + val, err := m.GetBackingStore().Get("isRecent") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetLastSeenDateTime gets the lastSeenDateTime property value. The lastSeenDateTime property +func (m *HostPortComponent) GetLastSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastSeenDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +func (m *HostPortComponent) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *HostPortComponent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("component", m.GetComponent()) + if err != nil { + return err + } + } + { + err := writer.WriteTimeValue("firstSeenDateTime", m.GetFirstSeenDateTime()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isRecent", m.GetIsRecent()) + if err != nil { + return err + } + } + { + err := writer.WriteTimeValue("lastSeenDateTime", m.GetLastSeenDateTime()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *HostPortComponent) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the backingStore property value. Stores model information. +func (m *HostPortComponent) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetComponent sets the component property value. The component property +func (m *HostPortComponent) SetComponent(value HostComponentable)() { + err := m.GetBackingStore().Set("component", value) + if err != nil { + panic(err) + } +} +// SetFirstSeenDateTime sets the firstSeenDateTime property value. The firstSeenDateTime property +func (m *HostPortComponent) SetFirstSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("firstSeenDateTime", value) + if err != nil { + panic(err) + } +} +// SetIsRecent sets the isRecent property value. The isRecent property +func (m *HostPortComponent) SetIsRecent(value *bool)() { + err := m.GetBackingStore().Set("isRecent", value) + if err != nil { + panic(err) + } +} +// SetLastSeenDateTime sets the lastSeenDateTime property value. The lastSeenDateTime property +func (m *HostPortComponent) SetLastSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastSeenDateTime", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *HostPortComponent) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// HostPortComponentable +type HostPortComponentable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetComponent()(HostComponentable) + GetFirstSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetIsRecent()(*bool) + GetLastSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetComponent(value HostComponentable)() + SetFirstSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetIsRecent(value *bool)() + SetLastSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetOdataType(value *string)() +} diff --git a/models/security/host_port_protocol.go b/models/security/host_port_protocol.go new file mode 100644 index 00000000000..9cf4614e9aa --- /dev/null +++ b/models/security/host_port_protocol.go @@ -0,0 +1,40 @@ +package security +import ( + "errors" +) +// +type HostPortProtocol int + +const ( + TCP_HOSTPORTPROTOCOL HostPortProtocol = iota + UDP_HOSTPORTPROTOCOL + UNKNOWNFUTUREVALUE_HOSTPORTPROTOCOL +) + +func (i HostPortProtocol) String() string { + return []string{"tcp", "udp", "unknownFutureValue"}[i] +} +func ParseHostPortProtocol(v string) (any, error) { + result := TCP_HOSTPORTPROTOCOL + switch v { + case "tcp": + result = TCP_HOSTPORTPROTOCOL + case "udp": + result = UDP_HOSTPORTPROTOCOL + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_HOSTPORTPROTOCOL + default: + return 0, errors.New("Unknown HostPortProtocol value: " + v) + } + return &result, nil +} +func SerializeHostPortProtocol(values []HostPortProtocol) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i HostPortProtocol) isMultiValue() bool { + return false +} diff --git a/models/security/host_port_status.go b/models/security/host_port_status.go new file mode 100644 index 00000000000..9bfb7869fa3 --- /dev/null +++ b/models/security/host_port_status.go @@ -0,0 +1,43 @@ +package security +import ( + "errors" +) +// +type HostPortStatus int + +const ( + OPEN_HOSTPORTSTATUS HostPortStatus = iota + FILTERED_HOSTPORTSTATUS + CLOSED_HOSTPORTSTATUS + UNKNOWNFUTUREVALUE_HOSTPORTSTATUS +) + +func (i HostPortStatus) String() string { + return []string{"open", "filtered", "closed", "unknownFutureValue"}[i] +} +func ParseHostPortStatus(v string) (any, error) { + result := OPEN_HOSTPORTSTATUS + switch v { + case "open": + result = OPEN_HOSTPORTSTATUS + case "filtered": + result = FILTERED_HOSTPORTSTATUS + case "closed": + result = CLOSED_HOSTPORTSTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_HOSTPORTSTATUS + default: + return 0, errors.New("Unknown HostPortStatus value: " + v) + } + return &result, nil +} +func SerializeHostPortStatus(values []HostPortStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i HostPortStatus) isMultiValue() bool { + return false +} diff --git a/models/security/host_reputation_classification.go b/models/security/host_reputation_classification.go index 64a4af4c3c8..01b76d187c1 100644 --- a/models/security/host_reputation_classification.go +++ b/models/security/host_reputation_classification.go @@ -41,3 +41,6 @@ func SerializeHostReputationClassification(values []HostReputationClassification } return result } +func (i HostReputationClassification) isMultiValue() bool { + return false +} diff --git a/models/security/host_reputation_rule_severity.go b/models/security/host_reputation_rule_severity.go index 39b8fa13d5f..fdef882f026 100644 --- a/models/security/host_reputation_rule_severity.go +++ b/models/security/host_reputation_rule_severity.go @@ -41,3 +41,6 @@ func SerializeHostReputationRuleSeverity(values []HostReputationRuleSeverity) [] } return result } +func (i HostReputationRuleSeverity) isMultiValue() bool { + return false +} diff --git a/models/security/host_ssl_certificate.go b/models/security/host_ssl_certificate.go index 37df41f24b9..228de6d8d45 100644 --- a/models/security/host_ssl_certificate.go +++ b/models/security/host_ssl_certificate.go @@ -83,7 +83,7 @@ func (m *HostSslCertificate) GetFieldDeserializers()(map[string]func(i878a80d233 } return res } -// GetFirstSeenDateTime gets the firstSeenDateTime property value. The firstSeenDateTime property +// GetFirstSeenDateTime gets the firstSeenDateTime property value. The first date and time that this hostSslCertificate was observed. 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. func (m *HostSslCertificate) GetFirstSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("firstSeenDateTime") if err != nil { @@ -94,7 +94,7 @@ func (m *HostSslCertificate) GetFirstSeenDateTime()(*i336074805fc853987abe6f7fe3 } return nil } -// GetHost gets the host property value. The host property +// GetHost gets the host property value. The host for this hostSslCertificate. func (m *HostSslCertificate) GetHost()(Hostable) { val, err := m.GetBackingStore().Get("host") if err != nil { @@ -105,7 +105,7 @@ func (m *HostSslCertificate) GetHost()(Hostable) { } return nil } -// GetLastSeenDateTime gets the lastSeenDateTime property value. The lastSeenDateTime property +// GetLastSeenDateTime gets the lastSeenDateTime property value. The most recent date and time that this hostSslCertificate was observed. 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. func (m *HostSslCertificate) GetLastSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastSeenDateTime") if err != nil { @@ -116,7 +116,7 @@ func (m *HostSslCertificate) GetLastSeenDateTime()(*i336074805fc853987abe6f7fe3a } return nil } -// GetPorts gets the ports property value. The ports property +// GetPorts gets the ports property value. The ports related with this hostSslCertificate. func (m *HostSslCertificate) GetPorts()([]HostSslCertificatePortable) { val, err := m.GetBackingStore().Get("ports") if err != nil { @@ -127,7 +127,7 @@ func (m *HostSslCertificate) GetPorts()([]HostSslCertificatePortable) { } return nil } -// GetSslCertificate gets the sslCertificate property value. The sslCertificate property +// GetSslCertificate gets the sslCertificate property value. The sslCertificate for this hostSslCertificate. func (m *HostSslCertificate) GetSslCertificate()(SslCertificateable) { val, err := m.GetBackingStore().Get("sslCertificate") if err != nil { @@ -182,35 +182,35 @@ func (m *HostSslCertificate) Serialize(writer i878a80d2330e89d26896388a3f487eef2 } return nil } -// SetFirstSeenDateTime sets the firstSeenDateTime property value. The firstSeenDateTime property +// SetFirstSeenDateTime sets the firstSeenDateTime property value. The first date and time that this hostSslCertificate was observed. 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. func (m *HostSslCertificate) SetFirstSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("firstSeenDateTime", value) if err != nil { panic(err) } } -// SetHost sets the host property value. The host property +// SetHost sets the host property value. The host for this hostSslCertificate. func (m *HostSslCertificate) SetHost(value Hostable)() { err := m.GetBackingStore().Set("host", value) if err != nil { panic(err) } } -// SetLastSeenDateTime sets the lastSeenDateTime property value. The lastSeenDateTime property +// SetLastSeenDateTime sets the lastSeenDateTime property value. The most recent date and time that this hostSslCertificate was observed. 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. func (m *HostSslCertificate) SetLastSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastSeenDateTime", value) if err != nil { panic(err) } } -// SetPorts sets the ports property value. The ports property +// SetPorts sets the ports property value. The ports related with this hostSslCertificate. func (m *HostSslCertificate) SetPorts(value []HostSslCertificatePortable)() { err := m.GetBackingStore().Set("ports", value) if err != nil { panic(err) } } -// SetSslCertificate sets the sslCertificate property value. The sslCertificate property +// SetSslCertificate sets the sslCertificate property value. The sslCertificate for this hostSslCertificate. func (m *HostSslCertificate) SetSslCertificate(value SslCertificateable)() { err := m.GetBackingStore().Set("sslCertificate", value) if err != nil { diff --git a/models/security/host_ssl_certificate_port.go b/models/security/host_ssl_certificate_port.go index af18315e59d..1fcf6910c0d 100644 --- a/models/security/host_ssl_certificate_port.go +++ b/models/security/host_ssl_certificate_port.go @@ -84,7 +84,7 @@ func (m *HostSslCertificatePort) GetFieldDeserializers()(map[string]func(i878a80 } return res } -// GetFirstSeenDateTime gets the firstSeenDateTime property value. The firstSeenDateTime property +// GetFirstSeenDateTime gets the firstSeenDateTime property value. The first date and time that this port was observed. 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. func (m *HostSslCertificatePort) GetFirstSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("firstSeenDateTime") if err != nil { @@ -95,7 +95,7 @@ func (m *HostSslCertificatePort) GetFirstSeenDateTime()(*i336074805fc853987abe6f } return nil } -// GetLastSeenDateTime gets the lastSeenDateTime property value. The lastSeenDateTime property +// GetLastSeenDateTime gets the lastSeenDateTime property value. The most recent date and time that this port was observed. 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. func (m *HostSslCertificatePort) GetLastSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastSeenDateTime") if err != nil { @@ -117,7 +117,7 @@ func (m *HostSslCertificatePort) GetOdataType()(*string) { } return nil } -// GetPort gets the port property value. The port property +// GetPort gets the port property value. The port number. func (m *HostSslCertificatePort) GetPort()(*int32) { val, err := m.GetBackingStore().Get("port") if err != nil { @@ -173,14 +173,14 @@ func (m *HostSslCertificatePort) SetAdditionalData(value map[string]any)() { func (m *HostSslCertificatePort) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetFirstSeenDateTime sets the firstSeenDateTime property value. The firstSeenDateTime property +// SetFirstSeenDateTime sets the firstSeenDateTime property value. The first date and time that this port was observed. 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. func (m *HostSslCertificatePort) SetFirstSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("firstSeenDateTime", value) if err != nil { panic(err) } } -// SetLastSeenDateTime sets the lastSeenDateTime property value. The lastSeenDateTime property +// SetLastSeenDateTime sets the lastSeenDateTime property value. The most recent date and time that this port was observed. 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. func (m *HostSslCertificatePort) SetLastSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastSeenDateTime", value) if err != nil { @@ -194,7 +194,7 @@ func (m *HostSslCertificatePort) SetOdataType(value *string)() { panic(err) } } -// SetPort sets the port property value. The port property +// SetPort sets the port property value. The port number. func (m *HostSslCertificatePort) SetPort(value *int32)() { err := m.GetBackingStore().Set("port", value) if err != nil { diff --git a/models/security/hunting_rule_error_code.go b/models/security/hunting_rule_error_code.go index 770f7945c01..39600ae3af9 100644 --- a/models/security/hunting_rule_error_code.go +++ b/models/security/hunting_rule_error_code.go @@ -53,3 +53,6 @@ func SerializeHuntingRuleErrorCode(values []HuntingRuleErrorCode) []string { } return result } +func (i HuntingRuleErrorCode) isMultiValue() bool { + return false +} diff --git a/models/security/hunting_rule_run_status.go b/models/security/hunting_rule_run_status.go index 8ed139b857c..19e128bfe8f 100644 --- a/models/security/hunting_rule_run_status.go +++ b/models/security/hunting_rule_run_status.go @@ -41,3 +41,6 @@ func SerializeHuntingRuleRunStatus(values []HuntingRuleRunStatus) []string { } return result } +func (i HuntingRuleRunStatus) isMultiValue() bool { + return false +} diff --git a/models/security/incident_status.go b/models/security/incident_status.go index 916606a5b01..b43ccdcd163 100644 --- a/models/security/incident_status.go +++ b/models/security/incident_status.go @@ -44,3 +44,6 @@ func SerializeIncidentStatus(values []IncidentStatus) []string { } return result } +func (i IncidentStatus) isMultiValue() bool { + return false +} diff --git a/models/security/indicator_source.go b/models/security/indicator_source.go index 3d6237dd50b..851c945d2fb 100644 --- a/models/security/indicator_source.go +++ b/models/security/indicator_source.go @@ -38,3 +38,6 @@ func SerializeIndicatorSource(values []IndicatorSource) []string { } return result } +func (i IndicatorSource) isMultiValue() bool { + return false +} diff --git a/models/security/intelligence_profile_kind.go b/models/security/intelligence_profile_kind.go index a0134fe5237..bf5ec571a24 100644 --- a/models/security/intelligence_profile_kind.go +++ b/models/security/intelligence_profile_kind.go @@ -35,3 +35,6 @@ func SerializeIntelligenceProfileKind(values []IntelligenceProfileKind) []string } return result } +func (i IntelligenceProfileKind) isMultiValue() bool { + return false +} diff --git a/models/security/ip_address.go b/models/security/ip_address.go index c7fc8e65611..ceedb2ccac1 100644 --- a/models/security/ip_address.go +++ b/models/security/ip_address.go @@ -32,7 +32,7 @@ func (m *IpAddress) GetAutonomousSystem()(AutonomousSystemable) { } return nil } -// GetCountryOrRegion gets the countryOrRegion property value. The country or region for this IP address. +// GetCountryOrRegion gets the countryOrRegion property value. The country/region for this IP address. func (m *IpAddress) GetCountryOrRegion()(*string) { val, err := m.GetBackingStore().Get("countryOrRegion") if err != nil { @@ -149,7 +149,7 @@ func (m *IpAddress) SetAutonomousSystem(value AutonomousSystemable)() { panic(err) } } -// SetCountryOrRegion sets the countryOrRegion property value. The country or region for this IP address. +// SetCountryOrRegion sets the countryOrRegion property value. The country/region for this IP address. func (m *IpAddress) SetCountryOrRegion(value *string)() { err := m.GetBackingStore().Set("countryOrRegion", value) if err != nil { diff --git a/models/security/isolation_type.go b/models/security/isolation_type.go index 63234f90542..a0a54d7d104 100644 --- a/models/security/isolation_type.go +++ b/models/security/isolation_type.go @@ -35,3 +35,6 @@ func SerializeIsolationType(values []IsolationType) []string { } return result } +func (i IsolationType) isMultiValue() bool { + return false +} diff --git a/models/security/kubernetes_platform.go b/models/security/kubernetes_platform.go index cef3efbbc84..10afd9d115c 100644 --- a/models/security/kubernetes_platform.go +++ b/models/security/kubernetes_platform.go @@ -44,3 +44,6 @@ func SerializeKubernetesPlatform(values []KubernetesPlatform) []string { } return result } +func (i KubernetesPlatform) isMultiValue() bool { + return false +} diff --git a/models/security/kubernetes_service_type.go b/models/security/kubernetes_service_type.go index e3c25d8541e..f906bf54d1b 100644 --- a/models/security/kubernetes_service_type.go +++ b/models/security/kubernetes_service_type.go @@ -44,3 +44,6 @@ func SerializeKubernetesServiceType(values []KubernetesServiceType) []string { } return result } +func (i KubernetesServiceType) isMultiValue() bool { + return false +} diff --git a/models/security/long_running_operation_status.go b/models/security/long_running_operation_status.go index 197ec17fe32..d878a3bc54f 100644 --- a/models/security/long_running_operation_status.go +++ b/models/security/long_running_operation_status.go @@ -44,3 +44,6 @@ func SerializeLongRunningOperationStatus(values []LongRunningOperationStatus) [] } return result } +func (i LongRunningOperationStatus) isMultiValue() bool { + return false +} diff --git a/models/security/mailbox_asset_identifier.go b/models/security/mailbox_asset_identifier.go index b36220be35c..f87c0d88ad3 100644 --- a/models/security/mailbox_asset_identifier.go +++ b/models/security/mailbox_asset_identifier.go @@ -56,3 +56,6 @@ func SerializeMailboxAssetIdentifier(values []MailboxAssetIdentifier) []string { } return result } +func (i MailboxAssetIdentifier) isMultiValue() bool { + return false +} diff --git a/models/security/mark_user_as_compromised_entity_identifier.go b/models/security/mark_user_as_compromised_entity_identifier.go index 69be72a9991..770a1c0e823 100644 --- a/models/security/mark_user_as_compromised_entity_identifier.go +++ b/models/security/mark_user_as_compromised_entity_identifier.go @@ -1,6 +1,7 @@ package security import ( "errors" + "strings" ) // type MarkUserAsCompromisedEntityIdentifier int @@ -14,23 +15,32 @@ const ( ) func (i MarkUserAsCompromisedEntityIdentifier) String() string { - return []string{"accountObjectId", "initiatingProcessAccountObjectId", "servicePrincipalId", "recipientObjectId", "unknownFutureValue"}[i] + var values []string + for p := MarkUserAsCompromisedEntityIdentifier(1); p <= UNKNOWNFUTUREVALUE_MARKUSERASCOMPROMISEDENTITYIDENTIFIER; p <<= 1 { + if i&p == p { + values = append(values, []string{"accountObjectId", "initiatingProcessAccountObjectId", "servicePrincipalId", "recipientObjectId", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseMarkUserAsCompromisedEntityIdentifier(v string) (any, error) { - result := ACCOUNTOBJECTID_MARKUSERASCOMPROMISEDENTITYIDENTIFIER - switch v { - case "accountObjectId": - result = ACCOUNTOBJECTID_MARKUSERASCOMPROMISEDENTITYIDENTIFIER - case "initiatingProcessAccountObjectId": - result = INITIATINGPROCESSACCOUNTOBJECTID_MARKUSERASCOMPROMISEDENTITYIDENTIFIER - case "servicePrincipalId": - result = SERVICEPRINCIPALID_MARKUSERASCOMPROMISEDENTITYIDENTIFIER - case "recipientObjectId": - result = RECIPIENTOBJECTID_MARKUSERASCOMPROMISEDENTITYIDENTIFIER - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_MARKUSERASCOMPROMISEDENTITYIDENTIFIER - default: - return 0, errors.New("Unknown MarkUserAsCompromisedEntityIdentifier value: " + v) + var result MarkUserAsCompromisedEntityIdentifier + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "accountObjectId": + result |= ACCOUNTOBJECTID_MARKUSERASCOMPROMISEDENTITYIDENTIFIER + case "initiatingProcessAccountObjectId": + result |= INITIATINGPROCESSACCOUNTOBJECTID_MARKUSERASCOMPROMISEDENTITYIDENTIFIER + case "servicePrincipalId": + result |= SERVICEPRINCIPALID_MARKUSERASCOMPROMISEDENTITYIDENTIFIER + case "recipientObjectId": + result |= RECIPIENTOBJECTID_MARKUSERASCOMPROMISEDENTITYIDENTIFIER + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_MARKUSERASCOMPROMISEDENTITYIDENTIFIER + default: + return 0, errors.New("Unknown MarkUserAsCompromisedEntityIdentifier value: " + v) + } } return &result, nil } @@ -41,3 +51,6 @@ func SerializeMarkUserAsCompromisedEntityIdentifier(values []MarkUserAsCompromis } return result } +func (i MarkUserAsCompromisedEntityIdentifier) isMultiValue() bool { + return true +} diff --git a/models/security/onboarding_status.go b/models/security/onboarding_status.go index d50d7af417c..989de38b446 100644 --- a/models/security/onboarding_status.go +++ b/models/security/onboarding_status.go @@ -41,3 +41,6 @@ func SerializeOnboardingStatus(values []OnboardingStatus) []string { } return result } +func (i OnboardingStatus) isMultiValue() bool { + return false +} diff --git a/models/security/policy_status.go b/models/security/policy_status.go index 37ee02ee8f6..b4910889ad4 100644 --- a/models/security/policy_status.go +++ b/models/security/policy_status.go @@ -38,3 +38,6 @@ func SerializePolicyStatus(values []PolicyStatus) []string { } return result } +func (i PolicyStatus) isMultiValue() bool { + return false +} diff --git a/models/security/purge_areas.go b/models/security/purge_areas.go index a97ead89d63..d902e7cfdaf 100644 --- a/models/security/purge_areas.go +++ b/models/security/purge_areas.go @@ -1,6 +1,7 @@ package security import ( "errors" + "strings" ) // type PurgeAreas int @@ -12,19 +13,28 @@ const ( ) func (i PurgeAreas) String() string { - return []string{"mailboxes", "teamsMessages", "unknownFutureValue"}[i] + var values []string + for p := PurgeAreas(1); p <= UNKNOWNFUTUREVALUE_PURGEAREAS; p <<= 1 { + if i&p == p { + values = append(values, []string{"mailboxes", "teamsMessages", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParsePurgeAreas(v string) (any, error) { - result := MAILBOXES_PURGEAREAS - switch v { - case "mailboxes": - result = MAILBOXES_PURGEAREAS - case "teamsMessages": - result = TEAMSMESSAGES_PURGEAREAS - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_PURGEAREAS - default: - return 0, errors.New("Unknown PurgeAreas value: " + v) + var result PurgeAreas + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "mailboxes": + result |= MAILBOXES_PURGEAREAS + case "teamsMessages": + result |= TEAMSMESSAGES_PURGEAREAS + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_PURGEAREAS + default: + return 0, errors.New("Unknown PurgeAreas value: " + v) + } } return &result, nil } @@ -35,3 +45,6 @@ func SerializePurgeAreas(values []PurgeAreas) []string { } return result } +func (i PurgeAreas) isMultiValue() bool { + return true +} diff --git a/models/security/purge_type.go b/models/security/purge_type.go index d14dcae7101..12203a7a2a9 100644 --- a/models/security/purge_type.go +++ b/models/security/purge_type.go @@ -35,3 +35,6 @@ func SerializePurgeType(values []PurgeType) []string { } return result } +func (i PurgeType) isMultiValue() bool { + return false +} diff --git a/models/security/query_type.go b/models/security/query_type.go index 5697bd51ab3..64d46105af1 100644 --- a/models/security/query_type.go +++ b/models/security/query_type.go @@ -35,3 +35,6 @@ func SerializeQueryType(values []QueryType) []string { } return result } +func (i QueryType) isMultiValue() bool { + return false +} diff --git a/models/security/retention_event_status.go b/models/security/retention_event_status.go index 74df3f6b211..1838ee4b850 100644 --- a/models/security/retention_event_status.go +++ b/models/security/retention_event_status.go @@ -39,7 +39,7 @@ func (m *RetentionEventStatus) GetAdditionalData()(map[string]any) { func (m *RetentionEventStatus) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetError gets the error property value. The error if the status is not successful. +// GetError gets the error property value. The error if the status isn't successful. func (m *RetentionEventStatus) GetError()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PublicErrorable) { val, err := m.GetBackingStore().Get("error") if err != nil { @@ -147,7 +147,7 @@ func (m *RetentionEventStatus) SetAdditionalData(value map[string]any)() { func (m *RetentionEventStatus) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetError sets the error property value. The error if the status is not successful. +// SetError sets the error property value. The error if the status isn't successful. func (m *RetentionEventStatus) SetError(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PublicErrorable)() { err := m.GetBackingStore().Set("error", value) if err != nil { diff --git a/models/security/retention_trigger.go b/models/security/retention_trigger.go index 911f5e232db..fb65a6a367d 100644 --- a/models/security/retention_trigger.go +++ b/models/security/retention_trigger.go @@ -41,3 +41,6 @@ func SerializeRetentionTrigger(values []RetentionTrigger) []string { } return result } +func (i RetentionTrigger) isMultiValue() bool { + return false +} diff --git a/models/security/scope_type.go b/models/security/scope_type.go index a279e3ad6d2..c5f1961e23e 100644 --- a/models/security/scope_type.go +++ b/models/security/scope_type.go @@ -32,3 +32,6 @@ func SerializeScopeType(values []ScopeType) []string { } return result } +func (i ScopeType) isMultiValue() bool { + return false +} diff --git a/models/security/service_source.go b/models/security/service_source.go index 6fb15344fa1..2a285a637b5 100644 --- a/models/security/service_source.go +++ b/models/security/service_source.go @@ -59,3 +59,6 @@ func SerializeServiceSource(values []ServiceSource) []string { } return result } +func (i ServiceSource) isMultiValue() bool { + return false +} diff --git a/models/security/source_type.go b/models/security/source_type.go index 10416711b2e..b874dc86072 100644 --- a/models/security/source_type.go +++ b/models/security/source_type.go @@ -1,6 +1,7 @@ package security import ( "errors" + "strings" ) // type SourceType int @@ -12,19 +13,28 @@ const ( ) func (i SourceType) String() string { - return []string{"mailbox", "site", "unknownFutureValue"}[i] + var values []string + for p := SourceType(1); p <= UNKNOWNFUTUREVALUE_SOURCETYPE; p <<= 1 { + if i&p == p { + values = append(values, []string{"mailbox", "site", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseSourceType(v string) (any, error) { - result := MAILBOX_SOURCETYPE - switch v { - case "mailbox": - result = MAILBOX_SOURCETYPE - case "site": - result = SITE_SOURCETYPE - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_SOURCETYPE - default: - return 0, errors.New("Unknown SourceType value: " + v) + var result SourceType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "mailbox": + result |= MAILBOX_SOURCETYPE + case "site": + result |= SITE_SOURCETYPE + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_SOURCETYPE + default: + return 0, errors.New("Unknown SourceType value: " + v) + } } return &result, nil } @@ -35,3 +45,6 @@ func SerializeSourceType(values []SourceType) []string { } return result } +func (i SourceType) isMultiValue() bool { + return true +} diff --git a/models/security/ssl_certificate.go b/models/security/ssl_certificate.go index e4afa6b33f0..02e3097a619 100644 --- a/models/security/ssl_certificate.go +++ b/models/security/ssl_certificate.go @@ -22,7 +22,7 @@ func NewSslCertificate()(*SslCertificate) { func CreateSslCertificateFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewSslCertificate(), nil } -// GetExpirationDateTime gets the expirationDateTime property value. The expirationDateTime property +// GetExpirationDateTime gets the expirationDateTime property value. The date and time when a certificate expires. 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. func (m *SslCertificate) GetExpirationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("expirationDateTime") if err != nil { @@ -144,7 +144,7 @@ func (m *SslCertificate) GetFieldDeserializers()(map[string]func(i878a80d2330e89 } return res } -// GetFingerprint gets the fingerprint property value. The fingerprint property +// GetFingerprint gets the fingerprint property value. A hash of the certificate calculated on the data and signature. func (m *SslCertificate) GetFingerprint()(*string) { val, err := m.GetBackingStore().Get("fingerprint") if err != nil { @@ -155,7 +155,7 @@ func (m *SslCertificate) GetFingerprint()(*string) { } return nil } -// GetFirstSeenDateTime gets the firstSeenDateTime property value. The firstSeenDateTime property +// GetFirstSeenDateTime gets the firstSeenDateTime property value. The first date and time that this sslCertificate was observed. 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. func (m *SslCertificate) GetFirstSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("firstSeenDateTime") if err != nil { @@ -166,7 +166,7 @@ func (m *SslCertificate) GetFirstSeenDateTime()(*i336074805fc853987abe6f7fe3ad97 } return nil } -// GetIssueDateTime gets the issueDateTime property value. The issueDateTime property +// GetIssueDateTime gets the issueDateTime property value. The date and time when a certificate was issued. 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. func (m *SslCertificate) GetIssueDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("issueDateTime") if err != nil { @@ -177,7 +177,7 @@ func (m *SslCertificate) GetIssueDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6 } return nil } -// GetIssuer gets the issuer property value. The issuer property +// GetIssuer gets the issuer property value. The entity granting this certificate. func (m *SslCertificate) GetIssuer()(SslCertificateEntityable) { val, err := m.GetBackingStore().Get("issuer") if err != nil { @@ -188,7 +188,7 @@ func (m *SslCertificate) GetIssuer()(SslCertificateEntityable) { } return nil } -// GetLastSeenDateTime gets the lastSeenDateTime property value. The lastSeenDateTime property +// GetLastSeenDateTime gets the lastSeenDateTime property value. The most recent date and time that this sslCertificate was observed. 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. func (m *SslCertificate) GetLastSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastSeenDateTime") if err != nil { @@ -199,7 +199,7 @@ func (m *SslCertificate) GetLastSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a } return nil } -// GetRelatedHosts gets the relatedHosts property value. The relatedHosts property +// GetRelatedHosts gets the relatedHosts property value. The hosts related with this sslCertificate. func (m *SslCertificate) GetRelatedHosts()([]Hostable) { val, err := m.GetBackingStore().Get("relatedHosts") if err != nil { @@ -210,7 +210,7 @@ func (m *SslCertificate) GetRelatedHosts()([]Hostable) { } return nil } -// GetSerialNumber gets the serialNumber property value. The serialNumber property +// GetSerialNumber gets the serialNumber property value. The serial number associated with an SSL certificate. func (m *SslCertificate) GetSerialNumber()(*string) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { @@ -221,7 +221,7 @@ func (m *SslCertificate) GetSerialNumber()(*string) { } return nil } -// GetSha1 gets the sha1 property value. The sha1 property +// GetSha1 gets the sha1 property value. A SHA-1 hash of the certificate. Note: This is not the signature. func (m *SslCertificate) GetSha1()(*string) { val, err := m.GetBackingStore().Get("sha1") if err != nil { @@ -232,7 +232,7 @@ func (m *SslCertificate) GetSha1()(*string) { } return nil } -// GetSubject gets the subject property value. The subject property +// GetSubject gets the subject property value. The person, site, machine, and so on, this certificate is for. func (m *SslCertificate) GetSubject()(SslCertificateEntityable) { val, err := m.GetBackingStore().Get("subject") if err != nil { @@ -317,70 +317,70 @@ func (m *SslCertificate) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a } return nil } -// SetExpirationDateTime sets the expirationDateTime property value. The expirationDateTime property +// SetExpirationDateTime sets the expirationDateTime property value. The date and time when a certificate expires. 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. func (m *SslCertificate) SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("expirationDateTime", value) if err != nil { panic(err) } } -// SetFingerprint sets the fingerprint property value. The fingerprint property +// SetFingerprint sets the fingerprint property value. A hash of the certificate calculated on the data and signature. func (m *SslCertificate) SetFingerprint(value *string)() { err := m.GetBackingStore().Set("fingerprint", value) if err != nil { panic(err) } } -// SetFirstSeenDateTime sets the firstSeenDateTime property value. The firstSeenDateTime property +// SetFirstSeenDateTime sets the firstSeenDateTime property value. The first date and time that this sslCertificate was observed. 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. func (m *SslCertificate) SetFirstSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("firstSeenDateTime", value) if err != nil { panic(err) } } -// SetIssueDateTime sets the issueDateTime property value. The issueDateTime property +// SetIssueDateTime sets the issueDateTime property value. The date and time when a certificate was issued. 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. func (m *SslCertificate) SetIssueDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("issueDateTime", value) if err != nil { panic(err) } } -// SetIssuer sets the issuer property value. The issuer property +// SetIssuer sets the issuer property value. The entity granting this certificate. func (m *SslCertificate) SetIssuer(value SslCertificateEntityable)() { err := m.GetBackingStore().Set("issuer", value) if err != nil { panic(err) } } -// SetLastSeenDateTime sets the lastSeenDateTime property value. The lastSeenDateTime property +// SetLastSeenDateTime sets the lastSeenDateTime property value. The most recent date and time that this sslCertificate was observed. 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. func (m *SslCertificate) SetLastSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastSeenDateTime", value) if err != nil { panic(err) } } -// SetRelatedHosts sets the relatedHosts property value. The relatedHosts property +// SetRelatedHosts sets the relatedHosts property value. The hosts related with this sslCertificate. func (m *SslCertificate) SetRelatedHosts(value []Hostable)() { err := m.GetBackingStore().Set("relatedHosts", value) if err != nil { panic(err) } } -// SetSerialNumber sets the serialNumber property value. The serialNumber property +// SetSerialNumber sets the serialNumber property value. The serial number associated with an SSL certificate. func (m *SslCertificate) SetSerialNumber(value *string)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) } } -// SetSha1 sets the sha1 property value. The sha1 property +// SetSha1 sets the sha1 property value. A SHA-1 hash of the certificate. Note: This is not the signature. func (m *SslCertificate) SetSha1(value *string)() { err := m.GetBackingStore().Set("sha1", value) if err != nil { panic(err) } } -// SetSubject sets the subject property value. The subject property +// SetSubject sets the subject property value. The person, site, machine, and so on, this certificate is for. func (m *SslCertificate) SetSubject(value SslCertificateEntityable)() { err := m.GetBackingStore().Set("subject", value) if err != nil { diff --git a/models/security/ssl_certificate_entity.go b/models/security/ssl_certificate_entity.go index a61a387b46e..0f09b0244bc 100644 --- a/models/security/ssl_certificate_entity.go +++ b/models/security/ssl_certificate_entity.go @@ -35,7 +35,7 @@ func (m *SslCertificateEntity) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetAddress gets the address property value. The address property +// GetAddress gets the address property value. A physical address of the entity. func (m *SslCertificateEntity) GetAddress()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PhysicalAddressable) { val, err := m.GetBackingStore().Get("address") if err != nil { @@ -46,7 +46,7 @@ func (m *SslCertificateEntity) GetAddress()(ie233ee762e29b4ba6970aa2a2efce4b7fde } return nil } -// GetAlternateNames gets the alternateNames property value. The alternateNames property +// GetAlternateNames gets the alternateNames property value. Alternate names for this entity that are part of the certificate. func (m *SslCertificateEntity) GetAlternateNames()([]string) { val, err := m.GetBackingStore().Get("alternateNames") if err != nil { @@ -61,7 +61,7 @@ func (m *SslCertificateEntity) GetAlternateNames()([]string) { func (m *SslCertificateEntity) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetCommonName gets the commonName property value. The commonName property +// GetCommonName gets the commonName property value. A common name for this entity. func (m *SslCertificateEntity) GetCommonName()(*string) { val, err := m.GetBackingStore().Get("commonName") if err != nil { @@ -72,7 +72,7 @@ func (m *SslCertificateEntity) GetCommonName()(*string) { } return nil } -// GetEmail gets the email property value. The email property +// GetEmail gets the email property value. An email for this entity. func (m *SslCertificateEntity) GetEmail()(*string) { val, err := m.GetBackingStore().Get("email") if err != nil { @@ -194,7 +194,7 @@ func (m *SslCertificateEntity) GetFieldDeserializers()(map[string]func(i878a80d2 } return res } -// GetGivenName gets the givenName property value. The givenName property +// GetGivenName gets the givenName property value. If the entity is a person, this is the person's given name (first name). func (m *SslCertificateEntity) GetGivenName()(*string) { val, err := m.GetBackingStore().Get("givenName") if err != nil { @@ -216,7 +216,7 @@ func (m *SslCertificateEntity) GetOdataType()(*string) { } return nil } -// GetOrganizationName gets the organizationName property value. The organizationName property +// GetOrganizationName gets the organizationName property value. If the entity is an organization, this is the name of the organization. func (m *SslCertificateEntity) GetOrganizationName()(*string) { val, err := m.GetBackingStore().Get("organizationName") if err != nil { @@ -227,7 +227,7 @@ func (m *SslCertificateEntity) GetOrganizationName()(*string) { } return nil } -// GetOrganizationUnitName gets the organizationUnitName property value. The organizationUnitName property +// GetOrganizationUnitName gets the organizationUnitName property value. If the entity is an organization, this communicates if a unit in the organization is named on the entity. func (m *SslCertificateEntity) GetOrganizationUnitName()(*string) { val, err := m.GetBackingStore().Get("organizationUnitName") if err != nil { @@ -238,7 +238,7 @@ func (m *SslCertificateEntity) GetOrganizationUnitName()(*string) { } return nil } -// GetSerialNumber gets the serialNumber property value. The serialNumber property +// GetSerialNumber gets the serialNumber property value. A serial number assigned to the entity; usually only available if the entity is the issuer. func (m *SslCertificateEntity) GetSerialNumber()(*string) { val, err := m.GetBackingStore().Get("serialNumber") if err != nil { @@ -249,7 +249,7 @@ func (m *SslCertificateEntity) GetSerialNumber()(*string) { } return nil } -// GetSurname gets the surname property value. The surname property +// GetSurname gets the surname property value. If the entity is a person, this is the person's surname (last name). func (m *SslCertificateEntity) GetSurname()(*string) { val, err := m.GetBackingStore().Get("surname") if err != nil { @@ -337,14 +337,14 @@ func (m *SslCertificateEntity) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetAddress sets the address property value. The address property +// SetAddress sets the address property value. A physical address of the entity. func (m *SslCertificateEntity) SetAddress(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PhysicalAddressable)() { err := m.GetBackingStore().Set("address", value) if err != nil { panic(err) } } -// SetAlternateNames sets the alternateNames property value. The alternateNames property +// SetAlternateNames sets the alternateNames property value. Alternate names for this entity that are part of the certificate. func (m *SslCertificateEntity) SetAlternateNames(value []string)() { err := m.GetBackingStore().Set("alternateNames", value) if err != nil { @@ -355,21 +355,21 @@ func (m *SslCertificateEntity) SetAlternateNames(value []string)() { func (m *SslCertificateEntity) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetCommonName sets the commonName property value. The commonName property +// SetCommonName sets the commonName property value. A common name for this entity. func (m *SslCertificateEntity) SetCommonName(value *string)() { err := m.GetBackingStore().Set("commonName", value) if err != nil { panic(err) } } -// SetEmail sets the email property value. The email property +// SetEmail sets the email property value. An email for this entity. func (m *SslCertificateEntity) SetEmail(value *string)() { err := m.GetBackingStore().Set("email", value) if err != nil { panic(err) } } -// SetGivenName sets the givenName property value. The givenName property +// SetGivenName sets the givenName property value. If the entity is a person, this is the person's given name (first name). func (m *SslCertificateEntity) SetGivenName(value *string)() { err := m.GetBackingStore().Set("givenName", value) if err != nil { @@ -383,28 +383,28 @@ func (m *SslCertificateEntity) SetOdataType(value *string)() { panic(err) } } -// SetOrganizationName sets the organizationName property value. The organizationName property +// SetOrganizationName sets the organizationName property value. If the entity is an organization, this is the name of the organization. func (m *SslCertificateEntity) SetOrganizationName(value *string)() { err := m.GetBackingStore().Set("organizationName", value) if err != nil { panic(err) } } -// SetOrganizationUnitName sets the organizationUnitName property value. The organizationUnitName property +// SetOrganizationUnitName sets the organizationUnitName property value. If the entity is an organization, this communicates if a unit in the organization is named on the entity. func (m *SslCertificateEntity) SetOrganizationUnitName(value *string)() { err := m.GetBackingStore().Set("organizationUnitName", value) if err != nil { panic(err) } } -// SetSerialNumber sets the serialNumber property value. The serialNumber property +// SetSerialNumber sets the serialNumber property value. A serial number assigned to the entity; usually only available if the entity is the issuer. func (m *SslCertificateEntity) SetSerialNumber(value *string)() { err := m.GetBackingStore().Set("serialNumber", value) if err != nil { panic(err) } } -// SetSurname sets the surname property value. The surname property +// SetSurname sets the surname property value. If the entity is a person, this is the person's surname (last name). func (m *SslCertificateEntity) SetSurname(value *string)() { err := m.GetBackingStore().Set("surname", value) if err != nil { diff --git a/models/security/stop_and_quarantine_file_entity_identifier.go b/models/security/stop_and_quarantine_file_entity_identifier.go index 2032f74e450..e35ca4f55fa 100644 --- a/models/security/stop_and_quarantine_file_entity_identifier.go +++ b/models/security/stop_and_quarantine_file_entity_identifier.go @@ -1,6 +1,7 @@ package security import ( "errors" + "strings" ) // type StopAndQuarantineFileEntityIdentifier int @@ -13,21 +14,30 @@ const ( ) func (i StopAndQuarantineFileEntityIdentifier) String() string { - return []string{"deviceId", "sha1", "initiatingProcessSHA1", "unknownFutureValue"}[i] + var values []string + for p := StopAndQuarantineFileEntityIdentifier(1); p <= UNKNOWNFUTUREVALUE_STOPANDQUARANTINEFILEENTITYIDENTIFIER; p <<= 1 { + if i&p == p { + values = append(values, []string{"deviceId", "sha1", "initiatingProcessSHA1", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseStopAndQuarantineFileEntityIdentifier(v string) (any, error) { - result := DEVICEID_STOPANDQUARANTINEFILEENTITYIDENTIFIER - switch v { - case "deviceId": - result = DEVICEID_STOPANDQUARANTINEFILEENTITYIDENTIFIER - case "sha1": - result = SHA1_STOPANDQUARANTINEFILEENTITYIDENTIFIER - case "initiatingProcessSHA1": - result = INITIATINGPROCESSSHA1_STOPANDQUARANTINEFILEENTITYIDENTIFIER - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_STOPANDQUARANTINEFILEENTITYIDENTIFIER - default: - return 0, errors.New("Unknown StopAndQuarantineFileEntityIdentifier value: " + v) + var result StopAndQuarantineFileEntityIdentifier + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "deviceId": + result |= DEVICEID_STOPANDQUARANTINEFILEENTITYIDENTIFIER + case "sha1": + result |= SHA1_STOPANDQUARANTINEFILEENTITYIDENTIFIER + case "initiatingProcessSHA1": + result |= INITIATINGPROCESSSHA1_STOPANDQUARANTINEFILEENTITYIDENTIFIER + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_STOPANDQUARANTINEFILEENTITYIDENTIFIER + default: + return 0, errors.New("Unknown StopAndQuarantineFileEntityIdentifier value: " + v) + } } return &result, nil } @@ -38,3 +48,6 @@ func SerializeStopAndQuarantineFileEntityIdentifier(values []StopAndQuarantineFi } return result } +func (i StopAndQuarantineFileEntityIdentifier) isMultiValue() bool { + return true +} diff --git a/models/security/submission_category.go b/models/security/submission_category.go index 9d25ff40827..0766333951d 100644 --- a/models/security/submission_category.go +++ b/models/security/submission_category.go @@ -41,3 +41,6 @@ func SerializeSubmissionCategory(values []SubmissionCategory) []string { } return result } +func (i SubmissionCategory) isMultiValue() bool { + return false +} diff --git a/models/security/submission_client_source.go b/models/security/submission_client_source.go index 576a887e2d6..03896ae5391 100644 --- a/models/security/submission_client_source.go +++ b/models/security/submission_client_source.go @@ -35,3 +35,6 @@ func SerializeSubmissionClientSource(values []SubmissionClientSource) []string { } return result } +func (i SubmissionClientSource) isMultiValue() bool { + return false +} diff --git a/models/security/submission_content_type.go b/models/security/submission_content_type.go index 90e95220d55..9419a278e8f 100644 --- a/models/security/submission_content_type.go +++ b/models/security/submission_content_type.go @@ -41,3 +41,6 @@ func SerializeSubmissionContentType(values []SubmissionContentType) []string { } return result } +func (i SubmissionContentType) isMultiValue() bool { + return false +} diff --git a/models/security/submission_result.go b/models/security/submission_result.go index 638c571741f..ca263ba0a6d 100644 --- a/models/security/submission_result.go +++ b/models/security/submission_result.go @@ -49,7 +49,7 @@ func (m *SubmissionResult) GetCategory()(*SubmissionResultCategory) { } return nil } -// GetDetail gets the detail property value. Specifies the additional details provided by Microsoft to substantiate their analysis result. +// GetDetail gets the detail property value. Specifies the extra details provided by Microsoft to substantiate their analysis result. func (m *SubmissionResult) GetDetail()(*SubmissionResultDetail) { val, err := m.GetBackingStore().Get("detail") if err != nil { @@ -71,7 +71,7 @@ func (m *SubmissionResult) GetDetectedFiles()([]SubmissionDetectedFileable) { } return nil } -// GetDetectedUrls gets the detectedUrls property value. Specifes the URLs detected by Microsoft in the submitted email. +// GetDetectedUrls gets the detectedUrls property value. Specifies the URLs detected by Microsoft in the submitted email. func (m *SubmissionResult) GetDetectedUrls()([]string) { val, err := m.GetBackingStore().Get("detectedUrls") if err != nil { @@ -254,7 +254,7 @@ func (m *SubmissionResult) SetCategory(value *SubmissionResultCategory)() { panic(err) } } -// SetDetail sets the detail property value. Specifies the additional details provided by Microsoft to substantiate their analysis result. +// SetDetail sets the detail property value. Specifies the extra details provided by Microsoft to substantiate their analysis result. func (m *SubmissionResult) SetDetail(value *SubmissionResultDetail)() { err := m.GetBackingStore().Set("detail", value) if err != nil { @@ -268,7 +268,7 @@ func (m *SubmissionResult) SetDetectedFiles(value []SubmissionDetectedFileable)( panic(err) } } -// SetDetectedUrls sets the detectedUrls property value. Specifes the URLs detected by Microsoft in the submitted email. +// SetDetectedUrls sets the detectedUrls property value. Specifies the URLs detected by Microsoft in the submitted email. func (m *SubmissionResult) SetDetectedUrls(value []string)() { err := m.GetBackingStore().Set("detectedUrls", value) if err != nil { diff --git a/models/security/submission_result_category.go b/models/security/submission_result_category.go index b014c087442..c7b16462589 100644 --- a/models/security/submission_result_category.go +++ b/models/security/submission_result_category.go @@ -56,3 +56,6 @@ func SerializeSubmissionResultCategory(values []SubmissionResultCategory) []stri } return result } +func (i SubmissionResultCategory) isMultiValue() bool { + return false +} diff --git a/models/security/submission_result_detail.go b/models/security/submission_result_detail.go index 4ba99adf444..5b078ed1de7 100644 --- a/models/security/submission_result_detail.go +++ b/models/security/submission_result_detail.go @@ -188,3 +188,6 @@ func SerializeSubmissionResultDetail(values []SubmissionResultDetail) []string { } return result } +func (i SubmissionResultDetail) isMultiValue() bool { + return false +} diff --git a/models/security/submission_source.go b/models/security/submission_source.go index b91ddeea831..ac12b3d228e 100644 --- a/models/security/submission_source.go +++ b/models/security/submission_source.go @@ -35,3 +35,6 @@ func SerializeSubmissionSource(values []SubmissionSource) []string { } return result } +func (i SubmissionSource) isMultiValue() bool { + return false +} diff --git a/models/security/tenant_allow_block_list_action.go b/models/security/tenant_allow_block_list_action.go index 38147a61fe4..35d7804bf00 100644 --- a/models/security/tenant_allow_block_list_action.go +++ b/models/security/tenant_allow_block_list_action.go @@ -35,3 +35,6 @@ func SerializeTenantAllowBlockListAction(values []TenantAllowBlockListAction) [] } return result } +func (i TenantAllowBlockListAction) isMultiValue() bool { + return false +} diff --git a/models/security/tenant_allow_block_list_entry_result.go b/models/security/tenant_allow_block_list_entry_result.go index 00f5c7e0a13..3f57411ab4a 100644 --- a/models/security/tenant_allow_block_list_entry_result.go +++ b/models/security/tenant_allow_block_list_entry_result.go @@ -39,7 +39,7 @@ func (m *TenantAllowBlockListEntryResult) GetAdditionalData()(map[string]any) { func (m *TenantAllowBlockListEntryResult) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetEntryType gets the entryType property value. The entry type of tenant allow block list. The possible values are: url, fileHash, sender, recipient and unkownFutureValue. +// GetEntryType gets the entryType property value. The tenant allow-block list entry type. The possible values are: url, fileHash, sender, recipient and unkownFutureValue. func (m *TenantAllowBlockListEntryResult) GetEntryType()(*TenantAllowBlockListEntryType) { val, err := m.GetBackingStore().Get("entryType") if err != nil { @@ -50,7 +50,7 @@ func (m *TenantAllowBlockListEntryResult) GetEntryType()(*TenantAllowBlockListEn } return nil } -// GetExpirationDateTime gets the expirationDateTime property value. Specifies when will this entry expire in date time. +// GetExpirationDateTime gets the expirationDateTime property value. Specifies the date and time when the entry expires. func (m *TenantAllowBlockListEntryResult) GetExpirationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("expirationDateTime") if err != nil { @@ -229,14 +229,14 @@ func (m *TenantAllowBlockListEntryResult) SetAdditionalData(value map[string]any func (m *TenantAllowBlockListEntryResult) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetEntryType sets the entryType property value. The entry type of tenant allow block list. The possible values are: url, fileHash, sender, recipient and unkownFutureValue. +// SetEntryType sets the entryType property value. The tenant allow-block list entry type. The possible values are: url, fileHash, sender, recipient and unkownFutureValue. func (m *TenantAllowBlockListEntryResult) SetEntryType(value *TenantAllowBlockListEntryType)() { err := m.GetBackingStore().Set("entryType", value) if err != nil { panic(err) } } -// SetExpirationDateTime sets the expirationDateTime property value. Specifies when will this entry expire in date time. +// SetExpirationDateTime sets the expirationDateTime property value. Specifies the date and time when the entry expires. func (m *TenantAllowBlockListEntryResult) SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("expirationDateTime", value) if err != nil { diff --git a/models/security/tenant_allow_block_list_entry_type.go b/models/security/tenant_allow_block_list_entry_type.go index c9516f3aa92..4b2d5043f8b 100644 --- a/models/security/tenant_allow_block_list_entry_type.go +++ b/models/security/tenant_allow_block_list_entry_type.go @@ -41,3 +41,6 @@ func SerializeTenantAllowBlockListEntryType(values []TenantAllowBlockListEntryTy } return result } +func (i TenantAllowBlockListEntryType) isMultiValue() bool { + return false +} diff --git a/models/security/threat_intelligence.go b/models/security/threat_intelligence.go index 2f51e612438..bdca4903f7d 100644 --- a/models/security/threat_intelligence.go +++ b/models/security/threat_intelligence.go @@ -20,7 +20,7 @@ func NewThreatIntelligence()(*ThreatIntelligence) { func CreateThreatIntelligenceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewThreatIntelligence(), nil } -// GetArticleIndicators gets the articleIndicators property value. Refers to indicators of threat or compromise highlighted in an microsoft.graph.security.article.Note: List retrieval is not yet supported. +// GetArticleIndicators gets the articleIndicators property value. Refers to indicators of threat or compromise highlighted in an article.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) GetArticleIndicators()([]ArticleIndicatorable) { val, err := m.GetBackingStore().Get("articleIndicators") if err != nil { @@ -125,6 +125,22 @@ func (m *ThreatIntelligence) GetFieldDeserializers()(map[string]func(i878a80d233 } return nil } + res["hostPorts"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateHostPortFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]HostPortable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(HostPortable) + } + } + m.SetHostPorts(res) + } + return nil + } res["hosts"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateHostFromDiscriminatorValue) if err != nil { @@ -303,7 +319,7 @@ func (m *ThreatIntelligence) GetFieldDeserializers()(map[string]func(i878a80d233 } return res } -// GetHostComponents gets the hostComponents property value. Retrieve details about microsoft.graph.security.hostComponent objects.Note: List retrieval is not yet supported. +// GetHostComponents gets the hostComponents property value. Retrieve details about hostComponent objects.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) GetHostComponents()([]HostComponentable) { val, err := m.GetBackingStore().Get("hostComponents") if err != nil { @@ -314,7 +330,7 @@ func (m *ThreatIntelligence) GetHostComponents()([]HostComponentable) { } return nil } -// GetHostCookies gets the hostCookies property value. Retrieve details about microsoft.graph.security.hostCookie objects.Note: List retrieval is not yet supported. +// GetHostCookies gets the hostCookies property value. Retrieve details about hostCookie objects.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) GetHostCookies()([]HostCookieable) { val, err := m.GetBackingStore().Get("hostCookies") if err != nil { @@ -325,7 +341,7 @@ func (m *ThreatIntelligence) GetHostCookies()([]HostCookieable) { } return nil } -// GetHostPairs gets the hostPairs property value. Retrieve details about microsoft.graph.security.hostTracker objects.Note: List retrieval is not yet supported. +// GetHostPairs gets the hostPairs property value. Retrieve details about hostTracker objects.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) GetHostPairs()([]HostPairable) { val, err := m.GetBackingStore().Get("hostPairs") if err != nil { @@ -336,7 +352,18 @@ func (m *ThreatIntelligence) GetHostPairs()([]HostPairable) { } return nil } -// GetHosts gets the hosts property value. Refers to microsoft.graph.security.host objects that Microsoft Threat Intelligence has observed.Note: List retrieval is not yet supported. +// GetHostPorts gets the hostPorts property value. The hostPorts property +func (m *ThreatIntelligence) GetHostPorts()([]HostPortable) { + val, err := m.GetBackingStore().Get("hostPorts") + if err != nil { + panic(err) + } + if val != nil { + return val.([]HostPortable) + } + return nil +} +// GetHosts gets the hosts property value. Refers to host objects that Microsoft Threat Intelligence has observed.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) GetHosts()([]Hostable) { val, err := m.GetBackingStore().Get("hosts") if err != nil { @@ -347,7 +374,7 @@ func (m *ThreatIntelligence) GetHosts()([]Hostable) { } return nil } -// GetHostSslCertificates gets the hostSslCertificates property value. The hostSslCertificates property +// GetHostSslCertificates gets the hostSslCertificates property value. Retrieve details about hostSslCertificate objects.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) GetHostSslCertificates()([]HostSslCertificateable) { val, err := m.GetBackingStore().Get("hostSslCertificates") if err != nil { @@ -358,7 +385,7 @@ func (m *ThreatIntelligence) GetHostSslCertificates()([]HostSslCertificateable) } return nil } -// GetHostTrackers gets the hostTrackers property value. Retrieve details about microsoft.graph.security.hostTracker objects.Note: List retrieval is not yet supported. +// GetHostTrackers gets the hostTrackers property value. Retrieve details about hostTracker objects.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) GetHostTrackers()([]HostTrackerable) { val, err := m.GetBackingStore().Get("hostTrackers") if err != nil { @@ -391,7 +418,7 @@ func (m *ThreatIntelligence) GetIntelProfiles()([]IntelligenceProfileable) { } return nil } -// GetPassiveDnsRecords gets the passiveDnsRecords property value. Retrieve details about microsoft.graph.security.passiveDnsRecord objects.Note: List retrieval is not yet supported. +// GetPassiveDnsRecords gets the passiveDnsRecords property value. Retrieve details about passiveDnsRecord objects.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) GetPassiveDnsRecords()([]PassiveDnsRecordable) { val, err := m.GetBackingStore().Get("passiveDnsRecords") if err != nil { @@ -402,7 +429,7 @@ func (m *ThreatIntelligence) GetPassiveDnsRecords()([]PassiveDnsRecordable) { } return nil } -// GetSslCertificates gets the sslCertificates property value. The sslCertificates property +// GetSslCertificates gets the sslCertificates property value. Retrieve details about sslCertificate objects.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) GetSslCertificates()([]SslCertificateable) { val, err := m.GetBackingStore().Get("sslCertificates") if err != nil { @@ -413,7 +440,7 @@ func (m *ThreatIntelligence) GetSslCertificates()([]SslCertificateable) { } return nil } -// GetSubdomains gets the subdomains property value. Retrieve details about the microsoft.graph.security.subdomain.Note: List retrieval is not yet supported. +// GetSubdomains gets the subdomains property value. Retrieve details about the subdomain.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) GetSubdomains()([]Subdomainable) { val, err := m.GetBackingStore().Get("subdomains") if err != nil { @@ -424,7 +451,7 @@ func (m *ThreatIntelligence) GetSubdomains()([]Subdomainable) { } return nil } -// GetVulnerabilities gets the vulnerabilities property value. Retrieve details about microsoft.graph.security.vulnerabilities.Note: List retrieval is not yet supported. +// GetVulnerabilities gets the vulnerabilities property value. Retrieve details about vulnerabilities.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) GetVulnerabilities()([]Vulnerabilityable) { val, err := m.GetBackingStore().Get("vulnerabilities") if err != nil { @@ -435,7 +462,7 @@ func (m *ThreatIntelligence) GetVulnerabilities()([]Vulnerabilityable) { } return nil } -// GetWhoisHistoryRecords gets the whoisHistoryRecords property value. The whoisHistoryRecords property +// GetWhoisHistoryRecords gets the whoisHistoryRecords property value. Retrieve details about whoisHistoryRecord objects.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) GetWhoisHistoryRecords()([]WhoisHistoryRecordable) { val, err := m.GetBackingStore().Get("whoisHistoryRecords") if err != nil { @@ -446,7 +473,7 @@ func (m *ThreatIntelligence) GetWhoisHistoryRecords()([]WhoisHistoryRecordable) } return nil } -// GetWhoisRecords gets the whoisRecords property value. The whoisRecords property +// GetWhoisRecords gets the whoisRecords property value. A list of whoisRecord objects. func (m *ThreatIntelligence) GetWhoisRecords()([]WhoisRecordable) { val, err := m.GetBackingStore().Get("whoisRecords") if err != nil { @@ -523,6 +550,18 @@ func (m *ThreatIntelligence) Serialize(writer i878a80d2330e89d26896388a3f487eef2 return err } } + if m.GetHostPorts() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetHostPorts())) + for i, v := range m.GetHostPorts() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("hostPorts", cast) + if err != nil { + return err + } + } if m.GetHosts() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetHosts())) for i, v := range m.GetHosts() { @@ -657,7 +696,7 @@ func (m *ThreatIntelligence) Serialize(writer i878a80d2330e89d26896388a3f487eef2 } return nil } -// SetArticleIndicators sets the articleIndicators property value. Refers to indicators of threat or compromise highlighted in an microsoft.graph.security.article.Note: List retrieval is not yet supported. +// SetArticleIndicators sets the articleIndicators property value. Refers to indicators of threat or compromise highlighted in an article.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) SetArticleIndicators(value []ArticleIndicatorable)() { err := m.GetBackingStore().Set("articleIndicators", value) if err != nil { @@ -671,42 +710,49 @@ func (m *ThreatIntelligence) SetArticles(value []Articleable)() { panic(err) } } -// SetHostComponents sets the hostComponents property value. Retrieve details about microsoft.graph.security.hostComponent objects.Note: List retrieval is not yet supported. +// SetHostComponents sets the hostComponents property value. Retrieve details about hostComponent objects.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) SetHostComponents(value []HostComponentable)() { err := m.GetBackingStore().Set("hostComponents", value) if err != nil { panic(err) } } -// SetHostCookies sets the hostCookies property value. Retrieve details about microsoft.graph.security.hostCookie objects.Note: List retrieval is not yet supported. +// SetHostCookies sets the hostCookies property value. Retrieve details about hostCookie objects.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) SetHostCookies(value []HostCookieable)() { err := m.GetBackingStore().Set("hostCookies", value) if err != nil { panic(err) } } -// SetHostPairs sets the hostPairs property value. Retrieve details about microsoft.graph.security.hostTracker objects.Note: List retrieval is not yet supported. +// SetHostPairs sets the hostPairs property value. Retrieve details about hostTracker objects.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) SetHostPairs(value []HostPairable)() { err := m.GetBackingStore().Set("hostPairs", value) if err != nil { panic(err) } } -// SetHosts sets the hosts property value. Refers to microsoft.graph.security.host objects that Microsoft Threat Intelligence has observed.Note: List retrieval is not yet supported. +// SetHostPorts sets the hostPorts property value. The hostPorts property +func (m *ThreatIntelligence) SetHostPorts(value []HostPortable)() { + err := m.GetBackingStore().Set("hostPorts", value) + if err != nil { + panic(err) + } +} +// SetHosts sets the hosts property value. Refers to host objects that Microsoft Threat Intelligence has observed.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) SetHosts(value []Hostable)() { err := m.GetBackingStore().Set("hosts", value) if err != nil { panic(err) } } -// SetHostSslCertificates sets the hostSslCertificates property value. The hostSslCertificates property +// SetHostSslCertificates sets the hostSslCertificates property value. Retrieve details about hostSslCertificate objects.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) SetHostSslCertificates(value []HostSslCertificateable)() { err := m.GetBackingStore().Set("hostSslCertificates", value) if err != nil { panic(err) } } -// SetHostTrackers sets the hostTrackers property value. Retrieve details about microsoft.graph.security.hostTracker objects.Note: List retrieval is not yet supported. +// SetHostTrackers sets the hostTrackers property value. Retrieve details about hostTracker objects.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) SetHostTrackers(value []HostTrackerable)() { err := m.GetBackingStore().Set("hostTrackers", value) if err != nil { @@ -727,42 +773,42 @@ func (m *ThreatIntelligence) SetIntelProfiles(value []IntelligenceProfileable)() panic(err) } } -// SetPassiveDnsRecords sets the passiveDnsRecords property value. Retrieve details about microsoft.graph.security.passiveDnsRecord objects.Note: List retrieval is not yet supported. +// SetPassiveDnsRecords sets the passiveDnsRecords property value. Retrieve details about passiveDnsRecord objects.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) SetPassiveDnsRecords(value []PassiveDnsRecordable)() { err := m.GetBackingStore().Set("passiveDnsRecords", value) if err != nil { panic(err) } } -// SetSslCertificates sets the sslCertificates property value. The sslCertificates property +// SetSslCertificates sets the sslCertificates property value. Retrieve details about sslCertificate objects.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) SetSslCertificates(value []SslCertificateable)() { err := m.GetBackingStore().Set("sslCertificates", value) if err != nil { panic(err) } } -// SetSubdomains sets the subdomains property value. Retrieve details about the microsoft.graph.security.subdomain.Note: List retrieval is not yet supported. +// SetSubdomains sets the subdomains property value. Retrieve details about the subdomain.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) SetSubdomains(value []Subdomainable)() { err := m.GetBackingStore().Set("subdomains", value) if err != nil { panic(err) } } -// SetVulnerabilities sets the vulnerabilities property value. Retrieve details about microsoft.graph.security.vulnerabilities.Note: List retrieval is not yet supported. +// SetVulnerabilities sets the vulnerabilities property value. Retrieve details about vulnerabilities.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) SetVulnerabilities(value []Vulnerabilityable)() { err := m.GetBackingStore().Set("vulnerabilities", value) if err != nil { panic(err) } } -// SetWhoisHistoryRecords sets the whoisHistoryRecords property value. The whoisHistoryRecords property +// SetWhoisHistoryRecords sets the whoisHistoryRecords property value. Retrieve details about whoisHistoryRecord objects.Note: List retrieval is not yet supported. func (m *ThreatIntelligence) SetWhoisHistoryRecords(value []WhoisHistoryRecordable)() { err := m.GetBackingStore().Set("whoisHistoryRecords", value) if err != nil { panic(err) } } -// SetWhoisRecords sets the whoisRecords property value. The whoisRecords property +// SetWhoisRecords sets the whoisRecords property value. A list of whoisRecord objects. func (m *ThreatIntelligence) SetWhoisRecords(value []WhoisRecordable)() { err := m.GetBackingStore().Set("whoisRecords", value) if err != nil { @@ -778,6 +824,7 @@ type ThreatIntelligenceable interface { GetHostComponents()([]HostComponentable) GetHostCookies()([]HostCookieable) GetHostPairs()([]HostPairable) + GetHostPorts()([]HostPortable) GetHosts()([]Hostable) GetHostSslCertificates()([]HostSslCertificateable) GetHostTrackers()([]HostTrackerable) @@ -794,6 +841,7 @@ type ThreatIntelligenceable interface { SetHostComponents(value []HostComponentable)() SetHostCookies(value []HostCookieable)() SetHostPairs(value []HostPairable)() + SetHostPorts(value []HostPortable)() SetHosts(value []Hostable)() SetHostSslCertificates(value []HostSslCertificateable)() SetHostTrackers(value []HostTrackerable)() diff --git a/models/security/user_asset_identifier.go b/models/security/user_asset_identifier.go index 83a465286b8..59c0ff79192 100644 --- a/models/security/user_asset_identifier.go +++ b/models/security/user_asset_identifier.go @@ -83,3 +83,6 @@ func SerializeUserAssetIdentifier(values []UserAssetIdentifier) []string { } return result } +func (i UserAssetIdentifier) isMultiValue() bool { + return false +} diff --git a/models/security/user_mailbox_setting.go b/models/security/user_mailbox_setting.go index 1ccd14c99d3..2d752bfe1de 100644 --- a/models/security/user_mailbox_setting.go +++ b/models/security/user_mailbox_setting.go @@ -1,6 +1,7 @@ package security import ( "errors" + "strings" ) // type UserMailboxSetting int @@ -28,51 +29,60 @@ const ( ) func (i UserMailboxSetting) String() string { - return []string{"none", "junkMailDeletion", "isFromAddressInAddressBook", "isFromAddressInAddressSafeList", "isFromAddressInAddressBlockList", "isFromAddressInAddressImplicitSafeList", "isFromAddressInAddressImplicitJunkList", "isFromDomainInDomainSafeList", "isFromDomainInDomainBlockList", "isRecipientInRecipientSafeList", "customRule", "junkMailRule", "senderPraPresent", "fromFirstTimeSender", "exclusive", "priorSeenPass", "senderAuthenticationSucceeded", "isJunkMailRuleEnabled", "unknownFutureValue"}[i] + var values []string + for p := UserMailboxSetting(1); p <= UNKNOWNFUTUREVALUE_USERMAILBOXSETTING; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "junkMailDeletion", "isFromAddressInAddressBook", "isFromAddressInAddressSafeList", "isFromAddressInAddressBlockList", "isFromAddressInAddressImplicitSafeList", "isFromAddressInAddressImplicitJunkList", "isFromDomainInDomainSafeList", "isFromDomainInDomainBlockList", "isRecipientInRecipientSafeList", "customRule", "junkMailRule", "senderPraPresent", "fromFirstTimeSender", "exclusive", "priorSeenPass", "senderAuthenticationSucceeded", "isJunkMailRuleEnabled", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseUserMailboxSetting(v string) (any, error) { - result := NONE_USERMAILBOXSETTING - switch v { - case "none": - result = NONE_USERMAILBOXSETTING - case "junkMailDeletion": - result = JUNKMAILDELETION_USERMAILBOXSETTING - case "isFromAddressInAddressBook": - result = ISFROMADDRESSINADDRESSBOOK_USERMAILBOXSETTING - case "isFromAddressInAddressSafeList": - result = ISFROMADDRESSINADDRESSSAFELIST_USERMAILBOXSETTING - case "isFromAddressInAddressBlockList": - result = ISFROMADDRESSINADDRESSBLOCKLIST_USERMAILBOXSETTING - case "isFromAddressInAddressImplicitSafeList": - result = ISFROMADDRESSINADDRESSIMPLICITSAFELIST_USERMAILBOXSETTING - case "isFromAddressInAddressImplicitJunkList": - result = ISFROMADDRESSINADDRESSIMPLICITJUNKLIST_USERMAILBOXSETTING - case "isFromDomainInDomainSafeList": - result = ISFROMDOMAININDOMAINSAFELIST_USERMAILBOXSETTING - case "isFromDomainInDomainBlockList": - result = ISFROMDOMAININDOMAINBLOCKLIST_USERMAILBOXSETTING - case "isRecipientInRecipientSafeList": - result = ISRECIPIENTINRECIPIENTSAFELIST_USERMAILBOXSETTING - case "customRule": - result = CUSTOMRULE_USERMAILBOXSETTING - case "junkMailRule": - result = JUNKMAILRULE_USERMAILBOXSETTING - case "senderPraPresent": - result = SENDERPRAPRESENT_USERMAILBOXSETTING - case "fromFirstTimeSender": - result = FROMFIRSTTIMESENDER_USERMAILBOXSETTING - case "exclusive": - result = EXCLUSIVE_USERMAILBOXSETTING - case "priorSeenPass": - result = PRIORSEENPASS_USERMAILBOXSETTING - case "senderAuthenticationSucceeded": - result = SENDERAUTHENTICATIONSUCCEEDED_USERMAILBOXSETTING - case "isJunkMailRuleEnabled": - result = ISJUNKMAILRULEENABLED_USERMAILBOXSETTING - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_USERMAILBOXSETTING - default: - return 0, errors.New("Unknown UserMailboxSetting value: " + v) + var result UserMailboxSetting + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_USERMAILBOXSETTING + case "junkMailDeletion": + result |= JUNKMAILDELETION_USERMAILBOXSETTING + case "isFromAddressInAddressBook": + result |= ISFROMADDRESSINADDRESSBOOK_USERMAILBOXSETTING + case "isFromAddressInAddressSafeList": + result |= ISFROMADDRESSINADDRESSSAFELIST_USERMAILBOXSETTING + case "isFromAddressInAddressBlockList": + result |= ISFROMADDRESSINADDRESSBLOCKLIST_USERMAILBOXSETTING + case "isFromAddressInAddressImplicitSafeList": + result |= ISFROMADDRESSINADDRESSIMPLICITSAFELIST_USERMAILBOXSETTING + case "isFromAddressInAddressImplicitJunkList": + result |= ISFROMADDRESSINADDRESSIMPLICITJUNKLIST_USERMAILBOXSETTING + case "isFromDomainInDomainSafeList": + result |= ISFROMDOMAININDOMAINSAFELIST_USERMAILBOXSETTING + case "isFromDomainInDomainBlockList": + result |= ISFROMDOMAININDOMAINBLOCKLIST_USERMAILBOXSETTING + case "isRecipientInRecipientSafeList": + result |= ISRECIPIENTINRECIPIENTSAFELIST_USERMAILBOXSETTING + case "customRule": + result |= CUSTOMRULE_USERMAILBOXSETTING + case "junkMailRule": + result |= JUNKMAILRULE_USERMAILBOXSETTING + case "senderPraPresent": + result |= SENDERPRAPRESENT_USERMAILBOXSETTING + case "fromFirstTimeSender": + result |= FROMFIRSTTIMESENDER_USERMAILBOXSETTING + case "exclusive": + result |= EXCLUSIVE_USERMAILBOXSETTING + case "priorSeenPass": + result |= PRIORSEENPASS_USERMAILBOXSETTING + case "senderAuthenticationSucceeded": + result |= SENDERAUTHENTICATIONSUCCEEDED_USERMAILBOXSETTING + case "isJunkMailRuleEnabled": + result |= ISJUNKMAILRULEENABLED_USERMAILBOXSETTING + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_USERMAILBOXSETTING + default: + return 0, errors.New("Unknown UserMailboxSetting value: " + v) + } } return &result, nil } @@ -83,3 +93,6 @@ func SerializeUserMailboxSetting(values []UserMailboxSetting) []string { } return result } +func (i UserMailboxSetting) isMultiValue() bool { + return true +} diff --git a/models/security/vm_cloud_provider.go b/models/security/vm_cloud_provider.go index 66f945a8969..3f952bbe652 100644 --- a/models/security/vm_cloud_provider.go +++ b/models/security/vm_cloud_provider.go @@ -35,3 +35,6 @@ func SerializeVmCloudProvider(values []VmCloudProvider) []string { } return result } +func (i VmCloudProvider) isMultiValue() bool { + return false +} diff --git a/models/security/vulnerability_severity.go b/models/security/vulnerability_severity.go index e06ffa44b53..0e8abb63e51 100644 --- a/models/security/vulnerability_severity.go +++ b/models/security/vulnerability_severity.go @@ -44,3 +44,6 @@ func SerializeVulnerabilitySeverity(values []VulnerabilitySeverity) []string { } return result } +func (i VulnerabilitySeverity) isMultiValue() bool { + return false +} diff --git a/models/security/watermark_layout.go b/models/security/watermark_layout.go index a030e9c183a..8752ccaeaef 100644 --- a/models/security/watermark_layout.go +++ b/models/security/watermark_layout.go @@ -32,3 +32,6 @@ func SerializeWatermarkLayout(values []WatermarkLayout) []string { } return result } +func (i WatermarkLayout) isMultiValue() bool { + return false +} diff --git a/models/security/whois_base_record.go b/models/security/whois_base_record.go index c500adbf81f..31a66a23aa5 100644 --- a/models/security/whois_base_record.go +++ b/models/security/whois_base_record.go @@ -41,7 +41,7 @@ func CreateWhoisBaseRecordFromDiscriminatorValue(parseNode i878a80d2330e89d26896 } return NewWhoisBaseRecord(), nil } -// GetAbuse gets the abuse property value. The abuse property +// GetAbuse gets the abuse property value. The contact information for the abuse contact. func (m *WhoisBaseRecord) GetAbuse()(WhoisContactable) { val, err := m.GetBackingStore().Get("abuse") if err != nil { @@ -52,7 +52,7 @@ func (m *WhoisBaseRecord) GetAbuse()(WhoisContactable) { } return nil } -// GetAdmin gets the admin property value. The admin property +// GetAdmin gets the admin property value. The contact information for the admin contact. func (m *WhoisBaseRecord) GetAdmin()(WhoisContactable) { val, err := m.GetBackingStore().Get("admin") if err != nil { @@ -63,7 +63,7 @@ func (m *WhoisBaseRecord) GetAdmin()(WhoisContactable) { } return nil } -// GetBilling gets the billing property value. The billing property +// GetBilling gets the billing property value. The contact information for the billing contact. func (m *WhoisBaseRecord) GetBilling()(WhoisContactable) { val, err := m.GetBackingStore().Get("billing") if err != nil { @@ -74,7 +74,7 @@ func (m *WhoisBaseRecord) GetBilling()(WhoisContactable) { } return nil } -// GetDomainStatus gets the domainStatus property value. The domainStatus property +// GetDomainStatus gets the domainStatus property value. The domain status for this WHOIS object. func (m *WhoisBaseRecord) GetDomainStatus()(*string) { val, err := m.GetBackingStore().Get("domainStatus") if err != nil { @@ -85,7 +85,7 @@ func (m *WhoisBaseRecord) GetDomainStatus()(*string) { } return nil } -// GetExpirationDateTime gets the expirationDateTime property value. The expirationDateTime property +// GetExpirationDateTime gets the expirationDateTime property value. The date and time when this WHOIS record expires with the registrar. 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. func (m *WhoisBaseRecord) GetExpirationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("expirationDateTime") if err != nil { @@ -287,7 +287,7 @@ func (m *WhoisBaseRecord) GetFieldDeserializers()(map[string]func(i878a80d2330e8 } return res } -// GetFirstSeenDateTime gets the firstSeenDateTime property value. The firstSeenDateTime property +// GetFirstSeenDateTime gets the firstSeenDateTime property value. The first seen date and time of this WHOIS record. 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. func (m *WhoisBaseRecord) GetFirstSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("firstSeenDateTime") if err != nil { @@ -309,7 +309,7 @@ func (m *WhoisBaseRecord) GetHost()(Hostable) { } return nil } -// GetLastSeenDateTime gets the lastSeenDateTime property value. The lastSeenDateTime property +// GetLastSeenDateTime gets the lastSeenDateTime property value. The last seen date and time of this WHOIS record. 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. func (m *WhoisBaseRecord) GetLastSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastSeenDateTime") if err != nil { @@ -320,7 +320,7 @@ func (m *WhoisBaseRecord) GetLastSeenDateTime()(*i336074805fc853987abe6f7fe3ad97 } return nil } -// GetLastUpdateDateTime gets the lastUpdateDateTime property value. The lastUpdateDateTime property +// GetLastUpdateDateTime gets the lastUpdateDateTime property value. The date and time when this WHOIS record was last modified. 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. func (m *WhoisBaseRecord) GetLastUpdateDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastUpdateDateTime") if err != nil { @@ -331,7 +331,7 @@ func (m *WhoisBaseRecord) GetLastUpdateDateTime()(*i336074805fc853987abe6f7fe3ad } return nil } -// GetNameservers gets the nameservers property value. The nameservers property +// GetNameservers gets the nameservers property value. The nameservers for this WHOIS object. func (m *WhoisBaseRecord) GetNameservers()([]WhoisNameserverable) { val, err := m.GetBackingStore().Get("nameservers") if err != nil { @@ -342,7 +342,7 @@ func (m *WhoisBaseRecord) GetNameservers()([]WhoisNameserverable) { } return nil } -// GetNoc gets the noc property value. The noc property +// GetNoc gets the noc property value. The contact information for the noc contact. func (m *WhoisBaseRecord) GetNoc()(WhoisContactable) { val, err := m.GetBackingStore().Get("noc") if err != nil { @@ -353,7 +353,7 @@ func (m *WhoisBaseRecord) GetNoc()(WhoisContactable) { } return nil } -// GetRawWhoisText gets the rawWhoisText property value. The rawWhoisText property +// GetRawWhoisText gets the rawWhoisText property value. The raw WHOIS details for this WHOIS object. func (m *WhoisBaseRecord) GetRawWhoisText()(*string) { val, err := m.GetBackingStore().Get("rawWhoisText") if err != nil { @@ -364,7 +364,7 @@ func (m *WhoisBaseRecord) GetRawWhoisText()(*string) { } return nil } -// GetRegistrant gets the registrant property value. The registrant property +// GetRegistrant gets the registrant property value. The contact information for the registrant contact. func (m *WhoisBaseRecord) GetRegistrant()(WhoisContactable) { val, err := m.GetBackingStore().Get("registrant") if err != nil { @@ -375,7 +375,7 @@ func (m *WhoisBaseRecord) GetRegistrant()(WhoisContactable) { } return nil } -// GetRegistrar gets the registrar property value. The registrar property +// GetRegistrar gets the registrar property value. The contact information for the registrar contact. func (m *WhoisBaseRecord) GetRegistrar()(WhoisContactable) { val, err := m.GetBackingStore().Get("registrar") if err != nil { @@ -386,7 +386,7 @@ func (m *WhoisBaseRecord) GetRegistrar()(WhoisContactable) { } return nil } -// GetRegistrationDateTime gets the registrationDateTime property value. The registrationDateTime property +// GetRegistrationDateTime gets the registrationDateTime property value. The date and time when this WHOIS record was registered with a registrar. 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. func (m *WhoisBaseRecord) GetRegistrationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("registrationDateTime") if err != nil { @@ -397,7 +397,7 @@ func (m *WhoisBaseRecord) GetRegistrationDateTime()(*i336074805fc853987abe6f7fe3 } return nil } -// GetTechnical gets the technical property value. The technical property +// GetTechnical gets the technical property value. The contact information for the technical contact. func (m *WhoisBaseRecord) GetTechnical()(WhoisContactable) { val, err := m.GetBackingStore().Get("technical") if err != nil { @@ -408,7 +408,7 @@ func (m *WhoisBaseRecord) GetTechnical()(WhoisContactable) { } return nil } -// GetWhoisServer gets the whoisServer property value. The whoisServer property +// GetWhoisServer gets the whoisServer property value. The WHOIS server that provides the details. func (m *WhoisBaseRecord) GetWhoisServer()(*string) { val, err := m.GetBackingStore().Get("whoisServer") if err != nil { @@ -419,7 +419,7 @@ func (m *WhoisBaseRecord) GetWhoisServer()(*string) { } return nil } -// GetZone gets the zone property value. The zone property +// GetZone gets the zone property value. The contact information for the zone contact. func (m *WhoisBaseRecord) GetZone()(WhoisContactable) { val, err := m.GetBackingStore().Get("zone") if err != nil { @@ -552,42 +552,42 @@ func (m *WhoisBaseRecord) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0 } return nil } -// SetAbuse sets the abuse property value. The abuse property +// SetAbuse sets the abuse property value. The contact information for the abuse contact. func (m *WhoisBaseRecord) SetAbuse(value WhoisContactable)() { err := m.GetBackingStore().Set("abuse", value) if err != nil { panic(err) } } -// SetAdmin sets the admin property value. The admin property +// SetAdmin sets the admin property value. The contact information for the admin contact. func (m *WhoisBaseRecord) SetAdmin(value WhoisContactable)() { err := m.GetBackingStore().Set("admin", value) if err != nil { panic(err) } } -// SetBilling sets the billing property value. The billing property +// SetBilling sets the billing property value. The contact information for the billing contact. func (m *WhoisBaseRecord) SetBilling(value WhoisContactable)() { err := m.GetBackingStore().Set("billing", value) if err != nil { panic(err) } } -// SetDomainStatus sets the domainStatus property value. The domainStatus property +// SetDomainStatus sets the domainStatus property value. The domain status for this WHOIS object. func (m *WhoisBaseRecord) SetDomainStatus(value *string)() { err := m.GetBackingStore().Set("domainStatus", value) if err != nil { panic(err) } } -// SetExpirationDateTime sets the expirationDateTime property value. The expirationDateTime property +// SetExpirationDateTime sets the expirationDateTime property value. The date and time when this WHOIS record expires with the registrar. 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. func (m *WhoisBaseRecord) SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("expirationDateTime", value) if err != nil { panic(err) } } -// SetFirstSeenDateTime sets the firstSeenDateTime property value. The firstSeenDateTime property +// SetFirstSeenDateTime sets the firstSeenDateTime property value. The first seen date and time of this WHOIS record. 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. func (m *WhoisBaseRecord) SetFirstSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("firstSeenDateTime", value) if err != nil { @@ -601,77 +601,77 @@ func (m *WhoisBaseRecord) SetHost(value Hostable)() { panic(err) } } -// SetLastSeenDateTime sets the lastSeenDateTime property value. The lastSeenDateTime property +// SetLastSeenDateTime sets the lastSeenDateTime property value. The last seen date and time of this WHOIS record. 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. func (m *WhoisBaseRecord) SetLastSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastSeenDateTime", value) if err != nil { panic(err) } } -// SetLastUpdateDateTime sets the lastUpdateDateTime property value. The lastUpdateDateTime property +// SetLastUpdateDateTime sets the lastUpdateDateTime property value. The date and time when this WHOIS record was last modified. 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. func (m *WhoisBaseRecord) SetLastUpdateDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastUpdateDateTime", value) if err != nil { panic(err) } } -// SetNameservers sets the nameservers property value. The nameservers property +// SetNameservers sets the nameservers property value. The nameservers for this WHOIS object. func (m *WhoisBaseRecord) SetNameservers(value []WhoisNameserverable)() { err := m.GetBackingStore().Set("nameservers", value) if err != nil { panic(err) } } -// SetNoc sets the noc property value. The noc property +// SetNoc sets the noc property value. The contact information for the noc contact. func (m *WhoisBaseRecord) SetNoc(value WhoisContactable)() { err := m.GetBackingStore().Set("noc", value) if err != nil { panic(err) } } -// SetRawWhoisText sets the rawWhoisText property value. The rawWhoisText property +// SetRawWhoisText sets the rawWhoisText property value. The raw WHOIS details for this WHOIS object. func (m *WhoisBaseRecord) SetRawWhoisText(value *string)() { err := m.GetBackingStore().Set("rawWhoisText", value) if err != nil { panic(err) } } -// SetRegistrant sets the registrant property value. The registrant property +// SetRegistrant sets the registrant property value. The contact information for the registrant contact. func (m *WhoisBaseRecord) SetRegistrant(value WhoisContactable)() { err := m.GetBackingStore().Set("registrant", value) if err != nil { panic(err) } } -// SetRegistrar sets the registrar property value. The registrar property +// SetRegistrar sets the registrar property value. The contact information for the registrar contact. func (m *WhoisBaseRecord) SetRegistrar(value WhoisContactable)() { err := m.GetBackingStore().Set("registrar", value) if err != nil { panic(err) } } -// SetRegistrationDateTime sets the registrationDateTime property value. The registrationDateTime property +// SetRegistrationDateTime sets the registrationDateTime property value. The date and time when this WHOIS record was registered with a registrar. 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. func (m *WhoisBaseRecord) SetRegistrationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("registrationDateTime", value) if err != nil { panic(err) } } -// SetTechnical sets the technical property value. The technical property +// SetTechnical sets the technical property value. The contact information for the technical contact. func (m *WhoisBaseRecord) SetTechnical(value WhoisContactable)() { err := m.GetBackingStore().Set("technical", value) if err != nil { panic(err) } } -// SetWhoisServer sets the whoisServer property value. The whoisServer property +// SetWhoisServer sets the whoisServer property value. The WHOIS server that provides the details. func (m *WhoisBaseRecord) SetWhoisServer(value *string)() { err := m.GetBackingStore().Set("whoisServer", value) if err != nil { panic(err) } } -// SetZone sets the zone property value. The zone property +// SetZone sets the zone property value. The contact information for the zone contact. func (m *WhoisBaseRecord) SetZone(value WhoisContactable)() { err := m.GetBackingStore().Set("zone", value) if err != nil { diff --git a/models/security/whois_contact.go b/models/security/whois_contact.go index b3dd29c0843..043545b62df 100644 --- a/models/security/whois_contact.go +++ b/models/security/whois_contact.go @@ -35,7 +35,7 @@ func (m *WhoisContact) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetAddress gets the address property value. The address property +// GetAddress gets the address property value. The physical address of the entity. func (m *WhoisContact) GetAddress()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PhysicalAddressable) { val, err := m.GetBackingStore().Get("address") if err != nil { @@ -50,7 +50,7 @@ func (m *WhoisContact) GetAddress()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9 func (m *WhoisContact) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetEmail gets the email property value. The email property +// GetEmail gets the email property value. The email of this WHOIS contact. func (m *WhoisContact) GetEmail()(*string) { val, err := m.GetBackingStore().Get("email") if err != nil { @@ -61,7 +61,7 @@ func (m *WhoisContact) GetEmail()(*string) { } return nil } -// GetFax gets the fax property value. The fax property +// GetFax gets the fax property value. The fax of this WHOIS contact. No format is guaranteed. func (m *WhoisContact) GetFax()(*string) { val, err := m.GetBackingStore().Get("fax") if err != nil { @@ -147,7 +147,7 @@ func (m *WhoisContact) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2 } return res } -// GetName gets the name property value. The name property +// GetName gets the name property value. The name of this WHOIS contact. func (m *WhoisContact) GetName()(*string) { val, err := m.GetBackingStore().Get("name") if err != nil { @@ -169,7 +169,7 @@ func (m *WhoisContact) GetOdataType()(*string) { } return nil } -// GetOrganization gets the organization property value. The organization property +// GetOrganization gets the organization property value. The organization of this WHOIS contact. func (m *WhoisContact) GetOrganization()(*string) { val, err := m.GetBackingStore().Get("organization") if err != nil { @@ -180,7 +180,7 @@ func (m *WhoisContact) GetOrganization()(*string) { } return nil } -// GetTelephone gets the telephone property value. The telephone property +// GetTelephone gets the telephone property value. The telephone of this WHOIS contact. No format is guaranteed. func (m *WhoisContact) GetTelephone()(*string) { val, err := m.GetBackingStore().Get("telephone") if err != nil { @@ -250,7 +250,7 @@ func (m *WhoisContact) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetAddress sets the address property value. The address property +// SetAddress sets the address property value. The physical address of the entity. func (m *WhoisContact) SetAddress(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PhysicalAddressable)() { err := m.GetBackingStore().Set("address", value) if err != nil { @@ -261,21 +261,21 @@ func (m *WhoisContact) SetAddress(value ie233ee762e29b4ba6970aa2a2efce4b7fde1169 func (m *WhoisContact) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetEmail sets the email property value. The email property +// SetEmail sets the email property value. The email of this WHOIS contact. func (m *WhoisContact) SetEmail(value *string)() { err := m.GetBackingStore().Set("email", value) if err != nil { panic(err) } } -// SetFax sets the fax property value. The fax property +// SetFax sets the fax property value. The fax of this WHOIS contact. No format is guaranteed. func (m *WhoisContact) SetFax(value *string)() { err := m.GetBackingStore().Set("fax", value) if err != nil { panic(err) } } -// SetName sets the name property value. The name property +// SetName sets the name property value. The name of this WHOIS contact. func (m *WhoisContact) SetName(value *string)() { err := m.GetBackingStore().Set("name", value) if err != nil { @@ -289,14 +289,14 @@ func (m *WhoisContact) SetOdataType(value *string)() { panic(err) } } -// SetOrganization sets the organization property value. The organization property +// SetOrganization sets the organization property value. The organization of this WHOIS contact. func (m *WhoisContact) SetOrganization(value *string)() { err := m.GetBackingStore().Set("organization", value) if err != nil { panic(err) } } -// SetTelephone sets the telephone property value. The telephone property +// SetTelephone sets the telephone property value. The telephone of this WHOIS contact. No format is guaranteed. func (m *WhoisContact) SetTelephone(value *string)() { err := m.GetBackingStore().Set("telephone", value) if err != nil { diff --git a/models/security/whois_nameserver.go b/models/security/whois_nameserver.go index 0c575113b04..293df165fac 100644 --- a/models/security/whois_nameserver.go +++ b/models/security/whois_nameserver.go @@ -84,7 +84,7 @@ func (m *WhoisNameserver) GetFieldDeserializers()(map[string]func(i878a80d2330e8 } return res } -// GetFirstSeenDateTime gets the firstSeenDateTime property value. The firstSeenDateTime property +// GetFirstSeenDateTime gets the firstSeenDateTime property value. The first seen date and time of this WHOIS contact. 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. func (m *WhoisNameserver) GetFirstSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("firstSeenDateTime") if err != nil { @@ -106,7 +106,7 @@ func (m *WhoisNameserver) GetHost()(Hostable) { } return nil } -// GetLastSeenDateTime gets the lastSeenDateTime property value. The lastSeenDateTime property +// GetLastSeenDateTime gets the lastSeenDateTime property value. The last seen date and time of this WHOIS contact. 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. func (m *WhoisNameserver) GetLastSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastSeenDateTime") if err != nil { @@ -173,7 +173,7 @@ func (m *WhoisNameserver) SetAdditionalData(value map[string]any)() { func (m *WhoisNameserver) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetFirstSeenDateTime sets the firstSeenDateTime property value. The firstSeenDateTime property +// SetFirstSeenDateTime sets the firstSeenDateTime property value. The first seen date and time of this WHOIS contact. 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. func (m *WhoisNameserver) SetFirstSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("firstSeenDateTime", value) if err != nil { @@ -187,7 +187,7 @@ func (m *WhoisNameserver) SetHost(value Hostable)() { panic(err) } } -// SetLastSeenDateTime sets the lastSeenDateTime property value. The lastSeenDateTime property +// SetLastSeenDateTime sets the lastSeenDateTime property value. The last seen date and time of this WHOIS contact. 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. func (m *WhoisNameserver) SetLastSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastSeenDateTime", value) if err != nil { diff --git a/models/security/whois_record.go b/models/security/whois_record.go index afa1e067539..78521464bcc 100644 --- a/models/security/whois_record.go +++ b/models/security/whois_record.go @@ -42,7 +42,7 @@ func (m *WhoisRecord) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26 } return res } -// GetHistory gets the history property value. The history property +// GetHistory gets the history property value. The collection of historical records associated to this WHOIS object. func (m *WhoisRecord) GetHistory()([]WhoisHistoryRecordable) { val, err := m.GetBackingStore().Get("history") if err != nil { @@ -73,7 +73,7 @@ func (m *WhoisRecord) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6 } return nil } -// SetHistory sets the history property value. The history property +// SetHistory sets the history property value. The collection of historical records associated to this WHOIS object. func (m *WhoisRecord) SetHistory(value []WhoisHistoryRecordable)() { err := m.GetBackingStore().Set("history", value) if err != nil { diff --git a/models/security_baseline_compliance_state.go b/models/security_baseline_compliance_state.go index 261e9ef15b2..2847d35fd26 100644 --- a/models/security_baseline_compliance_state.go +++ b/models/security_baseline_compliance_state.go @@ -50,3 +50,6 @@ func SerializeSecurityBaselineComplianceState(values []SecurityBaselineComplianc } return result } +func (i SecurityBaselineComplianceState) isMultiValue() bool { + return false +} diff --git a/models/security_baseline_policy_source_type.go b/models/security_baseline_policy_source_type.go index eabf19c7beb..b8ce2ba0f5f 100644 --- a/models/security_baseline_policy_source_type.go +++ b/models/security_baseline_policy_source_type.go @@ -32,3 +32,6 @@ func SerializeSecurityBaselinePolicySourceType(values []SecurityBaselinePolicySo } return result } +func (i SecurityBaselinePolicySourceType) isMultiValue() bool { + return false +} diff --git a/models/security_network_protocol.go b/models/security_network_protocol.go index 399a41854cc..f8d52f0acf4 100644 --- a/models/security_network_protocol.go +++ b/models/security_network_protocol.go @@ -98,3 +98,6 @@ func SerializeSecurityNetworkProtocol(values []SecurityNetworkProtocol) []string } return result } +func (i SecurityNetworkProtocol) isMultiValue() bool { + return false +} diff --git a/models/security_resource_type.go b/models/security_resource_type.go index d72be98365c..ad13a0b95ff 100644 --- a/models/security_resource_type.go +++ b/models/security_resource_type.go @@ -38,3 +38,6 @@ func SerializeSecurityResourceType(values []SecurityResourceType) []string { } return result } +func (i SecurityResourceType) isMultiValue() bool { + return false +} diff --git a/models/self_service_sign_up_authentication_flow_configuration.go b/models/self_service_sign_up_authentication_flow_configuration.go index ac26a33587f..3f7935b0b5c 100644 --- a/models/self_service_sign_up_authentication_flow_configuration.go +++ b/models/self_service_sign_up_authentication_flow_configuration.go @@ -63,7 +63,7 @@ func (m *SelfServiceSignUpAuthenticationFlowConfiguration) GetFieldDeserializers } return res } -// GetIsEnabled gets the isEnabled property value. Indicates whether self-service sign-up flow is enabled or disabled. The default value is false. This property is not a key. Required. +// GetIsEnabled gets the isEnabled property value. Indicates whether self-service sign-up flow is enabled or disabled. The default value is false. This property isn't a key. Required. func (m *SelfServiceSignUpAuthenticationFlowConfiguration) GetIsEnabled()(*bool) { val, err := m.GetBackingStore().Get("isEnabled") if err != nil { @@ -118,7 +118,7 @@ func (m *SelfServiceSignUpAuthenticationFlowConfiguration) SetAdditionalData(val func (m *SelfServiceSignUpAuthenticationFlowConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetIsEnabled sets the isEnabled property value. Indicates whether self-service sign-up flow is enabled or disabled. The default value is false. This property is not a key. Required. +// SetIsEnabled sets the isEnabled property value. Indicates whether self-service sign-up flow is enabled or disabled. The default value is false. This property isn't a key. Required. func (m *SelfServiceSignUpAuthenticationFlowConfiguration) SetIsEnabled(value *bool)() { err := m.GetBackingStore().Set("isEnabled", value) if err != nil { diff --git a/models/sensitive_type_scope.go b/models/sensitive_type_scope.go index 68d09101605..dd990b75da3 100644 --- a/models/sensitive_type_scope.go +++ b/models/sensitive_type_scope.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type SensitiveTypeScope int @@ -11,17 +12,26 @@ const ( ) func (i SensitiveTypeScope) String() string { - return []string{"fullDocument", "partialDocument"}[i] + var values []string + for p := SensitiveTypeScope(1); p <= PARTIALDOCUMENT_SENSITIVETYPESCOPE; p <<= 1 { + if i&p == p { + values = append(values, []string{"fullDocument", "partialDocument"}[p]) + } + } + return strings.Join(values, ",") } func ParseSensitiveTypeScope(v string) (any, error) { - result := FULLDOCUMENT_SENSITIVETYPESCOPE - switch v { - case "fullDocument": - result = FULLDOCUMENT_SENSITIVETYPESCOPE - case "partialDocument": - result = PARTIALDOCUMENT_SENSITIVETYPESCOPE - default: - return 0, errors.New("Unknown SensitiveTypeScope value: " + v) + var result SensitiveTypeScope + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "fullDocument": + result |= FULLDOCUMENT_SENSITIVETYPESCOPE + case "partialDocument": + result |= PARTIALDOCUMENT_SENSITIVETYPESCOPE + default: + return 0, errors.New("Unknown SensitiveTypeScope value: " + v) + } } return &result, nil } @@ -32,3 +42,6 @@ func SerializeSensitiveTypeScope(values []SensitiveTypeScope) []string { } return result } +func (i SensitiveTypeScope) isMultiValue() bool { + return true +} diff --git a/models/sensitive_type_source.go b/models/sensitive_type_source.go index afd1dab27be..46d64e303ff 100644 --- a/models/sensitive_type_source.go +++ b/models/sensitive_type_source.go @@ -32,3 +32,6 @@ func SerializeSensitiveTypeSource(values []SensitiveTypeSource) []string { } return result } +func (i SensitiveTypeSource) isMultiValue() bool { + return false +} diff --git a/models/sensitivity.go b/models/sensitivity.go index c3dfc5b9536..cbfd4649cf0 100644 --- a/models/sensitivity.go +++ b/models/sensitivity.go @@ -38,3 +38,6 @@ func SerializeSensitivity(values []Sensitivity) []string { } return result } +func (i Sensitivity) isMultiValue() bool { + return false +} diff --git a/models/sensitivity_label_assignment_method.go b/models/sensitivity_label_assignment_method.go index 1d637a435e8..99ec2c3e2c9 100644 --- a/models/sensitivity_label_assignment_method.go +++ b/models/sensitivity_label_assignment_method.go @@ -38,3 +38,6 @@ func SerializeSensitivityLabelAssignmentMethod(values []SensitivityLabelAssignme } return result } +func (i SensitivityLabelAssignmentMethod) isMultiValue() bool { + return false +} diff --git a/models/sensitivity_label_target.go b/models/sensitivity_label_target.go index a59c964acba..475d8c25692 100644 --- a/models/sensitivity_label_target.go +++ b/models/sensitivity_label_target.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type SensitivityLabelTarget int @@ -14,23 +15,32 @@ const ( ) func (i SensitivityLabelTarget) String() string { - return []string{"email", "site", "unifiedGroup", "teamwork", "unknownFutureValue"}[i] + var values []string + for p := SensitivityLabelTarget(1); p <= UNKNOWNFUTUREVALUE_SENSITIVITYLABELTARGET; p <<= 1 { + if i&p == p { + values = append(values, []string{"email", "site", "unifiedGroup", "teamwork", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseSensitivityLabelTarget(v string) (any, error) { - result := EMAIL_SENSITIVITYLABELTARGET - switch v { - case "email": - result = EMAIL_SENSITIVITYLABELTARGET - case "site": - result = SITE_SENSITIVITYLABELTARGET - case "unifiedGroup": - result = UNIFIEDGROUP_SENSITIVITYLABELTARGET - case "teamwork": - result = TEAMWORK_SENSITIVITYLABELTARGET - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_SENSITIVITYLABELTARGET - default: - return 0, errors.New("Unknown SensitivityLabelTarget value: " + v) + var result SensitivityLabelTarget + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "email": + result |= EMAIL_SENSITIVITYLABELTARGET + case "site": + result |= SITE_SENSITIVITYLABELTARGET + case "unifiedGroup": + result |= UNIFIEDGROUP_SENSITIVITYLABELTARGET + case "teamwork": + result |= TEAMWORK_SENSITIVITYLABELTARGET + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_SENSITIVITYLABELTARGET + default: + return 0, errors.New("Unknown SensitivityLabelTarget value: " + v) + } } return &result, nil } @@ -41,3 +51,6 @@ func SerializeSensitivityLabelTarget(values []SensitivityLabelTarget) []string { } return result } +func (i SensitivityLabelTarget) isMultiValue() bool { + return true +} diff --git a/models/service_announcement_base.go b/models/service_announcement_base.go index ff58624cf91..9812d49cfee 100644 --- a/models/service_announcement_base.go +++ b/models/service_announcement_base.go @@ -40,7 +40,7 @@ func CreateServiceAnnouncementBaseFromDiscriminatorValue(parseNode i878a80d2330e } return NewServiceAnnouncementBase(), nil } -// GetDetails gets the details property value. Additional details about service event. This property doesn't support filters. +// GetDetails gets the details property value. Extra details about service event. This property doesn't support filters. func (m *ServiceAnnouncementBase) GetDetails()([]KeyValuePairable) { val, err := m.GetBackingStore().Get("details") if err != nil { @@ -200,7 +200,7 @@ func (m *ServiceAnnouncementBase) Serialize(writer i878a80d2330e89d26896388a3f48 } return nil } -// SetDetails sets the details property value. Additional details about service event. This property doesn't support filters. +// SetDetails sets the details property value. Extra details about service event. This property doesn't support filters. func (m *ServiceAnnouncementBase) SetDetails(value []KeyValuePairable)() { err := m.GetBackingStore().Set("details", value) if err != nil { diff --git a/models/service_health_classification_type.go b/models/service_health_classification_type.go index e0b6525597a..5f857243fee 100644 --- a/models/service_health_classification_type.go +++ b/models/service_health_classification_type.go @@ -35,3 +35,6 @@ func SerializeServiceHealthClassificationType(values []ServiceHealthClassificati } return result } +func (i ServiceHealthClassificationType) isMultiValue() bool { + return false +} diff --git a/models/service_health_origin.go b/models/service_health_origin.go index 56d023b4b24..891d7aa1b3d 100644 --- a/models/service_health_origin.go +++ b/models/service_health_origin.go @@ -38,3 +38,6 @@ func SerializeServiceHealthOrigin(values []ServiceHealthOrigin) []string { } return result } +func (i ServiceHealthOrigin) isMultiValue() bool { + return false +} diff --git a/models/service_health_status.go b/models/service_health_status.go index 512fb7a8675..fe4da680d58 100644 --- a/models/service_health_status.go +++ b/models/service_health_status.go @@ -80,3 +80,6 @@ func SerializeServiceHealthStatus(values []ServiceHealthStatus) []string { } return result } +func (i ServiceHealthStatus) isMultiValue() bool { + return false +} diff --git a/models/service_hosted_media_config.go b/models/service_hosted_media_config.go index e47346fcbd5..28c757fe83a 100644 --- a/models/service_hosted_media_config.go +++ b/models/service_hosted_media_config.go @@ -42,7 +42,7 @@ func (m *ServiceHostedMediaConfig) GetFieldDeserializers()(map[string]func(i878a } return res } -// GetPreFetchMedia gets the preFetchMedia property value. The list of media to pre-fetch. +// GetPreFetchMedia gets the preFetchMedia property value. The list of media to prefetch. func (m *ServiceHostedMediaConfig) GetPreFetchMedia()([]MediaInfoable) { val, err := m.GetBackingStore().Get("preFetchMedia") if err != nil { @@ -73,7 +73,7 @@ func (m *ServiceHostedMediaConfig) Serialize(writer i878a80d2330e89d26896388a3f4 } return nil } -// SetPreFetchMedia sets the preFetchMedia property value. The list of media to pre-fetch. +// SetPreFetchMedia sets the preFetchMedia property value. The list of media to prefetch. func (m *ServiceHostedMediaConfig) SetPreFetchMedia(value []MediaInfoable)() { err := m.GetBackingStore().Set("preFetchMedia", value) if err != nil { diff --git a/models/service_now_connection_status.go b/models/service_now_connection_status.go index 3a4f8fa3bee..8e74d26a5a0 100644 --- a/models/service_now_connection_status.go +++ b/models/service_now_connection_status.go @@ -38,3 +38,6 @@ func SerializeServiceNowConnectionStatus(values []ServiceNowConnectionStatus) [] } return result } +func (i ServiceNowConnectionStatus) isMultiValue() bool { + return false +} diff --git a/models/service_principal.go b/models/service_principal.go index 0a67c9b240f..78c35f92ebe 100644 --- a/models/service_principal.go +++ b/models/service_principal.go @@ -232,7 +232,7 @@ func (m *ServicePrincipal) GetDisabledByMicrosoftStatus()(*string) { } return nil } -// GetDisplayName gets the displayName property value. The display name for the service principal. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. +// GetDisplayName gets the displayName property value. The display name for the service principal. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. func (m *ServicePrincipal) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") if err != nil { @@ -1975,7 +1975,7 @@ func (m *ServicePrincipal) SetDisabledByMicrosoftStatus(value *string)() { panic(err) } } -// SetDisplayName sets the displayName property value. The display name for the service principal. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. +// SetDisplayName sets the displayName property value. The display name for the service principal. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. func (m *ServicePrincipal) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { diff --git a/models/service_provisioning_xml_error.go b/models/service_provisioning_xml_error.go index 703c2ebc722..db41c0ab0a1 100644 --- a/models/service_provisioning_xml_error.go +++ b/models/service_provisioning_xml_error.go @@ -21,7 +21,7 @@ func NewServiceProvisioningXmlError()(*ServiceProvisioningXmlError) { func CreateServiceProvisioningXmlErrorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewServiceProvisioningXmlError(), nil } -// GetErrorDetail gets the errorDetail property value. Error Information published by the Federated Service as an xml string . +// GetErrorDetail gets the errorDetail property value. Error Information published by the Federated Service as an xml string. func (m *ServiceProvisioningXmlError) GetErrorDetail()(*string) { val, err := m.GetBackingStore().Get("errorDetail") if err != nil { @@ -61,7 +61,7 @@ func (m *ServiceProvisioningXmlError) Serialize(writer i878a80d2330e89d26896388a } return nil } -// SetErrorDetail sets the errorDetail property value. Error Information published by the Federated Service as an xml string . +// SetErrorDetail sets the errorDetail property value. Error Information published by the Federated Service as an xml string. func (m *ServiceProvisioningXmlError) SetErrorDetail(value *string)() { err := m.GetBackingStore().Set("errorDetail", value) if err != nil { diff --git a/models/service_start_type.go b/models/service_start_type.go index fcfd0939807..d03498b4d2a 100644 --- a/models/service_start_type.go +++ b/models/service_start_type.go @@ -38,3 +38,6 @@ func SerializeServiceStartType(values []ServiceStartType) []string { } return result } +func (i ServiceStartType) isMultiValue() bool { + return false +} diff --git a/models/service_update_category.go b/models/service_update_category.go index 39b2a884dad..4881e1c8990 100644 --- a/models/service_update_category.go +++ b/models/service_update_category.go @@ -38,3 +38,6 @@ func SerializeServiceUpdateCategory(values []ServiceUpdateCategory) []string { } return result } +func (i ServiceUpdateCategory) isMultiValue() bool { + return false +} diff --git a/models/service_update_severity.go b/models/service_update_severity.go index 1a3f75dc4bd..dd08413a59e 100644 --- a/models/service_update_severity.go +++ b/models/service_update_severity.go @@ -38,3 +38,6 @@ func SerializeServiceUpdateSeverity(values []ServiceUpdateSeverity) []string { } return result } +func (i ServiceUpdateSeverity) isMultiValue() bool { + return false +} diff --git a/models/setting_source_type.go b/models/setting_source_type.go index f50c39ece7a..60ac6217b68 100644 --- a/models/setting_source_type.go +++ b/models/setting_source_type.go @@ -32,3 +32,6 @@ func SerializeSettingSourceType(values []SettingSourceType) []string { } return result } +func (i SettingSourceType) isMultiValue() bool { + return false +} diff --git a/models/setup_status.go b/models/setup_status.go index bb2f1c54fa2..d083f0b3834 100644 --- a/models/setup_status.go +++ b/models/setup_status.go @@ -50,3 +50,6 @@ func SerializeSetupStatus(values []SetupStatus) []string { } return result } +func (i SetupStatus) isMultiValue() bool { + return false +} diff --git a/models/shared_p_c_account_deletion_policy_type.go b/models/shared_p_c_account_deletion_policy_type.go index 0bac6192d5f..30556a8c4aa 100644 --- a/models/shared_p_c_account_deletion_policy_type.go +++ b/models/shared_p_c_account_deletion_policy_type.go @@ -38,3 +38,6 @@ func SerializeSharedPCAccountDeletionPolicyType(values []SharedPCAccountDeletion } return result } +func (i SharedPCAccountDeletionPolicyType) isMultiValue() bool { + return false +} diff --git a/models/shared_p_c_allowed_account_type.go b/models/shared_p_c_allowed_account_type.go index 4b79b239cda..f9232854efa 100644 --- a/models/shared_p_c_allowed_account_type.go +++ b/models/shared_p_c_allowed_account_type.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Type of accounts that are allowed to share the PC. type SharedPCAllowedAccountType int @@ -15,19 +16,28 @@ const ( ) func (i SharedPCAllowedAccountType) String() string { - return []string{"notConfigured", "guest", "domain"}[i] + var values []string + for p := SharedPCAllowedAccountType(1); p <= DOMAIN_SHAREDPCALLOWEDACCOUNTTYPE; p <<= 1 { + if i&p == p { + values = append(values, []string{"notConfigured", "guest", "domain"}[p]) + } + } + return strings.Join(values, ",") } func ParseSharedPCAllowedAccountType(v string) (any, error) { - result := NOTCONFIGURED_SHAREDPCALLOWEDACCOUNTTYPE - switch v { - case "notConfigured": - result = NOTCONFIGURED_SHAREDPCALLOWEDACCOUNTTYPE - case "guest": - result = GUEST_SHAREDPCALLOWEDACCOUNTTYPE - case "domain": - result = DOMAIN_SHAREDPCALLOWEDACCOUNTTYPE - default: - return 0, errors.New("Unknown SharedPCAllowedAccountType value: " + v) + var result SharedPCAllowedAccountType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "notConfigured": + result |= NOTCONFIGURED_SHAREDPCALLOWEDACCOUNTTYPE + case "guest": + result |= GUEST_SHAREDPCALLOWEDACCOUNTTYPE + case "domain": + result |= DOMAIN_SHAREDPCALLOWEDACCOUNTTYPE + default: + return 0, errors.New("Unknown SharedPCAllowedAccountType value: " + v) + } } return &result, nil } @@ -38,3 +48,6 @@ func SerializeSharedPCAllowedAccountType(values []SharedPCAllowedAccountType) [] } return result } +func (i SharedPCAllowedAccountType) isMultiValue() bool { + return true +} diff --git a/models/sharing_capabilities.go b/models/sharing_capabilities.go index 62b94a710f0..d24c1cf652a 100644 --- a/models/sharing_capabilities.go +++ b/models/sharing_capabilities.go @@ -41,3 +41,6 @@ func SerializeSharingCapabilities(values []SharingCapabilities) []string { } return result } +func (i SharingCapabilities) isMultiValue() bool { + return false +} diff --git a/models/sharing_domain_restriction_mode.go b/models/sharing_domain_restriction_mode.go index 6a84d4c10c8..61d2c393bf2 100644 --- a/models/sharing_domain_restriction_mode.go +++ b/models/sharing_domain_restriction_mode.go @@ -38,3 +38,6 @@ func SerializeSharingDomainRestrictionMode(values []SharingDomainRestrictionMode } return result } +func (i SharingDomainRestrictionMode) isMultiValue() bool { + return false +} diff --git a/models/shift_work_cloud_pc_access_state.go b/models/shift_work_cloud_pc_access_state.go index 2345379cadf..5b69a7daa3a 100644 --- a/models/shift_work_cloud_pc_access_state.go +++ b/models/shift_work_cloud_pc_access_state.go @@ -50,3 +50,6 @@ func SerializeShiftWorkCloudPcAccessState(values []ShiftWorkCloudPcAccessState) } return result } +func (i ShiftWorkCloudPcAccessState) isMultiValue() bool { + return false +} diff --git a/models/sign_in.go b/models/sign_in.go index c12a6803834..08fabfbfdcb 100644 --- a/models/sign_in.go +++ b/models/sign_in.go @@ -20,7 +20,7 @@ func NewSignIn()(*SignIn) { func CreateSignInFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewSignIn(), nil } -// GetAppDisplayName gets the appDisplayName property value. The application name displayed in the Azure Portal. Supports $filter (eq, startsWith). +// GetAppDisplayName gets the appDisplayName property value. The application name displayed in the Azure portal. Supports $filter (eq, startsWith). func (m *SignIn) GetAppDisplayName()(*string) { val, err := m.GetBackingStore().Get("appDisplayName") if err != nil { @@ -108,7 +108,7 @@ func (m *SignIn) GetAuthenticationContextClassReferences()([]AuthenticationConte } return nil } -// GetAuthenticationDetails gets the authenticationDetails property value. The result of the authentication attempt and additional details on the authentication method. +// GetAuthenticationDetails gets the authenticationDetails property value. The result of the authentication attempt and more details on the authentication method. func (m *SignIn) GetAuthenticationDetails()([]AuthenticationDetailable) { val, err := m.GetBackingStore().Get("authenticationDetails") if err != nil { @@ -130,7 +130,7 @@ func (m *SignIn) GetAuthenticationMethodsUsed()([]string) { } return nil } -// GetAuthenticationProcessingDetails gets the authenticationProcessingDetails property value. Additional authentication processing details, such as the agent name in case of PTA/PHS or Server/farm name in case of federated authentication. +// GetAuthenticationProcessingDetails gets the authenticationProcessingDetails property value. Extra authentication processing details, such as the agent name for PTA/PHS or Server/farm name for federated authentication. func (m *SignIn) GetAuthenticationProcessingDetails()([]KeyValueable) { val, err := m.GetBackingStore().Get("authenticationProcessingDetails") if err != nil { @@ -251,7 +251,7 @@ func (m *SignIn) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a } return nil } -// GetCrossTenantAccessType gets the crossTenantAccessType property value. Describes the type of cross-tenant access used by the actor to access the resource. Possible values are: none, b2bCollaboration, b2bDirectConnect, microsoftSupport, serviceProvider, unknownFutureValue. If the sign in did not cross tenant boundaries, the value is none. +// GetCrossTenantAccessType gets the crossTenantAccessType property value. Describes the type of cross-tenant access used by the actor to access the resource. Possible values are: none, b2bCollaboration, b2bDirectConnect, microsoftSupport, serviceProvider, unknownFutureValue. If the sign in didn't cross tenant boundaries, the value is none. func (m *SignIn) GetCrossTenantAccessType()(*SignInAccessType) { val, err := m.GetBackingStore().Get("crossTenantAccessType") if err != nil { @@ -1031,7 +1031,7 @@ func (m *SignIn) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689638 } return res } -// GetFlaggedForReview gets the flaggedForReview property value. During a failed sign in, a user may click a button in the Azure portal to mark the failed event for tenant admins. If a user clicked the button to flag the failed sign in, this value is true. +// GetFlaggedForReview gets the flaggedForReview property value. During a failed sign in, a user may select a button in the Azure portal to mark the failed event for tenant admins. If a user clicked the button to flag the failed sign in, this value is true. func (m *SignIn) GetFlaggedForReview()(*bool) { val, err := m.GetBackingStore().Get("flaggedForReview") if err != nil { @@ -1064,7 +1064,7 @@ func (m *SignIn) GetHomeTenantName()(*string) { } return nil } -// GetIncomingTokenType gets the incomingTokenType property value. Indicates the token types that were presented to Azure AD to authenticate the actor in the sign in. The possible values are: none, primaryRefreshToken, saml11, saml20, unknownFutureValue, remoteDesktopToken. NOTE Azure AD may have also used token types not listed in this Enum type to authenticate the actor. Do not infer the lack of a token if it is not one of the types listed. Also, please note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: remoteDesktopToken. +// GetIncomingTokenType gets the incomingTokenType property value. Indicates the token types that were presented to Azure AD to authenticate the actor in the sign in. The possible values are: none, primaryRefreshToken, saml11, saml20, unknownFutureValue, remoteDesktopToken. NOTE Azure AD may have also used token types not listed in this Enum type to authenticate the actor. Don't infer the lack of a token if it isn't one of the types listed. Also, please note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: remoteDesktopToken. func (m *SignIn) GetIncomingTokenType()(*IncomingTokenType) { val, err := m.GetBackingStore().Get("incomingTokenType") if err != nil { @@ -1119,7 +1119,7 @@ func (m *SignIn) GetIsTenantRestricted()(*bool) { } return nil } -// GetLocation gets the location property value. The city, state, and 2 letter country code from where the sign-in occurred. Supports $filter (eq, startsWith) on city, state, and countryOrRegion properties. +// GetLocation gets the location property value. The city, state, and two letter country code from where the sign-in occurred. Supports $filter (eq, startsWith) on city, state, and countryOrRegion properties. func (m *SignIn) GetLocation()(SignInLocationable) { val, err := m.GetBackingStore().Get("location") if err != nil { @@ -1284,7 +1284,7 @@ func (m *SignIn) GetRiskLevelAggregated()(*RiskLevel) { } return nil } -// GetRiskLevelDuringSignIn gets the riskLevelDuringSignIn property value. The risk level during sign-in. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. +// GetRiskLevelDuringSignIn gets the riskLevelDuringSignIn property value. The risk level during sign-in. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in wasn't enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. func (m *SignIn) GetRiskLevelDuringSignIn()(*RiskLevel) { val, err := m.GetBackingStore().Get("riskLevelDuringSignIn") if err != nil { @@ -1328,7 +1328,7 @@ func (m *SignIn) GetServicePrincipalCredentialThumbprint()(*string) { } return nil } -// GetServicePrincipalId gets the servicePrincipalId property value. The application identifier used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq, startsWith). +// GetServicePrincipalId gets the servicePrincipalId property value. The application identifier used for sign-in. This field is populated when you're signing in using an application. Supports $filter (eq, startsWith). func (m *SignIn) GetServicePrincipalId()(*string) { val, err := m.GetBackingStore().Get("servicePrincipalId") if err != nil { @@ -1339,7 +1339,7 @@ func (m *SignIn) GetServicePrincipalId()(*string) { } return nil } -// GetServicePrincipalName gets the servicePrincipalName property value. The application name used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq, startsWith). +// GetServicePrincipalName gets the servicePrincipalName property value. The application name used for sign-in. This field is populated when you're signing in using an application. Supports $filter (eq, startsWith). func (m *SignIn) GetServicePrincipalName()(*string) { val, err := m.GetBackingStore().Get("servicePrincipalName") if err != nil { @@ -1405,7 +1405,7 @@ func (m *SignIn) GetSignInTokenProtectionStatus()(*TokenProtectionStatus) { } return nil } -// GetStatus gets the status property value. The sign-in status. Includes the error code and description of the error (in case of a sign-in failure). Supports $filter (eq) on errorCode property. +// GetStatus gets the status property value. The sign-in status. Includes the error code and description of the error (for a sign-in failure). Supports $filter (eq) on errorCode property. func (m *SignIn) GetStatus()(SignInStatusable) { val, err := m.GetBackingStore().Get("status") if err != nil { @@ -1427,7 +1427,7 @@ func (m *SignIn) GetTokenIssuerName()(*string) { } return nil } -// GetTokenIssuerType gets the tokenIssuerType property value. The type of identity provider. The possible values are: AzureAD, ADFederationServices, UnknownFutureValue, AzureADBackupAuth, ADFederationServicesMFAAdapter, NPSExtension. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: AzureADBackupAuth , ADFederationServicesMFAAdapter , NPSExtension. +// GetTokenIssuerType gets the tokenIssuerType property value. The type of identity provider. The possible values are: AzureAD, ADFederationServices, UnknownFutureValue, AzureADBackupAuth, ADFederationServicesMFAAdapter, NPSExtension. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: AzureADBackupAuth , ADFederationServicesMFAAdapter , NPSExtension. func (m *SignIn) GetTokenIssuerType()(*TokenIssuerType) { val, err := m.GetBackingStore().Get("tokenIssuerType") if err != nil { @@ -1438,7 +1438,7 @@ func (m *SignIn) GetTokenIssuerType()(*TokenIssuerType) { } return nil } -// GetUniqueTokenIdentifier gets the uniqueTokenIdentifier property value. A unique base64 encoded request identifier used to track tokens issued by Azure AD as they are redeemed at resource providers. +// GetUniqueTokenIdentifier gets the uniqueTokenIdentifier property value. A unique base64 encoded request identifier used to track tokens issued by Azure AD as they're redeemed at resource providers. func (m *SignIn) GetUniqueTokenIdentifier()(*string) { val, err := m.GetBackingStore().Get("uniqueTokenIdentifier") if err != nil { @@ -1983,7 +1983,7 @@ func (m *SignIn) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c } return nil } -// SetAppDisplayName sets the appDisplayName property value. The application name displayed in the Azure Portal. Supports $filter (eq, startsWith). +// SetAppDisplayName sets the appDisplayName property value. The application name displayed in the Azure portal. Supports $filter (eq, startsWith). func (m *SignIn) SetAppDisplayName(value *string)() { err := m.GetBackingStore().Set("appDisplayName", value) if err != nil { @@ -2039,7 +2039,7 @@ func (m *SignIn) SetAuthenticationContextClassReferences(value []AuthenticationC panic(err) } } -// SetAuthenticationDetails sets the authenticationDetails property value. The result of the authentication attempt and additional details on the authentication method. +// SetAuthenticationDetails sets the authenticationDetails property value. The result of the authentication attempt and more details on the authentication method. func (m *SignIn) SetAuthenticationDetails(value []AuthenticationDetailable)() { err := m.GetBackingStore().Set("authenticationDetails", value) if err != nil { @@ -2053,7 +2053,7 @@ func (m *SignIn) SetAuthenticationMethodsUsed(value []string)() { panic(err) } } -// SetAuthenticationProcessingDetails sets the authenticationProcessingDetails property value. Additional authentication processing details, such as the agent name in case of PTA/PHS or Server/farm name in case of federated authentication. +// SetAuthenticationProcessingDetails sets the authenticationProcessingDetails property value. Extra authentication processing details, such as the agent name for PTA/PHS or Server/farm name for federated authentication. func (m *SignIn) SetAuthenticationProcessingDetails(value []KeyValueable)() { err := m.GetBackingStore().Set("authenticationProcessingDetails", value) if err != nil { @@ -2130,7 +2130,7 @@ func (m *SignIn) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3 panic(err) } } -// SetCrossTenantAccessType sets the crossTenantAccessType property value. Describes the type of cross-tenant access used by the actor to access the resource. Possible values are: none, b2bCollaboration, b2bDirectConnect, microsoftSupport, serviceProvider, unknownFutureValue. If the sign in did not cross tenant boundaries, the value is none. +// SetCrossTenantAccessType sets the crossTenantAccessType property value. Describes the type of cross-tenant access used by the actor to access the resource. Possible values are: none, b2bCollaboration, b2bDirectConnect, microsoftSupport, serviceProvider, unknownFutureValue. If the sign in didn't cross tenant boundaries, the value is none. func (m *SignIn) SetCrossTenantAccessType(value *SignInAccessType)() { err := m.GetBackingStore().Set("crossTenantAccessType", value) if err != nil { @@ -2151,7 +2151,7 @@ func (m *SignIn) SetFederatedCredentialId(value *string)() { panic(err) } } -// SetFlaggedForReview sets the flaggedForReview property value. During a failed sign in, a user may click a button in the Azure portal to mark the failed event for tenant admins. If a user clicked the button to flag the failed sign in, this value is true. +// SetFlaggedForReview sets the flaggedForReview property value. During a failed sign in, a user may select a button in the Azure portal to mark the failed event for tenant admins. If a user clicked the button to flag the failed sign in, this value is true. func (m *SignIn) SetFlaggedForReview(value *bool)() { err := m.GetBackingStore().Set("flaggedForReview", value) if err != nil { @@ -2172,7 +2172,7 @@ func (m *SignIn) SetHomeTenantName(value *string)() { panic(err) } } -// SetIncomingTokenType sets the incomingTokenType property value. Indicates the token types that were presented to Azure AD to authenticate the actor in the sign in. The possible values are: none, primaryRefreshToken, saml11, saml20, unknownFutureValue, remoteDesktopToken. NOTE Azure AD may have also used token types not listed in this Enum type to authenticate the actor. Do not infer the lack of a token if it is not one of the types listed. Also, please note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: remoteDesktopToken. +// SetIncomingTokenType sets the incomingTokenType property value. Indicates the token types that were presented to Azure AD to authenticate the actor in the sign in. The possible values are: none, primaryRefreshToken, saml11, saml20, unknownFutureValue, remoteDesktopToken. NOTE Azure AD may have also used token types not listed in this Enum type to authenticate the actor. Don't infer the lack of a token if it isn't one of the types listed. Also, please note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: remoteDesktopToken. func (m *SignIn) SetIncomingTokenType(value *IncomingTokenType)() { err := m.GetBackingStore().Set("incomingTokenType", value) if err != nil { @@ -2207,7 +2207,7 @@ func (m *SignIn) SetIsTenantRestricted(value *bool)() { panic(err) } } -// SetLocation sets the location property value. The city, state, and 2 letter country code from where the sign-in occurred. Supports $filter (eq, startsWith) on city, state, and countryOrRegion properties. +// SetLocation sets the location property value. The city, state, and two letter country code from where the sign-in occurred. Supports $filter (eq, startsWith) on city, state, and countryOrRegion properties. func (m *SignIn) SetLocation(value SignInLocationable)() { err := m.GetBackingStore().Set("location", value) if err != nil { @@ -2312,7 +2312,7 @@ func (m *SignIn) SetRiskLevelAggregated(value *RiskLevel)() { panic(err) } } -// SetRiskLevelDuringSignIn sets the riskLevelDuringSignIn property value. The risk level during sign-in. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. +// SetRiskLevelDuringSignIn sets the riskLevelDuringSignIn property value. The risk level during sign-in. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in wasn't enabled for Azure AD Identity Protection. Supports $filter (eq). Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. func (m *SignIn) SetRiskLevelDuringSignIn(value *RiskLevel)() { err := m.GetBackingStore().Set("riskLevelDuringSignIn", value) if err != nil { @@ -2340,14 +2340,14 @@ func (m *SignIn) SetServicePrincipalCredentialThumbprint(value *string)() { panic(err) } } -// SetServicePrincipalId sets the servicePrincipalId property value. The application identifier used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq, startsWith). +// SetServicePrincipalId sets the servicePrincipalId property value. The application identifier used for sign-in. This field is populated when you're signing in using an application. Supports $filter (eq, startsWith). func (m *SignIn) SetServicePrincipalId(value *string)() { err := m.GetBackingStore().Set("servicePrincipalId", value) if err != nil { panic(err) } } -// SetServicePrincipalName sets the servicePrincipalName property value. The application name used for sign-in. This field is populated when you are signing in using an application. Supports $filter (eq, startsWith). +// SetServicePrincipalName sets the servicePrincipalName property value. The application name used for sign-in. This field is populated when you're signing in using an application. Supports $filter (eq, startsWith). func (m *SignIn) SetServicePrincipalName(value *string)() { err := m.GetBackingStore().Set("servicePrincipalName", value) if err != nil { @@ -2389,7 +2389,7 @@ func (m *SignIn) SetSignInTokenProtectionStatus(value *TokenProtectionStatus)() panic(err) } } -// SetStatus sets the status property value. The sign-in status. Includes the error code and description of the error (in case of a sign-in failure). Supports $filter (eq) on errorCode property. +// SetStatus sets the status property value. The sign-in status. Includes the error code and description of the error (for a sign-in failure). Supports $filter (eq) on errorCode property. func (m *SignIn) SetStatus(value SignInStatusable)() { err := m.GetBackingStore().Set("status", value) if err != nil { @@ -2403,14 +2403,14 @@ func (m *SignIn) SetTokenIssuerName(value *string)() { panic(err) } } -// SetTokenIssuerType sets the tokenIssuerType property value. The type of identity provider. The possible values are: AzureAD, ADFederationServices, UnknownFutureValue, AzureADBackupAuth, ADFederationServicesMFAAdapter, NPSExtension. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: AzureADBackupAuth , ADFederationServicesMFAAdapter , NPSExtension. +// SetTokenIssuerType sets the tokenIssuerType property value. The type of identity provider. The possible values are: AzureAD, ADFederationServices, UnknownFutureValue, AzureADBackupAuth, ADFederationServicesMFAAdapter, NPSExtension. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: AzureADBackupAuth , ADFederationServicesMFAAdapter , NPSExtension. func (m *SignIn) SetTokenIssuerType(value *TokenIssuerType)() { err := m.GetBackingStore().Set("tokenIssuerType", value) if err != nil { panic(err) } } -// SetUniqueTokenIdentifier sets the uniqueTokenIdentifier property value. A unique base64 encoded request identifier used to track tokens issued by Azure AD as they are redeemed at resource providers. +// SetUniqueTokenIdentifier sets the uniqueTokenIdentifier property value. A unique base64 encoded request identifier used to track tokens issued by Azure AD as they're redeemed at resource providers. func (m *SignIn) SetUniqueTokenIdentifier(value *string)() { err := m.GetBackingStore().Set("uniqueTokenIdentifier", value) if err != nil { diff --git a/models/sign_in_access_type.go b/models/sign_in_access_type.go index cb187a4d2fe..0fb646269d9 100644 --- a/models/sign_in_access_type.go +++ b/models/sign_in_access_type.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type SignInAccessType int @@ -15,25 +16,34 @@ const ( ) func (i SignInAccessType) String() string { - return []string{"none", "b2bCollaboration", "b2bDirectConnect", "microsoftSupport", "serviceProvider", "unknownFutureValue"}[i] + var values []string + for p := SignInAccessType(1); p <= UNKNOWNFUTUREVALUE_SIGNINACCESSTYPE; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "b2bCollaboration", "b2bDirectConnect", "microsoftSupport", "serviceProvider", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseSignInAccessType(v string) (any, error) { - result := NONE_SIGNINACCESSTYPE - switch v { - case "none": - result = NONE_SIGNINACCESSTYPE - case "b2bCollaboration": - result = B2BCOLLABORATION_SIGNINACCESSTYPE - case "b2bDirectConnect": - result = B2BDIRECTCONNECT_SIGNINACCESSTYPE - case "microsoftSupport": - result = MICROSOFTSUPPORT_SIGNINACCESSTYPE - case "serviceProvider": - result = SERVICEPROVIDER_SIGNINACCESSTYPE - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_SIGNINACCESSTYPE - default: - return 0, errors.New("Unknown SignInAccessType value: " + v) + var result SignInAccessType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_SIGNINACCESSTYPE + case "b2bCollaboration": + result |= B2BCOLLABORATION_SIGNINACCESSTYPE + case "b2bDirectConnect": + result |= B2BDIRECTCONNECT_SIGNINACCESSTYPE + case "microsoftSupport": + result |= MICROSOFTSUPPORT_SIGNINACCESSTYPE + case "serviceProvider": + result |= SERVICEPROVIDER_SIGNINACCESSTYPE + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_SIGNINACCESSTYPE + default: + return 0, errors.New("Unknown SignInAccessType value: " + v) + } } return &result, nil } @@ -44,3 +54,6 @@ func SerializeSignInAccessType(values []SignInAccessType) []string { } return result } +func (i SignInAccessType) isMultiValue() bool { + return true +} diff --git a/models/sign_in_assistant_options.go b/models/sign_in_assistant_options.go index 09d6ee8b2cc..0a4123dc652 100644 --- a/models/sign_in_assistant_options.go +++ b/models/sign_in_assistant_options.go @@ -34,3 +34,6 @@ func SerializeSignInAssistantOptions(values []SignInAssistantOptions) []string { } return result } +func (i SignInAssistantOptions) isMultiValue() bool { + return false +} diff --git a/models/sign_in_frequency_authentication_type.go b/models/sign_in_frequency_authentication_type.go index a7d744d1088..f5d28e0a983 100644 --- a/models/sign_in_frequency_authentication_type.go +++ b/models/sign_in_frequency_authentication_type.go @@ -35,3 +35,6 @@ func SerializeSignInFrequencyAuthenticationType(values []SignInFrequencyAuthenti } return result } +func (i SignInFrequencyAuthenticationType) isMultiValue() bool { + return false +} diff --git a/models/sign_in_frequency_interval.go b/models/sign_in_frequency_interval.go index cd55b0d1155..eaf77bd34d9 100644 --- a/models/sign_in_frequency_interval.go +++ b/models/sign_in_frequency_interval.go @@ -35,3 +35,6 @@ func SerializeSignInFrequencyInterval(values []SignInFrequencyInterval) []string } return result } +func (i SignInFrequencyInterval) isMultiValue() bool { + return false +} diff --git a/models/sign_in_identifier_type.go b/models/sign_in_identifier_type.go index 3c3d2af2cb6..5ecbe471037 100644 --- a/models/sign_in_identifier_type.go +++ b/models/sign_in_identifier_type.go @@ -44,3 +44,6 @@ func SerializeSignInIdentifierType(values []SignInIdentifierType) []string { } return result } +func (i SignInIdentifierType) isMultiValue() bool { + return false +} diff --git a/models/sign_in_location.go b/models/sign_in_location.go index 7221720f60a..a40c759c1d6 100644 --- a/models/sign_in_location.go +++ b/models/sign_in_location.go @@ -49,7 +49,7 @@ func (m *SignInLocation) GetCity()(*string) { } return nil } -// GetCountryOrRegion gets the countryOrRegion property value. Provides the country code info (2 letter code) where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. +// GetCountryOrRegion gets the countryOrRegion property value. Provides the country code info (two letter code) where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. func (m *SignInLocation) GetCountryOrRegion()(*string) { val, err := m.GetBackingStore().Get("countryOrRegion") if err != nil { @@ -206,7 +206,7 @@ func (m *SignInLocation) SetCity(value *string)() { panic(err) } } -// SetCountryOrRegion sets the countryOrRegion property value. Provides the country code info (2 letter code) where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. +// SetCountryOrRegion sets the countryOrRegion property value. Provides the country code info (two letter code) where the sign-in originated. This is calculated using latitude/longitude information from the sign-in activity. func (m *SignInLocation) SetCountryOrRegion(value *string)() { err := m.GetBackingStore().Set("countryOrRegion", value) if err != nil { diff --git a/models/sign_in_user_type.go b/models/sign_in_user_type.go index 3aad7078f3d..cae813bc73d 100644 --- a/models/sign_in_user_type.go +++ b/models/sign_in_user_type.go @@ -35,3 +35,6 @@ func SerializeSignInUserType(values []SignInUserType) []string { } return result } +func (i SignInUserType) isMultiValue() bool { + return false +} diff --git a/models/signin_frequency_type.go b/models/signin_frequency_type.go index 2c0f81fc6ee..a91461e543f 100644 --- a/models/signin_frequency_type.go +++ b/models/signin_frequency_type.go @@ -32,3 +32,6 @@ func SerializeSigninFrequencyType(values []SigninFrequencyType) []string { } return result } +func (i SigninFrequencyType) isMultiValue() bool { + return false +} diff --git a/models/simulation_attack_technique.go b/models/simulation_attack_technique.go index 286a056cc7b..ecef345b40c 100644 --- a/models/simulation_attack_technique.go +++ b/models/simulation_attack_technique.go @@ -50,3 +50,6 @@ func SerializeSimulationAttackTechnique(values []SimulationAttackTechnique) []st } return result } +func (i SimulationAttackTechnique) isMultiValue() bool { + return false +} diff --git a/models/simulation_attack_type.go b/models/simulation_attack_type.go index 6d79e8a44b9..070e161ce1e 100644 --- a/models/simulation_attack_type.go +++ b/models/simulation_attack_type.go @@ -41,3 +41,6 @@ func SerializeSimulationAttackType(values []SimulationAttackType) []string { } return result } +func (i SimulationAttackType) isMultiValue() bool { + return false +} diff --git a/models/simulation_automation_run_status.go b/models/simulation_automation_run_status.go index ab14006a51f..bc62394c77d 100644 --- a/models/simulation_automation_run_status.go +++ b/models/simulation_automation_run_status.go @@ -44,3 +44,6 @@ func SerializeSimulationAutomationRunStatus(values []SimulationAutomationRunStat } return result } +func (i SimulationAutomationRunStatus) isMultiValue() bool { + return false +} diff --git a/models/simulation_automation_status.go b/models/simulation_automation_status.go index 800826e6afa..962fc6be554 100644 --- a/models/simulation_automation_status.go +++ b/models/simulation_automation_status.go @@ -44,3 +44,6 @@ func SerializeSimulationAutomationStatus(values []SimulationAutomationStatus) [] } return result } +func (i SimulationAutomationStatus) isMultiValue() bool { + return false +} diff --git a/models/simulation_content_source.go b/models/simulation_content_source.go index 0eca37f88bf..21318d3c63a 100644 --- a/models/simulation_content_source.go +++ b/models/simulation_content_source.go @@ -38,3 +38,6 @@ func SerializeSimulationContentSource(values []SimulationContentSource) []string } return result } +func (i SimulationContentSource) isMultiValue() bool { + return false +} diff --git a/models/simulation_content_status.go b/models/simulation_content_status.go index 0762be30be2..215aec9d0a6 100644 --- a/models/simulation_content_status.go +++ b/models/simulation_content_status.go @@ -44,3 +44,6 @@ func SerializeSimulationContentStatus(values []SimulationContentStatus) []string } return result } +func (i SimulationContentStatus) isMultiValue() bool { + return false +} diff --git a/models/simulation_status.go b/models/simulation_status.go index ee52c60e852..fea4f938c0d 100644 --- a/models/simulation_status.go +++ b/models/simulation_status.go @@ -53,3 +53,6 @@ func SerializeSimulationStatus(values []SimulationStatus) []string { } return result } +func (i SimulationStatus) isMultiValue() bool { + return false +} diff --git a/models/single_sign_on_mode.go b/models/single_sign_on_mode.go index eec61e40fcd..67ef3b01397 100644 --- a/models/single_sign_on_mode.go +++ b/models/single_sign_on_mode.go @@ -47,3 +47,6 @@ func SerializeSingleSignOnMode(values []SingleSignOnMode) []string { } return result } +func (i SingleSignOnMode) isMultiValue() bool { + return false +} diff --git a/models/site.go b/models/site.go index 446367afa70..a77af7a1729 100644 --- a/models/site.go +++ b/models/site.go @@ -226,6 +226,16 @@ func (m *Site) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a } return nil } + res["isPersonalSite"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsPersonalSite(val) + } + return nil + } res["items"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateBaseItemFromDiscriminatorValue) if err != nil { @@ -385,6 +395,17 @@ func (m *Site) GetInformationProtection()(InformationProtectionable) { } return nil } +// GetIsPersonalSite gets the isPersonalSite property value. The isPersonalSite property +func (m *Site) GetIsPersonalSite()(*bool) { + val, err := m.GetBackingStore().Get("isPersonalSite") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetItems gets the items property value. Used to address any item contained in this site. This collection cannot be enumerated. func (m *Site) GetItems()([]BaseItemable) { val, err := m.GetBackingStore().Get("items") @@ -590,6 +611,12 @@ func (m *Site) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c49 return err } } + { + err = writer.WriteBoolValue("isPersonalSite", m.GetIsPersonalSite()) + if err != nil { + return err + } + } if m.GetItems() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetItems())) for i, v := range m.GetItems() { @@ -757,6 +784,13 @@ func (m *Site) SetInformationProtection(value InformationProtectionable)() { panic(err) } } +// SetIsPersonalSite sets the isPersonalSite property value. The isPersonalSite property +func (m *Site) SetIsPersonalSite(value *bool)() { + err := m.GetBackingStore().Set("isPersonalSite", value) + if err != nil { + panic(err) + } +} // SetItems sets the items property value. Used to address any item contained in this site. This collection cannot be enumerated. func (m *Site) SetItems(value []BaseItemable)() { err := m.GetBackingStore().Set("items", value) @@ -847,6 +881,7 @@ type Siteable interface { GetDrives()([]Driveable) GetExternalColumns()([]ColumnDefinitionable) GetInformationProtection()(InformationProtectionable) + GetIsPersonalSite()(*bool) GetItems()([]BaseItemable) GetLists()([]Listable) GetOnenote()(Onenoteable) @@ -867,6 +902,7 @@ type Siteable interface { SetDrives(value []Driveable)() SetExternalColumns(value []ColumnDefinitionable)() SetInformationProtection(value InformationProtectionable)() + SetIsPersonalSite(value *bool)() SetItems(value []BaseItemable)() SetLists(value []Listable)() SetOnenote(value Onenoteable)() diff --git a/models/site_access_type.go b/models/site_access_type.go index 183da367b78..9f92fc47baf 100644 --- a/models/site_access_type.go +++ b/models/site_access_type.go @@ -35,3 +35,6 @@ func SerializeSiteAccessType(values []SiteAccessType) []string { } return result } +func (i SiteAccessType) isMultiValue() bool { + return false +} diff --git a/models/site_security_level.go b/models/site_security_level.go index a7034ae3efa..332b4b4ebc7 100644 --- a/models/site_security_level.go +++ b/models/site_security_level.go @@ -50,3 +50,6 @@ func SerializeSiteSecurityLevel(values []SiteSecurityLevel) []string { } return result } +func (i SiteSecurityLevel) isMultiValue() bool { + return false +} diff --git a/models/skill_proficiency_level.go b/models/skill_proficiency_level.go index 455ef03bd13..b32c52b5752 100644 --- a/models/skill_proficiency_level.go +++ b/models/skill_proficiency_level.go @@ -44,3 +44,6 @@ func SerializeSkillProficiencyLevel(values []SkillProficiencyLevel) []string { } return result } +func (i SkillProficiencyLevel) isMultiValue() bool { + return false +} diff --git a/models/staged_feature_name.go b/models/staged_feature_name.go index d78baf42331..0fddb714439 100644 --- a/models/staged_feature_name.go +++ b/models/staged_feature_name.go @@ -44,3 +44,6 @@ func SerializeStagedFeatureName(values []StagedFeatureName) []string { } return result } +func (i StagedFeatureName) isMultiValue() bool { + return false +} diff --git a/models/state_management_setting.go b/models/state_management_setting.go index 2aba73cb21c..2b9eae393e6 100644 --- a/models/state_management_setting.go +++ b/models/state_management_setting.go @@ -38,3 +38,6 @@ func SerializeStateManagementSetting(values []StateManagementSetting) []string { } return result } +func (i StateManagementSetting) isMultiValue() bool { + return false +} diff --git a/models/status.go b/models/status.go index dec13f92ea5..d86c4b6eea2 100644 --- a/models/status.go +++ b/models/status.go @@ -41,3 +41,6 @@ func SerializeStatus(values []Status) []string { } return result } +func (i Status) isMultiValue() bool { + return false +} diff --git a/models/subject_alternative_name_type.go b/models/subject_alternative_name_type.go index d52086dae3c..30e4a0e5051 100644 --- a/models/subject_alternative_name_type.go +++ b/models/subject_alternative_name_type.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Subject Alternative Name Options. type SubjectAlternativeNameType int @@ -21,25 +22,34 @@ const ( ) func (i SubjectAlternativeNameType) String() string { - return []string{"none", "emailAddress", "userPrincipalName", "customAzureADAttribute", "domainNameService", "universalResourceIdentifier"}[i] + var values []string + for p := SubjectAlternativeNameType(1); p <= UNIVERSALRESOURCEIDENTIFIER_SUBJECTALTERNATIVENAMETYPE; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "emailAddress", "userPrincipalName", "customAzureADAttribute", "domainNameService", "universalResourceIdentifier"}[p]) + } + } + return strings.Join(values, ",") } func ParseSubjectAlternativeNameType(v string) (any, error) { - result := NONE_SUBJECTALTERNATIVENAMETYPE - switch v { - case "none": - result = NONE_SUBJECTALTERNATIVENAMETYPE - case "emailAddress": - result = EMAILADDRESS_SUBJECTALTERNATIVENAMETYPE - case "userPrincipalName": - result = USERPRINCIPALNAME_SUBJECTALTERNATIVENAMETYPE - case "customAzureADAttribute": - result = CUSTOMAZUREADATTRIBUTE_SUBJECTALTERNATIVENAMETYPE - case "domainNameService": - result = DOMAINNAMESERVICE_SUBJECTALTERNATIVENAMETYPE - case "universalResourceIdentifier": - result = UNIVERSALRESOURCEIDENTIFIER_SUBJECTALTERNATIVENAMETYPE - default: - return 0, errors.New("Unknown SubjectAlternativeNameType value: " + v) + var result SubjectAlternativeNameType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_SUBJECTALTERNATIVENAMETYPE + case "emailAddress": + result |= EMAILADDRESS_SUBJECTALTERNATIVENAMETYPE + case "userPrincipalName": + result |= USERPRINCIPALNAME_SUBJECTALTERNATIVENAMETYPE + case "customAzureADAttribute": + result |= CUSTOMAZUREADATTRIBUTE_SUBJECTALTERNATIVENAMETYPE + case "domainNameService": + result |= DOMAINNAMESERVICE_SUBJECTALTERNATIVENAMETYPE + case "universalResourceIdentifier": + result |= UNIVERSALRESOURCEIDENTIFIER_SUBJECTALTERNATIVENAMETYPE + default: + return 0, errors.New("Unknown SubjectAlternativeNameType value: " + v) + } } return &result, nil } @@ -50,3 +60,6 @@ func SerializeSubjectAlternativeNameType(values []SubjectAlternativeNameType) [] } return result } +func (i SubjectAlternativeNameType) isMultiValue() bool { + return true +} diff --git a/models/subject_name_format.go b/models/subject_name_format.go index d5c31ad0b70..178dd31b15a 100644 --- a/models/subject_name_format.go +++ b/models/subject_name_format.go @@ -62,3 +62,6 @@ func SerializeSubjectNameFormat(values []SubjectNameFormat) []string { } return result } +func (i SubjectNameFormat) isMultiValue() bool { + return false +} diff --git a/models/subject_rights_request_enumerated_mailbox_location.go b/models/subject_rights_request_enumerated_mailbox_location.go index e690ad8ef56..131bd0f4290 100644 --- a/models/subject_rights_request_enumerated_mailbox_location.go +++ b/models/subject_rights_request_enumerated_mailbox_location.go @@ -40,6 +40,22 @@ func (m *SubjectRightsRequestEnumeratedMailboxLocation) GetFieldDeserializers()( } return nil } + res["userPrincipalNames"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetUserPrincipalNames(res) + } + return nil + } return res } // GetUpns gets the upns property value. Collection of mailboxes that should be included in the search. Includes the UPN (user principal name) of each mailbox, for example, Monica.Thompson@contoso.com. @@ -53,6 +69,17 @@ func (m *SubjectRightsRequestEnumeratedMailboxLocation) GetUpns()([]string) { } return nil } +// GetUserPrincipalNames gets the userPrincipalNames property value. The userPrincipalNames property +func (m *SubjectRightsRequestEnumeratedMailboxLocation) GetUserPrincipalNames()([]string) { + val, err := m.GetBackingStore().Get("userPrincipalNames") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} // Serialize serializes information the current object func (m *SubjectRightsRequestEnumeratedMailboxLocation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.SubjectRightsRequestMailboxLocation.Serialize(writer) @@ -65,6 +92,12 @@ func (m *SubjectRightsRequestEnumeratedMailboxLocation) Serialize(writer i878a80 return err } } + if m.GetUserPrincipalNames() != nil { + err = writer.WriteCollectionOfStringValues("userPrincipalNames", m.GetUserPrincipalNames()) + if err != nil { + return err + } + } return nil } // SetUpns sets the upns property value. Collection of mailboxes that should be included in the search. Includes the UPN (user principal name) of each mailbox, for example, Monica.Thompson@contoso.com. @@ -74,10 +107,19 @@ func (m *SubjectRightsRequestEnumeratedMailboxLocation) SetUpns(value []string)( panic(err) } } +// SetUserPrincipalNames sets the userPrincipalNames property value. The userPrincipalNames property +func (m *SubjectRightsRequestEnumeratedMailboxLocation) SetUserPrincipalNames(value []string)() { + err := m.GetBackingStore().Set("userPrincipalNames", value) + if err != nil { + panic(err) + } +} // SubjectRightsRequestEnumeratedMailboxLocationable type SubjectRightsRequestEnumeratedMailboxLocationable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable SubjectRightsRequestMailboxLocationable GetUpns()([]string) + GetUserPrincipalNames()([]string) SetUpns(value []string)() + SetUserPrincipalNames(value []string)() } diff --git a/models/subject_rights_request_stage.go b/models/subject_rights_request_stage.go index d4196ea5d86..8558a7569bd 100644 --- a/models/subject_rights_request_stage.go +++ b/models/subject_rights_request_stage.go @@ -50,3 +50,6 @@ func SerializeSubjectRightsRequestStage(values []SubjectRightsRequestStage) []st } return result } +func (i SubjectRightsRequestStage) isMultiValue() bool { + return false +} diff --git a/models/subject_rights_request_stage_status.go b/models/subject_rights_request_stage_status.go index 160d9af5193..91f54e8923d 100644 --- a/models/subject_rights_request_stage_status.go +++ b/models/subject_rights_request_stage_status.go @@ -41,3 +41,6 @@ func SerializeSubjectRightsRequestStageStatus(values []SubjectRightsRequestStage } return result } +func (i SubjectRightsRequestStageStatus) isMultiValue() bool { + return false +} diff --git a/models/subject_rights_request_status.go b/models/subject_rights_request_status.go index 7a010554c85..ac7c16c33ad 100644 --- a/models/subject_rights_request_status.go +++ b/models/subject_rights_request_status.go @@ -35,3 +35,6 @@ func SerializeSubjectRightsRequestStatus(values []SubjectRightsRequestStatus) [] } return result } +func (i SubjectRightsRequestStatus) isMultiValue() bool { + return false +} diff --git a/models/subject_rights_request_type.go b/models/subject_rights_request_type.go index 120db8d8c79..49ee207251f 100644 --- a/models/subject_rights_request_type.go +++ b/models/subject_rights_request_type.go @@ -41,3 +41,6 @@ func SerializeSubjectRightsRequestType(values []SubjectRightsRequestType) []stri } return result } +func (i SubjectRightsRequestType) isMultiValue() bool { + return false +} diff --git a/models/synchronization_job_restart_scope.go b/models/synchronization_job_restart_scope.go index 083dc5ef836..caefd84a0f5 100644 --- a/models/synchronization_job_restart_scope.go +++ b/models/synchronization_job_restart_scope.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type SynchronizationJobRestartScope int @@ -16,27 +17,36 @@ const ( ) func (i SynchronizationJobRestartScope) String() string { - return []string{"None", "ConnectorDataStore", "Escrows", "Watermark", "QuarantineState", "Full", "ForceDeletes"}[i] + var values []string + for p := SynchronizationJobRestartScope(1); p <= FORCEDELETES_SYNCHRONIZATIONJOBRESTARTSCOPE; p <<= 1 { + if i&p == p { + values = append(values, []string{"None", "ConnectorDataStore", "Escrows", "Watermark", "QuarantineState", "Full", "ForceDeletes"}[p]) + } + } + return strings.Join(values, ",") } func ParseSynchronizationJobRestartScope(v string) (any, error) { - result := NONE_SYNCHRONIZATIONJOBRESTARTSCOPE - switch v { - case "None": - result = NONE_SYNCHRONIZATIONJOBRESTARTSCOPE - case "ConnectorDataStore": - result = CONNECTORDATASTORE_SYNCHRONIZATIONJOBRESTARTSCOPE - case "Escrows": - result = ESCROWS_SYNCHRONIZATIONJOBRESTARTSCOPE - case "Watermark": - result = WATERMARK_SYNCHRONIZATIONJOBRESTARTSCOPE - case "QuarantineState": - result = QUARANTINESTATE_SYNCHRONIZATIONJOBRESTARTSCOPE - case "Full": - result = FULL_SYNCHRONIZATIONJOBRESTARTSCOPE - case "ForceDeletes": - result = FORCEDELETES_SYNCHRONIZATIONJOBRESTARTSCOPE - default: - return 0, errors.New("Unknown SynchronizationJobRestartScope value: " + v) + var result SynchronizationJobRestartScope + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "None": + result |= NONE_SYNCHRONIZATIONJOBRESTARTSCOPE + case "ConnectorDataStore": + result |= CONNECTORDATASTORE_SYNCHRONIZATIONJOBRESTARTSCOPE + case "Escrows": + result |= ESCROWS_SYNCHRONIZATIONJOBRESTARTSCOPE + case "Watermark": + result |= WATERMARK_SYNCHRONIZATIONJOBRESTARTSCOPE + case "QuarantineState": + result |= QUARANTINESTATE_SYNCHRONIZATIONJOBRESTARTSCOPE + case "Full": + result |= FULL_SYNCHRONIZATIONJOBRESTARTSCOPE + case "ForceDeletes": + result |= FORCEDELETES_SYNCHRONIZATIONJOBRESTARTSCOPE + default: + return 0, errors.New("Unknown SynchronizationJobRestartScope value: " + v) + } } return &result, nil } @@ -47,3 +57,6 @@ func SerializeSynchronizationJobRestartScope(values []SynchronizationJobRestartS } return result } +func (i SynchronizationJobRestartScope) isMultiValue() bool { + return true +} diff --git a/models/synchronization_metadata.go b/models/synchronization_metadata.go index 0c96053fe1c..9303acf8de2 100644 --- a/models/synchronization_metadata.go +++ b/models/synchronization_metadata.go @@ -53,3 +53,6 @@ func SerializeSynchronizationMetadata(values []SynchronizationMetadata) []string } return result } +func (i SynchronizationMetadata) isMultiValue() bool { + return false +} diff --git a/models/synchronization_schedule_state.go b/models/synchronization_schedule_state.go index ecca82d8e94..e97cbcf2792 100644 --- a/models/synchronization_schedule_state.go +++ b/models/synchronization_schedule_state.go @@ -35,3 +35,6 @@ func SerializeSynchronizationScheduleState(values []SynchronizationScheduleState } return result } +func (i SynchronizationScheduleState) isMultiValue() bool { + return false +} diff --git a/models/synchronization_secret.go b/models/synchronization_secret.go index d23c6f4c596..a5e221b5790 100644 --- a/models/synchronization_secret.go +++ b/models/synchronization_secret.go @@ -161,3 +161,6 @@ func SerializeSynchronizationSecret(values []SynchronizationSecret) []string { } return result } +func (i SynchronizationSecret) isMultiValue() bool { + return false +} diff --git a/models/synchronization_status_code.go b/models/synchronization_status_code.go index bcae8c3374f..5d1e5af4539 100644 --- a/models/synchronization_status_code.go +++ b/models/synchronization_status_code.go @@ -41,3 +41,6 @@ func SerializeSynchronizationStatusCode(values []SynchronizationStatusCode) []st } return result } +func (i SynchronizationStatusCode) isMultiValue() bool { + return false +} diff --git a/models/synchronization_task_execution_result.go b/models/synchronization_task_execution_result.go index 6e431d1e3e8..ddd8c8983fc 100644 --- a/models/synchronization_task_execution_result.go +++ b/models/synchronization_task_execution_result.go @@ -35,3 +35,6 @@ func SerializeSynchronizationTaskExecutionResult(values []SynchronizationTaskExe } return result } +func (i SynchronizationTaskExecutionResult) isMultiValue() bool { + return false +} diff --git a/models/system_management_mode_level.go b/models/system_management_mode_level.go new file mode 100644 index 00000000000..9af23b70586 --- /dev/null +++ b/models/system_management_mode_level.go @@ -0,0 +1,51 @@ +package models +import ( + "errors" +) +// A list of possible System Management Mode levels for a device. System Management Mode levels is determined by report sent from Microsoft Azure Attestation service. Only specific hardwares support System Management Mode. Windows 11 devices will have values "notApplicable", "level1", "level2" or "level3". Windows 10 devices will have value "notApplicable". +type SystemManagementModeLevel int + +const ( + // Indicates that the device does not have Firmware protection (System Management Mode) enabled. + NOTAPPLICABLE_SYSTEMMANAGEMENTMODELEVEL SystemManagementModeLevel = iota + // Indicates that deny System Management Mode (SMM) read/write access to OS and Virtualization-based security (VBS) memory. The benefit is that by design System Management Mode (SMM) cannot modify security of or exfiltrate secrets from the OS (including Virtualization-based security). + LEVEL1_SYSTEMMANAGEMENTMODELEVEL + // Indicates that in addition to the System Management Mode (SMM) Level 1 protections, this level prevents System Management Mode (SMM) from tampering with Input-Output Memory Management Unit (IOMMU) config. The benefit is that by design System Management Mode (SMM) cannot disable Virtualization-based security (VBS) and kernel Direct memory access (DMA) protections. + LEVEL2_SYSTEMMANAGEMENTMODELEVEL + // Indicates that in addition to the System Management Mode (SMM) Level 2 protections, this level reduces System Management Mode (SMM) save state capabilities. The benefit is that by design System Management Mode (SMM) cannot exploit save state to modify security of or exfiltrate secrets from the OS (including Virtualization-based security). + LEVEL3_SYSTEMMANAGEMENTMODELEVEL + // Evolvable enumeration sentinel value. Do not use. + UNKNOWNFUTUREVALUE_SYSTEMMANAGEMENTMODELEVEL +) + +func (i SystemManagementModeLevel) String() string { + return []string{"notApplicable", "level1", "level2", "level3", "unknownFutureValue"}[i] +} +func ParseSystemManagementModeLevel(v string) (any, error) { + result := NOTAPPLICABLE_SYSTEMMANAGEMENTMODELEVEL + switch v { + case "notApplicable": + result = NOTAPPLICABLE_SYSTEMMANAGEMENTMODELEVEL + case "level1": + result = LEVEL1_SYSTEMMANAGEMENTMODELEVEL + case "level2": + result = LEVEL2_SYSTEMMANAGEMENTMODELEVEL + case "level3": + result = LEVEL3_SYSTEMMANAGEMENTMODELEVEL + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_SYSTEMMANAGEMENTMODELEVEL + default: + return 0, errors.New("Unknown SystemManagementModeLevel value: " + v) + } + return &result, nil +} +func SerializeSystemManagementModeLevel(values []SystemManagementModeLevel) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i SystemManagementModeLevel) isMultiValue() bool { + return false +} diff --git a/models/targeted_managed_app_group_type.go b/models/targeted_managed_app_group_type.go index 94152e6920e..013231be592 100644 --- a/models/targeted_managed_app_group_type.go +++ b/models/targeted_managed_app_group_type.go @@ -42,3 +42,6 @@ func SerializeTargetedManagedAppGroupType(values []TargetedManagedAppGroupType) } return result } +func (i TargetedManagedAppGroupType) isMultiValue() bool { + return false +} diff --git a/models/targetted_user_type.go b/models/targetted_user_type.go index e799c6ae531..d93402aa0a0 100644 --- a/models/targetted_user_type.go +++ b/models/targetted_user_type.go @@ -41,3 +41,6 @@ func SerializeTargettedUserType(values []TargettedUserType) []string { } return result } +func (i TargettedUserType) isMultiValue() bool { + return false +} diff --git a/models/task_status.go b/models/task_status.go index 88ea88f7aec..9536816ca23 100644 --- a/models/task_status.go +++ b/models/task_status.go @@ -41,3 +41,6 @@ func SerializeTaskStatus(values []TaskStatus) []string { } return result } +func (i TaskStatus) isMultiValue() bool { + return false +} diff --git a/models/team_specialization.go b/models/team_specialization.go index bd510611e84..750f12641f2 100644 --- a/models/team_specialization.go +++ b/models/team_specialization.go @@ -50,3 +50,6 @@ func SerializeTeamSpecialization(values []TeamSpecialization) []string { } return result } +func (i TeamSpecialization) isMultiValue() bool { + return false +} diff --git a/models/team_template_audience.go b/models/team_template_audience.go index b64d9c905d2..27d270a52bf 100644 --- a/models/team_template_audience.go +++ b/models/team_template_audience.go @@ -38,3 +38,6 @@ func SerializeTeamTemplateAudience(values []TeamTemplateAudience) []string { } return result } +func (i TeamTemplateAudience) isMultiValue() bool { + return false +} diff --git a/models/team_visibility_type.go b/models/team_visibility_type.go index 7535fa1c353..6114050e593 100644 --- a/models/team_visibility_type.go +++ b/models/team_visibility_type.go @@ -38,3 +38,6 @@ func SerializeTeamVisibilityType(values []TeamVisibilityType) []string { } return result } +func (i TeamVisibilityType) isMultiValue() bool { + return false +} diff --git a/models/teams_app_distribution_method.go b/models/teams_app_distribution_method.go index a535b33d1db..101ce98e8ec 100644 --- a/models/teams_app_distribution_method.go +++ b/models/teams_app_distribution_method.go @@ -38,3 +38,6 @@ func SerializeTeamsAppDistributionMethod(values []TeamsAppDistributionMethod) [] } return result } +func (i TeamsAppDistributionMethod) isMultiValue() bool { + return false +} diff --git a/models/teams_app_installation_scopes.go b/models/teams_app_installation_scopes.go index d57f47da1a2..9c62013383a 100644 --- a/models/teams_app_installation_scopes.go +++ b/models/teams_app_installation_scopes.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type TeamsAppInstallationScopes int @@ -13,21 +14,30 @@ const ( ) func (i TeamsAppInstallationScopes) String() string { - return []string{"team", "groupChat", "personal", "unknownFutureValue"}[i] + var values []string + for p := TeamsAppInstallationScopes(1); p <= UNKNOWNFUTUREVALUE_TEAMSAPPINSTALLATIONSCOPES; p <<= 1 { + if i&p == p { + values = append(values, []string{"team", "groupChat", "personal", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseTeamsAppInstallationScopes(v string) (any, error) { - result := TEAM_TEAMSAPPINSTALLATIONSCOPES - switch v { - case "team": - result = TEAM_TEAMSAPPINSTALLATIONSCOPES - case "groupChat": - result = GROUPCHAT_TEAMSAPPINSTALLATIONSCOPES - case "personal": - result = PERSONAL_TEAMSAPPINSTALLATIONSCOPES - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_TEAMSAPPINSTALLATIONSCOPES - default: - return 0, errors.New("Unknown TeamsAppInstallationScopes value: " + v) + var result TeamsAppInstallationScopes + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "team": + result |= TEAM_TEAMSAPPINSTALLATIONSCOPES + case "groupChat": + result |= GROUPCHAT_TEAMSAPPINSTALLATIONSCOPES + case "personal": + result |= PERSONAL_TEAMSAPPINSTALLATIONSCOPES + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_TEAMSAPPINSTALLATIONSCOPES + default: + return 0, errors.New("Unknown TeamsAppInstallationScopes value: " + v) + } } return &result, nil } @@ -38,3 +48,6 @@ func SerializeTeamsAppInstallationScopes(values []TeamsAppInstallationScopes) [] } return result } +func (i TeamsAppInstallationScopes) isMultiValue() bool { + return true +} diff --git a/models/teams_app_publishing_state.go b/models/teams_app_publishing_state.go index ef4cfcf616b..5b44db4cd6e 100644 --- a/models/teams_app_publishing_state.go +++ b/models/teams_app_publishing_state.go @@ -38,3 +38,6 @@ func SerializeTeamsAppPublishingState(values []TeamsAppPublishingState) []string } return result } +func (i TeamsAppPublishingState) isMultiValue() bool { + return false +} diff --git a/models/teams_app_resource_specific_permission_type.go b/models/teams_app_resource_specific_permission_type.go index 0fdac748479..33531b77b33 100644 --- a/models/teams_app_resource_specific_permission_type.go +++ b/models/teams_app_resource_specific_permission_type.go @@ -35,3 +35,6 @@ func SerializeTeamsAppResourceSpecificPermissionType(values []TeamsAppResourceSp } return result } +func (i TeamsAppResourceSpecificPermissionType) isMultiValue() bool { + return false +} diff --git a/models/teams_async_operation_status.go b/models/teams_async_operation_status.go index 831f2b8d6fb..be636b0dc37 100644 --- a/models/teams_async_operation_status.go +++ b/models/teams_async_operation_status.go @@ -44,3 +44,6 @@ func SerializeTeamsAsyncOperationStatus(values []TeamsAsyncOperationStatus) []st } return result } +func (i TeamsAsyncOperationStatus) isMultiValue() bool { + return false +} diff --git a/models/teams_async_operation_type.go b/models/teams_async_operation_type.go index 11189973623..c5e80a84756 100644 --- a/models/teams_async_operation_type.go +++ b/models/teams_async_operation_type.go @@ -53,3 +53,6 @@ func SerializeTeamsAsyncOperationType(values []TeamsAsyncOperationType) []string } return result } +func (i TeamsAsyncOperationType) isMultiValue() bool { + return false +} diff --git a/models/teamwork.go b/models/teamwork.go index c26e9b0934b..d071fc07a12 100644 --- a/models/teamwork.go +++ b/models/teamwork.go @@ -19,7 +19,7 @@ func NewTeamwork()(*Teamwork) { func CreateTeamworkFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewTeamwork(), nil } -// GetDeletedChats gets the deletedChats property value. The deletedChats property +// GetDeletedChats gets the deletedChats property value. A collection of deleted chats. func (m *Teamwork) GetDeletedChats()([]DeletedChatable) { val, err := m.GetBackingStore().Get("deletedChats") if err != nil { @@ -254,7 +254,7 @@ func (m *Teamwork) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c01 } return nil } -// SetDeletedChats sets the deletedChats property value. The deletedChats property +// SetDeletedChats sets the deletedChats property value. A collection of deleted chats. func (m *Teamwork) SetDeletedChats(value []DeletedChatable)() { err := m.GetBackingStore().Set("deletedChats", value) if err != nil { diff --git a/models/teamwork_activity_topic_source.go b/models/teamwork_activity_topic_source.go index 026aa880d71..229c48e0ad1 100644 --- a/models/teamwork_activity_topic_source.go +++ b/models/teamwork_activity_topic_source.go @@ -32,3 +32,6 @@ func SerializeTeamworkActivityTopicSource(values []TeamworkActivityTopicSource) } return result } +func (i TeamworkActivityTopicSource) isMultiValue() bool { + return false +} diff --git a/models/teamwork_application_identity_type.go b/models/teamwork_application_identity_type.go index 2cb96855e6a..19f45e750fa 100644 --- a/models/teamwork_application_identity_type.go +++ b/models/teamwork_application_identity_type.go @@ -44,3 +44,6 @@ func SerializeTeamworkApplicationIdentityType(values []TeamworkApplicationIdenti } return result } +func (i TeamworkApplicationIdentityType) isMultiValue() bool { + return false +} diff --git a/models/teamwork_call_event_type.go b/models/teamwork_call_event_type.go index 88c900e729a..6ddcb14e428 100644 --- a/models/teamwork_call_event_type.go +++ b/models/teamwork_call_event_type.go @@ -38,3 +38,6 @@ func SerializeTeamworkCallEventType(values []TeamworkCallEventType) []string { } return result } +func (i TeamworkCallEventType) isMultiValue() bool { + return false +} diff --git a/models/teamwork_connection_status.go b/models/teamwork_connection_status.go index 792cf10b10a..44c7ef63972 100644 --- a/models/teamwork_connection_status.go +++ b/models/teamwork_connection_status.go @@ -38,3 +38,6 @@ func SerializeTeamworkConnectionStatus(values []TeamworkConnectionStatus) []stri } return result } +func (i TeamworkConnectionStatus) isMultiValue() bool { + return false +} diff --git a/models/teamwork_conversation_identity_type.go b/models/teamwork_conversation_identity_type.go index 67f15c234c4..d9f247a2fd9 100644 --- a/models/teamwork_conversation_identity_type.go +++ b/models/teamwork_conversation_identity_type.go @@ -38,3 +38,6 @@ func SerializeTeamworkConversationIdentityType(values []TeamworkConversationIden } return result } +func (i TeamworkConversationIdentityType) isMultiValue() bool { + return false +} diff --git a/models/teamwork_device_activity_state.go b/models/teamwork_device_activity_state.go index c4636f1eb48..f1c28818d4f 100644 --- a/models/teamwork_device_activity_state.go +++ b/models/teamwork_device_activity_state.go @@ -41,3 +41,6 @@ func SerializeTeamworkDeviceActivityState(values []TeamworkDeviceActivityState) } return result } +func (i TeamworkDeviceActivityState) isMultiValue() bool { + return false +} diff --git a/models/teamwork_device_health_status.go b/models/teamwork_device_health_status.go index 1f37990dbfc..4a340be22d9 100644 --- a/models/teamwork_device_health_status.go +++ b/models/teamwork_device_health_status.go @@ -44,3 +44,6 @@ func SerializeTeamworkDeviceHealthStatus(values []TeamworkDeviceHealthStatus) [] } return result } +func (i TeamworkDeviceHealthStatus) isMultiValue() bool { + return false +} diff --git a/models/teamwork_device_operation_type.go b/models/teamwork_device_operation_type.go index f4c48e395bc..eee70d44c19 100644 --- a/models/teamwork_device_operation_type.go +++ b/models/teamwork_device_operation_type.go @@ -50,3 +50,6 @@ func SerializeTeamworkDeviceOperationType(values []TeamworkDeviceOperationType) } return result } +func (i TeamworkDeviceOperationType) isMultiValue() bool { + return false +} diff --git a/models/teamwork_device_type.go b/models/teamwork_device_type.go index 356d44f2983..c45b1a64125 100644 --- a/models/teamwork_device_type.go +++ b/models/teamwork_device_type.go @@ -59,3 +59,6 @@ func SerializeTeamworkDeviceType(values []TeamworkDeviceType) []string { } return result } +func (i TeamworkDeviceType) isMultiValue() bool { + return false +} diff --git a/models/teamwork_software_freshness.go b/models/teamwork_software_freshness.go index cc908969b88..030e8a5d66c 100644 --- a/models/teamwork_software_freshness.go +++ b/models/teamwork_software_freshness.go @@ -38,3 +38,6 @@ func SerializeTeamworkSoftwareFreshness(values []TeamworkSoftwareFreshness) []st } return result } +func (i TeamworkSoftwareFreshness) isMultiValue() bool { + return false +} diff --git a/models/teamwork_software_type.go b/models/teamwork_software_type.go index e36339478d2..65f6c99336f 100644 --- a/models/teamwork_software_type.go +++ b/models/teamwork_software_type.go @@ -47,3 +47,6 @@ func SerializeTeamworkSoftwareType(values []TeamworkSoftwareType) []string { } return result } +func (i TeamworkSoftwareType) isMultiValue() bool { + return false +} diff --git a/models/teamwork_supported_client.go b/models/teamwork_supported_client.go index 61b954f412f..dd3f865d534 100644 --- a/models/teamwork_supported_client.go +++ b/models/teamwork_supported_client.go @@ -44,3 +44,6 @@ func SerializeTeamworkSupportedClient(values []TeamworkSupportedClient) []string } return result } +func (i TeamworkSupportedClient) isMultiValue() bool { + return false +} diff --git a/models/teamwork_tag_type.go b/models/teamwork_tag_type.go index f689d2a52d6..f18e9b9d2fc 100644 --- a/models/teamwork_tag_type.go +++ b/models/teamwork_tag_type.go @@ -32,3 +32,6 @@ func SerializeTeamworkTagType(values []TeamworkTagType) []string { } return result } +func (i TeamworkTagType) isMultiValue() bool { + return false +} diff --git a/models/teamwork_user_identity_type.go b/models/teamwork_user_identity_type.go index 8f2ed5ff6d7..1f3ce687567 100644 --- a/models/teamwork_user_identity_type.go +++ b/models/teamwork_user_identity_type.go @@ -56,3 +56,6 @@ func SerializeTeamworkUserIdentityType(values []TeamworkUserIdentityType) []stri } return result } +func (i TeamworkUserIdentityType) isMultiValue() bool { + return false +} diff --git a/models/template_application_level.go b/models/template_application_level.go index 41c7eada407..b5d6c3d4e41 100644 --- a/models/template_application_level.go +++ b/models/template_application_level.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type TemplateApplicationLevel int @@ -13,21 +14,30 @@ const ( ) func (i TemplateApplicationLevel) String() string { - return []string{"none", "newPartners", "existingPartners", "unknownFutureValue"}[i] + var values []string + for p := TemplateApplicationLevel(1); p <= UNKNOWNFUTUREVALUE_TEMPLATEAPPLICATIONLEVEL; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "newPartners", "existingPartners", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseTemplateApplicationLevel(v string) (any, error) { - result := NONE_TEMPLATEAPPLICATIONLEVEL - switch v { - case "none": - result = NONE_TEMPLATEAPPLICATIONLEVEL - case "newPartners": - result = NEWPARTNERS_TEMPLATEAPPLICATIONLEVEL - case "existingPartners": - result = EXISTINGPARTNERS_TEMPLATEAPPLICATIONLEVEL - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_TEMPLATEAPPLICATIONLEVEL - default: - return 0, errors.New("Unknown TemplateApplicationLevel value: " + v) + var result TemplateApplicationLevel + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_TEMPLATEAPPLICATIONLEVEL + case "newPartners": + result |= NEWPARTNERS_TEMPLATEAPPLICATIONLEVEL + case "existingPartners": + result |= EXISTINGPARTNERS_TEMPLATEAPPLICATIONLEVEL + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_TEMPLATEAPPLICATIONLEVEL + default: + return 0, errors.New("Unknown TemplateApplicationLevel value: " + v) + } } return &result, nil } @@ -38,3 +48,6 @@ func SerializeTemplateApplicationLevel(values []TemplateApplicationLevel) []stri } return result } +func (i TemplateApplicationLevel) isMultiValue() bool { + return true +} diff --git a/models/template_scenarios.go b/models/template_scenarios.go index c5daff2b12d..1b8a935501b 100644 --- a/models/template_scenarios.go +++ b/models/template_scenarios.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type TemplateScenarios int @@ -16,27 +17,36 @@ const ( ) func (i TemplateScenarios) String() string { - return []string{"new", "secureFoundation", "zeroTrust", "remoteWork", "protectAdmins", "emergingThreats", "unknownFutureValue"}[i] + var values []string + for p := TemplateScenarios(1); p <= UNKNOWNFUTUREVALUE_TEMPLATESCENARIOS; p <<= 1 { + if i&p == p { + values = append(values, []string{"new", "secureFoundation", "zeroTrust", "remoteWork", "protectAdmins", "emergingThreats", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseTemplateScenarios(v string) (any, error) { - result := NEW_TEMPLATESCENARIOS - switch v { - case "new": - result = NEW_TEMPLATESCENARIOS - case "secureFoundation": - result = SECUREFOUNDATION_TEMPLATESCENARIOS - case "zeroTrust": - result = ZEROTRUST_TEMPLATESCENARIOS - case "remoteWork": - result = REMOTEWORK_TEMPLATESCENARIOS - case "protectAdmins": - result = PROTECTADMINS_TEMPLATESCENARIOS - case "emergingThreats": - result = EMERGINGTHREATS_TEMPLATESCENARIOS - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_TEMPLATESCENARIOS - default: - return 0, errors.New("Unknown TemplateScenarios value: " + v) + var result TemplateScenarios + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "new": + result |= NEW_TEMPLATESCENARIOS + case "secureFoundation": + result |= SECUREFOUNDATION_TEMPLATESCENARIOS + case "zeroTrust": + result |= ZEROTRUST_TEMPLATESCENARIOS + case "remoteWork": + result |= REMOTEWORK_TEMPLATESCENARIOS + case "protectAdmins": + result |= PROTECTADMINS_TEMPLATESCENARIOS + case "emergingThreats": + result |= EMERGINGTHREATS_TEMPLATESCENARIOS + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_TEMPLATESCENARIOS + default: + return 0, errors.New("Unknown TemplateScenarios value: " + v) + } } return &result, nil } @@ -47,3 +57,6 @@ func SerializeTemplateScenarios(values []TemplateScenarios) []string { } return result } +func (i TemplateScenarios) isMultiValue() bool { + return true +} diff --git a/models/termstore/relation_type.go b/models/termstore/relation_type.go index 339522eb68a..4d73f006727 100644 --- a/models/termstore/relation_type.go +++ b/models/termstore/relation_type.go @@ -32,3 +32,6 @@ func SerializeRelationType(values []RelationType) []string { } return result } +func (i RelationType) isMultiValue() bool { + return false +} diff --git a/models/termstore/term_group_scope.go b/models/termstore/term_group_scope.go index 8339427fcd8..27452dabc64 100644 --- a/models/termstore/term_group_scope.go +++ b/models/termstore/term_group_scope.go @@ -35,3 +35,6 @@ func SerializeTermGroupScope(values []TermGroupScope) []string { } return result } +func (i TermGroupScope) isMultiValue() bool { + return false +} diff --git a/models/threat_assessment_content_type.go b/models/threat_assessment_content_type.go index dfb82b561e1..51e0b6f46b8 100644 --- a/models/threat_assessment_content_type.go +++ b/models/threat_assessment_content_type.go @@ -35,3 +35,6 @@ func SerializeThreatAssessmentContentType(values []ThreatAssessmentContentType) } return result } +func (i ThreatAssessmentContentType) isMultiValue() bool { + return false +} diff --git a/models/threat_assessment_request_source.go b/models/threat_assessment_request_source.go index afcd6c359f4..6df0247ff0f 100644 --- a/models/threat_assessment_request_source.go +++ b/models/threat_assessment_request_source.go @@ -35,3 +35,6 @@ func SerializeThreatAssessmentRequestSource(values []ThreatAssessmentRequestSour } return result } +func (i ThreatAssessmentRequestSource) isMultiValue() bool { + return false +} diff --git a/models/threat_assessment_result_type.go b/models/threat_assessment_result_type.go index 98c2b868681..f3cd2967030 100644 --- a/models/threat_assessment_result_type.go +++ b/models/threat_assessment_result_type.go @@ -35,3 +35,6 @@ func SerializeThreatAssessmentResultType(values []ThreatAssessmentResultType) [] } return result } +func (i ThreatAssessmentResultType) isMultiValue() bool { + return false +} diff --git a/models/threat_assessment_status.go b/models/threat_assessment_status.go index 9cbb2a085f1..07276bb58ef 100644 --- a/models/threat_assessment_status.go +++ b/models/threat_assessment_status.go @@ -32,3 +32,6 @@ func SerializeThreatAssessmentStatus(values []ThreatAssessmentStatus) []string { } return result } +func (i ThreatAssessmentStatus) isMultiValue() bool { + return false +} diff --git a/models/threat_category.go b/models/threat_category.go index 14a6eafe45a..f90fcb95d59 100644 --- a/models/threat_category.go +++ b/models/threat_category.go @@ -41,3 +41,6 @@ func SerializeThreatCategory(values []ThreatCategory) []string { } return result } +func (i ThreatCategory) isMultiValue() bool { + return false +} diff --git a/models/threat_expected_assessment.go b/models/threat_expected_assessment.go index 3f37c79833a..7f707e83e75 100644 --- a/models/threat_expected_assessment.go +++ b/models/threat_expected_assessment.go @@ -32,3 +32,6 @@ func SerializeThreatExpectedAssessment(values []ThreatExpectedAssessment) []stri } return result } +func (i ThreatExpectedAssessment) isMultiValue() bool { + return false +} diff --git a/models/ti_action.go b/models/ti_action.go index d1b8a454112..bfe9c2bf487 100644 --- a/models/ti_action.go +++ b/models/ti_action.go @@ -41,3 +41,6 @@ func SerializeTiAction(values []TiAction) []string { } return result } +func (i TiAction) isMultiValue() bool { + return false +} diff --git a/models/ti_indicator.go b/models/ti_indicator.go index b55fe641685..100f0d83a1f 100644 --- a/models/ti_indicator.go +++ b/models/ti_indicator.go @@ -218,7 +218,7 @@ func (m *TiIndicator) GetExpirationDateTime()(*i336074805fc853987abe6f7fe3ad97a6 } return nil } -// GetExternalId gets the externalId property value. An identification number that ties the indicator back to the indicator provider’s system (e.g. a foreign key). +// GetExternalId gets the externalId property value. An identification number that ties the indicator back to the indicator provider’s system (for example, a foreign key). func (m *TiIndicator) GetExternalId()(*string) { val, err := m.GetBackingStore().Get("externalId") if err != nil { @@ -1003,7 +1003,7 @@ func (m *TiIndicator) GetLastReportedDateTime()(*i336074805fc853987abe6f7fe3ad97 } return nil } -// GetMalwareFamilyNames gets the malwareFamilyNames property value. The malware family name associated with an indicator if it exists. Microsoft prefers the Microsoft malware family name if at all possible which can be found via the Windows Defender Security Intelligence threat encyclopedia. +// GetMalwareFamilyNames gets the malwareFamilyNames property value. The malware family name associated with an indicator if it exists. Microsoft prefers the Microsoft malware family name if at all possible that can be found via the Windows Defender Security Intelligence threat encyclopedia. func (m *TiIndicator) GetMalwareFamilyNames()([]string) { val, err := m.GetBackingStore().Get("malwareFamilyNames") if err != nil { @@ -1179,7 +1179,7 @@ func (m *TiIndicator) GetNetworkSourcePort()(*int32) { } return nil } -// GetPassiveOnly gets the passiveOnly property value. Determines if the indicator should trigger an event that is visible to an end-user. When set to ‘true,’ security tools will not notify the end user that a ‘hit’ has occurred. This is most often treated as audit or silent mode by security products where they will simply log that a match occurred but will not perform the action. Default value is false. +// GetPassiveOnly gets the passiveOnly property value. Determines if the indicator should trigger an event that is visible to an end-user. When set to ‘true,’ security tools won't notify the end user that a ‘hit’ has occurred. This is most often treated as audit or silent mode by security products where they'll simply log that a match occurred but won't perform the action. Default value is false. func (m *TiIndicator) GetPassiveOnly()(*bool) { val, err := m.GetBackingStore().Get("passiveOnly") if err != nil { @@ -1190,7 +1190,7 @@ func (m *TiIndicator) GetPassiveOnly()(*bool) { } return nil } -// GetSeverity gets the severity property value. An integer representing the severity of the malicious behavior identified by the data within the indicator. Acceptable values are 0 – 5 where 5 is the most severe and zero is not severe at all. Default value is 3. +// GetSeverity gets the severity property value. An integer representing the severity of the malicious behavior identified by the data within the indicator. Acceptable values are 0 – 5 where 5 is the most severe and zero isn't severe at all. Default value is 3. func (m *TiIndicator) GetSeverity()(*int32) { val, err := m.GetBackingStore().Get("severity") if err != nil { @@ -1753,7 +1753,7 @@ func (m *TiIndicator) SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad panic(err) } } -// SetExternalId sets the externalId property value. An identification number that ties the indicator back to the indicator provider’s system (e.g. a foreign key). +// SetExternalId sets the externalId property value. An identification number that ties the indicator back to the indicator provider’s system (for example, a foreign key). func (m *TiIndicator) SetExternalId(value *string)() { err := m.GetBackingStore().Set("externalId", value) if err != nil { @@ -1865,7 +1865,7 @@ func (m *TiIndicator) SetLastReportedDateTime(value *i336074805fc853987abe6f7fe3 panic(err) } } -// SetMalwareFamilyNames sets the malwareFamilyNames property value. The malware family name associated with an indicator if it exists. Microsoft prefers the Microsoft malware family name if at all possible which can be found via the Windows Defender Security Intelligence threat encyclopedia. +// SetMalwareFamilyNames sets the malwareFamilyNames property value. The malware family name associated with an indicator if it exists. Microsoft prefers the Microsoft malware family name if at all possible that can be found via the Windows Defender Security Intelligence threat encyclopedia. func (m *TiIndicator) SetMalwareFamilyNames(value []string)() { err := m.GetBackingStore().Set("malwareFamilyNames", value) if err != nil { @@ -1977,14 +1977,14 @@ func (m *TiIndicator) SetNetworkSourcePort(value *int32)() { panic(err) } } -// SetPassiveOnly sets the passiveOnly property value. Determines if the indicator should trigger an event that is visible to an end-user. When set to ‘true,’ security tools will not notify the end user that a ‘hit’ has occurred. This is most often treated as audit or silent mode by security products where they will simply log that a match occurred but will not perform the action. Default value is false. +// SetPassiveOnly sets the passiveOnly property value. Determines if the indicator should trigger an event that is visible to an end-user. When set to ‘true,’ security tools won't notify the end user that a ‘hit’ has occurred. This is most often treated as audit or silent mode by security products where they'll simply log that a match occurred but won't perform the action. Default value is false. func (m *TiIndicator) SetPassiveOnly(value *bool)() { err := m.GetBackingStore().Set("passiveOnly", value) if err != nil { panic(err) } } -// SetSeverity sets the severity property value. An integer representing the severity of the malicious behavior identified by the data within the indicator. Acceptable values are 0 – 5 where 5 is the most severe and zero is not severe at all. Default value is 3. +// SetSeverity sets the severity property value. An integer representing the severity of the malicious behavior identified by the data within the indicator. Acceptable values are 0 – 5 where 5 is the most severe and zero isn't severe at all. Default value is 3. func (m *TiIndicator) SetSeverity(value *int32)() { err := m.GetBackingStore().Set("severity", value) if err != nil { diff --git a/models/time_card_state.go b/models/time_card_state.go index 8084c5bc2fa..a17ef42d1fb 100644 --- a/models/time_card_state.go +++ b/models/time_card_state.go @@ -38,3 +38,6 @@ func SerializeTimeCardState(values []TimeCardState) []string { } return result } +func (i TimeCardState) isMultiValue() bool { + return false +} diff --git a/models/time_clock_settings.go b/models/time_clock_settings.go index 4802e8cdbe3..0b27d0663d3 100644 --- a/models/time_clock_settings.go +++ b/models/time_clock_settings.go @@ -34,7 +34,7 @@ func (m *TimeClockSettings) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetApprovedLocation gets the approvedLocation property value. The aprroved location of the timeClock. +// GetApprovedLocation gets the approvedLocation property value. The approved location of the timeClock. func (m *TimeClockSettings) GetApprovedLocation()(GeoCoordinatesable) { val, err := m.GetBackingStore().Get("approvedLocation") if err != nil { @@ -114,7 +114,7 @@ func (m *TimeClockSettings) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetApprovedLocation sets the approvedLocation property value. The aprroved location of the timeClock. +// SetApprovedLocation sets the approvedLocation property value. The approved location of the timeClock. func (m *TimeClockSettings) SetApprovedLocation(value GeoCoordinatesable)() { err := m.GetBackingStore().Set("approvedLocation", value) if err != nil { diff --git a/models/time_off_reason_icon_type.go b/models/time_off_reason_icon_type.go index 8d9b978aab9..c2681687126 100644 --- a/models/time_off_reason_icon_type.go +++ b/models/time_off_reason_icon_type.go @@ -92,3 +92,6 @@ func SerializeTimeOffReasonIconType(values []TimeOffReasonIconType) []string { } return result } +func (i TimeOffReasonIconType) isMultiValue() bool { + return false +} diff --git a/models/title_area_layout_type.go b/models/title_area_layout_type.go index 6acbc5736d3..70e2149ec18 100644 --- a/models/title_area_layout_type.go +++ b/models/title_area_layout_type.go @@ -41,3 +41,6 @@ func SerializeTitleAreaLayoutType(values []TitleAreaLayoutType) []string { } return result } +func (i TitleAreaLayoutType) isMultiValue() bool { + return false +} diff --git a/models/title_area_text_alignment_type.go b/models/title_area_text_alignment_type.go index 011ced6d289..b0cf4905d67 100644 --- a/models/title_area_text_alignment_type.go +++ b/models/title_area_text_alignment_type.go @@ -35,3 +35,6 @@ func SerializeTitleAreaTextAlignmentType(values []TitleAreaTextAlignmentType) [] } return result } +func (i TitleAreaTextAlignmentType) isMultiValue() bool { + return false +} diff --git a/models/tlp_level.go b/models/tlp_level.go index 48aca026402..55fa0108b10 100644 --- a/models/tlp_level.go +++ b/models/tlp_level.go @@ -44,3 +44,6 @@ func SerializeTlpLevel(values []TlpLevel) []string { } return result } +func (i TlpLevel) isMultiValue() bool { + return false +} diff --git a/models/token_issuer_type.go b/models/token_issuer_type.go index a9329ed0b54..9f9c8c695cf 100644 --- a/models/token_issuer_type.go +++ b/models/token_issuer_type.go @@ -44,3 +44,6 @@ func SerializeTokenIssuerType(values []TokenIssuerType) []string { } return result } +func (i TokenIssuerType) isMultiValue() bool { + return false +} diff --git a/models/token_protection_status.go b/models/token_protection_status.go index 84a7a836747..4bb2dc2db73 100644 --- a/models/token_protection_status.go +++ b/models/token_protection_status.go @@ -38,3 +38,6 @@ func SerializeTokenProtectionStatus(values []TokenProtectionStatus) []string { } return result } +func (i TokenProtectionStatus) isMultiValue() bool { + return false +} diff --git a/models/tone.go b/models/tone.go index 14c25eeafce..5e68f43a603 100644 --- a/models/tone.go +++ b/models/tone.go @@ -77,3 +77,6 @@ func SerializeTone(values []Tone) []string { } return result } +func (i Tone) isMultiValue() bool { + return false +} diff --git a/models/training_assigned_to.go b/models/training_assigned_to.go index 8335bcdbe71..0a9056a8e49 100644 --- a/models/training_assigned_to.go +++ b/models/training_assigned_to.go @@ -50,3 +50,6 @@ func SerializeTrainingAssignedTo(values []TrainingAssignedTo) []string { } return result } +func (i TrainingAssignedTo) isMultiValue() bool { + return false +} diff --git a/models/training_availability_status.go b/models/training_availability_status.go index 6d373af6763..372a3211823 100644 --- a/models/training_availability_status.go +++ b/models/training_availability_status.go @@ -44,3 +44,6 @@ func SerializeTrainingAvailabilityStatus(values []TrainingAvailabilityStatus) [] } return result } +func (i TrainingAvailabilityStatus) isMultiValue() bool { + return false +} diff --git a/models/training_completion_duration.go b/models/training_completion_duration.go index 806df75b8ec..278164a2f51 100644 --- a/models/training_completion_duration.go +++ b/models/training_completion_duration.go @@ -38,3 +38,6 @@ func SerializeTrainingCompletionDuration(values []TrainingCompletionDuration) [] } return result } +func (i TrainingCompletionDuration) isMultiValue() bool { + return false +} diff --git a/models/training_setting_type.go b/models/training_setting_type.go index 9311368321f..ebef34730a9 100644 --- a/models/training_setting_type.go +++ b/models/training_setting_type.go @@ -41,3 +41,6 @@ func SerializeTrainingSettingType(values []TrainingSettingType) []string { } return result } +func (i TrainingSettingType) isMultiValue() bool { + return false +} diff --git a/models/training_status.go b/models/training_status.go index bc886572b1a..6e7bdefde14 100644 --- a/models/training_status.go +++ b/models/training_status.go @@ -44,3 +44,6 @@ func SerializeTrainingStatus(values []TrainingStatus) []string { } return result } +func (i TrainingStatus) isMultiValue() bool { + return false +} diff --git a/models/training_type.go b/models/training_type.go index b068729c737..29c1b93cc9c 100644 --- a/models/training_type.go +++ b/models/training_type.go @@ -35,3 +35,6 @@ func SerializeTrainingType(values []TrainingType) []string { } return result } +func (i TrainingType) isMultiValue() bool { + return false +} diff --git a/models/translation_behavior.go b/models/translation_behavior.go index 100bbd05b95..280e0f40c23 100644 --- a/models/translation_behavior.go +++ b/models/translation_behavior.go @@ -35,3 +35,6 @@ func SerializeTranslationBehavior(values []TranslationBehavior) []string { } return result } +func (i TranslationBehavior) isMultiValue() bool { + return false +} diff --git a/models/trust_framework_key.go b/models/trust_framework_key.go index 7d32a7267cf..0d32525765e 100644 --- a/models/trust_framework_key.go +++ b/models/trust_framework_key.go @@ -38,7 +38,7 @@ func (m *TrustFrameworkKey) GetAdditionalData()(map[string]any) { func (m *TrustFrameworkKey) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetD gets the d property value. RSA Key - private exponent. Field cannot be read back. +// GetD gets the d property value. RSA Key - private exponent. Field can't be read back. func (m *TrustFrameworkKey) GetD()(*string) { val, err := m.GetBackingStore().Get("d") if err != nil { @@ -49,7 +49,7 @@ func (m *TrustFrameworkKey) GetD()(*string) { } return nil } -// GetDp gets the dp property value. RSA Key - first exponent. Field cannot be read back. +// GetDp gets the dp property value. RSA Key - first exponent. Field can't be read back. func (m *TrustFrameworkKey) GetDp()(*string) { val, err := m.GetBackingStore().Get("dp") if err != nil { @@ -60,7 +60,7 @@ func (m *TrustFrameworkKey) GetDp()(*string) { } return nil } -// GetDq gets the dq property value. RSA Key - second exponent. Field cannot be read back. +// GetDq gets the dq property value. RSA Key - second exponent. Field can't be read back. func (m *TrustFrameworkKey) GetDq()(*string) { val, err := m.GetBackingStore().Get("dq") if err != nil { @@ -274,7 +274,7 @@ func (m *TrustFrameworkKey) GetFieldDeserializers()(map[string]func(i878a80d2330 } return res } -// GetK gets the k property value. Symmetric Key for oct key type. Field cannot be read back. +// GetK gets the k property value. Symmetric Key for oct key type. Field can't be read back. func (m *TrustFrameworkKey) GetK()(*string) { val, err := m.GetBackingStore().Get("k") if err != nil { @@ -340,7 +340,7 @@ func (m *TrustFrameworkKey) GetOdataType()(*string) { } return nil } -// GetP gets the p property value. RSA Key - first prime. Field cannot be read back. +// GetP gets the p property value. RSA Key - first prime. Field can't be read back. func (m *TrustFrameworkKey) GetP()(*string) { val, err := m.GetBackingStore().Get("p") if err != nil { @@ -351,7 +351,7 @@ func (m *TrustFrameworkKey) GetP()(*string) { } return nil } -// GetQ gets the q property value. RSA Key - second prime. Field cannot be read back. +// GetQ gets the q property value. RSA Key - second prime. Field can't be read back. func (m *TrustFrameworkKey) GetQ()(*string) { val, err := m.GetBackingStore().Get("q") if err != nil { @@ -362,7 +362,7 @@ func (m *TrustFrameworkKey) GetQ()(*string) { } return nil } -// GetQi gets the qi property value. RSA Key - Coefficient. Field cannot be read back. +// GetQi gets the qi property value. RSA Key - Coefficient. Field can't be read back. func (m *TrustFrameworkKey) GetQi()(*string) { val, err := m.GetBackingStore().Get("qi") if err != nil { @@ -395,7 +395,7 @@ func (m *TrustFrameworkKey) GetX5c()([]string) { } return nil } -// GetX5t gets the x5t property value. The x5t (X.509 certificate SHA-1 thumbprint) parameter is a base64url-encoded SHA-1 thumbprint (a.k.a. digest) of the DER encoding of an X.509 certificate RFC 5280. +// GetX5t gets the x5t property value. The x5t (X.509 certificate SHA-1 thumbprint) parameter is a base64url-encoded SHA-1 thumbprint (also known as digest) of the DER encoding of an X.509 certificate RFC 5280. func (m *TrustFrameworkKey) GetX5t()(*string) { val, err := m.GetBackingStore().Get("x5t") if err != nil { @@ -529,21 +529,21 @@ func (m *TrustFrameworkKey) SetAdditionalData(value map[string]any)() { func (m *TrustFrameworkKey) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetD sets the d property value. RSA Key - private exponent. Field cannot be read back. +// SetD sets the d property value. RSA Key - private exponent. Field can't be read back. func (m *TrustFrameworkKey) SetD(value *string)() { err := m.GetBackingStore().Set("d", value) if err != nil { panic(err) } } -// SetDp sets the dp property value. RSA Key - first exponent. Field cannot be read back. +// SetDp sets the dp property value. RSA Key - first exponent. Field can't be read back. func (m *TrustFrameworkKey) SetDp(value *string)() { err := m.GetBackingStore().Set("dp", value) if err != nil { panic(err) } } -// SetDq sets the dq property value. RSA Key - second exponent. Field cannot be read back. +// SetDq sets the dq property value. RSA Key - second exponent. Field can't be read back. func (m *TrustFrameworkKey) SetDq(value *string)() { err := m.GetBackingStore().Set("dq", value) if err != nil { @@ -564,7 +564,7 @@ func (m *TrustFrameworkKey) SetExp(value *int64)() { panic(err) } } -// SetK sets the k property value. Symmetric Key for oct key type. Field cannot be read back. +// SetK sets the k property value. Symmetric Key for oct key type. Field can't be read back. func (m *TrustFrameworkKey) SetK(value *string)() { err := m.GetBackingStore().Set("k", value) if err != nil { @@ -606,21 +606,21 @@ func (m *TrustFrameworkKey) SetOdataType(value *string)() { panic(err) } } -// SetP sets the p property value. RSA Key - first prime. Field cannot be read back. +// SetP sets the p property value. RSA Key - first prime. Field can't be read back. func (m *TrustFrameworkKey) SetP(value *string)() { err := m.GetBackingStore().Set("p", value) if err != nil { panic(err) } } -// SetQ sets the q property value. RSA Key - second prime. Field cannot be read back. +// SetQ sets the q property value. RSA Key - second prime. Field can't be read back. func (m *TrustFrameworkKey) SetQ(value *string)() { err := m.GetBackingStore().Set("q", value) if err != nil { panic(err) } } -// SetQi sets the qi property value. RSA Key - Coefficient. Field cannot be read back. +// SetQi sets the qi property value. RSA Key - Coefficient. Field can't be read back. func (m *TrustFrameworkKey) SetQi(value *string)() { err := m.GetBackingStore().Set("qi", value) if err != nil { @@ -641,7 +641,7 @@ func (m *TrustFrameworkKey) SetX5c(value []string)() { panic(err) } } -// SetX5t sets the x5t property value. The x5t (X.509 certificate SHA-1 thumbprint) parameter is a base64url-encoded SHA-1 thumbprint (a.k.a. digest) of the DER encoding of an X.509 certificate RFC 5280. +// SetX5t sets the x5t property value. The x5t (X.509 certificate SHA-1 thumbprint) parameter is a base64url-encoded SHA-1 thumbprint (also known as digest) of the DER encoding of an X.509 certificate RFC 5280. func (m *TrustFrameworkKey) SetX5t(value *string)() { err := m.GetBackingStore().Set("x5t", value) if err != nil { diff --git a/models/trusted_certificate_authority_as_entity_base.go b/models/trusted_certificate_authority_as_entity_base.go index a71ed459234..df13e0cb6f8 100644 --- a/models/trusted_certificate_authority_as_entity_base.go +++ b/models/trusted_certificate_authority_as_entity_base.go @@ -60,7 +60,7 @@ func (m *TrustedCertificateAuthorityAsEntityBase) GetFieldDeserializers()(map[st } return res } -// GetTrustedCertificateAuthorities gets the trustedCertificateAuthorities property value. The trustedCertificateAuthorities property +// GetTrustedCertificateAuthorities gets the trustedCertificateAuthorities property value. Collection of trusted certificate authorities. func (m *TrustedCertificateAuthorityAsEntityBase) GetTrustedCertificateAuthorities()([]CertificateAuthorityAsEntityable) { val, err := m.GetBackingStore().Get("trustedCertificateAuthorities") if err != nil { @@ -91,7 +91,7 @@ func (m *TrustedCertificateAuthorityAsEntityBase) Serialize(writer i878a80d2330e } return nil } -// SetTrustedCertificateAuthorities sets the trustedCertificateAuthorities property value. The trustedCertificateAuthorities property +// SetTrustedCertificateAuthorities sets the trustedCertificateAuthorities property value. Collection of trusted certificate authorities. func (m *TrustedCertificateAuthorityAsEntityBase) SetTrustedCertificateAuthorities(value []CertificateAuthorityAsEntityable)() { err := m.GetBackingStore().Set("trustedCertificateAuthorities", value) if err != nil { diff --git a/models/unified_rbac_resource_action.go b/models/unified_rbac_resource_action.go index 720aa259635..19786f2ffd9 100644 --- a/models/unified_rbac_resource_action.go +++ b/models/unified_rbac_resource_action.go @@ -169,7 +169,7 @@ func (m *UnifiedRbacResourceAction) GetIsAuthenticationContextSettable()(*bool) } return nil } -// GetIsPrivileged gets the isPrivileged property value. The isPrivileged property +// GetIsPrivileged gets the isPrivileged property value. Flag indicating if the action is a sensitive resource action. Applies only for actions in the microsoft.directory resource namespace. Read-only. Supports $filter (eq). func (m *UnifiedRbacResourceAction) GetIsPrivileged()(*bool) { val, err := m.GetBackingStore().Get("isPrivileged") if err != nil { @@ -310,7 +310,7 @@ func (m *UnifiedRbacResourceAction) SetIsAuthenticationContextSettable(value *bo panic(err) } } -// SetIsPrivileged sets the isPrivileged property value. The isPrivileged property +// SetIsPrivileged sets the isPrivileged property value. Flag indicating if the action is a sensitive resource action. Applies only for actions in the microsoft.directory resource namespace. Read-only. Supports $filter (eq). func (m *UnifiedRbacResourceAction) SetIsPrivileged(value *bool)() { err := m.GetBackingStore().Set("isPrivileged", value) if err != nil { diff --git a/models/unified_role_assignment_multiple.go b/models/unified_role_assignment_multiple.go index 299a4514aab..d841afa32c9 100644 --- a/models/unified_role_assignment_multiple.go +++ b/models/unified_role_assignment_multiple.go @@ -63,7 +63,7 @@ func (m *UnifiedRoleAssignmentMultiple) GetDescription()(*string) { } return nil } -// GetDirectoryScopeIds gets the directoryScopeIds property value. Ids of the directory objects representing the scopes of the assignment. The scopes of an assignment determine the set of resources for which the principals have been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. App scopes are scopes that are defined and understood by this application only. +// GetDirectoryScopeIds gets the directoryScopeIds property value. Ids of the directory objects that represent the scopes of the assignment. The scopes of an assignment determine the set of resources for which the principals have been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. App scopes are scopes that are defined and understood by this application only. func (m *UnifiedRoleAssignmentMultiple) GetDirectoryScopeIds()([]string) { val, err := m.GetBackingStore().Get("directoryScopeIds") if err != nil { @@ -74,7 +74,7 @@ func (m *UnifiedRoleAssignmentMultiple) GetDirectoryScopeIds()([]string) { } return nil } -// GetDirectoryScopes gets the directoryScopes property value. Read-only collection referencing the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// GetDirectoryScopes gets the directoryScopes property value. Read-only collection that references the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. func (m *UnifiedRoleAssignmentMultiple) GetDirectoryScopes()([]DirectoryObjectable) { val, err := m.GetBackingStore().Get("directoryScopes") if err != nil { @@ -258,7 +258,7 @@ func (m *UnifiedRoleAssignmentMultiple) GetPrincipalIds()([]string) { } return nil } -// GetPrincipals gets the principals property value. Read-only collection referencing the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// GetPrincipals gets the principals property value. Read-only collection that references the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. func (m *UnifiedRoleAssignmentMultiple) GetPrincipals()([]DirectoryObjectable) { val, err := m.GetBackingStore().Get("principals") if err != nil { @@ -411,14 +411,14 @@ func (m *UnifiedRoleAssignmentMultiple) SetDescription(value *string)() { panic(err) } } -// SetDirectoryScopeIds sets the directoryScopeIds property value. Ids of the directory objects representing the scopes of the assignment. The scopes of an assignment determine the set of resources for which the principals have been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. App scopes are scopes that are defined and understood by this application only. +// SetDirectoryScopeIds sets the directoryScopeIds property value. Ids of the directory objects that represent the scopes of the assignment. The scopes of an assignment determine the set of resources for which the principals have been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. App scopes are scopes that are defined and understood by this application only. func (m *UnifiedRoleAssignmentMultiple) SetDirectoryScopeIds(value []string)() { err := m.GetBackingStore().Set("directoryScopeIds", value) if err != nil { panic(err) } } -// SetDirectoryScopes sets the directoryScopes property value. Read-only collection referencing the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// SetDirectoryScopes sets the directoryScopes property value. Read-only collection that references the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. func (m *UnifiedRoleAssignmentMultiple) SetDirectoryScopes(value []DirectoryObjectable)() { err := m.GetBackingStore().Set("directoryScopes", value) if err != nil { @@ -439,7 +439,7 @@ func (m *UnifiedRoleAssignmentMultiple) SetPrincipalIds(value []string)() { panic(err) } } -// SetPrincipals sets the principals property value. Read-only collection referencing the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// SetPrincipals sets the principals property value. Read-only collection that references the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. func (m *UnifiedRoleAssignmentMultiple) SetPrincipals(value []DirectoryObjectable)() { err := m.GetBackingStore().Set("principals", value) if err != nil { diff --git a/models/unified_role_definition.go b/models/unified_role_definition.go index a78573a3047..eacd0b42b01 100644 --- a/models/unified_role_definition.go +++ b/models/unified_role_definition.go @@ -218,7 +218,7 @@ func (m *UnifiedRoleDefinition) GetIsEnabled()(*bool) { } return nil } -// GetIsPrivileged gets the isPrivileged property value. The isPrivileged property +// GetIsPrivileged gets the isPrivileged property value. Flag indicating if the role is privileged. Azure AD defines a role as privileged if it contains at least one sensitive resource action in the rolePermissions and allowedResourceActions objects. Applies only for actions in the microsoft.directory resource namespace. Read-only. Supports $filter (eq). func (m *UnifiedRoleDefinition) GetIsPrivileged()(*bool) { val, err := m.GetBackingStore().Get("isPrivileged") if err != nil { @@ -402,7 +402,7 @@ func (m *UnifiedRoleDefinition) SetIsEnabled(value *bool)() { panic(err) } } -// SetIsPrivileged sets the isPrivileged property value. The isPrivileged property +// SetIsPrivileged sets the isPrivileged property value. Flag indicating if the role is privileged. Azure AD defines a role as privileged if it contains at least one sensitive resource action in the rolePermissions and allowedResourceActions objects. Applies only for actions in the microsoft.directory resource namespace. Read-only. Supports $filter (eq). func (m *UnifiedRoleDefinition) SetIsPrivileged(value *bool)() { err := m.GetBackingStore().Set("isPrivileged", value) if err != nil { diff --git a/models/unified_role_management_policy_expiration_rule.go b/models/unified_role_management_policy_expiration_rule.go index bdc0fb8112d..29b71a791be 100644 --- a/models/unified_role_management_policy_expiration_rule.go +++ b/models/unified_role_management_policy_expiration_rule.go @@ -57,7 +57,7 @@ func (m *UnifiedRoleManagementPolicyExpirationRule) GetIsExpirationRequired()(*b } return nil } -// GetMaximumDuration gets the maximumDuration property value. The maximum duration allowed for eligibility or assignment which is not permanent. Required when isExpirationRequired is true. +// GetMaximumDuration gets the maximumDuration property value. The maximum duration allowed for eligibility or assignment that isn't permanent. Required when isExpirationRequired is true. func (m *UnifiedRoleManagementPolicyExpirationRule) GetMaximumDuration()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) { val, err := m.GetBackingStore().Get("maximumDuration") if err != nil { @@ -95,7 +95,7 @@ func (m *UnifiedRoleManagementPolicyExpirationRule) SetIsExpirationRequired(valu panic(err) } } -// SetMaximumDuration sets the maximumDuration property value. The maximum duration allowed for eligibility or assignment which is not permanent. Required when isExpirationRequired is true. +// SetMaximumDuration sets the maximumDuration property value. The maximum duration allowed for eligibility or assignment that isn't permanent. Required when isExpirationRequired is true. func (m *UnifiedRoleManagementPolicyExpirationRule) SetMaximumDuration(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() { err := m.GetBackingStore().Set("maximumDuration", value) if err != nil { diff --git a/models/update_classification.go b/models/update_classification.go index 080ac287d51..adc535e51e5 100644 --- a/models/update_classification.go +++ b/models/update_classification.go @@ -42,3 +42,6 @@ func SerializeUpdateClassification(values []UpdateClassification) []string { } return result } +func (i UpdateClassification) isMultiValue() bool { + return false +} diff --git a/models/usage_auth_method.go b/models/usage_auth_method.go index a0d52766856..d884b9051f6 100644 --- a/models/usage_auth_method.go +++ b/models/usage_auth_method.go @@ -59,3 +59,6 @@ func SerializeUsageAuthMethod(values []UsageAuthMethod) []string { } return result } +func (i UsageAuthMethod) isMultiValue() bool { + return false +} diff --git a/models/usage_right_state.go b/models/usage_right_state.go index b3f766bc0f6..c4d9cbe3628 100644 --- a/models/usage_right_state.go +++ b/models/usage_right_state.go @@ -41,3 +41,6 @@ func SerializeUsageRightState(values []UsageRightState) []string { } return result } +func (i UsageRightState) isMultiValue() bool { + return false +} diff --git a/models/user.go b/models/user.go index d924d1bbc62..868c08304dd 100644 --- a/models/user.go +++ b/models/user.go @@ -55,7 +55,7 @@ func (m *User) GetActivities()([]UserActivityable) { } return nil } -// GetAgeGroup gets the ageGroup property value. Sets the age group of the user. Allowed values: null, Minor, NotAdult and Adult. Refer to the legal age group property definitions for further information. Supports $filter (eq, ne, not, and in). +// GetAgeGroup gets the ageGroup property value. Sets the age group of the user. Allowed values: null, Minor, NotAdult and Adult. For more information, see legal age group property definitions. Supports $filter (eq, ne, not, and in). func (m *User) GetAgeGroup()(*string) { val, err := m.GetBackingStore().Get("ageGroup") if err != nil { @@ -132,7 +132,7 @@ func (m *User) GetApprovals()([]Approvalable) { } return nil } -// GetAssignedLicenses gets the assignedLicenses property value. The licenses that are assigned to the user, including inherited (group-based) licenses. This property doesn't differentiate directly-assigned and inherited licenses. Use the licenseAssignmentStates property to identify the directly-assigned and inherited licenses. Not nullable. Supports $filter (eq, not, /$count eq 0, /$count ne 0). +// GetAssignedLicenses gets the assignedLicenses property value. The licenses that are assigned to the user, including inherited (group-based) licenses. This property doesn't differentiate directly assigned and inherited licenses. Use the licenseAssignmentStates property to identify the directly assigned and inherited licenses. Not nullable. Supports $filter (eq, not, /$count eq 0, /$count ne 0). func (m *User) GetAssignedLicenses()([]AssignedLicenseable) { val, err := m.GetBackingStore().Get("assignedLicenses") if err != nil { @@ -253,7 +253,7 @@ func (m *User) GetChats()([]Chatable) { } return nil } -// GetCity gets the city property value. The city in which the user is located. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). +// GetCity gets the city property value. The city where the user is located. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). func (m *User) GetCity()(*string) { val, err := m.GetBackingStore().Get("city") if err != nil { @@ -286,7 +286,7 @@ func (m *User) GetCloudRealtimeCommunicationInfo()(CloudRealtimeCommunicationInf } return nil } -// GetCompanyName gets the companyName property value. The company name which the user is associated. This property can be useful for describing the company that an external user comes from. The maximum length is 64 characters.Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). +// GetCompanyName gets the companyName property value. The name of the company that the user is associated with. This property can be useful for describing the company that an external user comes from. The maximum length is 64 characters.Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). func (m *User) GetCompanyName()(*string) { val, err := m.GetBackingStore().Get("companyName") if err != nil { @@ -330,7 +330,7 @@ func (m *User) GetContacts()([]Contactable) { } return nil } -// GetCountry gets the country property value. The country/region in which the user is located; for example, US or UK. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). +// GetCountry gets the country property value. The country or region where the user is located; for example, US or UK. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). func (m *User) GetCountry()(*string) { val, err := m.GetBackingStore().Get("country") if err != nil { @@ -352,7 +352,7 @@ func (m *User) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16 } return nil } -// GetCreatedObjects gets the createdObjects property value. Directory objects that were created by the user. Read-only. Nullable. +// GetCreatedObjects gets the createdObjects property value. Directory objects that the user created. Read-only. Nullable. func (m *User) GetCreatedObjects()([]DirectoryObjectable) { val, err := m.GetBackingStore().Get("createdObjects") if err != nil { @@ -462,7 +462,7 @@ func (m *User) GetDirectReports()([]DirectoryObjectable) { } return nil } -// GetDisplayName gets the displayName property value. The name displayed in the address book for the user. This value is usually the combination of the user's first name, middle initial, and last name. This property is required when a user is created and it cannot be cleared during updates. Maximum length is 256 characters. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values), $orderBy, and $search. +// GetDisplayName gets the displayName property value. The name displayed in the address book for the user. This value is usually the combination of the user's first name, middle initial, and last name. This property is required when a user is created and it cannot be cleared during updates. Maximum length is 256 characters. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values), $orderby, and $search. func (m *User) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") if err != nil { @@ -539,7 +539,7 @@ func (m *User) GetEmployeeLeaveDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3 } return nil } -// GetEmployeeOrgData gets the employeeOrgData property value. Represents organization data (e.g. division and costCenter) associated with a user. Supports $filter (eq, ne, not , ge, le, in). +// GetEmployeeOrgData gets the employeeOrgData property value. Represents organization data (for example, division and costCenter) associated with a user. Supports $filter (eq, ne, not , ge, le, in). func (m *User) GetEmployeeOrgData()(EmployeeOrgDataable) { val, err := m.GetBackingStore().Get("employeeOrgData") if err != nil { @@ -2499,6 +2499,16 @@ func (m *User) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a } return nil } + res["virtualEvents"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateUserVirtualEventsRootFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetVirtualEvents(val.(UserVirtualEventsRootable)) + } + return nil + } res["windowsInformationProtectionDeviceRegistrations"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateWindowsInformationProtectionDeviceRegistrationFromDiscriminatorValue) if err != nil { @@ -2572,7 +2582,7 @@ func (m *User) GetImAddresses()([]string) { } return nil } -// GetInferenceClassification gets the inferenceClassification property value. Relevance classification of the user's messages based on explicit designations which override inferred relevance or importance. +// GetInferenceClassification gets the inferenceClassification property value. Relevance classification of the user's messages based on explicit designations that override inferred relevance or importance. func (m *User) GetInferenceClassification()(InferenceClassificationable) { val, err := m.GetBackingStore().Get("inferenceClassification") if err != nil { @@ -2693,7 +2703,7 @@ func (m *User) GetJoinedTeams()([]Teamable) { } return nil } -// GetLastPasswordChangeDateTime gets the lastPasswordChangeDateTime property value. The time when this Azure AD user last changed their password or when their password was created, , whichever date the latest action was performed. 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. Read-only. Returned only on $select. +// GetLastPasswordChangeDateTime gets the lastPasswordChangeDateTime property value. The time when this Azure AD user last changed their password or when their password was created, whichever date the latest action was performed. 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. Read-only. Returned only on $select. func (m *User) GetLastPasswordChangeDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastPasswordChangeDateTime") if err != nil { @@ -2704,7 +2714,7 @@ func (m *User) GetLastPasswordChangeDateTime()(*i336074805fc853987abe6f7fe3ad97a } return nil } -// GetLegalAgeGroupClassification gets the legalAgeGroupClassification property value. Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, MinorWithOutParentalConsent, MinorWithParentalConsent, MinorNoParentalConsentRequired, NotAdult and Adult. Refer to the legal age group property definitions for further information. Returned only on $select. +// GetLegalAgeGroupClassification gets the legalAgeGroupClassification property value. Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, MinorWithOutParentalConsent, MinorWithParentalConsent, MinorNoParentalConsentRequired, NotAdult and Adult. For more information, see legal age group property definitions. Returned only on $select. func (m *User) GetLegalAgeGroupClassification()(*string) { val, err := m.GetBackingStore().Get("legalAgeGroupClassification") if err != nil { @@ -2715,7 +2725,7 @@ func (m *User) GetLegalAgeGroupClassification()(*string) { } return nil } -// GetLicenseAssignmentStates gets the licenseAssignmentStates property value. State of license assignments for this user. Also indicates licenses that are directly-assigned and those that the user has inherited through group memberships. Read-only. Returned only on $select. +// GetLicenseAssignmentStates gets the licenseAssignmentStates property value. State of license assignments for this user. Also indicates licenses that are directly assigned and those that the user has inherited through group memberships. Read-only. Returned only on $select. func (m *User) GetLicenseAssignmentStates()([]LicenseAssignmentStateable) { val, err := m.GetBackingStore().Get("licenseAssignmentStates") if err != nil { @@ -2737,7 +2747,7 @@ func (m *User) GetLicenseDetails()([]LicenseDetailsable) { } return nil } -// GetMail gets the mail property value. The SMTP address for the user, for example, admin@contoso.com. Changes to this property will also update the user's proxyAddresses collection to include the value as an SMTP address. This property cannot contain accent characters. NOTE: We do not recommend updating this property for Azure AD B2C user profiles. Use the otherMails property instead. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith, and eq on null values). +// GetMail gets the mail property value. The SMTP address for the user, for example, admin@contoso.com. Changes to this property also updates the user's proxyAddresses collection to include the value as an SMTP address. This property can't contain accent characters. NOTE: We don't recommend updating this property for Azure AD B2C user profiles. Use the otherMails property instead. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith, and eq on null values). func (m *User) GetMail()(*string) { val, err := m.GetBackingStore().Get("mail") if err != nil { @@ -2968,7 +2978,7 @@ func (m *User) GetOnPremisesExtensionAttributes()(OnPremisesExtensionAttributesa } return nil } -// GetOnPremisesImmutableId gets the onPremisesImmutableId property value. This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user's userPrincipalName (UPN) property. Note: The $ and _ characters cannot be used when specifying this property. Supports $filter (eq, ne, not, ge, le, in). +// GetOnPremisesImmutableId gets the onPremisesImmutableId property value. This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you're using a federated domain for the user's userPrincipalName (UPN) property. Note: The $ and _ characters can't be used when specifying this property. Supports $filter (eq, ne, not, ge, le, in). func (m *User) GetOnPremisesImmutableId()(*string) { val, err := m.GetBackingStore().Get("onPremisesImmutableId") if err != nil { @@ -3056,7 +3066,7 @@ func (m *User) GetOnPremisesUserPrincipalName()(*string) { } return nil } -// GetOtherMails gets the otherMails property value. A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com'].NOTE: This property cannot contain accent characters.Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0). +// GetOtherMails gets the otherMails property value. A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com'].NOTE: This property can't contain accent characters.Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0). func (m *User) GetOtherMails()([]string) { val, err := m.GetBackingStore().Get("otherMails") if err != nil { @@ -3100,7 +3110,7 @@ func (m *User) GetOwnedObjects()([]DirectoryObjectable) { } return nil } -// GetPasswordPolicies gets the passwordPolicies property value. Specifies password policies for the user. This value is an enumeration with one possible value being DisableStrongPassword, which allows weaker passwords than the default policy to be specified. DisablePasswordExpiration can also be specified. The two may be specified together; for example: DisablePasswordExpiration, DisableStrongPassword. For more information on the default password policies, see Azure AD pasword policies. Supports $filter (ne, not, and eq on null values). +// GetPasswordPolicies gets the passwordPolicies property value. Specifies password policies for the user. This value is an enumeration with one possible value being DisableStrongPassword, which allows weaker passwords than the default policy to be specified. DisablePasswordExpiration can also be specified. The two may be specified together; for example: DisablePasswordExpiration, DisableStrongPassword. For more information on the default password policies, see Azure AD password policies. Supports $filter (ne, not, and eq on null values). func (m *User) GetPasswordPolicies()(*string) { val, err := m.GetBackingStore().Get("passwordPolicies") if err != nil { @@ -3221,7 +3231,7 @@ func (m *User) GetPreferredDataLocation()(*string) { } return nil } -// GetPreferredLanguage gets the preferredLanguage property value. The preferred language for the user. Should follow ISO 639-1 Code; for example en-US. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). +// GetPreferredLanguage gets the preferredLanguage property value. The preferred language for the user. The preferred language format is based on RFC 4646. The name is a combination of an ISO 639 two-letter lowercase culture code associated with the language, and an ISO 3166 two-letter uppercase subculture code associated with the country or region. Example: 'en-US', or 'es-ES'. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). func (m *User) GetPreferredLanguage()(*string) { val, err := m.GetBackingStore().Get("preferredLanguage") if err != nil { @@ -3287,7 +3297,7 @@ func (m *User) GetProvisionedPlans()([]ProvisionedPlanable) { } return nil } -// GetProxyAddresses gets the proxyAddresses property value. For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. Changes to the mail property will also update this collection to include the value as an SMTP address. For more information, see mail and proxyAddresses properties. The proxy address prefixed with SMTP (capitalized) is the primary proxy address while those prefixed with smtp are the secondary proxy addresses. For Azure AD B2C accounts, this property has a limit of ten unique addresses. Read-only in Microsoft Graph; you can update this property only through the Microsoft 365 admin center. Not nullable. Supports $filter (eq, not, ge, le, startsWith, endsWith, /$count eq 0, /$count ne 0). +// GetProxyAddresses gets the proxyAddresses property value. For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. Changes to the mail property will also update this collection to include the value as an SMTP address. For more information, see mail and proxyAddresses properties. The proxy address prefixed with SMTP (capitalized) is the primary proxy address while those prefixed with smtp are the secondary proxy addresses. For Azure AD B2C accounts, this property has a limit of 10 unique addresses. Read-only in Microsoft Graph; you can update this property only through the Microsoft 365 admin center. Not nullable. Supports $filter (eq, not, ge, le, startsWith, endsWith, /$count eq 0, /$count ne 0). func (m *User) GetProxyAddresses()([]string) { val, err := m.GetBackingStore().Get("proxyAddresses") if err != nil { @@ -3298,7 +3308,7 @@ func (m *User) GetProxyAddresses()([]string) { } return nil } -// GetRefreshTokensValidFromDateTime gets the refreshTokensValidFromDateTime property value. Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use invalidateAllRefreshTokens to reset. +// GetRefreshTokensValidFromDateTime gets the refreshTokensValidFromDateTime property value. Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application needs to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use invalidateAllRefreshTokens to reset. func (m *User) GetRefreshTokensValidFromDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("refreshTokensValidFromDateTime") if err != nil { @@ -3364,7 +3374,7 @@ func (m *User) GetSecurityIdentifier()(*string) { } return nil } -// GetServiceProvisioningErrors gets the serviceProvisioningErrors property value. Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a user object . Supports $filter (eq, not, for isResolved and serviceInstance). +// GetServiceProvisioningErrors gets the serviceProvisioningErrors property value. Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). func (m *User) GetServiceProvisioningErrors()([]ServiceProvisioningErrorable) { val, err := m.GetBackingStore().Get("serviceProvisioningErrors") if err != nil { @@ -3408,7 +3418,7 @@ func (m *User) GetSignInActivity()(SignInActivityable) { } return nil } -// GetSignInSessionsValidFromDateTime gets the signInSessionsValidFromDateTime property value. Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use revokeSignInSessions to reset. +// GetSignInSessionsValidFromDateTime gets the signInSessionsValidFromDateTime property value. Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application needs to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use revokeSignInSessions to reset. func (m *User) GetSignInSessionsValidFromDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("signInSessionsValidFromDateTime") if err != nil { @@ -3518,7 +3528,7 @@ func (m *User) GetTransitiveReports()([]DirectoryObjectable) { } return nil } -// GetUsageLocation gets the usageLocation property value. A two letter country code (ISO standard 3166). Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. Examples include: US, JP, and GB. Not nullable. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). +// GetUsageLocation gets the usageLocation property value. A two letter country code (ISO standard 3166). Required for users that are assigned licenses due to legal requirement to check for availability of services in countries. Examples include: US, JP, and GB. Not nullable. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). func (m *User) GetUsageLocation()(*string) { val, err := m.GetBackingStore().Get("usageLocation") if err != nil { @@ -3540,7 +3550,7 @@ func (m *User) GetUsageRights()([]UsageRightable) { } return nil } -// GetUserPrincipalName gets the userPrincipalName property value. The user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.NOTE: This property cannot contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, ' . - _ ! # ^ ~. For the complete list of allowed characters, see username policies. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith) and $orderBy. +// GetUserPrincipalName gets the userPrincipalName property value. The user principal name (UPN) of the user. The UPN is an Internet-style sign-in name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.NOTE: This property can't contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, ' . - _ ! # ^ ~. For the complete list of allowed characters, see username policies. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith) and $orderby. func (m *User) GetUserPrincipalName()(*string) { val, err := m.GetBackingStore().Get("userPrincipalName") if err != nil { @@ -3562,6 +3572,17 @@ func (m *User) GetUserType()(*string) { } return nil } +// GetVirtualEvents gets the virtualEvents property value. The virtualEvents property +func (m *User) GetVirtualEvents()(UserVirtualEventsRootable) { + val, err := m.GetBackingStore().Get("virtualEvents") + if err != nil { + panic(err) + } + if val != nil { + return val.(UserVirtualEventsRootable) + } + return nil +} // GetWindowsInformationProtectionDeviceRegistrations gets the windowsInformationProtectionDeviceRegistrations property value. Zero or more WIP device registrations that belong to the user. func (m *User) GetWindowsInformationProtectionDeviceRegistrations()([]WindowsInformationProtectionDeviceRegistrationable) { val, err := m.GetBackingStore().Get("windowsInformationProtectionDeviceRegistrations") @@ -4803,6 +4824,12 @@ func (m *User) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c49 return err } } + { + err = writer.WriteObjectValue("virtualEvents", m.GetVirtualEvents()) + if err != nil { + return err + } + } if m.GetWindowsInformationProtectionDeviceRegistrations() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetWindowsInformationProtectionDeviceRegistrations())) for i, v := range m.GetWindowsInformationProtectionDeviceRegistrations() { @@ -4838,7 +4865,7 @@ func (m *User) SetActivities(value []UserActivityable)() { panic(err) } } -// SetAgeGroup sets the ageGroup property value. Sets the age group of the user. Allowed values: null, Minor, NotAdult and Adult. Refer to the legal age group property definitions for further information. Supports $filter (eq, ne, not, and in). +// SetAgeGroup sets the ageGroup property value. Sets the age group of the user. Allowed values: null, Minor, NotAdult and Adult. For more information, see legal age group property definitions. Supports $filter (eq, ne, not, and in). func (m *User) SetAgeGroup(value *string)() { err := m.GetBackingStore().Set("ageGroup", value) if err != nil { @@ -4887,7 +4914,7 @@ func (m *User) SetApprovals(value []Approvalable)() { panic(err) } } -// SetAssignedLicenses sets the assignedLicenses property value. The licenses that are assigned to the user, including inherited (group-based) licenses. This property doesn't differentiate directly-assigned and inherited licenses. Use the licenseAssignmentStates property to identify the directly-assigned and inherited licenses. Not nullable. Supports $filter (eq, not, /$count eq 0, /$count ne 0). +// SetAssignedLicenses sets the assignedLicenses property value. The licenses that are assigned to the user, including inherited (group-based) licenses. This property doesn't differentiate directly assigned and inherited licenses. Use the licenseAssignmentStates property to identify the directly assigned and inherited licenses. Not nullable. Supports $filter (eq, not, /$count eq 0, /$count ne 0). func (m *User) SetAssignedLicenses(value []AssignedLicenseable)() { err := m.GetBackingStore().Set("assignedLicenses", value) if err != nil { @@ -4964,7 +4991,7 @@ func (m *User) SetChats(value []Chatable)() { panic(err) } } -// SetCity sets the city property value. The city in which the user is located. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). +// SetCity sets the city property value. The city where the user is located. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). func (m *User) SetCity(value *string)() { err := m.GetBackingStore().Set("city", value) if err != nil { @@ -4985,7 +5012,7 @@ func (m *User) SetCloudRealtimeCommunicationInfo(value CloudRealtimeCommunicatio panic(err) } } -// SetCompanyName sets the companyName property value. The company name which the user is associated. This property can be useful for describing the company that an external user comes from. The maximum length is 64 characters.Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). +// SetCompanyName sets the companyName property value. The name of the company that the user is associated with. This property can be useful for describing the company that an external user comes from. The maximum length is 64 characters.Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). func (m *User) SetCompanyName(value *string)() { err := m.GetBackingStore().Set("companyName", value) if err != nil { @@ -5013,7 +5040,7 @@ func (m *User) SetContacts(value []Contactable)() { panic(err) } } -// SetCountry sets the country property value. The country/region in which the user is located; for example, US or UK. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). +// SetCountry sets the country property value. The country or region where the user is located; for example, US or UK. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). func (m *User) SetCountry(value *string)() { err := m.GetBackingStore().Set("country", value) if err != nil { @@ -5027,7 +5054,7 @@ func (m *User) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f307 panic(err) } } -// SetCreatedObjects sets the createdObjects property value. Directory objects that were created by the user. Read-only. Nullable. +// SetCreatedObjects sets the createdObjects property value. Directory objects that the user created. Read-only. Nullable. func (m *User) SetCreatedObjects(value []DirectoryObjectable)() { err := m.GetBackingStore().Set("createdObjects", value) if err != nil { @@ -5097,7 +5124,7 @@ func (m *User) SetDirectReports(value []DirectoryObjectable)() { panic(err) } } -// SetDisplayName sets the displayName property value. The name displayed in the address book for the user. This value is usually the combination of the user's first name, middle initial, and last name. This property is required when a user is created and it cannot be cleared during updates. Maximum length is 256 characters. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values), $orderBy, and $search. +// SetDisplayName sets the displayName property value. The name displayed in the address book for the user. This value is usually the combination of the user's first name, middle initial, and last name. This property is required when a user is created and it cannot be cleared during updates. Maximum length is 256 characters. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values), $orderby, and $search. func (m *User) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { @@ -5146,7 +5173,7 @@ func (m *User) SetEmployeeLeaveDateTime(value *i336074805fc853987abe6f7fe3ad97a6 panic(err) } } -// SetEmployeeOrgData sets the employeeOrgData property value. Represents organization data (e.g. division and costCenter) associated with a user. Supports $filter (eq, ne, not , ge, le, in). +// SetEmployeeOrgData sets the employeeOrgData property value. Represents organization data (for example, division and costCenter) associated with a user. Supports $filter (eq, ne, not , ge, le, in). func (m *User) SetEmployeeOrgData(value EmployeeOrgDataable)() { err := m.GetBackingStore().Set("employeeOrgData", value) if err != nil { @@ -5230,7 +5257,7 @@ func (m *User) SetImAddresses(value []string)() { panic(err) } } -// SetInferenceClassification sets the inferenceClassification property value. Relevance classification of the user's messages based on explicit designations which override inferred relevance or importance. +// SetInferenceClassification sets the inferenceClassification property value. Relevance classification of the user's messages based on explicit designations that override inferred relevance or importance. func (m *User) SetInferenceClassification(value InferenceClassificationable)() { err := m.GetBackingStore().Set("inferenceClassification", value) if err != nil { @@ -5307,21 +5334,21 @@ func (m *User) SetJoinedTeams(value []Teamable)() { panic(err) } } -// SetLastPasswordChangeDateTime sets the lastPasswordChangeDateTime property value. The time when this Azure AD user last changed their password or when their password was created, , whichever date the latest action was performed. 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. Read-only. Returned only on $select. +// SetLastPasswordChangeDateTime sets the lastPasswordChangeDateTime property value. The time when this Azure AD user last changed their password or when their password was created, whichever date the latest action was performed. 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. Read-only. Returned only on $select. func (m *User) SetLastPasswordChangeDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastPasswordChangeDateTime", value) if err != nil { panic(err) } } -// SetLegalAgeGroupClassification sets the legalAgeGroupClassification property value. Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, MinorWithOutParentalConsent, MinorWithParentalConsent, MinorNoParentalConsentRequired, NotAdult and Adult. Refer to the legal age group property definitions for further information. Returned only on $select. +// SetLegalAgeGroupClassification sets the legalAgeGroupClassification property value. Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, MinorWithOutParentalConsent, MinorWithParentalConsent, MinorNoParentalConsentRequired, NotAdult and Adult. For more information, see legal age group property definitions. Returned only on $select. func (m *User) SetLegalAgeGroupClassification(value *string)() { err := m.GetBackingStore().Set("legalAgeGroupClassification", value) if err != nil { panic(err) } } -// SetLicenseAssignmentStates sets the licenseAssignmentStates property value. State of license assignments for this user. Also indicates licenses that are directly-assigned and those that the user has inherited through group memberships. Read-only. Returned only on $select. +// SetLicenseAssignmentStates sets the licenseAssignmentStates property value. State of license assignments for this user. Also indicates licenses that are directly assigned and those that the user has inherited through group memberships. Read-only. Returned only on $select. func (m *User) SetLicenseAssignmentStates(value []LicenseAssignmentStateable)() { err := m.GetBackingStore().Set("licenseAssignmentStates", value) if err != nil { @@ -5335,7 +5362,7 @@ func (m *User) SetLicenseDetails(value []LicenseDetailsable)() { panic(err) } } -// SetMail sets the mail property value. The SMTP address for the user, for example, admin@contoso.com. Changes to this property will also update the user's proxyAddresses collection to include the value as an SMTP address. This property cannot contain accent characters. NOTE: We do not recommend updating this property for Azure AD B2C user profiles. Use the otherMails property instead. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith, and eq on null values). +// SetMail sets the mail property value. The SMTP address for the user, for example, admin@contoso.com. Changes to this property also updates the user's proxyAddresses collection to include the value as an SMTP address. This property can't contain accent characters. NOTE: We don't recommend updating this property for Azure AD B2C user profiles. Use the otherMails property instead. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith, and eq on null values). func (m *User) SetMail(value *string)() { err := m.GetBackingStore().Set("mail", value) if err != nil { @@ -5482,7 +5509,7 @@ func (m *User) SetOnPremisesExtensionAttributes(value OnPremisesExtensionAttribu panic(err) } } -// SetOnPremisesImmutableId sets the onPremisesImmutableId property value. This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user's userPrincipalName (UPN) property. Note: The $ and _ characters cannot be used when specifying this property. Supports $filter (eq, ne, not, ge, le, in). +// SetOnPremisesImmutableId sets the onPremisesImmutableId property value. This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you're using a federated domain for the user's userPrincipalName (UPN) property. Note: The $ and _ characters can't be used when specifying this property. Supports $filter (eq, ne, not, ge, le, in). func (m *User) SetOnPremisesImmutableId(value *string)() { err := m.GetBackingStore().Set("onPremisesImmutableId", value) if err != nil { @@ -5538,7 +5565,7 @@ func (m *User) SetOnPremisesUserPrincipalName(value *string)() { panic(err) } } -// SetOtherMails sets the otherMails property value. A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com'].NOTE: This property cannot contain accent characters.Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0). +// SetOtherMails sets the otherMails property value. A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com'].NOTE: This property can't contain accent characters.Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0). func (m *User) SetOtherMails(value []string)() { err := m.GetBackingStore().Set("otherMails", value) if err != nil { @@ -5566,7 +5593,7 @@ func (m *User) SetOwnedObjects(value []DirectoryObjectable)() { panic(err) } } -// SetPasswordPolicies sets the passwordPolicies property value. Specifies password policies for the user. This value is an enumeration with one possible value being DisableStrongPassword, which allows weaker passwords than the default policy to be specified. DisablePasswordExpiration can also be specified. The two may be specified together; for example: DisablePasswordExpiration, DisableStrongPassword. For more information on the default password policies, see Azure AD pasword policies. Supports $filter (ne, not, and eq on null values). +// SetPasswordPolicies sets the passwordPolicies property value. Specifies password policies for the user. This value is an enumeration with one possible value being DisableStrongPassword, which allows weaker passwords than the default policy to be specified. DisablePasswordExpiration can also be specified. The two may be specified together; for example: DisablePasswordExpiration, DisableStrongPassword. For more information on the default password policies, see Azure AD password policies. Supports $filter (ne, not, and eq on null values). func (m *User) SetPasswordPolicies(value *string)() { err := m.GetBackingStore().Set("passwordPolicies", value) if err != nil { @@ -5643,7 +5670,7 @@ func (m *User) SetPreferredDataLocation(value *string)() { panic(err) } } -// SetPreferredLanguage sets the preferredLanguage property value. The preferred language for the user. Should follow ISO 639-1 Code; for example en-US. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). +// SetPreferredLanguage sets the preferredLanguage property value. The preferred language for the user. The preferred language format is based on RFC 4646. The name is a combination of an ISO 639 two-letter lowercase culture code associated with the language, and an ISO 3166 two-letter uppercase subculture code associated with the country or region. Example: 'en-US', or 'es-ES'. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). func (m *User) SetPreferredLanguage(value *string)() { err := m.GetBackingStore().Set("preferredLanguage", value) if err != nil { @@ -5685,14 +5712,14 @@ func (m *User) SetProvisionedPlans(value []ProvisionedPlanable)() { panic(err) } } -// SetProxyAddresses sets the proxyAddresses property value. For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. Changes to the mail property will also update this collection to include the value as an SMTP address. For more information, see mail and proxyAddresses properties. The proxy address prefixed with SMTP (capitalized) is the primary proxy address while those prefixed with smtp are the secondary proxy addresses. For Azure AD B2C accounts, this property has a limit of ten unique addresses. Read-only in Microsoft Graph; you can update this property only through the Microsoft 365 admin center. Not nullable. Supports $filter (eq, not, ge, le, startsWith, endsWith, /$count eq 0, /$count ne 0). +// SetProxyAddresses sets the proxyAddresses property value. For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. Changes to the mail property will also update this collection to include the value as an SMTP address. For more information, see mail and proxyAddresses properties. The proxy address prefixed with SMTP (capitalized) is the primary proxy address while those prefixed with smtp are the secondary proxy addresses. For Azure AD B2C accounts, this property has a limit of 10 unique addresses. Read-only in Microsoft Graph; you can update this property only through the Microsoft 365 admin center. Not nullable. Supports $filter (eq, not, ge, le, startsWith, endsWith, /$count eq 0, /$count ne 0). func (m *User) SetProxyAddresses(value []string)() { err := m.GetBackingStore().Set("proxyAddresses", value) if err != nil { panic(err) } } -// SetRefreshTokensValidFromDateTime sets the refreshTokensValidFromDateTime property value. Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use invalidateAllRefreshTokens to reset. +// SetRefreshTokensValidFromDateTime sets the refreshTokensValidFromDateTime property value. Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application needs to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use invalidateAllRefreshTokens to reset. func (m *User) SetRefreshTokensValidFromDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("refreshTokensValidFromDateTime", value) if err != nil { @@ -5734,7 +5761,7 @@ func (m *User) SetSecurityIdentifier(value *string)() { panic(err) } } -// SetServiceProvisioningErrors sets the serviceProvisioningErrors property value. Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a user object . Supports $filter (eq, not, for isResolved and serviceInstance). +// SetServiceProvisioningErrors sets the serviceProvisioningErrors property value. Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). func (m *User) SetServiceProvisioningErrors(value []ServiceProvisioningErrorable)() { err := m.GetBackingStore().Set("serviceProvisioningErrors", value) if err != nil { @@ -5762,7 +5789,7 @@ func (m *User) SetSignInActivity(value SignInActivityable)() { panic(err) } } -// SetSignInSessionsValidFromDateTime sets the signInSessionsValidFromDateTime property value. Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use revokeSignInSessions to reset. +// SetSignInSessionsValidFromDateTime sets the signInSessionsValidFromDateTime property value. Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application needs to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use revokeSignInSessions to reset. func (m *User) SetSignInSessionsValidFromDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("signInSessionsValidFromDateTime", value) if err != nil { @@ -5832,7 +5859,7 @@ func (m *User) SetTransitiveReports(value []DirectoryObjectable)() { panic(err) } } -// SetUsageLocation sets the usageLocation property value. A two letter country code (ISO standard 3166). Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. Examples include: US, JP, and GB. Not nullable. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). +// SetUsageLocation sets the usageLocation property value. A two letter country code (ISO standard 3166). Required for users that are assigned licenses due to legal requirement to check for availability of services in countries. Examples include: US, JP, and GB. Not nullable. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). func (m *User) SetUsageLocation(value *string)() { err := m.GetBackingStore().Set("usageLocation", value) if err != nil { @@ -5846,7 +5873,7 @@ func (m *User) SetUsageRights(value []UsageRightable)() { panic(err) } } -// SetUserPrincipalName sets the userPrincipalName property value. The user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.NOTE: This property cannot contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, ' . - _ ! # ^ ~. For the complete list of allowed characters, see username policies. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith) and $orderBy. +// SetUserPrincipalName sets the userPrincipalName property value. The user principal name (UPN) of the user. The UPN is an Internet-style sign-in name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.NOTE: This property can't contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, ' . - _ ! # ^ ~. For the complete list of allowed characters, see username policies. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith) and $orderby. func (m *User) SetUserPrincipalName(value *string)() { err := m.GetBackingStore().Set("userPrincipalName", value) if err != nil { @@ -5860,6 +5887,13 @@ func (m *User) SetUserType(value *string)() { panic(err) } } +// SetVirtualEvents sets the virtualEvents property value. The virtualEvents property +func (m *User) SetVirtualEvents(value UserVirtualEventsRootable)() { + err := m.GetBackingStore().Set("virtualEvents", value) + if err != nil { + panic(err) + } +} // SetWindowsInformationProtectionDeviceRegistrations sets the windowsInformationProtectionDeviceRegistrations property value. Zero or more WIP device registrations that belong to the user. func (m *User) SetWindowsInformationProtectionDeviceRegistrations(value []WindowsInformationProtectionDeviceRegistrationable)() { err := m.GetBackingStore().Set("windowsInformationProtectionDeviceRegistrations", value) @@ -6020,6 +6054,7 @@ type Userable interface { GetUsageRights()([]UsageRightable) GetUserPrincipalName()(*string) GetUserType()(*string) + GetVirtualEvents()(UserVirtualEventsRootable) GetWindowsInformationProtectionDeviceRegistrations()([]WindowsInformationProtectionDeviceRegistrationable) SetAboutMe(value *string)() SetAccountEnabled(value *bool)() @@ -6170,5 +6205,6 @@ type Userable interface { SetUsageRights(value []UsageRightable)() SetUserPrincipalName(value *string)() SetUserType(value *string)() + SetVirtualEvents(value UserVirtualEventsRootable)() SetWindowsInformationProtectionDeviceRegistrations(value []WindowsInformationProtectionDeviceRegistrationable)() } diff --git a/models/user_account_security_type.go b/models/user_account_security_type.go index 0e1ce1a4d55..e8f920561f0 100644 --- a/models/user_account_security_type.go +++ b/models/user_account_security_type.go @@ -41,3 +41,6 @@ func SerializeUserAccountSecurityType(values []UserAccountSecurityType) []string } return result } +func (i UserAccountSecurityType) isMultiValue() bool { + return false +} diff --git a/models/user_default_authentication_method.go b/models/user_default_authentication_method.go index 53a73954b78..c79075affa2 100644 --- a/models/user_default_authentication_method.go +++ b/models/user_default_authentication_method.go @@ -50,3 +50,6 @@ func SerializeUserDefaultAuthenticationMethod(values []UserDefaultAuthentication } return result } +func (i UserDefaultAuthenticationMethod) isMultiValue() bool { + return false +} diff --git a/models/user_default_authentication_method_type.go b/models/user_default_authentication_method_type.go index 9a7c0d24dfe..a7357a72277 100644 --- a/models/user_default_authentication_method_type.go +++ b/models/user_default_authentication_method_type.go @@ -47,3 +47,6 @@ func SerializeUserDefaultAuthenticationMethodType(values []UserDefaultAuthentica } return result } +func (i UserDefaultAuthenticationMethodType) isMultiValue() bool { + return false +} diff --git a/models/user_email_source.go b/models/user_email_source.go index 41c7a6086a7..d25bee2eb77 100644 --- a/models/user_email_source.go +++ b/models/user_email_source.go @@ -34,3 +34,6 @@ func SerializeUserEmailSource(values []UserEmailSource) []string { } return result } +func (i UserEmailSource) isMultiValue() bool { + return false +} diff --git a/models/user_experience_analytics_anomaly_correlation_group_prevalence.go b/models/user_experience_analytics_anomaly_correlation_group_prevalence.go index 58acc921f34..f7106d7f6a7 100644 --- a/models/user_experience_analytics_anomaly_correlation_group_prevalence.go +++ b/models/user_experience_analytics_anomaly_correlation_group_prevalence.go @@ -42,3 +42,6 @@ func SerializeUserExperienceAnalyticsAnomalyCorrelationGroupPrevalence(values [] } return result } +func (i UserExperienceAnalyticsAnomalyCorrelationGroupPrevalence) isMultiValue() bool { + return false +} diff --git a/models/user_experience_analytics_anomaly_device_feature_type.go b/models/user_experience_analytics_anomaly_device_feature_type.go index f3728286680..eba18c311cb 100644 --- a/models/user_experience_analytics_anomaly_device_feature_type.go +++ b/models/user_experience_analytics_anomaly_device_feature_type.go @@ -50,3 +50,6 @@ func SerializeUserExperienceAnalyticsAnomalyDeviceFeatureType(values []UserExper } return result } +func (i UserExperienceAnalyticsAnomalyDeviceFeatureType) isMultiValue() bool { + return false +} diff --git a/models/user_experience_analytics_anomaly_severity.go b/models/user_experience_analytics_anomaly_severity.go index ceee2c06d83..d2c17093141 100644 --- a/models/user_experience_analytics_anomaly_severity.go +++ b/models/user_experience_analytics_anomaly_severity.go @@ -50,3 +50,6 @@ func SerializeUserExperienceAnalyticsAnomalySeverity(values []UserExperienceAnal } return result } +func (i UserExperienceAnalyticsAnomalySeverity) isMultiValue() bool { + return false +} diff --git a/models/user_experience_analytics_anomaly_state.go b/models/user_experience_analytics_anomaly_state.go index 8b21f1f430d..8feb38fee97 100644 --- a/models/user_experience_analytics_anomaly_state.go +++ b/models/user_experience_analytics_anomaly_state.go @@ -50,3 +50,6 @@ func SerializeUserExperienceAnalyticsAnomalyState(values []UserExperienceAnalyti } return result } +func (i UserExperienceAnalyticsAnomalyState) isMultiValue() bool { + return false +} diff --git a/models/user_experience_analytics_anomaly_type.go b/models/user_experience_analytics_anomaly_type.go index f389e925886..edea63083a4 100644 --- a/models/user_experience_analytics_anomaly_type.go +++ b/models/user_experience_analytics_anomaly_type.go @@ -50,3 +50,6 @@ func SerializeUserExperienceAnalyticsAnomalyType(values []UserExperienceAnalytic } return result } +func (i UserExperienceAnalyticsAnomalyType) isMultiValue() bool { + return false +} diff --git a/models/user_experience_analytics_device_status.go b/models/user_experience_analytics_device_status.go index 3e0553e1a6b..cd7d221c3be 100644 --- a/models/user_experience_analytics_device_status.go +++ b/models/user_experience_analytics_device_status.go @@ -42,3 +42,6 @@ func SerializeUserExperienceAnalyticsDeviceStatus(values []UserExperienceAnalyti } return result } +func (i UserExperienceAnalyticsDeviceStatus) isMultiValue() bool { + return false +} diff --git a/models/user_experience_analytics_health_state.go b/models/user_experience_analytics_health_state.go index a68580930fa..8cb4d091511 100644 --- a/models/user_experience_analytics_health_state.go +++ b/models/user_experience_analytics_health_state.go @@ -46,3 +46,6 @@ func SerializeUserExperienceAnalyticsHealthState(values []UserExperienceAnalytic } return result } +func (i UserExperienceAnalyticsHealthState) isMultiValue() bool { + return false +} diff --git a/models/user_experience_analytics_insight_severity.go b/models/user_experience_analytics_insight_severity.go index 5bf70ef6f29..48701256a73 100644 --- a/models/user_experience_analytics_insight_severity.go +++ b/models/user_experience_analytics_insight_severity.go @@ -46,3 +46,6 @@ func SerializeUserExperienceAnalyticsInsightSeverity(values []UserExperienceAnal } return result } +func (i UserExperienceAnalyticsInsightSeverity) isMultiValue() bool { + return false +} diff --git a/models/user_experience_analytics_operating_system_restart_category.go b/models/user_experience_analytics_operating_system_restart_category.go index b28e522c7b1..aa816f4f59d 100644 --- a/models/user_experience_analytics_operating_system_restart_category.go +++ b/models/user_experience_analytics_operating_system_restart_category.go @@ -66,3 +66,6 @@ func SerializeUserExperienceAnalyticsOperatingSystemRestartCategory(values []Use } return result } +func (i UserExperienceAnalyticsOperatingSystemRestartCategory) isMultiValue() bool { + return false +} diff --git a/models/user_flow_language_configuration.go b/models/user_flow_language_configuration.go index 943b0111242..919b562c4b7 100644 --- a/models/user_flow_language_configuration.go +++ b/models/user_flow_language_configuration.go @@ -19,7 +19,7 @@ func NewUserFlowLanguageConfiguration()(*UserFlowLanguageConfiguration) { func CreateUserFlowLanguageConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewUserFlowLanguageConfiguration(), nil } -// GetDefaultPages gets the defaultPages property value. Collection of pages with the default content to display in a user flow for a specified language. This collection does not allow any kind of modification. +// GetDefaultPages gets the defaultPages property value. Collection of pages with the default content to display in a user flow for a specified language. This collection doesn't allow any kind of modification. func (m *UserFlowLanguageConfiguration) GetDefaultPages()([]UserFlowLanguagePageable) { val, err := m.GetBackingStore().Get("defaultPages") if err != nil { @@ -109,7 +109,7 @@ func (m *UserFlowLanguageConfiguration) GetIsEnabled()(*bool) { } return nil } -// GetOverridesPages gets the overridesPages property value. Collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification is not allowed (creation or deletion of pages). +// GetOverridesPages gets the overridesPages property value. Collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). func (m *UserFlowLanguageConfiguration) GetOverridesPages()([]UserFlowLanguagePageable) { val, err := m.GetBackingStore().Get("overridesPages") if err != nil { @@ -164,7 +164,7 @@ func (m *UserFlowLanguageConfiguration) Serialize(writer i878a80d2330e89d2689638 } return nil } -// SetDefaultPages sets the defaultPages property value. Collection of pages with the default content to display in a user flow for a specified language. This collection does not allow any kind of modification. +// SetDefaultPages sets the defaultPages property value. Collection of pages with the default content to display in a user flow for a specified language. This collection doesn't allow any kind of modification. func (m *UserFlowLanguageConfiguration) SetDefaultPages(value []UserFlowLanguagePageable)() { err := m.GetBackingStore().Set("defaultPages", value) if err != nil { @@ -185,7 +185,7 @@ func (m *UserFlowLanguageConfiguration) SetIsEnabled(value *bool)() { panic(err) } } -// SetOverridesPages sets the overridesPages property value. Collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification is not allowed (creation or deletion of pages). +// SetOverridesPages sets the overridesPages property value. Collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). func (m *UserFlowLanguageConfiguration) SetOverridesPages(value []UserFlowLanguagePageable)() { err := m.GetBackingStore().Set("overridesPages", value) if err != nil { diff --git a/models/user_flow_type.go b/models/user_flow_type.go index d37e33fc12b..ebc3e1e5d46 100644 --- a/models/user_flow_type.go +++ b/models/user_flow_type.go @@ -47,3 +47,6 @@ func SerializeUserFlowType(values []UserFlowType) []string { } return result } +func (i UserFlowType) isMultiValue() bool { + return false +} diff --git a/models/user_new_message_restriction.go b/models/user_new_message_restriction.go index a9ac54ca8b3..8eef1167758 100644 --- a/models/user_new_message_restriction.go +++ b/models/user_new_message_restriction.go @@ -38,3 +38,6 @@ func SerializeUserNewMessageRestriction(values []UserNewMessageRestriction) []st } return result } +func (i UserNewMessageRestriction) isMultiValue() bool { + return false +} diff --git a/models/user_pfx_intended_purpose.go b/models/user_pfx_intended_purpose.go index bdd8f2519c3..d94b0ea7181 100644 --- a/models/user_pfx_intended_purpose.go +++ b/models/user_pfx_intended_purpose.go @@ -46,3 +46,6 @@ func SerializeUserPfxIntendedPurpose(values []UserPfxIntendedPurpose) []string { } return result } +func (i UserPfxIntendedPurpose) isMultiValue() bool { + return false +} diff --git a/models/user_pfx_padding_scheme.go b/models/user_pfx_padding_scheme.go index bae7a1767d2..688f63280f7 100644 --- a/models/user_pfx_padding_scheme.go +++ b/models/user_pfx_padding_scheme.go @@ -50,3 +50,6 @@ func SerializeUserPfxPaddingScheme(values []UserPfxPaddingScheme) []string { } return result } +func (i UserPfxPaddingScheme) isMultiValue() bool { + return false +} diff --git a/models/user_purpose.go b/models/user_purpose.go index efb259f144c..7b6f80bf117 100644 --- a/models/user_purpose.go +++ b/models/user_purpose.go @@ -50,3 +50,6 @@ func SerializeUserPurpose(values []UserPurpose) []string { } return result } +func (i UserPurpose) isMultiValue() bool { + return false +} diff --git a/models/user_registration_details.go b/models/user_registration_details.go index eb15577d07f..a9febaafd22 100644 --- a/models/user_registration_details.go +++ b/models/user_registration_details.go @@ -329,7 +329,7 @@ func (m *UserRegistrationDetails) GetSystemPreferredAuthenticationMethods()([]st } return nil } -// GetUserDisplayName gets the userDisplayName property value. The user display name, such as Adele Vance. Supports $filter (eq, startsWith) and $orderBy. +// GetUserDisplayName gets the userDisplayName property value. The user display name, such as Adele Vance. Supports $filter (eq, startsWith) and $orderby. func (m *UserRegistrationDetails) GetUserDisplayName()(*string) { val, err := m.GetBackingStore().Get("userDisplayName") if err != nil { @@ -351,7 +351,7 @@ func (m *UserRegistrationDetails) GetUserPreferredMethodForSecondaryAuthenticati } return nil } -// GetUserPrincipalName gets the userPrincipalName property value. The user principal name, such as AdeleV@contoso.com. Supports $filter (eq, startsWith) and $orderBy. +// GetUserPrincipalName gets the userPrincipalName property value. The user principal name, such as AdeleV@contoso.com. Supports $filter (eq, startsWith) and $orderby. func (m *UserRegistrationDetails) GetUserPrincipalName()(*string) { val, err := m.GetBackingStore().Get("userPrincipalName") if err != nil { @@ -564,7 +564,7 @@ func (m *UserRegistrationDetails) SetSystemPreferredAuthenticationMethods(value panic(err) } } -// SetUserDisplayName sets the userDisplayName property value. The user display name, such as Adele Vance. Supports $filter (eq, startsWith) and $orderBy. +// SetUserDisplayName sets the userDisplayName property value. The user display name, such as Adele Vance. Supports $filter (eq, startsWith) and $orderby. func (m *UserRegistrationDetails) SetUserDisplayName(value *string)() { err := m.GetBackingStore().Set("userDisplayName", value) if err != nil { @@ -578,7 +578,7 @@ func (m *UserRegistrationDetails) SetUserPreferredMethodForSecondaryAuthenticati panic(err) } } -// SetUserPrincipalName sets the userPrincipalName property value. The user principal name, such as AdeleV@contoso.com. Supports $filter (eq, startsWith) and $orderBy. +// SetUserPrincipalName sets the userPrincipalName property value. The user principal name, such as AdeleV@contoso.com. Supports $filter (eq, startsWith) and $orderby. func (m *UserRegistrationDetails) SetUserPrincipalName(value *string)() { err := m.GetBackingStore().Set("userPrincipalName", value) if err != nil { diff --git a/models/user_sign_in_recommendation_scope.go b/models/user_sign_in_recommendation_scope.go index 60c7f4a6f01..a864ecd3fb7 100644 --- a/models/user_sign_in_recommendation_scope.go +++ b/models/user_sign_in_recommendation_scope.go @@ -35,3 +35,6 @@ func SerializeUserSignInRecommendationScope(values []UserSignInRecommendationSco } return result } +func (i UserSignInRecommendationScope) isMultiValue() bool { + return false +} diff --git a/models/user_type.go b/models/user_type.go index f5a32182b6f..1ab7e89c00b 100644 --- a/models/user_type.go +++ b/models/user_type.go @@ -35,3 +35,6 @@ func SerializeUserType(values []UserType) []string { } return result } +func (i UserType) isMultiValue() bool { + return false +} diff --git a/models/user_virtual_events_root.go b/models/user_virtual_events_root.go new file mode 100644 index 00000000000..42dbaa19af1 --- /dev/null +++ b/models/user_virtual_events_root.go @@ -0,0 +1,87 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// UserVirtualEventsRoot +type UserVirtualEventsRoot struct { + Entity +} +// NewUserVirtualEventsRoot instantiates a new userVirtualEventsRoot and sets the default values. +func NewUserVirtualEventsRoot()(*UserVirtualEventsRoot) { + m := &UserVirtualEventsRoot{ + Entity: *NewEntity(), + } + return m +} +// CreateUserVirtualEventsRootFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateUserVirtualEventsRootFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewUserVirtualEventsRoot(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *UserVirtualEventsRoot) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["webinars"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateVirtualEventWebinarFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]VirtualEventWebinarable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(VirtualEventWebinarable) + } + } + m.SetWebinars(res) + } + return nil + } + return res +} +// GetWebinars gets the webinars property value. The webinars property +func (m *UserVirtualEventsRoot) GetWebinars()([]VirtualEventWebinarable) { + val, err := m.GetBackingStore().Get("webinars") + if err != nil { + panic(err) + } + if val != nil { + return val.([]VirtualEventWebinarable) + } + return nil +} +// Serialize serializes information the current object +func (m *UserVirtualEventsRoot) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetWebinars() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetWebinars())) + for i, v := range m.GetWebinars() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("webinars", cast) + if err != nil { + return err + } + } + return nil +} +// SetWebinars sets the webinars property value. The webinars property +func (m *UserVirtualEventsRoot) SetWebinars(value []VirtualEventWebinarable)() { + err := m.GetBackingStore().Set("webinars", value) + if err != nil { + panic(err) + } +} +// UserVirtualEventsRootable +type UserVirtualEventsRootable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetWebinars()([]VirtualEventWebinarable) + SetWebinars(value []VirtualEventWebinarable)() +} diff --git a/models/username_source.go b/models/username_source.go index 248690b38f7..bc4361dbb07 100644 --- a/models/username_source.go +++ b/models/username_source.go @@ -38,3 +38,6 @@ func SerializeUsernameSource(values []UsernameSource) []string { } return result } +func (i UsernameSource) isMultiValue() bool { + return false +} diff --git a/models/vendor_escaped.go b/models/vendor_escaped.go index 039587f8c5e..a28805fc91b 100644 --- a/models/vendor_escaped.go +++ b/models/vendor_escaped.go @@ -792,3 +792,53 @@ func (m *VendorEscaped) SetWebsite(value *string)() { panic(err) } } +// VendorEscapedable +type VendorEscapedable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAddress()(PostalAddressTypeable) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetBalance()(*float64) + GetBlocked()(*string) + GetCurrency()(Currencyable) + GetCurrencyCode()(*string) + GetCurrencyId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) + GetDisplayName()(*string) + GetEmail()(*string) + GetId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) + GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetNumber()(*string) + GetOdataType()(*string) + GetPaymentMethod()(PaymentMethodable) + GetPaymentMethodId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) + GetPaymentTerm()(PaymentTermable) + GetPaymentTermsId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) + GetPhoneNumber()(*string) + GetPicture()([]Pictureable) + GetTaxLiable()(*bool) + GetTaxRegistrationNumber()(*string) + GetWebsite()(*string) + SetAddress(value PostalAddressTypeable)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetBalance(value *float64)() + SetBlocked(value *string)() + SetCurrency(value Currencyable)() + SetCurrencyCode(value *string)() + SetCurrencyId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() + SetDisplayName(value *string)() + SetEmail(value *string)() + SetId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() + SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetNumber(value *string)() + SetOdataType(value *string)() + SetPaymentMethod(value PaymentMethodable)() + SetPaymentMethodId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() + SetPaymentTerm(value PaymentTermable)() + SetPaymentTermsId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() + SetPhoneNumber(value *string)() + SetPicture(value []Pictureable)() + SetTaxLiable(value *bool)() + SetTaxRegistrationNumber(value *string)() + SetWebsite(value *string)() +} diff --git a/models/vendor_escapedable.go b/models/vendor_escapedable.go deleted file mode 100644 index 54b10410140..00000000000 --- a/models/vendor_escapedable.go +++ /dev/null @@ -1,59 +0,0 @@ -package models - -import ( - i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" - i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22 "github.com/google/uuid" - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" -) - -// VendorEscapedable -type VendorEscapedable interface { - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder - ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAddress()(PostalAddressTypeable) - GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBalance()(*float64) - GetBlocked()(*string) - GetCurrency()(Currencyable) - GetCurrencyCode()(*string) - GetCurrencyId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) - GetDisplayName()(*string) - GetEmail()(*string) - GetId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) - GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) - GetNumber()(*string) - GetOdataType()(*string) - GetPaymentMethod()(PaymentMethodable) - GetPaymentMethodId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) - GetPaymentTerm()(PaymentTermable) - GetPaymentTermsId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) - GetPhoneNumber()(*string) - GetPicture()([]Pictureable) - GetTaxLiable()(*bool) - GetTaxRegistrationNumber()(*string) - GetWebsite()(*string) - SetAddress(value PostalAddressTypeable)() - SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBalance(value *float64)() - SetBlocked(value *string)() - SetCurrency(value Currencyable)() - SetCurrencyCode(value *string)() - SetCurrencyId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() - SetDisplayName(value *string)() - SetEmail(value *string)() - SetId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() - SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() - SetNumber(value *string)() - SetOdataType(value *string)() - SetPaymentMethod(value PaymentMethodable)() - SetPaymentMethodId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() - SetPaymentTerm(value PaymentTermable)() - SetPaymentTermsId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() - SetPhoneNumber(value *string)() - SetPicture(value []Pictureable)() - SetTaxLiable(value *bool)() - SetTaxRegistrationNumber(value *string)() - SetWebsite(value *string)() -} diff --git a/models/virtual_event_attendee_registration_status.go b/models/virtual_event_attendee_registration_status.go index 769f329d406..ae6375a7781 100644 --- a/models/virtual_event_attendee_registration_status.go +++ b/models/virtual_event_attendee_registration_status.go @@ -44,3 +44,6 @@ func SerializeVirtualEventAttendeeRegistrationStatus(values []VirtualEventAttend } return result } +func (i VirtualEventAttendeeRegistrationStatus) isMultiValue() bool { + return false +} diff --git a/models/virtual_event_registration_question_answer_input_type.go b/models/virtual_event_registration_question_answer_input_type.go index 37d781691ef..f24852189fe 100644 --- a/models/virtual_event_registration_question_answer_input_type.go +++ b/models/virtual_event_registration_question_answer_input_type.go @@ -44,3 +44,6 @@ func SerializeVirtualEventRegistrationQuestionAnswerInputType(values []VirtualEv } return result } +func (i VirtualEventRegistrationQuestionAnswerInputType) isMultiValue() bool { + return false +} diff --git a/models/virtual_event_status.go b/models/virtual_event_status.go index 4093490be67..b93d2a50341 100644 --- a/models/virtual_event_status.go +++ b/models/virtual_event_status.go @@ -38,3 +38,6 @@ func SerializeVirtualEventStatus(values []VirtualEventStatus) []string { } return result } +func (i VirtualEventStatus) isMultiValue() bool { + return false +} diff --git a/models/virtual_event_webinar.go b/models/virtual_event_webinar.go index b9c7282a27f..4613df631fd 100644 --- a/models/virtual_event_webinar.go +++ b/models/virtual_event_webinar.go @@ -30,7 +30,7 @@ func (m *VirtualEventWebinar) GetAudience()(*MeetingAudience) { } return nil } -// GetCoOrganizers gets the coOrganizers property value. Identity information of co-organizers of the webinar. +// GetCoOrganizers gets the coOrganizers property value. Identity information of coorganizers of the webinar. func (m *VirtualEventWebinar) GetCoOrganizers()([]CommunicationsUserIdentityable) { val, err := m.GetBackingStore().Get("coOrganizers") if err != nil { @@ -172,7 +172,7 @@ func (m *VirtualEventWebinar) SetAudience(value *MeetingAudience)() { panic(err) } } -// SetCoOrganizers sets the coOrganizers property value. Identity information of co-organizers of the webinar. +// SetCoOrganizers sets the coOrganizers property value. Identity information of coorganizers of the webinar. func (m *VirtualEventWebinar) SetCoOrganizers(value []CommunicationsUserIdentityable)() { err := m.GetBackingStore().Set("coOrganizers", value) if err != nil { diff --git a/models/visibility_setting.go b/models/visibility_setting.go index 549220f75e7..2ad3ea0a23d 100644 --- a/models/visibility_setting.go +++ b/models/visibility_setting.go @@ -38,3 +38,6 @@ func SerializeVisibilitySetting(values []VisibilitySetting) []string { } return result } +func (i VisibilitySetting) isMultiValue() bool { + return false +} diff --git a/models/volume_type.go b/models/volume_type.go index a1c159e3b64..4fbe39a0ea2 100644 --- a/models/volume_type.go +++ b/models/volume_type.go @@ -38,3 +38,6 @@ func SerializeVolumeType(values []VolumeType) []string { } return result } +func (i VolumeType) isMultiValue() bool { + return false +} diff --git a/models/vpn_authentication_method.go b/models/vpn_authentication_method.go index 020fca3fd95..5a3327e8321 100644 --- a/models/vpn_authentication_method.go +++ b/models/vpn_authentication_method.go @@ -46,3 +46,6 @@ func SerializeVpnAuthenticationMethod(values []VpnAuthenticationMethod) []string } return result } +func (i VpnAuthenticationMethod) isMultiValue() bool { + return false +} diff --git a/models/vpn_client_authentication_type.go b/models/vpn_client_authentication_type.go index b20c9100746..887ddea0ccd 100644 --- a/models/vpn_client_authentication_type.go +++ b/models/vpn_client_authentication_type.go @@ -34,3 +34,6 @@ func SerializeVpnClientAuthenticationType(values []VpnClientAuthenticationType) } return result } +func (i VpnClientAuthenticationType) isMultiValue() bool { + return false +} diff --git a/models/vpn_dead_peer_detection_rate.go b/models/vpn_dead_peer_detection_rate.go index 7ad91870c2f..ded41249cb8 100644 --- a/models/vpn_dead_peer_detection_rate.go +++ b/models/vpn_dead_peer_detection_rate.go @@ -42,3 +42,6 @@ func SerializeVpnDeadPeerDetectionRate(values []VpnDeadPeerDetectionRate) []stri } return result } +func (i VpnDeadPeerDetectionRate) isMultiValue() bool { + return false +} diff --git a/models/vpn_encryption_algorithm_type.go b/models/vpn_encryption_algorithm_type.go index bb5bdc57e11..9e2694c352f 100644 --- a/models/vpn_encryption_algorithm_type.go +++ b/models/vpn_encryption_algorithm_type.go @@ -62,3 +62,6 @@ func SerializeVpnEncryptionAlgorithmType(values []VpnEncryptionAlgorithmType) [] } return result } +func (i VpnEncryptionAlgorithmType) isMultiValue() bool { + return false +} diff --git a/models/vpn_integrity_algorithm_type.go b/models/vpn_integrity_algorithm_type.go index 2c94e661cab..42fc7731477 100644 --- a/models/vpn_integrity_algorithm_type.go +++ b/models/vpn_integrity_algorithm_type.go @@ -50,3 +50,6 @@ func SerializeVpnIntegrityAlgorithmType(values []VpnIntegrityAlgorithmType) []st } return result } +func (i VpnIntegrityAlgorithmType) isMultiValue() bool { + return false +} diff --git a/models/vpn_local_identifier.go b/models/vpn_local_identifier.go index 6f6f8c994e0..0f1e9961d17 100644 --- a/models/vpn_local_identifier.go +++ b/models/vpn_local_identifier.go @@ -38,3 +38,6 @@ func SerializeVpnLocalIdentifier(values []VpnLocalIdentifier) []string { } return result } +func (i VpnLocalIdentifier) isMultiValue() bool { + return false +} diff --git a/models/vpn_on_demand_rule_connection_action.go b/models/vpn_on_demand_rule_connection_action.go index 32c407b1227..79ee098c06e 100644 --- a/models/vpn_on_demand_rule_connection_action.go +++ b/models/vpn_on_demand_rule_connection_action.go @@ -42,3 +42,6 @@ func SerializeVpnOnDemandRuleConnectionAction(values []VpnOnDemandRuleConnection } return result } +func (i VpnOnDemandRuleConnectionAction) isMultiValue() bool { + return false +} diff --git a/models/vpn_on_demand_rule_connection_domain_action.go b/models/vpn_on_demand_rule_connection_domain_action.go index b21284ff7d8..ed6e9af8a87 100644 --- a/models/vpn_on_demand_rule_connection_domain_action.go +++ b/models/vpn_on_demand_rule_connection_domain_action.go @@ -34,3 +34,6 @@ func SerializeVpnOnDemandRuleConnectionDomainAction(values []VpnOnDemandRuleConn } return result } +func (i VpnOnDemandRuleConnectionDomainAction) isMultiValue() bool { + return false +} diff --git a/models/vpn_on_demand_rule_interface_type_match.go b/models/vpn_on_demand_rule_interface_type_match.go index 5f3cd06d2b1..308a580857f 100644 --- a/models/vpn_on_demand_rule_interface_type_match.go +++ b/models/vpn_on_demand_rule_interface_type_match.go @@ -42,3 +42,6 @@ func SerializeVpnOnDemandRuleInterfaceTypeMatch(values []VpnOnDemandRuleInterfac } return result } +func (i VpnOnDemandRuleInterfaceTypeMatch) isMultiValue() bool { + return false +} diff --git a/models/vpn_provider_type.go b/models/vpn_provider_type.go index 6036d1fb723..d1996915d93 100644 --- a/models/vpn_provider_type.go +++ b/models/vpn_provider_type.go @@ -38,3 +38,6 @@ func SerializeVpnProviderType(values []VpnProviderType) []string { } return result } +func (i VpnProviderType) isMultiValue() bool { + return false +} diff --git a/models/vpn_server_certificate_type.go b/models/vpn_server_certificate_type.go index 82c14a592d6..a3bd2f6222c 100644 --- a/models/vpn_server_certificate_type.go +++ b/models/vpn_server_certificate_type.go @@ -42,3 +42,6 @@ func SerializeVpnServerCertificateType(values []VpnServerCertificateType) []stri } return result } +func (i VpnServerCertificateType) isMultiValue() bool { + return false +} diff --git a/models/vpn_service_exception_action.go b/models/vpn_service_exception_action.go index 6c994f964a9..3264aeaadf6 100644 --- a/models/vpn_service_exception_action.go +++ b/models/vpn_service_exception_action.go @@ -38,3 +38,6 @@ func SerializeVpnServiceExceptionAction(values []VpnServiceExceptionAction) []st } return result } +func (i VpnServiceExceptionAction) isMultiValue() bool { + return false +} diff --git a/models/vpn_traffic_direction.go b/models/vpn_traffic_direction.go index 0b225b377fc..cef42bcbb25 100644 --- a/models/vpn_traffic_direction.go +++ b/models/vpn_traffic_direction.go @@ -38,3 +38,6 @@ func SerializeVpnTrafficDirection(values []VpnTrafficDirection) []string { } return result } +func (i VpnTrafficDirection) isMultiValue() bool { + return false +} diff --git a/models/vpn_traffic_rule_app_type.go b/models/vpn_traffic_rule_app_type.go index d1f303dbb81..2bbbba2b5c7 100644 --- a/models/vpn_traffic_rule_app_type.go +++ b/models/vpn_traffic_rule_app_type.go @@ -38,3 +38,6 @@ func SerializeVpnTrafficRuleAppType(values []VpnTrafficRuleAppType) []string { } return result } +func (i VpnTrafficRuleAppType) isMultiValue() bool { + return false +} diff --git a/models/vpn_traffic_rule_routing_policy_type.go b/models/vpn_traffic_rule_routing_policy_type.go index 0bbafa02f8f..cef3307353d 100644 --- a/models/vpn_traffic_rule_routing_policy_type.go +++ b/models/vpn_traffic_rule_routing_policy_type.go @@ -38,3 +38,6 @@ func SerializeVpnTrafficRuleRoutingPolicyType(values []VpnTrafficRuleRoutingPoli } return result } +func (i VpnTrafficRuleRoutingPolicyType) isMultiValue() bool { + return false +} diff --git a/models/vpn_tunnel_configuration_type.go b/models/vpn_tunnel_configuration_type.go index 7cdfd458ad8..84fe09d211f 100644 --- a/models/vpn_tunnel_configuration_type.go +++ b/models/vpn_tunnel_configuration_type.go @@ -38,3 +38,6 @@ func SerializeVpnTunnelConfigurationType(values []VpnTunnelConfigurationType) [] } return result } +func (i VpnTunnelConfigurationType) isMultiValue() bool { + return false +} diff --git a/models/vpp_token_account_type.go b/models/vpp_token_account_type.go index 9a025e5c0ca..285361000ac 100644 --- a/models/vpp_token_account_type.go +++ b/models/vpp_token_account_type.go @@ -34,3 +34,6 @@ func SerializeVppTokenAccountType(values []VppTokenAccountType) []string { } return result } +func (i VppTokenAccountType) isMultiValue() bool { + return false +} diff --git a/models/vpp_token_action_failure_reason.go b/models/vpp_token_action_failure_reason.go index aad6bb796d1..7f9102c4e9b 100644 --- a/models/vpp_token_action_failure_reason.go +++ b/models/vpp_token_action_failure_reason.go @@ -46,3 +46,6 @@ func SerializeVppTokenActionFailureReason(values []VppTokenActionFailureReason) } return result } +func (i VppTokenActionFailureReason) isMultiValue() bool { + return false +} diff --git a/models/vpp_token_state.go b/models/vpp_token_state.go index e7fe3bfd2df..c547b43cfb7 100644 --- a/models/vpp_token_state.go +++ b/models/vpp_token_state.go @@ -50,3 +50,6 @@ func SerializeVppTokenState(values []VppTokenState) []string { } return result } +func (i VppTokenState) isMultiValue() bool { + return false +} diff --git a/models/vpp_token_sync_status.go b/models/vpp_token_sync_status.go index 7c9ef623a24..b4aee7b1b95 100644 --- a/models/vpp_token_sync_status.go +++ b/models/vpp_token_sync_status.go @@ -42,3 +42,6 @@ func SerializeVppTokenSyncStatus(values []VppTokenSyncStatus) []string { } return result } +func (i VppTokenSyncStatus) isMultiValue() bool { + return false +} diff --git a/models/watermark_layout.go b/models/watermark_layout.go index 37c310eb552..36248307311 100644 --- a/models/watermark_layout.go +++ b/models/watermark_layout.go @@ -32,3 +32,6 @@ func SerializeWatermarkLayout(values []WatermarkLayout) []string { } return result } +func (i WatermarkLayout) isMultiValue() bool { + return false +} diff --git a/models/weak_algorithms.go b/models/weak_algorithms.go index fe84af3c950..852efcabb86 100644 --- a/models/weak_algorithms.go +++ b/models/weak_algorithms.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type WeakAlgorithms int @@ -11,17 +12,26 @@ const ( ) func (i WeakAlgorithms) String() string { - return []string{"rsaSha1", "unknownFutureValue"}[i] + var values []string + for p := WeakAlgorithms(1); p <= UNKNOWNFUTUREVALUE_WEAKALGORITHMS; p <<= 1 { + if i&p == p { + values = append(values, []string{"rsaSha1", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseWeakAlgorithms(v string) (any, error) { - result := RSASHA1_WEAKALGORITHMS - switch v { - case "rsaSha1": - result = RSASHA1_WEAKALGORITHMS - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_WEAKALGORITHMS - default: - return 0, errors.New("Unknown WeakAlgorithms value: " + v) + var result WeakAlgorithms + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "rsaSha1": + result |= RSASHA1_WEAKALGORITHMS + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_WEAKALGORITHMS + default: + return 0, errors.New("Unknown WeakAlgorithms value: " + v) + } } return &result, nil } @@ -32,3 +42,6 @@ func SerializeWeakAlgorithms(values []WeakAlgorithms) []string { } return result } +func (i WeakAlgorithms) isMultiValue() bool { + return true +} diff --git a/models/web_application.go b/models/web_application.go index 15ea5593a07..a6ac3349aa0 100644 --- a/models/web_application.go +++ b/models/web_application.go @@ -147,7 +147,7 @@ func (m *WebApplication) GetImplicitGrantSettings()(ImplicitGrantSettingsable) { } return nil } -// GetLogoutUrl gets the logoutUrl property value. Specifies the URL that will be used by Microsoft's authorization service to logout an user using front-channel, back-channel or SAML logout protocols. +// GetLogoutUrl gets the logoutUrl property value. Specifies the URL that will be used by Microsoft's authorization service to logout a user using front-channel, back-channel or SAML logout protocols. func (m *WebApplication) GetLogoutUrl()(*string) { val, err := m.GetBackingStore().Get("logoutUrl") if err != nil { @@ -285,7 +285,7 @@ func (m *WebApplication) SetImplicitGrantSettings(value ImplicitGrantSettingsabl panic(err) } } -// SetLogoutUrl sets the logoutUrl property value. Specifies the URL that will be used by Microsoft's authorization service to logout an user using front-channel, back-channel or SAML logout protocols. +// SetLogoutUrl sets the logoutUrl property value. Specifies the URL that will be used by Microsoft's authorization service to logout a user using front-channel, back-channel or SAML logout protocols. func (m *WebApplication) SetLogoutUrl(value *string)() { err := m.GetBackingStore().Set("logoutUrl", value) if err != nil { diff --git a/models/web_browser_cookie_settings.go b/models/web_browser_cookie_settings.go index 3e2cd2cea86..c952e21bdac 100644 --- a/models/web_browser_cookie_settings.go +++ b/models/web_browser_cookie_settings.go @@ -46,3 +46,6 @@ func SerializeWebBrowserCookieSettings(values []WebBrowserCookieSettings) []stri } return result } +func (i WebBrowserCookieSettings) isMultiValue() bool { + return false +} diff --git a/models/website_type.go b/models/website_type.go index 3b6dd4c3aff..116aedc3e72 100644 --- a/models/website_type.go +++ b/models/website_type.go @@ -41,3 +41,6 @@ func SerializeWebsiteType(values []WebsiteType) []string { } return result } +func (i WebsiteType) isMultiValue() bool { + return false +} diff --git a/models/week_index.go b/models/week_index.go index 8503a51d069..bd577484b52 100644 --- a/models/week_index.go +++ b/models/week_index.go @@ -41,3 +41,6 @@ func SerializeWeekIndex(values []WeekIndex) []string { } return result } +func (i WeekIndex) isMultiValue() bool { + return false +} diff --git a/models/weekly_schedule.go b/models/weekly_schedule.go index 19de2a5bd37..5bf4ee4b438 100644 --- a/models/weekly_schedule.go +++ b/models/weekly_schedule.go @@ -66,3 +66,6 @@ func SerializeWeeklySchedule(values []WeeklySchedule) []string { } return result } +func (i WeeklySchedule) isMultiValue() bool { + return false +} diff --git a/models/welcome_screen_meeting_information.go b/models/welcome_screen_meeting_information.go index 45c514af510..409adb7d416 100644 --- a/models/welcome_screen_meeting_information.go +++ b/models/welcome_screen_meeting_information.go @@ -38,3 +38,6 @@ func SerializeWelcomeScreenMeetingInformation(values []WelcomeScreenMeetingInfor } return result } +func (i WelcomeScreenMeetingInformation) isMultiValue() bool { + return false +} diff --git a/models/wellknown_list_name.go b/models/wellknown_list_name.go index fd09d1d5001..0d1fb15c3f1 100644 --- a/models/wellknown_list_name.go +++ b/models/wellknown_list_name.go @@ -38,3 +38,6 @@ func SerializeWellknownListName(values []WellknownListName) []string { } return result } +func (i WellknownListName) isMultiValue() bool { + return false +} diff --git a/models/wi_fi_authentication_method.go b/models/wi_fi_authentication_method.go index 54a5d97fe64..cdef69fdc54 100644 --- a/models/wi_fi_authentication_method.go +++ b/models/wi_fi_authentication_method.go @@ -38,3 +38,6 @@ func SerializeWiFiAuthenticationMethod(values []WiFiAuthenticationMethod) []stri } return result } +func (i WiFiAuthenticationMethod) isMultiValue() bool { + return false +} diff --git a/models/wi_fi_proxy_setting.go b/models/wi_fi_proxy_setting.go index 1ff87e22e02..bb45d855ecb 100644 --- a/models/wi_fi_proxy_setting.go +++ b/models/wi_fi_proxy_setting.go @@ -38,3 +38,6 @@ func SerializeWiFiProxySetting(values []WiFiProxySetting) []string { } return result } +func (i WiFiProxySetting) isMultiValue() bool { + return false +} diff --git a/models/wi_fi_security_type.go b/models/wi_fi_security_type.go index 223a386c758..a7dcda846d9 100644 --- a/models/wi_fi_security_type.go +++ b/models/wi_fi_security_type.go @@ -50,3 +50,6 @@ func SerializeWiFiSecurityType(values []WiFiSecurityType) []string { } return result } +func (i WiFiSecurityType) isMultiValue() bool { + return false +} diff --git a/models/wifi_authentication_type.go b/models/wifi_authentication_type.go index c0e75cd7021..8e1390d7f72 100644 --- a/models/wifi_authentication_type.go +++ b/models/wifi_authentication_type.go @@ -46,3 +46,6 @@ func SerializeWifiAuthenticationType(values []WifiAuthenticationType) []string { } return result } +func (i WifiAuthenticationType) isMultiValue() bool { + return false +} diff --git a/models/win32_lob_app_collection_response.go b/models/win32_lob_app_collection_response.go new file mode 100644 index 00000000000..43bcf27d61b --- /dev/null +++ b/models/win32_lob_app_collection_response.go @@ -0,0 +1,87 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Win32LobAppCollectionResponse +type Win32LobAppCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewWin32LobAppCollectionResponse instantiates a new win32LobAppCollectionResponse and sets the default values. +func NewWin32LobAppCollectionResponse()(*Win32LobAppCollectionResponse) { + m := &Win32LobAppCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateWin32LobAppCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateWin32LobAppCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWin32LobAppCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *Win32LobAppCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWin32LobAppFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Win32LobAppable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Win32LobAppable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *Win32LobAppCollectionResponse) GetValue()([]Win32LobAppable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Win32LobAppable) + } + return nil +} +// Serialize serializes information the current object +func (m *Win32LobAppCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *Win32LobAppCollectionResponse) SetValue(value []Win32LobAppable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// Win32LobAppCollectionResponseable +type Win32LobAppCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]Win32LobAppable) + SetValue(value []Win32LobAppable)() +} diff --git a/models/win32_lob_app_delivery_optimization_priority.go b/models/win32_lob_app_delivery_optimization_priority.go index 5dca7e29daf..380f9bdf4bc 100644 --- a/models/win32_lob_app_delivery_optimization_priority.go +++ b/models/win32_lob_app_delivery_optimization_priority.go @@ -34,3 +34,6 @@ func SerializeWin32LobAppDeliveryOptimizationPriority(values []Win32LobAppDelive } return result } +func (i Win32LobAppDeliveryOptimizationPriority) isMultiValue() bool { + return false +} diff --git a/models/win32_lob_app_detection_operator.go b/models/win32_lob_app_detection_operator.go index 9c5988dbede..73925456b52 100644 --- a/models/win32_lob_app_detection_operator.go +++ b/models/win32_lob_app_detection_operator.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Contains properties for detection operator. type Win32LobAppDetectionOperator int @@ -23,27 +24,36 @@ const ( ) func (i Win32LobAppDetectionOperator) String() string { - return []string{"notConfigured", "equal", "notEqual", "greaterThan", "greaterThanOrEqual", "lessThan", "lessThanOrEqual"}[i] + var values []string + for p := Win32LobAppDetectionOperator(1); p <= LESSTHANOREQUAL_WIN32LOBAPPDETECTIONOPERATOR; p <<= 1 { + if i&p == p { + values = append(values, []string{"notConfigured", "equal", "notEqual", "greaterThan", "greaterThanOrEqual", "lessThan", "lessThanOrEqual"}[p]) + } + } + return strings.Join(values, ",") } func ParseWin32LobAppDetectionOperator(v string) (any, error) { - result := NOTCONFIGURED_WIN32LOBAPPDETECTIONOPERATOR - switch v { - case "notConfigured": - result = NOTCONFIGURED_WIN32LOBAPPDETECTIONOPERATOR - case "equal": - result = EQUAL_WIN32LOBAPPDETECTIONOPERATOR - case "notEqual": - result = NOTEQUAL_WIN32LOBAPPDETECTIONOPERATOR - case "greaterThan": - result = GREATERTHAN_WIN32LOBAPPDETECTIONOPERATOR - case "greaterThanOrEqual": - result = GREATERTHANOREQUAL_WIN32LOBAPPDETECTIONOPERATOR - case "lessThan": - result = LESSTHAN_WIN32LOBAPPDETECTIONOPERATOR - case "lessThanOrEqual": - result = LESSTHANOREQUAL_WIN32LOBAPPDETECTIONOPERATOR - default: - return 0, errors.New("Unknown Win32LobAppDetectionOperator value: " + v) + var result Win32LobAppDetectionOperator + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "notConfigured": + result |= NOTCONFIGURED_WIN32LOBAPPDETECTIONOPERATOR + case "equal": + result |= EQUAL_WIN32LOBAPPDETECTIONOPERATOR + case "notEqual": + result |= NOTEQUAL_WIN32LOBAPPDETECTIONOPERATOR + case "greaterThan": + result |= GREATERTHAN_WIN32LOBAPPDETECTIONOPERATOR + case "greaterThanOrEqual": + result |= GREATERTHANOREQUAL_WIN32LOBAPPDETECTIONOPERATOR + case "lessThan": + result |= LESSTHAN_WIN32LOBAPPDETECTIONOPERATOR + case "lessThanOrEqual": + result |= LESSTHANOREQUAL_WIN32LOBAPPDETECTIONOPERATOR + default: + return 0, errors.New("Unknown Win32LobAppDetectionOperator value: " + v) + } } return &result, nil } @@ -54,3 +64,6 @@ func SerializeWin32LobAppDetectionOperator(values []Win32LobAppDetectionOperator } return result } +func (i Win32LobAppDetectionOperator) isMultiValue() bool { + return true +} diff --git a/models/win32_lob_app_file_system_detection_type.go b/models/win32_lob_app_file_system_detection_type.go index 83df39fdc7a..e402b8e478e 100644 --- a/models/win32_lob_app_file_system_detection_type.go +++ b/models/win32_lob_app_file_system_detection_type.go @@ -54,3 +54,6 @@ func SerializeWin32LobAppFileSystemDetectionType(values []Win32LobAppFileSystemD } return result } +func (i Win32LobAppFileSystemDetectionType) isMultiValue() bool { + return false +} diff --git a/models/win32_lob_app_file_system_operation_type.go b/models/win32_lob_app_file_system_operation_type.go index 1165d6ce2c4..f604351f93b 100644 --- a/models/win32_lob_app_file_system_operation_type.go +++ b/models/win32_lob_app_file_system_operation_type.go @@ -54,3 +54,6 @@ func SerializeWin32LobAppFileSystemOperationType(values []Win32LobAppFileSystemO } return result } +func (i Win32LobAppFileSystemOperationType) isMultiValue() bool { + return false +} diff --git a/models/win32_lob_app_msi_package_type.go b/models/win32_lob_app_msi_package_type.go index 16c312cdf04..4e165c7b2f5 100644 --- a/models/win32_lob_app_msi_package_type.go +++ b/models/win32_lob_app_msi_package_type.go @@ -38,3 +38,6 @@ func SerializeWin32LobAppMsiPackageType(values []Win32LobAppMsiPackageType) []st } return result } +func (i Win32LobAppMsiPackageType) isMultiValue() bool { + return false +} diff --git a/models/win32_lob_app_notification.go b/models/win32_lob_app_notification.go index ae47624b148..5cfc9ab768b 100644 --- a/models/win32_lob_app_notification.go +++ b/models/win32_lob_app_notification.go @@ -38,3 +38,6 @@ func SerializeWin32LobAppNotification(values []Win32LobAppNotification) []string } return result } +func (i Win32LobAppNotification) isMultiValue() bool { + return false +} diff --git a/models/win32_lob_app_power_shell_script_detection_type.go b/models/win32_lob_app_power_shell_script_detection_type.go index a5cc83d8406..e50afe6141b 100644 --- a/models/win32_lob_app_power_shell_script_detection_type.go +++ b/models/win32_lob_app_power_shell_script_detection_type.go @@ -54,3 +54,6 @@ func SerializeWin32LobAppPowerShellScriptDetectionType(values []Win32LobAppPower } return result } +func (i Win32LobAppPowerShellScriptDetectionType) isMultiValue() bool { + return false +} diff --git a/models/win32_lob_app_power_shell_script_rule_operation_type.go b/models/win32_lob_app_power_shell_script_rule_operation_type.go index 8bdd1845d94..de2321a552e 100644 --- a/models/win32_lob_app_power_shell_script_rule_operation_type.go +++ b/models/win32_lob_app_power_shell_script_rule_operation_type.go @@ -54,3 +54,6 @@ func SerializeWin32LobAppPowerShellScriptRuleOperationType(values []Win32LobAppP } return result } +func (i Win32LobAppPowerShellScriptRuleOperationType) isMultiValue() bool { + return false +} diff --git a/models/win32_lob_app_registry_detection_type.go b/models/win32_lob_app_registry_detection_type.go index 5b6dcb479aa..616b5e9a5c8 100644 --- a/models/win32_lob_app_registry_detection_type.go +++ b/models/win32_lob_app_registry_detection_type.go @@ -50,3 +50,6 @@ func SerializeWin32LobAppRegistryDetectionType(values []Win32LobAppRegistryDetec } return result } +func (i Win32LobAppRegistryDetectionType) isMultiValue() bool { + return false +} diff --git a/models/win32_lob_app_registry_rule_operation_type.go b/models/win32_lob_app_registry_rule_operation_type.go index 21cd212c187..4d65eac36f9 100644 --- a/models/win32_lob_app_registry_rule_operation_type.go +++ b/models/win32_lob_app_registry_rule_operation_type.go @@ -50,3 +50,6 @@ func SerializeWin32LobAppRegistryRuleOperationType(values []Win32LobAppRegistryR } return result } +func (i Win32LobAppRegistryRuleOperationType) isMultiValue() bool { + return false +} diff --git a/models/win32_lob_app_restart_behavior.go b/models/win32_lob_app_restart_behavior.go index 4284ca8392a..211e1b5ced6 100644 --- a/models/win32_lob_app_restart_behavior.go +++ b/models/win32_lob_app_restart_behavior.go @@ -42,3 +42,6 @@ func SerializeWin32LobAppRestartBehavior(values []Win32LobAppRestartBehavior) [] } return result } +func (i Win32LobAppRestartBehavior) isMultiValue() bool { + return false +} diff --git a/models/win32_lob_app_return_code_type.go b/models/win32_lob_app_return_code_type.go index 253dbb0815b..b999de54cec 100644 --- a/models/win32_lob_app_return_code_type.go +++ b/models/win32_lob_app_return_code_type.go @@ -46,3 +46,6 @@ func SerializeWin32LobAppReturnCodeType(values []Win32LobAppReturnCodeType) []st } return result } +func (i Win32LobAppReturnCodeType) isMultiValue() bool { + return false +} diff --git a/models/win32_lob_app_rule_operator.go b/models/win32_lob_app_rule_operator.go index 947fe734a5b..f58a5909a2d 100644 --- a/models/win32_lob_app_rule_operator.go +++ b/models/win32_lob_app_rule_operator.go @@ -54,3 +54,6 @@ func SerializeWin32LobAppRuleOperator(values []Win32LobAppRuleOperator) []string } return result } +func (i Win32LobAppRuleOperator) isMultiValue() bool { + return false +} diff --git a/models/win32_lob_app_rule_type.go b/models/win32_lob_app_rule_type.go index 2679a3517a3..fcbac3bb6a3 100644 --- a/models/win32_lob_app_rule_type.go +++ b/models/win32_lob_app_rule_type.go @@ -34,3 +34,6 @@ func SerializeWin32LobAppRuleType(values []Win32LobAppRuleType) []string { } return result } +func (i Win32LobAppRuleType) isMultiValue() bool { + return false +} diff --git a/models/win_get_app_collection_response.go b/models/win_get_app_collection_response.go new file mode 100644 index 00000000000..328f96a16c9 --- /dev/null +++ b/models/win_get_app_collection_response.go @@ -0,0 +1,87 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// WinGetAppCollectionResponse +type WinGetAppCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewWinGetAppCollectionResponse instantiates a new winGetAppCollectionResponse and sets the default values. +func NewWinGetAppCollectionResponse()(*WinGetAppCollectionResponse) { + m := &WinGetAppCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateWinGetAppCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateWinGetAppCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWinGetAppCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *WinGetAppCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWinGetAppFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]WinGetAppable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(WinGetAppable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *WinGetAppCollectionResponse) GetValue()([]WinGetAppable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]WinGetAppable) + } + return nil +} +// Serialize serializes information the current object +func (m *WinGetAppCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *WinGetAppCollectionResponse) SetValue(value []WinGetAppable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// WinGetAppCollectionResponseable +type WinGetAppCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]WinGetAppable) + SetValue(value []WinGetAppable)() +} diff --git a/models/win_get_app_notification.go b/models/win_get_app_notification.go index 761fdb1fd40..bd46f8f9f5f 100644 --- a/models/win_get_app_notification.go +++ b/models/win_get_app_notification.go @@ -42,3 +42,6 @@ func SerializeWinGetAppNotification(values []WinGetAppNotification) []string { } return result } +func (i WinGetAppNotification) isMultiValue() bool { + return false +} diff --git a/models/windows10_app_type.go b/models/windows10_app_type.go index 99ec070a92f..31a3ef3cc6e 100644 --- a/models/windows10_app_type.go +++ b/models/windows10_app_type.go @@ -34,3 +34,6 @@ func SerializeWindows10AppType(values []Windows10AppType) []string { } return result } +func (i Windows10AppType) isMultiValue() bool { + return false +} diff --git a/models/windows10_apps_update_recurrence.go b/models/windows10_apps_update_recurrence.go index 419d6c8b70b..694c518dac5 100644 --- a/models/windows10_apps_update_recurrence.go +++ b/models/windows10_apps_update_recurrence.go @@ -42,3 +42,6 @@ func SerializeWindows10AppsUpdateRecurrence(values []Windows10AppsUpdateRecurren } return result } +func (i Windows10AppsUpdateRecurrence) isMultiValue() bool { + return false +} diff --git a/models/windows10_compliance_policy.go b/models/windows10_compliance_policy.go index 9bf38506432..460db5691dd 100644 --- a/models/windows10_compliance_policy.go +++ b/models/windows10_compliance_policy.go @@ -276,6 +276,36 @@ func (m *Windows10CompliancePolicy) GetFieldDeserializers()(map[string]func(i878 } return nil } + res["firmwareProtectionEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetFirmwareProtectionEnabled(val) + } + return nil + } + res["kernelDmaProtectionEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetKernelDmaProtectionEnabled(val) + } + return nil + } + res["memoryIntegrityEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetMemoryIntegrityEnabled(val) + } + return nil + } res["mobileOsMaximumVersion"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -482,8 +512,51 @@ func (m *Windows10CompliancePolicy) GetFieldDeserializers()(map[string]func(i878 } return nil } + res["virtualizationBasedSecurityEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetVirtualizationBasedSecurityEnabled(val) + } + return nil + } return res } +// GetFirmwareProtectionEnabled gets the firmwareProtectionEnabled property value. When TRUE, indicates that Firmware protection is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Firmware protection is not required to be reported as healthy. Devices that support either Dynamic Root of Trust for Measurement (DRTM) or Firmware Attack Surface Reduction (FASR) will report compliant for this setting. Default value is FALSE. +func (m *Windows10CompliancePolicy) GetFirmwareProtectionEnabled()(*bool) { + val, err := m.GetBackingStore().Get("firmwareProtectionEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetKernelDmaProtectionEnabled gets the kernelDmaProtectionEnabled property value. When TRUE, indicates that Kernel Direct Memory Access (DMA) protection is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Kernel DMA Protection is not required to be reported as healthy. Default value is FALSE. +func (m *Windows10CompliancePolicy) GetKernelDmaProtectionEnabled()(*bool) { + val, err := m.GetBackingStore().Get("kernelDmaProtectionEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetMemoryIntegrityEnabled gets the memoryIntegrityEnabled property value. When TRUE, indicates that Memory Integrity as known as Hypervisor-protected Code Integrity (HVCI) or Hypervisor Enforced Code Integrity protection is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Memory Integrity Protection is not required to be reported as healthy. Default value is FALSE. +func (m *Windows10CompliancePolicy) GetMemoryIntegrityEnabled()(*bool) { + val, err := m.GetBackingStore().Get("memoryIntegrityEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetMobileOsMaximumVersion gets the mobileOsMaximumVersion property value. Maximum Windows Phone version. func (m *Windows10CompliancePolicy) GetMobileOsMaximumVersion()(*string) { val, err := m.GetBackingStore().Get("mobileOsMaximumVersion") @@ -704,6 +777,17 @@ func (m *Windows10CompliancePolicy) GetValidOperatingSystemBuildRanges()([]Opera } return nil } +// GetVirtualizationBasedSecurityEnabled gets the virtualizationBasedSecurityEnabled property value. When TRUE, indicates that Virtualization-based Security is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Virtualization-based Security is not required to be reported as healthy. Default value is FALSE. +func (m *Windows10CompliancePolicy) GetVirtualizationBasedSecurityEnabled()(*bool) { + val, err := m.GetBackingStore().Get("virtualizationBasedSecurityEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // Serialize serializes information the current object func (m *Windows10CompliancePolicy) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.DeviceCompliancePolicy.Serialize(writer) @@ -783,6 +867,24 @@ func (m *Windows10CompliancePolicy) Serialize(writer i878a80d2330e89d26896388a3f return err } } + { + err = writer.WriteBoolValue("firmwareProtectionEnabled", m.GetFirmwareProtectionEnabled()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("kernelDmaProtectionEnabled", m.GetKernelDmaProtectionEnabled()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("memoryIntegrityEnabled", m.GetMemoryIntegrityEnabled()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("mobileOsMaximumVersion", m.GetMobileOsMaximumVersion()) if err != nil { @@ -910,6 +1012,12 @@ func (m *Windows10CompliancePolicy) Serialize(writer i878a80d2330e89d26896388a3f return err } } + { + err = writer.WriteBoolValue("virtualizationBasedSecurityEnabled", m.GetVirtualizationBasedSecurityEnabled()) + if err != nil { + return err + } + } return nil } // SetActiveFirewallRequired sets the activeFirewallRequired property value. Require active firewall on Windows devices. @@ -996,6 +1104,27 @@ func (m *Windows10CompliancePolicy) SetEarlyLaunchAntiMalwareDriverEnabled(value panic(err) } } +// SetFirmwareProtectionEnabled sets the firmwareProtectionEnabled property value. When TRUE, indicates that Firmware protection is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Firmware protection is not required to be reported as healthy. Devices that support either Dynamic Root of Trust for Measurement (DRTM) or Firmware Attack Surface Reduction (FASR) will report compliant for this setting. Default value is FALSE. +func (m *Windows10CompliancePolicy) SetFirmwareProtectionEnabled(value *bool)() { + err := m.GetBackingStore().Set("firmwareProtectionEnabled", value) + if err != nil { + panic(err) + } +} +// SetKernelDmaProtectionEnabled sets the kernelDmaProtectionEnabled property value. When TRUE, indicates that Kernel Direct Memory Access (DMA) protection is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Kernel DMA Protection is not required to be reported as healthy. Default value is FALSE. +func (m *Windows10CompliancePolicy) SetKernelDmaProtectionEnabled(value *bool)() { + err := m.GetBackingStore().Set("kernelDmaProtectionEnabled", value) + if err != nil { + panic(err) + } +} +// SetMemoryIntegrityEnabled sets the memoryIntegrityEnabled property value. When TRUE, indicates that Memory Integrity as known as Hypervisor-protected Code Integrity (HVCI) or Hypervisor Enforced Code Integrity protection is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Memory Integrity Protection is not required to be reported as healthy. Default value is FALSE. +func (m *Windows10CompliancePolicy) SetMemoryIntegrityEnabled(value *bool)() { + err := m.GetBackingStore().Set("memoryIntegrityEnabled", value) + if err != nil { + panic(err) + } +} // SetMobileOsMaximumVersion sets the mobileOsMaximumVersion property value. Maximum Windows Phone version. func (m *Windows10CompliancePolicy) SetMobileOsMaximumVersion(value *string)() { err := m.GetBackingStore().Set("mobileOsMaximumVersion", value) @@ -1136,6 +1265,13 @@ func (m *Windows10CompliancePolicy) SetValidOperatingSystemBuildRanges(value []O panic(err) } } +// SetVirtualizationBasedSecurityEnabled sets the virtualizationBasedSecurityEnabled property value. When TRUE, indicates that Virtualization-based Security is required to be reported as healthy by Microsoft Azure Attestion. When FALSE, indicates that Virtualization-based Security is not required to be reported as healthy. Default value is FALSE. +func (m *Windows10CompliancePolicy) SetVirtualizationBasedSecurityEnabled(value *bool)() { + err := m.GetBackingStore().Set("virtualizationBasedSecurityEnabled", value) + if err != nil { + panic(err) + } +} // Windows10CompliancePolicyable type Windows10CompliancePolicyable interface { DeviceCompliancePolicyable @@ -1152,6 +1288,9 @@ type Windows10CompliancePolicyable interface { GetDeviceThreatProtectionEnabled()(*bool) GetDeviceThreatProtectionRequiredSecurityLevel()(*DeviceThreatProtectionLevel) GetEarlyLaunchAntiMalwareDriverEnabled()(*bool) + GetFirmwareProtectionEnabled()(*bool) + GetKernelDmaProtectionEnabled()(*bool) + GetMemoryIntegrityEnabled()(*bool) GetMobileOsMaximumVersion()(*string) GetMobileOsMinimumVersion()(*string) GetOsMaximumVersion()(*string) @@ -1172,6 +1311,7 @@ type Windows10CompliancePolicyable interface { GetStorageRequireEncryption()(*bool) GetTpmRequired()(*bool) GetValidOperatingSystemBuildRanges()([]OperatingSystemVersionRangeable) + GetVirtualizationBasedSecurityEnabled()(*bool) SetActiveFirewallRequired(value *bool)() SetAntiSpywareRequired(value *bool)() SetAntivirusRequired(value *bool)() @@ -1184,6 +1324,9 @@ type Windows10CompliancePolicyable interface { SetDeviceThreatProtectionEnabled(value *bool)() SetDeviceThreatProtectionRequiredSecurityLevel(value *DeviceThreatProtectionLevel)() SetEarlyLaunchAntiMalwareDriverEnabled(value *bool)() + SetFirmwareProtectionEnabled(value *bool)() + SetKernelDmaProtectionEnabled(value *bool)() + SetMemoryIntegrityEnabled(value *bool)() SetMobileOsMaximumVersion(value *string)() SetMobileOsMinimumVersion(value *string)() SetOsMaximumVersion(value *string)() @@ -1204,4 +1347,5 @@ type Windows10CompliancePolicyable interface { SetStorageRequireEncryption(value *bool)() SetTpmRequired(value *bool)() SetValidOperatingSystemBuildRanges(value []OperatingSystemVersionRangeable)() + SetVirtualizationBasedSecurityEnabled(value *bool)() } diff --git a/models/windows10_device_mode_type.go b/models/windows10_device_mode_type.go index 254e3b01c41..ae4c85dd0c1 100644 --- a/models/windows10_device_mode_type.go +++ b/models/windows10_device_mode_type.go @@ -34,3 +34,6 @@ func SerializeWindows10DeviceModeType(values []Windows10DeviceModeType) []string } return result } +func (i Windows10DeviceModeType) isMultiValue() bool { + return false +} diff --git a/models/windows10_edition_type.go b/models/windows10_edition_type.go index 0f45519b59d..ed560b02502 100644 --- a/models/windows10_edition_type.go +++ b/models/windows10_edition_type.go @@ -106,3 +106,6 @@ func SerializeWindows10EditionType(values []Windows10EditionType) []string { } return result } +func (i Windows10EditionType) isMultiValue() bool { + return false +} diff --git a/models/windows10_vpn_authentication_method.go b/models/windows10_vpn_authentication_method.go index 468520e0266..8a334cf1dc4 100644 --- a/models/windows10_vpn_authentication_method.go +++ b/models/windows10_vpn_authentication_method.go @@ -42,3 +42,6 @@ func SerializeWindows10VpnAuthenticationMethod(values []Windows10VpnAuthenticati } return result } +func (i Windows10VpnAuthenticationMethod) isMultiValue() bool { + return false +} diff --git a/models/windows10_vpn_connection_type.go b/models/windows10_vpn_connection_type.go index e4e6cf6cba0..cfd39f806ad 100644 --- a/models/windows10_vpn_connection_type.go +++ b/models/windows10_vpn_connection_type.go @@ -78,3 +78,6 @@ func SerializeWindows10VpnConnectionType(values []Windows10VpnConnectionType) [] } return result } +func (i Windows10VpnConnectionType) isMultiValue() bool { + return false +} diff --git a/models/windows10_vpn_profile_target.go b/models/windows10_vpn_profile_target.go index 8e87e2d0c11..bd8e2bb2755 100644 --- a/models/windows10_vpn_profile_target.go +++ b/models/windows10_vpn_profile_target.go @@ -38,3 +38,6 @@ func SerializeWindows10VpnProfileTarget(values []Windows10VpnProfileTarget) []st } return result } +func (i Windows10VpnProfileTarget) isMultiValue() bool { + return false +} diff --git a/models/windows_app_start_layout_tile_size.go b/models/windows_app_start_layout_tile_size.go index 8625e874544..69009a1cc4a 100644 --- a/models/windows_app_start_layout_tile_size.go +++ b/models/windows_app_start_layout_tile_size.go @@ -46,3 +46,6 @@ func SerializeWindowsAppStartLayoutTileSize(values []WindowsAppStartLayoutTileSi } return result } +func (i WindowsAppStartLayoutTileSize) isMultiValue() bool { + return false +} diff --git a/models/windows_app_x_app_assignment_settings.go b/models/windows_app_x_app_assignment_settings.go index f38f5bee38d..fe04ee9a3f9 100644 --- a/models/windows_app_x_app_assignment_settings.go +++ b/models/windows_app_x_app_assignment_settings.go @@ -36,7 +36,7 @@ func (m *WindowsAppXAppAssignmentSettings) GetFieldDeserializers()(map[string]fu } return res } -// GetUseDeviceContext gets the useDeviceContext property value. When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. +// GetUseDeviceContext gets the useDeviceContext property value. Whether or not to use device execution context for Windows AppX mobile app. func (m *WindowsAppXAppAssignmentSettings) GetUseDeviceContext()(*bool) { val, err := m.GetBackingStore().Get("useDeviceContext") if err != nil { @@ -61,7 +61,7 @@ func (m *WindowsAppXAppAssignmentSettings) Serialize(writer i878a80d2330e89d2689 } return nil } -// SetUseDeviceContext sets the useDeviceContext property value. When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. +// SetUseDeviceContext sets the useDeviceContext property value. Whether or not to use device execution context for Windows AppX mobile app. func (m *WindowsAppXAppAssignmentSettings) SetUseDeviceContext(value *bool)() { err := m.GetBackingStore().Set("useDeviceContext", value) if err != nil { diff --git a/models/mobile_lob_app_collection_response.go b/models/windows_app_x_collection_response.go similarity index 56% rename from models/mobile_lob_app_collection_response.go rename to models/windows_app_x_collection_response.go index 175982438e5..d674bae2331 100644 --- a/models/mobile_lob_app_collection_response.go +++ b/models/windows_app_x_collection_response.go @@ -4,34 +4,34 @@ import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) -// MobileLobAppCollectionResponse -type MobileLobAppCollectionResponse struct { +// WindowsAppXCollectionResponse +type WindowsAppXCollectionResponse struct { BaseCollectionPaginationCountResponse } -// NewMobileLobAppCollectionResponse instantiates a new mobileLobAppCollectionResponse and sets the default values. -func NewMobileLobAppCollectionResponse()(*MobileLobAppCollectionResponse) { - m := &MobileLobAppCollectionResponse{ +// NewWindowsAppXCollectionResponse instantiates a new windowsAppXCollectionResponse and sets the default values. +func NewWindowsAppXCollectionResponse()(*WindowsAppXCollectionResponse) { + m := &WindowsAppXCollectionResponse{ BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), } return m } -// CreateMobileLobAppCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -func CreateMobileLobAppCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewMobileLobAppCollectionResponse(), nil +// CreateWindowsAppXCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateWindowsAppXCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWindowsAppXCollectionResponse(), nil } // GetFieldDeserializers the deserialization information for the current model -func (m *MobileLobAppCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { +func (m *WindowsAppXCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetCollectionOfObjectValues(CreateMobileLobAppFromDiscriminatorValue) + val, err := n.GetCollectionOfObjectValues(CreateWindowsAppXFromDiscriminatorValue) if err != nil { return err } if val != nil { - res := make([]MobileLobAppable, len(val)) + res := make([]WindowsAppXable, len(val)) for i, v := range val { if v != nil { - res[i] = v.(MobileLobAppable) + res[i] = v.(WindowsAppXable) } } m.SetValue(res) @@ -41,18 +41,18 @@ func (m *MobileLobAppCollectionResponse) GetFieldDeserializers()(map[string]func return res } // GetValue gets the value property value. The value property -func (m *MobileLobAppCollectionResponse) GetValue()([]MobileLobAppable) { +func (m *WindowsAppXCollectionResponse) GetValue()([]WindowsAppXable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.([]MobileLobAppable) + return val.([]WindowsAppXable) } return nil } // Serialize serializes information the current object -func (m *MobileLobAppCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { +func (m *WindowsAppXCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.BaseCollectionPaginationCountResponse.Serialize(writer) if err != nil { return err @@ -72,16 +72,16 @@ func (m *MobileLobAppCollectionResponse) Serialize(writer i878a80d2330e89d268963 return nil } // SetValue sets the value property value. The value property -func (m *MobileLobAppCollectionResponse) SetValue(value []MobileLobAppable)() { +func (m *WindowsAppXCollectionResponse) SetValue(value []WindowsAppXable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) } } -// MobileLobAppCollectionResponseable -type MobileLobAppCollectionResponseable interface { +// WindowsAppXCollectionResponseable +type WindowsAppXCollectionResponseable interface { BaseCollectionPaginationCountResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetValue()([]MobileLobAppable) - SetValue(value []MobileLobAppable)() + GetValue()([]WindowsAppXable) + SetValue(value []WindowsAppXable)() } diff --git a/models/windows_architecture.go b/models/windows_architecture.go index 787017bc58a..01681b2c369 100644 --- a/models/windows_architecture.go +++ b/models/windows_architecture.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Contains properties for Windows architecture. type WindowsArchitecture int @@ -21,25 +22,34 @@ const ( ) func (i WindowsArchitecture) String() string { - return []string{"none", "x86", "x64", "arm", "neutral", "arm64"}[i] + var values []string + for p := WindowsArchitecture(1); p <= ARM64_WINDOWSARCHITECTURE; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "x86", "x64", "arm", "neutral", "arm64"}[p]) + } + } + return strings.Join(values, ",") } func ParseWindowsArchitecture(v string) (any, error) { - result := NONE_WINDOWSARCHITECTURE - switch v { - case "none": - result = NONE_WINDOWSARCHITECTURE - case "x86": - result = X86_WINDOWSARCHITECTURE - case "x64": - result = X64_WINDOWSARCHITECTURE - case "arm": - result = ARM_WINDOWSARCHITECTURE - case "neutral": - result = NEUTRAL_WINDOWSARCHITECTURE - case "arm64": - result = ARM64_WINDOWSARCHITECTURE - default: - return 0, errors.New("Unknown WindowsArchitecture value: " + v) + var result WindowsArchitecture + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_WINDOWSARCHITECTURE + case "x86": + result |= X86_WINDOWSARCHITECTURE + case "x64": + result |= X64_WINDOWSARCHITECTURE + case "arm": + result |= ARM_WINDOWSARCHITECTURE + case "neutral": + result |= NEUTRAL_WINDOWSARCHITECTURE + case "arm64": + result |= ARM64_WINDOWSARCHITECTURE + default: + return 0, errors.New("Unknown WindowsArchitecture value: " + v) + } } return &result, nil } @@ -50,3 +60,6 @@ func SerializeWindowsArchitecture(values []WindowsArchitecture) []string { } return result } +func (i WindowsArchitecture) isMultiValue() bool { + return true +} diff --git a/models/windows_autopilot_deployment_state.go b/models/windows_autopilot_deployment_state.go index af6b89b6a44..f25aa76af8b 100644 --- a/models/windows_autopilot_deployment_state.go +++ b/models/windows_autopilot_deployment_state.go @@ -58,3 +58,6 @@ func SerializeWindowsAutopilotDeploymentState(values []WindowsAutopilotDeploymen } return result } +func (i WindowsAutopilotDeploymentState) isMultiValue() bool { + return false +} diff --git a/models/windows_autopilot_device_identity.go b/models/windows_autopilot_device_identity.go index 596eb2fe016..0ffc5b47429 100644 --- a/models/windows_autopilot_device_identity.go +++ b/models/windows_autopilot_device_identity.go @@ -415,6 +415,16 @@ func (m *WindowsAutopilotDeviceIdentity) GetFieldDeserializers()(map[string]func } return nil } + res["userlessEnrollmentStatus"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseWindowsAutopilotUserlessEnrollmentStatus) + if err != nil { + return err + } + if val != nil { + m.SetUserlessEnrollmentStatus(val.(*WindowsAutopilotUserlessEnrollmentStatus)) + } + return nil + } res["userPrincipalName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -581,6 +591,17 @@ func (m *WindowsAutopilotDeviceIdentity) GetSystemFamily()(*string) { } return nil } +// GetUserlessEnrollmentStatus gets the userlessEnrollmentStatus property value. Userless enrollment block status, indicating whether the next device enrollment will be blocked. +func (m *WindowsAutopilotDeviceIdentity) GetUserlessEnrollmentStatus()(*WindowsAutopilotUserlessEnrollmentStatus) { + val, err := m.GetBackingStore().Get("userlessEnrollmentStatus") + if err != nil { + panic(err) + } + if val != nil { + return val.(*WindowsAutopilotUserlessEnrollmentStatus) + } + return nil +} // GetUserPrincipalName gets the userPrincipalName property value. User Principal Name. func (m *WindowsAutopilotDeviceIdentity) GetUserPrincipalName()(*string) { val, err := m.GetBackingStore().Get("userPrincipalName") @@ -758,6 +779,13 @@ func (m *WindowsAutopilotDeviceIdentity) Serialize(writer i878a80d2330e89d268963 return err } } + if m.GetUserlessEnrollmentStatus() != nil { + cast := (*m.GetUserlessEnrollmentStatus()).String() + err = writer.WriteStringValue("userlessEnrollmentStatus", &cast) + if err != nil { + return err + } + } { err = writer.WriteStringValue("userPrincipalName", m.GetUserPrincipalName()) if err != nil { @@ -948,6 +976,13 @@ func (m *WindowsAutopilotDeviceIdentity) SetSystemFamily(value *string)() { panic(err) } } +// SetUserlessEnrollmentStatus sets the userlessEnrollmentStatus property value. Userless enrollment block status, indicating whether the next device enrollment will be blocked. +func (m *WindowsAutopilotDeviceIdentity) SetUserlessEnrollmentStatus(value *WindowsAutopilotUserlessEnrollmentStatus)() { + err := m.GetBackingStore().Set("userlessEnrollmentStatus", value) + if err != nil { + panic(err) + } +} // SetUserPrincipalName sets the userPrincipalName property value. User Principal Name. func (m *WindowsAutopilotDeviceIdentity) SetUserPrincipalName(value *string)() { err := m.GetBackingStore().Set("userPrincipalName", value) @@ -985,6 +1020,7 @@ type WindowsAutopilotDeviceIdentityable interface { GetSerialNumber()(*string) GetSkuNumber()(*string) GetSystemFamily()(*string) + GetUserlessEnrollmentStatus()(*WindowsAutopilotUserlessEnrollmentStatus) GetUserPrincipalName()(*string) SetAddressableUserName(value *string)() SetAzureActiveDirectoryDeviceId(value *string)() @@ -1012,5 +1048,6 @@ type WindowsAutopilotDeviceIdentityable interface { SetSerialNumber(value *string)() SetSkuNumber(value *string)() SetSystemFamily(value *string)() + SetUserlessEnrollmentStatus(value *WindowsAutopilotUserlessEnrollmentStatus)() SetUserPrincipalName(value *string)() } diff --git a/models/windows_autopilot_device_remediation_state.go b/models/windows_autopilot_device_remediation_state.go index 9d7c5968258..722a4dab347 100644 --- a/models/windows_autopilot_device_remediation_state.go +++ b/models/windows_autopilot_device_remediation_state.go @@ -46,3 +46,6 @@ func SerializeWindowsAutopilotDeviceRemediationState(values []WindowsAutopilotDe } return result } +func (i WindowsAutopilotDeviceRemediationState) isMultiValue() bool { + return false +} diff --git a/models/windows_autopilot_device_type.go b/models/windows_autopilot_device_type.go index 9e714f7b3c6..77c187fce70 100644 --- a/models/windows_autopilot_device_type.go +++ b/models/windows_autopilot_device_type.go @@ -50,3 +50,6 @@ func SerializeWindowsAutopilotDeviceType(values []WindowsAutopilotDeviceType) [] } return result } +func (i WindowsAutopilotDeviceType) isMultiValue() bool { + return false +} diff --git a/models/windows_autopilot_enrollment_type.go b/models/windows_autopilot_enrollment_type.go index 6132343043b..444b9b1693e 100644 --- a/models/windows_autopilot_enrollment_type.go +++ b/models/windows_autopilot_enrollment_type.go @@ -53,3 +53,6 @@ func SerializeWindowsAutopilotEnrollmentType(values []WindowsAutopilotEnrollment } return result } +func (i WindowsAutopilotEnrollmentType) isMultiValue() bool { + return false +} diff --git a/models/windows_autopilot_profile_assignment_detailed_status.go b/models/windows_autopilot_profile_assignment_detailed_status.go index c8c1b565ff6..9e605efcd32 100644 --- a/models/windows_autopilot_profile_assignment_detailed_status.go +++ b/models/windows_autopilot_profile_assignment_detailed_status.go @@ -54,3 +54,6 @@ func SerializeWindowsAutopilotProfileAssignmentDetailedStatus(values []WindowsAu } return result } +func (i WindowsAutopilotProfileAssignmentDetailedStatus) isMultiValue() bool { + return false +} diff --git a/models/windows_autopilot_profile_assignment_status.go b/models/windows_autopilot_profile_assignment_status.go index 8df4e4440a0..7b206b7e4da 100644 --- a/models/windows_autopilot_profile_assignment_status.go +++ b/models/windows_autopilot_profile_assignment_status.go @@ -54,3 +54,6 @@ func SerializeWindowsAutopilotProfileAssignmentStatus(values []WindowsAutopilotP } return result } +func (i WindowsAutopilotProfileAssignmentStatus) isMultiValue() bool { + return false +} diff --git a/models/windows_autopilot_sync_status.go b/models/windows_autopilot_sync_status.go index 7d64f3fbe3b..7146f0422cd 100644 --- a/models/windows_autopilot_sync_status.go +++ b/models/windows_autopilot_sync_status.go @@ -42,3 +42,6 @@ func SerializeWindowsAutopilotSyncStatus(values []WindowsAutopilotSyncStatus) [] } return result } +func (i WindowsAutopilotSyncStatus) isMultiValue() bool { + return false +} diff --git a/models/windows_autopilot_userless_enrollment_status.go b/models/windows_autopilot_userless_enrollment_status.go new file mode 100644 index 00000000000..94f8a0d96ae --- /dev/null +++ b/models/windows_autopilot_userless_enrollment_status.go @@ -0,0 +1,47 @@ +package models +import ( + "errors" +) +// Userless enrollment block status, indicating whether the next device enrollment will be blocked. +type WindowsAutopilotUserlessEnrollmentStatus int + +const ( + // Unknown userless enrollment block status. Next userless enrollment may fail. This is the default value. + UNKNOWN_WINDOWSAUTOPILOTUSERLESSENROLLMENTSTATUS WindowsAutopilotUserlessEnrollmentStatus = iota + // Indicates next userless enrollment can proceed. + ALLOWED_WINDOWSAUTOPILOTUSERLESSENROLLMENTSTATUS + // Indicates next userless enrollment cannot proceed without resetting the windowsAutopilotUserlessEnrollmentStatus. + BLOCKED_WINDOWSAUTOPILOTUSERLESSENROLLMENTSTATUS + // Evolvable enumeration sentinel value. Do not use. + UNKNOWNFUTUREVALUE_WINDOWSAUTOPILOTUSERLESSENROLLMENTSTATUS +) + +func (i WindowsAutopilotUserlessEnrollmentStatus) String() string { + return []string{"unknown", "allowed", "blocked", "unknownFutureValue"}[i] +} +func ParseWindowsAutopilotUserlessEnrollmentStatus(v string) (any, error) { + result := UNKNOWN_WINDOWSAUTOPILOTUSERLESSENROLLMENTSTATUS + switch v { + case "unknown": + result = UNKNOWN_WINDOWSAUTOPILOTUSERLESSENROLLMENTSTATUS + case "allowed": + result = ALLOWED_WINDOWSAUTOPILOTUSERLESSENROLLMENTSTATUS + case "blocked": + result = BLOCKED_WINDOWSAUTOPILOTUSERLESSENROLLMENTSTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_WINDOWSAUTOPILOTUSERLESSENROLLMENTSTATUS + default: + return 0, errors.New("Unknown WindowsAutopilotUserlessEnrollmentStatus value: " + v) + } + return &result, nil +} +func SerializeWindowsAutopilotUserlessEnrollmentStatus(values []WindowsAutopilotUserlessEnrollmentStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i WindowsAutopilotUserlessEnrollmentStatus) isMultiValue() bool { + return false +} diff --git a/models/windows_defender_application_control_supplemental_policy_statuses.go b/models/windows_defender_application_control_supplemental_policy_statuses.go index fe6abd5162b..fe264f027a4 100644 --- a/models/windows_defender_application_control_supplemental_policy_statuses.go +++ b/models/windows_defender_application_control_supplemental_policy_statuses.go @@ -46,3 +46,6 @@ func SerializeWindowsDefenderApplicationControlSupplementalPolicyStatuses(values } return result } +func (i WindowsDefenderApplicationControlSupplementalPolicyStatuses) isMultiValue() bool { + return false +} diff --git a/models/windows_defender_product_status.go b/models/windows_defender_product_status.go index 28670579777..15255d0ce29 100644 --- a/models/windows_defender_product_status.go +++ b/models/windows_defender_product_status.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Product Status of Windows Defender type WindowsDefenderProductStatus int @@ -61,65 +62,74 @@ const ( ) func (i WindowsDefenderProductStatus) String() string { - return []string{"noStatus", "serviceNotRunning", "serviceStartedWithoutMalwareProtection", "pendingFullScanDueToThreatAction", "pendingRebootDueToThreatAction", "pendingManualStepsDueToThreatAction", "avSignaturesOutOfDate", "asSignaturesOutOfDate", "noQuickScanHappenedForSpecifiedPeriod", "noFullScanHappenedForSpecifiedPeriod", "systemInitiatedScanInProgress", "systemInitiatedCleanInProgress", "samplesPendingSubmission", "productRunningInEvaluationMode", "productRunningInNonGenuineMode", "productExpired", "offlineScanRequired", "serviceShutdownAsPartOfSystemShutdown", "threatRemediationFailedCritically", "threatRemediationFailedNonCritically", "noStatusFlagsSet", "platformOutOfDate", "platformUpdateInProgress", "platformAboutToBeOutdated", "signatureOrPlatformEndOfLifeIsPastOrIsImpending", "windowsSModeSignaturesInUseOnNonWin10SInstall"}[i] + var values []string + for p := WindowsDefenderProductStatus(1); p <= WINDOWSSMODESIGNATURESINUSEONNONWIN10SINSTALL_WINDOWSDEFENDERPRODUCTSTATUS; p <<= 1 { + if i&p == p { + values = append(values, []string{"noStatus", "serviceNotRunning", "serviceStartedWithoutMalwareProtection", "pendingFullScanDueToThreatAction", "pendingRebootDueToThreatAction", "pendingManualStepsDueToThreatAction", "avSignaturesOutOfDate", "asSignaturesOutOfDate", "noQuickScanHappenedForSpecifiedPeriod", "noFullScanHappenedForSpecifiedPeriod", "systemInitiatedScanInProgress", "systemInitiatedCleanInProgress", "samplesPendingSubmission", "productRunningInEvaluationMode", "productRunningInNonGenuineMode", "productExpired", "offlineScanRequired", "serviceShutdownAsPartOfSystemShutdown", "threatRemediationFailedCritically", "threatRemediationFailedNonCritically", "noStatusFlagsSet", "platformOutOfDate", "platformUpdateInProgress", "platformAboutToBeOutdated", "signatureOrPlatformEndOfLifeIsPastOrIsImpending", "windowsSModeSignaturesInUseOnNonWin10SInstall"}[p]) + } + } + return strings.Join(values, ",") } func ParseWindowsDefenderProductStatus(v string) (any, error) { - result := NOSTATUS_WINDOWSDEFENDERPRODUCTSTATUS - switch v { - case "noStatus": - result = NOSTATUS_WINDOWSDEFENDERPRODUCTSTATUS - case "serviceNotRunning": - result = SERVICENOTRUNNING_WINDOWSDEFENDERPRODUCTSTATUS - case "serviceStartedWithoutMalwareProtection": - result = SERVICESTARTEDWITHOUTMALWAREPROTECTION_WINDOWSDEFENDERPRODUCTSTATUS - case "pendingFullScanDueToThreatAction": - result = PENDINGFULLSCANDUETOTHREATACTION_WINDOWSDEFENDERPRODUCTSTATUS - case "pendingRebootDueToThreatAction": - result = PENDINGREBOOTDUETOTHREATACTION_WINDOWSDEFENDERPRODUCTSTATUS - case "pendingManualStepsDueToThreatAction": - result = PENDINGMANUALSTEPSDUETOTHREATACTION_WINDOWSDEFENDERPRODUCTSTATUS - case "avSignaturesOutOfDate": - result = AVSIGNATURESOUTOFDATE_WINDOWSDEFENDERPRODUCTSTATUS - case "asSignaturesOutOfDate": - result = ASSIGNATURESOUTOFDATE_WINDOWSDEFENDERPRODUCTSTATUS - case "noQuickScanHappenedForSpecifiedPeriod": - result = NOQUICKSCANHAPPENEDFORSPECIFIEDPERIOD_WINDOWSDEFENDERPRODUCTSTATUS - case "noFullScanHappenedForSpecifiedPeriod": - result = NOFULLSCANHAPPENEDFORSPECIFIEDPERIOD_WINDOWSDEFENDERPRODUCTSTATUS - case "systemInitiatedScanInProgress": - result = SYSTEMINITIATEDSCANINPROGRESS_WINDOWSDEFENDERPRODUCTSTATUS - case "systemInitiatedCleanInProgress": - result = SYSTEMINITIATEDCLEANINPROGRESS_WINDOWSDEFENDERPRODUCTSTATUS - case "samplesPendingSubmission": - result = SAMPLESPENDINGSUBMISSION_WINDOWSDEFENDERPRODUCTSTATUS - case "productRunningInEvaluationMode": - result = PRODUCTRUNNINGINEVALUATIONMODE_WINDOWSDEFENDERPRODUCTSTATUS - case "productRunningInNonGenuineMode": - result = PRODUCTRUNNINGINNONGENUINEMODE_WINDOWSDEFENDERPRODUCTSTATUS - case "productExpired": - result = PRODUCTEXPIRED_WINDOWSDEFENDERPRODUCTSTATUS - case "offlineScanRequired": - result = OFFLINESCANREQUIRED_WINDOWSDEFENDERPRODUCTSTATUS - case "serviceShutdownAsPartOfSystemShutdown": - result = SERVICESHUTDOWNASPARTOFSYSTEMSHUTDOWN_WINDOWSDEFENDERPRODUCTSTATUS - case "threatRemediationFailedCritically": - result = THREATREMEDIATIONFAILEDCRITICALLY_WINDOWSDEFENDERPRODUCTSTATUS - case "threatRemediationFailedNonCritically": - result = THREATREMEDIATIONFAILEDNONCRITICALLY_WINDOWSDEFENDERPRODUCTSTATUS - case "noStatusFlagsSet": - result = NOSTATUSFLAGSSET_WINDOWSDEFENDERPRODUCTSTATUS - case "platformOutOfDate": - result = PLATFORMOUTOFDATE_WINDOWSDEFENDERPRODUCTSTATUS - case "platformUpdateInProgress": - result = PLATFORMUPDATEINPROGRESS_WINDOWSDEFENDERPRODUCTSTATUS - case "platformAboutToBeOutdated": - result = PLATFORMABOUTTOBEOUTDATED_WINDOWSDEFENDERPRODUCTSTATUS - case "signatureOrPlatformEndOfLifeIsPastOrIsImpending": - result = SIGNATUREORPLATFORMENDOFLIFEISPASTORISIMPENDING_WINDOWSDEFENDERPRODUCTSTATUS - case "windowsSModeSignaturesInUseOnNonWin10SInstall": - result = WINDOWSSMODESIGNATURESINUSEONNONWIN10SINSTALL_WINDOWSDEFENDERPRODUCTSTATUS - default: - return 0, errors.New("Unknown WindowsDefenderProductStatus value: " + v) + var result WindowsDefenderProductStatus + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "noStatus": + result |= NOSTATUS_WINDOWSDEFENDERPRODUCTSTATUS + case "serviceNotRunning": + result |= SERVICENOTRUNNING_WINDOWSDEFENDERPRODUCTSTATUS + case "serviceStartedWithoutMalwareProtection": + result |= SERVICESTARTEDWITHOUTMALWAREPROTECTION_WINDOWSDEFENDERPRODUCTSTATUS + case "pendingFullScanDueToThreatAction": + result |= PENDINGFULLSCANDUETOTHREATACTION_WINDOWSDEFENDERPRODUCTSTATUS + case "pendingRebootDueToThreatAction": + result |= PENDINGREBOOTDUETOTHREATACTION_WINDOWSDEFENDERPRODUCTSTATUS + case "pendingManualStepsDueToThreatAction": + result |= PENDINGMANUALSTEPSDUETOTHREATACTION_WINDOWSDEFENDERPRODUCTSTATUS + case "avSignaturesOutOfDate": + result |= AVSIGNATURESOUTOFDATE_WINDOWSDEFENDERPRODUCTSTATUS + case "asSignaturesOutOfDate": + result |= ASSIGNATURESOUTOFDATE_WINDOWSDEFENDERPRODUCTSTATUS + case "noQuickScanHappenedForSpecifiedPeriod": + result |= NOQUICKSCANHAPPENEDFORSPECIFIEDPERIOD_WINDOWSDEFENDERPRODUCTSTATUS + case "noFullScanHappenedForSpecifiedPeriod": + result |= NOFULLSCANHAPPENEDFORSPECIFIEDPERIOD_WINDOWSDEFENDERPRODUCTSTATUS + case "systemInitiatedScanInProgress": + result |= SYSTEMINITIATEDSCANINPROGRESS_WINDOWSDEFENDERPRODUCTSTATUS + case "systemInitiatedCleanInProgress": + result |= SYSTEMINITIATEDCLEANINPROGRESS_WINDOWSDEFENDERPRODUCTSTATUS + case "samplesPendingSubmission": + result |= SAMPLESPENDINGSUBMISSION_WINDOWSDEFENDERPRODUCTSTATUS + case "productRunningInEvaluationMode": + result |= PRODUCTRUNNINGINEVALUATIONMODE_WINDOWSDEFENDERPRODUCTSTATUS + case "productRunningInNonGenuineMode": + result |= PRODUCTRUNNINGINNONGENUINEMODE_WINDOWSDEFENDERPRODUCTSTATUS + case "productExpired": + result |= PRODUCTEXPIRED_WINDOWSDEFENDERPRODUCTSTATUS + case "offlineScanRequired": + result |= OFFLINESCANREQUIRED_WINDOWSDEFENDERPRODUCTSTATUS + case "serviceShutdownAsPartOfSystemShutdown": + result |= SERVICESHUTDOWNASPARTOFSYSTEMSHUTDOWN_WINDOWSDEFENDERPRODUCTSTATUS + case "threatRemediationFailedCritically": + result |= THREATREMEDIATIONFAILEDCRITICALLY_WINDOWSDEFENDERPRODUCTSTATUS + case "threatRemediationFailedNonCritically": + result |= THREATREMEDIATIONFAILEDNONCRITICALLY_WINDOWSDEFENDERPRODUCTSTATUS + case "noStatusFlagsSet": + result |= NOSTATUSFLAGSSET_WINDOWSDEFENDERPRODUCTSTATUS + case "platformOutOfDate": + result |= PLATFORMOUTOFDATE_WINDOWSDEFENDERPRODUCTSTATUS + case "platformUpdateInProgress": + result |= PLATFORMUPDATEINPROGRESS_WINDOWSDEFENDERPRODUCTSTATUS + case "platformAboutToBeOutdated": + result |= PLATFORMABOUTTOBEOUTDATED_WINDOWSDEFENDERPRODUCTSTATUS + case "signatureOrPlatformEndOfLifeIsPastOrIsImpending": + result |= SIGNATUREORPLATFORMENDOFLIFEISPASTORISIMPENDING_WINDOWSDEFENDERPRODUCTSTATUS + case "windowsSModeSignaturesInUseOnNonWin10SInstall": + result |= WINDOWSSMODESIGNATURESINUSEONNONWIN10SINSTALL_WINDOWSDEFENDERPRODUCTSTATUS + default: + return 0, errors.New("Unknown WindowsDefenderProductStatus value: " + v) + } } return &result, nil } @@ -130,3 +140,6 @@ func SerializeWindowsDefenderProductStatus(values []WindowsDefenderProductStatus } return result } +func (i WindowsDefenderProductStatus) isMultiValue() bool { + return true +} diff --git a/models/windows_defender_tamper_protection_options.go b/models/windows_defender_tamper_protection_options.go index fc4e499e67e..2719f131063 100644 --- a/models/windows_defender_tamper_protection_options.go +++ b/models/windows_defender_tamper_protection_options.go @@ -38,3 +38,6 @@ func SerializeWindowsDefenderTamperProtectionOptions(values []WindowsDefenderTam } return result } +func (i WindowsDefenderTamperProtectionOptions) isMultiValue() bool { + return false +} diff --git a/models/windows_delivery_optimization_mode.go b/models/windows_delivery_optimization_mode.go index 10273f14610..5f427a05a71 100644 --- a/models/windows_delivery_optimization_mode.go +++ b/models/windows_delivery_optimization_mode.go @@ -54,3 +54,6 @@ func SerializeWindowsDeliveryOptimizationMode(values []WindowsDeliveryOptimizati } return result } +func (i WindowsDeliveryOptimizationMode) isMultiValue() bool { + return false +} diff --git a/models/windows_device_health_state.go b/models/windows_device_health_state.go index 3a83a385765..f51e55d962f 100644 --- a/models/windows_device_health_state.go +++ b/models/windows_device_health_state.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Computer endpoint protection state type WindowsDeviceHealthState int @@ -21,25 +22,34 @@ const ( ) func (i WindowsDeviceHealthState) String() string { - return []string{"clean", "fullScanPending", "rebootPending", "manualStepsPending", "offlineScanPending", "critical"}[i] + var values []string + for p := WindowsDeviceHealthState(1); p <= CRITICAL_WINDOWSDEVICEHEALTHSTATE; p <<= 1 { + if i&p == p { + values = append(values, []string{"clean", "fullScanPending", "rebootPending", "manualStepsPending", "offlineScanPending", "critical"}[p]) + } + } + return strings.Join(values, ",") } func ParseWindowsDeviceHealthState(v string) (any, error) { - result := CLEAN_WINDOWSDEVICEHEALTHSTATE - switch v { - case "clean": - result = CLEAN_WINDOWSDEVICEHEALTHSTATE - case "fullScanPending": - result = FULLSCANPENDING_WINDOWSDEVICEHEALTHSTATE - case "rebootPending": - result = REBOOTPENDING_WINDOWSDEVICEHEALTHSTATE - case "manualStepsPending": - result = MANUALSTEPSPENDING_WINDOWSDEVICEHEALTHSTATE - case "offlineScanPending": - result = OFFLINESCANPENDING_WINDOWSDEVICEHEALTHSTATE - case "critical": - result = CRITICAL_WINDOWSDEVICEHEALTHSTATE - default: - return 0, errors.New("Unknown WindowsDeviceHealthState value: " + v) + var result WindowsDeviceHealthState + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "clean": + result |= CLEAN_WINDOWSDEVICEHEALTHSTATE + case "fullScanPending": + result |= FULLSCANPENDING_WINDOWSDEVICEHEALTHSTATE + case "rebootPending": + result |= REBOOTPENDING_WINDOWSDEVICEHEALTHSTATE + case "manualStepsPending": + result |= MANUALSTEPSPENDING_WINDOWSDEVICEHEALTHSTATE + case "offlineScanPending": + result |= OFFLINESCANPENDING_WINDOWSDEVICEHEALTHSTATE + case "critical": + result |= CRITICAL_WINDOWSDEVICEHEALTHSTATE + default: + return 0, errors.New("Unknown WindowsDeviceHealthState value: " + v) + } } return &result, nil } @@ -50,3 +60,6 @@ func SerializeWindowsDeviceHealthState(values []WindowsDeviceHealthState) []stri } return result } +func (i WindowsDeviceHealthState) isMultiValue() bool { + return true +} diff --git a/models/windows_device_type.go b/models/windows_device_type.go index be550feaeae..6656a9d1fa5 100644 --- a/models/windows_device_type.go +++ b/models/windows_device_type.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Contains properties for Windows device type. Multiple values can be selected. Default value is `none`. type WindowsDeviceType int @@ -21,25 +22,34 @@ const ( ) func (i WindowsDeviceType) String() string { - return []string{"none", "desktop", "mobile", "holographic", "team", "unknownFutureValue"}[i] + var values []string + for p := WindowsDeviceType(1); p <= UNKNOWNFUTUREVALUE_WINDOWSDEVICETYPE; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "desktop", "mobile", "holographic", "team", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseWindowsDeviceType(v string) (any, error) { - result := NONE_WINDOWSDEVICETYPE - switch v { - case "none": - result = NONE_WINDOWSDEVICETYPE - case "desktop": - result = DESKTOP_WINDOWSDEVICETYPE - case "mobile": - result = MOBILE_WINDOWSDEVICETYPE - case "holographic": - result = HOLOGRAPHIC_WINDOWSDEVICETYPE - case "team": - result = TEAM_WINDOWSDEVICETYPE - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_WINDOWSDEVICETYPE - default: - return 0, errors.New("Unknown WindowsDeviceType value: " + v) + var result WindowsDeviceType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_WINDOWSDEVICETYPE + case "desktop": + result |= DESKTOP_WINDOWSDEVICETYPE + case "mobile": + result |= MOBILE_WINDOWSDEVICETYPE + case "holographic": + result |= HOLOGRAPHIC_WINDOWSDEVICETYPE + case "team": + result |= TEAM_WINDOWSDEVICETYPE + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_WINDOWSDEVICETYPE + default: + return 0, errors.New("Unknown WindowsDeviceType value: " + v) + } } return &result, nil } @@ -50,3 +60,6 @@ func SerializeWindowsDeviceType(values []WindowsDeviceType) []string { } return result } +func (i WindowsDeviceType) isMultiValue() bool { + return true +} diff --git a/models/windows_device_usage_type.go b/models/windows_device_usage_type.go index 19339add6a8..ba64dc39676 100644 --- a/models/windows_device_usage_type.go +++ b/models/windows_device_usage_type.go @@ -34,3 +34,6 @@ func SerializeWindowsDeviceUsageType(values []WindowsDeviceUsageType) []string { } return result } +func (i WindowsDeviceUsageType) isMultiValue() bool { + return false +} diff --git a/models/windows_driver_update_profile_inventory_sync_state.go b/models/windows_driver_update_profile_inventory_sync_state.go index 7a27c8185df..c8cc10e3aa7 100644 --- a/models/windows_driver_update_profile_inventory_sync_state.go +++ b/models/windows_driver_update_profile_inventory_sync_state.go @@ -38,3 +38,6 @@ func SerializeWindowsDriverUpdateProfileInventorySyncState(values []WindowsDrive } return result } +func (i WindowsDriverUpdateProfileInventorySyncState) isMultiValue() bool { + return false +} diff --git a/models/windows_edge_kiosk_type.go b/models/windows_edge_kiosk_type.go index e2868528b7d..57f71f9c5be 100644 --- a/models/windows_edge_kiosk_type.go +++ b/models/windows_edge_kiosk_type.go @@ -34,3 +34,6 @@ func SerializeWindowsEdgeKioskType(values []WindowsEdgeKioskType) []string { } return result } +func (i WindowsEdgeKioskType) isMultiValue() bool { + return false +} diff --git a/models/windows_feature_update_profile.go b/models/windows_feature_update_profile.go index a95297e8244..5205eacf103 100644 --- a/models/windows_feature_update_profile.go +++ b/models/windows_feature_update_profile.go @@ -176,6 +176,16 @@ func (m *WindowsFeatureUpdateProfile) GetFieldDeserializers()(map[string]func(i8 } return nil } + res["installLatestWindows10OnWindows11IneligibleDevice"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetInstallLatestWindows10OnWindows11IneligibleDevice(val) + } + return nil + } res["lastModifiedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetTimeValue() if err != nil { @@ -214,6 +224,17 @@ func (m *WindowsFeatureUpdateProfile) GetFieldDeserializers()(map[string]func(i8 } return res } +// GetInstallLatestWindows10OnWindows11IneligibleDevice gets the installLatestWindows10OnWindows11IneligibleDevice property value. If true, the latest Microsoft Windows 10 update will be installed on devices ineligible for Microsoft Windows 11 +func (m *WindowsFeatureUpdateProfile) GetInstallLatestWindows10OnWindows11IneligibleDevice()(*bool) { + val, err := m.GetBackingStore().Get("installLatestWindows10OnWindows11IneligibleDevice") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date time that the profile was last modified. func (m *WindowsFeatureUpdateProfile) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastModifiedDateTime") @@ -301,6 +322,12 @@ func (m *WindowsFeatureUpdateProfile) Serialize(writer i878a80d2330e89d26896388a return err } } + { + err = writer.WriteBoolValue("installLatestWindows10OnWindows11IneligibleDevice", m.GetInstallLatestWindows10OnWindows11IneligibleDevice()) + if err != nil { + return err + } + } { err = writer.WriteTimeValue("lastModifiedDateTime", m.GetLastModifiedDateTime()) if err != nil { @@ -370,6 +397,13 @@ func (m *WindowsFeatureUpdateProfile) SetFeatureUpdateVersion(value *string)() { panic(err) } } +// SetInstallLatestWindows10OnWindows11IneligibleDevice sets the installLatestWindows10OnWindows11IneligibleDevice property value. If true, the latest Microsoft Windows 10 update will be installed on devices ineligible for Microsoft Windows 11 +func (m *WindowsFeatureUpdateProfile) SetInstallLatestWindows10OnWindows11IneligibleDevice(value *bool)() { + err := m.GetBackingStore().Set("installLatestWindows10OnWindows11IneligibleDevice", value) + if err != nil { + panic(err) + } +} // SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date time that the profile was last modified. func (m *WindowsFeatureUpdateProfile) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastModifiedDateTime", value) @@ -402,6 +436,7 @@ type WindowsFeatureUpdateProfileable interface { GetDisplayName()(*string) GetEndOfSupportDate()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetFeatureUpdateVersion()(*string) + GetInstallLatestWindows10OnWindows11IneligibleDevice()(*bool) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetRoleScopeTagIds()([]string) GetRolloutSettings()(WindowsUpdateRolloutSettingsable) @@ -412,6 +447,7 @@ type WindowsFeatureUpdateProfileable interface { SetDisplayName(value *string)() SetEndOfSupportDate(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetFeatureUpdateVersion(value *string)() + SetInstallLatestWindows10OnWindows11IneligibleDevice(value *bool)() SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetRoleScopeTagIds(value []string)() SetRolloutSettings(value WindowsUpdateRolloutSettingsable)() diff --git a/models/windows_firewall_rule_interface_types.go b/models/windows_firewall_rule_interface_types.go index 7b6ef781682..4b2d5044fd3 100644 --- a/models/windows_firewall_rule_interface_types.go +++ b/models/windows_firewall_rule_interface_types.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Flags representing firewall rule interface types. type WindowsFirewallRuleInterfaceTypes int @@ -17,21 +18,30 @@ const ( ) func (i WindowsFirewallRuleInterfaceTypes) String() string { - return []string{"notConfigured", "remoteAccess", "wireless", "lan"}[i] + var values []string + for p := WindowsFirewallRuleInterfaceTypes(1); p <= LAN_WINDOWSFIREWALLRULEINTERFACETYPES; p <<= 1 { + if i&p == p { + values = append(values, []string{"notConfigured", "remoteAccess", "wireless", "lan"}[p]) + } + } + return strings.Join(values, ",") } func ParseWindowsFirewallRuleInterfaceTypes(v string) (any, error) { - result := NOTCONFIGURED_WINDOWSFIREWALLRULEINTERFACETYPES - switch v { - case "notConfigured": - result = NOTCONFIGURED_WINDOWSFIREWALLRULEINTERFACETYPES - case "remoteAccess": - result = REMOTEACCESS_WINDOWSFIREWALLRULEINTERFACETYPES - case "wireless": - result = WIRELESS_WINDOWSFIREWALLRULEINTERFACETYPES - case "lan": - result = LAN_WINDOWSFIREWALLRULEINTERFACETYPES - default: - return 0, errors.New("Unknown WindowsFirewallRuleInterfaceTypes value: " + v) + var result WindowsFirewallRuleInterfaceTypes + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "notConfigured": + result |= NOTCONFIGURED_WINDOWSFIREWALLRULEINTERFACETYPES + case "remoteAccess": + result |= REMOTEACCESS_WINDOWSFIREWALLRULEINTERFACETYPES + case "wireless": + result |= WIRELESS_WINDOWSFIREWALLRULEINTERFACETYPES + case "lan": + result |= LAN_WINDOWSFIREWALLRULEINTERFACETYPES + default: + return 0, errors.New("Unknown WindowsFirewallRuleInterfaceTypes value: " + v) + } } return &result, nil } @@ -42,3 +52,6 @@ func SerializeWindowsFirewallRuleInterfaceTypes(values []WindowsFirewallRuleInte } return result } +func (i WindowsFirewallRuleInterfaceTypes) isMultiValue() bool { + return true +} diff --git a/models/windows_firewall_rule_network_profile_types.go b/models/windows_firewall_rule_network_profile_types.go index 61e64f9c318..486d2ad466d 100644 --- a/models/windows_firewall_rule_network_profile_types.go +++ b/models/windows_firewall_rule_network_profile_types.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Flags representing which network profile types apply to a firewall rule. type WindowsFirewallRuleNetworkProfileTypes int @@ -17,21 +18,30 @@ const ( ) func (i WindowsFirewallRuleNetworkProfileTypes) String() string { - return []string{"notConfigured", "domain", "private", "public"}[i] + var values []string + for p := WindowsFirewallRuleNetworkProfileTypes(1); p <= PUBLIC_WINDOWSFIREWALLRULENETWORKPROFILETYPES; p <<= 1 { + if i&p == p { + values = append(values, []string{"notConfigured", "domain", "private", "public"}[p]) + } + } + return strings.Join(values, ",") } func ParseWindowsFirewallRuleNetworkProfileTypes(v string) (any, error) { - result := NOTCONFIGURED_WINDOWSFIREWALLRULENETWORKPROFILETYPES - switch v { - case "notConfigured": - result = NOTCONFIGURED_WINDOWSFIREWALLRULENETWORKPROFILETYPES - case "domain": - result = DOMAIN_WINDOWSFIREWALLRULENETWORKPROFILETYPES - case "private": - result = PRIVATE_WINDOWSFIREWALLRULENETWORKPROFILETYPES - case "public": - result = PUBLIC_WINDOWSFIREWALLRULENETWORKPROFILETYPES - default: - return 0, errors.New("Unknown WindowsFirewallRuleNetworkProfileTypes value: " + v) + var result WindowsFirewallRuleNetworkProfileTypes + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "notConfigured": + result |= NOTCONFIGURED_WINDOWSFIREWALLRULENETWORKPROFILETYPES + case "domain": + result |= DOMAIN_WINDOWSFIREWALLRULENETWORKPROFILETYPES + case "private": + result |= PRIVATE_WINDOWSFIREWALLRULENETWORKPROFILETYPES + case "public": + result |= PUBLIC_WINDOWSFIREWALLRULENETWORKPROFILETYPES + default: + return 0, errors.New("Unknown WindowsFirewallRuleNetworkProfileTypes value: " + v) + } } return &result, nil } @@ -42,3 +52,6 @@ func SerializeWindowsFirewallRuleNetworkProfileTypes(values []WindowsFirewallRul } return result } +func (i WindowsFirewallRuleNetworkProfileTypes) isMultiValue() bool { + return true +} diff --git a/models/windows_firewall_rule_traffic_direction_type.go b/models/windows_firewall_rule_traffic_direction_type.go index 9539b6ed320..76de1ffd86d 100644 --- a/models/windows_firewall_rule_traffic_direction_type.go +++ b/models/windows_firewall_rule_traffic_direction_type.go @@ -38,3 +38,6 @@ func SerializeWindowsFirewallRuleTrafficDirectionType(values []WindowsFirewallRu } return result } +func (i WindowsFirewallRuleTrafficDirectionType) isMultiValue() bool { + return false +} diff --git a/models/windows_health_monitoring_scope.go b/models/windows_health_monitoring_scope.go index 4a7b2708e5f..489aa826639 100644 --- a/models/windows_health_monitoring_scope.go +++ b/models/windows_health_monitoring_scope.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Device health monitoring scope type WindowsHealthMonitoringScope int @@ -19,23 +20,32 @@ const ( ) func (i WindowsHealthMonitoringScope) String() string { - return []string{"undefined", "healthMonitoring", "bootPerformance", "windowsUpdates", "privilegeManagement"}[i] + var values []string + for p := WindowsHealthMonitoringScope(1); p <= PRIVILEGEMANAGEMENT_WINDOWSHEALTHMONITORINGSCOPE; p <<= 1 { + if i&p == p { + values = append(values, []string{"undefined", "healthMonitoring", "bootPerformance", "windowsUpdates", "privilegeManagement"}[p]) + } + } + return strings.Join(values, ",") } func ParseWindowsHealthMonitoringScope(v string) (any, error) { - result := UNDEFINED_WINDOWSHEALTHMONITORINGSCOPE - switch v { - case "undefined": - result = UNDEFINED_WINDOWSHEALTHMONITORINGSCOPE - case "healthMonitoring": - result = HEALTHMONITORING_WINDOWSHEALTHMONITORINGSCOPE - case "bootPerformance": - result = BOOTPERFORMANCE_WINDOWSHEALTHMONITORINGSCOPE - case "windowsUpdates": - result = WINDOWSUPDATES_WINDOWSHEALTHMONITORINGSCOPE - case "privilegeManagement": - result = PRIVILEGEMANAGEMENT_WINDOWSHEALTHMONITORINGSCOPE - default: - return 0, errors.New("Unknown WindowsHealthMonitoringScope value: " + v) + var result WindowsHealthMonitoringScope + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "undefined": + result |= UNDEFINED_WINDOWSHEALTHMONITORINGSCOPE + case "healthMonitoring": + result |= HEALTHMONITORING_WINDOWSHEALTHMONITORINGSCOPE + case "bootPerformance": + result |= BOOTPERFORMANCE_WINDOWSHEALTHMONITORINGSCOPE + case "windowsUpdates": + result |= WINDOWSUPDATES_WINDOWSHEALTHMONITORINGSCOPE + case "privilegeManagement": + result |= PRIVILEGEMANAGEMENT_WINDOWSHEALTHMONITORINGSCOPE + default: + return 0, errors.New("Unknown WindowsHealthMonitoringScope value: " + v) + } } return &result, nil } @@ -46,3 +56,6 @@ func SerializeWindowsHealthMonitoringScope(values []WindowsHealthMonitoringScope } return result } +func (i WindowsHealthMonitoringScope) isMultiValue() bool { + return true +} diff --git a/models/windows_hello_for_business_pin_usage.go b/models/windows_hello_for_business_pin_usage.go index a347f449e37..44462022847 100644 --- a/models/windows_hello_for_business_pin_usage.go +++ b/models/windows_hello_for_business_pin_usage.go @@ -38,3 +38,6 @@ func SerializeWindowsHelloForBusinessPinUsage(values []WindowsHelloForBusinessPi } return result } +func (i WindowsHelloForBusinessPinUsage) isMultiValue() bool { + return false +} diff --git a/models/windows_information_protection_enforcement_level.go b/models/windows_information_protection_enforcement_level.go index 2981a5d8fce..e9e44df0c96 100644 --- a/models/windows_information_protection_enforcement_level.go +++ b/models/windows_information_protection_enforcement_level.go @@ -42,3 +42,6 @@ func SerializeWindowsInformationProtectionEnforcementLevel(values []WindowsInfor } return result } +func (i WindowsInformationProtectionEnforcementLevel) isMultiValue() bool { + return false +} diff --git a/models/windows_information_protection_pin_character_requirements.go b/models/windows_information_protection_pin_character_requirements.go index d0724317097..e8c0023055b 100644 --- a/models/windows_information_protection_pin_character_requirements.go +++ b/models/windows_information_protection_pin_character_requirements.go @@ -38,3 +38,6 @@ func SerializeWindowsInformationProtectionPinCharacterRequirements(values []Wind } return result } +func (i WindowsInformationProtectionPinCharacterRequirements) isMultiValue() bool { + return false +} diff --git a/models/windows_kiosk_app_type.go b/models/windows_kiosk_app_type.go index 1b28e5a656e..525bb4bd675 100644 --- a/models/windows_kiosk_app_type.go +++ b/models/windows_kiosk_app_type.go @@ -42,3 +42,6 @@ func SerializeWindowsKioskAppType(values []WindowsKioskAppType) []string { } return result } +func (i WindowsKioskAppType) isMultiValue() bool { + return false +} diff --git a/models/windows_malware_category.go b/models/windows_malware_category.go index 3fb6ed20b20..d754ecad5a1 100644 --- a/models/windows_malware_category.go +++ b/models/windows_malware_category.go @@ -226,3 +226,6 @@ func SerializeWindowsMalwareCategory(values []WindowsMalwareCategory) []string { } return result } +func (i WindowsMalwareCategory) isMultiValue() bool { + return false +} diff --git a/models/windows_malware_execution_state.go b/models/windows_malware_execution_state.go index e7f33ee8cee..9d74a2def84 100644 --- a/models/windows_malware_execution_state.go +++ b/models/windows_malware_execution_state.go @@ -46,3 +46,6 @@ func SerializeWindowsMalwareExecutionState(values []WindowsMalwareExecutionState } return result } +func (i WindowsMalwareExecutionState) isMultiValue() bool { + return false +} diff --git a/models/windows_malware_severity.go b/models/windows_malware_severity.go index 402aa329bc7..5f27d867a34 100644 --- a/models/windows_malware_severity.go +++ b/models/windows_malware_severity.go @@ -46,3 +46,6 @@ func SerializeWindowsMalwareSeverity(values []WindowsMalwareSeverity) []string { } return result } +func (i WindowsMalwareSeverity) isMultiValue() bool { + return false +} diff --git a/models/windows_malware_state.go b/models/windows_malware_state.go index ac09f2c1122..728bdf07579 100644 --- a/models/windows_malware_state.go +++ b/models/windows_malware_state.go @@ -78,3 +78,6 @@ func SerializeWindowsMalwareState(values []WindowsMalwareState) []string { } return result } +func (i WindowsMalwareState) isMultiValue() bool { + return false +} diff --git a/models/windows_malware_threat_state.go b/models/windows_malware_threat_state.go index 42270323bbd..21ba5ab57bb 100644 --- a/models/windows_malware_threat_state.go +++ b/models/windows_malware_threat_state.go @@ -70,3 +70,6 @@ func SerializeWindowsMalwareThreatState(values []WindowsMalwareThreatState) []st } return result } +func (i WindowsMalwareThreatState) isMultiValue() bool { + return false +} diff --git a/models/windows_managed_app_clipboard_sharing_level.go b/models/windows_managed_app_clipboard_sharing_level.go index d9c1ad99b30..9f5e78db7f7 100644 --- a/models/windows_managed_app_clipboard_sharing_level.go +++ b/models/windows_managed_app_clipboard_sharing_level.go @@ -34,3 +34,6 @@ func SerializeWindowsManagedAppClipboardSharingLevel(values []WindowsManagedAppC } return result } +func (i WindowsManagedAppClipboardSharingLevel) isMultiValue() bool { + return false +} diff --git a/models/windows_managed_app_data_transfer_level.go b/models/windows_managed_app_data_transfer_level.go index 91717b59fc6..2656a6c94f4 100644 --- a/models/windows_managed_app_data_transfer_level.go +++ b/models/windows_managed_app_data_transfer_level.go @@ -34,3 +34,6 @@ func SerializeWindowsManagedAppDataTransferLevel(values []WindowsManagedAppDataT } return result } +func (i WindowsManagedAppDataTransferLevel) isMultiValue() bool { + return false +} diff --git a/models/windows_managed_app_registration.go b/models/windows_managed_app_registration.go new file mode 100644 index 00000000000..9b3f07c02f5 --- /dev/null +++ b/models/windows_managed_app_registration.go @@ -0,0 +1,41 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// WindowsManagedAppRegistration represents the synchronization details of a Windows app, with management capabilities, for a specific user. +type WindowsManagedAppRegistration struct { + ManagedAppRegistration +} +// NewWindowsManagedAppRegistration instantiates a new windowsManagedAppRegistration and sets the default values. +func NewWindowsManagedAppRegistration()(*WindowsManagedAppRegistration) { + m := &WindowsManagedAppRegistration{ + ManagedAppRegistration: *NewManagedAppRegistration(), + } + odataTypeValue := "#microsoft.graph.windowsManagedAppRegistration" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateWindowsManagedAppRegistrationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateWindowsManagedAppRegistrationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWindowsManagedAppRegistration(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *WindowsManagedAppRegistration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ManagedAppRegistration.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *WindowsManagedAppRegistration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ManagedAppRegistration.Serialize(writer) + if err != nil { + return err + } + return nil +} +// WindowsManagedAppRegistrationable +type WindowsManagedAppRegistrationable interface { + ManagedAppRegistrationable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/windows_mobile_m_s_i_collection_response.go b/models/windows_mobile_m_s_i_collection_response.go new file mode 100644 index 00000000000..3ab4d8b2b43 --- /dev/null +++ b/models/windows_mobile_m_s_i_collection_response.go @@ -0,0 +1,87 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// WindowsMobileMSICollectionResponse +type WindowsMobileMSICollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewWindowsMobileMSICollectionResponse instantiates a new windowsMobileMSICollectionResponse and sets the default values. +func NewWindowsMobileMSICollectionResponse()(*WindowsMobileMSICollectionResponse) { + m := &WindowsMobileMSICollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateWindowsMobileMSICollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateWindowsMobileMSICollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWindowsMobileMSICollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *WindowsMobileMSICollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWindowsMobileMSIFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]WindowsMobileMSIable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(WindowsMobileMSIable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *WindowsMobileMSICollectionResponse) GetValue()([]WindowsMobileMSIable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]WindowsMobileMSIable) + } + return nil +} +// Serialize serializes information the current object +func (m *WindowsMobileMSICollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *WindowsMobileMSICollectionResponse) SetValue(value []WindowsMobileMSIable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// WindowsMobileMSICollectionResponseable +type WindowsMobileMSICollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]WindowsMobileMSIable) + SetValue(value []WindowsMobileMSIable)() +} diff --git a/models/windows_privacy_data_access_level.go b/models/windows_privacy_data_access_level.go index d96b492ca17..ce7b99c06ca 100644 --- a/models/windows_privacy_data_access_level.go +++ b/models/windows_privacy_data_access_level.go @@ -42,3 +42,6 @@ func SerializeWindowsPrivacyDataAccessLevel(values []WindowsPrivacyDataAccessLev } return result } +func (i WindowsPrivacyDataAccessLevel) isMultiValue() bool { + return false +} diff --git a/models/windows_privacy_data_category.go b/models/windows_privacy_data_category.go index 23152f9c692..bd3c8dfc7dd 100644 --- a/models/windows_privacy_data_category.go +++ b/models/windows_privacy_data_category.go @@ -102,3 +102,6 @@ func SerializeWindowsPrivacyDataCategory(values []WindowsPrivacyDataCategory) [] } return result } +func (i WindowsPrivacyDataCategory) isMultiValue() bool { + return false +} diff --git a/models/windows_quality_update_classification.go b/models/windows_quality_update_classification.go index 6ced45293aa..8a75f90295b 100644 --- a/models/windows_quality_update_classification.go +++ b/models/windows_quality_update_classification.go @@ -38,3 +38,6 @@ func SerializeWindowsQualityUpdateClassification(values []WindowsQualityUpdateCl } return result } +func (i WindowsQualityUpdateClassification) isMultiValue() bool { + return false +} diff --git a/models/windows_s_mode_configuration.go b/models/windows_s_mode_configuration.go index fdb8b32dd86..3826e87365a 100644 --- a/models/windows_s_mode_configuration.go +++ b/models/windows_s_mode_configuration.go @@ -38,3 +38,6 @@ func SerializeWindowsSModeConfiguration(values []WindowsSModeConfiguration) []st } return result } +func (i WindowsSModeConfiguration) isMultiValue() bool { + return false +} diff --git a/models/windows_spotlight_enablement_settings.go b/models/windows_spotlight_enablement_settings.go index e15f8ec5620..6c851961422 100644 --- a/models/windows_spotlight_enablement_settings.go +++ b/models/windows_spotlight_enablement_settings.go @@ -38,3 +38,6 @@ func SerializeWindowsSpotlightEnablementSettings(values []WindowsSpotlightEnable } return result } +func (i WindowsSpotlightEnablementSettings) isMultiValue() bool { + return false +} diff --git a/models/windows_start_menu_app_list_visibility_type.go b/models/windows_start_menu_app_list_visibility_type.go index 22b4226454f..80f645b744d 100644 --- a/models/windows_start_menu_app_list_visibility_type.go +++ b/models/windows_start_menu_app_list_visibility_type.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Type of start menu app list visibility. type WindowsStartMenuAppListVisibilityType int @@ -17,21 +18,30 @@ const ( ) func (i WindowsStartMenuAppListVisibilityType) String() string { - return []string{"userDefined", "collapse", "remove", "disableSettingsApp"}[i] + var values []string + for p := WindowsStartMenuAppListVisibilityType(1); p <= DISABLESETTINGSAPP_WINDOWSSTARTMENUAPPLISTVISIBILITYTYPE; p <<= 1 { + if i&p == p { + values = append(values, []string{"userDefined", "collapse", "remove", "disableSettingsApp"}[p]) + } + } + return strings.Join(values, ",") } func ParseWindowsStartMenuAppListVisibilityType(v string) (any, error) { - result := USERDEFINED_WINDOWSSTARTMENUAPPLISTVISIBILITYTYPE - switch v { - case "userDefined": - result = USERDEFINED_WINDOWSSTARTMENUAPPLISTVISIBILITYTYPE - case "collapse": - result = COLLAPSE_WINDOWSSTARTMENUAPPLISTVISIBILITYTYPE - case "remove": - result = REMOVE_WINDOWSSTARTMENUAPPLISTVISIBILITYTYPE - case "disableSettingsApp": - result = DISABLESETTINGSAPP_WINDOWSSTARTMENUAPPLISTVISIBILITYTYPE - default: - return 0, errors.New("Unknown WindowsStartMenuAppListVisibilityType value: " + v) + var result WindowsStartMenuAppListVisibilityType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "userDefined": + result |= USERDEFINED_WINDOWSSTARTMENUAPPLISTVISIBILITYTYPE + case "collapse": + result |= COLLAPSE_WINDOWSSTARTMENUAPPLISTVISIBILITYTYPE + case "remove": + result |= REMOVE_WINDOWSSTARTMENUAPPLISTVISIBILITYTYPE + case "disableSettingsApp": + result |= DISABLESETTINGSAPP_WINDOWSSTARTMENUAPPLISTVISIBILITYTYPE + default: + return 0, errors.New("Unknown WindowsStartMenuAppListVisibilityType value: " + v) + } } return &result, nil } @@ -42,3 +52,6 @@ func SerializeWindowsStartMenuAppListVisibilityType(values []WindowsStartMenuApp } return result } +func (i WindowsStartMenuAppListVisibilityType) isMultiValue() bool { + return true +} diff --git a/models/windows_start_menu_mode_type.go b/models/windows_start_menu_mode_type.go index 903bb594030..f9eb9346f4e 100644 --- a/models/windows_start_menu_mode_type.go +++ b/models/windows_start_menu_mode_type.go @@ -38,3 +38,6 @@ func SerializeWindowsStartMenuModeType(values []WindowsStartMenuModeType) []stri } return result } +func (i WindowsStartMenuModeType) isMultiValue() bool { + return false +} diff --git a/models/windows_store_app_collection_response.go b/models/windows_store_app_collection_response.go new file mode 100644 index 00000000000..fc2ab658d5b --- /dev/null +++ b/models/windows_store_app_collection_response.go @@ -0,0 +1,87 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// WindowsStoreAppCollectionResponse +type WindowsStoreAppCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewWindowsStoreAppCollectionResponse instantiates a new windowsStoreAppCollectionResponse and sets the default values. +func NewWindowsStoreAppCollectionResponse()(*WindowsStoreAppCollectionResponse) { + m := &WindowsStoreAppCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateWindowsStoreAppCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateWindowsStoreAppCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWindowsStoreAppCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *WindowsStoreAppCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWindowsStoreAppFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]WindowsStoreAppable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(WindowsStoreAppable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *WindowsStoreAppCollectionResponse) GetValue()([]WindowsStoreAppable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]WindowsStoreAppable) + } + return nil +} +// Serialize serializes information the current object +func (m *WindowsStoreAppCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *WindowsStoreAppCollectionResponse) SetValue(value []WindowsStoreAppable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// WindowsStoreAppCollectionResponseable +type WindowsStoreAppCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]WindowsStoreAppable) + SetValue(value []WindowsStoreAppable)() +} diff --git a/models/windows_universal_app_x_collection_response.go b/models/windows_universal_app_x_collection_response.go new file mode 100644 index 00000000000..9883fdbc94b --- /dev/null +++ b/models/windows_universal_app_x_collection_response.go @@ -0,0 +1,87 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// WindowsUniversalAppXCollectionResponse +type WindowsUniversalAppXCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewWindowsUniversalAppXCollectionResponse instantiates a new windowsUniversalAppXCollectionResponse and sets the default values. +func NewWindowsUniversalAppXCollectionResponse()(*WindowsUniversalAppXCollectionResponse) { + m := &WindowsUniversalAppXCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateWindowsUniversalAppXCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateWindowsUniversalAppXCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWindowsUniversalAppXCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *WindowsUniversalAppXCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWindowsUniversalAppXFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]WindowsUniversalAppXable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(WindowsUniversalAppXable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *WindowsUniversalAppXCollectionResponse) GetValue()([]WindowsUniversalAppXable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]WindowsUniversalAppXable) + } + return nil +} +// Serialize serializes information the current object +func (m *WindowsUniversalAppXCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *WindowsUniversalAppXCollectionResponse) SetValue(value []WindowsUniversalAppXable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// WindowsUniversalAppXCollectionResponseable +type WindowsUniversalAppXCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]WindowsUniversalAppXable) + SetValue(value []WindowsUniversalAppXable)() +} diff --git a/models/windows_update_for_business_update_weeks.go b/models/windows_update_for_business_update_weeks.go index 538aa019999..ecb9f68937d 100644 --- a/models/windows_update_for_business_update_weeks.go +++ b/models/windows_update_for_business_update_weeks.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // Scheduled the update installation on the weeks of the month type WindowsUpdateForBusinessUpdateWeeks int @@ -23,27 +24,36 @@ const ( ) func (i WindowsUpdateForBusinessUpdateWeeks) String() string { - return []string{"userDefined", "firstWeek", "secondWeek", "thirdWeek", "fourthWeek", "everyWeek", "unknownFutureValue"}[i] + var values []string + for p := WindowsUpdateForBusinessUpdateWeeks(1); p <= UNKNOWNFUTUREVALUE_WINDOWSUPDATEFORBUSINESSUPDATEWEEKS; p <<= 1 { + if i&p == p { + values = append(values, []string{"userDefined", "firstWeek", "secondWeek", "thirdWeek", "fourthWeek", "everyWeek", "unknownFutureValue"}[p]) + } + } + return strings.Join(values, ",") } func ParseWindowsUpdateForBusinessUpdateWeeks(v string) (any, error) { - result := USERDEFINED_WINDOWSUPDATEFORBUSINESSUPDATEWEEKS - switch v { - case "userDefined": - result = USERDEFINED_WINDOWSUPDATEFORBUSINESSUPDATEWEEKS - case "firstWeek": - result = FIRSTWEEK_WINDOWSUPDATEFORBUSINESSUPDATEWEEKS - case "secondWeek": - result = SECONDWEEK_WINDOWSUPDATEFORBUSINESSUPDATEWEEKS - case "thirdWeek": - result = THIRDWEEK_WINDOWSUPDATEFORBUSINESSUPDATEWEEKS - case "fourthWeek": - result = FOURTHWEEK_WINDOWSUPDATEFORBUSINESSUPDATEWEEKS - case "everyWeek": - result = EVERYWEEK_WINDOWSUPDATEFORBUSINESSUPDATEWEEKS - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_WINDOWSUPDATEFORBUSINESSUPDATEWEEKS - default: - return 0, errors.New("Unknown WindowsUpdateForBusinessUpdateWeeks value: " + v) + var result WindowsUpdateForBusinessUpdateWeeks + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "userDefined": + result |= USERDEFINED_WINDOWSUPDATEFORBUSINESSUPDATEWEEKS + case "firstWeek": + result |= FIRSTWEEK_WINDOWSUPDATEFORBUSINESSUPDATEWEEKS + case "secondWeek": + result |= SECONDWEEK_WINDOWSUPDATEFORBUSINESSUPDATEWEEKS + case "thirdWeek": + result |= THIRDWEEK_WINDOWSUPDATEFORBUSINESSUPDATEWEEKS + case "fourthWeek": + result |= FOURTHWEEK_WINDOWSUPDATEFORBUSINESSUPDATEWEEKS + case "everyWeek": + result |= EVERYWEEK_WINDOWSUPDATEFORBUSINESSUPDATEWEEKS + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_WINDOWSUPDATEFORBUSINESSUPDATEWEEKS + default: + return 0, errors.New("Unknown WindowsUpdateForBusinessUpdateWeeks value: " + v) + } } return &result, nil } @@ -54,3 +64,6 @@ func SerializeWindowsUpdateForBusinessUpdateWeeks(values []WindowsUpdateForBusin } return result } +func (i WindowsUpdateForBusinessUpdateWeeks) isMultiValue() bool { + return true +} diff --git a/models/windows_update_notification_display_option.go b/models/windows_update_notification_display_option.go index d6465d297be..13733176694 100644 --- a/models/windows_update_notification_display_option.go +++ b/models/windows_update_notification_display_option.go @@ -46,3 +46,6 @@ func SerializeWindowsUpdateNotificationDisplayOption(values []WindowsUpdateNotif } return result } +func (i WindowsUpdateNotificationDisplayOption) isMultiValue() bool { + return false +} diff --git a/models/windows_update_status.go b/models/windows_update_status.go index 05fcb269585..a0e3db0d4c0 100644 --- a/models/windows_update_status.go +++ b/models/windows_update_status.go @@ -42,3 +42,6 @@ func SerializeWindowsUpdateStatus(values []WindowsUpdateStatus) []string { } return result } +func (i WindowsUpdateStatus) isMultiValue() bool { + return false +} diff --git a/models/windows_update_type.go b/models/windows_update_type.go index 3d99d950c40..b3dc79a3d87 100644 --- a/models/windows_update_type.go +++ b/models/windows_update_type.go @@ -50,3 +50,6 @@ func SerializeWindowsUpdateType(values []WindowsUpdateType) []string { } return result } +func (i WindowsUpdateType) isMultiValue() bool { + return false +} diff --git a/models/windows_user_account_control_settings.go b/models/windows_user_account_control_settings.go index e2612abffd0..1afb8e91dae 100644 --- a/models/windows_user_account_control_settings.go +++ b/models/windows_user_account_control_settings.go @@ -46,3 +46,6 @@ func SerializeWindowsUserAccountControlSettings(values []WindowsUserAccountContr } return result } +func (i WindowsUserAccountControlSettings) isMultiValue() bool { + return false +} diff --git a/models/windows_user_type.go b/models/windows_user_type.go index 9a8e2b8bd55..864d6abad5c 100644 --- a/models/windows_user_type.go +++ b/models/windows_user_type.go @@ -32,3 +32,6 @@ func SerializeWindowsUserType(values []WindowsUserType) []string { } return result } +func (i WindowsUserType) isMultiValue() bool { + return false +} diff --git a/models/windows_vpn_connection_type.go b/models/windows_vpn_connection_type.go index 367c473719a..e2c4a90f670 100644 --- a/models/windows_vpn_connection_type.go +++ b/models/windows_vpn_connection_type.go @@ -42,3 +42,6 @@ func SerializeWindowsVpnConnectionType(values []WindowsVpnConnectionType) []stri } return result } +func (i WindowsVpnConnectionType) isMultiValue() bool { + return false +} diff --git a/models/windows_web_app_collection_response.go b/models/windows_web_app_collection_response.go new file mode 100644 index 00000000000..994aac87cb1 --- /dev/null +++ b/models/windows_web_app_collection_response.go @@ -0,0 +1,87 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// WindowsWebAppCollectionResponse +type WindowsWebAppCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewWindowsWebAppCollectionResponse instantiates a new windowsWebAppCollectionResponse and sets the default values. +func NewWindowsWebAppCollectionResponse()(*WindowsWebAppCollectionResponse) { + m := &WindowsWebAppCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateWindowsWebAppCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateWindowsWebAppCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWindowsWebAppCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *WindowsWebAppCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWindowsWebAppFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]WindowsWebAppable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(WindowsWebAppable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *WindowsWebAppCollectionResponse) GetValue()([]WindowsWebAppable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]WindowsWebAppable) + } + return nil +} +// Serialize serializes information the current object +func (m *WindowsWebAppCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *WindowsWebAppCollectionResponse) SetValue(value []WindowsWebAppable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// WindowsWebAppCollectionResponseable +type WindowsWebAppCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]WindowsWebAppable) + SetValue(value []WindowsWebAppable)() +} diff --git a/models/windowsupdates/azure_a_d_device_registration_error_reason.go b/models/windowsupdates/azure_a_d_device_registration_error_reason.go index bfccf26f227..cad18869959 100644 --- a/models/windowsupdates/azure_a_d_device_registration_error_reason.go +++ b/models/windowsupdates/azure_a_d_device_registration_error_reason.go @@ -41,3 +41,6 @@ func SerializeAzureADDeviceRegistrationErrorReason(values []AzureADDeviceRegistr } return result } +func (i AzureADDeviceRegistrationErrorReason) isMultiValue() bool { + return false +} diff --git a/models/windowsupdates/build_version_details.go b/models/windowsupdates/build_version_details.go index b796d9ce310..ceb514042b6 100644 --- a/models/windowsupdates/build_version_details.go +++ b/models/windowsupdates/build_version_details.go @@ -38,7 +38,7 @@ func (m *BuildVersionDetails) GetAdditionalData()(map[string]any) { func (m *BuildVersionDetails) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetBuildNumber gets the buildNumber property value. The buildNumber property +// GetBuildNumber gets the buildNumber property value. The build number of the product release. Read-only. func (m *BuildVersionDetails) GetBuildNumber()(*int32) { val, err := m.GetBackingStore().Get("buildNumber") if err != nil { @@ -104,7 +104,7 @@ func (m *BuildVersionDetails) GetFieldDeserializers()(map[string]func(i878a80d23 } return res } -// GetMajorVersion gets the majorVersion property value. The majorVersion property +// GetMajorVersion gets the majorVersion property value. The major version of the product release. Read-only. func (m *BuildVersionDetails) GetMajorVersion()(*int32) { val, err := m.GetBackingStore().Get("majorVersion") if err != nil { @@ -115,7 +115,7 @@ func (m *BuildVersionDetails) GetMajorVersion()(*int32) { } return nil } -// GetMinorVersion gets the minorVersion property value. The minorVersion property +// GetMinorVersion gets the minorVersion property value. The minor version of the product release. Read-only. func (m *BuildVersionDetails) GetMinorVersion()(*int32) { val, err := m.GetBackingStore().Get("minorVersion") if err != nil { @@ -137,7 +137,7 @@ func (m *BuildVersionDetails) GetOdataType()(*string) { } return nil } -// GetUpdateBuildRevision gets the updateBuildRevision property value. The updateBuildRevision property +// GetUpdateBuildRevision gets the updateBuildRevision property value. The update build revision number of the product revision. Read-only. func (m *BuildVersionDetails) GetUpdateBuildRevision()(*int32) { val, err := m.GetBackingStore().Get("updateBuildRevision") if err != nil { @@ -199,21 +199,21 @@ func (m *BuildVersionDetails) SetAdditionalData(value map[string]any)() { func (m *BuildVersionDetails) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetBuildNumber sets the buildNumber property value. The buildNumber property +// SetBuildNumber sets the buildNumber property value. The build number of the product release. Read-only. func (m *BuildVersionDetails) SetBuildNumber(value *int32)() { err := m.GetBackingStore().Set("buildNumber", value) if err != nil { panic(err) } } -// SetMajorVersion sets the majorVersion property value. The majorVersion property +// SetMajorVersion sets the majorVersion property value. The major version of the product release. Read-only. func (m *BuildVersionDetails) SetMajorVersion(value *int32)() { err := m.GetBackingStore().Set("majorVersion", value) if err != nil { panic(err) } } -// SetMinorVersion sets the minorVersion property value. The minorVersion property +// SetMinorVersion sets the minorVersion property value. The minor version of the product release. Read-only. func (m *BuildVersionDetails) SetMinorVersion(value *int32)() { err := m.GetBackingStore().Set("minorVersion", value) if err != nil { @@ -227,7 +227,7 @@ func (m *BuildVersionDetails) SetOdataType(value *string)() { panic(err) } } -// SetUpdateBuildRevision sets the updateBuildRevision property value. The updateBuildRevision property +// SetUpdateBuildRevision sets the updateBuildRevision property value. The update build revision number of the product revision. Read-only. func (m *BuildVersionDetails) SetUpdateBuildRevision(value *int32)() { err := m.GetBackingStore().Set("updateBuildRevision", value) if err != nil { diff --git a/models/windowsupdates/cve_information.go b/models/windowsupdates/cve_information.go index c1dee28b5ff..c0ffc49f134 100644 --- a/models/windowsupdates/cve_information.go +++ b/models/windowsupdates/cve_information.go @@ -73,7 +73,7 @@ func (m *CveInformation) GetFieldDeserializers()(map[string]func(i878a80d2330e89 } return res } -// GetNumber gets the number property value. The number property +// GetNumber gets the number property value. Identifies the number of the CVE. Read-only. func (m *CveInformation) GetNumber()(*string) { val, err := m.GetBackingStore().Get("number") if err != nil { @@ -95,7 +95,7 @@ func (m *CveInformation) GetOdataType()(*string) { } return nil } -// GetUrl gets the url property value. The url property +// GetUrl gets the url property value. URL to the full CVE information. Read-only. func (m *CveInformation) GetUrl()(*string) { val, err := m.GetBackingStore().Get("url") if err != nil { @@ -145,7 +145,7 @@ func (m *CveInformation) SetAdditionalData(value map[string]any)() { func (m *CveInformation) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetNumber sets the number property value. The number property +// SetNumber sets the number property value. Identifies the number of the CVE. Read-only. func (m *CveInformation) SetNumber(value *string)() { err := m.GetBackingStore().Set("number", value) if err != nil { @@ -159,7 +159,7 @@ func (m *CveInformation) SetOdataType(value *string)() { panic(err) } } -// SetUrl sets the url property value. The url property +// SetUrl sets the url property value. URL to the full CVE information. Read-only. func (m *CveInformation) SetUrl(value *string)() { err := m.GetBackingStore().Set("url", value) if err != nil { diff --git a/models/windowsupdates/cve_severity_level.go b/models/windowsupdates/cve_severity_level.go index edcd8a284a3..f0d98f3ec41 100644 --- a/models/windowsupdates/cve_severity_level.go +++ b/models/windowsupdates/cve_severity_level.go @@ -38,3 +38,6 @@ func SerializeCveSeverityLevel(values []CveSeverityLevel) []string { } return result } +func (i CveSeverityLevel) isMultiValue() bool { + return false +} diff --git a/models/windowsupdates/date_driven_rollout_settings.go b/models/windowsupdates/date_driven_rollout_settings.go index b373c20fa10..6ecad939c9b 100644 --- a/models/windowsupdates/date_driven_rollout_settings.go +++ b/models/windowsupdates/date_driven_rollout_settings.go @@ -22,7 +22,7 @@ func NewDateDrivenRolloutSettings()(*DateDrivenRolloutSettings) { func CreateDateDrivenRolloutSettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewDateDrivenRolloutSettings(), nil } -// GetEndDateTime gets the endDateTime property value. Specifies the date before which all devices currently in the deployment are offered the update. Devices added after this date are offered immediately. When the endDateTime is not set, all devices in the deployment are offered content at the same time. +// GetEndDateTime gets the endDateTime property value. Specifies the date before which all devices currently in the deployment are offered the update. Devices added after this date are offered immediately. When the endDateTime isn't set, all devices in the deployment are offered content at the same time. func (m *DateDrivenRolloutSettings) GetEndDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("endDateTime") if err != nil { @@ -62,7 +62,7 @@ func (m *DateDrivenRolloutSettings) Serialize(writer i878a80d2330e89d26896388a3f } return nil } -// SetEndDateTime sets the endDateTime property value. Specifies the date before which all devices currently in the deployment are offered the update. Devices added after this date are offered immediately. When the endDateTime is not set, all devices in the deployment are offered content at the same time. +// SetEndDateTime sets the endDateTime property value. Specifies the date before which all devices currently in the deployment are offered the update. Devices added after this date are offered immediately. When the endDateTime isn't set, all devices in the deployment are offered content at the same time. func (m *DateDrivenRolloutSettings) SetEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("endDateTime", value) if err != nil { diff --git a/models/windowsupdates/deployment_state_reason_value.go b/models/windowsupdates/deployment_state_reason_value.go index b12a16d1f4b..59d16e4c24d 100644 --- a/models/windowsupdates/deployment_state_reason_value.go +++ b/models/windowsupdates/deployment_state_reason_value.go @@ -44,3 +44,6 @@ func SerializeDeploymentStateReasonValue(values []DeploymentStateReasonValue) [] } return result } +func (i DeploymentStateReasonValue) isMultiValue() bool { + return false +} diff --git a/models/windowsupdates/deployment_state_value.go b/models/windowsupdates/deployment_state_value.go index f5e684f6646..4ccc11c60c6 100644 --- a/models/windowsupdates/deployment_state_value.go +++ b/models/windowsupdates/deployment_state_value.go @@ -44,3 +44,6 @@ func SerializeDeploymentStateValue(values []DeploymentStateValue) []string { } return result } +func (i DeploymentStateValue) isMultiValue() bool { + return false +} diff --git a/models/windowsupdates/feature_update_catalog_entry.go b/models/windowsupdates/feature_update_catalog_entry.go index 9fb73646f4e..a0b5dd2d07b 100644 --- a/models/windowsupdates/feature_update_catalog_entry.go +++ b/models/windowsupdates/feature_update_catalog_entry.go @@ -21,7 +21,7 @@ func NewFeatureUpdateCatalogEntry()(*FeatureUpdateCatalogEntry) { func CreateFeatureUpdateCatalogEntryFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewFeatureUpdateCatalogEntry(), nil } -// GetBuildNumber gets the buildNumber property value. The buildNumber property +// GetBuildNumber gets the buildNumber property value. The build number of the feature update. Read-only. func (m *FeatureUpdateCatalogEntry) GetBuildNumber()(*string) { val, err := m.GetBackingStore().Get("buildNumber") if err != nil { @@ -88,7 +88,7 @@ func (m *FeatureUpdateCatalogEntry) Serialize(writer i878a80d2330e89d26896388a3f } return nil } -// SetBuildNumber sets the buildNumber property value. The buildNumber property +// SetBuildNumber sets the buildNumber property value. The build number of the feature update. Read-only. func (m *FeatureUpdateCatalogEntry) SetBuildNumber(value *string)() { err := m.GetBackingStore().Set("buildNumber", value) if err != nil { diff --git a/models/windowsupdates/gradual_rollout_settings.go b/models/windowsupdates/gradual_rollout_settings.go index 67105330550..c5cdc4eb4a7 100644 --- a/models/windowsupdates/gradual_rollout_settings.go +++ b/models/windowsupdates/gradual_rollout_settings.go @@ -60,7 +60,7 @@ func (m *GradualRolloutSettings) GetAdditionalData()(map[string]any) { func (m *GradualRolloutSettings) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDurationBetweenOffers gets the durationBetweenOffers property value. The duration between each set of devices being offered the update. The value is represented in ISO 8601 format for duration. Default value is P1D (1 day). +// GetDurationBetweenOffers gets the durationBetweenOffers property value. The duration between each set of devices being offered the update. The value is represented in ISO 8601 format for duration. Default value is P1D (one day). func (m *GradualRolloutSettings) GetDurationBetweenOffers()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) { val, err := m.GetBackingStore().Get("durationBetweenOffers") if err != nil { @@ -140,7 +140,7 @@ func (m *GradualRolloutSettings) SetAdditionalData(value map[string]any)() { func (m *GradualRolloutSettings) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDurationBetweenOffers sets the durationBetweenOffers property value. The duration between each set of devices being offered the update. The value is represented in ISO 8601 format for duration. Default value is P1D (1 day). +// SetDurationBetweenOffers sets the durationBetweenOffers property value. The duration between each set of devices being offered the update. The value is represented in ISO 8601 format for duration. Default value is P1D (one day). func (m *GradualRolloutSettings) SetDurationBetweenOffers(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() { err := m.GetBackingStore().Set("durationBetweenOffers", value) if err != nil { diff --git a/models/windowsupdates/knowledge_base_article.go b/models/windowsupdates/knowledge_base_article.go index c965198cdde..9fd539da387 100644 --- a/models/windowsupdates/knowledge_base_article.go +++ b/models/windowsupdates/knowledge_base_article.go @@ -35,7 +35,7 @@ func (m *KnowledgeBaseArticle) GetFieldDeserializers()(map[string]func(i878a80d2 } return res } -// GetUrl gets the url property value. The url property +// GetUrl gets the url property value. The URL of the knowledge base article. Read-only. func (m *KnowledgeBaseArticle) GetUrl()(*string) { val, err := m.GetBackingStore().Get("url") if err != nil { @@ -60,7 +60,7 @@ func (m *KnowledgeBaseArticle) Serialize(writer i878a80d2330e89d26896388a3f487ee } return nil } -// SetUrl sets the url property value. The url property +// SetUrl sets the url property value. The URL of the knowledge base article. Read-only. func (m *KnowledgeBaseArticle) SetUrl(value *string)() { err := m.GetBackingStore().Set("url", value) if err != nil { diff --git a/models/windowsupdates/monitoring_action.go b/models/windowsupdates/monitoring_action.go index b41c56ea1bb..296096b8c32 100644 --- a/models/windowsupdates/monitoring_action.go +++ b/models/windowsupdates/monitoring_action.go @@ -38,3 +38,6 @@ func SerializeMonitoringAction(values []MonitoringAction) []string { } return result } +func (i MonitoringAction) isMultiValue() bool { + return false +} diff --git a/models/windowsupdates/monitoring_rule.go b/models/windowsupdates/monitoring_rule.go index 73fa6bf0df7..ae0a798fd4f 100644 --- a/models/windowsupdates/monitoring_rule.go +++ b/models/windowsupdates/monitoring_rule.go @@ -22,7 +22,7 @@ func NewMonitoringRule()(*MonitoringRule) { func CreateMonitoringRuleFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewMonitoringRule(), nil } -// GetAction gets the action property value. The action triggered when the threshold for the given signal is met. Possible values are: alertError, pauseDeployment, unknownFutureValue. +// GetAction gets the action property value. The action triggered when the threshold for the given signal is reached. Possible values are: alertError, pauseDeployment, offerFallback, unknownFutureValue. The offerFallback member is only supported on feature update deployments of Windows 11 and must be paired with the ineligible signal. The fallback version offered is the version 22H2 of Windows 10. func (m *MonitoringRule) GetAction()(*MonitoringAction) { val, err := m.GetBackingStore().Get("action") if err != nil { @@ -105,7 +105,7 @@ func (m *MonitoringRule) GetOdataType()(*string) { } return nil } -// GetSignal gets the signal property value. The signal to monitor. Possible values are: rollback, unknownFutureValue. +// GetSignal gets the signal property value. The signal to monitor. Possible values are: rollback, ineligible, unknownFutureValue. The ineligible member is only supported on feature update deployments of Windows 11 and must be paired with the offerFallback action. func (m *MonitoringRule) GetSignal()(*MonitoringSignal) { val, err := m.GetBackingStore().Get("signal") if err != nil { @@ -116,7 +116,7 @@ func (m *MonitoringRule) GetSignal()(*MonitoringSignal) { } return nil } -// GetThreshold gets the threshold property value. The threshold for a signal at which to trigger action. An integer from 1 to 100 (inclusive). +// GetThreshold gets the threshold property value. The threshold for a signal at which to trigger the action. An integer from 1 to 100 (inclusive). This value is ignored when the signal is ineligible and the action is offerFallback. func (m *MonitoringRule) GetThreshold()(*int32) { val, err := m.GetBackingStore().Get("threshold") if err != nil { @@ -163,7 +163,7 @@ func (m *MonitoringRule) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a } return nil } -// SetAction sets the action property value. The action triggered when the threshold for the given signal is met. Possible values are: alertError, pauseDeployment, unknownFutureValue. +// SetAction sets the action property value. The action triggered when the threshold for the given signal is reached. Possible values are: alertError, pauseDeployment, offerFallback, unknownFutureValue. The offerFallback member is only supported on feature update deployments of Windows 11 and must be paired with the ineligible signal. The fallback version offered is the version 22H2 of Windows 10. func (m *MonitoringRule) SetAction(value *MonitoringAction)() { err := m.GetBackingStore().Set("action", value) if err != nil { @@ -188,14 +188,14 @@ func (m *MonitoringRule) SetOdataType(value *string)() { panic(err) } } -// SetSignal sets the signal property value. The signal to monitor. Possible values are: rollback, unknownFutureValue. +// SetSignal sets the signal property value. The signal to monitor. Possible values are: rollback, ineligible, unknownFutureValue. The ineligible member is only supported on feature update deployments of Windows 11 and must be paired with the offerFallback action. func (m *MonitoringRule) SetSignal(value *MonitoringSignal)() { err := m.GetBackingStore().Set("signal", value) if err != nil { panic(err) } } -// SetThreshold sets the threshold property value. The threshold for a signal at which to trigger action. An integer from 1 to 100 (inclusive). +// SetThreshold sets the threshold property value. The threshold for a signal at which to trigger the action. An integer from 1 to 100 (inclusive). This value is ignored when the signal is ineligible and the action is offerFallback. func (m *MonitoringRule) SetThreshold(value *int32)() { err := m.GetBackingStore().Set("threshold", value) if err != nil { diff --git a/models/windowsupdates/monitoring_signal.go b/models/windowsupdates/monitoring_signal.go index 76104b8f30e..3477fafb7aa 100644 --- a/models/windowsupdates/monitoring_signal.go +++ b/models/windowsupdates/monitoring_signal.go @@ -35,3 +35,6 @@ func SerializeMonitoringSignal(values []MonitoringSignal) []string { } return result } +func (i MonitoringSignal) isMultiValue() bool { + return false +} diff --git a/models/windowsupdates/product_revision.go b/models/windowsupdates/product_revision.go index e62985f8a4a..3aa570f9a59 100644 --- a/models/windowsupdates/product_revision.go +++ b/models/windowsupdates/product_revision.go @@ -21,7 +21,7 @@ func NewProductRevision()(*ProductRevision) { func CreateProductRevisionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewProductRevision(), nil } -// GetDisplayName gets the displayName property value. The displayName property +// GetDisplayName gets the displayName property value. The display name of the content. Read-only. func (m *ProductRevision) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") if err != nil { @@ -97,7 +97,7 @@ func (m *ProductRevision) GetFieldDeserializers()(map[string]func(i878a80d2330e8 } return res } -// GetKnowledgeBaseArticle gets the knowledgeBaseArticle property value. The knowledgeBaseArticle property +// GetKnowledgeBaseArticle gets the knowledgeBaseArticle property value. The knowledge base article associated with the product revision. func (m *ProductRevision) GetKnowledgeBaseArticle()(KnowledgeBaseArticleable) { val, err := m.GetBackingStore().Get("knowledgeBaseArticle") if err != nil { @@ -119,7 +119,7 @@ func (m *ProductRevision) GetOsBuild()(BuildVersionDetailsable) { } return nil } -// GetProduct gets the product property value. The product property +// GetProduct gets the product property value. The product of the revision. Possible values are: Windows 10, Windows 11. Read-only. func (m *ProductRevision) GetProduct()(*string) { val, err := m.GetBackingStore().Get("product") if err != nil { @@ -130,7 +130,7 @@ func (m *ProductRevision) GetProduct()(*string) { } return nil } -// GetReleaseDateTime gets the releaseDateTime property value. The releaseDateTime property +// GetReleaseDateTime gets the releaseDateTime property value. The release date for the content. 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. Read-only. func (m *ProductRevision) GetReleaseDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("releaseDateTime") if err != nil { @@ -141,7 +141,7 @@ func (m *ProductRevision) GetReleaseDateTime()(*i336074805fc853987abe6f7fe3ad97a } return nil } -// GetVersion gets the version property value. The version property +// GetVersion gets the version property value. The version of the feature update. Read-only. func (m *ProductRevision) GetVersion()(*string) { val, err := m.GetBackingStore().Get("version") if err != nil { @@ -196,14 +196,14 @@ func (m *ProductRevision) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0 } return nil } -// SetDisplayName sets the displayName property value. The displayName property +// SetDisplayName sets the displayName property value. The display name of the content. Read-only. func (m *ProductRevision) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetKnowledgeBaseArticle sets the knowledgeBaseArticle property value. The knowledgeBaseArticle property +// SetKnowledgeBaseArticle sets the knowledgeBaseArticle property value. The knowledge base article associated with the product revision. func (m *ProductRevision) SetKnowledgeBaseArticle(value KnowledgeBaseArticleable)() { err := m.GetBackingStore().Set("knowledgeBaseArticle", value) if err != nil { @@ -217,21 +217,21 @@ func (m *ProductRevision) SetOsBuild(value BuildVersionDetailsable)() { panic(err) } } -// SetProduct sets the product property value. The product property +// SetProduct sets the product property value. The product of the revision. Possible values are: Windows 10, Windows 11. Read-only. func (m *ProductRevision) SetProduct(value *string)() { err := m.GetBackingStore().Set("product", value) if err != nil { panic(err) } } -// SetReleaseDateTime sets the releaseDateTime property value. The releaseDateTime property +// SetReleaseDateTime sets the releaseDateTime property value. The release date for the content. 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. Read-only. func (m *ProductRevision) SetReleaseDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("releaseDateTime", value) if err != nil { panic(err) } } -// SetVersion sets the version property value. The version property +// SetVersion sets the version property value. The version of the feature update. Read-only. func (m *ProductRevision) SetVersion(value *string)() { err := m.GetBackingStore().Set("version", value) if err != nil { diff --git a/models/windowsupdates/quality_update_cadence.go b/models/windowsupdates/quality_update_cadence.go index 6fc31586224..5a0398852ee 100644 --- a/models/windowsupdates/quality_update_cadence.go +++ b/models/windowsupdates/quality_update_cadence.go @@ -35,3 +35,6 @@ func SerializeQualityUpdateCadence(values []QualityUpdateCadence) []string { } return result } +func (i QualityUpdateCadence) isMultiValue() bool { + return false +} diff --git a/models/windowsupdates/quality_update_catalog_entry.go b/models/windowsupdates/quality_update_catalog_entry.go index 0c575f68727..02995798006 100644 --- a/models/windowsupdates/quality_update_catalog_entry.go +++ b/models/windowsupdates/quality_update_catalog_entry.go @@ -21,7 +21,7 @@ func NewQualityUpdateCatalogEntry()(*QualityUpdateCatalogEntry) { func CreateQualityUpdateCatalogEntryFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewQualityUpdateCatalogEntry(), nil } -// GetCatalogName gets the catalogName property value. The catalogName property +// GetCatalogName gets the catalogName property value. The catalog name of the content. Read-only. func (m *QualityUpdateCatalogEntry) GetCatalogName()(*string) { val, err := m.GetBackingStore().Get("catalogName") if err != nil { @@ -32,7 +32,7 @@ func (m *QualityUpdateCatalogEntry) GetCatalogName()(*string) { } return nil } -// GetCveSeverityInformation gets the cveSeverityInformation property value. The cveSeverityInformation property +// GetCveSeverityInformation gets the cveSeverityInformation property value. Severity information of the Common Vulnerabilities and Exposures associated with the content. func (m *QualityUpdateCatalogEntry) GetCveSeverityInformation()(QualityUpdateCveSeverityInformationable) { val, err := m.GetBackingStore().Get("cveSeverityInformation") if err != nil { @@ -135,7 +135,7 @@ func (m *QualityUpdateCatalogEntry) GetIsExpeditable()(*bool) { } return nil } -// GetProductRevisions gets the productRevisions property value. The productRevisions property +// GetProductRevisions gets the productRevisions property value. The operating system product revisions that are released as part of this quality update. func (m *QualityUpdateCatalogEntry) GetProductRevisions()([]ProductRevisionable) { val, err := m.GetBackingStore().Get("productRevisions") if err != nil { @@ -146,7 +146,7 @@ func (m *QualityUpdateCatalogEntry) GetProductRevisions()([]ProductRevisionable) } return nil } -// GetQualityUpdateCadence gets the qualityUpdateCadence property value. The qualityUpdateCadence property +// GetQualityUpdateCadence gets the qualityUpdateCadence property value. The publishing cadence of the quality update. Possible values are: monthly, outOfBand, unknownFutureValue. Read-only. func (m *QualityUpdateCatalogEntry) GetQualityUpdateCadence()(*QualityUpdateCadence) { val, err := m.GetBackingStore().Get("qualityUpdateCadence") if err != nil { @@ -168,7 +168,7 @@ func (m *QualityUpdateCatalogEntry) GetQualityUpdateClassification()(*QualityUpd } return nil } -// GetShortName gets the shortName property value. The shortName property +// GetShortName gets the shortName property value. The short name of the content. Read-only. func (m *QualityUpdateCatalogEntry) GetShortName()(*string) { val, err := m.GetBackingStore().Get("shortName") if err != nil { @@ -237,14 +237,14 @@ func (m *QualityUpdateCatalogEntry) Serialize(writer i878a80d2330e89d26896388a3f } return nil } -// SetCatalogName sets the catalogName property value. The catalogName property +// SetCatalogName sets the catalogName property value. The catalog name of the content. Read-only. func (m *QualityUpdateCatalogEntry) SetCatalogName(value *string)() { err := m.GetBackingStore().Set("catalogName", value) if err != nil { panic(err) } } -// SetCveSeverityInformation sets the cveSeverityInformation property value. The cveSeverityInformation property +// SetCveSeverityInformation sets the cveSeverityInformation property value. Severity information of the Common Vulnerabilities and Exposures associated with the content. func (m *QualityUpdateCatalogEntry) SetCveSeverityInformation(value QualityUpdateCveSeverityInformationable)() { err := m.GetBackingStore().Set("cveSeverityInformation", value) if err != nil { @@ -258,14 +258,14 @@ func (m *QualityUpdateCatalogEntry) SetIsExpeditable(value *bool)() { panic(err) } } -// SetProductRevisions sets the productRevisions property value. The productRevisions property +// SetProductRevisions sets the productRevisions property value. The operating system product revisions that are released as part of this quality update. func (m *QualityUpdateCatalogEntry) SetProductRevisions(value []ProductRevisionable)() { err := m.GetBackingStore().Set("productRevisions", value) if err != nil { panic(err) } } -// SetQualityUpdateCadence sets the qualityUpdateCadence property value. The qualityUpdateCadence property +// SetQualityUpdateCadence sets the qualityUpdateCadence property value. The publishing cadence of the quality update. Possible values are: monthly, outOfBand, unknownFutureValue. Read-only. func (m *QualityUpdateCatalogEntry) SetQualityUpdateCadence(value *QualityUpdateCadence)() { err := m.GetBackingStore().Set("qualityUpdateCadence", value) if err != nil { @@ -279,7 +279,7 @@ func (m *QualityUpdateCatalogEntry) SetQualityUpdateClassification(value *Qualit panic(err) } } -// SetShortName sets the shortName property value. The shortName property +// SetShortName sets the shortName property value. The short name of the content. Read-only. func (m *QualityUpdateCatalogEntry) SetShortName(value *string)() { err := m.GetBackingStore().Set("shortName", value) if err != nil { diff --git a/models/windowsupdates/quality_update_classification.go b/models/windowsupdates/quality_update_classification.go index ccf9b43cb0c..d85bcdc7ce4 100644 --- a/models/windowsupdates/quality_update_classification.go +++ b/models/windowsupdates/quality_update_classification.go @@ -38,3 +38,6 @@ func SerializeQualityUpdateClassification(values []QualityUpdateClassification) } return result } +func (i QualityUpdateClassification) isMultiValue() bool { + return false +} diff --git a/models/windowsupdates/quality_update_cve_severity_information.go b/models/windowsupdates/quality_update_cve_severity_information.go index 5a72684f1df..1ea140b6d2b 100644 --- a/models/windowsupdates/quality_update_cve_severity_information.go +++ b/models/windowsupdates/quality_update_cve_severity_information.go @@ -100,7 +100,7 @@ func (m *QualityUpdateCveSeverityInformation) GetFieldDeserializers()(map[string } return res } -// GetMaxBaseScore gets the maxBaseScore property value. The maxBaseScore property +// GetMaxBaseScore gets the maxBaseScore property value. Highest base score that occurs of any CVE addressed by the quality update. Read-only. func (m *QualityUpdateCveSeverityInformation) GetMaxBaseScore()(*float64) { val, err := m.GetBackingStore().Get("maxBaseScore") if err != nil { @@ -192,7 +192,7 @@ func (m *QualityUpdateCveSeverityInformation) SetExploitedCves(value []CveInform panic(err) } } -// SetMaxBaseScore sets the maxBaseScore property value. The maxBaseScore property +// SetMaxBaseScore sets the maxBaseScore property value. Highest base score that occurs of any CVE addressed by the quality update. Read-only. func (m *QualityUpdateCveSeverityInformation) SetMaxBaseScore(value *float64)() { err := m.GetBackingStore().Set("maxBaseScore", value) if err != nil { diff --git a/models/windowsupdates/requested_deployment_state_value.go b/models/windowsupdates/requested_deployment_state_value.go index 65a750988f5..b2d36189916 100644 --- a/models/windowsupdates/requested_deployment_state_value.go +++ b/models/windowsupdates/requested_deployment_state_value.go @@ -38,3 +38,6 @@ func SerializeRequestedDeploymentStateValue(values []RequestedDeploymentStateVal } return result } +func (i RequestedDeploymentStateValue) isMultiValue() bool { + return false +} diff --git a/models/windowsupdates/resource_connection_state.go b/models/windowsupdates/resource_connection_state.go index 53bdd3382c2..ad8f3441036 100644 --- a/models/windowsupdates/resource_connection_state.go +++ b/models/windowsupdates/resource_connection_state.go @@ -38,3 +38,6 @@ func SerializeResourceConnectionState(values []ResourceConnectionState) []string } return result } +func (i ResourceConnectionState) isMultiValue() bool { + return false +} diff --git a/models/windowsupdates/safeguard_category.go b/models/windowsupdates/safeguard_category.go index b5421823ecf..3d184040cc5 100644 --- a/models/windowsupdates/safeguard_category.go +++ b/models/windowsupdates/safeguard_category.go @@ -32,3 +32,6 @@ func SerializeSafeguardCategory(values []SafeguardCategory) []string { } return result } +func (i SafeguardCategory) isMultiValue() bool { + return false +} diff --git a/models/windowsupdates/update_category.go b/models/windowsupdates/update_category.go index 67708a9c3f0..6a4ad61d3eb 100644 --- a/models/windowsupdates/update_category.go +++ b/models/windowsupdates/update_category.go @@ -38,3 +38,6 @@ func SerializeUpdateCategory(values []UpdateCategory) []string { } return result } +func (i UpdateCategory) isMultiValue() bool { + return false +} diff --git a/models/wired_network_authentication_method.go b/models/wired_network_authentication_method.go index a724957ae24..175d266ae3f 100644 --- a/models/wired_network_authentication_method.go +++ b/models/wired_network_authentication_method.go @@ -42,3 +42,6 @@ func SerializeWiredNetworkAuthenticationMethod(values []WiredNetworkAuthenticati } return result } +func (i WiredNetworkAuthenticationMethod) isMultiValue() bool { + return false +} diff --git a/models/wired_network_authentication_type.go b/models/wired_network_authentication_type.go index 2de143c7ef7..2ced68e9cc9 100644 --- a/models/wired_network_authentication_type.go +++ b/models/wired_network_authentication_type.go @@ -50,3 +50,6 @@ func SerializeWiredNetworkAuthenticationType(values []WiredNetworkAuthentication } return result } +func (i WiredNetworkAuthenticationType) isMultiValue() bool { + return false +} diff --git a/models/wired_network_interface.go b/models/wired_network_interface.go index 229f8a23d9a..001838a8e06 100644 --- a/models/wired_network_interface.go +++ b/models/wired_network_interface.go @@ -54,3 +54,6 @@ func SerializeWiredNetworkInterface(values []WiredNetworkInterface) []string { } return result } +func (i WiredNetworkInterface) isMultiValue() bool { + return false +} diff --git a/models/workbook_comment.go b/models/workbook_comment.go index 8a58c4fa6c6..59214718a78 100644 --- a/models/workbook_comment.go +++ b/models/workbook_comment.go @@ -103,7 +103,7 @@ func (m *WorkbookComment) GetReplies()([]WorkbookCommentReplyable) { } return nil } -// GetTask gets the task property value. The task property +// GetTask gets the task property value. The task associated with the comment. Read-only. Nullable. func (m *WorkbookComment) GetTask()(WorkbookDocumentTaskable) { val, err := m.GetBackingStore().Get("task") if err != nil { @@ -173,7 +173,7 @@ func (m *WorkbookComment) SetReplies(value []WorkbookCommentReplyable)() { panic(err) } } -// SetTask sets the task property value. The task property +// SetTask sets the task property value. The task associated with the comment. Read-only. Nullable. func (m *WorkbookComment) SetTask(value WorkbookDocumentTaskable)() { err := m.GetBackingStore().Set("task", value) if err != nil { diff --git a/models/workbook_comment_reply.go b/models/workbook_comment_reply.go index 6e719f21519..10b32e07f61 100644 --- a/models/workbook_comment_reply.go +++ b/models/workbook_comment_reply.go @@ -76,7 +76,7 @@ func (m *WorkbookCommentReply) GetFieldDeserializers()(map[string]func(i878a80d2 } return res } -// GetTask gets the task property value. The task property +// GetTask gets the task property value. The task associated with the comment thread. func (m *WorkbookCommentReply) GetTask()(WorkbookDocumentTaskable) { val, err := m.GetBackingStore().Get("task") if err != nil { @@ -127,7 +127,7 @@ func (m *WorkbookCommentReply) SetContentType(value *string)() { panic(err) } } -// SetTask sets the task property value. The task property +// SetTask sets the task property value. The task associated with the comment thread. func (m *WorkbookCommentReply) SetTask(value WorkbookDocumentTaskable)() { err := m.GetBackingStore().Set("task", value) if err != nil { diff --git a/models/workbook_document_task.go b/models/workbook_document_task.go index ec3cb77c27f..31a25d94bd1 100644 --- a/models/workbook_document_task.go +++ b/models/workbook_document_task.go @@ -20,7 +20,7 @@ func NewWorkbookDocumentTask()(*WorkbookDocumentTask) { func CreateWorkbookDocumentTaskFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewWorkbookDocumentTask(), nil } -// GetAssignees gets the assignees property value. The assignees property +// GetAssignees gets the assignees property value. A collection of user identities the task is assigned to. func (m *WorkbookDocumentTask) GetAssignees()([]WorkbookEmailIdentityable) { val, err := m.GetBackingStore().Get("assignees") if err != nil { @@ -31,7 +31,7 @@ func (m *WorkbookDocumentTask) GetAssignees()([]WorkbookEmailIdentityable) { } return nil } -// GetChanges gets the changes property value. The changes property +// GetChanges gets the changes property value. A collection of task change histories. func (m *WorkbookDocumentTask) GetChanges()([]WorkbookDocumentTaskChangeable) { val, err := m.GetBackingStore().Get("changes") if err != nil { @@ -42,7 +42,7 @@ func (m *WorkbookDocumentTask) GetChanges()([]WorkbookDocumentTaskChangeable) { } return nil } -// GetComment gets the comment property value. The comment property +// GetComment gets the comment property value. The comment that the task is associated with. func (m *WorkbookDocumentTask) GetComment()(WorkbookCommentable) { val, err := m.GetBackingStore().Get("comment") if err != nil { @@ -53,7 +53,7 @@ func (m *WorkbookDocumentTask) GetComment()(WorkbookCommentable) { } return nil } -// GetCompletedBy gets the completedBy property value. The completedBy property +// GetCompletedBy gets the completedBy property value. The identity of the user who completed the task. Nullable. func (m *WorkbookDocumentTask) GetCompletedBy()(WorkbookEmailIdentityable) { val, err := m.GetBackingStore().Get("completedBy") if err != nil { @@ -64,7 +64,7 @@ func (m *WorkbookDocumentTask) GetCompletedBy()(WorkbookEmailIdentityable) { } return nil } -// GetCompletedDateTime gets the completedDateTime property value. The completedDateTime property +// GetCompletedDateTime gets the completedDateTime property value. Date and time when the task was completed. Nullable. 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. func (m *WorkbookDocumentTask) GetCompletedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("completedDateTime") if err != nil { @@ -75,7 +75,7 @@ func (m *WorkbookDocumentTask) GetCompletedDateTime()(*i336074805fc853987abe6f7f } return nil } -// GetCreatedBy gets the createdBy property value. The createdBy property +// GetCreatedBy gets the createdBy property value. A user identity that creates the task. Nullable. func (m *WorkbookDocumentTask) GetCreatedBy()(WorkbookEmailIdentityable) { val, err := m.GetBackingStore().Get("createdBy") if err != nil { @@ -86,7 +86,7 @@ func (m *WorkbookDocumentTask) GetCreatedBy()(WorkbookEmailIdentityable) { } return nil } -// GetCreatedDateTime gets the createdDateTime property value. The createdDateTime property +// GetCreatedDateTime gets the createdDateTime property value. Date and time when the task was created. Nullable. 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. func (m *WorkbookDocumentTask) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") if err != nil { @@ -224,7 +224,7 @@ func (m *WorkbookDocumentTask) GetFieldDeserializers()(map[string]func(i878a80d2 } return res } -// GetPercentComplete gets the percentComplete property value. The percentComplete property +// GetPercentComplete gets the percentComplete property value. An integer value from 0 to 100 that represents the percentage of the completion of the task. 100 means that the task is completed. Nullable. func (m *WorkbookDocumentTask) GetPercentComplete()(*int32) { val, err := m.GetBackingStore().Get("percentComplete") if err != nil { @@ -235,7 +235,7 @@ func (m *WorkbookDocumentTask) GetPercentComplete()(*int32) { } return nil } -// GetPriority gets the priority property value. The priority property +// GetPriority gets the priority property value. An integer value from 0 to 10 that represents the priority of the task. A lower value indicates a higher priority. Nullable. func (m *WorkbookDocumentTask) GetPriority()(*int32) { val, err := m.GetBackingStore().Get("priority") if err != nil { @@ -246,7 +246,7 @@ func (m *WorkbookDocumentTask) GetPriority()(*int32) { } return nil } -// GetStartAndDueDateTime gets the startAndDueDateTime property value. The startAndDueDateTime property +// GetStartAndDueDateTime gets the startAndDueDateTime property value. Start and due date of the task. Nullable. func (m *WorkbookDocumentTask) GetStartAndDueDateTime()(WorkbookDocumentTaskScheduleable) { val, err := m.GetBackingStore().Get("startAndDueDateTime") if err != nil { @@ -257,7 +257,7 @@ func (m *WorkbookDocumentTask) GetStartAndDueDateTime()(WorkbookDocumentTaskSche } return nil } -// GetTitle gets the title property value. The title property +// GetTitle gets the title property value. The title of the task. func (m *WorkbookDocumentTask) GetTitle()(*string) { val, err := m.GetBackingStore().Get("title") if err != nil { @@ -354,77 +354,77 @@ func (m *WorkbookDocumentTask) Serialize(writer i878a80d2330e89d26896388a3f487ee } return nil } -// SetAssignees sets the assignees property value. The assignees property +// SetAssignees sets the assignees property value. A collection of user identities the task is assigned to. func (m *WorkbookDocumentTask) SetAssignees(value []WorkbookEmailIdentityable)() { err := m.GetBackingStore().Set("assignees", value) if err != nil { panic(err) } } -// SetChanges sets the changes property value. The changes property +// SetChanges sets the changes property value. A collection of task change histories. func (m *WorkbookDocumentTask) SetChanges(value []WorkbookDocumentTaskChangeable)() { err := m.GetBackingStore().Set("changes", value) if err != nil { panic(err) } } -// SetComment sets the comment property value. The comment property +// SetComment sets the comment property value. The comment that the task is associated with. func (m *WorkbookDocumentTask) SetComment(value WorkbookCommentable)() { err := m.GetBackingStore().Set("comment", value) if err != nil { panic(err) } } -// SetCompletedBy sets the completedBy property value. The completedBy property +// SetCompletedBy sets the completedBy property value. The identity of the user who completed the task. Nullable. func (m *WorkbookDocumentTask) SetCompletedBy(value WorkbookEmailIdentityable)() { err := m.GetBackingStore().Set("completedBy", value) if err != nil { panic(err) } } -// SetCompletedDateTime sets the completedDateTime property value. The completedDateTime property +// SetCompletedDateTime sets the completedDateTime property value. Date and time when the task was completed. Nullable. 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. func (m *WorkbookDocumentTask) SetCompletedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("completedDateTime", value) if err != nil { panic(err) } } -// SetCreatedBy sets the createdBy property value. The createdBy property +// SetCreatedBy sets the createdBy property value. A user identity that creates the task. Nullable. func (m *WorkbookDocumentTask) SetCreatedBy(value WorkbookEmailIdentityable)() { err := m.GetBackingStore().Set("createdBy", value) if err != nil { panic(err) } } -// SetCreatedDateTime sets the createdDateTime property value. The createdDateTime property +// SetCreatedDateTime sets the createdDateTime property value. Date and time when the task was created. Nullable. 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. func (m *WorkbookDocumentTask) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { panic(err) } } -// SetPercentComplete sets the percentComplete property value. The percentComplete property +// SetPercentComplete sets the percentComplete property value. An integer value from 0 to 100 that represents the percentage of the completion of the task. 100 means that the task is completed. Nullable. func (m *WorkbookDocumentTask) SetPercentComplete(value *int32)() { err := m.GetBackingStore().Set("percentComplete", value) if err != nil { panic(err) } } -// SetPriority sets the priority property value. The priority property +// SetPriority sets the priority property value. An integer value from 0 to 10 that represents the priority of the task. A lower value indicates a higher priority. Nullable. func (m *WorkbookDocumentTask) SetPriority(value *int32)() { err := m.GetBackingStore().Set("priority", value) if err != nil { panic(err) } } -// SetStartAndDueDateTime sets the startAndDueDateTime property value. The startAndDueDateTime property +// SetStartAndDueDateTime sets the startAndDueDateTime property value. Start and due date of the task. Nullable. func (m *WorkbookDocumentTask) SetStartAndDueDateTime(value WorkbookDocumentTaskScheduleable)() { err := m.GetBackingStore().Set("startAndDueDateTime", value) if err != nil { panic(err) } } -// SetTitle sets the title property value. The title property +// SetTitle sets the title property value. The title of the task. func (m *WorkbookDocumentTask) SetTitle(value *string)() { err := m.GetBackingStore().Set("title", value) if err != nil { diff --git a/models/workbook_document_task_change.go b/models/workbook_document_task_change.go index 952a5d889ee..1a9e504caa9 100644 --- a/models/workbook_document_task_change.go +++ b/models/workbook_document_task_change.go @@ -20,7 +20,7 @@ func NewWorkbookDocumentTaskChange()(*WorkbookDocumentTaskChange) { func CreateWorkbookDocumentTaskChangeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewWorkbookDocumentTaskChange(), nil } -// GetAssignee gets the assignee property value. The assignee property +// GetAssignee gets the assignee property value. The user identity the task is assigned to. Only present when the type property is assign. Nullable. func (m *WorkbookDocumentTaskChange) GetAssignee()(WorkbookEmailIdentityable) { val, err := m.GetBackingStore().Get("assignee") if err != nil { @@ -42,7 +42,7 @@ func (m *WorkbookDocumentTaskChange) GetChangedBy()(WorkbookEmailIdentityable) { } return nil } -// GetCommentId gets the commentId property value. The commentId property +// GetCommentId gets the commentId property value. The identifier of the associated comment. func (m *WorkbookDocumentTaskChange) GetCommentId()(*string) { val, err := m.GetBackingStore().Get("commentId") if err != nil { @@ -53,7 +53,7 @@ func (m *WorkbookDocumentTaskChange) GetCommentId()(*string) { } return nil } -// GetCreatedDateTime gets the createdDateTime property value. The createdDateTime property +// GetCreatedDateTime gets the createdDateTime property value. Date and time when the task was changed. Nullable. 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. func (m *WorkbookDocumentTaskChange) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") if err != nil { @@ -64,7 +64,7 @@ func (m *WorkbookDocumentTaskChange) GetCreatedDateTime()(*i336074805fc853987abe } return nil } -// GetDueDateTime gets the dueDateTime property value. The dueDateTime property +// GetDueDateTime gets the dueDateTime property value. The due date and time for the task. Only present when the type property is setSchedule. Nullable. 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. func (m *WorkbookDocumentTaskChange) GetDueDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("dueDateTime") if err != nil { @@ -190,7 +190,7 @@ func (m *WorkbookDocumentTaskChange) GetFieldDeserializers()(map[string]func(i87 } return res } -// GetPercentComplete gets the percentComplete property value. The percentComplete property +// GetPercentComplete gets the percentComplete property value. An integer value from 0 to 100 that represents the percentage of the completion of the task and associated comment. 100 means that the task and associated comment are completed. If you change the completion from 100 to a lower value, the associated task and comment are reactivated. Only present when the type property is setPercentComplete. Nullable. func (m *WorkbookDocumentTaskChange) GetPercentComplete()(*int32) { val, err := m.GetBackingStore().Get("percentComplete") if err != nil { @@ -201,7 +201,7 @@ func (m *WorkbookDocumentTaskChange) GetPercentComplete()(*int32) { } return nil } -// GetPriority gets the priority property value. The priority property +// GetPriority gets the priority property value. An integer value from 0 to 10 that represents the priority of the task. A lower value indicates a higher priority. 5 indicates the default priority if not set. Only present when the type property is setPriority. Nullable. func (m *WorkbookDocumentTaskChange) GetPriority()(*int32) { val, err := m.GetBackingStore().Get("priority") if err != nil { @@ -212,7 +212,7 @@ func (m *WorkbookDocumentTaskChange) GetPriority()(*int32) { } return nil } -// GetStartDateTime gets the startDateTime property value. The startDateTime property +// GetStartDateTime gets the startDateTime property value. The start date and time for the task. Only present when the type property is setSchedule. Nullable. 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. func (m *WorkbookDocumentTaskChange) GetStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("startDateTime") if err != nil { @@ -223,7 +223,7 @@ func (m *WorkbookDocumentTaskChange) GetStartDateTime()(*i336074805fc853987abe6f } return nil } -// GetTitle gets the title property value. The title property +// GetTitle gets the title property value. The title of the task. Only present when the type property is setTitle. Nullable. func (m *WorkbookDocumentTaskChange) GetTitle()(*string) { val, err := m.GetBackingStore().Get("title") if err != nil { @@ -234,7 +234,7 @@ func (m *WorkbookDocumentTaskChange) GetTitle()(*string) { } return nil } -// GetTypeEscaped gets the type property value. The type property +// GetTypeEscaped gets the type property value. The type of the change history. Possible values are: create, assign, unassign, unassignAll, setPriority, setTitle, setPercentComplete, setSchedule, remove, restore, undo. func (m *WorkbookDocumentTaskChange) GetTypeEscaped()(*string) { val, err := m.GetBackingStore().Get("typeEscaped") if err != nil { @@ -245,7 +245,7 @@ func (m *WorkbookDocumentTaskChange) GetTypeEscaped()(*string) { } return nil } -// GetUndoChangeId gets the undoChangeId property value. The undoChangeId property +// GetUndoChangeId gets the undoChangeId property value. The ID of the workbookDocumentTaskChange that was undone for the undo change action. Only exists on an undo change history. Nullable. func (m *WorkbookDocumentTaskChange) GetUndoChangeId()(*string) { val, err := m.GetBackingStore().Get("undoChangeId") if err != nil { @@ -330,7 +330,7 @@ func (m *WorkbookDocumentTaskChange) Serialize(writer i878a80d2330e89d26896388a3 } return nil } -// SetAssignee sets the assignee property value. The assignee property +// SetAssignee sets the assignee property value. The user identity the task is assigned to. Only present when the type property is assign. Nullable. func (m *WorkbookDocumentTaskChange) SetAssignee(value WorkbookEmailIdentityable)() { err := m.GetBackingStore().Set("assignee", value) if err != nil { @@ -344,63 +344,63 @@ func (m *WorkbookDocumentTaskChange) SetChangedBy(value WorkbookEmailIdentityabl panic(err) } } -// SetCommentId sets the commentId property value. The commentId property +// SetCommentId sets the commentId property value. The identifier of the associated comment. func (m *WorkbookDocumentTaskChange) SetCommentId(value *string)() { err := m.GetBackingStore().Set("commentId", value) if err != nil { panic(err) } } -// SetCreatedDateTime sets the createdDateTime property value. The createdDateTime property +// SetCreatedDateTime sets the createdDateTime property value. Date and time when the task was changed. Nullable. 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. func (m *WorkbookDocumentTaskChange) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { panic(err) } } -// SetDueDateTime sets the dueDateTime property value. The dueDateTime property +// SetDueDateTime sets the dueDateTime property value. The due date and time for the task. Only present when the type property is setSchedule. Nullable. 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. func (m *WorkbookDocumentTaskChange) SetDueDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("dueDateTime", value) if err != nil { panic(err) } } -// SetPercentComplete sets the percentComplete property value. The percentComplete property +// SetPercentComplete sets the percentComplete property value. An integer value from 0 to 100 that represents the percentage of the completion of the task and associated comment. 100 means that the task and associated comment are completed. If you change the completion from 100 to a lower value, the associated task and comment are reactivated. Only present when the type property is setPercentComplete. Nullable. func (m *WorkbookDocumentTaskChange) SetPercentComplete(value *int32)() { err := m.GetBackingStore().Set("percentComplete", value) if err != nil { panic(err) } } -// SetPriority sets the priority property value. The priority property +// SetPriority sets the priority property value. An integer value from 0 to 10 that represents the priority of the task. A lower value indicates a higher priority. 5 indicates the default priority if not set. Only present when the type property is setPriority. Nullable. func (m *WorkbookDocumentTaskChange) SetPriority(value *int32)() { err := m.GetBackingStore().Set("priority", value) if err != nil { panic(err) } } -// SetStartDateTime sets the startDateTime property value. The startDateTime property +// SetStartDateTime sets the startDateTime property value. The start date and time for the task. Only present when the type property is setSchedule. Nullable. 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. func (m *WorkbookDocumentTaskChange) SetStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("startDateTime", value) if err != nil { panic(err) } } -// SetTitle sets the title property value. The title property +// SetTitle sets the title property value. The title of the task. Only present when the type property is setTitle. Nullable. func (m *WorkbookDocumentTaskChange) SetTitle(value *string)() { err := m.GetBackingStore().Set("title", value) if err != nil { panic(err) } } -// SetTypeEscaped sets the type property value. The type property +// SetTypeEscaped sets the type property value. The type of the change history. Possible values are: create, assign, unassign, unassignAll, setPriority, setTitle, setPercentComplete, setSchedule, remove, restore, undo. func (m *WorkbookDocumentTaskChange) SetTypeEscaped(value *string)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { panic(err) } } -// SetUndoChangeId sets the undoChangeId property value. The undoChangeId property +// SetUndoChangeId sets the undoChangeId property value. The ID of the workbookDocumentTaskChange that was undone for the undo change action. Only exists on an undo change history. Nullable. func (m *WorkbookDocumentTaskChange) SetUndoChangeId(value *string)() { err := m.GetBackingStore().Set("undoChangeId", value) if err != nil { diff --git a/models/workbook_document_task_schedule.go b/models/workbook_document_task_schedule.go index fb838e9434d..7b57d3390c7 100644 --- a/models/workbook_document_task_schedule.go +++ b/models/workbook_document_task_schedule.go @@ -39,7 +39,7 @@ func (m *WorkbookDocumentTaskSchedule) GetAdditionalData()(map[string]any) { func (m *WorkbookDocumentTaskSchedule) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDueDateTime gets the dueDateTime property value. The dueDateTime property +// GetDueDateTime gets the dueDateTime property value. The due date and time for the task. Nullable. 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. func (m *WorkbookDocumentTaskSchedule) GetDueDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("dueDateTime") if err != nil { @@ -96,7 +96,7 @@ func (m *WorkbookDocumentTaskSchedule) GetOdataType()(*string) { } return nil } -// GetStartDateTime gets the startDateTime property value. The startDateTime property +// GetStartDateTime gets the startDateTime property value. The start date and time for the task. Nullable. 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. func (m *WorkbookDocumentTaskSchedule) GetStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("startDateTime") if err != nil { @@ -146,7 +146,7 @@ func (m *WorkbookDocumentTaskSchedule) SetAdditionalData(value map[string]any)() func (m *WorkbookDocumentTaskSchedule) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDueDateTime sets the dueDateTime property value. The dueDateTime property +// SetDueDateTime sets the dueDateTime property value. The due date and time for the task. Nullable. 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. func (m *WorkbookDocumentTaskSchedule) SetDueDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("dueDateTime", value) if err != nil { @@ -160,7 +160,7 @@ func (m *WorkbookDocumentTaskSchedule) SetOdataType(value *string)() { panic(err) } } -// SetStartDateTime sets the startDateTime property value. The startDateTime property +// SetStartDateTime sets the startDateTime property value. The start date and time for the task. Nullable. 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. func (m *WorkbookDocumentTaskSchedule) SetStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("startDateTime", value) if err != nil { diff --git a/models/workbook_email_identity.go b/models/workbook_email_identity.go index cd12aa9d1f7..851a68aef64 100644 --- a/models/workbook_email_identity.go +++ b/models/workbook_email_identity.go @@ -38,7 +38,7 @@ func (m *WorkbookEmailIdentity) GetAdditionalData()(map[string]any) { func (m *WorkbookEmailIdentity) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDisplayName gets the displayName property value. The displayName property +// GetDisplayName gets the displayName property value. Display name of the user. func (m *WorkbookEmailIdentity) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") if err != nil { @@ -49,7 +49,7 @@ func (m *WorkbookEmailIdentity) GetDisplayName()(*string) { } return nil } -// GetEmail gets the email property value. The email property +// GetEmail gets the email property value. Email address of the user. func (m *WorkbookEmailIdentity) GetEmail()(*string) { val, err := m.GetBackingStore().Get("email") if err != nil { @@ -105,7 +105,7 @@ func (m *WorkbookEmailIdentity) GetFieldDeserializers()(map[string]func(i878a80d } return res } -// GetId gets the id property value. The id property +// GetId gets the id property value. The unique identifier of the user. func (m *WorkbookEmailIdentity) GetId()(*string) { val, err := m.GetBackingStore().Get("id") if err != nil { @@ -172,21 +172,21 @@ func (m *WorkbookEmailIdentity) SetAdditionalData(value map[string]any)() { func (m *WorkbookEmailIdentity) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDisplayName sets the displayName property value. The displayName property +// SetDisplayName sets the displayName property value. Display name of the user. func (m *WorkbookEmailIdentity) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetEmail sets the email property value. The email property +// SetEmail sets the email property value. Email address of the user. func (m *WorkbookEmailIdentity) SetEmail(value *string)() { err := m.GetBackingStore().Set("email", value) if err != nil { panic(err) } } -// SetId sets the id property value. The id property +// SetId sets the id property value. The unique identifier of the user. func (m *WorkbookEmailIdentity) SetId(value *string)() { err := m.GetBackingStore().Set("id", value) if err != nil { diff --git a/models/workbook_operation_status.go b/models/workbook_operation_status.go index 942824c743e..3f3fbe9b61d 100644 --- a/models/workbook_operation_status.go +++ b/models/workbook_operation_status.go @@ -38,3 +38,6 @@ func SerializeWorkbookOperationStatus(values []WorkbookOperationStatus) []string } return result } +func (i WorkbookOperationStatus) isMultiValue() bool { + return false +} diff --git a/models/workbook_range.go b/models/workbook_range.go index b7e53ae57ea..b5a67b97758 100644 --- a/models/workbook_range.go +++ b/models/workbook_range.go @@ -19,7 +19,7 @@ func NewWorkbookRange()(*WorkbookRange) { func CreateWorkbookRangeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewWorkbookRange(), nil } -// GetAddress gets the address property value. Represents the range reference in A1-style. Address value will contain the Sheet reference (e.g. Sheet1!A1:B4). Read-only. +// GetAddress gets the address property value. Represents the range reference in A1-style. Address value contains the Sheet reference (for example, Sheet1!A1:B4). Read-only. func (m *WorkbookRange) GetAddress()(*string) { val, err := m.GetBackingStore().Get("address") if err != nil { @@ -400,7 +400,7 @@ func (m *WorkbookRange) GetSort()(WorkbookRangeSortable) { } return nil } -// GetText gets the text property value. Text values of the specified range. The Text value will not depend on the cell width. The # sign substitution that happens in Excel UI will not affect the text value returned by the API. Read-only. +// GetText gets the text property value. Text values of the specified range. The Text value won't depend on the cell width. The # sign substitution that happens in Excel UI won't affect the text value returned by the API. Read-only. func (m *WorkbookRange) GetText()(Jsonable) { val, err := m.GetBackingStore().Get("text") if err != nil { @@ -411,7 +411,7 @@ func (m *WorkbookRange) GetText()(Jsonable) { } return nil } -// GetValues gets the values property value. Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. +// GetValues gets the values property value. Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contains an error returns the error string. func (m *WorkbookRange) GetValues()(Jsonable) { val, err := m.GetBackingStore().Get("values") if err != nil { @@ -572,7 +572,7 @@ func (m *WorkbookRange) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0 } return nil } -// SetAddress sets the address property value. Represents the range reference in A1-style. Address value will contain the Sheet reference (e.g. Sheet1!A1:B4). Read-only. +// SetAddress sets the address property value. Represents the range reference in A1-style. Address value contains the Sheet reference (for example, Sheet1!A1:B4). Read-only. func (m *WorkbookRange) SetAddress(value *string)() { err := m.GetBackingStore().Set("address", value) if err != nil { @@ -684,14 +684,14 @@ func (m *WorkbookRange) SetSort(value WorkbookRangeSortable)() { panic(err) } } -// SetText sets the text property value. Text values of the specified range. The Text value will not depend on the cell width. The # sign substitution that happens in Excel UI will not affect the text value returned by the API. Read-only. +// SetText sets the text property value. Text values of the specified range. The Text value won't depend on the cell width. The # sign substitution that happens in Excel UI won't affect the text value returned by the API. Read-only. func (m *WorkbookRange) SetText(value Jsonable)() { err := m.GetBackingStore().Set("text", value) if err != nil { panic(err) } } -// SetValues sets the values property value. Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contain an error will return the error string. +// SetValues sets the values property value. Represents the raw values of the specified range. The data returned could be of type string, number, or a boolean. Cell that contains an error returns the error string. func (m *WorkbookRange) SetValues(value Jsonable)() { err := m.GetBackingStore().Set("values", value) if err != nil { diff --git a/models/workbook_range_border.go b/models/workbook_range_border.go index 2a708479066..71f20b209bd 100644 --- a/models/workbook_range_border.go +++ b/models/workbook_range_border.go @@ -19,7 +19,7 @@ func NewWorkbookRangeBorder()(*WorkbookRangeBorder) { func CreateWorkbookRangeBorderFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewWorkbookRangeBorder(), nil } -// GetColor gets the color property value. HTML color code representing the color of the border line, of the form #RRGGBB (e.g. 'FFA500') or as a named HTML color (e.g. 'orange'). +// GetColor gets the color property value. HTML color code representing the color of the border line, of the form #RRGGBB (for example 'FFA500') or as a named HTML color (for example 'orange'). func (m *WorkbookRangeBorder) GetColor()(*string) { val, err := m.GetBackingStore().Get("color") if err != nil { @@ -140,7 +140,7 @@ func (m *WorkbookRangeBorder) Serialize(writer i878a80d2330e89d26896388a3f487eef } return nil } -// SetColor sets the color property value. HTML color code representing the color of the border line, of the form #RRGGBB (e.g. 'FFA500') or as a named HTML color (e.g. 'orange'). +// SetColor sets the color property value. HTML color code representing the color of the border line, of the form #RRGGBB (for example 'FFA500') or as a named HTML color (for example 'orange'). func (m *WorkbookRangeBorder) SetColor(value *string)() { err := m.GetBackingStore().Set("color", value) if err != nil { diff --git a/models/workbook_session_info.go b/models/workbook_session_info.go index 61aac4b484e..a1fd0c886c3 100644 --- a/models/workbook_session_info.go +++ b/models/workbook_session_info.go @@ -73,7 +73,7 @@ func (m *WorkbookSessionInfo) GetFieldDeserializers()(map[string]func(i878a80d23 } return res } -// GetId gets the id property value. Id of the workbook session. +// GetId gets the id property value. ID of the workbook session. func (m *WorkbookSessionInfo) GetId()(*string) { val, err := m.GetBackingStore().Get("id") if err != nil { @@ -145,7 +145,7 @@ func (m *WorkbookSessionInfo) SetAdditionalData(value map[string]any)() { func (m *WorkbookSessionInfo) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetId sets the id property value. Id of the workbook session. +// SetId sets the id property value. ID of the workbook session. func (m *WorkbookSessionInfo) SetId(value *string)() { err := m.GetBackingStore().Set("id", value) if err != nil { diff --git a/models/workbook_table.go b/models/workbook_table.go index 1a6ac1fa909..c469eff24a3 100644 --- a/models/workbook_table.go +++ b/models/workbook_table.go @@ -209,7 +209,7 @@ func (m *WorkbookTable) GetHighlightLastColumn()(*bool) { } return nil } -// GetLegacyId gets the legacyId property value. Legacy Id used in older Excle clients. The value of the identifier remains the same even when the table is renamed. This property should be interpreted as an opaque string value and should not be parsed to any other type. Read-only. +// GetLegacyId gets the legacyId property value. Legacy Id used in older Excel clients. The value of the identifier remains the same even when the table is renamed. This property should be interpreted as an opaque string value and shouldn't be parsed to any other type. Read-only. func (m *WorkbookTable) GetLegacyId()(*string) { val, err := m.GetBackingStore().Get("legacyId") if err != nil { @@ -308,7 +308,7 @@ func (m *WorkbookTable) GetSort()(WorkbookTableSortable) { } return nil } -// GetStyle gets the style property value. Constant value that represents the Table style. Possible values are: TableStyleLight1 thru TableStyleLight21, TableStyleMedium1 thru TableStyleMedium28, TableStyleStyleDark1 thru TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified. +// GetStyle gets the style property value. Constant value that represents the Table style. Possible values are: TableStyleLight1 through TableStyleLight21, TableStyleMedium1 through TableStyleMedium28, TableStyleStyleDark1 through TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified. func (m *WorkbookTable) GetStyle()(*string) { val, err := m.GetBackingStore().Get("style") if err != nil { @@ -455,7 +455,7 @@ func (m *WorkbookTable) SetHighlightLastColumn(value *bool)() { panic(err) } } -// SetLegacyId sets the legacyId property value. Legacy Id used in older Excle clients. The value of the identifier remains the same even when the table is renamed. This property should be interpreted as an opaque string value and should not be parsed to any other type. Read-only. +// SetLegacyId sets the legacyId property value. Legacy Id used in older Excel clients. The value of the identifier remains the same even when the table is renamed. This property should be interpreted as an opaque string value and shouldn't be parsed to any other type. Read-only. func (m *WorkbookTable) SetLegacyId(value *string)() { err := m.GetBackingStore().Set("legacyId", value) if err != nil { @@ -518,7 +518,7 @@ func (m *WorkbookTable) SetSort(value WorkbookTableSortable)() { panic(err) } } -// SetStyle sets the style property value. Constant value that represents the Table style. Possible values are: TableStyleLight1 thru TableStyleLight21, TableStyleMedium1 thru TableStyleMedium28, TableStyleStyleDark1 thru TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified. +// SetStyle sets the style property value. Constant value that represents the Table style. Possible values are: TableStyleLight1 through TableStyleLight21, TableStyleMedium1 through TableStyleMedium28, TableStyleStyleDark1 through TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified. func (m *WorkbookTable) SetStyle(value *string)() { err := m.GetBackingStore().Set("style", value) if err != nil { diff --git a/models/workbook_worksheet.go b/models/workbook_worksheet.go index 04ce3d06f70..6a3e81bbf43 100644 --- a/models/workbook_worksheet.go +++ b/models/workbook_worksheet.go @@ -221,7 +221,7 @@ func (m *WorkbookWorksheet) GetTables()([]WorkbookTableable) { } return nil } -// GetTasks gets the tasks property value. The tasks property +// GetTasks gets the tasks property value. Collection of document tasks on this worksheet. Read-only. func (m *WorkbookWorksheet) GetTasks()([]WorkbookDocumentTaskable) { val, err := m.GetBackingStore().Get("tasks") if err != nil { @@ -232,7 +232,7 @@ func (m *WorkbookWorksheet) GetTasks()([]WorkbookDocumentTaskable) { } return nil } -// GetVisibility gets the visibility property value. The Visibility of the worksheet. The possible values are: Visible, Hidden, VeryHidden. +// GetVisibility gets the visibility property value. The visibility of the worksheet. The possible values are: Visible, Hidden, VeryHidden. func (m *WorkbookWorksheet) GetVisibility()(*string) { val, err := m.GetBackingStore().Get("visibility") if err != nil { @@ -384,14 +384,14 @@ func (m *WorkbookWorksheet) SetTables(value []WorkbookTableable)() { panic(err) } } -// SetTasks sets the tasks property value. The tasks property +// SetTasks sets the tasks property value. Collection of document tasks on this worksheet. Read-only. func (m *WorkbookWorksheet) SetTasks(value []WorkbookDocumentTaskable)() { err := m.GetBackingStore().Set("tasks", value) if err != nil { panic(err) } } -// SetVisibility sets the visibility property value. The Visibility of the worksheet. The possible values are: Visible, Hidden, VeryHidden. +// SetVisibility sets the visibility property value. The visibility of the worksheet. The possible values are: Visible, Hidden, VeryHidden. func (m *WorkbookWorksheet) SetVisibility(value *string)() { err := m.GetBackingStore().Set("visibility", value) if err != nil { diff --git a/models/workforce_integration_encryption_protocol.go b/models/workforce_integration_encryption_protocol.go index d51b6fc041c..199ab5a64be 100644 --- a/models/workforce_integration_encryption_protocol.go +++ b/models/workforce_integration_encryption_protocol.go @@ -32,3 +32,6 @@ func SerializeWorkforceIntegrationEncryptionProtocol(values []WorkforceIntegrati } return result } +func (i WorkforceIntegrationEncryptionProtocol) isMultiValue() bool { + return false +} diff --git a/models/workforce_integration_supported_entities.go b/models/workforce_integration_supported_entities.go index 18f11bd4453..04ca05d848f 100644 --- a/models/workforce_integration_supported_entities.go +++ b/models/workforce_integration_supported_entities.go @@ -1,6 +1,7 @@ package models import ( "errors" + "strings" ) // type WorkforceIntegrationSupportedEntities int @@ -21,37 +22,46 @@ const ( ) func (i WorkforceIntegrationSupportedEntities) String() string { - return []string{"none", "shift", "swapRequest", "userShiftPreferences", "openShift", "openShiftRequest", "offerShiftRequest", "unknownFutureValue", "timeCard", "timeOffReason", "timeOff", "timeOffRequest"}[i] + var values []string + for p := WorkforceIntegrationSupportedEntities(1); p <= TIMEOFFREQUEST_WORKFORCEINTEGRATIONSUPPORTEDENTITIES; p <<= 1 { + if i&p == p { + values = append(values, []string{"none", "shift", "swapRequest", "userShiftPreferences", "openShift", "openShiftRequest", "offerShiftRequest", "unknownFutureValue", "timeCard", "timeOffReason", "timeOff", "timeOffRequest"}[p]) + } + } + return strings.Join(values, ",") } func ParseWorkforceIntegrationSupportedEntities(v string) (any, error) { - result := NONE_WORKFORCEINTEGRATIONSUPPORTEDENTITIES - switch v { - case "none": - result = NONE_WORKFORCEINTEGRATIONSUPPORTEDENTITIES - case "shift": - result = SHIFT_WORKFORCEINTEGRATIONSUPPORTEDENTITIES - case "swapRequest": - result = SWAPREQUEST_WORKFORCEINTEGRATIONSUPPORTEDENTITIES - case "userShiftPreferences": - result = USERSHIFTPREFERENCES_WORKFORCEINTEGRATIONSUPPORTEDENTITIES - case "openShift": - result = OPENSHIFT_WORKFORCEINTEGRATIONSUPPORTEDENTITIES - case "openShiftRequest": - result = OPENSHIFTREQUEST_WORKFORCEINTEGRATIONSUPPORTEDENTITIES - case "offerShiftRequest": - result = OFFERSHIFTREQUEST_WORKFORCEINTEGRATIONSUPPORTEDENTITIES - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_WORKFORCEINTEGRATIONSUPPORTEDENTITIES - case "timeCard": - result = TIMECARD_WORKFORCEINTEGRATIONSUPPORTEDENTITIES - case "timeOffReason": - result = TIMEOFFREASON_WORKFORCEINTEGRATIONSUPPORTEDENTITIES - case "timeOff": - result = TIMEOFF_WORKFORCEINTEGRATIONSUPPORTEDENTITIES - case "timeOffRequest": - result = TIMEOFFREQUEST_WORKFORCEINTEGRATIONSUPPORTEDENTITIES - default: - return 0, errors.New("Unknown WorkforceIntegrationSupportedEntities value: " + v) + var result WorkforceIntegrationSupportedEntities + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_WORKFORCEINTEGRATIONSUPPORTEDENTITIES + case "shift": + result |= SHIFT_WORKFORCEINTEGRATIONSUPPORTEDENTITIES + case "swapRequest": + result |= SWAPREQUEST_WORKFORCEINTEGRATIONSUPPORTEDENTITIES + case "userShiftPreferences": + result |= USERSHIFTPREFERENCES_WORKFORCEINTEGRATIONSUPPORTEDENTITIES + case "openShift": + result |= OPENSHIFT_WORKFORCEINTEGRATIONSUPPORTEDENTITIES + case "openShiftRequest": + result |= OPENSHIFTREQUEST_WORKFORCEINTEGRATIONSUPPORTEDENTITIES + case "offerShiftRequest": + result |= OFFERSHIFTREQUEST_WORKFORCEINTEGRATIONSUPPORTEDENTITIES + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_WORKFORCEINTEGRATIONSUPPORTEDENTITIES + case "timeCard": + result |= TIMECARD_WORKFORCEINTEGRATIONSUPPORTEDENTITIES + case "timeOffReason": + result |= TIMEOFFREASON_WORKFORCEINTEGRATIONSUPPORTEDENTITIES + case "timeOff": + result |= TIMEOFF_WORKFORCEINTEGRATIONSUPPORTEDENTITIES + case "timeOffRequest": + result |= TIMEOFFREQUEST_WORKFORCEINTEGRATIONSUPPORTEDENTITIES + default: + return 0, errors.New("Unknown WorkforceIntegrationSupportedEntities value: " + v) + } } return &result, nil } @@ -62,3 +72,6 @@ func SerializeWorkforceIntegrationSupportedEntities(values []WorkforceIntegratio } return result } +func (i WorkforceIntegrationSupportedEntities) isMultiValue() bool { + return true +} diff --git a/models/x509_certificate_authentication_mode.go b/models/x509_certificate_authentication_mode.go index dd296a399e8..5c8d38c95b5 100644 --- a/models/x509_certificate_authentication_mode.go +++ b/models/x509_certificate_authentication_mode.go @@ -35,3 +35,6 @@ func SerializeX509CertificateAuthenticationMode(values []X509CertificateAuthenti } return result } +func (i X509CertificateAuthenticationMode) isMultiValue() bool { + return false +} diff --git a/models/x509_certificate_rule_type.go b/models/x509_certificate_rule_type.go index 17628dd1ea1..5eedab5d09d 100644 --- a/models/x509_certificate_rule_type.go +++ b/models/x509_certificate_rule_type.go @@ -35,3 +35,6 @@ func SerializeX509CertificateRuleType(values []X509CertificateRuleType) []string } return result } +func (i X509CertificateRuleType) isMultiValue() bool { + return false +} diff --git a/models/zebra_fota_connector_state.go b/models/zebra_fota_connector_state.go index d8f1ff63ff3..506c986b34b 100644 --- a/models/zebra_fota_connector_state.go +++ b/models/zebra_fota_connector_state.go @@ -42,3 +42,6 @@ func SerializeZebraFotaConnectorState(values []ZebraFotaConnectorState) []string } return result } +func (i ZebraFotaConnectorState) isMultiValue() bool { + return false +} diff --git a/models/zebra_fota_deployment_state.go b/models/zebra_fota_deployment_state.go index f1c6ab43747..2d72a97c468 100644 --- a/models/zebra_fota_deployment_state.go +++ b/models/zebra_fota_deployment_state.go @@ -58,3 +58,6 @@ func SerializeZebraFotaDeploymentState(values []ZebraFotaDeploymentState) []stri } return result } +func (i ZebraFotaDeploymentState) isMultiValue() bool { + return false +} diff --git a/models/zebra_fota_error_code.go b/models/zebra_fota_error_code.go index edaae6a62d9..799a4432674 100644 --- a/models/zebra_fota_error_code.go +++ b/models/zebra_fota_error_code.go @@ -58,3 +58,6 @@ func SerializeZebraFotaErrorCode(values []ZebraFotaErrorCode) []string { } return result } +func (i ZebraFotaErrorCode) isMultiValue() bool { + return false +} diff --git a/models/zebra_fota_network_type.go b/models/zebra_fota_network_type.go index 9529728e00f..ecb773d9eb8 100644 --- a/models/zebra_fota_network_type.go +++ b/models/zebra_fota_network_type.go @@ -46,3 +46,6 @@ func SerializeZebraFotaNetworkType(values []ZebraFotaNetworkType) []string { } return result } +func (i ZebraFotaNetworkType) isMultiValue() bool { + return false +} diff --git a/models/zebra_fota_schedule_mode.go b/models/zebra_fota_schedule_mode.go index bd92f609fdc..9a18f0423a3 100644 --- a/models/zebra_fota_schedule_mode.go +++ b/models/zebra_fota_schedule_mode.go @@ -38,3 +38,6 @@ func SerializeZebraFotaScheduleMode(values []ZebraFotaScheduleMode) []string { } return result } +func (i ZebraFotaScheduleMode) isMultiValue() bool { + return false +} diff --git a/models/zebra_fota_update_type.go b/models/zebra_fota_update_type.go index e93fc83c4e9..5db75c1da72 100644 --- a/models/zebra_fota_update_type.go +++ b/models/zebra_fota_update_type.go @@ -42,3 +42,6 @@ func SerializeZebraFotaUpdateType(values []ZebraFotaUpdateType) []string { } return result } +func (i ZebraFotaUpdateType) isMultiValue() bool { + return false +} diff --git a/monitoring/alert_records_alert_record_item_request_builder.go b/monitoring/alert_records_alert_record_item_request_builder.go index 8ade82b7a47..8d1a3e557d3 100644 --- a/monitoring/alert_records_alert_record_item_request_builder.go +++ b/monitoring/alert_records_alert_record_item_request_builder.go @@ -160,3 +160,7 @@ func (m *AlertRecordsAlertRecordItemRequestBuilder) ToPatchRequestInformation(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 *AlertRecordsAlertRecordItemRequestBuilder) WithUrl(rawUrl string)(*AlertRecordsAlertRecordItemRequestBuilder) { + return NewAlertRecordsAlertRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/monitoring/alert_records_count_request_builder.go b/monitoring/alert_records_count_request_builder.go index 8a388485f38..c3f88d9838d 100644 --- a/monitoring/alert_records_count_request_builder.go +++ b/monitoring/alert_records_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AlertRecordsCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *AlertRecordsCountRequestBuilder) WithUrl(rawUrl string)(*AlertRecordsCountRequestBuilder) { + return NewAlertRecordsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/monitoring/alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go b/monitoring/alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go index 95cb632c57c..4f3ab8642b2 100644 --- a/monitoring/alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go +++ b/monitoring/alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go @@ -61,3 +61,7 @@ func (m *AlertRecordsItemMicrosoftGraphDeviceManagementSetPortalNotificationAsSe } 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 *AlertRecordsItemMicrosoftGraphDeviceManagementSetPortalNotificationAsSentRequestBuilder) WithUrl(rawUrl string)(*AlertRecordsItemMicrosoftGraphDeviceManagementSetPortalNotificationAsSentRequestBuilder) { + return NewAlertRecordsItemMicrosoftGraphDeviceManagementSetPortalNotificationAsSentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/monitoring/alert_records_microsoft_graph_device_management_get_portal_notifications_request_builder.go b/monitoring/alert_records_microsoft_graph_device_management_get_portal_notifications_request_builder.go index b035467b77b..f7eb94802ca 100644 --- a/monitoring/alert_records_microsoft_graph_device_management_get_portal_notifications_request_builder.go +++ b/monitoring/alert_records_microsoft_graph_device_management_get_portal_notifications_request_builder.go @@ -80,3 +80,7 @@ func (m *AlertRecordsMicrosoftGraphDeviceManagementGetPortalNotificationsRequest } 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 *AlertRecordsMicrosoftGraphDeviceManagementGetPortalNotificationsRequestBuilder) WithUrl(rawUrl string)(*AlertRecordsMicrosoftGraphDeviceManagementGetPortalNotificationsRequestBuilder) { + return NewAlertRecordsMicrosoftGraphDeviceManagementGetPortalNotificationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/monitoring/alert_records_request_builder.go b/monitoring/alert_records_request_builder.go index e60400e0ae2..c7cf3ac730a 100644 --- a/monitoring/alert_records_request_builder.go +++ b/monitoring/alert_records_request_builder.go @@ -46,8 +46,8 @@ type AlertRecordsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAlertRecordIdString provides operations to manage the alertRecords property of the microsoft.graph.deviceManagement.monitoring entity. -func (m *AlertRecordsRequestBuilder) ByAlertRecordIdString(alertRecordId string)(*AlertRecordsAlertRecordItemRequestBuilder) { +// ByAlertRecordId provides operations to manage the alertRecords property of the microsoft.graph.deviceManagement.monitoring entity. +func (m *AlertRecordsRequestBuilder) ByAlertRecordId(alertRecordId string)(*AlertRecordsAlertRecordItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *AlertRecordsRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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 *AlertRecordsRequestBuilder) WithUrl(rawUrl string)(*AlertRecordsRequestBuilder) { + return NewAlertRecordsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/monitoring/alert_rules_alert_rule_item_request_builder.go b/monitoring/alert_rules_alert_rule_item_request_builder.go index 0f02ca444da..ed0e880db5f 100644 --- a/monitoring/alert_rules_alert_rule_item_request_builder.go +++ b/monitoring/alert_rules_alert_rule_item_request_builder.go @@ -159,3 +159,7 @@ func (m *AlertRulesAlertRuleItemRequestBuilder) ToPatchRequestInformation(ctx co } 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 *AlertRulesAlertRuleItemRequestBuilder) WithUrl(rawUrl string)(*AlertRulesAlertRuleItemRequestBuilder) { + return NewAlertRulesAlertRuleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/monitoring/alert_rules_count_request_builder.go b/monitoring/alert_rules_count_request_builder.go index 385902f1bf9..0014597abf8 100644 --- a/monitoring/alert_rules_count_request_builder.go +++ b/monitoring/alert_rules_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AlertRulesCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *AlertRulesCountRequestBuilder) WithUrl(rawUrl string)(*AlertRulesCountRequestBuilder) { + return NewAlertRulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/monitoring/alert_rules_request_builder.go b/monitoring/alert_rules_request_builder.go index f996bc8a62e..2bcf3dc936b 100644 --- a/monitoring/alert_rules_request_builder.go +++ b/monitoring/alert_rules_request_builder.go @@ -46,8 +46,8 @@ type AlertRulesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAlertRuleIdString provides operations to manage the alertRules property of the microsoft.graph.deviceManagement.monitoring entity. -func (m *AlertRulesRequestBuilder) ByAlertRuleIdString(alertRuleId string)(*AlertRulesAlertRuleItemRequestBuilder) { +// ByAlertRuleId provides operations to manage the alertRules property of the microsoft.graph.deviceManagement.monitoring entity. +func (m *AlertRulesRequestBuilder) ByAlertRuleId(alertRuleId string)(*AlertRulesAlertRuleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *AlertRulesRequestBuilder) ToPostRequestInformation(ctx context.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 *AlertRulesRequestBuilder) WithUrl(rawUrl string)(*AlertRulesRequestBuilder) { + return NewAlertRulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/monitoring/monitoring_request_builder.go b/monitoring/monitoring_request_builder.go index 59da096a07e..d6dc3dc6f6d 100644 --- a/monitoring/monitoring_request_builder.go +++ b/monitoring/monitoring_request_builder.go @@ -126,3 +126,7 @@ func (m *MonitoringRequestBuilder) ToPatchRequestInformation(ctx context.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 *MonitoringRequestBuilder) WithUrl(rawUrl string)(*MonitoringRequestBuilder) { + return NewMonitoringRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/connectivity_branches_branch_site_item_request_builder.go b/networkaccess/connectivity_branches_branch_site_item_request_builder.go index 5fe2bd4c8a1..f5416e7afd7 100644 --- a/networkaccess/connectivity_branches_branch_site_item_request_builder.go +++ b/networkaccess/connectivity_branches_branch_site_item_request_builder.go @@ -174,3 +174,7 @@ func (m *ConnectivityBranchesBranchSiteItemRequestBuilder) ToPatchRequestInforma } 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 *ConnectivityBranchesBranchSiteItemRequestBuilder) WithUrl(rawUrl string)(*ConnectivityBranchesBranchSiteItemRequestBuilder) { + return NewConnectivityBranchesBranchSiteItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/connectivity_branches_count_request_builder.go b/networkaccess/connectivity_branches_count_request_builder.go index fdbc64de636..7dc43a3461c 100644 --- a/networkaccess/connectivity_branches_count_request_builder.go +++ b/networkaccess/connectivity_branches_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConnectivityBranchesCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ConnectivityBranchesCountRequestBuilder) WithUrl(rawUrl string)(*ConnectivityBranchesCountRequestBuilder) { + return NewConnectivityBranchesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/connectivity_branches_item_connectivity_configuration_links_connectivity_configuration_link_item_request_builder.go b/networkaccess/connectivity_branches_item_connectivity_configuration_links_connectivity_configuration_link_item_request_builder.go index 6d3b3f79991..2353402587d 100644 --- a/networkaccess/connectivity_branches_item_connectivity_configuration_links_connectivity_configuration_link_item_request_builder.go +++ b/networkaccess/connectivity_branches_item_connectivity_configuration_links_connectivity_configuration_link_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ConnectivityBranchesItemConnectivityConfigurationLinksConnectivityConfi } 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 *ConnectivityBranchesItemConnectivityConfigurationLinksConnectivityConfigurationLinkItemRequestBuilder) WithUrl(rawUrl string)(*ConnectivityBranchesItemConnectivityConfigurationLinksConnectivityConfigurationLinkItemRequestBuilder) { + return NewConnectivityBranchesItemConnectivityConfigurationLinksConnectivityConfigurationLinkItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/connectivity_branches_item_connectivity_configuration_links_count_request_builder.go b/networkaccess/connectivity_branches_item_connectivity_configuration_links_count_request_builder.go index b93f7b48734..a46f114ad0e 100644 --- a/networkaccess/connectivity_branches_item_connectivity_configuration_links_count_request_builder.go +++ b/networkaccess/connectivity_branches_item_connectivity_configuration_links_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConnectivityBranchesItemConnectivityConfigurationLinksCountRequestBuild } 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 *ConnectivityBranchesItemConnectivityConfigurationLinksCountRequestBuilder) WithUrl(rawUrl string)(*ConnectivityBranchesItemConnectivityConfigurationLinksCountRequestBuilder) { + return NewConnectivityBranchesItemConnectivityConfigurationLinksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/connectivity_branches_item_connectivity_configuration_links_request_builder.go b/networkaccess/connectivity_branches_item_connectivity_configuration_links_request_builder.go index 0398235e772..2f518ac9bca 100644 --- a/networkaccess/connectivity_branches_item_connectivity_configuration_links_request_builder.go +++ b/networkaccess/connectivity_branches_item_connectivity_configuration_links_request_builder.go @@ -46,8 +46,8 @@ type ConnectivityBranchesItemConnectivityConfigurationLinksRequestBuilderPostReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByConnectivityConfigurationLinkIdString provides operations to manage the links property of the microsoft.graph.networkaccess.branchConnectivityConfiguration entity. -func (m *ConnectivityBranchesItemConnectivityConfigurationLinksRequestBuilder) ByConnectivityConfigurationLinkIdString(connectivityConfigurationLinkId string)(*ConnectivityBranchesItemConnectivityConfigurationLinksConnectivityConfigurationLinkItemRequestBuilder) { +// ByConnectivityConfigurationLinkId provides operations to manage the links property of the microsoft.graph.networkaccess.branchConnectivityConfiguration entity. +func (m *ConnectivityBranchesItemConnectivityConfigurationLinksRequestBuilder) ByConnectivityConfigurationLinkId(connectivityConfigurationLinkId string)(*ConnectivityBranchesItemConnectivityConfigurationLinksConnectivityConfigurationLinkItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ConnectivityBranchesItemConnectivityConfigurationLinksRequestBuilder) T } 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 *ConnectivityBranchesItemConnectivityConfigurationLinksRequestBuilder) WithUrl(rawUrl string)(*ConnectivityBranchesItemConnectivityConfigurationLinksRequestBuilder) { + return NewConnectivityBranchesItemConnectivityConfigurationLinksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/connectivity_branches_item_connectivity_configuration_request_builder.go b/networkaccess/connectivity_branches_item_connectivity_configuration_request_builder.go index f01326346cb..08e004cd9fb 100644 --- a/networkaccess/connectivity_branches_item_connectivity_configuration_request_builder.go +++ b/networkaccess/connectivity_branches_item_connectivity_configuration_request_builder.go @@ -157,3 +157,7 @@ func (m *ConnectivityBranchesItemConnectivityConfigurationRequestBuilder) ToPatc } 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 *ConnectivityBranchesItemConnectivityConfigurationRequestBuilder) WithUrl(rawUrl string)(*ConnectivityBranchesItemConnectivityConfigurationRequestBuilder) { + return NewConnectivityBranchesItemConnectivityConfigurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/connectivity_branches_item_device_links_count_request_builder.go b/networkaccess/connectivity_branches_item_device_links_count_request_builder.go index b4a43d1b6d4..d7c018b302c 100644 --- a/networkaccess/connectivity_branches_item_device_links_count_request_builder.go +++ b/networkaccess/connectivity_branches_item_device_links_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConnectivityBranchesItemDeviceLinksCountRequestBuilder) ToGetRequestInf } 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 *ConnectivityBranchesItemDeviceLinksCountRequestBuilder) WithUrl(rawUrl string)(*ConnectivityBranchesItemDeviceLinksCountRequestBuilder) { + return NewConnectivityBranchesItemDeviceLinksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/connectivity_branches_item_device_links_device_link_item_request_builder.go b/networkaccess/connectivity_branches_item_device_links_device_link_item_request_builder.go index 432434613f3..f958940c2e1 100644 --- a/networkaccess/connectivity_branches_item_device_links_device_link_item_request_builder.go +++ b/networkaccess/connectivity_branches_item_device_links_device_link_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ConnectivityBranchesItemDeviceLinksDeviceLinkItemRequestBuilder) ToPatc } 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 *ConnectivityBranchesItemDeviceLinksDeviceLinkItemRequestBuilder) WithUrl(rawUrl string)(*ConnectivityBranchesItemDeviceLinksDeviceLinkItemRequestBuilder) { + return NewConnectivityBranchesItemDeviceLinksDeviceLinkItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/connectivity_branches_item_device_links_request_builder.go b/networkaccess/connectivity_branches_item_device_links_request_builder.go index 82e7301422a..4700fc8cda1 100644 --- a/networkaccess/connectivity_branches_item_device_links_request_builder.go +++ b/networkaccess/connectivity_branches_item_device_links_request_builder.go @@ -46,8 +46,8 @@ type ConnectivityBranchesItemDeviceLinksRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceLinkIdString provides operations to manage the deviceLinks property of the microsoft.graph.networkaccess.branchSite entity. -func (m *ConnectivityBranchesItemDeviceLinksRequestBuilder) ByDeviceLinkIdString(deviceLinkId string)(*ConnectivityBranchesItemDeviceLinksDeviceLinkItemRequestBuilder) { +// ByDeviceLinkId provides operations to manage the deviceLinks property of the microsoft.graph.networkaccess.branchSite entity. +func (m *ConnectivityBranchesItemDeviceLinksRequestBuilder) ByDeviceLinkId(deviceLinkId string)(*ConnectivityBranchesItemDeviceLinksDeviceLinkItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ConnectivityBranchesItemDeviceLinksRequestBuilder) ToPostRequestInforma } 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 *ConnectivityBranchesItemDeviceLinksRequestBuilder) WithUrl(rawUrl string)(*ConnectivityBranchesItemDeviceLinksRequestBuilder) { + return NewConnectivityBranchesItemDeviceLinksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/connectivity_branches_item_forwarding_profiles_count_request_builder.go b/networkaccess/connectivity_branches_item_forwarding_profiles_count_request_builder.go index f90d6c8b864..cff9690f883 100644 --- a/networkaccess/connectivity_branches_item_forwarding_profiles_count_request_builder.go +++ b/networkaccess/connectivity_branches_item_forwarding_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConnectivityBranchesItemForwardingProfilesCountRequestBuilder) ToGetReq } 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 *ConnectivityBranchesItemForwardingProfilesCountRequestBuilder) WithUrl(rawUrl string)(*ConnectivityBranchesItemForwardingProfilesCountRequestBuilder) { + return NewConnectivityBranchesItemForwardingProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/connectivity_branches_item_forwarding_profiles_forwarding_profile_item_request_builder.go b/networkaccess/connectivity_branches_item_forwarding_profiles_forwarding_profile_item_request_builder.go index 08c499c5f00..40897dec3cc 100644 --- a/networkaccess/connectivity_branches_item_forwarding_profiles_forwarding_profile_item_request_builder.go +++ b/networkaccess/connectivity_branches_item_forwarding_profiles_forwarding_profile_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ConnectivityBranchesItemForwardingProfilesForwardingProfileItemRequestB } 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 *ConnectivityBranchesItemForwardingProfilesForwardingProfileItemRequestBuilder) WithUrl(rawUrl string)(*ConnectivityBranchesItemForwardingProfilesForwardingProfileItemRequestBuilder) { + return NewConnectivityBranchesItemForwardingProfilesForwardingProfileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_count_request_builder.go b/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_count_request_builder.go index 46e7a945f6e..3a58f40092b 100644 --- a/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_count_request_builder.go +++ b/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConnectivityBranchesItemForwardingProfilesItemPoliciesCountRequestBuild } 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 *ConnectivityBranchesItemForwardingProfilesItemPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ConnectivityBranchesItemForwardingProfilesItemPoliciesCountRequestBuilder) { + return NewConnectivityBranchesItemForwardingProfilesItemPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_item_policy_request_builder.go b/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_item_policy_request_builder.go index 89fcd3590ac..36df7b46286 100644 --- a/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_item_policy_request_builder.go +++ b/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_item_policy_request_builder.go @@ -75,3 +75,7 @@ func (m *ConnectivityBranchesItemForwardingProfilesItemPoliciesItemPolicyRequest } 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 *ConnectivityBranchesItemForwardingProfilesItemPoliciesItemPolicyRequestBuilder) WithUrl(rawUrl string)(*ConnectivityBranchesItemForwardingProfilesItemPoliciesItemPolicyRequestBuilder) { + return NewConnectivityBranchesItemForwardingProfilesItemPoliciesItemPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_policy_link_item_request_builder.go b/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_policy_link_item_request_builder.go index a232ca845d0..6856dddc9fb 100644 --- a/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_policy_link_item_request_builder.go +++ b/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_policy_link_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ConnectivityBranchesItemForwardingProfilesItemPoliciesPolicyLinkItemReq } 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 *ConnectivityBranchesItemForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilder) WithUrl(rawUrl string)(*ConnectivityBranchesItemForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilder) { + return NewConnectivityBranchesItemForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_request_builder.go b/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_request_builder.go index a644bb271ff..62d409f7cd2 100644 --- a/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_request_builder.go +++ b/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_request_builder.go @@ -46,8 +46,8 @@ type ConnectivityBranchesItemForwardingProfilesItemPoliciesRequestBuilderPostReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPolicyLinkIdString provides operations to manage the policies property of the microsoft.graph.networkaccess.profile entity. -func (m *ConnectivityBranchesItemForwardingProfilesItemPoliciesRequestBuilder) ByPolicyLinkIdString(policyLinkId string)(*ConnectivityBranchesItemForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilder) { +// ByPolicyLinkId provides operations to manage the policies property of the microsoft.graph.networkaccess.profile entity. +func (m *ConnectivityBranchesItemForwardingProfilesItemPoliciesRequestBuilder) ByPolicyLinkId(policyLinkId string)(*ConnectivityBranchesItemForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ConnectivityBranchesItemForwardingProfilesItemPoliciesRequestBuilder) T } 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 *ConnectivityBranchesItemForwardingProfilesItemPoliciesRequestBuilder) WithUrl(rawUrl string)(*ConnectivityBranchesItemForwardingProfilesItemPoliciesRequestBuilder) { + return NewConnectivityBranchesItemForwardingProfilesItemPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/connectivity_branches_item_forwarding_profiles_request_builder.go b/networkaccess/connectivity_branches_item_forwarding_profiles_request_builder.go index 8e6b8e14a80..44ad7a70474 100644 --- a/networkaccess/connectivity_branches_item_forwarding_profiles_request_builder.go +++ b/networkaccess/connectivity_branches_item_forwarding_profiles_request_builder.go @@ -46,8 +46,8 @@ type ConnectivityBranchesItemForwardingProfilesRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByForwardingProfileIdString provides operations to manage the forwardingProfiles property of the microsoft.graph.networkaccess.branchSite entity. -func (m *ConnectivityBranchesItemForwardingProfilesRequestBuilder) ByForwardingProfileIdString(forwardingProfileId string)(*ConnectivityBranchesItemForwardingProfilesForwardingProfileItemRequestBuilder) { +// ByForwardingProfileId provides operations to manage the forwardingProfiles property of the microsoft.graph.networkaccess.branchSite entity. +func (m *ConnectivityBranchesItemForwardingProfilesRequestBuilder) ByForwardingProfileId(forwardingProfileId string)(*ConnectivityBranchesItemForwardingProfilesForwardingProfileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ConnectivityBranchesItemForwardingProfilesRequestBuilder) ToPostRequest } 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 *ConnectivityBranchesItemForwardingProfilesRequestBuilder) WithUrl(rawUrl string)(*ConnectivityBranchesItemForwardingProfilesRequestBuilder) { + return NewConnectivityBranchesItemForwardingProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/connectivity_branches_request_builder.go b/networkaccess/connectivity_branches_request_builder.go index 5ee87f4dd57..6c2abade19d 100644 --- a/networkaccess/connectivity_branches_request_builder.go +++ b/networkaccess/connectivity_branches_request_builder.go @@ -46,8 +46,8 @@ type ConnectivityBranchesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByBranchSiteIdString provides operations to manage the branches property of the microsoft.graph.networkaccess.connectivity entity. -func (m *ConnectivityBranchesRequestBuilder) ByBranchSiteIdString(branchSiteId string)(*ConnectivityBranchesBranchSiteItemRequestBuilder) { +// ByBranchSiteId provides operations to manage the branches property of the microsoft.graph.networkaccess.connectivity entity. +func (m *ConnectivityBranchesRequestBuilder) ByBranchSiteId(branchSiteId string)(*ConnectivityBranchesBranchSiteItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ConnectivityBranchesRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ConnectivityBranchesRequestBuilder) WithUrl(rawUrl string)(*ConnectivityBranchesRequestBuilder) { + return NewConnectivityBranchesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/connectivity_request_builder.go b/networkaccess/connectivity_request_builder.go index f952c99d10b..3586f4bd40f 100644 --- a/networkaccess/connectivity_request_builder.go +++ b/networkaccess/connectivity_request_builder.go @@ -157,3 +157,7 @@ func (m *ConnectivityRequestBuilder) ToPatchRequestInformation(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 *ConnectivityRequestBuilder) WithUrl(rawUrl string)(*ConnectivityRequestBuilder) { + return NewConnectivityRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/forwarding_policies_count_request_builder.go b/networkaccess/forwarding_policies_count_request_builder.go index 137c8c04a26..28449adf199 100644 --- a/networkaccess/forwarding_policies_count_request_builder.go +++ b/networkaccess/forwarding_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ForwardingPoliciesCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ForwardingPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ForwardingPoliciesCountRequestBuilder) { + return NewForwardingPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/forwarding_policies_forwarding_policy_item_request_builder.go b/networkaccess/forwarding_policies_forwarding_policy_item_request_builder.go index cb48923389f..8454e4012d9 100644 --- a/networkaccess/forwarding_policies_forwarding_policy_item_request_builder.go +++ b/networkaccess/forwarding_policies_forwarding_policy_item_request_builder.go @@ -164,3 +164,7 @@ func (m *ForwardingPoliciesForwardingPolicyItemRequestBuilder) ToPatchRequestInf } 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 *ForwardingPoliciesForwardingPolicyItemRequestBuilder) WithUrl(rawUrl string)(*ForwardingPoliciesForwardingPolicyItemRequestBuilder) { + return NewForwardingPoliciesForwardingPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/forwarding_policies_item_microsoft_graph_networkaccess_update_policy_rules_request_builder.go b/networkaccess/forwarding_policies_item_microsoft_graph_networkaccess_update_policy_rules_request_builder.go index 67907aa4c25..307791718a5 100644 --- a/networkaccess/forwarding_policies_item_microsoft_graph_networkaccess_update_policy_rules_request_builder.go +++ b/networkaccess/forwarding_policies_item_microsoft_graph_networkaccess_update_policy_rules_request_builder.go @@ -65,3 +65,7 @@ func (m *ForwardingPoliciesItemMicrosoftGraphNetworkaccessUpdatePolicyRulesReque } 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 *ForwardingPoliciesItemMicrosoftGraphNetworkaccessUpdatePolicyRulesRequestBuilder) WithUrl(rawUrl string)(*ForwardingPoliciesItemMicrosoftGraphNetworkaccessUpdatePolicyRulesRequestBuilder) { + return NewForwardingPoliciesItemMicrosoftGraphNetworkaccessUpdatePolicyRulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/forwarding_policies_item_policy_rules_count_request_builder.go b/networkaccess/forwarding_policies_item_policy_rules_count_request_builder.go index 007f072c38f..a31e9ff1911 100644 --- a/networkaccess/forwarding_policies_item_policy_rules_count_request_builder.go +++ b/networkaccess/forwarding_policies_item_policy_rules_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ForwardingPoliciesItemPolicyRulesCountRequestBuilder) ToGetRequestInfor } 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 *ForwardingPoliciesItemPolicyRulesCountRequestBuilder) WithUrl(rawUrl string)(*ForwardingPoliciesItemPolicyRulesCountRequestBuilder) { + return NewForwardingPoliciesItemPolicyRulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/forwarding_policies_item_policy_rules_policy_rule_item_request_builder.go b/networkaccess/forwarding_policies_item_policy_rules_policy_rule_item_request_builder.go index 51999fc9e53..762adb20ae2 100644 --- a/networkaccess/forwarding_policies_item_policy_rules_policy_rule_item_request_builder.go +++ b/networkaccess/forwarding_policies_item_policy_rules_policy_rule_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ForwardingPoliciesItemPolicyRulesPolicyRuleItemRequestBuilder) ToPatchR } 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 *ForwardingPoliciesItemPolicyRulesPolicyRuleItemRequestBuilder) WithUrl(rawUrl string)(*ForwardingPoliciesItemPolicyRulesPolicyRuleItemRequestBuilder) { + return NewForwardingPoliciesItemPolicyRulesPolicyRuleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/forwarding_policies_item_policy_rules_request_builder.go b/networkaccess/forwarding_policies_item_policy_rules_request_builder.go index d39807df112..9efba9b6b2c 100644 --- a/networkaccess/forwarding_policies_item_policy_rules_request_builder.go +++ b/networkaccess/forwarding_policies_item_policy_rules_request_builder.go @@ -46,8 +46,8 @@ type ForwardingPoliciesItemPolicyRulesRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPolicyRuleIdString provides operations to manage the policyRules property of the microsoft.graph.networkaccess.policy entity. -func (m *ForwardingPoliciesItemPolicyRulesRequestBuilder) ByPolicyRuleIdString(policyRuleId string)(*ForwardingPoliciesItemPolicyRulesPolicyRuleItemRequestBuilder) { +// ByPolicyRuleId provides operations to manage the policyRules property of the microsoft.graph.networkaccess.policy entity. +func (m *ForwardingPoliciesItemPolicyRulesRequestBuilder) ByPolicyRuleId(policyRuleId string)(*ForwardingPoliciesItemPolicyRulesPolicyRuleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ForwardingPoliciesItemPolicyRulesRequestBuilder) ToPostRequestInformati } 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 *ForwardingPoliciesItemPolicyRulesRequestBuilder) WithUrl(rawUrl string)(*ForwardingPoliciesItemPolicyRulesRequestBuilder) { + return NewForwardingPoliciesItemPolicyRulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/forwarding_policies_request_builder.go b/networkaccess/forwarding_policies_request_builder.go index 4eed4ee3fe3..954db9fd763 100644 --- a/networkaccess/forwarding_policies_request_builder.go +++ b/networkaccess/forwarding_policies_request_builder.go @@ -46,8 +46,8 @@ type ForwardingPoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByForwardingPolicyIdString provides operations to manage the forwardingPolicies property of the microsoft.graph.networkaccess.networkAccessRoot entity. -func (m *ForwardingPoliciesRequestBuilder) ByForwardingPolicyIdString(forwardingPolicyId string)(*ForwardingPoliciesForwardingPolicyItemRequestBuilder) { +// ByForwardingPolicyId provides operations to manage the forwardingPolicies property of the microsoft.graph.networkaccess.networkAccessRoot entity. +func (m *ForwardingPoliciesRequestBuilder) ByForwardingPolicyId(forwardingPolicyId string)(*ForwardingPoliciesForwardingPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ForwardingPoliciesRequestBuilder) 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 *ForwardingPoliciesRequestBuilder) WithUrl(rawUrl string)(*ForwardingPoliciesRequestBuilder) { + return NewForwardingPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/forwarding_profiles_count_request_builder.go b/networkaccess/forwarding_profiles_count_request_builder.go index 512ae98cdb0..92bb1892d60 100644 --- a/networkaccess/forwarding_profiles_count_request_builder.go +++ b/networkaccess/forwarding_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ForwardingProfilesCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ForwardingProfilesCountRequestBuilder) WithUrl(rawUrl string)(*ForwardingProfilesCountRequestBuilder) { + return NewForwardingProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/forwarding_profiles_forwarding_profile_item_request_builder.go b/networkaccess/forwarding_profiles_forwarding_profile_item_request_builder.go index e408c24e7e4..2b3f54aa551 100644 --- a/networkaccess/forwarding_profiles_forwarding_profile_item_request_builder.go +++ b/networkaccess/forwarding_profiles_forwarding_profile_item_request_builder.go @@ -163,3 +163,7 @@ func (m *ForwardingProfilesForwardingProfileItemRequestBuilder) ToPatchRequestIn } 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 *ForwardingProfilesForwardingProfileItemRequestBuilder) WithUrl(rawUrl string)(*ForwardingProfilesForwardingProfileItemRequestBuilder) { + return NewForwardingProfilesForwardingProfileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/forwarding_profiles_item_policies_count_request_builder.go b/networkaccess/forwarding_profiles_item_policies_count_request_builder.go index cec1d3a5441..9213ac0367e 100644 --- a/networkaccess/forwarding_profiles_item_policies_count_request_builder.go +++ b/networkaccess/forwarding_profiles_item_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ForwardingProfilesItemPoliciesCountRequestBuilder) ToGetRequestInformat } 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 *ForwardingProfilesItemPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ForwardingProfilesItemPoliciesCountRequestBuilder) { + return NewForwardingProfilesItemPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/forwarding_profiles_item_policies_item_policy_request_builder.go b/networkaccess/forwarding_profiles_item_policies_item_policy_request_builder.go index 743329e152e..64ccbe733c6 100644 --- a/networkaccess/forwarding_profiles_item_policies_item_policy_request_builder.go +++ b/networkaccess/forwarding_profiles_item_policies_item_policy_request_builder.go @@ -75,3 +75,7 @@ func (m *ForwardingProfilesItemPoliciesItemPolicyRequestBuilder) ToGetRequestInf } 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 *ForwardingProfilesItemPoliciesItemPolicyRequestBuilder) WithUrl(rawUrl string)(*ForwardingProfilesItemPoliciesItemPolicyRequestBuilder) { + return NewForwardingProfilesItemPoliciesItemPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/forwarding_profiles_item_policies_policy_link_item_request_builder.go b/networkaccess/forwarding_profiles_item_policies_policy_link_item_request_builder.go index 65ed55faf1b..74dabbc79a4 100644 --- a/networkaccess/forwarding_profiles_item_policies_policy_link_item_request_builder.go +++ b/networkaccess/forwarding_profiles_item_policies_policy_link_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilder) ToPatchRequ } 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 *ForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilder) WithUrl(rawUrl string)(*ForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilder) { + return NewForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/forwarding_profiles_item_policies_request_builder.go b/networkaccess/forwarding_profiles_item_policies_request_builder.go index 513ccd69eb9..7df5185da80 100644 --- a/networkaccess/forwarding_profiles_item_policies_request_builder.go +++ b/networkaccess/forwarding_profiles_item_policies_request_builder.go @@ -46,8 +46,8 @@ type ForwardingProfilesItemPoliciesRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPolicyLinkIdString provides operations to manage the policies property of the microsoft.graph.networkaccess.profile entity. -func (m *ForwardingProfilesItemPoliciesRequestBuilder) ByPolicyLinkIdString(policyLinkId string)(*ForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilder) { +// ByPolicyLinkId provides operations to manage the policies property of the microsoft.graph.networkaccess.profile entity. +func (m *ForwardingProfilesItemPoliciesRequestBuilder) ByPolicyLinkId(policyLinkId string)(*ForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ForwardingProfilesItemPoliciesRequestBuilder) 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 *ForwardingProfilesItemPoliciesRequestBuilder) WithUrl(rawUrl string)(*ForwardingProfilesItemPoliciesRequestBuilder) { + return NewForwardingProfilesItemPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/forwarding_profiles_request_builder.go b/networkaccess/forwarding_profiles_request_builder.go index f428ef3c352..462a6545e2f 100644 --- a/networkaccess/forwarding_profiles_request_builder.go +++ b/networkaccess/forwarding_profiles_request_builder.go @@ -46,8 +46,8 @@ type ForwardingProfilesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByForwardingProfileIdString provides operations to manage the forwardingProfiles property of the microsoft.graph.networkaccess.networkAccessRoot entity. -func (m *ForwardingProfilesRequestBuilder) ByForwardingProfileIdString(forwardingProfileId string)(*ForwardingProfilesForwardingProfileItemRequestBuilder) { +// ByForwardingProfileId provides operations to manage the forwardingProfiles property of the microsoft.graph.networkaccess.networkAccessRoot entity. +func (m *ForwardingProfilesRequestBuilder) ByForwardingProfileId(forwardingProfileId string)(*ForwardingProfilesForwardingProfileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ForwardingProfilesRequestBuilder) 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 *ForwardingProfilesRequestBuilder) WithUrl(rawUrl string)(*ForwardingProfilesRequestBuilder) { + return NewForwardingProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/logs_request_builder.go b/networkaccess/logs_request_builder.go index 844e2a9c9bb..3d405bfbd1a 100644 --- a/networkaccess/logs_request_builder.go +++ b/networkaccess/logs_request_builder.go @@ -157,3 +157,7 @@ func (m *LogsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body func (m *LogsRequestBuilder) Traffic()(*LogsTrafficRequestBuilder) { return NewLogsTrafficRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *LogsRequestBuilder) WithUrl(rawUrl string)(*LogsRequestBuilder) { + return NewLogsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/logs_traffic_count_request_builder.go b/networkaccess/logs_traffic_count_request_builder.go index f9bd706b25a..d767ce3514c 100644 --- a/networkaccess/logs_traffic_count_request_builder.go +++ b/networkaccess/logs_traffic_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LogsTrafficCountRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *LogsTrafficCountRequestBuilder) WithUrl(rawUrl string)(*LogsTrafficCountRequestBuilder) { + return NewLogsTrafficCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/logs_traffic_network_access_traffic_transaction_item_request_builder.go b/networkaccess/logs_traffic_network_access_traffic_transaction_item_request_builder.go index 4a21e8685be..48fdc049d61 100644 --- a/networkaccess/logs_traffic_network_access_traffic_transaction_item_request_builder.go +++ b/networkaccess/logs_traffic_network_access_traffic_transaction_item_request_builder.go @@ -153,3 +153,7 @@ func (m *LogsTrafficNetworkAccessTrafficTransactionItemRequestBuilder) ToPatchRe } 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 *LogsTrafficNetworkAccessTrafficTransactionItemRequestBuilder) WithUrl(rawUrl string)(*LogsTrafficNetworkAccessTrafficTransactionItemRequestBuilder) { + return NewLogsTrafficNetworkAccessTrafficTransactionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/logs_traffic_request_builder.go b/networkaccess/logs_traffic_request_builder.go index e23b6a90b6d..2b51eb0e22b 100644 --- a/networkaccess/logs_traffic_request_builder.go +++ b/networkaccess/logs_traffic_request_builder.go @@ -46,8 +46,8 @@ type LogsTrafficRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByNetworkAccessTrafficTransactionIdString provides operations to manage the traffic property of the microsoft.graph.networkaccess.logs entity. -func (m *LogsTrafficRequestBuilder) ByNetworkAccessTrafficTransactionIdString(networkAccessTrafficTransactionId string)(*LogsTrafficNetworkAccessTrafficTransactionItemRequestBuilder) { +// ByNetworkAccessTrafficTransactionId provides operations to manage the traffic property of the microsoft.graph.networkaccess.logs entity. +func (m *LogsTrafficRequestBuilder) ByNetworkAccessTrafficTransactionId(networkAccessTrafficTransactionId string)(*LogsTrafficNetworkAccessTrafficTransactionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *LogsTrafficRequestBuilder) ToPostRequestInformation(ctx context.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 *LogsTrafficRequestBuilder) WithUrl(rawUrl string)(*LogsTrafficRequestBuilder) { + return NewLogsTrafficRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/microsoft_graph_networkaccess_onboard_request_builder.go b/networkaccess/microsoft_graph_networkaccess_onboard_request_builder.go index f5341821dec..067d35d3710 100644 --- a/networkaccess/microsoft_graph_networkaccess_onboard_request_builder.go +++ b/networkaccess/microsoft_graph_networkaccess_onboard_request_builder.go @@ -58,3 +58,7 @@ func (m *MicrosoftGraphNetworkaccessOnboardRequestBuilder) ToPostRequestInformat } 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 *MicrosoftGraphNetworkaccessOnboardRequestBuilder) WithUrl(rawUrl string)(*MicrosoftGraphNetworkaccessOnboardRequestBuilder) { + return NewMicrosoftGraphNetworkaccessOnboardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/network_access_request_builder.go b/networkaccess/network_access_request_builder.go index 07f55ad128c..03d640abcb0 100644 --- a/networkaccess/network_access_request_builder.go +++ b/networkaccess/network_access_request_builder.go @@ -150,3 +150,7 @@ func (m *NetworkAccessRequestBuilder) ToPatchRequestInformation(ctx context.Cont } 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 *NetworkAccessRequestBuilder) WithUrl(rawUrl string)(*NetworkAccessRequestBuilder) { + return NewNetworkAccessRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/reports_microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time_request_builder.go b/networkaccess/reports_microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time_request_builder.go index d2d61813ea4..c4aec4ece92 100644 --- a/networkaccess/reports_microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time_request_builder.go +++ b/networkaccess/reports_microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time_request_builder.go @@ -87,3 +87,7 @@ func (m *ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWit } 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 *ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/reports_microsoft_graph_networkaccess_get_cross_tenant_summary_with_start_date_time_with_end_date_time_with_discovery_pivot_date_time_request_builder.go b/networkaccess/reports_microsoft_graph_networkaccess_get_cross_tenant_summary_with_start_date_time_with_end_date_time_with_discovery_pivot_date_time_request_builder.go index f71a3981a8f..a682fadff2d 100644 --- a/networkaccess/reports_microsoft_graph_networkaccess_get_cross_tenant_summary_with_start_date_time_with_end_date_time_with_discovery_pivot_date_time_request_builder.go +++ b/networkaccess/reports_microsoft_graph_networkaccess_get_cross_tenant_summary_with_start_date_time_with_end_date_time_with_discovery_pivot_date_time_request_builder.go @@ -73,3 +73,7 @@ func (m *ReportsMicrosoftGraphNetworkaccessGetCrossTenantSummaryWithStartDateTim } 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 *ReportsMicrosoftGraphNetworkaccessGetCrossTenantSummaryWithStartDateTimeWithEndDateTimeWithDiscoveryPivotDateTimeRequestBuilder) WithUrl(rawUrl string)(*ReportsMicrosoftGraphNetworkaccessGetCrossTenantSummaryWithStartDateTimeWithEndDateTimeWithDiscoveryPivotDateTimeRequestBuilder) { + return NewReportsMicrosoftGraphNetworkaccessGetCrossTenantSummaryWithStartDateTimeWithEndDateTimeWithDiscoveryPivotDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/reports_microsoft_graph_networkaccess_get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by_request_builder.go b/networkaccess/reports_microsoft_graph_networkaccess_get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by_request_builder.go index 88143a71b7c..5be25ac38a0 100644 --- a/networkaccess/reports_microsoft_graph_networkaccess_get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by_request_builder.go +++ b/networkaccess/reports_microsoft_graph_networkaccess_get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by_request_builder.go @@ -90,3 +90,7 @@ func (m *ReportsMicrosoftGraphNetworkaccessGetDestinationSummariesWithStartDateT } 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 *ReportsMicrosoftGraphNetworkaccessGetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedByRequestBuilder) WithUrl(rawUrl string)(*ReportsMicrosoftGraphNetworkaccessGetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedByRequestBuilder) { + return NewReportsMicrosoftGraphNetworkaccessGetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedByRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/reports_microsoft_graph_networkaccess_get_device_usage_summary_with_start_date_time_with_end_date_time_with_activity_pivot_date_time_request_builder.go b/networkaccess/reports_microsoft_graph_networkaccess_get_device_usage_summary_with_start_date_time_with_end_date_time_with_activity_pivot_date_time_request_builder.go index 69bb90bd66b..e990532a34b 100644 --- a/networkaccess/reports_microsoft_graph_networkaccess_get_device_usage_summary_with_start_date_time_with_end_date_time_with_activity_pivot_date_time_request_builder.go +++ b/networkaccess/reports_microsoft_graph_networkaccess_get_device_usage_summary_with_start_date_time_with_end_date_time_with_activity_pivot_date_time_request_builder.go @@ -73,3 +73,7 @@ func (m *ReportsMicrosoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTim } 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 *ReportsMicrosoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndDateTimeWithActivityPivotDateTimeRequestBuilder) WithUrl(rawUrl string)(*ReportsMicrosoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndDateTimeWithActivityPivotDateTimeRequestBuilder) { + return NewReportsMicrosoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndDateTimeWithActivityPivotDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/reports_microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time_request_builder.go b/networkaccess/reports_microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time_request_builder.go index 0427653518d..8c1c1c94f3a 100644 --- a/networkaccess/reports_microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time_request_builder.go +++ b/networkaccess/reports_microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time_request_builder.go @@ -87,3 +87,7 @@ func (m *ReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTime } 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 *ReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*ReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/reports_request_builder.go b/networkaccess/reports_request_builder.go index 46e88747b75..811b77e7ce4 100644 --- a/networkaccess/reports_request_builder.go +++ b/networkaccess/reports_request_builder.go @@ -174,3 +174,7 @@ func (m *ReportsRequestBuilder) ToPatchRequestInformation(ctx context.Context, b } 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 *ReportsRequestBuilder) WithUrl(rawUrl string)(*ReportsRequestBuilder) { + return NewReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/settings_conditional_access_request_builder.go b/networkaccess/settings_conditional_access_request_builder.go index edff0fa9736..8fdb1c01631 100644 --- a/networkaccess/settings_conditional_access_request_builder.go +++ b/networkaccess/settings_conditional_access_request_builder.go @@ -159,3 +159,7 @@ func (m *SettingsConditionalAccessRequestBuilder) ToPatchRequestInformation(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 *SettingsConditionalAccessRequestBuilder) WithUrl(rawUrl string)(*SettingsConditionalAccessRequestBuilder) { + return NewSettingsConditionalAccessRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/settings_cross_tenant_access_request_builder.go b/networkaccess/settings_cross_tenant_access_request_builder.go index 96da0d419e7..3e3a7aa2032 100644 --- a/networkaccess/settings_cross_tenant_access_request_builder.go +++ b/networkaccess/settings_cross_tenant_access_request_builder.go @@ -159,3 +159,7 @@ func (m *SettingsCrossTenantAccessRequestBuilder) ToPatchRequestInformation(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 *SettingsCrossTenantAccessRequestBuilder) WithUrl(rawUrl string)(*SettingsCrossTenantAccessRequestBuilder) { + return NewSettingsCrossTenantAccessRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/settings_enriched_audit_logs_request_builder.go b/networkaccess/settings_enriched_audit_logs_request_builder.go index b4737ccbba6..e36de7f10a4 100644 --- a/networkaccess/settings_enriched_audit_logs_request_builder.go +++ b/networkaccess/settings_enriched_audit_logs_request_builder.go @@ -156,3 +156,7 @@ func (m *SettingsEnrichedAuditLogsRequestBuilder) ToPatchRequestInformation(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 *SettingsEnrichedAuditLogsRequestBuilder) WithUrl(rawUrl string)(*SettingsEnrichedAuditLogsRequestBuilder) { + return NewSettingsEnrichedAuditLogsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/settings_forwarding_options_request_builder.go b/networkaccess/settings_forwarding_options_request_builder.go index 87521186338..304e227e41e 100644 --- a/networkaccess/settings_forwarding_options_request_builder.go +++ b/networkaccess/settings_forwarding_options_request_builder.go @@ -159,3 +159,7 @@ func (m *SettingsForwardingOptionsRequestBuilder) ToPatchRequestInformation(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 *SettingsForwardingOptionsRequestBuilder) WithUrl(rawUrl string)(*SettingsForwardingOptionsRequestBuilder) { + return NewSettingsForwardingOptionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/settings_request_builder.go b/networkaccess/settings_request_builder.go index 5f88c84a28a..a4848e00dc7 100644 --- a/networkaccess/settings_request_builder.go +++ b/networkaccess/settings_request_builder.go @@ -169,3 +169,7 @@ func (m *SettingsRequestBuilder) ToPatchRequestInformation(ctx context.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 *SettingsRequestBuilder) WithUrl(rawUrl string)(*SettingsRequestBuilder) { + return NewSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/tenant_status_request_builder.go b/networkaccess/tenant_status_request_builder.go index ea3a4ac09dd..2e4c187513b 100644 --- a/networkaccess/tenant_status_request_builder.go +++ b/networkaccess/tenant_status_request_builder.go @@ -156,3 +156,7 @@ func (m *TenantStatusRequestBuilder) ToPatchRequestInformation(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 *TenantStatusRequestBuilder) WithUrl(rawUrl string)(*TenantStatusRequestBuilder) { + return NewTenantStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/oauth2permissiongrants/count_request_builder.go b/oauth2permissiongrants/count_request_builder.go index 2dca2511d01..23d7d350278 100644 --- a/oauth2permissiongrants/count_request_builder.go +++ b/oauth2permissiongrants/count_request_builder.go @@ -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); +} diff --git a/oauth2permissiongrants/delta_request_builder.go b/oauth2permissiongrants/delta_request_builder.go index eead9bbdece..6603665c7de 100644 --- a/oauth2permissiongrants/delta_request_builder.go +++ b/oauth2permissiongrants/delta_request_builder.go @@ -84,3 +84,7 @@ func (m *DeltaRequestBuilder) 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 *DeltaRequestBuilder) WithUrl(rawUrl string)(*DeltaRequestBuilder) { + return NewDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/oauth2permissiongrants/o_auth2_permission_grant_item_request_builder.go b/oauth2permissiongrants/o_auth2_permission_grant_item_request_builder.go index a91ecb75e97..57def4a9b2b 100644 --- a/oauth2permissiongrants/o_auth2_permission_grant_item_request_builder.go +++ b/oauth2permissiongrants/o_auth2_permission_grant_item_request_builder.go @@ -162,3 +162,7 @@ func (m *OAuth2PermissionGrantItemRequestBuilder) ToPatchRequestInformation(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 *OAuth2PermissionGrantItemRequestBuilder) WithUrl(rawUrl string)(*OAuth2PermissionGrantItemRequestBuilder) { + return NewOAuth2PermissionGrantItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/oauth2permissiongrants/oauth2_permission_grants_request_builder.go b/oauth2permissiongrants/oauth2_permission_grants_request_builder.go index 67f4910ad79..7acf9cd2fd3 100644 --- a/oauth2permissiongrants/oauth2_permission_grants_request_builder.go +++ b/oauth2permissiongrants/oauth2_permission_grants_request_builder.go @@ -46,8 +46,8 @@ type Oauth2PermissionGrantsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOAuth2PermissionGrantIdString provides operations to manage the collection of oAuth2PermissionGrant entities. -func (m *Oauth2PermissionGrantsRequestBuilder) ByOAuth2PermissionGrantIdString(oAuth2PermissionGrantId string)(*OAuth2PermissionGrantItemRequestBuilder) { +// ByOAuth2PermissionGrantId provides operations to manage the collection of oAuth2PermissionGrant entities. +func (m *Oauth2PermissionGrantsRequestBuilder) ByOAuth2PermissionGrantId(oAuth2PermissionGrantId string)(*OAuth2PermissionGrantItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *Oauth2PermissionGrantsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *Oauth2PermissionGrantsRequestBuilder) WithUrl(rawUrl string)(*Oauth2PermissionGrantsRequestBuilder) { + return NewOauth2PermissionGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/count_request_builder.go b/onpremisespublishingprofiles/count_request_builder.go index fc69e779c18..209eaf4733e 100644 --- a/onpremisespublishingprofiles/count_request_builder.go +++ b/onpremisespublishingprofiles/count_request_builder.go @@ -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); +} diff --git a/onpremisespublishingprofiles/item_agent_groups_count_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_count_request_builder.go index 87d36d5838f..e45aab21d71 100644 --- a/onpremisespublishingprofiles/item_agent_groups_count_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAgentGroupsCountRequestBuilder) ToGetRequestInformation(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 *ItemAgentGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAgentGroupsCountRequestBuilder) { + return NewItemAgentGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agent_groups_item_agents_count_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_agents_count_request_builder.go index e65082c774c..871b336cdf7 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_agents_count_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_agents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAgentGroupsItemAgentsCountRequestBuilder) ToGetRequestInformation(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 *ItemAgentGroupsItemAgentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAgentGroupsItemAgentsCountRequestBuilder) { + return NewItemAgentGroupsItemAgentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_count_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_count_request_builder.go index bb985f15308..1c6168313bd 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_count_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAgentGroupsItemAgentsItemAgentGroupsCountRequestBuilder) ToGetReque } 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 *ItemAgentGroupsItemAgentsItemAgentGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAgentGroupsItemAgentsItemAgentGroupsCountRequestBuilder) { + return NewItemAgentGroupsItemAgentsItemAgentGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_item_ref_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_item_ref_request_builder.go index 14cad580a2e..c1c1c6f768f 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_item_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_item_ref_request_builder.go @@ -68,3 +68,7 @@ func (m *ItemAgentGroupsItemAgentsItemAgentGroupsItemRefRequestBuilder) ToDelete } 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 *ItemAgentGroupsItemAgentsItemAgentGroupsItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemAgentGroupsItemAgentsItemAgentGroupsItemRefRequestBuilder) { + return NewItemAgentGroupsItemAgentsItemAgentGroupsItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_ref_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_ref_request_builder.go index 3448d767103..c2d7be6c91c 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_ref_request_builder.go @@ -122,3 +122,7 @@ func (m *ItemAgentGroupsItemAgentsItemAgentGroupsRefRequestBuilder) ToPostReques } 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 *ItemAgentGroupsItemAgentsItemAgentGroupsRefRequestBuilder) WithUrl(rawUrl string)(*ItemAgentGroupsItemAgentsItemAgentGroupsRefRequestBuilder) { + return NewItemAgentGroupsItemAgentsItemAgentGroupsRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_request_builder.go index be14c17e9b3..0b6747a753f 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_request_builder.go @@ -39,8 +39,8 @@ type ItemAgentGroupsItemAgentsItemAgentGroupsRequestBuilderGetRequestConfigurati // Request query parameters QueryParameters *ItemAgentGroupsItemAgentsItemAgentGroupsRequestBuilderGetQueryParameters } -// ByOnPremisesAgentGroupId1String gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.onPremisesPublishingProfiles.item.agentGroups.item.agents.item.agentGroups.item collection -func (m *ItemAgentGroupsItemAgentsItemAgentGroupsRequestBuilder) ByOnPremisesAgentGroupId1String(onPremisesAgentGroupId1 string)(*ItemAgentGroupsItemAgentsItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) { +// ByOnPremisesAgentGroupId1 gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.onPremisesPublishingProfiles.item.agentGroups.item.agents.item.agentGroups.item collection +func (m *ItemAgentGroupsItemAgentsItemAgentGroupsRequestBuilder) ByOnPremisesAgentGroupId1(onPremisesAgentGroupId1 string)(*ItemAgentGroupsItemAgentsItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -106,3 +106,7 @@ func (m *ItemAgentGroupsItemAgentsItemAgentGroupsRequestBuilder) ToGetRequestInf } 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 *ItemAgentGroupsItemAgentsItemAgentGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemAgentGroupsItemAgentsItemAgentGroupsRequestBuilder) { + return NewItemAgentGroupsItemAgentsItemAgentGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agent_groups_item_agents_on_premises_agent_item_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_agents_on_premises_agent_item_request_builder.go index 79a1b646e08..38d0d4fea03 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_agents_on_premises_agent_item_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_agents_on_premises_agent_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemAgentGroupsItemAgentsOnPremisesAgentItemRequestBuilder) ToPatchRequ } 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 *ItemAgentGroupsItemAgentsOnPremisesAgentItemRequestBuilder) WithUrl(rawUrl string)(*ItemAgentGroupsItemAgentsOnPremisesAgentItemRequestBuilder) { + return NewItemAgentGroupsItemAgentsOnPremisesAgentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agent_groups_item_agents_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_agents_request_builder.go index b03cf6e174a..93a054cef36 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_agents_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_agents_request_builder.go @@ -46,8 +46,8 @@ type ItemAgentGroupsItemAgentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnPremisesAgentIdString provides operations to manage the agents property of the microsoft.graph.onPremisesAgentGroup entity. -func (m *ItemAgentGroupsItemAgentsRequestBuilder) ByOnPremisesAgentIdString(onPremisesAgentId string)(*ItemAgentGroupsItemAgentsOnPremisesAgentItemRequestBuilder) { +// ByOnPremisesAgentId provides operations to manage the agents property of the microsoft.graph.onPremisesAgentGroup entity. +func (m *ItemAgentGroupsItemAgentsRequestBuilder) ByOnPremisesAgentId(onPremisesAgentId string)(*ItemAgentGroupsItemAgentsOnPremisesAgentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemAgentGroupsItemAgentsRequestBuilder) ToPostRequestInformation(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 *ItemAgentGroupsItemAgentsRequestBuilder) WithUrl(rawUrl string)(*ItemAgentGroupsItemAgentsRequestBuilder) { + return NewItemAgentGroupsItemAgentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_count_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_count_request_builder.go index 37de276eb45..dd7be57c838 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_count_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAgentGroupsItemPublishedResourcesCountRequestBuilder) ToGetRequestI } 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 *ItemAgentGroupsItemPublishedResourcesCountRequestBuilder) WithUrl(rawUrl string)(*ItemAgentGroupsItemPublishedResourcesCountRequestBuilder) { + return NewItemAgentGroupsItemPublishedResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_count_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_count_request_builder.go index 9692a29a61a..2044bf01a68 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_count_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAgentGroupsItemPublishedResourcesItemAgentGroupsCountRequestBuilder } 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 *ItemAgentGroupsItemPublishedResourcesItemAgentGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAgentGroupsItemPublishedResourcesItemAgentGroupsCountRequestBuilder) { + return NewItemAgentGroupsItemPublishedResourcesItemAgentGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_item_ref_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_item_ref_request_builder.go index e26563d2837..2a6954c451f 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_item_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_item_ref_request_builder.go @@ -68,3 +68,7 @@ func (m *ItemAgentGroupsItemPublishedResourcesItemAgentGroupsItemRefRequestBuild } 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 *ItemAgentGroupsItemPublishedResourcesItemAgentGroupsItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemAgentGroupsItemPublishedResourcesItemAgentGroupsItemRefRequestBuilder) { + return NewItemAgentGroupsItemPublishedResourcesItemAgentGroupsItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_ref_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_ref_request_builder.go index e5dda9baffc..c5bf0280275 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_ref_request_builder.go @@ -122,3 +122,7 @@ func (m *ItemAgentGroupsItemPublishedResourcesItemAgentGroupsRefRequestBuilder) } 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 *ItemAgentGroupsItemPublishedResourcesItemAgentGroupsRefRequestBuilder) WithUrl(rawUrl string)(*ItemAgentGroupsItemPublishedResourcesItemAgentGroupsRefRequestBuilder) { + return NewItemAgentGroupsItemPublishedResourcesItemAgentGroupsRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_request_builder.go index 84a81015928..6fcd6dd2ea3 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_request_builder.go @@ -46,8 +46,8 @@ type ItemAgentGroupsItemPublishedResourcesItemAgentGroupsRequestBuilderPostReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnPremisesAgentGroupId1String gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.onPremisesPublishingProfiles.item.agentGroups.item.publishedResources.item.agentGroups.item collection -func (m *ItemAgentGroupsItemPublishedResourcesItemAgentGroupsRequestBuilder) ByOnPremisesAgentGroupId1String(onPremisesAgentGroupId1 string)(*ItemAgentGroupsItemPublishedResourcesItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) { +// ByOnPremisesAgentGroupId1 gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.onPremisesPublishingProfiles.item.agentGroups.item.publishedResources.item.agentGroups.item collection +func (m *ItemAgentGroupsItemPublishedResourcesItemAgentGroupsRequestBuilder) ByOnPremisesAgentGroupId1(onPremisesAgentGroupId1 string)(*ItemAgentGroupsItemPublishedResourcesItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemAgentGroupsItemPublishedResourcesItemAgentGroupsRequestBuilder) 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 *ItemAgentGroupsItemPublishedResourcesItemAgentGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemAgentGroupsItemPublishedResourcesItemAgentGroupsRequestBuilder) { + return NewItemAgentGroupsItemPublishedResourcesItemAgentGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_published_resource_item_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_published_resource_item_request_builder.go index 5333f6facb0..3b0442e366a 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_published_resource_item_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_published_resource_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemAgentGroupsItemPublishedResourcesPublishedResourceItemRequestBuilde } 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 *ItemAgentGroupsItemPublishedResourcesPublishedResourceItemRequestBuilder) WithUrl(rawUrl string)(*ItemAgentGroupsItemPublishedResourcesPublishedResourceItemRequestBuilder) { + return NewItemAgentGroupsItemPublishedResourcesPublishedResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_request_builder.go index f9f209d39e4..f83d2ddeaa2 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_request_builder.go @@ -46,8 +46,8 @@ type ItemAgentGroupsItemPublishedResourcesRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPublishedResourceIdString provides operations to manage the publishedResources property of the microsoft.graph.onPremisesAgentGroup entity. -func (m *ItemAgentGroupsItemPublishedResourcesRequestBuilder) ByPublishedResourceIdString(publishedResourceId string)(*ItemAgentGroupsItemPublishedResourcesPublishedResourceItemRequestBuilder) { +// ByPublishedResourceId provides operations to manage the publishedResources property of the microsoft.graph.onPremisesAgentGroup entity. +func (m *ItemAgentGroupsItemPublishedResourcesRequestBuilder) ByPublishedResourceId(publishedResourceId string)(*ItemAgentGroupsItemPublishedResourcesPublishedResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemAgentGroupsItemPublishedResourcesRequestBuilder) ToPostRequestInfor } 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 *ItemAgentGroupsItemPublishedResourcesRequestBuilder) WithUrl(rawUrl string)(*ItemAgentGroupsItemPublishedResourcesRequestBuilder) { + return NewItemAgentGroupsItemPublishedResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agent_groups_on_premises_agent_group_item_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_on_premises_agent_group_item_request_builder.go index 2b2bea99e02..9fb70d45a87 100644 --- a/onpremisespublishingprofiles/item_agent_groups_on_premises_agent_group_item_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_on_premises_agent_group_item_request_builder.go @@ -170,3 +170,7 @@ func (m *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) ToPatchRequestIn } 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 *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) { + return NewItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agent_groups_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_request_builder.go index 20ff53779c6..7a1d8bcf798 100644 --- a/onpremisespublishingprofiles/item_agent_groups_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_request_builder.go @@ -46,8 +46,8 @@ type ItemAgentGroupsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnPremisesAgentGroupIdString provides operations to manage the agentGroups property of the microsoft.graph.onPremisesPublishingProfile entity. -func (m *ItemAgentGroupsRequestBuilder) ByOnPremisesAgentGroupIdString(onPremisesAgentGroupId string)(*ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) { +// ByOnPremisesAgentGroupId provides operations to manage the agentGroups property of the microsoft.graph.onPremisesPublishingProfile entity. +func (m *ItemAgentGroupsRequestBuilder) ByOnPremisesAgentGroupId(onPremisesAgentGroupId string)(*ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemAgentGroupsRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *ItemAgentGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemAgentGroupsRequestBuilder) { + return NewItemAgentGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agents_count_request_builder.go b/onpremisespublishingprofiles/item_agents_count_request_builder.go index d80b2f11e46..6ca2e598e0d 100644 --- a/onpremisespublishingprofiles/item_agents_count_request_builder.go +++ b/onpremisespublishingprofiles/item_agents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAgentsCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemAgentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAgentsCountRequestBuilder) { + return NewItemAgentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agents_item_agent_groups_count_request_builder.go b/onpremisespublishingprofiles/item_agents_item_agent_groups_count_request_builder.go index a880ded67fa..2277841c4dc 100644 --- a/onpremisespublishingprofiles/item_agents_item_agent_groups_count_request_builder.go +++ b/onpremisespublishingprofiles/item_agents_item_agent_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAgentsItemAgentGroupsCountRequestBuilder) ToGetRequestInformation(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 *ItemAgentsItemAgentGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAgentsItemAgentGroupsCountRequestBuilder) { + return NewItemAgentsItemAgentGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agents_item_agent_groups_item_ref_request_builder.go b/onpremisespublishingprofiles/item_agents_item_agent_groups_item_ref_request_builder.go index 86510255ee2..902d6c4a2af 100644 --- a/onpremisespublishingprofiles/item_agents_item_agent_groups_item_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_agents_item_agent_groups_item_ref_request_builder.go @@ -68,3 +68,7 @@ func (m *ItemAgentsItemAgentGroupsItemRefRequestBuilder) ToDeleteRequestInformat } 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 *ItemAgentsItemAgentGroupsItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemAgentsItemAgentGroupsItemRefRequestBuilder) { + return NewItemAgentsItemAgentGroupsItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agents_item_agent_groups_ref_request_builder.go b/onpremisespublishingprofiles/item_agents_item_agent_groups_ref_request_builder.go index e4ad816a5bd..5041ebbf3fb 100644 --- a/onpremisespublishingprofiles/item_agents_item_agent_groups_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_agents_item_agent_groups_ref_request_builder.go @@ -122,3 +122,7 @@ func (m *ItemAgentsItemAgentGroupsRefRequestBuilder) 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 *ItemAgentsItemAgentGroupsRefRequestBuilder) WithUrl(rawUrl string)(*ItemAgentsItemAgentGroupsRefRequestBuilder) { + return NewItemAgentsItemAgentGroupsRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agents_item_agent_groups_request_builder.go b/onpremisespublishingprofiles/item_agents_item_agent_groups_request_builder.go index 3f75224edd8..1f545086185 100644 --- a/onpremisespublishingprofiles/item_agents_item_agent_groups_request_builder.go +++ b/onpremisespublishingprofiles/item_agents_item_agent_groups_request_builder.go @@ -39,8 +39,8 @@ type ItemAgentsItemAgentGroupsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemAgentsItemAgentGroupsRequestBuilderGetQueryParameters } -// ByOnPremisesAgentGroupIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.onPremisesPublishingProfiles.item.agents.item.agentGroups.item collection -func (m *ItemAgentsItemAgentGroupsRequestBuilder) ByOnPremisesAgentGroupIdString(onPremisesAgentGroupId string)(*ItemAgentsItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) { +// ByOnPremisesAgentGroupId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.onPremisesPublishingProfiles.item.agents.item.agentGroups.item collection +func (m *ItemAgentsItemAgentGroupsRequestBuilder) ByOnPremisesAgentGroupId(onPremisesAgentGroupId string)(*ItemAgentsItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -106,3 +106,7 @@ func (m *ItemAgentsItemAgentGroupsRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemAgentsItemAgentGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemAgentsItemAgentGroupsRequestBuilder) { + return NewItemAgentsItemAgentGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agents_on_premises_agent_item_request_builder.go b/onpremisespublishingprofiles/item_agents_on_premises_agent_item_request_builder.go index 4a1e8bf4555..9f3b4ed6420 100644 --- a/onpremisespublishingprofiles/item_agents_on_premises_agent_item_request_builder.go +++ b/onpremisespublishingprofiles/item_agents_on_premises_agent_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemAgentsOnPremisesAgentItemRequestBuilder) 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 *ItemAgentsOnPremisesAgentItemRequestBuilder) WithUrl(rawUrl string)(*ItemAgentsOnPremisesAgentItemRequestBuilder) { + return NewItemAgentsOnPremisesAgentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_agents_request_builder.go b/onpremisespublishingprofiles/item_agents_request_builder.go index c167c6bb296..1504aa87f1a 100644 --- a/onpremisespublishingprofiles/item_agents_request_builder.go +++ b/onpremisespublishingprofiles/item_agents_request_builder.go @@ -46,8 +46,8 @@ type ItemAgentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnPremisesAgentIdString provides operations to manage the agents property of the microsoft.graph.onPremisesPublishingProfile entity. -func (m *ItemAgentsRequestBuilder) ByOnPremisesAgentIdString(onPremisesAgentId string)(*ItemAgentsOnPremisesAgentItemRequestBuilder) { +// ByOnPremisesAgentId provides operations to manage the agents property of the microsoft.graph.onPremisesPublishingProfile entity. +func (m *ItemAgentsRequestBuilder) ByOnPremisesAgentId(onPremisesAgentId string)(*ItemAgentsOnPremisesAgentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemAgentsRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemAgentsRequestBuilder) WithUrl(rawUrl string)(*ItemAgentsRequestBuilder) { + return NewItemAgentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_connector_groups_connector_group_item_request_builder.go b/onpremisespublishingprofiles/item_connector_groups_connector_group_item_request_builder.go index 1b4585e0fef..304d0f08daa 100644 --- a/onpremisespublishingprofiles/item_connector_groups_connector_group_item_request_builder.go +++ b/onpremisespublishingprofiles/item_connector_groups_connector_group_item_request_builder.go @@ -170,3 +170,7 @@ func (m *ItemConnectorGroupsConnectorGroupItemRequestBuilder) 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 *ItemConnectorGroupsConnectorGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemConnectorGroupsConnectorGroupItemRequestBuilder) { + return NewItemConnectorGroupsConnectorGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_connector_groups_count_request_builder.go b/onpremisespublishingprofiles/item_connector_groups_count_request_builder.go index edbb66497cd..e5e4508aad8 100644 --- a/onpremisespublishingprofiles/item_connector_groups_count_request_builder.go +++ b/onpremisespublishingprofiles/item_connector_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemConnectorGroupsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemConnectorGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemConnectorGroupsCountRequestBuilder) { + return NewItemConnectorGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_connector_groups_item_applications_application_item_request_builder.go b/onpremisespublishingprofiles/item_connector_groups_item_applications_application_item_request_builder.go index fdef20c2ff7..b7d1802670a 100644 --- a/onpremisespublishingprofiles/item_connector_groups_item_applications_application_item_request_builder.go +++ b/onpremisespublishingprofiles/item_connector_groups_item_applications_application_item_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemConnectorGroupsItemApplicationsApplicationItemRequestBuilder) ToGet } 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 *ItemConnectorGroupsItemApplicationsApplicationItemRequestBuilder) WithUrl(rawUrl string)(*ItemConnectorGroupsItemApplicationsApplicationItemRequestBuilder) { + return NewItemConnectorGroupsItemApplicationsApplicationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_connector_groups_item_applications_count_request_builder.go b/onpremisespublishingprofiles/item_connector_groups_item_applications_count_request_builder.go index 6deb49b8391..25445fa14d6 100644 --- a/onpremisespublishingprofiles/item_connector_groups_item_applications_count_request_builder.go +++ b/onpremisespublishingprofiles/item_connector_groups_item_applications_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemConnectorGroupsItemApplicationsCountRequestBuilder) ToGetRequestInf } 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 *ItemConnectorGroupsItemApplicationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemConnectorGroupsItemApplicationsCountRequestBuilder) { + return NewItemConnectorGroupsItemApplicationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_connector_groups_item_applications_item_logo_request_builder.go b/onpremisespublishingprofiles/item_connector_groups_item_applications_item_logo_request_builder.go index 0c3ba18cde7..43d6d9a13e9 100644 --- a/onpremisespublishingprofiles/item_connector_groups_item_applications_item_logo_request_builder.go +++ b/onpremisespublishingprofiles/item_connector_groups_item_applications_item_logo_request_builder.go @@ -100,3 +100,7 @@ func (m *ItemConnectorGroupsItemApplicationsItemLogoRequestBuilder) ToPutRequest } 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 *ItemConnectorGroupsItemApplicationsItemLogoRequestBuilder) WithUrl(rawUrl string)(*ItemConnectorGroupsItemApplicationsItemLogoRequestBuilder) { + return NewItemConnectorGroupsItemApplicationsItemLogoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_connector_groups_item_applications_request_builder.go b/onpremisespublishingprofiles/item_connector_groups_item_applications_request_builder.go index d50dae000b8..b207d2dbe8a 100644 --- a/onpremisespublishingprofiles/item_connector_groups_item_applications_request_builder.go +++ b/onpremisespublishingprofiles/item_connector_groups_item_applications_request_builder.go @@ -39,8 +39,8 @@ type ItemConnectorGroupsItemApplicationsRequestBuilderGetRequestConfiguration st // Request query parameters QueryParameters *ItemConnectorGroupsItemApplicationsRequestBuilderGetQueryParameters } -// ByApplicationIdString provides operations to manage the applications property of the microsoft.graph.connectorGroup entity. -func (m *ItemConnectorGroupsItemApplicationsRequestBuilder) ByApplicationIdString(applicationId string)(*ItemConnectorGroupsItemApplicationsApplicationItemRequestBuilder) { +// ByApplicationId provides operations to manage the applications property of the microsoft.graph.connectorGroup entity. +func (m *ItemConnectorGroupsItemApplicationsRequestBuilder) ByApplicationId(applicationId string)(*ItemConnectorGroupsItemApplicationsApplicationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemConnectorGroupsItemApplicationsRequestBuilder) ToGetRequestInformat } 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 *ItemConnectorGroupsItemApplicationsRequestBuilder) WithUrl(rawUrl string)(*ItemConnectorGroupsItemApplicationsRequestBuilder) { + return NewItemConnectorGroupsItemApplicationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_connector_groups_item_members_count_request_builder.go b/onpremisespublishingprofiles/item_connector_groups_item_members_count_request_builder.go index 7bb926de7e7..a60e7de4927 100644 --- a/onpremisespublishingprofiles/item_connector_groups_item_members_count_request_builder.go +++ b/onpremisespublishingprofiles/item_connector_groups_item_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemConnectorGroupsItemMembersCountRequestBuilder) ToGetRequestInformat } 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 *ItemConnectorGroupsItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemConnectorGroupsItemMembersCountRequestBuilder) { + return NewItemConnectorGroupsItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_connector_groups_item_members_item_ref_request_builder.go b/onpremisespublishingprofiles/item_connector_groups_item_members_item_ref_request_builder.go index 1bd06b61880..2d6354894fe 100644 --- a/onpremisespublishingprofiles/item_connector_groups_item_members_item_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_connector_groups_item_members_item_ref_request_builder.go @@ -68,3 +68,7 @@ func (m *ItemConnectorGroupsItemMembersItemRefRequestBuilder) ToDeleteRequestInf } 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 *ItemConnectorGroupsItemMembersItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemConnectorGroupsItemMembersItemRefRequestBuilder) { + return NewItemConnectorGroupsItemMembersItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_connector_groups_item_members_ref_request_builder.go b/onpremisespublishingprofiles/item_connector_groups_item_members_ref_request_builder.go index 09bd6c4810a..f81a97940f3 100644 --- a/onpremisespublishingprofiles/item_connector_groups_item_members_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_connector_groups_item_members_ref_request_builder.go @@ -122,3 +122,7 @@ func (m *ItemConnectorGroupsItemMembersRefRequestBuilder) ToPostRequestInformati } 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 *ItemConnectorGroupsItemMembersRefRequestBuilder) WithUrl(rawUrl string)(*ItemConnectorGroupsItemMembersRefRequestBuilder) { + return NewItemConnectorGroupsItemMembersRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_connector_groups_item_members_request_builder.go b/onpremisespublishingprofiles/item_connector_groups_item_members_request_builder.go index fc14349b50e..90aa5226001 100644 --- a/onpremisespublishingprofiles/item_connector_groups_item_members_request_builder.go +++ b/onpremisespublishingprofiles/item_connector_groups_item_members_request_builder.go @@ -39,8 +39,8 @@ type ItemConnectorGroupsItemMembersRequestBuilderGetRequestConfiguration struct // Request query parameters QueryParameters *ItemConnectorGroupsItemMembersRequestBuilderGetQueryParameters } -// ByConnectorIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.onPremisesPublishingProfiles.item.connectorGroups.item.members.item collection -func (m *ItemConnectorGroupsItemMembersRequestBuilder) ByConnectorIdString(connectorId string)(*ItemConnectorGroupsItemMembersConnectorItemRequestBuilder) { +// ByConnectorId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.onPremisesPublishingProfiles.item.connectorGroups.item.members.item collection +func (m *ItemConnectorGroupsItemMembersRequestBuilder) ByConnectorId(connectorId string)(*ItemConnectorGroupsItemMembersConnectorItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -106,3 +106,7 @@ func (m *ItemConnectorGroupsItemMembersRequestBuilder) ToGetRequestInformation(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 *ItemConnectorGroupsItemMembersRequestBuilder) WithUrl(rawUrl string)(*ItemConnectorGroupsItemMembersRequestBuilder) { + return NewItemConnectorGroupsItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_connector_groups_request_builder.go b/onpremisespublishingprofiles/item_connector_groups_request_builder.go index 7f18fbd16d8..e93708990ac 100644 --- a/onpremisespublishingprofiles/item_connector_groups_request_builder.go +++ b/onpremisespublishingprofiles/item_connector_groups_request_builder.go @@ -46,8 +46,8 @@ type ItemConnectorGroupsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByConnectorGroupIdString provides operations to manage the connectorGroups property of the microsoft.graph.onPremisesPublishingProfile entity. -func (m *ItemConnectorGroupsRequestBuilder) ByConnectorGroupIdString(connectorGroupId string)(*ItemConnectorGroupsConnectorGroupItemRequestBuilder) { +// ByConnectorGroupId provides operations to manage the connectorGroups property of the microsoft.graph.onPremisesPublishingProfile entity. +func (m *ItemConnectorGroupsRequestBuilder) ByConnectorGroupId(connectorGroupId string)(*ItemConnectorGroupsConnectorGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -96,10 +96,10 @@ func (m *ItemConnectorGroupsRequestBuilder) Get(ctx context.Context, requestConf } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectorGroupCollectionResponseable), nil } -// Post create a connectorGroup object. +// Post create a new connectorGroup. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/connectorgroup-post?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/connectorgroup-post-connectorgroups?view=graph-rest-1.0 func (m *ItemConnectorGroupsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectorGroupable, requestConfiguration *ItemConnectorGroupsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectorGroupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +134,7 @@ func (m *ItemConnectorGroupsRequestBuilder) ToGetRequestInformation(ctx context. } return requestInfo, nil } -// ToPostRequestInformation create a connectorGroup object. +// ToPostRequestInformation create a new connectorGroup. func (m *ItemConnectorGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectorGroupable, requestConfiguration *ItemConnectorGroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -151,3 +151,7 @@ func (m *ItemConnectorGroupsRequestBuilder) 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 *ItemConnectorGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemConnectorGroupsRequestBuilder) { + return NewItemConnectorGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_connectors_connector_item_request_builder.go b/onpremisespublishingprofiles/item_connectors_connector_item_request_builder.go index c2df4aca4f1..57027e1c3c6 100644 --- a/onpremisespublishingprofiles/item_connectors_connector_item_request_builder.go +++ b/onpremisespublishingprofiles/item_connectors_connector_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemConnectorsConnectorItemRequestBuilder) ToPatchRequestInformation(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 *ItemConnectorsConnectorItemRequestBuilder) WithUrl(rawUrl string)(*ItemConnectorsConnectorItemRequestBuilder) { + return NewItemConnectorsConnectorItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_connectors_count_request_builder.go b/onpremisespublishingprofiles/item_connectors_count_request_builder.go index c71e711ef59..39c67d692f4 100644 --- a/onpremisespublishingprofiles/item_connectors_count_request_builder.go +++ b/onpremisespublishingprofiles/item_connectors_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemConnectorsCountRequestBuilder) ToGetRequestInformation(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 *ItemConnectorsCountRequestBuilder) WithUrl(rawUrl string)(*ItemConnectorsCountRequestBuilder) { + return NewItemConnectorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_connectors_item_member_of_count_request_builder.go b/onpremisespublishingprofiles/item_connectors_item_member_of_count_request_builder.go index ca7ffb7229b..7aed577f531 100644 --- a/onpremisespublishingprofiles/item_connectors_item_member_of_count_request_builder.go +++ b/onpremisespublishingprofiles/item_connectors_item_member_of_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemConnectorsItemMemberOfCountRequestBuilder) 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 *ItemConnectorsItemMemberOfCountRequestBuilder) WithUrl(rawUrl string)(*ItemConnectorsItemMemberOfCountRequestBuilder) { + return NewItemConnectorsItemMemberOfCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_connectors_item_member_of_item_ref_request_builder.go b/onpremisespublishingprofiles/item_connectors_item_member_of_item_ref_request_builder.go index 9453b5f2274..452e92d13f4 100644 --- a/onpremisespublishingprofiles/item_connectors_item_member_of_item_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_connectors_item_member_of_item_ref_request_builder.go @@ -68,3 +68,7 @@ func (m *ItemConnectorsItemMemberOfItemRefRequestBuilder) ToDeleteRequestInforma } 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 *ItemConnectorsItemMemberOfItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemConnectorsItemMemberOfItemRefRequestBuilder) { + return NewItemConnectorsItemMemberOfItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_connectors_item_member_of_ref_request_builder.go b/onpremisespublishingprofiles/item_connectors_item_member_of_ref_request_builder.go index 9c62aaeb032..0a07138a109 100644 --- a/onpremisespublishingprofiles/item_connectors_item_member_of_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_connectors_item_member_of_ref_request_builder.go @@ -122,3 +122,7 @@ func (m *ItemConnectorsItemMemberOfRefRequestBuilder) ToPostRequestInformation(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 *ItemConnectorsItemMemberOfRefRequestBuilder) WithUrl(rawUrl string)(*ItemConnectorsItemMemberOfRefRequestBuilder) { + return NewItemConnectorsItemMemberOfRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_connectors_item_member_of_request_builder.go b/onpremisespublishingprofiles/item_connectors_item_member_of_request_builder.go index ecb59188037..3e630486b0a 100644 --- a/onpremisespublishingprofiles/item_connectors_item_member_of_request_builder.go +++ b/onpremisespublishingprofiles/item_connectors_item_member_of_request_builder.go @@ -39,8 +39,8 @@ type ItemConnectorsItemMemberOfRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemConnectorsItemMemberOfRequestBuilderGetQueryParameters } -// ByConnectorGroupIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.onPremisesPublishingProfiles.item.connectors.item.memberOf.item collection -func (m *ItemConnectorsItemMemberOfRequestBuilder) ByConnectorGroupIdString(connectorGroupId string)(*ItemConnectorsItemMemberOfConnectorGroupItemRequestBuilder) { +// ByConnectorGroupId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.onPremisesPublishingProfiles.item.connectors.item.memberOf.item collection +func (m *ItemConnectorsItemMemberOfRequestBuilder) ByConnectorGroupId(connectorGroupId string)(*ItemConnectorsItemMemberOfConnectorGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -106,3 +106,7 @@ func (m *ItemConnectorsItemMemberOfRequestBuilder) ToGetRequestInformation(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 *ItemConnectorsItemMemberOfRequestBuilder) WithUrl(rawUrl string)(*ItemConnectorsItemMemberOfRequestBuilder) { + return NewItemConnectorsItemMemberOfRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_connectors_request_builder.go b/onpremisespublishingprofiles/item_connectors_request_builder.go index efff60c9fce..2ee9b0ad821 100644 --- a/onpremisespublishingprofiles/item_connectors_request_builder.go +++ b/onpremisespublishingprofiles/item_connectors_request_builder.go @@ -46,8 +46,8 @@ type ItemConnectorsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByConnectorIdString provides operations to manage the connectors property of the microsoft.graph.onPremisesPublishingProfile entity. -func (m *ItemConnectorsRequestBuilder) ByConnectorIdString(connectorId string)(*ItemConnectorsConnectorItemRequestBuilder) { +// ByConnectorId provides operations to manage the connectors property of the microsoft.graph.onPremisesPublishingProfile entity. +func (m *ItemConnectorsRequestBuilder) ByConnectorId(connectorId string)(*ItemConnectorsConnectorItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemConnectorsRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *ItemConnectorsRequestBuilder) WithUrl(rawUrl string)(*ItemConnectorsRequestBuilder) { + return NewItemConnectorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_published_resources_count_request_builder.go b/onpremisespublishingprofiles/item_published_resources_count_request_builder.go index 4cf6fb1aaa3..161d03b4d91 100644 --- a/onpremisespublishingprofiles/item_published_resources_count_request_builder.go +++ b/onpremisespublishingprofiles/item_published_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPublishedResourcesCountRequestBuilder) ToGetRequestInformation(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 *ItemPublishedResourcesCountRequestBuilder) WithUrl(rawUrl string)(*ItemPublishedResourcesCountRequestBuilder) { + return NewItemPublishedResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_published_resources_item_agent_groups_count_request_builder.go b/onpremisespublishingprofiles/item_published_resources_item_agent_groups_count_request_builder.go index 859cde7ce9c..44843ecd487 100644 --- a/onpremisespublishingprofiles/item_published_resources_item_agent_groups_count_request_builder.go +++ b/onpremisespublishingprofiles/item_published_resources_item_agent_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPublishedResourcesItemAgentGroupsCountRequestBuilder) ToGetRequestI } 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 *ItemPublishedResourcesItemAgentGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemPublishedResourcesItemAgentGroupsCountRequestBuilder) { + return NewItemPublishedResourcesItemAgentGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_published_resources_item_agent_groups_item_ref_request_builder.go b/onpremisespublishingprofiles/item_published_resources_item_agent_groups_item_ref_request_builder.go index 06e7f658139..5fa7e2ab163 100644 --- a/onpremisespublishingprofiles/item_published_resources_item_agent_groups_item_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_published_resources_item_agent_groups_item_ref_request_builder.go @@ -68,3 +68,7 @@ func (m *ItemPublishedResourcesItemAgentGroupsItemRefRequestBuilder) ToDeleteReq } 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 *ItemPublishedResourcesItemAgentGroupsItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemPublishedResourcesItemAgentGroupsItemRefRequestBuilder) { + return NewItemPublishedResourcesItemAgentGroupsItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_published_resources_item_agent_groups_ref_request_builder.go b/onpremisespublishingprofiles/item_published_resources_item_agent_groups_ref_request_builder.go index 82c56f9940e..79dd59efe9c 100644 --- a/onpremisespublishingprofiles/item_published_resources_item_agent_groups_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_published_resources_item_agent_groups_ref_request_builder.go @@ -122,3 +122,7 @@ func (m *ItemPublishedResourcesItemAgentGroupsRefRequestBuilder) ToPostRequestIn } 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 *ItemPublishedResourcesItemAgentGroupsRefRequestBuilder) WithUrl(rawUrl string)(*ItemPublishedResourcesItemAgentGroupsRefRequestBuilder) { + return NewItemPublishedResourcesItemAgentGroupsRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_published_resources_item_agent_groups_request_builder.go b/onpremisespublishingprofiles/item_published_resources_item_agent_groups_request_builder.go index 23216155e41..2e6769e2ffd 100644 --- a/onpremisespublishingprofiles/item_published_resources_item_agent_groups_request_builder.go +++ b/onpremisespublishingprofiles/item_published_resources_item_agent_groups_request_builder.go @@ -46,8 +46,8 @@ type ItemPublishedResourcesItemAgentGroupsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnPremisesAgentGroupIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.onPremisesPublishingProfiles.item.publishedResources.item.agentGroups.item collection -func (m *ItemPublishedResourcesItemAgentGroupsRequestBuilder) ByOnPremisesAgentGroupIdString(onPremisesAgentGroupId string)(*ItemPublishedResourcesItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) { +// ByOnPremisesAgentGroupId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.onPremisesPublishingProfiles.item.publishedResources.item.agentGroups.item collection +func (m *ItemPublishedResourcesItemAgentGroupsRequestBuilder) ByOnPremisesAgentGroupId(onPremisesAgentGroupId string)(*ItemPublishedResourcesItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemPublishedResourcesItemAgentGroupsRequestBuilder) ToPostRequestInfor } 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 *ItemPublishedResourcesItemAgentGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemPublishedResourcesItemAgentGroupsRequestBuilder) { + return NewItemPublishedResourcesItemAgentGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_published_resources_published_resource_item_request_builder.go b/onpremisespublishingprofiles/item_published_resources_published_resource_item_request_builder.go index 4ba95b7b9d2..463a7bbb780 100644 --- a/onpremisespublishingprofiles/item_published_resources_published_resource_item_request_builder.go +++ b/onpremisespublishingprofiles/item_published_resources_published_resource_item_request_builder.go @@ -163,3 +163,7 @@ func (m *ItemPublishedResourcesPublishedResourceItemRequestBuilder) ToPatchReque } 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 *ItemPublishedResourcesPublishedResourceItemRequestBuilder) WithUrl(rawUrl string)(*ItemPublishedResourcesPublishedResourceItemRequestBuilder) { + return NewItemPublishedResourcesPublishedResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/item_published_resources_request_builder.go b/onpremisespublishingprofiles/item_published_resources_request_builder.go index 4f5a4639f8c..767adcdf808 100644 --- a/onpremisespublishingprofiles/item_published_resources_request_builder.go +++ b/onpremisespublishingprofiles/item_published_resources_request_builder.go @@ -46,8 +46,8 @@ type ItemPublishedResourcesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPublishedResourceIdString provides operations to manage the publishedResources property of the microsoft.graph.onPremisesPublishingProfile entity. -func (m *ItemPublishedResourcesRequestBuilder) ByPublishedResourceIdString(publishedResourceId string)(*ItemPublishedResourcesPublishedResourceItemRequestBuilder) { +// ByPublishedResourceId provides operations to manage the publishedResources property of the microsoft.graph.onPremisesPublishingProfile entity. +func (m *ItemPublishedResourcesRequestBuilder) ByPublishedResourceId(publishedResourceId string)(*ItemPublishedResourcesPublishedResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemPublishedResourcesRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemPublishedResourcesRequestBuilder) WithUrl(rawUrl string)(*ItemPublishedResourcesRequestBuilder) { + return NewItemPublishedResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/on_premises_publishing_profile_item_request_builder.go b/onpremisespublishingprofiles/on_premises_publishing_profile_item_request_builder.go index 063871afbe4..cdd0b434ed2 100644 --- a/onpremisespublishingprofiles/on_premises_publishing_profile_item_request_builder.go +++ b/onpremisespublishingprofiles/on_premises_publishing_profile_item_request_builder.go @@ -173,3 +173,7 @@ func (m *OnPremisesPublishingProfileItemRequestBuilder) ToPatchRequestInformatio } 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 *OnPremisesPublishingProfileItemRequestBuilder) WithUrl(rawUrl string)(*OnPremisesPublishingProfileItemRequestBuilder) { + return NewOnPremisesPublishingProfileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/onpremisespublishingprofiles/on_premises_publishing_profiles_request_builder.go b/onpremisespublishingprofiles/on_premises_publishing_profiles_request_builder.go index f9170d1fbcf..3a8e515c6ad 100644 --- a/onpremisespublishingprofiles/on_premises_publishing_profiles_request_builder.go +++ b/onpremisespublishingprofiles/on_premises_publishing_profiles_request_builder.go @@ -46,8 +46,8 @@ type OnPremisesPublishingProfilesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnPremisesPublishingProfileIdString provides operations to manage the collection of onPremisesPublishingProfile entities. -func (m *OnPremisesPublishingProfilesRequestBuilder) ByOnPremisesPublishingProfileIdString(onPremisesPublishingProfileId string)(*OnPremisesPublishingProfileItemRequestBuilder) { +// ByOnPremisesPublishingProfileId provides operations to manage the collection of onPremisesPublishingProfile entities. +func (m *OnPremisesPublishingProfilesRequestBuilder) ByOnPremisesPublishingProfileId(onPremisesPublishingProfileId string)(*OnPremisesPublishingProfileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *OnPremisesPublishingProfilesRequestBuilder) 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 *OnPremisesPublishingProfilesRequestBuilder) WithUrl(rawUrl string)(*OnPremisesPublishingProfilesRequestBuilder) { + return NewOnPremisesPublishingProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/count_request_builder.go b/organization/count_request_builder.go index cf24ce6b05b..8053ce7ecda 100644 --- a/organization/count_request_builder.go +++ b/organization/count_request_builder.go @@ -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); +} diff --git a/organization/delta_request_builder.go b/organization/delta_request_builder.go index 9564b919486..b1b8c102bbe 100644 --- a/organization/delta_request_builder.go +++ b/organization/delta_request_builder.go @@ -84,3 +84,7 @@ func (m *DeltaRequestBuilder) 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 *DeltaRequestBuilder) WithUrl(rawUrl string)(*DeltaRequestBuilder) { + return NewDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/get_by_ids_request_builder.go b/organization/get_by_ids_request_builder.go index c9cd52613e3..1d642ef6114 100644 --- a/organization/get_by_ids_request_builder.go +++ b/organization/get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *GetByIdsRequestBuilder) WithUrl(rawUrl string)(*GetByIdsRequestBuilder) { + return NewGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/get_user_owned_objects_request_builder.go b/organization/get_user_owned_objects_request_builder.go index 95cc7915345..464bfe6aee5 100644 --- a/organization/get_user_owned_objects_request_builder.go +++ b/organization/get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) 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 *GetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*GetUserOwnedObjectsRequestBuilder) { + return NewGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_branding_background_image_request_builder.go b/organization/item_branding_background_image_request_builder.go index 32752416bd9..88152b93fdb 100644 --- a/organization/item_branding_background_image_request_builder.go +++ b/organization/item_branding_background_image_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemBrandingBackgroundImageRequestBuilder) ToPutRequestInformation(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 *ItemBrandingBackgroundImageRequestBuilder) WithUrl(rawUrl string)(*ItemBrandingBackgroundImageRequestBuilder) { + return NewItemBrandingBackgroundImageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_branding_banner_logo_request_builder.go b/organization/item_branding_banner_logo_request_builder.go index f5b4737ceab..94df3e1bd65 100644 --- a/organization/item_branding_banner_logo_request_builder.go +++ b/organization/item_branding_banner_logo_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemBrandingBannerLogoRequestBuilder) ToPutRequestInformation(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 *ItemBrandingBannerLogoRequestBuilder) WithUrl(rawUrl string)(*ItemBrandingBannerLogoRequestBuilder) { + return NewItemBrandingBannerLogoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_branding_custom_c_s_s_request_builder.go b/organization/item_branding_custom_c_s_s_request_builder.go index 1a125e1d7a9..e5acae0cc1e 100644 --- a/organization/item_branding_custom_c_s_s_request_builder.go +++ b/organization/item_branding_custom_c_s_s_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemBrandingCustomCSSRequestBuilder) ToPutRequestInformation(ctx contex } 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 *ItemBrandingCustomCSSRequestBuilder) WithUrl(rawUrl string)(*ItemBrandingCustomCSSRequestBuilder) { + return NewItemBrandingCustomCSSRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_branding_favicon_request_builder.go b/organization/item_branding_favicon_request_builder.go index b36fb819b83..583b27a43dc 100644 --- a/organization/item_branding_favicon_request_builder.go +++ b/organization/item_branding_favicon_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemBrandingFaviconRequestBuilder) ToPutRequestInformation(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 *ItemBrandingFaviconRequestBuilder) WithUrl(rawUrl string)(*ItemBrandingFaviconRequestBuilder) { + return NewItemBrandingFaviconRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_branding_header_logo_request_builder.go b/organization/item_branding_header_logo_request_builder.go index e9afe6af9ce..fc455028945 100644 --- a/organization/item_branding_header_logo_request_builder.go +++ b/organization/item_branding_header_logo_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemBrandingHeaderLogoRequestBuilder) ToPutRequestInformation(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 *ItemBrandingHeaderLogoRequestBuilder) WithUrl(rawUrl string)(*ItemBrandingHeaderLogoRequestBuilder) { + return NewItemBrandingHeaderLogoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_branding_localizations_count_request_builder.go b/organization/item_branding_localizations_count_request_builder.go index 36e6b9dc47d..403967c1062 100644 --- a/organization/item_branding_localizations_count_request_builder.go +++ b/organization/item_branding_localizations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemBrandingLocalizationsCountRequestBuilder) ToGetRequestInformation(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 *ItemBrandingLocalizationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemBrandingLocalizationsCountRequestBuilder) { + return NewItemBrandingLocalizationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_branding_localizations_item_background_image_request_builder.go b/organization/item_branding_localizations_item_background_image_request_builder.go index 60309dc13db..c0cf2722781 100644 --- a/organization/item_branding_localizations_item_background_image_request_builder.go +++ b/organization/item_branding_localizations_item_background_image_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemBrandingLocalizationsItemBackgroundImageRequestBuilder) ToPutReques } 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 *ItemBrandingLocalizationsItemBackgroundImageRequestBuilder) WithUrl(rawUrl string)(*ItemBrandingLocalizationsItemBackgroundImageRequestBuilder) { + return NewItemBrandingLocalizationsItemBackgroundImageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_branding_localizations_item_banner_logo_request_builder.go b/organization/item_branding_localizations_item_banner_logo_request_builder.go index 0e21f5aa0c4..2f1409fbbf0 100644 --- a/organization/item_branding_localizations_item_banner_logo_request_builder.go +++ b/organization/item_branding_localizations_item_banner_logo_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemBrandingLocalizationsItemBannerLogoRequestBuilder) ToPutRequestInfo } 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 *ItemBrandingLocalizationsItemBannerLogoRequestBuilder) WithUrl(rawUrl string)(*ItemBrandingLocalizationsItemBannerLogoRequestBuilder) { + return NewItemBrandingLocalizationsItemBannerLogoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_branding_localizations_item_custom_c_s_s_request_builder.go b/organization/item_branding_localizations_item_custom_c_s_s_request_builder.go index cc51ec23f93..a505ebcf219 100644 --- a/organization/item_branding_localizations_item_custom_c_s_s_request_builder.go +++ b/organization/item_branding_localizations_item_custom_c_s_s_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemBrandingLocalizationsItemCustomCSSRequestBuilder) ToPutRequestInfor } 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 *ItemBrandingLocalizationsItemCustomCSSRequestBuilder) WithUrl(rawUrl string)(*ItemBrandingLocalizationsItemCustomCSSRequestBuilder) { + return NewItemBrandingLocalizationsItemCustomCSSRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_branding_localizations_item_favicon_request_builder.go b/organization/item_branding_localizations_item_favicon_request_builder.go index 95892ec16b2..b96e26240b5 100644 --- a/organization/item_branding_localizations_item_favicon_request_builder.go +++ b/organization/item_branding_localizations_item_favicon_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemBrandingLocalizationsItemFaviconRequestBuilder) ToPutRequestInforma } 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 *ItemBrandingLocalizationsItemFaviconRequestBuilder) WithUrl(rawUrl string)(*ItemBrandingLocalizationsItemFaviconRequestBuilder) { + return NewItemBrandingLocalizationsItemFaviconRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_branding_localizations_item_header_logo_request_builder.go b/organization/item_branding_localizations_item_header_logo_request_builder.go index 43acc7a5df1..6219804d5d4 100644 --- a/organization/item_branding_localizations_item_header_logo_request_builder.go +++ b/organization/item_branding_localizations_item_header_logo_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemBrandingLocalizationsItemHeaderLogoRequestBuilder) ToPutRequestInfo } 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 *ItemBrandingLocalizationsItemHeaderLogoRequestBuilder) WithUrl(rawUrl string)(*ItemBrandingLocalizationsItemHeaderLogoRequestBuilder) { + return NewItemBrandingLocalizationsItemHeaderLogoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_branding_localizations_item_square_logo_dark_request_builder.go b/organization/item_branding_localizations_item_square_logo_dark_request_builder.go index b3a205c8652..73129973f0e 100644 --- a/organization/item_branding_localizations_item_square_logo_dark_request_builder.go +++ b/organization/item_branding_localizations_item_square_logo_dark_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemBrandingLocalizationsItemSquareLogoDarkRequestBuilder) ToPutRequest } 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 *ItemBrandingLocalizationsItemSquareLogoDarkRequestBuilder) WithUrl(rawUrl string)(*ItemBrandingLocalizationsItemSquareLogoDarkRequestBuilder) { + return NewItemBrandingLocalizationsItemSquareLogoDarkRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_branding_localizations_item_square_logo_request_builder.go b/organization/item_branding_localizations_item_square_logo_request_builder.go index d4e7d427157..c77e225b4b4 100644 --- a/organization/item_branding_localizations_item_square_logo_request_builder.go +++ b/organization/item_branding_localizations_item_square_logo_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemBrandingLocalizationsItemSquareLogoRequestBuilder) ToPutRequestInfo } 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 *ItemBrandingLocalizationsItemSquareLogoRequestBuilder) WithUrl(rawUrl string)(*ItemBrandingLocalizationsItemSquareLogoRequestBuilder) { + return NewItemBrandingLocalizationsItemSquareLogoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_branding_localizations_organizational_branding_localization_item_request_builder.go b/organization/item_branding_localizations_organizational_branding_localization_item_request_builder.go index a4cdea69ad0..efccbb7ff48 100644 --- a/organization/item_branding_localizations_organizational_branding_localization_item_request_builder.go +++ b/organization/item_branding_localizations_organizational_branding_localization_item_request_builder.go @@ -190,3 +190,7 @@ func (m *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestB } 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 *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilder) WithUrl(rawUrl string)(*ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilder) { + return NewItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_branding_localizations_request_builder.go b/organization/item_branding_localizations_request_builder.go index 5924a9bea3b..117ae73a0fe 100644 --- a/organization/item_branding_localizations_request_builder.go +++ b/organization/item_branding_localizations_request_builder.go @@ -46,8 +46,8 @@ type ItemBrandingLocalizationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOrganizationalBrandingLocalizationIdString provides operations to manage the localizations property of the microsoft.graph.organizationalBranding entity. -func (m *ItemBrandingLocalizationsRequestBuilder) ByOrganizationalBrandingLocalizationIdString(organizationalBrandingLocalizationId string)(*ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilder) { +// ByOrganizationalBrandingLocalizationId provides operations to manage the localizations property of the microsoft.graph.organizationalBranding entity. +func (m *ItemBrandingLocalizationsRequestBuilder) ByOrganizationalBrandingLocalizationId(organizationalBrandingLocalizationId string)(*ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemBrandingLocalizationsRequestBuilder) ToPostRequestInformation(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 *ItemBrandingLocalizationsRequestBuilder) WithUrl(rawUrl string)(*ItemBrandingLocalizationsRequestBuilder) { + return NewItemBrandingLocalizationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_branding_request_builder.go b/organization/item_branding_request_builder.go index 55b7c9388ca..9e6fdc209be 100644 --- a/organization/item_branding_request_builder.go +++ b/organization/item_branding_request_builder.go @@ -194,3 +194,7 @@ func (m *ItemBrandingRequestBuilder) ToPatchRequestInformation(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 *ItemBrandingRequestBuilder) WithUrl(rawUrl string)(*ItemBrandingRequestBuilder) { + return NewItemBrandingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_branding_square_logo_dark_request_builder.go b/organization/item_branding_square_logo_dark_request_builder.go index 9ef9f69ae16..e39ca9e33b8 100644 --- a/organization/item_branding_square_logo_dark_request_builder.go +++ b/organization/item_branding_square_logo_dark_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemBrandingSquareLogoDarkRequestBuilder) ToPutRequestInformation(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 *ItemBrandingSquareLogoDarkRequestBuilder) WithUrl(rawUrl string)(*ItemBrandingSquareLogoDarkRequestBuilder) { + return NewItemBrandingSquareLogoDarkRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_branding_square_logo_request_builder.go b/organization/item_branding_square_logo_request_builder.go index 94a260046a2..0dee8cc18c6 100644 --- a/organization/item_branding_square_logo_request_builder.go +++ b/organization/item_branding_square_logo_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemBrandingSquareLogoRequestBuilder) ToPutRequestInformation(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 *ItemBrandingSquareLogoRequestBuilder) WithUrl(rawUrl string)(*ItemBrandingSquareLogoRequestBuilder) { + return NewItemBrandingSquareLogoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_certificate_based_auth_configuration_certificate_based_auth_configuration_item_request_builder.go b/organization/item_certificate_based_auth_configuration_certificate_based_auth_configuration_item_request_builder.go index d2326bd16d4..d58715976b6 100644 --- a/organization/item_certificate_based_auth_configuration_certificate_based_auth_configuration_item_request_builder.go +++ b/organization/item_certificate_based_auth_configuration_certificate_based_auth_configuration_item_request_builder.go @@ -116,3 +116,7 @@ func (m *ItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationI } 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 *ItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*ItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationItemRequestBuilder) { + return NewItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_certificate_based_auth_configuration_count_request_builder.go b/organization/item_certificate_based_auth_configuration_count_request_builder.go index 59771407fad..33b97e4534b 100644 --- a/organization/item_certificate_based_auth_configuration_count_request_builder.go +++ b/organization/item_certificate_based_auth_configuration_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemCertificateBasedAuthConfigurationCountRequestBuilder) ToGetRequestI } 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 *ItemCertificateBasedAuthConfigurationCountRequestBuilder) WithUrl(rawUrl string)(*ItemCertificateBasedAuthConfigurationCountRequestBuilder) { + return NewItemCertificateBasedAuthConfigurationCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_certificate_based_auth_configuration_request_builder.go b/organization/item_certificate_based_auth_configuration_request_builder.go index 09dabe15830..ae6934d8c53 100644 --- a/organization/item_certificate_based_auth_configuration_request_builder.go +++ b/organization/item_certificate_based_auth_configuration_request_builder.go @@ -46,8 +46,8 @@ type ItemCertificateBasedAuthConfigurationRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCertificateBasedAuthConfigurationIdString provides operations to manage the certificateBasedAuthConfiguration property of the microsoft.graph.organization entity. -func (m *ItemCertificateBasedAuthConfigurationRequestBuilder) ByCertificateBasedAuthConfigurationIdString(certificateBasedAuthConfigurationId string)(*ItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationItemRequestBuilder) { +// ByCertificateBasedAuthConfigurationId provides operations to manage the certificateBasedAuthConfiguration property of the microsoft.graph.organization entity. +func (m *ItemCertificateBasedAuthConfigurationRequestBuilder) ByCertificateBasedAuthConfigurationId(certificateBasedAuthConfigurationId string)(*ItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemCertificateBasedAuthConfigurationRequestBuilder) ToPostRequestInfor } 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 *ItemCertificateBasedAuthConfigurationRequestBuilder) WithUrl(rawUrl string)(*ItemCertificateBasedAuthConfigurationRequestBuilder) { + return NewItemCertificateBasedAuthConfigurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_check_member_groups_request_builder.go b/organization/item_check_member_groups_request_builder.go index d4198409912..a769efbb652 100644 --- a/organization/item_check_member_groups_request_builder.go +++ b/organization/item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) 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 *ItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberGroupsRequestBuilder) { + return NewItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_check_member_objects_request_builder.go b/organization/item_check_member_objects_request_builder.go index ce829377ba0..ac901111e3d 100644 --- a/organization/item_check_member_objects_request_builder.go +++ b/organization/item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberObjectsRequestBuilder) { + return NewItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_extensions_count_request_builder.go b/organization/item_extensions_count_request_builder.go index 4d7b27d37f8..892bfabb2c2 100644 --- a/organization/item_extensions_count_request_builder.go +++ b/organization/item_extensions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemExtensionsCountRequestBuilder) ToGetRequestInformation(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 *ItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemExtensionsCountRequestBuilder) { + return NewItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_extensions_extension_item_request_builder.go b/organization/item_extensions_extension_item_request_builder.go index 2613b3de6c0..38b8b2b1c11 100644 --- a/organization/item_extensions_extension_item_request_builder.go +++ b/organization/item_extensions_extension_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemExtensionsExtensionItemRequestBuilder) ToPatchRequestInformation(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 *ItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemExtensionsExtensionItemRequestBuilder) { + return NewItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_extensions_request_builder.go b/organization/item_extensions_request_builder.go index fda678c767b..f018b0bc915 100644 --- a/organization/item_extensions_request_builder.go +++ b/organization/item_extensions_request_builder.go @@ -46,8 +46,8 @@ type ItemExtensionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.organization entity. -func (m *ItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.organization entity. +func (m *ItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *ItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemExtensionsRequestBuilder) { + return NewItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_get_member_groups_request_builder.go b/organization/item_get_member_groups_request_builder.go index d165953049d..3f8c71f00bf 100644 --- a/organization/item_get_member_groups_request_builder.go +++ b/organization/item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) 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 *ItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberGroupsRequestBuilder) { + return NewItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_get_member_objects_request_builder.go b/organization/item_get_member_objects_request_builder.go index 8168045d06f..802e589c8f3 100644 --- a/organization/item_get_member_objects_request_builder.go +++ b/organization/item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberObjectsRequestBuilder) { + return NewItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_partner_information_request_builder.go b/organization/item_partner_information_request_builder.go index e008900c843..2182961564a 100644 --- a/organization/item_partner_information_request_builder.go +++ b/organization/item_partner_information_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemPartnerInformationRequestBuilder) ToPatchRequestInformation(ctx con } 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 *ItemPartnerInformationRequestBuilder) WithUrl(rawUrl string)(*ItemPartnerInformationRequestBuilder) { + return NewItemPartnerInformationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_restore_request_builder.go b/organization/item_restore_request_builder.go index 61c2ddeb610..f277ad9310a 100644 --- a/organization/item_restore_request_builder.go +++ b/organization/item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemRestoreRequestBuilder) { + return NewItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_set_mobile_device_management_authority_request_builder.go b/organization/item_set_mobile_device_management_authority_request_builder.go index d54cdef0bea..90c414c4c5c 100644 --- a/organization/item_set_mobile_device_management_authority_request_builder.go +++ b/organization/item_set_mobile_device_management_authority_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemSetMobileDeviceManagementAuthorityRequestBuilder) ToPostRequestInfo } 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 *ItemSetMobileDeviceManagementAuthorityRequestBuilder) WithUrl(rawUrl string)(*ItemSetMobileDeviceManagementAuthorityRequestBuilder) { + return NewItemSetMobileDeviceManagementAuthorityRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_settings_contact_insights_request_builder.go b/organization/item_settings_contact_insights_request_builder.go index a3ce5601647..1639df0861f 100644 --- a/organization/item_settings_contact_insights_request_builder.go +++ b/organization/item_settings_contact_insights_request_builder.go @@ -92,7 +92,7 @@ func (m *ItemSettingsContactInsightsRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InsightsSettingsable), nil } -// Patch update the privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy +// Patch update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/insightssettings-update?view=graph-rest-1.0 @@ -142,7 +142,7 @@ func (m *ItemSettingsContactInsightsRequestBuilder) ToGetRequestInformation(ctx } return requestInfo, nil } -// ToPatchRequestInformation update the privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy +// ToPatchRequestInformation update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy func (m *ItemSettingsContactInsightsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InsightsSettingsable, requestConfiguration *ItemSettingsContactInsightsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -159,3 +159,7 @@ func (m *ItemSettingsContactInsightsRequestBuilder) ToPatchRequestInformation(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 *ItemSettingsContactInsightsRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsContactInsightsRequestBuilder) { + return NewItemSettingsContactInsightsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_settings_item_insights_request_builder.go b/organization/item_settings_item_insights_request_builder.go index 3de02c78c10..e92f519a88a 100644 --- a/organization/item_settings_item_insights_request_builder.go +++ b/organization/item_settings_item_insights_request_builder.go @@ -92,7 +92,7 @@ func (m *ItemSettingsItemInsightsRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InsightsSettingsable), nil } -// Patch update the privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy +// Patch update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/insightssettings-update?view=graph-rest-1.0 @@ -142,7 +142,7 @@ func (m *ItemSettingsItemInsightsRequestBuilder) ToGetRequestInformation(ctx con } return requestInfo, nil } -// ToPatchRequestInformation update the privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy +// ToPatchRequestInformation update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy func (m *ItemSettingsItemInsightsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InsightsSettingsable, requestConfiguration *ItemSettingsItemInsightsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -159,3 +159,7 @@ func (m *ItemSettingsItemInsightsRequestBuilder) 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 *ItemSettingsItemInsightsRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsItemInsightsRequestBuilder) { + return NewItemSettingsItemInsightsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_settings_microsoft_application_data_access_request_builder.go b/organization/item_settings_microsoft_application_data_access_request_builder.go index 4f175ab8c11..09f71ad7de8 100644 --- a/organization/item_settings_microsoft_application_data_access_request_builder.go +++ b/organization/item_settings_microsoft_application_data_access_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemSettingsMicrosoftApplicationDataAccessRequestBuilder) ToPatchReques } 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 *ItemSettingsMicrosoftApplicationDataAccessRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsMicrosoftApplicationDataAccessRequestBuilder) { + return NewItemSettingsMicrosoftApplicationDataAccessRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_settings_people_insights_request_builder.go b/organization/item_settings_people_insights_request_builder.go index 33f72cb62fb..e561830cb43 100644 --- a/organization/item_settings_people_insights_request_builder.go +++ b/organization/item_settings_people_insights_request_builder.go @@ -18,7 +18,7 @@ type ItemSettingsPeopleInsightsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSettingsPeopleInsightsRequestBuilderGetQueryParameters get the properties of an insightsSettings object for displaying or returning people insights in an organization. To learn how to customize privacy for people insights in an organization, see Customize people insights privacy. +// ItemSettingsPeopleInsightsRequestBuilderGetQueryParameters get the properties of an insightsSettings object for displaying or returning people insights in an organization. To learn how to customize privacy for people insights in an organization, see Customize people insights privacy in Microsoft Graph. type ItemSettingsPeopleInsightsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemSettingsPeopleInsightsRequestBuilder) Delete(ctx context.Context, r } return nil } -// Get get the properties of an insightsSettings object for displaying or returning people insights in an organization. To learn how to customize privacy for people insights in an organization, see Customize people insights privacy. +// Get get the properties of an insightsSettings object for displaying or returning people insights in an organization. To learn how to customize privacy for people insights in an organization, see Customize people insights privacy in Microsoft Graph. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/organizationsettings-list-peopleinsights?view=graph-rest-1.0 @@ -92,7 +92,7 @@ func (m *ItemSettingsPeopleInsightsRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InsightsSettingsable), nil } -// Patch update the privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy +// Patch update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/insightssettings-update?view=graph-rest-1.0 @@ -126,7 +126,7 @@ func (m *ItemSettingsPeopleInsightsRequestBuilder) ToDeleteRequestInformation(ct } return requestInfo, nil } -// ToGetRequestInformation get the properties of an insightsSettings object for displaying or returning people insights in an organization. To learn how to customize privacy for people insights in an organization, see Customize people insights privacy. +// ToGetRequestInformation get the properties of an insightsSettings object for displaying or returning people insights in an organization. To learn how to customize privacy for people insights in an organization, see Customize people insights privacy in Microsoft Graph. func (m *ItemSettingsPeopleInsightsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsPeopleInsightsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -142,7 +142,7 @@ func (m *ItemSettingsPeopleInsightsRequestBuilder) ToGetRequestInformation(ctx c } return requestInfo, nil } -// ToPatchRequestInformation update the privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy +// ToPatchRequestInformation update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy func (m *ItemSettingsPeopleInsightsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InsightsSettingsable, requestConfiguration *ItemSettingsPeopleInsightsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -159,3 +159,7 @@ func (m *ItemSettingsPeopleInsightsRequestBuilder) ToPatchRequestInformation(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 *ItemSettingsPeopleInsightsRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsPeopleInsightsRequestBuilder) { + return NewItemSettingsPeopleInsightsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_settings_profile_card_properties_profile_card_property_item_request_builder.go b/organization/item_settings_profile_card_properties_profile_card_property_item_request_builder.go deleted file mode 100644 index e1dacd8340e..00000000000 --- a/organization/item_settings_profile_card_properties_profile_card_property_item_request_builder.go +++ /dev/null @@ -1,155 +0,0 @@ -package organization - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilder provides operations to manage the profileCardProperties property of the microsoft.graph.organizationSettings entity. -type ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilderDeleteRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilderGetQueryParameters get profileCardProperties from organization -type ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilderGetQueryParameters struct { - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` -} -// ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilderGetQueryParameters -} -// ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilderPatchRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilderInternal instantiates a new ProfileCardPropertyItemRequestBuilder and sets the default values. -func NewItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilder) { - m := &ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/organization/{organization%2Did}/settings/profileCardProperties/{profileCardProperty%2Did}{?%24select,%24expand}", pathParameters), - } - return m -} -// NewItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilder instantiates a new ProfileCardPropertyItemRequestBuilder and sets the default values. -func NewItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilderInternal(urlParams, requestAdapter) -} -// Delete delete navigation property profileCardProperties for organization -func (m *ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilderDeleteRequestConfiguration)(error) { - requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); - if err != nil { - return err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) - if err != nil { - return err - } - return nil -} -// Get get profileCardProperties from organization -func (m *ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateProfileCardPropertyFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyable), nil -} -// Patch update the navigation property profileCardProperties in organization -func (m *ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyable, requestConfiguration *ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyable, error) { - requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateProfileCardPropertyFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyable), nil -} -// ToDeleteRequestInformation delete navigation property profileCardProperties for organization -func (m *ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - return requestInfo, nil -} -// ToGetRequestInformation get profileCardProperties from organization -func (m *ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.Add("Accept", "application/json") - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - return requestInfo, nil -} -// ToPatchRequestInformation update the navigation property profileCardProperties in organization -func (m *ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyable, requestConfiguration *ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.Add("Accept", "application/json") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - return requestInfo, nil -} diff --git a/organization/item_settings_profile_card_properties_request_builder.go b/organization/item_settings_profile_card_properties_request_builder.go deleted file mode 100644 index 5a7b9b0a1cc..00000000000 --- a/organization/item_settings_profile_card_properties_request_builder.go +++ /dev/null @@ -1,147 +0,0 @@ -package organization - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// ItemSettingsProfileCardPropertiesRequestBuilder provides operations to manage the profileCardProperties property of the microsoft.graph.organizationSettings entity. -type ItemSettingsProfileCardPropertiesRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// ItemSettingsProfileCardPropertiesRequestBuilderGetQueryParameters get profileCardProperties from organization -type ItemSettingsProfileCardPropertiesRequestBuilderGetQueryParameters struct { - // Include count of items - Count *bool `uriparametername:"%24count"` - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Order items by property values - Orderby []string `uriparametername:"%24orderby"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` - // Skip the first n items - Skip *int32 `uriparametername:"%24skip"` - // Show only the first n items - Top *int32 `uriparametername:"%24top"` -} -// ItemSettingsProfileCardPropertiesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ItemSettingsProfileCardPropertiesRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *ItemSettingsProfileCardPropertiesRequestBuilderGetQueryParameters -} -// ItemSettingsProfileCardPropertiesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ItemSettingsProfileCardPropertiesRequestBuilderPostRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// ByProfileCardPropertyIdString provides operations to manage the profileCardProperties property of the microsoft.graph.organizationSettings entity. -func (m *ItemSettingsProfileCardPropertiesRequestBuilder) ByProfileCardPropertyIdString(profileCardPropertyId string)(*ItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilder) { - urlTplParams := make(map[string]string) - for idx, item := range m.BaseRequestBuilder.PathParameters { - urlTplParams[idx] = item - } - if profileCardPropertyId != "" { - urlTplParams["profileCardProperty%2Did"] = profileCardPropertyId - } - return NewItemSettingsProfileCardPropertiesProfileCardPropertyItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) -} -// NewItemSettingsProfileCardPropertiesRequestBuilderInternal instantiates a new ProfileCardPropertiesRequestBuilder and sets the default values. -func NewItemSettingsProfileCardPropertiesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsProfileCardPropertiesRequestBuilder) { - m := &ItemSettingsProfileCardPropertiesRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/organization/{organization%2Did}/settings/profileCardProperties{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), - } - return m -} -// NewItemSettingsProfileCardPropertiesRequestBuilder instantiates a new ProfileCardPropertiesRequestBuilder and sets the default values. -func NewItemSettingsProfileCardPropertiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsProfileCardPropertiesRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewItemSettingsProfileCardPropertiesRequestBuilderInternal(urlParams, requestAdapter) -} -// Count provides operations to count the resources in the collection. -func (m *ItemSettingsProfileCardPropertiesRequestBuilder) Count()(*ItemSettingsProfileCardPropertiesCountRequestBuilder) { - return NewItemSettingsProfileCardPropertiesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Get get profileCardProperties from organization -func (m *ItemSettingsProfileCardPropertiesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsProfileCardPropertiesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyCollectionResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateProfileCardPropertyCollectionResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyCollectionResponseable), nil -} -// Post create new navigation property to profileCardProperties for organization -func (m *ItemSettingsProfileCardPropertiesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyable, requestConfiguration *ItemSettingsProfileCardPropertiesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyable, error) { - requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateProfileCardPropertyFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyable), nil -} -// ToGetRequestInformation get profileCardProperties from organization -func (m *ItemSettingsProfileCardPropertiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsProfileCardPropertiesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.Add("Accept", "application/json") - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - return requestInfo, nil -} -// ToPostRequestInformation create new navigation property to profileCardProperties for organization -func (m *ItemSettingsProfileCardPropertiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyable, requestConfiguration *ItemSettingsProfileCardPropertiesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.Add("Accept", "application/json") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - return requestInfo, nil -} diff --git a/organization/item_settings_request_builder.go b/organization/item_settings_request_builder.go index 0585df184c2..a21379d1b68 100644 --- a/organization/item_settings_request_builder.go +++ b/organization/item_settings_request_builder.go @@ -124,14 +124,6 @@ func (m *ItemSettingsRequestBuilder) Patch(ctx context.Context, body ie233ee762e func (m *ItemSettingsRequestBuilder) PeopleInsights()(*ItemSettingsPeopleInsightsRequestBuilder) { return NewItemSettingsPeopleInsightsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ProfileCardProperties provides operations to manage the profileCardProperties property of the microsoft.graph.organizationSettings entity. -func (m *ItemSettingsRequestBuilder) ProfileCardProperties()(*ItemSettingsProfileCardPropertiesRequestBuilder) { - return NewItemSettingsProfileCardPropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Pronouns provides operations to manage the pronouns property of the microsoft.graph.organizationSettings entity. -func (m *ItemSettingsRequestBuilder) Pronouns()(*ItemSettingsPronounsRequestBuilder) { - return NewItemSettingsPronounsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} // ToDeleteRequestInformation delete navigation property settings for organization func (m *ItemSettingsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -177,3 +169,7 @@ func (m *ItemSettingsRequestBuilder) ToPatchRequestInformation(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 *ItemSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsRequestBuilder) { + return NewItemSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/organization_item_request_builder.go b/organization/organization_item_request_builder.go index 1502c357eb2..aa18aa46663 100644 --- a/organization/organization_item_request_builder.go +++ b/organization/organization_item_request_builder.go @@ -203,3 +203,7 @@ func (m *OrganizationItemRequestBuilder) 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 *OrganizationItemRequestBuilder) WithUrl(rawUrl string)(*OrganizationItemRequestBuilder) { + return NewOrganizationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/organization_request_builder.go b/organization/organization_request_builder.go index 346e38b4044..4af9d1508fc 100644 --- a/organization/organization_request_builder.go +++ b/organization/organization_request_builder.go @@ -46,8 +46,8 @@ type OrganizationRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOrganizationIdString provides operations to manage the collection of organization entities. -func (m *OrganizationRequestBuilder) ByOrganizationIdString(organizationId string)(*OrganizationItemRequestBuilder) { +// ByOrganizationId provides operations to manage the collection of organization entities. +func (m *OrganizationRequestBuilder) ByOrganizationId(organizationId string)(*OrganizationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -164,3 +164,7 @@ func (m *OrganizationRequestBuilder) ToPostRequestInformation(ctx context.Contex func (m *OrganizationRequestBuilder) ValidateProperties()(*ValidatePropertiesRequestBuilder) { return NewValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *OrganizationRequestBuilder) WithUrl(rawUrl string)(*OrganizationRequestBuilder) { + return NewOrganizationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/validate_properties_request_builder.go b/organization/validate_properties_request_builder.go index e74fb97f9e6..b14c8532cdf 100644 --- a/organization/validate_properties_request_builder.go +++ b/organization/validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ValidatePropertiesRequestBuilder) 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 *ValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ValidatePropertiesRequestBuilder) { + return NewValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/payloadresponse/count_request_builder.go b/payloadresponse/count_request_builder.go index 2e37e620bcb..db74375fd72 100644 --- a/payloadresponse/count_request_builder.go +++ b/payloadresponse/count_request_builder.go @@ -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); +} diff --git a/payloadresponse/payload_response_item_request_builder.go b/payloadresponse/payload_response_item_request_builder.go index a85189aa27b..a99465fb938 100644 --- a/payloadresponse/payload_response_item_request_builder.go +++ b/payloadresponse/payload_response_item_request_builder.go @@ -153,3 +153,7 @@ func (m *PayloadResponseItemRequestBuilder) ToPatchRequestInformation(ctx contex } 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 *PayloadResponseItemRequestBuilder) WithUrl(rawUrl string)(*PayloadResponseItemRequestBuilder) { + return NewPayloadResponseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/payloadresponse/payload_response_request_builder.go b/payloadresponse/payload_response_request_builder.go index e8de3418731..dbccbe5bb14 100644 --- a/payloadresponse/payload_response_request_builder.go +++ b/payloadresponse/payload_response_request_builder.go @@ -46,8 +46,8 @@ type PayloadResponseRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPayloadResponseIdString provides operations to manage the collection of payloadResponse entities. -func (m *PayloadResponseRequestBuilder) ByPayloadResponseIdString(payloadResponseId string)(*PayloadResponseItemRequestBuilder) { +// ByPayloadResponseId provides operations to manage the collection of payloadResponse entities. +func (m *PayloadResponseRequestBuilder) ByPayloadResponseId(payloadResponseId string)(*PayloadResponseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *PayloadResponseRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *PayloadResponseRequestBuilder) WithUrl(rawUrl string)(*PayloadResponseRequestBuilder) { + return NewPayloadResponseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/permissiongrants/delta_request_builder.go b/permissiongrants/delta_request_builder.go index 77403ac11fd..cda52d7d61e 100644 --- a/permissiongrants/delta_request_builder.go +++ b/permissiongrants/delta_request_builder.go @@ -84,3 +84,7 @@ func (m *DeltaRequestBuilder) 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 *DeltaRequestBuilder) WithUrl(rawUrl string)(*DeltaRequestBuilder) { + return NewDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/permissiongrants/get_by_ids_request_builder.go b/permissiongrants/get_by_ids_request_builder.go index db8052cf19e..734a345b0be 100644 --- a/permissiongrants/get_by_ids_request_builder.go +++ b/permissiongrants/get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *GetByIdsRequestBuilder) WithUrl(rawUrl string)(*GetByIdsRequestBuilder) { + return NewGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/permissiongrants/get_user_owned_objects_request_builder.go b/permissiongrants/get_user_owned_objects_request_builder.go index 8911851836f..bd4d952c371 100644 --- a/permissiongrants/get_user_owned_objects_request_builder.go +++ b/permissiongrants/get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) 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 *GetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*GetUserOwnedObjectsRequestBuilder) { + return NewGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/permissiongrants/item_check_member_groups_request_builder.go b/permissiongrants/item_check_member_groups_request_builder.go index b969ae4bc90..6a2bf0a83f8 100644 --- a/permissiongrants/item_check_member_groups_request_builder.go +++ b/permissiongrants/item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) 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 *ItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberGroupsRequestBuilder) { + return NewItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/permissiongrants/item_check_member_objects_request_builder.go b/permissiongrants/item_check_member_objects_request_builder.go index 977d5f404b7..b2228264584 100644 --- a/permissiongrants/item_check_member_objects_request_builder.go +++ b/permissiongrants/item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberObjectsRequestBuilder) { + return NewItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/permissiongrants/item_get_member_groups_request_builder.go b/permissiongrants/item_get_member_groups_request_builder.go index a6698b71d48..eaaecdaf675 100644 --- a/permissiongrants/item_get_member_groups_request_builder.go +++ b/permissiongrants/item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) 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 *ItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberGroupsRequestBuilder) { + return NewItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/permissiongrants/item_get_member_objects_request_builder.go b/permissiongrants/item_get_member_objects_request_builder.go index 880ab6e269b..008bf4cc885 100644 --- a/permissiongrants/item_get_member_objects_request_builder.go +++ b/permissiongrants/item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberObjectsRequestBuilder) { + return NewItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/permissiongrants/item_restore_request_builder.go b/permissiongrants/item_restore_request_builder.go index 607e0033f55..1e0fb38d653 100644 --- a/permissiongrants/item_restore_request_builder.go +++ b/permissiongrants/item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemRestoreRequestBuilder) { + return NewItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/permissiongrants/permission_grants_request_builder.go b/permissiongrants/permission_grants_request_builder.go index c0fa6292b5b..c62520cc32f 100644 --- a/permissiongrants/permission_grants_request_builder.go +++ b/permissiongrants/permission_grants_request_builder.go @@ -40,8 +40,8 @@ type PermissionGrantsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByResourceSpecificPermissionGrantIdString provides operations to manage the collection of resourceSpecificPermissionGrant entities. -func (m *PermissionGrantsRequestBuilder) ByResourceSpecificPermissionGrantIdString(resourceSpecificPermissionGrantId string)(*ResourceSpecificPermissionGrantItemRequestBuilder) { +// ByResourceSpecificPermissionGrantId provides operations to manage the collection of resourceSpecificPermissionGrant entities. +func (m *PermissionGrantsRequestBuilder) ByResourceSpecificPermissionGrantId(resourceSpecificPermissionGrantId string)(*ResourceSpecificPermissionGrantItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *PermissionGrantsRequestBuilder) ToPostRequestInformation(ctx context.Co func (m *PermissionGrantsRequestBuilder) ValidateProperties()(*ValidatePropertiesRequestBuilder) { return NewValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *PermissionGrantsRequestBuilder) WithUrl(rawUrl string)(*PermissionGrantsRequestBuilder) { + return NewPermissionGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/permissiongrants/resource_specific_permission_grant_item_request_builder.go b/permissiongrants/resource_specific_permission_grant_item_request_builder.go index 71108a7015f..3420e15f8f8 100644 --- a/permissiongrants/resource_specific_permission_grant_item_request_builder.go +++ b/permissiongrants/resource_specific_permission_grant_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ResourceSpecificPermissionGrantItemRequestBuilder) ToPatchRequestInform } 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 *ResourceSpecificPermissionGrantItemRequestBuilder) WithUrl(rawUrl string)(*ResourceSpecificPermissionGrantItemRequestBuilder) { + return NewResourceSpecificPermissionGrantItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/permissiongrants/validate_properties_request_builder.go b/permissiongrants/validate_properties_request_builder.go index 3befb1f4a4c..9537c7be086 100644 --- a/permissiongrants/validate_properties_request_builder.go +++ b/permissiongrants/validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ValidatePropertiesRequestBuilder) 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 *ValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ValidatePropertiesRequestBuilder) { + return NewValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/count_request_builder.go b/places/count_request_builder.go index 34d3d8e0faa..56c16d6ee22 100644 --- a/places/count_request_builder.go +++ b/places/count_request_builder.go @@ -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); +} diff --git a/places/graph_room_count_request_builder.go b/places/graph_room_count_request_builder.go index 58f8f2ede42..ff44700b4fd 100644 --- a/places/graph_room_count_request_builder.go +++ b/places/graph_room_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GraphRoomCountRequestBuilder) ToGetRequestInformation(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 *GraphRoomCountRequestBuilder) WithUrl(rawUrl string)(*GraphRoomCountRequestBuilder) { + return NewGraphRoomCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/graph_room_list_count_request_builder.go b/places/graph_room_list_count_request_builder.go index b76f6c2679e..5f886a30a26 100644 --- a/places/graph_room_list_count_request_builder.go +++ b/places/graph_room_list_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GraphRoomListCountRequestBuilder) 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 *GraphRoomListCountRequestBuilder) WithUrl(rawUrl string)(*GraphRoomListCountRequestBuilder) { + return NewGraphRoomListCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/graph_room_list_request_builder.go b/places/graph_room_list_request_builder.go index 8928f852457..c0793719a55 100644 --- a/places/graph_room_list_request_builder.go +++ b/places/graph_room_list_request_builder.go @@ -91,3 +91,7 @@ func (m *GraphRoomListRequestBuilder) ToGetRequestInformation(ctx context.Contex } 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 *GraphRoomListRequestBuilder) WithUrl(rawUrl string)(*GraphRoomListRequestBuilder) { + return NewGraphRoomListRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/graph_room_request_builder.go b/places/graph_room_request_builder.go index 3b78410edd6..e0f810cb0f7 100644 --- a/places/graph_room_request_builder.go +++ b/places/graph_room_request_builder.go @@ -91,3 +91,7 @@ func (m *GraphRoomRequestBuilder) ToGetRequestInformation(ctx context.Context, r } 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 *GraphRoomRequestBuilder) WithUrl(rawUrl string)(*GraphRoomRequestBuilder) { + return NewGraphRoomRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_room_list_request_builder.go b/places/item_graph_room_list_request_builder.go index 5a1dc711cd0..122d8ac9886 100644 --- a/places/item_graph_room_list_request_builder.go +++ b/places/item_graph_room_list_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemGraphRoomListRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemGraphRoomListRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomListRequestBuilder) { + return NewItemGraphRoomListRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_room_request_builder.go b/places/item_graph_room_request_builder.go index 1f07fd3cc94..45dbf20a2c1 100644 --- a/places/item_graph_room_request_builder.go +++ b/places/item_graph_room_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemGraphRoomRequestBuilder) ToGetRequestInformation(ctx context.Contex } 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 *ItemGraphRoomRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomRequestBuilder) { + return NewItemGraphRoomRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/place_item_request_builder.go b/places/place_item_request_builder.go index fe934669f50..3fbb07b4ae2 100644 --- a/places/place_item_request_builder.go +++ b/places/place_item_request_builder.go @@ -113,3 +113,7 @@ func (m *PlaceItemRequestBuilder) ToPatchRequestInformation(ctx context.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 *PlaceItemRequestBuilder) WithUrl(rawUrl string)(*PlaceItemRequestBuilder) { + return NewPlaceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/places_request_builder.go b/places/places_request_builder.go index 5fe76b78b6b..55cc3981507 100644 --- a/places/places_request_builder.go +++ b/places/places_request_builder.go @@ -8,8 +8,8 @@ import ( type PlacesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ByPlaceIdString provides operations to manage the collection of place entities. -func (m *PlacesRequestBuilder) ByPlaceIdString(placeId string)(*PlaceItemRequestBuilder) { +// ByPlaceId provides operations to manage the collection of place entities. +func (m *PlacesRequestBuilder) ByPlaceId(placeId string)(*PlaceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item diff --git a/planner/buckets_count_request_builder.go b/planner/buckets_count_request_builder.go index 6f072708d3a..78b7c1bc14a 100644 --- a/planner/buckets_count_request_builder.go +++ b/planner/buckets_count_request_builder.go @@ -74,3 +74,7 @@ func (m *BucketsCountRequestBuilder) ToGetRequestInformation(ctx context.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 *BucketsCountRequestBuilder) WithUrl(rawUrl string)(*BucketsCountRequestBuilder) { + return NewBucketsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/buckets_delta_request_builder.go b/planner/buckets_delta_request_builder.go index c04e9e8fa18..bd2ab8bfae2 100644 --- a/planner/buckets_delta_request_builder.go +++ b/planner/buckets_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *BucketsDeltaRequestBuilder) ToGetRequestInformation(ctx context.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 *BucketsDeltaRequestBuilder) WithUrl(rawUrl string)(*BucketsDeltaRequestBuilder) { + return NewBucketsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/buckets_item_tasks_count_request_builder.go b/planner/buckets_item_tasks_count_request_builder.go index acbd8d6bb2a..0c0b1ee66f4 100644 --- a/planner/buckets_item_tasks_count_request_builder.go +++ b/planner/buckets_item_tasks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *BucketsItemTasksCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *BucketsItemTasksCountRequestBuilder) WithUrl(rawUrl string)(*BucketsItemTasksCountRequestBuilder) { + return NewBucketsItemTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/buckets_item_tasks_delta_request_builder.go b/planner/buckets_item_tasks_delta_request_builder.go index c3842a4b5cc..ffb7d2f81d0 100644 --- a/planner/buckets_item_tasks_delta_request_builder.go +++ b/planner/buckets_item_tasks_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *BucketsItemTasksDeltaRequestBuilder) ToGetRequestInformation(ctx contex } 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 *BucketsItemTasksDeltaRequestBuilder) WithUrl(rawUrl string)(*BucketsItemTasksDeltaRequestBuilder) { + return NewBucketsItemTasksDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go b/planner/buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go index 6637ac3493b..9089405af4d 100644 --- a/planner/buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/planner/buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *BucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) ToPatchReq } 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 *BucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*BucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) { + return NewBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/buckets_item_tasks_item_bucket_task_board_format_request_builder.go b/planner/buckets_item_tasks_item_bucket_task_board_format_request_builder.go index 0daf843f583..192801340b8 100644 --- a/planner/buckets_item_tasks_item_bucket_task_board_format_request_builder.go +++ b/planner/buckets_item_tasks_item_bucket_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *BucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) ToPatchRequest } 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 *BucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*BucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) { + return NewBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/buckets_item_tasks_item_details_request_builder.go b/planner/buckets_item_tasks_item_details_request_builder.go index 8fd473aa2fb..3f01c233654 100644 --- a/planner/buckets_item_tasks_item_details_request_builder.go +++ b/planner/buckets_item_tasks_item_details_request_builder.go @@ -159,3 +159,7 @@ func (m *BucketsItemTasksItemDetailsRequestBuilder) ToPatchRequestInformation(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 *BucketsItemTasksItemDetailsRequestBuilder) WithUrl(rawUrl string)(*BucketsItemTasksItemDetailsRequestBuilder) { + return NewBucketsItemTasksItemDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/buckets_item_tasks_item_progress_task_board_format_request_builder.go b/planner/buckets_item_tasks_item_progress_task_board_format_request_builder.go index fb7ceb07121..8dfc039d389 100644 --- a/planner/buckets_item_tasks_item_progress_task_board_format_request_builder.go +++ b/planner/buckets_item_tasks_item_progress_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *BucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) ToPatchReque } 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 *BucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*BucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) { + return NewBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/buckets_item_tasks_planner_task_item_request_builder.go b/planner/buckets_item_tasks_planner_task_item_request_builder.go index a5e740bb00d..1716a83629c 100644 --- a/planner/buckets_item_tasks_planner_task_item_request_builder.go +++ b/planner/buckets_item_tasks_planner_task_item_request_builder.go @@ -169,3 +169,7 @@ func (m *BucketsItemTasksPlannerTaskItemRequestBuilder) ToPatchRequestInformatio } 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 *BucketsItemTasksPlannerTaskItemRequestBuilder) WithUrl(rawUrl string)(*BucketsItemTasksPlannerTaskItemRequestBuilder) { + return NewBucketsItemTasksPlannerTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/buckets_item_tasks_request_builder.go b/planner/buckets_item_tasks_request_builder.go index 21c9693e8a3..a7a1fe1311d 100644 --- a/planner/buckets_item_tasks_request_builder.go +++ b/planner/buckets_item_tasks_request_builder.go @@ -46,8 +46,8 @@ type BucketsItemTasksRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPlannerTaskIdString provides operations to manage the tasks property of the microsoft.graph.plannerBucket entity. -func (m *BucketsItemTasksRequestBuilder) ByPlannerTaskIdString(plannerTaskId string)(*BucketsItemTasksPlannerTaskItemRequestBuilder) { +// ByPlannerTaskId provides operations to manage the tasks property of the microsoft.graph.plannerBucket entity. +func (m *BucketsItemTasksRequestBuilder) ByPlannerTaskId(plannerTaskId string)(*BucketsItemTasksPlannerTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *BucketsItemTasksRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *BucketsItemTasksRequestBuilder) WithUrl(rawUrl string)(*BucketsItemTasksRequestBuilder) { + return NewBucketsItemTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/buckets_planner_bucket_item_request_builder.go b/planner/buckets_planner_bucket_item_request_builder.go index d0d5c0ef4a6..58975b663bb 100644 --- a/planner/buckets_planner_bucket_item_request_builder.go +++ b/planner/buckets_planner_bucket_item_request_builder.go @@ -166,3 +166,7 @@ func (m *BucketsPlannerBucketItemRequestBuilder) 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 *BucketsPlannerBucketItemRequestBuilder) WithUrl(rawUrl string)(*BucketsPlannerBucketItemRequestBuilder) { + return NewBucketsPlannerBucketItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/buckets_request_builder.go b/planner/buckets_request_builder.go index d02a4c01e46..3b9735a89a7 100644 --- a/planner/buckets_request_builder.go +++ b/planner/buckets_request_builder.go @@ -46,8 +46,8 @@ type BucketsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPlannerBucketIdString provides operations to manage the buckets property of the microsoft.graph.planner entity. -func (m *BucketsRequestBuilder) ByPlannerBucketIdString(plannerBucketId string)(*BucketsPlannerBucketItemRequestBuilder) { +// ByPlannerBucketId provides operations to manage the buckets property of the microsoft.graph.planner entity. +func (m *BucketsRequestBuilder) ByPlannerBucketId(plannerBucketId string)(*BucketsPlannerBucketItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *BucketsRequestBuilder) ToPostRequestInformation(ctx context.Context, bo } 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 *BucketsRequestBuilder) WithUrl(rawUrl string)(*BucketsRequestBuilder) { + return NewBucketsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/planner_request_builder.go b/planner/planner_request_builder.go index 962dddf1cc6..131e60b43ac 100644 --- a/planner/planner_request_builder.go +++ b/planner/planner_request_builder.go @@ -134,3 +134,7 @@ func (m *PlannerRequestBuilder) ToPatchRequestInformation(ctx context.Context, b } 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 *PlannerRequestBuilder) WithUrl(rawUrl string)(*PlannerRequestBuilder) { + return NewPlannerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_count_request_builder.go b/planner/plans_count_request_builder.go index be0d9352009..00491023305 100644 --- a/planner/plans_count_request_builder.go +++ b/planner/plans_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PlansCountRequestBuilder) ToGetRequestInformation(ctx context.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 *PlansCountRequestBuilder) WithUrl(rawUrl string)(*PlansCountRequestBuilder) { + return NewPlansCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_delta_request_builder.go b/planner/plans_delta_request_builder.go index 448625fc55d..bd9f96e032e 100644 --- a/planner/plans_delta_request_builder.go +++ b/planner/plans_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *PlansDeltaRequestBuilder) ToGetRequestInformation(ctx context.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 *PlansDeltaRequestBuilder) WithUrl(rawUrl string)(*PlansDeltaRequestBuilder) { + return NewPlansDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_item_buckets_count_request_builder.go b/planner/plans_item_buckets_count_request_builder.go index 640a89ebb58..89300715e3b 100644 --- a/planner/plans_item_buckets_count_request_builder.go +++ b/planner/plans_item_buckets_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PlansItemBucketsCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *PlansItemBucketsCountRequestBuilder) WithUrl(rawUrl string)(*PlansItemBucketsCountRequestBuilder) { + return NewPlansItemBucketsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_item_buckets_delta_request_builder.go b/planner/plans_item_buckets_delta_request_builder.go index e762a2abbbf..b5c63c47730 100644 --- a/planner/plans_item_buckets_delta_request_builder.go +++ b/planner/plans_item_buckets_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *PlansItemBucketsDeltaRequestBuilder) ToGetRequestInformation(ctx contex } 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 *PlansItemBucketsDeltaRequestBuilder) WithUrl(rawUrl string)(*PlansItemBucketsDeltaRequestBuilder) { + return NewPlansItemBucketsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_item_buckets_item_tasks_count_request_builder.go b/planner/plans_item_buckets_item_tasks_count_request_builder.go index 1df0348c5c9..059a787896b 100644 --- a/planner/plans_item_buckets_item_tasks_count_request_builder.go +++ b/planner/plans_item_buckets_item_tasks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PlansItemBucketsItemTasksCountRequestBuilder) ToGetRequestInformation(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 *PlansItemBucketsItemTasksCountRequestBuilder) WithUrl(rawUrl string)(*PlansItemBucketsItemTasksCountRequestBuilder) { + return NewPlansItemBucketsItemTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_item_buckets_item_tasks_delta_request_builder.go b/planner/plans_item_buckets_item_tasks_delta_request_builder.go index 1defbc04867..a4f700a3001 100644 --- a/planner/plans_item_buckets_item_tasks_delta_request_builder.go +++ b/planner/plans_item_buckets_item_tasks_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *PlansItemBucketsItemTasksDeltaRequestBuilder) ToGetRequestInformation(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 *PlansItemBucketsItemTasksDeltaRequestBuilder) WithUrl(rawUrl string)(*PlansItemBucketsItemTasksDeltaRequestBuilder) { + return NewPlansItemBucketsItemTasksDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go b/planner/plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go index cd6c4cc8c82..27147a0c8bb 100644 --- a/planner/plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/planner/plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *PlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) T } 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 *PlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*PlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) { + return NewPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go b/planner/plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go index 2a8a53de196..47d13379588 100644 --- a/planner/plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go +++ b/planner/plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *PlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) 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 *PlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*PlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) { + return NewPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_item_buckets_item_tasks_item_details_request_builder.go b/planner/plans_item_buckets_item_tasks_item_details_request_builder.go index 8ed49fe7eea..b015871b98c 100644 --- a/planner/plans_item_buckets_item_tasks_item_details_request_builder.go +++ b/planner/plans_item_buckets_item_tasks_item_details_request_builder.go @@ -159,3 +159,7 @@ func (m *PlansItemBucketsItemTasksItemDetailsRequestBuilder) ToPatchRequestInfor } 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 *PlansItemBucketsItemTasksItemDetailsRequestBuilder) WithUrl(rawUrl string)(*PlansItemBucketsItemTasksItemDetailsRequestBuilder) { + return NewPlansItemBucketsItemTasksItemDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go b/planner/plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go index 2eb22a5886f..11169662a5b 100644 --- a/planner/plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go +++ b/planner/plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *PlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) 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 *PlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*PlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) { + return NewPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_item_buckets_item_tasks_planner_task_item_request_builder.go b/planner/plans_item_buckets_item_tasks_planner_task_item_request_builder.go index d6bd7ee7da7..e1d5598dda3 100644 --- a/planner/plans_item_buckets_item_tasks_planner_task_item_request_builder.go +++ b/planner/plans_item_buckets_item_tasks_planner_task_item_request_builder.go @@ -169,3 +169,7 @@ func (m *PlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) ToPatchRequestI } 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 *PlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) WithUrl(rawUrl string)(*PlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) { + return NewPlansItemBucketsItemTasksPlannerTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_item_buckets_item_tasks_request_builder.go b/planner/plans_item_buckets_item_tasks_request_builder.go index 4df16d88cbd..fd92e9b0a4c 100644 --- a/planner/plans_item_buckets_item_tasks_request_builder.go +++ b/planner/plans_item_buckets_item_tasks_request_builder.go @@ -46,8 +46,8 @@ type PlansItemBucketsItemTasksRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPlannerTaskIdString provides operations to manage the tasks property of the microsoft.graph.plannerBucket entity. -func (m *PlansItemBucketsItemTasksRequestBuilder) ByPlannerTaskIdString(plannerTaskId string)(*PlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) { +// ByPlannerTaskId provides operations to manage the tasks property of the microsoft.graph.plannerBucket entity. +func (m *PlansItemBucketsItemTasksRequestBuilder) ByPlannerTaskId(plannerTaskId string)(*PlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *PlansItemBucketsItemTasksRequestBuilder) ToPostRequestInformation(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 *PlansItemBucketsItemTasksRequestBuilder) WithUrl(rawUrl string)(*PlansItemBucketsItemTasksRequestBuilder) { + return NewPlansItemBucketsItemTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_item_buckets_planner_bucket_item_request_builder.go b/planner/plans_item_buckets_planner_bucket_item_request_builder.go index ef2961119fe..2a2c7f41889 100644 --- a/planner/plans_item_buckets_planner_bucket_item_request_builder.go +++ b/planner/plans_item_buckets_planner_bucket_item_request_builder.go @@ -157,3 +157,7 @@ func (m *PlansItemBucketsPlannerBucketItemRequestBuilder) ToPatchRequestInformat } 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 *PlansItemBucketsPlannerBucketItemRequestBuilder) WithUrl(rawUrl string)(*PlansItemBucketsPlannerBucketItemRequestBuilder) { + return NewPlansItemBucketsPlannerBucketItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_item_buckets_request_builder.go b/planner/plans_item_buckets_request_builder.go index 9fe14c16a30..ec6836fb4d8 100644 --- a/planner/plans_item_buckets_request_builder.go +++ b/planner/plans_item_buckets_request_builder.go @@ -46,8 +46,8 @@ type PlansItemBucketsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPlannerBucketIdString provides operations to manage the buckets property of the microsoft.graph.plannerPlan entity. -func (m *PlansItemBucketsRequestBuilder) ByPlannerBucketIdString(plannerBucketId string)(*PlansItemBucketsPlannerBucketItemRequestBuilder) { +// ByPlannerBucketId provides operations to manage the buckets property of the microsoft.graph.plannerPlan entity. +func (m *PlansItemBucketsRequestBuilder) ByPlannerBucketId(plannerBucketId string)(*PlansItemBucketsPlannerBucketItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *PlansItemBucketsRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *PlansItemBucketsRequestBuilder) WithUrl(rawUrl string)(*PlansItemBucketsRequestBuilder) { + return NewPlansItemBucketsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_item_details_request_builder.go b/planner/plans_item_details_request_builder.go index 58776d78881..f8380938b7f 100644 --- a/planner/plans_item_details_request_builder.go +++ b/planner/plans_item_details_request_builder.go @@ -159,3 +159,7 @@ func (m *PlansItemDetailsRequestBuilder) 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 *PlansItemDetailsRequestBuilder) WithUrl(rawUrl string)(*PlansItemDetailsRequestBuilder) { + return NewPlansItemDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_item_tasks_count_request_builder.go b/planner/plans_item_tasks_count_request_builder.go index 90c4bf1c5d1..3aa7362226c 100644 --- a/planner/plans_item_tasks_count_request_builder.go +++ b/planner/plans_item_tasks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PlansItemTasksCountRequestBuilder) ToGetRequestInformation(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 *PlansItemTasksCountRequestBuilder) WithUrl(rawUrl string)(*PlansItemTasksCountRequestBuilder) { + return NewPlansItemTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_item_tasks_delta_request_builder.go b/planner/plans_item_tasks_delta_request_builder.go index 94c2d6ad1ae..fed71f708b8 100644 --- a/planner/plans_item_tasks_delta_request_builder.go +++ b/planner/plans_item_tasks_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *PlansItemTasksDeltaRequestBuilder) ToGetRequestInformation(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 *PlansItemTasksDeltaRequestBuilder) WithUrl(rawUrl string)(*PlansItemTasksDeltaRequestBuilder) { + return NewPlansItemTasksDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_item_tasks_item_assigned_to_task_board_format_request_builder.go b/planner/plans_item_tasks_item_assigned_to_task_board_format_request_builder.go index cb2aaff0b75..f92ef60d6cd 100644 --- a/planner/plans_item_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/planner/plans_item_tasks_item_assigned_to_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *PlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) ToPatchReque } 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 *PlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*PlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) { + return NewPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_item_tasks_item_bucket_task_board_format_request_builder.go b/planner/plans_item_tasks_item_bucket_task_board_format_request_builder.go index 4b31bcb46f0..26f3d42c3ea 100644 --- a/planner/plans_item_tasks_item_bucket_task_board_format_request_builder.go +++ b/planner/plans_item_tasks_item_bucket_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *PlansItemTasksItemBucketTaskBoardFormatRequestBuilder) ToPatchRequestIn } 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 *PlansItemTasksItemBucketTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*PlansItemTasksItemBucketTaskBoardFormatRequestBuilder) { + return NewPlansItemTasksItemBucketTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_item_tasks_item_details_request_builder.go b/planner/plans_item_tasks_item_details_request_builder.go index fa66dcf8b6a..566b8455655 100644 --- a/planner/plans_item_tasks_item_details_request_builder.go +++ b/planner/plans_item_tasks_item_details_request_builder.go @@ -159,3 +159,7 @@ func (m *PlansItemTasksItemDetailsRequestBuilder) ToPatchRequestInformation(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 *PlansItemTasksItemDetailsRequestBuilder) WithUrl(rawUrl string)(*PlansItemTasksItemDetailsRequestBuilder) { + return NewPlansItemTasksItemDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_item_tasks_item_progress_task_board_format_request_builder.go b/planner/plans_item_tasks_item_progress_task_board_format_request_builder.go index ae58b00f8b5..8f3436a5507 100644 --- a/planner/plans_item_tasks_item_progress_task_board_format_request_builder.go +++ b/planner/plans_item_tasks_item_progress_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *PlansItemTasksItemProgressTaskBoardFormatRequestBuilder) ToPatchRequest } 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 *PlansItemTasksItemProgressTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*PlansItemTasksItemProgressTaskBoardFormatRequestBuilder) { + return NewPlansItemTasksItemProgressTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_item_tasks_planner_task_item_request_builder.go b/planner/plans_item_tasks_planner_task_item_request_builder.go index 317be1e6129..45b945f6ed3 100644 --- a/planner/plans_item_tasks_planner_task_item_request_builder.go +++ b/planner/plans_item_tasks_planner_task_item_request_builder.go @@ -169,3 +169,7 @@ func (m *PlansItemTasksPlannerTaskItemRequestBuilder) 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 *PlansItemTasksPlannerTaskItemRequestBuilder) WithUrl(rawUrl string)(*PlansItemTasksPlannerTaskItemRequestBuilder) { + return NewPlansItemTasksPlannerTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_item_tasks_request_builder.go b/planner/plans_item_tasks_request_builder.go index 396420e73ea..b797ab2670c 100644 --- a/planner/plans_item_tasks_request_builder.go +++ b/planner/plans_item_tasks_request_builder.go @@ -46,8 +46,8 @@ type PlansItemTasksRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPlannerTaskIdString provides operations to manage the tasks property of the microsoft.graph.plannerPlan entity. -func (m *PlansItemTasksRequestBuilder) ByPlannerTaskIdString(plannerTaskId string)(*PlansItemTasksPlannerTaskItemRequestBuilder) { +// ByPlannerTaskId provides operations to manage the tasks property of the microsoft.graph.plannerPlan entity. +func (m *PlansItemTasksRequestBuilder) ByPlannerTaskId(plannerTaskId string)(*PlansItemTasksPlannerTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *PlansItemTasksRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *PlansItemTasksRequestBuilder) WithUrl(rawUrl string)(*PlansItemTasksRequestBuilder) { + return NewPlansItemTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_planner_plan_item_request_builder.go b/planner/plans_planner_plan_item_request_builder.go index 974b7163691..3f7708f79a4 100644 --- a/planner/plans_planner_plan_item_request_builder.go +++ b/planner/plans_planner_plan_item_request_builder.go @@ -174,3 +174,7 @@ func (m *PlansPlannerPlanItemRequestBuilder) ToPatchRequestInformation(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 *PlansPlannerPlanItemRequestBuilder) WithUrl(rawUrl string)(*PlansPlannerPlanItemRequestBuilder) { + return NewPlansPlannerPlanItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/plans_request_builder.go b/planner/plans_request_builder.go index 1c7846a7a62..f3702787aaa 100644 --- a/planner/plans_request_builder.go +++ b/planner/plans_request_builder.go @@ -46,8 +46,8 @@ type PlansRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPlannerPlanIdString provides operations to manage the plans property of the microsoft.graph.planner entity. -func (m *PlansRequestBuilder) ByPlannerPlanIdString(plannerPlanId string)(*PlansPlannerPlanItemRequestBuilder) { +// ByPlannerPlanId provides operations to manage the plans property of the microsoft.graph.planner entity. +func (m *PlansRequestBuilder) ByPlannerPlanId(plannerPlanId string)(*PlansPlannerPlanItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *PlansRequestBuilder) ToPostRequestInformation(ctx context.Context, body } 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 *PlansRequestBuilder) WithUrl(rawUrl string)(*PlansRequestBuilder) { + return NewPlansRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/rosters_count_request_builder.go b/planner/rosters_count_request_builder.go index 1918e51312e..358ca2f4ab7 100644 --- a/planner/rosters_count_request_builder.go +++ b/planner/rosters_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RostersCountRequestBuilder) ToGetRequestInformation(ctx context.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 *RostersCountRequestBuilder) WithUrl(rawUrl string)(*RostersCountRequestBuilder) { + return NewRostersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/rosters_item_members_count_request_builder.go b/planner/rosters_item_members_count_request_builder.go index a5be3ebe0aa..635158bb9bb 100644 --- a/planner/rosters_item_members_count_request_builder.go +++ b/planner/rosters_item_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RostersItemMembersCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *RostersItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*RostersItemMembersCountRequestBuilder) { + return NewRostersItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/rosters_item_members_planner_roster_member_item_request_builder.go b/planner/rosters_item_members_planner_roster_member_item_request_builder.go index bed2f1d870a..311176ebaa0 100644 --- a/planner/rosters_item_members_planner_roster_member_item_request_builder.go +++ b/planner/rosters_item_members_planner_roster_member_item_request_builder.go @@ -159,3 +159,7 @@ func (m *RostersItemMembersPlannerRosterMemberItemRequestBuilder) ToPatchRequest } 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 *RostersItemMembersPlannerRosterMemberItemRequestBuilder) WithUrl(rawUrl string)(*RostersItemMembersPlannerRosterMemberItemRequestBuilder) { + return NewRostersItemMembersPlannerRosterMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/rosters_item_members_request_builder.go b/planner/rosters_item_members_request_builder.go index 1693e17baa7..6421c1ff474 100644 --- a/planner/rosters_item_members_request_builder.go +++ b/planner/rosters_item_members_request_builder.go @@ -46,8 +46,8 @@ type RostersItemMembersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPlannerRosterMemberIdString provides operations to manage the members property of the microsoft.graph.plannerRoster entity. -func (m *RostersItemMembersRequestBuilder) ByPlannerRosterMemberIdString(plannerRosterMemberId string)(*RostersItemMembersPlannerRosterMemberItemRequestBuilder) { +// ByPlannerRosterMemberId provides operations to manage the members property of the microsoft.graph.plannerRoster entity. +func (m *RostersItemMembersRequestBuilder) ByPlannerRosterMemberId(plannerRosterMemberId string)(*RostersItemMembersPlannerRosterMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *RostersItemMembersRequestBuilder) 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 *RostersItemMembersRequestBuilder) WithUrl(rawUrl string)(*RostersItemMembersRequestBuilder) { + return NewRostersItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/rosters_item_plans_count_request_builder.go b/planner/rosters_item_plans_count_request_builder.go index a8b11863f5d..84299bcdde1 100644 --- a/planner/rosters_item_plans_count_request_builder.go +++ b/planner/rosters_item_plans_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RostersItemPlansCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *RostersItemPlansCountRequestBuilder) WithUrl(rawUrl string)(*RostersItemPlansCountRequestBuilder) { + return NewRostersItemPlansCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/rosters_item_plans_planner_plan_item_request_builder.go b/planner/rosters_item_plans_planner_plan_item_request_builder.go index ef322e6cf6c..dc203ec0b4c 100644 --- a/planner/rosters_item_plans_planner_plan_item_request_builder.go +++ b/planner/rosters_item_plans_planner_plan_item_request_builder.go @@ -75,3 +75,7 @@ func (m *RostersItemPlansPlannerPlanItemRequestBuilder) 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 *RostersItemPlansPlannerPlanItemRequestBuilder) WithUrl(rawUrl string)(*RostersItemPlansPlannerPlanItemRequestBuilder) { + return NewRostersItemPlansPlannerPlanItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/rosters_item_plans_request_builder.go b/planner/rosters_item_plans_request_builder.go index 5eb16286b1c..190eea5f4d0 100644 --- a/planner/rosters_item_plans_request_builder.go +++ b/planner/rosters_item_plans_request_builder.go @@ -39,8 +39,8 @@ type RostersItemPlansRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *RostersItemPlansRequestBuilderGetQueryParameters } -// ByPlannerPlanIdString provides operations to manage the plans property of the microsoft.graph.plannerRoster entity. -func (m *RostersItemPlansRequestBuilder) ByPlannerPlanIdString(plannerPlanId string)(*RostersItemPlansPlannerPlanItemRequestBuilder) { +// ByPlannerPlanId provides operations to manage the plans property of the microsoft.graph.plannerRoster entity. +func (m *RostersItemPlansRequestBuilder) ByPlannerPlanId(plannerPlanId string)(*RostersItemPlansPlannerPlanItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *RostersItemPlansRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *RostersItemPlansRequestBuilder) WithUrl(rawUrl string)(*RostersItemPlansRequestBuilder) { + return NewRostersItemPlansRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/rosters_planner_roster_item_request_builder.go b/planner/rosters_planner_roster_item_request_builder.go index 9aae78c2249..46e5ebea7da 100644 --- a/planner/rosters_planner_roster_item_request_builder.go +++ b/planner/rosters_planner_roster_item_request_builder.go @@ -167,3 +167,7 @@ func (m *RostersPlannerRosterItemRequestBuilder) 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 *RostersPlannerRosterItemRequestBuilder) WithUrl(rawUrl string)(*RostersPlannerRosterItemRequestBuilder) { + return NewRostersPlannerRosterItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/rosters_request_builder.go b/planner/rosters_request_builder.go index a83722a44db..629156fcdec 100644 --- a/planner/rosters_request_builder.go +++ b/planner/rosters_request_builder.go @@ -46,8 +46,8 @@ type RostersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPlannerRosterIdString provides operations to manage the rosters property of the microsoft.graph.planner entity. -func (m *RostersRequestBuilder) ByPlannerRosterIdString(plannerRosterId string)(*RostersPlannerRosterItemRequestBuilder) { +// ByPlannerRosterId provides operations to manage the rosters property of the microsoft.graph.planner entity. +func (m *RostersRequestBuilder) ByPlannerRosterId(plannerRosterId string)(*RostersPlannerRosterItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *RostersRequestBuilder) ToPostRequestInformation(ctx context.Context, bo } 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 *RostersRequestBuilder) WithUrl(rawUrl string)(*RostersRequestBuilder) { + return NewRostersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/tasks_count_request_builder.go b/planner/tasks_count_request_builder.go index 6c2fe92502f..c57c9eb43eb 100644 --- a/planner/tasks_count_request_builder.go +++ b/planner/tasks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TasksCountRequestBuilder) ToGetRequestInformation(ctx context.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 *TasksCountRequestBuilder) WithUrl(rawUrl string)(*TasksCountRequestBuilder) { + return NewTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/tasks_delta_request_builder.go b/planner/tasks_delta_request_builder.go index cfea871fb64..fc64a088f18 100644 --- a/planner/tasks_delta_request_builder.go +++ b/planner/tasks_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *TasksDeltaRequestBuilder) ToGetRequestInformation(ctx context.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 *TasksDeltaRequestBuilder) WithUrl(rawUrl string)(*TasksDeltaRequestBuilder) { + return NewTasksDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/tasks_item_assigned_to_task_board_format_request_builder.go b/planner/tasks_item_assigned_to_task_board_format_request_builder.go index 750d9179520..0be5196a505 100644 --- a/planner/tasks_item_assigned_to_task_board_format_request_builder.go +++ b/planner/tasks_item_assigned_to_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *TasksItemAssignedToTaskBoardFormatRequestBuilder) ToPatchRequestInforma } 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 *TasksItemAssignedToTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*TasksItemAssignedToTaskBoardFormatRequestBuilder) { + return NewTasksItemAssignedToTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/tasks_item_bucket_task_board_format_request_builder.go b/planner/tasks_item_bucket_task_board_format_request_builder.go index 612443f19c5..f48e39f1f65 100644 --- a/planner/tasks_item_bucket_task_board_format_request_builder.go +++ b/planner/tasks_item_bucket_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *TasksItemBucketTaskBoardFormatRequestBuilder) 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 *TasksItemBucketTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*TasksItemBucketTaskBoardFormatRequestBuilder) { + return NewTasksItemBucketTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/tasks_item_details_request_builder.go b/planner/tasks_item_details_request_builder.go index 6879ce39687..f6325a00214 100644 --- a/planner/tasks_item_details_request_builder.go +++ b/planner/tasks_item_details_request_builder.go @@ -159,3 +159,7 @@ func (m *TasksItemDetailsRequestBuilder) 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 *TasksItemDetailsRequestBuilder) WithUrl(rawUrl string)(*TasksItemDetailsRequestBuilder) { + return NewTasksItemDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/tasks_item_progress_task_board_format_request_builder.go b/planner/tasks_item_progress_task_board_format_request_builder.go index dbf8eb53a66..1d91173aa84 100644 --- a/planner/tasks_item_progress_task_board_format_request_builder.go +++ b/planner/tasks_item_progress_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *TasksItemProgressTaskBoardFormatRequestBuilder) ToPatchRequestInformati } 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 *TasksItemProgressTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*TasksItemProgressTaskBoardFormatRequestBuilder) { + return NewTasksItemProgressTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/tasks_planner_task_item_request_builder.go b/planner/tasks_planner_task_item_request_builder.go index 576e436027c..edf754a1013 100644 --- a/planner/tasks_planner_task_item_request_builder.go +++ b/planner/tasks_planner_task_item_request_builder.go @@ -178,3 +178,7 @@ func (m *TasksPlannerTaskItemRequestBuilder) ToPatchRequestInformation(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 *TasksPlannerTaskItemRequestBuilder) WithUrl(rawUrl string)(*TasksPlannerTaskItemRequestBuilder) { + return NewTasksPlannerTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/planner/tasks_request_builder.go b/planner/tasks_request_builder.go index af1e3cf9a54..6cc93a1d237 100644 --- a/planner/tasks_request_builder.go +++ b/planner/tasks_request_builder.go @@ -46,8 +46,8 @@ type TasksRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPlannerTaskIdString provides operations to manage the tasks property of the microsoft.graph.planner entity. -func (m *TasksRequestBuilder) ByPlannerTaskIdString(plannerTaskId string)(*TasksPlannerTaskItemRequestBuilder) { +// ByPlannerTaskId provides operations to manage the tasks property of the microsoft.graph.planner entity. +func (m *TasksRequestBuilder) ByPlannerTaskId(plannerTaskId string)(*TasksPlannerTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *TasksRequestBuilder) ToPostRequestInformation(ctx context.Context, body } 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 *TasksRequestBuilder) WithUrl(rawUrl string)(*TasksRequestBuilder) { + return NewTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/access_review_policy_request_builder.go b/policies/access_review_policy_request_builder.go index 22f96b2bfab..4e98b032e58 100644 --- a/policies/access_review_policy_request_builder.go +++ b/policies/access_review_policy_request_builder.go @@ -159,3 +159,7 @@ func (m *AccessReviewPolicyRequestBuilder) ToPatchRequestInformation(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 *AccessReviewPolicyRequestBuilder) WithUrl(rawUrl string)(*AccessReviewPolicyRequestBuilder) { + return NewAccessReviewPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/activity_based_timeout_policies_activity_based_timeout_policy_item_request_builder.go b/policies/activity_based_timeout_policies_activity_based_timeout_policy_item_request_builder.go index 40803b00e78..70c63e4efe8 100644 --- a/policies/activity_based_timeout_policies_activity_based_timeout_policy_item_request_builder.go +++ b/policies/activity_based_timeout_policies_activity_based_timeout_policy_item_request_builder.go @@ -166,3 +166,7 @@ func (m *ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilde } 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 *ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilder) WithUrl(rawUrl string)(*ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilder) { + return NewActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/activity_based_timeout_policies_count_request_builder.go b/policies/activity_based_timeout_policies_count_request_builder.go index 3f6c27df5a6..f481903c2ee 100644 --- a/policies/activity_based_timeout_policies_count_request_builder.go +++ b/policies/activity_based_timeout_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ActivityBasedTimeoutPoliciesCountRequestBuilder) 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 *ActivityBasedTimeoutPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ActivityBasedTimeoutPoliciesCountRequestBuilder) { + return NewActivityBasedTimeoutPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/activity_based_timeout_policies_item_applies_to_count_request_builder.go b/policies/activity_based_timeout_policies_item_applies_to_count_request_builder.go index 932573dd069..15f68c07e3f 100644 --- a/policies/activity_based_timeout_policies_item_applies_to_count_request_builder.go +++ b/policies/activity_based_timeout_policies_item_applies_to_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ActivityBasedTimeoutPoliciesItemAppliesToCountRequestBuilder) ToGetRequ } 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 *ActivityBasedTimeoutPoliciesItemAppliesToCountRequestBuilder) WithUrl(rawUrl string)(*ActivityBasedTimeoutPoliciesItemAppliesToCountRequestBuilder) { + return NewActivityBasedTimeoutPoliciesItemAppliesToCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/activity_based_timeout_policies_item_applies_to_directory_object_item_request_builder.go b/policies/activity_based_timeout_policies_item_applies_to_directory_object_item_request_builder.go index cfe24368715..c303526c62e 100644 --- a/policies/activity_based_timeout_policies_item_applies_to_directory_object_item_request_builder.go +++ b/policies/activity_based_timeout_policies_item_applies_to_directory_object_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ActivityBasedTimeoutPoliciesItemAppliesToDirectoryObjectItemRequestBuil } 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 *ActivityBasedTimeoutPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ActivityBasedTimeoutPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) { + return NewActivityBasedTimeoutPoliciesItemAppliesToDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/activity_based_timeout_policies_item_applies_to_request_builder.go b/policies/activity_based_timeout_policies_item_applies_to_request_builder.go index 782a3771683..06ac0aec523 100644 --- a/policies/activity_based_timeout_policies_item_applies_to_request_builder.go +++ b/policies/activity_based_timeout_policies_item_applies_to_request_builder.go @@ -39,8 +39,8 @@ type ActivityBasedTimeoutPoliciesItemAppliesToRequestBuilderGetRequestConfigurat // Request query parameters QueryParameters *ActivityBasedTimeoutPoliciesItemAppliesToRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the appliesTo property of the microsoft.graph.stsPolicy entity. -func (m *ActivityBasedTimeoutPoliciesItemAppliesToRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ActivityBasedTimeoutPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the appliesTo property of the microsoft.graph.stsPolicy entity. +func (m *ActivityBasedTimeoutPoliciesItemAppliesToRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ActivityBasedTimeoutPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ActivityBasedTimeoutPoliciesItemAppliesToRequestBuilder) ToGetRequestIn } 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 *ActivityBasedTimeoutPoliciesItemAppliesToRequestBuilder) WithUrl(rawUrl string)(*ActivityBasedTimeoutPoliciesItemAppliesToRequestBuilder) { + return NewActivityBasedTimeoutPoliciesItemAppliesToRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/activity_based_timeout_policies_request_builder.go b/policies/activity_based_timeout_policies_request_builder.go index aa34bccb7e6..64f2175eba6 100644 --- a/policies/activity_based_timeout_policies_request_builder.go +++ b/policies/activity_based_timeout_policies_request_builder.go @@ -46,8 +46,8 @@ type ActivityBasedTimeoutPoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByActivityBasedTimeoutPolicyIdString provides operations to manage the activityBasedTimeoutPolicies property of the microsoft.graph.policyRoot entity. -func (m *ActivityBasedTimeoutPoliciesRequestBuilder) ByActivityBasedTimeoutPolicyIdString(activityBasedTimeoutPolicyId string)(*ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilder) { +// ByActivityBasedTimeoutPolicyId provides operations to manage the activityBasedTimeoutPolicies property of the microsoft.graph.policyRoot entity. +func (m *ActivityBasedTimeoutPoliciesRequestBuilder) ByActivityBasedTimeoutPolicyId(activityBasedTimeoutPolicyId string)(*ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ActivityBasedTimeoutPoliciesRequestBuilder) 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 *ActivityBasedTimeoutPoliciesRequestBuilder) WithUrl(rawUrl string)(*ActivityBasedTimeoutPoliciesRequestBuilder) { + return NewActivityBasedTimeoutPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/admin_consent_request_policy_request_builder.go b/policies/admin_consent_request_policy_request_builder.go index ac96c400492..074a6272534 100644 --- a/policies/admin_consent_request_policy_request_builder.go +++ b/policies/admin_consent_request_policy_request_builder.go @@ -159,3 +159,7 @@ func (m *AdminConsentRequestPolicyRequestBuilder) ToPatchRequestInformation(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 *AdminConsentRequestPolicyRequestBuilder) WithUrl(rawUrl string)(*AdminConsentRequestPolicyRequestBuilder) { + return NewAdminConsentRequestPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/app_management_policies_app_management_policy_item_request_builder.go b/policies/app_management_policies_app_management_policy_item_request_builder.go index 6dc20a3ef09..8f63acaf5f2 100644 --- a/policies/app_management_policies_app_management_policy_item_request_builder.go +++ b/policies/app_management_policies_app_management_policy_item_request_builder.go @@ -166,3 +166,7 @@ func (m *AppManagementPoliciesAppManagementPolicyItemRequestBuilder) ToPatchRequ } 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 *AppManagementPoliciesAppManagementPolicyItemRequestBuilder) WithUrl(rawUrl string)(*AppManagementPoliciesAppManagementPolicyItemRequestBuilder) { + return NewAppManagementPoliciesAppManagementPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/app_management_policies_count_request_builder.go b/policies/app_management_policies_count_request_builder.go index 3961ccaa9b3..293b5cb01db 100644 --- a/policies/app_management_policies_count_request_builder.go +++ b/policies/app_management_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AppManagementPoliciesCountRequestBuilder) ToGetRequestInformation(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 *AppManagementPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*AppManagementPoliciesCountRequestBuilder) { + return NewAppManagementPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/app_management_policies_item_applies_to_count_request_builder.go b/policies/app_management_policies_item_applies_to_count_request_builder.go index 59b14ca6024..adfeda3ced3 100644 --- a/policies/app_management_policies_item_applies_to_count_request_builder.go +++ b/policies/app_management_policies_item_applies_to_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AppManagementPoliciesItemAppliesToCountRequestBuilder) ToGetRequestInfo } 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 *AppManagementPoliciesItemAppliesToCountRequestBuilder) WithUrl(rawUrl string)(*AppManagementPoliciesItemAppliesToCountRequestBuilder) { + return NewAppManagementPoliciesItemAppliesToCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/app_management_policies_item_applies_to_directory_object_item_request_builder.go b/policies/app_management_policies_item_applies_to_directory_object_item_request_builder.go index ea6d584da16..092baec1c29 100644 --- a/policies/app_management_policies_item_applies_to_directory_object_item_request_builder.go +++ b/policies/app_management_policies_item_applies_to_directory_object_item_request_builder.go @@ -75,3 +75,7 @@ func (m *AppManagementPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) To } 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 *AppManagementPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*AppManagementPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) { + return NewAppManagementPoliciesItemAppliesToDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/app_management_policies_item_applies_to_request_builder.go b/policies/app_management_policies_item_applies_to_request_builder.go index fb02f69d208..76ba5296d5a 100644 --- a/policies/app_management_policies_item_applies_to_request_builder.go +++ b/policies/app_management_policies_item_applies_to_request_builder.go @@ -39,8 +39,8 @@ type AppManagementPoliciesItemAppliesToRequestBuilderGetRequestConfiguration str // Request query parameters QueryParameters *AppManagementPoliciesItemAppliesToRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the appliesTo property of the microsoft.graph.appManagementPolicy entity. -func (m *AppManagementPoliciesItemAppliesToRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*AppManagementPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the appliesTo property of the microsoft.graph.appManagementPolicy entity. +func (m *AppManagementPoliciesItemAppliesToRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*AppManagementPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *AppManagementPoliciesItemAppliesToRequestBuilder) ToGetRequestInformati } 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 *AppManagementPoliciesItemAppliesToRequestBuilder) WithUrl(rawUrl string)(*AppManagementPoliciesItemAppliesToRequestBuilder) { + return NewAppManagementPoliciesItemAppliesToRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/app_management_policies_request_builder.go b/policies/app_management_policies_request_builder.go index e749e754599..08d5ac61614 100644 --- a/policies/app_management_policies_request_builder.go +++ b/policies/app_management_policies_request_builder.go @@ -46,8 +46,8 @@ type AppManagementPoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAppManagementPolicyIdString provides operations to manage the appManagementPolicies property of the microsoft.graph.policyRoot entity. -func (m *AppManagementPoliciesRequestBuilder) ByAppManagementPolicyIdString(appManagementPolicyId string)(*AppManagementPoliciesAppManagementPolicyItemRequestBuilder) { +// ByAppManagementPolicyId provides operations to manage the appManagementPolicies property of the microsoft.graph.policyRoot entity. +func (m *AppManagementPoliciesRequestBuilder) ByAppManagementPolicyId(appManagementPolicyId string)(*AppManagementPoliciesAppManagementPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *AppManagementPoliciesRequestBuilder) 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 *AppManagementPoliciesRequestBuilder) WithUrl(rawUrl string)(*AppManagementPoliciesRequestBuilder) { + return NewAppManagementPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/authentication_flows_policy_request_builder.go b/policies/authentication_flows_policy_request_builder.go index f67945d1053..170d877ad30 100644 --- a/policies/authentication_flows_policy_request_builder.go +++ b/policies/authentication_flows_policy_request_builder.go @@ -159,3 +159,7 @@ func (m *AuthenticationFlowsPolicyRequestBuilder) ToPatchRequestInformation(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 *AuthenticationFlowsPolicyRequestBuilder) WithUrl(rawUrl string)(*AuthenticationFlowsPolicyRequestBuilder) { + return NewAuthenticationFlowsPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/authentication_methods_policy_authentication_method_configurations_authentication_method_configuration_item_request_builder.go b/policies/authentication_methods_policy_authentication_method_configurations_authentication_method_configuration_item_request_builder.go index be40b6fc2ad..2e281dd9abf 100644 --- a/policies/authentication_methods_policy_authentication_method_configurations_authentication_method_configuration_item_request_builder.go +++ b/policies/authentication_methods_policy_authentication_method_configurations_authentication_method_configuration_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthentica } 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 *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilder) { + return NewAuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/authentication_methods_policy_authentication_method_configurations_count_request_builder.go b/policies/authentication_methods_policy_authentication_method_configurations_count_request_builder.go index c0f538e9607..cee1f8b17a5 100644 --- a/policies/authentication_methods_policy_authentication_method_configurations_count_request_builder.go +++ b/policies/authentication_methods_policy_authentication_method_configurations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsCountReque } 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 *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodsPolicyAuthenticationMethodConfigurationsCountRequestBuilder) { + return NewAuthenticationMethodsPolicyAuthenticationMethodConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/authentication_methods_policy_authentication_method_configurations_request_builder.go b/policies/authentication_methods_policy_authentication_method_configurations_request_builder.go index 76af70d48bc..5649e091f4a 100644 --- a/policies/authentication_methods_policy_authentication_method_configurations_request_builder.go +++ b/policies/authentication_methods_policy_authentication_method_configurations_request_builder.go @@ -46,8 +46,8 @@ type AuthenticationMethodsPolicyAuthenticationMethodConfigurationsRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAuthenticationMethodConfigurationIdString provides operations to manage the authenticationMethodConfigurations property of the microsoft.graph.authenticationMethodsPolicy entity. -func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsRequestBuilder) ByAuthenticationMethodConfigurationIdString(authenticationMethodConfigurationId string)(*AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilder) { +// ByAuthenticationMethodConfigurationId provides operations to manage the authenticationMethodConfigurations property of the microsoft.graph.authenticationMethodsPolicy entity. +func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsRequestBuilder) ByAuthenticationMethodConfigurationId(authenticationMethodConfigurationId string)(*AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthenticationMethodConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsRequestBui } 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 *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodsPolicyAuthenticationMethodConfigurationsRequestBuilder) { + return NewAuthenticationMethodsPolicyAuthenticationMethodConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/authentication_methods_policy_request_builder.go b/policies/authentication_methods_policy_request_builder.go index a05a46f7b7e..e78438d202b 100644 --- a/policies/authentication_methods_policy_request_builder.go +++ b/policies/authentication_methods_policy_request_builder.go @@ -163,3 +163,7 @@ func (m *AuthenticationMethodsPolicyRequestBuilder) ToPatchRequestInformation(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 *AuthenticationMethodsPolicyRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodsPolicyRequestBuilder) { + return NewAuthenticationMethodsPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/authentication_strength_policies_authentication_strength_policy_item_request_builder.go b/policies/authentication_strength_policies_authentication_strength_policy_item_request_builder.go index b6b94685435..7636cbd77d1 100644 --- a/policies/authentication_strength_policies_authentication_strength_policy_item_request_builder.go +++ b/policies/authentication_strength_policies_authentication_strength_policy_item_request_builder.go @@ -174,3 +174,7 @@ func (m *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBu func (m *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilder) Usage()(*AuthenticationStrengthPoliciesItemUsageRequestBuilder) { return NewAuthenticationStrengthPoliciesItemUsageRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilder) WithUrl(rawUrl string)(*AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilder) { + return NewAuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/authentication_strength_policies_count_request_builder.go b/policies/authentication_strength_policies_count_request_builder.go index cf6600cf617..96661f8a7da 100644 --- a/policies/authentication_strength_policies_count_request_builder.go +++ b/policies/authentication_strength_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AuthenticationStrengthPoliciesCountRequestBuilder) ToGetRequestInformat } 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 *AuthenticationStrengthPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*AuthenticationStrengthPoliciesCountRequestBuilder) { + return NewAuthenticationStrengthPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go b/policies/authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go index d5e823c8092..2452115f85b 100644 --- a/policies/authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go +++ b/policies/authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go @@ -89,3 +89,8 @@ func (m *AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodM } 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. +// Deprecated: The findByMethodMode function is deprecated. Please use OData filter query instead. as of 2023-02/FindByMethodModeRemove on 2023-02-01 and will be removed 2023-03-31 +func (m *AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilder) WithUrl(rawUrl string)(*AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilder) { + return NewAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go b/policies/authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go index b09f9920fd9..1bbeec1a913 100644 --- a/policies/authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go +++ b/policies/authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go @@ -162,3 +162,7 @@ func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticati } 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 *AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) { + return NewAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/authentication_strength_policies_item_combination_configurations_count_request_builder.go b/policies/authentication_strength_policies_item_combination_configurations_count_request_builder.go index dea73131f05..27e5a21a2c5 100644 --- a/policies/authentication_strength_policies_item_combination_configurations_count_request_builder.go +++ b/policies/authentication_strength_policies_item_combination_configurations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsCountRequest } 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 *AuthenticationStrengthPoliciesItemCombinationConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*AuthenticationStrengthPoliciesItemCombinationConfigurationsCountRequestBuilder) { + return NewAuthenticationStrengthPoliciesItemCombinationConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/authentication_strength_policies_item_combination_configurations_request_builder.go b/policies/authentication_strength_policies_item_combination_configurations_request_builder.go index 3b6404714a0..ee0f4aaf52b 100644 --- a/policies/authentication_strength_policies_item_combination_configurations_request_builder.go +++ b/policies/authentication_strength_policies_item_combination_configurations_request_builder.go @@ -46,8 +46,8 @@ type AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilderPo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAuthenticationCombinationConfigurationIdString provides operations to manage the combinationConfigurations property of the microsoft.graph.authenticationStrengthPolicy entity. -func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilder) ByAuthenticationCombinationConfigurationIdString(authenticationCombinationConfigurationId string)(*AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) { +// ByAuthenticationCombinationConfigurationId provides operations to manage the combinationConfigurations property of the microsoft.graph.authenticationStrengthPolicy entity. +func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilder) ByAuthenticationCombinationConfigurationId(authenticationCombinationConfigurationId string)(*AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuild } 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 *AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilder) WithUrl(rawUrl string)(*AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilder) { + return NewAuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/authentication_strength_policies_item_update_allowed_combinations_request_builder.go b/policies/authentication_strength_policies_item_update_allowed_combinations_request_builder.go index 29741f18f4c..ee23cb1018e 100644 --- a/policies/authentication_strength_policies_item_update_allowed_combinations_request_builder.go +++ b/policies/authentication_strength_policies_item_update_allowed_combinations_request_builder.go @@ -70,3 +70,7 @@ func (m *AuthenticationStrengthPoliciesItemUpdateAllowedCombinationsRequestBuild } 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 *AuthenticationStrengthPoliciesItemUpdateAllowedCombinationsRequestBuilder) WithUrl(rawUrl string)(*AuthenticationStrengthPoliciesItemUpdateAllowedCombinationsRequestBuilder) { + return NewAuthenticationStrengthPoliciesItemUpdateAllowedCombinationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/authentication_strength_policies_item_usage_request_builder.go b/policies/authentication_strength_policies_item_usage_request_builder.go index 8254a8253f6..77230935c49 100644 --- a/policies/authentication_strength_policies_item_usage_request_builder.go +++ b/policies/authentication_strength_policies_item_usage_request_builder.go @@ -63,3 +63,7 @@ func (m *AuthenticationStrengthPoliciesItemUsageRequestBuilder) ToGetRequestInfo } 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 *AuthenticationStrengthPoliciesItemUsageRequestBuilder) WithUrl(rawUrl string)(*AuthenticationStrengthPoliciesItemUsageRequestBuilder) { + return NewAuthenticationStrengthPoliciesItemUsageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/authentication_strength_policies_request_builder.go b/policies/authentication_strength_policies_request_builder.go index 7db48a0b868..a8e428a7745 100644 --- a/policies/authentication_strength_policies_request_builder.go +++ b/policies/authentication_strength_policies_request_builder.go @@ -46,8 +46,8 @@ type AuthenticationStrengthPoliciesRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAuthenticationStrengthPolicyIdString provides operations to manage the authenticationStrengthPolicies property of the microsoft.graph.policyRoot entity. -func (m *AuthenticationStrengthPoliciesRequestBuilder) ByAuthenticationStrengthPolicyIdString(authenticationStrengthPolicyId string)(*AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilder) { +// ByAuthenticationStrengthPolicyId provides operations to manage the authenticationStrengthPolicies property of the microsoft.graph.policyRoot entity. +func (m *AuthenticationStrengthPoliciesRequestBuilder) ByAuthenticationStrengthPolicyId(authenticationStrengthPolicyId string)(*AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *AuthenticationStrengthPoliciesRequestBuilder) 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 *AuthenticationStrengthPoliciesRequestBuilder) WithUrl(rawUrl string)(*AuthenticationStrengthPoliciesRequestBuilder) { + return NewAuthenticationStrengthPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/authorization_policy_authorization_policy_item_request_builder.go b/policies/authorization_policy_authorization_policy_item_request_builder.go index 27329fad884..50839f76a89 100644 --- a/policies/authorization_policy_authorization_policy_item_request_builder.go +++ b/policies/authorization_policy_authorization_policy_item_request_builder.go @@ -157,3 +157,7 @@ func (m *AuthorizationPolicyAuthorizationPolicyItemRequestBuilder) ToPatchReques } 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 *AuthorizationPolicyAuthorizationPolicyItemRequestBuilder) WithUrl(rawUrl string)(*AuthorizationPolicyAuthorizationPolicyItemRequestBuilder) { + return NewAuthorizationPolicyAuthorizationPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/authorization_policy_count_request_builder.go b/policies/authorization_policy_count_request_builder.go index e0e4f687544..708eee9cdf0 100644 --- a/policies/authorization_policy_count_request_builder.go +++ b/policies/authorization_policy_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AuthorizationPolicyCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *AuthorizationPolicyCountRequestBuilder) WithUrl(rawUrl string)(*AuthorizationPolicyCountRequestBuilder) { + return NewAuthorizationPolicyCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/authorization_policy_item_default_user_role_overrides_count_request_builder.go b/policies/authorization_policy_item_default_user_role_overrides_count_request_builder.go index c683fcba071..a1bdb4db325 100644 --- a/policies/authorization_policy_item_default_user_role_overrides_count_request_builder.go +++ b/policies/authorization_policy_item_default_user_role_overrides_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AuthorizationPolicyItemDefaultUserRoleOverridesCountRequestBuilder) ToG } 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 *AuthorizationPolicyItemDefaultUserRoleOverridesCountRequestBuilder) WithUrl(rawUrl string)(*AuthorizationPolicyItemDefaultUserRoleOverridesCountRequestBuilder) { + return NewAuthorizationPolicyItemDefaultUserRoleOverridesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/authorization_policy_item_default_user_role_overrides_default_user_role_override_item_request_builder.go b/policies/authorization_policy_item_default_user_role_overrides_default_user_role_override_item_request_builder.go index 0406cf60422..0ae6a8384d5 100644 --- a/policies/authorization_policy_item_default_user_role_overrides_default_user_role_override_item_request_builder.go +++ b/policies/authorization_policy_item_default_user_role_overrides_default_user_role_override_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AuthorizationPolicyItemDefaultUserRoleOverridesDefaultUserRoleOverrideI } 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 *AuthorizationPolicyItemDefaultUserRoleOverridesDefaultUserRoleOverrideItemRequestBuilder) WithUrl(rawUrl string)(*AuthorizationPolicyItemDefaultUserRoleOverridesDefaultUserRoleOverrideItemRequestBuilder) { + return NewAuthorizationPolicyItemDefaultUserRoleOverridesDefaultUserRoleOverrideItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/authorization_policy_item_default_user_role_overrides_request_builder.go b/policies/authorization_policy_item_default_user_role_overrides_request_builder.go index 286e476c9c1..9be4f1fed47 100644 --- a/policies/authorization_policy_item_default_user_role_overrides_request_builder.go +++ b/policies/authorization_policy_item_default_user_role_overrides_request_builder.go @@ -46,8 +46,8 @@ type AuthorizationPolicyItemDefaultUserRoleOverridesRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDefaultUserRoleOverrideIdString provides operations to manage the defaultUserRoleOverrides property of the microsoft.graph.authorizationPolicy entity. -func (m *AuthorizationPolicyItemDefaultUserRoleOverridesRequestBuilder) ByDefaultUserRoleOverrideIdString(defaultUserRoleOverrideId string)(*AuthorizationPolicyItemDefaultUserRoleOverridesDefaultUserRoleOverrideItemRequestBuilder) { +// ByDefaultUserRoleOverrideId provides operations to manage the defaultUserRoleOverrides property of the microsoft.graph.authorizationPolicy entity. +func (m *AuthorizationPolicyItemDefaultUserRoleOverridesRequestBuilder) ByDefaultUserRoleOverrideId(defaultUserRoleOverrideId string)(*AuthorizationPolicyItemDefaultUserRoleOverridesDefaultUserRoleOverrideItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AuthorizationPolicyItemDefaultUserRoleOverridesRequestBuilder) ToPostRe } 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 *AuthorizationPolicyItemDefaultUserRoleOverridesRequestBuilder) WithUrl(rawUrl string)(*AuthorizationPolicyItemDefaultUserRoleOverridesRequestBuilder) { + return NewAuthorizationPolicyItemDefaultUserRoleOverridesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/authorization_policy_request_builder.go b/policies/authorization_policy_request_builder.go index cb247a0aa4e..c200ab9e035 100644 --- a/policies/authorization_policy_request_builder.go +++ b/policies/authorization_policy_request_builder.go @@ -46,8 +46,8 @@ type AuthorizationPolicyRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAuthorizationPolicyIdString provides operations to manage the authorizationPolicy property of the microsoft.graph.policyRoot entity. -func (m *AuthorizationPolicyRequestBuilder) ByAuthorizationPolicyIdString(authorizationPolicyId string)(*AuthorizationPolicyAuthorizationPolicyItemRequestBuilder) { +// ByAuthorizationPolicyId provides operations to manage the authorizationPolicy property of the microsoft.graph.policyRoot entity. +func (m *AuthorizationPolicyRequestBuilder) ByAuthorizationPolicyId(authorizationPolicyId string)(*AuthorizationPolicyAuthorizationPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AuthorizationPolicyRequestBuilder) 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 *AuthorizationPolicyRequestBuilder) WithUrl(rawUrl string)(*AuthorizationPolicyRequestBuilder) { + return NewAuthorizationPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/b2c_authentication_methods_policy_request_builder.go b/policies/b2c_authentication_methods_policy_request_builder.go index 24e4bcbacfb..e7c143000c5 100644 --- a/policies/b2c_authentication_methods_policy_request_builder.go +++ b/policies/b2c_authentication_methods_policy_request_builder.go @@ -159,3 +159,7 @@ func (m *B2cAuthenticationMethodsPolicyRequestBuilder) 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 *B2cAuthenticationMethodsPolicyRequestBuilder) WithUrl(rawUrl string)(*B2cAuthenticationMethodsPolicyRequestBuilder) { + return NewB2cAuthenticationMethodsPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/claims_mapping_policies_claims_mapping_policy_item_request_builder.go b/policies/claims_mapping_policies_claims_mapping_policy_item_request_builder.go index 2790fc9080a..14b8f5b1721 100644 --- a/policies/claims_mapping_policies_claims_mapping_policy_item_request_builder.go +++ b/policies/claims_mapping_policies_claims_mapping_policy_item_request_builder.go @@ -166,3 +166,7 @@ func (m *ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder) ToPatchRequ } 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 *ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder) WithUrl(rawUrl string)(*ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder) { + return NewClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/claims_mapping_policies_count_request_builder.go b/policies/claims_mapping_policies_count_request_builder.go index 7e496599f7b..8a6266ee73f 100644 --- a/policies/claims_mapping_policies_count_request_builder.go +++ b/policies/claims_mapping_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ClaimsMappingPoliciesCountRequestBuilder) ToGetRequestInformation(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 *ClaimsMappingPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ClaimsMappingPoliciesCountRequestBuilder) { + return NewClaimsMappingPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/claims_mapping_policies_item_applies_to_count_request_builder.go b/policies/claims_mapping_policies_item_applies_to_count_request_builder.go index 56e1f1588f9..c1bc5d92d0f 100644 --- a/policies/claims_mapping_policies_item_applies_to_count_request_builder.go +++ b/policies/claims_mapping_policies_item_applies_to_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ClaimsMappingPoliciesItemAppliesToCountRequestBuilder) ToGetRequestInfo } 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 *ClaimsMappingPoliciesItemAppliesToCountRequestBuilder) WithUrl(rawUrl string)(*ClaimsMappingPoliciesItemAppliesToCountRequestBuilder) { + return NewClaimsMappingPoliciesItemAppliesToCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/claims_mapping_policies_item_applies_to_directory_object_item_request_builder.go b/policies/claims_mapping_policies_item_applies_to_directory_object_item_request_builder.go index 84db5fd769b..1a428404e4d 100644 --- a/policies/claims_mapping_policies_item_applies_to_directory_object_item_request_builder.go +++ b/policies/claims_mapping_policies_item_applies_to_directory_object_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ClaimsMappingPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) To } 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 *ClaimsMappingPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ClaimsMappingPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) { + return NewClaimsMappingPoliciesItemAppliesToDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/claims_mapping_policies_item_applies_to_request_builder.go b/policies/claims_mapping_policies_item_applies_to_request_builder.go index 2764df82f87..d6aca72d147 100644 --- a/policies/claims_mapping_policies_item_applies_to_request_builder.go +++ b/policies/claims_mapping_policies_item_applies_to_request_builder.go @@ -39,8 +39,8 @@ type ClaimsMappingPoliciesItemAppliesToRequestBuilderGetRequestConfiguration str // Request query parameters QueryParameters *ClaimsMappingPoliciesItemAppliesToRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the appliesTo property of the microsoft.graph.stsPolicy entity. -func (m *ClaimsMappingPoliciesItemAppliesToRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ClaimsMappingPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the appliesTo property of the microsoft.graph.stsPolicy entity. +func (m *ClaimsMappingPoliciesItemAppliesToRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ClaimsMappingPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ClaimsMappingPoliciesItemAppliesToRequestBuilder) ToGetRequestInformati } 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 *ClaimsMappingPoliciesItemAppliesToRequestBuilder) WithUrl(rawUrl string)(*ClaimsMappingPoliciesItemAppliesToRequestBuilder) { + return NewClaimsMappingPoliciesItemAppliesToRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/claims_mapping_policies_request_builder.go b/policies/claims_mapping_policies_request_builder.go index bfc0da2aeaa..b269c56306b 100644 --- a/policies/claims_mapping_policies_request_builder.go +++ b/policies/claims_mapping_policies_request_builder.go @@ -46,8 +46,8 @@ type ClaimsMappingPoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByClaimsMappingPolicyIdString provides operations to manage the claimsMappingPolicies property of the microsoft.graph.policyRoot entity. -func (m *ClaimsMappingPoliciesRequestBuilder) ByClaimsMappingPolicyIdString(claimsMappingPolicyId string)(*ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder) { +// ByClaimsMappingPolicyId provides operations to manage the claimsMappingPolicies property of the microsoft.graph.policyRoot entity. +func (m *ClaimsMappingPoliciesRequestBuilder) ByClaimsMappingPolicyId(claimsMappingPolicyId string)(*ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ClaimsMappingPoliciesRequestBuilder) 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 *ClaimsMappingPoliciesRequestBuilder) WithUrl(rawUrl string)(*ClaimsMappingPoliciesRequestBuilder) { + return NewClaimsMappingPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/conditional_access_policies_conditional_access_policy_item_request_builder.go b/policies/conditional_access_policies_conditional_access_policy_item_request_builder.go index 60099bcb148..d2c3323592d 100644 --- a/policies/conditional_access_policies_conditional_access_policy_item_request_builder.go +++ b/policies/conditional_access_policies_conditional_access_policy_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) 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 *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) { + return NewConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/conditional_access_policies_count_request_builder.go b/policies/conditional_access_policies_count_request_builder.go index 7435c1076ba..7ebc084ab59 100644 --- a/policies/conditional_access_policies_count_request_builder.go +++ b/policies/conditional_access_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConditionalAccessPoliciesCountRequestBuilder) ToGetRequestInformation(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 *ConditionalAccessPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessPoliciesCountRequestBuilder) { + return NewConditionalAccessPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/conditional_access_policies_request_builder.go b/policies/conditional_access_policies_request_builder.go index 7bb4f22d17c..786c2b04232 100644 --- a/policies/conditional_access_policies_request_builder.go +++ b/policies/conditional_access_policies_request_builder.go @@ -46,8 +46,8 @@ type ConditionalAccessPoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByConditionalAccessPolicyIdString provides operations to manage the conditionalAccessPolicies property of the microsoft.graph.policyRoot entity. -func (m *ConditionalAccessPoliciesRequestBuilder) ByConditionalAccessPolicyIdString(conditionalAccessPolicyId string)(*ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) { +// ByConditionalAccessPolicyId provides operations to manage the conditionalAccessPolicies property of the microsoft.graph.policyRoot entity. +func (m *ConditionalAccessPoliciesRequestBuilder) ByConditionalAccessPolicyId(conditionalAccessPolicyId string)(*ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ConditionalAccessPoliciesRequestBuilder) ToPostRequestInformation(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 *ConditionalAccessPoliciesRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessPoliciesRequestBuilder) { + return NewConditionalAccessPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/cross_tenant_access_policy_default_request_builder.go b/policies/cross_tenant_access_policy_default_request_builder.go index b0924d4d855..bfd70accc26 100644 --- a/policies/cross_tenant_access_policy_default_request_builder.go +++ b/policies/cross_tenant_access_policy_default_request_builder.go @@ -163,3 +163,7 @@ func (m *CrossTenantAccessPolicyDefaultRequestBuilder) 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 *CrossTenantAccessPolicyDefaultRequestBuilder) WithUrl(rawUrl string)(*CrossTenantAccessPolicyDefaultRequestBuilder) { + return NewCrossTenantAccessPolicyDefaultRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/cross_tenant_access_policy_default_reset_to_system_default_request_builder.go b/policies/cross_tenant_access_policy_default_reset_to_system_default_request_builder.go index ef97b849e8b..9ed048e3b93 100644 --- a/policies/cross_tenant_access_policy_default_reset_to_system_default_request_builder.go +++ b/policies/cross_tenant_access_policy_default_reset_to_system_default_request_builder.go @@ -61,3 +61,7 @@ func (m *CrossTenantAccessPolicyDefaultResetToSystemDefaultRequestBuilder) ToPos } 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 *CrossTenantAccessPolicyDefaultResetToSystemDefaultRequestBuilder) WithUrl(rawUrl string)(*CrossTenantAccessPolicyDefaultResetToSystemDefaultRequestBuilder) { + return NewCrossTenantAccessPolicyDefaultResetToSystemDefaultRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/cross_tenant_access_policy_partners_count_request_builder.go b/policies/cross_tenant_access_policy_partners_count_request_builder.go index 5e8363bb750..88ab4d11467 100644 --- a/policies/cross_tenant_access_policy_partners_count_request_builder.go +++ b/policies/cross_tenant_access_policy_partners_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CrossTenantAccessPolicyPartnersCountRequestBuilder) ToGetRequestInforma } 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 *CrossTenantAccessPolicyPartnersCountRequestBuilder) WithUrl(rawUrl string)(*CrossTenantAccessPolicyPartnersCountRequestBuilder) { + return NewCrossTenantAccessPolicyPartnersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/cross_tenant_access_policy_partners_cross_tenant_access_policy_configuration_partner_tenant_item_request_builder.go b/policies/cross_tenant_access_policy_partners_cross_tenant_access_policy_configuration_partner_tenant_item_request_builder.go index d5d1a5fac6f..57f31a1a5ef 100644 --- a/policies/cross_tenant_access_policy_partners_cross_tenant_access_policy_configuration_partner_tenant_item_request_builder.go +++ b/policies/cross_tenant_access_policy_partners_cross_tenant_access_policy_configuration_partner_tenant_item_request_builder.go @@ -166,3 +166,7 @@ func (m *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPart } 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 *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder) WithUrl(rawUrl string)(*CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder) { + return NewCrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go b/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go index a9485e9d2bb..6f8aee90486 100644 --- a/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go +++ b/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go @@ -34,8 +34,8 @@ type CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderGet // Request query parameters QueryParameters *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderGetQueryParameters } -// CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderPatchRequestConfiguration struct { +// CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options @@ -97,13 +97,10 @@ func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantIdentitySyncPolicyPartnerable), nil } -// Patch create a cross-tenant user synchronization policy for a partner-specific configuration. +// Put update the navigation property identitySynchronization in policies // Deprecated: as of 2022-04/PrivatePreview:CrossTenantSyncPolicy on 2022-03-24 and will be removed 2023-06-06 -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-1.0 -func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantIdentitySyncPolicyPartnerable, requestConfiguration *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantIdentitySyncPolicyPartnerable, error) { - requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); +func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) Put(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantIdentitySyncPolicyPartnerable, requestConfiguration *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantIdentitySyncPolicyPartnerable, error) { + requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { return nil, err } @@ -150,13 +147,13 @@ func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilde } return requestInfo, nil } -// ToPatchRequestInformation create a cross-tenant user synchronization policy for a partner-specific configuration. +// ToPutRequestInformation update the navigation property identitySynchronization in policies // Deprecated: as of 2022-04/PrivatePreview:CrossTenantSyncPolicy on 2022-03-24 and will be removed 2023-06-06 -func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantIdentitySyncPolicyPartnerable, requestConfiguration *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantIdentitySyncPolicyPartnerable, requestConfiguration *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT requestInfo.Headers.Add("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { @@ -168,3 +165,8 @@ func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilde } 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. +// Deprecated: as of 2022-04/PrivatePreview:CrossTenantSyncPolicy on 2022-03-24 and will be removed 2023-06-06 +func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) WithUrl(rawUrl string)(*CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) { + return NewCrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/cross_tenant_access_policy_partners_request_builder.go b/policies/cross_tenant_access_policy_partners_request_builder.go index 0171eb42269..8251f76d058 100644 --- a/policies/cross_tenant_access_policy_partners_request_builder.go +++ b/policies/cross_tenant_access_policy_partners_request_builder.go @@ -46,8 +46,8 @@ type CrossTenantAccessPolicyPartnersRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCrossTenantAccessPolicyConfigurationPartnerTenantIdString provides operations to manage the partners property of the microsoft.graph.crossTenantAccessPolicy entity. -func (m *CrossTenantAccessPolicyPartnersRequestBuilder) ByCrossTenantAccessPolicyConfigurationPartnerTenantIdString(crossTenantAccessPolicyConfigurationPartnerTenantId string)(*CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder) { +// ByCrossTenantAccessPolicyConfigurationPartnerTenantId provides operations to manage the partners property of the microsoft.graph.crossTenantAccessPolicy entity. +func (m *CrossTenantAccessPolicyPartnersRequestBuilder) ByCrossTenantAccessPolicyConfigurationPartnerTenantId(crossTenantAccessPolicyConfigurationPartnerTenantId string)(*CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *CrossTenantAccessPolicyPartnersRequestBuilder) 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 *CrossTenantAccessPolicyPartnersRequestBuilder) WithUrl(rawUrl string)(*CrossTenantAccessPolicyPartnersRequestBuilder) { + return NewCrossTenantAccessPolicyPartnersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/cross_tenant_access_policy_request_builder.go b/policies/cross_tenant_access_policy_request_builder.go index bde10c12f67..b4e8beea5a2 100644 --- a/policies/cross_tenant_access_policy_request_builder.go +++ b/policies/cross_tenant_access_policy_request_builder.go @@ -167,3 +167,7 @@ func (m *CrossTenantAccessPolicyRequestBuilder) ToPatchRequestInformation(ctx co } 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 *CrossTenantAccessPolicyRequestBuilder) WithUrl(rawUrl string)(*CrossTenantAccessPolicyRequestBuilder) { + return NewCrossTenantAccessPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/default_app_management_policy_request_builder.go b/policies/default_app_management_policy_request_builder.go index a24c37034a0..80620b77457 100644 --- a/policies/default_app_management_policy_request_builder.go +++ b/policies/default_app_management_policy_request_builder.go @@ -159,3 +159,7 @@ func (m *DefaultAppManagementPolicyRequestBuilder) ToPatchRequestInformation(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 *DefaultAppManagementPolicyRequestBuilder) WithUrl(rawUrl string)(*DefaultAppManagementPolicyRequestBuilder) { + return NewDefaultAppManagementPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/device_registration_policy_request_builder.go b/policies/device_registration_policy_request_builder.go index b0ecdd5d4c0..ac0d971d181 100644 --- a/policies/device_registration_policy_request_builder.go +++ b/policies/device_registration_policy_request_builder.go @@ -124,3 +124,7 @@ func (m *DeviceRegistrationPolicyRequestBuilder) 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 *DeviceRegistrationPolicyRequestBuilder) WithUrl(rawUrl string)(*DeviceRegistrationPolicyRequestBuilder) { + return NewDeviceRegistrationPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/directory_role_access_review_policy_request_builder.go b/policies/directory_role_access_review_policy_request_builder.go index 2c60c3c2897..3d4cfccfde1 100644 --- a/policies/directory_role_access_review_policy_request_builder.go +++ b/policies/directory_role_access_review_policy_request_builder.go @@ -153,3 +153,7 @@ func (m *DirectoryRoleAccessReviewPolicyRequestBuilder) ToPatchRequestInformatio } 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 *DirectoryRoleAccessReviewPolicyRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAccessReviewPolicyRequestBuilder) { + return NewDirectoryRoleAccessReviewPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/external_identities_policy_request_builder.go b/policies/external_identities_policy_request_builder.go index ad90567790c..d6f2a44c2da 100644 --- a/policies/external_identities_policy_request_builder.go +++ b/policies/external_identities_policy_request_builder.go @@ -159,3 +159,7 @@ func (m *ExternalIdentitiesPolicyRequestBuilder) 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 *ExternalIdentitiesPolicyRequestBuilder) WithUrl(rawUrl string)(*ExternalIdentitiesPolicyRequestBuilder) { + return NewExternalIdentitiesPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/feature_rollout_policies_count_request_builder.go b/policies/feature_rollout_policies_count_request_builder.go index c30ccf278cb..b14c5197985 100644 --- a/policies/feature_rollout_policies_count_request_builder.go +++ b/policies/feature_rollout_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *FeatureRolloutPoliciesCountRequestBuilder) ToGetRequestInformation(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 *FeatureRolloutPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*FeatureRolloutPoliciesCountRequestBuilder) { + return NewFeatureRolloutPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/feature_rollout_policies_feature_rollout_policy_item_request_builder.go b/policies/feature_rollout_policies_feature_rollout_policy_item_request_builder.go index 45b743e4aaa..b85a6fe28ab 100644 --- a/policies/feature_rollout_policies_feature_rollout_policy_item_request_builder.go +++ b/policies/feature_rollout_policies_feature_rollout_policy_item_request_builder.go @@ -166,3 +166,7 @@ func (m *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) ToPatchRe } 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 *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) WithUrl(rawUrl string)(*FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) { + return NewFeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/feature_rollout_policies_item_applies_to_count_request_builder.go b/policies/feature_rollout_policies_item_applies_to_count_request_builder.go index 94ff9bb72ff..afcca7f5acc 100644 --- a/policies/feature_rollout_policies_item_applies_to_count_request_builder.go +++ b/policies/feature_rollout_policies_item_applies_to_count_request_builder.go @@ -74,3 +74,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToCountRequestBuilder) ToGetRequestInf } 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 *FeatureRolloutPoliciesItemAppliesToCountRequestBuilder) WithUrl(rawUrl string)(*FeatureRolloutPoliciesItemAppliesToCountRequestBuilder) { + return NewFeatureRolloutPoliciesItemAppliesToCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/feature_rollout_policies_item_applies_to_delta_request_builder.go b/policies/feature_rollout_policies_item_applies_to_delta_request_builder.go index fb0d4a5e2ce..436fb237d63 100644 --- a/policies/feature_rollout_policies_item_applies_to_delta_request_builder.go +++ b/policies/feature_rollout_policies_item_applies_to_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToDeltaRequestBuilder) ToGetRequestInf } 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 *FeatureRolloutPoliciesItemAppliesToDeltaRequestBuilder) WithUrl(rawUrl string)(*FeatureRolloutPoliciesItemAppliesToDeltaRequestBuilder) { + return NewFeatureRolloutPoliciesItemAppliesToDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/feature_rollout_policies_item_applies_to_get_by_ids_request_builder.go b/policies/feature_rollout_policies_item_applies_to_get_by_ids_request_builder.go index 0084b407f50..bfffa698a97 100644 --- a/policies/feature_rollout_policies_item_applies_to_get_by_ids_request_builder.go +++ b/policies/feature_rollout_policies_item_applies_to_get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToGetByIdsRequestBuilder) ToPostReques } 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 *FeatureRolloutPoliciesItemAppliesToGetByIdsRequestBuilder) WithUrl(rawUrl string)(*FeatureRolloutPoliciesItemAppliesToGetByIdsRequestBuilder) { + return NewFeatureRolloutPoliciesItemAppliesToGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/feature_rollout_policies_item_applies_to_get_user_owned_objects_request_builder.go b/policies/feature_rollout_policies_item_applies_to_get_user_owned_objects_request_builder.go index d0a39ba9a2c..713ed3261f9 100644 --- a/policies/feature_rollout_policies_item_applies_to_get_user_owned_objects_request_builder.go +++ b/policies/feature_rollout_policies_item_applies_to_get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToGetUserOwnedObjectsRequestBuilder) T } 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 *FeatureRolloutPoliciesItemAppliesToGetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*FeatureRolloutPoliciesItemAppliesToGetUserOwnedObjectsRequestBuilder) { + return NewFeatureRolloutPoliciesItemAppliesToGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/feature_rollout_policies_item_applies_to_item_ref_request_builder.go b/policies/feature_rollout_policies_item_applies_to_item_ref_request_builder.go index 0f094504cf5..283b4a7ea70 100644 --- a/policies/feature_rollout_policies_item_applies_to_item_ref_request_builder.go +++ b/policies/feature_rollout_policies_item_applies_to_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToItemRefRequestBuilder) ToDeleteReque } 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 *FeatureRolloutPoliciesItemAppliesToItemRefRequestBuilder) WithUrl(rawUrl string)(*FeatureRolloutPoliciesItemAppliesToItemRefRequestBuilder) { + return NewFeatureRolloutPoliciesItemAppliesToItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/feature_rollout_policies_item_applies_to_ref_request_builder.go b/policies/feature_rollout_policies_item_applies_to_ref_request_builder.go index 0bd0ba22629..12fe0c15792 100644 --- a/policies/feature_rollout_policies_item_applies_to_ref_request_builder.go +++ b/policies/feature_rollout_policies_item_applies_to_ref_request_builder.go @@ -125,3 +125,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) ToPostRequestInfo } 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 *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) WithUrl(rawUrl string)(*FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) { + return NewFeatureRolloutPoliciesItemAppliesToRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/feature_rollout_policies_item_applies_to_request_builder.go b/policies/feature_rollout_policies_item_applies_to_request_builder.go index b413b56738a..a73dae6540d 100644 --- a/policies/feature_rollout_policies_item_applies_to_request_builder.go +++ b/policies/feature_rollout_policies_item_applies_to_request_builder.go @@ -46,8 +46,8 @@ type FeatureRolloutPoliciesItemAppliesToRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDirectoryObjectIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.policies.featureRolloutPolicies.item.appliesTo.item collection -func (m *FeatureRolloutPoliciesItemAppliesToRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*FeatureRolloutPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.policies.featureRolloutPolicies.item.appliesTo.item collection +func (m *FeatureRolloutPoliciesItemAppliesToRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*FeatureRolloutPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -168,3 +168,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToRequestBuilder) ToPostRequestInforma func (m *FeatureRolloutPoliciesItemAppliesToRequestBuilder) ValidateProperties()(*FeatureRolloutPoliciesItemAppliesToValidatePropertiesRequestBuilder) { return NewFeatureRolloutPoliciesItemAppliesToValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *FeatureRolloutPoliciesItemAppliesToRequestBuilder) WithUrl(rawUrl string)(*FeatureRolloutPoliciesItemAppliesToRequestBuilder) { + return NewFeatureRolloutPoliciesItemAppliesToRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/feature_rollout_policies_item_applies_to_validate_properties_request_builder.go b/policies/feature_rollout_policies_item_applies_to_validate_properties_request_builder.go index 8a708fdcee1..a22a1886fee 100644 --- a/policies/feature_rollout_policies_item_applies_to_validate_properties_request_builder.go +++ b/policies/feature_rollout_policies_item_applies_to_validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToValidatePropertiesRequestBuilder) To } 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 *FeatureRolloutPoliciesItemAppliesToValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*FeatureRolloutPoliciesItemAppliesToValidatePropertiesRequestBuilder) { + return NewFeatureRolloutPoliciesItemAppliesToValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/feature_rollout_policies_request_builder.go b/policies/feature_rollout_policies_request_builder.go index e267edb88ad..9af22d97999 100644 --- a/policies/feature_rollout_policies_request_builder.go +++ b/policies/feature_rollout_policies_request_builder.go @@ -46,8 +46,8 @@ type FeatureRolloutPoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByFeatureRolloutPolicyIdString provides operations to manage the featureRolloutPolicies property of the microsoft.graph.policyRoot entity. -func (m *FeatureRolloutPoliciesRequestBuilder) ByFeatureRolloutPolicyIdString(featureRolloutPolicyId string)(*FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) { +// ByFeatureRolloutPolicyId provides operations to manage the featureRolloutPolicies property of the microsoft.graph.policyRoot entity. +func (m *FeatureRolloutPoliciesRequestBuilder) ByFeatureRolloutPolicyId(featureRolloutPolicyId string)(*FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *FeatureRolloutPoliciesRequestBuilder) ToPostRequestInformation(ctx cont } 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 *FeatureRolloutPoliciesRequestBuilder) WithUrl(rawUrl string)(*FeatureRolloutPoliciesRequestBuilder) { + return NewFeatureRolloutPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/federated_token_validation_policy_request_builder.go b/policies/federated_token_validation_policy_request_builder.go index 17a42387c33..dbd3e03e44d 100644 --- a/policies/federated_token_validation_policy_request_builder.go +++ b/policies/federated_token_validation_policy_request_builder.go @@ -153,3 +153,7 @@ func (m *FederatedTokenValidationPolicyRequestBuilder) 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 *FederatedTokenValidationPolicyRequestBuilder) WithUrl(rawUrl string)(*FederatedTokenValidationPolicyRequestBuilder) { + return NewFederatedTokenValidationPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/home_realm_discovery_policies_count_request_builder.go b/policies/home_realm_discovery_policies_count_request_builder.go index 87e23de5492..996f9566a0a 100644 --- a/policies/home_realm_discovery_policies_count_request_builder.go +++ b/policies/home_realm_discovery_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *HomeRealmDiscoveryPoliciesCountRequestBuilder) 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 *HomeRealmDiscoveryPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*HomeRealmDiscoveryPoliciesCountRequestBuilder) { + return NewHomeRealmDiscoveryPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/home_realm_discovery_policies_home_realm_discovery_policy_item_request_builder.go b/policies/home_realm_discovery_policies_home_realm_discovery_policy_item_request_builder.go index 1fd84106b9f..96e85a95bf0 100644 --- a/policies/home_realm_discovery_policies_home_realm_discovery_policy_item_request_builder.go +++ b/policies/home_realm_discovery_policies_home_realm_discovery_policy_item_request_builder.go @@ -166,3 +166,7 @@ func (m *HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) T } 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 *HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) WithUrl(rawUrl string)(*HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) { + return NewHomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/home_realm_discovery_policies_item_applies_to_count_request_builder.go b/policies/home_realm_discovery_policies_item_applies_to_count_request_builder.go index 1d38127ff2d..c86ec69564e 100644 --- a/policies/home_realm_discovery_policies_item_applies_to_count_request_builder.go +++ b/policies/home_realm_discovery_policies_item_applies_to_count_request_builder.go @@ -74,3 +74,7 @@ func (m *HomeRealmDiscoveryPoliciesItemAppliesToCountRequestBuilder) ToGetReques } 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 *HomeRealmDiscoveryPoliciesItemAppliesToCountRequestBuilder) WithUrl(rawUrl string)(*HomeRealmDiscoveryPoliciesItemAppliesToCountRequestBuilder) { + return NewHomeRealmDiscoveryPoliciesItemAppliesToCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/home_realm_discovery_policies_item_applies_to_directory_object_item_request_builder.go b/policies/home_realm_discovery_policies_item_applies_to_directory_object_item_request_builder.go index fe03ccf1118..7fbce835ec6 100644 --- a/policies/home_realm_discovery_policies_item_applies_to_directory_object_item_request_builder.go +++ b/policies/home_realm_discovery_policies_item_applies_to_directory_object_item_request_builder.go @@ -75,3 +75,7 @@ func (m *HomeRealmDiscoveryPoliciesItemAppliesToDirectoryObjectItemRequestBuilde } 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 *HomeRealmDiscoveryPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*HomeRealmDiscoveryPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) { + return NewHomeRealmDiscoveryPoliciesItemAppliesToDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/home_realm_discovery_policies_item_applies_to_request_builder.go b/policies/home_realm_discovery_policies_item_applies_to_request_builder.go index 1de058ed0f1..f251bde3a3d 100644 --- a/policies/home_realm_discovery_policies_item_applies_to_request_builder.go +++ b/policies/home_realm_discovery_policies_item_applies_to_request_builder.go @@ -39,8 +39,8 @@ type HomeRealmDiscoveryPoliciesItemAppliesToRequestBuilderGetRequestConfiguratio // Request query parameters QueryParameters *HomeRealmDiscoveryPoliciesItemAppliesToRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the appliesTo property of the microsoft.graph.stsPolicy entity. -func (m *HomeRealmDiscoveryPoliciesItemAppliesToRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*HomeRealmDiscoveryPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the appliesTo property of the microsoft.graph.stsPolicy entity. +func (m *HomeRealmDiscoveryPoliciesItemAppliesToRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*HomeRealmDiscoveryPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *HomeRealmDiscoveryPoliciesItemAppliesToRequestBuilder) ToGetRequestInfo } 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 *HomeRealmDiscoveryPoliciesItemAppliesToRequestBuilder) WithUrl(rawUrl string)(*HomeRealmDiscoveryPoliciesItemAppliesToRequestBuilder) { + return NewHomeRealmDiscoveryPoliciesItemAppliesToRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/home_realm_discovery_policies_request_builder.go b/policies/home_realm_discovery_policies_request_builder.go index 17076bad3cc..3df60c23e96 100644 --- a/policies/home_realm_discovery_policies_request_builder.go +++ b/policies/home_realm_discovery_policies_request_builder.go @@ -46,8 +46,8 @@ type HomeRealmDiscoveryPoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByHomeRealmDiscoveryPolicyIdString provides operations to manage the homeRealmDiscoveryPolicies property of the microsoft.graph.policyRoot entity. -func (m *HomeRealmDiscoveryPoliciesRequestBuilder) ByHomeRealmDiscoveryPolicyIdString(homeRealmDiscoveryPolicyId string)(*HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) { +// ByHomeRealmDiscoveryPolicyId provides operations to manage the homeRealmDiscoveryPolicies property of the microsoft.graph.policyRoot entity. +func (m *HomeRealmDiscoveryPoliciesRequestBuilder) ByHomeRealmDiscoveryPolicyId(homeRealmDiscoveryPolicyId string)(*HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *HomeRealmDiscoveryPoliciesRequestBuilder) 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 *HomeRealmDiscoveryPoliciesRequestBuilder) WithUrl(rawUrl string)(*HomeRealmDiscoveryPoliciesRequestBuilder) { + return NewHomeRealmDiscoveryPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/identity_security_defaults_enforcement_policy_request_builder.go b/policies/identity_security_defaults_enforcement_policy_request_builder.go index 0bfb87a5d8d..14915dd525c 100644 --- a/policies/identity_security_defaults_enforcement_policy_request_builder.go +++ b/policies/identity_security_defaults_enforcement_policy_request_builder.go @@ -159,3 +159,7 @@ func (m *IdentitySecurityDefaultsEnforcementPolicyRequestBuilder) ToPatchRequest } 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 *IdentitySecurityDefaultsEnforcementPolicyRequestBuilder) WithUrl(rawUrl string)(*IdentitySecurityDefaultsEnforcementPolicyRequestBuilder) { + return NewIdentitySecurityDefaultsEnforcementPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/mobile_app_management_policies_count_request_builder.go b/policies/mobile_app_management_policies_count_request_builder.go index 8441cef5a05..18a45deade8 100644 --- a/policies/mobile_app_management_policies_count_request_builder.go +++ b/policies/mobile_app_management_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MobileAppManagementPoliciesCountRequestBuilder) 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 *MobileAppManagementPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppManagementPoliciesCountRequestBuilder) { + return NewMobileAppManagementPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/mobile_app_management_policies_item_included_groups_count_request_builder.go b/policies/mobile_app_management_policies_item_included_groups_count_request_builder.go index 5d63cfac5dd..7ef6fb52c30 100644 --- a/policies/mobile_app_management_policies_item_included_groups_count_request_builder.go +++ b/policies/mobile_app_management_policies_item_included_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MobileAppManagementPoliciesItemIncludedGroupsCountRequestBuilder) ToGet } 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 *MobileAppManagementPoliciesItemIncludedGroupsCountRequestBuilder) WithUrl(rawUrl string)(*MobileAppManagementPoliciesItemIncludedGroupsCountRequestBuilder) { + return NewMobileAppManagementPoliciesItemIncludedGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/mobile_app_management_policies_item_included_groups_item_ref_request_builder.go b/policies/mobile_app_management_policies_item_included_groups_item_ref_request_builder.go index 3b05be0ddcb..86c80a0792b 100644 --- a/policies/mobile_app_management_policies_item_included_groups_item_ref_request_builder.go +++ b/policies/mobile_app_management_policies_item_included_groups_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *MobileAppManagementPoliciesItemIncludedGroupsItemRefRequestBuilder) ToD } 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 *MobileAppManagementPoliciesItemIncludedGroupsItemRefRequestBuilder) WithUrl(rawUrl string)(*MobileAppManagementPoliciesItemIncludedGroupsItemRefRequestBuilder) { + return NewMobileAppManagementPoliciesItemIncludedGroupsItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/mobile_app_management_policies_item_included_groups_ref_request_builder.go b/policies/mobile_app_management_policies_item_included_groups_ref_request_builder.go index 7043672f776..fde6f8b1d75 100644 --- a/policies/mobile_app_management_policies_item_included_groups_ref_request_builder.go +++ b/policies/mobile_app_management_policies_item_included_groups_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilder) ToPostR } 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 *MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilder) WithUrl(rawUrl string)(*MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilder) { + return NewMobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/mobile_app_management_policies_item_included_groups_request_builder.go b/policies/mobile_app_management_policies_item_included_groups_request_builder.go index 26730f06e58..c7fa36756f0 100644 --- a/policies/mobile_app_management_policies_item_included_groups_request_builder.go +++ b/policies/mobile_app_management_policies_item_included_groups_request_builder.go @@ -39,8 +39,8 @@ type MobileAppManagementPoliciesItemIncludedGroupsRequestBuilderGetRequestConfig // Request query parameters QueryParameters *MobileAppManagementPoliciesItemIncludedGroupsRequestBuilderGetQueryParameters } -// ByGroupIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.policies.mobileAppManagementPolicies.item.includedGroups.item collection -func (m *MobileAppManagementPoliciesItemIncludedGroupsRequestBuilder) ByGroupIdString(groupId string)(*MobileAppManagementPoliciesItemIncludedGroupsGroupItemRequestBuilder) { +// ByGroupId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.policies.mobileAppManagementPolicies.item.includedGroups.item collection +func (m *MobileAppManagementPoliciesItemIncludedGroupsRequestBuilder) ByGroupId(groupId string)(*MobileAppManagementPoliciesItemIncludedGroupsGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *MobileAppManagementPoliciesItemIncludedGroupsRequestBuilder) ToGetReque } 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 *MobileAppManagementPoliciesItemIncludedGroupsRequestBuilder) WithUrl(rawUrl string)(*MobileAppManagementPoliciesItemIncludedGroupsRequestBuilder) { + return NewMobileAppManagementPoliciesItemIncludedGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/mobile_app_management_policies_mobility_management_policy_item_request_builder.go b/policies/mobile_app_management_policies_mobility_management_policy_item_request_builder.go index d5541b93728..207b64c9995 100644 --- a/policies/mobile_app_management_policies_mobility_management_policy_item_request_builder.go +++ b/policies/mobile_app_management_policies_mobility_management_policy_item_request_builder.go @@ -166,3 +166,7 @@ func (m *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilder) } 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 *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilder) WithUrl(rawUrl string)(*MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilder) { + return NewMobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/mobile_app_management_policies_request_builder.go b/policies/mobile_app_management_policies_request_builder.go index 6b3a1365aa5..fdcc029d17e 100644 --- a/policies/mobile_app_management_policies_request_builder.go +++ b/policies/mobile_app_management_policies_request_builder.go @@ -46,8 +46,8 @@ type MobileAppManagementPoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMobilityManagementPolicyIdString provides operations to manage the mobileAppManagementPolicies property of the microsoft.graph.policyRoot entity. -func (m *MobileAppManagementPoliciesRequestBuilder) ByMobilityManagementPolicyIdString(mobilityManagementPolicyId string)(*MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilder) { +// ByMobilityManagementPolicyId provides operations to manage the mobileAppManagementPolicies property of the microsoft.graph.policyRoot entity. +func (m *MobileAppManagementPoliciesRequestBuilder) ByMobilityManagementPolicyId(mobilityManagementPolicyId string)(*MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *MobileAppManagementPoliciesRequestBuilder) 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 *MobileAppManagementPoliciesRequestBuilder) WithUrl(rawUrl string)(*MobileAppManagementPoliciesRequestBuilder) { + return NewMobileAppManagementPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/mobile_device_management_policies_count_request_builder.go b/policies/mobile_device_management_policies_count_request_builder.go index 5e6ef6b621c..a202c1c6003 100644 --- a/policies/mobile_device_management_policies_count_request_builder.go +++ b/policies/mobile_device_management_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MobileDeviceManagementPoliciesCountRequestBuilder) ToGetRequestInformat } 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 *MobileDeviceManagementPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*MobileDeviceManagementPoliciesCountRequestBuilder) { + return NewMobileDeviceManagementPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/mobile_device_management_policies_item_included_groups_count_request_builder.go b/policies/mobile_device_management_policies_item_included_groups_count_request_builder.go index 91e5e2ea0ca..83090140beb 100644 --- a/policies/mobile_device_management_policies_item_included_groups_count_request_builder.go +++ b/policies/mobile_device_management_policies_item_included_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MobileDeviceManagementPoliciesItemIncludedGroupsCountRequestBuilder) To } 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 *MobileDeviceManagementPoliciesItemIncludedGroupsCountRequestBuilder) WithUrl(rawUrl string)(*MobileDeviceManagementPoliciesItemIncludedGroupsCountRequestBuilder) { + return NewMobileDeviceManagementPoliciesItemIncludedGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/mobile_device_management_policies_item_included_groups_item_ref_request_builder.go b/policies/mobile_device_management_policies_item_included_groups_item_ref_request_builder.go index 34ab5b21f19..7f91ddc27dc 100644 --- a/policies/mobile_device_management_policies_item_included_groups_item_ref_request_builder.go +++ b/policies/mobile_device_management_policies_item_included_groups_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *MobileDeviceManagementPoliciesItemIncludedGroupsItemRefRequestBuilder) } 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 *MobileDeviceManagementPoliciesItemIncludedGroupsItemRefRequestBuilder) WithUrl(rawUrl string)(*MobileDeviceManagementPoliciesItemIncludedGroupsItemRefRequestBuilder) { + return NewMobileDeviceManagementPoliciesItemIncludedGroupsItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/mobile_device_management_policies_item_included_groups_ref_request_builder.go b/policies/mobile_device_management_policies_item_included_groups_ref_request_builder.go index 76299e9119a..9a143e2c9b5 100644 --- a/policies/mobile_device_management_policies_item_included_groups_ref_request_builder.go +++ b/policies/mobile_device_management_policies_item_included_groups_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilder) ToPo } 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 *MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilder) WithUrl(rawUrl string)(*MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilder) { + return NewMobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/mobile_device_management_policies_item_included_groups_request_builder.go b/policies/mobile_device_management_policies_item_included_groups_request_builder.go index 8e202197d60..862471239a0 100644 --- a/policies/mobile_device_management_policies_item_included_groups_request_builder.go +++ b/policies/mobile_device_management_policies_item_included_groups_request_builder.go @@ -39,8 +39,8 @@ type MobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilderGetRequestCon // Request query parameters QueryParameters *MobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilderGetQueryParameters } -// ByGroupIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.policies.mobileDeviceManagementPolicies.item.includedGroups.item collection -func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilder) ByGroupIdString(groupId string)(*MobileDeviceManagementPoliciesItemIncludedGroupsGroupItemRequestBuilder) { +// ByGroupId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.policies.mobileDeviceManagementPolicies.item.includedGroups.item collection +func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilder) ByGroupId(groupId string)(*MobileDeviceManagementPoliciesItemIncludedGroupsGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilder) ToGetRe } 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 *MobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilder) WithUrl(rawUrl string)(*MobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilder) { + return NewMobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/mobile_device_management_policies_mobility_management_policy_item_request_builder.go b/policies/mobile_device_management_policies_mobility_management_policy_item_request_builder.go index f343f908637..7f301f98187 100644 --- a/policies/mobile_device_management_policies_mobility_management_policy_item_request_builder.go +++ b/policies/mobile_device_management_policies_mobility_management_policy_item_request_builder.go @@ -166,3 +166,7 @@ func (m *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilde } 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 *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilder) WithUrl(rawUrl string)(*MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilder) { + return NewMobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/mobile_device_management_policies_request_builder.go b/policies/mobile_device_management_policies_request_builder.go index 24643f8add2..9831cc9b9bd 100644 --- a/policies/mobile_device_management_policies_request_builder.go +++ b/policies/mobile_device_management_policies_request_builder.go @@ -46,8 +46,8 @@ type MobileDeviceManagementPoliciesRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMobilityManagementPolicyIdString provides operations to manage the mobileDeviceManagementPolicies property of the microsoft.graph.policyRoot entity. -func (m *MobileDeviceManagementPoliciesRequestBuilder) ByMobilityManagementPolicyIdString(mobilityManagementPolicyId string)(*MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilder) { +// ByMobilityManagementPolicyId provides operations to manage the mobileDeviceManagementPolicies property of the microsoft.graph.policyRoot entity. +func (m *MobileDeviceManagementPoliciesRequestBuilder) ByMobilityManagementPolicyId(mobilityManagementPolicyId string)(*MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *MobileDeviceManagementPoliciesRequestBuilder) 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 *MobileDeviceManagementPoliciesRequestBuilder) WithUrl(rawUrl string)(*MobileDeviceManagementPoliciesRequestBuilder) { + return NewMobileDeviceManagementPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/permission_grant_policies_count_request_builder.go b/policies/permission_grant_policies_count_request_builder.go index f4ab1c81bfc..776dd2ce6b6 100644 --- a/policies/permission_grant_policies_count_request_builder.go +++ b/policies/permission_grant_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PermissionGrantPoliciesCountRequestBuilder) ToGetRequestInformation(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 *PermissionGrantPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*PermissionGrantPoliciesCountRequestBuilder) { + return NewPermissionGrantPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/permission_grant_policies_item_excludes_count_request_builder.go b/policies/permission_grant_policies_item_excludes_count_request_builder.go index 85cb347e7ab..460f1206165 100644 --- a/policies/permission_grant_policies_item_excludes_count_request_builder.go +++ b/policies/permission_grant_policies_item_excludes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PermissionGrantPoliciesItemExcludesCountRequestBuilder) ToGetRequestInf } 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 *PermissionGrantPoliciesItemExcludesCountRequestBuilder) WithUrl(rawUrl string)(*PermissionGrantPoliciesItemExcludesCountRequestBuilder) { + return NewPermissionGrantPoliciesItemExcludesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/permission_grant_policies_item_excludes_permission_grant_condition_set_item_request_builder.go b/policies/permission_grant_policies_item_excludes_permission_grant_condition_set_item_request_builder.go index e91c577643f..1d654e40de8 100644 --- a/policies/permission_grant_policies_item_excludes_permission_grant_condition_set_item_request_builder.go +++ b/policies/permission_grant_policies_item_excludes_permission_grant_condition_set_item_request_builder.go @@ -156,3 +156,7 @@ func (m *PermissionGrantPoliciesItemExcludesPermissionGrantConditionSetItemReque } 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 *PermissionGrantPoliciesItemExcludesPermissionGrantConditionSetItemRequestBuilder) WithUrl(rawUrl string)(*PermissionGrantPoliciesItemExcludesPermissionGrantConditionSetItemRequestBuilder) { + return NewPermissionGrantPoliciesItemExcludesPermissionGrantConditionSetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/permission_grant_policies_item_excludes_request_builder.go b/policies/permission_grant_policies_item_excludes_request_builder.go index ad085da1739..8f9263226cd 100644 --- a/policies/permission_grant_policies_item_excludes_request_builder.go +++ b/policies/permission_grant_policies_item_excludes_request_builder.go @@ -46,8 +46,8 @@ type PermissionGrantPoliciesItemExcludesRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPermissionGrantConditionSetIdString provides operations to manage the excludes property of the microsoft.graph.permissionGrantPolicy entity. -func (m *PermissionGrantPoliciesItemExcludesRequestBuilder) ByPermissionGrantConditionSetIdString(permissionGrantConditionSetId string)(*PermissionGrantPoliciesItemExcludesPermissionGrantConditionSetItemRequestBuilder) { +// ByPermissionGrantConditionSetId provides operations to manage the excludes property of the microsoft.graph.permissionGrantPolicy entity. +func (m *PermissionGrantPoliciesItemExcludesRequestBuilder) ByPermissionGrantConditionSetId(permissionGrantConditionSetId string)(*PermissionGrantPoliciesItemExcludesPermissionGrantConditionSetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *PermissionGrantPoliciesItemExcludesRequestBuilder) ToPostRequestInforma } 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 *PermissionGrantPoliciesItemExcludesRequestBuilder) WithUrl(rawUrl string)(*PermissionGrantPoliciesItemExcludesRequestBuilder) { + return NewPermissionGrantPoliciesItemExcludesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/permission_grant_policies_item_includes_count_request_builder.go b/policies/permission_grant_policies_item_includes_count_request_builder.go index 25559e3cd76..3df60caf748 100644 --- a/policies/permission_grant_policies_item_includes_count_request_builder.go +++ b/policies/permission_grant_policies_item_includes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PermissionGrantPoliciesItemIncludesCountRequestBuilder) ToGetRequestInf } 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 *PermissionGrantPoliciesItemIncludesCountRequestBuilder) WithUrl(rawUrl string)(*PermissionGrantPoliciesItemIncludesCountRequestBuilder) { + return NewPermissionGrantPoliciesItemIncludesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/permission_grant_policies_item_includes_permission_grant_condition_set_item_request_builder.go b/policies/permission_grant_policies_item_includes_permission_grant_condition_set_item_request_builder.go index c4693b16068..2e8a973236c 100644 --- a/policies/permission_grant_policies_item_includes_permission_grant_condition_set_item_request_builder.go +++ b/policies/permission_grant_policies_item_includes_permission_grant_condition_set_item_request_builder.go @@ -156,3 +156,7 @@ func (m *PermissionGrantPoliciesItemIncludesPermissionGrantConditionSetItemReque } 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 *PermissionGrantPoliciesItemIncludesPermissionGrantConditionSetItemRequestBuilder) WithUrl(rawUrl string)(*PermissionGrantPoliciesItemIncludesPermissionGrantConditionSetItemRequestBuilder) { + return NewPermissionGrantPoliciesItemIncludesPermissionGrantConditionSetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/permission_grant_policies_item_includes_request_builder.go b/policies/permission_grant_policies_item_includes_request_builder.go index 4339ae379e9..8f9ce288d39 100644 --- a/policies/permission_grant_policies_item_includes_request_builder.go +++ b/policies/permission_grant_policies_item_includes_request_builder.go @@ -46,8 +46,8 @@ type PermissionGrantPoliciesItemIncludesRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPermissionGrantConditionSetIdString provides operations to manage the includes property of the microsoft.graph.permissionGrantPolicy entity. -func (m *PermissionGrantPoliciesItemIncludesRequestBuilder) ByPermissionGrantConditionSetIdString(permissionGrantConditionSetId string)(*PermissionGrantPoliciesItemIncludesPermissionGrantConditionSetItemRequestBuilder) { +// ByPermissionGrantConditionSetId provides operations to manage the includes property of the microsoft.graph.permissionGrantPolicy entity. +func (m *PermissionGrantPoliciesItemIncludesRequestBuilder) ByPermissionGrantConditionSetId(permissionGrantConditionSetId string)(*PermissionGrantPoliciesItemIncludesPermissionGrantConditionSetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *PermissionGrantPoliciesItemIncludesRequestBuilder) ToPostRequestInforma } 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 *PermissionGrantPoliciesItemIncludesRequestBuilder) WithUrl(rawUrl string)(*PermissionGrantPoliciesItemIncludesRequestBuilder) { + return NewPermissionGrantPoliciesItemIncludesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/permission_grant_policies_permission_grant_policy_item_request_builder.go b/policies/permission_grant_policies_permission_grant_policy_item_request_builder.go index 8a6dfe572d0..7f7fd4e95b1 100644 --- a/policies/permission_grant_policies_permission_grant_policy_item_request_builder.go +++ b/policies/permission_grant_policies_permission_grant_policy_item_request_builder.go @@ -170,3 +170,7 @@ func (m *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder) ToPatch } 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 *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder) WithUrl(rawUrl string)(*PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder) { + return NewPermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/permission_grant_policies_request_builder.go b/policies/permission_grant_policies_request_builder.go index cb0a0798222..ae2e5dbc768 100644 --- a/policies/permission_grant_policies_request_builder.go +++ b/policies/permission_grant_policies_request_builder.go @@ -46,8 +46,8 @@ type PermissionGrantPoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPermissionGrantPolicyIdString provides operations to manage the permissionGrantPolicies property of the microsoft.graph.policyRoot entity. -func (m *PermissionGrantPoliciesRequestBuilder) ByPermissionGrantPolicyIdString(permissionGrantPolicyId string)(*PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder) { +// ByPermissionGrantPolicyId provides operations to manage the permissionGrantPolicies property of the microsoft.graph.policyRoot entity. +func (m *PermissionGrantPoliciesRequestBuilder) ByPermissionGrantPolicyId(permissionGrantPolicyId string)(*PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *PermissionGrantPoliciesRequestBuilder) ToPostRequestInformation(ctx con } 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 *PermissionGrantPoliciesRequestBuilder) WithUrl(rawUrl string)(*PermissionGrantPoliciesRequestBuilder) { + return NewPermissionGrantPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/policies_request_builder.go b/policies/policies_request_builder.go index 56b4a79f5ca..eaca3c4a64e 100644 --- a/policies/policies_request_builder.go +++ b/policies/policies_request_builder.go @@ -230,3 +230,7 @@ func (m *PoliciesRequestBuilder) ToPatchRequestInformation(ctx context.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 *PoliciesRequestBuilder) WithUrl(rawUrl string)(*PoliciesRequestBuilder) { + return NewPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/role_management_policies_count_request_builder.go b/policies/role_management_policies_count_request_builder.go index a14c98b170e..3feee9e1b4a 100644 --- a/policies/role_management_policies_count_request_builder.go +++ b/policies/role_management_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RoleManagementPoliciesCountRequestBuilder) ToGetRequestInformation(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 *RoleManagementPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*RoleManagementPoliciesCountRequestBuilder) { + return NewRoleManagementPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/role_management_policies_item_effective_rules_count_request_builder.go b/policies/role_management_policies_item_effective_rules_count_request_builder.go index 72c8910ccfd..9a870d8847c 100644 --- a/policies/role_management_policies_item_effective_rules_count_request_builder.go +++ b/policies/role_management_policies_item_effective_rules_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RoleManagementPoliciesItemEffectiveRulesCountRequestBuilder) ToGetReque } 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 *RoleManagementPoliciesItemEffectiveRulesCountRequestBuilder) WithUrl(rawUrl string)(*RoleManagementPoliciesItemEffectiveRulesCountRequestBuilder) { + return NewRoleManagementPoliciesItemEffectiveRulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/role_management_policies_item_effective_rules_request_builder.go b/policies/role_management_policies_item_effective_rules_request_builder.go index 89945693bae..1ea6220addb 100644 --- a/policies/role_management_policies_item_effective_rules_request_builder.go +++ b/policies/role_management_policies_item_effective_rules_request_builder.go @@ -46,8 +46,8 @@ type RoleManagementPoliciesItemEffectiveRulesRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleManagementPolicyRuleIdString provides operations to manage the effectiveRules property of the microsoft.graph.unifiedRoleManagementPolicy entity. -func (m *RoleManagementPoliciesItemEffectiveRulesRequestBuilder) ByUnifiedRoleManagementPolicyRuleIdString(unifiedRoleManagementPolicyRuleId string)(*RoleManagementPoliciesItemEffectiveRulesUnifiedRoleManagementPolicyRuleItemRequestBuilder) { +// ByUnifiedRoleManagementPolicyRuleId provides operations to manage the effectiveRules property of the microsoft.graph.unifiedRoleManagementPolicy entity. +func (m *RoleManagementPoliciesItemEffectiveRulesRequestBuilder) ByUnifiedRoleManagementPolicyRuleId(unifiedRoleManagementPolicyRuleId string)(*RoleManagementPoliciesItemEffectiveRulesUnifiedRoleManagementPolicyRuleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *RoleManagementPoliciesItemEffectiveRulesRequestBuilder) ToPostRequestIn } 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 *RoleManagementPoliciesItemEffectiveRulesRequestBuilder) WithUrl(rawUrl string)(*RoleManagementPoliciesItemEffectiveRulesRequestBuilder) { + return NewRoleManagementPoliciesItemEffectiveRulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/role_management_policies_item_effective_rules_unified_role_management_policy_rule_item_request_builder.go b/policies/role_management_policies_item_effective_rules_unified_role_management_policy_rule_item_request_builder.go index 362e11bd900..aa3a91a58d1 100644 --- a/policies/role_management_policies_item_effective_rules_unified_role_management_policy_rule_item_request_builder.go +++ b/policies/role_management_policies_item_effective_rules_unified_role_management_policy_rule_item_request_builder.go @@ -153,3 +153,7 @@ func (m *RoleManagementPoliciesItemEffectiveRulesUnifiedRoleManagementPolicyRule } 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 *RoleManagementPoliciesItemEffectiveRulesUnifiedRoleManagementPolicyRuleItemRequestBuilder) WithUrl(rawUrl string)(*RoleManagementPoliciesItemEffectiveRulesUnifiedRoleManagementPolicyRuleItemRequestBuilder) { + return NewRoleManagementPoliciesItemEffectiveRulesUnifiedRoleManagementPolicyRuleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/role_management_policies_item_rules_count_request_builder.go b/policies/role_management_policies_item_rules_count_request_builder.go index 56dcea23fc0..55ab9ecdceb 100644 --- a/policies/role_management_policies_item_rules_count_request_builder.go +++ b/policies/role_management_policies_item_rules_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RoleManagementPoliciesItemRulesCountRequestBuilder) ToGetRequestInforma } 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 *RoleManagementPoliciesItemRulesCountRequestBuilder) WithUrl(rawUrl string)(*RoleManagementPoliciesItemRulesCountRequestBuilder) { + return NewRoleManagementPoliciesItemRulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/role_management_policies_item_rules_request_builder.go b/policies/role_management_policies_item_rules_request_builder.go index 0b4dd5bbcd2..fce2033f893 100644 --- a/policies/role_management_policies_item_rules_request_builder.go +++ b/policies/role_management_policies_item_rules_request_builder.go @@ -46,8 +46,8 @@ type RoleManagementPoliciesItemRulesRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleManagementPolicyRuleIdString provides operations to manage the rules property of the microsoft.graph.unifiedRoleManagementPolicy entity. -func (m *RoleManagementPoliciesItemRulesRequestBuilder) ByUnifiedRoleManagementPolicyRuleIdString(unifiedRoleManagementPolicyRuleId string)(*RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemRequestBuilder) { +// ByUnifiedRoleManagementPolicyRuleId provides operations to manage the rules property of the microsoft.graph.unifiedRoleManagementPolicy entity. +func (m *RoleManagementPoliciesItemRulesRequestBuilder) ByUnifiedRoleManagementPolicyRuleId(unifiedRoleManagementPolicyRuleId string)(*RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *RoleManagementPoliciesItemRulesRequestBuilder) 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 *RoleManagementPoliciesItemRulesRequestBuilder) WithUrl(rawUrl string)(*RoleManagementPoliciesItemRulesRequestBuilder) { + return NewRoleManagementPoliciesItemRulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/role_management_policies_item_rules_unified_role_management_policy_rule_item_request_builder.go b/policies/role_management_policies_item_rules_unified_role_management_policy_rule_item_request_builder.go index cb70a195c4d..db003f82185 100644 --- a/policies/role_management_policies_item_rules_unified_role_management_policy_rule_item_request_builder.go +++ b/policies/role_management_policies_item_rules_unified_role_management_policy_rule_item_request_builder.go @@ -159,3 +159,7 @@ func (m *RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemReque } 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 *RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemRequestBuilder) WithUrl(rawUrl string)(*RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemRequestBuilder) { + return NewRoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/role_management_policies_request_builder.go b/policies/role_management_policies_request_builder.go index ee82b198681..d98cb15496c 100644 --- a/policies/role_management_policies_request_builder.go +++ b/policies/role_management_policies_request_builder.go @@ -46,8 +46,8 @@ type RoleManagementPoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleManagementPolicyIdString provides operations to manage the roleManagementPolicies property of the microsoft.graph.policyRoot entity. -func (m *RoleManagementPoliciesRequestBuilder) ByUnifiedRoleManagementPolicyIdString(unifiedRoleManagementPolicyId string)(*RoleManagementPoliciesUnifiedRoleManagementPolicyItemRequestBuilder) { +// ByUnifiedRoleManagementPolicyId provides operations to manage the roleManagementPolicies property of the microsoft.graph.policyRoot entity. +func (m *RoleManagementPoliciesRequestBuilder) ByUnifiedRoleManagementPolicyId(unifiedRoleManagementPolicyId string)(*RoleManagementPoliciesUnifiedRoleManagementPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *RoleManagementPoliciesRequestBuilder) ToPostRequestInformation(ctx cont } 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 *RoleManagementPoliciesRequestBuilder) WithUrl(rawUrl string)(*RoleManagementPoliciesRequestBuilder) { + return NewRoleManagementPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/role_management_policies_unified_role_management_policy_item_request_builder.go b/policies/role_management_policies_unified_role_management_policy_item_request_builder.go index 9971f9940f6..99f00ad7a40 100644 --- a/policies/role_management_policies_unified_role_management_policy_item_request_builder.go +++ b/policies/role_management_policies_unified_role_management_policy_item_request_builder.go @@ -161,3 +161,7 @@ func (m *RoleManagementPoliciesUnifiedRoleManagementPolicyItemRequestBuilder) To } 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 *RoleManagementPoliciesUnifiedRoleManagementPolicyItemRequestBuilder) WithUrl(rawUrl string)(*RoleManagementPoliciesUnifiedRoleManagementPolicyItemRequestBuilder) { + return NewRoleManagementPoliciesUnifiedRoleManagementPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/role_management_policy_assignments_count_request_builder.go b/policies/role_management_policy_assignments_count_request_builder.go index 9aef3c7bb9e..ce560b4ad6d 100644 --- a/policies/role_management_policy_assignments_count_request_builder.go +++ b/policies/role_management_policy_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *RoleManagementPolicyAssignmentsCountRequestBuilder) ToGetRequestInforma } 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 *RoleManagementPolicyAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*RoleManagementPolicyAssignmentsCountRequestBuilder) { + return NewRoleManagementPolicyAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/role_management_policy_assignments_item_policy_request_builder.go b/policies/role_management_policy_assignments_item_policy_request_builder.go index 88d62be472f..892f980f9cf 100644 --- a/policies/role_management_policy_assignments_item_policy_request_builder.go +++ b/policies/role_management_policy_assignments_item_policy_request_builder.go @@ -75,3 +75,7 @@ func (m *RoleManagementPolicyAssignmentsItemPolicyRequestBuilder) ToGetRequestIn } 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 *RoleManagementPolicyAssignmentsItemPolicyRequestBuilder) WithUrl(rawUrl string)(*RoleManagementPolicyAssignmentsItemPolicyRequestBuilder) { + return NewRoleManagementPolicyAssignmentsItemPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/role_management_policy_assignments_request_builder.go b/policies/role_management_policy_assignments_request_builder.go index f4db668dcae..2d7d88d898e 100644 --- a/policies/role_management_policy_assignments_request_builder.go +++ b/policies/role_management_policy_assignments_request_builder.go @@ -46,8 +46,8 @@ type RoleManagementPolicyAssignmentsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleManagementPolicyAssignmentIdString provides operations to manage the roleManagementPolicyAssignments property of the microsoft.graph.policyRoot entity. -func (m *RoleManagementPolicyAssignmentsRequestBuilder) ByUnifiedRoleManagementPolicyAssignmentIdString(unifiedRoleManagementPolicyAssignmentId string)(*RoleManagementPolicyAssignmentsUnifiedRoleManagementPolicyAssignmentItemRequestBuilder) { +// ByUnifiedRoleManagementPolicyAssignmentId provides operations to manage the roleManagementPolicyAssignments property of the microsoft.graph.policyRoot entity. +func (m *RoleManagementPolicyAssignmentsRequestBuilder) ByUnifiedRoleManagementPolicyAssignmentId(unifiedRoleManagementPolicyAssignmentId string)(*RoleManagementPolicyAssignmentsUnifiedRoleManagementPolicyAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *RoleManagementPolicyAssignmentsRequestBuilder) 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 *RoleManagementPolicyAssignmentsRequestBuilder) WithUrl(rawUrl string)(*RoleManagementPolicyAssignmentsRequestBuilder) { + return NewRoleManagementPolicyAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/role_management_policy_assignments_unified_role_management_policy_assignment_item_request_builder.go b/policies/role_management_policy_assignments_unified_role_management_policy_assignment_item_request_builder.go index 4c5662e2468..5028bde844b 100644 --- a/policies/role_management_policy_assignments_unified_role_management_policy_assignment_item_request_builder.go +++ b/policies/role_management_policy_assignments_unified_role_management_policy_assignment_item_request_builder.go @@ -157,3 +157,7 @@ func (m *RoleManagementPolicyAssignmentsUnifiedRoleManagementPolicyAssignmentIte } 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 *RoleManagementPolicyAssignmentsUnifiedRoleManagementPolicyAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*RoleManagementPolicyAssignmentsUnifiedRoleManagementPolicyAssignmentItemRequestBuilder) { + return NewRoleManagementPolicyAssignmentsUnifiedRoleManagementPolicyAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/service_principal_creation_policies_count_request_builder.go b/policies/service_principal_creation_policies_count_request_builder.go index 445e424366e..6d37f195bf3 100644 --- a/policies/service_principal_creation_policies_count_request_builder.go +++ b/policies/service_principal_creation_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ServicePrincipalCreationPoliciesCountRequestBuilder) ToGetRequestInform } 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 *ServicePrincipalCreationPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ServicePrincipalCreationPoliciesCountRequestBuilder) { + return NewServicePrincipalCreationPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/service_principal_creation_policies_item_excludes_count_request_builder.go b/policies/service_principal_creation_policies_item_excludes_count_request_builder.go index 88bda196d8a..1b8e36537d7 100644 --- a/policies/service_principal_creation_policies_item_excludes_count_request_builder.go +++ b/policies/service_principal_creation_policies_item_excludes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ServicePrincipalCreationPoliciesItemExcludesCountRequestBuilder) ToGetR } 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 *ServicePrincipalCreationPoliciesItemExcludesCountRequestBuilder) WithUrl(rawUrl string)(*ServicePrincipalCreationPoliciesItemExcludesCountRequestBuilder) { + return NewServicePrincipalCreationPoliciesItemExcludesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/service_principal_creation_policies_item_excludes_request_builder.go b/policies/service_principal_creation_policies_item_excludes_request_builder.go index 5d0365f7186..ffe233824c5 100644 --- a/policies/service_principal_creation_policies_item_excludes_request_builder.go +++ b/policies/service_principal_creation_policies_item_excludes_request_builder.go @@ -46,8 +46,8 @@ type ServicePrincipalCreationPoliciesItemExcludesRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByServicePrincipalCreationConditionSetIdString provides operations to manage the excludes property of the microsoft.graph.servicePrincipalCreationPolicy entity. -func (m *ServicePrincipalCreationPoliciesItemExcludesRequestBuilder) ByServicePrincipalCreationConditionSetIdString(servicePrincipalCreationConditionSetId string)(*ServicePrincipalCreationPoliciesItemExcludesServicePrincipalCreationConditionSetItemRequestBuilder) { +// ByServicePrincipalCreationConditionSetId provides operations to manage the excludes property of the microsoft.graph.servicePrincipalCreationPolicy entity. +func (m *ServicePrincipalCreationPoliciesItemExcludesRequestBuilder) ByServicePrincipalCreationConditionSetId(servicePrincipalCreationConditionSetId string)(*ServicePrincipalCreationPoliciesItemExcludesServicePrincipalCreationConditionSetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ServicePrincipalCreationPoliciesItemExcludesRequestBuilder) ToPostReque } 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 *ServicePrincipalCreationPoliciesItemExcludesRequestBuilder) WithUrl(rawUrl string)(*ServicePrincipalCreationPoliciesItemExcludesRequestBuilder) { + return NewServicePrincipalCreationPoliciesItemExcludesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/service_principal_creation_policies_item_excludes_service_principal_creation_condition_set_item_request_builder.go b/policies/service_principal_creation_policies_item_excludes_service_principal_creation_condition_set_item_request_builder.go index c83fccec884..378fd3851b4 100644 --- a/policies/service_principal_creation_policies_item_excludes_service_principal_creation_condition_set_item_request_builder.go +++ b/policies/service_principal_creation_policies_item_excludes_service_principal_creation_condition_set_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ServicePrincipalCreationPoliciesItemExcludesServicePrincipalCreationCon } 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 *ServicePrincipalCreationPoliciesItemExcludesServicePrincipalCreationConditionSetItemRequestBuilder) WithUrl(rawUrl string)(*ServicePrincipalCreationPoliciesItemExcludesServicePrincipalCreationConditionSetItemRequestBuilder) { + return NewServicePrincipalCreationPoliciesItemExcludesServicePrincipalCreationConditionSetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/service_principal_creation_policies_item_includes_count_request_builder.go b/policies/service_principal_creation_policies_item_includes_count_request_builder.go index 63590d6bd81..cd6ff691ac3 100644 --- a/policies/service_principal_creation_policies_item_includes_count_request_builder.go +++ b/policies/service_principal_creation_policies_item_includes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ServicePrincipalCreationPoliciesItemIncludesCountRequestBuilder) ToGetR } 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 *ServicePrincipalCreationPoliciesItemIncludesCountRequestBuilder) WithUrl(rawUrl string)(*ServicePrincipalCreationPoliciesItemIncludesCountRequestBuilder) { + return NewServicePrincipalCreationPoliciesItemIncludesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/service_principal_creation_policies_item_includes_request_builder.go b/policies/service_principal_creation_policies_item_includes_request_builder.go index 755f5573a56..6f4fd2082e5 100644 --- a/policies/service_principal_creation_policies_item_includes_request_builder.go +++ b/policies/service_principal_creation_policies_item_includes_request_builder.go @@ -46,8 +46,8 @@ type ServicePrincipalCreationPoliciesItemIncludesRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByServicePrincipalCreationConditionSetIdString provides operations to manage the includes property of the microsoft.graph.servicePrincipalCreationPolicy entity. -func (m *ServicePrincipalCreationPoliciesItemIncludesRequestBuilder) ByServicePrincipalCreationConditionSetIdString(servicePrincipalCreationConditionSetId string)(*ServicePrincipalCreationPoliciesItemIncludesServicePrincipalCreationConditionSetItemRequestBuilder) { +// ByServicePrincipalCreationConditionSetId provides operations to manage the includes property of the microsoft.graph.servicePrincipalCreationPolicy entity. +func (m *ServicePrincipalCreationPoliciesItemIncludesRequestBuilder) ByServicePrincipalCreationConditionSetId(servicePrincipalCreationConditionSetId string)(*ServicePrincipalCreationPoliciesItemIncludesServicePrincipalCreationConditionSetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ServicePrincipalCreationPoliciesItemIncludesRequestBuilder) ToPostReque } 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 *ServicePrincipalCreationPoliciesItemIncludesRequestBuilder) WithUrl(rawUrl string)(*ServicePrincipalCreationPoliciesItemIncludesRequestBuilder) { + return NewServicePrincipalCreationPoliciesItemIncludesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/service_principal_creation_policies_item_includes_service_principal_creation_condition_set_item_request_builder.go b/policies/service_principal_creation_policies_item_includes_service_principal_creation_condition_set_item_request_builder.go index e5d12d7b244..1bb84169b5b 100644 --- a/policies/service_principal_creation_policies_item_includes_service_principal_creation_condition_set_item_request_builder.go +++ b/policies/service_principal_creation_policies_item_includes_service_principal_creation_condition_set_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ServicePrincipalCreationPoliciesItemIncludesServicePrincipalCreationCon } 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 *ServicePrincipalCreationPoliciesItemIncludesServicePrincipalCreationConditionSetItemRequestBuilder) WithUrl(rawUrl string)(*ServicePrincipalCreationPoliciesItemIncludesServicePrincipalCreationConditionSetItemRequestBuilder) { + return NewServicePrincipalCreationPoliciesItemIncludesServicePrincipalCreationConditionSetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/service_principal_creation_policies_request_builder.go b/policies/service_principal_creation_policies_request_builder.go index ddfd6a9ccff..9f5dfc87d66 100644 --- a/policies/service_principal_creation_policies_request_builder.go +++ b/policies/service_principal_creation_policies_request_builder.go @@ -46,8 +46,8 @@ type ServicePrincipalCreationPoliciesRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByServicePrincipalCreationPolicyIdString provides operations to manage the servicePrincipalCreationPolicies property of the microsoft.graph.policyRoot entity. -func (m *ServicePrincipalCreationPoliciesRequestBuilder) ByServicePrincipalCreationPolicyIdString(servicePrincipalCreationPolicyId string)(*ServicePrincipalCreationPoliciesServicePrincipalCreationPolicyItemRequestBuilder) { +// ByServicePrincipalCreationPolicyId provides operations to manage the servicePrincipalCreationPolicies property of the microsoft.graph.policyRoot entity. +func (m *ServicePrincipalCreationPoliciesRequestBuilder) ByServicePrincipalCreationPolicyId(servicePrincipalCreationPolicyId string)(*ServicePrincipalCreationPoliciesServicePrincipalCreationPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ServicePrincipalCreationPoliciesRequestBuilder) ToPostRequestInformatio } 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 *ServicePrincipalCreationPoliciesRequestBuilder) WithUrl(rawUrl string)(*ServicePrincipalCreationPoliciesRequestBuilder) { + return NewServicePrincipalCreationPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/service_principal_creation_policies_service_principal_creation_policy_item_request_builder.go b/policies/service_principal_creation_policies_service_principal_creation_policy_item_request_builder.go index c60a349e8f6..c274acf6e90 100644 --- a/policies/service_principal_creation_policies_service_principal_creation_policy_item_request_builder.go +++ b/policies/service_principal_creation_policies_service_principal_creation_policy_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ServicePrincipalCreationPoliciesServicePrincipalCreationPolicyItemReque } 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 *ServicePrincipalCreationPoliciesServicePrincipalCreationPolicyItemRequestBuilder) WithUrl(rawUrl string)(*ServicePrincipalCreationPoliciesServicePrincipalCreationPolicyItemRequestBuilder) { + return NewServicePrincipalCreationPoliciesServicePrincipalCreationPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/token_issuance_policies_count_request_builder.go b/policies/token_issuance_policies_count_request_builder.go index dfa45ae8e49..047a739f60a 100644 --- a/policies/token_issuance_policies_count_request_builder.go +++ b/policies/token_issuance_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TokenIssuancePoliciesCountRequestBuilder) ToGetRequestInformation(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 *TokenIssuancePoliciesCountRequestBuilder) WithUrl(rawUrl string)(*TokenIssuancePoliciesCountRequestBuilder) { + return NewTokenIssuancePoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/token_issuance_policies_item_applies_to_count_request_builder.go b/policies/token_issuance_policies_item_applies_to_count_request_builder.go index 1d779823445..a1a9cbaa24a 100644 --- a/policies/token_issuance_policies_item_applies_to_count_request_builder.go +++ b/policies/token_issuance_policies_item_applies_to_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TokenIssuancePoliciesItemAppliesToCountRequestBuilder) ToGetRequestInfo } 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 *TokenIssuancePoliciesItemAppliesToCountRequestBuilder) WithUrl(rawUrl string)(*TokenIssuancePoliciesItemAppliesToCountRequestBuilder) { + return NewTokenIssuancePoliciesItemAppliesToCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/token_issuance_policies_item_applies_to_directory_object_item_request_builder.go b/policies/token_issuance_policies_item_applies_to_directory_object_item_request_builder.go index 7e5337c4905..cd433e31f69 100644 --- a/policies/token_issuance_policies_item_applies_to_directory_object_item_request_builder.go +++ b/policies/token_issuance_policies_item_applies_to_directory_object_item_request_builder.go @@ -75,3 +75,7 @@ func (m *TokenIssuancePoliciesItemAppliesToDirectoryObjectItemRequestBuilder) To } 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 *TokenIssuancePoliciesItemAppliesToDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*TokenIssuancePoliciesItemAppliesToDirectoryObjectItemRequestBuilder) { + return NewTokenIssuancePoliciesItemAppliesToDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/token_issuance_policies_item_applies_to_request_builder.go b/policies/token_issuance_policies_item_applies_to_request_builder.go index 89597917627..9d1b0609d96 100644 --- a/policies/token_issuance_policies_item_applies_to_request_builder.go +++ b/policies/token_issuance_policies_item_applies_to_request_builder.go @@ -39,8 +39,8 @@ type TokenIssuancePoliciesItemAppliesToRequestBuilderGetRequestConfiguration str // Request query parameters QueryParameters *TokenIssuancePoliciesItemAppliesToRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the appliesTo property of the microsoft.graph.stsPolicy entity. -func (m *TokenIssuancePoliciesItemAppliesToRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*TokenIssuancePoliciesItemAppliesToDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the appliesTo property of the microsoft.graph.stsPolicy entity. +func (m *TokenIssuancePoliciesItemAppliesToRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*TokenIssuancePoliciesItemAppliesToDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *TokenIssuancePoliciesItemAppliesToRequestBuilder) ToGetRequestInformati } 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 *TokenIssuancePoliciesItemAppliesToRequestBuilder) WithUrl(rawUrl string)(*TokenIssuancePoliciesItemAppliesToRequestBuilder) { + return NewTokenIssuancePoliciesItemAppliesToRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/token_issuance_policies_request_builder.go b/policies/token_issuance_policies_request_builder.go index dc533594f2a..5dc0787d5ce 100644 --- a/policies/token_issuance_policies_request_builder.go +++ b/policies/token_issuance_policies_request_builder.go @@ -46,8 +46,8 @@ type TokenIssuancePoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTokenIssuancePolicyIdString provides operations to manage the tokenIssuancePolicies property of the microsoft.graph.policyRoot entity. -func (m *TokenIssuancePoliciesRequestBuilder) ByTokenIssuancePolicyIdString(tokenIssuancePolicyId string)(*TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) { +// ByTokenIssuancePolicyId provides operations to manage the tokenIssuancePolicies property of the microsoft.graph.policyRoot entity. +func (m *TokenIssuancePoliciesRequestBuilder) ByTokenIssuancePolicyId(tokenIssuancePolicyId string)(*TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *TokenIssuancePoliciesRequestBuilder) 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 *TokenIssuancePoliciesRequestBuilder) WithUrl(rawUrl string)(*TokenIssuancePoliciesRequestBuilder) { + return NewTokenIssuancePoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/token_issuance_policies_token_issuance_policy_item_request_builder.go b/policies/token_issuance_policies_token_issuance_policy_item_request_builder.go index ec8b637d69f..ab053c68cb7 100644 --- a/policies/token_issuance_policies_token_issuance_policy_item_request_builder.go +++ b/policies/token_issuance_policies_token_issuance_policy_item_request_builder.go @@ -166,3 +166,7 @@ func (m *TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) ToPatchRequ } 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 *TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) WithUrl(rawUrl string)(*TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) { + return NewTokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/token_lifetime_policies_count_request_builder.go b/policies/token_lifetime_policies_count_request_builder.go index 2892610de28..bc275722237 100644 --- a/policies/token_lifetime_policies_count_request_builder.go +++ b/policies/token_lifetime_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TokenLifetimePoliciesCountRequestBuilder) ToGetRequestInformation(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 *TokenLifetimePoliciesCountRequestBuilder) WithUrl(rawUrl string)(*TokenLifetimePoliciesCountRequestBuilder) { + return NewTokenLifetimePoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/token_lifetime_policies_item_applies_to_count_request_builder.go b/policies/token_lifetime_policies_item_applies_to_count_request_builder.go index 0e72efdbb5b..328ef4bb24d 100644 --- a/policies/token_lifetime_policies_item_applies_to_count_request_builder.go +++ b/policies/token_lifetime_policies_item_applies_to_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TokenLifetimePoliciesItemAppliesToCountRequestBuilder) ToGetRequestInfo } 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 *TokenLifetimePoliciesItemAppliesToCountRequestBuilder) WithUrl(rawUrl string)(*TokenLifetimePoliciesItemAppliesToCountRequestBuilder) { + return NewTokenLifetimePoliciesItemAppliesToCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/token_lifetime_policies_item_applies_to_directory_object_item_request_builder.go b/policies/token_lifetime_policies_item_applies_to_directory_object_item_request_builder.go index 034bf51e80a..3e81efeb77e 100644 --- a/policies/token_lifetime_policies_item_applies_to_directory_object_item_request_builder.go +++ b/policies/token_lifetime_policies_item_applies_to_directory_object_item_request_builder.go @@ -75,3 +75,7 @@ func (m *TokenLifetimePoliciesItemAppliesToDirectoryObjectItemRequestBuilder) To } 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 *TokenLifetimePoliciesItemAppliesToDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*TokenLifetimePoliciesItemAppliesToDirectoryObjectItemRequestBuilder) { + return NewTokenLifetimePoliciesItemAppliesToDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/token_lifetime_policies_item_applies_to_request_builder.go b/policies/token_lifetime_policies_item_applies_to_request_builder.go index 1d73e2f82cb..055e659c48e 100644 --- a/policies/token_lifetime_policies_item_applies_to_request_builder.go +++ b/policies/token_lifetime_policies_item_applies_to_request_builder.go @@ -39,8 +39,8 @@ type TokenLifetimePoliciesItemAppliesToRequestBuilderGetRequestConfiguration str // Request query parameters QueryParameters *TokenLifetimePoliciesItemAppliesToRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the appliesTo property of the microsoft.graph.stsPolicy entity. -func (m *TokenLifetimePoliciesItemAppliesToRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*TokenLifetimePoliciesItemAppliesToDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the appliesTo property of the microsoft.graph.stsPolicy entity. +func (m *TokenLifetimePoliciesItemAppliesToRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*TokenLifetimePoliciesItemAppliesToDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *TokenLifetimePoliciesItemAppliesToRequestBuilder) ToGetRequestInformati } 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 *TokenLifetimePoliciesItemAppliesToRequestBuilder) WithUrl(rawUrl string)(*TokenLifetimePoliciesItemAppliesToRequestBuilder) { + return NewTokenLifetimePoliciesItemAppliesToRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/token_lifetime_policies_request_builder.go b/policies/token_lifetime_policies_request_builder.go index 03515afa9a0..64a8f709667 100644 --- a/policies/token_lifetime_policies_request_builder.go +++ b/policies/token_lifetime_policies_request_builder.go @@ -46,8 +46,8 @@ type TokenLifetimePoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTokenLifetimePolicyIdString provides operations to manage the tokenLifetimePolicies property of the microsoft.graph.policyRoot entity. -func (m *TokenLifetimePoliciesRequestBuilder) ByTokenLifetimePolicyIdString(tokenLifetimePolicyId string)(*TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) { +// ByTokenLifetimePolicyId provides operations to manage the tokenLifetimePolicies property of the microsoft.graph.policyRoot entity. +func (m *TokenLifetimePoliciesRequestBuilder) ByTokenLifetimePolicyId(tokenLifetimePolicyId string)(*TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *TokenLifetimePoliciesRequestBuilder) 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 *TokenLifetimePoliciesRequestBuilder) WithUrl(rawUrl string)(*TokenLifetimePoliciesRequestBuilder) { + return NewTokenLifetimePoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/policies/token_lifetime_policies_token_lifetime_policy_item_request_builder.go b/policies/token_lifetime_policies_token_lifetime_policy_item_request_builder.go index a9941da761a..9bf7742af61 100644 --- a/policies/token_lifetime_policies_token_lifetime_policy_item_request_builder.go +++ b/policies/token_lifetime_policies_token_lifetime_policy_item_request_builder.go @@ -166,3 +166,7 @@ func (m *TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) ToPatchRequ } 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 *TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) WithUrl(rawUrl string)(*TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) { + return NewTokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/connectors_count_request_builder.go b/print/connectors_count_request_builder.go index beb9741ed52..250b4bd61b7 100644 --- a/print/connectors_count_request_builder.go +++ b/print/connectors_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ConnectorsCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ConnectorsCountRequestBuilder) WithUrl(rawUrl string)(*ConnectorsCountRequestBuilder) { + return NewConnectorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/connectors_print_connector_item_request_builder.go b/print/connectors_print_connector_item_request_builder.go index 3d4454609af..0f69e518ee3 100644 --- a/print/connectors_print_connector_item_request_builder.go +++ b/print/connectors_print_connector_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ConnectorsPrintConnectorItemRequestBuilder) ToPatchRequestInformation(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 *ConnectorsPrintConnectorItemRequestBuilder) WithUrl(rawUrl string)(*ConnectorsPrintConnectorItemRequestBuilder) { + return NewConnectorsPrintConnectorItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/connectors_request_builder.go b/print/connectors_request_builder.go index fa3342d42be..92063e48670 100644 --- a/print/connectors_request_builder.go +++ b/print/connectors_request_builder.go @@ -46,8 +46,8 @@ type ConnectorsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintConnectorIdString provides operations to manage the connectors property of the microsoft.graph.print entity. -func (m *ConnectorsRequestBuilder) ByPrintConnectorIdString(printConnectorId string)(*ConnectorsPrintConnectorItemRequestBuilder) { +// ByPrintConnectorId provides operations to manage the connectors property of the microsoft.graph.print entity. +func (m *ConnectorsRequestBuilder) ByPrintConnectorId(printConnectorId string)(*ConnectorsPrintConnectorItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ConnectorsRequestBuilder) ToPostRequestInformation(ctx context.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 *ConnectorsRequestBuilder) WithUrl(rawUrl string)(*ConnectorsRequestBuilder) { + return NewConnectorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/operations_count_request_builder.go b/print/operations_count_request_builder.go index 45611f97e69..fc97b9016e5 100644 --- a/print/operations_count_request_builder.go +++ b/print/operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *OperationsCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *OperationsCountRequestBuilder) WithUrl(rawUrl string)(*OperationsCountRequestBuilder) { + return NewOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/operations_print_operation_item_request_builder.go b/print/operations_print_operation_item_request_builder.go index f0033502a7a..260b97d2c90 100644 --- a/print/operations_print_operation_item_request_builder.go +++ b/print/operations_print_operation_item_request_builder.go @@ -156,3 +156,7 @@ func (m *OperationsPrintOperationItemRequestBuilder) ToPatchRequestInformation(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 *OperationsPrintOperationItemRequestBuilder) WithUrl(rawUrl string)(*OperationsPrintOperationItemRequestBuilder) { + return NewOperationsPrintOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/operations_request_builder.go b/print/operations_request_builder.go index 9d93658e5c3..817bb0f95fa 100644 --- a/print/operations_request_builder.go +++ b/print/operations_request_builder.go @@ -46,8 +46,8 @@ type OperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintOperationIdString provides operations to manage the operations property of the microsoft.graph.print entity. -func (m *OperationsRequestBuilder) ByPrintOperationIdString(printOperationId string)(*OperationsPrintOperationItemRequestBuilder) { +// ByPrintOperationId provides operations to manage the operations property of the microsoft.graph.print entity. +func (m *OperationsRequestBuilder) ByPrintOperationId(printOperationId string)(*OperationsPrintOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *OperationsRequestBuilder) ToPostRequestInformation(ctx context.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 *OperationsRequestBuilder) WithUrl(rawUrl string)(*OperationsRequestBuilder) { + return NewOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/print_request_builder.go b/print/print_request_builder.go index a3f0424f033..7297b786cc4 100644 --- a/print/print_request_builder.go +++ b/print/print_request_builder.go @@ -146,3 +146,7 @@ func (m *PrintRequestBuilder) ToPatchRequestInformation(ctx context.Context, bod } 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 *PrintRequestBuilder) WithUrl(rawUrl string)(*PrintRequestBuilder) { + return NewPrintRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_count_request_builder.go b/print/printer_shares_count_request_builder.go index d37ca55f7a5..437bdc20fee 100644 --- a/print/printer_shares_count_request_builder.go +++ b/print/printer_shares_count_request_builder.go @@ -76,3 +76,8 @@ func (m *PrinterSharesCountRequestBuilder) 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesCountRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesCountRequestBuilder) { + return NewPrinterSharesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_allowed_groups_count_request_builder.go b/print/printer_shares_item_allowed_groups_count_request_builder.go index 57b8dcf65f1..f83a4b6649d 100644 --- a/print/printer_shares_item_allowed_groups_count_request_builder.go +++ b/print/printer_shares_item_allowed_groups_count_request_builder.go @@ -76,3 +76,8 @@ func (m *PrinterSharesItemAllowedGroupsCountRequestBuilder) ToGetRequestInformat } 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemAllowedGroupsCountRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemAllowedGroupsCountRequestBuilder) { + return NewPrinterSharesItemAllowedGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_allowed_groups_item_ref_request_builder.go b/print/printer_shares_item_allowed_groups_item_ref_request_builder.go index bf3d6ca3601..353fccfea22 100644 --- a/print/printer_shares_item_allowed_groups_item_ref_request_builder.go +++ b/print/printer_shares_item_allowed_groups_item_ref_request_builder.go @@ -73,3 +73,8 @@ func (m *PrinterSharesItemAllowedGroupsItemRefRequestBuilder) ToDeleteRequestInf } 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemAllowedGroupsItemRefRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemAllowedGroupsItemRefRequestBuilder) { + return NewPrinterSharesItemAllowedGroupsItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_allowed_groups_ref_request_builder.go b/print/printer_shares_item_allowed_groups_ref_request_builder.go index e78448c62ad..7e9e35c9192 100644 --- a/print/printer_shares_item_allowed_groups_ref_request_builder.go +++ b/print/printer_shares_item_allowed_groups_ref_request_builder.go @@ -132,3 +132,8 @@ func (m *PrinterSharesItemAllowedGroupsRefRequestBuilder) ToPostRequestInformati } 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemAllowedGroupsRefRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemAllowedGroupsRefRequestBuilder) { + return NewPrinterSharesItemAllowedGroupsRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_allowed_groups_request_builder.go b/print/printer_shares_item_allowed_groups_request_builder.go index 4779891e057..e366d95fd10 100644 --- a/print/printer_shares_item_allowed_groups_request_builder.go +++ b/print/printer_shares_item_allowed_groups_request_builder.go @@ -39,8 +39,8 @@ type PrinterSharesItemAllowedGroupsRequestBuilderGetRequestConfiguration struct // Request query parameters QueryParameters *PrinterSharesItemAllowedGroupsRequestBuilderGetQueryParameters } -// ByGroupIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.print.printerShares.item.allowedGroups.item collection -func (m *PrinterSharesItemAllowedGroupsRequestBuilder) ByGroupIdString(groupId string)(*PrinterSharesItemAllowedGroupsGroupItemRequestBuilder) { +// ByGroupId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.print.printerShares.item.allowedGroups.item collection +func (m *PrinterSharesItemAllowedGroupsRequestBuilder) ByGroupId(groupId string)(*PrinterSharesItemAllowedGroupsGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -111,3 +111,8 @@ func (m *PrinterSharesItemAllowedGroupsRequestBuilder) ToGetRequestInformation(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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemAllowedGroupsRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemAllowedGroupsRequestBuilder) { + return NewPrinterSharesItemAllowedGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_allowed_users_count_request_builder.go b/print/printer_shares_item_allowed_users_count_request_builder.go index e3a515f9113..91b1bc07545 100644 --- a/print/printer_shares_item_allowed_users_count_request_builder.go +++ b/print/printer_shares_item_allowed_users_count_request_builder.go @@ -76,3 +76,8 @@ func (m *PrinterSharesItemAllowedUsersCountRequestBuilder) ToGetRequestInformati } 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemAllowedUsersCountRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemAllowedUsersCountRequestBuilder) { + return NewPrinterSharesItemAllowedUsersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_allowed_users_item_mailbox_settings_request_builder.go b/print/printer_shares_item_allowed_users_item_mailbox_settings_request_builder.go index 768b9a50819..0e420d441bb 100644 --- a/print/printer_shares_item_allowed_users_item_mailbox_settings_request_builder.go +++ b/print/printer_shares_item_allowed_users_item_mailbox_settings_request_builder.go @@ -122,3 +122,8 @@ func (m *PrinterSharesItemAllowedUsersItemMailboxSettingsRequestBuilder) ToPatch } 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemAllowedUsersItemMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemAllowedUsersItemMailboxSettingsRequestBuilder) { + return NewPrinterSharesItemAllowedUsersItemMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_allowed_users_item_ref_request_builder.go b/print/printer_shares_item_allowed_users_item_ref_request_builder.go index b1616823a7c..d84239730bb 100644 --- a/print/printer_shares_item_allowed_users_item_ref_request_builder.go +++ b/print/printer_shares_item_allowed_users_item_ref_request_builder.go @@ -73,3 +73,8 @@ func (m *PrinterSharesItemAllowedUsersItemRefRequestBuilder) ToDeleteRequestInfo } 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemAllowedUsersItemRefRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemAllowedUsersItemRefRequestBuilder) { + return NewPrinterSharesItemAllowedUsersItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_allowed_users_ref_request_builder.go b/print/printer_shares_item_allowed_users_ref_request_builder.go index 3a24eb24f20..2e859eeaa71 100644 --- a/print/printer_shares_item_allowed_users_ref_request_builder.go +++ b/print/printer_shares_item_allowed_users_ref_request_builder.go @@ -132,3 +132,8 @@ func (m *PrinterSharesItemAllowedUsersRefRequestBuilder) ToPostRequestInformatio } 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemAllowedUsersRefRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemAllowedUsersRefRequestBuilder) { + return NewPrinterSharesItemAllowedUsersRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_allowed_users_request_builder.go b/print/printer_shares_item_allowed_users_request_builder.go index 9cb9700ba85..e4e670f6278 100644 --- a/print/printer_shares_item_allowed_users_request_builder.go +++ b/print/printer_shares_item_allowed_users_request_builder.go @@ -39,8 +39,8 @@ type PrinterSharesItemAllowedUsersRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *PrinterSharesItemAllowedUsersRequestBuilderGetQueryParameters } -// ByUserIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.print.printerShares.item.allowedUsers.item collection -func (m *PrinterSharesItemAllowedUsersRequestBuilder) ByUserIdString(userId string)(*PrinterSharesItemAllowedUsersUserItemRequestBuilder) { +// ByUserId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.print.printerShares.item.allowedUsers.item collection +func (m *PrinterSharesItemAllowedUsersRequestBuilder) ByUserId(userId string)(*PrinterSharesItemAllowedUsersUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -111,3 +111,8 @@ func (m *PrinterSharesItemAllowedUsersRequestBuilder) ToGetRequestInformation(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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemAllowedUsersRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemAllowedUsersRequestBuilder) { + return NewPrinterSharesItemAllowedUsersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_jobs_count_request_builder.go b/print/printer_shares_item_jobs_count_request_builder.go index 6b3af37b525..7cb47b5c5f6 100644 --- a/print/printer_shares_item_jobs_count_request_builder.go +++ b/print/printer_shares_item_jobs_count_request_builder.go @@ -76,3 +76,8 @@ func (m *PrinterSharesItemJobsCountRequestBuilder) ToGetRequestInformation(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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemJobsCountRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemJobsCountRequestBuilder) { + return NewPrinterSharesItemJobsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_jobs_item_abort_request_builder.go b/print/printer_shares_item_jobs_item_abort_request_builder.go index ebf5918fc36..2a1c401fb16 100644 --- a/print/printer_shares_item_jobs_item_abort_request_builder.go +++ b/print/printer_shares_item_jobs_item_abort_request_builder.go @@ -67,3 +67,8 @@ func (m *PrinterSharesItemJobsItemAbortRequestBuilder) 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemJobsItemAbortRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemJobsItemAbortRequestBuilder) { + return NewPrinterSharesItemJobsItemAbortRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_jobs_item_cancel_print_job_request_builder.go b/print/printer_shares_item_jobs_item_cancel_print_job_request_builder.go index fb6a822b861..fb6c9e508fa 100644 --- a/print/printer_shares_item_jobs_item_cancel_print_job_request_builder.go +++ b/print/printer_shares_item_jobs_item_cancel_print_job_request_builder.go @@ -60,3 +60,8 @@ func (m *PrinterSharesItemJobsItemCancelPrintJobRequestBuilder) ToPostRequestInf } 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemJobsItemCancelPrintJobRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemJobsItemCancelPrintJobRequestBuilder) { + return NewPrinterSharesItemJobsItemCancelPrintJobRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_jobs_item_cancel_request_builder.go b/print/printer_shares_item_jobs_item_cancel_request_builder.go index 2a4b0af40d6..ee446c6f91a 100644 --- a/print/printer_shares_item_jobs_item_cancel_request_builder.go +++ b/print/printer_shares_item_jobs_item_cancel_request_builder.go @@ -63,3 +63,8 @@ func (m *PrinterSharesItemJobsItemCancelRequestBuilder) 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemJobsItemCancelRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemJobsItemCancelRequestBuilder) { + return NewPrinterSharesItemJobsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_jobs_item_documents_count_request_builder.go b/print/printer_shares_item_jobs_item_documents_count_request_builder.go index 3098d023641..41aa852701b 100644 --- a/print/printer_shares_item_jobs_item_documents_count_request_builder.go +++ b/print/printer_shares_item_jobs_item_documents_count_request_builder.go @@ -76,3 +76,8 @@ func (m *PrinterSharesItemJobsItemDocumentsCountRequestBuilder) ToGetRequestInfo } 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemJobsItemDocumentsCountRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemJobsItemDocumentsCountRequestBuilder) { + return NewPrinterSharesItemJobsItemDocumentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_jobs_item_documents_item_create_upload_session_request_builder.go b/print/printer_shares_item_jobs_item_documents_item_create_upload_session_request_builder.go index eff4053dfd3..f6a5d6c78d2 100644 --- a/print/printer_shares_item_jobs_item_documents_item_create_upload_session_request_builder.go +++ b/print/printer_shares_item_jobs_item_documents_item_create_upload_session_request_builder.go @@ -72,3 +72,8 @@ func (m *PrinterSharesItemJobsItemDocumentsItemCreateUploadSessionRequestBuilder } 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemJobsItemDocumentsItemCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemJobsItemDocumentsItemCreateUploadSessionRequestBuilder) { + return NewPrinterSharesItemJobsItemDocumentsItemCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_jobs_item_documents_item_value_content_request_builder.go b/print/printer_shares_item_jobs_item_documents_item_value_content_request_builder.go index dcd6a3d4bca..139679cebbe 100644 --- a/print/printer_shares_item_jobs_item_documents_item_value_content_request_builder.go +++ b/print/printer_shares_item_jobs_item_documents_item_value_content_request_builder.go @@ -104,3 +104,8 @@ func (m *PrinterSharesItemJobsItemDocumentsItemValueContentRequestBuilder) ToPut } 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemJobsItemDocumentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemJobsItemDocumentsItemValueContentRequestBuilder) { + return NewPrinterSharesItemJobsItemDocumentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_jobs_item_documents_print_document_item_request_builder.go b/print/printer_shares_item_jobs_item_documents_print_document_item_request_builder.go index 0b282348903..b22f1dddaed 100644 --- a/print/printer_shares_item_jobs_item_documents_print_document_item_request_builder.go +++ b/print/printer_shares_item_jobs_item_documents_print_document_item_request_builder.go @@ -167,3 +167,8 @@ func (m *PrinterSharesItemJobsItemDocumentsPrintDocumentItemRequestBuilder) ToPa } 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemJobsItemDocumentsPrintDocumentItemRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemJobsItemDocumentsPrintDocumentItemRequestBuilder) { + return NewPrinterSharesItemJobsItemDocumentsPrintDocumentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_jobs_item_documents_request_builder.go b/print/printer_shares_item_jobs_item_documents_request_builder.go index 1e112bdb567..f7015ee32a9 100644 --- a/print/printer_shares_item_jobs_item_documents_request_builder.go +++ b/print/printer_shares_item_jobs_item_documents_request_builder.go @@ -46,9 +46,9 @@ type PrinterSharesItemJobsItemDocumentsRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintDocumentIdString provides operations to manage the documents property of the microsoft.graph.printJob entity. +// ByPrintDocumentId provides operations to manage the documents property of the microsoft.graph.printJob entity. // Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 -func (m *PrinterSharesItemJobsItemDocumentsRequestBuilder) ByPrintDocumentIdString(printDocumentId string)(*PrinterSharesItemJobsItemDocumentsPrintDocumentItemRequestBuilder) { +func (m *PrinterSharesItemJobsItemDocumentsRequestBuilder) ByPrintDocumentId(printDocumentId string)(*PrinterSharesItemJobsItemDocumentsPrintDocumentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *PrinterSharesItemJobsItemDocumentsRequestBuilder) ToPostRequestInformat } 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemJobsItemDocumentsRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemJobsItemDocumentsRequestBuilder) { + return NewPrinterSharesItemJobsItemDocumentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_jobs_item_redirect_request_builder.go b/print/printer_shares_item_jobs_item_redirect_request_builder.go index d806c8516b0..99ff14c5ca6 100644 --- a/print/printer_shares_item_jobs_item_redirect_request_builder.go +++ b/print/printer_shares_item_jobs_item_redirect_request_builder.go @@ -72,3 +72,8 @@ func (m *PrinterSharesItemJobsItemRedirectRequestBuilder) ToPostRequestInformati } 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemJobsItemRedirectRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemJobsItemRedirectRequestBuilder) { + return NewPrinterSharesItemJobsItemRedirectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_jobs_item_start_print_job_request_builder.go b/print/printer_shares_item_jobs_item_start_print_job_request_builder.go index 08775cc0ffb..fac3de0f6fb 100644 --- a/print/printer_shares_item_jobs_item_start_print_job_request_builder.go +++ b/print/printer_shares_item_jobs_item_start_print_job_request_builder.go @@ -65,3 +65,8 @@ func (m *PrinterSharesItemJobsItemStartPrintJobRequestBuilder) ToPostRequestInfo } 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemJobsItemStartPrintJobRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemJobsItemStartPrintJobRequestBuilder) { + return NewPrinterSharesItemJobsItemStartPrintJobRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_jobs_item_start_request_builder.go b/print/printer_shares_item_jobs_item_start_request_builder.go index 474c793cecc..1d2096bd922 100644 --- a/print/printer_shares_item_jobs_item_start_request_builder.go +++ b/print/printer_shares_item_jobs_item_start_request_builder.go @@ -65,3 +65,8 @@ func (m *PrinterSharesItemJobsItemStartRequestBuilder) 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemJobsItemStartRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemJobsItemStartRequestBuilder) { + return NewPrinterSharesItemJobsItemStartRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_jobs_item_tasks_count_request_builder.go b/print/printer_shares_item_jobs_item_tasks_count_request_builder.go index e33646345a0..bb82a9072fc 100644 --- a/print/printer_shares_item_jobs_item_tasks_count_request_builder.go +++ b/print/printer_shares_item_jobs_item_tasks_count_request_builder.go @@ -76,3 +76,8 @@ func (m *PrinterSharesItemJobsItemTasksCountRequestBuilder) ToGetRequestInformat } 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemJobsItemTasksCountRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemJobsItemTasksCountRequestBuilder) { + return NewPrinterSharesItemJobsItemTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_jobs_item_tasks_item_definition_request_builder.go b/print/printer_shares_item_jobs_item_tasks_item_definition_request_builder.go index d25cd2ce9cf..c86a98038e3 100644 --- a/print/printer_shares_item_jobs_item_tasks_item_definition_request_builder.go +++ b/print/printer_shares_item_jobs_item_tasks_item_definition_request_builder.go @@ -77,3 +77,8 @@ func (m *PrinterSharesItemJobsItemTasksItemDefinitionRequestBuilder) ToGetReques } 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemJobsItemTasksItemDefinitionRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemJobsItemTasksItemDefinitionRequestBuilder) { + return NewPrinterSharesItemJobsItemTasksItemDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_jobs_item_tasks_item_trigger_request_builder.go b/print/printer_shares_item_jobs_item_tasks_item_trigger_request_builder.go index 5faf8837f2a..c6ebcee1f6f 100644 --- a/print/printer_shares_item_jobs_item_tasks_item_trigger_request_builder.go +++ b/print/printer_shares_item_jobs_item_tasks_item_trigger_request_builder.go @@ -77,3 +77,8 @@ func (m *PrinterSharesItemJobsItemTasksItemTriggerRequestBuilder) ToGetRequestIn } 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemJobsItemTasksItemTriggerRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemJobsItemTasksItemTriggerRequestBuilder) { + return NewPrinterSharesItemJobsItemTasksItemTriggerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_jobs_item_tasks_print_task_item_request_builder.go b/print/printer_shares_item_jobs_item_tasks_print_task_item_request_builder.go index eba29a8d83b..5926d566f3a 100644 --- a/print/printer_shares_item_jobs_item_tasks_print_task_item_request_builder.go +++ b/print/printer_shares_item_jobs_item_tasks_print_task_item_request_builder.go @@ -167,3 +167,8 @@ func (m *PrinterSharesItemJobsItemTasksPrintTaskItemRequestBuilder) ToPatchReque func (m *PrinterSharesItemJobsItemTasksPrintTaskItemRequestBuilder) Trigger()(*PrinterSharesItemJobsItemTasksItemTriggerRequestBuilder) { return NewPrinterSharesItemJobsItemTasksItemTriggerRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemJobsItemTasksPrintTaskItemRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemJobsItemTasksPrintTaskItemRequestBuilder) { + return NewPrinterSharesItemJobsItemTasksPrintTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_jobs_item_tasks_request_builder.go b/print/printer_shares_item_jobs_item_tasks_request_builder.go index 39c2b93aa88..2232ac49ac4 100644 --- a/print/printer_shares_item_jobs_item_tasks_request_builder.go +++ b/print/printer_shares_item_jobs_item_tasks_request_builder.go @@ -46,9 +46,9 @@ type PrinterSharesItemJobsItemTasksRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintTaskIdString provides operations to manage the tasks property of the microsoft.graph.printJob entity. +// ByPrintTaskId provides operations to manage the tasks property of the microsoft.graph.printJob entity. // Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 -func (m *PrinterSharesItemJobsItemTasksRequestBuilder) ByPrintTaskIdString(printTaskId string)(*PrinterSharesItemJobsItemTasksPrintTaskItemRequestBuilder) { +func (m *PrinterSharesItemJobsItemTasksRequestBuilder) ByPrintTaskId(printTaskId string)(*PrinterSharesItemJobsItemTasksPrintTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *PrinterSharesItemJobsItemTasksRequestBuilder) 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemJobsItemTasksRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemJobsItemTasksRequestBuilder) { + return NewPrinterSharesItemJobsItemTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_jobs_print_job_item_request_builder.go b/print/printer_shares_item_jobs_print_job_item_request_builder.go index e6e9212d8e6..ee9d94edfbc 100644 --- a/print/printer_shares_item_jobs_print_job_item_request_builder.go +++ b/print/printer_shares_item_jobs_print_job_item_request_builder.go @@ -191,3 +191,8 @@ func (m *PrinterSharesItemJobsPrintJobItemRequestBuilder) ToPatchRequestInformat } 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemJobsPrintJobItemRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemJobsPrintJobItemRequestBuilder) { + return NewPrinterSharesItemJobsPrintJobItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_jobs_request_builder.go b/print/printer_shares_item_jobs_request_builder.go index 6008bc0cb9a..29519ef932e 100644 --- a/print/printer_shares_item_jobs_request_builder.go +++ b/print/printer_shares_item_jobs_request_builder.go @@ -46,9 +46,9 @@ type PrinterSharesItemJobsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintJobIdString provides operations to manage the jobs property of the microsoft.graph.printerBase entity. +// ByPrintJobId provides operations to manage the jobs property of the microsoft.graph.printerBase entity. // Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 -func (m *PrinterSharesItemJobsRequestBuilder) ByPrintJobIdString(printJobId string)(*PrinterSharesItemJobsPrintJobItemRequestBuilder) { +func (m *PrinterSharesItemJobsRequestBuilder) ByPrintJobId(printJobId string)(*PrinterSharesItemJobsPrintJobItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *PrinterSharesItemJobsRequestBuilder) 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemJobsRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemJobsRequestBuilder) { + return NewPrinterSharesItemJobsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_item_printer_request_builder.go b/print/printer_shares_item_printer_request_builder.go index dd43b538a5f..c746524777d 100644 --- a/print/printer_shares_item_printer_request_builder.go +++ b/print/printer_shares_item_printer_request_builder.go @@ -77,3 +77,8 @@ func (m *PrinterSharesItemPrinterRequestBuilder) ToGetRequestInformation(ctx con } 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesItemPrinterRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesItemPrinterRequestBuilder) { + return NewPrinterSharesItemPrinterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_printer_share_item_request_builder.go b/print/printer_shares_printer_share_item_request_builder.go index 815809f4210..a93c59c3dbb 100644 --- a/print/printer_shares_printer_share_item_request_builder.go +++ b/print/printer_shares_printer_share_item_request_builder.go @@ -175,3 +175,8 @@ func (m *PrinterSharesPrinterShareItemRequestBuilder) 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesPrinterShareItemRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesPrinterShareItemRequestBuilder) { + return NewPrinterSharesPrinterShareItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printer_shares_request_builder.go b/print/printer_shares_request_builder.go index d07a493aba2..b9347925347 100644 --- a/print/printer_shares_request_builder.go +++ b/print/printer_shares_request_builder.go @@ -46,9 +46,9 @@ type PrinterSharesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrinterShareIdString provides operations to manage the printerShares property of the microsoft.graph.print entity. +// ByPrinterShareId provides operations to manage the printerShares property of the microsoft.graph.print entity. // Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 -func (m *PrinterSharesRequestBuilder) ByPrinterShareIdString(printerShareId string)(*PrinterSharesPrinterShareItemRequestBuilder) { +func (m *PrinterSharesRequestBuilder) ByPrinterShareId(printerShareId string)(*PrinterSharesPrinterShareItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *PrinterSharesRequestBuilder) 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. +// Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrinterSharesRequestBuilder) WithUrl(rawUrl string)(*PrinterSharesRequestBuilder) { + return NewPrinterSharesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_count_request_builder.go b/print/printers_count_request_builder.go index dd8db2f54d7..6af2b5af468 100644 --- a/print/printers_count_request_builder.go +++ b/print/printers_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PrintersCountRequestBuilder) ToGetRequestInformation(ctx context.Contex } 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 *PrintersCountRequestBuilder) WithUrl(rawUrl string)(*PrintersCountRequestBuilder) { + return NewPrintersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_create_request_builder.go b/print/printers_create_request_builder.go index 471c0e7855f..fb3a2d2da8a 100644 --- a/print/printers_create_request_builder.go +++ b/print/printers_create_request_builder.go @@ -65,3 +65,7 @@ func (m *PrintersCreateRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *PrintersCreateRequestBuilder) WithUrl(rawUrl string)(*PrintersCreateRequestBuilder) { + return NewPrintersCreateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_connectors_count_request_builder.go b/print/printers_item_connectors_count_request_builder.go index dca40288ee9..11b7f07405d 100644 --- a/print/printers_item_connectors_count_request_builder.go +++ b/print/printers_item_connectors_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PrintersItemConnectorsCountRequestBuilder) ToGetRequestInformation(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 *PrintersItemConnectorsCountRequestBuilder) WithUrl(rawUrl string)(*PrintersItemConnectorsCountRequestBuilder) { + return NewPrintersItemConnectorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_connectors_print_connector_item_request_builder.go b/print/printers_item_connectors_print_connector_item_request_builder.go index 05ff1405c93..fdbfc26e5a6 100644 --- a/print/printers_item_connectors_print_connector_item_request_builder.go +++ b/print/printers_item_connectors_print_connector_item_request_builder.go @@ -75,3 +75,7 @@ func (m *PrintersItemConnectorsPrintConnectorItemRequestBuilder) ToGetRequestInf } 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 *PrintersItemConnectorsPrintConnectorItemRequestBuilder) WithUrl(rawUrl string)(*PrintersItemConnectorsPrintConnectorItemRequestBuilder) { + return NewPrintersItemConnectorsPrintConnectorItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_connectors_request_builder.go b/print/printers_item_connectors_request_builder.go index a0a62117dc6..aaa9ac27ed0 100644 --- a/print/printers_item_connectors_request_builder.go +++ b/print/printers_item_connectors_request_builder.go @@ -39,8 +39,8 @@ type PrintersItemConnectorsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *PrintersItemConnectorsRequestBuilderGetQueryParameters } -// ByPrintConnectorIdString provides operations to manage the connectors property of the microsoft.graph.printer entity. -func (m *PrintersItemConnectorsRequestBuilder) ByPrintConnectorIdString(printConnectorId string)(*PrintersItemConnectorsPrintConnectorItemRequestBuilder) { +// ByPrintConnectorId provides operations to manage the connectors property of the microsoft.graph.printer entity. +func (m *PrintersItemConnectorsRequestBuilder) ByPrintConnectorId(printConnectorId string)(*PrintersItemConnectorsPrintConnectorItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *PrintersItemConnectorsRequestBuilder) ToGetRequestInformation(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 *PrintersItemConnectorsRequestBuilder) WithUrl(rawUrl string)(*PrintersItemConnectorsRequestBuilder) { + return NewPrintersItemConnectorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_get_capabilities_request_builder.go b/print/printers_item_get_capabilities_request_builder.go index 71e71dcc4b4..597caad2d9e 100644 --- a/print/printers_item_get_capabilities_request_builder.go +++ b/print/printers_item_get_capabilities_request_builder.go @@ -65,3 +65,8 @@ func (m *PrintersItemGetCapabilitiesRequestBuilder) ToGetRequestInformation(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. +// Deprecated: The getCapabilities API is deprecated and will stop returning data on July 31, 2023. Please use the capabilities property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrintersItemGetCapabilitiesRequestBuilder) WithUrl(rawUrl string)(*PrintersItemGetCapabilitiesRequestBuilder) { + return NewPrintersItemGetCapabilitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_jobs_count_request_builder.go b/print/printers_item_jobs_count_request_builder.go index d3a44277816..4dfc50371a1 100644 --- a/print/printers_item_jobs_count_request_builder.go +++ b/print/printers_item_jobs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PrintersItemJobsCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *PrintersItemJobsCountRequestBuilder) WithUrl(rawUrl string)(*PrintersItemJobsCountRequestBuilder) { + return NewPrintersItemJobsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_jobs_item_abort_request_builder.go b/print/printers_item_jobs_item_abort_request_builder.go index 2d52757f395..749034f8181 100644 --- a/print/printers_item_jobs_item_abort_request_builder.go +++ b/print/printers_item_jobs_item_abort_request_builder.go @@ -65,3 +65,7 @@ func (m *PrintersItemJobsItemAbortRequestBuilder) ToPostRequestInformation(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 *PrintersItemJobsItemAbortRequestBuilder) WithUrl(rawUrl string)(*PrintersItemJobsItemAbortRequestBuilder) { + return NewPrintersItemJobsItemAbortRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_jobs_item_cancel_print_job_request_builder.go b/print/printers_item_jobs_item_cancel_print_job_request_builder.go index dba33c3b9ba..0e17cd3aef2 100644 --- a/print/printers_item_jobs_item_cancel_print_job_request_builder.go +++ b/print/printers_item_jobs_item_cancel_print_job_request_builder.go @@ -60,3 +60,8 @@ func (m *PrintersItemJobsItemCancelPrintJobRequestBuilder) ToPostRequestInformat } 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. +// Deprecated: The cancelPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the cancel API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrintersItemJobsItemCancelPrintJobRequestBuilder) WithUrl(rawUrl string)(*PrintersItemJobsItemCancelPrintJobRequestBuilder) { + return NewPrintersItemJobsItemCancelPrintJobRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_jobs_item_cancel_request_builder.go b/print/printers_item_jobs_item_cancel_request_builder.go index 98d19a2e8bf..a15976f865f 100644 --- a/print/printers_item_jobs_item_cancel_request_builder.go +++ b/print/printers_item_jobs_item_cancel_request_builder.go @@ -61,3 +61,7 @@ func (m *PrintersItemJobsItemCancelRequestBuilder) 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 *PrintersItemJobsItemCancelRequestBuilder) WithUrl(rawUrl string)(*PrintersItemJobsItemCancelRequestBuilder) { + return NewPrintersItemJobsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_jobs_item_documents_count_request_builder.go b/print/printers_item_jobs_item_documents_count_request_builder.go index 549e9263bf2..b19ce41efe7 100644 --- a/print/printers_item_jobs_item_documents_count_request_builder.go +++ b/print/printers_item_jobs_item_documents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PrintersItemJobsItemDocumentsCountRequestBuilder) ToGetRequestInformati } 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 *PrintersItemJobsItemDocumentsCountRequestBuilder) WithUrl(rawUrl string)(*PrintersItemJobsItemDocumentsCountRequestBuilder) { + return NewPrintersItemJobsItemDocumentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_jobs_item_documents_item_create_upload_session_request_builder.go b/print/printers_item_jobs_item_documents_item_create_upload_session_request_builder.go index b7659ad8fb3..47b62eebb87 100644 --- a/print/printers_item_jobs_item_documents_item_create_upload_session_request_builder.go +++ b/print/printers_item_jobs_item_documents_item_create_upload_session_request_builder.go @@ -70,3 +70,7 @@ func (m *PrintersItemJobsItemDocumentsItemCreateUploadSessionRequestBuilder) 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 *PrintersItemJobsItemDocumentsItemCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*PrintersItemJobsItemDocumentsItemCreateUploadSessionRequestBuilder) { + return NewPrintersItemJobsItemDocumentsItemCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_jobs_item_documents_item_value_content_request_builder.go b/print/printers_item_jobs_item_documents_item_value_content_request_builder.go index edec383b40e..49a3f40220b 100644 --- a/print/printers_item_jobs_item_documents_item_value_content_request_builder.go +++ b/print/printers_item_jobs_item_documents_item_value_content_request_builder.go @@ -100,3 +100,7 @@ func (m *PrintersItemJobsItemDocumentsItemValueContentRequestBuilder) ToPutReque } 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 *PrintersItemJobsItemDocumentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*PrintersItemJobsItemDocumentsItemValueContentRequestBuilder) { + return NewPrintersItemJobsItemDocumentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_jobs_item_documents_print_document_item_request_builder.go b/print/printers_item_jobs_item_documents_print_document_item_request_builder.go index 91d8da73d26..31deb3a1d1d 100644 --- a/print/printers_item_jobs_item_documents_print_document_item_request_builder.go +++ b/print/printers_item_jobs_item_documents_print_document_item_request_builder.go @@ -161,3 +161,7 @@ func (m *PrintersItemJobsItemDocumentsPrintDocumentItemRequestBuilder) ToPatchRe } 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 *PrintersItemJobsItemDocumentsPrintDocumentItemRequestBuilder) WithUrl(rawUrl string)(*PrintersItemJobsItemDocumentsPrintDocumentItemRequestBuilder) { + return NewPrintersItemJobsItemDocumentsPrintDocumentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_jobs_item_documents_request_builder.go b/print/printers_item_jobs_item_documents_request_builder.go index 54126817ecd..d04dd951be3 100644 --- a/print/printers_item_jobs_item_documents_request_builder.go +++ b/print/printers_item_jobs_item_documents_request_builder.go @@ -46,8 +46,8 @@ type PrintersItemJobsItemDocumentsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintDocumentIdString provides operations to manage the documents property of the microsoft.graph.printJob entity. -func (m *PrintersItemJobsItemDocumentsRequestBuilder) ByPrintDocumentIdString(printDocumentId string)(*PrintersItemJobsItemDocumentsPrintDocumentItemRequestBuilder) { +// ByPrintDocumentId provides operations to manage the documents property of the microsoft.graph.printJob entity. +func (m *PrintersItemJobsItemDocumentsRequestBuilder) ByPrintDocumentId(printDocumentId string)(*PrintersItemJobsItemDocumentsPrintDocumentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *PrintersItemJobsItemDocumentsRequestBuilder) ToPostRequestInformation(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 *PrintersItemJobsItemDocumentsRequestBuilder) WithUrl(rawUrl string)(*PrintersItemJobsItemDocumentsRequestBuilder) { + return NewPrintersItemJobsItemDocumentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_jobs_item_redirect_request_builder.go b/print/printers_item_jobs_item_redirect_request_builder.go index d7c94c595d3..1708c7fd494 100644 --- a/print/printers_item_jobs_item_redirect_request_builder.go +++ b/print/printers_item_jobs_item_redirect_request_builder.go @@ -70,3 +70,7 @@ func (m *PrintersItemJobsItemRedirectRequestBuilder) 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 *PrintersItemJobsItemRedirectRequestBuilder) WithUrl(rawUrl string)(*PrintersItemJobsItemRedirectRequestBuilder) { + return NewPrintersItemJobsItemRedirectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_jobs_item_start_print_job_request_builder.go b/print/printers_item_jobs_item_start_print_job_request_builder.go index a61da68c905..a69a7ae87d3 100644 --- a/print/printers_item_jobs_item_start_print_job_request_builder.go +++ b/print/printers_item_jobs_item_start_print_job_request_builder.go @@ -65,3 +65,8 @@ func (m *PrintersItemJobsItemStartPrintJobRequestBuilder) ToPostRequestInformati } 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. +// Deprecated: The startPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the start API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrintersItemJobsItemStartPrintJobRequestBuilder) WithUrl(rawUrl string)(*PrintersItemJobsItemStartPrintJobRequestBuilder) { + return NewPrintersItemJobsItemStartPrintJobRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_jobs_item_start_request_builder.go b/print/printers_item_jobs_item_start_request_builder.go index 002f4594b6e..712b3a8fddb 100644 --- a/print/printers_item_jobs_item_start_request_builder.go +++ b/print/printers_item_jobs_item_start_request_builder.go @@ -63,3 +63,7 @@ func (m *PrintersItemJobsItemStartRequestBuilder) ToPostRequestInformation(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 *PrintersItemJobsItemStartRequestBuilder) WithUrl(rawUrl string)(*PrintersItemJobsItemStartRequestBuilder) { + return NewPrintersItemJobsItemStartRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_jobs_item_tasks_count_request_builder.go b/print/printers_item_jobs_item_tasks_count_request_builder.go index 3b257c71247..eb97ef6246a 100644 --- a/print/printers_item_jobs_item_tasks_count_request_builder.go +++ b/print/printers_item_jobs_item_tasks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PrintersItemJobsItemTasksCountRequestBuilder) ToGetRequestInformation(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 *PrintersItemJobsItemTasksCountRequestBuilder) WithUrl(rawUrl string)(*PrintersItemJobsItemTasksCountRequestBuilder) { + return NewPrintersItemJobsItemTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_jobs_item_tasks_item_definition_request_builder.go b/print/printers_item_jobs_item_tasks_item_definition_request_builder.go index e941568fbc5..c5c059df039 100644 --- a/print/printers_item_jobs_item_tasks_item_definition_request_builder.go +++ b/print/printers_item_jobs_item_tasks_item_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *PrintersItemJobsItemTasksItemDefinitionRequestBuilder) ToGetRequestInfo } 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 *PrintersItemJobsItemTasksItemDefinitionRequestBuilder) WithUrl(rawUrl string)(*PrintersItemJobsItemTasksItemDefinitionRequestBuilder) { + return NewPrintersItemJobsItemTasksItemDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_jobs_item_tasks_item_trigger_request_builder.go b/print/printers_item_jobs_item_tasks_item_trigger_request_builder.go index aba3e6d69a5..fa440b265af 100644 --- a/print/printers_item_jobs_item_tasks_item_trigger_request_builder.go +++ b/print/printers_item_jobs_item_tasks_item_trigger_request_builder.go @@ -75,3 +75,7 @@ func (m *PrintersItemJobsItemTasksItemTriggerRequestBuilder) ToGetRequestInforma } 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 *PrintersItemJobsItemTasksItemTriggerRequestBuilder) WithUrl(rawUrl string)(*PrintersItemJobsItemTasksItemTriggerRequestBuilder) { + return NewPrintersItemJobsItemTasksItemTriggerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_jobs_item_tasks_print_task_item_request_builder.go b/print/printers_item_jobs_item_tasks_print_task_item_request_builder.go index 42e78c6f3c2..9f67e72f877 100644 --- a/print/printers_item_jobs_item_tasks_print_task_item_request_builder.go +++ b/print/printers_item_jobs_item_tasks_print_task_item_request_builder.go @@ -161,3 +161,7 @@ func (m *PrintersItemJobsItemTasksPrintTaskItemRequestBuilder) ToPatchRequestInf func (m *PrintersItemJobsItemTasksPrintTaskItemRequestBuilder) Trigger()(*PrintersItemJobsItemTasksItemTriggerRequestBuilder) { return NewPrintersItemJobsItemTasksItemTriggerRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *PrintersItemJobsItemTasksPrintTaskItemRequestBuilder) WithUrl(rawUrl string)(*PrintersItemJobsItemTasksPrintTaskItemRequestBuilder) { + return NewPrintersItemJobsItemTasksPrintTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_jobs_item_tasks_request_builder.go b/print/printers_item_jobs_item_tasks_request_builder.go index d671d6bfad9..480f29dbb7c 100644 --- a/print/printers_item_jobs_item_tasks_request_builder.go +++ b/print/printers_item_jobs_item_tasks_request_builder.go @@ -46,8 +46,8 @@ type PrintersItemJobsItemTasksRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintTaskIdString provides operations to manage the tasks property of the microsoft.graph.printJob entity. -func (m *PrintersItemJobsItemTasksRequestBuilder) ByPrintTaskIdString(printTaskId string)(*PrintersItemJobsItemTasksPrintTaskItemRequestBuilder) { +// ByPrintTaskId provides operations to manage the tasks property of the microsoft.graph.printJob entity. +func (m *PrintersItemJobsItemTasksRequestBuilder) ByPrintTaskId(printTaskId string)(*PrintersItemJobsItemTasksPrintTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *PrintersItemJobsItemTasksRequestBuilder) ToPostRequestInformation(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 *PrintersItemJobsItemTasksRequestBuilder) WithUrl(rawUrl string)(*PrintersItemJobsItemTasksRequestBuilder) { + return NewPrintersItemJobsItemTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_jobs_print_job_item_request_builder.go b/print/printers_item_jobs_print_job_item_request_builder.go index 2aaf32c874c..446a49fc53f 100644 --- a/print/printers_item_jobs_print_job_item_request_builder.go +++ b/print/printers_item_jobs_print_job_item_request_builder.go @@ -185,3 +185,7 @@ func (m *PrintersItemJobsPrintJobItemRequestBuilder) ToPatchRequestInformation(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 *PrintersItemJobsPrintJobItemRequestBuilder) WithUrl(rawUrl string)(*PrintersItemJobsPrintJobItemRequestBuilder) { + return NewPrintersItemJobsPrintJobItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_jobs_request_builder.go b/print/printers_item_jobs_request_builder.go index 6b79a6d532f..f6ec0d8cc2d 100644 --- a/print/printers_item_jobs_request_builder.go +++ b/print/printers_item_jobs_request_builder.go @@ -46,8 +46,8 @@ type PrintersItemJobsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintJobIdString provides operations to manage the jobs property of the microsoft.graph.printerBase entity. -func (m *PrintersItemJobsRequestBuilder) ByPrintJobIdString(printJobId string)(*PrintersItemJobsPrintJobItemRequestBuilder) { +// ByPrintJobId provides operations to manage the jobs property of the microsoft.graph.printerBase entity. +func (m *PrintersItemJobsRequestBuilder) ByPrintJobId(printJobId string)(*PrintersItemJobsPrintJobItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *PrintersItemJobsRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *PrintersItemJobsRequestBuilder) WithUrl(rawUrl string)(*PrintersItemJobsRequestBuilder) { + return NewPrintersItemJobsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_reset_defaults_request_builder.go b/print/printers_item_reset_defaults_request_builder.go index d878a1dd35e..01af7994384 100644 --- a/print/printers_item_reset_defaults_request_builder.go +++ b/print/printers_item_reset_defaults_request_builder.go @@ -60,3 +60,8 @@ func (m *PrintersItemResetDefaultsRequestBuilder) ToPostRequestInformation(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. +// Deprecated: The resetDefaults API is deprecated and will stop returning data on July 31, 2023. Please use the restoreFactoryDefaults API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrintersItemResetDefaultsRequestBuilder) WithUrl(rawUrl string)(*PrintersItemResetDefaultsRequestBuilder) { + return NewPrintersItemResetDefaultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_restore_factory_defaults_request_builder.go b/print/printers_item_restore_factory_defaults_request_builder.go index e39203c80ac..9e2c5b07308 100644 --- a/print/printers_item_restore_factory_defaults_request_builder.go +++ b/print/printers_item_restore_factory_defaults_request_builder.go @@ -61,3 +61,7 @@ func (m *PrintersItemRestoreFactoryDefaultsRequestBuilder) ToPostRequestInformat } 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 *PrintersItemRestoreFactoryDefaultsRequestBuilder) WithUrl(rawUrl string)(*PrintersItemRestoreFactoryDefaultsRequestBuilder) { + return NewPrintersItemRestoreFactoryDefaultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_share_request_builder.go b/print/printers_item_share_request_builder.go index e5dc0fcfcdc..2185af5e741 100644 --- a/print/printers_item_share_request_builder.go +++ b/print/printers_item_share_request_builder.go @@ -77,3 +77,8 @@ func (m *PrintersItemShareRequestBuilder) ToGetRequestInformation(ctx context.Co } 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. +// Deprecated: The share navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *PrintersItemShareRequestBuilder) WithUrl(rawUrl string)(*PrintersItemShareRequestBuilder) { + return NewPrintersItemShareRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_shares_count_request_builder.go b/print/printers_item_shares_count_request_builder.go index 9647eb940b0..07c5e96bcec 100644 --- a/print/printers_item_shares_count_request_builder.go +++ b/print/printers_item_shares_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PrintersItemSharesCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *PrintersItemSharesCountRequestBuilder) WithUrl(rawUrl string)(*PrintersItemSharesCountRequestBuilder) { + return NewPrintersItemSharesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_shares_printer_share_item_request_builder.go b/print/printers_item_shares_printer_share_item_request_builder.go index 8826136b653..444237a9acd 100644 --- a/print/printers_item_shares_printer_share_item_request_builder.go +++ b/print/printers_item_shares_printer_share_item_request_builder.go @@ -75,3 +75,7 @@ func (m *PrintersItemSharesPrinterShareItemRequestBuilder) ToGetRequestInformati } 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 *PrintersItemSharesPrinterShareItemRequestBuilder) WithUrl(rawUrl string)(*PrintersItemSharesPrinterShareItemRequestBuilder) { + return NewPrintersItemSharesPrinterShareItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_shares_request_builder.go b/print/printers_item_shares_request_builder.go index 2203b00597d..6233e18f87d 100644 --- a/print/printers_item_shares_request_builder.go +++ b/print/printers_item_shares_request_builder.go @@ -39,8 +39,8 @@ type PrintersItemSharesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *PrintersItemSharesRequestBuilderGetQueryParameters } -// ByPrinterShareIdString provides operations to manage the shares property of the microsoft.graph.printer entity. -func (m *PrintersItemSharesRequestBuilder) ByPrinterShareIdString(printerShareId string)(*PrintersItemSharesPrinterShareItemRequestBuilder) { +// ByPrinterShareId provides operations to manage the shares property of the microsoft.graph.printer entity. +func (m *PrintersItemSharesRequestBuilder) ByPrinterShareId(printerShareId string)(*PrintersItemSharesPrinterShareItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *PrintersItemSharesRequestBuilder) 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 *PrintersItemSharesRequestBuilder) WithUrl(rawUrl string)(*PrintersItemSharesRequestBuilder) { + return NewPrintersItemSharesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_task_triggers_count_request_builder.go b/print/printers_item_task_triggers_count_request_builder.go index 46fe9ca5c87..76fb3b56dd0 100644 --- a/print/printers_item_task_triggers_count_request_builder.go +++ b/print/printers_item_task_triggers_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PrintersItemTaskTriggersCountRequestBuilder) ToGetRequestInformation(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 *PrintersItemTaskTriggersCountRequestBuilder) WithUrl(rawUrl string)(*PrintersItemTaskTriggersCountRequestBuilder) { + return NewPrintersItemTaskTriggersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_task_triggers_item_definition_request_builder.go b/print/printers_item_task_triggers_item_definition_request_builder.go index 911c2ad8393..0d0c5542181 100644 --- a/print/printers_item_task_triggers_item_definition_request_builder.go +++ b/print/printers_item_task_triggers_item_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *PrintersItemTaskTriggersItemDefinitionRequestBuilder) ToGetRequestInfor } 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 *PrintersItemTaskTriggersItemDefinitionRequestBuilder) WithUrl(rawUrl string)(*PrintersItemTaskTriggersItemDefinitionRequestBuilder) { + return NewPrintersItemTaskTriggersItemDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_task_triggers_print_task_trigger_item_request_builder.go b/print/printers_item_task_triggers_print_task_trigger_item_request_builder.go index 72eb73295b4..1458f6d0244 100644 --- a/print/printers_item_task_triggers_print_task_trigger_item_request_builder.go +++ b/print/printers_item_task_triggers_print_task_trigger_item_request_builder.go @@ -163,3 +163,7 @@ func (m *PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilder) ToPatchRequ } 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 *PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilder) WithUrl(rawUrl string)(*PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilder) { + return NewPrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_item_task_triggers_request_builder.go b/print/printers_item_task_triggers_request_builder.go index a1556b40ee1..c14c92f7c15 100644 --- a/print/printers_item_task_triggers_request_builder.go +++ b/print/printers_item_task_triggers_request_builder.go @@ -46,8 +46,8 @@ type PrintersItemTaskTriggersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintTaskTriggerIdString provides operations to manage the taskTriggers property of the microsoft.graph.printer entity. -func (m *PrintersItemTaskTriggersRequestBuilder) ByPrintTaskTriggerIdString(printTaskTriggerId string)(*PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilder) { +// ByPrintTaskTriggerId provides operations to manage the taskTriggers property of the microsoft.graph.printer entity. +func (m *PrintersItemTaskTriggersRequestBuilder) ByPrintTaskTriggerId(printTaskTriggerId string)(*PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *PrintersItemTaskTriggersRequestBuilder) ToPostRequestInformation(ctx co } 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 *PrintersItemTaskTriggersRequestBuilder) WithUrl(rawUrl string)(*PrintersItemTaskTriggersRequestBuilder) { + return NewPrintersItemTaskTriggersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_printer_item_request_builder.go b/print/printers_printer_item_request_builder.go index b2daedfbb1b..b9c03ff8fc0 100644 --- a/print/printers_printer_item_request_builder.go +++ b/print/printers_printer_item_request_builder.go @@ -194,3 +194,7 @@ func (m *PrintersPrinterItemRequestBuilder) ToPatchRequestInformation(ctx contex } 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 *PrintersPrinterItemRequestBuilder) WithUrl(rawUrl string)(*PrintersPrinterItemRequestBuilder) { + return NewPrintersPrinterItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/printers_request_builder.go b/print/printers_request_builder.go index 63ebe72230b..111e91fe6c3 100644 --- a/print/printers_request_builder.go +++ b/print/printers_request_builder.go @@ -46,8 +46,8 @@ type PrintersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrinterIdString provides operations to manage the printers property of the microsoft.graph.print entity. -func (m *PrintersRequestBuilder) ByPrinterIdString(printerId string)(*PrintersPrinterItemRequestBuilder) { +// ByPrinterId provides operations to manage the printers property of the microsoft.graph.print entity. +func (m *PrintersRequestBuilder) ByPrinterId(printerId string)(*PrintersPrinterItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *PrintersRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *PrintersRequestBuilder) WithUrl(rawUrl string)(*PrintersRequestBuilder) { + return NewPrintersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/services_count_request_builder.go b/print/services_count_request_builder.go index 0236d736d76..af97dca2093 100644 --- a/print/services_count_request_builder.go +++ b/print/services_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ServicesCountRequestBuilder) ToGetRequestInformation(ctx context.Contex } 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 *ServicesCountRequestBuilder) WithUrl(rawUrl string)(*ServicesCountRequestBuilder) { + return NewServicesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/services_item_endpoints_count_request_builder.go b/print/services_item_endpoints_count_request_builder.go index 42a5151347e..785228ba6df 100644 --- a/print/services_item_endpoints_count_request_builder.go +++ b/print/services_item_endpoints_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ServicesItemEndpointsCountRequestBuilder) ToGetRequestInformation(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 *ServicesItemEndpointsCountRequestBuilder) WithUrl(rawUrl string)(*ServicesItemEndpointsCountRequestBuilder) { + return NewServicesItemEndpointsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/services_item_endpoints_print_service_endpoint_item_request_builder.go b/print/services_item_endpoints_print_service_endpoint_item_request_builder.go index 1c0352b6624..e3f56841302 100644 --- a/print/services_item_endpoints_print_service_endpoint_item_request_builder.go +++ b/print/services_item_endpoints_print_service_endpoint_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ServicesItemEndpointsPrintServiceEndpointItemRequestBuilder) ToPatchReq } 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 *ServicesItemEndpointsPrintServiceEndpointItemRequestBuilder) WithUrl(rawUrl string)(*ServicesItemEndpointsPrintServiceEndpointItemRequestBuilder) { + return NewServicesItemEndpointsPrintServiceEndpointItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/services_item_endpoints_request_builder.go b/print/services_item_endpoints_request_builder.go index 078b0ab14e1..3daf8c049b4 100644 --- a/print/services_item_endpoints_request_builder.go +++ b/print/services_item_endpoints_request_builder.go @@ -46,8 +46,8 @@ type ServicesItemEndpointsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintServiceEndpointIdString provides operations to manage the endpoints property of the microsoft.graph.printService entity. -func (m *ServicesItemEndpointsRequestBuilder) ByPrintServiceEndpointIdString(printServiceEndpointId string)(*ServicesItemEndpointsPrintServiceEndpointItemRequestBuilder) { +// ByPrintServiceEndpointId provides operations to manage the endpoints property of the microsoft.graph.printService entity. +func (m *ServicesItemEndpointsRequestBuilder) ByPrintServiceEndpointId(printServiceEndpointId string)(*ServicesItemEndpointsPrintServiceEndpointItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ServicesItemEndpointsRequestBuilder) 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 *ServicesItemEndpointsRequestBuilder) WithUrl(rawUrl string)(*ServicesItemEndpointsRequestBuilder) { + return NewServicesItemEndpointsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/services_print_service_item_request_builder.go b/print/services_print_service_item_request_builder.go index fd84946e378..901c34b6b51 100644 --- a/print/services_print_service_item_request_builder.go +++ b/print/services_print_service_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ServicesPrintServiceItemRequestBuilder) 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 *ServicesPrintServiceItemRequestBuilder) WithUrl(rawUrl string)(*ServicesPrintServiceItemRequestBuilder) { + return NewServicesPrintServiceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/services_request_builder.go b/print/services_request_builder.go index 2683c7d7c06..272f257c5ba 100644 --- a/print/services_request_builder.go +++ b/print/services_request_builder.go @@ -46,8 +46,8 @@ type ServicesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintServiceIdString provides operations to manage the services property of the microsoft.graph.print entity. -func (m *ServicesRequestBuilder) ByPrintServiceIdString(printServiceId string)(*ServicesPrintServiceItemRequestBuilder) { +// ByPrintServiceId provides operations to manage the services property of the microsoft.graph.print entity. +func (m *ServicesRequestBuilder) ByPrintServiceId(printServiceId string)(*ServicesPrintServiceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ServicesRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *ServicesRequestBuilder) WithUrl(rawUrl string)(*ServicesRequestBuilder) { + return NewServicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_count_request_builder.go b/print/shares_count_request_builder.go index 191160c0501..c5cfd2a5561 100644 --- a/print/shares_count_request_builder.go +++ b/print/shares_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SharesCountRequestBuilder) ToGetRequestInformation(ctx context.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 *SharesCountRequestBuilder) WithUrl(rawUrl string)(*SharesCountRequestBuilder) { + return NewSharesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_allowed_groups_count_request_builder.go b/print/shares_item_allowed_groups_count_request_builder.go index 70647a64f11..c3cc318d0b8 100644 --- a/print/shares_item_allowed_groups_count_request_builder.go +++ b/print/shares_item_allowed_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SharesItemAllowedGroupsCountRequestBuilder) ToGetRequestInformation(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 *SharesItemAllowedGroupsCountRequestBuilder) WithUrl(rawUrl string)(*SharesItemAllowedGroupsCountRequestBuilder) { + return NewSharesItemAllowedGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_allowed_groups_item_ref_request_builder.go b/print/shares_item_allowed_groups_item_ref_request_builder.go index 158e532ab0d..c519a4ef5c9 100644 --- a/print/shares_item_allowed_groups_item_ref_request_builder.go +++ b/print/shares_item_allowed_groups_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *SharesItemAllowedGroupsItemRefRequestBuilder) ToDeleteRequestInformatio } 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 *SharesItemAllowedGroupsItemRefRequestBuilder) WithUrl(rawUrl string)(*SharesItemAllowedGroupsItemRefRequestBuilder) { + return NewSharesItemAllowedGroupsItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_allowed_groups_ref_request_builder.go b/print/shares_item_allowed_groups_ref_request_builder.go index 1a8a21889ad..1fd12d29bfe 100644 --- a/print/shares_item_allowed_groups_ref_request_builder.go +++ b/print/shares_item_allowed_groups_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *SharesItemAllowedGroupsRefRequestBuilder) 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 *SharesItemAllowedGroupsRefRequestBuilder) WithUrl(rawUrl string)(*SharesItemAllowedGroupsRefRequestBuilder) { + return NewSharesItemAllowedGroupsRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_allowed_groups_request_builder.go b/print/shares_item_allowed_groups_request_builder.go index cc1ef4d5c8b..b1e78ff8f16 100644 --- a/print/shares_item_allowed_groups_request_builder.go +++ b/print/shares_item_allowed_groups_request_builder.go @@ -39,8 +39,8 @@ type SharesItemAllowedGroupsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *SharesItemAllowedGroupsRequestBuilderGetQueryParameters } -// ByGroupIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.print.shares.item.allowedGroups.item collection -func (m *SharesItemAllowedGroupsRequestBuilder) ByGroupIdString(groupId string)(*SharesItemAllowedGroupsGroupItemRequestBuilder) { +// ByGroupId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.print.shares.item.allowedGroups.item collection +func (m *SharesItemAllowedGroupsRequestBuilder) ByGroupId(groupId string)(*SharesItemAllowedGroupsGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *SharesItemAllowedGroupsRequestBuilder) ToGetRequestInformation(ctx cont } 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 *SharesItemAllowedGroupsRequestBuilder) WithUrl(rawUrl string)(*SharesItemAllowedGroupsRequestBuilder) { + return NewSharesItemAllowedGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_allowed_users_count_request_builder.go b/print/shares_item_allowed_users_count_request_builder.go index 9457bcfc1d5..8bb845d4f44 100644 --- a/print/shares_item_allowed_users_count_request_builder.go +++ b/print/shares_item_allowed_users_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SharesItemAllowedUsersCountRequestBuilder) ToGetRequestInformation(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 *SharesItemAllowedUsersCountRequestBuilder) WithUrl(rawUrl string)(*SharesItemAllowedUsersCountRequestBuilder) { + return NewSharesItemAllowedUsersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_allowed_users_item_mailbox_settings_request_builder.go b/print/shares_item_allowed_users_item_mailbox_settings_request_builder.go index 78377116f60..45c724e104d 100644 --- a/print/shares_item_allowed_users_item_mailbox_settings_request_builder.go +++ b/print/shares_item_allowed_users_item_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *SharesItemAllowedUsersItemMailboxSettingsRequestBuilder) ToPatchRequest } 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 *SharesItemAllowedUsersItemMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*SharesItemAllowedUsersItemMailboxSettingsRequestBuilder) { + return NewSharesItemAllowedUsersItemMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_allowed_users_item_ref_request_builder.go b/print/shares_item_allowed_users_item_ref_request_builder.go index 584d7457c43..dc1834426fb 100644 --- a/print/shares_item_allowed_users_item_ref_request_builder.go +++ b/print/shares_item_allowed_users_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *SharesItemAllowedUsersItemRefRequestBuilder) ToDeleteRequestInformation } 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 *SharesItemAllowedUsersItemRefRequestBuilder) WithUrl(rawUrl string)(*SharesItemAllowedUsersItemRefRequestBuilder) { + return NewSharesItemAllowedUsersItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_allowed_users_ref_request_builder.go b/print/shares_item_allowed_users_ref_request_builder.go index 7b090d47e18..f9e9b577156 100644 --- a/print/shares_item_allowed_users_ref_request_builder.go +++ b/print/shares_item_allowed_users_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *SharesItemAllowedUsersRefRequestBuilder) ToPostRequestInformation(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 *SharesItemAllowedUsersRefRequestBuilder) WithUrl(rawUrl string)(*SharesItemAllowedUsersRefRequestBuilder) { + return NewSharesItemAllowedUsersRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_allowed_users_request_builder.go b/print/shares_item_allowed_users_request_builder.go index 2709a6bf3f6..6ae72fe2c57 100644 --- a/print/shares_item_allowed_users_request_builder.go +++ b/print/shares_item_allowed_users_request_builder.go @@ -39,8 +39,8 @@ type SharesItemAllowedUsersRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *SharesItemAllowedUsersRequestBuilderGetQueryParameters } -// ByUserIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.print.shares.item.allowedUsers.item collection -func (m *SharesItemAllowedUsersRequestBuilder) ByUserIdString(userId string)(*SharesItemAllowedUsersUserItemRequestBuilder) { +// ByUserId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.print.shares.item.allowedUsers.item collection +func (m *SharesItemAllowedUsersRequestBuilder) ByUserId(userId string)(*SharesItemAllowedUsersUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *SharesItemAllowedUsersRequestBuilder) ToGetRequestInformation(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 *SharesItemAllowedUsersRequestBuilder) WithUrl(rawUrl string)(*SharesItemAllowedUsersRequestBuilder) { + return NewSharesItemAllowedUsersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_jobs_count_request_builder.go b/print/shares_item_jobs_count_request_builder.go index b581d6fd5d3..7886def1994 100644 --- a/print/shares_item_jobs_count_request_builder.go +++ b/print/shares_item_jobs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SharesItemJobsCountRequestBuilder) ToGetRequestInformation(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 *SharesItemJobsCountRequestBuilder) WithUrl(rawUrl string)(*SharesItemJobsCountRequestBuilder) { + return NewSharesItemJobsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_jobs_item_abort_request_builder.go b/print/shares_item_jobs_item_abort_request_builder.go index 2095ba788cb..0c20713da59 100644 --- a/print/shares_item_jobs_item_abort_request_builder.go +++ b/print/shares_item_jobs_item_abort_request_builder.go @@ -65,3 +65,7 @@ func (m *SharesItemJobsItemAbortRequestBuilder) ToPostRequestInformation(ctx con } 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 *SharesItemJobsItemAbortRequestBuilder) WithUrl(rawUrl string)(*SharesItemJobsItemAbortRequestBuilder) { + return NewSharesItemJobsItemAbortRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_jobs_item_cancel_print_job_request_builder.go b/print/shares_item_jobs_item_cancel_print_job_request_builder.go index 144959497a9..82e3b2dde50 100644 --- a/print/shares_item_jobs_item_cancel_print_job_request_builder.go +++ b/print/shares_item_jobs_item_cancel_print_job_request_builder.go @@ -60,3 +60,8 @@ func (m *SharesItemJobsItemCancelPrintJobRequestBuilder) ToPostRequestInformatio } 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. +// Deprecated: The cancelPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the cancel API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *SharesItemJobsItemCancelPrintJobRequestBuilder) WithUrl(rawUrl string)(*SharesItemJobsItemCancelPrintJobRequestBuilder) { + return NewSharesItemJobsItemCancelPrintJobRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_jobs_item_cancel_request_builder.go b/print/shares_item_jobs_item_cancel_request_builder.go index 66bed69e38b..bd678435777 100644 --- a/print/shares_item_jobs_item_cancel_request_builder.go +++ b/print/shares_item_jobs_item_cancel_request_builder.go @@ -61,3 +61,7 @@ func (m *SharesItemJobsItemCancelRequestBuilder) ToPostRequestInformation(ctx co } 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 *SharesItemJobsItemCancelRequestBuilder) WithUrl(rawUrl string)(*SharesItemJobsItemCancelRequestBuilder) { + return NewSharesItemJobsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_jobs_item_documents_count_request_builder.go b/print/shares_item_jobs_item_documents_count_request_builder.go index 43c362f2746..c75d788f080 100644 --- a/print/shares_item_jobs_item_documents_count_request_builder.go +++ b/print/shares_item_jobs_item_documents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SharesItemJobsItemDocumentsCountRequestBuilder) 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 *SharesItemJobsItemDocumentsCountRequestBuilder) WithUrl(rawUrl string)(*SharesItemJobsItemDocumentsCountRequestBuilder) { + return NewSharesItemJobsItemDocumentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_jobs_item_documents_item_create_upload_session_request_builder.go b/print/shares_item_jobs_item_documents_item_create_upload_session_request_builder.go index 877f944a8c5..4c8b81d214d 100644 --- a/print/shares_item_jobs_item_documents_item_create_upload_session_request_builder.go +++ b/print/shares_item_jobs_item_documents_item_create_upload_session_request_builder.go @@ -70,3 +70,7 @@ func (m *SharesItemJobsItemDocumentsItemCreateUploadSessionRequestBuilder) ToPos } 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 *SharesItemJobsItemDocumentsItemCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*SharesItemJobsItemDocumentsItemCreateUploadSessionRequestBuilder) { + return NewSharesItemJobsItemDocumentsItemCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_jobs_item_documents_item_value_content_request_builder.go b/print/shares_item_jobs_item_documents_item_value_content_request_builder.go index 33ee07ff218..9e5f9aa470b 100644 --- a/print/shares_item_jobs_item_documents_item_value_content_request_builder.go +++ b/print/shares_item_jobs_item_documents_item_value_content_request_builder.go @@ -100,3 +100,7 @@ func (m *SharesItemJobsItemDocumentsItemValueContentRequestBuilder) ToPutRequest } 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 *SharesItemJobsItemDocumentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*SharesItemJobsItemDocumentsItemValueContentRequestBuilder) { + return NewSharesItemJobsItemDocumentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_jobs_item_documents_print_document_item_request_builder.go b/print/shares_item_jobs_item_documents_print_document_item_request_builder.go index 6cfbb346ec6..dc8dadfc5b4 100644 --- a/print/shares_item_jobs_item_documents_print_document_item_request_builder.go +++ b/print/shares_item_jobs_item_documents_print_document_item_request_builder.go @@ -161,3 +161,7 @@ func (m *SharesItemJobsItemDocumentsPrintDocumentItemRequestBuilder) ToPatchRequ } 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 *SharesItemJobsItemDocumentsPrintDocumentItemRequestBuilder) WithUrl(rawUrl string)(*SharesItemJobsItemDocumentsPrintDocumentItemRequestBuilder) { + return NewSharesItemJobsItemDocumentsPrintDocumentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_jobs_item_documents_request_builder.go b/print/shares_item_jobs_item_documents_request_builder.go index e72ca1db3b7..78f710be447 100644 --- a/print/shares_item_jobs_item_documents_request_builder.go +++ b/print/shares_item_jobs_item_documents_request_builder.go @@ -46,8 +46,8 @@ type SharesItemJobsItemDocumentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintDocumentIdString provides operations to manage the documents property of the microsoft.graph.printJob entity. -func (m *SharesItemJobsItemDocumentsRequestBuilder) ByPrintDocumentIdString(printDocumentId string)(*SharesItemJobsItemDocumentsPrintDocumentItemRequestBuilder) { +// ByPrintDocumentId provides operations to manage the documents property of the microsoft.graph.printJob entity. +func (m *SharesItemJobsItemDocumentsRequestBuilder) ByPrintDocumentId(printDocumentId string)(*SharesItemJobsItemDocumentsPrintDocumentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SharesItemJobsItemDocumentsRequestBuilder) 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 *SharesItemJobsItemDocumentsRequestBuilder) WithUrl(rawUrl string)(*SharesItemJobsItemDocumentsRequestBuilder) { + return NewSharesItemJobsItemDocumentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_jobs_item_redirect_request_builder.go b/print/shares_item_jobs_item_redirect_request_builder.go index 5449eb0b114..4feb411d009 100644 --- a/print/shares_item_jobs_item_redirect_request_builder.go +++ b/print/shares_item_jobs_item_redirect_request_builder.go @@ -70,3 +70,7 @@ func (m *SharesItemJobsItemRedirectRequestBuilder) 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 *SharesItemJobsItemRedirectRequestBuilder) WithUrl(rawUrl string)(*SharesItemJobsItemRedirectRequestBuilder) { + return NewSharesItemJobsItemRedirectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_jobs_item_start_print_job_request_builder.go b/print/shares_item_jobs_item_start_print_job_request_builder.go index eddbdd2a6c3..f3e0d915001 100644 --- a/print/shares_item_jobs_item_start_print_job_request_builder.go +++ b/print/shares_item_jobs_item_start_print_job_request_builder.go @@ -65,3 +65,8 @@ func (m *SharesItemJobsItemStartPrintJobRequestBuilder) 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. +// Deprecated: The startPrintJob API is deprecated and will stop returning data on July 31, 2023. Please use the start API instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *SharesItemJobsItemStartPrintJobRequestBuilder) WithUrl(rawUrl string)(*SharesItemJobsItemStartPrintJobRequestBuilder) { + return NewSharesItemJobsItemStartPrintJobRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_jobs_item_start_request_builder.go b/print/shares_item_jobs_item_start_request_builder.go index 216c48d5ecd..fce013ef85c 100644 --- a/print/shares_item_jobs_item_start_request_builder.go +++ b/print/shares_item_jobs_item_start_request_builder.go @@ -63,3 +63,7 @@ func (m *SharesItemJobsItemStartRequestBuilder) ToPostRequestInformation(ctx con } 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 *SharesItemJobsItemStartRequestBuilder) WithUrl(rawUrl string)(*SharesItemJobsItemStartRequestBuilder) { + return NewSharesItemJobsItemStartRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_jobs_item_tasks_count_request_builder.go b/print/shares_item_jobs_item_tasks_count_request_builder.go index 4c1f677db6e..02c05407624 100644 --- a/print/shares_item_jobs_item_tasks_count_request_builder.go +++ b/print/shares_item_jobs_item_tasks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SharesItemJobsItemTasksCountRequestBuilder) ToGetRequestInformation(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 *SharesItemJobsItemTasksCountRequestBuilder) WithUrl(rawUrl string)(*SharesItemJobsItemTasksCountRequestBuilder) { + return NewSharesItemJobsItemTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_jobs_item_tasks_item_definition_request_builder.go b/print/shares_item_jobs_item_tasks_item_definition_request_builder.go index 8f5b96efbc9..1799e51879b 100644 --- a/print/shares_item_jobs_item_tasks_item_definition_request_builder.go +++ b/print/shares_item_jobs_item_tasks_item_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *SharesItemJobsItemTasksItemDefinitionRequestBuilder) ToGetRequestInform } 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 *SharesItemJobsItemTasksItemDefinitionRequestBuilder) WithUrl(rawUrl string)(*SharesItemJobsItemTasksItemDefinitionRequestBuilder) { + return NewSharesItemJobsItemTasksItemDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_jobs_item_tasks_item_trigger_request_builder.go b/print/shares_item_jobs_item_tasks_item_trigger_request_builder.go index d70f748b156..284fc852558 100644 --- a/print/shares_item_jobs_item_tasks_item_trigger_request_builder.go +++ b/print/shares_item_jobs_item_tasks_item_trigger_request_builder.go @@ -75,3 +75,7 @@ func (m *SharesItemJobsItemTasksItemTriggerRequestBuilder) ToGetRequestInformati } 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 *SharesItemJobsItemTasksItemTriggerRequestBuilder) WithUrl(rawUrl string)(*SharesItemJobsItemTasksItemTriggerRequestBuilder) { + return NewSharesItemJobsItemTasksItemTriggerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_jobs_item_tasks_print_task_item_request_builder.go b/print/shares_item_jobs_item_tasks_print_task_item_request_builder.go index c52b438c18a..0e69884ecff 100644 --- a/print/shares_item_jobs_item_tasks_print_task_item_request_builder.go +++ b/print/shares_item_jobs_item_tasks_print_task_item_request_builder.go @@ -161,3 +161,7 @@ func (m *SharesItemJobsItemTasksPrintTaskItemRequestBuilder) ToPatchRequestInfor func (m *SharesItemJobsItemTasksPrintTaskItemRequestBuilder) Trigger()(*SharesItemJobsItemTasksItemTriggerRequestBuilder) { return NewSharesItemJobsItemTasksItemTriggerRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *SharesItemJobsItemTasksPrintTaskItemRequestBuilder) WithUrl(rawUrl string)(*SharesItemJobsItemTasksPrintTaskItemRequestBuilder) { + return NewSharesItemJobsItemTasksPrintTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_jobs_item_tasks_request_builder.go b/print/shares_item_jobs_item_tasks_request_builder.go index 4f0c0b63653..a0821a7f936 100644 --- a/print/shares_item_jobs_item_tasks_request_builder.go +++ b/print/shares_item_jobs_item_tasks_request_builder.go @@ -46,8 +46,8 @@ type SharesItemJobsItemTasksRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintTaskIdString provides operations to manage the tasks property of the microsoft.graph.printJob entity. -func (m *SharesItemJobsItemTasksRequestBuilder) ByPrintTaskIdString(printTaskId string)(*SharesItemJobsItemTasksPrintTaskItemRequestBuilder) { +// ByPrintTaskId provides operations to manage the tasks property of the microsoft.graph.printJob entity. +func (m *SharesItemJobsItemTasksRequestBuilder) ByPrintTaskId(printTaskId string)(*SharesItemJobsItemTasksPrintTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SharesItemJobsItemTasksRequestBuilder) ToPostRequestInformation(ctx con } 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 *SharesItemJobsItemTasksRequestBuilder) WithUrl(rawUrl string)(*SharesItemJobsItemTasksRequestBuilder) { + return NewSharesItemJobsItemTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_jobs_print_job_item_request_builder.go b/print/shares_item_jobs_print_job_item_request_builder.go index c3bf69c76a6..0321ea2b54f 100644 --- a/print/shares_item_jobs_print_job_item_request_builder.go +++ b/print/shares_item_jobs_print_job_item_request_builder.go @@ -185,3 +185,7 @@ func (m *SharesItemJobsPrintJobItemRequestBuilder) ToPatchRequestInformation(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 *SharesItemJobsPrintJobItemRequestBuilder) WithUrl(rawUrl string)(*SharesItemJobsPrintJobItemRequestBuilder) { + return NewSharesItemJobsPrintJobItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_jobs_request_builder.go b/print/shares_item_jobs_request_builder.go index 49352a3f863..aa7d94abadf 100644 --- a/print/shares_item_jobs_request_builder.go +++ b/print/shares_item_jobs_request_builder.go @@ -46,8 +46,8 @@ type SharesItemJobsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintJobIdString provides operations to manage the jobs property of the microsoft.graph.printerBase entity. -func (m *SharesItemJobsRequestBuilder) ByPrintJobIdString(printJobId string)(*SharesItemJobsPrintJobItemRequestBuilder) { +// ByPrintJobId provides operations to manage the jobs property of the microsoft.graph.printerBase entity. +func (m *SharesItemJobsRequestBuilder) ByPrintJobId(printJobId string)(*SharesItemJobsPrintJobItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SharesItemJobsRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *SharesItemJobsRequestBuilder) WithUrl(rawUrl string)(*SharesItemJobsRequestBuilder) { + return NewSharesItemJobsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_item_printer_request_builder.go b/print/shares_item_printer_request_builder.go index c479cb7af6a..b09793886d1 100644 --- a/print/shares_item_printer_request_builder.go +++ b/print/shares_item_printer_request_builder.go @@ -75,3 +75,7 @@ func (m *SharesItemPrinterRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *SharesItemPrinterRequestBuilder) WithUrl(rawUrl string)(*SharesItemPrinterRequestBuilder) { + return NewSharesItemPrinterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_printer_share_item_request_builder.go b/print/shares_printer_share_item_request_builder.go index 0e774f615c0..db4e32e08cb 100644 --- a/print/shares_printer_share_item_request_builder.go +++ b/print/shares_printer_share_item_request_builder.go @@ -62,7 +62,7 @@ func NewSharesPrinterShareItemRequestBuilder(rawUrl string, requestAdapter i2ae4 urlParams["request-raw-url"] = rawUrl return NewSharesPrinterShareItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a printer share (unshare the associated printer). This action cannot be undone. If the printer is shared again in the future, any Windows users who had previously installed the printer will need to discover and reinstall it. +// Delete delete a printer share (unshare the associated printer). This action can't be undone. If the printer is shared again in the future, any Windows users who had previously installed the printer needs to discover and reinstall it. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/printershare-delete?view=graph-rest-1.0 @@ -133,7 +133,7 @@ func (m *SharesPrinterShareItemRequestBuilder) Patch(ctx context.Context, body i func (m *SharesPrinterShareItemRequestBuilder) Printer()(*SharesItemPrinterRequestBuilder) { return NewSharesItemPrinterRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a printer share (unshare the associated printer). This action cannot be undone. If the printer is shared again in the future, any Windows users who had previously installed the printer will need to discover and reinstall it. +// ToDeleteRequestInformation delete a printer share (unshare the associated printer). This action can't be undone. If the printer is shared again in the future, any Windows users who had previously installed the printer needs to discover and reinstall it. func (m *SharesPrinterShareItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *SharesPrinterShareItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -178,3 +178,7 @@ func (m *SharesPrinterShareItemRequestBuilder) ToPatchRequestInformation(ctx con } 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 *SharesPrinterShareItemRequestBuilder) WithUrl(rawUrl string)(*SharesPrinterShareItemRequestBuilder) { + return NewSharesPrinterShareItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/shares_request_builder.go b/print/shares_request_builder.go index d0371fb1091..6c1374cea3a 100644 --- a/print/shares_request_builder.go +++ b/print/shares_request_builder.go @@ -46,8 +46,8 @@ type SharesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrinterShareIdString provides operations to manage the shares property of the microsoft.graph.print entity. -func (m *SharesRequestBuilder) ByPrinterShareIdString(printerShareId string)(*SharesPrinterShareItemRequestBuilder) { +// ByPrinterShareId provides operations to manage the shares property of the microsoft.graph.print entity. +func (m *SharesRequestBuilder) ByPrinterShareId(printerShareId string)(*SharesPrinterShareItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *SharesRequestBuilder) ToPostRequestInformation(ctx context.Context, bod } 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 *SharesRequestBuilder) WithUrl(rawUrl string)(*SharesRequestBuilder) { + return NewSharesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/task_definitions_count_request_builder.go b/print/task_definitions_count_request_builder.go index 0183b0f794d..444881b5112 100644 --- a/print/task_definitions_count_request_builder.go +++ b/print/task_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TaskDefinitionsCountRequestBuilder) ToGetRequestInformation(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 *TaskDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*TaskDefinitionsCountRequestBuilder) { + return NewTaskDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/task_definitions_item_tasks_count_request_builder.go b/print/task_definitions_item_tasks_count_request_builder.go index 27970ef77ed..603c7555397 100644 --- a/print/task_definitions_item_tasks_count_request_builder.go +++ b/print/task_definitions_item_tasks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TaskDefinitionsItemTasksCountRequestBuilder) ToGetRequestInformation(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 *TaskDefinitionsItemTasksCountRequestBuilder) WithUrl(rawUrl string)(*TaskDefinitionsItemTasksCountRequestBuilder) { + return NewTaskDefinitionsItemTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/task_definitions_item_tasks_item_definition_request_builder.go b/print/task_definitions_item_tasks_item_definition_request_builder.go index 7e44945b760..68c6b3cf734 100644 --- a/print/task_definitions_item_tasks_item_definition_request_builder.go +++ b/print/task_definitions_item_tasks_item_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *TaskDefinitionsItemTasksItemDefinitionRequestBuilder) ToGetRequestInfor } 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 *TaskDefinitionsItemTasksItemDefinitionRequestBuilder) WithUrl(rawUrl string)(*TaskDefinitionsItemTasksItemDefinitionRequestBuilder) { + return NewTaskDefinitionsItemTasksItemDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/task_definitions_item_tasks_item_trigger_request_builder.go b/print/task_definitions_item_tasks_item_trigger_request_builder.go index 292f16bedd1..e2953a72d6b 100644 --- a/print/task_definitions_item_tasks_item_trigger_request_builder.go +++ b/print/task_definitions_item_tasks_item_trigger_request_builder.go @@ -75,3 +75,7 @@ func (m *TaskDefinitionsItemTasksItemTriggerRequestBuilder) ToGetRequestInformat } 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 *TaskDefinitionsItemTasksItemTriggerRequestBuilder) WithUrl(rawUrl string)(*TaskDefinitionsItemTasksItemTriggerRequestBuilder) { + return NewTaskDefinitionsItemTasksItemTriggerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/task_definitions_item_tasks_print_task_item_request_builder.go b/print/task_definitions_item_tasks_print_task_item_request_builder.go index 54136c22a81..9a04cc11a19 100644 --- a/print/task_definitions_item_tasks_print_task_item_request_builder.go +++ b/print/task_definitions_item_tasks_print_task_item_request_builder.go @@ -167,3 +167,7 @@ func (m *TaskDefinitionsItemTasksPrintTaskItemRequestBuilder) ToPatchRequestInfo func (m *TaskDefinitionsItemTasksPrintTaskItemRequestBuilder) Trigger()(*TaskDefinitionsItemTasksItemTriggerRequestBuilder) { return NewTaskDefinitionsItemTasksItemTriggerRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *TaskDefinitionsItemTasksPrintTaskItemRequestBuilder) WithUrl(rawUrl string)(*TaskDefinitionsItemTasksPrintTaskItemRequestBuilder) { + return NewTaskDefinitionsItemTasksPrintTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/task_definitions_item_tasks_request_builder.go b/print/task_definitions_item_tasks_request_builder.go index 07e510e2343..333f20e1639 100644 --- a/print/task_definitions_item_tasks_request_builder.go +++ b/print/task_definitions_item_tasks_request_builder.go @@ -46,8 +46,8 @@ type TaskDefinitionsItemTasksRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintTaskIdString provides operations to manage the tasks property of the microsoft.graph.printTaskDefinition entity. -func (m *TaskDefinitionsItemTasksRequestBuilder) ByPrintTaskIdString(printTaskId string)(*TaskDefinitionsItemTasksPrintTaskItemRequestBuilder) { +// ByPrintTaskId provides operations to manage the tasks property of the microsoft.graph.printTaskDefinition entity. +func (m *TaskDefinitionsItemTasksRequestBuilder) ByPrintTaskId(printTaskId string)(*TaskDefinitionsItemTasksPrintTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *TaskDefinitionsItemTasksRequestBuilder) ToPostRequestInformation(ctx co } 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 *TaskDefinitionsItemTasksRequestBuilder) WithUrl(rawUrl string)(*TaskDefinitionsItemTasksRequestBuilder) { + return NewTaskDefinitionsItemTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/task_definitions_print_task_definition_item_request_builder.go b/print/task_definitions_print_task_definition_item_request_builder.go index a3008ba2d66..d738aa6e213 100644 --- a/print/task_definitions_print_task_definition_item_request_builder.go +++ b/print/task_definitions_print_task_definition_item_request_builder.go @@ -166,3 +166,7 @@ func (m *TaskDefinitionsPrintTaskDefinitionItemRequestBuilder) ToPatchRequestInf } 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 *TaskDefinitionsPrintTaskDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*TaskDefinitionsPrintTaskDefinitionItemRequestBuilder) { + return NewTaskDefinitionsPrintTaskDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/print/task_definitions_request_builder.go b/print/task_definitions_request_builder.go index dccb5d4584a..3024c33c813 100644 --- a/print/task_definitions_request_builder.go +++ b/print/task_definitions_request_builder.go @@ -46,8 +46,8 @@ type TaskDefinitionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintTaskDefinitionIdString provides operations to manage the taskDefinitions property of the microsoft.graph.print entity. -func (m *TaskDefinitionsRequestBuilder) ByPrintTaskDefinitionIdString(printTaskDefinitionId string)(*TaskDefinitionsPrintTaskDefinitionItemRequestBuilder) { +// ByPrintTaskDefinitionId provides operations to manage the taskDefinitions property of the microsoft.graph.print entity. +func (m *TaskDefinitionsRequestBuilder) ByPrintTaskDefinitionId(printTaskDefinitionId string)(*TaskDefinitionsPrintTaskDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *TaskDefinitionsRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *TaskDefinitionsRequestBuilder) WithUrl(rawUrl string)(*TaskDefinitionsRequestBuilder) { + return NewTaskDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privacy/privacy_request_builder.go b/privacy/privacy_request_builder.go index c3cfa56db70..f6f5587ac53 100644 --- a/privacy/privacy_request_builder.go +++ b/privacy/privacy_request_builder.go @@ -122,3 +122,7 @@ func (m *PrivacyRequestBuilder) ToPatchRequestInformation(ctx context.Context, b } 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 *PrivacyRequestBuilder) WithUrl(rawUrl string)(*PrivacyRequestBuilder) { + return NewPrivacyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privacy/subject_rights_requests_count_request_builder.go b/privacy/subject_rights_requests_count_request_builder.go index c20f209b00a..3f160284748 100644 --- a/privacy/subject_rights_requests_count_request_builder.go +++ b/privacy/subject_rights_requests_count_request_builder.go @@ -76,3 +76,8 @@ func (m *SubjectRightsRequestsCountRequestBuilder) ToGetRequestInformation(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. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 +func (m *SubjectRightsRequestsCountRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsCountRequestBuilder) { + return NewSubjectRightsRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privacy/subject_rights_requests_item_approvers_count_request_builder.go b/privacy/subject_rights_requests_item_approvers_count_request_builder.go index 64dc40e3ffb..a8b2fa7f56c 100644 --- a/privacy/subject_rights_requests_item_approvers_count_request_builder.go +++ b/privacy/subject_rights_requests_item_approvers_count_request_builder.go @@ -76,3 +76,8 @@ func (m *SubjectRightsRequestsItemApproversCountRequestBuilder) ToGetRequestInfo } 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. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 +func (m *SubjectRightsRequestsItemApproversCountRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemApproversCountRequestBuilder) { + return NewSubjectRightsRequestsItemApproversCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privacy/subject_rights_requests_item_approvers_item_mailbox_settings_request_builder.go b/privacy/subject_rights_requests_item_approvers_item_mailbox_settings_request_builder.go index 3241f057901..3401b12b4ee 100644 --- a/privacy/subject_rights_requests_item_approvers_item_mailbox_settings_request_builder.go +++ b/privacy/subject_rights_requests_item_approvers_item_mailbox_settings_request_builder.go @@ -122,3 +122,8 @@ func (m *SubjectRightsRequestsItemApproversItemMailboxSettingsRequestBuilder) To } 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. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 +func (m *SubjectRightsRequestsItemApproversItemMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemApproversItemMailboxSettingsRequestBuilder) { + return NewSubjectRightsRequestsItemApproversItemMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privacy/subject_rights_requests_item_approvers_request_builder.go b/privacy/subject_rights_requests_item_approvers_request_builder.go index a3feead0473..dccfe7f5031 100644 --- a/privacy/subject_rights_requests_item_approvers_request_builder.go +++ b/privacy/subject_rights_requests_item_approvers_request_builder.go @@ -39,9 +39,9 @@ type SubjectRightsRequestsItemApproversRequestBuilderGetRequestConfiguration str // Request query parameters QueryParameters *SubjectRightsRequestsItemApproversRequestBuilderGetQueryParameters } -// ByUserIdString provides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity. +// ByUserId provides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity. // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 -func (m *SubjectRightsRequestsItemApproversRequestBuilder) ByUserIdString(userId string)(*SubjectRightsRequestsItemApproversUserItemRequestBuilder) { +func (m *SubjectRightsRequestsItemApproversRequestBuilder) ByUserId(userId string)(*SubjectRightsRequestsItemApproversUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,8 @@ func (m *SubjectRightsRequestsItemApproversRequestBuilder) ToGetRequestInformati } 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. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 +func (m *SubjectRightsRequestsItemApproversRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemApproversRequestBuilder) { + return NewSubjectRightsRequestsItemApproversRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privacy/subject_rights_requests_item_approvers_user_item_request_builder.go b/privacy/subject_rights_requests_item_approvers_user_item_request_builder.go index bcd00d21e32..2d1884e469f 100644 --- a/privacy/subject_rights_requests_item_approvers_user_item_request_builder.go +++ b/privacy/subject_rights_requests_item_approvers_user_item_request_builder.go @@ -81,3 +81,8 @@ func (m *SubjectRightsRequestsItemApproversUserItemRequestBuilder) ToGetRequestI } 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. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 +func (m *SubjectRightsRequestsItemApproversUserItemRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemApproversUserItemRequestBuilder) { + return NewSubjectRightsRequestsItemApproversUserItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privacy/subject_rights_requests_item_collaborators_count_request_builder.go b/privacy/subject_rights_requests_item_collaborators_count_request_builder.go index dabc204a570..a166e43bbb6 100644 --- a/privacy/subject_rights_requests_item_collaborators_count_request_builder.go +++ b/privacy/subject_rights_requests_item_collaborators_count_request_builder.go @@ -76,3 +76,8 @@ func (m *SubjectRightsRequestsItemCollaboratorsCountRequestBuilder) ToGetRequest } 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. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 +func (m *SubjectRightsRequestsItemCollaboratorsCountRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemCollaboratorsCountRequestBuilder) { + return NewSubjectRightsRequestsItemCollaboratorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privacy/subject_rights_requests_item_collaborators_item_mailbox_settings_request_builder.go b/privacy/subject_rights_requests_item_collaborators_item_mailbox_settings_request_builder.go index 4c1bd226b92..44deeabe877 100644 --- a/privacy/subject_rights_requests_item_collaborators_item_mailbox_settings_request_builder.go +++ b/privacy/subject_rights_requests_item_collaborators_item_mailbox_settings_request_builder.go @@ -122,3 +122,8 @@ func (m *SubjectRightsRequestsItemCollaboratorsItemMailboxSettingsRequestBuilder } 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. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 +func (m *SubjectRightsRequestsItemCollaboratorsItemMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemCollaboratorsItemMailboxSettingsRequestBuilder) { + return NewSubjectRightsRequestsItemCollaboratorsItemMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privacy/subject_rights_requests_item_collaborators_request_builder.go b/privacy/subject_rights_requests_item_collaborators_request_builder.go index cdff651b4fb..1389f8a349b 100644 --- a/privacy/subject_rights_requests_item_collaborators_request_builder.go +++ b/privacy/subject_rights_requests_item_collaborators_request_builder.go @@ -39,9 +39,9 @@ type SubjectRightsRequestsItemCollaboratorsRequestBuilderGetRequestConfiguration // Request query parameters QueryParameters *SubjectRightsRequestsItemCollaboratorsRequestBuilderGetQueryParameters } -// ByUserIdString provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity. +// ByUserId provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity. // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 -func (m *SubjectRightsRequestsItemCollaboratorsRequestBuilder) ByUserIdString(userId string)(*SubjectRightsRequestsItemCollaboratorsUserItemRequestBuilder) { +func (m *SubjectRightsRequestsItemCollaboratorsRequestBuilder) ByUserId(userId string)(*SubjectRightsRequestsItemCollaboratorsUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,8 @@ func (m *SubjectRightsRequestsItemCollaboratorsRequestBuilder) ToGetRequestInfor } 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. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 +func (m *SubjectRightsRequestsItemCollaboratorsRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemCollaboratorsRequestBuilder) { + return NewSubjectRightsRequestsItemCollaboratorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privacy/subject_rights_requests_item_collaborators_user_item_request_builder.go b/privacy/subject_rights_requests_item_collaborators_user_item_request_builder.go index ecaf468c307..f92a5898b51 100644 --- a/privacy/subject_rights_requests_item_collaborators_user_item_request_builder.go +++ b/privacy/subject_rights_requests_item_collaborators_user_item_request_builder.go @@ -81,3 +81,8 @@ func (m *SubjectRightsRequestsItemCollaboratorsUserItemRequestBuilder) ToGetRequ } 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. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 +func (m *SubjectRightsRequestsItemCollaboratorsUserItemRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemCollaboratorsUserItemRequestBuilder) { + return NewSubjectRightsRequestsItemCollaboratorsUserItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privacy/subject_rights_requests_item_get_final_attachment_request_builder.go b/privacy/subject_rights_requests_item_get_final_attachment_request_builder.go index 03cc78a80d2..b349abf6c38 100644 --- a/privacy/subject_rights_requests_item_get_final_attachment_request_builder.go +++ b/privacy/subject_rights_requests_item_get_final_attachment_request_builder.go @@ -63,3 +63,8 @@ func (m *SubjectRightsRequestsItemGetFinalAttachmentRequestBuilder) ToGetRequest } 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. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 +func (m *SubjectRightsRequestsItemGetFinalAttachmentRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemGetFinalAttachmentRequestBuilder) { + return NewSubjectRightsRequestsItemGetFinalAttachmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privacy/subject_rights_requests_item_get_final_report_request_builder.go b/privacy/subject_rights_requests_item_get_final_report_request_builder.go index 5aaeaa71e12..4c5e0b9ad03 100644 --- a/privacy/subject_rights_requests_item_get_final_report_request_builder.go +++ b/privacy/subject_rights_requests_item_get_final_report_request_builder.go @@ -63,3 +63,8 @@ func (m *SubjectRightsRequestsItemGetFinalReportRequestBuilder) ToGetRequestInfo } 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. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 +func (m *SubjectRightsRequestsItemGetFinalReportRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemGetFinalReportRequestBuilder) { + return NewSubjectRightsRequestsItemGetFinalReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privacy/subject_rights_requests_item_notes_authored_note_item_request_builder.go b/privacy/subject_rights_requests_item_notes_authored_note_item_request_builder.go index 6ff6f5b5c60..2dd37ebc711 100644 --- a/privacy/subject_rights_requests_item_notes_authored_note_item_request_builder.go +++ b/privacy/subject_rights_requests_item_notes_authored_note_item_request_builder.go @@ -159,3 +159,8 @@ func (m *SubjectRightsRequestsItemNotesAuthoredNoteItemRequestBuilder) ToPatchRe } 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. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 +func (m *SubjectRightsRequestsItemNotesAuthoredNoteItemRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemNotesAuthoredNoteItemRequestBuilder) { + return NewSubjectRightsRequestsItemNotesAuthoredNoteItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privacy/subject_rights_requests_item_notes_count_request_builder.go b/privacy/subject_rights_requests_item_notes_count_request_builder.go index aaeeb3f388d..04f1cf41dd4 100644 --- a/privacy/subject_rights_requests_item_notes_count_request_builder.go +++ b/privacy/subject_rights_requests_item_notes_count_request_builder.go @@ -76,3 +76,8 @@ func (m *SubjectRightsRequestsItemNotesCountRequestBuilder) ToGetRequestInformat } 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. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 +func (m *SubjectRightsRequestsItemNotesCountRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemNotesCountRequestBuilder) { + return NewSubjectRightsRequestsItemNotesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privacy/subject_rights_requests_item_notes_request_builder.go b/privacy/subject_rights_requests_item_notes_request_builder.go index 5ccc82a3f33..0ed7f903c90 100644 --- a/privacy/subject_rights_requests_item_notes_request_builder.go +++ b/privacy/subject_rights_requests_item_notes_request_builder.go @@ -46,9 +46,9 @@ type SubjectRightsRequestsItemNotesRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAuthoredNoteIdString provides operations to manage the notes property of the microsoft.graph.subjectRightsRequest entity. +// ByAuthoredNoteId provides operations to manage the notes property of the microsoft.graph.subjectRightsRequest entity. // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 -func (m *SubjectRightsRequestsItemNotesRequestBuilder) ByAuthoredNoteIdString(authoredNoteId string)(*SubjectRightsRequestsItemNotesAuthoredNoteItemRequestBuilder) { +func (m *SubjectRightsRequestsItemNotesRequestBuilder) ByAuthoredNoteId(authoredNoteId string)(*SubjectRightsRequestsItemNotesAuthoredNoteItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,8 @@ func (m *SubjectRightsRequestsItemNotesRequestBuilder) 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. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 +func (m *SubjectRightsRequestsItemNotesRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemNotesRequestBuilder) { + return NewSubjectRightsRequestsItemNotesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privacy/subject_rights_requests_item_team_request_builder.go b/privacy/subject_rights_requests_item_team_request_builder.go index 7dcac934a7a..e5e3cf20dc3 100644 --- a/privacy/subject_rights_requests_item_team_request_builder.go +++ b/privacy/subject_rights_requests_item_team_request_builder.go @@ -77,3 +77,8 @@ func (m *SubjectRightsRequestsItemTeamRequestBuilder) ToGetRequestInformation(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. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 +func (m *SubjectRightsRequestsItemTeamRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemTeamRequestBuilder) { + return NewSubjectRightsRequestsItemTeamRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privacy/subject_rights_requests_request_builder.go b/privacy/subject_rights_requests_request_builder.go index 14ff6b1b4ad..2bd4160ac8b 100644 --- a/privacy/subject_rights_requests_request_builder.go +++ b/privacy/subject_rights_requests_request_builder.go @@ -46,9 +46,9 @@ type SubjectRightsRequestsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySubjectRightsRequestIdString provides operations to manage the subjectRightsRequests property of the microsoft.graph.privacy entity. +// BySubjectRightsRequestId provides operations to manage the subjectRightsRequests property of the microsoft.graph.privacy entity. // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 -func (m *SubjectRightsRequestsRequestBuilder) BySubjectRightsRequestIdString(subjectRightsRequestId string)(*SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) { +func (m *SubjectRightsRequestsRequestBuilder) BySubjectRightsRequestId(subjectRightsRequestId string)(*SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,8 @@ func (m *SubjectRightsRequestsRequestBuilder) 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. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 +func (m *SubjectRightsRequestsRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsRequestBuilder) { + return NewSubjectRightsRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privacy/subject_rights_requests_subject_rights_request_item_request_builder.go b/privacy/subject_rights_requests_subject_rights_request_item_request_builder.go index d70c1719067..ddb29dcc275 100644 --- a/privacy/subject_rights_requests_subject_rights_request_item_request_builder.go +++ b/privacy/subject_rights_requests_subject_rights_request_item_request_builder.go @@ -189,3 +189,8 @@ func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) ToPatchReq } 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. +// Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 +func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) { + return NewSubjectRightsRequestsSubjectRightsRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/count_request_builder.go b/privilegedaccess/count_request_builder.go index 1f560ed3e13..be29f0c44eb 100644 --- a/privilegedaccess/count_request_builder.go +++ b/privilegedaccess/count_request_builder.go @@ -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); +} diff --git a/privilegedaccess/item_resources_count_request_builder.go b/privilegedaccess/item_resources_count_request_builder.go index fad94ed6a36..edc1b329d0b 100644 --- a/privilegedaccess/item_resources_count_request_builder.go +++ b/privilegedaccess/item_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemResourcesCountRequestBuilder) 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 *ItemResourcesCountRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesCountRequestBuilder) { + return NewItemResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_governance_resource_item_request_builder.go b/privilegedaccess/item_resources_governance_resource_item_request_builder.go index 47a0b794b04..9982cf0141e 100644 --- a/privilegedaccess/item_resources_governance_resource_item_request_builder.go +++ b/privilegedaccess/item_resources_governance_resource_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemResourcesGovernanceResourceItemRequestBuilder) ToPatchRequestInform } 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 *ItemResourcesGovernanceResourceItemRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesGovernanceResourceItemRequestBuilder) { + return NewItemResourcesGovernanceResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_parent_request_builder.go b/privilegedaccess/item_resources_item_parent_request_builder.go index 1ba89f9022d..42e7f49b1ec 100644 --- a/privilegedaccess/item_resources_item_parent_request_builder.go +++ b/privilegedaccess/item_resources_item_parent_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemResourcesItemParentRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemResourcesItemParentRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemParentRequestBuilder) { + return NewItemResourcesItemParentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_assignment_requests_count_request_builder.go b/privilegedaccess/item_resources_item_role_assignment_requests_count_request_builder.go index 84d75bdf78f..eeda662cb59 100644 --- a/privilegedaccess/item_resources_item_role_assignment_requests_count_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignment_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsCountRequestBuilder) ToGetReques } 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 *ItemResourcesItemRoleAssignmentRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleAssignmentRequestsCountRequestBuilder) { + return NewItemResourcesItemRoleAssignmentRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go b/privilegedaccess/item_resources_item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go index f2e426d9853..122cb0f125e 100644 --- a/privilegedaccess/item_resources_item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestI func (m *ItemResourcesItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBuilder) UpdateRequest()(*ItemResourcesItemRoleAssignmentRequestsItemUpdateRequestRequestBuilder) { return NewItemResourcesItemRoleAssignmentRequestsItemUpdateRequestRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemResourcesItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBuilder) { + return NewItemResourcesItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_assignment_requests_item_cancel_request_builder.go b/privilegedaccess/item_resources_item_role_assignment_requests_item_cancel_request_builder.go index 7fa55a3ef58..d1c16c57b64 100644 --- a/privilegedaccess/item_resources_item_role_assignment_requests_item_cancel_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignment_requests_item_cancel_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsItemCancelRequestBuilder) ToPost } 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 *ItemResourcesItemRoleAssignmentRequestsItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleAssignmentRequestsItemCancelRequestBuilder) { + return NewItemResourcesItemRoleAssignmentRequestsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_assignment_requests_item_resource_request_builder.go b/privilegedaccess/item_resources_item_role_assignment_requests_item_resource_request_builder.go index e99f97547f6..7ba3144337f 100644 --- a/privilegedaccess/item_resources_item_role_assignment_requests_item_resource_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignment_requests_item_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsItemResourceRequestBuilder) ToGe } 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 *ItemResourcesItemRoleAssignmentRequestsItemResourceRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleAssignmentRequestsItemResourceRequestBuilder) { + return NewItemResourcesItemRoleAssignmentRequestsItemResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_request_builder.go b/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_request_builder.go index 291682ece6e..38c15728c6e 100644 --- a/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsItemRoleDefinitionRequestBuilder } 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 *ItemResourcesItemRoleAssignmentRequestsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleAssignmentRequestsItemRoleDefinitionRequestBuilder) { + return NewItemResourcesItemRoleAssignmentRequestsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_resource_request_builder.go b/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_resource_request_builder.go index 8a8d87765a2..d29e9fa76b9 100644 --- a/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_resource_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsItemRoleDefinitionResourceReques } 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 *ItemResourcesItemRoleAssignmentRequestsItemRoleDefinitionResourceRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleAssignmentRequestsItemRoleDefinitionResourceRequestBuilder) { + return NewItemResourcesItemRoleAssignmentRequestsItemRoleDefinitionResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_role_setting_request_builder.go b/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_role_setting_request_builder.go index ab57a314a4a..03370b86425 100644 --- a/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_role_setting_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_role_setting_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsItemRoleDefinitionRoleSettingReq } 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 *ItemResourcesItemRoleAssignmentRequestsItemRoleDefinitionRoleSettingRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleAssignmentRequestsItemRoleDefinitionRoleSettingRequestBuilder) { + return NewItemResourcesItemRoleAssignmentRequestsItemRoleDefinitionRoleSettingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_assignment_requests_item_subject_request_builder.go b/privilegedaccess/item_resources_item_role_assignment_requests_item_subject_request_builder.go index 02f2e3959c7..bfa5c1160e4 100644 --- a/privilegedaccess/item_resources_item_role_assignment_requests_item_subject_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignment_requests_item_subject_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsItemSubjectRequestBuilder) 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 *ItemResourcesItemRoleAssignmentRequestsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleAssignmentRequestsItemSubjectRequestBuilder) { + return NewItemResourcesItemRoleAssignmentRequestsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_assignment_requests_item_update_request_request_builder.go b/privilegedaccess/item_resources_item_role_assignment_requests_item_update_request_request_builder.go index c202962baae..61c7ad2de25 100644 --- a/privilegedaccess/item_resources_item_role_assignment_requests_item_update_request_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignment_requests_item_update_request_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsItemUpdateRequestRequestBuilder) } 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 *ItemResourcesItemRoleAssignmentRequestsItemUpdateRequestRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleAssignmentRequestsItemUpdateRequestRequestBuilder) { + return NewItemResourcesItemRoleAssignmentRequestsItemUpdateRequestRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_assignment_requests_request_builder.go b/privilegedaccess/item_resources_item_role_assignment_requests_request_builder.go index 827eb98ed88..bf47c355afa 100644 --- a/privilegedaccess/item_resources_item_role_assignment_requests_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignment_requests_request_builder.go @@ -46,8 +46,8 @@ type ItemResourcesItemRoleAssignmentRequestsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceRoleAssignmentRequestIdString provides operations to manage the roleAssignmentRequests property of the microsoft.graph.governanceResource entity. -func (m *ItemResourcesItemRoleAssignmentRequestsRequestBuilder) ByGovernanceRoleAssignmentRequestIdString(governanceRoleAssignmentRequestId string)(*ItemResourcesItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBuilder) { +// ByGovernanceRoleAssignmentRequestId provides operations to manage the roleAssignmentRequests property of the microsoft.graph.governanceResource entity. +func (m *ItemResourcesItemRoleAssignmentRequestsRequestBuilder) ByGovernanceRoleAssignmentRequestId(governanceRoleAssignmentRequestId string)(*ItemResourcesItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsRequestBuilder) ToPostRequestInf } 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 *ItemResourcesItemRoleAssignmentRequestsRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleAssignmentRequestsRequestBuilder) { + return NewItemResourcesItemRoleAssignmentRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_assignments_count_request_builder.go b/privilegedaccess/item_resources_item_role_assignments_count_request_builder.go index f3b1abd72e1..cd1bfff646b 100644 --- a/privilegedaccess/item_resources_item_role_assignments_count_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemResourcesItemRoleAssignmentsCountRequestBuilder) ToGetRequestInform } 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 *ItemResourcesItemRoleAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleAssignmentsCountRequestBuilder) { + return NewItemResourcesItemRoleAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_assignments_export_request_builder.go b/privilegedaccess/item_resources_item_role_assignments_export_request_builder.go index 48f6aaa41ca..0be9fe4687e 100644 --- a/privilegedaccess/item_resources_item_role_assignments_export_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignments_export_request_builder.go @@ -80,3 +80,7 @@ func (m *ItemResourcesItemRoleAssignmentsExportRequestBuilder) ToGetRequestInfor } 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 *ItemResourcesItemRoleAssignmentsExportRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleAssignmentsExportRequestBuilder) { + return NewItemResourcesItemRoleAssignmentsExportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_assignments_governance_role_assignment_item_request_builder.go b/privilegedaccess/item_resources_item_role_assignments_governance_role_assignment_item_request_builder.go index 5286762136e..29af7d91770 100644 --- a/privilegedaccess/item_resources_item_role_assignments_governance_role_assignment_item_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignments_governance_role_assignment_item_request_builder.go @@ -169,3 +169,7 @@ func (m *ItemResourcesItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuil } 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 *ItemResourcesItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder) { + return NewItemResourcesItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_assignments_item_linked_eligible_role_assignment_request_builder.go b/privilegedaccess/item_resources_item_role_assignments_item_linked_eligible_role_assignment_request_builder.go index 46f2e2a2f5f..ae3d4d24ea6 100644 --- a/privilegedaccess/item_resources_item_role_assignments_item_linked_eligible_role_assignment_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignments_item_linked_eligible_role_assignment_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemResourcesItemRoleAssignmentsItemLinkedEligibleRoleAssignmentRequest } 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 *ItemResourcesItemRoleAssignmentsItemLinkedEligibleRoleAssignmentRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleAssignmentsItemLinkedEligibleRoleAssignmentRequestBuilder) { + return NewItemResourcesItemRoleAssignmentsItemLinkedEligibleRoleAssignmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_assignments_item_resource_request_builder.go b/privilegedaccess/item_resources_item_role_assignments_item_resource_request_builder.go index 6e4ace42221..699071c1f13 100644 --- a/privilegedaccess/item_resources_item_role_assignments_item_resource_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignments_item_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemResourcesItemRoleAssignmentsItemResourceRequestBuilder) ToGetReques } 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 *ItemResourcesItemRoleAssignmentsItemResourceRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleAssignmentsItemResourceRequestBuilder) { + return NewItemResourcesItemRoleAssignmentsItemResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_assignments_item_role_definition_request_builder.go b/privilegedaccess/item_resources_item_role_assignments_item_role_definition_request_builder.go index dbd8a7ebe61..f9bec351582 100644 --- a/privilegedaccess/item_resources_item_role_assignments_item_role_definition_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignments_item_role_definition_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemResourcesItemRoleAssignmentsItemRoleDefinitionRequestBuilder) 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 *ItemResourcesItemRoleAssignmentsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleAssignmentsItemRoleDefinitionRequestBuilder) { + return NewItemResourcesItemRoleAssignmentsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_assignments_item_role_definition_resource_request_builder.go b/privilegedaccess/item_resources_item_role_assignments_item_role_definition_resource_request_builder.go index 16b634d48c3..d18cb164bd9 100644 --- a/privilegedaccess/item_resources_item_role_assignments_item_role_definition_resource_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignments_item_role_definition_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemResourcesItemRoleAssignmentsItemRoleDefinitionResourceRequestBuilde } 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 *ItemResourcesItemRoleAssignmentsItemRoleDefinitionResourceRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleAssignmentsItemRoleDefinitionResourceRequestBuilder) { + return NewItemResourcesItemRoleAssignmentsItemRoleDefinitionResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_assignments_item_role_definition_role_setting_request_builder.go b/privilegedaccess/item_resources_item_role_assignments_item_role_definition_role_setting_request_builder.go index 9ad16f1619d..11fa8426955 100644 --- a/privilegedaccess/item_resources_item_role_assignments_item_role_definition_role_setting_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignments_item_role_definition_role_setting_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemResourcesItemRoleAssignmentsItemRoleDefinitionRoleSettingRequestBui } 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 *ItemResourcesItemRoleAssignmentsItemRoleDefinitionRoleSettingRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleAssignmentsItemRoleDefinitionRoleSettingRequestBuilder) { + return NewItemResourcesItemRoleAssignmentsItemRoleDefinitionRoleSettingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_assignments_item_subject_request_builder.go b/privilegedaccess/item_resources_item_role_assignments_item_subject_request_builder.go index ff087db8f2f..67c28c16dfb 100644 --- a/privilegedaccess/item_resources_item_role_assignments_item_subject_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignments_item_subject_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemResourcesItemRoleAssignmentsItemSubjectRequestBuilder) ToPatchReque } 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 *ItemResourcesItemRoleAssignmentsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleAssignmentsItemSubjectRequestBuilder) { + return NewItemResourcesItemRoleAssignmentsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_assignments_request_builder.go b/privilegedaccess/item_resources_item_role_assignments_request_builder.go index 267cf9e64ec..351c17ca043 100644 --- a/privilegedaccess/item_resources_item_role_assignments_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignments_request_builder.go @@ -46,8 +46,8 @@ type ItemResourcesItemRoleAssignmentsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceRoleAssignmentIdString provides operations to manage the roleAssignments property of the microsoft.graph.governanceResource entity. -func (m *ItemResourcesItemRoleAssignmentsRequestBuilder) ByGovernanceRoleAssignmentIdString(governanceRoleAssignmentId string)(*ItemResourcesItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder) { +// ByGovernanceRoleAssignmentId provides operations to manage the roleAssignments property of the microsoft.graph.governanceResource entity. +func (m *ItemResourcesItemRoleAssignmentsRequestBuilder) ByGovernanceRoleAssignmentId(governanceRoleAssignmentId string)(*ItemResourcesItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemResourcesItemRoleAssignmentsRequestBuilder) ToPostRequestInformatio } 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 *ItemResourcesItemRoleAssignmentsRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleAssignmentsRequestBuilder) { + return NewItemResourcesItemRoleAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_definitions_count_request_builder.go b/privilegedaccess/item_resources_item_role_definitions_count_request_builder.go index e5522ccf6ad..0056c91859c 100644 --- a/privilegedaccess/item_resources_item_role_definitions_count_request_builder.go +++ b/privilegedaccess/item_resources_item_role_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemResourcesItemRoleDefinitionsCountRequestBuilder) ToGetRequestInform } 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 *ItemResourcesItemRoleDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleDefinitionsCountRequestBuilder) { + return NewItemResourcesItemRoleDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_definitions_governance_role_definition_item_request_builder.go b/privilegedaccess/item_resources_item_role_definitions_governance_role_definition_item_request_builder.go index 0160f536a02..68f73bb263f 100644 --- a/privilegedaccess/item_resources_item_role_definitions_governance_role_definition_item_request_builder.go +++ b/privilegedaccess/item_resources_item_role_definitions_governance_role_definition_item_request_builder.go @@ -18,7 +18,7 @@ type ItemResourcesItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilderD // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemResourcesItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilderGetQueryParameters the collection of role defintions for the resource. +// ItemResourcesItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilderGetQueryParameters the collection of role definitions for the resource. type ItemResourcesItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemResourcesItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuil } return nil } -// Get the collection of role defintions for the resource. +// Get the collection of role definitions for the resource. func (m *ItemResourcesItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemResourcesItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GovernanceRoleDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -128,7 +128,7 @@ func (m *ItemResourcesItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuil } return requestInfo, nil } -// ToGetRequestInformation the collection of role defintions for the resource. +// ToGetRequestInformation the collection of role definitions for the resource. func (m *ItemResourcesItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemResourcesItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -161,3 +161,7 @@ func (m *ItemResourcesItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuil } 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 *ItemResourcesItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) { + return NewItemResourcesItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_definitions_item_resource_request_builder.go b/privilegedaccess/item_resources_item_role_definitions_item_resource_request_builder.go index 9ae4b84519a..d428a15268a 100644 --- a/privilegedaccess/item_resources_item_role_definitions_item_resource_request_builder.go +++ b/privilegedaccess/item_resources_item_role_definitions_item_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemResourcesItemRoleDefinitionsItemResourceRequestBuilder) ToGetReques } 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 *ItemResourcesItemRoleDefinitionsItemResourceRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleDefinitionsItemResourceRequestBuilder) { + return NewItemResourcesItemRoleDefinitionsItemResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_definitions_item_role_setting_request_builder.go b/privilegedaccess/item_resources_item_role_definitions_item_role_setting_request_builder.go index 691a363e0eb..eae14fe208f 100644 --- a/privilegedaccess/item_resources_item_role_definitions_item_role_setting_request_builder.go +++ b/privilegedaccess/item_resources_item_role_definitions_item_role_setting_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemResourcesItemRoleDefinitionsItemRoleSettingRequestBuilder) ToGetReq } 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 *ItemResourcesItemRoleDefinitionsItemRoleSettingRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleDefinitionsItemRoleSettingRequestBuilder) { + return NewItemResourcesItemRoleDefinitionsItemRoleSettingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_definitions_request_builder.go b/privilegedaccess/item_resources_item_role_definitions_request_builder.go index a5cf5b9831b..64732833fd4 100644 --- a/privilegedaccess/item_resources_item_role_definitions_request_builder.go +++ b/privilegedaccess/item_resources_item_role_definitions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemResourcesItemRoleDefinitionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemResourcesItemRoleDefinitionsRequestBuilderGetQueryParameters the collection of role defintions for the resource. +// ItemResourcesItemRoleDefinitionsRequestBuilderGetQueryParameters the collection of role definitions for the resource. type ItemResourcesItemRoleDefinitionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type ItemResourcesItemRoleDefinitionsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceRoleDefinitionIdString provides operations to manage the roleDefinitions property of the microsoft.graph.governanceResource entity. -func (m *ItemResourcesItemRoleDefinitionsRequestBuilder) ByGovernanceRoleDefinitionIdString(governanceRoleDefinitionId string)(*ItemResourcesItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) { +// ByGovernanceRoleDefinitionId provides operations to manage the roleDefinitions property of the microsoft.graph.governanceResource entity. +func (m *ItemResourcesItemRoleDefinitionsRequestBuilder) ByGovernanceRoleDefinitionId(governanceRoleDefinitionId string)(*ItemResourcesItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,7 +74,7 @@ func NewItemResourcesItemRoleDefinitionsRequestBuilder(rawUrl string, requestAda func (m *ItemResourcesItemRoleDefinitionsRequestBuilder) Count()(*ItemResourcesItemRoleDefinitionsCountRequestBuilder) { return NewItemResourcesItemRoleDefinitionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the collection of role defintions for the resource. +// Get the collection of role definitions for the resource. func (m *ItemResourcesItemRoleDefinitionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemResourcesItemRoleDefinitionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GovernanceRoleDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +112,7 @@ func (m *ItemResourcesItemRoleDefinitionsRequestBuilder) Post(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GovernanceRoleDefinitionable), nil } -// ToGetRequestInformation the collection of role defintions for the resource. +// ToGetRequestInformation the collection of role definitions for the resource. func (m *ItemResourcesItemRoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemResourcesItemRoleDefinitionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -145,3 +145,7 @@ func (m *ItemResourcesItemRoleDefinitionsRequestBuilder) ToPostRequestInformatio } 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 *ItemResourcesItemRoleDefinitionsRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleDefinitionsRequestBuilder) { + return NewItemResourcesItemRoleDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_settings_count_request_builder.go b/privilegedaccess/item_resources_item_role_settings_count_request_builder.go index 4a4a979fa68..32bb115cf0a 100644 --- a/privilegedaccess/item_resources_item_role_settings_count_request_builder.go +++ b/privilegedaccess/item_resources_item_role_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemResourcesItemRoleSettingsCountRequestBuilder) ToGetRequestInformati } 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 *ItemResourcesItemRoleSettingsCountRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleSettingsCountRequestBuilder) { + return NewItemResourcesItemRoleSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_settings_governance_role_setting_item_request_builder.go b/privilegedaccess/item_resources_item_role_settings_governance_role_setting_item_request_builder.go index ec9535885e9..3301cb4e1d9 100644 --- a/privilegedaccess/item_resources_item_role_settings_governance_role_setting_item_request_builder.go +++ b/privilegedaccess/item_resources_item_role_settings_governance_role_setting_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemResourcesItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) T } 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 *ItemResourcesItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) { + return NewItemResourcesItemRoleSettingsGovernanceRoleSettingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_settings_item_resource_request_builder.go b/privilegedaccess/item_resources_item_role_settings_item_resource_request_builder.go index fdfda62b9f3..bfe4a1dd0bc 100644 --- a/privilegedaccess/item_resources_item_role_settings_item_resource_request_builder.go +++ b/privilegedaccess/item_resources_item_role_settings_item_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemResourcesItemRoleSettingsItemResourceRequestBuilder) ToGetRequestIn } 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 *ItemResourcesItemRoleSettingsItemResourceRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleSettingsItemResourceRequestBuilder) { + return NewItemResourcesItemRoleSettingsItemResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_settings_item_role_definition_request_builder.go b/privilegedaccess/item_resources_item_role_settings_item_role_definition_request_builder.go index eefaed91c44..057168a3b2d 100644 --- a/privilegedaccess/item_resources_item_role_settings_item_role_definition_request_builder.go +++ b/privilegedaccess/item_resources_item_role_settings_item_role_definition_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemResourcesItemRoleSettingsItemRoleDefinitionRequestBuilder) ToPatchR } 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 *ItemResourcesItemRoleSettingsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleSettingsItemRoleDefinitionRequestBuilder) { + return NewItemResourcesItemRoleSettingsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_settings_item_role_definition_resource_request_builder.go b/privilegedaccess/item_resources_item_role_settings_item_role_definition_resource_request_builder.go index 20f7eabd8ee..00664c0fd33 100644 --- a/privilegedaccess/item_resources_item_role_settings_item_role_definition_resource_request_builder.go +++ b/privilegedaccess/item_resources_item_role_settings_item_role_definition_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemResourcesItemRoleSettingsItemRoleDefinitionResourceRequestBuilder) } 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 *ItemResourcesItemRoleSettingsItemRoleDefinitionResourceRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleSettingsItemRoleDefinitionResourceRequestBuilder) { + return NewItemResourcesItemRoleSettingsItemRoleDefinitionResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_settings_item_role_definition_role_setting_request_builder.go b/privilegedaccess/item_resources_item_role_settings_item_role_definition_role_setting_request_builder.go index b25565d7679..41306bd17f1 100644 --- a/privilegedaccess/item_resources_item_role_settings_item_role_definition_role_setting_request_builder.go +++ b/privilegedaccess/item_resources_item_role_settings_item_role_definition_role_setting_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemResourcesItemRoleSettingsItemRoleDefinitionRoleSettingRequestBuilde } 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 *ItemResourcesItemRoleSettingsItemRoleDefinitionRoleSettingRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleSettingsItemRoleDefinitionRoleSettingRequestBuilder) { + return NewItemResourcesItemRoleSettingsItemRoleDefinitionRoleSettingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_item_role_settings_request_builder.go b/privilegedaccess/item_resources_item_role_settings_request_builder.go index d9c33f6f419..b5b5227b031 100644 --- a/privilegedaccess/item_resources_item_role_settings_request_builder.go +++ b/privilegedaccess/item_resources_item_role_settings_request_builder.go @@ -46,8 +46,8 @@ type ItemResourcesItemRoleSettingsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceRoleSettingIdString provides operations to manage the roleSettings property of the microsoft.graph.governanceResource entity. -func (m *ItemResourcesItemRoleSettingsRequestBuilder) ByGovernanceRoleSettingIdString(governanceRoleSettingId string)(*ItemResourcesItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) { +// ByGovernanceRoleSettingId provides operations to manage the roleSettings property of the microsoft.graph.governanceResource entity. +func (m *ItemResourcesItemRoleSettingsRequestBuilder) ByGovernanceRoleSettingId(governanceRoleSettingId string)(*ItemResourcesItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemResourcesItemRoleSettingsRequestBuilder) ToPostRequestInformation(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 *ItemResourcesItemRoleSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesItemRoleSettingsRequestBuilder) { + return NewItemResourcesItemRoleSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_register_request_builder.go b/privilegedaccess/item_resources_register_request_builder.go index d43ef5d8bae..a752f8cc660 100644 --- a/privilegedaccess/item_resources_register_request_builder.go +++ b/privilegedaccess/item_resources_register_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemResourcesRegisterRequestBuilder) 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 *ItemResourcesRegisterRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesRegisterRequestBuilder) { + return NewItemResourcesRegisterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_resources_request_builder.go b/privilegedaccess/item_resources_request_builder.go index c248b0c1a1f..9e52b7deaf0 100644 --- a/privilegedaccess/item_resources_request_builder.go +++ b/privilegedaccess/item_resources_request_builder.go @@ -46,8 +46,8 @@ type ItemResourcesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceResourceIdString provides operations to manage the resources property of the microsoft.graph.privilegedAccess entity. -func (m *ItemResourcesRequestBuilder) ByGovernanceResourceIdString(governanceResourceId string)(*ItemResourcesGovernanceResourceItemRequestBuilder) { +// ByGovernanceResourceId provides operations to manage the resources property of the microsoft.graph.privilegedAccess entity. +func (m *ItemResourcesRequestBuilder) ByGovernanceResourceId(governanceResourceId string)(*ItemResourcesGovernanceResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *ItemResourcesRequestBuilder) 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 *ItemResourcesRequestBuilder) WithUrl(rawUrl string)(*ItemResourcesRequestBuilder) { + return NewItemResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_assignment_requests_count_request_builder.go b/privilegedaccess/item_role_assignment_requests_count_request_builder.go index 337d095d55c..3abc4773af6 100644 --- a/privilegedaccess/item_role_assignment_requests_count_request_builder.go +++ b/privilegedaccess/item_role_assignment_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRoleAssignmentRequestsCountRequestBuilder) 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 *ItemRoleAssignmentRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentRequestsCountRequestBuilder) { + return NewItemRoleAssignmentRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go b/privilegedaccess/item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go index 0a57b36937a..3c50f12de37 100644 --- a/privilegedaccess/item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go +++ b/privilegedaccess/item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBui func (m *ItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBuilder) UpdateRequest()(*ItemRoleAssignmentRequestsItemUpdateRequestRequestBuilder) { return NewItemRoleAssignmentRequestsItemUpdateRequestRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBuilder) { + return NewItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_assignment_requests_item_cancel_request_builder.go b/privilegedaccess/item_role_assignment_requests_item_cancel_request_builder.go index d6e9b76661a..128cf3707de 100644 --- a/privilegedaccess/item_role_assignment_requests_item_cancel_request_builder.go +++ b/privilegedaccess/item_role_assignment_requests_item_cancel_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemRoleAssignmentRequestsItemCancelRequestBuilder) ToPostRequestInform } 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 *ItemRoleAssignmentRequestsItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentRequestsItemCancelRequestBuilder) { + return NewItemRoleAssignmentRequestsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_assignment_requests_item_resource_request_builder.go b/privilegedaccess/item_role_assignment_requests_item_resource_request_builder.go index cdaa95f2e48..f16f74a3648 100644 --- a/privilegedaccess/item_role_assignment_requests_item_resource_request_builder.go +++ b/privilegedaccess/item_role_assignment_requests_item_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleAssignmentRequestsItemResourceRequestBuilder) ToGetRequestInfor } 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 *ItemRoleAssignmentRequestsItemResourceRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentRequestsItemResourceRequestBuilder) { + return NewItemRoleAssignmentRequestsItemResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_assignment_requests_item_role_definition_request_builder.go b/privilegedaccess/item_role_assignment_requests_item_role_definition_request_builder.go index 13adf72ccc1..1935fe6deb0 100644 --- a/privilegedaccess/item_role_assignment_requests_item_role_definition_request_builder.go +++ b/privilegedaccess/item_role_assignment_requests_item_role_definition_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemRoleAssignmentRequestsItemRoleDefinitionRequestBuilder) ToPatchRequ } 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 *ItemRoleAssignmentRequestsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentRequestsItemRoleDefinitionRequestBuilder) { + return NewItemRoleAssignmentRequestsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_assignment_requests_item_role_definition_resource_request_builder.go b/privilegedaccess/item_role_assignment_requests_item_role_definition_resource_request_builder.go index c6215d92534..e84b1d95540 100644 --- a/privilegedaccess/item_role_assignment_requests_item_role_definition_resource_request_builder.go +++ b/privilegedaccess/item_role_assignment_requests_item_role_definition_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleAssignmentRequestsItemRoleDefinitionResourceRequestBuilder) ToG } 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 *ItemRoleAssignmentRequestsItemRoleDefinitionResourceRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentRequestsItemRoleDefinitionResourceRequestBuilder) { + return NewItemRoleAssignmentRequestsItemRoleDefinitionResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_assignment_requests_item_role_definition_role_setting_request_builder.go b/privilegedaccess/item_role_assignment_requests_item_role_definition_role_setting_request_builder.go index 1321ed535fa..ce56e66cbe6 100644 --- a/privilegedaccess/item_role_assignment_requests_item_role_definition_role_setting_request_builder.go +++ b/privilegedaccess/item_role_assignment_requests_item_role_definition_role_setting_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleAssignmentRequestsItemRoleDefinitionRoleSettingRequestBuilder) } 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 *ItemRoleAssignmentRequestsItemRoleDefinitionRoleSettingRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentRequestsItemRoleDefinitionRoleSettingRequestBuilder) { + return NewItemRoleAssignmentRequestsItemRoleDefinitionRoleSettingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_assignment_requests_item_subject_request_builder.go b/privilegedaccess/item_role_assignment_requests_item_subject_request_builder.go index d7204f3cfb7..c76587c36a6 100644 --- a/privilegedaccess/item_role_assignment_requests_item_subject_request_builder.go +++ b/privilegedaccess/item_role_assignment_requests_item_subject_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemRoleAssignmentRequestsItemSubjectRequestBuilder) 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 *ItemRoleAssignmentRequestsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentRequestsItemSubjectRequestBuilder) { + return NewItemRoleAssignmentRequestsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_assignment_requests_item_update_request_request_builder.go b/privilegedaccess/item_role_assignment_requests_item_update_request_request_builder.go index 26d8b3549e2..1f4d4921ea2 100644 --- a/privilegedaccess/item_role_assignment_requests_item_update_request_request_builder.go +++ b/privilegedaccess/item_role_assignment_requests_item_update_request_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemRoleAssignmentRequestsItemUpdateRequestRequestBuilder) ToPostReques } 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 *ItemRoleAssignmentRequestsItemUpdateRequestRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentRequestsItemUpdateRequestRequestBuilder) { + return NewItemRoleAssignmentRequestsItemUpdateRequestRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_assignment_requests_request_builder.go b/privilegedaccess/item_role_assignment_requests_request_builder.go index 97b5a72d394..393fd6fd574 100644 --- a/privilegedaccess/item_role_assignment_requests_request_builder.go +++ b/privilegedaccess/item_role_assignment_requests_request_builder.go @@ -46,8 +46,8 @@ type ItemRoleAssignmentRequestsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceRoleAssignmentRequestIdString provides operations to manage the roleAssignmentRequests property of the microsoft.graph.privilegedAccess entity. -func (m *ItemRoleAssignmentRequestsRequestBuilder) ByGovernanceRoleAssignmentRequestIdString(governanceRoleAssignmentRequestId string)(*ItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBuilder) { +// ByGovernanceRoleAssignmentRequestId provides operations to manage the roleAssignmentRequests property of the microsoft.graph.privilegedAccess entity. +func (m *ItemRoleAssignmentRequestsRequestBuilder) ByGovernanceRoleAssignmentRequestId(governanceRoleAssignmentRequestId string)(*ItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemRoleAssignmentRequestsRequestBuilder) 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 *ItemRoleAssignmentRequestsRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentRequestsRequestBuilder) { + return NewItemRoleAssignmentRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_assignments_count_request_builder.go b/privilegedaccess/item_role_assignments_count_request_builder.go index 28e657c9572..c9596bdb067 100644 --- a/privilegedaccess/item_role_assignments_count_request_builder.go +++ b/privilegedaccess/item_role_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRoleAssignmentsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemRoleAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentsCountRequestBuilder) { + return NewItemRoleAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_assignments_export_request_builder.go b/privilegedaccess/item_role_assignments_export_request_builder.go index 3a7dabe4e4b..5c82372e8c0 100644 --- a/privilegedaccess/item_role_assignments_export_request_builder.go +++ b/privilegedaccess/item_role_assignments_export_request_builder.go @@ -80,3 +80,7 @@ func (m *ItemRoleAssignmentsExportRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemRoleAssignmentsExportRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentsExportRequestBuilder) { + return NewItemRoleAssignmentsExportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_assignments_governance_role_assignment_item_request_builder.go b/privilegedaccess/item_role_assignments_governance_role_assignment_item_request_builder.go index 7d18e7348b1..b744422fd52 100644 --- a/privilegedaccess/item_role_assignments_governance_role_assignment_item_request_builder.go +++ b/privilegedaccess/item_role_assignments_governance_role_assignment_item_request_builder.go @@ -169,3 +169,7 @@ func (m *ItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder) ToPatchR } 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 *ItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder) { + return NewItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_assignments_item_linked_eligible_role_assignment_request_builder.go b/privilegedaccess/item_role_assignments_item_linked_eligible_role_assignment_request_builder.go index f0aaa8aef8b..622b064e52e 100644 --- a/privilegedaccess/item_role_assignments_item_linked_eligible_role_assignment_request_builder.go +++ b/privilegedaccess/item_role_assignments_item_linked_eligible_role_assignment_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleAssignmentsItemLinkedEligibleRoleAssignmentRequestBuilder) ToGe } 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 *ItemRoleAssignmentsItemLinkedEligibleRoleAssignmentRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentsItemLinkedEligibleRoleAssignmentRequestBuilder) { + return NewItemRoleAssignmentsItemLinkedEligibleRoleAssignmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_assignments_item_resource_request_builder.go b/privilegedaccess/item_role_assignments_item_resource_request_builder.go index 7cb68884d4a..0c55ed322e6 100644 --- a/privilegedaccess/item_role_assignments_item_resource_request_builder.go +++ b/privilegedaccess/item_role_assignments_item_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleAssignmentsItemResourceRequestBuilder) 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 *ItemRoleAssignmentsItemResourceRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentsItemResourceRequestBuilder) { + return NewItemRoleAssignmentsItemResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_assignments_item_role_definition_request_builder.go b/privilegedaccess/item_role_assignments_item_role_definition_request_builder.go index 93e03740002..2ff2f5a7796 100644 --- a/privilegedaccess/item_role_assignments_item_role_definition_request_builder.go +++ b/privilegedaccess/item_role_assignments_item_role_definition_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemRoleAssignmentsItemRoleDefinitionRequestBuilder) 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 *ItemRoleAssignmentsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentsItemRoleDefinitionRequestBuilder) { + return NewItemRoleAssignmentsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_assignments_item_role_definition_resource_request_builder.go b/privilegedaccess/item_role_assignments_item_role_definition_resource_request_builder.go index e85b3a618b8..ae90381c3d6 100644 --- a/privilegedaccess/item_role_assignments_item_role_definition_resource_request_builder.go +++ b/privilegedaccess/item_role_assignments_item_role_definition_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleAssignmentsItemRoleDefinitionResourceRequestBuilder) ToGetReque } 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 *ItemRoleAssignmentsItemRoleDefinitionResourceRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentsItemRoleDefinitionResourceRequestBuilder) { + return NewItemRoleAssignmentsItemRoleDefinitionResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_assignments_item_role_definition_role_setting_request_builder.go b/privilegedaccess/item_role_assignments_item_role_definition_role_setting_request_builder.go index 360fc0bb584..4c562cf0cb0 100644 --- a/privilegedaccess/item_role_assignments_item_role_definition_role_setting_request_builder.go +++ b/privilegedaccess/item_role_assignments_item_role_definition_role_setting_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleAssignmentsItemRoleDefinitionRoleSettingRequestBuilder) ToGetRe } 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 *ItemRoleAssignmentsItemRoleDefinitionRoleSettingRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentsItemRoleDefinitionRoleSettingRequestBuilder) { + return NewItemRoleAssignmentsItemRoleDefinitionRoleSettingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_assignments_item_subject_request_builder.go b/privilegedaccess/item_role_assignments_item_subject_request_builder.go index b96309b1634..a13945d2b2b 100644 --- a/privilegedaccess/item_role_assignments_item_subject_request_builder.go +++ b/privilegedaccess/item_role_assignments_item_subject_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemRoleAssignmentsItemSubjectRequestBuilder) 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 *ItemRoleAssignmentsItemSubjectRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentsItemSubjectRequestBuilder) { + return NewItemRoleAssignmentsItemSubjectRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_assignments_request_builder.go b/privilegedaccess/item_role_assignments_request_builder.go index 9e30102ad71..33bf2d687e8 100644 --- a/privilegedaccess/item_role_assignments_request_builder.go +++ b/privilegedaccess/item_role_assignments_request_builder.go @@ -46,8 +46,8 @@ type ItemRoleAssignmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceRoleAssignmentIdString provides operations to manage the roleAssignments property of the microsoft.graph.privilegedAccess entity. -func (m *ItemRoleAssignmentsRequestBuilder) ByGovernanceRoleAssignmentIdString(governanceRoleAssignmentId string)(*ItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder) { +// ByGovernanceRoleAssignmentId provides operations to manage the roleAssignments property of the microsoft.graph.privilegedAccess entity. +func (m *ItemRoleAssignmentsRequestBuilder) ByGovernanceRoleAssignmentId(governanceRoleAssignmentId string)(*ItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemRoleAssignmentsRequestBuilder) 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 *ItemRoleAssignmentsRequestBuilder) WithUrl(rawUrl string)(*ItemRoleAssignmentsRequestBuilder) { + return NewItemRoleAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_definitions_count_request_builder.go b/privilegedaccess/item_role_definitions_count_request_builder.go index e5f4c523f90..f6beec2a788 100644 --- a/privilegedaccess/item_role_definitions_count_request_builder.go +++ b/privilegedaccess/item_role_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRoleDefinitionsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemRoleDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemRoleDefinitionsCountRequestBuilder) { + return NewItemRoleDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_definitions_governance_role_definition_item_request_builder.go b/privilegedaccess/item_role_definitions_governance_role_definition_item_request_builder.go index 4c867e67416..cd6693b8a60 100644 --- a/privilegedaccess/item_role_definitions_governance_role_definition_item_request_builder.go +++ b/privilegedaccess/item_role_definitions_governance_role_definition_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) ToPatchR } 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 *ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) { + return NewItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_definitions_item_resource_request_builder.go b/privilegedaccess/item_role_definitions_item_resource_request_builder.go index d276fa1f105..69efff98076 100644 --- a/privilegedaccess/item_role_definitions_item_resource_request_builder.go +++ b/privilegedaccess/item_role_definitions_item_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleDefinitionsItemResourceRequestBuilder) 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 *ItemRoleDefinitionsItemResourceRequestBuilder) WithUrl(rawUrl string)(*ItemRoleDefinitionsItemResourceRequestBuilder) { + return NewItemRoleDefinitionsItemResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_definitions_item_role_setting_request_builder.go b/privilegedaccess/item_role_definitions_item_role_setting_request_builder.go index f668abf3fec..92d0a124925 100644 --- a/privilegedaccess/item_role_definitions_item_role_setting_request_builder.go +++ b/privilegedaccess/item_role_definitions_item_role_setting_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleDefinitionsItemRoleSettingRequestBuilder) ToGetRequestInformati } 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 *ItemRoleDefinitionsItemRoleSettingRequestBuilder) WithUrl(rawUrl string)(*ItemRoleDefinitionsItemRoleSettingRequestBuilder) { + return NewItemRoleDefinitionsItemRoleSettingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_definitions_request_builder.go b/privilegedaccess/item_role_definitions_request_builder.go index de46e6813a8..039d5f4fc8e 100644 --- a/privilegedaccess/item_role_definitions_request_builder.go +++ b/privilegedaccess/item_role_definitions_request_builder.go @@ -46,8 +46,8 @@ type ItemRoleDefinitionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceRoleDefinitionIdString provides operations to manage the roleDefinitions property of the microsoft.graph.privilegedAccess entity. -func (m *ItemRoleDefinitionsRequestBuilder) ByGovernanceRoleDefinitionIdString(governanceRoleDefinitionId string)(*ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) { +// ByGovernanceRoleDefinitionId provides operations to manage the roleDefinitions property of the microsoft.graph.privilegedAccess entity. +func (m *ItemRoleDefinitionsRequestBuilder) ByGovernanceRoleDefinitionId(governanceRoleDefinitionId string)(*ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemRoleDefinitionsRequestBuilder) 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 *ItemRoleDefinitionsRequestBuilder) WithUrl(rawUrl string)(*ItemRoleDefinitionsRequestBuilder) { + return NewItemRoleDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_settings_count_request_builder.go b/privilegedaccess/item_role_settings_count_request_builder.go index 32478b820e9..e5ed88057b0 100644 --- a/privilegedaccess/item_role_settings_count_request_builder.go +++ b/privilegedaccess/item_role_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRoleSettingsCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemRoleSettingsCountRequestBuilder) WithUrl(rawUrl string)(*ItemRoleSettingsCountRequestBuilder) { + return NewItemRoleSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_settings_governance_role_setting_item_request_builder.go b/privilegedaccess/item_role_settings_governance_role_setting_item_request_builder.go index 2e66474c64c..976e57442f9 100644 --- a/privilegedaccess/item_role_settings_governance_role_setting_item_request_builder.go +++ b/privilegedaccess/item_role_settings_governance_role_setting_item_request_builder.go @@ -167,3 +167,7 @@ func (m *ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) ToPatchRequest } 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 *ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) WithUrl(rawUrl string)(*ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) { + return NewItemRoleSettingsGovernanceRoleSettingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_settings_item_resource_request_builder.go b/privilegedaccess/item_role_settings_item_resource_request_builder.go index 028b57f45c8..b45ef612129 100644 --- a/privilegedaccess/item_role_settings_item_resource_request_builder.go +++ b/privilegedaccess/item_role_settings_item_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleSettingsItemResourceRequestBuilder) ToGetRequestInformation(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 *ItemRoleSettingsItemResourceRequestBuilder) WithUrl(rawUrl string)(*ItemRoleSettingsItemResourceRequestBuilder) { + return NewItemRoleSettingsItemResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_settings_item_role_definition_request_builder.go b/privilegedaccess/item_role_settings_item_role_definition_request_builder.go index 9a53b2484e8..1374eef269c 100644 --- a/privilegedaccess/item_role_settings_item_role_definition_request_builder.go +++ b/privilegedaccess/item_role_settings_item_role_definition_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemRoleSettingsItemRoleDefinitionRequestBuilder) ToPatchRequestInforma } 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 *ItemRoleSettingsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemRoleSettingsItemRoleDefinitionRequestBuilder) { + return NewItemRoleSettingsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_settings_item_role_definition_resource_request_builder.go b/privilegedaccess/item_role_settings_item_role_definition_resource_request_builder.go index 7889ec6e79d..e66ba64d475 100644 --- a/privilegedaccess/item_role_settings_item_role_definition_resource_request_builder.go +++ b/privilegedaccess/item_role_settings_item_role_definition_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleSettingsItemRoleDefinitionResourceRequestBuilder) ToGetRequestI } 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 *ItemRoleSettingsItemRoleDefinitionResourceRequestBuilder) WithUrl(rawUrl string)(*ItemRoleSettingsItemRoleDefinitionResourceRequestBuilder) { + return NewItemRoleSettingsItemRoleDefinitionResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_settings_item_role_definition_role_setting_request_builder.go b/privilegedaccess/item_role_settings_item_role_definition_role_setting_request_builder.go index 3002a9e46f3..0e1379a9e48 100644 --- a/privilegedaccess/item_role_settings_item_role_definition_role_setting_request_builder.go +++ b/privilegedaccess/item_role_settings_item_role_definition_role_setting_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleSettingsItemRoleDefinitionRoleSettingRequestBuilder) ToGetReque } 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 *ItemRoleSettingsItemRoleDefinitionRoleSettingRequestBuilder) WithUrl(rawUrl string)(*ItemRoleSettingsItemRoleDefinitionRoleSettingRequestBuilder) { + return NewItemRoleSettingsItemRoleDefinitionRoleSettingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/item_role_settings_request_builder.go b/privilegedaccess/item_role_settings_request_builder.go index 3ea97adde7b..1659d23475b 100644 --- a/privilegedaccess/item_role_settings_request_builder.go +++ b/privilegedaccess/item_role_settings_request_builder.go @@ -46,8 +46,8 @@ type ItemRoleSettingsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceRoleSettingIdString provides operations to manage the roleSettings property of the microsoft.graph.privilegedAccess entity. -func (m *ItemRoleSettingsRequestBuilder) ByGovernanceRoleSettingIdString(governanceRoleSettingId string)(*ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) { +// ByGovernanceRoleSettingId provides operations to manage the roleSettings property of the microsoft.graph.privilegedAccess entity. +func (m *ItemRoleSettingsRequestBuilder) ByGovernanceRoleSettingId(governanceRoleSettingId string)(*ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemRoleSettingsRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ItemRoleSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemRoleSettingsRequestBuilder) { + return NewItemRoleSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/privileged_access_item_request_builder.go b/privilegedaccess/privileged_access_item_request_builder.go index 6164bae2e3d..bbb02af8b79 100644 --- a/privilegedaccess/privileged_access_item_request_builder.go +++ b/privilegedaccess/privileged_access_item_request_builder.go @@ -173,3 +173,7 @@ func (m *PrivilegedAccessItemRequestBuilder) ToPatchRequestInformation(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 *PrivilegedAccessItemRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessItemRequestBuilder) { + return NewPrivilegedAccessItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedaccess/privileged_access_request_builder.go b/privilegedaccess/privileged_access_request_builder.go index 185a1f2c2db..1d0e0a680e4 100644 --- a/privilegedaccess/privileged_access_request_builder.go +++ b/privilegedaccess/privileged_access_request_builder.go @@ -46,8 +46,8 @@ type PrivilegedAccessRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrivilegedAccessIdString provides operations to manage the collection of privilegedAccess entities. -func (m *PrivilegedAccessRequestBuilder) ByPrivilegedAccessIdString(privilegedAccessId string)(*PrivilegedAccessItemRequestBuilder) { +// ByPrivilegedAccessId provides operations to manage the collection of privilegedAccess entities. +func (m *PrivilegedAccessRequestBuilder) ByPrivilegedAccessId(privilegedAccessId string)(*PrivilegedAccessItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *PrivilegedAccessRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *PrivilegedAccessRequestBuilder) WithUrl(rawUrl string)(*PrivilegedAccessRequestBuilder) { + return NewPrivilegedAccessRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedapproval/count_request_builder.go b/privilegedapproval/count_request_builder.go index 64766270fd8..448224f3d82 100644 --- a/privilegedapproval/count_request_builder.go +++ b/privilegedapproval/count_request_builder.go @@ -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); +} diff --git a/privilegedapproval/item_request_request_builder.go b/privilegedapproval/item_request_request_builder.go index ea889699c70..dfee67c36f1 100644 --- a/privilegedapproval/item_request_request_builder.go +++ b/privilegedapproval/item_request_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRequestRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemRequestRequestBuilder) WithUrl(rawUrl string)(*ItemRequestRequestBuilder) { + return NewItemRequestRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedapproval/item_role_info_assignments_count_request_builder.go b/privilegedapproval/item_role_info_assignments_count_request_builder.go index 683fd24c6d7..da0ab02e1a9 100644 --- a/privilegedapproval/item_role_info_assignments_count_request_builder.go +++ b/privilegedapproval/item_role_info_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRoleInfoAssignmentsCountRequestBuilder) ToGetRequestInformation(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 *ItemRoleInfoAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoAssignmentsCountRequestBuilder) { + return NewItemRoleInfoAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedapproval/item_role_info_assignments_privileged_role_assignment_item_request_builder.go b/privilegedapproval/item_role_info_assignments_privileged_role_assignment_item_request_builder.go index 950a628dbf1..bb7913f7620 100644 --- a/privilegedapproval/item_role_info_assignments_privileged_role_assignment_item_request_builder.go +++ b/privilegedapproval/item_role_info_assignments_privileged_role_assignment_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleInfoAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) ToGe } 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 *ItemRoleInfoAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) { + return NewItemRoleInfoAssignmentsPrivilegedRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedapproval/item_role_info_assignments_request_builder.go b/privilegedapproval/item_role_info_assignments_request_builder.go index 14a2afc9978..586970f0408 100644 --- a/privilegedapproval/item_role_info_assignments_request_builder.go +++ b/privilegedapproval/item_role_info_assignments_request_builder.go @@ -39,8 +39,8 @@ type ItemRoleInfoAssignmentsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemRoleInfoAssignmentsRequestBuilderGetQueryParameters } -// ByPrivilegedRoleAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.privilegedRole entity. -func (m *ItemRoleInfoAssignmentsRequestBuilder) ByPrivilegedRoleAssignmentIdString(privilegedRoleAssignmentId string)(*ItemRoleInfoAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) { +// ByPrivilegedRoleAssignmentId provides operations to manage the assignments property of the microsoft.graph.privilegedRole entity. +func (m *ItemRoleInfoAssignmentsRequestBuilder) ByPrivilegedRoleAssignmentId(privilegedRoleAssignmentId string)(*ItemRoleInfoAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemRoleInfoAssignmentsRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemRoleInfoAssignmentsRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoAssignmentsRequestBuilder) { + return NewItemRoleInfoAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedapproval/item_role_info_request_builder.go b/privilegedapproval/item_role_info_request_builder.go index edb4b377df4..8e8c6cb1f63 100644 --- a/privilegedapproval/item_role_info_request_builder.go +++ b/privilegedapproval/item_role_info_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemRoleInfoRequestBuilder) ToPatchRequestInformation(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 *ItemRoleInfoRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoRequestBuilder) { + return NewItemRoleInfoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedapproval/item_role_info_self_activate_request_builder.go b/privilegedapproval/item_role_info_self_activate_request_builder.go index 79eddd45f7b..20364a98011 100644 --- a/privilegedapproval/item_role_info_self_activate_request_builder.go +++ b/privilegedapproval/item_role_info_self_activate_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemRoleInfoSelfActivateRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemRoleInfoSelfActivateRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoSelfActivateRequestBuilder) { + return NewItemRoleInfoSelfActivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedapproval/item_role_info_self_deactivate_request_builder.go b/privilegedapproval/item_role_info_self_deactivate_request_builder.go index 090738309c0..62c74719605 100644 --- a/privilegedapproval/item_role_info_self_deactivate_request_builder.go +++ b/privilegedapproval/item_role_info_self_deactivate_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemRoleInfoSelfDeactivateRequestBuilder) 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 *ItemRoleInfoSelfDeactivateRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoSelfDeactivateRequestBuilder) { + return NewItemRoleInfoSelfDeactivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedapproval/item_role_info_settings_request_builder.go b/privilegedapproval/item_role_info_settings_request_builder.go index a6bef7f0698..bb607288968 100644 --- a/privilegedapproval/item_role_info_settings_request_builder.go +++ b/privilegedapproval/item_role_info_settings_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemRoleInfoSettingsRequestBuilder) ToPatchRequestInformation(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 *ItemRoleInfoSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoSettingsRequestBuilder) { + return NewItemRoleInfoSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedapproval/item_role_info_summary_request_builder.go b/privilegedapproval/item_role_info_summary_request_builder.go index fabb43457e0..c49084bf841 100644 --- a/privilegedapproval/item_role_info_summary_request_builder.go +++ b/privilegedapproval/item_role_info_summary_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemRoleInfoSummaryRequestBuilder) ToPatchRequestInformation(ctx contex } 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 *ItemRoleInfoSummaryRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoSummaryRequestBuilder) { + return NewItemRoleInfoSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedapproval/my_requests_request_builder.go b/privilegedapproval/my_requests_request_builder.go index fc48652d7c1..afe5eeb28ad 100644 --- a/privilegedapproval/my_requests_request_builder.go +++ b/privilegedapproval/my_requests_request_builder.go @@ -84,3 +84,7 @@ func (m *MyRequestsRequestBuilder) ToGetRequestInformation(ctx context.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 *MyRequestsRequestBuilder) WithUrl(rawUrl string)(*MyRequestsRequestBuilder) { + return NewMyRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedapproval/privileged_approval_item_request_builder.go b/privilegedapproval/privileged_approval_item_request_builder.go index 2e50893a846..8640fe7fa29 100644 --- a/privilegedapproval/privileged_approval_item_request_builder.go +++ b/privilegedapproval/privileged_approval_item_request_builder.go @@ -161,3 +161,7 @@ func (m *PrivilegedApprovalItemRequestBuilder) ToPatchRequestInformation(ctx con } 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 *PrivilegedApprovalItemRequestBuilder) WithUrl(rawUrl string)(*PrivilegedApprovalItemRequestBuilder) { + return NewPrivilegedApprovalItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedapproval/privileged_approval_request_builder.go b/privilegedapproval/privileged_approval_request_builder.go index cc9aded9c2b..055ef35914b 100644 --- a/privilegedapproval/privileged_approval_request_builder.go +++ b/privilegedapproval/privileged_approval_request_builder.go @@ -46,8 +46,8 @@ type PrivilegedApprovalRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrivilegedApprovalIdString provides operations to manage the collection of privilegedApproval entities. -func (m *PrivilegedApprovalRequestBuilder) ByPrivilegedApprovalIdString(privilegedApprovalId string)(*PrivilegedApprovalItemRequestBuilder) { +// ByPrivilegedApprovalId provides operations to manage the collection of privilegedApproval entities. +func (m *PrivilegedApprovalRequestBuilder) ByPrivilegedApprovalId(privilegedApprovalId string)(*PrivilegedApprovalItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *PrivilegedApprovalRequestBuilder) 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 *PrivilegedApprovalRequestBuilder) WithUrl(rawUrl string)(*PrivilegedApprovalRequestBuilder) { + return NewPrivilegedApprovalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedoperationevents/count_request_builder.go b/privilegedoperationevents/count_request_builder.go index ecc4287a9d4..e3e58b0f040 100644 --- a/privilegedoperationevents/count_request_builder.go +++ b/privilegedoperationevents/count_request_builder.go @@ -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); +} diff --git a/privilegedoperationevents/privileged_operation_event_item_request_builder.go b/privilegedoperationevents/privileged_operation_event_item_request_builder.go index 97ad9237d85..6799d6603dd 100644 --- a/privilegedoperationevents/privileged_operation_event_item_request_builder.go +++ b/privilegedoperationevents/privileged_operation_event_item_request_builder.go @@ -153,3 +153,7 @@ func (m *PrivilegedOperationEventItemRequestBuilder) ToPatchRequestInformation(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 *PrivilegedOperationEventItemRequestBuilder) WithUrl(rawUrl string)(*PrivilegedOperationEventItemRequestBuilder) { + return NewPrivilegedOperationEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedoperationevents/privileged_operation_events_request_builder.go b/privilegedoperationevents/privileged_operation_events_request_builder.go index 9feefc521ac..059d9a94587 100644 --- a/privilegedoperationevents/privileged_operation_events_request_builder.go +++ b/privilegedoperationevents/privileged_operation_events_request_builder.go @@ -46,8 +46,8 @@ type PrivilegedOperationEventsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrivilegedOperationEventIdString provides operations to manage the collection of privilegedOperationEvent entities. -func (m *PrivilegedOperationEventsRequestBuilder) ByPrivilegedOperationEventIdString(privilegedOperationEventId string)(*PrivilegedOperationEventItemRequestBuilder) { +// ByPrivilegedOperationEventId provides operations to manage the collection of privilegedOperationEvent entities. +func (m *PrivilegedOperationEventsRequestBuilder) ByPrivilegedOperationEventId(privilegedOperationEventId string)(*PrivilegedOperationEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *PrivilegedOperationEventsRequestBuilder) ToPostRequestInformation(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 *PrivilegedOperationEventsRequestBuilder) WithUrl(rawUrl string)(*PrivilegedOperationEventsRequestBuilder) { + return NewPrivilegedOperationEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignmentrequests/count_request_builder.go b/privilegedroleassignmentrequests/count_request_builder.go index bcfec3f8f9f..b2a2321548d 100644 --- a/privilegedroleassignmentrequests/count_request_builder.go +++ b/privilegedroleassignmentrequests/count_request_builder.go @@ -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); +} diff --git a/privilegedroleassignmentrequests/item_cancel_request_builder.go b/privilegedroleassignmentrequests/item_cancel_request_builder.go index c4ce48910df..ee667ebf0f8 100644 --- a/privilegedroleassignmentrequests/item_cancel_request_builder.go +++ b/privilegedroleassignmentrequests/item_cancel_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemCancelRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCancelRequestBuilder) { + return NewItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignmentrequests/item_role_info_assignments_count_request_builder.go b/privilegedroleassignmentrequests/item_role_info_assignments_count_request_builder.go index c92e01a4a57..a086a55c341 100644 --- a/privilegedroleassignmentrequests/item_role_info_assignments_count_request_builder.go +++ b/privilegedroleassignmentrequests/item_role_info_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRoleInfoAssignmentsCountRequestBuilder) ToGetRequestInformation(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 *ItemRoleInfoAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoAssignmentsCountRequestBuilder) { + return NewItemRoleInfoAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignmentrequests/item_role_info_assignments_privileged_role_assignment_item_request_builder.go b/privilegedroleassignmentrequests/item_role_info_assignments_privileged_role_assignment_item_request_builder.go index d050ce7ae9f..1fdf3153e45 100644 --- a/privilegedroleassignmentrequests/item_role_info_assignments_privileged_role_assignment_item_request_builder.go +++ b/privilegedroleassignmentrequests/item_role_info_assignments_privileged_role_assignment_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleInfoAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) ToGe } 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 *ItemRoleInfoAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) { + return NewItemRoleInfoAssignmentsPrivilegedRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignmentrequests/item_role_info_assignments_request_builder.go b/privilegedroleassignmentrequests/item_role_info_assignments_request_builder.go index d4efa0d3415..8bc4403f3a8 100644 --- a/privilegedroleassignmentrequests/item_role_info_assignments_request_builder.go +++ b/privilegedroleassignmentrequests/item_role_info_assignments_request_builder.go @@ -39,8 +39,8 @@ type ItemRoleInfoAssignmentsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemRoleInfoAssignmentsRequestBuilderGetQueryParameters } -// ByPrivilegedRoleAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.privilegedRole entity. -func (m *ItemRoleInfoAssignmentsRequestBuilder) ByPrivilegedRoleAssignmentIdString(privilegedRoleAssignmentId string)(*ItemRoleInfoAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) { +// ByPrivilegedRoleAssignmentId provides operations to manage the assignments property of the microsoft.graph.privilegedRole entity. +func (m *ItemRoleInfoAssignmentsRequestBuilder) ByPrivilegedRoleAssignmentId(privilegedRoleAssignmentId string)(*ItemRoleInfoAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemRoleInfoAssignmentsRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemRoleInfoAssignmentsRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoAssignmentsRequestBuilder) { + return NewItemRoleInfoAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignmentrequests/item_role_info_request_builder.go b/privilegedroleassignmentrequests/item_role_info_request_builder.go index d1d7f9cd46b..35dc42f79b2 100644 --- a/privilegedroleassignmentrequests/item_role_info_request_builder.go +++ b/privilegedroleassignmentrequests/item_role_info_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemRoleInfoRequestBuilder) ToPatchRequestInformation(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 *ItemRoleInfoRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoRequestBuilder) { + return NewItemRoleInfoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignmentrequests/item_role_info_self_activate_request_builder.go b/privilegedroleassignmentrequests/item_role_info_self_activate_request_builder.go index 441b432568f..7fe7100bc1d 100644 --- a/privilegedroleassignmentrequests/item_role_info_self_activate_request_builder.go +++ b/privilegedroleassignmentrequests/item_role_info_self_activate_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemRoleInfoSelfActivateRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemRoleInfoSelfActivateRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoSelfActivateRequestBuilder) { + return NewItemRoleInfoSelfActivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignmentrequests/item_role_info_self_deactivate_request_builder.go b/privilegedroleassignmentrequests/item_role_info_self_deactivate_request_builder.go index 24724bfd643..b233dc1d0da 100644 --- a/privilegedroleassignmentrequests/item_role_info_self_deactivate_request_builder.go +++ b/privilegedroleassignmentrequests/item_role_info_self_deactivate_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemRoleInfoSelfDeactivateRequestBuilder) 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 *ItemRoleInfoSelfDeactivateRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoSelfDeactivateRequestBuilder) { + return NewItemRoleInfoSelfDeactivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignmentrequests/item_role_info_settings_request_builder.go b/privilegedroleassignmentrequests/item_role_info_settings_request_builder.go index 3548216bd86..950e6158bec 100644 --- a/privilegedroleassignmentrequests/item_role_info_settings_request_builder.go +++ b/privilegedroleassignmentrequests/item_role_info_settings_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemRoleInfoSettingsRequestBuilder) ToPatchRequestInformation(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 *ItemRoleInfoSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoSettingsRequestBuilder) { + return NewItemRoleInfoSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignmentrequests/item_role_info_summary_request_builder.go b/privilegedroleassignmentrequests/item_role_info_summary_request_builder.go index 523ed85f51f..2b472d5bfc1 100644 --- a/privilegedroleassignmentrequests/item_role_info_summary_request_builder.go +++ b/privilegedroleassignmentrequests/item_role_info_summary_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemRoleInfoSummaryRequestBuilder) ToPatchRequestInformation(ctx contex } 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 *ItemRoleInfoSummaryRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoSummaryRequestBuilder) { + return NewItemRoleInfoSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignmentrequests/my_request_builder.go b/privilegedroleassignmentrequests/my_request_builder.go index 63df345a664..1e09df31958 100644 --- a/privilegedroleassignmentrequests/my_request_builder.go +++ b/privilegedroleassignmentrequests/my_request_builder.go @@ -84,3 +84,7 @@ func (m *MyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestC } 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 *MyRequestBuilder) WithUrl(rawUrl string)(*MyRequestBuilder) { + return NewMyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignmentrequests/privileged_role_assignment_request_item_request_builder.go b/privilegedroleassignmentrequests/privileged_role_assignment_request_item_request_builder.go index d008239ca36..a93a483b905 100644 --- a/privilegedroleassignmentrequests/privileged_role_assignment_request_item_request_builder.go +++ b/privilegedroleassignmentrequests/privileged_role_assignment_request_item_request_builder.go @@ -161,3 +161,7 @@ func (m *PrivilegedRoleAssignmentRequestItemRequestBuilder) ToPatchRequestInform } 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 *PrivilegedRoleAssignmentRequestItemRequestBuilder) WithUrl(rawUrl string)(*PrivilegedRoleAssignmentRequestItemRequestBuilder) { + return NewPrivilegedRoleAssignmentRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignmentrequests/privileged_role_assignment_requests_request_builder.go b/privilegedroleassignmentrequests/privileged_role_assignment_requests_request_builder.go index 81d22c90733..3c88a08cbc2 100644 --- a/privilegedroleassignmentrequests/privileged_role_assignment_requests_request_builder.go +++ b/privilegedroleassignmentrequests/privileged_role_assignment_requests_request_builder.go @@ -46,8 +46,8 @@ type PrivilegedRoleAssignmentRequestsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrivilegedRoleAssignmentRequestIdString provides operations to manage the collection of privilegedRoleAssignmentRequest entities. -func (m *PrivilegedRoleAssignmentRequestsRequestBuilder) ByPrivilegedRoleAssignmentRequestIdString(privilegedRoleAssignmentRequestId string)(*PrivilegedRoleAssignmentRequestItemRequestBuilder) { +// ByPrivilegedRoleAssignmentRequestId provides operations to manage the collection of privilegedRoleAssignmentRequest entities. +func (m *PrivilegedRoleAssignmentRequestsRequestBuilder) ByPrivilegedRoleAssignmentRequestId(privilegedRoleAssignmentRequestId string)(*PrivilegedRoleAssignmentRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *PrivilegedRoleAssignmentRequestsRequestBuilder) ToPostRequestInformatio } 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 *PrivilegedRoleAssignmentRequestsRequestBuilder) WithUrl(rawUrl string)(*PrivilegedRoleAssignmentRequestsRequestBuilder) { + return NewPrivilegedRoleAssignmentRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignments/count_request_builder.go b/privilegedroleassignments/count_request_builder.go index 62c1c8394e9..b880223fb38 100644 --- a/privilegedroleassignments/count_request_builder.go +++ b/privilegedroleassignments/count_request_builder.go @@ -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); +} diff --git a/privilegedroleassignments/item_make_eligible_request_builder.go b/privilegedroleassignments/item_make_eligible_request_builder.go index d41560e2c25..aab8751d77b 100644 --- a/privilegedroleassignments/item_make_eligible_request_builder.go +++ b/privilegedroleassignments/item_make_eligible_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemMakeEligibleRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ItemMakeEligibleRequestBuilder) WithUrl(rawUrl string)(*ItemMakeEligibleRequestBuilder) { + return NewItemMakeEligibleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignments/item_make_permanent_request_builder.go b/privilegedroleassignments/item_make_permanent_request_builder.go index f695506e943..216c099ae4f 100644 --- a/privilegedroleassignments/item_make_permanent_request_builder.go +++ b/privilegedroleassignments/item_make_permanent_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemMakePermanentRequestBuilder) ToPostRequestInformation(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 *ItemMakePermanentRequestBuilder) WithUrl(rawUrl string)(*ItemMakePermanentRequestBuilder) { + return NewItemMakePermanentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignments/item_role_info_assignments_count_request_builder.go b/privilegedroleassignments/item_role_info_assignments_count_request_builder.go index ef713df1d51..ebcc68e9639 100644 --- a/privilegedroleassignments/item_role_info_assignments_count_request_builder.go +++ b/privilegedroleassignments/item_role_info_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRoleInfoAssignmentsCountRequestBuilder) ToGetRequestInformation(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 *ItemRoleInfoAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoAssignmentsCountRequestBuilder) { + return NewItemRoleInfoAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignments/item_role_info_assignments_privileged_role_assignment_item_request_builder.go b/privilegedroleassignments/item_role_info_assignments_privileged_role_assignment_item_request_builder.go index 605d04c62a7..c0d85b555e7 100644 --- a/privilegedroleassignments/item_role_info_assignments_privileged_role_assignment_item_request_builder.go +++ b/privilegedroleassignments/item_role_info_assignments_privileged_role_assignment_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRoleInfoAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) ToGe } 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 *ItemRoleInfoAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) { + return NewItemRoleInfoAssignmentsPrivilegedRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignments/item_role_info_assignments_request_builder.go b/privilegedroleassignments/item_role_info_assignments_request_builder.go index e2cb5d2371f..38eae679772 100644 --- a/privilegedroleassignments/item_role_info_assignments_request_builder.go +++ b/privilegedroleassignments/item_role_info_assignments_request_builder.go @@ -39,8 +39,8 @@ type ItemRoleInfoAssignmentsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemRoleInfoAssignmentsRequestBuilderGetQueryParameters } -// ByPrivilegedRoleAssignmentId1String provides operations to manage the assignments property of the microsoft.graph.privilegedRole entity. -func (m *ItemRoleInfoAssignmentsRequestBuilder) ByPrivilegedRoleAssignmentId1String(privilegedRoleAssignmentId1 string)(*ItemRoleInfoAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) { +// ByPrivilegedRoleAssignmentId1 provides operations to manage the assignments property of the microsoft.graph.privilegedRole entity. +func (m *ItemRoleInfoAssignmentsRequestBuilder) ByPrivilegedRoleAssignmentId1(privilegedRoleAssignmentId1 string)(*ItemRoleInfoAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemRoleInfoAssignmentsRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemRoleInfoAssignmentsRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoAssignmentsRequestBuilder) { + return NewItemRoleInfoAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignments/item_role_info_request_builder.go b/privilegedroleassignments/item_role_info_request_builder.go index c37116dc2b4..7029f0afff3 100644 --- a/privilegedroleassignments/item_role_info_request_builder.go +++ b/privilegedroleassignments/item_role_info_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemRoleInfoRequestBuilder) ToPatchRequestInformation(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 *ItemRoleInfoRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoRequestBuilder) { + return NewItemRoleInfoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignments/item_role_info_self_activate_request_builder.go b/privilegedroleassignments/item_role_info_self_activate_request_builder.go index 9117669d475..6169c362457 100644 --- a/privilegedroleassignments/item_role_info_self_activate_request_builder.go +++ b/privilegedroleassignments/item_role_info_self_activate_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemRoleInfoSelfActivateRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemRoleInfoSelfActivateRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoSelfActivateRequestBuilder) { + return NewItemRoleInfoSelfActivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignments/item_role_info_self_deactivate_request_builder.go b/privilegedroleassignments/item_role_info_self_deactivate_request_builder.go index bd1bdf0fec6..192ae522b62 100644 --- a/privilegedroleassignments/item_role_info_self_deactivate_request_builder.go +++ b/privilegedroleassignments/item_role_info_self_deactivate_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemRoleInfoSelfDeactivateRequestBuilder) 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 *ItemRoleInfoSelfDeactivateRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoSelfDeactivateRequestBuilder) { + return NewItemRoleInfoSelfDeactivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignments/item_role_info_settings_request_builder.go b/privilegedroleassignments/item_role_info_settings_request_builder.go index 624420a498d..662b72b5ff1 100644 --- a/privilegedroleassignments/item_role_info_settings_request_builder.go +++ b/privilegedroleassignments/item_role_info_settings_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemRoleInfoSettingsRequestBuilder) ToPatchRequestInformation(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 *ItemRoleInfoSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoSettingsRequestBuilder) { + return NewItemRoleInfoSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignments/item_role_info_summary_request_builder.go b/privilegedroleassignments/item_role_info_summary_request_builder.go index 1752eac7460..a03cc00ff48 100644 --- a/privilegedroleassignments/item_role_info_summary_request_builder.go +++ b/privilegedroleassignments/item_role_info_summary_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemRoleInfoSummaryRequestBuilder) ToPatchRequestInformation(ctx contex } 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 *ItemRoleInfoSummaryRequestBuilder) WithUrl(rawUrl string)(*ItemRoleInfoSummaryRequestBuilder) { + return NewItemRoleInfoSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignments/my_request_builder.go b/privilegedroleassignments/my_request_builder.go index 676ce651e42..f6ab113f170 100644 --- a/privilegedroleassignments/my_request_builder.go +++ b/privilegedroleassignments/my_request_builder.go @@ -84,3 +84,7 @@ func (m *MyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestC } 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 *MyRequestBuilder) WithUrl(rawUrl string)(*MyRequestBuilder) { + return NewMyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignments/privileged_role_assignment_item_request_builder.go b/privilegedroleassignments/privileged_role_assignment_item_request_builder.go index 7dbca6f933d..7000bd8868a 100644 --- a/privilegedroleassignments/privileged_role_assignment_item_request_builder.go +++ b/privilegedroleassignments/privileged_role_assignment_item_request_builder.go @@ -165,3 +165,7 @@ func (m *PrivilegedRoleAssignmentItemRequestBuilder) ToPatchRequestInformation(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 *PrivilegedRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*PrivilegedRoleAssignmentItemRequestBuilder) { + return NewPrivilegedRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroleassignments/privileged_role_assignments_request_builder.go b/privilegedroleassignments/privileged_role_assignments_request_builder.go index 321636975e2..19319056dc7 100644 --- a/privilegedroleassignments/privileged_role_assignments_request_builder.go +++ b/privilegedroleassignments/privileged_role_assignments_request_builder.go @@ -46,8 +46,8 @@ type PrivilegedRoleAssignmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrivilegedRoleAssignmentIdString provides operations to manage the collection of privilegedRoleAssignment entities. -func (m *PrivilegedRoleAssignmentsRequestBuilder) ByPrivilegedRoleAssignmentIdString(privilegedRoleAssignmentId string)(*PrivilegedRoleAssignmentItemRequestBuilder) { +// ByPrivilegedRoleAssignmentId provides operations to manage the collection of privilegedRoleAssignment entities. +func (m *PrivilegedRoleAssignmentsRequestBuilder) ByPrivilegedRoleAssignmentId(privilegedRoleAssignmentId string)(*PrivilegedRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *PrivilegedRoleAssignmentsRequestBuilder) ToPostRequestInformation(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 *PrivilegedRoleAssignmentsRequestBuilder) WithUrl(rawUrl string)(*PrivilegedRoleAssignmentsRequestBuilder) { + return NewPrivilegedRoleAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroles/count_request_builder.go b/privilegedroles/count_request_builder.go index bb7a879b7f3..59a3a7d2727 100644 --- a/privilegedroles/count_request_builder.go +++ b/privilegedroles/count_request_builder.go @@ -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); +} diff --git a/privilegedroles/item_assignments_count_request_builder.go b/privilegedroles/item_assignments_count_request_builder.go index ba4f351742a..71bfe113515 100644 --- a/privilegedroles/item_assignments_count_request_builder.go +++ b/privilegedroles/item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAssignmentsCountRequestBuilder) ToGetRequestInformation(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 *ItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAssignmentsCountRequestBuilder) { + return NewItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroles/item_assignments_privileged_role_assignment_item_request_builder.go b/privilegedroles/item_assignments_privileged_role_assignment_item_request_builder.go index 8abe2cc15bb..e79b347e78f 100644 --- a/privilegedroles/item_assignments_privileged_role_assignment_item_request_builder.go +++ b/privilegedroles/item_assignments_privileged_role_assignment_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) ToGetRequest } 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 *ItemAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) { + return NewItemAssignmentsPrivilegedRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroles/item_assignments_request_builder.go b/privilegedroles/item_assignments_request_builder.go index e93c474d9e4..034afbf54dc 100644 --- a/privilegedroles/item_assignments_request_builder.go +++ b/privilegedroles/item_assignments_request_builder.go @@ -39,8 +39,8 @@ type ItemAssignmentsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemAssignmentsRequestBuilderGetQueryParameters } -// ByPrivilegedRoleAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.privilegedRole entity. -func (m *ItemAssignmentsRequestBuilder) ByPrivilegedRoleAssignmentIdString(privilegedRoleAssignmentId string)(*ItemAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) { +// ByPrivilegedRoleAssignmentId provides operations to manage the assignments property of the microsoft.graph.privilegedRole entity. +func (m *ItemAssignmentsRequestBuilder) ByPrivilegedRoleAssignmentId(privilegedRoleAssignmentId string)(*ItemAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*ItemAssignmentsRequestBuilder) { + return NewItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroles/item_self_activate_request_builder.go b/privilegedroles/item_self_activate_request_builder.go index 8803a086330..5d93b2461de 100644 --- a/privilegedroles/item_self_activate_request_builder.go +++ b/privilegedroles/item_self_activate_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemSelfActivateRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ItemSelfActivateRequestBuilder) WithUrl(rawUrl string)(*ItemSelfActivateRequestBuilder) { + return NewItemSelfActivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroles/item_self_deactivate_request_builder.go b/privilegedroles/item_self_deactivate_request_builder.go index 437bef8c5c9..d0f55f1d128 100644 --- a/privilegedroles/item_self_deactivate_request_builder.go +++ b/privilegedroles/item_self_deactivate_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemSelfDeactivateRequestBuilder) 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 *ItemSelfDeactivateRequestBuilder) WithUrl(rawUrl string)(*ItemSelfDeactivateRequestBuilder) { + return NewItemSelfDeactivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroles/item_settings_request_builder.go b/privilegedroles/item_settings_request_builder.go index 7f5009448fa..cef4f444fb9 100644 --- a/privilegedroles/item_settings_request_builder.go +++ b/privilegedroles/item_settings_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemSettingsRequestBuilder) ToPatchRequestInformation(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 *ItemSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsRequestBuilder) { + return NewItemSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroles/item_summary_request_builder.go b/privilegedroles/item_summary_request_builder.go index 8d34c999552..002c04dbb0c 100644 --- a/privilegedroles/item_summary_request_builder.go +++ b/privilegedroles/item_summary_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemSummaryRequestBuilder) ToPatchRequestInformation(ctx context.Contex } 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 *ItemSummaryRequestBuilder) WithUrl(rawUrl string)(*ItemSummaryRequestBuilder) { + return NewItemSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroles/privileged_role_item_request_builder.go b/privilegedroles/privileged_role_item_request_builder.go index e8b72a989b9..16bf6394ab0 100644 --- a/privilegedroles/privileged_role_item_request_builder.go +++ b/privilegedroles/privileged_role_item_request_builder.go @@ -173,3 +173,7 @@ func (m *PrivilegedRoleItemRequestBuilder) ToPatchRequestInformation(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 *PrivilegedRoleItemRequestBuilder) WithUrl(rawUrl string)(*PrivilegedRoleItemRequestBuilder) { + return NewPrivilegedRoleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedroles/privileged_roles_request_builder.go b/privilegedroles/privileged_roles_request_builder.go index 5218664e4be..63bf3c79e4c 100644 --- a/privilegedroles/privileged_roles_request_builder.go +++ b/privilegedroles/privileged_roles_request_builder.go @@ -46,8 +46,8 @@ type PrivilegedRolesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrivilegedRoleIdString provides operations to manage the collection of privilegedRole entities. -func (m *PrivilegedRolesRequestBuilder) ByPrivilegedRoleIdString(privilegedRoleId string)(*PrivilegedRoleItemRequestBuilder) { +// ByPrivilegedRoleId provides operations to manage the collection of privilegedRole entities. +func (m *PrivilegedRolesRequestBuilder) ByPrivilegedRoleId(privilegedRoleId string)(*PrivilegedRoleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *PrivilegedRolesRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *PrivilegedRolesRequestBuilder) WithUrl(rawUrl string)(*PrivilegedRolesRequestBuilder) { + return NewPrivilegedRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedsignupstatus/can_sign_up_request_builder.go b/privilegedsignupstatus/can_sign_up_request_builder.go index b781ce863ab..21403542aee 100644 --- a/privilegedsignupstatus/can_sign_up_request_builder.go +++ b/privilegedsignupstatus/can_sign_up_request_builder.go @@ -62,3 +62,7 @@ func (m *CanSignUpRequestBuilder) ToGetRequestInformation(ctx context.Context, r } 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 *CanSignUpRequestBuilder) WithUrl(rawUrl string)(*CanSignUpRequestBuilder) { + return NewCanSignUpRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedsignupstatus/complete_setup_request_builder.go b/privilegedsignupstatus/complete_setup_request_builder.go index b4fcf5408f8..5817662ab17 100644 --- a/privilegedsignupstatus/complete_setup_request_builder.go +++ b/privilegedsignupstatus/complete_setup_request_builder.go @@ -66,3 +66,7 @@ func (m *CompleteSetupRequestBuilder) 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 *CompleteSetupRequestBuilder) WithUrl(rawUrl string)(*CompleteSetupRequestBuilder) { + return NewCompleteSetupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedsignupstatus/count_request_builder.go b/privilegedsignupstatus/count_request_builder.go index 18667b234d3..744357aebdf 100644 --- a/privilegedsignupstatus/count_request_builder.go +++ b/privilegedsignupstatus/count_request_builder.go @@ -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); +} diff --git a/privilegedsignupstatus/is_signed_up_request_builder.go b/privilegedsignupstatus/is_signed_up_request_builder.go index 8ccc1b4ca06..41d87f2f3f4 100644 --- a/privilegedsignupstatus/is_signed_up_request_builder.go +++ b/privilegedsignupstatus/is_signed_up_request_builder.go @@ -62,3 +62,7 @@ func (m *IsSignedUpRequestBuilder) ToGetRequestInformation(ctx context.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 *IsSignedUpRequestBuilder) WithUrl(rawUrl string)(*IsSignedUpRequestBuilder) { + return NewIsSignedUpRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedsignupstatus/privileged_signup_status_item_request_builder.go b/privilegedsignupstatus/privileged_signup_status_item_request_builder.go index f55db3eaaa3..31099a9bdca 100644 --- a/privilegedsignupstatus/privileged_signup_status_item_request_builder.go +++ b/privilegedsignupstatus/privileged_signup_status_item_request_builder.go @@ -153,3 +153,7 @@ func (m *PrivilegedSignupStatusItemRequestBuilder) ToPatchRequestInformation(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 *PrivilegedSignupStatusItemRequestBuilder) WithUrl(rawUrl string)(*PrivilegedSignupStatusItemRequestBuilder) { + return NewPrivilegedSignupStatusItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedsignupstatus/privileged_signup_status_request_builder.go b/privilegedsignupstatus/privileged_signup_status_request_builder.go index 6919985d587..8129601748a 100644 --- a/privilegedsignupstatus/privileged_signup_status_request_builder.go +++ b/privilegedsignupstatus/privileged_signup_status_request_builder.go @@ -46,8 +46,8 @@ type PrivilegedSignupStatusRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrivilegedSignupStatusIdString provides operations to manage the collection of privilegedSignupStatus entities. -func (m *PrivilegedSignupStatusRequestBuilder) ByPrivilegedSignupStatusIdString(privilegedSignupStatusId string)(*PrivilegedSignupStatusItemRequestBuilder) { +// ByPrivilegedSignupStatusId provides operations to manage the collection of privilegedSignupStatus entities. +func (m *PrivilegedSignupStatusRequestBuilder) ByPrivilegedSignupStatusId(privilegedSignupStatusId string)(*PrivilegedSignupStatusItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -161,3 +161,7 @@ func (m *PrivilegedSignupStatusRequestBuilder) ToPostRequestInformation(ctx cont } 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 *PrivilegedSignupStatusRequestBuilder) WithUrl(rawUrl string)(*PrivilegedSignupStatusRequestBuilder) { + return NewPrivilegedSignupStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/privilegedsignupstatus/sign_up_request_builder.go b/privilegedsignupstatus/sign_up_request_builder.go index f35c49fdaa5..a5400c8f687 100644 --- a/privilegedsignupstatus/sign_up_request_builder.go +++ b/privilegedsignupstatus/sign_up_request_builder.go @@ -63,3 +63,7 @@ func (m *SignUpRequestBuilder) ToPostRequestInformation(ctx context.Context, req } 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 *SignUpRequestBuilder) WithUrl(rawUrl string)(*SignUpRequestBuilder) { + return NewSignUpRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/programcontrols/count_request_builder.go b/programcontrols/count_request_builder.go index e9910c2fd6a..5c7b9026073 100644 --- a/programcontrols/count_request_builder.go +++ b/programcontrols/count_request_builder.go @@ -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); +} diff --git a/programcontrols/item_program_controls_count_request_builder.go b/programcontrols/item_program_controls_count_request_builder.go index 744ae918ce3..dca5ee92ed7 100644 --- a/programcontrols/item_program_controls_count_request_builder.go +++ b/programcontrols/item_program_controls_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemProgramControlsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemProgramControlsCountRequestBuilder) WithUrl(rawUrl string)(*ItemProgramControlsCountRequestBuilder) { + return NewItemProgramControlsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/programcontrols/item_program_controls_program_control_item_request_builder.go b/programcontrols/item_program_controls_program_control_item_request_builder.go index 60ff7e278c1..88560dcbc87 100644 --- a/programcontrols/item_program_controls_program_control_item_request_builder.go +++ b/programcontrols/item_program_controls_program_control_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemProgramControlsProgramControlItemRequestBuilder) 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 *ItemProgramControlsProgramControlItemRequestBuilder) WithUrl(rawUrl string)(*ItemProgramControlsProgramControlItemRequestBuilder) { + return NewItemProgramControlsProgramControlItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/programcontrols/item_program_controls_request_builder.go b/programcontrols/item_program_controls_request_builder.go index f86970f249d..73e61a38f9c 100644 --- a/programcontrols/item_program_controls_request_builder.go +++ b/programcontrols/item_program_controls_request_builder.go @@ -46,8 +46,8 @@ type ItemProgramControlsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByProgramControlId1String provides operations to manage the controls property of the microsoft.graph.program entity. -func (m *ItemProgramControlsRequestBuilder) ByProgramControlId1String(programControlId1 string)(*ItemProgramControlsProgramControlItemRequestBuilder) { +// ByProgramControlId1 provides operations to manage the controls property of the microsoft.graph.program entity. +func (m *ItemProgramControlsRequestBuilder) ByProgramControlId1(programControlId1 string)(*ItemProgramControlsProgramControlItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemProgramControlsRequestBuilder) 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 *ItemProgramControlsRequestBuilder) WithUrl(rawUrl string)(*ItemProgramControlsRequestBuilder) { + return NewItemProgramControlsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/programcontrols/item_program_request_builder.go b/programcontrols/item_program_request_builder.go index e46cdcf1068..423ceb38d1a 100644 --- a/programcontrols/item_program_request_builder.go +++ b/programcontrols/item_program_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemProgramRequestBuilder) ToPatchRequestInformation(ctx context.Contex } 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 *ItemProgramRequestBuilder) WithUrl(rawUrl string)(*ItemProgramRequestBuilder) { + return NewItemProgramRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/programcontrols/program_control_item_request_builder.go b/programcontrols/program_control_item_request_builder.go index c7f73e38934..9e17ae4a9d5 100644 --- a/programcontrols/program_control_item_request_builder.go +++ b/programcontrols/program_control_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ProgramControlItemRequestBuilder) ToPatchRequestInformation(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 *ProgramControlItemRequestBuilder) WithUrl(rawUrl string)(*ProgramControlItemRequestBuilder) { + return NewProgramControlItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/programcontrols/program_controls_request_builder.go b/programcontrols/program_controls_request_builder.go index 78f1284506e..db69a1d62b1 100644 --- a/programcontrols/program_controls_request_builder.go +++ b/programcontrols/program_controls_request_builder.go @@ -46,8 +46,8 @@ type ProgramControlsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByProgramControlIdString provides operations to manage the collection of programControl entities. -func (m *ProgramControlsRequestBuilder) ByProgramControlIdString(programControlId string)(*ProgramControlItemRequestBuilder) { +// ByProgramControlId provides operations to manage the collection of programControl entities. +func (m *ProgramControlsRequestBuilder) ByProgramControlId(programControlId string)(*ProgramControlItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ProgramControlsRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *ProgramControlsRequestBuilder) WithUrl(rawUrl string)(*ProgramControlsRequestBuilder) { + return NewProgramControlsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/programcontroltypes/count_request_builder.go b/programcontroltypes/count_request_builder.go index 78281d88a55..b74909c18d5 100644 --- a/programcontroltypes/count_request_builder.go +++ b/programcontroltypes/count_request_builder.go @@ -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); +} diff --git a/programcontroltypes/program_control_type_item_request_builder.go b/programcontroltypes/program_control_type_item_request_builder.go index 6b7f2af91a8..e02f1ac73ad 100644 --- a/programcontroltypes/program_control_type_item_request_builder.go +++ b/programcontroltypes/program_control_type_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ProgramControlTypeItemRequestBuilder) ToPatchRequestInformation(ctx con } 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 *ProgramControlTypeItemRequestBuilder) WithUrl(rawUrl string)(*ProgramControlTypeItemRequestBuilder) { + return NewProgramControlTypeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/programcontroltypes/program_control_types_request_builder.go b/programcontroltypes/program_control_types_request_builder.go index 723dd6a1652..ca0997e8090 100644 --- a/programcontroltypes/program_control_types_request_builder.go +++ b/programcontroltypes/program_control_types_request_builder.go @@ -46,8 +46,8 @@ type ProgramControlTypesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByProgramControlTypeIdString provides operations to manage the collection of programControlType entities. -func (m *ProgramControlTypesRequestBuilder) ByProgramControlTypeIdString(programControlTypeId string)(*ProgramControlTypeItemRequestBuilder) { +// ByProgramControlTypeId provides operations to manage the collection of programControlType entities. +func (m *ProgramControlTypesRequestBuilder) ByProgramControlTypeId(programControlTypeId string)(*ProgramControlTypeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ProgramControlTypesRequestBuilder) 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 *ProgramControlTypesRequestBuilder) WithUrl(rawUrl string)(*ProgramControlTypesRequestBuilder) { + return NewProgramControlTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/programs/count_request_builder.go b/programs/count_request_builder.go index 89faad82899..963b038e592 100644 --- a/programs/count_request_builder.go +++ b/programs/count_request_builder.go @@ -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); +} diff --git a/programs/item_controls_count_request_builder.go b/programs/item_controls_count_request_builder.go index 1bca1e509f1..c8b30e6cb26 100644 --- a/programs/item_controls_count_request_builder.go +++ b/programs/item_controls_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemControlsCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemControlsCountRequestBuilder) WithUrl(rawUrl string)(*ItemControlsCountRequestBuilder) { + return NewItemControlsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/programs/item_controls_item_program_request_builder.go b/programs/item_controls_item_program_request_builder.go index 0aea495f2ce..4e1ca37a27a 100644 --- a/programs/item_controls_item_program_request_builder.go +++ b/programs/item_controls_item_program_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemControlsItemProgramRequestBuilder) ToPatchRequestInformation(ctx co } 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 *ItemControlsItemProgramRequestBuilder) WithUrl(rawUrl string)(*ItemControlsItemProgramRequestBuilder) { + return NewItemControlsItemProgramRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/programs/item_controls_program_control_item_request_builder.go b/programs/item_controls_program_control_item_request_builder.go index 03226b50fda..909b7c3b013 100644 --- a/programs/item_controls_program_control_item_request_builder.go +++ b/programs/item_controls_program_control_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemControlsProgramControlItemRequestBuilder) 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 *ItemControlsProgramControlItemRequestBuilder) WithUrl(rawUrl string)(*ItemControlsProgramControlItemRequestBuilder) { + return NewItemControlsProgramControlItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/programs/item_controls_request_builder.go b/programs/item_controls_request_builder.go index ef2733829ed..72c9bc8959f 100644 --- a/programs/item_controls_request_builder.go +++ b/programs/item_controls_request_builder.go @@ -46,8 +46,8 @@ type ItemControlsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByProgramControlIdString provides operations to manage the controls property of the microsoft.graph.program entity. -func (m *ItemControlsRequestBuilder) ByProgramControlIdString(programControlId string)(*ItemControlsProgramControlItemRequestBuilder) { +// ByProgramControlId provides operations to manage the controls property of the microsoft.graph.program entity. +func (m *ItemControlsRequestBuilder) ByProgramControlId(programControlId string)(*ItemControlsProgramControlItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemControlsRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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 *ItemControlsRequestBuilder) WithUrl(rawUrl string)(*ItemControlsRequestBuilder) { + return NewItemControlsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/programs/program_item_request_builder.go b/programs/program_item_request_builder.go index 5cf101b681c..9985c9a5365 100644 --- a/programs/program_item_request_builder.go +++ b/programs/program_item_request_builder.go @@ -163,3 +163,7 @@ func (m *ProgramItemRequestBuilder) ToPatchRequestInformation(ctx context.Contex } 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 *ProgramItemRequestBuilder) WithUrl(rawUrl string)(*ProgramItemRequestBuilder) { + return NewProgramItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/programs/programs_request_builder.go b/programs/programs_request_builder.go index 4f814915903..041fc5d9c21 100644 --- a/programs/programs_request_builder.go +++ b/programs/programs_request_builder.go @@ -46,8 +46,8 @@ type ProgramsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByProgramIdString provides operations to manage the collection of program entities. -func (m *ProgramsRequestBuilder) ByProgramIdString(programId string)(*ProgramItemRequestBuilder) { +// ByProgramId provides operations to manage the collection of program entities. +func (m *ProgramsRequestBuilder) ByProgramId(programId string)(*ProgramItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ProgramsRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *ProgramsRequestBuilder) WithUrl(rawUrl string)(*ProgramsRequestBuilder) { + return NewProgramsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/app_credential_sign_in_activities_app_credential_sign_in_activity_item_request_builder.go b/reports/app_credential_sign_in_activities_app_credential_sign_in_activity_item_request_builder.go index 98fe3c78b67..c0b1e4b519b 100644 --- a/reports/app_credential_sign_in_activities_app_credential_sign_in_activity_item_request_builder.go +++ b/reports/app_credential_sign_in_activities_app_credential_sign_in_activity_item_request_builder.go @@ -156,3 +156,7 @@ func (m *AppCredentialSignInActivitiesAppCredentialSignInActivityItemRequestBuil } 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 *AppCredentialSignInActivitiesAppCredentialSignInActivityItemRequestBuilder) WithUrl(rawUrl string)(*AppCredentialSignInActivitiesAppCredentialSignInActivityItemRequestBuilder) { + return NewAppCredentialSignInActivitiesAppCredentialSignInActivityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/app_credential_sign_in_activities_count_request_builder.go b/reports/app_credential_sign_in_activities_count_request_builder.go index 7537aa4e624..cd626c3f442 100644 --- a/reports/app_credential_sign_in_activities_count_request_builder.go +++ b/reports/app_credential_sign_in_activities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AppCredentialSignInActivitiesCountRequestBuilder) ToGetRequestInformati } 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 *AppCredentialSignInActivitiesCountRequestBuilder) WithUrl(rawUrl string)(*AppCredentialSignInActivitiesCountRequestBuilder) { + return NewAppCredentialSignInActivitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/app_credential_sign_in_activities_request_builder.go b/reports/app_credential_sign_in_activities_request_builder.go index 91c9fa788e8..baa77ae8db1 100644 --- a/reports/app_credential_sign_in_activities_request_builder.go +++ b/reports/app_credential_sign_in_activities_request_builder.go @@ -46,8 +46,8 @@ type AppCredentialSignInActivitiesRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAppCredentialSignInActivityIdString provides operations to manage the appCredentialSignInActivities property of the microsoft.graph.reportRoot entity. -func (m *AppCredentialSignInActivitiesRequestBuilder) ByAppCredentialSignInActivityIdString(appCredentialSignInActivityId string)(*AppCredentialSignInActivitiesAppCredentialSignInActivityItemRequestBuilder) { +// ByAppCredentialSignInActivityId provides operations to manage the appCredentialSignInActivities property of the microsoft.graph.reportRoot entity. +func (m *AppCredentialSignInActivitiesRequestBuilder) ByAppCredentialSignInActivityId(appCredentialSignInActivityId string)(*AppCredentialSignInActivitiesAppCredentialSignInActivityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *AppCredentialSignInActivitiesRequestBuilder) ToPostRequestInformation(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 *AppCredentialSignInActivitiesRequestBuilder) WithUrl(rawUrl string)(*AppCredentialSignInActivitiesRequestBuilder) { + return NewAppCredentialSignInActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/application_sign_in_detailed_summary_application_sign_in_detailed_summary_item_request_builder.go b/reports/application_sign_in_detailed_summary_application_sign_in_detailed_summary_item_request_builder.go index 29c343c838b..db1443434e4 100644 --- a/reports/application_sign_in_detailed_summary_application_sign_in_detailed_summary_item_request_builder.go +++ b/reports/application_sign_in_detailed_summary_application_sign_in_detailed_summary_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ApplicationSignInDetailedSummaryApplicationSignInDetailedSummaryItemReq } 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 *ApplicationSignInDetailedSummaryApplicationSignInDetailedSummaryItemRequestBuilder) WithUrl(rawUrl string)(*ApplicationSignInDetailedSummaryApplicationSignInDetailedSummaryItemRequestBuilder) { + return NewApplicationSignInDetailedSummaryApplicationSignInDetailedSummaryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/application_sign_in_detailed_summary_count_request_builder.go b/reports/application_sign_in_detailed_summary_count_request_builder.go index 7ccbea60533..2b8b142b43d 100644 --- a/reports/application_sign_in_detailed_summary_count_request_builder.go +++ b/reports/application_sign_in_detailed_summary_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ApplicationSignInDetailedSummaryCountRequestBuilder) ToGetRequestInform } 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 *ApplicationSignInDetailedSummaryCountRequestBuilder) WithUrl(rawUrl string)(*ApplicationSignInDetailedSummaryCountRequestBuilder) { + return NewApplicationSignInDetailedSummaryCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/application_sign_in_detailed_summary_request_builder.go b/reports/application_sign_in_detailed_summary_request_builder.go index 614fcec1bca..91c98878bd6 100644 --- a/reports/application_sign_in_detailed_summary_request_builder.go +++ b/reports/application_sign_in_detailed_summary_request_builder.go @@ -46,8 +46,8 @@ type ApplicationSignInDetailedSummaryRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByApplicationSignInDetailedSummaryIdString provides operations to manage the applicationSignInDetailedSummary property of the microsoft.graph.reportRoot entity. -func (m *ApplicationSignInDetailedSummaryRequestBuilder) ByApplicationSignInDetailedSummaryIdString(applicationSignInDetailedSummaryId string)(*ApplicationSignInDetailedSummaryApplicationSignInDetailedSummaryItemRequestBuilder) { +// ByApplicationSignInDetailedSummaryId provides operations to manage the applicationSignInDetailedSummary property of the microsoft.graph.reportRoot entity. +func (m *ApplicationSignInDetailedSummaryRequestBuilder) ByApplicationSignInDetailedSummaryId(applicationSignInDetailedSummaryId string)(*ApplicationSignInDetailedSummaryApplicationSignInDetailedSummaryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ApplicationSignInDetailedSummaryRequestBuilder) ToPostRequestInformatio } 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 *ApplicationSignInDetailedSummaryRequestBuilder) WithUrl(rawUrl string)(*ApplicationSignInDetailedSummaryRequestBuilder) { + return NewApplicationSignInDetailedSummaryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/authentication_methods_request_builder.go b/reports/authentication_methods_request_builder.go index 3bf1d796522..8decf2da106 100644 --- a/reports/authentication_methods_request_builder.go +++ b/reports/authentication_methods_request_builder.go @@ -173,3 +173,7 @@ func (m *AuthenticationMethodsRequestBuilder) UsersRegisteredByMethod()(*Authent func (m *AuthenticationMethodsRequestBuilder) UsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRoles(includedUserRoles *string, includedUserTypes *string)(*AuthenticationMethodsUsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRolesRequestBuilder) { return NewAuthenticationMethodsUsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRolesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, includedUserRoles, includedUserTypes) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *AuthenticationMethodsRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodsRequestBuilder) { + return NewAuthenticationMethodsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/authentication_methods_user_registration_details_count_request_builder.go b/reports/authentication_methods_user_registration_details_count_request_builder.go index 31ccb851e49..64563ed6924 100644 --- a/reports/authentication_methods_user_registration_details_count_request_builder.go +++ b/reports/authentication_methods_user_registration_details_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AuthenticationMethodsUserRegistrationDetailsCountRequestBuilder) ToGetR } 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 *AuthenticationMethodsUserRegistrationDetailsCountRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodsUserRegistrationDetailsCountRequestBuilder) { + return NewAuthenticationMethodsUserRegistrationDetailsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/authentication_methods_user_registration_details_request_builder.go b/reports/authentication_methods_user_registration_details_request_builder.go index 336641d1b5d..4def5a6b579 100644 --- a/reports/authentication_methods_user_registration_details_request_builder.go +++ b/reports/authentication_methods_user_registration_details_request_builder.go @@ -46,8 +46,8 @@ type AuthenticationMethodsUserRegistrationDetailsRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserRegistrationDetailsIdString provides operations to manage the userRegistrationDetails property of the microsoft.graph.authenticationMethodsRoot entity. -func (m *AuthenticationMethodsUserRegistrationDetailsRequestBuilder) ByUserRegistrationDetailsIdString(userRegistrationDetailsId string)(*AuthenticationMethodsUserRegistrationDetailsUserRegistrationDetailsItemRequestBuilder) { +// ByUserRegistrationDetailsId provides operations to manage the userRegistrationDetails property of the microsoft.graph.authenticationMethodsRoot entity. +func (m *AuthenticationMethodsUserRegistrationDetailsRequestBuilder) ByUserRegistrationDetailsId(userRegistrationDetailsId string)(*AuthenticationMethodsUserRegistrationDetailsUserRegistrationDetailsItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *AuthenticationMethodsUserRegistrationDetailsRequestBuilder) ToPostReque } 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 *AuthenticationMethodsUserRegistrationDetailsRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodsUserRegistrationDetailsRequestBuilder) { + return NewAuthenticationMethodsUserRegistrationDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/authentication_methods_user_registration_details_user_registration_details_item_request_builder.go b/reports/authentication_methods_user_registration_details_user_registration_details_item_request_builder.go index 6111c7fe33b..d94066e0f69 100644 --- a/reports/authentication_methods_user_registration_details_user_registration_details_item_request_builder.go +++ b/reports/authentication_methods_user_registration_details_user_registration_details_item_request_builder.go @@ -156,3 +156,7 @@ func (m *AuthenticationMethodsUserRegistrationDetailsUserRegistrationDetailsItem } 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 *AuthenticationMethodsUserRegistrationDetailsUserRegistrationDetailsItemRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodsUserRegistrationDetailsUserRegistrationDetailsItemRequestBuilder) { + return NewAuthenticationMethodsUserRegistrationDetailsUserRegistrationDetailsItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/authentication_methods_users_registered_by_feature_request_builder.go b/reports/authentication_methods_users_registered_by_feature_request_builder.go index f8d7599ebde..8178031b941 100644 --- a/reports/authentication_methods_users_registered_by_feature_request_builder.go +++ b/reports/authentication_methods_users_registered_by_feature_request_builder.go @@ -63,3 +63,7 @@ func (m *AuthenticationMethodsUsersRegisteredByFeatureRequestBuilder) ToGetReque } 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 *AuthenticationMethodsUsersRegisteredByFeatureRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodsUsersRegisteredByFeatureRequestBuilder) { + return NewAuthenticationMethodsUsersRegisteredByFeatureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/authentication_methods_users_registered_by_feature_with_included_user_types_with_included_user_roles_request_builder.go b/reports/authentication_methods_users_registered_by_feature_with_included_user_types_with_included_user_roles_request_builder.go index 4ad965bae78..10a3aeaa5c5 100644 --- a/reports/authentication_methods_users_registered_by_feature_with_included_user_types_with_included_user_roles_request_builder.go +++ b/reports/authentication_methods_users_registered_by_feature_with_included_user_types_with_included_user_roles_request_builder.go @@ -69,3 +69,7 @@ func (m *AuthenticationMethodsUsersRegisteredByFeatureWithIncludedUserTypesWithI } 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 *AuthenticationMethodsUsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRolesRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodsUsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRolesRequestBuilder) { + return NewAuthenticationMethodsUsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/authentication_methods_users_registered_by_method_request_builder.go b/reports/authentication_methods_users_registered_by_method_request_builder.go index 50412a06e28..aaf8b50cf57 100644 --- a/reports/authentication_methods_users_registered_by_method_request_builder.go +++ b/reports/authentication_methods_users_registered_by_method_request_builder.go @@ -63,3 +63,7 @@ func (m *AuthenticationMethodsUsersRegisteredByMethodRequestBuilder) ToGetReques } 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 *AuthenticationMethodsUsersRegisteredByMethodRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodsUsersRegisteredByMethodRequestBuilder) { + return NewAuthenticationMethodsUsersRegisteredByMethodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/authentication_methods_users_registered_by_method_with_included_user_types_with_included_user_roles_request_builder.go b/reports/authentication_methods_users_registered_by_method_with_included_user_types_with_included_user_roles_request_builder.go index 21e24584dcd..83ad74fd95d 100644 --- a/reports/authentication_methods_users_registered_by_method_with_included_user_types_with_included_user_roles_request_builder.go +++ b/reports/authentication_methods_users_registered_by_method_with_included_user_types_with_included_user_roles_request_builder.go @@ -69,3 +69,7 @@ func (m *AuthenticationMethodsUsersRegisteredByMethodWithIncludedUserTypesWithIn } 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 *AuthenticationMethodsUsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRolesRequestBuilder) WithUrl(rawUrl string)(*AuthenticationMethodsUsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRolesRequestBuilder) { + return NewAuthenticationMethodsUsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/credential_user_registration_details_count_request_builder.go b/reports/credential_user_registration_details_count_request_builder.go index 5f125dcaacc..49db8d92b2d 100644 --- a/reports/credential_user_registration_details_count_request_builder.go +++ b/reports/credential_user_registration_details_count_request_builder.go @@ -76,3 +76,8 @@ func (m *CredentialUserRegistrationDetailsCountRequestBuilder) ToGetRequestInfor } 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. +// Deprecated: The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 +func (m *CredentialUserRegistrationDetailsCountRequestBuilder) WithUrl(rawUrl string)(*CredentialUserRegistrationDetailsCountRequestBuilder) { + return NewCredentialUserRegistrationDetailsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/credential_user_registration_details_credential_user_registration_details_item_request_builder.go b/reports/credential_user_registration_details_credential_user_registration_details_item_request_builder.go index 86e6bb79c4c..10a5366a5ed 100644 --- a/reports/credential_user_registration_details_credential_user_registration_details_item_request_builder.go +++ b/reports/credential_user_registration_details_credential_user_registration_details_item_request_builder.go @@ -159,3 +159,8 @@ func (m *CredentialUserRegistrationDetailsCredentialUserRegistrationDetailsItemR } 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. +// Deprecated: The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 +func (m *CredentialUserRegistrationDetailsCredentialUserRegistrationDetailsItemRequestBuilder) WithUrl(rawUrl string)(*CredentialUserRegistrationDetailsCredentialUserRegistrationDetailsItemRequestBuilder) { + return NewCredentialUserRegistrationDetailsCredentialUserRegistrationDetailsItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/credential_user_registration_details_request_builder.go b/reports/credential_user_registration_details_request_builder.go index 4a8874f90ed..841826cec53 100644 --- a/reports/credential_user_registration_details_request_builder.go +++ b/reports/credential_user_registration_details_request_builder.go @@ -46,9 +46,9 @@ type CredentialUserRegistrationDetailsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCredentialUserRegistrationDetailsIdString provides operations to manage the credentialUserRegistrationDetails property of the microsoft.graph.reportRoot entity. +// ByCredentialUserRegistrationDetailsId provides operations to manage the credentialUserRegistrationDetails property of the microsoft.graph.reportRoot entity. // Deprecated: The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 -func (m *CredentialUserRegistrationDetailsRequestBuilder) ByCredentialUserRegistrationDetailsIdString(credentialUserRegistrationDetailsId string)(*CredentialUserRegistrationDetailsCredentialUserRegistrationDetailsItemRequestBuilder) { +func (m *CredentialUserRegistrationDetailsRequestBuilder) ByCredentialUserRegistrationDetailsId(credentialUserRegistrationDetailsId string)(*CredentialUserRegistrationDetailsCredentialUserRegistrationDetailsItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,8 @@ func (m *CredentialUserRegistrationDetailsRequestBuilder) ToPostRequestInformati } 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. +// Deprecated: The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30 +func (m *CredentialUserRegistrationDetailsRequestBuilder) WithUrl(rawUrl string)(*CredentialUserRegistrationDetailsRequestBuilder) { + return NewCredentialUserRegistrationDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/daily_print_usage_by_printer_count_request_builder.go b/reports/daily_print_usage_by_printer_count_request_builder.go index 64bd7a8ad23..9d809001438 100644 --- a/reports/daily_print_usage_by_printer_count_request_builder.go +++ b/reports/daily_print_usage_by_printer_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DailyPrintUsageByPrinterCountRequestBuilder) ToGetRequestInformation(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 *DailyPrintUsageByPrinterCountRequestBuilder) WithUrl(rawUrl string)(*DailyPrintUsageByPrinterCountRequestBuilder) { + return NewDailyPrintUsageByPrinterCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/daily_print_usage_by_printer_print_usage_by_printer_item_request_builder.go b/reports/daily_print_usage_by_printer_print_usage_by_printer_item_request_builder.go index 583afe0d0b9..fc6e790d521 100644 --- a/reports/daily_print_usage_by_printer_print_usage_by_printer_item_request_builder.go +++ b/reports/daily_print_usage_by_printer_print_usage_by_printer_item_request_builder.go @@ -156,3 +156,7 @@ func (m *DailyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilder) ToPatchR } 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 *DailyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilder) WithUrl(rawUrl string)(*DailyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilder) { + return NewDailyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/daily_print_usage_by_printer_request_builder.go b/reports/daily_print_usage_by_printer_request_builder.go index 7e616908bad..51db941ae1b 100644 --- a/reports/daily_print_usage_by_printer_request_builder.go +++ b/reports/daily_print_usage_by_printer_request_builder.go @@ -46,8 +46,8 @@ type DailyPrintUsageByPrinterRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintUsageByPrinterIdString provides operations to manage the dailyPrintUsageByPrinter property of the microsoft.graph.reportRoot entity. -func (m *DailyPrintUsageByPrinterRequestBuilder) ByPrintUsageByPrinterIdString(printUsageByPrinterId string)(*DailyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilder) { +// ByPrintUsageByPrinterId provides operations to manage the dailyPrintUsageByPrinter property of the microsoft.graph.reportRoot entity. +func (m *DailyPrintUsageByPrinterRequestBuilder) ByPrintUsageByPrinterId(printUsageByPrinterId string)(*DailyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *DailyPrintUsageByPrinterRequestBuilder) ToPostRequestInformation(ctx co } 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 *DailyPrintUsageByPrinterRequestBuilder) WithUrl(rawUrl string)(*DailyPrintUsageByPrinterRequestBuilder) { + return NewDailyPrintUsageByPrinterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/daily_print_usage_by_user_count_request_builder.go b/reports/daily_print_usage_by_user_count_request_builder.go index 5fe6c1928c3..6ad7539f1c8 100644 --- a/reports/daily_print_usage_by_user_count_request_builder.go +++ b/reports/daily_print_usage_by_user_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DailyPrintUsageByUserCountRequestBuilder) ToGetRequestInformation(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 *DailyPrintUsageByUserCountRequestBuilder) WithUrl(rawUrl string)(*DailyPrintUsageByUserCountRequestBuilder) { + return NewDailyPrintUsageByUserCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/daily_print_usage_by_user_print_usage_by_user_item_request_builder.go b/reports/daily_print_usage_by_user_print_usage_by_user_item_request_builder.go index 319b8b8d809..24ee743d400 100644 --- a/reports/daily_print_usage_by_user_print_usage_by_user_item_request_builder.go +++ b/reports/daily_print_usage_by_user_print_usage_by_user_item_request_builder.go @@ -156,3 +156,7 @@ func (m *DailyPrintUsageByUserPrintUsageByUserItemRequestBuilder) ToPatchRequest } 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 *DailyPrintUsageByUserPrintUsageByUserItemRequestBuilder) WithUrl(rawUrl string)(*DailyPrintUsageByUserPrintUsageByUserItemRequestBuilder) { + return NewDailyPrintUsageByUserPrintUsageByUserItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/daily_print_usage_by_user_request_builder.go b/reports/daily_print_usage_by_user_request_builder.go index ce140de6014..5645565d105 100644 --- a/reports/daily_print_usage_by_user_request_builder.go +++ b/reports/daily_print_usage_by_user_request_builder.go @@ -46,8 +46,8 @@ type DailyPrintUsageByUserRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintUsageByUserIdString provides operations to manage the dailyPrintUsageByUser property of the microsoft.graph.reportRoot entity. -func (m *DailyPrintUsageByUserRequestBuilder) ByPrintUsageByUserIdString(printUsageByUserId string)(*DailyPrintUsageByUserPrintUsageByUserItemRequestBuilder) { +// ByPrintUsageByUserId provides operations to manage the dailyPrintUsageByUser property of the microsoft.graph.reportRoot entity. +func (m *DailyPrintUsageByUserRequestBuilder) ByPrintUsageByUserId(printUsageByUserId string)(*DailyPrintUsageByUserPrintUsageByUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *DailyPrintUsageByUserRequestBuilder) 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 *DailyPrintUsageByUserRequestBuilder) WithUrl(rawUrl string)(*DailyPrintUsageByUserRequestBuilder) { + return NewDailyPrintUsageByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/daily_print_usage_count_request_builder.go b/reports/daily_print_usage_count_request_builder.go index 1ae1ead9f85..03565bba47e 100644 --- a/reports/daily_print_usage_count_request_builder.go +++ b/reports/daily_print_usage_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DailyPrintUsageCountRequestBuilder) ToGetRequestInformation(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 *DailyPrintUsageCountRequestBuilder) WithUrl(rawUrl string)(*DailyPrintUsageCountRequestBuilder) { + return NewDailyPrintUsageCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/daily_print_usage_print_usage_item_request_builder.go b/reports/daily_print_usage_print_usage_item_request_builder.go index 994bc894977..beb410fbdff 100644 --- a/reports/daily_print_usage_print_usage_item_request_builder.go +++ b/reports/daily_print_usage_print_usage_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DailyPrintUsagePrintUsageItemRequestBuilder) 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 *DailyPrintUsagePrintUsageItemRequestBuilder) WithUrl(rawUrl string)(*DailyPrintUsagePrintUsageItemRequestBuilder) { + return NewDailyPrintUsagePrintUsageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/daily_print_usage_request_builder.go b/reports/daily_print_usage_request_builder.go index 8c23dd201ad..c5ee7e3f110 100644 --- a/reports/daily_print_usage_request_builder.go +++ b/reports/daily_print_usage_request_builder.go @@ -46,8 +46,8 @@ type DailyPrintUsageRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintUsageIdString provides operations to manage the dailyPrintUsage property of the microsoft.graph.reportRoot entity. -func (m *DailyPrintUsageRequestBuilder) ByPrintUsageIdString(printUsageId string)(*DailyPrintUsagePrintUsageItemRequestBuilder) { +// ByPrintUsageId provides operations to manage the dailyPrintUsage property of the microsoft.graph.reportRoot entity. +func (m *DailyPrintUsageRequestBuilder) ByPrintUsageId(printUsageId string)(*DailyPrintUsagePrintUsageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DailyPrintUsageRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *DailyPrintUsageRequestBuilder) WithUrl(rawUrl string)(*DailyPrintUsageRequestBuilder) { + return NewDailyPrintUsageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/daily_print_usage_summaries_by_printer_count_request_builder.go b/reports/daily_print_usage_summaries_by_printer_count_request_builder.go index d93022da766..396431249c8 100644 --- a/reports/daily_print_usage_summaries_by_printer_count_request_builder.go +++ b/reports/daily_print_usage_summaries_by_printer_count_request_builder.go @@ -76,3 +76,8 @@ func (m *DailyPrintUsageSummariesByPrinterCountRequestBuilder) ToGetRequestInfor } 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. +// Deprecated: The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *DailyPrintUsageSummariesByPrinterCountRequestBuilder) WithUrl(rawUrl string)(*DailyPrintUsageSummariesByPrinterCountRequestBuilder) { + return NewDailyPrintUsageSummariesByPrinterCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/daily_print_usage_summaries_by_printer_print_usage_by_printer_item_request_builder.go b/reports/daily_print_usage_summaries_by_printer_print_usage_by_printer_item_request_builder.go index 5e3231f2289..2359c2d49ca 100644 --- a/reports/daily_print_usage_summaries_by_printer_print_usage_by_printer_item_request_builder.go +++ b/reports/daily_print_usage_summaries_by_printer_print_usage_by_printer_item_request_builder.go @@ -159,3 +159,8 @@ func (m *DailyPrintUsageSummariesByPrinterPrintUsageByPrinterItemRequestBuilder) } 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. +// Deprecated: The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *DailyPrintUsageSummariesByPrinterPrintUsageByPrinterItemRequestBuilder) WithUrl(rawUrl string)(*DailyPrintUsageSummariesByPrinterPrintUsageByPrinterItemRequestBuilder) { + return NewDailyPrintUsageSummariesByPrinterPrintUsageByPrinterItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/daily_print_usage_summaries_by_printer_request_builder.go b/reports/daily_print_usage_summaries_by_printer_request_builder.go index 52c00bfcbc0..2ca8e2b8850 100644 --- a/reports/daily_print_usage_summaries_by_printer_request_builder.go +++ b/reports/daily_print_usage_summaries_by_printer_request_builder.go @@ -46,9 +46,9 @@ type DailyPrintUsageSummariesByPrinterRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintUsageByPrinterIdString provides operations to manage the dailyPrintUsageSummariesByPrinter property of the microsoft.graph.reportRoot entity. +// ByPrintUsageByPrinterId provides operations to manage the dailyPrintUsageSummariesByPrinter property of the microsoft.graph.reportRoot entity. // Deprecated: The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 -func (m *DailyPrintUsageSummariesByPrinterRequestBuilder) ByPrintUsageByPrinterIdString(printUsageByPrinterId string)(*DailyPrintUsageSummariesByPrinterPrintUsageByPrinterItemRequestBuilder) { +func (m *DailyPrintUsageSummariesByPrinterRequestBuilder) ByPrintUsageByPrinterId(printUsageByPrinterId string)(*DailyPrintUsageSummariesByPrinterPrintUsageByPrinterItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *DailyPrintUsageSummariesByPrinterRequestBuilder) ToPostRequestInformati } 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. +// Deprecated: The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *DailyPrintUsageSummariesByPrinterRequestBuilder) WithUrl(rawUrl string)(*DailyPrintUsageSummariesByPrinterRequestBuilder) { + return NewDailyPrintUsageSummariesByPrinterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/daily_print_usage_summaries_by_user_count_request_builder.go b/reports/daily_print_usage_summaries_by_user_count_request_builder.go index ea66b34e66c..342705a0b77 100644 --- a/reports/daily_print_usage_summaries_by_user_count_request_builder.go +++ b/reports/daily_print_usage_summaries_by_user_count_request_builder.go @@ -76,3 +76,8 @@ func (m *DailyPrintUsageSummariesByUserCountRequestBuilder) ToGetRequestInformat } 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. +// Deprecated: The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *DailyPrintUsageSummariesByUserCountRequestBuilder) WithUrl(rawUrl string)(*DailyPrintUsageSummariesByUserCountRequestBuilder) { + return NewDailyPrintUsageSummariesByUserCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/daily_print_usage_summaries_by_user_print_usage_by_user_item_request_builder.go b/reports/daily_print_usage_summaries_by_user_print_usage_by_user_item_request_builder.go index be7f39c8955..254db86a758 100644 --- a/reports/daily_print_usage_summaries_by_user_print_usage_by_user_item_request_builder.go +++ b/reports/daily_print_usage_summaries_by_user_print_usage_by_user_item_request_builder.go @@ -159,3 +159,8 @@ func (m *DailyPrintUsageSummariesByUserPrintUsageByUserItemRequestBuilder) 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. +// Deprecated: The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *DailyPrintUsageSummariesByUserPrintUsageByUserItemRequestBuilder) WithUrl(rawUrl string)(*DailyPrintUsageSummariesByUserPrintUsageByUserItemRequestBuilder) { + return NewDailyPrintUsageSummariesByUserPrintUsageByUserItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/daily_print_usage_summaries_by_user_request_builder.go b/reports/daily_print_usage_summaries_by_user_request_builder.go index d43b75b4087..247832718c5 100644 --- a/reports/daily_print_usage_summaries_by_user_request_builder.go +++ b/reports/daily_print_usage_summaries_by_user_request_builder.go @@ -46,9 +46,9 @@ type DailyPrintUsageSummariesByUserRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintUsageByUserIdString provides operations to manage the dailyPrintUsageSummariesByUser property of the microsoft.graph.reportRoot entity. +// ByPrintUsageByUserId provides operations to manage the dailyPrintUsageSummariesByUser property of the microsoft.graph.reportRoot entity. // Deprecated: The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 -func (m *DailyPrintUsageSummariesByUserRequestBuilder) ByPrintUsageByUserIdString(printUsageByUserId string)(*DailyPrintUsageSummariesByUserPrintUsageByUserItemRequestBuilder) { +func (m *DailyPrintUsageSummariesByUserRequestBuilder) ByPrintUsageByUserId(printUsageByUserId string)(*DailyPrintUsageSummariesByUserPrintUsageByUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *DailyPrintUsageSummariesByUserRequestBuilder) 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. +// Deprecated: The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *DailyPrintUsageSummariesByUserRequestBuilder) WithUrl(rawUrl string)(*DailyPrintUsageSummariesByUserRequestBuilder) { + return NewDailyPrintUsageSummariesByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/device_configuration_device_activity_request_builder.go b/reports/device_configuration_device_activity_request_builder.go index dd1642e1bf2..e206afde2c3 100644 --- a/reports/device_configuration_device_activity_request_builder.go +++ b/reports/device_configuration_device_activity_request_builder.go @@ -63,3 +63,7 @@ func (m *DeviceConfigurationDeviceActivityRequestBuilder) 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 *DeviceConfigurationDeviceActivityRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationDeviceActivityRequestBuilder) { + return NewDeviceConfigurationDeviceActivityRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/device_configuration_user_activity_request_builder.go b/reports/device_configuration_user_activity_request_builder.go index f549705428b..a4c557b58b0 100644 --- a/reports/device_configuration_user_activity_request_builder.go +++ b/reports/device_configuration_user_activity_request_builder.go @@ -63,3 +63,7 @@ func (m *DeviceConfigurationUserActivityRequestBuilder) 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 *DeviceConfigurationUserActivityRequestBuilder) WithUrl(rawUrl string)(*DeviceConfigurationUserActivityRequestBuilder) { + return NewDeviceConfigurationUserActivityRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_attack_simulation_repeat_offenders_request_builder.go b/reports/get_attack_simulation_repeat_offenders_request_builder.go index e59806807e3..d02d3924022 100644 --- a/reports/get_attack_simulation_repeat_offenders_request_builder.go +++ b/reports/get_attack_simulation_repeat_offenders_request_builder.go @@ -82,3 +82,8 @@ func (m *GetAttackSimulationRepeatOffendersRequestBuilder) ToGetRequestInformati } 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. +// Deprecated: This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20 +func (m *GetAttackSimulationRepeatOffendersRequestBuilder) WithUrl(rawUrl string)(*GetAttackSimulationRepeatOffendersRequestBuilder) { + return NewGetAttackSimulationRepeatOffendersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_attack_simulation_simulation_user_coverage_request_builder.go b/reports/get_attack_simulation_simulation_user_coverage_request_builder.go index d8a77be4440..0dda10fbaa9 100644 --- a/reports/get_attack_simulation_simulation_user_coverage_request_builder.go +++ b/reports/get_attack_simulation_simulation_user_coverage_request_builder.go @@ -82,3 +82,8 @@ func (m *GetAttackSimulationSimulationUserCoverageRequestBuilder) ToGetRequestIn } 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. +// Deprecated: This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20 +func (m *GetAttackSimulationSimulationUserCoverageRequestBuilder) WithUrl(rawUrl string)(*GetAttackSimulationSimulationUserCoverageRequestBuilder) { + return NewGetAttackSimulationSimulationUserCoverageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_attack_simulation_training_user_coverage_request_builder.go b/reports/get_attack_simulation_training_user_coverage_request_builder.go index d081678ec57..6751b60f88b 100644 --- a/reports/get_attack_simulation_training_user_coverage_request_builder.go +++ b/reports/get_attack_simulation_training_user_coverage_request_builder.go @@ -82,3 +82,8 @@ func (m *GetAttackSimulationTrainingUserCoverageRequestBuilder) ToGetRequestInfo } 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. +// Deprecated: This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20 +func (m *GetAttackSimulationTrainingUserCoverageRequestBuilder) WithUrl(rawUrl string)(*GetAttackSimulationTrainingUserCoverageRequestBuilder) { + return NewGetAttackSimulationTrainingUserCoverageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_azure_a_d_application_sign_in_summary_with_period_request_builder.go b/reports/get_azure_a_d_application_sign_in_summary_with_period_request_builder.go index e26c8b70b8c..fde800dee89 100644 --- a/reports/get_azure_a_d_application_sign_in_summary_with_period_request_builder.go +++ b/reports/get_azure_a_d_application_sign_in_summary_with_period_request_builder.go @@ -87,3 +87,7 @@ func (m *GetAzureADApplicationSignInSummaryWithPeriodRequestBuilder) ToGetReques } 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 *GetAzureADApplicationSignInSummaryWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetAzureADApplicationSignInSummaryWithPeriodRequestBuilder) { + return NewGetAzureADApplicationSignInSummaryWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_browser_distribution_user_counts_with_period_request_builder.go b/reports/get_browser_distribution_user_counts_with_period_request_builder.go index a1d4c88fbfb..36a8238c660 100644 --- a/reports/get_browser_distribution_user_counts_with_period_request_builder.go +++ b/reports/get_browser_distribution_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetBrowserDistributionUserCountsWithPeriodRequestBuilder) ToGetRequestI } 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 *GetBrowserDistributionUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetBrowserDistributionUserCountsWithPeriodRequestBuilder) { + return NewGetBrowserDistributionUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_browser_user_counts_with_period_request_builder.go b/reports/get_browser_user_counts_with_period_request_builder.go index 499059b264c..9b8c680b2f1 100644 --- a/reports/get_browser_user_counts_with_period_request_builder.go +++ b/reports/get_browser_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetBrowserUserCountsWithPeriodRequestBuilder) ToGetRequestInformation(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 *GetBrowserUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetBrowserUserCountsWithPeriodRequestBuilder) { + return NewGetBrowserUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_browser_user_detail_with_period_request_builder.go b/reports/get_browser_user_detail_with_period_request_builder.go index 62758ddbc15..3176b7c5af9 100644 --- a/reports/get_browser_user_detail_with_period_request_builder.go +++ b/reports/get_browser_user_detail_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetBrowserUserDetailWithPeriodRequestBuilder) ToGetRequestInformation(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 *GetBrowserUserDetailWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetBrowserUserDetailWithPeriodRequestBuilder) { + return NewGetBrowserUserDetailWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_credential_usage_summary_with_period_request_builder.go b/reports/get_credential_usage_summary_with_period_request_builder.go index bf6864be822..1c5fe842c07 100644 --- a/reports/get_credential_usage_summary_with_period_request_builder.go +++ b/reports/get_credential_usage_summary_with_period_request_builder.go @@ -87,3 +87,7 @@ func (m *GetCredentialUsageSummaryWithPeriodRequestBuilder) ToGetRequestInformat } 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 *GetCredentialUsageSummaryWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetCredentialUsageSummaryWithPeriodRequestBuilder) { + return NewGetCredentialUsageSummaryWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_credential_user_registration_count_request_builder.go b/reports/get_credential_user_registration_count_request_builder.go index dabb529cb18..f6f3f6634f8 100644 --- a/reports/get_credential_user_registration_count_request_builder.go +++ b/reports/get_credential_user_registration_count_request_builder.go @@ -87,3 +87,7 @@ func (m *GetCredentialUserRegistrationCountRequestBuilder) ToGetRequestInformati } 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 *GetCredentialUserRegistrationCountRequestBuilder) WithUrl(rawUrl string)(*GetCredentialUserRegistrationCountRequestBuilder) { + return NewGetCredentialUserRegistrationCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_email_activity_counts_with_period_request_builder.go b/reports/get_email_activity_counts_with_period_request_builder.go index 59965a1cf8a..f8348ec0cd4 100644 --- a/reports/get_email_activity_counts_with_period_request_builder.go +++ b/reports/get_email_activity_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetEmailActivityCountsWithPeriodRequestBuilder) 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 *GetEmailActivityCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetEmailActivityCountsWithPeriodRequestBuilder) { + return NewGetEmailActivityCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_email_activity_user_counts_with_period_request_builder.go b/reports/get_email_activity_user_counts_with_period_request_builder.go index 7121edd8ae5..6b58fb4322a 100644 --- a/reports/get_email_activity_user_counts_with_period_request_builder.go +++ b/reports/get_email_activity_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetEmailActivityUserCountsWithPeriodRequestBuilder) ToGetRequestInforma } 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 *GetEmailActivityUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetEmailActivityUserCountsWithPeriodRequestBuilder) { + return NewGetEmailActivityUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_email_activity_user_detail_with_date_request_builder.go b/reports/get_email_activity_user_detail_with_date_request_builder.go index 5c0a6e0d7df..bb9bcc4659b 100644 --- a/reports/get_email_activity_user_detail_with_date_request_builder.go +++ b/reports/get_email_activity_user_detail_with_date_request_builder.go @@ -65,3 +65,7 @@ func (m *GetEmailActivityUserDetailWithDateRequestBuilder) ToGetRequestInformati } 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 *GetEmailActivityUserDetailWithDateRequestBuilder) WithUrl(rawUrl string)(*GetEmailActivityUserDetailWithDateRequestBuilder) { + return NewGetEmailActivityUserDetailWithDateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_email_activity_user_detail_with_period_request_builder.go b/reports/get_email_activity_user_detail_with_period_request_builder.go index 94bdafa163b..74775f9a988 100644 --- a/reports/get_email_activity_user_detail_with_period_request_builder.go +++ b/reports/get_email_activity_user_detail_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetEmailActivityUserDetailWithPeriodRequestBuilder) ToGetRequestInforma } 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 *GetEmailActivityUserDetailWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetEmailActivityUserDetailWithPeriodRequestBuilder) { + return NewGetEmailActivityUserDetailWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_email_app_usage_apps_user_counts_with_period_request_builder.go b/reports/get_email_app_usage_apps_user_counts_with_period_request_builder.go index 724dc7fd0c2..4366d3902e3 100644 --- a/reports/get_email_app_usage_apps_user_counts_with_period_request_builder.go +++ b/reports/get_email_app_usage_apps_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetEmailAppUsageAppsUserCountsWithPeriodRequestBuilder) ToGetRequestInf } 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 *GetEmailAppUsageAppsUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetEmailAppUsageAppsUserCountsWithPeriodRequestBuilder) { + return NewGetEmailAppUsageAppsUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_email_app_usage_user_counts_with_period_request_builder.go b/reports/get_email_app_usage_user_counts_with_period_request_builder.go index 4da9eeffa2f..396616ba0bc 100644 --- a/reports/get_email_app_usage_user_counts_with_period_request_builder.go +++ b/reports/get_email_app_usage_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetEmailAppUsageUserCountsWithPeriodRequestBuilder) ToGetRequestInforma } 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 *GetEmailAppUsageUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetEmailAppUsageUserCountsWithPeriodRequestBuilder) { + return NewGetEmailAppUsageUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_email_app_usage_user_detail_with_date_request_builder.go b/reports/get_email_app_usage_user_detail_with_date_request_builder.go index 5a0d295f999..4266bb432b4 100644 --- a/reports/get_email_app_usage_user_detail_with_date_request_builder.go +++ b/reports/get_email_app_usage_user_detail_with_date_request_builder.go @@ -65,3 +65,7 @@ func (m *GetEmailAppUsageUserDetailWithDateRequestBuilder) ToGetRequestInformati } 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 *GetEmailAppUsageUserDetailWithDateRequestBuilder) WithUrl(rawUrl string)(*GetEmailAppUsageUserDetailWithDateRequestBuilder) { + return NewGetEmailAppUsageUserDetailWithDateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_email_app_usage_user_detail_with_period_request_builder.go b/reports/get_email_app_usage_user_detail_with_period_request_builder.go index c2f8807830d..49ec1b8b402 100644 --- a/reports/get_email_app_usage_user_detail_with_period_request_builder.go +++ b/reports/get_email_app_usage_user_detail_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetEmailAppUsageUserDetailWithPeriodRequestBuilder) ToGetRequestInforma } 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 *GetEmailAppUsageUserDetailWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetEmailAppUsageUserDetailWithPeriodRequestBuilder) { + return NewGetEmailAppUsageUserDetailWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_email_app_usage_versions_user_counts_with_period_request_builder.go b/reports/get_email_app_usage_versions_user_counts_with_period_request_builder.go index a3498584d02..e95787d03ee 100644 --- a/reports/get_email_app_usage_versions_user_counts_with_period_request_builder.go +++ b/reports/get_email_app_usage_versions_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetEmailAppUsageVersionsUserCountsWithPeriodRequestBuilder) ToGetReques } 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 *GetEmailAppUsageVersionsUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetEmailAppUsageVersionsUserCountsWithPeriodRequestBuilder) { + return NewGetEmailAppUsageVersionsUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_forms_user_activity_counts_with_period_request_builder.go b/reports/get_forms_user_activity_counts_with_period_request_builder.go index b31253ed872..910665cff95 100644 --- a/reports/get_forms_user_activity_counts_with_period_request_builder.go +++ b/reports/get_forms_user_activity_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetFormsUserActivityCountsWithPeriodRequestBuilder) ToGetRequestInforma } 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 *GetFormsUserActivityCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetFormsUserActivityCountsWithPeriodRequestBuilder) { + return NewGetFormsUserActivityCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_forms_user_activity_user_counts_with_period_request_builder.go b/reports/get_forms_user_activity_user_counts_with_period_request_builder.go index 5f7112b0f35..90e54d963a0 100644 --- a/reports/get_forms_user_activity_user_counts_with_period_request_builder.go +++ b/reports/get_forms_user_activity_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetFormsUserActivityUserCountsWithPeriodRequestBuilder) ToGetRequestInf } 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 *GetFormsUserActivityUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetFormsUserActivityUserCountsWithPeriodRequestBuilder) { + return NewGetFormsUserActivityUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_forms_user_activity_user_detail_with_date_request_builder.go b/reports/get_forms_user_activity_user_detail_with_date_request_builder.go index 6068adfdec2..7ef7dbadedd 100644 --- a/reports/get_forms_user_activity_user_detail_with_date_request_builder.go +++ b/reports/get_forms_user_activity_user_detail_with_date_request_builder.go @@ -65,3 +65,7 @@ func (m *GetFormsUserActivityUserDetailWithDateRequestBuilder) ToGetRequestInfor } 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 *GetFormsUserActivityUserDetailWithDateRequestBuilder) WithUrl(rawUrl string)(*GetFormsUserActivityUserDetailWithDateRequestBuilder) { + return NewGetFormsUserActivityUserDetailWithDateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_forms_user_activity_user_detail_with_period_request_builder.go b/reports/get_forms_user_activity_user_detail_with_period_request_builder.go index 5611865643a..a8e75034148 100644 --- a/reports/get_forms_user_activity_user_detail_with_period_request_builder.go +++ b/reports/get_forms_user_activity_user_detail_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetFormsUserActivityUserDetailWithPeriodRequestBuilder) ToGetRequestInf } 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 *GetFormsUserActivityUserDetailWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetFormsUserActivityUserDetailWithPeriodRequestBuilder) { + return NewGetFormsUserActivityUserDetailWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time_request_builder.go b/reports/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time_request_builder.go index 516f2d09fec..8532c8089fa 100644 --- a/reports/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time_request_builder.go +++ b/reports/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time_request_builder.go @@ -90,3 +90,7 @@ func (m *GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeReq } 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 *GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewGetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_m365_app_platform_user_counts_with_period_request_builder.go b/reports/get_m365_app_platform_user_counts_with_period_request_builder.go index 2596243c2cf..b6bc8fb3c93 100644 --- a/reports/get_m365_app_platform_user_counts_with_period_request_builder.go +++ b/reports/get_m365_app_platform_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetM365AppPlatformUserCountsWithPeriodRequestBuilder) ToGetRequestInfor } 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 *GetM365AppPlatformUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetM365AppPlatformUserCountsWithPeriodRequestBuilder) { + return NewGetM365AppPlatformUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_m365_app_user_counts_with_period_request_builder.go b/reports/get_m365_app_user_counts_with_period_request_builder.go index 75114d05300..ae69548c054 100644 --- a/reports/get_m365_app_user_counts_with_period_request_builder.go +++ b/reports/get_m365_app_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetM365AppUserCountsWithPeriodRequestBuilder) ToGetRequestInformation(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 *GetM365AppUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetM365AppUserCountsWithPeriodRequestBuilder) { + return NewGetM365AppUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_m365_app_user_detail_with_date_request_builder.go b/reports/get_m365_app_user_detail_with_date_request_builder.go index 0f9847dfa10..74e1d7967f6 100644 --- a/reports/get_m365_app_user_detail_with_date_request_builder.go +++ b/reports/get_m365_app_user_detail_with_date_request_builder.go @@ -65,3 +65,7 @@ func (m *GetM365AppUserDetailWithDateRequestBuilder) ToGetRequestInformation(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 *GetM365AppUserDetailWithDateRequestBuilder) WithUrl(rawUrl string)(*GetM365AppUserDetailWithDateRequestBuilder) { + return NewGetM365AppUserDetailWithDateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_m365_app_user_detail_with_period_request_builder.go b/reports/get_m365_app_user_detail_with_period_request_builder.go index 853cd086cb2..9f9af3d451a 100644 --- a/reports/get_m365_app_user_detail_with_period_request_builder.go +++ b/reports/get_m365_app_user_detail_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetM365AppUserDetailWithPeriodRequestBuilder) ToGetRequestInformation(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 *GetM365AppUserDetailWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetM365AppUserDetailWithPeriodRequestBuilder) { + return NewGetM365AppUserDetailWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_mailbox_usage_detail_with_period_request_builder.go b/reports/get_mailbox_usage_detail_with_period_request_builder.go index 69462ee65f7..fd0a277a929 100644 --- a/reports/get_mailbox_usage_detail_with_period_request_builder.go +++ b/reports/get_mailbox_usage_detail_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetMailboxUsageDetailWithPeriodRequestBuilder) 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 *GetMailboxUsageDetailWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetMailboxUsageDetailWithPeriodRequestBuilder) { + return NewGetMailboxUsageDetailWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_mailbox_usage_mailbox_counts_with_period_request_builder.go b/reports/get_mailbox_usage_mailbox_counts_with_period_request_builder.go index a9ba3aae55f..e0e4d3db7dc 100644 --- a/reports/get_mailbox_usage_mailbox_counts_with_period_request_builder.go +++ b/reports/get_mailbox_usage_mailbox_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetMailboxUsageMailboxCountsWithPeriodRequestBuilder) ToGetRequestInfor } 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 *GetMailboxUsageMailboxCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetMailboxUsageMailboxCountsWithPeriodRequestBuilder) { + return NewGetMailboxUsageMailboxCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_mailbox_usage_quota_status_mailbox_counts_with_period_request_builder.go b/reports/get_mailbox_usage_quota_status_mailbox_counts_with_period_request_builder.go index d3f990653b2..ce4ab8e006c 100644 --- a/reports/get_mailbox_usage_quota_status_mailbox_counts_with_period_request_builder.go +++ b/reports/get_mailbox_usage_quota_status_mailbox_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetMailboxUsageQuotaStatusMailboxCountsWithPeriodRequestBuilder) ToGetR } 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 *GetMailboxUsageQuotaStatusMailboxCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetMailboxUsageQuotaStatusMailboxCountsWithPeriodRequestBuilder) { + return NewGetMailboxUsageQuotaStatusMailboxCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_mailbox_usage_storage_with_period_request_builder.go b/reports/get_mailbox_usage_storage_with_period_request_builder.go index cd1565baa91..7a5ec7a327f 100644 --- a/reports/get_mailbox_usage_storage_with_period_request_builder.go +++ b/reports/get_mailbox_usage_storage_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetMailboxUsageStorageWithPeriodRequestBuilder) 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 *GetMailboxUsageStorageWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetMailboxUsageStorageWithPeriodRequestBuilder) { + return NewGetMailboxUsageStorageWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_office365_activation_counts_request_builder.go b/reports/get_office365_activation_counts_request_builder.go index a71c223c509..1c3f010db2f 100644 --- a/reports/get_office365_activation_counts_request_builder.go +++ b/reports/get_office365_activation_counts_request_builder.go @@ -61,3 +61,7 @@ func (m *GetOffice365ActivationCountsRequestBuilder) ToGetRequestInformation(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 *GetOffice365ActivationCountsRequestBuilder) WithUrl(rawUrl string)(*GetOffice365ActivationCountsRequestBuilder) { + return NewGetOffice365ActivationCountsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_office365_activations_user_counts_request_builder.go b/reports/get_office365_activations_user_counts_request_builder.go index fadbc109468..1d55f924f4b 100644 --- a/reports/get_office365_activations_user_counts_request_builder.go +++ b/reports/get_office365_activations_user_counts_request_builder.go @@ -61,3 +61,7 @@ func (m *GetOffice365ActivationsUserCountsRequestBuilder) 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 *GetOffice365ActivationsUserCountsRequestBuilder) WithUrl(rawUrl string)(*GetOffice365ActivationsUserCountsRequestBuilder) { + return NewGetOffice365ActivationsUserCountsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_office365_activations_user_detail_request_builder.go b/reports/get_office365_activations_user_detail_request_builder.go index 7c83ec8c36f..5272ca37540 100644 --- a/reports/get_office365_activations_user_detail_request_builder.go +++ b/reports/get_office365_activations_user_detail_request_builder.go @@ -61,3 +61,7 @@ func (m *GetOffice365ActivationsUserDetailRequestBuilder) 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 *GetOffice365ActivationsUserDetailRequestBuilder) WithUrl(rawUrl string)(*GetOffice365ActivationsUserDetailRequestBuilder) { + return NewGetOffice365ActivationsUserDetailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_office365_active_user_counts_with_period_request_builder.go b/reports/get_office365_active_user_counts_with_period_request_builder.go index ae9fe5e4860..34c29fe8656 100644 --- a/reports/get_office365_active_user_counts_with_period_request_builder.go +++ b/reports/get_office365_active_user_counts_with_period_request_builder.go @@ -87,3 +87,7 @@ func (m *GetOffice365ActiveUserCountsWithPeriodRequestBuilder) ToGetRequestInfor } 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 *GetOffice365ActiveUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetOffice365ActiveUserCountsWithPeriodRequestBuilder) { + return NewGetOffice365ActiveUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_office365_active_user_detail_with_date_request_builder.go b/reports/get_office365_active_user_detail_with_date_request_builder.go index 3be721c1579..30e86531f20 100644 --- a/reports/get_office365_active_user_detail_with_date_request_builder.go +++ b/reports/get_office365_active_user_detail_with_date_request_builder.go @@ -88,3 +88,7 @@ func (m *GetOffice365ActiveUserDetailWithDateRequestBuilder) ToGetRequestInforma } 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 *GetOffice365ActiveUserDetailWithDateRequestBuilder) WithUrl(rawUrl string)(*GetOffice365ActiveUserDetailWithDateRequestBuilder) { + return NewGetOffice365ActiveUserDetailWithDateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_office365_active_user_detail_with_period_request_builder.go b/reports/get_office365_active_user_detail_with_period_request_builder.go index 3df7c478956..57c0e7e408f 100644 --- a/reports/get_office365_active_user_detail_with_period_request_builder.go +++ b/reports/get_office365_active_user_detail_with_period_request_builder.go @@ -87,3 +87,7 @@ func (m *GetOffice365ActiveUserDetailWithPeriodRequestBuilder) ToGetRequestInfor } 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 *GetOffice365ActiveUserDetailWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetOffice365ActiveUserDetailWithPeriodRequestBuilder) { + return NewGetOffice365ActiveUserDetailWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_office365_groups_activity_counts_with_period_request_builder.go b/reports/get_office365_groups_activity_counts_with_period_request_builder.go index c817f712314..d5a9e9c20b1 100644 --- a/reports/get_office365_groups_activity_counts_with_period_request_builder.go +++ b/reports/get_office365_groups_activity_counts_with_period_request_builder.go @@ -87,3 +87,7 @@ func (m *GetOffice365GroupsActivityCountsWithPeriodRequestBuilder) ToGetRequestI } 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 *GetOffice365GroupsActivityCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetOffice365GroupsActivityCountsWithPeriodRequestBuilder) { + return NewGetOffice365GroupsActivityCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_office365_groups_activity_detail_with_date_request_builder.go b/reports/get_office365_groups_activity_detail_with_date_request_builder.go index 3b37aeeb31d..92e807492a5 100644 --- a/reports/get_office365_groups_activity_detail_with_date_request_builder.go +++ b/reports/get_office365_groups_activity_detail_with_date_request_builder.go @@ -88,3 +88,7 @@ func (m *GetOffice365GroupsActivityDetailWithDateRequestBuilder) ToGetRequestInf } 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 *GetOffice365GroupsActivityDetailWithDateRequestBuilder) WithUrl(rawUrl string)(*GetOffice365GroupsActivityDetailWithDateRequestBuilder) { + return NewGetOffice365GroupsActivityDetailWithDateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_office365_groups_activity_detail_with_period_request_builder.go b/reports/get_office365_groups_activity_detail_with_period_request_builder.go index 852c711844b..dbc1358cf0a 100644 --- a/reports/get_office365_groups_activity_detail_with_period_request_builder.go +++ b/reports/get_office365_groups_activity_detail_with_period_request_builder.go @@ -87,3 +87,7 @@ func (m *GetOffice365GroupsActivityDetailWithPeriodRequestBuilder) ToGetRequestI } 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 *GetOffice365GroupsActivityDetailWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetOffice365GroupsActivityDetailWithPeriodRequestBuilder) { + return NewGetOffice365GroupsActivityDetailWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_office365_groups_activity_file_counts_with_period_request_builder.go b/reports/get_office365_groups_activity_file_counts_with_period_request_builder.go index 338bb0a7868..b54e59c72a2 100644 --- a/reports/get_office365_groups_activity_file_counts_with_period_request_builder.go +++ b/reports/get_office365_groups_activity_file_counts_with_period_request_builder.go @@ -87,3 +87,7 @@ func (m *GetOffice365GroupsActivityFileCountsWithPeriodRequestBuilder) ToGetRequ } 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 *GetOffice365GroupsActivityFileCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetOffice365GroupsActivityFileCountsWithPeriodRequestBuilder) { + return NewGetOffice365GroupsActivityFileCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_office365_groups_activity_group_counts_with_period_request_builder.go b/reports/get_office365_groups_activity_group_counts_with_period_request_builder.go index bb89f0d1a25..43ff5b3dfa5 100644 --- a/reports/get_office365_groups_activity_group_counts_with_period_request_builder.go +++ b/reports/get_office365_groups_activity_group_counts_with_period_request_builder.go @@ -87,3 +87,7 @@ func (m *GetOffice365GroupsActivityGroupCountsWithPeriodRequestBuilder) ToGetReq } 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 *GetOffice365GroupsActivityGroupCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetOffice365GroupsActivityGroupCountsWithPeriodRequestBuilder) { + return NewGetOffice365GroupsActivityGroupCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_office365_groups_activity_storage_with_period_request_builder.go b/reports/get_office365_groups_activity_storage_with_period_request_builder.go index e4ed2941ec2..bc924d7284e 100644 --- a/reports/get_office365_groups_activity_storage_with_period_request_builder.go +++ b/reports/get_office365_groups_activity_storage_with_period_request_builder.go @@ -87,3 +87,7 @@ func (m *GetOffice365GroupsActivityStorageWithPeriodRequestBuilder) ToGetRequest } 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 *GetOffice365GroupsActivityStorageWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetOffice365GroupsActivityStorageWithPeriodRequestBuilder) { + return NewGetOffice365GroupsActivityStorageWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_office365_services_user_counts_with_period_request_builder.go b/reports/get_office365_services_user_counts_with_period_request_builder.go index 62668e591b3..448968e850b 100644 --- a/reports/get_office365_services_user_counts_with_period_request_builder.go +++ b/reports/get_office365_services_user_counts_with_period_request_builder.go @@ -87,3 +87,7 @@ func (m *GetOffice365ServicesUserCountsWithPeriodRequestBuilder) ToGetRequestInf } 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 *GetOffice365ServicesUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetOffice365ServicesUserCountsWithPeriodRequestBuilder) { + return NewGetOffice365ServicesUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_one_drive_activity_file_counts_with_period_request_builder.go b/reports/get_one_drive_activity_file_counts_with_period_request_builder.go index cd4bc5e5c09..c0814b62ee4 100644 --- a/reports/get_one_drive_activity_file_counts_with_period_request_builder.go +++ b/reports/get_one_drive_activity_file_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetOneDriveActivityFileCountsWithPeriodRequestBuilder) ToGetRequestInfo } 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 *GetOneDriveActivityFileCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetOneDriveActivityFileCountsWithPeriodRequestBuilder) { + return NewGetOneDriveActivityFileCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_one_drive_activity_user_counts_with_period_request_builder.go b/reports/get_one_drive_activity_user_counts_with_period_request_builder.go index 462506607b0..3a74b3f9fb3 100644 --- a/reports/get_one_drive_activity_user_counts_with_period_request_builder.go +++ b/reports/get_one_drive_activity_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetOneDriveActivityUserCountsWithPeriodRequestBuilder) ToGetRequestInfo } 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 *GetOneDriveActivityUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetOneDriveActivityUserCountsWithPeriodRequestBuilder) { + return NewGetOneDriveActivityUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_one_drive_activity_user_detail_with_date_request_builder.go b/reports/get_one_drive_activity_user_detail_with_date_request_builder.go index cd00875bd23..ba69520abdf 100644 --- a/reports/get_one_drive_activity_user_detail_with_date_request_builder.go +++ b/reports/get_one_drive_activity_user_detail_with_date_request_builder.go @@ -65,3 +65,7 @@ func (m *GetOneDriveActivityUserDetailWithDateRequestBuilder) ToGetRequestInform } 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 *GetOneDriveActivityUserDetailWithDateRequestBuilder) WithUrl(rawUrl string)(*GetOneDriveActivityUserDetailWithDateRequestBuilder) { + return NewGetOneDriveActivityUserDetailWithDateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_one_drive_activity_user_detail_with_period_request_builder.go b/reports/get_one_drive_activity_user_detail_with_period_request_builder.go index d9ab61a7063..38f944a4694 100644 --- a/reports/get_one_drive_activity_user_detail_with_period_request_builder.go +++ b/reports/get_one_drive_activity_user_detail_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetOneDriveActivityUserDetailWithPeriodRequestBuilder) ToGetRequestInfo } 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 *GetOneDriveActivityUserDetailWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetOneDriveActivityUserDetailWithPeriodRequestBuilder) { + return NewGetOneDriveActivityUserDetailWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_one_drive_usage_account_counts_with_period_request_builder.go b/reports/get_one_drive_usage_account_counts_with_period_request_builder.go index 47d2703aec0..80c09369e0d 100644 --- a/reports/get_one_drive_usage_account_counts_with_period_request_builder.go +++ b/reports/get_one_drive_usage_account_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetOneDriveUsageAccountCountsWithPeriodRequestBuilder) ToGetRequestInfo } 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 *GetOneDriveUsageAccountCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetOneDriveUsageAccountCountsWithPeriodRequestBuilder) { + return NewGetOneDriveUsageAccountCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_one_drive_usage_account_detail_with_date_request_builder.go b/reports/get_one_drive_usage_account_detail_with_date_request_builder.go index 5fa95074e3c..313b26c14dd 100644 --- a/reports/get_one_drive_usage_account_detail_with_date_request_builder.go +++ b/reports/get_one_drive_usage_account_detail_with_date_request_builder.go @@ -65,3 +65,7 @@ func (m *GetOneDriveUsageAccountDetailWithDateRequestBuilder) ToGetRequestInform } 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 *GetOneDriveUsageAccountDetailWithDateRequestBuilder) WithUrl(rawUrl string)(*GetOneDriveUsageAccountDetailWithDateRequestBuilder) { + return NewGetOneDriveUsageAccountDetailWithDateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_one_drive_usage_account_detail_with_period_request_builder.go b/reports/get_one_drive_usage_account_detail_with_period_request_builder.go index 281f7ae8943..4c6709c9963 100644 --- a/reports/get_one_drive_usage_account_detail_with_period_request_builder.go +++ b/reports/get_one_drive_usage_account_detail_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetOneDriveUsageAccountDetailWithPeriodRequestBuilder) ToGetRequestInfo } 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 *GetOneDriveUsageAccountDetailWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetOneDriveUsageAccountDetailWithPeriodRequestBuilder) { + return NewGetOneDriveUsageAccountDetailWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_one_drive_usage_file_counts_with_period_request_builder.go b/reports/get_one_drive_usage_file_counts_with_period_request_builder.go index 72982ca0c99..8b9a8fcbcdb 100644 --- a/reports/get_one_drive_usage_file_counts_with_period_request_builder.go +++ b/reports/get_one_drive_usage_file_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetOneDriveUsageFileCountsWithPeriodRequestBuilder) ToGetRequestInforma } 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 *GetOneDriveUsageFileCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetOneDriveUsageFileCountsWithPeriodRequestBuilder) { + return NewGetOneDriveUsageFileCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_one_drive_usage_storage_with_period_request_builder.go b/reports/get_one_drive_usage_storage_with_period_request_builder.go index a268c83572b..7767c1abd23 100644 --- a/reports/get_one_drive_usage_storage_with_period_request_builder.go +++ b/reports/get_one_drive_usage_storage_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetOneDriveUsageStorageWithPeriodRequestBuilder) 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 *GetOneDriveUsageStorageWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetOneDriveUsageStorageWithPeriodRequestBuilder) { + return NewGetOneDriveUsageStorageWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time_request_builder.go b/reports/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time_request_builder.go index 6e335b60e03..bf4ead5354a 100644 --- a/reports/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time_request_builder.go +++ b/reports/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time_request_builder.go @@ -90,3 +90,7 @@ func (m *GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTim } 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 *GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewGetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_relying_party_detailed_summary_with_period_request_builder.go b/reports/get_relying_party_detailed_summary_with_period_request_builder.go index 9bb2678245d..a70c56e0fe9 100644 --- a/reports/get_relying_party_detailed_summary_with_period_request_builder.go +++ b/reports/get_relying_party_detailed_summary_with_period_request_builder.go @@ -87,3 +87,7 @@ func (m *GetRelyingPartyDetailedSummaryWithPeriodRequestBuilder) ToGetRequestInf } 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 *GetRelyingPartyDetailedSummaryWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetRelyingPartyDetailedSummaryWithPeriodRequestBuilder) { + return NewGetRelyingPartyDetailedSummaryWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_share_point_activity_file_counts_with_period_request_builder.go b/reports/get_share_point_activity_file_counts_with_period_request_builder.go index f65e439f27e..61fcee52a1b 100644 --- a/reports/get_share_point_activity_file_counts_with_period_request_builder.go +++ b/reports/get_share_point_activity_file_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSharePointActivityFileCountsWithPeriodRequestBuilder) ToGetRequestIn } 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 *GetSharePointActivityFileCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSharePointActivityFileCountsWithPeriodRequestBuilder) { + return NewGetSharePointActivityFileCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_share_point_activity_pages_with_period_request_builder.go b/reports/get_share_point_activity_pages_with_period_request_builder.go index 05b9229b05d..e2fc3cb0278 100644 --- a/reports/get_share_point_activity_pages_with_period_request_builder.go +++ b/reports/get_share_point_activity_pages_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSharePointActivityPagesWithPeriodRequestBuilder) ToGetRequestInforma } 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 *GetSharePointActivityPagesWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSharePointActivityPagesWithPeriodRequestBuilder) { + return NewGetSharePointActivityPagesWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_share_point_activity_user_counts_with_period_request_builder.go b/reports/get_share_point_activity_user_counts_with_period_request_builder.go index df40ee68f4a..86cc034d758 100644 --- a/reports/get_share_point_activity_user_counts_with_period_request_builder.go +++ b/reports/get_share_point_activity_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSharePointActivityUserCountsWithPeriodRequestBuilder) ToGetRequestIn } 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 *GetSharePointActivityUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSharePointActivityUserCountsWithPeriodRequestBuilder) { + return NewGetSharePointActivityUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_share_point_activity_user_detail_with_date_request_builder.go b/reports/get_share_point_activity_user_detail_with_date_request_builder.go index 24de9b17fec..3eafcda559e 100644 --- a/reports/get_share_point_activity_user_detail_with_date_request_builder.go +++ b/reports/get_share_point_activity_user_detail_with_date_request_builder.go @@ -65,3 +65,7 @@ func (m *GetSharePointActivityUserDetailWithDateRequestBuilder) ToGetRequestInfo } 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 *GetSharePointActivityUserDetailWithDateRequestBuilder) WithUrl(rawUrl string)(*GetSharePointActivityUserDetailWithDateRequestBuilder) { + return NewGetSharePointActivityUserDetailWithDateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_share_point_activity_user_detail_with_period_request_builder.go b/reports/get_share_point_activity_user_detail_with_period_request_builder.go index fc77a1e4338..10057e3e606 100644 --- a/reports/get_share_point_activity_user_detail_with_period_request_builder.go +++ b/reports/get_share_point_activity_user_detail_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSharePointActivityUserDetailWithPeriodRequestBuilder) ToGetRequestIn } 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 *GetSharePointActivityUserDetailWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSharePointActivityUserDetailWithPeriodRequestBuilder) { + return NewGetSharePointActivityUserDetailWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_share_point_site_usage_detail_with_date_request_builder.go b/reports/get_share_point_site_usage_detail_with_date_request_builder.go index 09ded3d5628..2eb3e7ae00e 100644 --- a/reports/get_share_point_site_usage_detail_with_date_request_builder.go +++ b/reports/get_share_point_site_usage_detail_with_date_request_builder.go @@ -65,3 +65,7 @@ func (m *GetSharePointSiteUsageDetailWithDateRequestBuilder) ToGetRequestInforma } 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 *GetSharePointSiteUsageDetailWithDateRequestBuilder) WithUrl(rawUrl string)(*GetSharePointSiteUsageDetailWithDateRequestBuilder) { + return NewGetSharePointSiteUsageDetailWithDateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_share_point_site_usage_detail_with_period_request_builder.go b/reports/get_share_point_site_usage_detail_with_period_request_builder.go index fccc07f26b1..de84201f732 100644 --- a/reports/get_share_point_site_usage_detail_with_period_request_builder.go +++ b/reports/get_share_point_site_usage_detail_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSharePointSiteUsageDetailWithPeriodRequestBuilder) ToGetRequestInfor } 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 *GetSharePointSiteUsageDetailWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSharePointSiteUsageDetailWithPeriodRequestBuilder) { + return NewGetSharePointSiteUsageDetailWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_share_point_site_usage_file_counts_with_period_request_builder.go b/reports/get_share_point_site_usage_file_counts_with_period_request_builder.go index 0a0468b1f63..8b12ba2868f 100644 --- a/reports/get_share_point_site_usage_file_counts_with_period_request_builder.go +++ b/reports/get_share_point_site_usage_file_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSharePointSiteUsageFileCountsWithPeriodRequestBuilder) ToGetRequestI } 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 *GetSharePointSiteUsageFileCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSharePointSiteUsageFileCountsWithPeriodRequestBuilder) { + return NewGetSharePointSiteUsageFileCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_share_point_site_usage_pages_with_period_request_builder.go b/reports/get_share_point_site_usage_pages_with_period_request_builder.go index 5fc0465084f..2520d7ef0e5 100644 --- a/reports/get_share_point_site_usage_pages_with_period_request_builder.go +++ b/reports/get_share_point_site_usage_pages_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSharePointSiteUsagePagesWithPeriodRequestBuilder) ToGetRequestInform } 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 *GetSharePointSiteUsagePagesWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSharePointSiteUsagePagesWithPeriodRequestBuilder) { + return NewGetSharePointSiteUsagePagesWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_share_point_site_usage_site_counts_with_period_request_builder.go b/reports/get_share_point_site_usage_site_counts_with_period_request_builder.go index 4013ffdfc71..d59f59d0b6f 100644 --- a/reports/get_share_point_site_usage_site_counts_with_period_request_builder.go +++ b/reports/get_share_point_site_usage_site_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSharePointSiteUsageSiteCountsWithPeriodRequestBuilder) ToGetRequestI } 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 *GetSharePointSiteUsageSiteCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSharePointSiteUsageSiteCountsWithPeriodRequestBuilder) { + return NewGetSharePointSiteUsageSiteCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_share_point_site_usage_storage_with_period_request_builder.go b/reports/get_share_point_site_usage_storage_with_period_request_builder.go index abae7742f10..592e15bc79a 100644 --- a/reports/get_share_point_site_usage_storage_with_period_request_builder.go +++ b/reports/get_share_point_site_usage_storage_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSharePointSiteUsageStorageWithPeriodRequestBuilder) ToGetRequestInfo } 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 *GetSharePointSiteUsageStorageWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSharePointSiteUsageStorageWithPeriodRequestBuilder) { + return NewGetSharePointSiteUsageStorageWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_skype_for_business_activity_counts_with_period_request_builder.go b/reports/get_skype_for_business_activity_counts_with_period_request_builder.go index 90bdf2c7205..eae82651c05 100644 --- a/reports/get_skype_for_business_activity_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_activity_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSkypeForBusinessActivityCountsWithPeriodRequestBuilder) ToGetRequest } 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 *GetSkypeForBusinessActivityCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSkypeForBusinessActivityCountsWithPeriodRequestBuilder) { + return NewGetSkypeForBusinessActivityCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_skype_for_business_activity_user_counts_with_period_request_builder.go b/reports/get_skype_for_business_activity_user_counts_with_period_request_builder.go index d273c24bfff..ec2be8ffbd6 100644 --- a/reports/get_skype_for_business_activity_user_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_activity_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSkypeForBusinessActivityUserCountsWithPeriodRequestBuilder) ToGetReq } 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 *GetSkypeForBusinessActivityUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSkypeForBusinessActivityUserCountsWithPeriodRequestBuilder) { + return NewGetSkypeForBusinessActivityUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_skype_for_business_activity_user_detail_with_date_request_builder.go b/reports/get_skype_for_business_activity_user_detail_with_date_request_builder.go index 041d1b6d9fd..8bd71100361 100644 --- a/reports/get_skype_for_business_activity_user_detail_with_date_request_builder.go +++ b/reports/get_skype_for_business_activity_user_detail_with_date_request_builder.go @@ -65,3 +65,7 @@ func (m *GetSkypeForBusinessActivityUserDetailWithDateRequestBuilder) ToGetReque } 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 *GetSkypeForBusinessActivityUserDetailWithDateRequestBuilder) WithUrl(rawUrl string)(*GetSkypeForBusinessActivityUserDetailWithDateRequestBuilder) { + return NewGetSkypeForBusinessActivityUserDetailWithDateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_skype_for_business_activity_user_detail_with_period_request_builder.go b/reports/get_skype_for_business_activity_user_detail_with_period_request_builder.go index 53fe8dbe8a9..53b50c55ce4 100644 --- a/reports/get_skype_for_business_activity_user_detail_with_period_request_builder.go +++ b/reports/get_skype_for_business_activity_user_detail_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSkypeForBusinessActivityUserDetailWithPeriodRequestBuilder) ToGetReq } 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 *GetSkypeForBusinessActivityUserDetailWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSkypeForBusinessActivityUserDetailWithPeriodRequestBuilder) { + return NewGetSkypeForBusinessActivityUserDetailWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_skype_for_business_device_usage_distribution_user_counts_with_period_request_builder.go b/reports/get_skype_for_business_device_usage_distribution_user_counts_with_period_request_builder.go index f54cea06efe..84c7103dcc2 100644 --- a/reports/get_skype_for_business_device_usage_distribution_user_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_device_usage_distribution_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriodRequestBu } 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 *GetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriodRequestBuilder) { + return NewGetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_skype_for_business_device_usage_user_counts_with_period_request_builder.go b/reports/get_skype_for_business_device_usage_user_counts_with_period_request_builder.go index 54572b28bce..50da03c2b70 100644 --- a/reports/get_skype_for_business_device_usage_user_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_device_usage_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSkypeForBusinessDeviceUsageUserCountsWithPeriodRequestBuilder) ToGet } 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 *GetSkypeForBusinessDeviceUsageUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSkypeForBusinessDeviceUsageUserCountsWithPeriodRequestBuilder) { + return NewGetSkypeForBusinessDeviceUsageUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_skype_for_business_device_usage_user_detail_with_date_request_builder.go b/reports/get_skype_for_business_device_usage_user_detail_with_date_request_builder.go index abd38250c8b..434343ec6e0 100644 --- a/reports/get_skype_for_business_device_usage_user_detail_with_date_request_builder.go +++ b/reports/get_skype_for_business_device_usage_user_detail_with_date_request_builder.go @@ -65,3 +65,7 @@ func (m *GetSkypeForBusinessDeviceUsageUserDetailWithDateRequestBuilder) ToGetRe } 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 *GetSkypeForBusinessDeviceUsageUserDetailWithDateRequestBuilder) WithUrl(rawUrl string)(*GetSkypeForBusinessDeviceUsageUserDetailWithDateRequestBuilder) { + return NewGetSkypeForBusinessDeviceUsageUserDetailWithDateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_skype_for_business_device_usage_user_detail_with_period_request_builder.go b/reports/get_skype_for_business_device_usage_user_detail_with_period_request_builder.go index b1983dec780..6546e87e64c 100644 --- a/reports/get_skype_for_business_device_usage_user_detail_with_period_request_builder.go +++ b/reports/get_skype_for_business_device_usage_user_detail_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSkypeForBusinessDeviceUsageUserDetailWithPeriodRequestBuilder) ToGet } 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 *GetSkypeForBusinessDeviceUsageUserDetailWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSkypeForBusinessDeviceUsageUserDetailWithPeriodRequestBuilder) { + return NewGetSkypeForBusinessDeviceUsageUserDetailWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_skype_for_business_organizer_activity_counts_with_period_request_builder.go b/reports/get_skype_for_business_organizer_activity_counts_with_period_request_builder.go index 68b78db5aa7..ea3fb199f8a 100644 --- a/reports/get_skype_for_business_organizer_activity_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_organizer_activity_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSkypeForBusinessOrganizerActivityCountsWithPeriodRequestBuilder) ToG } 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 *GetSkypeForBusinessOrganizerActivityCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSkypeForBusinessOrganizerActivityCountsWithPeriodRequestBuilder) { + return NewGetSkypeForBusinessOrganizerActivityCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_skype_for_business_organizer_activity_minute_counts_with_period_request_builder.go b/reports/get_skype_for_business_organizer_activity_minute_counts_with_period_request_builder.go index ee77a5fa7ad..28d5a02538f 100644 --- a/reports/get_skype_for_business_organizer_activity_minute_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_organizer_activity_minute_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriodRequestBuilde } 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 *GetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriodRequestBuilder) { + return NewGetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_skype_for_business_organizer_activity_user_counts_with_period_request_builder.go b/reports/get_skype_for_business_organizer_activity_user_counts_with_period_request_builder.go index d41f1e76846..398cf61538d 100644 --- a/reports/get_skype_for_business_organizer_activity_user_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_organizer_activity_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSkypeForBusinessOrganizerActivityUserCountsWithPeriodRequestBuilder) } 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 *GetSkypeForBusinessOrganizerActivityUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSkypeForBusinessOrganizerActivityUserCountsWithPeriodRequestBuilder) { + return NewGetSkypeForBusinessOrganizerActivityUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_skype_for_business_participant_activity_counts_with_period_request_builder.go b/reports/get_skype_for_business_participant_activity_counts_with_period_request_builder.go index dcfebbb6b4a..03a658932c2 100644 --- a/reports/get_skype_for_business_participant_activity_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_participant_activity_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSkypeForBusinessParticipantActivityCountsWithPeriodRequestBuilder) T } 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 *GetSkypeForBusinessParticipantActivityCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSkypeForBusinessParticipantActivityCountsWithPeriodRequestBuilder) { + return NewGetSkypeForBusinessParticipantActivityCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_skype_for_business_participant_activity_minute_counts_with_period_request_builder.go b/reports/get_skype_for_business_participant_activity_minute_counts_with_period_request_builder.go index f7e13776a6d..07ad1c686f4 100644 --- a/reports/get_skype_for_business_participant_activity_minute_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_participant_activity_minute_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSkypeForBusinessParticipantActivityMinuteCountsWithPeriodRequestBuil } 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 *GetSkypeForBusinessParticipantActivityMinuteCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSkypeForBusinessParticipantActivityMinuteCountsWithPeriodRequestBuilder) { + return NewGetSkypeForBusinessParticipantActivityMinuteCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_skype_for_business_participant_activity_user_counts_with_period_request_builder.go b/reports/get_skype_for_business_participant_activity_user_counts_with_period_request_builder.go index 3e82c07d05e..fa3cd4c1328 100644 --- a/reports/get_skype_for_business_participant_activity_user_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_participant_activity_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSkypeForBusinessParticipantActivityUserCountsWithPeriodRequestBuilde } 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 *GetSkypeForBusinessParticipantActivityUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSkypeForBusinessParticipantActivityUserCountsWithPeriodRequestBuilder) { + return NewGetSkypeForBusinessParticipantActivityUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_skype_for_business_peer_to_peer_activity_counts_with_period_request_builder.go b/reports/get_skype_for_business_peer_to_peer_activity_counts_with_period_request_builder.go index 9cc4d7ae76f..280f5daf12e 100644 --- a/reports/get_skype_for_business_peer_to_peer_activity_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_peer_to_peer_activity_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSkypeForBusinessPeerToPeerActivityCountsWithPeriodRequestBuilder) To } 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 *GetSkypeForBusinessPeerToPeerActivityCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSkypeForBusinessPeerToPeerActivityCountsWithPeriodRequestBuilder) { + return NewGetSkypeForBusinessPeerToPeerActivityCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_skype_for_business_peer_to_peer_activity_minute_counts_with_period_request_builder.go b/reports/get_skype_for_business_peer_to_peer_activity_minute_counts_with_period_request_builder.go index 70731102989..3f01080f792 100644 --- a/reports/get_skype_for_business_peer_to_peer_activity_minute_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_peer_to_peer_activity_minute_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriodRequestBuild } 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 *GetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriodRequestBuilder) { + return NewGetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_skype_for_business_peer_to_peer_activity_user_counts_with_period_request_builder.go b/reports/get_skype_for_business_peer_to_peer_activity_user_counts_with_period_request_builder.go index ce8a99405b9..0531c705e1e 100644 --- a/reports/get_skype_for_business_peer_to_peer_activity_user_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_peer_to_peer_activity_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriodRequestBuilder } 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 *GetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriodRequestBuilder) { + return NewGetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_teams_device_usage_distribution_total_user_counts_with_period_request_builder.go b/reports/get_teams_device_usage_distribution_total_user_counts_with_period_request_builder.go index b026d480152..f25ea03d036 100644 --- a/reports/get_teams_device_usage_distribution_total_user_counts_with_period_request_builder.go +++ b/reports/get_teams_device_usage_distribution_total_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetTeamsDeviceUsageDistributionTotalUserCountsWithPeriodRequestBuilder) } 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 *GetTeamsDeviceUsageDistributionTotalUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetTeamsDeviceUsageDistributionTotalUserCountsWithPeriodRequestBuilder) { + return NewGetTeamsDeviceUsageDistributionTotalUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_teams_device_usage_distribution_user_counts_with_period_request_builder.go b/reports/get_teams_device_usage_distribution_user_counts_with_period_request_builder.go index 73c79dee46d..4433684d947 100644 --- a/reports/get_teams_device_usage_distribution_user_counts_with_period_request_builder.go +++ b/reports/get_teams_device_usage_distribution_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetTeamsDeviceUsageDistributionUserCountsWithPeriodRequestBuilder) ToGe } 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 *GetTeamsDeviceUsageDistributionUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetTeamsDeviceUsageDistributionUserCountsWithPeriodRequestBuilder) { + return NewGetTeamsDeviceUsageDistributionUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_teams_device_usage_total_user_counts_with_period_request_builder.go b/reports/get_teams_device_usage_total_user_counts_with_period_request_builder.go index 7023f978380..d3f3f441ce4 100644 --- a/reports/get_teams_device_usage_total_user_counts_with_period_request_builder.go +++ b/reports/get_teams_device_usage_total_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetTeamsDeviceUsageTotalUserCountsWithPeriodRequestBuilder) ToGetReques } 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 *GetTeamsDeviceUsageTotalUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetTeamsDeviceUsageTotalUserCountsWithPeriodRequestBuilder) { + return NewGetTeamsDeviceUsageTotalUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_teams_device_usage_user_counts_with_period_request_builder.go b/reports/get_teams_device_usage_user_counts_with_period_request_builder.go index 9f197b056fd..064ed00914e 100644 --- a/reports/get_teams_device_usage_user_counts_with_period_request_builder.go +++ b/reports/get_teams_device_usage_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetTeamsDeviceUsageUserCountsWithPeriodRequestBuilder) ToGetRequestInfo } 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 *GetTeamsDeviceUsageUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetTeamsDeviceUsageUserCountsWithPeriodRequestBuilder) { + return NewGetTeamsDeviceUsageUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_teams_device_usage_user_detail_with_date_request_builder.go b/reports/get_teams_device_usage_user_detail_with_date_request_builder.go index 7e1680e6664..878964770f8 100644 --- a/reports/get_teams_device_usage_user_detail_with_date_request_builder.go +++ b/reports/get_teams_device_usage_user_detail_with_date_request_builder.go @@ -65,3 +65,7 @@ func (m *GetTeamsDeviceUsageUserDetailWithDateRequestBuilder) ToGetRequestInform } 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 *GetTeamsDeviceUsageUserDetailWithDateRequestBuilder) WithUrl(rawUrl string)(*GetTeamsDeviceUsageUserDetailWithDateRequestBuilder) { + return NewGetTeamsDeviceUsageUserDetailWithDateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_teams_device_usage_user_detail_with_period_request_builder.go b/reports/get_teams_device_usage_user_detail_with_period_request_builder.go index 6cf6e29e541..59a9e82c886 100644 --- a/reports/get_teams_device_usage_user_detail_with_period_request_builder.go +++ b/reports/get_teams_device_usage_user_detail_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetTeamsDeviceUsageUserDetailWithPeriodRequestBuilder) ToGetRequestInfo } 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 *GetTeamsDeviceUsageUserDetailWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetTeamsDeviceUsageUserDetailWithPeriodRequestBuilder) { + return NewGetTeamsDeviceUsageUserDetailWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_teams_team_activity_counts_with_period_request_builder.go b/reports/get_teams_team_activity_counts_with_period_request_builder.go index 835ea74a89d..c11db58955f 100644 --- a/reports/get_teams_team_activity_counts_with_period_request_builder.go +++ b/reports/get_teams_team_activity_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetTeamsTeamActivityCountsWithPeriodRequestBuilder) ToGetRequestInforma } 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 *GetTeamsTeamActivityCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetTeamsTeamActivityCountsWithPeriodRequestBuilder) { + return NewGetTeamsTeamActivityCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_teams_team_activity_detail_with_date_request_builder.go b/reports/get_teams_team_activity_detail_with_date_request_builder.go index 3e877756901..5a2144c5cc7 100644 --- a/reports/get_teams_team_activity_detail_with_date_request_builder.go +++ b/reports/get_teams_team_activity_detail_with_date_request_builder.go @@ -65,3 +65,7 @@ func (m *GetTeamsTeamActivityDetailWithDateRequestBuilder) ToGetRequestInformati } 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 *GetTeamsTeamActivityDetailWithDateRequestBuilder) WithUrl(rawUrl string)(*GetTeamsTeamActivityDetailWithDateRequestBuilder) { + return NewGetTeamsTeamActivityDetailWithDateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_teams_team_activity_detail_with_period_request_builder.go b/reports/get_teams_team_activity_detail_with_period_request_builder.go index 59b990012db..c084ea4c032 100644 --- a/reports/get_teams_team_activity_detail_with_period_request_builder.go +++ b/reports/get_teams_team_activity_detail_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetTeamsTeamActivityDetailWithPeriodRequestBuilder) ToGetRequestInforma } 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 *GetTeamsTeamActivityDetailWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetTeamsTeamActivityDetailWithPeriodRequestBuilder) { + return NewGetTeamsTeamActivityDetailWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_teams_team_activity_distribution_counts_with_period_request_builder.go b/reports/get_teams_team_activity_distribution_counts_with_period_request_builder.go index 6836a81f199..f15635c35ad 100644 --- a/reports/get_teams_team_activity_distribution_counts_with_period_request_builder.go +++ b/reports/get_teams_team_activity_distribution_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetTeamsTeamActivityDistributionCountsWithPeriodRequestBuilder) ToGetRe } 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 *GetTeamsTeamActivityDistributionCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetTeamsTeamActivityDistributionCountsWithPeriodRequestBuilder) { + return NewGetTeamsTeamActivityDistributionCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_teams_team_counts_with_period_request_builder.go b/reports/get_teams_team_counts_with_period_request_builder.go index e5cbd0e91af..a22e3ae638d 100644 --- a/reports/get_teams_team_counts_with_period_request_builder.go +++ b/reports/get_teams_team_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetTeamsTeamCountsWithPeriodRequestBuilder) ToGetRequestInformation(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 *GetTeamsTeamCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetTeamsTeamCountsWithPeriodRequestBuilder) { + return NewGetTeamsTeamCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_teams_user_activity_counts_with_period_request_builder.go b/reports/get_teams_user_activity_counts_with_period_request_builder.go index e43a735c635..d0aa835d9fc 100644 --- a/reports/get_teams_user_activity_counts_with_period_request_builder.go +++ b/reports/get_teams_user_activity_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetTeamsUserActivityCountsWithPeriodRequestBuilder) ToGetRequestInforma } 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 *GetTeamsUserActivityCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetTeamsUserActivityCountsWithPeriodRequestBuilder) { + return NewGetTeamsUserActivityCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_teams_user_activity_distribution_total_user_counts_with_period_request_builder.go b/reports/get_teams_user_activity_distribution_total_user_counts_with_period_request_builder.go index a313f7cff05..adc3dbe0406 100644 --- a/reports/get_teams_user_activity_distribution_total_user_counts_with_period_request_builder.go +++ b/reports/get_teams_user_activity_distribution_total_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetTeamsUserActivityDistributionTotalUserCountsWithPeriodRequestBuilder } 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 *GetTeamsUserActivityDistributionTotalUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetTeamsUserActivityDistributionTotalUserCountsWithPeriodRequestBuilder) { + return NewGetTeamsUserActivityDistributionTotalUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_teams_user_activity_distribution_user_counts_with_period_request_builder.go b/reports/get_teams_user_activity_distribution_user_counts_with_period_request_builder.go index 5375ed0102c..90c242ac09a 100644 --- a/reports/get_teams_user_activity_distribution_user_counts_with_period_request_builder.go +++ b/reports/get_teams_user_activity_distribution_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetTeamsUserActivityDistributionUserCountsWithPeriodRequestBuilder) ToG } 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 *GetTeamsUserActivityDistributionUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetTeamsUserActivityDistributionUserCountsWithPeriodRequestBuilder) { + return NewGetTeamsUserActivityDistributionUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_teams_user_activity_total_counts_with_period_request_builder.go b/reports/get_teams_user_activity_total_counts_with_period_request_builder.go index b5ce9418f60..05d99d0b233 100644 --- a/reports/get_teams_user_activity_total_counts_with_period_request_builder.go +++ b/reports/get_teams_user_activity_total_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetTeamsUserActivityTotalCountsWithPeriodRequestBuilder) ToGetRequestIn } 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 *GetTeamsUserActivityTotalCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetTeamsUserActivityTotalCountsWithPeriodRequestBuilder) { + return NewGetTeamsUserActivityTotalCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_teams_user_activity_total_distribution_counts_with_period_request_builder.go b/reports/get_teams_user_activity_total_distribution_counts_with_period_request_builder.go index 43b9d321f12..2b798145a6c 100644 --- a/reports/get_teams_user_activity_total_distribution_counts_with_period_request_builder.go +++ b/reports/get_teams_user_activity_total_distribution_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetTeamsUserActivityTotalDistributionCountsWithPeriodRequestBuilder) To } 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 *GetTeamsUserActivityTotalDistributionCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetTeamsUserActivityTotalDistributionCountsWithPeriodRequestBuilder) { + return NewGetTeamsUserActivityTotalDistributionCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_teams_user_activity_total_user_counts_with_period_request_builder.go b/reports/get_teams_user_activity_total_user_counts_with_period_request_builder.go index b8424beee1d..0c4aa756079 100644 --- a/reports/get_teams_user_activity_total_user_counts_with_period_request_builder.go +++ b/reports/get_teams_user_activity_total_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetTeamsUserActivityTotalUserCountsWithPeriodRequestBuilder) ToGetReque } 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 *GetTeamsUserActivityTotalUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetTeamsUserActivityTotalUserCountsWithPeriodRequestBuilder) { + return NewGetTeamsUserActivityTotalUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_teams_user_activity_user_counts_with_period_request_builder.go b/reports/get_teams_user_activity_user_counts_with_period_request_builder.go index 9953f2d9812..632ee60b136 100644 --- a/reports/get_teams_user_activity_user_counts_with_period_request_builder.go +++ b/reports/get_teams_user_activity_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetTeamsUserActivityUserCountsWithPeriodRequestBuilder) ToGetRequestInf } 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 *GetTeamsUserActivityUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetTeamsUserActivityUserCountsWithPeriodRequestBuilder) { + return NewGetTeamsUserActivityUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_teams_user_activity_user_detail_with_date_request_builder.go b/reports/get_teams_user_activity_user_detail_with_date_request_builder.go index 987cf3f6f9d..9b685d2dbee 100644 --- a/reports/get_teams_user_activity_user_detail_with_date_request_builder.go +++ b/reports/get_teams_user_activity_user_detail_with_date_request_builder.go @@ -65,3 +65,7 @@ func (m *GetTeamsUserActivityUserDetailWithDateRequestBuilder) ToGetRequestInfor } 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 *GetTeamsUserActivityUserDetailWithDateRequestBuilder) WithUrl(rawUrl string)(*GetTeamsUserActivityUserDetailWithDateRequestBuilder) { + return NewGetTeamsUserActivityUserDetailWithDateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_teams_user_activity_user_detail_with_period_request_builder.go b/reports/get_teams_user_activity_user_detail_with_period_request_builder.go index e7180c40dcb..f9180ce7a2b 100644 --- a/reports/get_teams_user_activity_user_detail_with_period_request_builder.go +++ b/reports/get_teams_user_activity_user_detail_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetTeamsUserActivityUserDetailWithPeriodRequestBuilder) ToGetRequestInf } 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 *GetTeamsUserActivityUserDetailWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetTeamsUserActivityUserDetailWithPeriodRequestBuilder) { + return NewGetTeamsUserActivityUserDetailWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time_request_builder.go b/reports/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time_request_builder.go index 71efaa26856..95d8528401d 100644 --- a/reports/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time_request_builder.go +++ b/reports/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time_request_builder.go @@ -90,3 +90,7 @@ func (m *GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeReque } 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 *GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewGetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_yammer_activity_counts_with_period_request_builder.go b/reports/get_yammer_activity_counts_with_period_request_builder.go index 01f2638675f..553b2fc03a1 100644 --- a/reports/get_yammer_activity_counts_with_period_request_builder.go +++ b/reports/get_yammer_activity_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetYammerActivityCountsWithPeriodRequestBuilder) 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 *GetYammerActivityCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetYammerActivityCountsWithPeriodRequestBuilder) { + return NewGetYammerActivityCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_yammer_activity_user_counts_with_period_request_builder.go b/reports/get_yammer_activity_user_counts_with_period_request_builder.go index 3a33c2ab807..415c586cf00 100644 --- a/reports/get_yammer_activity_user_counts_with_period_request_builder.go +++ b/reports/get_yammer_activity_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetYammerActivityUserCountsWithPeriodRequestBuilder) ToGetRequestInform } 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 *GetYammerActivityUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetYammerActivityUserCountsWithPeriodRequestBuilder) { + return NewGetYammerActivityUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_yammer_activity_user_detail_with_date_request_builder.go b/reports/get_yammer_activity_user_detail_with_date_request_builder.go index d5a06504310..ed567619f67 100644 --- a/reports/get_yammer_activity_user_detail_with_date_request_builder.go +++ b/reports/get_yammer_activity_user_detail_with_date_request_builder.go @@ -65,3 +65,7 @@ func (m *GetYammerActivityUserDetailWithDateRequestBuilder) ToGetRequestInformat } 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 *GetYammerActivityUserDetailWithDateRequestBuilder) WithUrl(rawUrl string)(*GetYammerActivityUserDetailWithDateRequestBuilder) { + return NewGetYammerActivityUserDetailWithDateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_yammer_activity_user_detail_with_period_request_builder.go b/reports/get_yammer_activity_user_detail_with_period_request_builder.go index d2d02e38b02..cf88d8c505e 100644 --- a/reports/get_yammer_activity_user_detail_with_period_request_builder.go +++ b/reports/get_yammer_activity_user_detail_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetYammerActivityUserDetailWithPeriodRequestBuilder) ToGetRequestInform } 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 *GetYammerActivityUserDetailWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetYammerActivityUserDetailWithPeriodRequestBuilder) { + return NewGetYammerActivityUserDetailWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_yammer_device_usage_distribution_user_counts_with_period_request_builder.go b/reports/get_yammer_device_usage_distribution_user_counts_with_period_request_builder.go index b1475e6d091..eb356e907dc 100644 --- a/reports/get_yammer_device_usage_distribution_user_counts_with_period_request_builder.go +++ b/reports/get_yammer_device_usage_distribution_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetYammerDeviceUsageDistributionUserCountsWithPeriodRequestBuilder) ToG } 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 *GetYammerDeviceUsageDistributionUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetYammerDeviceUsageDistributionUserCountsWithPeriodRequestBuilder) { + return NewGetYammerDeviceUsageDistributionUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_yammer_device_usage_user_counts_with_period_request_builder.go b/reports/get_yammer_device_usage_user_counts_with_period_request_builder.go index 417f35fbe42..6e23083b9f3 100644 --- a/reports/get_yammer_device_usage_user_counts_with_period_request_builder.go +++ b/reports/get_yammer_device_usage_user_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetYammerDeviceUsageUserCountsWithPeriodRequestBuilder) ToGetRequestInf } 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 *GetYammerDeviceUsageUserCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetYammerDeviceUsageUserCountsWithPeriodRequestBuilder) { + return NewGetYammerDeviceUsageUserCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_yammer_device_usage_user_detail_with_date_request_builder.go b/reports/get_yammer_device_usage_user_detail_with_date_request_builder.go index f8c7569b487..790b1449b93 100644 --- a/reports/get_yammer_device_usage_user_detail_with_date_request_builder.go +++ b/reports/get_yammer_device_usage_user_detail_with_date_request_builder.go @@ -65,3 +65,7 @@ func (m *GetYammerDeviceUsageUserDetailWithDateRequestBuilder) ToGetRequestInfor } 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 *GetYammerDeviceUsageUserDetailWithDateRequestBuilder) WithUrl(rawUrl string)(*GetYammerDeviceUsageUserDetailWithDateRequestBuilder) { + return NewGetYammerDeviceUsageUserDetailWithDateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_yammer_device_usage_user_detail_with_period_request_builder.go b/reports/get_yammer_device_usage_user_detail_with_period_request_builder.go index 014c4eca115..efac7319323 100644 --- a/reports/get_yammer_device_usage_user_detail_with_period_request_builder.go +++ b/reports/get_yammer_device_usage_user_detail_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetYammerDeviceUsageUserDetailWithPeriodRequestBuilder) ToGetRequestInf } 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 *GetYammerDeviceUsageUserDetailWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetYammerDeviceUsageUserDetailWithPeriodRequestBuilder) { + return NewGetYammerDeviceUsageUserDetailWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_yammer_groups_activity_counts_with_period_request_builder.go b/reports/get_yammer_groups_activity_counts_with_period_request_builder.go index 7bbf0d7be65..4bc2360a246 100644 --- a/reports/get_yammer_groups_activity_counts_with_period_request_builder.go +++ b/reports/get_yammer_groups_activity_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetYammerGroupsActivityCountsWithPeriodRequestBuilder) ToGetRequestInfo } 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 *GetYammerGroupsActivityCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetYammerGroupsActivityCountsWithPeriodRequestBuilder) { + return NewGetYammerGroupsActivityCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_yammer_groups_activity_detail_with_date_request_builder.go b/reports/get_yammer_groups_activity_detail_with_date_request_builder.go index 6d1ed26f4ef..0b5bad4738d 100644 --- a/reports/get_yammer_groups_activity_detail_with_date_request_builder.go +++ b/reports/get_yammer_groups_activity_detail_with_date_request_builder.go @@ -65,3 +65,7 @@ func (m *GetYammerGroupsActivityDetailWithDateRequestBuilder) ToGetRequestInform } 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 *GetYammerGroupsActivityDetailWithDateRequestBuilder) WithUrl(rawUrl string)(*GetYammerGroupsActivityDetailWithDateRequestBuilder) { + return NewGetYammerGroupsActivityDetailWithDateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_yammer_groups_activity_detail_with_period_request_builder.go b/reports/get_yammer_groups_activity_detail_with_period_request_builder.go index 42a71be3936..abeb406b289 100644 --- a/reports/get_yammer_groups_activity_detail_with_period_request_builder.go +++ b/reports/get_yammer_groups_activity_detail_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetYammerGroupsActivityDetailWithPeriodRequestBuilder) ToGetRequestInfo } 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 *GetYammerGroupsActivityDetailWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetYammerGroupsActivityDetailWithPeriodRequestBuilder) { + return NewGetYammerGroupsActivityDetailWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/get_yammer_groups_activity_group_counts_with_period_request_builder.go b/reports/get_yammer_groups_activity_group_counts_with_period_request_builder.go index 95429441066..cf11bd9821a 100644 --- a/reports/get_yammer_groups_activity_group_counts_with_period_request_builder.go +++ b/reports/get_yammer_groups_activity_group_counts_with_period_request_builder.go @@ -64,3 +64,7 @@ func (m *GetYammerGroupsActivityGroupCountsWithPeriodRequestBuilder) ToGetReques } 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 *GetYammerGroupsActivityGroupCountsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*GetYammerGroupsActivityGroupCountsWithPeriodRequestBuilder) { + return NewGetYammerGroupsActivityGroupCountsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/managed_device_enrollment_abandonment_details_with_skip_with_top_with_filter_with_skip_token_request_builder.go b/reports/managed_device_enrollment_abandonment_details_with_skip_with_top_with_filter_with_skip_token_request_builder.go index febbde60942..3776fdb85e0 100644 --- a/reports/managed_device_enrollment_abandonment_details_with_skip_with_top_with_filter_with_skip_token_request_builder.go +++ b/reports/managed_device_enrollment_abandonment_details_with_skip_with_top_with_filter_with_skip_token_request_builder.go @@ -76,3 +76,7 @@ func (m *ManagedDeviceEnrollmentAbandonmentDetailsWithSkipWithTopWithFilterWithS } 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 *ManagedDeviceEnrollmentAbandonmentDetailsWithSkipWithTopWithFilterWithSkipTokenRequestBuilder) WithUrl(rawUrl string)(*ManagedDeviceEnrollmentAbandonmentDetailsWithSkipWithTopWithFilterWithSkipTokenRequestBuilder) { + return NewManagedDeviceEnrollmentAbandonmentDetailsWithSkipWithTopWithFilterWithSkipTokenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/managed_device_enrollment_abandonment_summary_with_skip_with_top_with_filter_with_skip_token_request_builder.go b/reports/managed_device_enrollment_abandonment_summary_with_skip_with_top_with_filter_with_skip_token_request_builder.go index 57835724dac..26e36e728f7 100644 --- a/reports/managed_device_enrollment_abandonment_summary_with_skip_with_top_with_filter_with_skip_token_request_builder.go +++ b/reports/managed_device_enrollment_abandonment_summary_with_skip_with_top_with_filter_with_skip_token_request_builder.go @@ -76,3 +76,7 @@ func (m *ManagedDeviceEnrollmentAbandonmentSummaryWithSkipWithTopWithFilterWithS } 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 *ManagedDeviceEnrollmentAbandonmentSummaryWithSkipWithTopWithFilterWithSkipTokenRequestBuilder) WithUrl(rawUrl string)(*ManagedDeviceEnrollmentAbandonmentSummaryWithSkipWithTopWithFilterWithSkipTokenRequestBuilder) { + return NewManagedDeviceEnrollmentAbandonmentSummaryWithSkipWithTopWithFilterWithSkipTokenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/managed_device_enrollment_failure_details_request_builder.go b/reports/managed_device_enrollment_failure_details_request_builder.go index ce9fad5f695..925092686d2 100644 --- a/reports/managed_device_enrollment_failure_details_request_builder.go +++ b/reports/managed_device_enrollment_failure_details_request_builder.go @@ -63,3 +63,7 @@ func (m *ManagedDeviceEnrollmentFailureDetailsRequestBuilder) ToGetRequestInform } 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 *ManagedDeviceEnrollmentFailureDetailsRequestBuilder) WithUrl(rawUrl string)(*ManagedDeviceEnrollmentFailureDetailsRequestBuilder) { + return NewManagedDeviceEnrollmentFailureDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/managed_device_enrollment_failure_details_with_skip_with_top_with_filter_with_skip_token_request_builder.go b/reports/managed_device_enrollment_failure_details_with_skip_with_top_with_filter_with_skip_token_request_builder.go index 483095fad9d..ae499d5c970 100644 --- a/reports/managed_device_enrollment_failure_details_with_skip_with_top_with_filter_with_skip_token_request_builder.go +++ b/reports/managed_device_enrollment_failure_details_with_skip_with_top_with_filter_with_skip_token_request_builder.go @@ -76,3 +76,7 @@ func (m *ManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipT } 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 *ManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipTokenRequestBuilder) WithUrl(rawUrl string)(*ManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipTokenRequestBuilder) { + return NewManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipTokenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/managed_device_enrollment_failure_trends_request_builder.go b/reports/managed_device_enrollment_failure_trends_request_builder.go index b811bd36d40..263759fe7eb 100644 --- a/reports/managed_device_enrollment_failure_trends_request_builder.go +++ b/reports/managed_device_enrollment_failure_trends_request_builder.go @@ -63,3 +63,7 @@ func (m *ManagedDeviceEnrollmentFailureTrendsRequestBuilder) ToGetRequestInforma } 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 *ManagedDeviceEnrollmentFailureTrendsRequestBuilder) WithUrl(rawUrl string)(*ManagedDeviceEnrollmentFailureTrendsRequestBuilder) { + return NewManagedDeviceEnrollmentFailureTrendsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/managed_device_enrollment_top_failures_request_builder.go b/reports/managed_device_enrollment_top_failures_request_builder.go index 6f5fdd9c9fc..56d984baedc 100644 --- a/reports/managed_device_enrollment_top_failures_request_builder.go +++ b/reports/managed_device_enrollment_top_failures_request_builder.go @@ -63,3 +63,7 @@ func (m *ManagedDeviceEnrollmentTopFailuresRequestBuilder) ToGetRequestInformati } 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 *ManagedDeviceEnrollmentTopFailuresRequestBuilder) WithUrl(rawUrl string)(*ManagedDeviceEnrollmentTopFailuresRequestBuilder) { + return NewManagedDeviceEnrollmentTopFailuresRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/managed_device_enrollment_top_failures_with_period_request_builder.go b/reports/managed_device_enrollment_top_failures_with_period_request_builder.go index 0a6f896e587..f47f695110b 100644 --- a/reports/managed_device_enrollment_top_failures_with_period_request_builder.go +++ b/reports/managed_device_enrollment_top_failures_with_period_request_builder.go @@ -66,3 +66,7 @@ func (m *ManagedDeviceEnrollmentTopFailuresWithPeriodRequestBuilder) ToGetReques } 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 *ManagedDeviceEnrollmentTopFailuresWithPeriodRequestBuilder) WithUrl(rawUrl string)(*ManagedDeviceEnrollmentTopFailuresWithPeriodRequestBuilder) { + return NewManagedDeviceEnrollmentTopFailuresWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/monthly_print_usage_by_printer_count_request_builder.go b/reports/monthly_print_usage_by_printer_count_request_builder.go index 7175d80417d..806f9fcb535 100644 --- a/reports/monthly_print_usage_by_printer_count_request_builder.go +++ b/reports/monthly_print_usage_by_printer_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MonthlyPrintUsageByPrinterCountRequestBuilder) 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 *MonthlyPrintUsageByPrinterCountRequestBuilder) WithUrl(rawUrl string)(*MonthlyPrintUsageByPrinterCountRequestBuilder) { + return NewMonthlyPrintUsageByPrinterCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/monthly_print_usage_by_printer_print_usage_by_printer_item_request_builder.go b/reports/monthly_print_usage_by_printer_print_usage_by_printer_item_request_builder.go index e8608ecc265..ab1c84782eb 100644 --- a/reports/monthly_print_usage_by_printer_print_usage_by_printer_item_request_builder.go +++ b/reports/monthly_print_usage_by_printer_print_usage_by_printer_item_request_builder.go @@ -153,3 +153,7 @@ func (m *MonthlyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilder) ToPatc } 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 *MonthlyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilder) WithUrl(rawUrl string)(*MonthlyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilder) { + return NewMonthlyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/monthly_print_usage_by_printer_request_builder.go b/reports/monthly_print_usage_by_printer_request_builder.go index d7d6a33e721..f17fe401b66 100644 --- a/reports/monthly_print_usage_by_printer_request_builder.go +++ b/reports/monthly_print_usage_by_printer_request_builder.go @@ -46,8 +46,8 @@ type MonthlyPrintUsageByPrinterRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintUsageByPrinterIdString provides operations to manage the monthlyPrintUsageByPrinter property of the microsoft.graph.reportRoot entity. -func (m *MonthlyPrintUsageByPrinterRequestBuilder) ByPrintUsageByPrinterIdString(printUsageByPrinterId string)(*MonthlyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilder) { +// ByPrintUsageByPrinterId provides operations to manage the monthlyPrintUsageByPrinter property of the microsoft.graph.reportRoot entity. +func (m *MonthlyPrintUsageByPrinterRequestBuilder) ByPrintUsageByPrinterId(printUsageByPrinterId string)(*MonthlyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *MonthlyPrintUsageByPrinterRequestBuilder) 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 *MonthlyPrintUsageByPrinterRequestBuilder) WithUrl(rawUrl string)(*MonthlyPrintUsageByPrinterRequestBuilder) { + return NewMonthlyPrintUsageByPrinterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/monthly_print_usage_by_user_count_request_builder.go b/reports/monthly_print_usage_by_user_count_request_builder.go index 11f6678d9fb..44ede3e5cd7 100644 --- a/reports/monthly_print_usage_by_user_count_request_builder.go +++ b/reports/monthly_print_usage_by_user_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MonthlyPrintUsageByUserCountRequestBuilder) ToGetRequestInformation(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 *MonthlyPrintUsageByUserCountRequestBuilder) WithUrl(rawUrl string)(*MonthlyPrintUsageByUserCountRequestBuilder) { + return NewMonthlyPrintUsageByUserCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/monthly_print_usage_by_user_print_usage_by_user_item_request_builder.go b/reports/monthly_print_usage_by_user_print_usage_by_user_item_request_builder.go index 0ec9f4b0e0f..20b8e72fa78 100644 --- a/reports/monthly_print_usage_by_user_print_usage_by_user_item_request_builder.go +++ b/reports/monthly_print_usage_by_user_print_usage_by_user_item_request_builder.go @@ -153,3 +153,7 @@ func (m *MonthlyPrintUsageByUserPrintUsageByUserItemRequestBuilder) ToPatchReque } 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 *MonthlyPrintUsageByUserPrintUsageByUserItemRequestBuilder) WithUrl(rawUrl string)(*MonthlyPrintUsageByUserPrintUsageByUserItemRequestBuilder) { + return NewMonthlyPrintUsageByUserPrintUsageByUserItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/monthly_print_usage_by_user_request_builder.go b/reports/monthly_print_usage_by_user_request_builder.go index c2b67158460..551d7903913 100644 --- a/reports/monthly_print_usage_by_user_request_builder.go +++ b/reports/monthly_print_usage_by_user_request_builder.go @@ -46,8 +46,8 @@ type MonthlyPrintUsageByUserRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintUsageByUserIdString provides operations to manage the monthlyPrintUsageByUser property of the microsoft.graph.reportRoot entity. -func (m *MonthlyPrintUsageByUserRequestBuilder) ByPrintUsageByUserIdString(printUsageByUserId string)(*MonthlyPrintUsageByUserPrintUsageByUserItemRequestBuilder) { +// ByPrintUsageByUserId provides operations to manage the monthlyPrintUsageByUser property of the microsoft.graph.reportRoot entity. +func (m *MonthlyPrintUsageByUserRequestBuilder) ByPrintUsageByUserId(printUsageByUserId string)(*MonthlyPrintUsageByUserPrintUsageByUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *MonthlyPrintUsageByUserRequestBuilder) ToPostRequestInformation(ctx con } 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 *MonthlyPrintUsageByUserRequestBuilder) WithUrl(rawUrl string)(*MonthlyPrintUsageByUserRequestBuilder) { + return NewMonthlyPrintUsageByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/monthly_print_usage_summaries_by_printer_count_request_builder.go b/reports/monthly_print_usage_summaries_by_printer_count_request_builder.go index 9657a1c1ce3..a2acfa92c5a 100644 --- a/reports/monthly_print_usage_summaries_by_printer_count_request_builder.go +++ b/reports/monthly_print_usage_summaries_by_printer_count_request_builder.go @@ -76,3 +76,8 @@ func (m *MonthlyPrintUsageSummariesByPrinterCountRequestBuilder) ToGetRequestInf } 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. +// Deprecated: The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *MonthlyPrintUsageSummariesByPrinterCountRequestBuilder) WithUrl(rawUrl string)(*MonthlyPrintUsageSummariesByPrinterCountRequestBuilder) { + return NewMonthlyPrintUsageSummariesByPrinterCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/monthly_print_usage_summaries_by_printer_print_usage_by_printer_item_request_builder.go b/reports/monthly_print_usage_summaries_by_printer_print_usage_by_printer_item_request_builder.go index 041e6cc0891..176e2e49bc2 100644 --- a/reports/monthly_print_usage_summaries_by_printer_print_usage_by_printer_item_request_builder.go +++ b/reports/monthly_print_usage_summaries_by_printer_print_usage_by_printer_item_request_builder.go @@ -159,3 +159,8 @@ func (m *MonthlyPrintUsageSummariesByPrinterPrintUsageByPrinterItemRequestBuilde } 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. +// Deprecated: The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *MonthlyPrintUsageSummariesByPrinterPrintUsageByPrinterItemRequestBuilder) WithUrl(rawUrl string)(*MonthlyPrintUsageSummariesByPrinterPrintUsageByPrinterItemRequestBuilder) { + return NewMonthlyPrintUsageSummariesByPrinterPrintUsageByPrinterItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/monthly_print_usage_summaries_by_printer_request_builder.go b/reports/monthly_print_usage_summaries_by_printer_request_builder.go index 657622d3206..5bde109a544 100644 --- a/reports/monthly_print_usage_summaries_by_printer_request_builder.go +++ b/reports/monthly_print_usage_summaries_by_printer_request_builder.go @@ -46,9 +46,9 @@ type MonthlyPrintUsageSummariesByPrinterRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintUsageByPrinterIdString provides operations to manage the monthlyPrintUsageSummariesByPrinter property of the microsoft.graph.reportRoot entity. +// ByPrintUsageByPrinterId provides operations to manage the monthlyPrintUsageSummariesByPrinter property of the microsoft.graph.reportRoot entity. // Deprecated: The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 -func (m *MonthlyPrintUsageSummariesByPrinterRequestBuilder) ByPrintUsageByPrinterIdString(printUsageByPrinterId string)(*MonthlyPrintUsageSummariesByPrinterPrintUsageByPrinterItemRequestBuilder) { +func (m *MonthlyPrintUsageSummariesByPrinterRequestBuilder) ByPrintUsageByPrinterId(printUsageByPrinterId string)(*MonthlyPrintUsageSummariesByPrinterPrintUsageByPrinterItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *MonthlyPrintUsageSummariesByPrinterRequestBuilder) ToPostRequestInforma } 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. +// Deprecated: The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *MonthlyPrintUsageSummariesByPrinterRequestBuilder) WithUrl(rawUrl string)(*MonthlyPrintUsageSummariesByPrinterRequestBuilder) { + return NewMonthlyPrintUsageSummariesByPrinterRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/monthly_print_usage_summaries_by_user_count_request_builder.go b/reports/monthly_print_usage_summaries_by_user_count_request_builder.go index 31acfb96183..5dcaf3f512a 100644 --- a/reports/monthly_print_usage_summaries_by_user_count_request_builder.go +++ b/reports/monthly_print_usage_summaries_by_user_count_request_builder.go @@ -76,3 +76,8 @@ func (m *MonthlyPrintUsageSummariesByUserCountRequestBuilder) ToGetRequestInform } 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. +// Deprecated: The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *MonthlyPrintUsageSummariesByUserCountRequestBuilder) WithUrl(rawUrl string)(*MonthlyPrintUsageSummariesByUserCountRequestBuilder) { + return NewMonthlyPrintUsageSummariesByUserCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/monthly_print_usage_summaries_by_user_print_usage_by_user_item_request_builder.go b/reports/monthly_print_usage_summaries_by_user_print_usage_by_user_item_request_builder.go index cf1d9f4574b..d912b8ae7ae 100644 --- a/reports/monthly_print_usage_summaries_by_user_print_usage_by_user_item_request_builder.go +++ b/reports/monthly_print_usage_summaries_by_user_print_usage_by_user_item_request_builder.go @@ -159,3 +159,8 @@ func (m *MonthlyPrintUsageSummariesByUserPrintUsageByUserItemRequestBuilder) 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. +// Deprecated: The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *MonthlyPrintUsageSummariesByUserPrintUsageByUserItemRequestBuilder) WithUrl(rawUrl string)(*MonthlyPrintUsageSummariesByUserPrintUsageByUserItemRequestBuilder) { + return NewMonthlyPrintUsageSummariesByUserPrintUsageByUserItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/monthly_print_usage_summaries_by_user_request_builder.go b/reports/monthly_print_usage_summaries_by_user_request_builder.go index dd240028d28..9c3d4d7b728 100644 --- a/reports/monthly_print_usage_summaries_by_user_request_builder.go +++ b/reports/monthly_print_usage_summaries_by_user_request_builder.go @@ -46,9 +46,9 @@ type MonthlyPrintUsageSummariesByUserRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPrintUsageByUserIdString provides operations to manage the monthlyPrintUsageSummariesByUser property of the microsoft.graph.reportRoot entity. +// ByPrintUsageByUserId provides operations to manage the monthlyPrintUsageSummariesByUser property of the microsoft.graph.reportRoot entity. // Deprecated: The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 -func (m *MonthlyPrintUsageSummariesByUserRequestBuilder) ByPrintUsageByUserIdString(printUsageByUserId string)(*MonthlyPrintUsageSummariesByUserPrintUsageByUserItemRequestBuilder) { +func (m *MonthlyPrintUsageSummariesByUserRequestBuilder) ByPrintUsageByUserId(printUsageByUserId string)(*MonthlyPrintUsageSummariesByUserPrintUsageByUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *MonthlyPrintUsageSummariesByUserRequestBuilder) ToPostRequestInformatio } 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. +// Deprecated: The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 +func (m *MonthlyPrintUsageSummariesByUserRequestBuilder) WithUrl(rawUrl string)(*MonthlyPrintUsageSummariesByUserRequestBuilder) { + return NewMonthlyPrintUsageSummariesByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/reports_request_builder.go b/reports/reports_request_builder.go index c1cd894cd22..66f9a611a8d 100644 --- a/reports/reports_request_builder.go +++ b/reports/reports_request_builder.go @@ -688,3 +688,7 @@ func (m *ReportsRequestBuilder) ToPatchRequestInformation(ctx context.Context, b func (m *ReportsRequestBuilder) UserCredentialUsageDetails()(*UserCredentialUsageDetailsRequestBuilder) { return NewUserCredentialUsageDetailsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ReportsRequestBuilder) WithUrl(rawUrl string)(*ReportsRequestBuilder) { + return NewReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/security_get_attack_simulation_repeat_offenders_request_builder.go b/reports/security_get_attack_simulation_repeat_offenders_request_builder.go index 3df030d2f12..61cb90ad49d 100644 --- a/reports/security_get_attack_simulation_repeat_offenders_request_builder.go +++ b/reports/security_get_attack_simulation_repeat_offenders_request_builder.go @@ -80,3 +80,7 @@ func (m *SecurityGetAttackSimulationRepeatOffendersRequestBuilder) ToGetRequestI } 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 *SecurityGetAttackSimulationRepeatOffendersRequestBuilder) WithUrl(rawUrl string)(*SecurityGetAttackSimulationRepeatOffendersRequestBuilder) { + return NewSecurityGetAttackSimulationRepeatOffendersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/security_get_attack_simulation_simulation_user_coverage_request_builder.go b/reports/security_get_attack_simulation_simulation_user_coverage_request_builder.go index edda99fba48..0018a51a18b 100644 --- a/reports/security_get_attack_simulation_simulation_user_coverage_request_builder.go +++ b/reports/security_get_attack_simulation_simulation_user_coverage_request_builder.go @@ -80,3 +80,7 @@ func (m *SecurityGetAttackSimulationSimulationUserCoverageRequestBuilder) ToGetR } 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 *SecurityGetAttackSimulationSimulationUserCoverageRequestBuilder) WithUrl(rawUrl string)(*SecurityGetAttackSimulationSimulationUserCoverageRequestBuilder) { + return NewSecurityGetAttackSimulationSimulationUserCoverageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/security_get_attack_simulation_training_user_coverage_request_builder.go b/reports/security_get_attack_simulation_training_user_coverage_request_builder.go index 00c07512277..4929f7f4a34 100644 --- a/reports/security_get_attack_simulation_training_user_coverage_request_builder.go +++ b/reports/security_get_attack_simulation_training_user_coverage_request_builder.go @@ -80,3 +80,7 @@ func (m *SecurityGetAttackSimulationTrainingUserCoverageRequestBuilder) ToGetReq } 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 *SecurityGetAttackSimulationTrainingUserCoverageRequestBuilder) WithUrl(rawUrl string)(*SecurityGetAttackSimulationTrainingUserCoverageRequestBuilder) { + return NewSecurityGetAttackSimulationTrainingUserCoverageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/security_request_builder.go b/reports/security_request_builder.go index cbd4105616f..4833dfdc5ba 100644 --- a/reports/security_request_builder.go +++ b/reports/security_request_builder.go @@ -165,3 +165,7 @@ func (m *SecurityRequestBuilder) ToPatchRequestInformation(ctx context.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 *SecurityRequestBuilder) WithUrl(rawUrl string)(*SecurityRequestBuilder) { + return NewSecurityRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/service_principal_sign_in_activities_count_request_builder.go b/reports/service_principal_sign_in_activities_count_request_builder.go index 56063d6b712..57f61ba5259 100644 --- a/reports/service_principal_sign_in_activities_count_request_builder.go +++ b/reports/service_principal_sign_in_activities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ServicePrincipalSignInActivitiesCountRequestBuilder) ToGetRequestInform } 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 *ServicePrincipalSignInActivitiesCountRequestBuilder) WithUrl(rawUrl string)(*ServicePrincipalSignInActivitiesCountRequestBuilder) { + return NewServicePrincipalSignInActivitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/service_principal_sign_in_activities_request_builder.go b/reports/service_principal_sign_in_activities_request_builder.go index 4894d6d5a29..d43932d6f4d 100644 --- a/reports/service_principal_sign_in_activities_request_builder.go +++ b/reports/service_principal_sign_in_activities_request_builder.go @@ -46,8 +46,8 @@ type ServicePrincipalSignInActivitiesRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByServicePrincipalSignInActivityIdString provides operations to manage the servicePrincipalSignInActivities property of the microsoft.graph.reportRoot entity. -func (m *ServicePrincipalSignInActivitiesRequestBuilder) ByServicePrincipalSignInActivityIdString(servicePrincipalSignInActivityId string)(*ServicePrincipalSignInActivitiesServicePrincipalSignInActivityItemRequestBuilder) { +// ByServicePrincipalSignInActivityId provides operations to manage the servicePrincipalSignInActivities property of the microsoft.graph.reportRoot entity. +func (m *ServicePrincipalSignInActivitiesRequestBuilder) ByServicePrincipalSignInActivityId(servicePrincipalSignInActivityId string)(*ServicePrincipalSignInActivitiesServicePrincipalSignInActivityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ServicePrincipalSignInActivitiesRequestBuilder) ToPostRequestInformatio } 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 *ServicePrincipalSignInActivitiesRequestBuilder) WithUrl(rawUrl string)(*ServicePrincipalSignInActivitiesRequestBuilder) { + return NewServicePrincipalSignInActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/service_principal_sign_in_activities_service_principal_sign_in_activity_item_request_builder.go b/reports/service_principal_sign_in_activities_service_principal_sign_in_activity_item_request_builder.go index ed2817c413e..d55296c8517 100644 --- a/reports/service_principal_sign_in_activities_service_principal_sign_in_activity_item_request_builder.go +++ b/reports/service_principal_sign_in_activities_service_principal_sign_in_activity_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ServicePrincipalSignInActivitiesServicePrincipalSignInActivityItemReque } 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 *ServicePrincipalSignInActivitiesServicePrincipalSignInActivityItemRequestBuilder) WithUrl(rawUrl string)(*ServicePrincipalSignInActivitiesServicePrincipalSignInActivityItemRequestBuilder) { + return NewServicePrincipalSignInActivitiesServicePrincipalSignInActivityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/sla_azure_a_d_authentication_request_builder.go b/reports/sla_azure_a_d_authentication_request_builder.go index d9639128157..54b1cff434a 100644 --- a/reports/sla_azure_a_d_authentication_request_builder.go +++ b/reports/sla_azure_a_d_authentication_request_builder.go @@ -156,3 +156,7 @@ func (m *SlaAzureADAuthenticationRequestBuilder) 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 *SlaAzureADAuthenticationRequestBuilder) WithUrl(rawUrl string)(*SlaAzureADAuthenticationRequestBuilder) { + return NewSlaAzureADAuthenticationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/sla_request_builder.go b/reports/sla_request_builder.go index 19a29d362f0..bdeb459d347 100644 --- a/reports/sla_request_builder.go +++ b/reports/sla_request_builder.go @@ -157,3 +157,7 @@ func (m *SlaRequestBuilder) ToPatchRequestInformation(ctx context.Context, body } 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 *SlaRequestBuilder) WithUrl(rawUrl string)(*SlaRequestBuilder) { + return NewSlaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/user_credential_usage_details_count_request_builder.go b/reports/user_credential_usage_details_count_request_builder.go index addf3295521..402b587803b 100644 --- a/reports/user_credential_usage_details_count_request_builder.go +++ b/reports/user_credential_usage_details_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserCredentialUsageDetailsCountRequestBuilder) 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 *UserCredentialUsageDetailsCountRequestBuilder) WithUrl(rawUrl string)(*UserCredentialUsageDetailsCountRequestBuilder) { + return NewUserCredentialUsageDetailsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/user_credential_usage_details_request_builder.go b/reports/user_credential_usage_details_request_builder.go index 7d99ceef847..a3257249115 100644 --- a/reports/user_credential_usage_details_request_builder.go +++ b/reports/user_credential_usage_details_request_builder.go @@ -46,8 +46,8 @@ type UserCredentialUsageDetailsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserCredentialUsageDetailsIdString provides operations to manage the userCredentialUsageDetails property of the microsoft.graph.reportRoot entity. -func (m *UserCredentialUsageDetailsRequestBuilder) ByUserCredentialUsageDetailsIdString(userCredentialUsageDetailsId string)(*UserCredentialUsageDetailsUserCredentialUsageDetailsItemRequestBuilder) { +// ByUserCredentialUsageDetailsId provides operations to manage the userCredentialUsageDetails property of the microsoft.graph.reportRoot entity. +func (m *UserCredentialUsageDetailsRequestBuilder) ByUserCredentialUsageDetailsId(userCredentialUsageDetailsId string)(*UserCredentialUsageDetailsUserCredentialUsageDetailsItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *UserCredentialUsageDetailsRequestBuilder) 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 *UserCredentialUsageDetailsRequestBuilder) WithUrl(rawUrl string)(*UserCredentialUsageDetailsRequestBuilder) { + return NewUserCredentialUsageDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/reports/user_credential_usage_details_user_credential_usage_details_item_request_builder.go b/reports/user_credential_usage_details_user_credential_usage_details_item_request_builder.go index 8356e37acca..f2695206e75 100644 --- a/reports/user_credential_usage_details_user_credential_usage_details_item_request_builder.go +++ b/reports/user_credential_usage_details_user_credential_usage_details_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserCredentialUsageDetailsUserCredentialUsageDetailsItemRequestBuilder) } 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 *UserCredentialUsageDetailsUserCredentialUsageDetailsItemRequestBuilder) WithUrl(rawUrl string)(*UserCredentialUsageDetailsUserCredentialUsageDetailsItemRequestBuilder) { + return NewUserCredentialUsageDetailsUserCredentialUsageDetailsItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/riskdetections/risk_detection_item_request_builder.go b/riskdetections/risk_detection_item_request_builder.go index be0f56d0126..d181c0d0d52 100644 --- a/riskdetections/risk_detection_item_request_builder.go +++ b/riskdetections/risk_detection_item_request_builder.go @@ -153,3 +153,7 @@ func (m *RiskDetectionItemRequestBuilder) ToPatchRequestInformation(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 *RiskDetectionItemRequestBuilder) WithUrl(rawUrl string)(*RiskDetectionItemRequestBuilder) { + return NewRiskDetectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/riskdetections/risk_detections_request_builder.go b/riskdetections/risk_detections_request_builder.go index f33ed3fde1e..dfa7c1c674a 100644 --- a/riskdetections/risk_detections_request_builder.go +++ b/riskdetections/risk_detections_request_builder.go @@ -42,8 +42,8 @@ type RiskDetectionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRiskDetectionIdString provides operations to manage the collection of riskDetection entities. -func (m *RiskDetectionsRequestBuilder) ByRiskDetectionIdString(riskDetectionId string)(*RiskDetectionItemRequestBuilder) { +// ByRiskDetectionId provides operations to manage the collection of riskDetection entities. +func (m *RiskDetectionsRequestBuilder) ByRiskDetectionId(riskDetectionId string)(*RiskDetectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -140,3 +140,7 @@ func (m *RiskDetectionsRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *RiskDetectionsRequestBuilder) WithUrl(rawUrl string)(*RiskDetectionsRequestBuilder) { + return NewRiskDetectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/riskyusers/confirm_compromised_request_builder.go b/riskyusers/confirm_compromised_request_builder.go index 0d0230901d5..66510dd8583 100644 --- a/riskyusers/confirm_compromised_request_builder.go +++ b/riskyusers/confirm_compromised_request_builder.go @@ -65,3 +65,7 @@ func (m *ConfirmCompromisedRequestBuilder) 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 *ConfirmCompromisedRequestBuilder) WithUrl(rawUrl string)(*ConfirmCompromisedRequestBuilder) { + return NewConfirmCompromisedRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/riskyusers/count_request_builder.go b/riskyusers/count_request_builder.go index 1ccd643167e..846deec0849 100644 --- a/riskyusers/count_request_builder.go +++ b/riskyusers/count_request_builder.go @@ -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); +} diff --git a/riskyusers/dismiss_request_builder.go b/riskyusers/dismiss_request_builder.go index cf9c635b573..64bda2f880d 100644 --- a/riskyusers/dismiss_request_builder.go +++ b/riskyusers/dismiss_request_builder.go @@ -65,3 +65,7 @@ func (m *DismissRequestBuilder) ToPostRequestInformation(ctx context.Context, bo } 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 *DismissRequestBuilder) WithUrl(rawUrl string)(*DismissRequestBuilder) { + return NewDismissRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/riskyusers/item_history_count_request_builder.go b/riskyusers/item_history_count_request_builder.go index 017c25c8ed2..d3a453bf35b 100644 --- a/riskyusers/item_history_count_request_builder.go +++ b/riskyusers/item_history_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemHistoryCountRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *ItemHistoryCountRequestBuilder) WithUrl(rawUrl string)(*ItemHistoryCountRequestBuilder) { + return NewItemHistoryCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/riskyusers/item_history_request_builder.go b/riskyusers/item_history_request_builder.go index 828cc679b95..37f53477beb 100644 --- a/riskyusers/item_history_request_builder.go +++ b/riskyusers/item_history_request_builder.go @@ -46,8 +46,8 @@ type ItemHistoryRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRiskyUserHistoryItemIdString provides operations to manage the history property of the microsoft.graph.riskyUser entity. -func (m *ItemHistoryRequestBuilder) ByRiskyUserHistoryItemIdString(riskyUserHistoryItemId string)(*ItemHistoryRiskyUserHistoryItemItemRequestBuilder) { +// ByRiskyUserHistoryItemId provides operations to manage the history property of the microsoft.graph.riskyUser entity. +func (m *ItemHistoryRequestBuilder) ByRiskyUserHistoryItemId(riskyUserHistoryItemId string)(*ItemHistoryRiskyUserHistoryItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemHistoryRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemHistoryRequestBuilder) WithUrl(rawUrl string)(*ItemHistoryRequestBuilder) { + return NewItemHistoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/riskyusers/item_history_risky_user_history_item_item_request_builder.go b/riskyusers/item_history_risky_user_history_item_item_request_builder.go index 5c2ef374b93..f3d377d7706 100644 --- a/riskyusers/item_history_risky_user_history_item_item_request_builder.go +++ b/riskyusers/item_history_risky_user_history_item_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemHistoryRiskyUserHistoryItemItemRequestBuilder) ToPatchRequestInform } 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 *ItemHistoryRiskyUserHistoryItemItemRequestBuilder) WithUrl(rawUrl string)(*ItemHistoryRiskyUserHistoryItemItemRequestBuilder) { + return NewItemHistoryRiskyUserHistoryItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/riskyusers/risky_user_item_request_builder.go b/riskyusers/risky_user_item_request_builder.go index a381fc39752..8ff75780762 100644 --- a/riskyusers/risky_user_item_request_builder.go +++ b/riskyusers/risky_user_item_request_builder.go @@ -160,3 +160,7 @@ func (m *RiskyUserItemRequestBuilder) ToPatchRequestInformation(ctx context.Cont } 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 *RiskyUserItemRequestBuilder) WithUrl(rawUrl string)(*RiskyUserItemRequestBuilder) { + return NewRiskyUserItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/riskyusers/risky_users_request_builder.go b/riskyusers/risky_users_request_builder.go index e9923e3fc4e..b538f645da9 100644 --- a/riskyusers/risky_users_request_builder.go +++ b/riskyusers/risky_users_request_builder.go @@ -46,8 +46,8 @@ type RiskyUsersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRiskyUserIdString provides operations to manage the collection of riskyUser entities. -func (m *RiskyUsersRequestBuilder) ByRiskyUserIdString(riskyUserId string)(*RiskyUserItemRequestBuilder) { +// ByRiskyUserId provides operations to manage the collection of riskyUser entities. +func (m *RiskyUsersRequestBuilder) ByRiskyUserId(riskyUserId string)(*RiskyUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *RiskyUsersRequestBuilder) ToPostRequestInformation(ctx context.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 *RiskyUsersRequestBuilder) WithUrl(rawUrl string)(*RiskyUsersRequestBuilder) { + return NewRiskyUsersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_request_builder.go b/rolemanagement/cloud_p_c_request_builder.go index fc641f1e516..db062133c09 100644 --- a/rolemanagement/cloud_p_c_request_builder.go +++ b/rolemanagement/cloud_p_c_request_builder.go @@ -165,3 +165,7 @@ func (m *CloudPCRequestBuilder) ToPatchRequestInformation(ctx context.Context, b } 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 *CloudPCRequestBuilder) WithUrl(rawUrl string)(*CloudPCRequestBuilder) { + return NewCloudPCRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_resource_namespaces_count_request_builder.go b/rolemanagement/cloud_p_c_resource_namespaces_count_request_builder.go index 16b44b404c9..67a035a3431 100644 --- a/rolemanagement/cloud_p_c_resource_namespaces_count_request_builder.go +++ b/rolemanagement/cloud_p_c_resource_namespaces_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CloudPCResourceNamespacesCountRequestBuilder) ToGetRequestInformation(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 *CloudPCResourceNamespacesCountRequestBuilder) WithUrl(rawUrl string)(*CloudPCResourceNamespacesCountRequestBuilder) { + return NewCloudPCResourceNamespacesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_resource_namespaces_item_import_resource_actions_request_builder.go b/rolemanagement/cloud_p_c_resource_namespaces_item_import_resource_actions_request_builder.go index 864438b186c..07decac3224 100644 --- a/rolemanagement/cloud_p_c_resource_namespaces_item_import_resource_actions_request_builder.go +++ b/rolemanagement/cloud_p_c_resource_namespaces_item_import_resource_actions_request_builder.go @@ -67,3 +67,7 @@ func (m *CloudPCResourceNamespacesItemImportResourceActionsRequestBuilder) ToPos } 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 *CloudPCResourceNamespacesItemImportResourceActionsRequestBuilder) WithUrl(rawUrl string)(*CloudPCResourceNamespacesItemImportResourceActionsRequestBuilder) { + return NewCloudPCResourceNamespacesItemImportResourceActionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_count_request_builder.go b/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_count_request_builder.go index d76c2c4ed1d..ecc23e3fca4 100644 --- a/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_count_request_builder.go +++ b/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CloudPCResourceNamespacesItemResourceActionsCountRequestBuilder) ToGetR } 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 *CloudPCResourceNamespacesItemResourceActionsCountRequestBuilder) WithUrl(rawUrl string)(*CloudPCResourceNamespacesItemResourceActionsCountRequestBuilder) { + return NewCloudPCResourceNamespacesItemResourceActionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go b/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go index c3dc0f4bab4..3a44fe34db7 100644 --- a/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go +++ b/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go @@ -75,3 +75,7 @@ func (m *CloudPCResourceNamespacesItemResourceActionsItemAuthenticationContextRe } 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 *CloudPCResourceNamespacesItemResourceActionsItemAuthenticationContextRequestBuilder) WithUrl(rawUrl string)(*CloudPCResourceNamespacesItemResourceActionsItemAuthenticationContextRequestBuilder) { + return NewCloudPCResourceNamespacesItemResourceActionsItemAuthenticationContextRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go b/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go index 81a0bd819a2..f82e88f03a2 100644 --- a/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go +++ b/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go @@ -153,3 +153,7 @@ func (m *CloudPCResourceNamespacesItemResourceActionsItemResourceScopeRequestBui } 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 *CloudPCResourceNamespacesItemResourceActionsItemResourceScopeRequestBuilder) WithUrl(rawUrl string)(*CloudPCResourceNamespacesItemResourceActionsItemResourceScopeRequestBuilder) { + return NewCloudPCResourceNamespacesItemResourceActionsItemResourceScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_request_builder.go b/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_request_builder.go index 6e4ed9a49b1..d4e3ff7881b 100644 --- a/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_request_builder.go +++ b/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_request_builder.go @@ -46,8 +46,8 @@ type CloudPCResourceNamespacesItemResourceActionsRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRbacResourceActionIdString provides operations to manage the resourceActions property of the microsoft.graph.unifiedRbacResourceNamespace entity. -func (m *CloudPCResourceNamespacesItemResourceActionsRequestBuilder) ByUnifiedRbacResourceActionIdString(unifiedRbacResourceActionId string)(*CloudPCResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) { +// ByUnifiedRbacResourceActionId provides operations to manage the resourceActions property of the microsoft.graph.unifiedRbacResourceNamespace entity. +func (m *CloudPCResourceNamespacesItemResourceActionsRequestBuilder) ByUnifiedRbacResourceActionId(unifiedRbacResourceActionId string)(*CloudPCResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *CloudPCResourceNamespacesItemResourceActionsRequestBuilder) ToPostReque } 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 *CloudPCResourceNamespacesItemResourceActionsRequestBuilder) WithUrl(rawUrl string)(*CloudPCResourceNamespacesItemResourceActionsRequestBuilder) { + return NewCloudPCResourceNamespacesItemResourceActionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go b/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go index 03e2aae6cf7..a00c31bdb8f 100644 --- a/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go +++ b/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go @@ -164,3 +164,7 @@ func (m *CloudPCResourceNamespacesItemResourceActionsUnifiedRbacResourceActionIt } 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 *CloudPCResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) WithUrl(rawUrl string)(*CloudPCResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) { + return NewCloudPCResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_resource_namespaces_request_builder.go b/rolemanagement/cloud_p_c_resource_namespaces_request_builder.go index 92ea0a806a2..f26b2f7c2de 100644 --- a/rolemanagement/cloud_p_c_resource_namespaces_request_builder.go +++ b/rolemanagement/cloud_p_c_resource_namespaces_request_builder.go @@ -46,8 +46,8 @@ type CloudPCResourceNamespacesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRbacResourceNamespaceIdString provides operations to manage the resourceNamespaces property of the microsoft.graph.rbacApplicationMultiple entity. -func (m *CloudPCResourceNamespacesRequestBuilder) ByUnifiedRbacResourceNamespaceIdString(unifiedRbacResourceNamespaceId string)(*CloudPCResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) { +// ByUnifiedRbacResourceNamespaceId provides operations to manage the resourceNamespaces property of the microsoft.graph.rbacApplicationMultiple entity. +func (m *CloudPCResourceNamespacesRequestBuilder) ByUnifiedRbacResourceNamespaceId(unifiedRbacResourceNamespaceId string)(*CloudPCResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *CloudPCResourceNamespacesRequestBuilder) ToPostRequestInformation(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 *CloudPCResourceNamespacesRequestBuilder) WithUrl(rawUrl string)(*CloudPCResourceNamespacesRequestBuilder) { + return NewCloudPCResourceNamespacesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go b/rolemanagement/cloud_p_c_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go index 55cb82e9dc1..442f9aef864 100644 --- a/rolemanagement/cloud_p_c_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go +++ b/rolemanagement/cloud_p_c_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go @@ -161,3 +161,7 @@ func (m *CloudPCResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder } 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 *CloudPCResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) WithUrl(rawUrl string)(*CloudPCResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) { + return NewCloudPCResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_role_assignments_count_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_count_request_builder.go index f3aeceb1933..3504604a4a4 100644 --- a/rolemanagement/cloud_p_c_role_assignments_count_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CloudPCRoleAssignmentsCountRequestBuilder) ToGetRequestInformation(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 *CloudPCRoleAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*CloudPCRoleAssignmentsCountRequestBuilder) { + return NewCloudPCRoleAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_role_assignments_item_app_scopes_app_scope_item_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_item_app_scopes_app_scope_item_request_builder.go index 76100950d09..7afcd7b66cb 100644 --- a/rolemanagement/cloud_p_c_role_assignments_item_app_scopes_app_scope_item_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_item_app_scopes_app_scope_item_request_builder.go @@ -153,3 +153,7 @@ func (m *CloudPCRoleAssignmentsItemAppScopesAppScopeItemRequestBuilder) ToPatchR } 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 *CloudPCRoleAssignmentsItemAppScopesAppScopeItemRequestBuilder) WithUrl(rawUrl string)(*CloudPCRoleAssignmentsItemAppScopesAppScopeItemRequestBuilder) { + return NewCloudPCRoleAssignmentsItemAppScopesAppScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_role_assignments_item_app_scopes_count_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_item_app_scopes_count_request_builder.go index 060ba96ca6d..8396d3b3468 100644 --- a/rolemanagement/cloud_p_c_role_assignments_item_app_scopes_count_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_item_app_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CloudPCRoleAssignmentsItemAppScopesCountRequestBuilder) ToGetRequestInf } 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 *CloudPCRoleAssignmentsItemAppScopesCountRequestBuilder) WithUrl(rawUrl string)(*CloudPCRoleAssignmentsItemAppScopesCountRequestBuilder) { + return NewCloudPCRoleAssignmentsItemAppScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_role_assignments_item_app_scopes_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_item_app_scopes_request_builder.go index 1acb37bf51a..5c4edbea126 100644 --- a/rolemanagement/cloud_p_c_role_assignments_item_app_scopes_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_item_app_scopes_request_builder.go @@ -46,8 +46,8 @@ type CloudPCRoleAssignmentsItemAppScopesRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAppScopeIdString provides operations to manage the appScopes property of the microsoft.graph.unifiedRoleAssignmentMultiple entity. -func (m *CloudPCRoleAssignmentsItemAppScopesRequestBuilder) ByAppScopeIdString(appScopeId string)(*CloudPCRoleAssignmentsItemAppScopesAppScopeItemRequestBuilder) { +// ByAppScopeId provides operations to manage the appScopes property of the microsoft.graph.unifiedRoleAssignmentMultiple entity. +func (m *CloudPCRoleAssignmentsItemAppScopesRequestBuilder) ByAppScopeId(appScopeId string)(*CloudPCRoleAssignmentsItemAppScopesAppScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *CloudPCRoleAssignmentsItemAppScopesRequestBuilder) ToPostRequestInforma } 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 *CloudPCRoleAssignmentsItemAppScopesRequestBuilder) WithUrl(rawUrl string)(*CloudPCRoleAssignmentsItemAppScopesRequestBuilder) { + return NewCloudPCRoleAssignmentsItemAppScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_role_assignments_item_directory_scopes_count_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_item_directory_scopes_count_request_builder.go index 9bc20e74c64..115d090ab17 100644 --- a/rolemanagement/cloud_p_c_role_assignments_item_directory_scopes_count_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_item_directory_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CloudPCRoleAssignmentsItemDirectoryScopesCountRequestBuilder) ToGetRequ } 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 *CloudPCRoleAssignmentsItemDirectoryScopesCountRequestBuilder) WithUrl(rawUrl string)(*CloudPCRoleAssignmentsItemDirectoryScopesCountRequestBuilder) { + return NewCloudPCRoleAssignmentsItemDirectoryScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_role_assignments_item_directory_scopes_directory_object_item_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_item_directory_scopes_directory_object_item_request_builder.go index 621705f6e6d..dcf86cc7b15 100644 --- a/rolemanagement/cloud_p_c_role_assignments_item_directory_scopes_directory_object_item_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_item_directory_scopes_directory_object_item_request_builder.go @@ -11,7 +11,7 @@ import ( type CloudPCRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CloudPCRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilderGetQueryParameters read-only collection referencing the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// CloudPCRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilderGetQueryParameters read-only collection that references the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. type CloudPCRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewCloudPCRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuild urlParams["request-raw-url"] = rawUrl return NewCloudPCRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get read-only collection referencing the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// Get read-only collection that references the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. func (m *CloudPCRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudPCRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *CloudPCRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil } -// ToGetRequestInformation read-only collection referencing the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// ToGetRequestInformation read-only collection that references the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. func (m *CloudPCRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudPCRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -75,3 +75,7 @@ func (m *CloudPCRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuil } 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 *CloudPCRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*CloudPCRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilder) { + return NewCloudPCRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_role_assignments_item_directory_scopes_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_item_directory_scopes_request_builder.go index 03247410314..0b32d021fe7 100644 --- a/rolemanagement/cloud_p_c_role_assignments_item_directory_scopes_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_item_directory_scopes_request_builder.go @@ -11,7 +11,7 @@ import ( type CloudPCRoleAssignmentsItemDirectoryScopesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CloudPCRoleAssignmentsItemDirectoryScopesRequestBuilderGetQueryParameters read-only collection referencing the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// CloudPCRoleAssignmentsItemDirectoryScopesRequestBuilderGetQueryParameters read-only collection that references the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. type CloudPCRoleAssignmentsItemDirectoryScopesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -39,8 +39,8 @@ type CloudPCRoleAssignmentsItemDirectoryScopesRequestBuilderGetRequestConfigurat // Request query parameters QueryParameters *CloudPCRoleAssignmentsItemDirectoryScopesRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the directoryScopes property of the microsoft.graph.unifiedRoleAssignmentMultiple entity. -func (m *CloudPCRoleAssignmentsItemDirectoryScopesRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*CloudPCRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the directoryScopes property of the microsoft.graph.unifiedRoleAssignmentMultiple entity. +func (m *CloudPCRoleAssignmentsItemDirectoryScopesRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*CloudPCRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -67,7 +67,7 @@ func NewCloudPCRoleAssignmentsItemDirectoryScopesRequestBuilder(rawUrl string, r func (m *CloudPCRoleAssignmentsItemDirectoryScopesRequestBuilder) Count()(*CloudPCRoleAssignmentsItemDirectoryScopesCountRequestBuilder) { return NewCloudPCRoleAssignmentsItemDirectoryScopesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read-only collection referencing the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// Get read-only collection that references the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. func (m *CloudPCRoleAssignmentsItemDirectoryScopesRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudPCRoleAssignmentsItemDirectoryScopesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +86,7 @@ func (m *CloudPCRoleAssignmentsItemDirectoryScopesRequestBuilder) Get(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable), nil } -// ToGetRequestInformation read-only collection referencing the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// ToGetRequestInformation read-only collection that references the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. func (m *CloudPCRoleAssignmentsItemDirectoryScopesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudPCRoleAssignmentsItemDirectoryScopesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -102,3 +102,7 @@ func (m *CloudPCRoleAssignmentsItemDirectoryScopesRequestBuilder) ToGetRequestIn } 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 *CloudPCRoleAssignmentsItemDirectoryScopesRequestBuilder) WithUrl(rawUrl string)(*CloudPCRoleAssignmentsItemDirectoryScopesRequestBuilder) { + return NewCloudPCRoleAssignmentsItemDirectoryScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_role_assignments_item_principals_count_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_item_principals_count_request_builder.go index a4a41057ebe..d34853bc345 100644 --- a/rolemanagement/cloud_p_c_role_assignments_item_principals_count_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_item_principals_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CloudPCRoleAssignmentsItemPrincipalsCountRequestBuilder) ToGetRequestIn } 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 *CloudPCRoleAssignmentsItemPrincipalsCountRequestBuilder) WithUrl(rawUrl string)(*CloudPCRoleAssignmentsItemPrincipalsCountRequestBuilder) { + return NewCloudPCRoleAssignmentsItemPrincipalsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_role_assignments_item_principals_directory_object_item_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_item_principals_directory_object_item_request_builder.go index a021bd54256..f758a4d0810 100644 --- a/rolemanagement/cloud_p_c_role_assignments_item_principals_directory_object_item_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_item_principals_directory_object_item_request_builder.go @@ -11,7 +11,7 @@ import ( type CloudPCRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CloudPCRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilderGetQueryParameters read-only collection referencing the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// CloudPCRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilderGetQueryParameters read-only collection that references the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. type CloudPCRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewCloudPCRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewCloudPCRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get read-only collection referencing the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// Get read-only collection that references the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. func (m *CloudPCRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudPCRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *CloudPCRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil } -// ToGetRequestInformation read-only collection referencing the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// ToGetRequestInformation read-only collection that references the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. func (m *CloudPCRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudPCRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -75,3 +75,7 @@ func (m *CloudPCRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilder) } 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 *CloudPCRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*CloudPCRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilder) { + return NewCloudPCRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_role_assignments_item_principals_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_item_principals_request_builder.go index 2616b4baf00..c8dba8ad370 100644 --- a/rolemanagement/cloud_p_c_role_assignments_item_principals_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_item_principals_request_builder.go @@ -11,7 +11,7 @@ import ( type CloudPCRoleAssignmentsItemPrincipalsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CloudPCRoleAssignmentsItemPrincipalsRequestBuilderGetQueryParameters read-only collection referencing the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// CloudPCRoleAssignmentsItemPrincipalsRequestBuilderGetQueryParameters read-only collection that references the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. type CloudPCRoleAssignmentsItemPrincipalsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -39,8 +39,8 @@ type CloudPCRoleAssignmentsItemPrincipalsRequestBuilderGetRequestConfiguration s // Request query parameters QueryParameters *CloudPCRoleAssignmentsItemPrincipalsRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the principals property of the microsoft.graph.unifiedRoleAssignmentMultiple entity. -func (m *CloudPCRoleAssignmentsItemPrincipalsRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*CloudPCRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the principals property of the microsoft.graph.unifiedRoleAssignmentMultiple entity. +func (m *CloudPCRoleAssignmentsItemPrincipalsRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*CloudPCRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -67,7 +67,7 @@ func NewCloudPCRoleAssignmentsItemPrincipalsRequestBuilder(rawUrl string, reques func (m *CloudPCRoleAssignmentsItemPrincipalsRequestBuilder) Count()(*CloudPCRoleAssignmentsItemPrincipalsCountRequestBuilder) { return NewCloudPCRoleAssignmentsItemPrincipalsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read-only collection referencing the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// Get read-only collection that references the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. func (m *CloudPCRoleAssignmentsItemPrincipalsRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudPCRoleAssignmentsItemPrincipalsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +86,7 @@ func (m *CloudPCRoleAssignmentsItemPrincipalsRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable), nil } -// ToGetRequestInformation read-only collection referencing the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// ToGetRequestInformation read-only collection that references the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. func (m *CloudPCRoleAssignmentsItemPrincipalsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudPCRoleAssignmentsItemPrincipalsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -102,3 +102,7 @@ func (m *CloudPCRoleAssignmentsItemPrincipalsRequestBuilder) ToGetRequestInforma } 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 *CloudPCRoleAssignmentsItemPrincipalsRequestBuilder) WithUrl(rawUrl string)(*CloudPCRoleAssignmentsItemPrincipalsRequestBuilder) { + return NewCloudPCRoleAssignmentsItemPrincipalsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_role_assignments_item_role_definition_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_item_role_definition_request_builder.go index 8aed676debf..52369a52903 100644 --- a/rolemanagement/cloud_p_c_role_assignments_item_role_definition_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *CloudPCRoleAssignmentsItemRoleDefinitionRequestBuilder) ToGetRequestInf } 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 *CloudPCRoleAssignmentsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*CloudPCRoleAssignmentsItemRoleDefinitionRequestBuilder) { + return NewCloudPCRoleAssignmentsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_role_assignments_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_request_builder.go index 2dc658c1560..ee23deb75e1 100644 --- a/rolemanagement/cloud_p_c_role_assignments_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_request_builder.go @@ -46,8 +46,8 @@ type CloudPCRoleAssignmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleAssignmentMultipleIdString provides operations to manage the roleAssignments property of the microsoft.graph.rbacApplicationMultiple entity. -func (m *CloudPCRoleAssignmentsRequestBuilder) ByUnifiedRoleAssignmentMultipleIdString(unifiedRoleAssignmentMultipleId string)(*CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) { +// ByUnifiedRoleAssignmentMultipleId provides operations to manage the roleAssignments property of the microsoft.graph.rbacApplicationMultiple entity. +func (m *CloudPCRoleAssignmentsRequestBuilder) ByUnifiedRoleAssignmentMultipleId(unifiedRoleAssignmentMultipleId string)(*CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *CloudPCRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *CloudPCRoleAssignmentsRequestBuilder) WithUrl(rawUrl string)(*CloudPCRoleAssignmentsRequestBuilder) { + return NewCloudPCRoleAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_role_assignments_unified_role_assignment_multiple_item_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_unified_role_assignment_multiple_item_request_builder.go index e4aed6e9f70..8b0564132f4 100644 --- a/rolemanagement/cloud_p_c_role_assignments_unified_role_assignment_multiple_item_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_unified_role_assignment_multiple_item_request_builder.go @@ -178,3 +178,7 @@ func (m *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) } 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 *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) WithUrl(rawUrl string)(*CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) { + return NewCloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_role_definitions_count_request_builder.go b/rolemanagement/cloud_p_c_role_definitions_count_request_builder.go index 6c58b01e786..e9e9b9bb469 100644 --- a/rolemanagement/cloud_p_c_role_definitions_count_request_builder.go +++ b/rolemanagement/cloud_p_c_role_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CloudPCRoleDefinitionsCountRequestBuilder) ToGetRequestInformation(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 *CloudPCRoleDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*CloudPCRoleDefinitionsCountRequestBuilder) { + return NewCloudPCRoleDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/cloud_p_c_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index 70c6a1afe90..e6bca49b9c5 100644 --- a/rolemanagement/cloud_p_c_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/cloud_p_c_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -15,9 +15,9 @@ type CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTyp // Include count of items Count *bool `uriparametername:"%24count"` // Usage: directoryScopeId='@directoryScopeId' - DirectoryScopeId *string + DirectoryScopeId *string `uriparametername:"directoryScopeId"` // Usage: directoryScopeType='@directoryScopeType' - DirectoryScopeType *string + DirectoryScopeType *string `uriparametername:"directoryScopeType"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -31,7 +31,7 @@ type CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTyp // Show only the first n items Top *int32 `uriparametername:"%24top"` // Usage: transitive=@transitive - Transitive *bool + Transitive *bool `uriparametername:"transitive"` } // CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration struct { @@ -90,3 +90,7 @@ func (m *CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScop } 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 *CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) WithUrl(rawUrl string)(*CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) { + return NewCloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_count_request_builder.go b/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_count_request_builder.go index 6289e997860..9022eefcea6 100644 --- a/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_count_request_builder.go +++ b/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CloudPCRoleDefinitionsItemInheritsPermissionsFromCountRequestBuilder) T } 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 *CloudPCRoleDefinitionsItemInheritsPermissionsFromCountRequestBuilder) WithUrl(rawUrl string)(*CloudPCRoleDefinitionsItemInheritsPermissionsFromCountRequestBuilder) { + return NewCloudPCRoleDefinitionsItemInheritsPermissionsFromCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index 3261818b626..1444f3a50f6 100644 --- a/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -15,9 +15,9 @@ type CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWith // Include count of items Count *bool `uriparametername:"%24count"` // Usage: directoryScopeId='@directoryScopeId' - DirectoryScopeId *string + DirectoryScopeId *string `uriparametername:"directoryScopeId"` // Usage: directoryScopeType='@directoryScopeType' - DirectoryScopeType *string + DirectoryScopeType *string `uriparametername:"directoryScopeType"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -31,7 +31,7 @@ type CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWith // Show only the first n items Top *int32 `uriparametername:"%24top"` // Usage: transitive=@transitive - Transitive *bool + Transitive *bool `uriparametername:"transitive"` } // CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration struct { @@ -90,3 +90,7 @@ func (m *CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipals } 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 *CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) WithUrl(rawUrl string)(*CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) { + return NewCloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_request_builder.go b/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_request_builder.go index 3b88413d114..ca732483724 100644 --- a/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_request_builder.go +++ b/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_request_builder.go @@ -46,8 +46,8 @@ type CloudPCRoleDefinitionsItemInheritsPermissionsFromRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleDefinitionId1String provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. -func (m *CloudPCRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) ByUnifiedRoleDefinitionId1String(unifiedRoleDefinitionId1 string)(*CloudPCRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) { +// ByUnifiedRoleDefinitionId1 provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. +func (m *CloudPCRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) ByUnifiedRoleDefinitionId1(unifiedRoleDefinitionId1 string)(*CloudPCRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *CloudPCRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) ToPost } 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 *CloudPCRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) WithUrl(rawUrl string)(*CloudPCRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) { + return NewCloudPCRoleDefinitionsItemInheritsPermissionsFromRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go b/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go index 967f17f4a6e..0a8e3eac0cc 100644 --- a/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go +++ b/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CloudPCRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionI } 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 *CloudPCRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*CloudPCRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) { + return NewCloudPCRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_role_definitions_request_builder.go b/rolemanagement/cloud_p_c_role_definitions_request_builder.go index 17e1059f913..ef1b5a8b8a6 100644 --- a/rolemanagement/cloud_p_c_role_definitions_request_builder.go +++ b/rolemanagement/cloud_p_c_role_definitions_request_builder.go @@ -46,8 +46,8 @@ type CloudPCRoleDefinitionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleDefinitionIdString provides operations to manage the roleDefinitions property of the microsoft.graph.rbacApplicationMultiple entity. -func (m *CloudPCRoleDefinitionsRequestBuilder) ByUnifiedRoleDefinitionIdString(unifiedRoleDefinitionId string)(*CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) { +// ByUnifiedRoleDefinitionId provides operations to manage the roleDefinitions property of the microsoft.graph.rbacApplicationMultiple entity. +func (m *CloudPCRoleDefinitionsRequestBuilder) ByUnifiedRoleDefinitionId(unifiedRoleDefinitionId string)(*CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *CloudPCRoleDefinitionsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *CloudPCRoleDefinitionsRequestBuilder) WithUrl(rawUrl string)(*CloudPCRoleDefinitionsRequestBuilder) { + return NewCloudPCRoleDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/cloud_p_c_role_definitions_unified_role_definition_item_request_builder.go b/rolemanagement/cloud_p_c_role_definitions_unified_role_definition_item_request_builder.go index 5243b6d484e..a7d8ce9fcdb 100644 --- a/rolemanagement/cloud_p_c_role_definitions_unified_role_definition_item_request_builder.go +++ b/rolemanagement/cloud_p_c_role_definitions_unified_role_definition_item_request_builder.go @@ -170,3 +170,7 @@ func (m *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToPatchR } 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 *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) { + return NewCloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_request_builder.go b/rolemanagement/device_management_request_builder.go index 50125cf78ee..6a120c950dc 100644 --- a/rolemanagement/device_management_request_builder.go +++ b/rolemanagement/device_management_request_builder.go @@ -165,3 +165,7 @@ func (m *DeviceManagementRequestBuilder) 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 *DeviceManagementRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRequestBuilder) { + return NewDeviceManagementRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_resource_namespaces_count_request_builder.go b/rolemanagement/device_management_resource_namespaces_count_request_builder.go index 77284a0a698..1a12c41375e 100644 --- a/rolemanagement/device_management_resource_namespaces_count_request_builder.go +++ b/rolemanagement/device_management_resource_namespaces_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceManagementResourceNamespacesCountRequestBuilder) ToGetRequestInfo } 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 *DeviceManagementResourceNamespacesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementResourceNamespacesCountRequestBuilder) { + return NewDeviceManagementResourceNamespacesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_resource_namespaces_item_import_resource_actions_request_builder.go b/rolemanagement/device_management_resource_namespaces_item_import_resource_actions_request_builder.go index 664a756f087..de3e8f7b7a9 100644 --- a/rolemanagement/device_management_resource_namespaces_item_import_resource_actions_request_builder.go +++ b/rolemanagement/device_management_resource_namespaces_item_import_resource_actions_request_builder.go @@ -67,3 +67,7 @@ func (m *DeviceManagementResourceNamespacesItemImportResourceActionsRequestBuild } 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 *DeviceManagementResourceNamespacesItemImportResourceActionsRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementResourceNamespacesItemImportResourceActionsRequestBuilder) { + return NewDeviceManagementResourceNamespacesItemImportResourceActionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_resource_namespaces_item_resource_actions_count_request_builder.go b/rolemanagement/device_management_resource_namespaces_item_resource_actions_count_request_builder.go index b5605732162..83cf48a6b69 100644 --- a/rolemanagement/device_management_resource_namespaces_item_resource_actions_count_request_builder.go +++ b/rolemanagement/device_management_resource_namespaces_item_resource_actions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceManagementResourceNamespacesItemResourceActionsCountRequestBuilde } 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 *DeviceManagementResourceNamespacesItemResourceActionsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementResourceNamespacesItemResourceActionsCountRequestBuilder) { + return NewDeviceManagementResourceNamespacesItemResourceActionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go b/rolemanagement/device_management_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go index 40d93de0d20..4dc3d86321c 100644 --- a/rolemanagement/device_management_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go +++ b/rolemanagement/device_management_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go @@ -75,3 +75,7 @@ func (m *DeviceManagementResourceNamespacesItemResourceActionsItemAuthentication } 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 *DeviceManagementResourceNamespacesItemResourceActionsItemAuthenticationContextRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementResourceNamespacesItemResourceActionsItemAuthenticationContextRequestBuilder) { + return NewDeviceManagementResourceNamespacesItemResourceActionsItemAuthenticationContextRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go b/rolemanagement/device_management_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go index 82b6b642d0d..ee6778be564 100644 --- a/rolemanagement/device_management_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go +++ b/rolemanagement/device_management_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceManagementResourceNamespacesItemResourceActionsItemResourceScopeR } 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 *DeviceManagementResourceNamespacesItemResourceActionsItemResourceScopeRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementResourceNamespacesItemResourceActionsItemResourceScopeRequestBuilder) { + return NewDeviceManagementResourceNamespacesItemResourceActionsItemResourceScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_resource_namespaces_item_resource_actions_request_builder.go b/rolemanagement/device_management_resource_namespaces_item_resource_actions_request_builder.go index 0564b49856b..2242fdc1a2c 100644 --- a/rolemanagement/device_management_resource_namespaces_item_resource_actions_request_builder.go +++ b/rolemanagement/device_management_resource_namespaces_item_resource_actions_request_builder.go @@ -46,8 +46,8 @@ type DeviceManagementResourceNamespacesItemResourceActionsRequestBuilderPostRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRbacResourceActionIdString provides operations to manage the resourceActions property of the microsoft.graph.unifiedRbacResourceNamespace entity. -func (m *DeviceManagementResourceNamespacesItemResourceActionsRequestBuilder) ByUnifiedRbacResourceActionIdString(unifiedRbacResourceActionId string)(*DeviceManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) { +// ByUnifiedRbacResourceActionId provides operations to manage the resourceActions property of the microsoft.graph.unifiedRbacResourceNamespace entity. +func (m *DeviceManagementResourceNamespacesItemResourceActionsRequestBuilder) ByUnifiedRbacResourceActionId(unifiedRbacResourceActionId string)(*DeviceManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *DeviceManagementResourceNamespacesItemResourceActionsRequestBuilder) To } 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 *DeviceManagementResourceNamespacesItemResourceActionsRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementResourceNamespacesItemResourceActionsRequestBuilder) { + return NewDeviceManagementResourceNamespacesItemResourceActionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go b/rolemanagement/device_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go index e9721f5a5b2..f2b69723011 100644 --- a/rolemanagement/device_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go +++ b/rolemanagement/device_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go @@ -164,3 +164,7 @@ func (m *DeviceManagementResourceNamespacesItemResourceActionsUnifiedRbacResourc } 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 *DeviceManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) { + return NewDeviceManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_resource_namespaces_request_builder.go b/rolemanagement/device_management_resource_namespaces_request_builder.go index 25ef4d3ae54..9dc74d33f22 100644 --- a/rolemanagement/device_management_resource_namespaces_request_builder.go +++ b/rolemanagement/device_management_resource_namespaces_request_builder.go @@ -46,8 +46,8 @@ type DeviceManagementResourceNamespacesRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRbacResourceNamespaceIdString provides operations to manage the resourceNamespaces property of the microsoft.graph.rbacApplicationMultiple entity. -func (m *DeviceManagementResourceNamespacesRequestBuilder) ByUnifiedRbacResourceNamespaceIdString(unifiedRbacResourceNamespaceId string)(*DeviceManagementResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) { +// ByUnifiedRbacResourceNamespaceId provides operations to manage the resourceNamespaces property of the microsoft.graph.rbacApplicationMultiple entity. +func (m *DeviceManagementResourceNamespacesRequestBuilder) ByUnifiedRbacResourceNamespaceId(unifiedRbacResourceNamespaceId string)(*DeviceManagementResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceManagementResourceNamespacesRequestBuilder) ToPostRequestInformat } 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 *DeviceManagementResourceNamespacesRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementResourceNamespacesRequestBuilder) { + return NewDeviceManagementResourceNamespacesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go b/rolemanagement/device_management_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go index a7794d2bbf8..31bc31cda63 100644 --- a/rolemanagement/device_management_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go +++ b/rolemanagement/device_management_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go @@ -161,3 +161,7 @@ func (m *DeviceManagementResourceNamespacesUnifiedRbacResourceNamespaceItemReque } 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 *DeviceManagementResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) { + return NewDeviceManagementResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_role_assignments_count_request_builder.go b/rolemanagement/device_management_role_assignments_count_request_builder.go index e9c289ca946..58f53a1e3d8 100644 --- a/rolemanagement/device_management_role_assignments_count_request_builder.go +++ b/rolemanagement/device_management_role_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceManagementRoleAssignmentsCountRequestBuilder) ToGetRequestInforma } 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 *DeviceManagementRoleAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRoleAssignmentsCountRequestBuilder) { + return NewDeviceManagementRoleAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_role_assignments_item_app_scopes_app_scope_item_request_builder.go b/rolemanagement/device_management_role_assignments_item_app_scopes_app_scope_item_request_builder.go index c706b6907d9..076f3310f53 100644 --- a/rolemanagement/device_management_role_assignments_item_app_scopes_app_scope_item_request_builder.go +++ b/rolemanagement/device_management_role_assignments_item_app_scopes_app_scope_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DeviceManagementRoleAssignmentsItemAppScopesAppScopeItemRequestBuilder) } 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 *DeviceManagementRoleAssignmentsItemAppScopesAppScopeItemRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRoleAssignmentsItemAppScopesAppScopeItemRequestBuilder) { + return NewDeviceManagementRoleAssignmentsItemAppScopesAppScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_role_assignments_item_app_scopes_count_request_builder.go b/rolemanagement/device_management_role_assignments_item_app_scopes_count_request_builder.go index 198c07459a5..ee92cfa0027 100644 --- a/rolemanagement/device_management_role_assignments_item_app_scopes_count_request_builder.go +++ b/rolemanagement/device_management_role_assignments_item_app_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceManagementRoleAssignmentsItemAppScopesCountRequestBuilder) ToGetR } 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 *DeviceManagementRoleAssignmentsItemAppScopesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRoleAssignmentsItemAppScopesCountRequestBuilder) { + return NewDeviceManagementRoleAssignmentsItemAppScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_role_assignments_item_app_scopes_request_builder.go b/rolemanagement/device_management_role_assignments_item_app_scopes_request_builder.go index 628bbd7441b..8413f368db2 100644 --- a/rolemanagement/device_management_role_assignments_item_app_scopes_request_builder.go +++ b/rolemanagement/device_management_role_assignments_item_app_scopes_request_builder.go @@ -46,8 +46,8 @@ type DeviceManagementRoleAssignmentsItemAppScopesRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAppScopeIdString provides operations to manage the appScopes property of the microsoft.graph.unifiedRoleAssignmentMultiple entity. -func (m *DeviceManagementRoleAssignmentsItemAppScopesRequestBuilder) ByAppScopeIdString(appScopeId string)(*DeviceManagementRoleAssignmentsItemAppScopesAppScopeItemRequestBuilder) { +// ByAppScopeId provides operations to manage the appScopes property of the microsoft.graph.unifiedRoleAssignmentMultiple entity. +func (m *DeviceManagementRoleAssignmentsItemAppScopesRequestBuilder) ByAppScopeId(appScopeId string)(*DeviceManagementRoleAssignmentsItemAppScopesAppScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceManagementRoleAssignmentsItemAppScopesRequestBuilder) ToPostReque } 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 *DeviceManagementRoleAssignmentsItemAppScopesRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRoleAssignmentsItemAppScopesRequestBuilder) { + return NewDeviceManagementRoleAssignmentsItemAppScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_role_assignments_item_directory_scopes_count_request_builder.go b/rolemanagement/device_management_role_assignments_item_directory_scopes_count_request_builder.go index 0bbae1b50dc..df0ff4f4468 100644 --- a/rolemanagement/device_management_role_assignments_item_directory_scopes_count_request_builder.go +++ b/rolemanagement/device_management_role_assignments_item_directory_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceManagementRoleAssignmentsItemDirectoryScopesCountRequestBuilder) } 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 *DeviceManagementRoleAssignmentsItemDirectoryScopesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRoleAssignmentsItemDirectoryScopesCountRequestBuilder) { + return NewDeviceManagementRoleAssignmentsItemDirectoryScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_role_assignments_item_directory_scopes_directory_object_item_request_builder.go b/rolemanagement/device_management_role_assignments_item_directory_scopes_directory_object_item_request_builder.go index b0e5e3d916e..328d9e1d63a 100644 --- a/rolemanagement/device_management_role_assignments_item_directory_scopes_directory_object_item_request_builder.go +++ b/rolemanagement/device_management_role_assignments_item_directory_scopes_directory_object_item_request_builder.go @@ -11,7 +11,7 @@ import ( type DeviceManagementRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceManagementRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilderGetQueryParameters read-only collection referencing the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// DeviceManagementRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilderGetQueryParameters read-only collection that references the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. type DeviceManagementRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewDeviceManagementRoleAssignmentsItemDirectoryScopesDirectoryObjectItemReq urlParams["request-raw-url"] = rawUrl return NewDeviceManagementRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get read-only collection referencing the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// Get read-only collection that references the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. func (m *DeviceManagementRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceManagementRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *DeviceManagementRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil } -// ToGetRequestInformation read-only collection referencing the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// ToGetRequestInformation read-only collection that references the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. func (m *DeviceManagementRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceManagementRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -75,3 +75,7 @@ func (m *DeviceManagementRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRe } 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 *DeviceManagementRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilder) { + return NewDeviceManagementRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_role_assignments_item_directory_scopes_request_builder.go b/rolemanagement/device_management_role_assignments_item_directory_scopes_request_builder.go index 57e4bbc842a..2e4f5bb8a00 100644 --- a/rolemanagement/device_management_role_assignments_item_directory_scopes_request_builder.go +++ b/rolemanagement/device_management_role_assignments_item_directory_scopes_request_builder.go @@ -11,7 +11,7 @@ import ( type DeviceManagementRoleAssignmentsItemDirectoryScopesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceManagementRoleAssignmentsItemDirectoryScopesRequestBuilderGetQueryParameters read-only collection referencing the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// DeviceManagementRoleAssignmentsItemDirectoryScopesRequestBuilderGetQueryParameters read-only collection that references the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. type DeviceManagementRoleAssignmentsItemDirectoryScopesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -39,8 +39,8 @@ type DeviceManagementRoleAssignmentsItemDirectoryScopesRequestBuilderGetRequestC // Request query parameters QueryParameters *DeviceManagementRoleAssignmentsItemDirectoryScopesRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the directoryScopes property of the microsoft.graph.unifiedRoleAssignmentMultiple entity. -func (m *DeviceManagementRoleAssignmentsItemDirectoryScopesRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*DeviceManagementRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the directoryScopes property of the microsoft.graph.unifiedRoleAssignmentMultiple entity. +func (m *DeviceManagementRoleAssignmentsItemDirectoryScopesRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*DeviceManagementRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -67,7 +67,7 @@ func NewDeviceManagementRoleAssignmentsItemDirectoryScopesRequestBuilder(rawUrl func (m *DeviceManagementRoleAssignmentsItemDirectoryScopesRequestBuilder) Count()(*DeviceManagementRoleAssignmentsItemDirectoryScopesCountRequestBuilder) { return NewDeviceManagementRoleAssignmentsItemDirectoryScopesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read-only collection referencing the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// Get read-only collection that references the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. func (m *DeviceManagementRoleAssignmentsItemDirectoryScopesRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceManagementRoleAssignmentsItemDirectoryScopesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +86,7 @@ func (m *DeviceManagementRoleAssignmentsItemDirectoryScopesRequestBuilder) Get(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable), nil } -// ToGetRequestInformation read-only collection referencing the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// ToGetRequestInformation read-only collection that references the directory objects that are scope of the assignment. Provided so that callers can get the directory objects using $expand at the same time as getting the role assignment. Read-only. Supports $expand. func (m *DeviceManagementRoleAssignmentsItemDirectoryScopesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceManagementRoleAssignmentsItemDirectoryScopesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -102,3 +102,7 @@ func (m *DeviceManagementRoleAssignmentsItemDirectoryScopesRequestBuilder) ToGet } 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 *DeviceManagementRoleAssignmentsItemDirectoryScopesRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRoleAssignmentsItemDirectoryScopesRequestBuilder) { + return NewDeviceManagementRoleAssignmentsItemDirectoryScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_role_assignments_item_principals_count_request_builder.go b/rolemanagement/device_management_role_assignments_item_principals_count_request_builder.go index 0e4e81c8bfb..4208916aaf4 100644 --- a/rolemanagement/device_management_role_assignments_item_principals_count_request_builder.go +++ b/rolemanagement/device_management_role_assignments_item_principals_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceManagementRoleAssignmentsItemPrincipalsCountRequestBuilder) ToGet } 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 *DeviceManagementRoleAssignmentsItemPrincipalsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRoleAssignmentsItemPrincipalsCountRequestBuilder) { + return NewDeviceManagementRoleAssignmentsItemPrincipalsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_role_assignments_item_principals_directory_object_item_request_builder.go b/rolemanagement/device_management_role_assignments_item_principals_directory_object_item_request_builder.go index 2fdf549e58f..474186b3471 100644 --- a/rolemanagement/device_management_role_assignments_item_principals_directory_object_item_request_builder.go +++ b/rolemanagement/device_management_role_assignments_item_principals_directory_object_item_request_builder.go @@ -11,7 +11,7 @@ import ( type DeviceManagementRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceManagementRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilderGetQueryParameters read-only collection referencing the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// DeviceManagementRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilderGetQueryParameters read-only collection that references the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. type DeviceManagementRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewDeviceManagementRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestB urlParams["request-raw-url"] = rawUrl return NewDeviceManagementRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get read-only collection referencing the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// Get read-only collection that references the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. func (m *DeviceManagementRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceManagementRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *DeviceManagementRoleAssignmentsItemPrincipalsDirectoryObjectItemRequest } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil } -// ToGetRequestInformation read-only collection referencing the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// ToGetRequestInformation read-only collection that references the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. func (m *DeviceManagementRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceManagementRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -75,3 +75,7 @@ func (m *DeviceManagementRoleAssignmentsItemPrincipalsDirectoryObjectItemRequest } 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 *DeviceManagementRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilder) { + return NewDeviceManagementRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_role_assignments_item_principals_request_builder.go b/rolemanagement/device_management_role_assignments_item_principals_request_builder.go index aa254ae157c..cc5fe5f773d 100644 --- a/rolemanagement/device_management_role_assignments_item_principals_request_builder.go +++ b/rolemanagement/device_management_role_assignments_item_principals_request_builder.go @@ -11,7 +11,7 @@ import ( type DeviceManagementRoleAssignmentsItemPrincipalsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceManagementRoleAssignmentsItemPrincipalsRequestBuilderGetQueryParameters read-only collection referencing the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// DeviceManagementRoleAssignmentsItemPrincipalsRequestBuilderGetQueryParameters read-only collection that references the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. type DeviceManagementRoleAssignmentsItemPrincipalsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -39,8 +39,8 @@ type DeviceManagementRoleAssignmentsItemPrincipalsRequestBuilderGetRequestConfig // Request query parameters QueryParameters *DeviceManagementRoleAssignmentsItemPrincipalsRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the principals property of the microsoft.graph.unifiedRoleAssignmentMultiple entity. -func (m *DeviceManagementRoleAssignmentsItemPrincipalsRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*DeviceManagementRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the principals property of the microsoft.graph.unifiedRoleAssignmentMultiple entity. +func (m *DeviceManagementRoleAssignmentsItemPrincipalsRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*DeviceManagementRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -67,7 +67,7 @@ func NewDeviceManagementRoleAssignmentsItemPrincipalsRequestBuilder(rawUrl strin func (m *DeviceManagementRoleAssignmentsItemPrincipalsRequestBuilder) Count()(*DeviceManagementRoleAssignmentsItemPrincipalsCountRequestBuilder) { return NewDeviceManagementRoleAssignmentsItemPrincipalsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read-only collection referencing the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// Get read-only collection that references the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. func (m *DeviceManagementRoleAssignmentsItemPrincipalsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceManagementRoleAssignmentsItemPrincipalsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +86,7 @@ func (m *DeviceManagementRoleAssignmentsItemPrincipalsRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable), nil } -// ToGetRequestInformation read-only collection referencing the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. +// ToGetRequestInformation read-only collection that references the assigned principals. Provided so that callers can get the principals using $expand at the same time as getting the role assignment. Read-only. Supports $expand. func (m *DeviceManagementRoleAssignmentsItemPrincipalsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceManagementRoleAssignmentsItemPrincipalsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -102,3 +102,7 @@ func (m *DeviceManagementRoleAssignmentsItemPrincipalsRequestBuilder) ToGetReque } 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 *DeviceManagementRoleAssignmentsItemPrincipalsRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRoleAssignmentsItemPrincipalsRequestBuilder) { + return NewDeviceManagementRoleAssignmentsItemPrincipalsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_role_assignments_item_role_definition_request_builder.go b/rolemanagement/device_management_role_assignments_item_role_definition_request_builder.go index 94b6280ae1c..0a76b242164 100644 --- a/rolemanagement/device_management_role_assignments_item_role_definition_request_builder.go +++ b/rolemanagement/device_management_role_assignments_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *DeviceManagementRoleAssignmentsItemRoleDefinitionRequestBuilder) ToGetR } 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 *DeviceManagementRoleAssignmentsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRoleAssignmentsItemRoleDefinitionRequestBuilder) { + return NewDeviceManagementRoleAssignmentsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_role_assignments_request_builder.go b/rolemanagement/device_management_role_assignments_request_builder.go index a7e96c061f8..d767abd2235 100644 --- a/rolemanagement/device_management_role_assignments_request_builder.go +++ b/rolemanagement/device_management_role_assignments_request_builder.go @@ -46,8 +46,8 @@ type DeviceManagementRoleAssignmentsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleAssignmentMultipleIdString provides operations to manage the roleAssignments property of the microsoft.graph.rbacApplicationMultiple entity. -func (m *DeviceManagementRoleAssignmentsRequestBuilder) ByUnifiedRoleAssignmentMultipleIdString(unifiedRoleAssignmentMultipleId string)(*DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) { +// ByUnifiedRoleAssignmentMultipleId provides operations to manage the roleAssignments property of the microsoft.graph.rbacApplicationMultiple entity. +func (m *DeviceManagementRoleAssignmentsRequestBuilder) ByUnifiedRoleAssignmentMultipleId(unifiedRoleAssignmentMultipleId string)(*DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *DeviceManagementRoleAssignmentsRequestBuilder) 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 *DeviceManagementRoleAssignmentsRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRoleAssignmentsRequestBuilder) { + return NewDeviceManagementRoleAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_role_assignments_unified_role_assignment_multiple_item_request_builder.go b/rolemanagement/device_management_role_assignments_unified_role_assignment_multiple_item_request_builder.go index 68ac315899c..3e12c221484 100644 --- a/rolemanagement/device_management_role_assignments_unified_role_assignment_multiple_item_request_builder.go +++ b/rolemanagement/device_management_role_assignments_unified_role_assignment_multiple_item_request_builder.go @@ -178,3 +178,7 @@ func (m *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequest } 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 *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) { + return NewDeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_role_definitions_count_request_builder.go b/rolemanagement/device_management_role_definitions_count_request_builder.go index 8ce65e26cd9..edba0983120 100644 --- a/rolemanagement/device_management_role_definitions_count_request_builder.go +++ b/rolemanagement/device_management_role_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceManagementRoleDefinitionsCountRequestBuilder) ToGetRequestInforma } 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 *DeviceManagementRoleDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRoleDefinitionsCountRequestBuilder) { + return NewDeviceManagementRoleDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/device_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index c5487fafec4..3aaab69eb7e 100644 --- a/rolemanagement/device_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/device_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -15,9 +15,9 @@ type DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirector // Include count of items Count *bool `uriparametername:"%24count"` // Usage: directoryScopeId='@directoryScopeId' - DirectoryScopeId *string + DirectoryScopeId *string `uriparametername:"directoryScopeId"` // Usage: directoryScopeType='@directoryScopeType' - DirectoryScopeType *string + DirectoryScopeType *string `uriparametername:"directoryScopeType"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -31,7 +31,7 @@ type DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirector // Show only the first n items Top *int32 `uriparametername:"%24top"` // Usage: transitive=@transitive - Transitive *bool + Transitive *bool `uriparametername:"transitive"` } // DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration struct { @@ -90,3 +90,7 @@ func (m *DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedire } 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 *DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) { + return NewDeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_count_request_builder.go b/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_count_request_builder.go index 076f4560b74..36d23fa08b2 100644 --- a/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_count_request_builder.go +++ b/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromCountRequestB } 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 *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromCountRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRoleDefinitionsItemInheritsPermissionsFromCountRequestBuilder) { + return NewDeviceManagementRoleDefinitionsItemInheritsPermissionsFromCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index 5c5fd4a31ed..55ef9616233 100644 --- a/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -15,9 +15,9 @@ type DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrinc // Include count of items Count *bool `uriparametername:"%24count"` // Usage: directoryScopeId='@directoryScopeId' - DirectoryScopeId *string + DirectoryScopeId *string `uriparametername:"directoryScopeId"` // Usage: directoryScopeType='@directoryScopeType' - DirectoryScopeType *string + DirectoryScopeType *string `uriparametername:"directoryScopeType"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -31,7 +31,7 @@ type DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrinc // Show only the first n items Top *int32 `uriparametername:"%24top"` // Usage: transitive=@transitive - Transitive *bool + Transitive *bool `uriparametername:"transitive"` } // DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration struct { @@ -90,3 +90,7 @@ func (m *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedP } 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 *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) { + return NewDeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_request_builder.go b/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_request_builder.go index 6de4358a8ba..6abe65f7083 100644 --- a/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_request_builder.go +++ b/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_request_builder.go @@ -46,8 +46,8 @@ type DeviceManagementRoleDefinitionsItemInheritsPermissionsFromRequestBuilderPos // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleDefinitionId1String provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. -func (m *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) ByUnifiedRoleDefinitionId1String(unifiedRoleDefinitionId1 string)(*DeviceManagementRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) { +// ByUnifiedRoleDefinitionId1 provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. +func (m *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) ByUnifiedRoleDefinitionId1(unifiedRoleDefinitionId1 string)(*DeviceManagementRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromRequestBuilde } 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 *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) { + return NewDeviceManagementRoleDefinitionsItemInheritsPermissionsFromRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go b/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go index 55bddb0459c..2ec41723cf9 100644 --- a/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go +++ b/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDe } 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 *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) { + return NewDeviceManagementRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_role_definitions_request_builder.go b/rolemanagement/device_management_role_definitions_request_builder.go index e920a3f9a46..cc92157213a 100644 --- a/rolemanagement/device_management_role_definitions_request_builder.go +++ b/rolemanagement/device_management_role_definitions_request_builder.go @@ -46,8 +46,8 @@ type DeviceManagementRoleDefinitionsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleDefinitionIdString provides operations to manage the roleDefinitions property of the microsoft.graph.rbacApplicationMultiple entity. -func (m *DeviceManagementRoleDefinitionsRequestBuilder) ByUnifiedRoleDefinitionIdString(unifiedRoleDefinitionId string)(*DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) { +// ByUnifiedRoleDefinitionId provides operations to manage the roleDefinitions property of the microsoft.graph.rbacApplicationMultiple entity. +func (m *DeviceManagementRoleDefinitionsRequestBuilder) ByUnifiedRoleDefinitionId(unifiedRoleDefinitionId string)(*DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *DeviceManagementRoleDefinitionsRequestBuilder) 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 *DeviceManagementRoleDefinitionsRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRoleDefinitionsRequestBuilder) { + return NewDeviceManagementRoleDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/device_management_role_definitions_unified_role_definition_item_request_builder.go b/rolemanagement/device_management_role_definitions_unified_role_definition_item_request_builder.go index 24b3c545dab..06fbed13304 100644 --- a/rolemanagement/device_management_role_definitions_unified_role_definition_item_request_builder.go +++ b/rolemanagement/device_management_role_definitions_unified_role_definition_item_request_builder.go @@ -170,3 +170,7 @@ func (m *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) } 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 *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) { + return NewDeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_request_builder.go b/rolemanagement/directory_request_builder.go index ebfd5ba0984..b71f122af1f 100644 --- a/rolemanagement/directory_request_builder.go +++ b/rolemanagement/directory_request_builder.go @@ -205,3 +205,7 @@ func (m *DirectoryRequestBuilder) ToPatchRequestInformation(ctx context.Context, func (m *DirectoryRequestBuilder) TransitiveRoleAssignments()(*DirectoryTransitiveRoleAssignmentsRequestBuilder) { return NewDirectoryTransitiveRoleAssignmentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DirectoryRequestBuilder) WithUrl(rawUrl string)(*DirectoryRequestBuilder) { + return NewDirectoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_resource_namespaces_count_request_builder.go b/rolemanagement/directory_resource_namespaces_count_request_builder.go index 743a22087a0..eb2a4f3118e 100644 --- a/rolemanagement/directory_resource_namespaces_count_request_builder.go +++ b/rolemanagement/directory_resource_namespaces_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DirectoryResourceNamespacesCountRequestBuilder) 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 *DirectoryResourceNamespacesCountRequestBuilder) WithUrl(rawUrl string)(*DirectoryResourceNamespacesCountRequestBuilder) { + return NewDirectoryResourceNamespacesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_resource_namespaces_item_import_resource_actions_request_builder.go b/rolemanagement/directory_resource_namespaces_item_import_resource_actions_request_builder.go index cf2851ad218..52992aa1386 100644 --- a/rolemanagement/directory_resource_namespaces_item_import_resource_actions_request_builder.go +++ b/rolemanagement/directory_resource_namespaces_item_import_resource_actions_request_builder.go @@ -67,3 +67,7 @@ func (m *DirectoryResourceNamespacesItemImportResourceActionsRequestBuilder) 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 *DirectoryResourceNamespacesItemImportResourceActionsRequestBuilder) WithUrl(rawUrl string)(*DirectoryResourceNamespacesItemImportResourceActionsRequestBuilder) { + return NewDirectoryResourceNamespacesItemImportResourceActionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_resource_namespaces_item_resource_actions_count_request_builder.go b/rolemanagement/directory_resource_namespaces_item_resource_actions_count_request_builder.go index df249f1d55c..e2191314b12 100644 --- a/rolemanagement/directory_resource_namespaces_item_resource_actions_count_request_builder.go +++ b/rolemanagement/directory_resource_namespaces_item_resource_actions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DirectoryResourceNamespacesItemResourceActionsCountRequestBuilder) ToGe } 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 *DirectoryResourceNamespacesItemResourceActionsCountRequestBuilder) WithUrl(rawUrl string)(*DirectoryResourceNamespacesItemResourceActionsCountRequestBuilder) { + return NewDirectoryResourceNamespacesItemResourceActionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go b/rolemanagement/directory_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go index 364ab9c4810..9677eb70680 100644 --- a/rolemanagement/directory_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go +++ b/rolemanagement/directory_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryResourceNamespacesItemResourceActionsItemAuthenticationContext } 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 *DirectoryResourceNamespacesItemResourceActionsItemAuthenticationContextRequestBuilder) WithUrl(rawUrl string)(*DirectoryResourceNamespacesItemResourceActionsItemAuthenticationContextRequestBuilder) { + return NewDirectoryResourceNamespacesItemResourceActionsItemAuthenticationContextRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go b/rolemanagement/directory_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go index 23911bf7e69..257b5c82828 100644 --- a/rolemanagement/directory_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go +++ b/rolemanagement/directory_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go @@ -153,3 +153,7 @@ func (m *DirectoryResourceNamespacesItemResourceActionsItemResourceScopeRequestB } 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 *DirectoryResourceNamespacesItemResourceActionsItemResourceScopeRequestBuilder) WithUrl(rawUrl string)(*DirectoryResourceNamespacesItemResourceActionsItemResourceScopeRequestBuilder) { + return NewDirectoryResourceNamespacesItemResourceActionsItemResourceScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_resource_namespaces_item_resource_actions_request_builder.go b/rolemanagement/directory_resource_namespaces_item_resource_actions_request_builder.go index 36476e8ebff..6cfc95d96a3 100644 --- a/rolemanagement/directory_resource_namespaces_item_resource_actions_request_builder.go +++ b/rolemanagement/directory_resource_namespaces_item_resource_actions_request_builder.go @@ -46,8 +46,8 @@ type DirectoryResourceNamespacesItemResourceActionsRequestBuilderPostRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRbacResourceActionIdString provides operations to manage the resourceActions property of the microsoft.graph.unifiedRbacResourceNamespace entity. -func (m *DirectoryResourceNamespacesItemResourceActionsRequestBuilder) ByUnifiedRbacResourceActionIdString(unifiedRbacResourceActionId string)(*DirectoryResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) { +// ByUnifiedRbacResourceActionId provides operations to manage the resourceActions property of the microsoft.graph.unifiedRbacResourceNamespace entity. +func (m *DirectoryResourceNamespacesItemResourceActionsRequestBuilder) ByUnifiedRbacResourceActionId(unifiedRbacResourceActionId string)(*DirectoryResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *DirectoryResourceNamespacesItemResourceActionsRequestBuilder) ToPostReq } 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 *DirectoryResourceNamespacesItemResourceActionsRequestBuilder) WithUrl(rawUrl string)(*DirectoryResourceNamespacesItemResourceActionsRequestBuilder) { + return NewDirectoryResourceNamespacesItemResourceActionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go b/rolemanagement/directory_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go index e56adef4f9c..105c278716a 100644 --- a/rolemanagement/directory_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go +++ b/rolemanagement/directory_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go @@ -164,3 +164,7 @@ func (m *DirectoryResourceNamespacesItemResourceActionsUnifiedRbacResourceAction } 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 *DirectoryResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) WithUrl(rawUrl string)(*DirectoryResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) { + return NewDirectoryResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_resource_namespaces_request_builder.go b/rolemanagement/directory_resource_namespaces_request_builder.go index 183ab899f1a..69225e54df5 100644 --- a/rolemanagement/directory_resource_namespaces_request_builder.go +++ b/rolemanagement/directory_resource_namespaces_request_builder.go @@ -46,8 +46,8 @@ type DirectoryResourceNamespacesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRbacResourceNamespaceIdString provides operations to manage the resourceNamespaces property of the microsoft.graph.rbacApplication entity. -func (m *DirectoryResourceNamespacesRequestBuilder) ByUnifiedRbacResourceNamespaceIdString(unifiedRbacResourceNamespaceId string)(*DirectoryResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) { +// ByUnifiedRbacResourceNamespaceId provides operations to manage the resourceNamespaces property of the microsoft.graph.rbacApplication entity. +func (m *DirectoryResourceNamespacesRequestBuilder) ByUnifiedRbacResourceNamespaceId(unifiedRbacResourceNamespaceId string)(*DirectoryResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *DirectoryResourceNamespacesRequestBuilder) 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 *DirectoryResourceNamespacesRequestBuilder) WithUrl(rawUrl string)(*DirectoryResourceNamespacesRequestBuilder) { + return NewDirectoryResourceNamespacesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go b/rolemanagement/directory_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go index f2b9bb7f577..0def2832939 100644 --- a/rolemanagement/directory_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go +++ b/rolemanagement/directory_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go @@ -164,3 +164,7 @@ func (m *DirectoryResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuild } 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 *DirectoryResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) WithUrl(rawUrl string)(*DirectoryResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) { + return NewDirectoryResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_approvals_approval_item_request_builder.go b/rolemanagement/directory_role_assignment_approvals_approval_item_request_builder.go index bcc4b28cacc..4b82e76d261 100644 --- a/rolemanagement/directory_role_assignment_approvals_approval_item_request_builder.go +++ b/rolemanagement/directory_role_assignment_approvals_approval_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DirectoryRoleAssignmentApprovalsApprovalItemRequestBuilder) ToPatchRequ } 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 *DirectoryRoleAssignmentApprovalsApprovalItemRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentApprovalsApprovalItemRequestBuilder) { + return NewDirectoryRoleAssignmentApprovalsApprovalItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_approvals_count_request_builder.go b/rolemanagement/directory_role_assignment_approvals_count_request_builder.go index 0829d82f982..6e6e60e6f81 100644 --- a/rolemanagement/directory_role_assignment_approvals_count_request_builder.go +++ b/rolemanagement/directory_role_assignment_approvals_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DirectoryRoleAssignmentApprovalsCountRequestBuilder) ToGetRequestInform } 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 *DirectoryRoleAssignmentApprovalsCountRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentApprovalsCountRequestBuilder) { + return NewDirectoryRoleAssignmentApprovalsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go b/rolemanagement/directory_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go index 6e2379b58ad..a4f899bc986 100644 --- a/rolemanagement/directory_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/directory_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *DirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder } 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 *DirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) { + return NewDirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_approvals_item_steps_approval_step_item_request_builder.go b/rolemanagement/directory_role_assignment_approvals_item_steps_approval_step_item_request_builder.go index 26c2b5b11dd..07ec19ead45 100644 --- a/rolemanagement/directory_role_assignment_approvals_item_steps_approval_step_item_request_builder.go +++ b/rolemanagement/directory_role_assignment_approvals_item_steps_approval_step_item_request_builder.go @@ -159,3 +159,7 @@ func (m *DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder } 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 *DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) { + return NewDirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_approvals_item_steps_count_request_builder.go b/rolemanagement/directory_role_assignment_approvals_item_steps_count_request_builder.go index ab6047e33f1..c67f6b175ac 100644 --- a/rolemanagement/directory_role_assignment_approvals_item_steps_count_request_builder.go +++ b/rolemanagement/directory_role_assignment_approvals_item_steps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DirectoryRoleAssignmentApprovalsItemStepsCountRequestBuilder) ToGetRequ } 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 *DirectoryRoleAssignmentApprovalsItemStepsCountRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentApprovalsItemStepsCountRequestBuilder) { + return NewDirectoryRoleAssignmentApprovalsItemStepsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_approvals_item_steps_request_builder.go b/rolemanagement/directory_role_assignment_approvals_item_steps_request_builder.go index f1902b41df8..b1e716a3949 100644 --- a/rolemanagement/directory_role_assignment_approvals_item_steps_request_builder.go +++ b/rolemanagement/directory_role_assignment_approvals_item_steps_request_builder.go @@ -46,8 +46,8 @@ type DirectoryRoleAssignmentApprovalsItemStepsRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByApprovalStepIdString provides operations to manage the steps property of the microsoft.graph.approval entity. -func (m *DirectoryRoleAssignmentApprovalsItemStepsRequestBuilder) ByApprovalStepIdString(approvalStepId string)(*DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) { +// ByApprovalStepId provides operations to manage the steps property of the microsoft.graph.approval entity. +func (m *DirectoryRoleAssignmentApprovalsItemStepsRequestBuilder) ByApprovalStepId(approvalStepId string)(*DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *DirectoryRoleAssignmentApprovalsItemStepsRequestBuilder) ToPostRequestI } 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 *DirectoryRoleAssignmentApprovalsItemStepsRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentApprovalsItemStepsRequestBuilder) { + return NewDirectoryRoleAssignmentApprovalsItemStepsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_approvals_request_builder.go b/rolemanagement/directory_role_assignment_approvals_request_builder.go index 6a747de280e..52b4d3ff806 100644 --- a/rolemanagement/directory_role_assignment_approvals_request_builder.go +++ b/rolemanagement/directory_role_assignment_approvals_request_builder.go @@ -46,8 +46,8 @@ type DirectoryRoleAssignmentApprovalsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByApprovalIdString provides operations to manage the roleAssignmentApprovals property of the microsoft.graph.rbacApplication entity. -func (m *DirectoryRoleAssignmentApprovalsRequestBuilder) ByApprovalIdString(approvalId string)(*DirectoryRoleAssignmentApprovalsApprovalItemRequestBuilder) { +// ByApprovalId provides operations to manage the roleAssignmentApprovals property of the microsoft.graph.rbacApplication entity. +func (m *DirectoryRoleAssignmentApprovalsRequestBuilder) ByApprovalId(approvalId string)(*DirectoryRoleAssignmentApprovalsApprovalItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *DirectoryRoleAssignmentApprovalsRequestBuilder) ToPostRequestInformatio } 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 *DirectoryRoleAssignmentApprovalsRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentApprovalsRequestBuilder) { + return NewDirectoryRoleAssignmentApprovalsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedule_instances_count_request_builder.go b/rolemanagement/directory_role_assignment_schedule_instances_count_request_builder.go index c408487f40d..e27114268ea 100644 --- a/rolemanagement/directory_role_assignment_schedule_instances_count_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_instances_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesCountRequestBuilder) ToGetReque } 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 *DirectoryRoleAssignmentScheduleInstancesCountRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentScheduleInstancesCountRequestBuilder) { + return NewDirectoryRoleAssignmentScheduleInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go b/rolemanagement/directory_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go index 7e8706c0cf2..91b27c8e1f7 100644 --- a/rolemanagement/directory_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnReques } 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 *DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) { + return NewDirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedule_instances_item_activated_using_request_builder.go b/rolemanagement/directory_role_assignment_schedule_instances_item_activated_using_request_builder.go index 92b05950095..917644cdd9a 100644 --- a/rolemanagement/directory_role_assignment_schedule_instances_item_activated_using_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_instances_item_activated_using_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesItemActivatedUsingRequestBuilde } 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 *DirectoryRoleAssignmentScheduleInstancesItemActivatedUsingRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentScheduleInstancesItemActivatedUsingRequestBuilder) { + return NewDirectoryRoleAssignmentScheduleInstancesItemActivatedUsingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedule_instances_item_app_scope_request_builder.go b/rolemanagement/directory_role_assignment_schedule_instances_item_app_scope_request_builder.go index 5db905ba615..1eaf7dfd26b 100644 --- a/rolemanagement/directory_role_assignment_schedule_instances_item_app_scope_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_instances_item_app_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesItemAppScopeRequestBuilder) ToG } 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 *DirectoryRoleAssignmentScheduleInstancesItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentScheduleInstancesItemAppScopeRequestBuilder) { + return NewDirectoryRoleAssignmentScheduleInstancesItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedule_instances_item_directory_scope_request_builder.go b/rolemanagement/directory_role_assignment_schedule_instances_item_directory_scope_request_builder.go index 86d03684a09..ef72f14fa12 100644 --- a/rolemanagement/directory_role_assignment_schedule_instances_item_directory_scope_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_instances_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesItemDirectoryScopeRequestBuilde } 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 *DirectoryRoleAssignmentScheduleInstancesItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentScheduleInstancesItemDirectoryScopeRequestBuilder) { + return NewDirectoryRoleAssignmentScheduleInstancesItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedule_instances_item_principal_request_builder.go b/rolemanagement/directory_role_assignment_schedule_instances_item_principal_request_builder.go index 0e6cfbdefdc..878eebf7af9 100644 --- a/rolemanagement/directory_role_assignment_schedule_instances_item_principal_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_instances_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesItemPrincipalRequestBuilder) To } 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 *DirectoryRoleAssignmentScheduleInstancesItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentScheduleInstancesItemPrincipalRequestBuilder) { + return NewDirectoryRoleAssignmentScheduleInstancesItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedule_instances_item_role_definition_request_builder.go b/rolemanagement/directory_role_assignment_schedule_instances_item_role_definition_request_builder.go index d03ad14b06f..5a20b415dfd 100644 --- a/rolemanagement/directory_role_assignment_schedule_instances_item_role_definition_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_instances_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesItemRoleDefinitionRequestBuilde } 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 *DirectoryRoleAssignmentScheduleInstancesItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentScheduleInstancesItemRoleDefinitionRequestBuilder) { + return NewDirectoryRoleAssignmentScheduleInstancesItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedule_instances_request_builder.go b/rolemanagement/directory_role_assignment_schedule_instances_request_builder.go index d62443bef8a..ddf35988cdd 100644 --- a/rolemanagement/directory_role_assignment_schedule_instances_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_instances_request_builder.go @@ -46,8 +46,8 @@ type DirectoryRoleAssignmentScheduleInstancesRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleAssignmentScheduleInstanceIdString provides operations to manage the roleAssignmentScheduleInstances property of the microsoft.graph.rbacApplication entity. -func (m *DirectoryRoleAssignmentScheduleInstancesRequestBuilder) ByUnifiedRoleAssignmentScheduleInstanceIdString(unifiedRoleAssignmentScheduleInstanceId string)(*DirectoryRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder) { +// ByUnifiedRoleAssignmentScheduleInstanceId provides operations to manage the roleAssignmentScheduleInstances property of the microsoft.graph.rbacApplication entity. +func (m *DirectoryRoleAssignmentScheduleInstancesRequestBuilder) ByUnifiedRoleAssignmentScheduleInstanceId(unifiedRoleAssignmentScheduleInstanceId string)(*DirectoryRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesRequestBuilder) ToPostRequestIn } 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 *DirectoryRoleAssignmentScheduleInstancesRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentScheduleInstancesRequestBuilder) { + return NewDirectoryRoleAssignmentScheduleInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go b/rolemanagement/directory_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go index 4647de8b7a1..dc9c09dc9bc 100644 --- a/rolemanagement/directory_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go @@ -176,3 +176,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleIn } 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 *DirectoryRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder) { + return NewDirectoryRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedule_requests_count_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_count_request_builder.go index 426a8d95da6..ff4967ea755 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_count_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsCountRequestBuilder) ToGetReques } 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 *DirectoryRoleAssignmentScheduleRequestsCountRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentScheduleRequestsCountRequestBuilder) { + return NewDirectoryRoleAssignmentScheduleRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go index 13c07d093a2..f2ff55bfc66 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequest } 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 *DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) { + return NewDirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedule_requests_item_activated_using_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_item_activated_using_request_builder.go index 1dc09d27309..12ff7ccd55b 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_item_activated_using_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_item_activated_using_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsItemActivatedUsingRequestBuilder } 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 *DirectoryRoleAssignmentScheduleRequestsItemActivatedUsingRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentScheduleRequestsItemActivatedUsingRequestBuilder) { + return NewDirectoryRoleAssignmentScheduleRequestsItemActivatedUsingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedule_requests_item_app_scope_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_item_app_scope_request_builder.go index d9e81f48167..d40c54a0f49 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_item_app_scope_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_item_app_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsItemAppScopeRequestBuilder) ToGe } 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 *DirectoryRoleAssignmentScheduleRequestsItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentScheduleRequestsItemAppScopeRequestBuilder) { + return NewDirectoryRoleAssignmentScheduleRequestsItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedule_requests_item_cancel_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_item_cancel_request_builder.go index b890ef2756d..6e07c586e91 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_item_cancel_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_item_cancel_request_builder.go @@ -61,3 +61,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsItemCancelRequestBuilder) ToPost } 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 *DirectoryRoleAssignmentScheduleRequestsItemCancelRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentScheduleRequestsItemCancelRequestBuilder) { + return NewDirectoryRoleAssignmentScheduleRequestsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedule_requests_item_directory_scope_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_item_directory_scope_request_builder.go index e7b278162f4..bc8f4b4ed41 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_item_directory_scope_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsItemDirectoryScopeRequestBuilder } 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 *DirectoryRoleAssignmentScheduleRequestsItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentScheduleRequestsItemDirectoryScopeRequestBuilder) { + return NewDirectoryRoleAssignmentScheduleRequestsItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedule_requests_item_principal_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_item_principal_request_builder.go index 6401d7e9834..bb731a65e16 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_item_principal_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsItemPrincipalRequestBuilder) ToG } 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 *DirectoryRoleAssignmentScheduleRequestsItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentScheduleRequestsItemPrincipalRequestBuilder) { + return NewDirectoryRoleAssignmentScheduleRequestsItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedule_requests_item_role_definition_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_item_role_definition_request_builder.go index ff7843fc7e7..a2b42e9e081 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_item_role_definition_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsItemRoleDefinitionRequestBuilder } 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 *DirectoryRoleAssignmentScheduleRequestsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentScheduleRequestsItemRoleDefinitionRequestBuilder) { + return NewDirectoryRoleAssignmentScheduleRequestsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedule_requests_item_target_schedule_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_item_target_schedule_request_builder.go index b073c5afa31..bee4ef6ea51 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_item_target_schedule_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_item_target_schedule_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsItemTargetScheduleRequestBuilder } 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 *DirectoryRoleAssignmentScheduleRequestsItemTargetScheduleRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentScheduleRequestsItemTargetScheduleRequestBuilder) { + return NewDirectoryRoleAssignmentScheduleRequestsItemTargetScheduleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedule_requests_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_request_builder.go index a049f47d3fe..0fca4ebd6d7 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_request_builder.go @@ -46,8 +46,8 @@ type DirectoryRoleAssignmentScheduleRequestsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleAssignmentScheduleRequestIdString provides operations to manage the roleAssignmentScheduleRequests property of the microsoft.graph.rbacApplication entity. -func (m *DirectoryRoleAssignmentScheduleRequestsRequestBuilder) ByUnifiedRoleAssignmentScheduleRequestIdString(unifiedRoleAssignmentScheduleRequestId string)(*DirectoryRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder) { +// ByUnifiedRoleAssignmentScheduleRequestId provides operations to manage the roleAssignmentScheduleRequests property of the microsoft.graph.rbacApplication entity. +func (m *DirectoryRoleAssignmentScheduleRequestsRequestBuilder) ByUnifiedRoleAssignmentScheduleRequestId(unifiedRoleAssignmentScheduleRequestId string)(*DirectoryRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsRequestBuilder) ToPostRequestInf } 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 *DirectoryRoleAssignmentScheduleRequestsRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentScheduleRequestsRequestBuilder) { + return NewDirectoryRoleAssignmentScheduleRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go index 5441f0926b6..d9a9ffee6f9 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go @@ -184,3 +184,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleReq } 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 *DirectoryRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder) { + return NewDirectoryRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedules_count_request_builder.go b/rolemanagement/directory_role_assignment_schedules_count_request_builder.go index 4d9e0d4d581..2e922962501 100644 --- a/rolemanagement/directory_role_assignment_schedules_count_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedules_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DirectoryRoleAssignmentSchedulesCountRequestBuilder) ToGetRequestInform } 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 *DirectoryRoleAssignmentSchedulesCountRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentSchedulesCountRequestBuilder) { + return NewDirectoryRoleAssignmentSchedulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go b/rolemanagement/directory_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go index e51be391dfd..ca0ab7fe2c3 100644 --- a/rolemanagement/directory_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder } 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 *DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) { + return NewDirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedules_item_activated_using_request_builder.go b/rolemanagement/directory_role_assignment_schedules_item_activated_using_request_builder.go index 0e4adea187d..5b52e0f577d 100644 --- a/rolemanagement/directory_role_assignment_schedules_item_activated_using_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedules_item_activated_using_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleAssignmentSchedulesItemActivatedUsingRequestBuilder) ToGet } 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 *DirectoryRoleAssignmentSchedulesItemActivatedUsingRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentSchedulesItemActivatedUsingRequestBuilder) { + return NewDirectoryRoleAssignmentSchedulesItemActivatedUsingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedules_item_app_scope_request_builder.go b/rolemanagement/directory_role_assignment_schedules_item_app_scope_request_builder.go index 60b37196667..77b8a1a151e 100644 --- a/rolemanagement/directory_role_assignment_schedules_item_app_scope_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedules_item_app_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleAssignmentSchedulesItemAppScopeRequestBuilder) ToGetReques } 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 *DirectoryRoleAssignmentSchedulesItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentSchedulesItemAppScopeRequestBuilder) { + return NewDirectoryRoleAssignmentSchedulesItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedules_item_directory_scope_request_builder.go b/rolemanagement/directory_role_assignment_schedules_item_directory_scope_request_builder.go index c57eb660e89..f48c6ae0d86 100644 --- a/rolemanagement/directory_role_assignment_schedules_item_directory_scope_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedules_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleAssignmentSchedulesItemDirectoryScopeRequestBuilder) ToGet } 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 *DirectoryRoleAssignmentSchedulesItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentSchedulesItemDirectoryScopeRequestBuilder) { + return NewDirectoryRoleAssignmentSchedulesItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedules_item_principal_request_builder.go b/rolemanagement/directory_role_assignment_schedules_item_principal_request_builder.go index 407b7aaf6d1..6cef0acaa52 100644 --- a/rolemanagement/directory_role_assignment_schedules_item_principal_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedules_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleAssignmentSchedulesItemPrincipalRequestBuilder) ToGetReque } 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 *DirectoryRoleAssignmentSchedulesItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentSchedulesItemPrincipalRequestBuilder) { + return NewDirectoryRoleAssignmentSchedulesItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedules_item_role_definition_request_builder.go b/rolemanagement/directory_role_assignment_schedules_item_role_definition_request_builder.go index bc1d9e420a7..1f4cdb4bcfd 100644 --- a/rolemanagement/directory_role_assignment_schedules_item_role_definition_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedules_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleAssignmentSchedulesItemRoleDefinitionRequestBuilder) ToGet } 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 *DirectoryRoleAssignmentSchedulesItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentSchedulesItemRoleDefinitionRequestBuilder) { + return NewDirectoryRoleAssignmentSchedulesItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedules_request_builder.go b/rolemanagement/directory_role_assignment_schedules_request_builder.go index 5cc518a44d1..855be7df5e8 100644 --- a/rolemanagement/directory_role_assignment_schedules_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedules_request_builder.go @@ -46,8 +46,8 @@ type DirectoryRoleAssignmentSchedulesRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleAssignmentScheduleIdString provides operations to manage the roleAssignmentSchedules property of the microsoft.graph.rbacApplication entity. -func (m *DirectoryRoleAssignmentSchedulesRequestBuilder) ByUnifiedRoleAssignmentScheduleIdString(unifiedRoleAssignmentScheduleId string)(*DirectoryRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder) { +// ByUnifiedRoleAssignmentScheduleId provides operations to manage the roleAssignmentSchedules property of the microsoft.graph.rbacApplication entity. +func (m *DirectoryRoleAssignmentSchedulesRequestBuilder) ByUnifiedRoleAssignmentScheduleId(unifiedRoleAssignmentScheduleId string)(*DirectoryRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *DirectoryRoleAssignmentSchedulesRequestBuilder) ToPostRequestInformatio } 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 *DirectoryRoleAssignmentSchedulesRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentSchedulesRequestBuilder) { + return NewDirectoryRoleAssignmentSchedulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go b/rolemanagement/directory_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go index 09f9746b9ce..ae00f54b34b 100644 --- a/rolemanagement/directory_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go @@ -176,3 +176,7 @@ func (m *DirectoryRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemReques } 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 *DirectoryRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder) { + return NewDirectoryRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignments_count_request_builder.go b/rolemanagement/directory_role_assignments_count_request_builder.go index 39debeabd17..650ffbb8cf5 100644 --- a/rolemanagement/directory_role_assignments_count_request_builder.go +++ b/rolemanagement/directory_role_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DirectoryRoleAssignmentsCountRequestBuilder) ToGetRequestInformation(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 *DirectoryRoleAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentsCountRequestBuilder) { + return NewDirectoryRoleAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignments_item_app_scope_request_builder.go b/rolemanagement/directory_role_assignments_item_app_scope_request_builder.go index 26f008771ce..9ac802a9f19 100644 --- a/rolemanagement/directory_role_assignments_item_app_scope_request_builder.go +++ b/rolemanagement/directory_role_assignments_item_app_scope_request_builder.go @@ -153,3 +153,7 @@ func (m *DirectoryRoleAssignmentsItemAppScopeRequestBuilder) ToPatchRequestInfor } 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 *DirectoryRoleAssignmentsItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentsItemAppScopeRequestBuilder) { + return NewDirectoryRoleAssignmentsItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignments_item_directory_scope_request_builder.go b/rolemanagement/directory_role_assignments_item_directory_scope_request_builder.go index b7193e163d5..d6cd7e886b5 100644 --- a/rolemanagement/directory_role_assignments_item_directory_scope_request_builder.go +++ b/rolemanagement/directory_role_assignments_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleAssignmentsItemDirectoryScopeRequestBuilder) ToGetRequestI } 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 *DirectoryRoleAssignmentsItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentsItemDirectoryScopeRequestBuilder) { + return NewDirectoryRoleAssignmentsItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignments_item_principal_request_builder.go b/rolemanagement/directory_role_assignments_item_principal_request_builder.go index 6f1b814dc03..a9b24e413ba 100644 --- a/rolemanagement/directory_role_assignments_item_principal_request_builder.go +++ b/rolemanagement/directory_role_assignments_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleAssignmentsItemPrincipalRequestBuilder) ToGetRequestInform } 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 *DirectoryRoleAssignmentsItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentsItemPrincipalRequestBuilder) { + return NewDirectoryRoleAssignmentsItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignments_item_role_definition_request_builder.go b/rolemanagement/directory_role_assignments_item_role_definition_request_builder.go index 249d17affdf..cc2cdabc4c7 100644 --- a/rolemanagement/directory_role_assignments_item_role_definition_request_builder.go +++ b/rolemanagement/directory_role_assignments_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleAssignmentsItemRoleDefinitionRequestBuilder) ToGetRequestI } 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 *DirectoryRoleAssignmentsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentsItemRoleDefinitionRequestBuilder) { + return NewDirectoryRoleAssignmentsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignments_request_builder.go b/rolemanagement/directory_role_assignments_request_builder.go index 681fc7ae955..495a6126dcf 100644 --- a/rolemanagement/directory_role_assignments_request_builder.go +++ b/rolemanagement/directory_role_assignments_request_builder.go @@ -46,8 +46,8 @@ type DirectoryRoleAssignmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleAssignmentIdString provides operations to manage the roleAssignments property of the microsoft.graph.rbacApplication entity. -func (m *DirectoryRoleAssignmentsRequestBuilder) ByUnifiedRoleAssignmentIdString(unifiedRoleAssignmentId string)(*DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { +// ByUnifiedRoleAssignmentId provides operations to manage the roleAssignments property of the microsoft.graph.rbacApplication entity. +func (m *DirectoryRoleAssignmentsRequestBuilder) ByUnifiedRoleAssignmentId(unifiedRoleAssignmentId string)(*DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *DirectoryRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx co } 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 *DirectoryRoleAssignmentsRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentsRequestBuilder) { + return NewDirectoryRoleAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_assignments_unified_role_assignment_item_request_builder.go b/rolemanagement/directory_role_assignments_unified_role_assignment_item_request_builder.go index 3925519b10e..f3f27e2ac50 100644 --- a/rolemanagement/directory_role_assignments_unified_role_assignment_item_request_builder.go +++ b/rolemanagement/directory_role_assignments_unified_role_assignment_item_request_builder.go @@ -175,3 +175,7 @@ func (m *DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) ToPatc } 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 *DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { + return NewDirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_definitions_count_request_builder.go b/rolemanagement/directory_role_definitions_count_request_builder.go index f83c526390c..6304f8d775f 100644 --- a/rolemanagement/directory_role_definitions_count_request_builder.go +++ b/rolemanagement/directory_role_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DirectoryRoleDefinitionsCountRequestBuilder) ToGetRequestInformation(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 *DirectoryRoleDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleDefinitionsCountRequestBuilder) { + return NewDirectoryRoleDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/directory_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index 15e92ad2cb3..c143f369e41 100644 --- a/rolemanagement/directory_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/directory_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -15,9 +15,9 @@ type DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeT // Include count of items Count *bool `uriparametername:"%24count"` // Usage: directoryScopeId='@directoryScopeId' - DirectoryScopeId *string + DirectoryScopeId *string `uriparametername:"directoryScopeId"` // Usage: directoryScopeType='@directoryScopeType' - DirectoryScopeType *string + DirectoryScopeType *string `uriparametername:"directoryScopeType"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -31,7 +31,7 @@ type DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeT // Show only the first n items Top *int32 `uriparametername:"%24top"` // Usage: transitive=@transitive - Transitive *bool + Transitive *bool `uriparametername:"transitive"` } // DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration struct { @@ -90,3 +90,7 @@ func (m *DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectorySc } 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 *DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) { + return NewDirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_definitions_item_inherits_permissions_from_count_request_builder.go b/rolemanagement/directory_role_definitions_item_inherits_permissions_from_count_request_builder.go index db0c7a58753..dd48930efaf 100644 --- a/rolemanagement/directory_role_definitions_item_inherits_permissions_from_count_request_builder.go +++ b/rolemanagement/directory_role_definitions_item_inherits_permissions_from_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DirectoryRoleDefinitionsItemInheritsPermissionsFromCountRequestBuilder) } 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 *DirectoryRoleDefinitionsItemInheritsPermissionsFromCountRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleDefinitionsItemInheritsPermissionsFromCountRequestBuilder) { + return NewDirectoryRoleDefinitionsItemInheritsPermissionsFromCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/directory_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index 0b164a2611a..7d025ce0406 100644 --- a/rolemanagement/directory_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/directory_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -15,9 +15,9 @@ type DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWi // Include count of items Count *bool `uriparametername:"%24count"` // Usage: directoryScopeId='@directoryScopeId' - DirectoryScopeId *string + DirectoryScopeId *string `uriparametername:"directoryScopeId"` // Usage: directoryScopeType='@directoryScopeType' - DirectoryScopeType *string + DirectoryScopeType *string `uriparametername:"directoryScopeType"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -31,7 +31,7 @@ type DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWi // Show only the first n items Top *int32 `uriparametername:"%24top"` // Usage: transitive=@transitive - Transitive *bool + Transitive *bool `uriparametername:"transitive"` } // DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration struct { @@ -90,3 +90,7 @@ func (m *DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipa } 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 *DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) { + return NewDirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_definitions_item_inherits_permissions_from_request_builder.go b/rolemanagement/directory_role_definitions_item_inherits_permissions_from_request_builder.go index 27544df272a..81dc503c26a 100644 --- a/rolemanagement/directory_role_definitions_item_inherits_permissions_from_request_builder.go +++ b/rolemanagement/directory_role_definitions_item_inherits_permissions_from_request_builder.go @@ -46,8 +46,8 @@ type DirectoryRoleDefinitionsItemInheritsPermissionsFromRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleDefinitionId1String provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. -func (m *DirectoryRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) ByUnifiedRoleDefinitionId1String(unifiedRoleDefinitionId1 string)(*DirectoryRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) { +// ByUnifiedRoleDefinitionId1 provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. +func (m *DirectoryRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) ByUnifiedRoleDefinitionId1(unifiedRoleDefinitionId1 string)(*DirectoryRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DirectoryRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) ToPo } 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 *DirectoryRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) { + return NewDirectoryRoleDefinitionsItemInheritsPermissionsFromRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go b/rolemanagement/directory_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go index 6ee7481b792..eda10b8ff32 100644 --- a/rolemanagement/directory_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go +++ b/rolemanagement/directory_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DirectoryRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitio } 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 *DirectoryRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) { + return NewDirectoryRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_definitions_request_builder.go b/rolemanagement/directory_role_definitions_request_builder.go index 74be82ded40..2fac6094144 100644 --- a/rolemanagement/directory_role_definitions_request_builder.go +++ b/rolemanagement/directory_role_definitions_request_builder.go @@ -46,8 +46,8 @@ type DirectoryRoleDefinitionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleDefinitionIdString provides operations to manage the roleDefinitions property of the microsoft.graph.rbacApplication entity. -func (m *DirectoryRoleDefinitionsRequestBuilder) ByUnifiedRoleDefinitionIdString(unifiedRoleDefinitionId string)(*DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) { +// ByUnifiedRoleDefinitionId provides operations to manage the roleDefinitions property of the microsoft.graph.rbacApplication entity. +func (m *DirectoryRoleDefinitionsRequestBuilder) ByUnifiedRoleDefinitionId(unifiedRoleDefinitionId string)(*DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *DirectoryRoleDefinitionsRequestBuilder) ToPostRequestInformation(ctx co } 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 *DirectoryRoleDefinitionsRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleDefinitionsRequestBuilder) { + return NewDirectoryRoleDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_definitions_unified_role_definition_item_request_builder.go b/rolemanagement/directory_role_definitions_unified_role_definition_item_request_builder.go index d5ee6e643cd..4109f308c21 100644 --- a/rolemanagement/directory_role_definitions_unified_role_definition_item_request_builder.go +++ b/rolemanagement/directory_role_definitions_unified_role_definition_item_request_builder.go @@ -170,3 +170,7 @@ func (m *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToPatc } 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 *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) { + return NewDirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedule_instances_count_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_instances_count_request_builder.go index ee00002dd7b..15c143566b2 100644 --- a/rolemanagement/directory_role_eligibility_schedule_instances_count_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_instances_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DirectoryRoleEligibilityScheduleInstancesCountRequestBuilder) ToGetRequ } 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 *DirectoryRoleEligibilityScheduleInstancesCountRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilityScheduleInstancesCountRequestBuilder) { + return NewDirectoryRoleEligibilityScheduleInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go index 769ec1a33ca..558b8d92352 100644 --- a/rolemanagement/directory_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnReque } 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 *DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) { + return NewDirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedule_instances_item_app_scope_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_instances_item_app_scope_request_builder.go index 1566c856d2e..ffb177c8a30 100644 --- a/rolemanagement/directory_role_eligibility_schedule_instances_item_app_scope_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_instances_item_app_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleEligibilityScheduleInstancesItemAppScopeRequestBuilder) To } 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 *DirectoryRoleEligibilityScheduleInstancesItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilityScheduleInstancesItemAppScopeRequestBuilder) { + return NewDirectoryRoleEligibilityScheduleInstancesItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedule_instances_item_directory_scope_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_instances_item_directory_scope_request_builder.go index fc6eb9ea990..e28356259e0 100644 --- a/rolemanagement/directory_role_eligibility_schedule_instances_item_directory_scope_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_instances_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleEligibilityScheduleInstancesItemDirectoryScopeRequestBuild } 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 *DirectoryRoleEligibilityScheduleInstancesItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilityScheduleInstancesItemDirectoryScopeRequestBuilder) { + return NewDirectoryRoleEligibilityScheduleInstancesItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedule_instances_item_principal_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_instances_item_principal_request_builder.go index 358dc8063e1..2d418402892 100644 --- a/rolemanagement/directory_role_eligibility_schedule_instances_item_principal_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_instances_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleEligibilityScheduleInstancesItemPrincipalRequestBuilder) T } 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 *DirectoryRoleEligibilityScheduleInstancesItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilityScheduleInstancesItemPrincipalRequestBuilder) { + return NewDirectoryRoleEligibilityScheduleInstancesItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedule_instances_item_role_definition_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_instances_item_role_definition_request_builder.go index d89afd9961f..f9fcc316402 100644 --- a/rolemanagement/directory_role_eligibility_schedule_instances_item_role_definition_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_instances_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleEligibilityScheduleInstancesItemRoleDefinitionRequestBuild } 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 *DirectoryRoleEligibilityScheduleInstancesItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilityScheduleInstancesItemRoleDefinitionRequestBuilder) { + return NewDirectoryRoleEligibilityScheduleInstancesItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedule_instances_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_instances_request_builder.go index 42d0b6cd9c0..71b43311652 100644 --- a/rolemanagement/directory_role_eligibility_schedule_instances_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_instances_request_builder.go @@ -46,8 +46,8 @@ type DirectoryRoleEligibilityScheduleInstancesRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleEligibilityScheduleInstanceIdString provides operations to manage the roleEligibilityScheduleInstances property of the microsoft.graph.rbacApplication entity. -func (m *DirectoryRoleEligibilityScheduleInstancesRequestBuilder) ByUnifiedRoleEligibilityScheduleInstanceIdString(unifiedRoleEligibilityScheduleInstanceId string)(*DirectoryRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder) { +// ByUnifiedRoleEligibilityScheduleInstanceId provides operations to manage the roleEligibilityScheduleInstances property of the microsoft.graph.rbacApplication entity. +func (m *DirectoryRoleEligibilityScheduleInstancesRequestBuilder) ByUnifiedRoleEligibilityScheduleInstanceId(unifiedRoleEligibilityScheduleInstanceId string)(*DirectoryRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *DirectoryRoleEligibilityScheduleInstancesRequestBuilder) ToPostRequestI } 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 *DirectoryRoleEligibilityScheduleInstancesRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilityScheduleInstancesRequestBuilder) { + return NewDirectoryRoleEligibilityScheduleInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go index 198c29cd171..79fc3ae547b 100644 --- a/rolemanagement/directory_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go @@ -172,3 +172,7 @@ func (m *DirectoryRoleEligibilityScheduleInstancesUnifiedRoleEligibilitySchedule } 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 *DirectoryRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder) { + return NewDirectoryRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_count_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_count_request_builder.go index b0df6835abf..56ff884ce69 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_count_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsCountRequestBuilder) ToGetReque } 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 *DirectoryRoleEligibilityScheduleRequestsCountRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilityScheduleRequestsCountRequestBuilder) { + return NewDirectoryRoleEligibilityScheduleRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go index ab68181c4d7..284e74662ec 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnReques } 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 *DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) { + return NewDirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_item_app_scope_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_item_app_scope_request_builder.go index 66a23a954f6..721f4d1137c 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_item_app_scope_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_item_app_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsItemAppScopeRequestBuilder) ToG } 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 *DirectoryRoleEligibilityScheduleRequestsItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilityScheduleRequestsItemAppScopeRequestBuilder) { + return NewDirectoryRoleEligibilityScheduleRequestsItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_item_cancel_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_item_cancel_request_builder.go index 812d866dd22..059b4ef2d87 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_item_cancel_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_item_cancel_request_builder.go @@ -61,3 +61,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsItemCancelRequestBuilder) ToPos } 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 *DirectoryRoleEligibilityScheduleRequestsItemCancelRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilityScheduleRequestsItemCancelRequestBuilder) { + return NewDirectoryRoleEligibilityScheduleRequestsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_item_directory_scope_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_item_directory_scope_request_builder.go index c7121e21604..c46ede98f26 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_item_directory_scope_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsItemDirectoryScopeRequestBuilde } 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 *DirectoryRoleEligibilityScheduleRequestsItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilityScheduleRequestsItemDirectoryScopeRequestBuilder) { + return NewDirectoryRoleEligibilityScheduleRequestsItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_item_principal_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_item_principal_request_builder.go index f8e44ae3bef..50ce152b69f 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_item_principal_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsItemPrincipalRequestBuilder) To } 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 *DirectoryRoleEligibilityScheduleRequestsItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilityScheduleRequestsItemPrincipalRequestBuilder) { + return NewDirectoryRoleEligibilityScheduleRequestsItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_item_role_definition_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_item_role_definition_request_builder.go index 67061ba67b3..80631aba6d7 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_item_role_definition_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsItemRoleDefinitionRequestBuilde } 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 *DirectoryRoleEligibilityScheduleRequestsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilityScheduleRequestsItemRoleDefinitionRequestBuilder) { + return NewDirectoryRoleEligibilityScheduleRequestsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_item_target_schedule_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_item_target_schedule_request_builder.go index 5a368d0dc26..d6cec7352bb 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_item_target_schedule_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_item_target_schedule_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsItemTargetScheduleRequestBuilde } 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 *DirectoryRoleEligibilityScheduleRequestsItemTargetScheduleRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilityScheduleRequestsItemTargetScheduleRequestBuilder) { + return NewDirectoryRoleEligibilityScheduleRequestsItemTargetScheduleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_request_builder.go index e81052ff160..84f80592276 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_request_builder.go @@ -46,8 +46,8 @@ type DirectoryRoleEligibilityScheduleRequestsRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleEligibilityScheduleRequestIdString provides operations to manage the roleEligibilityScheduleRequests property of the microsoft.graph.rbacApplication entity. -func (m *DirectoryRoleEligibilityScheduleRequestsRequestBuilder) ByUnifiedRoleEligibilityScheduleRequestIdString(unifiedRoleEligibilityScheduleRequestId string)(*DirectoryRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder) { +// ByUnifiedRoleEligibilityScheduleRequestId provides operations to manage the roleEligibilityScheduleRequests property of the microsoft.graph.rbacApplication entity. +func (m *DirectoryRoleEligibilityScheduleRequestsRequestBuilder) ByUnifiedRoleEligibilityScheduleRequestId(unifiedRoleEligibilityScheduleRequestId string)(*DirectoryRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsRequestBuilder) ToPostRequestIn } 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 *DirectoryRoleEligibilityScheduleRequestsRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilityScheduleRequestsRequestBuilder) { + return NewDirectoryRoleEligibilityScheduleRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go index 9f44e33df3e..e446c8b5b12 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go @@ -180,3 +180,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleR } 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 *DirectoryRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder) { + return NewDirectoryRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedules_count_request_builder.go b/rolemanagement/directory_role_eligibility_schedules_count_request_builder.go index abedb54a235..56459a327b7 100644 --- a/rolemanagement/directory_role_eligibility_schedules_count_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedules_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DirectoryRoleEligibilitySchedulesCountRequestBuilder) ToGetRequestInfor } 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 *DirectoryRoleEligibilitySchedulesCountRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilitySchedulesCountRequestBuilder) { + return NewDirectoryRoleEligibilitySchedulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go b/rolemanagement/directory_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go index a9dad6785bf..22f13b1ec14 100644 --- a/rolemanagement/directory_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilde } 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 *DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) { + return NewDirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedules_item_app_scope_request_builder.go b/rolemanagement/directory_role_eligibility_schedules_item_app_scope_request_builder.go index 0c951d1f5f5..31288253a21 100644 --- a/rolemanagement/directory_role_eligibility_schedules_item_app_scope_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedules_item_app_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleEligibilitySchedulesItemAppScopeRequestBuilder) ToGetReque } 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 *DirectoryRoleEligibilitySchedulesItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilitySchedulesItemAppScopeRequestBuilder) { + return NewDirectoryRoleEligibilitySchedulesItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedules_item_directory_scope_request_builder.go b/rolemanagement/directory_role_eligibility_schedules_item_directory_scope_request_builder.go index 15cf899bebc..42a69e0126a 100644 --- a/rolemanagement/directory_role_eligibility_schedules_item_directory_scope_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedules_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleEligibilitySchedulesItemDirectoryScopeRequestBuilder) ToGe } 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 *DirectoryRoleEligibilitySchedulesItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilitySchedulesItemDirectoryScopeRequestBuilder) { + return NewDirectoryRoleEligibilitySchedulesItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedules_item_principal_request_builder.go b/rolemanagement/directory_role_eligibility_schedules_item_principal_request_builder.go index 32611e4f16a..6f4965b6ed0 100644 --- a/rolemanagement/directory_role_eligibility_schedules_item_principal_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedules_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleEligibilitySchedulesItemPrincipalRequestBuilder) ToGetRequ } 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 *DirectoryRoleEligibilitySchedulesItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilitySchedulesItemPrincipalRequestBuilder) { + return NewDirectoryRoleEligibilitySchedulesItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedules_item_role_definition_request_builder.go b/rolemanagement/directory_role_eligibility_schedules_item_role_definition_request_builder.go index 3cafdb927e7..1c30886fcbb 100644 --- a/rolemanagement/directory_role_eligibility_schedules_item_role_definition_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedules_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryRoleEligibilitySchedulesItemRoleDefinitionRequestBuilder) ToGe } 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 *DirectoryRoleEligibilitySchedulesItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilitySchedulesItemRoleDefinitionRequestBuilder) { + return NewDirectoryRoleEligibilitySchedulesItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedules_request_builder.go b/rolemanagement/directory_role_eligibility_schedules_request_builder.go index b43e1d9145a..297a7eb006a 100644 --- a/rolemanagement/directory_role_eligibility_schedules_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedules_request_builder.go @@ -46,8 +46,8 @@ type DirectoryRoleEligibilitySchedulesRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleEligibilityScheduleIdString provides operations to manage the roleEligibilitySchedules property of the microsoft.graph.rbacApplication entity. -func (m *DirectoryRoleEligibilitySchedulesRequestBuilder) ByUnifiedRoleEligibilityScheduleIdString(unifiedRoleEligibilityScheduleId string)(*DirectoryRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder) { +// ByUnifiedRoleEligibilityScheduleId provides operations to manage the roleEligibilitySchedules property of the microsoft.graph.rbacApplication entity. +func (m *DirectoryRoleEligibilitySchedulesRequestBuilder) ByUnifiedRoleEligibilityScheduleId(unifiedRoleEligibilityScheduleId string)(*DirectoryRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *DirectoryRoleEligibilitySchedulesRequestBuilder) ToPostRequestInformati } 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 *DirectoryRoleEligibilitySchedulesRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilitySchedulesRequestBuilder) { + return NewDirectoryRoleEligibilitySchedulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go b/rolemanagement/directory_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go index 3f1392e004c..993359dbe9b 100644 --- a/rolemanagement/directory_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go @@ -172,3 +172,7 @@ func (m *DirectoryRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequ } 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 *DirectoryRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder) { + return NewDirectoryRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go b/rolemanagement/directory_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go index 36be63eadf9..9c0ebfee0dc 100644 --- a/rolemanagement/directory_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go +++ b/rolemanagement/directory_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go @@ -13,19 +13,19 @@ type DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdApp // DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters invoke function roleScheduleInstances type DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters struct { // Usage: appScopeId='@appScopeId' - AppScopeId *string + AppScopeId *string `uriparametername:"appScopeId"` // Include count of items Count *bool `uriparametername:"%24count"` // Usage: directoryScopeId='@directoryScopeId' - DirectoryScopeId *string + DirectoryScopeId *string `uriparametername:"directoryScopeId"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Usage: principalId='@principalId' - PrincipalId *string + PrincipalId *string `uriparametername:"principalId"` // Usage: roleDefinitionId='@roleDefinitionId' - RoleDefinitionId *string + RoleDefinitionId *string `uriparametername:"roleDefinitionId"` // Search items by search phrases Search *string `uriparametername:"%24search"` // Select properties to be returned @@ -92,3 +92,7 @@ func (m *DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeI } 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 *DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) { + return NewDirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go b/rolemanagement/directory_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go index 8869398d3cd..d3f474600c9 100644 --- a/rolemanagement/directory_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go +++ b/rolemanagement/directory_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go @@ -13,19 +13,19 @@ type DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdP // DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters invoke function roleSchedules type DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters struct { // Usage: appScopeId='@appScopeId' - AppScopeId *string + AppScopeId *string `uriparametername:"appScopeId"` // Include count of items Count *bool `uriparametername:"%24count"` // Usage: directoryScopeId='@directoryScopeId' - DirectoryScopeId *string + DirectoryScopeId *string `uriparametername:"directoryScopeId"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Usage: principalId='@principalId' - PrincipalId *string + PrincipalId *string `uriparametername:"principalId"` // Usage: roleDefinitionId='@roleDefinitionId' - RoleDefinitionId *string + RoleDefinitionId *string `uriparametername:"roleDefinitionId"` // Search items by search phrases Search *string `uriparametername:"%24search"` // Select properties to be returned @@ -92,3 +92,7 @@ func (m *DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScop } 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 *DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) WithUrl(rawUrl string)(*DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) { + return NewDirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_transitive_role_assignments_count_request_builder.go b/rolemanagement/directory_transitive_role_assignments_count_request_builder.go index 1adedf4dcbd..04f4379c2d1 100644 --- a/rolemanagement/directory_transitive_role_assignments_count_request_builder.go +++ b/rolemanagement/directory_transitive_role_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DirectoryTransitiveRoleAssignmentsCountRequestBuilder) ToGetRequestInfo } 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 *DirectoryTransitiveRoleAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*DirectoryTransitiveRoleAssignmentsCountRequestBuilder) { + return NewDirectoryTransitiveRoleAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_transitive_role_assignments_item_app_scope_request_builder.go b/rolemanagement/directory_transitive_role_assignments_item_app_scope_request_builder.go index 43e2883b253..847f8ab6481 100644 --- a/rolemanagement/directory_transitive_role_assignments_item_app_scope_request_builder.go +++ b/rolemanagement/directory_transitive_role_assignments_item_app_scope_request_builder.go @@ -153,3 +153,7 @@ func (m *DirectoryTransitiveRoleAssignmentsItemAppScopeRequestBuilder) ToPatchRe } 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 *DirectoryTransitiveRoleAssignmentsItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*DirectoryTransitiveRoleAssignmentsItemAppScopeRequestBuilder) { + return NewDirectoryTransitiveRoleAssignmentsItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_transitive_role_assignments_item_directory_scope_request_builder.go b/rolemanagement/directory_transitive_role_assignments_item_directory_scope_request_builder.go index 0d691571772..002ba90b90b 100644 --- a/rolemanagement/directory_transitive_role_assignments_item_directory_scope_request_builder.go +++ b/rolemanagement/directory_transitive_role_assignments_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryTransitiveRoleAssignmentsItemDirectoryScopeRequestBuilder) ToG } 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 *DirectoryTransitiveRoleAssignmentsItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*DirectoryTransitiveRoleAssignmentsItemDirectoryScopeRequestBuilder) { + return NewDirectoryTransitiveRoleAssignmentsItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_transitive_role_assignments_item_principal_request_builder.go b/rolemanagement/directory_transitive_role_assignments_item_principal_request_builder.go index eb8a2245390..98cece9c118 100644 --- a/rolemanagement/directory_transitive_role_assignments_item_principal_request_builder.go +++ b/rolemanagement/directory_transitive_role_assignments_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryTransitiveRoleAssignmentsItemPrincipalRequestBuilder) ToGetReq } 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 *DirectoryTransitiveRoleAssignmentsItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*DirectoryTransitiveRoleAssignmentsItemPrincipalRequestBuilder) { + return NewDirectoryTransitiveRoleAssignmentsItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_transitive_role_assignments_item_role_definition_request_builder.go b/rolemanagement/directory_transitive_role_assignments_item_role_definition_request_builder.go index d376ccc416b..7bcb5e0a68a 100644 --- a/rolemanagement/directory_transitive_role_assignments_item_role_definition_request_builder.go +++ b/rolemanagement/directory_transitive_role_assignments_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *DirectoryTransitiveRoleAssignmentsItemRoleDefinitionRequestBuilder) ToG } 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 *DirectoryTransitiveRoleAssignmentsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*DirectoryTransitiveRoleAssignmentsItemRoleDefinitionRequestBuilder) { + return NewDirectoryTransitiveRoleAssignmentsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_transitive_role_assignments_request_builder.go b/rolemanagement/directory_transitive_role_assignments_request_builder.go index 2d282da92d5..a900e7f6418 100644 --- a/rolemanagement/directory_transitive_role_assignments_request_builder.go +++ b/rolemanagement/directory_transitive_role_assignments_request_builder.go @@ -46,8 +46,8 @@ type DirectoryTransitiveRoleAssignmentsRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleAssignmentIdString provides operations to manage the transitiveRoleAssignments property of the microsoft.graph.rbacApplication entity. -func (m *DirectoryTransitiveRoleAssignmentsRequestBuilder) ByUnifiedRoleAssignmentIdString(unifiedRoleAssignmentId string)(*DirectoryTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { +// ByUnifiedRoleAssignmentId provides operations to manage the transitiveRoleAssignments property of the microsoft.graph.rbacApplication entity. +func (m *DirectoryTransitiveRoleAssignmentsRequestBuilder) ByUnifiedRoleAssignmentId(unifiedRoleAssignmentId string)(*DirectoryTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *DirectoryTransitiveRoleAssignmentsRequestBuilder) ToPostRequestInformat } 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 *DirectoryTransitiveRoleAssignmentsRequestBuilder) WithUrl(rawUrl string)(*DirectoryTransitiveRoleAssignmentsRequestBuilder) { + return NewDirectoryTransitiveRoleAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/directory_transitive_role_assignments_unified_role_assignment_item_request_builder.go b/rolemanagement/directory_transitive_role_assignments_unified_role_assignment_item_request_builder.go index 7067c425b85..a2d7a98a683 100644 --- a/rolemanagement/directory_transitive_role_assignments_unified_role_assignment_item_request_builder.go +++ b/rolemanagement/directory_transitive_role_assignments_unified_role_assignment_item_request_builder.go @@ -169,3 +169,7 @@ func (m *DirectoryTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuild } 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 *DirectoryTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*DirectoryTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { + return NewDirectoryTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_count_request_builder.go b/rolemanagement/enterprise_apps_count_request_builder.go index c444c93ced1..ed7a07b250e 100644 --- a/rolemanagement/enterprise_apps_count_request_builder.go +++ b/rolemanagement/enterprise_apps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EnterpriseAppsCountRequestBuilder) ToGetRequestInformation(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 *EnterpriseAppsCountRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsCountRequestBuilder) { + return NewEnterpriseAppsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_resource_namespaces_count_request_builder.go b/rolemanagement/enterprise_apps_item_resource_namespaces_count_request_builder.go index eaa20ec2be3..7db44082c26 100644 --- a/rolemanagement/enterprise_apps_item_resource_namespaces_count_request_builder.go +++ b/rolemanagement/enterprise_apps_item_resource_namespaces_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EnterpriseAppsItemResourceNamespacesCountRequestBuilder) ToGetRequestIn } 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 *EnterpriseAppsItemResourceNamespacesCountRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemResourceNamespacesCountRequestBuilder) { + return NewEnterpriseAppsItemResourceNamespacesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_resource_namespaces_item_import_resource_actions_request_builder.go b/rolemanagement/enterprise_apps_item_resource_namespaces_item_import_resource_actions_request_builder.go index fa2633bdbbd..04d166875a9 100644 --- a/rolemanagement/enterprise_apps_item_resource_namespaces_item_import_resource_actions_request_builder.go +++ b/rolemanagement/enterprise_apps_item_resource_namespaces_item_import_resource_actions_request_builder.go @@ -67,3 +67,7 @@ func (m *EnterpriseAppsItemResourceNamespacesItemImportResourceActionsRequestBui } 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 *EnterpriseAppsItemResourceNamespacesItemImportResourceActionsRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemResourceNamespacesItemImportResourceActionsRequestBuilder) { + return NewEnterpriseAppsItemResourceNamespacesItemImportResourceActionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_count_request_builder.go b/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_count_request_builder.go index ece25a66bc8..247ff07cd64 100644 --- a/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_count_request_builder.go +++ b/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsCountRequestBuil } 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 *EnterpriseAppsItemResourceNamespacesItemResourceActionsCountRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemResourceNamespacesItemResourceActionsCountRequestBuilder) { + return NewEnterpriseAppsItemResourceNamespacesItemResourceActionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go b/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go index c7be93c6745..9797063184b 100644 --- a/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go +++ b/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsItemAuthenticati } 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 *EnterpriseAppsItemResourceNamespacesItemResourceActionsItemAuthenticationContextRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemResourceNamespacesItemResourceActionsItemAuthenticationContextRequestBuilder) { + return NewEnterpriseAppsItemResourceNamespacesItemResourceActionsItemAuthenticationContextRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go b/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go index f9e4c5ecd37..71b94d1fd6c 100644 --- a/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go @@ -153,3 +153,7 @@ func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsItemResourceScop } 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 *EnterpriseAppsItemResourceNamespacesItemResourceActionsItemResourceScopeRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemResourceNamespacesItemResourceActionsItemResourceScopeRequestBuilder) { + return NewEnterpriseAppsItemResourceNamespacesItemResourceActionsItemResourceScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_request_builder.go b/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_request_builder.go index 4d6ff214e56..d736e40c171 100644 --- a/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_request_builder.go +++ b/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_request_builder.go @@ -46,8 +46,8 @@ type EnterpriseAppsItemResourceNamespacesItemResourceActionsRequestBuilderPostRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRbacResourceActionIdString provides operations to manage the resourceActions property of the microsoft.graph.unifiedRbacResourceNamespace entity. -func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsRequestBuilder) ByUnifiedRbacResourceActionIdString(unifiedRbacResourceActionId string)(*EnterpriseAppsItemResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) { +// ByUnifiedRbacResourceActionId provides operations to manage the resourceActions property of the microsoft.graph.unifiedRbacResourceNamespace entity. +func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsRequestBuilder) ByUnifiedRbacResourceActionId(unifiedRbacResourceActionId string)(*EnterpriseAppsItemResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsRequestBuilder) } 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 *EnterpriseAppsItemResourceNamespacesItemResourceActionsRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemResourceNamespacesItemResourceActionsRequestBuilder) { + return NewEnterpriseAppsItemResourceNamespacesItemResourceActionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go b/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go index ba52f0b2605..8600d6b847c 100644 --- a/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go @@ -164,3 +164,7 @@ func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsUnifiedRbacResou } 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 *EnterpriseAppsItemResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) { + return NewEnterpriseAppsItemResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_resource_namespaces_request_builder.go b/rolemanagement/enterprise_apps_item_resource_namespaces_request_builder.go index 6f34c348ceb..7e990534cee 100644 --- a/rolemanagement/enterprise_apps_item_resource_namespaces_request_builder.go +++ b/rolemanagement/enterprise_apps_item_resource_namespaces_request_builder.go @@ -46,8 +46,8 @@ type EnterpriseAppsItemResourceNamespacesRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRbacResourceNamespaceIdString provides operations to manage the resourceNamespaces property of the microsoft.graph.rbacApplication entity. -func (m *EnterpriseAppsItemResourceNamespacesRequestBuilder) ByUnifiedRbacResourceNamespaceIdString(unifiedRbacResourceNamespaceId string)(*EnterpriseAppsItemResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) { +// ByUnifiedRbacResourceNamespaceId provides operations to manage the resourceNamespaces property of the microsoft.graph.rbacApplication entity. +func (m *EnterpriseAppsItemResourceNamespacesRequestBuilder) ByUnifiedRbacResourceNamespaceId(unifiedRbacResourceNamespaceId string)(*EnterpriseAppsItemResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *EnterpriseAppsItemResourceNamespacesRequestBuilder) ToPostRequestInform } 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 *EnterpriseAppsItemResourceNamespacesRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemResourceNamespacesRequestBuilder) { + return NewEnterpriseAppsItemResourceNamespacesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go b/rolemanagement/enterprise_apps_item_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go index 70b25b68d25..3ab035331ef 100644 --- a/rolemanagement/enterprise_apps_item_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go @@ -164,3 +164,7 @@ func (m *EnterpriseAppsItemResourceNamespacesUnifiedRbacResourceNamespaceItemReq } 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 *EnterpriseAppsItemResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) { + return NewEnterpriseAppsItemResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_approvals_approval_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_approvals_approval_item_request_builder.go index 35191894a5b..88085ae53c8 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_approvals_approval_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_approvals_approval_item_request_builder.go @@ -157,3 +157,7 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsApprovalItemRequestBuilder) To } 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 *EnterpriseAppsItemRoleAssignmentApprovalsApprovalItemRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentApprovalsApprovalItemRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentApprovalsApprovalItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_approvals_count_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_approvals_count_request_builder.go index fcf25ac3506..5842d3f7e31 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_approvals_count_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_approvals_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsCountRequestBuilder) ToGetRequ } 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 *EnterpriseAppsItemRoleAssignmentApprovalsCountRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentApprovalsCountRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentApprovalsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go index d22cca8cf54..f9f62ac005e 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnReque } 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 *EnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_approval_step_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_approval_step_item_request_builder.go index 7c20248aa6e..3e0aa302725 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_approval_step_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_approval_step_item_request_builder.go @@ -159,3 +159,7 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemReque } 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 *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_count_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_count_request_builder.go index 5713bc130ae..54debcadc73 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_count_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsCountRequestBuilder) } 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 *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsCountRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentApprovalsItemStepsCountRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentApprovalsItemStepsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_request_builder.go index 941b1f51272..be46c341057 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_request_builder.go @@ -46,8 +46,8 @@ type EnterpriseAppsItemRoleAssignmentApprovalsItemStepsRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByApprovalStepIdString provides operations to manage the steps property of the microsoft.graph.approval entity. -func (m *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsRequestBuilder) ByApprovalStepIdString(approvalStepId string)(*EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) { +// ByApprovalStepId provides operations to manage the steps property of the microsoft.graph.approval entity. +func (m *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsRequestBuilder) ByApprovalStepId(approvalStepId string)(*EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsRequestBuilder) ToPos } 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 *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentApprovalsItemStepsRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentApprovalsItemStepsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_approvals_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_approvals_request_builder.go index 6383ab91c21..255b0bafd2f 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_approvals_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_approvals_request_builder.go @@ -46,8 +46,8 @@ type EnterpriseAppsItemRoleAssignmentApprovalsRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByApprovalIdString provides operations to manage the roleAssignmentApprovals property of the microsoft.graph.rbacApplication entity. -func (m *EnterpriseAppsItemRoleAssignmentApprovalsRequestBuilder) ByApprovalIdString(approvalId string)(*EnterpriseAppsItemRoleAssignmentApprovalsApprovalItemRequestBuilder) { +// ByApprovalId provides operations to manage the roleAssignmentApprovals property of the microsoft.graph.rbacApplication entity. +func (m *EnterpriseAppsItemRoleAssignmentApprovalsRequestBuilder) ByApprovalId(approvalId string)(*EnterpriseAppsItemRoleAssignmentApprovalsApprovalItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsRequestBuilder) ToPostRequestI } 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 *EnterpriseAppsItemRoleAssignmentApprovalsRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentApprovalsRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentApprovalsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_count_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_count_request_builder.go index 68b1b4736af..7cda1a359b3 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_count_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesCountRequestBuilder) T } 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 *EnterpriseAppsItemRoleAssignmentScheduleInstancesCountRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentScheduleInstancesCountRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentScheduleInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go index e16c8c409bc..c8f478e50d4 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWit } 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 *EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_activated_using_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_activated_using_request_builder.go index 24bdf3d7058..ec859fa3c0a 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_activated_using_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_activated_using_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesItemActivatedUsingRequ } 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 *EnterpriseAppsItemRoleAssignmentScheduleInstancesItemActivatedUsingRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentScheduleInstancesItemActivatedUsingRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentScheduleInstancesItemActivatedUsingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_app_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_app_scope_request_builder.go index 99141046247..3b56f9bd477 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_app_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_app_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesItemAppScopeRequestBui } 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 *EnterpriseAppsItemRoleAssignmentScheduleInstancesItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentScheduleInstancesItemAppScopeRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentScheduleInstancesItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_directory_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_directory_scope_request_builder.go index 4cd0ded826b..13cffac30fa 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_directory_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesItemDirectoryScopeRequ } 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 *EnterpriseAppsItemRoleAssignmentScheduleInstancesItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentScheduleInstancesItemDirectoryScopeRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentScheduleInstancesItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_principal_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_principal_request_builder.go index 54ed577a093..f7c9ccded63 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_principal_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesItemPrincipalRequestBu } 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 *EnterpriseAppsItemRoleAssignmentScheduleInstancesItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentScheduleInstancesItemPrincipalRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentScheduleInstancesItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_role_definition_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_role_definition_request_builder.go index 62d28ec5a78..6ef187f1cd2 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_role_definition_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesItemRoleDefinitionRequ } 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 *EnterpriseAppsItemRoleAssignmentScheduleInstancesItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentScheduleInstancesItemRoleDefinitionRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentScheduleInstancesItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_request_builder.go index 739626c193b..c2c7855d2e0 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_request_builder.go @@ -46,8 +46,8 @@ type EnterpriseAppsItemRoleAssignmentScheduleInstancesRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleAssignmentScheduleInstanceIdString provides operations to manage the roleAssignmentScheduleInstances property of the microsoft.graph.rbacApplication entity. -func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesRequestBuilder) ByUnifiedRoleAssignmentScheduleInstanceIdString(unifiedRoleAssignmentScheduleInstanceId string)(*EnterpriseAppsItemRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder) { +// ByUnifiedRoleAssignmentScheduleInstanceId provides operations to manage the roleAssignmentScheduleInstances property of the microsoft.graph.rbacApplication entity. +func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesRequestBuilder) ByUnifiedRoleAssignmentScheduleInstanceId(unifiedRoleAssignmentScheduleInstanceId string)(*EnterpriseAppsItemRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesRequestBuilder) ToPost } 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 *EnterpriseAppsItemRoleAssignmentScheduleInstancesRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentScheduleInstancesRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentScheduleInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go index ee145257688..275d8c66aa7 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go @@ -176,3 +176,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesUnifiedRoleAssignmentS } 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 *EnterpriseAppsItemRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_count_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_count_request_builder.go index 17630aa099d..8ac6f80008d 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_count_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsCountRequestBuilder) To } 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 *EnterpriseAppsItemRoleAssignmentScheduleRequestsCountRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentScheduleRequestsCountRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentScheduleRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go index 87f7f359f71..29fbea1ce6a 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWith } 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 *EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_activated_using_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_activated_using_request_builder.go index 116c9919657..4be5dd51c06 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_activated_using_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_activated_using_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemActivatedUsingReque } 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 *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemActivatedUsingRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentScheduleRequestsItemActivatedUsingRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentScheduleRequestsItemActivatedUsingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_app_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_app_scope_request_builder.go index f2d6d5ae7e3..aae97383d2d 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_app_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_app_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemAppScopeRequestBuil } 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 *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentScheduleRequestsItemAppScopeRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentScheduleRequestsItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_cancel_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_cancel_request_builder.go index ad10b1b7336..0df1a09e496 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_cancel_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_cancel_request_builder.go @@ -61,3 +61,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemCancelRequestBuilde } 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 *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemCancelRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentScheduleRequestsItemCancelRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentScheduleRequestsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_directory_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_directory_scope_request_builder.go index 0a03dac4856..6984048cc3c 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_directory_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemDirectoryScopeReque } 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 *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentScheduleRequestsItemDirectoryScopeRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentScheduleRequestsItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_principal_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_principal_request_builder.go index 45781ca05d2..c2d63022833 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_principal_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemPrincipalRequestBui } 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 *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentScheduleRequestsItemPrincipalRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentScheduleRequestsItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_role_definition_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_role_definition_request_builder.go index 7eca0a3a74d..96ef92aafeb 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_role_definition_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemRoleDefinitionReque } 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 *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentScheduleRequestsItemRoleDefinitionRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentScheduleRequestsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_target_schedule_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_target_schedule_request_builder.go index bbd03aec27e..ebfd17e8e96 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_target_schedule_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_target_schedule_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemTargetScheduleReque } 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 *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemTargetScheduleRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentScheduleRequestsItemTargetScheduleRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentScheduleRequestsItemTargetScheduleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_request_builder.go index 4980c803ddb..178df631f73 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_request_builder.go @@ -46,8 +46,8 @@ type EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleAssignmentScheduleRequestIdString provides operations to manage the roleAssignmentScheduleRequests property of the microsoft.graph.rbacApplication entity. -func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilder) ByUnifiedRoleAssignmentScheduleRequestIdString(unifiedRoleAssignmentScheduleRequestId string)(*EnterpriseAppsItemRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder) { +// ByUnifiedRoleAssignmentScheduleRequestId provides operations to manage the roleAssignmentScheduleRequests property of the microsoft.graph.rbacApplication entity. +func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilder) ByUnifiedRoleAssignmentScheduleRequestId(unifiedRoleAssignmentScheduleRequestId string)(*EnterpriseAppsItemRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilder) ToPostR } 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 *EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go index 50ce68434ce..e8739f03883 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go @@ -184,3 +184,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsUnifiedRoleAssignmentSc } 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 *EnterpriseAppsItemRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedules_count_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedules_count_request_builder.go index 1e7b5a5c077..91a907f726e 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedules_count_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedules_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesCountRequestBuilder) ToGetRequ } 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 *EnterpriseAppsItemRoleAssignmentSchedulesCountRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentSchedulesCountRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentSchedulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go index 92360c69b78..8f8a31de54d 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnReque } 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 *EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_activated_using_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_activated_using_request_builder.go index 5532b0b0de9..1d34ca6a41f 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_activated_using_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_activated_using_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesItemActivatedUsingRequestBuild } 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 *EnterpriseAppsItemRoleAssignmentSchedulesItemActivatedUsingRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentSchedulesItemActivatedUsingRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentSchedulesItemActivatedUsingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_app_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_app_scope_request_builder.go index 4906d0de271..29bd64ad0db 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_app_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_app_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesItemAppScopeRequestBuilder) To } 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 *EnterpriseAppsItemRoleAssignmentSchedulesItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentSchedulesItemAppScopeRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentSchedulesItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_directory_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_directory_scope_request_builder.go index 27697f8e67e..9e5514995b2 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_directory_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesItemDirectoryScopeRequestBuild } 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 *EnterpriseAppsItemRoleAssignmentSchedulesItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentSchedulesItemDirectoryScopeRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentSchedulesItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_principal_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_principal_request_builder.go index d92a982e2c2..c20e3996ff1 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_principal_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesItemPrincipalRequestBuilder) T } 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 *EnterpriseAppsItemRoleAssignmentSchedulesItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentSchedulesItemPrincipalRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentSchedulesItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_role_definition_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_role_definition_request_builder.go index 361cc187be8..b5079e6ab43 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_role_definition_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesItemRoleDefinitionRequestBuild } 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 *EnterpriseAppsItemRoleAssignmentSchedulesItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentSchedulesItemRoleDefinitionRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentSchedulesItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedules_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedules_request_builder.go index 942fc44dc78..7371972619d 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedules_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedules_request_builder.go @@ -46,8 +46,8 @@ type EnterpriseAppsItemRoleAssignmentSchedulesRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleAssignmentScheduleIdString provides operations to manage the roleAssignmentSchedules property of the microsoft.graph.rbacApplication entity. -func (m *EnterpriseAppsItemRoleAssignmentSchedulesRequestBuilder) ByUnifiedRoleAssignmentScheduleIdString(unifiedRoleAssignmentScheduleId string)(*EnterpriseAppsItemRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder) { +// ByUnifiedRoleAssignmentScheduleId provides operations to manage the roleAssignmentSchedules property of the microsoft.graph.rbacApplication entity. +func (m *EnterpriseAppsItemRoleAssignmentSchedulesRequestBuilder) ByUnifiedRoleAssignmentScheduleId(unifiedRoleAssignmentScheduleId string)(*EnterpriseAppsItemRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesRequestBuilder) ToPostRequestI } 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 *EnterpriseAppsItemRoleAssignmentSchedulesRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentSchedulesRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentSchedulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go index 11c8b08f80b..e73d16621e3 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go @@ -176,3 +176,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleI } 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 *EnterpriseAppsItemRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignments_count_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignments_count_request_builder.go index e0559c60d83..f33dd9f656e 100644 --- a/rolemanagement/enterprise_apps_item_role_assignments_count_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EnterpriseAppsItemRoleAssignmentsCountRequestBuilder) ToGetRequestInfor } 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 *EnterpriseAppsItemRoleAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentsCountRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignments_item_app_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignments_item_app_scope_request_builder.go index e52ee4c8302..23bc8671ec6 100644 --- a/rolemanagement/enterprise_apps_item_role_assignments_item_app_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignments_item_app_scope_request_builder.go @@ -153,3 +153,7 @@ func (m *EnterpriseAppsItemRoleAssignmentsItemAppScopeRequestBuilder) ToPatchReq } 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 *EnterpriseAppsItemRoleAssignmentsItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentsItemAppScopeRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentsItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignments_item_directory_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignments_item_directory_scope_request_builder.go index b7306216a48..0df9f1bfd85 100644 --- a/rolemanagement/enterprise_apps_item_role_assignments_item_directory_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignments_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleAssignmentsItemDirectoryScopeRequestBuilder) ToGe } 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 *EnterpriseAppsItemRoleAssignmentsItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentsItemDirectoryScopeRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentsItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignments_item_principal_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignments_item_principal_request_builder.go index 06f69ced224..c113014945c 100644 --- a/rolemanagement/enterprise_apps_item_role_assignments_item_principal_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignments_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleAssignmentsItemPrincipalRequestBuilder) ToGetRequ } 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 *EnterpriseAppsItemRoleAssignmentsItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentsItemPrincipalRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentsItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignments_item_role_definition_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignments_item_role_definition_request_builder.go index 77aa5e70f3e..58426d005b4 100644 --- a/rolemanagement/enterprise_apps_item_role_assignments_item_role_definition_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignments_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleAssignmentsItemRoleDefinitionRequestBuilder) ToGe } 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 *EnterpriseAppsItemRoleAssignmentsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentsItemRoleDefinitionRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignments_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignments_request_builder.go index c3217ef6258..df371c3c742 100644 --- a/rolemanagement/enterprise_apps_item_role_assignments_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignments_request_builder.go @@ -46,8 +46,8 @@ type EnterpriseAppsItemRoleAssignmentsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleAssignmentIdString provides operations to manage the roleAssignments property of the microsoft.graph.rbacApplication entity. -func (m *EnterpriseAppsItemRoleAssignmentsRequestBuilder) ByUnifiedRoleAssignmentIdString(unifiedRoleAssignmentId string)(*EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { +// ByUnifiedRoleAssignmentId provides operations to manage the roleAssignments property of the microsoft.graph.rbacApplication entity. +func (m *EnterpriseAppsItemRoleAssignmentsRequestBuilder) ByUnifiedRoleAssignmentId(unifiedRoleAssignmentId string)(*EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *EnterpriseAppsItemRoleAssignmentsRequestBuilder) ToPostRequestInformati } 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 *EnterpriseAppsItemRoleAssignmentsRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentsRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_assignments_unified_role_assignment_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignments_unified_role_assignment_item_request_builder.go index cc93ff58ac5..d0c0199e74d 100644 --- a/rolemanagement/enterprise_apps_item_role_assignments_unified_role_assignment_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignments_unified_role_assignment_item_request_builder.go @@ -175,3 +175,7 @@ func (m *EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilde } 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 *EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { + return NewEnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_definitions_count_request_builder.go b/rolemanagement/enterprise_apps_item_role_definitions_count_request_builder.go index 605083c5b04..90543302576 100644 --- a/rolemanagement/enterprise_apps_item_role_definitions_count_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsCountRequestBuilder) ToGetRequestInfor } 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 *EnterpriseAppsItemRoleDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleDefinitionsCountRequestBuilder) { + return NewEnterpriseAppsItemRoleDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/enterprise_apps_item_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index 90a91f0ed61..e77ac977c45 100644 --- a/rolemanagement/enterprise_apps_item_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -15,9 +15,9 @@ type EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirect // Include count of items Count *bool `uriparametername:"%24count"` // Usage: directoryScopeId='@directoryScopeId' - DirectoryScopeId *string + DirectoryScopeId *string `uriparametername:"directoryScopeId"` // Usage: directoryScopeType='@directoryScopeType' - DirectoryScopeType *string + DirectoryScopeType *string `uriparametername:"directoryScopeType"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -31,7 +31,7 @@ type EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirect // Show only the first n items Top *int32 `uriparametername:"%24top"` // Usage: transitive=@transitive - Transitive *bool + Transitive *bool `uriparametername:"transitive"` } // EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration struct { @@ -90,3 +90,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedi } 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 *EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) { + return NewEnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_count_request_builder.go b/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_count_request_builder.go index cd9e35d6690..714090701a1 100644 --- a/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_count_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromCountReques } 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 *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromCountRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromCountRequestBuilder) { + return NewEnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index fb1f0b61118..a63ba4f6c22 100644 --- a/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -15,9 +15,9 @@ type EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPri // Include count of items Count *bool `uriparametername:"%24count"` // Usage: directoryScopeId='@directoryScopeId' - DirectoryScopeId *string + DirectoryScopeId *string `uriparametername:"directoryScopeId"` // Usage: directoryScopeType='@directoryScopeType' - DirectoryScopeType *string + DirectoryScopeType *string `uriparametername:"directoryScopeType"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -31,7 +31,7 @@ type EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPri // Show only the first n items Top *int32 `uriparametername:"%24top"` // Usage: transitive=@transitive - Transitive *bool + Transitive *bool `uriparametername:"transitive"` } // EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration struct { @@ -90,3 +90,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssigne } 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 *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) { + return NewEnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_request_builder.go b/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_request_builder.go index be598b3bf83..1e8e67cf48b 100644 --- a/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_request_builder.go @@ -46,8 +46,8 @@ type EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromRequestBuilderP // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleDefinitionId1String provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. -func (m *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) ByUnifiedRoleDefinitionId1String(unifiedRoleDefinitionId1 string)(*EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) { +// ByUnifiedRoleDefinitionId1 provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. +func (m *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) ByUnifiedRoleDefinitionId1(unifiedRoleDefinitionId1 string)(*EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromRequestBuil } 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 *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) { + return NewEnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go index 13466f50ba1..8d5494ae8e2 100644 --- a/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go @@ -157,3 +157,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromUnifiedRole } 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 *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) { + return NewEnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_definitions_request_builder.go b/rolemanagement/enterprise_apps_item_role_definitions_request_builder.go index 4277dd4607f..bbdc04c4c92 100644 --- a/rolemanagement/enterprise_apps_item_role_definitions_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_definitions_request_builder.go @@ -46,8 +46,8 @@ type EnterpriseAppsItemRoleDefinitionsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleDefinitionIdString provides operations to manage the roleDefinitions property of the microsoft.graph.rbacApplication entity. -func (m *EnterpriseAppsItemRoleDefinitionsRequestBuilder) ByUnifiedRoleDefinitionIdString(unifiedRoleDefinitionId string)(*EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) { +// ByUnifiedRoleDefinitionId provides operations to manage the roleDefinitions property of the microsoft.graph.rbacApplication entity. +func (m *EnterpriseAppsItemRoleDefinitionsRequestBuilder) ByUnifiedRoleDefinitionId(unifiedRoleDefinitionId string)(*EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsRequestBuilder) ToPostRequestInformati } 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 *EnterpriseAppsItemRoleDefinitionsRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleDefinitionsRequestBuilder) { + return NewEnterpriseAppsItemRoleDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_definitions_unified_role_definition_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_definitions_unified_role_definition_item_request_builder.go index 441c0671109..788e9d45b9a 100644 --- a/rolemanagement/enterprise_apps_item_role_definitions_unified_role_definition_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_definitions_unified_role_definition_item_request_builder.go @@ -170,3 +170,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilde } 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 *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) { + return NewEnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_count_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_count_request_builder.go index cc5db810d00..b51bcef6c6e 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_count_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesCountRequestBuilder) } 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 *EnterpriseAppsItemRoleEligibilityScheduleInstancesCountRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilityScheduleInstancesCountRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilityScheduleInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go index bb50b8b2b05..2ddaeb51197 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWi } 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 *EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_app_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_app_scope_request_builder.go index 6e999711858..246cc197d22 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_app_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_app_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesItemAppScopeRequestBu } 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 *EnterpriseAppsItemRoleEligibilityScheduleInstancesItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilityScheduleInstancesItemAppScopeRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilityScheduleInstancesItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_directory_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_directory_scope_request_builder.go index 5efea485412..33deac11b03 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_directory_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesItemDirectoryScopeReq } 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 *EnterpriseAppsItemRoleEligibilityScheduleInstancesItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilityScheduleInstancesItemDirectoryScopeRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilityScheduleInstancesItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_principal_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_principal_request_builder.go index 75923d1ac22..5b7e46194f5 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_principal_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesItemPrincipalRequestB } 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 *EnterpriseAppsItemRoleEligibilityScheduleInstancesItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilityScheduleInstancesItemPrincipalRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilityScheduleInstancesItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_role_definition_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_role_definition_request_builder.go index 2db24611d5f..75080dcaa95 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_role_definition_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesItemRoleDefinitionReq } 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 *EnterpriseAppsItemRoleEligibilityScheduleInstancesItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilityScheduleInstancesItemRoleDefinitionRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilityScheduleInstancesItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_request_builder.go index 258d03bc7a8..69010430c6c 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_request_builder.go @@ -46,8 +46,8 @@ type EnterpriseAppsItemRoleEligibilityScheduleInstancesRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleEligibilityScheduleInstanceIdString provides operations to manage the roleEligibilityScheduleInstances property of the microsoft.graph.rbacApplication entity. -func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesRequestBuilder) ByUnifiedRoleEligibilityScheduleInstanceIdString(unifiedRoleEligibilityScheduleInstanceId string)(*EnterpriseAppsItemRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder) { +// ByUnifiedRoleEligibilityScheduleInstanceId provides operations to manage the roleEligibilityScheduleInstances property of the microsoft.graph.rbacApplication entity. +func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesRequestBuilder) ByUnifiedRoleEligibilityScheduleInstanceId(unifiedRoleEligibilityScheduleInstanceId string)(*EnterpriseAppsItemRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesRequestBuilder) ToPos } 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 *EnterpriseAppsItemRoleEligibilityScheduleInstancesRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilityScheduleInstancesRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilityScheduleInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go index d7c0a8c5727..b9599704b40 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go @@ -172,3 +172,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesUnifiedRoleEligibilit } 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 *EnterpriseAppsItemRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_count_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_count_request_builder.go index d2247098ffe..6a865b33b0b 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_count_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsCountRequestBuilder) T } 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 *EnterpriseAppsItemRoleEligibilityScheduleRequestsCountRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilityScheduleRequestsCountRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilityScheduleRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go index 4525d2260b8..b0d8e65cbcc 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWit } 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 *EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_app_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_app_scope_request_builder.go index 93251069863..793b968ed9c 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_app_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_app_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsItemAppScopeRequestBui } 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 *EnterpriseAppsItemRoleEligibilityScheduleRequestsItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilityScheduleRequestsItemAppScopeRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilityScheduleRequestsItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_cancel_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_cancel_request_builder.go index 774dfdea27c..4bc7d71ea5d 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_cancel_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_cancel_request_builder.go @@ -61,3 +61,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsItemCancelRequestBuild } 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 *EnterpriseAppsItemRoleEligibilityScheduleRequestsItemCancelRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilityScheduleRequestsItemCancelRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilityScheduleRequestsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_directory_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_directory_scope_request_builder.go index 5ac9fad01ef..283049eedb0 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_directory_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsItemDirectoryScopeRequ } 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 *EnterpriseAppsItemRoleEligibilityScheduleRequestsItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilityScheduleRequestsItemDirectoryScopeRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilityScheduleRequestsItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_principal_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_principal_request_builder.go index f0d0bfd41a0..2231821b35a 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_principal_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsItemPrincipalRequestBu } 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 *EnterpriseAppsItemRoleEligibilityScheduleRequestsItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilityScheduleRequestsItemPrincipalRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilityScheduleRequestsItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_role_definition_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_role_definition_request_builder.go index 3b183e60d20..251d215ea2d 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_role_definition_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsItemRoleDefinitionRequ } 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 *EnterpriseAppsItemRoleEligibilityScheduleRequestsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilityScheduleRequestsItemRoleDefinitionRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilityScheduleRequestsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_target_schedule_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_target_schedule_request_builder.go index 6cf0a61b5d5..b30d2b484e9 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_target_schedule_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_target_schedule_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsItemTargetScheduleRequ } 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 *EnterpriseAppsItemRoleEligibilityScheduleRequestsItemTargetScheduleRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilityScheduleRequestsItemTargetScheduleRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilityScheduleRequestsItemTargetScheduleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_request_builder.go index 7c660bca71a..aa8186ca1ba 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_request_builder.go @@ -46,8 +46,8 @@ type EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleEligibilityScheduleRequestIdString provides operations to manage the roleEligibilityScheduleRequests property of the microsoft.graph.rbacApplication entity. -func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilder) ByUnifiedRoleEligibilityScheduleRequestIdString(unifiedRoleEligibilityScheduleRequestId string)(*EnterpriseAppsItemRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder) { +// ByUnifiedRoleEligibilityScheduleRequestId provides operations to manage the roleEligibilityScheduleRequests property of the microsoft.graph.rbacApplication entity. +func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilder) ByUnifiedRoleEligibilityScheduleRequestId(unifiedRoleEligibilityScheduleRequestId string)(*EnterpriseAppsItemRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilder) ToPost } 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 *EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go index 6d97d97b024..966b4769481 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go @@ -180,3 +180,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsUnifiedRoleEligibility } 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 *EnterpriseAppsItemRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_count_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_count_request_builder.go index 6fa9db291bd..28ea81031e1 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_count_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesCountRequestBuilder) ToGetReq } 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 *EnterpriseAppsItemRoleEligibilitySchedulesCountRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilitySchedulesCountRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilitySchedulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go index e7187a67468..226b5806e2d 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnRequ } 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 *EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_app_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_app_scope_request_builder.go index c9d716ae86d..78d5ee43cee 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_app_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_app_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesItemAppScopeRequestBuilder) T } 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 *EnterpriseAppsItemRoleEligibilitySchedulesItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilitySchedulesItemAppScopeRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilitySchedulesItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_directory_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_directory_scope_request_builder.go index 8c4226539ca..8601ff28d92 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_directory_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesItemDirectoryScopeRequestBuil } 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 *EnterpriseAppsItemRoleEligibilitySchedulesItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilitySchedulesItemDirectoryScopeRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilitySchedulesItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_principal_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_principal_request_builder.go index 41dd5d6b880..f0d08ed3ef9 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_principal_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesItemPrincipalRequestBuilder) } 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 *EnterpriseAppsItemRoleEligibilitySchedulesItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilitySchedulesItemPrincipalRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilitySchedulesItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_role_definition_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_role_definition_request_builder.go index d4b1adcd8b3..1cd9f8e6e3b 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_role_definition_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesItemRoleDefinitionRequestBuil } 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 *EnterpriseAppsItemRoleEligibilitySchedulesItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilitySchedulesItemRoleDefinitionRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilitySchedulesItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_request_builder.go index a2cebea7045..48d44868145 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_request_builder.go @@ -46,8 +46,8 @@ type EnterpriseAppsItemRoleEligibilitySchedulesRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleEligibilityScheduleIdString provides operations to manage the roleEligibilitySchedules property of the microsoft.graph.rbacApplication entity. -func (m *EnterpriseAppsItemRoleEligibilitySchedulesRequestBuilder) ByUnifiedRoleEligibilityScheduleIdString(unifiedRoleEligibilityScheduleId string)(*EnterpriseAppsItemRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder) { +// ByUnifiedRoleEligibilityScheduleId provides operations to manage the roleEligibilitySchedules property of the microsoft.graph.rbacApplication entity. +func (m *EnterpriseAppsItemRoleEligibilitySchedulesRequestBuilder) ByUnifiedRoleEligibilityScheduleId(unifiedRoleEligibilityScheduleId string)(*EnterpriseAppsItemRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesRequestBuilder) ToPostRequest } 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 *EnterpriseAppsItemRoleEligibilitySchedulesRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilitySchedulesRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilitySchedulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go index 9dbe38aa326..70f48975053 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go @@ -172,3 +172,7 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesUnifiedRoleEligibilitySchedul } 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 *EnterpriseAppsItemRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder) { + return NewEnterpriseAppsItemRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go b/rolemanagement/enterprise_apps_item_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go index 3df774d92c8..2fca37dd3a3 100644 --- a/rolemanagement/enterprise_apps_item_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go @@ -13,19 +13,19 @@ type EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppS // EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters invoke function roleScheduleInstances type EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters struct { // Usage: appScopeId='@appScopeId' - AppScopeId *string + AppScopeId *string `uriparametername:"appScopeId"` // Include count of items Count *bool `uriparametername:"%24count"` // Usage: directoryScopeId='@directoryScopeId' - DirectoryScopeId *string + DirectoryScopeId *string `uriparametername:"directoryScopeId"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Usage: principalId='@principalId' - PrincipalId *string + PrincipalId *string `uriparametername:"principalId"` // Usage: roleDefinitionId='@roleDefinitionId' - RoleDefinitionId *string + RoleDefinitionId *string `uriparametername:"roleDefinitionId"` // Search items by search phrases Search *string `uriparametername:"%24search"` // Select properties to be returned @@ -92,3 +92,7 @@ func (m *EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeId } 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 *EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) { + return NewEnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go b/rolemanagement/enterprise_apps_item_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go index 70f64815a78..0c032f0a38e 100644 --- a/rolemanagement/enterprise_apps_item_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go @@ -13,19 +13,19 @@ type EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAp // EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters invoke function roleSchedules type EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters struct { // Usage: appScopeId='@appScopeId' - AppScopeId *string + AppScopeId *string `uriparametername:"appScopeId"` // Include count of items Count *bool `uriparametername:"%24count"` // Usage: directoryScopeId='@directoryScopeId' - DirectoryScopeId *string + DirectoryScopeId *string `uriparametername:"directoryScopeId"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Usage: principalId='@principalId' - PrincipalId *string + PrincipalId *string `uriparametername:"principalId"` // Usage: roleDefinitionId='@roleDefinitionId' - RoleDefinitionId *string + RoleDefinitionId *string `uriparametername:"roleDefinitionId"` // Search items by search phrases Search *string `uriparametername:"%24search"` // Select properties to be returned @@ -92,3 +92,7 @@ func (m *EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScope } 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 *EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) { + return NewEnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_transitive_role_assignments_count_request_builder.go b/rolemanagement/enterprise_apps_item_transitive_role_assignments_count_request_builder.go index 510bb7255a7..0a92ab7e6e2 100644 --- a/rolemanagement/enterprise_apps_item_transitive_role_assignments_count_request_builder.go +++ b/rolemanagement/enterprise_apps_item_transitive_role_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EnterpriseAppsItemTransitiveRoleAssignmentsCountRequestBuilder) ToGetRe } 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 *EnterpriseAppsItemTransitiveRoleAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemTransitiveRoleAssignmentsCountRequestBuilder) { + return NewEnterpriseAppsItemTransitiveRoleAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_app_scope_request_builder.go b/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_app_scope_request_builder.go index f88733f4b0e..5c234bd029b 100644 --- a/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_app_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_app_scope_request_builder.go @@ -153,3 +153,7 @@ func (m *EnterpriseAppsItemTransitiveRoleAssignmentsItemAppScopeRequestBuilder) } 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 *EnterpriseAppsItemTransitiveRoleAssignmentsItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemTransitiveRoleAssignmentsItemAppScopeRequestBuilder) { + return NewEnterpriseAppsItemTransitiveRoleAssignmentsItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_directory_scope_request_builder.go b/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_directory_scope_request_builder.go index 73d7843cd1f..367f1c9c945 100644 --- a/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_directory_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemTransitiveRoleAssignmentsItemDirectoryScopeRequestBui } 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 *EnterpriseAppsItemTransitiveRoleAssignmentsItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemTransitiveRoleAssignmentsItemDirectoryScopeRequestBuilder) { + return NewEnterpriseAppsItemTransitiveRoleAssignmentsItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_principal_request_builder.go b/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_principal_request_builder.go index c9f91bd3215..6e22f76cd23 100644 --- a/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_principal_request_builder.go +++ b/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemTransitiveRoleAssignmentsItemPrincipalRequestBuilder) } 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 *EnterpriseAppsItemTransitiveRoleAssignmentsItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemTransitiveRoleAssignmentsItemPrincipalRequestBuilder) { + return NewEnterpriseAppsItemTransitiveRoleAssignmentsItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_role_definition_request_builder.go b/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_role_definition_request_builder.go index 10ffc29a6a3..fecd303caf6 100644 --- a/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_role_definition_request_builder.go +++ b/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *EnterpriseAppsItemTransitiveRoleAssignmentsItemRoleDefinitionRequestBui } 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 *EnterpriseAppsItemTransitiveRoleAssignmentsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemTransitiveRoleAssignmentsItemRoleDefinitionRequestBuilder) { + return NewEnterpriseAppsItemTransitiveRoleAssignmentsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_transitive_role_assignments_request_builder.go b/rolemanagement/enterprise_apps_item_transitive_role_assignments_request_builder.go index 16319890a02..a3c5725906f 100644 --- a/rolemanagement/enterprise_apps_item_transitive_role_assignments_request_builder.go +++ b/rolemanagement/enterprise_apps_item_transitive_role_assignments_request_builder.go @@ -46,8 +46,8 @@ type EnterpriseAppsItemTransitiveRoleAssignmentsRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleAssignmentIdString provides operations to manage the transitiveRoleAssignments property of the microsoft.graph.rbacApplication entity. -func (m *EnterpriseAppsItemTransitiveRoleAssignmentsRequestBuilder) ByUnifiedRoleAssignmentIdString(unifiedRoleAssignmentId string)(*EnterpriseAppsItemTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { +// ByUnifiedRoleAssignmentId provides operations to manage the transitiveRoleAssignments property of the microsoft.graph.rbacApplication entity. +func (m *EnterpriseAppsItemTransitiveRoleAssignmentsRequestBuilder) ByUnifiedRoleAssignmentId(unifiedRoleAssignmentId string)(*EnterpriseAppsItemTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *EnterpriseAppsItemTransitiveRoleAssignmentsRequestBuilder) ToPostReques } 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 *EnterpriseAppsItemTransitiveRoleAssignmentsRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemTransitiveRoleAssignmentsRequestBuilder) { + return NewEnterpriseAppsItemTransitiveRoleAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_item_transitive_role_assignments_unified_role_assignment_item_request_builder.go b/rolemanagement/enterprise_apps_item_transitive_role_assignments_unified_role_assignment_item_request_builder.go index 6651e6a98f1..da97ae6140b 100644 --- a/rolemanagement/enterprise_apps_item_transitive_role_assignments_unified_role_assignment_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_transitive_role_assignments_unified_role_assignment_item_request_builder.go @@ -169,3 +169,7 @@ func (m *EnterpriseAppsItemTransitiveRoleAssignmentsUnifiedRoleAssignmentItemReq } 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 *EnterpriseAppsItemTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsItemTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { + return NewEnterpriseAppsItemTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_rbac_application_item_request_builder.go b/rolemanagement/enterprise_apps_rbac_application_item_request_builder.go index 60ec796498c..141b5ccd893 100644 --- a/rolemanagement/enterprise_apps_rbac_application_item_request_builder.go +++ b/rolemanagement/enterprise_apps_rbac_application_item_request_builder.go @@ -205,3 +205,7 @@ func (m *EnterpriseAppsRbacApplicationItemRequestBuilder) ToPatchRequestInformat func (m *EnterpriseAppsRbacApplicationItemRequestBuilder) TransitiveRoleAssignments()(*EnterpriseAppsItemTransitiveRoleAssignmentsRequestBuilder) { return NewEnterpriseAppsItemTransitiveRoleAssignmentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *EnterpriseAppsRbacApplicationItemRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsRbacApplicationItemRequestBuilder) { + return NewEnterpriseAppsRbacApplicationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/enterprise_apps_request_builder.go b/rolemanagement/enterprise_apps_request_builder.go index c6e2481e4cb..548aa62c6f9 100644 --- a/rolemanagement/enterprise_apps_request_builder.go +++ b/rolemanagement/enterprise_apps_request_builder.go @@ -46,8 +46,8 @@ type EnterpriseAppsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRbacApplicationIdString provides operations to manage the enterpriseApps property of the microsoft.graph.roleManagement entity. -func (m *EnterpriseAppsRequestBuilder) ByRbacApplicationIdString(rbacApplicationId string)(*EnterpriseAppsRbacApplicationItemRequestBuilder) { +// ByRbacApplicationId provides operations to manage the enterpriseApps property of the microsoft.graph.roleManagement entity. +func (m *EnterpriseAppsRequestBuilder) ByRbacApplicationId(rbacApplicationId string)(*EnterpriseAppsRbacApplicationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EnterpriseAppsRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *EnterpriseAppsRequestBuilder) WithUrl(rawUrl string)(*EnterpriseAppsRequestBuilder) { + return NewEnterpriseAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_request_builder.go b/rolemanagement/entitlement_management_request_builder.go index 9730d9cf478..5d0f0dacf66 100644 --- a/rolemanagement/entitlement_management_request_builder.go +++ b/rolemanagement/entitlement_management_request_builder.go @@ -205,3 +205,7 @@ func (m *EntitlementManagementRequestBuilder) ToPatchRequestInformation(ctx cont func (m *EntitlementManagementRequestBuilder) TransitiveRoleAssignments()(*EntitlementManagementTransitiveRoleAssignmentsRequestBuilder) { return NewEntitlementManagementTransitiveRoleAssignmentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *EntitlementManagementRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRequestBuilder) { + return NewEntitlementManagementRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_resource_namespaces_count_request_builder.go b/rolemanagement/entitlement_management_resource_namespaces_count_request_builder.go index ebc22e0cad8..5eae30a5711 100644 --- a/rolemanagement/entitlement_management_resource_namespaces_count_request_builder.go +++ b/rolemanagement/entitlement_management_resource_namespaces_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementResourceNamespacesCountRequestBuilder) ToGetReques } 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 *EntitlementManagementResourceNamespacesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementResourceNamespacesCountRequestBuilder) { + return NewEntitlementManagementResourceNamespacesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_resource_namespaces_item_import_resource_actions_request_builder.go b/rolemanagement/entitlement_management_resource_namespaces_item_import_resource_actions_request_builder.go index 642eb8fb8d8..678dc331d11 100644 --- a/rolemanagement/entitlement_management_resource_namespaces_item_import_resource_actions_request_builder.go +++ b/rolemanagement/entitlement_management_resource_namespaces_item_import_resource_actions_request_builder.go @@ -67,3 +67,7 @@ func (m *EntitlementManagementResourceNamespacesItemImportResourceActionsRequest } 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 *EntitlementManagementResourceNamespacesItemImportResourceActionsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementResourceNamespacesItemImportResourceActionsRequestBuilder) { + return NewEntitlementManagementResourceNamespacesItemImportResourceActionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_count_request_builder.go b/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_count_request_builder.go index 40807a79393..fe9ca7a9998 100644 --- a/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_count_request_builder.go +++ b/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementResourceNamespacesItemResourceActionsCountRequestB } 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 *EntitlementManagementResourceNamespacesItemResourceActionsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementResourceNamespacesItemResourceActionsCountRequestBuilder) { + return NewEntitlementManagementResourceNamespacesItemResourceActionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go b/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go index 19b66f795b4..dc6faa09d10 100644 --- a/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go +++ b/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementResourceNamespacesItemResourceActionsItemAuthentic } 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 *EntitlementManagementResourceNamespacesItemResourceActionsItemAuthenticationContextRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementResourceNamespacesItemResourceActionsItemAuthenticationContextRequestBuilder) { + return NewEntitlementManagementResourceNamespacesItemResourceActionsItemAuthenticationContextRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go b/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go index af9f53ffc0d..9337d08d6cf 100644 --- a/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go +++ b/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementResourceNamespacesItemResourceActionsItemResourceS } 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 *EntitlementManagementResourceNamespacesItemResourceActionsItemResourceScopeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementResourceNamespacesItemResourceActionsItemResourceScopeRequestBuilder) { + return NewEntitlementManagementResourceNamespacesItemResourceActionsItemResourceScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_request_builder.go b/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_request_builder.go index 22c6d4bc5e0..a9b730fd7f1 100644 --- a/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_request_builder.go +++ b/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementResourceNamespacesItemResourceActionsRequestBuilderPos // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRbacResourceActionIdString provides operations to manage the resourceActions property of the microsoft.graph.unifiedRbacResourceNamespace entity. -func (m *EntitlementManagementResourceNamespacesItemResourceActionsRequestBuilder) ByUnifiedRbacResourceActionIdString(unifiedRbacResourceActionId string)(*EntitlementManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) { +// ByUnifiedRbacResourceActionId provides operations to manage the resourceActions property of the microsoft.graph.unifiedRbacResourceNamespace entity. +func (m *EntitlementManagementResourceNamespacesItemResourceActionsRequestBuilder) ByUnifiedRbacResourceActionId(unifiedRbacResourceActionId string)(*EntitlementManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *EntitlementManagementResourceNamespacesItemResourceActionsRequestBuilde } 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 *EntitlementManagementResourceNamespacesItemResourceActionsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementResourceNamespacesItemResourceActionsRequestBuilder) { + return NewEntitlementManagementResourceNamespacesItemResourceActionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go b/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go index 7e675b26dbb..e2444a98ff6 100644 --- a/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go +++ b/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go @@ -164,3 +164,7 @@ func (m *EntitlementManagementResourceNamespacesItemResourceActionsUnifiedRbacRe } 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 *EntitlementManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) { + return NewEntitlementManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_resource_namespaces_request_builder.go b/rolemanagement/entitlement_management_resource_namespaces_request_builder.go index 53da991fd50..58ce7217fc3 100644 --- a/rolemanagement/entitlement_management_resource_namespaces_request_builder.go +++ b/rolemanagement/entitlement_management_resource_namespaces_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementResourceNamespacesRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRbacResourceNamespaceIdString provides operations to manage the resourceNamespaces property of the microsoft.graph.rbacApplication entity. -func (m *EntitlementManagementResourceNamespacesRequestBuilder) ByUnifiedRbacResourceNamespaceIdString(unifiedRbacResourceNamespaceId string)(*EntitlementManagementResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) { +// ByUnifiedRbacResourceNamespaceId provides operations to manage the resourceNamespaces property of the microsoft.graph.rbacApplication entity. +func (m *EntitlementManagementResourceNamespacesRequestBuilder) ByUnifiedRbacResourceNamespaceId(unifiedRbacResourceNamespaceId string)(*EntitlementManagementResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *EntitlementManagementResourceNamespacesRequestBuilder) ToPostRequestInf } 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 *EntitlementManagementResourceNamespacesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementResourceNamespacesRequestBuilder) { + return NewEntitlementManagementResourceNamespacesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go b/rolemanagement/entitlement_management_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go index b389291f8f5..704bffab8dc 100644 --- a/rolemanagement/entitlement_management_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go +++ b/rolemanagement/entitlement_management_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go @@ -164,3 +164,7 @@ func (m *EntitlementManagementResourceNamespacesUnifiedRbacResourceNamespaceItem } 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 *EntitlementManagementResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) { + return NewEntitlementManagementResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_approvals_approval_item_request_builder.go b/rolemanagement/entitlement_management_role_assignment_approvals_approval_item_request_builder.go index a557ab59c4f..e189d2f2364 100644 --- a/rolemanagement/entitlement_management_role_assignment_approvals_approval_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_approvals_approval_item_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementRoleAssignmentApprovalsApprovalItemRequestBuilder) } 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 *EntitlementManagementRoleAssignmentApprovalsApprovalItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentApprovalsApprovalItemRequestBuilder) { + return NewEntitlementManagementRoleAssignmentApprovalsApprovalItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_approvals_count_request_builder.go b/rolemanagement/entitlement_management_role_assignment_approvals_count_request_builder.go index 23ffad5b445..74c632f08bb 100644 --- a/rolemanagement/entitlement_management_role_assignment_approvals_count_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_approvals_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementRoleAssignmentApprovalsCountRequestBuilder) ToGetR } 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 *EntitlementManagementRoleAssignmentApprovalsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentApprovalsCountRequestBuilder) { + return NewEntitlementManagementRoleAssignmentApprovalsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go b/rolemanagement/entitlement_management_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go index 2c5e7d40dc9..a853e9478eb 100644 --- a/rolemanagement/entitlement_management_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *EntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnRe } 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 *EntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) { + return NewEntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_approval_step_item_request_builder.go b/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_approval_step_item_request_builder.go index e95fb3acd5d..e4c1a8c87a0 100644 --- a/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_approval_step_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_approval_step_item_request_builder.go @@ -159,3 +159,7 @@ func (m *EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRe } 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 *EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) { + return NewEntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_count_request_builder.go b/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_count_request_builder.go index b3b6f00f5f2..8b2d1e1f1af 100644 --- a/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_count_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementRoleAssignmentApprovalsItemStepsCountRequestBuilde } 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 *EntitlementManagementRoleAssignmentApprovalsItemStepsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentApprovalsItemStepsCountRequestBuilder) { + return NewEntitlementManagementRoleAssignmentApprovalsItemStepsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_request_builder.go b/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_request_builder.go index 7ec20deea7a..40cf1e93d8a 100644 --- a/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementRoleAssignmentApprovalsItemStepsRequestBuilderPostRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByApprovalStepIdString provides operations to manage the steps property of the microsoft.graph.approval entity. -func (m *EntitlementManagementRoleAssignmentApprovalsItemStepsRequestBuilder) ByApprovalStepIdString(approvalStepId string)(*EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) { +// ByApprovalStepId provides operations to manage the steps property of the microsoft.graph.approval entity. +func (m *EntitlementManagementRoleAssignmentApprovalsItemStepsRequestBuilder) ByApprovalStepId(approvalStepId string)(*EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *EntitlementManagementRoleAssignmentApprovalsItemStepsRequestBuilder) To } 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 *EntitlementManagementRoleAssignmentApprovalsItemStepsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentApprovalsItemStepsRequestBuilder) { + return NewEntitlementManagementRoleAssignmentApprovalsItemStepsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_approvals_request_builder.go b/rolemanagement/entitlement_management_role_assignment_approvals_request_builder.go index 2fc0ffd32a1..8de135576d2 100644 --- a/rolemanagement/entitlement_management_role_assignment_approvals_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_approvals_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementRoleAssignmentApprovalsRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByApprovalIdString provides operations to manage the roleAssignmentApprovals property of the microsoft.graph.rbacApplication entity. -func (m *EntitlementManagementRoleAssignmentApprovalsRequestBuilder) ByApprovalIdString(approvalId string)(*EntitlementManagementRoleAssignmentApprovalsApprovalItemRequestBuilder) { +// ByApprovalId provides operations to manage the roleAssignmentApprovals property of the microsoft.graph.rbacApplication entity. +func (m *EntitlementManagementRoleAssignmentApprovalsRequestBuilder) ByApprovalId(approvalId string)(*EntitlementManagementRoleAssignmentApprovalsApprovalItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *EntitlementManagementRoleAssignmentApprovalsRequestBuilder) ToPostReque } 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 *EntitlementManagementRoleAssignmentApprovalsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentApprovalsRequestBuilder) { + return NewEntitlementManagementRoleAssignmentApprovalsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_instances_count_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_instances_count_request_builder.go index db50f7be497..f44ff7563b1 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_instances_count_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_instances_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesCountRequestBuilder } 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 *EntitlementManagementRoleAssignmentScheduleInstancesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentScheduleInstancesCountRequestBuilder) { + return NewEntitlementManagementRoleAssignmentScheduleInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go index 75d3a9f29e2..00e2c721d31 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUser } 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 *EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) { + return NewEntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_activated_using_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_activated_using_request_builder.go index 2770a25fb02..3288e8ccc8a 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_activated_using_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_activated_using_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesItemActivatedUsingR } 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 *EntitlementManagementRoleAssignmentScheduleInstancesItemActivatedUsingRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentScheduleInstancesItemActivatedUsingRequestBuilder) { + return NewEntitlementManagementRoleAssignmentScheduleInstancesItemActivatedUsingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_app_scope_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_app_scope_request_builder.go index b12edfbbc31..e0454e02ca7 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_app_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_app_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesItemAppScopeRequest } 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 *EntitlementManagementRoleAssignmentScheduleInstancesItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentScheduleInstancesItemAppScopeRequestBuilder) { + return NewEntitlementManagementRoleAssignmentScheduleInstancesItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_directory_scope_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_directory_scope_request_builder.go index 80843605455..a92029a5aac 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_directory_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesItemDirectoryScopeR } 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 *EntitlementManagementRoleAssignmentScheduleInstancesItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentScheduleInstancesItemDirectoryScopeRequestBuilder) { + return NewEntitlementManagementRoleAssignmentScheduleInstancesItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_principal_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_principal_request_builder.go index a996526f8b9..345705e7b4e 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_principal_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesItemPrincipalReques } 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 *EntitlementManagementRoleAssignmentScheduleInstancesItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentScheduleInstancesItemPrincipalRequestBuilder) { + return NewEntitlementManagementRoleAssignmentScheduleInstancesItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_role_definition_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_role_definition_request_builder.go index b23bf11a2da..7e095084124 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_role_definition_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesItemRoleDefinitionR } 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 *EntitlementManagementRoleAssignmentScheduleInstancesItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentScheduleInstancesItemRoleDefinitionRequestBuilder) { + return NewEntitlementManagementRoleAssignmentScheduleInstancesItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_instances_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_instances_request_builder.go index 2417036828d..a5a6e5d7b4d 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_instances_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_instances_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementRoleAssignmentScheduleInstancesRequestBuilderPostReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleAssignmentScheduleInstanceIdString provides operations to manage the roleAssignmentScheduleInstances property of the microsoft.graph.rbacApplication entity. -func (m *EntitlementManagementRoleAssignmentScheduleInstancesRequestBuilder) ByUnifiedRoleAssignmentScheduleInstanceIdString(unifiedRoleAssignmentScheduleInstanceId string)(*EntitlementManagementRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder) { +// ByUnifiedRoleAssignmentScheduleInstanceId provides operations to manage the roleAssignmentScheduleInstances property of the microsoft.graph.rbacApplication entity. +func (m *EntitlementManagementRoleAssignmentScheduleInstancesRequestBuilder) ByUnifiedRoleAssignmentScheduleInstanceId(unifiedRoleAssignmentScheduleInstanceId string)(*EntitlementManagementRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesRequestBuilder) 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 *EntitlementManagementRoleAssignmentScheduleInstancesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentScheduleInstancesRequestBuilder) { + return NewEntitlementManagementRoleAssignmentScheduleInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go index 84b3906bcbb..850239286ba 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go @@ -176,3 +176,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesUnifiedRoleAssignme } 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 *EntitlementManagementRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder) { + return NewEntitlementManagementRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_count_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_count_request_builder.go index ec0b0626f74..87fe6946a40 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_count_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsCountRequestBuilder) } 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 *EntitlementManagementRoleAssignmentScheduleRequestsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentScheduleRequestsCountRequestBuilder) { + return NewEntitlementManagementRoleAssignmentScheduleRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go index 68b3d2adf12..6a179d49773 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserW } 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 *EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) { + return NewEntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_activated_using_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_activated_using_request_builder.go index 3eae19e1663..d9f99e6cdbe 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_activated_using_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_activated_using_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsItemActivatedUsingRe } 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 *EntitlementManagementRoleAssignmentScheduleRequestsItemActivatedUsingRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentScheduleRequestsItemActivatedUsingRequestBuilder) { + return NewEntitlementManagementRoleAssignmentScheduleRequestsItemActivatedUsingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_app_scope_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_app_scope_request_builder.go index e44bc56dff8..04173fb9dcd 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_app_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_app_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsItemAppScopeRequestB } 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 *EntitlementManagementRoleAssignmentScheduleRequestsItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentScheduleRequestsItemAppScopeRequestBuilder) { + return NewEntitlementManagementRoleAssignmentScheduleRequestsItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_cancel_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_cancel_request_builder.go index c10bb75b00e..d45bfaab5f7 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_cancel_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_cancel_request_builder.go @@ -61,3 +61,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsItemCancelRequestBui } 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 *EntitlementManagementRoleAssignmentScheduleRequestsItemCancelRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentScheduleRequestsItemCancelRequestBuilder) { + return NewEntitlementManagementRoleAssignmentScheduleRequestsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_directory_scope_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_directory_scope_request_builder.go index 1a6bed16e4e..cd05d4f07b0 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_directory_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsItemDirectoryScopeRe } 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 *EntitlementManagementRoleAssignmentScheduleRequestsItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentScheduleRequestsItemDirectoryScopeRequestBuilder) { + return NewEntitlementManagementRoleAssignmentScheduleRequestsItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_principal_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_principal_request_builder.go index ad3c4097e8d..de564d196b5 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_principal_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsItemPrincipalRequest } 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 *EntitlementManagementRoleAssignmentScheduleRequestsItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentScheduleRequestsItemPrincipalRequestBuilder) { + return NewEntitlementManagementRoleAssignmentScheduleRequestsItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_role_definition_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_role_definition_request_builder.go index 9a703293786..a8f1bde9efb 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_role_definition_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsItemRoleDefinitionRe } 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 *EntitlementManagementRoleAssignmentScheduleRequestsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentScheduleRequestsItemRoleDefinitionRequestBuilder) { + return NewEntitlementManagementRoleAssignmentScheduleRequestsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_target_schedule_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_target_schedule_request_builder.go index fa25d11fc95..ee6cfab3163 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_target_schedule_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_target_schedule_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsItemTargetScheduleRe } 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 *EntitlementManagementRoleAssignmentScheduleRequestsItemTargetScheduleRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentScheduleRequestsItemTargetScheduleRequestBuilder) { + return NewEntitlementManagementRoleAssignmentScheduleRequestsItemTargetScheduleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_request_builder.go index 3d0512596ec..c479181bc29 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleAssignmentScheduleRequestIdString provides operations to manage the roleAssignmentScheduleRequests property of the microsoft.graph.rbacApplication entity. -func (m *EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilder) ByUnifiedRoleAssignmentScheduleRequestIdString(unifiedRoleAssignmentScheduleRequestId string)(*EntitlementManagementRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder) { +// ByUnifiedRoleAssignmentScheduleRequestId provides operations to manage the roleAssignmentScheduleRequests property of the microsoft.graph.rbacApplication entity. +func (m *EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilder) ByUnifiedRoleAssignmentScheduleRequestId(unifiedRoleAssignmentScheduleRequestId string)(*EntitlementManagementRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilder) ToPo } 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 *EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilder) { + return NewEntitlementManagementRoleAssignmentScheduleRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go index 5a126f97813..2d1175d009e 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go @@ -184,3 +184,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsUnifiedRoleAssignmen } 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 *EntitlementManagementRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder) { + return NewEntitlementManagementRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedules_count_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedules_count_request_builder.go index 544466dfb77..8528abf1f1f 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedules_count_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedules_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesCountRequestBuilder) ToGetR } 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 *EntitlementManagementRoleAssignmentSchedulesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentSchedulesCountRequestBuilder) { + return NewEntitlementManagementRoleAssignmentSchedulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go index 8fb8afa9881..4e067fc258b 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnRe } 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 *EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) { + return NewEntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedules_item_activated_using_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedules_item_activated_using_request_builder.go index b93a6c0b8c1..773892fbdc5 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedules_item_activated_using_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedules_item_activated_using_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesItemActivatedUsingRequestBu } 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 *EntitlementManagementRoleAssignmentSchedulesItemActivatedUsingRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentSchedulesItemActivatedUsingRequestBuilder) { + return NewEntitlementManagementRoleAssignmentSchedulesItemActivatedUsingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedules_item_app_scope_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedules_item_app_scope_request_builder.go index d67670e62fa..ce4b6685091 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedules_item_app_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedules_item_app_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesItemAppScopeRequestBuilder) } 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 *EntitlementManagementRoleAssignmentSchedulesItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentSchedulesItemAppScopeRequestBuilder) { + return NewEntitlementManagementRoleAssignmentSchedulesItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedules_item_directory_scope_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedules_item_directory_scope_request_builder.go index 5471194b37a..316af30c8c4 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedules_item_directory_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedules_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesItemDirectoryScopeRequestBu } 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 *EntitlementManagementRoleAssignmentSchedulesItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentSchedulesItemDirectoryScopeRequestBuilder) { + return NewEntitlementManagementRoleAssignmentSchedulesItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedules_item_principal_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedules_item_principal_request_builder.go index 4fdbb7017f5..7d66fd23bf4 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedules_item_principal_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedules_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesItemPrincipalRequestBuilder } 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 *EntitlementManagementRoleAssignmentSchedulesItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentSchedulesItemPrincipalRequestBuilder) { + return NewEntitlementManagementRoleAssignmentSchedulesItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedules_item_role_definition_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedules_item_role_definition_request_builder.go index 7d2905c98cb..79e6fd322fa 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedules_item_role_definition_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedules_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesItemRoleDefinitionRequestBu } 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 *EntitlementManagementRoleAssignmentSchedulesItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentSchedulesItemRoleDefinitionRequestBuilder) { + return NewEntitlementManagementRoleAssignmentSchedulesItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedules_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedules_request_builder.go index d08f8ecd27d..2a0dbb5e7ca 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedules_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedules_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementRoleAssignmentSchedulesRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleAssignmentScheduleIdString provides operations to manage the roleAssignmentSchedules property of the microsoft.graph.rbacApplication entity. -func (m *EntitlementManagementRoleAssignmentSchedulesRequestBuilder) ByUnifiedRoleAssignmentScheduleIdString(unifiedRoleAssignmentScheduleId string)(*EntitlementManagementRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder) { +// ByUnifiedRoleAssignmentScheduleId provides operations to manage the roleAssignmentSchedules property of the microsoft.graph.rbacApplication entity. +func (m *EntitlementManagementRoleAssignmentSchedulesRequestBuilder) ByUnifiedRoleAssignmentScheduleId(unifiedRoleAssignmentScheduleId string)(*EntitlementManagementRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesRequestBuilder) ToPostReque } 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 *EntitlementManagementRoleAssignmentSchedulesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentSchedulesRequestBuilder) { + return NewEntitlementManagementRoleAssignmentSchedulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go index 874be471d9f..e425e8a2b80 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go @@ -176,3 +176,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesUnifiedRoleAssignmentSchedu } 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 *EntitlementManagementRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder) { + return NewEntitlementManagementRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignments_count_request_builder.go b/rolemanagement/entitlement_management_role_assignments_count_request_builder.go index d8097f2f873..63811affd62 100644 --- a/rolemanagement/entitlement_management_role_assignments_count_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementRoleAssignmentsCountRequestBuilder) ToGetRequestIn } 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 *EntitlementManagementRoleAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentsCountRequestBuilder) { + return NewEntitlementManagementRoleAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignments_item_app_scope_request_builder.go b/rolemanagement/entitlement_management_role_assignments_item_app_scope_request_builder.go index 568c7fcaa87..3707c5fdf1f 100644 --- a/rolemanagement/entitlement_management_role_assignments_item_app_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignments_item_app_scope_request_builder.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementRoleAssignmentsItemAppScopeRequestBuilder) ToPatch } 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 *EntitlementManagementRoleAssignmentsItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentsItemAppScopeRequestBuilder) { + return NewEntitlementManagementRoleAssignmentsItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignments_item_directory_scope_request_builder.go b/rolemanagement/entitlement_management_role_assignments_item_directory_scope_request_builder.go index a4a15d2474f..5c87d9b665c 100644 --- a/rolemanagement/entitlement_management_role_assignments_item_directory_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignments_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleAssignmentsItemDirectoryScopeRequestBuilder) T } 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 *EntitlementManagementRoleAssignmentsItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentsItemDirectoryScopeRequestBuilder) { + return NewEntitlementManagementRoleAssignmentsItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignments_item_principal_request_builder.go b/rolemanagement/entitlement_management_role_assignments_item_principal_request_builder.go index 3162006168a..7a93553d690 100644 --- a/rolemanagement/entitlement_management_role_assignments_item_principal_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignments_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleAssignmentsItemPrincipalRequestBuilder) ToGetR } 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 *EntitlementManagementRoleAssignmentsItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentsItemPrincipalRequestBuilder) { + return NewEntitlementManagementRoleAssignmentsItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignments_item_role_definition_request_builder.go b/rolemanagement/entitlement_management_role_assignments_item_role_definition_request_builder.go index 4cb92c4766a..9960479f709 100644 --- a/rolemanagement/entitlement_management_role_assignments_item_role_definition_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignments_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleAssignmentsItemRoleDefinitionRequestBuilder) T } 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 *EntitlementManagementRoleAssignmentsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentsItemRoleDefinitionRequestBuilder) { + return NewEntitlementManagementRoleAssignmentsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignments_request_builder.go b/rolemanagement/entitlement_management_role_assignments_request_builder.go index 9136ec4d117..7b440c6a0a0 100644 --- a/rolemanagement/entitlement_management_role_assignments_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignments_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementRoleAssignmentsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleAssignmentIdString provides operations to manage the roleAssignments property of the microsoft.graph.rbacApplication entity. -func (m *EntitlementManagementRoleAssignmentsRequestBuilder) ByUnifiedRoleAssignmentIdString(unifiedRoleAssignmentId string)(*EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { +// ByUnifiedRoleAssignmentId provides operations to manage the roleAssignments property of the microsoft.graph.rbacApplication entity. +func (m *EntitlementManagementRoleAssignmentsRequestBuilder) ByUnifiedRoleAssignmentId(unifiedRoleAssignmentId string)(*EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *EntitlementManagementRoleAssignmentsRequestBuilder) ToPostRequestInform } 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 *EntitlementManagementRoleAssignmentsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentsRequestBuilder) { + return NewEntitlementManagementRoleAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_assignments_unified_role_assignment_item_request_builder.go b/rolemanagement/entitlement_management_role_assignments_unified_role_assignment_item_request_builder.go index 46d63fb8754..848a77eb51a 100644 --- a/rolemanagement/entitlement_management_role_assignments_unified_role_assignment_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignments_unified_role_assignment_item_request_builder.go @@ -175,3 +175,7 @@ func (m *EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBui } 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 *EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { + return NewEntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_definitions_count_request_builder.go b/rolemanagement/entitlement_management_role_definitions_count_request_builder.go index 6e4f5811217..4d8e1ffd2e1 100644 --- a/rolemanagement/entitlement_management_role_definitions_count_request_builder.go +++ b/rolemanagement/entitlement_management_role_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementRoleDefinitionsCountRequestBuilder) ToGetRequestIn } 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 *EntitlementManagementRoleDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleDefinitionsCountRequestBuilder) { + return NewEntitlementManagementRoleDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/entitlement_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index 29ff24f0967..81ee42e4a0c 100644 --- a/rolemanagement/entitlement_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/entitlement_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -15,9 +15,9 @@ type EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedir // Include count of items Count *bool `uriparametername:"%24count"` // Usage: directoryScopeId='@directoryScopeId' - DirectoryScopeId *string + DirectoryScopeId *string `uriparametername:"directoryScopeId"` // Usage: directoryScopeType='@directoryScopeType' - DirectoryScopeType *string + DirectoryScopeType *string `uriparametername:"directoryScopeType"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -31,7 +31,7 @@ type EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedir // Show only the first n items Top *int32 `uriparametername:"%24top"` // Usage: transitive=@transitive - Transitive *bool + Transitive *bool `uriparametername:"transitive"` } // EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration struct { @@ -90,3 +90,7 @@ func (m *EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitiv } 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 *EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) { + return NewEntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_count_request_builder.go b/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_count_request_builder.go index f9e629761e0..9b581fba56a 100644 --- a/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_count_request_builder.go +++ b/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromCountReq } 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 *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromCountRequestBuilder) { + return NewEntitlementManagementRoleDefinitionsItemInheritsPermissionsFromCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index 6f15be904e2..a12f69c41db 100644 --- a/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -15,9 +15,9 @@ type EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssigned // Include count of items Count *bool `uriparametername:"%24count"` // Usage: directoryScopeId='@directoryScopeId' - DirectoryScopeId *string + DirectoryScopeId *string `uriparametername:"directoryScopeId"` // Usage: directoryScopeType='@directoryScopeType' - DirectoryScopeType *string + DirectoryScopeType *string `uriparametername:"directoryScopeType"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -31,7 +31,7 @@ type EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssigned // Show only the first n items Top *int32 `uriparametername:"%24top"` // Usage: transitive=@transitive - Transitive *bool + Transitive *bool `uriparametername:"transitive"` } // EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration struct { @@ -90,3 +90,7 @@ func (m *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssi } 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 *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) { + return NewEntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_request_builder.go b/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_request_builder.go index eaf288e7412..32f7c3ab322 100644 --- a/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_request_builder.go +++ b/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleDefinitionId1String provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. -func (m *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) ByUnifiedRoleDefinitionId1String(unifiedRoleDefinitionId1 string)(*EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) { +// ByUnifiedRoleDefinitionId1 provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. +func (m *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) ByUnifiedRoleDefinitionId1(unifiedRoleDefinitionId1 string)(*EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromRequestB } 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 *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) { + return NewEntitlementManagementRoleDefinitionsItemInheritsPermissionsFromRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go b/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go index 33e5e515e1f..1f9e297ad50 100644 --- a/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go @@ -157,3 +157,7 @@ func (m *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromUnifiedR } 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 *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) { + return NewEntitlementManagementRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_definitions_request_builder.go b/rolemanagement/entitlement_management_role_definitions_request_builder.go index febade0a671..b91e0d5c758 100644 --- a/rolemanagement/entitlement_management_role_definitions_request_builder.go +++ b/rolemanagement/entitlement_management_role_definitions_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementRoleDefinitionsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleDefinitionIdString provides operations to manage the roleDefinitions property of the microsoft.graph.rbacApplication entity. -func (m *EntitlementManagementRoleDefinitionsRequestBuilder) ByUnifiedRoleDefinitionIdString(unifiedRoleDefinitionId string)(*EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) { +// ByUnifiedRoleDefinitionId provides operations to manage the roleDefinitions property of the microsoft.graph.rbacApplication entity. +func (m *EntitlementManagementRoleDefinitionsRequestBuilder) ByUnifiedRoleDefinitionId(unifiedRoleDefinitionId string)(*EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *EntitlementManagementRoleDefinitionsRequestBuilder) ToPostRequestInform } 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 *EntitlementManagementRoleDefinitionsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleDefinitionsRequestBuilder) { + return NewEntitlementManagementRoleDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_definitions_unified_role_definition_item_request_builder.go b/rolemanagement/entitlement_management_role_definitions_unified_role_definition_item_request_builder.go index ee76e42518b..e7d16533462 100644 --- a/rolemanagement/entitlement_management_role_definitions_unified_role_definition_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_definitions_unified_role_definition_item_request_builder.go @@ -170,3 +170,7 @@ func (m *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBui } 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 *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) { + return NewEntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_count_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_count_request_builder.go index 5c807fec07a..f8e3f82c6b4 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_count_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesCountRequestBuilde } 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 *EntitlementManagementRoleEligibilityScheduleInstancesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilityScheduleInstancesCountRequestBuilder) { + return NewEntitlementManagementRoleEligibilityScheduleInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go index db6d7ebc874..aea88d9bf7a 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUse } 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 *EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) { + return NewEntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_app_scope_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_app_scope_request_builder.go index 7157e9c7caa..1d9811c08a8 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_app_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_app_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesItemAppScopeReques } 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 *EntitlementManagementRoleEligibilityScheduleInstancesItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilityScheduleInstancesItemAppScopeRequestBuilder) { + return NewEntitlementManagementRoleEligibilityScheduleInstancesItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_directory_scope_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_directory_scope_request_builder.go index 940183d600a..fd839e8d1f2 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_directory_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesItemDirectoryScope } 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 *EntitlementManagementRoleEligibilityScheduleInstancesItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilityScheduleInstancesItemDirectoryScopeRequestBuilder) { + return NewEntitlementManagementRoleEligibilityScheduleInstancesItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_principal_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_principal_request_builder.go index 70d2c82d8b8..2368a880b5a 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_principal_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesItemPrincipalReque } 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 *EntitlementManagementRoleEligibilityScheduleInstancesItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilityScheduleInstancesItemPrincipalRequestBuilder) { + return NewEntitlementManagementRoleEligibilityScheduleInstancesItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_role_definition_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_role_definition_request_builder.go index 8aa2cddd406..0b1c9fb2574 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_role_definition_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesItemRoleDefinition } 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 *EntitlementManagementRoleEligibilityScheduleInstancesItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilityScheduleInstancesItemRoleDefinitionRequestBuilder) { + return NewEntitlementManagementRoleEligibilityScheduleInstancesItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_request_builder.go index 5b6cf9ffbd6..82e7fb8488f 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementRoleEligibilityScheduleInstancesRequestBuilderPostRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleEligibilityScheduleInstanceIdString provides operations to manage the roleEligibilityScheduleInstances property of the microsoft.graph.rbacApplication entity. -func (m *EntitlementManagementRoleEligibilityScheduleInstancesRequestBuilder) ByUnifiedRoleEligibilityScheduleInstanceIdString(unifiedRoleEligibilityScheduleInstanceId string)(*EntitlementManagementRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder) { +// ByUnifiedRoleEligibilityScheduleInstanceId provides operations to manage the roleEligibilityScheduleInstances property of the microsoft.graph.rbacApplication entity. +func (m *EntitlementManagementRoleEligibilityScheduleInstancesRequestBuilder) ByUnifiedRoleEligibilityScheduleInstanceId(unifiedRoleEligibilityScheduleInstanceId string)(*EntitlementManagementRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesRequestBuilder) To } 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 *EntitlementManagementRoleEligibilityScheduleInstancesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilityScheduleInstancesRequestBuilder) { + return NewEntitlementManagementRoleEligibilityScheduleInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go index d2796cade3a..166836d3b73 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go @@ -172,3 +172,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesUnifiedRoleEligibi } 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 *EntitlementManagementRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder) { + return NewEntitlementManagementRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_count_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_count_request_builder.go index f391606274d..3a42326d74e 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_count_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsCountRequestBuilder } 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 *EntitlementManagementRoleEligibilityScheduleRequestsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilityScheduleRequestsCountRequestBuilder) { + return NewEntitlementManagementRoleEligibilityScheduleRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go index d91f81eeac7..939fcbc271f 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUser } 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 *EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) { + return NewEntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_app_scope_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_app_scope_request_builder.go index d296808a046..f6ac77866d0 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_app_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_app_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsItemAppScopeRequest } 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 *EntitlementManagementRoleEligibilityScheduleRequestsItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilityScheduleRequestsItemAppScopeRequestBuilder) { + return NewEntitlementManagementRoleEligibilityScheduleRequestsItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_cancel_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_cancel_request_builder.go index 2322e00f873..c6cb18e2066 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_cancel_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_cancel_request_builder.go @@ -61,3 +61,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsItemCancelRequestBu } 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 *EntitlementManagementRoleEligibilityScheduleRequestsItemCancelRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilityScheduleRequestsItemCancelRequestBuilder) { + return NewEntitlementManagementRoleEligibilityScheduleRequestsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_directory_scope_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_directory_scope_request_builder.go index 5ec8f157e08..c879168aca8 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_directory_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsItemDirectoryScopeR } 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 *EntitlementManagementRoleEligibilityScheduleRequestsItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilityScheduleRequestsItemDirectoryScopeRequestBuilder) { + return NewEntitlementManagementRoleEligibilityScheduleRequestsItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_principal_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_principal_request_builder.go index 56b98122e8c..f1bf2e52064 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_principal_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsItemPrincipalReques } 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 *EntitlementManagementRoleEligibilityScheduleRequestsItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilityScheduleRequestsItemPrincipalRequestBuilder) { + return NewEntitlementManagementRoleEligibilityScheduleRequestsItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_role_definition_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_role_definition_request_builder.go index 0171b63b486..bbe0fe64b06 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_role_definition_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsItemRoleDefinitionR } 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 *EntitlementManagementRoleEligibilityScheduleRequestsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilityScheduleRequestsItemRoleDefinitionRequestBuilder) { + return NewEntitlementManagementRoleEligibilityScheduleRequestsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_target_schedule_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_target_schedule_request_builder.go index 9be4545eedf..113f4629a5e 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_target_schedule_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_target_schedule_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsItemTargetScheduleR } 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 *EntitlementManagementRoleEligibilityScheduleRequestsItemTargetScheduleRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilityScheduleRequestsItemTargetScheduleRequestBuilder) { + return NewEntitlementManagementRoleEligibilityScheduleRequestsItemTargetScheduleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_request_builder.go index 61d1ea6ae9d..90a383516c7 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilderPostReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleEligibilityScheduleRequestIdString provides operations to manage the roleEligibilityScheduleRequests property of the microsoft.graph.rbacApplication entity. -func (m *EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilder) ByUnifiedRoleEligibilityScheduleRequestIdString(unifiedRoleEligibilityScheduleRequestId string)(*EntitlementManagementRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder) { +// ByUnifiedRoleEligibilityScheduleRequestId provides operations to manage the roleEligibilityScheduleRequests property of the microsoft.graph.rbacApplication entity. +func (m *EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilder) ByUnifiedRoleEligibilityScheduleRequestId(unifiedRoleEligibilityScheduleRequestId string)(*EntitlementManagementRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilder) 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 *EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilder) { + return NewEntitlementManagementRoleEligibilityScheduleRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go index b5e1cd8964f..9c77185c070 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go @@ -180,3 +180,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsUnifiedRoleEligibil } 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 *EntitlementManagementRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder) { + return NewEntitlementManagementRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedules_count_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedules_count_request_builder.go index 6061e50fe09..123d2787d19 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedules_count_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedules_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementRoleEligibilitySchedulesCountRequestBuilder) ToGet } 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 *EntitlementManagementRoleEligibilitySchedulesCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilitySchedulesCountRequestBuilder) { + return NewEntitlementManagementRoleEligibilitySchedulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go index 7ba4827a7ee..482a3d1444d 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnR } 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 *EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) { + return NewEntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedules_item_app_scope_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedules_item_app_scope_request_builder.go index 7cb159f23be..9fa57f10dc6 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedules_item_app_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedules_item_app_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleEligibilitySchedulesItemAppScopeRequestBuilder } 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 *EntitlementManagementRoleEligibilitySchedulesItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilitySchedulesItemAppScopeRequestBuilder) { + return NewEntitlementManagementRoleEligibilitySchedulesItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedules_item_directory_scope_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedules_item_directory_scope_request_builder.go index 3a4e43ea7b9..2d9d51cd8bc 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedules_item_directory_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedules_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleEligibilitySchedulesItemDirectoryScopeRequestB } 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 *EntitlementManagementRoleEligibilitySchedulesItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilitySchedulesItemDirectoryScopeRequestBuilder) { + return NewEntitlementManagementRoleEligibilitySchedulesItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedules_item_principal_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedules_item_principal_request_builder.go index 57a3a56a19b..a3dff6d56b9 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedules_item_principal_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedules_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleEligibilitySchedulesItemPrincipalRequestBuilde } 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 *EntitlementManagementRoleEligibilitySchedulesItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilitySchedulesItemPrincipalRequestBuilder) { + return NewEntitlementManagementRoleEligibilitySchedulesItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedules_item_role_definition_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedules_item_role_definition_request_builder.go index eef3184b133..c8c98bc8dc2 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedules_item_role_definition_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedules_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementRoleEligibilitySchedulesItemRoleDefinitionRequestB } 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 *EntitlementManagementRoleEligibilitySchedulesItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilitySchedulesItemRoleDefinitionRequestBuilder) { + return NewEntitlementManagementRoleEligibilitySchedulesItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedules_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedules_request_builder.go index 33c128d4c6c..1db8ed8b8f3 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedules_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedules_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementRoleEligibilitySchedulesRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleEligibilityScheduleIdString provides operations to manage the roleEligibilitySchedules property of the microsoft.graph.rbacApplication entity. -func (m *EntitlementManagementRoleEligibilitySchedulesRequestBuilder) ByUnifiedRoleEligibilityScheduleIdString(unifiedRoleEligibilityScheduleId string)(*EntitlementManagementRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder) { +// ByUnifiedRoleEligibilityScheduleId provides operations to manage the roleEligibilitySchedules property of the microsoft.graph.rbacApplication entity. +func (m *EntitlementManagementRoleEligibilitySchedulesRequestBuilder) ByUnifiedRoleEligibilityScheduleId(unifiedRoleEligibilityScheduleId string)(*EntitlementManagementRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *EntitlementManagementRoleEligibilitySchedulesRequestBuilder) ToPostRequ } 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 *EntitlementManagementRoleEligibilitySchedulesRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilitySchedulesRequestBuilder) { + return NewEntitlementManagementRoleEligibilitySchedulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go index 357e9fd3430..7a64236822a 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go @@ -172,3 +172,7 @@ func (m *EntitlementManagementRoleEligibilitySchedulesUnifiedRoleEligibilitySche } 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 *EntitlementManagementRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder) { + return NewEntitlementManagementRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go b/rolemanagement/entitlement_management_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go index 3561b98230f..b46c023a346 100644 --- a/rolemanagement/entitlement_management_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go +++ b/rolemanagement/entitlement_management_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go @@ -13,19 +13,19 @@ type EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdA // EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters invoke function roleScheduleInstances type EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters struct { // Usage: appScopeId='@appScopeId' - AppScopeId *string + AppScopeId *string `uriparametername:"appScopeId"` // Include count of items Count *bool `uriparametername:"%24count"` // Usage: directoryScopeId='@directoryScopeId' - DirectoryScopeId *string + DirectoryScopeId *string `uriparametername:"directoryScopeId"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Usage: principalId='@principalId' - PrincipalId *string + PrincipalId *string `uriparametername:"principalId"` // Usage: roleDefinitionId='@roleDefinitionId' - RoleDefinitionId *string + RoleDefinitionId *string `uriparametername:"roleDefinitionId"` // Search items by search phrases Search *string `uriparametername:"%24search"` // Select properties to be returned @@ -92,3 +92,7 @@ func (m *EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScop } 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 *EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) { + return NewEntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go b/rolemanagement/entitlement_management_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go index 708ce6dbb75..b2f0134f6f3 100644 --- a/rolemanagement/entitlement_management_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go +++ b/rolemanagement/entitlement_management_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go @@ -13,19 +13,19 @@ type EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeI // EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters invoke function roleSchedules type EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters struct { // Usage: appScopeId='@appScopeId' - AppScopeId *string + AppScopeId *string `uriparametername:"appScopeId"` // Include count of items Count *bool `uriparametername:"%24count"` // Usage: directoryScopeId='@directoryScopeId' - DirectoryScopeId *string + DirectoryScopeId *string `uriparametername:"directoryScopeId"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Usage: principalId='@principalId' - PrincipalId *string + PrincipalId *string `uriparametername:"principalId"` // Usage: roleDefinitionId='@roleDefinitionId' - RoleDefinitionId *string + RoleDefinitionId *string `uriparametername:"roleDefinitionId"` // Search items by search phrases Search *string `uriparametername:"%24search"` // Select properties to be returned @@ -92,3 +92,7 @@ func (m *EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppSc } 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 *EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) { + return NewEntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_transitive_role_assignments_count_request_builder.go b/rolemanagement/entitlement_management_transitive_role_assignments_count_request_builder.go index de428be7356..b1bfa94cef3 100644 --- a/rolemanagement/entitlement_management_transitive_role_assignments_count_request_builder.go +++ b/rolemanagement/entitlement_management_transitive_role_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EntitlementManagementTransitiveRoleAssignmentsCountRequestBuilder) ToGe } 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 *EntitlementManagementTransitiveRoleAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementTransitiveRoleAssignmentsCountRequestBuilder) { + return NewEntitlementManagementTransitiveRoleAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_transitive_role_assignments_item_app_scope_request_builder.go b/rolemanagement/entitlement_management_transitive_role_assignments_item_app_scope_request_builder.go index 97822e94e69..14d8d2d82ee 100644 --- a/rolemanagement/entitlement_management_transitive_role_assignments_item_app_scope_request_builder.go +++ b/rolemanagement/entitlement_management_transitive_role_assignments_item_app_scope_request_builder.go @@ -153,3 +153,7 @@ func (m *EntitlementManagementTransitiveRoleAssignmentsItemAppScopeRequestBuilde } 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 *EntitlementManagementTransitiveRoleAssignmentsItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementTransitiveRoleAssignmentsItemAppScopeRequestBuilder) { + return NewEntitlementManagementTransitiveRoleAssignmentsItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_transitive_role_assignments_item_directory_scope_request_builder.go b/rolemanagement/entitlement_management_transitive_role_assignments_item_directory_scope_request_builder.go index 8e6630f5a44..6097d618005 100644 --- a/rolemanagement/entitlement_management_transitive_role_assignments_item_directory_scope_request_builder.go +++ b/rolemanagement/entitlement_management_transitive_role_assignments_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementTransitiveRoleAssignmentsItemDirectoryScopeRequest } 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 *EntitlementManagementTransitiveRoleAssignmentsItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementTransitiveRoleAssignmentsItemDirectoryScopeRequestBuilder) { + return NewEntitlementManagementTransitiveRoleAssignmentsItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_transitive_role_assignments_item_principal_request_builder.go b/rolemanagement/entitlement_management_transitive_role_assignments_item_principal_request_builder.go index 00d4f6ab0ae..496bcf18bb8 100644 --- a/rolemanagement/entitlement_management_transitive_role_assignments_item_principal_request_builder.go +++ b/rolemanagement/entitlement_management_transitive_role_assignments_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementTransitiveRoleAssignmentsItemPrincipalRequestBuild } 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 *EntitlementManagementTransitiveRoleAssignmentsItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementTransitiveRoleAssignmentsItemPrincipalRequestBuilder) { + return NewEntitlementManagementTransitiveRoleAssignmentsItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_transitive_role_assignments_item_role_definition_request_builder.go b/rolemanagement/entitlement_management_transitive_role_assignments_item_role_definition_request_builder.go index 636eb6c20b1..e144484d8fa 100644 --- a/rolemanagement/entitlement_management_transitive_role_assignments_item_role_definition_request_builder.go +++ b/rolemanagement/entitlement_management_transitive_role_assignments_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *EntitlementManagementTransitiveRoleAssignmentsItemRoleDefinitionRequest } 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 *EntitlementManagementTransitiveRoleAssignmentsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementTransitiveRoleAssignmentsItemRoleDefinitionRequestBuilder) { + return NewEntitlementManagementTransitiveRoleAssignmentsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_transitive_role_assignments_request_builder.go b/rolemanagement/entitlement_management_transitive_role_assignments_request_builder.go index bb6d97ffcf2..11923523160 100644 --- a/rolemanagement/entitlement_management_transitive_role_assignments_request_builder.go +++ b/rolemanagement/entitlement_management_transitive_role_assignments_request_builder.go @@ -46,8 +46,8 @@ type EntitlementManagementTransitiveRoleAssignmentsRequestBuilderPostRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleAssignmentIdString provides operations to manage the transitiveRoleAssignments property of the microsoft.graph.rbacApplication entity. -func (m *EntitlementManagementTransitiveRoleAssignmentsRequestBuilder) ByUnifiedRoleAssignmentIdString(unifiedRoleAssignmentId string)(*EntitlementManagementTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { +// ByUnifiedRoleAssignmentId provides operations to manage the transitiveRoleAssignments property of the microsoft.graph.rbacApplication entity. +func (m *EntitlementManagementTransitiveRoleAssignmentsRequestBuilder) ByUnifiedRoleAssignmentId(unifiedRoleAssignmentId string)(*EntitlementManagementTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *EntitlementManagementTransitiveRoleAssignmentsRequestBuilder) ToPostReq } 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 *EntitlementManagementTransitiveRoleAssignmentsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementTransitiveRoleAssignmentsRequestBuilder) { + return NewEntitlementManagementTransitiveRoleAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/entitlement_management_transitive_role_assignments_unified_role_assignment_item_request_builder.go b/rolemanagement/entitlement_management_transitive_role_assignments_unified_role_assignment_item_request_builder.go index f3f1863fa9b..947804246b7 100644 --- a/rolemanagement/entitlement_management_transitive_role_assignments_unified_role_assignment_item_request_builder.go +++ b/rolemanagement/entitlement_management_transitive_role_assignments_unified_role_assignment_item_request_builder.go @@ -169,3 +169,7 @@ func (m *EntitlementManagementTransitiveRoleAssignmentsUnifiedRoleAssignmentItem } 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 *EntitlementManagementTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { + return NewEntitlementManagementTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_custom_app_scopes_count_request_builder.go b/rolemanagement/exchange_custom_app_scopes_count_request_builder.go index efdff5e62e8..5d173598346 100644 --- a/rolemanagement/exchange_custom_app_scopes_count_request_builder.go +++ b/rolemanagement/exchange_custom_app_scopes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ExchangeCustomAppScopesCountRequestBuilder) ToGetRequestInformation(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 *ExchangeCustomAppScopesCountRequestBuilder) WithUrl(rawUrl string)(*ExchangeCustomAppScopesCountRequestBuilder) { + return NewExchangeCustomAppScopesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_custom_app_scopes_custom_app_scope_item_request_builder.go b/rolemanagement/exchange_custom_app_scopes_custom_app_scope_item_request_builder.go index 46adf2b3002..77869bfd094 100644 --- a/rolemanagement/exchange_custom_app_scopes_custom_app_scope_item_request_builder.go +++ b/rolemanagement/exchange_custom_app_scopes_custom_app_scope_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ExchangeCustomAppScopesCustomAppScopeItemRequestBuilder) ToPatchRequest } 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 *ExchangeCustomAppScopesCustomAppScopeItemRequestBuilder) WithUrl(rawUrl string)(*ExchangeCustomAppScopesCustomAppScopeItemRequestBuilder) { + return NewExchangeCustomAppScopesCustomAppScopeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_custom_app_scopes_request_builder.go b/rolemanagement/exchange_custom_app_scopes_request_builder.go index 0aac507014a..4130ac0d410 100644 --- a/rolemanagement/exchange_custom_app_scopes_request_builder.go +++ b/rolemanagement/exchange_custom_app_scopes_request_builder.go @@ -46,8 +46,8 @@ type ExchangeCustomAppScopesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCustomAppScopeIdString provides operations to manage the customAppScopes property of the microsoft.graph.unifiedRbacApplication entity. -func (m *ExchangeCustomAppScopesRequestBuilder) ByCustomAppScopeIdString(customAppScopeId string)(*ExchangeCustomAppScopesCustomAppScopeItemRequestBuilder) { +// ByCustomAppScopeId provides operations to manage the customAppScopes property of the microsoft.graph.unifiedRbacApplication entity. +func (m *ExchangeCustomAppScopesRequestBuilder) ByCustomAppScopeId(customAppScopeId string)(*ExchangeCustomAppScopesCustomAppScopeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ExchangeCustomAppScopesRequestBuilder) ToPostRequestInformation(ctx con } 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 *ExchangeCustomAppScopesRequestBuilder) WithUrl(rawUrl string)(*ExchangeCustomAppScopesRequestBuilder) { + return NewExchangeCustomAppScopesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_request_builder.go b/rolemanagement/exchange_request_builder.go index 6d874c0c960..1b9d2797bbc 100644 --- a/rolemanagement/exchange_request_builder.go +++ b/rolemanagement/exchange_request_builder.go @@ -173,3 +173,7 @@ func (m *ExchangeRequestBuilder) ToPatchRequestInformation(ctx context.Context, func (m *ExchangeRequestBuilder) TransitiveRoleAssignments()(*ExchangeTransitiveRoleAssignmentsRequestBuilder) { return NewExchangeTransitiveRoleAssignmentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ExchangeRequestBuilder) WithUrl(rawUrl string)(*ExchangeRequestBuilder) { + return NewExchangeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_resource_namespaces_count_request_builder.go b/rolemanagement/exchange_resource_namespaces_count_request_builder.go index b8ea23842e0..684ac5fd117 100644 --- a/rolemanagement/exchange_resource_namespaces_count_request_builder.go +++ b/rolemanagement/exchange_resource_namespaces_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ExchangeResourceNamespacesCountRequestBuilder) 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 *ExchangeResourceNamespacesCountRequestBuilder) WithUrl(rawUrl string)(*ExchangeResourceNamespacesCountRequestBuilder) { + return NewExchangeResourceNamespacesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_resource_namespaces_item_import_resource_actions_request_builder.go b/rolemanagement/exchange_resource_namespaces_item_import_resource_actions_request_builder.go index d5aa18796ec..406861c98e2 100644 --- a/rolemanagement/exchange_resource_namespaces_item_import_resource_actions_request_builder.go +++ b/rolemanagement/exchange_resource_namespaces_item_import_resource_actions_request_builder.go @@ -67,3 +67,7 @@ func (m *ExchangeResourceNamespacesItemImportResourceActionsRequestBuilder) ToPo } 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 *ExchangeResourceNamespacesItemImportResourceActionsRequestBuilder) WithUrl(rawUrl string)(*ExchangeResourceNamespacesItemImportResourceActionsRequestBuilder) { + return NewExchangeResourceNamespacesItemImportResourceActionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_resource_namespaces_item_resource_actions_count_request_builder.go b/rolemanagement/exchange_resource_namespaces_item_resource_actions_count_request_builder.go index b5df9b87221..d71d61fa347 100644 --- a/rolemanagement/exchange_resource_namespaces_item_resource_actions_count_request_builder.go +++ b/rolemanagement/exchange_resource_namespaces_item_resource_actions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ExchangeResourceNamespacesItemResourceActionsCountRequestBuilder) ToGet } 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 *ExchangeResourceNamespacesItemResourceActionsCountRequestBuilder) WithUrl(rawUrl string)(*ExchangeResourceNamespacesItemResourceActionsCountRequestBuilder) { + return NewExchangeResourceNamespacesItemResourceActionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go b/rolemanagement/exchange_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go index 8e2c9116c8c..e8f401d04b5 100644 --- a/rolemanagement/exchange_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go +++ b/rolemanagement/exchange_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go @@ -75,3 +75,7 @@ func (m *ExchangeResourceNamespacesItemResourceActionsItemAuthenticationContextR } 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 *ExchangeResourceNamespacesItemResourceActionsItemAuthenticationContextRequestBuilder) WithUrl(rawUrl string)(*ExchangeResourceNamespacesItemResourceActionsItemAuthenticationContextRequestBuilder) { + return NewExchangeResourceNamespacesItemResourceActionsItemAuthenticationContextRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go b/rolemanagement/exchange_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go index 1f3dc2c48b6..0539a31bba8 100644 --- a/rolemanagement/exchange_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go +++ b/rolemanagement/exchange_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go @@ -153,3 +153,7 @@ func (m *ExchangeResourceNamespacesItemResourceActionsItemResourceScopeRequestBu } 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 *ExchangeResourceNamespacesItemResourceActionsItemResourceScopeRequestBuilder) WithUrl(rawUrl string)(*ExchangeResourceNamespacesItemResourceActionsItemResourceScopeRequestBuilder) { + return NewExchangeResourceNamespacesItemResourceActionsItemResourceScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_resource_namespaces_item_resource_actions_request_builder.go b/rolemanagement/exchange_resource_namespaces_item_resource_actions_request_builder.go index 8548d85d333..b3ca3319669 100644 --- a/rolemanagement/exchange_resource_namespaces_item_resource_actions_request_builder.go +++ b/rolemanagement/exchange_resource_namespaces_item_resource_actions_request_builder.go @@ -46,8 +46,8 @@ type ExchangeResourceNamespacesItemResourceActionsRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRbacResourceActionIdString provides operations to manage the resourceActions property of the microsoft.graph.unifiedRbacResourceNamespace entity. -func (m *ExchangeResourceNamespacesItemResourceActionsRequestBuilder) ByUnifiedRbacResourceActionIdString(unifiedRbacResourceActionId string)(*ExchangeResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) { +// ByUnifiedRbacResourceActionId provides operations to manage the resourceActions property of the microsoft.graph.unifiedRbacResourceNamespace entity. +func (m *ExchangeResourceNamespacesItemResourceActionsRequestBuilder) ByUnifiedRbacResourceActionId(unifiedRbacResourceActionId string)(*ExchangeResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ExchangeResourceNamespacesItemResourceActionsRequestBuilder) ToPostRequ } 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 *ExchangeResourceNamespacesItemResourceActionsRequestBuilder) WithUrl(rawUrl string)(*ExchangeResourceNamespacesItemResourceActionsRequestBuilder) { + return NewExchangeResourceNamespacesItemResourceActionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go b/rolemanagement/exchange_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go index 45b411f24e5..077f5d184aa 100644 --- a/rolemanagement/exchange_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go +++ b/rolemanagement/exchange_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go @@ -164,3 +164,7 @@ func (m *ExchangeResourceNamespacesItemResourceActionsUnifiedRbacResourceActionI } 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 *ExchangeResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) WithUrl(rawUrl string)(*ExchangeResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) { + return NewExchangeResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_resource_namespaces_request_builder.go b/rolemanagement/exchange_resource_namespaces_request_builder.go index 5277c4130ac..0d9b2913ee5 100644 --- a/rolemanagement/exchange_resource_namespaces_request_builder.go +++ b/rolemanagement/exchange_resource_namespaces_request_builder.go @@ -46,8 +46,8 @@ type ExchangeResourceNamespacesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRbacResourceNamespaceIdString provides operations to manage the resourceNamespaces property of the microsoft.graph.unifiedRbacApplication entity. -func (m *ExchangeResourceNamespacesRequestBuilder) ByUnifiedRbacResourceNamespaceIdString(unifiedRbacResourceNamespaceId string)(*ExchangeResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) { +// ByUnifiedRbacResourceNamespaceId provides operations to manage the resourceNamespaces property of the microsoft.graph.unifiedRbacApplication entity. +func (m *ExchangeResourceNamespacesRequestBuilder) ByUnifiedRbacResourceNamespaceId(unifiedRbacResourceNamespaceId string)(*ExchangeResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ExchangeResourceNamespacesRequestBuilder) 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 *ExchangeResourceNamespacesRequestBuilder) WithUrl(rawUrl string)(*ExchangeResourceNamespacesRequestBuilder) { + return NewExchangeResourceNamespacesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go b/rolemanagement/exchange_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go index b3811d78732..7646f0b0442 100644 --- a/rolemanagement/exchange_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go +++ b/rolemanagement/exchange_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ExchangeResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilde } 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 *ExchangeResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) WithUrl(rawUrl string)(*ExchangeResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) { + return NewExchangeResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_role_assignments_count_request_builder.go b/rolemanagement/exchange_role_assignments_count_request_builder.go index 1f5379e57d4..093446092ae 100644 --- a/rolemanagement/exchange_role_assignments_count_request_builder.go +++ b/rolemanagement/exchange_role_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ExchangeRoleAssignmentsCountRequestBuilder) ToGetRequestInformation(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 *ExchangeRoleAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*ExchangeRoleAssignmentsCountRequestBuilder) { + return NewExchangeRoleAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_role_assignments_item_app_scope_request_builder.go b/rolemanagement/exchange_role_assignments_item_app_scope_request_builder.go index 08d3d168188..de99d0d5714 100644 --- a/rolemanagement/exchange_role_assignments_item_app_scope_request_builder.go +++ b/rolemanagement/exchange_role_assignments_item_app_scope_request_builder.go @@ -153,3 +153,7 @@ func (m *ExchangeRoleAssignmentsItemAppScopeRequestBuilder) ToPatchRequestInform } 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 *ExchangeRoleAssignmentsItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*ExchangeRoleAssignmentsItemAppScopeRequestBuilder) { + return NewExchangeRoleAssignmentsItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_role_assignments_item_directory_scope_request_builder.go b/rolemanagement/exchange_role_assignments_item_directory_scope_request_builder.go index cc172814ecb..5dee589ea0c 100644 --- a/rolemanagement/exchange_role_assignments_item_directory_scope_request_builder.go +++ b/rolemanagement/exchange_role_assignments_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *ExchangeRoleAssignmentsItemDirectoryScopeRequestBuilder) ToGetRequestIn } 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 *ExchangeRoleAssignmentsItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*ExchangeRoleAssignmentsItemDirectoryScopeRequestBuilder) { + return NewExchangeRoleAssignmentsItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_role_assignments_item_principal_request_builder.go b/rolemanagement/exchange_role_assignments_item_principal_request_builder.go index 0c03b4166d7..de8d9159936 100644 --- a/rolemanagement/exchange_role_assignments_item_principal_request_builder.go +++ b/rolemanagement/exchange_role_assignments_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *ExchangeRoleAssignmentsItemPrincipalRequestBuilder) ToGetRequestInforma } 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 *ExchangeRoleAssignmentsItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*ExchangeRoleAssignmentsItemPrincipalRequestBuilder) { + return NewExchangeRoleAssignmentsItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_role_assignments_item_role_definition_request_builder.go b/rolemanagement/exchange_role_assignments_item_role_definition_request_builder.go index 1486d28290a..529aad4bfc3 100644 --- a/rolemanagement/exchange_role_assignments_item_role_definition_request_builder.go +++ b/rolemanagement/exchange_role_assignments_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *ExchangeRoleAssignmentsItemRoleDefinitionRequestBuilder) ToGetRequestIn } 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 *ExchangeRoleAssignmentsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*ExchangeRoleAssignmentsItemRoleDefinitionRequestBuilder) { + return NewExchangeRoleAssignmentsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_role_assignments_request_builder.go b/rolemanagement/exchange_role_assignments_request_builder.go index 03c13cd7cba..a0fb2018189 100644 --- a/rolemanagement/exchange_role_assignments_request_builder.go +++ b/rolemanagement/exchange_role_assignments_request_builder.go @@ -46,8 +46,8 @@ type ExchangeRoleAssignmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleAssignmentIdString provides operations to manage the roleAssignments property of the microsoft.graph.unifiedRbacApplication entity. -func (m *ExchangeRoleAssignmentsRequestBuilder) ByUnifiedRoleAssignmentIdString(unifiedRoleAssignmentId string)(*ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { +// ByUnifiedRoleAssignmentId provides operations to manage the roleAssignments property of the microsoft.graph.unifiedRbacApplication entity. +func (m *ExchangeRoleAssignmentsRequestBuilder) ByUnifiedRoleAssignmentId(unifiedRoleAssignmentId string)(*ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ExchangeRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx con } 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 *ExchangeRoleAssignmentsRequestBuilder) WithUrl(rawUrl string)(*ExchangeRoleAssignmentsRequestBuilder) { + return NewExchangeRoleAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_role_assignments_unified_role_assignment_item_request_builder.go b/rolemanagement/exchange_role_assignments_unified_role_assignment_item_request_builder.go index b6b943b9930..f208154945a 100644 --- a/rolemanagement/exchange_role_assignments_unified_role_assignment_item_request_builder.go +++ b/rolemanagement/exchange_role_assignments_unified_role_assignment_item_request_builder.go @@ -175,3 +175,7 @@ func (m *ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) ToPatch } 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 *ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { + return NewExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_role_definitions_count_request_builder.go b/rolemanagement/exchange_role_definitions_count_request_builder.go index d6ffb90d662..3e1ff8a78eb 100644 --- a/rolemanagement/exchange_role_definitions_count_request_builder.go +++ b/rolemanagement/exchange_role_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ExchangeRoleDefinitionsCountRequestBuilder) ToGetRequestInformation(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 *ExchangeRoleDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*ExchangeRoleDefinitionsCountRequestBuilder) { + return NewExchangeRoleDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/exchange_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index a58b7344d40..4d14480d4b1 100644 --- a/rolemanagement/exchange_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/exchange_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -15,9 +15,9 @@ type ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTy // Include count of items Count *bool `uriparametername:"%24count"` // Usage: directoryScopeId='@directoryScopeId' - DirectoryScopeId *string + DirectoryScopeId *string `uriparametername:"directoryScopeId"` // Usage: directoryScopeType='@directoryScopeType' - DirectoryScopeType *string + DirectoryScopeType *string `uriparametername:"directoryScopeType"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -31,7 +31,7 @@ type ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTy // Show only the first n items Top *int32 `uriparametername:"%24top"` // Usage: transitive=@transitive - Transitive *bool + Transitive *bool `uriparametername:"transitive"` } // ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration struct { @@ -90,3 +90,7 @@ func (m *ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectorySco } 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 *ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) WithUrl(rawUrl string)(*ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) { + return NewExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_count_request_builder.go b/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_count_request_builder.go index 0cc6621843d..768a95d5d16 100644 --- a/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_count_request_builder.go +++ b/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ExchangeRoleDefinitionsItemInheritsPermissionsFromCountRequestBuilder) } 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 *ExchangeRoleDefinitionsItemInheritsPermissionsFromCountRequestBuilder) WithUrl(rawUrl string)(*ExchangeRoleDefinitionsItemInheritsPermissionsFromCountRequestBuilder) { + return NewExchangeRoleDefinitionsItemInheritsPermissionsFromCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index 132ec2adfc4..668c64b5810 100644 --- a/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -15,9 +15,9 @@ type ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWit // Include count of items Count *bool `uriparametername:"%24count"` // Usage: directoryScopeId='@directoryScopeId' - DirectoryScopeId *string + DirectoryScopeId *string `uriparametername:"directoryScopeId"` // Usage: directoryScopeType='@directoryScopeType' - DirectoryScopeType *string + DirectoryScopeType *string `uriparametername:"directoryScopeType"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -31,7 +31,7 @@ type ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWit // Show only the first n items Top *int32 `uriparametername:"%24top"` // Usage: transitive=@transitive - Transitive *bool + Transitive *bool `uriparametername:"transitive"` } // ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration struct { @@ -90,3 +90,7 @@ func (m *ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipal } 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 *ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) WithUrl(rawUrl string)(*ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) { + return NewExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_request_builder.go b/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_request_builder.go index 2fd17bbc6ee..e8ab251c73f 100644 --- a/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_request_builder.go +++ b/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_request_builder.go @@ -46,8 +46,8 @@ type ExchangeRoleDefinitionsItemInheritsPermissionsFromRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleDefinitionId1String provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. -func (m *ExchangeRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) ByUnifiedRoleDefinitionId1String(unifiedRoleDefinitionId1 string)(*ExchangeRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) { +// ByUnifiedRoleDefinitionId1 provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. +func (m *ExchangeRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) ByUnifiedRoleDefinitionId1(unifiedRoleDefinitionId1 string)(*ExchangeRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ExchangeRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) ToPos } 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 *ExchangeRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) WithUrl(rawUrl string)(*ExchangeRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) { + return NewExchangeRoleDefinitionsItemInheritsPermissionsFromRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go b/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go index 4f25b99fbff..3b241cb290c 100644 --- a/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go +++ b/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ExchangeRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinition } 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 *ExchangeRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ExchangeRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder) { + return NewExchangeRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_role_definitions_request_builder.go b/rolemanagement/exchange_role_definitions_request_builder.go index 57b6b9a378f..3fb38db63f0 100644 --- a/rolemanagement/exchange_role_definitions_request_builder.go +++ b/rolemanagement/exchange_role_definitions_request_builder.go @@ -46,8 +46,8 @@ type ExchangeRoleDefinitionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleDefinitionIdString provides operations to manage the roleDefinitions property of the microsoft.graph.unifiedRbacApplication entity. -func (m *ExchangeRoleDefinitionsRequestBuilder) ByUnifiedRoleDefinitionIdString(unifiedRoleDefinitionId string)(*ExchangeRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) { +// ByUnifiedRoleDefinitionId provides operations to manage the roleDefinitions property of the microsoft.graph.unifiedRbacApplication entity. +func (m *ExchangeRoleDefinitionsRequestBuilder) ByUnifiedRoleDefinitionId(unifiedRoleDefinitionId string)(*ExchangeRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ExchangeRoleDefinitionsRequestBuilder) ToPostRequestInformation(ctx con } 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 *ExchangeRoleDefinitionsRequestBuilder) WithUrl(rawUrl string)(*ExchangeRoleDefinitionsRequestBuilder) { + return NewExchangeRoleDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_role_definitions_unified_role_definition_item_request_builder.go b/rolemanagement/exchange_role_definitions_unified_role_definition_item_request_builder.go index b926ba95da9..1fdd91ff7d6 100644 --- a/rolemanagement/exchange_role_definitions_unified_role_definition_item_request_builder.go +++ b/rolemanagement/exchange_role_definitions_unified_role_definition_item_request_builder.go @@ -164,3 +164,7 @@ func (m *ExchangeRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToPatch } 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 *ExchangeRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ExchangeRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) { + return NewExchangeRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_transitive_role_assignments_count_request_builder.go b/rolemanagement/exchange_transitive_role_assignments_count_request_builder.go index dd5876c925d..979a1f2c793 100644 --- a/rolemanagement/exchange_transitive_role_assignments_count_request_builder.go +++ b/rolemanagement/exchange_transitive_role_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ExchangeTransitiveRoleAssignmentsCountRequestBuilder) ToGetRequestInfor } 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 *ExchangeTransitiveRoleAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*ExchangeTransitiveRoleAssignmentsCountRequestBuilder) { + return NewExchangeTransitiveRoleAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_transitive_role_assignments_item_app_scope_request_builder.go b/rolemanagement/exchange_transitive_role_assignments_item_app_scope_request_builder.go index dc13bc54fcb..568e16c1159 100644 --- a/rolemanagement/exchange_transitive_role_assignments_item_app_scope_request_builder.go +++ b/rolemanagement/exchange_transitive_role_assignments_item_app_scope_request_builder.go @@ -153,3 +153,7 @@ func (m *ExchangeTransitiveRoleAssignmentsItemAppScopeRequestBuilder) ToPatchReq } 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 *ExchangeTransitiveRoleAssignmentsItemAppScopeRequestBuilder) WithUrl(rawUrl string)(*ExchangeTransitiveRoleAssignmentsItemAppScopeRequestBuilder) { + return NewExchangeTransitiveRoleAssignmentsItemAppScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_transitive_role_assignments_item_directory_scope_request_builder.go b/rolemanagement/exchange_transitive_role_assignments_item_directory_scope_request_builder.go index fdd33bc9442..607b5c04930 100644 --- a/rolemanagement/exchange_transitive_role_assignments_item_directory_scope_request_builder.go +++ b/rolemanagement/exchange_transitive_role_assignments_item_directory_scope_request_builder.go @@ -75,3 +75,7 @@ func (m *ExchangeTransitiveRoleAssignmentsItemDirectoryScopeRequestBuilder) ToGe } 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 *ExchangeTransitiveRoleAssignmentsItemDirectoryScopeRequestBuilder) WithUrl(rawUrl string)(*ExchangeTransitiveRoleAssignmentsItemDirectoryScopeRequestBuilder) { + return NewExchangeTransitiveRoleAssignmentsItemDirectoryScopeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_transitive_role_assignments_item_principal_request_builder.go b/rolemanagement/exchange_transitive_role_assignments_item_principal_request_builder.go index 201de9f58eb..54de36348c1 100644 --- a/rolemanagement/exchange_transitive_role_assignments_item_principal_request_builder.go +++ b/rolemanagement/exchange_transitive_role_assignments_item_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *ExchangeTransitiveRoleAssignmentsItemPrincipalRequestBuilder) ToGetRequ } 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 *ExchangeTransitiveRoleAssignmentsItemPrincipalRequestBuilder) WithUrl(rawUrl string)(*ExchangeTransitiveRoleAssignmentsItemPrincipalRequestBuilder) { + return NewExchangeTransitiveRoleAssignmentsItemPrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_transitive_role_assignments_item_role_definition_request_builder.go b/rolemanagement/exchange_transitive_role_assignments_item_role_definition_request_builder.go index a1762188d40..b1563263ce8 100644 --- a/rolemanagement/exchange_transitive_role_assignments_item_role_definition_request_builder.go +++ b/rolemanagement/exchange_transitive_role_assignments_item_role_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *ExchangeTransitiveRoleAssignmentsItemRoleDefinitionRequestBuilder) ToGe } 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 *ExchangeTransitiveRoleAssignmentsItemRoleDefinitionRequestBuilder) WithUrl(rawUrl string)(*ExchangeTransitiveRoleAssignmentsItemRoleDefinitionRequestBuilder) { + return NewExchangeTransitiveRoleAssignmentsItemRoleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_transitive_role_assignments_request_builder.go b/rolemanagement/exchange_transitive_role_assignments_request_builder.go index 2c1919dbda5..71c2bf70aa0 100644 --- a/rolemanagement/exchange_transitive_role_assignments_request_builder.go +++ b/rolemanagement/exchange_transitive_role_assignments_request_builder.go @@ -46,8 +46,8 @@ type ExchangeTransitiveRoleAssignmentsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedRoleAssignmentIdString provides operations to manage the transitiveRoleAssignments property of the microsoft.graph.unifiedRbacApplication entity. -func (m *ExchangeTransitiveRoleAssignmentsRequestBuilder) ByUnifiedRoleAssignmentIdString(unifiedRoleAssignmentId string)(*ExchangeTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { +// ByUnifiedRoleAssignmentId provides operations to manage the transitiveRoleAssignments property of the microsoft.graph.unifiedRbacApplication entity. +func (m *ExchangeTransitiveRoleAssignmentsRequestBuilder) ByUnifiedRoleAssignmentId(unifiedRoleAssignmentId string)(*ExchangeTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ExchangeTransitiveRoleAssignmentsRequestBuilder) ToPostRequestInformati } 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 *ExchangeTransitiveRoleAssignmentsRequestBuilder) WithUrl(rawUrl string)(*ExchangeTransitiveRoleAssignmentsRequestBuilder) { + return NewExchangeTransitiveRoleAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/exchange_transitive_role_assignments_unified_role_assignment_item_request_builder.go b/rolemanagement/exchange_transitive_role_assignments_unified_role_assignment_item_request_builder.go index 79e07d9ae7c..b9fdef7368f 100644 --- a/rolemanagement/exchange_transitive_role_assignments_unified_role_assignment_item_request_builder.go +++ b/rolemanagement/exchange_transitive_role_assignments_unified_role_assignment_item_request_builder.go @@ -169,3 +169,7 @@ func (m *ExchangeTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilde } 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 *ExchangeTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*ExchangeTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) { + return NewExchangeTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/rolemanagement/role_management_request_builder.go b/rolemanagement/role_management_request_builder.go index d1c5699d5a1..4cd3e4f990b 100644 --- a/rolemanagement/role_management_request_builder.go +++ b/rolemanagement/role_management_request_builder.go @@ -142,3 +142,7 @@ func (m *RoleManagementRequestBuilder) ToPatchRequestInformation(ctx context.Con } 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 *RoleManagementRequestBuilder) WithUrl(rawUrl string)(*RoleManagementRequestBuilder) { + return NewRoleManagementRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/schemaextensions/count_request_builder.go b/schemaextensions/count_request_builder.go index 0a3bdf8580d..f52705b954d 100644 --- a/schemaextensions/count_request_builder.go +++ b/schemaextensions/count_request_builder.go @@ -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); +} diff --git a/schemaextensions/schema_extension_item_request_builder.go b/schemaextensions/schema_extension_item_request_builder.go index cf1ef0a77ef..253589aee6a 100644 --- a/schemaextensions/schema_extension_item_request_builder.go +++ b/schemaextensions/schema_extension_item_request_builder.go @@ -162,3 +162,7 @@ func (m *SchemaExtensionItemRequestBuilder) ToPatchRequestInformation(ctx contex } 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 *SchemaExtensionItemRequestBuilder) WithUrl(rawUrl string)(*SchemaExtensionItemRequestBuilder) { + return NewSchemaExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/schemaextensions/schema_extensions_request_builder.go b/schemaextensions/schema_extensions_request_builder.go index b9f8134865d..72dad8817af 100644 --- a/schemaextensions/schema_extensions_request_builder.go +++ b/schemaextensions/schema_extensions_request_builder.go @@ -46,8 +46,8 @@ type SchemaExtensionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySchemaExtensionIdString provides operations to manage the collection of schemaExtension entities. -func (m *SchemaExtensionsRequestBuilder) BySchemaExtensionIdString(schemaExtensionId string)(*SchemaExtensionItemRequestBuilder) { +// BySchemaExtensionId provides operations to manage the collection of schemaExtension entities. +func (m *SchemaExtensionsRequestBuilder) BySchemaExtensionId(schemaExtensionId string)(*SchemaExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *SchemaExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *SchemaExtensionsRequestBuilder) WithUrl(rawUrl string)(*SchemaExtensionsRequestBuilder) { + return NewSchemaExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/scopedrolememberships/count_request_builder.go b/scopedrolememberships/count_request_builder.go index e46f78c81ef..23da36d2e1d 100644 --- a/scopedrolememberships/count_request_builder.go +++ b/scopedrolememberships/count_request_builder.go @@ -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); +} diff --git a/scopedrolememberships/scoped_role_membership_item_request_builder.go b/scopedrolememberships/scoped_role_membership_item_request_builder.go index 6c28f5eb4f2..120de4b244b 100644 --- a/scopedrolememberships/scoped_role_membership_item_request_builder.go +++ b/scopedrolememberships/scoped_role_membership_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ScopedRoleMembershipItemRequestBuilder) 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 *ScopedRoleMembershipItemRequestBuilder) WithUrl(rawUrl string)(*ScopedRoleMembershipItemRequestBuilder) { + return NewScopedRoleMembershipItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/scopedrolememberships/scoped_role_memberships_request_builder.go b/scopedrolememberships/scoped_role_memberships_request_builder.go index 4db00773a4a..c0847b9d450 100644 --- a/scopedrolememberships/scoped_role_memberships_request_builder.go +++ b/scopedrolememberships/scoped_role_memberships_request_builder.go @@ -46,8 +46,8 @@ type ScopedRoleMembershipsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByScopedRoleMembershipIdString provides operations to manage the collection of scopedRoleMembership entities. -func (m *ScopedRoleMembershipsRequestBuilder) ByScopedRoleMembershipIdString(scopedRoleMembershipId string)(*ScopedRoleMembershipItemRequestBuilder) { +// ByScopedRoleMembershipId provides operations to manage the collection of scopedRoleMembership entities. +func (m *ScopedRoleMembershipsRequestBuilder) ByScopedRoleMembershipId(scopedRoleMembershipId string)(*ScopedRoleMembershipItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ScopedRoleMembershipsRequestBuilder) 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 *ScopedRoleMembershipsRequestBuilder) WithUrl(rawUrl string)(*ScopedRoleMembershipsRequestBuilder) { + return NewScopedRoleMembershipsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/search/acronyms_acronym_item_request_builder.go b/search/acronyms_acronym_item_request_builder.go index d2b9f2fff54..a6a379b7ac9 100644 --- a/search/acronyms_acronym_item_request_builder.go +++ b/search/acronyms_acronym_item_request_builder.go @@ -162,3 +162,7 @@ func (m *AcronymsAcronymItemRequestBuilder) ToPatchRequestInformation(ctx contex } 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 *AcronymsAcronymItemRequestBuilder) WithUrl(rawUrl string)(*AcronymsAcronymItemRequestBuilder) { + return NewAcronymsAcronymItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/search/acronyms_count_request_builder.go b/search/acronyms_count_request_builder.go index faa6494501b..487ae6e94c4 100644 --- a/search/acronyms_count_request_builder.go +++ b/search/acronyms_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AcronymsCountRequestBuilder) ToGetRequestInformation(ctx context.Contex } 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 *AcronymsCountRequestBuilder) WithUrl(rawUrl string)(*AcronymsCountRequestBuilder) { + return NewAcronymsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/search/acronyms_request_builder.go b/search/acronyms_request_builder.go index 542ea52d63b..47ace0305ed 100644 --- a/search/acronyms_request_builder.go +++ b/search/acronyms_request_builder.go @@ -46,8 +46,8 @@ type AcronymsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAcronymIdString provides operations to manage the acronyms property of the microsoft.graph.searchEntity entity. -func (m *AcronymsRequestBuilder) ByAcronymIdString(acronymId string)(*AcronymsAcronymItemRequestBuilder) { +// ByAcronymId provides operations to manage the acronyms property of the microsoft.graph.searchEntity entity. +func (m *AcronymsRequestBuilder) ByAcronymId(acronymId string)(*AcronymsAcronymItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *AcronymsRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *AcronymsRequestBuilder) WithUrl(rawUrl string)(*AcronymsRequestBuilder) { + return NewAcronymsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/search/bookmarks_bookmark_item_request_builder.go b/search/bookmarks_bookmark_item_request_builder.go index c03eb3726c0..88549f7cdf8 100644 --- a/search/bookmarks_bookmark_item_request_builder.go +++ b/search/bookmarks_bookmark_item_request_builder.go @@ -162,3 +162,7 @@ func (m *BookmarksBookmarkItemRequestBuilder) ToPatchRequestInformation(ctx cont } 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 *BookmarksBookmarkItemRequestBuilder) WithUrl(rawUrl string)(*BookmarksBookmarkItemRequestBuilder) { + return NewBookmarksBookmarkItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/search/bookmarks_count_request_builder.go b/search/bookmarks_count_request_builder.go index d7247716091..245600f5fd3 100644 --- a/search/bookmarks_count_request_builder.go +++ b/search/bookmarks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *BookmarksCountRequestBuilder) ToGetRequestInformation(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 *BookmarksCountRequestBuilder) WithUrl(rawUrl string)(*BookmarksCountRequestBuilder) { + return NewBookmarksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/search/bookmarks_request_builder.go b/search/bookmarks_request_builder.go index 0ab20eac432..f2b25b3da51 100644 --- a/search/bookmarks_request_builder.go +++ b/search/bookmarks_request_builder.go @@ -46,8 +46,8 @@ type BookmarksRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByBookmarkIdString provides operations to manage the bookmarks property of the microsoft.graph.searchEntity entity. -func (m *BookmarksRequestBuilder) ByBookmarkIdString(bookmarkId string)(*BookmarksBookmarkItemRequestBuilder) { +// ByBookmarkId provides operations to manage the bookmarks property of the microsoft.graph.searchEntity entity. +func (m *BookmarksRequestBuilder) ByBookmarkId(bookmarkId string)(*BookmarksBookmarkItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *BookmarksRequestBuilder) ToPostRequestInformation(ctx context.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 *BookmarksRequestBuilder) WithUrl(rawUrl string)(*BookmarksRequestBuilder) { + return NewBookmarksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/search/qnas_count_request_builder.go b/search/qnas_count_request_builder.go index 967f5007e85..550554b1812 100644 --- a/search/qnas_count_request_builder.go +++ b/search/qnas_count_request_builder.go @@ -74,3 +74,7 @@ func (m *QnasCountRequestBuilder) ToGetRequestInformation(ctx context.Context, r } 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 *QnasCountRequestBuilder) WithUrl(rawUrl string)(*QnasCountRequestBuilder) { + return NewQnasCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/search/qnas_qna_item_request_builder.go b/search/qnas_qna_item_request_builder.go index 02c8e377bd3..22805763a4c 100644 --- a/search/qnas_qna_item_request_builder.go +++ b/search/qnas_qna_item_request_builder.go @@ -162,3 +162,7 @@ func (m *QnasQnaItemRequestBuilder) ToPatchRequestInformation(ctx context.Contex } 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 *QnasQnaItemRequestBuilder) WithUrl(rawUrl string)(*QnasQnaItemRequestBuilder) { + return NewQnasQnaItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/search/qnas_request_builder.go b/search/qnas_request_builder.go index 4ef6f7adc09..02ae8d6b1e6 100644 --- a/search/qnas_request_builder.go +++ b/search/qnas_request_builder.go @@ -46,8 +46,8 @@ type QnasRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByQnaIdString provides operations to manage the qnas property of the microsoft.graph.searchEntity entity. -func (m *QnasRequestBuilder) ByQnaIdString(qnaId string)(*QnasQnaItemRequestBuilder) { +// ByQnaId provides operations to manage the qnas property of the microsoft.graph.searchEntity entity. +func (m *QnasRequestBuilder) ByQnaId(qnaId string)(*QnasQnaItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *QnasRequestBuilder) ToPostRequestInformation(ctx context.Context, body } 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 *QnasRequestBuilder) WithUrl(rawUrl string)(*QnasRequestBuilder) { + return NewQnasRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/search/query_request_builder.go b/search/query_request_builder.go index 926d98a6f6a..4f56543890d 100644 --- a/search/query_request_builder.go +++ b/search/query_request_builder.go @@ -69,3 +69,7 @@ func (m *QueryRequestBuilder) ToPostRequestInformation(ctx context.Context, body } 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 *QueryRequestBuilder) WithUrl(rawUrl string)(*QueryRequestBuilder) { + return NewQueryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/search/search_request_builder.go b/search/search_request_builder.go index a70044411d1..77d7c9975e6 100644 --- a/search/search_request_builder.go +++ b/search/search_request_builder.go @@ -134,3 +134,7 @@ func (m *SearchRequestBuilder) ToPatchRequestInformation(ctx context.Context, bo } 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 *SearchRequestBuilder) WithUrl(rawUrl string)(*SearchRequestBuilder) { + return NewSearchRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/alerts_alert_item_request_builder.go b/security/alerts_alert_item_request_builder.go index 543743d5d5d..1a5b09fc633 100644 --- a/security/alerts_alert_item_request_builder.go +++ b/security/alerts_alert_item_request_builder.go @@ -124,3 +124,7 @@ func (m *AlertsAlertItemRequestBuilder) ToPatchRequestInformation(ctx context.Co } 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 *AlertsAlertItemRequestBuilder) WithUrl(rawUrl string)(*AlertsAlertItemRequestBuilder) { + return NewAlertsAlertItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/alerts_count_request_builder.go b/security/alerts_count_request_builder.go index 5a9ee83f12b..cc288dc7aa6 100644 --- a/security/alerts_count_request_builder.go +++ b/security/alerts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AlertsCountRequestBuilder) ToGetRequestInformation(ctx context.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 *AlertsCountRequestBuilder) WithUrl(rawUrl string)(*AlertsCountRequestBuilder) { + return NewAlertsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/alerts_request_builder.go b/security/alerts_request_builder.go index 037e99e2e71..1d616b2eb9c 100644 --- a/security/alerts_request_builder.go +++ b/security/alerts_request_builder.go @@ -46,8 +46,8 @@ type AlertsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAlertIdString provides operations to manage the alerts property of the microsoft.graph.security entity. -func (m *AlertsRequestBuilder) ByAlertIdString(alertId string)(*AlertsAlertItemRequestBuilder) { +// ByAlertId provides operations to manage the alerts property of the microsoft.graph.security entity. +func (m *AlertsRequestBuilder) ByAlertId(alertId string)(*AlertsAlertItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *AlertsRequestBuilder) ToPostRequestInformation(ctx context.Context, bod func (m *AlertsRequestBuilder) UpdateAlerts()(*AlertsUpdateAlertsRequestBuilder) { return NewAlertsUpdateAlertsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *AlertsRequestBuilder) WithUrl(rawUrl string)(*AlertsRequestBuilder) { + return NewAlertsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/alerts_update_alerts_request_builder.go b/security/alerts_update_alerts_request_builder.go index 1dc3431530a..bc8d2f7392b 100644 --- a/security/alerts_update_alerts_request_builder.go +++ b/security/alerts_update_alerts_request_builder.go @@ -69,3 +69,7 @@ func (m *AlertsUpdateAlertsRequestBuilder) 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 *AlertsUpdateAlertsRequestBuilder) WithUrl(rawUrl string)(*AlertsUpdateAlertsRequestBuilder) { + return NewAlertsUpdateAlertsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/alerts_v2_alert_item_request_builder.go b/security/alerts_v2_alert_item_request_builder.go index 917ad10dcc8..8e941ea570d 100644 --- a/security/alerts_v2_alert_item_request_builder.go +++ b/security/alerts_v2_alert_item_request_builder.go @@ -41,6 +41,10 @@ type Alerts_v2AlertItemRequestBuilderPatchRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } +// Comments the comments property +func (m *Alerts_v2AlertItemRequestBuilder) Comments()(*Alerts_v2ItemCommentsRequestBuilder) { + return NewAlerts_v2ItemCommentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // NewAlerts_v2AlertItemRequestBuilderInternal instantiates a new AlertItemRequestBuilder and sets the default values. func NewAlerts_v2AlertItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*Alerts_v2AlertItemRequestBuilder) { m := &Alerts_v2AlertItemRequestBuilder{ @@ -159,3 +163,7 @@ func (m *Alerts_v2AlertItemRequestBuilder) ToPatchRequestInformation(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 *Alerts_v2AlertItemRequestBuilder) WithUrl(rawUrl string)(*Alerts_v2AlertItemRequestBuilder) { + return NewAlerts_v2AlertItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/alerts_v2_count_request_builder.go b/security/alerts_v2_count_request_builder.go index 6fa40f60dc4..f07601e538d 100644 --- a/security/alerts_v2_count_request_builder.go +++ b/security/alerts_v2_count_request_builder.go @@ -74,3 +74,7 @@ func (m *Alerts_v2CountRequestBuilder) ToGetRequestInformation(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 *Alerts_v2CountRequestBuilder) WithUrl(rawUrl string)(*Alerts_v2CountRequestBuilder) { + return NewAlerts_v2CountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/alerts_v2_item_comments_count_request_builder.go b/security/alerts_v2_item_comments_count_request_builder.go new file mode 100644 index 00000000000..40843f14d3e --- /dev/null +++ b/security/alerts_v2_item_comments_count_request_builder.go @@ -0,0 +1,80 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// Alerts_v2ItemCommentsCountRequestBuilder provides operations to count the resources in the collection. +type Alerts_v2ItemCommentsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// Alerts_v2ItemCommentsCountRequestBuilderGetQueryParameters get the number of the resource +type Alerts_v2ItemCommentsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// Alerts_v2ItemCommentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type Alerts_v2ItemCommentsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *Alerts_v2ItemCommentsCountRequestBuilderGetQueryParameters +} +// NewAlerts_v2ItemCommentsCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewAlerts_v2ItemCommentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*Alerts_v2ItemCommentsCountRequestBuilder) { + m := &Alerts_v2ItemCommentsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/alerts_v2/{alert%2Did}/comments/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewAlerts_v2ItemCommentsCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewAlerts_v2ItemCommentsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*Alerts_v2ItemCommentsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAlerts_v2ItemCommentsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *Alerts_v2ItemCommentsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *Alerts_v2ItemCommentsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *Alerts_v2ItemCommentsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *Alerts_v2ItemCommentsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *Alerts_v2ItemCommentsCountRequestBuilder) WithUrl(rawUrl string)(*Alerts_v2ItemCommentsCountRequestBuilder) { + return NewAlerts_v2ItemCommentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/alerts_v2_item_comments_request_builder.go b/security/alerts_v2_item_comments_request_builder.go new file mode 100644 index 00000000000..42fb221033a --- /dev/null +++ b/security/alerts_v2_item_comments_request_builder.go @@ -0,0 +1,87 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/security" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// Alerts_v2ItemCommentsRequestBuilder builds and executes requests for operations under \security\alerts_v2\{alert-id}\comments +type Alerts_v2ItemCommentsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// Alerts_v2ItemCommentsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type Alerts_v2ItemCommentsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewAlerts_v2ItemCommentsRequestBuilderInternal instantiates a new CommentsRequestBuilder and sets the default values. +func NewAlerts_v2ItemCommentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*Alerts_v2ItemCommentsRequestBuilder) { + m := &Alerts_v2ItemCommentsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/alerts_v2/{alert%2Did}/comments", pathParameters), + } + return m +} +// NewAlerts_v2ItemCommentsRequestBuilder instantiates a new CommentsRequestBuilder and sets the default values. +func NewAlerts_v2ItemCommentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*Alerts_v2ItemCommentsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAlerts_v2ItemCommentsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *Alerts_v2ItemCommentsRequestBuilder) Count()(*Alerts_v2ItemCommentsCountRequestBuilder) { + return NewAlerts_v2ItemCommentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Post sets a new value for the collection of alertComment. +func (m *Alerts_v2ItemCommentsRequestBuilder) Post(ctx context.Context, body []i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AlertCommentable, requestConfiguration *Alerts_v2ItemCommentsRequestBuilderPostRequestConfiguration)([]i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AlertCommentable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendCollection(ctx, requestInfo, i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CreateAlertCommentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + val := make([]i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AlertCommentable, len(res)) + for i, v := range res { + if v != nil { + val[i] = v.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AlertCommentable) + } + } + return val, nil +} +// ToPostRequestInformation sets a new value for the collection of alertComment. +func (m *Alerts_v2ItemCommentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body []i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AlertCommentable, requestConfiguration *Alerts_v2ItemCommentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.Add("Accept", "application/json") + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(body)) + for i, v := range body { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := requestInfo.SetContentFromParsableCollection(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", cast) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *Alerts_v2ItemCommentsRequestBuilder) WithUrl(rawUrl string)(*Alerts_v2ItemCommentsRequestBuilder) { + return NewAlerts_v2ItemCommentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/alerts_v2_request_builder.go b/security/alerts_v2_request_builder.go index 48a86a8d883..40ec70111ca 100644 --- a/security/alerts_v2_request_builder.go +++ b/security/alerts_v2_request_builder.go @@ -46,8 +46,8 @@ type Alerts_v2RequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAlertIdString provides operations to manage the alerts_v2 property of the microsoft.graph.security entity. -func (m *Alerts_v2RequestBuilder) ByAlertIdString(alertId string)(*Alerts_v2AlertItemRequestBuilder) { +// ByAlertId provides operations to manage the alerts_v2 property of the microsoft.graph.security entity. +func (m *Alerts_v2RequestBuilder) ByAlertId(alertId string)(*Alerts_v2AlertItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *Alerts_v2RequestBuilder) ToPostRequestInformation(ctx context.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 *Alerts_v2RequestBuilder) WithUrl(rawUrl string)(*Alerts_v2RequestBuilder) { + return NewAlerts_v2RequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_end_user_notifications_count_request_builder.go b/security/attack_simulation_end_user_notifications_count_request_builder.go index 88cb97e7b72..80277b308a5 100644 --- a/security/attack_simulation_end_user_notifications_count_request_builder.go +++ b/security/attack_simulation_end_user_notifications_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AttackSimulationEndUserNotificationsCountRequestBuilder) ToGetRequestIn } 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 *AttackSimulationEndUserNotificationsCountRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationEndUserNotificationsCountRequestBuilder) { + return NewAttackSimulationEndUserNotificationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_end_user_notifications_end_user_notification_item_request_builder.go b/security/attack_simulation_end_user_notifications_end_user_notification_item_request_builder.go index 8fe66760bd8..1386486f8fa 100644 --- a/security/attack_simulation_end_user_notifications_end_user_notification_item_request_builder.go +++ b/security/attack_simulation_end_user_notifications_end_user_notification_item_request_builder.go @@ -157,3 +157,7 @@ func (m *AttackSimulationEndUserNotificationsEndUserNotificationItemRequestBuild } 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 *AttackSimulationEndUserNotificationsEndUserNotificationItemRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationEndUserNotificationsEndUserNotificationItemRequestBuilder) { + return NewAttackSimulationEndUserNotificationsEndUserNotificationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_end_user_notifications_item_details_count_request_builder.go b/security/attack_simulation_end_user_notifications_item_details_count_request_builder.go index eb19b6ba25c..9226bc406b9 100644 --- a/security/attack_simulation_end_user_notifications_item_details_count_request_builder.go +++ b/security/attack_simulation_end_user_notifications_item_details_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AttackSimulationEndUserNotificationsItemDetailsCountRequestBuilder) ToG } 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 *AttackSimulationEndUserNotificationsItemDetailsCountRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationEndUserNotificationsItemDetailsCountRequestBuilder) { + return NewAttackSimulationEndUserNotificationsItemDetailsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_end_user_notifications_item_details_end_user_notification_detail_item_request_builder.go b/security/attack_simulation_end_user_notifications_item_details_end_user_notification_detail_item_request_builder.go index 304dd42a89b..9cd257c8716 100644 --- a/security/attack_simulation_end_user_notifications_item_details_end_user_notification_detail_item_request_builder.go +++ b/security/attack_simulation_end_user_notifications_item_details_end_user_notification_detail_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AttackSimulationEndUserNotificationsItemDetailsEndUserNotificationDetai } 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 *AttackSimulationEndUserNotificationsItemDetailsEndUserNotificationDetailItemRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationEndUserNotificationsItemDetailsEndUserNotificationDetailItemRequestBuilder) { + return NewAttackSimulationEndUserNotificationsItemDetailsEndUserNotificationDetailItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_end_user_notifications_item_details_request_builder.go b/security/attack_simulation_end_user_notifications_item_details_request_builder.go index db0ab4b75a7..df344adbbcc 100644 --- a/security/attack_simulation_end_user_notifications_item_details_request_builder.go +++ b/security/attack_simulation_end_user_notifications_item_details_request_builder.go @@ -46,8 +46,8 @@ type AttackSimulationEndUserNotificationsItemDetailsRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEndUserNotificationDetailIdString provides operations to manage the details property of the microsoft.graph.endUserNotification entity. -func (m *AttackSimulationEndUserNotificationsItemDetailsRequestBuilder) ByEndUserNotificationDetailIdString(endUserNotificationDetailId string)(*AttackSimulationEndUserNotificationsItemDetailsEndUserNotificationDetailItemRequestBuilder) { +// ByEndUserNotificationDetailId provides operations to manage the details property of the microsoft.graph.endUserNotification entity. +func (m *AttackSimulationEndUserNotificationsItemDetailsRequestBuilder) ByEndUserNotificationDetailId(endUserNotificationDetailId string)(*AttackSimulationEndUserNotificationsItemDetailsEndUserNotificationDetailItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AttackSimulationEndUserNotificationsItemDetailsRequestBuilder) ToPostRe } 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 *AttackSimulationEndUserNotificationsItemDetailsRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationEndUserNotificationsItemDetailsRequestBuilder) { + return NewAttackSimulationEndUserNotificationsItemDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_end_user_notifications_request_builder.go b/security/attack_simulation_end_user_notifications_request_builder.go index 87563a2f01d..0fc1fa41538 100644 --- a/security/attack_simulation_end_user_notifications_request_builder.go +++ b/security/attack_simulation_end_user_notifications_request_builder.go @@ -46,8 +46,8 @@ type AttackSimulationEndUserNotificationsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEndUserNotificationIdString provides operations to manage the endUserNotifications property of the microsoft.graph.attackSimulationRoot entity. -func (m *AttackSimulationEndUserNotificationsRequestBuilder) ByEndUserNotificationIdString(endUserNotificationId string)(*AttackSimulationEndUserNotificationsEndUserNotificationItemRequestBuilder) { +// ByEndUserNotificationId provides operations to manage the endUserNotifications property of the microsoft.graph.attackSimulationRoot entity. +func (m *AttackSimulationEndUserNotificationsRequestBuilder) ByEndUserNotificationId(endUserNotificationId string)(*AttackSimulationEndUserNotificationsEndUserNotificationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AttackSimulationEndUserNotificationsRequestBuilder) ToPostRequestInform } 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 *AttackSimulationEndUserNotificationsRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationEndUserNotificationsRequestBuilder) { + return NewAttackSimulationEndUserNotificationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_landing_pages_count_request_builder.go b/security/attack_simulation_landing_pages_count_request_builder.go index 8a60086bada..0341b737443 100644 --- a/security/attack_simulation_landing_pages_count_request_builder.go +++ b/security/attack_simulation_landing_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AttackSimulationLandingPagesCountRequestBuilder) 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 *AttackSimulationLandingPagesCountRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationLandingPagesCountRequestBuilder) { + return NewAttackSimulationLandingPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_landing_pages_item_details_count_request_builder.go b/security/attack_simulation_landing_pages_item_details_count_request_builder.go index 9b340e1ece4..968879befa1 100644 --- a/security/attack_simulation_landing_pages_item_details_count_request_builder.go +++ b/security/attack_simulation_landing_pages_item_details_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AttackSimulationLandingPagesItemDetailsCountRequestBuilder) ToGetReques } 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 *AttackSimulationLandingPagesItemDetailsCountRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationLandingPagesItemDetailsCountRequestBuilder) { + return NewAttackSimulationLandingPagesItemDetailsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_landing_pages_item_details_landing_page_detail_item_request_builder.go b/security/attack_simulation_landing_pages_item_details_landing_page_detail_item_request_builder.go index ae8d62e5c5f..143b1e98249 100644 --- a/security/attack_simulation_landing_pages_item_details_landing_page_detail_item_request_builder.go +++ b/security/attack_simulation_landing_pages_item_details_landing_page_detail_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AttackSimulationLandingPagesItemDetailsLandingPageDetailItemRequestBuil } 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 *AttackSimulationLandingPagesItemDetailsLandingPageDetailItemRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationLandingPagesItemDetailsLandingPageDetailItemRequestBuilder) { + return NewAttackSimulationLandingPagesItemDetailsLandingPageDetailItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_landing_pages_item_details_request_builder.go b/security/attack_simulation_landing_pages_item_details_request_builder.go index aa7d7238058..e8bc4158074 100644 --- a/security/attack_simulation_landing_pages_item_details_request_builder.go +++ b/security/attack_simulation_landing_pages_item_details_request_builder.go @@ -46,8 +46,8 @@ type AttackSimulationLandingPagesItemDetailsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByLandingPageDetailIdString provides operations to manage the details property of the microsoft.graph.landingPage entity. -func (m *AttackSimulationLandingPagesItemDetailsRequestBuilder) ByLandingPageDetailIdString(landingPageDetailId string)(*AttackSimulationLandingPagesItemDetailsLandingPageDetailItemRequestBuilder) { +// ByLandingPageDetailId provides operations to manage the details property of the microsoft.graph.landingPage entity. +func (m *AttackSimulationLandingPagesItemDetailsRequestBuilder) ByLandingPageDetailId(landingPageDetailId string)(*AttackSimulationLandingPagesItemDetailsLandingPageDetailItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AttackSimulationLandingPagesItemDetailsRequestBuilder) ToPostRequestInf } 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 *AttackSimulationLandingPagesItemDetailsRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationLandingPagesItemDetailsRequestBuilder) { + return NewAttackSimulationLandingPagesItemDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_landing_pages_landing_page_item_request_builder.go b/security/attack_simulation_landing_pages_landing_page_item_request_builder.go index ab1be3c4012..60e538ff98b 100644 --- a/security/attack_simulation_landing_pages_landing_page_item_request_builder.go +++ b/security/attack_simulation_landing_pages_landing_page_item_request_builder.go @@ -157,3 +157,7 @@ func (m *AttackSimulationLandingPagesLandingPageItemRequestBuilder) ToPatchReque } 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 *AttackSimulationLandingPagesLandingPageItemRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationLandingPagesLandingPageItemRequestBuilder) { + return NewAttackSimulationLandingPagesLandingPageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_landing_pages_request_builder.go b/security/attack_simulation_landing_pages_request_builder.go index da186e3e492..04fe4ec2116 100644 --- a/security/attack_simulation_landing_pages_request_builder.go +++ b/security/attack_simulation_landing_pages_request_builder.go @@ -46,8 +46,8 @@ type AttackSimulationLandingPagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByLandingPageIdString provides operations to manage the landingPages property of the microsoft.graph.attackSimulationRoot entity. -func (m *AttackSimulationLandingPagesRequestBuilder) ByLandingPageIdString(landingPageId string)(*AttackSimulationLandingPagesLandingPageItemRequestBuilder) { +// ByLandingPageId provides operations to manage the landingPages property of the microsoft.graph.attackSimulationRoot entity. +func (m *AttackSimulationLandingPagesRequestBuilder) ByLandingPageId(landingPageId string)(*AttackSimulationLandingPagesLandingPageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AttackSimulationLandingPagesRequestBuilder) 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 *AttackSimulationLandingPagesRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationLandingPagesRequestBuilder) { + return NewAttackSimulationLandingPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_login_pages_count_request_builder.go b/security/attack_simulation_login_pages_count_request_builder.go index 6aab952cbc9..d7204bceb59 100644 --- a/security/attack_simulation_login_pages_count_request_builder.go +++ b/security/attack_simulation_login_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AttackSimulationLoginPagesCountRequestBuilder) 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 *AttackSimulationLoginPagesCountRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationLoginPagesCountRequestBuilder) { + return NewAttackSimulationLoginPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_login_pages_login_page_item_request_builder.go b/security/attack_simulation_login_pages_login_page_item_request_builder.go index 2351e43a90b..c79d48a5ed4 100644 --- a/security/attack_simulation_login_pages_login_page_item_request_builder.go +++ b/security/attack_simulation_login_pages_login_page_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AttackSimulationLoginPagesLoginPageItemRequestBuilder) ToPatchRequestIn } 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 *AttackSimulationLoginPagesLoginPageItemRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationLoginPagesLoginPageItemRequestBuilder) { + return NewAttackSimulationLoginPagesLoginPageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_login_pages_request_builder.go b/security/attack_simulation_login_pages_request_builder.go index 49e58da9edb..79a4ddccbab 100644 --- a/security/attack_simulation_login_pages_request_builder.go +++ b/security/attack_simulation_login_pages_request_builder.go @@ -46,8 +46,8 @@ type AttackSimulationLoginPagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByLoginPageIdString provides operations to manage the loginPages property of the microsoft.graph.attackSimulationRoot entity. -func (m *AttackSimulationLoginPagesRequestBuilder) ByLoginPageIdString(loginPageId string)(*AttackSimulationLoginPagesLoginPageItemRequestBuilder) { +// ByLoginPageId provides operations to manage the loginPages property of the microsoft.graph.attackSimulationRoot entity. +func (m *AttackSimulationLoginPagesRequestBuilder) ByLoginPageId(loginPageId string)(*AttackSimulationLoginPagesLoginPageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AttackSimulationLoginPagesRequestBuilder) 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 *AttackSimulationLoginPagesRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationLoginPagesRequestBuilder) { + return NewAttackSimulationLoginPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_operations_attack_simulation_operation_item_request_builder.go b/security/attack_simulation_operations_attack_simulation_operation_item_request_builder.go index 5b5862f310b..13f0b3635b1 100644 --- a/security/attack_simulation_operations_attack_simulation_operation_item_request_builder.go +++ b/security/attack_simulation_operations_attack_simulation_operation_item_request_builder.go @@ -156,3 +156,7 @@ func (m *AttackSimulationOperationsAttackSimulationOperationItemRequestBuilder) } 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 *AttackSimulationOperationsAttackSimulationOperationItemRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationOperationsAttackSimulationOperationItemRequestBuilder) { + return NewAttackSimulationOperationsAttackSimulationOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_operations_count_request_builder.go b/security/attack_simulation_operations_count_request_builder.go index e55aa315db7..16f9b8a703e 100644 --- a/security/attack_simulation_operations_count_request_builder.go +++ b/security/attack_simulation_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AttackSimulationOperationsCountRequestBuilder) 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 *AttackSimulationOperationsCountRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationOperationsCountRequestBuilder) { + return NewAttackSimulationOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_operations_request_builder.go b/security/attack_simulation_operations_request_builder.go index 143b30cda10..95fa8d62d5e 100644 --- a/security/attack_simulation_operations_request_builder.go +++ b/security/attack_simulation_operations_request_builder.go @@ -46,8 +46,8 @@ type AttackSimulationOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttackSimulationOperationIdString provides operations to manage the operations property of the microsoft.graph.attackSimulationRoot entity. -func (m *AttackSimulationOperationsRequestBuilder) ByAttackSimulationOperationIdString(attackSimulationOperationId string)(*AttackSimulationOperationsAttackSimulationOperationItemRequestBuilder) { +// ByAttackSimulationOperationId provides operations to manage the operations property of the microsoft.graph.attackSimulationRoot entity. +func (m *AttackSimulationOperationsRequestBuilder) ByAttackSimulationOperationId(attackSimulationOperationId string)(*AttackSimulationOperationsAttackSimulationOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AttackSimulationOperationsRequestBuilder) 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 *AttackSimulationOperationsRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationOperationsRequestBuilder) { + return NewAttackSimulationOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_payloads_count_request_builder.go b/security/attack_simulation_payloads_count_request_builder.go index 052a30a545b..1955420f68c 100644 --- a/security/attack_simulation_payloads_count_request_builder.go +++ b/security/attack_simulation_payloads_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AttackSimulationPayloadsCountRequestBuilder) ToGetRequestInformation(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 *AttackSimulationPayloadsCountRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationPayloadsCountRequestBuilder) { + return NewAttackSimulationPayloadsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_payloads_payload_item_request_builder.go b/security/attack_simulation_payloads_payload_item_request_builder.go index 7f6bf02109b..acfbb6f4f0a 100644 --- a/security/attack_simulation_payloads_payload_item_request_builder.go +++ b/security/attack_simulation_payloads_payload_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AttackSimulationPayloadsPayloadItemRequestBuilder) ToPatchRequestInform } 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 *AttackSimulationPayloadsPayloadItemRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationPayloadsPayloadItemRequestBuilder) { + return NewAttackSimulationPayloadsPayloadItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_payloads_request_builder.go b/security/attack_simulation_payloads_request_builder.go index 1e1e18f5bca..69775d9525e 100644 --- a/security/attack_simulation_payloads_request_builder.go +++ b/security/attack_simulation_payloads_request_builder.go @@ -46,8 +46,8 @@ type AttackSimulationPayloadsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPayloadIdString provides operations to manage the payloads property of the microsoft.graph.attackSimulationRoot entity. -func (m *AttackSimulationPayloadsRequestBuilder) ByPayloadIdString(payloadId string)(*AttackSimulationPayloadsPayloadItemRequestBuilder) { +// ByPayloadId provides operations to manage the payloads property of the microsoft.graph.attackSimulationRoot entity. +func (m *AttackSimulationPayloadsRequestBuilder) ByPayloadId(payloadId string)(*AttackSimulationPayloadsPayloadItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *AttackSimulationPayloadsRequestBuilder) ToPostRequestInformation(ctx co } 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 *AttackSimulationPayloadsRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationPayloadsRequestBuilder) { + return NewAttackSimulationPayloadsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_request_builder.go b/security/attack_simulation_request_builder.go index 5cbcaf16bc6..57da1d023fc 100644 --- a/security/attack_simulation_request_builder.go +++ b/security/attack_simulation_request_builder.go @@ -185,3 +185,7 @@ func (m *AttackSimulationRequestBuilder) ToPatchRequestInformation(ctx context.C func (m *AttackSimulationRequestBuilder) Trainings()(*AttackSimulationTrainingsRequestBuilder) { return NewAttackSimulationTrainingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *AttackSimulationRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationRequestBuilder) { + return NewAttackSimulationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_simulation_automations_count_request_builder.go b/security/attack_simulation_simulation_automations_count_request_builder.go index 86ad2929964..3a6c3bb2661 100644 --- a/security/attack_simulation_simulation_automations_count_request_builder.go +++ b/security/attack_simulation_simulation_automations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AttackSimulationSimulationAutomationsCountRequestBuilder) ToGetRequestI } 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 *AttackSimulationSimulationAutomationsCountRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationSimulationAutomationsCountRequestBuilder) { + return NewAttackSimulationSimulationAutomationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_simulation_automations_item_runs_count_request_builder.go b/security/attack_simulation_simulation_automations_item_runs_count_request_builder.go index dc62e91b704..b1011bd7810 100644 --- a/security/attack_simulation_simulation_automations_item_runs_count_request_builder.go +++ b/security/attack_simulation_simulation_automations_item_runs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AttackSimulationSimulationAutomationsItemRunsCountRequestBuilder) ToGet } 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 *AttackSimulationSimulationAutomationsItemRunsCountRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationSimulationAutomationsItemRunsCountRequestBuilder) { + return NewAttackSimulationSimulationAutomationsItemRunsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_simulation_automations_item_runs_request_builder.go b/security/attack_simulation_simulation_automations_item_runs_request_builder.go index c7d03163460..ff7336d1407 100644 --- a/security/attack_simulation_simulation_automations_item_runs_request_builder.go +++ b/security/attack_simulation_simulation_automations_item_runs_request_builder.go @@ -46,8 +46,8 @@ type AttackSimulationSimulationAutomationsItemRunsRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySimulationAutomationRunIdString provides operations to manage the runs property of the microsoft.graph.simulationAutomation entity. -func (m *AttackSimulationSimulationAutomationsItemRunsRequestBuilder) BySimulationAutomationRunIdString(simulationAutomationRunId string)(*AttackSimulationSimulationAutomationsItemRunsSimulationAutomationRunItemRequestBuilder) { +// BySimulationAutomationRunId provides operations to manage the runs property of the microsoft.graph.simulationAutomation entity. +func (m *AttackSimulationSimulationAutomationsItemRunsRequestBuilder) BySimulationAutomationRunId(simulationAutomationRunId string)(*AttackSimulationSimulationAutomationsItemRunsSimulationAutomationRunItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *AttackSimulationSimulationAutomationsItemRunsRequestBuilder) ToPostRequ } 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 *AttackSimulationSimulationAutomationsItemRunsRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationSimulationAutomationsItemRunsRequestBuilder) { + return NewAttackSimulationSimulationAutomationsItemRunsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_simulation_automations_item_runs_simulation_automation_run_item_request_builder.go b/security/attack_simulation_simulation_automations_item_runs_simulation_automation_run_item_request_builder.go index e7933f99c77..426aed87ecb 100644 --- a/security/attack_simulation_simulation_automations_item_runs_simulation_automation_run_item_request_builder.go +++ b/security/attack_simulation_simulation_automations_item_runs_simulation_automation_run_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AttackSimulationSimulationAutomationsItemRunsSimulationAutomationRunIte } 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 *AttackSimulationSimulationAutomationsItemRunsSimulationAutomationRunItemRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationSimulationAutomationsItemRunsSimulationAutomationRunItemRequestBuilder) { + return NewAttackSimulationSimulationAutomationsItemRunsSimulationAutomationRunItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_simulation_automations_request_builder.go b/security/attack_simulation_simulation_automations_request_builder.go index adaea293e56..8d7bf7ae254 100644 --- a/security/attack_simulation_simulation_automations_request_builder.go +++ b/security/attack_simulation_simulation_automations_request_builder.go @@ -46,8 +46,8 @@ type AttackSimulationSimulationAutomationsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySimulationAutomationIdString provides operations to manage the simulationAutomations property of the microsoft.graph.attackSimulationRoot entity. -func (m *AttackSimulationSimulationAutomationsRequestBuilder) BySimulationAutomationIdString(simulationAutomationId string)(*AttackSimulationSimulationAutomationsSimulationAutomationItemRequestBuilder) { +// BySimulationAutomationId provides operations to manage the simulationAutomations property of the microsoft.graph.attackSimulationRoot entity. +func (m *AttackSimulationSimulationAutomationsRequestBuilder) BySimulationAutomationId(simulationAutomationId string)(*AttackSimulationSimulationAutomationsSimulationAutomationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *AttackSimulationSimulationAutomationsRequestBuilder) ToPostRequestInfor } 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 *AttackSimulationSimulationAutomationsRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationSimulationAutomationsRequestBuilder) { + return NewAttackSimulationSimulationAutomationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_simulation_automations_simulation_automation_item_request_builder.go b/security/attack_simulation_simulation_automations_simulation_automation_item_request_builder.go index d42cd343cf5..a534b5a9d8b 100644 --- a/security/attack_simulation_simulation_automations_simulation_automation_item_request_builder.go +++ b/security/attack_simulation_simulation_automations_simulation_automation_item_request_builder.go @@ -160,3 +160,7 @@ func (m *AttackSimulationSimulationAutomationsSimulationAutomationItemRequestBui } 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 *AttackSimulationSimulationAutomationsSimulationAutomationItemRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationSimulationAutomationsSimulationAutomationItemRequestBuilder) { + return NewAttackSimulationSimulationAutomationsSimulationAutomationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_simulations_count_request_builder.go b/security/attack_simulation_simulations_count_request_builder.go index 90556341af6..65f497a6bf2 100644 --- a/security/attack_simulation_simulations_count_request_builder.go +++ b/security/attack_simulation_simulations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AttackSimulationSimulationsCountRequestBuilder) 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 *AttackSimulationSimulationsCountRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationSimulationsCountRequestBuilder) { + return NewAttackSimulationSimulationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_simulations_item_landing_page_request_builder.go b/security/attack_simulation_simulations_item_landing_page_request_builder.go index 3183de7a4b5..1ba383b663e 100644 --- a/security/attack_simulation_simulations_item_landing_page_request_builder.go +++ b/security/attack_simulation_simulations_item_landing_page_request_builder.go @@ -75,3 +75,7 @@ func (m *AttackSimulationSimulationsItemLandingPageRequestBuilder) ToGetRequestI } 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 *AttackSimulationSimulationsItemLandingPageRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationSimulationsItemLandingPageRequestBuilder) { + return NewAttackSimulationSimulationsItemLandingPageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_simulations_item_login_page_request_builder.go b/security/attack_simulation_simulations_item_login_page_request_builder.go index 420e032c6fe..282b1fb09d1 100644 --- a/security/attack_simulation_simulations_item_login_page_request_builder.go +++ b/security/attack_simulation_simulations_item_login_page_request_builder.go @@ -75,3 +75,7 @@ func (m *AttackSimulationSimulationsItemLoginPageRequestBuilder) ToGetRequestInf } 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 *AttackSimulationSimulationsItemLoginPageRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationSimulationsItemLoginPageRequestBuilder) { + return NewAttackSimulationSimulationsItemLoginPageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_simulations_item_payload_request_builder.go b/security/attack_simulation_simulations_item_payload_request_builder.go index e10a707e23c..3f7633d9e10 100644 --- a/security/attack_simulation_simulations_item_payload_request_builder.go +++ b/security/attack_simulation_simulations_item_payload_request_builder.go @@ -75,3 +75,7 @@ func (m *AttackSimulationSimulationsItemPayloadRequestBuilder) ToGetRequestInfor } 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 *AttackSimulationSimulationsItemPayloadRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationSimulationsItemPayloadRequestBuilder) { + return NewAttackSimulationSimulationsItemPayloadRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_simulations_request_builder.go b/security/attack_simulation_simulations_request_builder.go index 935a7509baf..de5ed525eaf 100644 --- a/security/attack_simulation_simulations_request_builder.go +++ b/security/attack_simulation_simulations_request_builder.go @@ -46,8 +46,8 @@ type AttackSimulationSimulationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySimulationIdString provides operations to manage the simulations property of the microsoft.graph.attackSimulationRoot entity. -func (m *AttackSimulationSimulationsRequestBuilder) BySimulationIdString(simulationId string)(*AttackSimulationSimulationsSimulationItemRequestBuilder) { +// BySimulationId provides operations to manage the simulations property of the microsoft.graph.attackSimulationRoot entity. +func (m *AttackSimulationSimulationsRequestBuilder) BySimulationId(simulationId string)(*AttackSimulationSimulationsSimulationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *AttackSimulationSimulationsRequestBuilder) 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 *AttackSimulationSimulationsRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationSimulationsRequestBuilder) { + return NewAttackSimulationSimulationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_simulations_simulation_item_request_builder.go b/security/attack_simulation_simulations_simulation_item_request_builder.go index 74206d297bf..fb6bf16580d 100644 --- a/security/attack_simulation_simulations_simulation_item_request_builder.go +++ b/security/attack_simulation_simulations_simulation_item_request_builder.go @@ -174,3 +174,7 @@ func (m *AttackSimulationSimulationsSimulationItemRequestBuilder) ToPatchRequest } 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 *AttackSimulationSimulationsSimulationItemRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationSimulationsSimulationItemRequestBuilder) { + return NewAttackSimulationSimulationsSimulationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_trainings_count_request_builder.go b/security/attack_simulation_trainings_count_request_builder.go index 3aef33453df..bc0468b1bef 100644 --- a/security/attack_simulation_trainings_count_request_builder.go +++ b/security/attack_simulation_trainings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AttackSimulationTrainingsCountRequestBuilder) ToGetRequestInformation(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 *AttackSimulationTrainingsCountRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationTrainingsCountRequestBuilder) { + return NewAttackSimulationTrainingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_trainings_item_language_details_count_request_builder.go b/security/attack_simulation_trainings_item_language_details_count_request_builder.go index 79dfe4e0316..8493fd322e7 100644 --- a/security/attack_simulation_trainings_item_language_details_count_request_builder.go +++ b/security/attack_simulation_trainings_item_language_details_count_request_builder.go @@ -74,3 +74,7 @@ func (m *AttackSimulationTrainingsItemLanguageDetailsCountRequestBuilder) ToGetR } 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 *AttackSimulationTrainingsItemLanguageDetailsCountRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationTrainingsItemLanguageDetailsCountRequestBuilder) { + return NewAttackSimulationTrainingsItemLanguageDetailsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_trainings_item_language_details_request_builder.go b/security/attack_simulation_trainings_item_language_details_request_builder.go index 3e954500feb..2235e2faf41 100644 --- a/security/attack_simulation_trainings_item_language_details_request_builder.go +++ b/security/attack_simulation_trainings_item_language_details_request_builder.go @@ -46,8 +46,8 @@ type AttackSimulationTrainingsItemLanguageDetailsRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTrainingLanguageDetailIdString provides operations to manage the languageDetails property of the microsoft.graph.training entity. -func (m *AttackSimulationTrainingsItemLanguageDetailsRequestBuilder) ByTrainingLanguageDetailIdString(trainingLanguageDetailId string)(*AttackSimulationTrainingsItemLanguageDetailsTrainingLanguageDetailItemRequestBuilder) { +// ByTrainingLanguageDetailId provides operations to manage the languageDetails property of the microsoft.graph.training entity. +func (m *AttackSimulationTrainingsItemLanguageDetailsRequestBuilder) ByTrainingLanguageDetailId(trainingLanguageDetailId string)(*AttackSimulationTrainingsItemLanguageDetailsTrainingLanguageDetailItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AttackSimulationTrainingsItemLanguageDetailsRequestBuilder) ToPostReque } 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 *AttackSimulationTrainingsItemLanguageDetailsRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationTrainingsItemLanguageDetailsRequestBuilder) { + return NewAttackSimulationTrainingsItemLanguageDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_trainings_item_language_details_training_language_detail_item_request_builder.go b/security/attack_simulation_trainings_item_language_details_training_language_detail_item_request_builder.go index c198833fd56..90ffa5daabc 100644 --- a/security/attack_simulation_trainings_item_language_details_training_language_detail_item_request_builder.go +++ b/security/attack_simulation_trainings_item_language_details_training_language_detail_item_request_builder.go @@ -153,3 +153,7 @@ func (m *AttackSimulationTrainingsItemLanguageDetailsTrainingLanguageDetailItemR } 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 *AttackSimulationTrainingsItemLanguageDetailsTrainingLanguageDetailItemRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationTrainingsItemLanguageDetailsTrainingLanguageDetailItemRequestBuilder) { + return NewAttackSimulationTrainingsItemLanguageDetailsTrainingLanguageDetailItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_trainings_request_builder.go b/security/attack_simulation_trainings_request_builder.go index 3508e9cd67b..f47d38a34d4 100644 --- a/security/attack_simulation_trainings_request_builder.go +++ b/security/attack_simulation_trainings_request_builder.go @@ -46,8 +46,8 @@ type AttackSimulationTrainingsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTrainingIdString provides operations to manage the trainings property of the microsoft.graph.attackSimulationRoot entity. -func (m *AttackSimulationTrainingsRequestBuilder) ByTrainingIdString(trainingId string)(*AttackSimulationTrainingsTrainingItemRequestBuilder) { +// ByTrainingId provides operations to manage the trainings property of the microsoft.graph.attackSimulationRoot entity. +func (m *AttackSimulationTrainingsRequestBuilder) ByTrainingId(trainingId string)(*AttackSimulationTrainingsTrainingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *AttackSimulationTrainingsRequestBuilder) ToPostRequestInformation(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 *AttackSimulationTrainingsRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationTrainingsRequestBuilder) { + return NewAttackSimulationTrainingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/attack_simulation_trainings_training_item_request_builder.go b/security/attack_simulation_trainings_training_item_request_builder.go index afeb336e394..aa2821a2365 100644 --- a/security/attack_simulation_trainings_training_item_request_builder.go +++ b/security/attack_simulation_trainings_training_item_request_builder.go @@ -157,3 +157,7 @@ func (m *AttackSimulationTrainingsTrainingItemRequestBuilder) 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 *AttackSimulationTrainingsTrainingItemRequestBuilder) WithUrl(rawUrl string)(*AttackSimulationTrainingsTrainingItemRequestBuilder) { + return NewAttackSimulationTrainingsTrainingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_count_request_builder.go b/security/cases_ediscovery_cases_count_request_builder.go index fa73ac9d711..0444c1787bf 100644 --- a/security/cases_ediscovery_cases_count_request_builder.go +++ b/security/cases_ediscovery_cases_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CasesEdiscoveryCasesCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *CasesEdiscoveryCasesCountRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesCountRequestBuilder) { + return NewCasesEdiscoveryCasesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_ediscovery_case_item_request_builder.go b/security/cases_ediscovery_cases_ediscovery_case_item_request_builder.go index 4e84fe40066..7a1001a5998 100644 --- a/security/cases_ediscovery_cases_ediscovery_case_item_request_builder.go +++ b/security/cases_ediscovery_cases_ediscovery_case_item_request_builder.go @@ -202,3 +202,7 @@ func (m *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) ToPatchRequestInf } 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 *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) { + return NewCasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_count_request_builder.go b/security/cases_ediscovery_cases_item_custodians_count_request_builder.go index 24957935a32..8e684c15b1f 100644 --- a/security/cases_ediscovery_cases_item_custodians_count_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansCountRequestBuilder) ToGetRequestInfo } 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 *CasesEdiscoveryCasesItemCustodiansCountRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansCountRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_ediscovery_custodian_item_request_builder.go b/security/cases_ediscovery_cases_item_custodians_ediscovery_custodian_item_request_builder.go index e5848349eba..12b05e9e4e7 100644 --- a/security/cases_ediscovery_cases_item_custodians_ediscovery_custodian_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_ediscovery_custodian_item_request_builder.go @@ -192,3 +192,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansEdiscoveryCustodianItemRequestBuilder func (m *CasesEdiscoveryCasesItemCustodiansEdiscoveryCustodianItemRequestBuilder) UserSources()(*CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) { return NewCasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *CasesEdiscoveryCasesItemCustodiansEdiscoveryCustodianItemRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansEdiscoveryCustodianItemRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansEdiscoveryCustodianItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_item_last_index_operation_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_last_index_operation_request_builder.go index 054f4332f00..56ee6f221e6 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_last_index_operation_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_last_index_operation_request_builder.go @@ -78,3 +78,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemLastIndexOperationRequestBuilder) } 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 *CasesEdiscoveryCasesItemCustodiansItemLastIndexOperationRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansItemLastIndexOperationRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansItemLastIndexOperationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_activate_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_activate_request_builder.go index 151ae9996ca..c67d970de53 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_activate_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_activate_request_builder.go @@ -61,3 +61,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityActivateReq } 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 *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityActivateRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityActivateRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityActivateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_apply_hold_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_apply_hold_request_builder.go index 2331812561d..91098c47428 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_apply_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_apply_hold_request_builder.go @@ -61,3 +61,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityApplyHoldRe } 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 *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityApplyHoldRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityApplyHoldRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityApplyHoldRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_release_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_release_request_builder.go index f86ae5ac561..d39e9231aff 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_release_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_release_request_builder.go @@ -61,3 +61,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityReleaseRequ } 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 *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityReleaseRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityReleaseRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityReleaseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_remove_hold_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_remove_hold_request_builder.go index 3a921578e0d..0379bbc4954 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_remove_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_remove_hold_request_builder.go @@ -61,3 +61,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityRemoveHoldR } 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 *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityRemoveHoldRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityRemoveHoldRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityRemoveHoldRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_update_index_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_update_index_request_builder.go index 64af5dda604..b65cec5b572 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_update_index_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_update_index_request_builder.go @@ -61,3 +61,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityUpdateIndex } 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 *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityUpdateIndexRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityUpdateIndexRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityUpdateIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_item_site_sources_count_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_site_sources_count_request_builder.go index a35f6de0e11..8a105ff1e49 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_site_sources_count_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_site_sources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesCountRequestBuilder) T } 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 *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesCountRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansItemSiteSourcesCountRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansItemSiteSourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_item_site_sources_item_site_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_site_sources_item_site_request_builder.go index a997cda4a4c..1702d19e2e9 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_site_sources_item_site_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_site_sources_item_site_request_builder.go @@ -75,3 +75,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesItemSiteRequestBuilder } 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 *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesItemSiteRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansItemSiteSourcesItemSiteRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansItemSiteSourcesItemSiteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_item_site_sources_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_site_sources_request_builder.go index 60b283288a6..c1cf3a1aa69 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_site_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_site_sources_request_builder.go @@ -46,8 +46,8 @@ type CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySiteSourceIdString provides operations to manage the siteSources property of the microsoft.graph.security.ediscoveryCustodian entity. -func (m *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) BySiteSourceIdString(siteSourceId string)(*CasesEdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilder) { +// BySiteSourceId provides operations to manage the siteSources property of the microsoft.graph.security.ediscoveryCustodian entity. +func (m *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) BySiteSourceId(siteSourceId string)(*CasesEdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) ToPost } 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 *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_item_site_sources_site_source_item_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_site_sources_site_source_item_request_builder.go index 78f5c56c464..9a7d80054fc 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_site_sources_site_source_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_site_sources_site_source_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestB } 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 *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_count_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_count_request_builder.go index 4d2ea35768c..22299747808 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_count_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesCountRequestBu } 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 *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesCountRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesCountRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_item_group_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_item_group_request_builder.go index 493ea686b41..e6abe7336a0 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_item_group_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_item_group_request_builder.go @@ -75,3 +75,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesItemGroupReque } 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 *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesItemGroupRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesItemGroupRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesItemGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go index 49c62e972c6..867d1a432fe 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go @@ -46,8 +46,8 @@ type CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilderPost // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUnifiedGroupSourceIdString provides operations to manage the unifiedGroupSources property of the microsoft.graph.security.ediscoveryCustodian entity. -func (m *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) ByUnifiedGroupSourceIdString(unifiedGroupSourceId string)(*CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilder) { +// ByUnifiedGroupSourceId provides operations to manage the unifiedGroupSources property of the microsoft.graph.security.ediscoveryCustodian entity. +func (m *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) ByUnifiedGroupSourceId(unifiedGroupSourceId string)(*CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder } 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 *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_unified_group_source_item_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_unified_group_source_item_request_builder.go index 0f66d1bae8e..15321c091b4 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_unified_group_source_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_unified_group_source_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSo } 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 *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_item_user_sources_count_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_user_sources_count_request_builder.go index d2c919611a1..ac4f3edc068 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_user_sources_count_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_user_sources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUserSourcesCountRequestBuilder) T } 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 *CasesEdiscoveryCasesItemCustodiansItemUserSourcesCountRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansItemUserSourcesCountRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansItemUserSourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_item_user_sources_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_user_sources_request_builder.go index cfb5a86e5c5..7db35be7aa4 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_user_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_user_sources_request_builder.go @@ -46,8 +46,8 @@ type CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserSourceIdString provides operations to manage the userSources property of the microsoft.graph.security.ediscoveryCustodian entity. -func (m *CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) ByUserSourceIdString(userSourceId string)(*CasesEdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilder) { +// ByUserSourceId provides operations to manage the userSources property of the microsoft.graph.security.ediscoveryCustodian entity. +func (m *CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) ByUserSourceId(userSourceId string)(*CasesEdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) ToPost } 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 *CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_item_user_sources_user_source_item_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_user_sources_user_source_item_request_builder.go index ba48961306f..c808881f824 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_user_sources_user_source_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_user_sources_user_source_item_request_builder.go @@ -153,3 +153,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestB } 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 *CasesEdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_apply_hold_request_builder.go b/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_apply_hold_request_builder.go index 00e72441973..81b040cd726 100644 --- a/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_apply_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_apply_hold_request_builder.go @@ -65,3 +65,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityApplyHoldReques } 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 *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityApplyHoldRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityApplyHoldRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityApplyHoldRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_remove_hold_request_builder.go b/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_remove_hold_request_builder.go index b3c3e280300..c84b243f245 100644 --- a/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_remove_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_remove_hold_request_builder.go @@ -65,3 +65,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityRemoveHoldReque } 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 *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityRemoveHoldRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityRemoveHoldRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityRemoveHoldRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_update_index_request_builder.go b/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_update_index_request_builder.go new file mode 100644 index 00000000000..51fe440ebc7 --- /dev/null +++ b/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_update_index_request_builder.go @@ -0,0 +1,71 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilder provides operations to call the updateIndex method. +type CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewCasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilderInternal instantiates a new MicrosoftGraphSecurityUpdateIndexRequestBuilder and sets the default values. +func NewCasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilder) { + m := &CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/cases/ediscoveryCases/{ediscoveryCase%2Did}/custodians/microsoft.graph.security.updateIndex", pathParameters), + } + return m +} +// NewCasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilder instantiates a new MicrosoftGraphSecurityUpdateIndexRequestBuilder and sets the default values. +func NewCasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilderInternal(urlParams, requestAdapter) +} +// Post trigger an indexOperation +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-updateindex?view=graph-rest-1.0 +func (m *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilder) Post(ctx context.Context, body CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation trigger an indexOperation +func (m *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilder) ToPostRequestInformation(ctx context.Context, body CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_update_index_update_index_post_request_body.go b/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_update_index_update_index_post_request_body.go new file mode 100644 index 00000000000..1f4203514d1 --- /dev/null +++ b/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_update_index_update_index_post_request_body.go @@ -0,0 +1,116 @@ +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +// CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody +type CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewCasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody instantiates a new CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody and sets the default values. +func NewCasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody()(*CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody) { + m := &CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateCasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateCasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody(), nil +} +// GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the backingStore property value. Stores model information. +func (m *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +func (m *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["ids"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetIds(res) + } + return nil + } + return res +} +// GetIds gets the ids property value. The ids property +func (m *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody) GetIds()([]string) { + val, err := m.GetBackingStore().Get("ids") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetIds() != nil { + err := writer.WriteCollectionOfStringValues("ids", m.GetIds()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the backingStore property value. Stores model information. +func (m *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIds sets the ids property value. The ids property +func (m *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody) SetIds(value []string)() { + err := m.GetBackingStore().Set("ids", value) + if err != nil { + panic(err) + } +} +// CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBodyable +type CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIds()([]string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIds(value []string)() +} diff --git a/security/cases_ediscovery_cases_item_custodians_request_builder.go b/security/cases_ediscovery_cases_item_custodians_request_builder.go index 604e06a198e..5ae4d80474c 100644 --- a/security/cases_ediscovery_cases_item_custodians_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_request_builder.go @@ -46,8 +46,8 @@ type CasesEdiscoveryCasesItemCustodiansRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEdiscoveryCustodianIdString provides operations to manage the custodians property of the microsoft.graph.security.ediscoveryCase entity. -func (m *CasesEdiscoveryCasesItemCustodiansRequestBuilder) ByEdiscoveryCustodianIdString(ediscoveryCustodianId string)(*CasesEdiscoveryCasesItemCustodiansEdiscoveryCustodianItemRequestBuilder) { +// ByEdiscoveryCustodianId provides operations to manage the custodians property of the microsoft.graph.security.ediscoveryCase entity. +func (m *CasesEdiscoveryCasesItemCustodiansRequestBuilder) ByEdiscoveryCustodianId(ediscoveryCustodianId string)(*CasesEdiscoveryCasesItemCustodiansEdiscoveryCustodianItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,6 +104,10 @@ func (m *CasesEdiscoveryCasesItemCustodiansRequestBuilder) MicrosoftGraphSecurit func (m *CasesEdiscoveryCasesItemCustodiansRequestBuilder) MicrosoftGraphSecurityRemoveHold()(*CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityRemoveHoldRequestBuilder) { return NewCasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityRemoveHoldRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// MicrosoftGraphSecurityUpdateIndex provides operations to call the updateIndex method. +func (m *CasesEdiscoveryCasesItemCustodiansRequestBuilder) MicrosoftGraphSecurityUpdateIndex()(*CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Post create a new ediscoveryCustodian object.After the custodian object is created, you will need to create the custodian's userSource to reference their mailbox and OneDrive for Business site. // [Find more info here] // @@ -159,3 +163,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansRequestBuilder) ToPostRequestInformat } 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 *CasesEdiscoveryCasesItemCustodiansRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemCustodiansRequestBuilder) { + return NewCasesEdiscoveryCasesItemCustodiansRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_legal_holds_count_request_builder.go b/security/cases_ediscovery_cases_item_legal_holds_count_request_builder.go index 845b67d1ed3..b47f5107d84 100644 --- a/security/cases_ediscovery_cases_item_legal_holds_count_request_builder.go +++ b/security/cases_ediscovery_cases_item_legal_holds_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsCountRequestBuilder) ToGetRequestInfo } 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 *CasesEdiscoveryCasesItemLegalHoldsCountRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemLegalHoldsCountRequestBuilder) { + return NewCasesEdiscoveryCasesItemLegalHoldsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_legal_holds_ediscovery_hold_policy_item_request_builder.go b/security/cases_ediscovery_cases_item_legal_holds_ediscovery_hold_policy_item_request_builder.go index 7f7f8abb364..ee16934b5f1 100644 --- a/security/cases_ediscovery_cases_item_legal_holds_ediscovery_hold_policy_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_legal_holds_ediscovery_hold_policy_item_request_builder.go @@ -161,3 +161,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsEdiscoveryHoldPolicyItemRequestBuilde func (m *CasesEdiscoveryCasesItemLegalHoldsEdiscoveryHoldPolicyItemRequestBuilder) UserSources()(*CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) { return NewCasesEdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *CasesEdiscoveryCasesItemLegalHoldsEdiscoveryHoldPolicyItemRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemLegalHoldsEdiscoveryHoldPolicyItemRequestBuilder) { + return NewCasesEdiscoveryCasesItemLegalHoldsEdiscoveryHoldPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_count_request_builder.go b/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_count_request_builder.go index 99d8bb69cbd..8fe9b944796 100644 --- a/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_count_request_builder.go +++ b/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesCountRequestBuilder) T } 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 *CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesCountRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesCountRequestBuilder) { + return NewCasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_item_site_request_builder.go b/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_item_site_request_builder.go index ddff32ad74e..f4d4f24d033 100644 --- a/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_item_site_request_builder.go +++ b/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_item_site_request_builder.go @@ -75,3 +75,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesItemSiteRequestBuilder } 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 *CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesItemSiteRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesItemSiteRequestBuilder) { + return NewCasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesItemSiteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go b/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go index 2ec3ca3cf30..a5f7a242724 100644 --- a/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go @@ -46,8 +46,8 @@ type CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySiteSourceIdString provides operations to manage the siteSources property of the microsoft.graph.security.ediscoveryHoldPolicy entity. -func (m *CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) BySiteSourceIdString(siteSourceId string)(*CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesSiteSourceItemRequestBuilder) { +// BySiteSourceId provides operations to manage the siteSources property of the microsoft.graph.security.ediscoveryHoldPolicy entity. +func (m *CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) BySiteSourceId(siteSourceId string)(*CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesSiteSourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) ToPost } 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 *CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) { + return NewCasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_site_source_item_request_builder.go b/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_site_source_item_request_builder.go index 22d402ebdf3..b3efdbe7d86 100644 --- a/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_site_source_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_site_source_item_request_builder.go @@ -157,3 +157,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesSiteSourceItemRequestB } 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 *CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesSiteSourceItemRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesSiteSourceItemRequestBuilder) { + return NewCasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesSiteSourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_count_request_builder.go b/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_count_request_builder.go index ccbbe6a8a01..a975f1e4d9d 100644 --- a/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_count_request_builder.go +++ b/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesCountRequestBuilder) T } 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 *CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesCountRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesCountRequestBuilder) { + return NewCasesEdiscoveryCasesItemLegalHoldsItemUserSourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go b/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go index 0148a21e641..ecb24f6ce90 100644 --- a/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go @@ -46,8 +46,8 @@ type CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserSourceIdString provides operations to manage the userSources property of the microsoft.graph.security.ediscoveryHoldPolicy entity. -func (m *CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) ByUserSourceIdString(userSourceId string)(*CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesUserSourceItemRequestBuilder) { +// ByUserSourceId provides operations to manage the userSources property of the microsoft.graph.security.ediscoveryHoldPolicy entity. +func (m *CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) ByUserSourceId(userSourceId string)(*CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesUserSourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) ToPost } 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 *CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) { + return NewCasesEdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_user_source_item_request_builder.go b/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_user_source_item_request_builder.go index ad5d3bc2745..7101f9fb2b4 100644 --- a/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_user_source_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_user_source_item_request_builder.go @@ -153,3 +153,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesUserSourceItemRequestB } 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 *CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesUserSourceItemRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesUserSourceItemRequestBuilder) { + return NewCasesEdiscoveryCasesItemLegalHoldsItemUserSourcesUserSourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_legal_holds_request_builder.go b/security/cases_ediscovery_cases_item_legal_holds_request_builder.go index fa8307c119e..40b566a7acd 100644 --- a/security/cases_ediscovery_cases_item_legal_holds_request_builder.go +++ b/security/cases_ediscovery_cases_item_legal_holds_request_builder.go @@ -46,8 +46,8 @@ type CasesEdiscoveryCasesItemLegalHoldsRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEdiscoveryHoldPolicyIdString provides operations to manage the legalHolds property of the microsoft.graph.security.ediscoveryCase entity. -func (m *CasesEdiscoveryCasesItemLegalHoldsRequestBuilder) ByEdiscoveryHoldPolicyIdString(ediscoveryHoldPolicyId string)(*CasesEdiscoveryCasesItemLegalHoldsEdiscoveryHoldPolicyItemRequestBuilder) { +// ByEdiscoveryHoldPolicyId provides operations to manage the legalHolds property of the microsoft.graph.security.ediscoveryCase entity. +func (m *CasesEdiscoveryCasesItemLegalHoldsRequestBuilder) ByEdiscoveryHoldPolicyId(ediscoveryHoldPolicyId string)(*CasesEdiscoveryCasesItemLegalHoldsEdiscoveryHoldPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsRequestBuilder) ToPostRequestInformat } 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 *CasesEdiscoveryCasesItemLegalHoldsRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemLegalHoldsRequestBuilder) { + return NewCasesEdiscoveryCasesItemLegalHoldsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_microsoft_graph_security_close_request_builder.go b/security/cases_ediscovery_cases_item_microsoft_graph_security_close_request_builder.go index ec7c390a721..14d190d4380 100644 --- a/security/cases_ediscovery_cases_item_microsoft_graph_security_close_request_builder.go +++ b/security/cases_ediscovery_cases_item_microsoft_graph_security_close_request_builder.go @@ -61,3 +61,7 @@ func (m *CasesEdiscoveryCasesItemMicrosoftGraphSecurityCloseRequestBuilder) ToPo } 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 *CasesEdiscoveryCasesItemMicrosoftGraphSecurityCloseRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemMicrosoftGraphSecurityCloseRequestBuilder) { + return NewCasesEdiscoveryCasesItemMicrosoftGraphSecurityCloseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_microsoft_graph_security_reopen_request_builder.go b/security/cases_ediscovery_cases_item_microsoft_graph_security_reopen_request_builder.go index 97d82b04ac4..94743e05996 100644 --- a/security/cases_ediscovery_cases_item_microsoft_graph_security_reopen_request_builder.go +++ b/security/cases_ediscovery_cases_item_microsoft_graph_security_reopen_request_builder.go @@ -61,3 +61,7 @@ func (m *CasesEdiscoveryCasesItemMicrosoftGraphSecurityReopenRequestBuilder) 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 *CasesEdiscoveryCasesItemMicrosoftGraphSecurityReopenRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemMicrosoftGraphSecurityReopenRequestBuilder) { + return NewCasesEdiscoveryCasesItemMicrosoftGraphSecurityReopenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_count_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_count_request_builder.go index 7180181e895..0ba16b0ca1b 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_count_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesCountRequestBuilder) ToG } 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 *CasesEdiscoveryCasesItemNoncustodialDataSourcesCountRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemNoncustodialDataSourcesCountRequestBuilder) { + return NewCasesEdiscoveryCasesItemNoncustodialDataSourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_ediscovery_noncustodial_data_source_item_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_ediscovery_noncustodial_data_source_item_request_builder.go index 815e34d3520..a77133a4177 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_ediscovery_noncustodial_data_source_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_ediscovery_noncustodial_data_source_item_request_builder.go @@ -177,3 +177,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesEdiscoveryNoncustodialDa } 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 *CasesEdiscoveryCasesItemNoncustodialDataSourcesEdiscoveryNoncustodialDataSourceItemRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemNoncustodialDataSourcesEdiscoveryNoncustodialDataSourceItemRequestBuilder) { + return NewCasesEdiscoveryCasesItemNoncustodialDataSourcesEdiscoveryNoncustodialDataSourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_data_source_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_data_source_request_builder.go index 22ab2950550..cf472cfd3ed 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_data_source_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_data_source_request_builder.go @@ -153,3 +153,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBui } 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 *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBuilder) { + return NewCasesEdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_last_index_operation_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_last_index_operation_request_builder.go index 9109cd29902..909cd46f184 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_last_index_operation_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_last_index_operation_request_builder.go @@ -75,3 +75,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemLastIndexOperationRe } 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 *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemLastIndexOperationRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemNoncustodialDataSourcesItemLastIndexOperationRequestBuilder) { + return NewCasesEdiscoveryCasesItemNoncustodialDataSourcesItemLastIndexOperationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_apply_hold_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_apply_hold_request_builder.go index cc6da740bc8..2879b18ece8 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_apply_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_apply_hold_request_builder.go @@ -30,7 +30,7 @@ func NewCasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurit urlParams["request-raw-url"] = rawUrl return NewCasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityApplyHoldRequestBuilderInternal(urlParams, requestAdapter) } -// Post start the process of applying hold on eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. +// Post start the process of applying hold on eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverynoncustodialdatasource-applyhold?view=graph-rest-1.0 @@ -49,7 +49,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecuri } return nil } -// ToPostRequestInformation start the process of applying hold on eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. +// ToPostRequestInformation start the process of applying hold on eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityApplyHoldRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityApplyHoldRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -61,3 +61,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecuri } 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 *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityApplyHoldRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityApplyHoldRequestBuilder) { + return NewCasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityApplyHoldRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_release_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_release_request_builder.go index c862d59296f..c4ed3e42cf4 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_release_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_release_request_builder.go @@ -61,3 +61,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecuri } 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 *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityReleaseRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityReleaseRequestBuilder) { + return NewCasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityReleaseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_remove_hold_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_remove_hold_request_builder.go index a2c1f81678b..f4e8b6c8bb2 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_remove_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_remove_hold_request_builder.go @@ -30,7 +30,7 @@ func NewCasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurit urlParams["request-raw-url"] = rawUrl return NewCasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityRemoveHoldRequestBuilderInternal(urlParams, requestAdapter) } -// Post start the process of removing hold from eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. +// Post start the process of removing hold from eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverynoncustodialdatasource-removehold?view=graph-rest-1.0 @@ -49,7 +49,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecuri } return nil } -// ToPostRequestInformation start the process of removing hold from eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. +// ToPostRequestInformation start the process of removing hold from eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityRemoveHoldRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityRemoveHoldRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -61,3 +61,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecuri } 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 *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityRemoveHoldRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityRemoveHoldRequestBuilder) { + return NewCasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityRemoveHoldRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_update_index_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_update_index_request_builder.go index 0c60bce4dee..1ee1441d2ab 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_update_index_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_update_index_request_builder.go @@ -61,3 +61,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecuri } 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 *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityUpdateIndexRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityUpdateIndexRequestBuilder) { + return NewCasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityUpdateIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_apply_hold_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_apply_hold_request_builder.go index e18188d4f80..c05d2f379c4 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_apply_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_apply_hold_request_builder.go @@ -65,3 +65,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityAp } 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 *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityApplyHoldRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityApplyHoldRequestBuilder) { + return NewCasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityApplyHoldRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_remove_hold_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_remove_hold_request_builder.go index 2640dd02cfd..80a7eb8c413 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_remove_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_remove_hold_request_builder.go @@ -65,3 +65,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityRe } 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 *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityRemoveHoldRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityRemoveHoldRequestBuilder) { + return NewCasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityRemoveHoldRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_update_index_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_update_index_request_builder.go new file mode 100644 index 00000000000..c6168b84eab --- /dev/null +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_update_index_request_builder.go @@ -0,0 +1,68 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilder provides operations to call the updateIndex method. +type CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewCasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilderInternal instantiates a new MicrosoftGraphSecurityUpdateIndexRequestBuilder and sets the default values. +func NewCasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilder) { + m := &CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/cases/ediscoveryCases/{ediscoveryCase%2Did}/noncustodialDataSources/microsoft.graph.security.updateIndex", pathParameters), + } + return m +} +// NewCasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilder instantiates a new MicrosoftGraphSecurityUpdateIndexRequestBuilder and sets the default values. +func NewCasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action updateIndex +func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilder) Post(ctx context.Context, body CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action updateIndex +func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilder) ToPostRequestInformation(ctx context.Context, body CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilder) { + return NewCasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_update_index_update_index_post_request_body.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_update_index_update_index_post_request_body.go new file mode 100644 index 00000000000..79d4d260607 --- /dev/null +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_update_index_update_index_post_request_body.go @@ -0,0 +1,116 @@ +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +// CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody +type CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewCasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody instantiates a new CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody and sets the default values. +func NewCasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody()(*CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody) { + m := &CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateCasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateCasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody(), nil +} +// GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the backingStore property value. Stores model information. +func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["ids"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetIds(res) + } + return nil + } + return res +} +// GetIds gets the ids property value. The ids property +func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody) GetIds()([]string) { + val, err := m.GetBackingStore().Get("ids") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetIds() != nil { + err := writer.WriteCollectionOfStringValues("ids", m.GetIds()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the backingStore property value. Stores model information. +func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIds sets the ids property value. The ids property +func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBody) SetIds(value []string)() { + err := m.GetBackingStore().Set("ids", value) + if err != nil { + panic(err) + } +} +// CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBodyable +type CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIds()([]string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIds(value []string)() +} diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_request_builder.go index b88dcf8cccd..8b5a333526b 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_request_builder.go @@ -46,8 +46,8 @@ type CasesEdiscoveryCasesItemNoncustodialDataSourcesRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEdiscoveryNoncustodialDataSourceIdString provides operations to manage the noncustodialDataSources property of the microsoft.graph.security.ediscoveryCase entity. -func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) ByEdiscoveryNoncustodialDataSourceIdString(ediscoveryNoncustodialDataSourceId string)(*CasesEdiscoveryCasesItemNoncustodialDataSourcesEdiscoveryNoncustodialDataSourceItemRequestBuilder) { +// ByEdiscoveryNoncustodialDataSourceId provides operations to manage the noncustodialDataSources property of the microsoft.graph.security.ediscoveryCase entity. +func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) ByEdiscoveryNoncustodialDataSourceId(ediscoveryNoncustodialDataSourceId string)(*CasesEdiscoveryCasesItemNoncustodialDataSourcesEdiscoveryNoncustodialDataSourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -101,6 +101,10 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) Microsof func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) MicrosoftGraphSecurityRemoveHold()(*CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityRemoveHoldRequestBuilder) { return NewCasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityRemoveHoldRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// MicrosoftGraphSecurityUpdateIndex provides operations to call the updateIndex method. +func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) MicrosoftGraphSecurityUpdateIndex()(*CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilder) { + return NewCasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Post create a new ediscoveryNoncustodialDataSource object. // [Find more info here] // @@ -156,3 +160,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) ToPostRe } 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 *CasesEdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) { + return NewCasesEdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_operations_case_operation_item_request_builder.go b/security/cases_ediscovery_cases_item_operations_case_operation_item_request_builder.go index 0fe56b1b345..c338e047053 100644 --- a/security/cases_ediscovery_cases_item_operations_case_operation_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_operations_case_operation_item_request_builder.go @@ -156,3 +156,7 @@ func (m *CasesEdiscoveryCasesItemOperationsCaseOperationItemRequestBuilder) ToPa } 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 *CasesEdiscoveryCasesItemOperationsCaseOperationItemRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemOperationsCaseOperationItemRequestBuilder) { + return NewCasesEdiscoveryCasesItemOperationsCaseOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_operations_count_request_builder.go b/security/cases_ediscovery_cases_item_operations_count_request_builder.go index 237149f6c00..ea37ed65f33 100644 --- a/security/cases_ediscovery_cases_item_operations_count_request_builder.go +++ b/security/cases_ediscovery_cases_item_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CasesEdiscoveryCasesItemOperationsCountRequestBuilder) ToGetRequestInfo } 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 *CasesEdiscoveryCasesItemOperationsCountRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemOperationsCountRequestBuilder) { + return NewCasesEdiscoveryCasesItemOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_operations_request_builder.go b/security/cases_ediscovery_cases_item_operations_request_builder.go index bda0f9ddf83..820f982b431 100644 --- a/security/cases_ediscovery_cases_item_operations_request_builder.go +++ b/security/cases_ediscovery_cases_item_operations_request_builder.go @@ -46,8 +46,8 @@ type CasesEdiscoveryCasesItemOperationsRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCaseOperationIdString provides operations to manage the operations property of the microsoft.graph.security.ediscoveryCase entity. -func (m *CasesEdiscoveryCasesItemOperationsRequestBuilder) ByCaseOperationIdString(caseOperationId string)(*CasesEdiscoveryCasesItemOperationsCaseOperationItemRequestBuilder) { +// ByCaseOperationId provides operations to manage the operations property of the microsoft.graph.security.ediscoveryCase entity. +func (m *CasesEdiscoveryCasesItemOperationsRequestBuilder) ByCaseOperationId(caseOperationId string)(*CasesEdiscoveryCasesItemOperationsCaseOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *CasesEdiscoveryCasesItemOperationsRequestBuilder) ToPostRequestInformat } 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 *CasesEdiscoveryCasesItemOperationsRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemOperationsRequestBuilder) { + return NewCasesEdiscoveryCasesItemOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_review_sets_count_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_count_request_builder.go index 2602e40986d..31ef47d6b5a 100644 --- a/security/cases_ediscovery_cases_item_review_sets_count_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsCountRequestBuilder) ToGetRequestInfo } 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 *CasesEdiscoveryCasesItemReviewSetsCountRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemReviewSetsCountRequestBuilder) { + return NewCasesEdiscoveryCasesItemReviewSetsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_review_sets_ediscovery_review_set_item_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_ediscovery_review_set_item_request_builder.go index 9539f8f9c1f..442fa5952e1 100644 --- a/security/cases_ediscovery_cases_item_review_sets_ediscovery_review_set_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_ediscovery_review_set_item_request_builder.go @@ -172,3 +172,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsEdiscoveryReviewSetItemRequestBuilder } 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 *CasesEdiscoveryCasesItemReviewSetsEdiscoveryReviewSetItemRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemReviewSetsEdiscoveryReviewSetItemRequestBuilder) { + return NewCasesEdiscoveryCasesItemReviewSetsEdiscoveryReviewSetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_review_sets_item_files_count_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_files_count_request_builder.go index f7ece4a6135..9b7cd25e070 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_files_count_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_files_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesCountRequestBuilder) ToGetRe } 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 *CasesEdiscoveryCasesItemReviewSetsItemFilesCountRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemReviewSetsItemFilesCountRequestBuilder) { + return NewCasesEdiscoveryCasesItemReviewSetsItemFilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_review_sets_item_files_ediscovery_file_item_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_files_ediscovery_file_item_request_builder.go index bdbc4365b8a..52e33dfda4d 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_files_ediscovery_file_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_files_ediscovery_file_item_request_builder.go @@ -172,3 +172,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesEdiscoveryFileItemRequestBui } 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 *CasesEdiscoveryCasesItemReviewSetsItemFilesEdiscoveryFileItemRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemReviewSetsItemFilesEdiscoveryFileItemRequestBuilder) { + return NewCasesEdiscoveryCasesItemReviewSetsItemFilesEdiscoveryFileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_review_sets_item_files_item_content_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_files_item_content_request_builder.go index c2324e35038..55e072ec60b 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_files_item_content_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_files_item_content_request_builder.go @@ -105,3 +105,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesItemContentRequestBuilder) T } 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 *CasesEdiscoveryCasesItemReviewSetsItemFilesItemContentRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemReviewSetsItemFilesItemContentRequestBuilder) { + return NewCasesEdiscoveryCasesItemReviewSetsItemFilesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_review_sets_item_files_item_custodian_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_files_item_custodian_request_builder.go index 3d79ea54636..b186e6a7d09 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_files_item_custodian_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_files_item_custodian_request_builder.go @@ -75,3 +75,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesItemCustodianRequestBuilder) } 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 *CasesEdiscoveryCasesItemReviewSetsItemFilesItemCustodianRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemReviewSetsItemFilesItemCustodianRequestBuilder) { + return NewCasesEdiscoveryCasesItemReviewSetsItemFilesItemCustodianRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_review_sets_item_files_item_extracted_text_content_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_files_item_extracted_text_content_request_builder.go index dec337c38ea..e2b7e0f2288 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_files_item_extracted_text_content_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_files_item_extracted_text_content_request_builder.go @@ -103,3 +103,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesItemExtractedTextContentRequ } 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 *CasesEdiscoveryCasesItemReviewSetsItemFilesItemExtractedTextContentRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemReviewSetsItemFilesItemExtractedTextContentRequestBuilder) { + return NewCasesEdiscoveryCasesItemReviewSetsItemFilesItemExtractedTextContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_review_sets_item_files_item_tags_count_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_files_item_tags_count_request_builder.go index 8627d94b728..780564f2e9e 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_files_item_tags_count_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_files_item_tags_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesItemTagsCountRequestBuilder) } 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 *CasesEdiscoveryCasesItemReviewSetsItemFilesItemTagsCountRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemReviewSetsItemFilesItemTagsCountRequestBuilder) { + return NewCasesEdiscoveryCasesItemReviewSetsItemFilesItemTagsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_review_sets_item_files_item_tags_ediscovery_review_tag_item_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_files_item_tags_ediscovery_review_tag_item_request_builder.go index 331ac1af74f..e265598ccaf 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_files_item_tags_ediscovery_review_tag_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_files_item_tags_ediscovery_review_tag_item_request_builder.go @@ -75,3 +75,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesItemTagsEdiscoveryReviewTagI } 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 *CasesEdiscoveryCasesItemReviewSetsItemFilesItemTagsEdiscoveryReviewTagItemRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemReviewSetsItemFilesItemTagsEdiscoveryReviewTagItemRequestBuilder) { + return NewCasesEdiscoveryCasesItemReviewSetsItemFilesItemTagsEdiscoveryReviewTagItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_review_sets_item_files_item_tags_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_files_item_tags_request_builder.go index 464e3c7766b..d1ed210c6aa 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_files_item_tags_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_files_item_tags_request_builder.go @@ -39,8 +39,8 @@ type CasesEdiscoveryCasesItemReviewSetsItemFilesItemTagsRequestBuilderGetRequest // Request query parameters QueryParameters *CasesEdiscoveryCasesItemReviewSetsItemFilesItemTagsRequestBuilderGetQueryParameters } -// ByEdiscoveryReviewTagIdString provides operations to manage the tags property of the microsoft.graph.security.ediscoveryFile entity. -func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesItemTagsRequestBuilder) ByEdiscoveryReviewTagIdString(ediscoveryReviewTagId string)(*CasesEdiscoveryCasesItemReviewSetsItemFilesItemTagsEdiscoveryReviewTagItemRequestBuilder) { +// ByEdiscoveryReviewTagId provides operations to manage the tags property of the microsoft.graph.security.ediscoveryFile entity. +func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesItemTagsRequestBuilder) ByEdiscoveryReviewTagId(ediscoveryReviewTagId string)(*CasesEdiscoveryCasesItemReviewSetsItemFilesItemTagsEdiscoveryReviewTagItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesItemTagsRequestBuilder) ToGe } 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 *CasesEdiscoveryCasesItemReviewSetsItemFilesItemTagsRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemReviewSetsItemFilesItemTagsRequestBuilder) { + return NewCasesEdiscoveryCasesItemReviewSetsItemFilesItemTagsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_review_sets_item_files_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_files_request_builder.go index 8a289ffc43c..e81554eb708 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_files_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_files_request_builder.go @@ -46,8 +46,8 @@ type CasesEdiscoveryCasesItemReviewSetsItemFilesRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEdiscoveryFileIdString provides operations to manage the files property of the microsoft.graph.security.ediscoveryReviewSet entity. -func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesRequestBuilder) ByEdiscoveryFileIdString(ediscoveryFileId string)(*CasesEdiscoveryCasesItemReviewSetsItemFilesEdiscoveryFileItemRequestBuilder) { +// ByEdiscoveryFileId provides operations to manage the files property of the microsoft.graph.security.ediscoveryReviewSet entity. +func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesRequestBuilder) ByEdiscoveryFileId(ediscoveryFileId string)(*CasesEdiscoveryCasesItemReviewSetsItemFilesEdiscoveryFileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesRequestBuilder) ToPostReques } 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 *CasesEdiscoveryCasesItemReviewSetsItemFilesRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemReviewSetsItemFilesRequestBuilder) { + return NewCasesEdiscoveryCasesItemReviewSetsItemFilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_add_to_review_set_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_add_to_review_set_request_builder.go index 1f4dd8b7a89..86804e2bf9e 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_add_to_review_set_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_add_to_review_set_request_builder.go @@ -65,3 +65,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemMicrosoftGraphSecurityAddToReview } 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 *CasesEdiscoveryCasesItemReviewSetsItemMicrosoftGraphSecurityAddToReviewSetRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemReviewSetsItemMicrosoftGraphSecurityAddToReviewSetRequestBuilder) { + return NewCasesEdiscoveryCasesItemReviewSetsItemMicrosoftGraphSecurityAddToReviewSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_export_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_export_request_builder.go index 3c27b3c0c92..337956d3e95 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_export_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_export_request_builder.go @@ -65,3 +65,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemMicrosoftGraphSecurityExportReque } 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 *CasesEdiscoveryCasesItemReviewSetsItemMicrosoftGraphSecurityExportRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemReviewSetsItemMicrosoftGraphSecurityExportRequestBuilder) { + return NewCasesEdiscoveryCasesItemReviewSetsItemMicrosoftGraphSecurityExportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_review_sets_item_queries_count_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_queries_count_request_builder.go index 635c7d1f533..080cf5bc1ac 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_queries_count_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_queries_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesCountRequestBuilder) ToGet } 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 *CasesEdiscoveryCasesItemReviewSetsItemQueriesCountRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemReviewSetsItemQueriesCountRequestBuilder) { + return NewCasesEdiscoveryCasesItemReviewSetsItemQueriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_review_sets_item_queries_ediscovery_review_set_query_item_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_queries_ediscovery_review_set_query_item_request_builder.go index d759e7e553a..037ec6ccf46 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_queries_ediscovery_review_set_query_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_queries_ediscovery_review_set_query_item_request_builder.go @@ -174,3 +174,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryIt } 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 *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilder) { + return NewCasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_apply_tags_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_apply_tags_request_builder.go index e0fe5181e94..4725898adf5 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_apply_tags_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_apply_tags_request_builder.go @@ -65,3 +65,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurity } 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 *CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityApplyTagsRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityApplyTagsRequestBuilder) { + return NewCasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityApplyTagsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_export_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_export_request_builder.go index 5dc2cffa89b..37bd346698e 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_export_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_export_request_builder.go @@ -65,3 +65,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurity } 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 *CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityExportRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityExportRequestBuilder) { + return NewCasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityExportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_run_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_run_request_builder.go index 873b4f5d698..fe6c9909478 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_run_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_run_request_builder.go @@ -84,3 +84,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurity } 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 *CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityRunRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityRunRequestBuilder) { + return NewCasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityRunRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_review_sets_item_queries_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_queries_request_builder.go index 9abc3951129..9b2093ad81d 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_queries_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_queries_request_builder.go @@ -46,8 +46,8 @@ type CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEdiscoveryReviewSetQueryIdString provides operations to manage the queries property of the microsoft.graph.security.ediscoveryReviewSet entity. -func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) ByEdiscoveryReviewSetQueryIdString(ediscoveryReviewSetQueryId string)(*CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilder) { +// ByEdiscoveryReviewSetQueryId provides operations to manage the queries property of the microsoft.graph.security.ediscoveryReviewSet entity. +func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) ByEdiscoveryReviewSetQueryId(ediscoveryReviewSetQueryId string)(*CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) ToPostRequ } 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 *CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) { + return NewCasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_review_sets_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_request_builder.go index f5ba41ebc18..a318401514c 100644 --- a/security/cases_ediscovery_cases_item_review_sets_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_request_builder.go @@ -46,8 +46,8 @@ type CasesEdiscoveryCasesItemReviewSetsRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEdiscoveryReviewSetIdString provides operations to manage the reviewSets property of the microsoft.graph.security.ediscoveryCase entity. -func (m *CasesEdiscoveryCasesItemReviewSetsRequestBuilder) ByEdiscoveryReviewSetIdString(ediscoveryReviewSetId string)(*CasesEdiscoveryCasesItemReviewSetsEdiscoveryReviewSetItemRequestBuilder) { +// ByEdiscoveryReviewSetId provides operations to manage the reviewSets property of the microsoft.graph.security.ediscoveryCase entity. +func (m *CasesEdiscoveryCasesItemReviewSetsRequestBuilder) ByEdiscoveryReviewSetId(ediscoveryReviewSetId string)(*CasesEdiscoveryCasesItemReviewSetsEdiscoveryReviewSetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsRequestBuilder) ToPostRequestInformat } 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 *CasesEdiscoveryCasesItemReviewSetsRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemReviewSetsRequestBuilder) { + return NewCasesEdiscoveryCasesItemReviewSetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_searches_count_request_builder.go b/security/cases_ediscovery_cases_item_searches_count_request_builder.go index d790d4bdf17..3b80ca3e4be 100644 --- a/security/cases_ediscovery_cases_item_searches_count_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CasesEdiscoveryCasesItemSearchesCountRequestBuilder) ToGetRequestInform } 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 *CasesEdiscoveryCasesItemSearchesCountRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemSearchesCountRequestBuilder) { + return NewCasesEdiscoveryCasesItemSearchesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_searches_ediscovery_search_item_request_builder.go b/security/cases_ediscovery_cases_item_searches_ediscovery_search_item_request_builder.go index 2be7505cac6..025701fd321 100644 --- a/security/cases_ediscovery_cases_item_searches_ediscovery_search_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_ediscovery_search_item_request_builder.go @@ -190,3 +190,7 @@ func (m *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) 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 *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) { + return NewCasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_searches_item_add_to_review_set_operation_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_add_to_review_set_operation_request_builder.go index 87c31764e11..50900fb94e4 100644 --- a/security/cases_ediscovery_cases_item_searches_item_add_to_review_set_operation_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_add_to_review_set_operation_request_builder.go @@ -75,3 +75,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemAddToReviewSetOperationRequestBuild } 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 *CasesEdiscoveryCasesItemSearchesItemAddToReviewSetOperationRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemSearchesItemAddToReviewSetOperationRequestBuilder) { + return NewCasesEdiscoveryCasesItemSearchesItemAddToReviewSetOperationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_searches_item_additional_sources_count_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_additional_sources_count_request_builder.go index 895e2b70d17..e6193e6a569 100644 --- a/security/cases_ediscovery_cases_item_searches_item_additional_sources_count_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_additional_sources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesCountRequestBuilde } 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 *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesCountRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesCountRequestBuilder) { + return NewCasesEdiscoveryCasesItemSearchesItemAdditionalSourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_searches_item_additional_sources_data_source_item_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_additional_sources_data_source_item_request_builder.go index e141bd7740d..4a810b9edb2 100644 --- a/security/cases_ediscovery_cases_item_searches_item_additional_sources_data_source_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_additional_sources_data_source_item_request_builder.go @@ -153,3 +153,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesDataSourceItemRequ } 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 *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesDataSourceItemRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesDataSourceItemRequestBuilder) { + return NewCasesEdiscoveryCasesItemSearchesItemAdditionalSourcesDataSourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_searches_item_additional_sources_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_additional_sources_request_builder.go index ddf2841ff0e..ddd37c10b96 100644 --- a/security/cases_ediscovery_cases_item_searches_item_additional_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_additional_sources_request_builder.go @@ -46,8 +46,8 @@ type CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilderPostRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDataSourceIdString provides operations to manage the additionalSources property of the microsoft.graph.security.ediscoverySearch entity. -func (m *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilder) ByDataSourceIdString(dataSourceId string)(*CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesDataSourceItemRequestBuilder) { +// ByDataSourceId provides operations to manage the additionalSources property of the microsoft.graph.security.ediscoverySearch entity. +func (m *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilder) ByDataSourceId(dataSourceId string)(*CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesDataSourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilder) To } 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 *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilder) { + return NewCasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_searches_item_custodian_sources_count_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_custodian_sources_count_request_builder.go index b22315e1e3d..e1587c617e1 100644 --- a/security/cases_ediscovery_cases_item_searches_item_custodian_sources_count_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_custodian_sources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemCustodianSourcesCountRequestBuilder } 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 *CasesEdiscoveryCasesItemSearchesItemCustodianSourcesCountRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemSearchesItemCustodianSourcesCountRequestBuilder) { + return NewCasesEdiscoveryCasesItemSearchesItemCustodianSourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_searches_item_custodian_sources_data_source_item_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_custodian_sources_data_source_item_request_builder.go index 9575337c040..c04fd9adda1 100644 --- a/security/cases_ediscovery_cases_item_searches_item_custodian_sources_data_source_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_custodian_sources_data_source_item_request_builder.go @@ -113,3 +113,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemCustodianSourcesDataSourceItemReque } 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 *CasesEdiscoveryCasesItemSearchesItemCustodianSourcesDataSourceItemRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemSearchesItemCustodianSourcesDataSourceItemRequestBuilder) { + return NewCasesEdiscoveryCasesItemSearchesItemCustodianSourcesDataSourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_searches_item_custodian_sources_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_custodian_sources_request_builder.go index a4ddc827c3e..2c474fd1c50 100644 --- a/security/cases_ediscovery_cases_item_searches_item_custodian_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_custodian_sources_request_builder.go @@ -39,8 +39,8 @@ type CasesEdiscoveryCasesItemSearchesItemCustodianSourcesRequestBuilderGetReques // Request query parameters QueryParameters *CasesEdiscoveryCasesItemSearchesItemCustodianSourcesRequestBuilderGetQueryParameters } -// ByDataSourceIdString provides operations to manage the custodianSources property of the microsoft.graph.security.ediscoverySearch entity. -func (m *CasesEdiscoveryCasesItemSearchesItemCustodianSourcesRequestBuilder) ByDataSourceIdString(dataSourceId string)(*CasesEdiscoveryCasesItemSearchesItemCustodianSourcesDataSourceItemRequestBuilder) { +// ByDataSourceId provides operations to manage the custodianSources property of the microsoft.graph.security.ediscoverySearch entity. +func (m *CasesEdiscoveryCasesItemSearchesItemCustodianSourcesRequestBuilder) ByDataSourceId(dataSourceId string)(*CasesEdiscoveryCasesItemSearchesItemCustodianSourcesDataSourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemCustodianSourcesRequestBuilder) ToG } 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 *CasesEdiscoveryCasesItemSearchesItemCustodianSourcesRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemSearchesItemCustodianSourcesRequestBuilder) { + return NewCasesEdiscoveryCasesItemSearchesItemCustodianSourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_searches_item_last_estimate_statistics_operation_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_last_estimate_statistics_operation_request_builder.go index 2d9d3e013f4..e1d9f984fb1 100644 --- a/security/cases_ediscovery_cases_item_searches_item_last_estimate_statistics_operation_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_last_estimate_statistics_operation_request_builder.go @@ -78,3 +78,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemLastEstimateStatisticsOperationRequ } 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 *CasesEdiscoveryCasesItemSearchesItemLastEstimateStatisticsOperationRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemSearchesItemLastEstimateStatisticsOperationRequestBuilder) { + return NewCasesEdiscoveryCasesItemSearchesItemLastEstimateStatisticsOperationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_estimate_statistics_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_estimate_statistics_request_builder.go index 5fafe55b179..cc1e52ef094 100644 --- a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_estimate_statistics_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_estimate_statistics_request_builder.go @@ -61,3 +61,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityEstimateStati } 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 *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityEstimateStatisticsRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityEstimateStatisticsRequestBuilder) { + return NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityEstimateStatisticsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_purge_data_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_purge_data_request_builder.go index 5edd749944e..6c2a0ecfb22 100644 --- a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_purge_data_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_purge_data_request_builder.go @@ -65,3 +65,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityPurgeDataRequ } 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 *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityPurgeDataRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityPurgeDataRequestBuilder) { + return NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityPurgeDataRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_searches_item_noncustodial_sources_count_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_noncustodial_sources_count_request_builder.go index ae9d6adf495..b49c8cfaff7 100644 --- a/security/cases_ediscovery_cases_item_searches_item_noncustodial_sources_count_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_noncustodial_sources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesCountRequestBuil } 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 *CasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesCountRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesCountRequestBuilder) { + return NewCasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_searches_item_noncustodial_sources_ediscovery_noncustodial_data_source_item_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_noncustodial_sources_ediscovery_noncustodial_data_source_item_request_builder.go index dfc9d156568..606d0832aaa 100644 --- a/security/cases_ediscovery_cases_item_searches_item_noncustodial_sources_ediscovery_noncustodial_data_source_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_noncustodial_sources_ediscovery_noncustodial_data_source_item_request_builder.go @@ -113,3 +113,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesEdiscoveryNoncus } 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 *CasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesEdiscoveryNoncustodialDataSourceItemRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesEdiscoveryNoncustodialDataSourceItemRequestBuilder) { + return NewCasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesEdiscoveryNoncustodialDataSourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_searches_item_noncustodial_sources_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_noncustodial_sources_request_builder.go index dd3493ed0bf..415304f93c7 100644 --- a/security/cases_ediscovery_cases_item_searches_item_noncustodial_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_noncustodial_sources_request_builder.go @@ -39,8 +39,8 @@ type CasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesRequestBuilderGetReq // Request query parameters QueryParameters *CasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesRequestBuilderGetQueryParameters } -// ByEdiscoveryNoncustodialDataSourceIdString provides operations to manage the noncustodialSources property of the microsoft.graph.security.ediscoverySearch entity. -func (m *CasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesRequestBuilder) ByEdiscoveryNoncustodialDataSourceIdString(ediscoveryNoncustodialDataSourceId string)(*CasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesEdiscoveryNoncustodialDataSourceItemRequestBuilder) { +// ByEdiscoveryNoncustodialDataSourceId provides operations to manage the noncustodialSources property of the microsoft.graph.security.ediscoverySearch entity. +func (m *CasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesRequestBuilder) ByEdiscoveryNoncustodialDataSourceId(ediscoveryNoncustodialDataSourceId string)(*CasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesEdiscoveryNoncustodialDataSourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesRequestBuilder) } 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 *CasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesRequestBuilder) { + return NewCasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_searches_request_builder.go b/security/cases_ediscovery_cases_item_searches_request_builder.go index 9f6ebbfbecc..5da944ec1bc 100644 --- a/security/cases_ediscovery_cases_item_searches_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_request_builder.go @@ -46,8 +46,8 @@ type CasesEdiscoveryCasesItemSearchesRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEdiscoverySearchIdString provides operations to manage the searches property of the microsoft.graph.security.ediscoveryCase entity. -func (m *CasesEdiscoveryCasesItemSearchesRequestBuilder) ByEdiscoverySearchIdString(ediscoverySearchId string)(*CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) { +// ByEdiscoverySearchId provides operations to manage the searches property of the microsoft.graph.security.ediscoveryCase entity. +func (m *CasesEdiscoveryCasesItemSearchesRequestBuilder) ByEdiscoverySearchId(ediscoverySearchId string)(*CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *CasesEdiscoveryCasesItemSearchesRequestBuilder) ToPostRequestInformatio } 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 *CasesEdiscoveryCasesItemSearchesRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemSearchesRequestBuilder) { + return NewCasesEdiscoveryCasesItemSearchesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_settings_microsoft_graph_security_reset_to_default_request_builder.go b/security/cases_ediscovery_cases_item_settings_microsoft_graph_security_reset_to_default_request_builder.go index 041ecf953d3..203a54eb2f2 100644 --- a/security/cases_ediscovery_cases_item_settings_microsoft_graph_security_reset_to_default_request_builder.go +++ b/security/cases_ediscovery_cases_item_settings_microsoft_graph_security_reset_to_default_request_builder.go @@ -61,3 +61,7 @@ func (m *CasesEdiscoveryCasesItemSettingsMicrosoftGraphSecurityResetToDefaultReq } 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 *CasesEdiscoveryCasesItemSettingsMicrosoftGraphSecurityResetToDefaultRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemSettingsMicrosoftGraphSecurityResetToDefaultRequestBuilder) { + return NewCasesEdiscoveryCasesItemSettingsMicrosoftGraphSecurityResetToDefaultRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_settings_request_builder.go b/security/cases_ediscovery_cases_item_settings_request_builder.go index 710bf9bf158..d1acfedef79 100644 --- a/security/cases_ediscovery_cases_item_settings_request_builder.go +++ b/security/cases_ediscovery_cases_item_settings_request_builder.go @@ -163,3 +163,7 @@ func (m *CasesEdiscoveryCasesItemSettingsRequestBuilder) ToPatchRequestInformati } 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 *CasesEdiscoveryCasesItemSettingsRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemSettingsRequestBuilder) { + return NewCasesEdiscoveryCasesItemSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_tags_count_request_builder.go b/security/cases_ediscovery_cases_item_tags_count_request_builder.go index f8433f6d994..627886b6ce8 100644 --- a/security/cases_ediscovery_cases_item_tags_count_request_builder.go +++ b/security/cases_ediscovery_cases_item_tags_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CasesEdiscoveryCasesItemTagsCountRequestBuilder) 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 *CasesEdiscoveryCasesItemTagsCountRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemTagsCountRequestBuilder) { + return NewCasesEdiscoveryCasesItemTagsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_tags_ediscovery_review_tag_item_request_builder.go b/security/cases_ediscovery_cases_item_tags_ediscovery_review_tag_item_request_builder.go index d5ff019b9ce..0b747f714ba 100644 --- a/security/cases_ediscovery_cases_item_tags_ediscovery_review_tag_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_tags_ediscovery_review_tag_item_request_builder.go @@ -170,3 +170,7 @@ func (m *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilder) ToPa } 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 *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilder) { + return NewCasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_tags_item_child_tags_count_request_builder.go b/security/cases_ediscovery_cases_item_tags_item_child_tags_count_request_builder.go index a8397b107a9..9c68521d669 100644 --- a/security/cases_ediscovery_cases_item_tags_item_child_tags_count_request_builder.go +++ b/security/cases_ediscovery_cases_item_tags_item_child_tags_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CasesEdiscoveryCasesItemTagsItemChildTagsCountRequestBuilder) ToGetRequ } 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 *CasesEdiscoveryCasesItemTagsItemChildTagsCountRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemTagsItemChildTagsCountRequestBuilder) { + return NewCasesEdiscoveryCasesItemTagsItemChildTagsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_tags_item_child_tags_ediscovery_review_tag_item_request_builder.go b/security/cases_ediscovery_cases_item_tags_item_child_tags_ediscovery_review_tag_item_request_builder.go index 883bebb616a..6fef3ab173e 100644 --- a/security/cases_ediscovery_cases_item_tags_item_child_tags_ediscovery_review_tag_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_tags_item_child_tags_ediscovery_review_tag_item_request_builder.go @@ -75,3 +75,7 @@ func (m *CasesEdiscoveryCasesItemTagsItemChildTagsEdiscoveryReviewTagItemRequest } 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 *CasesEdiscoveryCasesItemTagsItemChildTagsEdiscoveryReviewTagItemRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemTagsItemChildTagsEdiscoveryReviewTagItemRequestBuilder) { + return NewCasesEdiscoveryCasesItemTagsItemChildTagsEdiscoveryReviewTagItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_tags_item_child_tags_request_builder.go b/security/cases_ediscovery_cases_item_tags_item_child_tags_request_builder.go index 20ba6db764a..d72cf4633b3 100644 --- a/security/cases_ediscovery_cases_item_tags_item_child_tags_request_builder.go +++ b/security/cases_ediscovery_cases_item_tags_item_child_tags_request_builder.go @@ -39,8 +39,8 @@ type CasesEdiscoveryCasesItemTagsItemChildTagsRequestBuilderGetRequestConfigurat // Request query parameters QueryParameters *CasesEdiscoveryCasesItemTagsItemChildTagsRequestBuilderGetQueryParameters } -// ByEdiscoveryReviewTagId1String provides operations to manage the childTags property of the microsoft.graph.security.ediscoveryReviewTag entity. -func (m *CasesEdiscoveryCasesItemTagsItemChildTagsRequestBuilder) ByEdiscoveryReviewTagId1String(ediscoveryReviewTagId1 string)(*CasesEdiscoveryCasesItemTagsItemChildTagsEdiscoveryReviewTagItemRequestBuilder) { +// ByEdiscoveryReviewTagId1 provides operations to manage the childTags property of the microsoft.graph.security.ediscoveryReviewTag entity. +func (m *CasesEdiscoveryCasesItemTagsItemChildTagsRequestBuilder) ByEdiscoveryReviewTagId1(ediscoveryReviewTagId1 string)(*CasesEdiscoveryCasesItemTagsItemChildTagsEdiscoveryReviewTagItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *CasesEdiscoveryCasesItemTagsItemChildTagsRequestBuilder) ToGetRequestIn } 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 *CasesEdiscoveryCasesItemTagsItemChildTagsRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemTagsItemChildTagsRequestBuilder) { + return NewCasesEdiscoveryCasesItemTagsItemChildTagsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_tags_item_parent_request_builder.go b/security/cases_ediscovery_cases_item_tags_item_parent_request_builder.go index 3f46ec340a2..388a6564cd9 100644 --- a/security/cases_ediscovery_cases_item_tags_item_parent_request_builder.go +++ b/security/cases_ediscovery_cases_item_tags_item_parent_request_builder.go @@ -75,3 +75,7 @@ func (m *CasesEdiscoveryCasesItemTagsItemParentRequestBuilder) ToGetRequestInfor } 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 *CasesEdiscoveryCasesItemTagsItemParentRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemTagsItemParentRequestBuilder) { + return NewCasesEdiscoveryCasesItemTagsItemParentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_tags_microsoft_graph_security_as_hierarchy_request_builder.go b/security/cases_ediscovery_cases_item_tags_microsoft_graph_security_as_hierarchy_request_builder.go index 85e632b2e47..36ef764c47b 100644 --- a/security/cases_ediscovery_cases_item_tags_microsoft_graph_security_as_hierarchy_request_builder.go +++ b/security/cases_ediscovery_cases_item_tags_microsoft_graph_security_as_hierarchy_request_builder.go @@ -84,3 +84,7 @@ func (m *CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyRequestBui } 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 *CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyRequestBuilder) { + return NewCasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_item_tags_request_builder.go b/security/cases_ediscovery_cases_item_tags_request_builder.go index 509db2f7a0e..06d574bab86 100644 --- a/security/cases_ediscovery_cases_item_tags_request_builder.go +++ b/security/cases_ediscovery_cases_item_tags_request_builder.go @@ -46,8 +46,8 @@ type CasesEdiscoveryCasesItemTagsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEdiscoveryReviewTagIdString provides operations to manage the tags property of the microsoft.graph.security.ediscoveryCase entity. -func (m *CasesEdiscoveryCasesItemTagsRequestBuilder) ByEdiscoveryReviewTagIdString(ediscoveryReviewTagId string)(*CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilder) { +// ByEdiscoveryReviewTagId provides operations to manage the tags property of the microsoft.graph.security.ediscoveryCase entity. +func (m *CasesEdiscoveryCasesItemTagsRequestBuilder) ByEdiscoveryReviewTagId(ediscoveryReviewTagId string)(*CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *CasesEdiscoveryCasesItemTagsRequestBuilder) 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 *CasesEdiscoveryCasesItemTagsRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesItemTagsRequestBuilder) { + return NewCasesEdiscoveryCasesItemTagsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_ediscovery_cases_request_builder.go b/security/cases_ediscovery_cases_request_builder.go index 6ed91c4c6b6..ca980462f5a 100644 --- a/security/cases_ediscovery_cases_request_builder.go +++ b/security/cases_ediscovery_cases_request_builder.go @@ -46,8 +46,8 @@ type CasesEdiscoveryCasesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEdiscoveryCaseIdString provides operations to manage the ediscoveryCases property of the microsoft.graph.security.casesRoot entity. -func (m *CasesEdiscoveryCasesRequestBuilder) ByEdiscoveryCaseIdString(ediscoveryCaseId string)(*CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) { +// ByEdiscoveryCaseId provides operations to manage the ediscoveryCases property of the microsoft.graph.security.casesRoot entity. +func (m *CasesEdiscoveryCasesRequestBuilder) ByEdiscoveryCaseId(ediscoveryCaseId string)(*CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *CasesEdiscoveryCasesRequestBuilder) ToPostRequestInformation(ctx contex } 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 *CasesEdiscoveryCasesRequestBuilder) WithUrl(rawUrl string)(*CasesEdiscoveryCasesRequestBuilder) { + return NewCasesEdiscoveryCasesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cases_request_builder.go b/security/cases_request_builder.go index 09f9b5670c5..d7274f5d122 100644 --- a/security/cases_request_builder.go +++ b/security/cases_request_builder.go @@ -157,3 +157,7 @@ func (m *CasesRequestBuilder) ToPatchRequestInformation(ctx context.Context, bod } 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 *CasesRequestBuilder) WithUrl(rawUrl string)(*CasesRequestBuilder) { + return NewCasesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cloud_app_security_profiles_cloud_app_security_profile_item_request_builder.go b/security/cloud_app_security_profiles_cloud_app_security_profile_item_request_builder.go index 6a3386f865d..35d85558e8b 100644 --- a/security/cloud_app_security_profiles_cloud_app_security_profile_item_request_builder.go +++ b/security/cloud_app_security_profiles_cloud_app_security_profile_item_request_builder.go @@ -153,3 +153,7 @@ func (m *CloudAppSecurityProfilesCloudAppSecurityProfileItemRequestBuilder) ToPa } 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 *CloudAppSecurityProfilesCloudAppSecurityProfileItemRequestBuilder) WithUrl(rawUrl string)(*CloudAppSecurityProfilesCloudAppSecurityProfileItemRequestBuilder) { + return NewCloudAppSecurityProfilesCloudAppSecurityProfileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cloud_app_security_profiles_count_request_builder.go b/security/cloud_app_security_profiles_count_request_builder.go index d9b0a3a4389..4a2f8b649f6 100644 --- a/security/cloud_app_security_profiles_count_request_builder.go +++ b/security/cloud_app_security_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *CloudAppSecurityProfilesCountRequestBuilder) ToGetRequestInformation(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 *CloudAppSecurityProfilesCountRequestBuilder) WithUrl(rawUrl string)(*CloudAppSecurityProfilesCountRequestBuilder) { + return NewCloudAppSecurityProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/cloud_app_security_profiles_request_builder.go b/security/cloud_app_security_profiles_request_builder.go index da611a4884c..c911661b372 100644 --- a/security/cloud_app_security_profiles_request_builder.go +++ b/security/cloud_app_security_profiles_request_builder.go @@ -46,8 +46,8 @@ type CloudAppSecurityProfilesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCloudAppSecurityProfileIdString provides operations to manage the cloudAppSecurityProfiles property of the microsoft.graph.security entity. -func (m *CloudAppSecurityProfilesRequestBuilder) ByCloudAppSecurityProfileIdString(cloudAppSecurityProfileId string)(*CloudAppSecurityProfilesCloudAppSecurityProfileItemRequestBuilder) { +// ByCloudAppSecurityProfileId provides operations to manage the cloudAppSecurityProfiles property of the microsoft.graph.security entity. +func (m *CloudAppSecurityProfilesRequestBuilder) ByCloudAppSecurityProfileId(cloudAppSecurityProfileId string)(*CloudAppSecurityProfilesCloudAppSecurityProfileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *CloudAppSecurityProfilesRequestBuilder) ToPostRequestInformation(ctx co } 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 *CloudAppSecurityProfilesRequestBuilder) WithUrl(rawUrl string)(*CloudAppSecurityProfilesRequestBuilder) { + return NewCloudAppSecurityProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/domain_security_profiles_count_request_builder.go b/security/domain_security_profiles_count_request_builder.go index 3933b3de624..00cffdd2932 100644 --- a/security/domain_security_profiles_count_request_builder.go +++ b/security/domain_security_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DomainSecurityProfilesCountRequestBuilder) ToGetRequestInformation(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 *DomainSecurityProfilesCountRequestBuilder) WithUrl(rawUrl string)(*DomainSecurityProfilesCountRequestBuilder) { + return NewDomainSecurityProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/domain_security_profiles_domain_security_profile_item_request_builder.go b/security/domain_security_profiles_domain_security_profile_item_request_builder.go index 36b63067991..56d46a418d8 100644 --- a/security/domain_security_profiles_domain_security_profile_item_request_builder.go +++ b/security/domain_security_profiles_domain_security_profile_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DomainSecurityProfilesDomainSecurityProfileItemRequestBuilder) ToPatchR } 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 *DomainSecurityProfilesDomainSecurityProfileItemRequestBuilder) WithUrl(rawUrl string)(*DomainSecurityProfilesDomainSecurityProfileItemRequestBuilder) { + return NewDomainSecurityProfilesDomainSecurityProfileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/domain_security_profiles_request_builder.go b/security/domain_security_profiles_request_builder.go index a6c6fec9877..0f4dad231fc 100644 --- a/security/domain_security_profiles_request_builder.go +++ b/security/domain_security_profiles_request_builder.go @@ -46,8 +46,8 @@ type DomainSecurityProfilesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDomainSecurityProfileIdString provides operations to manage the domainSecurityProfiles property of the microsoft.graph.security entity. -func (m *DomainSecurityProfilesRequestBuilder) ByDomainSecurityProfileIdString(domainSecurityProfileId string)(*DomainSecurityProfilesDomainSecurityProfileItemRequestBuilder) { +// ByDomainSecurityProfileId provides operations to manage the domainSecurityProfiles property of the microsoft.graph.security entity. +func (m *DomainSecurityProfilesRequestBuilder) ByDomainSecurityProfileId(domainSecurityProfileId string)(*DomainSecurityProfilesDomainSecurityProfileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *DomainSecurityProfilesRequestBuilder) ToPostRequestInformation(ctx cont } 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 *DomainSecurityProfilesRequestBuilder) WithUrl(rawUrl string)(*DomainSecurityProfilesRequestBuilder) { + return NewDomainSecurityProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/file_security_profiles_count_request_builder.go b/security/file_security_profiles_count_request_builder.go index 85104c7457a..6fe4fa5047f 100644 --- a/security/file_security_profiles_count_request_builder.go +++ b/security/file_security_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *FileSecurityProfilesCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *FileSecurityProfilesCountRequestBuilder) WithUrl(rawUrl string)(*FileSecurityProfilesCountRequestBuilder) { + return NewFileSecurityProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/file_security_profiles_file_security_profile_item_request_builder.go b/security/file_security_profiles_file_security_profile_item_request_builder.go index dbd8352c507..c037df34ffe 100644 --- a/security/file_security_profiles_file_security_profile_item_request_builder.go +++ b/security/file_security_profiles_file_security_profile_item_request_builder.go @@ -153,3 +153,7 @@ func (m *FileSecurityProfilesFileSecurityProfileItemRequestBuilder) ToPatchReque } 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 *FileSecurityProfilesFileSecurityProfileItemRequestBuilder) WithUrl(rawUrl string)(*FileSecurityProfilesFileSecurityProfileItemRequestBuilder) { + return NewFileSecurityProfilesFileSecurityProfileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/file_security_profiles_request_builder.go b/security/file_security_profiles_request_builder.go index 5dff52ae61c..42c99e891c5 100644 --- a/security/file_security_profiles_request_builder.go +++ b/security/file_security_profiles_request_builder.go @@ -46,8 +46,8 @@ type FileSecurityProfilesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByFileSecurityProfileIdString provides operations to manage the fileSecurityProfiles property of the microsoft.graph.security entity. -func (m *FileSecurityProfilesRequestBuilder) ByFileSecurityProfileIdString(fileSecurityProfileId string)(*FileSecurityProfilesFileSecurityProfileItemRequestBuilder) { +// ByFileSecurityProfileId provides operations to manage the fileSecurityProfiles property of the microsoft.graph.security entity. +func (m *FileSecurityProfilesRequestBuilder) ByFileSecurityProfileId(fileSecurityProfileId string)(*FileSecurityProfilesFileSecurityProfileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *FileSecurityProfilesRequestBuilder) ToPostRequestInformation(ctx contex } 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 *FileSecurityProfilesRequestBuilder) WithUrl(rawUrl string)(*FileSecurityProfilesRequestBuilder) { + return NewFileSecurityProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/host_security_profiles_count_request_builder.go b/security/host_security_profiles_count_request_builder.go index 244ac9c2c90..4016ce8e021 100644 --- a/security/host_security_profiles_count_request_builder.go +++ b/security/host_security_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *HostSecurityProfilesCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *HostSecurityProfilesCountRequestBuilder) WithUrl(rawUrl string)(*HostSecurityProfilesCountRequestBuilder) { + return NewHostSecurityProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/host_security_profiles_host_security_profile_item_request_builder.go b/security/host_security_profiles_host_security_profile_item_request_builder.go index ccc1ad1266a..a954a2b9ffe 100644 --- a/security/host_security_profiles_host_security_profile_item_request_builder.go +++ b/security/host_security_profiles_host_security_profile_item_request_builder.go @@ -153,3 +153,7 @@ func (m *HostSecurityProfilesHostSecurityProfileItemRequestBuilder) ToPatchReque } 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 *HostSecurityProfilesHostSecurityProfileItemRequestBuilder) WithUrl(rawUrl string)(*HostSecurityProfilesHostSecurityProfileItemRequestBuilder) { + return NewHostSecurityProfilesHostSecurityProfileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/host_security_profiles_request_builder.go b/security/host_security_profiles_request_builder.go index a4a073fc69d..db0cabe6a83 100644 --- a/security/host_security_profiles_request_builder.go +++ b/security/host_security_profiles_request_builder.go @@ -46,8 +46,8 @@ type HostSecurityProfilesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByHostSecurityProfileIdString provides operations to manage the hostSecurityProfiles property of the microsoft.graph.security entity. -func (m *HostSecurityProfilesRequestBuilder) ByHostSecurityProfileIdString(hostSecurityProfileId string)(*HostSecurityProfilesHostSecurityProfileItemRequestBuilder) { +// ByHostSecurityProfileId provides operations to manage the hostSecurityProfiles property of the microsoft.graph.security entity. +func (m *HostSecurityProfilesRequestBuilder) ByHostSecurityProfileId(hostSecurityProfileId string)(*HostSecurityProfilesHostSecurityProfileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *HostSecurityProfilesRequestBuilder) ToPostRequestInformation(ctx contex } 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 *HostSecurityProfilesRequestBuilder) WithUrl(rawUrl string)(*HostSecurityProfilesRequestBuilder) { + return NewHostSecurityProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/incidents_count_request_builder.go b/security/incidents_count_request_builder.go index e8c929e81ee..eb85195e9d3 100644 --- a/security/incidents_count_request_builder.go +++ b/security/incidents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IncidentsCountRequestBuilder) ToGetRequestInformation(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 *IncidentsCountRequestBuilder) WithUrl(rawUrl string)(*IncidentsCountRequestBuilder) { + return NewIncidentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/incidents_incident_item_request_builder.go b/security/incidents_incident_item_request_builder.go index 2014de89a38..d03d35eacf1 100644 --- a/security/incidents_incident_item_request_builder.go +++ b/security/incidents_incident_item_request_builder.go @@ -163,3 +163,7 @@ func (m *IncidentsIncidentItemRequestBuilder) ToPatchRequestInformation(ctx cont } 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 *IncidentsIncidentItemRequestBuilder) WithUrl(rawUrl string)(*IncidentsIncidentItemRequestBuilder) { + return NewIncidentsIncidentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/incidents_item_alerts_alert_item_request_builder.go b/security/incidents_item_alerts_alert_item_request_builder.go index c18dd09953d..b9eb8016b64 100644 --- a/security/incidents_item_alerts_alert_item_request_builder.go +++ b/security/incidents_item_alerts_alert_item_request_builder.go @@ -27,6 +27,10 @@ type IncidentsItemAlertsAlertItemRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *IncidentsItemAlertsAlertItemRequestBuilderGetQueryParameters } +// Comments the comments property +func (m *IncidentsItemAlertsAlertItemRequestBuilder) Comments()(*IncidentsItemAlertsItemCommentsRequestBuilder) { + return NewIncidentsItemAlertsItemCommentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // NewIncidentsItemAlertsAlertItemRequestBuilderInternal instantiates a new AlertItemRequestBuilder and sets the default values. func NewIncidentsItemAlertsAlertItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IncidentsItemAlertsAlertItemRequestBuilder) { m := &IncidentsItemAlertsAlertItemRequestBuilder{ @@ -75,3 +79,7 @@ func (m *IncidentsItemAlertsAlertItemRequestBuilder) ToGetRequestInformation(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 *IncidentsItemAlertsAlertItemRequestBuilder) WithUrl(rawUrl string)(*IncidentsItemAlertsAlertItemRequestBuilder) { + return NewIncidentsItemAlertsAlertItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/incidents_item_alerts_count_request_builder.go b/security/incidents_item_alerts_count_request_builder.go index 351d6fc26eb..d173beccce3 100644 --- a/security/incidents_item_alerts_count_request_builder.go +++ b/security/incidents_item_alerts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IncidentsItemAlertsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *IncidentsItemAlertsCountRequestBuilder) WithUrl(rawUrl string)(*IncidentsItemAlertsCountRequestBuilder) { + return NewIncidentsItemAlertsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/incidents_item_alerts_item_comments_count_request_builder.go b/security/incidents_item_alerts_item_comments_count_request_builder.go new file mode 100644 index 00000000000..489b08abbbb --- /dev/null +++ b/security/incidents_item_alerts_item_comments_count_request_builder.go @@ -0,0 +1,80 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// IncidentsItemAlertsItemCommentsCountRequestBuilder provides operations to count the resources in the collection. +type IncidentsItemAlertsItemCommentsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IncidentsItemAlertsItemCommentsCountRequestBuilderGetQueryParameters get the number of the resource +type IncidentsItemAlertsItemCommentsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// IncidentsItemAlertsItemCommentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IncidentsItemAlertsItemCommentsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *IncidentsItemAlertsItemCommentsCountRequestBuilderGetQueryParameters +} +// NewIncidentsItemAlertsItemCommentsCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewIncidentsItemAlertsItemCommentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IncidentsItemAlertsItemCommentsCountRequestBuilder) { + m := &IncidentsItemAlertsItemCommentsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/incidents/{incident%2Did}/alerts/{alert%2Did}/comments/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewIncidentsItemAlertsItemCommentsCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewIncidentsItemAlertsItemCommentsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IncidentsItemAlertsItemCommentsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIncidentsItemAlertsItemCommentsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *IncidentsItemAlertsItemCommentsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *IncidentsItemAlertsItemCommentsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *IncidentsItemAlertsItemCommentsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IncidentsItemAlertsItemCommentsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *IncidentsItemAlertsItemCommentsCountRequestBuilder) WithUrl(rawUrl string)(*IncidentsItemAlertsItemCommentsCountRequestBuilder) { + return NewIncidentsItemAlertsItemCommentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/incidents_item_alerts_item_comments_request_builder.go b/security/incidents_item_alerts_item_comments_request_builder.go new file mode 100644 index 00000000000..29754461285 --- /dev/null +++ b/security/incidents_item_alerts_item_comments_request_builder.go @@ -0,0 +1,87 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/security" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// IncidentsItemAlertsItemCommentsRequestBuilder builds and executes requests for operations under \security\incidents\{incident-id}\alerts\{alert-id}\comments +type IncidentsItemAlertsItemCommentsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IncidentsItemAlertsItemCommentsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IncidentsItemAlertsItemCommentsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewIncidentsItemAlertsItemCommentsRequestBuilderInternal instantiates a new CommentsRequestBuilder and sets the default values. +func NewIncidentsItemAlertsItemCommentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IncidentsItemAlertsItemCommentsRequestBuilder) { + m := &IncidentsItemAlertsItemCommentsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/incidents/{incident%2Did}/alerts/{alert%2Did}/comments", pathParameters), + } + return m +} +// NewIncidentsItemAlertsItemCommentsRequestBuilder instantiates a new CommentsRequestBuilder and sets the default values. +func NewIncidentsItemAlertsItemCommentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IncidentsItemAlertsItemCommentsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIncidentsItemAlertsItemCommentsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *IncidentsItemAlertsItemCommentsRequestBuilder) Count()(*IncidentsItemAlertsItemCommentsCountRequestBuilder) { + return NewIncidentsItemAlertsItemCommentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Post sets a new value for the collection of alertComment. +func (m *IncidentsItemAlertsItemCommentsRequestBuilder) Post(ctx context.Context, body []i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AlertCommentable, requestConfiguration *IncidentsItemAlertsItemCommentsRequestBuilderPostRequestConfiguration)([]i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AlertCommentable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendCollection(ctx, requestInfo, i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CreateAlertCommentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + val := make([]i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AlertCommentable, len(res)) + for i, v := range res { + if v != nil { + val[i] = v.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AlertCommentable) + } + } + return val, nil +} +// ToPostRequestInformation sets a new value for the collection of alertComment. +func (m *IncidentsItemAlertsItemCommentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body []i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AlertCommentable, requestConfiguration *IncidentsItemAlertsItemCommentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.Add("Accept", "application/json") + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(body)) + for i, v := range body { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := requestInfo.SetContentFromParsableCollection(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", cast) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *IncidentsItemAlertsItemCommentsRequestBuilder) WithUrl(rawUrl string)(*IncidentsItemAlertsItemCommentsRequestBuilder) { + return NewIncidentsItemAlertsItemCommentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/incidents_item_alerts_request_builder.go b/security/incidents_item_alerts_request_builder.go index 73611556bf9..76119a14225 100644 --- a/security/incidents_item_alerts_request_builder.go +++ b/security/incidents_item_alerts_request_builder.go @@ -39,8 +39,8 @@ type IncidentsItemAlertsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *IncidentsItemAlertsRequestBuilderGetQueryParameters } -// ByAlertIdString provides operations to manage the alerts property of the microsoft.graph.security.incident entity. -func (m *IncidentsItemAlertsRequestBuilder) ByAlertIdString(alertId string)(*IncidentsItemAlertsAlertItemRequestBuilder) { +// ByAlertId provides operations to manage the alerts property of the microsoft.graph.security.incident entity. +func (m *IncidentsItemAlertsRequestBuilder) ByAlertId(alertId string)(*IncidentsItemAlertsAlertItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *IncidentsItemAlertsRequestBuilder) ToGetRequestInformation(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 *IncidentsItemAlertsRequestBuilder) WithUrl(rawUrl string)(*IncidentsItemAlertsRequestBuilder) { + return NewIncidentsItemAlertsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/incidents_request_builder.go b/security/incidents_request_builder.go index d62fa34c4fb..c63187f4f9b 100644 --- a/security/incidents_request_builder.go +++ b/security/incidents_request_builder.go @@ -46,8 +46,8 @@ type IncidentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByIncidentIdString provides operations to manage the incidents property of the microsoft.graph.security entity. -func (m *IncidentsRequestBuilder) ByIncidentIdString(incidentId string)(*IncidentsIncidentItemRequestBuilder) { +// ByIncidentId provides operations to manage the incidents property of the microsoft.graph.security entity. +func (m *IncidentsRequestBuilder) ByIncidentId(incidentId string)(*IncidentsIncidentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *IncidentsRequestBuilder) ToPostRequestInformation(ctx context.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 *IncidentsRequestBuilder) WithUrl(rawUrl string)(*IncidentsRequestBuilder) { + return NewIncidentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/information_protection_label_policy_settings_request_builder.go b/security/information_protection_label_policy_settings_request_builder.go index c984b6f665b..31e3b406bc5 100644 --- a/security/information_protection_label_policy_settings_request_builder.go +++ b/security/information_protection_label_policy_settings_request_builder.go @@ -156,3 +156,7 @@ func (m *InformationProtectionLabelPolicySettingsRequestBuilder) ToPatchRequestI } 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 *InformationProtectionLabelPolicySettingsRequestBuilder) WithUrl(rawUrl string)(*InformationProtectionLabelPolicySettingsRequestBuilder) { + return NewInformationProtectionLabelPolicySettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/information_protection_request_builder.go b/security/information_protection_request_builder.go index d118b1d9674..2ddd05ad650 100644 --- a/security/information_protection_request_builder.go +++ b/security/information_protection_request_builder.go @@ -161,3 +161,7 @@ func (m *InformationProtectionRequestBuilder) ToPatchRequestInformation(ctx cont } 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 *InformationProtectionRequestBuilder) WithUrl(rawUrl string)(*InformationProtectionRequestBuilder) { + return NewInformationProtectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/information_protection_sensitivity_labels_count_request_builder.go b/security/information_protection_sensitivity_labels_count_request_builder.go index 11a5622cb36..a9830500b5e 100644 --- a/security/information_protection_sensitivity_labels_count_request_builder.go +++ b/security/information_protection_sensitivity_labels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *InformationProtectionSensitivityLabelsCountRequestBuilder) ToGetRequest } 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 *InformationProtectionSensitivityLabelsCountRequestBuilder) WithUrl(rawUrl string)(*InformationProtectionSensitivityLabelsCountRequestBuilder) { + return NewInformationProtectionSensitivityLabelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/information_protection_sensitivity_labels_item_parent_request_builder.go b/security/information_protection_sensitivity_labels_item_parent_request_builder.go index e0fb06cddcf..34b45a3f0c9 100644 --- a/security/information_protection_sensitivity_labels_item_parent_request_builder.go +++ b/security/information_protection_sensitivity_labels_item_parent_request_builder.go @@ -153,3 +153,7 @@ func (m *InformationProtectionSensitivityLabelsItemParentRequestBuilder) ToPatch } 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 *InformationProtectionSensitivityLabelsItemParentRequestBuilder) WithUrl(rawUrl string)(*InformationProtectionSensitivityLabelsItemParentRequestBuilder) { + return NewInformationProtectionSensitivityLabelsItemParentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go b/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go index e8f9d5cd0ad..5e208402a2b 100644 --- a/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go +++ b/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go @@ -69,3 +69,7 @@ func (m *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApp } 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 *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApplicationRequestBuilder) WithUrl(rawUrl string)(*InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApplicationRequestBuilder) { + return NewInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go b/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go index 8bb5be4f6a0..27e5c4ac7fb 100644 --- a/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go +++ b/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go @@ -69,3 +69,7 @@ func (m *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateCla } 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 *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClassificationResultsRequestBuilder) WithUrl(rawUrl string)(*InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClassificationResultsRequestBuilder) { + return NewInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClassificationResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go b/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go index 8858d95800c..4c6248af89b 100644 --- a/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go +++ b/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go @@ -69,3 +69,7 @@ func (m *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRem } 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 *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemovalRequestBuilder) WithUrl(rawUrl string)(*InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemovalRequestBuilder) { + return NewInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemovalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go b/security/information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go index a98df4a2123..739874b1765 100644 --- a/security/information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go +++ b/security/information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go @@ -70,3 +70,7 @@ func (m *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityExtractCont } 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 *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityExtractContentLabelRequestBuilder) WithUrl(rawUrl string)(*InformationProtectionSensitivityLabelsMicrosoftGraphSecurityExtractContentLabelRequestBuilder) { + return NewInformationProtectionSensitivityLabelsMicrosoftGraphSecurityExtractContentLabelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/information_protection_sensitivity_labels_request_builder.go b/security/information_protection_sensitivity_labels_request_builder.go index 74271bc6e16..1366d3cf209 100644 --- a/security/information_protection_sensitivity_labels_request_builder.go +++ b/security/information_protection_sensitivity_labels_request_builder.go @@ -46,8 +46,8 @@ type InformationProtectionSensitivityLabelsRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySensitivityLabelIdString provides operations to manage the sensitivityLabels property of the microsoft.graph.security.informationProtection entity. -func (m *InformationProtectionSensitivityLabelsRequestBuilder) BySensitivityLabelIdString(sensitivityLabelId string)(*InformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder) { +// BySensitivityLabelId provides operations to manage the sensitivityLabels property of the microsoft.graph.security.informationProtection entity. +func (m *InformationProtectionSensitivityLabelsRequestBuilder) BySensitivityLabelId(sensitivityLabelId string)(*InformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -164,3 +164,7 @@ func (m *InformationProtectionSensitivityLabelsRequestBuilder) ToPostRequestInfo } 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 *InformationProtectionSensitivityLabelsRequestBuilder) WithUrl(rawUrl string)(*InformationProtectionSensitivityLabelsRequestBuilder) { + return NewInformationProtectionSensitivityLabelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go b/security/information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go index 625a81c507d..ab369f48fd6 100644 --- a/security/information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go +++ b/security/information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go @@ -157,3 +157,7 @@ func (m *InformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilde } 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 *InformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder) WithUrl(rawUrl string)(*InformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder) { + return NewInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/ip_security_profiles_count_request_builder.go b/security/ip_security_profiles_count_request_builder.go index 5aad06a0dab..4e0908d1a80 100644 --- a/security/ip_security_profiles_count_request_builder.go +++ b/security/ip_security_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *IpSecurityProfilesCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *IpSecurityProfilesCountRequestBuilder) WithUrl(rawUrl string)(*IpSecurityProfilesCountRequestBuilder) { + return NewIpSecurityProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/ip_security_profiles_ip_security_profile_item_request_builder.go b/security/ip_security_profiles_ip_security_profile_item_request_builder.go index d272426f715..6c4b306a14b 100644 --- a/security/ip_security_profiles_ip_security_profile_item_request_builder.go +++ b/security/ip_security_profiles_ip_security_profile_item_request_builder.go @@ -153,3 +153,7 @@ func (m *IpSecurityProfilesIpSecurityProfileItemRequestBuilder) ToPatchRequestIn } 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 *IpSecurityProfilesIpSecurityProfileItemRequestBuilder) WithUrl(rawUrl string)(*IpSecurityProfilesIpSecurityProfileItemRequestBuilder) { + return NewIpSecurityProfilesIpSecurityProfileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/ip_security_profiles_request_builder.go b/security/ip_security_profiles_request_builder.go index ec41545f943..498e1560ba5 100644 --- a/security/ip_security_profiles_request_builder.go +++ b/security/ip_security_profiles_request_builder.go @@ -46,8 +46,8 @@ type IpSecurityProfilesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByIpSecurityProfileIdString provides operations to manage the ipSecurityProfiles property of the microsoft.graph.security entity. -func (m *IpSecurityProfilesRequestBuilder) ByIpSecurityProfileIdString(ipSecurityProfileId string)(*IpSecurityProfilesIpSecurityProfileItemRequestBuilder) { +// ByIpSecurityProfileId provides operations to manage the ipSecurityProfiles property of the microsoft.graph.security entity. +func (m *IpSecurityProfilesRequestBuilder) ByIpSecurityProfileId(ipSecurityProfileId string)(*IpSecurityProfilesIpSecurityProfileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *IpSecurityProfilesRequestBuilder) 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 *IpSecurityProfilesRequestBuilder) WithUrl(rawUrl string)(*IpSecurityProfilesRequestBuilder) { + return NewIpSecurityProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_authorities_authority_template_item_request_builder.go b/security/labels_authorities_authority_template_item_request_builder.go index 226c4890307..979d9b7ce8b 100644 --- a/security/labels_authorities_authority_template_item_request_builder.go +++ b/security/labels_authorities_authority_template_item_request_builder.go @@ -159,3 +159,7 @@ func (m *LabelsAuthoritiesAuthorityTemplateItemRequestBuilder) ToPatchRequestInf } 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 *LabelsAuthoritiesAuthorityTemplateItemRequestBuilder) WithUrl(rawUrl string)(*LabelsAuthoritiesAuthorityTemplateItemRequestBuilder) { + return NewLabelsAuthoritiesAuthorityTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_authorities_count_request_builder.go b/security/labels_authorities_count_request_builder.go index 642b5b521f4..4da48867253 100644 --- a/security/labels_authorities_count_request_builder.go +++ b/security/labels_authorities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LabelsAuthoritiesCountRequestBuilder) ToGetRequestInformation(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 *LabelsAuthoritiesCountRequestBuilder) WithUrl(rawUrl string)(*LabelsAuthoritiesCountRequestBuilder) { + return NewLabelsAuthoritiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_authorities_request_builder.go b/security/labels_authorities_request_builder.go index 7c600d1e725..337d36a5f79 100644 --- a/security/labels_authorities_request_builder.go +++ b/security/labels_authorities_request_builder.go @@ -46,8 +46,8 @@ type LabelsAuthoritiesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAuthorityTemplateIdString provides operations to manage the authorities property of the microsoft.graph.security.labelsRoot entity. -func (m *LabelsAuthoritiesRequestBuilder) ByAuthorityTemplateIdString(authorityTemplateId string)(*LabelsAuthoritiesAuthorityTemplateItemRequestBuilder) { +// ByAuthorityTemplateId provides operations to manage the authorities property of the microsoft.graph.security.labelsRoot entity. +func (m *LabelsAuthoritiesRequestBuilder) ByAuthorityTemplateId(authorityTemplateId string)(*LabelsAuthoritiesAuthorityTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *LabelsAuthoritiesRequestBuilder) ToPostRequestInformation(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 *LabelsAuthoritiesRequestBuilder) WithUrl(rawUrl string)(*LabelsAuthoritiesRequestBuilder) { + return NewLabelsAuthoritiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_categories_category_template_item_request_builder.go b/security/labels_categories_category_template_item_request_builder.go index d5ced8cf690..fac78e8a6f5 100644 --- a/security/labels_categories_category_template_item_request_builder.go +++ b/security/labels_categories_category_template_item_request_builder.go @@ -163,3 +163,7 @@ func (m *LabelsCategoriesCategoryTemplateItemRequestBuilder) ToPatchRequestInfor } 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 *LabelsCategoriesCategoryTemplateItemRequestBuilder) WithUrl(rawUrl string)(*LabelsCategoriesCategoryTemplateItemRequestBuilder) { + return NewLabelsCategoriesCategoryTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_categories_count_request_builder.go b/security/labels_categories_count_request_builder.go index a71ebb8e343..8ac97383c49 100644 --- a/security/labels_categories_count_request_builder.go +++ b/security/labels_categories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LabelsCategoriesCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *LabelsCategoriesCountRequestBuilder) WithUrl(rawUrl string)(*LabelsCategoriesCountRequestBuilder) { + return NewLabelsCategoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_categories_item_sub_categories_count_request_builder.go b/security/labels_categories_item_sub_categories_count_request_builder.go index 053dec0e74f..6667a080a1f 100644 --- a/security/labels_categories_item_sub_categories_count_request_builder.go +++ b/security/labels_categories_item_sub_categories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LabelsCategoriesItemSubCategoriesCountRequestBuilder) ToGetRequestInfor } 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 *LabelsCategoriesItemSubCategoriesCountRequestBuilder) WithUrl(rawUrl string)(*LabelsCategoriesItemSubCategoriesCountRequestBuilder) { + return NewLabelsCategoriesItemSubCategoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_categories_item_sub_categories_request_builder.go b/security/labels_categories_item_sub_categories_request_builder.go index f6b446e88d8..cd069a9daf4 100644 --- a/security/labels_categories_item_sub_categories_request_builder.go +++ b/security/labels_categories_item_sub_categories_request_builder.go @@ -46,8 +46,8 @@ type LabelsCategoriesItemSubCategoriesRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySubCategoryTemplateIdString provides operations to manage the subCategories property of the microsoft.graph.security.categoryTemplate entity. -func (m *LabelsCategoriesItemSubCategoriesRequestBuilder) BySubCategoryTemplateIdString(subCategoryTemplateId string)(*LabelsCategoriesItemSubCategoriesSubCategoryTemplateItemRequestBuilder) { +// BySubCategoryTemplateId provides operations to manage the subCategories property of the microsoft.graph.security.categoryTemplate entity. +func (m *LabelsCategoriesItemSubCategoriesRequestBuilder) BySubCategoryTemplateId(subCategoryTemplateId string)(*LabelsCategoriesItemSubCategoriesSubCategoryTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *LabelsCategoriesItemSubCategoriesRequestBuilder) ToPostRequestInformati } 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 *LabelsCategoriesItemSubCategoriesRequestBuilder) WithUrl(rawUrl string)(*LabelsCategoriesItemSubCategoriesRequestBuilder) { + return NewLabelsCategoriesItemSubCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_categories_item_sub_categories_sub_category_template_item_request_builder.go b/security/labels_categories_item_sub_categories_sub_category_template_item_request_builder.go index 698b15986f5..2a89715fd0f 100644 --- a/security/labels_categories_item_sub_categories_sub_category_template_item_request_builder.go +++ b/security/labels_categories_item_sub_categories_sub_category_template_item_request_builder.go @@ -159,3 +159,7 @@ func (m *LabelsCategoriesItemSubCategoriesSubCategoryTemplateItemRequestBuilder) } 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 *LabelsCategoriesItemSubCategoriesSubCategoryTemplateItemRequestBuilder) WithUrl(rawUrl string)(*LabelsCategoriesItemSubCategoriesSubCategoryTemplateItemRequestBuilder) { + return NewLabelsCategoriesItemSubCategoriesSubCategoryTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_categories_request_builder.go b/security/labels_categories_request_builder.go index 0f7137b47ce..d747333c3ae 100644 --- a/security/labels_categories_request_builder.go +++ b/security/labels_categories_request_builder.go @@ -46,8 +46,8 @@ type LabelsCategoriesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCategoryTemplateIdString provides operations to manage the categories property of the microsoft.graph.security.labelsRoot entity. -func (m *LabelsCategoriesRequestBuilder) ByCategoryTemplateIdString(categoryTemplateId string)(*LabelsCategoriesCategoryTemplateItemRequestBuilder) { +// ByCategoryTemplateId provides operations to manage the categories property of the microsoft.graph.security.labelsRoot entity. +func (m *LabelsCategoriesRequestBuilder) ByCategoryTemplateId(categoryTemplateId string)(*LabelsCategoriesCategoryTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *LabelsCategoriesRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *LabelsCategoriesRequestBuilder) WithUrl(rawUrl string)(*LabelsCategoriesRequestBuilder) { + return NewLabelsCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_citations_citation_template_item_request_builder.go b/security/labels_citations_citation_template_item_request_builder.go index d9a1341935d..fec08a3c19c 100644 --- a/security/labels_citations_citation_template_item_request_builder.go +++ b/security/labels_citations_citation_template_item_request_builder.go @@ -159,3 +159,7 @@ func (m *LabelsCitationsCitationTemplateItemRequestBuilder) ToPatchRequestInform } 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 *LabelsCitationsCitationTemplateItemRequestBuilder) WithUrl(rawUrl string)(*LabelsCitationsCitationTemplateItemRequestBuilder) { + return NewLabelsCitationsCitationTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_citations_count_request_builder.go b/security/labels_citations_count_request_builder.go index d38af0f349d..435b4f070d9 100644 --- a/security/labels_citations_count_request_builder.go +++ b/security/labels_citations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LabelsCitationsCountRequestBuilder) ToGetRequestInformation(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 *LabelsCitationsCountRequestBuilder) WithUrl(rawUrl string)(*LabelsCitationsCountRequestBuilder) { + return NewLabelsCitationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_citations_request_builder.go b/security/labels_citations_request_builder.go index 4a3baece92d..8f66fa5c1e1 100644 --- a/security/labels_citations_request_builder.go +++ b/security/labels_citations_request_builder.go @@ -46,8 +46,8 @@ type LabelsCitationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCitationTemplateIdString provides operations to manage the citations property of the microsoft.graph.security.labelsRoot entity. -func (m *LabelsCitationsRequestBuilder) ByCitationTemplateIdString(citationTemplateId string)(*LabelsCitationsCitationTemplateItemRequestBuilder) { +// ByCitationTemplateId provides operations to manage the citations property of the microsoft.graph.security.labelsRoot entity. +func (m *LabelsCitationsRequestBuilder) ByCitationTemplateId(citationTemplateId string)(*LabelsCitationsCitationTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *LabelsCitationsRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *LabelsCitationsRequestBuilder) WithUrl(rawUrl string)(*LabelsCitationsRequestBuilder) { + return NewLabelsCitationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_departments_count_request_builder.go b/security/labels_departments_count_request_builder.go index 123e64699e0..685bdd675f5 100644 --- a/security/labels_departments_count_request_builder.go +++ b/security/labels_departments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LabelsDepartmentsCountRequestBuilder) ToGetRequestInformation(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 *LabelsDepartmentsCountRequestBuilder) WithUrl(rawUrl string)(*LabelsDepartmentsCountRequestBuilder) { + return NewLabelsDepartmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_departments_department_template_item_request_builder.go b/security/labels_departments_department_template_item_request_builder.go index f6ab27d1ee0..3743ac24bbb 100644 --- a/security/labels_departments_department_template_item_request_builder.go +++ b/security/labels_departments_department_template_item_request_builder.go @@ -159,3 +159,7 @@ func (m *LabelsDepartmentsDepartmentTemplateItemRequestBuilder) ToPatchRequestIn } 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 *LabelsDepartmentsDepartmentTemplateItemRequestBuilder) WithUrl(rawUrl string)(*LabelsDepartmentsDepartmentTemplateItemRequestBuilder) { + return NewLabelsDepartmentsDepartmentTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_departments_request_builder.go b/security/labels_departments_request_builder.go index 8147ff97a80..82f182d4a81 100644 --- a/security/labels_departments_request_builder.go +++ b/security/labels_departments_request_builder.go @@ -46,8 +46,8 @@ type LabelsDepartmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDepartmentTemplateIdString provides operations to manage the departments property of the microsoft.graph.security.labelsRoot entity. -func (m *LabelsDepartmentsRequestBuilder) ByDepartmentTemplateIdString(departmentTemplateId string)(*LabelsDepartmentsDepartmentTemplateItemRequestBuilder) { +// ByDepartmentTemplateId provides operations to manage the departments property of the microsoft.graph.security.labelsRoot entity. +func (m *LabelsDepartmentsRequestBuilder) ByDepartmentTemplateId(departmentTemplateId string)(*LabelsDepartmentsDepartmentTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *LabelsDepartmentsRequestBuilder) ToPostRequestInformation(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 *LabelsDepartmentsRequestBuilder) WithUrl(rawUrl string)(*LabelsDepartmentsRequestBuilder) { + return NewLabelsDepartmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_file_plan_references_count_request_builder.go b/security/labels_file_plan_references_count_request_builder.go index 44fd5f87112..66679543938 100644 --- a/security/labels_file_plan_references_count_request_builder.go +++ b/security/labels_file_plan_references_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LabelsFilePlanReferencesCountRequestBuilder) ToGetRequestInformation(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 *LabelsFilePlanReferencesCountRequestBuilder) WithUrl(rawUrl string)(*LabelsFilePlanReferencesCountRequestBuilder) { + return NewLabelsFilePlanReferencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_file_plan_references_file_plan_reference_template_item_request_builder.go b/security/labels_file_plan_references_file_plan_reference_template_item_request_builder.go index fb847aabc31..d0d80a3a93d 100644 --- a/security/labels_file_plan_references_file_plan_reference_template_item_request_builder.go +++ b/security/labels_file_plan_references_file_plan_reference_template_item_request_builder.go @@ -159,3 +159,7 @@ func (m *LabelsFilePlanReferencesFilePlanReferenceTemplateItemRequestBuilder) To } 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 *LabelsFilePlanReferencesFilePlanReferenceTemplateItemRequestBuilder) WithUrl(rawUrl string)(*LabelsFilePlanReferencesFilePlanReferenceTemplateItemRequestBuilder) { + return NewLabelsFilePlanReferencesFilePlanReferenceTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_file_plan_references_request_builder.go b/security/labels_file_plan_references_request_builder.go index 7d8fde5ec9d..272fcd6a1e9 100644 --- a/security/labels_file_plan_references_request_builder.go +++ b/security/labels_file_plan_references_request_builder.go @@ -46,8 +46,8 @@ type LabelsFilePlanReferencesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByFilePlanReferenceTemplateIdString provides operations to manage the filePlanReferences property of the microsoft.graph.security.labelsRoot entity. -func (m *LabelsFilePlanReferencesRequestBuilder) ByFilePlanReferenceTemplateIdString(filePlanReferenceTemplateId string)(*LabelsFilePlanReferencesFilePlanReferenceTemplateItemRequestBuilder) { +// ByFilePlanReferenceTemplateId provides operations to manage the filePlanReferences property of the microsoft.graph.security.labelsRoot entity. +func (m *LabelsFilePlanReferencesRequestBuilder) ByFilePlanReferenceTemplateId(filePlanReferenceTemplateId string)(*LabelsFilePlanReferencesFilePlanReferenceTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *LabelsFilePlanReferencesRequestBuilder) ToPostRequestInformation(ctx co } 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 *LabelsFilePlanReferencesRequestBuilder) WithUrl(rawUrl string)(*LabelsFilePlanReferencesRequestBuilder) { + return NewLabelsFilePlanReferencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_request_builder.go b/security/labels_request_builder.go index 5d16e02c6b4..cd7152d04f6 100644 --- a/security/labels_request_builder.go +++ b/security/labels_request_builder.go @@ -177,3 +177,7 @@ func (m *LabelsRequestBuilder) ToPatchRequestInformation(ctx context.Context, bo } 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 *LabelsRequestBuilder) WithUrl(rawUrl string)(*LabelsRequestBuilder) { + return NewLabelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_retention_labels_count_request_builder.go b/security/labels_retention_labels_count_request_builder.go index cffb4702fa0..af396387397 100644 --- a/security/labels_retention_labels_count_request_builder.go +++ b/security/labels_retention_labels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LabelsRetentionLabelsCountRequestBuilder) ToGetRequestInformation(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 *LabelsRetentionLabelsCountRequestBuilder) WithUrl(rawUrl string)(*LabelsRetentionLabelsCountRequestBuilder) { + return NewLabelsRetentionLabelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_retention_labels_item_descriptors_authority_template_request_builder.go b/security/labels_retention_labels_item_descriptors_authority_template_request_builder.go index 6279c1f4744..cd00bfed991 100644 --- a/security/labels_retention_labels_item_descriptors_authority_template_request_builder.go +++ b/security/labels_retention_labels_item_descriptors_authority_template_request_builder.go @@ -75,3 +75,7 @@ func (m *LabelsRetentionLabelsItemDescriptorsAuthorityTemplateRequestBuilder) To } 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 *LabelsRetentionLabelsItemDescriptorsAuthorityTemplateRequestBuilder) WithUrl(rawUrl string)(*LabelsRetentionLabelsItemDescriptorsAuthorityTemplateRequestBuilder) { + return NewLabelsRetentionLabelsItemDescriptorsAuthorityTemplateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_retention_labels_item_descriptors_category_template_request_builder.go b/security/labels_retention_labels_item_descriptors_category_template_request_builder.go index b7662d1ca18..86db38223e6 100644 --- a/security/labels_retention_labels_item_descriptors_category_template_request_builder.go +++ b/security/labels_retention_labels_item_descriptors_category_template_request_builder.go @@ -75,3 +75,7 @@ func (m *LabelsRetentionLabelsItemDescriptorsCategoryTemplateRequestBuilder) ToG } 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 *LabelsRetentionLabelsItemDescriptorsCategoryTemplateRequestBuilder) WithUrl(rawUrl string)(*LabelsRetentionLabelsItemDescriptorsCategoryTemplateRequestBuilder) { + return NewLabelsRetentionLabelsItemDescriptorsCategoryTemplateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_retention_labels_item_descriptors_citation_template_request_builder.go b/security/labels_retention_labels_item_descriptors_citation_template_request_builder.go index 16502c4526b..ef18810c95a 100644 --- a/security/labels_retention_labels_item_descriptors_citation_template_request_builder.go +++ b/security/labels_retention_labels_item_descriptors_citation_template_request_builder.go @@ -75,3 +75,7 @@ func (m *LabelsRetentionLabelsItemDescriptorsCitationTemplateRequestBuilder) ToG } 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 *LabelsRetentionLabelsItemDescriptorsCitationTemplateRequestBuilder) WithUrl(rawUrl string)(*LabelsRetentionLabelsItemDescriptorsCitationTemplateRequestBuilder) { + return NewLabelsRetentionLabelsItemDescriptorsCitationTemplateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_retention_labels_item_descriptors_department_template_request_builder.go b/security/labels_retention_labels_item_descriptors_department_template_request_builder.go index 6ca0e50deb3..453729a3bdb 100644 --- a/security/labels_retention_labels_item_descriptors_department_template_request_builder.go +++ b/security/labels_retention_labels_item_descriptors_department_template_request_builder.go @@ -75,3 +75,7 @@ func (m *LabelsRetentionLabelsItemDescriptorsDepartmentTemplateRequestBuilder) T } 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 *LabelsRetentionLabelsItemDescriptorsDepartmentTemplateRequestBuilder) WithUrl(rawUrl string)(*LabelsRetentionLabelsItemDescriptorsDepartmentTemplateRequestBuilder) { + return NewLabelsRetentionLabelsItemDescriptorsDepartmentTemplateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_retention_labels_item_descriptors_file_plan_reference_template_request_builder.go b/security/labels_retention_labels_item_descriptors_file_plan_reference_template_request_builder.go index 968762940b6..ff8997f7869 100644 --- a/security/labels_retention_labels_item_descriptors_file_plan_reference_template_request_builder.go +++ b/security/labels_retention_labels_item_descriptors_file_plan_reference_template_request_builder.go @@ -75,3 +75,7 @@ func (m *LabelsRetentionLabelsItemDescriptorsFilePlanReferenceTemplateRequestBui } 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 *LabelsRetentionLabelsItemDescriptorsFilePlanReferenceTemplateRequestBuilder) WithUrl(rawUrl string)(*LabelsRetentionLabelsItemDescriptorsFilePlanReferenceTemplateRequestBuilder) { + return NewLabelsRetentionLabelsItemDescriptorsFilePlanReferenceTemplateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_retention_labels_item_descriptors_request_builder.go b/security/labels_retention_labels_item_descriptors_request_builder.go index f9ced96757d..e43ec46f73c 100644 --- a/security/labels_retention_labels_item_descriptors_request_builder.go +++ b/security/labels_retention_labels_item_descriptors_request_builder.go @@ -173,3 +173,7 @@ func (m *LabelsRetentionLabelsItemDescriptorsRequestBuilder) ToPatchRequestInfor } 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 *LabelsRetentionLabelsItemDescriptorsRequestBuilder) WithUrl(rawUrl string)(*LabelsRetentionLabelsItemDescriptorsRequestBuilder) { + return NewLabelsRetentionLabelsItemDescriptorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_retention_labels_item_disposition_review_stages_count_request_builder.go b/security/labels_retention_labels_item_disposition_review_stages_count_request_builder.go index 50b952a5e83..0fcfdf1ecaf 100644 --- a/security/labels_retention_labels_item_disposition_review_stages_count_request_builder.go +++ b/security/labels_retention_labels_item_disposition_review_stages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *LabelsRetentionLabelsItemDispositionReviewStagesCountRequestBuilder) To } 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 *LabelsRetentionLabelsItemDispositionReviewStagesCountRequestBuilder) WithUrl(rawUrl string)(*LabelsRetentionLabelsItemDispositionReviewStagesCountRequestBuilder) { + return NewLabelsRetentionLabelsItemDispositionReviewStagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_retention_labels_item_disposition_review_stages_disposition_review_stage_item_request_builder.go b/security/labels_retention_labels_item_disposition_review_stages_disposition_review_stage_item_request_builder.go index b20e15c56c4..8ee96339e6f 100644 --- a/security/labels_retention_labels_item_disposition_review_stages_disposition_review_stage_item_request_builder.go +++ b/security/labels_retention_labels_item_disposition_review_stages_disposition_review_stage_item_request_builder.go @@ -153,3 +153,7 @@ func (m *LabelsRetentionLabelsItemDispositionReviewStagesDispositionReviewStageI } 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 *LabelsRetentionLabelsItemDispositionReviewStagesDispositionReviewStageItemRequestBuilder) WithUrl(rawUrl string)(*LabelsRetentionLabelsItemDispositionReviewStagesDispositionReviewStageItemRequestBuilder) { + return NewLabelsRetentionLabelsItemDispositionReviewStagesDispositionReviewStageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_retention_labels_item_disposition_review_stages_request_builder.go b/security/labels_retention_labels_item_disposition_review_stages_request_builder.go index 3486360d796..ef2a48a5e52 100644 --- a/security/labels_retention_labels_item_disposition_review_stages_request_builder.go +++ b/security/labels_retention_labels_item_disposition_review_stages_request_builder.go @@ -46,8 +46,8 @@ type LabelsRetentionLabelsItemDispositionReviewStagesRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDispositionReviewStageIdString provides operations to manage the dispositionReviewStages property of the microsoft.graph.security.retentionLabel entity. -func (m *LabelsRetentionLabelsItemDispositionReviewStagesRequestBuilder) ByDispositionReviewStageIdString(dispositionReviewStageId string)(*LabelsRetentionLabelsItemDispositionReviewStagesDispositionReviewStageItemRequestBuilder) { +// ByDispositionReviewStageId provides operations to manage the dispositionReviewStages property of the microsoft.graph.security.retentionLabel entity. +func (m *LabelsRetentionLabelsItemDispositionReviewStagesRequestBuilder) ByDispositionReviewStageId(dispositionReviewStageId string)(*LabelsRetentionLabelsItemDispositionReviewStagesDispositionReviewStageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *LabelsRetentionLabelsItemDispositionReviewStagesRequestBuilder) ToPostR } 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 *LabelsRetentionLabelsItemDispositionReviewStagesRequestBuilder) WithUrl(rawUrl string)(*LabelsRetentionLabelsItemDispositionReviewStagesRequestBuilder) { + return NewLabelsRetentionLabelsItemDispositionReviewStagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_retention_labels_item_retention_event_type_request_builder.go b/security/labels_retention_labels_item_retention_event_type_request_builder.go index 43ad0dfb4b5..ee0d872ac4e 100644 --- a/security/labels_retention_labels_item_retention_event_type_request_builder.go +++ b/security/labels_retention_labels_item_retention_event_type_request_builder.go @@ -75,3 +75,7 @@ func (m *LabelsRetentionLabelsItemRetentionEventTypeRequestBuilder) ToGetRequest } 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 *LabelsRetentionLabelsItemRetentionEventTypeRequestBuilder) WithUrl(rawUrl string)(*LabelsRetentionLabelsItemRetentionEventTypeRequestBuilder) { + return NewLabelsRetentionLabelsItemRetentionEventTypeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_retention_labels_request_builder.go b/security/labels_retention_labels_request_builder.go index d904a84ae49..2382d8a81b5 100644 --- a/security/labels_retention_labels_request_builder.go +++ b/security/labels_retention_labels_request_builder.go @@ -46,8 +46,8 @@ type LabelsRetentionLabelsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRetentionLabelIdString provides operations to manage the retentionLabels property of the microsoft.graph.security.labelsRoot entity. -func (m *LabelsRetentionLabelsRequestBuilder) ByRetentionLabelIdString(retentionLabelId string)(*LabelsRetentionLabelsRetentionLabelItemRequestBuilder) { +// ByRetentionLabelId provides operations to manage the retentionLabels property of the microsoft.graph.security.labelsRoot entity. +func (m *LabelsRetentionLabelsRequestBuilder) ByRetentionLabelId(retentionLabelId string)(*LabelsRetentionLabelsRetentionLabelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *LabelsRetentionLabelsRequestBuilder) 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 *LabelsRetentionLabelsRequestBuilder) WithUrl(rawUrl string)(*LabelsRetentionLabelsRequestBuilder) { + return NewLabelsRetentionLabelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/labels_retention_labels_retention_label_item_request_builder.go b/security/labels_retention_labels_retention_label_item_request_builder.go index cfa4a8716f0..b64edfa4be4 100644 --- a/security/labels_retention_labels_retention_label_item_request_builder.go +++ b/security/labels_retention_labels_retention_label_item_request_builder.go @@ -171,3 +171,7 @@ func (m *LabelsRetentionLabelsRetentionLabelItemRequestBuilder) ToPatchRequestIn } 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 *LabelsRetentionLabelsRetentionLabelItemRequestBuilder) WithUrl(rawUrl string)(*LabelsRetentionLabelsRetentionLabelItemRequestBuilder) { + return NewLabelsRetentionLabelsRetentionLabelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/microsoft_graph_security_run_hunting_query_request_builder.go b/security/microsoft_graph_security_run_hunting_query_request_builder.go index 1d57a6ab457..3bdbe0d1107 100644 --- a/security/microsoft_graph_security_run_hunting_query_request_builder.go +++ b/security/microsoft_graph_security_run_hunting_query_request_builder.go @@ -67,3 +67,7 @@ func (m *MicrosoftGraphSecurityRunHuntingQueryRequestBuilder) ToPostRequestInfor } 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 *MicrosoftGraphSecurityRunHuntingQueryRequestBuilder) WithUrl(rawUrl string)(*MicrosoftGraphSecurityRunHuntingQueryRequestBuilder) { + return NewMicrosoftGraphSecurityRunHuntingQueryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/provider_tenant_settings_count_request_builder.go b/security/provider_tenant_settings_count_request_builder.go index 4c705fb41cc..6419f992eb5 100644 --- a/security/provider_tenant_settings_count_request_builder.go +++ b/security/provider_tenant_settings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ProviderTenantSettingsCountRequestBuilder) ToGetRequestInformation(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 *ProviderTenantSettingsCountRequestBuilder) WithUrl(rawUrl string)(*ProviderTenantSettingsCountRequestBuilder) { + return NewProviderTenantSettingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/provider_tenant_settings_provider_tenant_setting_item_request_builder.go b/security/provider_tenant_settings_provider_tenant_setting_item_request_builder.go index 3e615973f34..3d5d25860e6 100644 --- a/security/provider_tenant_settings_provider_tenant_setting_item_request_builder.go +++ b/security/provider_tenant_settings_provider_tenant_setting_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ProviderTenantSettingsProviderTenantSettingItemRequestBuilder) ToPatchR } 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 *ProviderTenantSettingsProviderTenantSettingItemRequestBuilder) WithUrl(rawUrl string)(*ProviderTenantSettingsProviderTenantSettingItemRequestBuilder) { + return NewProviderTenantSettingsProviderTenantSettingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/provider_tenant_settings_request_builder.go b/security/provider_tenant_settings_request_builder.go index 8e6e0579f8c..f62a4a4f262 100644 --- a/security/provider_tenant_settings_request_builder.go +++ b/security/provider_tenant_settings_request_builder.go @@ -46,8 +46,8 @@ type ProviderTenantSettingsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByProviderTenantSettingIdString provides operations to manage the providerTenantSettings property of the microsoft.graph.security entity. -func (m *ProviderTenantSettingsRequestBuilder) ByProviderTenantSettingIdString(providerTenantSettingId string)(*ProviderTenantSettingsProviderTenantSettingItemRequestBuilder) { +// ByProviderTenantSettingId provides operations to manage the providerTenantSettings property of the microsoft.graph.security entity. +func (m *ProviderTenantSettingsRequestBuilder) ByProviderTenantSettingId(providerTenantSettingId string)(*ProviderTenantSettingsProviderTenantSettingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ProviderTenantSettingsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ProviderTenantSettingsRequestBuilder) WithUrl(rawUrl string)(*ProviderTenantSettingsRequestBuilder) { + return NewProviderTenantSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/secure_score_control_profiles_count_request_builder.go b/security/secure_score_control_profiles_count_request_builder.go index 1ddc1c504d7..7bf51049687 100644 --- a/security/secure_score_control_profiles_count_request_builder.go +++ b/security/secure_score_control_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SecureScoreControlProfilesCountRequestBuilder) 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 *SecureScoreControlProfilesCountRequestBuilder) WithUrl(rawUrl string)(*SecureScoreControlProfilesCountRequestBuilder) { + return NewSecureScoreControlProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/secure_score_control_profiles_request_builder.go b/security/secure_score_control_profiles_request_builder.go index 2f2fce095d8..6b0092a5c6b 100644 --- a/security/secure_score_control_profiles_request_builder.go +++ b/security/secure_score_control_profiles_request_builder.go @@ -46,8 +46,8 @@ type SecureScoreControlProfilesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySecureScoreControlProfileIdString provides operations to manage the secureScoreControlProfiles property of the microsoft.graph.security entity. -func (m *SecureScoreControlProfilesRequestBuilder) BySecureScoreControlProfileIdString(secureScoreControlProfileId string)(*SecureScoreControlProfilesSecureScoreControlProfileItemRequestBuilder) { +// BySecureScoreControlProfileId provides operations to manage the secureScoreControlProfiles property of the microsoft.graph.security entity. +func (m *SecureScoreControlProfilesRequestBuilder) BySecureScoreControlProfileId(secureScoreControlProfileId string)(*SecureScoreControlProfilesSecureScoreControlProfileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *SecureScoreControlProfilesRequestBuilder) 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 *SecureScoreControlProfilesRequestBuilder) WithUrl(rawUrl string)(*SecureScoreControlProfilesRequestBuilder) { + return NewSecureScoreControlProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/secure_score_control_profiles_secure_score_control_profile_item_request_builder.go b/security/secure_score_control_profiles_secure_score_control_profile_item_request_builder.go index 7e0c9a0636b..6ac986832c7 100644 --- a/security/secure_score_control_profiles_secure_score_control_profile_item_request_builder.go +++ b/security/secure_score_control_profiles_secure_score_control_profile_item_request_builder.go @@ -156,3 +156,7 @@ func (m *SecureScoreControlProfilesSecureScoreControlProfileItemRequestBuilder) } 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 *SecureScoreControlProfilesSecureScoreControlProfileItemRequestBuilder) WithUrl(rawUrl string)(*SecureScoreControlProfilesSecureScoreControlProfileItemRequestBuilder) { + return NewSecureScoreControlProfilesSecureScoreControlProfileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/secure_scores_count_request_builder.go b/security/secure_scores_count_request_builder.go index 568d2a9c4c4..8b735a6ae6b 100644 --- a/security/secure_scores_count_request_builder.go +++ b/security/secure_scores_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SecureScoresCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *SecureScoresCountRequestBuilder) WithUrl(rawUrl string)(*SecureScoresCountRequestBuilder) { + return NewSecureScoresCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/secure_scores_request_builder.go b/security/secure_scores_request_builder.go index 0f4d26b11d1..63bd1e38298 100644 --- a/security/secure_scores_request_builder.go +++ b/security/secure_scores_request_builder.go @@ -46,8 +46,8 @@ type SecureScoresRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySecureScoreIdString provides operations to manage the secureScores property of the microsoft.graph.security entity. -func (m *SecureScoresRequestBuilder) BySecureScoreIdString(secureScoreId string)(*SecureScoresSecureScoreItemRequestBuilder) { +// BySecureScoreId provides operations to manage the secureScores property of the microsoft.graph.security entity. +func (m *SecureScoresRequestBuilder) BySecureScoreId(secureScoreId string)(*SecureScoresSecureScoreItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *SecureScoresRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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 *SecureScoresRequestBuilder) WithUrl(rawUrl string)(*SecureScoresRequestBuilder) { + return NewSecureScoresRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/secure_scores_secure_score_item_request_builder.go b/security/secure_scores_secure_score_item_request_builder.go index 07dbfd478cd..755295f99ba 100644 --- a/security/secure_scores_secure_score_item_request_builder.go +++ b/security/secure_scores_secure_score_item_request_builder.go @@ -153,3 +153,7 @@ func (m *SecureScoresSecureScoreItemRequestBuilder) ToPatchRequestInformation(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 *SecureScoresSecureScoreItemRequestBuilder) WithUrl(rawUrl string)(*SecureScoresSecureScoreItemRequestBuilder) { + return NewSecureScoresSecureScoreItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/security_actions_count_request_builder.go b/security/security_actions_count_request_builder.go index 8bb3b882098..9b16bf64e2f 100644 --- a/security/security_actions_count_request_builder.go +++ b/security/security_actions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SecurityActionsCountRequestBuilder) ToGetRequestInformation(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 *SecurityActionsCountRequestBuilder) WithUrl(rawUrl string)(*SecurityActionsCountRequestBuilder) { + return NewSecurityActionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/security_actions_item_cancel_security_action_request_builder.go b/security/security_actions_item_cancel_security_action_request_builder.go index f17a0db7d53..af677de5446 100644 --- a/security/security_actions_item_cancel_security_action_request_builder.go +++ b/security/security_actions_item_cancel_security_action_request_builder.go @@ -61,3 +61,7 @@ func (m *SecurityActionsItemCancelSecurityActionRequestBuilder) ToPostRequestInf } 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 *SecurityActionsItemCancelSecurityActionRequestBuilder) WithUrl(rawUrl string)(*SecurityActionsItemCancelSecurityActionRequestBuilder) { + return NewSecurityActionsItemCancelSecurityActionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/security_actions_request_builder.go b/security/security_actions_request_builder.go index 446d59822a2..8423126a387 100644 --- a/security/security_actions_request_builder.go +++ b/security/security_actions_request_builder.go @@ -46,8 +46,8 @@ type SecurityActionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySecurityActionIdString provides operations to manage the securityActions property of the microsoft.graph.security entity. -func (m *SecurityActionsRequestBuilder) BySecurityActionIdString(securityActionId string)(*SecurityActionsSecurityActionItemRequestBuilder) { +// BySecurityActionId provides operations to manage the securityActions property of the microsoft.graph.security entity. +func (m *SecurityActionsRequestBuilder) BySecurityActionId(securityActionId string)(*SecurityActionsSecurityActionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *SecurityActionsRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *SecurityActionsRequestBuilder) WithUrl(rawUrl string)(*SecurityActionsRequestBuilder) { + return NewSecurityActionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/security_actions_security_action_item_request_builder.go b/security/security_actions_security_action_item_request_builder.go index 44d702e9aa0..2aef8ace17c 100644 --- a/security/security_actions_security_action_item_request_builder.go +++ b/security/security_actions_security_action_item_request_builder.go @@ -160,3 +160,7 @@ func (m *SecurityActionsSecurityActionItemRequestBuilder) ToPatchRequestInformat } 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 *SecurityActionsSecurityActionItemRequestBuilder) WithUrl(rawUrl string)(*SecurityActionsSecurityActionItemRequestBuilder) { + return NewSecurityActionsSecurityActionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/security_request_builder.go b/security/security_request_builder.go index 3371d782b77..bfb6d37e997 100644 --- a/security/security_request_builder.go +++ b/security/security_request_builder.go @@ -214,3 +214,7 @@ func (m *SecurityRequestBuilder) TriggerTypes()(*TriggerTypesRequestBuilder) { func (m *SecurityRequestBuilder) UserSecurityProfiles()(*UserSecurityProfilesRequestBuilder) { return NewUserSecurityProfilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *SecurityRequestBuilder) WithUrl(rawUrl string)(*SecurityRequestBuilder) { + return NewSecurityRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/subject_rights_requests_count_request_builder.go b/security/subject_rights_requests_count_request_builder.go index 7435f2a650a..53ff473e690 100644 --- a/security/subject_rights_requests_count_request_builder.go +++ b/security/subject_rights_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SubjectRightsRequestsCountRequestBuilder) ToGetRequestInformation(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 *SubjectRightsRequestsCountRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsCountRequestBuilder) { + return NewSubjectRightsRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/subject_rights_requests_item_approvers_count_request_builder.go b/security/subject_rights_requests_item_approvers_count_request_builder.go index eb62ca03311..437250c8d1e 100644 --- a/security/subject_rights_requests_item_approvers_count_request_builder.go +++ b/security/subject_rights_requests_item_approvers_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SubjectRightsRequestsItemApproversCountRequestBuilder) ToGetRequestInfo } 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 *SubjectRightsRequestsItemApproversCountRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemApproversCountRequestBuilder) { + return NewSubjectRightsRequestsItemApproversCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/subject_rights_requests_item_approvers_item_mailbox_settings_request_builder.go b/security/subject_rights_requests_item_approvers_item_mailbox_settings_request_builder.go index 3e7f31822a1..815eca78369 100644 --- a/security/subject_rights_requests_item_approvers_item_mailbox_settings_request_builder.go +++ b/security/subject_rights_requests_item_approvers_item_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *SubjectRightsRequestsItemApproversItemMailboxSettingsRequestBuilder) To } 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 *SubjectRightsRequestsItemApproversItemMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemApproversItemMailboxSettingsRequestBuilder) { + return NewSubjectRightsRequestsItemApproversItemMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/subject_rights_requests_item_approvers_request_builder.go b/security/subject_rights_requests_item_approvers_request_builder.go index c30822463fd..55d359e3cbe 100644 --- a/security/subject_rights_requests_item_approvers_request_builder.go +++ b/security/subject_rights_requests_item_approvers_request_builder.go @@ -39,8 +39,8 @@ type SubjectRightsRequestsItemApproversRequestBuilderGetRequestConfiguration str // Request query parameters QueryParameters *SubjectRightsRequestsItemApproversRequestBuilderGetQueryParameters } -// ByUserIdString provides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity. -func (m *SubjectRightsRequestsItemApproversRequestBuilder) ByUserIdString(userId string)(*SubjectRightsRequestsItemApproversUserItemRequestBuilder) { +// ByUserId provides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity. +func (m *SubjectRightsRequestsItemApproversRequestBuilder) ByUserId(userId string)(*SubjectRightsRequestsItemApproversUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *SubjectRightsRequestsItemApproversRequestBuilder) ToGetRequestInformati } 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 *SubjectRightsRequestsItemApproversRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemApproversRequestBuilder) { + return NewSubjectRightsRequestsItemApproversRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/subject_rights_requests_item_approvers_user_item_request_builder.go b/security/subject_rights_requests_item_approvers_user_item_request_builder.go index 6db719f261f..2dab5d8c868 100644 --- a/security/subject_rights_requests_item_approvers_user_item_request_builder.go +++ b/security/subject_rights_requests_item_approvers_user_item_request_builder.go @@ -79,3 +79,7 @@ func (m *SubjectRightsRequestsItemApproversUserItemRequestBuilder) ToGetRequestI } 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 *SubjectRightsRequestsItemApproversUserItemRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemApproversUserItemRequestBuilder) { + return NewSubjectRightsRequestsItemApproversUserItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/subject_rights_requests_item_collaborators_count_request_builder.go b/security/subject_rights_requests_item_collaborators_count_request_builder.go index f8d596162dc..6a9b79b0965 100644 --- a/security/subject_rights_requests_item_collaborators_count_request_builder.go +++ b/security/subject_rights_requests_item_collaborators_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SubjectRightsRequestsItemCollaboratorsCountRequestBuilder) ToGetRequest } 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 *SubjectRightsRequestsItemCollaboratorsCountRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemCollaboratorsCountRequestBuilder) { + return NewSubjectRightsRequestsItemCollaboratorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/subject_rights_requests_item_collaborators_item_mailbox_settings_request_builder.go b/security/subject_rights_requests_item_collaborators_item_mailbox_settings_request_builder.go index b0996ce4979..aed8aa3de96 100644 --- a/security/subject_rights_requests_item_collaborators_item_mailbox_settings_request_builder.go +++ b/security/subject_rights_requests_item_collaborators_item_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *SubjectRightsRequestsItemCollaboratorsItemMailboxSettingsRequestBuilder } 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 *SubjectRightsRequestsItemCollaboratorsItemMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemCollaboratorsItemMailboxSettingsRequestBuilder) { + return NewSubjectRightsRequestsItemCollaboratorsItemMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/subject_rights_requests_item_collaborators_request_builder.go b/security/subject_rights_requests_item_collaborators_request_builder.go index c7aa386301b..796bd5a2db3 100644 --- a/security/subject_rights_requests_item_collaborators_request_builder.go +++ b/security/subject_rights_requests_item_collaborators_request_builder.go @@ -39,8 +39,8 @@ type SubjectRightsRequestsItemCollaboratorsRequestBuilderGetRequestConfiguration // Request query parameters QueryParameters *SubjectRightsRequestsItemCollaboratorsRequestBuilderGetQueryParameters } -// ByUserIdString provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity. -func (m *SubjectRightsRequestsItemCollaboratorsRequestBuilder) ByUserIdString(userId string)(*SubjectRightsRequestsItemCollaboratorsUserItemRequestBuilder) { +// ByUserId provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity. +func (m *SubjectRightsRequestsItemCollaboratorsRequestBuilder) ByUserId(userId string)(*SubjectRightsRequestsItemCollaboratorsUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *SubjectRightsRequestsItemCollaboratorsRequestBuilder) ToGetRequestInfor } 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 *SubjectRightsRequestsItemCollaboratorsRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemCollaboratorsRequestBuilder) { + return NewSubjectRightsRequestsItemCollaboratorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/subject_rights_requests_item_collaborators_user_item_request_builder.go b/security/subject_rights_requests_item_collaborators_user_item_request_builder.go index b3e83732898..1c8d378aed4 100644 --- a/security/subject_rights_requests_item_collaborators_user_item_request_builder.go +++ b/security/subject_rights_requests_item_collaborators_user_item_request_builder.go @@ -79,3 +79,7 @@ func (m *SubjectRightsRequestsItemCollaboratorsUserItemRequestBuilder) ToGetRequ } 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 *SubjectRightsRequestsItemCollaboratorsUserItemRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemCollaboratorsUserItemRequestBuilder) { + return NewSubjectRightsRequestsItemCollaboratorsUserItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/subject_rights_requests_item_get_final_attachment_request_builder.go b/security/subject_rights_requests_item_get_final_attachment_request_builder.go index 0b9c0c39438..ae93bfa06e4 100644 --- a/security/subject_rights_requests_item_get_final_attachment_request_builder.go +++ b/security/subject_rights_requests_item_get_final_attachment_request_builder.go @@ -61,3 +61,7 @@ func (m *SubjectRightsRequestsItemGetFinalAttachmentRequestBuilder) ToGetRequest } 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 *SubjectRightsRequestsItemGetFinalAttachmentRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemGetFinalAttachmentRequestBuilder) { + return NewSubjectRightsRequestsItemGetFinalAttachmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/subject_rights_requests_item_get_final_report_request_builder.go b/security/subject_rights_requests_item_get_final_report_request_builder.go index 8f4d92d9296..eff6e8c985f 100644 --- a/security/subject_rights_requests_item_get_final_report_request_builder.go +++ b/security/subject_rights_requests_item_get_final_report_request_builder.go @@ -61,3 +61,7 @@ func (m *SubjectRightsRequestsItemGetFinalReportRequestBuilder) ToGetRequestInfo } 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 *SubjectRightsRequestsItemGetFinalReportRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemGetFinalReportRequestBuilder) { + return NewSubjectRightsRequestsItemGetFinalReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/subject_rights_requests_item_notes_authored_note_item_request_builder.go b/security/subject_rights_requests_item_notes_authored_note_item_request_builder.go index 826579e3015..058fee7b635 100644 --- a/security/subject_rights_requests_item_notes_authored_note_item_request_builder.go +++ b/security/subject_rights_requests_item_notes_authored_note_item_request_builder.go @@ -153,3 +153,7 @@ func (m *SubjectRightsRequestsItemNotesAuthoredNoteItemRequestBuilder) ToPatchRe } 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 *SubjectRightsRequestsItemNotesAuthoredNoteItemRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemNotesAuthoredNoteItemRequestBuilder) { + return NewSubjectRightsRequestsItemNotesAuthoredNoteItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/subject_rights_requests_item_notes_count_request_builder.go b/security/subject_rights_requests_item_notes_count_request_builder.go index 1a589b503ec..24e8f4d72ab 100644 --- a/security/subject_rights_requests_item_notes_count_request_builder.go +++ b/security/subject_rights_requests_item_notes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SubjectRightsRequestsItemNotesCountRequestBuilder) ToGetRequestInformat } 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 *SubjectRightsRequestsItemNotesCountRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemNotesCountRequestBuilder) { + return NewSubjectRightsRequestsItemNotesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/subject_rights_requests_item_notes_request_builder.go b/security/subject_rights_requests_item_notes_request_builder.go index 050d7387505..ca92850e2c5 100644 --- a/security/subject_rights_requests_item_notes_request_builder.go +++ b/security/subject_rights_requests_item_notes_request_builder.go @@ -46,8 +46,8 @@ type SubjectRightsRequestsItemNotesRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAuthoredNoteIdString provides operations to manage the notes property of the microsoft.graph.subjectRightsRequest entity. -func (m *SubjectRightsRequestsItemNotesRequestBuilder) ByAuthoredNoteIdString(authoredNoteId string)(*SubjectRightsRequestsItemNotesAuthoredNoteItemRequestBuilder) { +// ByAuthoredNoteId provides operations to manage the notes property of the microsoft.graph.subjectRightsRequest entity. +func (m *SubjectRightsRequestsItemNotesRequestBuilder) ByAuthoredNoteId(authoredNoteId string)(*SubjectRightsRequestsItemNotesAuthoredNoteItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *SubjectRightsRequestsItemNotesRequestBuilder) 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 *SubjectRightsRequestsItemNotesRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemNotesRequestBuilder) { + return NewSubjectRightsRequestsItemNotesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/subject_rights_requests_item_team_request_builder.go b/security/subject_rights_requests_item_team_request_builder.go index 7416297e475..96e8a4bbd2d 100644 --- a/security/subject_rights_requests_item_team_request_builder.go +++ b/security/subject_rights_requests_item_team_request_builder.go @@ -75,3 +75,7 @@ func (m *SubjectRightsRequestsItemTeamRequestBuilder) ToGetRequestInformation(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 *SubjectRightsRequestsItemTeamRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsItemTeamRequestBuilder) { + return NewSubjectRightsRequestsItemTeamRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/subject_rights_requests_request_builder.go b/security/subject_rights_requests_request_builder.go index eeb8149b442..2dbc8b7bc93 100644 --- a/security/subject_rights_requests_request_builder.go +++ b/security/subject_rights_requests_request_builder.go @@ -46,8 +46,8 @@ type SubjectRightsRequestsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySubjectRightsRequestIdString provides operations to manage the subjectRightsRequests property of the microsoft.graph.security entity. -func (m *SubjectRightsRequestsRequestBuilder) BySubjectRightsRequestIdString(subjectRightsRequestId string)(*SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) { +// BySubjectRightsRequestId provides operations to manage the subjectRightsRequests property of the microsoft.graph.security entity. +func (m *SubjectRightsRequestsRequestBuilder) BySubjectRightsRequestId(subjectRightsRequestId string)(*SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SubjectRightsRequestsRequestBuilder) 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 *SubjectRightsRequestsRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsRequestBuilder) { + return NewSubjectRightsRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/subject_rights_requests_subject_rights_request_item_request_builder.go b/security/subject_rights_requests_subject_rights_request_item_request_builder.go index 580e104d443..31d0f812399 100644 --- a/security/subject_rights_requests_subject_rights_request_item_request_builder.go +++ b/security/subject_rights_requests_subject_rights_request_item_request_builder.go @@ -177,3 +177,7 @@ func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) ToPatchReq } 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 *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) WithUrl(rawUrl string)(*SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) { + return NewSubjectRightsRequestsSubjectRightsRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_article_indicators_article_indicator_item_request_builder.go b/security/threat_intelligence_article_indicators_article_indicator_item_request_builder.go index 2826464c48a..182d725043c 100644 --- a/security/threat_intelligence_article_indicators_article_indicator_item_request_builder.go +++ b/security/threat_intelligence_article_indicators_article_indicator_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ThreatIntelligenceArticleIndicatorsArticleIndicatorItemRequestBuilder) } 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 *ThreatIntelligenceArticleIndicatorsArticleIndicatorItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceArticleIndicatorsArticleIndicatorItemRequestBuilder) { + return NewThreatIntelligenceArticleIndicatorsArticleIndicatorItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_article_indicators_count_request_builder.go b/security/threat_intelligence_article_indicators_count_request_builder.go index ceae989c780..8ab12dc975d 100644 --- a/security/threat_intelligence_article_indicators_count_request_builder.go +++ b/security/threat_intelligence_article_indicators_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceArticleIndicatorsCountRequestBuilder) ToGetRequestInf } 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 *ThreatIntelligenceArticleIndicatorsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceArticleIndicatorsCountRequestBuilder) { + return NewThreatIntelligenceArticleIndicatorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_article_indicators_item_artifact_request_builder.go b/security/threat_intelligence_article_indicators_item_artifact_request_builder.go index 39bf10466aa..d03131e0481 100644 --- a/security/threat_intelligence_article_indicators_item_artifact_request_builder.go +++ b/security/threat_intelligence_article_indicators_item_artifact_request_builder.go @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceArticleIndicatorsItemArtifactRequestBuilder) ToGetReq } 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 *ThreatIntelligenceArticleIndicatorsItemArtifactRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceArticleIndicatorsItemArtifactRequestBuilder) { + return NewThreatIntelligenceArticleIndicatorsItemArtifactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_article_indicators_request_builder.go b/security/threat_intelligence_article_indicators_request_builder.go index f5150665da4..47c5506b0fd 100644 --- a/security/threat_intelligence_article_indicators_request_builder.go +++ b/security/threat_intelligence_article_indicators_request_builder.go @@ -46,8 +46,8 @@ type ThreatIntelligenceArticleIndicatorsRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByArticleIndicatorIdString provides operations to manage the articleIndicators property of the microsoft.graph.security.threatIntelligence entity. -func (m *ThreatIntelligenceArticleIndicatorsRequestBuilder) ByArticleIndicatorIdString(articleIndicatorId string)(*ThreatIntelligenceArticleIndicatorsArticleIndicatorItemRequestBuilder) { +// ByArticleIndicatorId provides operations to manage the articleIndicators property of the microsoft.graph.security.threatIntelligence entity. +func (m *ThreatIntelligenceArticleIndicatorsRequestBuilder) ByArticleIndicatorId(articleIndicatorId string)(*ThreatIntelligenceArticleIndicatorsArticleIndicatorItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ThreatIntelligenceArticleIndicatorsRequestBuilder) ToPostRequestInforma } 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 *ThreatIntelligenceArticleIndicatorsRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceArticleIndicatorsRequestBuilder) { + return NewThreatIntelligenceArticleIndicatorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_articles_article_item_request_builder.go b/security/threat_intelligence_articles_article_item_request_builder.go index 4187488af37..e8f7c90706e 100644 --- a/security/threat_intelligence_articles_article_item_request_builder.go +++ b/security/threat_intelligence_articles_article_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ThreatIntelligenceArticlesArticleItemRequestBuilder) 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 *ThreatIntelligenceArticlesArticleItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceArticlesArticleItemRequestBuilder) { + return NewThreatIntelligenceArticlesArticleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_articles_count_request_builder.go b/security/threat_intelligence_articles_count_request_builder.go index 03a5248e4a2..8457e34c5fb 100644 --- a/security/threat_intelligence_articles_count_request_builder.go +++ b/security/threat_intelligence_articles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceArticlesCountRequestBuilder) 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 *ThreatIntelligenceArticlesCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceArticlesCountRequestBuilder) { + return NewThreatIntelligenceArticlesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_articles_item_indicators_article_indicator_item_request_builder.go b/security/threat_intelligence_articles_item_indicators_article_indicator_item_request_builder.go index 7fb99774025..1f73890f176 100644 --- a/security/threat_intelligence_articles_item_indicators_article_indicator_item_request_builder.go +++ b/security/threat_intelligence_articles_item_indicators_article_indicator_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceArticlesItemIndicatorsArticleIndicatorItemRequestBuil } 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 *ThreatIntelligenceArticlesItemIndicatorsArticleIndicatorItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceArticlesItemIndicatorsArticleIndicatorItemRequestBuilder) { + return NewThreatIntelligenceArticlesItemIndicatorsArticleIndicatorItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_articles_item_indicators_count_request_builder.go b/security/threat_intelligence_articles_item_indicators_count_request_builder.go index 45f548051c2..2949eb2bc56 100644 --- a/security/threat_intelligence_articles_item_indicators_count_request_builder.go +++ b/security/threat_intelligence_articles_item_indicators_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceArticlesItemIndicatorsCountRequestBuilder) ToGetReque } 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 *ThreatIntelligenceArticlesItemIndicatorsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceArticlesItemIndicatorsCountRequestBuilder) { + return NewThreatIntelligenceArticlesItemIndicatorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_articles_item_indicators_request_builder.go b/security/threat_intelligence_articles_item_indicators_request_builder.go index 951be668bf5..f8279fcef8b 100644 --- a/security/threat_intelligence_articles_item_indicators_request_builder.go +++ b/security/threat_intelligence_articles_item_indicators_request_builder.go @@ -39,8 +39,8 @@ type ThreatIntelligenceArticlesItemIndicatorsRequestBuilderGetRequestConfigurati // Request query parameters QueryParameters *ThreatIntelligenceArticlesItemIndicatorsRequestBuilderGetQueryParameters } -// ByArticleIndicatorIdString provides operations to manage the indicators property of the microsoft.graph.security.article entity. -func (m *ThreatIntelligenceArticlesItemIndicatorsRequestBuilder) ByArticleIndicatorIdString(articleIndicatorId string)(*ThreatIntelligenceArticlesItemIndicatorsArticleIndicatorItemRequestBuilder) { +// ByArticleIndicatorId provides operations to manage the indicators property of the microsoft.graph.security.article entity. +func (m *ThreatIntelligenceArticlesItemIndicatorsRequestBuilder) ByArticleIndicatorId(articleIndicatorId string)(*ThreatIntelligenceArticlesItemIndicatorsArticleIndicatorItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ThreatIntelligenceArticlesItemIndicatorsRequestBuilder) ToGetRequestInf } 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 *ThreatIntelligenceArticlesItemIndicatorsRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceArticlesItemIndicatorsRequestBuilder) { + return NewThreatIntelligenceArticlesItemIndicatorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_articles_request_builder.go b/security/threat_intelligence_articles_request_builder.go index 20557d8ade2..b4c35cf4ab8 100644 --- a/security/threat_intelligence_articles_request_builder.go +++ b/security/threat_intelligence_articles_request_builder.go @@ -46,8 +46,8 @@ type ThreatIntelligenceArticlesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByArticleIdString provides operations to manage the articles property of the microsoft.graph.security.threatIntelligence entity. -func (m *ThreatIntelligenceArticlesRequestBuilder) ByArticleIdString(articleId string)(*ThreatIntelligenceArticlesArticleItemRequestBuilder) { +// ByArticleId provides operations to manage the articles property of the microsoft.graph.security.threatIntelligence entity. +func (m *ThreatIntelligenceArticlesRequestBuilder) ByArticleId(articleId string)(*ThreatIntelligenceArticlesArticleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ThreatIntelligenceArticlesRequestBuilder) 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 *ThreatIntelligenceArticlesRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceArticlesRequestBuilder) { + return NewThreatIntelligenceArticlesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_components_count_request_builder.go b/security/threat_intelligence_host_components_count_request_builder.go index 9952ba8b683..c817f2e8f94 100644 --- a/security/threat_intelligence_host_components_count_request_builder.go +++ b/security/threat_intelligence_host_components_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceHostComponentsCountRequestBuilder) ToGetRequestInform } 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 *ThreatIntelligenceHostComponentsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostComponentsCountRequestBuilder) { + return NewThreatIntelligenceHostComponentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_components_host_component_item_request_builder.go b/security/threat_intelligence_host_components_host_component_item_request_builder.go index f877d25949a..c8ca1aa1871 100644 --- a/security/threat_intelligence_host_components_host_component_item_request_builder.go +++ b/security/threat_intelligence_host_components_host_component_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ThreatIntelligenceHostComponentsHostComponentItemRequestBuilder) ToPatc } 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 *ThreatIntelligenceHostComponentsHostComponentItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostComponentsHostComponentItemRequestBuilder) { + return NewThreatIntelligenceHostComponentsHostComponentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_components_item_host_request_builder.go b/security/threat_intelligence_host_components_item_host_request_builder.go index 56db2e210f1..332f5903234 100644 --- a/security/threat_intelligence_host_components_item_host_request_builder.go +++ b/security/threat_intelligence_host_components_item_host_request_builder.go @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceHostComponentsItemHostRequestBuilder) ToGetRequestInf } 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 *ThreatIntelligenceHostComponentsItemHostRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostComponentsItemHostRequestBuilder) { + return NewThreatIntelligenceHostComponentsItemHostRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_components_request_builder.go b/security/threat_intelligence_host_components_request_builder.go index b0969c24c06..9bd5751324a 100644 --- a/security/threat_intelligence_host_components_request_builder.go +++ b/security/threat_intelligence_host_components_request_builder.go @@ -46,8 +46,8 @@ type ThreatIntelligenceHostComponentsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByHostComponentIdString provides operations to manage the hostComponents property of the microsoft.graph.security.threatIntelligence entity. -func (m *ThreatIntelligenceHostComponentsRequestBuilder) ByHostComponentIdString(hostComponentId string)(*ThreatIntelligenceHostComponentsHostComponentItemRequestBuilder) { +// ByHostComponentId provides operations to manage the hostComponents property of the microsoft.graph.security.threatIntelligence entity. +func (m *ThreatIntelligenceHostComponentsRequestBuilder) ByHostComponentId(hostComponentId string)(*ThreatIntelligenceHostComponentsHostComponentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ThreatIntelligenceHostComponentsRequestBuilder) ToPostRequestInformatio } 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 *ThreatIntelligenceHostComponentsRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostComponentsRequestBuilder) { + return NewThreatIntelligenceHostComponentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_cookies_count_request_builder.go b/security/threat_intelligence_host_cookies_count_request_builder.go index fd4c48be184..6e0944fb41a 100644 --- a/security/threat_intelligence_host_cookies_count_request_builder.go +++ b/security/threat_intelligence_host_cookies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceHostCookiesCountRequestBuilder) ToGetRequestInformati } 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 *ThreatIntelligenceHostCookiesCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostCookiesCountRequestBuilder) { + return NewThreatIntelligenceHostCookiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_cookies_host_cookie_item_request_builder.go b/security/threat_intelligence_host_cookies_host_cookie_item_request_builder.go index 762089a1e30..18ef02018ba 100644 --- a/security/threat_intelligence_host_cookies_host_cookie_item_request_builder.go +++ b/security/threat_intelligence_host_cookies_host_cookie_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ThreatIntelligenceHostCookiesHostCookieItemRequestBuilder) ToPatchReque } 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 *ThreatIntelligenceHostCookiesHostCookieItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostCookiesHostCookieItemRequestBuilder) { + return NewThreatIntelligenceHostCookiesHostCookieItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_cookies_item_host_request_builder.go b/security/threat_intelligence_host_cookies_item_host_request_builder.go index 00c9ed6723e..cb437310a9f 100644 --- a/security/threat_intelligence_host_cookies_item_host_request_builder.go +++ b/security/threat_intelligence_host_cookies_item_host_request_builder.go @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceHostCookiesItemHostRequestBuilder) ToGetRequestInform } 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 *ThreatIntelligenceHostCookiesItemHostRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostCookiesItemHostRequestBuilder) { + return NewThreatIntelligenceHostCookiesItemHostRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_cookies_request_builder.go b/security/threat_intelligence_host_cookies_request_builder.go index 2c7e9b02e7c..cb09adff106 100644 --- a/security/threat_intelligence_host_cookies_request_builder.go +++ b/security/threat_intelligence_host_cookies_request_builder.go @@ -46,8 +46,8 @@ type ThreatIntelligenceHostCookiesRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByHostCookieIdString provides operations to manage the hostCookies property of the microsoft.graph.security.threatIntelligence entity. -func (m *ThreatIntelligenceHostCookiesRequestBuilder) ByHostCookieIdString(hostCookieId string)(*ThreatIntelligenceHostCookiesHostCookieItemRequestBuilder) { +// ByHostCookieId provides operations to manage the hostCookies property of the microsoft.graph.security.threatIntelligence entity. +func (m *ThreatIntelligenceHostCookiesRequestBuilder) ByHostCookieId(hostCookieId string)(*ThreatIntelligenceHostCookiesHostCookieItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ThreatIntelligenceHostCookiesRequestBuilder) ToPostRequestInformation(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 *ThreatIntelligenceHostCookiesRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostCookiesRequestBuilder) { + return NewThreatIntelligenceHostCookiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_pairs_count_request_builder.go b/security/threat_intelligence_host_pairs_count_request_builder.go index 19184f59172..beeb3ec0601 100644 --- a/security/threat_intelligence_host_pairs_count_request_builder.go +++ b/security/threat_intelligence_host_pairs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceHostPairsCountRequestBuilder) 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 *ThreatIntelligenceHostPairsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostPairsCountRequestBuilder) { + return NewThreatIntelligenceHostPairsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_pairs_host_pair_item_request_builder.go b/security/threat_intelligence_host_pairs_host_pair_item_request_builder.go index 1c3cfa26432..0a4155520c4 100644 --- a/security/threat_intelligence_host_pairs_host_pair_item_request_builder.go +++ b/security/threat_intelligence_host_pairs_host_pair_item_request_builder.go @@ -164,3 +164,7 @@ func (m *ThreatIntelligenceHostPairsHostPairItemRequestBuilder) ToPatchRequestIn } 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 *ThreatIntelligenceHostPairsHostPairItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostPairsHostPairItemRequestBuilder) { + return NewThreatIntelligenceHostPairsHostPairItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_pairs_item_child_host_request_builder.go b/security/threat_intelligence_host_pairs_item_child_host_request_builder.go index 2fa1faa0657..99f2c339f04 100644 --- a/security/threat_intelligence_host_pairs_item_child_host_request_builder.go +++ b/security/threat_intelligence_host_pairs_item_child_host_request_builder.go @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceHostPairsItemChildHostRequestBuilder) ToGetRequestInf } 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 *ThreatIntelligenceHostPairsItemChildHostRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostPairsItemChildHostRequestBuilder) { + return NewThreatIntelligenceHostPairsItemChildHostRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_pairs_item_parent_host_request_builder.go b/security/threat_intelligence_host_pairs_item_parent_host_request_builder.go index ded30b76d3c..1af043aec3f 100644 --- a/security/threat_intelligence_host_pairs_item_parent_host_request_builder.go +++ b/security/threat_intelligence_host_pairs_item_parent_host_request_builder.go @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceHostPairsItemParentHostRequestBuilder) ToGetRequestIn } 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 *ThreatIntelligenceHostPairsItemParentHostRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostPairsItemParentHostRequestBuilder) { + return NewThreatIntelligenceHostPairsItemParentHostRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_pairs_request_builder.go b/security/threat_intelligence_host_pairs_request_builder.go index 60cf1c394ce..72cfe8c1a0e 100644 --- a/security/threat_intelligence_host_pairs_request_builder.go +++ b/security/threat_intelligence_host_pairs_request_builder.go @@ -46,8 +46,8 @@ type ThreatIntelligenceHostPairsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByHostPairIdString provides operations to manage the hostPairs property of the microsoft.graph.security.threatIntelligence entity. -func (m *ThreatIntelligenceHostPairsRequestBuilder) ByHostPairIdString(hostPairId string)(*ThreatIntelligenceHostPairsHostPairItemRequestBuilder) { +// ByHostPairId provides operations to manage the hostPairs property of the microsoft.graph.security.threatIntelligence entity. +func (m *ThreatIntelligenceHostPairsRequestBuilder) ByHostPairId(hostPairId string)(*ThreatIntelligenceHostPairsHostPairItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ThreatIntelligenceHostPairsRequestBuilder) 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 *ThreatIntelligenceHostPairsRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostPairsRequestBuilder) { + return NewThreatIntelligenceHostPairsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/deviceappmanagement/mobile_apps_graph_mobile_lob_app_count_request_builder.go b/security/threat_intelligence_host_ports_count_request_builder.go similarity index 63% rename from deviceappmanagement/mobile_apps_graph_mobile_lob_app_count_request_builder.go rename to security/threat_intelligence_host_ports_count_request_builder.go index 98648280a5a..5e4762fa93b 100644 --- a/deviceappmanagement/mobile_apps_graph_mobile_lob_app_count_request_builder.go +++ b/security/threat_intelligence_host_ports_count_request_builder.go @@ -1,4 +1,4 @@ -package deviceappmanagement +package security import ( "context" @@ -6,41 +6,41 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// MobileAppsGraphMobileLobAppCountRequestBuilder provides operations to count the resources in the collection. -type MobileAppsGraphMobileLobAppCountRequestBuilder struct { +// ThreatIntelligenceHostPortsCountRequestBuilder provides operations to count the resources in the collection. +type ThreatIntelligenceHostPortsCountRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsGraphMobileLobAppCountRequestBuilderGetQueryParameters get the number of the resource -type MobileAppsGraphMobileLobAppCountRequestBuilderGetQueryParameters struct { +// ThreatIntelligenceHostPortsCountRequestBuilderGetQueryParameters get the number of the resource +type ThreatIntelligenceHostPortsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` // Search items by search phrases Search *string `uriparametername:"%24search"` } -// MobileAppsGraphMobileLobAppCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type MobileAppsGraphMobileLobAppCountRequestBuilderGetRequestConfiguration struct { +// ThreatIntelligenceHostPortsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ThreatIntelligenceHostPortsCountRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters - QueryParameters *MobileAppsGraphMobileLobAppCountRequestBuilderGetQueryParameters + QueryParameters *ThreatIntelligenceHostPortsCountRequestBuilderGetQueryParameters } -// NewMobileAppsGraphMobileLobAppCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. -func NewMobileAppsGraphMobileLobAppCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphMobileLobAppCountRequestBuilder) { - m := &MobileAppsGraphMobileLobAppCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/graph.mobileLobApp/$count{?%24search,%24filter}", pathParameters), +// NewThreatIntelligenceHostPortsCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewThreatIntelligenceHostPortsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ThreatIntelligenceHostPortsCountRequestBuilder) { + m := &ThreatIntelligenceHostPortsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/threatIntelligence/hostPorts/$count{?%24search,%24filter}", pathParameters), } return m } -// NewMobileAppsGraphMobileLobAppCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. -func NewMobileAppsGraphMobileLobAppCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MobileAppsGraphMobileLobAppCountRequestBuilder) { +// NewThreatIntelligenceHostPortsCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewThreatIntelligenceHostPortsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ThreatIntelligenceHostPortsCountRequestBuilder) { urlParams := make(map[string]string) urlParams["request-raw-url"] = rawUrl - return NewMobileAppsGraphMobileLobAppCountRequestBuilderInternal(urlParams, requestAdapter) + return NewThreatIntelligenceHostPortsCountRequestBuilderInternal(urlParams, requestAdapter) } // Get get the number of the resource -func (m *MobileAppsGraphMobileLobAppCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsGraphMobileLobAppCountRequestBuilderGetRequestConfiguration)(*int32, error) { +func (m *ThreatIntelligenceHostPortsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostPortsCountRequestBuilderGetRequestConfiguration)(*int32, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { return nil, err @@ -59,7 +59,7 @@ func (m *MobileAppsGraphMobileLobAppCountRequestBuilder) Get(ctx context.Context return res.(*int32), nil } // ToGetRequestInformation get the number of the resource -func (m *MobileAppsGraphMobileLobAppCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsGraphMobileLobAppCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +func (m *ThreatIntelligenceHostPortsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostPortsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters @@ -74,3 +74,7 @@ func (m *MobileAppsGraphMobileLobAppCountRequestBuilder) 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 *ThreatIntelligenceHostPortsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostPortsCountRequestBuilder) { + return NewThreatIntelligenceHostPortsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_ports_host_port_item_request_builder.go b/security/threat_intelligence_host_ports_host_port_item_request_builder.go new file mode 100644 index 00000000000..aa176febf01 --- /dev/null +++ b/security/threat_intelligence_host_ports_host_port_item_request_builder.go @@ -0,0 +1,167 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/security" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ThreatIntelligenceHostPortsHostPortItemRequestBuilder provides operations to manage the hostPorts property of the microsoft.graph.security.threatIntelligence entity. +type ThreatIntelligenceHostPortsHostPortItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ThreatIntelligenceHostPortsHostPortItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ThreatIntelligenceHostPortsHostPortItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ThreatIntelligenceHostPortsHostPortItemRequestBuilderGetQueryParameters get hostPorts from security +type ThreatIntelligenceHostPortsHostPortItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ThreatIntelligenceHostPortsHostPortItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ThreatIntelligenceHostPortsHostPortItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ThreatIntelligenceHostPortsHostPortItemRequestBuilderGetQueryParameters +} +// ThreatIntelligenceHostPortsHostPortItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ThreatIntelligenceHostPortsHostPortItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewThreatIntelligenceHostPortsHostPortItemRequestBuilderInternal instantiates a new HostPortItemRequestBuilder and sets the default values. +func NewThreatIntelligenceHostPortsHostPortItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ThreatIntelligenceHostPortsHostPortItemRequestBuilder) { + m := &ThreatIntelligenceHostPortsHostPortItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/threatIntelligence/hostPorts/{hostPort%2Did}{?%24select,%24expand}", pathParameters), + } + return m +} +// NewThreatIntelligenceHostPortsHostPortItemRequestBuilder instantiates a new HostPortItemRequestBuilder and sets the default values. +func NewThreatIntelligenceHostPortsHostPortItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ThreatIntelligenceHostPortsHostPortItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewThreatIntelligenceHostPortsHostPortItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property hostPorts for security +func (m *ThreatIntelligenceHostPortsHostPortItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ThreatIntelligenceHostPortsHostPortItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get hostPorts from security +func (m *ThreatIntelligenceHostPortsHostPortItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostPortsHostPortItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPortable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CreateHostPortFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPortable), nil +} +// Host provides operations to manage the host property of the microsoft.graph.security.hostPort entity. +func (m *ThreatIntelligenceHostPortsHostPortItemRequestBuilder) Host()(*ThreatIntelligenceHostPortsItemHostRequestBuilder) { + return NewThreatIntelligenceHostPortsItemHostRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// MostRecentSslCertificate provides operations to manage the mostRecentSslCertificate property of the microsoft.graph.security.hostPort entity. +func (m *ThreatIntelligenceHostPortsHostPortItemRequestBuilder) MostRecentSslCertificate()(*ThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilder) { + return NewThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property hostPorts in security +func (m *ThreatIntelligenceHostPortsHostPortItemRequestBuilder) Patch(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPortable, requestConfiguration *ThreatIntelligenceHostPortsHostPortItemRequestBuilderPatchRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPortable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CreateHostPortFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPortable), nil +} +// ToDeleteRequestInformation delete navigation property hostPorts for security +func (m *ThreatIntelligenceHostPortsHostPortItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostPortsHostPortItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToGetRequestInformation get hostPorts from security +func (m *ThreatIntelligenceHostPortsHostPortItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostPortsHostPortItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property hostPorts in security +func (m *ThreatIntelligenceHostPortsHostPortItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPortable, requestConfiguration *ThreatIntelligenceHostPortsHostPortItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH + requestInfo.Headers.Add("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *ThreatIntelligenceHostPortsHostPortItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostPortsHostPortItemRequestBuilder) { + return NewThreatIntelligenceHostPortsHostPortItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_ports_item_host_request_builder.go b/security/threat_intelligence_host_ports_item_host_request_builder.go new file mode 100644 index 00000000000..16d7f3bf429 --- /dev/null +++ b/security/threat_intelligence_host_ports_item_host_request_builder.go @@ -0,0 +1,81 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/security" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ThreatIntelligenceHostPortsItemHostRequestBuilder provides operations to manage the host property of the microsoft.graph.security.hostPort entity. +type ThreatIntelligenceHostPortsItemHostRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ThreatIntelligenceHostPortsItemHostRequestBuilderGetQueryParameters get host from security +type ThreatIntelligenceHostPortsItemHostRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ThreatIntelligenceHostPortsItemHostRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ThreatIntelligenceHostPortsItemHostRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ThreatIntelligenceHostPortsItemHostRequestBuilderGetQueryParameters +} +// NewThreatIntelligenceHostPortsItemHostRequestBuilderInternal instantiates a new HostRequestBuilder and sets the default values. +func NewThreatIntelligenceHostPortsItemHostRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ThreatIntelligenceHostPortsItemHostRequestBuilder) { + m := &ThreatIntelligenceHostPortsItemHostRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/threatIntelligence/hostPorts/{hostPort%2Did}/host{?%24select,%24expand}", pathParameters), + } + return m +} +// NewThreatIntelligenceHostPortsItemHostRequestBuilder instantiates a new HostRequestBuilder and sets the default values. +func NewThreatIntelligenceHostPortsItemHostRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ThreatIntelligenceHostPortsItemHostRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewThreatIntelligenceHostPortsItemHostRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get host from security +func (m *ThreatIntelligenceHostPortsItemHostRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostPortsItemHostRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Hostable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CreateHostFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Hostable), nil +} +// ToGetRequestInformation get host from security +func (m *ThreatIntelligenceHostPortsItemHostRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostPortsItemHostRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *ThreatIntelligenceHostPortsItemHostRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostPortsItemHostRequestBuilder) { + return NewThreatIntelligenceHostPortsItemHostRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_ports_item_most_recent_ssl_certificate_request_builder.go b/security/threat_intelligence_host_ports_item_most_recent_ssl_certificate_request_builder.go new file mode 100644 index 00000000000..ecff4b09663 --- /dev/null +++ b/security/threat_intelligence_host_ports_item_most_recent_ssl_certificate_request_builder.go @@ -0,0 +1,81 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/security" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilder provides operations to manage the mostRecentSslCertificate property of the microsoft.graph.security.hostPort entity. +type ThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilderGetQueryParameters get mostRecentSslCertificate from security +type ThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilderGetQueryParameters +} +// NewThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilderInternal instantiates a new MostRecentSslCertificateRequestBuilder and sets the default values. +func NewThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilder) { + m := &ThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/threatIntelligence/hostPorts/{hostPort%2Did}/mostRecentSslCertificate{?%24select,%24expand}", pathParameters), + } + return m +} +// NewThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilder instantiates a new MostRecentSslCertificateRequestBuilder and sets the default values. +func NewThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get mostRecentSslCertificate from security +func (m *ThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SslCertificateable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CreateSslCertificateFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SslCertificateable), nil +} +// ToGetRequestInformation get mostRecentSslCertificate from security +func (m *ThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *ThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilder) { + return NewThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_ports_request_builder.go b/security/threat_intelligence_host_ports_request_builder.go new file mode 100644 index 00000000000..cd6261a3b0b --- /dev/null +++ b/security/threat_intelligence_host_ports_request_builder.go @@ -0,0 +1,151 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/security" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ThreatIntelligenceHostPortsRequestBuilder provides operations to manage the hostPorts property of the microsoft.graph.security.threatIntelligence entity. +type ThreatIntelligenceHostPortsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ThreatIntelligenceHostPortsRequestBuilderGetQueryParameters get hostPorts from security +type ThreatIntelligenceHostPortsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ThreatIntelligenceHostPortsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ThreatIntelligenceHostPortsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ThreatIntelligenceHostPortsRequestBuilderGetQueryParameters +} +// ThreatIntelligenceHostPortsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ThreatIntelligenceHostPortsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByHostPortId provides operations to manage the hostPorts property of the microsoft.graph.security.threatIntelligence entity. +func (m *ThreatIntelligenceHostPortsRequestBuilder) ByHostPortId(hostPortId string)(*ThreatIntelligenceHostPortsHostPortItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if hostPortId != "" { + urlTplParams["hostPort%2Did"] = hostPortId + } + return NewThreatIntelligenceHostPortsHostPortItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewThreatIntelligenceHostPortsRequestBuilderInternal instantiates a new HostPortsRequestBuilder and sets the default values. +func NewThreatIntelligenceHostPortsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ThreatIntelligenceHostPortsRequestBuilder) { + m := &ThreatIntelligenceHostPortsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/threatIntelligence/hostPorts{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewThreatIntelligenceHostPortsRequestBuilder instantiates a new HostPortsRequestBuilder and sets the default values. +func NewThreatIntelligenceHostPortsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ThreatIntelligenceHostPortsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewThreatIntelligenceHostPortsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *ThreatIntelligenceHostPortsRequestBuilder) Count()(*ThreatIntelligenceHostPortsCountRequestBuilder) { + return NewThreatIntelligenceHostPortsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get hostPorts from security +func (m *ThreatIntelligenceHostPortsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostPortsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPortCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CreateHostPortCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPortCollectionResponseable), nil +} +// Post create new navigation property to hostPorts for security +func (m *ThreatIntelligenceHostPortsRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPortable, requestConfiguration *ThreatIntelligenceHostPortsRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPortable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CreateHostPortFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPortable), nil +} +// ToGetRequestInformation get hostPorts from security +func (m *ThreatIntelligenceHostPortsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostPortsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to hostPorts for security +func (m *ThreatIntelligenceHostPortsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPortable, requestConfiguration *ThreatIntelligenceHostPortsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.Add("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *ThreatIntelligenceHostPortsRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostPortsRequestBuilder) { + return NewThreatIntelligenceHostPortsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_ssl_certificates_count_request_builder.go b/security/threat_intelligence_host_ssl_certificates_count_request_builder.go index c1d0e0afc90..7296b38c50f 100644 --- a/security/threat_intelligence_host_ssl_certificates_count_request_builder.go +++ b/security/threat_intelligence_host_ssl_certificates_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceHostSslCertificatesCountRequestBuilder) ToGetRequestI } 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 *ThreatIntelligenceHostSslCertificatesCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostSslCertificatesCountRequestBuilder) { + return NewThreatIntelligenceHostSslCertificatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_ssl_certificates_host_ssl_certificate_item_request_builder.go b/security/threat_intelligence_host_ssl_certificates_host_ssl_certificate_item_request_builder.go index e0d5bfec788..e8d203812c8 100644 --- a/security/threat_intelligence_host_ssl_certificates_host_ssl_certificate_item_request_builder.go +++ b/security/threat_intelligence_host_ssl_certificates_host_ssl_certificate_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuilderDe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuilderGetQueryParameters get hostSslCertificates from security +// ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuilderGetQueryParameters get the properties and relationships of a hostSslCertificate object. type ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,10 @@ func (m *ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuild } return nil } -// Get get hostSslCertificates from security +// Get get the properties and relationships of a hostSslCertificate object. +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-hostsslcertificate-get?view=graph-rest-1.0 func (m *ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostSslCertificateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -128,7 +131,7 @@ func (m *ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuild } return requestInfo, nil } -// ToGetRequestInformation get hostSslCertificates from security +// ToGetRequestInformation get the properties and relationships of a hostSslCertificate object. func (m *ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -161,3 +164,7 @@ func (m *ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuild } 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 *ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuilder) { + return NewThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_ssl_certificates_item_host_request_builder.go b/security/threat_intelligence_host_ssl_certificates_item_host_request_builder.go index 8e64779edc3..ff850172f5e 100644 --- a/security/threat_intelligence_host_ssl_certificates_item_host_request_builder.go +++ b/security/threat_intelligence_host_ssl_certificates_item_host_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostSslCertificatesItemHostRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostSslCertificatesItemHostRequestBuilderGetQueryParameters get host from security +// ThreatIntelligenceHostSslCertificatesItemHostRequestBuilderGetQueryParameters the host for this hostSslCertificate. type ThreatIntelligenceHostSslCertificatesItemHostRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewThreatIntelligenceHostSslCertificatesItemHostRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewThreatIntelligenceHostSslCertificatesItemHostRequestBuilderInternal(urlParams, requestAdapter) } -// Get get host from security +// Get the host for this hostSslCertificate. func (m *ThreatIntelligenceHostSslCertificatesItemHostRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostSslCertificatesItemHostRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Hostable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ThreatIntelligenceHostSslCertificatesItemHostRequestBuilder) Get(ctx co } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Hostable), nil } -// ToGetRequestInformation get host from security +// ToGetRequestInformation the host for this hostSslCertificate. func (m *ThreatIntelligenceHostSslCertificatesItemHostRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostSslCertificatesItemHostRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceHostSslCertificatesItemHostRequestBuilder) ToGetReque } 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 *ThreatIntelligenceHostSslCertificatesItemHostRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostSslCertificatesItemHostRequestBuilder) { + return NewThreatIntelligenceHostSslCertificatesItemHostRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_ssl_certificates_item_ssl_certificate_request_builder.go b/security/threat_intelligence_host_ssl_certificates_item_ssl_certificate_request_builder.go index 6852ffb242f..c50bdd1deab 100644 --- a/security/threat_intelligence_host_ssl_certificates_item_ssl_certificate_request_builder.go +++ b/security/threat_intelligence_host_ssl_certificates_item_ssl_certificate_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostSslCertificatesItemSslCertificateRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostSslCertificatesItemSslCertificateRequestBuilderGetQueryParameters get sslCertificate from security +// ThreatIntelligenceHostSslCertificatesItemSslCertificateRequestBuilderGetQueryParameters the sslCertificate for this hostSslCertificate. type ThreatIntelligenceHostSslCertificatesItemSslCertificateRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewThreatIntelligenceHostSslCertificatesItemSslCertificateRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewThreatIntelligenceHostSslCertificatesItemSslCertificateRequestBuilderInternal(urlParams, requestAdapter) } -// Get get sslCertificate from security +// Get the sslCertificate for this hostSslCertificate. func (m *ThreatIntelligenceHostSslCertificatesItemSslCertificateRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostSslCertificatesItemSslCertificateRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SslCertificateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ThreatIntelligenceHostSslCertificatesItemSslCertificateRequestBuilder) } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SslCertificateable), nil } -// ToGetRequestInformation get sslCertificate from security +// ToGetRequestInformation the sslCertificate for this hostSslCertificate. func (m *ThreatIntelligenceHostSslCertificatesItemSslCertificateRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostSslCertificatesItemSslCertificateRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceHostSslCertificatesItemSslCertificateRequestBuilder) } 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 *ThreatIntelligenceHostSslCertificatesItemSslCertificateRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostSslCertificatesItemSslCertificateRequestBuilder) { + return NewThreatIntelligenceHostSslCertificatesItemSslCertificateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_ssl_certificates_request_builder.go b/security/threat_intelligence_host_ssl_certificates_request_builder.go index af4fcbc0089..0682ac2844f 100644 --- a/security/threat_intelligence_host_ssl_certificates_request_builder.go +++ b/security/threat_intelligence_host_ssl_certificates_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostSslCertificatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostSslCertificatesRequestBuilderGetQueryParameters get hostSslCertificates from security +// ThreatIntelligenceHostSslCertificatesRequestBuilderGetQueryParameters get the properties and relationships of a hostSslCertificate object. type ThreatIntelligenceHostSslCertificatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type ThreatIntelligenceHostSslCertificatesRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByHostSslCertificateIdString provides operations to manage the hostSslCertificates property of the microsoft.graph.security.threatIntelligence entity. -func (m *ThreatIntelligenceHostSslCertificatesRequestBuilder) ByHostSslCertificateIdString(hostSslCertificateId string)(*ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuilder) { +// ByHostSslCertificateId provides operations to manage the hostSslCertificates property of the microsoft.graph.security.threatIntelligence entity. +func (m *ThreatIntelligenceHostSslCertificatesRequestBuilder) ByHostSslCertificateId(hostSslCertificateId string)(*ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,7 +74,7 @@ func NewThreatIntelligenceHostSslCertificatesRequestBuilder(rawUrl string, reque func (m *ThreatIntelligenceHostSslCertificatesRequestBuilder) Count()(*ThreatIntelligenceHostSslCertificatesCountRequestBuilder) { return NewThreatIntelligenceHostSslCertificatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get hostSslCertificates from security +// Get get the properties and relationships of a hostSslCertificate object. func (m *ThreatIntelligenceHostSslCertificatesRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostSslCertificatesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostSslCertificateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +112,7 @@ func (m *ThreatIntelligenceHostSslCertificatesRequestBuilder) Post(ctx context.C } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostSslCertificateable), nil } -// ToGetRequestInformation get hostSslCertificates from security +// ToGetRequestInformation get the properties and relationships of a hostSslCertificate object. func (m *ThreatIntelligenceHostSslCertificatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostSslCertificatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -145,3 +145,7 @@ func (m *ThreatIntelligenceHostSslCertificatesRequestBuilder) ToPostRequestInfor } 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 *ThreatIntelligenceHostSslCertificatesRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostSslCertificatesRequestBuilder) { + return NewThreatIntelligenceHostSslCertificatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_trackers_count_request_builder.go b/security/threat_intelligence_host_trackers_count_request_builder.go index 33895563d05..eddf8b466ea 100644 --- a/security/threat_intelligence_host_trackers_count_request_builder.go +++ b/security/threat_intelligence_host_trackers_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceHostTrackersCountRequestBuilder) ToGetRequestInformat } 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 *ThreatIntelligenceHostTrackersCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostTrackersCountRequestBuilder) { + return NewThreatIntelligenceHostTrackersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_trackers_host_tracker_item_request_builder.go b/security/threat_intelligence_host_trackers_host_tracker_item_request_builder.go index 66b32f67aed..03332ab2ce8 100644 --- a/security/threat_intelligence_host_trackers_host_tracker_item_request_builder.go +++ b/security/threat_intelligence_host_trackers_host_tracker_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ThreatIntelligenceHostTrackersHostTrackerItemRequestBuilder) ToPatchReq } 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 *ThreatIntelligenceHostTrackersHostTrackerItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostTrackersHostTrackerItemRequestBuilder) { + return NewThreatIntelligenceHostTrackersHostTrackerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_trackers_item_host_request_builder.go b/security/threat_intelligence_host_trackers_item_host_request_builder.go index 69262f6d4dc..eb6da6eb899 100644 --- a/security/threat_intelligence_host_trackers_item_host_request_builder.go +++ b/security/threat_intelligence_host_trackers_item_host_request_builder.go @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceHostTrackersItemHostRequestBuilder) ToGetRequestInfor } 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 *ThreatIntelligenceHostTrackersItemHostRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostTrackersItemHostRequestBuilder) { + return NewThreatIntelligenceHostTrackersItemHostRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_host_trackers_request_builder.go b/security/threat_intelligence_host_trackers_request_builder.go index b383d407594..1cdb586005d 100644 --- a/security/threat_intelligence_host_trackers_request_builder.go +++ b/security/threat_intelligence_host_trackers_request_builder.go @@ -46,8 +46,8 @@ type ThreatIntelligenceHostTrackersRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByHostTrackerIdString provides operations to manage the hostTrackers property of the microsoft.graph.security.threatIntelligence entity. -func (m *ThreatIntelligenceHostTrackersRequestBuilder) ByHostTrackerIdString(hostTrackerId string)(*ThreatIntelligenceHostTrackersHostTrackerItemRequestBuilder) { +// ByHostTrackerId provides operations to manage the hostTrackers property of the microsoft.graph.security.threatIntelligence entity. +func (m *ThreatIntelligenceHostTrackersRequestBuilder) ByHostTrackerId(hostTrackerId string)(*ThreatIntelligenceHostTrackersHostTrackerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ThreatIntelligenceHostTrackersRequestBuilder) 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 *ThreatIntelligenceHostTrackersRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostTrackersRequestBuilder) { + return NewThreatIntelligenceHostTrackersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_count_request_builder.go b/security/threat_intelligence_hosts_count_request_builder.go index eb833f09b75..ad31e971d6b 100644 --- a/security/threat_intelligence_hosts_count_request_builder.go +++ b/security/threat_intelligence_hosts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceHostsCountRequestBuilder) ToGetRequestInformation(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 *ThreatIntelligenceHostsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsCountRequestBuilder) { + return NewThreatIntelligenceHostsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_host_item_request_builder.go b/security/threat_intelligence_hosts_host_item_request_builder.go index c93da342cc5..1005cef3188 100644 --- a/security/threat_intelligence_hosts_host_item_request_builder.go +++ b/security/threat_intelligence_hosts_host_item_request_builder.go @@ -139,6 +139,10 @@ func (m *ThreatIntelligenceHostsHostItemRequestBuilder) Patch(ctx context.Contex } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Hostable), nil } +// Ports provides operations to manage the ports property of the microsoft.graph.security.host entity. +func (m *ThreatIntelligenceHostsHostItemRequestBuilder) Ports()(*ThreatIntelligenceHostsItemPortsRequestBuilder) { + return NewThreatIntelligenceHostsItemPortsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Reputation provides operations to manage the reputation property of the microsoft.graph.security.host entity. func (m *ThreatIntelligenceHostsHostItemRequestBuilder) Reputation()(*ThreatIntelligenceHostsItemReputationRequestBuilder) { return NewThreatIntelligenceHostsItemReputationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) @@ -204,3 +208,7 @@ func (m *ThreatIntelligenceHostsHostItemRequestBuilder) Trackers()(*ThreatIntell func (m *ThreatIntelligenceHostsHostItemRequestBuilder) Whois()(*ThreatIntelligenceHostsItemWhoisRequestBuilder) { return NewThreatIntelligenceHostsItemWhoisRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ThreatIntelligenceHostsHostItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsHostItemRequestBuilder) { + return NewThreatIntelligenceHostsHostItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_child_host_pairs_count_request_builder.go b/security/threat_intelligence_hosts_item_child_host_pairs_count_request_builder.go index 1db0776540f..90602e6b50a 100644 --- a/security/threat_intelligence_hosts_item_child_host_pairs_count_request_builder.go +++ b/security/threat_intelligence_hosts_item_child_host_pairs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceHostsItemChildHostPairsCountRequestBuilder) ToGetRequ } 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 *ThreatIntelligenceHostsItemChildHostPairsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemChildHostPairsCountRequestBuilder) { + return NewThreatIntelligenceHostsItemChildHostPairsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_child_host_pairs_host_pair_item_request_builder.go b/security/threat_intelligence_hosts_item_child_host_pairs_host_pair_item_request_builder.go index 3a74e0527ee..88573c7e961 100644 --- a/security/threat_intelligence_hosts_item_child_host_pairs_host_pair_item_request_builder.go +++ b/security/threat_intelligence_hosts_item_child_host_pairs_host_pair_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceHostsItemChildHostPairsHostPairItemRequestBuilder) To } 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 *ThreatIntelligenceHostsItemChildHostPairsHostPairItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemChildHostPairsHostPairItemRequestBuilder) { + return NewThreatIntelligenceHostsItemChildHostPairsHostPairItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_child_host_pairs_request_builder.go b/security/threat_intelligence_hosts_item_child_host_pairs_request_builder.go index 8cdb4a6d1fe..dadd735a27a 100644 --- a/security/threat_intelligence_hosts_item_child_host_pairs_request_builder.go +++ b/security/threat_intelligence_hosts_item_child_host_pairs_request_builder.go @@ -39,8 +39,8 @@ type ThreatIntelligenceHostsItemChildHostPairsRequestBuilderGetRequestConfigurat // Request query parameters QueryParameters *ThreatIntelligenceHostsItemChildHostPairsRequestBuilderGetQueryParameters } -// ByHostPairIdString provides operations to manage the childHostPairs property of the microsoft.graph.security.host entity. -func (m *ThreatIntelligenceHostsItemChildHostPairsRequestBuilder) ByHostPairIdString(hostPairId string)(*ThreatIntelligenceHostsItemChildHostPairsHostPairItemRequestBuilder) { +// ByHostPairId provides operations to manage the childHostPairs property of the microsoft.graph.security.host entity. +func (m *ThreatIntelligenceHostsItemChildHostPairsRequestBuilder) ByHostPairId(hostPairId string)(*ThreatIntelligenceHostsItemChildHostPairsHostPairItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ThreatIntelligenceHostsItemChildHostPairsRequestBuilder) ToGetRequestIn } 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 *ThreatIntelligenceHostsItemChildHostPairsRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemChildHostPairsRequestBuilder) { + return NewThreatIntelligenceHostsItemChildHostPairsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_components_count_request_builder.go b/security/threat_intelligence_hosts_item_components_count_request_builder.go index 026bbdc8b8e..5ecf613e872 100644 --- a/security/threat_intelligence_hosts_item_components_count_request_builder.go +++ b/security/threat_intelligence_hosts_item_components_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceHostsItemComponentsCountRequestBuilder) ToGetRequestI } 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 *ThreatIntelligenceHostsItemComponentsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemComponentsCountRequestBuilder) { + return NewThreatIntelligenceHostsItemComponentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_components_host_component_item_request_builder.go b/security/threat_intelligence_hosts_item_components_host_component_item_request_builder.go index 85e217a9a5b..b3cb261e014 100644 --- a/security/threat_intelligence_hosts_item_components_host_component_item_request_builder.go +++ b/security/threat_intelligence_hosts_item_components_host_component_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceHostsItemComponentsHostComponentItemRequestBuilder) T } 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 *ThreatIntelligenceHostsItemComponentsHostComponentItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemComponentsHostComponentItemRequestBuilder) { + return NewThreatIntelligenceHostsItemComponentsHostComponentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_components_request_builder.go b/security/threat_intelligence_hosts_item_components_request_builder.go index 0b425cc8ac6..d7a4f11d7d1 100644 --- a/security/threat_intelligence_hosts_item_components_request_builder.go +++ b/security/threat_intelligence_hosts_item_components_request_builder.go @@ -39,8 +39,8 @@ type ThreatIntelligenceHostsItemComponentsRequestBuilderGetRequestConfiguration // Request query parameters QueryParameters *ThreatIntelligenceHostsItemComponentsRequestBuilderGetQueryParameters } -// ByHostComponentIdString provides operations to manage the components property of the microsoft.graph.security.host entity. -func (m *ThreatIntelligenceHostsItemComponentsRequestBuilder) ByHostComponentIdString(hostComponentId string)(*ThreatIntelligenceHostsItemComponentsHostComponentItemRequestBuilder) { +// ByHostComponentId provides operations to manage the components property of the microsoft.graph.security.host entity. +func (m *ThreatIntelligenceHostsItemComponentsRequestBuilder) ByHostComponentId(hostComponentId string)(*ThreatIntelligenceHostsItemComponentsHostComponentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ThreatIntelligenceHostsItemComponentsRequestBuilder) ToGetRequestInform } 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 *ThreatIntelligenceHostsItemComponentsRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemComponentsRequestBuilder) { + return NewThreatIntelligenceHostsItemComponentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_cookies_count_request_builder.go b/security/threat_intelligence_hosts_item_cookies_count_request_builder.go index 91d6070d81c..c47f96ea222 100644 --- a/security/threat_intelligence_hosts_item_cookies_count_request_builder.go +++ b/security/threat_intelligence_hosts_item_cookies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceHostsItemCookiesCountRequestBuilder) ToGetRequestInfo } 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 *ThreatIntelligenceHostsItemCookiesCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemCookiesCountRequestBuilder) { + return NewThreatIntelligenceHostsItemCookiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_cookies_host_cookie_item_request_builder.go b/security/threat_intelligence_hosts_item_cookies_host_cookie_item_request_builder.go index 63e859ddb58..6d95ee2702f 100644 --- a/security/threat_intelligence_hosts_item_cookies_host_cookie_item_request_builder.go +++ b/security/threat_intelligence_hosts_item_cookies_host_cookie_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceHostsItemCookiesHostCookieItemRequestBuilder) ToGetRe } 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 *ThreatIntelligenceHostsItemCookiesHostCookieItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemCookiesHostCookieItemRequestBuilder) { + return NewThreatIntelligenceHostsItemCookiesHostCookieItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_cookies_request_builder.go b/security/threat_intelligence_hosts_item_cookies_request_builder.go index eeb872229e4..34960dedb81 100644 --- a/security/threat_intelligence_hosts_item_cookies_request_builder.go +++ b/security/threat_intelligence_hosts_item_cookies_request_builder.go @@ -39,8 +39,8 @@ type ThreatIntelligenceHostsItemCookiesRequestBuilderGetRequestConfiguration str // Request query parameters QueryParameters *ThreatIntelligenceHostsItemCookiesRequestBuilderGetQueryParameters } -// ByHostCookieIdString provides operations to manage the cookies property of the microsoft.graph.security.host entity. -func (m *ThreatIntelligenceHostsItemCookiesRequestBuilder) ByHostCookieIdString(hostCookieId string)(*ThreatIntelligenceHostsItemCookiesHostCookieItemRequestBuilder) { +// ByHostCookieId provides operations to manage the cookies property of the microsoft.graph.security.host entity. +func (m *ThreatIntelligenceHostsItemCookiesRequestBuilder) ByHostCookieId(hostCookieId string)(*ThreatIntelligenceHostsItemCookiesHostCookieItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ThreatIntelligenceHostsItemCookiesRequestBuilder) ToGetRequestInformati } 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 *ThreatIntelligenceHostsItemCookiesRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemCookiesRequestBuilder) { + return NewThreatIntelligenceHostsItemCookiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_host_pairs_count_request_builder.go b/security/threat_intelligence_hosts_item_host_pairs_count_request_builder.go index b8740e50267..731d5450716 100644 --- a/security/threat_intelligence_hosts_item_host_pairs_count_request_builder.go +++ b/security/threat_intelligence_hosts_item_host_pairs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceHostsItemHostPairsCountRequestBuilder) ToGetRequestIn } 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 *ThreatIntelligenceHostsItemHostPairsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemHostPairsCountRequestBuilder) { + return NewThreatIntelligenceHostsItemHostPairsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_host_pairs_host_pair_item_request_builder.go b/security/threat_intelligence_hosts_item_host_pairs_host_pair_item_request_builder.go index 45cfed142a7..ff96c620a6c 100644 --- a/security/threat_intelligence_hosts_item_host_pairs_host_pair_item_request_builder.go +++ b/security/threat_intelligence_hosts_item_host_pairs_host_pair_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceHostsItemHostPairsHostPairItemRequestBuilder) ToGetRe } 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 *ThreatIntelligenceHostsItemHostPairsHostPairItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemHostPairsHostPairItemRequestBuilder) { + return NewThreatIntelligenceHostsItemHostPairsHostPairItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_host_pairs_request_builder.go b/security/threat_intelligence_hosts_item_host_pairs_request_builder.go index a9567fa904d..be17bb3233d 100644 --- a/security/threat_intelligence_hosts_item_host_pairs_request_builder.go +++ b/security/threat_intelligence_hosts_item_host_pairs_request_builder.go @@ -39,8 +39,8 @@ type ThreatIntelligenceHostsItemHostPairsRequestBuilderGetRequestConfiguration s // Request query parameters QueryParameters *ThreatIntelligenceHostsItemHostPairsRequestBuilderGetQueryParameters } -// ByHostPairIdString provides operations to manage the hostPairs property of the microsoft.graph.security.host entity. -func (m *ThreatIntelligenceHostsItemHostPairsRequestBuilder) ByHostPairIdString(hostPairId string)(*ThreatIntelligenceHostsItemHostPairsHostPairItemRequestBuilder) { +// ByHostPairId provides operations to manage the hostPairs property of the microsoft.graph.security.host entity. +func (m *ThreatIntelligenceHostsItemHostPairsRequestBuilder) ByHostPairId(hostPairId string)(*ThreatIntelligenceHostsItemHostPairsHostPairItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ThreatIntelligenceHostsItemHostPairsRequestBuilder) ToGetRequestInforma } 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 *ThreatIntelligenceHostsItemHostPairsRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemHostPairsRequestBuilder) { + return NewThreatIntelligenceHostsItemHostPairsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_parent_host_pairs_count_request_builder.go b/security/threat_intelligence_hosts_item_parent_host_pairs_count_request_builder.go index 25b4279e0b0..2b5a0d29b2c 100644 --- a/security/threat_intelligence_hosts_item_parent_host_pairs_count_request_builder.go +++ b/security/threat_intelligence_hosts_item_parent_host_pairs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceHostsItemParentHostPairsCountRequestBuilder) ToGetReq } 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 *ThreatIntelligenceHostsItemParentHostPairsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemParentHostPairsCountRequestBuilder) { + return NewThreatIntelligenceHostsItemParentHostPairsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_parent_host_pairs_host_pair_item_request_builder.go b/security/threat_intelligence_hosts_item_parent_host_pairs_host_pair_item_request_builder.go index 4218b126e76..af32aa84e80 100644 --- a/security/threat_intelligence_hosts_item_parent_host_pairs_host_pair_item_request_builder.go +++ b/security/threat_intelligence_hosts_item_parent_host_pairs_host_pair_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceHostsItemParentHostPairsHostPairItemRequestBuilder) T } 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 *ThreatIntelligenceHostsItemParentHostPairsHostPairItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemParentHostPairsHostPairItemRequestBuilder) { + return NewThreatIntelligenceHostsItemParentHostPairsHostPairItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_parent_host_pairs_request_builder.go b/security/threat_intelligence_hosts_item_parent_host_pairs_request_builder.go index 81fe9861bd8..9f66d15493a 100644 --- a/security/threat_intelligence_hosts_item_parent_host_pairs_request_builder.go +++ b/security/threat_intelligence_hosts_item_parent_host_pairs_request_builder.go @@ -39,8 +39,8 @@ type ThreatIntelligenceHostsItemParentHostPairsRequestBuilderGetRequestConfigura // Request query parameters QueryParameters *ThreatIntelligenceHostsItemParentHostPairsRequestBuilderGetQueryParameters } -// ByHostPairIdString provides operations to manage the parentHostPairs property of the microsoft.graph.security.host entity. -func (m *ThreatIntelligenceHostsItemParentHostPairsRequestBuilder) ByHostPairIdString(hostPairId string)(*ThreatIntelligenceHostsItemParentHostPairsHostPairItemRequestBuilder) { +// ByHostPairId provides operations to manage the parentHostPairs property of the microsoft.graph.security.host entity. +func (m *ThreatIntelligenceHostsItemParentHostPairsRequestBuilder) ByHostPairId(hostPairId string)(*ThreatIntelligenceHostsItemParentHostPairsHostPairItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ThreatIntelligenceHostsItemParentHostPairsRequestBuilder) ToGetRequestI } 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 *ThreatIntelligenceHostsItemParentHostPairsRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemParentHostPairsRequestBuilder) { + return NewThreatIntelligenceHostsItemParentHostPairsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_passive_dns_count_request_builder.go b/security/threat_intelligence_hosts_item_passive_dns_count_request_builder.go index 7dad0f5219a..69808895f6e 100644 --- a/security/threat_intelligence_hosts_item_passive_dns_count_request_builder.go +++ b/security/threat_intelligence_hosts_item_passive_dns_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceHostsItemPassiveDnsCountRequestBuilder) ToGetRequestI } 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 *ThreatIntelligenceHostsItemPassiveDnsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemPassiveDnsCountRequestBuilder) { + return NewThreatIntelligenceHostsItemPassiveDnsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_passive_dns_passive_dns_record_item_request_builder.go b/security/threat_intelligence_hosts_item_passive_dns_passive_dns_record_item_request_builder.go index 002271b9693..b273d06657e 100644 --- a/security/threat_intelligence_hosts_item_passive_dns_passive_dns_record_item_request_builder.go +++ b/security/threat_intelligence_hosts_item_passive_dns_passive_dns_record_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceHostsItemPassiveDnsPassiveDnsRecordItemRequestBuilder } 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 *ThreatIntelligenceHostsItemPassiveDnsPassiveDnsRecordItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemPassiveDnsPassiveDnsRecordItemRequestBuilder) { + return NewThreatIntelligenceHostsItemPassiveDnsPassiveDnsRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_passive_dns_request_builder.go b/security/threat_intelligence_hosts_item_passive_dns_request_builder.go index 491c0643909..54e4d3f3362 100644 --- a/security/threat_intelligence_hosts_item_passive_dns_request_builder.go +++ b/security/threat_intelligence_hosts_item_passive_dns_request_builder.go @@ -39,8 +39,8 @@ type ThreatIntelligenceHostsItemPassiveDnsRequestBuilderGetRequestConfiguration // Request query parameters QueryParameters *ThreatIntelligenceHostsItemPassiveDnsRequestBuilderGetQueryParameters } -// ByPassiveDnsRecordIdString provides operations to manage the passiveDns property of the microsoft.graph.security.host entity. -func (m *ThreatIntelligenceHostsItemPassiveDnsRequestBuilder) ByPassiveDnsRecordIdString(passiveDnsRecordId string)(*ThreatIntelligenceHostsItemPassiveDnsPassiveDnsRecordItemRequestBuilder) { +// ByPassiveDnsRecordId provides operations to manage the passiveDns property of the microsoft.graph.security.host entity. +func (m *ThreatIntelligenceHostsItemPassiveDnsRequestBuilder) ByPassiveDnsRecordId(passiveDnsRecordId string)(*ThreatIntelligenceHostsItemPassiveDnsPassiveDnsRecordItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ThreatIntelligenceHostsItemPassiveDnsRequestBuilder) ToGetRequestInform } 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 *ThreatIntelligenceHostsItemPassiveDnsRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemPassiveDnsRequestBuilder) { + return NewThreatIntelligenceHostsItemPassiveDnsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_passive_dns_reverse_count_request_builder.go b/security/threat_intelligence_hosts_item_passive_dns_reverse_count_request_builder.go index ce8ef428394..54d03427253 100644 --- a/security/threat_intelligence_hosts_item_passive_dns_reverse_count_request_builder.go +++ b/security/threat_intelligence_hosts_item_passive_dns_reverse_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceHostsItemPassiveDnsReverseCountRequestBuilder) ToGetR } 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 *ThreatIntelligenceHostsItemPassiveDnsReverseCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemPassiveDnsReverseCountRequestBuilder) { + return NewThreatIntelligenceHostsItemPassiveDnsReverseCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_passive_dns_reverse_passive_dns_record_item_request_builder.go b/security/threat_intelligence_hosts_item_passive_dns_reverse_passive_dns_record_item_request_builder.go index 57ceca9f2c1..69c36f446a1 100644 --- a/security/threat_intelligence_hosts_item_passive_dns_reverse_passive_dns_record_item_request_builder.go +++ b/security/threat_intelligence_hosts_item_passive_dns_reverse_passive_dns_record_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceHostsItemPassiveDnsReversePassiveDnsRecordItemRequest } 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 *ThreatIntelligenceHostsItemPassiveDnsReversePassiveDnsRecordItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemPassiveDnsReversePassiveDnsRecordItemRequestBuilder) { + return NewThreatIntelligenceHostsItemPassiveDnsReversePassiveDnsRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_passive_dns_reverse_request_builder.go b/security/threat_intelligence_hosts_item_passive_dns_reverse_request_builder.go index 5cb35287e44..e650235edc0 100644 --- a/security/threat_intelligence_hosts_item_passive_dns_reverse_request_builder.go +++ b/security/threat_intelligence_hosts_item_passive_dns_reverse_request_builder.go @@ -39,8 +39,8 @@ type ThreatIntelligenceHostsItemPassiveDnsReverseRequestBuilderGetRequestConfigu // Request query parameters QueryParameters *ThreatIntelligenceHostsItemPassiveDnsReverseRequestBuilderGetQueryParameters } -// ByPassiveDnsRecordIdString provides operations to manage the passiveDnsReverse property of the microsoft.graph.security.host entity. -func (m *ThreatIntelligenceHostsItemPassiveDnsReverseRequestBuilder) ByPassiveDnsRecordIdString(passiveDnsRecordId string)(*ThreatIntelligenceHostsItemPassiveDnsReversePassiveDnsRecordItemRequestBuilder) { +// ByPassiveDnsRecordId provides operations to manage the passiveDnsReverse property of the microsoft.graph.security.host entity. +func (m *ThreatIntelligenceHostsItemPassiveDnsReverseRequestBuilder) ByPassiveDnsRecordId(passiveDnsRecordId string)(*ThreatIntelligenceHostsItemPassiveDnsReversePassiveDnsRecordItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ThreatIntelligenceHostsItemPassiveDnsReverseRequestBuilder) ToGetReques } 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 *ThreatIntelligenceHostsItemPassiveDnsReverseRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemPassiveDnsReverseRequestBuilder) { + return NewThreatIntelligenceHostsItemPassiveDnsReverseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_ports_count_request_builder.go b/security/threat_intelligence_hosts_item_ports_count_request_builder.go new file mode 100644 index 00000000000..33715f84b0f --- /dev/null +++ b/security/threat_intelligence_hosts_item_ports_count_request_builder.go @@ -0,0 +1,80 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ThreatIntelligenceHostsItemPortsCountRequestBuilder provides operations to count the resources in the collection. +type ThreatIntelligenceHostsItemPortsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ThreatIntelligenceHostsItemPortsCountRequestBuilderGetQueryParameters get the number of the resource +type ThreatIntelligenceHostsItemPortsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ThreatIntelligenceHostsItemPortsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ThreatIntelligenceHostsItemPortsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ThreatIntelligenceHostsItemPortsCountRequestBuilderGetQueryParameters +} +// NewThreatIntelligenceHostsItemPortsCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewThreatIntelligenceHostsItemPortsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ThreatIntelligenceHostsItemPortsCountRequestBuilder) { + m := &ThreatIntelligenceHostsItemPortsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/threatIntelligence/hosts/{host%2Did}/ports/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewThreatIntelligenceHostsItemPortsCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewThreatIntelligenceHostsItemPortsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ThreatIntelligenceHostsItemPortsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewThreatIntelligenceHostsItemPortsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *ThreatIntelligenceHostsItemPortsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemPortsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *ThreatIntelligenceHostsItemPortsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemPortsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "text/plain") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *ThreatIntelligenceHostsItemPortsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemPortsCountRequestBuilder) { + return NewThreatIntelligenceHostsItemPortsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_ports_host_port_item_request_builder.go b/security/threat_intelligence_hosts_item_ports_host_port_item_request_builder.go new file mode 100644 index 00000000000..8b1679f56ca --- /dev/null +++ b/security/threat_intelligence_hosts_item_ports_host_port_item_request_builder.go @@ -0,0 +1,81 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/security" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ThreatIntelligenceHostsItemPortsHostPortItemRequestBuilder provides operations to manage the ports property of the microsoft.graph.security.host entity. +type ThreatIntelligenceHostsItemPortsHostPortItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ThreatIntelligenceHostsItemPortsHostPortItemRequestBuilderGetQueryParameters get ports from security +type ThreatIntelligenceHostsItemPortsHostPortItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ThreatIntelligenceHostsItemPortsHostPortItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ThreatIntelligenceHostsItemPortsHostPortItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ThreatIntelligenceHostsItemPortsHostPortItemRequestBuilderGetQueryParameters +} +// NewThreatIntelligenceHostsItemPortsHostPortItemRequestBuilderInternal instantiates a new HostPortItemRequestBuilder and sets the default values. +func NewThreatIntelligenceHostsItemPortsHostPortItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ThreatIntelligenceHostsItemPortsHostPortItemRequestBuilder) { + m := &ThreatIntelligenceHostsItemPortsHostPortItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/threatIntelligence/hosts/{host%2Did}/ports/{hostPort%2Did}{?%24select,%24expand}", pathParameters), + } + return m +} +// NewThreatIntelligenceHostsItemPortsHostPortItemRequestBuilder instantiates a new HostPortItemRequestBuilder and sets the default values. +func NewThreatIntelligenceHostsItemPortsHostPortItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ThreatIntelligenceHostsItemPortsHostPortItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewThreatIntelligenceHostsItemPortsHostPortItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get ports from security +func (m *ThreatIntelligenceHostsItemPortsHostPortItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemPortsHostPortItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPortable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CreateHostPortFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPortable), nil +} +// ToGetRequestInformation get ports from security +func (m *ThreatIntelligenceHostsItemPortsHostPortItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemPortsHostPortItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *ThreatIntelligenceHostsItemPortsHostPortItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemPortsHostPortItemRequestBuilder) { + return NewThreatIntelligenceHostsItemPortsHostPortItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_ports_request_builder.go b/security/threat_intelligence_hosts_item_ports_request_builder.go new file mode 100644 index 00000000000..de8e96ed472 --- /dev/null +++ b/security/threat_intelligence_hosts_item_ports_request_builder.go @@ -0,0 +1,108 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/security" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ThreatIntelligenceHostsItemPortsRequestBuilder provides operations to manage the ports property of the microsoft.graph.security.host entity. +type ThreatIntelligenceHostsItemPortsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ThreatIntelligenceHostsItemPortsRequestBuilderGetQueryParameters get ports from security +type ThreatIntelligenceHostsItemPortsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ThreatIntelligenceHostsItemPortsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ThreatIntelligenceHostsItemPortsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ThreatIntelligenceHostsItemPortsRequestBuilderGetQueryParameters +} +// ByHostPortId provides operations to manage the ports property of the microsoft.graph.security.host entity. +func (m *ThreatIntelligenceHostsItemPortsRequestBuilder) ByHostPortId(hostPortId string)(*ThreatIntelligenceHostsItemPortsHostPortItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if hostPortId != "" { + urlTplParams["hostPort%2Did"] = hostPortId + } + return NewThreatIntelligenceHostsItemPortsHostPortItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewThreatIntelligenceHostsItemPortsRequestBuilderInternal instantiates a new PortsRequestBuilder and sets the default values. +func NewThreatIntelligenceHostsItemPortsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ThreatIntelligenceHostsItemPortsRequestBuilder) { + m := &ThreatIntelligenceHostsItemPortsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/threatIntelligence/hosts/{host%2Did}/ports{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewThreatIntelligenceHostsItemPortsRequestBuilder instantiates a new PortsRequestBuilder and sets the default values. +func NewThreatIntelligenceHostsItemPortsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ThreatIntelligenceHostsItemPortsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewThreatIntelligenceHostsItemPortsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *ThreatIntelligenceHostsItemPortsRequestBuilder) Count()(*ThreatIntelligenceHostsItemPortsCountRequestBuilder) { + return NewThreatIntelligenceHostsItemPortsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get ports from security +func (m *ThreatIntelligenceHostsItemPortsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemPortsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPortCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CreateHostPortCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPortCollectionResponseable), nil +} +// ToGetRequestInformation get ports from security +func (m *ThreatIntelligenceHostsItemPortsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemPortsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *ThreatIntelligenceHostsItemPortsRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemPortsRequestBuilder) { + return NewThreatIntelligenceHostsItemPortsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_reputation_request_builder.go b/security/threat_intelligence_hosts_item_reputation_request_builder.go index d32fbb64266..eb6bce7f794 100644 --- a/security/threat_intelligence_hosts_item_reputation_request_builder.go +++ b/security/threat_intelligence_hosts_item_reputation_request_builder.go @@ -156,3 +156,7 @@ func (m *ThreatIntelligenceHostsItemReputationRequestBuilder) 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 *ThreatIntelligenceHostsItemReputationRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemReputationRequestBuilder) { + return NewThreatIntelligenceHostsItemReputationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_ssl_certificates_count_request_builder.go b/security/threat_intelligence_hosts_item_ssl_certificates_count_request_builder.go index e1b5226e793..d79f20c4a8a 100644 --- a/security/threat_intelligence_hosts_item_ssl_certificates_count_request_builder.go +++ b/security/threat_intelligence_hosts_item_ssl_certificates_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceHostsItemSslCertificatesCountRequestBuilder) ToGetReq } 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 *ThreatIntelligenceHostsItemSslCertificatesCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemSslCertificatesCountRequestBuilder) { + return NewThreatIntelligenceHostsItemSslCertificatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_ssl_certificates_host_ssl_certificate_item_request_builder.go b/security/threat_intelligence_hosts_item_ssl_certificates_host_ssl_certificate_item_request_builder.go index bd0c2651c8b..f4cb9c6135f 100644 --- a/security/threat_intelligence_hosts_item_ssl_certificates_host_ssl_certificate_item_request_builder.go +++ b/security/threat_intelligence_hosts_item_ssl_certificates_host_ssl_certificate_item_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostsItemSslCertificatesHostSslCertificateItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostsItemSslCertificatesHostSslCertificateItemRequestBuilderGetQueryParameters get sslCertificates from security +// ThreatIntelligenceHostsItemSslCertificatesHostSslCertificateItemRequestBuilderGetQueryParameters the hostSslCertificates that are associated with this host. type ThreatIntelligenceHostsItemSslCertificatesHostSslCertificateItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewThreatIntelligenceHostsItemSslCertificatesHostSslCertificateItemRequestB urlParams["request-raw-url"] = rawUrl return NewThreatIntelligenceHostsItemSslCertificatesHostSslCertificateItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get get sslCertificates from security +// Get the hostSslCertificates that are associated with this host. func (m *ThreatIntelligenceHostsItemSslCertificatesHostSslCertificateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemSslCertificatesHostSslCertificateItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostSslCertificateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ThreatIntelligenceHostsItemSslCertificatesHostSslCertificateItemRequest } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostSslCertificateable), nil } -// ToGetRequestInformation get sslCertificates from security +// ToGetRequestInformation the hostSslCertificates that are associated with this host. func (m *ThreatIntelligenceHostsItemSslCertificatesHostSslCertificateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemSslCertificatesHostSslCertificateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceHostsItemSslCertificatesHostSslCertificateItemRequest } 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 *ThreatIntelligenceHostsItemSslCertificatesHostSslCertificateItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemSslCertificatesHostSslCertificateItemRequestBuilder) { + return NewThreatIntelligenceHostsItemSslCertificatesHostSslCertificateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_ssl_certificates_request_builder.go b/security/threat_intelligence_hosts_item_ssl_certificates_request_builder.go index 1fd4814603d..6a67ecd1772 100644 --- a/security/threat_intelligence_hosts_item_ssl_certificates_request_builder.go +++ b/security/threat_intelligence_hosts_item_ssl_certificates_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostsItemSslCertificatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostsItemSslCertificatesRequestBuilderGetQueryParameters get sslCertificates from security +// ThreatIntelligenceHostsItemSslCertificatesRequestBuilderGetQueryParameters get a list of hostSslCertificate objects from the host navigation property. type ThreatIntelligenceHostsItemSslCertificatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -39,8 +39,8 @@ type ThreatIntelligenceHostsItemSslCertificatesRequestBuilderGetRequestConfigura // Request query parameters QueryParameters *ThreatIntelligenceHostsItemSslCertificatesRequestBuilderGetQueryParameters } -// ByHostSslCertificateIdString provides operations to manage the sslCertificates property of the microsoft.graph.security.host entity. -func (m *ThreatIntelligenceHostsItemSslCertificatesRequestBuilder) ByHostSslCertificateIdString(hostSslCertificateId string)(*ThreatIntelligenceHostsItemSslCertificatesHostSslCertificateItemRequestBuilder) { +// ByHostSslCertificateId provides operations to manage the sslCertificates property of the microsoft.graph.security.host entity. +func (m *ThreatIntelligenceHostsItemSslCertificatesRequestBuilder) ByHostSslCertificateId(hostSslCertificateId string)(*ThreatIntelligenceHostsItemSslCertificatesHostSslCertificateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -67,7 +67,10 @@ func NewThreatIntelligenceHostsItemSslCertificatesRequestBuilder(rawUrl string, func (m *ThreatIntelligenceHostsItemSslCertificatesRequestBuilder) Count()(*ThreatIntelligenceHostsItemSslCertificatesCountRequestBuilder) { return NewThreatIntelligenceHostsItemSslCertificatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get sslCertificates from security +// Get get a list of hostSslCertificate objects from the host navigation property. +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-hostsslcertificate-list-host?view=graph-rest-1.0 func (m *ThreatIntelligenceHostsItemSslCertificatesRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemSslCertificatesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostSslCertificateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +89,7 @@ func (m *ThreatIntelligenceHostsItemSslCertificatesRequestBuilder) Get(ctx conte } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostSslCertificateCollectionResponseable), nil } -// ToGetRequestInformation get sslCertificates from security +// ToGetRequestInformation get a list of hostSslCertificate objects from the host navigation property. func (m *ThreatIntelligenceHostsItemSslCertificatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemSslCertificatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -102,3 +105,7 @@ func (m *ThreatIntelligenceHostsItemSslCertificatesRequestBuilder) ToGetRequestI } 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 *ThreatIntelligenceHostsItemSslCertificatesRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemSslCertificatesRequestBuilder) { + return NewThreatIntelligenceHostsItemSslCertificatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_subdomains_count_request_builder.go b/security/threat_intelligence_hosts_item_subdomains_count_request_builder.go index 5dfea4077da..e0bfbc9cdd0 100644 --- a/security/threat_intelligence_hosts_item_subdomains_count_request_builder.go +++ b/security/threat_intelligence_hosts_item_subdomains_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceHostsItemSubdomainsCountRequestBuilder) ToGetRequestI } 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 *ThreatIntelligenceHostsItemSubdomainsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemSubdomainsCountRequestBuilder) { + return NewThreatIntelligenceHostsItemSubdomainsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_subdomains_request_builder.go b/security/threat_intelligence_hosts_item_subdomains_request_builder.go index c1bdda00246..8ce6aeff4f6 100644 --- a/security/threat_intelligence_hosts_item_subdomains_request_builder.go +++ b/security/threat_intelligence_hosts_item_subdomains_request_builder.go @@ -39,8 +39,8 @@ type ThreatIntelligenceHostsItemSubdomainsRequestBuilderGetRequestConfiguration // Request query parameters QueryParameters *ThreatIntelligenceHostsItemSubdomainsRequestBuilderGetQueryParameters } -// BySubdomainIdString provides operations to manage the subdomains property of the microsoft.graph.security.host entity. -func (m *ThreatIntelligenceHostsItemSubdomainsRequestBuilder) BySubdomainIdString(subdomainId string)(*ThreatIntelligenceHostsItemSubdomainsSubdomainItemRequestBuilder) { +// BySubdomainId provides operations to manage the subdomains property of the microsoft.graph.security.host entity. +func (m *ThreatIntelligenceHostsItemSubdomainsRequestBuilder) BySubdomainId(subdomainId string)(*ThreatIntelligenceHostsItemSubdomainsSubdomainItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ThreatIntelligenceHostsItemSubdomainsRequestBuilder) ToGetRequestInform } 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 *ThreatIntelligenceHostsItemSubdomainsRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemSubdomainsRequestBuilder) { + return NewThreatIntelligenceHostsItemSubdomainsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_subdomains_subdomain_item_request_builder.go b/security/threat_intelligence_hosts_item_subdomains_subdomain_item_request_builder.go index 0983b5b34b1..686b7b14646 100644 --- a/security/threat_intelligence_hosts_item_subdomains_subdomain_item_request_builder.go +++ b/security/threat_intelligence_hosts_item_subdomains_subdomain_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceHostsItemSubdomainsSubdomainItemRequestBuilder) ToGet } 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 *ThreatIntelligenceHostsItemSubdomainsSubdomainItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemSubdomainsSubdomainItemRequestBuilder) { + return NewThreatIntelligenceHostsItemSubdomainsSubdomainItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_trackers_count_request_builder.go b/security/threat_intelligence_hosts_item_trackers_count_request_builder.go index e4cd35db37a..d6ef43fb98f 100644 --- a/security/threat_intelligence_hosts_item_trackers_count_request_builder.go +++ b/security/threat_intelligence_hosts_item_trackers_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceHostsItemTrackersCountRequestBuilder) ToGetRequestInf } 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 *ThreatIntelligenceHostsItemTrackersCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemTrackersCountRequestBuilder) { + return NewThreatIntelligenceHostsItemTrackersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_trackers_host_tracker_item_request_builder.go b/security/threat_intelligence_hosts_item_trackers_host_tracker_item_request_builder.go index 99d3fa11797..0324e83204c 100644 --- a/security/threat_intelligence_hosts_item_trackers_host_tracker_item_request_builder.go +++ b/security/threat_intelligence_hosts_item_trackers_host_tracker_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceHostsItemTrackersHostTrackerItemRequestBuilder) ToGet } 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 *ThreatIntelligenceHostsItemTrackersHostTrackerItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemTrackersHostTrackerItemRequestBuilder) { + return NewThreatIntelligenceHostsItemTrackersHostTrackerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_trackers_request_builder.go b/security/threat_intelligence_hosts_item_trackers_request_builder.go index 0257aab1623..279dbde683a 100644 --- a/security/threat_intelligence_hosts_item_trackers_request_builder.go +++ b/security/threat_intelligence_hosts_item_trackers_request_builder.go @@ -39,8 +39,8 @@ type ThreatIntelligenceHostsItemTrackersRequestBuilderGetRequestConfiguration st // Request query parameters QueryParameters *ThreatIntelligenceHostsItemTrackersRequestBuilderGetQueryParameters } -// ByHostTrackerIdString provides operations to manage the trackers property of the microsoft.graph.security.host entity. -func (m *ThreatIntelligenceHostsItemTrackersRequestBuilder) ByHostTrackerIdString(hostTrackerId string)(*ThreatIntelligenceHostsItemTrackersHostTrackerItemRequestBuilder) { +// ByHostTrackerId provides operations to manage the trackers property of the microsoft.graph.security.host entity. +func (m *ThreatIntelligenceHostsItemTrackersRequestBuilder) ByHostTrackerId(hostTrackerId string)(*ThreatIntelligenceHostsItemTrackersHostTrackerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ThreatIntelligenceHostsItemTrackersRequestBuilder) ToGetRequestInformat } 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 *ThreatIntelligenceHostsItemTrackersRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemTrackersRequestBuilder) { + return NewThreatIntelligenceHostsItemTrackersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_item_whois_request_builder.go b/security/threat_intelligence_hosts_item_whois_request_builder.go index 6d422b19489..c56b852c0e6 100644 --- a/security/threat_intelligence_hosts_item_whois_request_builder.go +++ b/security/threat_intelligence_hosts_item_whois_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostsItemWhoisRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostsItemWhoisRequestBuilderGetQueryParameters get whois from security +// ThreatIntelligenceHostsItemWhoisRequestBuilderGetQueryParameters get the current whoisRecord resource for a host. type ThreatIntelligenceHostsItemWhoisRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,10 @@ func NewThreatIntelligenceHostsItemWhoisRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewThreatIntelligenceHostsItemWhoisRequestBuilderInternal(urlParams, requestAdapter) } -// Get get whois from security +// Get get the current whoisRecord resource for a host. +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-host-get-whois?view=graph-rest-1.0 func (m *ThreatIntelligenceHostsItemWhoisRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemWhoisRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.WhoisRecordable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -59,7 +62,7 @@ func (m *ThreatIntelligenceHostsItemWhoisRequestBuilder) Get(ctx context.Context } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.WhoisRecordable), nil } -// ToGetRequestInformation get whois from security +// ToGetRequestInformation get the current whoisRecord resource for a host. func (m *ThreatIntelligenceHostsItemWhoisRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemWhoisRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -75,3 +78,7 @@ func (m *ThreatIntelligenceHostsItemWhoisRequestBuilder) 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 *ThreatIntelligenceHostsItemWhoisRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsItemWhoisRequestBuilder) { + return NewThreatIntelligenceHostsItemWhoisRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_hosts_request_builder.go b/security/threat_intelligence_hosts_request_builder.go index f3c7e526bfd..d7d02254524 100644 --- a/security/threat_intelligence_hosts_request_builder.go +++ b/security/threat_intelligence_hosts_request_builder.go @@ -46,8 +46,8 @@ type ThreatIntelligenceHostsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByHostIdString provides operations to manage the hosts property of the microsoft.graph.security.threatIntelligence entity. -func (m *ThreatIntelligenceHostsRequestBuilder) ByHostIdString(hostId string)(*ThreatIntelligenceHostsHostItemRequestBuilder) { +// ByHostId provides operations to manage the hosts property of the microsoft.graph.security.threatIntelligence entity. +func (m *ThreatIntelligenceHostsRequestBuilder) ByHostId(hostId string)(*ThreatIntelligenceHostsHostItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ThreatIntelligenceHostsRequestBuilder) ToPostRequestInformation(ctx con } 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 *ThreatIntelligenceHostsRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceHostsRequestBuilder) { + return NewThreatIntelligenceHostsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_intel_profiles_count_request_builder.go b/security/threat_intelligence_intel_profiles_count_request_builder.go index 3800e21b452..fe46fafd138 100644 --- a/security/threat_intelligence_intel_profiles_count_request_builder.go +++ b/security/threat_intelligence_intel_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceIntelProfilesCountRequestBuilder) ToGetRequestInforma } 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 *ThreatIntelligenceIntelProfilesCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceIntelProfilesCountRequestBuilder) { + return NewThreatIntelligenceIntelProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_intel_profiles_intelligence_profile_item_request_builder.go b/security/threat_intelligence_intel_profiles_intelligence_profile_item_request_builder.go index d0609d30410..87d5dce96f5 100644 --- a/security/threat_intelligence_intel_profiles_intelligence_profile_item_request_builder.go +++ b/security/threat_intelligence_intel_profiles_intelligence_profile_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ThreatIntelligenceIntelProfilesIntelligenceProfileItemRequestBuilder) T } 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 *ThreatIntelligenceIntelProfilesIntelligenceProfileItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceIntelProfilesIntelligenceProfileItemRequestBuilder) { + return NewThreatIntelligenceIntelProfilesIntelligenceProfileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_intel_profiles_item_indicators_count_request_builder.go b/security/threat_intelligence_intel_profiles_item_indicators_count_request_builder.go index c6b7f0ae0ee..cb29e29fdc8 100644 --- a/security/threat_intelligence_intel_profiles_item_indicators_count_request_builder.go +++ b/security/threat_intelligence_intel_profiles_item_indicators_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceIntelProfilesItemIndicatorsCountRequestBuilder) ToGet } 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 *ThreatIntelligenceIntelProfilesItemIndicatorsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceIntelProfilesItemIndicatorsCountRequestBuilder) { + return NewThreatIntelligenceIntelProfilesItemIndicatorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_intel_profiles_item_indicators_intelligence_profile_indicator_item_request_builder.go b/security/threat_intelligence_intel_profiles_item_indicators_intelligence_profile_indicator_item_request_builder.go index 0d3eeb13ae8..6bd058201d8 100644 --- a/security/threat_intelligence_intel_profiles_item_indicators_intelligence_profile_indicator_item_request_builder.go +++ b/security/threat_intelligence_intel_profiles_item_indicators_intelligence_profile_indicator_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceIntelProfilesItemIndicatorsIntelligenceProfileIndicat } 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 *ThreatIntelligenceIntelProfilesItemIndicatorsIntelligenceProfileIndicatorItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceIntelProfilesItemIndicatorsIntelligenceProfileIndicatorItemRequestBuilder) { + return NewThreatIntelligenceIntelProfilesItemIndicatorsIntelligenceProfileIndicatorItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_intel_profiles_item_indicators_request_builder.go b/security/threat_intelligence_intel_profiles_item_indicators_request_builder.go index a37304fda36..032a9f1304a 100644 --- a/security/threat_intelligence_intel_profiles_item_indicators_request_builder.go +++ b/security/threat_intelligence_intel_profiles_item_indicators_request_builder.go @@ -39,8 +39,8 @@ type ThreatIntelligenceIntelProfilesItemIndicatorsRequestBuilderGetRequestConfig // Request query parameters QueryParameters *ThreatIntelligenceIntelProfilesItemIndicatorsRequestBuilderGetQueryParameters } -// ByIntelligenceProfileIndicatorIdString provides operations to manage the indicators property of the microsoft.graph.security.intelligenceProfile entity. -func (m *ThreatIntelligenceIntelProfilesItemIndicatorsRequestBuilder) ByIntelligenceProfileIndicatorIdString(intelligenceProfileIndicatorId string)(*ThreatIntelligenceIntelProfilesItemIndicatorsIntelligenceProfileIndicatorItemRequestBuilder) { +// ByIntelligenceProfileIndicatorId provides operations to manage the indicators property of the microsoft.graph.security.intelligenceProfile entity. +func (m *ThreatIntelligenceIntelProfilesItemIndicatorsRequestBuilder) ByIntelligenceProfileIndicatorId(intelligenceProfileIndicatorId string)(*ThreatIntelligenceIntelProfilesItemIndicatorsIntelligenceProfileIndicatorItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ThreatIntelligenceIntelProfilesItemIndicatorsRequestBuilder) ToGetReque } 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 *ThreatIntelligenceIntelProfilesItemIndicatorsRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceIntelProfilesItemIndicatorsRequestBuilder) { + return NewThreatIntelligenceIntelProfilesItemIndicatorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_intel_profiles_request_builder.go b/security/threat_intelligence_intel_profiles_request_builder.go index cd6cf35652b..b4fae653c35 100644 --- a/security/threat_intelligence_intel_profiles_request_builder.go +++ b/security/threat_intelligence_intel_profiles_request_builder.go @@ -46,8 +46,8 @@ type ThreatIntelligenceIntelProfilesRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByIntelligenceProfileIdString provides operations to manage the intelProfiles property of the microsoft.graph.security.threatIntelligence entity. -func (m *ThreatIntelligenceIntelProfilesRequestBuilder) ByIntelligenceProfileIdString(intelligenceProfileId string)(*ThreatIntelligenceIntelProfilesIntelligenceProfileItemRequestBuilder) { +// ByIntelligenceProfileId provides operations to manage the intelProfiles property of the microsoft.graph.security.threatIntelligence entity. +func (m *ThreatIntelligenceIntelProfilesRequestBuilder) ByIntelligenceProfileId(intelligenceProfileId string)(*ThreatIntelligenceIntelProfilesIntelligenceProfileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ThreatIntelligenceIntelProfilesRequestBuilder) 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 *ThreatIntelligenceIntelProfilesRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceIntelProfilesRequestBuilder) { + return NewThreatIntelligenceIntelProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_intelligence_profile_indicators_count_request_builder.go b/security/threat_intelligence_intelligence_profile_indicators_count_request_builder.go index 1de74f6ff5e..413f8fe1fb9 100644 --- a/security/threat_intelligence_intelligence_profile_indicators_count_request_builder.go +++ b/security/threat_intelligence_intelligence_profile_indicators_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceIntelligenceProfileIndicatorsCountRequestBuilder) ToG } 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 *ThreatIntelligenceIntelligenceProfileIndicatorsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceIntelligenceProfileIndicatorsCountRequestBuilder) { + return NewThreatIntelligenceIntelligenceProfileIndicatorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_intelligence_profile_indicators_intelligence_profile_indicator_item_request_builder.go b/security/threat_intelligence_intelligence_profile_indicators_intelligence_profile_indicator_item_request_builder.go index 1054d7b8157..ac22e250e0b 100644 --- a/security/threat_intelligence_intelligence_profile_indicators_intelligence_profile_indicator_item_request_builder.go +++ b/security/threat_intelligence_intelligence_profile_indicators_intelligence_profile_indicator_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ThreatIntelligenceIntelligenceProfileIndicatorsIntelligenceProfileIndic } 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 *ThreatIntelligenceIntelligenceProfileIndicatorsIntelligenceProfileIndicatorItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceIntelligenceProfileIndicatorsIntelligenceProfileIndicatorItemRequestBuilder) { + return NewThreatIntelligenceIntelligenceProfileIndicatorsIntelligenceProfileIndicatorItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_intelligence_profile_indicators_item_artifact_request_builder.go b/security/threat_intelligence_intelligence_profile_indicators_item_artifact_request_builder.go index bd7b68d4fdf..e76a3e65644 100644 --- a/security/threat_intelligence_intelligence_profile_indicators_item_artifact_request_builder.go +++ b/security/threat_intelligence_intelligence_profile_indicators_item_artifact_request_builder.go @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceIntelligenceProfileIndicatorsItemArtifactRequestBuild } 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 *ThreatIntelligenceIntelligenceProfileIndicatorsItemArtifactRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceIntelligenceProfileIndicatorsItemArtifactRequestBuilder) { + return NewThreatIntelligenceIntelligenceProfileIndicatorsItemArtifactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_intelligence_profile_indicators_request_builder.go b/security/threat_intelligence_intelligence_profile_indicators_request_builder.go index 04bd2e7505a..00c4ea73e1e 100644 --- a/security/threat_intelligence_intelligence_profile_indicators_request_builder.go +++ b/security/threat_intelligence_intelligence_profile_indicators_request_builder.go @@ -46,8 +46,8 @@ type ThreatIntelligenceIntelligenceProfileIndicatorsRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByIntelligenceProfileIndicatorIdString provides operations to manage the intelligenceProfileIndicators property of the microsoft.graph.security.threatIntelligence entity. -func (m *ThreatIntelligenceIntelligenceProfileIndicatorsRequestBuilder) ByIntelligenceProfileIndicatorIdString(intelligenceProfileIndicatorId string)(*ThreatIntelligenceIntelligenceProfileIndicatorsIntelligenceProfileIndicatorItemRequestBuilder) { +// ByIntelligenceProfileIndicatorId provides operations to manage the intelligenceProfileIndicators property of the microsoft.graph.security.threatIntelligence entity. +func (m *ThreatIntelligenceIntelligenceProfileIndicatorsRequestBuilder) ByIntelligenceProfileIndicatorId(intelligenceProfileIndicatorId string)(*ThreatIntelligenceIntelligenceProfileIndicatorsIntelligenceProfileIndicatorItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ThreatIntelligenceIntelligenceProfileIndicatorsRequestBuilder) ToPostRe } 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 *ThreatIntelligenceIntelligenceProfileIndicatorsRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceIntelligenceProfileIndicatorsRequestBuilder) { + return NewThreatIntelligenceIntelligenceProfileIndicatorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_passive_dns_records_count_request_builder.go b/security/threat_intelligence_passive_dns_records_count_request_builder.go index 16da37b6df1..69559d44c2f 100644 --- a/security/threat_intelligence_passive_dns_records_count_request_builder.go +++ b/security/threat_intelligence_passive_dns_records_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligencePassiveDnsRecordsCountRequestBuilder) ToGetRequestInf } 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 *ThreatIntelligencePassiveDnsRecordsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligencePassiveDnsRecordsCountRequestBuilder) { + return NewThreatIntelligencePassiveDnsRecordsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_passive_dns_records_item_artifact_request_builder.go b/security/threat_intelligence_passive_dns_records_item_artifact_request_builder.go index ea33adc7308..bc383005fe7 100644 --- a/security/threat_intelligence_passive_dns_records_item_artifact_request_builder.go +++ b/security/threat_intelligence_passive_dns_records_item_artifact_request_builder.go @@ -75,3 +75,7 @@ func (m *ThreatIntelligencePassiveDnsRecordsItemArtifactRequestBuilder) ToGetReq } 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 *ThreatIntelligencePassiveDnsRecordsItemArtifactRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligencePassiveDnsRecordsItemArtifactRequestBuilder) { + return NewThreatIntelligencePassiveDnsRecordsItemArtifactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_passive_dns_records_item_parent_host_request_builder.go b/security/threat_intelligence_passive_dns_records_item_parent_host_request_builder.go index 9214e3c0cee..5fdc27eb247 100644 --- a/security/threat_intelligence_passive_dns_records_item_parent_host_request_builder.go +++ b/security/threat_intelligence_passive_dns_records_item_parent_host_request_builder.go @@ -75,3 +75,7 @@ func (m *ThreatIntelligencePassiveDnsRecordsItemParentHostRequestBuilder) ToGetR } 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 *ThreatIntelligencePassiveDnsRecordsItemParentHostRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligencePassiveDnsRecordsItemParentHostRequestBuilder) { + return NewThreatIntelligencePassiveDnsRecordsItemParentHostRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_passive_dns_records_passive_dns_record_item_request_builder.go b/security/threat_intelligence_passive_dns_records_passive_dns_record_item_request_builder.go index 0841ebf34bb..97ccedb452f 100644 --- a/security/threat_intelligence_passive_dns_records_passive_dns_record_item_request_builder.go +++ b/security/threat_intelligence_passive_dns_records_passive_dns_record_item_request_builder.go @@ -164,3 +164,7 @@ func (m *ThreatIntelligencePassiveDnsRecordsPassiveDnsRecordItemRequestBuilder) } 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 *ThreatIntelligencePassiveDnsRecordsPassiveDnsRecordItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligencePassiveDnsRecordsPassiveDnsRecordItemRequestBuilder) { + return NewThreatIntelligencePassiveDnsRecordsPassiveDnsRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_passive_dns_records_request_builder.go b/security/threat_intelligence_passive_dns_records_request_builder.go index fe3bae66bf3..27237e9d70b 100644 --- a/security/threat_intelligence_passive_dns_records_request_builder.go +++ b/security/threat_intelligence_passive_dns_records_request_builder.go @@ -46,8 +46,8 @@ type ThreatIntelligencePassiveDnsRecordsRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPassiveDnsRecordIdString provides operations to manage the passiveDnsRecords property of the microsoft.graph.security.threatIntelligence entity. -func (m *ThreatIntelligencePassiveDnsRecordsRequestBuilder) ByPassiveDnsRecordIdString(passiveDnsRecordId string)(*ThreatIntelligencePassiveDnsRecordsPassiveDnsRecordItemRequestBuilder) { +// ByPassiveDnsRecordId provides operations to manage the passiveDnsRecords property of the microsoft.graph.security.threatIntelligence entity. +func (m *ThreatIntelligencePassiveDnsRecordsRequestBuilder) ByPassiveDnsRecordId(passiveDnsRecordId string)(*ThreatIntelligencePassiveDnsRecordsPassiveDnsRecordItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ThreatIntelligencePassiveDnsRecordsRequestBuilder) ToPostRequestInforma } 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 *ThreatIntelligencePassiveDnsRecordsRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligencePassiveDnsRecordsRequestBuilder) { + return NewThreatIntelligencePassiveDnsRecordsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_request_builder.go b/security/threat_intelligence_request_builder.go index fdae2fa7043..d12bec08dab 100644 --- a/security/threat_intelligence_request_builder.go +++ b/security/threat_intelligence_request_builder.go @@ -109,6 +109,10 @@ func (m *ThreatIntelligenceRequestBuilder) HostCookies()(*ThreatIntelligenceHost func (m *ThreatIntelligenceRequestBuilder) HostPairs()(*ThreatIntelligenceHostPairsRequestBuilder) { return NewThreatIntelligenceHostPairsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// HostPorts provides operations to manage the hostPorts property of the microsoft.graph.security.threatIntelligence entity. +func (m *ThreatIntelligenceRequestBuilder) HostPorts()(*ThreatIntelligenceHostPortsRequestBuilder) { + return NewThreatIntelligenceHostPortsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Hosts provides operations to manage the hosts property of the microsoft.graph.security.threatIntelligence entity. func (m *ThreatIntelligenceRequestBuilder) Hosts()(*ThreatIntelligenceHostsRequestBuilder) { return NewThreatIntelligenceHostsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) @@ -217,3 +221,7 @@ func (m *ThreatIntelligenceRequestBuilder) WhoisHistoryRecords()(*ThreatIntellig func (m *ThreatIntelligenceRequestBuilder) WhoisRecords()(*ThreatIntelligenceWhoisRecordsRequestBuilder) { return NewThreatIntelligenceWhoisRecordsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ThreatIntelligenceRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceRequestBuilder) { + return NewThreatIntelligenceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_ssl_certificates_count_request_builder.go b/security/threat_intelligence_ssl_certificates_count_request_builder.go index 1cbd9a64c42..40d712f9145 100644 --- a/security/threat_intelligence_ssl_certificates_count_request_builder.go +++ b/security/threat_intelligence_ssl_certificates_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceSslCertificatesCountRequestBuilder) ToGetRequestInfor } 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 *ThreatIntelligenceSslCertificatesCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceSslCertificatesCountRequestBuilder) { + return NewThreatIntelligenceSslCertificatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_ssl_certificates_item_related_hosts_count_request_builder.go b/security/threat_intelligence_ssl_certificates_item_related_hosts_count_request_builder.go index ea10ded9b1b..c59cac9a0cb 100644 --- a/security/threat_intelligence_ssl_certificates_item_related_hosts_count_request_builder.go +++ b/security/threat_intelligence_ssl_certificates_item_related_hosts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceSslCertificatesItemRelatedHostsCountRequestBuilder) T } 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 *ThreatIntelligenceSslCertificatesItemRelatedHostsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceSslCertificatesItemRelatedHostsCountRequestBuilder) { + return NewThreatIntelligenceSslCertificatesItemRelatedHostsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_ssl_certificates_item_related_hosts_host_item_request_builder.go b/security/threat_intelligence_ssl_certificates_item_related_hosts_host_item_request_builder.go index 5df59457e57..02509494ace 100644 --- a/security/threat_intelligence_ssl_certificates_item_related_hosts_host_item_request_builder.go +++ b/security/threat_intelligence_ssl_certificates_item_related_hosts_host_item_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceSslCertificatesItemRelatedHostsHostItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceSslCertificatesItemRelatedHostsHostItemRequestBuilderGetQueryParameters get relatedHosts from security +// ThreatIntelligenceSslCertificatesItemRelatedHostsHostItemRequestBuilderGetQueryParameters the hosts related with this sslCertificate. type ThreatIntelligenceSslCertificatesItemRelatedHostsHostItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewThreatIntelligenceSslCertificatesItemRelatedHostsHostItemRequestBuilder( urlParams["request-raw-url"] = rawUrl return NewThreatIntelligenceSslCertificatesItemRelatedHostsHostItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get get relatedHosts from security +// Get the hosts related with this sslCertificate. func (m *ThreatIntelligenceSslCertificatesItemRelatedHostsHostItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceSslCertificatesItemRelatedHostsHostItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Hostable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ThreatIntelligenceSslCertificatesItemRelatedHostsHostItemRequestBuilder } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Hostable), nil } -// ToGetRequestInformation get relatedHosts from security +// ToGetRequestInformation the hosts related with this sslCertificate. func (m *ThreatIntelligenceSslCertificatesItemRelatedHostsHostItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceSslCertificatesItemRelatedHostsHostItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceSslCertificatesItemRelatedHostsHostItemRequestBuilder } 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 *ThreatIntelligenceSslCertificatesItemRelatedHostsHostItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceSslCertificatesItemRelatedHostsHostItemRequestBuilder) { + return NewThreatIntelligenceSslCertificatesItemRelatedHostsHostItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_ssl_certificates_item_related_hosts_request_builder.go b/security/threat_intelligence_ssl_certificates_item_related_hosts_request_builder.go index d69d37f5ed2..89e325c181d 100644 --- a/security/threat_intelligence_ssl_certificates_item_related_hosts_request_builder.go +++ b/security/threat_intelligence_ssl_certificates_item_related_hosts_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceSslCertificatesItemRelatedHostsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceSslCertificatesItemRelatedHostsRequestBuilderGetQueryParameters get relatedHosts from security +// ThreatIntelligenceSslCertificatesItemRelatedHostsRequestBuilderGetQueryParameters the hosts related with this sslCertificate. type ThreatIntelligenceSslCertificatesItemRelatedHostsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -39,8 +39,8 @@ type ThreatIntelligenceSslCertificatesItemRelatedHostsRequestBuilderGetRequestCo // Request query parameters QueryParameters *ThreatIntelligenceSslCertificatesItemRelatedHostsRequestBuilderGetQueryParameters } -// ByHostIdString provides operations to manage the relatedHosts property of the microsoft.graph.security.sslCertificate entity. -func (m *ThreatIntelligenceSslCertificatesItemRelatedHostsRequestBuilder) ByHostIdString(hostId string)(*ThreatIntelligenceSslCertificatesItemRelatedHostsHostItemRequestBuilder) { +// ByHostId provides operations to manage the relatedHosts property of the microsoft.graph.security.sslCertificate entity. +func (m *ThreatIntelligenceSslCertificatesItemRelatedHostsRequestBuilder) ByHostId(hostId string)(*ThreatIntelligenceSslCertificatesItemRelatedHostsHostItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -67,7 +67,7 @@ func NewThreatIntelligenceSslCertificatesItemRelatedHostsRequestBuilder(rawUrl s func (m *ThreatIntelligenceSslCertificatesItemRelatedHostsRequestBuilder) Count()(*ThreatIntelligenceSslCertificatesItemRelatedHostsCountRequestBuilder) { return NewThreatIntelligenceSslCertificatesItemRelatedHostsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get relatedHosts from security +// Get the hosts related with this sslCertificate. func (m *ThreatIntelligenceSslCertificatesItemRelatedHostsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceSslCertificatesItemRelatedHostsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +86,7 @@ func (m *ThreatIntelligenceSslCertificatesItemRelatedHostsRequestBuilder) Get(ct } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostCollectionResponseable), nil } -// ToGetRequestInformation get relatedHosts from security +// ToGetRequestInformation the hosts related with this sslCertificate. func (m *ThreatIntelligenceSslCertificatesItemRelatedHostsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceSslCertificatesItemRelatedHostsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -102,3 +102,7 @@ func (m *ThreatIntelligenceSslCertificatesItemRelatedHostsRequestBuilder) ToGetR } 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 *ThreatIntelligenceSslCertificatesItemRelatedHostsRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceSslCertificatesItemRelatedHostsRequestBuilder) { + return NewThreatIntelligenceSslCertificatesItemRelatedHostsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_ssl_certificates_request_builder.go b/security/threat_intelligence_ssl_certificates_request_builder.go index 5bc1eef8ed8..e7ffa546caf 100644 --- a/security/threat_intelligence_ssl_certificates_request_builder.go +++ b/security/threat_intelligence_ssl_certificates_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceSslCertificatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceSslCertificatesRequestBuilderGetQueryParameters get sslCertificates from security +// ThreatIntelligenceSslCertificatesRequestBuilderGetQueryParameters get a list of sslCertificate objects and their properties. type ThreatIntelligenceSslCertificatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type ThreatIntelligenceSslCertificatesRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySslCertificateIdString provides operations to manage the sslCertificates property of the microsoft.graph.security.threatIntelligence entity. -func (m *ThreatIntelligenceSslCertificatesRequestBuilder) BySslCertificateIdString(sslCertificateId string)(*ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilder) { +// BySslCertificateId provides operations to manage the sslCertificates property of the microsoft.graph.security.threatIntelligence entity. +func (m *ThreatIntelligenceSslCertificatesRequestBuilder) BySslCertificateId(sslCertificateId string)(*ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,7 +74,10 @@ func NewThreatIntelligenceSslCertificatesRequestBuilder(rawUrl string, requestAd func (m *ThreatIntelligenceSslCertificatesRequestBuilder) Count()(*ThreatIntelligenceSslCertificatesCountRequestBuilder) { return NewThreatIntelligenceSslCertificatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get sslCertificates from security +// Get get a list of sslCertificate objects and their properties. +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-sslcertificate-list?view=graph-rest-1.0 func (m *ThreatIntelligenceSslCertificatesRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceSslCertificatesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SslCertificateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +115,7 @@ func (m *ThreatIntelligenceSslCertificatesRequestBuilder) Post(ctx context.Conte } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SslCertificateable), nil } -// ToGetRequestInformation get sslCertificates from security +// ToGetRequestInformation get a list of sslCertificate objects and their properties. func (m *ThreatIntelligenceSslCertificatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceSslCertificatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -145,3 +148,7 @@ func (m *ThreatIntelligenceSslCertificatesRequestBuilder) ToPostRequestInformati } 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 *ThreatIntelligenceSslCertificatesRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceSslCertificatesRequestBuilder) { + return NewThreatIntelligenceSslCertificatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_ssl_certificates_ssl_certificate_item_request_builder.go b/security/threat_intelligence_ssl_certificates_ssl_certificate_item_request_builder.go index 85b9c606246..c0974a5abbc 100644 --- a/security/threat_intelligence_ssl_certificates_ssl_certificate_item_request_builder.go +++ b/security/threat_intelligence_ssl_certificates_ssl_certificate_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilderGetQueryParameters get sslCertificates from security +// ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilderGetQueryParameters get the properties and relationships of an sslCertificate object. type ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,10 @@ func (m *ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilder) Dele } return nil } -// Get get sslCertificates from security +// Get get the properties and relationships of an sslCertificate object. +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-sslcertificate-get?view=graph-rest-1.0 func (m *ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SslCertificateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +127,7 @@ func (m *ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilder) ToDe } return requestInfo, nil } -// ToGetRequestInformation get sslCertificates from security +// ToGetRequestInformation get the properties and relationships of an sslCertificate object. func (m *ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -157,3 +160,7 @@ func (m *ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilder) ToPa } 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 *ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilder) { + return NewThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_subdomains_count_request_builder.go b/security/threat_intelligence_subdomains_count_request_builder.go index 325e69505ce..a016f0a0d74 100644 --- a/security/threat_intelligence_subdomains_count_request_builder.go +++ b/security/threat_intelligence_subdomains_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceSubdomainsCountRequestBuilder) 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 *ThreatIntelligenceSubdomainsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceSubdomainsCountRequestBuilder) { + return NewThreatIntelligenceSubdomainsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_subdomains_item_host_request_builder.go b/security/threat_intelligence_subdomains_item_host_request_builder.go index d8eb13df4bb..2c254395af5 100644 --- a/security/threat_intelligence_subdomains_item_host_request_builder.go +++ b/security/threat_intelligence_subdomains_item_host_request_builder.go @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceSubdomainsItemHostRequestBuilder) ToGetRequestInforma } 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 *ThreatIntelligenceSubdomainsItemHostRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceSubdomainsItemHostRequestBuilder) { + return NewThreatIntelligenceSubdomainsItemHostRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_subdomains_request_builder.go b/security/threat_intelligence_subdomains_request_builder.go index fd90922a500..528ffc7959e 100644 --- a/security/threat_intelligence_subdomains_request_builder.go +++ b/security/threat_intelligence_subdomains_request_builder.go @@ -46,8 +46,8 @@ type ThreatIntelligenceSubdomainsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySubdomainIdString provides operations to manage the subdomains property of the microsoft.graph.security.threatIntelligence entity. -func (m *ThreatIntelligenceSubdomainsRequestBuilder) BySubdomainIdString(subdomainId string)(*ThreatIntelligenceSubdomainsSubdomainItemRequestBuilder) { +// BySubdomainId provides operations to manage the subdomains property of the microsoft.graph.security.threatIntelligence entity. +func (m *ThreatIntelligenceSubdomainsRequestBuilder) BySubdomainId(subdomainId string)(*ThreatIntelligenceSubdomainsSubdomainItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ThreatIntelligenceSubdomainsRequestBuilder) 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 *ThreatIntelligenceSubdomainsRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceSubdomainsRequestBuilder) { + return NewThreatIntelligenceSubdomainsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_subdomains_subdomain_item_request_builder.go b/security/threat_intelligence_subdomains_subdomain_item_request_builder.go index 551742c265c..c410de8768e 100644 --- a/security/threat_intelligence_subdomains_subdomain_item_request_builder.go +++ b/security/threat_intelligence_subdomains_subdomain_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ThreatIntelligenceSubdomainsSubdomainItemRequestBuilder) ToPatchRequest } 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 *ThreatIntelligenceSubdomainsSubdomainItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceSubdomainsSubdomainItemRequestBuilder) { + return NewThreatIntelligenceSubdomainsSubdomainItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_vulnerabilities_count_request_builder.go b/security/threat_intelligence_vulnerabilities_count_request_builder.go index ce6a983e3b2..ae6d69da095 100644 --- a/security/threat_intelligence_vulnerabilities_count_request_builder.go +++ b/security/threat_intelligence_vulnerabilities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceVulnerabilitiesCountRequestBuilder) ToGetRequestInfor } 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 *ThreatIntelligenceVulnerabilitiesCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceVulnerabilitiesCountRequestBuilder) { + return NewThreatIntelligenceVulnerabilitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_vulnerabilities_item_articles_article_item_request_builder.go b/security/threat_intelligence_vulnerabilities_item_articles_article_item_request_builder.go index 752fc9505ae..cd0b4ebf66c 100644 --- a/security/threat_intelligence_vulnerabilities_item_articles_article_item_request_builder.go +++ b/security/threat_intelligence_vulnerabilities_item_articles_article_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceVulnerabilitiesItemArticlesArticleItemRequestBuilder) } 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 *ThreatIntelligenceVulnerabilitiesItemArticlesArticleItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceVulnerabilitiesItemArticlesArticleItemRequestBuilder) { + return NewThreatIntelligenceVulnerabilitiesItemArticlesArticleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_vulnerabilities_item_articles_count_request_builder.go b/security/threat_intelligence_vulnerabilities_item_articles_count_request_builder.go index 41ef6142589..9f3639a76d0 100644 --- a/security/threat_intelligence_vulnerabilities_item_articles_count_request_builder.go +++ b/security/threat_intelligence_vulnerabilities_item_articles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceVulnerabilitiesItemArticlesCountRequestBuilder) ToGet } 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 *ThreatIntelligenceVulnerabilitiesItemArticlesCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceVulnerabilitiesItemArticlesCountRequestBuilder) { + return NewThreatIntelligenceVulnerabilitiesItemArticlesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_vulnerabilities_item_articles_request_builder.go b/security/threat_intelligence_vulnerabilities_item_articles_request_builder.go index ca151c8e10a..09c4a1a84fd 100644 --- a/security/threat_intelligence_vulnerabilities_item_articles_request_builder.go +++ b/security/threat_intelligence_vulnerabilities_item_articles_request_builder.go @@ -39,8 +39,8 @@ type ThreatIntelligenceVulnerabilitiesItemArticlesRequestBuilderGetRequestConfig // Request query parameters QueryParameters *ThreatIntelligenceVulnerabilitiesItemArticlesRequestBuilderGetQueryParameters } -// ByArticleIdString provides operations to manage the articles property of the microsoft.graph.security.vulnerability entity. -func (m *ThreatIntelligenceVulnerabilitiesItemArticlesRequestBuilder) ByArticleIdString(articleId string)(*ThreatIntelligenceVulnerabilitiesItemArticlesArticleItemRequestBuilder) { +// ByArticleId provides operations to manage the articles property of the microsoft.graph.security.vulnerability entity. +func (m *ThreatIntelligenceVulnerabilitiesItemArticlesRequestBuilder) ByArticleId(articleId string)(*ThreatIntelligenceVulnerabilitiesItemArticlesArticleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ThreatIntelligenceVulnerabilitiesItemArticlesRequestBuilder) ToGetReque } 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 *ThreatIntelligenceVulnerabilitiesItemArticlesRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceVulnerabilitiesItemArticlesRequestBuilder) { + return NewThreatIntelligenceVulnerabilitiesItemArticlesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_vulnerabilities_item_components_count_request_builder.go b/security/threat_intelligence_vulnerabilities_item_components_count_request_builder.go index 1723aeda14d..219cc7b660b 100644 --- a/security/threat_intelligence_vulnerabilities_item_components_count_request_builder.go +++ b/security/threat_intelligence_vulnerabilities_item_components_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceVulnerabilitiesItemComponentsCountRequestBuilder) ToG } 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 *ThreatIntelligenceVulnerabilitiesItemComponentsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceVulnerabilitiesItemComponentsCountRequestBuilder) { + return NewThreatIntelligenceVulnerabilitiesItemComponentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_vulnerabilities_item_components_request_builder.go b/security/threat_intelligence_vulnerabilities_item_components_request_builder.go index e5ce23a2efe..b6fd3e76f8e 100644 --- a/security/threat_intelligence_vulnerabilities_item_components_request_builder.go +++ b/security/threat_intelligence_vulnerabilities_item_components_request_builder.go @@ -46,8 +46,8 @@ type ThreatIntelligenceVulnerabilitiesItemComponentsRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByVulnerabilityComponentIdString provides operations to manage the components property of the microsoft.graph.security.vulnerability entity. -func (m *ThreatIntelligenceVulnerabilitiesItemComponentsRequestBuilder) ByVulnerabilityComponentIdString(vulnerabilityComponentId string)(*ThreatIntelligenceVulnerabilitiesItemComponentsVulnerabilityComponentItemRequestBuilder) { +// ByVulnerabilityComponentId provides operations to manage the components property of the microsoft.graph.security.vulnerability entity. +func (m *ThreatIntelligenceVulnerabilitiesItemComponentsRequestBuilder) ByVulnerabilityComponentId(vulnerabilityComponentId string)(*ThreatIntelligenceVulnerabilitiesItemComponentsVulnerabilityComponentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ThreatIntelligenceVulnerabilitiesItemComponentsRequestBuilder) ToPostRe } 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 *ThreatIntelligenceVulnerabilitiesItemComponentsRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceVulnerabilitiesItemComponentsRequestBuilder) { + return NewThreatIntelligenceVulnerabilitiesItemComponentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_vulnerabilities_item_components_vulnerability_component_item_request_builder.go b/security/threat_intelligence_vulnerabilities_item_components_vulnerability_component_item_request_builder.go index 9e4140ae1b4..cf4725f546f 100644 --- a/security/threat_intelligence_vulnerabilities_item_components_vulnerability_component_item_request_builder.go +++ b/security/threat_intelligence_vulnerabilities_item_components_vulnerability_component_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ThreatIntelligenceVulnerabilitiesItemComponentsVulnerabilityComponentIt } 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 *ThreatIntelligenceVulnerabilitiesItemComponentsVulnerabilityComponentItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceVulnerabilitiesItemComponentsVulnerabilityComponentItemRequestBuilder) { + return NewThreatIntelligenceVulnerabilitiesItemComponentsVulnerabilityComponentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_vulnerabilities_request_builder.go b/security/threat_intelligence_vulnerabilities_request_builder.go index d64bb16e0de..1345313d841 100644 --- a/security/threat_intelligence_vulnerabilities_request_builder.go +++ b/security/threat_intelligence_vulnerabilities_request_builder.go @@ -46,8 +46,8 @@ type ThreatIntelligenceVulnerabilitiesRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByVulnerabilityIdString provides operations to manage the vulnerabilities property of the microsoft.graph.security.threatIntelligence entity. -func (m *ThreatIntelligenceVulnerabilitiesRequestBuilder) ByVulnerabilityIdString(vulnerabilityId string)(*ThreatIntelligenceVulnerabilitiesVulnerabilityItemRequestBuilder) { +// ByVulnerabilityId provides operations to manage the vulnerabilities property of the microsoft.graph.security.threatIntelligence entity. +func (m *ThreatIntelligenceVulnerabilitiesRequestBuilder) ByVulnerabilityId(vulnerabilityId string)(*ThreatIntelligenceVulnerabilitiesVulnerabilityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ThreatIntelligenceVulnerabilitiesRequestBuilder) ToPostRequestInformati } 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 *ThreatIntelligenceVulnerabilitiesRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceVulnerabilitiesRequestBuilder) { + return NewThreatIntelligenceVulnerabilitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_vulnerabilities_vulnerability_item_request_builder.go b/security/threat_intelligence_vulnerabilities_vulnerability_item_request_builder.go index f5f75577269..86620e2a6b5 100644 --- a/security/threat_intelligence_vulnerabilities_vulnerability_item_request_builder.go +++ b/security/threat_intelligence_vulnerabilities_vulnerability_item_request_builder.go @@ -164,3 +164,7 @@ func (m *ThreatIntelligenceVulnerabilitiesVulnerabilityItemRequestBuilder) 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 *ThreatIntelligenceVulnerabilitiesVulnerabilityItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceVulnerabilitiesVulnerabilityItemRequestBuilder) { + return NewThreatIntelligenceVulnerabilitiesVulnerabilityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_whois_history_records_count_request_builder.go b/security/threat_intelligence_whois_history_records_count_request_builder.go index 85b26ef1e2b..90135818132 100644 --- a/security/threat_intelligence_whois_history_records_count_request_builder.go +++ b/security/threat_intelligence_whois_history_records_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceWhoisHistoryRecordsCountRequestBuilder) ToGetRequestI } 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 *ThreatIntelligenceWhoisHistoryRecordsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceWhoisHistoryRecordsCountRequestBuilder) { + return NewThreatIntelligenceWhoisHistoryRecordsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_whois_history_records_item_host_request_builder.go b/security/threat_intelligence_whois_history_records_item_host_request_builder.go index 8a74b340c6b..70b75862890 100644 --- a/security/threat_intelligence_whois_history_records_item_host_request_builder.go +++ b/security/threat_intelligence_whois_history_records_item_host_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceWhoisHistoryRecordsItemHostRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceWhoisHistoryRecordsItemHostRequestBuilderGetQueryParameters get host from security +// ThreatIntelligenceWhoisHistoryRecordsItemHostRequestBuilderGetQueryParameters the host associated to this WHOIS object. type ThreatIntelligenceWhoisHistoryRecordsItemHostRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewThreatIntelligenceWhoisHistoryRecordsItemHostRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewThreatIntelligenceWhoisHistoryRecordsItemHostRequestBuilderInternal(urlParams, requestAdapter) } -// Get get host from security +// Get the host associated to this WHOIS object. func (m *ThreatIntelligenceWhoisHistoryRecordsItemHostRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceWhoisHistoryRecordsItemHostRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Hostable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ThreatIntelligenceWhoisHistoryRecordsItemHostRequestBuilder) Get(ctx co } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Hostable), nil } -// ToGetRequestInformation get host from security +// ToGetRequestInformation the host associated to this WHOIS object. func (m *ThreatIntelligenceWhoisHistoryRecordsItemHostRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceWhoisHistoryRecordsItemHostRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceWhoisHistoryRecordsItemHostRequestBuilder) ToGetReque } 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 *ThreatIntelligenceWhoisHistoryRecordsItemHostRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceWhoisHistoryRecordsItemHostRequestBuilder) { + return NewThreatIntelligenceWhoisHistoryRecordsItemHostRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_whois_history_records_request_builder.go b/security/threat_intelligence_whois_history_records_request_builder.go index 922ddb1c60e..f8becc37ba2 100644 --- a/security/threat_intelligence_whois_history_records_request_builder.go +++ b/security/threat_intelligence_whois_history_records_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceWhoisHistoryRecordsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceWhoisHistoryRecordsRequestBuilderGetQueryParameters get whoisHistoryRecords from security +// ThreatIntelligenceWhoisHistoryRecordsRequestBuilderGetQueryParameters retrieve details about whoisHistoryRecord objects.Note: List retrieval is not yet supported. type ThreatIntelligenceWhoisHistoryRecordsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type ThreatIntelligenceWhoisHistoryRecordsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWhoisHistoryRecordIdString provides operations to manage the whoisHistoryRecords property of the microsoft.graph.security.threatIntelligence entity. -func (m *ThreatIntelligenceWhoisHistoryRecordsRequestBuilder) ByWhoisHistoryRecordIdString(whoisHistoryRecordId string)(*ThreatIntelligenceWhoisHistoryRecordsWhoisHistoryRecordItemRequestBuilder) { +// ByWhoisHistoryRecordId provides operations to manage the whoisHistoryRecords property of the microsoft.graph.security.threatIntelligence entity. +func (m *ThreatIntelligenceWhoisHistoryRecordsRequestBuilder) ByWhoisHistoryRecordId(whoisHistoryRecordId string)(*ThreatIntelligenceWhoisHistoryRecordsWhoisHistoryRecordItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,7 +74,7 @@ func NewThreatIntelligenceWhoisHistoryRecordsRequestBuilder(rawUrl string, reque func (m *ThreatIntelligenceWhoisHistoryRecordsRequestBuilder) Count()(*ThreatIntelligenceWhoisHistoryRecordsCountRequestBuilder) { return NewThreatIntelligenceWhoisHistoryRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get whoisHistoryRecords from security +// Get retrieve details about whoisHistoryRecord objects.Note: List retrieval is not yet supported. func (m *ThreatIntelligenceWhoisHistoryRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceWhoisHistoryRecordsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.WhoisHistoryRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +112,7 @@ func (m *ThreatIntelligenceWhoisHistoryRecordsRequestBuilder) Post(ctx context.C } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.WhoisHistoryRecordable), nil } -// ToGetRequestInformation get whoisHistoryRecords from security +// ToGetRequestInformation retrieve details about whoisHistoryRecord objects.Note: List retrieval is not yet supported. func (m *ThreatIntelligenceWhoisHistoryRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceWhoisHistoryRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -145,3 +145,7 @@ func (m *ThreatIntelligenceWhoisHistoryRecordsRequestBuilder) ToPostRequestInfor } 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 *ThreatIntelligenceWhoisHistoryRecordsRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceWhoisHistoryRecordsRequestBuilder) { + return NewThreatIntelligenceWhoisHistoryRecordsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_whois_history_records_whois_history_record_item_request_builder.go b/security/threat_intelligence_whois_history_records_whois_history_record_item_request_builder.go index 233cd508b9c..daacb989046 100644 --- a/security/threat_intelligence_whois_history_records_whois_history_record_item_request_builder.go +++ b/security/threat_intelligence_whois_history_records_whois_history_record_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatIntelligenceWhoisHistoryRecordsWhoisHistoryRecordItemRequestBuilderDe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatIntelligenceWhoisHistoryRecordsWhoisHistoryRecordItemRequestBuilderGetQueryParameters get whoisHistoryRecords from security +// ThreatIntelligenceWhoisHistoryRecordsWhoisHistoryRecordItemRequestBuilderGetQueryParameters retrieve details about whoisHistoryRecord objects.Note: List retrieval is not yet supported. type ThreatIntelligenceWhoisHistoryRecordsWhoisHistoryRecordItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ThreatIntelligenceWhoisHistoryRecordsWhoisHistoryRecordItemRequestBuild } return nil } -// Get get whoisHistoryRecords from security +// Get retrieve details about whoisHistoryRecord objects.Note: List retrieval is not yet supported. func (m *ThreatIntelligenceWhoisHistoryRecordsWhoisHistoryRecordItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceWhoisHistoryRecordsWhoisHistoryRecordItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.WhoisHistoryRecordable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +124,7 @@ func (m *ThreatIntelligenceWhoisHistoryRecordsWhoisHistoryRecordItemRequestBuild } return requestInfo, nil } -// ToGetRequestInformation get whoisHistoryRecords from security +// ToGetRequestInformation retrieve details about whoisHistoryRecord objects.Note: List retrieval is not yet supported. func (m *ThreatIntelligenceWhoisHistoryRecordsWhoisHistoryRecordItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceWhoisHistoryRecordsWhoisHistoryRecordItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -157,3 +157,7 @@ func (m *ThreatIntelligenceWhoisHistoryRecordsWhoisHistoryRecordItemRequestBuild } 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 *ThreatIntelligenceWhoisHistoryRecordsWhoisHistoryRecordItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceWhoisHistoryRecordsWhoisHistoryRecordItemRequestBuilder) { + return NewThreatIntelligenceWhoisHistoryRecordsWhoisHistoryRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_whois_records_count_request_builder.go b/security/threat_intelligence_whois_records_count_request_builder.go index 6275ccc1305..d36b46c033e 100644 --- a/security/threat_intelligence_whois_records_count_request_builder.go +++ b/security/threat_intelligence_whois_records_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceWhoisRecordsCountRequestBuilder) ToGetRequestInformat } 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 *ThreatIntelligenceWhoisRecordsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceWhoisRecordsCountRequestBuilder) { + return NewThreatIntelligenceWhoisRecordsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_whois_records_item_history_count_request_builder.go b/security/threat_intelligence_whois_records_item_history_count_request_builder.go index e661cc9711a..4f8dc7db022 100644 --- a/security/threat_intelligence_whois_records_item_history_count_request_builder.go +++ b/security/threat_intelligence_whois_records_item_history_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatIntelligenceWhoisRecordsItemHistoryCountRequestBuilder) ToGetRequ } 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 *ThreatIntelligenceWhoisRecordsItemHistoryCountRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceWhoisRecordsItemHistoryCountRequestBuilder) { + return NewThreatIntelligenceWhoisRecordsItemHistoryCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_whois_records_item_history_request_builder.go b/security/threat_intelligence_whois_records_item_history_request_builder.go index 466f2407037..d543e35de0f 100644 --- a/security/threat_intelligence_whois_records_item_history_request_builder.go +++ b/security/threat_intelligence_whois_records_item_history_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilderGetQueryParameters get history from security +// ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilderGetQueryParameters get a list of whoisHistoryRecord objects for a whoisRecord, including the properties and relationships of each whoisHistoryRecord object. type ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -39,8 +39,8 @@ type ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilderGetRequestConfigurat // Request query parameters QueryParameters *ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilderGetQueryParameters } -// ByWhoisHistoryRecordIdString provides operations to manage the history property of the microsoft.graph.security.whoisRecord entity. -func (m *ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilder) ByWhoisHistoryRecordIdString(whoisHistoryRecordId string)(*ThreatIntelligenceWhoisRecordsItemHistoryWhoisHistoryRecordItemRequestBuilder) { +// ByWhoisHistoryRecordId provides operations to manage the history property of the microsoft.graph.security.whoisRecord entity. +func (m *ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilder) ByWhoisHistoryRecordId(whoisHistoryRecordId string)(*ThreatIntelligenceWhoisRecordsItemHistoryWhoisHistoryRecordItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -67,7 +67,10 @@ func NewThreatIntelligenceWhoisRecordsItemHistoryRequestBuilder(rawUrl string, r func (m *ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilder) Count()(*ThreatIntelligenceWhoisRecordsItemHistoryCountRequestBuilder) { return NewThreatIntelligenceWhoisRecordsItemHistoryCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get history from security +// Get get a list of whoisHistoryRecord objects for a whoisRecord, including the properties and relationships of each whoisHistoryRecord object. +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-whoisrecord-list-history?view=graph-rest-1.0 func (m *ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.WhoisHistoryRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +89,7 @@ func (m *ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilder) Get(ctx contex } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.WhoisHistoryRecordCollectionResponseable), nil } -// ToGetRequestInformation get history from security +// ToGetRequestInformation get a list of whoisHistoryRecord objects for a whoisRecord, including the properties and relationships of each whoisHistoryRecord object. func (m *ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -102,3 +105,7 @@ func (m *ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilder) ToGetRequestIn } 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 *ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilder) { + return NewThreatIntelligenceWhoisRecordsItemHistoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_whois_records_item_history_whois_history_record_item_request_builder.go b/security/threat_intelligence_whois_records_item_history_whois_history_record_item_request_builder.go index 828f1242d84..9e033cd756c 100644 --- a/security/threat_intelligence_whois_records_item_history_whois_history_record_item_request_builder.go +++ b/security/threat_intelligence_whois_records_item_history_whois_history_record_item_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceWhoisRecordsItemHistoryWhoisHistoryRecordItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceWhoisRecordsItemHistoryWhoisHistoryRecordItemRequestBuilderGetQueryParameters get history from security +// ThreatIntelligenceWhoisRecordsItemHistoryWhoisHistoryRecordItemRequestBuilderGetQueryParameters the collection of historical records associated to this WHOIS object. type ThreatIntelligenceWhoisRecordsItemHistoryWhoisHistoryRecordItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewThreatIntelligenceWhoisRecordsItemHistoryWhoisHistoryRecordItemRequestBu urlParams["request-raw-url"] = rawUrl return NewThreatIntelligenceWhoisRecordsItemHistoryWhoisHistoryRecordItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get get history from security +// Get the collection of historical records associated to this WHOIS object. func (m *ThreatIntelligenceWhoisRecordsItemHistoryWhoisHistoryRecordItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceWhoisRecordsItemHistoryWhoisHistoryRecordItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.WhoisHistoryRecordable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ThreatIntelligenceWhoisRecordsItemHistoryWhoisHistoryRecordItemRequestB } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.WhoisHistoryRecordable), nil } -// ToGetRequestInformation get history from security +// ToGetRequestInformation the collection of historical records associated to this WHOIS object. func (m *ThreatIntelligenceWhoisRecordsItemHistoryWhoisHistoryRecordItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceWhoisRecordsItemHistoryWhoisHistoryRecordItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceWhoisRecordsItemHistoryWhoisHistoryRecordItemRequestB } 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 *ThreatIntelligenceWhoisRecordsItemHistoryWhoisHistoryRecordItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceWhoisRecordsItemHistoryWhoisHistoryRecordItemRequestBuilder) { + return NewThreatIntelligenceWhoisRecordsItemHistoryWhoisHistoryRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_whois_records_item_host_request_builder.go b/security/threat_intelligence_whois_records_item_host_request_builder.go index eb405bba268..5c09a70e979 100644 --- a/security/threat_intelligence_whois_records_item_host_request_builder.go +++ b/security/threat_intelligence_whois_records_item_host_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceWhoisRecordsItemHostRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceWhoisRecordsItemHostRequestBuilderGetQueryParameters get host from security +// ThreatIntelligenceWhoisRecordsItemHostRequestBuilderGetQueryParameters the host associated to this WHOIS object. type ThreatIntelligenceWhoisRecordsItemHostRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewThreatIntelligenceWhoisRecordsItemHostRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewThreatIntelligenceWhoisRecordsItemHostRequestBuilderInternal(urlParams, requestAdapter) } -// Get get host from security +// Get the host associated to this WHOIS object. func (m *ThreatIntelligenceWhoisRecordsItemHostRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceWhoisRecordsItemHostRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Hostable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ThreatIntelligenceWhoisRecordsItemHostRequestBuilder) Get(ctx context.C } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Hostable), nil } -// ToGetRequestInformation get host from security +// ToGetRequestInformation the host associated to this WHOIS object. func (m *ThreatIntelligenceWhoisRecordsItemHostRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceWhoisRecordsItemHostRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -75,3 +75,7 @@ func (m *ThreatIntelligenceWhoisRecordsItemHostRequestBuilder) ToGetRequestInfor } 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 *ThreatIntelligenceWhoisRecordsItemHostRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceWhoisRecordsItemHostRequestBuilder) { + return NewThreatIntelligenceWhoisRecordsItemHostRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_whois_records_request_builder.go b/security/threat_intelligence_whois_records_request_builder.go index fbd811bd7cc..8b6070f385b 100644 --- a/security/threat_intelligence_whois_records_request_builder.go +++ b/security/threat_intelligence_whois_records_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceWhoisRecordsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceWhoisRecordsRequestBuilderGetQueryParameters get whoisRecords from security +// ThreatIntelligenceWhoisRecordsRequestBuilderGetQueryParameters get a list of whoisRecord objects. type ThreatIntelligenceWhoisRecordsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type ThreatIntelligenceWhoisRecordsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWhoisRecordIdString provides operations to manage the whoisRecords property of the microsoft.graph.security.threatIntelligence entity. -func (m *ThreatIntelligenceWhoisRecordsRequestBuilder) ByWhoisRecordIdString(whoisRecordId string)(*ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilder) { +// ByWhoisRecordId provides operations to manage the whoisRecords property of the microsoft.graph.security.threatIntelligence entity. +func (m *ThreatIntelligenceWhoisRecordsRequestBuilder) ByWhoisRecordId(whoisRecordId string)(*ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,7 +74,10 @@ func NewThreatIntelligenceWhoisRecordsRequestBuilder(rawUrl string, requestAdapt func (m *ThreatIntelligenceWhoisRecordsRequestBuilder) Count()(*ThreatIntelligenceWhoisRecordsCountRequestBuilder) { return NewThreatIntelligenceWhoisRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get whoisRecords from security +// Get get a list of whoisRecord objects. +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-whoisrecord-list?view=graph-rest-1.0 func (m *ThreatIntelligenceWhoisRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceWhoisRecordsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.WhoisRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +115,7 @@ func (m *ThreatIntelligenceWhoisRecordsRequestBuilder) Post(ctx context.Context, } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.WhoisRecordable), nil } -// ToGetRequestInformation get whoisRecords from security +// ToGetRequestInformation get a list of whoisRecord objects. func (m *ThreatIntelligenceWhoisRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceWhoisRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -145,3 +148,7 @@ func (m *ThreatIntelligenceWhoisRecordsRequestBuilder) 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 *ThreatIntelligenceWhoisRecordsRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceWhoisRecordsRequestBuilder) { + return NewThreatIntelligenceWhoisRecordsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_intelligence_whois_records_whois_record_item_request_builder.go b/security/threat_intelligence_whois_records_whois_record_item_request_builder.go index 95826dd6382..697703283a6 100644 --- a/security/threat_intelligence_whois_records_whois_record_item_request_builder.go +++ b/security/threat_intelligence_whois_records_whois_record_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilderGetQueryParameters get whoisRecords from security +// ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilderGetQueryParameters read the properties and relationships of a whoisRecord object. type ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,10 @@ func (m *ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilder) Delete(ctx } return nil } -// Get get whoisRecords from security +// Get read the properties and relationships of a whoisRecord object. +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-whoisrecord-get?view=graph-rest-1.0 func (m *ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.WhoisRecordable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -128,7 +131,7 @@ func (m *ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilder) ToDeleteRe } return requestInfo, nil } -// ToGetRequestInformation get whoisRecords from security +// ToGetRequestInformation read the properties and relationships of a whoisRecord object. func (m *ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -161,3 +164,7 @@ func (m *ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilder) ToPatchReq } 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 *ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilder) WithUrl(rawUrl string)(*ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilder) { + return NewThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_submission_email_threat_submission_policies_count_request_builder.go b/security/threat_submission_email_threat_submission_policies_count_request_builder.go index 30e53ee454d..c7d064ed2ac 100644 --- a/security/threat_submission_email_threat_submission_policies_count_request_builder.go +++ b/security/threat_submission_email_threat_submission_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatSubmissionEmailThreatSubmissionPoliciesCountRequestBuilder) ToGet } 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 *ThreatSubmissionEmailThreatSubmissionPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ThreatSubmissionEmailThreatSubmissionPoliciesCountRequestBuilder) { + return NewThreatSubmissionEmailThreatSubmissionPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_submission_email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go b/security/threat_submission_email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go index dfc085a0a4b..c3b5b14f330 100644 --- a/security/threat_submission_email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go +++ b/security/threat_submission_email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ThreatSubmissionEmailThreatSubmissionPoliciesEmailThreatSubmissionPolic } 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 *ThreatSubmissionEmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilder) WithUrl(rawUrl string)(*ThreatSubmissionEmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilder) { + return NewThreatSubmissionEmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_submission_email_threat_submission_policies_request_builder.go b/security/threat_submission_email_threat_submission_policies_request_builder.go index 08f7b23cee7..5129cb2414d 100644 --- a/security/threat_submission_email_threat_submission_policies_request_builder.go +++ b/security/threat_submission_email_threat_submission_policies_request_builder.go @@ -46,8 +46,8 @@ type ThreatSubmissionEmailThreatSubmissionPoliciesRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEmailThreatSubmissionPolicyIdString provides operations to manage the emailThreatSubmissionPolicies property of the microsoft.graph.security.threatSubmissionRoot entity. -func (m *ThreatSubmissionEmailThreatSubmissionPoliciesRequestBuilder) ByEmailThreatSubmissionPolicyIdString(emailThreatSubmissionPolicyId string)(*ThreatSubmissionEmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilder) { +// ByEmailThreatSubmissionPolicyId provides operations to manage the emailThreatSubmissionPolicies property of the microsoft.graph.security.threatSubmissionRoot entity. +func (m *ThreatSubmissionEmailThreatSubmissionPoliciesRequestBuilder) ByEmailThreatSubmissionPolicyId(emailThreatSubmissionPolicyId string)(*ThreatSubmissionEmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ThreatSubmissionEmailThreatSubmissionPoliciesRequestBuilder) ToPostRequ } 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 *ThreatSubmissionEmailThreatSubmissionPoliciesRequestBuilder) WithUrl(rawUrl string)(*ThreatSubmissionEmailThreatSubmissionPoliciesRequestBuilder) { + return NewThreatSubmissionEmailThreatSubmissionPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_submission_email_threats_count_request_builder.go b/security/threat_submission_email_threats_count_request_builder.go index 97d571769a0..8a0ff0f8626 100644 --- a/security/threat_submission_email_threats_count_request_builder.go +++ b/security/threat_submission_email_threats_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatSubmissionEmailThreatsCountRequestBuilder) 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 *ThreatSubmissionEmailThreatsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatSubmissionEmailThreatsCountRequestBuilder) { + return NewThreatSubmissionEmailThreatsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_submission_email_threats_email_threat_submission_item_request_builder.go b/security/threat_submission_email_threats_email_threat_submission_item_request_builder.go index b143c4f5b3e..a334eff8027 100644 --- a/security/threat_submission_email_threats_email_threat_submission_item_request_builder.go +++ b/security/threat_submission_email_threats_email_threat_submission_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ThreatSubmissionEmailThreatsEmailThreatSubmissionItemRequestBuilder) To } 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 *ThreatSubmissionEmailThreatsEmailThreatSubmissionItemRequestBuilder) WithUrl(rawUrl string)(*ThreatSubmissionEmailThreatsEmailThreatSubmissionItemRequestBuilder) { + return NewThreatSubmissionEmailThreatsEmailThreatSubmissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_submission_email_threats_request_builder.go b/security/threat_submission_email_threats_request_builder.go index b308b1c0bfc..3a955c19d9d 100644 --- a/security/threat_submission_email_threats_request_builder.go +++ b/security/threat_submission_email_threats_request_builder.go @@ -46,8 +46,8 @@ type ThreatSubmissionEmailThreatsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEmailThreatSubmissionIdString provides operations to manage the emailThreats property of the microsoft.graph.security.threatSubmissionRoot entity. -func (m *ThreatSubmissionEmailThreatsRequestBuilder) ByEmailThreatSubmissionIdString(emailThreatSubmissionId string)(*ThreatSubmissionEmailThreatsEmailThreatSubmissionItemRequestBuilder) { +// ByEmailThreatSubmissionId provides operations to manage the emailThreats property of the microsoft.graph.security.threatSubmissionRoot entity. +func (m *ThreatSubmissionEmailThreatsRequestBuilder) ByEmailThreatSubmissionId(emailThreatSubmissionId string)(*ThreatSubmissionEmailThreatsEmailThreatSubmissionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ThreatSubmissionEmailThreatsRequestBuilder) 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 *ThreatSubmissionEmailThreatsRequestBuilder) WithUrl(rawUrl string)(*ThreatSubmissionEmailThreatsRequestBuilder) { + return NewThreatSubmissionEmailThreatsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_submission_file_threats_count_request_builder.go b/security/threat_submission_file_threats_count_request_builder.go index 3c8142671db..94f45f958f5 100644 --- a/security/threat_submission_file_threats_count_request_builder.go +++ b/security/threat_submission_file_threats_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatSubmissionFileThreatsCountRequestBuilder) 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 *ThreatSubmissionFileThreatsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatSubmissionFileThreatsCountRequestBuilder) { + return NewThreatSubmissionFileThreatsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_submission_file_threats_file_threat_submission_item_request_builder.go b/security/threat_submission_file_threats_file_threat_submission_item_request_builder.go index 279122e4e48..baa12aafd21 100644 --- a/security/threat_submission_file_threats_file_threat_submission_item_request_builder.go +++ b/security/threat_submission_file_threats_file_threat_submission_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ThreatSubmissionFileThreatsFileThreatSubmissionItemRequestBuilder) ToPa } 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 *ThreatSubmissionFileThreatsFileThreatSubmissionItemRequestBuilder) WithUrl(rawUrl string)(*ThreatSubmissionFileThreatsFileThreatSubmissionItemRequestBuilder) { + return NewThreatSubmissionFileThreatsFileThreatSubmissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_submission_file_threats_request_builder.go b/security/threat_submission_file_threats_request_builder.go index 9b48168cc07..42271ff333c 100644 --- a/security/threat_submission_file_threats_request_builder.go +++ b/security/threat_submission_file_threats_request_builder.go @@ -46,8 +46,8 @@ type ThreatSubmissionFileThreatsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByFileThreatSubmissionIdString provides operations to manage the fileThreats property of the microsoft.graph.security.threatSubmissionRoot entity. -func (m *ThreatSubmissionFileThreatsRequestBuilder) ByFileThreatSubmissionIdString(fileThreatSubmissionId string)(*ThreatSubmissionFileThreatsFileThreatSubmissionItemRequestBuilder) { +// ByFileThreatSubmissionId provides operations to manage the fileThreats property of the microsoft.graph.security.threatSubmissionRoot entity. +func (m *ThreatSubmissionFileThreatsRequestBuilder) ByFileThreatSubmissionId(fileThreatSubmissionId string)(*ThreatSubmissionFileThreatsFileThreatSubmissionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ThreatSubmissionFileThreatsRequestBuilder) 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 *ThreatSubmissionFileThreatsRequestBuilder) WithUrl(rawUrl string)(*ThreatSubmissionFileThreatsRequestBuilder) { + return NewThreatSubmissionFileThreatsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_submission_request_builder.go b/security/threat_submission_request_builder.go index 7a2569d49d8..5147759b42f 100644 --- a/security/threat_submission_request_builder.go +++ b/security/threat_submission_request_builder.go @@ -169,3 +169,7 @@ func (m *ThreatSubmissionRequestBuilder) ToPatchRequestInformation(ctx context.C func (m *ThreatSubmissionRequestBuilder) UrlThreats()(*ThreatSubmissionUrlThreatsRequestBuilder) { return NewThreatSubmissionUrlThreatsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ThreatSubmissionRequestBuilder) WithUrl(rawUrl string)(*ThreatSubmissionRequestBuilder) { + return NewThreatSubmissionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_submission_url_threats_count_request_builder.go b/security/threat_submission_url_threats_count_request_builder.go index a6b3583cd2f..79bd443c416 100644 --- a/security/threat_submission_url_threats_count_request_builder.go +++ b/security/threat_submission_url_threats_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ThreatSubmissionUrlThreatsCountRequestBuilder) 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 *ThreatSubmissionUrlThreatsCountRequestBuilder) WithUrl(rawUrl string)(*ThreatSubmissionUrlThreatsCountRequestBuilder) { + return NewThreatSubmissionUrlThreatsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_submission_url_threats_request_builder.go b/security/threat_submission_url_threats_request_builder.go index 4557adf1889..3245eef756f 100644 --- a/security/threat_submission_url_threats_request_builder.go +++ b/security/threat_submission_url_threats_request_builder.go @@ -46,8 +46,8 @@ type ThreatSubmissionUrlThreatsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUrlThreatSubmissionIdString provides operations to manage the urlThreats property of the microsoft.graph.security.threatSubmissionRoot entity. -func (m *ThreatSubmissionUrlThreatsRequestBuilder) ByUrlThreatSubmissionIdString(urlThreatSubmissionId string)(*ThreatSubmissionUrlThreatsUrlThreatSubmissionItemRequestBuilder) { +// ByUrlThreatSubmissionId provides operations to manage the urlThreats property of the microsoft.graph.security.threatSubmissionRoot entity. +func (m *ThreatSubmissionUrlThreatsRequestBuilder) ByUrlThreatSubmissionId(urlThreatSubmissionId string)(*ThreatSubmissionUrlThreatsUrlThreatSubmissionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ThreatSubmissionUrlThreatsRequestBuilder) 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 *ThreatSubmissionUrlThreatsRequestBuilder) WithUrl(rawUrl string)(*ThreatSubmissionUrlThreatsRequestBuilder) { + return NewThreatSubmissionUrlThreatsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/threat_submission_url_threats_url_threat_submission_item_request_builder.go b/security/threat_submission_url_threats_url_threat_submission_item_request_builder.go index 9029e9ea077..667b3aedef2 100644 --- a/security/threat_submission_url_threats_url_threat_submission_item_request_builder.go +++ b/security/threat_submission_url_threats_url_threat_submission_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ThreatSubmissionUrlThreatsUrlThreatSubmissionItemRequestBuilder) ToPatc } 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 *ThreatSubmissionUrlThreatsUrlThreatSubmissionItemRequestBuilder) WithUrl(rawUrl string)(*ThreatSubmissionUrlThreatsUrlThreatSubmissionItemRequestBuilder) { + return NewThreatSubmissionUrlThreatsUrlThreatSubmissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/ti_indicators_count_request_builder.go b/security/ti_indicators_count_request_builder.go index f1b49b12901..6bcc9d98c44 100644 --- a/security/ti_indicators_count_request_builder.go +++ b/security/ti_indicators_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TiIndicatorsCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *TiIndicatorsCountRequestBuilder) WithUrl(rawUrl string)(*TiIndicatorsCountRequestBuilder) { + return NewTiIndicatorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/ti_indicators_delete_ti_indicators_by_external_id_request_builder.go b/security/ti_indicators_delete_ti_indicators_by_external_id_request_builder.go index da7afb800c4..ea3deab50e6 100644 --- a/security/ti_indicators_delete_ti_indicators_by_external_id_request_builder.go +++ b/security/ti_indicators_delete_ti_indicators_by_external_id_request_builder.go @@ -69,3 +69,7 @@ func (m *TiIndicatorsDeleteTiIndicatorsByExternalIdRequestBuilder) ToPostRequest } 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 *TiIndicatorsDeleteTiIndicatorsByExternalIdRequestBuilder) WithUrl(rawUrl string)(*TiIndicatorsDeleteTiIndicatorsByExternalIdRequestBuilder) { + return NewTiIndicatorsDeleteTiIndicatorsByExternalIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/ti_indicators_delete_ti_indicators_request_builder.go b/security/ti_indicators_delete_ti_indicators_request_builder.go index c6d32cd9bb4..8ef5d41a34d 100644 --- a/security/ti_indicators_delete_ti_indicators_request_builder.go +++ b/security/ti_indicators_delete_ti_indicators_request_builder.go @@ -69,3 +69,7 @@ func (m *TiIndicatorsDeleteTiIndicatorsRequestBuilder) 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 *TiIndicatorsDeleteTiIndicatorsRequestBuilder) WithUrl(rawUrl string)(*TiIndicatorsDeleteTiIndicatorsRequestBuilder) { + return NewTiIndicatorsDeleteTiIndicatorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/ti_indicators_request_builder.go b/security/ti_indicators_request_builder.go index 955d5f857d3..02297e1a954 100644 --- a/security/ti_indicators_request_builder.go +++ b/security/ti_indicators_request_builder.go @@ -46,8 +46,8 @@ type TiIndicatorsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTiIndicatorIdString provides operations to manage the tiIndicators property of the microsoft.graph.security entity. -func (m *TiIndicatorsRequestBuilder) ByTiIndicatorIdString(tiIndicatorId string)(*TiIndicatorsTiIndicatorItemRequestBuilder) { +// ByTiIndicatorId provides operations to manage the tiIndicators property of the microsoft.graph.security entity. +func (m *TiIndicatorsRequestBuilder) ByTiIndicatorId(tiIndicatorId string)(*TiIndicatorsTiIndicatorItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -167,3 +167,7 @@ func (m *TiIndicatorsRequestBuilder) ToPostRequestInformation(ctx context.Contex func (m *TiIndicatorsRequestBuilder) UpdateTiIndicators()(*TiIndicatorsUpdateTiIndicatorsRequestBuilder) { return NewTiIndicatorsUpdateTiIndicatorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *TiIndicatorsRequestBuilder) WithUrl(rawUrl string)(*TiIndicatorsRequestBuilder) { + return NewTiIndicatorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/ti_indicators_submit_ti_indicators_request_builder.go b/security/ti_indicators_submit_ti_indicators_request_builder.go index 676bdccca17..3308e4910e7 100644 --- a/security/ti_indicators_submit_ti_indicators_request_builder.go +++ b/security/ti_indicators_submit_ti_indicators_request_builder.go @@ -69,3 +69,7 @@ func (m *TiIndicatorsSubmitTiIndicatorsRequestBuilder) 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 *TiIndicatorsSubmitTiIndicatorsRequestBuilder) WithUrl(rawUrl string)(*TiIndicatorsSubmitTiIndicatorsRequestBuilder) { + return NewTiIndicatorsSubmitTiIndicatorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/ti_indicators_ti_indicator_item_request_builder.go b/security/ti_indicators_ti_indicator_item_request_builder.go index 221a76877f3..4b82d92221b 100644 --- a/security/ti_indicators_ti_indicator_item_request_builder.go +++ b/security/ti_indicators_ti_indicator_item_request_builder.go @@ -162,3 +162,7 @@ func (m *TiIndicatorsTiIndicatorItemRequestBuilder) ToPatchRequestInformation(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 *TiIndicatorsTiIndicatorItemRequestBuilder) WithUrl(rawUrl string)(*TiIndicatorsTiIndicatorItemRequestBuilder) { + return NewTiIndicatorsTiIndicatorItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/ti_indicators_update_ti_indicators_request_builder.go b/security/ti_indicators_update_ti_indicators_request_builder.go index ac832f8db26..0e559098978 100644 --- a/security/ti_indicators_update_ti_indicators_request_builder.go +++ b/security/ti_indicators_update_ti_indicators_request_builder.go @@ -69,3 +69,7 @@ func (m *TiIndicatorsUpdateTiIndicatorsRequestBuilder) 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 *TiIndicatorsUpdateTiIndicatorsRequestBuilder) WithUrl(rawUrl string)(*TiIndicatorsUpdateTiIndicatorsRequestBuilder) { + return NewTiIndicatorsUpdateTiIndicatorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/trigger_types_request_builder.go b/security/trigger_types_request_builder.go index 28304b295ef..9c39021f26b 100644 --- a/security/trigger_types_request_builder.go +++ b/security/trigger_types_request_builder.go @@ -157,3 +157,7 @@ func (m *TriggerTypesRequestBuilder) ToPatchRequestInformation(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 *TriggerTypesRequestBuilder) WithUrl(rawUrl string)(*TriggerTypesRequestBuilder) { + return NewTriggerTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/trigger_types_retention_event_types_count_request_builder.go b/security/trigger_types_retention_event_types_count_request_builder.go index b47b90ae62a..6b01f5d6153 100644 --- a/security/trigger_types_retention_event_types_count_request_builder.go +++ b/security/trigger_types_retention_event_types_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TriggerTypesRetentionEventTypesCountRequestBuilder) ToGetRequestInforma } 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 *TriggerTypesRetentionEventTypesCountRequestBuilder) WithUrl(rawUrl string)(*TriggerTypesRetentionEventTypesCountRequestBuilder) { + return NewTriggerTypesRetentionEventTypesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/trigger_types_retention_event_types_request_builder.go b/security/trigger_types_retention_event_types_request_builder.go index ebe2317cfcd..bd92564a87b 100644 --- a/security/trigger_types_retention_event_types_request_builder.go +++ b/security/trigger_types_retention_event_types_request_builder.go @@ -46,8 +46,8 @@ type TriggerTypesRetentionEventTypesRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRetentionEventTypeIdString provides operations to manage the retentionEventTypes property of the microsoft.graph.security.triggerTypesRoot entity. -func (m *TriggerTypesRetentionEventTypesRequestBuilder) ByRetentionEventTypeIdString(retentionEventTypeId string)(*TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilder) { +// ByRetentionEventTypeId provides operations to manage the retentionEventTypes property of the microsoft.graph.security.triggerTypesRoot entity. +func (m *TriggerTypesRetentionEventTypesRequestBuilder) ByRetentionEventTypeId(retentionEventTypeId string)(*TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *TriggerTypesRetentionEventTypesRequestBuilder) 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 *TriggerTypesRetentionEventTypesRequestBuilder) WithUrl(rawUrl string)(*TriggerTypesRetentionEventTypesRequestBuilder) { + return NewTriggerTypesRetentionEventTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/trigger_types_retention_event_types_retention_event_type_item_request_builder.go b/security/trigger_types_retention_event_types_retention_event_type_item_request_builder.go index 7df5b44067b..e164827888a 100644 --- a/security/trigger_types_retention_event_types_retention_event_type_item_request_builder.go +++ b/security/trigger_types_retention_event_types_retention_event_type_item_request_builder.go @@ -159,3 +159,7 @@ func (m *TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilder) To } 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 *TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilder) WithUrl(rawUrl string)(*TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilder) { + return NewTriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/triggers_request_builder.go b/security/triggers_request_builder.go index c7e94e0e213..24ecc143f62 100644 --- a/security/triggers_request_builder.go +++ b/security/triggers_request_builder.go @@ -157,3 +157,7 @@ func (m *TriggersRequestBuilder) ToPatchRequestInformation(ctx context.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 *TriggersRequestBuilder) WithUrl(rawUrl string)(*TriggersRequestBuilder) { + return NewTriggersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/triggers_retention_events_count_request_builder.go b/security/triggers_retention_events_count_request_builder.go index 6adb2cf6c0f..97c225484ea 100644 --- a/security/triggers_retention_events_count_request_builder.go +++ b/security/triggers_retention_events_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TriggersRetentionEventsCountRequestBuilder) ToGetRequestInformation(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 *TriggersRetentionEventsCountRequestBuilder) WithUrl(rawUrl string)(*TriggersRetentionEventsCountRequestBuilder) { + return NewTriggersRetentionEventsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/triggers_retention_events_item_retention_event_type_request_builder.go b/security/triggers_retention_events_item_retention_event_type_request_builder.go index 58a0a807692..cc4885413e7 100644 --- a/security/triggers_retention_events_item_retention_event_type_request_builder.go +++ b/security/triggers_retention_events_item_retention_event_type_request_builder.go @@ -75,3 +75,7 @@ func (m *TriggersRetentionEventsItemRetentionEventTypeRequestBuilder) ToGetReque } 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 *TriggersRetentionEventsItemRetentionEventTypeRequestBuilder) WithUrl(rawUrl string)(*TriggersRetentionEventsItemRetentionEventTypeRequestBuilder) { + return NewTriggersRetentionEventsItemRetentionEventTypeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/triggers_retention_events_request_builder.go b/security/triggers_retention_events_request_builder.go index 3355318f3c1..48d3c07aec9 100644 --- a/security/triggers_retention_events_request_builder.go +++ b/security/triggers_retention_events_request_builder.go @@ -46,8 +46,8 @@ type TriggersRetentionEventsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRetentionEventIdString provides operations to manage the retentionEvents property of the microsoft.graph.security.triggersRoot entity. -func (m *TriggersRetentionEventsRequestBuilder) ByRetentionEventIdString(retentionEventId string)(*TriggersRetentionEventsRetentionEventItemRequestBuilder) { +// ByRetentionEventId provides operations to manage the retentionEvents property of the microsoft.graph.security.triggersRoot entity. +func (m *TriggersRetentionEventsRequestBuilder) ByRetentionEventId(retentionEventId string)(*TriggersRetentionEventsRetentionEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *TriggersRetentionEventsRequestBuilder) ToPostRequestInformation(ctx con } 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 *TriggersRetentionEventsRequestBuilder) WithUrl(rawUrl string)(*TriggersRetentionEventsRequestBuilder) { + return NewTriggersRetentionEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/triggers_retention_events_retention_event_item_request_builder.go b/security/triggers_retention_events_retention_event_item_request_builder.go index 6185e52e097..1c8d7cbd710 100644 --- a/security/triggers_retention_events_retention_event_item_request_builder.go +++ b/security/triggers_retention_events_retention_event_item_request_builder.go @@ -163,3 +163,7 @@ func (m *TriggersRetentionEventsRetentionEventItemRequestBuilder) ToPatchRequest } 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 *TriggersRetentionEventsRetentionEventItemRequestBuilder) WithUrl(rawUrl string)(*TriggersRetentionEventsRetentionEventItemRequestBuilder) { + return NewTriggersRetentionEventsRetentionEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/user_security_profiles_count_request_builder.go b/security/user_security_profiles_count_request_builder.go index 1df88da777c..a4af995e4c1 100644 --- a/security/user_security_profiles_count_request_builder.go +++ b/security/user_security_profiles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UserSecurityProfilesCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *UserSecurityProfilesCountRequestBuilder) WithUrl(rawUrl string)(*UserSecurityProfilesCountRequestBuilder) { + return NewUserSecurityProfilesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/user_security_profiles_request_builder.go b/security/user_security_profiles_request_builder.go index 0448f330835..7e9a86a0efa 100644 --- a/security/user_security_profiles_request_builder.go +++ b/security/user_security_profiles_request_builder.go @@ -46,8 +46,8 @@ type UserSecurityProfilesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserSecurityProfileIdString provides operations to manage the userSecurityProfiles property of the microsoft.graph.security entity. -func (m *UserSecurityProfilesRequestBuilder) ByUserSecurityProfileIdString(userSecurityProfileId string)(*UserSecurityProfilesUserSecurityProfileItemRequestBuilder) { +// ByUserSecurityProfileId provides operations to manage the userSecurityProfiles property of the microsoft.graph.security entity. +func (m *UserSecurityProfilesRequestBuilder) ByUserSecurityProfileId(userSecurityProfileId string)(*UserSecurityProfilesUserSecurityProfileItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *UserSecurityProfilesRequestBuilder) ToPostRequestInformation(ctx contex } 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 *UserSecurityProfilesRequestBuilder) WithUrl(rawUrl string)(*UserSecurityProfilesRequestBuilder) { + return NewUserSecurityProfilesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/user_security_profiles_user_security_profile_item_request_builder.go b/security/user_security_profiles_user_security_profile_item_request_builder.go index f7754785249..dc7026c0fbc 100644 --- a/security/user_security_profiles_user_security_profile_item_request_builder.go +++ b/security/user_security_profiles_user_security_profile_item_request_builder.go @@ -153,3 +153,7 @@ func (m *UserSecurityProfilesUserSecurityProfileItemRequestBuilder) ToPatchReque } 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 *UserSecurityProfilesUserSecurityProfileItemRequestBuilder) WithUrl(rawUrl string)(*UserSecurityProfilesUserSecurityProfileItemRequestBuilder) { + return NewUserSecurityProfilesUserSecurityProfileItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/count_request_builder.go b/serviceprincipals/count_request_builder.go index 85d99751189..99d581e163e 100644 --- a/serviceprincipals/count_request_builder.go +++ b/serviceprincipals/count_request_builder.go @@ -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); +} diff --git a/serviceprincipals/delta_request_builder.go b/serviceprincipals/delta_request_builder.go index c1260e108cd..d3c5b66301f 100644 --- a/serviceprincipals/delta_request_builder.go +++ b/serviceprincipals/delta_request_builder.go @@ -84,3 +84,7 @@ func (m *DeltaRequestBuilder) 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 *DeltaRequestBuilder) WithUrl(rawUrl string)(*DeltaRequestBuilder) { + return NewDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/get_by_ids_request_builder.go b/serviceprincipals/get_by_ids_request_builder.go index 31cf940f96c..ba00efe7beb 100644 --- a/serviceprincipals/get_by_ids_request_builder.go +++ b/serviceprincipals/get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *GetByIdsRequestBuilder) WithUrl(rawUrl string)(*GetByIdsRequestBuilder) { + return NewGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/get_user_owned_objects_request_builder.go b/serviceprincipals/get_user_owned_objects_request_builder.go index 27e09a4547c..e50f72de0b7 100644 --- a/serviceprincipals/get_user_owned_objects_request_builder.go +++ b/serviceprincipals/get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) 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 *GetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*GetUserOwnedObjectsRequestBuilder) { + return NewGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_add_token_signing_certificate_request_builder.go b/serviceprincipals/item_add_token_signing_certificate_request_builder.go index 0589c882067..52432d2feeb 100644 --- a/serviceprincipals/item_add_token_signing_certificate_request_builder.go +++ b/serviceprincipals/item_add_token_signing_certificate_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemAddTokenSigningCertificateRequestBuilder) 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 *ItemAddTokenSigningCertificateRequestBuilder) WithUrl(rawUrl string)(*ItemAddTokenSigningCertificateRequestBuilder) { + return NewItemAddTokenSigningCertificateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_app_management_policies_app_management_policy_item_request_builder.go b/serviceprincipals/item_app_management_policies_app_management_policy_item_request_builder.go index 6ee4cfd3c38..b9b0b4041f7 100644 --- a/serviceprincipals/item_app_management_policies_app_management_policy_item_request_builder.go +++ b/serviceprincipals/item_app_management_policies_app_management_policy_item_request_builder.go @@ -113,3 +113,7 @@ func (m *ItemAppManagementPoliciesAppManagementPolicyItemRequestBuilder) ToGetRe } 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 *ItemAppManagementPoliciesAppManagementPolicyItemRequestBuilder) WithUrl(rawUrl string)(*ItemAppManagementPoliciesAppManagementPolicyItemRequestBuilder) { + return NewItemAppManagementPoliciesAppManagementPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_app_management_policies_count_request_builder.go b/serviceprincipals/item_app_management_policies_count_request_builder.go index 69d786f232a..207e410dff0 100644 --- a/serviceprincipals/item_app_management_policies_count_request_builder.go +++ b/serviceprincipals/item_app_management_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAppManagementPoliciesCountRequestBuilder) ToGetRequestInformation(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 *ItemAppManagementPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ItemAppManagementPoliciesCountRequestBuilder) { + return NewItemAppManagementPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_app_management_policies_request_builder.go b/serviceprincipals/item_app_management_policies_request_builder.go index 7ca91cd2eb1..8d8b7d9f35e 100644 --- a/serviceprincipals/item_app_management_policies_request_builder.go +++ b/serviceprincipals/item_app_management_policies_request_builder.go @@ -39,8 +39,8 @@ type ItemAppManagementPoliciesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemAppManagementPoliciesRequestBuilderGetQueryParameters } -// ByAppManagementPolicyIdString provides operations to manage the appManagementPolicies property of the microsoft.graph.servicePrincipal entity. -func (m *ItemAppManagementPoliciesRequestBuilder) ByAppManagementPolicyIdString(appManagementPolicyId string)(*ItemAppManagementPoliciesAppManagementPolicyItemRequestBuilder) { +// ByAppManagementPolicyId provides operations to manage the appManagementPolicies property of the microsoft.graph.servicePrincipal entity. +func (m *ItemAppManagementPoliciesRequestBuilder) ByAppManagementPolicyId(appManagementPolicyId string)(*ItemAppManagementPoliciesAppManagementPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemAppManagementPoliciesRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemAppManagementPoliciesRequestBuilder) WithUrl(rawUrl string)(*ItemAppManagementPoliciesRequestBuilder) { + return NewItemAppManagementPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_app_role_assigned_to_app_role_assignment_item_request_builder.go b/serviceprincipals/item_app_role_assigned_to_app_role_assignment_item_request_builder.go index 39f76a23b93..eca1cd5ae7d 100644 --- a/serviceprincipals/item_app_role_assigned_to_app_role_assignment_item_request_builder.go +++ b/serviceprincipals/item_app_role_assigned_to_app_role_assignment_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemAppRoleAssignedToAppRoleAssignmentItemRequestBuilder) ToPatchReques } 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 *ItemAppRoleAssignedToAppRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemAppRoleAssignedToAppRoleAssignmentItemRequestBuilder) { + return NewItemAppRoleAssignedToAppRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_app_role_assigned_to_count_request_builder.go b/serviceprincipals/item_app_role_assigned_to_count_request_builder.go index b8f6cf68bc7..68a40a26621 100644 --- a/serviceprincipals/item_app_role_assigned_to_count_request_builder.go +++ b/serviceprincipals/item_app_role_assigned_to_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAppRoleAssignedToCountRequestBuilder) ToGetRequestInformation(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 *ItemAppRoleAssignedToCountRequestBuilder) WithUrl(rawUrl string)(*ItemAppRoleAssignedToCountRequestBuilder) { + return NewItemAppRoleAssignedToCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_app_role_assigned_to_request_builder.go b/serviceprincipals/item_app_role_assigned_to_request_builder.go index 6f8b4b44c25..08c0fa5b95b 100644 --- a/serviceprincipals/item_app_role_assigned_to_request_builder.go +++ b/serviceprincipals/item_app_role_assigned_to_request_builder.go @@ -46,8 +46,8 @@ type ItemAppRoleAssignedToRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAppRoleAssignmentIdString provides operations to manage the appRoleAssignedTo property of the microsoft.graph.servicePrincipal entity. -func (m *ItemAppRoleAssignedToRequestBuilder) ByAppRoleAssignmentIdString(appRoleAssignmentId string)(*ItemAppRoleAssignedToAppRoleAssignmentItemRequestBuilder) { +// ByAppRoleAssignmentId provides operations to manage the appRoleAssignedTo property of the microsoft.graph.servicePrincipal entity. +func (m *ItemAppRoleAssignedToRequestBuilder) ByAppRoleAssignmentId(appRoleAssignmentId string)(*ItemAppRoleAssignedToAppRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemAppRoleAssignedToRequestBuilder) 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 *ItemAppRoleAssignedToRequestBuilder) WithUrl(rawUrl string)(*ItemAppRoleAssignedToRequestBuilder) { + return NewItemAppRoleAssignedToRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_app_role_assignments_app_role_assignment_item_request_builder.go b/serviceprincipals/item_app_role_assignments_app_role_assignment_item_request_builder.go index 4f50d3d7a64..d8f653f4685 100644 --- a/serviceprincipals/item_app_role_assignments_app_role_assignment_item_request_builder.go +++ b/serviceprincipals/item_app_role_assignments_app_role_assignment_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) ToPatchReque } 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 *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) { + return NewItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_app_role_assignments_count_request_builder.go b/serviceprincipals/item_app_role_assignments_count_request_builder.go index 3a5da6d4cb0..0ddd37168dd 100644 --- a/serviceprincipals/item_app_role_assignments_count_request_builder.go +++ b/serviceprincipals/item_app_role_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAppRoleAssignmentsCountRequestBuilder) ToGetRequestInformation(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 *ItemAppRoleAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAppRoleAssignmentsCountRequestBuilder) { + return NewItemAppRoleAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_app_role_assignments_request_builder.go b/serviceprincipals/item_app_role_assignments_request_builder.go index 7c98c02699f..d1a6722a2b1 100644 --- a/serviceprincipals/item_app_role_assignments_request_builder.go +++ b/serviceprincipals/item_app_role_assignments_request_builder.go @@ -46,8 +46,8 @@ type ItemAppRoleAssignmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAppRoleAssignmentIdString provides operations to manage the appRoleAssignments property of the microsoft.graph.servicePrincipal entity. -func (m *ItemAppRoleAssignmentsRequestBuilder) ByAppRoleAssignmentIdString(appRoleAssignmentId string)(*ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) { +// ByAppRoleAssignmentId provides operations to manage the appRoleAssignments property of the microsoft.graph.servicePrincipal entity. +func (m *ItemAppRoleAssignmentsRequestBuilder) ByAppRoleAssignmentId(appRoleAssignmentId string)(*ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemAppRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemAppRoleAssignmentsRequestBuilder) WithUrl(rawUrl string)(*ItemAppRoleAssignmentsRequestBuilder) { + return NewItemAppRoleAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_check_member_groups_request_builder.go b/serviceprincipals/item_check_member_groups_request_builder.go index 3f057da0c48..c58bc669864 100644 --- a/serviceprincipals/item_check_member_groups_request_builder.go +++ b/serviceprincipals/item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) 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 *ItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberGroupsRequestBuilder) { + return NewItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_check_member_objects_request_builder.go b/serviceprincipals/item_check_member_objects_request_builder.go index 6164c9f0776..b8f07afd681 100644 --- a/serviceprincipals/item_check_member_objects_request_builder.go +++ b/serviceprincipals/item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberObjectsRequestBuilder) { + return NewItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_claims_mapping_policies_count_request_builder.go b/serviceprincipals/item_claims_mapping_policies_count_request_builder.go index 83dd60d26f1..9dec4041db7 100644 --- a/serviceprincipals/item_claims_mapping_policies_count_request_builder.go +++ b/serviceprincipals/item_claims_mapping_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemClaimsMappingPoliciesCountRequestBuilder) ToGetRequestInformation(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 *ItemClaimsMappingPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ItemClaimsMappingPoliciesCountRequestBuilder) { + return NewItemClaimsMappingPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_claims_mapping_policies_item_ref_request_builder.go b/serviceprincipals/item_claims_mapping_policies_item_ref_request_builder.go index 2941cb1a859..9b1dfeee8f0 100644 --- a/serviceprincipals/item_claims_mapping_policies_item_ref_request_builder.go +++ b/serviceprincipals/item_claims_mapping_policies_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *ItemClaimsMappingPoliciesItemRefRequestBuilder) ToDeleteRequestInformat } 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 *ItemClaimsMappingPoliciesItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemClaimsMappingPoliciesItemRefRequestBuilder) { + return NewItemClaimsMappingPoliciesItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_claims_mapping_policies_ref_request_builder.go b/serviceprincipals/item_claims_mapping_policies_ref_request_builder.go index 2141a6436e3..f5ee19e34fc 100644 --- a/serviceprincipals/item_claims_mapping_policies_ref_request_builder.go +++ b/serviceprincipals/item_claims_mapping_policies_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *ItemClaimsMappingPoliciesRefRequestBuilder) 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 *ItemClaimsMappingPoliciesRefRequestBuilder) WithUrl(rawUrl string)(*ItemClaimsMappingPoliciesRefRequestBuilder) { + return NewItemClaimsMappingPoliciesRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_claims_mapping_policies_request_builder.go b/serviceprincipals/item_claims_mapping_policies_request_builder.go index 67ec165f408..ab9d0ac72a3 100644 --- a/serviceprincipals/item_claims_mapping_policies_request_builder.go +++ b/serviceprincipals/item_claims_mapping_policies_request_builder.go @@ -39,8 +39,8 @@ type ItemClaimsMappingPoliciesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemClaimsMappingPoliciesRequestBuilderGetQueryParameters } -// ByClaimsMappingPolicyIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.servicePrincipals.item.claimsMappingPolicies.item collection -func (m *ItemClaimsMappingPoliciesRequestBuilder) ByClaimsMappingPolicyIdString(claimsMappingPolicyId string)(*ItemClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder) { +// ByClaimsMappingPolicyId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.servicePrincipals.item.claimsMappingPolicies.item collection +func (m *ItemClaimsMappingPoliciesRequestBuilder) ByClaimsMappingPolicyId(claimsMappingPolicyId string)(*ItemClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemClaimsMappingPoliciesRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemClaimsMappingPoliciesRequestBuilder) WithUrl(rawUrl string)(*ItemClaimsMappingPoliciesRequestBuilder) { + return NewItemClaimsMappingPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_create_password_single_sign_on_credentials_request_builder.go b/serviceprincipals/item_create_password_single_sign_on_credentials_request_builder.go index 2b984461b44..0e9a6595b01 100644 --- a/serviceprincipals/item_create_password_single_sign_on_credentials_request_builder.go +++ b/serviceprincipals/item_create_password_single_sign_on_credentials_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemCreatePasswordSingleSignOnCredentialsRequestBuilder) ToPostRequestI } 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 *ItemCreatePasswordSingleSignOnCredentialsRequestBuilder) WithUrl(rawUrl string)(*ItemCreatePasswordSingleSignOnCredentialsRequestBuilder) { + return NewItemCreatePasswordSingleSignOnCredentialsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_created_objects_count_request_builder.go b/serviceprincipals/item_created_objects_count_request_builder.go index 59793def656..58c6998baa1 100644 --- a/serviceprincipals/item_created_objects_count_request_builder.go +++ b/serviceprincipals/item_created_objects_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemCreatedObjectsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemCreatedObjectsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCreatedObjectsCountRequestBuilder) { + return NewItemCreatedObjectsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_created_objects_directory_object_item_request_builder.go b/serviceprincipals/item_created_objects_directory_object_item_request_builder.go index dea76ca3c74..3b2a4628779 100644 --- a/serviceprincipals/item_created_objects_directory_object_item_request_builder.go +++ b/serviceprincipals/item_created_objects_directory_object_item_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemCreatedObjectsDirectoryObjectItemRequestBuilder) ToGetRequestInform } 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 *ItemCreatedObjectsDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemCreatedObjectsDirectoryObjectItemRequestBuilder) { + return NewItemCreatedObjectsDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_created_objects_graph_service_principal_count_request_builder.go b/serviceprincipals/item_created_objects_graph_service_principal_count_request_builder.go index a32330e5a6a..0207cfa0825 100644 --- a/serviceprincipals/item_created_objects_graph_service_principal_count_request_builder.go +++ b/serviceprincipals/item_created_objects_graph_service_principal_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemCreatedObjectsGraphServicePrincipalCountRequestBuilder) ToGetReques } 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 *ItemCreatedObjectsGraphServicePrincipalCountRequestBuilder) WithUrl(rawUrl string)(*ItemCreatedObjectsGraphServicePrincipalCountRequestBuilder) { + return NewItemCreatedObjectsGraphServicePrincipalCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_created_objects_graph_service_principal_request_builder.go b/serviceprincipals/item_created_objects_graph_service_principal_request_builder.go index 79494f14a4a..81b57dbabe9 100644 --- a/serviceprincipals/item_created_objects_graph_service_principal_request_builder.go +++ b/serviceprincipals/item_created_objects_graph_service_principal_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemCreatedObjectsGraphServicePrincipalRequestBuilder) ToGetRequestInfo } 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 *ItemCreatedObjectsGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemCreatedObjectsGraphServicePrincipalRequestBuilder) { + return NewItemCreatedObjectsGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_created_objects_item_graph_service_principal_request_builder.go b/serviceprincipals/item_created_objects_item_graph_service_principal_request_builder.go index 8d2e35fef26..15990a2988d 100644 --- a/serviceprincipals/item_created_objects_item_graph_service_principal_request_builder.go +++ b/serviceprincipals/item_created_objects_item_graph_service_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemCreatedObjectsItemGraphServicePrincipalRequestBuilder) ToGetRequest } 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 *ItemCreatedObjectsItemGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemCreatedObjectsItemGraphServicePrincipalRequestBuilder) { + return NewItemCreatedObjectsItemGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_created_objects_request_builder.go b/serviceprincipals/item_created_objects_request_builder.go index c64b1a630f3..76bae455d34 100644 --- a/serviceprincipals/item_created_objects_request_builder.go +++ b/serviceprincipals/item_created_objects_request_builder.go @@ -39,8 +39,8 @@ type ItemCreatedObjectsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemCreatedObjectsRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the createdObjects property of the microsoft.graph.servicePrincipal entity. -func (m *ItemCreatedObjectsRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemCreatedObjectsDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the createdObjects property of the microsoft.graph.servicePrincipal entity. +func (m *ItemCreatedObjectsRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemCreatedObjectsDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCreatedObjectsRequestBuilder) 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 *ItemCreatedObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemCreatedObjectsRequestBuilder) { + return NewItemCreatedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_delegated_permission_classifications_count_request_builder.go b/serviceprincipals/item_delegated_permission_classifications_count_request_builder.go index 098b8439335..e4959df5b7e 100644 --- a/serviceprincipals/item_delegated_permission_classifications_count_request_builder.go +++ b/serviceprincipals/item_delegated_permission_classifications_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDelegatedPermissionClassificationsCountRequestBuilder) ToGetRequest } 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 *ItemDelegatedPermissionClassificationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemDelegatedPermissionClassificationsCountRequestBuilder) { + return NewItemDelegatedPermissionClassificationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_delegated_permission_classifications_delegated_permission_classification_item_request_builder.go b/serviceprincipals/item_delegated_permission_classifications_delegated_permission_classification_item_request_builder.go index 945b4aea977..781d7786556 100644 --- a/serviceprincipals/item_delegated_permission_classifications_delegated_permission_classification_item_request_builder.go +++ b/serviceprincipals/item_delegated_permission_classifications_delegated_permission_classification_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemDelegatedPermissionClassificationsDelegatedPermissionClassification } 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 *ItemDelegatedPermissionClassificationsDelegatedPermissionClassificationItemRequestBuilder) WithUrl(rawUrl string)(*ItemDelegatedPermissionClassificationsDelegatedPermissionClassificationItemRequestBuilder) { + return NewItemDelegatedPermissionClassificationsDelegatedPermissionClassificationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_delegated_permission_classifications_request_builder.go b/serviceprincipals/item_delegated_permission_classifications_request_builder.go index 69ad11363e9..cdbe9df7f28 100644 --- a/serviceprincipals/item_delegated_permission_classifications_request_builder.go +++ b/serviceprincipals/item_delegated_permission_classifications_request_builder.go @@ -46,8 +46,8 @@ type ItemDelegatedPermissionClassificationsRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDelegatedPermissionClassificationIdString provides operations to manage the delegatedPermissionClassifications property of the microsoft.graph.servicePrincipal entity. -func (m *ItemDelegatedPermissionClassificationsRequestBuilder) ByDelegatedPermissionClassificationIdString(delegatedPermissionClassificationId string)(*ItemDelegatedPermissionClassificationsDelegatedPermissionClassificationItemRequestBuilder) { +// ByDelegatedPermissionClassificationId provides operations to manage the delegatedPermissionClassifications property of the microsoft.graph.servicePrincipal entity. +func (m *ItemDelegatedPermissionClassificationsRequestBuilder) ByDelegatedPermissionClassificationId(delegatedPermissionClassificationId string)(*ItemDelegatedPermissionClassificationsDelegatedPermissionClassificationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemDelegatedPermissionClassificationsRequestBuilder) ToPostRequestInfo } 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 *ItemDelegatedPermissionClassificationsRequestBuilder) WithUrl(rawUrl string)(*ItemDelegatedPermissionClassificationsRequestBuilder) { + return NewItemDelegatedPermissionClassificationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_delete_password_single_sign_on_credentials_request_builder.go b/serviceprincipals/item_delete_password_single_sign_on_credentials_request_builder.go index e6a8d12fd9d..db0295d2fe7 100644 --- a/serviceprincipals/item_delete_password_single_sign_on_credentials_request_builder.go +++ b/serviceprincipals/item_delete_password_single_sign_on_credentials_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemDeletePasswordSingleSignOnCredentialsRequestBuilder) ToPostRequestI } 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 *ItemDeletePasswordSingleSignOnCredentialsRequestBuilder) WithUrl(rawUrl string)(*ItemDeletePasswordSingleSignOnCredentialsRequestBuilder) { + return NewItemDeletePasswordSingleSignOnCredentialsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_endpoints_count_request_builder.go b/serviceprincipals/item_endpoints_count_request_builder.go index 90e64e32a7d..ba791b21d37 100644 --- a/serviceprincipals/item_endpoints_count_request_builder.go +++ b/serviceprincipals/item_endpoints_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemEndpointsCountRequestBuilder) 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 *ItemEndpointsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEndpointsCountRequestBuilder) { + return NewItemEndpointsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_endpoints_endpoint_item_request_builder.go b/serviceprincipals/item_endpoints_endpoint_item_request_builder.go index 26157e61f58..a1c413cdff4 100644 --- a/serviceprincipals/item_endpoints_endpoint_item_request_builder.go +++ b/serviceprincipals/item_endpoints_endpoint_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemEndpointsEndpointItemRequestBuilder) ToPatchRequestInformation(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 *ItemEndpointsEndpointItemRequestBuilder) WithUrl(rawUrl string)(*ItemEndpointsEndpointItemRequestBuilder) { + return NewItemEndpointsEndpointItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_endpoints_request_builder.go b/serviceprincipals/item_endpoints_request_builder.go index 0ce99517db1..0688994b20c 100644 --- a/serviceprincipals/item_endpoints_request_builder.go +++ b/serviceprincipals/item_endpoints_request_builder.go @@ -46,8 +46,8 @@ type ItemEndpointsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEndpointIdString provides operations to manage the endpoints property of the microsoft.graph.servicePrincipal entity. -func (m *ItemEndpointsRequestBuilder) ByEndpointIdString(endpointId string)(*ItemEndpointsEndpointItemRequestBuilder) { +// ByEndpointId provides operations to manage the endpoints property of the microsoft.graph.servicePrincipal entity. +func (m *ItemEndpointsRequestBuilder) ByEndpointId(endpointId string)(*ItemEndpointsEndpointItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemEndpointsRequestBuilder) 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 *ItemEndpointsRequestBuilder) WithUrl(rawUrl string)(*ItemEndpointsRequestBuilder) { + return NewItemEndpointsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_federated_identity_credentials_count_request_builder.go b/serviceprincipals/item_federated_identity_credentials_count_request_builder.go index fa9adb163cd..aada1d5c70f 100644 --- a/serviceprincipals/item_federated_identity_credentials_count_request_builder.go +++ b/serviceprincipals/item_federated_identity_credentials_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemFederatedIdentityCredentialsCountRequestBuilder) ToGetRequestInform } 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 *ItemFederatedIdentityCredentialsCountRequestBuilder) WithUrl(rawUrl string)(*ItemFederatedIdentityCredentialsCountRequestBuilder) { + return NewItemFederatedIdentityCredentialsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go b/serviceprincipals/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go index 9e14b633a4d..729b1f1f21f 100644 --- a/serviceprincipals/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go +++ b/serviceprincipals/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestB } 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 *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilder) WithUrl(rawUrl string)(*ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilder) { + return NewItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_federated_identity_credentials_request_builder.go b/serviceprincipals/item_federated_identity_credentials_request_builder.go index 38ceb41bd23..18a785fc301 100644 --- a/serviceprincipals/item_federated_identity_credentials_request_builder.go +++ b/serviceprincipals/item_federated_identity_credentials_request_builder.go @@ -46,8 +46,8 @@ type ItemFederatedIdentityCredentialsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByFederatedIdentityCredentialIdString provides operations to manage the federatedIdentityCredentials property of the microsoft.graph.servicePrincipal entity. -func (m *ItemFederatedIdentityCredentialsRequestBuilder) ByFederatedIdentityCredentialIdString(federatedIdentityCredentialId string)(*ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilder) { +// ByFederatedIdentityCredentialId provides operations to manage the federatedIdentityCredentials property of the microsoft.graph.servicePrincipal entity. +func (m *ItemFederatedIdentityCredentialsRequestBuilder) ByFederatedIdentityCredentialId(federatedIdentityCredentialId string)(*ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemFederatedIdentityCredentialsRequestBuilder) ToPostRequestInformatio } 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 *ItemFederatedIdentityCredentialsRequestBuilder) WithUrl(rawUrl string)(*ItemFederatedIdentityCredentialsRequestBuilder) { + return NewItemFederatedIdentityCredentialsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_get_member_groups_request_builder.go b/serviceprincipals/item_get_member_groups_request_builder.go index 9601988a6d7..3a7a39b9709 100644 --- a/serviceprincipals/item_get_member_groups_request_builder.go +++ b/serviceprincipals/item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) 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 *ItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberGroupsRequestBuilder) { + return NewItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_get_member_objects_request_builder.go b/serviceprincipals/item_get_member_objects_request_builder.go index a6a1d271563..b93a32f9254 100644 --- a/serviceprincipals/item_get_member_objects_request_builder.go +++ b/serviceprincipals/item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberObjectsRequestBuilder) { + return NewItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_get_password_single_sign_on_credentials_request_builder.go b/serviceprincipals/item_get_password_single_sign_on_credentials_request_builder.go index 8f962cfbf78..d69a6a325d6 100644 --- a/serviceprincipals/item_get_password_single_sign_on_credentials_request_builder.go +++ b/serviceprincipals/item_get_password_single_sign_on_credentials_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemGetPasswordSingleSignOnCredentialsRequestBuilder) ToPostRequestInfo } 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 *ItemGetPasswordSingleSignOnCredentialsRequestBuilder) WithUrl(rawUrl string)(*ItemGetPasswordSingleSignOnCredentialsRequestBuilder) { + return NewItemGetPasswordSingleSignOnCredentialsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_home_realm_discovery_policies_count_request_builder.go b/serviceprincipals/item_home_realm_discovery_policies_count_request_builder.go index 6576faec806..d400002cbdc 100644 --- a/serviceprincipals/item_home_realm_discovery_policies_count_request_builder.go +++ b/serviceprincipals/item_home_realm_discovery_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemHomeRealmDiscoveryPoliciesCountRequestBuilder) ToGetRequestInformat } 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 *ItemHomeRealmDiscoveryPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ItemHomeRealmDiscoveryPoliciesCountRequestBuilder) { + return NewItemHomeRealmDiscoveryPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_home_realm_discovery_policies_item_ref_request_builder.go b/serviceprincipals/item_home_realm_discovery_policies_item_ref_request_builder.go index ca80649b4ff..4f2f7d75ff9 100644 --- a/serviceprincipals/item_home_realm_discovery_policies_item_ref_request_builder.go +++ b/serviceprincipals/item_home_realm_discovery_policies_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *ItemHomeRealmDiscoveryPoliciesItemRefRequestBuilder) ToDeleteRequestInf } 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 *ItemHomeRealmDiscoveryPoliciesItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemHomeRealmDiscoveryPoliciesItemRefRequestBuilder) { + return NewItemHomeRealmDiscoveryPoliciesItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_home_realm_discovery_policies_ref_request_builder.go b/serviceprincipals/item_home_realm_discovery_policies_ref_request_builder.go index 5b19b083261..5706d2f79db 100644 --- a/serviceprincipals/item_home_realm_discovery_policies_ref_request_builder.go +++ b/serviceprincipals/item_home_realm_discovery_policies_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *ItemHomeRealmDiscoveryPoliciesRefRequestBuilder) ToPostRequestInformati } 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 *ItemHomeRealmDiscoveryPoliciesRefRequestBuilder) WithUrl(rawUrl string)(*ItemHomeRealmDiscoveryPoliciesRefRequestBuilder) { + return NewItemHomeRealmDiscoveryPoliciesRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_home_realm_discovery_policies_request_builder.go b/serviceprincipals/item_home_realm_discovery_policies_request_builder.go index cfbf8f1b6d5..71fdabc018d 100644 --- a/serviceprincipals/item_home_realm_discovery_policies_request_builder.go +++ b/serviceprincipals/item_home_realm_discovery_policies_request_builder.go @@ -39,8 +39,8 @@ type ItemHomeRealmDiscoveryPoliciesRequestBuilderGetRequestConfiguration struct // Request query parameters QueryParameters *ItemHomeRealmDiscoveryPoliciesRequestBuilderGetQueryParameters } -// ByHomeRealmDiscoveryPolicyIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.servicePrincipals.item.homeRealmDiscoveryPolicies.item collection -func (m *ItemHomeRealmDiscoveryPoliciesRequestBuilder) ByHomeRealmDiscoveryPolicyIdString(homeRealmDiscoveryPolicyId string)(*ItemHomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) { +// ByHomeRealmDiscoveryPolicyId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.servicePrincipals.item.homeRealmDiscoveryPolicies.item collection +func (m *ItemHomeRealmDiscoveryPoliciesRequestBuilder) ByHomeRealmDiscoveryPolicyId(homeRealmDiscoveryPolicyId string)(*ItemHomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemHomeRealmDiscoveryPoliciesRequestBuilder) ToGetRequestInformation(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 *ItemHomeRealmDiscoveryPoliciesRequestBuilder) WithUrl(rawUrl string)(*ItemHomeRealmDiscoveryPoliciesRequestBuilder) { + return NewItemHomeRealmDiscoveryPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_license_details_count_request_builder.go b/serviceprincipals/item_license_details_count_request_builder.go index ee083a62e38..c6726abe68f 100644 --- a/serviceprincipals/item_license_details_count_request_builder.go +++ b/serviceprincipals/item_license_details_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemLicenseDetailsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemLicenseDetailsCountRequestBuilder) WithUrl(rawUrl string)(*ItemLicenseDetailsCountRequestBuilder) { + return NewItemLicenseDetailsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_license_details_license_details_item_request_builder.go b/serviceprincipals/item_license_details_license_details_item_request_builder.go index 20b44d9bc63..5a8ec53f488 100644 --- a/serviceprincipals/item_license_details_license_details_item_request_builder.go +++ b/serviceprincipals/item_license_details_license_details_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemLicenseDetailsLicenseDetailsItemRequestBuilder) ToPatchRequestInfor } 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 *ItemLicenseDetailsLicenseDetailsItemRequestBuilder) WithUrl(rawUrl string)(*ItemLicenseDetailsLicenseDetailsItemRequestBuilder) { + return NewItemLicenseDetailsLicenseDetailsItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_license_details_request_builder.go b/serviceprincipals/item_license_details_request_builder.go index 888bbc17e09..d206f33da6e 100644 --- a/serviceprincipals/item_license_details_request_builder.go +++ b/serviceprincipals/item_license_details_request_builder.go @@ -46,8 +46,8 @@ type ItemLicenseDetailsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByLicenseDetailsIdString provides operations to manage the licenseDetails property of the microsoft.graph.servicePrincipal entity. -func (m *ItemLicenseDetailsRequestBuilder) ByLicenseDetailsIdString(licenseDetailsId string)(*ItemLicenseDetailsLicenseDetailsItemRequestBuilder) { +// ByLicenseDetailsId provides operations to manage the licenseDetails property of the microsoft.graph.servicePrincipal entity. +func (m *ItemLicenseDetailsRequestBuilder) ByLicenseDetailsId(licenseDetailsId string)(*ItemLicenseDetailsLicenseDetailsItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemLicenseDetailsRequestBuilder) 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 *ItemLicenseDetailsRequestBuilder) WithUrl(rawUrl string)(*ItemLicenseDetailsRequestBuilder) { + return NewItemLicenseDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_member_of_count_request_builder.go b/serviceprincipals/item_member_of_count_request_builder.go index 5e5164467c1..cc8ca995d6b 100644 --- a/serviceprincipals/item_member_of_count_request_builder.go +++ b/serviceprincipals/item_member_of_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMemberOfCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemMemberOfCountRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfCountRequestBuilder) { + return NewItemMemberOfCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_member_of_directory_object_item_request_builder.go b/serviceprincipals/item_member_of_directory_object_item_request_builder.go index 3395867beb8..4e1c96b911e 100644 --- a/serviceprincipals/item_member_of_directory_object_item_request_builder.go +++ b/serviceprincipals/item_member_of_directory_object_item_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemMemberOfDirectoryObjectItemRequestBuilder) 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 *ItemMemberOfDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfDirectoryObjectItemRequestBuilder) { + return NewItemMemberOfDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_member_of_graph_administrative_unit_count_request_builder.go b/serviceprincipals/item_member_of_graph_administrative_unit_count_request_builder.go index 36e4ed05ab1..dfd44a27f2e 100644 --- a/serviceprincipals/item_member_of_graph_administrative_unit_count_request_builder.go +++ b/serviceprincipals/item_member_of_graph_administrative_unit_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMemberOfGraphAdministrativeUnitCountRequestBuilder) ToGetRequestInf } 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 *ItemMemberOfGraphAdministrativeUnitCountRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphAdministrativeUnitCountRequestBuilder) { + return NewItemMemberOfGraphAdministrativeUnitCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_member_of_graph_administrative_unit_request_builder.go b/serviceprincipals/item_member_of_graph_administrative_unit_request_builder.go index 04af8cd58ee..f20c78b5fc5 100644 --- a/serviceprincipals/item_member_of_graph_administrative_unit_request_builder.go +++ b/serviceprincipals/item_member_of_graph_administrative_unit_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMemberOfGraphAdministrativeUnitRequestBuilder) ToGetRequestInformat } 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 *ItemMemberOfGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphAdministrativeUnitRequestBuilder) { + return NewItemMemberOfGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_member_of_graph_directory_role_count_request_builder.go b/serviceprincipals/item_member_of_graph_directory_role_count_request_builder.go index 89df95cac1b..407b5dcfcbc 100644 --- a/serviceprincipals/item_member_of_graph_directory_role_count_request_builder.go +++ b/serviceprincipals/item_member_of_graph_directory_role_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMemberOfGraphDirectoryRoleCountRequestBuilder) ToGetRequestInformat } 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 *ItemMemberOfGraphDirectoryRoleCountRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphDirectoryRoleCountRequestBuilder) { + return NewItemMemberOfGraphDirectoryRoleCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_member_of_graph_directory_role_request_builder.go b/serviceprincipals/item_member_of_graph_directory_role_request_builder.go index 8ad7addbc2d..4d21c6f1e70 100644 --- a/serviceprincipals/item_member_of_graph_directory_role_request_builder.go +++ b/serviceprincipals/item_member_of_graph_directory_role_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMemberOfGraphDirectoryRoleRequestBuilder) ToGetRequestInformation(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 *ItemMemberOfGraphDirectoryRoleRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphDirectoryRoleRequestBuilder) { + return NewItemMemberOfGraphDirectoryRoleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_member_of_graph_group_count_request_builder.go b/serviceprincipals/item_member_of_graph_group_count_request_builder.go index 31e881477f9..0dd2c6de7c6 100644 --- a/serviceprincipals/item_member_of_graph_group_count_request_builder.go +++ b/serviceprincipals/item_member_of_graph_group_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMemberOfGraphGroupCountRequestBuilder) ToGetRequestInformation(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 *ItemMemberOfGraphGroupCountRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphGroupCountRequestBuilder) { + return NewItemMemberOfGraphGroupCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_member_of_graph_group_request_builder.go b/serviceprincipals/item_member_of_graph_group_request_builder.go index 999064738b7..45cbeaf1bc1 100644 --- a/serviceprincipals/item_member_of_graph_group_request_builder.go +++ b/serviceprincipals/item_member_of_graph_group_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMemberOfGraphGroupRequestBuilder) ToGetRequestInformation(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 *ItemMemberOfGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphGroupRequestBuilder) { + return NewItemMemberOfGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_member_of_item_graph_administrative_unit_request_builder.go b/serviceprincipals/item_member_of_item_graph_administrative_unit_request_builder.go index 3a9aa2d3a7c..ca278e4c2cd 100644 --- a/serviceprincipals/item_member_of_item_graph_administrative_unit_request_builder.go +++ b/serviceprincipals/item_member_of_item_graph_administrative_unit_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMemberOfItemGraphAdministrativeUnitRequestBuilder) ToGetRequestInfo } 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 *ItemMemberOfItemGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfItemGraphAdministrativeUnitRequestBuilder) { + return NewItemMemberOfItemGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_member_of_item_graph_directory_role_request_builder.go b/serviceprincipals/item_member_of_item_graph_directory_role_request_builder.go index 046719b857a..c0b0840683e 100644 --- a/serviceprincipals/item_member_of_item_graph_directory_role_request_builder.go +++ b/serviceprincipals/item_member_of_item_graph_directory_role_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMemberOfItemGraphDirectoryRoleRequestBuilder) ToGetRequestInformati } 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 *ItemMemberOfItemGraphDirectoryRoleRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfItemGraphDirectoryRoleRequestBuilder) { + return NewItemMemberOfItemGraphDirectoryRoleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_member_of_item_graph_group_request_builder.go b/serviceprincipals/item_member_of_item_graph_group_request_builder.go index f8eabd17188..3624887703f 100644 --- a/serviceprincipals/item_member_of_item_graph_group_request_builder.go +++ b/serviceprincipals/item_member_of_item_graph_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMemberOfItemGraphGroupRequestBuilder) ToGetRequestInformation(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 *ItemMemberOfItemGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfItemGraphGroupRequestBuilder) { + return NewItemMemberOfItemGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_member_of_request_builder.go b/serviceprincipals/item_member_of_request_builder.go index d982801790b..af24df0a477 100644 --- a/serviceprincipals/item_member_of_request_builder.go +++ b/serviceprincipals/item_member_of_request_builder.go @@ -39,8 +39,8 @@ type ItemMemberOfRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemMemberOfRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the memberOf property of the microsoft.graph.servicePrincipal entity. -func (m *ItemMemberOfRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemMemberOfDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the memberOf property of the microsoft.graph.servicePrincipal entity. +func (m *ItemMemberOfRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemMemberOfDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -117,3 +117,7 @@ func (m *ItemMemberOfRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemMemberOfRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfRequestBuilder) { + return NewItemMemberOfRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_oauth2_permission_grants_count_request_builder.go b/serviceprincipals/item_oauth2_permission_grants_count_request_builder.go index f41ef339863..148fc5671f4 100644 --- a/serviceprincipals/item_oauth2_permission_grants_count_request_builder.go +++ b/serviceprincipals/item_oauth2_permission_grants_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOauth2PermissionGrantsCountRequestBuilder) 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 *ItemOauth2PermissionGrantsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOauth2PermissionGrantsCountRequestBuilder) { + return NewItemOauth2PermissionGrantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_oauth2_permission_grants_o_auth2_permission_grant_item_request_builder.go b/serviceprincipals/item_oauth2_permission_grants_o_auth2_permission_grant_item_request_builder.go index a8e397a6582..aa3cf26daa6 100644 --- a/serviceprincipals/item_oauth2_permission_grants_o_auth2_permission_grant_item_request_builder.go +++ b/serviceprincipals/item_oauth2_permission_grants_o_auth2_permission_grant_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOauth2PermissionGrantsOAuth2PermissionGrantItemRequestBuilder) ToGe } 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 *ItemOauth2PermissionGrantsOAuth2PermissionGrantItemRequestBuilder) WithUrl(rawUrl string)(*ItemOauth2PermissionGrantsOAuth2PermissionGrantItemRequestBuilder) { + return NewItemOauth2PermissionGrantsOAuth2PermissionGrantItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_oauth2_permission_grants_request_builder.go b/serviceprincipals/item_oauth2_permission_grants_request_builder.go index 3448d660555..ec51202ad29 100644 --- a/serviceprincipals/item_oauth2_permission_grants_request_builder.go +++ b/serviceprincipals/item_oauth2_permission_grants_request_builder.go @@ -39,8 +39,8 @@ type ItemOauth2PermissionGrantsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemOauth2PermissionGrantsRequestBuilderGetQueryParameters } -// ByOAuth2PermissionGrantIdString provides operations to manage the oauth2PermissionGrants property of the microsoft.graph.servicePrincipal entity. -func (m *ItemOauth2PermissionGrantsRequestBuilder) ByOAuth2PermissionGrantIdString(oAuth2PermissionGrantId string)(*ItemOauth2PermissionGrantsOAuth2PermissionGrantItemRequestBuilder) { +// ByOAuth2PermissionGrantId provides operations to manage the oauth2PermissionGrants property of the microsoft.graph.servicePrincipal entity. +func (m *ItemOauth2PermissionGrantsRequestBuilder) ByOAuth2PermissionGrantId(oAuth2PermissionGrantId string)(*ItemOauth2PermissionGrantsOAuth2PermissionGrantItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemOauth2PermissionGrantsRequestBuilder) ToGetRequestInformation(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 *ItemOauth2PermissionGrantsRequestBuilder) WithUrl(rawUrl string)(*ItemOauth2PermissionGrantsRequestBuilder) { + return NewItemOauth2PermissionGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owned_objects_count_request_builder.go b/serviceprincipals/item_owned_objects_count_request_builder.go index 793f01be223..25a55182e3f 100644 --- a/serviceprincipals/item_owned_objects_count_request_builder.go +++ b/serviceprincipals/item_owned_objects_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnedObjectsCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemOwnedObjectsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsCountRequestBuilder) { + return NewItemOwnedObjectsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owned_objects_directory_object_item_request_builder.go b/serviceprincipals/item_owned_objects_directory_object_item_request_builder.go index a481b03311d..44cf21c2837 100644 --- a/serviceprincipals/item_owned_objects_directory_object_item_request_builder.go +++ b/serviceprincipals/item_owned_objects_directory_object_item_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemOwnedObjectsDirectoryObjectItemRequestBuilder) ToGetRequestInformat } 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 *ItemOwnedObjectsDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsDirectoryObjectItemRequestBuilder) { + return NewItemOwnedObjectsDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owned_objects_graph_application_count_request_builder.go b/serviceprincipals/item_owned_objects_graph_application_count_request_builder.go index 3bb9f93eec5..722c2c3226b 100644 --- a/serviceprincipals/item_owned_objects_graph_application_count_request_builder.go +++ b/serviceprincipals/item_owned_objects_graph_application_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnedObjectsGraphApplicationCountRequestBuilder) ToGetRequestInform } 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 *ItemOwnedObjectsGraphApplicationCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsGraphApplicationCountRequestBuilder) { + return NewItemOwnedObjectsGraphApplicationCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owned_objects_graph_application_request_builder.go b/serviceprincipals/item_owned_objects_graph_application_request_builder.go index 74b9ec6b319..6224011e1ce 100644 --- a/serviceprincipals/item_owned_objects_graph_application_request_builder.go +++ b/serviceprincipals/item_owned_objects_graph_application_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemOwnedObjectsGraphApplicationRequestBuilder) 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 *ItemOwnedObjectsGraphApplicationRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsGraphApplicationRequestBuilder) { + return NewItemOwnedObjectsGraphApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owned_objects_graph_endpoint_count_request_builder.go b/serviceprincipals/item_owned_objects_graph_endpoint_count_request_builder.go index 2358b742820..ce84276fd6e 100644 --- a/serviceprincipals/item_owned_objects_graph_endpoint_count_request_builder.go +++ b/serviceprincipals/item_owned_objects_graph_endpoint_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnedObjectsGraphEndpointCountRequestBuilder) ToGetRequestInformati } 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 *ItemOwnedObjectsGraphEndpointCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsGraphEndpointCountRequestBuilder) { + return NewItemOwnedObjectsGraphEndpointCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owned_objects_graph_endpoint_request_builder.go b/serviceprincipals/item_owned_objects_graph_endpoint_request_builder.go index f31d92caf6a..97852591d4b 100644 --- a/serviceprincipals/item_owned_objects_graph_endpoint_request_builder.go +++ b/serviceprincipals/item_owned_objects_graph_endpoint_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemOwnedObjectsGraphEndpointRequestBuilder) ToGetRequestInformation(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 *ItemOwnedObjectsGraphEndpointRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsGraphEndpointRequestBuilder) { + return NewItemOwnedObjectsGraphEndpointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owned_objects_graph_group_count_request_builder.go b/serviceprincipals/item_owned_objects_graph_group_count_request_builder.go index 6e8f7f4c793..292400f11d5 100644 --- a/serviceprincipals/item_owned_objects_graph_group_count_request_builder.go +++ b/serviceprincipals/item_owned_objects_graph_group_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnedObjectsGraphGroupCountRequestBuilder) 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 *ItemOwnedObjectsGraphGroupCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsGraphGroupCountRequestBuilder) { + return NewItemOwnedObjectsGraphGroupCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owned_objects_graph_group_request_builder.go b/serviceprincipals/item_owned_objects_graph_group_request_builder.go index a190a0d187c..51b8022b673 100644 --- a/serviceprincipals/item_owned_objects_graph_group_request_builder.go +++ b/serviceprincipals/item_owned_objects_graph_group_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemOwnedObjectsGraphGroupRequestBuilder) ToGetRequestInformation(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 *ItemOwnedObjectsGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsGraphGroupRequestBuilder) { + return NewItemOwnedObjectsGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owned_objects_graph_service_principal_count_request_builder.go b/serviceprincipals/item_owned_objects_graph_service_principal_count_request_builder.go index d7082a5977f..b65e5964c34 100644 --- a/serviceprincipals/item_owned_objects_graph_service_principal_count_request_builder.go +++ b/serviceprincipals/item_owned_objects_graph_service_principal_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnedObjectsGraphServicePrincipalCountRequestBuilder) ToGetRequestI } 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 *ItemOwnedObjectsGraphServicePrincipalCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsGraphServicePrincipalCountRequestBuilder) { + return NewItemOwnedObjectsGraphServicePrincipalCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owned_objects_graph_service_principal_request_builder.go b/serviceprincipals/item_owned_objects_graph_service_principal_request_builder.go index 68abda57148..679fa4ee228 100644 --- a/serviceprincipals/item_owned_objects_graph_service_principal_request_builder.go +++ b/serviceprincipals/item_owned_objects_graph_service_principal_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemOwnedObjectsGraphServicePrincipalRequestBuilder) ToGetRequestInform } 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 *ItemOwnedObjectsGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsGraphServicePrincipalRequestBuilder) { + return NewItemOwnedObjectsGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owned_objects_item_graph_application_request_builder.go b/serviceprincipals/item_owned_objects_item_graph_application_request_builder.go index 9e7694527dd..5790b9d9aea 100644 --- a/serviceprincipals/item_owned_objects_item_graph_application_request_builder.go +++ b/serviceprincipals/item_owned_objects_item_graph_application_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOwnedObjectsItemGraphApplicationRequestBuilder) ToGetRequestInforma } 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 *ItemOwnedObjectsItemGraphApplicationRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsItemGraphApplicationRequestBuilder) { + return NewItemOwnedObjectsItemGraphApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owned_objects_item_graph_endpoint_request_builder.go b/serviceprincipals/item_owned_objects_item_graph_endpoint_request_builder.go index e0cd66487c0..1d0fd06b521 100644 --- a/serviceprincipals/item_owned_objects_item_graph_endpoint_request_builder.go +++ b/serviceprincipals/item_owned_objects_item_graph_endpoint_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOwnedObjectsItemGraphEndpointRequestBuilder) 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 *ItemOwnedObjectsItemGraphEndpointRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsItemGraphEndpointRequestBuilder) { + return NewItemOwnedObjectsItemGraphEndpointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owned_objects_item_graph_group_request_builder.go b/serviceprincipals/item_owned_objects_item_graph_group_request_builder.go index d28fa50faa7..97f4080e813 100644 --- a/serviceprincipals/item_owned_objects_item_graph_group_request_builder.go +++ b/serviceprincipals/item_owned_objects_item_graph_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOwnedObjectsItemGraphGroupRequestBuilder) ToGetRequestInformation(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 *ItemOwnedObjectsItemGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsItemGraphGroupRequestBuilder) { + return NewItemOwnedObjectsItemGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owned_objects_item_graph_service_principal_request_builder.go b/serviceprincipals/item_owned_objects_item_graph_service_principal_request_builder.go index 1810f23bbd6..8a7a8aed73f 100644 --- a/serviceprincipals/item_owned_objects_item_graph_service_principal_request_builder.go +++ b/serviceprincipals/item_owned_objects_item_graph_service_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOwnedObjectsItemGraphServicePrincipalRequestBuilder) ToGetRequestIn } 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 *ItemOwnedObjectsItemGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsItemGraphServicePrincipalRequestBuilder) { + return NewItemOwnedObjectsItemGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owned_objects_request_builder.go b/serviceprincipals/item_owned_objects_request_builder.go index 5fca52b51f1..649972cc79e 100644 --- a/serviceprincipals/item_owned_objects_request_builder.go +++ b/serviceprincipals/item_owned_objects_request_builder.go @@ -39,8 +39,8 @@ type ItemOwnedObjectsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemOwnedObjectsRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the ownedObjects property of the microsoft.graph.servicePrincipal entity. -func (m *ItemOwnedObjectsRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemOwnedObjectsDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the ownedObjects property of the microsoft.graph.servicePrincipal entity. +func (m *ItemOwnedObjectsRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemOwnedObjectsDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -121,3 +121,7 @@ func (m *ItemOwnedObjectsRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *ItemOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsRequestBuilder) { + return NewItemOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owners_count_request_builder.go b/serviceprincipals/item_owners_count_request_builder.go index e4159fe2a46..6e28e4e0f6b 100644 --- a/serviceprincipals/item_owners_count_request_builder.go +++ b/serviceprincipals/item_owners_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnersCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemOwnersCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersCountRequestBuilder) { + return NewItemOwnersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owners_graph_endpoint_count_request_builder.go b/serviceprincipals/item_owners_graph_endpoint_count_request_builder.go index f38267da3f6..406f24ada27 100644 --- a/serviceprincipals/item_owners_graph_endpoint_count_request_builder.go +++ b/serviceprincipals/item_owners_graph_endpoint_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnersGraphEndpointCountRequestBuilder) ToGetRequestInformation(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 *ItemOwnersGraphEndpointCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphEndpointCountRequestBuilder) { + return NewItemOwnersGraphEndpointCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owners_graph_endpoint_request_builder.go b/serviceprincipals/item_owners_graph_endpoint_request_builder.go index b26e7d946ad..b2d0a0bad08 100644 --- a/serviceprincipals/item_owners_graph_endpoint_request_builder.go +++ b/serviceprincipals/item_owners_graph_endpoint_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemOwnersGraphEndpointRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemOwnersGraphEndpointRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphEndpointRequestBuilder) { + return NewItemOwnersGraphEndpointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owners_graph_service_principal_count_request_builder.go b/serviceprincipals/item_owners_graph_service_principal_count_request_builder.go index 322d0dc930a..3065ad68eab 100644 --- a/serviceprincipals/item_owners_graph_service_principal_count_request_builder.go +++ b/serviceprincipals/item_owners_graph_service_principal_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnersGraphServicePrincipalCountRequestBuilder) ToGetRequestInforma } 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 *ItemOwnersGraphServicePrincipalCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphServicePrincipalCountRequestBuilder) { + return NewItemOwnersGraphServicePrincipalCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owners_graph_service_principal_request_builder.go b/serviceprincipals/item_owners_graph_service_principal_request_builder.go index 8b3949f40ce..e71c4c64743 100644 --- a/serviceprincipals/item_owners_graph_service_principal_request_builder.go +++ b/serviceprincipals/item_owners_graph_service_principal_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemOwnersGraphServicePrincipalRequestBuilder) 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 *ItemOwnersGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphServicePrincipalRequestBuilder) { + return NewItemOwnersGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owners_graph_user_count_request_builder.go b/serviceprincipals/item_owners_graph_user_count_request_builder.go index c52d3d71129..59de2ed8b83 100644 --- a/serviceprincipals/item_owners_graph_user_count_request_builder.go +++ b/serviceprincipals/item_owners_graph_user_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnersGraphUserCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemOwnersGraphUserCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphUserCountRequestBuilder) { + return NewItemOwnersGraphUserCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owners_graph_user_request_builder.go b/serviceprincipals/item_owners_graph_user_request_builder.go index 365547472e2..dfac508c2ed 100644 --- a/serviceprincipals/item_owners_graph_user_request_builder.go +++ b/serviceprincipals/item_owners_graph_user_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemOwnersGraphUserRequestBuilder) ToGetRequestInformation(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 *ItemOwnersGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersGraphUserRequestBuilder) { + return NewItemOwnersGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owners_item_graph_endpoint_request_builder.go b/serviceprincipals/item_owners_item_graph_endpoint_request_builder.go index 32b14fdac06..95235849bce 100644 --- a/serviceprincipals/item_owners_item_graph_endpoint_request_builder.go +++ b/serviceprincipals/item_owners_item_graph_endpoint_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOwnersItemGraphEndpointRequestBuilder) ToGetRequestInformation(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 *ItemOwnersItemGraphEndpointRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersItemGraphEndpointRequestBuilder) { + return NewItemOwnersItemGraphEndpointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owners_item_graph_service_principal_request_builder.go b/serviceprincipals/item_owners_item_graph_service_principal_request_builder.go index 07cf29ab801..a5dd8dd4fd2 100644 --- a/serviceprincipals/item_owners_item_graph_service_principal_request_builder.go +++ b/serviceprincipals/item_owners_item_graph_service_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOwnersItemGraphServicePrincipalRequestBuilder) ToGetRequestInformat } 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 *ItemOwnersItemGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersItemGraphServicePrincipalRequestBuilder) { + return NewItemOwnersItemGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owners_item_graph_user_request_builder.go b/serviceprincipals/item_owners_item_graph_user_request_builder.go index 5409cfb64ee..f636008a30f 100644 --- a/serviceprincipals/item_owners_item_graph_user_request_builder.go +++ b/serviceprincipals/item_owners_item_graph_user_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOwnersItemGraphUserRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemOwnersItemGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersItemGraphUserRequestBuilder) { + return NewItemOwnersItemGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owners_item_ref_request_builder.go b/serviceprincipals/item_owners_item_ref_request_builder.go index 81cd23c4cfb..036a8382e15 100644 --- a/serviceprincipals/item_owners_item_ref_request_builder.go +++ b/serviceprincipals/item_owners_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *ItemOwnersItemRefRequestBuilder) ToDeleteRequestInformation(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 *ItemOwnersItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersItemRefRequestBuilder) { + return NewItemOwnersItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owners_ref_request_builder.go b/serviceprincipals/item_owners_ref_request_builder.go index 4df3fc402f2..259f43d860b 100644 --- a/serviceprincipals/item_owners_ref_request_builder.go +++ b/serviceprincipals/item_owners_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *ItemOwnersRefRequestBuilder) 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 *ItemOwnersRefRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersRefRequestBuilder) { + return NewItemOwnersRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_owners_request_builder.go b/serviceprincipals/item_owners_request_builder.go index 8d9503babdf..28e2d81e27a 100644 --- a/serviceprincipals/item_owners_request_builder.go +++ b/serviceprincipals/item_owners_request_builder.go @@ -39,8 +39,8 @@ type ItemOwnersRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemOwnersRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.servicePrincipals.item.owners.item collection -func (m *ItemOwnersRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemOwnersDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.servicePrincipals.item.owners.item collection +func (m *ItemOwnersRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemOwnersDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -121,3 +121,7 @@ func (m *ItemOwnersRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemOwnersRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersRequestBuilder) { + return NewItemOwnersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_restore_request_builder.go b/serviceprincipals/item_restore_request_builder.go index ba910b0dafd..7f7f29a721c 100644 --- a/serviceprincipals/item_restore_request_builder.go +++ b/serviceprincipals/item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemRestoreRequestBuilder) { + return NewItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_acquire_access_token_request_builder.go b/serviceprincipals/item_synchronization_acquire_access_token_request_builder.go index 29fe45a73d6..614a8e90025 100644 --- a/serviceprincipals/item_synchronization_acquire_access_token_request_builder.go +++ b/serviceprincipals/item_synchronization_acquire_access_token_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemSynchronizationAcquireAccessTokenRequestBuilder) ToPostRequestInfor } 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 *ItemSynchronizationAcquireAccessTokenRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationAcquireAccessTokenRequestBuilder) { + return NewItemSynchronizationAcquireAccessTokenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_jobs_count_request_builder.go b/serviceprincipals/item_synchronization_jobs_count_request_builder.go index 2ecf463c72b..7fcb11ffc96 100644 --- a/serviceprincipals/item_synchronization_jobs_count_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSynchronizationJobsCountRequestBuilder) ToGetRequestInformation(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 *ItemSynchronizationJobsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsCountRequestBuilder) { + return NewItemSynchronizationJobsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_jobs_item_bulk_upload_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_bulk_upload_request_builder.go index 7e13d3987f3..0b26ab0368c 100644 --- a/serviceprincipals/item_synchronization_jobs_item_bulk_upload_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_bulk_upload_request_builder.go @@ -163,3 +163,8 @@ func (m *ItemSynchronizationJobsItemBulkUploadRequestBuilder) 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. +// Deprecated: as of 2022-10/PrivatePreview:HRInboundPushApi on 2022-10-04 and will be removed 2023-06-14 +func (m *ItemSynchronizationJobsItemBulkUploadRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemBulkUploadRequestBuilder) { + return NewItemSynchronizationJobsItemBulkUploadRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_jobs_item_bulk_upload_value_content_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_bulk_upload_value_content_request_builder.go index 724417e5a26..189cf419be5 100644 --- a/serviceprincipals/item_synchronization_jobs_item_bulk_upload_value_content_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_bulk_upload_value_content_request_builder.go @@ -104,3 +104,8 @@ func (m *ItemSynchronizationJobsItemBulkUploadValueContentRequestBuilder) ToPutR } 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. +// Deprecated: as of 2022-10/PrivatePreview:HRInboundPushApi on 2022-10-04 and will be removed 2023-06-14 +func (m *ItemSynchronizationJobsItemBulkUploadValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemBulkUploadValueContentRequestBuilder) { + return NewItemSynchronizationJobsItemBulkUploadValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_jobs_item_pause_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_pause_request_builder.go index c0d235f1f10..f5ec81c19bb 100644 --- a/serviceprincipals/item_synchronization_jobs_item_pause_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_pause_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemSynchronizationJobsItemPauseRequestBuilder) ToPostRequestInformatio } 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 *ItemSynchronizationJobsItemPauseRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemPauseRequestBuilder) { + return NewItemSynchronizationJobsItemPauseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_jobs_item_provision_on_demand_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_provision_on_demand_request_builder.go index 6b9e6fe4a0f..a24bc1754e4 100644 --- a/serviceprincipals/item_synchronization_jobs_item_provision_on_demand_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_provision_on_demand_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSynchronizationJobsItemProvisionOnDemandRequestBuilder) ToPostReque } 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 *ItemSynchronizationJobsItemProvisionOnDemandRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemProvisionOnDemandRequestBuilder) { + return NewItemSynchronizationJobsItemProvisionOnDemandRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_jobs_item_restart_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_restart_request_builder.go index fcbb04009d1..497dffb1d2d 100644 --- a/serviceprincipals/item_synchronization_jobs_item_restart_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_restart_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemSynchronizationJobsItemRestartRequestBuilder) ToPostRequestInformat } 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 *ItemSynchronizationJobsItemRestartRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemRestartRequestBuilder) { + return NewItemSynchronizationJobsItemRestartRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_jobs_item_schema_directories_count_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_schema_directories_count_request_builder.go index 48b5535816d..d46f7b58d55 100644 --- a/serviceprincipals/item_synchronization_jobs_item_schema_directories_count_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_schema_directories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSynchronizationJobsItemSchemaDirectoriesCountRequestBuilder) ToGetR } 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 *ItemSynchronizationJobsItemSchemaDirectoriesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemSchemaDirectoriesCountRequestBuilder) { + return NewItemSynchronizationJobsItemSchemaDirectoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_jobs_item_schema_directories_directory_definition_item_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_schema_directories_directory_definition_item_request_builder.go index 3cc903b3cd5..b1edfc1bd81 100644 --- a/serviceprincipals/item_synchronization_jobs_item_schema_directories_directory_definition_item_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_schema_directories_directory_definition_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemSynchronizationJobsItemSchemaDirectoriesDirectoryDefinitionItemRequ } 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 *ItemSynchronizationJobsItemSchemaDirectoriesDirectoryDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemSchemaDirectoriesDirectoryDefinitionItemRequestBuilder) { + return NewItemSynchronizationJobsItemSchemaDirectoriesDirectoryDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go index eeae62c9518..afcf80bbdaf 100644 --- a/serviceprincipals/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemSynchronizationJobsItemSchemaDirectoriesItemDiscoverRequestBuilder) } 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 *ItemSynchronizationJobsItemSchemaDirectoriesItemDiscoverRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemSchemaDirectoriesItemDiscoverRequestBuilder) { + return NewItemSynchronizationJobsItemSchemaDirectoriesItemDiscoverRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_jobs_item_schema_directories_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_schema_directories_request_builder.go index 040d065700f..68a80138f8f 100644 --- a/serviceprincipals/item_synchronization_jobs_item_schema_directories_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_schema_directories_request_builder.go @@ -46,8 +46,8 @@ type ItemSynchronizationJobsItemSchemaDirectoriesRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDirectoryDefinitionIdString provides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity. -func (m *ItemSynchronizationJobsItemSchemaDirectoriesRequestBuilder) ByDirectoryDefinitionIdString(directoryDefinitionId string)(*ItemSynchronizationJobsItemSchemaDirectoriesDirectoryDefinitionItemRequestBuilder) { +// ByDirectoryDefinitionId provides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity. +func (m *ItemSynchronizationJobsItemSchemaDirectoriesRequestBuilder) ByDirectoryDefinitionId(directoryDefinitionId string)(*ItemSynchronizationJobsItemSchemaDirectoriesDirectoryDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSynchronizationJobsItemSchemaDirectoriesRequestBuilder) ToPostReque } 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 *ItemSynchronizationJobsItemSchemaDirectoriesRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemSchemaDirectoriesRequestBuilder) { + return NewItemSynchronizationJobsItemSchemaDirectoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_jobs_item_schema_filter_operators_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_schema_filter_operators_request_builder.go index fa9ac962730..36a1d5bf5cd 100644 --- a/serviceprincipals/item_synchronization_jobs_item_schema_filter_operators_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_schema_filter_operators_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder) ToGetRe } 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 *ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder) { + return NewItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_jobs_item_schema_functions_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_schema_functions_request_builder.go index d76c873ceb8..6c1988671d5 100644 --- a/serviceprincipals/item_synchronization_jobs_item_schema_functions_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_schema_functions_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemSynchronizationJobsItemSchemaFunctionsRequestBuilder) ToGetRequestI } 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 *ItemSynchronizationJobsItemSchemaFunctionsRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemSchemaFunctionsRequestBuilder) { + return NewItemSynchronizationJobsItemSchemaFunctionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_jobs_item_schema_parse_expression_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_schema_parse_expression_request_builder.go index 9f41bbee5b1..04c18de2dfc 100644 --- a/serviceprincipals/item_synchronization_jobs_item_schema_parse_expression_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_schema_parse_expression_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSynchronizationJobsItemSchemaParseExpressionRequestBuilder) ToPostR } 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 *ItemSynchronizationJobsItemSchemaParseExpressionRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemSchemaParseExpressionRequestBuilder) { + return NewItemSynchronizationJobsItemSchemaParseExpressionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_jobs_item_schema_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_schema_request_builder.go index f6bc42d2cbb..12eae558ac1 100644 --- a/serviceprincipals/item_synchronization_jobs_item_schema_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_schema_request_builder.go @@ -175,3 +175,7 @@ func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) ToPatchRequestInformat } 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 *ItemSynchronizationJobsItemSchemaRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemSchemaRequestBuilder) { + return NewItemSynchronizationJobsItemSchemaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_jobs_item_start_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_start_request_builder.go index f48a5c7fd15..98e61a4c6bc 100644 --- a/serviceprincipals/item_synchronization_jobs_item_start_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_start_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemSynchronizationJobsItemStartRequestBuilder) ToPostRequestInformatio } 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 *ItemSynchronizationJobsItemStartRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemStartRequestBuilder) { + return NewItemSynchronizationJobsItemStartRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_jobs_item_validate_credentials_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_validate_credentials_request_builder.go index aa2949eb3c8..c00d86f85b3 100644 --- a/serviceprincipals/item_synchronization_jobs_item_validate_credentials_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_validate_credentials_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemSynchronizationJobsItemValidateCredentialsRequestBuilder) ToPostReq } 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 *ItemSynchronizationJobsItemValidateCredentialsRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsItemValidateCredentialsRequestBuilder) { + return NewItemSynchronizationJobsItemValidateCredentialsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_jobs_request_builder.go b/serviceprincipals/item_synchronization_jobs_request_builder.go index 3fb25402e97..5aaad78256f 100644 --- a/serviceprincipals/item_synchronization_jobs_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_request_builder.go @@ -46,8 +46,8 @@ type ItemSynchronizationJobsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySynchronizationJobIdString provides operations to manage the jobs property of the microsoft.graph.synchronization entity. -func (m *ItemSynchronizationJobsRequestBuilder) BySynchronizationJobIdString(synchronizationJobId string)(*ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) { +// BySynchronizationJobId provides operations to manage the jobs property of the microsoft.graph.synchronization entity. +func (m *ItemSynchronizationJobsRequestBuilder) BySynchronizationJobId(synchronizationJobId string)(*ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemSynchronizationJobsRequestBuilder) ToPostRequestInformation(ctx con func (m *ItemSynchronizationJobsRequestBuilder) ValidateCredentials()(*ItemSynchronizationJobsValidateCredentialsRequestBuilder) { return NewItemSynchronizationJobsValidateCredentialsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSynchronizationJobsRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsRequestBuilder) { + return NewItemSynchronizationJobsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_jobs_synchronization_job_item_request_builder.go b/serviceprincipals/item_synchronization_jobs_synchronization_job_item_request_builder.go index 964d6473961..dac5fb63a99 100644 --- a/serviceprincipals/item_synchronization_jobs_synchronization_job_item_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_synchronization_job_item_request_builder.go @@ -187,3 +187,7 @@ func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) ToPatchReq func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) ValidateCredentials()(*ItemSynchronizationJobsItemValidateCredentialsRequestBuilder) { return NewItemSynchronizationJobsItemValidateCredentialsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) { + return NewItemSynchronizationJobsSynchronizationJobItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_jobs_validate_credentials_request_builder.go b/serviceprincipals/item_synchronization_jobs_validate_credentials_request_builder.go index f2543157a9a..252e8eebbf5 100644 --- a/serviceprincipals/item_synchronization_jobs_validate_credentials_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_validate_credentials_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemSynchronizationJobsValidateCredentialsRequestBuilder) ToPostRequest } 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 *ItemSynchronizationJobsValidateCredentialsRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationJobsValidateCredentialsRequestBuilder) { + return NewItemSynchronizationJobsValidateCredentialsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_ping_request_builder.go b/serviceprincipals/item_synchronization_ping_request_builder.go index 15dc1b65662..da00da80ae2 100644 --- a/serviceprincipals/item_synchronization_ping_request_builder.go +++ b/serviceprincipals/item_synchronization_ping_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemSynchronizationPingRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemSynchronizationPingRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationPingRequestBuilder) { + return NewItemSynchronizationPingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_request_builder.go b/serviceprincipals/item_synchronization_request_builder.go index 5047f4f6ae7..42a74b7176b 100644 --- a/serviceprincipals/item_synchronization_request_builder.go +++ b/serviceprincipals/item_synchronization_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemSynchronizationRequestBuilder) ToPutRequestInformation(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 *ItemSynchronizationRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationRequestBuilder) { + return NewItemSynchronizationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_secrets_count_request_builder.go b/serviceprincipals/item_synchronization_secrets_count_request_builder.go index 2861b7d3f76..35caa04f9c3 100644 --- a/serviceprincipals/item_synchronization_secrets_count_request_builder.go +++ b/serviceprincipals/item_synchronization_secrets_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSynchronizationSecretsCountRequestBuilder) 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 *ItemSynchronizationSecretsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationSecretsCountRequestBuilder) { + return NewItemSynchronizationSecretsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_secrets_request_builder.go b/serviceprincipals/item_synchronization_secrets_request_builder.go index a430aadc81d..c5b979ff651 100644 --- a/serviceprincipals/item_synchronization_secrets_request_builder.go +++ b/serviceprincipals/item_synchronization_secrets_request_builder.go @@ -81,3 +81,7 @@ func (m *ItemSynchronizationSecretsRequestBuilder) ToPutRequestInformation(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 *ItemSynchronizationSecretsRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationSecretsRequestBuilder) { + return NewItemSynchronizationSecretsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_templates_count_request_builder.go b/serviceprincipals/item_synchronization_templates_count_request_builder.go index 401644604c8..df69829bb12 100644 --- a/serviceprincipals/item_synchronization_templates_count_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSynchronizationTemplatesCountRequestBuilder) 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 *ItemSynchronizationTemplatesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationTemplatesCountRequestBuilder) { + return NewItemSynchronizationTemplatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_templates_item_schema_directories_count_request_builder.go b/serviceprincipals/item_synchronization_templates_item_schema_directories_count_request_builder.go index 710093ba47f..4e2127506bb 100644 --- a/serviceprincipals/item_synchronization_templates_item_schema_directories_count_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_item_schema_directories_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesCountRequestBuilder) T } 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 *ItemSynchronizationTemplatesItemSchemaDirectoriesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationTemplatesItemSchemaDirectoriesCountRequestBuilder) { + return NewItemSynchronizationTemplatesItemSchemaDirectoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_templates_item_schema_directories_directory_definition_item_request_builder.go b/serviceprincipals/item_synchronization_templates_item_schema_directories_directory_definition_item_request_builder.go index a0b85bfda3a..92ebd9276af 100644 --- a/serviceprincipals/item_synchronization_templates_item_schema_directories_directory_definition_item_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_item_schema_directories_directory_definition_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesDirectoryDefinitionIte } 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 *ItemSynchronizationTemplatesItemSchemaDirectoriesDirectoryDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationTemplatesItemSchemaDirectoriesDirectoryDefinitionItemRequestBuilder) { + return NewItemSynchronizationTemplatesItemSchemaDirectoriesDirectoryDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go b/serviceprincipals/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go index 7c3da9aba3e..b96616bffb7 100644 --- a/serviceprincipals/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesItemDiscoverRequestBui } 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 *ItemSynchronizationTemplatesItemSchemaDirectoriesItemDiscoverRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationTemplatesItemSchemaDirectoriesItemDiscoverRequestBuilder) { + return NewItemSynchronizationTemplatesItemSchemaDirectoriesItemDiscoverRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_templates_item_schema_directories_request_builder.go b/serviceprincipals/item_synchronization_templates_item_schema_directories_request_builder.go index 9a4dce8d12c..b0883f5c8f5 100644 --- a/serviceprincipals/item_synchronization_templates_item_schema_directories_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_item_schema_directories_request_builder.go @@ -46,8 +46,8 @@ type ItemSynchronizationTemplatesItemSchemaDirectoriesRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDirectoryDefinitionIdString provides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity. -func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesRequestBuilder) ByDirectoryDefinitionIdString(directoryDefinitionId string)(*ItemSynchronizationTemplatesItemSchemaDirectoriesDirectoryDefinitionItemRequestBuilder) { +// ByDirectoryDefinitionId provides operations to manage the directories property of the microsoft.graph.synchronizationSchema entity. +func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesRequestBuilder) ByDirectoryDefinitionId(directoryDefinitionId string)(*ItemSynchronizationTemplatesItemSchemaDirectoriesDirectoryDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesRequestBuilder) ToPost } 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 *ItemSynchronizationTemplatesItemSchemaDirectoriesRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationTemplatesItemSchemaDirectoriesRequestBuilder) { + return NewItemSynchronizationTemplatesItemSchemaDirectoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_templates_item_schema_filter_operators_request_builder.go b/serviceprincipals/item_synchronization_templates_item_schema_filter_operators_request_builder.go index 2cc4ec05c12..d8100557da9 100644 --- a/serviceprincipals/item_synchronization_templates_item_schema_filter_operators_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_item_schema_filter_operators_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder) To } 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 *ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder) { + return NewItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_templates_item_schema_functions_request_builder.go b/serviceprincipals/item_synchronization_templates_item_schema_functions_request_builder.go index 3c81cf53c98..0a5e30c3ed7 100644 --- a/serviceprincipals/item_synchronization_templates_item_schema_functions_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_item_schema_functions_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder) ToGetReq } 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 *ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder) { + return NewItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_templates_item_schema_parse_expression_request_builder.go b/serviceprincipals/item_synchronization_templates_item_schema_parse_expression_request_builder.go index d8f7358b81a..293c13a9931 100644 --- a/serviceprincipals/item_synchronization_templates_item_schema_parse_expression_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_item_schema_parse_expression_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaParseExpressionRequestBuilder) To } 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 *ItemSynchronizationTemplatesItemSchemaParseExpressionRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationTemplatesItemSchemaParseExpressionRequestBuilder) { + return NewItemSynchronizationTemplatesItemSchemaParseExpressionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_templates_item_schema_request_builder.go b/serviceprincipals/item_synchronization_templates_item_schema_request_builder.go index ea6715190fa..895b7db5b3a 100644 --- a/serviceprincipals/item_synchronization_templates_item_schema_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_item_schema_request_builder.go @@ -169,3 +169,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaRequestBuilder) ToPatchRequestInf } 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 *ItemSynchronizationTemplatesItemSchemaRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationTemplatesItemSchemaRequestBuilder) { + return NewItemSynchronizationTemplatesItemSchemaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_templates_request_builder.go b/serviceprincipals/item_synchronization_templates_request_builder.go index b0d34d39fe1..f7096c8e58d 100644 --- a/serviceprincipals/item_synchronization_templates_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_request_builder.go @@ -46,8 +46,8 @@ type ItemSynchronizationTemplatesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySynchronizationTemplateIdString provides operations to manage the templates property of the microsoft.graph.synchronization entity. -func (m *ItemSynchronizationTemplatesRequestBuilder) BySynchronizationTemplateIdString(synchronizationTemplateId string)(*ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) { +// BySynchronizationTemplateId provides operations to manage the templates property of the microsoft.graph.synchronization entity. +func (m *ItemSynchronizationTemplatesRequestBuilder) BySynchronizationTemplateId(synchronizationTemplateId string)(*ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemSynchronizationTemplatesRequestBuilder) 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 *ItemSynchronizationTemplatesRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationTemplatesRequestBuilder) { + return NewItemSynchronizationTemplatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_synchronization_templates_synchronization_template_item_request_builder.go b/serviceprincipals/item_synchronization_templates_synchronization_template_item_request_builder.go index 583eb0997a8..93b517e06f7 100644 --- a/serviceprincipals/item_synchronization_templates_synchronization_template_item_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_synchronization_template_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) } 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 *ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) WithUrl(rawUrl string)(*ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) { + return NewItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_token_issuance_policies_count_request_builder.go b/serviceprincipals/item_token_issuance_policies_count_request_builder.go index 3f05fc80541..54976e770ab 100644 --- a/serviceprincipals/item_token_issuance_policies_count_request_builder.go +++ b/serviceprincipals/item_token_issuance_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTokenIssuancePoliciesCountRequestBuilder) ToGetRequestInformation(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 *ItemTokenIssuancePoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ItemTokenIssuancePoliciesCountRequestBuilder) { + return NewItemTokenIssuancePoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_token_issuance_policies_request_builder.go b/serviceprincipals/item_token_issuance_policies_request_builder.go index 1700df2b275..1bfcb14a1ad 100644 --- a/serviceprincipals/item_token_issuance_policies_request_builder.go +++ b/serviceprincipals/item_token_issuance_policies_request_builder.go @@ -39,8 +39,8 @@ type ItemTokenIssuancePoliciesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemTokenIssuancePoliciesRequestBuilderGetQueryParameters } -// ByTokenIssuancePolicyIdString provides operations to manage the tokenIssuancePolicies property of the microsoft.graph.servicePrincipal entity. -func (m *ItemTokenIssuancePoliciesRequestBuilder) ByTokenIssuancePolicyIdString(tokenIssuancePolicyId string)(*ItemTokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) { +// ByTokenIssuancePolicyId provides operations to manage the tokenIssuancePolicies property of the microsoft.graph.servicePrincipal entity. +func (m *ItemTokenIssuancePoliciesRequestBuilder) ByTokenIssuancePolicyId(tokenIssuancePolicyId string)(*ItemTokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemTokenIssuancePoliciesRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemTokenIssuancePoliciesRequestBuilder) WithUrl(rawUrl string)(*ItemTokenIssuancePoliciesRequestBuilder) { + return NewItemTokenIssuancePoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_token_issuance_policies_token_issuance_policy_item_request_builder.go b/serviceprincipals/item_token_issuance_policies_token_issuance_policy_item_request_builder.go index cc41b1fb807..bda6b7ea394 100644 --- a/serviceprincipals/item_token_issuance_policies_token_issuance_policy_item_request_builder.go +++ b/serviceprincipals/item_token_issuance_policies_token_issuance_policy_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) ToGetRe } 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 *ItemTokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) WithUrl(rawUrl string)(*ItemTokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) { + return NewItemTokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_token_lifetime_policies_count_request_builder.go b/serviceprincipals/item_token_lifetime_policies_count_request_builder.go index c2ed56ecb27..61e3be006c0 100644 --- a/serviceprincipals/item_token_lifetime_policies_count_request_builder.go +++ b/serviceprincipals/item_token_lifetime_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTokenLifetimePoliciesCountRequestBuilder) ToGetRequestInformation(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 *ItemTokenLifetimePoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ItemTokenLifetimePoliciesCountRequestBuilder) { + return NewItemTokenLifetimePoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_token_lifetime_policies_request_builder.go b/serviceprincipals/item_token_lifetime_policies_request_builder.go index a617801b04c..eef0b2b4c03 100644 --- a/serviceprincipals/item_token_lifetime_policies_request_builder.go +++ b/serviceprincipals/item_token_lifetime_policies_request_builder.go @@ -39,8 +39,8 @@ type ItemTokenLifetimePoliciesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemTokenLifetimePoliciesRequestBuilderGetQueryParameters } -// ByTokenLifetimePolicyIdString provides operations to manage the tokenLifetimePolicies property of the microsoft.graph.servicePrincipal entity. -func (m *ItemTokenLifetimePoliciesRequestBuilder) ByTokenLifetimePolicyIdString(tokenLifetimePolicyId string)(*ItemTokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) { +// ByTokenLifetimePolicyId provides operations to manage the tokenLifetimePolicies property of the microsoft.graph.servicePrincipal entity. +func (m *ItemTokenLifetimePoliciesRequestBuilder) ByTokenLifetimePolicyId(tokenLifetimePolicyId string)(*ItemTokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemTokenLifetimePoliciesRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemTokenLifetimePoliciesRequestBuilder) WithUrl(rawUrl string)(*ItemTokenLifetimePoliciesRequestBuilder) { + return NewItemTokenLifetimePoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_token_lifetime_policies_token_lifetime_policy_item_request_builder.go b/serviceprincipals/item_token_lifetime_policies_token_lifetime_policy_item_request_builder.go index d33d42acbd8..4a3987b58e5 100644 --- a/serviceprincipals/item_token_lifetime_policies_token_lifetime_policy_item_request_builder.go +++ b/serviceprincipals/item_token_lifetime_policies_token_lifetime_policy_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) ToGetRe } 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 *ItemTokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) WithUrl(rawUrl string)(*ItemTokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) { + return NewItemTokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_transitive_member_of_count_request_builder.go b/serviceprincipals/item_transitive_member_of_count_request_builder.go index 3768c3d5d38..200f2540d78 100644 --- a/serviceprincipals/item_transitive_member_of_count_request_builder.go +++ b/serviceprincipals/item_transitive_member_of_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMemberOfCountRequestBuilder) ToGetRequestInformation(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 *ItemTransitiveMemberOfCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfCountRequestBuilder) { + return NewItemTransitiveMemberOfCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_transitive_member_of_directory_object_item_request_builder.go b/serviceprincipals/item_transitive_member_of_directory_object_item_request_builder.go index c48c2777266..af2bd5734cf 100644 --- a/serviceprincipals/item_transitive_member_of_directory_object_item_request_builder.go +++ b/serviceprincipals/item_transitive_member_of_directory_object_item_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) ToGetRequestIn } 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 *ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) { + return NewItemTransitiveMemberOfDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_transitive_member_of_graph_administrative_unit_count_request_builder.go b/serviceprincipals/item_transitive_member_of_graph_administrative_unit_count_request_builder.go index be9ad7ce8a8..906be2e6d3a 100644 --- a/serviceprincipals/item_transitive_member_of_graph_administrative_unit_count_request_builder.go +++ b/serviceprincipals/item_transitive_member_of_graph_administrative_unit_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder) ToGet } 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 *ItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder) { + return NewItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_transitive_member_of_graph_administrative_unit_request_builder.go b/serviceprincipals/item_transitive_member_of_graph_administrative_unit_request_builder.go index ffefe67efe0..22165b52043 100644 --- a/serviceprincipals/item_transitive_member_of_graph_administrative_unit_request_builder.go +++ b/serviceprincipals/item_transitive_member_of_graph_administrative_unit_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) ToGetReque } 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 *ItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) { + return NewItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_transitive_member_of_graph_directory_role_count_request_builder.go b/serviceprincipals/item_transitive_member_of_graph_directory_role_count_request_builder.go index 766edf538fd..657ba3d3f54 100644 --- a/serviceprincipals/item_transitive_member_of_graph_directory_role_count_request_builder.go +++ b/serviceprincipals/item_transitive_member_of_graph_directory_role_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMemberOfGraphDirectoryRoleCountRequestBuilder) ToGetReque } 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 *ItemTransitiveMemberOfGraphDirectoryRoleCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphDirectoryRoleCountRequestBuilder) { + return NewItemTransitiveMemberOfGraphDirectoryRoleCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_transitive_member_of_graph_directory_role_request_builder.go b/serviceprincipals/item_transitive_member_of_graph_directory_role_request_builder.go index 2df89000428..a9e7b89b88d 100644 --- a/serviceprincipals/item_transitive_member_of_graph_directory_role_request_builder.go +++ b/serviceprincipals/item_transitive_member_of_graph_directory_role_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemTransitiveMemberOfGraphDirectoryRoleRequestBuilder) ToGetRequestInf } 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 *ItemTransitiveMemberOfGraphDirectoryRoleRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphDirectoryRoleRequestBuilder) { + return NewItemTransitiveMemberOfGraphDirectoryRoleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_transitive_member_of_graph_group_count_request_builder.go b/serviceprincipals/item_transitive_member_of_graph_group_count_request_builder.go index d036530eaf8..5565f499a22 100644 --- a/serviceprincipals/item_transitive_member_of_graph_group_count_request_builder.go +++ b/serviceprincipals/item_transitive_member_of_graph_group_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMemberOfGraphGroupCountRequestBuilder) ToGetRequestInform } 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 *ItemTransitiveMemberOfGraphGroupCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphGroupCountRequestBuilder) { + return NewItemTransitiveMemberOfGraphGroupCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_transitive_member_of_graph_group_request_builder.go b/serviceprincipals/item_transitive_member_of_graph_group_request_builder.go index 1d2686fe8f8..820d9cd8bf2 100644 --- a/serviceprincipals/item_transitive_member_of_graph_group_request_builder.go +++ b/serviceprincipals/item_transitive_member_of_graph_group_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemTransitiveMemberOfGraphGroupRequestBuilder) 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 *ItemTransitiveMemberOfGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphGroupRequestBuilder) { + return NewItemTransitiveMemberOfGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_transitive_member_of_item_graph_administrative_unit_request_builder.go b/serviceprincipals/item_transitive_member_of_item_graph_administrative_unit_request_builder.go index 7f5fbcf8a1b..52a0ded80cd 100644 --- a/serviceprincipals/item_transitive_member_of_item_graph_administrative_unit_request_builder.go +++ b/serviceprincipals/item_transitive_member_of_item_graph_administrative_unit_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder) ToGetR } 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 *ItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder) { + return NewItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_transitive_member_of_item_graph_directory_role_request_builder.go b/serviceprincipals/item_transitive_member_of_item_graph_directory_role_request_builder.go index b2415a40125..2da4c0a6460 100644 --- a/serviceprincipals/item_transitive_member_of_item_graph_directory_role_request_builder.go +++ b/serviceprincipals/item_transitive_member_of_item_graph_directory_role_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTransitiveMemberOfItemGraphDirectoryRoleRequestBuilder) ToGetReques } 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 *ItemTransitiveMemberOfItemGraphDirectoryRoleRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfItemGraphDirectoryRoleRequestBuilder) { + return NewItemTransitiveMemberOfItemGraphDirectoryRoleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_transitive_member_of_item_graph_group_request_builder.go b/serviceprincipals/item_transitive_member_of_item_graph_group_request_builder.go index 8b945b5e749..6144ef60c6b 100644 --- a/serviceprincipals/item_transitive_member_of_item_graph_group_request_builder.go +++ b/serviceprincipals/item_transitive_member_of_item_graph_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTransitiveMemberOfItemGraphGroupRequestBuilder) ToGetRequestInforma } 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 *ItemTransitiveMemberOfItemGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfItemGraphGroupRequestBuilder) { + return NewItemTransitiveMemberOfItemGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_transitive_member_of_request_builder.go b/serviceprincipals/item_transitive_member_of_request_builder.go index 73b824fc614..d0750de8c41 100644 --- a/serviceprincipals/item_transitive_member_of_request_builder.go +++ b/serviceprincipals/item_transitive_member_of_request_builder.go @@ -39,8 +39,8 @@ type ItemTransitiveMemberOfRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemTransitiveMemberOfRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the transitiveMemberOf property of the microsoft.graph.servicePrincipal entity. -func (m *ItemTransitiveMemberOfRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the transitiveMemberOf property of the microsoft.graph.servicePrincipal entity. +func (m *ItemTransitiveMemberOfRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -117,3 +117,7 @@ func (m *ItemTransitiveMemberOfRequestBuilder) ToGetRequestInformation(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 *ItemTransitiveMemberOfRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfRequestBuilder) { + return NewItemTransitiveMemberOfRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/item_update_password_single_sign_on_credentials_request_builder.go b/serviceprincipals/item_update_password_single_sign_on_credentials_request_builder.go index 4021346ca0a..14ee1060785 100644 --- a/serviceprincipals/item_update_password_single_sign_on_credentials_request_builder.go +++ b/serviceprincipals/item_update_password_single_sign_on_credentials_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemUpdatePasswordSingleSignOnCredentialsRequestBuilder) ToPostRequestI } 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 *ItemUpdatePasswordSingleSignOnCredentialsRequestBuilder) WithUrl(rawUrl string)(*ItemUpdatePasswordSingleSignOnCredentialsRequestBuilder) { + return NewItemUpdatePasswordSingleSignOnCredentialsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/service_principal_item_request_builder.go b/serviceprincipals/service_principal_item_request_builder.go index dbb61c42065..454e2913479 100644 --- a/serviceprincipals/service_principal_item_request_builder.go +++ b/serviceprincipals/service_principal_item_request_builder.go @@ -274,3 +274,7 @@ func (m *ServicePrincipalItemRequestBuilder) TransitiveMemberOf()(*ItemTransitiv func (m *ServicePrincipalItemRequestBuilder) UpdatePasswordSingleSignOnCredentials()(*ItemUpdatePasswordSingleSignOnCredentialsRequestBuilder) { return NewItemUpdatePasswordSingleSignOnCredentialsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ServicePrincipalItemRequestBuilder) WithUrl(rawUrl string)(*ServicePrincipalItemRequestBuilder) { + return NewServicePrincipalItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/service_principals_request_builder.go b/serviceprincipals/service_principals_request_builder.go index fb237686ef9..8a66fc37589 100644 --- a/serviceprincipals/service_principals_request_builder.go +++ b/serviceprincipals/service_principals_request_builder.go @@ -46,8 +46,8 @@ type ServicePrincipalsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByServicePrincipalIdString provides operations to manage the collection of servicePrincipal entities. -func (m *ServicePrincipalsRequestBuilder) ByServicePrincipalIdString(servicePrincipalId string)(*ServicePrincipalItemRequestBuilder) { +// ByServicePrincipalId provides operations to manage the collection of servicePrincipal entities. +func (m *ServicePrincipalsRequestBuilder) ByServicePrincipalId(servicePrincipalId string)(*ServicePrincipalItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -167,3 +167,7 @@ func (m *ServicePrincipalsRequestBuilder) ToPostRequestInformation(ctx context.C func (m *ServicePrincipalsRequestBuilder) ValidateProperties()(*ValidatePropertiesRequestBuilder) { return NewValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ServicePrincipalsRequestBuilder) WithUrl(rawUrl string)(*ServicePrincipalsRequestBuilder) { + return NewServicePrincipalsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipals/validate_properties_request_builder.go b/serviceprincipals/validate_properties_request_builder.go index b236f9df658..4bd9f560e16 100644 --- a/serviceprincipals/validate_properties_request_builder.go +++ b/serviceprincipals/validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ValidatePropertiesRequestBuilder) 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 *ValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ValidatePropertiesRequestBuilder) { + return NewValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/serviceprincipalswithappid/service_principals_with_app_id_request_builder.go b/serviceprincipalswithappid/service_principals_with_app_id_request_builder.go index 9a67f6b1d08..254bb7d112f 100644 --- a/serviceprincipalswithappid/service_principals_with_app_id_request_builder.go +++ b/serviceprincipalswithappid/service_principals_with_app_id_request_builder.go @@ -165,3 +165,7 @@ func (m *ServicePrincipalsWithAppIdRequestBuilder) ToPatchRequestInformation(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 *ServicePrincipalsWithAppIdRequestBuilder) WithUrl(rawUrl string)(*ServicePrincipalsWithAppIdRequestBuilder) { + return NewServicePrincipalsWithAppIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/settings/count_request_builder.go b/settings/count_request_builder.go index 7890f97a90d..f914d1b463a 100644 --- a/settings/count_request_builder.go +++ b/settings/count_request_builder.go @@ -72,3 +72,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); +} diff --git a/settings/directory_setting_item_request_builder.go b/settings/directory_setting_item_request_builder.go index 8baeefd29f4..be29cd2c8aa 100644 --- a/settings/directory_setting_item_request_builder.go +++ b/settings/directory_setting_item_request_builder.go @@ -162,3 +162,7 @@ func (m *DirectorySettingItemRequestBuilder) ToPatchRequestInformation(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 *DirectorySettingItemRequestBuilder) WithUrl(rawUrl string)(*DirectorySettingItemRequestBuilder) { + return NewDirectorySettingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/settings/settings_request_builder.go b/settings/settings_request_builder.go index 089e1e4b22f..bfc1f47748a 100644 --- a/settings/settings_request_builder.go +++ b/settings/settings_request_builder.go @@ -44,8 +44,8 @@ type SettingsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDirectorySettingIdString provides operations to manage the collection of directorySetting entities. -func (m *SettingsRequestBuilder) ByDirectorySettingIdString(directorySettingId string)(*DirectorySettingItemRequestBuilder) { +// ByDirectorySettingId provides operations to manage the collection of directorySetting entities. +func (m *SettingsRequestBuilder) ByDirectorySettingId(directorySettingId string)(*DirectorySettingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *SettingsRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *SettingsRequestBuilder) WithUrl(rawUrl string)(*SettingsRequestBuilder) { + return NewSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/count_request_builder.go b/shares/count_request_builder.go index caae9751f6f..8053e3edfca 100644 --- a/shares/count_request_builder.go +++ b/shares/count_request_builder.go @@ -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); +} diff --git a/shares/item_created_by_user_mailbox_settings_request_builder.go b/shares/item_created_by_user_mailbox_settings_request_builder.go index e97443ebf65..2ae003fa53b 100644 --- a/shares/item_created_by_user_mailbox_settings_request_builder.go +++ b/shares/item_created_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemCreatedByUserMailboxSettingsRequestBuilder) ToPatchRequestInformati } 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 *ItemCreatedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemCreatedByUserMailboxSettingsRequestBuilder) { + return NewItemCreatedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_created_by_user_request_builder.go b/shares/item_created_by_user_request_builder.go index d7a3a80b6d5..81d0b5caa4f 100644 --- a/shares/item_created_by_user_request_builder.go +++ b/shares/item_created_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemCreatedByUserRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemCreatedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemCreatedByUserRequestBuilder) { + return NewItemCreatedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_drive_item_content_request_builder.go b/shares/item_drive_item_content_request_builder.go index acfb6b798ff..ba6188d8f0b 100644 --- a/shares/item_drive_item_content_request_builder.go +++ b/shares/item_drive_item_content_request_builder.go @@ -105,3 +105,7 @@ func (m *ItemDriveItemContentRequestBuilder) ToPutRequestInformation(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 *ItemDriveItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemDriveItemContentRequestBuilder) { + return NewItemDriveItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_drive_item_request_builder.go b/shares/item_drive_item_request_builder.go index 2cdf401036a..77085e11231 100644 --- a/shares/item_drive_item_request_builder.go +++ b/shares/item_drive_item_request_builder.go @@ -82,3 +82,7 @@ func (m *ItemDriveItemRequestBuilder) ToGetRequestInformation(ctx context.Contex } 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 *ItemDriveItemRequestBuilder) WithUrl(rawUrl string)(*ItemDriveItemRequestBuilder) { + return NewItemDriveItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_items_count_request_builder.go b/shares/item_items_count_request_builder.go index 08b4b9a0e76..e1decbd60c5 100644 --- a/shares/item_items_count_request_builder.go +++ b/shares/item_items_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemItemsCountRequestBuilder) ToGetRequestInformation(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 *ItemItemsCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsCountRequestBuilder) { + return NewItemItemsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_items_drive_item_item_request_builder.go b/shares/item_items_drive_item_item_request_builder.go index d538edf3206..c44e4ff05ed 100644 --- a/shares/item_items_drive_item_item_request_builder.go +++ b/shares/item_items_drive_item_item_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemItemsDriveItemItemRequestBuilder) ToGetRequestInformation(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 *ItemItemsDriveItemItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsDriveItemItemRequestBuilder) { + return NewItemItemsDriveItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_items_item_content_request_builder.go b/shares/item_items_item_content_request_builder.go index 0ae0aee16ee..081331d5c76 100644 --- a/shares/item_items_item_content_request_builder.go +++ b/shares/item_items_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemItemsItemContentRequestBuilder) ToPutRequestInformation(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 *ItemItemsItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemItemsItemContentRequestBuilder) { + return NewItemItemsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_items_request_builder.go b/shares/item_items_request_builder.go index 32493582fa6..230acd071ad 100644 --- a/shares/item_items_request_builder.go +++ b/shares/item_items_request_builder.go @@ -39,8 +39,8 @@ type ItemItemsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemItemsRequestBuilderGetQueryParameters } -// ByDriveItemIdString provides operations to manage the items property of the microsoft.graph.sharedDriveItem entity. -func (m *ItemItemsRequestBuilder) ByDriveItemIdString(driveItemId string)(*ItemItemsDriveItemItemRequestBuilder) { +// ByDriveItemId provides operations to manage the items property of the microsoft.graph.sharedDriveItem entity. +func (m *ItemItemsRequestBuilder) ByDriveItemId(driveItemId string)(*ItemItemsDriveItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemItemsRequestBuilder) ToGetRequestInformation(ctx context.Context, r } 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 *ItemItemsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsRequestBuilder) { + return NewItemItemsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_last_modified_by_user_mailbox_settings_request_builder.go b/shares/item_last_modified_by_user_mailbox_settings_request_builder.go index f86db37c330..5c6a7997ee7 100644 --- a/shares/item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/shares/item_last_modified_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemLastModifiedByUserMailboxSettingsRequestBuilder) 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 *ItemLastModifiedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewItemLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_last_modified_by_user_request_builder.go b/shares/item_last_modified_by_user_request_builder.go index c7c8daa4be5..5c4de057418 100644 --- a/shares/item_last_modified_by_user_request_builder.go +++ b/shares/item_last_modified_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemLastModifiedByUserRequestBuilder) ToGetRequestInformation(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 *ItemLastModifiedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemLastModifiedByUserRequestBuilder) { + return NewItemLastModifiedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_activities_request_builder.go b/shares/item_list_activities_request_builder.go index 30441c1fc70..b6f2a1b6ca0 100644 --- a/shares/item_list_activities_request_builder.go +++ b/shares/item_list_activities_request_builder.go @@ -130,3 +130,7 @@ func (m *ItemListActivitiesRequestBuilder) 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 *ItemListActivitiesRequestBuilder) WithUrl(rawUrl string)(*ItemListActivitiesRequestBuilder) { + return NewItemListActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_columns_column_definition_item_request_builder.go b/shares/item_list_columns_column_definition_item_request_builder.go index 12d3dd96f5e..f59d1cc463a 100644 --- a/shares/item_list_columns_column_definition_item_request_builder.go +++ b/shares/item_list_columns_column_definition_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemListColumnsColumnDefinitionItemRequestBuilder) ToPatchRequestInform } 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 *ItemListColumnsColumnDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListColumnsColumnDefinitionItemRequestBuilder) { + return NewItemListColumnsColumnDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_columns_count_request_builder.go b/shares/item_list_columns_count_request_builder.go index 24829f314b9..89a249b8069 100644 --- a/shares/item_list_columns_count_request_builder.go +++ b/shares/item_list_columns_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListColumnsCountRequestBuilder) ToGetRequestInformation(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 *ItemListColumnsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListColumnsCountRequestBuilder) { + return NewItemListColumnsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_columns_item_source_column_request_builder.go b/shares/item_list_columns_item_source_column_request_builder.go index 719ebee7306..4e98138374f 100644 --- a/shares/item_list_columns_item_source_column_request_builder.go +++ b/shares/item_list_columns_item_source_column_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListColumnsItemSourceColumnRequestBuilder) 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 *ItemListColumnsItemSourceColumnRequestBuilder) WithUrl(rawUrl string)(*ItemListColumnsItemSourceColumnRequestBuilder) { + return NewItemListColumnsItemSourceColumnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_columns_request_builder.go b/shares/item_list_columns_request_builder.go index d991e71ddca..fe1005e0107 100644 --- a/shares/item_list_columns_request_builder.go +++ b/shares/item_list_columns_request_builder.go @@ -46,8 +46,8 @@ type ItemListColumnsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByColumnDefinitionIdString provides operations to manage the columns property of the microsoft.graph.list entity. -func (m *ItemListColumnsRequestBuilder) ByColumnDefinitionIdString(columnDefinitionId string)(*ItemListColumnsColumnDefinitionItemRequestBuilder) { +// ByColumnDefinitionId provides operations to manage the columns property of the microsoft.graph.list entity. +func (m *ItemListColumnsRequestBuilder) ByColumnDefinitionId(columnDefinitionId string)(*ItemListColumnsColumnDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemListColumnsRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *ItemListColumnsRequestBuilder) WithUrl(rawUrl string)(*ItemListColumnsRequestBuilder) { + return NewItemListColumnsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_add_copy_from_content_type_hub_request_builder.go b/shares/item_list_content_types_add_copy_from_content_type_hub_request_builder.go index c55aeea0e85..a05438a7a51 100644 --- a/shares/item_list_content_types_add_copy_from_content_type_hub_request_builder.go +++ b/shares/item_list_content_types_add_copy_from_content_type_hub_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemListContentTypesAddCopyFromContentTypeHubRequestBuilder) ToPostRequ } 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 *ItemListContentTypesAddCopyFromContentTypeHubRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesAddCopyFromContentTypeHubRequestBuilder) { + return NewItemListContentTypesAddCopyFromContentTypeHubRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_add_copy_request_builder.go b/shares/item_list_content_types_add_copy_request_builder.go index 9f7213d19e7..7982ba363fb 100644 --- a/shares/item_list_content_types_add_copy_request_builder.go +++ b/shares/item_list_content_types_add_copy_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemListContentTypesAddCopyRequestBuilder) 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 *ItemListContentTypesAddCopyRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesAddCopyRequestBuilder) { + return NewItemListContentTypesAddCopyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_content_type_item_request_builder.go b/shares/item_list_content_types_content_type_item_request_builder.go index 04edf1ffa02..40593f867c4 100644 --- a/shares/item_list_content_types_content_type_item_request_builder.go +++ b/shares/item_list_content_types_content_type_item_request_builder.go @@ -193,3 +193,7 @@ func (m *ItemListContentTypesContentTypeItemRequestBuilder) ToPatchRequestInform func (m *ItemListContentTypesContentTypeItemRequestBuilder) Unpublish()(*ItemListContentTypesItemUnpublishRequestBuilder) { return NewItemListContentTypesItemUnpublishRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemListContentTypesContentTypeItemRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesContentTypeItemRequestBuilder) { + return NewItemListContentTypesContentTypeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_count_request_builder.go b/shares/item_list_content_types_count_request_builder.go index b3ed5f7d379..79b7928c638 100644 --- a/shares/item_list_content_types_count_request_builder.go +++ b/shares/item_list_content_types_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListContentTypesCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemListContentTypesCountRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesCountRequestBuilder) { + return NewItemListContentTypesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_get_compatible_hub_content_types_request_builder.go b/shares/item_list_content_types_get_compatible_hub_content_types_request_builder.go index f2c50628013..749233eb2e0 100644 --- a/shares/item_list_content_types_get_compatible_hub_content_types_request_builder.go +++ b/shares/item_list_content_types_get_compatible_hub_content_types_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemListContentTypesGetCompatibleHubContentTypesRequestBuilder) ToGetRe } 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 *ItemListContentTypesGetCompatibleHubContentTypesRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesGetCompatibleHubContentTypesRequestBuilder) { + return NewItemListContentTypesGetCompatibleHubContentTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_item_associate_with_hub_sites_request_builder.go b/shares/item_list_content_types_item_associate_with_hub_sites_request_builder.go index b8a8fa1c47d..a37bb3dd706 100644 --- a/shares/item_list_content_types_item_associate_with_hub_sites_request_builder.go +++ b/shares/item_list_content_types_item_associate_with_hub_sites_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemListContentTypesItemAssociateWithHubSitesRequestBuilder) ToPostRequ } 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 *ItemListContentTypesItemAssociateWithHubSitesRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemAssociateWithHubSitesRequestBuilder) { + return NewItemListContentTypesItemAssociateWithHubSitesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_item_base_request_builder.go b/shares/item_list_content_types_item_base_request_builder.go index 2cd17e64949..d4e8056de66 100644 --- a/shares/item_list_content_types_item_base_request_builder.go +++ b/shares/item_list_content_types_item_base_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListContentTypesItemBaseRequestBuilder) ToGetRequestInformation(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 *ItemListContentTypesItemBaseRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemBaseRequestBuilder) { + return NewItemListContentTypesItemBaseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_item_base_types_content_type_item_request_builder.go b/shares/item_list_content_types_item_base_types_content_type_item_request_builder.go index 964dbc51335..d2cda9002d6 100644 --- a/shares/item_list_content_types_item_base_types_content_type_item_request_builder.go +++ b/shares/item_list_content_types_item_base_types_content_type_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListContentTypesItemBaseTypesContentTypeItemRequestBuilder) ToGetRe } 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 *ItemListContentTypesItemBaseTypesContentTypeItemRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemBaseTypesContentTypeItemRequestBuilder) { + return NewItemListContentTypesItemBaseTypesContentTypeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_item_base_types_count_request_builder.go b/shares/item_list_content_types_item_base_types_count_request_builder.go index 74e8079d337..d27f034fc61 100644 --- a/shares/item_list_content_types_item_base_types_count_request_builder.go +++ b/shares/item_list_content_types_item_base_types_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListContentTypesItemBaseTypesCountRequestBuilder) ToGetRequestInfor } 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 *ItemListContentTypesItemBaseTypesCountRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemBaseTypesCountRequestBuilder) { + return NewItemListContentTypesItemBaseTypesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_item_base_types_request_builder.go b/shares/item_list_content_types_item_base_types_request_builder.go index e9d8ebd58aa..bdfb8dac69e 100644 --- a/shares/item_list_content_types_item_base_types_request_builder.go +++ b/shares/item_list_content_types_item_base_types_request_builder.go @@ -39,8 +39,8 @@ type ItemListContentTypesItemBaseTypesRequestBuilderGetRequestConfiguration stru // Request query parameters QueryParameters *ItemListContentTypesItemBaseTypesRequestBuilderGetQueryParameters } -// ByContentTypeId1String provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. -func (m *ItemListContentTypesItemBaseTypesRequestBuilder) ByContentTypeId1String(contentTypeId1 string)(*ItemListContentTypesItemBaseTypesContentTypeItemRequestBuilder) { +// ByContentTypeId1 provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. +func (m *ItemListContentTypesItemBaseTypesRequestBuilder) ByContentTypeId1(contentTypeId1 string)(*ItemListContentTypesItemBaseTypesContentTypeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemListContentTypesItemBaseTypesRequestBuilder) 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 *ItemListContentTypesItemBaseTypesRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemBaseTypesRequestBuilder) { + return NewItemListContentTypesItemBaseTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_item_column_links_column_link_item_request_builder.go b/shares/item_list_content_types_item_column_links_column_link_item_request_builder.go index b251bc5f702..c71f1375f82 100644 --- a/shares/item_list_content_types_item_column_links_column_link_item_request_builder.go +++ b/shares/item_list_content_types_item_column_links_column_link_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemListContentTypesItemColumnLinksColumnLinkItemRequestBuilder) ToPatc } 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 *ItemListContentTypesItemColumnLinksColumnLinkItemRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemColumnLinksColumnLinkItemRequestBuilder) { + return NewItemListContentTypesItemColumnLinksColumnLinkItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_item_column_links_count_request_builder.go b/shares/item_list_content_types_item_column_links_count_request_builder.go index 8afa1fdd176..6c95909afce 100644 --- a/shares/item_list_content_types_item_column_links_count_request_builder.go +++ b/shares/item_list_content_types_item_column_links_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListContentTypesItemColumnLinksCountRequestBuilder) ToGetRequestInf } 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 *ItemListContentTypesItemColumnLinksCountRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemColumnLinksCountRequestBuilder) { + return NewItemListContentTypesItemColumnLinksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_item_column_links_request_builder.go b/shares/item_list_content_types_item_column_links_request_builder.go index cc88934cf25..da00331c3da 100644 --- a/shares/item_list_content_types_item_column_links_request_builder.go +++ b/shares/item_list_content_types_item_column_links_request_builder.go @@ -46,8 +46,8 @@ type ItemListContentTypesItemColumnLinksRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByColumnLinkIdString provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. -func (m *ItemListContentTypesItemColumnLinksRequestBuilder) ByColumnLinkIdString(columnLinkId string)(*ItemListContentTypesItemColumnLinksColumnLinkItemRequestBuilder) { +// ByColumnLinkId provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. +func (m *ItemListContentTypesItemColumnLinksRequestBuilder) ByColumnLinkId(columnLinkId string)(*ItemListContentTypesItemColumnLinksColumnLinkItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemListContentTypesItemColumnLinksRequestBuilder) ToPostRequestInforma } 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 *ItemListContentTypesItemColumnLinksRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemColumnLinksRequestBuilder) { + return NewItemListContentTypesItemColumnLinksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_item_column_positions_column_definition_item_request_builder.go b/shares/item_list_content_types_item_column_positions_column_definition_item_request_builder.go index cd4683acb1e..3f4e5234d48 100644 --- a/shares/item_list_content_types_item_column_positions_column_definition_item_request_builder.go +++ b/shares/item_list_content_types_item_column_positions_column_definition_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListContentTypesItemColumnPositionsColumnDefinitionItemRequestBuild } 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 *ItemListContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) { + return NewItemListContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_item_column_positions_count_request_builder.go b/shares/item_list_content_types_item_column_positions_count_request_builder.go index 665909a40ba..dcc553aa693 100644 --- a/shares/item_list_content_types_item_column_positions_count_request_builder.go +++ b/shares/item_list_content_types_item_column_positions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListContentTypesItemColumnPositionsCountRequestBuilder) ToGetReques } 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 *ItemListContentTypesItemColumnPositionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemColumnPositionsCountRequestBuilder) { + return NewItemListContentTypesItemColumnPositionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_item_column_positions_request_builder.go b/shares/item_list_content_types_item_column_positions_request_builder.go index eb4412bbdad..71df4fe3261 100644 --- a/shares/item_list_content_types_item_column_positions_request_builder.go +++ b/shares/item_list_content_types_item_column_positions_request_builder.go @@ -39,8 +39,8 @@ type ItemListContentTypesItemColumnPositionsRequestBuilderGetRequestConfiguratio // Request query parameters QueryParameters *ItemListContentTypesItemColumnPositionsRequestBuilderGetQueryParameters } -// ByColumnDefinitionIdString provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. -func (m *ItemListContentTypesItemColumnPositionsRequestBuilder) ByColumnDefinitionIdString(columnDefinitionId string)(*ItemListContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) { +// ByColumnDefinitionId provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. +func (m *ItemListContentTypesItemColumnPositionsRequestBuilder) ByColumnDefinitionId(columnDefinitionId string)(*ItemListContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemListContentTypesItemColumnPositionsRequestBuilder) ToGetRequestInfo } 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 *ItemListContentTypesItemColumnPositionsRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemColumnPositionsRequestBuilder) { + return NewItemListContentTypesItemColumnPositionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_item_columns_column_definition_item_request_builder.go b/shares/item_list_content_types_item_columns_column_definition_item_request_builder.go index 4a433e3c48b..d053385aa29 100644 --- a/shares/item_list_content_types_item_columns_column_definition_item_request_builder.go +++ b/shares/item_list_content_types_item_columns_column_definition_item_request_builder.go @@ -166,3 +166,7 @@ func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToPa } 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 *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) { + return NewItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_item_columns_count_request_builder.go b/shares/item_list_content_types_item_columns_count_request_builder.go index a3b439fefc9..7f0e312eb76 100644 --- a/shares/item_list_content_types_item_columns_count_request_builder.go +++ b/shares/item_list_content_types_item_columns_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListContentTypesItemColumnsCountRequestBuilder) ToGetRequestInforma } 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 *ItemListContentTypesItemColumnsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemColumnsCountRequestBuilder) { + return NewItemListContentTypesItemColumnsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_item_columns_item_source_column_request_builder.go b/shares/item_list_content_types_item_columns_item_source_column_request_builder.go index e47759ad2ef..47521f0a45c 100644 --- a/shares/item_list_content_types_item_columns_item_source_column_request_builder.go +++ b/shares/item_list_content_types_item_columns_item_source_column_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListContentTypesItemColumnsItemSourceColumnRequestBuilder) ToGetReq } 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 *ItemListContentTypesItemColumnsItemSourceColumnRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemColumnsItemSourceColumnRequestBuilder) { + return NewItemListContentTypesItemColumnsItemSourceColumnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_item_columns_request_builder.go b/shares/item_list_content_types_item_columns_request_builder.go index d06be0c2668..c8e42719c49 100644 --- a/shares/item_list_content_types_item_columns_request_builder.go +++ b/shares/item_list_content_types_item_columns_request_builder.go @@ -46,8 +46,8 @@ type ItemListContentTypesItemColumnsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByColumnDefinitionIdString provides operations to manage the columns property of the microsoft.graph.contentType entity. -func (m *ItemListContentTypesItemColumnsRequestBuilder) ByColumnDefinitionIdString(columnDefinitionId string)(*ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) { +// ByColumnDefinitionId provides operations to manage the columns property of the microsoft.graph.contentType entity. +func (m *ItemListContentTypesItemColumnsRequestBuilder) ByColumnDefinitionId(columnDefinitionId string)(*ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemListContentTypesItemColumnsRequestBuilder) 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 *ItemListContentTypesItemColumnsRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemColumnsRequestBuilder) { + return NewItemListContentTypesItemColumnsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_item_copy_to_default_content_location_request_builder.go b/shares/item_list_content_types_item_copy_to_default_content_location_request_builder.go index b8f694c1624..a3ebc21fb21 100644 --- a/shares/item_list_content_types_item_copy_to_default_content_location_request_builder.go +++ b/shares/item_list_content_types_item_copy_to_default_content_location_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemListContentTypesItemCopyToDefaultContentLocationRequestBuilder) 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 *ItemListContentTypesItemCopyToDefaultContentLocationRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemCopyToDefaultContentLocationRequestBuilder) { + return NewItemListContentTypesItemCopyToDefaultContentLocationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_item_is_published_request_builder.go b/shares/item_list_content_types_item_is_published_request_builder.go index 5f493e1ad3d..87cd8e52e03 100644 --- a/shares/item_list_content_types_item_is_published_request_builder.go +++ b/shares/item_list_content_types_item_is_published_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemListContentTypesItemIsPublishedRequestBuilder) ToGetRequestInformat } 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 *ItemListContentTypesItemIsPublishedRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemIsPublishedRequestBuilder) { + return NewItemListContentTypesItemIsPublishedRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_item_publish_request_builder.go b/shares/item_list_content_types_item_publish_request_builder.go index a92f5508aa5..43ca620557c 100644 --- a/shares/item_list_content_types_item_publish_request_builder.go +++ b/shares/item_list_content_types_item_publish_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemListContentTypesItemPublishRequestBuilder) 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 *ItemListContentTypesItemPublishRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemPublishRequestBuilder) { + return NewItemListContentTypesItemPublishRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_item_unpublish_request_builder.go b/shares/item_list_content_types_item_unpublish_request_builder.go index 59173a92e3d..4cda4e658b0 100644 --- a/shares/item_list_content_types_item_unpublish_request_builder.go +++ b/shares/item_list_content_types_item_unpublish_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemListContentTypesItemUnpublishRequestBuilder) ToPostRequestInformati } 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 *ItemListContentTypesItemUnpublishRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesItemUnpublishRequestBuilder) { + return NewItemListContentTypesItemUnpublishRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_content_types_request_builder.go b/shares/item_list_content_types_request_builder.go index 179b4744cd4..c7a068ec6fe 100644 --- a/shares/item_list_content_types_request_builder.go +++ b/shares/item_list_content_types_request_builder.go @@ -54,8 +54,8 @@ func (m *ItemListContentTypesRequestBuilder) AddCopy()(*ItemListContentTypesAddC func (m *ItemListContentTypesRequestBuilder) AddCopyFromContentTypeHub()(*ItemListContentTypesAddCopyFromContentTypeHubRequestBuilder) { return NewItemListContentTypesAddCopyFromContentTypeHubRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByContentTypeIdString provides operations to manage the contentTypes property of the microsoft.graph.list entity. -func (m *ItemListContentTypesRequestBuilder) ByContentTypeIdString(contentTypeId string)(*ItemListContentTypesContentTypeItemRequestBuilder) { +// ByContentTypeId provides operations to manage the contentTypes property of the microsoft.graph.list entity. +func (m *ItemListContentTypesRequestBuilder) ByContentTypeId(contentTypeId string)(*ItemListContentTypesContentTypeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -160,3 +160,7 @@ func (m *ItemListContentTypesRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemListContentTypesRequestBuilder) WithUrl(rawUrl string)(*ItemListContentTypesRequestBuilder) { + return NewItemListContentTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_created_by_user_mailbox_settings_request_builder.go b/shares/item_list_created_by_user_mailbox_settings_request_builder.go index 519a6ed4911..5f895f221ac 100644 --- a/shares/item_list_created_by_user_mailbox_settings_request_builder.go +++ b/shares/item_list_created_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemListCreatedByUserMailboxSettingsRequestBuilder) ToPatchRequestInfor } 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 *ItemListCreatedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemListCreatedByUserMailboxSettingsRequestBuilder) { + return NewItemListCreatedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_created_by_user_request_builder.go b/shares/item_list_created_by_user_request_builder.go index 614602f8bfa..8857a02a426 100644 --- a/shares/item_list_created_by_user_request_builder.go +++ b/shares/item_list_created_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemListCreatedByUserRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemListCreatedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemListCreatedByUserRequestBuilder) { + return NewItemListCreatedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_drive_request_builder.go b/shares/item_list_drive_request_builder.go index 3fded0259bc..a258572ea1a 100644 --- a/shares/item_list_drive_request_builder.go +++ b/shares/item_list_drive_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListDriveRequestBuilder) ToGetRequestInformation(ctx context.Contex } 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 *ItemListDriveRequestBuilder) WithUrl(rawUrl string)(*ItemListDriveRequestBuilder) { + return NewItemListDriveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_item_request_builder.go b/shares/item_list_item_request_builder.go index fc0dd994b78..36a61818e28 100644 --- a/shares/item_list_item_request_builder.go +++ b/shares/item_list_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListItemRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemListItemRequestBuilder) WithUrl(rawUrl string)(*ItemListItemRequestBuilder) { + return NewItemListItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_delta_request_builder.go b/shares/item_list_items_delta_request_builder.go index 7a25f830d25..6dd5d67492b 100644 --- a/shares/item_list_items_delta_request_builder.go +++ b/shares/item_list_items_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemListItemsDeltaRequestBuilder) 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 *ItemListItemsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsDeltaRequestBuilder) { + return NewItemListItemsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_delta_with_token_request_builder.go b/shares/item_list_items_delta_with_token_request_builder.go index 6f21fe264ae..0ea0cbe7a14 100644 --- a/shares/item_list_items_delta_with_token_request_builder.go +++ b/shares/item_list_items_delta_with_token_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemListItemsDeltaWithTokenRequestBuilder) ToGetRequestInformation(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 *ItemListItemsDeltaWithTokenRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsDeltaWithTokenRequestBuilder) { + return NewItemListItemsDeltaWithTokenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_activities_count_request_builder.go b/shares/item_list_items_item_activities_count_request_builder.go index 8d587310bde..481f299f3d4 100644 --- a/shares/item_list_items_item_activities_count_request_builder.go +++ b/shares/item_list_items_item_activities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListItemsItemActivitiesCountRequestBuilder) 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 *ItemListItemsItemActivitiesCountRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemActivitiesCountRequestBuilder) { + return NewItemListItemsItemActivitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_activities_item_activity_o_l_d_item_request_builder.go b/shares/item_list_items_item_activities_item_activity_o_l_d_item_request_builder.go index 393100db24b..4fd867245e5 100644 --- a/shares/item_list_items_item_activities_item_activity_o_l_d_item_request_builder.go +++ b/shares/item_list_items_item_activities_item_activity_o_l_d_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemListItemsItemActivitiesItemActivityOLDItemRequestBuilder) ToPatchRe } 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 *ItemListItemsItemActivitiesItemActivityOLDItemRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemActivitiesItemActivityOLDItemRequestBuilder) { + return NewItemListItemsItemActivitiesItemActivityOLDItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_activities_item_drive_item_content_request_builder.go b/shares/item_list_items_item_activities_item_drive_item_content_request_builder.go index 201e6585a61..052655cdbec 100644 --- a/shares/item_list_items_item_activities_item_drive_item_content_request_builder.go +++ b/shares/item_list_items_item_activities_item_drive_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) ToPutReq } 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 *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) { + return NewItemListItemsItemActivitiesItemDriveItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_activities_item_drive_item_request_builder.go b/shares/item_list_items_item_activities_item_drive_item_request_builder.go index 6b3eaa222b1..e23b1579d5a 100644 --- a/shares/item_list_items_item_activities_item_drive_item_request_builder.go +++ b/shares/item_list_items_item_activities_item_drive_item_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemListItemsItemActivitiesItemDriveItemRequestBuilder) ToGetRequestInf } 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 *ItemListItemsItemActivitiesItemDriveItemRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemActivitiesItemDriveItemRequestBuilder) { + return NewItemListItemsItemActivitiesItemDriveItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_activities_item_list_item_request_builder.go b/shares/item_list_items_item_activities_item_list_item_request_builder.go index f3f10149333..aab68476575 100644 --- a/shares/item_list_items_item_activities_item_list_item_request_builder.go +++ b/shares/item_list_items_item_activities_item_list_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListItemsItemActivitiesItemListItemRequestBuilder) ToGetRequestInfo } 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 *ItemListItemsItemActivitiesItemListItemRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemActivitiesItemListItemRequestBuilder) { + return NewItemListItemsItemActivitiesItemListItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_activities_request_builder.go b/shares/item_list_items_item_activities_request_builder.go index 0099e4cf3f7..19fc0b62b72 100644 --- a/shares/item_list_items_item_activities_request_builder.go +++ b/shares/item_list_items_item_activities_request_builder.go @@ -46,8 +46,8 @@ type ItemListItemsItemActivitiesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByItemActivityOLDIdString provides operations to manage the activities property of the microsoft.graph.listItem entity. -func (m *ItemListItemsItemActivitiesRequestBuilder) ByItemActivityOLDIdString(itemActivityOLDId string)(*ItemListItemsItemActivitiesItemActivityOLDItemRequestBuilder) { +// ByItemActivityOLDId provides operations to manage the activities property of the microsoft.graph.listItem entity. +func (m *ItemListItemsItemActivitiesRequestBuilder) ByItemActivityOLDId(itemActivityOLDId string)(*ItemListItemsItemActivitiesItemActivityOLDItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemListItemsItemActivitiesRequestBuilder) 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 *ItemListItemsItemActivitiesRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemActivitiesRequestBuilder) { + return NewItemListItemsItemActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_analytics_request_builder.go b/shares/item_list_items_item_analytics_request_builder.go index 7e3b51f65a8..96317f3c910 100644 --- a/shares/item_list_items_item_analytics_request_builder.go +++ b/shares/item_list_items_item_analytics_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListItemsItemAnalyticsRequestBuilder) ToGetRequestInformation(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 *ItemListItemsItemAnalyticsRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemAnalyticsRequestBuilder) { + return NewItemListItemsItemAnalyticsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_create_link_request_builder.go b/shares/item_list_items_item_create_link_request_builder.go index 4d2d24267d8..7de964a88b0 100644 --- a/shares/item_list_items_item_create_link_request_builder.go +++ b/shares/item_list_items_item_create_link_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemListItemsItemCreateLinkRequestBuilder) 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 *ItemListItemsItemCreateLinkRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemCreateLinkRequestBuilder) { + return NewItemListItemsItemCreateLinkRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_created_by_user_mailbox_settings_request_builder.go b/shares/item_list_items_item_created_by_user_mailbox_settings_request_builder.go index 85365e571f9..63a10aa1dd7 100644 --- a/shares/item_list_items_item_created_by_user_mailbox_settings_request_builder.go +++ b/shares/item_list_items_item_created_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemListItemsItemCreatedByUserMailboxSettingsRequestBuilder) ToPatchReq } 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 *ItemListItemsItemCreatedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemCreatedByUserMailboxSettingsRequestBuilder) { + return NewItemListItemsItemCreatedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_created_by_user_request_builder.go b/shares/item_list_items_item_created_by_user_request_builder.go index a2b66a289ff..5d833c41676 100644 --- a/shares/item_list_items_item_created_by_user_request_builder.go +++ b/shares/item_list_items_item_created_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemListItemsItemCreatedByUserRequestBuilder) ToGetRequestInformation(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 *ItemListItemsItemCreatedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemCreatedByUserRequestBuilder) { + return NewItemListItemsItemCreatedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_document_set_versions_count_request_builder.go b/shares/item_list_items_item_document_set_versions_count_request_builder.go index d8e07cb1f07..896c9d5f0b2 100644 --- a/shares/item_list_items_item_document_set_versions_count_request_builder.go +++ b/shares/item_list_items_item_document_set_versions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListItemsItemDocumentSetVersionsCountRequestBuilder) ToGetRequestIn } 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 *ItemListItemsItemDocumentSetVersionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemDocumentSetVersionsCountRequestBuilder) { + return NewItemListItemsItemDocumentSetVersionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go b/shares/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go index c7f644fcf5a..8c03c680f91 100644 --- a/shares/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go +++ b/shares/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go @@ -167,3 +167,7 @@ func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilde } 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 *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) { + return NewItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_document_set_versions_item_fields_request_builder.go b/shares/item_list_items_item_document_set_versions_item_fields_request_builder.go index 6776bfae728..6fd59d87d55 100644 --- a/shares/item_list_items_item_document_set_versions_item_fields_request_builder.go +++ b/shares/item_list_items_item_document_set_versions_item_fields_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemListItemsItemDocumentSetVersionsItemFieldsRequestBuilder) ToPatchRe } 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 *ItemListItemsItemDocumentSetVersionsItemFieldsRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemDocumentSetVersionsItemFieldsRequestBuilder) { + return NewItemListItemsItemDocumentSetVersionsItemFieldsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_document_set_versions_item_restore_request_builder.go b/shares/item_list_items_item_document_set_versions_item_restore_request_builder.go index 0189d08d0a1..94249193193 100644 --- a/shares/item_list_items_item_document_set_versions_item_restore_request_builder.go +++ b/shares/item_list_items_item_document_set_versions_item_restore_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemListItemsItemDocumentSetVersionsItemRestoreRequestBuilder) ToPostRe } 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 *ItemListItemsItemDocumentSetVersionsItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemDocumentSetVersionsItemRestoreRequestBuilder) { + return NewItemListItemsItemDocumentSetVersionsItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_document_set_versions_request_builder.go b/shares/item_list_items_item_document_set_versions_request_builder.go index 106a450877c..a322b9b0173 100644 --- a/shares/item_list_items_item_document_set_versions_request_builder.go +++ b/shares/item_list_items_item_document_set_versions_request_builder.go @@ -46,8 +46,8 @@ type ItemListItemsItemDocumentSetVersionsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDocumentSetVersionIdString provides operations to manage the documentSetVersions property of the microsoft.graph.listItem entity. -func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) ByDocumentSetVersionIdString(documentSetVersionId string)(*ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) { +// ByDocumentSetVersionId provides operations to manage the documentSetVersions property of the microsoft.graph.listItem entity. +func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) ByDocumentSetVersionId(documentSetVersionId string)(*ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) ToPostRequestInform } 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 *ItemListItemsItemDocumentSetVersionsRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemDocumentSetVersionsRequestBuilder) { + return NewItemListItemsItemDocumentSetVersionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_drive_item_content_request_builder.go b/shares/item_list_items_item_drive_item_content_request_builder.go index 5844cab5fcb..15217daf46e 100644 --- a/shares/item_list_items_item_drive_item_content_request_builder.go +++ b/shares/item_list_items_item_drive_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemListItemsItemDriveItemContentRequestBuilder) ToPutRequestInformatio } 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 *ItemListItemsItemDriveItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemDriveItemContentRequestBuilder) { + return NewItemListItemsItemDriveItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_drive_item_request_builder.go b/shares/item_list_items_item_drive_item_request_builder.go index af23102a951..5df36c29f64 100644 --- a/shares/item_list_items_item_drive_item_request_builder.go +++ b/shares/item_list_items_item_drive_item_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemListItemsItemDriveItemRequestBuilder) ToGetRequestInformation(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 *ItemListItemsItemDriveItemRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemDriveItemRequestBuilder) { + return NewItemListItemsItemDriveItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_fields_request_builder.go b/shares/item_list_items_item_fields_request_builder.go index ff14183eaef..6abff3c3d73 100644 --- a/shares/item_list_items_item_fields_request_builder.go +++ b/shares/item_list_items_item_fields_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemListItemsItemFieldsRequestBuilder) ToPatchRequestInformation(ctx co } 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 *ItemListItemsItemFieldsRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemFieldsRequestBuilder) { + return NewItemListItemsItemFieldsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go b/shares/item_list_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go index cf9af2ca089..f8b4e6fc626 100644 --- a/shares/item_list_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go +++ b/shares/item_list_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go @@ -93,3 +93,7 @@ func (m *ItemListItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTim } 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 *ItemListItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder) { + return NewItemListItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_last_modified_by_user_mailbox_settings_request_builder.go b/shares/item_list_items_item_last_modified_by_user_mailbox_settings_request_builder.go index 0ef01bb3df5..c17038949fb 100644 --- a/shares/item_list_items_item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/shares/item_list_items_item_last_modified_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemListItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) 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 *ItemListItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewItemListItemsItemLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_last_modified_by_user_request_builder.go b/shares/item_list_items_item_last_modified_by_user_request_builder.go index 193bbb66ff2..a38ed03fc37 100644 --- a/shares/item_list_items_item_last_modified_by_user_request_builder.go +++ b/shares/item_list_items_item_last_modified_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemListItemsItemLastModifiedByUserRequestBuilder) ToGetRequestInformat } 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 *ItemListItemsItemLastModifiedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemLastModifiedByUserRequestBuilder) { + return NewItemListItemsItemLastModifiedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_versions_count_request_builder.go b/shares/item_list_items_item_versions_count_request_builder.go index b80fa2f78b4..d37ec3371da 100644 --- a/shares/item_list_items_item_versions_count_request_builder.go +++ b/shares/item_list_items_item_versions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListItemsItemVersionsCountRequestBuilder) ToGetRequestInformation(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 *ItemListItemsItemVersionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemVersionsCountRequestBuilder) { + return NewItemListItemsItemVersionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_versions_item_fields_request_builder.go b/shares/item_list_items_item_versions_item_fields_request_builder.go index 0f9094391c7..c74fab96599 100644 --- a/shares/item_list_items_item_versions_item_fields_request_builder.go +++ b/shares/item_list_items_item_versions_item_fields_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemListItemsItemVersionsItemFieldsRequestBuilder) ToPatchRequestInform } 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 *ItemListItemsItemVersionsItemFieldsRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemVersionsItemFieldsRequestBuilder) { + return NewItemListItemsItemVersionsItemFieldsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_versions_item_restore_version_request_builder.go b/shares/item_list_items_item_versions_item_restore_version_request_builder.go index 3a5b663ba5b..79618ae2085 100644 --- a/shares/item_list_items_item_versions_item_restore_version_request_builder.go +++ b/shares/item_list_items_item_versions_item_restore_version_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemListItemsItemVersionsItemRestoreVersionRequestBuilder) ToPostReques } 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 *ItemListItemsItemVersionsItemRestoreVersionRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemVersionsItemRestoreVersionRequestBuilder) { + return NewItemListItemsItemVersionsItemRestoreVersionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_versions_list_item_version_item_request_builder.go b/shares/item_list_items_item_versions_list_item_version_item_request_builder.go index 8123265ce37..d562f5bc019 100644 --- a/shares/item_list_items_item_versions_list_item_version_item_request_builder.go +++ b/shares/item_list_items_item_versions_list_item_version_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemListItemsItemVersionsListItemVersionItemRequestBuilder) ToPatchRequ } 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 *ItemListItemsItemVersionsListItemVersionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemVersionsListItemVersionItemRequestBuilder) { + return NewItemListItemsItemVersionsListItemVersionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_item_versions_request_builder.go b/shares/item_list_items_item_versions_request_builder.go index d590fca02f2..38a02937333 100644 --- a/shares/item_list_items_item_versions_request_builder.go +++ b/shares/item_list_items_item_versions_request_builder.go @@ -46,8 +46,8 @@ type ItemListItemsItemVersionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByListItemVersionIdString provides operations to manage the versions property of the microsoft.graph.listItem entity. -func (m *ItemListItemsItemVersionsRequestBuilder) ByListItemVersionIdString(listItemVersionId string)(*ItemListItemsItemVersionsListItemVersionItemRequestBuilder) { +// ByListItemVersionId provides operations to manage the versions property of the microsoft.graph.listItem entity. +func (m *ItemListItemsItemVersionsRequestBuilder) ByListItemVersionId(listItemVersionId string)(*ItemListItemsItemVersionsListItemVersionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemListItemsItemVersionsRequestBuilder) ToPostRequestInformation(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 *ItemListItemsItemVersionsRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsItemVersionsRequestBuilder) { + return NewItemListItemsItemVersionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_list_item_item_request_builder.go b/shares/item_list_items_list_item_item_request_builder.go index e29f7bb8bbb..197a3d6ad86 100644 --- a/shares/item_list_items_list_item_item_request_builder.go +++ b/shares/item_list_items_list_item_item_request_builder.go @@ -199,3 +199,7 @@ func (m *ItemListItemsListItemItemRequestBuilder) ToPatchRequestInformation(ctx func (m *ItemListItemsListItemItemRequestBuilder) Versions()(*ItemListItemsItemVersionsRequestBuilder) { return NewItemListItemsItemVersionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemListItemsListItemItemRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsListItemItemRequestBuilder) { + return NewItemListItemsListItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_items_request_builder.go b/shares/item_list_items_request_builder.go index 26f01702973..ca148bb5002 100644 --- a/shares/item_list_items_request_builder.go +++ b/shares/item_list_items_request_builder.go @@ -44,8 +44,8 @@ type ItemListItemsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByListItemIdString provides operations to manage the items property of the microsoft.graph.list entity. -func (m *ItemListItemsRequestBuilder) ByListItemIdString(listItemId string)(*ItemListItemsListItemItemRequestBuilder) { +// ByListItemId provides operations to manage the items property of the microsoft.graph.list entity. +func (m *ItemListItemsRequestBuilder) ByListItemId(listItemId string)(*ItemListItemsListItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,7 @@ func (m *ItemListItemsRequestBuilder) 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 *ItemListItemsRequestBuilder) WithUrl(rawUrl string)(*ItemListItemsRequestBuilder) { + return NewItemListItemsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_last_modified_by_user_mailbox_settings_request_builder.go b/shares/item_list_last_modified_by_user_mailbox_settings_request_builder.go index cc7ccaebfde..b24422cf430 100644 --- a/shares/item_list_last_modified_by_user_mailbox_settings_request_builder.go +++ b/shares/item_list_last_modified_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemListLastModifiedByUserMailboxSettingsRequestBuilder) ToPatchRequest } 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 *ItemListLastModifiedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemListLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewItemListLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_last_modified_by_user_request_builder.go b/shares/item_list_last_modified_by_user_request_builder.go index 8c8e167a1f2..a0d2ccf1d7a 100644 --- a/shares/item_list_last_modified_by_user_request_builder.go +++ b/shares/item_list_last_modified_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemListLastModifiedByUserRequestBuilder) ToGetRequestInformation(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 *ItemListLastModifiedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemListLastModifiedByUserRequestBuilder) { + return NewItemListLastModifiedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_operations_count_request_builder.go b/shares/item_list_operations_count_request_builder.go index e1eda2ddc0b..9aa6364d159 100644 --- a/shares/item_list_operations_count_request_builder.go +++ b/shares/item_list_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListOperationsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemListOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListOperationsCountRequestBuilder) { + return NewItemListOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_operations_request_builder.go b/shares/item_list_operations_request_builder.go index f55e771ca0c..66251a77b0e 100644 --- a/shares/item_list_operations_request_builder.go +++ b/shares/item_list_operations_request_builder.go @@ -46,8 +46,8 @@ type ItemListOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRichLongRunningOperationIdString provides operations to manage the operations property of the microsoft.graph.list entity. -func (m *ItemListOperationsRequestBuilder) ByRichLongRunningOperationIdString(richLongRunningOperationId string)(*ItemListOperationsRichLongRunningOperationItemRequestBuilder) { +// ByRichLongRunningOperationId provides operations to manage the operations property of the microsoft.graph.list entity. +func (m *ItemListOperationsRequestBuilder) ByRichLongRunningOperationId(richLongRunningOperationId string)(*ItemListOperationsRichLongRunningOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemListOperationsRequestBuilder) 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 *ItemListOperationsRequestBuilder) WithUrl(rawUrl string)(*ItemListOperationsRequestBuilder) { + return NewItemListOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_operations_rich_long_running_operation_item_request_builder.go b/shares/item_list_operations_rich_long_running_operation_item_request_builder.go index ab3465379f5..06f86324054 100644 --- a/shares/item_list_operations_rich_long_running_operation_item_request_builder.go +++ b/shares/item_list_operations_rich_long_running_operation_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemListOperationsRichLongRunningOperationItemRequestBuilder) ToPatchRe } 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 *ItemListOperationsRichLongRunningOperationItemRequestBuilder) WithUrl(rawUrl string)(*ItemListOperationsRichLongRunningOperationItemRequestBuilder) { + return NewItemListOperationsRichLongRunningOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_request_builder.go b/shares/item_list_request_builder.go index c2980dfe029..024cb58b2b2 100644 --- a/shares/item_list_request_builder.go +++ b/shares/item_list_request_builder.go @@ -189,3 +189,7 @@ func (m *ItemListRequestBuilder) ToPatchRequestInformation(ctx context.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 *ItemListRequestBuilder) WithUrl(rawUrl string)(*ItemListRequestBuilder) { + return NewItemListRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_subscriptions_count_request_builder.go b/shares/item_list_subscriptions_count_request_builder.go index 5f00a67d4a4..a55609ec781 100644 --- a/shares/item_list_subscriptions_count_request_builder.go +++ b/shares/item_list_subscriptions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListSubscriptionsCountRequestBuilder) ToGetRequestInformation(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 *ItemListSubscriptionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListSubscriptionsCountRequestBuilder) { + return NewItemListSubscriptionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_subscriptions_item_reauthorize_request_builder.go b/shares/item_list_subscriptions_item_reauthorize_request_builder.go index e6be7fe8422..d1f848302c2 100644 --- a/shares/item_list_subscriptions_item_reauthorize_request_builder.go +++ b/shares/item_list_subscriptions_item_reauthorize_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemListSubscriptionsItemReauthorizeRequestBuilder) ToPostRequestInform } 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 *ItemListSubscriptionsItemReauthorizeRequestBuilder) WithUrl(rawUrl string)(*ItemListSubscriptionsItemReauthorizeRequestBuilder) { + return NewItemListSubscriptionsItemReauthorizeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_subscriptions_request_builder.go b/shares/item_list_subscriptions_request_builder.go index ebc710f3a3e..12d7d820499 100644 --- a/shares/item_list_subscriptions_request_builder.go +++ b/shares/item_list_subscriptions_request_builder.go @@ -46,8 +46,8 @@ type ItemListSubscriptionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySubscriptionIdString provides operations to manage the subscriptions property of the microsoft.graph.list entity. -func (m *ItemListSubscriptionsRequestBuilder) BySubscriptionIdString(subscriptionId string)(*ItemListSubscriptionsSubscriptionItemRequestBuilder) { +// BySubscriptionId provides operations to manage the subscriptions property of the microsoft.graph.list entity. +func (m *ItemListSubscriptionsRequestBuilder) BySubscriptionId(subscriptionId string)(*ItemListSubscriptionsSubscriptionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemListSubscriptionsRequestBuilder) 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 *ItemListSubscriptionsRequestBuilder) WithUrl(rawUrl string)(*ItemListSubscriptionsRequestBuilder) { + return NewItemListSubscriptionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_list_subscriptions_subscription_item_request_builder.go b/shares/item_list_subscriptions_subscription_item_request_builder.go index 99ce366a05e..a55eddc98c3 100644 --- a/shares/item_list_subscriptions_subscription_item_request_builder.go +++ b/shares/item_list_subscriptions_subscription_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemListSubscriptionsSubscriptionItemRequestBuilder) 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 *ItemListSubscriptionsSubscriptionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListSubscriptionsSubscriptionItemRequestBuilder) { + return NewItemListSubscriptionsSubscriptionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_permission_grant_request_builder.go b/shares/item_permission_grant_request_builder.go index 496aa88fe5e..f4ba511f4eb 100644 --- a/shares/item_permission_grant_request_builder.go +++ b/shares/item_permission_grant_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemPermissionGrantRequestBuilder) 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 *ItemPermissionGrantRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantRequestBuilder) { + return NewItemPermissionGrantRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_permission_request_builder.go b/shares/item_permission_request_builder.go index 700b461a7ad..9d96c85103e 100644 --- a/shares/item_permission_request_builder.go +++ b/shares/item_permission_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemPermissionRequestBuilder) ToPatchRequestInformation(ctx context.Con } 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 *ItemPermissionRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionRequestBuilder) { + return NewItemPermissionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_permission_revoke_grants_request_builder.go b/shares/item_permission_revoke_grants_request_builder.go index a29e842f787..1fdcecf4032 100644 --- a/shares/item_permission_revoke_grants_request_builder.go +++ b/shares/item_permission_revoke_grants_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemPermissionRevokeGrantsRequestBuilder) 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 *ItemPermissionRevokeGrantsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionRevokeGrantsRequestBuilder) { + return NewItemPermissionRevokeGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_root_content_request_builder.go b/shares/item_root_content_request_builder.go index 8be46a16830..f13ad639f25 100644 --- a/shares/item_root_content_request_builder.go +++ b/shares/item_root_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemRootContentRequestBuilder) ToPutRequestInformation(ctx context.Cont } 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 *ItemRootContentRequestBuilder) WithUrl(rawUrl string)(*ItemRootContentRequestBuilder) { + return NewItemRootContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_root_request_builder.go b/shares/item_root_request_builder.go index 4cf22c57866..c59f240cd56 100644 --- a/shares/item_root_request_builder.go +++ b/shares/item_root_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemRootRequestBuilder) ToGetRequestInformation(ctx context.Context, re } 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 *ItemRootRequestBuilder) WithUrl(rawUrl string)(*ItemRootRequestBuilder) { + return NewItemRootRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/item_site_request_builder.go b/shares/item_site_request_builder.go index e542233ab89..6534980188d 100644 --- a/shares/item_site_request_builder.go +++ b/shares/item_site_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSiteRequestBuilder) ToGetRequestInformation(ctx context.Context, re } 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 *ItemSiteRequestBuilder) WithUrl(rawUrl string)(*ItemSiteRequestBuilder) { + return NewItemSiteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/shared_drive_item_item_request_builder.go b/shares/shared_drive_item_item_request_builder.go index 019a13ef157..878684c799c 100644 --- a/shares/shared_drive_item_item_request_builder.go +++ b/shares/shared_drive_item_item_request_builder.go @@ -192,3 +192,7 @@ func (m *SharedDriveItemItemRequestBuilder) ToPatchRequestInformation(ctx contex } 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 *SharedDriveItemItemRequestBuilder) WithUrl(rawUrl string)(*SharedDriveItemItemRequestBuilder) { + return NewSharedDriveItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/shares/shares_request_builder.go b/shares/shares_request_builder.go index 23060aff902..ee716a5d3e5 100644 --- a/shares/shares_request_builder.go +++ b/shares/shares_request_builder.go @@ -46,8 +46,8 @@ type SharesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySharedDriveItemIdString provides operations to manage the collection of sharedDriveItem entities. -func (m *SharesRequestBuilder) BySharedDriveItemIdString(sharedDriveItemId string)(*SharedDriveItemItemRequestBuilder) { +// BySharedDriveItemId provides operations to manage the collection of sharedDriveItem entities. +func (m *SharesRequestBuilder) BySharedDriveItemId(sharedDriveItemId string)(*SharedDriveItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SharesRequestBuilder) ToPostRequestInformation(ctx context.Context, bod } 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 *SharesRequestBuilder) WithUrl(rawUrl string)(*SharesRequestBuilder) { + return NewSharesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/add_request_builder.go b/sites/add_request_builder.go index 41da7f1ccf3..ec52a735dd5 100644 --- a/sites/add_request_builder.go +++ b/sites/add_request_builder.go @@ -69,3 +69,7 @@ func (m *AddRequestBuilder) ToPostRequestInformation(ctx context.Context, body A } 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 *AddRequestBuilder) WithUrl(rawUrl string)(*AddRequestBuilder) { + return NewAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/count_request_builder.go b/sites/count_request_builder.go index 5749f933381..63fcfa0e62b 100644 --- a/sites/count_request_builder.go +++ b/sites/count_request_builder.go @@ -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); +} diff --git a/sites/delta_request_builder.go b/sites/delta_request_builder.go index a8a887ed676..09e5aae0434 100644 --- a/sites/delta_request_builder.go +++ b/sites/delta_request_builder.go @@ -84,3 +84,7 @@ func (m *DeltaRequestBuilder) 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 *DeltaRequestBuilder) WithUrl(rawUrl string)(*DeltaRequestBuilder) { + return NewDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/get_all_sites_request_builder.go b/sites/get_all_sites_request_builder.go index 7d26362d8a7..72247230ea2 100644 --- a/sites/get_all_sites_request_builder.go +++ b/sites/get_all_sites_request_builder.go @@ -84,3 +84,7 @@ func (m *GetAllSitesRequestBuilder) ToGetRequestInformation(ctx context.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 *GetAllSitesRequestBuilder) WithUrl(rawUrl string)(*GetAllSitesRequestBuilder) { + return NewGetAllSitesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_analytics_all_time_request_builder.go b/sites/item_analytics_all_time_request_builder.go index f5bb3af3364..b1a1e5eb2dd 100644 --- a/sites/item_analytics_all_time_request_builder.go +++ b/sites/item_analytics_all_time_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemAnalyticsAllTimeRequestBuilder) ToGetRequestInformation(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 *ItemAnalyticsAllTimeRequestBuilder) WithUrl(rawUrl string)(*ItemAnalyticsAllTimeRequestBuilder) { + return NewItemAnalyticsAllTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_analytics_item_activity_stats_count_request_builder.go b/sites/item_analytics_item_activity_stats_count_request_builder.go index 3b54689047a..3174580ea8e 100644 --- a/sites/item_analytics_item_activity_stats_count_request_builder.go +++ b/sites/item_analytics_item_activity_stats_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAnalyticsItemActivityStatsCountRequestBuilder) ToGetRequestInformat } 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 *ItemAnalyticsItemActivityStatsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAnalyticsItemActivityStatsCountRequestBuilder) { + return NewItemAnalyticsItemActivityStatsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_analytics_item_activity_stats_item_activities_count_request_builder.go b/sites/item_analytics_item_activity_stats_item_activities_count_request_builder.go index ae59846acf2..67de323d39b 100644 --- a/sites/item_analytics_item_activity_stats_item_activities_count_request_builder.go +++ b/sites/item_analytics_item_activity_stats_item_activities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAnalyticsItemActivityStatsItemActivitiesCountRequestBuilder) ToGetR } 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 *ItemAnalyticsItemActivityStatsItemActivitiesCountRequestBuilder) WithUrl(rawUrl string)(*ItemAnalyticsItemActivityStatsItemActivitiesCountRequestBuilder) { + return NewItemAnalyticsItemActivityStatsItemActivitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go b/sites/item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go index 7430605a66d..768dda777d0 100644 --- a/sites/item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go +++ b/sites/item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRequestBuil } 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 *ItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRequestBuilder) WithUrl(rawUrl string)(*ItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRequestBuilder) { + return NewItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go b/sites/item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go index a22bd3cf342..163d8464893 100644 --- a/sites/item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go +++ b/sites/item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequest } 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 *ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder) { + return NewItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go b/sites/item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go index be3488253a5..85db30dc9d5 100644 --- a/sites/item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go +++ b/sites/item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemRequestBuilder } 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 *ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemRequestBuilder) WithUrl(rawUrl string)(*ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemRequestBuilder) { + return NewItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_analytics_item_activity_stats_item_activities_request_builder.go b/sites/item_analytics_item_activity_stats_item_activities_request_builder.go index 964b5a38086..d444e2b07de 100644 --- a/sites/item_analytics_item_activity_stats_item_activities_request_builder.go +++ b/sites/item_analytics_item_activity_stats_item_activities_request_builder.go @@ -46,8 +46,8 @@ type ItemAnalyticsItemActivityStatsItemActivitiesRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByItemActivityIdString provides operations to manage the activities property of the microsoft.graph.itemActivityStat entity. -func (m *ItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder) ByItemActivityIdString(itemActivityId string)(*ItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRequestBuilder) { +// ByItemActivityId provides operations to manage the activities property of the microsoft.graph.itemActivityStat entity. +func (m *ItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder) ByItemActivityId(itemActivityId string)(*ItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder) ToPostReque } 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 *ItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder) WithUrl(rawUrl string)(*ItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder) { + return NewItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go b/sites/item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go index a948e23f32d..27fa3349edc 100644 --- a/sites/item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go +++ b/sites/item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuilder) 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 *ItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuilder) WithUrl(rawUrl string)(*ItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuilder) { + return NewItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_analytics_item_activity_stats_request_builder.go b/sites/item_analytics_item_activity_stats_request_builder.go index dd0519e6874..aa90f8e62b2 100644 --- a/sites/item_analytics_item_activity_stats_request_builder.go +++ b/sites/item_analytics_item_activity_stats_request_builder.go @@ -46,8 +46,8 @@ type ItemAnalyticsItemActivityStatsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByItemActivityStatIdString provides operations to manage the itemActivityStats property of the microsoft.graph.itemAnalytics entity. -func (m *ItemAnalyticsItemActivityStatsRequestBuilder) ByItemActivityStatIdString(itemActivityStatId string)(*ItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuilder) { +// ByItemActivityStatId provides operations to manage the itemActivityStats property of the microsoft.graph.itemAnalytics entity. +func (m *ItemAnalyticsItemActivityStatsRequestBuilder) ByItemActivityStatId(itemActivityStatId string)(*ItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemAnalyticsItemActivityStatsRequestBuilder) 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 *ItemAnalyticsItemActivityStatsRequestBuilder) WithUrl(rawUrl string)(*ItemAnalyticsItemActivityStatsRequestBuilder) { + return NewItemAnalyticsItemActivityStatsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_analytics_last_seven_days_request_builder.go b/sites/item_analytics_last_seven_days_request_builder.go index 8b260c226f5..5d14c5b9486 100644 --- a/sites/item_analytics_last_seven_days_request_builder.go +++ b/sites/item_analytics_last_seven_days_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemAnalyticsLastSevenDaysRequestBuilder) ToGetRequestInformation(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 *ItemAnalyticsLastSevenDaysRequestBuilder) WithUrl(rawUrl string)(*ItemAnalyticsLastSevenDaysRequestBuilder) { + return NewItemAnalyticsLastSevenDaysRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_analytics_request_builder.go b/sites/item_analytics_request_builder.go index 271bdb1fbe4..a1a9888c80b 100644 --- a/sites/item_analytics_request_builder.go +++ b/sites/item_analytics_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemAnalyticsRequestBuilder) ToPatchRequestInformation(ctx context.Cont } 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 *ItemAnalyticsRequestBuilder) WithUrl(rawUrl string)(*ItemAnalyticsRequestBuilder) { + return NewItemAnalyticsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_columns_column_definition_item_request_builder.go b/sites/item_columns_column_definition_item_request_builder.go index 8beeba73086..60d358e3af7 100644 --- a/sites/item_columns_column_definition_item_request_builder.go +++ b/sites/item_columns_column_definition_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemColumnsColumnDefinitionItemRequestBuilder) ToPatchRequestInformatio } 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 *ItemColumnsColumnDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemColumnsColumnDefinitionItemRequestBuilder) { + return NewItemColumnsColumnDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_columns_count_request_builder.go b/sites/item_columns_count_request_builder.go index 5ebe75c9ec9..c07f84a8a25 100644 --- a/sites/item_columns_count_request_builder.go +++ b/sites/item_columns_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemColumnsCountRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *ItemColumnsCountRequestBuilder) WithUrl(rawUrl string)(*ItemColumnsCountRequestBuilder) { + return NewItemColumnsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_columns_item_source_column_request_builder.go b/sites/item_columns_item_source_column_request_builder.go index 759b69019fd..5bb3d5cc618 100644 --- a/sites/item_columns_item_source_column_request_builder.go +++ b/sites/item_columns_item_source_column_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemColumnsItemSourceColumnRequestBuilder) ToGetRequestInformation(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 *ItemColumnsItemSourceColumnRequestBuilder) WithUrl(rawUrl string)(*ItemColumnsItemSourceColumnRequestBuilder) { + return NewItemColumnsItemSourceColumnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_columns_request_builder.go b/sites/item_columns_request_builder.go index f62aa48fa95..b024c62f999 100644 --- a/sites/item_columns_request_builder.go +++ b/sites/item_columns_request_builder.go @@ -46,8 +46,8 @@ type ItemColumnsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByColumnDefinitionIdString provides operations to manage the columns property of the microsoft.graph.site entity. -func (m *ItemColumnsRequestBuilder) ByColumnDefinitionIdString(columnDefinitionId string)(*ItemColumnsColumnDefinitionItemRequestBuilder) { +// ByColumnDefinitionId provides operations to manage the columns property of the microsoft.graph.site entity. +func (m *ItemColumnsRequestBuilder) ByColumnDefinitionId(columnDefinitionId string)(*ItemColumnsColumnDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemColumnsRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemColumnsRequestBuilder) WithUrl(rawUrl string)(*ItemColumnsRequestBuilder) { + return NewItemColumnsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_add_copy_from_content_type_hub_request_builder.go b/sites/item_content_types_add_copy_from_content_type_hub_request_builder.go index 9f3e77fbc78..f7cb06aed9d 100644 --- a/sites/item_content_types_add_copy_from_content_type_hub_request_builder.go +++ b/sites/item_content_types_add_copy_from_content_type_hub_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemContentTypesAddCopyFromContentTypeHubRequestBuilder) ToPostRequestI } 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 *ItemContentTypesAddCopyFromContentTypeHubRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesAddCopyFromContentTypeHubRequestBuilder) { + return NewItemContentTypesAddCopyFromContentTypeHubRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_add_copy_request_builder.go b/sites/item_content_types_add_copy_request_builder.go index 8a9db0935a4..5a046fb072d 100644 --- a/sites/item_content_types_add_copy_request_builder.go +++ b/sites/item_content_types_add_copy_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemContentTypesAddCopyRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemContentTypesAddCopyRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesAddCopyRequestBuilder) { + return NewItemContentTypesAddCopyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_content_type_item_request_builder.go b/sites/item_content_types_content_type_item_request_builder.go index 160fe5697b8..1be4d60a210 100644 --- a/sites/item_content_types_content_type_item_request_builder.go +++ b/sites/item_content_types_content_type_item_request_builder.go @@ -202,3 +202,7 @@ func (m *ItemContentTypesContentTypeItemRequestBuilder) ToPatchRequestInformatio func (m *ItemContentTypesContentTypeItemRequestBuilder) Unpublish()(*ItemContentTypesItemUnpublishRequestBuilder) { return NewItemContentTypesItemUnpublishRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemContentTypesContentTypeItemRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesContentTypeItemRequestBuilder) { + return NewItemContentTypesContentTypeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_count_request_builder.go b/sites/item_content_types_count_request_builder.go index 7a0549f3d33..77dc115c383 100644 --- a/sites/item_content_types_count_request_builder.go +++ b/sites/item_content_types_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemContentTypesCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemContentTypesCountRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesCountRequestBuilder) { + return NewItemContentTypesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_get_compatible_hub_content_types_request_builder.go b/sites/item_content_types_get_compatible_hub_content_types_request_builder.go index 75358c5bcab..95c4ca0855e 100644 --- a/sites/item_content_types_get_compatible_hub_content_types_request_builder.go +++ b/sites/item_content_types_get_compatible_hub_content_types_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemContentTypesGetCompatibleHubContentTypesRequestBuilder) ToGetReques } 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 *ItemContentTypesGetCompatibleHubContentTypesRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesGetCompatibleHubContentTypesRequestBuilder) { + return NewItemContentTypesGetCompatibleHubContentTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_item_associate_with_hub_sites_request_builder.go b/sites/item_content_types_item_associate_with_hub_sites_request_builder.go index a226e87ebb3..3b37ede6767 100644 --- a/sites/item_content_types_item_associate_with_hub_sites_request_builder.go +++ b/sites/item_content_types_item_associate_with_hub_sites_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemContentTypesItemAssociateWithHubSitesRequestBuilder) ToPostRequestI } 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 *ItemContentTypesItemAssociateWithHubSitesRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesItemAssociateWithHubSitesRequestBuilder) { + return NewItemContentTypesItemAssociateWithHubSitesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_item_base_request_builder.go b/sites/item_content_types_item_base_request_builder.go index 76142ccad09..2db955e2676 100644 --- a/sites/item_content_types_item_base_request_builder.go +++ b/sites/item_content_types_item_base_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemContentTypesItemBaseRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemContentTypesItemBaseRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesItemBaseRequestBuilder) { + return NewItemContentTypesItemBaseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_item_base_types_content_type_item_request_builder.go b/sites/item_content_types_item_base_types_content_type_item_request_builder.go index f98cd546adb..8cc172227f3 100644 --- a/sites/item_content_types_item_base_types_content_type_item_request_builder.go +++ b/sites/item_content_types_item_base_types_content_type_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemContentTypesItemBaseTypesContentTypeItemRequestBuilder) ToGetReques } 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 *ItemContentTypesItemBaseTypesContentTypeItemRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesItemBaseTypesContentTypeItemRequestBuilder) { + return NewItemContentTypesItemBaseTypesContentTypeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_item_base_types_count_request_builder.go b/sites/item_content_types_item_base_types_count_request_builder.go index 0d0897d0bfb..c546e0ad084 100644 --- a/sites/item_content_types_item_base_types_count_request_builder.go +++ b/sites/item_content_types_item_base_types_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemContentTypesItemBaseTypesCountRequestBuilder) ToGetRequestInformati } 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 *ItemContentTypesItemBaseTypesCountRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesItemBaseTypesCountRequestBuilder) { + return NewItemContentTypesItemBaseTypesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_item_base_types_request_builder.go b/sites/item_content_types_item_base_types_request_builder.go index b31bda06ccc..4acc0f807b9 100644 --- a/sites/item_content_types_item_base_types_request_builder.go +++ b/sites/item_content_types_item_base_types_request_builder.go @@ -39,8 +39,8 @@ type ItemContentTypesItemBaseTypesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemContentTypesItemBaseTypesRequestBuilderGetQueryParameters } -// ByContentTypeId1String provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. -func (m *ItemContentTypesItemBaseTypesRequestBuilder) ByContentTypeId1String(contentTypeId1 string)(*ItemContentTypesItemBaseTypesContentTypeItemRequestBuilder) { +// ByContentTypeId1 provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. +func (m *ItemContentTypesItemBaseTypesRequestBuilder) ByContentTypeId1(contentTypeId1 string)(*ItemContentTypesItemBaseTypesContentTypeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemContentTypesItemBaseTypesRequestBuilder) ToGetRequestInformation(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 *ItemContentTypesItemBaseTypesRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesItemBaseTypesRequestBuilder) { + return NewItemContentTypesItemBaseTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_item_column_links_column_link_item_request_builder.go b/sites/item_content_types_item_column_links_column_link_item_request_builder.go index dc278ed183a..f51cd515bae 100644 --- a/sites/item_content_types_item_column_links_column_link_item_request_builder.go +++ b/sites/item_content_types_item_column_links_column_link_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) ToPatchReq } 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 *ItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) { + return NewItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_item_column_links_count_request_builder.go b/sites/item_content_types_item_column_links_count_request_builder.go index 6f132c18394..89abcc3a7da 100644 --- a/sites/item_content_types_item_column_links_count_request_builder.go +++ b/sites/item_content_types_item_column_links_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemContentTypesItemColumnLinksCountRequestBuilder) ToGetRequestInforma } 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 *ItemContentTypesItemColumnLinksCountRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesItemColumnLinksCountRequestBuilder) { + return NewItemContentTypesItemColumnLinksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_item_column_links_request_builder.go b/sites/item_content_types_item_column_links_request_builder.go index 9909c8e9fd5..57aa6291292 100644 --- a/sites/item_content_types_item_column_links_request_builder.go +++ b/sites/item_content_types_item_column_links_request_builder.go @@ -46,8 +46,8 @@ type ItemContentTypesItemColumnLinksRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByColumnLinkIdString provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. -func (m *ItemContentTypesItemColumnLinksRequestBuilder) ByColumnLinkIdString(columnLinkId string)(*ItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) { +// ByColumnLinkId provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. +func (m *ItemContentTypesItemColumnLinksRequestBuilder) ByColumnLinkId(columnLinkId string)(*ItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemContentTypesItemColumnLinksRequestBuilder) 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 *ItemContentTypesItemColumnLinksRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesItemColumnLinksRequestBuilder) { + return NewItemContentTypesItemColumnLinksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_item_column_positions_column_definition_item_request_builder.go b/sites/item_content_types_item_column_positions_column_definition_item_request_builder.go index 18ad7d369ed..b91c45dfb03 100644 --- a/sites/item_content_types_item_column_positions_column_definition_item_request_builder.go +++ b/sites/item_content_types_item_column_positions_column_definition_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) } 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 *ItemContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) { + return NewItemContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_item_column_positions_count_request_builder.go b/sites/item_content_types_item_column_positions_count_request_builder.go index 10dbd5bd60b..c4e61edc3a3 100644 --- a/sites/item_content_types_item_column_positions_count_request_builder.go +++ b/sites/item_content_types_item_column_positions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemContentTypesItemColumnPositionsCountRequestBuilder) ToGetRequestInf } 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 *ItemContentTypesItemColumnPositionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesItemColumnPositionsCountRequestBuilder) { + return NewItemContentTypesItemColumnPositionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_item_column_positions_request_builder.go b/sites/item_content_types_item_column_positions_request_builder.go index f16621b8bad..32a25026ddf 100644 --- a/sites/item_content_types_item_column_positions_request_builder.go +++ b/sites/item_content_types_item_column_positions_request_builder.go @@ -39,8 +39,8 @@ type ItemContentTypesItemColumnPositionsRequestBuilderGetRequestConfiguration st // Request query parameters QueryParameters *ItemContentTypesItemColumnPositionsRequestBuilderGetQueryParameters } -// ByColumnDefinitionIdString provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. -func (m *ItemContentTypesItemColumnPositionsRequestBuilder) ByColumnDefinitionIdString(columnDefinitionId string)(*ItemContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) { +// ByColumnDefinitionId provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. +func (m *ItemContentTypesItemColumnPositionsRequestBuilder) ByColumnDefinitionId(columnDefinitionId string)(*ItemContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemContentTypesItemColumnPositionsRequestBuilder) ToGetRequestInformat } 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 *ItemContentTypesItemColumnPositionsRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesItemColumnPositionsRequestBuilder) { + return NewItemContentTypesItemColumnPositionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_item_columns_column_definition_item_request_builder.go b/sites/item_content_types_item_columns_column_definition_item_request_builder.go index 4fce652b015..f7499f120b9 100644 --- a/sites/item_content_types_item_columns_column_definition_item_request_builder.go +++ b/sites/item_content_types_item_columns_column_definition_item_request_builder.go @@ -166,3 +166,7 @@ func (m *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToPatchR } 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 *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) { + return NewItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_item_columns_count_request_builder.go b/sites/item_content_types_item_columns_count_request_builder.go index 1a12a960ac0..a544461b5fe 100644 --- a/sites/item_content_types_item_columns_count_request_builder.go +++ b/sites/item_content_types_item_columns_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemContentTypesItemColumnsCountRequestBuilder) 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 *ItemContentTypesItemColumnsCountRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesItemColumnsCountRequestBuilder) { + return NewItemContentTypesItemColumnsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_item_columns_item_source_column_request_builder.go b/sites/item_content_types_item_columns_item_source_column_request_builder.go index 7ba480317b2..2f2039092cd 100644 --- a/sites/item_content_types_item_columns_item_source_column_request_builder.go +++ b/sites/item_content_types_item_columns_item_source_column_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemContentTypesItemColumnsItemSourceColumnRequestBuilder) ToGetRequest } 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 *ItemContentTypesItemColumnsItemSourceColumnRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesItemColumnsItemSourceColumnRequestBuilder) { + return NewItemContentTypesItemColumnsItemSourceColumnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_item_columns_request_builder.go b/sites/item_content_types_item_columns_request_builder.go index 569b5e2c541..fbc51790a09 100644 --- a/sites/item_content_types_item_columns_request_builder.go +++ b/sites/item_content_types_item_columns_request_builder.go @@ -46,8 +46,8 @@ type ItemContentTypesItemColumnsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByColumnDefinitionIdString provides operations to manage the columns property of the microsoft.graph.contentType entity. -func (m *ItemContentTypesItemColumnsRequestBuilder) ByColumnDefinitionIdString(columnDefinitionId string)(*ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) { +// ByColumnDefinitionId provides operations to manage the columns property of the microsoft.graph.contentType entity. +func (m *ItemContentTypesItemColumnsRequestBuilder) ByColumnDefinitionId(columnDefinitionId string)(*ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemContentTypesItemColumnsRequestBuilder) 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 *ItemContentTypesItemColumnsRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesItemColumnsRequestBuilder) { + return NewItemContentTypesItemColumnsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_item_copy_to_default_content_location_request_builder.go b/sites/item_content_types_item_copy_to_default_content_location_request_builder.go index 24396fffda4..015d45e4ecc 100644 --- a/sites/item_content_types_item_copy_to_default_content_location_request_builder.go +++ b/sites/item_content_types_item_copy_to_default_content_location_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemContentTypesItemCopyToDefaultContentLocationRequestBuilder) ToPostR } 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 *ItemContentTypesItemCopyToDefaultContentLocationRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesItemCopyToDefaultContentLocationRequestBuilder) { + return NewItemContentTypesItemCopyToDefaultContentLocationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_item_is_published_request_builder.go b/sites/item_content_types_item_is_published_request_builder.go index cc0d06afb27..e2374a70e6f 100644 --- a/sites/item_content_types_item_is_published_request_builder.go +++ b/sites/item_content_types_item_is_published_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemContentTypesItemIsPublishedRequestBuilder) 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 *ItemContentTypesItemIsPublishedRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesItemIsPublishedRequestBuilder) { + return NewItemContentTypesItemIsPublishedRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_item_publish_request_builder.go b/sites/item_content_types_item_publish_request_builder.go index 30156ee8cdd..c963e17d8a8 100644 --- a/sites/item_content_types_item_publish_request_builder.go +++ b/sites/item_content_types_item_publish_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemContentTypesItemPublishRequestBuilder) 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 *ItemContentTypesItemPublishRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesItemPublishRequestBuilder) { + return NewItemContentTypesItemPublishRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_item_unpublish_request_builder.go b/sites/item_content_types_item_unpublish_request_builder.go index b6955668ad5..c112485dc25 100644 --- a/sites/item_content_types_item_unpublish_request_builder.go +++ b/sites/item_content_types_item_unpublish_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemContentTypesItemUnpublishRequestBuilder) ToPostRequestInformation(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 *ItemContentTypesItemUnpublishRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesItemUnpublishRequestBuilder) { + return NewItemContentTypesItemUnpublishRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_content_types_request_builder.go b/sites/item_content_types_request_builder.go index bf4df3e8fae..3ece392736d 100644 --- a/sites/item_content_types_request_builder.go +++ b/sites/item_content_types_request_builder.go @@ -54,8 +54,8 @@ func (m *ItemContentTypesRequestBuilder) AddCopy()(*ItemContentTypesAddCopyReque func (m *ItemContentTypesRequestBuilder) AddCopyFromContentTypeHub()(*ItemContentTypesAddCopyFromContentTypeHubRequestBuilder) { return NewItemContentTypesAddCopyFromContentTypeHubRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByContentTypeIdString provides operations to manage the contentTypes property of the microsoft.graph.site entity. -func (m *ItemContentTypesRequestBuilder) ByContentTypeIdString(contentTypeId string)(*ItemContentTypesContentTypeItemRequestBuilder) { +// ByContentTypeId provides operations to manage the contentTypes property of the microsoft.graph.site entity. +func (m *ItemContentTypesRequestBuilder) ByContentTypeId(contentTypeId string)(*ItemContentTypesContentTypeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -163,3 +163,7 @@ func (m *ItemContentTypesRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ItemContentTypesRequestBuilder) WithUrl(rawUrl string)(*ItemContentTypesRequestBuilder) { + return NewItemContentTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_created_by_user_mailbox_settings_request_builder.go b/sites/item_created_by_user_mailbox_settings_request_builder.go index 2fd228103d4..52034369e55 100644 --- a/sites/item_created_by_user_mailbox_settings_request_builder.go +++ b/sites/item_created_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemCreatedByUserMailboxSettingsRequestBuilder) ToPatchRequestInformati } 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 *ItemCreatedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemCreatedByUserMailboxSettingsRequestBuilder) { + return NewItemCreatedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_created_by_user_request_builder.go b/sites/item_created_by_user_request_builder.go index 7e3eeeb5496..623d4629081 100644 --- a/sites/item_created_by_user_request_builder.go +++ b/sites/item_created_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemCreatedByUserRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemCreatedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemCreatedByUserRequestBuilder) { + return NewItemCreatedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_drive_request_builder.go b/sites/item_drive_request_builder.go index 3fffebfb906..1e875b1042a 100644 --- a/sites/item_drive_request_builder.go +++ b/sites/item_drive_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemDriveRequestBuilder) ToGetRequestInformation(ctx context.Context, r } 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 *ItemDriveRequestBuilder) WithUrl(rawUrl string)(*ItemDriveRequestBuilder) { + return NewItemDriveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_drives_count_request_builder.go b/sites/item_drives_count_request_builder.go index 7aff20f118d..8ec07989b01 100644 --- a/sites/item_drives_count_request_builder.go +++ b/sites/item_drives_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDrivesCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemDrivesCountRequestBuilder) WithUrl(rawUrl string)(*ItemDrivesCountRequestBuilder) { + return NewItemDrivesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_drives_drive_item_request_builder.go b/sites/item_drives_drive_item_request_builder.go index 0dd919e30a8..36090cdf1e8 100644 --- a/sites/item_drives_drive_item_request_builder.go +++ b/sites/item_drives_drive_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemDrivesDriveItemRequestBuilder) ToGetRequestInformation(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 *ItemDrivesDriveItemRequestBuilder) WithUrl(rawUrl string)(*ItemDrivesDriveItemRequestBuilder) { + return NewItemDrivesDriveItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_drives_request_builder.go b/sites/item_drives_request_builder.go index 8dbcc6b1f53..8e0a71e77ae 100644 --- a/sites/item_drives_request_builder.go +++ b/sites/item_drives_request_builder.go @@ -39,8 +39,8 @@ type ItemDrivesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemDrivesRequestBuilderGetQueryParameters } -// ByDriveIdString provides operations to manage the drives property of the microsoft.graph.site entity. -func (m *ItemDrivesRequestBuilder) ByDriveIdString(driveId string)(*ItemDrivesDriveItemRequestBuilder) { +// ByDriveId provides operations to manage the drives property of the microsoft.graph.site entity. +func (m *ItemDrivesRequestBuilder) ByDriveId(driveId string)(*ItemDrivesDriveItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemDrivesRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemDrivesRequestBuilder) WithUrl(rawUrl string)(*ItemDrivesRequestBuilder) { + return NewItemDrivesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_external_columns_column_definition_item_request_builder.go b/sites/item_external_columns_column_definition_item_request_builder.go index 4cbc2bde23d..3a4a30c22ec 100644 --- a/sites/item_external_columns_column_definition_item_request_builder.go +++ b/sites/item_external_columns_column_definition_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemExternalColumnsColumnDefinitionItemRequestBuilder) ToGetRequestInfo } 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 *ItemExternalColumnsColumnDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemExternalColumnsColumnDefinitionItemRequestBuilder) { + return NewItemExternalColumnsColumnDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_external_columns_count_request_builder.go b/sites/item_external_columns_count_request_builder.go index 2dcc16546b9..3b681143860 100644 --- a/sites/item_external_columns_count_request_builder.go +++ b/sites/item_external_columns_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemExternalColumnsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemExternalColumnsCountRequestBuilder) WithUrl(rawUrl string)(*ItemExternalColumnsCountRequestBuilder) { + return NewItemExternalColumnsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_external_columns_request_builder.go b/sites/item_external_columns_request_builder.go index 205c80f8cb0..3e2874d553f 100644 --- a/sites/item_external_columns_request_builder.go +++ b/sites/item_external_columns_request_builder.go @@ -39,8 +39,8 @@ type ItemExternalColumnsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemExternalColumnsRequestBuilderGetQueryParameters } -// ByColumnDefinitionIdString provides operations to manage the externalColumns property of the microsoft.graph.site entity. -func (m *ItemExternalColumnsRequestBuilder) ByColumnDefinitionIdString(columnDefinitionId string)(*ItemExternalColumnsColumnDefinitionItemRequestBuilder) { +// ByColumnDefinitionId provides operations to manage the externalColumns property of the microsoft.graph.site entity. +func (m *ItemExternalColumnsRequestBuilder) ByColumnDefinitionId(columnDefinitionId string)(*ItemExternalColumnsColumnDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemExternalColumnsRequestBuilder) ToGetRequestInformation(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 *ItemExternalColumnsRequestBuilder) WithUrl(rawUrl string)(*ItemExternalColumnsRequestBuilder) { + return NewItemExternalColumnsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go b/sites/item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go index 13d793f83f3..691fa6e403e 100644 --- a/sites/item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go +++ b/sites/item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go @@ -93,3 +93,7 @@ func (m *ItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval } 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 *ItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder) WithUrl(rawUrl string)(*ItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder) { + return NewItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_get_applicable_content_types_for_list_with_list_id_request_builder.go b/sites/item_get_applicable_content_types_for_list_with_list_id_request_builder.go index d05d0b7f00f..9f7a40438f5 100644 --- a/sites/item_get_applicable_content_types_for_list_with_list_id_request_builder.go +++ b/sites/item_get_applicable_content_types_for_list_with_list_id_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemGetApplicableContentTypesForListWithListIdRequestBuilder) ToGetRequ } 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 *ItemGetApplicableContentTypesForListWithListIdRequestBuilder) WithUrl(rawUrl string)(*ItemGetApplicableContentTypesForListWithListIdRequestBuilder) { + return NewItemGetApplicableContentTypesForListWithListIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_get_by_path_with_path_request_builder.go b/sites/item_get_by_path_with_path_request_builder.go index e37954b475b..9555a24312b 100644 --- a/sites/item_get_by_path_with_path_request_builder.go +++ b/sites/item_get_by_path_with_path_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemGetByPathWithPathRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemGetByPathWithPathRequestBuilder) WithUrl(rawUrl string)(*ItemGetByPathWithPathRequestBuilder) { + return NewItemGetByPathWithPathRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go b/sites/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go index 20382f575bb..b5d08da203a 100644 --- a/sites/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go +++ b/sites/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go @@ -78,3 +78,7 @@ func (m *ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemR } 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 *ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) { + return NewItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_bitlocker_recovery_keys_count_request_builder.go b/sites/item_information_protection_bitlocker_recovery_keys_count_request_builder.go index 8fef403f38d..94156367368 100644 --- a/sites/item_information_protection_bitlocker_recovery_keys_count_request_builder.go +++ b/sites/item_information_protection_bitlocker_recovery_keys_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemInformationProtectionBitlockerRecoveryKeysCountRequestBuilder) ToGe } 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 *ItemInformationProtectionBitlockerRecoveryKeysCountRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionBitlockerRecoveryKeysCountRequestBuilder) { + return NewItemInformationProtectionBitlockerRecoveryKeysCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_bitlocker_recovery_keys_request_builder.go b/sites/item_information_protection_bitlocker_recovery_keys_request_builder.go index b285803524e..a6c385a06f5 100644 --- a/sites/item_information_protection_bitlocker_recovery_keys_request_builder.go +++ b/sites/item_information_protection_bitlocker_recovery_keys_request_builder.go @@ -39,8 +39,8 @@ type ItemInformationProtectionBitlockerRecoveryKeysRequestBuilderGetRequestConfi // Request query parameters QueryParameters *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilderGetQueryParameters } -// ByBitlockerRecoveryKeyIdString provides operations to manage the recoveryKeys property of the microsoft.graph.bitlocker entity. -func (m *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) ByBitlockerRecoveryKeyIdString(bitlockerRecoveryKeyId string)(*ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) { +// ByBitlockerRecoveryKeyId provides operations to manage the recoveryKeys property of the microsoft.graph.bitlocker entity. +func (m *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) ByBitlockerRecoveryKeyId(bitlockerRecoveryKeyId string)(*ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) ToGetRequ } 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 *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) { + return NewItemInformationProtectionBitlockerRecoveryKeysRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_bitlocker_request_builder.go b/sites/item_information_protection_bitlocker_request_builder.go index 270dbcf2608..3e249c2ddd0 100644 --- a/sites/item_information_protection_bitlocker_request_builder.go +++ b/sites/item_information_protection_bitlocker_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemInformationProtectionBitlockerRequestBuilder) ToGetRequestInformati } 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 *ItemInformationProtectionBitlockerRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionBitlockerRequestBuilder) { + return NewItemInformationProtectionBitlockerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_data_loss_prevention_policies_count_request_builder.go b/sites/item_information_protection_data_loss_prevention_policies_count_request_builder.go index 85099f9e3d7..c749c58ec53 100644 --- a/sites/item_information_protection_data_loss_prevention_policies_count_request_builder.go +++ b/sites/item_information_protection_data_loss_prevention_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesCountRequestBuilder) } 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 *ItemInformationProtectionDataLossPreventionPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionDataLossPreventionPoliciesCountRequestBuilder) { + return NewItemInformationProtectionDataLossPreventionPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go b/sites/item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go index dc98723ceed..2f0a7507b2a 100644 --- a/sites/item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go +++ b/sites/item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPo } 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 *ItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder) { + return NewItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go b/sites/item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go index 33a20e44631..891418e93ce 100644 --- a/sites/item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go +++ b/sites/item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluateRequestBuild } 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 *ItemInformationProtectionDataLossPreventionPoliciesEvaluateRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionDataLossPreventionPoliciesEvaluateRequestBuilder) { + return NewItemInformationProtectionDataLossPreventionPoliciesEvaluateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_data_loss_prevention_policies_request_builder.go b/sites/item_information_protection_data_loss_prevention_policies_request_builder.go index a3fe8677e83..5d1a21e16e4 100644 --- a/sites/item_information_protection_data_loss_prevention_policies_request_builder.go +++ b/sites/item_information_protection_data_loss_prevention_policies_request_builder.go @@ -46,8 +46,8 @@ type ItemInformationProtectionDataLossPreventionPoliciesRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDataLossPreventionPolicyIdString provides operations to manage the dataLossPreventionPolicies property of the microsoft.graph.informationProtection entity. -func (m *ItemInformationProtectionDataLossPreventionPoliciesRequestBuilder) ByDataLossPreventionPolicyIdString(dataLossPreventionPolicyId string)(*ItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder) { +// ByDataLossPreventionPolicyId provides operations to manage the dataLossPreventionPolicies property of the microsoft.graph.informationProtection entity. +func (m *ItemInformationProtectionDataLossPreventionPoliciesRequestBuilder) ByDataLossPreventionPolicyId(dataLossPreventionPolicyId string)(*ItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesRequestBuilder) ToPo } 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 *ItemInformationProtectionDataLossPreventionPoliciesRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionDataLossPreventionPoliciesRequestBuilder) { + return NewItemInformationProtectionDataLossPreventionPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_decrypt_buffer_request_builder.go b/sites/item_information_protection_decrypt_buffer_request_builder.go index 3df45fd60a6..e491d87e58e 100644 --- a/sites/item_information_protection_decrypt_buffer_request_builder.go +++ b/sites/item_information_protection_decrypt_buffer_request_builder.go @@ -69,3 +69,8 @@ func (m *ItemInformationProtectionDecryptBufferRequestBuilder) ToPostRequestInfo } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionDecryptBufferRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionDecryptBufferRequestBuilder) { + return NewItemInformationProtectionDecryptBufferRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_encrypt_buffer_request_builder.go b/sites/item_information_protection_encrypt_buffer_request_builder.go index 1f04ee293cc..8a4f8922bb2 100644 --- a/sites/item_information_protection_encrypt_buffer_request_builder.go +++ b/sites/item_information_protection_encrypt_buffer_request_builder.go @@ -69,3 +69,8 @@ func (m *ItemInformationProtectionEncryptBufferRequestBuilder) ToPostRequestInfo } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionEncryptBufferRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionEncryptBufferRequestBuilder) { + return NewItemInformationProtectionEncryptBufferRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_policy_labels_count_request_builder.go b/sites/item_information_protection_policy_labels_count_request_builder.go index c8bf31bae70..4b37ded8562 100644 --- a/sites/item_information_protection_policy_labels_count_request_builder.go +++ b/sites/item_information_protection_policy_labels_count_request_builder.go @@ -76,3 +76,8 @@ func (m *ItemInformationProtectionPolicyLabelsCountRequestBuilder) ToGetRequestI } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionPolicyLabelsCountRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionPolicyLabelsCountRequestBuilder) { + return NewItemInformationProtectionPolicyLabelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_policy_labels_evaluate_application_request_builder.go b/sites/item_information_protection_policy_labels_evaluate_application_request_builder.go index 16173865dcb..a0023d588b8 100644 --- a/sites/item_information_protection_policy_labels_evaluate_application_request_builder.go +++ b/sites/item_information_protection_policy_labels_evaluate_application_request_builder.go @@ -71,3 +71,8 @@ func (m *ItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder) } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder) { + return NewItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go b/sites/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go index 085e8e2407d..157d1b24bf5 100644 --- a/sites/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go +++ b/sites/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go @@ -71,3 +71,8 @@ func (m *ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsReque } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsRequestBuilder) { + return NewItemInformationProtectionPolicyLabelsEvaluateClassificationResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_policy_labels_evaluate_removal_request_builder.go b/sites/item_information_protection_policy_labels_evaluate_removal_request_builder.go index 379c911bd61..1ec94fee02d 100644 --- a/sites/item_information_protection_policy_labels_evaluate_removal_request_builder.go +++ b/sites/item_information_protection_policy_labels_evaluate_removal_request_builder.go @@ -71,3 +71,8 @@ func (m *ItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder) 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder) { + return NewItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_policy_labels_extract_label_request_builder.go b/sites/item_information_protection_policy_labels_extract_label_request_builder.go index 4fb26864e84..6e97dfd16e8 100644 --- a/sites/item_information_protection_policy_labels_extract_label_request_builder.go +++ b/sites/item_information_protection_policy_labels_extract_label_request_builder.go @@ -72,3 +72,8 @@ func (m *ItemInformationProtectionPolicyLabelsExtractLabelRequestBuilder) ToPost } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionPolicyLabelsExtractLabelRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionPolicyLabelsExtractLabelRequestBuilder) { + return NewItemInformationProtectionPolicyLabelsExtractLabelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_policy_labels_information_protection_label_item_request_builder.go b/sites/item_information_protection_policy_labels_information_protection_label_item_request_builder.go index 92da2e5d5dd..1805432ed1b 100644 --- a/sites/item_information_protection_policy_labels_information_protection_label_item_request_builder.go +++ b/sites/item_information_protection_policy_labels_information_protection_label_item_request_builder.go @@ -162,3 +162,8 @@ func (m *ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequ } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilder) { + return NewItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_policy_labels_request_builder.go b/sites/item_information_protection_policy_labels_request_builder.go index a3a02b30840..58f7a48e800 100644 --- a/sites/item_information_protection_policy_labels_request_builder.go +++ b/sites/item_information_protection_policy_labels_request_builder.go @@ -46,9 +46,9 @@ type ItemInformationProtectionPolicyLabelsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByInformationProtectionLabelIdString provides operations to manage the labels property of the microsoft.graph.informationProtectionPolicy entity. +// ByInformationProtectionLabelId provides operations to manage the labels property of the microsoft.graph.informationProtectionPolicy entity. // Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 -func (m *ItemInformationProtectionPolicyLabelsRequestBuilder) ByInformationProtectionLabelIdString(informationProtectionLabelId string)(*ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilder) { +func (m *ItemInformationProtectionPolicyLabelsRequestBuilder) ByInformationProtectionLabelId(informationProtectionLabelId string)(*ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -169,3 +169,8 @@ func (m *ItemInformationProtectionPolicyLabelsRequestBuilder) ToPostRequestInfor } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionPolicyLabelsRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionPolicyLabelsRequestBuilder) { + return NewItemInformationProtectionPolicyLabelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_policy_request_builder.go b/sites/item_information_protection_policy_request_builder.go index af87d1b3903..ea87759091c 100644 --- a/sites/item_information_protection_policy_request_builder.go +++ b/sites/item_information_protection_policy_request_builder.go @@ -163,3 +163,8 @@ func (m *ItemInformationProtectionPolicyRequestBuilder) ToPatchRequestInformatio } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionPolicyRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionPolicyRequestBuilder) { + return NewItemInformationProtectionPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_request_builder.go b/sites/item_information_protection_request_builder.go index 1aa978d6720..be7c196b838 100644 --- a/sites/item_information_protection_request_builder.go +++ b/sites/item_information_protection_request_builder.go @@ -193,3 +193,7 @@ func (m *ItemInformationProtectionRequestBuilder) ToPatchRequestInformation(ctx func (m *ItemInformationProtectionRequestBuilder) VerifySignature()(*ItemInformationProtectionVerifySignatureRequestBuilder) { return NewItemInformationProtectionVerifySignatureRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemInformationProtectionRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionRequestBuilder) { + return NewItemInformationProtectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_sensitivity_labels_count_request_builder.go b/sites/item_information_protection_sensitivity_labels_count_request_builder.go index d915c8966bf..db6f5255fe9 100644 --- a/sites/item_information_protection_sensitivity_labels_count_request_builder.go +++ b/sites/item_information_protection_sensitivity_labels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemInformationProtectionSensitivityLabelsCountRequestBuilder) ToGetReq } 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 *ItemInformationProtectionSensitivityLabelsCountRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionSensitivityLabelsCountRequestBuilder) { + return NewItemInformationProtectionSensitivityLabelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_sensitivity_labels_evaluate_request_builder.go b/sites/item_information_protection_sensitivity_labels_evaluate_request_builder.go index 163a6b11dbf..1076b8e5190 100644 --- a/sites/item_information_protection_sensitivity_labels_evaluate_request_builder.go +++ b/sites/item_information_protection_sensitivity_labels_evaluate_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemInformationProtectionSensitivityLabelsEvaluateRequestBuilder) ToPos } 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 *ItemInformationProtectionSensitivityLabelsEvaluateRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionSensitivityLabelsEvaluateRequestBuilder) { + return NewItemInformationProtectionSensitivityLabelsEvaluateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_sensitivity_labels_item_sublabels_count_request_builder.go b/sites/item_information_protection_sensitivity_labels_item_sublabels_count_request_builder.go index 061b0be9a50..eb7a9ff486a 100644 --- a/sites/item_information_protection_sensitivity_labels_item_sublabels_count_request_builder.go +++ b/sites/item_information_protection_sensitivity_labels_item_sublabels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsCountRequestBuil } 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 *ItemInformationProtectionSensitivityLabelsItemSublabelsCountRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionSensitivityLabelsItemSublabelsCountRequestBuilder) { + return NewItemInformationProtectionSensitivityLabelsItemSublabelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go b/sites/item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go index 3df9ddd6107..c349c8920bc 100644 --- a/sites/item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go +++ b/sites/item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsEvaluateRequestB } 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 *ItemInformationProtectionSensitivityLabelsItemSublabelsEvaluateRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionSensitivityLabelsItemSublabelsEvaluateRequestBuilder) { + return NewItemInformationProtectionSensitivityLabelsItemSublabelsEvaluateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_sensitivity_labels_item_sublabels_request_builder.go b/sites/item_information_protection_sensitivity_labels_item_sublabels_request_builder.go index 49975e37a80..61d5e0e7ea1 100644 --- a/sites/item_information_protection_sensitivity_labels_item_sublabels_request_builder.go +++ b/sites/item_information_protection_sensitivity_labels_item_sublabels_request_builder.go @@ -46,8 +46,8 @@ type ItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilderPostRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySensitivityLabelId1String provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. -func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilder) BySensitivityLabelId1String(sensitivityLabelId1 string)(*ItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) { +// BySensitivityLabelId1 provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. +func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilder) BySensitivityLabelId1(sensitivityLabelId1 string)(*ItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilder) } 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 *ItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilder) { + return NewItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go b/sites/item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go index c280a0ad483..d10b2b4a3d6 100644 --- a/sites/item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go +++ b/sites/item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabel } 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 *ItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) { + return NewItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_sensitivity_labels_request_builder.go b/sites/item_information_protection_sensitivity_labels_request_builder.go index 1c1346aa045..20a8fb4df04 100644 --- a/sites/item_information_protection_sensitivity_labels_request_builder.go +++ b/sites/item_information_protection_sensitivity_labels_request_builder.go @@ -46,8 +46,8 @@ type ItemInformationProtectionSensitivityLabelsRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySensitivityLabelIdString provides operations to manage the sensitivityLabels property of the microsoft.graph.informationProtection entity. -func (m *ItemInformationProtectionSensitivityLabelsRequestBuilder) BySensitivityLabelIdString(sensitivityLabelId string)(*ItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder) { +// BySensitivityLabelId provides operations to manage the sensitivityLabels property of the microsoft.graph.informationProtection entity. +func (m *ItemInformationProtectionSensitivityLabelsRequestBuilder) BySensitivityLabelId(sensitivityLabelId string)(*ItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemInformationProtectionSensitivityLabelsRequestBuilder) ToPostRequest } 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 *ItemInformationProtectionSensitivityLabelsRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionSensitivityLabelsRequestBuilder) { + return NewItemInformationProtectionSensitivityLabelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go b/sites/item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go index 57928fad52f..992cf722d5f 100644 --- a/sites/item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go +++ b/sites/item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBu } 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 *ItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder) { + return NewItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_sensitivity_policy_settings_request_builder.go b/sites/item_information_protection_sensitivity_policy_settings_request_builder.go index 4f5e82612da..659134903fe 100644 --- a/sites/item_information_protection_sensitivity_policy_settings_request_builder.go +++ b/sites/item_information_protection_sensitivity_policy_settings_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemInformationProtectionSensitivityPolicySettingsRequestBuilder) 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 *ItemInformationProtectionSensitivityPolicySettingsRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionSensitivityPolicySettingsRequestBuilder) { + return NewItemInformationProtectionSensitivityPolicySettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_sign_digest_request_builder.go b/sites/item_information_protection_sign_digest_request_builder.go index da2aa7a92ea..1c075e75fe0 100644 --- a/sites/item_information_protection_sign_digest_request_builder.go +++ b/sites/item_information_protection_sign_digest_request_builder.go @@ -69,3 +69,8 @@ func (m *ItemInformationProtectionSignDigestRequestBuilder) ToPostRequestInforma } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionSignDigestRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionSignDigestRequestBuilder) { + return NewItemInformationProtectionSignDigestRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_threat_assessment_requests_count_request_builder.go b/sites/item_information_protection_threat_assessment_requests_count_request_builder.go index 22bc8bf7d1a..8b31d56fee3 100644 --- a/sites/item_information_protection_threat_assessment_requests_count_request_builder.go +++ b/sites/item_information_protection_threat_assessment_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsCountRequestBuilder) T } 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 *ItemInformationProtectionThreatAssessmentRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionThreatAssessmentRequestsCountRequestBuilder) { + return NewItemInformationProtectionThreatAssessmentRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_threat_assessment_requests_item_results_count_request_builder.go b/sites/item_information_protection_threat_assessment_requests_item_results_count_request_builder.go index 0be4bfd9a08..28c02375d0e 100644 --- a/sites/item_information_protection_threat_assessment_requests_item_results_count_request_builder.go +++ b/sites/item_information_protection_threat_assessment_requests_item_results_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsItemResultsCountReques } 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 *ItemInformationProtectionThreatAssessmentRequestsItemResultsCountRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionThreatAssessmentRequestsItemResultsCountRequestBuilder) { + return NewItemInformationProtectionThreatAssessmentRequestsItemResultsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_threat_assessment_requests_item_results_request_builder.go b/sites/item_information_protection_threat_assessment_requests_item_results_request_builder.go index 2d3bfb84338..760e4c09e30 100644 --- a/sites/item_information_protection_threat_assessment_requests_item_results_request_builder.go +++ b/sites/item_information_protection_threat_assessment_requests_item_results_request_builder.go @@ -46,8 +46,8 @@ type ItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuilderP // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByThreatAssessmentResultIdString provides operations to manage the results property of the microsoft.graph.threatAssessmentRequest entity. -func (m *ItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuilder) ByThreatAssessmentResultIdString(threatAssessmentResultId string)(*ItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBuilder) { +// ByThreatAssessmentResultId provides operations to manage the results property of the microsoft.graph.threatAssessmentRequest entity. +func (m *ItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuilder) ByThreatAssessmentResultId(threatAssessmentResultId string)(*ItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuil } 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 *ItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuilder) { + return NewItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go b/sites/item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go index f0296225520..f0d32f85191 100644 --- a/sites/item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go +++ b/sites/item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAsses } 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 *ItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBuilder) { + return NewItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_threat_assessment_requests_request_builder.go b/sites/item_information_protection_threat_assessment_requests_request_builder.go index 759abaa4c79..06884a92202 100644 --- a/sites/item_information_protection_threat_assessment_requests_request_builder.go +++ b/sites/item_information_protection_threat_assessment_requests_request_builder.go @@ -46,8 +46,8 @@ type ItemInformationProtectionThreatAssessmentRequestsRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByThreatAssessmentRequestIdString provides operations to manage the threatAssessmentRequests property of the microsoft.graph.informationProtection entity. -func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) ByThreatAssessmentRequestIdString(threatAssessmentRequestId string)(*ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) { +// ByThreatAssessmentRequestId provides operations to manage the threatAssessmentRequests property of the microsoft.graph.informationProtection entity. +func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) ByThreatAssessmentRequestId(threatAssessmentRequestId string)(*ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) ToPost } 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 *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) { + return NewItemInformationProtectionThreatAssessmentRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go b/sites/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go index 4088fe11b52..5de3a9295a6 100644 --- a/sites/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go +++ b/sites/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentReques } 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 *ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) { + return NewItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_verify_signature_request_builder.go b/sites/item_information_protection_verify_signature_request_builder.go index a2b5df5c12d..29a701597c1 100644 --- a/sites/item_information_protection_verify_signature_request_builder.go +++ b/sites/item_information_protection_verify_signature_request_builder.go @@ -69,3 +69,8 @@ func (m *ItemInformationProtectionVerifySignatureRequestBuilder) ToPostRequestIn } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionVerifySignatureRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionVerifySignatureRequestBuilder) { + return NewItemInformationProtectionVerifySignatureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_items_base_item_item_request_builder.go b/sites/item_items_base_item_item_request_builder.go index 8f9f172a703..0dc0f6ac9d7 100644 --- a/sites/item_items_base_item_item_request_builder.go +++ b/sites/item_items_base_item_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemItemsBaseItemItemRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemItemsBaseItemItemRequestBuilder) WithUrl(rawUrl string)(*ItemItemsBaseItemItemRequestBuilder) { + return NewItemItemsBaseItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_items_count_request_builder.go b/sites/item_items_count_request_builder.go index 8759ef3b343..f6bb48acf27 100644 --- a/sites/item_items_count_request_builder.go +++ b/sites/item_items_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemItemsCountRequestBuilder) ToGetRequestInformation(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 *ItemItemsCountRequestBuilder) WithUrl(rawUrl string)(*ItemItemsCountRequestBuilder) { + return NewItemItemsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_items_request_builder.go b/sites/item_items_request_builder.go index 05d1286cecb..98a9ddb2c33 100644 --- a/sites/item_items_request_builder.go +++ b/sites/item_items_request_builder.go @@ -39,8 +39,8 @@ type ItemItemsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemItemsRequestBuilderGetQueryParameters } -// ByBaseItemIdString provides operations to manage the items property of the microsoft.graph.site entity. -func (m *ItemItemsRequestBuilder) ByBaseItemIdString(baseItemId string)(*ItemItemsBaseItemItemRequestBuilder) { +// ByBaseItemId provides operations to manage the items property of the microsoft.graph.site entity. +func (m *ItemItemsRequestBuilder) ByBaseItemId(baseItemId string)(*ItemItemsBaseItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemItemsRequestBuilder) ToGetRequestInformation(ctx context.Context, r } 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 *ItemItemsRequestBuilder) WithUrl(rawUrl string)(*ItemItemsRequestBuilder) { + return NewItemItemsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_last_modified_by_user_mailbox_settings_request_builder.go b/sites/item_last_modified_by_user_mailbox_settings_request_builder.go index 45a1e040b90..350963d695d 100644 --- a/sites/item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/sites/item_last_modified_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemLastModifiedByUserMailboxSettingsRequestBuilder) 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 *ItemLastModifiedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewItemLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_last_modified_by_user_request_builder.go b/sites/item_last_modified_by_user_request_builder.go index a047c81a0d8..d8a485e801e 100644 --- a/sites/item_last_modified_by_user_request_builder.go +++ b/sites/item_last_modified_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemLastModifiedByUserRequestBuilder) ToGetRequestInformation(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 *ItemLastModifiedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemLastModifiedByUserRequestBuilder) { + return NewItemLastModifiedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_count_request_builder.go b/sites/item_lists_count_request_builder.go index f758bb21a83..96e8a7ee9de 100644 --- a/sites/item_lists_count_request_builder.go +++ b/sites/item_lists_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListsCountRequestBuilder) ToGetRequestInformation(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 *ItemListsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListsCountRequestBuilder) { + return NewItemListsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_activities_request_builder.go b/sites/item_lists_item_activities_request_builder.go index af4eae69ff4..0927ddf4355 100644 --- a/sites/item_lists_item_activities_request_builder.go +++ b/sites/item_lists_item_activities_request_builder.go @@ -130,3 +130,7 @@ func (m *ItemListsItemActivitiesRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemListsItemActivitiesRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemActivitiesRequestBuilder) { + return NewItemListsItemActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_columns_column_definition_item_request_builder.go b/sites/item_lists_item_columns_column_definition_item_request_builder.go index 419103f6dc1..7edd4627a33 100644 --- a/sites/item_lists_item_columns_column_definition_item_request_builder.go +++ b/sites/item_lists_item_columns_column_definition_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemListsItemColumnsColumnDefinitionItemRequestBuilder) ToPatchRequestI } 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 *ItemListsItemColumnsColumnDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemColumnsColumnDefinitionItemRequestBuilder) { + return NewItemListsItemColumnsColumnDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_columns_count_request_builder.go b/sites/item_lists_item_columns_count_request_builder.go index 8c54a313f89..cfe3a8681f8 100644 --- a/sites/item_lists_item_columns_count_request_builder.go +++ b/sites/item_lists_item_columns_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListsItemColumnsCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemListsItemColumnsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemColumnsCountRequestBuilder) { + return NewItemListsItemColumnsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_columns_item_source_column_request_builder.go b/sites/item_lists_item_columns_item_source_column_request_builder.go index e28486b9359..1f37b13db97 100644 --- a/sites/item_lists_item_columns_item_source_column_request_builder.go +++ b/sites/item_lists_item_columns_item_source_column_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListsItemColumnsItemSourceColumnRequestBuilder) ToGetRequestInforma } 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 *ItemListsItemColumnsItemSourceColumnRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemColumnsItemSourceColumnRequestBuilder) { + return NewItemListsItemColumnsItemSourceColumnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_columns_request_builder.go b/sites/item_lists_item_columns_request_builder.go index 02ff7a0ccf5..c4f4afb6978 100644 --- a/sites/item_lists_item_columns_request_builder.go +++ b/sites/item_lists_item_columns_request_builder.go @@ -46,8 +46,8 @@ type ItemListsItemColumnsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByColumnDefinitionIdString provides operations to manage the columns property of the microsoft.graph.list entity. -func (m *ItemListsItemColumnsRequestBuilder) ByColumnDefinitionIdString(columnDefinitionId string)(*ItemListsItemColumnsColumnDefinitionItemRequestBuilder) { +// ByColumnDefinitionId provides operations to manage the columns property of the microsoft.graph.list entity. +func (m *ItemListsItemColumnsRequestBuilder) ByColumnDefinitionId(columnDefinitionId string)(*ItemListsItemColumnsColumnDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemListsItemColumnsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemListsItemColumnsRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemColumnsRequestBuilder) { + return NewItemListsItemColumnsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go b/sites/item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go index caa8f5bbf46..3b8542ec8fb 100644 --- a/sites/item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go +++ b/sites/item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemListsItemContentTypesAddCopyFromContentTypeHubRequestBuilder) ToPos } 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 *ItemListsItemContentTypesAddCopyFromContentTypeHubRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesAddCopyFromContentTypeHubRequestBuilder) { + return NewItemListsItemContentTypesAddCopyFromContentTypeHubRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_add_copy_request_builder.go b/sites/item_lists_item_content_types_add_copy_request_builder.go index b2af1554130..6251ebaab1e 100644 --- a/sites/item_lists_item_content_types_add_copy_request_builder.go +++ b/sites/item_lists_item_content_types_add_copy_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemListsItemContentTypesAddCopyRequestBuilder) ToPostRequestInformatio } 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 *ItemListsItemContentTypesAddCopyRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesAddCopyRequestBuilder) { + return NewItemListsItemContentTypesAddCopyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_content_type_item_request_builder.go b/sites/item_lists_item_content_types_content_type_item_request_builder.go index c84f5af2e5e..22d774d3ad2 100644 --- a/sites/item_lists_item_content_types_content_type_item_request_builder.go +++ b/sites/item_lists_item_content_types_content_type_item_request_builder.go @@ -193,3 +193,7 @@ func (m *ItemListsItemContentTypesContentTypeItemRequestBuilder) ToPatchRequestI func (m *ItemListsItemContentTypesContentTypeItemRequestBuilder) Unpublish()(*ItemListsItemContentTypesItemUnpublishRequestBuilder) { return NewItemListsItemContentTypesItemUnpublishRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemListsItemContentTypesContentTypeItemRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesContentTypeItemRequestBuilder) { + return NewItemListsItemContentTypesContentTypeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_count_request_builder.go b/sites/item_lists_item_content_types_count_request_builder.go index 43194e10365..cbe2af62b7f 100644 --- a/sites/item_lists_item_content_types_count_request_builder.go +++ b/sites/item_lists_item_content_types_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListsItemContentTypesCountRequestBuilder) ToGetRequestInformation(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 *ItemListsItemContentTypesCountRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesCountRequestBuilder) { + return NewItemListsItemContentTypesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go b/sites/item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go index 73f0b8ce4bc..e25b43f7697 100644 --- a/sites/item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go +++ b/sites/item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilder) To } 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 *ItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilder) { + return NewItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go b/sites/item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go index c0e89d99dc3..531631429f2 100644 --- a/sites/item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go +++ b/sites/item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemListsItemContentTypesItemAssociateWithHubSitesRequestBuilder) ToPos } 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 *ItemListsItemContentTypesItemAssociateWithHubSitesRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesItemAssociateWithHubSitesRequestBuilder) { + return NewItemListsItemContentTypesItemAssociateWithHubSitesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_item_base_request_builder.go b/sites/item_lists_item_content_types_item_base_request_builder.go index ec8713a9c12..fe4c01513d7 100644 --- a/sites/item_lists_item_content_types_item_base_request_builder.go +++ b/sites/item_lists_item_content_types_item_base_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListsItemContentTypesItemBaseRequestBuilder) 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 *ItemListsItemContentTypesItemBaseRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesItemBaseRequestBuilder) { + return NewItemListsItemContentTypesItemBaseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_item_base_types_content_type_item_request_builder.go b/sites/item_lists_item_content_types_item_base_types_content_type_item_request_builder.go index a8bd689d5f2..d76cdaf366b 100644 --- a/sites/item_lists_item_content_types_item_base_types_content_type_item_request_builder.go +++ b/sites/item_lists_item_content_types_item_base_types_content_type_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListsItemContentTypesItemBaseTypesContentTypeItemRequestBuilder) To } 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 *ItemListsItemContentTypesItemBaseTypesContentTypeItemRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesItemBaseTypesContentTypeItemRequestBuilder) { + return NewItemListsItemContentTypesItemBaseTypesContentTypeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_item_base_types_count_request_builder.go b/sites/item_lists_item_content_types_item_base_types_count_request_builder.go index ceafab5822e..8226361ffc6 100644 --- a/sites/item_lists_item_content_types_item_base_types_count_request_builder.go +++ b/sites/item_lists_item_content_types_item_base_types_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListsItemContentTypesItemBaseTypesCountRequestBuilder) ToGetRequest } 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 *ItemListsItemContentTypesItemBaseTypesCountRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesItemBaseTypesCountRequestBuilder) { + return NewItemListsItemContentTypesItemBaseTypesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_item_base_types_request_builder.go b/sites/item_lists_item_content_types_item_base_types_request_builder.go index a8db18d5329..db8d877d40e 100644 --- a/sites/item_lists_item_content_types_item_base_types_request_builder.go +++ b/sites/item_lists_item_content_types_item_base_types_request_builder.go @@ -39,8 +39,8 @@ type ItemListsItemContentTypesItemBaseTypesRequestBuilderGetRequestConfiguration // Request query parameters QueryParameters *ItemListsItemContentTypesItemBaseTypesRequestBuilderGetQueryParameters } -// ByContentTypeId1String provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. -func (m *ItemListsItemContentTypesItemBaseTypesRequestBuilder) ByContentTypeId1String(contentTypeId1 string)(*ItemListsItemContentTypesItemBaseTypesContentTypeItemRequestBuilder) { +// ByContentTypeId1 provides operations to manage the baseTypes property of the microsoft.graph.contentType entity. +func (m *ItemListsItemContentTypesItemBaseTypesRequestBuilder) ByContentTypeId1(contentTypeId1 string)(*ItemListsItemContentTypesItemBaseTypesContentTypeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemListsItemContentTypesItemBaseTypesRequestBuilder) ToGetRequestInfor } 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 *ItemListsItemContentTypesItemBaseTypesRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesItemBaseTypesRequestBuilder) { + return NewItemListsItemContentTypesItemBaseTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_item_column_links_column_link_item_request_builder.go b/sites/item_lists_item_content_types_item_column_links_column_link_item_request_builder.go index 559469ca73d..5545f356c33 100644 --- a/sites/item_lists_item_content_types_item_column_links_column_link_item_request_builder.go +++ b/sites/item_lists_item_content_types_item_column_links_column_link_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemListsItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) T } 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 *ItemListsItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) { + return NewItemListsItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_item_column_links_count_request_builder.go b/sites/item_lists_item_content_types_item_column_links_count_request_builder.go index dfa57ecaf43..dc6de57347c 100644 --- a/sites/item_lists_item_content_types_item_column_links_count_request_builder.go +++ b/sites/item_lists_item_content_types_item_column_links_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListsItemContentTypesItemColumnLinksCountRequestBuilder) ToGetReque } 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 *ItemListsItemContentTypesItemColumnLinksCountRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesItemColumnLinksCountRequestBuilder) { + return NewItemListsItemContentTypesItemColumnLinksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_item_column_links_request_builder.go b/sites/item_lists_item_content_types_item_column_links_request_builder.go index 075233f1d5a..c342e933c39 100644 --- a/sites/item_lists_item_content_types_item_column_links_request_builder.go +++ b/sites/item_lists_item_content_types_item_column_links_request_builder.go @@ -46,8 +46,8 @@ type ItemListsItemContentTypesItemColumnLinksRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByColumnLinkIdString provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. -func (m *ItemListsItemContentTypesItemColumnLinksRequestBuilder) ByColumnLinkIdString(columnLinkId string)(*ItemListsItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) { +// ByColumnLinkId provides operations to manage the columnLinks property of the microsoft.graph.contentType entity. +func (m *ItemListsItemContentTypesItemColumnLinksRequestBuilder) ByColumnLinkId(columnLinkId string)(*ItemListsItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemListsItemContentTypesItemColumnLinksRequestBuilder) ToPostRequestIn } 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 *ItemListsItemContentTypesItemColumnLinksRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesItemColumnLinksRequestBuilder) { + return NewItemListsItemContentTypesItemColumnLinksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_item_column_positions_column_definition_item_request_builder.go b/sites/item_lists_item_content_types_item_column_positions_column_definition_item_request_builder.go index 956de3c47c6..3689a5e6807 100644 --- a/sites/item_lists_item_content_types_item_column_positions_column_definition_item_request_builder.go +++ b/sites/item_lists_item_content_types_item_column_positions_column_definition_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListsItemContentTypesItemColumnPositionsColumnDefinitionItemRequest } 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 *ItemListsItemContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) { + return NewItemListsItemContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_item_column_positions_count_request_builder.go b/sites/item_lists_item_content_types_item_column_positions_count_request_builder.go index 0967f1cb9dd..df5b312776f 100644 --- a/sites/item_lists_item_content_types_item_column_positions_count_request_builder.go +++ b/sites/item_lists_item_content_types_item_column_positions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListsItemContentTypesItemColumnPositionsCountRequestBuilder) ToGetR } 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 *ItemListsItemContentTypesItemColumnPositionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesItemColumnPositionsCountRequestBuilder) { + return NewItemListsItemContentTypesItemColumnPositionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_item_column_positions_request_builder.go b/sites/item_lists_item_content_types_item_column_positions_request_builder.go index e7198f81a7b..fad4f0ea344 100644 --- a/sites/item_lists_item_content_types_item_column_positions_request_builder.go +++ b/sites/item_lists_item_content_types_item_column_positions_request_builder.go @@ -39,8 +39,8 @@ type ItemListsItemContentTypesItemColumnPositionsRequestBuilderGetRequestConfigu // Request query parameters QueryParameters *ItemListsItemContentTypesItemColumnPositionsRequestBuilderGetQueryParameters } -// ByColumnDefinitionIdString provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. -func (m *ItemListsItemContentTypesItemColumnPositionsRequestBuilder) ByColumnDefinitionIdString(columnDefinitionId string)(*ItemListsItemContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) { +// ByColumnDefinitionId provides operations to manage the columnPositions property of the microsoft.graph.contentType entity. +func (m *ItemListsItemContentTypesItemColumnPositionsRequestBuilder) ByColumnDefinitionId(columnDefinitionId string)(*ItemListsItemContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemListsItemContentTypesItemColumnPositionsRequestBuilder) ToGetReques } 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 *ItemListsItemContentTypesItemColumnPositionsRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesItemColumnPositionsRequestBuilder) { + return NewItemListsItemContentTypesItemColumnPositionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_item_columns_column_definition_item_request_builder.go b/sites/item_lists_item_content_types_item_columns_column_definition_item_request_builder.go index 8c6a071ca43..581a303ed20 100644 --- a/sites/item_lists_item_content_types_item_columns_column_definition_item_request_builder.go +++ b/sites/item_lists_item_content_types_item_columns_column_definition_item_request_builder.go @@ -166,3 +166,7 @@ func (m *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) } 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 *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) { + return NewItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_item_columns_count_request_builder.go b/sites/item_lists_item_content_types_item_columns_count_request_builder.go index 1270d310d29..22495bdbab9 100644 --- a/sites/item_lists_item_content_types_item_columns_count_request_builder.go +++ b/sites/item_lists_item_content_types_item_columns_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListsItemContentTypesItemColumnsCountRequestBuilder) ToGetRequestIn } 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 *ItemListsItemContentTypesItemColumnsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesItemColumnsCountRequestBuilder) { + return NewItemListsItemContentTypesItemColumnsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_item_columns_item_source_column_request_builder.go b/sites/item_lists_item_content_types_item_columns_item_source_column_request_builder.go index 63b604115a4..fa75c7cf727 100644 --- a/sites/item_lists_item_content_types_item_columns_item_source_column_request_builder.go +++ b/sites/item_lists_item_content_types_item_columns_item_source_column_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListsItemContentTypesItemColumnsItemSourceColumnRequestBuilder) ToG } 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 *ItemListsItemContentTypesItemColumnsItemSourceColumnRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesItemColumnsItemSourceColumnRequestBuilder) { + return NewItemListsItemContentTypesItemColumnsItemSourceColumnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_item_columns_request_builder.go b/sites/item_lists_item_content_types_item_columns_request_builder.go index 94fd3a83614..712dfb02f5c 100644 --- a/sites/item_lists_item_content_types_item_columns_request_builder.go +++ b/sites/item_lists_item_content_types_item_columns_request_builder.go @@ -46,8 +46,8 @@ type ItemListsItemContentTypesItemColumnsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByColumnDefinitionIdString provides operations to manage the columns property of the microsoft.graph.contentType entity. -func (m *ItemListsItemContentTypesItemColumnsRequestBuilder) ByColumnDefinitionIdString(columnDefinitionId string)(*ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) { +// ByColumnDefinitionId provides operations to manage the columns property of the microsoft.graph.contentType entity. +func (m *ItemListsItemContentTypesItemColumnsRequestBuilder) ByColumnDefinitionId(columnDefinitionId string)(*ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemListsItemContentTypesItemColumnsRequestBuilder) ToPostRequestInform } 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 *ItemListsItemContentTypesItemColumnsRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesItemColumnsRequestBuilder) { + return NewItemListsItemContentTypesItemColumnsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go b/sites/item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go index 5bdcaae8934..2e202fc2280 100644 --- a/sites/item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go +++ b/sites/item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemListsItemContentTypesItemCopyToDefaultContentLocationRequestBuilder } 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 *ItemListsItemContentTypesItemCopyToDefaultContentLocationRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesItemCopyToDefaultContentLocationRequestBuilder) { + return NewItemListsItemContentTypesItemCopyToDefaultContentLocationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_item_is_published_request_builder.go b/sites/item_lists_item_content_types_item_is_published_request_builder.go index 7d46e59e7d3..c2b3248ba53 100644 --- a/sites/item_lists_item_content_types_item_is_published_request_builder.go +++ b/sites/item_lists_item_content_types_item_is_published_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemListsItemContentTypesItemIsPublishedRequestBuilder) ToGetRequestInf } 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 *ItemListsItemContentTypesItemIsPublishedRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesItemIsPublishedRequestBuilder) { + return NewItemListsItemContentTypesItemIsPublishedRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_item_publish_request_builder.go b/sites/item_lists_item_content_types_item_publish_request_builder.go index ee2f84655a1..f3f54956b3f 100644 --- a/sites/item_lists_item_content_types_item_publish_request_builder.go +++ b/sites/item_lists_item_content_types_item_publish_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemListsItemContentTypesItemPublishRequestBuilder) ToPostRequestInform } 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 *ItemListsItemContentTypesItemPublishRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesItemPublishRequestBuilder) { + return NewItemListsItemContentTypesItemPublishRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_item_unpublish_request_builder.go b/sites/item_lists_item_content_types_item_unpublish_request_builder.go index df5defd33aa..99c3bd5be85 100644 --- a/sites/item_lists_item_content_types_item_unpublish_request_builder.go +++ b/sites/item_lists_item_content_types_item_unpublish_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemListsItemContentTypesItemUnpublishRequestBuilder) ToPostRequestInfo } 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 *ItemListsItemContentTypesItemUnpublishRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesItemUnpublishRequestBuilder) { + return NewItemListsItemContentTypesItemUnpublishRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_content_types_request_builder.go b/sites/item_lists_item_content_types_request_builder.go index f806bba9efd..ea5cb6d354d 100644 --- a/sites/item_lists_item_content_types_request_builder.go +++ b/sites/item_lists_item_content_types_request_builder.go @@ -54,8 +54,8 @@ func (m *ItemListsItemContentTypesRequestBuilder) AddCopy()(*ItemListsItemConten func (m *ItemListsItemContentTypesRequestBuilder) AddCopyFromContentTypeHub()(*ItemListsItemContentTypesAddCopyFromContentTypeHubRequestBuilder) { return NewItemListsItemContentTypesAddCopyFromContentTypeHubRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByContentTypeIdString provides operations to manage the contentTypes property of the microsoft.graph.list entity. -func (m *ItemListsItemContentTypesRequestBuilder) ByContentTypeIdString(contentTypeId string)(*ItemListsItemContentTypesContentTypeItemRequestBuilder) { +// ByContentTypeId provides operations to manage the contentTypes property of the microsoft.graph.list entity. +func (m *ItemListsItemContentTypesRequestBuilder) ByContentTypeId(contentTypeId string)(*ItemListsItemContentTypesContentTypeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -160,3 +160,7 @@ func (m *ItemListsItemContentTypesRequestBuilder) ToPostRequestInformation(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 *ItemListsItemContentTypesRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemContentTypesRequestBuilder) { + return NewItemListsItemContentTypesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_created_by_user_mailbox_settings_request_builder.go b/sites/item_lists_item_created_by_user_mailbox_settings_request_builder.go index 36f1782e0cc..8b5a374f6da 100644 --- a/sites/item_lists_item_created_by_user_mailbox_settings_request_builder.go +++ b/sites/item_lists_item_created_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemListsItemCreatedByUserMailboxSettingsRequestBuilder) ToPatchRequest } 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 *ItemListsItemCreatedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemCreatedByUserMailboxSettingsRequestBuilder) { + return NewItemListsItemCreatedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_created_by_user_request_builder.go b/sites/item_lists_item_created_by_user_request_builder.go index 58ab9296afd..37b9df60a73 100644 --- a/sites/item_lists_item_created_by_user_request_builder.go +++ b/sites/item_lists_item_created_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemListsItemCreatedByUserRequestBuilder) ToGetRequestInformation(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 *ItemListsItemCreatedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemCreatedByUserRequestBuilder) { + return NewItemListsItemCreatedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_drive_request_builder.go b/sites/item_lists_item_drive_request_builder.go index 812234758d3..364ad94340d 100644 --- a/sites/item_lists_item_drive_request_builder.go +++ b/sites/item_lists_item_drive_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListsItemDriveRequestBuilder) 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 *ItemListsItemDriveRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemDriveRequestBuilder) { + return NewItemListsItemDriveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_delta_request_builder.go b/sites/item_lists_item_items_delta_request_builder.go index 770db99e90e..b9ea1fa17fa 100644 --- a/sites/item_lists_item_items_delta_request_builder.go +++ b/sites/item_lists_item_items_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemListsItemItemsDeltaRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemListsItemItemsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsDeltaRequestBuilder) { + return NewItemListsItemItemsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_delta_with_token_request_builder.go b/sites/item_lists_item_items_delta_with_token_request_builder.go index df1e6154c97..15f2bd776f6 100644 --- a/sites/item_lists_item_items_delta_with_token_request_builder.go +++ b/sites/item_lists_item_items_delta_with_token_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemListsItemItemsDeltaWithTokenRequestBuilder) 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 *ItemListsItemItemsDeltaWithTokenRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsDeltaWithTokenRequestBuilder) { + return NewItemListsItemItemsDeltaWithTokenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_activities_count_request_builder.go b/sites/item_lists_item_items_item_activities_count_request_builder.go index 413ac44a1cd..14f8321651a 100644 --- a/sites/item_lists_item_items_item_activities_count_request_builder.go +++ b/sites/item_lists_item_items_item_activities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListsItemItemsItemActivitiesCountRequestBuilder) ToGetRequestInform } 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 *ItemListsItemItemsItemActivitiesCountRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemActivitiesCountRequestBuilder) { + return NewItemListsItemItemsItemActivitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_activities_item_activity_o_l_d_item_request_builder.go b/sites/item_lists_item_items_item_activities_item_activity_o_l_d_item_request_builder.go index 910a4838841..b4983dc9cc3 100644 --- a/sites/item_lists_item_items_item_activities_item_activity_o_l_d_item_request_builder.go +++ b/sites/item_lists_item_items_item_activities_item_activity_o_l_d_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemListsItemItemsItemActivitiesItemActivityOLDItemRequestBuilder) ToPa } 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 *ItemListsItemItemsItemActivitiesItemActivityOLDItemRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemActivitiesItemActivityOLDItemRequestBuilder) { + return NewItemListsItemItemsItemActivitiesItemActivityOLDItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_activities_item_drive_item_content_request_builder.go b/sites/item_lists_item_items_item_activities_item_drive_item_content_request_builder.go index 8c878f5050d..18f3f5aa782 100644 --- a/sites/item_lists_item_items_item_activities_item_drive_item_content_request_builder.go +++ b/sites/item_lists_item_items_item_activities_item_drive_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder) 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 *ItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder) { + return NewItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_activities_item_drive_item_request_builder.go b/sites/item_lists_item_items_item_activities_item_drive_item_request_builder.go index 4038b6aab05..44fa10b7aa4 100644 --- a/sites/item_lists_item_items_item_activities_item_drive_item_request_builder.go +++ b/sites/item_lists_item_items_item_activities_item_drive_item_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemListsItemItemsItemActivitiesItemDriveItemRequestBuilder) ToGetReque } 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 *ItemListsItemItemsItemActivitiesItemDriveItemRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemActivitiesItemDriveItemRequestBuilder) { + return NewItemListsItemItemsItemActivitiesItemDriveItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_activities_item_list_item_request_builder.go b/sites/item_lists_item_items_item_activities_item_list_item_request_builder.go index 339995b57e4..08a6a8507fe 100644 --- a/sites/item_lists_item_items_item_activities_item_list_item_request_builder.go +++ b/sites/item_lists_item_items_item_activities_item_list_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListsItemItemsItemActivitiesItemListItemRequestBuilder) ToGetReques } 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 *ItemListsItemItemsItemActivitiesItemListItemRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemActivitiesItemListItemRequestBuilder) { + return NewItemListsItemItemsItemActivitiesItemListItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_activities_request_builder.go b/sites/item_lists_item_items_item_activities_request_builder.go index 4496e84f2bc..6e3dc47bca8 100644 --- a/sites/item_lists_item_items_item_activities_request_builder.go +++ b/sites/item_lists_item_items_item_activities_request_builder.go @@ -46,8 +46,8 @@ type ItemListsItemItemsItemActivitiesRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByItemActivityOLDIdString provides operations to manage the activities property of the microsoft.graph.listItem entity. -func (m *ItemListsItemItemsItemActivitiesRequestBuilder) ByItemActivityOLDIdString(itemActivityOLDId string)(*ItemListsItemItemsItemActivitiesItemActivityOLDItemRequestBuilder) { +// ByItemActivityOLDId provides operations to manage the activities property of the microsoft.graph.listItem entity. +func (m *ItemListsItemItemsItemActivitiesRequestBuilder) ByItemActivityOLDId(itemActivityOLDId string)(*ItemListsItemItemsItemActivitiesItemActivityOLDItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemListsItemItemsItemActivitiesRequestBuilder) ToPostRequestInformatio } 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 *ItemListsItemItemsItemActivitiesRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemActivitiesRequestBuilder) { + return NewItemListsItemItemsItemActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_analytics_request_builder.go b/sites/item_lists_item_items_item_analytics_request_builder.go index 7909c418176..57ea3ecfcf3 100644 --- a/sites/item_lists_item_items_item_analytics_request_builder.go +++ b/sites/item_lists_item_items_item_analytics_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemListsItemItemsItemAnalyticsRequestBuilder) 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 *ItemListsItemItemsItemAnalyticsRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemAnalyticsRequestBuilder) { + return NewItemListsItemItemsItemAnalyticsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_create_link_request_builder.go b/sites/item_lists_item_items_item_create_link_request_builder.go index e684e1ce9f1..cb2a1ebd76d 100644 --- a/sites/item_lists_item_items_item_create_link_request_builder.go +++ b/sites/item_lists_item_items_item_create_link_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemListsItemItemsItemCreateLinkRequestBuilder) ToPostRequestInformatio } 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 *ItemListsItemItemsItemCreateLinkRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemCreateLinkRequestBuilder) { + return NewItemListsItemItemsItemCreateLinkRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_created_by_user_mailbox_settings_request_builder.go b/sites/item_lists_item_items_item_created_by_user_mailbox_settings_request_builder.go index 004c1aa2425..3044fb3bd49 100644 --- a/sites/item_lists_item_items_item_created_by_user_mailbox_settings_request_builder.go +++ b/sites/item_lists_item_items_item_created_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemListsItemItemsItemCreatedByUserMailboxSettingsRequestBuilder) 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 *ItemListsItemItemsItemCreatedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemCreatedByUserMailboxSettingsRequestBuilder) { + return NewItemListsItemItemsItemCreatedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_created_by_user_request_builder.go b/sites/item_lists_item_items_item_created_by_user_request_builder.go index c5a16140a8c..416949abea4 100644 --- a/sites/item_lists_item_items_item_created_by_user_request_builder.go +++ b/sites/item_lists_item_items_item_created_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemListsItemItemsItemCreatedByUserRequestBuilder) ToGetRequestInformat } 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 *ItemListsItemItemsItemCreatedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemCreatedByUserRequestBuilder) { + return NewItemListsItemItemsItemCreatedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_document_set_versions_count_request_builder.go b/sites/item_lists_item_items_item_document_set_versions_count_request_builder.go index 2113b8deaf5..acf799055f5 100644 --- a/sites/item_lists_item_items_item_document_set_versions_count_request_builder.go +++ b/sites/item_lists_item_items_item_document_set_versions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListsItemItemsItemDocumentSetVersionsCountRequestBuilder) ToGetRequ } 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 *ItemListsItemItemsItemDocumentSetVersionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemDocumentSetVersionsCountRequestBuilder) { + return NewItemListsItemItemsItemDocumentSetVersionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go b/sites/item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go index c70244af6de..2fbd1e8827b 100644 --- a/sites/item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go +++ b/sites/item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go @@ -167,3 +167,7 @@ func (m *ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestB } 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 *ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) { + return NewItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_document_set_versions_item_fields_request_builder.go b/sites/item_lists_item_items_item_document_set_versions_item_fields_request_builder.go index 6eae1707b66..566aacf685a 100644 --- a/sites/item_lists_item_items_item_document_set_versions_item_fields_request_builder.go +++ b/sites/item_lists_item_items_item_document_set_versions_item_fields_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemListsItemItemsItemDocumentSetVersionsItemFieldsRequestBuilder) ToPa } 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 *ItemListsItemItemsItemDocumentSetVersionsItemFieldsRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemDocumentSetVersionsItemFieldsRequestBuilder) { + return NewItemListsItemItemsItemDocumentSetVersionsItemFieldsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_document_set_versions_item_restore_request_builder.go b/sites/item_lists_item_items_item_document_set_versions_item_restore_request_builder.go index 545d287ec28..f53a24e13be 100644 --- a/sites/item_lists_item_items_item_document_set_versions_item_restore_request_builder.go +++ b/sites/item_lists_item_items_item_document_set_versions_item_restore_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemListsItemItemsItemDocumentSetVersionsItemRestoreRequestBuilder) 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 *ItemListsItemItemsItemDocumentSetVersionsItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemDocumentSetVersionsItemRestoreRequestBuilder) { + return NewItemListsItemItemsItemDocumentSetVersionsItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_document_set_versions_request_builder.go b/sites/item_lists_item_items_item_document_set_versions_request_builder.go index 256f2a86734..7b2246a2804 100644 --- a/sites/item_lists_item_items_item_document_set_versions_request_builder.go +++ b/sites/item_lists_item_items_item_document_set_versions_request_builder.go @@ -46,8 +46,8 @@ type ItemListsItemItemsItemDocumentSetVersionsRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDocumentSetVersionIdString provides operations to manage the documentSetVersions property of the microsoft.graph.listItem entity. -func (m *ItemListsItemItemsItemDocumentSetVersionsRequestBuilder) ByDocumentSetVersionIdString(documentSetVersionId string)(*ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) { +// ByDocumentSetVersionId provides operations to manage the documentSetVersions property of the microsoft.graph.listItem entity. +func (m *ItemListsItemItemsItemDocumentSetVersionsRequestBuilder) ByDocumentSetVersionId(documentSetVersionId string)(*ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemListsItemItemsItemDocumentSetVersionsRequestBuilder) ToPostRequestI } 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 *ItemListsItemItemsItemDocumentSetVersionsRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemDocumentSetVersionsRequestBuilder) { + return NewItemListsItemItemsItemDocumentSetVersionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_drive_item_content_request_builder.go b/sites/item_lists_item_items_item_drive_item_content_request_builder.go index 71e0059846c..6e126b34311 100644 --- a/sites/item_lists_item_items_item_drive_item_content_request_builder.go +++ b/sites/item_lists_item_items_item_drive_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemListsItemItemsItemDriveItemContentRequestBuilder) ToPutRequestInfor } 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 *ItemListsItemItemsItemDriveItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemDriveItemContentRequestBuilder) { + return NewItemListsItemItemsItemDriveItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_drive_item_request_builder.go b/sites/item_lists_item_items_item_drive_item_request_builder.go index 58bb9088290..8d161072bd1 100644 --- a/sites/item_lists_item_items_item_drive_item_request_builder.go +++ b/sites/item_lists_item_items_item_drive_item_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemListsItemItemsItemDriveItemRequestBuilder) 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 *ItemListsItemItemsItemDriveItemRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemDriveItemRequestBuilder) { + return NewItemListsItemItemsItemDriveItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_fields_request_builder.go b/sites/item_lists_item_items_item_fields_request_builder.go index 8ff00b22aad..335427ce2e7 100644 --- a/sites/item_lists_item_items_item_fields_request_builder.go +++ b/sites/item_lists_item_items_item_fields_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemListsItemItemsItemFieldsRequestBuilder) ToPatchRequestInformation(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 *ItemListsItemItemsItemFieldsRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemFieldsRequestBuilder) { + return NewItemListsItemItemsItemFieldsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go b/sites/item_lists_item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go index 3fedb95765a..ab3a6ea084e 100644 --- a/sites/item_lists_item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go +++ b/sites/item_lists_item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go @@ -93,3 +93,7 @@ func (m *ItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDa } 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 *ItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder) { + return NewItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_last_modified_by_user_mailbox_settings_request_builder.go b/sites/item_lists_item_items_item_last_modified_by_user_mailbox_settings_request_builder.go index 701f1d3519a..41fb4d00762 100644 --- a/sites/item_lists_item_items_item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/sites/item_lists_item_items_item_last_modified_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemListsItemItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) } 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 *ItemListsItemItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewItemListsItemItemsItemLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_last_modified_by_user_request_builder.go b/sites/item_lists_item_items_item_last_modified_by_user_request_builder.go index 945782b043e..b7a81d01999 100644 --- a/sites/item_lists_item_items_item_last_modified_by_user_request_builder.go +++ b/sites/item_lists_item_items_item_last_modified_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemListsItemItemsItemLastModifiedByUserRequestBuilder) ToGetRequestInf } 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 *ItemListsItemItemsItemLastModifiedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemLastModifiedByUserRequestBuilder) { + return NewItemListsItemItemsItemLastModifiedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_versions_count_request_builder.go b/sites/item_lists_item_items_item_versions_count_request_builder.go index 4c8b19f61a9..32b87b0f1fc 100644 --- a/sites/item_lists_item_items_item_versions_count_request_builder.go +++ b/sites/item_lists_item_items_item_versions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListsItemItemsItemVersionsCountRequestBuilder) ToGetRequestInformat } 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 *ItemListsItemItemsItemVersionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemVersionsCountRequestBuilder) { + return NewItemListsItemItemsItemVersionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_versions_item_fields_request_builder.go b/sites/item_lists_item_items_item_versions_item_fields_request_builder.go index 3018d2d1261..ca80b9c6d3d 100644 --- a/sites/item_lists_item_items_item_versions_item_fields_request_builder.go +++ b/sites/item_lists_item_items_item_versions_item_fields_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemListsItemItemsItemVersionsItemFieldsRequestBuilder) ToPatchRequestI } 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 *ItemListsItemItemsItemVersionsItemFieldsRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemVersionsItemFieldsRequestBuilder) { + return NewItemListsItemItemsItemVersionsItemFieldsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_versions_item_restore_version_request_builder.go b/sites/item_lists_item_items_item_versions_item_restore_version_request_builder.go index f8bfce1496b..5b6542103dc 100644 --- a/sites/item_lists_item_items_item_versions_item_restore_version_request_builder.go +++ b/sites/item_lists_item_items_item_versions_item_restore_version_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemListsItemItemsItemVersionsItemRestoreVersionRequestBuilder) ToPostR } 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 *ItemListsItemItemsItemVersionsItemRestoreVersionRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemVersionsItemRestoreVersionRequestBuilder) { + return NewItemListsItemItemsItemVersionsItemRestoreVersionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_versions_list_item_version_item_request_builder.go b/sites/item_lists_item_items_item_versions_list_item_version_item_request_builder.go index d3e14d524a9..46457810a10 100644 --- a/sites/item_lists_item_items_item_versions_list_item_version_item_request_builder.go +++ b/sites/item_lists_item_items_item_versions_list_item_version_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemListsItemItemsItemVersionsListItemVersionItemRequestBuilder) ToPatc } 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 *ItemListsItemItemsItemVersionsListItemVersionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemVersionsListItemVersionItemRequestBuilder) { + return NewItemListsItemItemsItemVersionsListItemVersionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_item_versions_request_builder.go b/sites/item_lists_item_items_item_versions_request_builder.go index beefad403b0..975b502b40e 100644 --- a/sites/item_lists_item_items_item_versions_request_builder.go +++ b/sites/item_lists_item_items_item_versions_request_builder.go @@ -46,8 +46,8 @@ type ItemListsItemItemsItemVersionsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByListItemVersionIdString provides operations to manage the versions property of the microsoft.graph.listItem entity. -func (m *ItemListsItemItemsItemVersionsRequestBuilder) ByListItemVersionIdString(listItemVersionId string)(*ItemListsItemItemsItemVersionsListItemVersionItemRequestBuilder) { +// ByListItemVersionId provides operations to manage the versions property of the microsoft.graph.listItem entity. +func (m *ItemListsItemItemsItemVersionsRequestBuilder) ByListItemVersionId(listItemVersionId string)(*ItemListsItemItemsItemVersionsListItemVersionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemListsItemItemsItemVersionsRequestBuilder) 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 *ItemListsItemItemsItemVersionsRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsItemVersionsRequestBuilder) { + return NewItemListsItemItemsItemVersionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_list_item_item_request_builder.go b/sites/item_lists_item_items_list_item_item_request_builder.go index 28c26bfd6ce..d5a785d4335 100644 --- a/sites/item_lists_item_items_list_item_item_request_builder.go +++ b/sites/item_lists_item_items_list_item_item_request_builder.go @@ -199,3 +199,7 @@ func (m *ItemListsItemItemsListItemItemRequestBuilder) ToPatchRequestInformation func (m *ItemListsItemItemsListItemItemRequestBuilder) Versions()(*ItemListsItemItemsItemVersionsRequestBuilder) { return NewItemListsItemItemsItemVersionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemListsItemItemsListItemItemRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsListItemItemRequestBuilder) { + return NewItemListsItemItemsListItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_items_request_builder.go b/sites/item_lists_item_items_request_builder.go index fc34ecf4f6e..65d70227497 100644 --- a/sites/item_lists_item_items_request_builder.go +++ b/sites/item_lists_item_items_request_builder.go @@ -44,8 +44,8 @@ type ItemListsItemItemsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByListItemIdString provides operations to manage the items property of the microsoft.graph.list entity. -func (m *ItemListsItemItemsRequestBuilder) ByListItemIdString(listItemId string)(*ItemListsItemItemsListItemItemRequestBuilder) { +// ByListItemId provides operations to manage the items property of the microsoft.graph.list entity. +func (m *ItemListsItemItemsRequestBuilder) ByListItemId(listItemId string)(*ItemListsItemItemsListItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,7 @@ func (m *ItemListsItemItemsRequestBuilder) 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 *ItemListsItemItemsRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemItemsRequestBuilder) { + return NewItemListsItemItemsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_last_modified_by_user_mailbox_settings_request_builder.go b/sites/item_lists_item_last_modified_by_user_mailbox_settings_request_builder.go index 9c8ca36068e..3135117e943 100644 --- a/sites/item_lists_item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/sites/item_lists_item_last_modified_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemListsItemLastModifiedByUserMailboxSettingsRequestBuilder) ToPatchRe } 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 *ItemListsItemLastModifiedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewItemListsItemLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_last_modified_by_user_request_builder.go b/sites/item_lists_item_last_modified_by_user_request_builder.go index 8599c2bd256..cf4b3e580fd 100644 --- a/sites/item_lists_item_last_modified_by_user_request_builder.go +++ b/sites/item_lists_item_last_modified_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemListsItemLastModifiedByUserRequestBuilder) 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 *ItemListsItemLastModifiedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemLastModifiedByUserRequestBuilder) { + return NewItemListsItemLastModifiedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_operations_count_request_builder.go b/sites/item_lists_item_operations_count_request_builder.go index d3aea75f0ae..b00a49cabef 100644 --- a/sites/item_lists_item_operations_count_request_builder.go +++ b/sites/item_lists_item_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListsItemOperationsCountRequestBuilder) ToGetRequestInformation(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 *ItemListsItemOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemOperationsCountRequestBuilder) { + return NewItemListsItemOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_operations_request_builder.go b/sites/item_lists_item_operations_request_builder.go index 975c7c9c7c8..5c1c5ca18fa 100644 --- a/sites/item_lists_item_operations_request_builder.go +++ b/sites/item_lists_item_operations_request_builder.go @@ -46,8 +46,8 @@ type ItemListsItemOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRichLongRunningOperationIdString provides operations to manage the operations property of the microsoft.graph.list entity. -func (m *ItemListsItemOperationsRequestBuilder) ByRichLongRunningOperationIdString(richLongRunningOperationId string)(*ItemListsItemOperationsRichLongRunningOperationItemRequestBuilder) { +// ByRichLongRunningOperationId provides operations to manage the operations property of the microsoft.graph.list entity. +func (m *ItemListsItemOperationsRequestBuilder) ByRichLongRunningOperationId(richLongRunningOperationId string)(*ItemListsItemOperationsRichLongRunningOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemListsItemOperationsRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemListsItemOperationsRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemOperationsRequestBuilder) { + return NewItemListsItemOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_operations_rich_long_running_operation_item_request_builder.go b/sites/item_lists_item_operations_rich_long_running_operation_item_request_builder.go index db9ff4effaa..a7c360004fb 100644 --- a/sites/item_lists_item_operations_rich_long_running_operation_item_request_builder.go +++ b/sites/item_lists_item_operations_rich_long_running_operation_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemListsItemOperationsRichLongRunningOperationItemRequestBuilder) ToPa } 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 *ItemListsItemOperationsRichLongRunningOperationItemRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemOperationsRichLongRunningOperationItemRequestBuilder) { + return NewItemListsItemOperationsRichLongRunningOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_subscriptions_count_request_builder.go b/sites/item_lists_item_subscriptions_count_request_builder.go index 1205bfc758c..815b671d0bd 100644 --- a/sites/item_lists_item_subscriptions_count_request_builder.go +++ b/sites/item_lists_item_subscriptions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemListsItemSubscriptionsCountRequestBuilder) 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 *ItemListsItemSubscriptionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemSubscriptionsCountRequestBuilder) { + return NewItemListsItemSubscriptionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_subscriptions_item_reauthorize_request_builder.go b/sites/item_lists_item_subscriptions_item_reauthorize_request_builder.go index 2f47a6fa11c..7fbe10da1b2 100644 --- a/sites/item_lists_item_subscriptions_item_reauthorize_request_builder.go +++ b/sites/item_lists_item_subscriptions_item_reauthorize_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemListsItemSubscriptionsItemReauthorizeRequestBuilder) ToPostRequestI } 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 *ItemListsItemSubscriptionsItemReauthorizeRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemSubscriptionsItemReauthorizeRequestBuilder) { + return NewItemListsItemSubscriptionsItemReauthorizeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_subscriptions_request_builder.go b/sites/item_lists_item_subscriptions_request_builder.go index 370ae205d08..7cceee9a1aa 100644 --- a/sites/item_lists_item_subscriptions_request_builder.go +++ b/sites/item_lists_item_subscriptions_request_builder.go @@ -46,8 +46,8 @@ type ItemListsItemSubscriptionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySubscriptionIdString provides operations to manage the subscriptions property of the microsoft.graph.list entity. -func (m *ItemListsItemSubscriptionsRequestBuilder) BySubscriptionIdString(subscriptionId string)(*ItemListsItemSubscriptionsSubscriptionItemRequestBuilder) { +// BySubscriptionId provides operations to manage the subscriptions property of the microsoft.graph.list entity. +func (m *ItemListsItemSubscriptionsRequestBuilder) BySubscriptionId(subscriptionId string)(*ItemListsItemSubscriptionsSubscriptionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemListsItemSubscriptionsRequestBuilder) 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 *ItemListsItemSubscriptionsRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemSubscriptionsRequestBuilder) { + return NewItemListsItemSubscriptionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_item_subscriptions_subscription_item_request_builder.go b/sites/item_lists_item_subscriptions_subscription_item_request_builder.go index 4b596357ee1..03e8422734e 100644 --- a/sites/item_lists_item_subscriptions_subscription_item_request_builder.go +++ b/sites/item_lists_item_subscriptions_subscription_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemListsItemSubscriptionsSubscriptionItemRequestBuilder) ToPatchReques } 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 *ItemListsItemSubscriptionsSubscriptionItemRequestBuilder) WithUrl(rawUrl string)(*ItemListsItemSubscriptionsSubscriptionItemRequestBuilder) { + return NewItemListsItemSubscriptionsSubscriptionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_list_item_request_builder.go b/sites/item_lists_list_item_request_builder.go index 0f5dead087e..5b08bbaa6e0 100644 --- a/sites/item_lists_list_item_request_builder.go +++ b/sites/item_lists_list_item_request_builder.go @@ -18,7 +18,7 @@ type ItemListsListItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListsListItemRequestBuilderGetQueryParameters return the metadata for a [list][]. +// ItemListsListItemRequestBuilderGetQueryParameters get the list of richLongRunningOperations associated with a list. type ItemListsListItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -90,10 +90,10 @@ func (m *ItemListsListItemRequestBuilder) Delete(ctx context.Context, requestCon func (m *ItemListsListItemRequestBuilder) Drive()(*ItemListsItemDriveRequestBuilder) { return NewItemListsItemDriveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get return the metadata for a [list][]. +// Get get the list of richLongRunningOperations associated with a list. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/list-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-1.0 func (m *ItemListsListItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsListItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -159,7 +159,7 @@ func (m *ItemListsListItemRequestBuilder) ToDeleteRequestInformation(ctx context } return requestInfo, nil } -// ToGetRequestInformation return the metadata for a [list][]. +// ToGetRequestInformation get the list of richLongRunningOperations associated with a list. func (m *ItemListsListItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsListItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -192,3 +192,7 @@ func (m *ItemListsListItemRequestBuilder) ToPatchRequestInformation(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 *ItemListsListItemRequestBuilder) WithUrl(rawUrl string)(*ItemListsListItemRequestBuilder) { + return NewItemListsListItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_lists_request_builder.go b/sites/item_lists_request_builder.go index 3ddd003ad3c..dc8f4477f60 100644 --- a/sites/item_lists_request_builder.go +++ b/sites/item_lists_request_builder.go @@ -46,8 +46,8 @@ type ItemListsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByListIdString provides operations to manage the lists property of the microsoft.graph.site entity. -func (m *ItemListsRequestBuilder) ByListIdString(listId string)(*ItemListsListItemRequestBuilder) { +// ByListId provides operations to manage the lists property of the microsoft.graph.site entity. +func (m *ItemListsRequestBuilder) ByListId(listId string)(*ItemListsListItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemListsRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemListsRequestBuilder) WithUrl(rawUrl string)(*ItemListsRequestBuilder) { + return NewItemListsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_count_request_builder.go b/sites/item_onenote_notebooks_count_request_builder.go index 961524973f2..0cf649269d8 100644 --- a/sites/item_onenote_notebooks_count_request_builder.go +++ b/sites/item_onenote_notebooks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteNotebooksCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemOnenoteNotebooksCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksCountRequestBuilder) { + return NewItemOnenoteNotebooksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go b/sites/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go index 6a14cd38eb4..2119ac5e784 100644 --- a/sites/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go +++ b/sites/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder) ToPostRequestI } 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 *ItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder) { + return NewItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go b/sites/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go index ebf165ffc37..1feb78850de 100644 --- a/sites/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go +++ b/sites/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksReque } 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 *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) { + return NewItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_copy_notebook_request_builder.go b/sites/item_onenote_notebooks_item_copy_notebook_request_builder.go index 6f9511912c1..fa21bec808b 100644 --- a/sites/item_onenote_notebooks_item_copy_notebook_request_builder.go +++ b/sites/item_onenote_notebooks_item_copy_notebook_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksItemCopyNotebookRequestBuilder) ToPostRequestInform } 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 *ItemOnenoteNotebooksItemCopyNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemCopyNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemCopyNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_count_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_count_request_builder.go index 6678a74e070..9466c8f59a3 100644 --- a/sites/item_onenote_notebooks_item_section_groups_count_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsCountRequestBuilder) ToGetRequestI } 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 *ItemOnenoteNotebooksItemSectionGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsCountRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go index 50f0aa7132d..1e66749fa66 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemParentNotebookRequestBuilder) } 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 *ItemOnenoteNotebooksItemSectionGroupsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemParentNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go index 682040a6e3f..c3121384e71 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemParentSectionGroupRequestBuild } 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 *ItemOnenoteNotebooksItemSectionGroupsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemParentSectionGroupRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_item_section_groups_count_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_section_groups_count_request_builder.go index 5cff760abe7..eb9056bd0f4 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_section_groups_count_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_section_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuild } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go index c759646e018..152737302e2 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go @@ -39,8 +39,8 @@ type ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetRequ // Request query parameters QueryParameters *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters } -// BySectionGroupId1String provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. -func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) BySectionGroupId1String(sectionGroupId1 string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { +// BySectionGroupId1 provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. +func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) BySectionGroupId1(sectionGroupId1 string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) T } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go index 51382b501d1..0f4ed51848a 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemR } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_count_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_count_request_builder.go index 2b6a89706d0..a054b3d9ff1 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_count_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilder) T } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go index ff0519429ef..cce620cc64a 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequ } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go index 4867ab675f0..1c0b5e57612 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroup } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_count_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_count_request_builder.go index eeffe2cabfb..45c2e125483 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_count_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesCountRequestB } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesCountRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go index 0842139ac05..46dde38aa33 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemContentRe } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index a198c948194..be1569b1341 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSec } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go index 64c34039e48..23505d0b49b 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePa } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go index f085f00526e..21b3a3ab6fe 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentNot } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go index 6408b690f1d..f8c9af0a31f 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentSec } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go index 31538bfd179..6a0dd1b886e 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemPreviewRe } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go index 0b3727a3f28..a93022cf042 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go @@ -177,3 +177,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageIt } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go index 35b3a57f33c..9525809d6c4 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilderPos // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenotePageIdString provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. -func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilder) ByOnenotePageIdString(onenotePageId string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { +// ByOnenotePageId provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. +func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilder) ByOnenotePageId(onenotePageId string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilde } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go index 7fa844f762a..f28dbee76a6 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentNotebookRequ } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go index 6d378be4c14..bb63d75f243 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentSectionGroup } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go index ec9be8b003f..078058f121e 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequ } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go index c6006549410..d8e5ec5775a 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteSectionIdString provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. -func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ByOnenoteSectionIdString(onenoteSectionId string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { +// ByOnenoteSectionId provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. +func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ByOnenoteSectionId(onenoteSectionId string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ToPost } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_request_builder.go index ffa00776489..f1f34150aa2 100644 --- a/sites/item_onenote_notebooks_item_section_groups_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteNotebooksItemSectionGroupsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySectionGroupIdString provides operations to manage the sectionGroups property of the microsoft.graph.notebook entity. -func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) BySectionGroupIdString(sectionGroupId string)(*ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) { +// BySectionGroupId provides operations to manage the sectionGroups property of the microsoft.graph.notebook entity. +func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) BySectionGroupId(sectionGroupId string)(*ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToPostRequestInfor } 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 *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go index ba1d902da64..43cd0c344dc 100644 --- a/sites/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go @@ -169,3 +169,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) To } 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 *ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_sections_count_request_builder.go b/sites/item_onenote_notebooks_item_sections_count_request_builder.go index 1ffd0f0bc76..ddf863fa00f 100644 --- a/sites/item_onenote_notebooks_item_sections_count_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteNotebooksItemSectionsCountRequestBuilder) ToGetRequestInform } 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 *ItemOnenoteNotebooksItemSectionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsCountRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go index 39b6b22d28b..956eee161d9 100644 --- a/sites/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder) ToPos } 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 *ItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go index 816ace97e53..d6e07f08d30 100644 --- a/sites/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder) T } 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 *ItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_sections_item_pages_count_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_pages_count_request_builder.go index b27e5e3492f..3dc6650882b 100644 --- a/sites/item_onenote_notebooks_item_sections_item_pages_count_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesCountRequestBuilder) ToGetRequ } 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 *ItemOnenoteNotebooksItemSectionsItemPagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesCountRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go index a210476c614..6c8195bc3ee 100644 --- a/sites/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBuilder) 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 *ItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go index 1658e09bb2c..630ab0ac84f 100644 --- a/sites/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilde } 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 *ItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go index 065ba0308db..e5e4e785083 100644 --- a/sites/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentRequest } 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 *ItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go index a61370981a8..66d9ac2edd9 100644 --- a/sites/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemParentNotebookRequestBuild } 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 *ItemOnenoteNotebooksItemSectionsItemPagesItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesItemParentNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go index cb6e748a2dd..b0eed1d827f 100644 --- a/sites/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemParentSectionRequestBuilde } 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 *ItemOnenoteNotebooksItemSectionsItemPagesItemParentSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesItemParentSectionRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesItemParentSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go index bd9e9b2b3ba..951a85f6853 100644 --- a/sites/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemPreviewRequestBuilder) ToG } 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 *ItemOnenoteNotebooksItemSectionsItemPagesItemPreviewRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesItemPreviewRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesItemPreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go index a5fced61b90..09e0778b7d2 100644 --- a/sites/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go @@ -177,3 +177,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) } 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 *ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_sections_item_pages_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_pages_request_builder.go index 7687028b3ae..2c4783d0397 100644 --- a/sites/item_onenote_notebooks_item_sections_item_pages_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_pages_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenotePageIdString provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. -func (m *ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) ByOnenotePageIdString(onenotePageId string)(*ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) { +// ByOnenotePageId provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. +func (m *ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) ByOnenotePageId(onenotePageId string)(*ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) ToPostRequestI } 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 *ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go index 08d18503dd7..96d500f1936 100644 --- a/sites/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemParentNotebookRequestBuilder) ToGet } 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 *ItemOnenoteNotebooksItemSectionsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemParentNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go index 883d587c789..a1f96642408 100644 --- a/sites/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemParentSectionGroupRequestBuilder) T } 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 *ItemOnenoteNotebooksItemSectionsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemParentSectionGroupRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go b/sites/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go index 56d0982ddb1..5d9f805fce6 100644 --- a/sites/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) 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 *ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_item_sections_request_builder.go b/sites/item_onenote_notebooks_item_sections_request_builder.go index bc001ef243f..e685c96bc08 100644 --- a/sites/item_onenote_notebooks_item_sections_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteNotebooksItemSectionsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteSectionIdString provides operations to manage the sections property of the microsoft.graph.notebook entity. -func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ByOnenoteSectionIdString(onenoteSectionId string)(*ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) { +// ByOnenoteSectionId provides operations to manage the sections property of the microsoft.graph.notebook entity. +func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ByOnenoteSectionId(onenoteSectionId string)(*ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ToPostRequestInformatio } 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 *ItemOnenoteNotebooksItemSectionsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_notebook_item_request_builder.go b/sites/item_onenote_notebooks_notebook_item_request_builder.go index 6b75522a67a..877f88d066d 100644 --- a/sites/item_onenote_notebooks_notebook_item_request_builder.go +++ b/sites/item_onenote_notebooks_notebook_item_request_builder.go @@ -168,3 +168,7 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) ToPatchRequestInformati } 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 *ItemOnenoteNotebooksNotebookItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksNotebookItemRequestBuilder) { + return NewItemOnenoteNotebooksNotebookItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_notebooks_request_builder.go b/sites/item_onenote_notebooks_request_builder.go index 888382ff7c2..46b02351ed1 100644 --- a/sites/item_onenote_notebooks_request_builder.go +++ b/sites/item_onenote_notebooks_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteNotebooksRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByNotebookIdString provides operations to manage the notebooks property of the microsoft.graph.onenote entity. -func (m *ItemOnenoteNotebooksRequestBuilder) ByNotebookIdString(notebookId string)(*ItemOnenoteNotebooksNotebookItemRequestBuilder) { +// ByNotebookId provides operations to manage the notebooks property of the microsoft.graph.onenote entity. +func (m *ItemOnenoteNotebooksRequestBuilder) ByNotebookId(notebookId string)(*ItemOnenoteNotebooksNotebookItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -159,3 +159,7 @@ func (m *ItemOnenoteNotebooksRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemOnenoteNotebooksRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksRequestBuilder) { + return NewItemOnenoteNotebooksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_operations_count_request_builder.go b/sites/item_onenote_operations_count_request_builder.go index 57d12987039..d4dd6c523e5 100644 --- a/sites/item_onenote_operations_count_request_builder.go +++ b/sites/item_onenote_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteOperationsCountRequestBuilder) ToGetRequestInformation(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 *ItemOnenoteOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteOperationsCountRequestBuilder) { + return NewItemOnenoteOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_operations_onenote_operation_item_request_builder.go b/sites/item_onenote_operations_onenote_operation_item_request_builder.go index 2c5d62b6f61..266806e2b6c 100644 --- a/sites/item_onenote_operations_onenote_operation_item_request_builder.go +++ b/sites/item_onenote_operations_onenote_operation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnenoteOperationsOnenoteOperationItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. type ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) Delete(ctx con } return nil } -// Get get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// Get get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/onenoteoperation-get?view=graph-rest-1.0 @@ -123,7 +123,7 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToDeleteReques } return requestInfo, nil } -// ToGetRequestInformation get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ToGetRequestInformation get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -156,3 +156,7 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToPatchRequest } 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 *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) { + return NewItemOnenoteOperationsOnenoteOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_operations_request_builder.go b/sites/item_onenote_operations_request_builder.go index 454dcedbfff..4e2833dfcef 100644 --- a/sites/item_onenote_operations_request_builder.go +++ b/sites/item_onenote_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteOperationsRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ItemOnenoteOperationsRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. type ItemOnenoteOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type ItemOnenoteOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteOperationIdString provides operations to manage the operations property of the microsoft.graph.onenote entity. -func (m *ItemOnenoteOperationsRequestBuilder) ByOnenoteOperationIdString(onenoteOperationId string)(*ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) { +// ByOnenoteOperationId provides operations to manage the operations property of the microsoft.graph.onenote entity. +func (m *ItemOnenoteOperationsRequestBuilder) ByOnenoteOperationId(onenoteOperationId string)(*ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,7 +74,7 @@ func NewItemOnenoteOperationsRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *ItemOnenoteOperationsRequestBuilder) Count()(*ItemOnenoteOperationsCountRequestBuilder) { return NewItemOnenoteOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// Get get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. func (m *ItemOnenoteOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +112,7 @@ func (m *ItemOnenoteOperationsRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable), nil } -// ToGetRequestInformation get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ToGetRequestInformation get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. func (m *ItemOnenoteOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -145,3 +145,7 @@ func (m *ItemOnenoteOperationsRequestBuilder) 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 *ItemOnenoteOperationsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteOperationsRequestBuilder) { + return NewItemOnenoteOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_pages_count_request_builder.go b/sites/item_onenote_pages_count_request_builder.go index 7f31d49b949..2fb9d0484a7 100644 --- a/sites/item_onenote_pages_count_request_builder.go +++ b/sites/item_onenote_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenotePagesCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemOnenotePagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesCountRequestBuilder) { + return NewItemOnenotePagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_pages_item_content_request_builder.go b/sites/item_onenote_pages_item_content_request_builder.go index f6103d23195..1673676de25 100644 --- a/sites/item_onenote_pages_item_content_request_builder.go +++ b/sites/item_onenote_pages_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemOnenotePagesItemContentRequestBuilder) ToPutRequestInformation(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 *ItemOnenotePagesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesItemContentRequestBuilder) { + return NewItemOnenotePagesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_pages_item_copy_to_section_request_builder.go b/sites/item_onenote_pages_item_copy_to_section_request_builder.go index 43a9b27e334..90bdc7f9ee3 100644 --- a/sites/item_onenote_pages_item_copy_to_section_request_builder.go +++ b/sites/item_onenote_pages_item_copy_to_section_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenotePagesItemCopyToSectionRequestBuilder) ToPostRequestInformati } 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 *ItemOnenotePagesItemCopyToSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesItemCopyToSectionRequestBuilder) { + return NewItemOnenotePagesItemCopyToSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_pages_item_onenote_patch_content_request_builder.go b/sites/item_onenote_pages_item_onenote_patch_content_request_builder.go index 9a6ef3a9dcf..1591e0d3701 100644 --- a/sites/item_onenote_pages_item_onenote_patch_content_request_builder.go +++ b/sites/item_onenote_pages_item_onenote_patch_content_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemOnenotePagesItemOnenotePatchContentRequestBuilder) ToPostRequestInf } 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 *ItemOnenotePagesItemOnenotePatchContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesItemOnenotePatchContentRequestBuilder) { + return NewItemOnenotePagesItemOnenotePatchContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_pages_item_parent_notebook_request_builder.go b/sites/item_onenote_pages_item_parent_notebook_request_builder.go index cc7887e167a..63c7b0b3a4c 100644 --- a/sites/item_onenote_pages_item_parent_notebook_request_builder.go +++ b/sites/item_onenote_pages_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenotePagesItemParentNotebookRequestBuilder) ToGetRequestInformati } 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 *ItemOnenotePagesItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesItemParentNotebookRequestBuilder) { + return NewItemOnenotePagesItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_pages_item_parent_section_request_builder.go b/sites/item_onenote_pages_item_parent_section_request_builder.go index 2774e7b63ba..f1c75614422 100644 --- a/sites/item_onenote_pages_item_parent_section_request_builder.go +++ b/sites/item_onenote_pages_item_parent_section_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenotePagesItemParentSectionRequestBuilder) 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 *ItemOnenotePagesItemParentSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesItemParentSectionRequestBuilder) { + return NewItemOnenotePagesItemParentSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_pages_item_preview_request_builder.go b/sites/item_onenote_pages_item_preview_request_builder.go index 79a68a7ad68..ba29f8e7204 100644 --- a/sites/item_onenote_pages_item_preview_request_builder.go +++ b/sites/item_onenote_pages_item_preview_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemOnenotePagesItemPreviewRequestBuilder) ToGetRequestInformation(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 *ItemOnenotePagesItemPreviewRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesItemPreviewRequestBuilder) { + return NewItemOnenotePagesItemPreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_pages_onenote_page_item_request_builder.go b/sites/item_onenote_pages_onenote_page_item_request_builder.go index 424c24ddd34..b161185eaa1 100644 --- a/sites/item_onenote_pages_onenote_page_item_request_builder.go +++ b/sites/item_onenote_pages_onenote_page_item_request_builder.go @@ -180,3 +180,7 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) ToPatchRequestInformatio } 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 *ItemOnenotePagesOnenotePageItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesOnenotePageItemRequestBuilder) { + return NewItemOnenotePagesOnenotePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_pages_request_builder.go b/sites/item_onenote_pages_request_builder.go index 570bd3a48be..2c6f03bd7e1 100644 --- a/sites/item_onenote_pages_request_builder.go +++ b/sites/item_onenote_pages_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenotePagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenotePageIdString provides operations to manage the pages property of the microsoft.graph.onenote entity. -func (m *ItemOnenotePagesRequestBuilder) ByOnenotePageIdString(onenotePageId string)(*ItemOnenotePagesOnenotePageItemRequestBuilder) { +// ByOnenotePageId provides operations to manage the pages property of the microsoft.graph.onenote entity. +func (m *ItemOnenotePagesRequestBuilder) ByOnenotePageId(onenotePageId string)(*ItemOnenotePagesOnenotePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemOnenotePagesRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ItemOnenotePagesRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesRequestBuilder) { + return NewItemOnenotePagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_request_builder.go b/sites/item_onenote_request_builder.go index 37763bf77a4..2a3712a1ff3 100644 --- a/sites/item_onenote_request_builder.go +++ b/sites/item_onenote_request_builder.go @@ -177,3 +177,7 @@ func (m *ItemOnenoteRequestBuilder) ToPatchRequestInformation(ctx context.Contex } 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 *ItemOnenoteRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteRequestBuilder) { + return NewItemOnenoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_resources_count_request_builder.go b/sites/item_onenote_resources_count_request_builder.go index eea432b5ec4..b36aaf68083 100644 --- a/sites/item_onenote_resources_count_request_builder.go +++ b/sites/item_onenote_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteResourcesCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemOnenoteResourcesCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteResourcesCountRequestBuilder) { + return NewItemOnenoteResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_resources_item_content_request_builder.go b/sites/item_onenote_resources_item_content_request_builder.go index 783ddf119f4..269e79a0115 100644 --- a/sites/item_onenote_resources_item_content_request_builder.go +++ b/sites/item_onenote_resources_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemOnenoteResourcesItemContentRequestBuilder) ToPutRequestInformation( } 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 *ItemOnenoteResourcesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteResourcesItemContentRequestBuilder) { + return NewItemOnenoteResourcesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_resources_onenote_resource_item_request_builder.go b/sites/item_onenote_resources_onenote_resource_item_request_builder.go index 0ead4557792..8a584347650 100644 --- a/sites/item_onenote_resources_onenote_resource_item_request_builder.go +++ b/sites/item_onenote_resources_onenote_resource_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) ToPatchRequestIn } 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 *ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) { + return NewItemOnenoteResourcesOnenoteResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_resources_request_builder.go b/sites/item_onenote_resources_request_builder.go index 4299d587c47..d39a62021a2 100644 --- a/sites/item_onenote_resources_request_builder.go +++ b/sites/item_onenote_resources_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteResourcesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteResourceIdString provides operations to manage the resources property of the microsoft.graph.onenote entity. -func (m *ItemOnenoteResourcesRequestBuilder) ByOnenoteResourceIdString(onenoteResourceId string)(*ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) { +// ByOnenoteResourceId provides operations to manage the resources property of the microsoft.graph.onenote entity. +func (m *ItemOnenoteResourcesRequestBuilder) ByOnenoteResourceId(onenoteResourceId string)(*ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemOnenoteResourcesRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemOnenoteResourcesRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteResourcesRequestBuilder) { + return NewItemOnenoteResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_count_request_builder.go b/sites/item_onenote_section_groups_count_request_builder.go index 7a172b28b51..d4509f249fe 100644 --- a/sites/item_onenote_section_groups_count_request_builder.go +++ b/sites/item_onenote_section_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteSectionGroupsCountRequestBuilder) ToGetRequestInformation(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 *ItemOnenoteSectionGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsCountRequestBuilder) { + return NewItemOnenoteSectionGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_item_parent_notebook_request_builder.go b/sites/item_onenote_section_groups_item_parent_notebook_request_builder.go index deb91ce38cb..ca9370353a8 100644 --- a/sites/item_onenote_section_groups_item_parent_notebook_request_builder.go +++ b/sites/item_onenote_section_groups_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionGroupsItemParentNotebookRequestBuilder) ToGetRequestI } 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 *ItemOnenoteSectionGroupsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemParentNotebookRequestBuilder) { + return NewItemOnenoteSectionGroupsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_item_parent_section_group_request_builder.go b/sites/item_onenote_section_groups_item_parent_section_group_request_builder.go index a1e2671166a..e2d69891c0e 100644 --- a/sites/item_onenote_section_groups_item_parent_section_group_request_builder.go +++ b/sites/item_onenote_section_groups_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionGroupsItemParentSectionGroupRequestBuilder) ToGetRequ } 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 *ItemOnenoteSectionGroupsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemParentSectionGroupRequestBuilder) { + return NewItemOnenoteSectionGroupsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_item_section_groups_count_request_builder.go b/sites/item_onenote_section_groups_item_section_groups_count_request_builder.go index f2bcf26c964..41af4ccc623 100644 --- a/sites/item_onenote_section_groups_item_section_groups_count_request_builder.go +++ b/sites/item_onenote_section_groups_item_section_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilder) ToGetRequ } 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 *ItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_item_section_groups_request_builder.go b/sites/item_onenote_section_groups_item_section_groups_request_builder.go index 21c88d6061d..ff7caa6eef2 100644 --- a/sites/item_onenote_section_groups_item_section_groups_request_builder.go +++ b/sites/item_onenote_section_groups_item_section_groups_request_builder.go @@ -39,8 +39,8 @@ type ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetRequestConfigurat // Request query parameters QueryParameters *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters } -// BySectionGroupId1String provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. -func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) BySectionGroupId1String(sectionGroupId1 string)(*ItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { +// BySectionGroupId1 provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. +func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) BySectionGroupId1(sectionGroupId1 string)(*ItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) ToGetRequestIn } 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 *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go b/sites/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go index f7ffcbba8f5..7a7d43750cb 100644 --- a/sites/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go +++ b/sites/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder } 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 *ItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_item_sections_count_request_builder.go b/sites/item_onenote_section_groups_item_sections_count_request_builder.go index 91a1268294a..dac75ef3512 100644 --- a/sites/item_onenote_section_groups_item_sections_count_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsCountRequestBuilder) ToGetRequestIn } 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 *ItemOnenoteSectionGroupsItemSectionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsCountRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go index bec9a2a7602..2e2f1e8a3b9 100644 --- a/sites/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) T } 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 *ItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go index bcbcb2bb4c9..e454448f000 100644 --- a/sites/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilde } 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 *ItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_item_sections_item_pages_count_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_pages_count_request_builder.go index 34bbd1f4301..10ecea139f4 100644 --- a/sites/item_onenote_section_groups_item_sections_item_pages_count_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesCountRequestBuilder) ToGet } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesCountRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go index 3d0853ea112..02df6bff91c 100644 --- a/sites/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index 199bfe7b3f4..19256763b84 100644 --- a/sites/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBu } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go index 6771898b4fb..4ea81fffbb1 100644 --- a/sites/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentReq } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go index 7750dfac3ef..6c99d89ec73 100644 --- a/sites/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentNotebookRequestB } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go index c8fc638a9fd..b93780a152e 100644 --- a/sites/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentSectionRequestBu } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go index 7b0a9ac5296..a491310bd56 100644 --- a/sites/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder) } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go index 4afbeb3aada..6f872bb9c11 100644 --- a/sites/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go @@ -177,3 +177,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuil } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_item_sections_item_pages_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_pages_request_builder.go index e01ef6a5e31..aa16c85c7e9 100644 --- a/sites/item_onenote_section_groups_item_sections_item_pages_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_pages_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenotePageIdString provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. -func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) ByOnenotePageIdString(onenotePageId string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { +// ByOnenotePageId provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. +func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) ByOnenotePageId(onenotePageId string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) ToPostRequ } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go index e8d0d94c49a..dd9d242db44 100644 --- a/sites/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemParentNotebookRequestBuilder) T } 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 *ItemOnenoteSectionGroupsItemSectionsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemParentNotebookRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go index 0c3598a21bc..1cf3b6794c1 100644 --- a/sites/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemParentSectionGroupRequestBuilde } 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 *ItemOnenoteSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go b/sites/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go index 7f4562916e5..480867b3b82 100644 --- a/sites/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) T } 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 *ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_item_sections_request_builder.go b/sites/item_onenote_section_groups_item_sections_request_builder.go index 9a5e8b605ca..fafd3b6af0c 100644 --- a/sites/item_onenote_section_groups_item_sections_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteSectionGroupsItemSectionsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteSectionIdString provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. -func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ByOnenoteSectionIdString(onenoteSectionId string)(*ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { +// ByOnenoteSectionId provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. +func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ByOnenoteSectionId(onenoteSectionId string)(*ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToPostRequestInform } 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 *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_request_builder.go b/sites/item_onenote_section_groups_request_builder.go index ac47bbb050d..f09b8e9bfc4 100644 --- a/sites/item_onenote_section_groups_request_builder.go +++ b/sites/item_onenote_section_groups_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteSectionGroupsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySectionGroupIdString provides operations to manage the sectionGroups property of the microsoft.graph.onenote entity. -func (m *ItemOnenoteSectionGroupsRequestBuilder) BySectionGroupIdString(sectionGroupId string)(*ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) { +// BySectionGroupId provides operations to manage the sectionGroups property of the microsoft.graph.onenote entity. +func (m *ItemOnenoteSectionGroupsRequestBuilder) BySectionGroupId(sectionGroupId string)(*ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemOnenoteSectionGroupsRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemOnenoteSectionGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsRequestBuilder) { + return NewItemOnenoteSectionGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_section_groups_section_group_item_request_builder.go b/sites/item_onenote_section_groups_section_group_item_request_builder.go index ca539683f01..7803d533815 100644 --- a/sites/item_onenote_section_groups_section_group_item_request_builder.go +++ b/sites/item_onenote_section_groups_section_group_item_request_builder.go @@ -172,3 +172,7 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToPatchRequestI } 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 *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) { + return NewItemOnenoteSectionGroupsSectionGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_sections_count_request_builder.go b/sites/item_onenote_sections_count_request_builder.go index 710154143cf..3d9ad3e728b 100644 --- a/sites/item_onenote_sections_count_request_builder.go +++ b/sites/item_onenote_sections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteSectionsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemOnenoteSectionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsCountRequestBuilder) { + return NewItemOnenoteSectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_sections_item_copy_to_notebook_request_builder.go b/sites/item_onenote_sections_item_copy_to_notebook_request_builder.go index ad3c31552fd..d8599c85744 100644 --- a/sites/item_onenote_sections_item_copy_to_notebook_request_builder.go +++ b/sites/item_onenote_sections_item_copy_to_notebook_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteSectionsItemCopyToNotebookRequestBuilder) ToPostRequestInfor } 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 *ItemOnenoteSectionsItemCopyToNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemCopyToNotebookRequestBuilder) { + return NewItemOnenoteSectionsItemCopyToNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_sections_item_copy_to_section_group_request_builder.go b/sites/item_onenote_sections_item_copy_to_section_group_request_builder.go index 9c13ecb99d6..5de6f526235 100644 --- a/sites/item_onenote_sections_item_copy_to_section_group_request_builder.go +++ b/sites/item_onenote_sections_item_copy_to_section_group_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder) ToPostRequestI } 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 *ItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder) { + return NewItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_sections_item_pages_count_request_builder.go b/sites/item_onenote_sections_item_pages_count_request_builder.go index b90ae9b4448..ac6d2ecd4b8 100644 --- a/sites/item_onenote_sections_item_pages_count_request_builder.go +++ b/sites/item_onenote_sections_item_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteSectionsItemPagesCountRequestBuilder) 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 *ItemOnenoteSectionsItemPagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesCountRequestBuilder) { + return NewItemOnenoteSectionsItemPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_sections_item_pages_item_content_request_builder.go b/sites/item_onenote_sections_item_pages_item_content_request_builder.go index d56d2d15cad..7e39ebb2933 100644 --- a/sites/item_onenote_sections_item_pages_item_content_request_builder.go +++ b/sites/item_onenote_sections_item_pages_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemOnenoteSectionsItemPagesItemContentRequestBuilder) ToPutRequestInfo } 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 *ItemOnenoteSectionsItemPagesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesItemContentRequestBuilder) { + return NewItemOnenoteSectionsItemPagesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go b/sites/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go index d5006d4794a..f3cd74f95dc 100644 --- a/sites/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go +++ b/sites/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder) ToPostRequ } 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 *ItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder) { + return NewItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go b/sites/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go index 8b41779d5c0..6ce77089cd8 100644 --- a/sites/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/sites/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemOnenoteSectionsItemPagesItemOnenotePatchContentRequestBuilder) ToPo } 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 *ItemOnenoteSectionsItemPagesItemOnenotePatchContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesItemOnenotePatchContentRequestBuilder) { + return NewItemOnenoteSectionsItemPagesItemOnenotePatchContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go b/sites/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go index 5d4bafc167e..d2d6a2754f3 100644 --- a/sites/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go +++ b/sites/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionsItemPagesItemParentNotebookRequestBuilder) ToGetRequ } 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 *ItemOnenoteSectionsItemPagesItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesItemParentNotebookRequestBuilder) { + return NewItemOnenoteSectionsItemPagesItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_sections_item_pages_item_parent_section_request_builder.go b/sites/item_onenote_sections_item_pages_item_parent_section_request_builder.go index 10832f8c8bb..622852c9ad2 100644 --- a/sites/item_onenote_sections_item_pages_item_parent_section_request_builder.go +++ b/sites/item_onenote_sections_item_pages_item_parent_section_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionsItemPagesItemParentSectionRequestBuilder) ToGetReque } 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 *ItemOnenoteSectionsItemPagesItemParentSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesItemParentSectionRequestBuilder) { + return NewItemOnenoteSectionsItemPagesItemParentSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_sections_item_pages_item_preview_request_builder.go b/sites/item_onenote_sections_item_pages_item_preview_request_builder.go index 80d7ad826c0..667edf635aa 100644 --- a/sites/item_onenote_sections_item_pages_item_preview_request_builder.go +++ b/sites/item_onenote_sections_item_pages_item_preview_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemOnenoteSectionsItemPagesItemPreviewRequestBuilder) ToGetRequestInfo } 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 *ItemOnenoteSectionsItemPagesItemPreviewRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesItemPreviewRequestBuilder) { + return NewItemOnenoteSectionsItemPagesItemPreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_sections_item_pages_onenote_page_item_request_builder.go b/sites/item_onenote_sections_item_pages_onenote_page_item_request_builder.go index ead90d08ce5..3fe7869a825 100644 --- a/sites/item_onenote_sections_item_pages_onenote_page_item_request_builder.go +++ b/sites/item_onenote_sections_item_pages_onenote_page_item_request_builder.go @@ -177,3 +177,7 @@ func (m *ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) ToPatchReque } 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 *ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) { + return NewItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_sections_item_pages_request_builder.go b/sites/item_onenote_sections_item_pages_request_builder.go index 41ebc56926e..5f0d6e6f1d2 100644 --- a/sites/item_onenote_sections_item_pages_request_builder.go +++ b/sites/item_onenote_sections_item_pages_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteSectionsItemPagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenotePageIdString provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. -func (m *ItemOnenoteSectionsItemPagesRequestBuilder) ByOnenotePageIdString(onenotePageId string)(*ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) { +// ByOnenotePageId provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. +func (m *ItemOnenoteSectionsItemPagesRequestBuilder) ByOnenotePageId(onenotePageId string)(*ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemOnenoteSectionsItemPagesRequestBuilder) 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 *ItemOnenoteSectionsItemPagesRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesRequestBuilder) { + return NewItemOnenoteSectionsItemPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_sections_item_parent_notebook_request_builder.go b/sites/item_onenote_sections_item_parent_notebook_request_builder.go index f947789571a..34c88fe1d9d 100644 --- a/sites/item_onenote_sections_item_parent_notebook_request_builder.go +++ b/sites/item_onenote_sections_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionsItemParentNotebookRequestBuilder) ToGetRequestInform } 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 *ItemOnenoteSectionsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemParentNotebookRequestBuilder) { + return NewItemOnenoteSectionsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_sections_item_parent_section_group_request_builder.go b/sites/item_onenote_sections_item_parent_section_group_request_builder.go index ee7a91ec4da..e4450a26e54 100644 --- a/sites/item_onenote_sections_item_parent_section_group_request_builder.go +++ b/sites/item_onenote_sections_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionsItemParentSectionGroupRequestBuilder) ToGetRequestIn } 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 *ItemOnenoteSectionsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemParentSectionGroupRequestBuilder) { + return NewItemOnenoteSectionsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_sections_onenote_section_item_request_builder.go b/sites/item_onenote_sections_onenote_section_item_request_builder.go index fa3accda61a..c4ca212d1a9 100644 --- a/sites/item_onenote_sections_onenote_section_item_request_builder.go +++ b/sites/item_onenote_sections_onenote_section_item_request_builder.go @@ -176,3 +176,7 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) 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 *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) { + return NewItemOnenoteSectionsOnenoteSectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_onenote_sections_request_builder.go b/sites/item_onenote_sections_request_builder.go index c76b7d70bf7..54b7ec0516d 100644 --- a/sites/item_onenote_sections_request_builder.go +++ b/sites/item_onenote_sections_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteSectionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteSectionIdString provides operations to manage the sections property of the microsoft.graph.onenote entity. -func (m *ItemOnenoteSectionsRequestBuilder) ByOnenoteSectionIdString(onenoteSectionId string)(*ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) { +// ByOnenoteSectionId provides operations to manage the sections property of the microsoft.graph.onenote entity. +func (m *ItemOnenoteSectionsRequestBuilder) ByOnenoteSectionId(onenoteSectionId string)(*ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemOnenoteSectionsRequestBuilder) 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 *ItemOnenoteSectionsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsRequestBuilder) { + return NewItemOnenoteSectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_operations_count_request_builder.go b/sites/item_operations_count_request_builder.go index 421e563ce02..b6249cb3e82 100644 --- a/sites/item_operations_count_request_builder.go +++ b/sites/item_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOperationsCountRequestBuilder) ToGetRequestInformation(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 *ItemOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOperationsCountRequestBuilder) { + return NewItemOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_operations_request_builder.go b/sites/item_operations_request_builder.go index 9fcec08bcde..6b63a94fa2c 100644 --- a/sites/item_operations_request_builder.go +++ b/sites/item_operations_request_builder.go @@ -46,8 +46,8 @@ type ItemOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRichLongRunningOperationIdString provides operations to manage the operations property of the microsoft.graph.site entity. -func (m *ItemOperationsRequestBuilder) ByRichLongRunningOperationIdString(richLongRunningOperationId string)(*ItemOperationsRichLongRunningOperationItemRequestBuilder) { +// ByRichLongRunningOperationId provides operations to manage the operations property of the microsoft.graph.site entity. +func (m *ItemOperationsRequestBuilder) ByRichLongRunningOperationId(richLongRunningOperationId string)(*ItemOperationsRichLongRunningOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemOperationsRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *ItemOperationsRequestBuilder) WithUrl(rawUrl string)(*ItemOperationsRequestBuilder) { + return NewItemOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_operations_rich_long_running_operation_item_request_builder.go b/sites/item_operations_rich_long_running_operation_item_request_builder.go index 92e89b951d0..1a673c39071 100644 --- a/sites/item_operations_rich_long_running_operation_item_request_builder.go +++ b/sites/item_operations_rich_long_running_operation_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemOperationsRichLongRunningOperationItemRequestBuilder) ToPatchReques } 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 *ItemOperationsRichLongRunningOperationItemRequestBuilder) WithUrl(rawUrl string)(*ItemOperationsRichLongRunningOperationItemRequestBuilder) { + return NewItemOperationsRichLongRunningOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_pages_base_site_page_item_request_builder.go b/sites/item_pages_base_site_page_item_request_builder.go index ad83972d439..1bf20282c33 100644 --- a/sites/item_pages_base_site_page_item_request_builder.go +++ b/sites/item_pages_base_site_page_item_request_builder.go @@ -164,3 +164,7 @@ func (m *ItemPagesBaseSitePageItemRequestBuilder) ToPatchRequestInformation(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 *ItemPagesBaseSitePageItemRequestBuilder) WithUrl(rawUrl string)(*ItemPagesBaseSitePageItemRequestBuilder) { + return NewItemPagesBaseSitePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_pages_count_request_builder.go b/sites/item_pages_count_request_builder.go index b2500df79e9..1778bd9c98d 100644 --- a/sites/item_pages_count_request_builder.go +++ b/sites/item_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPagesCountRequestBuilder) ToGetRequestInformation(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 *ItemPagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemPagesCountRequestBuilder) { + return NewItemPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_pages_item_created_by_user_mailbox_settings_request_builder.go b/sites/item_pages_item_created_by_user_mailbox_settings_request_builder.go index d20cf9b3513..e086224995c 100644 --- a/sites/item_pages_item_created_by_user_mailbox_settings_request_builder.go +++ b/sites/item_pages_item_created_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemPagesItemCreatedByUserMailboxSettingsRequestBuilder) ToPatchRequest } 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 *ItemPagesItemCreatedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemPagesItemCreatedByUserMailboxSettingsRequestBuilder) { + return NewItemPagesItemCreatedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_pages_item_created_by_user_request_builder.go b/sites/item_pages_item_created_by_user_request_builder.go index 257bc9054ba..2d1df4a2265 100644 --- a/sites/item_pages_item_created_by_user_request_builder.go +++ b/sites/item_pages_item_created_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemPagesItemCreatedByUserRequestBuilder) ToGetRequestInformation(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 *ItemPagesItemCreatedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemPagesItemCreatedByUserRequestBuilder) { + return NewItemPagesItemCreatedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_pages_item_last_modified_by_user_mailbox_settings_request_builder.go b/sites/item_pages_item_last_modified_by_user_mailbox_settings_request_builder.go index 76e58e4d947..ca9819e1171 100644 --- a/sites/item_pages_item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/sites/item_pages_item_last_modified_by_user_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemPagesItemLastModifiedByUserMailboxSettingsRequestBuilder) ToPatchRe } 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 *ItemPagesItemLastModifiedByUserMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemPagesItemLastModifiedByUserMailboxSettingsRequestBuilder) { + return NewItemPagesItemLastModifiedByUserMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_pages_item_last_modified_by_user_request_builder.go b/sites/item_pages_item_last_modified_by_user_request_builder.go index 66f1c5c4143..155934c66ba 100644 --- a/sites/item_pages_item_last_modified_by_user_request_builder.go +++ b/sites/item_pages_item_last_modified_by_user_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemPagesItemLastModifiedByUserRequestBuilder) 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 *ItemPagesItemLastModifiedByUserRequestBuilder) WithUrl(rawUrl string)(*ItemPagesItemLastModifiedByUserRequestBuilder) { + return NewItemPagesItemLastModifiedByUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_pages_request_builder.go b/sites/item_pages_request_builder.go index f35ba7414d7..370fff6cd86 100644 --- a/sites/item_pages_request_builder.go +++ b/sites/item_pages_request_builder.go @@ -46,8 +46,8 @@ type ItemPagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByBaseSitePageIdString provides operations to manage the pages property of the microsoft.graph.site entity. -func (m *ItemPagesRequestBuilder) ByBaseSitePageIdString(baseSitePageId string)(*ItemPagesBaseSitePageItemRequestBuilder) { +// ByBaseSitePageId provides operations to manage the pages property of the microsoft.graph.site entity. +func (m *ItemPagesRequestBuilder) ByBaseSitePageId(baseSitePageId string)(*ItemPagesBaseSitePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemPagesRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemPagesRequestBuilder) WithUrl(rawUrl string)(*ItemPagesRequestBuilder) { + return NewItemPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_permissions_count_request_builder.go b/sites/item_permissions_count_request_builder.go index 94bcba3eb3b..f9052a04683 100644 --- a/sites/item_permissions_count_request_builder.go +++ b/sites/item_permissions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPermissionsCountRequestBuilder) ToGetRequestInformation(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 *ItemPermissionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionsCountRequestBuilder) { + return NewItemPermissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_permissions_item_grant_request_builder.go b/sites/item_permissions_item_grant_request_builder.go index 3769232225f..8340f2c636a 100644 --- a/sites/item_permissions_item_grant_request_builder.go +++ b/sites/item_permissions_item_grant_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemPermissionsItemGrantRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemPermissionsItemGrantRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionsItemGrantRequestBuilder) { + return NewItemPermissionsItemGrantRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_permissions_item_revoke_grants_request_builder.go b/sites/item_permissions_item_revoke_grants_request_builder.go index 4fb4020c7d5..95b7b9db226 100644 --- a/sites/item_permissions_item_revoke_grants_request_builder.go +++ b/sites/item_permissions_item_revoke_grants_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemPermissionsItemRevokeGrantsRequestBuilder) 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 *ItemPermissionsItemRevokeGrantsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionsItemRevokeGrantsRequestBuilder) { + return NewItemPermissionsItemRevokeGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_permissions_permission_item_request_builder.go b/sites/item_permissions_permission_item_request_builder.go index fd35951ae7d..bac7ad7b18b 100644 --- a/sites/item_permissions_permission_item_request_builder.go +++ b/sites/item_permissions_permission_item_request_builder.go @@ -167,3 +167,7 @@ func (m *ItemPermissionsPermissionItemRequestBuilder) 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 *ItemPermissionsPermissionItemRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionsPermissionItemRequestBuilder) { + return NewItemPermissionsPermissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_permissions_request_builder.go b/sites/item_permissions_request_builder.go index 8537820f012..182fbdcf2fb 100644 --- a/sites/item_permissions_request_builder.go +++ b/sites/item_permissions_request_builder.go @@ -46,8 +46,8 @@ type ItemPermissionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPermissionIdString provides operations to manage the permissions property of the microsoft.graph.site entity. -func (m *ItemPermissionsRequestBuilder) ByPermissionIdString(permissionId string)(*ItemPermissionsPermissionItemRequestBuilder) { +// ByPermissionId provides operations to manage the permissions property of the microsoft.graph.site entity. +func (m *ItemPermissionsRequestBuilder) ByPermissionId(permissionId string)(*ItemPermissionsPermissionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *ItemPermissionsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionsRequestBuilder) { + return NewItemPermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_sites_count_request_builder.go b/sites/item_sites_count_request_builder.go index 39683a90ccd..c6574cebf76 100644 --- a/sites/item_sites_count_request_builder.go +++ b/sites/item_sites_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSitesCountRequestBuilder) ToGetRequestInformation(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 *ItemSitesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSitesCountRequestBuilder) { + return NewItemSitesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_sites_request_builder.go b/sites/item_sites_request_builder.go index d3ca754d603..bce62a38aaa 100644 --- a/sites/item_sites_request_builder.go +++ b/sites/item_sites_request_builder.go @@ -39,8 +39,8 @@ type ItemSitesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemSitesRequestBuilderGetQueryParameters } -// BySiteId1String provides operations to manage the sites property of the microsoft.graph.site entity. -func (m *ItemSitesRequestBuilder) BySiteId1String(siteId1 string)(*ItemSitesSiteItemRequestBuilder) { +// BySiteId1 provides operations to manage the sites property of the microsoft.graph.site entity. +func (m *ItemSitesRequestBuilder) BySiteId1(siteId1 string)(*ItemSitesSiteItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemSitesRequestBuilder) ToGetRequestInformation(ctx context.Context, r } 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 *ItemSitesRequestBuilder) WithUrl(rawUrl string)(*ItemSitesRequestBuilder) { + return NewItemSitesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_sites_site_item_request_builder.go b/sites/item_sites_site_item_request_builder.go index 96cabae583c..3fd790713e7 100644 --- a/sites/item_sites_site_item_request_builder.go +++ b/sites/item_sites_site_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemSitesSiteItemRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemSitesSiteItemRequestBuilder) WithUrl(rawUrl string)(*ItemSitesSiteItemRequestBuilder) { + return NewItemSitesSiteItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_count_request_builder.go b/sites/item_term_store_groups_count_request_builder.go index 82d1a1f567e..562f5f6bf9e 100644 --- a/sites/item_term_store_groups_count_request_builder.go +++ b/sites/item_term_store_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreGroupsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemTermStoreGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsCountRequestBuilder) { + return NewItemTermStoreGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_group_item_request_builder.go b/sites/item_term_store_groups_group_item_request_builder.go index dc33622f1d8..f78b5765e90 100644 --- a/sites/item_term_store_groups_group_item_request_builder.go +++ b/sites/item_term_store_groups_group_item_request_builder.go @@ -163,3 +163,7 @@ func (m *ItemTermStoreGroupsGroupItemRequestBuilder) ToPatchRequestInformation(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 *ItemTermStoreGroupsGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsGroupItemRequestBuilder) { + return NewItemTermStoreGroupsGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_count_request_builder.go b/sites/item_term_store_groups_item_sets_count_request_builder.go index 2c99c0ed060..a277742c2a3 100644 --- a/sites/item_term_store_groups_item_sets_count_request_builder.go +++ b/sites/item_term_store_groups_item_sets_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreGroupsItemSetsCountRequestBuilder) 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 *ItemTermStoreGroupsItemSetsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsCountRequestBuilder) { + return NewItemTermStoreGroupsItemSetsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_children_count_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_count_request_builder.go index 1e2a9480757..ea71c2542fb 100644 --- a/sites/item_term_store_groups_item_sets_item_children_count_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenCountRequestBuilder) ToGetReques } 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 *ItemTermStoreGroupsItemSetsItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemChildrenCountRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_children_item_children_count_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_children_count_request_builder.go index 7c0cfd8cb4e..c558d074e7d 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_children_count_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenCountRequestBuilder) } 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 *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemChildrenItemChildrenCountRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemChildrenItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_count_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_count_request_builder.go index ce189d1613c..1b53172cff4 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_count_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsCountRe } 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 *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go index 5dc8c4f1a4f..5faa0947382 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemFro } 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 *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go index 3e18b151ff4..3d4cafe9510 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemSet } 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 *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go index 14b78771221..bd9a0bf3311 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemToT } 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 *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go index 7edd53c0f4a..1c9e9a09d10 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRelatio func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) { return NewItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_request_builder.go index d13be1a7d63..47c723e9537 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRequest } 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 *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_children_item_children_item_set_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_children_item_set_request_builder.go index 4d57d330ba5..b1fe9170fb6 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_children_item_set_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemSetRequestBuilde } 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 *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemSetRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_children_item_children_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_children_request_builder.go index 3c26bd48416..fd5460bad4d 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_children_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_children_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreGroupsItemSetsItemChildrenItemChildrenRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermId1String provides operations to manage the children property of the microsoft.graph.termStore.term entity. -func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenRequestBuilder) ByTermId1String(termId1 string)(*ItemTermStoreGroupsItemSetsItemChildrenItemChildrenTermItemRequestBuilder) { +// ByTermId1 provides operations to manage the children property of the microsoft.graph.termStore.term entity. +func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenRequestBuilder) ByTermId1(termId1 string)(*ItemTermStoreGroupsItemSetsItemChildrenItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenRequestBuilder) ToPo } 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 *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemChildrenItemChildrenRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemChildrenItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_children_item_children_term_item_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_children_term_item_request_builder.go index 77a45d26a90..fa71f336ecd 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_children_term_item_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_children_term_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenTermItemRequestBuild } 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 *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemChildrenItemChildrenTermItemRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemChildrenItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_children_item_relations_count_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_relations_count_request_builder.go index aab49291bd8..94b0283efc2 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_relations_count_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsCountRequestBuilder } 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 *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemChildrenItemRelationsCountRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_children_item_relations_item_from_term_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_relations_item_from_term_request_builder.go index 52c21959971..1d1b2c08fc6 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemFromTermRequest } 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 *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_children_item_relations_item_set_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_relations_item_set_request_builder.go index d297eb3d9f5..73543f32215 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemSetRequestBuild } 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 *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemSetRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_children_item_relations_item_to_term_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_relations_item_to_term_request_builder.go index c0baed2855f..56dfb7ef9f8 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemToTermRequestBu } 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 *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_children_item_relations_relation_item_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_relations_relation_item_request_builder.go index ca9981cc655..8ca9f593baf 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsRelationItemRequest func (m *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemToTermRequestBuilder) { return NewItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_children_item_relations_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_relations_request_builder.go index cd86d8883b4..0e3b747fb1d 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_relations_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreGroupsItemSetsItemChildrenItemRelationsRequestBuilderPostReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemTermStoreGroupsItemSetsItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemTermStoreGroupsItemSetsItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsRequestBuilder) 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 *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemChildrenItemRelationsRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_children_item_set_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_set_request_builder.go index ae568ceab4d..2fdab563c32 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_set_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemSetRequestBuilder) ToGetRequ } 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 *ItemTermStoreGroupsItemSetsItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemChildrenItemSetRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_children_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_request_builder.go index cd5535c5c38..8cc1468ae29 100644 --- a/sites/item_term_store_groups_item_sets_item_children_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreGroupsItemSetsItemChildrenRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermIdString provides operations to manage the children property of the microsoft.graph.termStore.set entity. -func (m *ItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) ByTermIdString(termId string)(*ItemTermStoreGroupsItemSetsItemChildrenTermItemRequestBuilder) { +// ByTermId provides operations to manage the children property of the microsoft.graph.termStore.set entity. +func (m *ItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) ByTermId(termId string)(*ItemTermStoreGroupsItemSetsItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) ToPostRequestInf } 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 *ItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_children_term_item_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_term_item_request_builder.go index b4890b65f0d..9a9f0cb64f3 100644 --- a/sites/item_term_store_groups_item_sets_item_children_term_item_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_term_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenTermItemRequestBuilder) ToPatchR } 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 *ItemTermStoreGroupsItemSetsItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemChildrenTermItemRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_parent_group_request_builder.go b/sites/item_term_store_groups_item_sets_item_parent_group_request_builder.go index fd3f64e4954..6977d1aa771 100644 --- a/sites/item_term_store_groups_item_sets_item_parent_group_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_parent_group_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemTermStoreGroupsItemSetsItemParentGroupRequestBuilder) ToPatchReques } 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 *ItemTermStoreGroupsItemSetsItemParentGroupRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemParentGroupRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemParentGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_relations_count_request_builder.go b/sites/item_term_store_groups_item_sets_item_relations_count_request_builder.go index b8b847e235b..0fd849172fd 100644 --- a/sites/item_term_store_groups_item_sets_item_relations_count_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreGroupsItemSetsItemRelationsCountRequestBuilder) ToGetReque } 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 *ItemTermStoreGroupsItemSetsItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemRelationsCountRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_relations_item_from_term_request_builder.go b/sites/item_term_store_groups_item_sets_item_relations_item_from_term_request_builder.go index 3263fd99ca7..253385f12a8 100644 --- a/sites/item_term_store_groups_item_sets_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreGroupsItemSetsItemRelationsItemFromTermRequestBuilder) ToG } 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 *ItemTermStoreGroupsItemSetsItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemRelationsItemFromTermRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_relations_item_set_request_builder.go b/sites/item_term_store_groups_item_sets_item_relations_item_set_request_builder.go index 9fda80577f7..3befdaee52c 100644 --- a/sites/item_term_store_groups_item_sets_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreGroupsItemSetsItemRelationsItemSetRequestBuilder) ToGetReq } 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 *ItemTermStoreGroupsItemSetsItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemRelationsItemSetRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_relations_item_to_term_request_builder.go b/sites/item_term_store_groups_item_sets_item_relations_item_to_term_request_builder.go index 63852647e73..0de27a66bcb 100644 --- a/sites/item_term_store_groups_item_sets_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreGroupsItemSetsItemRelationsItemToTermRequestBuilder) ToGet } 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 *ItemTermStoreGroupsItemSetsItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemRelationsItemToTermRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_relations_relation_item_request_builder.go b/sites/item_term_store_groups_item_sets_item_relations_relation_item_request_builder.go index 78bad44b497..721e5f28251 100644 --- a/sites/item_term_store_groups_item_sets_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemTermStoreGroupsItemSetsItemRelationsRelationItemRequestBuilder) ToP func (m *ItemTermStoreGroupsItemSetsItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemTermStoreGroupsItemSetsItemRelationsItemToTermRequestBuilder) { return NewItemTermStoreGroupsItemSetsItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTermStoreGroupsItemSetsItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemRelationsRelationItemRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_relations_request_builder.go b/sites/item_term_store_groups_item_sets_item_relations_request_builder.go index cacc3aa92cd..8857039ef6b 100644 --- a/sites/item_term_store_groups_item_sets_item_relations_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreGroupsItemSetsItemRelationsRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.set entity. -func (m *ItemTermStoreGroupsItemSetsItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemTermStoreGroupsItemSetsItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.set entity. +func (m *ItemTermStoreGroupsItemSetsItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemTermStoreGroupsItemSetsItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemTermStoreGroupsItemSetsItemRelationsRequestBuilder) ToPostRequestIn } 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 *ItemTermStoreGroupsItemSetsItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemRelationsRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_terms_count_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_count_request_builder.go index ec9a71f19af..7ddaa0a1645 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_count_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsCountRequestBuilder) ToGetRequestIn } 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 *ItemTermStoreGroupsItemSetsItemTermsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemTermsCountRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemTermsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_children_count_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_children_count_request_builder.go index c8f94773875..f15d0cf57e8 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_children_count_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenCountRequestBuilder) To } 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 *ItemTermStoreGroupsItemSetsItemTermsItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemTermsItemChildrenCountRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemTermsItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_count_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_count_request_builder.go index 26cd2210106..ddcd653763d 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_count_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsCountReque } 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 *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsCountRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go index 0e596b01289..266f70ac4ed 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemFromTe } 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 *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go index 358c8b5652c..f30b01c20f0 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemSetReq } 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 *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go index e161726e64a..8135e99401f 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemToTerm } 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 *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go index 74de269ce41..bc2f897c4fc 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRelationIt func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) { return NewItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_request_builder.go index 857e3d7a854..2563d6d5dc7 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRequestBui } 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 *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_set_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_set_request_builder.go index b93ee15f221..23c772146f8 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_set_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemSetRequestBuilder) } 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 *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemSetRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemTermsItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_children_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_children_request_builder.go index 198794ef4db..5e657dccefd 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_children_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_children_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreGroupsItemSetsItemTermsItemChildrenRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermId1String provides operations to manage the children property of the microsoft.graph.termStore.term entity. -func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenRequestBuilder) ByTermId1String(termId1 string)(*ItemTermStoreGroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder) { +// ByTermId1 provides operations to manage the children property of the microsoft.graph.termStore.term entity. +func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenRequestBuilder) ByTermId1(termId1 string)(*ItemTermStoreGroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenRequestBuilder) ToPostR } 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 *ItemTermStoreGroupsItemSetsItemTermsItemChildrenRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemTermsItemChildrenRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemTermsItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_children_term_item_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_children_term_item_request_builder.go index b95113948a9..09d1867d418 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_children_term_item_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_children_term_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder) } 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 *ItemTermStoreGroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_relations_count_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_relations_count_request_builder.go index 11fa1b18be9..9da6515a94b 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_relations_count_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemRelationsCountRequestBuilder) T } 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 *ItemTermStoreGroupsItemSetsItemTermsItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemTermsItemRelationsCountRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemTermsItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go index 7bdd6a91d41..95f69d0098b 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemRelationsItemFromTermRequestBui } 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 *ItemTermStoreGroupsItemSetsItemTermsItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemTermsItemRelationsItemFromTermRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemTermsItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_set_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_set_request_builder.go index eda8c885220..9ea33182e80 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemRelationsItemSetRequestBuilder) } 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 *ItemTermStoreGroupsItemSetsItemTermsItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemTermsItemRelationsItemSetRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemTermsItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go index 04ecff4b614..c390c70049e 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemRelationsItemToTermRequestBuild } 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 *ItemTermStoreGroupsItemSetsItemTermsItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemTermsItemRelationsItemToTermRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemTermsItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_relations_relation_item_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_relations_relation_item_request_builder.go index b5bde1cc7c0..6467c761e81 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemRelationsRelationItemRequestBui func (m *ItemTermStoreGroupsItemSetsItemTermsItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemTermStoreGroupsItemSetsItemTermsItemRelationsItemToTermRequestBuilder) { return NewItemTermStoreGroupsItemSetsItemTermsItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTermStoreGroupsItemSetsItemTermsItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemTermsItemRelationsRelationItemRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemTermsItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_relations_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_relations_request_builder.go index 95950c3a930..deaf86b1305 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_relations_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreGroupsItemSetsItemTermsItemRelationsRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemTermStoreGroupsItemSetsItemTermsItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemTermStoreGroupsItemSetsItemTermsItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemTermStoreGroupsItemSetsItemTermsItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemTermStoreGroupsItemSetsItemTermsItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemRelationsRequestBuilder) ToPost } 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 *ItemTermStoreGroupsItemSetsItemTermsItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemTermsItemRelationsRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemTermsItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_set_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_set_request_builder.go index 1d86a515014..b1b2aa9fd8e 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_set_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemSetRequestBuilder) ToGetRequest } 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 *ItemTermStoreGroupsItemSetsItemTermsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemTermsItemSetRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemTermsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_terms_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_request_builder.go index eaaceed5a76..e8f5e391fab 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreGroupsItemSetsItemTermsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermIdString provides operations to manage the terms property of the microsoft.graph.termStore.set entity. -func (m *ItemTermStoreGroupsItemSetsItemTermsRequestBuilder) ByTermIdString(termId string)(*ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) { +// ByTermId provides operations to manage the terms property of the microsoft.graph.termStore.set entity. +func (m *ItemTermStoreGroupsItemSetsItemTermsRequestBuilder) ByTermId(termId string)(*ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsRequestBuilder) ToPostRequestInform } 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 *ItemTermStoreGroupsItemSetsItemTermsRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemTermsRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemTermsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_item_terms_term_item_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_term_item_request_builder.go index 96efc790186..49b3c49e51b 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_term_item_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_term_item_request_builder.go @@ -174,3 +174,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) ToPatchRequ } 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 *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) { + return NewItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_request_builder.go b/sites/item_term_store_groups_item_sets_request_builder.go index cd441218ffa..cc1e442be45 100644 --- a/sites/item_term_store_groups_item_sets_request_builder.go +++ b/sites/item_term_store_groups_item_sets_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreGroupsItemSetsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySetIdString provides operations to manage the sets property of the microsoft.graph.termStore.group entity. -func (m *ItemTermStoreGroupsItemSetsRequestBuilder) BySetIdString(setId string)(*ItemTermStoreGroupsItemSetsSetItemRequestBuilder) { +// BySetId provides operations to manage the sets property of the microsoft.graph.termStore.group entity. +func (m *ItemTermStoreGroupsItemSetsRequestBuilder) BySetId(setId string)(*ItemTermStoreGroupsItemSetsSetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemTermStoreGroupsItemSetsRequestBuilder) 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 *ItemTermStoreGroupsItemSetsRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsRequestBuilder) { + return NewItemTermStoreGroupsItemSetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_item_sets_set_item_request_builder.go b/sites/item_term_store_groups_item_sets_set_item_request_builder.go index 647e048982e..12d72393214 100644 --- a/sites/item_term_store_groups_item_sets_set_item_request_builder.go +++ b/sites/item_term_store_groups_item_sets_set_item_request_builder.go @@ -169,3 +169,7 @@ func (m *ItemTermStoreGroupsItemSetsSetItemRequestBuilder) ToPatchRequestInforma } 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 *ItemTermStoreGroupsItemSetsSetItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsItemSetsSetItemRequestBuilder) { + return NewItemTermStoreGroupsItemSetsSetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_groups_request_builder.go b/sites/item_term_store_groups_request_builder.go index 76ca356691d..1886143e261 100644 --- a/sites/item_term_store_groups_request_builder.go +++ b/sites/item_term_store_groups_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreGroupsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupIdString provides operations to manage the groups property of the microsoft.graph.termStore.store entity. -func (m *ItemTermStoreGroupsRequestBuilder) ByGroupIdString(groupId string)(*ItemTermStoreGroupsGroupItemRequestBuilder) { +// ByGroupId provides operations to manage the groups property of the microsoft.graph.termStore.store entity. +func (m *ItemTermStoreGroupsRequestBuilder) ByGroupId(groupId string)(*ItemTermStoreGroupsGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTermStoreGroupsRequestBuilder) 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 *ItemTermStoreGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreGroupsRequestBuilder) { + return NewItemTermStoreGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_request_builder.go b/sites/item_term_store_request_builder.go index 63ab60fe235..2aa42731d81 100644 --- a/sites/item_term_store_request_builder.go +++ b/sites/item_term_store_request_builder.go @@ -164,3 +164,7 @@ func (m *ItemTermStoreRequestBuilder) ToPatchRequestInformation(ctx context.Cont } 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 *ItemTermStoreRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreRequestBuilder) { + return NewItemTermStoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_count_request_builder.go b/sites/item_term_store_sets_count_request_builder.go index 171622d0573..714dde148a4 100644 --- a/sites/item_term_store_sets_count_request_builder.go +++ b/sites/item_term_store_sets_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreSetsCountRequestBuilder) ToGetRequestInformation(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 *ItemTermStoreSetsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsCountRequestBuilder) { + return NewItemTermStoreSetsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_children_count_request_builder.go b/sites/item_term_store_sets_item_children_count_request_builder.go index 175948232d0..41e7c14a51e 100644 --- a/sites/item_term_store_sets_item_children_count_request_builder.go +++ b/sites/item_term_store_sets_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreSetsItemChildrenCountRequestBuilder) ToGetRequestInformati } 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 *ItemTermStoreSetsItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemChildrenCountRequestBuilder) { + return NewItemTermStoreSetsItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_children_item_children_count_request_builder.go b/sites/item_term_store_sets_item_children_item_children_count_request_builder.go index 468d82fbf38..32725a374d9 100644 --- a/sites/item_term_store_sets_item_children_item_children_count_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenCountRequestBuilder) ToGetRequ } 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 *ItemTermStoreSetsItemChildrenItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemChildrenItemChildrenCountRequestBuilder) { + return NewItemTermStoreSetsItemChildrenItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_children_item_children_item_relations_count_request_builder.go b/sites/item_term_store_sets_item_children_item_children_item_relations_count_request_builder.go index a40734869c8..3d79426ff2d 100644 --- a/sites/item_term_store_sets_item_children_item_children_item_relations_count_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsCountRequestBuild } 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 *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder) { + return NewItemTermStoreSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_children_item_children_item_relations_item_from_term_request_builder.go b/sites/item_term_store_sets_item_children_item_children_item_relations_item_from_term_request_builder.go index be0d6a1141c..12ecaaf1e99 100644 --- a/sites/item_term_store_sets_item_children_item_children_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemFromTermReque } 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 *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_children_item_children_item_relations_item_set_request_builder.go b/sites/item_term_store_sets_item_children_item_children_item_relations_item_set_request_builder.go index 35a78c03e42..718af11624b 100644 --- a/sites/item_term_store_sets_item_children_item_children_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemSetRequestBui } 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 *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder) { + return NewItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_children_item_children_item_relations_item_to_term_request_builder.go b/sites/item_term_store_sets_item_children_item_children_item_relations_item_to_term_request_builder.go index 4f6dcae0e91..956674bc814 100644 --- a/sites/item_term_store_sets_item_children_item_children_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemToTermRequest } 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 *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_children_item_children_item_relations_relation_item_request_builder.go b/sites/item_term_store_sets_item_children_item_children_item_relations_relation_item_request_builder.go index 3211f4be5f7..fdeb6fed9b3 100644 --- a/sites/item_term_store_sets_item_children_item_children_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsRelationItemReque func (m *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) { return NewItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewItemTermStoreSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_children_item_children_item_relations_request_builder.go b/sites/item_term_store_sets_item_children_item_children_item_relations_request_builder.go index 98beebd81da..a580abbf017 100644 --- a/sites/item_term_store_sets_item_children_item_children_item_relations_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreSetsItemChildrenItemChildrenItemRelationsRequestBuilderPostReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemTermStoreSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemTermStoreSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsRequestBuilder) T } 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 *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemChildrenItemChildrenItemRelationsRequestBuilder) { + return NewItemTermStoreSetsItemChildrenItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_children_item_children_item_set_request_builder.go b/sites/item_term_store_sets_item_children_item_children_item_set_request_builder.go index 85478780612..8ac6fea76b1 100644 --- a/sites/item_term_store_sets_item_children_item_children_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenItemSetRequestBuilder) ToGetRe } 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 *ItemTermStoreSetsItemChildrenItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemChildrenItemChildrenItemSetRequestBuilder) { + return NewItemTermStoreSetsItemChildrenItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_children_item_children_request_builder.go b/sites/item_term_store_sets_item_children_item_children_request_builder.go index 8e01ae98da2..c5fb09b6db0 100644 --- a/sites/item_term_store_sets_item_children_item_children_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_children_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreSetsItemChildrenItemChildrenRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermId1String provides operations to manage the children property of the microsoft.graph.termStore.term entity. -func (m *ItemTermStoreSetsItemChildrenItemChildrenRequestBuilder) ByTermId1String(termId1 string)(*ItemTermStoreSetsItemChildrenItemChildrenTermItemRequestBuilder) { +// ByTermId1 provides operations to manage the children property of the microsoft.graph.termStore.term entity. +func (m *ItemTermStoreSetsItemChildrenItemChildrenRequestBuilder) ByTermId1(termId1 string)(*ItemTermStoreSetsItemChildrenItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenRequestBuilder) ToPostRequestI } 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 *ItemTermStoreSetsItemChildrenItemChildrenRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemChildrenItemChildrenRequestBuilder) { + return NewItemTermStoreSetsItemChildrenItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_children_item_children_term_item_request_builder.go b/sites/item_term_store_sets_item_children_item_children_term_item_request_builder.go index 32ca28d8f37..df48007e9fc 100644 --- a/sites/item_term_store_sets_item_children_item_children_term_item_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_children_term_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenTermItemRequestBuilder) ToPatc } 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 *ItemTermStoreSetsItemChildrenItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemChildrenItemChildrenTermItemRequestBuilder) { + return NewItemTermStoreSetsItemChildrenItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_children_item_relations_count_request_builder.go b/sites/item_term_store_sets_item_children_item_relations_count_request_builder.go index 86c14f21f0e..e43914084ca 100644 --- a/sites/item_term_store_sets_item_children_item_relations_count_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreSetsItemChildrenItemRelationsCountRequestBuilder) ToGetReq } 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 *ItemTermStoreSetsItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemChildrenItemRelationsCountRequestBuilder) { + return NewItemTermStoreSetsItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_children_item_relations_item_from_term_request_builder.go b/sites/item_term_store_sets_item_children_item_relations_item_from_term_request_builder.go index 364f87a1154..85baf4c75af 100644 --- a/sites/item_term_store_sets_item_children_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemChildrenItemRelationsItemFromTermRequestBuilder) T } 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 *ItemTermStoreSetsItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewItemTermStoreSetsItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_children_item_relations_item_set_request_builder.go b/sites/item_term_store_sets_item_children_item_relations_item_set_request_builder.go index 3fefd8c7043..f93640d6613 100644 --- a/sites/item_term_store_sets_item_children_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemChildrenItemRelationsItemSetRequestBuilder) ToGetR } 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 *ItemTermStoreSetsItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemChildrenItemRelationsItemSetRequestBuilder) { + return NewItemTermStoreSetsItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_children_item_relations_item_to_term_request_builder.go b/sites/item_term_store_sets_item_children_item_relations_item_to_term_request_builder.go index 7686c2315b5..bed4862df88 100644 --- a/sites/item_term_store_sets_item_children_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemChildrenItemRelationsItemToTermRequestBuilder) ToG } 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 *ItemTermStoreSetsItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewItemTermStoreSetsItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_children_item_relations_relation_item_request_builder.go b/sites/item_term_store_sets_item_children_item_relations_relation_item_request_builder.go index 401d75741c2..2adbafb3f3c 100644 --- a/sites/item_term_store_sets_item_children_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemTermStoreSetsItemChildrenItemRelationsRelationItemRequestBuilder) T func (m *ItemTermStoreSetsItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemTermStoreSetsItemChildrenItemRelationsItemToTermRequestBuilder) { return NewItemTermStoreSetsItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTermStoreSetsItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewItemTermStoreSetsItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_children_item_relations_request_builder.go b/sites/item_term_store_sets_item_children_item_relations_request_builder.go index 7b3eb1d6cf6..c31cafc4b3a 100644 --- a/sites/item_term_store_sets_item_children_item_relations_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreSetsItemChildrenItemRelationsRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemTermStoreSetsItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemTermStoreSetsItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemTermStoreSetsItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemTermStoreSetsItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTermStoreSetsItemChildrenItemRelationsRequestBuilder) ToPostRequest } 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 *ItemTermStoreSetsItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemChildrenItemRelationsRequestBuilder) { + return NewItemTermStoreSetsItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_children_item_set_request_builder.go b/sites/item_term_store_sets_item_children_item_set_request_builder.go index aea75afec80..6e7dc071200 100644 --- a/sites/item_term_store_sets_item_children_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemChildrenItemSetRequestBuilder) ToGetRequestInforma } 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 *ItemTermStoreSetsItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemChildrenItemSetRequestBuilder) { + return NewItemTermStoreSetsItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_children_request_builder.go b/sites/item_term_store_sets_item_children_request_builder.go index a45456ca339..0681241ecd0 100644 --- a/sites/item_term_store_sets_item_children_request_builder.go +++ b/sites/item_term_store_sets_item_children_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreSetsItemChildrenRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermIdString provides operations to manage the children property of the microsoft.graph.termStore.set entity. -func (m *ItemTermStoreSetsItemChildrenRequestBuilder) ByTermIdString(termId string)(*ItemTermStoreSetsItemChildrenTermItemRequestBuilder) { +// ByTermId provides operations to manage the children property of the microsoft.graph.termStore.set entity. +func (m *ItemTermStoreSetsItemChildrenRequestBuilder) ByTermId(termId string)(*ItemTermStoreSetsItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTermStoreSetsItemChildrenRequestBuilder) ToPostRequestInformation(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 *ItemTermStoreSetsItemChildrenRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemChildrenRequestBuilder) { + return NewItemTermStoreSetsItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_children_term_item_request_builder.go b/sites/item_term_store_sets_item_children_term_item_request_builder.go index d603a1c6b91..02852c33f39 100644 --- a/sites/item_term_store_sets_item_children_term_item_request_builder.go +++ b/sites/item_term_store_sets_item_children_term_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemTermStoreSetsItemChildrenTermItemRequestBuilder) 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 *ItemTermStoreSetsItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemChildrenTermItemRequestBuilder) { + return NewItemTermStoreSetsItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_request_builder.go b/sites/item_term_store_sets_item_parent_group_request_builder.go index a08232d8465..f87abe98d0c 100644 --- a/sites/item_term_store_sets_item_parent_group_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemTermStoreSetsItemParentGroupRequestBuilder) ToPatchRequestInformati } 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 *ItemTermStoreSetsItemParentGroupRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_count_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_count_request_builder.go index 6d98ee4d79f..5042dffe8f1 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_count_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsCountRequestBuilder) ToGetRequestIn } 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 *ItemTermStoreSetsItemParentGroupSetsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsCountRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_count_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_count_request_builder.go index f23f855d6ab..4e1fec022ed 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_count_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenCountRequestBuilder) To } 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 *ItemTermStoreSetsItemParentGroupSetsItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenCountRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_count_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_count_request_builder.go index beeaf5f6ffa..cff7bf090de 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_count_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenCountReques } 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 *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenCountRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_count_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_count_request_builder.go index cec515eda54..aeacf4be8b5 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_count_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelatio } 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 *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go index 173c9033b89..683e3ac1e40 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelatio } 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 *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go index 08f78d9f57d..2a470e89bf3 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelatio } 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 *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go index 5d925d46160..24d773c08c8 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelatio } 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 *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go index 0490474aa28..54ffe095ca3 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelatio func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) { return NewItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go index e4e05aaed18..e3e72f4f457 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelatio } 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 *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go index 0feb526ac08..58b2d380b2e 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemSetRequ } 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 *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemSetRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_request_builder.go index 47dbc2287c0..1f87d25120c 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenRequestBuilderP // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermId1String provides operations to manage the children property of the microsoft.graph.termStore.term entity. -func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenRequestBuilder) ByTermId1String(termId1 string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenTermItemRequestBuilder) { +// ByTermId1 provides operations to manage the children property of the microsoft.graph.termStore.term entity. +func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenRequestBuilder) ByTermId1(termId1 string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenRequestBuil } 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 *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go index 0638fba82ae..8cf6bd80612 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenTermItemReq } 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 *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenTermItemRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_count_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_count_request_builder.go index 88adee15640..5c45f3154fb 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_count_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsCountReque } 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 *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsCountRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go index f5507a55e80..420c34ec62f 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemFromTe } 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 *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go index af99c013ddb..f5c4a0516f6 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemSetReq } 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 *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemSetRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go index 4e0e4e33244..2a8c4354f41 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemToTerm } 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 *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go index 6d91f39b9be..c414df25f5b 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRelationIt func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemToTermRequestBuilder) { return NewItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_request_builder.go index 1a4a7e3456e..315350a869b 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRequestBui } 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 *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_set_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_set_request_builder.go index 565fb09f376..c137c09a6bc 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemSetRequestBuilder) } 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 *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenItemSetRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_request_builder.go index 17bc3401558..c5bc6508ef1 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermIdString provides operations to manage the children property of the microsoft.graph.termStore.set entity. -func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) ByTermIdString(termId string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenTermItemRequestBuilder) { +// ByTermId provides operations to manage the children property of the microsoft.graph.termStore.set entity. +func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) ByTermId(termId string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) ToPostR } 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 *ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_term_item_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_term_item_request_builder.go index 4c6b44d2bd9..3168b256fb8 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_term_item_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_term_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenTermItemRequestBuilder) } 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 *ItemTermStoreSetsItemParentGroupSetsItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemChildrenTermItemRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_relations_count_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_relations_count_request_builder.go index 324a8f79d30..f26d1882fca 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_relations_count_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemRelationsCountRequestBuilder) T } 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 *ItemTermStoreSetsItemParentGroupSetsItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemRelationsCountRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go index 2052e28d1c6..c48e6429e7e 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemRelationsItemFromTermRequestBui } 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 *ItemTermStoreSetsItemParentGroupSetsItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemRelationsItemFromTermRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_set_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_set_request_builder.go index 8068489b7b6..bfee6873ee9 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemRelationsItemSetRequestBuilder) } 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 *ItemTermStoreSetsItemParentGroupSetsItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemRelationsItemSetRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go index 98fd0aa0240..5a9865a2bca 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemRelationsItemToTermRequestBuild } 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 *ItemTermStoreSetsItemParentGroupSetsItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemRelationsItemToTermRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_relations_relation_item_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_relations_relation_item_request_builder.go index 013e798ede7..65f27183215 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemRelationsRelationItemRequestBui func (m *ItemTermStoreSetsItemParentGroupSetsItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemTermStoreSetsItemParentGroupSetsItemRelationsItemToTermRequestBuilder) { return NewItemTermStoreSetsItemParentGroupSetsItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTermStoreSetsItemParentGroupSetsItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemRelationsRelationItemRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go index 8eecf931779..a778d862a9d 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.set entity. -func (m *ItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemTermStoreSetsItemParentGroupSetsItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.set entity. +func (m *ItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemTermStoreSetsItemParentGroupSetsItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder) ToPost } 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 *ItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_count_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_count_request_builder.go index 9c3a90efc65..c0204198ee3 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_count_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsCountRequestBuilder) ToGet } 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 *ItemTermStoreSetsItemParentGroupSetsItemTermsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsCountRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemTermsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_count_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_count_request_builder.go index 7293257039f..a5d9f140df1 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_count_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenCountRequestBu } 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 *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenCountRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_count_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_count_request_builder.go index 2a9bf698958..548cacc7725 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_count_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsC } 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 *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsCountRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go index 35d16559904..580c865c2c9 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsI } 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 *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go index a533e1567df..ff74863b102 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsI } 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 *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go index 63d52af4a1f..9cd62d930ed 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsI } 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 *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go index 740a130f5e7..b30b0c3663d 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsR func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) { return NewItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go index 0c2c4b5dbb4..f9165576b0f 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsR } 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 *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go index 3e1bfaa2f8a..6c0489426f6 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemSetRequest } 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 *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemSetRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_request_builder.go index a328cef5dbc..6f154ea8a26 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenRequestBuilderPost // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermId1String provides operations to manage the children property of the microsoft.graph.termStore.term entity. -func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenRequestBuilder) ByTermId1String(termId1 string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenTermItemRequestBuilder) { +// ByTermId1 provides operations to manage the children property of the microsoft.graph.termStore.term entity. +func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenRequestBuilder) ByTermId1(termId1 string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenRequestBuilder } 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 *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go index b0733f0ea48..30fa427e54c 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenTermItemReques } 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 *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenTermItemRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_count_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_count_request_builder.go index 8c56fa1f8d7..95d95e69639 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_count_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsCountRequestB } 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 *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsCountRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go index d701046b3f4..4dacb340c01 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemFromTermR } 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 *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemFromTermRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go index 2ec5e9e1f22..e27b798a8e7 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemSetReques } 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 *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemSetRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go index e798e37b41d..b294ec78328 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemToTermReq } 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 *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemToTermRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go index ac4b2ce4351..a56c95e3dcc 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRelationItemR func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemToTermRequestBuilder) { return NewItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRelationItemRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_request_builder.go index 57f1f09a317..73803e8e1c7 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRequestBuilderPos // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRequestBuilde } 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 *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_set_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_set_request_builder.go index 917d6c2d5fa..d32e09023a3 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemSetRequestBuilder) ToG } 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 *ItemTermStoreSetsItemParentGroupSetsItemTermsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemSetRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemTermsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go index 70612af84f6..1fb2d938bbf 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermIdString provides operations to manage the terms property of the microsoft.graph.termStore.set entity. -func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder) ByTermIdString(termId string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) { +// ByTermId provides operations to manage the terms property of the microsoft.graph.termStore.set entity. +func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder) ByTermId(termId string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder) ToPostRequ } 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 *ItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go index 3f90e2748ce..0923eb3a2d8 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go @@ -174,3 +174,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) To } 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 *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_request_builder.go index 9fc0454a972..2ef1340b0d4 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreSetsItemParentGroupSetsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySetId1String provides operations to manage the sets property of the microsoft.graph.termStore.group entity. -func (m *ItemTermStoreSetsItemParentGroupSetsRequestBuilder) BySetId1String(setId1 string)(*ItemTermStoreSetsItemParentGroupSetsSetItemRequestBuilder) { +// BySetId1 provides operations to manage the sets property of the microsoft.graph.termStore.group entity. +func (m *ItemTermStoreSetsItemParentGroupSetsRequestBuilder) BySetId1(setId1 string)(*ItemTermStoreSetsItemParentGroupSetsSetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsRequestBuilder) ToPostRequestInform } 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 *ItemTermStoreSetsItemParentGroupSetsRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_parent_group_sets_set_item_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_set_item_request_builder.go index b7cc1d42a8b..8485fc80853 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_set_item_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_set_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsSetItemRequestBuilder) ToPatchReque } 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 *ItemTermStoreSetsItemParentGroupSetsSetItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemParentGroupSetsSetItemRequestBuilder) { + return NewItemTermStoreSetsItemParentGroupSetsSetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_relations_count_request_builder.go b/sites/item_term_store_sets_item_relations_count_request_builder.go index 6a5b21fdd37..a2ff21e2cfa 100644 --- a/sites/item_term_store_sets_item_relations_count_request_builder.go +++ b/sites/item_term_store_sets_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreSetsItemRelationsCountRequestBuilder) ToGetRequestInformat } 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 *ItemTermStoreSetsItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemRelationsCountRequestBuilder) { + return NewItemTermStoreSetsItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_relations_item_from_term_request_builder.go b/sites/item_term_store_sets_item_relations_item_from_term_request_builder.go index b427b694024..ac0963c071c 100644 --- a/sites/item_term_store_sets_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_sets_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemRelationsItemFromTermRequestBuilder) ToGetRequestI } 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 *ItemTermStoreSetsItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemRelationsItemFromTermRequestBuilder) { + return NewItemTermStoreSetsItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_relations_item_set_request_builder.go b/sites/item_term_store_sets_item_relations_item_set_request_builder.go index f9566807084..84cbd5f597e 100644 --- a/sites/item_term_store_sets_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemRelationsItemSetRequestBuilder) ToGetRequestInform } 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 *ItemTermStoreSetsItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemRelationsItemSetRequestBuilder) { + return NewItemTermStoreSetsItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_relations_item_to_term_request_builder.go b/sites/item_term_store_sets_item_relations_item_to_term_request_builder.go index b173c209413..0a2a65a9e19 100644 --- a/sites/item_term_store_sets_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_sets_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemRelationsItemToTermRequestBuilder) ToGetRequestInf } 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 *ItemTermStoreSetsItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemRelationsItemToTermRequestBuilder) { + return NewItemTermStoreSetsItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_relations_relation_item_request_builder.go b/sites/item_term_store_sets_item_relations_relation_item_request_builder.go index e6aa7cf6ee7..4bd5cb37c04 100644 --- a/sites/item_term_store_sets_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_sets_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemTermStoreSetsItemRelationsRelationItemRequestBuilder) ToPatchReques func (m *ItemTermStoreSetsItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemTermStoreSetsItemRelationsItemToTermRequestBuilder) { return NewItemTermStoreSetsItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTermStoreSetsItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemRelationsRelationItemRequestBuilder) { + return NewItemTermStoreSetsItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_relations_request_builder.go b/sites/item_term_store_sets_item_relations_request_builder.go index 7687fba2312..dd6e862b4d6 100644 --- a/sites/item_term_store_sets_item_relations_request_builder.go +++ b/sites/item_term_store_sets_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreSetsItemRelationsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.set entity. -func (m *ItemTermStoreSetsItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemTermStoreSetsItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.set entity. +func (m *ItemTermStoreSetsItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemTermStoreSetsItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemTermStoreSetsItemRelationsRequestBuilder) 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 *ItemTermStoreSetsItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemRelationsRequestBuilder) { + return NewItemTermStoreSetsItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_terms_count_request_builder.go b/sites/item_term_store_sets_item_terms_count_request_builder.go index d776a8e803f..d2b91e4e46b 100644 --- a/sites/item_term_store_sets_item_terms_count_request_builder.go +++ b/sites/item_term_store_sets_item_terms_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreSetsItemTermsCountRequestBuilder) 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 *ItemTermStoreSetsItemTermsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemTermsCountRequestBuilder) { + return NewItemTermStoreSetsItemTermsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_terms_item_children_count_request_builder.go b/sites/item_term_store_sets_item_terms_item_children_count_request_builder.go index 0075329b0d1..d91e3655acf 100644 --- a/sites/item_term_store_sets_item_terms_item_children_count_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenCountRequestBuilder) ToGetRequest } 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 *ItemTermStoreSetsItemTermsItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemTermsItemChildrenCountRequestBuilder) { + return NewItemTermStoreSetsItemTermsItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_terms_item_children_item_relations_count_request_builder.go b/sites/item_term_store_sets_item_terms_item_children_item_relations_count_request_builder.go index 18224af0e60..de52c141f53 100644 --- a/sites/item_term_store_sets_item_terms_item_children_item_relations_count_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenItemRelationsCountRequestBuilder) } 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 *ItemTermStoreSetsItemTermsItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemTermsItemChildrenItemRelationsCountRequestBuilder) { + return NewItemTermStoreSetsItemTermsItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go b/sites/item_term_store_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go index e5874230cda..e9dd5097a7a 100644 --- a/sites/item_term_store_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenItemRelationsItemFromTermRequestB } 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 *ItemTermStoreSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewItemTermStoreSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_terms_item_children_item_relations_item_set_request_builder.go b/sites/item_term_store_sets_item_terms_item_children_item_relations_item_set_request_builder.go index 963ff3c1b13..5c7f77209ac 100644 --- a/sites/item_term_store_sets_item_terms_item_children_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilde } 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 *ItemTermStoreSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder) { + return NewItemTermStoreSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go b/sites/item_term_store_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go index 539bc221746..3a03528d7f8 100644 --- a/sites/item_term_store_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenItemRelationsItemToTermRequestBui } 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 *ItemTermStoreSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewItemTermStoreSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_terms_item_children_item_relations_relation_item_request_builder.go b/sites/item_term_store_sets_item_terms_item_children_item_relations_relation_item_request_builder.go index fc6092d797c..8a01a499e06 100644 --- a/sites/item_term_store_sets_item_terms_item_children_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenItemRelationsRelationItemRequestB func (m *ItemTermStoreSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemTermStoreSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) { return NewItemTermStoreSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTermStoreSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewItemTermStoreSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_terms_item_children_item_relations_request_builder.go b/sites/item_term_store_sets_item_terms_item_children_item_relations_request_builder.go index aed4c5eb6ae..9a36d8da2ba 100644 --- a/sites/item_term_store_sets_item_terms_item_children_item_relations_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreSetsItemTermsItemChildrenItemRelationsRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemTermStoreSetsItemTermsItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemTermStoreSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemTermStoreSetsItemTermsItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemTermStoreSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenItemRelationsRequestBuilder) ToPo } 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 *ItemTermStoreSetsItemTermsItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemTermsItemChildrenItemRelationsRequestBuilder) { + return NewItemTermStoreSetsItemTermsItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_terms_item_children_item_set_request_builder.go b/sites/item_term_store_sets_item_terms_item_children_item_set_request_builder.go index 9a411930018..ce94dccceec 100644 --- a/sites/item_term_store_sets_item_terms_item_children_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenItemSetRequestBuilder) ToGetReque } 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 *ItemTermStoreSetsItemTermsItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemTermsItemChildrenItemSetRequestBuilder) { + return NewItemTermStoreSetsItemTermsItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_terms_item_children_request_builder.go b/sites/item_term_store_sets_item_terms_item_children_request_builder.go index 9417c5efdde..195951c0db0 100644 --- a/sites/item_term_store_sets_item_terms_item_children_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_children_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreSetsItemTermsItemChildrenRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermId1String provides operations to manage the children property of the microsoft.graph.termStore.term entity. -func (m *ItemTermStoreSetsItemTermsItemChildrenRequestBuilder) ByTermId1String(termId1 string)(*ItemTermStoreSetsItemTermsItemChildrenTermItemRequestBuilder) { +// ByTermId1 provides operations to manage the children property of the microsoft.graph.termStore.term entity. +func (m *ItemTermStoreSetsItemTermsItemChildrenRequestBuilder) ByTermId1(termId1 string)(*ItemTermStoreSetsItemTermsItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenRequestBuilder) ToPostRequestInfo } 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 *ItemTermStoreSetsItemTermsItemChildrenRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemTermsItemChildrenRequestBuilder) { + return NewItemTermStoreSetsItemTermsItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_terms_item_children_term_item_request_builder.go b/sites/item_term_store_sets_item_terms_item_children_term_item_request_builder.go index f47ae90173c..31a8432b02f 100644 --- a/sites/item_term_store_sets_item_terms_item_children_term_item_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_children_term_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenTermItemRequestBuilder) ToPatchRe } 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 *ItemTermStoreSetsItemTermsItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemTermsItemChildrenTermItemRequestBuilder) { + return NewItemTermStoreSetsItemTermsItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_terms_item_relations_count_request_builder.go b/sites/item_term_store_sets_item_terms_item_relations_count_request_builder.go index 57c6d96fee0..ca2d33bc303 100644 --- a/sites/item_term_store_sets_item_terms_item_relations_count_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTermStoreSetsItemTermsItemRelationsCountRequestBuilder) ToGetReques } 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 *ItemTermStoreSetsItemTermsItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemTermsItemRelationsCountRequestBuilder) { + return NewItemTermStoreSetsItemTermsItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_terms_item_relations_item_from_term_request_builder.go b/sites/item_term_store_sets_item_terms_item_relations_item_from_term_request_builder.go index 70c920114fd..6ec1b393978 100644 --- a/sites/item_term_store_sets_item_terms_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemTermsItemRelationsItemFromTermRequestBuilder) ToGe } 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 *ItemTermStoreSetsItemTermsItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemTermsItemRelationsItemFromTermRequestBuilder) { + return NewItemTermStoreSetsItemTermsItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_terms_item_relations_item_set_request_builder.go b/sites/item_term_store_sets_item_terms_item_relations_item_set_request_builder.go index b541b778251..3c325755a09 100644 --- a/sites/item_term_store_sets_item_terms_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemTermsItemRelationsItemSetRequestBuilder) ToGetRequ } 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 *ItemTermStoreSetsItemTermsItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemTermsItemRelationsItemSetRequestBuilder) { + return NewItemTermStoreSetsItemTermsItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_terms_item_relations_item_to_term_request_builder.go b/sites/item_term_store_sets_item_terms_item_relations_item_to_term_request_builder.go index e50c727fc68..54d6b06e9e1 100644 --- a/sites/item_term_store_sets_item_terms_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemTermsItemRelationsItemToTermRequestBuilder) ToGetR } 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 *ItemTermStoreSetsItemTermsItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemTermsItemRelationsItemToTermRequestBuilder) { + return NewItemTermStoreSetsItemTermsItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_terms_item_relations_relation_item_request_builder.go b/sites/item_term_store_sets_item_terms_item_relations_relation_item_request_builder.go index 2daf85f8039..813a54b422e 100644 --- a/sites/item_term_store_sets_item_terms_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemTermStoreSetsItemTermsItemRelationsRelationItemRequestBuilder) ToPa func (m *ItemTermStoreSetsItemTermsItemRelationsRelationItemRequestBuilder) ToTerm()(*ItemTermStoreSetsItemTermsItemRelationsItemToTermRequestBuilder) { return NewItemTermStoreSetsItemTermsItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTermStoreSetsItemTermsItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemTermsItemRelationsRelationItemRequestBuilder) { + return NewItemTermStoreSetsItemTermsItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_terms_item_relations_request_builder.go b/sites/item_term_store_sets_item_terms_item_relations_request_builder.go index 7c478a5661b..ac46f324f13 100644 --- a/sites/item_term_store_sets_item_terms_item_relations_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_relations_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreSetsItemTermsItemRelationsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *ItemTermStoreSetsItemTermsItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*ItemTermStoreSetsItemTermsItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *ItemTermStoreSetsItemTermsItemRelationsRequestBuilder) ByRelationId(relationId string)(*ItemTermStoreSetsItemTermsItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTermStoreSetsItemTermsItemRelationsRequestBuilder) ToPostRequestInf } 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 *ItemTermStoreSetsItemTermsItemRelationsRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemTermsItemRelationsRequestBuilder) { + return NewItemTermStoreSetsItemTermsItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_terms_item_set_request_builder.go b/sites/item_term_store_sets_item_terms_item_set_request_builder.go index 3d7093cc382..4c222f47240 100644 --- a/sites/item_term_store_sets_item_terms_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTermStoreSetsItemTermsItemSetRequestBuilder) 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 *ItemTermStoreSetsItemTermsItemSetRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemTermsItemSetRequestBuilder) { + return NewItemTermStoreSetsItemTermsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_terms_request_builder.go b/sites/item_term_store_sets_item_terms_request_builder.go index 42397f611fb..cea8ac9d5d2 100644 --- a/sites/item_term_store_sets_item_terms_request_builder.go +++ b/sites/item_term_store_sets_item_terms_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreSetsItemTermsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermIdString provides operations to manage the terms property of the microsoft.graph.termStore.set entity. -func (m *ItemTermStoreSetsItemTermsRequestBuilder) ByTermIdString(termId string)(*ItemTermStoreSetsItemTermsTermItemRequestBuilder) { +// ByTermId provides operations to manage the terms property of the microsoft.graph.termStore.set entity. +func (m *ItemTermStoreSetsItemTermsRequestBuilder) ByTermId(termId string)(*ItemTermStoreSetsItemTermsTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTermStoreSetsItemTermsRequestBuilder) 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 *ItemTermStoreSetsItemTermsRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemTermsRequestBuilder) { + return NewItemTermStoreSetsItemTermsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_item_terms_term_item_request_builder.go b/sites/item_term_store_sets_item_terms_term_item_request_builder.go index 8b28157e44e..82539e079a0 100644 --- a/sites/item_term_store_sets_item_terms_term_item_request_builder.go +++ b/sites/item_term_store_sets_item_terms_term_item_request_builder.go @@ -174,3 +174,7 @@ func (m *ItemTermStoreSetsItemTermsTermItemRequestBuilder) ToPatchRequestInforma } 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 *ItemTermStoreSetsItemTermsTermItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsItemTermsTermItemRequestBuilder) { + return NewItemTermStoreSetsItemTermsTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_request_builder.go b/sites/item_term_store_sets_request_builder.go index e5ab50d8d39..9445fe59905 100644 --- a/sites/item_term_store_sets_request_builder.go +++ b/sites/item_term_store_sets_request_builder.go @@ -46,8 +46,8 @@ type ItemTermStoreSetsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySetIdString provides operations to manage the sets property of the microsoft.graph.termStore.store entity. -func (m *ItemTermStoreSetsRequestBuilder) BySetIdString(setId string)(*ItemTermStoreSetsSetItemRequestBuilder) { +// BySetId provides operations to manage the sets property of the microsoft.graph.termStore.store entity. +func (m *ItemTermStoreSetsRequestBuilder) BySetId(setId string)(*ItemTermStoreSetsSetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTermStoreSetsRequestBuilder) ToPostRequestInformation(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 *ItemTermStoreSetsRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsRequestBuilder) { + return NewItemTermStoreSetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_term_store_sets_set_item_request_builder.go b/sites/item_term_store_sets_set_item_request_builder.go index 190b8395433..d28d7e0ae6d 100644 --- a/sites/item_term_store_sets_set_item_request_builder.go +++ b/sites/item_term_store_sets_set_item_request_builder.go @@ -178,3 +178,7 @@ func (m *ItemTermStoreSetsSetItemRequestBuilder) 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 *ItemTermStoreSetsSetItemRequestBuilder) WithUrl(rawUrl string)(*ItemTermStoreSetsSetItemRequestBuilder) { + return NewItemTermStoreSetsSetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/remove_request_builder.go b/sites/remove_request_builder.go index 70e4f2ac667..97de9bd920e 100644 --- a/sites/remove_request_builder.go +++ b/sites/remove_request_builder.go @@ -69,3 +69,7 @@ func (m *RemoveRequestBuilder) ToPostRequestInformation(ctx context.Context, bod } 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 *RemoveRequestBuilder) WithUrl(rawUrl string)(*RemoveRequestBuilder) { + return NewRemoveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/site_item_request_builder.go b/sites/site_item_request_builder.go index d451d653ede..2402b819990 100644 --- a/sites/site_item_request_builder.go +++ b/sites/site_item_request_builder.go @@ -201,3 +201,7 @@ func (m *SiteItemRequestBuilder) ToPatchRequestInformation(ctx context.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 *SiteItemRequestBuilder) WithUrl(rawUrl string)(*SiteItemRequestBuilder) { + return NewSiteItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/sites_request_builder.go b/sites/sites_request_builder.go index cd316942b5f..1e37c79c06a 100644 --- a/sites/sites_request_builder.go +++ b/sites/sites_request_builder.go @@ -43,8 +43,8 @@ type SitesRequestBuilderGetRequestConfiguration struct { func (m *SitesRequestBuilder) Add()(*AddRequestBuilder) { return NewAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// BySiteIdString provides operations to manage the collection of site entities. -func (m *SitesRequestBuilder) BySiteIdString(siteId string)(*SiteItemRequestBuilder) { +// BySiteId provides operations to manage the collection of site entities. +func (m *SitesRequestBuilder) BySiteId(siteId string)(*SiteItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -121,3 +121,7 @@ func (m *SitesRequestBuilder) 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 *SitesRequestBuilder) WithUrl(rawUrl string)(*SitesRequestBuilder) { + return NewSitesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/business_scenarios_business_scenario_item_request_builder.go b/solutions/business_scenarios_business_scenario_item_request_builder.go index c02cf758383..1b3a0525901 100644 --- a/solutions/business_scenarios_business_scenario_item_request_builder.go +++ b/solutions/business_scenarios_business_scenario_item_request_builder.go @@ -166,3 +166,7 @@ func (m *BusinessScenariosBusinessScenarioItemRequestBuilder) 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 *BusinessScenariosBusinessScenarioItemRequestBuilder) WithUrl(rawUrl string)(*BusinessScenariosBusinessScenarioItemRequestBuilder) { + return NewBusinessScenariosBusinessScenarioItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/business_scenarios_count_request_builder.go b/solutions/business_scenarios_count_request_builder.go index 90746a70787..6ec589948f7 100644 --- a/solutions/business_scenarios_count_request_builder.go +++ b/solutions/business_scenarios_count_request_builder.go @@ -74,3 +74,7 @@ func (m *BusinessScenariosCountRequestBuilder) ToGetRequestInformation(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 *BusinessScenariosCountRequestBuilder) WithUrl(rawUrl string)(*BusinessScenariosCountRequestBuilder) { + return NewBusinessScenariosCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/business_scenarios_item_planner_get_plan_request_builder.go b/solutions/business_scenarios_item_planner_get_plan_request_builder.go index 819e27a9401..47e38fc9bc5 100644 --- a/solutions/business_scenarios_item_planner_get_plan_request_builder.go +++ b/solutions/business_scenarios_item_planner_get_plan_request_builder.go @@ -70,3 +70,7 @@ func (m *BusinessScenariosItemPlannerGetPlanRequestBuilder) ToPostRequestInforma } 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 *BusinessScenariosItemPlannerGetPlanRequestBuilder) WithUrl(rawUrl string)(*BusinessScenariosItemPlannerGetPlanRequestBuilder) { + return NewBusinessScenariosItemPlannerGetPlanRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/business_scenarios_item_planner_plan_configuration_localizations_count_request_builder.go b/solutions/business_scenarios_item_planner_plan_configuration_localizations_count_request_builder.go index a4a3f3c20f5..d2f43074c27 100644 --- a/solutions/business_scenarios_item_planner_plan_configuration_localizations_count_request_builder.go +++ b/solutions/business_scenarios_item_planner_plan_configuration_localizations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsCountRequestB } 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 *BusinessScenariosItemPlannerPlanConfigurationLocalizationsCountRequestBuilder) WithUrl(rawUrl string)(*BusinessScenariosItemPlannerPlanConfigurationLocalizationsCountRequestBuilder) { + return NewBusinessScenariosItemPlannerPlanConfigurationLocalizationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/business_scenarios_item_planner_plan_configuration_localizations_planner_plan_configuration_localization_item_request_builder.go b/solutions/business_scenarios_item_planner_plan_configuration_localizations_planner_plan_configuration_localization_item_request_builder.go index dab0b47df52..1db644de206 100644 --- a/solutions/business_scenarios_item_planner_plan_configuration_localizations_planner_plan_configuration_localization_item_request_builder.go +++ b/solutions/business_scenarios_item_planner_plan_configuration_localizations_planner_plan_configuration_localization_item_request_builder.go @@ -162,3 +162,7 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanCo } 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 *BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilder) WithUrl(rawUrl string)(*BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilder) { + return NewBusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/business_scenarios_item_planner_plan_configuration_localizations_request_builder.go b/solutions/business_scenarios_item_planner_plan_configuration_localizations_request_builder.go index 7cb74f36f1a..1042b5f501d 100644 --- a/solutions/business_scenarios_item_planner_plan_configuration_localizations_request_builder.go +++ b/solutions/business_scenarios_item_planner_plan_configuration_localizations_request_builder.go @@ -46,8 +46,8 @@ type BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilderPos // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPlannerPlanConfigurationLocalizationIdString provides operations to manage the localizations property of the microsoft.graph.plannerPlanConfiguration entity. -func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilder) ByPlannerPlanConfigurationLocalizationIdString(plannerPlanConfigurationLocalizationId string)(*BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilder) { +// ByPlannerPlanConfigurationLocalizationId provides operations to manage the localizations property of the microsoft.graph.plannerPlanConfiguration entity. +func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilder) ByPlannerPlanConfigurationLocalizationId(plannerPlanConfigurationLocalizationId string)(*BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilde } 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 *BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilder) WithUrl(rawUrl string)(*BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilder) { + return NewBusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/business_scenarios_item_planner_plan_configuration_request_builder.go b/solutions/business_scenarios_item_planner_plan_configuration_request_builder.go index c644b14c966..09c2156764b 100644 --- a/solutions/business_scenarios_item_planner_plan_configuration_request_builder.go +++ b/solutions/business_scenarios_item_planner_plan_configuration_request_builder.go @@ -163,3 +163,7 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationRequestBuilder) ToPatchReq } 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 *BusinessScenariosItemPlannerPlanConfigurationRequestBuilder) WithUrl(rawUrl string)(*BusinessScenariosItemPlannerPlanConfigurationRequestBuilder) { + return NewBusinessScenariosItemPlannerPlanConfigurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/business_scenarios_item_planner_request_builder.go b/solutions/business_scenarios_item_planner_request_builder.go index 572006e2fe1..48e9386577d 100644 --- a/solutions/business_scenarios_item_planner_request_builder.go +++ b/solutions/business_scenarios_item_planner_request_builder.go @@ -172,3 +172,7 @@ func (m *BusinessScenariosItemPlannerRequestBuilder) ToPatchRequestInformation(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 *BusinessScenariosItemPlannerRequestBuilder) WithUrl(rawUrl string)(*BusinessScenariosItemPlannerRequestBuilder) { + return NewBusinessScenariosItemPlannerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/business_scenarios_item_planner_task_configuration_request_builder.go b/solutions/business_scenarios_item_planner_task_configuration_request_builder.go index b2bc69f884b..d5f3392965c 100644 --- a/solutions/business_scenarios_item_planner_task_configuration_request_builder.go +++ b/solutions/business_scenarios_item_planner_task_configuration_request_builder.go @@ -159,3 +159,7 @@ func (m *BusinessScenariosItemPlannerTaskConfigurationRequestBuilder) ToPatchReq } 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 *BusinessScenariosItemPlannerTaskConfigurationRequestBuilder) WithUrl(rawUrl string)(*BusinessScenariosItemPlannerTaskConfigurationRequestBuilder) { + return NewBusinessScenariosItemPlannerTaskConfigurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/business_scenarios_item_planner_tasks_business_scenario_task_item_request_builder.go b/solutions/business_scenarios_item_planner_tasks_business_scenario_task_item_request_builder.go index daba777f5ea..52d44df4c25 100644 --- a/solutions/business_scenarios_item_planner_tasks_business_scenario_task_item_request_builder.go +++ b/solutions/business_scenarios_item_planner_tasks_business_scenario_task_item_request_builder.go @@ -178,3 +178,7 @@ func (m *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder } 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 *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder) WithUrl(rawUrl string)(*BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder) { + return NewBusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/business_scenarios_item_planner_tasks_count_request_builder.go b/solutions/business_scenarios_item_planner_tasks_count_request_builder.go index c224d85a95d..fa5574cc82b 100644 --- a/solutions/business_scenarios_item_planner_tasks_count_request_builder.go +++ b/solutions/business_scenarios_item_planner_tasks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *BusinessScenariosItemPlannerTasksCountRequestBuilder) ToGetRequestInfor } 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 *BusinessScenariosItemPlannerTasksCountRequestBuilder) WithUrl(rawUrl string)(*BusinessScenariosItemPlannerTasksCountRequestBuilder) { + return NewBusinessScenariosItemPlannerTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/business_scenarios_item_planner_tasks_item_assigned_to_task_board_format_request_builder.go b/solutions/business_scenarios_item_planner_tasks_item_assigned_to_task_board_format_request_builder.go index 2973a0b4dcd..1b3ac38e0e3 100644 --- a/solutions/business_scenarios_item_planner_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/solutions/business_scenarios_item_planner_tasks_item_assigned_to_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *BusinessScenariosItemPlannerTasksItemAssignedToTaskBoardFormatRequestBu } 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 *BusinessScenariosItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*BusinessScenariosItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilder) { + return NewBusinessScenariosItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/business_scenarios_item_planner_tasks_item_bucket_task_board_format_request_builder.go b/solutions/business_scenarios_item_planner_tasks_item_bucket_task_board_format_request_builder.go index 37b6a9f60f7..3ff16b35035 100644 --- a/solutions/business_scenarios_item_planner_tasks_item_bucket_task_board_format_request_builder.go +++ b/solutions/business_scenarios_item_planner_tasks_item_bucket_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *BusinessScenariosItemPlannerTasksItemBucketTaskBoardFormatRequestBuilde } 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 *BusinessScenariosItemPlannerTasksItemBucketTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*BusinessScenariosItemPlannerTasksItemBucketTaskBoardFormatRequestBuilder) { + return NewBusinessScenariosItemPlannerTasksItemBucketTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/business_scenarios_item_planner_tasks_item_details_request_builder.go b/solutions/business_scenarios_item_planner_tasks_item_details_request_builder.go index 1413864194a..dad356613ff 100644 --- a/solutions/business_scenarios_item_planner_tasks_item_details_request_builder.go +++ b/solutions/business_scenarios_item_planner_tasks_item_details_request_builder.go @@ -159,3 +159,7 @@ func (m *BusinessScenariosItemPlannerTasksItemDetailsRequestBuilder) ToPatchRequ } 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 *BusinessScenariosItemPlannerTasksItemDetailsRequestBuilder) WithUrl(rawUrl string)(*BusinessScenariosItemPlannerTasksItemDetailsRequestBuilder) { + return NewBusinessScenariosItemPlannerTasksItemDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/business_scenarios_item_planner_tasks_item_progress_task_board_format_request_builder.go b/solutions/business_scenarios_item_planner_tasks_item_progress_task_board_format_request_builder.go index 4d7c91960e3..484adf1c623 100644 --- a/solutions/business_scenarios_item_planner_tasks_item_progress_task_board_format_request_builder.go +++ b/solutions/business_scenarios_item_planner_tasks_item_progress_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *BusinessScenariosItemPlannerTasksItemProgressTaskBoardFormatRequestBuil } 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 *BusinessScenariosItemPlannerTasksItemProgressTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*BusinessScenariosItemPlannerTasksItemProgressTaskBoardFormatRequestBuilder) { + return NewBusinessScenariosItemPlannerTasksItemProgressTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/business_scenarios_item_planner_tasks_request_builder.go b/solutions/business_scenarios_item_planner_tasks_request_builder.go index 2a40b9b2538..f0cdf40372d 100644 --- a/solutions/business_scenarios_item_planner_tasks_request_builder.go +++ b/solutions/business_scenarios_item_planner_tasks_request_builder.go @@ -46,8 +46,8 @@ type BusinessScenariosItemPlannerTasksRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByBusinessScenarioTaskIdString provides operations to manage the tasks property of the microsoft.graph.businessScenarioPlanner entity. -func (m *BusinessScenariosItemPlannerTasksRequestBuilder) ByBusinessScenarioTaskIdString(businessScenarioTaskId string)(*BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder) { +// ByBusinessScenarioTaskId provides operations to manage the tasks property of the microsoft.graph.businessScenarioPlanner entity. +func (m *BusinessScenariosItemPlannerTasksRequestBuilder) ByBusinessScenarioTaskId(businessScenarioTaskId string)(*BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *BusinessScenariosItemPlannerTasksRequestBuilder) ToPostRequestInformati } 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 *BusinessScenariosItemPlannerTasksRequestBuilder) WithUrl(rawUrl string)(*BusinessScenariosItemPlannerTasksRequestBuilder) { + return NewBusinessScenariosItemPlannerTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/business_scenarios_request_builder.go b/solutions/business_scenarios_request_builder.go index 49467e085ed..d616fd486ea 100644 --- a/solutions/business_scenarios_request_builder.go +++ b/solutions/business_scenarios_request_builder.go @@ -46,8 +46,8 @@ type BusinessScenariosRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByBusinessScenarioIdString provides operations to manage the businessScenarios property of the microsoft.graph.solutionsRoot entity. -func (m *BusinessScenariosRequestBuilder) ByBusinessScenarioIdString(businessScenarioId string)(*BusinessScenariosBusinessScenarioItemRequestBuilder) { +// ByBusinessScenarioId provides operations to manage the businessScenarios property of the microsoft.graph.solutionsRoot entity. +func (m *BusinessScenariosRequestBuilder) ByBusinessScenarioId(businessScenarioId string)(*BusinessScenariosBusinessScenarioItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *BusinessScenariosRequestBuilder) ToPostRequestInformation(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 *BusinessScenariosRequestBuilder) WithUrl(rawUrl string)(*BusinessScenariosRequestBuilder) { + return NewBusinessScenariosRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/solutions_request_builder.go b/solutions/solutions_request_builder.go index 456295c6833..dd0a27b5717 100644 --- a/solutions/solutions_request_builder.go +++ b/solutions/solutions_request_builder.go @@ -126,3 +126,7 @@ func (m *SolutionsRequestBuilder) ToPatchRequestInformation(ctx context.Context, func (m *SolutionsRequestBuilder) VirtualEvents()(*VirtualEventsRequestBuilder) { return NewVirtualEventsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *SolutionsRequestBuilder) WithUrl(rawUrl string)(*SolutionsRequestBuilder) { + return NewSolutionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_count_request_builder.go b/solutions/virtual_events_events_count_request_builder.go index 51d5e824d61..e7aa104a133 100644 --- a/solutions/virtual_events_events_count_request_builder.go +++ b/solutions/virtual_events_events_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsEventsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *VirtualEventsEventsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsCountRequestBuilder) { + return NewVirtualEventsEventsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_presenters_count_request_builder.go b/solutions/virtual_events_events_item_presenters_count_request_builder.go index 04ef1b53690..81c9197d96f 100644 --- a/solutions/virtual_events_events_item_presenters_count_request_builder.go +++ b/solutions/virtual_events_events_item_presenters_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsEventsItemPresentersCountRequestBuilder) ToGetRequestInfor } 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 *VirtualEventsEventsItemPresentersCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemPresentersCountRequestBuilder) { + return NewVirtualEventsEventsItemPresentersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_presenters_request_builder.go b/solutions/virtual_events_events_item_presenters_request_builder.go index 3b4807508b3..9d528d94f82 100644 --- a/solutions/virtual_events_events_item_presenters_request_builder.go +++ b/solutions/virtual_events_events_item_presenters_request_builder.go @@ -46,8 +46,8 @@ type VirtualEventsEventsItemPresentersRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByVirtualEventPresenterIdString provides operations to manage the presenters property of the microsoft.graph.virtualEvent entity. -func (m *VirtualEventsEventsItemPresentersRequestBuilder) ByVirtualEventPresenterIdString(virtualEventPresenterId string)(*VirtualEventsEventsItemPresentersVirtualEventPresenterItemRequestBuilder) { +// ByVirtualEventPresenterId provides operations to manage the presenters property of the microsoft.graph.virtualEvent entity. +func (m *VirtualEventsEventsItemPresentersRequestBuilder) ByVirtualEventPresenterId(virtualEventPresenterId string)(*VirtualEventsEventsItemPresentersVirtualEventPresenterItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *VirtualEventsEventsItemPresentersRequestBuilder) ToPostRequestInformati } 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 *VirtualEventsEventsItemPresentersRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemPresentersRequestBuilder) { + return NewVirtualEventsEventsItemPresentersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_presenters_virtual_event_presenter_item_request_builder.go b/solutions/virtual_events_events_item_presenters_virtual_event_presenter_item_request_builder.go index 58ba704d039..6db3ceefba1 100644 --- a/solutions/virtual_events_events_item_presenters_virtual_event_presenter_item_request_builder.go +++ b/solutions/virtual_events_events_item_presenters_virtual_event_presenter_item_request_builder.go @@ -153,3 +153,7 @@ func (m *VirtualEventsEventsItemPresentersVirtualEventPresenterItemRequestBuilde } 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 *VirtualEventsEventsItemPresentersVirtualEventPresenterItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemPresentersVirtualEventPresenterItemRequestBuilder) { + return NewVirtualEventsEventsItemPresentersVirtualEventPresenterItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_count_request_builder.go b/solutions/virtual_events_events_item_sessions_count_request_builder.go index 28022bb5b1d..741c9049120 100644 --- a/solutions/virtual_events_events_item_sessions_count_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsEventsItemSessionsCountRequestBuilder) ToGetRequestInforma } 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 *VirtualEventsEventsItemSessionsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsCountRequestBuilder) { + return NewVirtualEventsEventsItemSessionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_alternative_recording_request_builder.go b/solutions/virtual_events_events_item_sessions_item_alternative_recording_request_builder.go index 28ea959b4fb..87c09f8c35b 100644 --- a/solutions/virtual_events_events_item_sessions_item_alternative_recording_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_alternative_recording_request_builder.go @@ -100,3 +100,7 @@ func (m *VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilder) } 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 *VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_attendance_reports_count_request_builder.go b/solutions/virtual_events_events_item_sessions_item_attendance_reports_count_request_builder.go index 6ffb66fcfeb..332a9a23390 100644 --- a/solutions/virtual_events_events_item_sessions_item_attendance_reports_count_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_attendance_reports_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsCountRequestBuilder } 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 *VirtualEventsEventsItemSessionsItemAttendanceReportsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemAttendanceReportsCountRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemAttendanceReportsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go b/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go index 347eda3fbd4..7d38207064a 100644 --- a/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go @@ -153,3 +153,7 @@ func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecor } 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 *VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_count_request_builder.go b/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_count_request_builder.go index c5387a2c7bf..c1bf7fb7f88 100644 --- a/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_count_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecor } 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 *VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go b/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go index 08cfa35f211..a1c1b49ec2a 100644 --- a/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go @@ -46,8 +46,8 @@ type VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttendanceRecordIdString provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. -func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) ByAttendanceRecordIdString(attendanceRecordId string)(*VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder) { +// ByAttendanceRecordId provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. +func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) ByAttendanceRecordId(attendanceRecordId string)(*VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecor } 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 *VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_attendance_reports_meeting_attendance_report_item_request_builder.go b/solutions/virtual_events_events_item_sessions_item_attendance_reports_meeting_attendance_report_item_request_builder.go index 89773447e13..52e98d15fb0 100644 --- a/solutions/virtual_events_events_item_sessions_item_attendance_reports_meeting_attendance_report_item_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_attendance_reports_meeting_attendance_report_item_request_builder.go @@ -160,3 +160,7 @@ func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsMeetingAttendanceRe } 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 *VirtualEventsEventsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_attendance_reports_request_builder.go b/solutions/virtual_events_events_item_sessions_item_attendance_reports_request_builder.go index 1af3e09096e..81f5ac935f3 100644 --- a/solutions/virtual_events_events_item_sessions_item_attendance_reports_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_attendance_reports_request_builder.go @@ -46,8 +46,8 @@ type VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilderPostReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMeetingAttendanceReportIdString provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. -func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilder) ByMeetingAttendanceReportIdString(meetingAttendanceReportId string)(*VirtualEventsEventsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) { +// ByMeetingAttendanceReportId provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilder) ByMeetingAttendanceReportId(meetingAttendanceReportId string)(*VirtualEventsEventsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilder) 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 *VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_attendee_report_request_builder.go b/solutions/virtual_events_events_item_sessions_item_attendee_report_request_builder.go index 1305f309ed1..007fff92e02 100644 --- a/solutions/virtual_events_events_item_sessions_item_attendee_report_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_attendee_report_request_builder.go @@ -100,3 +100,7 @@ func (m *VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder) ToPutR } 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 *VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_broadcast_recording_request_builder.go b/solutions/virtual_events_events_item_sessions_item_broadcast_recording_request_builder.go index 01c86eabccb..b4ef43fb0e0 100644 --- a/solutions/virtual_events_events_item_sessions_item_broadcast_recording_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_broadcast_recording_request_builder.go @@ -100,3 +100,7 @@ func (m *VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilder) To } 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 *VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go b/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go index 0cd025b4d1e..45d55de77a5 100644 --- a/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go @@ -153,3 +153,7 @@ func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRec } 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 *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_count_request_builder.go b/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_count_request_builder.go index 699c4c0aa18..eefe0678e55 100644 --- a/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_count_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRec } 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 *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_request_builder.go b/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_request_builder.go index 64c7101e43b..3fd81151570 100644 --- a/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_request_builder.go @@ -46,8 +46,8 @@ type VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecords // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttendanceRecordIdString provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) ByAttendanceRecordIdString(attendanceRecordId string)(*VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { +// ByAttendanceRecordId provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. +func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) ByAttendanceRecordId(attendanceRecordId string)(*VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRec } 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 *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_request_builder.go b/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_request_builder.go index 01a2aedce8d..fc2f605365a 100644 --- a/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_request_builder.go @@ -160,3 +160,7 @@ func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilde } 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 *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_recording_request_builder.go b/solutions/virtual_events_events_item_sessions_item_recording_request_builder.go index f8ef35504d9..f395c9f6890 100644 --- a/solutions/virtual_events_events_item_sessions_item_recording_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_recording_request_builder.go @@ -100,3 +100,7 @@ func (m *VirtualEventsEventsItemSessionsItemRecordingRequestBuilder) ToPutReques } 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 *VirtualEventsEventsItemSessionsItemRecordingRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRecordingRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_recordings_call_recording_item_request_builder.go b/solutions/virtual_events_events_item_sessions_item_recordings_call_recording_item_request_builder.go index 9a20f8cba60..b78cecb4852 100644 --- a/solutions/virtual_events_events_item_sessions_item_recordings_call_recording_item_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_recordings_call_recording_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. type VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,7 +74,7 @@ func (m *VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBu } return nil } -// Get get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// Get get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0 @@ -127,7 +127,7 @@ func (m *VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBu } return requestInfo, nil } -// ToGetRequestInformation get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// ToGetRequestInformation get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. func (m *VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -160,3 +160,7 @@ func (m *VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBu } 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 *VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_recordings_count_request_builder.go b/solutions/virtual_events_events_item_sessions_item_recordings_count_request_builder.go index 4e4691dc19b..f58d8bf8d4d 100644 --- a/solutions/virtual_events_events_item_sessions_item_recordings_count_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_recordings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilder) ToGet } 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 *VirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_recordings_delta_request_builder.go b/solutions/virtual_events_events_item_sessions_item_recordings_delta_request_builder.go index b2fc7c94485..04ad77e71ee 100644 --- a/solutions/virtual_events_events_item_sessions_item_recordings_delta_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_recordings_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilder) ToGet } 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 *VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_recordings_item_content_request_builder.go b/solutions/virtual_events_events_item_sessions_item_recordings_item_content_request_builder.go index f906e9c6f86..5bc68bc5b5e 100644 --- a/solutions/virtual_events_events_item_sessions_item_recordings_item_content_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_recordings_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilder) } 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 *VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_recordings_request_builder.go b/solutions/virtual_events_events_item_sessions_item_recordings_request_builder.go index b6457aca58f..cd830255778 100644 --- a/solutions/virtual_events_events_item_sessions_item_recordings_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_recordings_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsEventsItemSessionsItemRecordingsRequestBuilderGetQueryParameters get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// VirtualEventsEventsItemSessionsItemRecordingsRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. type VirtualEventsEventsItemSessionsItemRecordingsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type VirtualEventsEventsItemSessionsItemRecordingsRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCallRecordingIdString provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. -func (m *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder) ByCallRecordingIdString(callRecordingId string)(*VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) { +// ByCallRecordingId provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. +func (m *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder) ByCallRecordingId(callRecordingId string)(*VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -78,7 +78,7 @@ func (m *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder) Count()(*V func (m *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder) Delta()(*VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilder) { return NewVirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// Get get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. func (m *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +116,7 @@ func (m *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder) Post(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable), nil } -// ToGetRequestInformation get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// ToGetRequestInformation get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. func (m *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -149,3 +149,7 @@ func (m *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder) ToPostRequ } 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 *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemRecordingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_registration_custom_questions_count_request_builder.go b/solutions/virtual_events_events_item_sessions_item_registration_custom_questions_count_request_builder.go index 7bb25f7d561..5d0452a5209 100644 --- a/solutions/virtual_events_events_item_sessions_item_registration_custom_questions_count_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_registration_custom_questions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequ } 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 *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_registration_custom_questions_meeting_registration_question_item_request_builder.go b/solutions/virtual_events_events_item_sessions_item_registration_custom_questions_meeting_registration_question_item_request_builder.go index 288de9fd625..1a5af20a1c2 100644 --- a/solutions/virtual_events_events_item_sessions_item_registration_custom_questions_meeting_registration_question_item_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_registration_custom_questions_meeting_registration_question_item_request_builder.go @@ -162,3 +162,7 @@ func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRe } 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 *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_registration_custom_questions_request_builder.go b/solutions/virtual_events_events_item_sessions_item_registration_custom_questions_request_builder.go index bbd11c59c79..d80e4fb4fc8 100644 --- a/solutions/virtual_events_events_item_sessions_item_registration_custom_questions_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_registration_custom_questions_request_builder.go @@ -46,8 +46,8 @@ type VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMeetingRegistrationQuestionIdString provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. -func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) ByMeetingRegistrationQuestionIdString(meetingRegistrationQuestionId string)(*VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { +// ByMeetingRegistrationQuestionId provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. +func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) ByMeetingRegistrationQuestionId(meetingRegistrationQuestionId string)(*VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBu } 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 *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_registration_registrants_count_request_builder.go b/solutions/virtual_events_events_item_sessions_item_registration_registrants_count_request_builder.go index 098810f21ec..6cfb50b2d26 100644 --- a/solutions/virtual_events_events_item_sessions_item_registration_registrants_count_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_registration_registrants_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestB } 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 *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_registration_registrants_meeting_registrant_base_item_request_builder.go b/solutions/virtual_events_events_item_sessions_item_registration_registrants_meeting_registrant_base_item_request_builder.go index 2278172f54d..1036ca39d72 100644 --- a/solutions/virtual_events_events_item_sessions_item_registration_registrants_meeting_registrant_base_item_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_registration_registrants_meeting_registrant_base_item_request_builder.go @@ -153,3 +153,7 @@ func (m *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegist } 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 *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_registration_registrants_request_builder.go b/solutions/virtual_events_events_item_sessions_item_registration_registrants_request_builder.go index a86a5fff65c..46d62280fd7 100644 --- a/solutions/virtual_events_events_item_sessions_item_registration_registrants_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_registration_registrants_request_builder.go @@ -46,8 +46,8 @@ type VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilderPos // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMeetingRegistrantBaseIdString provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. -func (m *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilder) ByMeetingRegistrantBaseIdString(meetingRegistrantBaseId string)(*VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { +// ByMeetingRegistrantBaseId provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. +func (m *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilder) ByMeetingRegistrantBaseId(meetingRegistrantBaseId string)(*VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilde } 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 *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_registration_request_builder.go b/solutions/virtual_events_events_item_sessions_item_registration_request_builder.go index 9ff5011cb36..58a1e56a064 100644 --- a/solutions/virtual_events_events_item_sessions_item_registration_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_registration_request_builder.go @@ -170,3 +170,7 @@ func (m *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) ToPatchR } 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 *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemRegistrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_registrations_count_request_builder.go b/solutions/virtual_events_events_item_sessions_item_registrations_count_request_builder.go index 99e71b9eebe..4cd60907d0e 100644 --- a/solutions/virtual_events_events_item_sessions_item_registrations_count_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_registrations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsEventsItemSessionsItemRegistrationsCountRequestBuilder) To } 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 *VirtualEventsEventsItemSessionsItemRegistrationsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRegistrationsCountRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemRegistrationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_registrations_request_builder.go b/solutions/virtual_events_events_item_sessions_item_registrations_request_builder.go index 334b731b65a..456c2da07a7 100644 --- a/solutions/virtual_events_events_item_sessions_item_registrations_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_registrations_request_builder.go @@ -39,8 +39,8 @@ type VirtualEventsEventsItemSessionsItemRegistrationsRequestBuilderGetRequestCon // Request query parameters QueryParameters *VirtualEventsEventsItemSessionsItemRegistrationsRequestBuilderGetQueryParameters } -// ByVirtualEventRegistrationIdString provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. -func (m *VirtualEventsEventsItemSessionsItemRegistrationsRequestBuilder) ByVirtualEventRegistrationIdString(virtualEventRegistrationId string)(*VirtualEventsEventsItemSessionsItemRegistrationsVirtualEventRegistrationItemRequestBuilder) { +// ByVirtualEventRegistrationId provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. +func (m *VirtualEventsEventsItemSessionsItemRegistrationsRequestBuilder) ByVirtualEventRegistrationId(virtualEventRegistrationId string)(*VirtualEventsEventsItemSessionsItemRegistrationsVirtualEventRegistrationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *VirtualEventsEventsItemSessionsItemRegistrationsRequestBuilder) ToGetRe } 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 *VirtualEventsEventsItemSessionsItemRegistrationsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRegistrationsRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemRegistrationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_registrations_virtual_event_registration_item_request_builder.go b/solutions/virtual_events_events_item_sessions_item_registrations_virtual_event_registration_item_request_builder.go index 5a0c8fb2a4f..3af85f91f02 100644 --- a/solutions/virtual_events_events_item_sessions_item_registrations_virtual_event_registration_item_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_registrations_virtual_event_registration_item_request_builder.go @@ -75,3 +75,7 @@ func (m *VirtualEventsEventsItemSessionsItemRegistrationsVirtualEventRegistratio } 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 *VirtualEventsEventsItemSessionsItemRegistrationsVirtualEventRegistrationItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRegistrationsVirtualEventRegistrationItemRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemRegistrationsVirtualEventRegistrationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_transcripts_call_transcript_item_request_builder.go b/solutions/virtual_events_events_item_sessions_item_transcripts_call_transcript_item_request_builder.go index 5a1c6deafff..6171a2f325a 100644 --- a/solutions/virtual_events_events_item_sessions_item_transcripts_call_transcript_item_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_transcripts_call_transcript_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters retrieve a callTranscript object associated with an onlineMeeting. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters retrieve a callTranscript object associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. type VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,7 +74,7 @@ func (m *VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequest } return nil } -// Get retrieve a callTranscript object associated with an onlineMeeting. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// Get retrieve a callTranscript object associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0 @@ -131,7 +131,7 @@ func (m *VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequest } return requestInfo, nil } -// ToGetRequestInformation retrieve a callTranscript object associated with an onlineMeeting. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. func (m *VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -164,3 +164,7 @@ func (m *VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequest } 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 *VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_transcripts_count_request_builder.go b/solutions/virtual_events_events_item_sessions_item_transcripts_count_request_builder.go index de0f86cf2d3..12b1e4d5cc7 100644 --- a/solutions/virtual_events_events_item_sessions_item_transcripts_count_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_transcripts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilder) ToGe } 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 *VirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_transcripts_delta_request_builder.go b/solutions/virtual_events_events_item_sessions_item_transcripts_delta_request_builder.go index 6ae94afbec1..e8510c36748 100644 --- a/solutions/virtual_events_events_item_sessions_item_transcripts_delta_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_transcripts_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilder) ToGe } 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 *VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_transcripts_item_content_request_builder.go b/solutions/virtual_events_events_item_sessions_item_transcripts_item_content_request_builder.go index e34001dfe42..a26d4d18a55 100644 --- a/solutions/virtual_events_events_item_sessions_item_transcripts_item_content_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_transcripts_item_content_request_builder.go @@ -105,3 +105,7 @@ func (m *VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilder } 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 *VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_transcripts_item_metadata_content_request_builder.go b/solutions/virtual_events_events_item_sessions_item_transcripts_item_metadata_content_request_builder.go index 8f6152d7382..edb6199076a 100644 --- a/solutions/virtual_events_events_item_sessions_item_transcripts_item_metadata_content_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_transcripts_item_metadata_content_request_builder.go @@ -103,3 +103,7 @@ func (m *VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentReques } 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 *VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_transcripts_request_builder.go b/solutions/virtual_events_events_item_sessions_item_transcripts_request_builder.go index b20b214984a..f8a23a9038f 100644 --- a/solutions/virtual_events_events_item_sessions_item_transcripts_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_transcripts_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilderGetQueryParameters retrieve the list of callTranscript objects associated with an onlineMeeting. +// VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilderGetQueryParameters retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. type VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilderPostRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCallTranscriptIdString provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. -func (m *VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder) ByCallTranscriptIdString(callTranscriptId string)(*VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) { +// ByCallTranscriptId provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. +func (m *VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder) ByCallTranscriptId(callTranscriptId string)(*VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -78,7 +78,7 @@ func (m *VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder) Count()(* func (m *VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder) Delta()(*VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilder) { return NewVirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of callTranscript objects associated with an onlineMeeting. +// Get retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0 @@ -119,7 +119,7 @@ func (m *VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable), nil } -// ToGetRequestInformation retrieve the list of callTranscript objects associated with an onlineMeeting. +// ToGetRequestInformation retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. func (m *VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -152,3 +152,7 @@ func (m *VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder) ToPostReq } 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 *VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_request_builder.go b/solutions/virtual_events_events_item_sessions_request_builder.go index f3c6044aeb9..eb37c9a584b 100644 --- a/solutions/virtual_events_events_item_sessions_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_request_builder.go @@ -46,8 +46,8 @@ type VirtualEventsEventsItemSessionsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByVirtualEventSessionIdString provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. -func (m *VirtualEventsEventsItemSessionsRequestBuilder) ByVirtualEventSessionIdString(virtualEventSessionId string)(*VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) { +// ByVirtualEventSessionId provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. +func (m *VirtualEventsEventsItemSessionsRequestBuilder) ByVirtualEventSessionId(virtualEventSessionId string)(*VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *VirtualEventsEventsItemSessionsRequestBuilder) 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 *VirtualEventsEventsItemSessionsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsRequestBuilder) { + return NewVirtualEventsEventsItemSessionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_virtual_event_session_item_request_builder.go b/solutions/virtual_events_events_item_sessions_virtual_event_session_item_request_builder.go index 79bff39f705..b7682f64fad 100644 --- a/solutions/virtual_events_events_item_sessions_virtual_event_session_item_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_virtual_event_session_item_request_builder.go @@ -193,3 +193,7 @@ func (m *VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) T func (m *VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) Transcripts()(*VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder) { return NewVirtualEventsEventsItemSessionsItemTranscriptsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) { + return NewVirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_request_builder.go b/solutions/virtual_events_events_request_builder.go index eb0e54c7c5c..e5af77cd594 100644 --- a/solutions/virtual_events_events_request_builder.go +++ b/solutions/virtual_events_events_request_builder.go @@ -46,8 +46,8 @@ type VirtualEventsEventsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByVirtualEventIdString provides operations to manage the events property of the microsoft.graph.virtualEventsRoot entity. -func (m *VirtualEventsEventsRequestBuilder) ByVirtualEventIdString(virtualEventId string)(*VirtualEventsEventsVirtualEventItemRequestBuilder) { +// ByVirtualEventId provides operations to manage the events property of the microsoft.graph.virtualEventsRoot entity. +func (m *VirtualEventsEventsRequestBuilder) ByVirtualEventId(virtualEventId string)(*VirtualEventsEventsVirtualEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *VirtualEventsEventsRequestBuilder) 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 *VirtualEventsEventsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsRequestBuilder) { + return NewVirtualEventsEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_virtual_event_item_request_builder.go b/solutions/virtual_events_events_virtual_event_item_request_builder.go index 217d1f03077..ba1c22939bf 100644 --- a/solutions/virtual_events_events_virtual_event_item_request_builder.go +++ b/solutions/virtual_events_events_virtual_event_item_request_builder.go @@ -161,3 +161,7 @@ func (m *VirtualEventsEventsVirtualEventItemRequestBuilder) ToPatchRequestInform } 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 *VirtualEventsEventsVirtualEventItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsVirtualEventItemRequestBuilder) { + return NewVirtualEventsEventsVirtualEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_request_builder.go b/solutions/virtual_events_request_builder.go index 5f0f043fbc9..d2084e6cd00 100644 --- a/solutions/virtual_events_request_builder.go +++ b/solutions/virtual_events_request_builder.go @@ -161,3 +161,7 @@ func (m *VirtualEventsRequestBuilder) ToPatchRequestInformation(ctx context.Cont func (m *VirtualEventsRequestBuilder) Webinars()(*VirtualEventsWebinarsRequestBuilder) { return NewVirtualEventsWebinarsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *VirtualEventsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsRequestBuilder) { + return NewVirtualEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_count_request_builder.go b/solutions/virtual_events_webinars_count_request_builder.go index 157a7b29e10..985b0045ff4 100644 --- a/solutions/virtual_events_webinars_count_request_builder.go +++ b/solutions/virtual_events_webinars_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsWebinarsCountRequestBuilder) ToGetRequestInformation(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 *VirtualEventsWebinarsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsCountRequestBuilder) { + return NewVirtualEventsWebinarsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_presenters_count_request_builder.go b/solutions/virtual_events_webinars_item_presenters_count_request_builder.go index 27b8fcfa4ef..c0dceb02597 100644 --- a/solutions/virtual_events_webinars_item_presenters_count_request_builder.go +++ b/solutions/virtual_events_webinars_item_presenters_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsWebinarsItemPresentersCountRequestBuilder) ToGetRequestInf } 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 *VirtualEventsWebinarsItemPresentersCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemPresentersCountRequestBuilder) { + return NewVirtualEventsWebinarsItemPresentersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_presenters_request_builder.go b/solutions/virtual_events_webinars_item_presenters_request_builder.go index 42375f8adcc..c37d619b25d 100644 --- a/solutions/virtual_events_webinars_item_presenters_request_builder.go +++ b/solutions/virtual_events_webinars_item_presenters_request_builder.go @@ -46,8 +46,8 @@ type VirtualEventsWebinarsItemPresentersRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByVirtualEventPresenterIdString provides operations to manage the presenters property of the microsoft.graph.virtualEvent entity. -func (m *VirtualEventsWebinarsItemPresentersRequestBuilder) ByVirtualEventPresenterIdString(virtualEventPresenterId string)(*VirtualEventsWebinarsItemPresentersVirtualEventPresenterItemRequestBuilder) { +// ByVirtualEventPresenterId provides operations to manage the presenters property of the microsoft.graph.virtualEvent entity. +func (m *VirtualEventsWebinarsItemPresentersRequestBuilder) ByVirtualEventPresenterId(virtualEventPresenterId string)(*VirtualEventsWebinarsItemPresentersVirtualEventPresenterItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *VirtualEventsWebinarsItemPresentersRequestBuilder) ToPostRequestInforma } 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 *VirtualEventsWebinarsItemPresentersRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemPresentersRequestBuilder) { + return NewVirtualEventsWebinarsItemPresentersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_presenters_virtual_event_presenter_item_request_builder.go b/solutions/virtual_events_webinars_item_presenters_virtual_event_presenter_item_request_builder.go index 749f4c0261b..c4deb9e6175 100644 --- a/solutions/virtual_events_webinars_item_presenters_virtual_event_presenter_item_request_builder.go +++ b/solutions/virtual_events_webinars_item_presenters_virtual_event_presenter_item_request_builder.go @@ -153,3 +153,7 @@ func (m *VirtualEventsWebinarsItemPresentersVirtualEventPresenterItemRequestBuil } 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 *VirtualEventsWebinarsItemPresentersVirtualEventPresenterItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemPresentersVirtualEventPresenterItemRequestBuilder) { + return NewVirtualEventsWebinarsItemPresentersVirtualEventPresenterItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_registration_configuration_request_builder.go b/solutions/virtual_events_webinars_item_registration_configuration_request_builder.go index 3bf111141ca..2e516bdee84 100644 --- a/solutions/virtual_events_webinars_item_registration_configuration_request_builder.go +++ b/solutions/virtual_events_webinars_item_registration_configuration_request_builder.go @@ -75,3 +75,7 @@ func (m *VirtualEventsWebinarsItemRegistrationConfigurationRequestBuilder) ToGet } 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 *VirtualEventsWebinarsItemRegistrationConfigurationRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemRegistrationConfigurationRequestBuilder) { + return NewVirtualEventsWebinarsItemRegistrationConfigurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_registrations_count_request_builder.go b/solutions/virtual_events_webinars_item_registrations_count_request_builder.go index d6c414fd8bf..d99b0a8cdab 100644 --- a/solutions/virtual_events_webinars_item_registrations_count_request_builder.go +++ b/solutions/virtual_events_webinars_item_registrations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsCountRequestBuilder) ToGetRequest } 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 *VirtualEventsWebinarsItemRegistrationsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemRegistrationsCountRequestBuilder) { + return NewVirtualEventsWebinarsItemRegistrationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_registrations_item_sessions_count_request_builder.go b/solutions/virtual_events_webinars_item_registrations_item_sessions_count_request_builder.go index eea7446f554..19a79eb98bb 100644 --- a/solutions/virtual_events_webinars_item_registrations_item_sessions_count_request_builder.go +++ b/solutions/virtual_events_webinars_item_registrations_item_sessions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsCountRequestBuilder) } 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 *VirtualEventsWebinarsItemRegistrationsItemSessionsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemRegistrationsItemSessionsCountRequestBuilder) { + return NewVirtualEventsWebinarsItemRegistrationsItemSessionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_registrations_item_sessions_item_alternative_recording_request_builder.go b/solutions/virtual_events_webinars_item_registrations_item_sessions_item_alternative_recording_request_builder.go index 8c99b440695..e23d6601873 100644 --- a/solutions/virtual_events_webinars_item_registrations_item_sessions_item_alternative_recording_request_builder.go +++ b/solutions/virtual_events_webinars_item_registrations_item_sessions_item_alternative_recording_request_builder.go @@ -100,3 +100,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecord } 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 *VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilder) { + return NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_registrations_item_sessions_item_attendee_report_request_builder.go b/solutions/virtual_events_webinars_item_registrations_item_sessions_item_attendee_report_request_builder.go index c0adf91d5a9..bd4bfb255c4 100644 --- a/solutions/virtual_events_webinars_item_registrations_item_sessions_item_attendee_report_request_builder.go +++ b/solutions/virtual_events_webinars_item_registrations_item_sessions_item_attendee_report_request_builder.go @@ -100,3 +100,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportReq } 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 *VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilder) { + return NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_registrations_item_sessions_item_broadcast_recording_request_builder.go b/solutions/virtual_events_webinars_item_registrations_item_sessions_item_broadcast_recording_request_builder.go index da444146485..fc06df73645 100644 --- a/solutions/virtual_events_webinars_item_registrations_item_sessions_item_broadcast_recording_request_builder.go +++ b/solutions/virtual_events_webinars_item_registrations_item_sessions_item_broadcast_recording_request_builder.go @@ -100,3 +100,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordin } 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 *VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilder) { + return NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_registrations_item_sessions_item_recording_request_builder.go b/solutions/virtual_events_webinars_item_registrations_item_sessions_item_recording_request_builder.go index e9f7745e02c..3f50ce610b6 100644 --- a/solutions/virtual_events_webinars_item_registrations_item_sessions_item_recording_request_builder.go +++ b/solutions/virtual_events_webinars_item_registrations_item_sessions_item_recording_request_builder.go @@ -100,3 +100,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestB } 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 *VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilder) { + return NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_registrations_item_sessions_request_builder.go b/solutions/virtual_events_webinars_item_registrations_item_sessions_request_builder.go index b33c6091687..8d09931d9bd 100644 --- a/solutions/virtual_events_webinars_item_registrations_item_sessions_request_builder.go +++ b/solutions/virtual_events_webinars_item_registrations_item_sessions_request_builder.go @@ -39,8 +39,8 @@ type VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilderGetRequestC // Request query parameters QueryParameters *VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilderGetQueryParameters } -// ByVirtualEventSessionIdString provides operations to manage the sessions property of the microsoft.graph.virtualEventRegistration entity. -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilder) ByVirtualEventSessionIdString(virtualEventSessionId string)(*VirtualEventsWebinarsItemRegistrationsItemSessionsVirtualEventSessionItemRequestBuilder) { +// ByVirtualEventSessionId provides operations to manage the sessions property of the microsoft.graph.virtualEventRegistration entity. +func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilder) ByVirtualEventSessionId(virtualEventSessionId string)(*VirtualEventsWebinarsItemRegistrationsItemSessionsVirtualEventSessionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilder) ToGet } 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 *VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilder) { + return NewVirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_registrations_item_sessions_virtual_event_session_item_request_builder.go b/solutions/virtual_events_webinars_item_registrations_item_sessions_virtual_event_session_item_request_builder.go index a0fc65f016c..fbea134d800 100644 --- a/solutions/virtual_events_webinars_item_registrations_item_sessions_virtual_event_session_item_request_builder.go +++ b/solutions/virtual_events_webinars_item_registrations_item_sessions_virtual_event_session_item_request_builder.go @@ -91,3 +91,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsVirtualEventSessionIt } 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 *VirtualEventsWebinarsItemRegistrationsItemSessionsVirtualEventSessionItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemRegistrationsItemSessionsVirtualEventSessionItemRequestBuilder) { + return NewVirtualEventsWebinarsItemRegistrationsItemSessionsVirtualEventSessionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_registrations_request_builder.go b/solutions/virtual_events_webinars_item_registrations_request_builder.go index a2c5af3a57b..7e727bf7189 100644 --- a/solutions/virtual_events_webinars_item_registrations_request_builder.go +++ b/solutions/virtual_events_webinars_item_registrations_request_builder.go @@ -46,8 +46,8 @@ type VirtualEventsWebinarsItemRegistrationsRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByVirtualEventRegistrationIdString provides operations to manage the registrations property of the microsoft.graph.virtualEventWebinar entity. -func (m *VirtualEventsWebinarsItemRegistrationsRequestBuilder) ByVirtualEventRegistrationIdString(virtualEventRegistrationId string)(*VirtualEventsWebinarsItemRegistrationsVirtualEventRegistrationItemRequestBuilder) { +// ByVirtualEventRegistrationId provides operations to manage the registrations property of the microsoft.graph.virtualEventWebinar entity. +func (m *VirtualEventsWebinarsItemRegistrationsRequestBuilder) ByVirtualEventRegistrationId(virtualEventRegistrationId string)(*VirtualEventsWebinarsItemRegistrationsVirtualEventRegistrationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsRequestBuilder) ToPostRequestInfo } 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 *VirtualEventsWebinarsItemRegistrationsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemRegistrationsRequestBuilder) { + return NewVirtualEventsWebinarsItemRegistrationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_registrations_virtual_event_registration_item_request_builder.go b/solutions/virtual_events_webinars_item_registrations_virtual_event_registration_item_request_builder.go index b03dd2df91b..eced4d306f2 100644 --- a/solutions/virtual_events_webinars_item_registrations_virtual_event_registration_item_request_builder.go +++ b/solutions/virtual_events_webinars_item_registrations_virtual_event_registration_item_request_builder.go @@ -157,3 +157,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsVirtualEventRegistrationItemReque } 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 *VirtualEventsWebinarsItemRegistrationsVirtualEventRegistrationItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemRegistrationsVirtualEventRegistrationItemRequestBuilder) { + return NewVirtualEventsWebinarsItemRegistrationsVirtualEventRegistrationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_count_request_builder.go b/solutions/virtual_events_webinars_item_sessions_count_request_builder.go index c2ff52b8345..7284ebe3d3b 100644 --- a/solutions/virtual_events_webinars_item_sessions_count_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsWebinarsItemSessionsCountRequestBuilder) ToGetRequestInfor } 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 *VirtualEventsWebinarsItemSessionsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsCountRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_alternative_recording_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_alternative_recording_request_builder.go index 3882aa18cee..d4393dd74a7 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_alternative_recording_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_alternative_recording_request_builder.go @@ -100,3 +100,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilder } 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 *VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_count_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_count_request_builder.go index 9d00762a5b8..5ab2884f9ab 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_count_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsCountRequestBuild } 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 *VirtualEventsWebinarsItemSessionsItemAttendanceReportsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemAttendanceReportsCountRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemAttendanceReportsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go index 9763ee78cf3..913c0c50c27 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go @@ -153,3 +153,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRec } 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 *VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_count_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_count_request_builder.go index 16d3052a2b3..9191aba8400 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_count_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRec } 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 *VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go index 22ae075afee..50512ac1af3 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go @@ -46,8 +46,8 @@ type VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecords // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttendanceRecordIdString provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. -func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) ByAttendanceRecordIdString(attendanceRecordId string)(*VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder) { +// ByAttendanceRecordId provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. +func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) ByAttendanceRecordId(attendanceRecordId string)(*VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRec } 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 *VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_meeting_attendance_report_item_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_meeting_attendance_report_item_request_builder.go index b1df00f2235..649cf80be58 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_meeting_attendance_report_item_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_meeting_attendance_report_item_request_builder.go @@ -160,3 +160,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsMeetingAttendance } 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 *VirtualEventsWebinarsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_request_builder.go index e8f20924fd6..f45ad91585a 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_request_builder.go @@ -46,8 +46,8 @@ type VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilderPostReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMeetingAttendanceReportIdString provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. -func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilder) ByMeetingAttendanceReportIdString(meetingAttendanceReportId string)(*VirtualEventsWebinarsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) { +// ByMeetingAttendanceReportId provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilder) ByMeetingAttendanceReportId(meetingAttendanceReportId string)(*VirtualEventsWebinarsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilder) T } 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 *VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_attendee_report_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_attendee_report_request_builder.go index 71cfc9e5fff..d922d06c191 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_attendee_report_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_attendee_report_request_builder.go @@ -100,3 +100,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder) ToPu } 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 *VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_broadcast_recording_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_broadcast_recording_request_builder.go index 8032640a3c8..90b40eb7a8f 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_broadcast_recording_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_broadcast_recording_request_builder.go @@ -100,3 +100,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilder) } 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 *VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go index 662c6889557..99bfe2134cf 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go @@ -153,3 +153,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceR } 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 *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_count_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_count_request_builder.go index 8a260c4d4d6..60393320336 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_count_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceR } 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 *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_request_builder.go index 17f1555b527..aa88483a31b 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_request_builder.go @@ -46,8 +46,8 @@ type VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecor // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttendanceRecordIdString provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) ByAttendanceRecordIdString(attendanceRecordId string)(*VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { +// ByAttendanceRecordId provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. +func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) ByAttendanceRecordId(attendanceRecordId string)(*VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceR } 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 *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_request_builder.go index dba6b296d9b..b1a03a2ca03 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_request_builder.go @@ -160,3 +160,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuil } 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 *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_recording_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_recording_request_builder.go index 2188a1ddf4f..766647a5824 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_recording_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_recording_request_builder.go @@ -100,3 +100,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilder) ToPutRequ } 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 *VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_recordings_call_recording_item_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_recordings_call_recording_item_request_builder.go index 1f8ba31d572..a706ce6d139 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_recordings_call_recording_item_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_recordings_call_recording_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. type VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,7 +74,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequest } return nil } -// Get get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// Get get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0 @@ -127,7 +127,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequest } return requestInfo, nil } -// ToGetRequestInformation get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// ToGetRequestInformation get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. func (m *VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -160,3 +160,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequest } 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 *VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_recordings_count_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_recordings_count_request_builder.go index a6331cdb4ed..61ff399f081 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_recordings_count_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_recordings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilder) ToG } 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 *VirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_recordings_delta_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_recordings_delta_request_builder.go index e6e0307c00e..eb5c270408a 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_recordings_delta_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_recordings_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilder) ToG } 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 *VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_recordings_item_content_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_recordings_item_content_request_builder.go index 9928eff92c9..9839ffa599b 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_recordings_item_content_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_recordings_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilde } 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 *VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_recordings_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_recordings_request_builder.go index 0d964238846..0877bc9da26 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_recordings_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_recordings_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilderGetQueryParameters get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. type VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCallRecordingIdString provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder) ByCallRecordingIdString(callRecordingId string)(*VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) { +// ByCallRecordingId provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. +func (m *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder) ByCallRecordingId(callRecordingId string)(*VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -78,7 +78,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder) Count()( func (m *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder) Delta()(*VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilder) { return NewVirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// Get get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. func (m *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +116,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable), nil } -// ToGetRequestInformation get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// ToGetRequestInformation get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. func (m *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -149,3 +149,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder) ToPostRe } 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 *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_count_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_count_request_builder.go index 3eacd4db322..fb7fe0cbbfc 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_count_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRe } 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 *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_meeting_registration_question_item_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_meeting_registration_question_item_request_builder.go index 3c4748113cc..160df0b47d9 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_meeting_registration_question_item_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_meeting_registration_question_item_request_builder.go @@ -162,3 +162,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeeting } 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 *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_request_builder.go index c7effbe6a8a..a87484656ae 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_request_builder.go @@ -46,8 +46,8 @@ type VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMeetingRegistrationQuestionIdString provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) ByMeetingRegistrationQuestionIdString(meetingRegistrationQuestionId string)(*VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { +// ByMeetingRegistrationQuestionId provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. +func (m *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) ByMeetingRegistrationQuestionId(meetingRegistrationQuestionId string)(*VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequest } 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 *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_registration_registrants_count_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_registration_registrants_count_request_builder.go index a4e649b3f38..5f4465ecca1 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_registration_registrants_count_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_registration_registrants_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountReques } 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 *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_registration_registrants_meeting_registrant_base_item_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_registration_registrants_meeting_registrant_base_item_request_builder.go index dc327297ff0..66ab31eeea9 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_registration_registrants_meeting_registrant_base_item_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_registration_registrants_meeting_registrant_base_item_request_builder.go @@ -153,3 +153,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegi } 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 *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_registration_registrants_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_registration_registrants_request_builder.go index 7cbd3d70680..0e680f49126 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_registration_registrants_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_registration_registrants_request_builder.go @@ -46,8 +46,8 @@ type VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilderP // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMeetingRegistrantBaseIdString provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilder) ByMeetingRegistrantBaseIdString(meetingRegistrantBaseId string)(*VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { +// ByMeetingRegistrantBaseId provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. +func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilder) ByMeetingRegistrantBaseId(meetingRegistrantBaseId string)(*VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuil } 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 *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_registration_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_registration_request_builder.go index 49b6f9e2418..821c396dca2 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_registration_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_registration_request_builder.go @@ -170,3 +170,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder) ToPatc } 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 *VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_registrations_count_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_registrations_count_request_builder.go index ae6a5023c70..192024b226a 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_registrations_count_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_registrations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRegistrationsCountRequestBuilder) } 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 *VirtualEventsWebinarsItemSessionsItemRegistrationsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRegistrationsCountRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemRegistrationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_registrations_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_registrations_request_builder.go index 319bc7c885e..ce59cb9eea5 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_registrations_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_registrations_request_builder.go @@ -39,8 +39,8 @@ type VirtualEventsWebinarsItemSessionsItemRegistrationsRequestBuilderGetRequestC // Request query parameters QueryParameters *VirtualEventsWebinarsItemSessionsItemRegistrationsRequestBuilderGetQueryParameters } -// ByVirtualEventRegistrationIdString provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationsRequestBuilder) ByVirtualEventRegistrationIdString(virtualEventRegistrationId string)(*VirtualEventsWebinarsItemSessionsItemRegistrationsVirtualEventRegistrationItemRequestBuilder) { +// ByVirtualEventRegistrationId provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. +func (m *VirtualEventsWebinarsItemSessionsItemRegistrationsRequestBuilder) ByVirtualEventRegistrationId(virtualEventRegistrationId string)(*VirtualEventsWebinarsItemSessionsItemRegistrationsVirtualEventRegistrationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRegistrationsRequestBuilder) ToGet } 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 *VirtualEventsWebinarsItemSessionsItemRegistrationsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRegistrationsRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemRegistrationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_registrations_virtual_event_registration_item_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_registrations_virtual_event_registration_item_request_builder.go index 619bf59c826..50715cf4ed1 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_registrations_virtual_event_registration_item_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_registrations_virtual_event_registration_item_request_builder.go @@ -75,3 +75,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRegistrationsVirtualEventRegistrat } 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 *VirtualEventsWebinarsItemSessionsItemRegistrationsVirtualEventRegistrationItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRegistrationsVirtualEventRegistrationItemRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemRegistrationsVirtualEventRegistrationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_transcripts_call_transcript_item_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_transcripts_call_transcript_item_request_builder.go index 018799e4a1f..310c0c6d4ca 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_transcripts_call_transcript_item_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_transcripts_call_transcript_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters retrieve a callTranscript object associated with an onlineMeeting. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters retrieve a callTranscript object associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. type VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,7 +74,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemReque } return nil } -// Get retrieve a callTranscript object associated with an onlineMeeting. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// Get retrieve a callTranscript object associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0 @@ -131,7 +131,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemReque } return requestInfo, nil } -// ToGetRequestInformation retrieve a callTranscript object associated with an onlineMeeting. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -164,3 +164,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemReque } 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 *VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_transcripts_count_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_transcripts_count_request_builder.go index 8428c217f67..893ac6decfa 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_transcripts_count_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_transcripts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilder) To } 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 *VirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_transcripts_delta_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_transcripts_delta_request_builder.go index d898c9cd743..15437a69f0a 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_transcripts_delta_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_transcripts_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilder) To } 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 *VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_transcripts_item_content_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_transcripts_item_content_request_builder.go index afced85aae8..0e48363ae85 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_transcripts_item_content_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_transcripts_item_content_request_builder.go @@ -105,3 +105,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuild } 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 *VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_transcripts_item_metadata_content_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_transcripts_item_metadata_content_request_builder.go index 2f2c37eb6dc..d4566882a64 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_transcripts_item_metadata_content_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_transcripts_item_metadata_content_request_builder.go @@ -103,3 +103,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequ } 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 *VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_transcripts_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_transcripts_request_builder.go index 2da114e7468..9bc35a4f8af 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_transcripts_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_transcripts_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilderGetQueryParameters retrieve the list of callTranscript objects associated with an onlineMeeting. +// VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilderGetQueryParameters retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. type VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCallTranscriptIdString provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder) ByCallTranscriptIdString(callTranscriptId string)(*VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) { +// ByCallTranscriptId provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. +func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder) ByCallTranscriptId(callTranscriptId string)(*VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -78,7 +78,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder) Count() func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder) Delta()(*VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilder) { return NewVirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of callTranscript objects associated with an onlineMeeting. +// Get retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0 @@ -119,7 +119,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder) Post(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable), nil } -// ToGetRequestInformation retrieve the list of callTranscript objects associated with an onlineMeeting. +// ToGetRequestInformation retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -152,3 +152,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder) ToPostR } 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 *VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_request_builder.go b/solutions/virtual_events_webinars_item_sessions_request_builder.go index 7a1cf75985a..5bd6e96cf03 100644 --- a/solutions/virtual_events_webinars_item_sessions_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_request_builder.go @@ -46,8 +46,8 @@ type VirtualEventsWebinarsItemSessionsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByVirtualEventSessionIdString provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. -func (m *VirtualEventsWebinarsItemSessionsRequestBuilder) ByVirtualEventSessionIdString(virtualEventSessionId string)(*VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) { +// ByVirtualEventSessionId provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. +func (m *VirtualEventsWebinarsItemSessionsRequestBuilder) ByVirtualEventSessionId(virtualEventSessionId string)(*VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *VirtualEventsWebinarsItemSessionsRequestBuilder) ToPostRequestInformati } 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 *VirtualEventsWebinarsItemSessionsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_virtual_event_session_item_request_builder.go b/solutions/virtual_events_webinars_item_sessions_virtual_event_session_item_request_builder.go index c5d9652f7d1..2a76e4cbf14 100644 --- a/solutions/virtual_events_webinars_item_sessions_virtual_event_session_item_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_virtual_event_session_item_request_builder.go @@ -193,3 +193,7 @@ func (m *VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) func (m *VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) Transcripts()(*VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder) { return NewVirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_request_builder.go b/solutions/virtual_events_webinars_request_builder.go index 76a295277e8..e354ee0e205 100644 --- a/solutions/virtual_events_webinars_request_builder.go +++ b/solutions/virtual_events_webinars_request_builder.go @@ -46,8 +46,8 @@ type VirtualEventsWebinarsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByVirtualEventWebinarIdString provides operations to manage the webinars property of the microsoft.graph.virtualEventsRoot entity. -func (m *VirtualEventsWebinarsRequestBuilder) ByVirtualEventWebinarIdString(virtualEventWebinarId string)(*VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) { +// ByVirtualEventWebinarId provides operations to manage the webinars property of the microsoft.graph.virtualEventsRoot entity. +func (m *VirtualEventsWebinarsRequestBuilder) ByVirtualEventWebinarId(virtualEventWebinarId string)(*VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *VirtualEventsWebinarsRequestBuilder) 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 *VirtualEventsWebinarsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsRequestBuilder) { + return NewVirtualEventsWebinarsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_virtual_event_webinar_item_request_builder.go b/solutions/virtual_events_webinars_virtual_event_webinar_item_request_builder.go index 974e9baaf88..a7de1cb273a 100644 --- a/solutions/virtual_events_webinars_virtual_event_webinar_item_request_builder.go +++ b/solutions/virtual_events_webinars_virtual_event_webinar_item_request_builder.go @@ -172,3 +172,7 @@ func (m *VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) ToPatchRequ } 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 *VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) { + return NewVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/subscribedskus/subscribed_sku_item_request_builder.go b/subscribedskus/subscribed_sku_item_request_builder.go index 2eb805f6f41..19267dd1cb4 100644 --- a/subscribedskus/subscribed_sku_item_request_builder.go +++ b/subscribedskus/subscribed_sku_item_request_builder.go @@ -154,3 +154,7 @@ func (m *SubscribedSkuItemRequestBuilder) ToPatchRequestInformation(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 *SubscribedSkuItemRequestBuilder) WithUrl(rawUrl string)(*SubscribedSkuItemRequestBuilder) { + return NewSubscribedSkuItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/subscribedskus/subscribed_skus_request_builder.go b/subscribedskus/subscribed_skus_request_builder.go index ca34405a1e7..8902505912f 100644 --- a/subscribedskus/subscribed_skus_request_builder.go +++ b/subscribedskus/subscribed_skus_request_builder.go @@ -36,8 +36,8 @@ type SubscribedSkusRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySubscribedSkuIdString provides operations to manage the collection of subscribedSku entities. -func (m *SubscribedSkusRequestBuilder) BySubscribedSkuIdString(subscribedSkuId string)(*SubscribedSkuItemRequestBuilder) { +// BySubscribedSkuId provides operations to manage the collection of subscribedSku entities. +func (m *SubscribedSkusRequestBuilder) BySubscribedSkuId(subscribedSkuId string)(*SubscribedSkuItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -134,3 +134,7 @@ func (m *SubscribedSkusRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *SubscribedSkusRequestBuilder) WithUrl(rawUrl string)(*SubscribedSkusRequestBuilder) { + return NewSubscribedSkusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/subscriptions/item_reauthorize_request_builder.go b/subscriptions/item_reauthorize_request_builder.go index 2474b04f93b..861fea52180 100644 --- a/subscriptions/item_reauthorize_request_builder.go +++ b/subscriptions/item_reauthorize_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemReauthorizeRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *ItemReauthorizeRequestBuilder) WithUrl(rawUrl string)(*ItemReauthorizeRequestBuilder) { + return NewItemReauthorizeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/subscriptions/subscription_item_request_builder.go b/subscriptions/subscription_item_request_builder.go index 51339f07527..4dbd3bdba76 100644 --- a/subscriptions/subscription_item_request_builder.go +++ b/subscriptions/subscription_item_request_builder.go @@ -164,3 +164,7 @@ func (m *SubscriptionItemRequestBuilder) 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 *SubscriptionItemRequestBuilder) WithUrl(rawUrl string)(*SubscriptionItemRequestBuilder) { + return NewSubscriptionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/subscriptions/subscriptions_request_builder.go b/subscriptions/subscriptions_request_builder.go index 12564637975..049d43e9e20 100644 --- a/subscriptions/subscriptions_request_builder.go +++ b/subscriptions/subscriptions_request_builder.go @@ -34,8 +34,8 @@ type SubscriptionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySubscriptionIdString provides operations to manage the collection of subscription entities. -func (m *SubscriptionsRequestBuilder) BySubscriptionIdString(subscriptionId string)(*SubscriptionItemRequestBuilder) { +// BySubscriptionId provides operations to manage the collection of subscription entities. +func (m *SubscriptionsRequestBuilder) BySubscriptionId(subscriptionId string)(*SubscriptionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -135,3 +135,7 @@ func (m *SubscriptionsRequestBuilder) 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 *SubscriptionsRequestBuilder) WithUrl(rawUrl string)(*SubscriptionsRequestBuilder) { + return NewSubscriptionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/all_messages_request_builder.go b/teams/all_messages_request_builder.go index 7ee12e6d26f..c4242256280 100644 --- a/teams/all_messages_request_builder.go +++ b/teams/all_messages_request_builder.go @@ -84,3 +84,7 @@ func (m *AllMessagesRequestBuilder) ToGetRequestInformation(ctx context.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 *AllMessagesRequestBuilder) WithUrl(rawUrl string)(*AllMessagesRequestBuilder) { + return NewAllMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/count_request_builder.go b/teams/count_request_builder.go index 88ef5656df4..28628f7defe 100644 --- a/teams/count_request_builder.go +++ b/teams/count_request_builder.go @@ -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); +} diff --git a/teams/get_all_messages_request_builder.go b/teams/get_all_messages_request_builder.go index cabb4181054..b2cd588c49b 100644 --- a/teams/get_all_messages_request_builder.go +++ b/teams/get_all_messages_request_builder.go @@ -17,7 +17,7 @@ type GetAllMessagesRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` // The payment model for the API - Model *string + Model *string `uriparametername:"model"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Search items by search phrases @@ -86,3 +86,7 @@ func (m *GetAllMessagesRequestBuilder) ToGetRequestInformation(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 *GetAllMessagesRequestBuilder) WithUrl(rawUrl string)(*GetAllMessagesRequestBuilder) { + return NewGetAllMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_all_channels_channel_item_request_builder.go b/teams/item_all_channels_channel_item_request_builder.go index 522fcb300e8..e66aff1032d 100644 --- a/teams/item_all_channels_channel_item_request_builder.go +++ b/teams/item_all_channels_channel_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemAllChannelsChannelItemRequestBuilder) ToGetRequestInformation(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 *ItemAllChannelsChannelItemRequestBuilder) WithUrl(rawUrl string)(*ItemAllChannelsChannelItemRequestBuilder) { + return NewItemAllChannelsChannelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_all_channels_count_request_builder.go b/teams/item_all_channels_count_request_builder.go index e191e013d16..b640543d288 100644 --- a/teams/item_all_channels_count_request_builder.go +++ b/teams/item_all_channels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAllChannelsCountRequestBuilder) ToGetRequestInformation(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 *ItemAllChannelsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAllChannelsCountRequestBuilder) { + return NewItemAllChannelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_all_channels_request_builder.go b/teams/item_all_channels_request_builder.go index 7b2d339f111..11e96202391 100644 --- a/teams/item_all_channels_request_builder.go +++ b/teams/item_all_channels_request_builder.go @@ -39,8 +39,8 @@ type ItemAllChannelsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemAllChannelsRequestBuilderGetQueryParameters } -// ByChannelIdString provides operations to manage the allChannels property of the microsoft.graph.team entity. -func (m *ItemAllChannelsRequestBuilder) ByChannelIdString(channelId string)(*ItemAllChannelsChannelItemRequestBuilder) { +// ByChannelId provides operations to manage the allChannels property of the microsoft.graph.team entity. +func (m *ItemAllChannelsRequestBuilder) ByChannelId(channelId string)(*ItemAllChannelsChannelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemAllChannelsRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemAllChannelsRequestBuilder) WithUrl(rawUrl string)(*ItemAllChannelsRequestBuilder) { + return NewItemAllChannelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_archive_request_builder.go b/teams/item_archive_request_builder.go index 5462a461826..614df7018b2 100644 --- a/teams/item_archive_request_builder.go +++ b/teams/item_archive_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemArchiveRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemArchiveRequestBuilder) WithUrl(rawUrl string)(*ItemArchiveRequestBuilder) { + return NewItemArchiveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_all_messages_request_builder.go b/teams/item_channels_all_messages_request_builder.go index 1bb263822c6..1b259766706 100644 --- a/teams/item_channels_all_messages_request_builder.go +++ b/teams/item_channels_all_messages_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemChannelsAllMessagesRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemChannelsAllMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsAllMessagesRequestBuilder) { + return NewItemChannelsAllMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_channel_item_request_builder.go b/teams/item_channels_channel_item_request_builder.go index da7dfb85086..6f1bbd5e015 100644 --- a/teams/item_channels_channel_item_request_builder.go +++ b/teams/item_channels_channel_item_request_builder.go @@ -198,3 +198,7 @@ func (m *ItemChannelsChannelItemRequestBuilder) ToPatchRequestInformation(ctx co } 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 *ItemChannelsChannelItemRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsChannelItemRequestBuilder) { + return NewItemChannelsChannelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_count_request_builder.go b/teams/item_channels_count_request_builder.go index 937be4c18df..9de76f219ed 100644 --- a/teams/item_channels_count_request_builder.go +++ b/teams/item_channels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemChannelsCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemChannelsCountRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsCountRequestBuilder) { + return NewItemChannelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_get_all_messages_request_builder.go b/teams/item_channels_get_all_messages_request_builder.go index 9f5bb65c9a2..3df6d93d641 100644 --- a/teams/item_channels_get_all_messages_request_builder.go +++ b/teams/item_channels_get_all_messages_request_builder.go @@ -17,7 +17,7 @@ type ItemChannelsGetAllMessagesRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` // The payment model for the API - Model *string + Model *string `uriparametername:"model"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Search items by search phrases @@ -86,3 +86,7 @@ func (m *ItemChannelsGetAllMessagesRequestBuilder) ToGetRequestInformation(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 *ItemChannelsGetAllMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsGetAllMessagesRequestBuilder) { + return NewItemChannelsGetAllMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_complete_migration_request_builder.go b/teams/item_channels_item_complete_migration_request_builder.go index 18b0e3fc174..f7239e1965e 100644 --- a/teams/item_channels_item_complete_migration_request_builder.go +++ b/teams/item_channels_item_complete_migration_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemChannelsItemCompleteMigrationRequestBuilder) ToPostRequestInformati } 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 *ItemChannelsItemCompleteMigrationRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemCompleteMigrationRequestBuilder) { + return NewItemChannelsItemCompleteMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/teams/item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index 25eaaff350a..298aac37a27 100644 --- a/teams/item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/teams/item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -13,11 +13,11 @@ type ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipal // ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters invoke function doesUserHaveAccess type ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' - TenantId *string + TenantId *string `uriparametername:"tenantId"` // Usage: userId='@userId' - UserId *string + UserId *string `uriparametername:"userId"` // Usage: userPrincipalName='@userPrincipalName' - UserPrincipalName *string + UserPrincipalName *string `uriparametername:"userPrincipalName"` } // ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration struct { @@ -76,3 +76,7 @@ func (m *ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrinc } 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 *ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) { + return NewItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_files_folder_content_request_builder.go b/teams/item_channels_item_files_folder_content_request_builder.go index 6cd4762fdba..854da5f0d56 100644 --- a/teams/item_channels_item_files_folder_content_request_builder.go +++ b/teams/item_channels_item_files_folder_content_request_builder.go @@ -105,3 +105,7 @@ func (m *ItemChannelsItemFilesFolderContentRequestBuilder) ToPutRequestInformati } 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 *ItemChannelsItemFilesFolderContentRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemFilesFolderContentRequestBuilder) { + return NewItemChannelsItemFilesFolderContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_files_folder_request_builder.go b/teams/item_channels_item_files_folder_request_builder.go index 2ab5408a609..fb2c0d6e6c6 100644 --- a/teams/item_channels_item_files_folder_request_builder.go +++ b/teams/item_channels_item_files_folder_request_builder.go @@ -82,3 +82,7 @@ func (m *ItemChannelsItemFilesFolderRequestBuilder) ToGetRequestInformation(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 *ItemChannelsItemFilesFolderRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemFilesFolderRequestBuilder) { + return NewItemChannelsItemFilesFolderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_members_add_request_builder.go b/teams/item_channels_item_members_add_request_builder.go index a6d826858b5..ef4736df86a 100644 --- a/teams/item_channels_item_members_add_request_builder.go +++ b/teams/item_channels_item_members_add_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemChannelsItemMembersAddRequestBuilder) 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 *ItemChannelsItemMembersAddRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMembersAddRequestBuilder) { + return NewItemChannelsItemMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_members_conversation_member_item_request_builder.go b/teams/item_channels_item_members_conversation_member_item_request_builder.go index 0491c9b1aac..fbb912caaee 100644 --- a/teams/item_channels_item_members_conversation_member_item_request_builder.go +++ b/teams/item_channels_item_members_conversation_member_item_request_builder.go @@ -95,10 +95,10 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team.or channel. +// Patch update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -145,7 +145,7 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToGetReque } return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team.or channel. +// ToPatchRequestInformation update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -162,3 +162,7 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToPatchReq } 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 *ItemChannelsItemMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMembersConversationMemberItemRequestBuilder) { + return NewItemChannelsItemMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_members_count_request_builder.go b/teams/item_channels_item_members_count_request_builder.go index 79895d24227..093aab9f504 100644 --- a/teams/item_channels_item_members_count_request_builder.go +++ b/teams/item_channels_item_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemChannelsItemMembersCountRequestBuilder) ToGetRequestInformation(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 *ItemChannelsItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMembersCountRequestBuilder) { + return NewItemChannelsItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_members_request_builder.go b/teams/item_channels_item_members_request_builder.go index 21399767817..e6e5703c032 100644 --- a/teams/item_channels_item_members_request_builder.go +++ b/teams/item_channels_item_members_request_builder.go @@ -50,8 +50,8 @@ type ItemChannelsItemMembersRequestBuilderPostRequestConfiguration struct { func (m *ItemChannelsItemMembersRequestBuilder) Add()(*ItemChannelsItemMembersAddRequestBuilder) { return NewItemChannelsItemMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByConversationMemberIdString provides operations to manage the members property of the microsoft.graph.channel entity. -func (m *ItemChannelsItemMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*ItemChannelsItemMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the members property of the microsoft.graph.channel entity. +func (m *ItemChannelsItemMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemChannelsItemMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemChannelsItemMembersRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemChannelsItemMembersRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMembersRequestBuilder) { + return NewItemChannelsItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_chat_message_item_request_builder.go b/teams/item_channels_item_messages_chat_message_item_request_builder.go index a86cc5e7c33..b2a7cc39460 100644 --- a/teams/item_channels_item_messages_chat_message_item_request_builder.go +++ b/teams/item_channels_item_messages_chat_message_item_request_builder.go @@ -183,3 +183,7 @@ func (m *ItemChannelsItemMessagesChatMessageItemRequestBuilder) UndoSoftDelete() func (m *ItemChannelsItemMessagesChatMessageItemRequestBuilder) UnsetReaction()(*ItemChannelsItemMessagesItemUnsetReactionRequestBuilder) { return NewItemChannelsItemMessagesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemChannelsItemMessagesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesChatMessageItemRequestBuilder) { + return NewItemChannelsItemMessagesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_count_request_builder.go b/teams/item_channels_item_messages_count_request_builder.go index 1f609dc9753..f8389961139 100644 --- a/teams/item_channels_item_messages_count_request_builder.go +++ b/teams/item_channels_item_messages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemChannelsItemMessagesCountRequestBuilder) ToGetRequestInformation(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 *ItemChannelsItemMessagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesCountRequestBuilder) { + return NewItemChannelsItemMessagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_delta_request_builder.go b/teams/item_channels_item_messages_delta_request_builder.go index c47b1541139..a762df7a2a1 100644 --- a/teams/item_channels_item_messages_delta_request_builder.go +++ b/teams/item_channels_item_messages_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemChannelsItemMessagesDeltaRequestBuilder) ToGetRequestInformation(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 *ItemChannelsItemMessagesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesDeltaRequestBuilder) { + return NewItemChannelsItemMessagesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teams/item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 0a930d27647..18ba0ee898c 100644 --- a/teams/item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teams/item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemR } 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 *ItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_item_hosted_contents_count_request_builder.go b/teams/item_channels_item_messages_item_hosted_contents_count_request_builder.go index 64aedda4ce9..1f3b68eae79 100644 --- a/teams/item_channels_item_messages_item_hosted_contents_count_request_builder.go +++ b/teams/item_channels_item_messages_item_hosted_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemChannelsItemMessagesItemHostedContentsCountRequestBuilder) ToGetReq } 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 *ItemChannelsItemMessagesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesItemHostedContentsCountRequestBuilder) { + return NewItemChannelsItemMessagesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go b/teams/item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go index 55116feb79b..a1f883f30cb 100644 --- a/teams/item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/teams/item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilde } 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 *ItemChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_item_hosted_contents_request_builder.go b/teams/item_channels_item_messages_item_hosted_contents_request_builder.go index 88907e65426..460ab3d790f 100644 --- a/teams/item_channels_item_messages_item_hosted_contents_request_builder.go +++ b/teams/item_channels_item_messages_item_hosted_contents_request_builder.go @@ -46,8 +46,8 @@ type ItemChannelsItemMessagesItemHostedContentsRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageHostedContentIdString provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. -func (m *ItemChannelsItemMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentIdString(chatMessageHostedContentId string)(*ItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +func (m *ItemChannelsItemMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*ItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemChannelsItemMessagesItemHostedContentsRequestBuilder) ToPostRequest } 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 *ItemChannelsItemMessagesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesItemHostedContentsRequestBuilder) { + return NewItemChannelsItemMessagesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_item_replies_chat_message_item_request_builder.go b/teams/item_channels_item_messages_item_replies_chat_message_item_request_builder.go index 39c0ba60f26..845d2446285 100644 --- a/teams/item_channels_item_messages_item_replies_chat_message_item_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_chat_message_item_request_builder.go @@ -176,3 +176,7 @@ func (m *ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) UndoS func (m *ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) UnsetReaction()(*ItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) { return NewItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) { + return NewItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_item_replies_count_request_builder.go b/teams/item_channels_item_messages_item_replies_count_request_builder.go index e179a38f8d4..5deb2b8857d 100644 --- a/teams/item_channels_item_messages_item_replies_count_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemChannelsItemMessagesItemRepliesCountRequestBuilder) ToGetRequestInf } 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 *ItemChannelsItemMessagesItemRepliesCountRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesItemRepliesCountRequestBuilder) { + return NewItemChannelsItemMessagesItemRepliesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_item_replies_delta_request_builder.go b/teams/item_channels_item_messages_item_replies_delta_request_builder.go index eb9aa9d1707..6f3de4f26ea 100644 --- a/teams/item_channels_item_messages_item_replies_delta_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemChannelsItemMessagesItemRepliesDeltaRequestBuilder) ToGetRequestInf } 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 *ItemChannelsItemMessagesItemRepliesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesItemRepliesDeltaRequestBuilder) { + return NewItemChannelsItemMessagesItemRepliesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teams/item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 827f94245f4..8a37d92b35d 100644 --- a/teams/item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedC } 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 *ItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_item_replies_item_hosted_contents_count_request_builder.go b/teams/item_channels_item_messages_item_replies_item_hosted_contents_count_request_builder.go index 499732e6a9e..40e3e72a399 100644 --- a/teams/item_channels_item_messages_item_replies_item_hosted_contents_count_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_item_hosted_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilde } 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 *ItemChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) { + return NewItemChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/teams/item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index e10bbda5a76..97f583b4944 100644 --- a/teams/item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRe } 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 *ItemChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go b/teams/item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go index 3f3b17e7774..c10cf467123 100644 --- a/teams/item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go @@ -46,8 +46,8 @@ type ItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderPostRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageHostedContentIdString provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. -func (m *ItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentIdString(chatMessageHostedContentId string)(*ItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +func (m *ItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*ItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) To } 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 *ItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) { + return NewItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_item_replies_item_set_reaction_request_builder.go b/teams/item_channels_item_messages_item_replies_item_set_reaction_request_builder.go index 5f8c2e4c7dc..70b4452a832 100644 --- a/teams/item_channels_item_messages_item_replies_item_set_reaction_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_item_set_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemSetReactionRequestBuilder) ToPos } 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 *ItemChannelsItemMessagesItemRepliesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesItemRepliesItemSetReactionRequestBuilder) { + return NewItemChannelsItemMessagesItemRepliesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_item_replies_item_soft_delete_request_builder.go b/teams/item_channels_item_messages_item_replies_item_soft_delete_request_builder.go index e1142f93ef0..65c63aac690 100644 --- a/teams/item_channels_item_messages_item_replies_item_soft_delete_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_item_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) ToPost } 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 *ItemChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) { + return NewItemChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go b/teams/item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go index 6875952ad50..f70a2a11bf7 100644 --- a/teams/item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) To } 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 *ItemChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) { + return NewItemChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_item_replies_item_unset_reaction_request_builder.go b/teams/item_channels_item_messages_item_replies_item_unset_reaction_request_builder.go index b1258b1e694..e17ccd698ef 100644 --- a/teams/item_channels_item_messages_item_replies_item_unset_reaction_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_item_unset_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) 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 *ItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) { + return NewItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_item_replies_request_builder.go b/teams/item_channels_item_messages_item_replies_request_builder.go index aa93304b5a1..64809f446c5 100644 --- a/teams/item_channels_item_messages_item_replies_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_request_builder.go @@ -46,8 +46,8 @@ type ItemChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageId1String provides operations to manage the replies property of the microsoft.graph.chatMessage entity. -func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) ByChatMessageId1String(chatMessageId1 string)(*ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) { +// ByChatMessageId1 provides operations to manage the replies property of the microsoft.graph.chatMessage entity. +func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) ByChatMessageId1(chatMessageId1 string)(*ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) ToPostRequestInforma } 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 *ItemChannelsItemMessagesItemRepliesRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesItemRepliesRequestBuilder) { + return NewItemChannelsItemMessagesItemRepliesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_item_set_reaction_request_builder.go b/teams/item_channels_item_messages_item_set_reaction_request_builder.go index bc4961971cd..bf2189514f8 100644 --- a/teams/item_channels_item_messages_item_set_reaction_request_builder.go +++ b/teams/item_channels_item_messages_item_set_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemChannelsItemMessagesItemSetReactionRequestBuilder) ToPostRequestInf } 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 *ItemChannelsItemMessagesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesItemSetReactionRequestBuilder) { + return NewItemChannelsItemMessagesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_item_soft_delete_request_builder.go b/teams/item_channels_item_messages_item_soft_delete_request_builder.go index 5567c9c3fe1..acb511b3d08 100644 --- a/teams/item_channels_item_messages_item_soft_delete_request_builder.go +++ b/teams/item_channels_item_messages_item_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemChannelsItemMessagesItemSoftDeleteRequestBuilder) ToPostRequestInfo } 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 *ItemChannelsItemMessagesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesItemSoftDeleteRequestBuilder) { + return NewItemChannelsItemMessagesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_item_undo_soft_delete_request_builder.go b/teams/item_channels_item_messages_item_undo_soft_delete_request_builder.go index 718df02b569..348b73f0e2e 100644 --- a/teams/item_channels_item_messages_item_undo_soft_delete_request_builder.go +++ b/teams/item_channels_item_messages_item_undo_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) ToPostRequest } 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 *ItemChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) { + return NewItemChannelsItemMessagesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_item_unset_reaction_request_builder.go b/teams/item_channels_item_messages_item_unset_reaction_request_builder.go index 70d7cf7edd7..f59e2f02194 100644 --- a/teams/item_channels_item_messages_item_unset_reaction_request_builder.go +++ b/teams/item_channels_item_messages_item_unset_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemChannelsItemMessagesItemUnsetReactionRequestBuilder) ToPostRequestI } 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 *ItemChannelsItemMessagesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesItemUnsetReactionRequestBuilder) { + return NewItemChannelsItemMessagesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_request_builder.go b/teams/item_channels_item_messages_request_builder.go index cbd5ef691c9..c22a345259c 100644 --- a/teams/item_channels_item_messages_request_builder.go +++ b/teams/item_channels_item_messages_request_builder.go @@ -46,8 +46,8 @@ type ItemChannelsItemMessagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageIdString provides operations to manage the messages property of the microsoft.graph.channel entity. -func (m *ItemChannelsItemMessagesRequestBuilder) ByChatMessageIdString(chatMessageId string)(*ItemChannelsItemMessagesChatMessageItemRequestBuilder) { +// ByChatMessageId provides operations to manage the messages property of the microsoft.graph.channel entity. +func (m *ItemChannelsItemMessagesRequestBuilder) ByChatMessageId(chatMessageId string)(*ItemChannelsItemMessagesChatMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemChannelsItemMessagesRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemChannelsItemMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesRequestBuilder) { + return NewItemChannelsItemMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_provision_email_request_builder.go b/teams/item_channels_item_provision_email_request_builder.go index 259258ec884..8feeef70bd3 100644 --- a/teams/item_channels_item_provision_email_request_builder.go +++ b/teams/item_channels_item_provision_email_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemChannelsItemProvisionEmailRequestBuilder) 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 *ItemChannelsItemProvisionEmailRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemProvisionEmailRequestBuilder) { + return NewItemChannelsItemProvisionEmailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_remove_email_request_builder.go b/teams/item_channels_item_remove_email_request_builder.go index 154fd1c6dca..dabb551d63d 100644 --- a/teams/item_channels_item_remove_email_request_builder.go +++ b/teams/item_channels_item_remove_email_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemChannelsItemRemoveEmailRequestBuilder) 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 *ItemChannelsItemRemoveEmailRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemRemoveEmailRequestBuilder) { + return NewItemChannelsItemRemoveEmailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_shared_with_teams_count_request_builder.go b/teams/item_channels_item_shared_with_teams_count_request_builder.go index 55380d0b8a4..6ef123e4b49 100644 --- a/teams/item_channels_item_shared_with_teams_count_request_builder.go +++ b/teams/item_channels_item_shared_with_teams_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemChannelsItemSharedWithTeamsCountRequestBuilder) ToGetRequestInforma } 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 *ItemChannelsItemSharedWithTeamsCountRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemSharedWithTeamsCountRequestBuilder) { + return NewItemChannelsItemSharedWithTeamsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go b/teams/item_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go index 39b7e7d1d79..f3d3042084b 100644 --- a/teams/item_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go +++ b/teams/item_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItem } 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 *ItemChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { + return NewItemChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_shared_with_teams_item_allowed_members_count_request_builder.go b/teams/item_channels_item_shared_with_teams_item_allowed_members_count_request_builder.go index e79cf5b749b..bcfcd5a12cf 100644 --- a/teams/item_channels_item_shared_with_teams_item_allowed_members_count_request_builder.go +++ b/teams/item_channels_item_shared_with_teams_item_allowed_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilder) T } 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 *ItemChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilder) { + return NewItemChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_shared_with_teams_item_allowed_members_request_builder.go b/teams/item_channels_item_shared_with_teams_item_allowed_members_request_builder.go index fb9164a5d01..759e7a78536 100644 --- a/teams/item_channels_item_shared_with_teams_item_allowed_members_request_builder.go +++ b/teams/item_channels_item_shared_with_teams_item_allowed_members_request_builder.go @@ -39,8 +39,8 @@ type ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetRequestCo // Request query parameters QueryParameters *ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters } -// ByConversationMemberIdString provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. -func (m *ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*ItemChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. +func (m *ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) ToGetR } 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 *ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) { + return NewItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_shared_with_teams_item_team_request_builder.go b/teams/item_channels_item_shared_with_teams_item_team_request_builder.go index 8f66dc6387c..3ef461fe3b5 100644 --- a/teams/item_channels_item_shared_with_teams_item_team_request_builder.go +++ b/teams/item_channels_item_shared_with_teams_item_team_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemChannelsItemSharedWithTeamsItemTeamRequestBuilder) ToGetRequestInfo } 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 *ItemChannelsItemSharedWithTeamsItemTeamRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemSharedWithTeamsItemTeamRequestBuilder) { + return NewItemChannelsItemSharedWithTeamsItemTeamRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_shared_with_teams_request_builder.go b/teams/item_channels_item_shared_with_teams_request_builder.go index 50e0ff65f44..5b4f5e30280 100644 --- a/teams/item_channels_item_shared_with_teams_request_builder.go +++ b/teams/item_channels_item_shared_with_teams_request_builder.go @@ -46,8 +46,8 @@ type ItemChannelsItemSharedWithTeamsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySharedWithChannelTeamInfoIdString provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. -func (m *ItemChannelsItemSharedWithTeamsRequestBuilder) BySharedWithChannelTeamInfoIdString(sharedWithChannelTeamInfoId string)(*ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { +// BySharedWithChannelTeamInfoId provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. +func (m *ItemChannelsItemSharedWithTeamsRequestBuilder) BySharedWithChannelTeamInfoId(sharedWithChannelTeamInfoId string)(*ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemChannelsItemSharedWithTeamsRequestBuilder) 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 *ItemChannelsItemSharedWithTeamsRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemSharedWithTeamsRequestBuilder) { + return NewItemChannelsItemSharedWithTeamsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/teams/item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index b260b6b4c41..6a101ef0608 100644 --- a/teams/item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/teams/item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -167,3 +167,7 @@ func (m *ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuil } 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 *ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { + return NewItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_tabs_count_request_builder.go b/teams/item_channels_item_tabs_count_request_builder.go index 9f2348d9627..04552225887 100644 --- a/teams/item_channels_item_tabs_count_request_builder.go +++ b/teams/item_channels_item_tabs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemChannelsItemTabsCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemChannelsItemTabsCountRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemTabsCountRequestBuilder) { + return NewItemChannelsItemTabsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_tabs_item_teams_app_request_builder.go b/teams/item_channels_item_tabs_item_teams_app_request_builder.go index b7e32f00d42..265072194b8 100644 --- a/teams/item_channels_item_tabs_item_teams_app_request_builder.go +++ b/teams/item_channels_item_tabs_item_teams_app_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemChannelsItemTabsItemTeamsAppRequestBuilder) 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 *ItemChannelsItemTabsItemTeamsAppRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemTabsItemTeamsAppRequestBuilder) { + return NewItemChannelsItemTabsItemTeamsAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_tabs_request_builder.go b/teams/item_channels_item_tabs_request_builder.go index f5d167c3f6a..942f192b4f1 100644 --- a/teams/item_channels_item_tabs_request_builder.go +++ b/teams/item_channels_item_tabs_request_builder.go @@ -46,8 +46,8 @@ type ItemChannelsItemTabsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsTabIdString provides operations to manage the tabs property of the microsoft.graph.channel entity. -func (m *ItemChannelsItemTabsRequestBuilder) ByTeamsTabIdString(teamsTabId string)(*ItemChannelsItemTabsTeamsTabItemRequestBuilder) { +// ByTeamsTabId provides operations to manage the tabs property of the microsoft.graph.channel entity. +func (m *ItemChannelsItemTabsRequestBuilder) ByTeamsTabId(teamsTabId string)(*ItemChannelsItemTabsTeamsTabItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemChannelsItemTabsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemChannelsItemTabsRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemTabsRequestBuilder) { + return NewItemChannelsItemTabsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_tabs_teams_tab_item_request_builder.go b/teams/item_channels_item_tabs_teams_tab_item_request_builder.go index ffa026611f5..a3cae8ce09f 100644 --- a/teams/item_channels_item_tabs_teams_tab_item_request_builder.go +++ b/teams/item_channels_item_tabs_teams_tab_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemChannelsItemTabsTeamsTabItemRequestBuilder) ToPatchRequestInformati } 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 *ItemChannelsItemTabsTeamsTabItemRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemTabsTeamsTabItemRequestBuilder) { + return NewItemChannelsItemTabsTeamsTabItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_request_builder.go b/teams/item_channels_request_builder.go index f5ea16c4535..8597269b633 100644 --- a/teams/item_channels_request_builder.go +++ b/teams/item_channels_request_builder.go @@ -50,8 +50,8 @@ type ItemChannelsRequestBuilderPostRequestConfiguration struct { func (m *ItemChannelsRequestBuilder) AllMessages()(*ItemChannelsAllMessagesRequestBuilder) { return NewItemChannelsAllMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByChannelIdString provides operations to manage the channels property of the microsoft.graph.team entity. -func (m *ItemChannelsRequestBuilder) ByChannelIdString(channelId string)(*ItemChannelsChannelItemRequestBuilder) { +// ByChannelId provides operations to manage the channels property of the microsoft.graph.team entity. +func (m *ItemChannelsRequestBuilder) ByChannelId(channelId string)(*ItemChannelsChannelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -159,3 +159,7 @@ func (m *ItemChannelsRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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 *ItemChannelsRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsRequestBuilder) { + return NewItemChannelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_clone_request_builder.go b/teams/item_clone_request_builder.go index 0c5e2a6ca28..3aea6b451b0 100644 --- a/teams/item_clone_request_builder.go +++ b/teams/item_clone_request_builder.go @@ -30,7 +30,7 @@ func NewItemCloneRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 urlParams["request-raw-url"] = rawUrl return NewItemCloneRequestBuilderInternal(urlParams, requestAdapter) } -// Post create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state -- they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation.After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. +// Post create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/team-clone?view=graph-rest-1.0 @@ -49,7 +49,7 @@ func (m *ItemCloneRequestBuilder) Post(ctx context.Context, body ItemClonePostRe } return nil } -// ToPostRequestInformation create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state -- they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation.After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. +// ToPostRequestInformation create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. func (m *ItemCloneRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemClonePostRequestBodyable, requestConfiguration *ItemCloneRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -65,3 +65,7 @@ func (m *ItemCloneRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemCloneRequestBuilder) WithUrl(rawUrl string)(*ItemCloneRequestBuilder) { + return NewItemCloneRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_complete_migration_request_builder.go b/teams/item_complete_migration_request_builder.go index 332d126416c..d8badbf367b 100644 --- a/teams/item_complete_migration_request_builder.go +++ b/teams/item_complete_migration_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCompleteMigrationRequestBuilder) 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 *ItemCompleteMigrationRequestBuilder) WithUrl(rawUrl string)(*ItemCompleteMigrationRequestBuilder) { + return NewItemCompleteMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_group_request_builder.go b/teams/item_group_request_builder.go index 53dc312763b..ac080b5046f 100644 --- a/teams/item_group_request_builder.go +++ b/teams/item_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemGroupRequestBuilder) ToGetRequestInformation(ctx context.Context, r } 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 *ItemGroupRequestBuilder) WithUrl(rawUrl string)(*ItemGroupRequestBuilder) { + return NewItemGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_incoming_channels_channel_item_request_builder.go b/teams/item_incoming_channels_channel_item_request_builder.go index 72a6a4cb8e4..1454edec0f7 100644 --- a/teams/item_incoming_channels_channel_item_request_builder.go +++ b/teams/item_incoming_channels_channel_item_request_builder.go @@ -113,3 +113,7 @@ func (m *ItemIncomingChannelsChannelItemRequestBuilder) 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 *ItemIncomingChannelsChannelItemRequestBuilder) WithUrl(rawUrl string)(*ItemIncomingChannelsChannelItemRequestBuilder) { + return NewItemIncomingChannelsChannelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_incoming_channels_count_request_builder.go b/teams/item_incoming_channels_count_request_builder.go index 052e4a814ee..e5684963518 100644 --- a/teams/item_incoming_channels_count_request_builder.go +++ b/teams/item_incoming_channels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemIncomingChannelsCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemIncomingChannelsCountRequestBuilder) WithUrl(rawUrl string)(*ItemIncomingChannelsCountRequestBuilder) { + return NewItemIncomingChannelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_incoming_channels_request_builder.go b/teams/item_incoming_channels_request_builder.go index 241ee34910f..a7d10ef5ce0 100644 --- a/teams/item_incoming_channels_request_builder.go +++ b/teams/item_incoming_channels_request_builder.go @@ -39,8 +39,8 @@ type ItemIncomingChannelsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemIncomingChannelsRequestBuilderGetQueryParameters } -// ByChannelIdString provides operations to manage the incomingChannels property of the microsoft.graph.team entity. -func (m *ItemIncomingChannelsRequestBuilder) ByChannelIdString(channelId string)(*ItemIncomingChannelsChannelItemRequestBuilder) { +// ByChannelId provides operations to manage the incomingChannels property of the microsoft.graph.team entity. +func (m *ItemIncomingChannelsRequestBuilder) ByChannelId(channelId string)(*ItemIncomingChannelsChannelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemIncomingChannelsRequestBuilder) ToGetRequestInformation(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 *ItemIncomingChannelsRequestBuilder) WithUrl(rawUrl string)(*ItemIncomingChannelsRequestBuilder) { + return NewItemIncomingChannelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_installed_apps_count_request_builder.go b/teams/item_installed_apps_count_request_builder.go index 10a76eb3625..a4561bd6f14 100644 --- a/teams/item_installed_apps_count_request_builder.go +++ b/teams/item_installed_apps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemInstalledAppsCountRequestBuilder) ToGetRequestInformation(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 *ItemInstalledAppsCountRequestBuilder) WithUrl(rawUrl string)(*ItemInstalledAppsCountRequestBuilder) { + return NewItemInstalledAppsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_installed_apps_item_teams_app_definition_request_builder.go b/teams/item_installed_apps_item_teams_app_definition_request_builder.go index e834b078151..c963a1ce100 100644 --- a/teams/item_installed_apps_item_teams_app_definition_request_builder.go +++ b/teams/item_installed_apps_item_teams_app_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemInstalledAppsItemTeamsAppDefinitionRequestBuilder) ToGetRequestInfo } 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 *ItemInstalledAppsItemTeamsAppDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemInstalledAppsItemTeamsAppDefinitionRequestBuilder) { + return NewItemInstalledAppsItemTeamsAppDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_installed_apps_item_teams_app_request_builder.go b/teams/item_installed_apps_item_teams_app_request_builder.go index 82234bfb257..579beb8f415 100644 --- a/teams/item_installed_apps_item_teams_app_request_builder.go +++ b/teams/item_installed_apps_item_teams_app_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemInstalledAppsItemTeamsAppRequestBuilder) ToGetRequestInformation(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 *ItemInstalledAppsItemTeamsAppRequestBuilder) WithUrl(rawUrl string)(*ItemInstalledAppsItemTeamsAppRequestBuilder) { + return NewItemInstalledAppsItemTeamsAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_installed_apps_item_upgrade_request_builder.go b/teams/item_installed_apps_item_upgrade_request_builder.go index 2f8c7fdc966..c35a030610a 100644 --- a/teams/item_installed_apps_item_upgrade_request_builder.go +++ b/teams/item_installed_apps_item_upgrade_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemInstalledAppsItemUpgradeRequestBuilder) 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 *ItemInstalledAppsItemUpgradeRequestBuilder) WithUrl(rawUrl string)(*ItemInstalledAppsItemUpgradeRequestBuilder) { + return NewItemInstalledAppsItemUpgradeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_installed_apps_request_builder.go b/teams/item_installed_apps_request_builder.go index 922398fe73a..ab7408bf4c7 100644 --- a/teams/item_installed_apps_request_builder.go +++ b/teams/item_installed_apps_request_builder.go @@ -46,8 +46,8 @@ type ItemInstalledAppsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsAppInstallationIdString provides operations to manage the installedApps property of the microsoft.graph.team entity. -func (m *ItemInstalledAppsRequestBuilder) ByTeamsAppInstallationIdString(teamsAppInstallationId string)(*ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) { +// ByTeamsAppInstallationId provides operations to manage the installedApps property of the microsoft.graph.team entity. +func (m *ItemInstalledAppsRequestBuilder) ByTeamsAppInstallationId(teamsAppInstallationId string)(*ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemInstalledAppsRequestBuilder) ToPostRequestInformation(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 *ItemInstalledAppsRequestBuilder) WithUrl(rawUrl string)(*ItemInstalledAppsRequestBuilder) { + return NewItemInstalledAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_installed_apps_teams_app_installation_item_request_builder.go b/teams/item_installed_apps_teams_app_installation_item_request_builder.go index 69fd156162a..f944f7ec61a 100644 --- a/teams/item_installed_apps_teams_app_installation_item_request_builder.go +++ b/teams/item_installed_apps_teams_app_installation_item_request_builder.go @@ -171,3 +171,7 @@ func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) ToPatchRequest func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) Upgrade()(*ItemInstalledAppsItemUpgradeRequestBuilder) { return NewItemInstalledAppsItemUpgradeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) WithUrl(rawUrl string)(*ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) { + return NewItemInstalledAppsTeamsAppInstallationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_members_add_request_builder.go b/teams/item_members_add_request_builder.go index d06e742734b..10d8989e3e6 100644 --- a/teams/item_members_add_request_builder.go +++ b/teams/item_members_add_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemMembersAddRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *ItemMembersAddRequestBuilder) WithUrl(rawUrl string)(*ItemMembersAddRequestBuilder) { + return NewItemMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_members_conversation_member_item_request_builder.go b/teams/item_members_conversation_member_item_request_builder.go index c7191bf6f08..253499f561e 100644 --- a/teams/item_members_conversation_member_item_request_builder.go +++ b/teams/item_members_conversation_member_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) ToPatchRequestInformat } 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 *ItemMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemMembersConversationMemberItemRequestBuilder) { + return NewItemMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_members_count_request_builder.go b/teams/item_members_count_request_builder.go index 21463057247..577eb0f2cd9 100644 --- a/teams/item_members_count_request_builder.go +++ b/teams/item_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMembersCountRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *ItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemMembersCountRequestBuilder) { + return NewItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_members_request_builder.go b/teams/item_members_request_builder.go index 0e248b3fa82..626130d2327 100644 --- a/teams/item_members_request_builder.go +++ b/teams/item_members_request_builder.go @@ -50,8 +50,8 @@ type ItemMembersRequestBuilderPostRequestConfiguration struct { func (m *ItemMembersRequestBuilder) Add()(*ItemMembersAddRequestBuilder) { return NewItemMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByConversationMemberIdString provides operations to manage the members property of the microsoft.graph.team entity. -func (m *ItemMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*ItemMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the members property of the microsoft.graph.team entity. +func (m *ItemMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemMembersRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemMembersRequestBuilder) WithUrl(rawUrl string)(*ItemMembersRequestBuilder) { + return NewItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_operations_count_request_builder.go b/teams/item_operations_count_request_builder.go index 4aa52078883..dc3837171da 100644 --- a/teams/item_operations_count_request_builder.go +++ b/teams/item_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOperationsCountRequestBuilder) ToGetRequestInformation(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 *ItemOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOperationsCountRequestBuilder) { + return NewItemOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_operations_request_builder.go b/teams/item_operations_request_builder.go index c1f85cce3ce..206eeb9437e 100644 --- a/teams/item_operations_request_builder.go +++ b/teams/item_operations_request_builder.go @@ -46,8 +46,8 @@ type ItemOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsAsyncOperationIdString provides operations to manage the operations property of the microsoft.graph.team entity. -func (m *ItemOperationsRequestBuilder) ByTeamsAsyncOperationIdString(teamsAsyncOperationId string)(*ItemOperationsTeamsAsyncOperationItemRequestBuilder) { +// ByTeamsAsyncOperationId provides operations to manage the operations property of the microsoft.graph.team entity. +func (m *ItemOperationsRequestBuilder) ByTeamsAsyncOperationId(teamsAsyncOperationId string)(*ItemOperationsTeamsAsyncOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemOperationsRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *ItemOperationsRequestBuilder) WithUrl(rawUrl string)(*ItemOperationsRequestBuilder) { + return NewItemOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_operations_teams_async_operation_item_request_builder.go b/teams/item_operations_teams_async_operation_item_request_builder.go index 74b9f3abad9..ad6ced511d2 100644 --- a/teams/item_operations_teams_async_operation_item_request_builder.go +++ b/teams/item_operations_teams_async_operation_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemOperationsTeamsAsyncOperationItemRequestBuilder) 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 *ItemOperationsTeamsAsyncOperationItemRequestBuilder) WithUrl(rawUrl string)(*ItemOperationsTeamsAsyncOperationItemRequestBuilder) { + return NewItemOperationsTeamsAsyncOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_owners_count_request_builder.go b/teams/item_owners_count_request_builder.go index 0905586e5dd..9bda1a9b6fe 100644 --- a/teams/item_owners_count_request_builder.go +++ b/teams/item_owners_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnersCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemOwnersCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersCountRequestBuilder) { + return NewItemOwnersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_owners_item_mailbox_settings_request_builder.go b/teams/item_owners_item_mailbox_settings_request_builder.go index aaae8c48f50..a68c748c62e 100644 --- a/teams/item_owners_item_mailbox_settings_request_builder.go +++ b/teams/item_owners_item_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemOwnersItemMailboxSettingsRequestBuilder) 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 *ItemOwnersItemMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersItemMailboxSettingsRequestBuilder) { + return NewItemOwnersItemMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_owners_request_builder.go b/teams/item_owners_request_builder.go index 40640cb537b..79fa9acc264 100644 --- a/teams/item_owners_request_builder.go +++ b/teams/item_owners_request_builder.go @@ -39,8 +39,8 @@ type ItemOwnersRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemOwnersRequestBuilderGetQueryParameters } -// ByUserIdString provides operations to manage the owners property of the microsoft.graph.team entity. -func (m *ItemOwnersRequestBuilder) ByUserIdString(userId string)(*ItemOwnersUserItemRequestBuilder) { +// ByUserId provides operations to manage the owners property of the microsoft.graph.team entity. +func (m *ItemOwnersRequestBuilder) ByUserId(userId string)(*ItemOwnersUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemOwnersRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemOwnersRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersRequestBuilder) { + return NewItemOwnersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_owners_user_item_request_builder.go b/teams/item_owners_user_item_request_builder.go index 21ee7b233f4..60b97e11cb6 100644 --- a/teams/item_owners_user_item_request_builder.go +++ b/teams/item_owners_user_item_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemOwnersUserItemRequestBuilder) 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 *ItemOwnersUserItemRequestBuilder) WithUrl(rawUrl string)(*ItemOwnersUserItemRequestBuilder) { + return NewItemOwnersUserItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_permission_grants_count_request_builder.go b/teams/item_permission_grants_count_request_builder.go index b517025bc1a..66b0faa5b97 100644 --- a/teams/item_permission_grants_count_request_builder.go +++ b/teams/item_permission_grants_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPermissionGrantsCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemPermissionGrantsCountRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsCountRequestBuilder) { + return NewItemPermissionGrantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_permission_grants_delta_request_builder.go b/teams/item_permission_grants_delta_request_builder.go index 45aef1a6310..274788e64cf 100644 --- a/teams/item_permission_grants_delta_request_builder.go +++ b/teams/item_permission_grants_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemPermissionGrantsDeltaRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemPermissionGrantsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsDeltaRequestBuilder) { + return NewItemPermissionGrantsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_permission_grants_get_by_ids_request_builder.go b/teams/item_permission_grants_get_by_ids_request_builder.go index 86a2c31e3b4..9d8a89f8b3a 100644 --- a/teams/item_permission_grants_get_by_ids_request_builder.go +++ b/teams/item_permission_grants_get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemPermissionGrantsGetByIdsRequestBuilder) 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 *ItemPermissionGrantsGetByIdsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsGetByIdsRequestBuilder) { + return NewItemPermissionGrantsGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_permission_grants_get_user_owned_objects_request_builder.go b/teams/item_permission_grants_get_user_owned_objects_request_builder.go index 35473615a5b..1b6c16c7da7 100644 --- a/teams/item_permission_grants_get_user_owned_objects_request_builder.go +++ b/teams/item_permission_grants_get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemPermissionGrantsGetUserOwnedObjectsRequestBuilder) ToPostRequestInf } 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 *ItemPermissionGrantsGetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsGetUserOwnedObjectsRequestBuilder) { + return NewItemPermissionGrantsGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_permission_grants_item_check_member_groups_request_builder.go b/teams/item_permission_grants_item_check_member_groups_request_builder.go index fd7d2905b03..5cc2144533d 100644 --- a/teams/item_permission_grants_item_check_member_groups_request_builder.go +++ b/teams/item_permission_grants_item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemPermissionGrantsItemCheckMemberGroupsRequestBuilder) ToPostRequestI } 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 *ItemPermissionGrantsItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsItemCheckMemberGroupsRequestBuilder) { + return NewItemPermissionGrantsItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_permission_grants_item_check_member_objects_request_builder.go b/teams/item_permission_grants_item_check_member_objects_request_builder.go index d612011101f..4a67fc66b34 100644 --- a/teams/item_permission_grants_item_check_member_objects_request_builder.go +++ b/teams/item_permission_grants_item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemPermissionGrantsItemCheckMemberObjectsRequestBuilder) ToPostRequest } 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 *ItemPermissionGrantsItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsItemCheckMemberObjectsRequestBuilder) { + return NewItemPermissionGrantsItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_permission_grants_item_get_member_groups_request_builder.go b/teams/item_permission_grants_item_get_member_groups_request_builder.go index c96a686fc8d..df4bf0d37e9 100644 --- a/teams/item_permission_grants_item_get_member_groups_request_builder.go +++ b/teams/item_permission_grants_item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemPermissionGrantsItemGetMemberGroupsRequestBuilder) ToPostRequestInf } 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 *ItemPermissionGrantsItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsItemGetMemberGroupsRequestBuilder) { + return NewItemPermissionGrantsItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_permission_grants_item_get_member_objects_request_builder.go b/teams/item_permission_grants_item_get_member_objects_request_builder.go index 55e7e92b72f..2b351ed6d61 100644 --- a/teams/item_permission_grants_item_get_member_objects_request_builder.go +++ b/teams/item_permission_grants_item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemPermissionGrantsItemGetMemberObjectsRequestBuilder) ToPostRequestIn } 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 *ItemPermissionGrantsItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsItemGetMemberObjectsRequestBuilder) { + return NewItemPermissionGrantsItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_permission_grants_item_restore_request_builder.go b/teams/item_permission_grants_item_restore_request_builder.go index 1d51c7ce0c9..3ea0f5160cb 100644 --- a/teams/item_permission_grants_item_restore_request_builder.go +++ b/teams/item_permission_grants_item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemPermissionGrantsItemRestoreRequestBuilder) 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 *ItemPermissionGrantsItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsItemRestoreRequestBuilder) { + return NewItemPermissionGrantsItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_permission_grants_request_builder.go b/teams/item_permission_grants_request_builder.go index 4c3ca226d68..e4271b6601c 100644 --- a/teams/item_permission_grants_request_builder.go +++ b/teams/item_permission_grants_request_builder.go @@ -46,8 +46,8 @@ type ItemPermissionGrantsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByResourceSpecificPermissionGrantIdString provides operations to manage the permissionGrants property of the microsoft.graph.team entity. -func (m *ItemPermissionGrantsRequestBuilder) ByResourceSpecificPermissionGrantIdString(resourceSpecificPermissionGrantId string)(*ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { +// ByResourceSpecificPermissionGrantId provides operations to manage the permissionGrants property of the microsoft.graph.team entity. +func (m *ItemPermissionGrantsRequestBuilder) ByResourceSpecificPermissionGrantId(resourceSpecificPermissionGrantId string)(*ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -164,3 +164,7 @@ func (m *ItemPermissionGrantsRequestBuilder) ToPostRequestInformation(ctx contex func (m *ItemPermissionGrantsRequestBuilder) ValidateProperties()(*ItemPermissionGrantsValidatePropertiesRequestBuilder) { return NewItemPermissionGrantsValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemPermissionGrantsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsRequestBuilder) { + return NewItemPermissionGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_permission_grants_resource_specific_permission_grant_item_request_builder.go b/teams/item_permission_grants_resource_specific_permission_grant_item_request_builder.go index 5118362c172..12a323d297e 100644 --- a/teams/item_permission_grants_resource_specific_permission_grant_item_request_builder.go +++ b/teams/item_permission_grants_resource_specific_permission_grant_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) } 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 *ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { + return NewItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_permission_grants_validate_properties_request_builder.go b/teams/item_permission_grants_validate_properties_request_builder.go index eb840bc473f..fd72a315a81 100644 --- a/teams/item_permission_grants_validate_properties_request_builder.go +++ b/teams/item_permission_grants_validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemPermissionGrantsValidatePropertiesRequestBuilder) ToPostRequestInfo } 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 *ItemPermissionGrantsValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsValidatePropertiesRequestBuilder) { + return NewItemPermissionGrantsValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_photo_request_builder.go b/teams/item_photo_request_builder.go index a8ad4e4be4d..61647be87e3 100644 --- a/teams/item_photo_request_builder.go +++ b/teams/item_photo_request_builder.go @@ -122,3 +122,7 @@ func (m *ItemPhotoRequestBuilder) ToPatchRequestInformation(ctx context.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 *ItemPhotoRequestBuilder) WithUrl(rawUrl string)(*ItemPhotoRequestBuilder) { + return NewItemPhotoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_photo_value_content_request_builder.go b/teams/item_photo_value_content_request_builder.go index 69ab810c371..64c870c8817 100644 --- a/teams/item_photo_value_content_request_builder.go +++ b/teams/item_photo_value_content_request_builder.go @@ -100,3 +100,7 @@ func (m *ItemPhotoValueContentRequestBuilder) ToPutRequestInformation(ctx contex } 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 *ItemPhotoValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemPhotoValueContentRequestBuilder) { + return NewItemPhotoValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_complete_migration_request_builder.go b/teams/item_primary_channel_complete_migration_request_builder.go index 6bc34f0bc3a..fc1a49f186a 100644 --- a/teams/item_primary_channel_complete_migration_request_builder.go +++ b/teams/item_primary_channel_complete_migration_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPrimaryChannelCompleteMigrationRequestBuilder) ToPostRequestInforma } 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 *ItemPrimaryChannelCompleteMigrationRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelCompleteMigrationRequestBuilder) { + return NewItemPrimaryChannelCompleteMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/teams/item_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index 8634220e80d..9f55e4d97d9 100644 --- a/teams/item_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/teams/item_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -13,11 +13,11 @@ type ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincip // ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters invoke function doesUserHaveAccess type ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' - TenantId *string + TenantId *string `uriparametername:"tenantId"` // Usage: userId='@userId' - UserId *string + UserId *string `uriparametername:"userId"` // Usage: userPrincipalName='@userPrincipalName' - UserPrincipalName *string + UserPrincipalName *string `uriparametername:"userPrincipalName"` } // ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration struct { @@ -76,3 +76,7 @@ func (m *ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPri } 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 *ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) { + return NewItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_files_folder_content_request_builder.go b/teams/item_primary_channel_files_folder_content_request_builder.go index 347ddeacb9b..5c7c8e7375d 100644 --- a/teams/item_primary_channel_files_folder_content_request_builder.go +++ b/teams/item_primary_channel_files_folder_content_request_builder.go @@ -105,3 +105,7 @@ func (m *ItemPrimaryChannelFilesFolderContentRequestBuilder) ToPutRequestInforma } 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 *ItemPrimaryChannelFilesFolderContentRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelFilesFolderContentRequestBuilder) { + return NewItemPrimaryChannelFilesFolderContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_files_folder_request_builder.go b/teams/item_primary_channel_files_folder_request_builder.go index 263cfe821c7..bdeee519d43 100644 --- a/teams/item_primary_channel_files_folder_request_builder.go +++ b/teams/item_primary_channel_files_folder_request_builder.go @@ -82,3 +82,7 @@ func (m *ItemPrimaryChannelFilesFolderRequestBuilder) ToGetRequestInformation(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 *ItemPrimaryChannelFilesFolderRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelFilesFolderRequestBuilder) { + return NewItemPrimaryChannelFilesFolderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_members_add_request_builder.go b/teams/item_primary_channel_members_add_request_builder.go index 7a3eb3fc685..5345186b580 100644 --- a/teams/item_primary_channel_members_add_request_builder.go +++ b/teams/item_primary_channel_members_add_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemPrimaryChannelMembersAddRequestBuilder) 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 *ItemPrimaryChannelMembersAddRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMembersAddRequestBuilder) { + return NewItemPrimaryChannelMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_members_conversation_member_item_request_builder.go b/teams/item_primary_channel_members_conversation_member_item_request_builder.go index d12c873a6ff..adb6e2c3323 100644 --- a/teams/item_primary_channel_members_conversation_member_item_request_builder.go +++ b/teams/item_primary_channel_members_conversation_member_item_request_builder.go @@ -95,10 +95,10 @@ func (m *ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team.or channel. +// Patch update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 func (m *ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemPrimaryChannelMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -145,7 +145,7 @@ func (m *ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) ToGetReq } return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team.or channel. +// ToPatchRequestInformation update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. func (m *ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemPrimaryChannelMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -162,3 +162,7 @@ func (m *ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) ToPatchR } 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 *ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) { + return NewItemPrimaryChannelMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_members_count_request_builder.go b/teams/item_primary_channel_members_count_request_builder.go index 1e7831e0c80..07124fd2b0e 100644 --- a/teams/item_primary_channel_members_count_request_builder.go +++ b/teams/item_primary_channel_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPrimaryChannelMembersCountRequestBuilder) ToGetRequestInformation(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 *ItemPrimaryChannelMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMembersCountRequestBuilder) { + return NewItemPrimaryChannelMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_members_request_builder.go b/teams/item_primary_channel_members_request_builder.go index 028fdc0eb32..53438066cf8 100644 --- a/teams/item_primary_channel_members_request_builder.go +++ b/teams/item_primary_channel_members_request_builder.go @@ -50,8 +50,8 @@ type ItemPrimaryChannelMembersRequestBuilderPostRequestConfiguration struct { func (m *ItemPrimaryChannelMembersRequestBuilder) Add()(*ItemPrimaryChannelMembersAddRequestBuilder) { return NewItemPrimaryChannelMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByConversationMemberIdString provides operations to manage the members property of the microsoft.graph.channel entity. -func (m *ItemPrimaryChannelMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the members property of the microsoft.graph.channel entity. +func (m *ItemPrimaryChannelMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemPrimaryChannelMembersRequestBuilder) ToPostRequestInformation(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 *ItemPrimaryChannelMembersRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMembersRequestBuilder) { + return NewItemPrimaryChannelMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_chat_message_item_request_builder.go b/teams/item_primary_channel_messages_chat_message_item_request_builder.go index bd153e53f74..d964096e832 100644 --- a/teams/item_primary_channel_messages_chat_message_item_request_builder.go +++ b/teams/item_primary_channel_messages_chat_message_item_request_builder.go @@ -183,3 +183,7 @@ func (m *ItemPrimaryChannelMessagesChatMessageItemRequestBuilder) UndoSoftDelete func (m *ItemPrimaryChannelMessagesChatMessageItemRequestBuilder) UnsetReaction()(*ItemPrimaryChannelMessagesItemUnsetReactionRequestBuilder) { return NewItemPrimaryChannelMessagesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemPrimaryChannelMessagesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesChatMessageItemRequestBuilder) { + return NewItemPrimaryChannelMessagesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_count_request_builder.go b/teams/item_primary_channel_messages_count_request_builder.go index 06b19a79af3..bd525ae53a7 100644 --- a/teams/item_primary_channel_messages_count_request_builder.go +++ b/teams/item_primary_channel_messages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPrimaryChannelMessagesCountRequestBuilder) 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 *ItemPrimaryChannelMessagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesCountRequestBuilder) { + return NewItemPrimaryChannelMessagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_delta_request_builder.go b/teams/item_primary_channel_messages_delta_request_builder.go index 5c678ace672..a2cb0ea5689 100644 --- a/teams/item_primary_channel_messages_delta_request_builder.go +++ b/teams/item_primary_channel_messages_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemPrimaryChannelMessagesDeltaRequestBuilder) 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 *ItemPrimaryChannelMessagesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesDeltaRequestBuilder) { + return NewItemPrimaryChannelMessagesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teams/item_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 31fe9177de5..5b68ac6802d 100644 --- a/teams/item_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teams/item_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentIte } 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 *ItemPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewItemPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_item_hosted_contents_count_request_builder.go b/teams/item_primary_channel_messages_item_hosted_contents_count_request_builder.go index cb68f4be054..efd4bfec579 100644 --- a/teams/item_primary_channel_messages_item_hosted_contents_count_request_builder.go +++ b/teams/item_primary_channel_messages_item_hosted_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPrimaryChannelMessagesItemHostedContentsCountRequestBuilder) ToGetR } 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 *ItemPrimaryChannelMessagesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesItemHostedContentsCountRequestBuilder) { + return NewItemPrimaryChannelMessagesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go b/teams/item_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go index 932aa7154b9..82c3a2b5e8d 100644 --- a/teams/item_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/teams/item_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuil } 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 *ItemPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_item_hosted_contents_request_builder.go b/teams/item_primary_channel_messages_item_hosted_contents_request_builder.go index 9598c075fb1..296bec01717 100644 --- a/teams/item_primary_channel_messages_item_hosted_contents_request_builder.go +++ b/teams/item_primary_channel_messages_item_hosted_contents_request_builder.go @@ -46,8 +46,8 @@ type ItemPrimaryChannelMessagesItemHostedContentsRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageHostedContentIdString provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. -func (m *ItemPrimaryChannelMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentIdString(chatMessageHostedContentId string)(*ItemPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +func (m *ItemPrimaryChannelMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*ItemPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemPrimaryChannelMessagesItemHostedContentsRequestBuilder) ToPostReque } 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 *ItemPrimaryChannelMessagesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesItemHostedContentsRequestBuilder) { + return NewItemPrimaryChannelMessagesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_item_replies_chat_message_item_request_builder.go b/teams/item_primary_channel_messages_item_replies_chat_message_item_request_builder.go index 847f5a37465..ac30105dbad 100644 --- a/teams/item_primary_channel_messages_item_replies_chat_message_item_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_chat_message_item_request_builder.go @@ -176,3 +176,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) Und func (m *ItemPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) UnsetReaction()(*ItemPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder) { return NewItemPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) { + return NewItemPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_item_replies_count_request_builder.go b/teams/item_primary_channel_messages_item_replies_count_request_builder.go index 4b03aaa5043..6411884f1f3 100644 --- a/teams/item_primary_channel_messages_item_replies_count_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesCountRequestBuilder) ToGetRequestI } 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 *ItemPrimaryChannelMessagesItemRepliesCountRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesItemRepliesCountRequestBuilder) { + return NewItemPrimaryChannelMessagesItemRepliesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_item_replies_delta_request_builder.go b/teams/item_primary_channel_messages_item_replies_delta_request_builder.go index 58ed5717d74..e16eb255650 100644 --- a/teams/item_primary_channel_messages_item_replies_delta_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) ToGetRequestI } 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 *ItemPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) { + return NewItemPrimaryChannelMessagesItemRepliesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teams/item_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index c36d56745c2..3c82b4726d7 100644 --- a/teams/item_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHoste } 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 *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewItemPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_item_replies_item_hosted_contents_count_request_builder.go b/teams/item_primary_channel_messages_item_replies_item_hosted_contents_count_request_builder.go index 37e7d9f4548..0984c6ca8b0 100644 --- a/teams/item_primary_channel_messages_item_replies_item_hosted_contents_count_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_item_hosted_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsCountRequestBuil } 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 *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesItemRepliesItemHostedContentsCountRequestBuilder) { + return NewItemPrimaryChannelMessagesItemRepliesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/teams/item_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index b51790ef447..521aa50f070 100644 --- a/teams/item_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContent } 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 *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go b/teams/item_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go index 2e8272af556..888a69076d1 100644 --- a/teams/item_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go @@ -46,8 +46,8 @@ type ItemPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilderPostRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageHostedContentIdString provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. -func (m *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentIdString(chatMessageHostedContentId string)(*ItemPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +func (m *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*ItemPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) } 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 *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) { + return NewItemPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_item_replies_item_set_reaction_request_builder.go b/teams/item_primary_channel_messages_item_replies_item_set_reaction_request_builder.go index f3fb7fc861a..e03987c9682 100644 --- a/teams/item_primary_channel_messages_item_replies_item_set_reaction_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_item_set_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesItemSetReactionRequestBuilder) 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 *ItemPrimaryChannelMessagesItemRepliesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesItemRepliesItemSetReactionRequestBuilder) { + return NewItemPrimaryChannelMessagesItemRepliesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_item_replies_item_soft_delete_request_builder.go b/teams/item_primary_channel_messages_item_replies_item_soft_delete_request_builder.go index 9744c56cb4a..3b6b067867d 100644 --- a/teams/item_primary_channel_messages_item_replies_item_soft_delete_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_item_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilder) ToPo } 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 *ItemPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilder) { + return NewItemPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go b/teams/item_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go index 3edcb9a0c55..adfa81acef4 100644 --- a/teams/item_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) } 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 *ItemPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) { + return NewItemPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go b/teams/item_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go index 2a4e5d8365b..b1ccbc06b0e 100644 --- a/teams/item_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder) T } 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 *ItemPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder) { + return NewItemPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_item_replies_request_builder.go b/teams/item_primary_channel_messages_item_replies_request_builder.go index c3ddc4951bf..853d8b62bb5 100644 --- a/teams/item_primary_channel_messages_item_replies_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_request_builder.go @@ -46,8 +46,8 @@ type ItemPrimaryChannelMessagesItemRepliesRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageId1String provides operations to manage the replies property of the microsoft.graph.chatMessage entity. -func (m *ItemPrimaryChannelMessagesItemRepliesRequestBuilder) ByChatMessageId1String(chatMessageId1 string)(*ItemPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) { +// ByChatMessageId1 provides operations to manage the replies property of the microsoft.graph.chatMessage entity. +func (m *ItemPrimaryChannelMessagesItemRepliesRequestBuilder) ByChatMessageId1(chatMessageId1 string)(*ItemPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesRequestBuilder) ToPostRequestInfor } 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 *ItemPrimaryChannelMessagesItemRepliesRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesItemRepliesRequestBuilder) { + return NewItemPrimaryChannelMessagesItemRepliesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_item_set_reaction_request_builder.go b/teams/item_primary_channel_messages_item_set_reaction_request_builder.go index 94b19917851..022a1d3dd06 100644 --- a/teams/item_primary_channel_messages_item_set_reaction_request_builder.go +++ b/teams/item_primary_channel_messages_item_set_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemPrimaryChannelMessagesItemSetReactionRequestBuilder) ToPostRequestI } 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 *ItemPrimaryChannelMessagesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesItemSetReactionRequestBuilder) { + return NewItemPrimaryChannelMessagesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_item_soft_delete_request_builder.go b/teams/item_primary_channel_messages_item_soft_delete_request_builder.go index 6f257c8b49d..101b7688620 100644 --- a/teams/item_primary_channel_messages_item_soft_delete_request_builder.go +++ b/teams/item_primary_channel_messages_item_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPrimaryChannelMessagesItemSoftDeleteRequestBuilder) ToPostRequestIn } 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 *ItemPrimaryChannelMessagesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesItemSoftDeleteRequestBuilder) { + return NewItemPrimaryChannelMessagesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_item_undo_soft_delete_request_builder.go b/teams/item_primary_channel_messages_item_undo_soft_delete_request_builder.go index 9041214bedd..22ddee277ec 100644 --- a/teams/item_primary_channel_messages_item_undo_soft_delete_request_builder.go +++ b/teams/item_primary_channel_messages_item_undo_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder) ToPostReque } 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 *ItemPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder) { + return NewItemPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_item_unset_reaction_request_builder.go b/teams/item_primary_channel_messages_item_unset_reaction_request_builder.go index 871af70234d..18158753de7 100644 --- a/teams/item_primary_channel_messages_item_unset_reaction_request_builder.go +++ b/teams/item_primary_channel_messages_item_unset_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemPrimaryChannelMessagesItemUnsetReactionRequestBuilder) ToPostReques } 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 *ItemPrimaryChannelMessagesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesItemUnsetReactionRequestBuilder) { + return NewItemPrimaryChannelMessagesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_request_builder.go b/teams/item_primary_channel_messages_request_builder.go index 4a0d73eca3f..88e6219ba12 100644 --- a/teams/item_primary_channel_messages_request_builder.go +++ b/teams/item_primary_channel_messages_request_builder.go @@ -46,8 +46,8 @@ type ItemPrimaryChannelMessagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageIdString provides operations to manage the messages property of the microsoft.graph.channel entity. -func (m *ItemPrimaryChannelMessagesRequestBuilder) ByChatMessageIdString(chatMessageId string)(*ItemPrimaryChannelMessagesChatMessageItemRequestBuilder) { +// ByChatMessageId provides operations to manage the messages property of the microsoft.graph.channel entity. +func (m *ItemPrimaryChannelMessagesRequestBuilder) ByChatMessageId(chatMessageId string)(*ItemPrimaryChannelMessagesChatMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemPrimaryChannelMessagesRequestBuilder) 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 *ItemPrimaryChannelMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesRequestBuilder) { + return NewItemPrimaryChannelMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_provision_email_request_builder.go b/teams/item_primary_channel_provision_email_request_builder.go index 0a0fa0e79ee..1dca74a5df5 100644 --- a/teams/item_primary_channel_provision_email_request_builder.go +++ b/teams/item_primary_channel_provision_email_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemPrimaryChannelProvisionEmailRequestBuilder) ToPostRequestInformatio } 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 *ItemPrimaryChannelProvisionEmailRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelProvisionEmailRequestBuilder) { + return NewItemPrimaryChannelProvisionEmailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_remove_email_request_builder.go b/teams/item_primary_channel_remove_email_request_builder.go index f6ee7d8eee1..3e15d24f08d 100644 --- a/teams/item_primary_channel_remove_email_request_builder.go +++ b/teams/item_primary_channel_remove_email_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPrimaryChannelRemoveEmailRequestBuilder) ToPostRequestInformation(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 *ItemPrimaryChannelRemoveEmailRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelRemoveEmailRequestBuilder) { + return NewItemPrimaryChannelRemoveEmailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_request_builder.go b/teams/item_primary_channel_request_builder.go index d0c2258ae1d..3cf905df633 100644 --- a/teams/item_primary_channel_request_builder.go +++ b/teams/item_primary_channel_request_builder.go @@ -192,3 +192,7 @@ func (m *ItemPrimaryChannelRequestBuilder) ToPatchRequestInformation(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 *ItemPrimaryChannelRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelRequestBuilder) { + return NewItemPrimaryChannelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_shared_with_teams_count_request_builder.go b/teams/item_primary_channel_shared_with_teams_count_request_builder.go index 4d6c9fd8eb7..8fc8a52e927 100644 --- a/teams/item_primary_channel_shared_with_teams_count_request_builder.go +++ b/teams/item_primary_channel_shared_with_teams_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPrimaryChannelSharedWithTeamsCountRequestBuilder) ToGetRequestInfor } 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 *ItemPrimaryChannelSharedWithTeamsCountRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelSharedWithTeamsCountRequestBuilder) { + return NewItemPrimaryChannelSharedWithTeamsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go b/teams/item_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go index 67e6bc60b7f..c3e1254da1a 100644 --- a/teams/item_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go +++ b/teams/item_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemberIt } 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 *ItemPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { + return NewItemPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_shared_with_teams_item_allowed_members_count_request_builder.go b/teams/item_primary_channel_shared_with_teams_item_allowed_members_count_request_builder.go index a5dbbb70d3a..01d58381a37 100644 --- a/teams/item_primary_channel_shared_with_teams_item_allowed_members_count_request_builder.go +++ b/teams/item_primary_channel_shared_with_teams_item_allowed_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPrimaryChannelSharedWithTeamsItemAllowedMembersCountRequestBuilder) } 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 *ItemPrimaryChannelSharedWithTeamsItemAllowedMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelSharedWithTeamsItemAllowedMembersCountRequestBuilder) { + return NewItemPrimaryChannelSharedWithTeamsItemAllowedMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_shared_with_teams_item_allowed_members_request_builder.go b/teams/item_primary_channel_shared_with_teams_item_allowed_members_request_builder.go index 151c59e40cd..1162ce70121 100644 --- a/teams/item_primary_channel_shared_with_teams_item_allowed_members_request_builder.go +++ b/teams/item_primary_channel_shared_with_teams_item_allowed_members_request_builder.go @@ -39,8 +39,8 @@ type ItemPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetRequest // Request query parameters QueryParameters *ItemPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters } -// ByConversationMemberIdString provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. -func (m *ItemPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*ItemPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. +func (m *ItemPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) ToGe } 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 *ItemPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) { + return NewItemPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_shared_with_teams_item_team_request_builder.go b/teams/item_primary_channel_shared_with_teams_item_team_request_builder.go index 0ec6905c072..00147d88f05 100644 --- a/teams/item_primary_channel_shared_with_teams_item_team_request_builder.go +++ b/teams/item_primary_channel_shared_with_teams_item_team_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemPrimaryChannelSharedWithTeamsItemTeamRequestBuilder) ToGetRequestIn } 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 *ItemPrimaryChannelSharedWithTeamsItemTeamRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelSharedWithTeamsItemTeamRequestBuilder) { + return NewItemPrimaryChannelSharedWithTeamsItemTeamRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_shared_with_teams_request_builder.go b/teams/item_primary_channel_shared_with_teams_request_builder.go index af8cfc45729..0cae1e107c7 100644 --- a/teams/item_primary_channel_shared_with_teams_request_builder.go +++ b/teams/item_primary_channel_shared_with_teams_request_builder.go @@ -46,8 +46,8 @@ type ItemPrimaryChannelSharedWithTeamsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySharedWithChannelTeamInfoIdString provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. -func (m *ItemPrimaryChannelSharedWithTeamsRequestBuilder) BySharedWithChannelTeamInfoIdString(sharedWithChannelTeamInfoId string)(*ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { +// BySharedWithChannelTeamInfoId provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. +func (m *ItemPrimaryChannelSharedWithTeamsRequestBuilder) BySharedWithChannelTeamInfoId(sharedWithChannelTeamInfoId string)(*ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemPrimaryChannelSharedWithTeamsRequestBuilder) ToPostRequestInformati } 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 *ItemPrimaryChannelSharedWithTeamsRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelSharedWithTeamsRequestBuilder) { + return NewItemPrimaryChannelSharedWithTeamsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/teams/item_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index bc4dee2140e..e019f7c5a05 100644 --- a/teams/item_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/teams/item_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -167,3 +167,7 @@ func (m *ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBu } 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 *ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { + return NewItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_tabs_count_request_builder.go b/teams/item_primary_channel_tabs_count_request_builder.go index 8dba700e6e7..89e38412f07 100644 --- a/teams/item_primary_channel_tabs_count_request_builder.go +++ b/teams/item_primary_channel_tabs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPrimaryChannelTabsCountRequestBuilder) ToGetRequestInformation(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 *ItemPrimaryChannelTabsCountRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelTabsCountRequestBuilder) { + return NewItemPrimaryChannelTabsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_tabs_item_teams_app_request_builder.go b/teams/item_primary_channel_tabs_item_teams_app_request_builder.go index bf6b91cc14a..a06195fd935 100644 --- a/teams/item_primary_channel_tabs_item_teams_app_request_builder.go +++ b/teams/item_primary_channel_tabs_item_teams_app_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemPrimaryChannelTabsItemTeamsAppRequestBuilder) ToGetRequestInformati } 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 *ItemPrimaryChannelTabsItemTeamsAppRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelTabsItemTeamsAppRequestBuilder) { + return NewItemPrimaryChannelTabsItemTeamsAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_tabs_request_builder.go b/teams/item_primary_channel_tabs_request_builder.go index 83d1f349c2e..89c77a05113 100644 --- a/teams/item_primary_channel_tabs_request_builder.go +++ b/teams/item_primary_channel_tabs_request_builder.go @@ -46,8 +46,8 @@ type ItemPrimaryChannelTabsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsTabIdString provides operations to manage the tabs property of the microsoft.graph.channel entity. -func (m *ItemPrimaryChannelTabsRequestBuilder) ByTeamsTabIdString(teamsTabId string)(*ItemPrimaryChannelTabsTeamsTabItemRequestBuilder) { +// ByTeamsTabId provides operations to manage the tabs property of the microsoft.graph.channel entity. +func (m *ItemPrimaryChannelTabsRequestBuilder) ByTeamsTabId(teamsTabId string)(*ItemPrimaryChannelTabsTeamsTabItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemPrimaryChannelTabsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemPrimaryChannelTabsRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelTabsRequestBuilder) { + return NewItemPrimaryChannelTabsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_tabs_teams_tab_item_request_builder.go b/teams/item_primary_channel_tabs_teams_tab_item_request_builder.go index 5fe9247da6b..99f8d77aabd 100644 --- a/teams/item_primary_channel_tabs_teams_tab_item_request_builder.go +++ b/teams/item_primary_channel_tabs_teams_tab_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemPrimaryChannelTabsTeamsTabItemRequestBuilder) ToPatchRequestInforma } 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 *ItemPrimaryChannelTabsTeamsTabItemRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelTabsTeamsTabItemRequestBuilder) { + return NewItemPrimaryChannelTabsTeamsTabItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_offer_shift_requests_count_request_builder.go b/teams/item_schedule_offer_shift_requests_count_request_builder.go index 94d362ff1ff..db099976159 100644 --- a/teams/item_schedule_offer_shift_requests_count_request_builder.go +++ b/teams/item_schedule_offer_shift_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemScheduleOfferShiftRequestsCountRequestBuilder) ToGetRequestInformat } 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 *ItemScheduleOfferShiftRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleOfferShiftRequestsCountRequestBuilder) { + return NewItemScheduleOfferShiftRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go b/teams/item_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go index d3029fc65eb..60f7c555ef2 100644 --- a/teams/item_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go +++ b/teams/item_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) ToPa } 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 *ItemScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) { + return NewItemScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_offer_shift_requests_request_builder.go b/teams/item_schedule_offer_shift_requests_request_builder.go index ac7805b34ab..7e59feea183 100644 --- a/teams/item_schedule_offer_shift_requests_request_builder.go +++ b/teams/item_schedule_offer_shift_requests_request_builder.go @@ -46,8 +46,8 @@ type ItemScheduleOfferShiftRequestsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOfferShiftRequestIdString provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. -func (m *ItemScheduleOfferShiftRequestsRequestBuilder) ByOfferShiftRequestIdString(offerShiftRequestId string)(*ItemScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) { +// ByOfferShiftRequestId provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. +func (m *ItemScheduleOfferShiftRequestsRequestBuilder) ByOfferShiftRequestId(offerShiftRequestId string)(*ItemScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemScheduleOfferShiftRequestsRequestBuilder) 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 *ItemScheduleOfferShiftRequestsRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleOfferShiftRequestsRequestBuilder) { + return NewItemScheduleOfferShiftRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_open_shift_change_requests_count_request_builder.go b/teams/item_schedule_open_shift_change_requests_count_request_builder.go index 25b3a6cec61..7bf6af10612 100644 --- a/teams/item_schedule_open_shift_change_requests_count_request_builder.go +++ b/teams/item_schedule_open_shift_change_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemScheduleOpenShiftChangeRequestsCountRequestBuilder) ToGetRequestInf } 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 *ItemScheduleOpenShiftChangeRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleOpenShiftChangeRequestsCountRequestBuilder) { + return NewItemScheduleOpenShiftChangeRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go b/teams/item_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go index 2c16a9421b0..825cc58f27d 100644 --- a/teams/item_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go +++ b/teams/item_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBui } 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 *ItemScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) { + return NewItemScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_open_shift_change_requests_request_builder.go b/teams/item_schedule_open_shift_change_requests_request_builder.go index 2d461a584fc..b95a449be0b 100644 --- a/teams/item_schedule_open_shift_change_requests_request_builder.go +++ b/teams/item_schedule_open_shift_change_requests_request_builder.go @@ -46,8 +46,8 @@ type ItemScheduleOpenShiftChangeRequestsRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOpenShiftChangeRequestIdString provides operations to manage the openShiftChangeRequests property of the microsoft.graph.schedule entity. -func (m *ItemScheduleOpenShiftChangeRequestsRequestBuilder) ByOpenShiftChangeRequestIdString(openShiftChangeRequestId string)(*ItemScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) { +// ByOpenShiftChangeRequestId provides operations to manage the openShiftChangeRequests property of the microsoft.graph.schedule entity. +func (m *ItemScheduleOpenShiftChangeRequestsRequestBuilder) ByOpenShiftChangeRequestId(openShiftChangeRequestId string)(*ItemScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemScheduleOpenShiftChangeRequestsRequestBuilder) ToPostRequestInforma } 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 *ItemScheduleOpenShiftChangeRequestsRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleOpenShiftChangeRequestsRequestBuilder) { + return NewItemScheduleOpenShiftChangeRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_open_shifts_count_request_builder.go b/teams/item_schedule_open_shifts_count_request_builder.go index f6c212b7380..c8475b66a51 100644 --- a/teams/item_schedule_open_shifts_count_request_builder.go +++ b/teams/item_schedule_open_shifts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemScheduleOpenShiftsCountRequestBuilder) ToGetRequestInformation(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 *ItemScheduleOpenShiftsCountRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleOpenShiftsCountRequestBuilder) { + return NewItemScheduleOpenShiftsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_open_shifts_open_shift_item_request_builder.go b/teams/item_schedule_open_shifts_open_shift_item_request_builder.go index 6288a3c51db..6f7e227e7a2 100644 --- a/teams/item_schedule_open_shifts_open_shift_item_request_builder.go +++ b/teams/item_schedule_open_shifts_open_shift_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemScheduleOpenShiftsOpenShiftItemRequestBuilder) ToPatchRequestInform } 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 *ItemScheduleOpenShiftsOpenShiftItemRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleOpenShiftsOpenShiftItemRequestBuilder) { + return NewItemScheduleOpenShiftsOpenShiftItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_open_shifts_request_builder.go b/teams/item_schedule_open_shifts_request_builder.go index e2f4eadebb3..f1c61bf4c30 100644 --- a/teams/item_schedule_open_shifts_request_builder.go +++ b/teams/item_schedule_open_shifts_request_builder.go @@ -46,8 +46,8 @@ type ItemScheduleOpenShiftsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOpenShiftIdString provides operations to manage the openShifts property of the microsoft.graph.schedule entity. -func (m *ItemScheduleOpenShiftsRequestBuilder) ByOpenShiftIdString(openShiftId string)(*ItemScheduleOpenShiftsOpenShiftItemRequestBuilder) { +// ByOpenShiftId provides operations to manage the openShifts property of the microsoft.graph.schedule entity. +func (m *ItemScheduleOpenShiftsRequestBuilder) ByOpenShiftId(openShiftId string)(*ItemScheduleOpenShiftsOpenShiftItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemScheduleOpenShiftsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemScheduleOpenShiftsRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleOpenShiftsRequestBuilder) { + return NewItemScheduleOpenShiftsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_request_builder.go b/teams/item_schedule_request_builder.go index 8fdbb82e170..c9ef863441e 100644 --- a/teams/item_schedule_request_builder.go +++ b/teams/item_schedule_request_builder.go @@ -200,3 +200,7 @@ func (m *ItemScheduleRequestBuilder) ToPutRequestInformation(ctx context.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 *ItemScheduleRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleRequestBuilder) { + return NewItemScheduleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_scheduling_groups_count_request_builder.go b/teams/item_schedule_scheduling_groups_count_request_builder.go index c5ae4d6a087..55d7cea2fce 100644 --- a/teams/item_schedule_scheduling_groups_count_request_builder.go +++ b/teams/item_schedule_scheduling_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemScheduleSchedulingGroupsCountRequestBuilder) 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 *ItemScheduleSchedulingGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleSchedulingGroupsCountRequestBuilder) { + return NewItemScheduleSchedulingGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_scheduling_groups_request_builder.go b/teams/item_schedule_scheduling_groups_request_builder.go index 4b327386d5e..cdb70b2332a 100644 --- a/teams/item_schedule_scheduling_groups_request_builder.go +++ b/teams/item_schedule_scheduling_groups_request_builder.go @@ -44,8 +44,8 @@ type ItemScheduleSchedulingGroupsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySchedulingGroupIdString provides operations to manage the schedulingGroups property of the microsoft.graph.schedule entity. -func (m *ItemScheduleSchedulingGroupsRequestBuilder) BySchedulingGroupIdString(schedulingGroupId string)(*ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) { +// BySchedulingGroupId provides operations to manage the schedulingGroups property of the microsoft.graph.schedule entity. +func (m *ItemScheduleSchedulingGroupsRequestBuilder) BySchedulingGroupId(schedulingGroupId string)(*ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemScheduleSchedulingGroupsRequestBuilder) 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 *ItemScheduleSchedulingGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleSchedulingGroupsRequestBuilder) { + return NewItemScheduleSchedulingGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_scheduling_groups_scheduling_group_item_request_builder.go b/teams/item_schedule_scheduling_groups_scheduling_group_item_request_builder.go index af6c0c17851..f1e031fd718 100644 --- a/teams/item_schedule_scheduling_groups_scheduling_group_item_request_builder.go +++ b/teams/item_schedule_scheduling_groups_scheduling_group_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToPatchR } 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 *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) { + return NewItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_share_request_builder.go b/teams/item_schedule_share_request_builder.go index 92ccae2cdbb..1ce14edac85 100644 --- a/teams/item_schedule_share_request_builder.go +++ b/teams/item_schedule_share_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemScheduleShareRequestBuilder) ToPostRequestInformation(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 *ItemScheduleShareRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleShareRequestBuilder) { + return NewItemScheduleShareRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_shifts_count_request_builder.go b/teams/item_schedule_shifts_count_request_builder.go index 03c70b40753..d1ff0b22681 100644 --- a/teams/item_schedule_shifts_count_request_builder.go +++ b/teams/item_schedule_shifts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemScheduleShiftsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemScheduleShiftsCountRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleShiftsCountRequestBuilder) { + return NewItemScheduleShiftsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_shifts_request_builder.go b/teams/item_schedule_shifts_request_builder.go index 06ec69070ca..306578a411f 100644 --- a/teams/item_schedule_shifts_request_builder.go +++ b/teams/item_schedule_shifts_request_builder.go @@ -44,8 +44,8 @@ type ItemScheduleShiftsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByShiftIdString provides operations to manage the shifts property of the microsoft.graph.schedule entity. -func (m *ItemScheduleShiftsRequestBuilder) ByShiftIdString(shiftId string)(*ItemScheduleShiftsShiftItemRequestBuilder) { +// ByShiftId provides operations to manage the shifts property of the microsoft.graph.schedule entity. +func (m *ItemScheduleShiftsRequestBuilder) ByShiftId(shiftId string)(*ItemScheduleShiftsShiftItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemScheduleShiftsRequestBuilder) 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 *ItemScheduleShiftsRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleShiftsRequestBuilder) { + return NewItemScheduleShiftsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_shifts_shift_item_request_builder.go b/teams/item_schedule_shifts_shift_item_request_builder.go index 17aa3aff76c..d0a34f2deef 100644 --- a/teams/item_schedule_shifts_shift_item_request_builder.go +++ b/teams/item_schedule_shifts_shift_item_request_builder.go @@ -93,7 +93,7 @@ func (m *ItemScheduleShiftsShiftItemRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable), nil } -// Patch replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift cannot be less than 1 minute or longer than 24 hours. +// Patch replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/shift-put?view=graph-rest-1.0 @@ -143,7 +143,7 @@ func (m *ItemScheduleShiftsShiftItemRequestBuilder) ToGetRequestInformation(ctx } return requestInfo, nil } -// ToPatchRequestInformation replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift cannot be less than 1 minute or longer than 24 hours. +// ToPatchRequestInformation replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. func (m *ItemScheduleShiftsShiftItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, requestConfiguration *ItemScheduleShiftsShiftItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -160,3 +160,7 @@ func (m *ItemScheduleShiftsShiftItemRequestBuilder) ToPatchRequestInformation(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 *ItemScheduleShiftsShiftItemRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleShiftsShiftItemRequestBuilder) { + return NewItemScheduleShiftsShiftItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_swap_shifts_change_requests_count_request_builder.go b/teams/item_schedule_swap_shifts_change_requests_count_request_builder.go index 1aa8c86e03c..e7fbcc2236e 100644 --- a/teams/item_schedule_swap_shifts_change_requests_count_request_builder.go +++ b/teams/item_schedule_swap_shifts_change_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemScheduleSwapShiftsChangeRequestsCountRequestBuilder) ToGetRequestIn } 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 *ItemScheduleSwapShiftsChangeRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleSwapShiftsChangeRequestsCountRequestBuilder) { + return NewItemScheduleSwapShiftsChangeRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_swap_shifts_change_requests_request_builder.go b/teams/item_schedule_swap_shifts_change_requests_request_builder.go index 203bbde8785..46e78684e3d 100644 --- a/teams/item_schedule_swap_shifts_change_requests_request_builder.go +++ b/teams/item_schedule_swap_shifts_change_requests_request_builder.go @@ -46,8 +46,8 @@ type ItemScheduleSwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySwapShiftsChangeRequestIdString provides operations to manage the swapShiftsChangeRequests property of the microsoft.graph.schedule entity. -func (m *ItemScheduleSwapShiftsChangeRequestsRequestBuilder) BySwapShiftsChangeRequestIdString(swapShiftsChangeRequestId string)(*ItemScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) { +// BySwapShiftsChangeRequestId provides operations to manage the swapShiftsChangeRequests property of the microsoft.graph.schedule entity. +func (m *ItemScheduleSwapShiftsChangeRequestsRequestBuilder) BySwapShiftsChangeRequestId(swapShiftsChangeRequestId string)(*ItemScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemScheduleSwapShiftsChangeRequestsRequestBuilder) ToPostRequestInform } 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 *ItemScheduleSwapShiftsChangeRequestsRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleSwapShiftsChangeRequestsRequestBuilder) { + return NewItemScheduleSwapShiftsChangeRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go b/teams/item_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go index 1c82f03db7c..b270e443f64 100644 --- a/teams/item_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go +++ b/teams/item_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestB } 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 *ItemScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) { + return NewItemScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_time_cards_clock_in_request_builder.go b/teams/item_schedule_time_cards_clock_in_request_builder.go index 83789b4a8f3..472db4e5829 100644 --- a/teams/item_schedule_time_cards_clock_in_request_builder.go +++ b/teams/item_schedule_time_cards_clock_in_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemScheduleTimeCardsClockInRequestBuilder) 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 *ItemScheduleTimeCardsClockInRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleTimeCardsClockInRequestBuilder) { + return NewItemScheduleTimeCardsClockInRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_time_cards_count_request_builder.go b/teams/item_schedule_time_cards_count_request_builder.go index 97a2652bb6a..c40577c3b4d 100644 --- a/teams/item_schedule_time_cards_count_request_builder.go +++ b/teams/item_schedule_time_cards_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemScheduleTimeCardsCountRequestBuilder) ToGetRequestInformation(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 *ItemScheduleTimeCardsCountRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleTimeCardsCountRequestBuilder) { + return NewItemScheduleTimeCardsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_time_cards_item_clock_out_request_builder.go b/teams/item_schedule_time_cards_item_clock_out_request_builder.go index 55f4a44e1a4..37ff9312ebf 100644 --- a/teams/item_schedule_time_cards_item_clock_out_request_builder.go +++ b/teams/item_schedule_time_cards_item_clock_out_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemScheduleTimeCardsItemClockOutRequestBuilder) ToPostRequestInformati } 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 *ItemScheduleTimeCardsItemClockOutRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleTimeCardsItemClockOutRequestBuilder) { + return NewItemScheduleTimeCardsItemClockOutRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_time_cards_item_confirm_request_builder.go b/teams/item_schedule_time_cards_item_confirm_request_builder.go index 13458b262ad..3baaf35527b 100644 --- a/teams/item_schedule_time_cards_item_confirm_request_builder.go +++ b/teams/item_schedule_time_cards_item_confirm_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemScheduleTimeCardsItemConfirmRequestBuilder) ToPostRequestInformatio } 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 *ItemScheduleTimeCardsItemConfirmRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleTimeCardsItemConfirmRequestBuilder) { + return NewItemScheduleTimeCardsItemConfirmRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_time_cards_item_end_break_request_builder.go b/teams/item_schedule_time_cards_item_end_break_request_builder.go index 76da82f3a2c..4bdc2c167a4 100644 --- a/teams/item_schedule_time_cards_item_end_break_request_builder.go +++ b/teams/item_schedule_time_cards_item_end_break_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemScheduleTimeCardsItemEndBreakRequestBuilder) ToPostRequestInformati } 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 *ItemScheduleTimeCardsItemEndBreakRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleTimeCardsItemEndBreakRequestBuilder) { + return NewItemScheduleTimeCardsItemEndBreakRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_time_cards_item_start_break_request_builder.go b/teams/item_schedule_time_cards_item_start_break_request_builder.go index 6162f1d7441..e8f684bad7a 100644 --- a/teams/item_schedule_time_cards_item_start_break_request_builder.go +++ b/teams/item_schedule_time_cards_item_start_break_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemScheduleTimeCardsItemStartBreakRequestBuilder) ToPostRequestInforma } 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 *ItemScheduleTimeCardsItemStartBreakRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleTimeCardsItemStartBreakRequestBuilder) { + return NewItemScheduleTimeCardsItemStartBreakRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_time_cards_request_builder.go b/teams/item_schedule_time_cards_request_builder.go index 070b1cceab1..bdf3121c580 100644 --- a/teams/item_schedule_time_cards_request_builder.go +++ b/teams/item_schedule_time_cards_request_builder.go @@ -46,8 +46,8 @@ type ItemScheduleTimeCardsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTimeCardIdString provides operations to manage the timeCards property of the microsoft.graph.schedule entity. -func (m *ItemScheduleTimeCardsRequestBuilder) ByTimeCardIdString(timeCardId string)(*ItemScheduleTimeCardsTimeCardItemRequestBuilder) { +// ByTimeCardId provides operations to manage the timeCards property of the microsoft.graph.schedule entity. +func (m *ItemScheduleTimeCardsRequestBuilder) ByTimeCardId(timeCardId string)(*ItemScheduleTimeCardsTimeCardItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemScheduleTimeCardsRequestBuilder) 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 *ItemScheduleTimeCardsRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleTimeCardsRequestBuilder) { + return NewItemScheduleTimeCardsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_time_cards_time_card_item_request_builder.go b/teams/item_schedule_time_cards_time_card_item_request_builder.go index 6e50bd217d8..f5459ec06f9 100644 --- a/teams/item_schedule_time_cards_time_card_item_request_builder.go +++ b/teams/item_schedule_time_cards_time_card_item_request_builder.go @@ -178,3 +178,7 @@ func (m *ItemScheduleTimeCardsTimeCardItemRequestBuilder) ToPatchRequestInformat } 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 *ItemScheduleTimeCardsTimeCardItemRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleTimeCardsTimeCardItemRequestBuilder) { + return NewItemScheduleTimeCardsTimeCardItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_time_off_reasons_count_request_builder.go b/teams/item_schedule_time_off_reasons_count_request_builder.go index 689b6d6ad7d..983eaa664bb 100644 --- a/teams/item_schedule_time_off_reasons_count_request_builder.go +++ b/teams/item_schedule_time_off_reasons_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemScheduleTimeOffReasonsCountRequestBuilder) 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 *ItemScheduleTimeOffReasonsCountRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleTimeOffReasonsCountRequestBuilder) { + return NewItemScheduleTimeOffReasonsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_time_off_reasons_request_builder.go b/teams/item_schedule_time_off_reasons_request_builder.go index 64abdafd337..e209ce8b1a2 100644 --- a/teams/item_schedule_time_off_reasons_request_builder.go +++ b/teams/item_schedule_time_off_reasons_request_builder.go @@ -44,8 +44,8 @@ type ItemScheduleTimeOffReasonsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTimeOffReasonIdString provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. -func (m *ItemScheduleTimeOffReasonsRequestBuilder) ByTimeOffReasonIdString(timeOffReasonId string)(*ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) { +// ByTimeOffReasonId provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. +func (m *ItemScheduleTimeOffReasonsRequestBuilder) ByTimeOffReasonId(timeOffReasonId string)(*ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemScheduleTimeOffReasonsRequestBuilder) 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 *ItemScheduleTimeOffReasonsRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleTimeOffReasonsRequestBuilder) { + return NewItemScheduleTimeOffReasonsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_time_off_reasons_time_off_reason_item_request_builder.go b/teams/item_schedule_time_off_reasons_time_off_reason_item_request_builder.go index b2aa260352b..674c4a7effd 100644 --- a/teams/item_schedule_time_off_reasons_time_off_reason_item_request_builder.go +++ b/teams/item_schedule_time_off_reasons_time_off_reason_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToPatchReque } 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 *ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) { + return NewItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_time_off_requests_count_request_builder.go b/teams/item_schedule_time_off_requests_count_request_builder.go index 2d2025456bd..6eb6b541866 100644 --- a/teams/item_schedule_time_off_requests_count_request_builder.go +++ b/teams/item_schedule_time_off_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemScheduleTimeOffRequestsCountRequestBuilder) 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 *ItemScheduleTimeOffRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleTimeOffRequestsCountRequestBuilder) { + return NewItemScheduleTimeOffRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_time_off_requests_request_builder.go b/teams/item_schedule_time_off_requests_request_builder.go index ac2aadee6ba..84621a5d72d 100644 --- a/teams/item_schedule_time_off_requests_request_builder.go +++ b/teams/item_schedule_time_off_requests_request_builder.go @@ -44,8 +44,8 @@ type ItemScheduleTimeOffRequestsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTimeOffRequestIdString provides operations to manage the timeOffRequests property of the microsoft.graph.schedule entity. -func (m *ItemScheduleTimeOffRequestsRequestBuilder) ByTimeOffRequestIdString(timeOffRequestId string)(*ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) { +// ByTimeOffRequestId provides operations to manage the timeOffRequests property of the microsoft.graph.schedule entity. +func (m *ItemScheduleTimeOffRequestsRequestBuilder) ByTimeOffRequestId(timeOffRequestId string)(*ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemScheduleTimeOffRequestsRequestBuilder) 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 *ItemScheduleTimeOffRequestsRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleTimeOffRequestsRequestBuilder) { + return NewItemScheduleTimeOffRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_time_off_requests_time_off_request_item_request_builder.go b/teams/item_schedule_time_off_requests_time_off_request_item_request_builder.go index b68cb6ab5af..df472ee2781 100644 --- a/teams/item_schedule_time_off_requests_time_off_request_item_request_builder.go +++ b/teams/item_schedule_time_off_requests_time_off_request_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) ToPatchReq } 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 *ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) { + return NewItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_times_off_count_request_builder.go b/teams/item_schedule_times_off_count_request_builder.go index 745b9ed46d6..a78d841dfbe 100644 --- a/teams/item_schedule_times_off_count_request_builder.go +++ b/teams/item_schedule_times_off_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemScheduleTimesOffCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemScheduleTimesOffCountRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleTimesOffCountRequestBuilder) { + return NewItemScheduleTimesOffCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_times_off_request_builder.go b/teams/item_schedule_times_off_request_builder.go index 8626e87e975..1fa5eb7ed13 100644 --- a/teams/item_schedule_times_off_request_builder.go +++ b/teams/item_schedule_times_off_request_builder.go @@ -44,8 +44,8 @@ type ItemScheduleTimesOffRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTimeOffIdString provides operations to manage the timesOff property of the microsoft.graph.schedule entity. -func (m *ItemScheduleTimesOffRequestBuilder) ByTimeOffIdString(timeOffId string)(*ItemScheduleTimesOffTimeOffItemRequestBuilder) { +// ByTimeOffId provides operations to manage the timesOff property of the microsoft.graph.schedule entity. +func (m *ItemScheduleTimesOffRequestBuilder) ByTimeOffId(timeOffId string)(*ItemScheduleTimesOffTimeOffItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemScheduleTimesOffRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemScheduleTimesOffRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleTimesOffRequestBuilder) { + return NewItemScheduleTimesOffRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_times_off_time_off_item_request_builder.go b/teams/item_schedule_times_off_time_off_item_request_builder.go index bd7b4b12d8f..b1a06091e61 100644 --- a/teams/item_schedule_times_off_time_off_item_request_builder.go +++ b/teams/item_schedule_times_off_time_off_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemScheduleTimesOffTimeOffItemRequestBuilder) ToPatchRequestInformatio } 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 *ItemScheduleTimesOffTimeOffItemRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleTimesOffTimeOffItemRequestBuilder) { + return NewItemScheduleTimesOffTimeOffItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_send_activity_notification_request_builder.go b/teams/item_send_activity_notification_request_builder.go index 1d9050238f5..72fab9befda 100644 --- a/teams/item_send_activity_notification_request_builder.go +++ b/teams/item_send_activity_notification_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemSendActivityNotificationRequestBuilder) 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 *ItemSendActivityNotificationRequestBuilder) WithUrl(rawUrl string)(*ItemSendActivityNotificationRequestBuilder) { + return NewItemSendActivityNotificationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_tags_count_request_builder.go b/teams/item_tags_count_request_builder.go index 79a6e3b0656..e39788e1333 100644 --- a/teams/item_tags_count_request_builder.go +++ b/teams/item_tags_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTagsCountRequestBuilder) ToGetRequestInformation(ctx context.Contex } 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 *ItemTagsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTagsCountRequestBuilder) { + return NewItemTagsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_tags_item_members_count_request_builder.go b/teams/item_tags_item_members_count_request_builder.go index 9c6cea0eb5b..7a8670b4c00 100644 --- a/teams/item_tags_item_members_count_request_builder.go +++ b/teams/item_tags_item_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTagsItemMembersCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemTagsItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemTagsItemMembersCountRequestBuilder) { + return NewItemTagsItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_tags_item_members_request_builder.go b/teams/item_tags_item_members_request_builder.go index 6d667b720df..d0446f270d7 100644 --- a/teams/item_tags_item_members_request_builder.go +++ b/teams/item_tags_item_members_request_builder.go @@ -46,8 +46,8 @@ type ItemTagsItemMembersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamworkTagMemberIdString provides operations to manage the members property of the microsoft.graph.teamworkTag entity. -func (m *ItemTagsItemMembersRequestBuilder) ByTeamworkTagMemberIdString(teamworkTagMemberId string)(*ItemTagsItemMembersTeamworkTagMemberItemRequestBuilder) { +// ByTeamworkTagMemberId provides operations to manage the members property of the microsoft.graph.teamworkTag entity. +func (m *ItemTagsItemMembersRequestBuilder) ByTeamworkTagMemberId(teamworkTagMemberId string)(*ItemTagsItemMembersTeamworkTagMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTagsItemMembersRequestBuilder) 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 *ItemTagsItemMembersRequestBuilder) WithUrl(rawUrl string)(*ItemTagsItemMembersRequestBuilder) { + return NewItemTagsItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_tags_item_members_teamwork_tag_member_item_request_builder.go b/teams/item_tags_item_members_teamwork_tag_member_item_request_builder.go index 9769d72240d..bfde4bcf953 100644 --- a/teams/item_tags_item_members_teamwork_tag_member_item_request_builder.go +++ b/teams/item_tags_item_members_teamwork_tag_member_item_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemTagsItemMembersTeamworkTagMemberItemRequestBuilder) ToPatchRequestI } 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 *ItemTagsItemMembersTeamworkTagMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemTagsItemMembersTeamworkTagMemberItemRequestBuilder) { + return NewItemTagsItemMembersTeamworkTagMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_tags_request_builder.go b/teams/item_tags_request_builder.go index 80ca598a606..b4adfc99423 100644 --- a/teams/item_tags_request_builder.go +++ b/teams/item_tags_request_builder.go @@ -46,8 +46,8 @@ type ItemTagsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamworkTagIdString provides operations to manage the tags property of the microsoft.graph.team entity. -func (m *ItemTagsRequestBuilder) ByTeamworkTagIdString(teamworkTagId string)(*ItemTagsTeamworkTagItemRequestBuilder) { +// ByTeamworkTagId provides operations to manage the tags property of the microsoft.graph.team entity. +func (m *ItemTagsRequestBuilder) ByTeamworkTagId(teamworkTagId string)(*ItemTagsTeamworkTagItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTagsRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *ItemTagsRequestBuilder) WithUrl(rawUrl string)(*ItemTagsRequestBuilder) { + return NewItemTagsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_tags_teamwork_tag_item_request_builder.go b/teams/item_tags_teamwork_tag_item_request_builder.go index f3e273174d0..0eb837a7f22 100644 --- a/teams/item_tags_teamwork_tag_item_request_builder.go +++ b/teams/item_tags_teamwork_tag_item_request_builder.go @@ -166,3 +166,7 @@ func (m *ItemTagsTeamworkTagItemRequestBuilder) ToPatchRequestInformation(ctx co } 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 *ItemTagsTeamworkTagItemRequestBuilder) WithUrl(rawUrl string)(*ItemTagsTeamworkTagItemRequestBuilder) { + return NewItemTagsTeamworkTagItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_template_definition_request_builder.go b/teams/item_template_definition_request_builder.go index f320135c971..bece12a6035 100644 --- a/teams/item_template_definition_request_builder.go +++ b/teams/item_template_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTemplateDefinitionRequestBuilder) ToGetRequestInformation(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 *ItemTemplateDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemTemplateDefinitionRequestBuilder) { + return NewItemTemplateDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_template_request_builder.go b/teams/item_template_request_builder.go index 5af6346b15e..3a85ab3f107 100644 --- a/teams/item_template_request_builder.go +++ b/teams/item_template_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTemplateRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemTemplateRequestBuilder) WithUrl(rawUrl string)(*ItemTemplateRequestBuilder) { + return NewItemTemplateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_unarchive_request_builder.go b/teams/item_unarchive_request_builder.go index 790fa7f05e2..dec363084a1 100644 --- a/teams/item_unarchive_request_builder.go +++ b/teams/item_unarchive_request_builder.go @@ -30,7 +30,7 @@ func NewItemUnarchiveRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee urlParams["request-raw-url"] = rawUrl return NewItemUnarchiveRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. +// Post restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/team-unarchive?view=graph-rest-1.0 @@ -49,7 +49,7 @@ func (m *ItemUnarchiveRequestBuilder) Post(ctx context.Context, requestConfigura } return nil } -// ToPostRequestInformation restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. +// ToPostRequestInformation restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. func (m *ItemUnarchiveRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemUnarchiveRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -61,3 +61,7 @@ func (m *ItemUnarchiveRequestBuilder) 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 *ItemUnarchiveRequestBuilder) WithUrl(rawUrl string)(*ItemUnarchiveRequestBuilder) { + return NewItemUnarchiveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/team_item_request_builder.go b/teams/team_item_request_builder.go index 604d6f1bd46..840fdd5dece 100644 --- a/teams/team_item_request_builder.go +++ b/teams/team_item_request_builder.go @@ -239,3 +239,7 @@ func (m *TeamItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, func (m *TeamItemRequestBuilder) Unarchive()(*ItemUnarchiveRequestBuilder) { return NewItemUnarchiveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *TeamItemRequestBuilder) WithUrl(rawUrl string)(*TeamItemRequestBuilder) { + return NewTeamItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/teams_request_builder.go b/teams/teams_request_builder.go index 46c42ad807a..8cc262cfb7e 100644 --- a/teams/teams_request_builder.go +++ b/teams/teams_request_builder.go @@ -50,8 +50,8 @@ type TeamsRequestBuilderPostRequestConfiguration struct { func (m *TeamsRequestBuilder) AllMessages()(*AllMessagesRequestBuilder) { return NewAllMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByTeamIdString provides operations to manage the collection of team entities. -func (m *TeamsRequestBuilder) ByTeamIdString(teamId string)(*TeamItemRequestBuilder) { +// ByTeamId provides operations to manage the collection of team entities. +func (m *TeamsRequestBuilder) ByTeamId(teamId string)(*TeamItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -159,3 +159,7 @@ func (m *TeamsRequestBuilder) ToPostRequestInformation(ctx context.Context, body } 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 *TeamsRequestBuilder) WithUrl(rawUrl string)(*TeamsRequestBuilder) { + return NewTeamsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamstemplates/count_request_builder.go b/teamstemplates/count_request_builder.go index b01eb4e3acf..e5d35c8a09c 100644 --- a/teamstemplates/count_request_builder.go +++ b/teamstemplates/count_request_builder.go @@ -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); +} diff --git a/teamstemplates/teams_template_item_request_builder.go b/teamstemplates/teams_template_item_request_builder.go index 8b99d5cc86b..47083f5d769 100644 --- a/teamstemplates/teams_template_item_request_builder.go +++ b/teamstemplates/teams_template_item_request_builder.go @@ -153,3 +153,7 @@ func (m *TeamsTemplateItemRequestBuilder) ToPatchRequestInformation(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 *TeamsTemplateItemRequestBuilder) WithUrl(rawUrl string)(*TeamsTemplateItemRequestBuilder) { + return NewTeamsTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamstemplates/teams_templates_request_builder.go b/teamstemplates/teams_templates_request_builder.go index 12c966ffd65..9daff726661 100644 --- a/teamstemplates/teams_templates_request_builder.go +++ b/teamstemplates/teams_templates_request_builder.go @@ -46,8 +46,8 @@ type TeamsTemplatesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsTemplateIdString provides operations to manage the collection of teamsTemplate entities. -func (m *TeamsTemplatesRequestBuilder) ByTeamsTemplateIdString(teamsTemplateId string)(*TeamsTemplateItemRequestBuilder) { +// ByTeamsTemplateId provides operations to manage the collection of teamsTemplate entities. +func (m *TeamsTemplatesRequestBuilder) ByTeamsTemplateId(teamsTemplateId string)(*TeamsTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TeamsTemplatesRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *TeamsTemplatesRequestBuilder) WithUrl(rawUrl string)(*TeamsTemplatesRequestBuilder) { + return NewTeamsTemplatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/count_request_builder.go b/teamtemplatedefinition/count_request_builder.go index 8f0c1257a51..f628ffa7b78 100644 --- a/teamtemplatedefinition/count_request_builder.go +++ b/teamtemplatedefinition/count_request_builder.go @@ -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); +} diff --git a/teamtemplatedefinition/item_team_definition_all_channels_channel_item_request_builder.go b/teamtemplatedefinition/item_team_definition_all_channels_channel_item_request_builder.go index 04a877241c5..249a9ccdec1 100644 --- a/teamtemplatedefinition/item_team_definition_all_channels_channel_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_all_channels_channel_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamDefinitionAllChannelsChannelItemRequestBuilder) ToGetRequestInf } 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 *ItemTeamDefinitionAllChannelsChannelItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionAllChannelsChannelItemRequestBuilder) { + return NewItemTeamDefinitionAllChannelsChannelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_all_channels_count_request_builder.go b/teamtemplatedefinition/item_team_definition_all_channels_count_request_builder.go index b0cd9e70001..cec96ae5d35 100644 --- a/teamtemplatedefinition/item_team_definition_all_channels_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_all_channels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionAllChannelsCountRequestBuilder) ToGetRequestInformati } 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 *ItemTeamDefinitionAllChannelsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionAllChannelsCountRequestBuilder) { + return NewItemTeamDefinitionAllChannelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_all_channels_request_builder.go b/teamtemplatedefinition/item_team_definition_all_channels_request_builder.go index 054ae08f5b3..27c2754d771 100644 --- a/teamtemplatedefinition/item_team_definition_all_channels_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_all_channels_request_builder.go @@ -39,8 +39,8 @@ type ItemTeamDefinitionAllChannelsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemTeamDefinitionAllChannelsRequestBuilderGetQueryParameters } -// ByChannelIdString provides operations to manage the allChannels property of the microsoft.graph.team entity. -func (m *ItemTeamDefinitionAllChannelsRequestBuilder) ByChannelIdString(channelId string)(*ItemTeamDefinitionAllChannelsChannelItemRequestBuilder) { +// ByChannelId provides operations to manage the allChannels property of the microsoft.graph.team entity. +func (m *ItemTeamDefinitionAllChannelsRequestBuilder) ByChannelId(channelId string)(*ItemTeamDefinitionAllChannelsChannelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemTeamDefinitionAllChannelsRequestBuilder) ToGetRequestInformation(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 *ItemTeamDefinitionAllChannelsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionAllChannelsRequestBuilder) { + return NewItemTeamDefinitionAllChannelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_archive_request_builder.go b/teamtemplatedefinition/item_team_definition_archive_request_builder.go index c2dcbe9315f..32c05483088 100644 --- a/teamtemplatedefinition/item_team_definition_archive_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_archive_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemTeamDefinitionArchiveRequestBuilder) ToPostRequestInformation(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 *ItemTeamDefinitionArchiveRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionArchiveRequestBuilder) { + return NewItemTeamDefinitionArchiveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_all_messages_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_all_messages_request_builder.go index 9c0fb1b4128..ecc931a97e4 100644 --- a/teamtemplatedefinition/item_team_definition_channels_all_messages_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_all_messages_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemTeamDefinitionChannelsAllMessagesRequestBuilder) ToGetRequestInform } 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 *ItemTeamDefinitionChannelsAllMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsAllMessagesRequestBuilder) { + return NewItemTeamDefinitionChannelsAllMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_channel_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_channel_item_request_builder.go index 7e7b3658dff..69cec4b15fb 100644 --- a/teamtemplatedefinition/item_team_definition_channels_channel_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_channel_item_request_builder.go @@ -198,3 +198,7 @@ func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) 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 *ItemTeamDefinitionChannelsChannelItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsChannelItemRequestBuilder) { + return NewItemTeamDefinitionChannelsChannelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_count_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_count_request_builder.go index ae073d49042..17609ba6a5c 100644 --- a/teamtemplatedefinition/item_team_definition_channels_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionChannelsCountRequestBuilder) 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 *ItemTeamDefinitionChannelsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsCountRequestBuilder) { + return NewItemTeamDefinitionChannelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_get_all_messages_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_get_all_messages_request_builder.go index 6543d157c94..0857eca46fb 100644 --- a/teamtemplatedefinition/item_team_definition_channels_get_all_messages_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_get_all_messages_request_builder.go @@ -17,7 +17,7 @@ type ItemTeamDefinitionChannelsGetAllMessagesRequestBuilderGetQueryParameters st // Filter items by property values Filter *string `uriparametername:"%24filter"` // The payment model for the API - Model *string + Model *string `uriparametername:"model"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Search items by search phrases @@ -86,3 +86,7 @@ func (m *ItemTeamDefinitionChannelsGetAllMessagesRequestBuilder) ToGetRequestInf } 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 *ItemTeamDefinitionChannelsGetAllMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsGetAllMessagesRequestBuilder) { + return NewItemTeamDefinitionChannelsGetAllMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_complete_migration_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_complete_migration_request_builder.go index ce495e2cdee..8cec9ca6808 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_complete_migration_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_complete_migration_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamDefinitionChannelsItemCompleteMigrationRequestBuilder) ToPostRe } 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 *ItemTeamDefinitionChannelsItemCompleteMigrationRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemCompleteMigrationRequestBuilder) { + return NewItemTeamDefinitionChannelsItemCompleteMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index e89b5bf07d1..d7bcba4b856 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -13,11 +13,11 @@ type ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantI // ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters invoke function doesUserHaveAccess type ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' - TenantId *string + TenantId *string `uriparametername:"tenantId"` // Usage: userId='@userId' - UserId *string + UserId *string `uriparametername:"userId"` // Usage: userPrincipalName='@userPrincipalName' - UserPrincipalName *string + UserPrincipalName *string `uriparametername:"userPrincipalName"` } // ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration struct { @@ -76,3 +76,7 @@ func (m *ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTen } 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 *ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) { + return NewItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_files_folder_content_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_files_folder_content_request_builder.go index de0ab92e561..e1fc0985dba 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_files_folder_content_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_files_folder_content_request_builder.go @@ -105,3 +105,7 @@ func (m *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) ToPutRe } 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 *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) { + return NewItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_files_folder_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_files_folder_request_builder.go index 894995d5873..b5098f7349b 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_files_folder_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_files_folder_request_builder.go @@ -82,3 +82,7 @@ func (m *ItemTeamDefinitionChannelsItemFilesFolderRequestBuilder) ToGetRequestIn } 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 *ItemTeamDefinitionChannelsItemFilesFolderRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemFilesFolderRequestBuilder) { + return NewItemTeamDefinitionChannelsItemFilesFolderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_members_add_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_members_add_request_builder.go index f882c3ecec7..e34d4fd8cfc 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_members_add_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_members_add_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemTeamDefinitionChannelsItemMembersAddRequestBuilder) ToPostRequestIn } 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 *ItemTeamDefinitionChannelsItemMembersAddRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMembersAddRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_members_conversation_member_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_members_conversation_member_item_request_builder.go index df9add75238..d666b929e7e 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_members_conversation_member_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_members_conversation_member_item_request_builder.go @@ -95,10 +95,10 @@ func (m *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team.or channel. +// Patch update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -145,7 +145,7 @@ func (m *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuild } return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team.or channel. +// ToPatchRequestInformation update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. func (m *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -162,3 +162,7 @@ func (m *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuild } 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 *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_members_count_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_members_count_request_builder.go index 862ea3f0a73..dfaba744e50 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_members_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionChannelsItemMembersCountRequestBuilder) ToGetRequestI } 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 *ItemTeamDefinitionChannelsItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMembersCountRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_members_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_members_request_builder.go index 1445ee4bd10..fc5a2562086 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_members_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_members_request_builder.go @@ -50,8 +50,8 @@ type ItemTeamDefinitionChannelsItemMembersRequestBuilderPostRequestConfiguration func (m *ItemTeamDefinitionChannelsItemMembersRequestBuilder) Add()(*ItemTeamDefinitionChannelsItemMembersAddRequestBuilder) { return NewItemTeamDefinitionChannelsItemMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByConversationMemberIdString provides operations to manage the members property of the microsoft.graph.channel entity. -func (m *ItemTeamDefinitionChannelsItemMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the members property of the microsoft.graph.channel entity. +func (m *ItemTeamDefinitionChannelsItemMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemTeamDefinitionChannelsItemMembersRequestBuilder) ToPostRequestInfor } 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 *ItemTeamDefinitionChannelsItemMembersRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMembersRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_chat_message_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_chat_message_item_request_builder.go index b9c7c7ebdf6..925c91ab32f 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_chat_message_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_chat_message_item_request_builder.go @@ -183,3 +183,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) Un func (m *ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) UnsetReaction()(*ItemTeamDefinitionChannelsItemMessagesItemUnsetReactionRequestBuilder) { return NewItemTeamDefinitionChannelsItemMessagesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_count_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_count_request_builder.go index cac85245f39..89b50b21181 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesCountRequestBuilder) ToGetRequest } 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 *ItemTeamDefinitionChannelsItemMessagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesCountRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_delta_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_delta_request_builder.go index bfdac69d6a2..47a7e434f7f 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_delta_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilder) ToGetRequest } 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 *ItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 880db87d55c..3ba765370cf 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHost } 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 *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_count_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_count_request_builder.go index b1b4cd752fc..3716973f5f2 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsCountRequestBui } 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 *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesItemHostedContentsCountRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go index 6b0cc715ba0..6e697e1562f 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsItemValueConten } 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 *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go index ed8391118a0..f6a587063a9 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilderPostR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageHostedContentIdString provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. -func (m *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentIdString(chatMessageHostedContentId string)(*ItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +func (m *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*ItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder) } 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 *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go index ebe8cec0adb..cc0bdf02114 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go @@ -176,3 +176,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequest func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) UnsetReaction()(*ItemTeamDefinitionChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) { return NewItemTeamDefinitionChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_count_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_count_request_builder.go index f368ae83bf7..949f1dbac95 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesCountRequestBuilder) T } 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 *ItemTeamDefinitionChannelsItemMessagesItemRepliesCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesItemRepliesCountRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesItemRepliesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_delta_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_delta_request_builder.go index 57596d24af5..f7fe92f2ff8 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_delta_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilder) T } 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 *ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 78bd86a1926..6e669574e06 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChat } 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 *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_count_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_count_request_builder.go index 23bd8089d24..4e4a3f2c0f8 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsCoun } 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 *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index 65728ec4790..6b6fdae095c 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsItem } 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 *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go index 7922bf95855..f522bc36614 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageHostedContentIdString provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. -func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentIdString(chatMessageHostedContentId string)(*ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequ } 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 *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_set_reaction_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_set_reaction_request_builder.go index 3382659c275..99baf18a90c 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_set_reaction_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_set_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemSetReactionRequest } 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 *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesItemRepliesItemSetReactionRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesItemRepliesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go index eb4b678080f..e7366a88322 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemSoftDeleteRequestB } 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 *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go index 8f64d458c39..ad4c27b65f1 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequ } 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 *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_unset_reaction_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_unset_reaction_request_builder.go index e6d0d91a00a..ffe6f8fc318 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_unset_reaction_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_unset_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemUnsetReactionReque } 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 *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_request_builder.go index b4e03ea74c3..4e40056cc98 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageId1String provides operations to manage the replies property of the microsoft.graph.chatMessage entity. -func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) ByChatMessageId1String(chatMessageId1 string)(*ItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) { +// ByChatMessageId1 provides operations to manage the replies property of the microsoft.graph.chatMessage entity. +func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) ByChatMessageId1(chatMessageId1 string)(*ItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) ToPost } 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 *ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_set_reaction_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_set_reaction_request_builder.go index 23be0cebbac..6dd2e5f5730 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_set_reaction_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_set_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemSetReactionRequestBuilder) To } 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 *ItemTeamDefinitionChannelsItemMessagesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesItemSetReactionRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_soft_delete_request_builder.go index f0b86abd1b2..5f75b1b2669 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemSoftDeleteRequestBuilder) 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 *ItemTeamDefinitionChannelsItemMessagesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesItemSoftDeleteRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go index 8ab4dd5e2e2..550b914c276 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) } 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 *ItemTeamDefinitionChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_unset_reaction_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_unset_reaction_request_builder.go index d0c52295c5a..239100c4a9f 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_unset_reaction_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_unset_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemUnsetReactionRequestBuilder) } 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 *ItemTeamDefinitionChannelsItemMessagesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesItemUnsetReactionRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_request_builder.go index 2a7356de124..616f94b32f5 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamDefinitionChannelsItemMessagesRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageIdString provides operations to manage the messages property of the microsoft.graph.channel entity. -func (m *ItemTeamDefinitionChannelsItemMessagesRequestBuilder) ByChatMessageIdString(chatMessageId string)(*ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) { +// ByChatMessageId provides operations to manage the messages property of the microsoft.graph.channel entity. +func (m *ItemTeamDefinitionChannelsItemMessagesRequestBuilder) ByChatMessageId(chatMessageId string)(*ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesRequestBuilder) ToPostRequestInfo } 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 *ItemTeamDefinitionChannelsItemMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemMessagesRequestBuilder) { + return NewItemTeamDefinitionChannelsItemMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_provision_email_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_provision_email_request_builder.go index 08e55ff44d3..4fd0b330828 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_provision_email_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_provision_email_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemTeamDefinitionChannelsItemProvisionEmailRequestBuilder) ToPostReque } 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 *ItemTeamDefinitionChannelsItemProvisionEmailRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemProvisionEmailRequestBuilder) { + return NewItemTeamDefinitionChannelsItemProvisionEmailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_remove_email_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_remove_email_request_builder.go index ba693ed5c09..0c9d0da76ea 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_remove_email_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_remove_email_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamDefinitionChannelsItemRemoveEmailRequestBuilder) ToPostRequestI } 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 *ItemTeamDefinitionChannelsItemRemoveEmailRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemRemoveEmailRequestBuilder) { + return NewItemTeamDefinitionChannelsItemRemoveEmailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_count_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_count_request_builder.go index 30da0826399..7125bb0a8f8 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsCountRequestBuilder) ToGet } 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 *ItemTeamDefinitionChannelsItemSharedWithTeamsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemSharedWithTeamsCountRequestBuilder) { + return NewItemTeamDefinitionChannelsItemSharedWithTeamsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go index 2d02f597af4..f38af890c3d 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersConversa } 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 *ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { + return NewItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_count_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_count_request_builder.go index f741799c4f0..2333801387b 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersCountReq } 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 *ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilder) { + return NewItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go index dcdc3b3a82c..4e845c385f4 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go @@ -39,8 +39,8 @@ type ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuild // Request query parameters QueryParameters *ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters } -// ByConversationMemberIdString provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. -func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. +func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestB } 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 *ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) { + return NewItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_team_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_team_request_builder.go index 9dc0690d2c9..1353617694c 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_team_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_team_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsItemTeamRequestBuilder) To } 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 *ItemTeamDefinitionChannelsItemSharedWithTeamsItemTeamRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemSharedWithTeamsItemTeamRequestBuilder) { + return NewItemTeamDefinitionChannelsItemSharedWithTeamsItemTeamRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_request_builder.go index 7ffc8d679f4..3b7d68ae646 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySharedWithChannelTeamInfoIdString provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. -func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder) BySharedWithChannelTeamInfoIdString(sharedWithChannelTeamInfoId string)(*ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { +// BySharedWithChannelTeamInfoId provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. +func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder) BySharedWithChannelTeamInfoId(sharedWithChannelTeamInfoId string)(*ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder) ToPostRequ } 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 *ItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder) { + return NewItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index 1ec4814937a..6f17cb02c26 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -167,3 +167,7 @@ func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoI } 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 *ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { + return NewItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_tabs_count_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_tabs_count_request_builder.go index 1ec1ec145c2..b1e824de243 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_tabs_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_tabs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionChannelsItemTabsCountRequestBuilder) ToGetRequestInfo } 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 *ItemTeamDefinitionChannelsItemTabsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemTabsCountRequestBuilder) { + return NewItemTeamDefinitionChannelsItemTabsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_tabs_item_teams_app_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_tabs_item_teams_app_request_builder.go index c87416c88bd..a576148d6c4 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_tabs_item_teams_app_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_tabs_item_teams_app_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamDefinitionChannelsItemTabsItemTeamsAppRequestBuilder) ToGetRequ } 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 *ItemTeamDefinitionChannelsItemTabsItemTeamsAppRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemTabsItemTeamsAppRequestBuilder) { + return NewItemTeamDefinitionChannelsItemTabsItemTeamsAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_tabs_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_tabs_request_builder.go index 728ddcb8ff6..7bdc437011d 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_tabs_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_tabs_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamDefinitionChannelsItemTabsRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsTabIdString provides operations to manage the tabs property of the microsoft.graph.channel entity. -func (m *ItemTeamDefinitionChannelsItemTabsRequestBuilder) ByTeamsTabIdString(teamsTabId string)(*ItemTeamDefinitionChannelsItemTabsTeamsTabItemRequestBuilder) { +// ByTeamsTabId provides operations to manage the tabs property of the microsoft.graph.channel entity. +func (m *ItemTeamDefinitionChannelsItemTabsRequestBuilder) ByTeamsTabId(teamsTabId string)(*ItemTeamDefinitionChannelsItemTabsTeamsTabItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemTeamDefinitionChannelsItemTabsRequestBuilder) ToPostRequestInformat } 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 *ItemTeamDefinitionChannelsItemTabsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemTabsRequestBuilder) { + return NewItemTeamDefinitionChannelsItemTabsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_tabs_teams_tab_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_tabs_teams_tab_item_request_builder.go index 45574aca5bd..28bc92fb21f 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_tabs_teams_tab_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_tabs_teams_tab_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemTeamDefinitionChannelsItemTabsTeamsTabItemRequestBuilder) ToPatchRe } 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 *ItemTeamDefinitionChannelsItemTabsTeamsTabItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemTabsTeamsTabItemRequestBuilder) { + return NewItemTeamDefinitionChannelsItemTabsTeamsTabItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_request_builder.go index b2cfccc7cf4..a5a0052ae0f 100644 --- a/teamtemplatedefinition/item_team_definition_channels_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_request_builder.go @@ -50,8 +50,8 @@ type ItemTeamDefinitionChannelsRequestBuilderPostRequestConfiguration struct { func (m *ItemTeamDefinitionChannelsRequestBuilder) AllMessages()(*ItemTeamDefinitionChannelsAllMessagesRequestBuilder) { return NewItemTeamDefinitionChannelsAllMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByChannelIdString provides operations to manage the channels property of the microsoft.graph.team entity. -func (m *ItemTeamDefinitionChannelsRequestBuilder) ByChannelIdString(channelId string)(*ItemTeamDefinitionChannelsChannelItemRequestBuilder) { +// ByChannelId provides operations to manage the channels property of the microsoft.graph.team entity. +func (m *ItemTeamDefinitionChannelsRequestBuilder) ByChannelId(channelId string)(*ItemTeamDefinitionChannelsChannelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -159,3 +159,7 @@ func (m *ItemTeamDefinitionChannelsRequestBuilder) 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 *ItemTeamDefinitionChannelsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsRequestBuilder) { + return NewItemTeamDefinitionChannelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_clone_request_builder.go b/teamtemplatedefinition/item_team_definition_clone_request_builder.go index 70e878cd1b6..580a9f002a7 100644 --- a/teamtemplatedefinition/item_team_definition_clone_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_clone_request_builder.go @@ -30,7 +30,7 @@ func NewItemTeamDefinitionCloneRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionCloneRequestBuilderInternal(urlParams, requestAdapter) } -// Post create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state -- they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation.After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. +// Post create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/team-clone?view=graph-rest-1.0 @@ -49,7 +49,7 @@ func (m *ItemTeamDefinitionCloneRequestBuilder) Post(ctx context.Context, body I } return nil } -// ToPostRequestInformation create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state -- they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation.After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. +// ToPostRequestInformation create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. func (m *ItemTeamDefinitionCloneRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamDefinitionClonePostRequestBodyable, requestConfiguration *ItemTeamDefinitionCloneRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -65,3 +65,7 @@ func (m *ItemTeamDefinitionCloneRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemTeamDefinitionCloneRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionCloneRequestBuilder) { + return NewItemTeamDefinitionCloneRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_complete_migration_request_builder.go b/teamtemplatedefinition/item_team_definition_complete_migration_request_builder.go index 8646d7566dc..7261379d57f 100644 --- a/teamtemplatedefinition/item_team_definition_complete_migration_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_complete_migration_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamDefinitionCompleteMigrationRequestBuilder) ToPostRequestInforma } 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 *ItemTeamDefinitionCompleteMigrationRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionCompleteMigrationRequestBuilder) { + return NewItemTeamDefinitionCompleteMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_group_request_builder.go b/teamtemplatedefinition/item_team_definition_group_request_builder.go index 23aa2b5c97e..14a5f8ce8cb 100644 --- a/teamtemplatedefinition/item_team_definition_group_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamDefinitionGroupRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemTeamDefinitionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionGroupRequestBuilder) { + return NewItemTeamDefinitionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_incoming_channels_channel_item_request_builder.go b/teamtemplatedefinition/item_team_definition_incoming_channels_channel_item_request_builder.go index 6bff607c2f2..366ac20d59e 100644 --- a/teamtemplatedefinition/item_team_definition_incoming_channels_channel_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_incoming_channels_channel_item_request_builder.go @@ -113,3 +113,7 @@ func (m *ItemTeamDefinitionIncomingChannelsChannelItemRequestBuilder) ToGetReque } 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 *ItemTeamDefinitionIncomingChannelsChannelItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionIncomingChannelsChannelItemRequestBuilder) { + return NewItemTeamDefinitionIncomingChannelsChannelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_incoming_channels_count_request_builder.go b/teamtemplatedefinition/item_team_definition_incoming_channels_count_request_builder.go index d312a713026..6d5e8d6d30d 100644 --- a/teamtemplatedefinition/item_team_definition_incoming_channels_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_incoming_channels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionIncomingChannelsCountRequestBuilder) ToGetRequestInfo } 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 *ItemTeamDefinitionIncomingChannelsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionIncomingChannelsCountRequestBuilder) { + return NewItemTeamDefinitionIncomingChannelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_incoming_channels_request_builder.go b/teamtemplatedefinition/item_team_definition_incoming_channels_request_builder.go index 026587086a2..cf492cd0f6c 100644 --- a/teamtemplatedefinition/item_team_definition_incoming_channels_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_incoming_channels_request_builder.go @@ -39,8 +39,8 @@ type ItemTeamDefinitionIncomingChannelsRequestBuilderGetRequestConfiguration str // Request query parameters QueryParameters *ItemTeamDefinitionIncomingChannelsRequestBuilderGetQueryParameters } -// ByChannelIdString provides operations to manage the incomingChannels property of the microsoft.graph.team entity. -func (m *ItemTeamDefinitionIncomingChannelsRequestBuilder) ByChannelIdString(channelId string)(*ItemTeamDefinitionIncomingChannelsChannelItemRequestBuilder) { +// ByChannelId provides operations to manage the incomingChannels property of the microsoft.graph.team entity. +func (m *ItemTeamDefinitionIncomingChannelsRequestBuilder) ByChannelId(channelId string)(*ItemTeamDefinitionIncomingChannelsChannelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemTeamDefinitionIncomingChannelsRequestBuilder) ToGetRequestInformati } 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 *ItemTeamDefinitionIncomingChannelsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionIncomingChannelsRequestBuilder) { + return NewItemTeamDefinitionIncomingChannelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_installed_apps_count_request_builder.go b/teamtemplatedefinition/item_team_definition_installed_apps_count_request_builder.go index 40ac47a6a7e..68d581a7f37 100644 --- a/teamtemplatedefinition/item_team_definition_installed_apps_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_installed_apps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionInstalledAppsCountRequestBuilder) ToGetRequestInforma } 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 *ItemTeamDefinitionInstalledAppsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionInstalledAppsCountRequestBuilder) { + return NewItemTeamDefinitionInstalledAppsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_installed_apps_item_teams_app_definition_request_builder.go b/teamtemplatedefinition/item_team_definition_installed_apps_item_teams_app_definition_request_builder.go index e76ac1402e4..df9d2dda6ff 100644 --- a/teamtemplatedefinition/item_team_definition_installed_apps_item_teams_app_definition_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_installed_apps_item_teams_app_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamDefinitionInstalledAppsItemTeamsAppDefinitionRequestBuilder) To } 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 *ItemTeamDefinitionInstalledAppsItemTeamsAppDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionInstalledAppsItemTeamsAppDefinitionRequestBuilder) { + return NewItemTeamDefinitionInstalledAppsItemTeamsAppDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_installed_apps_item_teams_app_request_builder.go b/teamtemplatedefinition/item_team_definition_installed_apps_item_teams_app_request_builder.go index dcf00ff35e1..406d1563df9 100644 --- a/teamtemplatedefinition/item_team_definition_installed_apps_item_teams_app_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_installed_apps_item_teams_app_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamDefinitionInstalledAppsItemTeamsAppRequestBuilder) ToGetRequest } 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 *ItemTeamDefinitionInstalledAppsItemTeamsAppRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionInstalledAppsItemTeamsAppRequestBuilder) { + return NewItemTeamDefinitionInstalledAppsItemTeamsAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_installed_apps_item_upgrade_request_builder.go b/teamtemplatedefinition/item_team_definition_installed_apps_item_upgrade_request_builder.go index 874b2276bd0..d4b34f3d52e 100644 --- a/teamtemplatedefinition/item_team_definition_installed_apps_item_upgrade_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_installed_apps_item_upgrade_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemTeamDefinitionInstalledAppsItemUpgradeRequestBuilder) ToPostRequest } 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 *ItemTeamDefinitionInstalledAppsItemUpgradeRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionInstalledAppsItemUpgradeRequestBuilder) { + return NewItemTeamDefinitionInstalledAppsItemUpgradeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_installed_apps_request_builder.go b/teamtemplatedefinition/item_team_definition_installed_apps_request_builder.go index 1b37b394747..5ab713a6371 100644 --- a/teamtemplatedefinition/item_team_definition_installed_apps_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_installed_apps_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamDefinitionInstalledAppsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsAppInstallationIdString provides operations to manage the installedApps property of the microsoft.graph.team entity. -func (m *ItemTeamDefinitionInstalledAppsRequestBuilder) ByTeamsAppInstallationIdString(teamsAppInstallationId string)(*ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) { +// ByTeamsAppInstallationId provides operations to manage the installedApps property of the microsoft.graph.team entity. +func (m *ItemTeamDefinitionInstalledAppsRequestBuilder) ByTeamsAppInstallationId(teamsAppInstallationId string)(*ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTeamDefinitionInstalledAppsRequestBuilder) 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 *ItemTeamDefinitionInstalledAppsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionInstalledAppsRequestBuilder) { + return NewItemTeamDefinitionInstalledAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_installed_apps_teams_app_installation_item_request_builder.go b/teamtemplatedefinition/item_team_definition_installed_apps_teams_app_installation_item_request_builder.go index edb3670750a..8a2f01a3a15 100644 --- a/teamtemplatedefinition/item_team_definition_installed_apps_teams_app_installation_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_installed_apps_teams_app_installation_item_request_builder.go @@ -171,3 +171,7 @@ func (m *ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) func (m *ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) Upgrade()(*ItemTeamDefinitionInstalledAppsItemUpgradeRequestBuilder) { return NewItemTeamDefinitionInstalledAppsItemUpgradeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) { + return NewItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_members_add_request_builder.go b/teamtemplatedefinition/item_team_definition_members_add_request_builder.go index 00b112acd0f..56685d71561 100644 --- a/teamtemplatedefinition/item_team_definition_members_add_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_members_add_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemTeamDefinitionMembersAddRequestBuilder) 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 *ItemTeamDefinitionMembersAddRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionMembersAddRequestBuilder) { + return NewItemTeamDefinitionMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_members_conversation_member_item_request_builder.go b/teamtemplatedefinition/item_team_definition_members_conversation_member_item_request_builder.go index 20b16b1565f..fefa8876dbe 100644 --- a/teamtemplatedefinition/item_team_definition_members_conversation_member_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_members_conversation_member_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemTeamDefinitionMembersConversationMemberItemRequestBuilder) ToPatchR } 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 *ItemTeamDefinitionMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionMembersConversationMemberItemRequestBuilder) { + return NewItemTeamDefinitionMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_members_count_request_builder.go b/teamtemplatedefinition/item_team_definition_members_count_request_builder.go index 43580e4063e..0d3ac4d84b7 100644 --- a/teamtemplatedefinition/item_team_definition_members_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionMembersCountRequestBuilder) ToGetRequestInformation(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 *ItemTeamDefinitionMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionMembersCountRequestBuilder) { + return NewItemTeamDefinitionMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_members_request_builder.go b/teamtemplatedefinition/item_team_definition_members_request_builder.go index 6f0884e3d65..55a595ee027 100644 --- a/teamtemplatedefinition/item_team_definition_members_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_members_request_builder.go @@ -50,8 +50,8 @@ type ItemTeamDefinitionMembersRequestBuilderPostRequestConfiguration struct { func (m *ItemTeamDefinitionMembersRequestBuilder) Add()(*ItemTeamDefinitionMembersAddRequestBuilder) { return NewItemTeamDefinitionMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByConversationMemberIdString provides operations to manage the members property of the microsoft.graph.team entity. -func (m *ItemTeamDefinitionMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*ItemTeamDefinitionMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the members property of the microsoft.graph.team entity. +func (m *ItemTeamDefinitionMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemTeamDefinitionMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemTeamDefinitionMembersRequestBuilder) ToPostRequestInformation(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 *ItemTeamDefinitionMembersRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionMembersRequestBuilder) { + return NewItemTeamDefinitionMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_operations_count_request_builder.go b/teamtemplatedefinition/item_team_definition_operations_count_request_builder.go index 9485d3c0a9c..19760c4fee3 100644 --- a/teamtemplatedefinition/item_team_definition_operations_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionOperationsCountRequestBuilder) 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 *ItemTeamDefinitionOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionOperationsCountRequestBuilder) { + return NewItemTeamDefinitionOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_operations_request_builder.go b/teamtemplatedefinition/item_team_definition_operations_request_builder.go index 3d1fa37c79d..86d7e11f719 100644 --- a/teamtemplatedefinition/item_team_definition_operations_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_operations_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamDefinitionOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsAsyncOperationIdString provides operations to manage the operations property of the microsoft.graph.team entity. -func (m *ItemTeamDefinitionOperationsRequestBuilder) ByTeamsAsyncOperationIdString(teamsAsyncOperationId string)(*ItemTeamDefinitionOperationsTeamsAsyncOperationItemRequestBuilder) { +// ByTeamsAsyncOperationId provides operations to manage the operations property of the microsoft.graph.team entity. +func (m *ItemTeamDefinitionOperationsRequestBuilder) ByTeamsAsyncOperationId(teamsAsyncOperationId string)(*ItemTeamDefinitionOperationsTeamsAsyncOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTeamDefinitionOperationsRequestBuilder) 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 *ItemTeamDefinitionOperationsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionOperationsRequestBuilder) { + return NewItemTeamDefinitionOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_operations_teams_async_operation_item_request_builder.go b/teamtemplatedefinition/item_team_definition_operations_teams_async_operation_item_request_builder.go index 5dc3d2aed34..4ed684305a4 100644 --- a/teamtemplatedefinition/item_team_definition_operations_teams_async_operation_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_operations_teams_async_operation_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemTeamDefinitionOperationsTeamsAsyncOperationItemRequestBuilder) ToPa } 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 *ItemTeamDefinitionOperationsTeamsAsyncOperationItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionOperationsTeamsAsyncOperationItemRequestBuilder) { + return NewItemTeamDefinitionOperationsTeamsAsyncOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_owners_count_request_builder.go b/teamtemplatedefinition/item_team_definition_owners_count_request_builder.go index 12932950bf7..09c3a472235 100644 --- a/teamtemplatedefinition/item_team_definition_owners_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_owners_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionOwnersCountRequestBuilder) ToGetRequestInformation(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 *ItemTeamDefinitionOwnersCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionOwnersCountRequestBuilder) { + return NewItemTeamDefinitionOwnersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_owners_item_mailbox_settings_request_builder.go b/teamtemplatedefinition/item_team_definition_owners_item_mailbox_settings_request_builder.go index c829048053e..1a2e90fd334 100644 --- a/teamtemplatedefinition/item_team_definition_owners_item_mailbox_settings_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_owners_item_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemTeamDefinitionOwnersItemMailboxSettingsRequestBuilder) ToPatchReque } 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 *ItemTeamDefinitionOwnersItemMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionOwnersItemMailboxSettingsRequestBuilder) { + return NewItemTeamDefinitionOwnersItemMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_owners_request_builder.go b/teamtemplatedefinition/item_team_definition_owners_request_builder.go index 434e7bbe6e5..5370b62c4db 100644 --- a/teamtemplatedefinition/item_team_definition_owners_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_owners_request_builder.go @@ -39,8 +39,8 @@ type ItemTeamDefinitionOwnersRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemTeamDefinitionOwnersRequestBuilderGetQueryParameters } -// ByUserIdString provides operations to manage the owners property of the microsoft.graph.team entity. -func (m *ItemTeamDefinitionOwnersRequestBuilder) ByUserIdString(userId string)(*ItemTeamDefinitionOwnersUserItemRequestBuilder) { +// ByUserId provides operations to manage the owners property of the microsoft.graph.team entity. +func (m *ItemTeamDefinitionOwnersRequestBuilder) ByUserId(userId string)(*ItemTeamDefinitionOwnersUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemTeamDefinitionOwnersRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemTeamDefinitionOwnersRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionOwnersRequestBuilder) { + return NewItemTeamDefinitionOwnersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_owners_user_item_request_builder.go b/teamtemplatedefinition/item_team_definition_owners_user_item_request_builder.go index 0158967f324..9628c4c99ea 100644 --- a/teamtemplatedefinition/item_team_definition_owners_user_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_owners_user_item_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemTeamDefinitionOwnersUserItemRequestBuilder) 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 *ItemTeamDefinitionOwnersUserItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionOwnersUserItemRequestBuilder) { + return NewItemTeamDefinitionOwnersUserItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_permission_grants_count_request_builder.go b/teamtemplatedefinition/item_team_definition_permission_grants_count_request_builder.go index efae8ab0c62..673e6835ced 100644 --- a/teamtemplatedefinition/item_team_definition_permission_grants_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_permission_grants_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionPermissionGrantsCountRequestBuilder) ToGetRequestInfo } 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 *ItemTeamDefinitionPermissionGrantsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPermissionGrantsCountRequestBuilder) { + return NewItemTeamDefinitionPermissionGrantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_permission_grants_delta_request_builder.go b/teamtemplatedefinition/item_team_definition_permission_grants_delta_request_builder.go index b7fd33308e6..f8071948049 100644 --- a/teamtemplatedefinition/item_team_definition_permission_grants_delta_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_permission_grants_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemTeamDefinitionPermissionGrantsDeltaRequestBuilder) ToGetRequestInfo } 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 *ItemTeamDefinitionPermissionGrantsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPermissionGrantsDeltaRequestBuilder) { + return NewItemTeamDefinitionPermissionGrantsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_permission_grants_get_by_ids_request_builder.go b/teamtemplatedefinition/item_team_definition_permission_grants_get_by_ids_request_builder.go index 97441f16a01..c5df6c75e54 100644 --- a/teamtemplatedefinition/item_team_definition_permission_grants_get_by_ids_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_permission_grants_get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemTeamDefinitionPermissionGrantsGetByIdsRequestBuilder) ToPostRequest } 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 *ItemTeamDefinitionPermissionGrantsGetByIdsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPermissionGrantsGetByIdsRequestBuilder) { + return NewItemTeamDefinitionPermissionGrantsGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_permission_grants_get_user_owned_objects_request_builder.go b/teamtemplatedefinition/item_team_definition_permission_grants_get_user_owned_objects_request_builder.go index 44a608d59dd..6d1c9ac3f39 100644 --- a/teamtemplatedefinition/item_team_definition_permission_grants_get_user_owned_objects_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_permission_grants_get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemTeamDefinitionPermissionGrantsGetUserOwnedObjectsRequestBuilder) To } 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 *ItemTeamDefinitionPermissionGrantsGetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPermissionGrantsGetUserOwnedObjectsRequestBuilder) { + return NewItemTeamDefinitionPermissionGrantsGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_permission_grants_item_check_member_groups_request_builder.go b/teamtemplatedefinition/item_team_definition_permission_grants_item_check_member_groups_request_builder.go index 1a3527abfd3..263f876517e 100644 --- a/teamtemplatedefinition/item_team_definition_permission_grants_item_check_member_groups_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_permission_grants_item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemTeamDefinitionPermissionGrantsItemCheckMemberGroupsRequestBuilder) } 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 *ItemTeamDefinitionPermissionGrantsItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPermissionGrantsItemCheckMemberGroupsRequestBuilder) { + return NewItemTeamDefinitionPermissionGrantsItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_permission_grants_item_check_member_objects_request_builder.go b/teamtemplatedefinition/item_team_definition_permission_grants_item_check_member_objects_request_builder.go index 344f833bde0..81efc011acd 100644 --- a/teamtemplatedefinition/item_team_definition_permission_grants_item_check_member_objects_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_permission_grants_item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemTeamDefinitionPermissionGrantsItemCheckMemberObjectsRequestBuilder) } 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 *ItemTeamDefinitionPermissionGrantsItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPermissionGrantsItemCheckMemberObjectsRequestBuilder) { + return NewItemTeamDefinitionPermissionGrantsItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_permission_grants_item_get_member_groups_request_builder.go b/teamtemplatedefinition/item_team_definition_permission_grants_item_get_member_groups_request_builder.go index 0e88e3c1860..29ef1351384 100644 --- a/teamtemplatedefinition/item_team_definition_permission_grants_item_get_member_groups_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_permission_grants_item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemTeamDefinitionPermissionGrantsItemGetMemberGroupsRequestBuilder) To } 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 *ItemTeamDefinitionPermissionGrantsItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPermissionGrantsItemGetMemberGroupsRequestBuilder) { + return NewItemTeamDefinitionPermissionGrantsItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_permission_grants_item_get_member_objects_request_builder.go b/teamtemplatedefinition/item_team_definition_permission_grants_item_get_member_objects_request_builder.go index 38dbe1d7d3f..da822464719 100644 --- a/teamtemplatedefinition/item_team_definition_permission_grants_item_get_member_objects_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_permission_grants_item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemTeamDefinitionPermissionGrantsItemGetMemberObjectsRequestBuilder) T } 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 *ItemTeamDefinitionPermissionGrantsItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPermissionGrantsItemGetMemberObjectsRequestBuilder) { + return NewItemTeamDefinitionPermissionGrantsItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_permission_grants_item_restore_request_builder.go b/teamtemplatedefinition/item_team_definition_permission_grants_item_restore_request_builder.go index 98c0779ecf4..6149a252c86 100644 --- a/teamtemplatedefinition/item_team_definition_permission_grants_item_restore_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_permission_grants_item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemTeamDefinitionPermissionGrantsItemRestoreRequestBuilder) ToPostRequ } 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 *ItemTeamDefinitionPermissionGrantsItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPermissionGrantsItemRestoreRequestBuilder) { + return NewItemTeamDefinitionPermissionGrantsItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_permission_grants_request_builder.go b/teamtemplatedefinition/item_team_definition_permission_grants_request_builder.go index 7dfa8070cf3..e4cbe3040d4 100644 --- a/teamtemplatedefinition/item_team_definition_permission_grants_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_permission_grants_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamDefinitionPermissionGrantsRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByResourceSpecificPermissionGrantIdString provides operations to manage the permissionGrants property of the microsoft.graph.team entity. -func (m *ItemTeamDefinitionPermissionGrantsRequestBuilder) ByResourceSpecificPermissionGrantIdString(resourceSpecificPermissionGrantId string)(*ItemTeamDefinitionPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { +// ByResourceSpecificPermissionGrantId provides operations to manage the permissionGrants property of the microsoft.graph.team entity. +func (m *ItemTeamDefinitionPermissionGrantsRequestBuilder) ByResourceSpecificPermissionGrantId(resourceSpecificPermissionGrantId string)(*ItemTeamDefinitionPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -164,3 +164,7 @@ func (m *ItemTeamDefinitionPermissionGrantsRequestBuilder) ToPostRequestInformat func (m *ItemTeamDefinitionPermissionGrantsRequestBuilder) ValidateProperties()(*ItemTeamDefinitionPermissionGrantsValidatePropertiesRequestBuilder) { return NewItemTeamDefinitionPermissionGrantsValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTeamDefinitionPermissionGrantsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPermissionGrantsRequestBuilder) { + return NewItemTeamDefinitionPermissionGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_permission_grants_resource_specific_permission_grant_item_request_builder.go b/teamtemplatedefinition/item_team_definition_permission_grants_resource_specific_permission_grant_item_request_builder.go index 4d5cee3c655..5959e2417fe 100644 --- a/teamtemplatedefinition/item_team_definition_permission_grants_resource_specific_permission_grant_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_permission_grants_resource_specific_permission_grant_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemTeamDefinitionPermissionGrantsResourceSpecificPermissionGrantItemRe } 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 *ItemTeamDefinitionPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { + return NewItemTeamDefinitionPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_permission_grants_validate_properties_request_builder.go b/teamtemplatedefinition/item_team_definition_permission_grants_validate_properties_request_builder.go index 3b65e805c5e..0e8f6968a51 100644 --- a/teamtemplatedefinition/item_team_definition_permission_grants_validate_properties_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_permission_grants_validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemTeamDefinitionPermissionGrantsValidatePropertiesRequestBuilder) 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 *ItemTeamDefinitionPermissionGrantsValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPermissionGrantsValidatePropertiesRequestBuilder) { + return NewItemTeamDefinitionPermissionGrantsValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_photo_request_builder.go b/teamtemplatedefinition/item_team_definition_photo_request_builder.go index 3c184a12514..cc70db954a4 100644 --- a/teamtemplatedefinition/item_team_definition_photo_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_photo_request_builder.go @@ -122,3 +122,7 @@ func (m *ItemTeamDefinitionPhotoRequestBuilder) ToPatchRequestInformation(ctx co } 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 *ItemTeamDefinitionPhotoRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPhotoRequestBuilder) { + return NewItemTeamDefinitionPhotoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_photo_value_content_request_builder.go b/teamtemplatedefinition/item_team_definition_photo_value_content_request_builder.go index 8530d4df642..57765b9e6f3 100644 --- a/teamtemplatedefinition/item_team_definition_photo_value_content_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_photo_value_content_request_builder.go @@ -100,3 +100,7 @@ func (m *ItemTeamDefinitionPhotoValueContentRequestBuilder) ToPutRequestInformat } 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 *ItemTeamDefinitionPhotoValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPhotoValueContentRequestBuilder) { + return NewItemTeamDefinitionPhotoValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_complete_migration_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_complete_migration_request_builder.go index b1fe8a07409..7478ab1513b 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_complete_migration_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_complete_migration_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamDefinitionPrimaryChannelCompleteMigrationRequestBuilder) ToPost } 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 *ItemTeamDefinitionPrimaryChannelCompleteMigrationRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelCompleteMigrationRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelCompleteMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index ed355280c7c..3c0ce626dc3 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -13,11 +13,11 @@ type ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenan // ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters invoke function doesUserHaveAccess type ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' - TenantId *string + TenantId *string `uriparametername:"tenantId"` // Usage: userId='@userId' - UserId *string + UserId *string `uriparametername:"userId"` // Usage: userPrincipalName='@userPrincipalName' - UserPrincipalName *string + UserPrincipalName *string `uriparametername:"userPrincipalName"` } // ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration struct { @@ -76,3 +76,7 @@ func (m *ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdT } 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 *ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_content_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_content_request_builder.go index 4b165018bba..0598590470b 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_content_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_content_request_builder.go @@ -105,3 +105,7 @@ func (m *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) ToPut } 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 *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_request_builder.go index 3f7c76624cd..ea63c78ef15 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_request_builder.go @@ -82,3 +82,7 @@ func (m *ItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder) ToGetRequest } 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 *ItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_members_add_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_members_add_request_builder.go index 7ae9568edc9..7a05c1c53da 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_members_add_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_members_add_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMembersAddRequestBuilder) ToPostRequest } 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 *ItemTeamDefinitionPrimaryChannelMembersAddRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMembersAddRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_members_conversation_member_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_members_conversation_member_item_request_builder.go index 2777a107e40..bbc5e62f01f 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_members_conversation_member_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_members_conversation_member_item_request_builder.go @@ -95,10 +95,10 @@ func (m *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team.or channel. +// Patch update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -145,7 +145,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBui } return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team.or channel. +// ToPatchRequestInformation update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. func (m *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -162,3 +162,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBui } 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 *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_members_count_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_members_count_request_builder.go index a45d622bc91..622e9c4473a 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_members_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMembersCountRequestBuilder) ToGetReques } 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 *ItemTeamDefinitionPrimaryChannelMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMembersCountRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_members_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_members_request_builder.go index 2953f70bbe4..7ed17fc9484 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_members_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_members_request_builder.go @@ -50,8 +50,8 @@ type ItemTeamDefinitionPrimaryChannelMembersRequestBuilderPostRequestConfigurati func (m *ItemTeamDefinitionPrimaryChannelMembersRequestBuilder) Add()(*ItemTeamDefinitionPrimaryChannelMembersAddRequestBuilder) { return NewItemTeamDefinitionPrimaryChannelMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByConversationMemberIdString provides operations to manage the members property of the microsoft.graph.channel entity. -func (m *ItemTeamDefinitionPrimaryChannelMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the members property of the microsoft.graph.channel entity. +func (m *ItemTeamDefinitionPrimaryChannelMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMembersRequestBuilder) ToPostRequestInf } 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 *ItemTeamDefinitionPrimaryChannelMembersRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMembersRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_chat_message_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_chat_message_item_request_builder.go index fe199cffca2..71223c80e1e 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_chat_message_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_chat_message_item_request_builder.go @@ -183,3 +183,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) func (m *ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) UnsetReaction()(*ItemTeamDefinitionPrimaryChannelMessagesItemUnsetReactionRequestBuilder) { return NewItemTeamDefinitionPrimaryChannelMessagesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_count_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_count_request_builder.go index 5054a0223bf..d95bbfdd854 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesCountRequestBuilder) ToGetReque } 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 *ItemTeamDefinitionPrimaryChannelMessagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesCountRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_delta_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_delta_request_builder.go index 23e92d291b5..ce155e731bd 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_delta_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilder) ToGetReque } 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 *ItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 455d2a35202..3af0e9940d3 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHo } 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 *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_count_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_count_request_builder.go index 72d1b88087b..3f04ff116b8 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsCountRequestB } 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 *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsCountRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go index c94aa5030f9..a170122d740 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsItemValueCont } 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 *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go index 42b1b4a7b8c..bcdee38a624 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilderPos // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageHostedContentIdString provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. -func (m *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentIdString(chatMessageHostedContentId string)(*ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +func (m *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilde } 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 *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go index b023d5f8c03..27059b5373b 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go @@ -176,3 +176,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemReque func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) UnsetReaction()(*ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder) { return NewItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_count_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_count_request_builder.go index 034183e1aab..b2eb6befae8 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesCountRequestBuilder) } 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 *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesItemRepliesCountRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesItemRepliesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go index 881da19d311..eccc90f75bd 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) } 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 *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index e701c75e921..38273621160 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsCh } 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 *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_count_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_count_request_builder.go index dba9772c9d0..d039c6e534d 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsCo } 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 *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsCountRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index 08e17b2465b..09236bb724a 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsIt } 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 *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go index 9a8cc605829..6261ab7a87b 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageHostedContentIdString provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. -func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentIdString(chatMessageHostedContentId string)(*ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRe } 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 *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_set_reaction_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_set_reaction_request_builder.go index 45215672d43..b29a08225b1 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_set_reaction_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_set_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemSetReactionReque } 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 *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemSetReactionRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go index 2126f636fcf..d6a2e441c00 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemSoftDeleteReques } 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 *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go index b96f8526083..afab4ce2dc5 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRe } 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 *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go index effdc961292..684cb984e78 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUnsetReactionReq } 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 *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_request_builder.go index 9b6297c8c37..5c536aad827 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageId1String provides operations to manage the replies property of the microsoft.graph.chatMessage entity. -func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) ByChatMessageId1String(chatMessageId1 string)(*ItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) { +// ByChatMessageId1 provides operations to manage the replies property of the microsoft.graph.chatMessage entity. +func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) ByChatMessageId1(chatMessageId1 string)(*ItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) ToPo } 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 *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_set_reaction_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_set_reaction_request_builder.go index 8838e7e9d30..cee559292d8 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_set_reaction_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_set_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemSetReactionRequestBuilder) } 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 *ItemTeamDefinitionPrimaryChannelMessagesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesItemSetReactionRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go index e5b2770d0a1..abbfa16bc69 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemSoftDeleteRequestBuilder) T } 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 *ItemTeamDefinitionPrimaryChannelMessagesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesItemSoftDeleteRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go index 9476241392d..3fb5315d0df 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilde } 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 *ItemTeamDefinitionPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_unset_reaction_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_unset_reaction_request_builder.go index bb152ad9311..781056b98de 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_unset_reaction_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_unset_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemUnsetReactionRequestBuilder } 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 *ItemTeamDefinitionPrimaryChannelMessagesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesItemUnsetReactionRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_request_builder.go index 8d21f44d896..9054aca244c 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamDefinitionPrimaryChannelMessagesRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageIdString provides operations to manage the messages property of the microsoft.graph.channel entity. -func (m *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) ByChatMessageIdString(chatMessageId string)(*ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) { +// ByChatMessageId provides operations to manage the messages property of the microsoft.graph.channel entity. +func (m *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) ByChatMessageId(chatMessageId string)(*ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) ToPostRequestIn } 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 *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_provision_email_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_provision_email_request_builder.go index ef861511eaf..497873c0ed9 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_provision_email_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_provision_email_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemTeamDefinitionPrimaryChannelProvisionEmailRequestBuilder) ToPostReq } 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 *ItemTeamDefinitionPrimaryChannelProvisionEmailRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelProvisionEmailRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelProvisionEmailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_remove_email_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_remove_email_request_builder.go index a0b28622ba1..7b996ab2cdd 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_remove_email_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_remove_email_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemTeamDefinitionPrimaryChannelRemoveEmailRequestBuilder) ToPostReques } 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 *ItemTeamDefinitionPrimaryChannelRemoveEmailRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelRemoveEmailRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelRemoveEmailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_request_builder.go index 51e933c4ae6..5309a72a9fe 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_request_builder.go @@ -192,3 +192,7 @@ func (m *ItemTeamDefinitionPrimaryChannelRequestBuilder) ToPatchRequestInformati } 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 *ItemTeamDefinitionPrimaryChannelRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_count_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_count_request_builder.go index 5aba2c99e17..065bdae7b73 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsCountRequestBuilder) ToG } 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 *ItemTeamDefinitionPrimaryChannelSharedWithTeamsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelSharedWithTeamsCountRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelSharedWithTeamsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go index 81dae2081b8..91a6ff0e1b8 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersConver } 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 *ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_count_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_count_request_builder.go index 15e24ab8742..301ad8941b5 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersCountR } 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 *ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersCountRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go index 42c13e2f0b0..fa42df8be3b 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go @@ -39,8 +39,8 @@ type ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBui // Request query parameters QueryParameters *ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters } -// ByConversationMemberIdString provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. -func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. +func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersReques } 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 *ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_team_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_team_request_builder.go index 60801b078e7..71360a2b966 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_team_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_team_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemTeamRequestBuilder) } 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 *ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemTeamRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemTeamRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelSharedWithTeamsItemTeamRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_request_builder.go index e092a3f2e89..b0e3e3883a8 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySharedWithChannelTeamInfoIdString provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. -func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder) BySharedWithChannelTeamInfoIdString(sharedWithChannelTeamInfoId string)(*ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { +// BySharedWithChannelTeamInfoId provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. +func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder) BySharedWithChannelTeamInfoId(sharedWithChannelTeamInfoId string)(*ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder) ToPostRe } 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 *ItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index f185b98a52a..dbc9959daf6 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -167,3 +167,7 @@ func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInf } 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 *ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_tabs_count_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_tabs_count_request_builder.go index 3438f6bab27..7dfd71ced9b 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_tabs_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_tabs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionPrimaryChannelTabsCountRequestBuilder) ToGetRequestIn } 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 *ItemTeamDefinitionPrimaryChannelTabsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelTabsCountRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelTabsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_tabs_item_teams_app_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_tabs_item_teams_app_request_builder.go index e04af290491..036761e997f 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_tabs_item_teams_app_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_tabs_item_teams_app_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamDefinitionPrimaryChannelTabsItemTeamsAppRequestBuilder) ToGetRe } 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 *ItemTeamDefinitionPrimaryChannelTabsItemTeamsAppRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelTabsItemTeamsAppRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelTabsItemTeamsAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_tabs_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_tabs_request_builder.go index 12b0d6c88e5..ee38800f7cc 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_tabs_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_tabs_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamDefinitionPrimaryChannelTabsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsTabIdString provides operations to manage the tabs property of the microsoft.graph.channel entity. -func (m *ItemTeamDefinitionPrimaryChannelTabsRequestBuilder) ByTeamsTabIdString(teamsTabId string)(*ItemTeamDefinitionPrimaryChannelTabsTeamsTabItemRequestBuilder) { +// ByTeamsTabId provides operations to manage the tabs property of the microsoft.graph.channel entity. +func (m *ItemTeamDefinitionPrimaryChannelTabsRequestBuilder) ByTeamsTabId(teamsTabId string)(*ItemTeamDefinitionPrimaryChannelTabsTeamsTabItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemTeamDefinitionPrimaryChannelTabsRequestBuilder) ToPostRequestInform } 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 *ItemTeamDefinitionPrimaryChannelTabsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelTabsRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelTabsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_tabs_teams_tab_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_tabs_teams_tab_item_request_builder.go index c42202756cf..16b74beba7d 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_tabs_teams_tab_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_tabs_teams_tab_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemTeamDefinitionPrimaryChannelTabsTeamsTabItemRequestBuilder) ToPatch } 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 *ItemTeamDefinitionPrimaryChannelTabsTeamsTabItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelTabsTeamsTabItemRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelTabsTeamsTabItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_request_builder.go b/teamtemplatedefinition/item_team_definition_request_builder.go index 27c5fe150f9..88f0cf79d2f 100644 --- a/teamtemplatedefinition/item_team_definition_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_request_builder.go @@ -236,3 +236,7 @@ func (m *ItemTeamDefinitionRequestBuilder) ToPatchRequestInformation(ctx context func (m *ItemTeamDefinitionRequestBuilder) Unarchive()(*ItemTeamDefinitionUnarchiveRequestBuilder) { return NewItemTeamDefinitionUnarchiveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTeamDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionRequestBuilder) { + return NewItemTeamDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_count_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_count_request_builder.go index 7b8636fc6da..799d61fe288 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionScheduleOfferShiftRequestsCountRequestBuilder) ToGetR } 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 *ItemTeamDefinitionScheduleOfferShiftRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleOfferShiftRequestsCountRequestBuilder) { + return NewItemTeamDefinitionScheduleOfferShiftRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go index 1dfd354002b..bee75916a8f 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemReques } 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 *ItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) { + return NewItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_request_builder.go index a2429327e80..3745244241f 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOfferShiftRequestIdString provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. -func (m *ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) ByOfferShiftRequestIdString(offerShiftRequestId string)(*ItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) { +// ByOfferShiftRequestId provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. +func (m *ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) ByOfferShiftRequestId(offerShiftRequestId string)(*ItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) ToPostReque } 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 *ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) { + return NewItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_count_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_count_request_builder.go index 9ccaeb189d0..ec053d9acb2 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftChangeRequestsCountRequestBuilder) T } 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 *ItemTeamDefinitionScheduleOpenShiftChangeRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleOpenShiftChangeRequestsCountRequestBuilder) { + return NewItemTeamDefinitionScheduleOpenShiftChangeRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go index 9fc52177671..9240391f01f 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequest } 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 *ItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) { + return NewItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_request_builder.go index 2e3a575ab4f..c4c9f50ac57 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOpenShiftChangeRequestIdString provides operations to manage the openShiftChangeRequests property of the microsoft.graph.schedule entity. -func (m *ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) ByOpenShiftChangeRequestIdString(openShiftChangeRequestId string)(*ItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) { +// ByOpenShiftChangeRequestId provides operations to manage the openShiftChangeRequests property of the microsoft.graph.schedule entity. +func (m *ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) ByOpenShiftChangeRequestId(openShiftChangeRequestId string)(*ItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) ToPost } 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 *ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) { + return NewItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_open_shifts_count_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_open_shifts_count_request_builder.go index 063b60cec66..182cb312db1 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_open_shifts_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_open_shifts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftsCountRequestBuilder) ToGetRequestIn } 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 *ItemTeamDefinitionScheduleOpenShiftsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleOpenShiftsCountRequestBuilder) { + return NewItemTeamDefinitionScheduleOpenShiftsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go index ee238b9631a..a0f7ffe8280 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) ToPatc } 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 *ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) { + return NewItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_open_shifts_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_open_shifts_request_builder.go index 3b3f9f1ad17..8ef1fa200bf 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_open_shifts_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_open_shifts_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamDefinitionScheduleOpenShiftsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOpenShiftIdString provides operations to manage the openShifts property of the microsoft.graph.schedule entity. -func (m *ItemTeamDefinitionScheduleOpenShiftsRequestBuilder) ByOpenShiftIdString(openShiftId string)(*ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) { +// ByOpenShiftId provides operations to manage the openShifts property of the microsoft.graph.schedule entity. +func (m *ItemTeamDefinitionScheduleOpenShiftsRequestBuilder) ByOpenShiftId(openShiftId string)(*ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftsRequestBuilder) ToPostRequestInform } 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 *ItemTeamDefinitionScheduleOpenShiftsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleOpenShiftsRequestBuilder) { + return NewItemTeamDefinitionScheduleOpenShiftsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_request_builder.go index 4976d729492..c898ce23fa0 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_request_builder.go @@ -200,3 +200,7 @@ func (m *ItemTeamDefinitionScheduleRequestBuilder) ToPutRequestInformation(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 *ItemTeamDefinitionScheduleRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleRequestBuilder) { + return NewItemTeamDefinitionScheduleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_count_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_count_request_builder.go index 002359d6c30..38afff64f18 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionScheduleSchedulingGroupsCountRequestBuilder) ToGetReq } 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 *ItemTeamDefinitionScheduleSchedulingGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleSchedulingGroupsCountRequestBuilder) { + return NewItemTeamDefinitionScheduleSchedulingGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_request_builder.go index f8b7186a40f..91b3fa89519 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_request_builder.go @@ -44,8 +44,8 @@ type ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySchedulingGroupIdString provides operations to manage the schedulingGroups property of the microsoft.graph.schedule entity. -func (m *ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) BySchedulingGroupIdString(schedulingGroupId string)(*ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) { +// BySchedulingGroupId provides operations to manage the schedulingGroups property of the microsoft.graph.schedule entity. +func (m *ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) BySchedulingGroupId(schedulingGroupId string)(*ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) ToPostRequest } 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 *ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) { + return NewItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go index 346fd2fdd99..cb643a504c0 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBui } 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 *ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) { + return NewItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_share_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_share_request_builder.go index e03220ac848..847619a3fc2 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_share_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_share_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemTeamDefinitionScheduleShareRequestBuilder) 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 *ItemTeamDefinitionScheduleShareRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleShareRequestBuilder) { + return NewItemTeamDefinitionScheduleShareRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_shifts_count_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_shifts_count_request_builder.go index dcd65416bf1..9c522bcbac6 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_shifts_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_shifts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionScheduleShiftsCountRequestBuilder) ToGetRequestInform } 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 *ItemTeamDefinitionScheduleShiftsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleShiftsCountRequestBuilder) { + return NewItemTeamDefinitionScheduleShiftsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_shifts_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_shifts_request_builder.go index f4317b8ba15..5ce5eb6a39d 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_shifts_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_shifts_request_builder.go @@ -44,8 +44,8 @@ type ItemTeamDefinitionScheduleShiftsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByShiftIdString provides operations to manage the shifts property of the microsoft.graph.schedule entity. -func (m *ItemTeamDefinitionScheduleShiftsRequestBuilder) ByShiftIdString(shiftId string)(*ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) { +// ByShiftId provides operations to manage the shifts property of the microsoft.graph.schedule entity. +func (m *ItemTeamDefinitionScheduleShiftsRequestBuilder) ByShiftId(shiftId string)(*ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemTeamDefinitionScheduleShiftsRequestBuilder) ToPostRequestInformatio } 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 *ItemTeamDefinitionScheduleShiftsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleShiftsRequestBuilder) { + return NewItemTeamDefinitionScheduleShiftsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_shifts_shift_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_shifts_shift_item_request_builder.go index a28e152f988..00ceeef34f3 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_shifts_shift_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_shifts_shift_item_request_builder.go @@ -93,7 +93,7 @@ func (m *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) Get(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable), nil } -// Patch replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift cannot be less than 1 minute or longer than 24 hours. +// Patch replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/shift-put?view=graph-rest-1.0 @@ -143,7 +143,7 @@ func (m *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) ToGetRequestIn } return requestInfo, nil } -// ToPatchRequestInformation replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift cannot be less than 1 minute or longer than 24 hours. +// ToPatchRequestInformation replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. func (m *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, requestConfiguration *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -160,3 +160,7 @@ func (m *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) ToPatchRequest } 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 *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) { + return NewItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_count_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_count_request_builder.go index 2eaad5becd1..a8152b4673a 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsCountRequestBuilder) } 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 *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleSwapShiftsChangeRequestsCountRequestBuilder) { + return NewItemTeamDefinitionScheduleSwapShiftsChangeRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_request_builder.go index a0058cf7dc4..6f48faf3ebb 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySwapShiftsChangeRequestIdString provides operations to manage the swapShiftsChangeRequests property of the microsoft.graph.schedule entity. -func (m *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) BySwapShiftsChangeRequestIdString(swapShiftsChangeRequestId string)(*ItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) { +// BySwapShiftsChangeRequestId provides operations to manage the swapShiftsChangeRequests property of the microsoft.graph.schedule entity. +func (m *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) BySwapShiftsChangeRequestId(swapShiftsChangeRequestId string)(*ItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) ToPos } 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 *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) { + return NewItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go index 5a6ef12a3df..03a4cdb6826 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeReque } 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 *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) { + return NewItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_cards_clock_in_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_cards_clock_in_request_builder.go index c9928bc85eb..6b7084a1f62 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_cards_clock_in_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_cards_clock_in_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsClockInRequestBuilder) ToPostRequest } 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 *ItemTeamDefinitionScheduleTimeCardsClockInRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleTimeCardsClockInRequestBuilder) { + return NewItemTeamDefinitionScheduleTimeCardsClockInRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_cards_count_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_cards_count_request_builder.go index 4596a4528b1..05e9104bc86 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_cards_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_cards_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsCountRequestBuilder) ToGetRequestInf } 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 *ItemTeamDefinitionScheduleTimeCardsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleTimeCardsCountRequestBuilder) { + return NewItemTeamDefinitionScheduleTimeCardsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_clock_out_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_clock_out_request_builder.go index 28dc5966bee..5849762e85b 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_clock_out_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_clock_out_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsItemClockOutRequestBuilder) ToPostRe } 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 *ItemTeamDefinitionScheduleTimeCardsItemClockOutRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleTimeCardsItemClockOutRequestBuilder) { + return NewItemTeamDefinitionScheduleTimeCardsItemClockOutRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_confirm_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_confirm_request_builder.go index 3de36bc678f..947f59e03c3 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_confirm_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_confirm_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsItemConfirmRequestBuilder) ToPostReq } 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 *ItemTeamDefinitionScheduleTimeCardsItemConfirmRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleTimeCardsItemConfirmRequestBuilder) { + return NewItemTeamDefinitionScheduleTimeCardsItemConfirmRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_end_break_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_end_break_request_builder.go index 07eca015596..1a2e586244d 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_end_break_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_end_break_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsItemEndBreakRequestBuilder) ToPostRe } 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 *ItemTeamDefinitionScheduleTimeCardsItemEndBreakRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleTimeCardsItemEndBreakRequestBuilder) { + return NewItemTeamDefinitionScheduleTimeCardsItemEndBreakRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_start_break_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_start_break_request_builder.go index 1cb250411d8..2bc7638612f 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_start_break_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_start_break_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsItemStartBreakRequestBuilder) ToPost } 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 *ItemTeamDefinitionScheduleTimeCardsItemStartBreakRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleTimeCardsItemStartBreakRequestBuilder) { + return NewItemTeamDefinitionScheduleTimeCardsItemStartBreakRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_cards_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_cards_request_builder.go index b7c80cf1adc..fc00d2673a5 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_cards_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_cards_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamDefinitionScheduleTimeCardsRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTimeCardIdString provides operations to manage the timeCards property of the microsoft.graph.schedule entity. -func (m *ItemTeamDefinitionScheduleTimeCardsRequestBuilder) ByTimeCardIdString(timeCardId string)(*ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) { +// ByTimeCardId provides operations to manage the timeCards property of the microsoft.graph.schedule entity. +func (m *ItemTeamDefinitionScheduleTimeCardsRequestBuilder) ByTimeCardId(timeCardId string)(*ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsRequestBuilder) ToPostRequestInforma } 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 *ItemTeamDefinitionScheduleTimeCardsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleTimeCardsRequestBuilder) { + return NewItemTeamDefinitionScheduleTimeCardsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_cards_time_card_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_cards_time_card_item_request_builder.go index f391d140897..84edf2a7165 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_cards_time_card_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_cards_time_card_item_request_builder.go @@ -178,3 +178,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) ToPatchR } 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 *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) { + return NewItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_count_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_count_request_builder.go index d54c39a896a..813fc6af5b4 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffReasonsCountRequestBuilder) ToGetReque } 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 *ItemTeamDefinitionScheduleTimeOffReasonsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleTimeOffReasonsCountRequestBuilder) { + return NewItemTeamDefinitionScheduleTimeOffReasonsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_request_builder.go index 0d609fe868b..8522e8ec648 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_request_builder.go @@ -44,8 +44,8 @@ type ItemTeamDefinitionScheduleTimeOffReasonsRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTimeOffReasonIdString provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. -func (m *ItemTeamDefinitionScheduleTimeOffReasonsRequestBuilder) ByTimeOffReasonIdString(timeOffReasonId string)(*ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) { +// ByTimeOffReasonId provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. +func (m *ItemTeamDefinitionScheduleTimeOffReasonsRequestBuilder) ByTimeOffReasonId(timeOffReasonId string)(*ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffReasonsRequestBuilder) ToPostRequestIn } 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 *ItemTeamDefinitionScheduleTimeOffReasonsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleTimeOffReasonsRequestBuilder) { + return NewItemTeamDefinitionScheduleTimeOffReasonsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go index 645c81d488c..b525072855a 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder } 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 *ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) { + return NewItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_count_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_count_request_builder.go index e5af10dc03b..aa289459947 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffRequestsCountRequestBuilder) ToGetRequ } 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 *ItemTeamDefinitionScheduleTimeOffRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleTimeOffRequestsCountRequestBuilder) { + return NewItemTeamDefinitionScheduleTimeOffRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_request_builder.go index c5deca4b3d5..f389881ad10 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_request_builder.go @@ -44,8 +44,8 @@ type ItemTeamDefinitionScheduleTimeOffRequestsRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTimeOffRequestIdString provides operations to manage the timeOffRequests property of the microsoft.graph.schedule entity. -func (m *ItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder) ByTimeOffRequestIdString(timeOffRequestId string)(*ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) { +// ByTimeOffRequestId provides operations to manage the timeOffRequests property of the microsoft.graph.schedule entity. +func (m *ItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder) ByTimeOffRequestId(timeOffRequestId string)(*ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder) ToPostRequestI } 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 *ItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder) { + return NewItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go index 9c61b1f276f..ea4c65eefdd 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuild } 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 *ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) { + return NewItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_times_off_count_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_times_off_count_request_builder.go index dcb66d559d4..252969b14b3 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_times_off_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_times_off_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionScheduleTimesOffCountRequestBuilder) ToGetRequestInfo } 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 *ItemTeamDefinitionScheduleTimesOffCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleTimesOffCountRequestBuilder) { + return NewItemTeamDefinitionScheduleTimesOffCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_times_off_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_times_off_request_builder.go index e1753358810..cca0957a225 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_times_off_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_times_off_request_builder.go @@ -44,8 +44,8 @@ type ItemTeamDefinitionScheduleTimesOffRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTimeOffIdString provides operations to manage the timesOff property of the microsoft.graph.schedule entity. -func (m *ItemTeamDefinitionScheduleTimesOffRequestBuilder) ByTimeOffIdString(timeOffId string)(*ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) { +// ByTimeOffId provides operations to manage the timesOff property of the microsoft.graph.schedule entity. +func (m *ItemTeamDefinitionScheduleTimesOffRequestBuilder) ByTimeOffId(timeOffId string)(*ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemTeamDefinitionScheduleTimesOffRequestBuilder) ToPostRequestInformat } 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 *ItemTeamDefinitionScheduleTimesOffRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleTimesOffRequestBuilder) { + return NewItemTeamDefinitionScheduleTimesOffRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_times_off_time_off_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_times_off_time_off_item_request_builder.go index 5866f0f1c8f..c6e08dd8d49 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_times_off_time_off_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_times_off_time_off_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) ToPatchReq } 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 *ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) { + return NewItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_send_activity_notification_request_builder.go b/teamtemplatedefinition/item_team_definition_send_activity_notification_request_builder.go index 2129301b842..1d5d73a932f 100644 --- a/teamtemplatedefinition/item_team_definition_send_activity_notification_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_send_activity_notification_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemTeamDefinitionSendActivityNotificationRequestBuilder) ToPostRequest } 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 *ItemTeamDefinitionSendActivityNotificationRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionSendActivityNotificationRequestBuilder) { + return NewItemTeamDefinitionSendActivityNotificationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_tags_count_request_builder.go b/teamtemplatedefinition/item_team_definition_tags_count_request_builder.go index 6147570515f..8aff5b3ec59 100644 --- a/teamtemplatedefinition/item_team_definition_tags_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_tags_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionTagsCountRequestBuilder) ToGetRequestInformation(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 *ItemTeamDefinitionTagsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionTagsCountRequestBuilder) { + return NewItemTeamDefinitionTagsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_tags_item_members_count_request_builder.go b/teamtemplatedefinition/item_team_definition_tags_item_members_count_request_builder.go index 8ecc01ee4e4..71355967a5a 100644 --- a/teamtemplatedefinition/item_team_definition_tags_item_members_count_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_tags_item_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamDefinitionTagsItemMembersCountRequestBuilder) ToGetRequestInfor } 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 *ItemTeamDefinitionTagsItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionTagsItemMembersCountRequestBuilder) { + return NewItemTeamDefinitionTagsItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_tags_item_members_request_builder.go b/teamtemplatedefinition/item_team_definition_tags_item_members_request_builder.go index 4a8d6214714..817a91526b6 100644 --- a/teamtemplatedefinition/item_team_definition_tags_item_members_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_tags_item_members_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamDefinitionTagsItemMembersRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamworkTagMemberIdString provides operations to manage the members property of the microsoft.graph.teamworkTag entity. -func (m *ItemTeamDefinitionTagsItemMembersRequestBuilder) ByTeamworkTagMemberIdString(teamworkTagMemberId string)(*ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) { +// ByTeamworkTagMemberId provides operations to manage the members property of the microsoft.graph.teamworkTag entity. +func (m *ItemTeamDefinitionTagsItemMembersRequestBuilder) ByTeamworkTagMemberId(teamworkTagMemberId string)(*ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTeamDefinitionTagsItemMembersRequestBuilder) ToPostRequestInformati } 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 *ItemTeamDefinitionTagsItemMembersRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionTagsItemMembersRequestBuilder) { + return NewItemTeamDefinitionTagsItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go b/teamtemplatedefinition/item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go index 4a4d543def9..9ae5fcebb32 100644 --- a/teamtemplatedefinition/item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) T } 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 *ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) { + return NewItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_tags_request_builder.go b/teamtemplatedefinition/item_team_definition_tags_request_builder.go index d29ba0e8696..91c1df02704 100644 --- a/teamtemplatedefinition/item_team_definition_tags_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_tags_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamDefinitionTagsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamworkTagIdString provides operations to manage the tags property of the microsoft.graph.team entity. -func (m *ItemTeamDefinitionTagsRequestBuilder) ByTeamworkTagIdString(teamworkTagId string)(*ItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) { +// ByTeamworkTagId provides operations to manage the tags property of the microsoft.graph.team entity. +func (m *ItemTeamDefinitionTagsRequestBuilder) ByTeamworkTagId(teamworkTagId string)(*ItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTeamDefinitionTagsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemTeamDefinitionTagsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionTagsRequestBuilder) { + return NewItemTeamDefinitionTagsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_tags_teamwork_tag_item_request_builder.go b/teamtemplatedefinition/item_team_definition_tags_teamwork_tag_item_request_builder.go index 0f9c1664fe2..28bd59dbb55 100644 --- a/teamtemplatedefinition/item_team_definition_tags_teamwork_tag_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_tags_teamwork_tag_item_request_builder.go @@ -166,3 +166,7 @@ func (m *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) 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 *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) { + return NewItemTeamDefinitionTagsTeamworkTagItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_template_definition_request_builder.go b/teamtemplatedefinition/item_team_definition_template_definition_request_builder.go index 5cbac7c5d18..97451c34ea9 100644 --- a/teamtemplatedefinition/item_team_definition_template_definition_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_template_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamDefinitionTemplateDefinitionRequestBuilder) ToGetRequestInforma } 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 *ItemTeamDefinitionTemplateDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionTemplateDefinitionRequestBuilder) { + return NewItemTeamDefinitionTemplateDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_template_request_builder.go b/teamtemplatedefinition/item_team_definition_template_request_builder.go index f491b695d0f..d4e76b79e69 100644 --- a/teamtemplatedefinition/item_team_definition_template_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_template_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamDefinitionTemplateRequestBuilder) ToGetRequestInformation(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 *ItemTeamDefinitionTemplateRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionTemplateRequestBuilder) { + return NewItemTeamDefinitionTemplateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_unarchive_request_builder.go b/teamtemplatedefinition/item_team_definition_unarchive_request_builder.go index 190b4c4460a..cda6a4a787e 100644 --- a/teamtemplatedefinition/item_team_definition_unarchive_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_unarchive_request_builder.go @@ -30,7 +30,7 @@ func NewItemTeamDefinitionUnarchiveRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionUnarchiveRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. +// Post restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/team-unarchive?view=graph-rest-1.0 @@ -49,7 +49,7 @@ func (m *ItemTeamDefinitionUnarchiveRequestBuilder) Post(ctx context.Context, re } return nil } -// ToPostRequestInformation restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. +// ToPostRequestInformation restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. func (m *ItemTeamDefinitionUnarchiveRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionUnarchiveRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -61,3 +61,7 @@ func (m *ItemTeamDefinitionUnarchiveRequestBuilder) 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 *ItemTeamDefinitionUnarchiveRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionUnarchiveRequestBuilder) { + return NewItemTeamDefinitionUnarchiveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/team_template_definition_item_request_builder.go b/teamtemplatedefinition/team_template_definition_item_request_builder.go index efccbf14225..39a8436a291 100644 --- a/teamtemplatedefinition/team_template_definition_item_request_builder.go +++ b/teamtemplatedefinition/team_template_definition_item_request_builder.go @@ -157,3 +157,7 @@ func (m *TeamTemplateDefinitionItemRequestBuilder) ToPatchRequestInformation(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 *TeamTemplateDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplateDefinitionItemRequestBuilder) { + return NewTeamTemplateDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/team_template_definition_request_builder.go b/teamtemplatedefinition/team_template_definition_request_builder.go index c099e548e5b..a163f9aaecc 100644 --- a/teamtemplatedefinition/team_template_definition_request_builder.go +++ b/teamtemplatedefinition/team_template_definition_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplateDefinitionRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamTemplateDefinitionIdString provides operations to manage the collection of teamTemplateDefinition entities. -func (m *TeamTemplateDefinitionRequestBuilder) ByTeamTemplateDefinitionIdString(teamTemplateDefinitionId string)(*TeamTemplateDefinitionItemRequestBuilder) { +// ByTeamTemplateDefinitionId provides operations to manage the collection of teamTemplateDefinition entities. +func (m *TeamTemplateDefinitionRequestBuilder) ByTeamTemplateDefinitionId(teamTemplateDefinitionId string)(*TeamTemplateDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TeamTemplateDefinitionRequestBuilder) ToPostRequestInformation(ctx cont } 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 *TeamTemplateDefinitionRequestBuilder) WithUrl(rawUrl string)(*TeamTemplateDefinitionRequestBuilder) { + return NewTeamTemplateDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_chats_count_request_builder.go b/teamwork/deleted_chats_count_request_builder.go index 67eb5b9f9d6..d612c204a63 100644 --- a/teamwork/deleted_chats_count_request_builder.go +++ b/teamwork/deleted_chats_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeletedChatsCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *DeletedChatsCountRequestBuilder) WithUrl(rawUrl string)(*DeletedChatsCountRequestBuilder) { + return NewDeletedChatsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_chats_deleted_chat_item_request_builder.go b/teamwork/deleted_chats_deleted_chat_item_request_builder.go index 2e8faa5fe42..16b8a440750 100644 --- a/teamwork/deleted_chats_deleted_chat_item_request_builder.go +++ b/teamwork/deleted_chats_deleted_chat_item_request_builder.go @@ -18,7 +18,7 @@ type DeletedChatsDeletedChatItemRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeletedChatsDeletedChatItemRequestBuilderGetQueryParameters get deletedChats from teamwork +// DeletedChatsDeletedChatItemRequestBuilderGetQueryParameters read the properties and relationships of a deletedChat object. type DeletedChatsDeletedChatItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,10 @@ func (m *DeletedChatsDeletedChatItemRequestBuilder) Delete(ctx context.Context, } return nil } -// Get get deletedChats from teamwork +// Get read the properties and relationships of a deletedChat object. +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/deletedchat-get?view=graph-rest-1.0 func (m *DeletedChatsDeletedChatItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedChatsDeletedChatItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeletedChatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -120,7 +123,7 @@ func (m *DeletedChatsDeletedChatItemRequestBuilder) ToDeleteRequestInformation(c } return requestInfo, nil } -// ToGetRequestInformation get deletedChats from teamwork +// ToGetRequestInformation read the properties and relationships of a deletedChat object. func (m *DeletedChatsDeletedChatItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedChatsDeletedChatItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -157,3 +160,7 @@ func (m *DeletedChatsDeletedChatItemRequestBuilder) ToPatchRequestInformation(ct func (m *DeletedChatsDeletedChatItemRequestBuilder) UndoDelete()(*DeletedChatsItemUndoDeleteRequestBuilder) { return NewDeletedChatsItemUndoDeleteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DeletedChatsDeletedChatItemRequestBuilder) WithUrl(rawUrl string)(*DeletedChatsDeletedChatItemRequestBuilder) { + return NewDeletedChatsDeletedChatItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_chats_item_undo_delete_request_builder.go b/teamwork/deleted_chats_item_undo_delete_request_builder.go index e0e7ac186e8..dd121f704e8 100644 --- a/teamwork/deleted_chats_item_undo_delete_request_builder.go +++ b/teamwork/deleted_chats_item_undo_delete_request_builder.go @@ -30,7 +30,10 @@ func NewDeletedChatsItemUndoDeleteRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewDeletedChatsItemUndoDeleteRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action undoDelete +// Post restore a deletedChat to an active chat. +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/deletedchat-undodelete?view=graph-rest-1.0 func (m *DeletedChatsItemUndoDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *DeletedChatsItemUndoDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -46,7 +49,7 @@ func (m *DeletedChatsItemUndoDeleteRequestBuilder) Post(ctx context.Context, req } return nil } -// ToPostRequestInformation invoke action undoDelete +// ToPostRequestInformation restore a deletedChat to an active chat. func (m *DeletedChatsItemUndoDeleteRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *DeletedChatsItemUndoDeleteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -58,3 +61,7 @@ func (m *DeletedChatsItemUndoDeleteRequestBuilder) 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 *DeletedChatsItemUndoDeleteRequestBuilder) WithUrl(rawUrl string)(*DeletedChatsItemUndoDeleteRequestBuilder) { + return NewDeletedChatsItemUndoDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_chats_request_builder.go b/teamwork/deleted_chats_request_builder.go index 09a2c114646..276b3dc73e5 100644 --- a/teamwork/deleted_chats_request_builder.go +++ b/teamwork/deleted_chats_request_builder.go @@ -11,7 +11,7 @@ import ( type DeletedChatsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedChatsRequestBuilderGetQueryParameters get deletedChats from teamwork +// DeletedChatsRequestBuilderGetQueryParameters read the properties and relationships of a deletedChat object. type DeletedChatsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type DeletedChatsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeletedChatIdString provides operations to manage the deletedChats property of the microsoft.graph.teamwork entity. -func (m *DeletedChatsRequestBuilder) ByDeletedChatIdString(deletedChatId string)(*DeletedChatsDeletedChatItemRequestBuilder) { +// ByDeletedChatId provides operations to manage the deletedChats property of the microsoft.graph.teamwork entity. +func (m *DeletedChatsRequestBuilder) ByDeletedChatId(deletedChatId string)(*DeletedChatsDeletedChatItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,7 +74,7 @@ func NewDeletedChatsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 func (m *DeletedChatsRequestBuilder) Count()(*DeletedChatsCountRequestBuilder) { return NewDeletedChatsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get deletedChats from teamwork +// Get read the properties and relationships of a deletedChat object. func (m *DeletedChatsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedChatsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeletedChatCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +112,7 @@ func (m *DeletedChatsRequestBuilder) Post(ctx context.Context, body ie233ee762e2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeletedChatable), nil } -// ToGetRequestInformation get deletedChats from teamwork +// ToGetRequestInformation read the properties and relationships of a deletedChat object. func (m *DeletedChatsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedChatsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -145,3 +145,7 @@ func (m *DeletedChatsRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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 *DeletedChatsRequestBuilder) WithUrl(rawUrl string)(*DeletedChatsRequestBuilder) { + return NewDeletedChatsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_count_request_builder.go b/teamwork/deleted_teams_count_request_builder.go index 5ed6b14527c..21fcc0db608 100644 --- a/teamwork/deleted_teams_count_request_builder.go +++ b/teamwork/deleted_teams_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeletedTeamsCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *DeletedTeamsCountRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsCountRequestBuilder) { + return NewDeletedTeamsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_deleted_team_item_request_builder.go b/teamwork/deleted_teams_deleted_team_item_request_builder.go index 7554e56b9de..de2cc85d86d 100644 --- a/teamwork/deleted_teams_deleted_team_item_request_builder.go +++ b/teamwork/deleted_teams_deleted_team_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DeletedTeamsDeletedTeamItemRequestBuilder) ToPatchRequestInformation(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 *DeletedTeamsDeletedTeamItemRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsDeletedTeamItemRequestBuilder) { + return NewDeletedTeamsDeletedTeamItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_get_all_messages_request_builder.go b/teamwork/deleted_teams_get_all_messages_request_builder.go index 453eb06de4f..c05a8614101 100644 --- a/teamwork/deleted_teams_get_all_messages_request_builder.go +++ b/teamwork/deleted_teams_get_all_messages_request_builder.go @@ -17,7 +17,7 @@ type DeletedTeamsGetAllMessagesRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` // The payment model for the API - Model *string + Model *string `uriparametername:"model"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Search items by search phrases @@ -86,3 +86,7 @@ func (m *DeletedTeamsGetAllMessagesRequestBuilder) ToGetRequestInformation(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 *DeletedTeamsGetAllMessagesRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsGetAllMessagesRequestBuilder) { + return NewDeletedTeamsGetAllMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_all_messages_request_builder.go b/teamwork/deleted_teams_item_channels_all_messages_request_builder.go index f4a99d59140..c878f844e20 100644 --- a/teamwork/deleted_teams_item_channels_all_messages_request_builder.go +++ b/teamwork/deleted_teams_item_channels_all_messages_request_builder.go @@ -84,3 +84,7 @@ func (m *DeletedTeamsItemChannelsAllMessagesRequestBuilder) ToGetRequestInformat } 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 *DeletedTeamsItemChannelsAllMessagesRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsAllMessagesRequestBuilder) { + return NewDeletedTeamsItemChannelsAllMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_channel_item_request_builder.go b/teamwork/deleted_teams_item_channels_channel_item_request_builder.go index 34f3080a620..b40b8e63c47 100644 --- a/teamwork/deleted_teams_item_channels_channel_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_channel_item_request_builder.go @@ -189,3 +189,7 @@ func (m *DeletedTeamsItemChannelsChannelItemRequestBuilder) ToPatchRequestInform } 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 *DeletedTeamsItemChannelsChannelItemRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsChannelItemRequestBuilder) { + return NewDeletedTeamsItemChannelsChannelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_count_request_builder.go b/teamwork/deleted_teams_item_channels_count_request_builder.go index 5f87551f9dd..334f2b498a0 100644 --- a/teamwork/deleted_teams_item_channels_count_request_builder.go +++ b/teamwork/deleted_teams_item_channels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeletedTeamsItemChannelsCountRequestBuilder) ToGetRequestInformation(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 *DeletedTeamsItemChannelsCountRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsCountRequestBuilder) { + return NewDeletedTeamsItemChannelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_get_all_messages_request_builder.go b/teamwork/deleted_teams_item_channels_get_all_messages_request_builder.go index 99f3a62b1e7..58768ecd728 100644 --- a/teamwork/deleted_teams_item_channels_get_all_messages_request_builder.go +++ b/teamwork/deleted_teams_item_channels_get_all_messages_request_builder.go @@ -17,7 +17,7 @@ type DeletedTeamsItemChannelsGetAllMessagesRequestBuilderGetQueryParameters stru // Filter items by property values Filter *string `uriparametername:"%24filter"` // The payment model for the API - Model *string + Model *string `uriparametername:"model"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Search items by search phrases @@ -86,3 +86,7 @@ func (m *DeletedTeamsItemChannelsGetAllMessagesRequestBuilder) ToGetRequestInfor } 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 *DeletedTeamsItemChannelsGetAllMessagesRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsGetAllMessagesRequestBuilder) { + return NewDeletedTeamsItemChannelsGetAllMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_complete_migration_request_builder.go b/teamwork/deleted_teams_item_channels_item_complete_migration_request_builder.go index 094128c85cc..532b3ecf100 100644 --- a/teamwork/deleted_teams_item_channels_item_complete_migration_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_complete_migration_request_builder.go @@ -61,3 +61,7 @@ func (m *DeletedTeamsItemChannelsItemCompleteMigrationRequestBuilder) ToPostRequ } 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 *DeletedTeamsItemChannelsItemCompleteMigrationRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemCompleteMigrationRequestBuilder) { + return NewDeletedTeamsItemChannelsItemCompleteMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/teamwork/deleted_teams_item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index 199539dc7d3..2612487ac8c 100644 --- a/teamwork/deleted_teams_item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -13,11 +13,11 @@ type DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdU // DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters invoke function doesUserHaveAccess type DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' - TenantId *string + TenantId *string `uriparametername:"tenantId"` // Usage: userId='@userId' - UserId *string + UserId *string `uriparametername:"userId"` // Usage: userPrincipalName='@userPrincipalName' - UserPrincipalName *string + UserPrincipalName *string `uriparametername:"userPrincipalName"` } // DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration struct { @@ -76,3 +76,7 @@ func (m *DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenan } 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 *DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) { + return NewDeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_files_folder_content_request_builder.go b/teamwork/deleted_teams_item_channels_item_files_folder_content_request_builder.go index e434c16dc1f..c8700ff2868 100644 --- a/teamwork/deleted_teams_item_channels_item_files_folder_content_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_files_folder_content_request_builder.go @@ -105,3 +105,7 @@ func (m *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilder) ToPutRequ } 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 *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilder) { + return NewDeletedTeamsItemChannelsItemFilesFolderContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_files_folder_request_builder.go b/teamwork/deleted_teams_item_channels_item_files_folder_request_builder.go index 5c80ef1e42b..e8cbeb00689 100644 --- a/teamwork/deleted_teams_item_channels_item_files_folder_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_files_folder_request_builder.go @@ -82,3 +82,7 @@ func (m *DeletedTeamsItemChannelsItemFilesFolderRequestBuilder) ToGetRequestInfo } 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 *DeletedTeamsItemChannelsItemFilesFolderRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemFilesFolderRequestBuilder) { + return NewDeletedTeamsItemChannelsItemFilesFolderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_members_add_request_builder.go b/teamwork/deleted_teams_item_channels_item_members_add_request_builder.go index a0c4b71bd1c..446e98d6dc7 100644 --- a/teamwork/deleted_teams_item_channels_item_members_add_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_members_add_request_builder.go @@ -69,3 +69,7 @@ func (m *DeletedTeamsItemChannelsItemMembersAddRequestBuilder) ToPostRequestInfo } 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 *DeletedTeamsItemChannelsItemMembersAddRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMembersAddRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_members_conversation_member_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_members_conversation_member_item_request_builder.go index 165b706b228..4ba42a52d9f 100644 --- a/teamwork/deleted_teams_item_channels_item_members_conversation_member_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_members_conversation_member_item_request_builder.go @@ -95,10 +95,10 @@ func (m *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team.or channel. +// Patch update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -145,7 +145,7 @@ func (m *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder } return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team.or channel. +// ToPatchRequestInformation update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. func (m *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -162,3 +162,7 @@ func (m *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder } 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 *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_members_count_request_builder.go b/teamwork/deleted_teams_item_channels_item_members_count_request_builder.go index 1a39b8b32b0..ac3db96727b 100644 --- a/teamwork/deleted_teams_item_channels_item_members_count_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeletedTeamsItemChannelsItemMembersCountRequestBuilder) ToGetRequestInf } 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 *DeletedTeamsItemChannelsItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMembersCountRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_members_request_builder.go b/teamwork/deleted_teams_item_channels_item_members_request_builder.go index e5bba8849c3..6c99007e53f 100644 --- a/teamwork/deleted_teams_item_channels_item_members_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_members_request_builder.go @@ -50,8 +50,8 @@ type DeletedTeamsItemChannelsItemMembersRequestBuilderPostRequestConfiguration s func (m *DeletedTeamsItemChannelsItemMembersRequestBuilder) Add()(*DeletedTeamsItemChannelsItemMembersAddRequestBuilder) { return NewDeletedTeamsItemChannelsItemMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByConversationMemberIdString provides operations to manage the members property of the microsoft.graph.channel entity. -func (m *DeletedTeamsItemChannelsItemMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the members property of the microsoft.graph.channel entity. +func (m *DeletedTeamsItemChannelsItemMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *DeletedTeamsItemChannelsItemMembersRequestBuilder) ToPostRequestInforma } 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 *DeletedTeamsItemChannelsItemMembersRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMembersRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_chat_message_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_chat_message_item_request_builder.go index 1e63a216126..cf157850584 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_chat_message_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_chat_message_item_request_builder.go @@ -183,3 +183,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilder) Undo func (m *DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilder) UnsetReaction()(*DeletedTeamsItemChannelsItemMessagesItemUnsetReactionRequestBuilder) { return NewDeletedTeamsItemChannelsItemMessagesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_count_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_count_request_builder.go index 7b1024c9c6f..c05646e8ee6 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_count_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesCountRequestBuilder) ToGetRequestIn } 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 *DeletedTeamsItemChannelsItemMessagesCountRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesCountRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_delta_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_delta_request_builder.go index 771cba772da..b23d89e808d 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_delta_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesDeltaRequestBuilder) ToGetRequestIn } 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 *DeletedTeamsItemChannelsItemMessagesDeltaRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesDeltaRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 390b5420ca0..d53f78d50dd 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -160,3 +160,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemHostedContentsChatMessageHosted } 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 *DeletedTeamsItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_count_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_count_request_builder.go index 0ac2d1a957d..d7df63f3f38 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_count_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemHostedContentsCountRequestBuild } 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 *DeletedTeamsItemChannelsItemMessagesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesItemHostedContentsCountRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go index 53a624ee0a1..90820386b29 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemHostedContentsItemValueContentR } 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 *DeletedTeamsItemChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_request_builder.go index ab70baf0def..7331e9fd7c5 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_request_builder.go @@ -46,8 +46,8 @@ type DeletedTeamsItemChannelsItemMessagesItemHostedContentsRequestBuilderPostReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageHostedContentIdString provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. -func (m *DeletedTeamsItemChannelsItemMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentIdString(chatMessageHostedContentId string)(*DeletedTeamsItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +func (m *DeletedTeamsItemChannelsItemMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*DeletedTeamsItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemHostedContentsRequestBuilder) T } 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 *DeletedTeamsItemChannelsItemMessagesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesItemHostedContentsRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_chat_message_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_chat_message_item_request_builder.go index bc0b22681b8..b89ef1b0dfd 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_chat_message_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_chat_message_item_request_builder.go @@ -176,3 +176,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesChatMessageItemRequestBu func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) UnsetReaction()(*DeletedTeamsItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) { return NewDeletedTeamsItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_count_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_count_request_builder.go index 1d1d4b79c9b..df60714a86f 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_count_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesCountRequestBuilder) ToG } 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 *DeletedTeamsItemChannelsItemMessagesItemRepliesCountRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesItemRepliesCountRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesItemRepliesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_delta_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_delta_request_builder.go index 974f4dd9405..bb7833e7c5d 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_delta_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaRequestBuilder) ToG } 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 *DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesItemRepliesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 82000258d13..bf99cf65d91 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -160,3 +160,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsChatMe } 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 *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_count_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_count_request_builder.go index 412c8d81792..f5c663211b5 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_count_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsCountR } 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 *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index 9894a17da17..0830baa77b1 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsItemVa } 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 *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go index 676bb909c43..114c220ae05 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go @@ -46,8 +46,8 @@ type DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageHostedContentIdString provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. -func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentIdString(chatMessageHostedContentId string)(*DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsReques } 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 *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_set_reaction_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_set_reaction_request_builder.go index 5451f0cce9a..9df1c202b39 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_set_reaction_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_set_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemSetReactionRequestBu } 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 *DeletedTeamsItemChannelsItemMessagesItemRepliesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesItemRepliesItemSetReactionRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesItemRepliesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_soft_delete_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_soft_delete_request_builder.go index c9e5b7c6c19..6012c07c128 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_soft_delete_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemSoftDeleteRequestBui } 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 *DeletedTeamsItemChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go index c6af3a4156a..b86068c4668 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemUndoSoftDeleteReques } 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 *DeletedTeamsItemChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_unset_reaction_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_unset_reaction_request_builder.go index 052e39ac2c1..3eef0dee0bb 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_unset_reaction_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_unset_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemUnsetReactionRequest } 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 *DeletedTeamsItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_request_builder.go index 236033107e4..935b7ae64ad 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_request_builder.go @@ -46,8 +46,8 @@ type DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageId1String provides operations to manage the replies property of the microsoft.graph.chatMessage entity. -func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder) ByChatMessageId1String(chatMessageId1 string)(*DeletedTeamsItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) { +// ByChatMessageId1 provides operations to manage the replies property of the microsoft.graph.chatMessage entity. +func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder) ByChatMessageId1(chatMessageId1 string)(*DeletedTeamsItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder) ToPostRe } 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 *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_set_reaction_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_set_reaction_request_builder.go index a05eb0d9fec..4d537b438bf 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_set_reaction_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_set_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemSetReactionRequestBuilder) ToPo } 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 *DeletedTeamsItemChannelsItemMessagesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesItemSetReactionRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_soft_delete_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_soft_delete_request_builder.go index adecff1f2f8..5754a0ac99e 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_soft_delete_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemSoftDeleteRequestBuilder) ToPos } 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 *DeletedTeamsItemChannelsItemMessagesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesItemSoftDeleteRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_undo_soft_delete_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_undo_soft_delete_request_builder.go index 1591da75657..004884b7ceb 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_undo_soft_delete_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_undo_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) T } 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 *DeletedTeamsItemChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_unset_reaction_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_unset_reaction_request_builder.go index 861ae36ad16..6b981605c7e 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_unset_reaction_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_unset_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemUnsetReactionRequestBuilder) To } 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 *DeletedTeamsItemChannelsItemMessagesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesItemUnsetReactionRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_request_builder.go index 4c98e8b4299..7269c4fe9d0 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_request_builder.go @@ -46,8 +46,8 @@ type DeletedTeamsItemChannelsItemMessagesRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageIdString provides operations to manage the messages property of the microsoft.graph.channel entity. -func (m *DeletedTeamsItemChannelsItemMessagesRequestBuilder) ByChatMessageIdString(chatMessageId string)(*DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilder) { +// ByChatMessageId provides operations to manage the messages property of the microsoft.graph.channel entity. +func (m *DeletedTeamsItemChannelsItemMessagesRequestBuilder) ByChatMessageId(chatMessageId string)(*DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesRequestBuilder) ToPostRequestInform } 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 *DeletedTeamsItemChannelsItemMessagesRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_provision_email_request_builder.go b/teamwork/deleted_teams_item_channels_item_provision_email_request_builder.go index c0606fd9d4a..1bdfe9e7cc7 100644 --- a/teamwork/deleted_teams_item_channels_item_provision_email_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_provision_email_request_builder.go @@ -66,3 +66,7 @@ func (m *DeletedTeamsItemChannelsItemProvisionEmailRequestBuilder) ToPostRequest } 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 *DeletedTeamsItemChannelsItemProvisionEmailRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemProvisionEmailRequestBuilder) { + return NewDeletedTeamsItemChannelsItemProvisionEmailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_remove_email_request_builder.go b/teamwork/deleted_teams_item_channels_item_remove_email_request_builder.go index 7cdefe35827..9c280bfe360 100644 --- a/teamwork/deleted_teams_item_channels_item_remove_email_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_remove_email_request_builder.go @@ -61,3 +61,7 @@ func (m *DeletedTeamsItemChannelsItemRemoveEmailRequestBuilder) ToPostRequestInf } 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 *DeletedTeamsItemChannelsItemRemoveEmailRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemRemoveEmailRequestBuilder) { + return NewDeletedTeamsItemChannelsItemRemoveEmailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_shared_with_teams_count_request_builder.go b/teamwork/deleted_teams_item_channels_item_shared_with_teams_count_request_builder.go index 3524fa446f7..00fd2eb0a79 100644 --- a/teamwork/deleted_teams_item_channels_item_shared_with_teams_count_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_shared_with_teams_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeletedTeamsItemChannelsItemSharedWithTeamsCountRequestBuilder) ToGetRe } 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 *DeletedTeamsItemChannelsItemSharedWithTeamsCountRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemSharedWithTeamsCountRequestBuilder) { + return NewDeletedTeamsItemChannelsItemSharedWithTeamsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go index d042c7d932f..15958a8c0e1 100644 --- a/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go @@ -75,3 +75,7 @@ func (m *DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersConversati } 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 *DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { + return NewDeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_count_request_builder.go b/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_count_request_builder.go index 45ca3449f98..fffb9700df4 100644 --- a/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_count_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersCountReque } 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 *DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilder) { + return NewDeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_request_builder.go b/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_request_builder.go index b2e762814f9..440022c87e5 100644 --- a/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_request_builder.go @@ -39,8 +39,8 @@ type DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder // Request query parameters QueryParameters *DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters } -// ByConversationMemberIdString provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. -func (m *DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. +func (m *DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBui } 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 *DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) { + return NewDeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_team_request_builder.go b/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_team_request_builder.go index b2ba90217d7..a6aac4b905f 100644 --- a/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_team_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_team_request_builder.go @@ -75,3 +75,7 @@ func (m *DeletedTeamsItemChannelsItemSharedWithTeamsItemTeamRequestBuilder) ToGe } 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 *DeletedTeamsItemChannelsItemSharedWithTeamsItemTeamRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemSharedWithTeamsItemTeamRequestBuilder) { + return NewDeletedTeamsItemChannelsItemSharedWithTeamsItemTeamRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_shared_with_teams_request_builder.go b/teamwork/deleted_teams_item_channels_item_shared_with_teams_request_builder.go index 84b97d05ac1..299c6a74565 100644 --- a/teamwork/deleted_teams_item_channels_item_shared_with_teams_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_shared_with_teams_request_builder.go @@ -46,8 +46,8 @@ type DeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySharedWithChannelTeamInfoIdString provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. -func (m *DeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilder) BySharedWithChannelTeamInfoIdString(sharedWithChannelTeamInfoId string)(*DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { +// BySharedWithChannelTeamInfoId provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. +func (m *DeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilder) BySharedWithChannelTeamInfoId(sharedWithChannelTeamInfoId string)(*DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *DeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilder) ToPostReques } 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 *DeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilder) { + return NewDeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index e2563e44078..b240899fa3a 100644 --- a/teamwork/deleted_teams_item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -167,3 +167,7 @@ func (m *DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoIte } 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 *DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { + return NewDeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_tabs_count_request_builder.go b/teamwork/deleted_teams_item_channels_item_tabs_count_request_builder.go index 556b0cc9c00..47aaf55b7c1 100644 --- a/teamwork/deleted_teams_item_channels_item_tabs_count_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_tabs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DeletedTeamsItemChannelsItemTabsCountRequestBuilder) ToGetRequestInform } 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 *DeletedTeamsItemChannelsItemTabsCountRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemTabsCountRequestBuilder) { + return NewDeletedTeamsItemChannelsItemTabsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_tabs_item_teams_app_request_builder.go b/teamwork/deleted_teams_item_channels_item_tabs_item_teams_app_request_builder.go index c38b28c3708..e52166316b6 100644 --- a/teamwork/deleted_teams_item_channels_item_tabs_item_teams_app_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_tabs_item_teams_app_request_builder.go @@ -75,3 +75,7 @@ func (m *DeletedTeamsItemChannelsItemTabsItemTeamsAppRequestBuilder) ToGetReques } 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 *DeletedTeamsItemChannelsItemTabsItemTeamsAppRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemTabsItemTeamsAppRequestBuilder) { + return NewDeletedTeamsItemChannelsItemTabsItemTeamsAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_tabs_request_builder.go b/teamwork/deleted_teams_item_channels_item_tabs_request_builder.go index 981782248f0..bc95317fdf4 100644 --- a/teamwork/deleted_teams_item_channels_item_tabs_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_tabs_request_builder.go @@ -46,8 +46,8 @@ type DeletedTeamsItemChannelsItemTabsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsTabIdString provides operations to manage the tabs property of the microsoft.graph.channel entity. -func (m *DeletedTeamsItemChannelsItemTabsRequestBuilder) ByTeamsTabIdString(teamsTabId string)(*DeletedTeamsItemChannelsItemTabsTeamsTabItemRequestBuilder) { +// ByTeamsTabId provides operations to manage the tabs property of the microsoft.graph.channel entity. +func (m *DeletedTeamsItemChannelsItemTabsRequestBuilder) ByTeamsTabId(teamsTabId string)(*DeletedTeamsItemChannelsItemTabsTeamsTabItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *DeletedTeamsItemChannelsItemTabsRequestBuilder) ToPostRequestInformatio } 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 *DeletedTeamsItemChannelsItemTabsRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemTabsRequestBuilder) { + return NewDeletedTeamsItemChannelsItemTabsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_tabs_teams_tab_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_tabs_teams_tab_item_request_builder.go index f2714b1c740..ed775057aa2 100644 --- a/teamwork/deleted_teams_item_channels_item_tabs_teams_tab_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_tabs_teams_tab_item_request_builder.go @@ -157,3 +157,7 @@ func (m *DeletedTeamsItemChannelsItemTabsTeamsTabItemRequestBuilder) ToPatchRequ } 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 *DeletedTeamsItemChannelsItemTabsTeamsTabItemRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemTabsTeamsTabItemRequestBuilder) { + return NewDeletedTeamsItemChannelsItemTabsTeamsTabItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_request_builder.go b/teamwork/deleted_teams_item_channels_request_builder.go index e1ae780d6ff..8ee5927f6d2 100644 --- a/teamwork/deleted_teams_item_channels_request_builder.go +++ b/teamwork/deleted_teams_item_channels_request_builder.go @@ -50,8 +50,8 @@ type DeletedTeamsItemChannelsRequestBuilderPostRequestConfiguration struct { func (m *DeletedTeamsItemChannelsRequestBuilder) AllMessages()(*DeletedTeamsItemChannelsAllMessagesRequestBuilder) { return NewDeletedTeamsItemChannelsAllMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByChannelIdString provides operations to manage the channels property of the microsoft.graph.deletedTeam entity. -func (m *DeletedTeamsItemChannelsRequestBuilder) ByChannelIdString(channelId string)(*DeletedTeamsItemChannelsChannelItemRequestBuilder) { +// ByChannelId provides operations to manage the channels property of the microsoft.graph.deletedTeam entity. +func (m *DeletedTeamsItemChannelsRequestBuilder) ByChannelId(channelId string)(*DeletedTeamsItemChannelsChannelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,7 @@ func (m *DeletedTeamsItemChannelsRequestBuilder) ToPostRequestInformation(ctx co } 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 *DeletedTeamsItemChannelsRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsRequestBuilder) { + return NewDeletedTeamsItemChannelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_request_builder.go b/teamwork/deleted_teams_request_builder.go index 467ae92412b..ead06d187b2 100644 --- a/teamwork/deleted_teams_request_builder.go +++ b/teamwork/deleted_teams_request_builder.go @@ -46,8 +46,8 @@ type DeletedTeamsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeletedTeamIdString provides operations to manage the deletedTeams property of the microsoft.graph.teamwork entity. -func (m *DeletedTeamsRequestBuilder) ByDeletedTeamIdString(deletedTeamId string)(*DeletedTeamsDeletedTeamItemRequestBuilder) { +// ByDeletedTeamId provides operations to manage the deletedTeams property of the microsoft.graph.teamwork entity. +func (m *DeletedTeamsRequestBuilder) ByDeletedTeamId(deletedTeamId string)(*DeletedTeamsDeletedTeamItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *DeletedTeamsRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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 *DeletedTeamsRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsRequestBuilder) { + return NewDeletedTeamsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/devices_count_request_builder.go b/teamwork/devices_count_request_builder.go index 6f26f3808eb..7bb00b99c98 100644 --- a/teamwork/devices_count_request_builder.go +++ b/teamwork/devices_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DevicesCountRequestBuilder) ToGetRequestInformation(ctx context.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 *DevicesCountRequestBuilder) WithUrl(rawUrl string)(*DevicesCountRequestBuilder) { + return NewDevicesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/devices_item_activity_request_builder.go b/teamwork/devices_item_activity_request_builder.go index eaf98ff6179..2b79f5c2f9a 100644 --- a/teamwork/devices_item_activity_request_builder.go +++ b/teamwork/devices_item_activity_request_builder.go @@ -156,3 +156,7 @@ func (m *DevicesItemActivityRequestBuilder) ToPatchRequestInformation(ctx contex } 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 *DevicesItemActivityRequestBuilder) WithUrl(rawUrl string)(*DevicesItemActivityRequestBuilder) { + return NewDevicesItemActivityRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/devices_item_configuration_request_builder.go b/teamwork/devices_item_configuration_request_builder.go index f5732da7f5a..de014a5f41d 100644 --- a/teamwork/devices_item_configuration_request_builder.go +++ b/teamwork/devices_item_configuration_request_builder.go @@ -156,3 +156,7 @@ func (m *DevicesItemConfigurationRequestBuilder) 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 *DevicesItemConfigurationRequestBuilder) WithUrl(rawUrl string)(*DevicesItemConfigurationRequestBuilder) { + return NewDevicesItemConfigurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/devices_item_health_request_builder.go b/teamwork/devices_item_health_request_builder.go index 36771431ec3..aa077662c2f 100644 --- a/teamwork/devices_item_health_request_builder.go +++ b/teamwork/devices_item_health_request_builder.go @@ -156,3 +156,7 @@ func (m *DevicesItemHealthRequestBuilder) ToPatchRequestInformation(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 *DevicesItemHealthRequestBuilder) WithUrl(rawUrl string)(*DevicesItemHealthRequestBuilder) { + return NewDevicesItemHealthRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/devices_item_operations_count_request_builder.go b/teamwork/devices_item_operations_count_request_builder.go index 46c7eb99451..0ffa6290b3b 100644 --- a/teamwork/devices_item_operations_count_request_builder.go +++ b/teamwork/devices_item_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DevicesItemOperationsCountRequestBuilder) ToGetRequestInformation(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 *DevicesItemOperationsCountRequestBuilder) WithUrl(rawUrl string)(*DevicesItemOperationsCountRequestBuilder) { + return NewDevicesItemOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/devices_item_operations_request_builder.go b/teamwork/devices_item_operations_request_builder.go index 0a7b53526f8..1769a5d3d46 100644 --- a/teamwork/devices_item_operations_request_builder.go +++ b/teamwork/devices_item_operations_request_builder.go @@ -46,8 +46,8 @@ type DevicesItemOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamworkDeviceOperationIdString provides operations to manage the operations property of the microsoft.graph.teamworkDevice entity. -func (m *DevicesItemOperationsRequestBuilder) ByTeamworkDeviceOperationIdString(teamworkDeviceOperationId string)(*DevicesItemOperationsTeamworkDeviceOperationItemRequestBuilder) { +// ByTeamworkDeviceOperationId provides operations to manage the operations property of the microsoft.graph.teamworkDevice entity. +func (m *DevicesItemOperationsRequestBuilder) ByTeamworkDeviceOperationId(teamworkDeviceOperationId string)(*DevicesItemOperationsTeamworkDeviceOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *DevicesItemOperationsRequestBuilder) 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 *DevicesItemOperationsRequestBuilder) WithUrl(rawUrl string)(*DevicesItemOperationsRequestBuilder) { + return NewDevicesItemOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/devices_item_operations_teamwork_device_operation_item_request_builder.go b/teamwork/devices_item_operations_teamwork_device_operation_item_request_builder.go index 0b1a611ea74..1223dfb555d 100644 --- a/teamwork/devices_item_operations_teamwork_device_operation_item_request_builder.go +++ b/teamwork/devices_item_operations_teamwork_device_operation_item_request_builder.go @@ -156,3 +156,7 @@ func (m *DevicesItemOperationsTeamworkDeviceOperationItemRequestBuilder) ToPatch } 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 *DevicesItemOperationsTeamworkDeviceOperationItemRequestBuilder) WithUrl(rawUrl string)(*DevicesItemOperationsTeamworkDeviceOperationItemRequestBuilder) { + return NewDevicesItemOperationsTeamworkDeviceOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/devices_item_restart_request_builder.go b/teamwork/devices_item_restart_request_builder.go index fdc5d6159fe..65b2e894f2d 100644 --- a/teamwork/devices_item_restart_request_builder.go +++ b/teamwork/devices_item_restart_request_builder.go @@ -61,3 +61,7 @@ func (m *DevicesItemRestartRequestBuilder) 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 *DevicesItemRestartRequestBuilder) WithUrl(rawUrl string)(*DevicesItemRestartRequestBuilder) { + return NewDevicesItemRestartRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/devices_item_run_diagnostics_request_builder.go b/teamwork/devices_item_run_diagnostics_request_builder.go index 11ab889cf73..4ee53bafe8d 100644 --- a/teamwork/devices_item_run_diagnostics_request_builder.go +++ b/teamwork/devices_item_run_diagnostics_request_builder.go @@ -61,3 +61,7 @@ func (m *DevicesItemRunDiagnosticsRequestBuilder) ToPostRequestInformation(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 *DevicesItemRunDiagnosticsRequestBuilder) WithUrl(rawUrl string)(*DevicesItemRunDiagnosticsRequestBuilder) { + return NewDevicesItemRunDiagnosticsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/devices_item_update_software_request_builder.go b/teamwork/devices_item_update_software_request_builder.go index b89606ae3ef..98f6ad9dcf5 100644 --- a/teamwork/devices_item_update_software_request_builder.go +++ b/teamwork/devices_item_update_software_request_builder.go @@ -65,3 +65,7 @@ func (m *DevicesItemUpdateSoftwareRequestBuilder) ToPostRequestInformation(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 *DevicesItemUpdateSoftwareRequestBuilder) WithUrl(rawUrl string)(*DevicesItemUpdateSoftwareRequestBuilder) { + return NewDevicesItemUpdateSoftwareRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/devices_request_builder.go b/teamwork/devices_request_builder.go index 481fc1c65ec..c921c23cb1e 100644 --- a/teamwork/devices_request_builder.go +++ b/teamwork/devices_request_builder.go @@ -46,8 +46,8 @@ type DevicesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamworkDeviceIdString provides operations to manage the devices property of the microsoft.graph.teamwork entity. -func (m *DevicesRequestBuilder) ByTeamworkDeviceIdString(teamworkDeviceId string)(*DevicesTeamworkDeviceItemRequestBuilder) { +// ByTeamworkDeviceId provides operations to manage the devices property of the microsoft.graph.teamwork entity. +func (m *DevicesRequestBuilder) ByTeamworkDeviceId(teamworkDeviceId string)(*DevicesTeamworkDeviceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *DevicesRequestBuilder) ToPostRequestInformation(ctx context.Context, bo } 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 *DevicesRequestBuilder) WithUrl(rawUrl string)(*DevicesRequestBuilder) { + return NewDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/devices_teamwork_device_item_request_builder.go b/teamwork/devices_teamwork_device_item_request_builder.go index 26b7f3dedaf..b31b86a0335 100644 --- a/teamwork/devices_teamwork_device_item_request_builder.go +++ b/teamwork/devices_teamwork_device_item_request_builder.go @@ -184,3 +184,7 @@ func (m *DevicesTeamworkDeviceItemRequestBuilder) ToPatchRequestInformation(ctx func (m *DevicesTeamworkDeviceItemRequestBuilder) UpdateSoftware()(*DevicesItemUpdateSoftwareRequestBuilder) { return NewDevicesItemUpdateSoftwareRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *DevicesTeamworkDeviceItemRequestBuilder) WithUrl(rawUrl string)(*DevicesTeamworkDeviceItemRequestBuilder) { + return NewDevicesTeamworkDeviceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/send_activity_notification_to_recipients_request_builder.go b/teamwork/send_activity_notification_to_recipients_request_builder.go index 5f952308996..b74f4742b44 100644 --- a/teamwork/send_activity_notification_to_recipients_request_builder.go +++ b/teamwork/send_activity_notification_to_recipients_request_builder.go @@ -65,3 +65,7 @@ func (m *SendActivityNotificationToRecipientsRequestBuilder) ToPostRequestInform } 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 *SendActivityNotificationToRecipientsRequestBuilder) WithUrl(rawUrl string)(*SendActivityNotificationToRecipientsRequestBuilder) { + return NewSendActivityNotificationToRecipientsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_count_request_builder.go b/teamwork/team_templates_count_request_builder.go index 7a8218fc908..083ceb0142c 100644 --- a/teamwork/team_templates_count_request_builder.go +++ b/teamwork/team_templates_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesCountRequestBuilder) 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 *TeamTemplatesCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesCountRequestBuilder) { + return NewTeamTemplatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_count_request_builder.go b/teamwork/team_templates_item_definitions_count_request_builder.go index d5195755964..7c01bbc5f3d 100644 --- a/teamwork/team_templates_item_definitions_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsCountRequestBuilder) 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 *TeamTemplatesItemDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_all_channels_channel_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_all_channels_channel_item_request_builder.go index 63755dde5eb..14bc47eec76 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_all_channels_channel_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_all_channels_channel_item_request_builder.go @@ -75,3 +75,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsChannelItemReq } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsChannelItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsChannelItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsChannelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_all_channels_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_all_channels_count_request_builder.go index f1201cc478d..5a871ddd41f 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_all_channels_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_all_channels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsCountRequestBu } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_all_channels_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_all_channels_request_builder.go index b7cfb837f81..cb1d7d69b55 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_all_channels_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_all_channels_request_builder.go @@ -39,8 +39,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsRequestBuilderGetR // Request query parameters QueryParameters *TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsRequestBuilderGetQueryParameters } -// ByChannelIdString provides operations to manage the allChannels property of the microsoft.graph.team entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsRequestBuilder) ByChannelIdString(channelId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsChannelItemRequestBuilder) { +// ByChannelId provides operations to manage the allChannels property of the microsoft.graph.team entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsRequestBuilder) ByChannelId(channelId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsChannelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsRequestBuilder } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_archive_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_archive_request_builder.go index 562b846652c..e1ee3ac9b9d 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_archive_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_archive_request_builder.go @@ -65,3 +65,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionArchiveRequestBuilder) To } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionArchiveRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionArchiveRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionArchiveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_all_messages_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_all_messages_request_builder.go index 69b2d2470d4..b0068a4db35 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_all_messages_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_all_messages_request_builder.go @@ -84,3 +84,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsAllMessagesReques } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsAllMessagesRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsAllMessagesRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsAllMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_channel_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_channel_item_request_builder.go index d6517f55761..da8c68d12e9 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_channel_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_channel_item_request_builder.go @@ -198,3 +198,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemReques } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_count_request_builder.go index 3c6e58a17cb..27bdab8c751 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsCountRequestBuild } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_get_all_messages_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_get_all_messages_request_builder.go index 3f07d9e7044..45200725a16 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_get_all_messages_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_get_all_messages_request_builder.go @@ -17,7 +17,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesRequest // Filter items by property values Filter *string `uriparametername:"%24filter"` // The payment model for the API - Model *string + Model *string `uriparametername:"model"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Search items by search phrases @@ -86,3 +86,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesReq } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_complete_migration_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_complete_migration_request_builder.go index bd600c05ea2..8bdf35fcf29 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_complete_migration_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_complete_migration_request_builder.go @@ -61,3 +61,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemCompleteMigra } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemCompleteMigrationRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemCompleteMigrationRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemCompleteMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index 50c435e068f..0e35a799bff 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -13,11 +13,11 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAcces // TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters invoke function doesUserHaveAccess type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' - TenantId *string + TenantId *string `uriparametername:"tenantId"` // Usage: userId='@userId' - UserId *string + UserId *string `uriparametername:"userId"` // Usage: userPrincipalName='@userPrincipalName' - UserPrincipalName *string + UserPrincipalName *string `uriparametername:"userPrincipalName"` } // TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration struct { @@ -76,3 +76,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveA } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_content_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_content_request_builder.go index c040e0eb68d..71bd019ae57 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_content_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_content_request_builder.go @@ -105,3 +105,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderCo } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_request_builder.go index 7dd503abaf3..e51354e0cc7 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_request_builder.go @@ -82,3 +82,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRe } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_add_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_add_request_builder.go index 921b5506061..1b6b924a83b 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_add_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_add_request_builder.go @@ -69,3 +69,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersAddReq } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersAddRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersAddRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_conversation_member_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_conversation_member_item_request_builder.go index d7b529c36dc..0ee740f7bc2 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_conversation_member_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_conversation_member_item_request_builder.go @@ -95,10 +95,10 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConver } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team.or channel. +// Patch update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -145,7 +145,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConver } return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team.or channel. +// ToPatchRequestInformation update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -162,3 +162,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConver } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_count_request_builder.go index b9f868718fd..1f231d0c3ef 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersCountR } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_request_builder.go index ef17f6f6d92..a1698321217 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_request_builder.go @@ -50,8 +50,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBui func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBuilder) Add()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersAddRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByConversationMemberIdString provides operations to manage the members property of the microsoft.graph.channel entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the members property of the microsoft.graph.channel entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersReques } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_chat_message_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_chat_message_item_request_builder.go index b44aa0751b9..11491442828 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_chat_message_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_chat_message_item_request_builder.go @@ -183,3 +183,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatM func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) UnsetReaction()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemUnsetReactionRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_count_request_builder.go index 82e85e04ea8..613e033fab8 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesCount } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_delta_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_delta_request_builder.go index 7a25e29f337..3f3ad5cc2a8 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_delta_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDelta } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 56ff750def0..10ecf39fbc1 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -160,3 +160,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemH } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_count_request_builder.go index 89bfaebfa4b..1f0246d09e7 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemH } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go index c90d72ea7ff..1d07254953a 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemH } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go index 29c9658400e..bb3ece73e65 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHoste // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageHostedContentIdString provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentIdString(chatMessageHostedContentId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemH } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go index c0c5b0d23fa..21cc2c6acbb 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go @@ -176,3 +176,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) UnsetReaction()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_count_request_builder.go index 37085b0197c..8f1a0de6975 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_delta_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_delta_request_builder.go index f046c64d4fb..6e6c13b68fc 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_delta_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index f9ea9dabed4..1853c288c15 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -160,3 +160,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_count_request_builder.go index f71f7bc7250..ac7e02dfe8d 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index dfbeb800ef3..1feb357c9d5 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go index 6809a75e0a7..bae2828e7ef 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepli // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageHostedContentIdString provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentIdString(chatMessageHostedContentId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_set_reaction_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_set_reaction_request_builder.go index 06fca0756ab..a8c9b6d8b67 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_set_reaction_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_set_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemSetReactionRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go index f862d89c1a5..5b47f620ce5 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go index c623507b31f..6c6b6a6a846 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_unset_reaction_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_unset_reaction_request_builder.go index ba89bd87b38..ed20632378f 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_unset_reaction_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_unset_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_request_builder.go index e9127ee9e44..1180147d0bb 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepli // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageId1String provides operations to manage the replies property of the microsoft.graph.chatMessage entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) ByChatMessageId1String(chatMessageId1 string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) { +// ByChatMessageId1 provides operations to manage the replies property of the microsoft.graph.chatMessage entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) ByChatMessageId1(chatMessageId1 string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_set_reaction_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_set_reaction_request_builder.go index 9f745f75a7c..ddd49fa01c5 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_set_reaction_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_set_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemS } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemSetReactionRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_soft_delete_request_builder.go index 71ec2d0579d..ed106b3346a 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemS } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemSoftDeleteRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go index 84e00fc86e4..9fcf97017f4 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemU } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_unset_reaction_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_unset_reaction_request_builder.go index 5bd88bcfd95..f30a11c6a91 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_unset_reaction_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_unset_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemU } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemUnsetReactionRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_request_builder.go index c65aad23be6..aca2dfc5a8f 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageIdString provides operations to manage the messages property of the microsoft.graph.channel entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilder) ByChatMessageIdString(chatMessageId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) { +// ByChatMessageId provides operations to manage the messages property of the microsoft.graph.channel entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilder) ByChatMessageId(chatMessageId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesReque } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_provision_email_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_provision_email_request_builder.go index 828f1db12ad..e2a5bd6f415 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_provision_email_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_provision_email_request_builder.go @@ -66,3 +66,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemProvisionEmai } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemProvisionEmailRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemProvisionEmailRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemProvisionEmailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_remove_email_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_remove_email_request_builder.go index b456f4e4a40..a32840118c7 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_remove_email_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_remove_email_request_builder.go @@ -61,3 +61,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemRemoveEmailRe } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemRemoveEmailRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemRemoveEmailRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemRemoveEmailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_count_request_builder.go index 00cea72a675..77baa6978b9 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTea } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go index 852e50227ea..0cd172b1202 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go @@ -75,3 +75,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTea } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_count_request_builder.go index 9bb43f2a90a..f7ce5939665 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTea } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go index 01088a14216..0758fc3f110 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go @@ -39,8 +39,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsIt // Request query parameters QueryParameters *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters } -// ByConversationMemberIdString provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTea } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_team_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_team_request_builder.go index 436a0c358c8..f1abefcc766 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_team_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_team_request_builder.go @@ -75,3 +75,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTea } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemTeamRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemTeamRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemTeamRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_request_builder.go index 660ef67ff6d..4b4730330ec 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySharedWithChannelTeamInfoIdString provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder) BySharedWithChannelTeamInfoIdString(sharedWithChannelTeamInfoId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { +// BySharedWithChannelTeamInfoId provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder) BySharedWithChannelTeamInfoId(sharedWithChannelTeamInfoId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTea } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index f409fd6a239..9649596b67a 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -167,3 +167,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTea } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_count_request_builder.go index 311d3044c5a..b434ba21172 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsCountRequ } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_item_teams_app_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_item_teams_app_request_builder.go index f8d0a6de184..8545363f122 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_item_teams_app_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_item_teams_app_request_builder.go @@ -75,3 +75,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsItemTeams } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsItemTeamsAppRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsItemTeamsAppRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsItemTeamsAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_request_builder.go index 390361324a0..0d1778b93f8 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsTabIdString provides operations to manage the tabs property of the microsoft.graph.channel entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBuilder) ByTeamsTabIdString(teamsTabId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsTeamsTabItemRequestBuilder) { +// ByTeamsTabId provides operations to manage the tabs property of the microsoft.graph.channel entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBuilder) ByTeamsTabId(teamsTabId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsTeamsTabItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBu } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_teams_tab_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_teams_tab_item_request_builder.go index e69667046ff..300bfa0a8bf 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_teams_tab_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_teams_tab_item_request_builder.go @@ -157,3 +157,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsTeamsTabI } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsTeamsTabItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsTeamsTabItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsTeamsTabItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_request_builder.go index 7170fedff07..5dff4aabcab 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_request_builder.go @@ -50,8 +50,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilderPostReq func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilder) AllMessages()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsAllMessagesRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsAllMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByChannelIdString provides operations to manage the channels property of the microsoft.graph.team entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilder) ByChannelIdString(channelId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder) { +// ByChannelId provides operations to manage the channels property of the microsoft.graph.team entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilder) ByChannelId(channelId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -159,3 +159,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilder) T } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_clone_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_clone_request_builder.go index 15ed5fe8cc9..85d005a17a4 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_clone_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_clone_request_builder.go @@ -30,7 +30,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionCloneRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionCloneRequestBuilderInternal(urlParams, requestAdapter) } -// Post create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state -- they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation.After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. +// Post create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/team-clone?view=graph-rest-1.0 @@ -49,7 +49,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionCloneRequestBuilder) Post } return nil } -// ToPostRequestInformation create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state -- they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation.After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. +// ToPostRequestInformation create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionCloneRequestBuilder) ToPostRequestInformation(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionClonePostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionCloneRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -65,3 +65,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionCloneRequestBuilder) ToPo } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionCloneRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionCloneRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionCloneRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_complete_migration_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_complete_migration_request_builder.go index 54f6f63be10..5e33bcfdbff 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_complete_migration_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_complete_migration_request_builder.go @@ -61,3 +61,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionCompleteMigrationRequestB } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionCompleteMigrationRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionCompleteMigrationRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionCompleteMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_group_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_group_request_builder.go index 49d6307141d..5a70bfca411 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_group_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_group_request_builder.go @@ -75,3 +75,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionGroupRequestBuilder) ToGe } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionGroupRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionGroupRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_channel_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_channel_item_request_builder.go index 3e24c489d76..d46f804ff36 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_channel_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_channel_item_request_builder.go @@ -113,3 +113,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsChannelIt } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsChannelItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsChannelItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsChannelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_count_request_builder.go index 768b9fd3ae2..0f95d69f3d5 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsCountRequ } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_request_builder.go index c37aad4367a..652294b038b 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_request_builder.go @@ -39,8 +39,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsRequestBuilde // Request query parameters QueryParameters *TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsRequestBuilderGetQueryParameters } -// ByChannelIdString provides operations to manage the incomingChannels property of the microsoft.graph.team entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsRequestBuilder) ByChannelIdString(channelId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsChannelItemRequestBuilder) { +// ByChannelId provides operations to manage the incomingChannels property of the microsoft.graph.team entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsRequestBuilder) ByChannelId(channelId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsChannelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsRequestBu } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_count_request_builder.go index b79cd7afbb0..639414bcaa5 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsCountRequest } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_teams_app_definition_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_teams_app_definition_request_builder.go index 7742eab08c0..c8e4c8ca2b4 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_teams_app_definition_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_teams_app_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemTeamsApp } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemTeamsAppDefinitionRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemTeamsAppDefinitionRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemTeamsAppDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_teams_app_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_teams_app_request_builder.go index 885d09b6fcb..d2672768b5a 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_teams_app_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_teams_app_request_builder.go @@ -75,3 +75,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemTeamsApp } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemTeamsAppRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemTeamsAppRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemTeamsAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_upgrade_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_upgrade_request_builder.go index daa5830aff4..af6c445e692 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_upgrade_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_upgrade_request_builder.go @@ -65,3 +65,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemUpgradeR } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemUpgradeRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemUpgradeRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemUpgradeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_request_builder.go index f2279a4c8c7..20ab4a43445 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuilderPo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsAppInstallationIdString provides operations to manage the installedApps property of the microsoft.graph.team entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuilder) ByTeamsAppInstallationIdString(teamsAppInstallationId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) { +// ByTeamsAppInstallationId provides operations to manage the installedApps property of the microsoft.graph.team entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuilder) ByTeamsAppInstallationId(teamsAppInstallationId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuild } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_teams_app_installation_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_teams_app_installation_item_request_builder.go index 9400cdf5d25..fe0c29ab218 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_teams_app_installation_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_teams_app_installation_item_request_builder.go @@ -171,3 +171,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInst func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) Upgrade()(*TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemUpgradeRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemUpgradeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_members_add_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_members_add_request_builder.go index 3b34729e9a2..e2d4ef9870a 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_members_add_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_members_add_request_builder.go @@ -69,3 +69,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersAddRequestBuilder) } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersAddRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionMembersAddRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_members_conversation_member_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_members_conversation_member_item_request_builder.go index 42cc924488b..324c3e02ab4 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_members_conversation_member_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_members_conversation_member_item_request_builder.go @@ -162,3 +162,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMember } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_members_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_members_count_request_builder.go index f3204f6e80b..d6879671497 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_members_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersCountRequestBuilde } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionMembersCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_members_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_members_request_builder.go index c296290cb36..b952267084a 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_members_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_members_request_builder.go @@ -50,8 +50,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilderPostRequ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilder) Add()(*TeamTemplatesItemDefinitionsItemTeamDefinitionMembersAddRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByConversationMemberIdString provides operations to manage the members property of the microsoft.graph.team entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the members property of the microsoft.graph.team entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilder) To } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_operations_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_operations_count_request_builder.go index 147df7b058d..3281faabe65 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_operations_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOperationsCountRequestBui } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionOperationsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionOperationsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_operations_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_operations_request_builder.go index ca5ab42ef6c..c0d35f0972b 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_operations_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_operations_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionOperationsRequestBuilderPostR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsAsyncOperationIdString provides operations to manage the operations property of the microsoft.graph.team entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOperationsRequestBuilder) ByTeamsAsyncOperationIdString(teamsAsyncOperationId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionOperationsTeamsAsyncOperationItemRequestBuilder) { +// ByTeamsAsyncOperationId provides operations to manage the operations property of the microsoft.graph.team entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOperationsRequestBuilder) ByTeamsAsyncOperationId(teamsAsyncOperationId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionOperationsTeamsAsyncOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOperationsRequestBuilder) } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionOperationsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionOperationsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_operations_teams_async_operation_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_operations_teams_async_operation_item_request_builder.go index dec6610569e..00edadc829f 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_operations_teams_async_operation_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_operations_teams_async_operation_item_request_builder.go @@ -153,3 +153,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOperationsTeamsAsyncOpera } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionOperationsTeamsAsyncOperationItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionOperationsTeamsAsyncOperationItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionOperationsTeamsAsyncOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_owners_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_owners_count_request_builder.go index cb51f38ed93..80b3079a2d9 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_owners_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_owners_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersCountRequestBuilder } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionOwnersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_owners_item_mailbox_settings_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_owners_item_mailbox_settings_request_builder.go index d8448bb36ef..fd6e21b6df6 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_owners_item_mailbox_settings_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_owners_item_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersItemMailboxSettings } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersItemMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersItemMailboxSettingsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionOwnersItemMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_owners_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_owners_request_builder.go index 80e43a9c524..16c4d1d7264 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_owners_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_owners_request_builder.go @@ -39,8 +39,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersRequestBuilderGetReques // Request query parameters QueryParameters *TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersRequestBuilderGetQueryParameters } -// ByUserIdString provides operations to manage the owners property of the microsoft.graph.team entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersRequestBuilder) ByUserIdString(userId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersUserItemRequestBuilder) { +// ByUserId provides operations to manage the owners property of the microsoft.graph.team entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersRequestBuilder) ByUserId(userId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersUserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersRequestBuilder) ToG } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionOwnersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_owners_user_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_owners_user_item_request_builder.go index a56da30b0f6..19228ce0f55 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_owners_user_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_owners_user_item_request_builder.go @@ -79,3 +79,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersUserItemRequestBuil } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersUserItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersUserItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionOwnersUserItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_count_request_builder.go index 2021b82af5b..5bbe7974a13 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsCountRequ } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_delta_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_delta_request_builder.go index 85614c36253..5bb89be0112 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_delta_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsDeltaRequ } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsDeltaRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsDeltaRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_get_by_ids_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_get_by_ids_request_builder.go index 7bf34dfa883..744368aebf9 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_get_by_ids_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsGetByIdsR } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsGetByIdsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsGetByIdsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_get_user_owned_objects_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_get_user_owned_objects_request_builder.go index 0a17b707b83..700b5a8a04c 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_get_user_owned_objects_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsGetUserOw } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsGetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsGetUserOwnedObjectsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_item_check_member_groups_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_item_check_member_groups_request_builder.go index fde35221990..2e9b3f11220 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_item_check_member_groups_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsItemCheck } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsItemCheckMemberGroupsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_item_check_member_objects_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_item_check_member_objects_request_builder.go index 66caaa75fcb..879fa58d929 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_item_check_member_objects_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsItemCheck } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsItemCheckMemberObjectsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_item_get_member_groups_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_item_get_member_groups_request_builder.go index 85774bc8219..982228da37f 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_item_get_member_groups_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsItemGetMe } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsItemGetMemberGroupsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_item_get_member_objects_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_item_get_member_objects_request_builder.go index 09aa6dcbc6e..b45f6915ed9 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_item_get_member_objects_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsItemGetMe } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsItemGetMemberObjectsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_item_restore_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_item_restore_request_builder.go index 7c0c5b9c65d..28997b93aa1 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_item_restore_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsItemResto } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsItemRestoreRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsItemRestoreRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_request_builder.go index 3f215ca8e0c..dcf25470337 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByResourceSpecificPermissionGrantIdString provides operations to manage the permissionGrants property of the microsoft.graph.team entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsRequestBuilder) ByResourceSpecificPermissionGrantIdString(resourceSpecificPermissionGrantId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { +// ByResourceSpecificPermissionGrantId provides operations to manage the permissionGrants property of the microsoft.graph.team entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsRequestBuilder) ByResourceSpecificPermissionGrantId(resourceSpecificPermissionGrantId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -164,3 +164,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsRequestBu func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsRequestBuilder) ValidateProperties()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsValidatePropertiesRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_resource_specific_permission_grant_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_resource_specific_permission_grant_item_request_builder.go index 0c667d8e075..5efe6d28830 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_resource_specific_permission_grant_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_resource_specific_permission_grant_item_request_builder.go @@ -173,3 +173,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsResourceS } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_validate_properties_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_validate_properties_request_builder.go index 518fd5c605a..a715361ca25 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_validate_properties_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsValidateP } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsValidatePropertiesRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_photo_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_photo_request_builder.go index 9430ec91f2f..86fd79302a1 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_photo_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_photo_request_builder.go @@ -122,3 +122,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPhotoRequestBuilder) ToPa } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPhotoRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPhotoRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPhotoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_photo_value_content_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_photo_value_content_request_builder.go index 8078af1954f..c21b857115a 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_photo_value_content_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_photo_value_content_request_builder.go @@ -100,3 +100,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPhotoValueContentRequestB } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPhotoValueContentRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPhotoValueContentRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPhotoValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_complete_migration_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_complete_migration_request_builder.go index 3f872ca249c..297a8dd1380 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_complete_migration_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_complete_migration_request_builder.go @@ -61,3 +61,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelCompleteMig } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelCompleteMigrationRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelCompleteMigrationRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelCompleteMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index 299357ed51d..47ec6ce5eab 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -13,11 +13,11 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAcc // TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters invoke function doesUserHaveAccess type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' - TenantId *string + TenantId *string `uriparametername:"tenantId"` // Usage: userId='@userId' - UserId *string + UserId *string `uriparametername:"userId"` // Usage: userPrincipalName='@userPrincipalName' - UserPrincipalName *string + UserPrincipalName *string `uriparametername:"userPrincipalName"` } // TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration struct { @@ -76,3 +76,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHav } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_content_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_content_request_builder.go index a524112f815..55c896841df 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_content_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_content_request_builder.go @@ -105,3 +105,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolder } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_request_builder.go index 3ad48e1c44f..92d85a2fdc1 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_request_builder.go @@ -82,3 +82,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolder } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_add_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_add_request_builder.go index 725b2152b9a..9881111008f 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_add_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_add_request_builder.go @@ -69,3 +69,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersAddR } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersAddRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersAddRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_conversation_member_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_conversation_member_item_request_builder.go index 2db90ede73c..578bd343256 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_conversation_member_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_conversation_member_item_request_builder.go @@ -95,10 +95,10 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConv } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team.or channel. +// Patch update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -145,7 +145,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConv } return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team.or channel. +// ToPatchRequestInformation update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -162,3 +162,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConv } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_count_request_builder.go index 1961f1ef0c4..d83cae23007 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersCoun } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_request_builder.go index 8d5f157e23b..3e948a7b050 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_request_builder.go @@ -50,8 +50,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestB func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestBuilder) Add()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersAddRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByConversationMemberIdString provides operations to manage the members property of the microsoft.graph.channel entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the members property of the microsoft.graph.channel entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequ } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_chat_message_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_chat_message_item_request_builder.go index 72988febd42..8794ed16543 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_chat_message_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_chat_message_item_request_builder.go @@ -183,3 +183,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesCha func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) UnsetReaction()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemUnsetReactionRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_count_request_builder.go index 859c6f336e5..abcd0d16edb 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesCou } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_delta_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_delta_request_builder.go index 6926d87f638..73153a9f5cf 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_delta_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDel } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 3fbba351bf3..aa1a8b9159f 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -160,3 +160,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_count_request_builder.go index 1dd04a48912..f2c841dbe49 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go index 6618874be83..2025870f78c 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go index 5ca85205064..9472f5401e9 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHos // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageHostedContentIdString provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentIdString(chatMessageHostedContentId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go index 21067079730..0d7b0043bb1 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go @@ -176,3 +176,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) UnsetReaction()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_count_request_builder.go index 2fa7c46b92b..844a2c2b4c8 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go index 31982ed9157..1387770a770 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 31615289ceb..6f6ed793ed8 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -160,3 +160,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_count_request_builder.go index 25d8ba11ba0..765a3004b20 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index db27924c8eb..6209804681a 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go index eee2fa55112..1b4a72e2146 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRep // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageHostedContentIdString provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentIdString(chatMessageHostedContentId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_set_reaction_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_set_reaction_request_builder.go index 2eaa72cd950..07eef121aa1 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_set_reaction_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_set_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemSetReactionRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go index 11ff98de0c1..89daf4ac3ab 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go index 3acd69bd794..4c1391a80c0 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go index c46d2b5c680..a57082d08c5 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_request_builder.go index c12ff400d10..3aa76c93afb 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRep // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageId1String provides operations to manage the replies property of the microsoft.graph.chatMessage entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) ByChatMessageId1String(chatMessageId1 string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) { +// ByChatMessageId1 provides operations to manage the replies property of the microsoft.graph.chatMessage entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) ByChatMessageId1(chatMessageId1 string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_set_reaction_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_set_reaction_request_builder.go index ed1476e607a..4538411b802 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_set_reaction_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_set_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemSetReactionRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go index 910bdbfe8a5..a322bfaf0cc 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemSoftDeleteRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go index a70c59bf927..19070321eea 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_unset_reaction_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_unset_reaction_request_builder.go index 3668823f2b6..fa327eda40f 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_unset_reaction_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_unset_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemUnsetReactionRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_request_builder.go index 0e01391031d..5ac7265f45c 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageIdString provides operations to manage the messages property of the microsoft.graph.channel entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) ByChatMessageIdString(chatMessageId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) { +// ByChatMessageId provides operations to manage the messages property of the microsoft.graph.channel entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) ByChatMessageId(chatMessageId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesReq } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_provision_email_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_provision_email_request_builder.go index 3a9a76d8658..3b2ab8a740d 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_provision_email_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_provision_email_request_builder.go @@ -66,3 +66,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelProvisionEm } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelProvisionEmailRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelProvisionEmailRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelProvisionEmailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_remove_email_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_remove_email_request_builder.go index 8355ecf4830..fcf5ce32afe 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_remove_email_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_remove_email_request_builder.go @@ -61,3 +61,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRemoveEmail } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRemoveEmailRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRemoveEmailRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRemoveEmailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_request_builder.go index 44e736a5b98..b3af3d2ab16 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_request_builder.go @@ -192,3 +192,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuil } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_count_request_builder.go index 0ffa8ea72ff..f102f118cab 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithT } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go index 8a42fe7bf90..bc5d9358997 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go @@ -75,3 +75,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithT } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_count_request_builder.go index ead8b1a362b..344ca5eaf19 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithT } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go index ac71a30d069..989decd5d3e 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go @@ -39,8 +39,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeams // Request query parameters QueryParameters *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters } -// ByConversationMemberIdString provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the allowedMembers property of the microsoft.graph.sharedWithChannelTeamInfo entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithT } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_team_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_team_request_builder.go index 1e0d8596d51..bfb6fa1e9f7 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_team_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_team_request_builder.go @@ -75,3 +75,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithT } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemTeamRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemTeamRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemTeamRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_request_builder.go index 8709ea30e0e..c69aa1a9a74 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeams // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySharedWithChannelTeamInfoIdString provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder) BySharedWithChannelTeamInfoIdString(sharedWithChannelTeamInfoId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { +// BySharedWithChannelTeamInfoId provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder) BySharedWithChannelTeamInfoId(sharedWithChannelTeamInfoId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithT } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index a4e927cc7d0..feabee75f05 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -167,3 +167,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithT } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_count_request_builder.go index c48859c886f..5f8c7f43537 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsCountRe } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_item_teams_app_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_item_teams_app_request_builder.go index a97f46bebc4..e59652b608c 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_item_teams_app_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_item_teams_app_request_builder.go @@ -75,3 +75,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsItemTea } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsItemTeamsAppRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsItemTeamsAppRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsItemTeamsAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_request_builder.go index 6270019c00c..e36ddd46fc8 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsTabIdString provides operations to manage the tabs property of the microsoft.graph.channel entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequestBuilder) ByTeamsTabIdString(teamsTabId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsTeamsTabItemRequestBuilder) { +// ByTeamsTabId provides operations to manage the tabs property of the microsoft.graph.channel entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequestBuilder) ByTeamsTabId(teamsTabId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsTeamsTabItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequest } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_teams_tab_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_teams_tab_item_request_builder.go index e56d01539b7..0abae1e4515 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_teams_tab_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_teams_tab_item_request_builder.go @@ -157,3 +157,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsTeamsTa } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsTeamsTabItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsTeamsTabItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsTeamsTabItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_request_builder.go index 4efecd83dad..c94498ecc72 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_request_builder.go @@ -236,3 +236,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionRequestBuilder) ToPatchRe func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionRequestBuilder) Unarchive()(*TeamTemplatesItemDefinitionsItemTeamDefinitionUnarchiveRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionUnarchiveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_count_request_builder.go index 815a758aae8..b69cb348b82 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequest } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go index a57e3ba7d1a..bfc92092d29 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go @@ -156,3 +156,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequest } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_request_builder.go index 3b5cfc7066a..2df85d5a291 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOfferShiftRequestIdString provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) ByOfferShiftRequestIdString(offerShiftRequestId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) { +// ByOfferShiftRequestId provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) ByOfferShiftRequestId(offerShiftRequestId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequest } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_count_request_builder.go index 80921bdef44..072e758e238 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRe } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go index 52aa576e954..de01887de0b 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go @@ -156,3 +156,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRe } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_request_builder.go index e76bc1d754d..2216c70ec9b 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOpenShiftChangeRequestIdString provides operations to manage the openShiftChangeRequests property of the microsoft.graph.schedule entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) ByOpenShiftChangeRequestIdString(openShiftChangeRequestId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) { +// ByOpenShiftChangeRequestId provides operations to manage the openShiftChangeRequests property of the microsoft.graph.schedule entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) ByOpenShiftChangeRequestId(openShiftChangeRequestId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRe } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_count_request_builder.go index 1bbc5b70e1f..7983fd66669 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsCountRe } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go index 4bea518339a..7372587f1e5 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go @@ -162,3 +162,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShi } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_request_builder.go index 59b36d08459..3481d466e34 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOpenShiftIdString provides operations to manage the openShifts property of the microsoft.graph.schedule entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequestBuilder) ByOpenShiftIdString(openShiftId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) { +// ByOpenShiftId provides operations to manage the openShifts property of the microsoft.graph.schedule entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequestBuilder) ByOpenShiftId(openShiftId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequest } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_request_builder.go index cb99ce8025c..2b47c460f1d 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_request_builder.go @@ -200,3 +200,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleRequestBuilder) T } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_count_request_builder.go index acc7f14d88e..901b847bd68 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsC } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_request_builder.go index 32f99852f12..ae58d3f0918 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_request_builder.go @@ -44,8 +44,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySchedulingGroupIdString provides operations to manage the schedulingGroups property of the microsoft.graph.schedule entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) BySchedulingGroupIdString(schedulingGroupId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) { +// BySchedulingGroupId provides operations to manage the schedulingGroups property of the microsoft.graph.schedule entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) BySchedulingGroupId(schedulingGroupId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsR } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go index f59076623fb..ff673d86382 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go @@ -160,3 +160,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsS } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_share_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_share_request_builder.go index f9aab5b32bc..0ae5ea505ee 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_share_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_share_request_builder.go @@ -65,3 +65,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShareRequestBuild } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShareRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShareRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShareRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_count_request_builder.go index d8ed169d298..bfd27db01e0 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsCountReques } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_request_builder.go index 2fc373f88d3..eeefd9515db 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_request_builder.go @@ -44,8 +44,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsRequestBuilderP // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByShiftIdString provides operations to manage the shifts property of the microsoft.graph.schedule entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsRequestBuilder) ByShiftIdString(shiftId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) { +// ByShiftId provides operations to manage the shifts property of the microsoft.graph.schedule entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsRequestBuilder) ByShiftId(shiftId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsRequestBuil } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_shift_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_shift_item_request_builder.go index 8b4cbe160e5..ea83c090ee0 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_shift_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_shift_item_request_builder.go @@ -93,7 +93,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable), nil } -// Patch replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift cannot be less than 1 minute or longer than 24 hours. +// Patch replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/shift-put?view=graph-rest-1.0 @@ -143,7 +143,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRe } return requestInfo, nil } -// ToPatchRequestInformation replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift cannot be less than 1 minute or longer than 24 hours. +// ToPatchRequestInformation replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -160,3 +160,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRe } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_count_request_builder.go index 7073903cae2..fcbad0bec2a 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeR } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_request_builder.go index 43cba9b480c..df0869b0e2e 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySwapShiftsChangeRequestIdString provides operations to manage the swapShiftsChangeRequests property of the microsoft.graph.schedule entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) BySwapShiftsChangeRequestIdString(swapShiftsChangeRequestId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) { +// BySwapShiftsChangeRequestId provides operations to manage the swapShiftsChangeRequests property of the microsoft.graph.schedule entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) BySwapShiftsChangeRequestId(swapShiftsChangeRequestId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeR } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go index 1a8af5b13d8..19f8c73d6eb 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go @@ -156,3 +156,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeR } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_clock_in_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_clock_in_request_builder.go index 5db564cc70d..975c43eea32 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_clock_in_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_clock_in_request_builder.go @@ -70,3 +70,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsClockInR } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsClockInRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsClockInRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsClockInRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_count_request_builder.go index 59053393557..79ee8cc2bfe 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsCountReq } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_clock_out_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_clock_out_request_builder.go index 9c2928632f1..4e1ea34ab5d 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_clock_out_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_clock_out_request_builder.go @@ -70,3 +70,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemCloc } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemClockOutRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemClockOutRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemClockOutRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_confirm_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_confirm_request_builder.go index a85e8dd11eb..a20dce330b0 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_confirm_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_confirm_request_builder.go @@ -66,3 +66,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemConf } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemConfirmRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemConfirmRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemConfirmRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_end_break_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_end_break_request_builder.go index ae48d70c1ad..7d235b418d7 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_end_break_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_end_break_request_builder.go @@ -70,3 +70,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemEndB } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemEndBreakRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemEndBreakRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemEndBreakRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_start_break_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_start_break_request_builder.go index e0a7904f04f..a8c5afcbad9 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_start_break_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_start_break_request_builder.go @@ -70,3 +70,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemStar } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemStartBreakRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemStartBreakRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemStartBreakRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_request_builder.go index 338d7deac46..0cf3ccf30f4 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTimeCardIdString provides operations to manage the timeCards property of the microsoft.graph.schedule entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestBuilder) ByTimeCardIdString(timeCardId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) { +// ByTimeCardId provides operations to manage the timeCards property of the microsoft.graph.schedule entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestBuilder) ByTimeCardId(timeCardId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestB } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_time_card_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_time_card_item_request_builder.go index 3ce88d8c080..323a028bb41 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_time_card_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_time_card_item_request_builder.go @@ -178,3 +178,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCard } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_count_request_builder.go index 0ec1a9aaff1..373dc4dc7f6 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsCou } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_request_builder.go index 29a5149bfb4..4f8ec1903ba 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_request_builder.go @@ -44,8 +44,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTimeOffReasonIdString provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsRequestBuilder) ByTimeOffReasonIdString(timeOffReasonId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) { +// ByTimeOffReasonId provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsRequestBuilder) ByTimeOffReasonId(timeOffReasonId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsReq } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go index 56dc842919c..f7946e5e257 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go @@ -160,3 +160,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTim } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_count_request_builder.go index be148a50a4f..e25bfa91667 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsCo } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_request_builder.go index bca10463744..4bd0c18d379 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_request_builder.go @@ -44,8 +44,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTimeOffRequestIdString provides operations to manage the timeOffRequests property of the microsoft.graph.schedule entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder) ByTimeOffRequestIdString(timeOffRequestId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) { +// ByTimeOffRequestId provides operations to manage the timeOffRequests property of the microsoft.graph.schedule entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder) ByTimeOffRequestId(timeOffRequestId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsRe } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go index 7b0344e3973..9430bff1bad 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go @@ -157,3 +157,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTi } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_count_request_builder.go index 07bbe0ba71d..7a36fbf72a1 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffCountRequ } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_request_builder.go index 4acd246ab41..dbbf11d6f03 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_request_builder.go @@ -44,8 +44,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTimeOffIdString provides operations to manage the timesOff property of the microsoft.graph.schedule entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBuilder) ByTimeOffIdString(timeOffId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) { +// ByTimeOffId provides operations to manage the timesOff property of the microsoft.graph.schedule entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBuilder) ByTimeOffId(timeOffId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBu } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_time_off_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_time_off_item_request_builder.go index d844ba20135..8dc7f02b48b 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_time_off_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_time_off_item_request_builder.go @@ -160,3 +160,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffIt } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_send_activity_notification_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_send_activity_notification_request_builder.go index 702041b7eae..195881d833f 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_send_activity_notification_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_send_activity_notification_request_builder.go @@ -65,3 +65,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionSendActivityNotificationR } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionSendActivityNotificationRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionSendActivityNotificationRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionSendActivityNotificationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_tags_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_tags_count_request_builder.go index 45354fcdc28..befb4a5fd61 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_tags_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_tags_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsCountRequestBuilder) } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionTagsCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionTagsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_count_request_builder.go index 16b55543f88..c2fa03e5a57 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersCountReque } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_request_builder.go index 6d2ff0ff908..6b9da656b8b 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamworkTagMemberIdString provides operations to manage the members property of the microsoft.graph.teamworkTag entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBuilder) ByTeamworkTagMemberIdString(teamworkTagMemberId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) { +// ByTeamworkTagMemberId provides operations to manage the members property of the microsoft.graph.teamworkTag entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBuilder) ByTeamworkTagMemberId(teamworkTagMemberId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBui } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go index 109f4d0c02e..8dfd92c666c 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go @@ -159,3 +159,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTa } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_tags_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_tags_request_builder.go index e93f0c58688..f1f5bb1781b 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_tags_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_tags_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamworkTagIdString provides operations to manage the tags property of the microsoft.graph.team entity. -func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilder) ByTeamworkTagIdString(teamworkTagId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) { +// ByTeamworkTagId provides operations to manage the tags property of the microsoft.graph.team entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilder) ByTeamworkTagId(teamworkTagId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilder) ToPos } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_tags_teamwork_tag_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_tags_teamwork_tag_item_request_builder.go index 31327676d8f..505901cac6a 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_tags_teamwork_tag_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_tags_teamwork_tag_item_request_builder.go @@ -166,3 +166,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemReques } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_template_definition_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_template_definition_request_builder.go index b678cff64b1..865df483ee5 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_template_definition_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_template_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTemplateDefinitionRequest } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionTemplateDefinitionRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionTemplateDefinitionRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionTemplateDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_template_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_template_request_builder.go index dce5b26a4ad..783ad493350 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_template_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_template_request_builder.go @@ -75,3 +75,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTemplateRequestBuilder) T } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionTemplateRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionTemplateRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionTemplateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_unarchive_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_unarchive_request_builder.go index 1fa816cb1e5..09509db0f5e 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_unarchive_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_unarchive_request_builder.go @@ -30,7 +30,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionUnarchiveRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionUnarchiveRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. +// Post restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/team-unarchive?view=graph-rest-1.0 @@ -49,7 +49,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionUnarchiveRequestBuilder) } return nil } -// ToPostRequestInformation restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. +// ToPostRequestInformation restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionUnarchiveRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionUnarchiveRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -61,3 +61,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionUnarchiveRequestBuilder) } 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionUnarchiveRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionUnarchiveRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionUnarchiveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_request_builder.go b/teamwork/team_templates_item_definitions_request_builder.go index 6848bee523d..48bf5906707 100644 --- a/teamwork/team_templates_item_definitions_request_builder.go +++ b/teamwork/team_templates_item_definitions_request_builder.go @@ -46,8 +46,8 @@ type TeamTemplatesItemDefinitionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamTemplateDefinitionIdString provides operations to manage the definitions property of the microsoft.graph.teamTemplate entity. -func (m *TeamTemplatesItemDefinitionsRequestBuilder) ByTeamTemplateDefinitionIdString(teamTemplateDefinitionId string)(*TeamTemplatesItemDefinitionsTeamTemplateDefinitionItemRequestBuilder) { +// ByTeamTemplateDefinitionId provides operations to manage the definitions property of the microsoft.graph.teamTemplate entity. +func (m *TeamTemplatesItemDefinitionsRequestBuilder) ByTeamTemplateDefinitionId(teamTemplateDefinitionId string)(*TeamTemplatesItemDefinitionsTeamTemplateDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *TeamTemplatesItemDefinitionsRequestBuilder) 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 *TeamTemplatesItemDefinitionsRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsRequestBuilder) { + return NewTeamTemplatesItemDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_team_template_definition_item_request_builder.go b/teamwork/team_templates_item_definitions_team_template_definition_item_request_builder.go index d9050b265ec..7aa750905b7 100644 --- a/teamwork/team_templates_item_definitions_team_template_definition_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_team_template_definition_item_request_builder.go @@ -160,3 +160,7 @@ func (m *TeamTemplatesItemDefinitionsTeamTemplateDefinitionItemRequestBuilder) T } 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 *TeamTemplatesItemDefinitionsTeamTemplateDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsTeamTemplateDefinitionItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsTeamTemplateDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_request_builder.go b/teamwork/team_templates_request_builder.go index a89cdf2f7c0..c4af8383021 100644 --- a/teamwork/team_templates_request_builder.go +++ b/teamwork/team_templates_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesRequestBuilderGetQueryParameters get the list of teamTemplate objects that are available for a tenant. +// TeamTemplatesRequestBuilderGetQueryParameters list the teamTemplateDefinition objects associated with a teamTemplate. type TeamTemplatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type TeamTemplatesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamTemplateIdString provides operations to manage the teamTemplates property of the microsoft.graph.teamwork entity. -func (m *TeamTemplatesRequestBuilder) ByTeamTemplateIdString(teamTemplateId string)(*TeamTemplatesTeamTemplateItemRequestBuilder) { +// ByTeamTemplateId provides operations to manage the teamTemplates property of the microsoft.graph.teamwork entity. +func (m *TeamTemplatesRequestBuilder) ByTeamTemplateId(teamTemplateId string)(*TeamTemplatesTeamTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,10 +74,10 @@ func NewTeamTemplatesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee func (m *TeamTemplatesRequestBuilder) Count()(*TeamTemplatesCountRequestBuilder) { return NewTeamTemplatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of teamTemplate objects that are available for a tenant. +// Get list the teamTemplateDefinition objects associated with a teamTemplate. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/teamwork-list-teamtemplates?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/teamtemplate-list-definitions?view=graph-rest-1.0 func (m *TeamTemplatesRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamTemplateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -115,7 +115,7 @@ func (m *TeamTemplatesRequestBuilder) Post(ctx context.Context, body ie233ee762e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamTemplateable), nil } -// ToGetRequestInformation get the list of teamTemplate objects that are available for a tenant. +// ToGetRequestInformation list the teamTemplateDefinition objects associated with a teamTemplate. func (m *TeamTemplatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -148,3 +148,7 @@ func (m *TeamTemplatesRequestBuilder) 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 *TeamTemplatesRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesRequestBuilder) { + return NewTeamTemplatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_team_template_item_request_builder.go b/teamwork/team_templates_team_template_item_request_builder.go index ab29b1cae80..838721de4a9 100644 --- a/teamwork/team_templates_team_template_item_request_builder.go +++ b/teamwork/team_templates_team_template_item_request_builder.go @@ -157,3 +157,7 @@ func (m *TeamTemplatesTeamTemplateItemRequestBuilder) 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 *TeamTemplatesTeamTemplateItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesTeamTemplateItemRequestBuilder) { + return NewTeamTemplatesTeamTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/teams_app_settings_request_builder.go b/teamwork/teams_app_settings_request_builder.go index 6a5e5f44ac5..8bec38b0e13 100644 --- a/teamwork/teams_app_settings_request_builder.go +++ b/teamwork/teams_app_settings_request_builder.go @@ -159,3 +159,7 @@ func (m *TeamsAppSettingsRequestBuilder) 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 *TeamsAppSettingsRequestBuilder) WithUrl(rawUrl string)(*TeamsAppSettingsRequestBuilder) { + return NewTeamsAppSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/teamwork_request_builder.go b/teamwork/teamwork_request_builder.go index 33404b98b42..441aa576943 100644 --- a/teamwork/teamwork_request_builder.go +++ b/teamwork/teamwork_request_builder.go @@ -142,6 +142,10 @@ func (m *TeamworkRequestBuilder) ToPatchRequestInformation(ctx context.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 *TeamworkRequestBuilder) WithUrl(rawUrl string)(*TeamworkRequestBuilder) { + return NewTeamworkRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} // WorkforceIntegrations provides operations to manage the workforceIntegrations property of the microsoft.graph.teamwork entity. func (m *TeamworkRequestBuilder) WorkforceIntegrations()(*WorkforceIntegrationsRequestBuilder) { return NewWorkforceIntegrationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) diff --git a/teamwork/workforce_integrations_count_request_builder.go b/teamwork/workforce_integrations_count_request_builder.go index 96fa81ad2e9..4dda767c7b3 100644 --- a/teamwork/workforce_integrations_count_request_builder.go +++ b/teamwork/workforce_integrations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *WorkforceIntegrationsCountRequestBuilder) ToGetRequestInformation(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 *WorkforceIntegrationsCountRequestBuilder) WithUrl(rawUrl string)(*WorkforceIntegrationsCountRequestBuilder) { + return NewWorkforceIntegrationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/workforce_integrations_request_builder.go b/teamwork/workforce_integrations_request_builder.go index 0cec2c81382..e48bed6890c 100644 --- a/teamwork/workforce_integrations_request_builder.go +++ b/teamwork/workforce_integrations_request_builder.go @@ -46,8 +46,8 @@ type WorkforceIntegrationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWorkforceIntegrationIdString provides operations to manage the workforceIntegrations property of the microsoft.graph.teamwork entity. -func (m *WorkforceIntegrationsRequestBuilder) ByWorkforceIntegrationIdString(workforceIntegrationId string)(*WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder) { +// ByWorkforceIntegrationId provides operations to manage the workforceIntegrations property of the microsoft.graph.teamwork entity. +func (m *WorkforceIntegrationsRequestBuilder) ByWorkforceIntegrationId(workforceIntegrationId string)(*WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *WorkforceIntegrationsRequestBuilder) 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 *WorkforceIntegrationsRequestBuilder) WithUrl(rawUrl string)(*WorkforceIntegrationsRequestBuilder) { + return NewWorkforceIntegrationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/workforce_integrations_workforce_integration_item_request_builder.go b/teamwork/workforce_integrations_workforce_integration_item_request_builder.go index c87fa9c48f0..122ed5575c4 100644 --- a/teamwork/workforce_integrations_workforce_integration_item_request_builder.go +++ b/teamwork/workforce_integrations_workforce_integration_item_request_builder.go @@ -162,3 +162,7 @@ func (m *WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder) ToPatchReq } 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 *WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder) WithUrl(rawUrl string)(*WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder) { + return NewWorkforceIntegrationsWorkforceIntegrationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/delegated_admin_customers_count_request_builder.go b/tenantrelationships/delegated_admin_customers_count_request_builder.go index a2cf7ace22c..9cb54410d5d 100644 --- a/tenantrelationships/delegated_admin_customers_count_request_builder.go +++ b/tenantrelationships/delegated_admin_customers_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DelegatedAdminCustomersCountRequestBuilder) ToGetRequestInformation(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 *DelegatedAdminCustomersCountRequestBuilder) WithUrl(rawUrl string)(*DelegatedAdminCustomersCountRequestBuilder) { + return NewDelegatedAdminCustomersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/delegated_admin_customers_delegated_admin_customer_item_request_builder.go b/tenantrelationships/delegated_admin_customers_delegated_admin_customer_item_request_builder.go index 4cca6780da1..e9d2b318421 100644 --- a/tenantrelationships/delegated_admin_customers_delegated_admin_customer_item_request_builder.go +++ b/tenantrelationships/delegated_admin_customers_delegated_admin_customer_item_request_builder.go @@ -160,3 +160,7 @@ func (m *DelegatedAdminCustomersDelegatedAdminCustomerItemRequestBuilder) ToPatc } 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 *DelegatedAdminCustomersDelegatedAdminCustomerItemRequestBuilder) WithUrl(rawUrl string)(*DelegatedAdminCustomersDelegatedAdminCustomerItemRequestBuilder) { + return NewDelegatedAdminCustomersDelegatedAdminCustomerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/delegated_admin_customers_item_service_management_details_count_request_builder.go b/tenantrelationships/delegated_admin_customers_item_service_management_details_count_request_builder.go index f673dcc21de..35247d3fc22 100644 --- a/tenantrelationships/delegated_admin_customers_item_service_management_details_count_request_builder.go +++ b/tenantrelationships/delegated_admin_customers_item_service_management_details_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DelegatedAdminCustomersItemServiceManagementDetailsCountRequestBuilder) } 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 *DelegatedAdminCustomersItemServiceManagementDetailsCountRequestBuilder) WithUrl(rawUrl string)(*DelegatedAdminCustomersItemServiceManagementDetailsCountRequestBuilder) { + return NewDelegatedAdminCustomersItemServiceManagementDetailsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/delegated_admin_customers_item_service_management_details_delegated_admin_service_management_detail_item_request_builder.go b/tenantrelationships/delegated_admin_customers_item_service_management_details_delegated_admin_service_management_detail_item_request_builder.go index 341bda2f608..70109593b4d 100644 --- a/tenantrelationships/delegated_admin_customers_item_service_management_details_delegated_admin_service_management_detail_item_request_builder.go +++ b/tenantrelationships/delegated_admin_customers_item_service_management_details_delegated_admin_service_management_detail_item_request_builder.go @@ -153,3 +153,7 @@ func (m *DelegatedAdminCustomersItemServiceManagementDetailsDelegatedAdminServic } 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 *DelegatedAdminCustomersItemServiceManagementDetailsDelegatedAdminServiceManagementDetailItemRequestBuilder) WithUrl(rawUrl string)(*DelegatedAdminCustomersItemServiceManagementDetailsDelegatedAdminServiceManagementDetailItemRequestBuilder) { + return NewDelegatedAdminCustomersItemServiceManagementDetailsDelegatedAdminServiceManagementDetailItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/delegated_admin_customers_item_service_management_details_request_builder.go b/tenantrelationships/delegated_admin_customers_item_service_management_details_request_builder.go index dbcc3f07680..fea3680d246 100644 --- a/tenantrelationships/delegated_admin_customers_item_service_management_details_request_builder.go +++ b/tenantrelationships/delegated_admin_customers_item_service_management_details_request_builder.go @@ -46,8 +46,8 @@ type DelegatedAdminCustomersItemServiceManagementDetailsRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDelegatedAdminServiceManagementDetailIdString provides operations to manage the serviceManagementDetails property of the microsoft.graph.delegatedAdminCustomer entity. -func (m *DelegatedAdminCustomersItemServiceManagementDetailsRequestBuilder) ByDelegatedAdminServiceManagementDetailIdString(delegatedAdminServiceManagementDetailId string)(*DelegatedAdminCustomersItemServiceManagementDetailsDelegatedAdminServiceManagementDetailItemRequestBuilder) { +// ByDelegatedAdminServiceManagementDetailId provides operations to manage the serviceManagementDetails property of the microsoft.graph.delegatedAdminCustomer entity. +func (m *DelegatedAdminCustomersItemServiceManagementDetailsRequestBuilder) ByDelegatedAdminServiceManagementDetailId(delegatedAdminServiceManagementDetailId string)(*DelegatedAdminCustomersItemServiceManagementDetailsDelegatedAdminServiceManagementDetailItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *DelegatedAdminCustomersItemServiceManagementDetailsRequestBuilder) ToPo } 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 *DelegatedAdminCustomersItemServiceManagementDetailsRequestBuilder) WithUrl(rawUrl string)(*DelegatedAdminCustomersItemServiceManagementDetailsRequestBuilder) { + return NewDelegatedAdminCustomersItemServiceManagementDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/delegated_admin_customers_request_builder.go b/tenantrelationships/delegated_admin_customers_request_builder.go index 1f6022265f1..a53fbc9802e 100644 --- a/tenantrelationships/delegated_admin_customers_request_builder.go +++ b/tenantrelationships/delegated_admin_customers_request_builder.go @@ -46,8 +46,8 @@ type DelegatedAdminCustomersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDelegatedAdminCustomerIdString provides operations to manage the delegatedAdminCustomers property of the microsoft.graph.tenantRelationship entity. -func (m *DelegatedAdminCustomersRequestBuilder) ByDelegatedAdminCustomerIdString(delegatedAdminCustomerId string)(*DelegatedAdminCustomersDelegatedAdminCustomerItemRequestBuilder) { +// ByDelegatedAdminCustomerId provides operations to manage the delegatedAdminCustomers property of the microsoft.graph.tenantRelationship entity. +func (m *DelegatedAdminCustomersRequestBuilder) ByDelegatedAdminCustomerId(delegatedAdminCustomerId string)(*DelegatedAdminCustomersDelegatedAdminCustomerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *DelegatedAdminCustomersRequestBuilder) ToPostRequestInformation(ctx con } 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 *DelegatedAdminCustomersRequestBuilder) WithUrl(rawUrl string)(*DelegatedAdminCustomersRequestBuilder) { + return NewDelegatedAdminCustomersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/delegated_admin_relationships_count_request_builder.go b/tenantrelationships/delegated_admin_relationships_count_request_builder.go index 9d8cd20efdb..eb2fb54f71b 100644 --- a/tenantrelationships/delegated_admin_relationships_count_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DelegatedAdminRelationshipsCountRequestBuilder) 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 *DelegatedAdminRelationshipsCountRequestBuilder) WithUrl(rawUrl string)(*DelegatedAdminRelationshipsCountRequestBuilder) { + return NewDelegatedAdminRelationshipsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/delegated_admin_relationships_delegated_admin_relationship_item_request_builder.go b/tenantrelationships/delegated_admin_relationships_delegated_admin_relationship_item_request_builder.go index a057c3e648a..7ea26c5755e 100644 --- a/tenantrelationships/delegated_admin_relationships_delegated_admin_relationship_item_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_delegated_admin_relationship_item_request_builder.go @@ -174,3 +174,7 @@ func (m *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder } 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 *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder) WithUrl(rawUrl string)(*DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder) { + return NewDelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/delegated_admin_relationships_item_access_assignments_count_request_builder.go b/tenantrelationships/delegated_admin_relationships_item_access_assignments_count_request_builder.go index 29512b9ef0b..09416c77547 100644 --- a/tenantrelationships/delegated_admin_relationships_item_access_assignments_count_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_item_access_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DelegatedAdminRelationshipsItemAccessAssignmentsCountRequestBuilder) To } 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 *DelegatedAdminRelationshipsItemAccessAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*DelegatedAdminRelationshipsItemAccessAssignmentsCountRequestBuilder) { + return NewDelegatedAdminRelationshipsItemAccessAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/delegated_admin_relationships_item_access_assignments_delegated_admin_access_assignment_item_request_builder.go b/tenantrelationships/delegated_admin_relationships_item_access_assignments_delegated_admin_access_assignment_item_request_builder.go index 83dbaae9846..3cd6f7051c8 100644 --- a/tenantrelationships/delegated_admin_relationships_item_access_assignments_delegated_admin_access_assignment_item_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_item_access_assignments_delegated_admin_access_assignment_item_request_builder.go @@ -162,3 +162,7 @@ func (m *DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAss } 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 *DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssignmentItemRequestBuilder) { + return NewDelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/delegated_admin_relationships_item_access_assignments_request_builder.go b/tenantrelationships/delegated_admin_relationships_item_access_assignments_request_builder.go index fdbbaec7f86..9ed1da6834e 100644 --- a/tenantrelationships/delegated_admin_relationships_item_access_assignments_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_item_access_assignments_request_builder.go @@ -46,8 +46,8 @@ type DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDelegatedAdminAccessAssignmentIdString provides operations to manage the accessAssignments property of the microsoft.graph.delegatedAdminRelationship entity. -func (m *DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilder) ByDelegatedAdminAccessAssignmentIdString(delegatedAdminAccessAssignmentId string)(*DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssignmentItemRequestBuilder) { +// ByDelegatedAdminAccessAssignmentId provides operations to manage the accessAssignments property of the microsoft.graph.delegatedAdminRelationship entity. +func (m *DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilder) ByDelegatedAdminAccessAssignmentId(delegatedAdminAccessAssignmentId string)(*DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilder) ToPostR } 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 *DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilder) WithUrl(rawUrl string)(*DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilder) { + return NewDelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/delegated_admin_relationships_item_operations_count_request_builder.go b/tenantrelationships/delegated_admin_relationships_item_operations_count_request_builder.go index a87e9204a8e..97fc6bf08f2 100644 --- a/tenantrelationships/delegated_admin_relationships_item_operations_count_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_item_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DelegatedAdminRelationshipsItemOperationsCountRequestBuilder) ToGetRequ } 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 *DelegatedAdminRelationshipsItemOperationsCountRequestBuilder) WithUrl(rawUrl string)(*DelegatedAdminRelationshipsItemOperationsCountRequestBuilder) { + return NewDelegatedAdminRelationshipsItemOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/delegated_admin_relationships_item_operations_delegated_admin_relationship_operation_item_request_builder.go b/tenantrelationships/delegated_admin_relationships_item_operations_delegated_admin_relationship_operation_item_request_builder.go index cdf763b82d0..e9c2bd7802b 100644 --- a/tenantrelationships/delegated_admin_relationships_item_operations_delegated_admin_relationship_operation_item_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_item_operations_delegated_admin_relationship_operation_item_request_builder.go @@ -156,3 +156,7 @@ func (m *DelegatedAdminRelationshipsItemOperationsDelegatedAdminRelationshipOper } 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 *DelegatedAdminRelationshipsItemOperationsDelegatedAdminRelationshipOperationItemRequestBuilder) WithUrl(rawUrl string)(*DelegatedAdminRelationshipsItemOperationsDelegatedAdminRelationshipOperationItemRequestBuilder) { + return NewDelegatedAdminRelationshipsItemOperationsDelegatedAdminRelationshipOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/delegated_admin_relationships_item_operations_request_builder.go b/tenantrelationships/delegated_admin_relationships_item_operations_request_builder.go index 9c25f3b9434..3791ab38321 100644 --- a/tenantrelationships/delegated_admin_relationships_item_operations_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_item_operations_request_builder.go @@ -46,8 +46,8 @@ type DelegatedAdminRelationshipsItemOperationsRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDelegatedAdminRelationshipOperationIdString provides operations to manage the operations property of the microsoft.graph.delegatedAdminRelationship entity. -func (m *DelegatedAdminRelationshipsItemOperationsRequestBuilder) ByDelegatedAdminRelationshipOperationIdString(delegatedAdminRelationshipOperationId string)(*DelegatedAdminRelationshipsItemOperationsDelegatedAdminRelationshipOperationItemRequestBuilder) { +// ByDelegatedAdminRelationshipOperationId provides operations to manage the operations property of the microsoft.graph.delegatedAdminRelationship entity. +func (m *DelegatedAdminRelationshipsItemOperationsRequestBuilder) ByDelegatedAdminRelationshipOperationId(delegatedAdminRelationshipOperationId string)(*DelegatedAdminRelationshipsItemOperationsDelegatedAdminRelationshipOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *DelegatedAdminRelationshipsItemOperationsRequestBuilder) ToPostRequestI } 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 *DelegatedAdminRelationshipsItemOperationsRequestBuilder) WithUrl(rawUrl string)(*DelegatedAdminRelationshipsItemOperationsRequestBuilder) { + return NewDelegatedAdminRelationshipsItemOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/delegated_admin_relationships_item_requests_count_request_builder.go b/tenantrelationships/delegated_admin_relationships_item_requests_count_request_builder.go index f4765d3da2d..2964ac114d4 100644 --- a/tenantrelationships/delegated_admin_relationships_item_requests_count_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_item_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *DelegatedAdminRelationshipsItemRequestsCountRequestBuilder) ToGetReques } 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 *DelegatedAdminRelationshipsItemRequestsCountRequestBuilder) WithUrl(rawUrl string)(*DelegatedAdminRelationshipsItemRequestsCountRequestBuilder) { + return NewDelegatedAdminRelationshipsItemRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/delegated_admin_relationships_item_requests_delegated_admin_relationship_request_item_request_builder.go b/tenantrelationships/delegated_admin_relationships_item_requests_delegated_admin_relationship_request_item_request_builder.go index c05e822e008..86b7da93232 100644 --- a/tenantrelationships/delegated_admin_relationships_item_requests_delegated_admin_relationship_request_item_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_item_requests_delegated_admin_relationship_request_item_request_builder.go @@ -156,3 +156,7 @@ func (m *DelegatedAdminRelationshipsItemRequestsDelegatedAdminRelationshipReques } 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 *DelegatedAdminRelationshipsItemRequestsDelegatedAdminRelationshipRequestItemRequestBuilder) WithUrl(rawUrl string)(*DelegatedAdminRelationshipsItemRequestsDelegatedAdminRelationshipRequestItemRequestBuilder) { + return NewDelegatedAdminRelationshipsItemRequestsDelegatedAdminRelationshipRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/delegated_admin_relationships_item_requests_request_builder.go b/tenantrelationships/delegated_admin_relationships_item_requests_request_builder.go index c9bad75508c..ac97f9d65f6 100644 --- a/tenantrelationships/delegated_admin_relationships_item_requests_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_item_requests_request_builder.go @@ -46,8 +46,8 @@ type DelegatedAdminRelationshipsItemRequestsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDelegatedAdminRelationshipRequestIdString provides operations to manage the requests property of the microsoft.graph.delegatedAdminRelationship entity. -func (m *DelegatedAdminRelationshipsItemRequestsRequestBuilder) ByDelegatedAdminRelationshipRequestIdString(delegatedAdminRelationshipRequestId string)(*DelegatedAdminRelationshipsItemRequestsDelegatedAdminRelationshipRequestItemRequestBuilder) { +// ByDelegatedAdminRelationshipRequestId provides operations to manage the requests property of the microsoft.graph.delegatedAdminRelationship entity. +func (m *DelegatedAdminRelationshipsItemRequestsRequestBuilder) ByDelegatedAdminRelationshipRequestId(delegatedAdminRelationshipRequestId string)(*DelegatedAdminRelationshipsItemRequestsDelegatedAdminRelationshipRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *DelegatedAdminRelationshipsItemRequestsRequestBuilder) ToPostRequestInf } 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 *DelegatedAdminRelationshipsItemRequestsRequestBuilder) WithUrl(rawUrl string)(*DelegatedAdminRelationshipsItemRequestsRequestBuilder) { + return NewDelegatedAdminRelationshipsItemRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/delegated_admin_relationships_request_builder.go b/tenantrelationships/delegated_admin_relationships_request_builder.go index d1cdec92c46..585609ea5ce 100644 --- a/tenantrelationships/delegated_admin_relationships_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_request_builder.go @@ -46,8 +46,8 @@ type DelegatedAdminRelationshipsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDelegatedAdminRelationshipIdString provides operations to manage the delegatedAdminRelationships property of the microsoft.graph.tenantRelationship entity. -func (m *DelegatedAdminRelationshipsRequestBuilder) ByDelegatedAdminRelationshipIdString(delegatedAdminRelationshipId string)(*DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder) { +// ByDelegatedAdminRelationshipId provides operations to manage the delegatedAdminRelationships property of the microsoft.graph.tenantRelationship entity. +func (m *DelegatedAdminRelationshipsRequestBuilder) ByDelegatedAdminRelationshipId(delegatedAdminRelationshipId string)(*DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *DelegatedAdminRelationshipsRequestBuilder) 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 *DelegatedAdminRelationshipsRequestBuilder) WithUrl(rawUrl string)(*DelegatedAdminRelationshipsRequestBuilder) { + return NewDelegatedAdminRelationshipsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/find_tenant_information_by_domain_name_with_domain_name_request_builder.go b/tenantrelationships/find_tenant_information_by_domain_name_with_domain_name_request_builder.go index 548454affe1..ed711defa4a 100644 --- a/tenantrelationships/find_tenant_information_by_domain_name_with_domain_name_request_builder.go +++ b/tenantrelationships/find_tenant_information_by_domain_name_with_domain_name_request_builder.go @@ -66,3 +66,7 @@ func (m *FindTenantInformationByDomainNameWithDomainNameRequestBuilder) ToGetReq } 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 *FindTenantInformationByDomainNameWithDomainNameRequestBuilder) WithUrl(rawUrl string)(*FindTenantInformationByDomainNameWithDomainNameRequestBuilder) { + return NewFindTenantInformationByDomainNameWithDomainNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/find_tenant_information_by_tenant_id_with_tenant_id_request_builder.go b/tenantrelationships/find_tenant_information_by_tenant_id_with_tenant_id_request_builder.go index f2c810bcaba..0f6cab1a92f 100644 --- a/tenantrelationships/find_tenant_information_by_tenant_id_with_tenant_id_request_builder.go +++ b/tenantrelationships/find_tenant_information_by_tenant_id_with_tenant_id_request_builder.go @@ -66,3 +66,7 @@ func (m *FindTenantInformationByTenantIdWithTenantIdRequestBuilder) ToGetRequest } 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 *FindTenantInformationByTenantIdWithTenantIdRequestBuilder) WithUrl(rawUrl string)(*FindTenantInformationByTenantIdWithTenantIdRequestBuilder) { + return NewFindTenantInformationByTenantIdWithTenantIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_aggregated_policy_compliances_aggregated_policy_compliance_item_request_builder.go b/tenantrelationships/managed_tenants_aggregated_policy_compliances_aggregated_policy_compliance_item_request_builder.go index 11ad8cca457..78a2e54fb7b 100644 --- a/tenantrelationships/managed_tenants_aggregated_policy_compliances_aggregated_policy_compliance_item_request_builder.go +++ b/tenantrelationships/managed_tenants_aggregated_policy_compliances_aggregated_policy_compliance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedTenantsAggregatedPolicyCompliancesAggregatedPolicyComplianceItem } 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 *ManagedTenantsAggregatedPolicyCompliancesAggregatedPolicyComplianceItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsAggregatedPolicyCompliancesAggregatedPolicyComplianceItemRequestBuilder) { + return NewManagedTenantsAggregatedPolicyCompliancesAggregatedPolicyComplianceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_aggregated_policy_compliances_count_request_builder.go b/tenantrelationships/managed_tenants_aggregated_policy_compliances_count_request_builder.go index 9f4f4ac8ac9..b599f5d6825 100644 --- a/tenantrelationships/managed_tenants_aggregated_policy_compliances_count_request_builder.go +++ b/tenantrelationships/managed_tenants_aggregated_policy_compliances_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsAggregatedPolicyCompliancesCountRequestBuilder) ToGetRequ } 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 *ManagedTenantsAggregatedPolicyCompliancesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsAggregatedPolicyCompliancesCountRequestBuilder) { + return NewManagedTenantsAggregatedPolicyCompliancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_aggregated_policy_compliances_request_builder.go b/tenantrelationships/managed_tenants_aggregated_policy_compliances_request_builder.go index 59c44b4f53e..505fea513cf 100644 --- a/tenantrelationships/managed_tenants_aggregated_policy_compliances_request_builder.go +++ b/tenantrelationships/managed_tenants_aggregated_policy_compliances_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsAggregatedPolicyCompliancesRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAggregatedPolicyComplianceIdString provides operations to manage the aggregatedPolicyCompliances property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsAggregatedPolicyCompliancesRequestBuilder) ByAggregatedPolicyComplianceIdString(aggregatedPolicyComplianceId string)(*ManagedTenantsAggregatedPolicyCompliancesAggregatedPolicyComplianceItemRequestBuilder) { +// ByAggregatedPolicyComplianceId provides operations to manage the aggregatedPolicyCompliances property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsAggregatedPolicyCompliancesRequestBuilder) ByAggregatedPolicyComplianceId(aggregatedPolicyComplianceId string)(*ManagedTenantsAggregatedPolicyCompliancesAggregatedPolicyComplianceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ManagedTenantsAggregatedPolicyCompliancesRequestBuilder) ToPostRequestI } 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 *ManagedTenantsAggregatedPolicyCompliancesRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsAggregatedPolicyCompliancesRequestBuilder) { + return NewManagedTenantsAggregatedPolicyCompliancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_app_performances_app_performance_item_request_builder.go b/tenantrelationships/managed_tenants_app_performances_app_performance_item_request_builder.go index deb995c564f..371077ec277 100644 --- a/tenantrelationships/managed_tenants_app_performances_app_performance_item_request_builder.go +++ b/tenantrelationships/managed_tenants_app_performances_app_performance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedTenantsAppPerformancesAppPerformanceItemRequestBuilder) ToPatchR } 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 *ManagedTenantsAppPerformancesAppPerformanceItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsAppPerformancesAppPerformanceItemRequestBuilder) { + return NewManagedTenantsAppPerformancesAppPerformanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_app_performances_count_request_builder.go b/tenantrelationships/managed_tenants_app_performances_count_request_builder.go index 9bd002c5e6d..e2f032c061b 100644 --- a/tenantrelationships/managed_tenants_app_performances_count_request_builder.go +++ b/tenantrelationships/managed_tenants_app_performances_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsAppPerformancesCountRequestBuilder) ToGetRequestInformati } 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 *ManagedTenantsAppPerformancesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsAppPerformancesCountRequestBuilder) { + return NewManagedTenantsAppPerformancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_app_performances_request_builder.go b/tenantrelationships/managed_tenants_app_performances_request_builder.go index 043cdf409db..82d45c7fec3 100644 --- a/tenantrelationships/managed_tenants_app_performances_request_builder.go +++ b/tenantrelationships/managed_tenants_app_performances_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsAppPerformancesRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAppPerformanceIdString provides operations to manage the appPerformances property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsAppPerformancesRequestBuilder) ByAppPerformanceIdString(appPerformanceId string)(*ManagedTenantsAppPerformancesAppPerformanceItemRequestBuilder) { +// ByAppPerformanceId provides operations to manage the appPerformances property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsAppPerformancesRequestBuilder) ByAppPerformanceId(appPerformanceId string)(*ManagedTenantsAppPerformancesAppPerformanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedTenantsAppPerformancesRequestBuilder) ToPostRequestInformation(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 *ManagedTenantsAppPerformancesRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsAppPerformancesRequestBuilder) { + return NewManagedTenantsAppPerformancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_audit_events_audit_event_item_request_builder.go b/tenantrelationships/managed_tenants_audit_events_audit_event_item_request_builder.go index 715f869f6df..1135edb0348 100644 --- a/tenantrelationships/managed_tenants_audit_events_audit_event_item_request_builder.go +++ b/tenantrelationships/managed_tenants_audit_events_audit_event_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ManagedTenantsAuditEventsAuditEventItemRequestBuilder) ToPatchRequestIn } 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 *ManagedTenantsAuditEventsAuditEventItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsAuditEventsAuditEventItemRequestBuilder) { + return NewManagedTenantsAuditEventsAuditEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_audit_events_count_request_builder.go b/tenantrelationships/managed_tenants_audit_events_count_request_builder.go index 3fd5ee5a808..50711fc7a22 100644 --- a/tenantrelationships/managed_tenants_audit_events_count_request_builder.go +++ b/tenantrelationships/managed_tenants_audit_events_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsAuditEventsCountRequestBuilder) ToGetRequestInformation(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 *ManagedTenantsAuditEventsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsAuditEventsCountRequestBuilder) { + return NewManagedTenantsAuditEventsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_audit_events_request_builder.go b/tenantrelationships/managed_tenants_audit_events_request_builder.go index b1098a800ce..8b4136b1e50 100644 --- a/tenantrelationships/managed_tenants_audit_events_request_builder.go +++ b/tenantrelationships/managed_tenants_audit_events_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsAuditEventsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAuditEventIdString provides operations to manage the auditEvents property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsAuditEventsRequestBuilder) ByAuditEventIdString(auditEventId string)(*ManagedTenantsAuditEventsAuditEventItemRequestBuilder) { +// ByAuditEventId provides operations to manage the auditEvents property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsAuditEventsRequestBuilder) ByAuditEventId(auditEventId string)(*ManagedTenantsAuditEventsAuditEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedTenantsAuditEventsRequestBuilder) ToPostRequestInformation(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 *ManagedTenantsAuditEventsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsAuditEventsRequestBuilder) { + return NewManagedTenantsAuditEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_cloud_pc_connections_cloud_pc_connection_item_request_builder.go b/tenantrelationships/managed_tenants_cloud_pc_connections_cloud_pc_connection_item_request_builder.go index 297e6fcf3be..e2bf09dc2db 100644 --- a/tenantrelationships/managed_tenants_cloud_pc_connections_cloud_pc_connection_item_request_builder.go +++ b/tenantrelationships/managed_tenants_cloud_pc_connections_cloud_pc_connection_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ManagedTenantsCloudPcConnectionsCloudPcConnectionItemRequestBuilder) To } 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 *ManagedTenantsCloudPcConnectionsCloudPcConnectionItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsCloudPcConnectionsCloudPcConnectionItemRequestBuilder) { + return NewManagedTenantsCloudPcConnectionsCloudPcConnectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_cloud_pc_connections_count_request_builder.go b/tenantrelationships/managed_tenants_cloud_pc_connections_count_request_builder.go index 902c68093e4..cea18acd28d 100644 --- a/tenantrelationships/managed_tenants_cloud_pc_connections_count_request_builder.go +++ b/tenantrelationships/managed_tenants_cloud_pc_connections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsCloudPcConnectionsCountRequestBuilder) ToGetRequestInform } 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 *ManagedTenantsCloudPcConnectionsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsCloudPcConnectionsCountRequestBuilder) { + return NewManagedTenantsCloudPcConnectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_cloud_pc_connections_request_builder.go b/tenantrelationships/managed_tenants_cloud_pc_connections_request_builder.go index a9adb9132ab..0483873e5ec 100644 --- a/tenantrelationships/managed_tenants_cloud_pc_connections_request_builder.go +++ b/tenantrelationships/managed_tenants_cloud_pc_connections_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsCloudPcConnectionsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCloudPcConnectionIdString provides operations to manage the cloudPcConnections property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsCloudPcConnectionsRequestBuilder) ByCloudPcConnectionIdString(cloudPcConnectionId string)(*ManagedTenantsCloudPcConnectionsCloudPcConnectionItemRequestBuilder) { +// ByCloudPcConnectionId provides operations to manage the cloudPcConnections property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsCloudPcConnectionsRequestBuilder) ByCloudPcConnectionId(cloudPcConnectionId string)(*ManagedTenantsCloudPcConnectionsCloudPcConnectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ManagedTenantsCloudPcConnectionsRequestBuilder) ToPostRequestInformatio } 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 *ManagedTenantsCloudPcConnectionsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsCloudPcConnectionsRequestBuilder) { + return NewManagedTenantsCloudPcConnectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_cloud_pc_devices_cloud_pc_device_item_request_builder.go b/tenantrelationships/managed_tenants_cloud_pc_devices_cloud_pc_device_item_request_builder.go index 78c3eebab46..754862fd99f 100644 --- a/tenantrelationships/managed_tenants_cloud_pc_devices_cloud_pc_device_item_request_builder.go +++ b/tenantrelationships/managed_tenants_cloud_pc_devices_cloud_pc_device_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ManagedTenantsCloudPcDevicesCloudPcDeviceItemRequestBuilder) ToPatchReq } 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 *ManagedTenantsCloudPcDevicesCloudPcDeviceItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsCloudPcDevicesCloudPcDeviceItemRequestBuilder) { + return NewManagedTenantsCloudPcDevicesCloudPcDeviceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_cloud_pc_devices_count_request_builder.go b/tenantrelationships/managed_tenants_cloud_pc_devices_count_request_builder.go index 5d301c04695..3c42cfee3c4 100644 --- a/tenantrelationships/managed_tenants_cloud_pc_devices_count_request_builder.go +++ b/tenantrelationships/managed_tenants_cloud_pc_devices_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsCloudPcDevicesCountRequestBuilder) 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 *ManagedTenantsCloudPcDevicesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsCloudPcDevicesCountRequestBuilder) { + return NewManagedTenantsCloudPcDevicesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_cloud_pc_devices_request_builder.go b/tenantrelationships/managed_tenants_cloud_pc_devices_request_builder.go index 16c03e7fed2..654dae0f97c 100644 --- a/tenantrelationships/managed_tenants_cloud_pc_devices_request_builder.go +++ b/tenantrelationships/managed_tenants_cloud_pc_devices_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsCloudPcDevicesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCloudPcDeviceIdString provides operations to manage the cloudPcDevices property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsCloudPcDevicesRequestBuilder) ByCloudPcDeviceIdString(cloudPcDeviceId string)(*ManagedTenantsCloudPcDevicesCloudPcDeviceItemRequestBuilder) { +// ByCloudPcDeviceId provides operations to manage the cloudPcDevices property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsCloudPcDevicesRequestBuilder) ByCloudPcDeviceId(cloudPcDeviceId string)(*ManagedTenantsCloudPcDevicesCloudPcDeviceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ManagedTenantsCloudPcDevicesRequestBuilder) 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 *ManagedTenantsCloudPcDevicesRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsCloudPcDevicesRequestBuilder) { + return NewManagedTenantsCloudPcDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_cloud_pcs_overview_cloud_pc_overview_tenant_item_request_builder.go b/tenantrelationships/managed_tenants_cloud_pcs_overview_cloud_pc_overview_tenant_item_request_builder.go index 36fa0bf2dc8..b415832d28c 100644 --- a/tenantrelationships/managed_tenants_cloud_pcs_overview_cloud_pc_overview_tenant_item_request_builder.go +++ b/tenantrelationships/managed_tenants_cloud_pcs_overview_cloud_pc_overview_tenant_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ManagedTenantsCloudPcsOverviewCloudPcOverviewTenantItemRequestBuilder) } 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 *ManagedTenantsCloudPcsOverviewCloudPcOverviewTenantItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsCloudPcsOverviewCloudPcOverviewTenantItemRequestBuilder) { + return NewManagedTenantsCloudPcsOverviewCloudPcOverviewTenantItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_cloud_pcs_overview_count_request_builder.go b/tenantrelationships/managed_tenants_cloud_pcs_overview_count_request_builder.go index 95ebd620ab0..da0a0e658c4 100644 --- a/tenantrelationships/managed_tenants_cloud_pcs_overview_count_request_builder.go +++ b/tenantrelationships/managed_tenants_cloud_pcs_overview_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsCloudPcsOverviewCountRequestBuilder) ToGetRequestInformat } 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 *ManagedTenantsCloudPcsOverviewCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsCloudPcsOverviewCountRequestBuilder) { + return NewManagedTenantsCloudPcsOverviewCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_cloud_pcs_overview_request_builder.go b/tenantrelationships/managed_tenants_cloud_pcs_overview_request_builder.go index aec4ab887c6..6d124e82dd8 100644 --- a/tenantrelationships/managed_tenants_cloud_pcs_overview_request_builder.go +++ b/tenantrelationships/managed_tenants_cloud_pcs_overview_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsCloudPcsOverviewRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCloudPcOverviewTenantIdString provides operations to manage the cloudPcsOverview property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsCloudPcsOverviewRequestBuilder) ByCloudPcOverviewTenantIdString(cloudPcOverviewTenantId string)(*ManagedTenantsCloudPcsOverviewCloudPcOverviewTenantItemRequestBuilder) { +// ByCloudPcOverviewTenantId provides operations to manage the cloudPcsOverview property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsCloudPcsOverviewRequestBuilder) ByCloudPcOverviewTenantId(cloudPcOverviewTenantId string)(*ManagedTenantsCloudPcsOverviewCloudPcOverviewTenantItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ManagedTenantsCloudPcsOverviewRequestBuilder) 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 *ManagedTenantsCloudPcsOverviewRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsCloudPcsOverviewRequestBuilder) { + return NewManagedTenantsCloudPcsOverviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_conditional_access_policy_coverages_conditional_access_policy_coverage_item_request_builder.go b/tenantrelationships/managed_tenants_conditional_access_policy_coverages_conditional_access_policy_coverage_item_request_builder.go index 5b1e36f67b3..32c51bd1fe5 100644 --- a/tenantrelationships/managed_tenants_conditional_access_policy_coverages_conditional_access_policy_coverage_item_request_builder.go +++ b/tenantrelationships/managed_tenants_conditional_access_policy_coverages_conditional_access_policy_coverage_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ManagedTenantsConditionalAccessPolicyCoveragesConditionalAccessPolicyCo } 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 *ManagedTenantsConditionalAccessPolicyCoveragesConditionalAccessPolicyCoverageItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsConditionalAccessPolicyCoveragesConditionalAccessPolicyCoverageItemRequestBuilder) { + return NewManagedTenantsConditionalAccessPolicyCoveragesConditionalAccessPolicyCoverageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_conditional_access_policy_coverages_count_request_builder.go b/tenantrelationships/managed_tenants_conditional_access_policy_coverages_count_request_builder.go index f6ec316e20f..fc19f7a48c3 100644 --- a/tenantrelationships/managed_tenants_conditional_access_policy_coverages_count_request_builder.go +++ b/tenantrelationships/managed_tenants_conditional_access_policy_coverages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsConditionalAccessPolicyCoveragesCountRequestBuilder) ToGe } 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 *ManagedTenantsConditionalAccessPolicyCoveragesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsConditionalAccessPolicyCoveragesCountRequestBuilder) { + return NewManagedTenantsConditionalAccessPolicyCoveragesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_conditional_access_policy_coverages_request_builder.go b/tenantrelationships/managed_tenants_conditional_access_policy_coverages_request_builder.go index 1a0612a6f97..9abf901138f 100644 --- a/tenantrelationships/managed_tenants_conditional_access_policy_coverages_request_builder.go +++ b/tenantrelationships/managed_tenants_conditional_access_policy_coverages_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsConditionalAccessPolicyCoveragesRequestBuilderPostRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByConditionalAccessPolicyCoverageIdString provides operations to manage the conditionalAccessPolicyCoverages property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsConditionalAccessPolicyCoveragesRequestBuilder) ByConditionalAccessPolicyCoverageIdString(conditionalAccessPolicyCoverageId string)(*ManagedTenantsConditionalAccessPolicyCoveragesConditionalAccessPolicyCoverageItemRequestBuilder) { +// ByConditionalAccessPolicyCoverageId provides operations to manage the conditionalAccessPolicyCoverages property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsConditionalAccessPolicyCoveragesRequestBuilder) ByConditionalAccessPolicyCoverageId(conditionalAccessPolicyCoverageId string)(*ManagedTenantsConditionalAccessPolicyCoveragesConditionalAccessPolicyCoverageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ManagedTenantsConditionalAccessPolicyCoveragesRequestBuilder) ToPostReq } 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 *ManagedTenantsConditionalAccessPolicyCoveragesRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsConditionalAccessPolicyCoveragesRequestBuilder) { + return NewManagedTenantsConditionalAccessPolicyCoveragesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_credential_user_registrations_summaries_count_request_builder.go b/tenantrelationships/managed_tenants_credential_user_registrations_summaries_count_request_builder.go index acf957d5d1a..c4402bdb475 100644 --- a/tenantrelationships/managed_tenants_credential_user_registrations_summaries_count_request_builder.go +++ b/tenantrelationships/managed_tenants_credential_user_registrations_summaries_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsCredentialUserRegistrationsSummariesCountRequestBuilder) } 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 *ManagedTenantsCredentialUserRegistrationsSummariesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsCredentialUserRegistrationsSummariesCountRequestBuilder) { + return NewManagedTenantsCredentialUserRegistrationsSummariesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_credential_user_registrations_summaries_credential_user_registrations_summary_item_request_builder.go b/tenantrelationships/managed_tenants_credential_user_registrations_summaries_credential_user_registrations_summary_item_request_builder.go index b7efb9ee24d..2bbb386bf3f 100644 --- a/tenantrelationships/managed_tenants_credential_user_registrations_summaries_credential_user_registrations_summary_item_request_builder.go +++ b/tenantrelationships/managed_tenants_credential_user_registrations_summaries_credential_user_registrations_summary_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ManagedTenantsCredentialUserRegistrationsSummariesCredentialUserRegistr } 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 *ManagedTenantsCredentialUserRegistrationsSummariesCredentialUserRegistrationsSummaryItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsCredentialUserRegistrationsSummariesCredentialUserRegistrationsSummaryItemRequestBuilder) { + return NewManagedTenantsCredentialUserRegistrationsSummariesCredentialUserRegistrationsSummaryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_credential_user_registrations_summaries_request_builder.go b/tenantrelationships/managed_tenants_credential_user_registrations_summaries_request_builder.go index 21c614077f6..c0840349d74 100644 --- a/tenantrelationships/managed_tenants_credential_user_registrations_summaries_request_builder.go +++ b/tenantrelationships/managed_tenants_credential_user_registrations_summaries_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsCredentialUserRegistrationsSummariesRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCredentialUserRegistrationsSummaryIdString provides operations to manage the credentialUserRegistrationsSummaries property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsCredentialUserRegistrationsSummariesRequestBuilder) ByCredentialUserRegistrationsSummaryIdString(credentialUserRegistrationsSummaryId string)(*ManagedTenantsCredentialUserRegistrationsSummariesCredentialUserRegistrationsSummaryItemRequestBuilder) { +// ByCredentialUserRegistrationsSummaryId provides operations to manage the credentialUserRegistrationsSummaries property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsCredentialUserRegistrationsSummariesRequestBuilder) ByCredentialUserRegistrationsSummaryId(credentialUserRegistrationsSummaryId string)(*ManagedTenantsCredentialUserRegistrationsSummariesCredentialUserRegistrationsSummaryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ManagedTenantsCredentialUserRegistrationsSummariesRequestBuilder) ToPos } 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 *ManagedTenantsCredentialUserRegistrationsSummariesRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsCredentialUserRegistrationsSummariesRequestBuilder) { + return NewManagedTenantsCredentialUserRegistrationsSummariesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_device_app_performances_count_request_builder.go b/tenantrelationships/managed_tenants_device_app_performances_count_request_builder.go index 3ea20f7cd1c..acce6602891 100644 --- a/tenantrelationships/managed_tenants_device_app_performances_count_request_builder.go +++ b/tenantrelationships/managed_tenants_device_app_performances_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsDeviceAppPerformancesCountRequestBuilder) ToGetRequestInf } 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 *ManagedTenantsDeviceAppPerformancesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsDeviceAppPerformancesCountRequestBuilder) { + return NewManagedTenantsDeviceAppPerformancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_device_app_performances_device_app_performance_item_request_builder.go b/tenantrelationships/managed_tenants_device_app_performances_device_app_performance_item_request_builder.go index 9b8067d9fd2..723098bb3e5 100644 --- a/tenantrelationships/managed_tenants_device_app_performances_device_app_performance_item_request_builder.go +++ b/tenantrelationships/managed_tenants_device_app_performances_device_app_performance_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedTenantsDeviceAppPerformancesDeviceAppPerformanceItemRequestBuild } 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 *ManagedTenantsDeviceAppPerformancesDeviceAppPerformanceItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsDeviceAppPerformancesDeviceAppPerformanceItemRequestBuilder) { + return NewManagedTenantsDeviceAppPerformancesDeviceAppPerformanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_device_app_performances_request_builder.go b/tenantrelationships/managed_tenants_device_app_performances_request_builder.go index 50a296bbe15..0f371f80338 100644 --- a/tenantrelationships/managed_tenants_device_app_performances_request_builder.go +++ b/tenantrelationships/managed_tenants_device_app_performances_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsDeviceAppPerformancesRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceAppPerformanceIdString provides operations to manage the deviceAppPerformances property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsDeviceAppPerformancesRequestBuilder) ByDeviceAppPerformanceIdString(deviceAppPerformanceId string)(*ManagedTenantsDeviceAppPerformancesDeviceAppPerformanceItemRequestBuilder) { +// ByDeviceAppPerformanceId provides operations to manage the deviceAppPerformances property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsDeviceAppPerformancesRequestBuilder) ByDeviceAppPerformanceId(deviceAppPerformanceId string)(*ManagedTenantsDeviceAppPerformancesDeviceAppPerformanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedTenantsDeviceAppPerformancesRequestBuilder) ToPostRequestInforma } 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 *ManagedTenantsDeviceAppPerformancesRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsDeviceAppPerformancesRequestBuilder) { + return NewManagedTenantsDeviceAppPerformancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_count_request_builder.go b/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_count_request_builder.go index a11d1f5d8c2..4ac1e6d0518 100644 --- a/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_count_request_builder.go +++ b/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsDeviceCompliancePolicySettingStateSummariesCountRequestBu } 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 *ManagedTenantsDeviceCompliancePolicySettingStateSummariesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsDeviceCompliancePolicySettingStateSummariesCountRequestBuilder) { + return NewManagedTenantsDeviceCompliancePolicySettingStateSummariesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_device_compliance_policy_setting_state_summary_item_request_builder.go b/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_device_compliance_policy_setting_state_summary_item_request_builder.go index 3fa59014427..e392f3ee9df 100644 --- a/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_device_compliance_policy_setting_state_summary_item_request_builder.go +++ b/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_device_compliance_policy_setting_state_summary_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ManagedTenantsDeviceCompliancePolicySettingStateSummariesDeviceComplian } 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 *ManagedTenantsDeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsDeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilder) { + return NewManagedTenantsDeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_request_builder.go b/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_request_builder.go index 1dbc6043e36..2817e69d13a 100644 --- a/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_request_builder.go +++ b/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsDeviceCompliancePolicySettingStateSummariesRequestBuilderPost // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceCompliancePolicySettingStateSummaryIdString provides operations to manage the deviceCompliancePolicySettingStateSummaries property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsDeviceCompliancePolicySettingStateSummariesRequestBuilder) ByDeviceCompliancePolicySettingStateSummaryIdString(deviceCompliancePolicySettingStateSummaryId string)(*ManagedTenantsDeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilder) { +// ByDeviceCompliancePolicySettingStateSummaryId provides operations to manage the deviceCompliancePolicySettingStateSummaries property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsDeviceCompliancePolicySettingStateSummariesRequestBuilder) ByDeviceCompliancePolicySettingStateSummaryId(deviceCompliancePolicySettingStateSummaryId string)(*ManagedTenantsDeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ManagedTenantsDeviceCompliancePolicySettingStateSummariesRequestBuilder } 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 *ManagedTenantsDeviceCompliancePolicySettingStateSummariesRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsDeviceCompliancePolicySettingStateSummariesRequestBuilder) { + return NewManagedTenantsDeviceCompliancePolicySettingStateSummariesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_device_health_statuses_count_request_builder.go b/tenantrelationships/managed_tenants_device_health_statuses_count_request_builder.go index 0ab3a24f7b9..23666817241 100644 --- a/tenantrelationships/managed_tenants_device_health_statuses_count_request_builder.go +++ b/tenantrelationships/managed_tenants_device_health_statuses_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsDeviceHealthStatusesCountRequestBuilder) ToGetRequestInfo } 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 *ManagedTenantsDeviceHealthStatusesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsDeviceHealthStatusesCountRequestBuilder) { + return NewManagedTenantsDeviceHealthStatusesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_device_health_statuses_device_health_status_item_request_builder.go b/tenantrelationships/managed_tenants_device_health_statuses_device_health_status_item_request_builder.go index 217d530e298..0678caa3f00 100644 --- a/tenantrelationships/managed_tenants_device_health_statuses_device_health_status_item_request_builder.go +++ b/tenantrelationships/managed_tenants_device_health_statuses_device_health_status_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedTenantsDeviceHealthStatusesDeviceHealthStatusItemRequestBuilder) } 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 *ManagedTenantsDeviceHealthStatusesDeviceHealthStatusItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsDeviceHealthStatusesDeviceHealthStatusItemRequestBuilder) { + return NewManagedTenantsDeviceHealthStatusesDeviceHealthStatusItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_device_health_statuses_request_builder.go b/tenantrelationships/managed_tenants_device_health_statuses_request_builder.go index f30b403c4ee..e8375772c36 100644 --- a/tenantrelationships/managed_tenants_device_health_statuses_request_builder.go +++ b/tenantrelationships/managed_tenants_device_health_statuses_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsDeviceHealthStatusesRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceHealthStatusIdString provides operations to manage the deviceHealthStatuses property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsDeviceHealthStatusesRequestBuilder) ByDeviceHealthStatusIdString(deviceHealthStatusId string)(*ManagedTenantsDeviceHealthStatusesDeviceHealthStatusItemRequestBuilder) { +// ByDeviceHealthStatusId provides operations to manage the deviceHealthStatuses property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsDeviceHealthStatusesRequestBuilder) ByDeviceHealthStatusId(deviceHealthStatusId string)(*ManagedTenantsDeviceHealthStatusesDeviceHealthStatusItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedTenantsDeviceHealthStatusesRequestBuilder) ToPostRequestInformat } 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 *ManagedTenantsDeviceHealthStatusesRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsDeviceHealthStatusesRequestBuilder) { + return NewManagedTenantsDeviceHealthStatusesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_device_compliance_trends_count_request_builder.go b/tenantrelationships/managed_tenants_managed_device_compliance_trends_count_request_builder.go index 59d3f6320e0..99180fb3e67 100644 --- a/tenantrelationships/managed_tenants_managed_device_compliance_trends_count_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_device_compliance_trends_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagedDeviceComplianceTrendsCountRequestBuilder) ToGetRe } 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 *ManagedTenantsManagedDeviceComplianceTrendsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedDeviceComplianceTrendsCountRequestBuilder) { + return NewManagedTenantsManagedDeviceComplianceTrendsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_device_compliance_trends_managed_device_compliance_trend_item_request_builder.go b/tenantrelationships/managed_tenants_managed_device_compliance_trends_managed_device_compliance_trend_item_request_builder.go index 32f8f43d315..6b4a5de2826 100644 --- a/tenantrelationships/managed_tenants_managed_device_compliance_trends_managed_device_compliance_trend_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_device_compliance_trends_managed_device_compliance_trend_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ManagedTenantsManagedDeviceComplianceTrendsManagedDeviceComplianceTrend } 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 *ManagedTenantsManagedDeviceComplianceTrendsManagedDeviceComplianceTrendItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedDeviceComplianceTrendsManagedDeviceComplianceTrendItemRequestBuilder) { + return NewManagedTenantsManagedDeviceComplianceTrendsManagedDeviceComplianceTrendItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_device_compliance_trends_request_builder.go b/tenantrelationships/managed_tenants_managed_device_compliance_trends_request_builder.go index b11159070e6..98001661c94 100644 --- a/tenantrelationships/managed_tenants_managed_device_compliance_trends_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_device_compliance_trends_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsManagedDeviceComplianceTrendsRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedDeviceComplianceTrendIdString provides operations to manage the managedDeviceComplianceTrends property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsManagedDeviceComplianceTrendsRequestBuilder) ByManagedDeviceComplianceTrendIdString(managedDeviceComplianceTrendId string)(*ManagedTenantsManagedDeviceComplianceTrendsManagedDeviceComplianceTrendItemRequestBuilder) { +// ByManagedDeviceComplianceTrendId provides operations to manage the managedDeviceComplianceTrends property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsManagedDeviceComplianceTrendsRequestBuilder) ByManagedDeviceComplianceTrendId(managedDeviceComplianceTrendId string)(*ManagedTenantsManagedDeviceComplianceTrendsManagedDeviceComplianceTrendItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ManagedTenantsManagedDeviceComplianceTrendsRequestBuilder) ToPostReques } 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 *ManagedTenantsManagedDeviceComplianceTrendsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedDeviceComplianceTrendsRequestBuilder) { + return NewManagedTenantsManagedDeviceComplianceTrendsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_device_compliances_count_request_builder.go b/tenantrelationships/managed_tenants_managed_device_compliances_count_request_builder.go index 6f29f8762a2..146a079d156 100644 --- a/tenantrelationships/managed_tenants_managed_device_compliances_count_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_device_compliances_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagedDeviceCompliancesCountRequestBuilder) ToGetRequest } 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 *ManagedTenantsManagedDeviceCompliancesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedDeviceCompliancesCountRequestBuilder) { + return NewManagedTenantsManagedDeviceCompliancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_device_compliances_managed_device_compliance_item_request_builder.go b/tenantrelationships/managed_tenants_managed_device_compliances_managed_device_compliance_item_request_builder.go index c5886cb77a2..c4e46e645e7 100644 --- a/tenantrelationships/managed_tenants_managed_device_compliances_managed_device_compliance_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_device_compliances_managed_device_compliance_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ManagedTenantsManagedDeviceCompliancesManagedDeviceComplianceItemReques } 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 *ManagedTenantsManagedDeviceCompliancesManagedDeviceComplianceItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedDeviceCompliancesManagedDeviceComplianceItemRequestBuilder) { + return NewManagedTenantsManagedDeviceCompliancesManagedDeviceComplianceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_device_compliances_request_builder.go b/tenantrelationships/managed_tenants_managed_device_compliances_request_builder.go index 4be7dabb1f6..da23302322d 100644 --- a/tenantrelationships/managed_tenants_managed_device_compliances_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_device_compliances_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsManagedDeviceCompliancesRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedDeviceComplianceIdString provides operations to manage the managedDeviceCompliances property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsManagedDeviceCompliancesRequestBuilder) ByManagedDeviceComplianceIdString(managedDeviceComplianceId string)(*ManagedTenantsManagedDeviceCompliancesManagedDeviceComplianceItemRequestBuilder) { +// ByManagedDeviceComplianceId provides operations to manage the managedDeviceCompliances property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsManagedDeviceCompliancesRequestBuilder) ByManagedDeviceComplianceId(managedDeviceComplianceId string)(*ManagedTenantsManagedDeviceCompliancesManagedDeviceComplianceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ManagedTenantsManagedDeviceCompliancesRequestBuilder) ToPostRequestInfo } 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 *ManagedTenantsManagedDeviceCompliancesRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedDeviceCompliancesRequestBuilder) { + return NewManagedTenantsManagedDeviceCompliancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_logs_count_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_logs_count_request_builder.go index f17b6f8986e..7bdec96a88a 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_logs_count_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_logs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagedTenantAlertLogsCountRequestBuilder) ToGetRequestIn } 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 *ManagedTenantsManagedTenantAlertLogsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertLogsCountRequestBuilder) { + return NewManagedTenantsManagedTenantAlertLogsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_logs_item_alert_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_logs_item_alert_request_builder.go index 719c02d046a..f8a6013e2c9 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_logs_item_alert_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_logs_item_alert_request_builder.go @@ -75,3 +75,7 @@ func (m *ManagedTenantsManagedTenantAlertLogsItemAlertRequestBuilder) ToGetReque } 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 *ManagedTenantsManagedTenantAlertLogsItemAlertRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertLogsItemAlertRequestBuilder) { + return NewManagedTenantsManagedTenantAlertLogsItemAlertRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_logs_managed_tenant_alert_log_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_logs_managed_tenant_alert_log_item_request_builder.go index 553c1256d95..37539150a86 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_logs_managed_tenant_alert_log_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_logs_managed_tenant_alert_log_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ManagedTenantsManagedTenantAlertLogsManagedTenantAlertLogItemRequestBui } 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 *ManagedTenantsManagedTenantAlertLogsManagedTenantAlertLogItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertLogsManagedTenantAlertLogItemRequestBuilder) { + return NewManagedTenantsManagedTenantAlertLogsManagedTenantAlertLogItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_logs_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_logs_request_builder.go index 93089fdadf5..86ce38b1e1b 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_logs_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_logs_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsManagedTenantAlertLogsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedTenantAlertLogIdString provides operations to manage the managedTenantAlertLogs property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsManagedTenantAlertLogsRequestBuilder) ByManagedTenantAlertLogIdString(managedTenantAlertLogId string)(*ManagedTenantsManagedTenantAlertLogsManagedTenantAlertLogItemRequestBuilder) { +// ByManagedTenantAlertLogId provides operations to manage the managedTenantAlertLogs property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsManagedTenantAlertLogsRequestBuilder) ByManagedTenantAlertLogId(managedTenantAlertLogId string)(*ManagedTenantsManagedTenantAlertLogsManagedTenantAlertLogItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedTenantsManagedTenantAlertLogsRequestBuilder) ToPostRequestInform } 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 *ManagedTenantsManagedTenantAlertLogsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertLogsRequestBuilder) { + return NewManagedTenantsManagedTenantAlertLogsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_count_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_count_request_builder.go index bcbb99c5fb1..13b0bb8fdb0 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_count_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagedTenantAlertRuleDefinitionsCountRequestBuilder) ToG } 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 *ManagedTenantsManagedTenantAlertRuleDefinitionsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertRuleDefinitionsCountRequestBuilder) { + return NewManagedTenantsManagedTenantAlertRuleDefinitionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_item_alert_rules_count_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_item_alert_rules_count_request_builder.go index 09d292b4ac2..91c0878f149 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_item_alert_rules_count_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_item_alert_rules_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagedTenantAlertRuleDefinitionsItemAlertRulesCountReque } 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 *ManagedTenantsManagedTenantAlertRuleDefinitionsItemAlertRulesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertRuleDefinitionsItemAlertRulesCountRequestBuilder) { + return NewManagedTenantsManagedTenantAlertRuleDefinitionsItemAlertRulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_item_alert_rules_managed_tenant_alert_rule_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_item_alert_rules_managed_tenant_alert_rule_item_request_builder.go index 1a7391552bc..d063a3933cd 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_item_alert_rules_managed_tenant_alert_rule_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_item_alert_rules_managed_tenant_alert_rule_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ManagedTenantsManagedTenantAlertRuleDefinitionsItemAlertRulesManagedTen } 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 *ManagedTenantsManagedTenantAlertRuleDefinitionsItemAlertRulesManagedTenantAlertRuleItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertRuleDefinitionsItemAlertRulesManagedTenantAlertRuleItemRequestBuilder) { + return NewManagedTenantsManagedTenantAlertRuleDefinitionsItemAlertRulesManagedTenantAlertRuleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_item_alert_rules_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_item_alert_rules_request_builder.go index 574705a7fab..6f16679bad8 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_item_alert_rules_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_item_alert_rules_request_builder.go @@ -39,8 +39,8 @@ type ManagedTenantsManagedTenantAlertRuleDefinitionsItemAlertRulesRequestBuilder // Request query parameters QueryParameters *ManagedTenantsManagedTenantAlertRuleDefinitionsItemAlertRulesRequestBuilderGetQueryParameters } -// ByManagedTenantAlertRuleIdString provides operations to manage the alertRules property of the microsoft.graph.managedTenants.managedTenantAlertRuleDefinition entity. -func (m *ManagedTenantsManagedTenantAlertRuleDefinitionsItemAlertRulesRequestBuilder) ByManagedTenantAlertRuleIdString(managedTenantAlertRuleId string)(*ManagedTenantsManagedTenantAlertRuleDefinitionsItemAlertRulesManagedTenantAlertRuleItemRequestBuilder) { +// ByManagedTenantAlertRuleId provides operations to manage the alertRules property of the microsoft.graph.managedTenants.managedTenantAlertRuleDefinition entity. +func (m *ManagedTenantsManagedTenantAlertRuleDefinitionsItemAlertRulesRequestBuilder) ByManagedTenantAlertRuleId(managedTenantAlertRuleId string)(*ManagedTenantsManagedTenantAlertRuleDefinitionsItemAlertRulesManagedTenantAlertRuleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ManagedTenantsManagedTenantAlertRuleDefinitionsItemAlertRulesRequestBui } 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 *ManagedTenantsManagedTenantAlertRuleDefinitionsItemAlertRulesRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertRuleDefinitionsItemAlertRulesRequestBuilder) { + return NewManagedTenantsManagedTenantAlertRuleDefinitionsItemAlertRulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_managed_tenant_alert_rule_definition_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_managed_tenant_alert_rule_definition_item_request_builder.go index 3114ee4273b..e82bea03c07 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_managed_tenant_alert_rule_definition_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_managed_tenant_alert_rule_definition_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ManagedTenantsManagedTenantAlertRuleDefinitionsManagedTenantAlertRuleDe } 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 *ManagedTenantsManagedTenantAlertRuleDefinitionsManagedTenantAlertRuleDefinitionItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertRuleDefinitionsManagedTenantAlertRuleDefinitionItemRequestBuilder) { + return NewManagedTenantsManagedTenantAlertRuleDefinitionsManagedTenantAlertRuleDefinitionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_request_builder.go index 136e01b037f..a01691b5ee2 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsManagedTenantAlertRuleDefinitionsRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedTenantAlertRuleDefinitionIdString provides operations to manage the managedTenantAlertRuleDefinitions property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsManagedTenantAlertRuleDefinitionsRequestBuilder) ByManagedTenantAlertRuleDefinitionIdString(managedTenantAlertRuleDefinitionId string)(*ManagedTenantsManagedTenantAlertRuleDefinitionsManagedTenantAlertRuleDefinitionItemRequestBuilder) { +// ByManagedTenantAlertRuleDefinitionId provides operations to manage the managedTenantAlertRuleDefinitions property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsManagedTenantAlertRuleDefinitionsRequestBuilder) ByManagedTenantAlertRuleDefinitionId(managedTenantAlertRuleDefinitionId string)(*ManagedTenantsManagedTenantAlertRuleDefinitionsManagedTenantAlertRuleDefinitionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedTenantsManagedTenantAlertRuleDefinitionsRequestBuilder) ToPostRe } 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 *ManagedTenantsManagedTenantAlertRuleDefinitionsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertRuleDefinitionsRequestBuilder) { + return NewManagedTenantsManagedTenantAlertRuleDefinitionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_count_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_count_request_builder.go index 2e641424cd1..c150f0d0d91 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_count_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagedTenantAlertRulesCountRequestBuilder) ToGetRequestI } 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 *ManagedTenantsManagedTenantAlertRulesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertRulesCountRequestBuilder) { + return NewManagedTenantsManagedTenantAlertRulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_alerts_count_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_alerts_count_request_builder.go index f104cfff8cf..2fb01c2baff 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_alerts_count_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_alerts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagedTenantAlertRulesItemAlertsCountRequestBuilder) ToG } 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 *ManagedTenantsManagedTenantAlertRulesItemAlertsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertRulesItemAlertsCountRequestBuilder) { + return NewManagedTenantsManagedTenantAlertRulesItemAlertsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_alerts_managed_tenant_alert_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_alerts_managed_tenant_alert_item_request_builder.go index c89e33ab9a8..80bbaacf97e 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_alerts_managed_tenant_alert_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_alerts_managed_tenant_alert_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ManagedTenantsManagedTenantAlertRulesItemAlertsManagedTenantAlertItemRe } 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 *ManagedTenantsManagedTenantAlertRulesItemAlertsManagedTenantAlertItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertRulesItemAlertsManagedTenantAlertItemRequestBuilder) { + return NewManagedTenantsManagedTenantAlertRulesItemAlertsManagedTenantAlertItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_alerts_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_alerts_request_builder.go index 9a790fe3e4a..9cac61febe8 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_alerts_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_alerts_request_builder.go @@ -39,8 +39,8 @@ type ManagedTenantsManagedTenantAlertRulesItemAlertsRequestBuilderGetRequestConf // Request query parameters QueryParameters *ManagedTenantsManagedTenantAlertRulesItemAlertsRequestBuilderGetQueryParameters } -// ByManagedTenantAlertIdString provides operations to manage the alerts property of the microsoft.graph.managedTenants.managedTenantAlertRule entity. -func (m *ManagedTenantsManagedTenantAlertRulesItemAlertsRequestBuilder) ByManagedTenantAlertIdString(managedTenantAlertId string)(*ManagedTenantsManagedTenantAlertRulesItemAlertsManagedTenantAlertItemRequestBuilder) { +// ByManagedTenantAlertId provides operations to manage the alerts property of the microsoft.graph.managedTenants.managedTenantAlertRule entity. +func (m *ManagedTenantsManagedTenantAlertRulesItemAlertsRequestBuilder) ByManagedTenantAlertId(managedTenantAlertId string)(*ManagedTenantsManagedTenantAlertRulesItemAlertsManagedTenantAlertItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ManagedTenantsManagedTenantAlertRulesItemAlertsRequestBuilder) ToGetReq } 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 *ManagedTenantsManagedTenantAlertRulesItemAlertsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertRulesItemAlertsRequestBuilder) { + return NewManagedTenantsManagedTenantAlertRulesItemAlertsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_rule_definition_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_rule_definition_request_builder.go index 513d5b26c2d..69c0cd8bdf3 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_rule_definition_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_rule_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *ManagedTenantsManagedTenantAlertRulesItemRuleDefinitionRequestBuilder) } 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 *ManagedTenantsManagedTenantAlertRulesItemRuleDefinitionRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertRulesItemRuleDefinitionRequestBuilder) { + return NewManagedTenantsManagedTenantAlertRulesItemRuleDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_managed_tenant_alert_rule_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_managed_tenant_alert_rule_item_request_builder.go index f50941f7032..4aa6721415c 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_managed_tenant_alert_rule_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_managed_tenant_alert_rule_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ManagedTenantsManagedTenantAlertRulesManagedTenantAlertRuleItemRequestB } 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 *ManagedTenantsManagedTenantAlertRulesManagedTenantAlertRuleItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertRulesManagedTenantAlertRuleItemRequestBuilder) { + return NewManagedTenantsManagedTenantAlertRulesManagedTenantAlertRuleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_request_builder.go index cf4dad2a166..feca3a64a4c 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsManagedTenantAlertRulesRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedTenantAlertRuleIdString provides operations to manage the managedTenantAlertRules property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsManagedTenantAlertRulesRequestBuilder) ByManagedTenantAlertRuleIdString(managedTenantAlertRuleId string)(*ManagedTenantsManagedTenantAlertRulesManagedTenantAlertRuleItemRequestBuilder) { +// ByManagedTenantAlertRuleId provides operations to manage the managedTenantAlertRules property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsManagedTenantAlertRulesRequestBuilder) ByManagedTenantAlertRuleId(managedTenantAlertRuleId string)(*ManagedTenantsManagedTenantAlertRulesManagedTenantAlertRuleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedTenantsManagedTenantAlertRulesRequestBuilder) ToPostRequestInfor } 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 *ManagedTenantsManagedTenantAlertRulesRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertRulesRequestBuilder) { + return NewManagedTenantsManagedTenantAlertRulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_count_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_count_request_builder.go index 10076e5d894..cadcf1ca769 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_count_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagedTenantAlertsCountRequestBuilder) ToGetRequestInfor } 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 *ManagedTenantsManagedTenantAlertsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertsCountRequestBuilder) { + return NewManagedTenantsManagedTenantAlertsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_logs_count_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_logs_count_request_builder.go index 87fed83d417..b198c16eff3 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_logs_count_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_logs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagedTenantAlertsItemAlertLogsCountRequestBuilder) ToGe } 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 *ManagedTenantsManagedTenantAlertsItemAlertLogsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertsItemAlertLogsCountRequestBuilder) { + return NewManagedTenantsManagedTenantAlertsItemAlertLogsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_logs_managed_tenant_alert_log_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_logs_managed_tenant_alert_log_item_request_builder.go index de0133e1161..35f70cb3eb1 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_logs_managed_tenant_alert_log_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_logs_managed_tenant_alert_log_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ManagedTenantsManagedTenantAlertsItemAlertLogsManagedTenantAlertLogItem } 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 *ManagedTenantsManagedTenantAlertsItemAlertLogsManagedTenantAlertLogItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertsItemAlertLogsManagedTenantAlertLogItemRequestBuilder) { + return NewManagedTenantsManagedTenantAlertsItemAlertLogsManagedTenantAlertLogItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_logs_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_logs_request_builder.go index e91837664d1..d6d3d4cb105 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_logs_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_logs_request_builder.go @@ -39,8 +39,8 @@ type ManagedTenantsManagedTenantAlertsItemAlertLogsRequestBuilderGetRequestConfi // Request query parameters QueryParameters *ManagedTenantsManagedTenantAlertsItemAlertLogsRequestBuilderGetQueryParameters } -// ByManagedTenantAlertLogIdString provides operations to manage the alertLogs property of the microsoft.graph.managedTenants.managedTenantAlert entity. -func (m *ManagedTenantsManagedTenantAlertsItemAlertLogsRequestBuilder) ByManagedTenantAlertLogIdString(managedTenantAlertLogId string)(*ManagedTenantsManagedTenantAlertsItemAlertLogsManagedTenantAlertLogItemRequestBuilder) { +// ByManagedTenantAlertLogId provides operations to manage the alertLogs property of the microsoft.graph.managedTenants.managedTenantAlert entity. +func (m *ManagedTenantsManagedTenantAlertsItemAlertLogsRequestBuilder) ByManagedTenantAlertLogId(managedTenantAlertLogId string)(*ManagedTenantsManagedTenantAlertsItemAlertLogsManagedTenantAlertLogItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ManagedTenantsManagedTenantAlertsItemAlertLogsRequestBuilder) ToGetRequ } 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 *ManagedTenantsManagedTenantAlertsItemAlertLogsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertsItemAlertLogsRequestBuilder) { + return NewManagedTenantsManagedTenantAlertsItemAlertLogsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_rule_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_rule_request_builder.go index de4a4a9be2b..680699cc741 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_rule_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_rule_request_builder.go @@ -75,3 +75,7 @@ func (m *ManagedTenantsManagedTenantAlertsItemAlertRuleRequestBuilder) ToGetRequ } 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 *ManagedTenantsManagedTenantAlertsItemAlertRuleRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertsItemAlertRuleRequestBuilder) { + return NewManagedTenantsManagedTenantAlertsItemAlertRuleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_api_notifications_count_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_api_notifications_count_request_builder.go index 45b361c220f..af0a9d2f701 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_api_notifications_count_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_api_notifications_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagedTenantAlertsItemApiNotificationsCountRequestBuilde } 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 *ManagedTenantsManagedTenantAlertsItemApiNotificationsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertsItemApiNotificationsCountRequestBuilder) { + return NewManagedTenantsManagedTenantAlertsItemApiNotificationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_api_notifications_managed_tenant_api_notification_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_api_notifications_managed_tenant_api_notification_item_request_builder.go index b5b8962337c..9662c1afbe9 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_api_notifications_managed_tenant_api_notification_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_api_notifications_managed_tenant_api_notification_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ManagedTenantsManagedTenantAlertsItemApiNotificationsManagedTenantApiNo } 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 *ManagedTenantsManagedTenantAlertsItemApiNotificationsManagedTenantApiNotificationItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertsItemApiNotificationsManagedTenantApiNotificationItemRequestBuilder) { + return NewManagedTenantsManagedTenantAlertsItemApiNotificationsManagedTenantApiNotificationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_api_notifications_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_api_notifications_request_builder.go index 531c4ce1d42..bc5a615eaed 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_api_notifications_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_api_notifications_request_builder.go @@ -39,8 +39,8 @@ type ManagedTenantsManagedTenantAlertsItemApiNotificationsRequestBuilderGetReque // Request query parameters QueryParameters *ManagedTenantsManagedTenantAlertsItemApiNotificationsRequestBuilderGetQueryParameters } -// ByManagedTenantApiNotificationIdString provides operations to manage the apiNotifications property of the microsoft.graph.managedTenants.managedTenantAlert entity. -func (m *ManagedTenantsManagedTenantAlertsItemApiNotificationsRequestBuilder) ByManagedTenantApiNotificationIdString(managedTenantApiNotificationId string)(*ManagedTenantsManagedTenantAlertsItemApiNotificationsManagedTenantApiNotificationItemRequestBuilder) { +// ByManagedTenantApiNotificationId provides operations to manage the apiNotifications property of the microsoft.graph.managedTenants.managedTenantAlert entity. +func (m *ManagedTenantsManagedTenantAlertsItemApiNotificationsRequestBuilder) ByManagedTenantApiNotificationId(managedTenantApiNotificationId string)(*ManagedTenantsManagedTenantAlertsItemApiNotificationsManagedTenantApiNotificationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ManagedTenantsManagedTenantAlertsItemApiNotificationsRequestBuilder) To } 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 *ManagedTenantsManagedTenantAlertsItemApiNotificationsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertsItemApiNotificationsRequestBuilder) { + return NewManagedTenantsManagedTenantAlertsItemApiNotificationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_email_notifications_count_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_email_notifications_count_request_builder.go index 0522cac40ed..b1c5c7d0ebf 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_email_notifications_count_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_email_notifications_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagedTenantAlertsItemEmailNotificationsCountRequestBuil } 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 *ManagedTenantsManagedTenantAlertsItemEmailNotificationsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertsItemEmailNotificationsCountRequestBuilder) { + return NewManagedTenantsManagedTenantAlertsItemEmailNotificationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_email_notifications_managed_tenant_email_notification_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_email_notifications_managed_tenant_email_notification_item_request_builder.go index 2e3f761a1f6..1b0e07b7c57 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_email_notifications_managed_tenant_email_notification_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_email_notifications_managed_tenant_email_notification_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ManagedTenantsManagedTenantAlertsItemEmailNotificationsManagedTenantEma } 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 *ManagedTenantsManagedTenantAlertsItemEmailNotificationsManagedTenantEmailNotificationItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertsItemEmailNotificationsManagedTenantEmailNotificationItemRequestBuilder) { + return NewManagedTenantsManagedTenantAlertsItemEmailNotificationsManagedTenantEmailNotificationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_email_notifications_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_email_notifications_request_builder.go index b351795ddc0..49278f5dc00 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_email_notifications_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_email_notifications_request_builder.go @@ -39,8 +39,8 @@ type ManagedTenantsManagedTenantAlertsItemEmailNotificationsRequestBuilderGetReq // Request query parameters QueryParameters *ManagedTenantsManagedTenantAlertsItemEmailNotificationsRequestBuilderGetQueryParameters } -// ByManagedTenantEmailNotificationIdString provides operations to manage the emailNotifications property of the microsoft.graph.managedTenants.managedTenantAlert entity. -func (m *ManagedTenantsManagedTenantAlertsItemEmailNotificationsRequestBuilder) ByManagedTenantEmailNotificationIdString(managedTenantEmailNotificationId string)(*ManagedTenantsManagedTenantAlertsItemEmailNotificationsManagedTenantEmailNotificationItemRequestBuilder) { +// ByManagedTenantEmailNotificationId provides operations to manage the emailNotifications property of the microsoft.graph.managedTenants.managedTenantAlert entity. +func (m *ManagedTenantsManagedTenantAlertsItemEmailNotificationsRequestBuilder) ByManagedTenantEmailNotificationId(managedTenantEmailNotificationId string)(*ManagedTenantsManagedTenantAlertsItemEmailNotificationsManagedTenantEmailNotificationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ManagedTenantsManagedTenantAlertsItemEmailNotificationsRequestBuilder) } 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 *ManagedTenantsManagedTenantAlertsItemEmailNotificationsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertsItemEmailNotificationsRequestBuilder) { + return NewManagedTenantsManagedTenantAlertsItemEmailNotificationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_microsoft_graph_managed_tenants_add_user_input_log_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_microsoft_graph_managed_tenants_add_user_input_log_request_builder.go index b2890a8a33f..6bb86943324 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_microsoft_graph_managed_tenants_add_user_input_log_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_microsoft_graph_managed_tenants_add_user_input_log_request_builder.go @@ -67,3 +67,7 @@ func (m *ManagedTenantsManagedTenantAlertsItemMicrosoftGraphManagedTenantsAddUse } 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 *ManagedTenantsManagedTenantAlertsItemMicrosoftGraphManagedTenantsAddUserInputLogRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertsItemMicrosoftGraphManagedTenantsAddUserInputLogRequestBuilder) { + return NewManagedTenantsManagedTenantAlertsItemMicrosoftGraphManagedTenantsAddUserInputLogRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_managed_tenant_alert_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_managed_tenant_alert_item_request_builder.go index 62d032e035a..9c3720e5542 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_managed_tenant_alert_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_managed_tenant_alert_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ManagedTenantsManagedTenantAlertsManagedTenantAlertItemRequestBuilder) } 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 *ManagedTenantsManagedTenantAlertsManagedTenantAlertItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertsManagedTenantAlertItemRequestBuilder) { + return NewManagedTenantsManagedTenantAlertsManagedTenantAlertItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_request_builder.go index 31d1b7700a5..0d495e89d7e 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsManagedTenantAlertsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedTenantAlertIdString provides operations to manage the managedTenantAlerts property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsManagedTenantAlertsRequestBuilder) ByManagedTenantAlertIdString(managedTenantAlertId string)(*ManagedTenantsManagedTenantAlertsManagedTenantAlertItemRequestBuilder) { +// ByManagedTenantAlertId provides operations to manage the managedTenantAlerts property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsManagedTenantAlertsRequestBuilder) ByManagedTenantAlertId(managedTenantAlertId string)(*ManagedTenantsManagedTenantAlertsManagedTenantAlertItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedTenantsManagedTenantAlertsRequestBuilder) ToPostRequestInformati } 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 *ManagedTenantsManagedTenantAlertsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantAlertsRequestBuilder) { + return NewManagedTenantsManagedTenantAlertsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_api_notifications_count_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_api_notifications_count_request_builder.go index dcb9ce93b39..af1df729569 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_api_notifications_count_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_api_notifications_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagedTenantApiNotificationsCountRequestBuilder) ToGetRe } 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 *ManagedTenantsManagedTenantApiNotificationsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantApiNotificationsCountRequestBuilder) { + return NewManagedTenantsManagedTenantApiNotificationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_api_notifications_item_alert_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_api_notifications_item_alert_request_builder.go index 0232d711d6f..8632564505c 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_api_notifications_item_alert_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_api_notifications_item_alert_request_builder.go @@ -75,3 +75,7 @@ func (m *ManagedTenantsManagedTenantApiNotificationsItemAlertRequestBuilder) ToG } 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 *ManagedTenantsManagedTenantApiNotificationsItemAlertRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantApiNotificationsItemAlertRequestBuilder) { + return NewManagedTenantsManagedTenantApiNotificationsItemAlertRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_api_notifications_managed_tenant_api_notification_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_api_notifications_managed_tenant_api_notification_item_request_builder.go index bd79791634a..98db7fc9b2c 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_api_notifications_managed_tenant_api_notification_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_api_notifications_managed_tenant_api_notification_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ManagedTenantsManagedTenantApiNotificationsManagedTenantApiNotification } 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 *ManagedTenantsManagedTenantApiNotificationsManagedTenantApiNotificationItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantApiNotificationsManagedTenantApiNotificationItemRequestBuilder) { + return NewManagedTenantsManagedTenantApiNotificationsManagedTenantApiNotificationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_api_notifications_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_api_notifications_request_builder.go index 79be6b8ad3f..3011c3c440b 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_api_notifications_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_api_notifications_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsManagedTenantApiNotificationsRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedTenantApiNotificationIdString provides operations to manage the managedTenantApiNotifications property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsManagedTenantApiNotificationsRequestBuilder) ByManagedTenantApiNotificationIdString(managedTenantApiNotificationId string)(*ManagedTenantsManagedTenantApiNotificationsManagedTenantApiNotificationItemRequestBuilder) { +// ByManagedTenantApiNotificationId provides operations to manage the managedTenantApiNotifications property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsManagedTenantApiNotificationsRequestBuilder) ByManagedTenantApiNotificationId(managedTenantApiNotificationId string)(*ManagedTenantsManagedTenantApiNotificationsManagedTenantApiNotificationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedTenantsManagedTenantApiNotificationsRequestBuilder) ToPostReques } 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 *ManagedTenantsManagedTenantApiNotificationsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantApiNotificationsRequestBuilder) { + return NewManagedTenantsManagedTenantApiNotificationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_email_notifications_count_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_email_notifications_count_request_builder.go index 1aa9da38dc8..932a4cb0f34 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_email_notifications_count_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_email_notifications_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagedTenantEmailNotificationsCountRequestBuilder) ToGet } 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 *ManagedTenantsManagedTenantEmailNotificationsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantEmailNotificationsCountRequestBuilder) { + return NewManagedTenantsManagedTenantEmailNotificationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_email_notifications_item_alert_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_email_notifications_item_alert_request_builder.go index 4fa14884177..c7e60288b30 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_email_notifications_item_alert_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_email_notifications_item_alert_request_builder.go @@ -75,3 +75,7 @@ func (m *ManagedTenantsManagedTenantEmailNotificationsItemAlertRequestBuilder) T } 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 *ManagedTenantsManagedTenantEmailNotificationsItemAlertRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantEmailNotificationsItemAlertRequestBuilder) { + return NewManagedTenantsManagedTenantEmailNotificationsItemAlertRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_email_notifications_managed_tenant_email_notification_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_email_notifications_managed_tenant_email_notification_item_request_builder.go index e9c492bb833..9fae1c751a6 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_email_notifications_managed_tenant_email_notification_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_email_notifications_managed_tenant_email_notification_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ManagedTenantsManagedTenantEmailNotificationsManagedTenantEmailNotifica } 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 *ManagedTenantsManagedTenantEmailNotificationsManagedTenantEmailNotificationItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantEmailNotificationsManagedTenantEmailNotificationItemRequestBuilder) { + return NewManagedTenantsManagedTenantEmailNotificationsManagedTenantEmailNotificationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_email_notifications_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_email_notifications_request_builder.go index a260446fbc1..0e9a3d97111 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_email_notifications_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_email_notifications_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsManagedTenantEmailNotificationsRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedTenantEmailNotificationIdString provides operations to manage the managedTenantEmailNotifications property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsManagedTenantEmailNotificationsRequestBuilder) ByManagedTenantEmailNotificationIdString(managedTenantEmailNotificationId string)(*ManagedTenantsManagedTenantEmailNotificationsManagedTenantEmailNotificationItemRequestBuilder) { +// ByManagedTenantEmailNotificationId provides operations to manage the managedTenantEmailNotifications property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsManagedTenantEmailNotificationsRequestBuilder) ByManagedTenantEmailNotificationId(managedTenantEmailNotificationId string)(*ManagedTenantsManagedTenantEmailNotificationsManagedTenantEmailNotificationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedTenantsManagedTenantEmailNotificationsRequestBuilder) ToPostRequ } 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 *ManagedTenantsManagedTenantEmailNotificationsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantEmailNotificationsRequestBuilder) { + return NewManagedTenantsManagedTenantEmailNotificationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_ticketing_endpoints_count_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_ticketing_endpoints_count_request_builder.go index 5a63da13627..8331bdd2b25 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_ticketing_endpoints_count_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_ticketing_endpoints_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagedTenantTicketingEndpointsCountRequestBuilder) ToGet } 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 *ManagedTenantsManagedTenantTicketingEndpointsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantTicketingEndpointsCountRequestBuilder) { + return NewManagedTenantsManagedTenantTicketingEndpointsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_ticketing_endpoints_managed_tenant_ticketing_endpoint_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_ticketing_endpoints_managed_tenant_ticketing_endpoint_item_request_builder.go index e00921583cd..127a61b4d24 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_ticketing_endpoints_managed_tenant_ticketing_endpoint_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_ticketing_endpoints_managed_tenant_ticketing_endpoint_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedTenantsManagedTenantTicketingEndpointsManagedTenantTicketingEndp } 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 *ManagedTenantsManagedTenantTicketingEndpointsManagedTenantTicketingEndpointItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantTicketingEndpointsManagedTenantTicketingEndpointItemRequestBuilder) { + return NewManagedTenantsManagedTenantTicketingEndpointsManagedTenantTicketingEndpointItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_managed_tenant_ticketing_endpoints_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_ticketing_endpoints_request_builder.go index 48de52a50dd..fe6913b59f3 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_ticketing_endpoints_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_ticketing_endpoints_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsManagedTenantTicketingEndpointsRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedTenantTicketingEndpointIdString provides operations to manage the managedTenantTicketingEndpoints property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsManagedTenantTicketingEndpointsRequestBuilder) ByManagedTenantTicketingEndpointIdString(managedTenantTicketingEndpointId string)(*ManagedTenantsManagedTenantTicketingEndpointsManagedTenantTicketingEndpointItemRequestBuilder) { +// ByManagedTenantTicketingEndpointId provides operations to manage the managedTenantTicketingEndpoints property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsManagedTenantTicketingEndpointsRequestBuilder) ByManagedTenantTicketingEndpointId(managedTenantTicketingEndpointId string)(*ManagedTenantsManagedTenantTicketingEndpointsManagedTenantTicketingEndpointItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedTenantsManagedTenantTicketingEndpointsRequestBuilder) ToPostRequ } 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 *ManagedTenantsManagedTenantTicketingEndpointsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagedTenantTicketingEndpointsRequestBuilder) { + return NewManagedTenantsManagedTenantTicketingEndpointsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_count_request_builder.go b/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_count_request_builder.go index 1d11ad6f091..d6ec786c0fa 100644 --- a/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_count_request_builder.go +++ b/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagementActionTenantDeploymentStatusesCountRequestBuild } 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 *ManagedTenantsManagementActionTenantDeploymentStatusesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementActionTenantDeploymentStatusesCountRequestBuilder) { + return NewManagedTenantsManagementActionTenantDeploymentStatusesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_management_action_tenant_deployment_status_item_request_builder.go b/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_management_action_tenant_deployment_status_item_request_builder.go index 017e0a2a1f7..694df2b12c3 100644 --- a/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_management_action_tenant_deployment_status_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_management_action_tenant_deployment_status_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ManagedTenantsManagementActionTenantDeploymentStatusesManagementActionT } 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 *ManagedTenantsManagementActionTenantDeploymentStatusesManagementActionTenantDeploymentStatusItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementActionTenantDeploymentStatusesManagementActionTenantDeploymentStatusItemRequestBuilder) { + return NewManagedTenantsManagementActionTenantDeploymentStatusesManagementActionTenantDeploymentStatusItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_microsoft_graph_managed_tenants_change_deployment_status_request_builder.go b/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_microsoft_graph_managed_tenants_change_deployment_status_request_builder.go index 498524c5c97..fe316ee829a 100644 --- a/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_microsoft_graph_managed_tenants_change_deployment_status_request_builder.go +++ b/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_microsoft_graph_managed_tenants_change_deployment_status_request_builder.go @@ -67,3 +67,7 @@ func (m *ManagedTenantsManagementActionTenantDeploymentStatusesMicrosoftGraphMan } 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 *ManagedTenantsManagementActionTenantDeploymentStatusesMicrosoftGraphManagedTenantsChangeDeploymentStatusRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementActionTenantDeploymentStatusesMicrosoftGraphManagedTenantsChangeDeploymentStatusRequestBuilder) { + return NewManagedTenantsManagementActionTenantDeploymentStatusesMicrosoftGraphManagedTenantsChangeDeploymentStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_request_builder.go b/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_request_builder.go index 4605e29fa5f..90cb275db03 100644 --- a/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_request_builder.go +++ b/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsManagementActionTenantDeploymentStatusesRequestBuilderPostReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagementActionTenantDeploymentStatusIdString provides operations to manage the managementActionTenantDeploymentStatuses property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsManagementActionTenantDeploymentStatusesRequestBuilder) ByManagementActionTenantDeploymentStatusIdString(managementActionTenantDeploymentStatusId string)(*ManagedTenantsManagementActionTenantDeploymentStatusesManagementActionTenantDeploymentStatusItemRequestBuilder) { +// ByManagementActionTenantDeploymentStatusId provides operations to manage the managementActionTenantDeploymentStatuses property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsManagementActionTenantDeploymentStatusesRequestBuilder) ByManagementActionTenantDeploymentStatusId(managementActionTenantDeploymentStatusId string)(*ManagedTenantsManagementActionTenantDeploymentStatusesManagementActionTenantDeploymentStatusItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *ManagedTenantsManagementActionTenantDeploymentStatusesRequestBuilder) T } 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 *ManagedTenantsManagementActionTenantDeploymentStatusesRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementActionTenantDeploymentStatusesRequestBuilder) { + return NewManagedTenantsManagementActionTenantDeploymentStatusesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_actions_count_request_builder.go b/tenantrelationships/managed_tenants_management_actions_count_request_builder.go index c5bb8b3ed2c..b32ed4425bd 100644 --- a/tenantrelationships/managed_tenants_management_actions_count_request_builder.go +++ b/tenantrelationships/managed_tenants_management_actions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagementActionsCountRequestBuilder) ToGetRequestInforma } 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 *ManagedTenantsManagementActionsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementActionsCountRequestBuilder) { + return NewManagedTenantsManagementActionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_actions_item_microsoft_graph_managed_tenants_apply_request_builder.go b/tenantrelationships/managed_tenants_management_actions_item_microsoft_graph_managed_tenants_apply_request_builder.go index 6b90a721006..92e684a4e39 100644 --- a/tenantrelationships/managed_tenants_management_actions_item_microsoft_graph_managed_tenants_apply_request_builder.go +++ b/tenantrelationships/managed_tenants_management_actions_item_microsoft_graph_managed_tenants_apply_request_builder.go @@ -70,3 +70,7 @@ func (m *ManagedTenantsManagementActionsItemMicrosoftGraphManagedTenantsApplyReq } 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 *ManagedTenantsManagementActionsItemMicrosoftGraphManagedTenantsApplyRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementActionsItemMicrosoftGraphManagedTenantsApplyRequestBuilder) { + return NewManagedTenantsManagementActionsItemMicrosoftGraphManagedTenantsApplyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_actions_management_action_item_request_builder.go b/tenantrelationships/managed_tenants_management_actions_management_action_item_request_builder.go index ffd1c15c6bc..a35b3956622 100644 --- a/tenantrelationships/managed_tenants_management_actions_management_action_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_actions_management_action_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ManagedTenantsManagementActionsManagementActionItemRequestBuilder) ToPa } 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 *ManagedTenantsManagementActionsManagementActionItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementActionsManagementActionItemRequestBuilder) { + return NewManagedTenantsManagementActionsManagementActionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_actions_request_builder.go b/tenantrelationships/managed_tenants_management_actions_request_builder.go index bdc36943259..c6b00b334a9 100644 --- a/tenantrelationships/managed_tenants_management_actions_request_builder.go +++ b/tenantrelationships/managed_tenants_management_actions_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsManagementActionsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagementActionIdString provides operations to manage the managementActions property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsManagementActionsRequestBuilder) ByManagementActionIdString(managementActionId string)(*ManagedTenantsManagementActionsManagementActionItemRequestBuilder) { +// ByManagementActionId provides operations to manage the managementActions property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsManagementActionsRequestBuilder) ByManagementActionId(managementActionId string)(*ManagedTenantsManagementActionsManagementActionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ManagedTenantsManagementActionsRequestBuilder) 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 *ManagedTenantsManagementActionsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementActionsRequestBuilder) { + return NewManagedTenantsManagementActionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_intents_count_request_builder.go b/tenantrelationships/managed_tenants_management_intents_count_request_builder.go index 5b8bae77c16..056ea76facb 100644 --- a/tenantrelationships/managed_tenants_management_intents_count_request_builder.go +++ b/tenantrelationships/managed_tenants_management_intents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagementIntentsCountRequestBuilder) ToGetRequestInforma } 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 *ManagedTenantsManagementIntentsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementIntentsCountRequestBuilder) { + return NewManagedTenantsManagementIntentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_intents_management_intent_item_request_builder.go b/tenantrelationships/managed_tenants_management_intents_management_intent_item_request_builder.go index c77f82c317d..b2c6e02632c 100644 --- a/tenantrelationships/managed_tenants_management_intents_management_intent_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_intents_management_intent_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ManagedTenantsManagementIntentsManagementIntentItemRequestBuilder) ToPa } 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 *ManagedTenantsManagementIntentsManagementIntentItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementIntentsManagementIntentItemRequestBuilder) { + return NewManagedTenantsManagementIntentsManagementIntentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_intents_request_builder.go b/tenantrelationships/managed_tenants_management_intents_request_builder.go index 5887ede0a91..243c7747fff 100644 --- a/tenantrelationships/managed_tenants_management_intents_request_builder.go +++ b/tenantrelationships/managed_tenants_management_intents_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsManagementIntentsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagementIntentIdString provides operations to manage the managementIntents property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsManagementIntentsRequestBuilder) ByManagementIntentIdString(managementIntentId string)(*ManagedTenantsManagementIntentsManagementIntentItemRequestBuilder) { +// ByManagementIntentId provides operations to manage the managementIntents property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsManagementIntentsRequestBuilder) ByManagementIntentId(managementIntentId string)(*ManagedTenantsManagementIntentsManagementIntentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ManagedTenantsManagementIntentsRequestBuilder) 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 *ManagedTenantsManagementIntentsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementIntentsRequestBuilder) { + return NewManagedTenantsManagementIntentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_collection_tenant_summaries_count_request_builder.go b/tenantrelationships/managed_tenants_management_template_collection_tenant_summaries_count_request_builder.go index 1fa8323bbcc..c1706f9f76d 100644 --- a/tenantrelationships/managed_tenants_management_template_collection_tenant_summaries_count_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_collection_tenant_summaries_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagementTemplateCollectionTenantSummariesCountRequestBu } 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 *ManagedTenantsManagementTemplateCollectionTenantSummariesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateCollectionTenantSummariesCountRequestBuilder) { + return NewManagedTenantsManagementTemplateCollectionTenantSummariesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_collection_tenant_summaries_management_template_collection_tenant_summary_item_request_builder.go b/tenantrelationships/managed_tenants_management_template_collection_tenant_summaries_management_template_collection_tenant_summary_item_request_builder.go index ecff2a6bf78..55300e4431e 100644 --- a/tenantrelationships/managed_tenants_management_template_collection_tenant_summaries_management_template_collection_tenant_summary_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_collection_tenant_summaries_management_template_collection_tenant_summary_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedTenantsManagementTemplateCollectionTenantSummariesManagementTemp } 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 *ManagedTenantsManagementTemplateCollectionTenantSummariesManagementTemplateCollectionTenantSummaryItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateCollectionTenantSummariesManagementTemplateCollectionTenantSummaryItemRequestBuilder) { + return NewManagedTenantsManagementTemplateCollectionTenantSummariesManagementTemplateCollectionTenantSummaryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_collection_tenant_summaries_request_builder.go b/tenantrelationships/managed_tenants_management_template_collection_tenant_summaries_request_builder.go index 93eaa168282..95ee25d945b 100644 --- a/tenantrelationships/managed_tenants_management_template_collection_tenant_summaries_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_collection_tenant_summaries_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsManagementTemplateCollectionTenantSummariesRequestBuilderPost // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagementTemplateCollectionTenantSummaryIdString provides operations to manage the managementTemplateCollectionTenantSummaries property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsManagementTemplateCollectionTenantSummariesRequestBuilder) ByManagementTemplateCollectionTenantSummaryIdString(managementTemplateCollectionTenantSummaryId string)(*ManagedTenantsManagementTemplateCollectionTenantSummariesManagementTemplateCollectionTenantSummaryItemRequestBuilder) { +// ByManagementTemplateCollectionTenantSummaryId provides operations to manage the managementTemplateCollectionTenantSummaries property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsManagementTemplateCollectionTenantSummariesRequestBuilder) ByManagementTemplateCollectionTenantSummaryId(managementTemplateCollectionTenantSummaryId string)(*ManagedTenantsManagementTemplateCollectionTenantSummariesManagementTemplateCollectionTenantSummaryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedTenantsManagementTemplateCollectionTenantSummariesRequestBuilder } 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 *ManagedTenantsManagementTemplateCollectionTenantSummariesRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateCollectionTenantSummariesRequestBuilder) { + return NewManagedTenantsManagementTemplateCollectionTenantSummariesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_collections_count_request_builder.go b/tenantrelationships/managed_tenants_management_template_collections_count_request_builder.go index 79e771e904d..e2f3b86d50f 100644 --- a/tenantrelationships/managed_tenants_management_template_collections_count_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_collections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagementTemplateCollectionsCountRequestBuilder) ToGetRe } 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 *ManagedTenantsManagementTemplateCollectionsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateCollectionsCountRequestBuilder) { + return NewManagedTenantsManagementTemplateCollectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_collections_item_management_templates_count_request_builder.go b/tenantrelationships/managed_tenants_management_template_collections_item_management_templates_count_request_builder.go index e1899cfc31e..59226f55698 100644 --- a/tenantrelationships/managed_tenants_management_template_collections_item_management_templates_count_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_collections_item_management_templates_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagementTemplateCollectionsItemManagementTemplatesCount } 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 *ManagedTenantsManagementTemplateCollectionsItemManagementTemplatesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateCollectionsItemManagementTemplatesCountRequestBuilder) { + return NewManagedTenantsManagementTemplateCollectionsItemManagementTemplatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_collections_item_management_templates_management_template_item_request_builder.go b/tenantrelationships/managed_tenants_management_template_collections_item_management_templates_management_template_item_request_builder.go index 265d7fcac29..b1634056b27 100644 --- a/tenantrelationships/managed_tenants_management_template_collections_item_management_templates_management_template_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_collections_item_management_templates_management_template_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ManagedTenantsManagementTemplateCollectionsItemManagementTemplatesManag } 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 *ManagedTenantsManagementTemplateCollectionsItemManagementTemplatesManagementTemplateItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateCollectionsItemManagementTemplatesManagementTemplateItemRequestBuilder) { + return NewManagedTenantsManagementTemplateCollectionsItemManagementTemplatesManagementTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_collections_item_management_templates_request_builder.go b/tenantrelationships/managed_tenants_management_template_collections_item_management_templates_request_builder.go index 27e1ebd0c77..5d5c7af4b46 100644 --- a/tenantrelationships/managed_tenants_management_template_collections_item_management_templates_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_collections_item_management_templates_request_builder.go @@ -39,8 +39,8 @@ type ManagedTenantsManagementTemplateCollectionsItemManagementTemplatesRequestBu // Request query parameters QueryParameters *ManagedTenantsManagementTemplateCollectionsItemManagementTemplatesRequestBuilderGetQueryParameters } -// ByManagementTemplateIdString provides operations to manage the managementTemplates property of the microsoft.graph.managedTenants.managementTemplateCollection entity. -func (m *ManagedTenantsManagementTemplateCollectionsItemManagementTemplatesRequestBuilder) ByManagementTemplateIdString(managementTemplateId string)(*ManagedTenantsManagementTemplateCollectionsItemManagementTemplatesManagementTemplateItemRequestBuilder) { +// ByManagementTemplateId provides operations to manage the managementTemplates property of the microsoft.graph.managedTenants.managementTemplateCollection entity. +func (m *ManagedTenantsManagementTemplateCollectionsItemManagementTemplatesRequestBuilder) ByManagementTemplateId(managementTemplateId string)(*ManagedTenantsManagementTemplateCollectionsItemManagementTemplatesManagementTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ManagedTenantsManagementTemplateCollectionsItemManagementTemplatesReque } 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 *ManagedTenantsManagementTemplateCollectionsItemManagementTemplatesRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateCollectionsItemManagementTemplatesRequestBuilder) { + return NewManagedTenantsManagementTemplateCollectionsItemManagementTemplatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_collections_management_template_collection_item_request_builder.go b/tenantrelationships/managed_tenants_management_template_collections_management_template_collection_item_request_builder.go index caac621eb89..27e4b99842e 100644 --- a/tenantrelationships/managed_tenants_management_template_collections_management_template_collection_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_collections_management_template_collection_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ManagedTenantsManagementTemplateCollectionsManagementTemplateCollection } 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 *ManagedTenantsManagementTemplateCollectionsManagementTemplateCollectionItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateCollectionsManagementTemplateCollectionItemRequestBuilder) { + return NewManagedTenantsManagementTemplateCollectionsManagementTemplateCollectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_collections_request_builder.go b/tenantrelationships/managed_tenants_management_template_collections_request_builder.go index 611f281598f..5cd101c74b5 100644 --- a/tenantrelationships/managed_tenants_management_template_collections_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_collections_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsManagementTemplateCollectionsRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagementTemplateCollectionIdString provides operations to manage the managementTemplateCollections property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsManagementTemplateCollectionsRequestBuilder) ByManagementTemplateCollectionIdString(managementTemplateCollectionId string)(*ManagedTenantsManagementTemplateCollectionsManagementTemplateCollectionItemRequestBuilder) { +// ByManagementTemplateCollectionId provides operations to manage the managementTemplateCollections property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsManagementTemplateCollectionsRequestBuilder) ByManagementTemplateCollectionId(managementTemplateCollectionId string)(*ManagedTenantsManagementTemplateCollectionsManagementTemplateCollectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedTenantsManagementTemplateCollectionsRequestBuilder) ToPostReques } 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 *ManagedTenantsManagementTemplateCollectionsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateCollectionsRequestBuilder) { + return NewManagedTenantsManagementTemplateCollectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_step_tenant_summaries_count_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_tenant_summaries_count_request_builder.go index 4117d534a82..62058de03ac 100644 --- a/tenantrelationships/managed_tenants_management_template_step_tenant_summaries_count_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_tenant_summaries_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagementTemplateStepTenantSummariesCountRequestBuilder) } 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 *ManagedTenantsManagementTemplateStepTenantSummariesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateStepTenantSummariesCountRequestBuilder) { + return NewManagedTenantsManagementTemplateStepTenantSummariesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_step_tenant_summaries_management_template_step_tenant_summary_item_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_tenant_summaries_management_template_step_tenant_summary_item_request_builder.go index e843c9faaaf..6e930258f67 100644 --- a/tenantrelationships/managed_tenants_management_template_step_tenant_summaries_management_template_step_tenant_summary_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_tenant_summaries_management_template_step_tenant_summary_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedTenantsManagementTemplateStepTenantSummariesManagementTemplateSt } 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 *ManagedTenantsManagementTemplateStepTenantSummariesManagementTemplateStepTenantSummaryItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateStepTenantSummariesManagementTemplateStepTenantSummaryItemRequestBuilder) { + return NewManagedTenantsManagementTemplateStepTenantSummariesManagementTemplateStepTenantSummaryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_step_tenant_summaries_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_tenant_summaries_request_builder.go index 00c0ff5d7f8..9b5bebd80a0 100644 --- a/tenantrelationships/managed_tenants_management_template_step_tenant_summaries_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_tenant_summaries_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsManagementTemplateStepTenantSummariesRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagementTemplateStepTenantSummaryIdString provides operations to manage the managementTemplateStepTenantSummaries property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsManagementTemplateStepTenantSummariesRequestBuilder) ByManagementTemplateStepTenantSummaryIdString(managementTemplateStepTenantSummaryId string)(*ManagedTenantsManagementTemplateStepTenantSummariesManagementTemplateStepTenantSummaryItemRequestBuilder) { +// ByManagementTemplateStepTenantSummaryId provides operations to manage the managementTemplateStepTenantSummaries property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsManagementTemplateStepTenantSummariesRequestBuilder) ByManagementTemplateStepTenantSummaryId(managementTemplateStepTenantSummaryId string)(*ManagedTenantsManagementTemplateStepTenantSummariesManagementTemplateStepTenantSummaryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedTenantsManagementTemplateStepTenantSummariesRequestBuilder) ToPo } 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 *ManagedTenantsManagementTemplateStepTenantSummariesRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateStepTenantSummariesRequestBuilder) { + return NewManagedTenantsManagementTemplateStepTenantSummariesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_step_versions_count_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_versions_count_request_builder.go index 0296e98dd6e..58f386e273a 100644 --- a/tenantrelationships/managed_tenants_management_template_step_versions_count_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_versions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsCountRequestBuilder) ToGetR } 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 *ManagedTenantsManagementTemplateStepVersionsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateStepVersionsCountRequestBuilder) { + return NewManagedTenantsManagementTemplateStepVersionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_step_versions_item_accepted_for_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_versions_item_accepted_for_request_builder.go index 696fabceb92..4c64e9c1ce0 100644 --- a/tenantrelationships/managed_tenants_management_template_step_versions_item_accepted_for_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_versions_item_accepted_for_request_builder.go @@ -75,3 +75,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsItemAcceptedForRequestBuild } 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 *ManagedTenantsManagementTemplateStepVersionsItemAcceptedForRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateStepVersionsItemAcceptedForRequestBuilder) { + return NewManagedTenantsManagementTemplateStepVersionsItemAcceptedForRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_count_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_count_request_builder.go index 73844e7a862..85416894053 100644 --- a/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_count_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsItemDeploymentsCountRequest } 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 *ManagedTenantsManagementTemplateStepVersionsItemDeploymentsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateStepVersionsItemDeploymentsCountRequestBuilder) { + return NewManagedTenantsManagementTemplateStepVersionsItemDeploymentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_item_microsoft_graph_managed_tenants_change_deployment_status_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_item_microsoft_graph_managed_tenants_change_deployment_status_request_builder.go index b169eba2282..11996f3bcd1 100644 --- a/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_item_microsoft_graph_managed_tenants_change_deployment_status_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_item_microsoft_graph_managed_tenants_change_deployment_status_request_builder.go @@ -67,3 +67,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsItemDeploymentsItemMicrosof } 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 *ManagedTenantsManagementTemplateStepVersionsItemDeploymentsItemMicrosoftGraphManagedTenantsChangeDeploymentStatusRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateStepVersionsItemDeploymentsItemMicrosoftGraphManagedTenantsChangeDeploymentStatusRequestBuilder) { + return NewManagedTenantsManagementTemplateStepVersionsItemDeploymentsItemMicrosoftGraphManagedTenantsChangeDeploymentStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_item_template_step_version_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_item_template_step_version_request_builder.go index 381ef5685e1..46b2ca09a37 100644 --- a/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_item_template_step_version_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_item_template_step_version_request_builder.go @@ -75,3 +75,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsItemDeploymentsItemTemplate } 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 *ManagedTenantsManagementTemplateStepVersionsItemDeploymentsItemTemplateStepVersionRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateStepVersionsItemDeploymentsItemTemplateStepVersionRequestBuilder) { + return NewManagedTenantsManagementTemplateStepVersionsItemDeploymentsItemTemplateStepVersionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_management_template_step_deployment_item_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_management_template_step_deployment_item_request_builder.go index 750305724cf..63f450cc06a 100644 --- a/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_management_template_step_deployment_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_management_template_step_deployment_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsItemDeploymentsManagementTe } 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 *ManagedTenantsManagementTemplateStepVersionsItemDeploymentsManagementTemplateStepDeploymentItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateStepVersionsItemDeploymentsManagementTemplateStepDeploymentItemRequestBuilder) { + return NewManagedTenantsManagementTemplateStepVersionsItemDeploymentsManagementTemplateStepDeploymentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_request_builder.go index 19e11eb805d..a67d2f09cc1 100644 --- a/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsManagementTemplateStepVersionsItemDeploymentsRequestBuilderPo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagementTemplateStepDeploymentIdString provides operations to manage the deployments property of the microsoft.graph.managedTenants.managementTemplateStepVersion entity. -func (m *ManagedTenantsManagementTemplateStepVersionsItemDeploymentsRequestBuilder) ByManagementTemplateStepDeploymentIdString(managementTemplateStepDeploymentId string)(*ManagedTenantsManagementTemplateStepVersionsItemDeploymentsManagementTemplateStepDeploymentItemRequestBuilder) { +// ByManagementTemplateStepDeploymentId provides operations to manage the deployments property of the microsoft.graph.managedTenants.managementTemplateStepVersion entity. +func (m *ManagedTenantsManagementTemplateStepVersionsItemDeploymentsRequestBuilder) ByManagementTemplateStepDeploymentId(managementTemplateStepDeploymentId string)(*ManagedTenantsManagementTemplateStepVersionsItemDeploymentsManagementTemplateStepDeploymentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsItemDeploymentsRequestBuild } 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 *ManagedTenantsManagementTemplateStepVersionsItemDeploymentsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateStepVersionsItemDeploymentsRequestBuilder) { + return NewManagedTenantsManagementTemplateStepVersionsItemDeploymentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_step_versions_item_template_step_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_versions_item_template_step_request_builder.go index f559bff0adc..4bec6ee3861 100644 --- a/tenantrelationships/managed_tenants_management_template_step_versions_item_template_step_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_versions_item_template_step_request_builder.go @@ -75,3 +75,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsItemTemplateStepRequestBuil } 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 *ManagedTenantsManagementTemplateStepVersionsItemTemplateStepRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateStepVersionsItemTemplateStepRequestBuilder) { + return NewManagedTenantsManagementTemplateStepVersionsItemTemplateStepRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_step_versions_management_template_step_version_item_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_versions_management_template_step_version_item_request_builder.go index e801b36cb93..01af8cf1a06 100644 --- a/tenantrelationships/managed_tenants_management_template_step_versions_management_template_step_version_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_versions_management_template_step_version_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsManagementTemplateStepVersi } 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 *ManagedTenantsManagementTemplateStepVersionsManagementTemplateStepVersionItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateStepVersionsManagementTemplateStepVersionItemRequestBuilder) { + return NewManagedTenantsManagementTemplateStepVersionsManagementTemplateStepVersionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_step_versions_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_versions_request_builder.go index f7705f44ad3..46adb2aaa45 100644 --- a/tenantrelationships/managed_tenants_management_template_step_versions_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_versions_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsManagementTemplateStepVersionsRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagementTemplateStepVersionIdString provides operations to manage the managementTemplateStepVersions property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsManagementTemplateStepVersionsRequestBuilder) ByManagementTemplateStepVersionIdString(managementTemplateStepVersionId string)(*ManagedTenantsManagementTemplateStepVersionsManagementTemplateStepVersionItemRequestBuilder) { +// ByManagementTemplateStepVersionId provides operations to manage the managementTemplateStepVersions property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsManagementTemplateStepVersionsRequestBuilder) ByManagementTemplateStepVersionId(managementTemplateStepVersionId string)(*ManagedTenantsManagementTemplateStepVersionsManagementTemplateStepVersionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsRequestBuilder) ToPostReque } 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 *ManagedTenantsManagementTemplateStepVersionsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateStepVersionsRequestBuilder) { + return NewManagedTenantsManagementTemplateStepVersionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_steps_count_request_builder.go b/tenantrelationships/managed_tenants_management_template_steps_count_request_builder.go index a1ee72b35e5..01e4bb917ff 100644 --- a/tenantrelationships/managed_tenants_management_template_steps_count_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_steps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagementTemplateStepsCountRequestBuilder) ToGetRequestI } 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 *ManagedTenantsManagementTemplateStepsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateStepsCountRequestBuilder) { + return NewManagedTenantsManagementTemplateStepsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_steps_item_accepted_version_request_builder.go b/tenantrelationships/managed_tenants_management_template_steps_item_accepted_version_request_builder.go index 50f280fc135..b6f52d77d19 100644 --- a/tenantrelationships/managed_tenants_management_template_steps_item_accepted_version_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_steps_item_accepted_version_request_builder.go @@ -75,3 +75,7 @@ func (m *ManagedTenantsManagementTemplateStepsItemAcceptedVersionRequestBuilder) } 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 *ManagedTenantsManagementTemplateStepsItemAcceptedVersionRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateStepsItemAcceptedVersionRequestBuilder) { + return NewManagedTenantsManagementTemplateStepsItemAcceptedVersionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_steps_item_management_template_request_builder.go b/tenantrelationships/managed_tenants_management_template_steps_item_management_template_request_builder.go index d351e4250e2..c9d4cf6c5c0 100644 --- a/tenantrelationships/managed_tenants_management_template_steps_item_management_template_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_steps_item_management_template_request_builder.go @@ -75,3 +75,7 @@ func (m *ManagedTenantsManagementTemplateStepsItemManagementTemplateRequestBuild } 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 *ManagedTenantsManagementTemplateStepsItemManagementTemplateRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateStepsItemManagementTemplateRequestBuilder) { + return NewManagedTenantsManagementTemplateStepsItemManagementTemplateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_steps_item_versions_count_request_builder.go b/tenantrelationships/managed_tenants_management_template_steps_item_versions_count_request_builder.go index 7f7708434b3..010c8b26748 100644 --- a/tenantrelationships/managed_tenants_management_template_steps_item_versions_count_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_steps_item_versions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagementTemplateStepsItemVersionsCountRequestBuilder) T } 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 *ManagedTenantsManagementTemplateStepsItemVersionsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateStepsItemVersionsCountRequestBuilder) { + return NewManagedTenantsManagementTemplateStepsItemVersionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_steps_item_versions_management_template_step_version_item_request_builder.go b/tenantrelationships/managed_tenants_management_template_steps_item_versions_management_template_step_version_item_request_builder.go index 8313ca301c0..79fa225d1bb 100644 --- a/tenantrelationships/managed_tenants_management_template_steps_item_versions_management_template_step_version_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_steps_item_versions_management_template_step_version_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ManagedTenantsManagementTemplateStepsItemVersionsManagementTemplateStep } 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 *ManagedTenantsManagementTemplateStepsItemVersionsManagementTemplateStepVersionItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateStepsItemVersionsManagementTemplateStepVersionItemRequestBuilder) { + return NewManagedTenantsManagementTemplateStepsItemVersionsManagementTemplateStepVersionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_steps_item_versions_request_builder.go b/tenantrelationships/managed_tenants_management_template_steps_item_versions_request_builder.go index d236587b602..9e477703f5b 100644 --- a/tenantrelationships/managed_tenants_management_template_steps_item_versions_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_steps_item_versions_request_builder.go @@ -39,8 +39,8 @@ type ManagedTenantsManagementTemplateStepsItemVersionsRequestBuilderGetRequestCo // Request query parameters QueryParameters *ManagedTenantsManagementTemplateStepsItemVersionsRequestBuilderGetQueryParameters } -// ByManagementTemplateStepVersionIdString provides operations to manage the versions property of the microsoft.graph.managedTenants.managementTemplateStep entity. -func (m *ManagedTenantsManagementTemplateStepsItemVersionsRequestBuilder) ByManagementTemplateStepVersionIdString(managementTemplateStepVersionId string)(*ManagedTenantsManagementTemplateStepsItemVersionsManagementTemplateStepVersionItemRequestBuilder) { +// ByManagementTemplateStepVersionId provides operations to manage the versions property of the microsoft.graph.managedTenants.managementTemplateStep entity. +func (m *ManagedTenantsManagementTemplateStepsItemVersionsRequestBuilder) ByManagementTemplateStepVersionId(managementTemplateStepVersionId string)(*ManagedTenantsManagementTemplateStepsItemVersionsManagementTemplateStepVersionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ManagedTenantsManagementTemplateStepsItemVersionsRequestBuilder) ToGetR } 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 *ManagedTenantsManagementTemplateStepsItemVersionsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateStepsItemVersionsRequestBuilder) { + return NewManagedTenantsManagementTemplateStepsItemVersionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_steps_management_template_step_item_request_builder.go b/tenantrelationships/managed_tenants_management_template_steps_management_template_step_item_request_builder.go index cf5d3918d5e..bab9e554c20 100644 --- a/tenantrelationships/managed_tenants_management_template_steps_management_template_step_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_steps_management_template_step_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ManagedTenantsManagementTemplateStepsManagementTemplateStepItemRequestB func (m *ManagedTenantsManagementTemplateStepsManagementTemplateStepItemRequestBuilder) Versions()(*ManagedTenantsManagementTemplateStepsItemVersionsRequestBuilder) { return NewManagedTenantsManagementTemplateStepsItemVersionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ManagedTenantsManagementTemplateStepsManagementTemplateStepItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateStepsManagementTemplateStepItemRequestBuilder) { + return NewManagedTenantsManagementTemplateStepsManagementTemplateStepItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_template_steps_request_builder.go b/tenantrelationships/managed_tenants_management_template_steps_request_builder.go index b87ad3510b8..c871609bab0 100644 --- a/tenantrelationships/managed_tenants_management_template_steps_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_steps_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsManagementTemplateStepsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagementTemplateStepIdString provides operations to manage the managementTemplateSteps property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsManagementTemplateStepsRequestBuilder) ByManagementTemplateStepIdString(managementTemplateStepId string)(*ManagedTenantsManagementTemplateStepsManagementTemplateStepItemRequestBuilder) { +// ByManagementTemplateStepId provides operations to manage the managementTemplateSteps property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsManagementTemplateStepsRequestBuilder) ByManagementTemplateStepId(managementTemplateStepId string)(*ManagedTenantsManagementTemplateStepsManagementTemplateStepItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ManagedTenantsManagementTemplateStepsRequestBuilder) ToPostRequestInfor } 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 *ManagedTenantsManagementTemplateStepsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplateStepsRequestBuilder) { + return NewManagedTenantsManagementTemplateStepsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_templates_count_request_builder.go b/tenantrelationships/managed_tenants_management_templates_count_request_builder.go index c6263447fa0..60cc21e53c9 100644 --- a/tenantrelationships/managed_tenants_management_templates_count_request_builder.go +++ b/tenantrelationships/managed_tenants_management_templates_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagementTemplatesCountRequestBuilder) ToGetRequestInfor } 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 *ManagedTenantsManagementTemplatesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplatesCountRequestBuilder) { + return NewManagedTenantsManagementTemplatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_templates_item_management_template_collections_count_request_builder.go b/tenantrelationships/managed_tenants_management_templates_item_management_template_collections_count_request_builder.go index 466ffbf735b..eb8e56a1200 100644 --- a/tenantrelationships/managed_tenants_management_templates_item_management_template_collections_count_request_builder.go +++ b/tenantrelationships/managed_tenants_management_templates_item_management_template_collections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagementTemplatesItemManagementTemplateCollectionsCount } 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 *ManagedTenantsManagementTemplatesItemManagementTemplateCollectionsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplatesItemManagementTemplateCollectionsCountRequestBuilder) { + return NewManagedTenantsManagementTemplatesItemManagementTemplateCollectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_templates_item_management_template_collections_management_template_collection_item_request_builder.go b/tenantrelationships/managed_tenants_management_templates_item_management_template_collections_management_template_collection_item_request_builder.go index 7cc66b7106a..3233b0834a0 100644 --- a/tenantrelationships/managed_tenants_management_templates_item_management_template_collections_management_template_collection_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_templates_item_management_template_collections_management_template_collection_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ManagedTenantsManagementTemplatesItemManagementTemplateCollectionsManag } 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 *ManagedTenantsManagementTemplatesItemManagementTemplateCollectionsManagementTemplateCollectionItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplatesItemManagementTemplateCollectionsManagementTemplateCollectionItemRequestBuilder) { + return NewManagedTenantsManagementTemplatesItemManagementTemplateCollectionsManagementTemplateCollectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_templates_item_management_template_collections_request_builder.go b/tenantrelationships/managed_tenants_management_templates_item_management_template_collections_request_builder.go index 63b2f56eb42..5c46a60c08c 100644 --- a/tenantrelationships/managed_tenants_management_templates_item_management_template_collections_request_builder.go +++ b/tenantrelationships/managed_tenants_management_templates_item_management_template_collections_request_builder.go @@ -39,8 +39,8 @@ type ManagedTenantsManagementTemplatesItemManagementTemplateCollectionsRequestBu // Request query parameters QueryParameters *ManagedTenantsManagementTemplatesItemManagementTemplateCollectionsRequestBuilderGetQueryParameters } -// ByManagementTemplateCollectionIdString provides operations to manage the managementTemplateCollections property of the microsoft.graph.managedTenants.managementTemplate entity. -func (m *ManagedTenantsManagementTemplatesItemManagementTemplateCollectionsRequestBuilder) ByManagementTemplateCollectionIdString(managementTemplateCollectionId string)(*ManagedTenantsManagementTemplatesItemManagementTemplateCollectionsManagementTemplateCollectionItemRequestBuilder) { +// ByManagementTemplateCollectionId provides operations to manage the managementTemplateCollections property of the microsoft.graph.managedTenants.managementTemplate entity. +func (m *ManagedTenantsManagementTemplatesItemManagementTemplateCollectionsRequestBuilder) ByManagementTemplateCollectionId(managementTemplateCollectionId string)(*ManagedTenantsManagementTemplatesItemManagementTemplateCollectionsManagementTemplateCollectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ManagedTenantsManagementTemplatesItemManagementTemplateCollectionsReque } 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 *ManagedTenantsManagementTemplatesItemManagementTemplateCollectionsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplatesItemManagementTemplateCollectionsRequestBuilder) { + return NewManagedTenantsManagementTemplatesItemManagementTemplateCollectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_templates_item_management_template_steps_count_request_builder.go b/tenantrelationships/managed_tenants_management_templates_item_management_template_steps_count_request_builder.go index f359c27cfe0..c1d352b8147 100644 --- a/tenantrelationships/managed_tenants_management_templates_item_management_template_steps_count_request_builder.go +++ b/tenantrelationships/managed_tenants_management_templates_item_management_template_steps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsManagementTemplatesItemManagementTemplateStepsCountReques } 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 *ManagedTenantsManagementTemplatesItemManagementTemplateStepsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplatesItemManagementTemplateStepsCountRequestBuilder) { + return NewManagedTenantsManagementTemplatesItemManagementTemplateStepsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_templates_item_management_template_steps_management_template_step_item_request_builder.go b/tenantrelationships/managed_tenants_management_templates_item_management_template_steps_management_template_step_item_request_builder.go index 9d7be5aeece..f249119de23 100644 --- a/tenantrelationships/managed_tenants_management_templates_item_management_template_steps_management_template_step_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_templates_item_management_template_steps_management_template_step_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ManagedTenantsManagementTemplatesItemManagementTemplateStepsManagementT } 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 *ManagedTenantsManagementTemplatesItemManagementTemplateStepsManagementTemplateStepItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplatesItemManagementTemplateStepsManagementTemplateStepItemRequestBuilder) { + return NewManagedTenantsManagementTemplatesItemManagementTemplateStepsManagementTemplateStepItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_templates_item_management_template_steps_request_builder.go b/tenantrelationships/managed_tenants_management_templates_item_management_template_steps_request_builder.go index 235260ef214..43081ce57f7 100644 --- a/tenantrelationships/managed_tenants_management_templates_item_management_template_steps_request_builder.go +++ b/tenantrelationships/managed_tenants_management_templates_item_management_template_steps_request_builder.go @@ -39,8 +39,8 @@ type ManagedTenantsManagementTemplatesItemManagementTemplateStepsRequestBuilderG // Request query parameters QueryParameters *ManagedTenantsManagementTemplatesItemManagementTemplateStepsRequestBuilderGetQueryParameters } -// ByManagementTemplateStepIdString provides operations to manage the managementTemplateSteps property of the microsoft.graph.managedTenants.managementTemplate entity. -func (m *ManagedTenantsManagementTemplatesItemManagementTemplateStepsRequestBuilder) ByManagementTemplateStepIdString(managementTemplateStepId string)(*ManagedTenantsManagementTemplatesItemManagementTemplateStepsManagementTemplateStepItemRequestBuilder) { +// ByManagementTemplateStepId provides operations to manage the managementTemplateSteps property of the microsoft.graph.managedTenants.managementTemplate entity. +func (m *ManagedTenantsManagementTemplatesItemManagementTemplateStepsRequestBuilder) ByManagementTemplateStepId(managementTemplateStepId string)(*ManagedTenantsManagementTemplatesItemManagementTemplateStepsManagementTemplateStepItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ManagedTenantsManagementTemplatesItemManagementTemplateStepsRequestBuil } 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 *ManagedTenantsManagementTemplatesItemManagementTemplateStepsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplatesItemManagementTemplateStepsRequestBuilder) { + return NewManagedTenantsManagementTemplatesItemManagementTemplateStepsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_templates_management_template_item_request_builder.go b/tenantrelationships/managed_tenants_management_templates_management_template_item_request_builder.go index 496d08d4b8f..d6688c08b98 100644 --- a/tenantrelationships/managed_tenants_management_templates_management_template_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_templates_management_template_item_request_builder.go @@ -164,3 +164,7 @@ func (m *ManagedTenantsManagementTemplatesManagementTemplateItemRequestBuilder) } 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 *ManagedTenantsManagementTemplatesManagementTemplateItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplatesManagementTemplateItemRequestBuilder) { + return NewManagedTenantsManagementTemplatesManagementTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_management_templates_request_builder.go b/tenantrelationships/managed_tenants_management_templates_request_builder.go index 1a3e4ed28d6..5bacff4d82a 100644 --- a/tenantrelationships/managed_tenants_management_templates_request_builder.go +++ b/tenantrelationships/managed_tenants_management_templates_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsManagementTemplatesRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagementTemplateIdString provides operations to manage the managementTemplates property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsManagementTemplatesRequestBuilder) ByManagementTemplateIdString(managementTemplateId string)(*ManagedTenantsManagementTemplatesManagementTemplateItemRequestBuilder) { +// ByManagementTemplateId provides operations to manage the managementTemplates property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsManagementTemplatesRequestBuilder) ByManagementTemplateId(managementTemplateId string)(*ManagedTenantsManagementTemplatesManagementTemplateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ManagedTenantsManagementTemplatesRequestBuilder) ToPostRequestInformati } 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 *ManagedTenantsManagementTemplatesRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsManagementTemplatesRequestBuilder) { + return NewManagedTenantsManagementTemplatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_my_roles_count_request_builder.go b/tenantrelationships/managed_tenants_my_roles_count_request_builder.go index 1290c89b302..7582be6e505 100644 --- a/tenantrelationships/managed_tenants_my_roles_count_request_builder.go +++ b/tenantrelationships/managed_tenants_my_roles_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsMyRolesCountRequestBuilder) ToGetRequestInformation(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 *ManagedTenantsMyRolesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsMyRolesCountRequestBuilder) { + return NewManagedTenantsMyRolesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_my_roles_my_role_tenant_item_request_builder.go b/tenantrelationships/managed_tenants_my_roles_my_role_tenant_item_request_builder.go index d330012f0a5..2bbf3c3775d 100644 --- a/tenantrelationships/managed_tenants_my_roles_my_role_tenant_item_request_builder.go +++ b/tenantrelationships/managed_tenants_my_roles_my_role_tenant_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ManagedTenantsMyRolesMyRoleTenantItemRequestBuilder) 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 *ManagedTenantsMyRolesMyRoleTenantItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsMyRolesMyRoleTenantItemRequestBuilder) { + return NewManagedTenantsMyRolesMyRoleTenantItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_my_roles_request_builder.go b/tenantrelationships/managed_tenants_my_roles_request_builder.go index 53775ab8254..ed0f9cd3eb5 100644 --- a/tenantrelationships/managed_tenants_my_roles_request_builder.go +++ b/tenantrelationships/managed_tenants_my_roles_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsMyRolesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMyRoleTenantIdString provides operations to manage the myRoles property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsMyRolesRequestBuilder) ByMyRoleTenantIdString(myRoleTenantId string)(*ManagedTenantsMyRolesMyRoleTenantItemRequestBuilder) { +// ByMyRoleTenantId provides operations to manage the myRoles property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsMyRolesRequestBuilder) ByMyRoleTenantId(myRoleTenantId string)(*ManagedTenantsMyRolesMyRoleTenantItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ManagedTenantsMyRolesRequestBuilder) 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 *ManagedTenantsMyRolesRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsMyRolesRequestBuilder) { + return NewManagedTenantsMyRolesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_request_builder.go b/tenantrelationships/managed_tenants_request_builder.go index b8a97ea7295..43401ed4b68 100644 --- a/tenantrelationships/managed_tenants_request_builder.go +++ b/tenantrelationships/managed_tenants_request_builder.go @@ -301,3 +301,7 @@ func (m *ManagedTenantsRequestBuilder) WindowsDeviceMalwareStates()(*ManagedTena func (m *ManagedTenantsRequestBuilder) WindowsProtectionStates()(*ManagedTenantsWindowsProtectionStatesRequestBuilder) { return NewManagedTenantsWindowsProtectionStatesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ManagedTenantsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsRequestBuilder) { + return NewManagedTenantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_tenant_groups_count_request_builder.go b/tenantrelationships/managed_tenants_tenant_groups_count_request_builder.go index c0275b48889..8caa5e0f4a0 100644 --- a/tenantrelationships/managed_tenants_tenant_groups_count_request_builder.go +++ b/tenantrelationships/managed_tenants_tenant_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsTenantGroupsCountRequestBuilder) 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 *ManagedTenantsTenantGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsTenantGroupsCountRequestBuilder) { + return NewManagedTenantsTenantGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_tenant_groups_microsoft_graph_managed_tenants_tenant_search_request_builder.go b/tenantrelationships/managed_tenants_tenant_groups_microsoft_graph_managed_tenants_tenant_search_request_builder.go index ac98f375e03..5d0cb4359c0 100644 --- a/tenantrelationships/managed_tenants_tenant_groups_microsoft_graph_managed_tenants_tenant_search_request_builder.go +++ b/tenantrelationships/managed_tenants_tenant_groups_microsoft_graph_managed_tenants_tenant_search_request_builder.go @@ -66,3 +66,7 @@ func (m *ManagedTenantsTenantGroupsMicrosoftGraphManagedTenantsTenantSearchReque } 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 *ManagedTenantsTenantGroupsMicrosoftGraphManagedTenantsTenantSearchRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsTenantGroupsMicrosoftGraphManagedTenantsTenantSearchRequestBuilder) { + return NewManagedTenantsTenantGroupsMicrosoftGraphManagedTenantsTenantSearchRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_tenant_groups_request_builder.go b/tenantrelationships/managed_tenants_tenant_groups_request_builder.go index b48747fe525..3067c623b46 100644 --- a/tenantrelationships/managed_tenants_tenant_groups_request_builder.go +++ b/tenantrelationships/managed_tenants_tenant_groups_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsTenantGroupsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTenantGroupIdString provides operations to manage the tenantGroups property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsTenantGroupsRequestBuilder) ByTenantGroupIdString(tenantGroupId string)(*ManagedTenantsTenantGroupsTenantGroupItemRequestBuilder) { +// ByTenantGroupId provides operations to manage the tenantGroups property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsTenantGroupsRequestBuilder) ByTenantGroupId(tenantGroupId string)(*ManagedTenantsTenantGroupsTenantGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *ManagedTenantsTenantGroupsRequestBuilder) 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 *ManagedTenantsTenantGroupsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsTenantGroupsRequestBuilder) { + return NewManagedTenantsTenantGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_tenant_groups_tenant_group_item_request_builder.go b/tenantrelationships/managed_tenants_tenant_groups_tenant_group_item_request_builder.go index 5ca549e7278..c112a553ac7 100644 --- a/tenantrelationships/managed_tenants_tenant_groups_tenant_group_item_request_builder.go +++ b/tenantrelationships/managed_tenants_tenant_groups_tenant_group_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ManagedTenantsTenantGroupsTenantGroupItemRequestBuilder) ToPatchRequest } 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 *ManagedTenantsTenantGroupsTenantGroupItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsTenantGroupsTenantGroupItemRequestBuilder) { + return NewManagedTenantsTenantGroupsTenantGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_tenant_tags_count_request_builder.go b/tenantrelationships/managed_tenants_tenant_tags_count_request_builder.go index 5e2588c51d4..bdc5d390599 100644 --- a/tenantrelationships/managed_tenants_tenant_tags_count_request_builder.go +++ b/tenantrelationships/managed_tenants_tenant_tags_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsTenantTagsCountRequestBuilder) ToGetRequestInformation(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 *ManagedTenantsTenantTagsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsTenantTagsCountRequestBuilder) { + return NewManagedTenantsTenantTagsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_assign_tag_request_builder.go b/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_assign_tag_request_builder.go index bf19c5d1374..75e1a36a680 100644 --- a/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_assign_tag_request_builder.go +++ b/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_assign_tag_request_builder.go @@ -70,3 +70,7 @@ func (m *ManagedTenantsTenantTagsItemMicrosoftGraphManagedTenantsAssignTagReques } 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 *ManagedTenantsTenantTagsItemMicrosoftGraphManagedTenantsAssignTagRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsTenantTagsItemMicrosoftGraphManagedTenantsAssignTagRequestBuilder) { + return NewManagedTenantsTenantTagsItemMicrosoftGraphManagedTenantsAssignTagRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_unassign_tag_request_builder.go b/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_unassign_tag_request_builder.go index 7e7ad6e1cff..df1e29cae08 100644 --- a/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_unassign_tag_request_builder.go +++ b/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_unassign_tag_request_builder.go @@ -70,3 +70,7 @@ func (m *ManagedTenantsTenantTagsItemMicrosoftGraphManagedTenantsUnassignTagRequ } 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 *ManagedTenantsTenantTagsItemMicrosoftGraphManagedTenantsUnassignTagRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsTenantTagsItemMicrosoftGraphManagedTenantsUnassignTagRequestBuilder) { + return NewManagedTenantsTenantTagsItemMicrosoftGraphManagedTenantsUnassignTagRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_tenant_tags_request_builder.go b/tenantrelationships/managed_tenants_tenant_tags_request_builder.go index 39ad76edbbe..9a8ccb45f86 100644 --- a/tenantrelationships/managed_tenants_tenant_tags_request_builder.go +++ b/tenantrelationships/managed_tenants_tenant_tags_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsTenantTagsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTenantTagIdString provides operations to manage the tenantTags property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsTenantTagsRequestBuilder) ByTenantTagIdString(tenantTagId string)(*ManagedTenantsTenantTagsTenantTagItemRequestBuilder) { +// ByTenantTagId provides operations to manage the tenantTags property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsTenantTagsRequestBuilder) ByTenantTagId(tenantTagId string)(*ManagedTenantsTenantTagsTenantTagItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ManagedTenantsTenantTagsRequestBuilder) ToPostRequestInformation(ctx co } 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 *ManagedTenantsTenantTagsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsTenantTagsRequestBuilder) { + return NewManagedTenantsTenantTagsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_tenant_tags_tenant_tag_item_request_builder.go b/tenantrelationships/managed_tenants_tenant_tags_tenant_tag_item_request_builder.go index fa87212beca..27c7badc08e 100644 --- a/tenantrelationships/managed_tenants_tenant_tags_tenant_tag_item_request_builder.go +++ b/tenantrelationships/managed_tenants_tenant_tags_tenant_tag_item_request_builder.go @@ -170,3 +170,7 @@ func (m *ManagedTenantsTenantTagsTenantTagItemRequestBuilder) 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 *ManagedTenantsTenantTagsTenantTagItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsTenantTagsTenantTagItemRequestBuilder) { + return NewManagedTenantsTenantTagsTenantTagItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_tenants_count_request_builder.go b/tenantrelationships/managed_tenants_tenants_count_request_builder.go index cfd700cc38f..ccba213c6d7 100644 --- a/tenantrelationships/managed_tenants_tenants_count_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsTenantsCountRequestBuilder) ToGetRequestInformation(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 *ManagedTenantsTenantsCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsTenantsCountRequestBuilder) { + return NewManagedTenantsTenantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_tenants_customized_information_count_request_builder.go b/tenantrelationships/managed_tenants_tenants_customized_information_count_request_builder.go index e107927657d..4fa18b3229c 100644 --- a/tenantrelationships/managed_tenants_tenants_customized_information_count_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_customized_information_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsTenantsCustomizedInformationCountRequestBuilder) ToGetReq } 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 *ManagedTenantsTenantsCustomizedInformationCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsTenantsCustomizedInformationCountRequestBuilder) { + return NewManagedTenantsTenantsCustomizedInformationCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_tenants_customized_information_request_builder.go b/tenantrelationships/managed_tenants_tenants_customized_information_request_builder.go index 753b5703a69..e7cbd1a6bb6 100644 --- a/tenantrelationships/managed_tenants_tenants_customized_information_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_customized_information_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsTenantsCustomizedInformationRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTenantCustomizedInformationIdString provides operations to manage the tenantsCustomizedInformation property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsTenantsCustomizedInformationRequestBuilder) ByTenantCustomizedInformationIdString(tenantCustomizedInformationId string)(*ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationItemRequestBuilder) { +// ByTenantCustomizedInformationId provides operations to manage the tenantsCustomizedInformation property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsTenantsCustomizedInformationRequestBuilder) ByTenantCustomizedInformationId(tenantCustomizedInformationId string)(*ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ManagedTenantsTenantsCustomizedInformationRequestBuilder) ToPostRequest } 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 *ManagedTenantsTenantsCustomizedInformationRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsTenantsCustomizedInformationRequestBuilder) { + return NewManagedTenantsTenantsCustomizedInformationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_tenants_customized_information_tenant_customized_information_item_request_builder.go b/tenantrelationships/managed_tenants_tenants_customized_information_tenant_customized_information_item_request_builder.go index c7c4f65da25..818c394473c 100644 --- a/tenantrelationships/managed_tenants_tenants_customized_information_tenant_customized_information_item_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_customized_information_tenant_customized_information_item_request_builder.go @@ -159,3 +159,7 @@ func (m *ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationIt } 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 *ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationItemRequestBuilder) { + return NewManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_tenants_detailed_information_count_request_builder.go b/tenantrelationships/managed_tenants_tenants_detailed_information_count_request_builder.go index a3355481a2e..ded901e3f54 100644 --- a/tenantrelationships/managed_tenants_tenants_detailed_information_count_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_detailed_information_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsTenantsDetailedInformationCountRequestBuilder) ToGetReque } 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 *ManagedTenantsTenantsDetailedInformationCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsTenantsDetailedInformationCountRequestBuilder) { + return NewManagedTenantsTenantsDetailedInformationCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_tenants_detailed_information_request_builder.go b/tenantrelationships/managed_tenants_tenants_detailed_information_request_builder.go index ef72d11c18b..c0418a905ca 100644 --- a/tenantrelationships/managed_tenants_tenants_detailed_information_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_detailed_information_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsTenantsDetailedInformationRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTenantDetailedInformationIdString provides operations to manage the tenantsDetailedInformation property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsTenantsDetailedInformationRequestBuilder) ByTenantDetailedInformationIdString(tenantDetailedInformationId string)(*ManagedTenantsTenantsDetailedInformationTenantDetailedInformationItemRequestBuilder) { +// ByTenantDetailedInformationId provides operations to manage the tenantsDetailedInformation property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsTenantsDetailedInformationRequestBuilder) ByTenantDetailedInformationId(tenantDetailedInformationId string)(*ManagedTenantsTenantsDetailedInformationTenantDetailedInformationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ManagedTenantsTenantsDetailedInformationRequestBuilder) ToPostRequestIn } 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 *ManagedTenantsTenantsDetailedInformationRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsTenantsDetailedInformationRequestBuilder) { + return NewManagedTenantsTenantsDetailedInformationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_tenants_detailed_information_tenant_detailed_information_item_request_builder.go b/tenantrelationships/managed_tenants_tenants_detailed_information_tenant_detailed_information_item_request_builder.go index ea6580547e9..8153a441e69 100644 --- a/tenantrelationships/managed_tenants_tenants_detailed_information_tenant_detailed_information_item_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_detailed_information_tenant_detailed_information_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ManagedTenantsTenantsDetailedInformationTenantDetailedInformationItemRe } 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 *ManagedTenantsTenantsDetailedInformationTenantDetailedInformationItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsTenantsDetailedInformationTenantDetailedInformationItemRequestBuilder) { + return NewManagedTenantsTenantsDetailedInformationTenantDetailedInformationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_offboard_tenant_request_builder.go b/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_offboard_tenant_request_builder.go index 4db8fb9d074..61802fd5682 100644 --- a/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_offboard_tenant_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_offboard_tenant_request_builder.go @@ -66,3 +66,7 @@ func (m *ManagedTenantsTenantsItemMicrosoftGraphManagedTenantsOffboardTenantRequ } 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 *ManagedTenantsTenantsItemMicrosoftGraphManagedTenantsOffboardTenantRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsTenantsItemMicrosoftGraphManagedTenantsOffboardTenantRequestBuilder) { + return NewManagedTenantsTenantsItemMicrosoftGraphManagedTenantsOffboardTenantRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_reset_tenant_onboarding_status_request_builder.go b/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_reset_tenant_onboarding_status_request_builder.go index 5fc1b5cb964..a2fd168c6ce 100644 --- a/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_reset_tenant_onboarding_status_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_reset_tenant_onboarding_status_request_builder.go @@ -66,3 +66,7 @@ func (m *ManagedTenantsTenantsItemMicrosoftGraphManagedTenantsResetTenantOnboard } 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 *ManagedTenantsTenantsItemMicrosoftGraphManagedTenantsResetTenantOnboardingStatusRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsTenantsItemMicrosoftGraphManagedTenantsResetTenantOnboardingStatusRequestBuilder) { + return NewManagedTenantsTenantsItemMicrosoftGraphManagedTenantsResetTenantOnboardingStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_tenants_request_builder.go b/tenantrelationships/managed_tenants_tenants_request_builder.go index 3add95e07a5..dff03f6f436 100644 --- a/tenantrelationships/managed_tenants_tenants_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsTenantsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTenantIdString provides operations to manage the tenants property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsTenantsRequestBuilder) ByTenantIdString(tenantId string)(*ManagedTenantsTenantsTenantItemRequestBuilder) { +// ByTenantId provides operations to manage the tenants property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsTenantsRequestBuilder) ByTenantId(tenantId string)(*ManagedTenantsTenantsTenantItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ManagedTenantsTenantsRequestBuilder) 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 *ManagedTenantsTenantsRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsTenantsRequestBuilder) { + return NewManagedTenantsTenantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_tenants_tenant_item_request_builder.go b/tenantrelationships/managed_tenants_tenants_tenant_item_request_builder.go index a36f08905f8..0dbad35c42b 100644 --- a/tenantrelationships/managed_tenants_tenants_tenant_item_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_tenant_item_request_builder.go @@ -164,3 +164,7 @@ func (m *ManagedTenantsTenantsTenantItemRequestBuilder) ToPatchRequestInformatio } 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 *ManagedTenantsTenantsTenantItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsTenantsTenantItemRequestBuilder) { + return NewManagedTenantsTenantsTenantItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_windows_device_malware_states_count_request_builder.go b/tenantrelationships/managed_tenants_windows_device_malware_states_count_request_builder.go index 745b43e4034..2ab6cce9b4d 100644 --- a/tenantrelationships/managed_tenants_windows_device_malware_states_count_request_builder.go +++ b/tenantrelationships/managed_tenants_windows_device_malware_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsWindowsDeviceMalwareStatesCountRequestBuilder) ToGetReque } 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 *ManagedTenantsWindowsDeviceMalwareStatesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsWindowsDeviceMalwareStatesCountRequestBuilder) { + return NewManagedTenantsWindowsDeviceMalwareStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_windows_device_malware_states_request_builder.go b/tenantrelationships/managed_tenants_windows_device_malware_states_request_builder.go index d258a47da93..14903a0c5f2 100644 --- a/tenantrelationships/managed_tenants_windows_device_malware_states_request_builder.go +++ b/tenantrelationships/managed_tenants_windows_device_malware_states_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsWindowsDeviceMalwareStatesRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsDeviceMalwareStateIdString provides operations to manage the windowsDeviceMalwareStates property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsWindowsDeviceMalwareStatesRequestBuilder) ByWindowsDeviceMalwareStateIdString(windowsDeviceMalwareStateId string)(*ManagedTenantsWindowsDeviceMalwareStatesWindowsDeviceMalwareStateItemRequestBuilder) { +// ByWindowsDeviceMalwareStateId provides operations to manage the windowsDeviceMalwareStates property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsWindowsDeviceMalwareStatesRequestBuilder) ByWindowsDeviceMalwareStateId(windowsDeviceMalwareStateId string)(*ManagedTenantsWindowsDeviceMalwareStatesWindowsDeviceMalwareStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ManagedTenantsWindowsDeviceMalwareStatesRequestBuilder) ToPostRequestIn } 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 *ManagedTenantsWindowsDeviceMalwareStatesRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsWindowsDeviceMalwareStatesRequestBuilder) { + return NewManagedTenantsWindowsDeviceMalwareStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_windows_device_malware_states_windows_device_malware_state_item_request_builder.go b/tenantrelationships/managed_tenants_windows_device_malware_states_windows_device_malware_state_item_request_builder.go index 94665a4fe6f..573eb17a950 100644 --- a/tenantrelationships/managed_tenants_windows_device_malware_states_windows_device_malware_state_item_request_builder.go +++ b/tenantrelationships/managed_tenants_windows_device_malware_states_windows_device_malware_state_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ManagedTenantsWindowsDeviceMalwareStatesWindowsDeviceMalwareStateItemRe } 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 *ManagedTenantsWindowsDeviceMalwareStatesWindowsDeviceMalwareStateItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsWindowsDeviceMalwareStatesWindowsDeviceMalwareStateItemRequestBuilder) { + return NewManagedTenantsWindowsDeviceMalwareStatesWindowsDeviceMalwareStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_windows_protection_states_count_request_builder.go b/tenantrelationships/managed_tenants_windows_protection_states_count_request_builder.go index ddfe1d61f3e..fe6ec0ad198 100644 --- a/tenantrelationships/managed_tenants_windows_protection_states_count_request_builder.go +++ b/tenantrelationships/managed_tenants_windows_protection_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ManagedTenantsWindowsProtectionStatesCountRequestBuilder) ToGetRequestI } 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 *ManagedTenantsWindowsProtectionStatesCountRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsWindowsProtectionStatesCountRequestBuilder) { + return NewManagedTenantsWindowsProtectionStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_windows_protection_states_request_builder.go b/tenantrelationships/managed_tenants_windows_protection_states_request_builder.go index 2fdb67c8686..015e035bdef 100644 --- a/tenantrelationships/managed_tenants_windows_protection_states_request_builder.go +++ b/tenantrelationships/managed_tenants_windows_protection_states_request_builder.go @@ -46,8 +46,8 @@ type ManagedTenantsWindowsProtectionStatesRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsProtectionStateIdString provides operations to manage the windowsProtectionStates property of the microsoft.graph.managedTenants.managedTenant entity. -func (m *ManagedTenantsWindowsProtectionStatesRequestBuilder) ByWindowsProtectionStateIdString(windowsProtectionStateId string)(*ManagedTenantsWindowsProtectionStatesWindowsProtectionStateItemRequestBuilder) { +// ByWindowsProtectionStateId provides operations to manage the windowsProtectionStates property of the microsoft.graph.managedTenants.managedTenant entity. +func (m *ManagedTenantsWindowsProtectionStatesRequestBuilder) ByWindowsProtectionStateId(windowsProtectionStateId string)(*ManagedTenantsWindowsProtectionStatesWindowsProtectionStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ManagedTenantsWindowsProtectionStatesRequestBuilder) ToPostRequestInfor } 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 *ManagedTenantsWindowsProtectionStatesRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsWindowsProtectionStatesRequestBuilder) { + return NewManagedTenantsWindowsProtectionStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/managed_tenants_windows_protection_states_windows_protection_state_item_request_builder.go b/tenantrelationships/managed_tenants_windows_protection_states_windows_protection_state_item_request_builder.go index 5290536cc7d..ac5cb3e7199 100644 --- a/tenantrelationships/managed_tenants_windows_protection_states_windows_protection_state_item_request_builder.go +++ b/tenantrelationships/managed_tenants_windows_protection_states_windows_protection_state_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ManagedTenantsWindowsProtectionStatesWindowsProtectionStateItemRequestB } 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 *ManagedTenantsWindowsProtectionStatesWindowsProtectionStateItemRequestBuilder) WithUrl(rawUrl string)(*ManagedTenantsWindowsProtectionStatesWindowsProtectionStateItemRequestBuilder) { + return NewManagedTenantsWindowsProtectionStatesWindowsProtectionStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/multi_tenant_organization_join_request_request_builder.go b/tenantrelationships/multi_tenant_organization_join_request_request_builder.go index b8f6bf08485..26c533cfa9c 100644 --- a/tenantrelationships/multi_tenant_organization_join_request_request_builder.go +++ b/tenantrelationships/multi_tenant_organization_join_request_request_builder.go @@ -159,3 +159,7 @@ func (m *MultiTenantOrganizationJoinRequestRequestBuilder) ToPatchRequestInforma } 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 *MultiTenantOrganizationJoinRequestRequestBuilder) WithUrl(rawUrl string)(*MultiTenantOrganizationJoinRequestRequestBuilder) { + return NewMultiTenantOrganizationJoinRequestRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/multi_tenant_organization_request_builder.go b/tenantrelationships/multi_tenant_organization_request_builder.go index d97c3f62ba0..8c55f912f64 100644 --- a/tenantrelationships/multi_tenant_organization_request_builder.go +++ b/tenantrelationships/multi_tenant_organization_request_builder.go @@ -167,3 +167,7 @@ func (m *MultiTenantOrganizationRequestBuilder) ToPatchRequestInformation(ctx co } 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 *MultiTenantOrganizationRequestBuilder) WithUrl(rawUrl string)(*MultiTenantOrganizationRequestBuilder) { + return NewMultiTenantOrganizationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/multi_tenant_organization_tenants_count_request_builder.go b/tenantrelationships/multi_tenant_organization_tenants_count_request_builder.go index 82ad071609d..e90eedc90b1 100644 --- a/tenantrelationships/multi_tenant_organization_tenants_count_request_builder.go +++ b/tenantrelationships/multi_tenant_organization_tenants_count_request_builder.go @@ -74,3 +74,7 @@ func (m *MultiTenantOrganizationTenantsCountRequestBuilder) ToGetRequestInformat } 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 *MultiTenantOrganizationTenantsCountRequestBuilder) WithUrl(rawUrl string)(*MultiTenantOrganizationTenantsCountRequestBuilder) { + return NewMultiTenantOrganizationTenantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/multi_tenant_organization_tenants_multi_tenant_organization_member_item_request_builder.go b/tenantrelationships/multi_tenant_organization_tenants_multi_tenant_organization_member_item_request_builder.go index f11d9594180..e25d7b0c9e0 100644 --- a/tenantrelationships/multi_tenant_organization_tenants_multi_tenant_organization_member_item_request_builder.go +++ b/tenantrelationships/multi_tenant_organization_tenants_multi_tenant_organization_member_item_request_builder.go @@ -159,3 +159,7 @@ func (m *MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestB } 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 *MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBuilder) WithUrl(rawUrl string)(*MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBuilder) { + return NewMultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/multi_tenant_organization_tenants_request_builder.go b/tenantrelationships/multi_tenant_organization_tenants_request_builder.go index 33c55b4ac02..80e085b04ce 100644 --- a/tenantrelationships/multi_tenant_organization_tenants_request_builder.go +++ b/tenantrelationships/multi_tenant_organization_tenants_request_builder.go @@ -46,8 +46,8 @@ type MultiTenantOrganizationTenantsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMultiTenantOrganizationMemberIdString provides operations to manage the tenants property of the microsoft.graph.multiTenantOrganization entity. -func (m *MultiTenantOrganizationTenantsRequestBuilder) ByMultiTenantOrganizationMemberIdString(multiTenantOrganizationMemberId string)(*MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBuilder) { +// ByMultiTenantOrganizationMemberId provides operations to manage the tenants property of the microsoft.graph.multiTenantOrganization entity. +func (m *MultiTenantOrganizationTenantsRequestBuilder) ByMultiTenantOrganizationMemberId(multiTenantOrganizationMemberId string)(*MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *MultiTenantOrganizationTenantsRequestBuilder) 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 *MultiTenantOrganizationTenantsRequestBuilder) WithUrl(rawUrl string)(*MultiTenantOrganizationTenantsRequestBuilder) { + return NewMultiTenantOrganizationTenantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/tenant_relationships_request_builder.go b/tenantrelationships/tenant_relationships_request_builder.go index b18899a89b3..d796df460ab 100644 --- a/tenantrelationships/tenant_relationships_request_builder.go +++ b/tenantrelationships/tenant_relationships_request_builder.go @@ -142,3 +142,7 @@ func (m *TenantRelationshipsRequestBuilder) ToPatchRequestInformation(ctx contex } 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 *TenantRelationshipsRequestBuilder) WithUrl(rawUrl string)(*TenantRelationshipsRequestBuilder) { + return NewTenantRelationshipsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_count_request_builder.go b/termstore/groups_count_request_builder.go index 140cecfdd95..22ee5c355ef 100644 --- a/termstore/groups_count_request_builder.go +++ b/termstore/groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupsCountRequestBuilder) ToGetRequestInformation(ctx context.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 *GroupsCountRequestBuilder) WithUrl(rawUrl string)(*GroupsCountRequestBuilder) { + return NewGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_group_item_request_builder.go b/termstore/groups_group_item_request_builder.go index 79d593412d8..d30fc3b4e14 100644 --- a/termstore/groups_group_item_request_builder.go +++ b/termstore/groups_group_item_request_builder.go @@ -163,3 +163,7 @@ func (m *GroupsGroupItemRequestBuilder) ToPatchRequestInformation(ctx context.Co } 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 *GroupsGroupItemRequestBuilder) WithUrl(rawUrl string)(*GroupsGroupItemRequestBuilder) { + return NewGroupsGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_count_request_builder.go b/termstore/groups_item_sets_count_request_builder.go index a2db187bd57..78b91decf05 100644 --- a/termstore/groups_item_sets_count_request_builder.go +++ b/termstore/groups_item_sets_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupsItemSetsCountRequestBuilder) ToGetRequestInformation(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 *GroupsItemSetsCountRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsCountRequestBuilder) { + return NewGroupsItemSetsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_children_count_request_builder.go b/termstore/groups_item_sets_item_children_count_request_builder.go index ade72194326..527bd68b804 100644 --- a/termstore/groups_item_sets_item_children_count_request_builder.go +++ b/termstore/groups_item_sets_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupsItemSetsItemChildrenCountRequestBuilder) 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 *GroupsItemSetsItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemChildrenCountRequestBuilder) { + return NewGroupsItemSetsItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_children_item_children_count_request_builder.go b/termstore/groups_item_sets_item_children_item_children_count_request_builder.go index 549eb7ec367..63eeed4ea60 100644 --- a/termstore/groups_item_sets_item_children_item_children_count_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenCountRequestBuilder) ToGetRequest } 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 *GroupsItemSetsItemChildrenItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemChildrenItemChildrenCountRequestBuilder) { + return NewGroupsItemSetsItemChildrenItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_children_item_children_item_relations_count_request_builder.go b/termstore/groups_item_sets_item_children_item_children_item_relations_count_request_builder.go index 75abb22638e..2d239ccefcb 100644 --- a/termstore/groups_item_sets_item_children_item_children_item_relations_count_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder) } 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 *GroupsItemSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder) { + return NewGroupsItemSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go b/termstore/groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go index 865d355cf92..e687c099f3b 100644 --- a/termstore/groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestB } 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 *GroupsItemSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewGroupsItemSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go b/termstore/groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go index ea2243c30ce..d154b0fcb6a 100644 --- a/termstore/groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilde } 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 *GroupsItemSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder) { + return NewGroupsItemSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go b/termstore/groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go index f1d8a307f07..4039ee0415f 100644 --- a/termstore/groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBui } 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 *GroupsItemSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewGroupsItemSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go b/termstore/groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go index 35755f60baa..95691cbaecc 100644 --- a/termstore/groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenItemRelationsRelationItemRequestB func (m *GroupsItemSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*GroupsItemSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) { return NewGroupsItemSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *GroupsItemSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewGroupsItemSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_children_item_children_item_relations_request_builder.go b/termstore/groups_item_sets_item_children_item_children_item_relations_request_builder.go index 9a4e5bf033f..315f871442a 100644 --- a/termstore/groups_item_sets_item_children_item_children_item_relations_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type GroupsItemSetsItemChildrenItemChildrenItemRelationsRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *GroupsItemSetsItemChildrenItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*GroupsItemSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *GroupsItemSetsItemChildrenItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*GroupsItemSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenItemRelationsRequestBuilder) ToPo } 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 *GroupsItemSetsItemChildrenItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemChildrenItemChildrenItemRelationsRequestBuilder) { + return NewGroupsItemSetsItemChildrenItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_children_item_children_item_set_request_builder.go b/termstore/groups_item_sets_item_children_item_children_item_set_request_builder.go index ee8b74ed120..cd6378e580f 100644 --- a/termstore/groups_item_sets_item_children_item_children_item_set_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenItemSetRequestBuilder) ToGetReque } 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 *GroupsItemSetsItemChildrenItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemChildrenItemChildrenItemSetRequestBuilder) { + return NewGroupsItemSetsItemChildrenItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_children_item_children_request_builder.go b/termstore/groups_item_sets_item_children_item_children_request_builder.go index 9dd2e727da7..ab6f922b84e 100644 --- a/termstore/groups_item_sets_item_children_item_children_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_children_request_builder.go @@ -46,8 +46,8 @@ type GroupsItemSetsItemChildrenItemChildrenRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermId1String provides operations to manage the children property of the microsoft.graph.termStore.term entity. -func (m *GroupsItemSetsItemChildrenItemChildrenRequestBuilder) ByTermId1String(termId1 string)(*GroupsItemSetsItemChildrenItemChildrenTermItemRequestBuilder) { +// ByTermId1 provides operations to manage the children property of the microsoft.graph.termStore.term entity. +func (m *GroupsItemSetsItemChildrenItemChildrenRequestBuilder) ByTermId1(termId1 string)(*GroupsItemSetsItemChildrenItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenRequestBuilder) ToPostRequestInfo } 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 *GroupsItemSetsItemChildrenItemChildrenRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemChildrenItemChildrenRequestBuilder) { + return NewGroupsItemSetsItemChildrenItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_children_item_children_term_item_request_builder.go b/termstore/groups_item_sets_item_children_item_children_term_item_request_builder.go index 395a5ba0581..043b6e7f250 100644 --- a/termstore/groups_item_sets_item_children_item_children_term_item_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_children_term_item_request_builder.go @@ -161,3 +161,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenTermItemRequestBuilder) ToPatchRe } 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 *GroupsItemSetsItemChildrenItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemChildrenItemChildrenTermItemRequestBuilder) { + return NewGroupsItemSetsItemChildrenItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_children_item_relations_count_request_builder.go b/termstore/groups_item_sets_item_children_item_relations_count_request_builder.go index 852f3d0f370..a2782cdbb04 100644 --- a/termstore/groups_item_sets_item_children_item_relations_count_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupsItemSetsItemChildrenItemRelationsCountRequestBuilder) ToGetReques } 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 *GroupsItemSetsItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemChildrenItemRelationsCountRequestBuilder) { + return NewGroupsItemSetsItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_children_item_relations_item_from_term_request_builder.go b/termstore/groups_item_sets_item_children_item_relations_item_from_term_request_builder.go index bd575ad2f2a..6bff17d74b9 100644 --- a/termstore/groups_item_sets_item_children_item_relations_item_from_term_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupsItemSetsItemChildrenItemRelationsItemFromTermRequestBuilder) ToGe } 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 *GroupsItemSetsItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewGroupsItemSetsItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_children_item_relations_item_set_request_builder.go b/termstore/groups_item_sets_item_children_item_relations_item_set_request_builder.go index dce83d90ec3..83add4ab0dd 100644 --- a/termstore/groups_item_sets_item_children_item_relations_item_set_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupsItemSetsItemChildrenItemRelationsItemSetRequestBuilder) ToGetRequ } 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 *GroupsItemSetsItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemChildrenItemRelationsItemSetRequestBuilder) { + return NewGroupsItemSetsItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_children_item_relations_item_to_term_request_builder.go b/termstore/groups_item_sets_item_children_item_relations_item_to_term_request_builder.go index 54da9b9d8ce..a78bba23f44 100644 --- a/termstore/groups_item_sets_item_children_item_relations_item_to_term_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupsItemSetsItemChildrenItemRelationsItemToTermRequestBuilder) ToGetR } 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 *GroupsItemSetsItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewGroupsItemSetsItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_children_item_relations_relation_item_request_builder.go b/termstore/groups_item_sets_item_children_item_relations_relation_item_request_builder.go index a1416b43495..fe00fb80c30 100644 --- a/termstore/groups_item_sets_item_children_item_relations_relation_item_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *GroupsItemSetsItemChildrenItemRelationsRelationItemRequestBuilder) ToPa func (m *GroupsItemSetsItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*GroupsItemSetsItemChildrenItemRelationsItemToTermRequestBuilder) { return NewGroupsItemSetsItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *GroupsItemSetsItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewGroupsItemSetsItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_children_item_relations_request_builder.go b/termstore/groups_item_sets_item_children_item_relations_request_builder.go index dac42c5915a..8e9bece8372 100644 --- a/termstore/groups_item_sets_item_children_item_relations_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type GroupsItemSetsItemChildrenItemRelationsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *GroupsItemSetsItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*GroupsItemSetsItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *GroupsItemSetsItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*GroupsItemSetsItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupsItemSetsItemChildrenItemRelationsRequestBuilder) ToPostRequestInf } 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 *GroupsItemSetsItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemChildrenItemRelationsRequestBuilder) { + return NewGroupsItemSetsItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_children_item_set_request_builder.go b/termstore/groups_item_sets_item_children_item_set_request_builder.go index f5a8a12616b..abf9de514bf 100644 --- a/termstore/groups_item_sets_item_children_item_set_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupsItemSetsItemChildrenItemSetRequestBuilder) 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 *GroupsItemSetsItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemChildrenItemSetRequestBuilder) { + return NewGroupsItemSetsItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_children_request_builder.go b/termstore/groups_item_sets_item_children_request_builder.go index bfbb8ba5839..73ec20c88ea 100644 --- a/termstore/groups_item_sets_item_children_request_builder.go +++ b/termstore/groups_item_sets_item_children_request_builder.go @@ -46,8 +46,8 @@ type GroupsItemSetsItemChildrenRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermIdString provides operations to manage the children property of the microsoft.graph.termStore.set entity. -func (m *GroupsItemSetsItemChildrenRequestBuilder) ByTermIdString(termId string)(*GroupsItemSetsItemChildrenTermItemRequestBuilder) { +// ByTermId provides operations to manage the children property of the microsoft.graph.termStore.set entity. +func (m *GroupsItemSetsItemChildrenRequestBuilder) ByTermId(termId string)(*GroupsItemSetsItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *GroupsItemSetsItemChildrenRequestBuilder) 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 *GroupsItemSetsItemChildrenRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemChildrenRequestBuilder) { + return NewGroupsItemSetsItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_children_term_item_request_builder.go b/termstore/groups_item_sets_item_children_term_item_request_builder.go index ecdd9547478..1236e38495c 100644 --- a/termstore/groups_item_sets_item_children_term_item_request_builder.go +++ b/termstore/groups_item_sets_item_children_term_item_request_builder.go @@ -165,3 +165,7 @@ func (m *GroupsItemSetsItemChildrenTermItemRequestBuilder) ToPatchRequestInforma } 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 *GroupsItemSetsItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemChildrenTermItemRequestBuilder) { + return NewGroupsItemSetsItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_parent_group_request_builder.go b/termstore/groups_item_sets_item_parent_group_request_builder.go index 060c025f800..77705a3d8f7 100644 --- a/termstore/groups_item_sets_item_parent_group_request_builder.go +++ b/termstore/groups_item_sets_item_parent_group_request_builder.go @@ -153,3 +153,7 @@ func (m *GroupsItemSetsItemParentGroupRequestBuilder) 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 *GroupsItemSetsItemParentGroupRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemParentGroupRequestBuilder) { + return NewGroupsItemSetsItemParentGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_relations_count_request_builder.go b/termstore/groups_item_sets_item_relations_count_request_builder.go index 6001e5cdc50..8e3027e3784 100644 --- a/termstore/groups_item_sets_item_relations_count_request_builder.go +++ b/termstore/groups_item_sets_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupsItemSetsItemRelationsCountRequestBuilder) 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 *GroupsItemSetsItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemRelationsCountRequestBuilder) { + return NewGroupsItemSetsItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_relations_item_from_term_request_builder.go b/termstore/groups_item_sets_item_relations_item_from_term_request_builder.go index 396c3edf0c3..64302a1d8ad 100644 --- a/termstore/groups_item_sets_item_relations_item_from_term_request_builder.go +++ b/termstore/groups_item_sets_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupsItemSetsItemRelationsItemFromTermRequestBuilder) ToGetRequestInfo } 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 *GroupsItemSetsItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemRelationsItemFromTermRequestBuilder) { + return NewGroupsItemSetsItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_relations_item_set_request_builder.go b/termstore/groups_item_sets_item_relations_item_set_request_builder.go index 58fbd932719..648288dcb88 100644 --- a/termstore/groups_item_sets_item_relations_item_set_request_builder.go +++ b/termstore/groups_item_sets_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupsItemSetsItemRelationsItemSetRequestBuilder) ToGetRequestInformati } 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 *GroupsItemSetsItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemRelationsItemSetRequestBuilder) { + return NewGroupsItemSetsItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_relations_item_to_term_request_builder.go b/termstore/groups_item_sets_item_relations_item_to_term_request_builder.go index 8f2aae7f309..4fa9a771d21 100644 --- a/termstore/groups_item_sets_item_relations_item_to_term_request_builder.go +++ b/termstore/groups_item_sets_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupsItemSetsItemRelationsItemToTermRequestBuilder) ToGetRequestInform } 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 *GroupsItemSetsItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemRelationsItemToTermRequestBuilder) { + return NewGroupsItemSetsItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_relations_relation_item_request_builder.go b/termstore/groups_item_sets_item_relations_relation_item_request_builder.go index c321af17680..bb58497eba7 100644 --- a/termstore/groups_item_sets_item_relations_relation_item_request_builder.go +++ b/termstore/groups_item_sets_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *GroupsItemSetsItemRelationsRelationItemRequestBuilder) ToPatchRequestIn func (m *GroupsItemSetsItemRelationsRelationItemRequestBuilder) ToTerm()(*GroupsItemSetsItemRelationsItemToTermRequestBuilder) { return NewGroupsItemSetsItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *GroupsItemSetsItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemRelationsRelationItemRequestBuilder) { + return NewGroupsItemSetsItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_relations_request_builder.go b/termstore/groups_item_sets_item_relations_request_builder.go index c6768cc950f..ff29d01056f 100644 --- a/termstore/groups_item_sets_item_relations_request_builder.go +++ b/termstore/groups_item_sets_item_relations_request_builder.go @@ -46,8 +46,8 @@ type GroupsItemSetsItemRelationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.set entity. -func (m *GroupsItemSetsItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*GroupsItemSetsItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.set entity. +func (m *GroupsItemSetsItemRelationsRequestBuilder) ByRelationId(relationId string)(*GroupsItemSetsItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *GroupsItemSetsItemRelationsRequestBuilder) 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 *GroupsItemSetsItemRelationsRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemRelationsRequestBuilder) { + return NewGroupsItemSetsItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_terms_count_request_builder.go b/termstore/groups_item_sets_item_terms_count_request_builder.go index a0ab877b261..bb75f56ef1e 100644 --- a/termstore/groups_item_sets_item_terms_count_request_builder.go +++ b/termstore/groups_item_sets_item_terms_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupsItemSetsItemTermsCountRequestBuilder) ToGetRequestInformation(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 *GroupsItemSetsItemTermsCountRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemTermsCountRequestBuilder) { + return NewGroupsItemSetsItemTermsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_terms_item_children_count_request_builder.go b/termstore/groups_item_sets_item_terms_item_children_count_request_builder.go index 4c2cb60028a..d59a55357d7 100644 --- a/termstore/groups_item_sets_item_terms_item_children_count_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenCountRequestBuilder) ToGetRequestInf } 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 *GroupsItemSetsItemTermsItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemTermsItemChildrenCountRequestBuilder) { + return NewGroupsItemSetsItemTermsItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_terms_item_children_item_relations_count_request_builder.go b/termstore/groups_item_sets_item_terms_item_children_item_relations_count_request_builder.go index 5de53ab4b88..6f228ccb4e6 100644 --- a/termstore/groups_item_sets_item_terms_item_children_item_relations_count_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenItemRelationsCountRequestBuilder) To } 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 *GroupsItemSetsItemTermsItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemTermsItemChildrenItemRelationsCountRequestBuilder) { + return NewGroupsItemSetsItemTermsItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go b/termstore/groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go index f6f9ee75a79..d3ff3116216 100644 --- a/termstore/groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuil } 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 *GroupsItemSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewGroupsItemSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go b/termstore/groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go index 2aa68d2fafe..099dd9bdcc4 100644 --- a/termstore/groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder) } 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 *GroupsItemSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder) { + return NewGroupsItemSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go b/termstore/groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go index 560a04ecfbc..420cae6cbd5 100644 --- a/termstore/groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilde } 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 *GroupsItemSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewGroupsItemSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go b/termstore/groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go index d3d2dee266e..f5b29fc0be0 100644 --- a/termstore/groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuil func (m *GroupsItemSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*GroupsItemSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) { return NewGroupsItemSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *GroupsItemSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewGroupsItemSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_terms_item_children_item_relations_request_builder.go b/termstore/groups_item_sets_item_terms_item_children_item_relations_request_builder.go index bf3b1b0bc60..b2fe93ab84d 100644 --- a/termstore/groups_item_sets_item_terms_item_children_item_relations_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type GroupsItemSetsItemTermsItemChildrenItemRelationsRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *GroupsItemSetsItemTermsItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*GroupsItemSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *GroupsItemSetsItemTermsItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*GroupsItemSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenItemRelationsRequestBuilder) ToPostR } 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 *GroupsItemSetsItemTermsItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemTermsItemChildrenItemRelationsRequestBuilder) { + return NewGroupsItemSetsItemTermsItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_terms_item_children_item_set_request_builder.go b/termstore/groups_item_sets_item_terms_item_children_item_set_request_builder.go index 03ab3f21c30..a6fb015ef61 100644 --- a/termstore/groups_item_sets_item_terms_item_children_item_set_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenItemSetRequestBuilder) ToGetRequestI } 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 *GroupsItemSetsItemTermsItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemTermsItemChildrenItemSetRequestBuilder) { + return NewGroupsItemSetsItemTermsItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_terms_item_children_request_builder.go b/termstore/groups_item_sets_item_terms_item_children_request_builder.go index bed0783d6da..614f35ad8d8 100644 --- a/termstore/groups_item_sets_item_terms_item_children_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_children_request_builder.go @@ -46,8 +46,8 @@ type GroupsItemSetsItemTermsItemChildrenRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermId1String provides operations to manage the children property of the microsoft.graph.termStore.term entity. -func (m *GroupsItemSetsItemTermsItemChildrenRequestBuilder) ByTermId1String(termId1 string)(*GroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder) { +// ByTermId1 provides operations to manage the children property of the microsoft.graph.termStore.term entity. +func (m *GroupsItemSetsItemTermsItemChildrenRequestBuilder) ByTermId1(termId1 string)(*GroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenRequestBuilder) ToPostRequestInforma } 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 *GroupsItemSetsItemTermsItemChildrenRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemTermsItemChildrenRequestBuilder) { + return NewGroupsItemSetsItemTermsItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_terms_item_children_term_item_request_builder.go b/termstore/groups_item_sets_item_terms_item_children_term_item_request_builder.go index c4e8094e869..50aea1625b1 100644 --- a/termstore/groups_item_sets_item_terms_item_children_term_item_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_children_term_item_request_builder.go @@ -161,3 +161,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder) ToPatchReque } 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 *GroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder) { + return NewGroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_terms_item_relations_count_request_builder.go b/termstore/groups_item_sets_item_terms_item_relations_count_request_builder.go index c5ad6bd3f44..506fc9390d6 100644 --- a/termstore/groups_item_sets_item_terms_item_relations_count_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *GroupsItemSetsItemTermsItemRelationsCountRequestBuilder) ToGetRequestIn } 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 *GroupsItemSetsItemTermsItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemTermsItemRelationsCountRequestBuilder) { + return NewGroupsItemSetsItemTermsItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go b/termstore/groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go index 01f1dbf5fb2..2db3d1d787e 100644 --- a/termstore/groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupsItemSetsItemTermsItemRelationsItemFromTermRequestBuilder) ToGetRe } 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 *GroupsItemSetsItemTermsItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemTermsItemRelationsItemFromTermRequestBuilder) { + return NewGroupsItemSetsItemTermsItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_terms_item_relations_item_set_request_builder.go b/termstore/groups_item_sets_item_terms_item_relations_item_set_request_builder.go index ea828a06a8b..171974e8828 100644 --- a/termstore/groups_item_sets_item_terms_item_relations_item_set_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupsItemSetsItemTermsItemRelationsItemSetRequestBuilder) ToGetRequest } 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 *GroupsItemSetsItemTermsItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemTermsItemRelationsItemSetRequestBuilder) { + return NewGroupsItemSetsItemTermsItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go b/termstore/groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go index 4473a7749d9..8fd377558c9 100644 --- a/termstore/groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupsItemSetsItemTermsItemRelationsItemToTermRequestBuilder) ToGetRequ } 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 *GroupsItemSetsItemTermsItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemTermsItemRelationsItemToTermRequestBuilder) { + return NewGroupsItemSetsItemTermsItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_terms_item_relations_relation_item_request_builder.go b/termstore/groups_item_sets_item_terms_item_relations_relation_item_request_builder.go index a866d4f3dcf..bea6be3fd6b 100644 --- a/termstore/groups_item_sets_item_terms_item_relations_relation_item_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *GroupsItemSetsItemTermsItemRelationsRelationItemRequestBuilder) ToPatch func (m *GroupsItemSetsItemTermsItemRelationsRelationItemRequestBuilder) ToTerm()(*GroupsItemSetsItemTermsItemRelationsItemToTermRequestBuilder) { return NewGroupsItemSetsItemTermsItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *GroupsItemSetsItemTermsItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemTermsItemRelationsRelationItemRequestBuilder) { + return NewGroupsItemSetsItemTermsItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_terms_item_relations_request_builder.go b/termstore/groups_item_sets_item_terms_item_relations_request_builder.go index c0dd8e85ff6..2e731926150 100644 --- a/termstore/groups_item_sets_item_terms_item_relations_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_relations_request_builder.go @@ -46,8 +46,8 @@ type GroupsItemSetsItemTermsItemRelationsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *GroupsItemSetsItemTermsItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*GroupsItemSetsItemTermsItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *GroupsItemSetsItemTermsItemRelationsRequestBuilder) ByRelationId(relationId string)(*GroupsItemSetsItemTermsItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupsItemSetsItemTermsItemRelationsRequestBuilder) ToPostRequestInform } 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 *GroupsItemSetsItemTermsItemRelationsRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemTermsItemRelationsRequestBuilder) { + return NewGroupsItemSetsItemTermsItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_terms_item_set_request_builder.go b/termstore/groups_item_sets_item_terms_item_set_request_builder.go index 4cd5bbdd642..1788709bedb 100644 --- a/termstore/groups_item_sets_item_terms_item_set_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *GroupsItemSetsItemTermsItemSetRequestBuilder) ToGetRequestInformation(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 *GroupsItemSetsItemTermsItemSetRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemTermsItemSetRequestBuilder) { + return NewGroupsItemSetsItemTermsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_terms_request_builder.go b/termstore/groups_item_sets_item_terms_request_builder.go index a701d7dbf41..8842e7d4100 100644 --- a/termstore/groups_item_sets_item_terms_request_builder.go +++ b/termstore/groups_item_sets_item_terms_request_builder.go @@ -46,8 +46,8 @@ type GroupsItemSetsItemTermsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermIdString provides operations to manage the terms property of the microsoft.graph.termStore.set entity. -func (m *GroupsItemSetsItemTermsRequestBuilder) ByTermIdString(termId string)(*GroupsItemSetsItemTermsTermItemRequestBuilder) { +// ByTermId provides operations to manage the terms property of the microsoft.graph.termStore.set entity. +func (m *GroupsItemSetsItemTermsRequestBuilder) ByTermId(termId string)(*GroupsItemSetsItemTermsTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *GroupsItemSetsItemTermsRequestBuilder) ToPostRequestInformation(ctx con } 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 *GroupsItemSetsItemTermsRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemTermsRequestBuilder) { + return NewGroupsItemSetsItemTermsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_item_terms_term_item_request_builder.go b/termstore/groups_item_sets_item_terms_term_item_request_builder.go index 72bcbdd58ba..163aa172e7d 100644 --- a/termstore/groups_item_sets_item_terms_term_item_request_builder.go +++ b/termstore/groups_item_sets_item_terms_term_item_request_builder.go @@ -174,3 +174,7 @@ func (m *GroupsItemSetsItemTermsTermItemRequestBuilder) ToPatchRequestInformatio } 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 *GroupsItemSetsItemTermsTermItemRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsItemTermsTermItemRequestBuilder) { + return NewGroupsItemSetsItemTermsTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_request_builder.go b/termstore/groups_item_sets_request_builder.go index 1905528f125..c70f861dcec 100644 --- a/termstore/groups_item_sets_request_builder.go +++ b/termstore/groups_item_sets_request_builder.go @@ -46,8 +46,8 @@ type GroupsItemSetsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySetIdString provides operations to manage the sets property of the microsoft.graph.termStore.group entity. -func (m *GroupsItemSetsRequestBuilder) BySetIdString(setId string)(*GroupsItemSetsSetItemRequestBuilder) { +// BySetId provides operations to manage the sets property of the microsoft.graph.termStore.group entity. +func (m *GroupsItemSetsRequestBuilder) BySetId(setId string)(*GroupsItemSetsSetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *GroupsItemSetsRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *GroupsItemSetsRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsRequestBuilder) { + return NewGroupsItemSetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_item_sets_set_item_request_builder.go b/termstore/groups_item_sets_set_item_request_builder.go index 3ed5c80e409..803106c38a9 100644 --- a/termstore/groups_item_sets_set_item_request_builder.go +++ b/termstore/groups_item_sets_set_item_request_builder.go @@ -169,3 +169,7 @@ func (m *GroupsItemSetsSetItemRequestBuilder) ToPatchRequestInformation(ctx cont } 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 *GroupsItemSetsSetItemRequestBuilder) WithUrl(rawUrl string)(*GroupsItemSetsSetItemRequestBuilder) { + return NewGroupsItemSetsSetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/groups_request_builder.go b/termstore/groups_request_builder.go index 6ddfa9836d1..d1f8322d999 100644 --- a/termstore/groups_request_builder.go +++ b/termstore/groups_request_builder.go @@ -46,8 +46,8 @@ type GroupsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGroupIdString provides operations to manage the groups property of the microsoft.graph.termStore.store entity. -func (m *GroupsRequestBuilder) ByGroupIdString(groupId string)(*GroupsGroupItemRequestBuilder) { +// ByGroupId provides operations to manage the groups property of the microsoft.graph.termStore.store entity. +func (m *GroupsRequestBuilder) ByGroupId(groupId string)(*GroupsGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *GroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, bod } 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 *GroupsRequestBuilder) WithUrl(rawUrl string)(*GroupsRequestBuilder) { + return NewGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_count_request_builder.go b/termstore/sets_count_request_builder.go index 146759a4d50..bea3ccac0d6 100644 --- a/termstore/sets_count_request_builder.go +++ b/termstore/sets_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SetsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, r } 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 *SetsCountRequestBuilder) WithUrl(rawUrl string)(*SetsCountRequestBuilder) { + return NewSetsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_children_count_request_builder.go b/termstore/sets_item_children_count_request_builder.go index 7678a6fb16d..a5bc2396332 100644 --- a/termstore/sets_item_children_count_request_builder.go +++ b/termstore/sets_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SetsItemChildrenCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *SetsItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*SetsItemChildrenCountRequestBuilder) { + return NewSetsItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_children_item_children_count_request_builder.go b/termstore/sets_item_children_item_children_count_request_builder.go index 5b2ad2e5caf..a562cf30ca7 100644 --- a/termstore/sets_item_children_item_children_count_request_builder.go +++ b/termstore/sets_item_children_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SetsItemChildrenItemChildrenCountRequestBuilder) 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 *SetsItemChildrenItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*SetsItemChildrenItemChildrenCountRequestBuilder) { + return NewSetsItemChildrenItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_children_item_children_item_relations_count_request_builder.go b/termstore/sets_item_children_item_children_item_relations_count_request_builder.go index fa8096e8fed..6c549316fdb 100644 --- a/termstore/sets_item_children_item_children_item_relations_count_request_builder.go +++ b/termstore/sets_item_children_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SetsItemChildrenItemChildrenItemRelationsCountRequestBuilder) ToGetRequ } 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 *SetsItemChildrenItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*SetsItemChildrenItemChildrenItemRelationsCountRequestBuilder) { + return NewSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_children_item_children_item_relations_item_from_term_request_builder.go b/termstore/sets_item_children_item_children_item_relations_item_from_term_request_builder.go index b3d5eb706a1..0ac1c2b704c 100644 --- a/termstore/sets_item_children_item_children_item_relations_item_from_term_request_builder.go +++ b/termstore/sets_item_children_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder) To } 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 *SetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*SetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_children_item_children_item_relations_item_set_request_builder.go b/termstore/sets_item_children_item_children_item_relations_item_set_request_builder.go index 7b5cae4ab1d..1a3826d53de 100644 --- a/termstore/sets_item_children_item_children_item_relations_item_set_request_builder.go +++ b/termstore/sets_item_children_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder) ToGetRe } 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 *SetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*SetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder) { + return NewSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_children_item_children_item_relations_item_to_term_request_builder.go b/termstore/sets_item_children_item_children_item_relations_item_to_term_request_builder.go index 2debed3cd08..ca149c86017 100644 --- a/termstore/sets_item_children_item_children_item_relations_item_to_term_request_builder.go +++ b/termstore/sets_item_children_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) ToGe } 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 *SetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*SetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_children_item_children_item_relations_relation_item_request_builder.go b/termstore/sets_item_children_item_children_item_relations_relation_item_request_builder.go index ac6de69e846..3869735624f 100644 --- a/termstore/sets_item_children_item_children_item_relations_relation_item_request_builder.go +++ b/termstore/sets_item_children_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *SetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) To func (m *SetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*SetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) { return NewSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *SetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*SetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_children_item_children_item_relations_request_builder.go b/termstore/sets_item_children_item_children_item_relations_request_builder.go index ca56ea1b305..dd7b4cdd075 100644 --- a/termstore/sets_item_children_item_children_item_relations_request_builder.go +++ b/termstore/sets_item_children_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type SetsItemChildrenItemChildrenItemRelationsRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *SetsItemChildrenItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*SetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *SetsItemChildrenItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*SetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SetsItemChildrenItemChildrenItemRelationsRequestBuilder) ToPostRequestI } 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 *SetsItemChildrenItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*SetsItemChildrenItemChildrenItemRelationsRequestBuilder) { + return NewSetsItemChildrenItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_children_item_children_item_set_request_builder.go b/termstore/sets_item_children_item_children_item_set_request_builder.go index 2c76c73d114..3832ccfc33a 100644 --- a/termstore/sets_item_children_item_children_item_set_request_builder.go +++ b/termstore/sets_item_children_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemChildrenItemChildrenItemSetRequestBuilder) ToGetRequestInformat } 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 *SetsItemChildrenItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*SetsItemChildrenItemChildrenItemSetRequestBuilder) { + return NewSetsItemChildrenItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_children_item_children_request_builder.go b/termstore/sets_item_children_item_children_request_builder.go index a37b4e5ec84..051081bb66f 100644 --- a/termstore/sets_item_children_item_children_request_builder.go +++ b/termstore/sets_item_children_item_children_request_builder.go @@ -46,8 +46,8 @@ type SetsItemChildrenItemChildrenRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermId1String provides operations to manage the children property of the microsoft.graph.termStore.term entity. -func (m *SetsItemChildrenItemChildrenRequestBuilder) ByTermId1String(termId1 string)(*SetsItemChildrenItemChildrenTermItemRequestBuilder) { +// ByTermId1 provides operations to manage the children property of the microsoft.graph.termStore.term entity. +func (m *SetsItemChildrenItemChildrenRequestBuilder) ByTermId1(termId1 string)(*SetsItemChildrenItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SetsItemChildrenItemChildrenRequestBuilder) 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 *SetsItemChildrenItemChildrenRequestBuilder) WithUrl(rawUrl string)(*SetsItemChildrenItemChildrenRequestBuilder) { + return NewSetsItemChildrenItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_children_item_children_term_item_request_builder.go b/termstore/sets_item_children_item_children_term_item_request_builder.go index 247300c214c..6f13b057617 100644 --- a/termstore/sets_item_children_item_children_term_item_request_builder.go +++ b/termstore/sets_item_children_item_children_term_item_request_builder.go @@ -161,3 +161,7 @@ func (m *SetsItemChildrenItemChildrenTermItemRequestBuilder) ToPatchRequestInfor } 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 *SetsItemChildrenItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*SetsItemChildrenItemChildrenTermItemRequestBuilder) { + return NewSetsItemChildrenItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_children_item_relations_count_request_builder.go b/termstore/sets_item_children_item_relations_count_request_builder.go index ed18b226c2c..81cac949d67 100644 --- a/termstore/sets_item_children_item_relations_count_request_builder.go +++ b/termstore/sets_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SetsItemChildrenItemRelationsCountRequestBuilder) ToGetRequestInformati } 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 *SetsItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*SetsItemChildrenItemRelationsCountRequestBuilder) { + return NewSetsItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_children_item_relations_item_from_term_request_builder.go b/termstore/sets_item_children_item_relations_item_from_term_request_builder.go index 834c0a2c4fb..c1bd6b230bd 100644 --- a/termstore/sets_item_children_item_relations_item_from_term_request_builder.go +++ b/termstore/sets_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemChildrenItemRelationsItemFromTermRequestBuilder) ToGetRequestIn } 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 *SetsItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*SetsItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewSetsItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_children_item_relations_item_set_request_builder.go b/termstore/sets_item_children_item_relations_item_set_request_builder.go index 2dd5510b519..1adcd8c8240 100644 --- a/termstore/sets_item_children_item_relations_item_set_request_builder.go +++ b/termstore/sets_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemChildrenItemRelationsItemSetRequestBuilder) ToGetRequestInforma } 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 *SetsItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*SetsItemChildrenItemRelationsItemSetRequestBuilder) { + return NewSetsItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_children_item_relations_item_to_term_request_builder.go b/termstore/sets_item_children_item_relations_item_to_term_request_builder.go index ab698d319bb..2e52c2d7782 100644 --- a/termstore/sets_item_children_item_relations_item_to_term_request_builder.go +++ b/termstore/sets_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemChildrenItemRelationsItemToTermRequestBuilder) ToGetRequestInfo } 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 *SetsItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*SetsItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewSetsItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_children_item_relations_relation_item_request_builder.go b/termstore/sets_item_children_item_relations_relation_item_request_builder.go index 357f26887cd..477f5a1415e 100644 --- a/termstore/sets_item_children_item_relations_relation_item_request_builder.go +++ b/termstore/sets_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *SetsItemChildrenItemRelationsRelationItemRequestBuilder) ToPatchRequest func (m *SetsItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*SetsItemChildrenItemRelationsItemToTermRequestBuilder) { return NewSetsItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *SetsItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*SetsItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewSetsItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_children_item_relations_request_builder.go b/termstore/sets_item_children_item_relations_request_builder.go index 347ef83938d..6612b2d442b 100644 --- a/termstore/sets_item_children_item_relations_request_builder.go +++ b/termstore/sets_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type SetsItemChildrenItemRelationsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *SetsItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*SetsItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *SetsItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*SetsItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SetsItemChildrenItemRelationsRequestBuilder) ToPostRequestInformation(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 *SetsItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*SetsItemChildrenItemRelationsRequestBuilder) { + return NewSetsItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_children_item_set_request_builder.go b/termstore/sets_item_children_item_set_request_builder.go index 0ee89071dbe..4dcdc4b5003 100644 --- a/termstore/sets_item_children_item_set_request_builder.go +++ b/termstore/sets_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemChildrenItemSetRequestBuilder) ToGetRequestInformation(ctx cont } 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 *SetsItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*SetsItemChildrenItemSetRequestBuilder) { + return NewSetsItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_children_request_builder.go b/termstore/sets_item_children_request_builder.go index 779250e4575..18024d1dc0d 100644 --- a/termstore/sets_item_children_request_builder.go +++ b/termstore/sets_item_children_request_builder.go @@ -46,8 +46,8 @@ type SetsItemChildrenRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermIdString provides operations to manage the children property of the microsoft.graph.termStore.set entity. -func (m *SetsItemChildrenRequestBuilder) ByTermIdString(termId string)(*SetsItemChildrenTermItemRequestBuilder) { +// ByTermId provides operations to manage the children property of the microsoft.graph.termStore.set entity. +func (m *SetsItemChildrenRequestBuilder) ByTermId(termId string)(*SetsItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *SetsItemChildrenRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *SetsItemChildrenRequestBuilder) WithUrl(rawUrl string)(*SetsItemChildrenRequestBuilder) { + return NewSetsItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_children_term_item_request_builder.go b/termstore/sets_item_children_term_item_request_builder.go index e6123787b02..67ff880b001 100644 --- a/termstore/sets_item_children_term_item_request_builder.go +++ b/termstore/sets_item_children_term_item_request_builder.go @@ -165,3 +165,7 @@ func (m *SetsItemChildrenTermItemRequestBuilder) 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 *SetsItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*SetsItemChildrenTermItemRequestBuilder) { + return NewSetsItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_request_builder.go b/termstore/sets_item_parent_group_request_builder.go index 944d5fe2f9b..7f583af1b78 100644 --- a/termstore/sets_item_parent_group_request_builder.go +++ b/termstore/sets_item_parent_group_request_builder.go @@ -157,3 +157,7 @@ func (m *SetsItemParentGroupRequestBuilder) ToPatchRequestInformation(ctx contex } 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 *SetsItemParentGroupRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupRequestBuilder) { + return NewSetsItemParentGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_count_request_builder.go b/termstore/sets_item_parent_group_sets_count_request_builder.go index 2b488e08819..e785abac9eb 100644 --- a/termstore/sets_item_parent_group_sets_count_request_builder.go +++ b/termstore/sets_item_parent_group_sets_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SetsItemParentGroupSetsCountRequestBuilder) ToGetRequestInformation(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 *SetsItemParentGroupSetsCountRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsCountRequestBuilder) { + return NewSetsItemParentGroupSetsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_children_count_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_count_request_builder.go index 2f91ce0b7f3..fcdab2d6110 100644 --- a/termstore/sets_item_parent_group_sets_item_children_count_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SetsItemParentGroupSetsItemChildrenCountRequestBuilder) ToGetRequestInf } 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 *SetsItemParentGroupSetsItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemChildrenCountRequestBuilder) { + return NewSetsItemParentGroupSetsItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_children_item_children_count_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_children_count_request_builder.go index 660c922c72c..84b77fd3a08 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_children_count_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenCountRequestBuilder) ToG } 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 *SetsItemParentGroupSetsItemChildrenItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemChildrenItemChildrenCountRequestBuilder) { + return NewSetsItemParentGroupSetsItemChildrenItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_count_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_count_request_builder.go index cc73cb910ec..437a332cb6c 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_count_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsCountReques } 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 *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder) { + return NewSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go index 7a44d406722..605eec86915 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemFromTer } 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 *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go index 1093731b521..183c6ebc75d 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemSetRequ } 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 *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder) { + return NewSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go index d09dc19dbd6..dd47d35f29d 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemToTermR } 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 *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go index f4355095635..b4e32ccb2b7 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRelationIte func (m *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) { return NewSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go index 123b6fab0c9..839d6bfcbcc 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRequestBuilderP // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRequestBuil } 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 *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRequestBuilder) { + return NewSetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go index 59c9bb33f7d..a4fd8381dfa 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenItemSetRequestBuilder) T } 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 *SetsItemParentGroupSetsItemChildrenItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemChildrenItemChildrenItemSetRequestBuilder) { + return NewSetsItemParentGroupSetsItemChildrenItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_children_item_children_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_children_request_builder.go index acfbfcea0bf..cc5d3974092 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_children_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_children_request_builder.go @@ -46,8 +46,8 @@ type SetsItemParentGroupSetsItemChildrenItemChildrenRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermId1String provides operations to manage the children property of the microsoft.graph.termStore.term entity. -func (m *SetsItemParentGroupSetsItemChildrenItemChildrenRequestBuilder) ByTermId1String(termId1 string)(*SetsItemParentGroupSetsItemChildrenItemChildrenTermItemRequestBuilder) { +// ByTermId1 provides operations to manage the children property of the microsoft.graph.termStore.term entity. +func (m *SetsItemParentGroupSetsItemChildrenItemChildrenRequestBuilder) ByTermId1(termId1 string)(*SetsItemParentGroupSetsItemChildrenItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenRequestBuilder) ToPostRe } 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 *SetsItemParentGroupSetsItemChildrenItemChildrenRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemChildrenItemChildrenRequestBuilder) { + return NewSetsItemParentGroupSetsItemChildrenItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go index 84238b1707b..ede7326985c 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go @@ -161,3 +161,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenTermItemRequestBuilder) } 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 *SetsItemParentGroupSetsItemChildrenItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemChildrenItemChildrenTermItemRequestBuilder) { + return NewSetsItemParentGroupSetsItemChildrenItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_children_item_relations_count_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_relations_count_request_builder.go index a30f0ae0edf..55d506c7830 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_relations_count_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemRelationsCountRequestBuilder) To } 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 *SetsItemParentGroupSetsItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemChildrenItemRelationsCountRequestBuilder) { + return NewSetsItemParentGroupSetsItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go index d6ccd7790f3..bd1d2ce1989 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemRelationsItemFromTermRequestBuil } 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 *SetsItemParentGroupSetsItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewSetsItemParentGroupSetsItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go index 8b8343551ff..9c363eaec91 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemRelationsItemSetRequestBuilder) } 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 *SetsItemParentGroupSetsItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemChildrenItemRelationsItemSetRequestBuilder) { + return NewSetsItemParentGroupSetsItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go index c8ce0a1414c..bd37dc1b785 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemRelationsItemToTermRequestBuilde } 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 *SetsItemParentGroupSetsItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewSetsItemParentGroupSetsItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go index 7677d887eb5..f3d46632ee6 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemRelationsRelationItemRequestBuil func (m *SetsItemParentGroupSetsItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*SetsItemParentGroupSetsItemChildrenItemRelationsItemToTermRequestBuilder) { return NewSetsItemParentGroupSetsItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *SetsItemParentGroupSetsItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewSetsItemParentGroupSetsItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_children_item_relations_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_relations_request_builder.go index 384fa5a4c9c..75e50a97a50 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_relations_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type SetsItemParentGroupSetsItemChildrenItemRelationsRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *SetsItemParentGroupSetsItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*SetsItemParentGroupSetsItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *SetsItemParentGroupSetsItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*SetsItemParentGroupSetsItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemRelationsRequestBuilder) ToPostR } 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 *SetsItemParentGroupSetsItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemChildrenItemRelationsRequestBuilder) { + return NewSetsItemParentGroupSetsItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_children_item_set_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_set_request_builder.go index e0b683e1548..de37453add2 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_set_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemSetRequestBuilder) ToGetRequestI } 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 *SetsItemParentGroupSetsItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemChildrenItemSetRequestBuilder) { + return NewSetsItemParentGroupSetsItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_children_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_request_builder.go index 5151c072245..203349f9a19 100644 --- a/termstore/sets_item_parent_group_sets_item_children_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_request_builder.go @@ -46,8 +46,8 @@ type SetsItemParentGroupSetsItemChildrenRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermIdString provides operations to manage the children property of the microsoft.graph.termStore.set entity. -func (m *SetsItemParentGroupSetsItemChildrenRequestBuilder) ByTermIdString(termId string)(*SetsItemParentGroupSetsItemChildrenTermItemRequestBuilder) { +// ByTermId provides operations to manage the children property of the microsoft.graph.termStore.set entity. +func (m *SetsItemParentGroupSetsItemChildrenRequestBuilder) ByTermId(termId string)(*SetsItemParentGroupSetsItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *SetsItemParentGroupSetsItemChildrenRequestBuilder) ToPostRequestInforma } 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 *SetsItemParentGroupSetsItemChildrenRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemChildrenRequestBuilder) { + return NewSetsItemParentGroupSetsItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_children_term_item_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_term_item_request_builder.go index bc952a6502c..6442e7eafcd 100644 --- a/termstore/sets_item_parent_group_sets_item_children_term_item_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_term_item_request_builder.go @@ -165,3 +165,7 @@ func (m *SetsItemParentGroupSetsItemChildrenTermItemRequestBuilder) ToPatchReque } 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 *SetsItemParentGroupSetsItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemChildrenTermItemRequestBuilder) { + return NewSetsItemParentGroupSetsItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_relations_count_request_builder.go b/termstore/sets_item_parent_group_sets_item_relations_count_request_builder.go index 75244a3d6be..a376d65f6cb 100644 --- a/termstore/sets_item_parent_group_sets_item_relations_count_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SetsItemParentGroupSetsItemRelationsCountRequestBuilder) ToGetRequestIn } 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 *SetsItemParentGroupSetsItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemRelationsCountRequestBuilder) { + return NewSetsItemParentGroupSetsItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go b/termstore/sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go index 4244023e3c9..74c640aceae 100644 --- a/termstore/sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemParentGroupSetsItemRelationsItemFromTermRequestBuilder) ToGetRe } 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 *SetsItemParentGroupSetsItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemRelationsItemFromTermRequestBuilder) { + return NewSetsItemParentGroupSetsItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_relations_item_set_request_builder.go b/termstore/sets_item_parent_group_sets_item_relations_item_set_request_builder.go index 9fee6dc9ac2..9d3256d2a50 100644 --- a/termstore/sets_item_parent_group_sets_item_relations_item_set_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemParentGroupSetsItemRelationsItemSetRequestBuilder) ToGetRequest } 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 *SetsItemParentGroupSetsItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemRelationsItemSetRequestBuilder) { + return NewSetsItemParentGroupSetsItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go b/termstore/sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go index ed12e66cfeb..a9bd2b77454 100644 --- a/termstore/sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemParentGroupSetsItemRelationsItemToTermRequestBuilder) ToGetRequ } 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 *SetsItemParentGroupSetsItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemRelationsItemToTermRequestBuilder) { + return NewSetsItemParentGroupSetsItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_relations_relation_item_request_builder.go b/termstore/sets_item_parent_group_sets_item_relations_relation_item_request_builder.go index c1595857e66..60b41fa0851 100644 --- a/termstore/sets_item_parent_group_sets_item_relations_relation_item_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *SetsItemParentGroupSetsItemRelationsRelationItemRequestBuilder) ToPatch func (m *SetsItemParentGroupSetsItemRelationsRelationItemRequestBuilder) ToTerm()(*SetsItemParentGroupSetsItemRelationsItemToTermRequestBuilder) { return NewSetsItemParentGroupSetsItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *SetsItemParentGroupSetsItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemRelationsRelationItemRequestBuilder) { + return NewSetsItemParentGroupSetsItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_relations_request_builder.go b/termstore/sets_item_parent_group_sets_item_relations_request_builder.go index 230cce04877..3cd48967d20 100644 --- a/termstore/sets_item_parent_group_sets_item_relations_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_relations_request_builder.go @@ -46,8 +46,8 @@ type SetsItemParentGroupSetsItemRelationsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.set entity. -func (m *SetsItemParentGroupSetsItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*SetsItemParentGroupSetsItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.set entity. +func (m *SetsItemParentGroupSetsItemRelationsRequestBuilder) ByRelationId(relationId string)(*SetsItemParentGroupSetsItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *SetsItemParentGroupSetsItemRelationsRequestBuilder) ToPostRequestInform } 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 *SetsItemParentGroupSetsItemRelationsRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemRelationsRequestBuilder) { + return NewSetsItemParentGroupSetsItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_terms_count_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_count_request_builder.go index dedb1dd31a9..3b32f9a10bc 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_count_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SetsItemParentGroupSetsItemTermsCountRequestBuilder) ToGetRequestInform } 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 *SetsItemParentGroupSetsItemTermsCountRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemTermsCountRequestBuilder) { + return NewSetsItemParentGroupSetsItemTermsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_children_count_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_children_count_request_builder.go index 4c9fbf77954..6d6809d5cb7 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_children_count_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenCountRequestBuilder) ToGetR } 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 *SetsItemParentGroupSetsItemTermsItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemTermsItemChildrenCountRequestBuilder) { + return NewSetsItemParentGroupSetsItemTermsItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_count_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_count_request_builder.go index 8219efbe7a1..ff3cec5e131 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_count_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsCountRequestBu } 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 *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsCountRequestBuilder) { + return NewSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go index 72763682be9..a55bd50c8f0 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemFromTermRe } 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 *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go index 60ef8a7d2da..8a3195592b4 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemSetRequest } 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 *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder) { + return NewSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go index 87aac2cef6b..acbf1652c51 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemToTermRequ } 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 *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go index c52edb89943..8d0b04b0af1 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRelationItemRe func (m *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) { return NewSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go index e29de7a4cbd..3b6889e58cf 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRequestBuilderPost // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRequestBuilder } 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 *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRequestBuilder) { + return NewSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go index 2bdc532fdba..2247f55a33e 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenItemSetRequestBuilder) ToGe } 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 *SetsItemParentGroupSetsItemTermsItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemTermsItemChildrenItemSetRequestBuilder) { + return NewSetsItemParentGroupSetsItemTermsItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_children_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_children_request_builder.go index 169d7147e2e..76af05a71c1 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_children_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_children_request_builder.go @@ -46,8 +46,8 @@ type SetsItemParentGroupSetsItemTermsItemChildrenRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermId1String provides operations to manage the children property of the microsoft.graph.termStore.term entity. -func (m *SetsItemParentGroupSetsItemTermsItemChildrenRequestBuilder) ByTermId1String(termId1 string)(*SetsItemParentGroupSetsItemTermsItemChildrenTermItemRequestBuilder) { +// ByTermId1 provides operations to manage the children property of the microsoft.graph.termStore.term entity. +func (m *SetsItemParentGroupSetsItemTermsItemChildrenRequestBuilder) ByTermId1(termId1 string)(*SetsItemParentGroupSetsItemTermsItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenRequestBuilder) ToPostReque } 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 *SetsItemParentGroupSetsItemTermsItemChildrenRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemTermsItemChildrenRequestBuilder) { + return NewSetsItemParentGroupSetsItemTermsItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go index 4686b226e1e..3da6a5dd581 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go @@ -161,3 +161,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenTermItemRequestBuilder) 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 *SetsItemParentGroupSetsItemTermsItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemTermsItemChildrenTermItemRequestBuilder) { + return NewSetsItemParentGroupSetsItemTermsItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_relations_count_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_relations_count_request_builder.go index 2d10cba29b9..0392063e0bc 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_relations_count_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemRelationsCountRequestBuilder) ToGet } 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 *SetsItemParentGroupSetsItemTermsItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemTermsItemRelationsCountRequestBuilder) { + return NewSetsItemParentGroupSetsItemTermsItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go index 3ff2f7d1eb4..c98a423bb9b 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemRelationsItemFromTermRequestBuilder } 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 *SetsItemParentGroupSetsItemTermsItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemTermsItemRelationsItemFromTermRequestBuilder) { + return NewSetsItemParentGroupSetsItemTermsItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go index 821b825906b..8d7b969c520 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemRelationsItemSetRequestBuilder) ToG } 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 *SetsItemParentGroupSetsItemTermsItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemTermsItemRelationsItemSetRequestBuilder) { + return NewSetsItemParentGroupSetsItemTermsItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go index f1186ebb6a8..ad3e1d4935d 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemRelationsItemToTermRequestBuilder) } 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 *SetsItemParentGroupSetsItemTermsItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemTermsItemRelationsItemToTermRequestBuilder) { + return NewSetsItemParentGroupSetsItemTermsItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go index 73d66956303..01525e0667b 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemRelationsRelationItemRequestBuilder func (m *SetsItemParentGroupSetsItemTermsItemRelationsRelationItemRequestBuilder) ToTerm()(*SetsItemParentGroupSetsItemTermsItemRelationsItemToTermRequestBuilder) { return NewSetsItemParentGroupSetsItemTermsItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *SetsItemParentGroupSetsItemTermsItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemTermsItemRelationsRelationItemRequestBuilder) { + return NewSetsItemParentGroupSetsItemTermsItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_relations_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_relations_request_builder.go index 86a552eefce..879e1e4c810 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_relations_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_relations_request_builder.go @@ -46,8 +46,8 @@ type SetsItemParentGroupSetsItemTermsItemRelationsRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *SetsItemParentGroupSetsItemTermsItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*SetsItemParentGroupSetsItemTermsItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *SetsItemParentGroupSetsItemTermsItemRelationsRequestBuilder) ByRelationId(relationId string)(*SetsItemParentGroupSetsItemTermsItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemRelationsRequestBuilder) ToPostRequ } 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 *SetsItemParentGroupSetsItemTermsItemRelationsRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemTermsItemRelationsRequestBuilder) { + return NewSetsItemParentGroupSetsItemTermsItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_set_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_set_request_builder.go index 2b396d96b5d..3931e7ba51c 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_set_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemSetRequestBuilder) ToGetRequestInfo } 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 *SetsItemParentGroupSetsItemTermsItemSetRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemTermsItemSetRequestBuilder) { + return NewSetsItemParentGroupSetsItemTermsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_terms_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_request_builder.go index 2205f2df6c1..aa73187f4b8 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_request_builder.go @@ -46,8 +46,8 @@ type SetsItemParentGroupSetsItemTermsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermIdString provides operations to manage the terms property of the microsoft.graph.termStore.set entity. -func (m *SetsItemParentGroupSetsItemTermsRequestBuilder) ByTermIdString(termId string)(*SetsItemParentGroupSetsItemTermsTermItemRequestBuilder) { +// ByTermId provides operations to manage the terms property of the microsoft.graph.termStore.set entity. +func (m *SetsItemParentGroupSetsItemTermsRequestBuilder) ByTermId(termId string)(*SetsItemParentGroupSetsItemTermsTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SetsItemParentGroupSetsItemTermsRequestBuilder) ToPostRequestInformatio } 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 *SetsItemParentGroupSetsItemTermsRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemTermsRequestBuilder) { + return NewSetsItemParentGroupSetsItemTermsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_item_terms_term_item_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_term_item_request_builder.go index 5441c147e4f..9832389a631 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_term_item_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_term_item_request_builder.go @@ -174,3 +174,7 @@ func (m *SetsItemParentGroupSetsItemTermsTermItemRequestBuilder) ToPatchRequestI } 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 *SetsItemParentGroupSetsItemTermsTermItemRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsItemTermsTermItemRequestBuilder) { + return NewSetsItemParentGroupSetsItemTermsTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_request_builder.go b/termstore/sets_item_parent_group_sets_request_builder.go index 5c026ed519d..f689c0439b3 100644 --- a/termstore/sets_item_parent_group_sets_request_builder.go +++ b/termstore/sets_item_parent_group_sets_request_builder.go @@ -46,8 +46,8 @@ type SetsItemParentGroupSetsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySetId1String provides operations to manage the sets property of the microsoft.graph.termStore.group entity. -func (m *SetsItemParentGroupSetsRequestBuilder) BySetId1String(setId1 string)(*SetsItemParentGroupSetsSetItemRequestBuilder) { +// BySetId1 provides operations to manage the sets property of the microsoft.graph.termStore.group entity. +func (m *SetsItemParentGroupSetsRequestBuilder) BySetId1(setId1 string)(*SetsItemParentGroupSetsSetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *SetsItemParentGroupSetsRequestBuilder) ToPostRequestInformation(ctx con } 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 *SetsItemParentGroupSetsRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsRequestBuilder) { + return NewSetsItemParentGroupSetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_parent_group_sets_set_item_request_builder.go b/termstore/sets_item_parent_group_sets_set_item_request_builder.go index 55b9fb8cb52..2caa49e3eaa 100644 --- a/termstore/sets_item_parent_group_sets_set_item_request_builder.go +++ b/termstore/sets_item_parent_group_sets_set_item_request_builder.go @@ -165,3 +165,7 @@ func (m *SetsItemParentGroupSetsSetItemRequestBuilder) 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 *SetsItemParentGroupSetsSetItemRequestBuilder) WithUrl(rawUrl string)(*SetsItemParentGroupSetsSetItemRequestBuilder) { + return NewSetsItemParentGroupSetsSetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_relations_count_request_builder.go b/termstore/sets_item_relations_count_request_builder.go index c35c3843e18..0725e8bebd2 100644 --- a/termstore/sets_item_relations_count_request_builder.go +++ b/termstore/sets_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SetsItemRelationsCountRequestBuilder) ToGetRequestInformation(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 *SetsItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*SetsItemRelationsCountRequestBuilder) { + return NewSetsItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_relations_item_from_term_request_builder.go b/termstore/sets_item_relations_item_from_term_request_builder.go index 5c6bd7d2638..e43fd9af555 100644 --- a/termstore/sets_item_relations_item_from_term_request_builder.go +++ b/termstore/sets_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemRelationsItemFromTermRequestBuilder) ToGetRequestInformation(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 *SetsItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*SetsItemRelationsItemFromTermRequestBuilder) { + return NewSetsItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_relations_item_set_request_builder.go b/termstore/sets_item_relations_item_set_request_builder.go index 90a4360f1bc..79c2067b9e0 100644 --- a/termstore/sets_item_relations_item_set_request_builder.go +++ b/termstore/sets_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemRelationsItemSetRequestBuilder) ToGetRequestInformation(ctx con } 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 *SetsItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*SetsItemRelationsItemSetRequestBuilder) { + return NewSetsItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_relations_item_to_term_request_builder.go b/termstore/sets_item_relations_item_to_term_request_builder.go index e118e6f3b4d..f8683307a5b 100644 --- a/termstore/sets_item_relations_item_to_term_request_builder.go +++ b/termstore/sets_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemRelationsItemToTermRequestBuilder) ToGetRequestInformation(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 *SetsItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*SetsItemRelationsItemToTermRequestBuilder) { + return NewSetsItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_relations_relation_item_request_builder.go b/termstore/sets_item_relations_relation_item_request_builder.go index 02d017cc896..68884909931 100644 --- a/termstore/sets_item_relations_relation_item_request_builder.go +++ b/termstore/sets_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *SetsItemRelationsRelationItemRequestBuilder) ToPatchRequestInformation( func (m *SetsItemRelationsRelationItemRequestBuilder) ToTerm()(*SetsItemRelationsItemToTermRequestBuilder) { return NewSetsItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *SetsItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*SetsItemRelationsRelationItemRequestBuilder) { + return NewSetsItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_relations_request_builder.go b/termstore/sets_item_relations_request_builder.go index 3e898133fa4..0661d9cb75e 100644 --- a/termstore/sets_item_relations_request_builder.go +++ b/termstore/sets_item_relations_request_builder.go @@ -46,8 +46,8 @@ type SetsItemRelationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.set entity. -func (m *SetsItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*SetsItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.set entity. +func (m *SetsItemRelationsRequestBuilder) ByRelationId(relationId string)(*SetsItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *SetsItemRelationsRequestBuilder) ToPostRequestInformation(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 *SetsItemRelationsRequestBuilder) WithUrl(rawUrl string)(*SetsItemRelationsRequestBuilder) { + return NewSetsItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_terms_count_request_builder.go b/termstore/sets_item_terms_count_request_builder.go index c9894481d0f..d94c15cd219 100644 --- a/termstore/sets_item_terms_count_request_builder.go +++ b/termstore/sets_item_terms_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SetsItemTermsCountRequestBuilder) 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 *SetsItemTermsCountRequestBuilder) WithUrl(rawUrl string)(*SetsItemTermsCountRequestBuilder) { + return NewSetsItemTermsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_terms_item_children_count_request_builder.go b/termstore/sets_item_terms_item_children_count_request_builder.go index 095b8e770e8..1a5dd31efa1 100644 --- a/termstore/sets_item_terms_item_children_count_request_builder.go +++ b/termstore/sets_item_terms_item_children_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SetsItemTermsItemChildrenCountRequestBuilder) ToGetRequestInformation(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 *SetsItemTermsItemChildrenCountRequestBuilder) WithUrl(rawUrl string)(*SetsItemTermsItemChildrenCountRequestBuilder) { + return NewSetsItemTermsItemChildrenCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_terms_item_children_item_relations_count_request_builder.go b/termstore/sets_item_terms_item_children_item_relations_count_request_builder.go index 0be1a7ae81a..dab9def2240 100644 --- a/termstore/sets_item_terms_item_children_item_relations_count_request_builder.go +++ b/termstore/sets_item_terms_item_children_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SetsItemTermsItemChildrenItemRelationsCountRequestBuilder) ToGetRequest } 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 *SetsItemTermsItemChildrenItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*SetsItemTermsItemChildrenItemRelationsCountRequestBuilder) { + return NewSetsItemTermsItemChildrenItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_terms_item_children_item_relations_item_from_term_request_builder.go b/termstore/sets_item_terms_item_children_item_relations_item_from_term_request_builder.go index 15dca62bde6..2d3e90cabd5 100644 --- a/termstore/sets_item_terms_item_children_item_relations_item_from_term_request_builder.go +++ b/termstore/sets_item_terms_item_children_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder) ToGet } 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 *SetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*SetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder) { + return NewSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_terms_item_children_item_relations_item_set_request_builder.go b/termstore/sets_item_terms_item_children_item_relations_item_set_request_builder.go index 2f0597b550e..a4d49fc648d 100644 --- a/termstore/sets_item_terms_item_children_item_relations_item_set_request_builder.go +++ b/termstore/sets_item_terms_item_children_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder) ToGetReque } 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 *SetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*SetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder) { + return NewSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_terms_item_children_item_relations_item_to_term_request_builder.go b/termstore/sets_item_terms_item_children_item_relations_item_to_term_request_builder.go index a9d5d28a2ee..72620c740aa 100644 --- a/termstore/sets_item_terms_item_children_item_relations_item_to_term_request_builder.go +++ b/termstore/sets_item_terms_item_children_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) ToGetRe } 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 *SetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*SetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) { + return NewSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_terms_item_children_item_relations_relation_item_request_builder.go b/termstore/sets_item_terms_item_children_item_relations_relation_item_request_builder.go index 19677fbf819..5120a887d0f 100644 --- a/termstore/sets_item_terms_item_children_item_relations_relation_item_request_builder.go +++ b/termstore/sets_item_terms_item_children_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *SetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) ToPat func (m *SetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) ToTerm()(*SetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) { return NewSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *SetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*SetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { + return NewSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_terms_item_children_item_relations_request_builder.go b/termstore/sets_item_terms_item_children_item_relations_request_builder.go index 27f99e76b3f..322e277fe4b 100644 --- a/termstore/sets_item_terms_item_children_item_relations_request_builder.go +++ b/termstore/sets_item_terms_item_children_item_relations_request_builder.go @@ -46,8 +46,8 @@ type SetsItemTermsItemChildrenItemRelationsRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *SetsItemTermsItemChildrenItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*SetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *SetsItemTermsItemChildrenItemRelationsRequestBuilder) ByRelationId(relationId string)(*SetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SetsItemTermsItemChildrenItemRelationsRequestBuilder) ToPostRequestInfo } 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 *SetsItemTermsItemChildrenItemRelationsRequestBuilder) WithUrl(rawUrl string)(*SetsItemTermsItemChildrenItemRelationsRequestBuilder) { + return NewSetsItemTermsItemChildrenItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_terms_item_children_item_set_request_builder.go b/termstore/sets_item_terms_item_children_item_set_request_builder.go index 0f71352512e..49482acb2d3 100644 --- a/termstore/sets_item_terms_item_children_item_set_request_builder.go +++ b/termstore/sets_item_terms_item_children_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemTermsItemChildrenItemSetRequestBuilder) 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 *SetsItemTermsItemChildrenItemSetRequestBuilder) WithUrl(rawUrl string)(*SetsItemTermsItemChildrenItemSetRequestBuilder) { + return NewSetsItemTermsItemChildrenItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_terms_item_children_request_builder.go b/termstore/sets_item_terms_item_children_request_builder.go index 88458712626..4f187b2ace2 100644 --- a/termstore/sets_item_terms_item_children_request_builder.go +++ b/termstore/sets_item_terms_item_children_request_builder.go @@ -46,8 +46,8 @@ type SetsItemTermsItemChildrenRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermId1String provides operations to manage the children property of the microsoft.graph.termStore.term entity. -func (m *SetsItemTermsItemChildrenRequestBuilder) ByTermId1String(termId1 string)(*SetsItemTermsItemChildrenTermItemRequestBuilder) { +// ByTermId1 provides operations to manage the children property of the microsoft.graph.termStore.term entity. +func (m *SetsItemTermsItemChildrenRequestBuilder) ByTermId1(termId1 string)(*SetsItemTermsItemChildrenTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SetsItemTermsItemChildrenRequestBuilder) ToPostRequestInformation(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 *SetsItemTermsItemChildrenRequestBuilder) WithUrl(rawUrl string)(*SetsItemTermsItemChildrenRequestBuilder) { + return NewSetsItemTermsItemChildrenRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_terms_item_children_term_item_request_builder.go b/termstore/sets_item_terms_item_children_term_item_request_builder.go index df9bf8ad335..9dde84d8eda 100644 --- a/termstore/sets_item_terms_item_children_term_item_request_builder.go +++ b/termstore/sets_item_terms_item_children_term_item_request_builder.go @@ -161,3 +161,7 @@ func (m *SetsItemTermsItemChildrenTermItemRequestBuilder) ToPatchRequestInformat } 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 *SetsItemTermsItemChildrenTermItemRequestBuilder) WithUrl(rawUrl string)(*SetsItemTermsItemChildrenTermItemRequestBuilder) { + return NewSetsItemTermsItemChildrenTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_terms_item_relations_count_request_builder.go b/termstore/sets_item_terms_item_relations_count_request_builder.go index 76d32fb418a..8bbbfe5012b 100644 --- a/termstore/sets_item_terms_item_relations_count_request_builder.go +++ b/termstore/sets_item_terms_item_relations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *SetsItemTermsItemRelationsCountRequestBuilder) 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 *SetsItemTermsItemRelationsCountRequestBuilder) WithUrl(rawUrl string)(*SetsItemTermsItemRelationsCountRequestBuilder) { + return NewSetsItemTermsItemRelationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_terms_item_relations_item_from_term_request_builder.go b/termstore/sets_item_terms_item_relations_item_from_term_request_builder.go index f2c23daf082..f6c2c477101 100644 --- a/termstore/sets_item_terms_item_relations_item_from_term_request_builder.go +++ b/termstore/sets_item_terms_item_relations_item_from_term_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemTermsItemRelationsItemFromTermRequestBuilder) ToGetRequestInfor } 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 *SetsItemTermsItemRelationsItemFromTermRequestBuilder) WithUrl(rawUrl string)(*SetsItemTermsItemRelationsItemFromTermRequestBuilder) { + return NewSetsItemTermsItemRelationsItemFromTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_terms_item_relations_item_set_request_builder.go b/termstore/sets_item_terms_item_relations_item_set_request_builder.go index d1d329a74b2..69a8a0be57d 100644 --- a/termstore/sets_item_terms_item_relations_item_set_request_builder.go +++ b/termstore/sets_item_terms_item_relations_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemTermsItemRelationsItemSetRequestBuilder) 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 *SetsItemTermsItemRelationsItemSetRequestBuilder) WithUrl(rawUrl string)(*SetsItemTermsItemRelationsItemSetRequestBuilder) { + return NewSetsItemTermsItemRelationsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_terms_item_relations_item_to_term_request_builder.go b/termstore/sets_item_terms_item_relations_item_to_term_request_builder.go index d9450b99e8d..2fb1d2d6447 100644 --- a/termstore/sets_item_terms_item_relations_item_to_term_request_builder.go +++ b/termstore/sets_item_terms_item_relations_item_to_term_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemTermsItemRelationsItemToTermRequestBuilder) ToGetRequestInforma } 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 *SetsItemTermsItemRelationsItemToTermRequestBuilder) WithUrl(rawUrl string)(*SetsItemTermsItemRelationsItemToTermRequestBuilder) { + return NewSetsItemTermsItemRelationsItemToTermRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_terms_item_relations_relation_item_request_builder.go b/termstore/sets_item_terms_item_relations_relation_item_request_builder.go index 82dd10246cc..13b457dcda5 100644 --- a/termstore/sets_item_terms_item_relations_relation_item_request_builder.go +++ b/termstore/sets_item_terms_item_relations_relation_item_request_builder.go @@ -165,3 +165,7 @@ func (m *SetsItemTermsItemRelationsRelationItemRequestBuilder) ToPatchRequestInf func (m *SetsItemTermsItemRelationsRelationItemRequestBuilder) ToTerm()(*SetsItemTermsItemRelationsItemToTermRequestBuilder) { return NewSetsItemTermsItemRelationsItemToTermRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *SetsItemTermsItemRelationsRelationItemRequestBuilder) WithUrl(rawUrl string)(*SetsItemTermsItemRelationsRelationItemRequestBuilder) { + return NewSetsItemTermsItemRelationsRelationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_terms_item_relations_request_builder.go b/termstore/sets_item_terms_item_relations_request_builder.go index 151052c162f..1968eb55371 100644 --- a/termstore/sets_item_terms_item_relations_request_builder.go +++ b/termstore/sets_item_terms_item_relations_request_builder.go @@ -46,8 +46,8 @@ type SetsItemTermsItemRelationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByRelationIdString provides operations to manage the relations property of the microsoft.graph.termStore.term entity. -func (m *SetsItemTermsItemRelationsRequestBuilder) ByRelationIdString(relationId string)(*SetsItemTermsItemRelationsRelationItemRequestBuilder) { +// ByRelationId provides operations to manage the relations property of the microsoft.graph.termStore.term entity. +func (m *SetsItemTermsItemRelationsRequestBuilder) ByRelationId(relationId string)(*SetsItemTermsItemRelationsRelationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SetsItemTermsItemRelationsRequestBuilder) 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 *SetsItemTermsItemRelationsRequestBuilder) WithUrl(rawUrl string)(*SetsItemTermsItemRelationsRequestBuilder) { + return NewSetsItemTermsItemRelationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_terms_item_set_request_builder.go b/termstore/sets_item_terms_item_set_request_builder.go index 9b1ca570865..dd80fcbacf6 100644 --- a/termstore/sets_item_terms_item_set_request_builder.go +++ b/termstore/sets_item_terms_item_set_request_builder.go @@ -75,3 +75,7 @@ func (m *SetsItemTermsItemSetRequestBuilder) ToGetRequestInformation(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 *SetsItemTermsItemSetRequestBuilder) WithUrl(rawUrl string)(*SetsItemTermsItemSetRequestBuilder) { + return NewSetsItemTermsItemSetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_terms_request_builder.go b/termstore/sets_item_terms_request_builder.go index 0b087c21c41..57b086b009e 100644 --- a/termstore/sets_item_terms_request_builder.go +++ b/termstore/sets_item_terms_request_builder.go @@ -46,8 +46,8 @@ type SetsItemTermsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTermIdString provides operations to manage the terms property of the microsoft.graph.termStore.set entity. -func (m *SetsItemTermsRequestBuilder) ByTermIdString(termId string)(*SetsItemTermsTermItemRequestBuilder) { +// ByTermId provides operations to manage the terms property of the microsoft.graph.termStore.set entity. +func (m *SetsItemTermsRequestBuilder) ByTermId(termId string)(*SetsItemTermsTermItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SetsItemTermsRequestBuilder) 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 *SetsItemTermsRequestBuilder) WithUrl(rawUrl string)(*SetsItemTermsRequestBuilder) { + return NewSetsItemTermsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_item_terms_term_item_request_builder.go b/termstore/sets_item_terms_term_item_request_builder.go index 635bbc859f3..cc06f0a60d2 100644 --- a/termstore/sets_item_terms_term_item_request_builder.go +++ b/termstore/sets_item_terms_term_item_request_builder.go @@ -174,3 +174,7 @@ func (m *SetsItemTermsTermItemRequestBuilder) ToPatchRequestInformation(ctx cont } 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 *SetsItemTermsTermItemRequestBuilder) WithUrl(rawUrl string)(*SetsItemTermsTermItemRequestBuilder) { + return NewSetsItemTermsTermItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_request_builder.go b/termstore/sets_request_builder.go index 8546fafd0bf..bbccd39c4ff 100644 --- a/termstore/sets_request_builder.go +++ b/termstore/sets_request_builder.go @@ -46,8 +46,8 @@ type SetsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySetIdString provides operations to manage the sets property of the microsoft.graph.termStore.store entity. -func (m *SetsRequestBuilder) BySetIdString(setId string)(*SetsSetItemRequestBuilder) { +// BySetId provides operations to manage the sets property of the microsoft.graph.termStore.store entity. +func (m *SetsRequestBuilder) BySetId(setId string)(*SetsSetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *SetsRequestBuilder) ToPostRequestInformation(ctx context.Context, body } 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 *SetsRequestBuilder) WithUrl(rawUrl string)(*SetsRequestBuilder) { + return NewSetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/sets_set_item_request_builder.go b/termstore/sets_set_item_request_builder.go index fa2d1474b7d..db94a6abc78 100644 --- a/termstore/sets_set_item_request_builder.go +++ b/termstore/sets_set_item_request_builder.go @@ -178,3 +178,7 @@ func (m *SetsSetItemRequestBuilder) ToPatchRequestInformation(ctx context.Contex } 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 *SetsSetItemRequestBuilder) WithUrl(rawUrl string)(*SetsSetItemRequestBuilder) { + return NewSetsSetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/termstore/term_store_request_builder.go b/termstore/term_store_request_builder.go index c21428ee837..e251ab2dbb7 100644 --- a/termstore/term_store_request_builder.go +++ b/termstore/term_store_request_builder.go @@ -132,3 +132,7 @@ func (m *TermStoreRequestBuilder) ToPatchRequestInformation(ctx context.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 *TermStoreRequestBuilder) WithUrl(rawUrl string)(*TermStoreRequestBuilder) { + return NewTermStoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/threatsubmission/email_threat_submission_policies_count_request_builder.go b/threatsubmission/email_threat_submission_policies_count_request_builder.go index 22fbc38b774..e7eec7b8ed5 100644 --- a/threatsubmission/email_threat_submission_policies_count_request_builder.go +++ b/threatsubmission/email_threat_submission_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EmailThreatSubmissionPoliciesCountRequestBuilder) ToGetRequestInformati } 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 *EmailThreatSubmissionPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*EmailThreatSubmissionPoliciesCountRequestBuilder) { + return NewEmailThreatSubmissionPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/threatsubmission/email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go b/threatsubmission/email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go index 07ec11fa794..6a9441b7b71 100644 --- a/threatsubmission/email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go +++ b/threatsubmission/email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go @@ -156,3 +156,7 @@ func (m *EmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuil } 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 *EmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilder) WithUrl(rawUrl string)(*EmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilder) { + return NewEmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/threatsubmission/email_threat_submission_policies_request_builder.go b/threatsubmission/email_threat_submission_policies_request_builder.go index 6f19ecefd23..d789d64fe17 100644 --- a/threatsubmission/email_threat_submission_policies_request_builder.go +++ b/threatsubmission/email_threat_submission_policies_request_builder.go @@ -46,8 +46,8 @@ type EmailThreatSubmissionPoliciesRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEmailThreatSubmissionPolicyIdString provides operations to manage the emailThreatSubmissionPolicies property of the microsoft.graph.security.threatSubmissionRoot entity. -func (m *EmailThreatSubmissionPoliciesRequestBuilder) ByEmailThreatSubmissionPolicyIdString(emailThreatSubmissionPolicyId string)(*EmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilder) { +// ByEmailThreatSubmissionPolicyId provides operations to manage the emailThreatSubmissionPolicies property of the microsoft.graph.security.threatSubmissionRoot entity. +func (m *EmailThreatSubmissionPoliciesRequestBuilder) ByEmailThreatSubmissionPolicyId(emailThreatSubmissionPolicyId string)(*EmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *EmailThreatSubmissionPoliciesRequestBuilder) ToPostRequestInformation(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 *EmailThreatSubmissionPoliciesRequestBuilder) WithUrl(rawUrl string)(*EmailThreatSubmissionPoliciesRequestBuilder) { + return NewEmailThreatSubmissionPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/threatsubmission/email_threats_count_request_builder.go b/threatsubmission/email_threats_count_request_builder.go index f02221e5263..f09f81362f1 100644 --- a/threatsubmission/email_threats_count_request_builder.go +++ b/threatsubmission/email_threats_count_request_builder.go @@ -74,3 +74,7 @@ func (m *EmailThreatsCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *EmailThreatsCountRequestBuilder) WithUrl(rawUrl string)(*EmailThreatsCountRequestBuilder) { + return NewEmailThreatsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/threatsubmission/email_threats_email_threat_submission_item_request_builder.go b/threatsubmission/email_threats_email_threat_submission_item_request_builder.go index d6e68fb9e45..58d03ea40fb 100644 --- a/threatsubmission/email_threats_email_threat_submission_item_request_builder.go +++ b/threatsubmission/email_threats_email_threat_submission_item_request_builder.go @@ -156,3 +156,7 @@ func (m *EmailThreatsEmailThreatSubmissionItemRequestBuilder) 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 *EmailThreatsEmailThreatSubmissionItemRequestBuilder) WithUrl(rawUrl string)(*EmailThreatsEmailThreatSubmissionItemRequestBuilder) { + return NewEmailThreatsEmailThreatSubmissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/threatsubmission/email_threats_request_builder.go b/threatsubmission/email_threats_request_builder.go index 8500c8e7f65..c4ae6a7dd65 100644 --- a/threatsubmission/email_threats_request_builder.go +++ b/threatsubmission/email_threats_request_builder.go @@ -46,8 +46,8 @@ type EmailThreatsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEmailThreatSubmissionIdString provides operations to manage the emailThreats property of the microsoft.graph.security.threatSubmissionRoot entity. -func (m *EmailThreatsRequestBuilder) ByEmailThreatSubmissionIdString(emailThreatSubmissionId string)(*EmailThreatsEmailThreatSubmissionItemRequestBuilder) { +// ByEmailThreatSubmissionId provides operations to manage the emailThreats property of the microsoft.graph.security.threatSubmissionRoot entity. +func (m *EmailThreatsRequestBuilder) ByEmailThreatSubmissionId(emailThreatSubmissionId string)(*EmailThreatsEmailThreatSubmissionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *EmailThreatsRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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 *EmailThreatsRequestBuilder) WithUrl(rawUrl string)(*EmailThreatsRequestBuilder) { + return NewEmailThreatsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/threatsubmission/file_threats_count_request_builder.go b/threatsubmission/file_threats_count_request_builder.go index 4b7d6b4b400..e8ed6d6a7a7 100644 --- a/threatsubmission/file_threats_count_request_builder.go +++ b/threatsubmission/file_threats_count_request_builder.go @@ -74,3 +74,7 @@ func (m *FileThreatsCountRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *FileThreatsCountRequestBuilder) WithUrl(rawUrl string)(*FileThreatsCountRequestBuilder) { + return NewFileThreatsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/threatsubmission/file_threats_file_threat_submission_item_request_builder.go b/threatsubmission/file_threats_file_threat_submission_item_request_builder.go index bcd87c9577e..11f96c145fa 100644 --- a/threatsubmission/file_threats_file_threat_submission_item_request_builder.go +++ b/threatsubmission/file_threats_file_threat_submission_item_request_builder.go @@ -156,3 +156,7 @@ func (m *FileThreatsFileThreatSubmissionItemRequestBuilder) ToPatchRequestInform } 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 *FileThreatsFileThreatSubmissionItemRequestBuilder) WithUrl(rawUrl string)(*FileThreatsFileThreatSubmissionItemRequestBuilder) { + return NewFileThreatsFileThreatSubmissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/threatsubmission/file_threats_request_builder.go b/threatsubmission/file_threats_request_builder.go index 215462168ab..6485087a604 100644 --- a/threatsubmission/file_threats_request_builder.go +++ b/threatsubmission/file_threats_request_builder.go @@ -46,8 +46,8 @@ type FileThreatsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByFileThreatSubmissionIdString provides operations to manage the fileThreats property of the microsoft.graph.security.threatSubmissionRoot entity. -func (m *FileThreatsRequestBuilder) ByFileThreatSubmissionIdString(fileThreatSubmissionId string)(*FileThreatsFileThreatSubmissionItemRequestBuilder) { +// ByFileThreatSubmissionId provides operations to manage the fileThreats property of the microsoft.graph.security.threatSubmissionRoot entity. +func (m *FileThreatsRequestBuilder) ByFileThreatSubmissionId(fileThreatSubmissionId string)(*FileThreatsFileThreatSubmissionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *FileThreatsRequestBuilder) ToPostRequestInformation(ctx context.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 *FileThreatsRequestBuilder) WithUrl(rawUrl string)(*FileThreatsRequestBuilder) { + return NewFileThreatsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/threatsubmission/threat_submission_request_builder.go b/threatsubmission/threat_submission_request_builder.go index bf21fa605ae..3fec45677d1 100644 --- a/threatsubmission/threat_submission_request_builder.go +++ b/threatsubmission/threat_submission_request_builder.go @@ -134,3 +134,7 @@ func (m *ThreatSubmissionRequestBuilder) ToPatchRequestInformation(ctx context.C func (m *ThreatSubmissionRequestBuilder) UrlThreats()(*UrlThreatsRequestBuilder) { return NewUrlThreatsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ThreatSubmissionRequestBuilder) WithUrl(rawUrl string)(*ThreatSubmissionRequestBuilder) { + return NewThreatSubmissionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/threatsubmission/url_threats_count_request_builder.go b/threatsubmission/url_threats_count_request_builder.go index 9c463b69b2e..c26c3097536 100644 --- a/threatsubmission/url_threats_count_request_builder.go +++ b/threatsubmission/url_threats_count_request_builder.go @@ -74,3 +74,7 @@ func (m *UrlThreatsCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *UrlThreatsCountRequestBuilder) WithUrl(rawUrl string)(*UrlThreatsCountRequestBuilder) { + return NewUrlThreatsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/threatsubmission/url_threats_request_builder.go b/threatsubmission/url_threats_request_builder.go index 9184b327906..ddd75b6f80d 100644 --- a/threatsubmission/url_threats_request_builder.go +++ b/threatsubmission/url_threats_request_builder.go @@ -46,8 +46,8 @@ type UrlThreatsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUrlThreatSubmissionIdString provides operations to manage the urlThreats property of the microsoft.graph.security.threatSubmissionRoot entity. -func (m *UrlThreatsRequestBuilder) ByUrlThreatSubmissionIdString(urlThreatSubmissionId string)(*UrlThreatsUrlThreatSubmissionItemRequestBuilder) { +// ByUrlThreatSubmissionId provides operations to manage the urlThreats property of the microsoft.graph.security.threatSubmissionRoot entity. +func (m *UrlThreatsRequestBuilder) ByUrlThreatSubmissionId(urlThreatSubmissionId string)(*UrlThreatsUrlThreatSubmissionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *UrlThreatsRequestBuilder) ToPostRequestInformation(ctx context.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 *UrlThreatsRequestBuilder) WithUrl(rawUrl string)(*UrlThreatsRequestBuilder) { + return NewUrlThreatsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/threatsubmission/url_threats_url_threat_submission_item_request_builder.go b/threatsubmission/url_threats_url_threat_submission_item_request_builder.go index 81393dc5144..3ca754b8b65 100644 --- a/threatsubmission/url_threats_url_threat_submission_item_request_builder.go +++ b/threatsubmission/url_threats_url_threat_submission_item_request_builder.go @@ -156,3 +156,7 @@ func (m *UrlThreatsUrlThreatSubmissionItemRequestBuilder) ToPatchRequestInformat } 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 *UrlThreatsUrlThreatSubmissionItemRequestBuilder) WithUrl(rawUrl string)(*UrlThreatsUrlThreatSubmissionItemRequestBuilder) { + return NewUrlThreatsUrlThreatSubmissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/trustframework/key_sets_count_request_builder.go b/trustframework/key_sets_count_request_builder.go index b83bdd98d54..2293a78aa3b 100644 --- a/trustframework/key_sets_count_request_builder.go +++ b/trustframework/key_sets_count_request_builder.go @@ -74,3 +74,7 @@ func (m *KeySetsCountRequestBuilder) ToGetRequestInformation(ctx context.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 *KeySetsCountRequestBuilder) WithUrl(rawUrl string)(*KeySetsCountRequestBuilder) { + return NewKeySetsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/trustframework/key_sets_item_generate_key_request_builder.go b/trustframework/key_sets_item_generate_key_request_builder.go index dfae72db22b..32e8f23fba0 100644 --- a/trustframework/key_sets_item_generate_key_request_builder.go +++ b/trustframework/key_sets_item_generate_key_request_builder.go @@ -70,3 +70,7 @@ func (m *KeySetsItemGenerateKeyRequestBuilder) ToPostRequestInformation(ctx cont } 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 *KeySetsItemGenerateKeyRequestBuilder) WithUrl(rawUrl string)(*KeySetsItemGenerateKeyRequestBuilder) { + return NewKeySetsItemGenerateKeyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/trustframework/key_sets_item_get_active_key_request_builder.go b/trustframework/key_sets_item_get_active_key_request_builder.go index 55c15b9501e..8beaf870d4e 100644 --- a/trustframework/key_sets_item_get_active_key_request_builder.go +++ b/trustframework/key_sets_item_get_active_key_request_builder.go @@ -63,3 +63,7 @@ func (m *KeySetsItemGetActiveKeyRequestBuilder) ToGetRequestInformation(ctx cont } 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 *KeySetsItemGetActiveKeyRequestBuilder) WithUrl(rawUrl string)(*KeySetsItemGetActiveKeyRequestBuilder) { + return NewKeySetsItemGetActiveKeyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/trustframework/key_sets_item_upload_certificate_request_builder.go b/trustframework/key_sets_item_upload_certificate_request_builder.go index 986a31efaf5..472009d1afc 100644 --- a/trustframework/key_sets_item_upload_certificate_request_builder.go +++ b/trustframework/key_sets_item_upload_certificate_request_builder.go @@ -70,3 +70,7 @@ func (m *KeySetsItemUploadCertificateRequestBuilder) 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 *KeySetsItemUploadCertificateRequestBuilder) WithUrl(rawUrl string)(*KeySetsItemUploadCertificateRequestBuilder) { + return NewKeySetsItemUploadCertificateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/trustframework/key_sets_item_upload_pkcs12_request_builder.go b/trustframework/key_sets_item_upload_pkcs12_request_builder.go index a734b0ec0dd..5175a98dd56 100644 --- a/trustframework/key_sets_item_upload_pkcs12_request_builder.go +++ b/trustframework/key_sets_item_upload_pkcs12_request_builder.go @@ -70,3 +70,7 @@ func (m *KeySetsItemUploadPkcs12RequestBuilder) ToPostRequestInformation(ctx con } 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 *KeySetsItemUploadPkcs12RequestBuilder) WithUrl(rawUrl string)(*KeySetsItemUploadPkcs12RequestBuilder) { + return NewKeySetsItemUploadPkcs12RequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/trustframework/key_sets_item_upload_secret_request_builder.go b/trustframework/key_sets_item_upload_secret_request_builder.go index 9bb0708b781..9b17f39e7d2 100644 --- a/trustframework/key_sets_item_upload_secret_request_builder.go +++ b/trustframework/key_sets_item_upload_secret_request_builder.go @@ -70,3 +70,7 @@ func (m *KeySetsItemUploadSecretRequestBuilder) ToPostRequestInformation(ctx con } 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 *KeySetsItemUploadSecretRequestBuilder) WithUrl(rawUrl string)(*KeySetsItemUploadSecretRequestBuilder) { + return NewKeySetsItemUploadSecretRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/trustframework/key_sets_request_builder.go b/trustframework/key_sets_request_builder.go index 68c69d2e421..4bec1ca0531 100644 --- a/trustframework/key_sets_request_builder.go +++ b/trustframework/key_sets_request_builder.go @@ -46,8 +46,8 @@ type KeySetsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTrustFrameworkKeySetIdString provides operations to manage the keySets property of the microsoft.graph.trustFramework entity. -func (m *KeySetsRequestBuilder) ByTrustFrameworkKeySetIdString(trustFrameworkKeySetId string)(*KeySetsTrustFrameworkKeySetItemRequestBuilder) { +// ByTrustFrameworkKeySetId provides operations to manage the keySets property of the microsoft.graph.trustFramework entity. +func (m *KeySetsRequestBuilder) ByTrustFrameworkKeySetId(trustFrameworkKeySetId string)(*KeySetsTrustFrameworkKeySetItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *KeySetsRequestBuilder) ToPostRequestInformation(ctx context.Context, bo } 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 *KeySetsRequestBuilder) WithUrl(rawUrl string)(*KeySetsRequestBuilder) { + return NewKeySetsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/trustframework/key_sets_trust_framework_key_set_item_request_builder.go b/trustframework/key_sets_trust_framework_key_set_item_request_builder.go index 32f595e5d66..4262d37333c 100644 --- a/trustframework/key_sets_trust_framework_key_set_item_request_builder.go +++ b/trustframework/key_sets_trust_framework_key_set_item_request_builder.go @@ -182,3 +182,7 @@ func (m *KeySetsTrustFrameworkKeySetItemRequestBuilder) UploadPkcs12()(*KeySetsI func (m *KeySetsTrustFrameworkKeySetItemRequestBuilder) UploadSecret()(*KeySetsItemUploadSecretRequestBuilder) { return NewKeySetsItemUploadSecretRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *KeySetsTrustFrameworkKeySetItemRequestBuilder) WithUrl(rawUrl string)(*KeySetsTrustFrameworkKeySetItemRequestBuilder) { + return NewKeySetsTrustFrameworkKeySetItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/trustframework/policies_count_request_builder.go b/trustframework/policies_count_request_builder.go index 829d5158f1a..d59729e7f53 100644 --- a/trustframework/policies_count_request_builder.go +++ b/trustframework/policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *PoliciesCountRequestBuilder) ToGetRequestInformation(ctx context.Contex } 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 *PoliciesCountRequestBuilder) WithUrl(rawUrl string)(*PoliciesCountRequestBuilder) { + return NewPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/trustframework/policies_item_value_content_request_builder.go b/trustframework/policies_item_value_content_request_builder.go index 39604e48ccc..dc0beae352a 100644 --- a/trustframework/policies_item_value_content_request_builder.go +++ b/trustframework/policies_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *PoliciesItemValueContentRequestBuilder) ToPutRequestInformation(ctx con } 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 *PoliciesItemValueContentRequestBuilder) WithUrl(rawUrl string)(*PoliciesItemValueContentRequestBuilder) { + return NewPoliciesItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/trustframework/policies_request_builder.go b/trustframework/policies_request_builder.go index d33246659e0..e73ff0f2d7a 100644 --- a/trustframework/policies_request_builder.go +++ b/trustframework/policies_request_builder.go @@ -46,8 +46,8 @@ type PoliciesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTrustFrameworkPolicyIdString provides operations to manage the policies property of the microsoft.graph.trustFramework entity. -func (m *PoliciesRequestBuilder) ByTrustFrameworkPolicyIdString(trustFrameworkPolicyId string)(*PoliciesTrustFrameworkPolicyItemRequestBuilder) { +// ByTrustFrameworkPolicyId provides operations to manage the policies property of the microsoft.graph.trustFramework entity. +func (m *PoliciesRequestBuilder) ByTrustFrameworkPolicyId(trustFrameworkPolicyId string)(*PoliciesTrustFrameworkPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *PoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *PoliciesRequestBuilder) WithUrl(rawUrl string)(*PoliciesRequestBuilder) { + return NewPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/trustframework/policies_trust_framework_policy_item_request_builder.go b/trustframework/policies_trust_framework_policy_item_request_builder.go index cdd03f82232..a314e0111fb 100644 --- a/trustframework/policies_trust_framework_policy_item_request_builder.go +++ b/trustframework/policies_trust_framework_policy_item_request_builder.go @@ -160,3 +160,7 @@ func (m *PoliciesTrustFrameworkPolicyItemRequestBuilder) ToPatchRequestInformati } 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 *PoliciesTrustFrameworkPolicyItemRequestBuilder) WithUrl(rawUrl string)(*PoliciesTrustFrameworkPolicyItemRequestBuilder) { + return NewPoliciesTrustFrameworkPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/trustframework/trust_framework_request_builder.go b/trustframework/trust_framework_request_builder.go index ee2dbddf29d..ea0b6d69585 100644 --- a/trustframework/trust_framework_request_builder.go +++ b/trustframework/trust_framework_request_builder.go @@ -126,3 +126,7 @@ func (m *TrustFrameworkRequestBuilder) ToPatchRequestInformation(ctx context.Con } 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 *TrustFrameworkRequestBuilder) WithUrl(rawUrl string)(*TrustFrameworkRequestBuilder) { + return NewTrustFrameworkRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/count_request_builder.go b/users/count_request_builder.go index b26097d24ef..8482a489330 100644 --- a/users/count_request_builder.go +++ b/users/count_request_builder.go @@ -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); +} diff --git a/users/delta_request_builder.go b/users/delta_request_builder.go index aeb2ccf9846..d97d164d655 100644 --- a/users/delta_request_builder.go +++ b/users/delta_request_builder.go @@ -84,3 +84,7 @@ func (m *DeltaRequestBuilder) 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 *DeltaRequestBuilder) WithUrl(rawUrl string)(*DeltaRequestBuilder) { + return NewDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/get_by_ids_request_builder.go b/users/get_by_ids_request_builder.go index 28c42b34686..1d03b0795bb 100644 --- a/users/get_by_ids_request_builder.go +++ b/users/get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b } 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 *GetByIdsRequestBuilder) WithUrl(rawUrl string)(*GetByIdsRequestBuilder) { + return NewGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/get_managed_app_blocked_users_request_builder.go b/users/get_managed_app_blocked_users_request_builder.go index 9e5b529ab88..f59ecf77814 100644 --- a/users/get_managed_app_blocked_users_request_builder.go +++ b/users/get_managed_app_blocked_users_request_builder.go @@ -80,3 +80,7 @@ func (m *GetManagedAppBlockedUsersRequestBuilder) ToGetRequestInformation(ctx co } 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 *GetManagedAppBlockedUsersRequestBuilder) WithUrl(rawUrl string)(*GetManagedAppBlockedUsersRequestBuilder) { + return NewGetManagedAppBlockedUsersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/get_user_owned_objects_request_builder.go b/users/get_user_owned_objects_request_builder.go index bea2beac538..f3b84994662 100644 --- a/users/get_user_owned_objects_request_builder.go +++ b/users/get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) 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 *GetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*GetUserOwnedObjectsRequestBuilder) { + return NewGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_activities_count_request_builder.go b/users/item_activities_count_request_builder.go index 567c6b310f9..733778451c5 100644 --- a/users/item_activities_count_request_builder.go +++ b/users/item_activities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemActivitiesCountRequestBuilder) ToGetRequestInformation(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 *ItemActivitiesCountRequestBuilder) WithUrl(rawUrl string)(*ItemActivitiesCountRequestBuilder) { + return NewItemActivitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_activities_item_history_items_activity_history_item_item_request_builder.go b/users/item_activities_item_history_items_activity_history_item_item_request_builder.go index 4a8b13bf4b3..9afa9fc1dc9 100644 --- a/users/item_activities_item_history_items_activity_history_item_item_request_builder.go +++ b/users/item_activities_item_history_items_activity_history_item_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemActivitiesItemHistoryItemsActivityHistoryItemItemRequestBuilder) To } 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 *ItemActivitiesItemHistoryItemsActivityHistoryItemItemRequestBuilder) WithUrl(rawUrl string)(*ItemActivitiesItemHistoryItemsActivityHistoryItemItemRequestBuilder) { + return NewItemActivitiesItemHistoryItemsActivityHistoryItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_activities_item_history_items_count_request_builder.go b/users/item_activities_item_history_items_count_request_builder.go index 447f91924f8..85a755cdab2 100644 --- a/users/item_activities_item_history_items_count_request_builder.go +++ b/users/item_activities_item_history_items_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemActivitiesItemHistoryItemsCountRequestBuilder) ToGetRequestInformat } 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 *ItemActivitiesItemHistoryItemsCountRequestBuilder) WithUrl(rawUrl string)(*ItemActivitiesItemHistoryItemsCountRequestBuilder) { + return NewItemActivitiesItemHistoryItemsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_activities_item_history_items_item_activity_request_builder.go b/users/item_activities_item_history_items_item_activity_request_builder.go index 8774a2dec27..765d53706f5 100644 --- a/users/item_activities_item_history_items_item_activity_request_builder.go +++ b/users/item_activities_item_history_items_item_activity_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemActivitiesItemHistoryItemsItemActivityRequestBuilder) ToGetRequestI } 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 *ItemActivitiesItemHistoryItemsItemActivityRequestBuilder) WithUrl(rawUrl string)(*ItemActivitiesItemHistoryItemsItemActivityRequestBuilder) { + return NewItemActivitiesItemHistoryItemsItemActivityRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_activities_item_history_items_request_builder.go b/users/item_activities_item_history_items_request_builder.go index 9d1d3d2ebc8..980eb540d50 100644 --- a/users/item_activities_item_history_items_request_builder.go +++ b/users/item_activities_item_history_items_request_builder.go @@ -46,8 +46,8 @@ type ItemActivitiesItemHistoryItemsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByActivityHistoryItemIdString provides operations to manage the historyItems property of the microsoft.graph.userActivity entity. -func (m *ItemActivitiesItemHistoryItemsRequestBuilder) ByActivityHistoryItemIdString(activityHistoryItemId string)(*ItemActivitiesItemHistoryItemsActivityHistoryItemItemRequestBuilder) { +// ByActivityHistoryItemId provides operations to manage the historyItems property of the microsoft.graph.userActivity entity. +func (m *ItemActivitiesItemHistoryItemsRequestBuilder) ByActivityHistoryItemId(activityHistoryItemId string)(*ItemActivitiesItemHistoryItemsActivityHistoryItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemActivitiesItemHistoryItemsRequestBuilder) 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 *ItemActivitiesItemHistoryItemsRequestBuilder) WithUrl(rawUrl string)(*ItemActivitiesItemHistoryItemsRequestBuilder) { + return NewItemActivitiesItemHistoryItemsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_activities_recent_request_builder.go b/users/item_activities_recent_request_builder.go index bd22ccd2e55..58c6897a476 100644 --- a/users/item_activities_recent_request_builder.go +++ b/users/item_activities_recent_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemActivitiesRecentRequestBuilder) ToGetRequestInformation(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 *ItemActivitiesRecentRequestBuilder) WithUrl(rawUrl string)(*ItemActivitiesRecentRequestBuilder) { + return NewItemActivitiesRecentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_activities_request_builder.go b/users/item_activities_request_builder.go index 5191b522619..0bdab7d0f0d 100644 --- a/users/item_activities_request_builder.go +++ b/users/item_activities_request_builder.go @@ -46,8 +46,8 @@ type ItemActivitiesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserActivityIdString provides operations to manage the activities property of the microsoft.graph.user entity. -func (m *ItemActivitiesRequestBuilder) ByUserActivityIdString(userActivityId string)(*ItemActivitiesUserActivityItemRequestBuilder) { +// ByUserActivityId provides operations to manage the activities property of the microsoft.graph.user entity. +func (m *ItemActivitiesRequestBuilder) ByUserActivityId(userActivityId string)(*ItemActivitiesUserActivityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemActivitiesRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *ItemActivitiesRequestBuilder) WithUrl(rawUrl string)(*ItemActivitiesRequestBuilder) { + return NewItemActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_activities_user_activity_item_request_builder.go b/users/item_activities_user_activity_item_request_builder.go index 87007affff7..5271f9af5b1 100644 --- a/users/item_activities_user_activity_item_request_builder.go +++ b/users/item_activities_user_activity_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemActivitiesUserActivityItemRequestBuilder) 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 *ItemActivitiesUserActivityItemRequestBuilder) WithUrl(rawUrl string)(*ItemActivitiesUserActivityItemRequestBuilder) { + return NewItemActivitiesUserActivityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_agreement_acceptances_agreement_acceptance_item_request_builder.go b/users/item_agreement_acceptances_agreement_acceptance_item_request_builder.go index 8f0a5cd381a..ca04f3a13de 100644 --- a/users/item_agreement_acceptances_agreement_acceptance_item_request_builder.go +++ b/users/item_agreement_acceptances_agreement_acceptance_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemAgreementAcceptancesAgreementAcceptanceItemRequestBuilder) ToGetReq } 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 *ItemAgreementAcceptancesAgreementAcceptanceItemRequestBuilder) WithUrl(rawUrl string)(*ItemAgreementAcceptancesAgreementAcceptanceItemRequestBuilder) { + return NewItemAgreementAcceptancesAgreementAcceptanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_agreement_acceptances_count_request_builder.go b/users/item_agreement_acceptances_count_request_builder.go index 8a9265e0d68..4e63d10f4db 100644 --- a/users/item_agreement_acceptances_count_request_builder.go +++ b/users/item_agreement_acceptances_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAgreementAcceptancesCountRequestBuilder) ToGetRequestInformation(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 *ItemAgreementAcceptancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemAgreementAcceptancesCountRequestBuilder) { + return NewItemAgreementAcceptancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_agreement_acceptances_request_builder.go b/users/item_agreement_acceptances_request_builder.go index 4d3460441b4..418d8296beb 100644 --- a/users/item_agreement_acceptances_request_builder.go +++ b/users/item_agreement_acceptances_request_builder.go @@ -39,8 +39,8 @@ type ItemAgreementAcceptancesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemAgreementAcceptancesRequestBuilderGetQueryParameters } -// ByAgreementAcceptanceIdString provides operations to manage the agreementAcceptances property of the microsoft.graph.user entity. -func (m *ItemAgreementAcceptancesRequestBuilder) ByAgreementAcceptanceIdString(agreementAcceptanceId string)(*ItemAgreementAcceptancesAgreementAcceptanceItemRequestBuilder) { +// ByAgreementAcceptanceId provides operations to manage the agreementAcceptances property of the microsoft.graph.user entity. +func (m *ItemAgreementAcceptancesRequestBuilder) ByAgreementAcceptanceId(agreementAcceptanceId string)(*ItemAgreementAcceptancesAgreementAcceptanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemAgreementAcceptancesRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemAgreementAcceptancesRequestBuilder) WithUrl(rawUrl string)(*ItemAgreementAcceptancesRequestBuilder) { + return NewItemAgreementAcceptancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_analytics_activity_statistics_activity_statistics_item_request_builder.go b/users/item_analytics_activity_statistics_activity_statistics_item_request_builder.go index 3b8b1da1d0f..34db2dda3ec 100644 --- a/users/item_analytics_activity_statistics_activity_statistics_item_request_builder.go +++ b/users/item_analytics_activity_statistics_activity_statistics_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemAnalyticsActivityStatisticsActivityStatisticsItemRequestBuilder) To } 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 *ItemAnalyticsActivityStatisticsActivityStatisticsItemRequestBuilder) WithUrl(rawUrl string)(*ItemAnalyticsActivityStatisticsActivityStatisticsItemRequestBuilder) { + return NewItemAnalyticsActivityStatisticsActivityStatisticsItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_analytics_activity_statistics_count_request_builder.go b/users/item_analytics_activity_statistics_count_request_builder.go index d69160dfeb0..02dde0ebed6 100644 --- a/users/item_analytics_activity_statistics_count_request_builder.go +++ b/users/item_analytics_activity_statistics_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAnalyticsActivityStatisticsCountRequestBuilder) ToGetRequestInforma } 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 *ItemAnalyticsActivityStatisticsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAnalyticsActivityStatisticsCountRequestBuilder) { + return NewItemAnalyticsActivityStatisticsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_analytics_activity_statistics_request_builder.go b/users/item_analytics_activity_statistics_request_builder.go index 7e64c2766cd..33e279214a6 100644 --- a/users/item_analytics_activity_statistics_request_builder.go +++ b/users/item_analytics_activity_statistics_request_builder.go @@ -46,8 +46,8 @@ type ItemAnalyticsActivityStatisticsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByActivityStatisticsIdString provides operations to manage the activityStatistics property of the microsoft.graph.userAnalytics entity. -func (m *ItemAnalyticsActivityStatisticsRequestBuilder) ByActivityStatisticsIdString(activityStatisticsId string)(*ItemAnalyticsActivityStatisticsActivityStatisticsItemRequestBuilder) { +// ByActivityStatisticsId provides operations to manage the activityStatistics property of the microsoft.graph.userAnalytics entity. +func (m *ItemAnalyticsActivityStatisticsRequestBuilder) ByActivityStatisticsId(activityStatisticsId string)(*ItemAnalyticsActivityStatisticsActivityStatisticsItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemAnalyticsActivityStatisticsRequestBuilder) 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 *ItemAnalyticsActivityStatisticsRequestBuilder) WithUrl(rawUrl string)(*ItemAnalyticsActivityStatisticsRequestBuilder) { + return NewItemAnalyticsActivityStatisticsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_analytics_request_builder.go b/users/item_analytics_request_builder.go index 41d7015c448..4e9a5e1cc8c 100644 --- a/users/item_analytics_request_builder.go +++ b/users/item_analytics_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemAnalyticsRequestBuilder) ToPatchRequestInformation(ctx context.Cont } 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 *ItemAnalyticsRequestBuilder) WithUrl(rawUrl string)(*ItemAnalyticsRequestBuilder) { + return NewItemAnalyticsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_app_consent_requests_for_approval_app_consent_request_item_request_builder.go b/users/item_app_consent_requests_for_approval_app_consent_request_item_request_builder.go index d511ba48a06..b8a2f15a677 100644 --- a/users/item_app_consent_requests_for_approval_app_consent_request_item_request_builder.go +++ b/users/item_app_consent_requests_for_approval_app_consent_request_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemAppConsentRequestsForApprovalAppConsentRequestItemRequestBuilder) T func (m *ItemAppConsentRequestsForApprovalAppConsentRequestItemRequestBuilder) UserConsentRequests()(*ItemAppConsentRequestsForApprovalItemUserConsentRequestsRequestBuilder) { return NewItemAppConsentRequestsForApprovalItemUserConsentRequestsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemAppConsentRequestsForApprovalAppConsentRequestItemRequestBuilder) WithUrl(rawUrl string)(*ItemAppConsentRequestsForApprovalAppConsentRequestItemRequestBuilder) { + return NewItemAppConsentRequestsForApprovalAppConsentRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_app_consent_requests_for_approval_count_request_builder.go b/users/item_app_consent_requests_for_approval_count_request_builder.go index 6479b6b34a7..dd58f0a472a 100644 --- a/users/item_app_consent_requests_for_approval_count_request_builder.go +++ b/users/item_app_consent_requests_for_approval_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAppConsentRequestsForApprovalCountRequestBuilder) ToGetRequestInfor } 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 *ItemAppConsentRequestsForApprovalCountRequestBuilder) WithUrl(rawUrl string)(*ItemAppConsentRequestsForApprovalCountRequestBuilder) { + return NewItemAppConsentRequestsForApprovalCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_app_consent_requests_for_approval_filter_by_current_user_with_on_request_builder.go b/users/item_app_consent_requests_for_approval_filter_by_current_user_with_on_request_builder.go index 104755419cf..82f0a765359 100644 --- a/users/item_app_consent_requests_for_approval_filter_by_current_user_with_on_request_builder.go +++ b/users/item_app_consent_requests_for_approval_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnRequestBuilde } 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 *ItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*ItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnRequestBuilder) { + return NewItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_app_consent_requests_for_approval_item_user_consent_requests_count_request_builder.go b/users/item_app_consent_requests_for_approval_item_user_consent_requests_count_request_builder.go index e61ffa14053..09284216719 100644 --- a/users/item_app_consent_requests_for_approval_item_user_consent_requests_count_request_builder.go +++ b/users/item_app_consent_requests_for_approval_item_user_consent_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsCountRequestBui } 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 *ItemAppConsentRequestsForApprovalItemUserConsentRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAppConsentRequestsForApprovalItemUserConsentRequestsCountRequestBuilder) { + return NewItemAppConsentRequestsForApprovalItemUserConsentRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_app_consent_requests_for_approval_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go b/users/item_app_consent_requests_for_approval_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go index 45b6b609678..a5bf0062bf7 100644 --- a/users/item_app_consent_requests_for_approval_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go +++ b/users/item_app_consent_requests_for_approval_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrent } 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 *ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilder) { + return NewItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_request_builder.go b/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_request_builder.go index 4682c5d0b64..0caa38e8aaa 100644 --- a/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_request_builder.go +++ b/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalReq } 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 *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalRequestBuilder) WithUrl(rawUrl string)(*ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalRequestBuilder) { + return NewItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go b/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go index 68a8021659d..d3f6f17213f 100644 --- a/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go +++ b/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalSte } 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 *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilder) WithUrl(rawUrl string)(*ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilder) { + return NewItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_count_request_builder.go b/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_count_request_builder.go index 800fcb7d62c..30e8a8ab347 100644 --- a/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_count_request_builder.go +++ b/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalSte } 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 *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsCountRequestBuilder) { + return NewItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_request_builder.go b/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_request_builder.go index 66b4eb5d3e8..d4e1291bf0a 100644 --- a/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_request_builder.go +++ b/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_request_builder.go @@ -46,8 +46,8 @@ type ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByApprovalStepIdString provides operations to manage the steps property of the microsoft.graph.approval entity. -func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsRequestBuilder) ByApprovalStepIdString(approvalStepId string)(*ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilder) { +// ByApprovalStepId provides operations to manage the steps property of the microsoft.graph.approval entity. +func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsRequestBuilder) ByApprovalStepId(approvalStepId string)(*ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalSte } 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 *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsRequestBuilder) WithUrl(rawUrl string)(*ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsRequestBuilder) { + return NewItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_app_consent_requests_for_approval_item_user_consent_requests_request_builder.go b/users/item_app_consent_requests_for_approval_item_user_consent_requests_request_builder.go index 35fa63eff6f..74a2c4ed481 100644 --- a/users/item_app_consent_requests_for_approval_item_user_consent_requests_request_builder.go +++ b/users/item_app_consent_requests_for_approval_item_user_consent_requests_request_builder.go @@ -46,8 +46,8 @@ type ItemAppConsentRequestsForApprovalItemUserConsentRequestsRequestBuilderPostR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserConsentRequestIdString provides operations to manage the userConsentRequests property of the microsoft.graph.appConsentRequest entity. -func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsRequestBuilder) ByUserConsentRequestIdString(userConsentRequestId string)(*ItemAppConsentRequestsForApprovalItemUserConsentRequestsUserConsentRequestItemRequestBuilder) { +// ByUserConsentRequestId provides operations to manage the userConsentRequests property of the microsoft.graph.appConsentRequest entity. +func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsRequestBuilder) ByUserConsentRequestId(userConsentRequestId string)(*ItemAppConsentRequestsForApprovalItemUserConsentRequestsUserConsentRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsRequestBuilder) } 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 *ItemAppConsentRequestsForApprovalItemUserConsentRequestsRequestBuilder) WithUrl(rawUrl string)(*ItemAppConsentRequestsForApprovalItemUserConsentRequestsRequestBuilder) { + return NewItemAppConsentRequestsForApprovalItemUserConsentRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_app_consent_requests_for_approval_item_user_consent_requests_user_consent_request_item_request_builder.go b/users/item_app_consent_requests_for_approval_item_user_consent_requests_user_consent_request_item_request_builder.go index 38673c64931..6f9f2d2cfd8 100644 --- a/users/item_app_consent_requests_for_approval_item_user_consent_requests_user_consent_request_item_request_builder.go +++ b/users/item_app_consent_requests_for_approval_item_user_consent_requests_user_consent_request_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsUserConsentRequ } 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 *ItemAppConsentRequestsForApprovalItemUserConsentRequestsUserConsentRequestItemRequestBuilder) WithUrl(rawUrl string)(*ItemAppConsentRequestsForApprovalItemUserConsentRequestsUserConsentRequestItemRequestBuilder) { + return NewItemAppConsentRequestsForApprovalItemUserConsentRequestsUserConsentRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_app_consent_requests_for_approval_request_builder.go b/users/item_app_consent_requests_for_approval_request_builder.go index f3eea24199b..5198b6954a1 100644 --- a/users/item_app_consent_requests_for_approval_request_builder.go +++ b/users/item_app_consent_requests_for_approval_request_builder.go @@ -46,8 +46,8 @@ type ItemAppConsentRequestsForApprovalRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAppConsentRequestIdString provides operations to manage the appConsentRequestsForApproval property of the microsoft.graph.user entity. -func (m *ItemAppConsentRequestsForApprovalRequestBuilder) ByAppConsentRequestIdString(appConsentRequestId string)(*ItemAppConsentRequestsForApprovalAppConsentRequestItemRequestBuilder) { +// ByAppConsentRequestId provides operations to manage the appConsentRequestsForApproval property of the microsoft.graph.user entity. +func (m *ItemAppConsentRequestsForApprovalRequestBuilder) ByAppConsentRequestId(appConsentRequestId string)(*ItemAppConsentRequestsForApprovalAppConsentRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemAppConsentRequestsForApprovalRequestBuilder) ToPostRequestInformati } 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 *ItemAppConsentRequestsForApprovalRequestBuilder) WithUrl(rawUrl string)(*ItemAppConsentRequestsForApprovalRequestBuilder) { + return NewItemAppConsentRequestsForApprovalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_app_role_assigned_resources_count_request_builder.go b/users/item_app_role_assigned_resources_count_request_builder.go index 7fae2d555fb..9d8a5942b67 100644 --- a/users/item_app_role_assigned_resources_count_request_builder.go +++ b/users/item_app_role_assigned_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAppRoleAssignedResourcesCountRequestBuilder) 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 *ItemAppRoleAssignedResourcesCountRequestBuilder) WithUrl(rawUrl string)(*ItemAppRoleAssignedResourcesCountRequestBuilder) { + return NewItemAppRoleAssignedResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_app_role_assigned_resources_request_builder.go b/users/item_app_role_assigned_resources_request_builder.go index 54333bba206..0fe47778ac8 100644 --- a/users/item_app_role_assigned_resources_request_builder.go +++ b/users/item_app_role_assigned_resources_request_builder.go @@ -39,8 +39,8 @@ type ItemAppRoleAssignedResourcesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemAppRoleAssignedResourcesRequestBuilderGetQueryParameters } -// ByServicePrincipalIdString provides operations to manage the appRoleAssignedResources property of the microsoft.graph.user entity. -func (m *ItemAppRoleAssignedResourcesRequestBuilder) ByServicePrincipalIdString(servicePrincipalId string)(*ItemAppRoleAssignedResourcesServicePrincipalItemRequestBuilder) { +// ByServicePrincipalId provides operations to manage the appRoleAssignedResources property of the microsoft.graph.user entity. +func (m *ItemAppRoleAssignedResourcesRequestBuilder) ByServicePrincipalId(servicePrincipalId string)(*ItemAppRoleAssignedResourcesServicePrincipalItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemAppRoleAssignedResourcesRequestBuilder) ToGetRequestInformation(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 *ItemAppRoleAssignedResourcesRequestBuilder) WithUrl(rawUrl string)(*ItemAppRoleAssignedResourcesRequestBuilder) { + return NewItemAppRoleAssignedResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_app_role_assigned_resources_service_principal_item_request_builder.go b/users/item_app_role_assigned_resources_service_principal_item_request_builder.go index cbc2b26a4db..e53eebf343e 100644 --- a/users/item_app_role_assigned_resources_service_principal_item_request_builder.go +++ b/users/item_app_role_assigned_resources_service_principal_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemAppRoleAssignedResourcesServicePrincipalItemRequestBuilder) ToGetRe } 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 *ItemAppRoleAssignedResourcesServicePrincipalItemRequestBuilder) WithUrl(rawUrl string)(*ItemAppRoleAssignedResourcesServicePrincipalItemRequestBuilder) { + return NewItemAppRoleAssignedResourcesServicePrincipalItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_app_role_assignments_app_role_assignment_item_request_builder.go b/users/item_app_role_assignments_app_role_assignment_item_request_builder.go index c936bafe24c..e2cd06fac92 100644 --- a/users/item_app_role_assignments_app_role_assignment_item_request_builder.go +++ b/users/item_app_role_assignments_app_role_assignment_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) ToPatchReque } 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 *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) { + return NewItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_app_role_assignments_count_request_builder.go b/users/item_app_role_assignments_count_request_builder.go index dfa19e695d4..fba6a51410c 100644 --- a/users/item_app_role_assignments_count_request_builder.go +++ b/users/item_app_role_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAppRoleAssignmentsCountRequestBuilder) ToGetRequestInformation(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 *ItemAppRoleAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAppRoleAssignmentsCountRequestBuilder) { + return NewItemAppRoleAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_app_role_assignments_request_builder.go b/users/item_app_role_assignments_request_builder.go index c7cf9f2e47b..ef4cb8f518f 100644 --- a/users/item_app_role_assignments_request_builder.go +++ b/users/item_app_role_assignments_request_builder.go @@ -46,8 +46,8 @@ type ItemAppRoleAssignmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAppRoleAssignmentIdString provides operations to manage the appRoleAssignments property of the microsoft.graph.user entity. -func (m *ItemAppRoleAssignmentsRequestBuilder) ByAppRoleAssignmentIdString(appRoleAssignmentId string)(*ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) { +// ByAppRoleAssignmentId provides operations to manage the appRoleAssignments property of the microsoft.graph.user entity. +func (m *ItemAppRoleAssignmentsRequestBuilder) ByAppRoleAssignmentId(appRoleAssignmentId string)(*ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemAppRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemAppRoleAssignmentsRequestBuilder) WithUrl(rawUrl string)(*ItemAppRoleAssignmentsRequestBuilder) { + return NewItemAppRoleAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_approvals_approval_item_request_builder.go b/users/item_approvals_approval_item_request_builder.go index 16db00633f2..4c05e549b8b 100644 --- a/users/item_approvals_approval_item_request_builder.go +++ b/users/item_approvals_approval_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemApprovalsApprovalItemRequestBuilder) ToPatchRequestInformation(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 *ItemApprovalsApprovalItemRequestBuilder) WithUrl(rawUrl string)(*ItemApprovalsApprovalItemRequestBuilder) { + return NewItemApprovalsApprovalItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_approvals_count_request_builder.go b/users/item_approvals_count_request_builder.go index dc5ac887563..0951adb643e 100644 --- a/users/item_approvals_count_request_builder.go +++ b/users/item_approvals_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemApprovalsCountRequestBuilder) 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 *ItemApprovalsCountRequestBuilder) WithUrl(rawUrl string)(*ItemApprovalsCountRequestBuilder) { + return NewItemApprovalsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_approvals_filter_by_current_user_with_on_request_builder.go b/users/item_approvals_filter_by_current_user_with_on_request_builder.go index f0b130bf800..87269b1cec6 100644 --- a/users/item_approvals_filter_by_current_user_with_on_request_builder.go +++ b/users/item_approvals_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemApprovalsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInfor } 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 *ItemApprovalsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*ItemApprovalsFilterByCurrentUserWithOnRequestBuilder) { + return NewItemApprovalsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_approvals_item_steps_approval_step_item_request_builder.go b/users/item_approvals_item_steps_approval_step_item_request_builder.go index 28333aa330d..31ce7e6b566 100644 --- a/users/item_approvals_item_steps_approval_step_item_request_builder.go +++ b/users/item_approvals_item_steps_approval_step_item_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemApprovalsItemStepsApprovalStepItemRequestBuilder) ToPatchRequestInf } 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 *ItemApprovalsItemStepsApprovalStepItemRequestBuilder) WithUrl(rawUrl string)(*ItemApprovalsItemStepsApprovalStepItemRequestBuilder) { + return NewItemApprovalsItemStepsApprovalStepItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_approvals_item_steps_count_request_builder.go b/users/item_approvals_item_steps_count_request_builder.go index 20a54c22efd..dfa2fabbf82 100644 --- a/users/item_approvals_item_steps_count_request_builder.go +++ b/users/item_approvals_item_steps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemApprovalsItemStepsCountRequestBuilder) ToGetRequestInformation(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 *ItemApprovalsItemStepsCountRequestBuilder) WithUrl(rawUrl string)(*ItemApprovalsItemStepsCountRequestBuilder) { + return NewItemApprovalsItemStepsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_approvals_item_steps_request_builder.go b/users/item_approvals_item_steps_request_builder.go index a8fd6d04ba8..2245c0ba1ee 100644 --- a/users/item_approvals_item_steps_request_builder.go +++ b/users/item_approvals_item_steps_request_builder.go @@ -46,8 +46,8 @@ type ItemApprovalsItemStepsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByApprovalStepIdString provides operations to manage the steps property of the microsoft.graph.approval entity. -func (m *ItemApprovalsItemStepsRequestBuilder) ByApprovalStepIdString(approvalStepId string)(*ItemApprovalsItemStepsApprovalStepItemRequestBuilder) { +// ByApprovalStepId provides operations to manage the steps property of the microsoft.graph.approval entity. +func (m *ItemApprovalsItemStepsRequestBuilder) ByApprovalStepId(approvalStepId string)(*ItemApprovalsItemStepsApprovalStepItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemApprovalsItemStepsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemApprovalsItemStepsRequestBuilder) WithUrl(rawUrl string)(*ItemApprovalsItemStepsRequestBuilder) { + return NewItemApprovalsItemStepsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_approvals_request_builder.go b/users/item_approvals_request_builder.go index 2c68f309ec6..7f2be270df3 100644 --- a/users/item_approvals_request_builder.go +++ b/users/item_approvals_request_builder.go @@ -46,8 +46,8 @@ type ItemApprovalsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByApprovalIdString provides operations to manage the approvals property of the microsoft.graph.user entity. -func (m *ItemApprovalsRequestBuilder) ByApprovalIdString(approvalId string)(*ItemApprovalsApprovalItemRequestBuilder) { +// ByApprovalId provides operations to manage the approvals property of the microsoft.graph.user entity. +func (m *ItemApprovalsRequestBuilder) ByApprovalId(approvalId string)(*ItemApprovalsApprovalItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemApprovalsRequestBuilder) 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 *ItemApprovalsRequestBuilder) WithUrl(rawUrl string)(*ItemApprovalsRequestBuilder) { + return NewItemApprovalsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_assign_license_request_builder.go b/users/item_assign_license_request_builder.go index 4c9d763565e..2786b0e5154 100644 --- a/users/item_assign_license_request_builder.go +++ b/users/item_assign_license_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemAssignLicenseRequestBuilder) ToPostRequestInformation(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 *ItemAssignLicenseRequestBuilder) WithUrl(rawUrl string)(*ItemAssignLicenseRequestBuilder) { + return NewItemAssignLicenseRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_email_methods_count_request_builder.go b/users/item_authentication_email_methods_count_request_builder.go index 17ab650e0ee..b909f7add2f 100644 --- a/users/item_authentication_email_methods_count_request_builder.go +++ b/users/item_authentication_email_methods_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAuthenticationEmailMethodsCountRequestBuilder) ToGetRequestInformat } 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 *ItemAuthenticationEmailMethodsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationEmailMethodsCountRequestBuilder) { + return NewItemAuthenticationEmailMethodsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_email_methods_email_authentication_method_item_request_builder.go b/users/item_authentication_email_methods_email_authentication_method_item_request_builder.go index 67ab6281bdb..e123ff93550 100644 --- a/users/item_authentication_email_methods_email_authentication_method_item_request_builder.go +++ b/users/item_authentication_email_methods_email_authentication_method_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuild } 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 *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilder) { + return NewItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_email_methods_request_builder.go b/users/item_authentication_email_methods_request_builder.go index a8b29c6d7ce..3f3ccb8357a 100644 --- a/users/item_authentication_email_methods_request_builder.go +++ b/users/item_authentication_email_methods_request_builder.go @@ -46,8 +46,8 @@ type ItemAuthenticationEmailMethodsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEmailAuthenticationMethodIdString provides operations to manage the emailMethods property of the microsoft.graph.authentication entity. -func (m *ItemAuthenticationEmailMethodsRequestBuilder) ByEmailAuthenticationMethodIdString(emailAuthenticationMethodId string)(*ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilder) { +// ByEmailAuthenticationMethodId provides operations to manage the emailMethods property of the microsoft.graph.authentication entity. +func (m *ItemAuthenticationEmailMethodsRequestBuilder) ByEmailAuthenticationMethodId(emailAuthenticationMethodId string)(*ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemAuthenticationEmailMethodsRequestBuilder) 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 *ItemAuthenticationEmailMethodsRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationEmailMethodsRequestBuilder) { + return NewItemAuthenticationEmailMethodsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_fido2_methods_count_request_builder.go b/users/item_authentication_fido2_methods_count_request_builder.go index 6dacae9b382..403cac3e11d 100644 --- a/users/item_authentication_fido2_methods_count_request_builder.go +++ b/users/item_authentication_fido2_methods_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAuthenticationFido2MethodsCountRequestBuilder) ToGetRequestInformat } 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 *ItemAuthenticationFido2MethodsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationFido2MethodsCountRequestBuilder) { + return NewItemAuthenticationFido2MethodsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_fido2_methods_fido2_authentication_method_item_request_builder.go b/users/item_authentication_fido2_methods_fido2_authentication_method_item_request_builder.go index 37d2e93e1f8..d3fe9f79487 100644 --- a/users/item_authentication_fido2_methods_fido2_authentication_method_item_request_builder.go +++ b/users/item_authentication_fido2_methods_fido2_authentication_method_item_request_builder.go @@ -116,3 +116,7 @@ func (m *ItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuild } 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 *ItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuilder) { + return NewItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_fido2_methods_request_builder.go b/users/item_authentication_fido2_methods_request_builder.go index aa838c6ca14..1135a99c920 100644 --- a/users/item_authentication_fido2_methods_request_builder.go +++ b/users/item_authentication_fido2_methods_request_builder.go @@ -39,8 +39,8 @@ type ItemAuthenticationFido2MethodsRequestBuilderGetRequestConfiguration struct // Request query parameters QueryParameters *ItemAuthenticationFido2MethodsRequestBuilderGetQueryParameters } -// ByFido2AuthenticationMethodIdString provides operations to manage the fido2Methods property of the microsoft.graph.authentication entity. -func (m *ItemAuthenticationFido2MethodsRequestBuilder) ByFido2AuthenticationMethodIdString(fido2AuthenticationMethodId string)(*ItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuilder) { +// ByFido2AuthenticationMethodId provides operations to manage the fido2Methods property of the microsoft.graph.authentication entity. +func (m *ItemAuthenticationFido2MethodsRequestBuilder) ByFido2AuthenticationMethodId(fido2AuthenticationMethodId string)(*ItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemAuthenticationFido2MethodsRequestBuilder) ToGetRequestInformation(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 *ItemAuthenticationFido2MethodsRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationFido2MethodsRequestBuilder) { + return NewItemAuthenticationFido2MethodsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_methods_authentication_method_item_request_builder.go b/users/item_authentication_methods_authentication_method_item_request_builder.go index 1d1ecc6708a..f0b330a9218 100644 --- a/users/item_authentication_methods_authentication_method_item_request_builder.go +++ b/users/item_authentication_methods_authentication_method_item_request_builder.go @@ -133,3 +133,7 @@ func (m *ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilder) ToPatc } 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 *ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilder) { + return NewItemAuthenticationMethodsAuthenticationMethodItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_methods_count_request_builder.go b/users/item_authentication_methods_count_request_builder.go index 031aa1072df..a2fb8d185ab 100644 --- a/users/item_authentication_methods_count_request_builder.go +++ b/users/item_authentication_methods_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAuthenticationMethodsCountRequestBuilder) ToGetRequestInformation(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 *ItemAuthenticationMethodsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationMethodsCountRequestBuilder) { + return NewItemAuthenticationMethodsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_methods_item_disable_sms_sign_in_request_builder.go b/users/item_authentication_methods_item_disable_sms_sign_in_request_builder.go index ce4ece25170..ceeb4fd4f99 100644 --- a/users/item_authentication_methods_item_disable_sms_sign_in_request_builder.go +++ b/users/item_authentication_methods_item_disable_sms_sign_in_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemAuthenticationMethodsItemDisableSmsSignInRequestBuilder) ToPostRequ } 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 *ItemAuthenticationMethodsItemDisableSmsSignInRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationMethodsItemDisableSmsSignInRequestBuilder) { + return NewItemAuthenticationMethodsItemDisableSmsSignInRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_methods_item_enable_sms_sign_in_request_builder.go b/users/item_authentication_methods_item_enable_sms_sign_in_request_builder.go index f904dd9a470..4420baee22e 100644 --- a/users/item_authentication_methods_item_enable_sms_sign_in_request_builder.go +++ b/users/item_authentication_methods_item_enable_sms_sign_in_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemAuthenticationMethodsItemEnableSmsSignInRequestBuilder) ToPostReque } 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 *ItemAuthenticationMethodsItemEnableSmsSignInRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationMethodsItemEnableSmsSignInRequestBuilder) { + return NewItemAuthenticationMethodsItemEnableSmsSignInRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_methods_item_reset_password_request_builder.go b/users/item_authentication_methods_item_reset_password_request_builder.go index 3530c013f5b..963aee1c3ec 100644 --- a/users/item_authentication_methods_item_reset_password_request_builder.go +++ b/users/item_authentication_methods_item_reset_password_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemAuthenticationMethodsItemResetPasswordRequestBuilder) ToPostRequest } 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 *ItemAuthenticationMethodsItemResetPasswordRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationMethodsItemResetPasswordRequestBuilder) { + return NewItemAuthenticationMethodsItemResetPasswordRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_methods_request_builder.go b/users/item_authentication_methods_request_builder.go index 36fa1f712bf..7c1ba4194d2 100644 --- a/users/item_authentication_methods_request_builder.go +++ b/users/item_authentication_methods_request_builder.go @@ -46,8 +46,8 @@ type ItemAuthenticationMethodsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAuthenticationMethodIdString provides operations to manage the methods property of the microsoft.graph.authentication entity. -func (m *ItemAuthenticationMethodsRequestBuilder) ByAuthenticationMethodIdString(authenticationMethodId string)(*ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilder) { +// ByAuthenticationMethodId provides operations to manage the methods property of the microsoft.graph.authentication entity. +func (m *ItemAuthenticationMethodsRequestBuilder) ByAuthenticationMethodId(authenticationMethodId string)(*ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemAuthenticationMethodsRequestBuilder) ToPostRequestInformation(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 *ItemAuthenticationMethodsRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationMethodsRequestBuilder) { + return NewItemAuthenticationMethodsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_microsoft_authenticator_methods_count_request_builder.go b/users/item_authentication_microsoft_authenticator_methods_count_request_builder.go index 2fd0d2c1e51..34f8839a3d8 100644 --- a/users/item_authentication_microsoft_authenticator_methods_count_request_builder.go +++ b/users/item_authentication_microsoft_authenticator_methods_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsCountRequestBuilder) ToG } 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 *ItemAuthenticationMicrosoftAuthenticatorMethodsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationMicrosoftAuthenticatorMethodsCountRequestBuilder) { + return NewItemAuthenticationMicrosoftAuthenticatorMethodsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_microsoft_authenticator_methods_item_device_request_builder.go b/users/item_authentication_microsoft_authenticator_methods_item_device_request_builder.go index 2e551f551b2..ca3f53b759b 100644 --- a/users/item_authentication_microsoft_authenticator_methods_item_device_request_builder.go +++ b/users/item_authentication_microsoft_authenticator_methods_item_device_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsItemDeviceRequestBuilder } 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 *ItemAuthenticationMicrosoftAuthenticatorMethodsItemDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationMicrosoftAuthenticatorMethodsItemDeviceRequestBuilder) { + return NewItemAuthenticationMicrosoftAuthenticatorMethodsItemDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_microsoft_authenticator_methods_microsoft_authenticator_authentication_method_item_request_builder.go b/users/item_authentication_microsoft_authenticator_methods_microsoft_authenticator_authentication_method_item_request_builder.go index d16481c6669..835b7dfc11c 100644 --- a/users/item_authentication_microsoft_authenticator_methods_microsoft_authenticator_authentication_method_item_request_builder.go +++ b/users/item_authentication_microsoft_authenticator_methods_microsoft_authenticator_authentication_method_item_request_builder.go @@ -120,3 +120,7 @@ func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAu } 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 *ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder) { + return NewItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_microsoft_authenticator_methods_request_builder.go b/users/item_authentication_microsoft_authenticator_methods_request_builder.go index 3f6542e2e86..88de5b24be9 100644 --- a/users/item_authentication_microsoft_authenticator_methods_request_builder.go +++ b/users/item_authentication_microsoft_authenticator_methods_request_builder.go @@ -39,8 +39,8 @@ type ItemAuthenticationMicrosoftAuthenticatorMethodsRequestBuilderGetRequestConf // Request query parameters QueryParameters *ItemAuthenticationMicrosoftAuthenticatorMethodsRequestBuilderGetQueryParameters } -// ByMicrosoftAuthenticatorAuthenticationMethodIdString provides operations to manage the microsoftAuthenticatorMethods property of the microsoft.graph.authentication entity. -func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsRequestBuilder) ByMicrosoftAuthenticatorAuthenticationMethodIdString(microsoftAuthenticatorAuthenticationMethodId string)(*ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder) { +// ByMicrosoftAuthenticatorAuthenticationMethodId provides operations to manage the microsoftAuthenticatorMethods property of the microsoft.graph.authentication entity. +func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsRequestBuilder) ByMicrosoftAuthenticatorAuthenticationMethodId(microsoftAuthenticatorAuthenticationMethodId string)(*ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsRequestBuilder) ToGetReq } 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 *ItemAuthenticationMicrosoftAuthenticatorMethodsRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationMicrosoftAuthenticatorMethodsRequestBuilder) { + return NewItemAuthenticationMicrosoftAuthenticatorMethodsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_operations_count_request_builder.go b/users/item_authentication_operations_count_request_builder.go index 2197014bcec..feca665780c 100644 --- a/users/item_authentication_operations_count_request_builder.go +++ b/users/item_authentication_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAuthenticationOperationsCountRequestBuilder) 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 *ItemAuthenticationOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationOperationsCountRequestBuilder) { + return NewItemAuthenticationOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_operations_long_running_operation_item_request_builder.go b/users/item_authentication_operations_long_running_operation_item_request_builder.go index 152486bca0a..185baaaf1fb 100644 --- a/users/item_authentication_operations_long_running_operation_item_request_builder.go +++ b/users/item_authentication_operations_long_running_operation_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemAuthenticationOperationsLongRunningOperationItemRequestBuilder) 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 *ItemAuthenticationOperationsLongRunningOperationItemRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationOperationsLongRunningOperationItemRequestBuilder) { + return NewItemAuthenticationOperationsLongRunningOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_operations_request_builder.go b/users/item_authentication_operations_request_builder.go index 8bdee133a6f..8f81918ddf8 100644 --- a/users/item_authentication_operations_request_builder.go +++ b/users/item_authentication_operations_request_builder.go @@ -46,8 +46,8 @@ type ItemAuthenticationOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByLongRunningOperationIdString provides operations to manage the operations property of the microsoft.graph.authentication entity. -func (m *ItemAuthenticationOperationsRequestBuilder) ByLongRunningOperationIdString(longRunningOperationId string)(*ItemAuthenticationOperationsLongRunningOperationItemRequestBuilder) { +// ByLongRunningOperationId provides operations to manage the operations property of the microsoft.graph.authentication entity. +func (m *ItemAuthenticationOperationsRequestBuilder) ByLongRunningOperationId(longRunningOperationId string)(*ItemAuthenticationOperationsLongRunningOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemAuthenticationOperationsRequestBuilder) 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 *ItemAuthenticationOperationsRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationOperationsRequestBuilder) { + return NewItemAuthenticationOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_password_methods_count_request_builder.go b/users/item_authentication_password_methods_count_request_builder.go index 7ba871d6962..1d67ac61f78 100644 --- a/users/item_authentication_password_methods_count_request_builder.go +++ b/users/item_authentication_password_methods_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAuthenticationPasswordMethodsCountRequestBuilder) ToGetRequestInfor } 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 *ItemAuthenticationPasswordMethodsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationPasswordMethodsCountRequestBuilder) { + return NewItemAuthenticationPasswordMethodsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_password_methods_password_authentication_method_item_request_builder.go b/users/item_authentication_password_methods_password_authentication_method_item_request_builder.go index 845393a2367..6407e3229df 100644 --- a/users/item_authentication_password_methods_password_authentication_method_item_request_builder.go +++ b/users/item_authentication_password_methods_password_authentication_method_item_request_builder.go @@ -78,3 +78,7 @@ func (m *ItemAuthenticationPasswordMethodsPasswordAuthenticationMethodItemReques } 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 *ItemAuthenticationPasswordMethodsPasswordAuthenticationMethodItemRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationPasswordMethodsPasswordAuthenticationMethodItemRequestBuilder) { + return NewItemAuthenticationPasswordMethodsPasswordAuthenticationMethodItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_password_methods_request_builder.go b/users/item_authentication_password_methods_request_builder.go index bf090a77ff9..6e735b5ce5f 100644 --- a/users/item_authentication_password_methods_request_builder.go +++ b/users/item_authentication_password_methods_request_builder.go @@ -46,8 +46,8 @@ type ItemAuthenticationPasswordMethodsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPasswordAuthenticationMethodIdString provides operations to manage the passwordMethods property of the microsoft.graph.authentication entity. -func (m *ItemAuthenticationPasswordMethodsRequestBuilder) ByPasswordAuthenticationMethodIdString(passwordAuthenticationMethodId string)(*ItemAuthenticationPasswordMethodsPasswordAuthenticationMethodItemRequestBuilder) { +// ByPasswordAuthenticationMethodId provides operations to manage the passwordMethods property of the microsoft.graph.authentication entity. +func (m *ItemAuthenticationPasswordMethodsRequestBuilder) ByPasswordAuthenticationMethodId(passwordAuthenticationMethodId string)(*ItemAuthenticationPasswordMethodsPasswordAuthenticationMethodItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemAuthenticationPasswordMethodsRequestBuilder) ToPostRequestInformati } 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 *ItemAuthenticationPasswordMethodsRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationPasswordMethodsRequestBuilder) { + return NewItemAuthenticationPasswordMethodsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_passwordless_microsoft_authenticator_methods_count_request_builder.go b/users/item_authentication_passwordless_microsoft_authenticator_methods_count_request_builder.go index 7719f917f3d..cdb3d8e44ff 100644 --- a/users/item_authentication_passwordless_microsoft_authenticator_methods_count_request_builder.go +++ b/users/item_authentication_passwordless_microsoft_authenticator_methods_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsCountRequest } 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 *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsCountRequestBuilder) { + return NewItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_passwordless_microsoft_authenticator_methods_item_device_request_builder.go b/users/item_authentication_passwordless_microsoft_authenticator_methods_item_device_request_builder.go index af96b32c82a..b27a02c17f7 100644 --- a/users/item_authentication_passwordless_microsoft_authenticator_methods_item_device_request_builder.go +++ b/users/item_authentication_passwordless_microsoft_authenticator_methods_item_device_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsItemDeviceRe } 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 *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsItemDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsItemDeviceRequestBuilder) { + return NewItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsItemDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_passwordless_microsoft_authenticator_methods_passwordless_microsoft_authenticator_authentication_method_item_request_builder.go b/users/item_authentication_passwordless_microsoft_authenticator_methods_passwordless_microsoft_authenticator_authentication_method_item_request_builder.go index 783a00d2583..7fb16f84656 100644 --- a/users/item_authentication_passwordless_microsoft_authenticator_methods_passwordless_microsoft_authenticator_authentication_method_item_request_builder.go +++ b/users/item_authentication_passwordless_microsoft_authenticator_methods_passwordless_microsoft_authenticator_authentication_method_item_request_builder.go @@ -120,3 +120,7 @@ func (m *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordless } 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 *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder) { + return NewItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_passwordless_microsoft_authenticator_methods_request_builder.go b/users/item_authentication_passwordless_microsoft_authenticator_methods_request_builder.go index ca3d21d195f..2967b0372ad 100644 --- a/users/item_authentication_passwordless_microsoft_authenticator_methods_request_builder.go +++ b/users/item_authentication_passwordless_microsoft_authenticator_methods_request_builder.go @@ -39,8 +39,8 @@ type ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsRequestBuilderGe // Request query parameters QueryParameters *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsRequestBuilderGetQueryParameters } -// ByPasswordlessMicrosoftAuthenticatorAuthenticationMethodIdString provides operations to manage the passwordlessMicrosoftAuthenticatorMethods property of the microsoft.graph.authentication entity. -func (m *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsRequestBuilder) ByPasswordlessMicrosoftAuthenticatorAuthenticationMethodIdString(passwordlessMicrosoftAuthenticatorAuthenticationMethodId string)(*ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder) { +// ByPasswordlessMicrosoftAuthenticatorAuthenticationMethodId provides operations to manage the passwordlessMicrosoftAuthenticatorMethods property of the microsoft.graph.authentication entity. +func (m *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsRequestBuilder) ByPasswordlessMicrosoftAuthenticatorAuthenticationMethodId(passwordlessMicrosoftAuthenticatorAuthenticationMethodId string)(*ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsRequestBuild } 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 *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsRequestBuilder) { + return NewItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_phone_methods_count_request_builder.go b/users/item_authentication_phone_methods_count_request_builder.go index 389176179c3..ecd8dcd6ae3 100644 --- a/users/item_authentication_phone_methods_count_request_builder.go +++ b/users/item_authentication_phone_methods_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAuthenticationPhoneMethodsCountRequestBuilder) ToGetRequestInformat } 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 *ItemAuthenticationPhoneMethodsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationPhoneMethodsCountRequestBuilder) { + return NewItemAuthenticationPhoneMethodsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_phone_methods_phone_authentication_method_item_request_builder.go b/users/item_authentication_phone_methods_phone_authentication_method_item_request_builder.go index cf8e6bf7a0f..1fbd054a78b 100644 --- a/users/item_authentication_phone_methods_phone_authentication_method_item_request_builder.go +++ b/users/item_authentication_phone_methods_phone_authentication_method_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuild } 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 *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilder) { + return NewItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_phone_methods_request_builder.go b/users/item_authentication_phone_methods_request_builder.go index be9aadf2f24..77b18d7e941 100644 --- a/users/item_authentication_phone_methods_request_builder.go +++ b/users/item_authentication_phone_methods_request_builder.go @@ -46,8 +46,8 @@ type ItemAuthenticationPhoneMethodsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPhoneAuthenticationMethodIdString provides operations to manage the phoneMethods property of the microsoft.graph.authentication entity. -func (m *ItemAuthenticationPhoneMethodsRequestBuilder) ByPhoneAuthenticationMethodIdString(phoneAuthenticationMethodId string)(*ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilder) { +// ByPhoneAuthenticationMethodId provides operations to manage the phoneMethods property of the microsoft.graph.authentication entity. +func (m *ItemAuthenticationPhoneMethodsRequestBuilder) ByPhoneAuthenticationMethodId(phoneAuthenticationMethodId string)(*ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemAuthenticationPhoneMethodsRequestBuilder) 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 *ItemAuthenticationPhoneMethodsRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationPhoneMethodsRequestBuilder) { + return NewItemAuthenticationPhoneMethodsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_request_builder.go b/users/item_authentication_request_builder.go index d79571eb0cb..0d7724aa74d 100644 --- a/users/item_authentication_request_builder.go +++ b/users/item_authentication_request_builder.go @@ -197,3 +197,7 @@ func (m *ItemAuthenticationRequestBuilder) ToPatchRequestInformation(ctx context func (m *ItemAuthenticationRequestBuilder) WindowsHelloForBusinessMethods()(*ItemAuthenticationWindowsHelloForBusinessMethodsRequestBuilder) { return NewItemAuthenticationWindowsHelloForBusinessMethodsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemAuthenticationRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationRequestBuilder) { + return NewItemAuthenticationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_software_oath_methods_count_request_builder.go b/users/item_authentication_software_oath_methods_count_request_builder.go index 622c16001ab..581648ba427 100644 --- a/users/item_authentication_software_oath_methods_count_request_builder.go +++ b/users/item_authentication_software_oath_methods_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAuthenticationSoftwareOathMethodsCountRequestBuilder) ToGetRequestI } 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 *ItemAuthenticationSoftwareOathMethodsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationSoftwareOathMethodsCountRequestBuilder) { + return NewItemAuthenticationSoftwareOathMethodsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_software_oath_methods_request_builder.go b/users/item_authentication_software_oath_methods_request_builder.go index e2a588b1f2d..e65a13d7c75 100644 --- a/users/item_authentication_software_oath_methods_request_builder.go +++ b/users/item_authentication_software_oath_methods_request_builder.go @@ -39,8 +39,8 @@ type ItemAuthenticationSoftwareOathMethodsRequestBuilderGetRequestConfiguration // Request query parameters QueryParameters *ItemAuthenticationSoftwareOathMethodsRequestBuilderGetQueryParameters } -// BySoftwareOathAuthenticationMethodIdString provides operations to manage the softwareOathMethods property of the microsoft.graph.authentication entity. -func (m *ItemAuthenticationSoftwareOathMethodsRequestBuilder) BySoftwareOathAuthenticationMethodIdString(softwareOathAuthenticationMethodId string)(*ItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodItemRequestBuilder) { +// BySoftwareOathAuthenticationMethodId provides operations to manage the softwareOathMethods property of the microsoft.graph.authentication entity. +func (m *ItemAuthenticationSoftwareOathMethodsRequestBuilder) BySoftwareOathAuthenticationMethodId(softwareOathAuthenticationMethodId string)(*ItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemAuthenticationSoftwareOathMethodsRequestBuilder) ToGetRequestInform } 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 *ItemAuthenticationSoftwareOathMethodsRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationSoftwareOathMethodsRequestBuilder) { + return NewItemAuthenticationSoftwareOathMethodsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_software_oath_methods_software_oath_authentication_method_item_request_builder.go b/users/item_authentication_software_oath_methods_software_oath_authentication_method_item_request_builder.go index 9989f825434..0ad0b95a9a2 100644 --- a/users/item_authentication_software_oath_methods_software_oath_authentication_method_item_request_builder.go +++ b/users/item_authentication_software_oath_methods_software_oath_authentication_method_item_request_builder.go @@ -116,3 +116,7 @@ func (m *ItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodIt } 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 *ItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodItemRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodItemRequestBuilder) { + return NewItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_temporary_access_pass_methods_count_request_builder.go b/users/item_authentication_temporary_access_pass_methods_count_request_builder.go index bb1ca47b3c7..961c36b116b 100644 --- a/users/item_authentication_temporary_access_pass_methods_count_request_builder.go +++ b/users/item_authentication_temporary_access_pass_methods_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAuthenticationTemporaryAccessPassMethodsCountRequestBuilder) ToGetR } 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 *ItemAuthenticationTemporaryAccessPassMethodsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationTemporaryAccessPassMethodsCountRequestBuilder) { + return NewItemAuthenticationTemporaryAccessPassMethodsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_temporary_access_pass_methods_request_builder.go b/users/item_authentication_temporary_access_pass_methods_request_builder.go index e82de179653..f47bf0b2901 100644 --- a/users/item_authentication_temporary_access_pass_methods_request_builder.go +++ b/users/item_authentication_temporary_access_pass_methods_request_builder.go @@ -46,8 +46,8 @@ type ItemAuthenticationTemporaryAccessPassMethodsRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTemporaryAccessPassAuthenticationMethodIdString provides operations to manage the temporaryAccessPassMethods property of the microsoft.graph.authentication entity. -func (m *ItemAuthenticationTemporaryAccessPassMethodsRequestBuilder) ByTemporaryAccessPassAuthenticationMethodIdString(temporaryAccessPassAuthenticationMethodId string)(*ItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenticationMethodItemRequestBuilder) { +// ByTemporaryAccessPassAuthenticationMethodId provides operations to manage the temporaryAccessPassMethods property of the microsoft.graph.authentication entity. +func (m *ItemAuthenticationTemporaryAccessPassMethodsRequestBuilder) ByTemporaryAccessPassAuthenticationMethodId(temporaryAccessPassAuthenticationMethodId string)(*ItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenticationMethodItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemAuthenticationTemporaryAccessPassMethodsRequestBuilder) ToPostReque } 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 *ItemAuthenticationTemporaryAccessPassMethodsRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationTemporaryAccessPassMethodsRequestBuilder) { + return NewItemAuthenticationTemporaryAccessPassMethodsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_temporary_access_pass_methods_temporary_access_pass_authentication_method_item_request_builder.go b/users/item_authentication_temporary_access_pass_methods_temporary_access_pass_authentication_method_item_request_builder.go index 8d0ca7bf543..9e98d665ab5 100644 --- a/users/item_authentication_temporary_access_pass_methods_temporary_access_pass_authentication_method_item_request_builder.go +++ b/users/item_authentication_temporary_access_pass_methods_temporary_access_pass_authentication_method_item_request_builder.go @@ -116,3 +116,7 @@ func (m *ItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenti } 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 *ItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenticationMethodItemRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenticationMethodItemRequestBuilder) { + return NewItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenticationMethodItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_windows_hello_for_business_methods_count_request_builder.go b/users/item_authentication_windows_hello_for_business_methods_count_request_builder.go index 789d0d85565..8b5f6bf6a47 100644 --- a/users/item_authentication_windows_hello_for_business_methods_count_request_builder.go +++ b/users/item_authentication_windows_hello_for_business_methods_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemAuthenticationWindowsHelloForBusinessMethodsCountRequestBuilder) To } 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 *ItemAuthenticationWindowsHelloForBusinessMethodsCountRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationWindowsHelloForBusinessMethodsCountRequestBuilder) { + return NewItemAuthenticationWindowsHelloForBusinessMethodsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_windows_hello_for_business_methods_item_device_request_builder.go b/users/item_authentication_windows_hello_for_business_methods_item_device_request_builder.go index a76aa6408ea..0206b50ea54 100644 --- a/users/item_authentication_windows_hello_for_business_methods_item_device_request_builder.go +++ b/users/item_authentication_windows_hello_for_business_methods_item_device_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemAuthenticationWindowsHelloForBusinessMethodsItemDeviceRequestBuilde } 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 *ItemAuthenticationWindowsHelloForBusinessMethodsItemDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationWindowsHelloForBusinessMethodsItemDeviceRequestBuilder) { + return NewItemAuthenticationWindowsHelloForBusinessMethodsItemDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_windows_hello_for_business_methods_request_builder.go b/users/item_authentication_windows_hello_for_business_methods_request_builder.go index 15d1678f433..2ad30250439 100644 --- a/users/item_authentication_windows_hello_for_business_methods_request_builder.go +++ b/users/item_authentication_windows_hello_for_business_methods_request_builder.go @@ -39,8 +39,8 @@ type ItemAuthenticationWindowsHelloForBusinessMethodsRequestBuilderGetRequestCon // Request query parameters QueryParameters *ItemAuthenticationWindowsHelloForBusinessMethodsRequestBuilderGetQueryParameters } -// ByWindowsHelloForBusinessAuthenticationMethodIdString provides operations to manage the windowsHelloForBusinessMethods property of the microsoft.graph.authentication entity. -func (m *ItemAuthenticationWindowsHelloForBusinessMethodsRequestBuilder) ByWindowsHelloForBusinessAuthenticationMethodIdString(windowsHelloForBusinessAuthenticationMethodId string)(*ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusinessAuthenticationMethodItemRequestBuilder) { +// ByWindowsHelloForBusinessAuthenticationMethodId provides operations to manage the windowsHelloForBusinessMethods property of the microsoft.graph.authentication entity. +func (m *ItemAuthenticationWindowsHelloForBusinessMethodsRequestBuilder) ByWindowsHelloForBusinessAuthenticationMethodId(windowsHelloForBusinessAuthenticationMethodId string)(*ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusinessAuthenticationMethodItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemAuthenticationWindowsHelloForBusinessMethodsRequestBuilder) ToGetRe } 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 *ItemAuthenticationWindowsHelloForBusinessMethodsRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationWindowsHelloForBusinessMethodsRequestBuilder) { + return NewItemAuthenticationWindowsHelloForBusinessMethodsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_authentication_windows_hello_for_business_methods_windows_hello_for_business_authentication_method_item_request_builder.go b/users/item_authentication_windows_hello_for_business_methods_windows_hello_for_business_authentication_method_item_request_builder.go index a358341a559..4d7e8191cf9 100644 --- a/users/item_authentication_windows_hello_for_business_methods_windows_hello_for_business_authentication_method_item_request_builder.go +++ b/users/item_authentication_windows_hello_for_business_methods_windows_hello_for_business_authentication_method_item_request_builder.go @@ -120,3 +120,7 @@ func (m *ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusiness } 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 *ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusinessAuthenticationMethodItemRequestBuilder) WithUrl(rawUrl string)(*ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusinessAuthenticationMethodItemRequestBuilder) { + return NewItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusinessAuthenticationMethodItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_allowed_calendar_sharing_roles_with_user_request_builder.go b/users/item_calendar_allowed_calendar_sharing_roles_with_user_request_builder.go index 01d2369925a..9ed7ba8676f 100644 --- a/users/item_calendar_allowed_calendar_sharing_roles_with_user_request_builder.go +++ b/users/item_calendar_allowed_calendar_sharing_roles_with_user_request_builder.go @@ -83,3 +83,7 @@ func (m *ItemCalendarAllowedCalendarSharingRolesWithUserRequestBuilder) ToGetReq } 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 *ItemCalendarAllowedCalendarSharingRolesWithUserRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarAllowedCalendarSharingRolesWithUserRequestBuilder) { + return NewItemCalendarAllowedCalendarSharingRolesWithUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go b/users/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go index bc16423e184..b179ac1b678 100644 --- a/users/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go +++ b/users/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) To } 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 *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) { + return NewItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_permissions_count_request_builder.go b/users/item_calendar_calendar_permissions_count_request_builder.go index 06c47ee21dc..b0a664bab9d 100644 --- a/users/item_calendar_calendar_permissions_count_request_builder.go +++ b/users/item_calendar_calendar_permissions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarPermissionsCountRequestBuilder) ToGetRequestInforma } 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 *ItemCalendarCalendarPermissionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarPermissionsCountRequestBuilder) { + return NewItemCalendarCalendarPermissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_permissions_request_builder.go b/users/item_calendar_calendar_permissions_request_builder.go index 4e5aacaa2cb..86861b71d49 100644 --- a/users/item_calendar_calendar_permissions_request_builder.go +++ b/users/item_calendar_calendar_permissions_request_builder.go @@ -42,8 +42,8 @@ type ItemCalendarCalendarPermissionsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCalendarPermissionIdString provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. -func (m *ItemCalendarCalendarPermissionsRequestBuilder) ByCalendarPermissionIdString(calendarPermissionId string)(*ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) { +// ByCalendarPermissionId provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. +func (m *ItemCalendarCalendarPermissionsRequestBuilder) ByCalendarPermissionId(calendarPermissionId string)(*ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -144,3 +144,7 @@ func (m *ItemCalendarCalendarPermissionsRequestBuilder) 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 *ItemCalendarCalendarPermissionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarPermissionsRequestBuilder) { + return NewItemCalendarCalendarPermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_count_request_builder.go b/users/item_calendar_calendar_view_count_request_builder.go index ae96c46dbc4..5127189706b 100644 --- a/users/item_calendar_calendar_view_count_request_builder.go +++ b/users/item_calendar_calendar_view_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewCountRequestBuilder) ToGetRequestInformation(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 *ItemCalendarCalendarViewCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewCountRequestBuilder) { + return NewItemCalendarCalendarViewCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_delta_request_builder.go b/users/item_calendar_calendar_view_delta_request_builder.go index f430940c766..cade5c44b2c 100644 --- a/users/item_calendar_calendar_view_delta_request_builder.go +++ b/users/item_calendar_calendar_view_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarCalendarViewDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarCalendarViewDeltaRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarCalendarViewDeltaRequestBuilder) ToGetRequestInformation(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 *ItemCalendarCalendarViewDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewDeltaRequestBuilder) { + return NewItemCalendarCalendarViewDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_event_item_request_builder.go b/users/item_calendar_calendar_view_event_item_request_builder.go index 000f3a9b847..66bf12c0a6c 100644 --- a/users/item_calendar_calendar_view_event_item_request_builder.go +++ b/users/item_calendar_calendar_view_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarCalendarViewEventItemRequestBuilder struct { // ItemCalendarCalendarViewEventItemRequestBuilderGetQueryParameters the calendar view for the calendar. Navigation property. Read-only. type ItemCalendarCalendarViewEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarCalendarViewEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarViewEventItemRequestBuilderGetRequestConfiguration struct { @@ -125,3 +125,7 @@ func (m *ItemCalendarCalendarViewEventItemRequestBuilder) 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 *ItemCalendarCalendarViewEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewEventItemRequestBuilder) { + return NewItemCalendarCalendarViewEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_accept_request_builder.go b/users/item_calendar_calendar_view_item_accept_request_builder.go index 0e923239ed1..eb2e9bedd36 100644 --- a/users/item_calendar_calendar_view_item_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemAcceptRequestBuilder) ToPostRequestInformat } 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 *ItemCalendarCalendarViewItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemAcceptRequestBuilder) { + return NewItemCalendarCalendarViewItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go b/users/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go index ae5070853ce..d9789319010 100644 --- a/users/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderDeleteRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) De } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) To } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) To } 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 *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_attachments_count_request_builder.go b/users/item_calendar_calendar_view_item_attachments_count_request_builder.go index fafd8f378f0..ccefaf8175b 100644 --- a/users/item_calendar_calendar_view_item_attachments_count_request_builder.go +++ b/users/item_calendar_calendar_view_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsCountRequestBuilder) ToGetReques } 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 *ItemCalendarCalendarViewItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemAttachmentsCountRequestBuilder) { + return NewItemCalendarCalendarViewItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go index a0be302d56e..144aafdc86b 100644 --- a/users/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilde } 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 *ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_attachments_request_builder.go b/users/item_calendar_calendar_view_item_attachments_request_builder.go index 13cd0f24d5c..4a962fb31e9 100644 --- a/users/item_calendar_calendar_view_item_attachments_request_builder.go +++ b/users/item_calendar_calendar_view_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarCalendarViewItemAttachmentsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) Get(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) ToGetRequestInfo } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) ToPostRequestInf } 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 *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemAttachmentsRequestBuilder) { + return NewItemCalendarCalendarViewItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_calendar_request_builder.go b/users/item_calendar_calendar_view_item_calendar_request_builder.go index bcb92f7f83c..fe18f04874c 100644 --- a/users/item_calendar_calendar_view_item_calendar_request_builder.go +++ b/users/item_calendar_calendar_view_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarCalendarViewItemCalendarRequestBuilder) ToGetRequestInforma } 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 *ItemCalendarCalendarViewItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemCalendarRequestBuilder) { + return NewItemCalendarCalendarViewItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_cancel_request_builder.go b/users/item_calendar_calendar_view_item_cancel_request_builder.go index 25ceab2c6c9..52fc8f0729a 100644 --- a/users/item_calendar_calendar_view_item_cancel_request_builder.go +++ b/users/item_calendar_calendar_view_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemCancelRequestBuilder) ToPostRequestInformat } 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 *ItemCalendarCalendarViewItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemCancelRequestBuilder) { + return NewItemCalendarCalendarViewItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_decline_request_builder.go b/users/item_calendar_calendar_view_item_decline_request_builder.go index 3a9bc880be3..4addff68bf3 100644 --- a/users/item_calendar_calendar_view_item_decline_request_builder.go +++ b/users/item_calendar_calendar_view_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemDeclineRequestBuilder) ToPostRequestInforma } 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 *ItemCalendarCalendarViewItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemDeclineRequestBuilder) { + return NewItemCalendarCalendarViewItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go b/users/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go index 1658bd2aacc..db80e8225e4 100644 --- a/users/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarCalendarViewItemDismissReminderRequestBuilder) ToPostReques } 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 *ItemCalendarCalendarViewItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemDismissReminderRequestBuilder) { + return NewItemCalendarCalendarViewItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_count_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_count_request_builder.go index f1a50e38634..84cae10fd24 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_count_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesCountRequestBuilder) To } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesCountRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go index eb65fd945e0..d39eafd9a9b 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQuery // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQuery // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) To } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_event_item_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_event_item_request_builder.go index 19611bf0b62..d1524d413cc 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_event_item_request_builder.go @@ -119,3 +119,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesEventItemRequestBuilder } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go index 5e84026ff33..f305d30026a 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilde } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index cf347ae7b28..dd80b64707f 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachme } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachme } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachme } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go index 6c92bd4885d..c4c39099b3b 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCountReq } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 2ade5632bdc..fe3440aee36 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUpl urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUp } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUp } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go index 4b1d44ac842..67444e68fb0 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestB } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestB } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_calendar_request_builder.go index ba913f67bce..410dd0ecfee 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemCalendarRequestBuil } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go index 2bce2a0f885..d73ea1f6740 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemCancelRequestBuilde } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go index 9552247ffeb..f72cd32f6b6 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemDeclineRequestBuild } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 0269630b215..49c2dd66dfd 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemDismissReminderRequ } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go index 4445ae87782..16cdd78a96c 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsCountRequ } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 6ac635f37b4..fffb085ac73 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtension } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_request_builder.go index 1677807c904..f44559a73a1 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBu } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go index fc869c3583e..3f9aacf2e48 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemForwardRequestBuild } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go index b3d8057bb96..11486beda33 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesCountReque } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesCountRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go index aa420f46be1..827e3be805e 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBu // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBu // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaReque } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go index 5efef26b6ae..803f8db5726 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemReque // ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -117,3 +117,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemR } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go index 31bb4d9805f..52cbf9d7252 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAccept } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 3a8ace9017d..b6ea7c215d4 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachment // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go index ffb89b9845b..62208a841e3 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index 928e93190ac..9e520af5a97 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachm urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 41872a0ebd3..ada4412d643 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachment // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go index 87737ebe1e1..3daac68b1d5 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCalend } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 5b54af20031..12a834b7dfa 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCancel } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go index 75d69be97ff..1b5ac59f0c8 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDeclin } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 82f3d472a0a..4fa244cdd84 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDismis } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go index 44a887cc26a..b9aa7608d80 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index c45e2cfb3c0..99c83a575f5 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go index 61b5567981e..3c75230c711 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensions // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go index 57fa4dd47a6..aad66907a0d 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemForwar } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index d8e56832a65..61f40e2038e 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemSnooze } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index 96497ed3677..2f94167a1d1 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemTentat } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go index c7363fede87..418534bfe0d 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder // Request query parameters QueryParameters *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2String(eventId2 string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2(eventId2 string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBui } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go index cdb62e9f82b..2d500a0afa4 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemSnoozeReminderReque } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go index b637a64e6a0..31682980f54 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRe } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_request_builder.go index f292bd76943..583c954153f 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesRequestBuilderGetRequestCon // Request query parameters QueryParameters *ItemCalendarCalendarViewItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemExceptionOccurrencesRequestBuilder) ByEventId1String(eventId1 string)(*ItemCalendarCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemExceptionOccurrencesRequestBuilder) ByEventId1(eventId1 string)(*ItemCalendarCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesRequestBuilder) ToGetRe } 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 *ItemCalendarCalendarViewItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExceptionOccurrencesRequestBuilder) { + return NewItemCalendarCalendarViewItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_extensions_count_request_builder.go b/users/item_calendar_calendar_view_item_extensions_count_request_builder.go index 80f39e2c11d..78aca5a9126 100644 --- a/users/item_calendar_calendar_view_item_extensions_count_request_builder.go +++ b/users/item_calendar_calendar_view_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemExtensionsCountRequestBuilder) ToGetRequest } 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 *ItemCalendarCalendarViewItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExtensionsCountRequestBuilder) { + return NewItemCalendarCalendarViewItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go b/users/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go index 7f6c551bfab..133d09c6268 100644 --- a/users/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) ToPa } 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 *ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_extensions_request_builder.go b/users/item_calendar_calendar_view_item_extensions_request_builder.go index af0f906f0a9..01a7e485384 100644 --- a/users/item_calendar_calendar_view_item_extensions_request_builder.go +++ b/users/item_calendar_calendar_view_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarCalendarViewItemExtensionsRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) ToPostRequestInfo } 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 *ItemCalendarCalendarViewItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemExtensionsRequestBuilder) { + return NewItemCalendarCalendarViewItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_forward_request_builder.go b/users/item_calendar_calendar_view_item_forward_request_builder.go index 4b6ee643c8f..bde77543bb5 100644 --- a/users/item_calendar_calendar_view_item_forward_request_builder.go +++ b/users/item_calendar_calendar_view_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemForwardRequestBuilder) ToPostRequestInforma } 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 *ItemCalendarCalendarViewItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemForwardRequestBuilder) { + return NewItemCalendarCalendarViewItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_count_request_builder.go b/users/item_calendar_calendar_view_item_instances_count_request_builder.go index b41e2c409b3..63ced0d06dc 100644 --- a/users/item_calendar_calendar_view_item_instances_count_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemInstancesCountRequestBuilder) ToGetRequestI } 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 *ItemCalendarCalendarViewItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesCountRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_delta_request_builder.go b/users/item_calendar_calendar_view_item_instances_delta_request_builder.go index 0c55d728ea8..f70ffed8f27 100644 --- a/users/item_calendar_calendar_view_item_instances_delta_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilder) ToGetRequestI } 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 *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesDeltaRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_event_item_request_builder.go b/users/item_calendar_calendar_view_item_instances_event_item_request_builder.go index 8f16d355517..f0f33e329d6 100644 --- a/users/item_calendar_calendar_view_item_instances_event_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarCalendarViewItemInstancesEventItemRequestBuilder struct { // ItemCalendarCalendarViewItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarCalendarViewItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarCalendarViewItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -121,3 +121,7 @@ func (m *ItemCalendarCalendarViewItemInstancesEventItemRequestBuilder) ToGetRequ } 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 *ItemCalendarCalendarViewItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesEventItemRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_accept_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_accept_request_builder.go index 9a49b040008..8930d4ee7a1 100644 --- a/users/item_calendar_calendar_view_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAcceptRequestBuilder) ToPostRe } 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 *ItemCalendarCalendarViewItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemAcceptRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go index 3b63e2572fd..442f1a71041 100644 --- a/users/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemReque } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemReque } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemReque } 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 *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_attachments_count_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_attachments_count_request_builder.go index 2534c9f99f4..36c5bf37666 100644 --- a/users/item_calendar_calendar_view_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsCountRequestBuilder } 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 *ItemCalendarCalendarViewItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go index 9bf59c51dd1..e593d12a75c 100644 --- a/users/item_calendar_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionR urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSession } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSession } 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 *ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go index ddfafffc574..4579cd949b3 100644 --- a/users/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilderPostReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) Get } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToG } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) 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 *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_calendar_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_calendar_request_builder.go index f392cdcbbad..89a11b83ba1 100644 --- a/users/item_calendar_calendar_view_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemCalendarRequestBuilder) ToGetR } 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 *ItemCalendarCalendarViewItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemCalendarRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go index 06184415143..e4bb8b6fd1c 100644 --- a/users/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemCancelRequestBuilder) ToPostRe } 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 *ItemCalendarCalendarViewItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemCancelRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_decline_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_decline_request_builder.go index e7db6ce855a..ba08bd00737 100644 --- a/users/item_calendar_calendar_view_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemDeclineRequestBuilder) ToPostR } 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 *ItemCalendarCalendarViewItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemDeclineRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go index 8c54bbce292..ef7a528d9ce 100644 --- a/users/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemDismissReminderRequestBuilder) } 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 *ItemCalendarCalendarViewItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemDismissReminderRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go index 92df1dd5136..2e5814f88a1 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesCountReque } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesCountRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go index bf4363f1aa8..46641bc90f4 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBu // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBu // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaReque } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go index 1b9cbe3e2a4..05b7bbb8f14 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -115,3 +115,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesEventItemR } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go index c67f1c6b998..bd469842957 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAccept } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 0958aa69330..09c9de078e7 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachment // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go index 487d744d58d..47e6931520a 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 5781eb438cf..5e76022d45d 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachm urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 1a82a89f88f..6b7bf6a7846 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachment // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go index 502cc32cc25..69e6d425db8 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCalend } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go index c34919e1496..67a403f2095 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCancel } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go index 9f270c19770..757de77ea46 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDeclin } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index a2857e57ad2..19969f83ba4 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDismis } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go index 9ef868ca0d9..87d3fc47114 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 8801c082c90..10d1c42a833 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go index ec3a4a34f58..43536b168e8 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensions // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go index a8346912f00..3adc1a4fdcd 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemForwar } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 56131466a7a..e4735bb9f74 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemSnooze } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index bb497cddd7d..9e7a068c5f8 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemTentat } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_request_builder.go index 13c79a8d89a..5af641b54a1 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder // Request query parameters QueryParameters *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2String(eventId2 string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2(eventId2 string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesRequestBui } 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 *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_extensions_count_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_extensions_count_request_builder.go index 91de237283b..69e714accf7 100644 --- a/users/item_calendar_calendar_view_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsCountRequestBuilder) } 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 *ItemCalendarCalendarViewItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go index 75cf1e06a72..b5bb3955702 100644 --- a/users/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequest } 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 *ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_extensions_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_extensions_request_builder.go index 0f9a18f10da..d887a94022b 100644 --- a/users/item_calendar_calendar_view_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) ToPo } 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 *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_forward_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_forward_request_builder.go index 4af83e9d2df..7b809eb86fa 100644 --- a/users/item_calendar_calendar_view_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemForwardRequestBuilder) ToPostR } 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 *ItemCalendarCalendarViewItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemForwardRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go index 92cd041f56e..c46aad8b447 100644 --- a/users/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) } 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 *ItemCalendarCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go index 5d24914bacb..85cbb13f08d 100644 --- a/users/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemTentativelyAcceptRequestBuilde } 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 *ItemCalendarCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_instances_request_builder.go b/users/item_calendar_calendar_view_item_instances_request_builder.go index 33efd2edb8e..27ef26ea6c0 100644 --- a/users/item_calendar_calendar_view_item_instances_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarCalendarViewItemInstancesRequestBuilderGetQueryParameters struc // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarCalendarViewItemInstancesRequestBuilderGetQueryParameters struc // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarCalendarViewItemInstancesRequestBuilderGetRequestConfiguration // Request query parameters QueryParameters *ItemCalendarCalendarViewItemInstancesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemCalendarCalendarViewItemInstancesRequestBuilder) ByEventId1String(eventId1 string)(*ItemCalendarCalendarViewItemInstancesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemCalendarCalendarViewItemInstancesRequestBuilder) ByEventId1(eventId1 string)(*ItemCalendarCalendarViewItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarCalendarViewItemInstancesRequestBuilder) ToGetRequestInform } 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 *ItemCalendarCalendarViewItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemInstancesRequestBuilder) { + return NewItemCalendarCalendarViewItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_snooze_reminder_request_builder.go b/users/item_calendar_calendar_view_item_snooze_reminder_request_builder.go index ad0f66231e5..ffebaf179b1 100644 --- a/users/item_calendar_calendar_view_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemSnoozeReminderRequestBuilder) ToPostRequest } 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 *ItemCalendarCalendarViewItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemSnoozeReminderRequestBuilder) { + return NewItemCalendarCalendarViewItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_item_tentatively_accept_request_builder.go b/users/item_calendar_calendar_view_item_tentatively_accept_request_builder.go index 8d6fb827502..d7ef1437cbf 100644 --- a/users/item_calendar_calendar_view_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarCalendarViewItemTentativelyAcceptRequestBuilder) ToPostRequ } 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 *ItemCalendarCalendarViewItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarCalendarViewItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_calendar_view_request_builder.go b/users/item_calendar_calendar_view_request_builder.go index 526fffd2a0a..940b7ac9a79 100644 --- a/users/item_calendar_calendar_view_request_builder.go +++ b/users/item_calendar_calendar_view_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarCalendarViewRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarCalendarViewRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarCalendarViewRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemCalendarCalendarViewRequestBuilderGetQueryParameters } -// ByEventIdString provides operations to manage the calendarView property of the microsoft.graph.calendar entity. -func (m *ItemCalendarCalendarViewRequestBuilder) ByEventIdString(eventId string)(*ItemCalendarCalendarViewEventItemRequestBuilder) { +// ByEventId provides operations to manage the calendarView property of the microsoft.graph.calendar entity. +func (m *ItemCalendarCalendarViewRequestBuilder) ByEventId(eventId string)(*ItemCalendarCalendarViewEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarCalendarViewRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemCalendarCalendarViewRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarCalendarViewRequestBuilder) { + return NewItemCalendarCalendarViewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_count_request_builder.go b/users/item_calendar_events_count_request_builder.go index d4cdf2c321c..458cb3e4948 100644 --- a/users/item_calendar_events_count_request_builder.go +++ b/users/item_calendar_events_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemCalendarEventsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsCountRequestBuilder) { + return NewItemCalendarEventsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_delta_request_builder.go b/users/item_calendar_events_delta_request_builder.go index c37f717c445..57a296a7f87 100644 --- a/users/item_calendar_events_delta_request_builder.go +++ b/users/item_calendar_events_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarEventsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarEventsDeltaRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarEventsDeltaRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemCalendarEventsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsDeltaRequestBuilder) { + return NewItemCalendarEventsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_event_item_request_builder.go b/users/item_calendar_events_event_item_request_builder.go index d309a14b62a..a9e07559352 100644 --- a/users/item_calendar_events_event_item_request_builder.go +++ b/users/item_calendar_events_event_item_request_builder.go @@ -201,3 +201,7 @@ func (m *ItemCalendarEventsEventItemRequestBuilder) ToPatchRequestInformation(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 *ItemCalendarEventsEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsEventItemRequestBuilder) { + return NewItemCalendarEventsEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_accept_request_builder.go b/users/item_calendar_events_item_accept_request_builder.go index 9ee8881c7c6..ec4c649794a 100644 --- a/users/item_calendar_events_item_accept_request_builder.go +++ b/users/item_calendar_events_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemAcceptRequestBuilder) 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 *ItemCalendarEventsItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemAcceptRequestBuilder) { + return NewItemCalendarEventsItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_attachments_attachment_item_request_builder.go b/users/item_calendar_events_item_attachments_attachment_item_request_builder.go index f45e8cec216..61b263e91af 100644 --- a/users/item_calendar_events_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_events_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) Delete(c } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) ToDelete } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) ToGetReq } 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 *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_attachments_count_request_builder.go b/users/item_calendar_events_item_attachments_count_request_builder.go index bd5a08dbd3d..a9b50a4ec8c 100644 --- a/users/item_calendar_events_item_attachments_count_request_builder.go +++ b/users/item_calendar_events_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemAttachmentsCountRequestBuilder) ToGetRequestInfor } 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 *ItemCalendarEventsItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemAttachmentsCountRequestBuilder) { + return NewItemCalendarEventsItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_events_item_attachments_create_upload_session_request_builder.go index b6cfffca7c2..21c694e0b77 100644 --- a/users/item_calendar_events_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_events_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilder) Pos } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarEventsItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilder) 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 *ItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_attachments_request_builder.go b/users/item_calendar_events_item_attachments_request_builder.go index 3eb0157673e..79c97b1873f 100644 --- a/users/item_calendar_events_item_attachments_request_builder.go +++ b/users/item_calendar_events_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarEventsItemAttachmentsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) ToGetRequestInformatio } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) ToPostRequestInformati } 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 *ItemCalendarEventsItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemAttachmentsRequestBuilder) { + return NewItemCalendarEventsItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_calendar_request_builder.go b/users/item_calendar_events_item_calendar_request_builder.go index b30d456576c..0f5110f1de4 100644 --- a/users/item_calendar_events_item_calendar_request_builder.go +++ b/users/item_calendar_events_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarEventsItemCalendarRequestBuilder) ToGetRequestInformation(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 *ItemCalendarEventsItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemCalendarRequestBuilder) { + return NewItemCalendarEventsItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_cancel_request_builder.go b/users/item_calendar_events_item_cancel_request_builder.go index a94c58513a4..9b4be00926a 100644 --- a/users/item_calendar_events_item_cancel_request_builder.go +++ b/users/item_calendar_events_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemCancelRequestBuilder) 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 *ItemCalendarEventsItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemCancelRequestBuilder) { + return NewItemCalendarEventsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_decline_request_builder.go b/users/item_calendar_events_item_decline_request_builder.go index fd2300b0dcd..d4d42a76464 100644 --- a/users/item_calendar_events_item_decline_request_builder.go +++ b/users/item_calendar_events_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemDeclineRequestBuilder) ToPostRequestInformation(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 *ItemCalendarEventsItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemDeclineRequestBuilder) { + return NewItemCalendarEventsItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_dismiss_reminder_request_builder.go b/users/item_calendar_events_item_dismiss_reminder_request_builder.go index 10fcc9e8a71..1a91accde67 100644 --- a/users/item_calendar_events_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_events_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarEventsItemDismissReminderRequestBuilder) ToPostRequestInfor } 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 *ItemCalendarEventsItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemDismissReminderRequestBuilder) { + return NewItemCalendarEventsItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_count_request_builder.go b/users/item_calendar_events_item_exception_occurrences_count_request_builder.go index 5797d7f4eb4..7cd86ac3911 100644 --- a/users/item_calendar_events_item_exception_occurrences_count_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesCountRequestBuilder) ToGetReq } 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 *ItemCalendarEventsItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesCountRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_events_item_exception_occurrences_delta_request_builder.go index 27fa19745a3..b54336cd8ef 100644 --- a/users/item_calendar_events_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParame // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParame // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder) ToGetReq } 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 *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_event_item_request_builder.go b/users/item_calendar_events_item_exception_occurrences_event_item_request_builder.go index 88804eeb65b..24119b96d86 100644 --- a/users/item_calendar_events_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_event_item_request_builder.go @@ -119,3 +119,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesEventItemRequestBuilder) ToGe } 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 *ItemCalendarEventsItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go index e8c559bc843..2b96f414840 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAcceptRequestBuilder) 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 *ItemCalendarEventsItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index ceba42456fc..06b7ea15fa6 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItem } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItem } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItem } 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 *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_attachments_count_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_attachments_count_request_builder.go index a094266c93b..2707797a202 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCountRequestBu } 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 *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 7a45ffdd2e7..ce67e79d25d 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSes urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSe } 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 *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go index 80c453e778f..0e7eba554a7 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderPost // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder } 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 *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_calendar_request_builder.go index 03b228f428e..ded8c70b27b 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemCalendarRequestBuilder) T } 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 *ItemCalendarEventsItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go index e07011b5f7f..0797bf053e8 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemCancelRequestBuilder) 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 *ItemCalendarEventsItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go index 5945d500471..cea377e359a 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemDeclineRequestBuilder) To } 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 *ItemCalendarEventsItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 42b288b30c5..9f9680b7e14 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemDismissReminderRequestBui } 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 *ItemCalendarEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_extensions_count_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_extensions_count_request_builder.go index 7a9becb32c6..fb0cfdc6d7e 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsCountRequestBui } 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 *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 96a731a12c8..e4b3dc5f6a2 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRe } 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 *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_extensions_request_builder.go index c6c2e37c064..850143b48ff 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilderPostR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) } 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 *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go index e87aee5e7d2..19474fbf92d 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemForwardRequestBuilder) To } 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 *ItemCalendarEventsItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_count_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_count_request_builder.go index 56dcbddab93..fe0fe4b1588 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_count_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesCountRequestBuil } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesCountRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go index 5e047fbb4b4..5995d08d088 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderG // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderG // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuil } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_event_item_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_event_item_request_builder.go index 1db477eaa30..ee09cd84da9 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuil // ItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -117,3 +117,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequest } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go index d6a690f8210..4b9036b3f40 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAcceptReques } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 69ad579454a..4d1cfe87035 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttac // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsA } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsA } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsA } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go index 42f8c48d28f..f49ae0b9545 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsC } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index 3c5140a109b..383e137d86d 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCr urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsC } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go index c4f3c28a718..63d13b45aa4 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsR } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsR } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go index bccebe22488..d375b678753 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCalendarRequ } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 6fc821f13c3..05f2dfcae8b 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCancelReques } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go index f7bef1190b5..16e0cc0142e 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDeclineReque } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 7d84277b9f5..b0fac188d86 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDismissRemin } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go index 30d4589ea49..e814e991d56 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsCo } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index 942f58b08b2..cff9f88f93f 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsEx } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go index a4d5144b466..bf4cf76e325 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRe } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go index 4854350ac17..4b291a109a4 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemForwardReque } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index de2dd7c86cc..54192bea893 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemSnoozeRemind } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index b2936f0c24e..4d51085d83f 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemTentativelyA } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go index b661aa2b33c..f9aef3b84be 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetQue // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetQue // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetReq // Request query parameters QueryParameters *ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2String(eventId2 string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2(eventId2 string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilder) } 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 *ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go index 7e1bd7d9da0..3bc2c8e86ff 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuil } 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 *ItemCalendarEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go index 52437765ec8..b802d223abc 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemTentativelyAcceptRequestB } 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 *ItemCalendarEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_exception_occurrences_request_builder.go b/users/item_calendar_events_item_exception_occurrences_request_builder.go index 9346e7f2eed..55446ba571b 100644 --- a/users/item_calendar_events_item_exception_occurrences_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemCalendarEventsItemExceptionOccurrencesRequestBuilderGetRequestConfigura // Request query parameters QueryParameters *ItemCalendarEventsItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemExceptionOccurrencesRequestBuilder) ByEventId1String(eventId1 string)(*ItemCalendarEventsItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemExceptionOccurrencesRequestBuilder) ByEventId1(eventId1 string)(*ItemCalendarEventsItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesRequestBuilder) ToGetRequestI } 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 *ItemCalendarEventsItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExceptionOccurrencesRequestBuilder) { + return NewItemCalendarEventsItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_extensions_count_request_builder.go b/users/item_calendar_events_item_extensions_count_request_builder.go index 50941de7fc8..f26175fe9ef 100644 --- a/users/item_calendar_events_item_extensions_count_request_builder.go +++ b/users/item_calendar_events_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemExtensionsCountRequestBuilder) ToGetRequestInform } 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 *ItemCalendarEventsItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExtensionsCountRequestBuilder) { + return NewItemCalendarEventsItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_extensions_extension_item_request_builder.go b/users/item_calendar_events_item_extensions_extension_item_request_builder.go index 3c8694f5c21..4eab9ad0d8f 100644 --- a/users/item_calendar_events_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_events_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) ToPatchReq } 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 *ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarEventsItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_extensions_request_builder.go b/users/item_calendar_events_item_extensions_request_builder.go index 5da9a52d781..1b4931540b7 100644 --- a/users/item_calendar_events_item_extensions_request_builder.go +++ b/users/item_calendar_events_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarEventsItemExtensionsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarEventsItemExtensionsRequestBuilder) ToPostRequestInformatio } 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 *ItemCalendarEventsItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemExtensionsRequestBuilder) { + return NewItemCalendarEventsItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_forward_request_builder.go b/users/item_calendar_events_item_forward_request_builder.go index eada8350745..dbddec98134 100644 --- a/users/item_calendar_events_item_forward_request_builder.go +++ b/users/item_calendar_events_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemForwardRequestBuilder) ToPostRequestInformation(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 *ItemCalendarEventsItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemForwardRequestBuilder) { + return NewItemCalendarEventsItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_count_request_builder.go b/users/item_calendar_events_item_instances_count_request_builder.go index 9cdb5ec0965..6bd5ddc236a 100644 --- a/users/item_calendar_events_item_instances_count_request_builder.go +++ b/users/item_calendar_events_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemInstancesCountRequestBuilder) ToGetRequestInforma } 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 *ItemCalendarEventsItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesCountRequestBuilder) { + return NewItemCalendarEventsItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_delta_request_builder.go b/users/item_calendar_events_item_instances_delta_request_builder.go index b47323dd0b9..99f6d527429 100644 --- a/users/item_calendar_events_item_instances_delta_request_builder.go +++ b/users/item_calendar_events_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarEventsItemInstancesDeltaRequestBuilderGetQueryParameters struct // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarEventsItemInstancesDeltaRequestBuilderGetQueryParameters struct // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarEventsItemInstancesDeltaRequestBuilder) ToGetRequestInforma } 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 *ItemCalendarEventsItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesDeltaRequestBuilder) { + return NewItemCalendarEventsItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_event_item_request_builder.go b/users/item_calendar_events_item_instances_event_item_request_builder.go index f6ad504710d..57575b2a869 100644 --- a/users/item_calendar_events_item_instances_event_item_request_builder.go +++ b/users/item_calendar_events_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarEventsItemInstancesEventItemRequestBuilder struct { // ItemCalendarEventsItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarEventsItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarEventsItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -121,3 +121,7 @@ func (m *ItemCalendarEventsItemInstancesEventItemRequestBuilder) ToGetRequestInf } 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 *ItemCalendarEventsItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesEventItemRequestBuilder) { + return NewItemCalendarEventsItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_accept_request_builder.go b/users/item_calendar_events_item_instances_item_accept_request_builder.go index e634965416d..394e469e21a 100644 --- a/users/item_calendar_events_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_events_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemAcceptRequestBuilder) ToPostRequestI } 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 *ItemCalendarEventsItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemAcceptRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go index 280c92fcbe5..e8e5033d95b 100644 --- a/users/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderD // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuil } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuil } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuil } 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 *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_attachments_count_request_builder.go b/users/item_calendar_events_item_instances_item_attachments_count_request_builder.go index 0cc06b62bff..4089be9f979 100644 --- a/users/item_calendar_events_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendar_events_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilder) ToGe } 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 *ItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go index 0d4f751ddd2..6e0e2466875 100644 --- a/users/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequest urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionReques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionReques } 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 *ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_attachments_request_builder.go b/users/item_calendar_events_item_instances_item_attachments_request_builder.go index daafaa69d3f..78f6a46ba73 100644 --- a/users/item_calendar_events_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_events_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderPostRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) Get(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) ToGetRequ } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) ToPostReq } 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 *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_calendar_request_builder.go b/users/item_calendar_events_item_instances_item_calendar_request_builder.go index 9c99122871a..8d54db31a50 100644 --- a/users/item_calendar_events_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_events_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarEventsItemInstancesItemCalendarRequestBuilder) ToGetRequest } 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 *ItemCalendarEventsItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemCalendarRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_cancel_request_builder.go b/users/item_calendar_events_item_instances_item_cancel_request_builder.go index b92e96dcca7..f9df0610807 100644 --- a/users/item_calendar_events_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_events_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemCancelRequestBuilder) ToPostRequestI } 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 *ItemCalendarEventsItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemCancelRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_decline_request_builder.go b/users/item_calendar_events_item_instances_item_decline_request_builder.go index ad1fae6ac3f..ad03691b260 100644 --- a/users/item_calendar_events_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_events_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemDeclineRequestBuilder) ToPostRequest } 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 *ItemCalendarEventsItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemDeclineRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go index 6c4c4958d2c..964bc04b122 100644 --- a/users/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarEventsItemInstancesItemDismissReminderRequestBuilder) ToPos } 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 *ItemCalendarEventsItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemDismissReminderRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_count_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_count_request_builder.go index f2854487402..07abc370039 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_count_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesCountRequestBuil } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesCountRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go index db440910310..e1d95d0bbc0 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderG // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderG // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuil } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_event_item_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_event_item_request_builder.go index 65778ac0f83..8152430b75b 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -115,3 +115,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesEventItemRequest } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go index 78afefc928d..5246c263488 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAcceptReques } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index ecf2406d1af..5c7fb92b94c 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttac // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsA } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsA } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsA } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go index 30fa61cb600..f64457a3046 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsC } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 4cc584dafbb..7c08c419290 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCr urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsC } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 5c5291847a4..f06bab41875 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsR } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsR } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go index ee19abf0fb8..7f331199e5b 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCalendarRequ } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 87bfc27ad73..39f6610a3f8 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCancelReques } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go index f87e7da4468..2ff5df390bc 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDeclineReque } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index ffd620f674f..47f40f5c5e3 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDismissRemin } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go index ecb160d7e39..c82d27f1210 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsCo } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 65416f13ae2..b1a9ec72a7e 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsEx } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 322d5a71f08..a0a95bb479c 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRe } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go index f20dca22645..a9a6c0c183f 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemForwardReque } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 6d20da3656a..c1cb5f2772b 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemSnoozeRemind } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 9dbf741b78a..ee1f619da0a 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemTentativelyA } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_request_builder.go index 9d520738016..0328b6d9675 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemCalendarEventsItemInstancesItemExceptionOccurrencesRequestBuilderGetReq // Request query parameters QueryParameters *ItemCalendarEventsItemInstancesItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2String(eventId2 string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2(eventId2 string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesRequestBuilder) } 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 *ItemCalendarEventsItemInstancesItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_extensions_count_request_builder.go b/users/item_calendar_events_item_instances_item_extensions_count_request_builder.go index fbe0db8ae8d..84c26843d54 100644 --- a/users/item_calendar_events_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendar_events_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilder) ToGet } 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 *ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go index 8e3dd9c6bb8..f7f140731ed 100644 --- a/users/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilde } 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 *ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_extensions_request_builder.go b/users/item_calendar_events_item_instances_item_extensions_request_builder.go index 35f4f474f4a..d4b3256f879 100644 --- a/users/item_calendar_events_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_events_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarEventsItemInstancesItemExtensionsRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) ToPostRequ } 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 *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_forward_request_builder.go b/users/item_calendar_events_item_instances_item_forward_request_builder.go index eb1eaf6a8a3..1dbce279db5 100644 --- a/users/item_calendar_events_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_events_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemForwardRequestBuilder) ToPostRequest } 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 *ItemCalendarEventsItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemForwardRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go index 1f9836ad0be..dfe7db3f6e0 100644 --- a/users/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemSnoozeReminderRequestBuilder) ToPost } 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 *ItemCalendarEventsItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go index 221fc61d52c..77389e6c2a0 100644 --- a/users/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemInstancesItemTentativelyAcceptRequestBuilder) 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 *ItemCalendarEventsItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarEventsItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_instances_request_builder.go b/users/item_calendar_events_item_instances_request_builder.go index ad3c81e2d1f..d1f22009e05 100644 --- a/users/item_calendar_events_item_instances_request_builder.go +++ b/users/item_calendar_events_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarEventsItemInstancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarEventsItemInstancesRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarEventsItemInstancesRequestBuilderGetRequestConfiguration struct // Request query parameters QueryParameters *ItemCalendarEventsItemInstancesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemCalendarEventsItemInstancesRequestBuilder) ByEventId1String(eventId1 string)(*ItemCalendarEventsItemInstancesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemCalendarEventsItemInstancesRequestBuilder) ByEventId1(eventId1 string)(*ItemCalendarEventsItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarEventsItemInstancesRequestBuilder) 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 *ItemCalendarEventsItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemInstancesRequestBuilder) { + return NewItemCalendarEventsItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_snooze_reminder_request_builder.go b/users/item_calendar_events_item_snooze_reminder_request_builder.go index cf36c051b09..b2ad9f09e62 100644 --- a/users/item_calendar_events_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_events_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemSnoozeReminderRequestBuilder) ToPostRequestInform } 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 *ItemCalendarEventsItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemSnoozeReminderRequestBuilder) { + return NewItemCalendarEventsItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_item_tentatively_accept_request_builder.go b/users/item_calendar_events_item_tentatively_accept_request_builder.go index 56cb57beeda..2a2f33ba138 100644 --- a/users/item_calendar_events_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_events_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarEventsItemTentativelyAcceptRequestBuilder) ToPostRequestInf } 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 *ItemCalendarEventsItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarEventsItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_events_request_builder.go b/users/item_calendar_events_request_builder.go index 128a149b510..21c58ec8c89 100644 --- a/users/item_calendar_events_request_builder.go +++ b/users/item_calendar_events_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarEventsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEventIdString provides operations to manage the events property of the microsoft.graph.calendar entity. -func (m *ItemCalendarEventsRequestBuilder) ByEventIdString(eventId string)(*ItemCalendarEventsEventItemRequestBuilder) { +// ByEventId provides operations to manage the events property of the microsoft.graph.calendar entity. +func (m *ItemCalendarEventsRequestBuilder) ByEventId(eventId string)(*ItemCalendarEventsEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,7 @@ func (m *ItemCalendarEventsRequestBuilder) 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 *ItemCalendarEventsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarEventsRequestBuilder) { + return NewItemCalendarEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_get_schedule_request_builder.go b/users/item_calendar_get_schedule_request_builder.go index 4ff8b772409..8cd60146a2a 100644 --- a/users/item_calendar_get_schedule_request_builder.go +++ b/users/item_calendar_get_schedule_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemCalendarGetScheduleRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemCalendarGetScheduleRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGetScheduleRequestBuilder) { + return NewItemCalendarGetScheduleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_calendar_group_item_request_builder.go b/users/item_calendar_groups_calendar_group_item_request_builder.go index e40709c792c..46b82505cec 100644 --- a/users/item_calendar_groups_calendar_group_item_request_builder.go +++ b/users/item_calendar_groups_calendar_group_item_request_builder.go @@ -164,3 +164,7 @@ func (m *ItemCalendarGroupsCalendarGroupItemRequestBuilder) ToPatchRequestInform } 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 *ItemCalendarGroupsCalendarGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsCalendarGroupItemRequestBuilder) { + return NewItemCalendarGroupsCalendarGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_count_request_builder.go b/users/item_calendar_groups_count_request_builder.go index 7c7c38ae762..e2b95cc1220 100644 --- a/users/item_calendar_groups_count_request_builder.go +++ b/users/item_calendar_groups_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemCalendarGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsCountRequestBuilder) { + return NewItemCalendarGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_calendar_item_request_builder.go b/users/item_calendar_groups_item_calendars_calendar_item_request_builder.go index bb088294200..c33846b40dc 100644 --- a/users/item_calendar_groups_item_calendars_calendar_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_calendar_item_request_builder.go @@ -171,3 +171,7 @@ func (m *ItemCalendarGroupsItemCalendarsCalendarItemRequestBuilder) ToPatchReque } 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 *ItemCalendarGroupsItemCalendarsCalendarItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsCalendarItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsCalendarItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_count_request_builder.go b/users/item_calendar_groups_item_calendars_count_request_builder.go index c18403c975a..291ea37d196 100644 --- a/users/item_calendar_groups_item_calendars_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsCountRequestBuilder) ToGetRequestInforma } 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 *ItemCalendarGroupsItemCalendarsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_allowed_calendar_sharing_roles_with_user_request_builder.go b/users/item_calendar_groups_item_calendars_item_allowed_calendar_sharing_roles_with_user_request_builder.go index f072756d04c..b52969dcdda 100644 --- a/users/item_calendar_groups_item_calendars_item_allowed_calendar_sharing_roles_with_user_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_allowed_calendar_sharing_roles_with_user_request_builder.go @@ -83,3 +83,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemAllowedCalendarSharingRolesWithUserR } 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 *ItemCalendarGroupsItemCalendarsItemAllowedCalendarSharingRolesWithUserRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemAllowedCalendarSharingRolesWithUserRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemAllowedCalendarSharingRolesWithUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go index f4d1b91d66e..1bac32890e4 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissio } 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 *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_permissions_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_permissions_count_request_builder.go index 4166920b224..dc2b79b8c56 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_permissions_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_permissions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCountRequestBuild } 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 *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarPermissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_permissions_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_permissions_request_builder.go index 48854b6f110..27cd0764b18 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_permissions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_permissions_request_builder.go @@ -42,8 +42,8 @@ type ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilderPostReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCalendarPermissionIdString provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. -func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilder) ByCalendarPermissionIdString(calendarPermissionId string)(*ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder) { +// ByCalendarPermissionId provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. +func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilder) ByCalendarPermissionId(calendarPermissionId string)(*ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -144,3 +144,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilder) T } 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 *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_count_request_builder.go index d9bd8f12b17..a0d78ce4b8f 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewCountRequestBuilder) ToG } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_delta_request_builder.go index 7cb7354a4c9..c5f7564f0af 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilderGetQueryP // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilderGetQueryP // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilder) ToG } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_event_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_event_item_request_builder.go index e7ff3dd0486..874f5389488 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_event_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_event_item_request_builder.go @@ -121,3 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewEventItemRequestBuilder) } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewEventItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_accept_request_builder.go index 9ac1d9a7055..ee146559356 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAcceptRequestBuilder } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemAcceptRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go index c550ccce4b7..e32ce837e54 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmen } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmen } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmen } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_count_request_builder.go index 20adbf89e4b..4bb26f95845 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsCountRequ } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go index c725e829ea4..7f943f678a8 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsCreateUplo urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsCreateUpl } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsCreateUpl } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_request_builder.go index d49b134d954..4e115428d39 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBu } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBu } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_calendar_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_calendar_request_builder.go index a411bc43af8..5c2c353645b 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_calendar_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemCalendarRequestBuild } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemCalendarRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_cancel_request_builder.go index cc61936099e..3061cb08fd9 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemCancelRequestBuilder } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemCancelRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_decline_request_builder.go index 08d28349175..33ad092bc84 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemDeclineRequestBuilde } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemDeclineRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go index 1e62b34190b..6080e12e7a1 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemDismissReminderReque } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemDismissReminderRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_count_request_builder.go index 61c85b8ce3c..3b13a9579c4 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go index 037646f2c9d..318253a0c74 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesDelt // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesDelt // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_event_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_event_item_request_builder.go index d6e9562ce88..7e9f784ee3c 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_event_item_request_builder.go @@ -119,3 +119,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go index b311fb3e846..ac3f6e92a40 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index c8f8df51264..cf11d541262 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go index 643e59b3210..6220376c0c0 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 0e00c31ebd5..aab370dff8b 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go index 10c4431d382..16e50c17f0e 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go index c48f056ac17..8f6a69e9595 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go index 088698f87a0..df14ab7f544 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go index 17a17b9b2c1..7e395682010 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go index ee348271abd..a1493455923 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go index 5674eff096d..264d26d52df 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go index c890925a154..452d7e60530 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go index 6b96942ae15..69ede915efb 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go index d0ed969d8d6..9a977bfd3d3 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go index b7d31b3fa57..7a1f99bc987 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go index 3c866f8cd29..0ff09474f7c 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItem // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItem // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go index 8bb18be0536..d4a681828ed 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItem // ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -117,3 +117,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go index 90def3cb5cd..f8a226d4043 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 519a8f52a26..3bdeb6a8b5b 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go index 420f411ded3..36b83d19693 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index aafc5760a28..0291992b84f 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 1ba7a8665c8..960eadcd1e6 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go index d547d621edd..c0430a62fe9 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go index dad05fc3ebc..8384af9fd11 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go index 008fbc4ab82..05eabe601f2 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 819ae19f797..a48970a67dc 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go index 7484ffe6d99..f7dc8aa0842 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index cea6fe22723..fff37d434cd 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go index a3e8aca77d8..a4e20e5f296 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go index 7047a2f0529..8eeff241262 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index 9dec6ef5c39..430f4aca781 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index 0a254212c58..058bbb5fc79 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go index 67a2d6d2caf..46c95b0fe02 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItem // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItem // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItem // Request query parameters QueryParameters *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2String(eventId2 string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2(eventId2 string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go index d5ac46dcec4..fcb1e1b52f4 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go index ed6587bba56..9d2e551b2b2 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_request_builder.go index d860be95670..279d35538ef 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesRequ // Request query parameters QueryParameters *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesRequestBuilder) ByEventId1String(eventId1 string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesRequestBuilder) ByEventId1(eventId1 string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_count_request_builder.go index 723c4be56df..c4471c87555 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsCountReque } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go index fcfd98956c6..637ce8a5745 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsExtensionI } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_request_builder.go index 13e19903467..05a698638af 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBui } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_forward_request_builder.go index b7fd529d306..65a1665f030 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemForwardRequestBuilde } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemForwardRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_count_request_builder.go index 5b9cd72e0c7..04d785265c4 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesCountReques } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_delta_request_builder.go index 05203d8dbe6..ddb86dadedb 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaRequestBui // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaRequestBui // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaReques } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_event_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_event_item_request_builder.go index df2cccfc3ae..7a851837ed7 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_event_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesEventItemReques // ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -121,3 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesEventItemRe } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesEventItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go index 4c6bdd523d0..df98f289ce5 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAcceptR } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAcceptRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go index 243f5f8b267..ed8b567e07b 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachments // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachm } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachm } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachm } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_count_request_builder.go index 32184c68df1..d3a49de1ec8 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachm } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go index 5a7c69e1f3b..953783f6e60 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachme urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachm } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachm } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go index 451240ff2c3..ee4f6f27b9a 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachments // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachm } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachm } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachm } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_calendar_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_calendar_request_builder.go index ca2f453f66b..1ad875e6521 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemCalenda } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemCalendarRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go index bdac3b737bb..e91304feb5c 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemCancelR } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemCancelRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go index 25df23638a6..f7195c1c01e 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemDecline } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemDeclineRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go index 4bc54ffafae..c0a3304f559 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemDismiss } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemDismissReminderRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go index 8d62cf96806..e62c7debcd6 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go index 9f7b98e8e9b..a2e6524a02c 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOc // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOc // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go index 9ab3c3f1d90..35f6ecdefd4 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -115,3 +115,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go index ed5fc21a98c..22fb6a5a2c1 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 725c01bae7f..5c9f0a7f7c4 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go index 9c2b4be2ddb..54c5090ca2a 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 005538482ec..167b1f457ee 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptio urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 9f038057d94..a042fca137f 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go index 032364d732a..3c1a48d188e 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go index c99ccb9242a..0ef414bbc64 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go index 723cff428c6..f4a3b56d590 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 09486ab86ff..0d44c2cee0e 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go index 38795c71c95..56004747657 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 0aa9c745d5b..a567e216c38 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go index fcbbd3b2852..6105c49b9bf 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go index b57fe5c3479..cd611fa6414 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index e9cbd4d9627..9b80362f9fd 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 960478b958f..8f331693e78 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_request_builder.go index 80bbdf0d264..df6015430ab 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOc // Request query parameters QueryParameters *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2String(eventId2 string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2(eventId2 string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_count_request_builder.go index 979be28238b..465cacf3e6a 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensi } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go index 311de23f89e..21474677d9f 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensi } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_request_builder.go index 152a980b3bb..f62f8d3b525 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensi } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go index cdffd1867aa..1db9f8e88b9 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemForward } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemForwardRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go index a84f67c4803..c46d19b0025 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemSnoozeR } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go index 79eef5a2911..f9bf3cbe819 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemTentati } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_request_builder.go index 7d0cf58208f..ec42edb24ba 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesRequestBuilderG // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesRequestBuilderG // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesRequestBuilderG // Request query parameters QueryParameters *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesRequestBuilder) ByEventId1String(eventId1 string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesRequestBuilder) ByEventId1(eventId1 string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesRequestBuil } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go index d504f7c5efa..97f5a28b666 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemSnoozeReminderReques } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemSnoozeReminderRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go index e75a1d8a74a..e33cacca42b 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemTentativelyAcceptReq } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_request_builder.go index d1e567083ea..c44789acb8f 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_request_builder.go @@ -35,8 +35,8 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewRequestBuilderGetRequestConf // Request query parameters QueryParameters *ItemCalendarGroupsItemCalendarsItemCalendarViewRequestBuilderGetQueryParameters } -// ByEventIdString provides operations to manage the calendarView property of the microsoft.graph.calendar entity. -func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewRequestBuilder) ByEventIdString(eventId string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewEventItemRequestBuilder) { +// ByEventId provides operations to manage the calendarView property of the microsoft.graph.calendar entity. +func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewRequestBuilder) ByEventId(eventId string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewRequestBuilder) ToGetReq } 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 *ItemCalendarGroupsItemCalendarsItemCalendarViewRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemCalendarViewRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemCalendarViewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_count_request_builder.go index f81ecf4529c..574e6248785 100644 --- a/users/item_calendar_groups_item_calendars_item_events_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsCountRequestBuilder) ToGetRequ } 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 *ItemCalendarGroupsItemCalendarsItemEventsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_delta_request_builder.go index 38f25f6ac34..f72a8976c8e 100644 --- a/users/item_calendar_groups_item_calendars_item_events_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilderGetQueryParamet // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilderGetQueryParamet // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilder) ToGetRequ } 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 *ItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_event_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_event_item_request_builder.go index ce3538daa40..992383bb744 100644 --- a/users/item_calendar_groups_item_calendars_item_events_event_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_event_item_request_builder.go @@ -201,3 +201,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsEventItemRequestBuilder) 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 *ItemCalendarGroupsItemCalendarsItemEventsEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsEventItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_accept_request_builder.go index 58c4cae528d..f80e1858920 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAcceptRequestBuilder) ToPo } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemAcceptRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_attachments_attachment_item_request_builder.go index 849cb0ab928..0c254aa7f13 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemR } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemR } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemR } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_attachments_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_attachments_count_request_builder.go index dbff1b30035..a1e6115b7f7 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_attachments_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsCountRequestBui } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_attachments_create_upload_session_request_builder.go index 081cb66b78b..5860fe5da8a 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsCreateUploadSess urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsCreateUploadSes } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsCreateUploadSes } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_attachments_request_builder.go index 68ece041a37..46d27b910ad 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilderPostR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder) } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder) } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_calendar_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_calendar_request_builder.go index 5dd96bab0df..cce676806b0 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_calendar_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemCalendarRequestBuilder) To } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemCalendarRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_cancel_request_builder.go index b1827271c0e..78572afb1ae 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemCancelRequestBuilder) ToPo } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemCancelRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_decline_request_builder.go index c1aa3857b09..5ceae2c7a64 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemDeclineRequestBuilder) 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 *ItemCalendarGroupsItemCalendarsItemEventsItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemDeclineRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_dismiss_reminder_request_builder.go index 021bf4f9e72..e1f2ed0a6a4 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemDismissReminderRequestBuil } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemDismissReminderRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_count_request_builder.go index 86e58ab1049..f1256ba44ff 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesCountR } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_delta_request_builder.go index 47d9552d3ed..f9d9780cb39 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaReque // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaReque // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaR } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_event_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_event_item_request_builder.go index 5e885d93528..954e264480a 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_event_item_request_builder.go @@ -119,3 +119,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesEventI } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go index 200929f4c3a..7ceeed35ad0 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAc } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index f340eb1dd3a..5d4f0b2b80b 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttach // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAt } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAt } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAt } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_count_request_builder.go index 92c875dd0ea..3aaeecc9b6f 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAt } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 219245001b9..da0bf075308 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAtt urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAt } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go index 533e86d2520..cb38d95e453 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttach // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAt } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAt } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_calendar_request_builder.go index c09f92c7536..b53b7217d18 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemCa } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go index d057deda728..9b48545477f 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemCa } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go index aed39132a26..c082f6d6f15 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemDe } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go index ad083792f11..38a756709ab 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemDi } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_count_request_builder.go index c281f8fa130..e2df1c9a55c 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemEx } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go index b7baa4d889d..1048ccc9062 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemEx } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_request_builder.go index a2855bbc131..45a8e208613 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtens // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemEx } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go index 12a3622acbc..22776375000 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemFo } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_count_request_builder.go index ec8c2dce6bf..416be94fcee 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go index 3639f0ec64c..9bd854aa86c 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstan // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstan // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_event_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_event_item_request_builder.go index 62f205e9661..be775934241 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstan // ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -117,3 +117,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go index fe0018a690a..99a9edf17e4 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 2f8b7bf81ed..a032ddab4b8 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstan // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go index b48c79b20d2..53699f172be 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index 2a0384e34e3..d5fed0c25db 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIns urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go index b63aa3a49e2..710bdbb6634 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstan // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go index df5b6b086c9..2ae5992429f 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 76293c4e6bb..fa7e0e7ee6b 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go index 6bb04d3f0a5..58226e9acf2 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index fc67af823e1..13cb7b08649 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go index 696d00b0e17..1fdac16e814 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index 513430ae570..203a849fd4b 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go index 4a7cfe5a246..13009b901c7 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstan // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go index 6ce1b078eb6..da650fb9b11 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index 02ac5b5a7f9..0f0dc6876ad 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index a2a20db6aa1..2f57c363f65 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go index 1d559abd175..4acf0669b0d 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstan // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstan // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstan // Request query parameters QueryParameters *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2String(eventId2 string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2(eventId2 string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go index e9fdc5b8995..4ef507875d4 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemSn } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go index b63fe17da12..a385508e4f0 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemTe } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_request_builder.go index fe6fde8014e..360ccbb7f45 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesRequestBui // Request query parameters QueryParameters *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesRequestBuilder) ByEventId1String(eventId1 string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesRequestBuilder) ByEventId1(eventId1 string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesReques } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_extensions_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_extensions_count_request_builder.go index 6a5675079e5..eba0c31859b 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_extensions_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsCountRequestBuil } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_extensions_extension_item_request_builder.go index b181ccce4fe..95d980a48da 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsExtensionItemReq } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_extensions_request_builder.go index 866f275049b..4baf327e125 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilderPostRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilder) } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_forward_request_builder.go index 8fa878ef4b4..50e0aad3404 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemForwardRequestBuilder) 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 *ItemCalendarGroupsItemCalendarsItemEventsItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemForwardRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_count_request_builder.go index 6dc64c9f8dd..343405ed744 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesCountRequestBuild } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_delta_request_builder.go index a74acc29329..b069a324b3a 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuilderGe // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuilderGe // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuild } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_event_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_event_item_request_builder.go index c6e174d575e..6bfacaffc86 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_event_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesEventItemRequestBuild // ItemCalendarGroupsItemCalendarsItemEventsItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarGroupsItemCalendarsItemEventsItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -121,3 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesEventItemRequestB } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesEventItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_accept_request_builder.go index 7d95276f159..c875256c2df 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAcceptRequest } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAcceptRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go index 73f5f281bcd..0dcf896f942 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttach // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAt } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAt } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAt } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_count_request_builder.go index bda660317c3..fbc11ebd180 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCo } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_create_upload_session_request_builder.go index 572784d52f7..de977e2b5ea 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCre urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCr } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCr } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_request_builder.go index e56755edc0c..df9095655cb 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRe } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRe } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_calendar_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_calendar_request_builder.go index 57b985034f8..3b4cc48b3bd 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemCalendarReque } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_cancel_request_builder.go index 790e16ca6e2..3fb4e91f89d 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemCancelRequest } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemCancelRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_decline_request_builder.go index bd6ff5e6513..97ab775a8a4 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemDeclineReques } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemDeclineRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go index 736a81d42a9..c5d94a8a2c4 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemDismissRemind } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemDismissReminderRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_count_request_builder.go index ef45fbe7885..230b790b941 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go index 7a5a72276e8..c09912c1de5 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurren // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurren // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_event_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_event_item_request_builder.go index 802ca57b45d..5556027cbdc 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -115,3 +115,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go index d9f180cdbbc..b761abc5d6a 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 6ad24f1b1ff..0d6fb549012 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurren // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go index df8980c7909..f8e5a53191e 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 0d5a361b668..29aeea299af 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccur urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 45449878c70..a0afb08043e 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurren // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go index fc9c38f35e5..738242f07c1 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 62e3579e4bf..a9dec5e45d5 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go index 1b643c74516..c527cdc963e 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 03ef6fb9c2f..0fcef961df0 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go index 1c5f18a795e..08f9099ae2f 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 11f2a808eea..50550b99c38 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go index f66578451a1..d0d45c52e8a 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurren // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go index e0e643fec4a..e5b6151bacc 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 1f1ca9c09e2..108ee1c164e 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 5b7ad5d6db1..4580f3265b6 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_request_builder.go index 6e61378d8af..ef4d2397b86 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurren // Request query parameters QueryParameters *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2String(eventId2 string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2(eventId2 string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_count_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_count_request_builder.go index 7295bfb3b5a..6f00a292a79 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsCou } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go index 40c6d2def1b..0a9d22acc50 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsExt } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_request_builder.go index c7a54112342..061290118d7 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsReq } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_forward_request_builder.go index f3282626559..a2153f73efa 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemForwardReques } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemForwardRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go index 19e408936cf..e7add12ed2f 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemSnoozeReminde } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go index 96812a553fd..430f64bf349 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemTentativelyAc } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_request_builder.go index 6dff2d7effd..b5f94f72e51 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesRequestBuilderGetQuer // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesRequestBuilderGetQuer // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesRequestBuilderGetRequ // Request query parameters QueryParameters *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesRequestBuilder) ByEventId1String(eventId1 string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesRequestBuilder) ByEventId1(eventId1 string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesRequestBuilder) T } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_snooze_reminder_request_builder.go index a6747afb015..d6ede79266d 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemSnoozeReminderRequestBuild } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemSnoozeReminderRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_tentatively_accept_request_builder.go index fe2db34178e..ea8a6be38e5 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemTentativelyAcceptRequestBu } 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 *ItemCalendarGroupsItemCalendarsItemEventsItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_events_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_request_builder.go index ce3943c1293..81e032faed2 100644 --- a/users/item_calendar_groups_item_calendars_item_events_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarGroupsItemCalendarsItemEventsRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEventIdString provides operations to manage the events property of the microsoft.graph.calendar entity. -func (m *ItemCalendarGroupsItemCalendarsItemEventsRequestBuilder) ByEventIdString(eventId string)(*ItemCalendarGroupsItemCalendarsItemEventsEventItemRequestBuilder) { +// ByEventId provides operations to manage the events property of the microsoft.graph.calendar entity. +func (m *ItemCalendarGroupsItemCalendarsItemEventsRequestBuilder) ByEventId(eventId string)(*ItemCalendarGroupsItemCalendarsItemEventsEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsRequestBuilder) ToPostRequestI } 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 *ItemCalendarGroupsItemCalendarsItemEventsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemEventsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_item_get_schedule_request_builder.go b/users/item_calendar_groups_item_calendars_item_get_schedule_request_builder.go index 4a587e7f25f..c9866715121 100644 --- a/users/item_calendar_groups_item_calendars_item_get_schedule_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_get_schedule_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemGetScheduleRequestBuilder) ToPostReq } 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 *ItemCalendarGroupsItemCalendarsItemGetScheduleRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsItemGetScheduleRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsItemGetScheduleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_item_calendars_request_builder.go b/users/item_calendar_groups_item_calendars_request_builder.go index d76bd86da59..700d727d95c 100644 --- a/users/item_calendar_groups_item_calendars_request_builder.go +++ b/users/item_calendar_groups_item_calendars_request_builder.go @@ -42,8 +42,8 @@ type ItemCalendarGroupsItemCalendarsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCalendarIdString provides operations to manage the calendars property of the microsoft.graph.calendarGroup entity. -func (m *ItemCalendarGroupsItemCalendarsRequestBuilder) ByCalendarIdString(calendarId string)(*ItemCalendarGroupsItemCalendarsCalendarItemRequestBuilder) { +// ByCalendarId provides operations to manage the calendars property of the microsoft.graph.calendarGroup entity. +func (m *ItemCalendarGroupsItemCalendarsRequestBuilder) ByCalendarId(calendarId string)(*ItemCalendarGroupsItemCalendarsCalendarItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -147,3 +147,7 @@ func (m *ItemCalendarGroupsItemCalendarsRequestBuilder) 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 *ItemCalendarGroupsItemCalendarsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsItemCalendarsRequestBuilder) { + return NewItemCalendarGroupsItemCalendarsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_groups_request_builder.go b/users/item_calendar_groups_request_builder.go index eb4e0c4b954..ae7870d4abe 100644 --- a/users/item_calendar_groups_request_builder.go +++ b/users/item_calendar_groups_request_builder.go @@ -42,8 +42,8 @@ type ItemCalendarGroupsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCalendarGroupIdString provides operations to manage the calendarGroups property of the microsoft.graph.user entity. -func (m *ItemCalendarGroupsRequestBuilder) ByCalendarGroupIdString(calendarGroupId string)(*ItemCalendarGroupsCalendarGroupItemRequestBuilder) { +// ByCalendarGroupId provides operations to manage the calendarGroups property of the microsoft.graph.user entity. +func (m *ItemCalendarGroupsRequestBuilder) ByCalendarGroupId(calendarGroupId string)(*ItemCalendarGroupsCalendarGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -147,3 +147,7 @@ func (m *ItemCalendarGroupsRequestBuilder) 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 *ItemCalendarGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarGroupsRequestBuilder) { + return NewItemCalendarGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_request_builder.go b/users/item_calendar_request_builder.go index 5e4cb4fcc4a..5c0d7e126e6 100644 --- a/users/item_calendar_request_builder.go +++ b/users/item_calendar_request_builder.go @@ -142,3 +142,7 @@ func (m *ItemCalendarRequestBuilder) ToPatchRequestInformation(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 *ItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarRequestBuilder) { + return NewItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_count_request_builder.go b/users/item_calendar_view_count_request_builder.go index 50480304d84..99122aa09af 100644 --- a/users/item_calendar_view_count_request_builder.go +++ b/users/item_calendar_view_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemCalendarViewCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewCountRequestBuilder) { + return NewItemCalendarViewCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_delta_request_builder.go b/users/item_calendar_view_delta_request_builder.go index a261c1af15a..ce5efaae970 100644 --- a/users/item_calendar_view_delta_request_builder.go +++ b/users/item_calendar_view_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarViewDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarViewDeltaRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarViewDeltaRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemCalendarViewDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewDeltaRequestBuilder) { + return NewItemCalendarViewDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_event_item_request_builder.go b/users/item_calendar_view_event_item_request_builder.go index 0ede24ea0ab..0a57c2ca21e 100644 --- a/users/item_calendar_view_event_item_request_builder.go +++ b/users/item_calendar_view_event_item_request_builder.go @@ -14,13 +14,13 @@ type ItemCalendarViewEventItemRequestBuilder struct { // ItemCalendarViewEventItemRequestBuilderGetQueryParameters the calendar view for the calendar. Read-only. Nullable. type ItemCalendarViewEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Expand related entities Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarViewEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarViewEventItemRequestBuilderGetRequestConfiguration struct { @@ -127,3 +127,7 @@ func (m *ItemCalendarViewEventItemRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemCalendarViewEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewEventItemRequestBuilder) { + return NewItemCalendarViewEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_accept_request_builder.go b/users/item_calendar_view_item_accept_request_builder.go index fb4afdeee4e..95e981693e8 100644 --- a/users/item_calendar_view_item_accept_request_builder.go +++ b/users/item_calendar_view_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemAcceptRequestBuilder) 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 *ItemCalendarViewItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemAcceptRequestBuilder) { + return NewItemCalendarViewItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_attachments_attachment_item_request_builder.go b/users/item_calendar_view_item_attachments_attachment_item_request_builder.go index 16c42c57b3e..cf3c98e42c9 100644 --- a/users/item_calendar_view_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_view_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRe } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToGetReque } 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 *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_attachments_count_request_builder.go b/users/item_calendar_view_item_attachments_count_request_builder.go index 7ea0e2378d2..d4abadc7ddd 100644 --- a/users/item_calendar_view_item_attachments_count_request_builder.go +++ b/users/item_calendar_view_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemAttachmentsCountRequestBuilder) ToGetRequestInforma } 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 *ItemCalendarViewItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemAttachmentsCountRequestBuilder) { + return NewItemCalendarViewItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_view_item_attachments_create_upload_session_request_builder.go index eafd7b1c0af..87d4f0a68d2 100644 --- a/users/item_calendar_view_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_view_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) Post( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarViewItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) ToPos } 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 *ItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_attachments_request_builder.go b/users/item_calendar_view_item_attachments_request_builder.go index b76261b10b4..dda1afaaec5 100644 --- a/users/item_calendar_view_item_attachments_request_builder.go +++ b/users/item_calendar_view_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarViewItemAttachmentsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarViewItemAttachmentsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarViewItemAttachmentsRequestBuilder) ToGetRequestInformation( } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarViewItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarViewItemAttachmentsRequestBuilder) 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 *ItemCalendarViewItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemAttachmentsRequestBuilder) { + return NewItemCalendarViewItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_calendar_request_builder.go b/users/item_calendar_view_item_calendar_request_builder.go index 48ab1de1415..4f3ce2f043f 100644 --- a/users/item_calendar_view_item_calendar_request_builder.go +++ b/users/item_calendar_view_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarViewItemCalendarRequestBuilder) ToGetRequestInformation(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 *ItemCalendarViewItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemCalendarRequestBuilder) { + return NewItemCalendarViewItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_cancel_request_builder.go b/users/item_calendar_view_item_cancel_request_builder.go index 6b9828af54a..0252c5ea526 100644 --- a/users/item_calendar_view_item_cancel_request_builder.go +++ b/users/item_calendar_view_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemCancelRequestBuilder) 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 *ItemCalendarViewItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemCancelRequestBuilder) { + return NewItemCalendarViewItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_decline_request_builder.go b/users/item_calendar_view_item_decline_request_builder.go index 2c8a9e59fa6..bf85612a984 100644 --- a/users/item_calendar_view_item_decline_request_builder.go +++ b/users/item_calendar_view_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemDeclineRequestBuilder) 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 *ItemCalendarViewItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemDeclineRequestBuilder) { + return NewItemCalendarViewItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_dismiss_reminder_request_builder.go b/users/item_calendar_view_item_dismiss_reminder_request_builder.go index 58a3baf1624..af74fa0caec 100644 --- a/users/item_calendar_view_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_view_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarViewItemDismissReminderRequestBuilder) ToPostRequestInforma } 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 *ItemCalendarViewItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemDismissReminderRequestBuilder) { + return NewItemCalendarViewItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_count_request_builder.go b/users/item_calendar_view_item_exception_occurrences_count_request_builder.go index 3c48952ecaa..cb8d0ef55f2 100644 --- a/users/item_calendar_view_item_exception_occurrences_count_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesCountRequestBuilder) ToGetReque } 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 *ItemCalendarViewItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesCountRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_view_item_exception_occurrences_delta_request_builder.go index 244f796d50b..22fbb1c688e 100644 --- a/users/item_calendar_view_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQueryParamete // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetQueryParamete // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) ToGetReque } 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 *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_event_item_request_builder.go b/users/item_calendar_view_item_exception_occurrences_event_item_request_builder.go index 2ca8b8aa824..2e4a596427a 100644 --- a/users/item_calendar_view_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_event_item_request_builder.go @@ -119,3 +119,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) ToGetR } 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 *ItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go index 1625b78d136..6fc955f767f 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder) ToPos } 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 *ItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 1d4e1dd3baa..02e83ab71cc 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRe } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRe } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRe } 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 *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go index 50db2cbe7ec..fca370a9b7b 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCountRequestBuil } 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 *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 945a71b9ca4..df89a04f752 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessi urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSess } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSess } 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 *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go index d0dd78541fc..2355d6bdd6b 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) } 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 *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go index 379a8683d2a..245712847fd 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemCalendarRequestBuilder) ToG } 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 *ItemCalendarViewItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go index cf26a5fbf4d..1615f2f0bef 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder) ToPos } 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 *ItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go index d0047e5da96..b42b4e255ac 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder) ToPo } 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 *ItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 054618aa0c2..af73fe7ee55 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuild } 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 *ItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go index 197ede5debc..5c997321719 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuild } 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 *ItemCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go index e92566cae63..c3fda078255 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequ } 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 *ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go index ca273c7a1ac..b654a6674ae 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderPostReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) T } 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 *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go index a683bbddb27..3eff434ead7 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder) ToPo } 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 *ItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go index d0f8d3fae21..0db394d5fdf 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesCountRequestBuilde } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesCountRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go index 126c59cf44e..17f40555f4e 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGet // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGet // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilde } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go index 267c121d442..81286a9d9e5 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilde // ItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -117,3 +117,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBu } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go index 0810475d7bd..5a52402354e 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestB } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 8d4682d528d..cb76cb85552 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachm // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAtt } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAtt } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAtt } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go index 70e808b7796..490ba6f675f 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCou } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index 87bc626e068..64194b61e82 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCrea urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCre } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCre } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go index de8665da984..8dcfe38f6f9 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsReq } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsReq } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go index 19a5a0c5a2e..30ba80a47a4 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemCalendarReques } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 745ac31ea4f..6e8cc47b33d 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestB } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go index ba7724b3d83..0c963c5cfe7 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequest } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 29766faefda..3fd98519424 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminde } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go index 788f7b085e3..8559b149058 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCoun } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index 705757b85ba..e7bca62b160 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExte } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go index d9de04c45b1..65b4f2d6f49 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequ } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go index 553bae0d34d..6cf3a8e175e 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequest } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index b1743abf9ff..2b57f1ff886 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminder } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index 47ebb064774..734d6ee32b0 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcc } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go index e128e9499ea..7bd7c4fe0a3 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilderGetQuery // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilderGetQuery // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilderGetReque // Request query parameters QueryParameters *ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2String(eventId2 string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2(eventId2 string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) To } 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 *ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go index ab8ad65b127..781843014bb 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilde } 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 *ItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go index 6e39ce9517d..4efd588193d 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBui } 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 *ItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_exception_occurrences_request_builder.go b/users/item_calendar_view_item_exception_occurrences_request_builder.go index cc3891c78c9..2a7d5721e53 100644 --- a/users/item_calendar_view_item_exception_occurrences_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemCalendarViewItemExceptionOccurrencesRequestBuilderGetRequestConfigurati // Request query parameters QueryParameters *ItemCalendarViewItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemExceptionOccurrencesRequestBuilder) ByEventId1String(eventId1 string)(*ItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemExceptionOccurrencesRequestBuilder) ByEventId1(eventId1 string)(*ItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesRequestBuilder) ToGetRequestInf } 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 *ItemCalendarViewItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExceptionOccurrencesRequestBuilder) { + return NewItemCalendarViewItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_extensions_count_request_builder.go b/users/item_calendar_view_item_extensions_count_request_builder.go index 185774bef72..0c531ba289e 100644 --- a/users/item_calendar_view_item_extensions_count_request_builder.go +++ b/users/item_calendar_view_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemExtensionsCountRequestBuilder) ToGetRequestInformat } 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 *ItemCalendarViewItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExtensionsCountRequestBuilder) { + return NewItemCalendarViewItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_extensions_extension_item_request_builder.go b/users/item_calendar_view_item_extensions_extension_item_request_builder.go index b06017f62d0..a519dd3b3cc 100644 --- a/users/item_calendar_view_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_view_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) ToPatchReque } 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 *ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarViewItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_extensions_request_builder.go b/users/item_calendar_view_item_extensions_request_builder.go index 27a05e75be4..81ed01e99d2 100644 --- a/users/item_calendar_view_item_extensions_request_builder.go +++ b/users/item_calendar_view_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarViewItemExtensionsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarViewItemExtensionsRequestBuilder) 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 *ItemCalendarViewItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemExtensionsRequestBuilder) { + return NewItemCalendarViewItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_forward_request_builder.go b/users/item_calendar_view_item_forward_request_builder.go index 236f9a05ca2..f2071deca64 100644 --- a/users/item_calendar_view_item_forward_request_builder.go +++ b/users/item_calendar_view_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemForwardRequestBuilder) 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 *ItemCalendarViewItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemForwardRequestBuilder) { + return NewItemCalendarViewItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_count_request_builder.go b/users/item_calendar_view_item_instances_count_request_builder.go index 7e7eba9f80a..9d81b97c882 100644 --- a/users/item_calendar_view_item_instances_count_request_builder.go +++ b/users/item_calendar_view_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemInstancesCountRequestBuilder) ToGetRequestInformati } 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 *ItemCalendarViewItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesCountRequestBuilder) { + return NewItemCalendarViewItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_delta_request_builder.go b/users/item_calendar_view_item_instances_delta_request_builder.go index 96ddf6f80ff..5e84be442d3 100644 --- a/users/item_calendar_view_item_instances_delta_request_builder.go +++ b/users/item_calendar_view_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarViewItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarViewItemInstancesDeltaRequestBuilder) ToGetRequestInformati } 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 *ItemCalendarViewItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesDeltaRequestBuilder) { + return NewItemCalendarViewItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_event_item_request_builder.go b/users/item_calendar_view_item_instances_event_item_request_builder.go index d43a6812415..5d4505341b7 100644 --- a/users/item_calendar_view_item_instances_event_item_request_builder.go +++ b/users/item_calendar_view_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarViewItemInstancesEventItemRequestBuilder struct { // ItemCalendarViewItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemCalendarViewItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarViewItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarViewItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -121,3 +121,7 @@ func (m *ItemCalendarViewItemInstancesEventItemRequestBuilder) ToGetRequestInfor } 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 *ItemCalendarViewItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesEventItemRequestBuilder) { + return NewItemCalendarViewItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_accept_request_builder.go b/users/item_calendar_view_item_instances_item_accept_request_builder.go index f73ad1921a4..74a9070f6b7 100644 --- a/users/item_calendar_view_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_view_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemAcceptRequestBuilder) ToPostRequestInf } 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 *ItemCalendarViewItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemAcceptRequestBuilder) { + return NewItemCalendarViewItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go index 26730dc2e09..3fb66c202bf 100644 --- a/users/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilde } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilde } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilde } 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 *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_attachments_count_request_builder.go b/users/item_calendar_view_item_instances_item_attachments_count_request_builder.go index 0d3d872ed90..ee06589945f 100644 --- a/users/item_calendar_view_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendar_view_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsCountRequestBuilder) ToGetR } 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 *ItemCalendarViewItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarViewItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go index 40451a27b0a..d4b0b371a8c 100644 --- a/users/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBu urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestB } 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 *ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_attachments_request_builder.go b/users/item_calendar_view_item_instances_item_attachments_request_builder.go index 3ab844d591d..4dcacbd6874 100644 --- a/users/item_calendar_view_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_view_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarViewItemInstancesItemAttachmentsRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) Get(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToGetReques } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToPostReque } 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 *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) { + return NewItemCalendarViewItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_calendar_request_builder.go b/users/item_calendar_view_item_instances_item_calendar_request_builder.go index a359adbf658..eb24dd4ea2a 100644 --- a/users/item_calendar_view_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_view_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarViewItemInstancesItemCalendarRequestBuilder) ToGetRequestIn } 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 *ItemCalendarViewItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemCalendarRequestBuilder) { + return NewItemCalendarViewItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_cancel_request_builder.go b/users/item_calendar_view_item_instances_item_cancel_request_builder.go index a172bdc37cc..d2afc4a9db3 100644 --- a/users/item_calendar_view_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_view_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemCancelRequestBuilder) ToPostRequestInf } 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 *ItemCalendarViewItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemCancelRequestBuilder) { + return NewItemCalendarViewItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_decline_request_builder.go b/users/item_calendar_view_item_instances_item_decline_request_builder.go index 237d8b9b487..ccec40132d4 100644 --- a/users/item_calendar_view_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_view_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemDeclineRequestBuilder) ToPostRequestIn } 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 *ItemCalendarViewItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemDeclineRequestBuilder) { + return NewItemCalendarViewItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go index d7d92db6d34..42bee470f47 100644 --- a/users/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarViewItemInstancesItemDismissReminderRequestBuilder) ToPostR } 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 *ItemCalendarViewItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemDismissReminderRequestBuilder) { + return NewItemCalendarViewItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go index 2a4ead024e1..3db3bb9cd61 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesCountRequestBuilde } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesCountRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go index c3deb4cabc5..8db58f85a91 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGet // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGet // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilde } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go index 0e5f0523c67..783279f7c25 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -115,3 +115,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBu } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go index 645464ce229..7c8d2ee5ff4 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestB } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 44602d48336..4092800913e 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachm // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAtt } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAtt } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAtt } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go index 30c7e39935a..27dd3e061c2 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCou } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 600b7129078..a6bb3523a56 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCrea urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCre } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCre } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 922da7d3492..7eef1d24e79 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsReq } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsReq } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go index 1f649023deb..9209670952f 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemCalendarReques } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 0c5d79045b7..8c0c3ad73fa 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestB } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go index 189a384b1c0..769ed3bfc2f 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequest } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index fe43bb3941d..add891d1204 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminde } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go index e5f30723d15..4bd4889e671 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCoun } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 205897fee2f..6237b7cb5a3 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExte } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 1aa58990586..592340be366 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequ } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go index 49f33142221..161bfc19303 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequest } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index c899f08973b..9599405515d 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminder } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 94181e7df2f..1bf74a47316 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcc } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_request_builder.go index a4242991723..aa6f9ed3c33 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilderGetReque // Request query parameters QueryParameters *ItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2String(eventId2 string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2(eventId2 string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) To } 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 *ItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_extensions_count_request_builder.go b/users/item_calendar_view_item_instances_item_extensions_count_request_builder.go index f34349a8c51..47a3fa8ecbb 100644 --- a/users/item_calendar_view_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendar_view_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsCountRequestBuilder) ToGetRe } 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 *ItemCalendarViewItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go index 754600629ae..79c78d2dc9c 100644 --- a/users/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) } 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 *ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_extensions_request_builder.go b/users/item_calendar_view_item_instances_item_extensions_request_builder.go index 972b532682f..0efe692ed8a 100644 --- a/users/item_calendar_view_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_view_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarViewItemInstancesItemExtensionsRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ToPostReques } 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 *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) { + return NewItemCalendarViewItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_forward_request_builder.go b/users/item_calendar_view_item_instances_item_forward_request_builder.go index e16a3a4f74d..0bd2328055a 100644 --- a/users/item_calendar_view_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_view_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemForwardRequestBuilder) ToPostRequestIn } 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 *ItemCalendarViewItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemForwardRequestBuilder) { + return NewItemCalendarViewItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go index 6ca10ab5385..7f0e34d3578 100644 --- a/users/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) ToPostRe } 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 *ItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go index 8b78734cb6f..dc28b2ab261 100644 --- a/users/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder) ToPos } 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 *ItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_instances_request_builder.go b/users/item_calendar_view_item_instances_request_builder.go index 77b3868d1ef..a5d36c6f387 100644 --- a/users/item_calendar_view_item_instances_request_builder.go +++ b/users/item_calendar_view_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarViewItemInstancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarViewItemInstancesRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarViewItemInstancesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemCalendarViewItemInstancesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemCalendarViewItemInstancesRequestBuilder) ByEventId1String(eventId1 string)(*ItemCalendarViewItemInstancesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemCalendarViewItemInstancesRequestBuilder) ByEventId1(eventId1 string)(*ItemCalendarViewItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarViewItemInstancesRequestBuilder) ToGetRequestInformation(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 *ItemCalendarViewItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemInstancesRequestBuilder) { + return NewItemCalendarViewItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_snooze_reminder_request_builder.go b/users/item_calendar_view_item_snooze_reminder_request_builder.go index d5c68a12ca3..ce0d6680a96 100644 --- a/users/item_calendar_view_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_view_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemSnoozeReminderRequestBuilder) ToPostRequestInformat } 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 *ItemCalendarViewItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemSnoozeReminderRequestBuilder) { + return NewItemCalendarViewItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_item_tentatively_accept_request_builder.go b/users/item_calendar_view_item_tentatively_accept_request_builder.go index cd384a61e1e..f74d5a49140 100644 --- a/users/item_calendar_view_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_view_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarViewItemTentativelyAcceptRequestBuilder) ToPostRequestInfor } 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 *ItemCalendarViewItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarViewItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendar_view_request_builder.go b/users/item_calendar_view_request_builder.go index 72f670a0344..b265d5cf92c 100644 --- a/users/item_calendar_view_request_builder.go +++ b/users/item_calendar_view_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarViewRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Expand related entities Expand []string `uriparametername:"%24expand"` // Filter items by property values @@ -28,7 +28,7 @@ type ItemCalendarViewRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -41,8 +41,8 @@ type ItemCalendarViewRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemCalendarViewRequestBuilderGetQueryParameters } -// ByEventIdString provides operations to manage the calendarView property of the microsoft.graph.user entity. -func (m *ItemCalendarViewRequestBuilder) ByEventIdString(eventId string)(*ItemCalendarViewEventItemRequestBuilder) { +// ByEventId provides operations to manage the calendarView property of the microsoft.graph.user entity. +func (m *ItemCalendarViewRequestBuilder) ByEventId(eventId string)(*ItemCalendarViewEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -111,3 +111,7 @@ func (m *ItemCalendarViewRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *ItemCalendarViewRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarViewRequestBuilder) { + return NewItemCalendarViewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_calendar_item_request_builder.go b/users/item_calendars_calendar_item_request_builder.go index 9005bbebc4c..53ee90a3ace 100644 --- a/users/item_calendars_calendar_item_request_builder.go +++ b/users/item_calendars_calendar_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemCalendarsCalendarItemRequestBuilder) ToPatchRequestInformation(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 *ItemCalendarsCalendarItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsCalendarItemRequestBuilder) { + return NewItemCalendarsCalendarItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_count_request_builder.go b/users/item_calendars_count_request_builder.go index a29adad93a2..8c342b3a514 100644 --- a/users/item_calendars_count_request_builder.go +++ b/users/item_calendars_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsCountRequestBuilder) 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 *ItemCalendarsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsCountRequestBuilder) { + return NewItemCalendarsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_allowed_calendar_sharing_roles_with_user_request_builder.go b/users/item_calendars_item_allowed_calendar_sharing_roles_with_user_request_builder.go index 33322e2d627..adb37266b6a 100644 --- a/users/item_calendars_item_allowed_calendar_sharing_roles_with_user_request_builder.go +++ b/users/item_calendars_item_allowed_calendar_sharing_roles_with_user_request_builder.go @@ -83,3 +83,7 @@ func (m *ItemCalendarsItemAllowedCalendarSharingRolesWithUserRequestBuilder) ToG } 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 *ItemCalendarsItemAllowedCalendarSharingRolesWithUserRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemAllowedCalendarSharingRolesWithUserRequestBuilder) { + return NewItemCalendarsItemAllowedCalendarSharingRolesWithUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go b/users/item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go index d0147a70763..f8b39e4dad0 100644 --- a/users/item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go +++ b/users/item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilde } 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 *ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder) { + return NewItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_permissions_count_request_builder.go b/users/item_calendars_item_calendar_permissions_count_request_builder.go index 52d776c311c..1c53ef15bfa 100644 --- a/users/item_calendars_item_calendar_permissions_count_request_builder.go +++ b/users/item_calendars_item_calendar_permissions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemCalendarPermissionsCountRequestBuilder) ToGetRequestIn } 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 *ItemCalendarsItemCalendarPermissionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarPermissionsCountRequestBuilder) { + return NewItemCalendarsItemCalendarPermissionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_permissions_request_builder.go b/users/item_calendars_item_calendar_permissions_request_builder.go index 32c3adf3a10..5dfc89882ff 100644 --- a/users/item_calendars_item_calendar_permissions_request_builder.go +++ b/users/item_calendars_item_calendar_permissions_request_builder.go @@ -42,8 +42,8 @@ type ItemCalendarsItemCalendarPermissionsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCalendarPermissionIdString provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. -func (m *ItemCalendarsItemCalendarPermissionsRequestBuilder) ByCalendarPermissionIdString(calendarPermissionId string)(*ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder) { +// ByCalendarPermissionId provides operations to manage the calendarPermissions property of the microsoft.graph.calendar entity. +func (m *ItemCalendarsItemCalendarPermissionsRequestBuilder) ByCalendarPermissionId(calendarPermissionId string)(*ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -144,3 +144,7 @@ func (m *ItemCalendarsItemCalendarPermissionsRequestBuilder) ToPostRequestInform } 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 *ItemCalendarsItemCalendarPermissionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarPermissionsRequestBuilder) { + return NewItemCalendarsItemCalendarPermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_count_request_builder.go b/users/item_calendars_item_calendar_view_count_request_builder.go index ee7547e42c7..fd7ba773f39 100644 --- a/users/item_calendars_item_calendar_view_count_request_builder.go +++ b/users/item_calendars_item_calendar_view_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemCalendarViewCountRequestBuilder) ToGetRequestInformati } 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 *ItemCalendarsItemCalendarViewCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewCountRequestBuilder) { + return NewItemCalendarsItemCalendarViewCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_delta_request_builder.go b/users/item_calendars_item_calendar_view_delta_request_builder.go index 97f8fd52407..0d810ff55b3 100644 --- a/users/item_calendars_item_calendar_view_delta_request_builder.go +++ b/users/item_calendars_item_calendar_view_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarsItemCalendarViewDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarsItemCalendarViewDeltaRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarsItemCalendarViewDeltaRequestBuilder) ToGetRequestInformati } 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 *ItemCalendarsItemCalendarViewDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewDeltaRequestBuilder) { + return NewItemCalendarsItemCalendarViewDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_event_item_request_builder.go b/users/item_calendars_item_calendar_view_event_item_request_builder.go index 6cec3348b34..4d778ed5d9d 100644 --- a/users/item_calendars_item_calendar_view_event_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarsItemCalendarViewEventItemRequestBuilder struct { // ItemCalendarsItemCalendarViewEventItemRequestBuilderGetQueryParameters the calendar view for the calendar. Navigation property. Read-only. type ItemCalendarsItemCalendarViewEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarsItemCalendarViewEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemCalendarViewEventItemRequestBuilderGetRequestConfiguration struct { @@ -125,3 +125,7 @@ func (m *ItemCalendarsItemCalendarViewEventItemRequestBuilder) ToGetRequestInfor } 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 *ItemCalendarsItemCalendarViewEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewEventItemRequestBuilder) { + return NewItemCalendarsItemCalendarViewEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_accept_request_builder.go index bed1c9ab807..a528f388d6a 100644 --- a/users/item_calendars_item_calendar_view_item_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemAcceptRequestBuilder) ToPostRequestInf } 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 *ItemCalendarsItemCalendarViewItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemAcceptRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go index d2bc160f970..c2dc6257713 100644 --- a/users/item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilde } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilde } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilde } 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 *ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_attachments_count_request_builder.go b/users/item_calendars_item_calendar_view_item_attachments_count_request_builder.go index abc9969f1ed..80a71e31697 100644 --- a/users/item_calendars_item_calendar_view_item_attachments_count_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemCalendarViewItemAttachmentsCountRequestBuilder) ToGetR } 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 *ItemCalendarsItemCalendarViewItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemAttachmentsCountRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go index 8ab78877d94..e7884a10ed8 100644 --- a/users/item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestBu urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestB } 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 *ItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_attachments_request_builder.go b/users/item_calendars_item_calendar_view_item_attachments_request_builder.go index ff605362d37..60fd2d22991 100644 --- a/users/item_calendars_item_calendar_view_item_attachments_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) Get(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) ToGetReques } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) ToPostReque } 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 *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_calendar_request_builder.go b/users/item_calendars_item_calendar_view_item_calendar_request_builder.go index 68f1164da55..a0af4a1ec03 100644 --- a/users/item_calendars_item_calendar_view_item_calendar_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarsItemCalendarViewItemCalendarRequestBuilder) ToGetRequestIn } 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 *ItemCalendarsItemCalendarViewItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemCalendarRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_cancel_request_builder.go b/users/item_calendars_item_calendar_view_item_cancel_request_builder.go index 107084468af..463d54da67f 100644 --- a/users/item_calendars_item_calendar_view_item_cancel_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemCancelRequestBuilder) ToPostRequestInf } 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 *ItemCalendarsItemCalendarViewItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemCancelRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_decline_request_builder.go b/users/item_calendars_item_calendar_view_item_decline_request_builder.go index a2ab52f5cf7..e7a18663272 100644 --- a/users/item_calendars_item_calendar_view_item_decline_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemDeclineRequestBuilder) ToPostRequestIn } 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 *ItemCalendarsItemCalendarViewItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemDeclineRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go index 9fcdf062cf3..1239abad60d 100644 --- a/users/item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarsItemCalendarViewItemDismissReminderRequestBuilder) ToPostR } 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 *ItemCalendarsItemCalendarViewItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemDismissReminderRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_count_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_count_request_builder.go index 3c4d55cc3e6..ae673ac1e38 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_count_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesCountRequestBuilde } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesCountRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go index 6f349642ec9..4815d382dfe 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGet // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGet // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilde } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_event_item_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_event_item_request_builder.go index 1a28d455388..a8d872d31a9 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_event_item_request_builder.go @@ -119,3 +119,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesEventItemRequestBu } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go index cb317c2220b..a83cec098c1 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAcceptRequestB } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index e864f8a7c72..677f52149af 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachm // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAtt } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAtt } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAtt } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go index a183e5c0131..1a0814b5d74 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCou } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index a898828aefd..be9c815711e 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCrea urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCre } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCre } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go index 347145193b4..333274657c5 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsReq } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsReq } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go index 1d9f7c74384..0dabd6511e7 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCalendarReques } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go index 9a1af349737..e92f8bc3fc0 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCancelRequestB } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go index 8e04aed5647..f15174aad45 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDeclineRequest } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 9eba4974946..8947fe09795 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDismissReminde } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go index 840ce4b0b6b..64545c772df 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsCoun } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go index fb99d7c1a7c..40eb3be29b1 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExte } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go index c35ffa36ef6..209f0c6b966 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequ } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go index b3bc0720d05..2fb9e3bf614 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemForwardRequest } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go index 9065016219b..6dca455f916 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesCount } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesCountRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go index 47fb64a1f5b..26a602cb0e0 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequ // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequ // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDelta } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go index 49335496887..7f26986c426 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesEventItem // ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -117,3 +117,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesEvent } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go index 4a82aba53f0..0c4e673a827 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 46c172cf683..5196c375d0b 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttac // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go index be6cbfc9f8e..3ecc50007b2 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index dc2cc05c1e0..81e835dffbb 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAt urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 2ca2ea7e1c6..2fc4546fde4 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttac // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go index f0e34650bd0..b5d43b61208 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemC } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 0570037743c..83376bc54bc 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemC } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go index 2ea85fcec73..b13efa3f8a3 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemD } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 32e621413c9..41674a578d3 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemD } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go index bce79dca96c..79749e978b8 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemE } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index b29d5f4383c..2aa5bf0d13f 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemE } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go index 6be7eb8cc72..5838a8943ea 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExten // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemE } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go index 74420981c9a..a8437d98639 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemF } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index ef257a3a791..8ba53e752df 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemS } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index 1689eb101f6..f542c6c7d18 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemT } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go index 03d6a563746..b8492fce7dd 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBu // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBu // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBu // Request query parameters QueryParameters *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2String(eventId2 string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2(eventId2 string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesReque } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go index f6d7267183d..a6afe274f14 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemSnoozeReminder } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go index d5466c02cd1..e36231db17e 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemTentativelyAcc } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_request_builder.go index 6cdd2a0ce38..04af6c23aec 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemCalendarsItemCalendarViewItemExceptionOccurrencesRequestBuilderGetReque // Request query parameters QueryParameters *ItemCalendarsItemCalendarViewItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesRequestBuilder) ByEventId1String(eventId1 string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesRequestBuilder) ByEventId1(eventId1 string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesRequestBuilder) To } 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 *ItemCalendarsItemCalendarViewItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_extensions_count_request_builder.go b/users/item_calendars_item_calendar_view_item_extensions_count_request_builder.go index 5f9bb0dbcae..666eca71cff 100644 --- a/users/item_calendars_item_calendar_view_item_extensions_count_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemCalendarViewItemExtensionsCountRequestBuilder) ToGetRe } 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 *ItemCalendarsItemCalendarViewItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExtensionsCountRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go index 721e85d2a18..a90a1b7531f 100644 --- a/users/item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilder) } 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 *ItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_extensions_request_builder.go b/users/item_calendars_item_calendar_view_item_extensions_request_builder.go index 23a917e4a16..eb6fcfa3177 100644 --- a/users/item_calendars_item_calendar_view_item_extensions_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarsItemCalendarViewItemExtensionsRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) ToPostReques } 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 *ItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_forward_request_builder.go b/users/item_calendars_item_calendar_view_item_forward_request_builder.go index ae15b0d9d8e..95396d94db7 100644 --- a/users/item_calendars_item_calendar_view_item_forward_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemForwardRequestBuilder) ToPostRequestIn } 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 *ItemCalendarsItemCalendarViewItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemForwardRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_count_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_count_request_builder.go index 2195627181c..557a9f754b3 100644 --- a/users/item_calendars_item_calendar_view_item_instances_count_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesCountRequestBuilder) ToGetReq } 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 *ItemCalendarsItemCalendarViewItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesCountRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_delta_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_delta_request_builder.go index 1e56aa9de58..753566a3c09 100644 --- a/users/item_calendars_item_calendar_view_item_instances_delta_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilderGetQueryParame // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilderGetQueryParame // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilder) ToGetReq } 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 *ItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_event_item_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_event_item_request_builder.go index 99d95cab1cc..24675e2ef0a 100644 --- a/users/item_calendars_item_calendar_view_item_instances_event_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarsItemCalendarViewItemInstancesEventItemRequestBuilder struct { // ItemCalendarsItemCalendarViewItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemCalendarsItemCalendarViewItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarsItemCalendarViewItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemCalendarViewItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -121,3 +121,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesEventItemRequestBuilder) ToGe } 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 *ItemCalendarsItemCalendarViewItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesEventItemRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go index c6005d75bbb..99564a1926a 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAcceptRequestBuilder) 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 *ItemCalendarsItemCalendarViewItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemAcceptRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go index 1569b1f5472..fd2e063cd49 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItem } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItem } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItem } 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 *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_attachments_count_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_attachments_count_request_builder.go index 33ac875d3e8..8ab3299d1e8 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCountRequestBu } 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 *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go index 6d7c16332be..6dd25477097 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSes urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSe } 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 *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go index 49c8a8247fa..a52cc5a64cd 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilderPost // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder } 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 *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_calendar_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_calendar_request_builder.go index 6e87f4fec22..1b19980426b 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_calendar_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemCalendarRequestBuilder) T } 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 *ItemCalendarsItemCalendarViewItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemCalendarRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go index cc39875003d..de3faceab2a 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemCancelRequestBuilder) 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 *ItemCalendarsItemCalendarViewItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemCancelRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go index dfc699f93be..7fe0dc0a8de 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemDeclineRequestBuilder) To } 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 *ItemCalendarsItemCalendarViewItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemDeclineRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go index 9f061f6ccb2..09aa9175241 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemDismissReminderRequestBui } 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 *ItemCalendarsItemCalendarViewItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemDismissReminderRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go index 981fc288537..02f3671a1b7 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesCount } 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 *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesCountRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go index b39afe0afb7..99884a839b6 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequ // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequ // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDelta } 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 *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go index 11f28aa37b4..8e3720a983d 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -115,3 +115,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesEvent } 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 *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go index 6b839198c59..e8c4154d3fa 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA } 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 *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 9290a3fc9b0..5ae4b5ef26a 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttac // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA } 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 *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go index 449d3c835bf..793e025d986 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA } 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 *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 16b5a6a9559..42438041142 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAt urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA } 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 *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go index f82c9744306..cadf154a149 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttac // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA } 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 *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go index b2839a706b4..5c3082d8c24 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemC } 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 *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 480ad6e70ce..2f9e312e7ec 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemC } 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 *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go index 30372136458..d68878cde4f 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemD } 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 *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 9acbd08e057..313decb8de2 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemD } 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 *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go index 8b4b34b27d3..738d89f7ae7 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemE } 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 *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index deab553a71b..a397d7ac68c 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemE } 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 *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 227835bd1b3..011067dcd4e 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExten // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemE } 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 *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go index b9409dcb727..df936b89d88 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemF } 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 *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index a0df9f2b40c..ebe09d87e9d 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemS } 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 *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index f6ac806b5a1..f4935d7f68a 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemT } 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 *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_request_builder.go index 83709af3a76..5ba924e9f32 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBu // Request query parameters QueryParameters *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2String(eventId2 string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2(eventId2 string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesReque } 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 *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_extensions_count_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_extensions_count_request_builder.go index 9cdc9881966..04200b81682 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsCountRequestBui } 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 *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go index 45f5ff96868..988e5c8c7c8 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRe } 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 *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_extensions_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_extensions_request_builder.go index ca23a90bc82..e7c3e3ba9d7 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_extensions_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilderPostR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) } 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 *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go index 63d31302fe4..2e18bd3bbdd 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemForwardRequestBuilder) To } 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 *ItemCalendarsItemCalendarViewItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemForwardRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go index 3e8663d8659..9f4ecf77cc2 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemSnoozeReminderRequestBuil } 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 *ItemCalendarsItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go index 8cea8c6d768..560306504cb 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemTentativelyAcceptRequestB } 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 *ItemCalendarsItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_instances_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_request_builder.go index 1c88b8232e2..5b597318373 100644 --- a/users/item_calendars_item_calendar_view_item_instances_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarsItemCalendarViewItemInstancesRequestBuilderGetQueryParameters // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarsItemCalendarViewItemInstancesRequestBuilderGetQueryParameters // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarsItemCalendarViewItemInstancesRequestBuilderGetRequestConfigura // Request query parameters QueryParameters *ItemCalendarsItemCalendarViewItemInstancesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemCalendarViewItemInstancesRequestBuilder) ByEventId1String(eventId1 string)(*ItemCalendarsItemCalendarViewItemInstancesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemCalendarViewItemInstancesRequestBuilder) ByEventId1(eventId1 string)(*ItemCalendarsItemCalendarViewItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesRequestBuilder) ToGetRequestI } 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 *ItemCalendarsItemCalendarViewItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemInstancesRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go index aa9388bc98c..2e2ab7bf0d4 100644 --- a/users/item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemSnoozeReminderRequestBuilder) ToPostRe } 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 *ItemCalendarsItemCalendarViewItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemSnoozeReminderRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go index 5b35347acec..700dfbd8c05 100644 --- a/users/item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemCalendarViewItemTentativelyAcceptRequestBuilder) ToPos } 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 *ItemCalendarsItemCalendarViewItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarsItemCalendarViewItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_calendar_view_request_builder.go b/users/item_calendars_item_calendar_view_request_builder.go index 37a92b79658..93b68be623f 100644 --- a/users/item_calendars_item_calendar_view_request_builder.go +++ b/users/item_calendars_item_calendar_view_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarsItemCalendarViewRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarsItemCalendarViewRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarsItemCalendarViewRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemCalendarsItemCalendarViewRequestBuilderGetQueryParameters } -// ByEventIdString provides operations to manage the calendarView property of the microsoft.graph.calendar entity. -func (m *ItemCalendarsItemCalendarViewRequestBuilder) ByEventIdString(eventId string)(*ItemCalendarsItemCalendarViewEventItemRequestBuilder) { +// ByEventId provides operations to manage the calendarView property of the microsoft.graph.calendar entity. +func (m *ItemCalendarsItemCalendarViewRequestBuilder) ByEventId(eventId string)(*ItemCalendarsItemCalendarViewEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarsItemCalendarViewRequestBuilder) ToGetRequestInformation(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 *ItemCalendarsItemCalendarViewRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemCalendarViewRequestBuilder) { + return NewItemCalendarsItemCalendarViewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_count_request_builder.go b/users/item_calendars_item_events_count_request_builder.go index 41cb988cc2d..ad5e5d8ce98 100644 --- a/users/item_calendars_item_events_count_request_builder.go +++ b/users/item_calendars_item_events_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemEventsCountRequestBuilder) ToGetRequestInformation(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 *ItemCalendarsItemEventsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsCountRequestBuilder) { + return NewItemCalendarsItemEventsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_delta_request_builder.go b/users/item_calendars_item_events_delta_request_builder.go index a0edba60a55..28822624e5b 100644 --- a/users/item_calendars_item_events_delta_request_builder.go +++ b/users/item_calendars_item_events_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarsItemEventsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarsItemEventsDeltaRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarsItemEventsDeltaRequestBuilder) ToGetRequestInformation(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 *ItemCalendarsItemEventsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsDeltaRequestBuilder) { + return NewItemCalendarsItemEventsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_event_item_request_builder.go b/users/item_calendars_item_events_event_item_request_builder.go index e6611fe13e6..23e45a61ae3 100644 --- a/users/item_calendars_item_events_event_item_request_builder.go +++ b/users/item_calendars_item_events_event_item_request_builder.go @@ -201,3 +201,7 @@ func (m *ItemCalendarsItemEventsEventItemRequestBuilder) ToPatchRequestInformati } 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 *ItemCalendarsItemEventsEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsEventItemRequestBuilder) { + return NewItemCalendarsItemEventsEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_accept_request_builder.go b/users/item_calendars_item_events_item_accept_request_builder.go index b3a515d343b..b156457546c 100644 --- a/users/item_calendars_item_events_item_accept_request_builder.go +++ b/users/item_calendars_item_events_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemAcceptRequestBuilder) ToPostRequestInformati } 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 *ItemCalendarsItemEventsItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemAcceptRequestBuilder) { + return NewItemCalendarsItemEventsItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_events_item_attachments_attachment_item_request_builder.go index 4c965b6df2f..c4611ec6634 100644 --- a/users/item_calendars_item_events_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_events_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) Del } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToD } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToG } 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 *ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_attachments_count_request_builder.go b/users/item_calendars_item_events_item_attachments_count_request_builder.go index 32be3c43923..493eac35ffd 100644 --- a/users/item_calendars_item_events_item_attachments_count_request_builder.go +++ b/users/item_calendars_item_events_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemEventsItemAttachmentsCountRequestBuilder) ToGetRequest } 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 *ItemCalendarsItemEventsItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemAttachmentsCountRequestBuilder) { + return NewItemCalendarsItemEventsItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_events_item_attachments_create_upload_session_request_builder.go index eb85d5cb5ef..6ec9eb74325 100644 --- a/users/item_calendars_item_events_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_events_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilder( urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarsItemEventsItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilder } 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 *ItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_attachments_request_builder.go b/users/item_calendars_item_events_item_attachments_request_builder.go index 35cbbebeb41..c28a3601640 100644 --- a/users/item_calendars_item_events_item_attachments_request_builder.go +++ b/users/item_calendars_item_events_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarsItemEventsItemAttachmentsRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemEventsItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemEventsItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarsItemEventsItemAttachmentsRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarsItemEventsItemAttachmentsRequestBuilder) ToGetRequestInfor } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarsItemEventsItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemEventsItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarsItemEventsItemAttachmentsRequestBuilder) ToPostRequestInfo } 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 *ItemCalendarsItemEventsItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemAttachmentsRequestBuilder) { + return NewItemCalendarsItemEventsItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_calendar_request_builder.go b/users/item_calendars_item_events_item_calendar_request_builder.go index 53f943ed36a..867c2209407 100644 --- a/users/item_calendars_item_events_item_calendar_request_builder.go +++ b/users/item_calendars_item_events_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarsItemEventsItemCalendarRequestBuilder) ToGetRequestInformat } 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 *ItemCalendarsItemEventsItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemCalendarRequestBuilder) { + return NewItemCalendarsItemEventsItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_cancel_request_builder.go b/users/item_calendars_item_events_item_cancel_request_builder.go index dcc4989922e..11cc7df45da 100644 --- a/users/item_calendars_item_events_item_cancel_request_builder.go +++ b/users/item_calendars_item_events_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemCancelRequestBuilder) ToPostRequestInformati } 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 *ItemCalendarsItemEventsItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemCancelRequestBuilder) { + return NewItemCalendarsItemEventsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_decline_request_builder.go b/users/item_calendars_item_events_item_decline_request_builder.go index bfb3dbcb068..2370fd34d98 100644 --- a/users/item_calendars_item_events_item_decline_request_builder.go +++ b/users/item_calendars_item_events_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemDeclineRequestBuilder) ToPostRequestInformat } 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 *ItemCalendarsItemEventsItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemDeclineRequestBuilder) { + return NewItemCalendarsItemEventsItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_events_item_dismiss_reminder_request_builder.go index 191735bd7ae..c852f699b68 100644 --- a/users/item_calendars_item_events_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarsItemEventsItemDismissReminderRequestBuilder) ToPostRequest } 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 *ItemCalendarsItemEventsItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemDismissReminderRequestBuilder) { + return NewItemCalendarsItemEventsItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_count_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_count_request_builder.go index a6c3bfa9361..f2a121e1b7a 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_count_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesCountRequestBuilder) ToG } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesCountRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_delta_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_delta_request_builder.go index 9957259f38c..d833931e803 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryP // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryP // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilder) ToG } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_event_item_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_event_item_request_builder.go index 49fa1538988..f3b8df81dce 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_event_item_request_builder.go @@ -119,3 +119,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesEventItemRequestBuilder) } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go index 504591e42f0..4982f2b83e2 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index a03270e2c0c..0068c85123e 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmen } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmen } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmen } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_attachments_count_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_attachments_count_request_builder.go index 308e04d9e87..388f67b704d 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCountRequ } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index dd75e05a733..10f69e94bbf 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUplo urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUpl } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUpl } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go index e95ed48fb6c..266f0a25187 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBu } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBu } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_calendar_request_builder.go index 8a99a1998eb..447f74bc150 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemCalendarRequestBuild } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go index 8f924c4d356..218cac0bd51 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemCancelRequestBuilder } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go index 2cec4f3256a..531d74de16c 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemDeclineRequestBuilde } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go index d185715eaf0..17b072cbc40 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemDismissReminderReque } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_extensions_count_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_extensions_count_request_builder.go index 9784f9c8a7d..0cb8b06482d 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsCountReque } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go index aea69ef2a65..4be88aa46a4 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionI } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_extensions_request_builder.go index 8141ab76bf9..2aee14dce67 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBui } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go index 2a06f58e240..c70fb3860fb 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemForwardRequestBuilde } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_count_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_count_request_builder.go index 1b8d1ad3001..cb202fa9c1c 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_count_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesCountReques } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesCountRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go index 4647be61f02..7b099ffffe8 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBui // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBui // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaReques } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_event_item_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_event_item_request_builder.go index 904ef91044d..9e31b12e5eb 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesEventItemReques // ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -117,3 +117,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesEventItemRe } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go index ee607bc5d6c..2fa6fbd5439 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAcceptR } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index e769faf5d04..b4a8a96a465 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachments // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachm } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachm } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachm } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go index 2d1a637bdfb..a41b2711b96 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachm } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index 0ef4580311f..6b29947506e 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachme urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachm } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachm } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 592a3d13216..1dc2b8bc16d 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachments // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachm } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachm } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachm } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go index e03898d77b7..027a0118bae 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCalenda } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go index ad437e841e2..a83cec48b36 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCancelR } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go index 873467ff8dd..e86cd5d4a5f 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDecline } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 3aaf44a965b..0deb8e28f8a 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDismiss } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go index 1d3e729a69b..3f3c1034a2b 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensi } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index e85460cb5b9..63387136371 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensi } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go index 369a7854376..38e5ec6df49 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensi } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go index b1ec5336576..53a96fe7019 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemForward } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index ab68f907b4c..a7f70cf8390 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeR } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index b879b94f698..486fc33562a 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemTentati } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go index 9c70017de37..f47e3931661 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesRequestBuilderG // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesRequestBuilderG // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesRequestBuilderG // Request query parameters QueryParameters *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2String(eventId2 string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2(eventId2 string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesRequestBuil } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go index 48fe30ffbeb..702915d4bed 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemSnoozeReminderReques } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go index 9e1b5fc5c16..f7c3476a4dd 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemTentativelyAcceptReq } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_exception_occurrences_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_request_builder.go index 591abc18ab6..951e951838f 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemCalendarsItemEventsItemExceptionOccurrencesRequestBuilderGetRequestConf // Request query parameters QueryParameters *ItemCalendarsItemEventsItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemEventsItemExceptionOccurrencesRequestBuilder) ByEventId1String(eventId1 string)(*ItemCalendarsItemEventsItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemEventsItemExceptionOccurrencesRequestBuilder) ByEventId1(eventId1 string)(*ItemCalendarsItemEventsItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesRequestBuilder) ToGetReq } 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 *ItemCalendarsItemEventsItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExceptionOccurrencesRequestBuilder) { + return NewItemCalendarsItemEventsItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_extensions_count_request_builder.go b/users/item_calendars_item_events_item_extensions_count_request_builder.go index 123df107181..04ba035cfa2 100644 --- a/users/item_calendars_item_events_item_extensions_count_request_builder.go +++ b/users/item_calendars_item_events_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemEventsItemExtensionsCountRequestBuilder) ToGetRequestI } 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 *ItemCalendarsItemEventsItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExtensionsCountRequestBuilder) { + return NewItemCalendarsItemEventsItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_events_item_extensions_extension_item_request_builder.go index 7cc1f6a0a60..59594ae4636 100644 --- a/users/item_calendars_item_events_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_events_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilder) 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 *ItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_extensions_request_builder.go b/users/item_calendars_item_events_item_extensions_request_builder.go index c37a348d683..f3a931f5144 100644 --- a/users/item_calendars_item_events_item_extensions_request_builder.go +++ b/users/item_calendars_item_events_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarsItemEventsItemExtensionsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemEventsItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemEventsItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarsItemEventsItemExtensionsRequestBuilder) ToPostRequestInfor } 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 *ItemCalendarsItemEventsItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemExtensionsRequestBuilder) { + return NewItemCalendarsItemEventsItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_forward_request_builder.go b/users/item_calendars_item_events_item_forward_request_builder.go index a05d973521f..67bb56d95aa 100644 --- a/users/item_calendars_item_events_item_forward_request_builder.go +++ b/users/item_calendars_item_events_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemForwardRequestBuilder) ToPostRequestInformat } 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 *ItemCalendarsItemEventsItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemForwardRequestBuilder) { + return NewItemCalendarsItemEventsItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_count_request_builder.go b/users/item_calendars_item_events_item_instances_count_request_builder.go index 70699342b00..696d3ed959f 100644 --- a/users/item_calendars_item_events_item_instances_count_request_builder.go +++ b/users/item_calendars_item_events_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemEventsItemInstancesCountRequestBuilder) ToGetRequestIn } 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 *ItemCalendarsItemEventsItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesCountRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_delta_request_builder.go b/users/item_calendars_item_events_item_instances_delta_request_builder.go index 997e171f3f4..276dd3bddd6 100644 --- a/users/item_calendars_item_events_item_instances_delta_request_builder.go +++ b/users/item_calendars_item_events_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarsItemEventsItemInstancesDeltaRequestBuilderGetQueryParameters s // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarsItemEventsItemInstancesDeltaRequestBuilderGetQueryParameters s // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarsItemEventsItemInstancesDeltaRequestBuilder) ToGetRequestIn } 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 *ItemCalendarsItemEventsItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesDeltaRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_event_item_request_builder.go b/users/item_calendars_item_events_item_instances_event_item_request_builder.go index dde65bb69bb..cdbded06ee8 100644 --- a/users/item_calendars_item_events_item_instances_event_item_request_builder.go +++ b/users/item_calendars_item_events_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemCalendarsItemEventsItemInstancesEventItemRequestBuilder struct { // ItemCalendarsItemEventsItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemCalendarsItemEventsItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemCalendarsItemEventsItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemCalendarsItemEventsItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -121,3 +121,7 @@ func (m *ItemCalendarsItemEventsItemInstancesEventItemRequestBuilder) ToGetReque } 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 *ItemCalendarsItemEventsItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesEventItemRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_accept_request_builder.go b/users/item_calendars_item_events_item_instances_item_accept_request_builder.go index c2d5359d0bb..f2513b1786f 100644 --- a/users/item_calendars_item_events_item_instances_item_accept_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAcceptRequestBuilder) ToPostReq } 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 *ItemCalendarsItemEventsItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemAcceptRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go index 37313a09538..2f7784e3991 100644 --- a/users/item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemReques } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemReques } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemReques } 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 *ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_attachments_count_request_builder.go b/users/item_calendars_item_events_item_instances_item_attachments_count_request_builder.go index 80be38122d2..c186c4adfba 100644 --- a/users/item_calendars_item_events_item_instances_item_attachments_count_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilder) } 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 *ItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_events_item_instances_item_attachments_create_upload_session_request_builder.go index 346c214aa20..fe72eef0ecc 100644 --- a/users/item_calendars_item_events_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionRe urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionR } 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 *ItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_attachments_request_builder.go b/users/item_calendars_item_events_item_instances_item_attachments_request_builder.go index cbdd363c54c..11514540f8b 100644 --- a/users/item_calendars_item_events_item_instances_item_attachments_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) ToGe } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) ToPo } 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 *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_calendar_request_builder.go b/users/item_calendars_item_events_item_instances_item_calendar_request_builder.go index 33b4d4a1614..faa7ebc4777 100644 --- a/users/item_calendars_item_events_item_instances_item_calendar_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilder) ToGetRe } 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 *ItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_cancel_request_builder.go b/users/item_calendars_item_events_item_instances_item_cancel_request_builder.go index d73cb039586..bb52e812676 100644 --- a/users/item_calendars_item_events_item_instances_item_cancel_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemCancelRequestBuilder) ToPostReq } 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 *ItemCalendarsItemEventsItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemCancelRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_decline_request_builder.go b/users/item_calendars_item_events_item_instances_item_decline_request_builder.go index c6b4b70e42c..c3377f0cf52 100644 --- a/users/item_calendars_item_events_item_instances_item_decline_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemDeclineRequestBuilder) ToPostRe } 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 *ItemCalendarsItemEventsItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemDeclineRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go index b755bc8d5a4..9e88aed2d40 100644 --- a/users/item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemDismissReminderRequestBuilder) } 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 *ItemCalendarsItemEventsItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemDismissReminderRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_count_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_count_request_builder.go index ac34ce01cc5..e2db531af1d 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_count_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesCountReques } 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 *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesCountRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go index 6747b0124b6..c28f513368c 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBui // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBui // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaReques } 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 *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_event_item_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_event_item_request_builder.go index d618d897e1e..4f7dd443461 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -115,3 +115,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesEventItemRe } 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 *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go index 51f29350f18..b87613231f8 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAcceptR } 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 *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index b7b268184b6..fef493a505e 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachments // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachm } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachm } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachm } 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 *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go index f5231c2771e..07a92f8ba48 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachm } 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 *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 3335dfb5023..bfeb9bd2184 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachme urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachm } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachm } 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 *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go index e8090576180..f594512b2e8 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachments // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachm } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachm } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachm } 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 *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go index 1f81af58251..df188841218 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCalenda } 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 *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 44aa005077e..e69b026907c 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCancelR } 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 *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go index 82d68b1a04e..3c5e163cbfe 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDecline } 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 *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 4814116c436..9b768705e10 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDismiss } 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 *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go index 000fb0e5b40..3c04b258979 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensi } 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 *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 936ae4c7da7..a60faa541f8 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensi } 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 *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 9681e32927d..bebe07ba48c 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensi } 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 *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go index 45d9ae4140a..77dc1d2eaa8 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemForward } 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 *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 39f01acde48..05c21978eb0 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeR } 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 *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 012bd00f4cd..f15f8db4ab0 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemTentati } 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 *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_request_builder.go index 868941e9eb7..1a3e27651b4 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesRequestBuilderG // Request query parameters QueryParameters *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2String(eventId2 string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2(eventId2 string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesRequestBuil } 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 *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_extensions_count_request_builder.go b/users/item_calendars_item_events_item_instances_item_extensions_count_request_builder.go index 1177b3946ae..f2f679cb064 100644 --- a/users/item_calendars_item_events_item_instances_item_extensions_count_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilder) } 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 *ItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go index 5e7dcf02821..7a5de22a70b 100644 --- a/users/item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestB } 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 *ItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_extensions_request_builder.go b/users/item_calendars_item_events_item_instances_item_extensions_request_builder.go index 1cd9b8efed1..5d20aa0d250 100644 --- a/users/item_calendars_item_events_item_instances_item_extensions_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) ToPos } 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 *ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_forward_request_builder.go b/users/item_calendars_item_events_item_instances_item_forward_request_builder.go index f320c96688b..6d8b5cdd3de 100644 --- a/users/item_calendars_item_events_item_instances_item_forward_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemForwardRequestBuilder) ToPostRe } 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 *ItemCalendarsItemEventsItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemForwardRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go index dfcb536c45c..7ca30910592 100644 --- a/users/item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemSnoozeReminderRequestBuilder) T } 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 *ItemCalendarsItemEventsItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go index 0a58741df22..744cb113833 100644 --- a/users/item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemTentativelyAcceptRequestBuilder } 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 *ItemCalendarsItemEventsItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_instances_request_builder.go b/users/item_calendars_item_events_item_instances_request_builder.go index 0eab8be7839..905b04e00cc 100644 --- a/users/item_calendars_item_events_item_instances_request_builder.go +++ b/users/item_calendars_item_events_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemCalendarsItemEventsItemInstancesRequestBuilderGetQueryParameters struct // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemCalendarsItemEventsItemInstancesRequestBuilderGetQueryParameters struct // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemCalendarsItemEventsItemInstancesRequestBuilderGetRequestConfiguration s // Request query parameters QueryParameters *ItemCalendarsItemEventsItemInstancesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemCalendarsItemEventsItemInstancesRequestBuilder) ByEventId1String(eventId1 string)(*ItemCalendarsItemEventsItemInstancesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemCalendarsItemEventsItemInstancesRequestBuilder) ByEventId1(eventId1 string)(*ItemCalendarsItemEventsItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCalendarsItemEventsItemInstancesRequestBuilder) ToGetRequestInforma } 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 *ItemCalendarsItemEventsItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemInstancesRequestBuilder) { + return NewItemCalendarsItemEventsItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_snooze_reminder_request_builder.go b/users/item_calendars_item_events_item_snooze_reminder_request_builder.go index 71ec5dcde60..dadfe84964b 100644 --- a/users/item_calendars_item_events_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemSnoozeReminderRequestBuilder) ToPostRequestI } 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 *ItemCalendarsItemEventsItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemSnoozeReminderRequestBuilder) { + return NewItemCalendarsItemEventsItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_item_tentatively_accept_request_builder.go b/users/item_calendars_item_events_item_tentatively_accept_request_builder.go index db8e9fe8853..10cb3591adf 100644 --- a/users/item_calendars_item_events_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_events_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCalendarsItemEventsItemTentativelyAcceptRequestBuilder) ToPostReque } 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 *ItemCalendarsItemEventsItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsItemTentativelyAcceptRequestBuilder) { + return NewItemCalendarsItemEventsItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_events_request_builder.go b/users/item_calendars_item_events_request_builder.go index 71c29e8f77b..59447571b66 100644 --- a/users/item_calendars_item_events_request_builder.go +++ b/users/item_calendars_item_events_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarsItemEventsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEventIdString provides operations to manage the events property of the microsoft.graph.calendar entity. -func (m *ItemCalendarsItemEventsRequestBuilder) ByEventIdString(eventId string)(*ItemCalendarsItemEventsEventItemRequestBuilder) { +// ByEventId provides operations to manage the events property of the microsoft.graph.calendar entity. +func (m *ItemCalendarsItemEventsRequestBuilder) ByEventId(eventId string)(*ItemCalendarsItemEventsEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,7 @@ func (m *ItemCalendarsItemEventsRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemCalendarsItemEventsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemEventsRequestBuilder) { + return NewItemCalendarsItemEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_item_get_schedule_request_builder.go b/users/item_calendars_item_get_schedule_request_builder.go index e86dd4db58e..e2afba96a8c 100644 --- a/users/item_calendars_item_get_schedule_request_builder.go +++ b/users/item_calendars_item_get_schedule_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemCalendarsItemGetScheduleRequestBuilder) 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 *ItemCalendarsItemGetScheduleRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsItemGetScheduleRequestBuilder) { + return NewItemCalendarsItemGetScheduleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_calendars_request_builder.go b/users/item_calendars_request_builder.go index 28a53e1204d..ffc0ea0d921 100644 --- a/users/item_calendars_request_builder.go +++ b/users/item_calendars_request_builder.go @@ -44,8 +44,8 @@ type ItemCalendarsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCalendarIdString provides operations to manage the calendars property of the microsoft.graph.user entity. -func (m *ItemCalendarsRequestBuilder) ByCalendarIdString(calendarId string)(*ItemCalendarsCalendarItemRequestBuilder) { +// ByCalendarId provides operations to manage the calendars property of the microsoft.graph.user entity. +func (m *ItemCalendarsRequestBuilder) ByCalendarId(calendarId string)(*ItemCalendarsCalendarItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemCalendarsRequestBuilder) 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 *ItemCalendarsRequestBuilder) WithUrl(rawUrl string)(*ItemCalendarsRequestBuilder) { + return NewItemCalendarsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_change_password_request_builder.go b/users/item_change_password_request_builder.go index dcbde62cca5..aa8c446bbe1 100644 --- a/users/item_change_password_request_builder.go +++ b/users/item_change_password_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemChangePasswordRequestBuilder) 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 *ItemChangePasswordRequestBuilder) WithUrl(rawUrl string)(*ItemChangePasswordRequestBuilder) { + return NewItemChangePasswordRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_all_messages_request_builder.go b/users/item_chats_all_messages_request_builder.go index 0c34f5b10f3..fd872431fb1 100644 --- a/users/item_chats_all_messages_request_builder.go +++ b/users/item_chats_all_messages_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemChatsAllMessagesRequestBuilder) ToGetRequestInformation(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 *ItemChatsAllMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemChatsAllMessagesRequestBuilder) { + return NewItemChatsAllMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_chat_item_request_builder.go b/users/item_chats_chat_item_request_builder.go index a220ebe8dfe..4a022b84ae6 100644 --- a/users/item_chats_chat_item_request_builder.go +++ b/users/item_chats_chat_item_request_builder.go @@ -208,3 +208,7 @@ func (m *ItemChatsChatItemRequestBuilder) ToPatchRequestInformation(ctx context. func (m *ItemChatsChatItemRequestBuilder) UnhideForUser()(*ItemChatsItemUnhideForUserRequestBuilder) { return NewItemChatsItemUnhideForUserRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemChatsChatItemRequestBuilder) WithUrl(rawUrl string)(*ItemChatsChatItemRequestBuilder) { + return NewItemChatsChatItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_count_request_builder.go b/users/item_chats_count_request_builder.go index e02b672511f..04bab4097e9 100644 --- a/users/item_chats_count_request_builder.go +++ b/users/item_chats_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemChatsCountRequestBuilder) ToGetRequestInformation(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 *ItemChatsCountRequestBuilder) WithUrl(rawUrl string)(*ItemChatsCountRequestBuilder) { + return NewItemChatsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_get_all_messages_request_builder.go b/users/item_chats_get_all_messages_request_builder.go index b3263c2521e..51bfe114d17 100644 --- a/users/item_chats_get_all_messages_request_builder.go +++ b/users/item_chats_get_all_messages_request_builder.go @@ -17,7 +17,7 @@ type ItemChatsGetAllMessagesRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` // The payment model for the API - Model *string + Model *string `uriparametername:"model"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Search items by search phrases @@ -86,3 +86,7 @@ func (m *ItemChatsGetAllMessagesRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemChatsGetAllMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemChatsGetAllMessagesRequestBuilder) { + return NewItemChatsGetAllMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_hide_for_user_request_builder.go b/users/item_chats_item_hide_for_user_request_builder.go index 33ad411d207..bbff653dcf2 100644 --- a/users/item_chats_item_hide_for_user_request_builder.go +++ b/users/item_chats_item_hide_for_user_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemChatsItemHideForUserRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemChatsItemHideForUserRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemHideForUserRequestBuilder) { + return NewItemChatsItemHideForUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_installed_apps_count_request_builder.go b/users/item_chats_item_installed_apps_count_request_builder.go index 1753d4c4109..b7fcf54a4f4 100644 --- a/users/item_chats_item_installed_apps_count_request_builder.go +++ b/users/item_chats_item_installed_apps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemChatsItemInstalledAppsCountRequestBuilder) 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 *ItemChatsItemInstalledAppsCountRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemInstalledAppsCountRequestBuilder) { + return NewItemChatsItemInstalledAppsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_installed_apps_item_teams_app_definition_request_builder.go b/users/item_chats_item_installed_apps_item_teams_app_definition_request_builder.go index bb9da977617..059028e4e09 100644 --- a/users/item_chats_item_installed_apps_item_teams_app_definition_request_builder.go +++ b/users/item_chats_item_installed_apps_item_teams_app_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemChatsItemInstalledAppsItemTeamsAppDefinitionRequestBuilder) ToGetRe } 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 *ItemChatsItemInstalledAppsItemTeamsAppDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemInstalledAppsItemTeamsAppDefinitionRequestBuilder) { + return NewItemChatsItemInstalledAppsItemTeamsAppDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_installed_apps_item_teams_app_request_builder.go b/users/item_chats_item_installed_apps_item_teams_app_request_builder.go index c8490dbbb24..2a7954c75ce 100644 --- a/users/item_chats_item_installed_apps_item_teams_app_request_builder.go +++ b/users/item_chats_item_installed_apps_item_teams_app_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemChatsItemInstalledAppsItemTeamsAppRequestBuilder) ToGetRequestInfor } 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 *ItemChatsItemInstalledAppsItemTeamsAppRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemInstalledAppsItemTeamsAppRequestBuilder) { + return NewItemChatsItemInstalledAppsItemTeamsAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_installed_apps_item_upgrade_request_builder.go b/users/item_chats_item_installed_apps_item_upgrade_request_builder.go index 41ff5f3f2a5..89f1c475e3b 100644 --- a/users/item_chats_item_installed_apps_item_upgrade_request_builder.go +++ b/users/item_chats_item_installed_apps_item_upgrade_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemChatsItemInstalledAppsItemUpgradeRequestBuilder) ToPostRequestInfor } 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 *ItemChatsItemInstalledAppsItemUpgradeRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemInstalledAppsItemUpgradeRequestBuilder) { + return NewItemChatsItemInstalledAppsItemUpgradeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_installed_apps_request_builder.go b/users/item_chats_item_installed_apps_request_builder.go index bca3abeb759..3abcafa8b47 100644 --- a/users/item_chats_item_installed_apps_request_builder.go +++ b/users/item_chats_item_installed_apps_request_builder.go @@ -46,8 +46,8 @@ type ItemChatsItemInstalledAppsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsAppInstallationIdString provides operations to manage the installedApps property of the microsoft.graph.chat entity. -func (m *ItemChatsItemInstalledAppsRequestBuilder) ByTeamsAppInstallationIdString(teamsAppInstallationId string)(*ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilder) { +// ByTeamsAppInstallationId provides operations to manage the installedApps property of the microsoft.graph.chat entity. +func (m *ItemChatsItemInstalledAppsRequestBuilder) ByTeamsAppInstallationId(teamsAppInstallationId string)(*ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemChatsItemInstalledAppsRequestBuilder) 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 *ItemChatsItemInstalledAppsRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemInstalledAppsRequestBuilder) { + return NewItemChatsItemInstalledAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_installed_apps_teams_app_installation_item_request_builder.go b/users/item_chats_item_installed_apps_teams_app_installation_item_request_builder.go index 4279aeed0f6..61627f661bd 100644 --- a/users/item_chats_item_installed_apps_teams_app_installation_item_request_builder.go +++ b/users/item_chats_item_installed_apps_teams_app_installation_item_request_builder.go @@ -171,3 +171,7 @@ func (m *ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilder) ToPat func (m *ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilder) Upgrade()(*ItemChatsItemInstalledAppsItemUpgradeRequestBuilder) { return NewItemChatsItemInstalledAppsItemUpgradeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilder) { + return NewItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_last_message_preview_request_builder.go b/users/item_chats_item_last_message_preview_request_builder.go index 2d712998fc1..e88f267adfc 100644 --- a/users/item_chats_item_last_message_preview_request_builder.go +++ b/users/item_chats_item_last_message_preview_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemChatsItemLastMessagePreviewRequestBuilder) ToPatchRequestInformatio } 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 *ItemChatsItemLastMessagePreviewRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemLastMessagePreviewRequestBuilder) { + return NewItemChatsItemLastMessagePreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_mark_chat_read_for_user_request_builder.go b/users/item_chats_item_mark_chat_read_for_user_request_builder.go index 9af772a1cb5..b53ffa2ce6d 100644 --- a/users/item_chats_item_mark_chat_read_for_user_request_builder.go +++ b/users/item_chats_item_mark_chat_read_for_user_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemChatsItemMarkChatReadForUserRequestBuilder) ToPostRequestInformatio } 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 *ItemChatsItemMarkChatReadForUserRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMarkChatReadForUserRequestBuilder) { + return NewItemChatsItemMarkChatReadForUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_mark_chat_unread_for_user_request_builder.go b/users/item_chats_item_mark_chat_unread_for_user_request_builder.go index b93229ea594..3b2975a5f55 100644 --- a/users/item_chats_item_mark_chat_unread_for_user_request_builder.go +++ b/users/item_chats_item_mark_chat_unread_for_user_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemChatsItemMarkChatUnreadForUserRequestBuilder) ToPostRequestInformat } 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 *ItemChatsItemMarkChatUnreadForUserRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMarkChatUnreadForUserRequestBuilder) { + return NewItemChatsItemMarkChatUnreadForUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_members_add_request_builder.go b/users/item_chats_item_members_add_request_builder.go index 30c1c22c3e5..5e26ec4e446 100644 --- a/users/item_chats_item_members_add_request_builder.go +++ b/users/item_chats_item_members_add_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemChatsItemMembersAddRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemChatsItemMembersAddRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMembersAddRequestBuilder) { + return NewItemChatsItemMembersAddRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_members_conversation_member_item_request_builder.go b/users/item_chats_item_members_conversation_member_item_request_builder.go index dc3b412bb1c..d7536765623 100644 --- a/users/item_chats_item_members_conversation_member_item_request_builder.go +++ b/users/item_chats_item_members_conversation_member_item_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemChatsItemMembersConversationMemberItemRequestBuilder) ToPatchReques } 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 *ItemChatsItemMembersConversationMemberItemRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMembersConversationMemberItemRequestBuilder) { + return NewItemChatsItemMembersConversationMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_members_count_request_builder.go b/users/item_chats_item_members_count_request_builder.go index 8ea46a7d4e9..7a2a1d6fe0c 100644 --- a/users/item_chats_item_members_count_request_builder.go +++ b/users/item_chats_item_members_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemChatsItemMembersCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemChatsItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMembersCountRequestBuilder) { + return NewItemChatsItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_members_request_builder.go b/users/item_chats_item_members_request_builder.go index 952de1ce32b..c3ecb8da09b 100644 --- a/users/item_chats_item_members_request_builder.go +++ b/users/item_chats_item_members_request_builder.go @@ -50,8 +50,8 @@ type ItemChatsItemMembersRequestBuilderPostRequestConfiguration struct { func (m *ItemChatsItemMembersRequestBuilder) Add()(*ItemChatsItemMembersAddRequestBuilder) { return NewItemChatsItemMembersAddRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByConversationMemberIdString provides operations to manage the members property of the microsoft.graph.chat entity. -func (m *ItemChatsItemMembersRequestBuilder) ByConversationMemberIdString(conversationMemberId string)(*ItemChatsItemMembersConversationMemberItemRequestBuilder) { +// ByConversationMemberId provides operations to manage the members property of the microsoft.graph.chat entity. +func (m *ItemChatsItemMembersRequestBuilder) ByConversationMemberId(conversationMemberId string)(*ItemChatsItemMembersConversationMemberItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemChatsItemMembersRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemChatsItemMembersRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMembersRequestBuilder) { + return NewItemChatsItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_chat_message_item_request_builder.go b/users/item_chats_item_messages_chat_message_item_request_builder.go index 79dd2e2d923..ae90de30ab8 100644 --- a/users/item_chats_item_messages_chat_message_item_request_builder.go +++ b/users/item_chats_item_messages_chat_message_item_request_builder.go @@ -180,3 +180,7 @@ func (m *ItemChatsItemMessagesChatMessageItemRequestBuilder) UndoSoftDelete()(*I func (m *ItemChatsItemMessagesChatMessageItemRequestBuilder) UnsetReaction()(*ItemChatsItemMessagesItemUnsetReactionRequestBuilder) { return NewItemChatsItemMessagesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemChatsItemMessagesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesChatMessageItemRequestBuilder) { + return NewItemChatsItemMessagesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_count_request_builder.go b/users/item_chats_item_messages_count_request_builder.go index c1ecf1feba5..c059f44dca0 100644 --- a/users/item_chats_item_messages_count_request_builder.go +++ b/users/item_chats_item_messages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemChatsItemMessagesCountRequestBuilder) ToGetRequestInformation(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 *ItemChatsItemMessagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesCountRequestBuilder) { + return NewItemChatsItemMessagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_delta_request_builder.go b/users/item_chats_item_messages_delta_request_builder.go index 4d2e8692b41..717f05395c0 100644 --- a/users/item_chats_item_messages_delta_request_builder.go +++ b/users/item_chats_item_messages_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemChatsItemMessagesDeltaRequestBuilder) ToGetRequestInformation(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 *ItemChatsItemMessagesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesDeltaRequestBuilder) { + return NewItemChatsItemMessagesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/users/item_chats_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 6a66e4afae8..40f9cd15359 100644 --- a/users/item_chats_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/users/item_chats_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemChatsItemMessagesItemHostedContentsChatMessageHostedContentItemRequ } 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 *ItemChatsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewItemChatsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_item_hosted_contents_count_request_builder.go b/users/item_chats_item_messages_item_hosted_contents_count_request_builder.go index a5cd34bd45a..d50a229e90e 100644 --- a/users/item_chats_item_messages_item_hosted_contents_count_request_builder.go +++ b/users/item_chats_item_messages_item_hosted_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemChatsItemMessagesItemHostedContentsCountRequestBuilder) ToGetReques } 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 *ItemChatsItemMessagesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesItemHostedContentsCountRequestBuilder) { + return NewItemChatsItemMessagesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_item_hosted_contents_item_value_content_request_builder.go b/users/item_chats_item_messages_item_hosted_contents_item_value_content_request_builder.go index f3dcb02fc12..ea63251b228 100644 --- a/users/item_chats_item_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/users/item_chats_item_messages_item_hosted_contents_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemChatsItemMessagesItemHostedContentsItemValueContentRequestBuilder) } 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 *ItemChatsItemMessagesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemChatsItemMessagesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_item_hosted_contents_request_builder.go b/users/item_chats_item_messages_item_hosted_contents_request_builder.go index 5a0870cbbe4..60f1e995dcc 100644 --- a/users/item_chats_item_messages_item_hosted_contents_request_builder.go +++ b/users/item_chats_item_messages_item_hosted_contents_request_builder.go @@ -46,8 +46,8 @@ type ItemChatsItemMessagesItemHostedContentsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageHostedContentIdString provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. -func (m *ItemChatsItemMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentIdString(chatMessageHostedContentId string)(*ItemChatsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +func (m *ItemChatsItemMessagesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*ItemChatsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemChatsItemMessagesItemHostedContentsRequestBuilder) ToPostRequestInf } 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 *ItemChatsItemMessagesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesItemHostedContentsRequestBuilder) { + return NewItemChatsItemMessagesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_item_replies_chat_message_item_request_builder.go b/users/item_chats_item_messages_item_replies_chat_message_item_request_builder.go index 5df36b44c78..9f4364fd382 100644 --- a/users/item_chats_item_messages_item_replies_chat_message_item_request_builder.go +++ b/users/item_chats_item_messages_item_replies_chat_message_item_request_builder.go @@ -176,3 +176,7 @@ func (m *ItemChatsItemMessagesItemRepliesChatMessageItemRequestBuilder) UndoSoft func (m *ItemChatsItemMessagesItemRepliesChatMessageItemRequestBuilder) UnsetReaction()(*ItemChatsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) { return NewItemChatsItemMessagesItemRepliesItemUnsetReactionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemChatsItemMessagesItemRepliesChatMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesItemRepliesChatMessageItemRequestBuilder) { + return NewItemChatsItemMessagesItemRepliesChatMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_item_replies_count_request_builder.go b/users/item_chats_item_messages_item_replies_count_request_builder.go index 9669727daaf..371041e1d19 100644 --- a/users/item_chats_item_messages_item_replies_count_request_builder.go +++ b/users/item_chats_item_messages_item_replies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemChatsItemMessagesItemRepliesCountRequestBuilder) ToGetRequestInform } 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 *ItemChatsItemMessagesItemRepliesCountRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesItemRepliesCountRequestBuilder) { + return NewItemChatsItemMessagesItemRepliesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_item_replies_delta_request_builder.go b/users/item_chats_item_messages_item_replies_delta_request_builder.go index eb75545c91e..d05808826cd 100644 --- a/users/item_chats_item_messages_item_replies_delta_request_builder.go +++ b/users/item_chats_item_messages_item_replies_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemChatsItemMessagesItemRepliesDeltaRequestBuilder) ToGetRequestInform } 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 *ItemChatsItemMessagesItemRepliesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesItemRepliesDeltaRequestBuilder) { + return NewItemChatsItemMessagesItemRepliesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/users/item_chats_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index d2671806cc5..10298e9cd1c 100644 --- a/users/item_chats_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/users/item_chats_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemChatsItemMessagesItemRepliesItemHostedContentsChatMessageHostedCont } 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 *ItemChatsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { + return NewItemChatsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_item_replies_item_hosted_contents_count_request_builder.go b/users/item_chats_item_messages_item_replies_item_hosted_contents_count_request_builder.go index fe337382ba1..2d644b021b5 100644 --- a/users/item_chats_item_messages_item_replies_item_hosted_contents_count_request_builder.go +++ b/users/item_chats_item_messages_item_replies_item_hosted_contents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemChatsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) } 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 *ItemChatsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) { + return NewItemChatsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/users/item_chats_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index 84900b0b570..ee6f1306b58 100644 --- a/users/item_chats_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/users/item_chats_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemChatsItemMessagesItemRepliesItemHostedContentsItemValueContentReque } 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 *ItemChatsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) { + return NewItemChatsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_item_replies_item_hosted_contents_request_builder.go b/users/item_chats_item_messages_item_replies_item_hosted_contents_request_builder.go index eef3f87ec0b..871ba4afab0 100644 --- a/users/item_chats_item_messages_item_replies_item_hosted_contents_request_builder.go +++ b/users/item_chats_item_messages_item_replies_item_hosted_contents_request_builder.go @@ -46,8 +46,8 @@ type ItemChatsItemMessagesItemRepliesItemHostedContentsRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageHostedContentIdString provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. -func (m *ItemChatsItemMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentIdString(chatMessageHostedContentId string)(*ItemChatsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { +// ByChatMessageHostedContentId provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. +func (m *ItemChatsItemMessagesItemRepliesItemHostedContentsRequestBuilder) ByChatMessageHostedContentId(chatMessageHostedContentId string)(*ItemChatsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemChatsItemMessagesItemRepliesItemHostedContentsRequestBuilder) ToPos } 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 *ItemChatsItemMessagesItemRepliesItemHostedContentsRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesItemRepliesItemHostedContentsRequestBuilder) { + return NewItemChatsItemMessagesItemRepliesItemHostedContentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_item_replies_item_set_reaction_request_builder.go b/users/item_chats_item_messages_item_replies_item_set_reaction_request_builder.go index 08474832e78..f08ff103f31 100644 --- a/users/item_chats_item_messages_item_replies_item_set_reaction_request_builder.go +++ b/users/item_chats_item_messages_item_replies_item_set_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemChatsItemMessagesItemRepliesItemSetReactionRequestBuilder) ToPostRe } 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 *ItemChatsItemMessagesItemRepliesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesItemRepliesItemSetReactionRequestBuilder) { + return NewItemChatsItemMessagesItemRepliesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_item_replies_item_soft_delete_request_builder.go b/users/item_chats_item_messages_item_replies_item_soft_delete_request_builder.go index 99e3a84d480..e9a2dea59be 100644 --- a/users/item_chats_item_messages_item_replies_item_soft_delete_request_builder.go +++ b/users/item_chats_item_messages_item_replies_item_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemChatsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) ToPostReq } 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 *ItemChatsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) { + return NewItemChatsItemMessagesItemRepliesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_item_replies_item_undo_soft_delete_request_builder.go b/users/item_chats_item_messages_item_replies_item_undo_soft_delete_request_builder.go index abbdcf46922..d00c380cef8 100644 --- a/users/item_chats_item_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/users/item_chats_item_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemChatsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) ToPos } 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 *ItemChatsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) { + return NewItemChatsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_item_replies_item_unset_reaction_request_builder.go b/users/item_chats_item_messages_item_replies_item_unset_reaction_request_builder.go index 8e83c063298..24c3aad7f97 100644 --- a/users/item_chats_item_messages_item_replies_item_unset_reaction_request_builder.go +++ b/users/item_chats_item_messages_item_replies_item_unset_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemChatsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) ToPost } 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 *ItemChatsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) { + return NewItemChatsItemMessagesItemRepliesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_item_replies_request_builder.go b/users/item_chats_item_messages_item_replies_request_builder.go index 239ae0c476f..1c8c227485d 100644 --- a/users/item_chats_item_messages_item_replies_request_builder.go +++ b/users/item_chats_item_messages_item_replies_request_builder.go @@ -46,8 +46,8 @@ type ItemChatsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageId1String provides operations to manage the replies property of the microsoft.graph.chatMessage entity. -func (m *ItemChatsItemMessagesItemRepliesRequestBuilder) ByChatMessageId1String(chatMessageId1 string)(*ItemChatsItemMessagesItemRepliesChatMessageItemRequestBuilder) { +// ByChatMessageId1 provides operations to manage the replies property of the microsoft.graph.chatMessage entity. +func (m *ItemChatsItemMessagesItemRepliesRequestBuilder) ByChatMessageId1(chatMessageId1 string)(*ItemChatsItemMessagesItemRepliesChatMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemChatsItemMessagesItemRepliesRequestBuilder) ToPostRequestInformatio } 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 *ItemChatsItemMessagesItemRepliesRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesItemRepliesRequestBuilder) { + return NewItemChatsItemMessagesItemRepliesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_item_set_reaction_request_builder.go b/users/item_chats_item_messages_item_set_reaction_request_builder.go index a7e800f1498..2a61ff96711 100644 --- a/users/item_chats_item_messages_item_set_reaction_request_builder.go +++ b/users/item_chats_item_messages_item_set_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemChatsItemMessagesItemSetReactionRequestBuilder) ToPostRequestInform } 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 *ItemChatsItemMessagesItemSetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesItemSetReactionRequestBuilder) { + return NewItemChatsItemMessagesItemSetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_item_soft_delete_request_builder.go b/users/item_chats_item_messages_item_soft_delete_request_builder.go index 2a53274e274..939b98e9c29 100644 --- a/users/item_chats_item_messages_item_soft_delete_request_builder.go +++ b/users/item_chats_item_messages_item_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemChatsItemMessagesItemSoftDeleteRequestBuilder) ToPostRequestInforma } 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 *ItemChatsItemMessagesItemSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesItemSoftDeleteRequestBuilder) { + return NewItemChatsItemMessagesItemSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_item_undo_soft_delete_request_builder.go b/users/item_chats_item_messages_item_undo_soft_delete_request_builder.go index 5d242c0cedd..109bddd63a7 100644 --- a/users/item_chats_item_messages_item_undo_soft_delete_request_builder.go +++ b/users/item_chats_item_messages_item_undo_soft_delete_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemChatsItemMessagesItemUndoSoftDeleteRequestBuilder) ToPostRequestInf } 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 *ItemChatsItemMessagesItemUndoSoftDeleteRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesItemUndoSoftDeleteRequestBuilder) { + return NewItemChatsItemMessagesItemUndoSoftDeleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_item_unset_reaction_request_builder.go b/users/item_chats_item_messages_item_unset_reaction_request_builder.go index b97d0df2111..65e6aa230a6 100644 --- a/users/item_chats_item_messages_item_unset_reaction_request_builder.go +++ b/users/item_chats_item_messages_item_unset_reaction_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemChatsItemMessagesItemUnsetReactionRequestBuilder) ToPostRequestInfo } 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 *ItemChatsItemMessagesItemUnsetReactionRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesItemUnsetReactionRequestBuilder) { + return NewItemChatsItemMessagesItemUnsetReactionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_request_builder.go b/users/item_chats_item_messages_request_builder.go index aeb8e96cc5e..fe09f4851b5 100644 --- a/users/item_chats_item_messages_request_builder.go +++ b/users/item_chats_item_messages_request_builder.go @@ -46,8 +46,8 @@ type ItemChatsItemMessagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChatMessageIdString provides operations to manage the messages property of the microsoft.graph.chat entity. -func (m *ItemChatsItemMessagesRequestBuilder) ByChatMessageIdString(chatMessageId string)(*ItemChatsItemMessagesChatMessageItemRequestBuilder) { +// ByChatMessageId provides operations to manage the messages property of the microsoft.graph.chat entity. +func (m *ItemChatsItemMessagesRequestBuilder) ByChatMessageId(chatMessageId string)(*ItemChatsItemMessagesChatMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemChatsItemMessagesRequestBuilder) 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 *ItemChatsItemMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesRequestBuilder) { + return NewItemChatsItemMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_operations_count_request_builder.go b/users/item_chats_item_operations_count_request_builder.go index cdf0c947e79..95e6ffabc7e 100644 --- a/users/item_chats_item_operations_count_request_builder.go +++ b/users/item_chats_item_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemChatsItemOperationsCountRequestBuilder) ToGetRequestInformation(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 *ItemChatsItemOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemOperationsCountRequestBuilder) { + return NewItemChatsItemOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_operations_request_builder.go b/users/item_chats_item_operations_request_builder.go index f48da8a6466..47bbd7e741c 100644 --- a/users/item_chats_item_operations_request_builder.go +++ b/users/item_chats_item_operations_request_builder.go @@ -46,8 +46,8 @@ type ItemChatsItemOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsAsyncOperationIdString provides operations to manage the operations property of the microsoft.graph.chat entity. -func (m *ItemChatsItemOperationsRequestBuilder) ByTeamsAsyncOperationIdString(teamsAsyncOperationId string)(*ItemChatsItemOperationsTeamsAsyncOperationItemRequestBuilder) { +// ByTeamsAsyncOperationId provides operations to manage the operations property of the microsoft.graph.chat entity. +func (m *ItemChatsItemOperationsRequestBuilder) ByTeamsAsyncOperationId(teamsAsyncOperationId string)(*ItemChatsItemOperationsTeamsAsyncOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemChatsItemOperationsRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemChatsItemOperationsRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemOperationsRequestBuilder) { + return NewItemChatsItemOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_operations_teams_async_operation_item_request_builder.go b/users/item_chats_item_operations_teams_async_operation_item_request_builder.go index 0b94c3b717a..d6718e50a1d 100644 --- a/users/item_chats_item_operations_teams_async_operation_item_request_builder.go +++ b/users/item_chats_item_operations_teams_async_operation_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemChatsItemOperationsTeamsAsyncOperationItemRequestBuilder) ToPatchRe } 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 *ItemChatsItemOperationsTeamsAsyncOperationItemRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemOperationsTeamsAsyncOperationItemRequestBuilder) { + return NewItemChatsItemOperationsTeamsAsyncOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_permission_grants_count_request_builder.go b/users/item_chats_item_permission_grants_count_request_builder.go index 398099a937c..bb9a2752c21 100644 --- a/users/item_chats_item_permission_grants_count_request_builder.go +++ b/users/item_chats_item_permission_grants_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemChatsItemPermissionGrantsCountRequestBuilder) ToGetRequestInformati } 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 *ItemChatsItemPermissionGrantsCountRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemPermissionGrantsCountRequestBuilder) { + return NewItemChatsItemPermissionGrantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_permission_grants_delta_request_builder.go b/users/item_chats_item_permission_grants_delta_request_builder.go index 764e6255b12..6959437efa7 100644 --- a/users/item_chats_item_permission_grants_delta_request_builder.go +++ b/users/item_chats_item_permission_grants_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemChatsItemPermissionGrantsDeltaRequestBuilder) ToGetRequestInformati } 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 *ItemChatsItemPermissionGrantsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemPermissionGrantsDeltaRequestBuilder) { + return NewItemChatsItemPermissionGrantsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_permission_grants_get_by_ids_request_builder.go b/users/item_chats_item_permission_grants_get_by_ids_request_builder.go index cd7f949aaf9..d728f398012 100644 --- a/users/item_chats_item_permission_grants_get_by_ids_request_builder.go +++ b/users/item_chats_item_permission_grants_get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemChatsItemPermissionGrantsGetByIdsRequestBuilder) ToPostRequestInfor } 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 *ItemChatsItemPermissionGrantsGetByIdsRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemPermissionGrantsGetByIdsRequestBuilder) { + return NewItemChatsItemPermissionGrantsGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_permission_grants_get_user_owned_objects_request_builder.go b/users/item_chats_item_permission_grants_get_user_owned_objects_request_builder.go index 8e89fe5a663..5f613faac2d 100644 --- a/users/item_chats_item_permission_grants_get_user_owned_objects_request_builder.go +++ b/users/item_chats_item_permission_grants_get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemChatsItemPermissionGrantsGetUserOwnedObjectsRequestBuilder) ToPostR } 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 *ItemChatsItemPermissionGrantsGetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemPermissionGrantsGetUserOwnedObjectsRequestBuilder) { + return NewItemChatsItemPermissionGrantsGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_permission_grants_item_check_member_groups_request_builder.go b/users/item_chats_item_permission_grants_item_check_member_groups_request_builder.go index 2d2b5706889..ca94f0b87ba 100644 --- a/users/item_chats_item_permission_grants_item_check_member_groups_request_builder.go +++ b/users/item_chats_item_permission_grants_item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemChatsItemPermissionGrantsItemCheckMemberGroupsRequestBuilder) ToPos } 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 *ItemChatsItemPermissionGrantsItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemPermissionGrantsItemCheckMemberGroupsRequestBuilder) { + return NewItemChatsItemPermissionGrantsItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_permission_grants_item_check_member_objects_request_builder.go b/users/item_chats_item_permission_grants_item_check_member_objects_request_builder.go index c15ebb9c4b8..77dadee771e 100644 --- a/users/item_chats_item_permission_grants_item_check_member_objects_request_builder.go +++ b/users/item_chats_item_permission_grants_item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemChatsItemPermissionGrantsItemCheckMemberObjectsRequestBuilder) ToPo } 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 *ItemChatsItemPermissionGrantsItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemPermissionGrantsItemCheckMemberObjectsRequestBuilder) { + return NewItemChatsItemPermissionGrantsItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_permission_grants_item_get_member_groups_request_builder.go b/users/item_chats_item_permission_grants_item_get_member_groups_request_builder.go index e81eb36242d..adb8673a674 100644 --- a/users/item_chats_item_permission_grants_item_get_member_groups_request_builder.go +++ b/users/item_chats_item_permission_grants_item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemChatsItemPermissionGrantsItemGetMemberGroupsRequestBuilder) ToPostR } 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 *ItemChatsItemPermissionGrantsItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemPermissionGrantsItemGetMemberGroupsRequestBuilder) { + return NewItemChatsItemPermissionGrantsItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_permission_grants_item_get_member_objects_request_builder.go b/users/item_chats_item_permission_grants_item_get_member_objects_request_builder.go index 7ad77888146..3a5d460502f 100644 --- a/users/item_chats_item_permission_grants_item_get_member_objects_request_builder.go +++ b/users/item_chats_item_permission_grants_item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemChatsItemPermissionGrantsItemGetMemberObjectsRequestBuilder) ToPost } 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 *ItemChatsItemPermissionGrantsItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemPermissionGrantsItemGetMemberObjectsRequestBuilder) { + return NewItemChatsItemPermissionGrantsItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_permission_grants_item_restore_request_builder.go b/users/item_chats_item_permission_grants_item_restore_request_builder.go index f308c8244c0..a7621cde6fb 100644 --- a/users/item_chats_item_permission_grants_item_restore_request_builder.go +++ b/users/item_chats_item_permission_grants_item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemChatsItemPermissionGrantsItemRestoreRequestBuilder) ToPostRequestIn } 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 *ItemChatsItemPermissionGrantsItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemPermissionGrantsItemRestoreRequestBuilder) { + return NewItemChatsItemPermissionGrantsItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_permission_grants_request_builder.go b/users/item_chats_item_permission_grants_request_builder.go index c1dc97b5013..ff4793d001f 100644 --- a/users/item_chats_item_permission_grants_request_builder.go +++ b/users/item_chats_item_permission_grants_request_builder.go @@ -46,8 +46,8 @@ type ItemChatsItemPermissionGrantsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByResourceSpecificPermissionGrantIdString provides operations to manage the permissionGrants property of the microsoft.graph.chat entity. -func (m *ItemChatsItemPermissionGrantsRequestBuilder) ByResourceSpecificPermissionGrantIdString(resourceSpecificPermissionGrantId string)(*ItemChatsItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { +// ByResourceSpecificPermissionGrantId provides operations to manage the permissionGrants property of the microsoft.graph.chat entity. +func (m *ItemChatsItemPermissionGrantsRequestBuilder) ByResourceSpecificPermissionGrantId(resourceSpecificPermissionGrantId string)(*ItemChatsItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -164,3 +164,7 @@ func (m *ItemChatsItemPermissionGrantsRequestBuilder) ToPostRequestInformation(c func (m *ItemChatsItemPermissionGrantsRequestBuilder) ValidateProperties()(*ItemChatsItemPermissionGrantsValidatePropertiesRequestBuilder) { return NewItemChatsItemPermissionGrantsValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemChatsItemPermissionGrantsRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemPermissionGrantsRequestBuilder) { + return NewItemChatsItemPermissionGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_permission_grants_resource_specific_permission_grant_item_request_builder.go b/users/item_chats_item_permission_grants_resource_specific_permission_grant_item_request_builder.go index 26c8dcb525d..08c6e6c1141 100644 --- a/users/item_chats_item_permission_grants_resource_specific_permission_grant_item_request_builder.go +++ b/users/item_chats_item_permission_grants_resource_specific_permission_grant_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemChatsItemPermissionGrantsResourceSpecificPermissionGrantItemRequest } 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 *ItemChatsItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { + return NewItemChatsItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_permission_grants_validate_properties_request_builder.go b/users/item_chats_item_permission_grants_validate_properties_request_builder.go index 93e5b5d8360..d2ad6e73dcc 100644 --- a/users/item_chats_item_permission_grants_validate_properties_request_builder.go +++ b/users/item_chats_item_permission_grants_validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemChatsItemPermissionGrantsValidatePropertiesRequestBuilder) ToPostRe } 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 *ItemChatsItemPermissionGrantsValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemPermissionGrantsValidatePropertiesRequestBuilder) { + return NewItemChatsItemPermissionGrantsValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_pinned_messages_count_request_builder.go b/users/item_chats_item_pinned_messages_count_request_builder.go index 92bd4dd410f..57abd4a4a0b 100644 --- a/users/item_chats_item_pinned_messages_count_request_builder.go +++ b/users/item_chats_item_pinned_messages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemChatsItemPinnedMessagesCountRequestBuilder) 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 *ItemChatsItemPinnedMessagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemPinnedMessagesCountRequestBuilder) { + return NewItemChatsItemPinnedMessagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_pinned_messages_item_message_request_builder.go b/users/item_chats_item_pinned_messages_item_message_request_builder.go index 3a80096348a..38868303ba0 100644 --- a/users/item_chats_item_pinned_messages_item_message_request_builder.go +++ b/users/item_chats_item_pinned_messages_item_message_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemChatsItemPinnedMessagesItemMessageRequestBuilder) ToGetRequestInfor } 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 *ItemChatsItemPinnedMessagesItemMessageRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemPinnedMessagesItemMessageRequestBuilder) { + return NewItemChatsItemPinnedMessagesItemMessageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_pinned_messages_pinned_chat_message_info_item_request_builder.go b/users/item_chats_item_pinned_messages_pinned_chat_message_info_item_request_builder.go index 4063ec1c50c..58592a11bdf 100644 --- a/users/item_chats_item_pinned_messages_pinned_chat_message_info_item_request_builder.go +++ b/users/item_chats_item_pinned_messages_pinned_chat_message_info_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemChatsItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder) 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 *ItemChatsItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder) { + return NewItemChatsItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_pinned_messages_request_builder.go b/users/item_chats_item_pinned_messages_request_builder.go index 503f2ca5d9b..0e1c2adaf9c 100644 --- a/users/item_chats_item_pinned_messages_request_builder.go +++ b/users/item_chats_item_pinned_messages_request_builder.go @@ -46,8 +46,8 @@ type ItemChatsItemPinnedMessagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPinnedChatMessageInfoIdString provides operations to manage the pinnedMessages property of the microsoft.graph.chat entity. -func (m *ItemChatsItemPinnedMessagesRequestBuilder) ByPinnedChatMessageInfoIdString(pinnedChatMessageInfoId string)(*ItemChatsItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder) { +// ByPinnedChatMessageInfoId provides operations to manage the pinnedMessages property of the microsoft.graph.chat entity. +func (m *ItemChatsItemPinnedMessagesRequestBuilder) ByPinnedChatMessageInfoId(pinnedChatMessageInfoId string)(*ItemChatsItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemChatsItemPinnedMessagesRequestBuilder) 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 *ItemChatsItemPinnedMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemPinnedMessagesRequestBuilder) { + return NewItemChatsItemPinnedMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_send_activity_notification_request_builder.go b/users/item_chats_item_send_activity_notification_request_builder.go index 72a85695bec..e3c084d3318 100644 --- a/users/item_chats_item_send_activity_notification_request_builder.go +++ b/users/item_chats_item_send_activity_notification_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemChatsItemSendActivityNotificationRequestBuilder) ToPostRequestInfor } 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 *ItemChatsItemSendActivityNotificationRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemSendActivityNotificationRequestBuilder) { + return NewItemChatsItemSendActivityNotificationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_tabs_count_request_builder.go b/users/item_chats_item_tabs_count_request_builder.go index c87441ec5d9..942f549387e 100644 --- a/users/item_chats_item_tabs_count_request_builder.go +++ b/users/item_chats_item_tabs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemChatsItemTabsCountRequestBuilder) ToGetRequestInformation(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 *ItemChatsItemTabsCountRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTabsCountRequestBuilder) { + return NewItemChatsItemTabsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_tabs_item_teams_app_request_builder.go b/users/item_chats_item_tabs_item_teams_app_request_builder.go index 0c717ef3ba8..e50a2509b57 100644 --- a/users/item_chats_item_tabs_item_teams_app_request_builder.go +++ b/users/item_chats_item_tabs_item_teams_app_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemChatsItemTabsItemTeamsAppRequestBuilder) ToGetRequestInformation(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 *ItemChatsItemTabsItemTeamsAppRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTabsItemTeamsAppRequestBuilder) { + return NewItemChatsItemTabsItemTeamsAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_tabs_request_builder.go b/users/item_chats_item_tabs_request_builder.go index 732a14d76de..dbc7de3391f 100644 --- a/users/item_chats_item_tabs_request_builder.go +++ b/users/item_chats_item_tabs_request_builder.go @@ -46,8 +46,8 @@ type ItemChatsItemTabsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTeamsTabIdString provides operations to manage the tabs property of the microsoft.graph.chat entity. -func (m *ItemChatsItemTabsRequestBuilder) ByTeamsTabIdString(teamsTabId string)(*ItemChatsItemTabsTeamsTabItemRequestBuilder) { +// ByTeamsTabId provides operations to manage the tabs property of the microsoft.graph.chat entity. +func (m *ItemChatsItemTabsRequestBuilder) ByTeamsTabId(teamsTabId string)(*ItemChatsItemTabsTeamsTabItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemChatsItemTabsRequestBuilder) ToPostRequestInformation(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 *ItemChatsItemTabsRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTabsRequestBuilder) { + return NewItemChatsItemTabsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_tabs_teams_tab_item_request_builder.go b/users/item_chats_item_tabs_teams_tab_item_request_builder.go index a442a42304b..3015fb68ae4 100644 --- a/users/item_chats_item_tabs_teams_tab_item_request_builder.go +++ b/users/item_chats_item_tabs_teams_tab_item_request_builder.go @@ -166,3 +166,7 @@ func (m *ItemChatsItemTabsTeamsTabItemRequestBuilder) 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 *ItemChatsItemTabsTeamsTabItemRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemTabsTeamsTabItemRequestBuilder) { + return NewItemChatsItemTabsTeamsTabItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_unhide_for_user_request_builder.go b/users/item_chats_item_unhide_for_user_request_builder.go index cabdd9a534e..632e05ec93d 100644 --- a/users/item_chats_item_unhide_for_user_request_builder.go +++ b/users/item_chats_item_unhide_for_user_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemChatsItemUnhideForUserRequestBuilder) 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 *ItemChatsItemUnhideForUserRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemUnhideForUserRequestBuilder) { + return NewItemChatsItemUnhideForUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_request_builder.go b/users/item_chats_request_builder.go index 9430a59b443..fdd05248f2f 100644 --- a/users/item_chats_request_builder.go +++ b/users/item_chats_request_builder.go @@ -50,8 +50,8 @@ type ItemChatsRequestBuilderPostRequestConfiguration struct { func (m *ItemChatsRequestBuilder) AllMessages()(*ItemChatsAllMessagesRequestBuilder) { return NewItemChatsAllMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByChatIdString provides operations to manage the chats property of the microsoft.graph.user entity. -func (m *ItemChatsRequestBuilder) ByChatIdString(chatId string)(*ItemChatsChatItemRequestBuilder) { +// ByChatId provides operations to manage the chats property of the microsoft.graph.user entity. +func (m *ItemChatsRequestBuilder) ByChatId(chatId string)(*ItemChatsChatItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *ItemChatsRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemChatsRequestBuilder) WithUrl(rawUrl string)(*ItemChatsRequestBuilder) { + return NewItemChatsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_check_member_groups_request_builder.go b/users/item_check_member_groups_request_builder.go index 4b270ca9f5c..e114cc0e220 100644 --- a/users/item_check_member_groups_request_builder.go +++ b/users/item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) 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 *ItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberGroupsRequestBuilder) { + return NewItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_check_member_objects_request_builder.go b/users/item_check_member_objects_request_builder.go index d42c0c53f7a..98e637607d2 100644 --- a/users/item_check_member_objects_request_builder.go +++ b/users/item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemCheckMemberObjectsRequestBuilder) { + return NewItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_bulk_resize_request_builder.go b/users/item_cloud_p_cs_bulk_resize_request_builder.go index 37f89fd4ff8..ca7ef174a7d 100644 --- a/users/item_cloud_p_cs_bulk_resize_request_builder.go +++ b/users/item_cloud_p_cs_bulk_resize_request_builder.go @@ -30,7 +30,7 @@ func NewItemCloudPCsBulkResizeRequestBuilder(rawUrl string, requestAdapter i2ae4 urlParams["request-raw-url"] = rawUrl return NewItemCloudPCsBulkResizeRequestBuilderInternal(urlParams, requestAdapter) } -// Post perform a bulk resize action to resize a group of cloudPCs that have successfully passed validation. If any devices cannot be resized, those devices will indicate 'resize failed'. The remaining devices will be provisioned for the resize process. +// Post perform a bulk resize action to resize a group of cloudPCs that have successfully passed validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. // Deprecated: The bulkResize action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkResize on 2023-05-24 and will be removed 2023-09-24 // [Find more info here] // @@ -53,7 +53,7 @@ func (m *ItemCloudPCsBulkResizeRequestBuilder) Post(ctx context.Context, body It } return res.(ItemCloudPCsBulkResizeResponseable), nil } -// ToPostRequestInformation perform a bulk resize action to resize a group of cloudPCs that have successfully passed validation. If any devices cannot be resized, those devices will indicate 'resize failed'. The remaining devices will be provisioned for the resize process. +// ToPostRequestInformation perform a bulk resize action to resize a group of cloudPCs that have successfully passed validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. // Deprecated: The bulkResize action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkResize on 2023-05-24 and will be removed 2023-09-24 func (m *ItemCloudPCsBulkResizeRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCloudPCsBulkResizePostRequestBodyable, requestConfiguration *ItemCloudPCsBulkResizeRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -71,3 +71,8 @@ func (m *ItemCloudPCsBulkResizeRequestBuilder) ToPostRequestInformation(ctx cont } 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. +// Deprecated: The bulkResize action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkResize on 2023-05-24 and will be removed 2023-09-24 +func (m *ItemCloudPCsBulkResizeRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsBulkResizeRequestBuilder) { + return NewItemCloudPCsBulkResizeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_cloud_p_c_item_request_builder.go b/users/item_cloud_p_cs_cloud_p_c_item_request_builder.go index 34560a78966..4362d5a7e2f 100644 --- a/users/item_cloud_p_cs_cloud_p_c_item_request_builder.go +++ b/users/item_cloud_p_cs_cloud_p_c_item_request_builder.go @@ -58,6 +58,10 @@ func NewItemCloudPCsCloudPCItemRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewItemCloudPCsCloudPCItemRequestBuilderInternal(urlParams, requestAdapter) } +// CreateSnapshot provides operations to call the createSnapshot method. +func (m *ItemCloudPCsCloudPCItemRequestBuilder) CreateSnapshot()(*ItemCloudPCsItemCreateSnapshotRequestBuilder) { + return NewItemCloudPCsItemCreateSnapshotRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Delete delete navigation property cloudPCs for users func (m *ItemCloudPCsCloudPCItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCloudPCsCloudPCItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -155,6 +159,10 @@ func (m *ItemCloudPCsCloudPCItemRequestBuilder) Rename()(*ItemCloudPCsItemRename func (m *ItemCloudPCsCloudPCItemRequestBuilder) Reprovision()(*ItemCloudPCsItemReprovisionRequestBuilder) { return NewItemCloudPCsItemReprovisionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// Resize provides operations to call the resize method. +func (m *ItemCloudPCsCloudPCItemRequestBuilder) Resize()(*ItemCloudPCsItemResizeRequestBuilder) { + return NewItemCloudPCsItemResizeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Restore provides operations to call the restore method. func (m *ItemCloudPCsCloudPCItemRequestBuilder) Restore()(*ItemCloudPCsItemRestoreRequestBuilder) { return NewItemCloudPCsItemRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) @@ -220,3 +228,7 @@ func (m *ItemCloudPCsCloudPCItemRequestBuilder) ToPatchRequestInformation(ctx co func (m *ItemCloudPCsCloudPCItemRequestBuilder) Troubleshoot()(*ItemCloudPCsItemTroubleshootRequestBuilder) { return NewItemCloudPCsItemTroubleshootRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemCloudPCsCloudPCItemRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsCloudPCItemRequestBuilder) { + return NewItemCloudPCsCloudPCItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_count_request_builder.go b/users/item_cloud_p_cs_count_request_builder.go index 1e5051d2046..0bb93c33682 100644 --- a/users/item_cloud_p_cs_count_request_builder.go +++ b/users/item_cloud_p_cs_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemCloudPCsCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemCloudPCsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsCountRequestBuilder) { + return NewItemCloudPCsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go b/users/item_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go index 71bd08f670c..79fc3befa2f 100644 --- a/users/item_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go +++ b/users/item_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go @@ -90,3 +90,7 @@ func (m *ItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBu } 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 *ItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilder) { + return NewItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_item_change_user_account_type_request_builder.go b/users/item_cloud_p_cs_item_change_user_account_type_request_builder.go index 8bb39e379f9..458db5df5f8 100644 --- a/users/item_cloud_p_cs_item_change_user_account_type_request_builder.go +++ b/users/item_cloud_p_cs_item_change_user_account_type_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCloudPCsItemChangeUserAccountTypeRequestBuilder) ToPostRequestInfor } 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 *ItemCloudPCsItemChangeUserAccountTypeRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemChangeUserAccountTypeRequestBuilder) { + return NewItemCloudPCsItemChangeUserAccountTypeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_item_create_snapshot_request_builder.go b/users/item_cloud_p_cs_item_create_snapshot_request_builder.go new file mode 100644 index 00000000000..4616d5d87a9 --- /dev/null +++ b/users/item_cloud_p_cs_item_create_snapshot_request_builder.go @@ -0,0 +1,64 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemCloudPCsItemCreateSnapshotRequestBuilder provides operations to call the createSnapshot method. +type ItemCloudPCsItemCreateSnapshotRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemCloudPCsItemCreateSnapshotRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCloudPCsItemCreateSnapshotRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemCloudPCsItemCreateSnapshotRequestBuilderInternal instantiates a new CreateSnapshotRequestBuilder and sets the default values. +func NewItemCloudPCsItemCreateSnapshotRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemCreateSnapshotRequestBuilder) { + m := &ItemCloudPCsItemCreateSnapshotRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/createSnapshot", pathParameters), + } + return m +} +// NewItemCloudPCsItemCreateSnapshotRequestBuilder instantiates a new CreateSnapshotRequestBuilder and sets the default values. +func NewItemCloudPCsItemCreateSnapshotRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemCreateSnapshotRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemCloudPCsItemCreateSnapshotRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action createSnapshot +func (m *ItemCloudPCsItemCreateSnapshotRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCloudPCsItemCreateSnapshotRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action createSnapshot +func (m *ItemCloudPCsItemCreateSnapshotRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemCloudPCsItemCreateSnapshotRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *ItemCloudPCsItemCreateSnapshotRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemCreateSnapshotRequestBuilder) { + return NewItemCloudPCsItemCreateSnapshotRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_item_end_grace_period_request_builder.go b/users/item_cloud_p_cs_item_end_grace_period_request_builder.go index e71488e2581..0b92e51a5d4 100644 --- a/users/item_cloud_p_cs_item_end_grace_period_request_builder.go +++ b/users/item_cloud_p_cs_item_end_grace_period_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCloudPCsItemEndGracePeriodRequestBuilder) 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 *ItemCloudPCsItemEndGracePeriodRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemEndGracePeriodRequestBuilder) { + return NewItemCloudPCsItemEndGracePeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go b/users/item_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go index 24438846c94..f102254e92c 100644 --- a/users/item_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go +++ b/users/item_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go @@ -80,3 +80,7 @@ func (m *ItemCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder) ToGetReque } 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 *ItemCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder) { + return NewItemCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go b/users/item_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go index f52410e8817..9de2d7280ea 100644 --- a/users/item_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go +++ b/users/item_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemCloudPCsItemGetCloudPcLaunchInfoRequestBuilder) ToGetRequestInforma } 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 *ItemCloudPCsItemGetCloudPcLaunchInfoRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemGetCloudPcLaunchInfoRequestBuilder) { + return NewItemCloudPCsItemGetCloudPcLaunchInfoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go b/users/item_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go index 27eff6f709a..d40a3f70c17 100644 --- a/users/item_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go +++ b/users/item_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilder) ToGetRequ } 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 *ItemCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilder) { + return NewItemCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go b/users/item_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go index 24b7512db7b..afbc4341fc0 100644 --- a/users/item_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go +++ b/users/item_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go @@ -80,3 +80,7 @@ func (m *ItemCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilder) ToGetRe } 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 *ItemCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilder) { + return NewItemCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_item_power_off_request_builder.go b/users/item_cloud_p_cs_item_power_off_request_builder.go index 7c700a1d213..34538a9a101 100644 --- a/users/item_cloud_p_cs_item_power_off_request_builder.go +++ b/users/item_cloud_p_cs_item_power_off_request_builder.go @@ -30,7 +30,7 @@ func NewItemCloudPCsItemPowerOffRequestBuilder(rawUrl string, requestAdapter i2a urlParams["request-raw-url"] = rawUrl return NewItemCloudPCsItemPowerOffRequestBuilderInternal(urlParams, requestAdapter) } -// Post power off a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered off, it is de-allocated, and licenses are revoked immediately. Only IT admin users can perform this action. +// Post power off a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered off, it's deallocated, and licenses are revoked immediately. Only IT admin users can perform this action. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-poweroff?view=graph-rest-1.0 @@ -49,7 +49,7 @@ func (m *ItemCloudPCsItemPowerOffRequestBuilder) Post(ctx context.Context, reque } return nil } -// ToPostRequestInformation power off a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered off, it is de-allocated, and licenses are revoked immediately. Only IT admin users can perform this action. +// ToPostRequestInformation power off a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered off, it's deallocated, and licenses are revoked immediately. Only IT admin users can perform this action. func (m *ItemCloudPCsItemPowerOffRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemCloudPCsItemPowerOffRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -61,3 +61,7 @@ func (m *ItemCloudPCsItemPowerOffRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemCloudPCsItemPowerOffRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemPowerOffRequestBuilder) { + return NewItemCloudPCsItemPowerOffRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_item_power_on_request_builder.go b/users/item_cloud_p_cs_item_power_on_request_builder.go index 526cf4908a1..bcf305f2d5f 100644 --- a/users/item_cloud_p_cs_item_power_on_request_builder.go +++ b/users/item_cloud_p_cs_item_power_on_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCloudPCsItemPowerOnRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemCloudPCsItemPowerOnRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemPowerOnRequestBuilder) { + return NewItemCloudPCsItemPowerOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_item_reboot_request_builder.go b/users/item_cloud_p_cs_item_reboot_request_builder.go index 0286e1e2c4d..a7e032ac22f 100644 --- a/users/item_cloud_p_cs_item_reboot_request_builder.go +++ b/users/item_cloud_p_cs_item_reboot_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCloudPCsItemRebootRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemCloudPCsItemRebootRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemRebootRequestBuilder) { + return NewItemCloudPCsItemRebootRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_item_rename_request_builder.go b/users/item_cloud_p_cs_item_rename_request_builder.go index a1fbab7f009..c667465ce78 100644 --- a/users/item_cloud_p_cs_item_rename_request_builder.go +++ b/users/item_cloud_p_cs_item_rename_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCloudPCsItemRenameRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemCloudPCsItemRenameRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemRenameRequestBuilder) { + return NewItemCloudPCsItemRenameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_item_reprovision_request_builder.go b/users/item_cloud_p_cs_item_reprovision_request_builder.go index b16736b7697..8728a527c18 100644 --- a/users/item_cloud_p_cs_item_reprovision_request_builder.go +++ b/users/item_cloud_p_cs_item_reprovision_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCloudPCsItemReprovisionRequestBuilder) 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 *ItemCloudPCsItemReprovisionRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemReprovisionRequestBuilder) { + return NewItemCloudPCsItemReprovisionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_item_resize_post_request_body.go b/users/item_cloud_p_cs_item_resize_post_request_body.go new file mode 100644 index 00000000000..786cf90c89b --- /dev/null +++ b/users/item_cloud_p_cs_item_resize_post_request_body.go @@ -0,0 +1,110 @@ +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +// ItemCloudPCsItemResizePostRequestBody +type ItemCloudPCsItemResizePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemCloudPCsItemResizePostRequestBody instantiates a new ItemCloudPCsItemResizePostRequestBody and sets the default values. +func NewItemCloudPCsItemResizePostRequestBody()(*ItemCloudPCsItemResizePostRequestBody) { + m := &ItemCloudPCsItemResizePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemCloudPCsItemResizePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateItemCloudPCsItemResizePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemCloudPCsItemResizePostRequestBody(), nil +} +// GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemCloudPCsItemResizePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the backingStore property value. Stores model information. +func (m *ItemCloudPCsItemResizePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +func (m *ItemCloudPCsItemResizePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["targetServicePlanId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTargetServicePlanId(val) + } + return nil + } + return res +} +// GetTargetServicePlanId gets the targetServicePlanId property value. The targetServicePlanId property +func (m *ItemCloudPCsItemResizePostRequestBody) GetTargetServicePlanId()(*string) { + val, err := m.GetBackingStore().Get("targetServicePlanId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemCloudPCsItemResizePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("targetServicePlanId", m.GetTargetServicePlanId()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemCloudPCsItemResizePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the backingStore property value. Stores model information. +func (m *ItemCloudPCsItemResizePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetTargetServicePlanId sets the targetServicePlanId property value. The targetServicePlanId property +func (m *ItemCloudPCsItemResizePostRequestBody) SetTargetServicePlanId(value *string)() { + err := m.GetBackingStore().Set("targetServicePlanId", value) + if err != nil { + panic(err) + } +} +// ItemCloudPCsItemResizePostRequestBodyable +type ItemCloudPCsItemResizePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetTargetServicePlanId()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetTargetServicePlanId(value *string)() +} diff --git a/users/item_cloud_p_cs_item_resize_request_builder.go b/users/item_cloud_p_cs_item_resize_request_builder.go new file mode 100644 index 00000000000..e8a25a0eed3 --- /dev/null +++ b/users/item_cloud_p_cs_item_resize_request_builder.go @@ -0,0 +1,68 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemCloudPCsItemResizeRequestBuilder provides operations to call the resize method. +type ItemCloudPCsItemResizeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemCloudPCsItemResizeRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemCloudPCsItemResizeRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemCloudPCsItemResizeRequestBuilderInternal instantiates a new ResizeRequestBuilder and sets the default values. +func NewItemCloudPCsItemResizeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemResizeRequestBuilder) { + m := &ItemCloudPCsItemResizeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}/resize", pathParameters), + } + return m +} +// NewItemCloudPCsItemResizeRequestBuilder instantiates a new ResizeRequestBuilder and sets the default values. +func NewItemCloudPCsItemResizeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemCloudPCsItemResizeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemCloudPCsItemResizeRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action resize +func (m *ItemCloudPCsItemResizeRequestBuilder) Post(ctx context.Context, body ItemCloudPCsItemResizePostRequestBodyable, requestConfiguration *ItemCloudPCsItemResizeRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action resize +func (m *ItemCloudPCsItemResizeRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCloudPCsItemResizePostRequestBodyable, requestConfiguration *ItemCloudPCsItemResizeRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *ItemCloudPCsItemResizeRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemResizeRequestBuilder) { + return NewItemCloudPCsItemResizeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_item_restore_request_builder.go b/users/item_cloud_p_cs_item_restore_request_builder.go index eb293d3a1d4..e35e54e1db1 100644 --- a/users/item_cloud_p_cs_item_restore_request_builder.go +++ b/users/item_cloud_p_cs_item_restore_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemCloudPCsItemRestoreRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemCloudPCsItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemRestoreRequestBuilder) { + return NewItemCloudPCsItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go b/users/item_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go index 2e7616bac21..d90303dd64a 100644 --- a/users/item_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go +++ b/users/item_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go @@ -30,7 +30,7 @@ func NewItemCloudPCsItemRetryPartnerAgentInstallationRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewItemCloudPCsItemRetryPartnerAgentInstallationRequestBuilderInternal(urlParams, requestAdapter) } -// Post retry installation for the partner agents which failed to install on the Cloud PC. Service side will check which agent installation failed firstly and retry. +// Post retry installation for the partner agents that failed to install on the Cloud PC. Service side checks which agent installation failed firstly and retry. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-retrypartneragentinstallation?view=graph-rest-1.0 @@ -49,7 +49,7 @@ func (m *ItemCloudPCsItemRetryPartnerAgentInstallationRequestBuilder) Post(ctx c } return nil } -// ToPostRequestInformation retry installation for the partner agents which failed to install on the Cloud PC. Service side will check which agent installation failed firstly and retry. +// ToPostRequestInformation retry installation for the partner agents that failed to install on the Cloud PC. Service side checks which agent installation failed firstly and retry. func (m *ItemCloudPCsItemRetryPartnerAgentInstallationRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemCloudPCsItemRetryPartnerAgentInstallationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -61,3 +61,7 @@ func (m *ItemCloudPCsItemRetryPartnerAgentInstallationRequestBuilder) ToPostRequ } 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 *ItemCloudPCsItemRetryPartnerAgentInstallationRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemRetryPartnerAgentInstallationRequestBuilder) { + return NewItemCloudPCsItemRetryPartnerAgentInstallationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_item_start_request_builder.go b/users/item_cloud_p_cs_item_start_request_builder.go index 4e2f9f8a453..63fcb837635 100644 --- a/users/item_cloud_p_cs_item_start_request_builder.go +++ b/users/item_cloud_p_cs_item_start_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCloudPCsItemStartRequestBuilder) 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 *ItemCloudPCsItemStartRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemStartRequestBuilder) { + return NewItemCloudPCsItemStartRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_item_stop_request_builder.go b/users/item_cloud_p_cs_item_stop_request_builder.go index 858140d947f..d0c472ecf45 100644 --- a/users/item_cloud_p_cs_item_stop_request_builder.go +++ b/users/item_cloud_p_cs_item_stop_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCloudPCsItemStopRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemCloudPCsItemStopRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemStopRequestBuilder) { + return NewItemCloudPCsItemStopRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_item_troubleshoot_request_builder.go b/users/item_cloud_p_cs_item_troubleshoot_request_builder.go index ee5a6b1b7a6..35b3bf6df98 100644 --- a/users/item_cloud_p_cs_item_troubleshoot_request_builder.go +++ b/users/item_cloud_p_cs_item_troubleshoot_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemCloudPCsItemTroubleshootRequestBuilder) 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 *ItemCloudPCsItemTroubleshootRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsItemTroubleshootRequestBuilder) { + return NewItemCloudPCsItemTroubleshootRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_request_builder.go b/users/item_cloud_p_cs_request_builder.go index c459e588b7c..21eb19b870b 100644 --- a/users/item_cloud_p_cs_request_builder.go +++ b/users/item_cloud_p_cs_request_builder.go @@ -50,8 +50,8 @@ type ItemCloudPCsRequestBuilderPostRequestConfiguration struct { func (m *ItemCloudPCsRequestBuilder) BulkResize()(*ItemCloudPCsBulkResizeRequestBuilder) { return NewItemCloudPCsBulkResizeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByCloudPCIdString provides operations to manage the cloudPCs property of the microsoft.graph.user entity. -func (m *ItemCloudPCsRequestBuilder) ByCloudPCIdString(cloudPCId string)(*ItemCloudPCsCloudPCItemRequestBuilder) { +// ByCloudPCId provides operations to manage the cloudPCs property of the microsoft.graph.user entity. +func (m *ItemCloudPCsRequestBuilder) ByCloudPCId(cloudPCId string)(*ItemCloudPCsCloudPCItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -160,3 +160,7 @@ func (m *ItemCloudPCsRequestBuilder) ToPostRequestInformation(ctx context.Contex func (m *ItemCloudPCsRequestBuilder) ValidateBulkResize()(*ItemCloudPCsValidateBulkResizeRequestBuilder) { return NewItemCloudPCsValidateBulkResizeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemCloudPCsRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsRequestBuilder) { + return NewItemCloudPCsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_cloud_p_cs_validate_bulk_resize_request_builder.go b/users/item_cloud_p_cs_validate_bulk_resize_request_builder.go index 9a61c402f63..e835ca2a6e0 100644 --- a/users/item_cloud_p_cs_validate_bulk_resize_request_builder.go +++ b/users/item_cloud_p_cs_validate_bulk_resize_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemCloudPCsValidateBulkResizeRequestBuilder) 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 *ItemCloudPCsValidateBulkResizeRequestBuilder) WithUrl(rawUrl string)(*ItemCloudPCsValidateBulkResizeRequestBuilder) { + return NewItemCloudPCsValidateBulkResizeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_contact_folder_item_request_builder.go b/users/item_contact_folders_contact_folder_item_request_builder.go index 5304d93d47f..a2fd3a043d4 100644 --- a/users/item_contact_folders_contact_folder_item_request_builder.go +++ b/users/item_contact_folders_contact_folder_item_request_builder.go @@ -170,3 +170,7 @@ func (m *ItemContactFoldersContactFolderItemRequestBuilder) ToPatchRequestInform } 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 *ItemContactFoldersContactFolderItemRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersContactFolderItemRequestBuilder) { + return NewItemContactFoldersContactFolderItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_count_request_builder.go b/users/item_contact_folders_count_request_builder.go index 4f677dd7900..192d86b7513 100644 --- a/users/item_contact_folders_count_request_builder.go +++ b/users/item_contact_folders_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemContactFoldersCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemContactFoldersCountRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersCountRequestBuilder) { + return NewItemContactFoldersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_delta_request_builder.go b/users/item_contact_folders_delta_request_builder.go index 8dd8dd417f4..4f043018bd6 100644 --- a/users/item_contact_folders_delta_request_builder.go +++ b/users/item_contact_folders_delta_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemContactFoldersDeltaRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemContactFoldersDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersDeltaRequestBuilder) { + return NewItemContactFoldersDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_item_child_folders_contact_folder_item_request_builder.go b/users/item_contact_folders_item_child_folders_contact_folder_item_request_builder.go index 5f0e44378bf..0967e09c673 100644 --- a/users/item_contact_folders_item_child_folders_contact_folder_item_request_builder.go +++ b/users/item_contact_folders_item_child_folders_contact_folder_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemContactFoldersItemChildFoldersContactFolderItemRequestBuilder) ToPa } 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 *ItemContactFoldersItemChildFoldersContactFolderItemRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersItemChildFoldersContactFolderItemRequestBuilder) { + return NewItemContactFoldersItemChildFoldersContactFolderItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_item_child_folders_count_request_builder.go b/users/item_contact_folders_item_child_folders_count_request_builder.go index a1105f16761..4acf9deb21d 100644 --- a/users/item_contact_folders_item_child_folders_count_request_builder.go +++ b/users/item_contact_folders_item_child_folders_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemContactFoldersItemChildFoldersCountRequestBuilder) ToGetRequestInfo } 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 *ItemContactFoldersItemChildFoldersCountRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersItemChildFoldersCountRequestBuilder) { + return NewItemContactFoldersItemChildFoldersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_item_child_folders_delta_request_builder.go b/users/item_contact_folders_item_child_folders_delta_request_builder.go index 5f071d94fff..e7015b2580a 100644 --- a/users/item_contact_folders_item_child_folders_delta_request_builder.go +++ b/users/item_contact_folders_item_child_folders_delta_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemContactFoldersItemChildFoldersDeltaRequestBuilder) ToGetRequestInfo } 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 *ItemContactFoldersItemChildFoldersDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersItemChildFoldersDeltaRequestBuilder) { + return NewItemContactFoldersItemChildFoldersDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_item_child_folders_item_contacts_contact_item_request_builder.go b/users/item_contact_folders_item_child_folders_item_contacts_contact_item_request_builder.go index 758bd10c71b..a598f961649 100644 --- a/users/item_contact_folders_item_child_folders_item_contacts_contact_item_request_builder.go +++ b/users/item_contact_folders_item_child_folders_item_contacts_contact_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsContactItemRequestBuilder } 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 *ItemContactFoldersItemChildFoldersItemContactsContactItemRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersItemChildFoldersItemContactsContactItemRequestBuilder) { + return NewItemContactFoldersItemChildFoldersItemContactsContactItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_item_child_folders_item_contacts_count_request_builder.go b/users/item_contact_folders_item_child_folders_item_contacts_count_request_builder.go index 3c56648af30..4bb9cc9c216 100644 --- a/users/item_contact_folders_item_child_folders_item_contacts_count_request_builder.go +++ b/users/item_contact_folders_item_child_folders_item_contacts_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsCountRequestBuilder) ToGe } 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 *ItemContactFoldersItemChildFoldersItemContactsCountRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersItemChildFoldersItemContactsCountRequestBuilder) { + return NewItemContactFoldersItemChildFoldersItemContactsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_item_child_folders_item_contacts_delta_request_builder.go b/users/item_contact_folders_item_child_folders_item_contacts_delta_request_builder.go index ac83fbbdb09..848b929bea3 100644 --- a/users/item_contact_folders_item_child_folders_item_contacts_delta_request_builder.go +++ b/users/item_contact_folders_item_child_folders_item_contacts_delta_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsDeltaRequestBuilder) ToGe } 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 *ItemContactFoldersItemChildFoldersItemContactsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersItemChildFoldersItemContactsDeltaRequestBuilder) { + return NewItemContactFoldersItemChildFoldersItemContactsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_item_child_folders_item_contacts_item_extensions_count_request_builder.go b/users/item_contact_folders_item_child_folders_item_contacts_item_extensions_count_request_builder.go index cc37bc7cef6..3b08560c730 100644 --- a/users/item_contact_folders_item_child_folders_item_contacts_item_extensions_count_request_builder.go +++ b/users/item_contact_folders_item_child_folders_item_contacts_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsItemExtensionsCountReques } 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 *ItemContactFoldersItemChildFoldersItemContactsItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersItemChildFoldersItemContactsItemExtensionsCountRequestBuilder) { + return NewItemContactFoldersItemChildFoldersItemContactsItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_item_child_folders_item_contacts_item_extensions_extension_item_request_builder.go b/users/item_contact_folders_item_child_folders_item_contacts_item_extensions_extension_item_request_builder.go index d49beca9332..2cabdc29b7d 100644 --- a/users/item_contact_folders_item_child_folders_item_contacts_item_extensions_extension_item_request_builder.go +++ b/users/item_contact_folders_item_child_folders_item_contacts_item_extensions_extension_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsItemExtensionsExtensionIt } 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 *ItemContactFoldersItemChildFoldersItemContactsItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersItemChildFoldersItemContactsItemExtensionsExtensionItemRequestBuilder) { + return NewItemContactFoldersItemChildFoldersItemContactsItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_item_child_folders_item_contacts_item_extensions_request_builder.go b/users/item_contact_folders_item_child_folders_item_contacts_item_extensions_request_builder.go index 4ba4ee564bd..aaf433a3e6a 100644 --- a/users/item_contact_folders_item_child_folders_item_contacts_item_extensions_request_builder.go +++ b/users/item_contact_folders_item_child_folders_item_contacts_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemContactFoldersItemChildFoldersItemContactsItemExtensionsRequestBuilderP // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.contact entity. -func (m *ItemContactFoldersItemChildFoldersItemContactsItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemContactFoldersItemChildFoldersItemContactsItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.contact entity. +func (m *ItemContactFoldersItemChildFoldersItemContactsItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemContactFoldersItemChildFoldersItemContactsItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -143,3 +143,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsItemExtensionsRequestBuil } 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 *ItemContactFoldersItemChildFoldersItemContactsItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersItemChildFoldersItemContactsItemExtensionsRequestBuilder) { + return NewItemContactFoldersItemChildFoldersItemContactsItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_item_child_folders_item_contacts_item_photo_request_builder.go b/users/item_contact_folders_item_child_folders_item_contacts_item_photo_request_builder.go index fa1a2ec8d67..c820e4e2e83 100644 --- a/users/item_contact_folders_item_child_folders_item_contacts_item_photo_request_builder.go +++ b/users/item_contact_folders_item_child_folders_item_contacts_item_photo_request_builder.go @@ -120,3 +120,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsItemPhotoRequestBuilder) } 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 *ItemContactFoldersItemChildFoldersItemContactsItemPhotoRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersItemChildFoldersItemContactsItemPhotoRequestBuilder) { + return NewItemContactFoldersItemChildFoldersItemContactsItemPhotoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_item_child_folders_item_contacts_item_photo_value_content_request_builder.go b/users/item_contact_folders_item_child_folders_item_contacts_item_photo_value_content_request_builder.go index d4d19d36c91..3177667a84d 100644 --- a/users/item_contact_folders_item_child_folders_item_contacts_item_photo_value_content_request_builder.go +++ b/users/item_contact_folders_item_child_folders_item_contacts_item_photo_value_content_request_builder.go @@ -100,3 +100,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsItemPhotoValueContentRequ } 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 *ItemContactFoldersItemChildFoldersItemContactsItemPhotoValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersItemChildFoldersItemContactsItemPhotoValueContentRequestBuilder) { + return NewItemContactFoldersItemChildFoldersItemContactsItemPhotoValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_item_child_folders_item_contacts_request_builder.go b/users/item_contact_folders_item_child_folders_item_contacts_request_builder.go index 1891022aebf..d76af2888a8 100644 --- a/users/item_contact_folders_item_child_folders_item_contacts_request_builder.go +++ b/users/item_contact_folders_item_child_folders_item_contacts_request_builder.go @@ -44,8 +44,8 @@ type ItemContactFoldersItemChildFoldersItemContactsRequestBuilderPostRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByContactIdString provides operations to manage the contacts property of the microsoft.graph.contactFolder entity. -func (m *ItemContactFoldersItemChildFoldersItemContactsRequestBuilder) ByContactIdString(contactId string)(*ItemContactFoldersItemChildFoldersItemContactsContactItemRequestBuilder) { +// ByContactId provides operations to manage the contacts property of the microsoft.graph.contactFolder entity. +func (m *ItemContactFoldersItemChildFoldersItemContactsRequestBuilder) ByContactId(contactId string)(*ItemContactFoldersItemChildFoldersItemContactsContactItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsRequestBuilder) ToPostReq } 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 *ItemContactFoldersItemChildFoldersItemContactsRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersItemChildFoldersItemContactsRequestBuilder) { + return NewItemContactFoldersItemChildFoldersItemContactsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_item_child_folders_request_builder.go b/users/item_contact_folders_item_child_folders_request_builder.go index 6c1eec1d9cf..f1be916b1de 100644 --- a/users/item_contact_folders_item_child_folders_request_builder.go +++ b/users/item_contact_folders_item_child_folders_request_builder.go @@ -44,8 +44,8 @@ type ItemContactFoldersItemChildFoldersRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByContactFolderId1String provides operations to manage the childFolders property of the microsoft.graph.contactFolder entity. -func (m *ItemContactFoldersItemChildFoldersRequestBuilder) ByContactFolderId1String(contactFolderId1 string)(*ItemContactFoldersItemChildFoldersContactFolderItemRequestBuilder) { +// ByContactFolderId1 provides operations to manage the childFolders property of the microsoft.graph.contactFolder entity. +func (m *ItemContactFoldersItemChildFoldersRequestBuilder) ByContactFolderId1(contactFolderId1 string)(*ItemContactFoldersItemChildFoldersContactFolderItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,7 @@ func (m *ItemContactFoldersItemChildFoldersRequestBuilder) ToPostRequestInformat } 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 *ItemContactFoldersItemChildFoldersRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersItemChildFoldersRequestBuilder) { + return NewItemContactFoldersItemChildFoldersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_item_contacts_contact_item_request_builder.go b/users/item_contact_folders_item_contacts_contact_item_request_builder.go index 1be2634f854..843935307d7 100644 --- a/users/item_contact_folders_item_contacts_contact_item_request_builder.go +++ b/users/item_contact_folders_item_contacts_contact_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemContactFoldersItemContactsContactItemRequestBuilder) ToPatchRequest } 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 *ItemContactFoldersItemContactsContactItemRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersItemContactsContactItemRequestBuilder) { + return NewItemContactFoldersItemContactsContactItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_item_contacts_count_request_builder.go b/users/item_contact_folders_item_contacts_count_request_builder.go index 68d0ba08290..c9f71b8e026 100644 --- a/users/item_contact_folders_item_contacts_count_request_builder.go +++ b/users/item_contact_folders_item_contacts_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemContactFoldersItemContactsCountRequestBuilder) ToGetRequestInformat } 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 *ItemContactFoldersItemContactsCountRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersItemContactsCountRequestBuilder) { + return NewItemContactFoldersItemContactsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_item_contacts_delta_request_builder.go b/users/item_contact_folders_item_contacts_delta_request_builder.go index ebe2a81a9f7..18d7d212385 100644 --- a/users/item_contact_folders_item_contacts_delta_request_builder.go +++ b/users/item_contact_folders_item_contacts_delta_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemContactFoldersItemContactsDeltaRequestBuilder) ToGetRequestInformat } 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 *ItemContactFoldersItemContactsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersItemContactsDeltaRequestBuilder) { + return NewItemContactFoldersItemContactsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_item_contacts_item_extensions_count_request_builder.go b/users/item_contact_folders_item_contacts_item_extensions_count_request_builder.go index 770e06b55ed..12c80c312a2 100644 --- a/users/item_contact_folders_item_contacts_item_extensions_count_request_builder.go +++ b/users/item_contact_folders_item_contacts_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemContactFoldersItemContactsItemExtensionsCountRequestBuilder) ToGetR } 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 *ItemContactFoldersItemContactsItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersItemContactsItemExtensionsCountRequestBuilder) { + return NewItemContactFoldersItemContactsItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_item_contacts_item_extensions_extension_item_request_builder.go b/users/item_contact_folders_item_contacts_item_extensions_extension_item_request_builder.go index 46cf3f46a4b..3c48c2b77ac 100644 --- a/users/item_contact_folders_item_contacts_item_extensions_extension_item_request_builder.go +++ b/users/item_contact_folders_item_contacts_item_extensions_extension_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemContactFoldersItemContactsItemExtensionsExtensionItemRequestBuilder } 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 *ItemContactFoldersItemContactsItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersItemContactsItemExtensionsExtensionItemRequestBuilder) { + return NewItemContactFoldersItemContactsItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_item_contacts_item_extensions_request_builder.go b/users/item_contact_folders_item_contacts_item_extensions_request_builder.go index 9b1d0ea8449..0f3d3fd37af 100644 --- a/users/item_contact_folders_item_contacts_item_extensions_request_builder.go +++ b/users/item_contact_folders_item_contacts_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemContactFoldersItemContactsItemExtensionsRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.contact entity. -func (m *ItemContactFoldersItemContactsItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemContactFoldersItemContactsItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.contact entity. +func (m *ItemContactFoldersItemContactsItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemContactFoldersItemContactsItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -143,3 +143,7 @@ func (m *ItemContactFoldersItemContactsItemExtensionsRequestBuilder) ToPostReque } 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 *ItemContactFoldersItemContactsItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersItemContactsItemExtensionsRequestBuilder) { + return NewItemContactFoldersItemContactsItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_item_contacts_item_photo_request_builder.go b/users/item_contact_folders_item_contacts_item_photo_request_builder.go index 822dc7ee171..2a450a8a6fd 100644 --- a/users/item_contact_folders_item_contacts_item_photo_request_builder.go +++ b/users/item_contact_folders_item_contacts_item_photo_request_builder.go @@ -120,3 +120,7 @@ func (m *ItemContactFoldersItemContactsItemPhotoRequestBuilder) ToPatchRequestIn } 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 *ItemContactFoldersItemContactsItemPhotoRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersItemContactsItemPhotoRequestBuilder) { + return NewItemContactFoldersItemContactsItemPhotoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_item_contacts_item_photo_value_content_request_builder.go b/users/item_contact_folders_item_contacts_item_photo_value_content_request_builder.go index c93f0f8efea..f5eab481e0c 100644 --- a/users/item_contact_folders_item_contacts_item_photo_value_content_request_builder.go +++ b/users/item_contact_folders_item_contacts_item_photo_value_content_request_builder.go @@ -100,3 +100,7 @@ func (m *ItemContactFoldersItemContactsItemPhotoValueContentRequestBuilder) ToPu } 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 *ItemContactFoldersItemContactsItemPhotoValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersItemContactsItemPhotoValueContentRequestBuilder) { + return NewItemContactFoldersItemContactsItemPhotoValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_item_contacts_request_builder.go b/users/item_contact_folders_item_contacts_request_builder.go index 20d4c941aa5..4369096f2ae 100644 --- a/users/item_contact_folders_item_contacts_request_builder.go +++ b/users/item_contact_folders_item_contacts_request_builder.go @@ -44,8 +44,8 @@ type ItemContactFoldersItemContactsRequestBuilderPostRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByContactIdString provides operations to manage the contacts property of the microsoft.graph.contactFolder entity. -func (m *ItemContactFoldersItemContactsRequestBuilder) ByContactIdString(contactId string)(*ItemContactFoldersItemContactsContactItemRequestBuilder) { +// ByContactId provides operations to manage the contacts property of the microsoft.graph.contactFolder entity. +func (m *ItemContactFoldersItemContactsRequestBuilder) ByContactId(contactId string)(*ItemContactFoldersItemContactsContactItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,7 @@ func (m *ItemContactFoldersItemContactsRequestBuilder) 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 *ItemContactFoldersItemContactsRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersItemContactsRequestBuilder) { + return NewItemContactFoldersItemContactsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contact_folders_request_builder.go b/users/item_contact_folders_request_builder.go index e67fce26dfc..a3e7294e4b5 100644 --- a/users/item_contact_folders_request_builder.go +++ b/users/item_contact_folders_request_builder.go @@ -44,8 +44,8 @@ type ItemContactFoldersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByContactFolderIdString provides operations to manage the contactFolders property of the microsoft.graph.user entity. -func (m *ItemContactFoldersRequestBuilder) ByContactFolderIdString(contactFolderId string)(*ItemContactFoldersContactFolderItemRequestBuilder) { +// ByContactFolderId provides operations to manage the contactFolders property of the microsoft.graph.user entity. +func (m *ItemContactFoldersRequestBuilder) ByContactFolderId(contactFolderId string)(*ItemContactFoldersContactFolderItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,7 @@ func (m *ItemContactFoldersRequestBuilder) 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 *ItemContactFoldersRequestBuilder) WithUrl(rawUrl string)(*ItemContactFoldersRequestBuilder) { + return NewItemContactFoldersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contacts_contact_item_request_builder.go b/users/item_contacts_contact_item_request_builder.go index 7fd4158a211..73d9f3ed0df 100644 --- a/users/item_contacts_contact_item_request_builder.go +++ b/users/item_contacts_contact_item_request_builder.go @@ -170,3 +170,7 @@ func (m *ItemContactsContactItemRequestBuilder) ToPatchRequestInformation(ctx co } 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 *ItemContactsContactItemRequestBuilder) WithUrl(rawUrl string)(*ItemContactsContactItemRequestBuilder) { + return NewItemContactsContactItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contacts_count_request_builder.go b/users/item_contacts_count_request_builder.go index 41b212b6ee5..fe4280ffed6 100644 --- a/users/item_contacts_count_request_builder.go +++ b/users/item_contacts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemContactsCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemContactsCountRequestBuilder) WithUrl(rawUrl string)(*ItemContactsCountRequestBuilder) { + return NewItemContactsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contacts_delta_request_builder.go b/users/item_contacts_delta_request_builder.go index 13700313d50..d727d63902a 100644 --- a/users/item_contacts_delta_request_builder.go +++ b/users/item_contacts_delta_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemContactsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemContactsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemContactsDeltaRequestBuilder) { + return NewItemContactsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contacts_item_extensions_count_request_builder.go b/users/item_contacts_item_extensions_count_request_builder.go index 9b7ccc75b99..03175d82d74 100644 --- a/users/item_contacts_item_extensions_count_request_builder.go +++ b/users/item_contacts_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemContactsItemExtensionsCountRequestBuilder) 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 *ItemContactsItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemContactsItemExtensionsCountRequestBuilder) { + return NewItemContactsItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contacts_item_extensions_extension_item_request_builder.go b/users/item_contacts_item_extensions_extension_item_request_builder.go index 9d6a1682045..7a8532f980d 100644 --- a/users/item_contacts_item_extensions_extension_item_request_builder.go +++ b/users/item_contacts_item_extensions_extension_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemContactsItemExtensionsExtensionItemRequestBuilder) ToPatchRequestIn } 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 *ItemContactsItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemContactsItemExtensionsExtensionItemRequestBuilder) { + return NewItemContactsItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contacts_item_extensions_request_builder.go b/users/item_contacts_item_extensions_request_builder.go index d730ab9a80f..99fb20a7079 100644 --- a/users/item_contacts_item_extensions_request_builder.go +++ b/users/item_contacts_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemContactsItemExtensionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.contact entity. -func (m *ItemContactsItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemContactsItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.contact entity. +func (m *ItemContactsItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemContactsItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -143,3 +143,7 @@ func (m *ItemContactsItemExtensionsRequestBuilder) 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 *ItemContactsItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemContactsItemExtensionsRequestBuilder) { + return NewItemContactsItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contacts_item_photo_request_builder.go b/users/item_contacts_item_photo_request_builder.go index 12f9f27a55f..b9bd5e54ffc 100644 --- a/users/item_contacts_item_photo_request_builder.go +++ b/users/item_contacts_item_photo_request_builder.go @@ -120,3 +120,7 @@ func (m *ItemContactsItemPhotoRequestBuilder) ToPatchRequestInformation(ctx cont } 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 *ItemContactsItemPhotoRequestBuilder) WithUrl(rawUrl string)(*ItemContactsItemPhotoRequestBuilder) { + return NewItemContactsItemPhotoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contacts_item_photo_value_content_request_builder.go b/users/item_contacts_item_photo_value_content_request_builder.go index ace85307057..d743892b54a 100644 --- a/users/item_contacts_item_photo_value_content_request_builder.go +++ b/users/item_contacts_item_photo_value_content_request_builder.go @@ -100,3 +100,7 @@ func (m *ItemContactsItemPhotoValueContentRequestBuilder) ToPutRequestInformatio } 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 *ItemContactsItemPhotoValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemContactsItemPhotoValueContentRequestBuilder) { + return NewItemContactsItemPhotoValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_contacts_request_builder.go b/users/item_contacts_request_builder.go index 13ddd99cdaf..cbfa72f1919 100644 --- a/users/item_contacts_request_builder.go +++ b/users/item_contacts_request_builder.go @@ -46,8 +46,8 @@ type ItemContactsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByContactIdString provides operations to manage the contacts property of the microsoft.graph.user entity. -func (m *ItemContactsRequestBuilder) ByContactIdString(contactId string)(*ItemContactsContactItemRequestBuilder) { +// ByContactId provides operations to manage the contacts property of the microsoft.graph.user entity. +func (m *ItemContactsRequestBuilder) ByContactId(contactId string)(*ItemContactsContactItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemContactsRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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 *ItemContactsRequestBuilder) WithUrl(rawUrl string)(*ItemContactsRequestBuilder) { + return NewItemContactsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_created_objects_count_request_builder.go b/users/item_created_objects_count_request_builder.go index d2517bb67c1..58f87af749e 100644 --- a/users/item_created_objects_count_request_builder.go +++ b/users/item_created_objects_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemCreatedObjectsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemCreatedObjectsCountRequestBuilder) WithUrl(rawUrl string)(*ItemCreatedObjectsCountRequestBuilder) { + return NewItemCreatedObjectsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_created_objects_directory_object_item_request_builder.go b/users/item_created_objects_directory_object_item_request_builder.go index fce9453d9ea..3f30e5a0f53 100644 --- a/users/item_created_objects_directory_object_item_request_builder.go +++ b/users/item_created_objects_directory_object_item_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCreatedObjectsDirectoryObjectItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCreatedObjectsDirectoryObjectItemRequestBuilderGetQueryParameters directory objects that were created by the user. Read-only. Nullable. +// ItemCreatedObjectsDirectoryObjectItemRequestBuilderGetQueryParameters directory objects that the user created. Read-only. Nullable. type ItemCreatedObjectsDirectoryObjectItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,7 +40,7 @@ func NewItemCreatedObjectsDirectoryObjectItemRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewItemCreatedObjectsDirectoryObjectItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get directory objects that were created by the user. Read-only. Nullable. +// Get directory objects that the user created. Read-only. Nullable. func (m *ItemCreatedObjectsDirectoryObjectItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCreatedObjectsDirectoryObjectItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -63,7 +63,7 @@ func (m *ItemCreatedObjectsDirectoryObjectItemRequestBuilder) Get(ctx context.Co func (m *ItemCreatedObjectsDirectoryObjectItemRequestBuilder) GraphServicePrincipal()(*ItemCreatedObjectsItemGraphServicePrincipalRequestBuilder) { return NewItemCreatedObjectsItemGraphServicePrincipalRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation directory objects that were created by the user. Read-only. Nullable. +// ToGetRequestInformation directory objects that the user created. Read-only. Nullable. func (m *ItemCreatedObjectsDirectoryObjectItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCreatedObjectsDirectoryObjectItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -79,3 +79,7 @@ func (m *ItemCreatedObjectsDirectoryObjectItemRequestBuilder) ToGetRequestInform } 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 *ItemCreatedObjectsDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemCreatedObjectsDirectoryObjectItemRequestBuilder) { + return NewItemCreatedObjectsDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_created_objects_graph_service_principal_count_request_builder.go b/users/item_created_objects_graph_service_principal_count_request_builder.go index 53171d28c0b..295a4fcbf8c 100644 --- a/users/item_created_objects_graph_service_principal_count_request_builder.go +++ b/users/item_created_objects_graph_service_principal_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemCreatedObjectsGraphServicePrincipalCountRequestBuilder) ToGetReques } 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 *ItemCreatedObjectsGraphServicePrincipalCountRequestBuilder) WithUrl(rawUrl string)(*ItemCreatedObjectsGraphServicePrincipalCountRequestBuilder) { + return NewItemCreatedObjectsGraphServicePrincipalCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_created_objects_graph_service_principal_request_builder.go b/users/item_created_objects_graph_service_principal_request_builder.go index dd76aff07ac..95f45d75d38 100644 --- a/users/item_created_objects_graph_service_principal_request_builder.go +++ b/users/item_created_objects_graph_service_principal_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemCreatedObjectsGraphServicePrincipalRequestBuilder) ToGetRequestInfo } 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 *ItemCreatedObjectsGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemCreatedObjectsGraphServicePrincipalRequestBuilder) { + return NewItemCreatedObjectsGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_created_objects_item_graph_service_principal_request_builder.go b/users/item_created_objects_item_graph_service_principal_request_builder.go index cb94f3dfed2..e39dd8b987c 100644 --- a/users/item_created_objects_item_graph_service_principal_request_builder.go +++ b/users/item_created_objects_item_graph_service_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemCreatedObjectsItemGraphServicePrincipalRequestBuilder) ToGetRequest } 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 *ItemCreatedObjectsItemGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemCreatedObjectsItemGraphServicePrincipalRequestBuilder) { + return NewItemCreatedObjectsItemGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_created_objects_request_builder.go b/users/item_created_objects_request_builder.go index f6177b44679..8f3ab0fe6cb 100644 --- a/users/item_created_objects_request_builder.go +++ b/users/item_created_objects_request_builder.go @@ -39,8 +39,8 @@ type ItemCreatedObjectsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemCreatedObjectsRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the createdObjects property of the microsoft.graph.user entity. -func (m *ItemCreatedObjectsRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemCreatedObjectsDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the createdObjects property of the microsoft.graph.user entity. +func (m *ItemCreatedObjectsRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemCreatedObjectsDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemCreatedObjectsRequestBuilder) 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 *ItemCreatedObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemCreatedObjectsRequestBuilder) { + return NewItemCreatedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_device_enrollment_configurations_count_request_builder.go b/users/item_device_enrollment_configurations_count_request_builder.go index becf1507da6..ad88b71fdb2 100644 --- a/users/item_device_enrollment_configurations_count_request_builder.go +++ b/users/item_device_enrollment_configurations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDeviceEnrollmentConfigurationsCountRequestBuilder) ToGetRequestInfo } 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 *ItemDeviceEnrollmentConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemDeviceEnrollmentConfigurationsCountRequestBuilder) { + return NewItemDeviceEnrollmentConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_device_enrollment_configurations_create_enrollment_notification_configuration_request_builder.go b/users/item_device_enrollment_configurations_create_enrollment_notification_configuration_request_builder.go index 03541342b5f..c6d530f4b6d 100644 --- a/users/item_device_enrollment_configurations_create_enrollment_notification_configuration_request_builder.go +++ b/users/item_device_enrollment_configurations_create_enrollment_notification_configuration_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemDeviceEnrollmentConfigurationsCreateEnrollmentNotificationConfigura } 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 *ItemDeviceEnrollmentConfigurationsCreateEnrollmentNotificationConfigurationRequestBuilder) WithUrl(rawUrl string)(*ItemDeviceEnrollmentConfigurationsCreateEnrollmentNotificationConfigurationRequestBuilder) { + return NewItemDeviceEnrollmentConfigurationsCreateEnrollmentNotificationConfigurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go b/users/item_device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go index 4b10ea01381..f82752e3079 100644 --- a/users/item_device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go +++ b/users/item_device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemDeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequ } 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 *ItemDeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*ItemDeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) { + return NewItemDeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_device_enrollment_configurations_has_payload_links_request_builder.go b/users/item_device_enrollment_configurations_has_payload_links_request_builder.go index 20b191b0eda..9ed28ef39cd 100644 --- a/users/item_device_enrollment_configurations_has_payload_links_request_builder.go +++ b/users/item_device_enrollment_configurations_has_payload_links_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemDeviceEnrollmentConfigurationsHasPayloadLinksRequestBuilder) ToPost } 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 *ItemDeviceEnrollmentConfigurationsHasPayloadLinksRequestBuilder) WithUrl(rawUrl string)(*ItemDeviceEnrollmentConfigurationsHasPayloadLinksRequestBuilder) { + return NewItemDeviceEnrollmentConfigurationsHasPayloadLinksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_device_enrollment_configurations_item_assign_request_builder.go b/users/item_device_enrollment_configurations_item_assign_request_builder.go index f1588c96ca6..219b7e5af89 100644 --- a/users/item_device_enrollment_configurations_item_assign_request_builder.go +++ b/users/item_device_enrollment_configurations_item_assign_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemDeviceEnrollmentConfigurationsItemAssignRequestBuilder) ToPostReque } 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 *ItemDeviceEnrollmentConfigurationsItemAssignRequestBuilder) WithUrl(rawUrl string)(*ItemDeviceEnrollmentConfigurationsItemAssignRequestBuilder) { + return NewItemDeviceEnrollmentConfigurationsItemAssignRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_device_enrollment_configurations_item_assignments_count_request_builder.go b/users/item_device_enrollment_configurations_item_assignments_count_request_builder.go index bd7e8991c0a..688b79993d7 100644 --- a/users/item_device_enrollment_configurations_item_assignments_count_request_builder.go +++ b/users/item_device_enrollment_configurations_item_assignments_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDeviceEnrollmentConfigurationsItemAssignmentsCountRequestBuilder) T } 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 *ItemDeviceEnrollmentConfigurationsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemDeviceEnrollmentConfigurationsItemAssignmentsCountRequestBuilder) { + return NewItemDeviceEnrollmentConfigurationsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_device_enrollment_configurations_item_assignments_enrollment_configuration_assignment_item_request_builder.go b/users/item_device_enrollment_configurations_item_assignments_enrollment_configuration_assignment_item_request_builder.go index eae4c644268..81f4ffc2e25 100644 --- a/users/item_device_enrollment_configurations_item_assignments_enrollment_configuration_assignment_item_request_builder.go +++ b/users/item_device_enrollment_configurations_item_assignments_enrollment_configuration_assignment_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemDeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfiguratio } 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 *ItemDeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemDeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilder) { + return NewItemDeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_device_enrollment_configurations_item_assignments_request_builder.go b/users/item_device_enrollment_configurations_item_assignments_request_builder.go index f59bfa5c011..78da6bf016b 100644 --- a/users/item_device_enrollment_configurations_item_assignments_request_builder.go +++ b/users/item_device_enrollment_configurations_item_assignments_request_builder.go @@ -46,8 +46,8 @@ type ItemDeviceEnrollmentConfigurationsItemAssignmentsRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEnrollmentConfigurationAssignmentIdString provides operations to manage the assignments property of the microsoft.graph.deviceEnrollmentConfiguration entity. -func (m *ItemDeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder) ByEnrollmentConfigurationAssignmentIdString(enrollmentConfigurationAssignmentId string)(*ItemDeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilder) { +// ByEnrollmentConfigurationAssignmentId provides operations to manage the assignments property of the microsoft.graph.deviceEnrollmentConfiguration entity. +func (m *ItemDeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder) ByEnrollmentConfigurationAssignmentId(enrollmentConfigurationAssignmentId string)(*ItemDeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAssignmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemDeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder) ToPost } 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 *ItemDeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*ItemDeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder) { + return NewItemDeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_device_enrollment_configurations_item_set_priority_request_builder.go b/users/item_device_enrollment_configurations_item_set_priority_request_builder.go index 3e0637f1986..6564f51cb61 100644 --- a/users/item_device_enrollment_configurations_item_set_priority_request_builder.go +++ b/users/item_device_enrollment_configurations_item_set_priority_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemDeviceEnrollmentConfigurationsItemSetPriorityRequestBuilder) ToPost } 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 *ItemDeviceEnrollmentConfigurationsItemSetPriorityRequestBuilder) WithUrl(rawUrl string)(*ItemDeviceEnrollmentConfigurationsItemSetPriorityRequestBuilder) { + return NewItemDeviceEnrollmentConfigurationsItemSetPriorityRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_device_enrollment_configurations_request_builder.go b/users/item_device_enrollment_configurations_request_builder.go index c24f5fbf8f0..24020d54b9d 100644 --- a/users/item_device_enrollment_configurations_request_builder.go +++ b/users/item_device_enrollment_configurations_request_builder.go @@ -46,8 +46,8 @@ type ItemDeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceEnrollmentConfigurationIdString provides operations to manage the deviceEnrollmentConfigurations property of the microsoft.graph.user entity. -func (m *ItemDeviceEnrollmentConfigurationsRequestBuilder) ByDeviceEnrollmentConfigurationIdString(deviceEnrollmentConfigurationId string)(*ItemDeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) { +// ByDeviceEnrollmentConfigurationId provides operations to manage the deviceEnrollmentConfigurations property of the microsoft.graph.user entity. +func (m *ItemDeviceEnrollmentConfigurationsRequestBuilder) ByDeviceEnrollmentConfigurationId(deviceEnrollmentConfigurationId string)(*ItemDeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,7 @@ func (m *ItemDeviceEnrollmentConfigurationsRequestBuilder) ToPostRequestInformat } 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 *ItemDeviceEnrollmentConfigurationsRequestBuilder) WithUrl(rawUrl string)(*ItemDeviceEnrollmentConfigurationsRequestBuilder) { + return NewItemDeviceEnrollmentConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_device_management_troubleshooting_events_count_request_builder.go b/users/item_device_management_troubleshooting_events_count_request_builder.go index ee72b1e2301..d3761748af1 100644 --- a/users/item_device_management_troubleshooting_events_count_request_builder.go +++ b/users/item_device_management_troubleshooting_events_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDeviceManagementTroubleshootingEventsCountRequestBuilder) ToGetRequ } 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 *ItemDeviceManagementTroubleshootingEventsCountRequestBuilder) WithUrl(rawUrl string)(*ItemDeviceManagementTroubleshootingEventsCountRequestBuilder) { + return NewItemDeviceManagementTroubleshootingEventsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_device_management_troubleshooting_events_device_management_troubleshooting_event_item_request_builder.go b/users/item_device_management_troubleshooting_events_device_management_troubleshooting_event_item_request_builder.go index 3a3708448ec..2c86fbc83f3 100644 --- a/users/item_device_management_troubleshooting_events_device_management_troubleshooting_event_item_request_builder.go +++ b/users/item_device_management_troubleshooting_events_device_management_troubleshooting_event_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemDeviceManagementTroubleshootingEventsDeviceManagementTroubleshootin } 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 *ItemDeviceManagementTroubleshootingEventsDeviceManagementTroubleshootingEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemDeviceManagementTroubleshootingEventsDeviceManagementTroubleshootingEventItemRequestBuilder) { + return NewItemDeviceManagementTroubleshootingEventsDeviceManagementTroubleshootingEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_device_management_troubleshooting_events_request_builder.go b/users/item_device_management_troubleshooting_events_request_builder.go index 2179afc8bdb..e6251bb1871 100644 --- a/users/item_device_management_troubleshooting_events_request_builder.go +++ b/users/item_device_management_troubleshooting_events_request_builder.go @@ -46,8 +46,8 @@ type ItemDeviceManagementTroubleshootingEventsRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceManagementTroubleshootingEventIdString provides operations to manage the deviceManagementTroubleshootingEvents property of the microsoft.graph.user entity. -func (m *ItemDeviceManagementTroubleshootingEventsRequestBuilder) ByDeviceManagementTroubleshootingEventIdString(deviceManagementTroubleshootingEventId string)(*ItemDeviceManagementTroubleshootingEventsDeviceManagementTroubleshootingEventItemRequestBuilder) { +// ByDeviceManagementTroubleshootingEventId provides operations to manage the deviceManagementTroubleshootingEvents property of the microsoft.graph.user entity. +func (m *ItemDeviceManagementTroubleshootingEventsRequestBuilder) ByDeviceManagementTroubleshootingEventId(deviceManagementTroubleshootingEventId string)(*ItemDeviceManagementTroubleshootingEventsDeviceManagementTroubleshootingEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemDeviceManagementTroubleshootingEventsRequestBuilder) ToPostRequestI } 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 *ItemDeviceManagementTroubleshootingEventsRequestBuilder) WithUrl(rawUrl string)(*ItemDeviceManagementTroubleshootingEventsRequestBuilder) { + return NewItemDeviceManagementTroubleshootingEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_count_request_builder.go b/users/item_devices_count_request_builder.go index 44646b29376..6b8003dd6aa 100644 --- a/users/item_devices_count_request_builder.go +++ b/users/item_devices_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDevicesCountRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *ItemDevicesCountRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesCountRequestBuilder) { + return NewItemDevicesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_delta_request_builder.go b/users/item_devices_delta_request_builder.go index 3771887bdb0..24ca470d8ca 100644 --- a/users/item_devices_delta_request_builder.go +++ b/users/item_devices_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemDevicesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *ItemDevicesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesDeltaRequestBuilder) { + return NewItemDevicesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_device_item_request_builder.go b/users/item_devices_device_item_request_builder.go index 7e7ae49d53c..bf7b5d5baf0 100644 --- a/users/item_devices_device_item_request_builder.go +++ b/users/item_devices_device_item_request_builder.go @@ -201,3 +201,7 @@ func (m *ItemDevicesDeviceItemRequestBuilder) TransitiveMemberOf()(*ItemDevicesI func (m *ItemDevicesDeviceItemRequestBuilder) UsageRights()(*ItemDevicesItemUsageRightsRequestBuilder) { return NewItemDevicesItemUsageRightsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemDevicesDeviceItemRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesDeviceItemRequestBuilder) { + return NewItemDevicesDeviceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_get_by_ids_request_builder.go b/users/item_devices_get_by_ids_request_builder.go index 12d1da4e771..d0d9e18f2f0 100644 --- a/users/item_devices_get_by_ids_request_builder.go +++ b/users/item_devices_get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemDevicesGetByIdsRequestBuilder) 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 *ItemDevicesGetByIdsRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesGetByIdsRequestBuilder) { + return NewItemDevicesGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_get_user_owned_objects_request_builder.go b/users/item_devices_get_user_owned_objects_request_builder.go index f5ad387d4a3..64c10759d39 100644 --- a/users/item_devices_get_user_owned_objects_request_builder.go +++ b/users/item_devices_get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemDevicesGetUserOwnedObjectsRequestBuilder) 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 *ItemDevicesGetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesGetUserOwnedObjectsRequestBuilder) { + return NewItemDevicesGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_check_member_groups_request_builder.go b/users/item_devices_item_check_member_groups_request_builder.go index c6e31d7f95e..8feaa84d84a 100644 --- a/users/item_devices_item_check_member_groups_request_builder.go +++ b/users/item_devices_item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemDevicesItemCheckMemberGroupsRequestBuilder) ToPostRequestInformatio } 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 *ItemDevicesItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemCheckMemberGroupsRequestBuilder) { + return NewItemDevicesItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_check_member_objects_request_builder.go b/users/item_devices_item_check_member_objects_request_builder.go index 63a3e69205d..2757c56d51b 100644 --- a/users/item_devices_item_check_member_objects_request_builder.go +++ b/users/item_devices_item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemDevicesItemCheckMemberObjectsRequestBuilder) ToPostRequestInformati } 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 *ItemDevicesItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemCheckMemberObjectsRequestBuilder) { + return NewItemDevicesItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_commands_command_item_request_builder.go b/users/item_devices_item_commands_command_item_request_builder.go index c5217bf37f2..8ebb57034a4 100644 --- a/users/item_devices_item_commands_command_item_request_builder.go +++ b/users/item_devices_item_commands_command_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemDevicesItemCommandsCommandItemRequestBuilder) ToPatchRequestInforma } 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 *ItemDevicesItemCommandsCommandItemRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemCommandsCommandItemRequestBuilder) { + return NewItemDevicesItemCommandsCommandItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_commands_count_request_builder.go b/users/item_devices_item_commands_count_request_builder.go index 9d57173cbfa..5e3dd4e8e52 100644 --- a/users/item_devices_item_commands_count_request_builder.go +++ b/users/item_devices_item_commands_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDevicesItemCommandsCountRequestBuilder) ToGetRequestInformation(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 *ItemDevicesItemCommandsCountRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemCommandsCountRequestBuilder) { + return NewItemDevicesItemCommandsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_commands_item_responsepayload_request_builder.go b/users/item_devices_item_commands_item_responsepayload_request_builder.go index ff4e9869e65..ef3e882fc14 100644 --- a/users/item_devices_item_commands_item_responsepayload_request_builder.go +++ b/users/item_devices_item_commands_item_responsepayload_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemDevicesItemCommandsItemResponsepayloadRequestBuilder) ToGetRequestI } 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 *ItemDevicesItemCommandsItemResponsepayloadRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemCommandsItemResponsepayloadRequestBuilder) { + return NewItemDevicesItemCommandsItemResponsepayloadRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_commands_request_builder.go b/users/item_devices_item_commands_request_builder.go index 6987f70c258..e76b63a8c9a 100644 --- a/users/item_devices_item_commands_request_builder.go +++ b/users/item_devices_item_commands_request_builder.go @@ -46,8 +46,8 @@ type ItemDevicesItemCommandsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCommandIdString provides operations to manage the commands property of the microsoft.graph.device entity. -func (m *ItemDevicesItemCommandsRequestBuilder) ByCommandIdString(commandId string)(*ItemDevicesItemCommandsCommandItemRequestBuilder) { +// ByCommandId provides operations to manage the commands property of the microsoft.graph.device entity. +func (m *ItemDevicesItemCommandsRequestBuilder) ByCommandId(commandId string)(*ItemDevicesItemCommandsCommandItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemDevicesItemCommandsRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemDevicesItemCommandsRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemCommandsRequestBuilder) { + return NewItemDevicesItemCommandsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_extensions_count_request_builder.go b/users/item_devices_item_extensions_count_request_builder.go index 00f124ca13c..b82b25893cc 100644 --- a/users/item_devices_item_extensions_count_request_builder.go +++ b/users/item_devices_item_extensions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDevicesItemExtensionsCountRequestBuilder) ToGetRequestInformation(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 *ItemDevicesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemExtensionsCountRequestBuilder) { + return NewItemDevicesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_extensions_extension_item_request_builder.go b/users/item_devices_item_extensions_extension_item_request_builder.go index 9950968621c..3c3524ec227 100644 --- a/users/item_devices_item_extensions_extension_item_request_builder.go +++ b/users/item_devices_item_extensions_extension_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemDevicesItemExtensionsExtensionItemRequestBuilder) ToPatchRequestInf } 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 *ItemDevicesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemExtensionsExtensionItemRequestBuilder) { + return NewItemDevicesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_extensions_request_builder.go b/users/item_devices_item_extensions_request_builder.go index e34c54fc09e..4d9b69a8952 100644 --- a/users/item_devices_item_extensions_request_builder.go +++ b/users/item_devices_item_extensions_request_builder.go @@ -46,8 +46,8 @@ type ItemDevicesItemExtensionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.device entity. -func (m *ItemDevicesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemDevicesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.device entity. +func (m *ItemDevicesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemDevicesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemDevicesItemExtensionsRequestBuilder) ToPostRequestInformation(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 *ItemDevicesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemExtensionsRequestBuilder) { + return NewItemDevicesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_get_member_groups_request_builder.go b/users/item_devices_item_get_member_groups_request_builder.go index a2a57b7ce48..66be089b5af 100644 --- a/users/item_devices_item_get_member_groups_request_builder.go +++ b/users/item_devices_item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemDevicesItemGetMemberGroupsRequestBuilder) 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 *ItemDevicesItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemGetMemberGroupsRequestBuilder) { + return NewItemDevicesItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_get_member_objects_request_builder.go b/users/item_devices_item_get_member_objects_request_builder.go index db41039dc3e..327944adf42 100644 --- a/users/item_devices_item_get_member_objects_request_builder.go +++ b/users/item_devices_item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemDevicesItemGetMemberObjectsRequestBuilder) 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 *ItemDevicesItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemGetMemberObjectsRequestBuilder) { + return NewItemDevicesItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_member_of_count_request_builder.go b/users/item_devices_item_member_of_count_request_builder.go index 2a7b02d3fcc..a1474a9734c 100644 --- a/users/item_devices_item_member_of_count_request_builder.go +++ b/users/item_devices_item_member_of_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDevicesItemMemberOfCountRequestBuilder) ToGetRequestInformation(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 *ItemDevicesItemMemberOfCountRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemMemberOfCountRequestBuilder) { + return NewItemDevicesItemMemberOfCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_member_of_directory_object_item_request_builder.go b/users/item_devices_item_member_of_directory_object_item_request_builder.go index 30c037cc512..9d65968c95d 100644 --- a/users/item_devices_item_member_of_directory_object_item_request_builder.go +++ b/users/item_devices_item_member_of_directory_object_item_request_builder.go @@ -83,3 +83,7 @@ func (m *ItemDevicesItemMemberOfDirectoryObjectItemRequestBuilder) ToGetRequestI } 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 *ItemDevicesItemMemberOfDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemMemberOfDirectoryObjectItemRequestBuilder) { + return NewItemDevicesItemMemberOfDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_member_of_graph_administrative_unit_count_request_builder.go b/users/item_devices_item_member_of_graph_administrative_unit_count_request_builder.go index a8b4058e5fe..94c3322cd6c 100644 --- a/users/item_devices_item_member_of_graph_administrative_unit_count_request_builder.go +++ b/users/item_devices_item_member_of_graph_administrative_unit_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDevicesItemMemberOfGraphAdministrativeUnitCountRequestBuilder) ToGe } 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 *ItemDevicesItemMemberOfGraphAdministrativeUnitCountRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemMemberOfGraphAdministrativeUnitCountRequestBuilder) { + return NewItemDevicesItemMemberOfGraphAdministrativeUnitCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_member_of_graph_administrative_unit_request_builder.go b/users/item_devices_item_member_of_graph_administrative_unit_request_builder.go index 7b402ac066c..1f13a512720 100644 --- a/users/item_devices_item_member_of_graph_administrative_unit_request_builder.go +++ b/users/item_devices_item_member_of_graph_administrative_unit_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemDevicesItemMemberOfGraphAdministrativeUnitRequestBuilder) ToGetRequ } 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 *ItemDevicesItemMemberOfGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemMemberOfGraphAdministrativeUnitRequestBuilder) { + return NewItemDevicesItemMemberOfGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_member_of_graph_group_count_request_builder.go b/users/item_devices_item_member_of_graph_group_count_request_builder.go index 7d1f06f0f3a..e27a62bd2e6 100644 --- a/users/item_devices_item_member_of_graph_group_count_request_builder.go +++ b/users/item_devices_item_member_of_graph_group_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDevicesItemMemberOfGraphGroupCountRequestBuilder) ToGetRequestInfor } 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 *ItemDevicesItemMemberOfGraphGroupCountRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemMemberOfGraphGroupCountRequestBuilder) { + return NewItemDevicesItemMemberOfGraphGroupCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_member_of_graph_group_request_builder.go b/users/item_devices_item_member_of_graph_group_request_builder.go index e18b2a25d0e..b39f4af025f 100644 --- a/users/item_devices_item_member_of_graph_group_request_builder.go +++ b/users/item_devices_item_member_of_graph_group_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemDevicesItemMemberOfGraphGroupRequestBuilder) 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 *ItemDevicesItemMemberOfGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemMemberOfGraphGroupRequestBuilder) { + return NewItemDevicesItemMemberOfGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_member_of_item_graph_administrative_unit_request_builder.go b/users/item_devices_item_member_of_item_graph_administrative_unit_request_builder.go index 5403af114eb..1257ff024c6 100644 --- a/users/item_devices_item_member_of_item_graph_administrative_unit_request_builder.go +++ b/users/item_devices_item_member_of_item_graph_administrative_unit_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemDevicesItemMemberOfItemGraphAdministrativeUnitRequestBuilder) ToGet } 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 *ItemDevicesItemMemberOfItemGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemMemberOfItemGraphAdministrativeUnitRequestBuilder) { + return NewItemDevicesItemMemberOfItemGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_member_of_item_graph_group_request_builder.go b/users/item_devices_item_member_of_item_graph_group_request_builder.go index 58f49948d46..411f0305777 100644 --- a/users/item_devices_item_member_of_item_graph_group_request_builder.go +++ b/users/item_devices_item_member_of_item_graph_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemDevicesItemMemberOfItemGraphGroupRequestBuilder) ToGetRequestInform } 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 *ItemDevicesItemMemberOfItemGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemMemberOfItemGraphGroupRequestBuilder) { + return NewItemDevicesItemMemberOfItemGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_member_of_request_builder.go b/users/item_devices_item_member_of_request_builder.go index 0be3eb3668d..f8e3b0c0d2e 100644 --- a/users/item_devices_item_member_of_request_builder.go +++ b/users/item_devices_item_member_of_request_builder.go @@ -39,8 +39,8 @@ type ItemDevicesItemMemberOfRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemDevicesItemMemberOfRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the memberOf property of the microsoft.graph.device entity. -func (m *ItemDevicesItemMemberOfRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemDevicesItemMemberOfDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the memberOf property of the microsoft.graph.device entity. +func (m *ItemDevicesItemMemberOfRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemDevicesItemMemberOfDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -113,3 +113,7 @@ func (m *ItemDevicesItemMemberOfRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemDevicesItemMemberOfRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemMemberOfRequestBuilder) { + return NewItemDevicesItemMemberOfRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_owners_count_request_builder.go b/users/item_devices_item_registered_owners_count_request_builder.go index 919d26d12ab..49f9804ccff 100644 --- a/users/item_devices_item_registered_owners_count_request_builder.go +++ b/users/item_devices_item_registered_owners_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDevicesItemRegisteredOwnersCountRequestBuilder) ToGetRequestInforma } 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 *ItemDevicesItemRegisteredOwnersCountRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredOwnersCountRequestBuilder) { + return NewItemDevicesItemRegisteredOwnersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_owners_graph_endpoint_count_request_builder.go b/users/item_devices_item_registered_owners_graph_endpoint_count_request_builder.go index 8b735fa88c2..a005bb7d862 100644 --- a/users/item_devices_item_registered_owners_graph_endpoint_count_request_builder.go +++ b/users/item_devices_item_registered_owners_graph_endpoint_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDevicesItemRegisteredOwnersGraphEndpointCountRequestBuilder) ToGetR } 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 *ItemDevicesItemRegisteredOwnersGraphEndpointCountRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredOwnersGraphEndpointCountRequestBuilder) { + return NewItemDevicesItemRegisteredOwnersGraphEndpointCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_owners_graph_endpoint_request_builder.go b/users/item_devices_item_registered_owners_graph_endpoint_request_builder.go index 59913385fb5..0fa42a4f83d 100644 --- a/users/item_devices_item_registered_owners_graph_endpoint_request_builder.go +++ b/users/item_devices_item_registered_owners_graph_endpoint_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemDevicesItemRegisteredOwnersGraphEndpointRequestBuilder) ToGetReques } 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 *ItemDevicesItemRegisteredOwnersGraphEndpointRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredOwnersGraphEndpointRequestBuilder) { + return NewItemDevicesItemRegisteredOwnersGraphEndpointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_owners_graph_service_principal_count_request_builder.go b/users/item_devices_item_registered_owners_graph_service_principal_count_request_builder.go index 5cf945e68ef..fb2c0fe94b0 100644 --- a/users/item_devices_item_registered_owners_graph_service_principal_count_request_builder.go +++ b/users/item_devices_item_registered_owners_graph_service_principal_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDevicesItemRegisteredOwnersGraphServicePrincipalCountRequestBuilder } 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 *ItemDevicesItemRegisteredOwnersGraphServicePrincipalCountRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredOwnersGraphServicePrincipalCountRequestBuilder) { + return NewItemDevicesItemRegisteredOwnersGraphServicePrincipalCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_owners_graph_service_principal_request_builder.go b/users/item_devices_item_registered_owners_graph_service_principal_request_builder.go index df5211a72f5..e5a4b9caca5 100644 --- a/users/item_devices_item_registered_owners_graph_service_principal_request_builder.go +++ b/users/item_devices_item_registered_owners_graph_service_principal_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemDevicesItemRegisteredOwnersGraphServicePrincipalRequestBuilder) ToG } 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 *ItemDevicesItemRegisteredOwnersGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredOwnersGraphServicePrincipalRequestBuilder) { + return NewItemDevicesItemRegisteredOwnersGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_owners_graph_user_count_request_builder.go b/users/item_devices_item_registered_owners_graph_user_count_request_builder.go index 6c34b6244ec..594384c77b4 100644 --- a/users/item_devices_item_registered_owners_graph_user_count_request_builder.go +++ b/users/item_devices_item_registered_owners_graph_user_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDevicesItemRegisteredOwnersGraphUserCountRequestBuilder) ToGetReque } 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 *ItemDevicesItemRegisteredOwnersGraphUserCountRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredOwnersGraphUserCountRequestBuilder) { + return NewItemDevicesItemRegisteredOwnersGraphUserCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_owners_graph_user_request_builder.go b/users/item_devices_item_registered_owners_graph_user_request_builder.go index 47d3efaee58..a7649fbbbfe 100644 --- a/users/item_devices_item_registered_owners_graph_user_request_builder.go +++ b/users/item_devices_item_registered_owners_graph_user_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemDevicesItemRegisteredOwnersGraphUserRequestBuilder) ToGetRequestInf } 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 *ItemDevicesItemRegisteredOwnersGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredOwnersGraphUserRequestBuilder) { + return NewItemDevicesItemRegisteredOwnersGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_owners_item_graph_endpoint_request_builder.go b/users/item_devices_item_registered_owners_item_graph_endpoint_request_builder.go index e270e1c903f..3746ac48e10 100644 --- a/users/item_devices_item_registered_owners_item_graph_endpoint_request_builder.go +++ b/users/item_devices_item_registered_owners_item_graph_endpoint_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemDevicesItemRegisteredOwnersItemGraphEndpointRequestBuilder) ToGetRe } 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 *ItemDevicesItemRegisteredOwnersItemGraphEndpointRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredOwnersItemGraphEndpointRequestBuilder) { + return NewItemDevicesItemRegisteredOwnersItemGraphEndpointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_owners_item_graph_service_principal_request_builder.go b/users/item_devices_item_registered_owners_item_graph_service_principal_request_builder.go index 675c2fa1c3e..0c2c356fa23 100644 --- a/users/item_devices_item_registered_owners_item_graph_service_principal_request_builder.go +++ b/users/item_devices_item_registered_owners_item_graph_service_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemDevicesItemRegisteredOwnersItemGraphServicePrincipalRequestBuilder) } 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 *ItemDevicesItemRegisteredOwnersItemGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredOwnersItemGraphServicePrincipalRequestBuilder) { + return NewItemDevicesItemRegisteredOwnersItemGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_owners_item_graph_user_request_builder.go b/users/item_devices_item_registered_owners_item_graph_user_request_builder.go index 8affe09a3a2..ac871cec38a 100644 --- a/users/item_devices_item_registered_owners_item_graph_user_request_builder.go +++ b/users/item_devices_item_registered_owners_item_graph_user_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemDevicesItemRegisteredOwnersItemGraphUserRequestBuilder) ToGetReques } 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 *ItemDevicesItemRegisteredOwnersItemGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredOwnersItemGraphUserRequestBuilder) { + return NewItemDevicesItemRegisteredOwnersItemGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_owners_item_ref_request_builder.go b/users/item_devices_item_registered_owners_item_ref_request_builder.go index 1dcbb39c753..b098abd192c 100644 --- a/users/item_devices_item_registered_owners_item_ref_request_builder.go +++ b/users/item_devices_item_registered_owners_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *ItemDevicesItemRegisteredOwnersItemRefRequestBuilder) ToDeleteRequestIn } 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 *ItemDevicesItemRegisteredOwnersItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredOwnersItemRefRequestBuilder) { + return NewItemDevicesItemRegisteredOwnersItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_owners_ref_request_builder.go b/users/item_devices_item_registered_owners_ref_request_builder.go index 62dfe73972e..a37854384b7 100644 --- a/users/item_devices_item_registered_owners_ref_request_builder.go +++ b/users/item_devices_item_registered_owners_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *ItemDevicesItemRegisteredOwnersRefRequestBuilder) ToPostRequestInformat } 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 *ItemDevicesItemRegisteredOwnersRefRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredOwnersRefRequestBuilder) { + return NewItemDevicesItemRegisteredOwnersRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_owners_request_builder.go b/users/item_devices_item_registered_owners_request_builder.go index 6ef63c34d62..18cfe57b5ba 100644 --- a/users/item_devices_item_registered_owners_request_builder.go +++ b/users/item_devices_item_registered_owners_request_builder.go @@ -39,8 +39,8 @@ type ItemDevicesItemRegisteredOwnersRequestBuilderGetRequestConfiguration struct // Request query parameters QueryParameters *ItemDevicesItemRegisteredOwnersRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.users.item.devices.item.registeredOwners.item collection -func (m *ItemDevicesItemRegisteredOwnersRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemDevicesItemRegisteredOwnersDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.users.item.devices.item.registeredOwners.item collection +func (m *ItemDevicesItemRegisteredOwnersRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemDevicesItemRegisteredOwnersDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -121,3 +121,7 @@ func (m *ItemDevicesItemRegisteredOwnersRequestBuilder) 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 *ItemDevicesItemRegisteredOwnersRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredOwnersRequestBuilder) { + return NewItemDevicesItemRegisteredOwnersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_users_count_request_builder.go b/users/item_devices_item_registered_users_count_request_builder.go index 21c13e2c168..f26a55f421b 100644 --- a/users/item_devices_item_registered_users_count_request_builder.go +++ b/users/item_devices_item_registered_users_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDevicesItemRegisteredUsersCountRequestBuilder) ToGetRequestInformat } 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 *ItemDevicesItemRegisteredUsersCountRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredUsersCountRequestBuilder) { + return NewItemDevicesItemRegisteredUsersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_users_graph_endpoint_count_request_builder.go b/users/item_devices_item_registered_users_graph_endpoint_count_request_builder.go index 47add6898c0..2763858b1d1 100644 --- a/users/item_devices_item_registered_users_graph_endpoint_count_request_builder.go +++ b/users/item_devices_item_registered_users_graph_endpoint_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDevicesItemRegisteredUsersGraphEndpointCountRequestBuilder) ToGetRe } 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 *ItemDevicesItemRegisteredUsersGraphEndpointCountRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredUsersGraphEndpointCountRequestBuilder) { + return NewItemDevicesItemRegisteredUsersGraphEndpointCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_users_graph_endpoint_request_builder.go b/users/item_devices_item_registered_users_graph_endpoint_request_builder.go index 8982b48db74..9d319cb6cf5 100644 --- a/users/item_devices_item_registered_users_graph_endpoint_request_builder.go +++ b/users/item_devices_item_registered_users_graph_endpoint_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemDevicesItemRegisteredUsersGraphEndpointRequestBuilder) ToGetRequest } 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 *ItemDevicesItemRegisteredUsersGraphEndpointRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredUsersGraphEndpointRequestBuilder) { + return NewItemDevicesItemRegisteredUsersGraphEndpointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_users_graph_service_principal_count_request_builder.go b/users/item_devices_item_registered_users_graph_service_principal_count_request_builder.go index 30e466f0662..975dfe223ac 100644 --- a/users/item_devices_item_registered_users_graph_service_principal_count_request_builder.go +++ b/users/item_devices_item_registered_users_graph_service_principal_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDevicesItemRegisteredUsersGraphServicePrincipalCountRequestBuilder) } 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 *ItemDevicesItemRegisteredUsersGraphServicePrincipalCountRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredUsersGraphServicePrincipalCountRequestBuilder) { + return NewItemDevicesItemRegisteredUsersGraphServicePrincipalCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_users_graph_service_principal_request_builder.go b/users/item_devices_item_registered_users_graph_service_principal_request_builder.go index 32c475db580..b94f674f8c3 100644 --- a/users/item_devices_item_registered_users_graph_service_principal_request_builder.go +++ b/users/item_devices_item_registered_users_graph_service_principal_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemDevicesItemRegisteredUsersGraphServicePrincipalRequestBuilder) ToGe } 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 *ItemDevicesItemRegisteredUsersGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredUsersGraphServicePrincipalRequestBuilder) { + return NewItemDevicesItemRegisteredUsersGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_users_graph_user_count_request_builder.go b/users/item_devices_item_registered_users_graph_user_count_request_builder.go index 302c21e8405..0603cbabb27 100644 --- a/users/item_devices_item_registered_users_graph_user_count_request_builder.go +++ b/users/item_devices_item_registered_users_graph_user_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDevicesItemRegisteredUsersGraphUserCountRequestBuilder) ToGetReques } 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 *ItemDevicesItemRegisteredUsersGraphUserCountRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredUsersGraphUserCountRequestBuilder) { + return NewItemDevicesItemRegisteredUsersGraphUserCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_users_graph_user_request_builder.go b/users/item_devices_item_registered_users_graph_user_request_builder.go index 6e0f3134781..e46abe08f44 100644 --- a/users/item_devices_item_registered_users_graph_user_request_builder.go +++ b/users/item_devices_item_registered_users_graph_user_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemDevicesItemRegisteredUsersGraphUserRequestBuilder) ToGetRequestInfo } 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 *ItemDevicesItemRegisteredUsersGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredUsersGraphUserRequestBuilder) { + return NewItemDevicesItemRegisteredUsersGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_users_item_graph_endpoint_request_builder.go b/users/item_devices_item_registered_users_item_graph_endpoint_request_builder.go index 6f203ee8594..d10c22495d4 100644 --- a/users/item_devices_item_registered_users_item_graph_endpoint_request_builder.go +++ b/users/item_devices_item_registered_users_item_graph_endpoint_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemDevicesItemRegisteredUsersItemGraphEndpointRequestBuilder) ToGetReq } 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 *ItemDevicesItemRegisteredUsersItemGraphEndpointRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredUsersItemGraphEndpointRequestBuilder) { + return NewItemDevicesItemRegisteredUsersItemGraphEndpointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_users_item_graph_service_principal_request_builder.go b/users/item_devices_item_registered_users_item_graph_service_principal_request_builder.go index 30b2244207c..2796ca41d5f 100644 --- a/users/item_devices_item_registered_users_item_graph_service_principal_request_builder.go +++ b/users/item_devices_item_registered_users_item_graph_service_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemDevicesItemRegisteredUsersItemGraphServicePrincipalRequestBuilder) } 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 *ItemDevicesItemRegisteredUsersItemGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredUsersItemGraphServicePrincipalRequestBuilder) { + return NewItemDevicesItemRegisteredUsersItemGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_users_item_graph_user_request_builder.go b/users/item_devices_item_registered_users_item_graph_user_request_builder.go index b37b41e37ad..57c9f64eee8 100644 --- a/users/item_devices_item_registered_users_item_graph_user_request_builder.go +++ b/users/item_devices_item_registered_users_item_graph_user_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemDevicesItemRegisteredUsersItemGraphUserRequestBuilder) ToGetRequest } 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 *ItemDevicesItemRegisteredUsersItemGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredUsersItemGraphUserRequestBuilder) { + return NewItemDevicesItemRegisteredUsersItemGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_users_item_ref_request_builder.go b/users/item_devices_item_registered_users_item_ref_request_builder.go index 2ae17c9a2be..e2efcb99190 100644 --- a/users/item_devices_item_registered_users_item_ref_request_builder.go +++ b/users/item_devices_item_registered_users_item_ref_request_builder.go @@ -71,3 +71,7 @@ func (m *ItemDevicesItemRegisteredUsersItemRefRequestBuilder) ToDeleteRequestInf } 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 *ItemDevicesItemRegisteredUsersItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredUsersItemRefRequestBuilder) { + return NewItemDevicesItemRegisteredUsersItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_users_ref_request_builder.go b/users/item_devices_item_registered_users_ref_request_builder.go index 93bc8e7914c..91049d9b759 100644 --- a/users/item_devices_item_registered_users_ref_request_builder.go +++ b/users/item_devices_item_registered_users_ref_request_builder.go @@ -128,3 +128,7 @@ func (m *ItemDevicesItemRegisteredUsersRefRequestBuilder) ToPostRequestInformati } 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 *ItemDevicesItemRegisteredUsersRefRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredUsersRefRequestBuilder) { + return NewItemDevicesItemRegisteredUsersRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_registered_users_request_builder.go b/users/item_devices_item_registered_users_request_builder.go index 46fdc8e426e..db7bc312f7d 100644 --- a/users/item_devices_item_registered_users_request_builder.go +++ b/users/item_devices_item_registered_users_request_builder.go @@ -39,8 +39,8 @@ type ItemDevicesItemRegisteredUsersRequestBuilderGetRequestConfiguration struct // Request query parameters QueryParameters *ItemDevicesItemRegisteredUsersRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.users.item.devices.item.registeredUsers.item collection -func (m *ItemDevicesItemRegisteredUsersRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemDevicesItemRegisteredUsersDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.users.item.devices.item.registeredUsers.item collection +func (m *ItemDevicesItemRegisteredUsersRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemDevicesItemRegisteredUsersDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -121,3 +121,7 @@ func (m *ItemDevicesItemRegisteredUsersRequestBuilder) ToGetRequestInformation(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 *ItemDevicesItemRegisteredUsersRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRegisteredUsersRequestBuilder) { + return NewItemDevicesItemRegisteredUsersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_restore_request_builder.go b/users/item_devices_item_restore_request_builder.go index 6070c548e00..71603e02305 100644 --- a/users/item_devices_item_restore_request_builder.go +++ b/users/item_devices_item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemDevicesItemRestoreRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemDevicesItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemRestoreRequestBuilder) { + return NewItemDevicesItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_transitive_member_of_count_request_builder.go b/users/item_devices_item_transitive_member_of_count_request_builder.go index 15d499c412e..116fed35850 100644 --- a/users/item_devices_item_transitive_member_of_count_request_builder.go +++ b/users/item_devices_item_transitive_member_of_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDevicesItemTransitiveMemberOfCountRequestBuilder) ToGetRequestInfor } 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 *ItemDevicesItemTransitiveMemberOfCountRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemTransitiveMemberOfCountRequestBuilder) { + return NewItemDevicesItemTransitiveMemberOfCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_transitive_member_of_directory_object_item_request_builder.go b/users/item_devices_item_transitive_member_of_directory_object_item_request_builder.go index 770d2e0ce68..605cbb5058e 100644 --- a/users/item_devices_item_transitive_member_of_directory_object_item_request_builder.go +++ b/users/item_devices_item_transitive_member_of_directory_object_item_request_builder.go @@ -83,3 +83,7 @@ func (m *ItemDevicesItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) ToG } 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 *ItemDevicesItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) { + return NewItemDevicesItemTransitiveMemberOfDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_transitive_member_of_graph_administrative_unit_count_request_builder.go b/users/item_devices_item_transitive_member_of_graph_administrative_unit_count_request_builder.go index 4a1bad4838d..a5fbac16149 100644 --- a/users/item_devices_item_transitive_member_of_graph_administrative_unit_count_request_builder.go +++ b/users/item_devices_item_transitive_member_of_graph_administrative_unit_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDevicesItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBui } 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 *ItemDevicesItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder) { + return NewItemDevicesItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_transitive_member_of_graph_administrative_unit_request_builder.go b/users/item_devices_item_transitive_member_of_graph_administrative_unit_request_builder.go index f9eb4f260e8..654688a0a1a 100644 --- a/users/item_devices_item_transitive_member_of_graph_administrative_unit_request_builder.go +++ b/users/item_devices_item_transitive_member_of_graph_administrative_unit_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemDevicesItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) } 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 *ItemDevicesItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) { + return NewItemDevicesItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_transitive_member_of_graph_group_count_request_builder.go b/users/item_devices_item_transitive_member_of_graph_group_count_request_builder.go index 262d3b633a1..97ff39dd47f 100644 --- a/users/item_devices_item_transitive_member_of_graph_group_count_request_builder.go +++ b/users/item_devices_item_transitive_member_of_graph_group_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDevicesItemTransitiveMemberOfGraphGroupCountRequestBuilder) ToGetRe } 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 *ItemDevicesItemTransitiveMemberOfGraphGroupCountRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemTransitiveMemberOfGraphGroupCountRequestBuilder) { + return NewItemDevicesItemTransitiveMemberOfGraphGroupCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_transitive_member_of_graph_group_request_builder.go b/users/item_devices_item_transitive_member_of_graph_group_request_builder.go index 0858a26a227..20eeee0c2eb 100644 --- a/users/item_devices_item_transitive_member_of_graph_group_request_builder.go +++ b/users/item_devices_item_transitive_member_of_graph_group_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemDevicesItemTransitiveMemberOfGraphGroupRequestBuilder) ToGetRequest } 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 *ItemDevicesItemTransitiveMemberOfGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemTransitiveMemberOfGraphGroupRequestBuilder) { + return NewItemDevicesItemTransitiveMemberOfGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_transitive_member_of_item_graph_administrative_unit_request_builder.go b/users/item_devices_item_transitive_member_of_item_graph_administrative_unit_request_builder.go index f13efc7a7d3..a475962cb70 100644 --- a/users/item_devices_item_transitive_member_of_item_graph_administrative_unit_request_builder.go +++ b/users/item_devices_item_transitive_member_of_item_graph_administrative_unit_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemDevicesItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuil } 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 *ItemDevicesItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder) { + return NewItemDevicesItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_transitive_member_of_item_graph_group_request_builder.go b/users/item_devices_item_transitive_member_of_item_graph_group_request_builder.go index 6aef6e3c001..734aa08fed2 100644 --- a/users/item_devices_item_transitive_member_of_item_graph_group_request_builder.go +++ b/users/item_devices_item_transitive_member_of_item_graph_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemDevicesItemTransitiveMemberOfItemGraphGroupRequestBuilder) ToGetReq } 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 *ItemDevicesItemTransitiveMemberOfItemGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemTransitiveMemberOfItemGraphGroupRequestBuilder) { + return NewItemDevicesItemTransitiveMemberOfItemGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_transitive_member_of_request_builder.go b/users/item_devices_item_transitive_member_of_request_builder.go index efce7dc0190..c44cdd32a89 100644 --- a/users/item_devices_item_transitive_member_of_request_builder.go +++ b/users/item_devices_item_transitive_member_of_request_builder.go @@ -39,8 +39,8 @@ type ItemDevicesItemTransitiveMemberOfRequestBuilderGetRequestConfiguration stru // Request query parameters QueryParameters *ItemDevicesItemTransitiveMemberOfRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the transitiveMemberOf property of the microsoft.graph.device entity. -func (m *ItemDevicesItemTransitiveMemberOfRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemDevicesItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the transitiveMemberOf property of the microsoft.graph.device entity. +func (m *ItemDevicesItemTransitiveMemberOfRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemDevicesItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -113,3 +113,7 @@ func (m *ItemDevicesItemTransitiveMemberOfRequestBuilder) 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 *ItemDevicesItemTransitiveMemberOfRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemTransitiveMemberOfRequestBuilder) { + return NewItemDevicesItemTransitiveMemberOfRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_usage_rights_count_request_builder.go b/users/item_devices_item_usage_rights_count_request_builder.go index 01c68ef3b60..6e6dfdbcad9 100644 --- a/users/item_devices_item_usage_rights_count_request_builder.go +++ b/users/item_devices_item_usage_rights_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDevicesItemUsageRightsCountRequestBuilder) 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 *ItemDevicesItemUsageRightsCountRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemUsageRightsCountRequestBuilder) { + return NewItemDevicesItemUsageRightsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_usage_rights_request_builder.go b/users/item_devices_item_usage_rights_request_builder.go index 33f0bc9852f..0f87030633b 100644 --- a/users/item_devices_item_usage_rights_request_builder.go +++ b/users/item_devices_item_usage_rights_request_builder.go @@ -46,8 +46,8 @@ type ItemDevicesItemUsageRightsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUsageRightIdString provides operations to manage the usageRights property of the microsoft.graph.device entity. -func (m *ItemDevicesItemUsageRightsRequestBuilder) ByUsageRightIdString(usageRightId string)(*ItemDevicesItemUsageRightsUsageRightItemRequestBuilder) { +// ByUsageRightId provides operations to manage the usageRights property of the microsoft.graph.device entity. +func (m *ItemDevicesItemUsageRightsRequestBuilder) ByUsageRightId(usageRightId string)(*ItemDevicesItemUsageRightsUsageRightItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemDevicesItemUsageRightsRequestBuilder) 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 *ItemDevicesItemUsageRightsRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemUsageRightsRequestBuilder) { + return NewItemDevicesItemUsageRightsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_usage_rights_usage_right_item_request_builder.go b/users/item_devices_item_usage_rights_usage_right_item_request_builder.go index e655db474eb..24c2744250f 100644 --- a/users/item_devices_item_usage_rights_usage_right_item_request_builder.go +++ b/users/item_devices_item_usage_rights_usage_right_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemDevicesItemUsageRightsUsageRightItemRequestBuilder) ToPatchRequestI } 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 *ItemDevicesItemUsageRightsUsageRightItemRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemUsageRightsUsageRightItemRequestBuilder) { + return NewItemDevicesItemUsageRightsUsageRightItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_request_builder.go b/users/item_devices_request_builder.go index 04ae8cf513b..d7c3d78e2e3 100644 --- a/users/item_devices_request_builder.go +++ b/users/item_devices_request_builder.go @@ -46,8 +46,8 @@ type ItemDevicesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceIdString provides operations to manage the devices property of the microsoft.graph.user entity. -func (m *ItemDevicesRequestBuilder) ByDeviceIdString(deviceId string)(*ItemDevicesDeviceItemRequestBuilder) { +// ByDeviceId provides operations to manage the devices property of the microsoft.graph.user entity. +func (m *ItemDevicesRequestBuilder) ByDeviceId(deviceId string)(*ItemDevicesDeviceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -161,3 +161,7 @@ func (m *ItemDevicesRequestBuilder) ToPostRequestInformation(ctx context.Context func (m *ItemDevicesRequestBuilder) ValidateProperties()(*ItemDevicesValidatePropertiesRequestBuilder) { return NewItemDevicesValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemDevicesRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesRequestBuilder) { + return NewItemDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_validate_properties_request_builder.go b/users/item_devices_validate_properties_request_builder.go index cce0af3edde..5c5ba0101e4 100644 --- a/users/item_devices_validate_properties_request_builder.go +++ b/users/item_devices_validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemDevicesValidatePropertiesRequestBuilder) ToPostRequestInformation(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 *ItemDevicesValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesValidatePropertiesRequestBuilder) { + return NewItemDevicesValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_direct_reports_count_request_builder.go b/users/item_direct_reports_count_request_builder.go index abb8915c0d3..7a96d10d6cd 100644 --- a/users/item_direct_reports_count_request_builder.go +++ b/users/item_direct_reports_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDirectReportsCountRequestBuilder) ToGetRequestInformation(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 *ItemDirectReportsCountRequestBuilder) WithUrl(rawUrl string)(*ItemDirectReportsCountRequestBuilder) { + return NewItemDirectReportsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_direct_reports_directory_object_item_request_builder.go b/users/item_direct_reports_directory_object_item_request_builder.go index 5949f6c4211..760699cce37 100644 --- a/users/item_direct_reports_directory_object_item_request_builder.go +++ b/users/item_direct_reports_directory_object_item_request_builder.go @@ -83,3 +83,7 @@ func (m *ItemDirectReportsDirectoryObjectItemRequestBuilder) ToGetRequestInforma } 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 *ItemDirectReportsDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemDirectReportsDirectoryObjectItemRequestBuilder) { + return NewItemDirectReportsDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_direct_reports_graph_org_contact_count_request_builder.go b/users/item_direct_reports_graph_org_contact_count_request_builder.go index 0213ced10ea..73f18cbc043 100644 --- a/users/item_direct_reports_graph_org_contact_count_request_builder.go +++ b/users/item_direct_reports_graph_org_contact_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDirectReportsGraphOrgContactCountRequestBuilder) ToGetRequestInform } 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 *ItemDirectReportsGraphOrgContactCountRequestBuilder) WithUrl(rawUrl string)(*ItemDirectReportsGraphOrgContactCountRequestBuilder) { + return NewItemDirectReportsGraphOrgContactCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_direct_reports_graph_org_contact_request_builder.go b/users/item_direct_reports_graph_org_contact_request_builder.go index 05fa43f2d9b..f4ab89e7179 100644 --- a/users/item_direct_reports_graph_org_contact_request_builder.go +++ b/users/item_direct_reports_graph_org_contact_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemDirectReportsGraphOrgContactRequestBuilder) 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 *ItemDirectReportsGraphOrgContactRequestBuilder) WithUrl(rawUrl string)(*ItemDirectReportsGraphOrgContactRequestBuilder) { + return NewItemDirectReportsGraphOrgContactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_direct_reports_graph_user_count_request_builder.go b/users/item_direct_reports_graph_user_count_request_builder.go index 6d95730e31f..8061bb66f45 100644 --- a/users/item_direct_reports_graph_user_count_request_builder.go +++ b/users/item_direct_reports_graph_user_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDirectReportsGraphUserCountRequestBuilder) 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 *ItemDirectReportsGraphUserCountRequestBuilder) WithUrl(rawUrl string)(*ItemDirectReportsGraphUserCountRequestBuilder) { + return NewItemDirectReportsGraphUserCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_direct_reports_graph_user_request_builder.go b/users/item_direct_reports_graph_user_request_builder.go index cf6957cca6c..d78f209fe4f 100644 --- a/users/item_direct_reports_graph_user_request_builder.go +++ b/users/item_direct_reports_graph_user_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemDirectReportsGraphUserRequestBuilder) ToGetRequestInformation(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 *ItemDirectReportsGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemDirectReportsGraphUserRequestBuilder) { + return NewItemDirectReportsGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_direct_reports_item_graph_org_contact_request_builder.go b/users/item_direct_reports_item_graph_org_contact_request_builder.go index 22077f6deb3..03a2d7eef71 100644 --- a/users/item_direct_reports_item_graph_org_contact_request_builder.go +++ b/users/item_direct_reports_item_graph_org_contact_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemDirectReportsItemGraphOrgContactRequestBuilder) ToGetRequestInforma } 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 *ItemDirectReportsItemGraphOrgContactRequestBuilder) WithUrl(rawUrl string)(*ItemDirectReportsItemGraphOrgContactRequestBuilder) { + return NewItemDirectReportsItemGraphOrgContactRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_direct_reports_item_graph_user_request_builder.go b/users/item_direct_reports_item_graph_user_request_builder.go index 95a10a0031a..af7128a7ced 100644 --- a/users/item_direct_reports_item_graph_user_request_builder.go +++ b/users/item_direct_reports_item_graph_user_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemDirectReportsItemGraphUserRequestBuilder) ToGetRequestInformation(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 *ItemDirectReportsItemGraphUserRequestBuilder) WithUrl(rawUrl string)(*ItemDirectReportsItemGraphUserRequestBuilder) { + return NewItemDirectReportsItemGraphUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_direct_reports_request_builder.go b/users/item_direct_reports_request_builder.go index 5a7aad1a6e3..d695e40b938 100644 --- a/users/item_direct_reports_request_builder.go +++ b/users/item_direct_reports_request_builder.go @@ -39,8 +39,8 @@ type ItemDirectReportsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemDirectReportsRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the directReports property of the microsoft.graph.user entity. -func (m *ItemDirectReportsRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemDirectReportsDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the directReports property of the microsoft.graph.user entity. +func (m *ItemDirectReportsRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemDirectReportsDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -113,3 +113,7 @@ func (m *ItemDirectReportsRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemDirectReportsRequestBuilder) WithUrl(rawUrl string)(*ItemDirectReportsRequestBuilder) { + return NewItemDirectReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_drive_request_builder.go b/users/item_drive_request_builder.go index 6a9fdde7143..d11994d7ad3 100644 --- a/users/item_drive_request_builder.go +++ b/users/item_drive_request_builder.go @@ -78,3 +78,7 @@ func (m *ItemDriveRequestBuilder) ToGetRequestInformation(ctx context.Context, r } 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 *ItemDriveRequestBuilder) WithUrl(rawUrl string)(*ItemDriveRequestBuilder) { + return NewItemDriveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_drives_count_request_builder.go b/users/item_drives_count_request_builder.go index 51ad853de40..9b9a0454d21 100644 --- a/users/item_drives_count_request_builder.go +++ b/users/item_drives_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemDrivesCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemDrivesCountRequestBuilder) WithUrl(rawUrl string)(*ItemDrivesCountRequestBuilder) { + return NewItemDrivesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_drives_drive_item_request_builder.go b/users/item_drives_drive_item_request_builder.go index 2f7626d18d0..7f619b84d16 100644 --- a/users/item_drives_drive_item_request_builder.go +++ b/users/item_drives_drive_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemDrivesDriveItemRequestBuilder) ToGetRequestInformation(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 *ItemDrivesDriveItemRequestBuilder) WithUrl(rawUrl string)(*ItemDrivesDriveItemRequestBuilder) { + return NewItemDrivesDriveItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_drives_request_builder.go b/users/item_drives_request_builder.go index 475ccc4641f..4cbcf22b6ee 100644 --- a/users/item_drives_request_builder.go +++ b/users/item_drives_request_builder.go @@ -39,8 +39,8 @@ type ItemDrivesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemDrivesRequestBuilderGetQueryParameters } -// ByDriveIdString provides operations to manage the drives property of the microsoft.graph.user entity. -func (m *ItemDrivesRequestBuilder) ByDriveIdString(driveId string)(*ItemDrivesDriveItemRequestBuilder) { +// ByDriveId provides operations to manage the drives property of the microsoft.graph.user entity. +func (m *ItemDrivesRequestBuilder) ByDriveId(driveId string)(*ItemDrivesDriveItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemDrivesRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemDrivesRequestBuilder) WithUrl(rawUrl string)(*ItemDrivesRequestBuilder) { + return NewItemDrivesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_employee_experience_learning_course_activities_count_request_builder.go b/users/item_employee_experience_learning_course_activities_count_request_builder.go index ede130cfcd8..092e4393082 100644 --- a/users/item_employee_experience_learning_course_activities_count_request_builder.go +++ b/users/item_employee_experience_learning_course_activities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemEmployeeExperienceLearningCourseActivitiesCountRequestBuilder) ToGe } 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 *ItemEmployeeExperienceLearningCourseActivitiesCountRequestBuilder) WithUrl(rawUrl string)(*ItemEmployeeExperienceLearningCourseActivitiesCountRequestBuilder) { + return NewItemEmployeeExperienceLearningCourseActivitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_employee_experience_learning_course_activities_learning_course_activity_item_request_builder.go b/users/item_employee_experience_learning_course_activities_learning_course_activity_item_request_builder.go index a9356ce83e0..9bfd87752e8 100644 --- a/users/item_employee_experience_learning_course_activities_learning_course_activity_item_request_builder.go +++ b/users/item_employee_experience_learning_course_activities_learning_course_activity_item_request_builder.go @@ -78,3 +78,7 @@ func (m *ItemEmployeeExperienceLearningCourseActivitiesLearningCourseActivityIte } 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 *ItemEmployeeExperienceLearningCourseActivitiesLearningCourseActivityItemRequestBuilder) WithUrl(rawUrl string)(*ItemEmployeeExperienceLearningCourseActivitiesLearningCourseActivityItemRequestBuilder) { + return NewItemEmployeeExperienceLearningCourseActivitiesLearningCourseActivityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_employee_experience_learning_course_activities_request_builder.go b/users/item_employee_experience_learning_course_activities_request_builder.go index dc920372b3f..754088dc73e 100644 --- a/users/item_employee_experience_learning_course_activities_request_builder.go +++ b/users/item_employee_experience_learning_course_activities_request_builder.go @@ -39,8 +39,8 @@ type ItemEmployeeExperienceLearningCourseActivitiesRequestBuilderGetRequestConfi // Request query parameters QueryParameters *ItemEmployeeExperienceLearningCourseActivitiesRequestBuilderGetQueryParameters } -// ByLearningCourseActivityIdString provides operations to manage the learningCourseActivities property of the microsoft.graph.employeeExperienceUser entity. -func (m *ItemEmployeeExperienceLearningCourseActivitiesRequestBuilder) ByLearningCourseActivityIdString(learningCourseActivityId string)(*ItemEmployeeExperienceLearningCourseActivitiesLearningCourseActivityItemRequestBuilder) { +// ByLearningCourseActivityId provides operations to manage the learningCourseActivities property of the microsoft.graph.employeeExperienceUser entity. +func (m *ItemEmployeeExperienceLearningCourseActivitiesRequestBuilder) ByLearningCourseActivityId(learningCourseActivityId string)(*ItemEmployeeExperienceLearningCourseActivitiesLearningCourseActivityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemEmployeeExperienceLearningCourseActivitiesRequestBuilder) ToGetRequ } 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 *ItemEmployeeExperienceLearningCourseActivitiesRequestBuilder) WithUrl(rawUrl string)(*ItemEmployeeExperienceLearningCourseActivitiesRequestBuilder) { + return NewItemEmployeeExperienceLearningCourseActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_employee_experience_request_builder.go b/users/item_employee_experience_request_builder.go index 219e0ea8f1f..5be166790c4 100644 --- a/users/item_employee_experience_request_builder.go +++ b/users/item_employee_experience_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemEmployeeExperienceRequestBuilder) ToPatchRequestInformation(ctx con } 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 *ItemEmployeeExperienceRequestBuilder) WithUrl(rawUrl string)(*ItemEmployeeExperienceRequestBuilder) { + return NewItemEmployeeExperienceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_count_request_builder.go b/users/item_events_count_request_builder.go index 560bd27211c..fd032084592 100644 --- a/users/item_events_count_request_builder.go +++ b/users/item_events_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemEventsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsCountRequestBuilder) { + return NewItemEventsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_delta_request_builder.go b/users/item_events_delta_request_builder.go index 83313501cf1..17d54c1d318 100644 --- a/users/item_events_delta_request_builder.go +++ b/users/item_events_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemEventsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemEventsDeltaRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemEventsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemEventsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemEventsDeltaRequestBuilder) { + return NewItemEventsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_event_item_request_builder.go b/users/item_events_event_item_request_builder.go index f7708d403dc..a431e6e6983 100644 --- a/users/item_events_event_item_request_builder.go +++ b/users/item_events_event_item_request_builder.go @@ -210,3 +210,7 @@ func (m *ItemEventsEventItemRequestBuilder) ToPatchRequestInformation(ctx contex } 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 *ItemEventsEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsEventItemRequestBuilder) { + return NewItemEventsEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_accept_request_builder.go b/users/item_events_item_accept_request_builder.go index f177a31585f..63253ba2fa4 100644 --- a/users/item_events_item_accept_request_builder.go +++ b/users/item_events_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemAcceptRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemEventsItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemAcceptRequestBuilder) { + return NewItemEventsItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_attachments_attachment_item_request_builder.go b/users/item_events_item_attachments_attachment_item_request_builder.go index 742420fe391..9c68b3a5c80 100644 --- a/users/item_events_item_attachments_attachment_item_request_builder.go +++ b/users/item_events_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx conte } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestI } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInfo } 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 *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemEventsItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_attachments_count_request_builder.go b/users/item_events_item_attachments_count_request_builder.go index 6099631fd29..5abb94e38a2 100644 --- a/users/item_events_item_attachments_count_request_builder.go +++ b/users/item_events_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemAttachmentsCountRequestBuilder) ToGetRequestInformation(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 *ItemEventsItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemAttachmentsCountRequestBuilder) { + return NewItemEventsItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_attachments_create_upload_session_request_builder.go b/users/item_events_item_attachments_create_upload_session_request_builder.go index 3fad9f5ae99..d1700edd3cc 100644 --- a/users/item_events_item_attachments_create_upload_session_request_builder.go +++ b/users/item_events_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemEventsItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemEventsItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemEventsItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemEventsItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) ToPostReque } 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 *ItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemEventsItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_attachments_request_builder.go b/users/item_events_item_attachments_request_builder.go index 579cba0ee61..1ebee926b0a 100644 --- a/users/item_events_item_attachments_request_builder.go +++ b/users/item_events_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemEventsItemAttachmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemEventsItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemEventsItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemEventsItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemEventsItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemEventsItemAttachmentsRequestBuilder) Get(ctx context.Context, reque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemEventsItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx co } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemEventsItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemEventsItemAttachmentsRequestBuilder) ToPostRequestInformation(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 *ItemEventsItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemAttachmentsRequestBuilder) { + return NewItemEventsItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_calendar_request_builder.go b/users/item_events_item_calendar_request_builder.go index 4dd6ad341d0..549bf02adee 100644 --- a/users/item_events_item_calendar_request_builder.go +++ b/users/item_events_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemEventsItemCalendarRequestBuilder) ToGetRequestInformation(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 *ItemEventsItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemCalendarRequestBuilder) { + return NewItemEventsItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_cancel_request_builder.go b/users/item_events_item_cancel_request_builder.go index 60142a6c8e8..3561cfa723a 100644 --- a/users/item_events_item_cancel_request_builder.go +++ b/users/item_events_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemCancelRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemEventsItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemCancelRequestBuilder) { + return NewItemEventsItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_decline_request_builder.go b/users/item_events_item_decline_request_builder.go index 7afb4fd23aa..ba75e81c56b 100644 --- a/users/item_events_item_decline_request_builder.go +++ b/users/item_events_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemDeclineRequestBuilder) 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 *ItemEventsItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemDeclineRequestBuilder) { + return NewItemEventsItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_dismiss_reminder_request_builder.go b/users/item_events_item_dismiss_reminder_request_builder.go index d157ef95f36..1132d46e39c 100644 --- a/users/item_events_item_dismiss_reminder_request_builder.go +++ b/users/item_events_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemEventsItemDismissReminderRequestBuilder) ToPostRequestInformation(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 *ItemEventsItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemDismissReminderRequestBuilder) { + return NewItemEventsItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_count_request_builder.go b/users/item_events_item_exception_occurrences_count_request_builder.go index 581ed6e4cc9..eab0476ca19 100644 --- a/users/item_events_item_exception_occurrences_count_request_builder.go +++ b/users/item_events_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemExceptionOccurrencesCountRequestBuilder) ToGetRequestInfo } 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 *ItemEventsItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesCountRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_delta_request_builder.go b/users/item_events_item_exception_occurrences_delta_request_builder.go index fd4823587be..b93014118c2 100644 --- a/users/item_events_item_exception_occurrences_delta_request_builder.go +++ b/users/item_events_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters str // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetQueryParameters str // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemEventsItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInfo } 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 *ItemEventsItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_event_item_request_builder.go b/users/item_events_item_exception_occurrences_event_item_request_builder.go index 4821cd51684..576422567b2 100644 --- a/users/item_events_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_events_item_exception_occurrences_event_item_request_builder.go @@ -119,3 +119,7 @@ func (m *ItemEventsItemExceptionOccurrencesEventItemRequestBuilder) ToGetRequest } 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 *ItemEventsItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_accept_request_builder.go b/users/item_events_item_exception_occurrences_item_accept_request_builder.go index bfb277ad06d..3ecda3aa28c 100644 --- a/users/item_events_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder) ToPostReque } 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 *ItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 61a113ee08b..ba13aa70d02 100644 --- a/users/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestB } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestB } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestB } 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 *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_attachments_count_request_builder.go b/users/item_events_item_exception_occurrences_item_attachments_count_request_builder.go index ed5f7bb7659..3f8951f6411 100644 --- a/users/item_events_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) T } 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 *ItemEventsItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index b072b50346a..b53f7645b5d 100644 --- a/users/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequ urlParams["request-raw-url"] = rawUrl return NewItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionReq } 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 *ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_attachments_request_builder.go b/users/item_events_item_exception_occurrences_item_attachments_request_builder.go index 4e0ab80493c..6ff874be8eb 100644 --- a/users/item_events_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetR } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPost } 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 *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_calendar_request_builder.go b/users/item_events_item_exception_occurrences_item_calendar_request_builder.go index 179275bbbd4..fc2eeb4e9bd 100644 --- a/users/item_events_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemCalendarRequestBuilder) ToGetRequ } 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 *ItemEventsItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_cancel_request_builder.go b/users/item_events_item_exception_occurrences_item_cancel_request_builder.go index 1dd2c53eee3..119305af698 100644 --- a/users/item_events_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemCancelRequestBuilder) ToPostReque } 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 *ItemEventsItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_decline_request_builder.go b/users/item_events_item_exception_occurrences_item_decline_request_builder.go index 63820e3b26e..0947889cb3e 100644 --- a/users/item_events_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder) ToPostRequ } 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 *ItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go index fb3525e5b9c..9a2d30702f8 100644 --- a/users/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder) To } 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 *ItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_extensions_count_request_builder.go b/users/item_events_item_exception_occurrences_item_extensions_count_request_builder.go index ebd2e65c994..6d265d3d4e9 100644 --- a/users/item_events_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder) To } 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 *ItemEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 11e53c1df77..36c74f4fa17 100644 --- a/users/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBui } 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 *ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_extensions_request_builder.go b/users/item_events_item_exception_occurrences_item_extensions_request_builder.go index a0374c91e76..7927d23545b 100644 --- a/users/item_events_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostR } 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 *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_forward_request_builder.go b/users/item_events_item_exception_occurrences_item_forward_request_builder.go index 335d595f62d..ee7cfc0bdac 100644 --- a/users/item_events_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemForwardRequestBuilder) ToPostRequ } 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 *ItemEventsItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_instances_count_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_count_request_builder.go index 3d59df2f568..07a0381d3e5 100644 --- a/users/item_events_item_exception_occurrences_item_instances_count_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesCountRequestBuilder) ToG } 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 *ItemEventsItemExceptionOccurrencesItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesCountRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_delta_request_builder.go index 4bc40aa0a11..3beaae152e0 100644 --- a/users/item_events_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryP // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetQueryP // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) ToG } 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 *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_instances_event_item_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_event_item_request_builder.go index ca2431b9e1e..a080c28b7cf 100644 --- a/users/item_events_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder stru // ItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -117,3 +117,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) } 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 *ItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go index 7585f964ad7..86b2e531f77 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 60e3c2bde3d..7578108aa4e 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmen } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmen } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmen } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go index 31c2eb19194..5d2a45dfafa 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequ } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index c2eac47068a..f9fd786d0e7 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUplo urlParams["request-raw-url"] = rawUrl return NewItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUpl } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUpl } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 14c1432fbf6..78ddb7325bb 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBu } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBu } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go index a91c454b9d3..53f73991b5d 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemCalendarRequestBuild } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 6380d40ccf9..34e1934edd7 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go index 76b6b9d1184..b6133da0cb6 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilde } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 84b080ab8f7..cf4f0bfb130 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderReque } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go index a1289c61d96..ccc279696ca 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountReque } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index ff6219ca103..1855b810a4c 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionI } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go index 39694cf0e50..edb5b80639d 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBui } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go index 58dc548a906..718ffd25889 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilde } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index 60886fbeed3..cf53aa16b3d 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderReques } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index 7b277588a7c..e49494e3d86 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptReq } 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 *ItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_instances_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_request_builder.go index 0d17b890363..5dcd02acbd5 100644 --- a/users/item_events_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetQueryParame // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetQueryParame // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetRequestConf // Request query parameters QueryParameters *ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2String(eventId2 string)(*ItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) ByEventId2(eventId2 string)(*ItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) ToGetReq } 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 *ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go index 2fbc3a63239..56f5d7ef85a 100644 --- a/users/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) 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 *ItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go index efe0e012a27..08f0485870b 100644 --- a/users/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) } 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 *ItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_exception_occurrences_request_builder.go b/users/item_events_item_exception_occurrences_request_builder.go index b343cc37a8f..dfa0a968d94 100644 --- a/users/item_events_item_exception_occurrences_request_builder.go +++ b/users/item_events_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemEventsItemExceptionOccurrencesRequestBuilderGetRequestConfiguration str // Request query parameters QueryParameters *ItemEventsItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemEventsItemExceptionOccurrencesRequestBuilder) ByEventId1String(eventId1 string)(*ItemEventsItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemEventsItemExceptionOccurrencesRequestBuilder) ByEventId1(eventId1 string)(*ItemEventsItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemEventsItemExceptionOccurrencesRequestBuilder) ToGetRequestInformati } 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 *ItemEventsItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExceptionOccurrencesRequestBuilder) { + return NewItemEventsItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_extensions_count_request_builder.go b/users/item_events_item_extensions_count_request_builder.go index c90d09a6c7d..55ecd9a5cba 100644 --- a/users/item_events_item_extensions_count_request_builder.go +++ b/users/item_events_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemExtensionsCountRequestBuilder) ToGetRequestInformation(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 *ItemEventsItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExtensionsCountRequestBuilder) { + return NewItemEventsItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_extensions_extension_item_request_builder.go b/users/item_events_item_extensions_extension_item_request_builder.go index cf0b9c55d9b..abd08a59f14 100644 --- a/users/item_events_item_extensions_extension_item_request_builder.go +++ b/users/item_events_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemEventsItemExtensionsExtensionItemRequestBuilder) 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 *ItemEventsItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExtensionsExtensionItemRequestBuilder) { + return NewItemEventsItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_extensions_request_builder.go b/users/item_events_item_extensions_request_builder.go index f39542c5e50..3f1af1b2f45 100644 --- a/users/item_events_item_extensions_request_builder.go +++ b/users/item_events_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemEventsItemExtensionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemEventsItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemEventsItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemEventsItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemEventsItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemEventsItemExtensionsRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemEventsItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemExtensionsRequestBuilder) { + return NewItemEventsItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_forward_request_builder.go b/users/item_events_item_forward_request_builder.go index 53c698a2909..4c99a96ba5a 100644 --- a/users/item_events_item_forward_request_builder.go +++ b/users/item_events_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemForwardRequestBuilder) 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 *ItemEventsItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemForwardRequestBuilder) { + return NewItemEventsItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_count_request_builder.go b/users/item_events_item_instances_count_request_builder.go index 8695955b7a7..d757ca7e379 100644 --- a/users/item_events_item_instances_count_request_builder.go +++ b/users/item_events_item_instances_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemInstancesCountRequestBuilder) ToGetRequestInformation(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 *ItemEventsItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesCountRequestBuilder) { + return NewItemEventsItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_delta_request_builder.go b/users/item_events_item_instances_delta_request_builder.go index 415551d0c27..b49a0776e9c 100644 --- a/users/item_events_item_instances_delta_request_builder.go +++ b/users/item_events_item_instances_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemEventsItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemEventsItemInstancesDeltaRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemEventsItemInstancesDeltaRequestBuilder) ToGetRequestInformation(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 *ItemEventsItemInstancesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesDeltaRequestBuilder) { + return NewItemEventsItemInstancesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_event_item_request_builder.go b/users/item_events_item_instances_event_item_request_builder.go index 716f5538598..d1a5e756157 100644 --- a/users/item_events_item_instances_event_item_request_builder.go +++ b/users/item_events_item_instances_event_item_request_builder.go @@ -14,11 +14,11 @@ type ItemEventsItemInstancesEventItemRequestBuilder struct { // ItemEventsItemInstancesEventItemRequestBuilderGetQueryParameters the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. type ItemEventsItemInstancesEventItemRequestBuilderGetQueryParameters struct { // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Select properties to be returned Select []string `uriparametername:"%24select"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` } // ItemEventsItemInstancesEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type ItemEventsItemInstancesEventItemRequestBuilderGetRequestConfiguration struct { @@ -121,3 +121,7 @@ func (m *ItemEventsItemInstancesEventItemRequestBuilder) 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 *ItemEventsItemInstancesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesEventItemRequestBuilder) { + return NewItemEventsItemInstancesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_accept_request_builder.go b/users/item_events_item_instances_item_accept_request_builder.go index d2fe9a8fba9..3bce86cd730 100644 --- a/users/item_events_item_instances_item_accept_request_builder.go +++ b/users/item_events_item_instances_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemAcceptRequestBuilder) ToPostRequestInformati } 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 *ItemEventsItemInstancesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemAcceptRequestBuilder) { + return NewItemEventsItemInstancesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_events_item_instances_item_attachments_attachment_item_request_builder.go index 607f594c947..b07917f1465 100644 --- a/users/item_events_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_events_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Del } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToD } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToG } 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 *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_attachments_count_request_builder.go b/users/item_events_item_instances_item_attachments_count_request_builder.go index 21684cc8094..15d474049d0 100644 --- a/users/item_events_item_instances_item_attachments_count_request_builder.go +++ b/users/item_events_item_instances_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsCountRequestBuilder) ToGetRequest } 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 *ItemEventsItemInstancesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemAttachmentsCountRequestBuilder) { + return NewItemEventsItemInstancesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_events_item_instances_item_attachments_create_upload_session_request_builder.go index 3c153444250..adeb1aabb31 100644 --- a/users/item_events_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_events_item_instances_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder( urlParams["request-raw-url"] = rawUrl return NewItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemEventsItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder } 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 *ItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_attachments_request_builder.go b/users/item_events_item_instances_item_attachments_request_builder.go index 8cb7cac3224..62e02b22b1e 100644 --- a/users/item_events_item_instances_item_attachments_request_builder.go +++ b/users/item_events_item_instances_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemEventsItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInfor } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInfo } 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 *ItemEventsItemInstancesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemAttachmentsRequestBuilder) { + return NewItemEventsItemInstancesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_calendar_request_builder.go b/users/item_events_item_instances_item_calendar_request_builder.go index a4eaa673426..b1654061aa0 100644 --- a/users/item_events_item_instances_item_calendar_request_builder.go +++ b/users/item_events_item_instances_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemEventsItemInstancesItemCalendarRequestBuilder) ToGetRequestInformat } 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 *ItemEventsItemInstancesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemCalendarRequestBuilder) { + return NewItemEventsItemInstancesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_cancel_request_builder.go b/users/item_events_item_instances_item_cancel_request_builder.go index 718af5bf6a1..8edc843246e 100644 --- a/users/item_events_item_instances_item_cancel_request_builder.go +++ b/users/item_events_item_instances_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemCancelRequestBuilder) ToPostRequestInformati } 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 *ItemEventsItemInstancesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemCancelRequestBuilder) { + return NewItemEventsItemInstancesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_decline_request_builder.go b/users/item_events_item_instances_item_decline_request_builder.go index cd597b0237c..8104b1d2e20 100644 --- a/users/item_events_item_instances_item_decline_request_builder.go +++ b/users/item_events_item_instances_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemDeclineRequestBuilder) ToPostRequestInformat } 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 *ItemEventsItemInstancesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemDeclineRequestBuilder) { + return NewItemEventsItemInstancesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_dismiss_reminder_request_builder.go b/users/item_events_item_instances_item_dismiss_reminder_request_builder.go index 64a74214e55..e551a8b4e8f 100644 --- a/users/item_events_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_events_item_instances_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemEventsItemInstancesItemDismissReminderRequestBuilder) ToPostRequest } 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 *ItemEventsItemInstancesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemDismissReminderRequestBuilder) { + return NewItemEventsItemInstancesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_exception_occurrences_count_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_count_request_builder.go index d30be62be87..a8d74b35292 100644 --- a/users/item_events_item_instances_item_exception_occurrences_count_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesCountRequestBuilder) ToG } 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 *ItemEventsItemInstancesItemExceptionOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesCountRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_delta_request_builder.go index bca6fc13ca0..fd3193ddb33 100644 --- a/users/item_events_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_delta_request_builder.go @@ -15,7 +15,7 @@ type ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryP // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -27,7 +27,7 @@ type ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetQueryP // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -91,3 +91,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) ToG } 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 *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_exception_occurrences_event_item_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_event_item_request_builder.go index 6b8a5254fe7..a5d588bdd0b 100644 --- a/users/item_events_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -115,3 +115,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) } 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 *ItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go index 8ea98b83a99..794ce61190f 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 4183fe5e2d5..5d55227c780 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,7 +66,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmen } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmen } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -116,3 +116,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmen } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go index f578ee0c7fc..a30d4085053 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequ } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 4d26c86f00c..ed54c314f68 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUplo urlParams["request-raw-url"] = rawUrl return NewItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUpl } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUpl } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 145dcae24bf..749f2c814fc 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -44,8 +44,8 @@ type ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.event entity. -func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.event entity. +func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,7 +98,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 @@ -136,7 +136,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBu } return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -153,3 +153,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBu } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go index 852260d6a45..aa5b8220375 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemCalendarRequestBuild } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemCalendarRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 25ddcd3fac7..7d9b317dadc 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go index 138d7d1bd4c..a9613f980ee 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilde } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 725d6424c5c..ad3e68a7b81 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderReque } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go index 8afb14262a9..2f54f0d1f1b 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountReque } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index abe4aaf74bd..24565a41673 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionI } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go index a04183e3a45..a08910ddc84 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBui } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go index 3c29dc6367d..8fe04fad3fc 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilde } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index af7a0474895..5b354faf010 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderReques } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 86cb057f404..da7ba885198 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptReq } 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 *ItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_exception_occurrences_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_request_builder.go index 5c624954f04..13243bccc76 100644 --- a/users/item_events_item_instances_item_exception_occurrences_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_request_builder.go @@ -37,8 +37,8 @@ type ItemEventsItemInstancesItemExceptionOccurrencesRequestBuilderGetRequestConf // Request query parameters QueryParameters *ItemEventsItemInstancesItemExceptionOccurrencesRequestBuilderGetQueryParameters } -// ByEventId2String provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. -func (m *ItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2String(eventId2 string)(*ItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { +// ByEventId2 provides operations to manage the exceptionOccurrences property of the microsoft.graph.event entity. +func (m *ItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder) ByEventId2(eventId2 string)(*ItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -104,3 +104,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder) ToGetReq } 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 *ItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder) { + return NewItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_extensions_count_request_builder.go b/users/item_events_item_instances_item_extensions_count_request_builder.go index 78b0eb5f5a6..0280eb37ff5 100644 --- a/users/item_events_item_instances_item_extensions_count_request_builder.go +++ b/users/item_events_item_instances_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemEventsItemInstancesItemExtensionsCountRequestBuilder) ToGetRequestI } 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 *ItemEventsItemInstancesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExtensionsCountRequestBuilder) { + return NewItemEventsItemInstancesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_extensions_extension_item_request_builder.go b/users/item_events_item_instances_item_extensions_extension_item_request_builder.go index 034b1f49487..cf3c6c5a74f 100644 --- a/users/item_events_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_events_item_instances_item_extensions_extension_item_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) 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 *ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) { + return NewItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_extensions_request_builder.go b/users/item_events_item_instances_item_extensions_request_builder.go index e69f2098017..aad207245bf 100644 --- a/users/item_events_item_instances_item_extensions_request_builder.go +++ b/users/item_events_item_instances_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemEventsItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.event entity. -func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.event entity. +func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) ToPostRequestInfor } 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 *ItemEventsItemInstancesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemExtensionsRequestBuilder) { + return NewItemEventsItemInstancesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_forward_request_builder.go b/users/item_events_item_instances_item_forward_request_builder.go index 3383f56759d..585cf0793a0 100644 --- a/users/item_events_item_instances_item_forward_request_builder.go +++ b/users/item_events_item_instances_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemForwardRequestBuilder) ToPostRequestInformat } 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 *ItemEventsItemInstancesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemForwardRequestBuilder) { + return NewItemEventsItemInstancesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_snooze_reminder_request_builder.go b/users/item_events_item_instances_item_snooze_reminder_request_builder.go index 51670adcd23..37c64a8aabc 100644 --- a/users/item_events_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_events_item_instances_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemSnoozeReminderRequestBuilder) ToPostRequestI } 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 *ItemEventsItemInstancesItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemSnoozeReminderRequestBuilder) { + return NewItemEventsItemInstancesItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_item_tentatively_accept_request_builder.go b/users/item_events_item_instances_item_tentatively_accept_request_builder.go index 24e48d1bc72..b17749a4938 100644 --- a/users/item_events_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_events_item_instances_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemInstancesItemTentativelyAcceptRequestBuilder) ToPostReque } 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 *ItemEventsItemInstancesItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesItemTentativelyAcceptRequestBuilder) { + return NewItemEventsItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_instances_request_builder.go b/users/item_events_item_instances_request_builder.go index 3e85fb35967..0a20e41916f 100644 --- a/users/item_events_item_instances_request_builder.go +++ b/users/item_events_item_instances_request_builder.go @@ -16,7 +16,7 @@ type ItemEventsItemInstancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` // The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 - EndDateTime *string + EndDateTime *string `uriparametername:"endDateTime"` // Filter items by property values Filter *string `uriparametername:"%24filter"` // Order items by property values @@ -26,7 +26,7 @@ type ItemEventsItemInstancesRequestBuilderGetQueryParameters struct { // Skip the first n items Skip *int32 `uriparametername:"%24skip"` // The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 - StartDateTime *string + StartDateTime *string `uriparametername:"startDateTime"` // Show only the first n items Top *int32 `uriparametername:"%24top"` } @@ -39,8 +39,8 @@ type ItemEventsItemInstancesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemEventsItemInstancesRequestBuilderGetQueryParameters } -// ByEventId1String provides operations to manage the instances property of the microsoft.graph.event entity. -func (m *ItemEventsItemInstancesRequestBuilder) ByEventId1String(eventId1 string)(*ItemEventsItemInstancesEventItemRequestBuilder) { +// ByEventId1 provides operations to manage the instances property of the microsoft.graph.event entity. +func (m *ItemEventsItemInstancesRequestBuilder) ByEventId1(eventId1 string)(*ItemEventsItemInstancesEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -109,3 +109,7 @@ func (m *ItemEventsItemInstancesRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemEventsItemInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemInstancesRequestBuilder) { + return NewItemEventsItemInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_snooze_reminder_request_builder.go b/users/item_events_item_snooze_reminder_request_builder.go index 0453082cedc..a43d205661c 100644 --- a/users/item_events_item_snooze_reminder_request_builder.go +++ b/users/item_events_item_snooze_reminder_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemSnoozeReminderRequestBuilder) 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 *ItemEventsItemSnoozeReminderRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemSnoozeReminderRequestBuilder) { + return NewItemEventsItemSnoozeReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_item_tentatively_accept_request_builder.go b/users/item_events_item_tentatively_accept_request_builder.go index 5560827e611..32e653fbfb4 100644 --- a/users/item_events_item_tentatively_accept_request_builder.go +++ b/users/item_events_item_tentatively_accept_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemEventsItemTentativelyAcceptRequestBuilder) 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 *ItemEventsItemTentativelyAcceptRequestBuilder) WithUrl(rawUrl string)(*ItemEventsItemTentativelyAcceptRequestBuilder) { + return NewItemEventsItemTentativelyAcceptRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_events_request_builder.go b/users/item_events_request_builder.go index e0bc916a469..7038ea0b281 100644 --- a/users/item_events_request_builder.go +++ b/users/item_events_request_builder.go @@ -44,8 +44,8 @@ type ItemEventsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEventIdString provides operations to manage the events property of the microsoft.graph.user entity. -func (m *ItemEventsRequestBuilder) ByEventIdString(eventId string)(*ItemEventsEventItemRequestBuilder) { +// ByEventId provides operations to manage the events property of the microsoft.graph.user entity. +func (m *ItemEventsRequestBuilder) ByEventId(eventId string)(*ItemEventsEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -153,3 +153,7 @@ func (m *ItemEventsRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemEventsRequestBuilder) WithUrl(rawUrl string)(*ItemEventsRequestBuilder) { + return NewItemEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_export_device_and_app_management_data_request_builder.go b/users/item_export_device_and_app_management_data_request_builder.go index b9c85a9b33a..d3d96f9e3ce 100644 --- a/users/item_export_device_and_app_management_data_request_builder.go +++ b/users/item_export_device_and_app_management_data_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemExportDeviceAndAppManagementDataRequestBuilder) ToGetRequestInforma } 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 *ItemExportDeviceAndAppManagementDataRequestBuilder) WithUrl(rawUrl string)(*ItemExportDeviceAndAppManagementDataRequestBuilder) { + return NewItemExportDeviceAndAppManagementDataRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_export_device_and_app_management_data_with_skip_with_top_request_builder.go b/users/item_export_device_and_app_management_data_with_skip_with_top_request_builder.go index 913970b6a93..31c0a1078f7 100644 --- a/users/item_export_device_and_app_management_data_with_skip_with_top_request_builder.go +++ b/users/item_export_device_and_app_management_data_with_skip_with_top_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder) ToGe } 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 *ItemExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder) WithUrl(rawUrl string)(*ItemExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder) { + return NewItemExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_export_personal_data_request_builder.go b/users/item_export_personal_data_request_builder.go index 218a1e5a889..2619c5eca79 100644 --- a/users/item_export_personal_data_request_builder.go +++ b/users/item_export_personal_data_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemExportPersonalDataRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemExportPersonalDataRequestBuilder) WithUrl(rawUrl string)(*ItemExportPersonalDataRequestBuilder) { + return NewItemExportPersonalDataRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_extensions_count_request_builder.go b/users/item_extensions_count_request_builder.go index eecc9a2ad89..d15ec89821e 100644 --- a/users/item_extensions_count_request_builder.go +++ b/users/item_extensions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemExtensionsCountRequestBuilder) ToGetRequestInformation(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 *ItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemExtensionsCountRequestBuilder) { + return NewItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_extensions_extension_item_request_builder.go b/users/item_extensions_extension_item_request_builder.go index 7a6eb16f624..221a5e0eb0c 100644 --- a/users/item_extensions_extension_item_request_builder.go +++ b/users/item_extensions_extension_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemExtensionsExtensionItemRequestBuilder) ToPatchRequestInformation(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 *ItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemExtensionsExtensionItemRequestBuilder) { + return NewItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_extensions_request_builder.go b/users/item_extensions_request_builder.go index 5f16431a442..c17f7f3d5b3 100644 --- a/users/item_extensions_request_builder.go +++ b/users/item_extensions_request_builder.go @@ -46,8 +46,8 @@ type ItemExtensionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.user entity. -func (m *ItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.user entity. +func (m *ItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *ItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemExtensionsRequestBuilder) { + return NewItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_find_meeting_times_request_builder.go b/users/item_find_meeting_times_request_builder.go index d1fc2ecd8a5..42c265862fd 100644 --- a/users/item_find_meeting_times_request_builder.go +++ b/users/item_find_meeting_times_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemFindMeetingTimesRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemFindMeetingTimesRequestBuilder) WithUrl(rawUrl string)(*ItemFindMeetingTimesRequestBuilder) { + return NewItemFindMeetingTimesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_find_room_lists_request_builder.go b/users/item_find_room_lists_request_builder.go index c11b9efb76d..5e24a651db5 100644 --- a/users/item_find_room_lists_request_builder.go +++ b/users/item_find_room_lists_request_builder.go @@ -83,3 +83,7 @@ func (m *ItemFindRoomListsRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemFindRoomListsRequestBuilder) WithUrl(rawUrl string)(*ItemFindRoomListsRequestBuilder) { + return NewItemFindRoomListsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_find_rooms_request_builder.go b/users/item_find_rooms_request_builder.go index f7d52bab888..6dca3c9b233 100644 --- a/users/item_find_rooms_request_builder.go +++ b/users/item_find_rooms_request_builder.go @@ -80,3 +80,7 @@ func (m *ItemFindRoomsRequestBuilder) ToGetRequestInformation(ctx context.Contex } 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 *ItemFindRoomsRequestBuilder) WithUrl(rawUrl string)(*ItemFindRoomsRequestBuilder) { + return NewItemFindRoomsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_find_rooms_with_room_list_request_builder.go b/users/item_find_rooms_with_room_list_request_builder.go index 19600a849c3..0515d234d7f 100644 --- a/users/item_find_rooms_with_room_list_request_builder.go +++ b/users/item_find_rooms_with_room_list_request_builder.go @@ -83,3 +83,7 @@ func (m *ItemFindRoomsWithRoomListRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemFindRoomsWithRoomListRequestBuilder) WithUrl(rawUrl string)(*ItemFindRoomsWithRoomListRequestBuilder) { + return NewItemFindRoomsWithRoomListRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_followed_sites_count_request_builder.go b/users/item_followed_sites_count_request_builder.go index 4e7d75ee78f..5c4e6a83ce5 100644 --- a/users/item_followed_sites_count_request_builder.go +++ b/users/item_followed_sites_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemFollowedSitesCountRequestBuilder) ToGetRequestInformation(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 *ItemFollowedSitesCountRequestBuilder) WithUrl(rawUrl string)(*ItemFollowedSitesCountRequestBuilder) { + return NewItemFollowedSitesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_followed_sites_request_builder.go b/users/item_followed_sites_request_builder.go index 6063bd59ee0..86cc07b1152 100644 --- a/users/item_followed_sites_request_builder.go +++ b/users/item_followed_sites_request_builder.go @@ -39,8 +39,8 @@ type ItemFollowedSitesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemFollowedSitesRequestBuilderGetQueryParameters } -// BySiteIdString provides operations to manage the followedSites property of the microsoft.graph.user entity. -func (m *ItemFollowedSitesRequestBuilder) BySiteIdString(siteId string)(*ItemFollowedSitesSiteItemRequestBuilder) { +// BySiteId provides operations to manage the followedSites property of the microsoft.graph.user entity. +func (m *ItemFollowedSitesRequestBuilder) BySiteId(siteId string)(*ItemFollowedSitesSiteItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemFollowedSitesRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemFollowedSitesRequestBuilder) WithUrl(rawUrl string)(*ItemFollowedSitesRequestBuilder) { + return NewItemFollowedSitesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_followed_sites_site_item_request_builder.go b/users/item_followed_sites_site_item_request_builder.go index ad192deefd5..6397c7da5c4 100644 --- a/users/item_followed_sites_site_item_request_builder.go +++ b/users/item_followed_sites_site_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemFollowedSitesSiteItemRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemFollowedSitesSiteItemRequestBuilder) WithUrl(rawUrl string)(*ItemFollowedSitesSiteItemRequestBuilder) { + return NewItemFollowedSitesSiteItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_get_effective_device_enrollment_configurations_request_builder.go b/users/item_get_effective_device_enrollment_configurations_request_builder.go index 77f705c538f..55fba7ff8f9 100644 --- a/users/item_get_effective_device_enrollment_configurations_request_builder.go +++ b/users/item_get_effective_device_enrollment_configurations_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemGetEffectiveDeviceEnrollmentConfigurationsRequestBuilder) ToGetRequ } 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 *ItemGetEffectiveDeviceEnrollmentConfigurationsRequestBuilder) WithUrl(rawUrl string)(*ItemGetEffectiveDeviceEnrollmentConfigurationsRequestBuilder) { + return NewItemGetEffectiveDeviceEnrollmentConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_get_logged_on_managed_devices_request_builder.go b/users/item_get_logged_on_managed_devices_request_builder.go index 29882aa7b37..e027b824cf7 100644 --- a/users/item_get_logged_on_managed_devices_request_builder.go +++ b/users/item_get_logged_on_managed_devices_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemGetLoggedOnManagedDevicesRequestBuilder) ToGetRequestInformation(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 *ItemGetLoggedOnManagedDevicesRequestBuilder) WithUrl(rawUrl string)(*ItemGetLoggedOnManagedDevicesRequestBuilder) { + return NewItemGetLoggedOnManagedDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_get_mail_tips_request_builder.go b/users/item_get_mail_tips_request_builder.go index 872867f6d75..f33e4e94b8c 100644 --- a/users/item_get_mail_tips_request_builder.go +++ b/users/item_get_mail_tips_request_builder.go @@ -30,7 +30,7 @@ func NewItemGetMailTipsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da urlParams["request-raw-url"] = rawUrl return NewItemGetMailTipsRequestBuilderInternal(urlParams, requestAdapter) } -// Post get the MailTips of one or more recipients as available to the signed-in user. Note that by making a POST call to the getMailTips action, you can request specific types of MailTips to be returned for more than one recipient at one time. The requested MailTips are returned in a mailTips collection. +// Post get the MailTips of one or more recipients as available to the signed-in user. Note that by making a POST call to the getMailTips action, you can request specific types of MailTips tobe returned for more than one recipient at one time. The requested MailTips are returned in a mailTips collection. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/user-getmailtips?view=graph-rest-1.0 @@ -52,7 +52,7 @@ func (m *ItemGetMailTipsRequestBuilder) Post(ctx context.Context, body ItemGetMa } return res.(ItemGetMailTipsResponseable), nil } -// ToPostRequestInformation get the MailTips of one or more recipients as available to the signed-in user. Note that by making a POST call to the getMailTips action, you can request specific types of MailTips to be returned for more than one recipient at one time. The requested MailTips are returned in a mailTips collection. +// ToPostRequestInformation get the MailTips of one or more recipients as available to the signed-in user. Note that by making a POST call to the getMailTips action, you can request specific types of MailTips tobe returned for more than one recipient at one time. The requested MailTips are returned in a mailTips collection. func (m *ItemGetMailTipsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemGetMailTipsPostRequestBodyable, requestConfiguration *ItemGetMailTipsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -69,3 +69,7 @@ func (m *ItemGetMailTipsRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *ItemGetMailTipsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMailTipsRequestBuilder) { + return NewItemGetMailTipsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_get_managed_app_diagnostic_statuses_request_builder.go b/users/item_get_managed_app_diagnostic_statuses_request_builder.go index 06a7b1378a5..06e26e761bd 100644 --- a/users/item_get_managed_app_diagnostic_statuses_request_builder.go +++ b/users/item_get_managed_app_diagnostic_statuses_request_builder.go @@ -80,3 +80,7 @@ func (m *ItemGetManagedAppDiagnosticStatusesRequestBuilder) ToGetRequestInformat } 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 *ItemGetManagedAppDiagnosticStatusesRequestBuilder) WithUrl(rawUrl string)(*ItemGetManagedAppDiagnosticStatusesRequestBuilder) { + return NewItemGetManagedAppDiagnosticStatusesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_get_managed_app_policies_request_builder.go b/users/item_get_managed_app_policies_request_builder.go index 13745bafc90..9f4cef3c23e 100644 --- a/users/item_get_managed_app_policies_request_builder.go +++ b/users/item_get_managed_app_policies_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemGetManagedAppPoliciesRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemGetManagedAppPoliciesRequestBuilder) WithUrl(rawUrl string)(*ItemGetManagedAppPoliciesRequestBuilder) { + return NewItemGetManagedAppPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_get_managed_devices_with_app_failures_request_builder.go b/users/item_get_managed_devices_with_app_failures_request_builder.go index 4c1383c4756..70bfff08591 100644 --- a/users/item_get_managed_devices_with_app_failures_request_builder.go +++ b/users/item_get_managed_devices_with_app_failures_request_builder.go @@ -80,3 +80,7 @@ func (m *ItemGetManagedDevicesWithAppFailuresRequestBuilder) ToGetRequestInforma } 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 *ItemGetManagedDevicesWithAppFailuresRequestBuilder) WithUrl(rawUrl string)(*ItemGetManagedDevicesWithAppFailuresRequestBuilder) { + return NewItemGetManagedDevicesWithAppFailuresRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_get_managed_devices_with_failed_or_pending_apps_request_builder.go b/users/item_get_managed_devices_with_failed_or_pending_apps_request_builder.go index f47bacc7d42..15b5351ac14 100644 --- a/users/item_get_managed_devices_with_failed_or_pending_apps_request_builder.go +++ b/users/item_get_managed_devices_with_failed_or_pending_apps_request_builder.go @@ -80,3 +80,7 @@ func (m *ItemGetManagedDevicesWithFailedOrPendingAppsRequestBuilder) ToGetReques } 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 *ItemGetManagedDevicesWithFailedOrPendingAppsRequestBuilder) WithUrl(rawUrl string)(*ItemGetManagedDevicesWithFailedOrPendingAppsRequestBuilder) { + return NewItemGetManagedDevicesWithFailedOrPendingAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_get_member_groups_request_builder.go b/users/item_get_member_groups_request_builder.go index eb82db59421..65b9113b551 100644 --- a/users/item_get_member_groups_request_builder.go +++ b/users/item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) 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 *ItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberGroupsRequestBuilder) { + return NewItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_get_member_objects_request_builder.go b/users/item_get_member_objects_request_builder.go index 25232b7270b..c37d6abafcf 100644 --- a/users/item_get_member_objects_request_builder.go +++ b/users/item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemGetMemberObjectsRequestBuilder) { + return NewItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_inference_classification_overrides_count_request_builder.go b/users/item_inference_classification_overrides_count_request_builder.go index 4de95fb72e7..9ada960b898 100644 --- a/users/item_inference_classification_overrides_count_request_builder.go +++ b/users/item_inference_classification_overrides_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemInferenceClassificationOverridesCountRequestBuilder) ToGetRequestIn } 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 *ItemInferenceClassificationOverridesCountRequestBuilder) WithUrl(rawUrl string)(*ItemInferenceClassificationOverridesCountRequestBuilder) { + return NewItemInferenceClassificationOverridesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_inference_classification_overrides_inference_classification_override_item_request_builder.go b/users/item_inference_classification_overrides_inference_classification_override_item_request_builder.go index 2dd55ea1ef7..97df5056570 100644 --- a/users/item_inference_classification_overrides_inference_classification_override_item_request_builder.go +++ b/users/item_inference_classification_overrides_inference_classification_override_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemInferenceClassificationOverridesInferenceClassificationOverrideItem } 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 *ItemInferenceClassificationOverridesInferenceClassificationOverrideItemRequestBuilder) WithUrl(rawUrl string)(*ItemInferenceClassificationOverridesInferenceClassificationOverrideItemRequestBuilder) { + return NewItemInferenceClassificationOverridesInferenceClassificationOverrideItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_inference_classification_overrides_request_builder.go b/users/item_inference_classification_overrides_request_builder.go index 548871febe5..0976a87a4fc 100644 --- a/users/item_inference_classification_overrides_request_builder.go +++ b/users/item_inference_classification_overrides_request_builder.go @@ -42,8 +42,8 @@ type ItemInferenceClassificationOverridesRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByInferenceClassificationOverrideIdString provides operations to manage the overrides property of the microsoft.graph.inferenceClassification entity. -func (m *ItemInferenceClassificationOverridesRequestBuilder) ByInferenceClassificationOverrideIdString(inferenceClassificationOverrideId string)(*ItemInferenceClassificationOverridesInferenceClassificationOverrideItemRequestBuilder) { +// ByInferenceClassificationOverrideId provides operations to manage the overrides property of the microsoft.graph.inferenceClassification entity. +func (m *ItemInferenceClassificationOverridesRequestBuilder) ByInferenceClassificationOverrideId(inferenceClassificationOverrideId string)(*ItemInferenceClassificationOverridesInferenceClassificationOverrideItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -147,3 +147,7 @@ func (m *ItemInferenceClassificationOverridesRequestBuilder) ToPostRequestInform } 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 *ItemInferenceClassificationOverridesRequestBuilder) WithUrl(rawUrl string)(*ItemInferenceClassificationOverridesRequestBuilder) { + return NewItemInferenceClassificationOverridesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_inference_classification_request_builder.go b/users/item_inference_classification_request_builder.go index 3727b0fc933..e4d9eece268 100644 --- a/users/item_inference_classification_request_builder.go +++ b/users/item_inference_classification_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemInferenceClassificationRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemInferenceClassificationRequestBuilderGetQueryParameters relevance classification of the user's messages based on explicit designations which override inferred relevance or importance. +// ItemInferenceClassificationRequestBuilderGetQueryParameters relevance classification of the user's messages based on explicit designations that override inferred relevance or importance. type ItemInferenceClassificationRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -45,7 +45,7 @@ func NewItemInferenceClassificationRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewItemInferenceClassificationRequestBuilderInternal(urlParams, requestAdapter) } -// Get relevance classification of the user's messages based on explicit designations which override inferred relevance or importance. +// Get relevance classification of the user's messages based on explicit designations that override inferred relevance or importance. func (m *ItemInferenceClassificationRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInferenceClassificationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InferenceClassificationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -87,7 +87,7 @@ func (m *ItemInferenceClassificationRequestBuilder) Patch(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InferenceClassificationable), nil } -// ToGetRequestInformation relevance classification of the user's messages based on explicit designations which override inferred relevance or importance. +// ToGetRequestInformation relevance classification of the user's messages based on explicit designations that override inferred relevance or importance. func (m *ItemInferenceClassificationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInferenceClassificationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -120,3 +120,7 @@ func (m *ItemInferenceClassificationRequestBuilder) ToPatchRequestInformation(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 *ItemInferenceClassificationRequestBuilder) WithUrl(rawUrl string)(*ItemInferenceClassificationRequestBuilder) { + return NewItemInferenceClassificationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go b/users/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go index 314b49ffa09..da7e8daca13 100644 --- a/users/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go +++ b/users/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go @@ -78,3 +78,7 @@ func (m *ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemR } 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 *ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) { + return NewItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_bitlocker_recovery_keys_count_request_builder.go b/users/item_information_protection_bitlocker_recovery_keys_count_request_builder.go index c58bad9af57..23255169177 100644 --- a/users/item_information_protection_bitlocker_recovery_keys_count_request_builder.go +++ b/users/item_information_protection_bitlocker_recovery_keys_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemInformationProtectionBitlockerRecoveryKeysCountRequestBuilder) ToGe } 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 *ItemInformationProtectionBitlockerRecoveryKeysCountRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionBitlockerRecoveryKeysCountRequestBuilder) { + return NewItemInformationProtectionBitlockerRecoveryKeysCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_bitlocker_recovery_keys_request_builder.go b/users/item_information_protection_bitlocker_recovery_keys_request_builder.go index 9323c8f53d3..f74cfded510 100644 --- a/users/item_information_protection_bitlocker_recovery_keys_request_builder.go +++ b/users/item_information_protection_bitlocker_recovery_keys_request_builder.go @@ -39,8 +39,8 @@ type ItemInformationProtectionBitlockerRecoveryKeysRequestBuilderGetRequestConfi // Request query parameters QueryParameters *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilderGetQueryParameters } -// ByBitlockerRecoveryKeyIdString provides operations to manage the recoveryKeys property of the microsoft.graph.bitlocker entity. -func (m *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) ByBitlockerRecoveryKeyIdString(bitlockerRecoveryKeyId string)(*ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) { +// ByBitlockerRecoveryKeyId provides operations to manage the recoveryKeys property of the microsoft.graph.bitlocker entity. +func (m *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) ByBitlockerRecoveryKeyId(bitlockerRecoveryKeyId string)(*ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) ToGetRequ } 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 *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) { + return NewItemInformationProtectionBitlockerRecoveryKeysRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_bitlocker_request_builder.go b/users/item_information_protection_bitlocker_request_builder.go index e7019932df9..fb9ab0ccb05 100644 --- a/users/item_information_protection_bitlocker_request_builder.go +++ b/users/item_information_protection_bitlocker_request_builder.go @@ -79,3 +79,7 @@ func (m *ItemInformationProtectionBitlockerRequestBuilder) ToGetRequestInformati } 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 *ItemInformationProtectionBitlockerRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionBitlockerRequestBuilder) { + return NewItemInformationProtectionBitlockerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_data_loss_prevention_policies_count_request_builder.go b/users/item_information_protection_data_loss_prevention_policies_count_request_builder.go index ff1eb68fc40..2f015bdfd91 100644 --- a/users/item_information_protection_data_loss_prevention_policies_count_request_builder.go +++ b/users/item_information_protection_data_loss_prevention_policies_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesCountRequestBuilder) } 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 *ItemInformationProtectionDataLossPreventionPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionDataLossPreventionPoliciesCountRequestBuilder) { + return NewItemInformationProtectionDataLossPreventionPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go b/users/item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go index b19d745acf3..844c3035fcd 100644 --- a/users/item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go +++ b/users/item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPo } 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 *ItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder) { + return NewItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go b/users/item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go index b855861786a..b3145f3060d 100644 --- a/users/item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go +++ b/users/item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluateRequestBuild } 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 *ItemInformationProtectionDataLossPreventionPoliciesEvaluateRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionDataLossPreventionPoliciesEvaluateRequestBuilder) { + return NewItemInformationProtectionDataLossPreventionPoliciesEvaluateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_data_loss_prevention_policies_request_builder.go b/users/item_information_protection_data_loss_prevention_policies_request_builder.go index 80cc18ed4fe..c1bf93966c7 100644 --- a/users/item_information_protection_data_loss_prevention_policies_request_builder.go +++ b/users/item_information_protection_data_loss_prevention_policies_request_builder.go @@ -46,8 +46,8 @@ type ItemInformationProtectionDataLossPreventionPoliciesRequestBuilderPostReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDataLossPreventionPolicyIdString provides operations to manage the dataLossPreventionPolicies property of the microsoft.graph.informationProtection entity. -func (m *ItemInformationProtectionDataLossPreventionPoliciesRequestBuilder) ByDataLossPreventionPolicyIdString(dataLossPreventionPolicyId string)(*ItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder) { +// ByDataLossPreventionPolicyId provides operations to manage the dataLossPreventionPolicies property of the microsoft.graph.informationProtection entity. +func (m *ItemInformationProtectionDataLossPreventionPoliciesRequestBuilder) ByDataLossPreventionPolicyId(dataLossPreventionPolicyId string)(*ItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesRequestBuilder) ToPo } 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 *ItemInformationProtectionDataLossPreventionPoliciesRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionDataLossPreventionPoliciesRequestBuilder) { + return NewItemInformationProtectionDataLossPreventionPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_decrypt_buffer_request_builder.go b/users/item_information_protection_decrypt_buffer_request_builder.go index 5913cd58c29..156a73313f2 100644 --- a/users/item_information_protection_decrypt_buffer_request_builder.go +++ b/users/item_information_protection_decrypt_buffer_request_builder.go @@ -69,3 +69,8 @@ func (m *ItemInformationProtectionDecryptBufferRequestBuilder) ToPostRequestInfo } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionDecryptBufferRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionDecryptBufferRequestBuilder) { + return NewItemInformationProtectionDecryptBufferRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_encrypt_buffer_request_builder.go b/users/item_information_protection_encrypt_buffer_request_builder.go index 64f567d396b..e462154ca12 100644 --- a/users/item_information_protection_encrypt_buffer_request_builder.go +++ b/users/item_information_protection_encrypt_buffer_request_builder.go @@ -69,3 +69,8 @@ func (m *ItemInformationProtectionEncryptBufferRequestBuilder) ToPostRequestInfo } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionEncryptBufferRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionEncryptBufferRequestBuilder) { + return NewItemInformationProtectionEncryptBufferRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_policy_labels_count_request_builder.go b/users/item_information_protection_policy_labels_count_request_builder.go index 779d843ad4d..b604b8cd8a5 100644 --- a/users/item_information_protection_policy_labels_count_request_builder.go +++ b/users/item_information_protection_policy_labels_count_request_builder.go @@ -76,3 +76,8 @@ func (m *ItemInformationProtectionPolicyLabelsCountRequestBuilder) ToGetRequestI } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionPolicyLabelsCountRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionPolicyLabelsCountRequestBuilder) { + return NewItemInformationProtectionPolicyLabelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_policy_labels_evaluate_application_request_builder.go b/users/item_information_protection_policy_labels_evaluate_application_request_builder.go index 066d82749d9..664613127fd 100644 --- a/users/item_information_protection_policy_labels_evaluate_application_request_builder.go +++ b/users/item_information_protection_policy_labels_evaluate_application_request_builder.go @@ -71,3 +71,8 @@ func (m *ItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder) } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder) { + return NewItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go b/users/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go index 1eb218bc0e0..02f5191c41f 100644 --- a/users/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go +++ b/users/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go @@ -71,3 +71,8 @@ func (m *ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsReque } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsRequestBuilder) { + return NewItemInformationProtectionPolicyLabelsEvaluateClassificationResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_policy_labels_evaluate_removal_request_builder.go b/users/item_information_protection_policy_labels_evaluate_removal_request_builder.go index 6aed4327e1c..46823d6ed23 100644 --- a/users/item_information_protection_policy_labels_evaluate_removal_request_builder.go +++ b/users/item_information_protection_policy_labels_evaluate_removal_request_builder.go @@ -71,3 +71,8 @@ func (m *ItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder) 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder) { + return NewItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_policy_labels_extract_label_request_builder.go b/users/item_information_protection_policy_labels_extract_label_request_builder.go index d13db2ab7c6..a4963620c0b 100644 --- a/users/item_information_protection_policy_labels_extract_label_request_builder.go +++ b/users/item_information_protection_policy_labels_extract_label_request_builder.go @@ -72,3 +72,8 @@ func (m *ItemInformationProtectionPolicyLabelsExtractLabelRequestBuilder) ToPost } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionPolicyLabelsExtractLabelRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionPolicyLabelsExtractLabelRequestBuilder) { + return NewItemInformationProtectionPolicyLabelsExtractLabelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_policy_labels_information_protection_label_item_request_builder.go b/users/item_information_protection_policy_labels_information_protection_label_item_request_builder.go index 547ddb1849d..4ff5a09bde4 100644 --- a/users/item_information_protection_policy_labels_information_protection_label_item_request_builder.go +++ b/users/item_information_protection_policy_labels_information_protection_label_item_request_builder.go @@ -162,3 +162,8 @@ func (m *ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequ } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilder) { + return NewItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_policy_labels_request_builder.go b/users/item_information_protection_policy_labels_request_builder.go index 680986b25e4..6b5895d3456 100644 --- a/users/item_information_protection_policy_labels_request_builder.go +++ b/users/item_information_protection_policy_labels_request_builder.go @@ -46,9 +46,9 @@ type ItemInformationProtectionPolicyLabelsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByInformationProtectionLabelIdString provides operations to manage the labels property of the microsoft.graph.informationProtectionPolicy entity. +// ByInformationProtectionLabelId provides operations to manage the labels property of the microsoft.graph.informationProtectionPolicy entity. // Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 -func (m *ItemInformationProtectionPolicyLabelsRequestBuilder) ByInformationProtectionLabelIdString(informationProtectionLabelId string)(*ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilder) { +func (m *ItemInformationProtectionPolicyLabelsRequestBuilder) ByInformationProtectionLabelId(informationProtectionLabelId string)(*ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -169,3 +169,8 @@ func (m *ItemInformationProtectionPolicyLabelsRequestBuilder) ToPostRequestInfor } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionPolicyLabelsRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionPolicyLabelsRequestBuilder) { + return NewItemInformationProtectionPolicyLabelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_policy_request_builder.go b/users/item_information_protection_policy_request_builder.go index 54ecba8d900..994fe45f9f1 100644 --- a/users/item_information_protection_policy_request_builder.go +++ b/users/item_information_protection_policy_request_builder.go @@ -163,3 +163,8 @@ func (m *ItemInformationProtectionPolicyRequestBuilder) ToPatchRequestInformatio } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionPolicyRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionPolicyRequestBuilder) { + return NewItemInformationProtectionPolicyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_request_builder.go b/users/item_information_protection_request_builder.go index fe7cb28b85c..51d31af1e72 100644 --- a/users/item_information_protection_request_builder.go +++ b/users/item_information_protection_request_builder.go @@ -193,3 +193,7 @@ func (m *ItemInformationProtectionRequestBuilder) ToPatchRequestInformation(ctx func (m *ItemInformationProtectionRequestBuilder) VerifySignature()(*ItemInformationProtectionVerifySignatureRequestBuilder) { return NewItemInformationProtectionVerifySignatureRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemInformationProtectionRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionRequestBuilder) { + return NewItemInformationProtectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_sensitivity_labels_count_request_builder.go b/users/item_information_protection_sensitivity_labels_count_request_builder.go index e6d78fd17c0..ddf3ee4c7b8 100644 --- a/users/item_information_protection_sensitivity_labels_count_request_builder.go +++ b/users/item_information_protection_sensitivity_labels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemInformationProtectionSensitivityLabelsCountRequestBuilder) ToGetReq } 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 *ItemInformationProtectionSensitivityLabelsCountRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionSensitivityLabelsCountRequestBuilder) { + return NewItemInformationProtectionSensitivityLabelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_sensitivity_labels_evaluate_request_builder.go b/users/item_information_protection_sensitivity_labels_evaluate_request_builder.go index 2addc443b5d..62d0de68f12 100644 --- a/users/item_information_protection_sensitivity_labels_evaluate_request_builder.go +++ b/users/item_information_protection_sensitivity_labels_evaluate_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemInformationProtectionSensitivityLabelsEvaluateRequestBuilder) ToPos } 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 *ItemInformationProtectionSensitivityLabelsEvaluateRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionSensitivityLabelsEvaluateRequestBuilder) { + return NewItemInformationProtectionSensitivityLabelsEvaluateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_sensitivity_labels_item_sublabels_count_request_builder.go b/users/item_information_protection_sensitivity_labels_item_sublabels_count_request_builder.go index e18ee5e32f0..9270e1ae102 100644 --- a/users/item_information_protection_sensitivity_labels_item_sublabels_count_request_builder.go +++ b/users/item_information_protection_sensitivity_labels_item_sublabels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsCountRequestBuil } 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 *ItemInformationProtectionSensitivityLabelsItemSublabelsCountRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionSensitivityLabelsItemSublabelsCountRequestBuilder) { + return NewItemInformationProtectionSensitivityLabelsItemSublabelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go b/users/item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go index 89e5a77087b..6d37044661d 100644 --- a/users/item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go +++ b/users/item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsEvaluateRequestB } 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 *ItemInformationProtectionSensitivityLabelsItemSublabelsEvaluateRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionSensitivityLabelsItemSublabelsEvaluateRequestBuilder) { + return NewItemInformationProtectionSensitivityLabelsItemSublabelsEvaluateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_sensitivity_labels_item_sublabels_request_builder.go b/users/item_information_protection_sensitivity_labels_item_sublabels_request_builder.go index eb2be3f204a..9bafa687ac2 100644 --- a/users/item_information_protection_sensitivity_labels_item_sublabels_request_builder.go +++ b/users/item_information_protection_sensitivity_labels_item_sublabels_request_builder.go @@ -46,8 +46,8 @@ type ItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilderPostRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySensitivityLabelId1String provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. -func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilder) BySensitivityLabelId1String(sensitivityLabelId1 string)(*ItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) { +// BySensitivityLabelId1 provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. +func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilder) BySensitivityLabelId1(sensitivityLabelId1 string)(*ItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilder) } 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 *ItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilder) { + return NewItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go b/users/item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go index 11070bfbd13..a1860cf57b2 100644 --- a/users/item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go +++ b/users/item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabel } 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 *ItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) { + return NewItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_sensitivity_labels_request_builder.go b/users/item_information_protection_sensitivity_labels_request_builder.go index 59b723693ff..9529e736e30 100644 --- a/users/item_information_protection_sensitivity_labels_request_builder.go +++ b/users/item_information_protection_sensitivity_labels_request_builder.go @@ -46,8 +46,8 @@ type ItemInformationProtectionSensitivityLabelsRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySensitivityLabelIdString provides operations to manage the sensitivityLabels property of the microsoft.graph.informationProtection entity. -func (m *ItemInformationProtectionSensitivityLabelsRequestBuilder) BySensitivityLabelIdString(sensitivityLabelId string)(*ItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder) { +// BySensitivityLabelId provides operations to manage the sensitivityLabels property of the microsoft.graph.informationProtection entity. +func (m *ItemInformationProtectionSensitivityLabelsRequestBuilder) BySensitivityLabelId(sensitivityLabelId string)(*ItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemInformationProtectionSensitivityLabelsRequestBuilder) ToPostRequest } 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 *ItemInformationProtectionSensitivityLabelsRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionSensitivityLabelsRequestBuilder) { + return NewItemInformationProtectionSensitivityLabelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go b/users/item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go index ee8f6286bc7..58f64bfd741 100644 --- a/users/item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go +++ b/users/item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBu } 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 *ItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder) { + return NewItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_sensitivity_policy_settings_request_builder.go b/users/item_information_protection_sensitivity_policy_settings_request_builder.go index a29808faa97..20d3ca1a570 100644 --- a/users/item_information_protection_sensitivity_policy_settings_request_builder.go +++ b/users/item_information_protection_sensitivity_policy_settings_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemInformationProtectionSensitivityPolicySettingsRequestBuilder) 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 *ItemInformationProtectionSensitivityPolicySettingsRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionSensitivityPolicySettingsRequestBuilder) { + return NewItemInformationProtectionSensitivityPolicySettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_sign_digest_request_builder.go b/users/item_information_protection_sign_digest_request_builder.go index 2078e78edb9..bb9ef7b59c7 100644 --- a/users/item_information_protection_sign_digest_request_builder.go +++ b/users/item_information_protection_sign_digest_request_builder.go @@ -69,3 +69,8 @@ func (m *ItemInformationProtectionSignDigestRequestBuilder) ToPostRequestInforma } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionSignDigestRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionSignDigestRequestBuilder) { + return NewItemInformationProtectionSignDigestRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_threat_assessment_requests_count_request_builder.go b/users/item_information_protection_threat_assessment_requests_count_request_builder.go index 73b1783aca6..acea9cbad51 100644 --- a/users/item_information_protection_threat_assessment_requests_count_request_builder.go +++ b/users/item_information_protection_threat_assessment_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsCountRequestBuilder) T } 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 *ItemInformationProtectionThreatAssessmentRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionThreatAssessmentRequestsCountRequestBuilder) { + return NewItemInformationProtectionThreatAssessmentRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_threat_assessment_requests_item_results_count_request_builder.go b/users/item_information_protection_threat_assessment_requests_item_results_count_request_builder.go index 350b25a4169..619b4258f05 100644 --- a/users/item_information_protection_threat_assessment_requests_item_results_count_request_builder.go +++ b/users/item_information_protection_threat_assessment_requests_item_results_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsItemResultsCountReques } 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 *ItemInformationProtectionThreatAssessmentRequestsItemResultsCountRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionThreatAssessmentRequestsItemResultsCountRequestBuilder) { + return NewItemInformationProtectionThreatAssessmentRequestsItemResultsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_threat_assessment_requests_item_results_request_builder.go b/users/item_information_protection_threat_assessment_requests_item_results_request_builder.go index 65cee434f12..c355534ac7f 100644 --- a/users/item_information_protection_threat_assessment_requests_item_results_request_builder.go +++ b/users/item_information_protection_threat_assessment_requests_item_results_request_builder.go @@ -46,8 +46,8 @@ type ItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuilderP // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByThreatAssessmentResultIdString provides operations to manage the results property of the microsoft.graph.threatAssessmentRequest entity. -func (m *ItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuilder) ByThreatAssessmentResultIdString(threatAssessmentResultId string)(*ItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBuilder) { +// ByThreatAssessmentResultId provides operations to manage the results property of the microsoft.graph.threatAssessmentRequest entity. +func (m *ItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuilder) ByThreatAssessmentResultId(threatAssessmentResultId string)(*ItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuil } 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 *ItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuilder) { + return NewItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go b/users/item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go index 6a98606f7a3..3454f54f0da 100644 --- a/users/item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go +++ b/users/item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAsses } 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 *ItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBuilder) { + return NewItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_threat_assessment_requests_request_builder.go b/users/item_information_protection_threat_assessment_requests_request_builder.go index b3f73182f40..bd5255236ae 100644 --- a/users/item_information_protection_threat_assessment_requests_request_builder.go +++ b/users/item_information_protection_threat_assessment_requests_request_builder.go @@ -46,8 +46,8 @@ type ItemInformationProtectionThreatAssessmentRequestsRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByThreatAssessmentRequestIdString provides operations to manage the threatAssessmentRequests property of the microsoft.graph.informationProtection entity. -func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) ByThreatAssessmentRequestIdString(threatAssessmentRequestId string)(*ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) { +// ByThreatAssessmentRequestId provides operations to manage the threatAssessmentRequests property of the microsoft.graph.informationProtection entity. +func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) ByThreatAssessmentRequestId(threatAssessmentRequestId string)(*ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) ToPost } 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 *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) { + return NewItemInformationProtectionThreatAssessmentRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go b/users/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go index 46f985b3f89..9c66d9bafdc 100644 --- a/users/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go +++ b/users/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentReques } 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 *ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) { + return NewItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_information_protection_verify_signature_request_builder.go b/users/item_information_protection_verify_signature_request_builder.go index 326c892ad45..f4141a610ce 100644 --- a/users/item_information_protection_verify_signature_request_builder.go +++ b/users/item_information_protection_verify_signature_request_builder.go @@ -69,3 +69,8 @@ func (m *ItemInformationProtectionVerifySignatureRequestBuilder) ToPostRequestIn } 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. +// Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels on 2021-02-15 and will be removed 2022-08-15 +func (m *ItemInformationProtectionVerifySignatureRequestBuilder) WithUrl(rawUrl string)(*ItemInformationProtectionVerifySignatureRequestBuilder) { + return NewItemInformationProtectionVerifySignatureRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_insights_request_builder.go b/users/item_insights_request_builder.go index 5b73d82fe6b..46d605b4a32 100644 --- a/users/item_insights_request_builder.go +++ b/users/item_insights_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemInsightsRequestBuilder) Trending()(*ItemInsightsTrendingRequestBuil func (m *ItemInsightsRequestBuilder) Used()(*ItemInsightsUsedRequestBuilder) { return NewItemInsightsUsedRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemInsightsRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsRequestBuilder) { + return NewItemInsightsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_insights_shared_count_request_builder.go b/users/item_insights_shared_count_request_builder.go index 880d1a0039a..07314fa19f4 100644 --- a/users/item_insights_shared_count_request_builder.go +++ b/users/item_insights_shared_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemInsightsSharedCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemInsightsSharedCountRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsSharedCountRequestBuilder) { + return NewItemInsightsSharedCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_insights_shared_item_last_shared_method_request_builder.go b/users/item_insights_shared_item_last_shared_method_request_builder.go index 4fb96df56a6..ccd5b82ae20 100644 --- a/users/item_insights_shared_item_last_shared_method_request_builder.go +++ b/users/item_insights_shared_item_last_shared_method_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemInsightsSharedItemLastSharedMethodRequestBuilder) ToGetRequestInfor } 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 *ItemInsightsSharedItemLastSharedMethodRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsSharedItemLastSharedMethodRequestBuilder) { + return NewItemInsightsSharedItemLastSharedMethodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_insights_shared_item_resource_request_builder.go b/users/item_insights_shared_item_resource_request_builder.go index e967789c704..41ceae58d3e 100644 --- a/users/item_insights_shared_item_resource_request_builder.go +++ b/users/item_insights_shared_item_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemInsightsSharedItemResourceRequestBuilder) ToGetRequestInformation(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 *ItemInsightsSharedItemResourceRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsSharedItemResourceRequestBuilder) { + return NewItemInsightsSharedItemResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_insights_shared_request_builder.go b/users/item_insights_shared_request_builder.go index 3ca9e40449d..76be7571b3b 100644 --- a/users/item_insights_shared_request_builder.go +++ b/users/item_insights_shared_request_builder.go @@ -46,8 +46,8 @@ type ItemInsightsSharedRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySharedInsightIdString provides operations to manage the shared property of the microsoft.graph.officeGraphInsights entity. -func (m *ItemInsightsSharedRequestBuilder) BySharedInsightIdString(sharedInsightId string)(*ItemInsightsSharedSharedInsightItemRequestBuilder) { +// BySharedInsightId provides operations to manage the shared property of the microsoft.graph.officeGraphInsights entity. +func (m *ItemInsightsSharedRequestBuilder) BySharedInsightId(sharedInsightId string)(*ItemInsightsSharedSharedInsightItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemInsightsSharedRequestBuilder) 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 *ItemInsightsSharedRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsSharedRequestBuilder) { + return NewItemInsightsSharedRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_insights_shared_shared_insight_item_request_builder.go b/users/item_insights_shared_shared_insight_item_request_builder.go index cf5145a3367..4ecd6e3a1ae 100644 --- a/users/item_insights_shared_shared_insight_item_request_builder.go +++ b/users/item_insights_shared_shared_insight_item_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemInsightsSharedSharedInsightItemRequestBuilder) ToPatchRequestInform } 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 *ItemInsightsSharedSharedInsightItemRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsSharedSharedInsightItemRequestBuilder) { + return NewItemInsightsSharedSharedInsightItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_insights_trending_count_request_builder.go b/users/item_insights_trending_count_request_builder.go index ceebd266d5a..091ab5788d8 100644 --- a/users/item_insights_trending_count_request_builder.go +++ b/users/item_insights_trending_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemInsightsTrendingCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemInsightsTrendingCountRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsTrendingCountRequestBuilder) { + return NewItemInsightsTrendingCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_insights_trending_item_resource_request_builder.go b/users/item_insights_trending_item_resource_request_builder.go index d6ed4099ea0..ab58e1c4ece 100644 --- a/users/item_insights_trending_item_resource_request_builder.go +++ b/users/item_insights_trending_item_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemInsightsTrendingItemResourceRequestBuilder) 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 *ItemInsightsTrendingItemResourceRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsTrendingItemResourceRequestBuilder) { + return NewItemInsightsTrendingItemResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_insights_trending_request_builder.go b/users/item_insights_trending_request_builder.go index e65903eba12..1b1a983b5f0 100644 --- a/users/item_insights_trending_request_builder.go +++ b/users/item_insights_trending_request_builder.go @@ -46,8 +46,8 @@ type ItemInsightsTrendingRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTrendingIdString provides operations to manage the trending property of the microsoft.graph.officeGraphInsights entity. -func (m *ItemInsightsTrendingRequestBuilder) ByTrendingIdString(trendingId string)(*ItemInsightsTrendingTrendingItemRequestBuilder) { +// ByTrendingId provides operations to manage the trending property of the microsoft.graph.officeGraphInsights entity. +func (m *ItemInsightsTrendingRequestBuilder) ByTrendingId(trendingId string)(*ItemInsightsTrendingTrendingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemInsightsTrendingRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemInsightsTrendingRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsTrendingRequestBuilder) { + return NewItemInsightsTrendingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_insights_trending_trending_item_request_builder.go b/users/item_insights_trending_trending_item_request_builder.go index 850d2d7d2df..6bedacabd05 100644 --- a/users/item_insights_trending_trending_item_request_builder.go +++ b/users/item_insights_trending_trending_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemInsightsTrendingTrendingItemRequestBuilder) ToPatchRequestInformati } 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 *ItemInsightsTrendingTrendingItemRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsTrendingTrendingItemRequestBuilder) { + return NewItemInsightsTrendingTrendingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_insights_used_count_request_builder.go b/users/item_insights_used_count_request_builder.go index a1fa6430278..cfb29f5b77a 100644 --- a/users/item_insights_used_count_request_builder.go +++ b/users/item_insights_used_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemInsightsUsedCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemInsightsUsedCountRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsUsedCountRequestBuilder) { + return NewItemInsightsUsedCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_insights_used_item_resource_request_builder.go b/users/item_insights_used_item_resource_request_builder.go index fd290bcfd93..7319aa65b38 100644 --- a/users/item_insights_used_item_resource_request_builder.go +++ b/users/item_insights_used_item_resource_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemInsightsUsedItemResourceRequestBuilder) ToGetRequestInformation(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 *ItemInsightsUsedItemResourceRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsUsedItemResourceRequestBuilder) { + return NewItemInsightsUsedItemResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_insights_used_request_builder.go b/users/item_insights_used_request_builder.go index c0c75048f1b..ba774b75227 100644 --- a/users/item_insights_used_request_builder.go +++ b/users/item_insights_used_request_builder.go @@ -46,8 +46,8 @@ type ItemInsightsUsedRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUsedInsightIdString provides operations to manage the used property of the microsoft.graph.officeGraphInsights entity. -func (m *ItemInsightsUsedRequestBuilder) ByUsedInsightIdString(usedInsightId string)(*ItemInsightsUsedUsedInsightItemRequestBuilder) { +// ByUsedInsightId provides operations to manage the used property of the microsoft.graph.officeGraphInsights entity. +func (m *ItemInsightsUsedRequestBuilder) ByUsedInsightId(usedInsightId string)(*ItemInsightsUsedUsedInsightItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemInsightsUsedRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ItemInsightsUsedRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsUsedRequestBuilder) { + return NewItemInsightsUsedRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_insights_used_used_insight_item_request_builder.go b/users/item_insights_used_used_insight_item_request_builder.go index 1f2df1efcd6..5899f257a38 100644 --- a/users/item_insights_used_used_insight_item_request_builder.go +++ b/users/item_insights_used_used_insight_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemInsightsUsedUsedInsightItemRequestBuilder) ToPatchRequestInformatio } 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 *ItemInsightsUsedUsedInsightItemRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsUsedUsedInsightItemRequestBuilder) { + return NewItemInsightsUsedUsedInsightItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_invalidate_all_refresh_tokens_request_builder.go b/users/item_invalidate_all_refresh_tokens_request_builder.go index ac8e884d375..6cedbbd4099 100644 --- a/users/item_invalidate_all_refresh_tokens_request_builder.go +++ b/users/item_invalidate_all_refresh_tokens_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemInvalidateAllRefreshTokensRequestBuilder) 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 *ItemInvalidateAllRefreshTokensRequestBuilder) WithUrl(rawUrl string)(*ItemInvalidateAllRefreshTokensRequestBuilder) { + return NewItemInvalidateAllRefreshTokensRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_is_managed_app_user_blocked_request_builder.go b/users/item_is_managed_app_user_blocked_request_builder.go index a5c77a6e26f..f0579396d0e 100644 --- a/users/item_is_managed_app_user_blocked_request_builder.go +++ b/users/item_is_managed_app_user_blocked_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemIsManagedAppUserBlockedRequestBuilder) ToGetRequestInformation(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 *ItemIsManagedAppUserBlockedRequestBuilder) WithUrl(rawUrl string)(*ItemIsManagedAppUserBlockedRequestBuilder) { + return NewItemIsManagedAppUserBlockedRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_joined_groups_delta_request_builder.go b/users/item_joined_groups_delta_request_builder.go index a6cf784409b..38df074d97c 100644 --- a/users/item_joined_groups_delta_request_builder.go +++ b/users/item_joined_groups_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemJoinedGroupsDeltaRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemJoinedGroupsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemJoinedGroupsDeltaRequestBuilder) { + return NewItemJoinedGroupsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_joined_groups_evaluate_dynamic_membership_request_builder.go b/users/item_joined_groups_evaluate_dynamic_membership_request_builder.go index a601682385d..18f1730fa8e 100644 --- a/users/item_joined_groups_evaluate_dynamic_membership_request_builder.go +++ b/users/item_joined_groups_evaluate_dynamic_membership_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemJoinedGroupsEvaluateDynamicMembershipRequestBuilder) ToPostRequestI } 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 *ItemJoinedGroupsEvaluateDynamicMembershipRequestBuilder) WithUrl(rawUrl string)(*ItemJoinedGroupsEvaluateDynamicMembershipRequestBuilder) { + return NewItemJoinedGroupsEvaluateDynamicMembershipRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_joined_groups_get_by_ids_request_builder.go b/users/item_joined_groups_get_by_ids_request_builder.go index 016ecfe2e1a..09001162680 100644 --- a/users/item_joined_groups_get_by_ids_request_builder.go +++ b/users/item_joined_groups_get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemJoinedGroupsGetByIdsRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemJoinedGroupsGetByIdsRequestBuilder) WithUrl(rawUrl string)(*ItemJoinedGroupsGetByIdsRequestBuilder) { + return NewItemJoinedGroupsGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_joined_groups_get_user_owned_objects_request_builder.go b/users/item_joined_groups_get_user_owned_objects_request_builder.go index f38133f2564..06c7c8f5f9e 100644 --- a/users/item_joined_groups_get_user_owned_objects_request_builder.go +++ b/users/item_joined_groups_get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemJoinedGroupsGetUserOwnedObjectsRequestBuilder) ToPostRequestInforma } 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 *ItemJoinedGroupsGetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemJoinedGroupsGetUserOwnedObjectsRequestBuilder) { + return NewItemJoinedGroupsGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_joined_groups_request_builder.go b/users/item_joined_groups_request_builder.go index e694dd33280..88a2f146ecd 100644 --- a/users/item_joined_groups_request_builder.go +++ b/users/item_joined_groups_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemJoinedGroupsRequestBuilder) ToGetRequestInformation(ctx context.Con func (m *ItemJoinedGroupsRequestBuilder) ValidateProperties()(*ItemJoinedGroupsValidatePropertiesRequestBuilder) { return NewItemJoinedGroupsValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemJoinedGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemJoinedGroupsRequestBuilder) { + return NewItemJoinedGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_joined_groups_validate_properties_request_builder.go b/users/item_joined_groups_validate_properties_request_builder.go index 1f393558418..438038699b5 100644 --- a/users/item_joined_groups_validate_properties_request_builder.go +++ b/users/item_joined_groups_validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemJoinedGroupsValidatePropertiesRequestBuilder) ToPostRequestInformat } 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 *ItemJoinedGroupsValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ItemJoinedGroupsValidatePropertiesRequestBuilder) { + return NewItemJoinedGroupsValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_joined_teams_count_request_builder.go b/users/item_joined_teams_count_request_builder.go index 34dec936234..06edcdf0bac 100644 --- a/users/item_joined_teams_count_request_builder.go +++ b/users/item_joined_teams_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemJoinedTeamsCountRequestBuilder) ToGetRequestInformation(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 *ItemJoinedTeamsCountRequestBuilder) WithUrl(rawUrl string)(*ItemJoinedTeamsCountRequestBuilder) { + return NewItemJoinedTeamsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_joined_teams_request_builder.go b/users/item_joined_teams_request_builder.go index 1cf7851b67b..38fde540a2b 100644 --- a/users/item_joined_teams_request_builder.go +++ b/users/item_joined_teams_request_builder.go @@ -39,8 +39,8 @@ type ItemJoinedTeamsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemJoinedTeamsRequestBuilderGetQueryParameters } -// ByTeamIdString provides operations to manage the joinedTeams property of the microsoft.graph.user entity. -func (m *ItemJoinedTeamsRequestBuilder) ByTeamIdString(teamId string)(*ItemJoinedTeamsTeamItemRequestBuilder) { +// ByTeamId provides operations to manage the joinedTeams property of the microsoft.graph.user entity. +func (m *ItemJoinedTeamsRequestBuilder) ByTeamId(teamId string)(*ItemJoinedTeamsTeamItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemJoinedTeamsRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemJoinedTeamsRequestBuilder) WithUrl(rawUrl string)(*ItemJoinedTeamsRequestBuilder) { + return NewItemJoinedTeamsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_joined_teams_team_item_request_builder.go b/users/item_joined_teams_team_item_request_builder.go index 44e04f24469..0ec47b12d14 100644 --- a/users/item_joined_teams_team_item_request_builder.go +++ b/users/item_joined_teams_team_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemJoinedTeamsTeamItemRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemJoinedTeamsTeamItemRequestBuilder) WithUrl(rawUrl string)(*ItemJoinedTeamsTeamItemRequestBuilder) { + return NewItemJoinedTeamsTeamItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_license_details_count_request_builder.go b/users/item_license_details_count_request_builder.go index a124f2526a0..1dd945a44a9 100644 --- a/users/item_license_details_count_request_builder.go +++ b/users/item_license_details_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemLicenseDetailsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemLicenseDetailsCountRequestBuilder) WithUrl(rawUrl string)(*ItemLicenseDetailsCountRequestBuilder) { + return NewItemLicenseDetailsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_license_details_license_details_item_request_builder.go b/users/item_license_details_license_details_item_request_builder.go index 2672c5e8038..1c5b086099d 100644 --- a/users/item_license_details_license_details_item_request_builder.go +++ b/users/item_license_details_license_details_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemLicenseDetailsLicenseDetailsItemRequestBuilder) ToPatchRequestInfor } 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 *ItemLicenseDetailsLicenseDetailsItemRequestBuilder) WithUrl(rawUrl string)(*ItemLicenseDetailsLicenseDetailsItemRequestBuilder) { + return NewItemLicenseDetailsLicenseDetailsItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_license_details_request_builder.go b/users/item_license_details_request_builder.go index a9c5799e1cd..4fb052de467 100644 --- a/users/item_license_details_request_builder.go +++ b/users/item_license_details_request_builder.go @@ -46,8 +46,8 @@ type ItemLicenseDetailsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByLicenseDetailsIdString provides operations to manage the licenseDetails property of the microsoft.graph.user entity. -func (m *ItemLicenseDetailsRequestBuilder) ByLicenseDetailsIdString(licenseDetailsId string)(*ItemLicenseDetailsLicenseDetailsItemRequestBuilder) { +// ByLicenseDetailsId provides operations to manage the licenseDetails property of the microsoft.graph.user entity. +func (m *ItemLicenseDetailsRequestBuilder) ByLicenseDetailsId(licenseDetailsId string)(*ItemLicenseDetailsLicenseDetailsItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemLicenseDetailsRequestBuilder) 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 *ItemLicenseDetailsRequestBuilder) WithUrl(rawUrl string)(*ItemLicenseDetailsRequestBuilder) { + return NewItemLicenseDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_count_request_builder.go b/users/item_mail_folders_count_request_builder.go index 664ee82d648..faac8161370 100644 --- a/users/item_mail_folders_count_request_builder.go +++ b/users/item_mail_folders_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemMailFoldersCountRequestBuilder) ToGetRequestInformation(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 *ItemMailFoldersCountRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersCountRequestBuilder) { + return NewItemMailFoldersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_delta_request_builder.go b/users/item_mail_folders_delta_request_builder.go index d29c0fbf8f2..3d4b745d86d 100644 --- a/users/item_mail_folders_delta_request_builder.go +++ b/users/item_mail_folders_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemMailFoldersDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMailFoldersDeltaRequestBuilderGetQueryParameters get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the mail folders. This allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. +// ItemMailFoldersDeltaRequestBuilderGetQueryParameters get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. type ItemMailFoldersDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -49,7 +49,7 @@ func NewItemMailFoldersDeltaRequestBuilder(rawUrl string, requestAdapter i2ae418 urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the mail folders. This allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. +// Get get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 @@ -71,7 +71,7 @@ func (m *ItemMailFoldersDeltaRequestBuilder) Get(ctx context.Context, requestCon } return res.(ItemMailFoldersDeltaResponseable), nil } -// ToGetRequestInformation get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the mail folders. This allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. +// ToGetRequestInformation get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. func (m *ItemMailFoldersDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -87,3 +87,7 @@ func (m *ItemMailFoldersDeltaRequestBuilder) ToGetRequestInformation(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 *ItemMailFoldersDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersDeltaRequestBuilder) { + return NewItemMailFoldersDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_count_request_builder.go b/users/item_mail_folders_item_child_folders_count_request_builder.go index 44cc992481f..368cfc258d5 100644 --- a/users/item_mail_folders_item_child_folders_count_request_builder.go +++ b/users/item_mail_folders_item_child_folders_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemMailFoldersItemChildFoldersCountRequestBuilder) ToGetRequestInforma } 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 *ItemMailFoldersItemChildFoldersCountRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersCountRequestBuilder) { + return NewItemMailFoldersItemChildFoldersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_delta_request_builder.go b/users/item_mail_folders_item_child_folders_delta_request_builder.go index 830cdf418fc..c390744a7cc 100644 --- a/users/item_mail_folders_item_child_folders_delta_request_builder.go +++ b/users/item_mail_folders_item_child_folders_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemMailFoldersItemChildFoldersDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMailFoldersItemChildFoldersDeltaRequestBuilderGetQueryParameters get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the mail folders. This allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. +// ItemMailFoldersItemChildFoldersDeltaRequestBuilderGetQueryParameters get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. type ItemMailFoldersItemChildFoldersDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -49,7 +49,7 @@ func NewItemMailFoldersItemChildFoldersDeltaRequestBuilder(rawUrl string, reques urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemChildFoldersDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the mail folders. This allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. +// Get get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 @@ -71,7 +71,7 @@ func (m *ItemMailFoldersItemChildFoldersDeltaRequestBuilder) Get(ctx context.Con } return res.(ItemMailFoldersItemChildFoldersDeltaResponseable), nil } -// ToGetRequestInformation get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the mail folders. This allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. +// ToGetRequestInformation get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. func (m *ItemMailFoldersItemChildFoldersDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -87,3 +87,7 @@ func (m *ItemMailFoldersItemChildFoldersDeltaRequestBuilder) ToGetRequestInforma } 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 *ItemMailFoldersItemChildFoldersDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersDeltaRequestBuilder) { + return NewItemMailFoldersItemChildFoldersDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_copy_request_builder.go b/users/item_mail_folders_item_child_folders_item_copy_request_builder.go index 47909cb9c50..527a5d14d22 100644 --- a/users/item_mail_folders_item_child_folders_item_copy_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_copy_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemMailFoldersItemChildFoldersItemCopyRequestBuilder) ToPostRequestInf } 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 *ItemMailFoldersItemChildFoldersItemCopyRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemCopyRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemCopyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_message_rules_count_request_builder.go b/users/item_mail_folders_item_child_folders_item_message_rules_count_request_builder.go index 92a702d207f..03a14ff83eb 100644 --- a/users/item_mail_folders_item_child_folders_item_message_rules_count_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_message_rules_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessageRulesCountRequestBuilder) ToG } 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 *ItemMailFoldersItemChildFoldersItemMessageRulesCountRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessageRulesCountRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessageRulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_message_rules_message_rule_item_request_builder.go b/users/item_mail_folders_item_child_folders_item_message_rules_message_rule_item_request_builder.go index c2d0a4c5ab5..9ed97af336d 100644 --- a/users/item_mail_folders_item_child_folders_item_message_rules_message_rule_item_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_message_rules_message_rule_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBu } 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 *ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_message_rules_request_builder.go b/users/item_mail_folders_item_child_folders_item_message_rules_request_builder.go index 417f5b5e849..b9d1bfe5668 100644 --- a/users/item_mail_folders_item_child_folders_item_message_rules_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_message_rules_request_builder.go @@ -42,8 +42,8 @@ type ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMessageRuleIdString provides operations to manage the messageRules property of the microsoft.graph.mailFolder entity. -func (m *ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilder) ByMessageRuleIdString(messageRuleId string)(*ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBuilder) { +// ByMessageRuleId provides operations to manage the messageRules property of the microsoft.graph.mailFolder entity. +func (m *ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilder) ByMessageRuleId(messageRuleId string)(*ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -92,7 +92,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleCollectionResponseable), nil } -// Post create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. +// Post create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-post-messagerules?view=graph-rest-1.0 @@ -130,7 +130,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilder) ToGetReq } return requestInfo, nil } -// ToPostRequestInformation create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. +// ToPostRequestInformation create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. func (m *ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -147,3 +147,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilder) ToPostRe } 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 *ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_count_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_count_request_builder.go index e0ca86b0578..6ae7e8e33b5 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_count_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesCountRequestBuilder) ToGetRe } 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 *ItemMailFoldersItemChildFoldersItemMessagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesCountRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_delta_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_delta_request_builder.go index 26c4a2e3944..04ff05292f0 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_delta_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilderGetQueryParameters get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can [query for incremental changes in the messages in that folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages without having to fetch the entire set of messages from the server every time. +// ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilderGetQueryParameters get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. type ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -49,7 +49,7 @@ func NewItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can [query for incremental changes in the messages in that folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages without having to fetch the entire set of messages from the server every time. +// Get get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-1.0 @@ -71,7 +71,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder) Get(ctx } return res.(ItemMailFoldersItemChildFoldersItemMessagesDeltaResponseable), nil } -// ToGetRequestInformation get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can [query for incremental changes in the messages in that folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages without having to fetch the entire set of messages from the server every time. +// ToGetRequestInformation get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. func (m *ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -87,3 +87,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder) ToGetRe } 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 *ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_attachments_attachment_item_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_attachments_attachment_item_request_builder.go index fe2b94164fa..43dd5da1809 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_attachments_attachment_item_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentItemReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -63,7 +63,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentIte } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -97,7 +97,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentIte } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -113,3 +113,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentIte } 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 *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_attachments_count_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_attachments_count_request_builder.go index a23fa9f072e..a330f91159d 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_attachments_count_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCountRequestB } 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 *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCountRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_attachments_create_upload_session_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_attachments_create_upload_session_request_builder.go index 402a48a4fae..7c4b4ebc1fe 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_attachments_create_upload_session_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCreateUploadSe urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCreateUploadS } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCreateUploadS } 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 *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_attachments_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_attachments_request_builder.go index 0e0b6e7d4c2..d025a7e7443 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_attachments_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_attachments_request_builder.go @@ -40,8 +40,8 @@ type ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilderPos // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.message entity. -func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.message entity. +func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -94,10 +94,10 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a new message that is being drafted, or created and sent on the fly. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-post-attachments?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +132,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilde } return requestInfo, nil } -// ToPostRequestInformation use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a new message that is being drafted, or created and sent on the fly. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -149,3 +149,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilde } 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 *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_copy_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_copy_request_builder.go index f4ca82d954d..eb424a32fa3 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_copy_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_copy_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemCopyRequestBuilder) ToPo } 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 *ItemMailFoldersItemChildFoldersItemMessagesItemCopyRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemCopyRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemCopyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_create_forward_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_create_forward_request_builder.go index bafa2c36019..e8b3a61618c 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_create_forward_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_create_forward_request_builder.go @@ -31,7 +31,7 @@ func NewItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardRequestBuild urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardRequestBuilderInternal(urlParams, requestAdapter) } -// Post create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can: - Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. +// Post create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/message-createforward?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable), nil } -// ToPostRequestInformation create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can: - Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. +// ToPostRequestInformation create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. func (m *ItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardPostRequestBodyable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardRequestBuil } 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 *ItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_all_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_all_request_builder.go index 0e5cda11989..a94b21fc3de 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_all_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_all_request_builder.go @@ -31,7 +31,7 @@ func NewItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyAllRequestBuil urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyAllRequestBuilderInternal(urlParams, requestAdapter) } -// Post create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties. - You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. +// Post create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/message-createreplyall?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyAllRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable), nil } -// ToPostRequestInformation create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties. - You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. +// ToPostRequestInformation create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. func (m *ItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyAllRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyAllPostRequestBodyable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyAllRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyAllRequestBui } 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 *ItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyAllRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyAllRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyAllRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_request_builder.go index c64149ab5a7..4625f0d505a 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyRequestBuilde } 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 *ItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_extensions_count_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_extensions_count_request_builder.go index 2aad2dfc8c7..e29a839edcb 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_extensions_count_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsCountRequestBu } 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 *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsCountRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_extensions_extension_item_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_extensions_extension_item_request_builder.go index a708ba0f77b..28fce11d598 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_extensions_extension_item_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_extensions_extension_item_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemR } 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 *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_extensions_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_extensions_request_builder.go index 14e42b81756..6456b20fe9b 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_extensions_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilderPost // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.message entity. -func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.message entity. +func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilder } 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 *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_forward_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_forward_request_builder.go index de366972869..e5c5235c2ac 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_forward_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemForwardRequestBuilder) T } 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 *ItemMailFoldersItemChildFoldersItemMessagesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemForwardRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_junk_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_junk_request_builder.go index e73c6ac7b0d..8893b377570 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_junk_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_junk_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemMarkAsJunkRequestBuilder } 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 *ItemMailFoldersItemChildFoldersItemMessagesItemMarkAsJunkRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemMarkAsJunkRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemMarkAsJunkRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_not_junk_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_not_junk_request_builder.go index 0031a8ced88..b884054e72e 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_not_junk_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_not_junk_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemMarkAsNotJunkRequestBuil } 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 *ItemMailFoldersItemChildFoldersItemMessagesItemMarkAsNotJunkRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemMarkAsNotJunkRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemMarkAsNotJunkRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_mentions_count_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_mentions_count_request_builder.go index ea93914a1f5..cff2bfb7b57 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_mentions_count_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_mentions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemMentionsCountRequestBuil } 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 *ItemMailFoldersItemChildFoldersItemMessagesItemMentionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemMentionsCountRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemMentionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_mentions_mention_item_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_mentions_mention_item_request_builder.go index af6af490c34..45ffb011281 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_mentions_mention_item_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_mentions_mention_item_request_builder.go @@ -113,3 +113,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemMentionsMentionItemReque } 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 *ItemMailFoldersItemChildFoldersItemMessagesItemMentionsMentionItemRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemMentionsMentionItemRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemMentionsMentionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_mentions_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_mentions_request_builder.go index 8e8dcb5f63f..1520c142bfb 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_mentions_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_mentions_request_builder.go @@ -44,8 +44,8 @@ type ItemMailFoldersItemChildFoldersItemMessagesItemMentionsRequestBuilderPostRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMentionIdString provides operations to manage the mentions property of the microsoft.graph.message entity. -func (m *ItemMailFoldersItemChildFoldersItemMessagesItemMentionsRequestBuilder) ByMentionIdString(mentionId string)(*ItemMailFoldersItemChildFoldersItemMessagesItemMentionsMentionItemRequestBuilder) { +// ByMentionId provides operations to manage the mentions property of the microsoft.graph.message entity. +func (m *ItemMailFoldersItemChildFoldersItemMessagesItemMentionsRequestBuilder) ByMentionId(mentionId string)(*ItemMailFoldersItemChildFoldersItemMessagesItemMentionsMentionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -143,3 +143,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemMentionsRequestBuilder) } 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 *ItemMailFoldersItemChildFoldersItemMessagesItemMentionsRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemMentionsRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemMentionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_move_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_move_request_builder.go index d7e6c815cc5..5c95058735f 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_move_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_move_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemMoveRequestBuilder) ToPo } 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 *ItemMailFoldersItemChildFoldersItemMessagesItemMoveRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemMoveRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemMoveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_reply_all_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_reply_all_request_builder.go index b7cd9b4a992..b8dcaad17ce 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_reply_all_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_reply_all_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemReplyAllRequestBuilder) } 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 *ItemMailFoldersItemChildFoldersItemMessagesItemReplyAllRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemReplyAllRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemReplyAllRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_reply_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_reply_request_builder.go index ffec7c36a4b..5a998035db2 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_reply_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_reply_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemReplyRequestBuilder) 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 *ItemMailFoldersItemChildFoldersItemMessagesItemReplyRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemReplyRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemReplyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_send_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_send_request_builder.go index 738d257cb1c..7e1fa7e3d93 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_send_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_send_request_builder.go @@ -30,7 +30,7 @@ func NewItemMailFoldersItemChildFoldersItemMessagesItemSendRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemChildFoldersItemMessagesItemSendRequestBuilderInternal(urlParams, requestAdapter) } -// Post send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. +// Post send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/message-send?view=graph-rest-1.0 @@ -49,7 +49,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemSendRequestBuilder) Post } return nil } -// ToPostRequestInformation send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. +// ToPostRequestInformation send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. func (m *ItemMailFoldersItemChildFoldersItemMessagesItemSendRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemSendRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -61,3 +61,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemSendRequestBuilder) ToPo } 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 *ItemMailFoldersItemChildFoldersItemMessagesItemSendRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemSendRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemSendRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_unsubscribe_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_unsubscribe_request_builder.go index 19f5fc684a1..1cbb82d8d29 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_unsubscribe_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_unsubscribe_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemUnsubscribeRequestBuilde } 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 *ItemMailFoldersItemChildFoldersItemMessagesItemUnsubscribeRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemUnsubscribeRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemUnsubscribeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_value_content_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_value_content_request_builder.go index 5a423e04673..ca237762344 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_value_content_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemValueContentRequestBuild } 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 *ItemMailFoldersItemChildFoldersItemMessagesItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesItemValueContentRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_message_item_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_message_item_request_builder.go index 75f4c8b6ae1..61a316776fd 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_message_item_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_message_item_request_builder.go @@ -217,3 +217,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesMessageItemRequestBuilder) T func (m *ItemMailFoldersItemChildFoldersItemMessagesMessageItemRequestBuilder) Unsubscribe()(*ItemMailFoldersItemChildFoldersItemMessagesItemUnsubscribeRequestBuilder) { return NewItemMailFoldersItemChildFoldersItemMessagesItemUnsubscribeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemMailFoldersItemChildFoldersItemMessagesMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesMessageItemRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_messages_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_request_builder.go index 498c92220f1..ffaef6d1583 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_request_builder.go @@ -46,8 +46,8 @@ type ItemMailFoldersItemChildFoldersItemMessagesRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMessageIdString provides operations to manage the messages property of the microsoft.graph.mailFolder entity. -func (m *ItemMailFoldersItemChildFoldersItemMessagesRequestBuilder) ByMessageIdString(messageId string)(*ItemMailFoldersItemChildFoldersItemMessagesMessageItemRequestBuilder) { +// ByMessageId provides operations to manage the messages property of the microsoft.graph.mailFolder entity. +func (m *ItemMailFoldersItemChildFoldersItemMessagesRequestBuilder) ByMessageId(messageId string)(*ItemMailFoldersItemChildFoldersItemMessagesMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesRequestBuilder) ToPostReques } 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 *ItemMailFoldersItemChildFoldersItemMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMessagesRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_move_request_builder.go b/users/item_mail_folders_item_child_folders_item_move_request_builder.go index 0be0b9a49df..9e08078857e 100644 --- a/users/item_mail_folders_item_child_folders_item_move_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_move_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMoveRequestBuilder) ToPostRequestInf } 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 *ItemMailFoldersItemChildFoldersItemMoveRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemMoveRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemMoveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_user_configurations_count_request_builder.go b/users/item_mail_folders_item_child_folders_item_user_configurations_count_request_builder.go index 3e98313e9ef..9ab461b392a 100644 --- a/users/item_mail_folders_item_child_folders_item_user_configurations_count_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_user_configurations_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemMailFoldersItemChildFoldersItemUserConfigurationsCountRequestBuilde } 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 *ItemMailFoldersItemChildFoldersItemUserConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemUserConfigurationsCountRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemUserConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_user_configurations_request_builder.go b/users/item_mail_folders_item_child_folders_item_user_configurations_request_builder.go index 6de1a002427..d9057d5bca8 100644 --- a/users/item_mail_folders_item_child_folders_item_user_configurations_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_user_configurations_request_builder.go @@ -35,8 +35,8 @@ type ItemMailFoldersItemChildFoldersItemUserConfigurationsRequestBuilderGetReque // Request query parameters QueryParameters *ItemMailFoldersItemChildFoldersItemUserConfigurationsRequestBuilderGetQueryParameters } -// ByUserConfigurationIdString provides operations to manage the userConfigurations property of the microsoft.graph.mailFolder entity. -func (m *ItemMailFoldersItemChildFoldersItemUserConfigurationsRequestBuilder) ByUserConfigurationIdString(userConfigurationId string)(*ItemMailFoldersItemChildFoldersItemUserConfigurationsUserConfigurationItemRequestBuilder) { +// ByUserConfigurationId provides operations to manage the userConfigurations property of the microsoft.graph.mailFolder entity. +func (m *ItemMailFoldersItemChildFoldersItemUserConfigurationsRequestBuilder) ByUserConfigurationId(userConfigurationId string)(*ItemMailFoldersItemChildFoldersItemUserConfigurationsUserConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,3 +98,7 @@ func (m *ItemMailFoldersItemChildFoldersItemUserConfigurationsRequestBuilder) To } 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 *ItemMailFoldersItemChildFoldersItemUserConfigurationsRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemUserConfigurationsRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemUserConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_user_configurations_user_configuration_item_request_builder.go b/users/item_mail_folders_item_child_folders_item_user_configurations_user_configuration_item_request_builder.go index 42b8e641b8d..eb50b36f213 100644 --- a/users/item_mail_folders_item_child_folders_item_user_configurations_user_configuration_item_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_user_configurations_user_configuration_item_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemMailFoldersItemChildFoldersItemUserConfigurationsUserConfigurationI } 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 *ItemMailFoldersItemChildFoldersItemUserConfigurationsUserConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemUserConfigurationsUserConfigurationItemRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemUserConfigurationsUserConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_mail_folder_item_request_builder.go b/users/item_mail_folders_item_child_folders_mail_folder_item_request_builder.go index d02964bb3af..98dce2996d4 100644 --- a/users/item_mail_folders_item_child_folders_mail_folder_item_request_builder.go +++ b/users/item_mail_folders_item_child_folders_mail_folder_item_request_builder.go @@ -23,7 +23,7 @@ type ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilderGetQueryParamete // Expand related entities Expand []string `uriparametername:"%24expand"` // Include Hidden Folders - IncludeHiddenFolders *string + IncludeHiddenFolders *string `uriparametername:"includeHiddenFolders"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -175,3 +175,7 @@ func (m *ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder) ToPatchReq func (m *ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder) UserConfigurations()(*ItemMailFoldersItemChildFoldersItemUserConfigurationsRequestBuilder) { return NewItemMailFoldersItemChildFoldersItemUserConfigurationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder) { + return NewItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_request_builder.go b/users/item_mail_folders_item_child_folders_request_builder.go index 6944467408a..2ce5253f42d 100644 --- a/users/item_mail_folders_item_child_folders_request_builder.go +++ b/users/item_mail_folders_item_child_folders_request_builder.go @@ -20,7 +20,7 @@ type ItemMailFoldersItemChildFoldersRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` // Include Hidden Folders - IncludeHiddenFolders *string + IncludeHiddenFolders *string `uriparametername:"includeHiddenFolders"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Select properties to be returned @@ -46,8 +46,8 @@ type ItemMailFoldersItemChildFoldersRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMailFolderId1String provides operations to manage the childFolders property of the microsoft.graph.mailFolder entity. -func (m *ItemMailFoldersItemChildFoldersRequestBuilder) ByMailFolderId1String(mailFolderId1 string)(*ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder) { +// ByMailFolderId1 provides operations to manage the childFolders property of the microsoft.graph.mailFolder entity. +func (m *ItemMailFoldersItemChildFoldersRequestBuilder) ByMailFolderId1(mailFolderId1 string)(*ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemMailFoldersItemChildFoldersRequestBuilder) 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 *ItemMailFoldersItemChildFoldersRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersRequestBuilder) { + return NewItemMailFoldersItemChildFoldersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_copy_request_builder.go b/users/item_mail_folders_item_copy_request_builder.go index 837f1cf9ac1..6310504cd75 100644 --- a/users/item_mail_folders_item_copy_request_builder.go +++ b/users/item_mail_folders_item_copy_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemMailFoldersItemCopyRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemMailFoldersItemCopyRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemCopyRequestBuilder) { + return NewItemMailFoldersItemCopyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_message_rules_count_request_builder.go b/users/item_mail_folders_item_message_rules_count_request_builder.go index d534a55ee12..3c198455d6c 100644 --- a/users/item_mail_folders_item_message_rules_count_request_builder.go +++ b/users/item_mail_folders_item_message_rules_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemMailFoldersItemMessageRulesCountRequestBuilder) ToGetRequestInforma } 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 *ItemMailFoldersItemMessageRulesCountRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessageRulesCountRequestBuilder) { + return NewItemMailFoldersItemMessageRulesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_message_rules_message_rule_item_request_builder.go b/users/item_mail_folders_item_message_rules_message_rule_item_request_builder.go index 9a1e66e5b3f..70481ed9279 100644 --- a/users/item_mail_folders_item_message_rules_message_rule_item_request_builder.go +++ b/users/item_mail_folders_item_message_rules_message_rule_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilder) ToPatchRe } 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 *ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilder) { + return NewItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_message_rules_request_builder.go b/users/item_mail_folders_item_message_rules_request_builder.go index 408f8d4aefb..34e71350795 100644 --- a/users/item_mail_folders_item_message_rules_request_builder.go +++ b/users/item_mail_folders_item_message_rules_request_builder.go @@ -42,8 +42,8 @@ type ItemMailFoldersItemMessageRulesRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMessageRuleIdString provides operations to manage the messageRules property of the microsoft.graph.mailFolder entity. -func (m *ItemMailFoldersItemMessageRulesRequestBuilder) ByMessageRuleIdString(messageRuleId string)(*ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilder) { +// ByMessageRuleId provides operations to manage the messageRules property of the microsoft.graph.mailFolder entity. +func (m *ItemMailFoldersItemMessageRulesRequestBuilder) ByMessageRuleId(messageRuleId string)(*ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -92,7 +92,7 @@ func (m *ItemMailFoldersItemMessageRulesRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleCollectionResponseable), nil } -// Post create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. +// Post create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-post-messagerules?view=graph-rest-1.0 @@ -130,7 +130,7 @@ func (m *ItemMailFoldersItemMessageRulesRequestBuilder) ToGetRequestInformation( } return requestInfo, nil } -// ToPostRequestInformation create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. +// ToPostRequestInformation create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. func (m *ItemMailFoldersItemMessageRulesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleable, requestConfiguration *ItemMailFoldersItemMessageRulesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -147,3 +147,7 @@ func (m *ItemMailFoldersItemMessageRulesRequestBuilder) 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 *ItemMailFoldersItemMessageRulesRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessageRulesRequestBuilder) { + return NewItemMailFoldersItemMessageRulesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_count_request_builder.go b/users/item_mail_folders_item_messages_count_request_builder.go index c3ec192c287..c286736eb9f 100644 --- a/users/item_mail_folders_item_messages_count_request_builder.go +++ b/users/item_mail_folders_item_messages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMailFoldersItemMessagesCountRequestBuilder) 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 *ItemMailFoldersItemMessagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesCountRequestBuilder) { + return NewItemMailFoldersItemMessagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_delta_request_builder.go b/users/item_mail_folders_item_messages_delta_request_builder.go index 1ce56c82733..439d4468ed7 100644 --- a/users/item_mail_folders_item_messages_delta_request_builder.go +++ b/users/item_mail_folders_item_messages_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemMailFoldersItemMessagesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMailFoldersItemMessagesDeltaRequestBuilderGetQueryParameters get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can [query for incremental changes in the messages in that folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages without having to fetch the entire set of messages from the server every time. +// ItemMailFoldersItemMessagesDeltaRequestBuilderGetQueryParameters get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. type ItemMailFoldersItemMessagesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -49,7 +49,7 @@ func NewItemMailFoldersItemMessagesDeltaRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemMessagesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can [query for incremental changes in the messages in that folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages without having to fetch the entire set of messages from the server every time. +// Get get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-1.0 @@ -71,7 +71,7 @@ func (m *ItemMailFoldersItemMessagesDeltaRequestBuilder) Get(ctx context.Context } return res.(ItemMailFoldersItemMessagesDeltaResponseable), nil } -// ToGetRequestInformation get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can [query for incremental changes in the messages in that folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages without having to fetch the entire set of messages from the server every time. +// ToGetRequestInformation get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. func (m *ItemMailFoldersItemMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -87,3 +87,7 @@ func (m *ItemMailFoldersItemMessagesDeltaRequestBuilder) 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 *ItemMailFoldersItemMessagesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesDeltaRequestBuilder) { + return NewItemMailFoldersItemMessagesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_attachments_attachment_item_request_builder.go b/users/item_mail_folders_item_messages_item_attachments_attachment_item_request_builder.go index 36232bd22fa..fabdb01f85e 100644 --- a/users/item_mail_folders_item_messages_item_attachments_attachment_item_request_builder.go +++ b/users/item_mail_folders_item_messages_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilderDelet // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -63,7 +63,7 @@ func (m *ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder) } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -97,7 +97,7 @@ func (m *ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder) } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -113,3 +113,7 @@ func (m *ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder) } 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 *ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_attachments_count_request_builder.go b/users/item_mail_folders_item_messages_item_attachments_count_request_builder.go index e2541b848a4..c0a91e04cb4 100644 --- a/users/item_mail_folders_item_messages_item_attachments_count_request_builder.go +++ b/users/item_mail_folders_item_messages_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemMailFoldersItemMessagesItemAttachmentsCountRequestBuilder) ToGetReq } 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 *ItemMailFoldersItemMessagesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemAttachmentsCountRequestBuilder) { + return NewItemMailFoldersItemMessagesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_attachments_create_upload_session_request_builder.go b/users/item_mail_folders_item_messages_item_attachments_create_upload_session_request_builder.go index 4357a94e1a0..697e0d40b3c 100644 --- a/users/item_mail_folders_item_messages_item_attachments_create_upload_session_request_builder.go +++ b/users/item_mail_folders_item_messages_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemMailFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuil urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemMailFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemMailFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemMailFoldersItemMessagesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemMailFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemMailFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBui } 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 *ItemMailFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemMailFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_attachments_request_builder.go b/users/item_mail_folders_item_messages_item_attachments_request_builder.go index b26ce11316b..c4bb02c2649 100644 --- a/users/item_mail_folders_item_messages_item_attachments_request_builder.go +++ b/users/item_mail_folders_item_messages_item_attachments_request_builder.go @@ -40,8 +40,8 @@ type ItemMailFoldersItemMessagesItemAttachmentsRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.message entity. -func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.message entity. +func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -94,10 +94,10 @@ func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) Get(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a new message that is being drafted, or created and sent on the fly. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-post-attachments?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +132,7 @@ func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) ToGetRequestI } return requestInfo, nil } -// ToPostRequestInformation use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a new message that is being drafted, or created and sent on the fly. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -149,3 +149,7 @@ func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) ToPostRequest } 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 *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) { + return NewItemMailFoldersItemMessagesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_copy_request_builder.go b/users/item_mail_folders_item_messages_item_copy_request_builder.go index 4360cf104aa..e3bc4876c15 100644 --- a/users/item_mail_folders_item_messages_item_copy_request_builder.go +++ b/users/item_mail_folders_item_messages_item_copy_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemMailFoldersItemMessagesItemCopyRequestBuilder) ToPostRequestInforma } 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 *ItemMailFoldersItemMessagesItemCopyRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemCopyRequestBuilder) { + return NewItemMailFoldersItemMessagesItemCopyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_create_forward_request_builder.go b/users/item_mail_folders_item_messages_item_create_forward_request_builder.go index 72051f3072b..7cd0839c09b 100644 --- a/users/item_mail_folders_item_messages_item_create_forward_request_builder.go +++ b/users/item_mail_folders_item_messages_item_create_forward_request_builder.go @@ -31,7 +31,7 @@ func NewItemMailFoldersItemMessagesItemCreateForwardRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemMessagesItemCreateForwardRequestBuilderInternal(urlParams, requestAdapter) } -// Post create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can: - Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. +// Post create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/message-createforward?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemMailFoldersItemMessagesItemCreateForwardRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable), nil } -// ToPostRequestInformation create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can: - Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. +// ToPostRequestInformation create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. func (m *ItemMailFoldersItemMessagesItemCreateForwardRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemMailFoldersItemMessagesItemCreateForwardPostRequestBodyable, requestConfiguration *ItemMailFoldersItemMessagesItemCreateForwardRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemMailFoldersItemMessagesItemCreateForwardRequestBuilder) ToPostReque } 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 *ItemMailFoldersItemMessagesItemCreateForwardRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemCreateForwardRequestBuilder) { + return NewItemMailFoldersItemMessagesItemCreateForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_create_reply_all_request_builder.go b/users/item_mail_folders_item_messages_item_create_reply_all_request_builder.go index b3987b99b5b..f41ae2bbe24 100644 --- a/users/item_mail_folders_item_messages_item_create_reply_all_request_builder.go +++ b/users/item_mail_folders_item_messages_item_create_reply_all_request_builder.go @@ -31,7 +31,7 @@ func NewItemMailFoldersItemMessagesItemCreateReplyAllRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemMessagesItemCreateReplyAllRequestBuilderInternal(urlParams, requestAdapter) } -// Post create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties. - You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. +// Post create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/message-createreplyall?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemMailFoldersItemMessagesItemCreateReplyAllRequestBuilder) Post(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable), nil } -// ToPostRequestInformation create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties. - You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. +// ToPostRequestInformation create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. func (m *ItemMailFoldersItemMessagesItemCreateReplyAllRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemMailFoldersItemMessagesItemCreateReplyAllPostRequestBodyable, requestConfiguration *ItemMailFoldersItemMessagesItemCreateReplyAllRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemMailFoldersItemMessagesItemCreateReplyAllRequestBuilder) ToPostRequ } 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 *ItemMailFoldersItemMessagesItemCreateReplyAllRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemCreateReplyAllRequestBuilder) { + return NewItemMailFoldersItemMessagesItemCreateReplyAllRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_create_reply_request_builder.go b/users/item_mail_folders_item_messages_item_create_reply_request_builder.go index 3b7d7ecbfc6..b913481326c 100644 --- a/users/item_mail_folders_item_messages_item_create_reply_request_builder.go +++ b/users/item_mail_folders_item_messages_item_create_reply_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemMailFoldersItemMessagesItemCreateReplyRequestBuilder) ToPostRequest } 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 *ItemMailFoldersItemMessagesItemCreateReplyRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemCreateReplyRequestBuilder) { + return NewItemMailFoldersItemMessagesItemCreateReplyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_extensions_count_request_builder.go b/users/item_mail_folders_item_messages_item_extensions_count_request_builder.go index aadb01abe5e..961eb418866 100644 --- a/users/item_mail_folders_item_messages_item_extensions_count_request_builder.go +++ b/users/item_mail_folders_item_messages_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemMailFoldersItemMessagesItemExtensionsCountRequestBuilder) ToGetRequ } 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 *ItemMailFoldersItemMessagesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemExtensionsCountRequestBuilder) { + return NewItemMailFoldersItemMessagesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_extensions_extension_item_request_builder.go b/users/item_mail_folders_item_messages_item_extensions_extension_item_request_builder.go index 1e51d3476ee..532c9da976f 100644 --- a/users/item_mail_folders_item_messages_item_extensions_extension_item_request_builder.go +++ b/users/item_mail_folders_item_messages_item_extensions_extension_item_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) T } 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 *ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) { + return NewItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_extensions_request_builder.go b/users/item_mail_folders_item_messages_item_extensions_request_builder.go index fa6619a5e9e..f5f7bdb447a 100644 --- a/users/item_mail_folders_item_messages_item_extensions_request_builder.go +++ b/users/item_mail_folders_item_messages_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemMailFoldersItemMessagesItemExtensionsRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.message entity. -func (m *ItemMailFoldersItemMessagesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.message entity. +func (m *ItemMailFoldersItemMessagesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemMailFoldersItemMessagesItemExtensionsRequestBuilder) ToPostRequestI } 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 *ItemMailFoldersItemMessagesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemExtensionsRequestBuilder) { + return NewItemMailFoldersItemMessagesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_forward_request_builder.go b/users/item_mail_folders_item_messages_item_forward_request_builder.go index 6689c2d7235..95ca89c2859 100644 --- a/users/item_mail_folders_item_messages_item_forward_request_builder.go +++ b/users/item_mail_folders_item_messages_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemMailFoldersItemMessagesItemForwardRequestBuilder) ToPostRequestInfo } 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 *ItemMailFoldersItemMessagesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemForwardRequestBuilder) { + return NewItemMailFoldersItemMessagesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_mark_as_junk_request_builder.go b/users/item_mail_folders_item_messages_item_mark_as_junk_request_builder.go index 5854b776715..2e7d1acacff 100644 --- a/users/item_mail_folders_item_messages_item_mark_as_junk_request_builder.go +++ b/users/item_mail_folders_item_messages_item_mark_as_junk_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemMailFoldersItemMessagesItemMarkAsJunkRequestBuilder) ToPostRequestI } 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 *ItemMailFoldersItemMessagesItemMarkAsJunkRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemMarkAsJunkRequestBuilder) { + return NewItemMailFoldersItemMessagesItemMarkAsJunkRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_mark_as_not_junk_request_builder.go b/users/item_mail_folders_item_messages_item_mark_as_not_junk_request_builder.go index b2e70706c10..22c61216a13 100644 --- a/users/item_mail_folders_item_messages_item_mark_as_not_junk_request_builder.go +++ b/users/item_mail_folders_item_messages_item_mark_as_not_junk_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemMailFoldersItemMessagesItemMarkAsNotJunkRequestBuilder) ToPostReque } 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 *ItemMailFoldersItemMessagesItemMarkAsNotJunkRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemMarkAsNotJunkRequestBuilder) { + return NewItemMailFoldersItemMessagesItemMarkAsNotJunkRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_mentions_count_request_builder.go b/users/item_mail_folders_item_messages_item_mentions_count_request_builder.go index 7677954a65e..10e57136770 100644 --- a/users/item_mail_folders_item_messages_item_mentions_count_request_builder.go +++ b/users/item_mail_folders_item_messages_item_mentions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemMailFoldersItemMessagesItemMentionsCountRequestBuilder) ToGetReques } 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 *ItemMailFoldersItemMessagesItemMentionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemMentionsCountRequestBuilder) { + return NewItemMailFoldersItemMessagesItemMentionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_mentions_mention_item_request_builder.go b/users/item_mail_folders_item_messages_item_mentions_mention_item_request_builder.go index 015b4377fbe..6da014595a1 100644 --- a/users/item_mail_folders_item_messages_item_mentions_mention_item_request_builder.go +++ b/users/item_mail_folders_item_messages_item_mentions_mention_item_request_builder.go @@ -113,3 +113,7 @@ func (m *ItemMailFoldersItemMessagesItemMentionsMentionItemRequestBuilder) ToGet } 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 *ItemMailFoldersItemMessagesItemMentionsMentionItemRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemMentionsMentionItemRequestBuilder) { + return NewItemMailFoldersItemMessagesItemMentionsMentionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_mentions_request_builder.go b/users/item_mail_folders_item_messages_item_mentions_request_builder.go index 3ff9ff11310..ef7acb02e94 100644 --- a/users/item_mail_folders_item_messages_item_mentions_request_builder.go +++ b/users/item_mail_folders_item_messages_item_mentions_request_builder.go @@ -44,8 +44,8 @@ type ItemMailFoldersItemMessagesItemMentionsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMentionIdString provides operations to manage the mentions property of the microsoft.graph.message entity. -func (m *ItemMailFoldersItemMessagesItemMentionsRequestBuilder) ByMentionIdString(mentionId string)(*ItemMailFoldersItemMessagesItemMentionsMentionItemRequestBuilder) { +// ByMentionId provides operations to manage the mentions property of the microsoft.graph.message entity. +func (m *ItemMailFoldersItemMessagesItemMentionsRequestBuilder) ByMentionId(mentionId string)(*ItemMailFoldersItemMessagesItemMentionsMentionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -143,3 +143,7 @@ func (m *ItemMailFoldersItemMessagesItemMentionsRequestBuilder) ToPostRequestInf } 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 *ItemMailFoldersItemMessagesItemMentionsRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemMentionsRequestBuilder) { + return NewItemMailFoldersItemMessagesItemMentionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_move_request_builder.go b/users/item_mail_folders_item_messages_item_move_request_builder.go index 3249d57484b..487308d0777 100644 --- a/users/item_mail_folders_item_messages_item_move_request_builder.go +++ b/users/item_mail_folders_item_messages_item_move_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemMailFoldersItemMessagesItemMoveRequestBuilder) ToPostRequestInforma } 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 *ItemMailFoldersItemMessagesItemMoveRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemMoveRequestBuilder) { + return NewItemMailFoldersItemMessagesItemMoveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_reply_all_request_builder.go b/users/item_mail_folders_item_messages_item_reply_all_request_builder.go index 66c9e23f067..669c65044ba 100644 --- a/users/item_mail_folders_item_messages_item_reply_all_request_builder.go +++ b/users/item_mail_folders_item_messages_item_reply_all_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemMailFoldersItemMessagesItemReplyAllRequestBuilder) ToPostRequestInf } 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 *ItemMailFoldersItemMessagesItemReplyAllRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemReplyAllRequestBuilder) { + return NewItemMailFoldersItemMessagesItemReplyAllRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_reply_request_builder.go b/users/item_mail_folders_item_messages_item_reply_request_builder.go index 00d52d05594..a8db0d24d09 100644 --- a/users/item_mail_folders_item_messages_item_reply_request_builder.go +++ b/users/item_mail_folders_item_messages_item_reply_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemMailFoldersItemMessagesItemReplyRequestBuilder) ToPostRequestInform } 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 *ItemMailFoldersItemMessagesItemReplyRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemReplyRequestBuilder) { + return NewItemMailFoldersItemMessagesItemReplyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_send_request_builder.go b/users/item_mail_folders_item_messages_item_send_request_builder.go index 1b12d196397..0c20486fd0e 100644 --- a/users/item_mail_folders_item_messages_item_send_request_builder.go +++ b/users/item_mail_folders_item_messages_item_send_request_builder.go @@ -30,7 +30,7 @@ func NewItemMailFoldersItemMessagesItemSendRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemMessagesItemSendRequestBuilderInternal(urlParams, requestAdapter) } -// Post send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. +// Post send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/message-send?view=graph-rest-1.0 @@ -49,7 +49,7 @@ func (m *ItemMailFoldersItemMessagesItemSendRequestBuilder) Post(ctx context.Con } return nil } -// ToPostRequestInformation send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. +// ToPostRequestInformation send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. func (m *ItemMailFoldersItemMessagesItemSendRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesItemSendRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -61,3 +61,7 @@ func (m *ItemMailFoldersItemMessagesItemSendRequestBuilder) ToPostRequestInforma } 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 *ItemMailFoldersItemMessagesItemSendRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemSendRequestBuilder) { + return NewItemMailFoldersItemMessagesItemSendRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_unsubscribe_request_builder.go b/users/item_mail_folders_item_messages_item_unsubscribe_request_builder.go index d97ac54345a..d245bbb1a09 100644 --- a/users/item_mail_folders_item_messages_item_unsubscribe_request_builder.go +++ b/users/item_mail_folders_item_messages_item_unsubscribe_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemMailFoldersItemMessagesItemUnsubscribeRequestBuilder) ToPostRequest } 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 *ItemMailFoldersItemMessagesItemUnsubscribeRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemUnsubscribeRequestBuilder) { + return NewItemMailFoldersItemMessagesItemUnsubscribeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_item_value_content_request_builder.go b/users/item_mail_folders_item_messages_item_value_content_request_builder.go index e9a8fe5bdeb..6bbd1c0fe2f 100644 --- a/users/item_mail_folders_item_messages_item_value_content_request_builder.go +++ b/users/item_mail_folders_item_messages_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemMailFoldersItemMessagesItemValueContentRequestBuilder) ToPutRequest } 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 *ItemMailFoldersItemMessagesItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesItemValueContentRequestBuilder) { + return NewItemMailFoldersItemMessagesItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_message_item_request_builder.go b/users/item_mail_folders_item_messages_message_item_request_builder.go index 0338c3a2894..eb70ce49067 100644 --- a/users/item_mail_folders_item_messages_message_item_request_builder.go +++ b/users/item_mail_folders_item_messages_message_item_request_builder.go @@ -217,3 +217,7 @@ func (m *ItemMailFoldersItemMessagesMessageItemRequestBuilder) ToPatchRequestInf func (m *ItemMailFoldersItemMessagesMessageItemRequestBuilder) Unsubscribe()(*ItemMailFoldersItemMessagesItemUnsubscribeRequestBuilder) { return NewItemMailFoldersItemMessagesItemUnsubscribeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemMailFoldersItemMessagesMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesMessageItemRequestBuilder) { + return NewItemMailFoldersItemMessagesMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_messages_request_builder.go b/users/item_mail_folders_item_messages_request_builder.go index d6d58986699..8d99d26450b 100644 --- a/users/item_mail_folders_item_messages_request_builder.go +++ b/users/item_mail_folders_item_messages_request_builder.go @@ -46,8 +46,8 @@ type ItemMailFoldersItemMessagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMessageIdString provides operations to manage the messages property of the microsoft.graph.mailFolder entity. -func (m *ItemMailFoldersItemMessagesRequestBuilder) ByMessageIdString(messageId string)(*ItemMailFoldersItemMessagesMessageItemRequestBuilder) { +// ByMessageId provides operations to manage the messages property of the microsoft.graph.mailFolder entity. +func (m *ItemMailFoldersItemMessagesRequestBuilder) ByMessageId(messageId string)(*ItemMailFoldersItemMessagesMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemMailFoldersItemMessagesRequestBuilder) 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 *ItemMailFoldersItemMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMessagesRequestBuilder) { + return NewItemMailFoldersItemMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_move_request_builder.go b/users/item_mail_folders_item_move_request_builder.go index a9dcc0db19a..e1d7c719b79 100644 --- a/users/item_mail_folders_item_move_request_builder.go +++ b/users/item_mail_folders_item_move_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemMailFoldersItemMoveRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemMailFoldersItemMoveRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemMoveRequestBuilder) { + return NewItemMailFoldersItemMoveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_user_configurations_count_request_builder.go b/users/item_mail_folders_item_user_configurations_count_request_builder.go index 6e4411193d8..7e4563f6f1a 100644 --- a/users/item_mail_folders_item_user_configurations_count_request_builder.go +++ b/users/item_mail_folders_item_user_configurations_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemMailFoldersItemUserConfigurationsCountRequestBuilder) ToGetRequestI } 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 *ItemMailFoldersItemUserConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemUserConfigurationsCountRequestBuilder) { + return NewItemMailFoldersItemUserConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_user_configurations_request_builder.go b/users/item_mail_folders_item_user_configurations_request_builder.go index 0989bd1ae94..e7edb337dd0 100644 --- a/users/item_mail_folders_item_user_configurations_request_builder.go +++ b/users/item_mail_folders_item_user_configurations_request_builder.go @@ -35,8 +35,8 @@ type ItemMailFoldersItemUserConfigurationsRequestBuilderGetRequestConfiguration // Request query parameters QueryParameters *ItemMailFoldersItemUserConfigurationsRequestBuilderGetQueryParameters } -// ByUserConfigurationIdString provides operations to manage the userConfigurations property of the microsoft.graph.mailFolder entity. -func (m *ItemMailFoldersItemUserConfigurationsRequestBuilder) ByUserConfigurationIdString(userConfigurationId string)(*ItemMailFoldersItemUserConfigurationsUserConfigurationItemRequestBuilder) { +// ByUserConfigurationId provides operations to manage the userConfigurations property of the microsoft.graph.mailFolder entity. +func (m *ItemMailFoldersItemUserConfigurationsRequestBuilder) ByUserConfigurationId(userConfigurationId string)(*ItemMailFoldersItemUserConfigurationsUserConfigurationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,3 +98,7 @@ func (m *ItemMailFoldersItemUserConfigurationsRequestBuilder) ToGetRequestInform } 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 *ItemMailFoldersItemUserConfigurationsRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemUserConfigurationsRequestBuilder) { + return NewItemMailFoldersItemUserConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_user_configurations_user_configuration_item_request_builder.go b/users/item_mail_folders_item_user_configurations_user_configuration_item_request_builder.go index 73179b8143e..48903683674 100644 --- a/users/item_mail_folders_item_user_configurations_user_configuration_item_request_builder.go +++ b/users/item_mail_folders_item_user_configurations_user_configuration_item_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemMailFoldersItemUserConfigurationsUserConfigurationItemRequestBuilde } 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 *ItemMailFoldersItemUserConfigurationsUserConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemUserConfigurationsUserConfigurationItemRequestBuilder) { + return NewItemMailFoldersItemUserConfigurationsUserConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_mail_folder_item_request_builder.go b/users/item_mail_folders_mail_folder_item_request_builder.go index 066f161625c..d85a488f8b3 100644 --- a/users/item_mail_folders_mail_folder_item_request_builder.go +++ b/users/item_mail_folders_mail_folder_item_request_builder.go @@ -23,7 +23,7 @@ type ItemMailFoldersMailFolderItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` // Include Hidden Folders - IncludeHiddenFolders *string + IncludeHiddenFolders *string `uriparametername:"includeHiddenFolders"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -188,3 +188,7 @@ func (m *ItemMailFoldersMailFolderItemRequestBuilder) ToPatchRequestInformation( func (m *ItemMailFoldersMailFolderItemRequestBuilder) UserConfigurations()(*ItemMailFoldersItemUserConfigurationsRequestBuilder) { return NewItemMailFoldersItemUserConfigurationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemMailFoldersMailFolderItemRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersMailFolderItemRequestBuilder) { + return NewItemMailFoldersMailFolderItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_request_builder.go b/users/item_mail_folders_request_builder.go index 5b924bfdeed..0b4fcccf9f3 100644 --- a/users/item_mail_folders_request_builder.go +++ b/users/item_mail_folders_request_builder.go @@ -20,7 +20,7 @@ type ItemMailFoldersRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` // Include Hidden Folders - IncludeHiddenFolders *string + IncludeHiddenFolders *string `uriparametername:"includeHiddenFolders"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Select properties to be returned @@ -46,8 +46,8 @@ type ItemMailFoldersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMailFolderIdString provides operations to manage the mailFolders property of the microsoft.graph.user entity. -func (m *ItemMailFoldersRequestBuilder) ByMailFolderIdString(mailFolderId string)(*ItemMailFoldersMailFolderItemRequestBuilder) { +// ByMailFolderId provides operations to manage the mailFolders property of the microsoft.graph.user entity. +func (m *ItemMailFoldersRequestBuilder) ByMailFolderId(mailFolderId string)(*ItemMailFoldersMailFolderItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemMailFoldersRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *ItemMailFoldersRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersRequestBuilder) { + return NewItemMailFoldersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mailbox_settings_request_builder.go b/users/item_mailbox_settings_request_builder.go index 4e01d5d7802..7aeb7ffac30 100644 --- a/users/item_mailbox_settings_request_builder.go +++ b/users/item_mailbox_settings_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemMailboxSettingsRequestBuilder) ToPatchRequestInformation(ctx contex } 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 *ItemMailboxSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemMailboxSettingsRequestBuilder) { + return NewItemMailboxSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_app_registrations_count_request_builder.go b/users/item_managed_app_registrations_count_request_builder.go index e1f6a7e3d97..c0cb1234a25 100644 --- a/users/item_managed_app_registrations_count_request_builder.go +++ b/users/item_managed_app_registrations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemManagedAppRegistrationsCountRequestBuilder) 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 *ItemManagedAppRegistrationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemManagedAppRegistrationsCountRequestBuilder) { + return NewItemManagedAppRegistrationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_app_registrations_managed_app_registration_item_request_builder.go b/users/item_managed_app_registrations_managed_app_registration_item_request_builder.go index 11c7f76f5c2..ac971fa256c 100644 --- a/users/item_managed_app_registrations_managed_app_registration_item_request_builder.go +++ b/users/item_managed_app_registrations_managed_app_registration_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) To } 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 *ItemManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) WithUrl(rawUrl string)(*ItemManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) { + return NewItemManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_app_registrations_request_builder.go b/users/item_managed_app_registrations_request_builder.go index 5c96a04395d..9dc0b8ced59 100644 --- a/users/item_managed_app_registrations_request_builder.go +++ b/users/item_managed_app_registrations_request_builder.go @@ -39,8 +39,8 @@ type ItemManagedAppRegistrationsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemManagedAppRegistrationsRequestBuilderGetQueryParameters } -// ByManagedAppRegistrationIdString provides operations to manage the managedAppRegistrations property of the microsoft.graph.user entity. -func (m *ItemManagedAppRegistrationsRequestBuilder) ByManagedAppRegistrationIdString(managedAppRegistrationId string)(*ItemManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) { +// ByManagedAppRegistrationId provides operations to manage the managedAppRegistrations property of the microsoft.graph.user entity. +func (m *ItemManagedAppRegistrationsRequestBuilder) ByManagedAppRegistrationId(managedAppRegistrationId string)(*ItemManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemManagedAppRegistrationsRequestBuilder) ToGetRequestInformation(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 *ItemManagedAppRegistrationsRequestBuilder) WithUrl(rawUrl string)(*ItemManagedAppRegistrationsRequestBuilder) { + return NewItemManagedAppRegistrationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_app_diagnostics_with_upn_request_builder.go b/users/item_managed_devices_app_diagnostics_with_upn_request_builder.go index 7d2d87aec56..69790ea3b62 100644 --- a/users/item_managed_devices_app_diagnostics_with_upn_request_builder.go +++ b/users/item_managed_devices_app_diagnostics_with_upn_request_builder.go @@ -83,3 +83,7 @@ func (m *ItemManagedDevicesAppDiagnosticsWithUpnRequestBuilder) ToGetRequestInfo } 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 *ItemManagedDevicesAppDiagnosticsWithUpnRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesAppDiagnosticsWithUpnRequestBuilder) { + return NewItemManagedDevicesAppDiagnosticsWithUpnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_bulk_reprovision_cloud_pc_request_builder.go b/users/item_managed_devices_bulk_reprovision_cloud_pc_request_builder.go index e52840aba3e..59003fc2598 100644 --- a/users/item_managed_devices_bulk_reprovision_cloud_pc_request_builder.go +++ b/users/item_managed_devices_bulk_reprovision_cloud_pc_request_builder.go @@ -72,3 +72,8 @@ func (m *ItemManagedDevicesBulkReprovisionCloudPcRequestBuilder) ToPostRequestIn } 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. +// Deprecated: The bulkReprovisionCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkReprovisionCloudPc on 2023-05-24 and will be removed 2023-09-24 +func (m *ItemManagedDevicesBulkReprovisionCloudPcRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesBulkReprovisionCloudPcRequestBuilder) { + return NewItemManagedDevicesBulkReprovisionCloudPcRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_bulk_restore_cloud_pc_request_builder.go b/users/item_managed_devices_bulk_restore_cloud_pc_request_builder.go index 563da4a130d..238cb0b2022 100644 --- a/users/item_managed_devices_bulk_restore_cloud_pc_request_builder.go +++ b/users/item_managed_devices_bulk_restore_cloud_pc_request_builder.go @@ -72,3 +72,8 @@ func (m *ItemManagedDevicesBulkRestoreCloudPcRequestBuilder) ToPostRequestInform } 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. +// Deprecated: The bulkRestoreCloudPc action is deprecated and will stop supporting on September 24, 2023. Please use bulk action entity api. as of 2023-05/bulkRestoreCloudPc on 2023-05-24 and will be removed 2023-09-24 +func (m *ItemManagedDevicesBulkRestoreCloudPcRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesBulkRestoreCloudPcRequestBuilder) { + return NewItemManagedDevicesBulkRestoreCloudPcRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_bulk_set_cloud_pc_review_status_request_builder.go b/users/item_managed_devices_bulk_set_cloud_pc_review_status_request_builder.go index bdc2bf63670..0445bded5b6 100644 --- a/users/item_managed_devices_bulk_set_cloud_pc_review_status_request_builder.go +++ b/users/item_managed_devices_bulk_set_cloud_pc_review_status_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemManagedDevicesBulkSetCloudPcReviewStatusRequestBuilder) ToPostReque } 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 *ItemManagedDevicesBulkSetCloudPcReviewStatusRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesBulkSetCloudPcReviewStatusRequestBuilder) { + return NewItemManagedDevicesBulkSetCloudPcReviewStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_count_request_builder.go b/users/item_managed_devices_count_request_builder.go index 9d4fd177529..b40cbff2e94 100644 --- a/users/item_managed_devices_count_request_builder.go +++ b/users/item_managed_devices_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemManagedDevicesCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemManagedDevicesCountRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesCountRequestBuilder) { + return NewItemManagedDevicesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_download_app_diagnostics_request_builder.go b/users/item_managed_devices_download_app_diagnostics_request_builder.go index 1215c28e8f1..c8c04f981aa 100644 --- a/users/item_managed_devices_download_app_diagnostics_request_builder.go +++ b/users/item_managed_devices_download_app_diagnostics_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemManagedDevicesDownloadAppDiagnosticsRequestBuilder) ToPostRequestIn } 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 *ItemManagedDevicesDownloadAppDiagnosticsRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesDownloadAppDiagnosticsRequestBuilder) { + return NewItemManagedDevicesDownloadAppDiagnosticsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_execute_action_request_builder.go b/users/item_managed_devices_execute_action_request_builder.go index 9a330d96a68..aa20e678eea 100644 --- a/users/item_managed_devices_execute_action_request_builder.go +++ b/users/item_managed_devices_execute_action_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemManagedDevicesExecuteActionRequestBuilder) 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 *ItemManagedDevicesExecuteActionRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesExecuteActionRequestBuilder) { + return NewItemManagedDevicesExecuteActionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_activate_device_esim_request_builder.go b/users/item_managed_devices_item_activate_device_esim_request_builder.go index 2d60b22170e..404981081ea 100644 --- a/users/item_managed_devices_item_activate_device_esim_request_builder.go +++ b/users/item_managed_devices_item_activate_device_esim_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemManagedDevicesItemActivateDeviceEsimRequestBuilder) ToPostRequestIn } 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 *ItemManagedDevicesItemActivateDeviceEsimRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemActivateDeviceEsimRequestBuilder) { + return NewItemManagedDevicesItemActivateDeviceEsimRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go b/users/item_managed_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go index 82417138747..fecff4fe549 100644 --- a/users/item_managed_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go +++ b/users/item_managed_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignment } 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 *ItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFilterEvaluationStatusDetailsItemRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFilterEvaluationStatusDetailsItemRequestBuilder) { + return NewItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFilterEvaluationStatusDetailsItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_assignment_filter_evaluation_status_details_count_request_builder.go b/users/item_managed_devices_item_assignment_filter_evaluation_status_details_count_request_builder.go index dcebbca629d..f65bad5ae95 100644 --- a/users/item_managed_devices_item_assignment_filter_evaluation_status_details_count_request_builder.go +++ b/users/item_managed_devices_item_assignment_filter_evaluation_status_details_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsCountReque } 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 *ItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsCountRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsCountRequestBuilder) { + return NewItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_assignment_filter_evaluation_status_details_request_builder.go b/users/item_managed_devices_item_assignment_filter_evaluation_status_details_request_builder.go index 0881b184704..bef3350ef15 100644 --- a/users/item_managed_devices_item_assignment_filter_evaluation_status_details_request_builder.go +++ b/users/item_managed_devices_item_assignment_filter_evaluation_status_details_request_builder.go @@ -46,8 +46,8 @@ type ItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAssignmentFilterEvaluationStatusDetailsIdString provides operations to manage the assignmentFilterEvaluationStatusDetails property of the microsoft.graph.managedDevice entity. -func (m *ItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuilder) ByAssignmentFilterEvaluationStatusDetailsIdString(assignmentFilterEvaluationStatusDetailsId string)(*ItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFilterEvaluationStatusDetailsItemRequestBuilder) { +// ByAssignmentFilterEvaluationStatusDetailsId provides operations to manage the assignmentFilterEvaluationStatusDetails property of the microsoft.graph.managedDevice entity. +func (m *ItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuilder) ByAssignmentFilterEvaluationStatusDetailsId(assignmentFilterEvaluationStatusDetailsId string)(*ItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFilterEvaluationStatusDetailsItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBui } 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 *ItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuilder) { + return NewItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_bypass_activation_lock_request_builder.go b/users/item_managed_devices_item_bypass_activation_lock_request_builder.go index 3d020e6e018..ad0f46fb1b5 100644 --- a/users/item_managed_devices_item_bypass_activation_lock_request_builder.go +++ b/users/item_managed_devices_item_bypass_activation_lock_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemManagedDevicesItemBypassActivationLockRequestBuilder) ToPostRequest } 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 *ItemManagedDevicesItemBypassActivationLockRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemBypassActivationLockRequestBuilder) { + return NewItemManagedDevicesItemBypassActivationLockRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_clean_windows_device_request_builder.go b/users/item_managed_devices_item_clean_windows_device_request_builder.go index 8a3c2ecfbb5..5a75d612b00 100644 --- a/users/item_managed_devices_item_clean_windows_device_request_builder.go +++ b/users/item_managed_devices_item_clean_windows_device_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemManagedDevicesItemCleanWindowsDeviceRequestBuilder) ToPostRequestIn } 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 *ItemManagedDevicesItemCleanWindowsDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemCleanWindowsDeviceRequestBuilder) { + return NewItemManagedDevicesItemCleanWindowsDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_create_device_log_collection_request_request_builder.go b/users/item_managed_devices_item_create_device_log_collection_request_request_builder.go index 09308fd3f6f..6775eb6e4f0 100644 --- a/users/item_managed_devices_item_create_device_log_collection_request_request_builder.go +++ b/users/item_managed_devices_item_create_device_log_collection_request_request_builder.go @@ -67,3 +67,7 @@ func (m *ItemManagedDevicesItemCreateDeviceLogCollectionRequestRequestBuilder) T } 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 *ItemManagedDevicesItemCreateDeviceLogCollectionRequestRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemCreateDeviceLogCollectionRequestRequestBuilder) { + return NewItemManagedDevicesItemCreateDeviceLogCollectionRequestRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_delete_user_from_shared_apple_device_request_builder.go b/users/item_managed_devices_item_delete_user_from_shared_apple_device_request_builder.go index 66391d855c4..f0b4412bc0f 100644 --- a/users/item_managed_devices_item_delete_user_from_shared_apple_device_request_builder.go +++ b/users/item_managed_devices_item_delete_user_from_shared_apple_device_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemManagedDevicesItemDeleteUserFromSharedAppleDeviceRequestBuilder) To } 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 *ItemManagedDevicesItemDeleteUserFromSharedAppleDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemDeleteUserFromSharedAppleDeviceRequestBuilder) { + return NewItemManagedDevicesItemDeleteUserFromSharedAppleDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_deprovision_request_builder.go b/users/item_managed_devices_item_deprovision_request_builder.go index 7a80092f710..60e7e12c271 100644 --- a/users/item_managed_devices_item_deprovision_request_builder.go +++ b/users/item_managed_devices_item_deprovision_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemManagedDevicesItemDeprovisionRequestBuilder) ToPostRequestInformati } 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 *ItemManagedDevicesItemDeprovisionRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemDeprovisionRequestBuilder) { + return NewItemManagedDevicesItemDeprovisionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_detected_apps_count_request_builder.go b/users/item_managed_devices_item_detected_apps_count_request_builder.go index 97d272cf5fb..c74abaebf04 100644 --- a/users/item_managed_devices_item_detected_apps_count_request_builder.go +++ b/users/item_managed_devices_item_detected_apps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemManagedDevicesItemDetectedAppsCountRequestBuilder) ToGetRequestInfo } 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 *ItemManagedDevicesItemDetectedAppsCountRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemDetectedAppsCountRequestBuilder) { + return NewItemManagedDevicesItemDetectedAppsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_detected_apps_detected_app_item_request_builder.go b/users/item_managed_devices_item_detected_apps_detected_app_item_request_builder.go index cf1107c4d79..67d0ad2e819 100644 --- a/users/item_managed_devices_item_detected_apps_detected_app_item_request_builder.go +++ b/users/item_managed_devices_item_detected_apps_detected_app_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemManagedDevicesItemDetectedAppsDetectedAppItemRequestBuilder) ToGetR } 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 *ItemManagedDevicesItemDetectedAppsDetectedAppItemRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemDetectedAppsDetectedAppItemRequestBuilder) { + return NewItemManagedDevicesItemDetectedAppsDetectedAppItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_detected_apps_request_builder.go b/users/item_managed_devices_item_detected_apps_request_builder.go index 204f915031f..b895fb3523e 100644 --- a/users/item_managed_devices_item_detected_apps_request_builder.go +++ b/users/item_managed_devices_item_detected_apps_request_builder.go @@ -39,8 +39,8 @@ type ItemManagedDevicesItemDetectedAppsRequestBuilderGetRequestConfiguration str // Request query parameters QueryParameters *ItemManagedDevicesItemDetectedAppsRequestBuilderGetQueryParameters } -// ByDetectedAppIdString provides operations to manage the detectedApps property of the microsoft.graph.managedDevice entity. -func (m *ItemManagedDevicesItemDetectedAppsRequestBuilder) ByDetectedAppIdString(detectedAppId string)(*ItemManagedDevicesItemDetectedAppsDetectedAppItemRequestBuilder) { +// ByDetectedAppId provides operations to manage the detectedApps property of the microsoft.graph.managedDevice entity. +func (m *ItemManagedDevicesItemDetectedAppsRequestBuilder) ByDetectedAppId(detectedAppId string)(*ItemManagedDevicesItemDetectedAppsDetectedAppItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemManagedDevicesItemDetectedAppsRequestBuilder) ToGetRequestInformati } 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 *ItemManagedDevicesItemDetectedAppsRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemDetectedAppsRequestBuilder) { + return NewItemManagedDevicesItemDetectedAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_device_category_request_builder.go b/users/item_managed_devices_item_device_category_request_builder.go index 1f11c201f82..b1bfacb25a2 100644 --- a/users/item_managed_devices_item_device_category_request_builder.go +++ b/users/item_managed_devices_item_device_category_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemManagedDevicesItemDeviceCategoryRequestBuilder) ToPatchRequestInfor } 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 *ItemManagedDevicesItemDeviceCategoryRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemDeviceCategoryRequestBuilder) { + return NewItemManagedDevicesItemDeviceCategoryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_device_compliance_policy_states_count_request_builder.go b/users/item_managed_devices_item_device_compliance_policy_states_count_request_builder.go index 6f3f95f9fb7..189096ba086 100644 --- a/users/item_managed_devices_item_device_compliance_policy_states_count_request_builder.go +++ b/users/item_managed_devices_item_device_compliance_policy_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemManagedDevicesItemDeviceCompliancePolicyStatesCountRequestBuilder) } 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 *ItemManagedDevicesItemDeviceCompliancePolicyStatesCountRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemDeviceCompliancePolicyStatesCountRequestBuilder) { + return NewItemManagedDevicesItemDeviceCompliancePolicyStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go b/users/item_managed_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go index 98e81bac7a1..ecc478c2aa2 100644 --- a/users/item_managed_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go +++ b/users/item_managed_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemManagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolic } 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 *ItemManagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicyStateItemRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicyStateItemRequestBuilder) { + return NewItemManagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicyStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_device_compliance_policy_states_request_builder.go b/users/item_managed_devices_item_device_compliance_policy_states_request_builder.go index 74c52890d3c..813697d00c5 100644 --- a/users/item_managed_devices_item_device_compliance_policy_states_request_builder.go +++ b/users/item_managed_devices_item_device_compliance_policy_states_request_builder.go @@ -46,8 +46,8 @@ type ItemManagedDevicesItemDeviceCompliancePolicyStatesRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceCompliancePolicyStateIdString provides operations to manage the deviceCompliancePolicyStates property of the microsoft.graph.managedDevice entity. -func (m *ItemManagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder) ByDeviceCompliancePolicyStateIdString(deviceCompliancePolicyStateId string)(*ItemManagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicyStateItemRequestBuilder) { +// ByDeviceCompliancePolicyStateId provides operations to manage the deviceCompliancePolicyStates property of the microsoft.graph.managedDevice entity. +func (m *ItemManagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder) ByDeviceCompliancePolicyStateId(deviceCompliancePolicyStateId string)(*ItemManagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicyStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemManagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder) ToPos } 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 *ItemManagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder) { + return NewItemManagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_device_configuration_states_count_request_builder.go b/users/item_managed_devices_item_device_configuration_states_count_request_builder.go index 25030c62609..fdeab2bf1d5 100644 --- a/users/item_managed_devices_item_device_configuration_states_count_request_builder.go +++ b/users/item_managed_devices_item_device_configuration_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemManagedDevicesItemDeviceConfigurationStatesCountRequestBuilder) ToG } 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 *ItemManagedDevicesItemDeviceConfigurationStatesCountRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemDeviceConfigurationStatesCountRequestBuilder) { + return NewItemManagedDevicesItemDeviceConfigurationStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go b/users/item_managed_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go index d5d48cb3015..2c2d37df2df 100644 --- a/users/item_managed_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go +++ b/users/item_managed_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemManagedDevicesItemDeviceConfigurationStatesDeviceConfigurationState } 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 *ItemManagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateItemRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateItemRequestBuilder) { + return NewItemManagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_device_configuration_states_request_builder.go b/users/item_managed_devices_item_device_configuration_states_request_builder.go index 456612f9c0d..fd314a6591b 100644 --- a/users/item_managed_devices_item_device_configuration_states_request_builder.go +++ b/users/item_managed_devices_item_device_configuration_states_request_builder.go @@ -46,8 +46,8 @@ type ItemManagedDevicesItemDeviceConfigurationStatesRequestBuilderPostRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceConfigurationStateIdString provides operations to manage the deviceConfigurationStates property of the microsoft.graph.managedDevice entity. -func (m *ItemManagedDevicesItemDeviceConfigurationStatesRequestBuilder) ByDeviceConfigurationStateIdString(deviceConfigurationStateId string)(*ItemManagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateItemRequestBuilder) { +// ByDeviceConfigurationStateId provides operations to manage the deviceConfigurationStates property of the microsoft.graph.managedDevice entity. +func (m *ItemManagedDevicesItemDeviceConfigurationStatesRequestBuilder) ByDeviceConfigurationStateId(deviceConfigurationStateId string)(*ItemManagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemManagedDevicesItemDeviceConfigurationStatesRequestBuilder) ToPostRe } 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 *ItemManagedDevicesItemDeviceConfigurationStatesRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemDeviceConfigurationStatesRequestBuilder) { + return NewItemManagedDevicesItemDeviceConfigurationStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_device_health_script_states_count_request_builder.go b/users/item_managed_devices_item_device_health_script_states_count_request_builder.go index f718d21946a..8c99c25e5c3 100644 --- a/users/item_managed_devices_item_device_health_script_states_count_request_builder.go +++ b/users/item_managed_devices_item_device_health_script_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemManagedDevicesItemDeviceHealthScriptStatesCountRequestBuilder) ToGe } 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 *ItemManagedDevicesItemDeviceHealthScriptStatesCountRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemDeviceHealthScriptStatesCountRequestBuilder) { + return NewItemManagedDevicesItemDeviceHealthScriptStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_device_health_script_states_request_builder.go b/users/item_managed_devices_item_device_health_script_states_request_builder.go index 237824a29b9..627aa37a5ff 100644 --- a/users/item_managed_devices_item_device_health_script_states_request_builder.go +++ b/users/item_managed_devices_item_device_health_script_states_request_builder.go @@ -138,3 +138,7 @@ func (m *ItemManagedDevicesItemDeviceHealthScriptStatesRequestBuilder) ToPostReq func (m *ItemManagedDevicesItemDeviceHealthScriptStatesRequestBuilder) WithIdWithPolicyIdWithDeviceId(deviceId *string, id *string, policyId *string)(*ItemManagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDeviceIdRequestBuilder) { return NewItemManagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDeviceIdRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, deviceId, id, policyId) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemManagedDevicesItemDeviceHealthScriptStatesRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemDeviceHealthScriptStatesRequestBuilder) { + return NewItemManagedDevicesItemDeviceHealthScriptStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go b/users/item_managed_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go index a0381e1aa71..89959e9a54b 100644 --- a/users/item_managed_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go +++ b/users/item_managed_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemManagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDev } 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 *ItemManagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDeviceIdRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDeviceIdRequestBuilder) { + return NewItemManagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDeviceIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_disable_lost_mode_request_builder.go b/users/item_managed_devices_item_disable_lost_mode_request_builder.go index 1ef57860e76..808fa1946e2 100644 --- a/users/item_managed_devices_item_disable_lost_mode_request_builder.go +++ b/users/item_managed_devices_item_disable_lost_mode_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemManagedDevicesItemDisableLostModeRequestBuilder) ToPostRequestInfor } 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 *ItemManagedDevicesItemDisableLostModeRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemDisableLostModeRequestBuilder) { + return NewItemManagedDevicesItemDisableLostModeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_disable_request_builder.go b/users/item_managed_devices_item_disable_request_builder.go index 1bfe325fa1f..a09a85c7b46 100644 --- a/users/item_managed_devices_item_disable_request_builder.go +++ b/users/item_managed_devices_item_disable_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemManagedDevicesItemDisableRequestBuilder) ToPostRequestInformation(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 *ItemManagedDevicesItemDisableRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemDisableRequestBuilder) { + return NewItemManagedDevicesItemDisableRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_enable_lost_mode_request_builder.go b/users/item_managed_devices_item_enable_lost_mode_request_builder.go index 6e07906fcbc..a3e3ab7e0b0 100644 --- a/users/item_managed_devices_item_enable_lost_mode_request_builder.go +++ b/users/item_managed_devices_item_enable_lost_mode_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemManagedDevicesItemEnableLostModeRequestBuilder) ToPostRequestInform } 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 *ItemManagedDevicesItemEnableLostModeRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemEnableLostModeRequestBuilder) { + return NewItemManagedDevicesItemEnableLostModeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_enroll_now_action_request_builder.go b/users/item_managed_devices_item_enroll_now_action_request_builder.go index dc15723b6fd..f191ab6728f 100644 --- a/users/item_managed_devices_item_enroll_now_action_request_builder.go +++ b/users/item_managed_devices_item_enroll_now_action_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemManagedDevicesItemEnrollNowActionRequestBuilder) ToPostRequestInfor } 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 *ItemManagedDevicesItemEnrollNowActionRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemEnrollNowActionRequestBuilder) { + return NewItemManagedDevicesItemEnrollNowActionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go b/users/item_managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go index 70c293392de..63f471fe726 100644 --- a/users/item_managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go +++ b/users/item_managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go @@ -80,3 +80,7 @@ func (m *ItemManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) ToGe } 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 *ItemManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) { + return NewItemManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_get_cloud_pc_review_status_request_builder.go b/users/item_managed_devices_item_get_cloud_pc_review_status_request_builder.go index 8a020d7cbb7..04f71b15d17 100644 --- a/users/item_managed_devices_item_get_cloud_pc_review_status_request_builder.go +++ b/users/item_managed_devices_item_get_cloud_pc_review_status_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) ToGetReques } 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 *ItemManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) { + return NewItemManagedDevicesItemGetCloudPcReviewStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_get_file_vault_key_request_builder.go b/users/item_managed_devices_item_get_file_vault_key_request_builder.go index 4840faa696f..3664f66d939 100644 --- a/users/item_managed_devices_item_get_file_vault_key_request_builder.go +++ b/users/item_managed_devices_item_get_file_vault_key_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemManagedDevicesItemGetFileVaultKeyRequestBuilder) ToGetRequestInform } 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 *ItemManagedDevicesItemGetFileVaultKeyRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemGetFileVaultKeyRequestBuilder) { + return NewItemManagedDevicesItemGetFileVaultKeyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_get_non_compliant_settings_request_builder.go b/users/item_managed_devices_item_get_non_compliant_settings_request_builder.go index 22b594a8d59..d2bc6386d6e 100644 --- a/users/item_managed_devices_item_get_non_compliant_settings_request_builder.go +++ b/users/item_managed_devices_item_get_non_compliant_settings_request_builder.go @@ -80,3 +80,7 @@ func (m *ItemManagedDevicesItemGetNonCompliantSettingsRequestBuilder) ToGetReque } 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 *ItemManagedDevicesItemGetNonCompliantSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemGetNonCompliantSettingsRequestBuilder) { + return NewItemManagedDevicesItemGetNonCompliantSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go b/users/item_managed_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go index 268e7c813fc..8c74e22b925 100644 --- a/users/item_managed_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go +++ b/users/item_managed_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemManagedDevicesItemInitiateMobileDeviceManagementKeyRecoveryRequestB } 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 *ItemManagedDevicesItemInitiateMobileDeviceManagementKeyRecoveryRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemInitiateMobileDeviceManagementKeyRecoveryRequestBuilder) { + return NewItemManagedDevicesItemInitiateMobileDeviceManagementKeyRecoveryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_initiate_on_demand_proactive_remediation_request_builder.go b/users/item_managed_devices_item_initiate_on_demand_proactive_remediation_request_builder.go index 1ccab20f06f..dadb53696f9 100644 --- a/users/item_managed_devices_item_initiate_on_demand_proactive_remediation_request_builder.go +++ b/users/item_managed_devices_item_initiate_on_demand_proactive_remediation_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemManagedDevicesItemInitiateOnDemandProactiveRemediationRequestBuilde } 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 *ItemManagedDevicesItemInitiateOnDemandProactiveRemediationRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemInitiateOnDemandProactiveRemediationRequestBuilder) { + return NewItemManagedDevicesItemInitiateOnDemandProactiveRemediationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_locate_device_request_builder.go b/users/item_managed_devices_item_locate_device_request_builder.go index 8abd385c5c0..24afb834723 100644 --- a/users/item_managed_devices_item_locate_device_request_builder.go +++ b/users/item_managed_devices_item_locate_device_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemManagedDevicesItemLocateDeviceRequestBuilder) ToPostRequestInformat } 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 *ItemManagedDevicesItemLocateDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemLocateDeviceRequestBuilder) { + return NewItemManagedDevicesItemLocateDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_log_collection_requests_count_request_builder.go b/users/item_managed_devices_item_log_collection_requests_count_request_builder.go index 33b1ec030f6..77cd5343f58 100644 --- a/users/item_managed_devices_item_log_collection_requests_count_request_builder.go +++ b/users/item_managed_devices_item_log_collection_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemManagedDevicesItemLogCollectionRequestsCountRequestBuilder) ToGetRe } 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 *ItemManagedDevicesItemLogCollectionRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemLogCollectionRequestsCountRequestBuilder) { + return NewItemManagedDevicesItemLogCollectionRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go b/users/item_managed_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go index b97359a3043..59376951f73 100644 --- a/users/item_managed_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go +++ b/users/item_managed_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemManagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseI } 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 *ItemManagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseItemRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseItemRequestBuilder) { + return NewItemManagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_log_collection_requests_item_create_download_url_request_builder.go b/users/item_managed_devices_item_log_collection_requests_item_create_download_url_request_builder.go index 5901f4fbd46..0325aea63c2 100644 --- a/users/item_managed_devices_item_log_collection_requests_item_create_download_url_request_builder.go +++ b/users/item_managed_devices_item_log_collection_requests_item_create_download_url_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemManagedDevicesItemLogCollectionRequestsItemCreateDownloadUrlRequest } 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 *ItemManagedDevicesItemLogCollectionRequestsItemCreateDownloadUrlRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemLogCollectionRequestsItemCreateDownloadUrlRequestBuilder) { + return NewItemManagedDevicesItemLogCollectionRequestsItemCreateDownloadUrlRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_log_collection_requests_request_builder.go b/users/item_managed_devices_item_log_collection_requests_request_builder.go index ee4c969cf5d..88224ed1771 100644 --- a/users/item_managed_devices_item_log_collection_requests_request_builder.go +++ b/users/item_managed_devices_item_log_collection_requests_request_builder.go @@ -46,8 +46,8 @@ type ItemManagedDevicesItemLogCollectionRequestsRequestBuilderPostRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByDeviceLogCollectionResponseIdString provides operations to manage the logCollectionRequests property of the microsoft.graph.managedDevice entity. -func (m *ItemManagedDevicesItemLogCollectionRequestsRequestBuilder) ByDeviceLogCollectionResponseIdString(deviceLogCollectionResponseId string)(*ItemManagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseItemRequestBuilder) { +// ByDeviceLogCollectionResponseId provides operations to manage the logCollectionRequests property of the microsoft.graph.managedDevice entity. +func (m *ItemManagedDevicesItemLogCollectionRequestsRequestBuilder) ByDeviceLogCollectionResponseId(deviceLogCollectionResponseId string)(*ItemManagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemManagedDevicesItemLogCollectionRequestsRequestBuilder) ToPostReques } 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 *ItemManagedDevicesItemLogCollectionRequestsRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemLogCollectionRequestsRequestBuilder) { + return NewItemManagedDevicesItemLogCollectionRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_logout_shared_apple_device_active_user_request_builder.go b/users/item_managed_devices_item_logout_shared_apple_device_active_user_request_builder.go index e9c4fa9920d..5d9f3887f18 100644 --- a/users/item_managed_devices_item_logout_shared_apple_device_active_user_request_builder.go +++ b/users/item_managed_devices_item_logout_shared_apple_device_active_user_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemManagedDevicesItemLogoutSharedAppleDeviceActiveUserRequestBuilder) } 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 *ItemManagedDevicesItemLogoutSharedAppleDeviceActiveUserRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemLogoutSharedAppleDeviceActiveUserRequestBuilder) { + return NewItemManagedDevicesItemLogoutSharedAppleDeviceActiveUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_managed_device_mobile_app_configuration_states_count_request_builder.go b/users/item_managed_devices_item_managed_device_mobile_app_configuration_states_count_request_builder.go index 4aecc8dc804..ef887786787 100644 --- a/users/item_managed_devices_item_managed_device_mobile_app_configuration_states_count_request_builder.go +++ b/users/item_managed_devices_item_managed_device_mobile_app_configuration_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemManagedDevicesItemManagedDeviceMobileAppConfigurationStatesCountReq } 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 *ItemManagedDevicesItemManagedDeviceMobileAppConfigurationStatesCountRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemManagedDeviceMobileAppConfigurationStatesCountRequestBuilder) { + return NewItemManagedDevicesItemManagedDeviceMobileAppConfigurationStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go b/users/item_managed_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go index ec5e80c36fe..b0e9d41e44d 100644 --- a/users/item_managed_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go +++ b/users/item_managed_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemManagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedD } 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 *ItemManagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDeviceMobileAppConfigurationStateItemRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDeviceMobileAppConfigurationStateItemRequestBuilder) { + return NewItemManagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDeviceMobileAppConfigurationStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_managed_device_mobile_app_configuration_states_request_builder.go b/users/item_managed_devices_item_managed_device_mobile_app_configuration_states_request_builder.go index 6769493a3f8..5f7e8dea736 100644 --- a/users/item_managed_devices_item_managed_device_mobile_app_configuration_states_request_builder.go +++ b/users/item_managed_devices_item_managed_device_mobile_app_configuration_states_request_builder.go @@ -46,8 +46,8 @@ type ItemManagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByManagedDeviceMobileAppConfigurationStateIdString provides operations to manage the managedDeviceMobileAppConfigurationStates property of the microsoft.graph.managedDevice entity. -func (m *ItemManagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBuilder) ByManagedDeviceMobileAppConfigurationStateIdString(managedDeviceMobileAppConfigurationStateId string)(*ItemManagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDeviceMobileAppConfigurationStateItemRequestBuilder) { +// ByManagedDeviceMobileAppConfigurationStateId provides operations to manage the managedDeviceMobileAppConfigurationStates property of the microsoft.graph.managedDevice entity. +func (m *ItemManagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBuilder) ByManagedDeviceMobileAppConfigurationStateId(managedDeviceMobileAppConfigurationStateId string)(*ItemManagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDeviceMobileAppConfigurationStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemManagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestB } 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 *ItemManagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBuilder) { + return NewItemManagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_override_compliance_state_request_builder.go b/users/item_managed_devices_item_override_compliance_state_request_builder.go index 7bd8b8da14a..2c9d6383363 100644 --- a/users/item_managed_devices_item_override_compliance_state_request_builder.go +++ b/users/item_managed_devices_item_override_compliance_state_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemManagedDevicesItemOverrideComplianceStateRequestBuilder) ToPostRequ } 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 *ItemManagedDevicesItemOverrideComplianceStateRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemOverrideComplianceStateRequestBuilder) { + return NewItemManagedDevicesItemOverrideComplianceStateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_play_lost_mode_sound_request_builder.go b/users/item_managed_devices_item_play_lost_mode_sound_request_builder.go index 33938c3bc9e..329deed9e26 100644 --- a/users/item_managed_devices_item_play_lost_mode_sound_request_builder.go +++ b/users/item_managed_devices_item_play_lost_mode_sound_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemManagedDevicesItemPlayLostModeSoundRequestBuilder) ToPostRequestInf } 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 *ItemManagedDevicesItemPlayLostModeSoundRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemPlayLostModeSoundRequestBuilder) { + return NewItemManagedDevicesItemPlayLostModeSoundRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_reboot_now_request_builder.go b/users/item_managed_devices_item_reboot_now_request_builder.go index 274c0625de5..a6ec633103c 100644 --- a/users/item_managed_devices_item_reboot_now_request_builder.go +++ b/users/item_managed_devices_item_reboot_now_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemManagedDevicesItemRebootNowRequestBuilder) 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 *ItemManagedDevicesItemRebootNowRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemRebootNowRequestBuilder) { + return NewItemManagedDevicesItemRebootNowRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_recover_passcode_request_builder.go b/users/item_managed_devices_item_recover_passcode_request_builder.go index 5c1b32bbc92..91f649d51f4 100644 --- a/users/item_managed_devices_item_recover_passcode_request_builder.go +++ b/users/item_managed_devices_item_recover_passcode_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemManagedDevicesItemRecoverPasscodeRequestBuilder) ToPostRequestInfor } 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 *ItemManagedDevicesItemRecoverPasscodeRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemRecoverPasscodeRequestBuilder) { + return NewItemManagedDevicesItemRecoverPasscodeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_reenable_request_builder.go b/users/item_managed_devices_item_reenable_request_builder.go index 0e7fc80aa4d..97352887e5f 100644 --- a/users/item_managed_devices_item_reenable_request_builder.go +++ b/users/item_managed_devices_item_reenable_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemManagedDevicesItemReenableRequestBuilder) 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 *ItemManagedDevicesItemReenableRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemReenableRequestBuilder) { + return NewItemManagedDevicesItemReenableRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_remote_lock_request_builder.go b/users/item_managed_devices_item_remote_lock_request_builder.go index dfd5b153c21..68121cd684d 100644 --- a/users/item_managed_devices_item_remote_lock_request_builder.go +++ b/users/item_managed_devices_item_remote_lock_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemManagedDevicesItemRemoteLockRequestBuilder) ToPostRequestInformatio } 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 *ItemManagedDevicesItemRemoteLockRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemRemoteLockRequestBuilder) { + return NewItemManagedDevicesItemRemoteLockRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go b/users/item_managed_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go index 4fd4d5a4e33..f0b3de6193a 100644 --- a/users/item_managed_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go +++ b/users/item_managed_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemManagedDevicesItemRemoveDeviceFirmwareConfigurationInterfaceManagem } 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 *ItemManagedDevicesItemRemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemRemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder) { + return NewItemManagedDevicesItemRemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_reprovision_cloud_pc_request_builder.go b/users/item_managed_devices_item_reprovision_cloud_pc_request_builder.go index 74e22a65796..c9cd1a40ba6 100644 --- a/users/item_managed_devices_item_reprovision_cloud_pc_request_builder.go +++ b/users/item_managed_devices_item_reprovision_cloud_pc_request_builder.go @@ -63,3 +63,8 @@ func (m *ItemManagedDevicesItemReprovisionCloudPcRequestBuilder) ToPostRequestIn } 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. +// Deprecated: The reprovisionCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use reprovision instead as of 2023-07/reprovisionCloudPc on 2023-07-17 and will be removed 2023-09-30 +func (m *ItemManagedDevicesItemReprovisionCloudPcRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemReprovisionCloudPcRequestBuilder) { + return NewItemManagedDevicesItemReprovisionCloudPcRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_request_remote_assistance_request_builder.go b/users/item_managed_devices_item_request_remote_assistance_request_builder.go index 2720c09b61f..612b2445f42 100644 --- a/users/item_managed_devices_item_request_remote_assistance_request_builder.go +++ b/users/item_managed_devices_item_request_remote_assistance_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemManagedDevicesItemRequestRemoteAssistanceRequestBuilder) ToPostRequ } 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 *ItemManagedDevicesItemRequestRemoteAssistanceRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemRequestRemoteAssistanceRequestBuilder) { + return NewItemManagedDevicesItemRequestRemoteAssistanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_reset_passcode_request_builder.go b/users/item_managed_devices_item_reset_passcode_request_builder.go index 6a1d3815c8e..9c4799afcf1 100644 --- a/users/item_managed_devices_item_reset_passcode_request_builder.go +++ b/users/item_managed_devices_item_reset_passcode_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemManagedDevicesItemResetPasscodeRequestBuilder) ToPostRequestInforma } 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 *ItemManagedDevicesItemResetPasscodeRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemResetPasscodeRequestBuilder) { + return NewItemManagedDevicesItemResetPasscodeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_resize_cloud_pc_request_builder.go b/users/item_managed_devices_item_resize_cloud_pc_request_builder.go index 0460cd47b8a..96f92f9c930 100644 --- a/users/item_managed_devices_item_resize_cloud_pc_request_builder.go +++ b/users/item_managed_devices_item_resize_cloud_pc_request_builder.go @@ -31,6 +31,7 @@ func NewItemManagedDevicesItemResizeCloudPcRequestBuilder(rawUrl string, request return NewItemManagedDevicesItemResizeCloudPcRequestBuilderInternal(urlParams, requestAdapter) } // Post upgrade or downgrade an existing Cloud PC to another configuration with a new virtual CPU (vCPU) and storage size. +// Deprecated: The resizeCloudPc API is deprecated and will stop returning on Oct 30, 2023. Please use resize instead as of 2023-05/resizeCloudPc on 2023-07-24 and will be removed 2023-10-30 // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-resizecloudpc?view=graph-rest-1.0 @@ -50,6 +51,7 @@ func (m *ItemManagedDevicesItemResizeCloudPcRequestBuilder) Post(ctx context.Con return nil } // ToPostRequestInformation upgrade or downgrade an existing Cloud PC to another configuration with a new virtual CPU (vCPU) and storage size. +// Deprecated: The resizeCloudPc API is deprecated and will stop returning on Oct 30, 2023. Please use resize instead as of 2023-05/resizeCloudPc on 2023-07-24 and will be removed 2023-10-30 func (m *ItemManagedDevicesItemResizeCloudPcRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemManagedDevicesItemResizeCloudPcPostRequestBodyable, requestConfiguration *ItemManagedDevicesItemResizeCloudPcRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -65,3 +67,8 @@ func (m *ItemManagedDevicesItemResizeCloudPcRequestBuilder) ToPostRequestInforma } 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. +// Deprecated: The resizeCloudPc API is deprecated and will stop returning on Oct 30, 2023. Please use resize instead as of 2023-05/resizeCloudPc on 2023-07-24 and will be removed 2023-10-30 +func (m *ItemManagedDevicesItemResizeCloudPcRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemResizeCloudPcRequestBuilder) { + return NewItemManagedDevicesItemResizeCloudPcRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_restore_cloud_pc_request_builder.go b/users/item_managed_devices_item_restore_cloud_pc_request_builder.go index bcb7c9a446f..1e1dafeb3c7 100644 --- a/users/item_managed_devices_item_restore_cloud_pc_request_builder.go +++ b/users/item_managed_devices_item_restore_cloud_pc_request_builder.go @@ -31,7 +31,7 @@ func NewItemManagedDevicesItemRestoreCloudPcRequestBuilder(rawUrl string, reques return NewItemManagedDevicesItemRestoreCloudPcRequestBuilderInternal(urlParams, requestAdapter) } // Post restore a Cloud PC device to a previous state with an Intune managed device ID. -// Deprecated: The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc on 2023-07-17 and will be removed 2023-09-30 +// Deprecated: The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc on 2023-08-22 and will be removed 2023-10-30 // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-restorecloudpc?view=graph-rest-1.0 @@ -51,7 +51,7 @@ func (m *ItemManagedDevicesItemRestoreCloudPcRequestBuilder) Post(ctx context.Co return nil } // ToPostRequestInformation restore a Cloud PC device to a previous state with an Intune managed device ID. -// Deprecated: The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc on 2023-07-17 and will be removed 2023-09-30 +// Deprecated: The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc on 2023-08-22 and will be removed 2023-10-30 func (m *ItemManagedDevicesItemRestoreCloudPcRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemManagedDevicesItemRestoreCloudPcPostRequestBodyable, requestConfiguration *ItemManagedDevicesItemRestoreCloudPcRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -67,3 +67,8 @@ func (m *ItemManagedDevicesItemRestoreCloudPcRequestBuilder) ToPostRequestInform } 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. +// Deprecated: The restoreCloudPc API is deprecated and will stop returning on Sep 30, 2023. Please use restore instead as of 2023-07/restoreCloudPc on 2023-08-22 and will be removed 2023-10-30 +func (m *ItemManagedDevicesItemRestoreCloudPcRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemRestoreCloudPcRequestBuilder) { + return NewItemManagedDevicesItemRestoreCloudPcRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_retire_request_builder.go b/users/item_managed_devices_item_retire_request_builder.go index 3d8789d9d93..e0ced6a8524 100644 --- a/users/item_managed_devices_item_retire_request_builder.go +++ b/users/item_managed_devices_item_retire_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemManagedDevicesItemRetireRequestBuilder) 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 *ItemManagedDevicesItemRetireRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemRetireRequestBuilder) { + return NewItemManagedDevicesItemRetireRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_revoke_apple_vpp_licenses_request_builder.go b/users/item_managed_devices_item_revoke_apple_vpp_licenses_request_builder.go index d2b13075df7..246d2844855 100644 --- a/users/item_managed_devices_item_revoke_apple_vpp_licenses_request_builder.go +++ b/users/item_managed_devices_item_revoke_apple_vpp_licenses_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemManagedDevicesItemRevokeAppleVppLicensesRequestBuilder) ToPostReque } 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 *ItemManagedDevicesItemRevokeAppleVppLicensesRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemRevokeAppleVppLicensesRequestBuilder) { + return NewItemManagedDevicesItemRevokeAppleVppLicensesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_rotate_bit_locker_keys_request_builder.go b/users/item_managed_devices_item_rotate_bit_locker_keys_request_builder.go index 4f021a71107..8d05656a6ef 100644 --- a/users/item_managed_devices_item_rotate_bit_locker_keys_request_builder.go +++ b/users/item_managed_devices_item_rotate_bit_locker_keys_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemManagedDevicesItemRotateBitLockerKeysRequestBuilder) ToPostRequestI } 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 *ItemManagedDevicesItemRotateBitLockerKeysRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemRotateBitLockerKeysRequestBuilder) { + return NewItemManagedDevicesItemRotateBitLockerKeysRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_rotate_file_vault_key_request_builder.go b/users/item_managed_devices_item_rotate_file_vault_key_request_builder.go index edf3b21da1f..2fcd08e3cf8 100644 --- a/users/item_managed_devices_item_rotate_file_vault_key_request_builder.go +++ b/users/item_managed_devices_item_rotate_file_vault_key_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemManagedDevicesItemRotateFileVaultKeyRequestBuilder) ToPostRequestIn } 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 *ItemManagedDevicesItemRotateFileVaultKeyRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemRotateFileVaultKeyRequestBuilder) { + return NewItemManagedDevicesItemRotateFileVaultKeyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_rotate_local_admin_password_request_builder.go b/users/item_managed_devices_item_rotate_local_admin_password_request_builder.go index ed244702b12..213f289ac76 100644 --- a/users/item_managed_devices_item_rotate_local_admin_password_request_builder.go +++ b/users/item_managed_devices_item_rotate_local_admin_password_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemManagedDevicesItemRotateLocalAdminPasswordRequestBuilder) ToPostReq } 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 *ItemManagedDevicesItemRotateLocalAdminPasswordRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemRotateLocalAdminPasswordRequestBuilder) { + return NewItemManagedDevicesItemRotateLocalAdminPasswordRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_security_baseline_states_count_request_builder.go b/users/item_managed_devices_item_security_baseline_states_count_request_builder.go index 9250d609ae9..3ce3b91f2e9 100644 --- a/users/item_managed_devices_item_security_baseline_states_count_request_builder.go +++ b/users/item_managed_devices_item_security_baseline_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemManagedDevicesItemSecurityBaselineStatesCountRequestBuilder) ToGetR } 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 *ItemManagedDevicesItemSecurityBaselineStatesCountRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemSecurityBaselineStatesCountRequestBuilder) { + return NewItemManagedDevicesItemSecurityBaselineStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_security_baseline_states_item_setting_states_count_request_builder.go b/users/item_managed_devices_item_security_baseline_states_item_setting_states_count_request_builder.go index 84dfef17a92..aae8e97808e 100644 --- a/users/item_managed_devices_item_security_baseline_states_item_setting_states_count_request_builder.go +++ b/users/item_managed_devices_item_security_baseline_states_item_setting_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemManagedDevicesItemSecurityBaselineStatesItemSettingStatesCountReque } 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 *ItemManagedDevicesItemSecurityBaselineStatesItemSettingStatesCountRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemSecurityBaselineStatesItemSettingStatesCountRequestBuilder) { + return NewItemManagedDevicesItemSecurityBaselineStatesItemSettingStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_security_baseline_states_item_setting_states_request_builder.go b/users/item_managed_devices_item_security_baseline_states_item_setting_states_request_builder.go index a1f56015290..30580ccf0e2 100644 --- a/users/item_managed_devices_item_security_baseline_states_item_setting_states_request_builder.go +++ b/users/item_managed_devices_item_security_baseline_states_item_setting_states_request_builder.go @@ -46,8 +46,8 @@ type ItemManagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySecurityBaselineSettingStateIdString provides operations to manage the settingStates property of the microsoft.graph.securityBaselineState entity. -func (m *ItemManagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuilder) BySecurityBaselineSettingStateIdString(securityBaselineSettingStateId string)(*ItemManagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBaselineSettingStateItemRequestBuilder) { +// BySecurityBaselineSettingStateId provides operations to manage the settingStates property of the microsoft.graph.securityBaselineState entity. +func (m *ItemManagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuilder) BySecurityBaselineSettingStateId(securityBaselineSettingStateId string)(*ItemManagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBaselineSettingStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemManagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBui } 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 *ItemManagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuilder) { + return NewItemManagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go b/users/item_managed_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go index d6539697204..eb3c440ae21 100644 --- a/users/item_managed_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go +++ b/users/item_managed_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemManagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBa } 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 *ItemManagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBaselineSettingStateItemRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBaselineSettingStateItemRequestBuilder) { + return NewItemManagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBaselineSettingStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_security_baseline_states_request_builder.go b/users/item_managed_devices_item_security_baseline_states_request_builder.go index 28adb00e863..bbd010407ca 100644 --- a/users/item_managed_devices_item_security_baseline_states_request_builder.go +++ b/users/item_managed_devices_item_security_baseline_states_request_builder.go @@ -46,8 +46,8 @@ type ItemManagedDevicesItemSecurityBaselineStatesRequestBuilderPostRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySecurityBaselineStateIdString provides operations to manage the securityBaselineStates property of the microsoft.graph.managedDevice entity. -func (m *ItemManagedDevicesItemSecurityBaselineStatesRequestBuilder) BySecurityBaselineStateIdString(securityBaselineStateId string)(*ItemManagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRequestBuilder) { +// BySecurityBaselineStateId provides operations to manage the securityBaselineStates property of the microsoft.graph.managedDevice entity. +func (m *ItemManagedDevicesItemSecurityBaselineStatesRequestBuilder) BySecurityBaselineStateId(securityBaselineStateId string)(*ItemManagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemManagedDevicesItemSecurityBaselineStatesRequestBuilder) ToPostReque } 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 *ItemManagedDevicesItemSecurityBaselineStatesRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemSecurityBaselineStatesRequestBuilder) { + return NewItemManagedDevicesItemSecurityBaselineStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go b/users/item_managed_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go index c15a1aad7de..b7dbe4fe51b 100644 --- a/users/item_managed_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go +++ b/users/item_managed_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemManagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRe } 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 *ItemManagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRequestBuilder) { + return NewItemManagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_send_custom_notification_to_company_portal_request_builder.go b/users/item_managed_devices_item_send_custom_notification_to_company_portal_request_builder.go index 6b4d81d02d2..4a505611464 100644 --- a/users/item_managed_devices_item_send_custom_notification_to_company_portal_request_builder.go +++ b/users/item_managed_devices_item_send_custom_notification_to_company_portal_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemManagedDevicesItemSendCustomNotificationToCompanyPortalRequestBuild } 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 *ItemManagedDevicesItemSendCustomNotificationToCompanyPortalRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemSendCustomNotificationToCompanyPortalRequestBuilder) { + return NewItemManagedDevicesItemSendCustomNotificationToCompanyPortalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_set_cloud_pc_review_status_request_builder.go b/users/item_managed_devices_item_set_cloud_pc_review_status_request_builder.go index b8406f241ac..4bd9d2ef58b 100644 --- a/users/item_managed_devices_item_set_cloud_pc_review_status_request_builder.go +++ b/users/item_managed_devices_item_set_cloud_pc_review_status_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemManagedDevicesItemSetCloudPcReviewStatusRequestBuilder) ToPostReque } 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 *ItemManagedDevicesItemSetCloudPcReviewStatusRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemSetCloudPcReviewStatusRequestBuilder) { + return NewItemManagedDevicesItemSetCloudPcReviewStatusRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_set_device_name_request_builder.go b/users/item_managed_devices_item_set_device_name_request_builder.go index f89ede1bd09..d866554d29a 100644 --- a/users/item_managed_devices_item_set_device_name_request_builder.go +++ b/users/item_managed_devices_item_set_device_name_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemManagedDevicesItemSetDeviceNameRequestBuilder) ToPostRequestInforma } 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 *ItemManagedDevicesItemSetDeviceNameRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemSetDeviceNameRequestBuilder) { + return NewItemManagedDevicesItemSetDeviceNameRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_shut_down_request_builder.go b/users/item_managed_devices_item_shut_down_request_builder.go index a65039c3eb5..d875565c466 100644 --- a/users/item_managed_devices_item_shut_down_request_builder.go +++ b/users/item_managed_devices_item_shut_down_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemManagedDevicesItemShutDownRequestBuilder) 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 *ItemManagedDevicesItemShutDownRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemShutDownRequestBuilder) { + return NewItemManagedDevicesItemShutDownRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_sync_device_request_builder.go b/users/item_managed_devices_item_sync_device_request_builder.go index 6f508d78fa1..ee6714ad678 100644 --- a/users/item_managed_devices_item_sync_device_request_builder.go +++ b/users/item_managed_devices_item_sync_device_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemManagedDevicesItemSyncDeviceRequestBuilder) ToPostRequestInformatio } 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 *ItemManagedDevicesItemSyncDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemSyncDeviceRequestBuilder) { + return NewItemManagedDevicesItemSyncDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_trigger_configuration_manager_action_request_builder.go b/users/item_managed_devices_item_trigger_configuration_manager_action_request_builder.go index 9d0c3fc733a..f5e409e79c8 100644 --- a/users/item_managed_devices_item_trigger_configuration_manager_action_request_builder.go +++ b/users/item_managed_devices_item_trigger_configuration_manager_action_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemManagedDevicesItemTriggerConfigurationManagerActionRequestBuilder) } 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 *ItemManagedDevicesItemTriggerConfigurationManagerActionRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemTriggerConfigurationManagerActionRequestBuilder) { + return NewItemManagedDevicesItemTriggerConfigurationManagerActionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_update_windows_device_account_request_builder.go b/users/item_managed_devices_item_update_windows_device_account_request_builder.go index bd17d399025..dffacb68d1e 100644 --- a/users/item_managed_devices_item_update_windows_device_account_request_builder.go +++ b/users/item_managed_devices_item_update_windows_device_account_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder) ToPostR } 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 *ItemManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder) { + return NewItemManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_users_request_builder.go b/users/item_managed_devices_item_users_request_builder.go index f771a131720..eb136ccd92c 100644 --- a/users/item_managed_devices_item_users_request_builder.go +++ b/users/item_managed_devices_item_users_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemManagedDevicesItemUsersRequestBuilder) ToGetRequestInformation(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 *ItemManagedDevicesItemUsersRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemUsersRequestBuilder) { + return NewItemManagedDevicesItemUsersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_windows_defender_scan_request_builder.go b/users/item_managed_devices_item_windows_defender_scan_request_builder.go index 37b34538070..309d5ee8f8a 100644 --- a/users/item_managed_devices_item_windows_defender_scan_request_builder.go +++ b/users/item_managed_devices_item_windows_defender_scan_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemManagedDevicesItemWindowsDefenderScanRequestBuilder) ToPostRequestI } 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 *ItemManagedDevicesItemWindowsDefenderScanRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemWindowsDefenderScanRequestBuilder) { + return NewItemManagedDevicesItemWindowsDefenderScanRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_windows_defender_update_signatures_request_builder.go b/users/item_managed_devices_item_windows_defender_update_signatures_request_builder.go index 2f3c9422419..73b791e2bad 100644 --- a/users/item_managed_devices_item_windows_defender_update_signatures_request_builder.go +++ b/users/item_managed_devices_item_windows_defender_update_signatures_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder) To } 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 *ItemManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder) { + return NewItemManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_windows_protection_state_detected_malware_state_count_request_builder.go b/users/item_managed_devices_item_windows_protection_state_detected_malware_state_count_request_builder.go index 36ec62f5fd3..69410b61043 100644 --- a/users/item_managed_devices_item_windows_protection_state_detected_malware_state_count_request_builder.go +++ b/users/item_managed_devices_item_windows_protection_state_detected_malware_state_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemManagedDevicesItemWindowsProtectionStateDetectedMalwareStateCountRe } 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 *ItemManagedDevicesItemWindowsProtectionStateDetectedMalwareStateCountRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemWindowsProtectionStateDetectedMalwareStateCountRequestBuilder) { + return NewItemManagedDevicesItemWindowsProtectionStateDetectedMalwareStateCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_windows_protection_state_detected_malware_state_request_builder.go b/users/item_managed_devices_item_windows_protection_state_detected_malware_state_request_builder.go index 4c2d6a23356..c341050858d 100644 --- a/users/item_managed_devices_item_windows_protection_state_detected_malware_state_request_builder.go +++ b/users/item_managed_devices_item_windows_protection_state_detected_malware_state_request_builder.go @@ -46,8 +46,8 @@ type ItemManagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWindowsDeviceMalwareStateIdString provides operations to manage the detectedMalwareState property of the microsoft.graph.windowsProtectionState entity. -func (m *ItemManagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBuilder) ByWindowsDeviceMalwareStateIdString(windowsDeviceMalwareStateId string)(*ItemManagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDeviceMalwareStateItemRequestBuilder) { +// ByWindowsDeviceMalwareStateId provides operations to manage the detectedMalwareState property of the microsoft.graph.windowsProtectionState entity. +func (m *ItemManagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBuilder) ByWindowsDeviceMalwareStateId(windowsDeviceMalwareStateId string)(*ItemManagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDeviceMalwareStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemManagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequest } 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 *ItemManagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBuilder) { + return NewItemManagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go b/users/item_managed_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go index d4627495f53..30c19fc967b 100644 --- a/users/item_managed_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go +++ b/users/item_managed_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemManagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindows } 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 *ItemManagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDeviceMalwareStateItemRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDeviceMalwareStateItemRequestBuilder) { + return NewItemManagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDeviceMalwareStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_windows_protection_state_request_builder.go b/users/item_managed_devices_item_windows_protection_state_request_builder.go index f59bb95a312..65c40d9d96b 100644 --- a/users/item_managed_devices_item_windows_protection_state_request_builder.go +++ b/users/item_managed_devices_item_windows_protection_state_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemManagedDevicesItemWindowsProtectionStateRequestBuilder) ToPatchRequ } 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 *ItemManagedDevicesItemWindowsProtectionStateRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemWindowsProtectionStateRequestBuilder) { + return NewItemManagedDevicesItemWindowsProtectionStateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_item_wipe_request_builder.go b/users/item_managed_devices_item_wipe_request_builder.go index 3accc736b61..23526cbb6a6 100644 --- a/users/item_managed_devices_item_wipe_request_builder.go +++ b/users/item_managed_devices_item_wipe_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemManagedDevicesItemWipeRequestBuilder) 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 *ItemManagedDevicesItemWipeRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesItemWipeRequestBuilder) { + return NewItemManagedDevicesItemWipeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_managed_device_item_request_builder.go b/users/item_managed_devices_managed_device_item_request_builder.go index f99da06f6d2..c34fd16e978 100644 --- a/users/item_managed_devices_managed_device_item_request_builder.go +++ b/users/item_managed_devices_managed_device_item_request_builder.go @@ -377,3 +377,7 @@ func (m *ItemManagedDevicesManagedDeviceItemRequestBuilder) WindowsProtectionSta func (m *ItemManagedDevicesManagedDeviceItemRequestBuilder) Wipe()(*ItemManagedDevicesItemWipeRequestBuilder) { return NewItemManagedDevicesItemWipeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemManagedDevicesManagedDeviceItemRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesManagedDeviceItemRequestBuilder) { + return NewItemManagedDevicesManagedDeviceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_move_devices_to_o_u_request_builder.go b/users/item_managed_devices_move_devices_to_o_u_request_builder.go index 3f05735c3f0..a588f33f369 100644 --- a/users/item_managed_devices_move_devices_to_o_u_request_builder.go +++ b/users/item_managed_devices_move_devices_to_o_u_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemManagedDevicesMoveDevicesToOURequestBuilder) ToPostRequestInformati } 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 *ItemManagedDevicesMoveDevicesToOURequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesMoveDevicesToOURequestBuilder) { + return NewItemManagedDevicesMoveDevicesToOURequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_managed_devices_request_builder.go b/users/item_managed_devices_request_builder.go index 2578c76338f..d3d07472ad1 100644 --- a/users/item_managed_devices_request_builder.go +++ b/users/item_managed_devices_request_builder.go @@ -62,8 +62,8 @@ func (m *ItemManagedDevicesRequestBuilder) BulkRestoreCloudPc()(*ItemManagedDevi func (m *ItemManagedDevicesRequestBuilder) BulkSetCloudPcReviewStatus()(*ItemManagedDevicesBulkSetCloudPcReviewStatusRequestBuilder) { return NewItemManagedDevicesBulkSetCloudPcReviewStatusRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ByManagedDeviceIdString provides operations to manage the managedDevices property of the microsoft.graph.user entity. -func (m *ItemManagedDevicesRequestBuilder) ByManagedDeviceIdString(managedDeviceId string)(*ItemManagedDevicesManagedDeviceItemRequestBuilder) { +// ByManagedDeviceId provides operations to manage the managedDevices property of the microsoft.graph.user entity. +func (m *ItemManagedDevicesRequestBuilder) ByManagedDeviceId(managedDeviceId string)(*ItemManagedDevicesManagedDeviceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -173,3 +173,7 @@ func (m *ItemManagedDevicesRequestBuilder) 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 *ItemManagedDevicesRequestBuilder) WithUrl(rawUrl string)(*ItemManagedDevicesRequestBuilder) { + return NewItemManagedDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_manager_ref_request_builder.go b/users/item_manager_ref_request_builder.go index 4e716c0249f..974ea0282dc 100644 --- a/users/item_manager_ref_request_builder.go +++ b/users/item_manager_ref_request_builder.go @@ -146,3 +146,7 @@ func (m *ItemManagerRefRequestBuilder) ToPutRequestInformation(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 *ItemManagerRefRequestBuilder) WithUrl(rawUrl string)(*ItemManagerRefRequestBuilder) { + return NewItemManagerRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_manager_request_builder.go b/users/item_manager_request_builder.go index 2766b985353..86abd82e8a9 100644 --- a/users/item_manager_request_builder.go +++ b/users/item_manager_request_builder.go @@ -120,3 +120,7 @@ func (m *ItemManagerRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemManagerRequestBuilder) WithUrl(rawUrl string)(*ItemManagerRequestBuilder) { + return NewItemManagerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_member_of_count_request_builder.go b/users/item_member_of_count_request_builder.go index acaa9522fb7..a0c5a4947a4 100644 --- a/users/item_member_of_count_request_builder.go +++ b/users/item_member_of_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMemberOfCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemMemberOfCountRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfCountRequestBuilder) { + return NewItemMemberOfCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_member_of_directory_object_item_request_builder.go b/users/item_member_of_directory_object_item_request_builder.go index 532be345ec0..b7bb95d2887 100644 --- a/users/item_member_of_directory_object_item_request_builder.go +++ b/users/item_member_of_directory_object_item_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemMemberOfDirectoryObjectItemRequestBuilder) 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 *ItemMemberOfDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfDirectoryObjectItemRequestBuilder) { + return NewItemMemberOfDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_member_of_graph_administrative_unit_count_request_builder.go b/users/item_member_of_graph_administrative_unit_count_request_builder.go index 2964444c987..454dee904a7 100644 --- a/users/item_member_of_graph_administrative_unit_count_request_builder.go +++ b/users/item_member_of_graph_administrative_unit_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMemberOfGraphAdministrativeUnitCountRequestBuilder) ToGetRequestInf } 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 *ItemMemberOfGraphAdministrativeUnitCountRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphAdministrativeUnitCountRequestBuilder) { + return NewItemMemberOfGraphAdministrativeUnitCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_member_of_graph_administrative_unit_request_builder.go b/users/item_member_of_graph_administrative_unit_request_builder.go index a8838d79832..a9daa109516 100644 --- a/users/item_member_of_graph_administrative_unit_request_builder.go +++ b/users/item_member_of_graph_administrative_unit_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMemberOfGraphAdministrativeUnitRequestBuilder) ToGetRequestInformat } 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 *ItemMemberOfGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphAdministrativeUnitRequestBuilder) { + return NewItemMemberOfGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_member_of_graph_directory_role_count_request_builder.go b/users/item_member_of_graph_directory_role_count_request_builder.go index 7480fb5ceaf..8d1d7076046 100644 --- a/users/item_member_of_graph_directory_role_count_request_builder.go +++ b/users/item_member_of_graph_directory_role_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMemberOfGraphDirectoryRoleCountRequestBuilder) ToGetRequestInformat } 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 *ItemMemberOfGraphDirectoryRoleCountRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphDirectoryRoleCountRequestBuilder) { + return NewItemMemberOfGraphDirectoryRoleCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_member_of_graph_directory_role_request_builder.go b/users/item_member_of_graph_directory_role_request_builder.go index ad8974100d8..c571528380c 100644 --- a/users/item_member_of_graph_directory_role_request_builder.go +++ b/users/item_member_of_graph_directory_role_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMemberOfGraphDirectoryRoleRequestBuilder) ToGetRequestInformation(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 *ItemMemberOfGraphDirectoryRoleRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphDirectoryRoleRequestBuilder) { + return NewItemMemberOfGraphDirectoryRoleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_member_of_graph_group_count_request_builder.go b/users/item_member_of_graph_group_count_request_builder.go index 4653f28687d..eeeaa2ee035 100644 --- a/users/item_member_of_graph_group_count_request_builder.go +++ b/users/item_member_of_graph_group_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMemberOfGraphGroupCountRequestBuilder) ToGetRequestInformation(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 *ItemMemberOfGraphGroupCountRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphGroupCountRequestBuilder) { + return NewItemMemberOfGraphGroupCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_member_of_graph_group_request_builder.go b/users/item_member_of_graph_group_request_builder.go index c2d696790e0..4ac2b059f70 100644 --- a/users/item_member_of_graph_group_request_builder.go +++ b/users/item_member_of_graph_group_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemMemberOfGraphGroupRequestBuilder) ToGetRequestInformation(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 *ItemMemberOfGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfGraphGroupRequestBuilder) { + return NewItemMemberOfGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_member_of_item_graph_administrative_unit_request_builder.go b/users/item_member_of_item_graph_administrative_unit_request_builder.go index 344a2df5874..0e9cc5a02f3 100644 --- a/users/item_member_of_item_graph_administrative_unit_request_builder.go +++ b/users/item_member_of_item_graph_administrative_unit_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMemberOfItemGraphAdministrativeUnitRequestBuilder) ToGetRequestInfo } 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 *ItemMemberOfItemGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfItemGraphAdministrativeUnitRequestBuilder) { + return NewItemMemberOfItemGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_member_of_item_graph_directory_role_request_builder.go b/users/item_member_of_item_graph_directory_role_request_builder.go index 2fd7ac67936..994470e6f73 100644 --- a/users/item_member_of_item_graph_directory_role_request_builder.go +++ b/users/item_member_of_item_graph_directory_role_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMemberOfItemGraphDirectoryRoleRequestBuilder) ToGetRequestInformati } 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 *ItemMemberOfItemGraphDirectoryRoleRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfItemGraphDirectoryRoleRequestBuilder) { + return NewItemMemberOfItemGraphDirectoryRoleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_member_of_item_graph_group_request_builder.go b/users/item_member_of_item_graph_group_request_builder.go index ff149e0b320..d10cd5bb415 100644 --- a/users/item_member_of_item_graph_group_request_builder.go +++ b/users/item_member_of_item_graph_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemMemberOfItemGraphGroupRequestBuilder) ToGetRequestInformation(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 *ItemMemberOfItemGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfItemGraphGroupRequestBuilder) { + return NewItemMemberOfItemGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_member_of_request_builder.go b/users/item_member_of_request_builder.go index fbd78ac5ce7..513a5476d36 100644 --- a/users/item_member_of_request_builder.go +++ b/users/item_member_of_request_builder.go @@ -39,8 +39,8 @@ type ItemMemberOfRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemMemberOfRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the memberOf property of the microsoft.graph.user entity. -func (m *ItemMemberOfRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemMemberOfDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the memberOf property of the microsoft.graph.user entity. +func (m *ItemMemberOfRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemMemberOfDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -117,3 +117,7 @@ func (m *ItemMemberOfRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemMemberOfRequestBuilder) WithUrl(rawUrl string)(*ItemMemberOfRequestBuilder) { + return NewItemMemberOfRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_count_request_builder.go b/users/item_messages_count_request_builder.go index c2ce6c4003d..e25bda7ae4c 100644 --- a/users/item_messages_count_request_builder.go +++ b/users/item_messages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMessagesCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemMessagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesCountRequestBuilder) { + return NewItemMessagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_delta_request_builder.go b/users/item_messages_delta_request_builder.go index 77b36b59ad6..58fbff3de19 100644 --- a/users/item_messages_delta_request_builder.go +++ b/users/item_messages_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemMessagesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMessagesDeltaRequestBuilderGetQueryParameters get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can [query for incremental changes in the messages in that folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages without having to fetch the entire set of messages from the server every time. +// ItemMessagesDeltaRequestBuilderGetQueryParameters get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. type ItemMessagesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -49,7 +49,7 @@ func NewItemMessagesDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 urlParams["request-raw-url"] = rawUrl return NewItemMessagesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can [query for incremental changes in the messages in that folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages without having to fetch the entire set of messages from the server every time. +// Get get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-1.0 @@ -71,7 +71,7 @@ func (m *ItemMessagesDeltaRequestBuilder) Get(ctx context.Context, requestConfig } return res.(ItemMessagesDeltaResponseable), nil } -// ToGetRequestInformation get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can [query for incremental changes in the messages in that folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages without having to fetch the entire set of messages from the server every time. +// ToGetRequestInformation get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. func (m *ItemMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -87,3 +87,7 @@ func (m *ItemMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemMessagesDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesDeltaRequestBuilder) { + return NewItemMessagesDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_attachments_attachment_item_request_builder.go b/users/item_messages_item_attachments_attachment_item_request_builder.go index a6f2bb19992..977cbd81e26 100644 --- a/users/item_messages_item_attachments_attachment_item_request_builder.go +++ b/users/item_messages_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemMessagesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. type ItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -63,7 +63,7 @@ func (m *ItemMessagesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx con } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 @@ -97,7 +97,7 @@ func (m *ItemMessagesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteReques } return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. func (m *ItemMessagesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -113,3 +113,7 @@ func (m *ItemMessagesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestIn } 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 *ItemMessagesItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemMessagesItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_attachments_count_request_builder.go b/users/item_messages_item_attachments_count_request_builder.go index 77dfc8fa86c..49f49bdc6d1 100644 --- a/users/item_messages_item_attachments_count_request_builder.go +++ b/users/item_messages_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemMessagesItemAttachmentsCountRequestBuilder) 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 *ItemMessagesItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemAttachmentsCountRequestBuilder) { + return NewItemMessagesItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_attachments_create_upload_session_request_builder.go b/users/item_messages_item_attachments_create_upload_session_request_builder.go index 647bb005942..b3d0c35085a 100644 --- a/users/item_messages_item_attachments_create_upload_session_request_builder.go +++ b/users/item_messages_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewItemMessagesItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. func (m *ItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemMessagesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemMessagesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostReq } 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 *ItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_attachments_request_builder.go b/users/item_messages_item_attachments_request_builder.go index 5011ecd2643..0994ea09cfb 100644 --- a/users/item_messages_item_attachments_request_builder.go +++ b/users/item_messages_item_attachments_request_builder.go @@ -40,8 +40,8 @@ type ItemMessagesItemAttachmentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.message entity. -func (m *ItemMessagesItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemMessagesItemAttachmentsAttachmentItemRequestBuilder) { +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.message entity. +func (m *ItemMessagesItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemMessagesItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -94,10 +94,10 @@ func (m *ItemMessagesItemAttachmentsRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a new message that is being drafted, or created and sent on the fly. +// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-post-attachments?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemMessagesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemMessagesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +132,7 @@ func (m *ItemMessagesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx } return requestInfo, nil } -// ToPostRequestInformation use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a new message that is being drafted, or created and sent on the fly. +// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. func (m *ItemMessagesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemMessagesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -149,3 +149,7 @@ func (m *ItemMessagesItemAttachmentsRequestBuilder) 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 *ItemMessagesItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemAttachmentsRequestBuilder) { + return NewItemMessagesItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_copy_request_builder.go b/users/item_messages_item_copy_request_builder.go index c14009e2ce3..cb027747142 100644 --- a/users/item_messages_item_copy_request_builder.go +++ b/users/item_messages_item_copy_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemMessagesItemCopyRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemMessagesItemCopyRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemCopyRequestBuilder) { + return NewItemMessagesItemCopyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_create_forward_request_builder.go b/users/item_messages_item_create_forward_request_builder.go index f2e7986c5b9..7974a5be98f 100644 --- a/users/item_messages_item_create_forward_request_builder.go +++ b/users/item_messages_item_create_forward_request_builder.go @@ -31,7 +31,7 @@ func NewItemMessagesItemCreateForwardRequestBuilder(rawUrl string, requestAdapte urlParams["request-raw-url"] = rawUrl return NewItemMessagesItemCreateForwardRequestBuilderInternal(urlParams, requestAdapter) } -// Post create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can: - Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. +// Post create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/message-createforward?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemMessagesItemCreateForwardRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable), nil } -// ToPostRequestInformation create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can: - Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. +// ToPostRequestInformation create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. func (m *ItemMessagesItemCreateForwardRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemMessagesItemCreateForwardPostRequestBodyable, requestConfiguration *ItemMessagesItemCreateForwardRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemMessagesItemCreateForwardRequestBuilder) ToPostRequestInformation(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 *ItemMessagesItemCreateForwardRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemCreateForwardRequestBuilder) { + return NewItemMessagesItemCreateForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_create_reply_all_request_builder.go b/users/item_messages_item_create_reply_all_request_builder.go index a656ba45f31..125e18600d4 100644 --- a/users/item_messages_item_create_reply_all_request_builder.go +++ b/users/item_messages_item_create_reply_all_request_builder.go @@ -31,7 +31,7 @@ func NewItemMessagesItemCreateReplyAllRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewItemMessagesItemCreateReplyAllRequestBuilderInternal(urlParams, requestAdapter) } -// Post create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties. - You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. +// Post create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/message-createreplyall?view=graph-rest-1.0 @@ -53,7 +53,7 @@ func (m *ItemMessagesItemCreateReplyAllRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable), nil } -// ToPostRequestInformation create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties. - You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. +// ToPostRequestInformation create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. func (m *ItemMessagesItemCreateReplyAllRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemMessagesItemCreateReplyAllPostRequestBodyable, requestConfiguration *ItemMessagesItemCreateReplyAllRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -70,3 +70,7 @@ func (m *ItemMessagesItemCreateReplyAllRequestBuilder) 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 *ItemMessagesItemCreateReplyAllRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemCreateReplyAllRequestBuilder) { + return NewItemMessagesItemCreateReplyAllRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_create_reply_request_builder.go b/users/item_messages_item_create_reply_request_builder.go index 3bf7af04af7..030dd23e225 100644 --- a/users/item_messages_item_create_reply_request_builder.go +++ b/users/item_messages_item_create_reply_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemMessagesItemCreateReplyRequestBuilder) 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 *ItemMessagesItemCreateReplyRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemCreateReplyRequestBuilder) { + return NewItemMessagesItemCreateReplyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_extensions_count_request_builder.go b/users/item_messages_item_extensions_count_request_builder.go index c14dc62f23b..bc7fbed4e11 100644 --- a/users/item_messages_item_extensions_count_request_builder.go +++ b/users/item_messages_item_extensions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemMessagesItemExtensionsCountRequestBuilder) 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 *ItemMessagesItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemExtensionsCountRequestBuilder) { + return NewItemMessagesItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_extensions_extension_item_request_builder.go b/users/item_messages_item_extensions_extension_item_request_builder.go index 5fff4dea80c..4d40d381180 100644 --- a/users/item_messages_item_extensions_extension_item_request_builder.go +++ b/users/item_messages_item_extensions_extension_item_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemMessagesItemExtensionsExtensionItemRequestBuilder) ToPatchRequestIn } 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 *ItemMessagesItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemExtensionsExtensionItemRequestBuilder) { + return NewItemMessagesItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_extensions_request_builder.go b/users/item_messages_item_extensions_request_builder.go index 6b5bee33194..4d88550d7d8 100644 --- a/users/item_messages_item_extensions_request_builder.go +++ b/users/item_messages_item_extensions_request_builder.go @@ -44,8 +44,8 @@ type ItemMessagesItemExtensionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.message entity. -func (m *ItemMessagesItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemMessagesItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.message entity. +func (m *ItemMessagesItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemMessagesItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -146,3 +146,7 @@ func (m *ItemMessagesItemExtensionsRequestBuilder) 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 *ItemMessagesItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemExtensionsRequestBuilder) { + return NewItemMessagesItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_forward_request_builder.go b/users/item_messages_item_forward_request_builder.go index edeffef9a15..10605003cfb 100644 --- a/users/item_messages_item_forward_request_builder.go +++ b/users/item_messages_item_forward_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemMessagesItemForwardRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemMessagesItemForwardRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemForwardRequestBuilder) { + return NewItemMessagesItemForwardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_mark_as_junk_request_builder.go b/users/item_messages_item_mark_as_junk_request_builder.go index 0fb8e70265e..cc00c1fd324 100644 --- a/users/item_messages_item_mark_as_junk_request_builder.go +++ b/users/item_messages_item_mark_as_junk_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemMessagesItemMarkAsJunkRequestBuilder) 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 *ItemMessagesItemMarkAsJunkRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemMarkAsJunkRequestBuilder) { + return NewItemMessagesItemMarkAsJunkRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_mark_as_not_junk_request_builder.go b/users/item_messages_item_mark_as_not_junk_request_builder.go index 3b60ae4df43..f37ccb5184a 100644 --- a/users/item_messages_item_mark_as_not_junk_request_builder.go +++ b/users/item_messages_item_mark_as_not_junk_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemMessagesItemMarkAsNotJunkRequestBuilder) ToPostRequestInformation(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 *ItemMessagesItemMarkAsNotJunkRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemMarkAsNotJunkRequestBuilder) { + return NewItemMessagesItemMarkAsNotJunkRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_mentions_count_request_builder.go b/users/item_messages_item_mentions_count_request_builder.go index ef518d9a82d..94157ff426e 100644 --- a/users/item_messages_item_mentions_count_request_builder.go +++ b/users/item_messages_item_mentions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemMessagesItemMentionsCountRequestBuilder) ToGetRequestInformation(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 *ItemMessagesItemMentionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemMentionsCountRequestBuilder) { + return NewItemMessagesItemMentionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_mentions_mention_item_request_builder.go b/users/item_messages_item_mentions_mention_item_request_builder.go index d9ba0530507..653ebd9d759 100644 --- a/users/item_messages_item_mentions_mention_item_request_builder.go +++ b/users/item_messages_item_mentions_mention_item_request_builder.go @@ -113,3 +113,7 @@ func (m *ItemMessagesItemMentionsMentionItemRequestBuilder) ToGetRequestInformat } 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 *ItemMessagesItemMentionsMentionItemRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemMentionsMentionItemRequestBuilder) { + return NewItemMessagesItemMentionsMentionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_mentions_request_builder.go b/users/item_messages_item_mentions_request_builder.go index 7452f6e758a..9c7c26ed463 100644 --- a/users/item_messages_item_mentions_request_builder.go +++ b/users/item_messages_item_mentions_request_builder.go @@ -44,8 +44,8 @@ type ItemMessagesItemMentionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMentionIdString provides operations to manage the mentions property of the microsoft.graph.message entity. -func (m *ItemMessagesItemMentionsRequestBuilder) ByMentionIdString(mentionId string)(*ItemMessagesItemMentionsMentionItemRequestBuilder) { +// ByMentionId provides operations to manage the mentions property of the microsoft.graph.message entity. +func (m *ItemMessagesItemMentionsRequestBuilder) ByMentionId(mentionId string)(*ItemMessagesItemMentionsMentionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -143,3 +143,7 @@ func (m *ItemMessagesItemMentionsRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemMessagesItemMentionsRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemMentionsRequestBuilder) { + return NewItemMessagesItemMentionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_move_request_builder.go b/users/item_messages_item_move_request_builder.go index bc7c0ff57ff..50aaaa68679 100644 --- a/users/item_messages_item_move_request_builder.go +++ b/users/item_messages_item_move_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemMessagesItemMoveRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemMessagesItemMoveRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemMoveRequestBuilder) { + return NewItemMessagesItemMoveRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_reply_all_request_builder.go b/users/item_messages_item_reply_all_request_builder.go index 018ba0200ef..c3fb8bb9e2d 100644 --- a/users/item_messages_item_reply_all_request_builder.go +++ b/users/item_messages_item_reply_all_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemMessagesItemReplyAllRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemMessagesItemReplyAllRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemReplyAllRequestBuilder) { + return NewItemMessagesItemReplyAllRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_reply_request_builder.go b/users/item_messages_item_reply_request_builder.go index 41860c73273..b1f8a14d57b 100644 --- a/users/item_messages_item_reply_request_builder.go +++ b/users/item_messages_item_reply_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemMessagesItemReplyRequestBuilder) 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 *ItemMessagesItemReplyRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemReplyRequestBuilder) { + return NewItemMessagesItemReplyRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_send_request_builder.go b/users/item_messages_item_send_request_builder.go index 767fecf18d1..ad2d1bfec22 100644 --- a/users/item_messages_item_send_request_builder.go +++ b/users/item_messages_item_send_request_builder.go @@ -30,7 +30,7 @@ func NewItemMessagesItemSendRequestBuilder(rawUrl string, requestAdapter i2ae418 urlParams["request-raw-url"] = rawUrl return NewItemMessagesItemSendRequestBuilderInternal(urlParams, requestAdapter) } -// Post send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. +// Post send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/message-send?view=graph-rest-1.0 @@ -49,7 +49,7 @@ func (m *ItemMessagesItemSendRequestBuilder) Post(ctx context.Context, requestCo } return nil } -// ToPostRequestInformation send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. +// ToPostRequestInformation send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. func (m *ItemMessagesItemSendRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesItemSendRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -61,3 +61,7 @@ func (m *ItemMessagesItemSendRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemMessagesItemSendRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemSendRequestBuilder) { + return NewItemMessagesItemSendRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_unsubscribe_request_builder.go b/users/item_messages_item_unsubscribe_request_builder.go index 7426ab5431d..894744f5217 100644 --- a/users/item_messages_item_unsubscribe_request_builder.go +++ b/users/item_messages_item_unsubscribe_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemMessagesItemUnsubscribeRequestBuilder) 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 *ItemMessagesItemUnsubscribeRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemUnsubscribeRequestBuilder) { + return NewItemMessagesItemUnsubscribeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_item_value_content_request_builder.go b/users/item_messages_item_value_content_request_builder.go index 5d8f4111f66..df7aeddbfa5 100644 --- a/users/item_messages_item_value_content_request_builder.go +++ b/users/item_messages_item_value_content_request_builder.go @@ -40,7 +40,7 @@ func NewItemMessagesItemValueContentRequestBuilder(rawUrl string, requestAdapter // Get get media content for the navigation property messages from users // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-messages?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 func (m *ItemMessagesItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -103,3 +103,7 @@ func (m *ItemMessagesItemValueContentRequestBuilder) ToPutRequestInformation(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 *ItemMessagesItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemValueContentRequestBuilder) { + return NewItemMessagesItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_message_item_request_builder.go b/users/item_messages_message_item_request_builder.go index 3791b189827..a53694fcdea 100644 --- a/users/item_messages_message_item_request_builder.go +++ b/users/item_messages_message_item_request_builder.go @@ -23,7 +23,7 @@ type ItemMessagesMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` // Include Hidden Messages - IncludeHiddenMessages *string + IncludeHiddenMessages *string `uriparametername:"includeHiddenMessages"` // Select properties to be returned Select []string `uriparametername:"%24select"` } @@ -80,10 +80,10 @@ func (m *ItemMessagesMessageItemRequestBuilder) CreateReply()(*ItemMessagesItemC func (m *ItemMessagesMessageItemRequestBuilder) CreateReplyAll()(*ItemMessagesItemCreateReplyAllRequestBuilder) { return NewItemMessagesItemCreateReplyAllRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. +// Delete delete eventMessage. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-delete?view=graph-rest-1.0 func (m *ItemMessagesMessageItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMessagesMessageItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -110,7 +110,7 @@ func (m *ItemMessagesMessageItemRequestBuilder) Forward()(*ItemMessagesItemForwa // Get the messages in a mailbox or folder. Read-only. Nullable. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 func (m *ItemMessagesMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -145,10 +145,10 @@ func (m *ItemMessagesMessageItemRequestBuilder) Mentions()(*ItemMessagesItemMent func (m *ItemMessagesMessageItemRequestBuilder) Move()(*ItemMessagesItemMoveRequestBuilder) { return NewItemMessagesItemMoveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of an eventMessage object. +// Patch update the properties of a message object. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-update?view=graph-rest-1.0 func (m *ItemMessagesMessageItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, requestConfiguration *ItemMessagesMessageItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -179,7 +179,7 @@ func (m *ItemMessagesMessageItemRequestBuilder) ReplyAll()(*ItemMessagesItemRepl func (m *ItemMessagesMessageItemRequestBuilder) Send()(*ItemMessagesItemSendRequestBuilder) { return NewItemMessagesItemSendRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. +// ToDeleteRequestInformation delete eventMessage. func (m *ItemMessagesMessageItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesMessageItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -207,7 +207,7 @@ func (m *ItemMessagesMessageItemRequestBuilder) ToGetRequestInformation(ctx cont } return requestInfo, nil } -// ToPatchRequestInformation update the properties of an eventMessage object. +// ToPatchRequestInformation update the properties of a message object. func (m *ItemMessagesMessageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, requestConfiguration *ItemMessagesMessageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -228,3 +228,7 @@ func (m *ItemMessagesMessageItemRequestBuilder) ToPatchRequestInformation(ctx co func (m *ItemMessagesMessageItemRequestBuilder) Unsubscribe()(*ItemMessagesItemUnsubscribeRequestBuilder) { return NewItemMessagesItemUnsubscribeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemMessagesMessageItemRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesMessageItemRequestBuilder) { + return NewItemMessagesMessageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_messages_request_builder.go b/users/item_messages_request_builder.go index da2ce83f0b4..53e12671cb5 100644 --- a/users/item_messages_request_builder.go +++ b/users/item_messages_request_builder.go @@ -20,7 +20,7 @@ type ItemMessagesRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` // Include Hidden Messages - IncludeHiddenMessages *string + IncludeHiddenMessages *string `uriparametername:"includeHiddenMessages"` // Order items by property values Orderby []string `uriparametername:"%24orderby"` // Search items by search phrases @@ -48,8 +48,8 @@ type ItemMessagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMessageIdString provides operations to manage the messages property of the microsoft.graph.user entity. -func (m *ItemMessagesRequestBuilder) ByMessageIdString(messageId string)(*ItemMessagesMessageItemRequestBuilder) { +// ByMessageId provides operations to manage the messages property of the microsoft.graph.user entity. +func (m *ItemMessagesRequestBuilder) ByMessageId(messageId string)(*ItemMessagesMessageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -83,7 +83,7 @@ func (m *ItemMessagesRequestBuilder) Delta()(*ItemMessagesDeltaRequestBuilder) { // Get the messages in a mailbox or folder. Read-only. Nullable. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-messages?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 func (m *ItemMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,10 +102,10 @@ func (m *ItemMessagesRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment.- Use a mention to call out another user in the new message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single action, or create a draft to forward, to reply or to reply-all to an existing message. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-post-messages?view=graph-rest-1.0 func (m *ItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -140,7 +140,7 @@ func (m *ItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context } return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment.- Use a mention to call out another user in the new message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single action, or create a draft to forward, to reply or to reply-all to an existing message. func (m *ItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -157,3 +157,7 @@ func (m *ItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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 *ItemMessagesRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesRequestBuilder) { + return NewItemMessagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mobile_app_intent_and_states_count_request_builder.go b/users/item_mobile_app_intent_and_states_count_request_builder.go index 13341ea75d4..0d3c73215f2 100644 --- a/users/item_mobile_app_intent_and_states_count_request_builder.go +++ b/users/item_mobile_app_intent_and_states_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMobileAppIntentAndStatesCountRequestBuilder) 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 *ItemMobileAppIntentAndStatesCountRequestBuilder) WithUrl(rawUrl string)(*ItemMobileAppIntentAndStatesCountRequestBuilder) { + return NewItemMobileAppIntentAndStatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mobile_app_intent_and_states_mobile_app_intent_and_state_item_request_builder.go b/users/item_mobile_app_intent_and_states_mobile_app_intent_and_state_item_request_builder.go index 08f311a1afc..532af488166 100644 --- a/users/item_mobile_app_intent_and_states_mobile_app_intent_and_state_item_request_builder.go +++ b/users/item_mobile_app_intent_and_states_mobile_app_intent_and_state_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemMobileAppIntentAndStatesMobileAppIntentAndStateItemRequestBuilder) } 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 *ItemMobileAppIntentAndStatesMobileAppIntentAndStateItemRequestBuilder) WithUrl(rawUrl string)(*ItemMobileAppIntentAndStatesMobileAppIntentAndStateItemRequestBuilder) { + return NewItemMobileAppIntentAndStatesMobileAppIntentAndStateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mobile_app_intent_and_states_request_builder.go b/users/item_mobile_app_intent_and_states_request_builder.go index fb6fccf9c90..fe4145aa6b5 100644 --- a/users/item_mobile_app_intent_and_states_request_builder.go +++ b/users/item_mobile_app_intent_and_states_request_builder.go @@ -46,8 +46,8 @@ type ItemMobileAppIntentAndStatesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMobileAppIntentAndStateIdString provides operations to manage the mobileAppIntentAndStates property of the microsoft.graph.user entity. -func (m *ItemMobileAppIntentAndStatesRequestBuilder) ByMobileAppIntentAndStateIdString(mobileAppIntentAndStateId string)(*ItemMobileAppIntentAndStatesMobileAppIntentAndStateItemRequestBuilder) { +// ByMobileAppIntentAndStateId provides operations to manage the mobileAppIntentAndStates property of the microsoft.graph.user entity. +func (m *ItemMobileAppIntentAndStatesRequestBuilder) ByMobileAppIntentAndStateId(mobileAppIntentAndStateId string)(*ItemMobileAppIntentAndStatesMobileAppIntentAndStateItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemMobileAppIntentAndStatesRequestBuilder) 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 *ItemMobileAppIntentAndStatesRequestBuilder) WithUrl(rawUrl string)(*ItemMobileAppIntentAndStatesRequestBuilder) { + return NewItemMobileAppIntentAndStatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mobile_app_troubleshooting_events_count_request_builder.go b/users/item_mobile_app_troubleshooting_events_count_request_builder.go index 45f6a63ce07..98f3fe1949b 100644 --- a/users/item_mobile_app_troubleshooting_events_count_request_builder.go +++ b/users/item_mobile_app_troubleshooting_events_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMobileAppTroubleshootingEventsCountRequestBuilder) ToGetRequestInfo } 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 *ItemMobileAppTroubleshootingEventsCountRequestBuilder) WithUrl(rawUrl string)(*ItemMobileAppTroubleshootingEventsCountRequestBuilder) { + return NewItemMobileAppTroubleshootingEventsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go b/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go index 5fa69d9f0f8..a07d1b323bb 100644 --- a/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go +++ b/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCol } 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 *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) WithUrl(rawUrl string)(*ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) { + return NewItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_count_request_builder.go b/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_count_request_builder.go index 797efb58878..a219dd72477 100644 --- a/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_count_request_builder.go +++ b/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsCountRequ } 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 *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsCountRequestBuilder) WithUrl(rawUrl string)(*ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsCountRequestBuilder) { + return NewItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_item_create_download_url_request_builder.go b/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_item_create_download_url_request_builder.go index 9768b07982c..230e35642e1 100644 --- a/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_item_create_download_url_request_builder.go +++ b/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_item_create_download_url_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsItemCreat } 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 *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsItemCreateDownloadUrlRequestBuilder) WithUrl(rawUrl string)(*ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsItemCreateDownloadUrlRequestBuilder) { + return NewItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsItemCreateDownloadUrlRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go b/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go index 37e613ca58b..2bf08b8ab85 100644 --- a/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go +++ b/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go @@ -46,8 +46,8 @@ type ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAppLogCollectionRequestIdString provides operations to manage the appLogCollectionRequests property of the microsoft.graph.mobileAppTroubleshootingEvent entity. -func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) ByAppLogCollectionRequestIdString(appLogCollectionRequestId string)(*ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) { +// ByAppLogCollectionRequestId provides operations to manage the appLogCollectionRequests property of the microsoft.graph.mobileAppTroubleshootingEvent entity. +func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) ByAppLogCollectionRequestId(appLogCollectionRequestId string)(*ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBu } 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 *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) WithUrl(rawUrl string)(*ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder) { + return NewItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mobile_app_troubleshooting_events_mobile_app_troubleshooting_event_item_request_builder.go b/users/item_mobile_app_troubleshooting_events_mobile_app_troubleshooting_event_item_request_builder.go index bc0f7b841bc..708ad9c3567 100644 --- a/users/item_mobile_app_troubleshooting_events_mobile_app_troubleshooting_event_item_request_builder.go +++ b/users/item_mobile_app_troubleshooting_events_mobile_app_troubleshooting_event_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemMobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequ } 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 *ItemMobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemMobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilder) { + return NewItemMobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mobile_app_troubleshooting_events_request_builder.go b/users/item_mobile_app_troubleshooting_events_request_builder.go index 5fb0459a97b..3ad57f3557a 100644 --- a/users/item_mobile_app_troubleshooting_events_request_builder.go +++ b/users/item_mobile_app_troubleshooting_events_request_builder.go @@ -46,8 +46,8 @@ type ItemMobileAppTroubleshootingEventsRequestBuilderPostRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMobileAppTroubleshootingEventIdString provides operations to manage the mobileAppTroubleshootingEvents property of the microsoft.graph.user entity. -func (m *ItemMobileAppTroubleshootingEventsRequestBuilder) ByMobileAppTroubleshootingEventIdString(mobileAppTroubleshootingEventId string)(*ItemMobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilder) { +// ByMobileAppTroubleshootingEventId provides operations to manage the mobileAppTroubleshootingEvents property of the microsoft.graph.user entity. +func (m *ItemMobileAppTroubleshootingEventsRequestBuilder) ByMobileAppTroubleshootingEventId(mobileAppTroubleshootingEventId string)(*ItemMobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemMobileAppTroubleshootingEventsRequestBuilder) ToPostRequestInformat } 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 *ItemMobileAppTroubleshootingEventsRequestBuilder) WithUrl(rawUrl string)(*ItemMobileAppTroubleshootingEventsRequestBuilder) { + return NewItemMobileAppTroubleshootingEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_notifications_count_request_builder.go b/users/item_notifications_count_request_builder.go index 8a5e9cd0827..9a7c8af4934 100644 --- a/users/item_notifications_count_request_builder.go +++ b/users/item_notifications_count_request_builder.go @@ -76,3 +76,8 @@ func (m *ItemNotificationsCountRequestBuilder) ToGetRequestInformation(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. +// Deprecated: The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation on 2023-03-09 and will be removed 2023-03-20 +func (m *ItemNotificationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemNotificationsCountRequestBuilder) { + return NewItemNotificationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_notifications_notification_item_request_builder.go b/users/item_notifications_notification_item_request_builder.go index 3b42718412e..b101ef5615b 100644 --- a/users/item_notifications_notification_item_request_builder.go +++ b/users/item_notifications_notification_item_request_builder.go @@ -159,3 +159,8 @@ func (m *ItemNotificationsNotificationItemRequestBuilder) ToPatchRequestInformat } 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. +// Deprecated: The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation on 2023-03-09 and will be removed 2023-03-20 +func (m *ItemNotificationsNotificationItemRequestBuilder) WithUrl(rawUrl string)(*ItemNotificationsNotificationItemRequestBuilder) { + return NewItemNotificationsNotificationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_notifications_request_builder.go b/users/item_notifications_request_builder.go index 80ebc59979e..3b76d633410 100644 --- a/users/item_notifications_request_builder.go +++ b/users/item_notifications_request_builder.go @@ -46,9 +46,9 @@ type ItemNotificationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByNotificationIdString provides operations to manage the notifications property of the microsoft.graph.user entity. +// ByNotificationId provides operations to manage the notifications property of the microsoft.graph.user entity. // Deprecated: The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation on 2023-03-09 and will be removed 2023-03-20 -func (m *ItemNotificationsRequestBuilder) ByNotificationIdString(notificationId string)(*ItemNotificationsNotificationItemRequestBuilder) { +func (m *ItemNotificationsRequestBuilder) ByNotificationId(notificationId string)(*ItemNotificationsNotificationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -150,3 +150,8 @@ func (m *ItemNotificationsRequestBuilder) ToPostRequestInformation(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. +// Deprecated: The Graph Notification API is deprecated and will stop returning data on March 20, 2023. as of 2023-03/Notification_Deprecation on 2023-03-09 and will be removed 2023-03-20 +func (m *ItemNotificationsRequestBuilder) WithUrl(rawUrl string)(*ItemNotificationsRequestBuilder) { + return NewItemNotificationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_oauth2_permission_grants_count_request_builder.go b/users/item_oauth2_permission_grants_count_request_builder.go index 08d86d8d97c..8e173e46611 100644 --- a/users/item_oauth2_permission_grants_count_request_builder.go +++ b/users/item_oauth2_permission_grants_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOauth2PermissionGrantsCountRequestBuilder) 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 *ItemOauth2PermissionGrantsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOauth2PermissionGrantsCountRequestBuilder) { + return NewItemOauth2PermissionGrantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_oauth2_permission_grants_o_auth2_permission_grant_item_request_builder.go b/users/item_oauth2_permission_grants_o_auth2_permission_grant_item_request_builder.go index 05d18967d3a..14eb3746d21 100644 --- a/users/item_oauth2_permission_grants_o_auth2_permission_grant_item_request_builder.go +++ b/users/item_oauth2_permission_grants_o_auth2_permission_grant_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOauth2PermissionGrantsOAuth2PermissionGrantItemRequestBuilder) ToGe } 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 *ItemOauth2PermissionGrantsOAuth2PermissionGrantItemRequestBuilder) WithUrl(rawUrl string)(*ItemOauth2PermissionGrantsOAuth2PermissionGrantItemRequestBuilder) { + return NewItemOauth2PermissionGrantsOAuth2PermissionGrantItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_oauth2_permission_grants_request_builder.go b/users/item_oauth2_permission_grants_request_builder.go index eeefa6c2409..a86d0e1ab92 100644 --- a/users/item_oauth2_permission_grants_request_builder.go +++ b/users/item_oauth2_permission_grants_request_builder.go @@ -39,8 +39,8 @@ type ItemOauth2PermissionGrantsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemOauth2PermissionGrantsRequestBuilderGetQueryParameters } -// ByOAuth2PermissionGrantIdString provides operations to manage the oauth2PermissionGrants property of the microsoft.graph.user entity. -func (m *ItemOauth2PermissionGrantsRequestBuilder) ByOAuth2PermissionGrantIdString(oAuth2PermissionGrantId string)(*ItemOauth2PermissionGrantsOAuth2PermissionGrantItemRequestBuilder) { +// ByOAuth2PermissionGrantId provides operations to manage the oauth2PermissionGrants property of the microsoft.graph.user entity. +func (m *ItemOauth2PermissionGrantsRequestBuilder) ByOAuth2PermissionGrantId(oAuth2PermissionGrantId string)(*ItemOauth2PermissionGrantsOAuth2PermissionGrantItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemOauth2PermissionGrantsRequestBuilder) ToGetRequestInformation(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 *ItemOauth2PermissionGrantsRequestBuilder) WithUrl(rawUrl string)(*ItemOauth2PermissionGrantsRequestBuilder) { + return NewItemOauth2PermissionGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_count_request_builder.go b/users/item_onenote_notebooks_count_request_builder.go index 7d33dda02c7..dd5a4e4e981 100644 --- a/users/item_onenote_notebooks_count_request_builder.go +++ b/users/item_onenote_notebooks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteNotebooksCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemOnenoteNotebooksCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksCountRequestBuilder) { + return NewItemOnenoteNotebooksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go b/users/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go index f42d35b583f..aa58eb539ec 100644 --- a/users/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go +++ b/users/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder) ToPostRequestI } 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 *ItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder) { + return NewItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go b/users/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go index a31f85efc48..46957adead1 100644 --- a/users/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go +++ b/users/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksReque } 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 *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) { + return NewItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_copy_notebook_request_builder.go b/users/item_onenote_notebooks_item_copy_notebook_request_builder.go index 79025261fe0..5aee54c8316 100644 --- a/users/item_onenote_notebooks_item_copy_notebook_request_builder.go +++ b/users/item_onenote_notebooks_item_copy_notebook_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksItemCopyNotebookRequestBuilder) ToPostRequestInform } 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 *ItemOnenoteNotebooksItemCopyNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemCopyNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemCopyNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_count_request_builder.go b/users/item_onenote_notebooks_item_section_groups_count_request_builder.go index ba1b31d6cf1..8520a11cfc5 100644 --- a/users/item_onenote_notebooks_item_section_groups_count_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsCountRequestBuilder) ToGetRequestI } 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 *ItemOnenoteNotebooksItemSectionGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsCountRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go index 8fe7c7e3daa..2e2b7ee79a6 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemParentNotebookRequestBuilder) } 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 *ItemOnenoteNotebooksItemSectionGroupsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemParentNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go index 655fbf604bd..9795ef72565 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemParentSectionGroupRequestBuild } 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 *ItemOnenoteNotebooksItemSectionGroupsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemParentSectionGroupRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_item_section_groups_count_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_section_groups_count_request_builder.go index 32a0287c968..9a70d84472c 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_section_groups_count_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_section_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuild } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go index f14d913dff4..88c261e72cd 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go @@ -39,8 +39,8 @@ type ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetRequ // Request query parameters QueryParameters *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters } -// BySectionGroupId1String provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. -func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) BySectionGroupId1String(sectionGroupId1 string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { +// BySectionGroupId1 provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. +func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) BySectionGroupId1(sectionGroupId1 string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) T } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go index 3600c7e02dd..97a0abcc557 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemR } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_count_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_count_request_builder.go index 600dc8f8c67..61c28080497 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_count_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilder) T } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go index 628b8ec308c..9ac311100fc 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequ } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go index a45c0dda5fa..f2f9e78b414 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroup } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_count_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_count_request_builder.go index 482a6d9d92b..f75ee7f275d 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_count_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesCountRequestB } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesCountRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go index 5cd4c2121f5..24058499354 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemContentRe } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index 05e3bd249e7..db104f2b34f 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSec } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go index a66c4497853..03b035b51d6 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePa } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go index 6227b245124..5a129c9a87f 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentNot } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go index 9c5f4bbed9e..b546790886b 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentSec } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go index 69a49b0efb1..e2a5a6a1740 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemPreviewRe } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go index a1d892a4a9a..63d63364624 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go @@ -177,3 +177,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageIt } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go index cb567367f9f..f73f1d44e4c 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilderPos // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenotePageIdString provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. -func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilder) ByOnenotePageIdString(onenotePageId string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { +// ByOnenotePageId provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. +func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilder) ByOnenotePageId(onenotePageId string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilde } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go index 5cda85164af..530ca01977c 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentNotebookRequ } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go index 7a203b4f4ff..d53ac4fd34b 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentSectionGroup } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go index 426d059bc3f..18fd2cb41d2 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequ } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go index 37159cafcac..0e07859aa6f 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteSectionIdString provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. -func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ByOnenoteSectionIdString(onenoteSectionId string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { +// ByOnenoteSectionId provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. +func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ByOnenoteSectionId(onenoteSectionId string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ToPost } 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 *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_request_builder.go b/users/item_onenote_notebooks_item_section_groups_request_builder.go index c3bfb59c8e2..c99d30b4229 100644 --- a/users/item_onenote_notebooks_item_section_groups_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteNotebooksItemSectionGroupsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySectionGroupIdString provides operations to manage the sectionGroups property of the microsoft.graph.notebook entity. -func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) BySectionGroupIdString(sectionGroupId string)(*ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) { +// BySectionGroupId provides operations to manage the sectionGroups property of the microsoft.graph.notebook entity. +func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) BySectionGroupId(sectionGroupId string)(*ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToPostRequestInfor } 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 *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go b/users/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go index 1f22fadf149..fdd4a6ee59d 100644 --- a/users/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go @@ -169,3 +169,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) To } 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 *ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_sections_count_request_builder.go b/users/item_onenote_notebooks_item_sections_count_request_builder.go index f12ce5a228a..ebf2be40ecb 100644 --- a/users/item_onenote_notebooks_item_sections_count_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteNotebooksItemSectionsCountRequestBuilder) ToGetRequestInform } 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 *ItemOnenoteNotebooksItemSectionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsCountRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go b/users/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go index fd5a8ff3d94..56d9b47b69d 100644 --- a/users/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder) ToPos } 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 *ItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go b/users/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go index afd7e1ef917..83fcdcfdc87 100644 --- a/users/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder) T } 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 *ItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_sections_item_pages_count_request_builder.go b/users/item_onenote_notebooks_item_sections_item_pages_count_request_builder.go index 125ee16a8f0..45d058300c1 100644 --- a/users/item_onenote_notebooks_item_sections_item_pages_count_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesCountRequestBuilder) ToGetRequ } 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 *ItemOnenoteNotebooksItemSectionsItemPagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesCountRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go b/users/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go index 507361c2e03..71012efe477 100644 --- a/users/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBuilder) 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 *ItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go b/users/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go index aff55eb0230..16760c19940 100644 --- a/users/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilde } 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 *ItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/users/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go index 59074787f04..38d42b5af47 100644 --- a/users/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentRequest } 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 *ItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go b/users/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go index a83ecae5c81..ec1788ec654 100644 --- a/users/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemParentNotebookRequestBuild } 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 *ItemOnenoteNotebooksItemSectionsItemPagesItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesItemParentNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go b/users/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go index ad04393e4b6..da2e63a99a5 100644 --- a/users/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemParentSectionRequestBuilde } 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 *ItemOnenoteNotebooksItemSectionsItemPagesItemParentSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesItemParentSectionRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesItemParentSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go b/users/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go index 3d9c4b4f25c..57725953738 100644 --- a/users/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemPreviewRequestBuilder) ToG } 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 *ItemOnenoteNotebooksItemSectionsItemPagesItemPreviewRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesItemPreviewRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesItemPreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go b/users/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go index 872d71bf238..a017b05b901 100644 --- a/users/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go @@ -177,3 +177,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) } 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 *ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_sections_item_pages_request_builder.go b/users/item_onenote_notebooks_item_sections_item_pages_request_builder.go index f90ba72310f..7186b6b591e 100644 --- a/users/item_onenote_notebooks_item_sections_item_pages_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_pages_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenotePageIdString provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. -func (m *ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) ByOnenotePageIdString(onenotePageId string)(*ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) { +// ByOnenotePageId provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. +func (m *ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) ByOnenotePageId(onenotePageId string)(*ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) ToPostRequestI } 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 *ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go b/users/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go index 5ee7b470a0f..c8fb4acdd5a 100644 --- a/users/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemParentNotebookRequestBuilder) ToGet } 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 *ItemOnenoteNotebooksItemSectionsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemParentNotebookRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go b/users/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go index 91e0d3c3c4f..cf318c2256e 100644 --- a/users/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemParentSectionGroupRequestBuilder) T } 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 *ItemOnenoteNotebooksItemSectionsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsItemParentSectionGroupRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go b/users/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go index 9d72abb4720..029fae74600 100644 --- a/users/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) 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 *ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_item_sections_request_builder.go b/users/item_onenote_notebooks_item_sections_request_builder.go index ba21b5f88ed..012c5527645 100644 --- a/users/item_onenote_notebooks_item_sections_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteNotebooksItemSectionsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteSectionIdString provides operations to manage the sections property of the microsoft.graph.notebook entity. -func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ByOnenoteSectionIdString(onenoteSectionId string)(*ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) { +// ByOnenoteSectionId provides operations to manage the sections property of the microsoft.graph.notebook entity. +func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ByOnenoteSectionId(onenoteSectionId string)(*ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ToPostRequestInformatio } 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 *ItemOnenoteNotebooksItemSectionsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksItemSectionsRequestBuilder) { + return NewItemOnenoteNotebooksItemSectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_notebook_item_request_builder.go b/users/item_onenote_notebooks_notebook_item_request_builder.go index 31089c44028..75a6f8edfba 100644 --- a/users/item_onenote_notebooks_notebook_item_request_builder.go +++ b/users/item_onenote_notebooks_notebook_item_request_builder.go @@ -168,3 +168,7 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) ToPatchRequestInformati } 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 *ItemOnenoteNotebooksNotebookItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksNotebookItemRequestBuilder) { + return NewItemOnenoteNotebooksNotebookItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_notebooks_request_builder.go b/users/item_onenote_notebooks_request_builder.go index f0927ab5a52..93ecefe34c2 100644 --- a/users/item_onenote_notebooks_request_builder.go +++ b/users/item_onenote_notebooks_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteNotebooksRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByNotebookIdString provides operations to manage the notebooks property of the microsoft.graph.onenote entity. -func (m *ItemOnenoteNotebooksRequestBuilder) ByNotebookIdString(notebookId string)(*ItemOnenoteNotebooksNotebookItemRequestBuilder) { +// ByNotebookId provides operations to manage the notebooks property of the microsoft.graph.onenote entity. +func (m *ItemOnenoteNotebooksRequestBuilder) ByNotebookId(notebookId string)(*ItemOnenoteNotebooksNotebookItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -159,3 +159,7 @@ func (m *ItemOnenoteNotebooksRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemOnenoteNotebooksRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteNotebooksRequestBuilder) { + return NewItemOnenoteNotebooksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_operations_count_request_builder.go b/users/item_onenote_operations_count_request_builder.go index b2449524e5a..af48894fd4e 100644 --- a/users/item_onenote_operations_count_request_builder.go +++ b/users/item_onenote_operations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteOperationsCountRequestBuilder) ToGetRequestInformation(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 *ItemOnenoteOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteOperationsCountRequestBuilder) { + return NewItemOnenoteOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_operations_onenote_operation_item_request_builder.go b/users/item_onenote_operations_onenote_operation_item_request_builder.go index 128e1677281..b359a5c958c 100644 --- a/users/item_onenote_operations_onenote_operation_item_request_builder.go +++ b/users/item_onenote_operations_onenote_operation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnenoteOperationsOnenoteOperationItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. type ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) Delete(ctx con } return nil } -// Get get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// Get get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/onenoteoperation-get?view=graph-rest-1.0 @@ -123,7 +123,7 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToDeleteReques } return requestInfo, nil } -// ToGetRequestInformation get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ToGetRequestInformation get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -156,3 +156,7 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToPatchRequest } 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 *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) { + return NewItemOnenoteOperationsOnenoteOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_operations_request_builder.go b/users/item_onenote_operations_request_builder.go index 00acbb47b01..4043396b7f7 100644 --- a/users/item_onenote_operations_request_builder.go +++ b/users/item_onenote_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteOperationsRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ItemOnenoteOperationsRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. type ItemOnenoteOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type ItemOnenoteOperationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteOperationIdString provides operations to manage the operations property of the microsoft.graph.onenote entity. -func (m *ItemOnenoteOperationsRequestBuilder) ByOnenoteOperationIdString(onenoteOperationId string)(*ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) { +// ByOnenoteOperationId provides operations to manage the operations property of the microsoft.graph.onenote entity. +func (m *ItemOnenoteOperationsRequestBuilder) ByOnenoteOperationId(onenoteOperationId string)(*ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -74,7 +74,7 @@ func NewItemOnenoteOperationsRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *ItemOnenoteOperationsRequestBuilder) Count()(*ItemOnenoteOperationsCountRequestBuilder) { return NewItemOnenoteOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// Get get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. func (m *ItemOnenoteOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +112,7 @@ func (m *ItemOnenoteOperationsRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable), nil } -// ToGetRequestInformation get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ToGetRequestInformation get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. func (m *ItemOnenoteOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -145,3 +145,7 @@ func (m *ItemOnenoteOperationsRequestBuilder) 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 *ItemOnenoteOperationsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteOperationsRequestBuilder) { + return NewItemOnenoteOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_pages_count_request_builder.go b/users/item_onenote_pages_count_request_builder.go index b178d02edd5..6b43900dc09 100644 --- a/users/item_onenote_pages_count_request_builder.go +++ b/users/item_onenote_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenotePagesCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemOnenotePagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesCountRequestBuilder) { + return NewItemOnenotePagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_pages_item_content_request_builder.go b/users/item_onenote_pages_item_content_request_builder.go index 4768c134737..15186eb96e0 100644 --- a/users/item_onenote_pages_item_content_request_builder.go +++ b/users/item_onenote_pages_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemOnenotePagesItemContentRequestBuilder) ToPutRequestInformation(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 *ItemOnenotePagesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesItemContentRequestBuilder) { + return NewItemOnenotePagesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_pages_item_copy_to_section_request_builder.go b/users/item_onenote_pages_item_copy_to_section_request_builder.go index b93b17be1d1..4695b925cff 100644 --- a/users/item_onenote_pages_item_copy_to_section_request_builder.go +++ b/users/item_onenote_pages_item_copy_to_section_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenotePagesItemCopyToSectionRequestBuilder) ToPostRequestInformati } 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 *ItemOnenotePagesItemCopyToSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesItemCopyToSectionRequestBuilder) { + return NewItemOnenotePagesItemCopyToSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_pages_item_onenote_patch_content_request_builder.go b/users/item_onenote_pages_item_onenote_patch_content_request_builder.go index 895e46090bd..46dd6e8399f 100644 --- a/users/item_onenote_pages_item_onenote_patch_content_request_builder.go +++ b/users/item_onenote_pages_item_onenote_patch_content_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemOnenotePagesItemOnenotePatchContentRequestBuilder) ToPostRequestInf } 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 *ItemOnenotePagesItemOnenotePatchContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesItemOnenotePatchContentRequestBuilder) { + return NewItemOnenotePagesItemOnenotePatchContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_pages_item_parent_notebook_request_builder.go b/users/item_onenote_pages_item_parent_notebook_request_builder.go index 57bc5eb57a0..8cba5d8954f 100644 --- a/users/item_onenote_pages_item_parent_notebook_request_builder.go +++ b/users/item_onenote_pages_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenotePagesItemParentNotebookRequestBuilder) ToGetRequestInformati } 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 *ItemOnenotePagesItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesItemParentNotebookRequestBuilder) { + return NewItemOnenotePagesItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_pages_item_parent_section_request_builder.go b/users/item_onenote_pages_item_parent_section_request_builder.go index 288d1fb1612..aa40b99c59c 100644 --- a/users/item_onenote_pages_item_parent_section_request_builder.go +++ b/users/item_onenote_pages_item_parent_section_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenotePagesItemParentSectionRequestBuilder) 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 *ItemOnenotePagesItemParentSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesItemParentSectionRequestBuilder) { + return NewItemOnenotePagesItemParentSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_pages_item_preview_request_builder.go b/users/item_onenote_pages_item_preview_request_builder.go index 72a798c6272..93eb5bfcbf2 100644 --- a/users/item_onenote_pages_item_preview_request_builder.go +++ b/users/item_onenote_pages_item_preview_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemOnenotePagesItemPreviewRequestBuilder) ToGetRequestInformation(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 *ItemOnenotePagesItemPreviewRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesItemPreviewRequestBuilder) { + return NewItemOnenotePagesItemPreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_pages_onenote_page_item_request_builder.go b/users/item_onenote_pages_onenote_page_item_request_builder.go index da9a7a0c080..275245fa37e 100644 --- a/users/item_onenote_pages_onenote_page_item_request_builder.go +++ b/users/item_onenote_pages_onenote_page_item_request_builder.go @@ -180,3 +180,7 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) ToPatchRequestInformatio } 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 *ItemOnenotePagesOnenotePageItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesOnenotePageItemRequestBuilder) { + return NewItemOnenotePagesOnenotePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_pages_request_builder.go b/users/item_onenote_pages_request_builder.go index 573e3a2b8df..0eb6bb38201 100644 --- a/users/item_onenote_pages_request_builder.go +++ b/users/item_onenote_pages_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenotePagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenotePageIdString provides operations to manage the pages property of the microsoft.graph.onenote entity. -func (m *ItemOnenotePagesRequestBuilder) ByOnenotePageIdString(onenotePageId string)(*ItemOnenotePagesOnenotePageItemRequestBuilder) { +// ByOnenotePageId provides operations to manage the pages property of the microsoft.graph.onenote entity. +func (m *ItemOnenotePagesRequestBuilder) ByOnenotePageId(onenotePageId string)(*ItemOnenotePagesOnenotePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemOnenotePagesRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ItemOnenotePagesRequestBuilder) WithUrl(rawUrl string)(*ItemOnenotePagesRequestBuilder) { + return NewItemOnenotePagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_request_builder.go b/users/item_onenote_request_builder.go index af875ea6ab2..106198e60f8 100644 --- a/users/item_onenote_request_builder.go +++ b/users/item_onenote_request_builder.go @@ -177,3 +177,7 @@ func (m *ItemOnenoteRequestBuilder) ToPatchRequestInformation(ctx context.Contex } 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 *ItemOnenoteRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteRequestBuilder) { + return NewItemOnenoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_resources_count_request_builder.go b/users/item_onenote_resources_count_request_builder.go index 26c3de961a5..90dfa50cb29 100644 --- a/users/item_onenote_resources_count_request_builder.go +++ b/users/item_onenote_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteResourcesCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemOnenoteResourcesCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteResourcesCountRequestBuilder) { + return NewItemOnenoteResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_resources_item_content_request_builder.go b/users/item_onenote_resources_item_content_request_builder.go index 3e5b5eba0b8..1ff95ee2fc1 100644 --- a/users/item_onenote_resources_item_content_request_builder.go +++ b/users/item_onenote_resources_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemOnenoteResourcesItemContentRequestBuilder) ToPutRequestInformation( } 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 *ItemOnenoteResourcesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteResourcesItemContentRequestBuilder) { + return NewItemOnenoteResourcesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_resources_onenote_resource_item_request_builder.go b/users/item_onenote_resources_onenote_resource_item_request_builder.go index 1b4d526975c..33c24c42a4d 100644 --- a/users/item_onenote_resources_onenote_resource_item_request_builder.go +++ b/users/item_onenote_resources_onenote_resource_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) ToPatchRequestIn } 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 *ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) { + return NewItemOnenoteResourcesOnenoteResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_resources_request_builder.go b/users/item_onenote_resources_request_builder.go index 4d70ed54220..416209b4d35 100644 --- a/users/item_onenote_resources_request_builder.go +++ b/users/item_onenote_resources_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteResourcesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteResourceIdString provides operations to manage the resources property of the microsoft.graph.onenote entity. -func (m *ItemOnenoteResourcesRequestBuilder) ByOnenoteResourceIdString(onenoteResourceId string)(*ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) { +// ByOnenoteResourceId provides operations to manage the resources property of the microsoft.graph.onenote entity. +func (m *ItemOnenoteResourcesRequestBuilder) ByOnenoteResourceId(onenoteResourceId string)(*ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemOnenoteResourcesRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemOnenoteResourcesRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteResourcesRequestBuilder) { + return NewItemOnenoteResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_count_request_builder.go b/users/item_onenote_section_groups_count_request_builder.go index c7db2e6908b..a40a830b0ce 100644 --- a/users/item_onenote_section_groups_count_request_builder.go +++ b/users/item_onenote_section_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteSectionGroupsCountRequestBuilder) ToGetRequestInformation(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 *ItemOnenoteSectionGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsCountRequestBuilder) { + return NewItemOnenoteSectionGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_item_parent_notebook_request_builder.go b/users/item_onenote_section_groups_item_parent_notebook_request_builder.go index d2f38f8fddd..0cadc81694c 100644 --- a/users/item_onenote_section_groups_item_parent_notebook_request_builder.go +++ b/users/item_onenote_section_groups_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionGroupsItemParentNotebookRequestBuilder) ToGetRequestI } 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 *ItemOnenoteSectionGroupsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemParentNotebookRequestBuilder) { + return NewItemOnenoteSectionGroupsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_item_parent_section_group_request_builder.go b/users/item_onenote_section_groups_item_parent_section_group_request_builder.go index 2e6cea829be..dc973e79547 100644 --- a/users/item_onenote_section_groups_item_parent_section_group_request_builder.go +++ b/users/item_onenote_section_groups_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionGroupsItemParentSectionGroupRequestBuilder) ToGetRequ } 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 *ItemOnenoteSectionGroupsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemParentSectionGroupRequestBuilder) { + return NewItemOnenoteSectionGroupsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_item_section_groups_count_request_builder.go b/users/item_onenote_section_groups_item_section_groups_count_request_builder.go index e4387d22b3d..dd43a41fc94 100644 --- a/users/item_onenote_section_groups_item_section_groups_count_request_builder.go +++ b/users/item_onenote_section_groups_item_section_groups_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilder) ToGetRequ } 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 *ItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_item_section_groups_request_builder.go b/users/item_onenote_section_groups_item_section_groups_request_builder.go index 9dcd085ec5d..58c02c19bed 100644 --- a/users/item_onenote_section_groups_item_section_groups_request_builder.go +++ b/users/item_onenote_section_groups_item_section_groups_request_builder.go @@ -39,8 +39,8 @@ type ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetRequestConfigurat // Request query parameters QueryParameters *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters } -// BySectionGroupId1String provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. -func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) BySectionGroupId1String(sectionGroupId1 string)(*ItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { +// BySectionGroupId1 provides operations to manage the sectionGroups property of the microsoft.graph.sectionGroup entity. +func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) BySectionGroupId1(sectionGroupId1 string)(*ItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) ToGetRequestIn } 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 *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go b/users/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go index 94b580a2e2c..6371ac4f1be 100644 --- a/users/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go +++ b/users/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder } 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 *ItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_item_sections_count_request_builder.go b/users/item_onenote_section_groups_item_sections_count_request_builder.go index 1f0a9b41ee0..e453a4540fa 100644 --- a/users/item_onenote_section_groups_item_sections_count_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsCountRequestBuilder) ToGetRequestIn } 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 *ItemOnenoteSectionGroupsItemSectionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsCountRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/users/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go index 46db4be7594..dcdbd405db4 100644 --- a/users/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) T } 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 *ItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/users/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go index 492411effef..79493b36422 100644 --- a/users/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilde } 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 *ItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_item_sections_item_pages_count_request_builder.go b/users/item_onenote_section_groups_item_sections_item_pages_count_request_builder.go index 6902d77fda2..e99cb3e525d 100644 --- a/users/item_onenote_section_groups_item_sections_item_pages_count_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesCountRequestBuilder) ToGet } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesCountRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go b/users/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go index 0c371958ade..b11c92d3dda 100644 --- a/users/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/users/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index 7431d6e49fb..dbe18ce7a2e 100644 --- a/users/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBu } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/users/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go index 84229b7a274..7eb4616b55e 100644 --- a/users/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentReq } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go b/users/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go index ecad17e7ddd..8341e647e6c 100644 --- a/users/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentNotebookRequestB } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go b/users/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go index 2aecf5abe8b..06a2ada5fbc 100644 --- a/users/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentSectionRequestBu } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesItemParentSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go b/users/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go index 3210e1f7b69..08bf3455743 100644 --- a/users/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder) } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go b/users/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go index 9d84d843f00..927524a76c9 100644 --- a/users/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go @@ -177,3 +177,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuil } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_item_sections_item_pages_request_builder.go b/users/item_onenote_section_groups_item_sections_item_pages_request_builder.go index adbfd5e5154..356e2e2da3b 100644 --- a/users/item_onenote_section_groups_item_sections_item_pages_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_pages_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenotePageIdString provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. -func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) ByOnenotePageIdString(onenotePageId string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { +// ByOnenotePageId provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. +func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) ByOnenotePageId(onenotePageId string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) ToPostRequ } 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 *ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go b/users/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go index 46dd8c1a11f..3557aab3807 100644 --- a/users/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemParentNotebookRequestBuilder) T } 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 *ItemOnenoteSectionGroupsItemSectionsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemParentNotebookRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go b/users/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go index 36fced34ea7..4816585f978 100644 --- a/users/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemParentSectionGroupRequestBuilde } 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 *ItemOnenoteSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go b/users/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go index 74d9ff41d09..b718124af0e 100644 --- a/users/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) T } 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 *ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_item_sections_request_builder.go b/users/item_onenote_section_groups_item_sections_request_builder.go index c6beca2b9f6..d00b3879cbf 100644 --- a/users/item_onenote_section_groups_item_sections_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteSectionGroupsItemSectionsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteSectionIdString provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. -func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ByOnenoteSectionIdString(onenoteSectionId string)(*ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { +// ByOnenoteSectionId provides operations to manage the sections property of the microsoft.graph.sectionGroup entity. +func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ByOnenoteSectionId(onenoteSectionId string)(*ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToPostRequestInform } 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 *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsItemSectionsRequestBuilder) { + return NewItemOnenoteSectionGroupsItemSectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_request_builder.go b/users/item_onenote_section_groups_request_builder.go index c0c651f58bd..e37c7f88f28 100644 --- a/users/item_onenote_section_groups_request_builder.go +++ b/users/item_onenote_section_groups_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteSectionGroupsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySectionGroupIdString provides operations to manage the sectionGroups property of the microsoft.graph.onenote entity. -func (m *ItemOnenoteSectionGroupsRequestBuilder) BySectionGroupIdString(sectionGroupId string)(*ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) { +// BySectionGroupId provides operations to manage the sectionGroups property of the microsoft.graph.onenote entity. +func (m *ItemOnenoteSectionGroupsRequestBuilder) BySectionGroupId(sectionGroupId string)(*ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemOnenoteSectionGroupsRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemOnenoteSectionGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsRequestBuilder) { + return NewItemOnenoteSectionGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_section_groups_section_group_item_request_builder.go b/users/item_onenote_section_groups_section_group_item_request_builder.go index ed90cda7884..635b697a897 100644 --- a/users/item_onenote_section_groups_section_group_item_request_builder.go +++ b/users/item_onenote_section_groups_section_group_item_request_builder.go @@ -172,3 +172,7 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToPatchRequestI } 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 *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) { + return NewItemOnenoteSectionGroupsSectionGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_sections_count_request_builder.go b/users/item_onenote_sections_count_request_builder.go index 64eba71db45..2002f518414 100644 --- a/users/item_onenote_sections_count_request_builder.go +++ b/users/item_onenote_sections_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteSectionsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemOnenoteSectionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsCountRequestBuilder) { + return NewItemOnenoteSectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_sections_item_copy_to_notebook_request_builder.go b/users/item_onenote_sections_item_copy_to_notebook_request_builder.go index 63032390e68..7027aec1502 100644 --- a/users/item_onenote_sections_item_copy_to_notebook_request_builder.go +++ b/users/item_onenote_sections_item_copy_to_notebook_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteSectionsItemCopyToNotebookRequestBuilder) ToPostRequestInfor } 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 *ItemOnenoteSectionsItemCopyToNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemCopyToNotebookRequestBuilder) { + return NewItemOnenoteSectionsItemCopyToNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_sections_item_copy_to_section_group_request_builder.go b/users/item_onenote_sections_item_copy_to_section_group_request_builder.go index 0e4195719a2..905a8e1ab4b 100644 --- a/users/item_onenote_sections_item_copy_to_section_group_request_builder.go +++ b/users/item_onenote_sections_item_copy_to_section_group_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder) ToPostRequestI } 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 *ItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder) { + return NewItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_sections_item_pages_count_request_builder.go b/users/item_onenote_sections_item_pages_count_request_builder.go index 6c28ff1d1c8..cec763f36c0 100644 --- a/users/item_onenote_sections_item_pages_count_request_builder.go +++ b/users/item_onenote_sections_item_pages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnenoteSectionsItemPagesCountRequestBuilder) 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 *ItemOnenoteSectionsItemPagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesCountRequestBuilder) { + return NewItemOnenoteSectionsItemPagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_sections_item_pages_item_content_request_builder.go b/users/item_onenote_sections_item_pages_item_content_request_builder.go index 69e05953c63..3568f5ac209 100644 --- a/users/item_onenote_sections_item_pages_item_content_request_builder.go +++ b/users/item_onenote_sections_item_pages_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemOnenoteSectionsItemPagesItemContentRequestBuilder) ToPutRequestInfo } 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 *ItemOnenoteSectionsItemPagesItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesItemContentRequestBuilder) { + return NewItemOnenoteSectionsItemPagesItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go b/users/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go index 8521d6f550e..28bdf17eb1c 100644 --- a/users/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go +++ b/users/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder) ToPostRequ } 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 *ItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder) { + return NewItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go b/users/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go index 3b174634373..d85c146c912 100644 --- a/users/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/users/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemOnenoteSectionsItemPagesItemOnenotePatchContentRequestBuilder) ToPo } 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 *ItemOnenoteSectionsItemPagesItemOnenotePatchContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesItemOnenotePatchContentRequestBuilder) { + return NewItemOnenoteSectionsItemPagesItemOnenotePatchContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go b/users/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go index 3158395d881..d7da460fd28 100644 --- a/users/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go +++ b/users/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionsItemPagesItemParentNotebookRequestBuilder) ToGetRequ } 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 *ItemOnenoteSectionsItemPagesItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesItemParentNotebookRequestBuilder) { + return NewItemOnenoteSectionsItemPagesItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_sections_item_pages_item_parent_section_request_builder.go b/users/item_onenote_sections_item_pages_item_parent_section_request_builder.go index 59398a84a0e..5ac69b2275c 100644 --- a/users/item_onenote_sections_item_pages_item_parent_section_request_builder.go +++ b/users/item_onenote_sections_item_pages_item_parent_section_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionsItemPagesItemParentSectionRequestBuilder) ToGetReque } 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 *ItemOnenoteSectionsItemPagesItemParentSectionRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesItemParentSectionRequestBuilder) { + return NewItemOnenoteSectionsItemPagesItemParentSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_sections_item_pages_item_preview_request_builder.go b/users/item_onenote_sections_item_pages_item_preview_request_builder.go index d91c3b495ac..afabdbf2dff 100644 --- a/users/item_onenote_sections_item_pages_item_preview_request_builder.go +++ b/users/item_onenote_sections_item_pages_item_preview_request_builder.go @@ -63,3 +63,7 @@ func (m *ItemOnenoteSectionsItemPagesItemPreviewRequestBuilder) ToGetRequestInfo } 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 *ItemOnenoteSectionsItemPagesItemPreviewRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesItemPreviewRequestBuilder) { + return NewItemOnenoteSectionsItemPagesItemPreviewRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_sections_item_pages_onenote_page_item_request_builder.go b/users/item_onenote_sections_item_pages_onenote_page_item_request_builder.go index 79f8d5f6cc5..73eaee6e66a 100644 --- a/users/item_onenote_sections_item_pages_onenote_page_item_request_builder.go +++ b/users/item_onenote_sections_item_pages_onenote_page_item_request_builder.go @@ -177,3 +177,7 @@ func (m *ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) ToPatchReque } 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 *ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) { + return NewItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_sections_item_pages_request_builder.go b/users/item_onenote_sections_item_pages_request_builder.go index 43bac8563b3..9c010376127 100644 --- a/users/item_onenote_sections_item_pages_request_builder.go +++ b/users/item_onenote_sections_item_pages_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteSectionsItemPagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenotePageIdString provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. -func (m *ItemOnenoteSectionsItemPagesRequestBuilder) ByOnenotePageIdString(onenotePageId string)(*ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) { +// ByOnenotePageId provides operations to manage the pages property of the microsoft.graph.onenoteSection entity. +func (m *ItemOnenoteSectionsItemPagesRequestBuilder) ByOnenotePageId(onenotePageId string)(*ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemOnenoteSectionsItemPagesRequestBuilder) 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 *ItemOnenoteSectionsItemPagesRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemPagesRequestBuilder) { + return NewItemOnenoteSectionsItemPagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_sections_item_parent_notebook_request_builder.go b/users/item_onenote_sections_item_parent_notebook_request_builder.go index 67f0ad89fb1..d070ce4b6a3 100644 --- a/users/item_onenote_sections_item_parent_notebook_request_builder.go +++ b/users/item_onenote_sections_item_parent_notebook_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionsItemParentNotebookRequestBuilder) ToGetRequestInform } 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 *ItemOnenoteSectionsItemParentNotebookRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemParentNotebookRequestBuilder) { + return NewItemOnenoteSectionsItemParentNotebookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_sections_item_parent_section_group_request_builder.go b/users/item_onenote_sections_item_parent_section_group_request_builder.go index 6166488fa80..0816216f6d6 100644 --- a/users/item_onenote_sections_item_parent_section_group_request_builder.go +++ b/users/item_onenote_sections_item_parent_section_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOnenoteSectionsItemParentSectionGroupRequestBuilder) ToGetRequestIn } 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 *ItemOnenoteSectionsItemParentSectionGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsItemParentSectionGroupRequestBuilder) { + return NewItemOnenoteSectionsItemParentSectionGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_sections_onenote_section_item_request_builder.go b/users/item_onenote_sections_onenote_section_item_request_builder.go index 470c5ea52c8..5878bd8f0c8 100644 --- a/users/item_onenote_sections_onenote_section_item_request_builder.go +++ b/users/item_onenote_sections_onenote_section_item_request_builder.go @@ -176,3 +176,7 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) 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 *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) { + return NewItemOnenoteSectionsOnenoteSectionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_onenote_sections_request_builder.go b/users/item_onenote_sections_request_builder.go index c95f9a299c7..65b60d3fcf4 100644 --- a/users/item_onenote_sections_request_builder.go +++ b/users/item_onenote_sections_request_builder.go @@ -46,8 +46,8 @@ type ItemOnenoteSectionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnenoteSectionIdString provides operations to manage the sections property of the microsoft.graph.onenote entity. -func (m *ItemOnenoteSectionsRequestBuilder) ByOnenoteSectionIdString(onenoteSectionId string)(*ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) { +// ByOnenoteSectionId provides operations to manage the sections property of the microsoft.graph.onenote entity. +func (m *ItemOnenoteSectionsRequestBuilder) ByOnenoteSectionId(onenoteSectionId string)(*ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemOnenoteSectionsRequestBuilder) 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 *ItemOnenoteSectionsRequestBuilder) WithUrl(rawUrl string)(*ItemOnenoteSectionsRequestBuilder) { + return NewItemOnenoteSectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_count_request_builder.go b/users/item_online_meetings_count_request_builder.go index 6ce5ce94c38..61b1524b73c 100644 --- a/users/item_online_meetings_count_request_builder.go +++ b/users/item_online_meetings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnlineMeetingsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemOnlineMeetingsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsCountRequestBuilder) { + return NewItemOnlineMeetingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_create_or_get_request_builder.go b/users/item_online_meetings_create_or_get_request_builder.go index 233928990ad..10aef354cae 100644 --- a/users/item_online_meetings_create_or_get_request_builder.go +++ b/users/item_online_meetings_create_or_get_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemOnlineMeetingsCreateOrGetRequestBuilder) ToPostRequestInformation(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 *ItemOnlineMeetingsCreateOrGetRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsCreateOrGetRequestBuilder) { + return NewItemOnlineMeetingsCreateOrGetRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_get_all_recordings_request_builder.go b/users/item_online_meetings_get_all_recordings_request_builder.go index 002069b68d9..d3cb3b0810c 100644 --- a/users/item_online_meetings_get_all_recordings_request_builder.go +++ b/users/item_online_meetings_get_all_recordings_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemOnlineMeetingsGetAllRecordingsRequestBuilder) ToGetRequestInformati } 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 *ItemOnlineMeetingsGetAllRecordingsRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsGetAllRecordingsRequestBuilder) { + return NewItemOnlineMeetingsGetAllRecordingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_get_all_transcripts_request_builder.go b/users/item_online_meetings_get_all_transcripts_request_builder.go index fdfd08dc19a..2a97a11018a 100644 --- a/users/item_online_meetings_get_all_transcripts_request_builder.go +++ b/users/item_online_meetings_get_all_transcripts_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemOnlineMeetingsGetAllTranscriptsRequestBuilder) ToGetRequestInformat } 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 *ItemOnlineMeetingsGetAllTranscriptsRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsGetAllTranscriptsRequestBuilder) { + return NewItemOnlineMeetingsGetAllTranscriptsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_alternative_recording_request_builder.go b/users/item_online_meetings_item_alternative_recording_request_builder.go index 17f54312e6f..e2ec2d8b452 100644 --- a/users/item_online_meetings_item_alternative_recording_request_builder.go +++ b/users/item_online_meetings_item_alternative_recording_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilder) ToPutRequestI } 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 *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemAlternativeRecordingRequestBuilder) { + return NewItemOnlineMeetingsItemAlternativeRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_attendance_reports_count_request_builder.go b/users/item_online_meetings_item_attendance_reports_count_request_builder.go index 38965cbab19..b04902c756a 100644 --- a/users/item_online_meetings_item_attendance_reports_count_request_builder.go +++ b/users/item_online_meetings_item_attendance_reports_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnlineMeetingsItemAttendanceReportsCountRequestBuilder) ToGetReques } 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 *ItemOnlineMeetingsItemAttendanceReportsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemAttendanceReportsCountRequestBuilder) { + return NewItemOnlineMeetingsItemAttendanceReportsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go b/users/item_online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go index 7b6050aadb1..3c959f2417e 100644 --- a/users/item_online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go +++ b/users/item_online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceR } 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 *ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder) { + return NewItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_attendance_reports_item_attendance_records_count_request_builder.go b/users/item_online_meetings_item_attendance_reports_item_attendance_records_count_request_builder.go index b1adc1d034e..170d6cff60e 100644 --- a/users/item_online_meetings_item_attendance_reports_item_attendance_records_count_request_builder.go +++ b/users/item_online_meetings_item_attendance_reports_item_attendance_records_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsCountReques } 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 *ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilder) { + return NewItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_attendance_reports_item_attendance_records_request_builder.go b/users/item_online_meetings_item_attendance_reports_item_attendance_records_request_builder.go index e1d36265f2b..200482949b6 100644 --- a/users/item_online_meetings_item_attendance_reports_item_attendance_records_request_builder.go +++ b/users/item_online_meetings_item_attendance_reports_item_attendance_records_request_builder.go @@ -46,8 +46,8 @@ type ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilderP // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttendanceRecordIdString provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. -func (m *ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) ByAttendanceRecordIdString(attendanceRecordId string)(*ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder) { +// ByAttendanceRecordId provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. +func (m *ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) ByAttendanceRecordId(attendanceRecordId string)(*ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecordItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuil } 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 *ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) { + return NewItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go b/users/item_online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go index 359b8c759e7..df35c151d64 100644 --- a/users/item_online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go +++ b/users/item_online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemReque } 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 *ItemOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) { + return NewItemOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_attendance_reports_request_builder.go b/users/item_online_meetings_item_attendance_reports_request_builder.go index c05ce5bb77c..17ea02ca2e2 100644 --- a/users/item_online_meetings_item_attendance_reports_request_builder.go +++ b/users/item_online_meetings_item_attendance_reports_request_builder.go @@ -46,8 +46,8 @@ type ItemOnlineMeetingsItemAttendanceReportsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMeetingAttendanceReportIdString provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. -func (m *ItemOnlineMeetingsItemAttendanceReportsRequestBuilder) ByMeetingAttendanceReportIdString(meetingAttendanceReportId string)(*ItemOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) { +// ByMeetingAttendanceReportId provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +func (m *ItemOnlineMeetingsItemAttendanceReportsRequestBuilder) ByMeetingAttendanceReportId(meetingAttendanceReportId string)(*ItemOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemOnlineMeetingsItemAttendanceReportsRequestBuilder) ToPostRequestInf } 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 *ItemOnlineMeetingsItemAttendanceReportsRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemAttendanceReportsRequestBuilder) { + return NewItemOnlineMeetingsItemAttendanceReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_attendee_report_request_builder.go b/users/item_online_meetings_item_attendee_report_request_builder.go index b47d82319e1..c53e05aef81 100644 --- a/users/item_online_meetings_item_attendee_report_request_builder.go +++ b/users/item_online_meetings_item_attendee_report_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemOnlineMeetingsItemAttendeeReportRequestBuilder) ToPutRequestInforma } 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 *ItemOnlineMeetingsItemAttendeeReportRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemAttendeeReportRequestBuilder) { + return NewItemOnlineMeetingsItemAttendeeReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_broadcast_recording_request_builder.go b/users/item_online_meetings_item_broadcast_recording_request_builder.go index 4ce3bbf1543..e382bd16384 100644 --- a/users/item_online_meetings_item_broadcast_recording_request_builder.go +++ b/users/item_online_meetings_item_broadcast_recording_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemOnlineMeetingsItemBroadcastRecordingRequestBuilder) ToPutRequestInf } 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 *ItemOnlineMeetingsItemBroadcastRecordingRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemBroadcastRecordingRequestBuilder) { + return NewItemOnlineMeetingsItemBroadcastRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go b/users/item_online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go index e7fbde1c48a..03f6049db57 100644 --- a/users/item_online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go +++ b/users/item_online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) To } 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 *ItemOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) { + return NewItemOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go b/users/item_online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go index ba02dc4de5f..71e68ecc98b 100644 --- a/users/item_online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go +++ b/users/item_online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanc } 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 *ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { + return NewItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_meeting_attendance_report_attendance_records_count_request_builder.go b/users/item_online_meetings_item_meeting_attendance_report_attendance_records_count_request_builder.go index 6df92812344..76bc8172fa8 100644 --- a/users/item_online_meetings_item_meeting_attendance_report_attendance_records_count_request_builder.go +++ b/users/item_online_meetings_item_meeting_attendance_report_attendance_records_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsCountRequ } 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 *ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) { + return NewItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go b/users/item_online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go index eade746260d..ebef06d9660 100644 --- a/users/item_online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go +++ b/users/item_online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go @@ -46,8 +46,8 @@ type ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttendanceRecordIdString provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. -func (m *ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) ByAttendanceRecordIdString(attendanceRecordId string)(*ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { +// ByAttendanceRecordId provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. +func (m *ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) ByAttendanceRecordId(attendanceRecordId string)(*ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBu } 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 *ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) { + return NewItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_meeting_attendance_report_request_builder.go b/users/item_online_meetings_item_meeting_attendance_report_request_builder.go index b89e62646c9..10e7303670f 100644 --- a/users/item_online_meetings_item_meeting_attendance_report_request_builder.go +++ b/users/item_online_meetings_item_meeting_attendance_report_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToPatchReq } 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 *ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilder) { + return NewItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_recording_request_builder.go b/users/item_online_meetings_item_recording_request_builder.go index 5619df05bb1..604761176fb 100644 --- a/users/item_online_meetings_item_recording_request_builder.go +++ b/users/item_online_meetings_item_recording_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemOnlineMeetingsItemRecordingRequestBuilder) ToPutRequestInformation( } 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 *ItemOnlineMeetingsItemRecordingRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemRecordingRequestBuilder) { + return NewItemOnlineMeetingsItemRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_recordings_call_recording_item_request_builder.go b/users/item_online_meetings_item_recordings_call_recording_item_request_builder.go index 3339ec1ed17..71d77075ee8 100644 --- a/users/item_online_meetings_item_recordings_call_recording_item_request_builder.go +++ b/users/item_online_meetings_item_recordings_call_recording_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. type ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,7 +74,7 @@ func (m *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) Delete } return nil } -// Get get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// Get get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0 @@ -127,7 +127,7 @@ func (m *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToDele } return requestInfo, nil } -// ToGetRequestInformation get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// ToGetRequestInformation get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. func (m *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -160,3 +160,7 @@ func (m *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToPatc } 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 *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) { + return NewItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_recordings_count_request_builder.go b/users/item_online_meetings_item_recordings_count_request_builder.go index f4a509c3f38..2d85e003d05 100644 --- a/users/item_online_meetings_item_recordings_count_request_builder.go +++ b/users/item_online_meetings_item_recordings_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnlineMeetingsItemRecordingsCountRequestBuilder) ToGetRequestInform } 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 *ItemOnlineMeetingsItemRecordingsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemRecordingsCountRequestBuilder) { + return NewItemOnlineMeetingsItemRecordingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_recordings_delta_request_builder.go b/users/item_online_meetings_item_recordings_delta_request_builder.go index 15e3607d3d1..10cbf3f719e 100644 --- a/users/item_online_meetings_item_recordings_delta_request_builder.go +++ b/users/item_online_meetings_item_recordings_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemOnlineMeetingsItemRecordingsDeltaRequestBuilder) ToGetRequestInform } 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 *ItemOnlineMeetingsItemRecordingsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemRecordingsDeltaRequestBuilder) { + return NewItemOnlineMeetingsItemRecordingsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_recordings_item_content_request_builder.go b/users/item_online_meetings_item_recordings_item_content_request_builder.go index 58fa1a8648b..16d5ca66701 100644 --- a/users/item_online_meetings_item_recordings_item_content_request_builder.go +++ b/users/item_online_meetings_item_recordings_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemOnlineMeetingsItemRecordingsItemContentRequestBuilder) ToPutRequest } 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 *ItemOnlineMeetingsItemRecordingsItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemRecordingsItemContentRequestBuilder) { + return NewItemOnlineMeetingsItemRecordingsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_recordings_request_builder.go b/users/item_online_meetings_item_recordings_request_builder.go index cedf14718d0..fdd95396b8f 100644 --- a/users/item_online_meetings_item_recordings_request_builder.go +++ b/users/item_online_meetings_item_recordings_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnlineMeetingsItemRecordingsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// ItemOnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. type ItemOnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type ItemOnlineMeetingsItemRecordingsRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCallRecordingIdString provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. -func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) ByCallRecordingIdString(callRecordingId string)(*ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) { +// ByCallRecordingId provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. +func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) ByCallRecordingId(callRecordingId string)(*ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -78,7 +78,7 @@ func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) Count()(*ItemOnlineMeet func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) Delta()(*ItemOnlineMeetingsItemRecordingsDeltaRequestBuilder) { return NewItemOnlineMeetingsItemRecordingsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// Get get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRecordingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +116,7 @@ func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) Post(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable), nil } -// ToGetRequestInformation get a callRecording object associated with an onlineMeeting. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of text associated with the recording. +// ToGetRequestInformation get a callRecording object associated with a scheduled onlineMeeting. This API does not support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRecordingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -149,3 +149,7 @@ func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) ToPostRequestInformatio } 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 *ItemOnlineMeetingsItemRecordingsRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemRecordingsRequestBuilder) { + return NewItemOnlineMeetingsItemRecordingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_registration_custom_questions_count_request_builder.go b/users/item_online_meetings_item_registration_custom_questions_count_request_builder.go index 99c6574a915..c8220c16a22 100644 --- a/users/item_online_meetings_item_registration_custom_questions_count_request_builder.go +++ b/users/item_online_meetings_item_registration_custom_questions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsCountRequestBuilder) T } 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 *ItemOnlineMeetingsItemRegistrationCustomQuestionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemRegistrationCustomQuestionsCountRequestBuilder) { + return NewItemOnlineMeetingsItemRegistrationCustomQuestionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go b/users/item_online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go index 45608a491b5..75d2b3d7898 100644 --- a/users/item_online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go +++ b/users/item_online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQue } 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 *ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { + return NewItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_registration_custom_questions_request_builder.go b/users/item_online_meetings_item_registration_custom_questions_request_builder.go index dbf17c2f770..623bb7e682a 100644 --- a/users/item_online_meetings_item_registration_custom_questions_request_builder.go +++ b/users/item_online_meetings_item_registration_custom_questions_request_builder.go @@ -46,8 +46,8 @@ type ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderPostRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMeetingRegistrationQuestionIdString provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. -func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ByMeetingRegistrationQuestionIdString(meetingRegistrationQuestionId string)(*ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { +// ByMeetingRegistrationQuestionId provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. +func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ByMeetingRegistrationQuestionId(meetingRegistrationQuestionId string)(*ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ToPost } 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 *ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) { + return NewItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_registration_registrants_count_request_builder.go b/users/item_online_meetings_item_registration_registrants_count_request_builder.go index 322cb5ae013..09953ed1a06 100644 --- a/users/item_online_meetings_item_registration_registrants_count_request_builder.go +++ b/users/item_online_meetings_item_registration_registrants_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnlineMeetingsItemRegistrationRegistrantsCountRequestBuilder) ToGet } 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 *ItemOnlineMeetingsItemRegistrationRegistrantsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemRegistrationRegistrantsCountRequestBuilder) { + return NewItemOnlineMeetingsItemRegistrationRegistrantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go b/users/item_online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go index 501281b772e..4abb837ce11 100644 --- a/users/item_online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go +++ b/users/item_online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemOnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemR } 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 *ItemOnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { + return NewItemOnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_registration_registrants_request_builder.go b/users/item_online_meetings_item_registration_registrants_request_builder.go index 4e7063a4cea..15d8b1483df 100644 --- a/users/item_online_meetings_item_registration_registrants_request_builder.go +++ b/users/item_online_meetings_item_registration_registrants_request_builder.go @@ -46,8 +46,8 @@ type ItemOnlineMeetingsItemRegistrationRegistrantsRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMeetingRegistrantBaseIdString provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. -func (m *ItemOnlineMeetingsItemRegistrationRegistrantsRequestBuilder) ByMeetingRegistrantBaseIdString(meetingRegistrantBaseId string)(*ItemOnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { +// ByMeetingRegistrantBaseId provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. +func (m *ItemOnlineMeetingsItemRegistrationRegistrantsRequestBuilder) ByMeetingRegistrantBaseId(meetingRegistrantBaseId string)(*ItemOnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemOnlineMeetingsItemRegistrationRegistrantsRequestBuilder) ToPostRequ } 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 *ItemOnlineMeetingsItemRegistrationRegistrantsRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemRegistrationRegistrantsRequestBuilder) { + return NewItemOnlineMeetingsItemRegistrationRegistrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_registration_request_builder.go b/users/item_online_meetings_item_registration_request_builder.go index 512c64cb534..d516bb63e03 100644 --- a/users/item_online_meetings_item_registration_request_builder.go +++ b/users/item_online_meetings_item_registration_request_builder.go @@ -170,3 +170,7 @@ func (m *ItemOnlineMeetingsItemRegistrationRequestBuilder) ToPatchRequestInforma } 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 *ItemOnlineMeetingsItemRegistrationRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemRegistrationRequestBuilder) { + return NewItemOnlineMeetingsItemRegistrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_transcripts_call_transcript_item_request_builder.go b/users/item_online_meetings_item_transcripts_call_transcript_item_request_builder.go index c7ff2c365b8..00ea48a51c4 100644 --- a/users/item_online_meetings_item_transcripts_call_transcript_item_request_builder.go +++ b/users/item_online_meetings_item_transcripts_call_transcript_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters retrieve a callTranscript object associated with an onlineMeeting. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters retrieve a callTranscript object associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. type ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,7 +74,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) Dele } return nil } -// Get retrieve a callTranscript object associated with an onlineMeeting. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// Get retrieve a callTranscript object associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0 @@ -131,7 +131,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToDe } return requestInfo, nil } -// ToGetRequestInformation retrieve a callTranscript object associated with an onlineMeeting. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. func (m *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -164,3 +164,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToPa } 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 *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) { + return NewItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_transcripts_count_request_builder.go b/users/item_online_meetings_item_transcripts_count_request_builder.go index bec9403ea8b..2e810abfff2 100644 --- a/users/item_online_meetings_item_transcripts_count_request_builder.go +++ b/users/item_online_meetings_item_transcripts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsCountRequestBuilder) ToGetRequestInfor } 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 *ItemOnlineMeetingsItemTranscriptsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemTranscriptsCountRequestBuilder) { + return NewItemOnlineMeetingsItemTranscriptsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_transcripts_delta_request_builder.go b/users/item_online_meetings_item_transcripts_delta_request_builder.go index 4a707c949d7..6deba2162f3 100644 --- a/users/item_online_meetings_item_transcripts_delta_request_builder.go +++ b/users/item_online_meetings_item_transcripts_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsDeltaRequestBuilder) ToGetRequestInfor } 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 *ItemOnlineMeetingsItemTranscriptsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemTranscriptsDeltaRequestBuilder) { + return NewItemOnlineMeetingsItemTranscriptsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_transcripts_item_content_request_builder.go b/users/item_online_meetings_item_transcripts_item_content_request_builder.go index b0736a191b4..dfd13584fbd 100644 --- a/users/item_online_meetings_item_transcripts_item_content_request_builder.go +++ b/users/item_online_meetings_item_transcripts_item_content_request_builder.go @@ -105,3 +105,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsItemContentRequestBuilder) ToPutReques } 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 *ItemOnlineMeetingsItemTranscriptsItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemTranscriptsItemContentRequestBuilder) { + return NewItemOnlineMeetingsItemTranscriptsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_transcripts_item_metadata_content_request_builder.go b/users/item_online_meetings_item_transcripts_item_metadata_content_request_builder.go index 3bbf7707f59..5966508d62d 100644 --- a/users/item_online_meetings_item_transcripts_item_metadata_content_request_builder.go +++ b/users/item_online_meetings_item_transcripts_item_metadata_content_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) 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 *ItemOnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) { + return NewItemOnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_item_transcripts_request_builder.go b/users/item_online_meetings_item_transcripts_request_builder.go index df8883da3d3..d10378393ec 100644 --- a/users/item_online_meetings_item_transcripts_request_builder.go +++ b/users/item_online_meetings_item_transcripts_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnlineMeetingsItemTranscriptsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters retrieve the list of callTranscript objects associated with an onlineMeeting. +// ItemOnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. type ItemOnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,8 +46,8 @@ type ItemOnlineMeetingsItemTranscriptsRequestBuilderPostRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByCallTranscriptIdString provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. -func (m *ItemOnlineMeetingsItemTranscriptsRequestBuilder) ByCallTranscriptIdString(callTranscriptId string)(*ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) { +// ByCallTranscriptId provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. +func (m *ItemOnlineMeetingsItemTranscriptsRequestBuilder) ByCallTranscriptId(callTranscriptId string)(*ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -78,7 +78,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsRequestBuilder) Count()(*ItemOnlineMee func (m *ItemOnlineMeetingsItemTranscriptsRequestBuilder) Delta()(*ItemOnlineMeetingsItemTranscriptsDeltaRequestBuilder) { return NewItemOnlineMeetingsItemTranscriptsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of callTranscript objects associated with an onlineMeeting. +// Get retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0 @@ -119,7 +119,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsRequestBuilder) Post(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable), nil } -// ToGetRequestInformation retrieve the list of callTranscript objects associated with an onlineMeeting. +// ToGetRequestInformation retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API does not support getting call transcripts from channel meetings. func (m *ItemOnlineMeetingsItemTranscriptsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemTranscriptsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -152,3 +152,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsRequestBuilder) ToPostRequestInformati } 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 *ItemOnlineMeetingsItemTranscriptsRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsItemTranscriptsRequestBuilder) { + return NewItemOnlineMeetingsItemTranscriptsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_online_meeting_item_request_builder.go b/users/item_online_meetings_online_meeting_item_request_builder.go index d45a0f94cb8..9c02b778312 100644 --- a/users/item_online_meetings_online_meeting_item_request_builder.go +++ b/users/item_online_meetings_online_meeting_item_request_builder.go @@ -199,3 +199,7 @@ func (m *ItemOnlineMeetingsOnlineMeetingItemRequestBuilder) ToPatchRequestInform func (m *ItemOnlineMeetingsOnlineMeetingItemRequestBuilder) Transcripts()(*ItemOnlineMeetingsItemTranscriptsRequestBuilder) { return NewItemOnlineMeetingsItemTranscriptsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemOnlineMeetingsOnlineMeetingItemRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsOnlineMeetingItemRequestBuilder) { + return NewItemOnlineMeetingsOnlineMeetingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_online_meetings_request_builder.go b/users/item_online_meetings_request_builder.go index 418c3feb942..eaa645fa22e 100644 --- a/users/item_online_meetings_request_builder.go +++ b/users/item_online_meetings_request_builder.go @@ -46,8 +46,8 @@ type ItemOnlineMeetingsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOnlineMeetingIdString provides operations to manage the onlineMeetings property of the microsoft.graph.user entity. -func (m *ItemOnlineMeetingsRequestBuilder) ByOnlineMeetingIdString(onlineMeetingId string)(*ItemOnlineMeetingsOnlineMeetingItemRequestBuilder) { +// ByOnlineMeetingId provides operations to manage the onlineMeetings property of the microsoft.graph.user entity. +func (m *ItemOnlineMeetingsRequestBuilder) ByOnlineMeetingId(onlineMeetingId string)(*ItemOnlineMeetingsOnlineMeetingItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -163,3 +163,7 @@ func (m *ItemOnlineMeetingsRequestBuilder) 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 *ItemOnlineMeetingsRequestBuilder) WithUrl(rawUrl string)(*ItemOnlineMeetingsRequestBuilder) { + return NewItemOnlineMeetingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_master_categories_count_request_builder.go b/users/item_outlook_master_categories_count_request_builder.go index 81daccaae63..c83bf48cb2f 100644 --- a/users/item_outlook_master_categories_count_request_builder.go +++ b/users/item_outlook_master_categories_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemOutlookMasterCategoriesCountRequestBuilder) 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 *ItemOutlookMasterCategoriesCountRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookMasterCategoriesCountRequestBuilder) { + return NewItemOutlookMasterCategoriesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_master_categories_outlook_category_item_request_builder.go b/users/item_outlook_master_categories_outlook_category_item_request_builder.go index 3a776f1c0d1..f8029e1ed4f 100644 --- a/users/item_outlook_master_categories_outlook_category_item_request_builder.go +++ b/users/item_outlook_master_categories_outlook_category_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilder) ToPatchRe } 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 *ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilder) { + return NewItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_master_categories_request_builder.go b/users/item_outlook_master_categories_request_builder.go index 3d2bcb59762..09e79bc97ee 100644 --- a/users/item_outlook_master_categories_request_builder.go +++ b/users/item_outlook_master_categories_request_builder.go @@ -42,8 +42,8 @@ type ItemOutlookMasterCategoriesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOutlookCategoryIdString provides operations to manage the masterCategories property of the microsoft.graph.outlookUser entity. -func (m *ItemOutlookMasterCategoriesRequestBuilder) ByOutlookCategoryIdString(outlookCategoryId string)(*ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilder) { +// ByOutlookCategoryId provides operations to manage the masterCategories property of the microsoft.graph.outlookUser entity. +func (m *ItemOutlookMasterCategoriesRequestBuilder) ByOutlookCategoryId(outlookCategoryId string)(*ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -147,3 +147,7 @@ func (m *ItemOutlookMasterCategoriesRequestBuilder) 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 *ItemOutlookMasterCategoriesRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookMasterCategoriesRequestBuilder) { + return NewItemOutlookMasterCategoriesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_request_builder.go b/users/item_outlook_request_builder.go index a3decd41bfd..73c33805273 100644 --- a/users/item_outlook_request_builder.go +++ b/users/item_outlook_request_builder.go @@ -101,3 +101,7 @@ func (m *ItemOutlookRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemOutlookRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookRequestBuilder) { + return NewItemOutlookRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_supported_languages_request_builder.go b/users/item_outlook_supported_languages_request_builder.go index 2f04e0b4ee0..16fea336a5e 100644 --- a/users/item_outlook_supported_languages_request_builder.go +++ b/users/item_outlook_supported_languages_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemOutlookSupportedLanguagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOutlookSupportedLanguagesRequestBuilderGetQueryParameters get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language by getting the user's mailbox settings. +// ItemOutlookSupportedLanguagesRequestBuilderGetQueryParameters get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. type ItemOutlookSupportedLanguagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -45,7 +45,7 @@ func NewItemOutlookSupportedLanguagesRequestBuilder(rawUrl string, requestAdapte urlParams["request-raw-url"] = rawUrl return NewItemOutlookSupportedLanguagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language by getting the user's mailbox settings. +// Get get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/outlookuser-supportedlanguages?view=graph-rest-1.0 @@ -67,7 +67,7 @@ func (m *ItemOutlookSupportedLanguagesRequestBuilder) Get(ctx context.Context, r } return res.(ItemOutlookSupportedLanguagesResponseable), nil } -// ToGetRequestInformation get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language by getting the user's mailbox settings. +// ToGetRequestInformation get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. func (m *ItemOutlookSupportedLanguagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookSupportedLanguagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -83,3 +83,7 @@ func (m *ItemOutlookSupportedLanguagesRequestBuilder) ToGetRequestInformation(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 *ItemOutlookSupportedLanguagesRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookSupportedLanguagesRequestBuilder) { + return NewItemOutlookSupportedLanguagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_supported_time_zones_request_builder.go b/users/item_outlook_supported_time_zones_request_builder.go index 81f930b38ff..998f632e869 100644 --- a/users/item_outlook_supported_time_zones_request_builder.go +++ b/users/item_outlook_supported_time_zones_request_builder.go @@ -80,3 +80,7 @@ func (m *ItemOutlookSupportedTimeZonesRequestBuilder) ToGetRequestInformation(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 *ItemOutlookSupportedTimeZonesRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookSupportedTimeZonesRequestBuilder) { + return NewItemOutlookSupportedTimeZonesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_supported_time_zones_with_time_zone_standard_request_builder.go b/users/item_outlook_supported_time_zones_with_time_zone_standard_request_builder.go index c3014487a2f..5227cf627b7 100644 --- a/users/item_outlook_supported_time_zones_with_time_zone_standard_request_builder.go +++ b/users/item_outlook_supported_time_zones_with_time_zone_standard_request_builder.go @@ -83,3 +83,7 @@ func (m *ItemOutlookSupportedTimeZonesWithTimeZoneStandardRequestBuilder) ToGetR } 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 *ItemOutlookSupportedTimeZonesWithTimeZoneStandardRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookSupportedTimeZonesWithTimeZoneStandardRequestBuilder) { + return NewItemOutlookSupportedTimeZonesWithTimeZoneStandardRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_folders_count_request_builder.go b/users/item_outlook_task_folders_count_request_builder.go index f4a51754b85..a1c20feac35 100644 --- a/users/item_outlook_task_folders_count_request_builder.go +++ b/users/item_outlook_task_folders_count_request_builder.go @@ -74,3 +74,8 @@ func (m *ItemOutlookTaskFoldersCountRequestBuilder) ToGetRequestInformation(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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskFoldersCountRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskFoldersCountRequestBuilder) { + return NewItemOutlookTaskFoldersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_folders_item_tasks_count_request_builder.go b/users/item_outlook_task_folders_item_tasks_count_request_builder.go index d2f8b1197a9..5da4ed1baca 100644 --- a/users/item_outlook_task_folders_item_tasks_count_request_builder.go +++ b/users/item_outlook_task_folders_item_tasks_count_request_builder.go @@ -74,3 +74,8 @@ func (m *ItemOutlookTaskFoldersItemTasksCountRequestBuilder) ToGetRequestInforma } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskFoldersItemTasksCountRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskFoldersItemTasksCountRequestBuilder) { + return NewItemOutlookTaskFoldersItemTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_folders_item_tasks_item_attachments_attachment_item_request_builder.go b/users/item_outlook_task_folders_item_tasks_item_attachments_attachment_item_request_builder.go index 328aaddae07..5ead521c347 100644 --- a/users/item_outlook_task_folders_item_tasks_item_attachments_attachment_item_request_builder.go +++ b/users/item_outlook_task_folders_item_tasks_item_attachments_attachment_item_request_builder.go @@ -114,3 +114,8 @@ func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsAttachmentItemRequestBuil } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskFoldersItemTasksItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemOutlookTaskFoldersItemTasksItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_folders_item_tasks_item_attachments_count_request_builder.go b/users/item_outlook_task_folders_item_tasks_item_attachments_count_request_builder.go index abe6eba8cfa..fedacc03147 100644 --- a/users/item_outlook_task_folders_item_tasks_item_attachments_count_request_builder.go +++ b/users/item_outlook_task_folders_item_tasks_item_attachments_count_request_builder.go @@ -74,3 +74,8 @@ func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsCountRequestBuilder) ToGe } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskFoldersItemTasksItemAttachmentsCountRequestBuilder) { + return NewItemOutlookTaskFoldersItemTasksItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go b/users/item_outlook_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go index d2c73c147f4..16c710928d4 100644 --- a/users/item_outlook_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go +++ b/users/item_outlook_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemOutlookTaskFoldersItemTasksItemAttachmentsCreateUploadSessionRequest urlParams["request-raw-url"] = rawUrl return NewItemOutlookTaskFoldersItemTasksItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 // [Find more info here] // @@ -54,7 +54,7 @@ func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsCreateUploadSessionReques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemOutlookTaskFoldersItemTasksItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemOutlookTaskFoldersItemTasksItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -72,3 +72,8 @@ func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsCreateUploadSessionReques } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskFoldersItemTasksItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemOutlookTaskFoldersItemTasksItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_folders_item_tasks_item_attachments_request_builder.go b/users/item_outlook_task_folders_item_tasks_item_attachments_request_builder.go index 53007b746a4..47df8ebdd89 100644 --- a/users/item_outlook_task_folders_item_tasks_item_attachments_request_builder.go +++ b/users/item_outlook_task_folders_item_tasks_item_attachments_request_builder.go @@ -44,9 +44,9 @@ type ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilderPostRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.outlookTask entity. +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.outlookTask entity. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 -func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemOutlookTaskFoldersItemTasksItemAttachmentsAttachmentItemRequestBuilder) { +func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemOutlookTaskFoldersItemTasksItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -158,3 +158,8 @@ func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilder) ToPostReq } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilder) { + return NewItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_folders_item_tasks_item_complete_request_builder.go b/users/item_outlook_task_folders_item_tasks_item_complete_request_builder.go index a5c36a4849b..01e73c2b35d 100644 --- a/users/item_outlook_task_folders_item_tasks_item_complete_request_builder.go +++ b/users/item_outlook_task_folders_item_tasks_item_complete_request_builder.go @@ -67,3 +67,8 @@ func (m *ItemOutlookTaskFoldersItemTasksItemCompleteRequestBuilder) ToPostReques } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskFoldersItemTasksItemCompleteRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskFoldersItemTasksItemCompleteRequestBuilder) { + return NewItemOutlookTaskFoldersItemTasksItemCompleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_folders_item_tasks_outlook_task_item_request_builder.go b/users/item_outlook_task_folders_item_tasks_outlook_task_item_request_builder.go index b254cf1754d..c6b58901cd3 100644 --- a/users/item_outlook_task_folders_item_tasks_outlook_task_item_request_builder.go +++ b/users/item_outlook_task_folders_item_tasks_outlook_task_item_request_builder.go @@ -165,3 +165,8 @@ func (m *ItemOutlookTaskFoldersItemTasksOutlookTaskItemRequestBuilder) ToPatchRe } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskFoldersItemTasksOutlookTaskItemRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskFoldersItemTasksOutlookTaskItemRequestBuilder) { + return NewItemOutlookTaskFoldersItemTasksOutlookTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_folders_item_tasks_request_builder.go b/users/item_outlook_task_folders_item_tasks_request_builder.go index ffd34ab4765..6e88950578a 100644 --- a/users/item_outlook_task_folders_item_tasks_request_builder.go +++ b/users/item_outlook_task_folders_item_tasks_request_builder.go @@ -42,9 +42,9 @@ type ItemOutlookTaskFoldersItemTasksRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOutlookTaskIdString provides operations to manage the tasks property of the microsoft.graph.outlookTaskFolder entity. +// ByOutlookTaskId provides operations to manage the tasks property of the microsoft.graph.outlookTaskFolder entity. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 -func (m *ItemOutlookTaskFoldersItemTasksRequestBuilder) ByOutlookTaskIdString(outlookTaskId string)(*ItemOutlookTaskFoldersItemTasksOutlookTaskItemRequestBuilder) { +func (m *ItemOutlookTaskFoldersItemTasksRequestBuilder) ByOutlookTaskId(outlookTaskId string)(*ItemOutlookTaskFoldersItemTasksOutlookTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,8 @@ func (m *ItemOutlookTaskFoldersItemTasksRequestBuilder) 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskFoldersItemTasksRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskFoldersItemTasksRequestBuilder) { + return NewItemOutlookTaskFoldersItemTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_folders_outlook_task_folder_item_request_builder.go b/users/item_outlook_task_folders_outlook_task_folder_item_request_builder.go index c40439968b9..5276e909697 100644 --- a/users/item_outlook_task_folders_outlook_task_folder_item_request_builder.go +++ b/users/item_outlook_task_folders_outlook_task_folder_item_request_builder.go @@ -170,3 +170,8 @@ func (m *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) ToPatchReque } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) { + return NewItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_folders_request_builder.go b/users/item_outlook_task_folders_request_builder.go index e9ca9e3f594..98c1062760e 100644 --- a/users/item_outlook_task_folders_request_builder.go +++ b/users/item_outlook_task_folders_request_builder.go @@ -42,9 +42,9 @@ type ItemOutlookTaskFoldersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOutlookTaskFolderIdString provides operations to manage the taskFolders property of the microsoft.graph.outlookUser entity. +// ByOutlookTaskFolderId provides operations to manage the taskFolders property of the microsoft.graph.outlookUser entity. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 -func (m *ItemOutlookTaskFoldersRequestBuilder) ByOutlookTaskFolderIdString(outlookTaskFolderId string)(*ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) { +func (m *ItemOutlookTaskFoldersRequestBuilder) ByOutlookTaskFolderId(outlookTaskFolderId string)(*ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,8 @@ func (m *ItemOutlookTaskFoldersRequestBuilder) ToPostRequestInformation(ctx cont } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskFoldersRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskFoldersRequestBuilder) { + return NewItemOutlookTaskFoldersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_groups_count_request_builder.go b/users/item_outlook_task_groups_count_request_builder.go index bb17b5ee51c..418ee042a4f 100644 --- a/users/item_outlook_task_groups_count_request_builder.go +++ b/users/item_outlook_task_groups_count_request_builder.go @@ -74,3 +74,8 @@ func (m *ItemOutlookTaskGroupsCountRequestBuilder) ToGetRequestInformation(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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskGroupsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskGroupsCountRequestBuilder) { + return NewItemOutlookTaskGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_groups_item_task_folders_count_request_builder.go b/users/item_outlook_task_groups_item_task_folders_count_request_builder.go index f0767a0589d..5bca27540ce 100644 --- a/users/item_outlook_task_groups_item_task_folders_count_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_count_request_builder.go @@ -74,3 +74,8 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersCountRequestBuilder) ToGetRequestIn } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskGroupsItemTaskFoldersCountRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskGroupsItemTaskFoldersCountRequestBuilder) { + return NewItemOutlookTaskGroupsItemTaskFoldersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_groups_item_task_folders_item_tasks_count_request_builder.go b/users/item_outlook_task_groups_item_task_folders_item_tasks_count_request_builder.go index 75f7875ae33..7fb0c9f1c83 100644 --- a/users/item_outlook_task_groups_item_task_folders_item_tasks_count_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_item_tasks_count_request_builder.go @@ -74,3 +74,8 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksCountRequestBuilder) ToGet } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksCountRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskGroupsItemTaskFoldersItemTasksCountRequestBuilder) { + return NewItemOutlookTaskGroupsItemTaskFoldersItemTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_attachment_item_request_builder.go b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_attachment_item_request_builder.go index 9a26142b12c..0d1b0f298aa 100644 --- a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_attachment_item_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_attachment_item_request_builder.go @@ -114,3 +114,8 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsAttachmentI } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_count_request_builder.go b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_count_request_builder.go index 57fa5c1fb75..4804e1cd80b 100644 --- a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_count_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_count_request_builder.go @@ -74,3 +74,8 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsCountReques } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsCountRequestBuilder) { + return NewItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go index 8380e95b7f6..8022628a694 100644 --- a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsCreateUpload urlParams["request-raw-url"] = rawUrl return NewItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 // [Find more info here] // @@ -54,7 +54,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsCreateUploa } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -72,3 +72,8 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsCreateUploa } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_request_builder.go b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_request_builder.go index 1a0bd7807af..9951212d88e 100644 --- a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_request_builder.go @@ -44,9 +44,9 @@ type ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuilderP // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.outlookTask entity. +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.outlookTask entity. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 -func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsAttachmentItemRequestBuilder) { +func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -158,3 +158,8 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuil } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuilder) { + return NewItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_complete_request_builder.go b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_complete_request_builder.go index d808730c9b8..264e45517d0 100644 --- a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_complete_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_complete_request_builder.go @@ -67,3 +67,8 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemCompleteRequestBuilder } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemCompleteRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemCompleteRequestBuilder) { + return NewItemOutlookTaskGroupsItemTaskFoldersItemTasksItemCompleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_groups_item_task_folders_item_tasks_outlook_task_item_request_builder.go b/users/item_outlook_task_groups_item_task_folders_item_tasks_outlook_task_item_request_builder.go index e626c8ff0b2..e6a6a365b09 100644 --- a/users/item_outlook_task_groups_item_task_folders_item_tasks_outlook_task_item_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_item_tasks_outlook_task_item_request_builder.go @@ -165,3 +165,8 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksOutlookTaskItemRequestBuil } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksOutlookTaskItemRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskGroupsItemTaskFoldersItemTasksOutlookTaskItemRequestBuilder) { + return NewItemOutlookTaskGroupsItemTaskFoldersItemTasksOutlookTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_groups_item_task_folders_item_tasks_request_builder.go b/users/item_outlook_task_groups_item_task_folders_item_tasks_request_builder.go index 432991ab18f..00c7c70a3fe 100644 --- a/users/item_outlook_task_groups_item_task_folders_item_tasks_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_item_tasks_request_builder.go @@ -42,9 +42,9 @@ type ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOutlookTaskIdString provides operations to manage the tasks property of the microsoft.graph.outlookTaskFolder entity. +// ByOutlookTaskId provides operations to manage the tasks property of the microsoft.graph.outlookTaskFolder entity. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 -func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilder) ByOutlookTaskIdString(outlookTaskId string)(*ItemOutlookTaskGroupsItemTaskFoldersItemTasksOutlookTaskItemRequestBuilder) { +func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilder) ByOutlookTaskId(outlookTaskId string)(*ItemOutlookTaskGroupsItemTaskFoldersItemTasksOutlookTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,8 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilder) ToPostRequ } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilder) { + return NewItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_groups_item_task_folders_outlook_task_folder_item_request_builder.go b/users/item_outlook_task_groups_item_task_folders_outlook_task_folder_item_request_builder.go index b6498c5f236..d839ea371f9 100644 --- a/users/item_outlook_task_groups_item_task_folders_outlook_task_folder_item_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_outlook_task_folder_item_request_builder.go @@ -161,3 +161,8 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersOutlookTaskFolderItemRequestBuilder } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskGroupsItemTaskFoldersOutlookTaskFolderItemRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskGroupsItemTaskFoldersOutlookTaskFolderItemRequestBuilder) { + return NewItemOutlookTaskGroupsItemTaskFoldersOutlookTaskFolderItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_groups_item_task_folders_request_builder.go b/users/item_outlook_task_groups_item_task_folders_request_builder.go index fea4ba885f9..7b268b9e177 100644 --- a/users/item_outlook_task_groups_item_task_folders_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_request_builder.go @@ -42,9 +42,9 @@ type ItemOutlookTaskGroupsItemTaskFoldersRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOutlookTaskFolderIdString provides operations to manage the taskFolders property of the microsoft.graph.outlookTaskGroup entity. +// ByOutlookTaskFolderId provides operations to manage the taskFolders property of the microsoft.graph.outlookTaskGroup entity. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 -func (m *ItemOutlookTaskGroupsItemTaskFoldersRequestBuilder) ByOutlookTaskFolderIdString(outlookTaskFolderId string)(*ItemOutlookTaskGroupsItemTaskFoldersOutlookTaskFolderItemRequestBuilder) { +func (m *ItemOutlookTaskGroupsItemTaskFoldersRequestBuilder) ByOutlookTaskFolderId(outlookTaskFolderId string)(*ItemOutlookTaskGroupsItemTaskFoldersOutlookTaskFolderItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,8 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersRequestBuilder) ToPostRequestInform } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskGroupsItemTaskFoldersRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskGroupsItemTaskFoldersRequestBuilder) { + return NewItemOutlookTaskGroupsItemTaskFoldersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_groups_outlook_task_group_item_request_builder.go b/users/item_outlook_task_groups_outlook_task_group_item_request_builder.go index 5b8a62d875c..6ecec2be17c 100644 --- a/users/item_outlook_task_groups_outlook_task_group_item_request_builder.go +++ b/users/item_outlook_task_groups_outlook_task_group_item_request_builder.go @@ -164,3 +164,8 @@ func (m *ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilder) ToPatchRequest } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilder) { + return NewItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_task_groups_request_builder.go b/users/item_outlook_task_groups_request_builder.go index 98dce19ab72..a746547160e 100644 --- a/users/item_outlook_task_groups_request_builder.go +++ b/users/item_outlook_task_groups_request_builder.go @@ -42,9 +42,9 @@ type ItemOutlookTaskGroupsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOutlookTaskGroupIdString provides operations to manage the taskGroups property of the microsoft.graph.outlookUser entity. +// ByOutlookTaskGroupId provides operations to manage the taskGroups property of the microsoft.graph.outlookUser entity. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 -func (m *ItemOutlookTaskGroupsRequestBuilder) ByOutlookTaskGroupIdString(outlookTaskGroupId string)(*ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilder) { +func (m *ItemOutlookTaskGroupsRequestBuilder) ByOutlookTaskGroupId(outlookTaskGroupId string)(*ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,8 @@ func (m *ItemOutlookTaskGroupsRequestBuilder) 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTaskGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTaskGroupsRequestBuilder) { + return NewItemOutlookTaskGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_tasks_count_request_builder.go b/users/item_outlook_tasks_count_request_builder.go index e4026ca0ca5..8597a025471 100644 --- a/users/item_outlook_tasks_count_request_builder.go +++ b/users/item_outlook_tasks_count_request_builder.go @@ -74,3 +74,8 @@ func (m *ItemOutlookTasksCountRequestBuilder) ToGetRequestInformation(ctx contex } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTasksCountRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTasksCountRequestBuilder) { + return NewItemOutlookTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_tasks_item_attachments_attachment_item_request_builder.go b/users/item_outlook_tasks_item_attachments_attachment_item_request_builder.go index d634a3cbc6f..07026f15c8d 100644 --- a/users/item_outlook_tasks_item_attachments_attachment_item_request_builder.go +++ b/users/item_outlook_tasks_item_attachments_attachment_item_request_builder.go @@ -114,3 +114,8 @@ func (m *ItemOutlookTasksItemAttachmentsAttachmentItemRequestBuilder) ToGetReque } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTasksItemAttachmentsAttachmentItemRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTasksItemAttachmentsAttachmentItemRequestBuilder) { + return NewItemOutlookTasksItemAttachmentsAttachmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_tasks_item_attachments_count_request_builder.go b/users/item_outlook_tasks_item_attachments_count_request_builder.go index 742df4ae53b..e7b1b4f6f50 100644 --- a/users/item_outlook_tasks_item_attachments_count_request_builder.go +++ b/users/item_outlook_tasks_item_attachments_count_request_builder.go @@ -74,3 +74,8 @@ func (m *ItemOutlookTasksItemAttachmentsCountRequestBuilder) ToGetRequestInforma } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTasksItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTasksItemAttachmentsCountRequestBuilder) { + return NewItemOutlookTasksItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_tasks_item_attachments_create_upload_session_request_builder.go b/users/item_outlook_tasks_item_attachments_create_upload_session_request_builder.go index 80f813d5ce1..4663a4e1fe7 100644 --- a/users/item_outlook_tasks_item_attachments_create_upload_session_request_builder.go +++ b/users/item_outlook_tasks_item_attachments_create_upload_session_request_builder.go @@ -31,7 +31,7 @@ func NewItemOutlookTasksItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewItemOutlookTasksItemAttachmentsCreateUploadSessionRequestBuilderInternal(urlParams, requestAdapter) } -// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// Post create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 // [Find more info here] // @@ -54,7 +54,7 @@ func (m *ItemOutlookTasksItemAttachmentsCreateUploadSessionRequestBuilder) Post( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable), nil } -// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. +// ToPostRequestInformation create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 func (m *ItemOutlookTasksItemAttachmentsCreateUploadSessionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemOutlookTasksItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemOutlookTasksItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -72,3 +72,8 @@ func (m *ItemOutlookTasksItemAttachmentsCreateUploadSessionRequestBuilder) ToPos } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTasksItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTasksItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemOutlookTasksItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_tasks_item_attachments_request_builder.go b/users/item_outlook_tasks_item_attachments_request_builder.go index 7b41067419d..74bf758d602 100644 --- a/users/item_outlook_tasks_item_attachments_request_builder.go +++ b/users/item_outlook_tasks_item_attachments_request_builder.go @@ -44,9 +44,9 @@ type ItemOutlookTasksItemAttachmentsRequestBuilderPostRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentIdString provides operations to manage the attachments property of the microsoft.graph.outlookTask entity. +// ByAttachmentId provides operations to manage the attachments property of the microsoft.graph.outlookTask entity. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 -func (m *ItemOutlookTasksItemAttachmentsRequestBuilder) ByAttachmentIdString(attachmentId string)(*ItemOutlookTasksItemAttachmentsAttachmentItemRequestBuilder) { +func (m *ItemOutlookTasksItemAttachmentsRequestBuilder) ByAttachmentId(attachmentId string)(*ItemOutlookTasksItemAttachmentsAttachmentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -158,3 +158,8 @@ func (m *ItemOutlookTasksItemAttachmentsRequestBuilder) 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTasksItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTasksItemAttachmentsRequestBuilder) { + return NewItemOutlookTasksItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_tasks_item_complete_request_builder.go b/users/item_outlook_tasks_item_complete_request_builder.go index 02b705cc63d..66045b43d06 100644 --- a/users/item_outlook_tasks_item_complete_request_builder.go +++ b/users/item_outlook_tasks_item_complete_request_builder.go @@ -67,3 +67,8 @@ func (m *ItemOutlookTasksItemCompleteRequestBuilder) 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTasksItemCompleteRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTasksItemCompleteRequestBuilder) { + return NewItemOutlookTasksItemCompleteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_tasks_outlook_task_item_request_builder.go b/users/item_outlook_tasks_outlook_task_item_request_builder.go index b417442c802..b1a77fc1130 100644 --- a/users/item_outlook_tasks_outlook_task_item_request_builder.go +++ b/users/item_outlook_tasks_outlook_task_item_request_builder.go @@ -174,3 +174,8 @@ func (m *ItemOutlookTasksOutlookTaskItemRequestBuilder) ToPatchRequestInformatio } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTasksOutlookTaskItemRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTasksOutlookTaskItemRequestBuilder) { + return NewItemOutlookTasksOutlookTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_outlook_tasks_request_builder.go b/users/item_outlook_tasks_request_builder.go index 361ce06b882..30173905689 100644 --- a/users/item_outlook_tasks_request_builder.go +++ b/users/item_outlook_tasks_request_builder.go @@ -42,9 +42,9 @@ type ItemOutlookTasksRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByOutlookTaskIdString provides operations to manage the tasks property of the microsoft.graph.outlookUser entity. +// ByOutlookTaskId provides operations to manage the tasks property of the microsoft.graph.outlookUser entity. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 -func (m *ItemOutlookTasksRequestBuilder) ByOutlookTaskIdString(outlookTaskId string)(*ItemOutlookTasksOutlookTaskItemRequestBuilder) { +func (m *ItemOutlookTasksRequestBuilder) ByOutlookTaskId(outlookTaskId string)(*ItemOutlookTasksOutlookTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,8 @@ func (m *ItemOutlookTasksRequestBuilder) ToPostRequestInformation(ctx context.Co } 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. +// Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks on 2021-02-20 and will be removed 2023-02-20 +func (m *ItemOutlookTasksRequestBuilder) WithUrl(rawUrl string)(*ItemOutlookTasksRequestBuilder) { + return NewItemOutlookTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_owned_devices_count_request_builder.go b/users/item_owned_devices_count_request_builder.go index 40a6e831d50..d23b2655c4a 100644 --- a/users/item_owned_devices_count_request_builder.go +++ b/users/item_owned_devices_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnedDevicesCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemOwnedDevicesCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedDevicesCountRequestBuilder) { + return NewItemOwnedDevicesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_owned_devices_directory_object_item_request_builder.go b/users/item_owned_devices_directory_object_item_request_builder.go index ac84c28279b..f08a00202d2 100644 --- a/users/item_owned_devices_directory_object_item_request_builder.go +++ b/users/item_owned_devices_directory_object_item_request_builder.go @@ -83,3 +83,7 @@ func (m *ItemOwnedDevicesDirectoryObjectItemRequestBuilder) ToGetRequestInformat } 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 *ItemOwnedDevicesDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedDevicesDirectoryObjectItemRequestBuilder) { + return NewItemOwnedDevicesDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_owned_devices_graph_device_count_request_builder.go b/users/item_owned_devices_graph_device_count_request_builder.go index 49f0cba11ea..039097b5edb 100644 --- a/users/item_owned_devices_graph_device_count_request_builder.go +++ b/users/item_owned_devices_graph_device_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnedDevicesGraphDeviceCountRequestBuilder) 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 *ItemOwnedDevicesGraphDeviceCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedDevicesGraphDeviceCountRequestBuilder) { + return NewItemOwnedDevicesGraphDeviceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_owned_devices_graph_device_request_builder.go b/users/item_owned_devices_graph_device_request_builder.go index 3755693c9e5..5640e96e811 100644 --- a/users/item_owned_devices_graph_device_request_builder.go +++ b/users/item_owned_devices_graph_device_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemOwnedDevicesGraphDeviceRequestBuilder) ToGetRequestInformation(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 *ItemOwnedDevicesGraphDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedDevicesGraphDeviceRequestBuilder) { + return NewItemOwnedDevicesGraphDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_owned_devices_graph_endpoint_count_request_builder.go b/users/item_owned_devices_graph_endpoint_count_request_builder.go index 3e3a383fcec..7f6db0aa833 100644 --- a/users/item_owned_devices_graph_endpoint_count_request_builder.go +++ b/users/item_owned_devices_graph_endpoint_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnedDevicesGraphEndpointCountRequestBuilder) ToGetRequestInformati } 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 *ItemOwnedDevicesGraphEndpointCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedDevicesGraphEndpointCountRequestBuilder) { + return NewItemOwnedDevicesGraphEndpointCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_owned_devices_graph_endpoint_request_builder.go b/users/item_owned_devices_graph_endpoint_request_builder.go index 97771e79693..2b1609ee1ad 100644 --- a/users/item_owned_devices_graph_endpoint_request_builder.go +++ b/users/item_owned_devices_graph_endpoint_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemOwnedDevicesGraphEndpointRequestBuilder) ToGetRequestInformation(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 *ItemOwnedDevicesGraphEndpointRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedDevicesGraphEndpointRequestBuilder) { + return NewItemOwnedDevicesGraphEndpointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_owned_devices_item_graph_device_request_builder.go b/users/item_owned_devices_item_graph_device_request_builder.go index 25e8fcf19a2..9a490cb049e 100644 --- a/users/item_owned_devices_item_graph_device_request_builder.go +++ b/users/item_owned_devices_item_graph_device_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOwnedDevicesItemGraphDeviceRequestBuilder) 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 *ItemOwnedDevicesItemGraphDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedDevicesItemGraphDeviceRequestBuilder) { + return NewItemOwnedDevicesItemGraphDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_owned_devices_item_graph_endpoint_request_builder.go b/users/item_owned_devices_item_graph_endpoint_request_builder.go index 84278cd8f0c..6d7a7bf4c35 100644 --- a/users/item_owned_devices_item_graph_endpoint_request_builder.go +++ b/users/item_owned_devices_item_graph_endpoint_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOwnedDevicesItemGraphEndpointRequestBuilder) 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 *ItemOwnedDevicesItemGraphEndpointRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedDevicesItemGraphEndpointRequestBuilder) { + return NewItemOwnedDevicesItemGraphEndpointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_owned_devices_request_builder.go b/users/item_owned_devices_request_builder.go index 446969a43c3..653a5a9f070 100644 --- a/users/item_owned_devices_request_builder.go +++ b/users/item_owned_devices_request_builder.go @@ -39,8 +39,8 @@ type ItemOwnedDevicesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemOwnedDevicesRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the ownedDevices property of the microsoft.graph.user entity. -func (m *ItemOwnedDevicesRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemOwnedDevicesDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the ownedDevices property of the microsoft.graph.user entity. +func (m *ItemOwnedDevicesRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemOwnedDevicesDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -113,3 +113,7 @@ func (m *ItemOwnedDevicesRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *ItemOwnedDevicesRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedDevicesRequestBuilder) { + return NewItemOwnedDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_owned_objects_count_request_builder.go b/users/item_owned_objects_count_request_builder.go index 7a71c243413..25b5d0471e0 100644 --- a/users/item_owned_objects_count_request_builder.go +++ b/users/item_owned_objects_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnedObjectsCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemOwnedObjectsCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsCountRequestBuilder) { + return NewItemOwnedObjectsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_owned_objects_directory_object_item_request_builder.go b/users/item_owned_objects_directory_object_item_request_builder.go index b7643fb4be7..0f49e2da031 100644 --- a/users/item_owned_objects_directory_object_item_request_builder.go +++ b/users/item_owned_objects_directory_object_item_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemOwnedObjectsDirectoryObjectItemRequestBuilder) ToGetRequestInformat } 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 *ItemOwnedObjectsDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsDirectoryObjectItemRequestBuilder) { + return NewItemOwnedObjectsDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_owned_objects_graph_application_count_request_builder.go b/users/item_owned_objects_graph_application_count_request_builder.go index 69e57d090d1..0336c2c07bf 100644 --- a/users/item_owned_objects_graph_application_count_request_builder.go +++ b/users/item_owned_objects_graph_application_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnedObjectsGraphApplicationCountRequestBuilder) ToGetRequestInform } 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 *ItemOwnedObjectsGraphApplicationCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsGraphApplicationCountRequestBuilder) { + return NewItemOwnedObjectsGraphApplicationCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_owned_objects_graph_application_request_builder.go b/users/item_owned_objects_graph_application_request_builder.go index f11bdebacfa..3598f657033 100644 --- a/users/item_owned_objects_graph_application_request_builder.go +++ b/users/item_owned_objects_graph_application_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemOwnedObjectsGraphApplicationRequestBuilder) 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 *ItemOwnedObjectsGraphApplicationRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsGraphApplicationRequestBuilder) { + return NewItemOwnedObjectsGraphApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_owned_objects_graph_group_count_request_builder.go b/users/item_owned_objects_graph_group_count_request_builder.go index 82d4fd4d2c2..fffb0bb4711 100644 --- a/users/item_owned_objects_graph_group_count_request_builder.go +++ b/users/item_owned_objects_graph_group_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnedObjectsGraphGroupCountRequestBuilder) 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 *ItemOwnedObjectsGraphGroupCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsGraphGroupCountRequestBuilder) { + return NewItemOwnedObjectsGraphGroupCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_owned_objects_graph_group_request_builder.go b/users/item_owned_objects_graph_group_request_builder.go index 406d60686b5..8371ada7aaf 100644 --- a/users/item_owned_objects_graph_group_request_builder.go +++ b/users/item_owned_objects_graph_group_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemOwnedObjectsGraphGroupRequestBuilder) ToGetRequestInformation(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 *ItemOwnedObjectsGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsGraphGroupRequestBuilder) { + return NewItemOwnedObjectsGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_owned_objects_graph_service_principal_count_request_builder.go b/users/item_owned_objects_graph_service_principal_count_request_builder.go index f6450625e85..05dd0cbcde2 100644 --- a/users/item_owned_objects_graph_service_principal_count_request_builder.go +++ b/users/item_owned_objects_graph_service_principal_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemOwnedObjectsGraphServicePrincipalCountRequestBuilder) ToGetRequestI } 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 *ItemOwnedObjectsGraphServicePrincipalCountRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsGraphServicePrincipalCountRequestBuilder) { + return NewItemOwnedObjectsGraphServicePrincipalCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_owned_objects_graph_service_principal_request_builder.go b/users/item_owned_objects_graph_service_principal_request_builder.go index 5d166abe95e..6ca23ee23a5 100644 --- a/users/item_owned_objects_graph_service_principal_request_builder.go +++ b/users/item_owned_objects_graph_service_principal_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemOwnedObjectsGraphServicePrincipalRequestBuilder) ToGetRequestInform } 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 *ItemOwnedObjectsGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsGraphServicePrincipalRequestBuilder) { + return NewItemOwnedObjectsGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_owned_objects_item_graph_application_request_builder.go b/users/item_owned_objects_item_graph_application_request_builder.go index 08b7a82f4e9..83dda5935c7 100644 --- a/users/item_owned_objects_item_graph_application_request_builder.go +++ b/users/item_owned_objects_item_graph_application_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOwnedObjectsItemGraphApplicationRequestBuilder) ToGetRequestInforma } 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 *ItemOwnedObjectsItemGraphApplicationRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsItemGraphApplicationRequestBuilder) { + return NewItemOwnedObjectsItemGraphApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_owned_objects_item_graph_group_request_builder.go b/users/item_owned_objects_item_graph_group_request_builder.go index ab121873ac9..275bf9b3307 100644 --- a/users/item_owned_objects_item_graph_group_request_builder.go +++ b/users/item_owned_objects_item_graph_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOwnedObjectsItemGraphGroupRequestBuilder) ToGetRequestInformation(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 *ItemOwnedObjectsItemGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsItemGraphGroupRequestBuilder) { + return NewItemOwnedObjectsItemGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_owned_objects_item_graph_service_principal_request_builder.go b/users/item_owned_objects_item_graph_service_principal_request_builder.go index 769d52eaeb8..a112ad7fcfe 100644 --- a/users/item_owned_objects_item_graph_service_principal_request_builder.go +++ b/users/item_owned_objects_item_graph_service_principal_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemOwnedObjectsItemGraphServicePrincipalRequestBuilder) ToGetRequestIn } 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 *ItemOwnedObjectsItemGraphServicePrincipalRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsItemGraphServicePrincipalRequestBuilder) { + return NewItemOwnedObjectsItemGraphServicePrincipalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_owned_objects_request_builder.go b/users/item_owned_objects_request_builder.go index 9435015bcb3..fc870eb704d 100644 --- a/users/item_owned_objects_request_builder.go +++ b/users/item_owned_objects_request_builder.go @@ -39,8 +39,8 @@ type ItemOwnedObjectsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemOwnedObjectsRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the ownedObjects property of the microsoft.graph.user entity. -func (m *ItemOwnedObjectsRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemOwnedObjectsDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the ownedObjects property of the microsoft.graph.user entity. +func (m *ItemOwnedObjectsRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemOwnedObjectsDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -117,3 +117,7 @@ func (m *ItemOwnedObjectsRequestBuilder) ToGetRequestInformation(ctx context.Con } 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 *ItemOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemOwnedObjectsRequestBuilder) { + return NewItemOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_access_review_instance_item_request_builder.go b/users/item_pending_access_review_instances_access_review_instance_item_request_builder.go index 3542cb0eef3..22531b61699 100644 --- a/users/item_pending_access_review_instances_access_review_instance_item_request_builder.go +++ b/users/item_pending_access_review_instances_access_review_instance_item_request_builder.go @@ -197,3 +197,7 @@ func (m *ItemPendingAccessReviewInstancesAccessReviewInstanceItemRequestBuilder) } 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 *ItemPendingAccessReviewInstancesAccessReviewInstanceItemRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesAccessReviewInstanceItemRequestBuilder) { + return NewItemPendingAccessReviewInstancesAccessReviewInstanceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_count_request_builder.go b/users/item_pending_access_review_instances_count_request_builder.go index 1cb5741b1b3..d97034187f7 100644 --- a/users/item_pending_access_review_instances_count_request_builder.go +++ b/users/item_pending_access_review_instances_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPendingAccessReviewInstancesCountRequestBuilder) ToGetRequestInform } 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 *ItemPendingAccessReviewInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesCountRequestBuilder) { + return NewItemPendingAccessReviewInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_filter_by_current_user_with_on_request_builder.go b/users/item_pending_access_review_instances_filter_by_current_user_with_on_request_builder.go index aed91ab3123..7ac53321c8d 100644 --- a/users/item_pending_access_review_instances_filter_by_current_user_with_on_request_builder.go +++ b/users/item_pending_access_review_instances_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnRequestBuilder } 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 *ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnRequestBuilder) { + return NewItemPendingAccessReviewInstancesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_accept_recommendations_request_builder.go b/users/item_pending_access_review_instances_item_accept_recommendations_request_builder.go index c9534d6ef8d..4fd8979dd0c 100644 --- a/users/item_pending_access_review_instances_item_accept_recommendations_request_builder.go +++ b/users/item_pending_access_review_instances_item_accept_recommendations_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPendingAccessReviewInstancesItemAcceptRecommendationsRequestBuilder } 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 *ItemPendingAccessReviewInstancesItemAcceptRecommendationsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemAcceptRecommendationsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemAcceptRecommendationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_apply_decisions_request_builder.go b/users/item_pending_access_review_instances_item_apply_decisions_request_builder.go index 640edc309b2..cd7fc56e1b8 100644 --- a/users/item_pending_access_review_instances_item_apply_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_apply_decisions_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPendingAccessReviewInstancesItemApplyDecisionsRequestBuilder) ToPos } 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 *ItemPendingAccessReviewInstancesItemApplyDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemApplyDecisionsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemApplyDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_batch_record_decisions_request_builder.go b/users/item_pending_access_review_instances_item_batch_record_decisions_request_builder.go index be12532401d..ed9c7cbe3ab 100644 --- a/users/item_pending_access_review_instances_item_batch_record_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_batch_record_decisions_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemPendingAccessReviewInstancesItemBatchRecordDecisionsRequestBuilder) } 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 *ItemPendingAccessReviewInstancesItemBatchRecordDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemBatchRecordDecisionsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemBatchRecordDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_contacted_reviewers_access_review_reviewer_item_request_builder.go b/users/item_pending_access_review_instances_item_contacted_reviewers_access_review_reviewer_item_request_builder.go index 41ba84cfe53..14fdd6b7ff4 100644 --- a/users/item_pending_access_review_instances_item_contacted_reviewers_access_review_reviewer_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_contacted_reviewers_access_review_reviewer_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemPendingAccessReviewInstancesItemContactedReviewersAccessReviewRevie } 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 *ItemPendingAccessReviewInstancesItemContactedReviewersAccessReviewReviewerItemRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemContactedReviewersAccessReviewReviewerItemRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemContactedReviewersAccessReviewReviewerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_contacted_reviewers_count_request_builder.go b/users/item_pending_access_review_instances_item_contacted_reviewers_count_request_builder.go index 4dd2995af07..3d2bcff6afd 100644 --- a/users/item_pending_access_review_instances_item_contacted_reviewers_count_request_builder.go +++ b/users/item_pending_access_review_instances_item_contacted_reviewers_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPendingAccessReviewInstancesItemContactedReviewersCountRequestBuild } 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 *ItemPendingAccessReviewInstancesItemContactedReviewersCountRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemContactedReviewersCountRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemContactedReviewersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_contacted_reviewers_request_builder.go b/users/item_pending_access_review_instances_item_contacted_reviewers_request_builder.go index 1fe27666eb6..085f8be347b 100644 --- a/users/item_pending_access_review_instances_item_contacted_reviewers_request_builder.go +++ b/users/item_pending_access_review_instances_item_contacted_reviewers_request_builder.go @@ -46,8 +46,8 @@ type ItemPendingAccessReviewInstancesItemContactedReviewersRequestBuilderPostReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewReviewerIdString provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. -func (m *ItemPendingAccessReviewInstancesItemContactedReviewersRequestBuilder) ByAccessReviewReviewerIdString(accessReviewReviewerId string)(*ItemPendingAccessReviewInstancesItemContactedReviewersAccessReviewReviewerItemRequestBuilder) { +// ByAccessReviewReviewerId provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. +func (m *ItemPendingAccessReviewInstancesItemContactedReviewersRequestBuilder) ByAccessReviewReviewerId(accessReviewReviewerId string)(*ItemPendingAccessReviewInstancesItemContactedReviewersAccessReviewReviewerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemPendingAccessReviewInstancesItemContactedReviewersRequestBuilder) T } 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 *ItemPendingAccessReviewInstancesItemContactedReviewersRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemContactedReviewersRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemContactedReviewersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go b/users/item_pending_access_review_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go index a41aa7bc878..8c25d216be0 100644 --- a/users/item_pending_access_review_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -164,3 +164,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsAccessReviewInstanceDecisi } 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 *ItemPendingAccessReviewInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_count_request_builder.go b/users/item_pending_access_review_instances_item_decisions_count_request_builder.go index adb39ca7413..7f9eb76ced5 100644 --- a/users/item_pending_access_review_instances_item_decisions_count_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsCountRequestBuilder) ToGet } 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 *ItemPendingAccessReviewInstancesItemDecisionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsCountRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_filter_by_current_user_with_on_request_builder.go b/users/item_pending_access_review_instances_item_decisions_filter_by_current_user_with_on_request_builder.go index d7c0a3a5dd2..095a0e405cb 100644 --- a/users/item_pending_access_review_instances_item_decisions_filter_by_current_user_with_on_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnR } 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 *ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_insights_count_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_insights_count_request_builder.go index 36316d1bc38..fa04688f65c 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_insights_count_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_insights_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInsightsCountRequestBu } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInsightsCountRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInsightsCountRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInsightsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_insights_governance_insight_item_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_insights_governance_insight_item_request_builder.go index 0e9dcc184b9..d3959e82bef 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_insights_governance_insight_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_insights_governance_insight_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInsightsGovernanceInsi } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_insights_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_insights_request_builder.go index 50bce70402e..a249ea6c428 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_insights_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_insights_request_builder.go @@ -46,8 +46,8 @@ type ItemPendingAccessReviewInstancesItemDecisionsItemInsightsRequestBuilderPost // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceInsightIdString provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. -func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInsightsRequestBuilder) ByGovernanceInsightIdString(governanceInsightId string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { +// ByGovernanceInsightId provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. +func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInsightsRequestBuilder) ByGovernanceInsightId(governanceInsightId string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInsightsRequestBuilder } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInsightsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInsightsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInsightsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_accept_recommendations_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_accept_recommendations_request_builder.go index 55cf7c0bab0..c230ab45a8b 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_accept_recommendations_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_accept_recommendations_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceAcceptRecommen } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceAcceptRecommendationsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceAcceptRecommendationsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceAcceptRecommendationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_apply_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_apply_decisions_request_builder.go index 54bc0c1dec9..33d1b8ddb19 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_apply_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_apply_decisions_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceApplyDecisions } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceApplyDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceApplyDecisionsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceApplyDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go index cfbb20ffb3c..3debe715828 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceBatchRecordDec } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceBatchRecordDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceBatchRecordDecisionsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceBatchRecordDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go index 87dcb9b6e65..7bebfa828f8 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedRevie } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_count_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_count_request_builder.go index 400a100267b..5daab92c007 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_count_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedRevie } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersCountRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersCountRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go index 31efa7ae9d8..d5157544fd5 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go @@ -46,8 +46,8 @@ type ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewers // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewReviewerIdString provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. -func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilder) ByAccessReviewReviewerIdString(accessReviewReviewerId string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder) { +// ByAccessReviewReviewerId provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. +func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilder) ByAccessReviewReviewerId(accessReviewReviewerId string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedRevie } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_definition_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_definition_request_builder.go index 6ef086550a4..c376b1807a9 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_definition_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceDefinitionRequ } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceDefinitionRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_request_builder.go index 41b366939ff..da7e56c5070 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_request_builder.go @@ -193,3 +193,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceRequestBuilder } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_reset_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_reset_decisions_request_builder.go index be4e5c37318..c7129091920 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_reset_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_reset_decisions_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceResetDecisions } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceResetDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceResetDecisionsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceResetDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_send_reminder_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_send_reminder_request_builder.go index 9c06e8fd02c..955bdfee37f 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_send_reminder_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_send_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceSendReminderRe } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceSendReminderRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceSendReminderRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceSendReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go index 05fe738f40e..a881ed032d8 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go @@ -167,3 +167,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessRe } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_count_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_count_request_builder.go index e938506849f..1e3102570a2 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_count_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesCountReq } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesCountRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go index 7ea799e585d..ff6f278399a 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterBy } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go index 2bbed95e83d..e6a1d3ed9d0 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -163,3 +163,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_count_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_count_request_builder.go index 265de8ad617..389aee0c4df 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_count_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsCountRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go index 3a07db871b0..a679b14bb1c 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_item_insights_count_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_item_insights_count_request_builder.go index 6fa24fc9757..65113b33fe9 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_item_insights_count_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_item_insights_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsCountRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsCountRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go index 5defcd302fd..c99d72aa2e7 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go index 98f70c91b08..7ac96911813 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go @@ -46,8 +46,8 @@ type ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecision // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceInsightIdString provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. -func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsRequestBuilder) ByGovernanceInsightIdString(governanceInsightId string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { +// ByGovernanceInsightId provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. +func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsRequestBuilder) ByGovernanceInsightId(governanceInsightId string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go index 461d4a84d4c..049b6643548 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go index 5bb16e5fbda..0471dfdd381 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go @@ -46,8 +46,8 @@ type ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecision // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewInstanceDecisionItemId1String provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. -func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilder) ByAccessReviewInstanceDecisionItemId1String(accessReviewInstanceDecisionItemId1 string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { +// ByAccessReviewInstanceDecisionItemId1 provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. +func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilder) ByAccessReviewInstanceDecisionItemId1(accessReviewInstanceDecisionItemId1 string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_stop_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_stop_request_builder.go index 948a7abe3d4..eb310462f2a 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_stop_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_stop_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemStop } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemStopRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemStopRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemStopRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_request_builder.go index 2420f766872..349aa928b97 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_request_builder.go @@ -46,8 +46,8 @@ type ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewStageIdString provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. -func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesRequestBuilder) ByAccessReviewStageIdString(accessReviewStageId string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) { +// ByAccessReviewStageId provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. +func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesRequestBuilder) ByAccessReviewStageId(accessReviewStageId string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesRequestB } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stop_apply_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stop_apply_decisions_request_builder.go index 2726a2c464d..688231f6fb4 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stop_apply_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stop_apply_decisions_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStopApplyDecis } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStopApplyDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStopApplyDecisionsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStopApplyDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stop_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stop_request_builder.go index 7742c5ba6d0..28a1f54e0a3 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stop_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stop_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStopRequestBui } 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 *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStopRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStopRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStopRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_record_all_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_record_all_decisions_request_builder.go index 75a05866976..0b95ba3a03b 100644 --- a/users/item_pending_access_review_instances_item_decisions_record_all_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_record_all_decisions_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsRecordAllDecisionsRequestB } 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 *ItemPendingAccessReviewInstancesItemDecisionsRecordAllDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsRecordAllDecisionsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsRecordAllDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_request_builder.go index 8be71fbc6f0..c27ded5ac01 100644 --- a/users/item_pending_access_review_instances_item_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_request_builder.go @@ -46,8 +46,8 @@ type ItemPendingAccessReviewInstancesItemDecisionsRequestBuilderPostRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewInstanceDecisionItemIdString provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. -func (m *ItemPendingAccessReviewInstancesItemDecisionsRequestBuilder) ByAccessReviewInstanceDecisionItemIdString(accessReviewInstanceDecisionItemId string)(*ItemPendingAccessReviewInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { +// ByAccessReviewInstanceDecisionItemId provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. +func (m *ItemPendingAccessReviewInstancesItemDecisionsRequestBuilder) ByAccessReviewInstanceDecisionItemId(accessReviewInstanceDecisionItemId string)(*ItemPendingAccessReviewInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsRequestBuilder) ToPostRequ } 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 *ItemPendingAccessReviewInstancesItemDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDecisionsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_definition_request_builder.go b/users/item_pending_access_review_instances_item_definition_request_builder.go index ae4f03d2ba5..3be366a54c0 100644 --- a/users/item_pending_access_review_instances_item_definition_request_builder.go +++ b/users/item_pending_access_review_instances_item_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemPendingAccessReviewInstancesItemDefinitionRequestBuilder) ToGetRequ } 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 *ItemPendingAccessReviewInstancesItemDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemDefinitionRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_reset_decisions_request_builder.go b/users/item_pending_access_review_instances_item_reset_decisions_request_builder.go index 011ef290d60..fccf67cd2ad 100644 --- a/users/item_pending_access_review_instances_item_reset_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_reset_decisions_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPendingAccessReviewInstancesItemResetDecisionsRequestBuilder) ToPos } 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 *ItemPendingAccessReviewInstancesItemResetDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemResetDecisionsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemResetDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_send_reminder_request_builder.go b/users/item_pending_access_review_instances_item_send_reminder_request_builder.go index 7cb9e528613..ed1dd3100fe 100644 --- a/users/item_pending_access_review_instances_item_send_reminder_request_builder.go +++ b/users/item_pending_access_review_instances_item_send_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPendingAccessReviewInstancesItemSendReminderRequestBuilder) ToPostR } 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 *ItemPendingAccessReviewInstancesItemSendReminderRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemSendReminderRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemSendReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_access_review_stage_item_request_builder.go b/users/item_pending_access_review_instances_item_stages_access_review_stage_item_request_builder.go index d8d8e3835cc..e53ba154bb5 100644 --- a/users/item_pending_access_review_instances_item_stages_access_review_stage_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_access_review_stage_item_request_builder.go @@ -167,3 +167,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestB } 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 *ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_count_request_builder.go b/users/item_pending_access_review_instances_item_stages_count_request_builder.go index 7700579da66..5e39b6a10ee 100644 --- a/users/item_pending_access_review_instances_item_stages_count_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesCountRequestBuilder) ToGetReq } 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 *ItemPendingAccessReviewInstancesItemStagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesCountRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_filter_by_current_user_with_on_request_builder.go b/users/item_pending_access_review_instances_item_stages_filter_by_current_user_with_on_request_builder.go index 586f4d75331..fe1dcfe1c46 100644 --- a/users/item_pending_access_review_instances_item_stages_filter_by_current_user_with_on_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnRequ } 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 *ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go index 27d943f865e..97e942ca11d 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -167,3 +167,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInst } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_count_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_count_request_builder.go index e8e98b74ed6..1b2ffc71582 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_count_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsCountRequestBuil } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsCountRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go index 051fd4f5328..99aab4cb286 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentU } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_insights_count_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_insights_count_request_builder.go index 88b70f72caa..8104193bce0 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_insights_count_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_insights_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInsightsCoun } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInsightsCountRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInsightsCountRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInsightsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_insights_governance_insight_item_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_insights_governance_insight_item_request_builder.go index 84a3751b8a4..42331a45857 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_insights_governance_insight_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_insights_governance_insight_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInsightsGove } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_insights_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_insights_request_builder.go index b40bcb84740..de74ef034b8 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_insights_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_insights_request_builder.go @@ -46,8 +46,8 @@ type ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInsightsRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceInsightIdString provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. -func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInsightsRequestBuilder) ByGovernanceInsightIdString(governanceInsightId string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { +// ByGovernanceInsightId provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. +func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInsightsRequestBuilder) ByGovernanceInsightId(governanceInsightId string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInsightsRequ } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInsightsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInsightsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInsightsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go index 10619b789d7..74b11cb859d 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceAcce } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceAcceptRecommendationsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceAcceptRecommendationsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceAcceptRecommendationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go index 3991e5d48cd..6abbdf07526 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceAppl } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceApplyDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceApplyDecisionsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceApplyDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go index e348ac11d8b..da5bc04967f 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceBatc } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceBatchRecordDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceBatchRecordDecisionsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceBatchRecordDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go index 7198cd8105e..c098953e16c 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceCont } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_count_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_count_request_builder.go index b958f3a76bf..41b08b1d2ab 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_count_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceCont } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersCountRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersCountRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go index 074c75efdca..538343b3701 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go @@ -46,8 +46,8 @@ type ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContacte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewReviewerIdString provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. -func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilder) ByAccessReviewReviewerIdString(accessReviewReviewerId string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder) { +// ByAccessReviewReviewerId provides operations to manage the contactedReviewers property of the microsoft.graph.accessReviewInstance entity. +func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilder) ByAccessReviewReviewerId(accessReviewReviewerId string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersAccessReviewReviewerItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceCont } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go index 9db1c789263..c074819804d 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go @@ -160,3 +160,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_count_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_count_request_builder.go index 33c24ae9d9b..b3b0f348cdf 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_count_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsCountRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go index d42d073d021..f5c95631e99 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_item_insights_count_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_item_insights_count_request_builder.go index 2081cb33f6a..512b8d5fd06 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_item_insights_count_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_item_insights_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsCountRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsCountRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go index 7940849d4cc..7341627e3ef 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsGovernanceInsightItemRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsGovernanceInsightItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_item_insights_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_item_insights_request_builder.go index be7e538c61f..54e8c8ddcc5 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_item_insights_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_item_insights_request_builder.go @@ -46,8 +46,8 @@ type ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecision // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByGovernanceInsightIdString provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. -func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsRequestBuilder) ByGovernanceInsightIdString(governanceInsightId string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { +// ByGovernanceInsightId provides operations to manage the insights property of the microsoft.graph.accessReviewInstanceDecisionItem entity. +func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsRequestBuilder) ByGovernanceInsightId(governanceInsightId string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsGovernanceInsightItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsItemInsightsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go index 0844420b598..988301545c0 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go index 02165095f2e..ddfe016b078 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go @@ -46,8 +46,8 @@ type ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecision // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewInstanceDecisionItemId1String provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. -func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilder) ByAccessReviewInstanceDecisionItemId1String(accessReviewInstanceDecisionItemId1 string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { +// ByAccessReviewInstanceDecisionItemId1 provides operations to manage the decisions property of the microsoft.graph.accessReviewInstance entity. +func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilder) ByAccessReviewInstanceDecisionItemId1(accessReviewInstanceDecisionItemId1 string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_definition_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_definition_request_builder.go index a5611397518..b433189d3f1 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_definition_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDefi } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDefinitionRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_request_builder.go index b52e9a77549..8df4cba0023 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_request_builder.go @@ -193,3 +193,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceRequ } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go index 49d920835bc..75ef2fca1a2 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceRese } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceResetDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceResetDecisionsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceResetDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go index 19bc39b2cff..ea5fc2c2950 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceSend } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceSendReminderRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceSendReminderRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceSendReminderRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_stop_apply_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_stop_apply_decisions_request_builder.go index ccad1f2b3d7..27c5db5ffe7 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_stop_apply_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_stop_apply_decisions_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceStop } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceStopApplyDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceStopApplyDecisionsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceStopApplyDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_stop_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_stop_request_builder.go index 4fe44762c24..71a4eebb8b4 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_stop_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_stop_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceStop } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceStopRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceStopRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceStopRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_record_all_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_record_all_decisions_request_builder.go index b1b00101dd3..2ef2796d7ec 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_record_all_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_record_all_decisions_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsRecordAllDecisio } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsRecordAllDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsRecordAllDecisionsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsRecordAllDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_request_builder.go index ddcc3ba3a8e..d992e820c40 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_request_builder.go @@ -46,8 +46,8 @@ type ItemPendingAccessReviewInstancesItemStagesItemDecisionsRequestBuilderPostRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewInstanceDecisionItemIdString provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. -func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsRequestBuilder) ByAccessReviewInstanceDecisionItemIdString(accessReviewInstanceDecisionItemId string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { +// ByAccessReviewInstanceDecisionItemId provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity. +func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsRequestBuilder) ByAccessReviewInstanceDecisionItemId(accessReviewInstanceDecisionItemId string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -156,3 +156,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsRequestBuilder) } 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 *ItemPendingAccessReviewInstancesItemStagesItemDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_item_stop_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_stop_request_builder.go index 2071140a200..f1acd63b836 100644 --- a/users/item_pending_access_review_instances_item_stages_item_stop_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_stop_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemStopRequestBuilder) ToPos } 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 *ItemPendingAccessReviewInstancesItemStagesItemStopRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesItemStopRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesItemStopRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stages_request_builder.go b/users/item_pending_access_review_instances_item_stages_request_builder.go index a15b2ee8cd8..860579a56ad 100644 --- a/users/item_pending_access_review_instances_item_stages_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_request_builder.go @@ -46,8 +46,8 @@ type ItemPendingAccessReviewInstancesItemStagesRequestBuilderPostRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewStageIdString provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. -func (m *ItemPendingAccessReviewInstancesItemStagesRequestBuilder) ByAccessReviewStageIdString(accessReviewStageId string)(*ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestBuilder) { +// ByAccessReviewStageId provides operations to manage the stages property of the microsoft.graph.accessReviewInstance entity. +func (m *ItemPendingAccessReviewInstancesItemStagesRequestBuilder) ByAccessReviewStageId(accessReviewStageId string)(*ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesRequestBuilder) ToPostRequest } 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 *ItemPendingAccessReviewInstancesItemStagesRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStagesRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stop_apply_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stop_apply_decisions_request_builder.go index 469b384884b..88dfe0c1fed 100644 --- a/users/item_pending_access_review_instances_item_stop_apply_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stop_apply_decisions_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemPendingAccessReviewInstancesItemStopApplyDecisionsRequestBuilder) T } 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 *ItemPendingAccessReviewInstancesItemStopApplyDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStopApplyDecisionsRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStopApplyDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_item_stop_request_builder.go b/users/item_pending_access_review_instances_item_stop_request_builder.go index fe51884d639..47a130c76b7 100644 --- a/users/item_pending_access_review_instances_item_stop_request_builder.go +++ b/users/item_pending_access_review_instances_item_stop_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPendingAccessReviewInstancesItemStopRequestBuilder) ToPostRequestIn } 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 *ItemPendingAccessReviewInstancesItemStopRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesItemStopRequestBuilder) { + return NewItemPendingAccessReviewInstancesItemStopRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_pending_access_review_instances_request_builder.go b/users/item_pending_access_review_instances_request_builder.go index 77cc9c9a46f..bc684d5bce4 100644 --- a/users/item_pending_access_review_instances_request_builder.go +++ b/users/item_pending_access_review_instances_request_builder.go @@ -46,8 +46,8 @@ type ItemPendingAccessReviewInstancesRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAccessReviewInstanceIdString provides operations to manage the pendingAccessReviewInstances property of the microsoft.graph.user entity. -func (m *ItemPendingAccessReviewInstancesRequestBuilder) ByAccessReviewInstanceIdString(accessReviewInstanceId string)(*ItemPendingAccessReviewInstancesAccessReviewInstanceItemRequestBuilder) { +// ByAccessReviewInstanceId provides operations to manage the pendingAccessReviewInstances property of the microsoft.graph.user entity. +func (m *ItemPendingAccessReviewInstancesRequestBuilder) ByAccessReviewInstanceId(accessReviewInstanceId string)(*ItemPendingAccessReviewInstancesAccessReviewInstanceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *ItemPendingAccessReviewInstancesRequestBuilder) ToPostRequestInformatio } 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 *ItemPendingAccessReviewInstancesRequestBuilder) WithUrl(rawUrl string)(*ItemPendingAccessReviewInstancesRequestBuilder) { + return NewItemPendingAccessReviewInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_people_count_request_builder.go b/users/item_people_count_request_builder.go index 86f014dd51e..5c91699ceb6 100644 --- a/users/item_people_count_request_builder.go +++ b/users/item_people_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPeopleCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemPeopleCountRequestBuilder) WithUrl(rawUrl string)(*ItemPeopleCountRequestBuilder) { + return NewItemPeopleCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_people_person_item_request_builder.go b/users/item_people_person_item_request_builder.go index 5b289dfb5f0..5096fc54063 100644 --- a/users/item_people_person_item_request_builder.go +++ b/users/item_people_person_item_request_builder.go @@ -73,3 +73,7 @@ func (m *ItemPeoplePersonItemRequestBuilder) ToGetRequestInformation(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 *ItemPeoplePersonItemRequestBuilder) WithUrl(rawUrl string)(*ItemPeoplePersonItemRequestBuilder) { + return NewItemPeoplePersonItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_people_request_builder.go b/users/item_people_request_builder.go index 4a1303c9eae..322c72ec2bc 100644 --- a/users/item_people_request_builder.go +++ b/users/item_people_request_builder.go @@ -37,8 +37,8 @@ type ItemPeopleRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemPeopleRequestBuilderGetQueryParameters } -// ByPersonIdString provides operations to manage the people property of the microsoft.graph.user entity. -func (m *ItemPeopleRequestBuilder) ByPersonIdString(personId string)(*ItemPeoplePersonItemRequestBuilder) { +// ByPersonId provides operations to manage the people property of the microsoft.graph.user entity. +func (m *ItemPeopleRequestBuilder) ByPersonId(personId string)(*ItemPeoplePersonItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -103,3 +103,7 @@ func (m *ItemPeopleRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemPeopleRequestBuilder) WithUrl(rawUrl string)(*ItemPeopleRequestBuilder) { + return NewItemPeopleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_permission_grants_count_request_builder.go b/users/item_permission_grants_count_request_builder.go index e896ccdc3ba..5d753fedd8a 100644 --- a/users/item_permission_grants_count_request_builder.go +++ b/users/item_permission_grants_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPermissionGrantsCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemPermissionGrantsCountRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsCountRequestBuilder) { + return NewItemPermissionGrantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_permission_grants_delta_request_builder.go b/users/item_permission_grants_delta_request_builder.go index 688896cfba2..1014d08960a 100644 --- a/users/item_permission_grants_delta_request_builder.go +++ b/users/item_permission_grants_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemPermissionGrantsDeltaRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemPermissionGrantsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsDeltaRequestBuilder) { + return NewItemPermissionGrantsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_permission_grants_get_by_ids_request_builder.go b/users/item_permission_grants_get_by_ids_request_builder.go index 9d57454d2ff..a541128c4ce 100644 --- a/users/item_permission_grants_get_by_ids_request_builder.go +++ b/users/item_permission_grants_get_by_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemPermissionGrantsGetByIdsRequestBuilder) 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 *ItemPermissionGrantsGetByIdsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsGetByIdsRequestBuilder) { + return NewItemPermissionGrantsGetByIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_permission_grants_get_user_owned_objects_request_builder.go b/users/item_permission_grants_get_user_owned_objects_request_builder.go index 1fe99d79e19..897228f3981 100644 --- a/users/item_permission_grants_get_user_owned_objects_request_builder.go +++ b/users/item_permission_grants_get_user_owned_objects_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemPermissionGrantsGetUserOwnedObjectsRequestBuilder) ToPostRequestInf } 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 *ItemPermissionGrantsGetUserOwnedObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsGetUserOwnedObjectsRequestBuilder) { + return NewItemPermissionGrantsGetUserOwnedObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_permission_grants_item_check_member_groups_request_builder.go b/users/item_permission_grants_item_check_member_groups_request_builder.go index 8a264052b51..de8514c71e9 100644 --- a/users/item_permission_grants_item_check_member_groups_request_builder.go +++ b/users/item_permission_grants_item_check_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemPermissionGrantsItemCheckMemberGroupsRequestBuilder) ToPostRequestI } 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 *ItemPermissionGrantsItemCheckMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsItemCheckMemberGroupsRequestBuilder) { + return NewItemPermissionGrantsItemCheckMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_permission_grants_item_check_member_objects_request_builder.go b/users/item_permission_grants_item_check_member_objects_request_builder.go index c45f9734ea4..83848391782 100644 --- a/users/item_permission_grants_item_check_member_objects_request_builder.go +++ b/users/item_permission_grants_item_check_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemPermissionGrantsItemCheckMemberObjectsRequestBuilder) ToPostRequest } 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 *ItemPermissionGrantsItemCheckMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsItemCheckMemberObjectsRequestBuilder) { + return NewItemPermissionGrantsItemCheckMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_permission_grants_item_get_member_groups_request_builder.go b/users/item_permission_grants_item_get_member_groups_request_builder.go index c6e10caa905..e8858d76541 100644 --- a/users/item_permission_grants_item_get_member_groups_request_builder.go +++ b/users/item_permission_grants_item_get_member_groups_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemPermissionGrantsItemGetMemberGroupsRequestBuilder) ToPostRequestInf } 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 *ItemPermissionGrantsItemGetMemberGroupsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsItemGetMemberGroupsRequestBuilder) { + return NewItemPermissionGrantsItemGetMemberGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_permission_grants_item_get_member_objects_request_builder.go b/users/item_permission_grants_item_get_member_objects_request_builder.go index 6c636626576..f19ada73ea7 100644 --- a/users/item_permission_grants_item_get_member_objects_request_builder.go +++ b/users/item_permission_grants_item_get_member_objects_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemPermissionGrantsItemGetMemberObjectsRequestBuilder) ToPostRequestIn } 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 *ItemPermissionGrantsItemGetMemberObjectsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsItemGetMemberObjectsRequestBuilder) { + return NewItemPermissionGrantsItemGetMemberObjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_permission_grants_item_restore_request_builder.go b/users/item_permission_grants_item_restore_request_builder.go index 2d948161f8d..c17a9b3814b 100644 --- a/users/item_permission_grants_item_restore_request_builder.go +++ b/users/item_permission_grants_item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemPermissionGrantsItemRestoreRequestBuilder) 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 *ItemPermissionGrantsItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsItemRestoreRequestBuilder) { + return NewItemPermissionGrantsItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_permission_grants_request_builder.go b/users/item_permission_grants_request_builder.go index e06052190ed..6df67c176c4 100644 --- a/users/item_permission_grants_request_builder.go +++ b/users/item_permission_grants_request_builder.go @@ -46,8 +46,8 @@ type ItemPermissionGrantsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByResourceSpecificPermissionGrantIdString provides operations to manage the permissionGrants property of the microsoft.graph.user entity. -func (m *ItemPermissionGrantsRequestBuilder) ByResourceSpecificPermissionGrantIdString(resourceSpecificPermissionGrantId string)(*ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { +// ByResourceSpecificPermissionGrantId provides operations to manage the permissionGrants property of the microsoft.graph.user entity. +func (m *ItemPermissionGrantsRequestBuilder) ByResourceSpecificPermissionGrantId(resourceSpecificPermissionGrantId string)(*ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -164,3 +164,7 @@ func (m *ItemPermissionGrantsRequestBuilder) ToPostRequestInformation(ctx contex func (m *ItemPermissionGrantsRequestBuilder) ValidateProperties()(*ItemPermissionGrantsValidatePropertiesRequestBuilder) { return NewItemPermissionGrantsValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemPermissionGrantsRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsRequestBuilder) { + return NewItemPermissionGrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_permission_grants_resource_specific_permission_grant_item_request_builder.go b/users/item_permission_grants_resource_specific_permission_grant_item_request_builder.go index 199803cc2b8..a389dff59f8 100644 --- a/users/item_permission_grants_resource_specific_permission_grant_item_request_builder.go +++ b/users/item_permission_grants_resource_specific_permission_grant_item_request_builder.go @@ -173,3 +173,7 @@ func (m *ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) } 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 *ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) { + return NewItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_permission_grants_validate_properties_request_builder.go b/users/item_permission_grants_validate_properties_request_builder.go index 290f40d2dc0..be533e21d65 100644 --- a/users/item_permission_grants_validate_properties_request_builder.go +++ b/users/item_permission_grants_validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemPermissionGrantsValidatePropertiesRequestBuilder) ToPostRequestInfo } 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 *ItemPermissionGrantsValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ItemPermissionGrantsValidatePropertiesRequestBuilder) { + return NewItemPermissionGrantsValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_photo_request_builder.go b/users/item_photo_request_builder.go index 52633f7d71b..b2cc6faf296 100644 --- a/users/item_photo_request_builder.go +++ b/users/item_photo_request_builder.go @@ -155,3 +155,7 @@ func (m *ItemPhotoRequestBuilder) ToPatchRequestInformation(ctx context.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 *ItemPhotoRequestBuilder) WithUrl(rawUrl string)(*ItemPhotoRequestBuilder) { + return NewItemPhotoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_photo_value_content_request_builder.go b/users/item_photo_value_content_request_builder.go index 17d05299517..f90c42e072e 100644 --- a/users/item_photo_value_content_request_builder.go +++ b/users/item_photo_value_content_request_builder.go @@ -100,3 +100,7 @@ func (m *ItemPhotoValueContentRequestBuilder) ToPutRequestInformation(ctx contex } 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 *ItemPhotoValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemPhotoValueContentRequestBuilder) { + return NewItemPhotoValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_photos_count_request_builder.go b/users/item_photos_count_request_builder.go index 35447d3f807..21c7bd3c4eb 100644 --- a/users/item_photos_count_request_builder.go +++ b/users/item_photos_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemPhotosCountRequestBuilder) ToGetRequestInformation(ctx context.Cont } 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 *ItemPhotosCountRequestBuilder) WithUrl(rawUrl string)(*ItemPhotosCountRequestBuilder) { + return NewItemPhotosCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_photos_item_value_content_request_builder.go b/users/item_photos_item_value_content_request_builder.go index 785e7607e6c..d02a0d0b2a0 100644 --- a/users/item_photos_item_value_content_request_builder.go +++ b/users/item_photos_item_value_content_request_builder.go @@ -100,3 +100,7 @@ func (m *ItemPhotosItemValueContentRequestBuilder) ToPutRequestInformation(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 *ItemPhotosItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemPhotosItemValueContentRequestBuilder) { + return NewItemPhotosItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_photos_profile_photo_item_request_builder.go b/users/item_photos_profile_photo_item_request_builder.go index 0de013a9fda..19c2a2a2c35 100644 --- a/users/item_photos_profile_photo_item_request_builder.go +++ b/users/item_photos_profile_photo_item_request_builder.go @@ -77,3 +77,7 @@ func (m *ItemPhotosProfilePhotoItemRequestBuilder) ToGetRequestInformation(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 *ItemPhotosProfilePhotoItemRequestBuilder) WithUrl(rawUrl string)(*ItemPhotosProfilePhotoItemRequestBuilder) { + return NewItemPhotosProfilePhotoItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_photos_request_builder.go b/users/item_photos_request_builder.go index 405ef0047f1..083bee7bba0 100644 --- a/users/item_photos_request_builder.go +++ b/users/item_photos_request_builder.go @@ -35,8 +35,8 @@ type ItemPhotosRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemPhotosRequestBuilderGetQueryParameters } -// ByProfilePhotoIdString provides operations to manage the photos property of the microsoft.graph.user entity. -func (m *ItemPhotosRequestBuilder) ByProfilePhotoIdString(profilePhotoId string)(*ItemPhotosProfilePhotoItemRequestBuilder) { +// ByProfilePhotoId provides operations to manage the photos property of the microsoft.graph.user entity. +func (m *ItemPhotosRequestBuilder) ByProfilePhotoId(profilePhotoId string)(*ItemPhotosProfilePhotoItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,3 +98,7 @@ func (m *ItemPhotosRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemPhotosRequestBuilder) WithUrl(rawUrl string)(*ItemPhotosRequestBuilder) { + return NewItemPhotosRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_all_count_request_builder.go b/users/item_planner_all_count_request_builder.go index 3e6df737b5b..4dfa1d8718f 100644 --- a/users/item_planner_all_count_request_builder.go +++ b/users/item_planner_all_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPlannerAllCountRequestBuilder) ToGetRequestInformation(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 *ItemPlannerAllCountRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerAllCountRequestBuilder) { + return NewItemPlannerAllCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_all_delta_request_builder.go b/users/item_planner_all_delta_request_builder.go index e6d7a9bb3f8..e414c998f2f 100644 --- a/users/item_planner_all_delta_request_builder.go +++ b/users/item_planner_all_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemPlannerAllDeltaRequestBuilder) ToGetRequestInformation(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 *ItemPlannerAllDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerAllDeltaRequestBuilder) { + return NewItemPlannerAllDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_all_planner_delta_item_request_builder.go b/users/item_planner_all_planner_delta_item_request_builder.go index 188dc9d7a77..65e8cd9e50e 100644 --- a/users/item_planner_all_planner_delta_item_request_builder.go +++ b/users/item_planner_all_planner_delta_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemPlannerAllPlannerDeltaItemRequestBuilder) 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 *ItemPlannerAllPlannerDeltaItemRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerAllPlannerDeltaItemRequestBuilder) { + return NewItemPlannerAllPlannerDeltaItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_all_request_builder.go b/users/item_planner_all_request_builder.go index 6c103975365..9aa17971d2b 100644 --- a/users/item_planner_all_request_builder.go +++ b/users/item_planner_all_request_builder.go @@ -46,8 +46,8 @@ type ItemPlannerAllRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPlannerDeltaIdString provides operations to manage the all property of the microsoft.graph.plannerUser entity. -func (m *ItemPlannerAllRequestBuilder) ByPlannerDeltaIdString(plannerDeltaId string)(*ItemPlannerAllPlannerDeltaItemRequestBuilder) { +// ByPlannerDeltaId provides operations to manage the all property of the microsoft.graph.plannerUser entity. +func (m *ItemPlannerAllRequestBuilder) ByPlannerDeltaId(plannerDeltaId string)(*ItemPlannerAllPlannerDeltaItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -149,3 +149,7 @@ func (m *ItemPlannerAllRequestBuilder) ToPostRequestInformation(ctx context.Cont } 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 *ItemPlannerAllRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerAllRequestBuilder) { + return NewItemPlannerAllRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_favorite_plans_count_request_builder.go b/users/item_planner_favorite_plans_count_request_builder.go index cda854c0d0c..cb7d399d835 100644 --- a/users/item_planner_favorite_plans_count_request_builder.go +++ b/users/item_planner_favorite_plans_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPlannerFavoritePlansCountRequestBuilder) ToGetRequestInformation(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 *ItemPlannerFavoritePlansCountRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerFavoritePlansCountRequestBuilder) { + return NewItemPlannerFavoritePlansCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_favorite_plans_planner_plan_item_request_builder.go b/users/item_planner_favorite_plans_planner_plan_item_request_builder.go index 6c052c0fc81..22d62aa4720 100644 --- a/users/item_planner_favorite_plans_planner_plan_item_request_builder.go +++ b/users/item_planner_favorite_plans_planner_plan_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemPlannerFavoritePlansPlannerPlanItemRequestBuilder) ToGetRequestInfo } 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 *ItemPlannerFavoritePlansPlannerPlanItemRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerFavoritePlansPlannerPlanItemRequestBuilder) { + return NewItemPlannerFavoritePlansPlannerPlanItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_favorite_plans_request_builder.go b/users/item_planner_favorite_plans_request_builder.go index 85329b2af9e..2e483f31390 100644 --- a/users/item_planner_favorite_plans_request_builder.go +++ b/users/item_planner_favorite_plans_request_builder.go @@ -39,8 +39,8 @@ type ItemPlannerFavoritePlansRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemPlannerFavoritePlansRequestBuilderGetQueryParameters } -// ByPlannerPlanIdString provides operations to manage the favoritePlans property of the microsoft.graph.plannerUser entity. -func (m *ItemPlannerFavoritePlansRequestBuilder) ByPlannerPlanIdString(plannerPlanId string)(*ItemPlannerFavoritePlansPlannerPlanItemRequestBuilder) { +// ByPlannerPlanId provides operations to manage the favoritePlans property of the microsoft.graph.plannerUser entity. +func (m *ItemPlannerFavoritePlansRequestBuilder) ByPlannerPlanId(plannerPlanId string)(*ItemPlannerFavoritePlansPlannerPlanItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemPlannerFavoritePlansRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemPlannerFavoritePlansRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerFavoritePlansRequestBuilder) { + return NewItemPlannerFavoritePlansRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_count_request_builder.go b/users/item_planner_plans_count_request_builder.go index 0713f7d79c2..bbef56038a8 100644 --- a/users/item_planner_plans_count_request_builder.go +++ b/users/item_planner_plans_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPlannerPlansCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemPlannerPlansCountRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansCountRequestBuilder) { + return NewItemPlannerPlansCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_delta_request_builder.go b/users/item_planner_plans_delta_request_builder.go index ec314f7a23f..35472e45bbe 100644 --- a/users/item_planner_plans_delta_request_builder.go +++ b/users/item_planner_plans_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemPlannerPlansDeltaRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemPlannerPlansDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansDeltaRequestBuilder) { + return NewItemPlannerPlansDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_item_buckets_count_request_builder.go b/users/item_planner_plans_item_buckets_count_request_builder.go index 288944a5bbe..c34660adfa1 100644 --- a/users/item_planner_plans_item_buckets_count_request_builder.go +++ b/users/item_planner_plans_item_buckets_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPlannerPlansItemBucketsCountRequestBuilder) 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 *ItemPlannerPlansItemBucketsCountRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsCountRequestBuilder) { + return NewItemPlannerPlansItemBucketsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_item_buckets_delta_request_builder.go b/users/item_planner_plans_item_buckets_delta_request_builder.go index 20c8b523999..d8ed08be277 100644 --- a/users/item_planner_plans_item_buckets_delta_request_builder.go +++ b/users/item_planner_plans_item_buckets_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemPlannerPlansItemBucketsDeltaRequestBuilder) 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 *ItemPlannerPlansItemBucketsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsDeltaRequestBuilder) { + return NewItemPlannerPlansItemBucketsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_item_buckets_item_tasks_count_request_builder.go b/users/item_planner_plans_item_buckets_item_tasks_count_request_builder.go index 6de679f5906..008893237cb 100644 --- a/users/item_planner_plans_item_buckets_item_tasks_count_request_builder.go +++ b/users/item_planner_plans_item_buckets_item_tasks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksCountRequestBuilder) ToGetRequestIn } 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 *ItemPlannerPlansItemBucketsItemTasksCountRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsItemTasksCountRequestBuilder) { + return NewItemPlannerPlansItemBucketsItemTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go b/users/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go index 528a4812f45..d27b05c5f3e 100644 --- a/users/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go +++ b/users/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder) ToGetRequestIn } 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 *ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder) { + return NewItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go b/users/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go index 57e375d6243..ddb24ce0104 100644 --- a/users/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/users/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatReques } 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 *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) { + return NewItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go b/users/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go index 20e041817d1..f63fbf0d244 100644 --- a/users/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go +++ b/users/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBui } 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 *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) { + return NewItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go b/users/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go index 0ac3a35bd3c..22627ac36bd 100644 --- a/users/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go +++ b/users/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) ToPatchR } 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 *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) { + return NewItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go b/users/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go index 73c219b21c9..1cf34b8e0fe 100644 --- a/users/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go +++ b/users/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestB } 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 *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) { + return NewItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_item_buckets_item_tasks_planner_task_item_request_builder.go b/users/item_planner_plans_item_buckets_item_tasks_planner_task_item_request_builder.go index 5460d91850f..fd92887c445 100644 --- a/users/item_planner_plans_item_buckets_item_tasks_planner_task_item_request_builder.go +++ b/users/item_planner_plans_item_buckets_item_tasks_planner_task_item_request_builder.go @@ -169,3 +169,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) ToPa } 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 *ItemPlannerPlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) { + return NewItemPlannerPlansItemBucketsItemTasksPlannerTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_item_buckets_item_tasks_request_builder.go b/users/item_planner_plans_item_buckets_item_tasks_request_builder.go index a3d955e353e..15e9242be36 100644 --- a/users/item_planner_plans_item_buckets_item_tasks_request_builder.go +++ b/users/item_planner_plans_item_buckets_item_tasks_request_builder.go @@ -46,8 +46,8 @@ type ItemPlannerPlansItemBucketsItemTasksRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPlannerTaskIdString provides operations to manage the tasks property of the microsoft.graph.plannerBucket entity. -func (m *ItemPlannerPlansItemBucketsItemTasksRequestBuilder) ByPlannerTaskIdString(plannerTaskId string)(*ItemPlannerPlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) { +// ByPlannerTaskId provides operations to manage the tasks property of the microsoft.graph.plannerBucket entity. +func (m *ItemPlannerPlansItemBucketsItemTasksRequestBuilder) ByPlannerTaskId(plannerTaskId string)(*ItemPlannerPlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksRequestBuilder) ToPostRequestInform } 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 *ItemPlannerPlansItemBucketsItemTasksRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsItemTasksRequestBuilder) { + return NewItemPlannerPlansItemBucketsItemTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_item_buckets_planner_bucket_item_request_builder.go b/users/item_planner_plans_item_buckets_planner_bucket_item_request_builder.go index cd552296072..952d7ae1b70 100644 --- a/users/item_planner_plans_item_buckets_planner_bucket_item_request_builder.go +++ b/users/item_planner_plans_item_buckets_planner_bucket_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemPlannerPlansItemBucketsPlannerBucketItemRequestBuilder) ToPatchRequ } 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 *ItemPlannerPlansItemBucketsPlannerBucketItemRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsPlannerBucketItemRequestBuilder) { + return NewItemPlannerPlansItemBucketsPlannerBucketItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_item_buckets_request_builder.go b/users/item_planner_plans_item_buckets_request_builder.go index 1402ba4d7df..ebfac804e88 100644 --- a/users/item_planner_plans_item_buckets_request_builder.go +++ b/users/item_planner_plans_item_buckets_request_builder.go @@ -46,8 +46,8 @@ type ItemPlannerPlansItemBucketsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPlannerBucketIdString provides operations to manage the buckets property of the microsoft.graph.plannerPlan entity. -func (m *ItemPlannerPlansItemBucketsRequestBuilder) ByPlannerBucketIdString(plannerBucketId string)(*ItemPlannerPlansItemBucketsPlannerBucketItemRequestBuilder) { +// ByPlannerBucketId provides operations to manage the buckets property of the microsoft.graph.plannerPlan entity. +func (m *ItemPlannerPlansItemBucketsRequestBuilder) ByPlannerBucketId(plannerBucketId string)(*ItemPlannerPlansItemBucketsPlannerBucketItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *ItemPlannerPlansItemBucketsRequestBuilder) 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 *ItemPlannerPlansItemBucketsRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemBucketsRequestBuilder) { + return NewItemPlannerPlansItemBucketsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_item_details_request_builder.go b/users/item_planner_plans_item_details_request_builder.go index 1039b0f6f6f..d8ede871de1 100644 --- a/users/item_planner_plans_item_details_request_builder.go +++ b/users/item_planner_plans_item_details_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemPlannerPlansItemDetailsRequestBuilder) ToPatchRequestInformation(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 *ItemPlannerPlansItemDetailsRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemDetailsRequestBuilder) { + return NewItemPlannerPlansItemDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_item_tasks_count_request_builder.go b/users/item_planner_plans_item_tasks_count_request_builder.go index 7850fa344f1..818e02dcd3d 100644 --- a/users/item_planner_plans_item_tasks_count_request_builder.go +++ b/users/item_planner_plans_item_tasks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPlannerPlansItemTasksCountRequestBuilder) ToGetRequestInformation(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 *ItemPlannerPlansItemTasksCountRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemTasksCountRequestBuilder) { + return NewItemPlannerPlansItemTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_item_tasks_delta_request_builder.go b/users/item_planner_plans_item_tasks_delta_request_builder.go index 8b926ad4f31..d8ac75aeabc 100644 --- a/users/item_planner_plans_item_tasks_delta_request_builder.go +++ b/users/item_planner_plans_item_tasks_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemPlannerPlansItemTasksDeltaRequestBuilder) ToGetRequestInformation(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 *ItemPlannerPlansItemTasksDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemTasksDeltaRequestBuilder) { + return NewItemPlannerPlansItemTasksDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go b/users/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go index c14ad6585c1..0e82ebfaf33 100644 --- a/users/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/users/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) T } 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 *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) { + return NewItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go b/users/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go index 9e5311656fe..61c5f15fe54 100644 --- a/users/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go +++ b/users/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) 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 *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) { + return NewItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_item_tasks_item_details_request_builder.go b/users/item_planner_plans_item_tasks_item_details_request_builder.go index 76a26cf8abb..b0c364b9e9d 100644 --- a/users/item_planner_plans_item_tasks_item_details_request_builder.go +++ b/users/item_planner_plans_item_tasks_item_details_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemPlannerPlansItemTasksItemDetailsRequestBuilder) ToPatchRequestInfor } 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 *ItemPlannerPlansItemTasksItemDetailsRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemTasksItemDetailsRequestBuilder) { + return NewItemPlannerPlansItemTasksItemDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go b/users/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go index e4f39e5288f..d7637176c0f 100644 --- a/users/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go +++ b/users/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) 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 *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) { + return NewItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_item_tasks_planner_task_item_request_builder.go b/users/item_planner_plans_item_tasks_planner_task_item_request_builder.go index 2f0185962aa..749b7b322ca 100644 --- a/users/item_planner_plans_item_tasks_planner_task_item_request_builder.go +++ b/users/item_planner_plans_item_tasks_planner_task_item_request_builder.go @@ -169,3 +169,7 @@ func (m *ItemPlannerPlansItemTasksPlannerTaskItemRequestBuilder) ToPatchRequestI } 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 *ItemPlannerPlansItemTasksPlannerTaskItemRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemTasksPlannerTaskItemRequestBuilder) { + return NewItemPlannerPlansItemTasksPlannerTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_item_tasks_request_builder.go b/users/item_planner_plans_item_tasks_request_builder.go index 1314fe1b698..cdb7e663417 100644 --- a/users/item_planner_plans_item_tasks_request_builder.go +++ b/users/item_planner_plans_item_tasks_request_builder.go @@ -46,8 +46,8 @@ type ItemPlannerPlansItemTasksRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPlannerTaskIdString provides operations to manage the tasks property of the microsoft.graph.plannerPlan entity. -func (m *ItemPlannerPlansItemTasksRequestBuilder) ByPlannerTaskIdString(plannerTaskId string)(*ItemPlannerPlansItemTasksPlannerTaskItemRequestBuilder) { +// ByPlannerTaskId provides operations to manage the tasks property of the microsoft.graph.plannerPlan entity. +func (m *ItemPlannerPlansItemTasksRequestBuilder) ByPlannerTaskId(plannerTaskId string)(*ItemPlannerPlansItemTasksPlannerTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *ItemPlannerPlansItemTasksRequestBuilder) ToPostRequestInformation(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 *ItemPlannerPlansItemTasksRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansItemTasksRequestBuilder) { + return NewItemPlannerPlansItemTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_planner_plan_item_request_builder.go b/users/item_planner_plans_planner_plan_item_request_builder.go index cd3f19142e2..5f380ce6050 100644 --- a/users/item_planner_plans_planner_plan_item_request_builder.go +++ b/users/item_planner_plans_planner_plan_item_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemPlannerPlansPlannerPlanItemRequestBuilder) ToPatchRequestInformatio } 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 *ItemPlannerPlansPlannerPlanItemRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansPlannerPlanItemRequestBuilder) { + return NewItemPlannerPlansPlannerPlanItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_plans_request_builder.go b/users/item_planner_plans_request_builder.go index e2ba8193c75..b205fca1618 100644 --- a/users/item_planner_plans_request_builder.go +++ b/users/item_planner_plans_request_builder.go @@ -46,8 +46,8 @@ type ItemPlannerPlansRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPlannerPlanIdString provides operations to manage the plans property of the microsoft.graph.plannerUser entity. -func (m *ItemPlannerPlansRequestBuilder) ByPlannerPlanIdString(plannerPlanId string)(*ItemPlannerPlansPlannerPlanItemRequestBuilder) { +// ByPlannerPlanId provides operations to manage the plans property of the microsoft.graph.plannerUser entity. +func (m *ItemPlannerPlansRequestBuilder) ByPlannerPlanId(plannerPlanId string)(*ItemPlannerPlansPlannerPlanItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *ItemPlannerPlansRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ItemPlannerPlansRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerPlansRequestBuilder) { + return NewItemPlannerPlansRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_recent_plans_count_request_builder.go b/users/item_planner_recent_plans_count_request_builder.go index 17115ce64b3..1146bf21ef2 100644 --- a/users/item_planner_recent_plans_count_request_builder.go +++ b/users/item_planner_recent_plans_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPlannerRecentPlansCountRequestBuilder) ToGetRequestInformation(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 *ItemPlannerRecentPlansCountRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerRecentPlansCountRequestBuilder) { + return NewItemPlannerRecentPlansCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_recent_plans_planner_plan_item_request_builder.go b/users/item_planner_recent_plans_planner_plan_item_request_builder.go index ad327caba44..b3dccf079cc 100644 --- a/users/item_planner_recent_plans_planner_plan_item_request_builder.go +++ b/users/item_planner_recent_plans_planner_plan_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemPlannerRecentPlansPlannerPlanItemRequestBuilder) ToGetRequestInform } 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 *ItemPlannerRecentPlansPlannerPlanItemRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerRecentPlansPlannerPlanItemRequestBuilder) { + return NewItemPlannerRecentPlansPlannerPlanItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_recent_plans_request_builder.go b/users/item_planner_recent_plans_request_builder.go index 034440d9fd3..3680e826ebf 100644 --- a/users/item_planner_recent_plans_request_builder.go +++ b/users/item_planner_recent_plans_request_builder.go @@ -39,8 +39,8 @@ type ItemPlannerRecentPlansRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemPlannerRecentPlansRequestBuilderGetQueryParameters } -// ByPlannerPlanIdString provides operations to manage the recentPlans property of the microsoft.graph.plannerUser entity. -func (m *ItemPlannerRecentPlansRequestBuilder) ByPlannerPlanIdString(plannerPlanId string)(*ItemPlannerRecentPlansPlannerPlanItemRequestBuilder) { +// ByPlannerPlanId provides operations to manage the recentPlans property of the microsoft.graph.plannerUser entity. +func (m *ItemPlannerRecentPlansRequestBuilder) ByPlannerPlanId(plannerPlanId string)(*ItemPlannerRecentPlansPlannerPlanItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemPlannerRecentPlansRequestBuilder) ToGetRequestInformation(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 *ItemPlannerRecentPlansRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerRecentPlansRequestBuilder) { + return NewItemPlannerRecentPlansRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_request_builder.go b/users/item_planner_request_builder.go index db86f5efd6e..00e412fb33c 100644 --- a/users/item_planner_request_builder.go +++ b/users/item_planner_request_builder.go @@ -183,3 +183,7 @@ func (m *ItemPlannerRequestBuilder) ToPatchRequestInformation(ctx context.Contex } 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 *ItemPlannerRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerRequestBuilder) { + return NewItemPlannerRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_roster_plans_count_request_builder.go b/users/item_planner_roster_plans_count_request_builder.go index 36698d0e58a..59e59b7ca88 100644 --- a/users/item_planner_roster_plans_count_request_builder.go +++ b/users/item_planner_roster_plans_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPlannerRosterPlansCountRequestBuilder) ToGetRequestInformation(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 *ItemPlannerRosterPlansCountRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerRosterPlansCountRequestBuilder) { + return NewItemPlannerRosterPlansCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_roster_plans_planner_plan_item_request_builder.go b/users/item_planner_roster_plans_planner_plan_item_request_builder.go index 23043644272..1a755e2f3ce 100644 --- a/users/item_planner_roster_plans_planner_plan_item_request_builder.go +++ b/users/item_planner_roster_plans_planner_plan_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemPlannerRosterPlansPlannerPlanItemRequestBuilder) ToGetRequestInform } 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 *ItemPlannerRosterPlansPlannerPlanItemRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerRosterPlansPlannerPlanItemRequestBuilder) { + return NewItemPlannerRosterPlansPlannerPlanItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_roster_plans_request_builder.go b/users/item_planner_roster_plans_request_builder.go index 498d57d3496..88a041aa376 100644 --- a/users/item_planner_roster_plans_request_builder.go +++ b/users/item_planner_roster_plans_request_builder.go @@ -39,8 +39,8 @@ type ItemPlannerRosterPlansRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemPlannerRosterPlansRequestBuilderGetQueryParameters } -// ByPlannerPlanIdString provides operations to manage the rosterPlans property of the microsoft.graph.plannerUser entity. -func (m *ItemPlannerRosterPlansRequestBuilder) ByPlannerPlanIdString(plannerPlanId string)(*ItemPlannerRosterPlansPlannerPlanItemRequestBuilder) { +// ByPlannerPlanId provides operations to manage the rosterPlans property of the microsoft.graph.plannerUser entity. +func (m *ItemPlannerRosterPlansRequestBuilder) ByPlannerPlanId(plannerPlanId string)(*ItemPlannerRosterPlansPlannerPlanItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemPlannerRosterPlansRequestBuilder) ToGetRequestInformation(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 *ItemPlannerRosterPlansRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerRosterPlansRequestBuilder) { + return NewItemPlannerRosterPlansRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_tasks_count_request_builder.go b/users/item_planner_tasks_count_request_builder.go index ef099fb6b11..36c7c50c7c6 100644 --- a/users/item_planner_tasks_count_request_builder.go +++ b/users/item_planner_tasks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemPlannerTasksCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemPlannerTasksCountRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerTasksCountRequestBuilder) { + return NewItemPlannerTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_tasks_delta_request_builder.go b/users/item_planner_tasks_delta_request_builder.go index 6ea3bd2a877..08bdd791345 100644 --- a/users/item_planner_tasks_delta_request_builder.go +++ b/users/item_planner_tasks_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemPlannerTasksDeltaRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemPlannerTasksDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerTasksDeltaRequestBuilder) { + return NewItemPlannerTasksDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_tasks_item_assigned_to_task_board_format_request_builder.go b/users/item_planner_tasks_item_assigned_to_task_board_format_request_builder.go index 22bbb8c1492..f6146c92f98 100644 --- a/users/item_planner_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/users/item_planner_tasks_item_assigned_to_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilder) ToPatchReq } 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 *ItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilder) { + return NewItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_tasks_item_bucket_task_board_format_request_builder.go b/users/item_planner_tasks_item_bucket_task_board_format_request_builder.go index 7a0e53dee1d..d44604175a9 100644 --- a/users/item_planner_tasks_item_bucket_task_board_format_request_builder.go +++ b/users/item_planner_tasks_item_bucket_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemPlannerTasksItemBucketTaskBoardFormatRequestBuilder) ToPatchRequest } 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 *ItemPlannerTasksItemBucketTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerTasksItemBucketTaskBoardFormatRequestBuilder) { + return NewItemPlannerTasksItemBucketTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_tasks_item_details_request_builder.go b/users/item_planner_tasks_item_details_request_builder.go index c76f80bc876..fbe3ac30aa4 100644 --- a/users/item_planner_tasks_item_details_request_builder.go +++ b/users/item_planner_tasks_item_details_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemPlannerTasksItemDetailsRequestBuilder) ToPatchRequestInformation(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 *ItemPlannerTasksItemDetailsRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerTasksItemDetailsRequestBuilder) { + return NewItemPlannerTasksItemDetailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_tasks_item_progress_task_board_format_request_builder.go b/users/item_planner_tasks_item_progress_task_board_format_request_builder.go index f1a0299612f..3c2ce2ff540 100644 --- a/users/item_planner_tasks_item_progress_task_board_format_request_builder.go +++ b/users/item_planner_tasks_item_progress_task_board_format_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemPlannerTasksItemProgressTaskBoardFormatRequestBuilder) ToPatchReque } 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 *ItemPlannerTasksItemProgressTaskBoardFormatRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerTasksItemProgressTaskBoardFormatRequestBuilder) { + return NewItemPlannerTasksItemProgressTaskBoardFormatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_tasks_planner_task_item_request_builder.go b/users/item_planner_tasks_planner_task_item_request_builder.go index d68fd0d2aae..5c6249c4b08 100644 --- a/users/item_planner_tasks_planner_task_item_request_builder.go +++ b/users/item_planner_tasks_planner_task_item_request_builder.go @@ -169,3 +169,7 @@ func (m *ItemPlannerTasksPlannerTaskItemRequestBuilder) ToPatchRequestInformatio } 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 *ItemPlannerTasksPlannerTaskItemRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerTasksPlannerTaskItemRequestBuilder) { + return NewItemPlannerTasksPlannerTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_planner_tasks_request_builder.go b/users/item_planner_tasks_request_builder.go index bf11e124dc4..321c0055fb0 100644 --- a/users/item_planner_tasks_request_builder.go +++ b/users/item_planner_tasks_request_builder.go @@ -46,8 +46,8 @@ type ItemPlannerTasksRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPlannerTaskIdString provides operations to manage the tasks property of the microsoft.graph.plannerUser entity. -func (m *ItemPlannerTasksRequestBuilder) ByPlannerTaskIdString(plannerTaskId string)(*ItemPlannerTasksPlannerTaskItemRequestBuilder) { +// ByPlannerTaskId provides operations to manage the tasks property of the microsoft.graph.plannerUser entity. +func (m *ItemPlannerTasksRequestBuilder) ByPlannerTaskId(plannerTaskId string)(*ItemPlannerTasksPlannerTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -152,3 +152,7 @@ func (m *ItemPlannerTasksRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ItemPlannerTasksRequestBuilder) WithUrl(rawUrl string)(*ItemPlannerTasksRequestBuilder) { + return NewItemPlannerTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_presence_clear_presence_request_builder.go b/users/item_presence_clear_presence_request_builder.go index 1fe91b16506..4e693ea8c19 100644 --- a/users/item_presence_clear_presence_request_builder.go +++ b/users/item_presence_clear_presence_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemPresenceClearPresenceRequestBuilder) ToPostRequestInformation(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 *ItemPresenceClearPresenceRequestBuilder) WithUrl(rawUrl string)(*ItemPresenceClearPresenceRequestBuilder) { + return NewItemPresenceClearPresenceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_presence_clear_user_preferred_presence_request_builder.go b/users/item_presence_clear_user_preferred_presence_request_builder.go index 1b5da62c10b..20768712714 100644 --- a/users/item_presence_clear_user_preferred_presence_request_builder.go +++ b/users/item_presence_clear_user_preferred_presence_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemPresenceClearUserPreferredPresenceRequestBuilder) ToPostRequestInfo } 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 *ItemPresenceClearUserPreferredPresenceRequestBuilder) WithUrl(rawUrl string)(*ItemPresenceClearUserPreferredPresenceRequestBuilder) { + return NewItemPresenceClearUserPreferredPresenceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_presence_request_builder.go b/users/item_presence_request_builder.go index d7f5d8e511f..fb3f23e0aab 100644 --- a/users/item_presence_request_builder.go +++ b/users/item_presence_request_builder.go @@ -18,7 +18,7 @@ type ItemPresenceRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPresenceRequestBuilderGetQueryParameters set a presence status message for a user. An optional expiration date and time can be supplied. +// ItemPresenceRequestBuilderGetQueryParameters get a user's presence information. type ItemPresenceRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -78,10 +78,10 @@ func (m *ItemPresenceRequestBuilder) Delete(ctx context.Context, requestConfigur } return nil } -// Get set a presence status message for a user. An optional expiration date and time can be supplied. +// Get get a user's presence information. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-1.0 func (m *ItemPresenceRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPresenceRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Presenceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -143,7 +143,7 @@ func (m *ItemPresenceRequestBuilder) ToDeleteRequestInformation(ctx context.Cont } return requestInfo, nil } -// ToGetRequestInformation set a presence status message for a user. An optional expiration date and time can be supplied. +// ToGetRequestInformation get a user's presence information. func (m *ItemPresenceRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPresenceRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -176,3 +176,7 @@ func (m *ItemPresenceRequestBuilder) ToPatchRequestInformation(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 *ItemPresenceRequestBuilder) WithUrl(rawUrl string)(*ItemPresenceRequestBuilder) { + return NewItemPresenceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_presence_set_presence_request_builder.go b/users/item_presence_set_presence_request_builder.go index bccd2e4569a..c6d5236168e 100644 --- a/users/item_presence_set_presence_request_builder.go +++ b/users/item_presence_set_presence_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemPresenceSetPresenceRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemPresenceSetPresenceRequestBuilder) WithUrl(rawUrl string)(*ItemPresenceSetPresenceRequestBuilder) { + return NewItemPresenceSetPresenceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_presence_set_status_message_request_builder.go b/users/item_presence_set_status_message_request_builder.go index 7bebd957bd4..a97e507c963 100644 --- a/users/item_presence_set_status_message_request_builder.go +++ b/users/item_presence_set_status_message_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemPresenceSetStatusMessageRequestBuilder) 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 *ItemPresenceSetStatusMessageRequestBuilder) WithUrl(rawUrl string)(*ItemPresenceSetStatusMessageRequestBuilder) { + return NewItemPresenceSetStatusMessageRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_presence_set_user_preferred_presence_request_builder.go b/users/item_presence_set_user_preferred_presence_request_builder.go index a8c4490d477..57cfbb5930f 100644 --- a/users/item_presence_set_user_preferred_presence_request_builder.go +++ b/users/item_presence_set_user_preferred_presence_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemPresenceSetUserPreferredPresenceRequestBuilder) ToPostRequestInform } 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 *ItemPresenceSetUserPreferredPresenceRequestBuilder) WithUrl(rawUrl string)(*ItemPresenceSetUserPreferredPresenceRequestBuilder) { + return NewItemPresenceSetUserPreferredPresenceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_account_count_request_builder.go b/users/item_profile_account_count_request_builder.go index 98b6db3ee52..ecc095641f1 100644 --- a/users/item_profile_account_count_request_builder.go +++ b/users/item_profile_account_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemProfileAccountCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemProfileAccountCountRequestBuilder) WithUrl(rawUrl string)(*ItemProfileAccountCountRequestBuilder) { + return NewItemProfileAccountCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_account_request_builder.go b/users/item_profile_account_request_builder.go index 37101e75333..052546efbf5 100644 --- a/users/item_profile_account_request_builder.go +++ b/users/item_profile_account_request_builder.go @@ -46,8 +46,8 @@ type ItemProfileAccountRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserAccountInformationIdString provides operations to manage the account property of the microsoft.graph.profile entity. -func (m *ItemProfileAccountRequestBuilder) ByUserAccountInformationIdString(userAccountInformationId string)(*ItemProfileAccountUserAccountInformationItemRequestBuilder) { +// ByUserAccountInformationId provides operations to manage the account property of the microsoft.graph.profile entity. +func (m *ItemProfileAccountRequestBuilder) ByUserAccountInformationId(userAccountInformationId string)(*ItemProfileAccountUserAccountInformationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemProfileAccountRequestBuilder) 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 *ItemProfileAccountRequestBuilder) WithUrl(rawUrl string)(*ItemProfileAccountRequestBuilder) { + return NewItemProfileAccountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_account_user_account_information_item_request_builder.go b/users/item_profile_account_user_account_information_item_request_builder.go index f73ec89b8d3..078e34d4c5c 100644 --- a/users/item_profile_account_user_account_information_item_request_builder.go +++ b/users/item_profile_account_user_account_information_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemProfileAccountUserAccountInformationItemRequestBuilder) ToPatchRequ } 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 *ItemProfileAccountUserAccountInformationItemRequestBuilder) WithUrl(rawUrl string)(*ItemProfileAccountUserAccountInformationItemRequestBuilder) { + return NewItemProfileAccountUserAccountInformationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_addresses_count_request_builder.go b/users/item_profile_addresses_count_request_builder.go index 8877fb63334..0f5b3285b2d 100644 --- a/users/item_profile_addresses_count_request_builder.go +++ b/users/item_profile_addresses_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemProfileAddressesCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemProfileAddressesCountRequestBuilder) WithUrl(rawUrl string)(*ItemProfileAddressesCountRequestBuilder) { + return NewItemProfileAddressesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_addresses_item_address_item_request_builder.go b/users/item_profile_addresses_item_address_item_request_builder.go index 0609604ecb3..20b2ddd7719 100644 --- a/users/item_profile_addresses_item_address_item_request_builder.go +++ b/users/item_profile_addresses_item_address_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemProfileAddressesItemAddressItemRequestBuilder) ToPatchRequestInform } 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 *ItemProfileAddressesItemAddressItemRequestBuilder) WithUrl(rawUrl string)(*ItemProfileAddressesItemAddressItemRequestBuilder) { + return NewItemProfileAddressesItemAddressItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_addresses_request_builder.go b/users/item_profile_addresses_request_builder.go index 7c59e7c0e30..f1810969c5c 100644 --- a/users/item_profile_addresses_request_builder.go +++ b/users/item_profile_addresses_request_builder.go @@ -46,8 +46,8 @@ type ItemProfileAddressesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByItemAddressIdString provides operations to manage the addresses property of the microsoft.graph.profile entity. -func (m *ItemProfileAddressesRequestBuilder) ByItemAddressIdString(itemAddressId string)(*ItemProfileAddressesItemAddressItemRequestBuilder) { +// ByItemAddressId provides operations to manage the addresses property of the microsoft.graph.profile entity. +func (m *ItemProfileAddressesRequestBuilder) ByItemAddressId(itemAddressId string)(*ItemProfileAddressesItemAddressItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemProfileAddressesRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemProfileAddressesRequestBuilder) WithUrl(rawUrl string)(*ItemProfileAddressesRequestBuilder) { + return NewItemProfileAddressesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_anniversaries_count_request_builder.go b/users/item_profile_anniversaries_count_request_builder.go index 47107035e4a..30aab154e1d 100644 --- a/users/item_profile_anniversaries_count_request_builder.go +++ b/users/item_profile_anniversaries_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemProfileAnniversariesCountRequestBuilder) ToGetRequestInformation(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 *ItemProfileAnniversariesCountRequestBuilder) WithUrl(rawUrl string)(*ItemProfileAnniversariesCountRequestBuilder) { + return NewItemProfileAnniversariesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_anniversaries_person_annual_event_item_request_builder.go b/users/item_profile_anniversaries_person_annual_event_item_request_builder.go index a99dd35a1bc..275018a8d10 100644 --- a/users/item_profile_anniversaries_person_annual_event_item_request_builder.go +++ b/users/item_profile_anniversaries_person_annual_event_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemProfileAnniversariesPersonAnnualEventItemRequestBuilder) ToPatchReq } 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 *ItemProfileAnniversariesPersonAnnualEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemProfileAnniversariesPersonAnnualEventItemRequestBuilder) { + return NewItemProfileAnniversariesPersonAnnualEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_anniversaries_request_builder.go b/users/item_profile_anniversaries_request_builder.go index 5057f9fc1c0..e0202fcafd7 100644 --- a/users/item_profile_anniversaries_request_builder.go +++ b/users/item_profile_anniversaries_request_builder.go @@ -46,8 +46,8 @@ type ItemProfileAnniversariesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPersonAnnualEventIdString provides operations to manage the anniversaries property of the microsoft.graph.profile entity. -func (m *ItemProfileAnniversariesRequestBuilder) ByPersonAnnualEventIdString(personAnnualEventId string)(*ItemProfileAnniversariesPersonAnnualEventItemRequestBuilder) { +// ByPersonAnnualEventId provides operations to manage the anniversaries property of the microsoft.graph.profile entity. +func (m *ItemProfileAnniversariesRequestBuilder) ByPersonAnnualEventId(personAnnualEventId string)(*ItemProfileAnniversariesPersonAnnualEventItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemProfileAnniversariesRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemProfileAnniversariesRequestBuilder) WithUrl(rawUrl string)(*ItemProfileAnniversariesRequestBuilder) { + return NewItemProfileAnniversariesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_awards_count_request_builder.go b/users/item_profile_awards_count_request_builder.go index b13f94f0cf9..98b6059ffb2 100644 --- a/users/item_profile_awards_count_request_builder.go +++ b/users/item_profile_awards_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemProfileAwardsCountRequestBuilder) ToGetRequestInformation(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 *ItemProfileAwardsCountRequestBuilder) WithUrl(rawUrl string)(*ItemProfileAwardsCountRequestBuilder) { + return NewItemProfileAwardsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_awards_person_award_item_request_builder.go b/users/item_profile_awards_person_award_item_request_builder.go index ae9e6b9a011..2d00400ef0a 100644 --- a/users/item_profile_awards_person_award_item_request_builder.go +++ b/users/item_profile_awards_person_award_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemProfileAwardsPersonAwardItemRequestBuilder) ToPatchRequestInformati } 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 *ItemProfileAwardsPersonAwardItemRequestBuilder) WithUrl(rawUrl string)(*ItemProfileAwardsPersonAwardItemRequestBuilder) { + return NewItemProfileAwardsPersonAwardItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_awards_request_builder.go b/users/item_profile_awards_request_builder.go index 8a9af0960ad..101ac69d068 100644 --- a/users/item_profile_awards_request_builder.go +++ b/users/item_profile_awards_request_builder.go @@ -46,8 +46,8 @@ type ItemProfileAwardsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPersonAwardIdString provides operations to manage the awards property of the microsoft.graph.profile entity. -func (m *ItemProfileAwardsRequestBuilder) ByPersonAwardIdString(personAwardId string)(*ItemProfileAwardsPersonAwardItemRequestBuilder) { +// ByPersonAwardId provides operations to manage the awards property of the microsoft.graph.profile entity. +func (m *ItemProfileAwardsRequestBuilder) ByPersonAwardId(personAwardId string)(*ItemProfileAwardsPersonAwardItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemProfileAwardsRequestBuilder) ToPostRequestInformation(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 *ItemProfileAwardsRequestBuilder) WithUrl(rawUrl string)(*ItemProfileAwardsRequestBuilder) { + return NewItemProfileAwardsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_certifications_count_request_builder.go b/users/item_profile_certifications_count_request_builder.go index 26012fe6b04..072cbb51aa9 100644 --- a/users/item_profile_certifications_count_request_builder.go +++ b/users/item_profile_certifications_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemProfileCertificationsCountRequestBuilder) ToGetRequestInformation(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 *ItemProfileCertificationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemProfileCertificationsCountRequestBuilder) { + return NewItemProfileCertificationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_certifications_person_certification_item_request_builder.go b/users/item_profile_certifications_person_certification_item_request_builder.go index 0afd9e2b607..476b3b9f3b0 100644 --- a/users/item_profile_certifications_person_certification_item_request_builder.go +++ b/users/item_profile_certifications_person_certification_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemProfileCertificationsPersonCertificationItemRequestBuilder) ToPatch } 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 *ItemProfileCertificationsPersonCertificationItemRequestBuilder) WithUrl(rawUrl string)(*ItemProfileCertificationsPersonCertificationItemRequestBuilder) { + return NewItemProfileCertificationsPersonCertificationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_certifications_request_builder.go b/users/item_profile_certifications_request_builder.go index 900b875fed0..1ea411f6503 100644 --- a/users/item_profile_certifications_request_builder.go +++ b/users/item_profile_certifications_request_builder.go @@ -46,8 +46,8 @@ type ItemProfileCertificationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPersonCertificationIdString provides operations to manage the certifications property of the microsoft.graph.profile entity. -func (m *ItemProfileCertificationsRequestBuilder) ByPersonCertificationIdString(personCertificationId string)(*ItemProfileCertificationsPersonCertificationItemRequestBuilder) { +// ByPersonCertificationId provides operations to manage the certifications property of the microsoft.graph.profile entity. +func (m *ItemProfileCertificationsRequestBuilder) ByPersonCertificationId(personCertificationId string)(*ItemProfileCertificationsPersonCertificationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemProfileCertificationsRequestBuilder) ToPostRequestInformation(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 *ItemProfileCertificationsRequestBuilder) WithUrl(rawUrl string)(*ItemProfileCertificationsRequestBuilder) { + return NewItemProfileCertificationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_educational_activities_count_request_builder.go b/users/item_profile_educational_activities_count_request_builder.go index b032654bd87..db9aa93f414 100644 --- a/users/item_profile_educational_activities_count_request_builder.go +++ b/users/item_profile_educational_activities_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemProfileEducationalActivitiesCountRequestBuilder) ToGetRequestInform } 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 *ItemProfileEducationalActivitiesCountRequestBuilder) WithUrl(rawUrl string)(*ItemProfileEducationalActivitiesCountRequestBuilder) { + return NewItemProfileEducationalActivitiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_educational_activities_educational_activity_item_request_builder.go b/users/item_profile_educational_activities_educational_activity_item_request_builder.go index f6e75f9fbc7..83888f7465f 100644 --- a/users/item_profile_educational_activities_educational_activity_item_request_builder.go +++ b/users/item_profile_educational_activities_educational_activity_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilder) } 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 *ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilder) WithUrl(rawUrl string)(*ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilder) { + return NewItemProfileEducationalActivitiesEducationalActivityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_educational_activities_request_builder.go b/users/item_profile_educational_activities_request_builder.go index 55c995fd4d1..eaf49d53a27 100644 --- a/users/item_profile_educational_activities_request_builder.go +++ b/users/item_profile_educational_activities_request_builder.go @@ -46,8 +46,8 @@ type ItemProfileEducationalActivitiesRequestBuilderPostRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByEducationalActivityIdString provides operations to manage the educationalActivities property of the microsoft.graph.profile entity. -func (m *ItemProfileEducationalActivitiesRequestBuilder) ByEducationalActivityIdString(educationalActivityId string)(*ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilder) { +// ByEducationalActivityId provides operations to manage the educationalActivities property of the microsoft.graph.profile entity. +func (m *ItemProfileEducationalActivitiesRequestBuilder) ByEducationalActivityId(educationalActivityId string)(*ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemProfileEducationalActivitiesRequestBuilder) ToPostRequestInformatio } 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 *ItemProfileEducationalActivitiesRequestBuilder) WithUrl(rawUrl string)(*ItemProfileEducationalActivitiesRequestBuilder) { + return NewItemProfileEducationalActivitiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_emails_count_request_builder.go b/users/item_profile_emails_count_request_builder.go index c288079bc18..25442e66aa8 100644 --- a/users/item_profile_emails_count_request_builder.go +++ b/users/item_profile_emails_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemProfileEmailsCountRequestBuilder) ToGetRequestInformation(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 *ItemProfileEmailsCountRequestBuilder) WithUrl(rawUrl string)(*ItemProfileEmailsCountRequestBuilder) { + return NewItemProfileEmailsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_emails_item_email_item_request_builder.go b/users/item_profile_emails_item_email_item_request_builder.go index bbb1087cd79..23675666419 100644 --- a/users/item_profile_emails_item_email_item_request_builder.go +++ b/users/item_profile_emails_item_email_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemProfileEmailsItemEmailItemRequestBuilder) 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 *ItemProfileEmailsItemEmailItemRequestBuilder) WithUrl(rawUrl string)(*ItemProfileEmailsItemEmailItemRequestBuilder) { + return NewItemProfileEmailsItemEmailItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_emails_request_builder.go b/users/item_profile_emails_request_builder.go index 4e51486a6fe..613fe6c823a 100644 --- a/users/item_profile_emails_request_builder.go +++ b/users/item_profile_emails_request_builder.go @@ -46,8 +46,8 @@ type ItemProfileEmailsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByItemEmailIdString provides operations to manage the emails property of the microsoft.graph.profile entity. -func (m *ItemProfileEmailsRequestBuilder) ByItemEmailIdString(itemEmailId string)(*ItemProfileEmailsItemEmailItemRequestBuilder) { +// ByItemEmailId provides operations to manage the emails property of the microsoft.graph.profile entity. +func (m *ItemProfileEmailsRequestBuilder) ByItemEmailId(itemEmailId string)(*ItemProfileEmailsItemEmailItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemProfileEmailsRequestBuilder) ToPostRequestInformation(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 *ItemProfileEmailsRequestBuilder) WithUrl(rawUrl string)(*ItemProfileEmailsRequestBuilder) { + return NewItemProfileEmailsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_interests_count_request_builder.go b/users/item_profile_interests_count_request_builder.go index cde9d2cd8f0..1f649598a9a 100644 --- a/users/item_profile_interests_count_request_builder.go +++ b/users/item_profile_interests_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemProfileInterestsCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemProfileInterestsCountRequestBuilder) WithUrl(rawUrl string)(*ItemProfileInterestsCountRequestBuilder) { + return NewItemProfileInterestsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_interests_person_interest_item_request_builder.go b/users/item_profile_interests_person_interest_item_request_builder.go index d889748163d..5f6f9cec2a7 100644 --- a/users/item_profile_interests_person_interest_item_request_builder.go +++ b/users/item_profile_interests_person_interest_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemProfileInterestsPersonInterestItemRequestBuilder) ToPatchRequestInf } 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 *ItemProfileInterestsPersonInterestItemRequestBuilder) WithUrl(rawUrl string)(*ItemProfileInterestsPersonInterestItemRequestBuilder) { + return NewItemProfileInterestsPersonInterestItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_interests_request_builder.go b/users/item_profile_interests_request_builder.go index c3772b82912..84f3c3af0fb 100644 --- a/users/item_profile_interests_request_builder.go +++ b/users/item_profile_interests_request_builder.go @@ -46,8 +46,8 @@ type ItemProfileInterestsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPersonInterestIdString provides operations to manage the interests property of the microsoft.graph.profile entity. -func (m *ItemProfileInterestsRequestBuilder) ByPersonInterestIdString(personInterestId string)(*ItemProfileInterestsPersonInterestItemRequestBuilder) { +// ByPersonInterestId provides operations to manage the interests property of the microsoft.graph.profile entity. +func (m *ItemProfileInterestsRequestBuilder) ByPersonInterestId(personInterestId string)(*ItemProfileInterestsPersonInterestItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemProfileInterestsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemProfileInterestsRequestBuilder) WithUrl(rawUrl string)(*ItemProfileInterestsRequestBuilder) { + return NewItemProfileInterestsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_languages_count_request_builder.go b/users/item_profile_languages_count_request_builder.go index fb200c0d1d5..531404fd5e6 100644 --- a/users/item_profile_languages_count_request_builder.go +++ b/users/item_profile_languages_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemProfileLanguagesCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemProfileLanguagesCountRequestBuilder) WithUrl(rawUrl string)(*ItemProfileLanguagesCountRequestBuilder) { + return NewItemProfileLanguagesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_languages_language_proficiency_item_request_builder.go b/users/item_profile_languages_language_proficiency_item_request_builder.go index 2376283797e..a3fd1986e16 100644 --- a/users/item_profile_languages_language_proficiency_item_request_builder.go +++ b/users/item_profile_languages_language_proficiency_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemProfileLanguagesLanguageProficiencyItemRequestBuilder) ToPatchReque } 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 *ItemProfileLanguagesLanguageProficiencyItemRequestBuilder) WithUrl(rawUrl string)(*ItemProfileLanguagesLanguageProficiencyItemRequestBuilder) { + return NewItemProfileLanguagesLanguageProficiencyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_languages_request_builder.go b/users/item_profile_languages_request_builder.go index ba2a200d1d9..0ddca437153 100644 --- a/users/item_profile_languages_request_builder.go +++ b/users/item_profile_languages_request_builder.go @@ -46,8 +46,8 @@ type ItemProfileLanguagesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByLanguageProficiencyIdString provides operations to manage the languages property of the microsoft.graph.profile entity. -func (m *ItemProfileLanguagesRequestBuilder) ByLanguageProficiencyIdString(languageProficiencyId string)(*ItemProfileLanguagesLanguageProficiencyItemRequestBuilder) { +// ByLanguageProficiencyId provides operations to manage the languages property of the microsoft.graph.profile entity. +func (m *ItemProfileLanguagesRequestBuilder) ByLanguageProficiencyId(languageProficiencyId string)(*ItemProfileLanguagesLanguageProficiencyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemProfileLanguagesRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemProfileLanguagesRequestBuilder) WithUrl(rawUrl string)(*ItemProfileLanguagesRequestBuilder) { + return NewItemProfileLanguagesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_names_count_request_builder.go b/users/item_profile_names_count_request_builder.go index 0bcf9245d90..53f8fccbd56 100644 --- a/users/item_profile_names_count_request_builder.go +++ b/users/item_profile_names_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemProfileNamesCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemProfileNamesCountRequestBuilder) WithUrl(rawUrl string)(*ItemProfileNamesCountRequestBuilder) { + return NewItemProfileNamesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_names_person_name_item_request_builder.go b/users/item_profile_names_person_name_item_request_builder.go index edd991050f4..1f122bad062 100644 --- a/users/item_profile_names_person_name_item_request_builder.go +++ b/users/item_profile_names_person_name_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemProfileNamesPersonNameItemRequestBuilder) 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 *ItemProfileNamesPersonNameItemRequestBuilder) WithUrl(rawUrl string)(*ItemProfileNamesPersonNameItemRequestBuilder) { + return NewItemProfileNamesPersonNameItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_names_request_builder.go b/users/item_profile_names_request_builder.go index 040444fbbde..4ac3a732a10 100644 --- a/users/item_profile_names_request_builder.go +++ b/users/item_profile_names_request_builder.go @@ -46,8 +46,8 @@ type ItemProfileNamesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPersonNameIdString provides operations to manage the names property of the microsoft.graph.profile entity. -func (m *ItemProfileNamesRequestBuilder) ByPersonNameIdString(personNameId string)(*ItemProfileNamesPersonNameItemRequestBuilder) { +// ByPersonNameId provides operations to manage the names property of the microsoft.graph.profile entity. +func (m *ItemProfileNamesRequestBuilder) ByPersonNameId(personNameId string)(*ItemProfileNamesPersonNameItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemProfileNamesRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ItemProfileNamesRequestBuilder) WithUrl(rawUrl string)(*ItemProfileNamesRequestBuilder) { + return NewItemProfileNamesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_notes_count_request_builder.go b/users/item_profile_notes_count_request_builder.go index 316c43830ba..552a387bc2e 100644 --- a/users/item_profile_notes_count_request_builder.go +++ b/users/item_profile_notes_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemProfileNotesCountRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemProfileNotesCountRequestBuilder) WithUrl(rawUrl string)(*ItemProfileNotesCountRequestBuilder) { + return NewItemProfileNotesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_notes_person_annotation_item_request_builder.go b/users/item_profile_notes_person_annotation_item_request_builder.go index 5df57f024e0..3d38e13f1f8 100644 --- a/users/item_profile_notes_person_annotation_item_request_builder.go +++ b/users/item_profile_notes_person_annotation_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemProfileNotesPersonAnnotationItemRequestBuilder) ToPatchRequestInfor } 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 *ItemProfileNotesPersonAnnotationItemRequestBuilder) WithUrl(rawUrl string)(*ItemProfileNotesPersonAnnotationItemRequestBuilder) { + return NewItemProfileNotesPersonAnnotationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_notes_request_builder.go b/users/item_profile_notes_request_builder.go index b869f864003..f9478c4816e 100644 --- a/users/item_profile_notes_request_builder.go +++ b/users/item_profile_notes_request_builder.go @@ -46,8 +46,8 @@ type ItemProfileNotesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPersonAnnotationIdString provides operations to manage the notes property of the microsoft.graph.profile entity. -func (m *ItemProfileNotesRequestBuilder) ByPersonAnnotationIdString(personAnnotationId string)(*ItemProfileNotesPersonAnnotationItemRequestBuilder) { +// ByPersonAnnotationId provides operations to manage the notes property of the microsoft.graph.profile entity. +func (m *ItemProfileNotesRequestBuilder) ByPersonAnnotationId(personAnnotationId string)(*ItemProfileNotesPersonAnnotationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemProfileNotesRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ItemProfileNotesRequestBuilder) WithUrl(rawUrl string)(*ItemProfileNotesRequestBuilder) { + return NewItemProfileNotesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_patents_count_request_builder.go b/users/item_profile_patents_count_request_builder.go index e4ff3ed37fa..2b9ec1064ff 100644 --- a/users/item_profile_patents_count_request_builder.go +++ b/users/item_profile_patents_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemProfilePatentsCountRequestBuilder) ToGetRequestInformation(ctx cont } 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 *ItemProfilePatentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemProfilePatentsCountRequestBuilder) { + return NewItemProfilePatentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_patents_item_patent_item_request_builder.go b/users/item_profile_patents_item_patent_item_request_builder.go index b1c3681d970..abad82ea34a 100644 --- a/users/item_profile_patents_item_patent_item_request_builder.go +++ b/users/item_profile_patents_item_patent_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemProfilePatentsItemPatentItemRequestBuilder) ToPatchRequestInformati } 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 *ItemProfilePatentsItemPatentItemRequestBuilder) WithUrl(rawUrl string)(*ItemProfilePatentsItemPatentItemRequestBuilder) { + return NewItemProfilePatentsItemPatentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_patents_request_builder.go b/users/item_profile_patents_request_builder.go index 7db790d43dd..e498a36d86e 100644 --- a/users/item_profile_patents_request_builder.go +++ b/users/item_profile_patents_request_builder.go @@ -46,8 +46,8 @@ type ItemProfilePatentsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByItemPatentIdString provides operations to manage the patents property of the microsoft.graph.profile entity. -func (m *ItemProfilePatentsRequestBuilder) ByItemPatentIdString(itemPatentId string)(*ItemProfilePatentsItemPatentItemRequestBuilder) { +// ByItemPatentId provides operations to manage the patents property of the microsoft.graph.profile entity. +func (m *ItemProfilePatentsRequestBuilder) ByItemPatentId(itemPatentId string)(*ItemProfilePatentsItemPatentItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemProfilePatentsRequestBuilder) 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 *ItemProfilePatentsRequestBuilder) WithUrl(rawUrl string)(*ItemProfilePatentsRequestBuilder) { + return NewItemProfilePatentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_phones_count_request_builder.go b/users/item_profile_phones_count_request_builder.go index b2f93da7377..e560c4ee8cb 100644 --- a/users/item_profile_phones_count_request_builder.go +++ b/users/item_profile_phones_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemProfilePhonesCountRequestBuilder) ToGetRequestInformation(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 *ItemProfilePhonesCountRequestBuilder) WithUrl(rawUrl string)(*ItemProfilePhonesCountRequestBuilder) { + return NewItemProfilePhonesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_phones_item_phone_item_request_builder.go b/users/item_profile_phones_item_phone_item_request_builder.go index 0557ac70cbc..bf73008266f 100644 --- a/users/item_profile_phones_item_phone_item_request_builder.go +++ b/users/item_profile_phones_item_phone_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemProfilePhonesItemPhoneItemRequestBuilder) 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 *ItemProfilePhonesItemPhoneItemRequestBuilder) WithUrl(rawUrl string)(*ItemProfilePhonesItemPhoneItemRequestBuilder) { + return NewItemProfilePhonesItemPhoneItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_phones_request_builder.go b/users/item_profile_phones_request_builder.go index aba6a19cca0..08821d88481 100644 --- a/users/item_profile_phones_request_builder.go +++ b/users/item_profile_phones_request_builder.go @@ -46,8 +46,8 @@ type ItemProfilePhonesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByItemPhoneIdString provides operations to manage the phones property of the microsoft.graph.profile entity. -func (m *ItemProfilePhonesRequestBuilder) ByItemPhoneIdString(itemPhoneId string)(*ItemProfilePhonesItemPhoneItemRequestBuilder) { +// ByItemPhoneId provides operations to manage the phones property of the microsoft.graph.profile entity. +func (m *ItemProfilePhonesRequestBuilder) ByItemPhoneId(itemPhoneId string)(*ItemProfilePhonesItemPhoneItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemProfilePhonesRequestBuilder) ToPostRequestInformation(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 *ItemProfilePhonesRequestBuilder) WithUrl(rawUrl string)(*ItemProfilePhonesRequestBuilder) { + return NewItemProfilePhonesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_positions_count_request_builder.go b/users/item_profile_positions_count_request_builder.go index ac66ae72a90..83d32d14724 100644 --- a/users/item_profile_positions_count_request_builder.go +++ b/users/item_profile_positions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemProfilePositionsCountRequestBuilder) ToGetRequestInformation(ctx co } 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 *ItemProfilePositionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemProfilePositionsCountRequestBuilder) { + return NewItemProfilePositionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_positions_request_builder.go b/users/item_profile_positions_request_builder.go index 7a85aada30d..78d247934eb 100644 --- a/users/item_profile_positions_request_builder.go +++ b/users/item_profile_positions_request_builder.go @@ -46,8 +46,8 @@ type ItemProfilePositionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWorkPositionIdString provides operations to manage the positions property of the microsoft.graph.profile entity. -func (m *ItemProfilePositionsRequestBuilder) ByWorkPositionIdString(workPositionId string)(*ItemProfilePositionsWorkPositionItemRequestBuilder) { +// ByWorkPositionId provides operations to manage the positions property of the microsoft.graph.profile entity. +func (m *ItemProfilePositionsRequestBuilder) ByWorkPositionId(workPositionId string)(*ItemProfilePositionsWorkPositionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemProfilePositionsRequestBuilder) ToPostRequestInformation(ctx contex } 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 *ItemProfilePositionsRequestBuilder) WithUrl(rawUrl string)(*ItemProfilePositionsRequestBuilder) { + return NewItemProfilePositionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_positions_work_position_item_request_builder.go b/users/item_profile_positions_work_position_item_request_builder.go index 405889b3c9e..ef781da5c8b 100644 --- a/users/item_profile_positions_work_position_item_request_builder.go +++ b/users/item_profile_positions_work_position_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemProfilePositionsWorkPositionItemRequestBuilder) ToPatchRequestInfor } 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 *ItemProfilePositionsWorkPositionItemRequestBuilder) WithUrl(rawUrl string)(*ItemProfilePositionsWorkPositionItemRequestBuilder) { + return NewItemProfilePositionsWorkPositionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_projects_count_request_builder.go b/users/item_profile_projects_count_request_builder.go index ee1953efad3..8ec0ab3f57e 100644 --- a/users/item_profile_projects_count_request_builder.go +++ b/users/item_profile_projects_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemProfileProjectsCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemProfileProjectsCountRequestBuilder) WithUrl(rawUrl string)(*ItemProfileProjectsCountRequestBuilder) { + return NewItemProfileProjectsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_projects_project_participation_item_request_builder.go b/users/item_profile_projects_project_participation_item_request_builder.go index 0d176f4a0d4..c5560fe0b75 100644 --- a/users/item_profile_projects_project_participation_item_request_builder.go +++ b/users/item_profile_projects_project_participation_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemProfileProjectsProjectParticipationItemRequestBuilder) ToPatchReque } 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 *ItemProfileProjectsProjectParticipationItemRequestBuilder) WithUrl(rawUrl string)(*ItemProfileProjectsProjectParticipationItemRequestBuilder) { + return NewItemProfileProjectsProjectParticipationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_projects_request_builder.go b/users/item_profile_projects_request_builder.go index f9ce81e1d8f..55c23bbcc94 100644 --- a/users/item_profile_projects_request_builder.go +++ b/users/item_profile_projects_request_builder.go @@ -46,8 +46,8 @@ type ItemProfileProjectsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByProjectParticipationIdString provides operations to manage the projects property of the microsoft.graph.profile entity. -func (m *ItemProfileProjectsRequestBuilder) ByProjectParticipationIdString(projectParticipationId string)(*ItemProfileProjectsProjectParticipationItemRequestBuilder) { +// ByProjectParticipationId provides operations to manage the projects property of the microsoft.graph.profile entity. +func (m *ItemProfileProjectsRequestBuilder) ByProjectParticipationId(projectParticipationId string)(*ItemProfileProjectsProjectParticipationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemProfileProjectsRequestBuilder) 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 *ItemProfileProjectsRequestBuilder) WithUrl(rawUrl string)(*ItemProfileProjectsRequestBuilder) { + return NewItemProfileProjectsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_publications_count_request_builder.go b/users/item_profile_publications_count_request_builder.go index 0c32e9dedbe..f1725214c96 100644 --- a/users/item_profile_publications_count_request_builder.go +++ b/users/item_profile_publications_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemProfilePublicationsCountRequestBuilder) ToGetRequestInformation(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 *ItemProfilePublicationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemProfilePublicationsCountRequestBuilder) { + return NewItemProfilePublicationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_publications_item_publication_item_request_builder.go b/users/item_profile_publications_item_publication_item_request_builder.go index 7f861aced04..a49ca272cc5 100644 --- a/users/item_profile_publications_item_publication_item_request_builder.go +++ b/users/item_profile_publications_item_publication_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemProfilePublicationsItemPublicationItemRequestBuilder) ToPatchReques } 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 *ItemProfilePublicationsItemPublicationItemRequestBuilder) WithUrl(rawUrl string)(*ItemProfilePublicationsItemPublicationItemRequestBuilder) { + return NewItemProfilePublicationsItemPublicationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_publications_request_builder.go b/users/item_profile_publications_request_builder.go index 339ffcee873..24d867fb8f3 100644 --- a/users/item_profile_publications_request_builder.go +++ b/users/item_profile_publications_request_builder.go @@ -46,8 +46,8 @@ type ItemProfilePublicationsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByItemPublicationIdString provides operations to manage the publications property of the microsoft.graph.profile entity. -func (m *ItemProfilePublicationsRequestBuilder) ByItemPublicationIdString(itemPublicationId string)(*ItemProfilePublicationsItemPublicationItemRequestBuilder) { +// ByItemPublicationId provides operations to manage the publications property of the microsoft.graph.profile entity. +func (m *ItemProfilePublicationsRequestBuilder) ByItemPublicationId(itemPublicationId string)(*ItemProfilePublicationsItemPublicationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemProfilePublicationsRequestBuilder) ToPostRequestInformation(ctx con } 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 *ItemProfilePublicationsRequestBuilder) WithUrl(rawUrl string)(*ItemProfilePublicationsRequestBuilder) { + return NewItemProfilePublicationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_request_builder.go b/users/item_profile_request_builder.go index 25b011f400b..41c09e20c80 100644 --- a/users/item_profile_request_builder.go +++ b/users/item_profile_request_builder.go @@ -235,3 +235,7 @@ func (m *ItemProfileRequestBuilder) WebAccounts()(*ItemProfileWebAccountsRequest func (m *ItemProfileRequestBuilder) Websites()(*ItemProfileWebsitesRequestBuilder) { return NewItemProfileWebsitesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemProfileRequestBuilder) WithUrl(rawUrl string)(*ItemProfileRequestBuilder) { + return NewItemProfileRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_skills_count_request_builder.go b/users/item_profile_skills_count_request_builder.go index 33ba5bd35ef..05e548eecb9 100644 --- a/users/item_profile_skills_count_request_builder.go +++ b/users/item_profile_skills_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemProfileSkillsCountRequestBuilder) ToGetRequestInformation(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 *ItemProfileSkillsCountRequestBuilder) WithUrl(rawUrl string)(*ItemProfileSkillsCountRequestBuilder) { + return NewItemProfileSkillsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_skills_request_builder.go b/users/item_profile_skills_request_builder.go index b8dbb1f15e6..735fa120dec 100644 --- a/users/item_profile_skills_request_builder.go +++ b/users/item_profile_skills_request_builder.go @@ -46,8 +46,8 @@ type ItemProfileSkillsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySkillProficiencyIdString provides operations to manage the skills property of the microsoft.graph.profile entity. -func (m *ItemProfileSkillsRequestBuilder) BySkillProficiencyIdString(skillProficiencyId string)(*ItemProfileSkillsSkillProficiencyItemRequestBuilder) { +// BySkillProficiencyId provides operations to manage the skills property of the microsoft.graph.profile entity. +func (m *ItemProfileSkillsRequestBuilder) BySkillProficiencyId(skillProficiencyId string)(*ItemProfileSkillsSkillProficiencyItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemProfileSkillsRequestBuilder) ToPostRequestInformation(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 *ItemProfileSkillsRequestBuilder) WithUrl(rawUrl string)(*ItemProfileSkillsRequestBuilder) { + return NewItemProfileSkillsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_skills_skill_proficiency_item_request_builder.go b/users/item_profile_skills_skill_proficiency_item_request_builder.go index 672ddd83c6e..f614160e5df 100644 --- a/users/item_profile_skills_skill_proficiency_item_request_builder.go +++ b/users/item_profile_skills_skill_proficiency_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemProfileSkillsSkillProficiencyItemRequestBuilder) 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 *ItemProfileSkillsSkillProficiencyItemRequestBuilder) WithUrl(rawUrl string)(*ItemProfileSkillsSkillProficiencyItemRequestBuilder) { + return NewItemProfileSkillsSkillProficiencyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_web_accounts_count_request_builder.go b/users/item_profile_web_accounts_count_request_builder.go index 0ca48f363f9..628400ba502 100644 --- a/users/item_profile_web_accounts_count_request_builder.go +++ b/users/item_profile_web_accounts_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemProfileWebAccountsCountRequestBuilder) ToGetRequestInformation(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 *ItemProfileWebAccountsCountRequestBuilder) WithUrl(rawUrl string)(*ItemProfileWebAccountsCountRequestBuilder) { + return NewItemProfileWebAccountsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_web_accounts_request_builder.go b/users/item_profile_web_accounts_request_builder.go index 5696c209aee..d20a6f6097c 100644 --- a/users/item_profile_web_accounts_request_builder.go +++ b/users/item_profile_web_accounts_request_builder.go @@ -46,8 +46,8 @@ type ItemProfileWebAccountsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByWebAccountIdString provides operations to manage the webAccounts property of the microsoft.graph.profile entity. -func (m *ItemProfileWebAccountsRequestBuilder) ByWebAccountIdString(webAccountId string)(*ItemProfileWebAccountsWebAccountItemRequestBuilder) { +// ByWebAccountId provides operations to manage the webAccounts property of the microsoft.graph.profile entity. +func (m *ItemProfileWebAccountsRequestBuilder) ByWebAccountId(webAccountId string)(*ItemProfileWebAccountsWebAccountItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemProfileWebAccountsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemProfileWebAccountsRequestBuilder) WithUrl(rawUrl string)(*ItemProfileWebAccountsRequestBuilder) { + return NewItemProfileWebAccountsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_web_accounts_web_account_item_request_builder.go b/users/item_profile_web_accounts_web_account_item_request_builder.go index a9007a06949..60e831c135b 100644 --- a/users/item_profile_web_accounts_web_account_item_request_builder.go +++ b/users/item_profile_web_accounts_web_account_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemProfileWebAccountsWebAccountItemRequestBuilder) ToPatchRequestInfor } 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 *ItemProfileWebAccountsWebAccountItemRequestBuilder) WithUrl(rawUrl string)(*ItemProfileWebAccountsWebAccountItemRequestBuilder) { + return NewItemProfileWebAccountsWebAccountItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_websites_count_request_builder.go b/users/item_profile_websites_count_request_builder.go index d4369d9df20..caa37fe882d 100644 --- a/users/item_profile_websites_count_request_builder.go +++ b/users/item_profile_websites_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemProfileWebsitesCountRequestBuilder) ToGetRequestInformation(ctx con } 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 *ItemProfileWebsitesCountRequestBuilder) WithUrl(rawUrl string)(*ItemProfileWebsitesCountRequestBuilder) { + return NewItemProfileWebsitesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_websites_person_website_item_request_builder.go b/users/item_profile_websites_person_website_item_request_builder.go index 48b8f28d652..8e13fd76425 100644 --- a/users/item_profile_websites_person_website_item_request_builder.go +++ b/users/item_profile_websites_person_website_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemProfileWebsitesPersonWebsiteItemRequestBuilder) ToPatchRequestInfor } 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 *ItemProfileWebsitesPersonWebsiteItemRequestBuilder) WithUrl(rawUrl string)(*ItemProfileWebsitesPersonWebsiteItemRequestBuilder) { + return NewItemProfileWebsitesPersonWebsiteItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_profile_websites_request_builder.go b/users/item_profile_websites_request_builder.go index e38519d3ab7..a5aa4a0ba70 100644 --- a/users/item_profile_websites_request_builder.go +++ b/users/item_profile_websites_request_builder.go @@ -46,8 +46,8 @@ type ItemProfileWebsitesRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByPersonWebsiteIdString provides operations to manage the websites property of the microsoft.graph.profile entity. -func (m *ItemProfileWebsitesRequestBuilder) ByPersonWebsiteIdString(personWebsiteId string)(*ItemProfileWebsitesPersonWebsiteItemRequestBuilder) { +// ByPersonWebsiteId provides operations to manage the websites property of the microsoft.graph.profile entity. +func (m *ItemProfileWebsitesRequestBuilder) ByPersonWebsiteId(personWebsiteId string)(*ItemProfileWebsitesPersonWebsiteItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemProfileWebsitesRequestBuilder) 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 *ItemProfileWebsitesRequestBuilder) WithUrl(rawUrl string)(*ItemProfileWebsitesRequestBuilder) { + return NewItemProfileWebsitesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_registered_devices_count_request_builder.go b/users/item_registered_devices_count_request_builder.go index abd608175c1..399c8564ffc 100644 --- a/users/item_registered_devices_count_request_builder.go +++ b/users/item_registered_devices_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRegisteredDevicesCountRequestBuilder) ToGetRequestInformation(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 *ItemRegisteredDevicesCountRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredDevicesCountRequestBuilder) { + return NewItemRegisteredDevicesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_registered_devices_directory_object_item_request_builder.go b/users/item_registered_devices_directory_object_item_request_builder.go index c696905b2ab..e995966d2c3 100644 --- a/users/item_registered_devices_directory_object_item_request_builder.go +++ b/users/item_registered_devices_directory_object_item_request_builder.go @@ -83,3 +83,7 @@ func (m *ItemRegisteredDevicesDirectoryObjectItemRequestBuilder) ToGetRequestInf } 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 *ItemRegisteredDevicesDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredDevicesDirectoryObjectItemRequestBuilder) { + return NewItemRegisteredDevicesDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_registered_devices_graph_device_count_request_builder.go b/users/item_registered_devices_graph_device_count_request_builder.go index 870272dc71e..8918ee8ef33 100644 --- a/users/item_registered_devices_graph_device_count_request_builder.go +++ b/users/item_registered_devices_graph_device_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRegisteredDevicesGraphDeviceCountRequestBuilder) ToGetRequestInform } 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 *ItemRegisteredDevicesGraphDeviceCountRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredDevicesGraphDeviceCountRequestBuilder) { + return NewItemRegisteredDevicesGraphDeviceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_registered_devices_graph_device_request_builder.go b/users/item_registered_devices_graph_device_request_builder.go index b1c69769519..4ff3b6ccf3c 100644 --- a/users/item_registered_devices_graph_device_request_builder.go +++ b/users/item_registered_devices_graph_device_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemRegisteredDevicesGraphDeviceRequestBuilder) 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 *ItemRegisteredDevicesGraphDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredDevicesGraphDeviceRequestBuilder) { + return NewItemRegisteredDevicesGraphDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_registered_devices_graph_endpoint_count_request_builder.go b/users/item_registered_devices_graph_endpoint_count_request_builder.go index db6fb96d9c4..e2eee941aed 100644 --- a/users/item_registered_devices_graph_endpoint_count_request_builder.go +++ b/users/item_registered_devices_graph_endpoint_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemRegisteredDevicesGraphEndpointCountRequestBuilder) ToGetRequestInfo } 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 *ItemRegisteredDevicesGraphEndpointCountRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredDevicesGraphEndpointCountRequestBuilder) { + return NewItemRegisteredDevicesGraphEndpointCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_registered_devices_graph_endpoint_request_builder.go b/users/item_registered_devices_graph_endpoint_request_builder.go index 27afebf3b6e..bcef89870e9 100644 --- a/users/item_registered_devices_graph_endpoint_request_builder.go +++ b/users/item_registered_devices_graph_endpoint_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemRegisteredDevicesGraphEndpointRequestBuilder) ToGetRequestInformati } 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 *ItemRegisteredDevicesGraphEndpointRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredDevicesGraphEndpointRequestBuilder) { + return NewItemRegisteredDevicesGraphEndpointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_registered_devices_item_graph_device_request_builder.go b/users/item_registered_devices_item_graph_device_request_builder.go index 7c59df55092..29f44dab44e 100644 --- a/users/item_registered_devices_item_graph_device_request_builder.go +++ b/users/item_registered_devices_item_graph_device_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRegisteredDevicesItemGraphDeviceRequestBuilder) ToGetRequestInforma } 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 *ItemRegisteredDevicesItemGraphDeviceRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredDevicesItemGraphDeviceRequestBuilder) { + return NewItemRegisteredDevicesItemGraphDeviceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_registered_devices_item_graph_endpoint_request_builder.go b/users/item_registered_devices_item_graph_endpoint_request_builder.go index 79f93a422bc..feae4599cdc 100644 --- a/users/item_registered_devices_item_graph_endpoint_request_builder.go +++ b/users/item_registered_devices_item_graph_endpoint_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemRegisteredDevicesItemGraphEndpointRequestBuilder) ToGetRequestInfor } 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 *ItemRegisteredDevicesItemGraphEndpointRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredDevicesItemGraphEndpointRequestBuilder) { + return NewItemRegisteredDevicesItemGraphEndpointRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_registered_devices_request_builder.go b/users/item_registered_devices_request_builder.go index 6ebc44301b3..96dd35eb705 100644 --- a/users/item_registered_devices_request_builder.go +++ b/users/item_registered_devices_request_builder.go @@ -39,8 +39,8 @@ type ItemRegisteredDevicesRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemRegisteredDevicesRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the registeredDevices property of the microsoft.graph.user entity. -func (m *ItemRegisteredDevicesRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemRegisteredDevicesDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the registeredDevices property of the microsoft.graph.user entity. +func (m *ItemRegisteredDevicesRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemRegisteredDevicesDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -113,3 +113,7 @@ func (m *ItemRegisteredDevicesRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemRegisteredDevicesRequestBuilder) WithUrl(rawUrl string)(*ItemRegisteredDevicesRequestBuilder) { + return NewItemRegisteredDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_reminder_view_with_start_date_time_with_end_date_time_request_builder.go b/users/item_reminder_view_with_start_date_time_with_end_date_time_request_builder.go index bbab13bf7f4..9b2f004ce07 100644 --- a/users/item_reminder_view_with_start_date_time_with_end_date_time_request_builder.go +++ b/users/item_reminder_view_with_start_date_time_with_end_date_time_request_builder.go @@ -86,3 +86,7 @@ func (m *ItemReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRe } 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 *ItemReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*ItemReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewItemReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_remove_all_devices_from_management_request_builder.go b/users/item_remove_all_devices_from_management_request_builder.go index 6915534b13c..7b2143c293f 100644 --- a/users/item_remove_all_devices_from_management_request_builder.go +++ b/users/item_remove_all_devices_from_management_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemRemoveAllDevicesFromManagementRequestBuilder) ToPostRequestInformat } 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 *ItemRemoveAllDevicesFromManagementRequestBuilder) WithUrl(rawUrl string)(*ItemRemoveAllDevicesFromManagementRequestBuilder) { + return NewItemRemoveAllDevicesFromManagementRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_reprocess_license_assignment_request_builder.go b/users/item_reprocess_license_assignment_request_builder.go index 4f21330311f..504fb405854 100644 --- a/users/item_reprocess_license_assignment_request_builder.go +++ b/users/item_reprocess_license_assignment_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemReprocessLicenseAssignmentRequestBuilder) 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 *ItemReprocessLicenseAssignmentRequestBuilder) WithUrl(rawUrl string)(*ItemReprocessLicenseAssignmentRequestBuilder) { + return NewItemReprocessLicenseAssignmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_restore_request_builder.go b/users/item_restore_request_builder.go index ac8eb7d8dd3..c70f728a116 100644 --- a/users/item_restore_request_builder.go +++ b/users/item_restore_request_builder.go @@ -66,3 +66,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.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 *ItemRestoreRequestBuilder) WithUrl(rawUrl string)(*ItemRestoreRequestBuilder) { + return NewItemRestoreRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_retry_service_provisioning_request_builder.go b/users/item_retry_service_provisioning_request_builder.go index cf22a014ca5..90f1a12b263 100644 --- a/users/item_retry_service_provisioning_request_builder.go +++ b/users/item_retry_service_provisioning_request_builder.go @@ -61,3 +61,7 @@ func (m *ItemRetryServiceProvisioningRequestBuilder) 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 *ItemRetryServiceProvisioningRequestBuilder) WithUrl(rawUrl string)(*ItemRetryServiceProvisioningRequestBuilder) { + return NewItemRetryServiceProvisioningRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_revoke_sign_in_sessions_request_builder.go b/users/item_revoke_sign_in_sessions_request_builder.go index cb0bb6c156f..0d5720b7578 100644 --- a/users/item_revoke_sign_in_sessions_request_builder.go +++ b/users/item_revoke_sign_in_sessions_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemRevokeSignInSessionsRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemRevokeSignInSessionsRequestBuilder) WithUrl(rawUrl string)(*ItemRevokeSignInSessionsRequestBuilder) { + return NewItemRevokeSignInSessionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_scoped_role_member_of_count_request_builder.go b/users/item_scoped_role_member_of_count_request_builder.go index e91c478a4a9..65bef324663 100644 --- a/users/item_scoped_role_member_of_count_request_builder.go +++ b/users/item_scoped_role_member_of_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemScopedRoleMemberOfCountRequestBuilder) ToGetRequestInformation(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 *ItemScopedRoleMemberOfCountRequestBuilder) WithUrl(rawUrl string)(*ItemScopedRoleMemberOfCountRequestBuilder) { + return NewItemScopedRoleMemberOfCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_scoped_role_member_of_request_builder.go b/users/item_scoped_role_member_of_request_builder.go index f2b0b778c7f..167d13b96ea 100644 --- a/users/item_scoped_role_member_of_request_builder.go +++ b/users/item_scoped_role_member_of_request_builder.go @@ -46,8 +46,8 @@ type ItemScopedRoleMemberOfRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByScopedRoleMembershipIdString provides operations to manage the scopedRoleMemberOf property of the microsoft.graph.user entity. -func (m *ItemScopedRoleMemberOfRequestBuilder) ByScopedRoleMembershipIdString(scopedRoleMembershipId string)(*ItemScopedRoleMemberOfScopedRoleMembershipItemRequestBuilder) { +// ByScopedRoleMembershipId provides operations to manage the scopedRoleMemberOf property of the microsoft.graph.user entity. +func (m *ItemScopedRoleMemberOfRequestBuilder) ByScopedRoleMembershipId(scopedRoleMembershipId string)(*ItemScopedRoleMemberOfScopedRoleMembershipItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemScopedRoleMemberOfRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemScopedRoleMemberOfRequestBuilder) WithUrl(rawUrl string)(*ItemScopedRoleMemberOfRequestBuilder) { + return NewItemScopedRoleMemberOfRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_scoped_role_member_of_scoped_role_membership_item_request_builder.go b/users/item_scoped_role_member_of_scoped_role_membership_item_request_builder.go index 4b42fb9c47f..66afe081276 100644 --- a/users/item_scoped_role_member_of_scoped_role_membership_item_request_builder.go +++ b/users/item_scoped_role_member_of_scoped_role_membership_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemScopedRoleMemberOfScopedRoleMembershipItemRequestBuilder) ToPatchRe } 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 *ItemScopedRoleMemberOfScopedRoleMembershipItemRequestBuilder) WithUrl(rawUrl string)(*ItemScopedRoleMemberOfScopedRoleMembershipItemRequestBuilder) { + return NewItemScopedRoleMemberOfScopedRoleMembershipItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_security_information_protection_label_policy_settings_request_builder.go b/users/item_security_information_protection_label_policy_settings_request_builder.go index 55c542c6df9..d6db3e46fc9 100644 --- a/users/item_security_information_protection_label_policy_settings_request_builder.go +++ b/users/item_security_information_protection_label_policy_settings_request_builder.go @@ -156,3 +156,7 @@ func (m *ItemSecurityInformationProtectionLabelPolicySettingsRequestBuilder) 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 *ItemSecurityInformationProtectionLabelPolicySettingsRequestBuilder) WithUrl(rawUrl string)(*ItemSecurityInformationProtectionLabelPolicySettingsRequestBuilder) { + return NewItemSecurityInformationProtectionLabelPolicySettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_security_information_protection_request_builder.go b/users/item_security_information_protection_request_builder.go index e4f2403b1c4..8881597a0a6 100644 --- a/users/item_security_information_protection_request_builder.go +++ b/users/item_security_information_protection_request_builder.go @@ -161,3 +161,7 @@ func (m *ItemSecurityInformationProtectionRequestBuilder) ToPatchRequestInformat } 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 *ItemSecurityInformationProtectionRequestBuilder) WithUrl(rawUrl string)(*ItemSecurityInformationProtectionRequestBuilder) { + return NewItemSecurityInformationProtectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_security_information_protection_sensitivity_labels_count_request_builder.go b/users/item_security_information_protection_sensitivity_labels_count_request_builder.go index b86d47c54b1..c422abf8bd2 100644 --- a/users/item_security_information_protection_sensitivity_labels_count_request_builder.go +++ b/users/item_security_information_protection_sensitivity_labels_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsCountRequestBuilder) } 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 *ItemSecurityInformationProtectionSensitivityLabelsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSecurityInformationProtectionSensitivityLabelsCountRequestBuilder) { + return NewItemSecurityInformationProtectionSensitivityLabelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_security_information_protection_sensitivity_labels_item_parent_request_builder.go b/users/item_security_information_protection_sensitivity_labels_item_parent_request_builder.go index 18a91112a21..51633b68b45 100644 --- a/users/item_security_information_protection_sensitivity_labels_item_parent_request_builder.go +++ b/users/item_security_information_protection_sensitivity_labels_item_parent_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsItemParentRequestBuil } 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 *ItemSecurityInformationProtectionSensitivityLabelsItemParentRequestBuilder) WithUrl(rawUrl string)(*ItemSecurityInformationProtectionSensitivityLabelsItemParentRequestBuilder) { + return NewItemSecurityInformationProtectionSensitivityLabelsItemParentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go index 7e0d32ddfeb..04439d5d57f 100644 --- a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go +++ b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurit } 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 *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApplicationRequestBuilder) WithUrl(rawUrl string)(*ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApplicationRequestBuilder) { + return NewItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApplicationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go index 84a669a340e..fa5e73120e2 100644 --- a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go +++ b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurit } 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 *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClassificationResultsRequestBuilder) WithUrl(rawUrl string)(*ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClassificationResultsRequestBuilder) { + return NewItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClassificationResultsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go index 48991ec0402..b7b94f9da8f 100644 --- a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go +++ b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurit } 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 *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemovalRequestBuilder) WithUrl(rawUrl string)(*ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemovalRequestBuilder) { + return NewItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemovalRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go index eeaf8f09c57..025fdff6a5a 100644 --- a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go +++ b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurit } 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 *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityExtractContentLabelRequestBuilder) WithUrl(rawUrl string)(*ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityExtractContentLabelRequestBuilder) { + return NewItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityExtractContentLabelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_security_information_protection_sensitivity_labels_request_builder.go b/users/item_security_information_protection_sensitivity_labels_request_builder.go index 29911ae6490..82509d3dd6f 100644 --- a/users/item_security_information_protection_sensitivity_labels_request_builder.go +++ b/users/item_security_information_protection_sensitivity_labels_request_builder.go @@ -46,8 +46,8 @@ type ItemSecurityInformationProtectionSensitivityLabelsRequestBuilderPostRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BySensitivityLabelIdString provides operations to manage the sensitivityLabels property of the microsoft.graph.security.informationProtection entity. -func (m *ItemSecurityInformationProtectionSensitivityLabelsRequestBuilder) BySensitivityLabelIdString(sensitivityLabelId string)(*ItemSecurityInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder) { +// BySensitivityLabelId provides operations to manage the sensitivityLabels property of the microsoft.graph.security.informationProtection entity. +func (m *ItemSecurityInformationProtectionSensitivityLabelsRequestBuilder) BySensitivityLabelId(sensitivityLabelId string)(*ItemSecurityInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -164,3 +164,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsRequestBuilder) ToPos } 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 *ItemSecurityInformationProtectionSensitivityLabelsRequestBuilder) WithUrl(rawUrl string)(*ItemSecurityInformationProtectionSensitivityLabelsRequestBuilder) { + return NewItemSecurityInformationProtectionSensitivityLabelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_security_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go b/users/item_security_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go index d4f60c73e74..3b73fa60acb 100644 --- a/users/item_security_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go +++ b/users/item_security_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsSensitivityLabelItemR } 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 *ItemSecurityInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder) WithUrl(rawUrl string)(*ItemSecurityInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder) { + return NewItemSecurityInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_security_request_builder.go b/users/item_security_request_builder.go index 340e696e9c5..efa2aa0ce5a 100644 --- a/users/item_security_request_builder.go +++ b/users/item_security_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemSecurityRequestBuilder) ToPatchRequestInformation(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 *ItemSecurityRequestBuilder) WithUrl(rawUrl string)(*ItemSecurityRequestBuilder) { + return NewItemSecurityRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_send_mail_request_builder.go b/users/item_send_mail_request_builder.go index 51414dac922..7e78a660b8b 100644 --- a/users/item_send_mail_request_builder.go +++ b/users/item_send_mail_request_builder.go @@ -30,7 +30,7 @@ func NewItemSendMailRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 urlParams["request-raw-url"] = rawUrl return NewItemSendMailRequestBuilderInternal(urlParams, requestAdapter) } -// Post send the message specified in the request body using either JSON or MIME format. When using JSON format you can include an attachment and use a mention to call out another user in the new message. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here. +// Post send the message specified in the request body using either JSON or MIME format. When using JSON format, you can include an attachment and use a mention to call out another user in the new message. When using MIME format: This method saves the message in the Sent Items folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/user-sendmail?view=graph-rest-1.0 @@ -49,7 +49,7 @@ func (m *ItemSendMailRequestBuilder) Post(ctx context.Context, body ItemSendMail } return nil } -// ToPostRequestInformation send the message specified in the request body using either JSON or MIME format. When using JSON format you can include an attachment and use a mention to call out another user in the new message. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here. +// ToPostRequestInformation send the message specified in the request body using either JSON or MIME format. When using JSON format, you can include an attachment and use a mention to call out another user in the new message. When using MIME format: This method saves the message in the Sent Items folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here. func (m *ItemSendMailRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemSendMailPostRequestBodyable, requestConfiguration *ItemSendMailRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate @@ -65,3 +65,7 @@ func (m *ItemSendMailRequestBuilder) ToPostRequestInformation(ctx context.Contex } 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 *ItemSendMailRequestBuilder) WithUrl(rawUrl string)(*ItemSendMailRequestBuilder) { + return NewItemSendMailRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_settings_contact_merge_suggestions_request_builder.go b/users/item_settings_contact_merge_suggestions_request_builder.go index ba12671a1bd..717933f123c 100644 --- a/users/item_settings_contact_merge_suggestions_request_builder.go +++ b/users/item_settings_contact_merge_suggestions_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemSettingsContactMergeSuggestionsRequestBuilder) ToPatchRequestInform } 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 *ItemSettingsContactMergeSuggestionsRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsContactMergeSuggestionsRequestBuilder) { + return NewItemSettingsContactMergeSuggestionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_settings_item_insights_request_builder.go b/users/item_settings_item_insights_request_builder.go index 04d65f525f1..ab20d158db8 100644 --- a/users/item_settings_item_insights_request_builder.go +++ b/users/item_settings_item_insights_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemSettingsItemInsightsRequestBuilder) 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 *ItemSettingsItemInsightsRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsItemInsightsRequestBuilder) { + return NewItemSettingsItemInsightsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_settings_regional_and_language_settings_request_builder.go b/users/item_settings_regional_and_language_settings_request_builder.go index dfed77abcf1..6ab8dceb925 100644 --- a/users/item_settings_regional_and_language_settings_request_builder.go +++ b/users/item_settings_regional_and_language_settings_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemSettingsRegionalAndLanguageSettingsRequestBuilder) ToPatchRequestIn } 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 *ItemSettingsRegionalAndLanguageSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsRegionalAndLanguageSettingsRequestBuilder) { + return NewItemSettingsRegionalAndLanguageSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_settings_request_builder.go b/users/item_settings_request_builder.go index 2d3662ed1a5..16173c37e1a 100644 --- a/users/item_settings_request_builder.go +++ b/users/item_settings_request_builder.go @@ -169,3 +169,7 @@ func (m *ItemSettingsRequestBuilder) ToPatchRequestInformation(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 *ItemSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsRequestBuilder) { + return NewItemSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_settings_shift_preferences_request_builder.go b/users/item_settings_shift_preferences_request_builder.go index d92b128f45d..7ad75b531d5 100644 --- a/users/item_settings_shift_preferences_request_builder.go +++ b/users/item_settings_shift_preferences_request_builder.go @@ -159,3 +159,7 @@ func (m *ItemSettingsShiftPreferencesRequestBuilder) ToPatchRequestInformation(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 *ItemSettingsShiftPreferencesRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsShiftPreferencesRequestBuilder) { + return NewItemSettingsShiftPreferencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_sponsors_count_request_builder.go b/users/item_sponsors_count_request_builder.go index 385cddbb643..4cd30d46e9c 100644 --- a/users/item_sponsors_count_request_builder.go +++ b/users/item_sponsors_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemSponsorsCountRequestBuilder) ToGetRequestInformation(ctx context.Co } 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 *ItemSponsorsCountRequestBuilder) WithUrl(rawUrl string)(*ItemSponsorsCountRequestBuilder) { + return NewItemSponsorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_sponsors_directory_object_item_request_builder.go b/users/item_sponsors_directory_object_item_request_builder.go index 06daac0eabe..e9c592d72c8 100644 --- a/users/item_sponsors_directory_object_item_request_builder.go +++ b/users/item_sponsors_directory_object_item_request_builder.go @@ -113,3 +113,7 @@ func (m *ItemSponsorsDirectoryObjectItemRequestBuilder) 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 *ItemSponsorsDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemSponsorsDirectoryObjectItemRequestBuilder) { + return NewItemSponsorsDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_sponsors_request_builder.go b/users/item_sponsors_request_builder.go index 5c9dbf20e64..38d3e92d9c5 100644 --- a/users/item_sponsors_request_builder.go +++ b/users/item_sponsors_request_builder.go @@ -39,8 +39,8 @@ type ItemSponsorsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemSponsorsRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the sponsors property of the microsoft.graph.user entity. -func (m *ItemSponsorsRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemSponsorsDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the sponsors property of the microsoft.graph.user entity. +func (m *ItemSponsorsRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemSponsorsDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -105,3 +105,7 @@ func (m *ItemSponsorsRequestBuilder) ToGetRequestInformation(ctx context.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 *ItemSponsorsRequestBuilder) WithUrl(rawUrl string)(*ItemSponsorsRequestBuilder) { + return NewItemSponsorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_teamwork_associated_teams_associated_team_info_item_request_builder.go b/users/item_teamwork_associated_teams_associated_team_info_item_request_builder.go index e816d3de6fe..bc524156267 100644 --- a/users/item_teamwork_associated_teams_associated_team_info_item_request_builder.go +++ b/users/item_teamwork_associated_teams_associated_team_info_item_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemTeamworkAssociatedTeamsAssociatedTeamInfoItemRequestBuilder) ToPatc } 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 *ItemTeamworkAssociatedTeamsAssociatedTeamInfoItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamworkAssociatedTeamsAssociatedTeamInfoItemRequestBuilder) { + return NewItemTeamworkAssociatedTeamsAssociatedTeamInfoItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_teamwork_associated_teams_count_request_builder.go b/users/item_teamwork_associated_teams_count_request_builder.go index d0cb34cec83..fe921aea1ac 100644 --- a/users/item_teamwork_associated_teams_count_request_builder.go +++ b/users/item_teamwork_associated_teams_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamworkAssociatedTeamsCountRequestBuilder) 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 *ItemTeamworkAssociatedTeamsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamworkAssociatedTeamsCountRequestBuilder) { + return NewItemTeamworkAssociatedTeamsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_teamwork_associated_teams_item_team_request_builder.go b/users/item_teamwork_associated_teams_item_team_request_builder.go index 1acdb5fce10..a65360aad29 100644 --- a/users/item_teamwork_associated_teams_item_team_request_builder.go +++ b/users/item_teamwork_associated_teams_item_team_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamworkAssociatedTeamsItemTeamRequestBuilder) ToGetRequestInformat } 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 *ItemTeamworkAssociatedTeamsItemTeamRequestBuilder) WithUrl(rawUrl string)(*ItemTeamworkAssociatedTeamsItemTeamRequestBuilder) { + return NewItemTeamworkAssociatedTeamsItemTeamRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_teamwork_associated_teams_request_builder.go b/users/item_teamwork_associated_teams_request_builder.go index ff2a3e3a5e6..b90bbab9f14 100644 --- a/users/item_teamwork_associated_teams_request_builder.go +++ b/users/item_teamwork_associated_teams_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamworkAssociatedTeamsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAssociatedTeamInfoIdString provides operations to manage the associatedTeams property of the microsoft.graph.userTeamwork entity. -func (m *ItemTeamworkAssociatedTeamsRequestBuilder) ByAssociatedTeamInfoIdString(associatedTeamInfoId string)(*ItemTeamworkAssociatedTeamsAssociatedTeamInfoItemRequestBuilder) { +// ByAssociatedTeamInfoId provides operations to manage the associatedTeams property of the microsoft.graph.userTeamwork entity. +func (m *ItemTeamworkAssociatedTeamsRequestBuilder) ByAssociatedTeamInfoId(associatedTeamInfoId string)(*ItemTeamworkAssociatedTeamsAssociatedTeamInfoItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemTeamworkAssociatedTeamsRequestBuilder) 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 *ItemTeamworkAssociatedTeamsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamworkAssociatedTeamsRequestBuilder) { + return NewItemTeamworkAssociatedTeamsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_teamwork_installed_apps_count_request_builder.go b/users/item_teamwork_installed_apps_count_request_builder.go index 1002632ac39..de3fa4a6887 100644 --- a/users/item_teamwork_installed_apps_count_request_builder.go +++ b/users/item_teamwork_installed_apps_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTeamworkInstalledAppsCountRequestBuilder) ToGetRequestInformation(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 *ItemTeamworkInstalledAppsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamworkInstalledAppsCountRequestBuilder) { + return NewItemTeamworkInstalledAppsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_teamwork_installed_apps_item_chat_request_builder.go b/users/item_teamwork_installed_apps_item_chat_request_builder.go index a9e0a92e6e8..1aad99f3308 100644 --- a/users/item_teamwork_installed_apps_item_chat_request_builder.go +++ b/users/item_teamwork_installed_apps_item_chat_request_builder.go @@ -78,3 +78,7 @@ func (m *ItemTeamworkInstalledAppsItemChatRequestBuilder) 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 *ItemTeamworkInstalledAppsItemChatRequestBuilder) WithUrl(rawUrl string)(*ItemTeamworkInstalledAppsItemChatRequestBuilder) { + return NewItemTeamworkInstalledAppsItemChatRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_teamwork_installed_apps_item_teams_app_definition_request_builder.go b/users/item_teamwork_installed_apps_item_teams_app_definition_request_builder.go index e91f4c7e787..0c3f559d2ff 100644 --- a/users/item_teamwork_installed_apps_item_teams_app_definition_request_builder.go +++ b/users/item_teamwork_installed_apps_item_teams_app_definition_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamworkInstalledAppsItemTeamsAppDefinitionRequestBuilder) ToGetReq } 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 *ItemTeamworkInstalledAppsItemTeamsAppDefinitionRequestBuilder) WithUrl(rawUrl string)(*ItemTeamworkInstalledAppsItemTeamsAppDefinitionRequestBuilder) { + return NewItemTeamworkInstalledAppsItemTeamsAppDefinitionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_teamwork_installed_apps_item_teams_app_request_builder.go b/users/item_teamwork_installed_apps_item_teams_app_request_builder.go index 011d0659b98..6cd9a86994c 100644 --- a/users/item_teamwork_installed_apps_item_teams_app_request_builder.go +++ b/users/item_teamwork_installed_apps_item_teams_app_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTeamworkInstalledAppsItemTeamsAppRequestBuilder) ToGetRequestInform } 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 *ItemTeamworkInstalledAppsItemTeamsAppRequestBuilder) WithUrl(rawUrl string)(*ItemTeamworkInstalledAppsItemTeamsAppRequestBuilder) { + return NewItemTeamworkInstalledAppsItemTeamsAppRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_teamwork_installed_apps_request_builder.go b/users/item_teamwork_installed_apps_request_builder.go index bcf8391593a..c5027ed8ad1 100644 --- a/users/item_teamwork_installed_apps_request_builder.go +++ b/users/item_teamwork_installed_apps_request_builder.go @@ -46,8 +46,8 @@ type ItemTeamworkInstalledAppsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserScopeTeamsAppInstallationIdString provides operations to manage the installedApps property of the microsoft.graph.userTeamwork entity. -func (m *ItemTeamworkInstalledAppsRequestBuilder) ByUserScopeTeamsAppInstallationIdString(userScopeTeamsAppInstallationId string)(*ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilder) { +// ByUserScopeTeamsAppInstallationId provides operations to manage the installedApps property of the microsoft.graph.userTeamwork entity. +func (m *ItemTeamworkInstalledAppsRequestBuilder) ByUserScopeTeamsAppInstallationId(userScopeTeamsAppInstallationId string)(*ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTeamworkInstalledAppsRequestBuilder) ToPostRequestInformation(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 *ItemTeamworkInstalledAppsRequestBuilder) WithUrl(rawUrl string)(*ItemTeamworkInstalledAppsRequestBuilder) { + return NewItemTeamworkInstalledAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_teamwork_installed_apps_user_scope_teams_app_installation_item_request_builder.go b/users/item_teamwork_installed_apps_user_scope_teams_app_installation_item_request_builder.go index ba8c9f35752..2ca1e8ae975 100644 --- a/users/item_teamwork_installed_apps_user_scope_teams_app_installation_item_request_builder.go +++ b/users/item_teamwork_installed_apps_user_scope_teams_app_installation_item_request_builder.go @@ -171,3 +171,7 @@ func (m *ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilde } 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 *ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilder) { + return NewItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_teamwork_request_builder.go b/users/item_teamwork_request_builder.go index 0c8056c905a..64d046566c8 100644 --- a/users/item_teamwork_request_builder.go +++ b/users/item_teamwork_request_builder.go @@ -165,3 +165,7 @@ func (m *ItemTeamworkRequestBuilder) ToPatchRequestInformation(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 *ItemTeamworkRequestBuilder) WithUrl(rawUrl string)(*ItemTeamworkRequestBuilder) { + return NewItemTeamworkRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_teamwork_send_activity_notification_request_builder.go b/users/item_teamwork_send_activity_notification_request_builder.go index 97530abcd06..6f471303c7e 100644 --- a/users/item_teamwork_send_activity_notification_request_builder.go +++ b/users/item_teamwork_send_activity_notification_request_builder.go @@ -65,3 +65,7 @@ func (m *ItemTeamworkSendActivityNotificationRequestBuilder) ToPostRequestInform } 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 *ItemTeamworkSendActivityNotificationRequestBuilder) WithUrl(rawUrl string)(*ItemTeamworkSendActivityNotificationRequestBuilder) { + return NewItemTeamworkSendActivityNotificationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_count_request_builder.go b/users/item_todo_lists_count_request_builder.go index 7c7b8f199cc..89c74989815 100644 --- a/users/item_todo_lists_count_request_builder.go +++ b/users/item_todo_lists_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTodoListsCountRequestBuilder) 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 *ItemTodoListsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsCountRequestBuilder) { + return NewItemTodoListsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_delta_request_builder.go b/users/item_todo_lists_delta_request_builder.go index ee9d2bbfba4..87344ab12f5 100644 --- a/users/item_todo_lists_delta_request_builder.go +++ b/users/item_todo_lists_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemTodoListsDeltaRequestBuilder) 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 *ItemTodoListsDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsDeltaRequestBuilder) { + return NewItemTodoListsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_extensions_count_request_builder.go b/users/item_todo_lists_item_extensions_count_request_builder.go index d120c35038c..b9fa9b9c7b4 100644 --- a/users/item_todo_lists_item_extensions_count_request_builder.go +++ b/users/item_todo_lists_item_extensions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTodoListsItemExtensionsCountRequestBuilder) 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 *ItemTodoListsItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemExtensionsCountRequestBuilder) { + return NewItemTodoListsItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_extensions_extension_item_request_builder.go b/users/item_todo_lists_item_extensions_extension_item_request_builder.go index ae434743dda..ac136c01f38 100644 --- a/users/item_todo_lists_item_extensions_extension_item_request_builder.go +++ b/users/item_todo_lists_item_extensions_extension_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemTodoListsItemExtensionsExtensionItemRequestBuilder) ToPatchRequestI } 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 *ItemTodoListsItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemExtensionsExtensionItemRequestBuilder) { + return NewItemTodoListsItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_extensions_request_builder.go b/users/item_todo_lists_item_extensions_request_builder.go index 7f309a922be..21c3ecf7f5d 100644 --- a/users/item_todo_lists_item_extensions_request_builder.go +++ b/users/item_todo_lists_item_extensions_request_builder.go @@ -46,8 +46,8 @@ type ItemTodoListsItemExtensionsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.todoTaskList entity. -func (m *ItemTodoListsItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemTodoListsItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.todoTaskList entity. +func (m *ItemTodoListsItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemTodoListsItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTodoListsItemExtensionsRequestBuilder) 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 *ItemTodoListsItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemExtensionsRequestBuilder) { + return NewItemTodoListsItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_tasks_count_request_builder.go b/users/item_todo_lists_item_tasks_count_request_builder.go index 79e282dc435..c7d72fd280a 100644 --- a/users/item_todo_lists_item_tasks_count_request_builder.go +++ b/users/item_todo_lists_item_tasks_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTodoListsItemTasksCountRequestBuilder) ToGetRequestInformation(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 *ItemTodoListsItemTasksCountRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemTasksCountRequestBuilder) { + return NewItemTodoListsItemTasksCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_tasks_delta_request_builder.go b/users/item_todo_lists_item_tasks_delta_request_builder.go index 7d0b81e460e..38eb461b3d3 100644 --- a/users/item_todo_lists_item_tasks_delta_request_builder.go +++ b/users/item_todo_lists_item_tasks_delta_request_builder.go @@ -84,3 +84,7 @@ func (m *ItemTodoListsItemTasksDeltaRequestBuilder) ToGetRequestInformation(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 *ItemTodoListsItemTasksDeltaRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemTasksDeltaRequestBuilder) { + return NewItemTodoListsItemTasksDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_tasks_item_attachment_sessions_attachment_session_item_request_builder.go b/users/item_todo_lists_item_tasks_item_attachment_sessions_attachment_session_item_request_builder.go index 25d5b9429e4..6a439ca7706 100644 --- a/users/item_todo_lists_item_tasks_item_attachment_sessions_attachment_session_item_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachment_sessions_attachment_session_item_request_builder.go @@ -155,3 +155,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentSessionsAttachmentSessionItemReques } 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 *ItemTodoListsItemTasksItemAttachmentSessionsAttachmentSessionItemRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemTasksItemAttachmentSessionsAttachmentSessionItemRequestBuilder) { + return NewItemTodoListsItemTasksItemAttachmentSessionsAttachmentSessionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_tasks_item_attachment_sessions_count_request_builder.go b/users/item_todo_lists_item_tasks_item_attachment_sessions_count_request_builder.go index 908131cff43..2e73c2d1383 100644 --- a/users/item_todo_lists_item_tasks_item_attachment_sessions_count_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachment_sessions_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentSessionsCountRequestBuilder) ToGetR } 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 *ItemTodoListsItemTasksItemAttachmentSessionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemTasksItemAttachmentSessionsCountRequestBuilder) { + return NewItemTodoListsItemTasksItemAttachmentSessionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_tasks_item_attachment_sessions_item_content_request_builder.go b/users/item_todo_lists_item_tasks_item_attachment_sessions_item_content_request_builder.go index 838c75678d0..f6010703831 100644 --- a/users/item_todo_lists_item_tasks_item_attachment_sessions_item_content_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachment_sessions_item_content_request_builder.go @@ -102,3 +102,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentSessionsItemContentRequestBuilder) } 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 *ItemTodoListsItemTasksItemAttachmentSessionsItemContentRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemTasksItemAttachmentSessionsItemContentRequestBuilder) { + return NewItemTodoListsItemTasksItemAttachmentSessionsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_tasks_item_attachment_sessions_request_builder.go b/users/item_todo_lists_item_tasks_item_attachment_sessions_request_builder.go index b88e77019a9..0fc880d426a 100644 --- a/users/item_todo_lists_item_tasks_item_attachment_sessions_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachment_sessions_request_builder.go @@ -35,8 +35,8 @@ type ItemTodoListsItemTasksItemAttachmentSessionsRequestBuilderGetRequestConfigu // Request query parameters QueryParameters *ItemTodoListsItemTasksItemAttachmentSessionsRequestBuilderGetQueryParameters } -// ByAttachmentSessionIdString provides operations to manage the attachmentSessions property of the microsoft.graph.todoTask entity. -func (m *ItemTodoListsItemTasksItemAttachmentSessionsRequestBuilder) ByAttachmentSessionIdString(attachmentSessionId string)(*ItemTodoListsItemTasksItemAttachmentSessionsAttachmentSessionItemRequestBuilder) { +// ByAttachmentSessionId provides operations to manage the attachmentSessions property of the microsoft.graph.todoTask entity. +func (m *ItemTodoListsItemTasksItemAttachmentSessionsRequestBuilder) ByAttachmentSessionId(attachmentSessionId string)(*ItemTodoListsItemTasksItemAttachmentSessionsAttachmentSessionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -98,3 +98,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentSessionsRequestBuilder) ToGetReques } 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 *ItemTodoListsItemTasksItemAttachmentSessionsRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemTasksItemAttachmentSessionsRequestBuilder) { + return NewItemTodoListsItemTasksItemAttachmentSessionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_tasks_item_attachments_attachment_base_item_request_builder.go b/users/item_todo_lists_item_tasks_item_attachments_attachment_base_item_request_builder.go index c7e476a8433..22daf32aaca 100644 --- a/users/item_todo_lists_item_tasks_item_attachments_attachment_base_item_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachments_attachment_base_item_request_builder.go @@ -118,3 +118,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilder) } 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 *ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilder) { + return NewItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_tasks_item_attachments_count_request_builder.go b/users/item_todo_lists_item_tasks_item_attachments_count_request_builder.go index 4a578dd5f6e..c1293b8ecdc 100644 --- a/users/item_todo_lists_item_tasks_item_attachments_count_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachments_count_request_builder.go @@ -72,3 +72,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentsCountRequestBuilder) ToGetRequestI } 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 *ItemTodoListsItemTasksItemAttachmentsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemTasksItemAttachmentsCountRequestBuilder) { + return NewItemTodoListsItemTasksItemAttachmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_tasks_item_attachments_create_upload_session_request_builder.go b/users/item_todo_lists_item_tasks_item_attachments_create_upload_session_request_builder.go index 2398f44f7f6..7184411db8d 100644 --- a/users/item_todo_lists_item_tasks_item_attachments_create_upload_session_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachments_create_upload_session_request_builder.go @@ -70,3 +70,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentsCreateUploadSessionRequestBuilder) } 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 *ItemTodoListsItemTasksItemAttachmentsCreateUploadSessionRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemTasksItemAttachmentsCreateUploadSessionRequestBuilder) { + return NewItemTodoListsItemTasksItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_tasks_item_attachments_item_value_content_request_builder.go b/users/item_todo_lists_item_tasks_item_attachments_item_value_content_request_builder.go index 691dfb6cc01..17d4c6bfe7a 100644 --- a/users/item_todo_lists_item_tasks_item_attachments_item_value_content_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachments_item_value_content_request_builder.go @@ -103,3 +103,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentsItemValueContentRequestBuilder) To } 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 *ItemTodoListsItemTasksItemAttachmentsItemValueContentRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemTasksItemAttachmentsItemValueContentRequestBuilder) { + return NewItemTodoListsItemTasksItemAttachmentsItemValueContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_tasks_item_attachments_request_builder.go b/users/item_todo_lists_item_tasks_item_attachments_request_builder.go index d40af457834..9d74ab7bb3b 100644 --- a/users/item_todo_lists_item_tasks_item_attachments_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachments_request_builder.go @@ -42,8 +42,8 @@ type ItemTodoListsItemTasksItemAttachmentsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByAttachmentBaseIdString provides operations to manage the attachments property of the microsoft.graph.todoTask entity. -func (m *ItemTodoListsItemTasksItemAttachmentsRequestBuilder) ByAttachmentBaseIdString(attachmentBaseId string)(*ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilder) { +// ByAttachmentBaseId provides operations to manage the attachments property of the microsoft.graph.todoTask entity. +func (m *ItemTodoListsItemTasksItemAttachmentsRequestBuilder) ByAttachmentBaseId(attachmentBaseId string)(*ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentsRequestBuilder) ToPostRequestInfor } 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 *ItemTodoListsItemTasksItemAttachmentsRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemTasksItemAttachmentsRequestBuilder) { + return NewItemTodoListsItemTasksItemAttachmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_tasks_item_checklist_items_checklist_item_item_request_builder.go b/users/item_todo_lists_item_tasks_item_checklist_items_checklist_item_item_request_builder.go index 9fe27d6e852..47ba354f76a 100644 --- a/users/item_todo_lists_item_tasks_item_checklist_items_checklist_item_item_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_checklist_items_checklist_item_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilder } 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 *ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilder) { + return NewItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_tasks_item_checklist_items_count_request_builder.go b/users/item_todo_lists_item_tasks_item_checklist_items_count_request_builder.go index 395e9ba9abf..caafd06fcb8 100644 --- a/users/item_todo_lists_item_tasks_item_checklist_items_count_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_checklist_items_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTodoListsItemTasksItemChecklistItemsCountRequestBuilder) ToGetReque } 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 *ItemTodoListsItemTasksItemChecklistItemsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemTasksItemChecklistItemsCountRequestBuilder) { + return NewItemTodoListsItemTasksItemChecklistItemsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_tasks_item_checklist_items_request_builder.go b/users/item_todo_lists_item_tasks_item_checklist_items_request_builder.go index fa0f0582b61..16d49df705d 100644 --- a/users/item_todo_lists_item_tasks_item_checklist_items_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_checklist_items_request_builder.go @@ -46,8 +46,8 @@ type ItemTodoListsItemTasksItemChecklistItemsRequestBuilderPostRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByChecklistItemIdString provides operations to manage the checklistItems property of the microsoft.graph.todoTask entity. -func (m *ItemTodoListsItemTasksItemChecklistItemsRequestBuilder) ByChecklistItemIdString(checklistItemId string)(*ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilder) { +// ByChecklistItemId provides operations to manage the checklistItems property of the microsoft.graph.todoTask entity. +func (m *ItemTodoListsItemTasksItemChecklistItemsRequestBuilder) ByChecklistItemId(checklistItemId string)(*ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTodoListsItemTasksItemChecklistItemsRequestBuilder) ToPostRequestIn } 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 *ItemTodoListsItemTasksItemChecklistItemsRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemTasksItemChecklistItemsRequestBuilder) { + return NewItemTodoListsItemTasksItemChecklistItemsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_tasks_item_extensions_count_request_builder.go b/users/item_todo_lists_item_tasks_item_extensions_count_request_builder.go index 959d4e9f6a2..32ef2856e15 100644 --- a/users/item_todo_lists_item_tasks_item_extensions_count_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_extensions_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTodoListsItemTasksItemExtensionsCountRequestBuilder) ToGetRequestIn } 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 *ItemTodoListsItemTasksItemExtensionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemTasksItemExtensionsCountRequestBuilder) { + return NewItemTodoListsItemTasksItemExtensionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_tasks_item_extensions_extension_item_request_builder.go b/users/item_todo_lists_item_tasks_item_extensions_extension_item_request_builder.go index e8545e55171..ce4db88c9c9 100644 --- a/users/item_todo_lists_item_tasks_item_extensions_extension_item_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_extensions_extension_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemTodoListsItemTasksItemExtensionsExtensionItemRequestBuilder) ToPatc } 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 *ItemTodoListsItemTasksItemExtensionsExtensionItemRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemTasksItemExtensionsExtensionItemRequestBuilder) { + return NewItemTodoListsItemTasksItemExtensionsExtensionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_tasks_item_extensions_request_builder.go b/users/item_todo_lists_item_tasks_item_extensions_request_builder.go index e4f27504c05..7a20d16ffac 100644 --- a/users/item_todo_lists_item_tasks_item_extensions_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_extensions_request_builder.go @@ -46,8 +46,8 @@ type ItemTodoListsItemTasksItemExtensionsRequestBuilderPostRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByExtensionIdString provides operations to manage the extensions property of the microsoft.graph.todoTask entity. -func (m *ItemTodoListsItemTasksItemExtensionsRequestBuilder) ByExtensionIdString(extensionId string)(*ItemTodoListsItemTasksItemExtensionsExtensionItemRequestBuilder) { +// ByExtensionId provides operations to manage the extensions property of the microsoft.graph.todoTask entity. +func (m *ItemTodoListsItemTasksItemExtensionsRequestBuilder) ByExtensionId(extensionId string)(*ItemTodoListsItemTasksItemExtensionsExtensionItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -145,3 +145,7 @@ func (m *ItemTodoListsItemTasksItemExtensionsRequestBuilder) ToPostRequestInform } 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 *ItemTodoListsItemTasksItemExtensionsRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemTasksItemExtensionsRequestBuilder) { + return NewItemTodoListsItemTasksItemExtensionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_tasks_item_linked_resources_count_request_builder.go b/users/item_todo_lists_item_tasks_item_linked_resources_count_request_builder.go index 104ce7aff8f..3e608589e7a 100644 --- a/users/item_todo_lists_item_tasks_item_linked_resources_count_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_linked_resources_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTodoListsItemTasksItemLinkedResourcesCountRequestBuilder) ToGetRequ } 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 *ItemTodoListsItemTasksItemLinkedResourcesCountRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemTasksItemLinkedResourcesCountRequestBuilder) { + return NewItemTodoListsItemTasksItemLinkedResourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_tasks_item_linked_resources_linked_resource_item_request_builder.go b/users/item_todo_lists_item_tasks_item_linked_resources_linked_resource_item_request_builder.go index f45c4e7fca5..02a23620c44 100644 --- a/users/item_todo_lists_item_tasks_item_linked_resources_linked_resource_item_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_linked_resources_linked_resource_item_request_builder.go @@ -162,3 +162,7 @@ func (m *ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuild } 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 *ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilder) { + return NewItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_tasks_item_linked_resources_request_builder.go b/users/item_todo_lists_item_tasks_item_linked_resources_request_builder.go index 63d58ae62a6..ccc3874d570 100644 --- a/users/item_todo_lists_item_tasks_item_linked_resources_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_linked_resources_request_builder.go @@ -46,8 +46,8 @@ type ItemTodoListsItemTasksItemLinkedResourcesRequestBuilderPostRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByLinkedResourceIdString provides operations to manage the linkedResources property of the microsoft.graph.todoTask entity. -func (m *ItemTodoListsItemTasksItemLinkedResourcesRequestBuilder) ByLinkedResourceIdString(linkedResourceId string)(*ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilder) { +// ByLinkedResourceId provides operations to manage the linkedResources property of the microsoft.graph.todoTask entity. +func (m *ItemTodoListsItemTasksItemLinkedResourcesRequestBuilder) ByLinkedResourceId(linkedResourceId string)(*ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -151,3 +151,7 @@ func (m *ItemTodoListsItemTasksItemLinkedResourcesRequestBuilder) ToPostRequestI } 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 *ItemTodoListsItemTasksItemLinkedResourcesRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemTasksItemLinkedResourcesRequestBuilder) { + return NewItemTodoListsItemTasksItemLinkedResourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_tasks_request_builder.go b/users/item_todo_lists_item_tasks_request_builder.go index 091c4516f70..18e690c6858 100644 --- a/users/item_todo_lists_item_tasks_request_builder.go +++ b/users/item_todo_lists_item_tasks_request_builder.go @@ -46,8 +46,8 @@ type ItemTodoListsItemTasksRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTodoTaskIdString provides operations to manage the tasks property of the microsoft.graph.todoTaskList entity. -func (m *ItemTodoListsItemTasksRequestBuilder) ByTodoTaskIdString(todoTaskId string)(*ItemTodoListsItemTasksTodoTaskItemRequestBuilder) { +// ByTodoTaskId provides operations to manage the tasks property of the microsoft.graph.todoTaskList entity. +func (m *ItemTodoListsItemTasksRequestBuilder) ByTodoTaskId(todoTaskId string)(*ItemTodoListsItemTasksTodoTaskItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemTodoListsItemTasksRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemTodoListsItemTasksRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemTasksRequestBuilder) { + return NewItemTodoListsItemTasksRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_item_tasks_todo_task_item_request_builder.go b/users/item_todo_lists_item_tasks_todo_task_item_request_builder.go index c49975ce0b8..1ce6119ad0d 100644 --- a/users/item_todo_lists_item_tasks_todo_task_item_request_builder.go +++ b/users/item_todo_lists_item_tasks_todo_task_item_request_builder.go @@ -182,3 +182,7 @@ func (m *ItemTodoListsItemTasksTodoTaskItemRequestBuilder) ToPatchRequestInforma } 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 *ItemTodoListsItemTasksTodoTaskItemRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsItemTasksTodoTaskItemRequestBuilder) { + return NewItemTodoListsItemTasksTodoTaskItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_request_builder.go b/users/item_todo_lists_request_builder.go index bd0e06eabbd..bc73986d80e 100644 --- a/users/item_todo_lists_request_builder.go +++ b/users/item_todo_lists_request_builder.go @@ -46,8 +46,8 @@ type ItemTodoListsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByTodoTaskListIdString provides operations to manage the lists property of the microsoft.graph.todo entity. -func (m *ItemTodoListsRequestBuilder) ByTodoTaskListIdString(todoTaskListId string)(*ItemTodoListsTodoTaskListItemRequestBuilder) { +// ByTodoTaskListId provides operations to manage the lists property of the microsoft.graph.todo entity. +func (m *ItemTodoListsRequestBuilder) ByTodoTaskListId(todoTaskListId string)(*ItemTodoListsTodoTaskListItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -155,3 +155,7 @@ func (m *ItemTodoListsRequestBuilder) 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 *ItemTodoListsRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsRequestBuilder) { + return NewItemTodoListsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_lists_todo_task_list_item_request_builder.go b/users/item_todo_lists_todo_task_list_item_request_builder.go index e7b02bd4008..0098d6a93d6 100644 --- a/users/item_todo_lists_todo_task_list_item_request_builder.go +++ b/users/item_todo_lists_todo_task_list_item_request_builder.go @@ -170,3 +170,7 @@ func (m *ItemTodoListsTodoTaskListItemRequestBuilder) 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 *ItemTodoListsTodoTaskListItemRequestBuilder) WithUrl(rawUrl string)(*ItemTodoListsTodoTaskListItemRequestBuilder) { + return NewItemTodoListsTodoTaskListItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_todo_request_builder.go b/users/item_todo_request_builder.go index ecb3d5d2372..94c7c22f028 100644 --- a/users/item_todo_request_builder.go +++ b/users/item_todo_request_builder.go @@ -157,3 +157,7 @@ func (m *ItemTodoRequestBuilder) ToPatchRequestInformation(ctx context.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 *ItemTodoRequestBuilder) WithUrl(rawUrl string)(*ItemTodoRequestBuilder) { + return NewItemTodoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_transitive_member_of_count_request_builder.go b/users/item_transitive_member_of_count_request_builder.go index 501610a3f83..83a8620c57f 100644 --- a/users/item_transitive_member_of_count_request_builder.go +++ b/users/item_transitive_member_of_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMemberOfCountRequestBuilder) ToGetRequestInformation(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 *ItemTransitiveMemberOfCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfCountRequestBuilder) { + return NewItemTransitiveMemberOfCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_transitive_member_of_directory_object_item_request_builder.go b/users/item_transitive_member_of_directory_object_item_request_builder.go index 1487bcbb12b..8f03e09c956 100644 --- a/users/item_transitive_member_of_directory_object_item_request_builder.go +++ b/users/item_transitive_member_of_directory_object_item_request_builder.go @@ -87,3 +87,7 @@ func (m *ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) ToGetRequestIn } 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 *ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) { + return NewItemTransitiveMemberOfDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_transitive_member_of_graph_administrative_unit_count_request_builder.go b/users/item_transitive_member_of_graph_administrative_unit_count_request_builder.go index 553e3e45140..c6fb1bd23d0 100644 --- a/users/item_transitive_member_of_graph_administrative_unit_count_request_builder.go +++ b/users/item_transitive_member_of_graph_administrative_unit_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder) ToGet } 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 *ItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder) { + return NewItemTransitiveMemberOfGraphAdministrativeUnitCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_transitive_member_of_graph_administrative_unit_request_builder.go b/users/item_transitive_member_of_graph_administrative_unit_request_builder.go index 67edffc2a71..e2d4cda05eb 100644 --- a/users/item_transitive_member_of_graph_administrative_unit_request_builder.go +++ b/users/item_transitive_member_of_graph_administrative_unit_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) ToGetReque } 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 *ItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) { + return NewItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_transitive_member_of_graph_directory_role_count_request_builder.go b/users/item_transitive_member_of_graph_directory_role_count_request_builder.go index 6cbe80bc8df..d0a8024f168 100644 --- a/users/item_transitive_member_of_graph_directory_role_count_request_builder.go +++ b/users/item_transitive_member_of_graph_directory_role_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMemberOfGraphDirectoryRoleCountRequestBuilder) ToGetReque } 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 *ItemTransitiveMemberOfGraphDirectoryRoleCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphDirectoryRoleCountRequestBuilder) { + return NewItemTransitiveMemberOfGraphDirectoryRoleCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_transitive_member_of_graph_directory_role_request_builder.go b/users/item_transitive_member_of_graph_directory_role_request_builder.go index d20f3274ab1..bfb483eb3ac 100644 --- a/users/item_transitive_member_of_graph_directory_role_request_builder.go +++ b/users/item_transitive_member_of_graph_directory_role_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemTransitiveMemberOfGraphDirectoryRoleRequestBuilder) ToGetRequestInf } 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 *ItemTransitiveMemberOfGraphDirectoryRoleRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphDirectoryRoleRequestBuilder) { + return NewItemTransitiveMemberOfGraphDirectoryRoleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_transitive_member_of_graph_group_count_request_builder.go b/users/item_transitive_member_of_graph_group_count_request_builder.go index d4c3a44a54e..c4ca0786ee6 100644 --- a/users/item_transitive_member_of_graph_group_count_request_builder.go +++ b/users/item_transitive_member_of_graph_group_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveMemberOfGraphGroupCountRequestBuilder) ToGetRequestInform } 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 *ItemTransitiveMemberOfGraphGroupCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphGroupCountRequestBuilder) { + return NewItemTransitiveMemberOfGraphGroupCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_transitive_member_of_graph_group_request_builder.go b/users/item_transitive_member_of_graph_group_request_builder.go index ef2dcaede48..5ad4f41a1a8 100644 --- a/users/item_transitive_member_of_graph_group_request_builder.go +++ b/users/item_transitive_member_of_graph_group_request_builder.go @@ -91,3 +91,7 @@ func (m *ItemTransitiveMemberOfGraphGroupRequestBuilder) 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 *ItemTransitiveMemberOfGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfGraphGroupRequestBuilder) { + return NewItemTransitiveMemberOfGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_transitive_member_of_item_graph_administrative_unit_request_builder.go b/users/item_transitive_member_of_item_graph_administrative_unit_request_builder.go index 8f09bec1f1a..d4667df56bd 100644 --- a/users/item_transitive_member_of_item_graph_administrative_unit_request_builder.go +++ b/users/item_transitive_member_of_item_graph_administrative_unit_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder) ToGetR } 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 *ItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder) { + return NewItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_transitive_member_of_item_graph_directory_role_request_builder.go b/users/item_transitive_member_of_item_graph_directory_role_request_builder.go index a6c3a9197db..90a29d8a255 100644 --- a/users/item_transitive_member_of_item_graph_directory_role_request_builder.go +++ b/users/item_transitive_member_of_item_graph_directory_role_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTransitiveMemberOfItemGraphDirectoryRoleRequestBuilder) ToGetReques } 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 *ItemTransitiveMemberOfItemGraphDirectoryRoleRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfItemGraphDirectoryRoleRequestBuilder) { + return NewItemTransitiveMemberOfItemGraphDirectoryRoleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_transitive_member_of_item_graph_group_request_builder.go b/users/item_transitive_member_of_item_graph_group_request_builder.go index 980e11bb2f1..bcd3a216089 100644 --- a/users/item_transitive_member_of_item_graph_group_request_builder.go +++ b/users/item_transitive_member_of_item_graph_group_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTransitiveMemberOfItemGraphGroupRequestBuilder) ToGetRequestInforma } 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 *ItemTransitiveMemberOfItemGraphGroupRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfItemGraphGroupRequestBuilder) { + return NewItemTransitiveMemberOfItemGraphGroupRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_transitive_member_of_request_builder.go b/users/item_transitive_member_of_request_builder.go index 35748d814ed..e804c74b31e 100644 --- a/users/item_transitive_member_of_request_builder.go +++ b/users/item_transitive_member_of_request_builder.go @@ -39,8 +39,8 @@ type ItemTransitiveMemberOfRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemTransitiveMemberOfRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the transitiveMemberOf property of the microsoft.graph.user entity. -func (m *ItemTransitiveMemberOfRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the transitiveMemberOf property of the microsoft.graph.user entity. +func (m *ItemTransitiveMemberOfRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -117,3 +117,7 @@ func (m *ItemTransitiveMemberOfRequestBuilder) ToGetRequestInformation(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 *ItemTransitiveMemberOfRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveMemberOfRequestBuilder) { + return NewItemTransitiveMemberOfRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_transitive_reports_count_request_builder.go b/users/item_transitive_reports_count_request_builder.go index 5a8e6cedf33..b72e65c7dce 100644 --- a/users/item_transitive_reports_count_request_builder.go +++ b/users/item_transitive_reports_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemTransitiveReportsCountRequestBuilder) ToGetRequestInformation(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 *ItemTransitiveReportsCountRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveReportsCountRequestBuilder) { + return NewItemTransitiveReportsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_transitive_reports_directory_object_item_request_builder.go b/users/item_transitive_reports_directory_object_item_request_builder.go index 1efa237adcf..7148dfb5078 100644 --- a/users/item_transitive_reports_directory_object_item_request_builder.go +++ b/users/item_transitive_reports_directory_object_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemTransitiveReportsDirectoryObjectItemRequestBuilder) ToGetRequestInf } 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 *ItemTransitiveReportsDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveReportsDirectoryObjectItemRequestBuilder) { + return NewItemTransitiveReportsDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_transitive_reports_request_builder.go b/users/item_transitive_reports_request_builder.go index 67ef9e7e397..63ee74a0d6b 100644 --- a/users/item_transitive_reports_request_builder.go +++ b/users/item_transitive_reports_request_builder.go @@ -39,8 +39,8 @@ type ItemTransitiveReportsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemTransitiveReportsRequestBuilderGetQueryParameters } -// ByDirectoryObjectIdString provides operations to manage the transitiveReports property of the microsoft.graph.user entity. -func (m *ItemTransitiveReportsRequestBuilder) ByDirectoryObjectIdString(directoryObjectId string)(*ItemTransitiveReportsDirectoryObjectItemRequestBuilder) { +// ByDirectoryObjectId provides operations to manage the transitiveReports property of the microsoft.graph.user entity. +func (m *ItemTransitiveReportsRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemTransitiveReportsDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemTransitiveReportsRequestBuilder) ToGetRequestInformation(ctx contex } 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 *ItemTransitiveReportsRequestBuilder) WithUrl(rawUrl string)(*ItemTransitiveReportsRequestBuilder) { + return NewItemTransitiveReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_translate_exchange_ids_request_builder.go b/users/item_translate_exchange_ids_request_builder.go index b838d3a73ef..e30e65586d0 100644 --- a/users/item_translate_exchange_ids_request_builder.go +++ b/users/item_translate_exchange_ids_request_builder.go @@ -69,3 +69,7 @@ func (m *ItemTranslateExchangeIdsRequestBuilder) ToPostRequestInformation(ctx co } 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 *ItemTranslateExchangeIdsRequestBuilder) WithUrl(rawUrl string)(*ItemTranslateExchangeIdsRequestBuilder) { + return NewItemTranslateExchangeIdsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_unblock_managed_apps_request_builder.go b/users/item_unblock_managed_apps_request_builder.go index 95bcf1f7cdf..ba5aabadfee 100644 --- a/users/item_unblock_managed_apps_request_builder.go +++ b/users/item_unblock_managed_apps_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemUnblockManagedAppsRequestBuilder) ToPostRequestInformation(ctx cont } 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 *ItemUnblockManagedAppsRequestBuilder) WithUrl(rawUrl string)(*ItemUnblockManagedAppsRequestBuilder) { + return NewItemUnblockManagedAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_usage_rights_count_request_builder.go b/users/item_usage_rights_count_request_builder.go index edec9a4913f..a3bf572d304 100644 --- a/users/item_usage_rights_count_request_builder.go +++ b/users/item_usage_rights_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemUsageRightsCountRequestBuilder) ToGetRequestInformation(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 *ItemUsageRightsCountRequestBuilder) WithUrl(rawUrl string)(*ItemUsageRightsCountRequestBuilder) { + return NewItemUsageRightsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_usage_rights_request_builder.go b/users/item_usage_rights_request_builder.go index b8e4c477173..d1fa76bfbf5 100644 --- a/users/item_usage_rights_request_builder.go +++ b/users/item_usage_rights_request_builder.go @@ -46,8 +46,8 @@ type ItemUsageRightsRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUsageRightIdString provides operations to manage the usageRights property of the microsoft.graph.user entity. -func (m *ItemUsageRightsRequestBuilder) ByUsageRightIdString(usageRightId string)(*ItemUsageRightsUsageRightItemRequestBuilder) { +// ByUsageRightId provides operations to manage the usageRights property of the microsoft.graph.user entity. +func (m *ItemUsageRightsRequestBuilder) ByUsageRightId(usageRightId string)(*ItemUsageRightsUsageRightItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -148,3 +148,7 @@ func (m *ItemUsageRightsRequestBuilder) ToPostRequestInformation(ctx context.Con } 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 *ItemUsageRightsRequestBuilder) WithUrl(rawUrl string)(*ItemUsageRightsRequestBuilder) { + return NewItemUsageRightsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_usage_rights_usage_right_item_request_builder.go b/users/item_usage_rights_usage_right_item_request_builder.go index 6a655614f73..46b09e93e86 100644 --- a/users/item_usage_rights_usage_right_item_request_builder.go +++ b/users/item_usage_rights_usage_right_item_request_builder.go @@ -153,3 +153,7 @@ func (m *ItemUsageRightsUsageRightItemRequestBuilder) 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 *ItemUsageRightsUsageRightItemRequestBuilder) WithUrl(rawUrl string)(*ItemUsageRightsUsageRightItemRequestBuilder) { + return NewItemUsageRightsUsageRightItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_settings_pronouns_request_builder.go b/users/item_virtual_events_request_builder.go similarity index 56% rename from organization/item_settings_pronouns_request_builder.go rename to users/item_virtual_events_request_builder.go index 2cc59c2d83f..2fdc02f937b 100644 --- a/organization/item_settings_pronouns_request_builder.go +++ b/users/item_virtual_events_request_builder.go @@ -1,4 +1,4 @@ -package organization +package users import ( "context" @@ -7,55 +7,55 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// ItemSettingsPronounsRequestBuilder provides operations to manage the pronouns property of the microsoft.graph.organizationSettings entity. -type ItemSettingsPronounsRequestBuilder struct { +// ItemVirtualEventsRequestBuilder provides operations to manage the virtualEvents property of the microsoft.graph.user entity. +type ItemVirtualEventsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSettingsPronounsRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ItemSettingsPronounsRequestBuilderDeleteRequestConfiguration struct { +// ItemVirtualEventsRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemVirtualEventsRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSettingsPronounsRequestBuilderGetQueryParameters get pronouns from organization -type ItemSettingsPronounsRequestBuilderGetQueryParameters struct { +// ItemVirtualEventsRequestBuilderGetQueryParameters get virtualEvents from users +type ItemVirtualEventsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } -// ItemSettingsPronounsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ItemSettingsPronounsRequestBuilderGetRequestConfiguration struct { +// ItemVirtualEventsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemVirtualEventsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters - QueryParameters *ItemSettingsPronounsRequestBuilderGetQueryParameters + QueryParameters *ItemVirtualEventsRequestBuilderGetQueryParameters } -// ItemSettingsPronounsRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ItemSettingsPronounsRequestBuilderPatchRequestConfiguration struct { +// ItemVirtualEventsRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemVirtualEventsRequestBuilderPatchRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// NewItemSettingsPronounsRequestBuilderInternal instantiates a new PronounsRequestBuilder and sets the default values. -func NewItemSettingsPronounsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsPronounsRequestBuilder) { - m := &ItemSettingsPronounsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/organization/{organization%2Did}/settings/pronouns{?%24select,%24expand}", pathParameters), +// NewItemVirtualEventsRequestBuilderInternal instantiates a new VirtualEventsRequestBuilder and sets the default values. +func NewItemVirtualEventsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemVirtualEventsRequestBuilder) { + m := &ItemVirtualEventsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/virtualEvents{?%24select,%24expand}", pathParameters), } return m } -// NewItemSettingsPronounsRequestBuilder instantiates a new PronounsRequestBuilder and sets the default values. -func NewItemSettingsPronounsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsPronounsRequestBuilder) { +// NewItemVirtualEventsRequestBuilder instantiates a new VirtualEventsRequestBuilder and sets the default values. +func NewItemVirtualEventsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemVirtualEventsRequestBuilder) { urlParams := make(map[string]string) urlParams["request-raw-url"] = rawUrl - return NewItemSettingsPronounsRequestBuilderInternal(urlParams, requestAdapter) + return NewItemVirtualEventsRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property pronouns for organization -func (m *ItemSettingsPronounsRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSettingsPronounsRequestBuilderDeleteRequestConfiguration)(error) { +// Delete delete navigation property virtualEvents for users +func (m *ItemVirtualEventsRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemVirtualEventsRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { return err @@ -70,8 +70,8 @@ func (m *ItemSettingsPronounsRequestBuilder) Delete(ctx context.Context, request } return nil } -// Get get pronouns from organization -func (m *ItemSettingsPronounsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsPronounsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PronounsSettingsable, error) { +// Get get virtualEvents from users +func (m *ItemVirtualEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemVirtualEventsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserVirtualEventsRootable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { return nil, err @@ -80,17 +80,17 @@ func (m *ItemSettingsPronounsRequestBuilder) Get(ctx context.Context, requestCon "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePronounsSettingsFromDiscriminatorValue, errorMapping) + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateUserVirtualEventsRootFromDiscriminatorValue, errorMapping) if err != nil { return nil, err } if res == nil { return nil, nil } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PronounsSettingsable), nil + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserVirtualEventsRootable), nil } -// Patch update the navigation property pronouns in organization -func (m *ItemSettingsPronounsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PronounsSettingsable, requestConfiguration *ItemSettingsPronounsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PronounsSettingsable, error) { +// Patch update the navigation property virtualEvents in users +func (m *ItemVirtualEventsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserVirtualEventsRootable, requestConfiguration *ItemVirtualEventsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserVirtualEventsRootable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { return nil, err @@ -99,17 +99,17 @@ func (m *ItemSettingsPronounsRequestBuilder) Patch(ctx context.Context, body ie2 "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreatePronounsSettingsFromDiscriminatorValue, errorMapping) + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateUserVirtualEventsRootFromDiscriminatorValue, errorMapping) if err != nil { return nil, err } if res == nil { return nil, nil } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PronounsSettingsable), nil + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserVirtualEventsRootable), nil } -// ToDeleteRequestInformation delete navigation property pronouns for organization -func (m *ItemSettingsPronounsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsPronounsRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +// ToDeleteRequestInformation delete navigation property virtualEvents for users +func (m *ItemVirtualEventsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemVirtualEventsRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters @@ -120,8 +120,8 @@ func (m *ItemSettingsPronounsRequestBuilder) ToDeleteRequestInformation(ctx cont } return requestInfo, nil } -// ToGetRequestInformation get pronouns from organization -func (m *ItemSettingsPronounsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsPronounsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +// ToGetRequestInformation get virtualEvents from users +func (m *ItemVirtualEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemVirtualEventsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters @@ -136,8 +136,8 @@ func (m *ItemSettingsPronounsRequestBuilder) ToGetRequestInformation(ctx context } return requestInfo, nil } -// ToPatchRequestInformation update the navigation property pronouns in organization -func (m *ItemSettingsPronounsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PronounsSettingsable, requestConfiguration *ItemSettingsPronounsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +// ToPatchRequestInformation update the navigation property virtualEvents in users +func (m *ItemVirtualEventsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserVirtualEventsRootable, requestConfiguration *ItemVirtualEventsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters @@ -153,3 +153,11 @@ func (m *ItemSettingsPronounsRequestBuilder) ToPatchRequestInformation(ctx conte } return requestInfo, nil } +// Webinars provides operations to manage the webinars property of the microsoft.graph.userVirtualEventsRoot entity. +func (m *ItemVirtualEventsRequestBuilder) Webinars()(*ItemVirtualEventsWebinarsRequestBuilder) { + return NewItemVirtualEventsWebinarsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemVirtualEventsRequestBuilder) WithUrl(rawUrl string)(*ItemVirtualEventsRequestBuilder) { + return NewItemVirtualEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/organization/item_settings_profile_card_properties_count_request_builder.go b/users/item_virtual_events_webinars_count_request_builder.go similarity index 52% rename from organization/item_settings_profile_card_properties_count_request_builder.go rename to users/item_virtual_events_webinars_count_request_builder.go index 91e1acc5004..23046776790 100644 --- a/organization/item_settings_profile_card_properties_count_request_builder.go +++ b/users/item_virtual_events_webinars_count_request_builder.go @@ -1,4 +1,4 @@ -package organization +package users import ( "context" @@ -6,41 +6,41 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// ItemSettingsProfileCardPropertiesCountRequestBuilder provides operations to count the resources in the collection. -type ItemSettingsProfileCardPropertiesCountRequestBuilder struct { +// ItemVirtualEventsWebinarsCountRequestBuilder provides operations to count the resources in the collection. +type ItemVirtualEventsWebinarsCountRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSettingsProfileCardPropertiesCountRequestBuilderGetQueryParameters get the number of the resource -type ItemSettingsProfileCardPropertiesCountRequestBuilderGetQueryParameters struct { +// ItemVirtualEventsWebinarsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemVirtualEventsWebinarsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` // Search items by search phrases Search *string `uriparametername:"%24search"` } -// ItemSettingsProfileCardPropertiesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ItemSettingsProfileCardPropertiesCountRequestBuilderGetRequestConfiguration struct { +// ItemVirtualEventsWebinarsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemVirtualEventsWebinarsCountRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters - QueryParameters *ItemSettingsProfileCardPropertiesCountRequestBuilderGetQueryParameters + QueryParameters *ItemVirtualEventsWebinarsCountRequestBuilderGetQueryParameters } -// NewItemSettingsProfileCardPropertiesCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. -func NewItemSettingsProfileCardPropertiesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsProfileCardPropertiesCountRequestBuilder) { - m := &ItemSettingsProfileCardPropertiesCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/organization/{organization%2Did}/settings/profileCardProperties/$count{?%24search,%24filter}", pathParameters), +// NewItemVirtualEventsWebinarsCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewItemVirtualEventsWebinarsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemVirtualEventsWebinarsCountRequestBuilder) { + m := &ItemVirtualEventsWebinarsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/virtualEvents/webinars/$count{?%24search,%24filter}", pathParameters), } return m } -// NewItemSettingsProfileCardPropertiesCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. -func NewItemSettingsProfileCardPropertiesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsProfileCardPropertiesCountRequestBuilder) { +// NewItemVirtualEventsWebinarsCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewItemVirtualEventsWebinarsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemVirtualEventsWebinarsCountRequestBuilder) { urlParams := make(map[string]string) urlParams["request-raw-url"] = rawUrl - return NewItemSettingsProfileCardPropertiesCountRequestBuilderInternal(urlParams, requestAdapter) + return NewItemVirtualEventsWebinarsCountRequestBuilderInternal(urlParams, requestAdapter) } // Get get the number of the resource -func (m *ItemSettingsProfileCardPropertiesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsProfileCardPropertiesCountRequestBuilderGetRequestConfiguration)(*int32, error) { +func (m *ItemVirtualEventsWebinarsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemVirtualEventsWebinarsCountRequestBuilderGetRequestConfiguration)(*int32, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { return nil, err @@ -59,7 +59,7 @@ func (m *ItemSettingsProfileCardPropertiesCountRequestBuilder) Get(ctx context.C return res.(*int32), nil } // ToGetRequestInformation get the number of the resource -func (m *ItemSettingsProfileCardPropertiesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsProfileCardPropertiesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +func (m *ItemVirtualEventsWebinarsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemVirtualEventsWebinarsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters @@ -74,3 +74,7 @@ func (m *ItemSettingsProfileCardPropertiesCountRequestBuilder) ToGetRequestInfor } 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 *ItemVirtualEventsWebinarsCountRequestBuilder) WithUrl(rawUrl string)(*ItemVirtualEventsWebinarsCountRequestBuilder) { + return NewItemVirtualEventsWebinarsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_virtual_events_webinars_request_builder.go b/users/item_virtual_events_webinars_request_builder.go new file mode 100644 index 00000000000..3aa409e7c22 --- /dev/null +++ b/users/item_virtual_events_webinars_request_builder.go @@ -0,0 +1,108 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemVirtualEventsWebinarsRequestBuilder provides operations to manage the webinars property of the microsoft.graph.userVirtualEventsRoot entity. +type ItemVirtualEventsWebinarsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemVirtualEventsWebinarsRequestBuilderGetQueryParameters get webinars from users +type ItemVirtualEventsWebinarsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemVirtualEventsWebinarsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemVirtualEventsWebinarsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemVirtualEventsWebinarsRequestBuilderGetQueryParameters +} +// ByVirtualEventWebinarId provides operations to manage the webinars property of the microsoft.graph.userVirtualEventsRoot entity. +func (m *ItemVirtualEventsWebinarsRequestBuilder) ByVirtualEventWebinarId(virtualEventWebinarId string)(*ItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if virtualEventWebinarId != "" { + urlTplParams["virtualEventWebinar%2Did"] = virtualEventWebinarId + } + return NewItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemVirtualEventsWebinarsRequestBuilderInternal instantiates a new WebinarsRequestBuilder and sets the default values. +func NewItemVirtualEventsWebinarsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemVirtualEventsWebinarsRequestBuilder) { + m := &ItemVirtualEventsWebinarsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/virtualEvents/webinars{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewItemVirtualEventsWebinarsRequestBuilder instantiates a new WebinarsRequestBuilder and sets the default values. +func NewItemVirtualEventsWebinarsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemVirtualEventsWebinarsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemVirtualEventsWebinarsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *ItemVirtualEventsWebinarsRequestBuilder) Count()(*ItemVirtualEventsWebinarsCountRequestBuilder) { + return NewItemVirtualEventsWebinarsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get webinars from users +func (m *ItemVirtualEventsWebinarsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemVirtualEventsWebinarsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventWebinarCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateVirtualEventWebinarCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventWebinarCollectionResponseable), nil +} +// ToGetRequestInformation get webinars from users +func (m *ItemVirtualEventsWebinarsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemVirtualEventsWebinarsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *ItemVirtualEventsWebinarsRequestBuilder) WithUrl(rawUrl string)(*ItemVirtualEventsWebinarsRequestBuilder) { + return NewItemVirtualEventsWebinarsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_virtual_events_webinars_virtual_event_webinar_item_request_builder.go b/users/item_virtual_events_webinars_virtual_event_webinar_item_request_builder.go new file mode 100644 index 00000000000..cecd933970d --- /dev/null +++ b/users/item_virtual_events_webinars_virtual_event_webinar_item_request_builder.go @@ -0,0 +1,81 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder provides operations to manage the webinars property of the microsoft.graph.userVirtualEventsRoot entity. +type ItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderGetQueryParameters get webinars from users +type ItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderGetQueryParameters +} +// NewItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderInternal instantiates a new VirtualEventWebinarItemRequestBuilder and sets the default values. +func NewItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) { + m := &ItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/virtualEvents/webinars/{virtualEventWebinar%2Did}{?%24select,%24expand}", pathParameters), + } + return m +} +// NewItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder instantiates a new VirtualEventWebinarItemRequestBuilder and sets the default values. +func NewItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get webinars from users +func (m *ItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventWebinarable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateVirtualEventWebinarFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventWebinarable), nil +} +// ToGetRequestInformation get webinars from users +func (m *ItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.Add("Accept", "application/json") + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + 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 *ItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) WithUrl(rawUrl string)(*ItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) { + return NewItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_windows_information_protection_device_registrations_count_request_builder.go b/users/item_windows_information_protection_device_registrations_count_request_builder.go index baa02fb915c..1f51302a2e3 100644 --- a/users/item_windows_information_protection_device_registrations_count_request_builder.go +++ b/users/item_windows_information_protection_device_registrations_count_request_builder.go @@ -74,3 +74,7 @@ func (m *ItemWindowsInformationProtectionDeviceRegistrationsCountRequestBuilder) } 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 *ItemWindowsInformationProtectionDeviceRegistrationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemWindowsInformationProtectionDeviceRegistrationsCountRequestBuilder) { + return NewItemWindowsInformationProtectionDeviceRegistrationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_windows_information_protection_device_registrations_request_builder.go b/users/item_windows_information_protection_device_registrations_request_builder.go index c18ae6c6b8b..2078d050825 100644 --- a/users/item_windows_information_protection_device_registrations_request_builder.go +++ b/users/item_windows_information_protection_device_registrations_request_builder.go @@ -39,8 +39,8 @@ type ItemWindowsInformationProtectionDeviceRegistrationsRequestBuilderGetRequest // Request query parameters QueryParameters *ItemWindowsInformationProtectionDeviceRegistrationsRequestBuilderGetQueryParameters } -// ByWindowsInformationProtectionDeviceRegistrationIdString provides operations to manage the windowsInformationProtectionDeviceRegistrations property of the microsoft.graph.user entity. -func (m *ItemWindowsInformationProtectionDeviceRegistrationsRequestBuilder) ByWindowsInformationProtectionDeviceRegistrationIdString(windowsInformationProtectionDeviceRegistrationId string)(*ItemWindowsInformationProtectionDeviceRegistrationsWindowsInformationProtectionDeviceRegistrationItemRequestBuilder) { +// ByWindowsInformationProtectionDeviceRegistrationId provides operations to manage the windowsInformationProtectionDeviceRegistrations property of the microsoft.graph.user entity. +func (m *ItemWindowsInformationProtectionDeviceRegistrationsRequestBuilder) ByWindowsInformationProtectionDeviceRegistrationId(windowsInformationProtectionDeviceRegistrationId string)(*ItemWindowsInformationProtectionDeviceRegistrationsWindowsInformationProtectionDeviceRegistrationItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -102,3 +102,7 @@ func (m *ItemWindowsInformationProtectionDeviceRegistrationsRequestBuilder) ToGe } 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 *ItemWindowsInformationProtectionDeviceRegistrationsRequestBuilder) WithUrl(rawUrl string)(*ItemWindowsInformationProtectionDeviceRegistrationsRequestBuilder) { + return NewItemWindowsInformationProtectionDeviceRegistrationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_windows_information_protection_device_registrations_windows_information_protection_device_registration_item_request_builder.go b/users/item_windows_information_protection_device_registrations_windows_information_protection_device_registration_item_request_builder.go index 0160277cd84..1e49925fa0b 100644 --- a/users/item_windows_information_protection_device_registrations_windows_information_protection_device_registration_item_request_builder.go +++ b/users/item_windows_information_protection_device_registrations_windows_information_protection_device_registration_item_request_builder.go @@ -75,3 +75,7 @@ func (m *ItemWindowsInformationProtectionDeviceRegistrationsWindowsInformationPr } 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 *ItemWindowsInformationProtectionDeviceRegistrationsWindowsInformationProtectionDeviceRegistrationItemRequestBuilder) WithUrl(rawUrl string)(*ItemWindowsInformationProtectionDeviceRegistrationsWindowsInformationProtectionDeviceRegistrationItemRequestBuilder) { + return NewItemWindowsInformationProtectionDeviceRegistrationsWindowsInformationProtectionDeviceRegistrationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_wipe_and_block_managed_apps_request_builder.go b/users/item_wipe_and_block_managed_apps_request_builder.go index 4d639aa1353..680af73ae26 100644 --- a/users/item_wipe_and_block_managed_apps_request_builder.go +++ b/users/item_wipe_and_block_managed_apps_request_builder.go @@ -58,3 +58,7 @@ func (m *ItemWipeAndBlockManagedAppsRequestBuilder) 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 *ItemWipeAndBlockManagedAppsRequestBuilder) WithUrl(rawUrl string)(*ItemWipeAndBlockManagedAppsRequestBuilder) { + return NewItemWipeAndBlockManagedAppsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_wipe_managed_app_registration_by_device_tag_request_builder.go b/users/item_wipe_managed_app_registration_by_device_tag_request_builder.go index adab700d1c4..8b10982826d 100644 --- a/users/item_wipe_managed_app_registration_by_device_tag_request_builder.go +++ b/users/item_wipe_managed_app_registration_by_device_tag_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemWipeManagedAppRegistrationByDeviceTagRequestBuilder) ToPostRequestI } 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 *ItemWipeManagedAppRegistrationByDeviceTagRequestBuilder) WithUrl(rawUrl string)(*ItemWipeManagedAppRegistrationByDeviceTagRequestBuilder) { + return NewItemWipeManagedAppRegistrationByDeviceTagRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_wipe_managed_app_registrations_by_azure_ad_device_id_request_builder.go b/users/item_wipe_managed_app_registrations_by_azure_ad_device_id_request_builder.go index 9e2ffd603f8..e5c3317097f 100644 --- a/users/item_wipe_managed_app_registrations_by_azure_ad_device_id_request_builder.go +++ b/users/item_wipe_managed_app_registrations_by_azure_ad_device_id_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemWipeManagedAppRegistrationsByAzureAdDeviceIdRequestBuilder) ToPostR } 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 *ItemWipeManagedAppRegistrationsByAzureAdDeviceIdRequestBuilder) WithUrl(rawUrl string)(*ItemWipeManagedAppRegistrationsByAzureAdDeviceIdRequestBuilder) { + return NewItemWipeManagedAppRegistrationsByAzureAdDeviceIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_wipe_managed_app_registrations_by_device_tag_request_builder.go b/users/item_wipe_managed_app_registrations_by_device_tag_request_builder.go index e0cbf5f88b0..fb7aa620ecc 100644 --- a/users/item_wipe_managed_app_registrations_by_device_tag_request_builder.go +++ b/users/item_wipe_managed_app_registrations_by_device_tag_request_builder.go @@ -62,3 +62,7 @@ func (m *ItemWipeManagedAppRegistrationsByDeviceTagRequestBuilder) ToPostRequest } 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 *ItemWipeManagedAppRegistrationsByDeviceTagRequestBuilder) WithUrl(rawUrl string)(*ItemWipeManagedAppRegistrationsByDeviceTagRequestBuilder) { + return NewItemWipeManagedAppRegistrationsByDeviceTagRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/user_item_request_builder.go b/users/user_item_request_builder.go index 3fdd556ba41..80de28b17d4 100644 --- a/users/user_item_request_builder.go +++ b/users/user_item_request_builder.go @@ -554,6 +554,10 @@ func (m *UserItemRequestBuilder) UnblockManagedApps()(*ItemUnblockManagedAppsReq func (m *UserItemRequestBuilder) UsageRights()(*ItemUsageRightsRequestBuilder) { return NewItemUsageRightsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// VirtualEvents provides operations to manage the virtualEvents property of the microsoft.graph.user entity. +func (m *UserItemRequestBuilder) VirtualEvents()(*ItemVirtualEventsRequestBuilder) { + return NewItemVirtualEventsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // WindowsInformationProtectionDeviceRegistrations provides operations to manage the windowsInformationProtectionDeviceRegistrations property of the microsoft.graph.user entity. func (m *UserItemRequestBuilder) WindowsInformationProtectionDeviceRegistrations()(*ItemWindowsInformationProtectionDeviceRegistrationsRequestBuilder) { return NewItemWindowsInformationProtectionDeviceRegistrationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) @@ -574,3 +578,7 @@ func (m *UserItemRequestBuilder) WipeManagedAppRegistrationsByAzureAdDeviceId()( func (m *UserItemRequestBuilder) WipeManagedAppRegistrationsByDeviceTag()(*ItemWipeManagedAppRegistrationsByDeviceTagRequestBuilder) { return NewItemWipeManagedAppRegistrationsByDeviceTagRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *UserItemRequestBuilder) WithUrl(rawUrl string)(*UserItemRequestBuilder) { + return NewUserItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/users_request_builder.go b/users/users_request_builder.go index 0e99fa698c0..3429e16e49c 100644 --- a/users/users_request_builder.go +++ b/users/users_request_builder.go @@ -44,8 +44,8 @@ type UsersRequestBuilderPostRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByUserIdString provides operations to manage the collection of user entities. -func (m *UsersRequestBuilder) ByUserIdString(userId string)(*UserItemRequestBuilder) { +// ByUserId provides operations to manage the collection of user entities. +func (m *UsersRequestBuilder) ByUserId(userId string)(*UserItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { urlTplParams[idx] = item @@ -173,3 +173,7 @@ func (m *UsersRequestBuilder) ValidatePassword()(*ValidatePasswordRequestBuilder func (m *UsersRequestBuilder) ValidateProperties()(*ValidatePropertiesRequestBuilder) { return NewValidatePropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *UsersRequestBuilder) WithUrl(rawUrl string)(*UsersRequestBuilder) { + return NewUsersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/validate_password_request_builder.go b/users/validate_password_request_builder.go index 51b258f8972..9c167e435c8 100644 --- a/users/validate_password_request_builder.go +++ b/users/validate_password_request_builder.go @@ -70,3 +70,7 @@ func (m *ValidatePasswordRequestBuilder) ToPostRequestInformation(ctx context.Co } 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 *ValidatePasswordRequestBuilder) WithUrl(rawUrl string)(*ValidatePasswordRequestBuilder) { + return NewValidatePasswordRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/validate_properties_request_builder.go b/users/validate_properties_request_builder.go index e6f72caea0b..489f8e62019 100644 --- a/users/validate_properties_request_builder.go +++ b/users/validate_properties_request_builder.go @@ -65,3 +65,7 @@ func (m *ValidatePropertiesRequestBuilder) 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 *ValidatePropertiesRequestBuilder) WithUrl(rawUrl string)(*ValidatePropertiesRequestBuilder) { + return NewValidatePropertiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +}